@styleframe/transpiler 3.3.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/{transpiler.d.ts → index.d.cts} +35 -2
- package/dist/index.d.mts +105 -0
- package/dist/index.d.ts +105 -0
- package/dist/transpiler.js +775 -664
- package/dist/transpiler.umd.cjs +23 -21
- package/package.json +18 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @styleframe/transpiler
|
|
2
2
|
|
|
3
|
+
## 3.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#238](https://github.com/styleframe-dev/styleframe/pull/238) [`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bundle type declarations on build. The shared Vite config now enables `vite-plugin-dts`'s `bundleTypes`, so each package ships a single rolled-up `.d.ts` per entry (via `@microsoft/api-extractor`) instead of a tree of per-file declarations. `@microsoft/api-extractor` is now a peer dependency of `@styleframe/config-vite`.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1)]:
|
|
10
|
+
- @styleframe/core@3.6.1
|
|
11
|
+
|
|
12
|
+
## 3.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#234](https://github.com/styleframe-dev/styleframe/pull/234) [`c7ff8c8`](https://github.com/styleframe-dev/styleframe/commit/c7ff8c89776b2e117b0f45f3e1f8ca6695f24a29) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add recipe-level tree-shaking. Unused recipes and their utility classes are excluded from the CSS and TypeScript consumer module during production builds.
|
|
17
|
+
- **Core**: `Root._usage` gains `recipes` and `recipeUtilities` fields. Recipe utility class names are tracked per-recipe in `recipeUtilities` and promoted to `utilities` via `registerRecipeUtilities()`.
|
|
18
|
+
- **Scanner**: New `scanImports()` and `scanFileImports()` methods use importree v2's `parseImports()` to detect which recipes are imported from `virtual:styleframe`.
|
|
19
|
+
- **Transpiler**: TS and DTS consumers filter recipes by `_usage.recipes` — only emitting used recipes when the set is populated.
|
|
20
|
+
- **Plugin**: Recipe scanning integrated into the build flow after content scanning. Defaults to tree-shaking ON for builds, OFF for dev. Safety: namespace/dynamic imports include all recipes with a warning. `recipes.include` option provides an escape hatch for force-including recipes.
|
|
21
|
+
|
|
22
|
+
- [#226](https://github.com/styleframe-dev/styleframe/pull/226) [`dc99d46`](https://github.com/styleframe-dev/styleframe/commit/dc99d4699046f5e5f3dcac965648fd50b0339412) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add build-time utility class name shortening for production builds.
|
|
23
|
+
|
|
24
|
+
Generates shortening maps at transpile time with collision-safe abbreviation and built-in defaults for common CSS properties. Hashes long arbitrary values for stable compact names. Supports underscore-as-space in arbitrary values (`_padding:[10px_20px]`). Exposes `minify` plugin option with user-overridable defaults.
|
|
25
|
+
|
|
26
|
+
- [#224](https://github.com/styleframe-dev/styleframe/pull/224) [`6941920`](https://github.com/styleframe-dev/styleframe/commit/6941920a50e560e4686aebd154bb6aea4c59c258) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Export named Props types from `virtual:styleframe` for each recipe (e.g. `import { button, type ButtonProps } from 'virtual:styleframe'`).
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- [#235](https://github.com/styleframe-dev/styleframe/pull/235) [`6acd766`](https://github.com/styleframe-dev/styleframe/commit/6acd766eefc82139d8cd98dfb9b553449945d704) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Generate DTS output as two files that describe the virtual modules in two complementary forms. The transpiler's `dts` mode now emits:
|
|
31
|
+
- `styleframe.d.ts` — top-level exports describing the `virtual:styleframe` module
|
|
32
|
+
- `shims.d.ts` — self-contained ambient declarations: a `declare module "virtual:styleframe"` carrying the full typed exports, plus the `virtual:styleframe.css` string shim
|
|
33
|
+
|
|
34
|
+
Non-Vue consumers resolve both virtual modules from `shims.d.ts` alone (picked up via the `.styleframe/**/*.d.ts` include) with **zero `paths` configuration**. Vue consumers additionally map `virtual:styleframe` to `styleframe.d.ts` via a `compilerOptions.paths` entry, because `vue-tsc` won't resolve a bare-specifier ambient module imported inside a `.vue` SFC. `styleframe init` detects plain Vue projects (a `vue` dependency without `nuxt`) and writes that `paths` entry only for them, merging into any existing `paths`; non-Vue projects just get the includes. Nuxt is excluded because its module already injects the mapping via `prepare:types`, and writing `paths` into an `extends`-based Nuxt root tsconfig would replace (not merge) Nuxt's inherited aliases.
|
|
35
|
+
|
|
36
|
+
The Nuxt module registers the same `virtual:styleframe` path mapping into Nuxt's generated types via the `prepare:types` hook, so imports type-check without manual tsconfig changes. It also fixes the module's `configKey`/`name`, which were leftover `unpluginStarter` placeholders that caused `styleframe: {}` options in `nuxt.config` to be ignored.
|
|
37
|
+
|
|
38
|
+
- [#233](https://github.com/styleframe-dev/styleframe/pull/233) [`0ef38e6`](https://github.com/styleframe-dev/styleframe/commit/0ef38e69ca941cefab31463c23980f52cae1541f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Migrate from Vite 7 to Vite 8 with native Rolldown integration. Replace esbuild transforms with Oxc in the plugin, rename `rollupOptions` to `rolldownOptions`, upgrade `vite-plugin-dts` v4 to v5 (`rollupTypes` → `bundleTypes`), and bump vitest from v3 to v4.
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`c7ff8c8`](https://github.com/styleframe-dev/styleframe/commit/c7ff8c89776b2e117b0f45f3e1f8ca6695f24a29), [`dc99d46`](https://github.com/styleframe-dev/styleframe/commit/dc99d4699046f5e5f3dcac965648fd50b0339412), [`0ef38e6`](https://github.com/styleframe-dev/styleframe/commit/0ef38e69ca941cefab31463c23980f52cae1541f)]:
|
|
41
|
+
- @styleframe/core@3.6.0
|
|
42
|
+
|
|
3
43
|
## 3.3.0
|
|
4
44
|
|
|
5
45
|
### Minor Changes
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import { CamelCase } from 'scule';
|
|
2
2
|
import { defaultUtilitySelectorFn } from '@styleframe/core';
|
|
3
3
|
import { KebabCase } from 'scule';
|
|
4
|
+
import { Root } from '@styleframe/core';
|
|
5
|
+
import { ShorteningMap } from '@styleframe/core';
|
|
4
6
|
import { Styleframe } from '@styleframe/core';
|
|
5
7
|
import { StyleframeOptions } from '@styleframe/core';
|
|
6
8
|
import { ThemeSelectorFn } from '@styleframe/core';
|
|
9
|
+
import { UtilitySelectorFn } from '@styleframe/core';
|
|
10
|
+
import { UtilitySelectorOptions } from '@styleframe/core';
|
|
7
11
|
import { VariableNameFn } from '@styleframe/core';
|
|
8
12
|
|
|
9
13
|
export declare function addIndentToLine(line: string): string;
|
|
10
14
|
|
|
15
|
+
export declare function buildClassNameLookup(root: Root, map: ShorteningMap, selectorFn?: UtilitySelectorFn): Record<string, string>;
|
|
16
|
+
|
|
11
17
|
/**
|
|
12
18
|
* Consumes any token instance and returns the CSS string representation
|
|
13
19
|
*/
|
|
@@ -18,18 +24,30 @@ export declare type ConsumeFunction = (instance: unknown, options: StyleframeOpt
|
|
|
18
24
|
/**
|
|
19
25
|
* Consumes any token instance and returns the TS string representation
|
|
20
26
|
*/
|
|
21
|
-
export declare function consumeTS(instance: unknown, options: StyleframeOptions): string;
|
|
27
|
+
export declare function consumeTS(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
|
|
22
28
|
|
|
23
29
|
export declare function createFile(name: string, content?: string): OutputFile;
|
|
24
30
|
|
|
25
31
|
export declare const DEFAULT_INDENT = "\t";
|
|
26
32
|
|
|
33
|
+
export declare const defaultModifierShortNames: Record<string, string>;
|
|
34
|
+
|
|
35
|
+
export declare const defaultPropertyShortNames: Record<string, string>;
|
|
36
|
+
|
|
27
37
|
export declare const defaultThemeSelectorFn: ThemeSelectorFn;
|
|
28
38
|
|
|
29
39
|
export { defaultUtilitySelectorFn }
|
|
30
40
|
|
|
31
41
|
export declare const defaultVariableNameFn: VariableNameFn;
|
|
32
42
|
|
|
43
|
+
/** File holding the self-contained ambient shims for the virtual modules. */
|
|
44
|
+
export declare const DTS_SHIMS_FILENAME = "shims.d.ts";
|
|
45
|
+
|
|
46
|
+
/** File holding the top-level exports for the `virtual:styleframe` module. */
|
|
47
|
+
export declare const DTS_TYPES_FILENAME = "styleframe.d.ts";
|
|
48
|
+
|
|
49
|
+
export declare function generateShorteningMap(root: Root, defaults?: ShorteningMapDefaults): ShorteningMap;
|
|
50
|
+
|
|
33
51
|
export declare function indentLines(lines: string): string;
|
|
34
52
|
|
|
35
53
|
export declare function isUppercase(char: string): boolean;
|
|
@@ -43,6 +61,14 @@ export declare type OutputFile = {
|
|
|
43
61
|
content: string;
|
|
44
62
|
};
|
|
45
63
|
|
|
64
|
+
export declare type ShorteningMapDefaults = {
|
|
65
|
+
properties?: Record<string, string>;
|
|
66
|
+
values?: Record<string, string>;
|
|
67
|
+
modifiers?: Record<string, string>;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export declare function shortenUtilityOptions(opts: UtilitySelectorOptions, map: ShorteningMap): UtilitySelectorOptions;
|
|
71
|
+
|
|
46
72
|
export declare const STATEMENT_AT_RULES: string[];
|
|
47
73
|
|
|
48
74
|
export declare const STATEMENT_OR_BLOCK_AT_RULES: string[];
|
|
@@ -51,17 +77,24 @@ export declare function toCamelCase<S extends string>(str: S): CamelCase<S>;
|
|
|
51
77
|
|
|
52
78
|
export declare function toKebabCase<S extends string>(str: S): KebabCase<S>;
|
|
53
79
|
|
|
54
|
-
export declare function transpile(instance: Styleframe, { type, treeshake, scanner, consumers, }?: TranspileOptions): Promise<Output>;
|
|
80
|
+
export declare function transpile(instance: Styleframe, { type, treeshake, scanner, minify, minifyOptions, consumers, }?: TranspileOptions): Promise<Output>;
|
|
55
81
|
|
|
56
82
|
export declare type TranspileContext = {
|
|
57
83
|
treeshake?: boolean;
|
|
58
84
|
scanner?: boolean;
|
|
85
|
+
shortMap?: ShorteningMap;
|
|
59
86
|
};
|
|
60
87
|
|
|
61
88
|
export declare type TranspileOptions = {
|
|
62
89
|
type?: "css" | "ts" | "dts" | "all";
|
|
63
90
|
treeshake?: boolean;
|
|
64
91
|
scanner?: boolean;
|
|
92
|
+
minify?: boolean;
|
|
93
|
+
minifyOptions?: {
|
|
94
|
+
properties?: Record<string, string>;
|
|
95
|
+
values?: Record<string, string>;
|
|
96
|
+
modifiers?: Record<string, string>;
|
|
97
|
+
};
|
|
65
98
|
consumers?: {
|
|
66
99
|
css: ConsumeFunction;
|
|
67
100
|
ts: ConsumeFunction;
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { CamelCase } from 'scule';
|
|
2
|
+
import { defaultUtilitySelectorFn } from '@styleframe/core';
|
|
3
|
+
import { KebabCase } from 'scule';
|
|
4
|
+
import { Root } from '@styleframe/core';
|
|
5
|
+
import { ShorteningMap } from '@styleframe/core';
|
|
6
|
+
import { Styleframe } from '@styleframe/core';
|
|
7
|
+
import { StyleframeOptions } from '@styleframe/core';
|
|
8
|
+
import { ThemeSelectorFn } from '@styleframe/core';
|
|
9
|
+
import { UtilitySelectorFn } from '@styleframe/core';
|
|
10
|
+
import { UtilitySelectorOptions } from '@styleframe/core';
|
|
11
|
+
import { VariableNameFn } from '@styleframe/core';
|
|
12
|
+
|
|
13
|
+
export declare function addIndentToLine(line: string): string;
|
|
14
|
+
|
|
15
|
+
export declare function buildClassNameLookup(root: Root, map: ShorteningMap, selectorFn?: UtilitySelectorFn): Record<string, string>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Consumes any token instance and returns the CSS string representation
|
|
19
|
+
*/
|
|
20
|
+
export declare function consumeCSS(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
|
|
21
|
+
|
|
22
|
+
export declare type ConsumeFunction = (instance: unknown, options: StyleframeOptions, context?: TranspileContext) => string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Consumes any token instance and returns the TS string representation
|
|
26
|
+
*/
|
|
27
|
+
export declare function consumeTS(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
|
|
28
|
+
|
|
29
|
+
export declare function createFile(name: string, content?: string): OutputFile;
|
|
30
|
+
|
|
31
|
+
export declare const DEFAULT_INDENT = "\t";
|
|
32
|
+
|
|
33
|
+
export declare const defaultModifierShortNames: Record<string, string>;
|
|
34
|
+
|
|
35
|
+
export declare const defaultPropertyShortNames: Record<string, string>;
|
|
36
|
+
|
|
37
|
+
export declare const defaultThemeSelectorFn: ThemeSelectorFn;
|
|
38
|
+
|
|
39
|
+
export { defaultUtilitySelectorFn }
|
|
40
|
+
|
|
41
|
+
export declare const defaultVariableNameFn: VariableNameFn;
|
|
42
|
+
|
|
43
|
+
/** File holding the self-contained ambient shims for the virtual modules. */
|
|
44
|
+
export declare const DTS_SHIMS_FILENAME = "shims.d.ts";
|
|
45
|
+
|
|
46
|
+
/** File holding the top-level exports for the `virtual:styleframe` module. */
|
|
47
|
+
export declare const DTS_TYPES_FILENAME = "styleframe.d.ts";
|
|
48
|
+
|
|
49
|
+
export declare function generateShorteningMap(root: Root, defaults?: ShorteningMapDefaults): ShorteningMap;
|
|
50
|
+
|
|
51
|
+
export declare function indentLines(lines: string): string;
|
|
52
|
+
|
|
53
|
+
export declare function isUppercase(char: string): boolean;
|
|
54
|
+
|
|
55
|
+
export declare type Output = {
|
|
56
|
+
files: OutputFile[];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export declare type OutputFile = {
|
|
60
|
+
name: string;
|
|
61
|
+
content: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export declare type ShorteningMapDefaults = {
|
|
65
|
+
properties?: Record<string, string>;
|
|
66
|
+
values?: Record<string, string>;
|
|
67
|
+
modifiers?: Record<string, string>;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export declare function shortenUtilityOptions(opts: UtilitySelectorOptions, map: ShorteningMap): UtilitySelectorOptions;
|
|
71
|
+
|
|
72
|
+
export declare const STATEMENT_AT_RULES: string[];
|
|
73
|
+
|
|
74
|
+
export declare const STATEMENT_OR_BLOCK_AT_RULES: string[];
|
|
75
|
+
|
|
76
|
+
export declare function toCamelCase<S extends string>(str: S): CamelCase<S>;
|
|
77
|
+
|
|
78
|
+
export declare function toKebabCase<S extends string>(str: S): KebabCase<S>;
|
|
79
|
+
|
|
80
|
+
export declare function transpile(instance: Styleframe, { type, treeshake, scanner, minify, minifyOptions, consumers, }?: TranspileOptions): Promise<Output>;
|
|
81
|
+
|
|
82
|
+
export declare type TranspileContext = {
|
|
83
|
+
treeshake?: boolean;
|
|
84
|
+
scanner?: boolean;
|
|
85
|
+
shortMap?: ShorteningMap;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export declare type TranspileOptions = {
|
|
89
|
+
type?: "css" | "ts" | "dts" | "all";
|
|
90
|
+
treeshake?: boolean;
|
|
91
|
+
scanner?: boolean;
|
|
92
|
+
minify?: boolean;
|
|
93
|
+
minifyOptions?: {
|
|
94
|
+
properties?: Record<string, string>;
|
|
95
|
+
values?: Record<string, string>;
|
|
96
|
+
modifiers?: Record<string, string>;
|
|
97
|
+
};
|
|
98
|
+
consumers?: {
|
|
99
|
+
css: ConsumeFunction;
|
|
100
|
+
ts: ConsumeFunction;
|
|
101
|
+
dts: ConsumeFunction;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export { }
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { CamelCase } from 'scule';
|
|
2
|
+
import { defaultUtilitySelectorFn } from '@styleframe/core';
|
|
3
|
+
import { KebabCase } from 'scule';
|
|
4
|
+
import { Root } from '@styleframe/core';
|
|
5
|
+
import { ShorteningMap } from '@styleframe/core';
|
|
6
|
+
import { Styleframe } from '@styleframe/core';
|
|
7
|
+
import { StyleframeOptions } from '@styleframe/core';
|
|
8
|
+
import { ThemeSelectorFn } from '@styleframe/core';
|
|
9
|
+
import { UtilitySelectorFn } from '@styleframe/core';
|
|
10
|
+
import { UtilitySelectorOptions } from '@styleframe/core';
|
|
11
|
+
import { VariableNameFn } from '@styleframe/core';
|
|
12
|
+
|
|
13
|
+
export declare function addIndentToLine(line: string): string;
|
|
14
|
+
|
|
15
|
+
export declare function buildClassNameLookup(root: Root, map: ShorteningMap, selectorFn?: UtilitySelectorFn): Record<string, string>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Consumes any token instance and returns the CSS string representation
|
|
19
|
+
*/
|
|
20
|
+
export declare function consumeCSS(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
|
|
21
|
+
|
|
22
|
+
export declare type ConsumeFunction = (instance: unknown, options: StyleframeOptions, context?: TranspileContext) => string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Consumes any token instance and returns the TS string representation
|
|
26
|
+
*/
|
|
27
|
+
export declare function consumeTS(instance: unknown, options: StyleframeOptions, context?: TranspileContext): string;
|
|
28
|
+
|
|
29
|
+
export declare function createFile(name: string, content?: string): OutputFile;
|
|
30
|
+
|
|
31
|
+
export declare const DEFAULT_INDENT = "\t";
|
|
32
|
+
|
|
33
|
+
export declare const defaultModifierShortNames: Record<string, string>;
|
|
34
|
+
|
|
35
|
+
export declare const defaultPropertyShortNames: Record<string, string>;
|
|
36
|
+
|
|
37
|
+
export declare const defaultThemeSelectorFn: ThemeSelectorFn;
|
|
38
|
+
|
|
39
|
+
export { defaultUtilitySelectorFn }
|
|
40
|
+
|
|
41
|
+
export declare const defaultVariableNameFn: VariableNameFn;
|
|
42
|
+
|
|
43
|
+
/** File holding the self-contained ambient shims for the virtual modules. */
|
|
44
|
+
export declare const DTS_SHIMS_FILENAME = "shims.d.ts";
|
|
45
|
+
|
|
46
|
+
/** File holding the top-level exports for the `virtual:styleframe` module. */
|
|
47
|
+
export declare const DTS_TYPES_FILENAME = "styleframe.d.ts";
|
|
48
|
+
|
|
49
|
+
export declare function generateShorteningMap(root: Root, defaults?: ShorteningMapDefaults): ShorteningMap;
|
|
50
|
+
|
|
51
|
+
export declare function indentLines(lines: string): string;
|
|
52
|
+
|
|
53
|
+
export declare function isUppercase(char: string): boolean;
|
|
54
|
+
|
|
55
|
+
export declare type Output = {
|
|
56
|
+
files: OutputFile[];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export declare type OutputFile = {
|
|
60
|
+
name: string;
|
|
61
|
+
content: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export declare type ShorteningMapDefaults = {
|
|
65
|
+
properties?: Record<string, string>;
|
|
66
|
+
values?: Record<string, string>;
|
|
67
|
+
modifiers?: Record<string, string>;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export declare function shortenUtilityOptions(opts: UtilitySelectorOptions, map: ShorteningMap): UtilitySelectorOptions;
|
|
71
|
+
|
|
72
|
+
export declare const STATEMENT_AT_RULES: string[];
|
|
73
|
+
|
|
74
|
+
export declare const STATEMENT_OR_BLOCK_AT_RULES: string[];
|
|
75
|
+
|
|
76
|
+
export declare function toCamelCase<S extends string>(str: S): CamelCase<S>;
|
|
77
|
+
|
|
78
|
+
export declare function toKebabCase<S extends string>(str: S): KebabCase<S>;
|
|
79
|
+
|
|
80
|
+
export declare function transpile(instance: Styleframe, { type, treeshake, scanner, minify, minifyOptions, consumers, }?: TranspileOptions): Promise<Output>;
|
|
81
|
+
|
|
82
|
+
export declare type TranspileContext = {
|
|
83
|
+
treeshake?: boolean;
|
|
84
|
+
scanner?: boolean;
|
|
85
|
+
shortMap?: ShorteningMap;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export declare type TranspileOptions = {
|
|
89
|
+
type?: "css" | "ts" | "dts" | "all";
|
|
90
|
+
treeshake?: boolean;
|
|
91
|
+
scanner?: boolean;
|
|
92
|
+
minify?: boolean;
|
|
93
|
+
minifyOptions?: {
|
|
94
|
+
properties?: Record<string, string>;
|
|
95
|
+
values?: Record<string, string>;
|
|
96
|
+
modifiers?: Record<string, string>;
|
|
97
|
+
};
|
|
98
|
+
consumers?: {
|
|
99
|
+
css: ConsumeFunction;
|
|
100
|
+
ts: ConsumeFunction;
|
|
101
|
+
dts: ConsumeFunction;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export { }
|