(
name: string,
applyFn: VariantFn<'static'>,
{ compounds, order }: { compounds?: Compounds; order?: number } = {},
)
| 71 | private lastOrder = 0 |
| 72 | |
| 73 | static( |
| 74 | name: string, |
| 75 | applyFn: VariantFn<'static'>, |
| 76 | { compounds, order }: { compounds?: Compounds; order?: number } = {}, |
| 77 | ) { |
| 78 | this.set(name, { |
| 79 | kind: 'static', |
| 80 | applyFn, |
| 81 | compoundsWith: Compounds.Never, |
| 82 | compounds: compounds ?? Compounds.StyleRules, |
| 83 | order, |
| 84 | }) |
| 85 | } |
| 86 | |
| 87 | fromAst(name: string, ast: AstNode[], designSystem: DesignSystem) { |
| 88 | let selectors: string[] = [] |
no test coverage detected