@dsai-io/tools 0.0.1 → 1.0.7
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/README.md +282 -30
- package/dist/cli/index.cjs +6271 -2233
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +4 -0
- package/dist/cli/index.d.ts +4 -0
- package/dist/cli/index.js +6232 -2195
- package/dist/cli/index.js.map +1 -1
- package/dist/config/index.cjs +198 -61
- package/dist/config/index.cjs.map +1 -1
- package/dist/config/index.d.cts +490 -1759
- package/dist/config/index.d.ts +490 -1759
- package/dist/config/index.js +197 -61
- package/dist/config/index.js.map +1 -1
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.cjs.map +1 -1
- package/dist/icons/index.d.cts +1 -1
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/index.js.map +1 -1
- package/dist/index.cjs +6733 -2888
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6774 -2963
- package/dist/index.js.map +1 -1
- package/dist/tokens/index.cjs +4457 -737
- package/dist/tokens/index.cjs.map +1 -1
- package/dist/tokens/index.d.cts +1258 -17
- package/dist/tokens/index.d.ts +1258 -17
- package/dist/tokens/index.js +4368 -683
- package/dist/tokens/index.js.map +1 -1
- package/dist/{types-Idj08nad.d.cts → types-DabOzcsj.d.cts} +236 -3
- package/dist/{types-Idj08nad.d.ts → types-DabOzcsj.d.ts} +236 -3
- package/dist/utils/circuit-breaker.cjs +173 -0
- package/dist/utils/circuit-breaker.cjs.map +1 -0
- package/dist/utils/circuit-breaker.d.cts +123 -0
- package/dist/utils/circuit-breaker.d.ts +123 -0
- package/dist/utils/circuit-breaker.js +169 -0
- package/dist/utils/circuit-breaker.js.map +1 -0
- package/package.json +10 -5
package/dist/config/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { B as BuildSummary,
|
|
1
|
+
import { t as LogLevel, O as OutputFormat, c as ThemeSelectorPattern, i as ResolvedThemesConfig, u as IconFramework, h as ResolvedIconsConfig, g as ResolvedTokensConfig, f as ResolvedGlobalConfig, R as ResolvedConfig, D as DsaiConfig, L as LoadConfigOptions, s as LoadConfigResult } from '../types-DabOzcsj.cjs';
|
|
2
|
+
export { B as BuildSummary, m as CustomFilter, k as CustomFormat, l as CustomPreprocessor, C as CustomTransform, q as Dictionary, r as FileConfig, p as FormatArgs, d as FrameworkMappingConfig, e as FrameworkMappingPattern, F as FrameworkTarget, G as GlobalConfig, I as IconsConfig, P as Platform, j as ResolvedThemeDefinition, S as ScssOutputConfig, b as ThemeDefinition, a as ThemesConfig, n as TokenData, T as TokensConfig, o as TransformOptions } from '../types-DabOzcsj.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -15,19 +15,46 @@ import { z } from 'zod';
|
|
|
15
15
|
/**
|
|
16
16
|
* Log level for CLI output verbosity
|
|
17
17
|
*/
|
|
18
|
-
declare const logLevelSchema: z.ZodEnum<
|
|
18
|
+
declare const logLevelSchema: z.ZodEnum<{
|
|
19
|
+
silent: "silent";
|
|
20
|
+
error: "error";
|
|
21
|
+
warn: "warn";
|
|
22
|
+
info: "info";
|
|
23
|
+
debug: "debug";
|
|
24
|
+
verbose: "verbose";
|
|
25
|
+
}>;
|
|
19
26
|
/**
|
|
20
27
|
* Output format for token/build outputs
|
|
21
28
|
*/
|
|
22
|
-
declare const outputFormatSchema: z.ZodEnum<
|
|
29
|
+
declare const outputFormatSchema: z.ZodEnum<{
|
|
30
|
+
css: "css";
|
|
31
|
+
scss: "scss";
|
|
32
|
+
js: "js";
|
|
33
|
+
ts: "ts";
|
|
34
|
+
json: "json";
|
|
35
|
+
less: "less";
|
|
36
|
+
esm: "esm";
|
|
37
|
+
cjs: "cjs";
|
|
38
|
+
}>;
|
|
23
39
|
/**
|
|
24
40
|
* Supported frontend frameworks for generated code
|
|
25
41
|
*/
|
|
26
|
-
declare const frameworkSchema: z.ZodEnum<
|
|
42
|
+
declare const frameworkSchema: z.ZodEnum<{
|
|
43
|
+
react: "react";
|
|
44
|
+
vue: "vue";
|
|
45
|
+
svelte: "svelte";
|
|
46
|
+
angular: "angular";
|
|
47
|
+
vanilla: "vanilla";
|
|
48
|
+
}>;
|
|
27
49
|
/**
|
|
28
50
|
* File hash type for cache busting
|
|
29
51
|
*/
|
|
30
|
-
declare const hashTypeSchema: z.ZodEnum<
|
|
52
|
+
declare const hashTypeSchema: z.ZodEnum<{
|
|
53
|
+
content: "content";
|
|
54
|
+
timestamp: "timestamp";
|
|
55
|
+
version: "version";
|
|
56
|
+
none: "none";
|
|
57
|
+
}>;
|
|
31
58
|
/**
|
|
32
59
|
* Glob pattern for file matching
|
|
33
60
|
* Must be a non-empty string
|
|
@@ -42,7 +69,7 @@ declare const filePathSchema: z.ZodString;
|
|
|
42
69
|
* Semantic version validation (loose)
|
|
43
70
|
* Matches x.y.z format with optional pre-release
|
|
44
71
|
*/
|
|
45
|
-
declare const versionSchema: z.
|
|
72
|
+
declare const versionSchema: z.ZodString;
|
|
46
73
|
/**
|
|
47
74
|
* Custom transform function schema
|
|
48
75
|
* For token value transformations
|
|
@@ -50,142 +77,99 @@ declare const versionSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
|
50
77
|
declare const customTransformSchema: z.ZodObject<{
|
|
51
78
|
name: z.ZodString;
|
|
52
79
|
description: z.ZodOptional<z.ZodString>;
|
|
53
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
63
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
64
|
-
}, {
|
|
65
|
-
name: string;
|
|
66
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
69
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
70
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
71
|
-
}>;
|
|
80
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
name: "name";
|
|
82
|
+
value: "value";
|
|
83
|
+
attribute: "attribute";
|
|
84
|
+
}>>>;
|
|
85
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
86
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
87
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
88
|
+
}, z.core.$strip>;
|
|
72
89
|
/**
|
|
73
90
|
* Custom format schema for output generation
|
|
74
91
|
*/
|
|
75
92
|
declare const customFormatSchema: z.ZodObject<{
|
|
76
93
|
name: z.ZodString;
|
|
77
94
|
description: z.ZodOptional<z.ZodString>;
|
|
78
|
-
formatter: z.ZodOptional<z.ZodFunction<z.
|
|
95
|
+
formatter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
79
96
|
extension: z.ZodOptional<z.ZodString>;
|
|
80
|
-
},
|
|
81
|
-
name: string;
|
|
82
|
-
description?: string | undefined;
|
|
83
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
84
|
-
extension?: string | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
name: string;
|
|
87
|
-
description?: string | undefined;
|
|
88
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
89
|
-
extension?: string | undefined;
|
|
90
|
-
}>;
|
|
97
|
+
}, z.core.$strip>;
|
|
91
98
|
/**
|
|
92
|
-
* Theme
|
|
93
|
-
*
|
|
99
|
+
* Theme definition schema
|
|
100
|
+
* Defines how a single theme is discovered and built
|
|
94
101
|
*/
|
|
95
|
-
declare const
|
|
102
|
+
declare const themeDefinitionSchema: z.ZodObject<{
|
|
103
|
+
isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
104
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
105
|
selector: z.ZodString;
|
|
97
106
|
mediaQuery: z.ZodOptional<z.ZodString>;
|
|
98
107
|
dataAttribute: z.ZodOptional<z.ZodString>;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}>;
|
|
108
|
+
outputFiles: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
109
|
+
css: "css";
|
|
110
|
+
scss: "scss";
|
|
111
|
+
js: "js";
|
|
112
|
+
ts: "ts";
|
|
113
|
+
json: "json";
|
|
114
|
+
android: "android";
|
|
115
|
+
ios: "ios";
|
|
116
|
+
}>, z.ZodString>>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
/**
|
|
119
|
+
* Theme selector pattern schema
|
|
120
|
+
*/
|
|
121
|
+
declare const themeSelectorPatternSchema: z.ZodObject<{
|
|
122
|
+
default: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
123
|
+
others: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
124
|
+
}, z.core.$strip>;
|
|
117
125
|
/**
|
|
118
126
|
* Themes configuration section
|
|
127
|
+
* Supports both legacy mode-based config and new definitions-based config
|
|
119
128
|
*/
|
|
120
129
|
declare const themesConfigSchema: z.ZodObject<{
|
|
121
130
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
122
|
-
|
|
123
|
-
|
|
131
|
+
autoDetect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
132
|
+
default: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
ignoreModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
134
|
+
selectorPattern: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
default: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
136
|
+
others: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
139
|
+
isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
140
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
|
+
selector: z.ZodString;
|
|
142
|
+
mediaQuery: z.ZodOptional<z.ZodString>;
|
|
143
|
+
dataAttribute: z.ZodOptional<z.ZodString>;
|
|
144
|
+
outputFiles: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
145
|
+
css: "css";
|
|
146
|
+
scss: "scss";
|
|
147
|
+
js: "js";
|
|
148
|
+
ts: "ts";
|
|
149
|
+
json: "json";
|
|
150
|
+
android: "android";
|
|
151
|
+
ios: "ios";
|
|
152
|
+
}>, z.ZodString>>;
|
|
153
|
+
}, z.core.$strip>>>;
|
|
154
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
light: "light";
|
|
156
|
+
dark: "dark";
|
|
157
|
+
system: "system";
|
|
158
|
+
}>>;
|
|
159
|
+
modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
124
160
|
selector: z.ZodString;
|
|
125
161
|
mediaQuery: z.ZodOptional<z.ZodString>;
|
|
126
162
|
dataAttribute: z.ZodOptional<z.ZodString>;
|
|
127
|
-
cssVariables: z.
|
|
128
|
-
generateSeparateFiles: z.
|
|
163
|
+
cssVariables: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
generateSeparateFiles: z.ZodOptional<z.ZodBoolean>;
|
|
129
165
|
prefix: z.ZodOptional<z.ZodString>;
|
|
130
|
-
},
|
|
131
|
-
|
|
132
|
-
cssVariables: boolean;
|
|
133
|
-
generateSeparateFiles: boolean;
|
|
134
|
-
mediaQuery?: string | undefined;
|
|
135
|
-
dataAttribute?: string | undefined;
|
|
136
|
-
prefix?: string | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
selector: string;
|
|
139
|
-
mediaQuery?: string | undefined;
|
|
140
|
-
dataAttribute?: string | undefined;
|
|
141
|
-
cssVariables?: boolean | undefined;
|
|
142
|
-
generateSeparateFiles?: boolean | undefined;
|
|
143
|
-
prefix?: string | undefined;
|
|
144
|
-
}>>>>;
|
|
145
|
-
outputFileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
outputFileName: z.ZodOptional<z.ZodString>;
|
|
146
168
|
colorScheme: z.ZodOptional<z.ZodObject<{
|
|
147
169
|
light: z.ZodOptional<z.ZodString>;
|
|
148
170
|
dark: z.ZodOptional<z.ZodString>;
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
dark?: string | undefined;
|
|
152
|
-
}, {
|
|
153
|
-
light?: string | undefined;
|
|
154
|
-
dark?: string | undefined;
|
|
155
|
-
}>>;
|
|
156
|
-
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
enabled: boolean;
|
|
158
|
-
defaultMode: "light" | "dark" | "system";
|
|
159
|
-
modes: Record<string, {
|
|
160
|
-
selector: string;
|
|
161
|
-
cssVariables: boolean;
|
|
162
|
-
generateSeparateFiles: boolean;
|
|
163
|
-
mediaQuery?: string | undefined;
|
|
164
|
-
dataAttribute?: string | undefined;
|
|
165
|
-
prefix?: string | undefined;
|
|
166
|
-
}>;
|
|
167
|
-
outputFileName: string;
|
|
168
|
-
colorScheme?: {
|
|
169
|
-
light?: string | undefined;
|
|
170
|
-
dark?: string | undefined;
|
|
171
|
-
} | undefined;
|
|
172
|
-
}, {
|
|
173
|
-
enabled?: boolean | undefined;
|
|
174
|
-
defaultMode?: "light" | "dark" | "system" | undefined;
|
|
175
|
-
modes?: Record<string, {
|
|
176
|
-
selector: string;
|
|
177
|
-
mediaQuery?: string | undefined;
|
|
178
|
-
dataAttribute?: string | undefined;
|
|
179
|
-
cssVariables?: boolean | undefined;
|
|
180
|
-
generateSeparateFiles?: boolean | undefined;
|
|
181
|
-
prefix?: string | undefined;
|
|
182
|
-
}> | undefined;
|
|
183
|
-
outputFileName?: string | undefined;
|
|
184
|
-
colorScheme?: {
|
|
185
|
-
light?: string | undefined;
|
|
186
|
-
dark?: string | undefined;
|
|
187
|
-
} | undefined;
|
|
188
|
-
}>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
189
173
|
/**
|
|
190
174
|
* Icon optimization settings
|
|
191
175
|
*/
|
|
@@ -197,42 +181,20 @@ declare const iconOptimizationSchema: z.ZodObject<{
|
|
|
197
181
|
removeXMLNS: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
198
182
|
cleanupIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
199
183
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
200
|
-
},
|
|
201
|
-
enabled: boolean;
|
|
202
|
-
removeComments: boolean;
|
|
203
|
-
removeDimensions: boolean;
|
|
204
|
-
removeViewBox: boolean;
|
|
205
|
-
removeXMLNS: boolean;
|
|
206
|
-
cleanupIds: boolean;
|
|
207
|
-
minify: boolean;
|
|
208
|
-
}, {
|
|
209
|
-
enabled?: boolean | undefined;
|
|
210
|
-
removeComments?: boolean | undefined;
|
|
211
|
-
removeDimensions?: boolean | undefined;
|
|
212
|
-
removeViewBox?: boolean | undefined;
|
|
213
|
-
removeXMLNS?: boolean | undefined;
|
|
214
|
-
cleanupIds?: boolean | undefined;
|
|
215
|
-
minify?: boolean | undefined;
|
|
216
|
-
}>;
|
|
184
|
+
}, z.core.$strip>;
|
|
217
185
|
/**
|
|
218
186
|
* Icon sprite generation settings
|
|
219
187
|
*/
|
|
220
188
|
declare const iconSpriteSchema: z.ZodObject<{
|
|
221
189
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
222
190
|
fileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
223
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
191
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
symbol: "symbol";
|
|
193
|
+
css: "css";
|
|
194
|
+
stack: "stack";
|
|
195
|
+
}>>>;
|
|
224
196
|
prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
225
|
-
},
|
|
226
|
-
prefix: string;
|
|
227
|
-
enabled: boolean;
|
|
228
|
-
fileName: string;
|
|
229
|
-
format: "symbol" | "css" | "stack";
|
|
230
|
-
}, {
|
|
231
|
-
prefix?: string | undefined;
|
|
232
|
-
enabled?: boolean | undefined;
|
|
233
|
-
fileName?: string | undefined;
|
|
234
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
235
|
-
}>;
|
|
197
|
+
}, z.core.$strip>;
|
|
236
198
|
/**
|
|
237
199
|
* Icons configuration section
|
|
238
200
|
*/
|
|
@@ -240,7 +202,13 @@ declare const iconsConfigSchema: z.ZodObject<{
|
|
|
240
202
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
241
203
|
sourceDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
242
204
|
outputDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
243
|
-
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
205
|
+
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
206
|
+
react: "react";
|
|
207
|
+
vue: "vue";
|
|
208
|
+
svg: "svg";
|
|
209
|
+
sprite: "sprite";
|
|
210
|
+
font: "font";
|
|
211
|
+
}>>>>;
|
|
244
212
|
optimization: z.ZodOptional<z.ZodObject<{
|
|
245
213
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
246
214
|
removeComments: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -249,189 +217,73 @@ declare const iconsConfigSchema: z.ZodObject<{
|
|
|
249
217
|
removeXMLNS: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
250
218
|
cleanupIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
251
219
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
252
|
-
},
|
|
253
|
-
enabled: boolean;
|
|
254
|
-
removeComments: boolean;
|
|
255
|
-
removeDimensions: boolean;
|
|
256
|
-
removeViewBox: boolean;
|
|
257
|
-
removeXMLNS: boolean;
|
|
258
|
-
cleanupIds: boolean;
|
|
259
|
-
minify: boolean;
|
|
260
|
-
}, {
|
|
261
|
-
enabled?: boolean | undefined;
|
|
262
|
-
removeComments?: boolean | undefined;
|
|
263
|
-
removeDimensions?: boolean | undefined;
|
|
264
|
-
removeViewBox?: boolean | undefined;
|
|
265
|
-
removeXMLNS?: boolean | undefined;
|
|
266
|
-
cleanupIds?: boolean | undefined;
|
|
267
|
-
minify?: boolean | undefined;
|
|
268
|
-
}>>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
269
221
|
sprite: z.ZodOptional<z.ZodObject<{
|
|
270
222
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
271
223
|
fileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
272
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
224
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
symbol: "symbol";
|
|
226
|
+
css: "css";
|
|
227
|
+
stack: "stack";
|
|
228
|
+
}>>>;
|
|
273
229
|
prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
274
|
-
},
|
|
275
|
-
prefix: string;
|
|
276
|
-
enabled: boolean;
|
|
277
|
-
fileName: string;
|
|
278
|
-
format: "symbol" | "css" | "stack";
|
|
279
|
-
}, {
|
|
280
|
-
prefix?: string | undefined;
|
|
281
|
-
enabled?: boolean | undefined;
|
|
282
|
-
fileName?: string | undefined;
|
|
283
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
284
|
-
}>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
285
231
|
componentPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
286
232
|
componentSuffix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
287
233
|
generateIndex: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
288
234
|
generateTypes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
289
|
-
},
|
|
290
|
-
enabled: boolean;
|
|
291
|
-
sourceDir: string;
|
|
292
|
-
outputDir: string;
|
|
293
|
-
formats: ("react" | "vue" | "svg" | "sprite" | "font")[];
|
|
294
|
-
componentPrefix: string;
|
|
295
|
-
componentSuffix: string;
|
|
296
|
-
generateIndex: boolean;
|
|
297
|
-
generateTypes: boolean;
|
|
298
|
-
sprite?: {
|
|
299
|
-
prefix: string;
|
|
300
|
-
enabled: boolean;
|
|
301
|
-
fileName: string;
|
|
302
|
-
format: "symbol" | "css" | "stack";
|
|
303
|
-
} | undefined;
|
|
304
|
-
optimization?: {
|
|
305
|
-
enabled: boolean;
|
|
306
|
-
removeComments: boolean;
|
|
307
|
-
removeDimensions: boolean;
|
|
308
|
-
removeViewBox: boolean;
|
|
309
|
-
removeXMLNS: boolean;
|
|
310
|
-
cleanupIds: boolean;
|
|
311
|
-
minify: boolean;
|
|
312
|
-
} | undefined;
|
|
313
|
-
}, {
|
|
314
|
-
enabled?: boolean | undefined;
|
|
315
|
-
sourceDir?: string | undefined;
|
|
316
|
-
outputDir?: string | undefined;
|
|
317
|
-
sprite?: {
|
|
318
|
-
prefix?: string | undefined;
|
|
319
|
-
enabled?: boolean | undefined;
|
|
320
|
-
fileName?: string | undefined;
|
|
321
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
322
|
-
} | undefined;
|
|
323
|
-
formats?: ("react" | "vue" | "svg" | "sprite" | "font")[] | undefined;
|
|
324
|
-
optimization?: {
|
|
325
|
-
enabled?: boolean | undefined;
|
|
326
|
-
removeComments?: boolean | undefined;
|
|
327
|
-
removeDimensions?: boolean | undefined;
|
|
328
|
-
removeViewBox?: boolean | undefined;
|
|
329
|
-
removeXMLNS?: boolean | undefined;
|
|
330
|
-
cleanupIds?: boolean | undefined;
|
|
331
|
-
minify?: boolean | undefined;
|
|
332
|
-
} | undefined;
|
|
333
|
-
componentPrefix?: string | undefined;
|
|
334
|
-
componentSuffix?: string | undefined;
|
|
335
|
-
generateIndex?: boolean | undefined;
|
|
336
|
-
generateTypes?: boolean | undefined;
|
|
337
|
-
}>;
|
|
235
|
+
}, z.core.$strip>;
|
|
338
236
|
/**
|
|
339
237
|
* Token build configuration schema
|
|
340
238
|
*/
|
|
341
239
|
declare const tokenBuildConfigSchema: z.ZodObject<{
|
|
342
|
-
format: z.ZodEnum<
|
|
240
|
+
format: z.ZodEnum<{
|
|
241
|
+
css: "css";
|
|
242
|
+
scss: "scss";
|
|
243
|
+
js: "js";
|
|
244
|
+
ts: "ts";
|
|
245
|
+
json: "json";
|
|
246
|
+
less: "less";
|
|
247
|
+
esm: "esm";
|
|
248
|
+
cjs: "cjs";
|
|
249
|
+
}>;
|
|
343
250
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
344
251
|
outputFileName: z.ZodOptional<z.ZodString>;
|
|
345
252
|
fileExtension: z.ZodOptional<z.ZodString>;
|
|
346
253
|
prefix: z.ZodOptional<z.ZodString>;
|
|
347
254
|
useVariables: z.ZodOptional<z.ZodBoolean>;
|
|
348
255
|
selector: z.ZodOptional<z.ZodString>;
|
|
349
|
-
transforms: z.ZodOptional<z.ZodArray<z.ZodString
|
|
256
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
350
257
|
customTransforms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
351
258
|
name: z.ZodString;
|
|
352
259
|
description: z.ZodOptional<z.ZodString>;
|
|
353
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
364
|
-
}, {
|
|
365
|
-
name: string;
|
|
366
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
367
|
-
description?: string | undefined;
|
|
368
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
369
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
370
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
371
|
-
}>, "many">>;
|
|
372
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodUnion<[z.ZodBoolean, z.ZodPromise<z.ZodBoolean>]>>>;
|
|
260
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
name: "name";
|
|
262
|
+
value: "value";
|
|
263
|
+
attribute: "attribute";
|
|
264
|
+
}>>>;
|
|
265
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
266
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
267
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
268
|
+
}, z.core.$strip>>>;
|
|
269
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
373
270
|
header: z.ZodOptional<z.ZodString>;
|
|
374
271
|
footer: z.ZodOptional<z.ZodString>;
|
|
375
|
-
},
|
|
376
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
377
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
378
|
-
selector?: string | undefined;
|
|
379
|
-
prefix?: string | undefined;
|
|
380
|
-
outputFileName?: string | undefined;
|
|
381
|
-
outputDir?: string | undefined;
|
|
382
|
-
fileExtension?: string | undefined;
|
|
383
|
-
useVariables?: boolean | undefined;
|
|
384
|
-
transforms?: string[] | undefined;
|
|
385
|
-
customTransforms?: {
|
|
386
|
-
name: string;
|
|
387
|
-
type: "name" | "value" | "attribute";
|
|
388
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
389
|
-
description?: string | undefined;
|
|
390
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
391
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
392
|
-
}[] | undefined;
|
|
393
|
-
header?: string | undefined;
|
|
394
|
-
footer?: string | undefined;
|
|
395
|
-
}, {
|
|
396
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
397
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
398
|
-
selector?: string | undefined;
|
|
399
|
-
prefix?: string | undefined;
|
|
400
|
-
outputFileName?: string | undefined;
|
|
401
|
-
outputDir?: string | undefined;
|
|
402
|
-
fileExtension?: string | undefined;
|
|
403
|
-
useVariables?: boolean | undefined;
|
|
404
|
-
transforms?: string[] | undefined;
|
|
405
|
-
customTransforms?: {
|
|
406
|
-
name: string;
|
|
407
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
408
|
-
description?: string | undefined;
|
|
409
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
410
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
411
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
412
|
-
}[] | undefined;
|
|
413
|
-
header?: string | undefined;
|
|
414
|
-
footer?: string | undefined;
|
|
415
|
-
}>;
|
|
272
|
+
}, z.core.$strip>;
|
|
416
273
|
/**
|
|
417
274
|
* Token cache configuration
|
|
418
275
|
*/
|
|
419
276
|
declare const tokenCacheConfigSchema: z.ZodObject<{
|
|
420
277
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
421
278
|
directory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
422
|
-
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
279
|
+
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
280
|
+
content: "content";
|
|
281
|
+
timestamp: "timestamp";
|
|
282
|
+
version: "version";
|
|
283
|
+
none: "none";
|
|
284
|
+
}>>>;
|
|
423
285
|
maxAge: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
424
|
-
},
|
|
425
|
-
enabled: boolean;
|
|
426
|
-
directory: string;
|
|
427
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
428
|
-
maxAge: number;
|
|
429
|
-
}, {
|
|
430
|
-
enabled?: boolean | undefined;
|
|
431
|
-
directory?: string | undefined;
|
|
432
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
433
|
-
maxAge?: number | undefined;
|
|
434
|
-
}>;
|
|
286
|
+
}, z.core.$strip>;
|
|
435
287
|
/**
|
|
436
288
|
* Token watch mode configuration
|
|
437
289
|
*/
|
|
@@ -439,46 +291,24 @@ declare const tokenWatchConfigSchema: z.ZodObject<{
|
|
|
439
291
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
440
292
|
debounce: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
441
293
|
clearScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
442
|
-
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
443
|
-
},
|
|
444
|
-
enabled: boolean;
|
|
445
|
-
debounce: number;
|
|
446
|
-
clearScreen: boolean;
|
|
447
|
-
ignorePatterns: string[];
|
|
448
|
-
}, {
|
|
449
|
-
enabled?: boolean | undefined;
|
|
450
|
-
debounce?: number | undefined;
|
|
451
|
-
clearScreen?: boolean | undefined;
|
|
452
|
-
ignorePatterns?: string[] | undefined;
|
|
453
|
-
}>;
|
|
294
|
+
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
295
|
+
}, z.core.$strip>;
|
|
454
296
|
/**
|
|
455
297
|
* Token processing hooks
|
|
456
298
|
*/
|
|
457
299
|
declare const tokensHooksSchema: z.ZodObject<{
|
|
458
|
-
onBuildStart: z.ZodOptional<z.ZodFunction<z.
|
|
459
|
-
onFormatComplete: z.ZodOptional<z.ZodFunction<z.
|
|
460
|
-
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.
|
|
461
|
-
onBuildComplete: z.ZodOptional<z.ZodFunction<z.
|
|
462
|
-
onError: z.ZodOptional<z.ZodFunction<z.
|
|
463
|
-
},
|
|
464
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
465
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
466
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
467
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
468
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
469
|
-
}, {
|
|
470
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
471
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
472
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
473
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
474
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
475
|
-
}>;
|
|
300
|
+
onBuildStart: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
301
|
+
onFormatComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
302
|
+
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
303
|
+
onBuildComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
304
|
+
onError: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
305
|
+
}, z.core.$strip>;
|
|
476
306
|
/**
|
|
477
307
|
* Tokens configuration section
|
|
478
308
|
*/
|
|
479
309
|
declare const tokensConfigSchema: z.ZodObject<{
|
|
480
310
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
481
|
-
sourcePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
311
|
+
sourcePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
482
312
|
outputDirs: z.ZodOptional<z.ZodObject<{
|
|
483
313
|
css: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
484
314
|
scss: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -486,473 +316,164 @@ declare const tokensConfigSchema: z.ZodObject<{
|
|
|
486
316
|
js: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
487
317
|
ts: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
488
318
|
json: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
489
|
-
},
|
|
490
|
-
|
|
491
|
-
scss: string;
|
|
492
|
-
js: string;
|
|
493
|
-
ts: string;
|
|
494
|
-
json: string;
|
|
495
|
-
less: string;
|
|
496
|
-
}, {
|
|
497
|
-
css?: string | undefined;
|
|
498
|
-
scss?: string | undefined;
|
|
499
|
-
js?: string | undefined;
|
|
500
|
-
ts?: string | undefined;
|
|
501
|
-
json?: string | undefined;
|
|
502
|
-
less?: string | undefined;
|
|
503
|
-
}>>;
|
|
504
|
-
additionalScssDirectories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
319
|
+
}, z.core.$strip>>;
|
|
320
|
+
additionalScssDirectories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
505
321
|
outputFileNames: z.ZodOptional<z.ZodObject<{
|
|
506
322
|
variables: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
507
323
|
utilities: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
508
324
|
mixins: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
509
325
|
tokens: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
510
|
-
},
|
|
511
|
-
variables: string;
|
|
512
|
-
utilities: string;
|
|
513
|
-
mixins: string;
|
|
514
|
-
tokens: string;
|
|
515
|
-
}, {
|
|
516
|
-
variables?: string | undefined;
|
|
517
|
-
utilities?: string | undefined;
|
|
518
|
-
mixins?: string | undefined;
|
|
519
|
-
tokens?: string | undefined;
|
|
520
|
-
}>>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
521
327
|
prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
522
|
-
mergeOrder: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
328
|
+
mergeOrder: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
523
329
|
createBundle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
524
330
|
bundleFileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
525
|
-
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
331
|
+
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
332
|
+
css: "css";
|
|
333
|
+
scss: "scss";
|
|
334
|
+
js: "js";
|
|
335
|
+
ts: "ts";
|
|
336
|
+
json: "json";
|
|
337
|
+
less: "less";
|
|
338
|
+
esm: "esm";
|
|
339
|
+
cjs: "cjs";
|
|
340
|
+
}>>>>;
|
|
526
341
|
platforms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
527
|
-
format: z.ZodEnum<
|
|
342
|
+
format: z.ZodEnum<{
|
|
343
|
+
css: "css";
|
|
344
|
+
scss: "scss";
|
|
345
|
+
js: "js";
|
|
346
|
+
ts: "ts";
|
|
347
|
+
json: "json";
|
|
348
|
+
less: "less";
|
|
349
|
+
esm: "esm";
|
|
350
|
+
cjs: "cjs";
|
|
351
|
+
}>;
|
|
528
352
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
529
353
|
outputFileName: z.ZodOptional<z.ZodString>;
|
|
530
354
|
fileExtension: z.ZodOptional<z.ZodString>;
|
|
531
355
|
prefix: z.ZodOptional<z.ZodString>;
|
|
532
356
|
useVariables: z.ZodOptional<z.ZodBoolean>;
|
|
533
357
|
selector: z.ZodOptional<z.ZodString>;
|
|
534
|
-
transforms: z.ZodOptional<z.ZodArray<z.ZodString
|
|
358
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
535
359
|
customTransforms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
536
360
|
name: z.ZodString;
|
|
537
361
|
description: z.ZodOptional<z.ZodString>;
|
|
538
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
549
|
-
}, {
|
|
550
|
-
name: string;
|
|
551
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
552
|
-
description?: string | undefined;
|
|
553
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
554
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
555
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
556
|
-
}>, "many">>;
|
|
557
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodUnion<[z.ZodBoolean, z.ZodPromise<z.ZodBoolean>]>>>;
|
|
362
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
363
|
+
name: "name";
|
|
364
|
+
value: "value";
|
|
365
|
+
attribute: "attribute";
|
|
366
|
+
}>>>;
|
|
367
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
368
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
369
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
370
|
+
}, z.core.$strip>>>;
|
|
371
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
558
372
|
header: z.ZodOptional<z.ZodString>;
|
|
559
373
|
footer: z.ZodOptional<z.ZodString>;
|
|
560
|
-
},
|
|
561
|
-
|
|
562
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
563
|
-
selector?: string | undefined;
|
|
564
|
-
prefix?: string | undefined;
|
|
565
|
-
outputFileName?: string | undefined;
|
|
566
|
-
outputDir?: string | undefined;
|
|
567
|
-
fileExtension?: string | undefined;
|
|
568
|
-
useVariables?: boolean | undefined;
|
|
569
|
-
transforms?: string[] | undefined;
|
|
570
|
-
customTransforms?: {
|
|
571
|
-
name: string;
|
|
572
|
-
type: "name" | "value" | "attribute";
|
|
573
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
574
|
-
description?: string | undefined;
|
|
575
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
576
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
577
|
-
}[] | undefined;
|
|
578
|
-
header?: string | undefined;
|
|
579
|
-
footer?: string | undefined;
|
|
580
|
-
}, {
|
|
581
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
582
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
583
|
-
selector?: string | undefined;
|
|
584
|
-
prefix?: string | undefined;
|
|
585
|
-
outputFileName?: string | undefined;
|
|
586
|
-
outputDir?: string | undefined;
|
|
587
|
-
fileExtension?: string | undefined;
|
|
588
|
-
useVariables?: boolean | undefined;
|
|
589
|
-
transforms?: string[] | undefined;
|
|
590
|
-
customTransforms?: {
|
|
591
|
-
name: string;
|
|
592
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
593
|
-
description?: string | undefined;
|
|
594
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
595
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
596
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
597
|
-
}[] | undefined;
|
|
598
|
-
header?: string | undefined;
|
|
599
|
-
footer?: string | undefined;
|
|
600
|
-
}>>>;
|
|
601
|
-
transforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
374
|
+
}, z.core.$strip>>>;
|
|
375
|
+
transforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
602
376
|
customTransforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
603
377
|
name: z.ZodString;
|
|
604
378
|
description: z.ZodOptional<z.ZodString>;
|
|
605
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
615
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
616
|
-
}, {
|
|
617
|
-
name: string;
|
|
618
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
619
|
-
description?: string | undefined;
|
|
620
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
621
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
622
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
623
|
-
}>, "many">>>;
|
|
379
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
name: "name";
|
|
381
|
+
value: "value";
|
|
382
|
+
attribute: "attribute";
|
|
383
|
+
}>>>;
|
|
384
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
385
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
386
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
387
|
+
}, z.core.$strip>>>>;
|
|
624
388
|
customFormats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
389
|
name: z.ZodString;
|
|
626
390
|
description: z.ZodOptional<z.ZodString>;
|
|
627
|
-
formatter: z.ZodOptional<z.ZodFunction<z.
|
|
391
|
+
formatter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
628
392
|
extension: z.ZodOptional<z.ZodString>;
|
|
629
|
-
},
|
|
630
|
-
name: string;
|
|
631
|
-
description?: string | undefined;
|
|
632
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
633
|
-
extension?: string | undefined;
|
|
634
|
-
}, {
|
|
635
|
-
name: string;
|
|
636
|
-
description?: string | undefined;
|
|
637
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
638
|
-
extension?: string | undefined;
|
|
639
|
-
}>, "many">>>;
|
|
393
|
+
}, z.core.$strip>>>>;
|
|
640
394
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
641
|
-
onBuildStart: z.ZodOptional<z.ZodFunction<z.
|
|
642
|
-
onFormatComplete: z.ZodOptional<z.ZodFunction<z.
|
|
643
|
-
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.
|
|
644
|
-
onBuildComplete: z.ZodOptional<z.ZodFunction<z.
|
|
645
|
-
onError: z.ZodOptional<z.ZodFunction<z.
|
|
646
|
-
},
|
|
647
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
648
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
649
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
650
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
651
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
652
|
-
}, {
|
|
653
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
654
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
655
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
656
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
657
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
658
|
-
}>>;
|
|
395
|
+
onBuildStart: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
396
|
+
onFormatComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
397
|
+
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
398
|
+
onBuildComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
399
|
+
onError: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
400
|
+
}, z.core.$strip>>;
|
|
659
401
|
cache: z.ZodOptional<z.ZodObject<{
|
|
660
402
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
661
403
|
directory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
662
|
-
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
404
|
+
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
content: "content";
|
|
406
|
+
timestamp: "timestamp";
|
|
407
|
+
version: "version";
|
|
408
|
+
none: "none";
|
|
409
|
+
}>>>;
|
|
663
410
|
maxAge: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
664
|
-
},
|
|
665
|
-
enabled: boolean;
|
|
666
|
-
directory: string;
|
|
667
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
668
|
-
maxAge: number;
|
|
669
|
-
}, {
|
|
670
|
-
enabled?: boolean | undefined;
|
|
671
|
-
directory?: string | undefined;
|
|
672
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
673
|
-
maxAge?: number | undefined;
|
|
674
|
-
}>>;
|
|
411
|
+
}, z.core.$strip>>;
|
|
675
412
|
watch: z.ZodOptional<z.ZodObject<{
|
|
676
413
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
677
414
|
debounce: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
678
415
|
clearScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
679
|
-
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
680
|
-
},
|
|
681
|
-
enabled: boolean;
|
|
682
|
-
debounce: number;
|
|
683
|
-
clearScreen: boolean;
|
|
684
|
-
ignorePatterns: string[];
|
|
685
|
-
}, {
|
|
686
|
-
enabled?: boolean | undefined;
|
|
687
|
-
debounce?: number | undefined;
|
|
688
|
-
clearScreen?: boolean | undefined;
|
|
689
|
-
ignorePatterns?: string[] | undefined;
|
|
690
|
-
}>>;
|
|
416
|
+
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
417
|
+
}, z.core.$strip>>;
|
|
691
418
|
verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
692
|
-
|
|
419
|
+
scss: z.ZodOptional<z.ZodObject<{
|
|
420
|
+
outputStyles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
421
|
+
expanded: "expanded";
|
|
422
|
+
compressed: "compressed";
|
|
423
|
+
}>>>;
|
|
424
|
+
generateSourceMaps: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
minifiedSuffix: z.ZodOptional<z.ZodString>;
|
|
426
|
+
themeEntry: z.ZodOptional<z.ZodString>;
|
|
427
|
+
utilitiesEntry: z.ZodOptional<z.ZodString>;
|
|
428
|
+
cssOutputDir: z.ZodOptional<z.ZodString>;
|
|
429
|
+
loadPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
430
|
+
framework: z.ZodOptional<z.ZodEnum<{
|
|
431
|
+
bootstrap: "bootstrap";
|
|
432
|
+
tailwind: "tailwind";
|
|
433
|
+
custom: "custom";
|
|
434
|
+
material: "material";
|
|
435
|
+
}>>;
|
|
436
|
+
nameMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
437
|
+
variablesOutput: z.ZodOptional<z.ZodString>;
|
|
438
|
+
}, z.core.$strip>>;
|
|
693
439
|
pipeline: z.ZodOptional<z.ZodObject<{
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
440
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
441
|
+
validate: "validate";
|
|
442
|
+
snapshot: "snapshot";
|
|
443
|
+
preprocess: "preprocess";
|
|
444
|
+
transform: "transform";
|
|
445
|
+
"style-dictionary": "style-dictionary";
|
|
446
|
+
sync: "sync";
|
|
447
|
+
"sass-theme": "sass-theme";
|
|
448
|
+
"sass-theme-minified": "sass-theme-minified";
|
|
449
|
+
postprocess: "postprocess";
|
|
450
|
+
"sass-utilities": "sass-utilities";
|
|
451
|
+
"sass-utilities-minified": "sass-utilities-minified";
|
|
452
|
+
bundle: "bundle";
|
|
453
|
+
}>>>;
|
|
704
454
|
paths: z.ZodOptional<z.ZodObject<{
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
sassUtilitiesInput: string;
|
|
728
|
-
sassUtilitiesOutput: string;
|
|
729
|
-
sassUtilitiesMinifiedOutput: string;
|
|
730
|
-
}, {
|
|
731
|
-
syncSource?: string | undefined;
|
|
732
|
-
syncTarget?: string | undefined;
|
|
733
|
-
sassThemeInput?: string | undefined;
|
|
734
|
-
sassThemeOutput?: string | undefined;
|
|
735
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
736
|
-
sassUtilitiesInput?: string | undefined;
|
|
737
|
-
sassUtilitiesOutput?: string | undefined;
|
|
738
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
739
|
-
}>>;
|
|
740
|
-
/** Style Dictionary config file name */
|
|
741
|
-
styleDictionaryConfig: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
742
|
-
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
steps: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[];
|
|
744
|
-
styleDictionaryConfig: string;
|
|
745
|
-
paths?: {
|
|
746
|
-
syncSource: string;
|
|
747
|
-
syncTarget: string;
|
|
748
|
-
sassThemeInput: string;
|
|
749
|
-
sassThemeOutput: string;
|
|
750
|
-
sassThemeMinifiedOutput: string;
|
|
751
|
-
sassUtilitiesInput: string;
|
|
752
|
-
sassUtilitiesOutput: string;
|
|
753
|
-
sassUtilitiesMinifiedOutput: string;
|
|
754
|
-
} | undefined;
|
|
755
|
-
}, {
|
|
756
|
-
steps?: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[] | undefined;
|
|
757
|
-
paths?: {
|
|
758
|
-
syncSource?: string | undefined;
|
|
759
|
-
syncTarget?: string | undefined;
|
|
760
|
-
sassThemeInput?: string | undefined;
|
|
761
|
-
sassThemeOutput?: string | undefined;
|
|
762
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
763
|
-
sassUtilitiesInput?: string | undefined;
|
|
764
|
-
sassUtilitiesOutput?: string | undefined;
|
|
765
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
766
|
-
} | undefined;
|
|
767
|
-
styleDictionaryConfig?: string | undefined;
|
|
768
|
-
}>>;
|
|
769
|
-
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
verbose: boolean;
|
|
771
|
-
prefix: string;
|
|
772
|
-
enabled: boolean;
|
|
773
|
-
formats: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[];
|
|
774
|
-
transforms: string[];
|
|
775
|
-
customTransforms: {
|
|
776
|
-
name: string;
|
|
777
|
-
type: "name" | "value" | "attribute";
|
|
778
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
779
|
-
description?: string | undefined;
|
|
780
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
781
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
782
|
-
}[];
|
|
783
|
-
sourcePatterns: string[];
|
|
784
|
-
additionalScssDirectories: string[];
|
|
785
|
-
mergeOrder: string[];
|
|
786
|
-
createBundle: boolean;
|
|
787
|
-
bundleFileName: string;
|
|
788
|
-
customFormats: {
|
|
789
|
-
name: string;
|
|
790
|
-
description?: string | undefined;
|
|
791
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
792
|
-
extension?: string | undefined;
|
|
793
|
-
}[];
|
|
794
|
-
outputDirs?: {
|
|
795
|
-
css: string;
|
|
796
|
-
scss: string;
|
|
797
|
-
js: string;
|
|
798
|
-
ts: string;
|
|
799
|
-
json: string;
|
|
800
|
-
less: string;
|
|
801
|
-
} | undefined;
|
|
802
|
-
outputFileNames?: {
|
|
803
|
-
variables: string;
|
|
804
|
-
utilities: string;
|
|
805
|
-
mixins: string;
|
|
806
|
-
tokens: string;
|
|
807
|
-
} | undefined;
|
|
808
|
-
platforms?: Record<string, {
|
|
809
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
810
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
811
|
-
selector?: string | undefined;
|
|
812
|
-
prefix?: string | undefined;
|
|
813
|
-
outputFileName?: string | undefined;
|
|
814
|
-
outputDir?: string | undefined;
|
|
815
|
-
fileExtension?: string | undefined;
|
|
816
|
-
useVariables?: boolean | undefined;
|
|
817
|
-
transforms?: string[] | undefined;
|
|
818
|
-
customTransforms?: {
|
|
819
|
-
name: string;
|
|
820
|
-
type: "name" | "value" | "attribute";
|
|
821
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
822
|
-
description?: string | undefined;
|
|
823
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
824
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
825
|
-
}[] | undefined;
|
|
826
|
-
header?: string | undefined;
|
|
827
|
-
footer?: string | undefined;
|
|
828
|
-
}> | undefined;
|
|
829
|
-
hooks?: {
|
|
830
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
831
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
832
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
833
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
834
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
835
|
-
} | undefined;
|
|
836
|
-
cache?: {
|
|
837
|
-
enabled: boolean;
|
|
838
|
-
directory: string;
|
|
839
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
840
|
-
maxAge: number;
|
|
841
|
-
} | undefined;
|
|
842
|
-
watch?: {
|
|
843
|
-
enabled: boolean;
|
|
844
|
-
debounce: number;
|
|
845
|
-
clearScreen: boolean;
|
|
846
|
-
ignorePatterns: string[];
|
|
847
|
-
} | undefined;
|
|
848
|
-
pipeline?: {
|
|
849
|
-
steps: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[];
|
|
850
|
-
styleDictionaryConfig: string;
|
|
851
|
-
paths?: {
|
|
852
|
-
syncSource: string;
|
|
853
|
-
syncTarget: string;
|
|
854
|
-
sassThemeInput: string;
|
|
855
|
-
sassThemeOutput: string;
|
|
856
|
-
sassThemeMinifiedOutput: string;
|
|
857
|
-
sassUtilitiesInput: string;
|
|
858
|
-
sassUtilitiesOutput: string;
|
|
859
|
-
sassUtilitiesMinifiedOutput: string;
|
|
860
|
-
} | undefined;
|
|
861
|
-
} | undefined;
|
|
862
|
-
}, {
|
|
863
|
-
verbose?: boolean | undefined;
|
|
864
|
-
prefix?: string | undefined;
|
|
865
|
-
enabled?: boolean | undefined;
|
|
866
|
-
formats?: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[] | undefined;
|
|
867
|
-
transforms?: string[] | undefined;
|
|
868
|
-
customTransforms?: {
|
|
869
|
-
name: string;
|
|
870
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
871
|
-
description?: string | undefined;
|
|
872
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
873
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
874
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
875
|
-
}[] | undefined;
|
|
876
|
-
sourcePatterns?: string[] | undefined;
|
|
877
|
-
outputDirs?: {
|
|
878
|
-
css?: string | undefined;
|
|
879
|
-
scss?: string | undefined;
|
|
880
|
-
js?: string | undefined;
|
|
881
|
-
ts?: string | undefined;
|
|
882
|
-
json?: string | undefined;
|
|
883
|
-
less?: string | undefined;
|
|
884
|
-
} | undefined;
|
|
885
|
-
additionalScssDirectories?: string[] | undefined;
|
|
886
|
-
outputFileNames?: {
|
|
887
|
-
variables?: string | undefined;
|
|
888
|
-
utilities?: string | undefined;
|
|
889
|
-
mixins?: string | undefined;
|
|
890
|
-
tokens?: string | undefined;
|
|
891
|
-
} | undefined;
|
|
892
|
-
mergeOrder?: string[] | undefined;
|
|
893
|
-
createBundle?: boolean | undefined;
|
|
894
|
-
bundleFileName?: string | undefined;
|
|
895
|
-
platforms?: Record<string, {
|
|
896
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
897
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
898
|
-
selector?: string | undefined;
|
|
899
|
-
prefix?: string | undefined;
|
|
900
|
-
outputFileName?: string | undefined;
|
|
901
|
-
outputDir?: string | undefined;
|
|
902
|
-
fileExtension?: string | undefined;
|
|
903
|
-
useVariables?: boolean | undefined;
|
|
904
|
-
transforms?: string[] | undefined;
|
|
905
|
-
customTransforms?: {
|
|
906
|
-
name: string;
|
|
907
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
908
|
-
description?: string | undefined;
|
|
909
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
910
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
911
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
912
|
-
}[] | undefined;
|
|
913
|
-
header?: string | undefined;
|
|
914
|
-
footer?: string | undefined;
|
|
915
|
-
}> | undefined;
|
|
916
|
-
customFormats?: {
|
|
917
|
-
name: string;
|
|
918
|
-
description?: string | undefined;
|
|
919
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
920
|
-
extension?: string | undefined;
|
|
921
|
-
}[] | undefined;
|
|
922
|
-
hooks?: {
|
|
923
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
924
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
925
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
926
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
927
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
928
|
-
} | undefined;
|
|
929
|
-
cache?: {
|
|
930
|
-
enabled?: boolean | undefined;
|
|
931
|
-
directory?: string | undefined;
|
|
932
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
933
|
-
maxAge?: number | undefined;
|
|
934
|
-
} | undefined;
|
|
935
|
-
watch?: {
|
|
936
|
-
enabled?: boolean | undefined;
|
|
937
|
-
debounce?: number | undefined;
|
|
938
|
-
clearScreen?: boolean | undefined;
|
|
939
|
-
ignorePatterns?: string[] | undefined;
|
|
940
|
-
} | undefined;
|
|
941
|
-
pipeline?: {
|
|
942
|
-
steps?: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[] | undefined;
|
|
943
|
-
paths?: {
|
|
944
|
-
syncSource?: string | undefined;
|
|
945
|
-
syncTarget?: string | undefined;
|
|
946
|
-
sassThemeInput?: string | undefined;
|
|
947
|
-
sassThemeOutput?: string | undefined;
|
|
948
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
949
|
-
sassUtilitiesInput?: string | undefined;
|
|
950
|
-
sassUtilitiesOutput?: string | undefined;
|
|
951
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
952
|
-
} | undefined;
|
|
953
|
-
styleDictionaryConfig?: string | undefined;
|
|
954
|
-
} | undefined;
|
|
955
|
-
}>;
|
|
455
|
+
syncSource: z.ZodOptional<z.ZodString>;
|
|
456
|
+
syncTarget: z.ZodOptional<z.ZodString>;
|
|
457
|
+
sassThemeInput: z.ZodOptional<z.ZodString>;
|
|
458
|
+
sassThemeOutput: z.ZodOptional<z.ZodString>;
|
|
459
|
+
sassThemeMinifiedOutput: z.ZodOptional<z.ZodString>;
|
|
460
|
+
sassUtilitiesInput: z.ZodOptional<z.ZodString>;
|
|
461
|
+
sassUtilitiesOutput: z.ZodOptional<z.ZodString>;
|
|
462
|
+
sassUtilitiesMinifiedOutput: z.ZodOptional<z.ZodString>;
|
|
463
|
+
}, z.core.$strip>>;
|
|
464
|
+
styleDictionaryConfig: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.core.$strip>>;
|
|
466
|
+
postprocess: z.ZodOptional<z.ZodObject<{
|
|
467
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
cssDir: z.ZodOptional<z.ZodString>;
|
|
469
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
470
|
+
replacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
471
|
+
description: z.ZodOptional<z.ZodString>;
|
|
472
|
+
from: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
473
|
+
to: z.ZodString;
|
|
474
|
+
}, z.core.$strip>>>;
|
|
475
|
+
}, z.core.$strip>>;
|
|
476
|
+
}, z.core.$strip>;
|
|
956
477
|
/**
|
|
957
478
|
* Global build configuration
|
|
958
479
|
*/
|
|
@@ -963,32 +484,31 @@ declare const buildConfigSchema: z.ZodObject<{
|
|
|
963
484
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
964
485
|
parallel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
965
486
|
maxConcurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
966
|
-
},
|
|
967
|
-
minify: boolean;
|
|
968
|
-
outDir: string;
|
|
969
|
-
clean: boolean;
|
|
970
|
-
sourcemap: boolean;
|
|
971
|
-
parallel: boolean;
|
|
972
|
-
maxConcurrency: number;
|
|
973
|
-
}, {
|
|
974
|
-
minify?: boolean | undefined;
|
|
975
|
-
outDir?: string | undefined;
|
|
976
|
-
clean?: boolean | undefined;
|
|
977
|
-
sourcemap?: boolean | undefined;
|
|
978
|
-
parallel?: boolean | undefined;
|
|
979
|
-
maxConcurrency?: number | undefined;
|
|
980
|
-
}>;
|
|
487
|
+
}, z.core.$strip>;
|
|
981
488
|
/**
|
|
982
489
|
* Global configuration section
|
|
983
490
|
*/
|
|
984
491
|
declare const globalConfigSchema: z.ZodObject<{
|
|
985
|
-
logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
492
|
+
logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
493
|
+
silent: "silent";
|
|
494
|
+
error: "error";
|
|
495
|
+
warn: "warn";
|
|
496
|
+
info: "info";
|
|
497
|
+
debug: "debug";
|
|
498
|
+
verbose: "verbose";
|
|
499
|
+
}>>>;
|
|
986
500
|
colors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
987
501
|
ci: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
988
502
|
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
989
503
|
cwd: z.ZodOptional<z.ZodString>;
|
|
990
504
|
configPath: z.ZodOptional<z.ZodString>;
|
|
991
|
-
framework: z.ZodOptional<z.ZodEnum<
|
|
505
|
+
framework: z.ZodOptional<z.ZodEnum<{
|
|
506
|
+
react: "react";
|
|
507
|
+
vue: "vue";
|
|
508
|
+
svelte: "svelte";
|
|
509
|
+
angular: "angular";
|
|
510
|
+
vanilla: "vanilla";
|
|
511
|
+
}>>;
|
|
992
512
|
build: z.ZodOptional<z.ZodObject<{
|
|
993
513
|
outDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
994
514
|
clean: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -996,54 +516,8 @@ declare const globalConfigSchema: z.ZodObject<{
|
|
|
996
516
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
997
517
|
parallel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
998
518
|
maxConcurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
999
|
-
},
|
|
1000
|
-
|
|
1001
|
-
outDir: string;
|
|
1002
|
-
clean: boolean;
|
|
1003
|
-
sourcemap: boolean;
|
|
1004
|
-
parallel: boolean;
|
|
1005
|
-
maxConcurrency: number;
|
|
1006
|
-
}, {
|
|
1007
|
-
minify?: boolean | undefined;
|
|
1008
|
-
outDir?: string | undefined;
|
|
1009
|
-
clean?: boolean | undefined;
|
|
1010
|
-
sourcemap?: boolean | undefined;
|
|
1011
|
-
parallel?: boolean | undefined;
|
|
1012
|
-
maxConcurrency?: number | undefined;
|
|
1013
|
-
}>>;
|
|
1014
|
-
}, "strip", z.ZodTypeAny, {
|
|
1015
|
-
logLevel: "silent" | "error" | "warn" | "info" | "debug" | "verbose";
|
|
1016
|
-
colors: boolean;
|
|
1017
|
-
ci: boolean;
|
|
1018
|
-
dryRun: boolean;
|
|
1019
|
-
cwd?: string | undefined;
|
|
1020
|
-
configPath?: string | undefined;
|
|
1021
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
1022
|
-
build?: {
|
|
1023
|
-
minify: boolean;
|
|
1024
|
-
outDir: string;
|
|
1025
|
-
clean: boolean;
|
|
1026
|
-
sourcemap: boolean;
|
|
1027
|
-
parallel: boolean;
|
|
1028
|
-
maxConcurrency: number;
|
|
1029
|
-
} | undefined;
|
|
1030
|
-
}, {
|
|
1031
|
-
logLevel?: "silent" | "error" | "warn" | "info" | "debug" | "verbose" | undefined;
|
|
1032
|
-
colors?: boolean | undefined;
|
|
1033
|
-
ci?: boolean | undefined;
|
|
1034
|
-
dryRun?: boolean | undefined;
|
|
1035
|
-
cwd?: string | undefined;
|
|
1036
|
-
configPath?: string | undefined;
|
|
1037
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
1038
|
-
build?: {
|
|
1039
|
-
minify?: boolean | undefined;
|
|
1040
|
-
outDir?: string | undefined;
|
|
1041
|
-
clean?: boolean | undefined;
|
|
1042
|
-
sourcemap?: boolean | undefined;
|
|
1043
|
-
parallel?: boolean | undefined;
|
|
1044
|
-
maxConcurrency?: number | undefined;
|
|
1045
|
-
} | undefined;
|
|
1046
|
-
}>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
}, z.core.$strip>;
|
|
1047
521
|
/**
|
|
1048
522
|
* DSAI Tools configuration root schema
|
|
1049
523
|
*
|
|
@@ -1052,15 +526,28 @@ declare const globalConfigSchema: z.ZodObject<{
|
|
|
1052
526
|
*/
|
|
1053
527
|
declare const dsaiConfigSchema: z.ZodObject<{
|
|
1054
528
|
$schema: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
529
|
+
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1056
530
|
global: z.ZodOptional<z.ZodObject<{
|
|
1057
|
-
logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
531
|
+
logLevel: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
532
|
+
silent: "silent";
|
|
533
|
+
error: "error";
|
|
534
|
+
warn: "warn";
|
|
535
|
+
info: "info";
|
|
536
|
+
debug: "debug";
|
|
537
|
+
verbose: "verbose";
|
|
538
|
+
}>>>;
|
|
1058
539
|
colors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
540
|
ci: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1060
541
|
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1061
542
|
cwd: z.ZodOptional<z.ZodString>;
|
|
1062
543
|
configPath: z.ZodOptional<z.ZodString>;
|
|
1063
|
-
framework: z.ZodOptional<z.ZodEnum<
|
|
544
|
+
framework: z.ZodOptional<z.ZodEnum<{
|
|
545
|
+
react: "react";
|
|
546
|
+
vue: "vue";
|
|
547
|
+
svelte: "svelte";
|
|
548
|
+
angular: "angular";
|
|
549
|
+
vanilla: "vanilla";
|
|
550
|
+
}>>;
|
|
1064
551
|
build: z.ZodOptional<z.ZodObject<{
|
|
1065
552
|
outDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1066
553
|
clean: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1068,57 +555,11 @@ declare const dsaiConfigSchema: z.ZodObject<{
|
|
|
1068
555
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1069
556
|
parallel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1070
557
|
maxConcurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1071
|
-
},
|
|
1072
|
-
|
|
1073
|
-
outDir: string;
|
|
1074
|
-
clean: boolean;
|
|
1075
|
-
sourcemap: boolean;
|
|
1076
|
-
parallel: boolean;
|
|
1077
|
-
maxConcurrency: number;
|
|
1078
|
-
}, {
|
|
1079
|
-
minify?: boolean | undefined;
|
|
1080
|
-
outDir?: string | undefined;
|
|
1081
|
-
clean?: boolean | undefined;
|
|
1082
|
-
sourcemap?: boolean | undefined;
|
|
1083
|
-
parallel?: boolean | undefined;
|
|
1084
|
-
maxConcurrency?: number | undefined;
|
|
1085
|
-
}>>;
|
|
1086
|
-
}, "strip", z.ZodTypeAny, {
|
|
1087
|
-
logLevel: "silent" | "error" | "warn" | "info" | "debug" | "verbose";
|
|
1088
|
-
colors: boolean;
|
|
1089
|
-
ci: boolean;
|
|
1090
|
-
dryRun: boolean;
|
|
1091
|
-
cwd?: string | undefined;
|
|
1092
|
-
configPath?: string | undefined;
|
|
1093
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
1094
|
-
build?: {
|
|
1095
|
-
minify: boolean;
|
|
1096
|
-
outDir: string;
|
|
1097
|
-
clean: boolean;
|
|
1098
|
-
sourcemap: boolean;
|
|
1099
|
-
parallel: boolean;
|
|
1100
|
-
maxConcurrency: number;
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
}, {
|
|
1103
|
-
logLevel?: "silent" | "error" | "warn" | "info" | "debug" | "verbose" | undefined;
|
|
1104
|
-
colors?: boolean | undefined;
|
|
1105
|
-
ci?: boolean | undefined;
|
|
1106
|
-
dryRun?: boolean | undefined;
|
|
1107
|
-
cwd?: string | undefined;
|
|
1108
|
-
configPath?: string | undefined;
|
|
1109
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
1110
|
-
build?: {
|
|
1111
|
-
minify?: boolean | undefined;
|
|
1112
|
-
outDir?: string | undefined;
|
|
1113
|
-
clean?: boolean | undefined;
|
|
1114
|
-
sourcemap?: boolean | undefined;
|
|
1115
|
-
parallel?: boolean | undefined;
|
|
1116
|
-
maxConcurrency?: number | undefined;
|
|
1117
|
-
} | undefined;
|
|
1118
|
-
}>>;
|
|
558
|
+
}, z.core.$strip>>;
|
|
559
|
+
}, z.core.$strip>>;
|
|
1119
560
|
tokens: z.ZodOptional<z.ZodObject<{
|
|
1120
561
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1121
|
-
sourcePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
562
|
+
sourcePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1122
563
|
outputDirs: z.ZodOptional<z.ZodObject<{
|
|
1123
564
|
css: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1124
565
|
scss: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -1126,547 +567,219 @@ declare const dsaiConfigSchema: z.ZodObject<{
|
|
|
1126
567
|
js: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1127
568
|
ts: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1128
569
|
json: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1129
|
-
},
|
|
1130
|
-
|
|
1131
|
-
scss: string;
|
|
1132
|
-
js: string;
|
|
1133
|
-
ts: string;
|
|
1134
|
-
json: string;
|
|
1135
|
-
less: string;
|
|
1136
|
-
}, {
|
|
1137
|
-
css?: string | undefined;
|
|
1138
|
-
scss?: string | undefined;
|
|
1139
|
-
js?: string | undefined;
|
|
1140
|
-
ts?: string | undefined;
|
|
1141
|
-
json?: string | undefined;
|
|
1142
|
-
less?: string | undefined;
|
|
1143
|
-
}>>;
|
|
1144
|
-
additionalScssDirectories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
571
|
+
additionalScssDirectories: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1145
572
|
outputFileNames: z.ZodOptional<z.ZodObject<{
|
|
1146
573
|
variables: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1147
574
|
utilities: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1148
575
|
mixins: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1149
576
|
tokens: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1150
|
-
},
|
|
1151
|
-
variables: string;
|
|
1152
|
-
utilities: string;
|
|
1153
|
-
mixins: string;
|
|
1154
|
-
tokens: string;
|
|
1155
|
-
}, {
|
|
1156
|
-
variables?: string | undefined;
|
|
1157
|
-
utilities?: string | undefined;
|
|
1158
|
-
mixins?: string | undefined;
|
|
1159
|
-
tokens?: string | undefined;
|
|
1160
|
-
}>>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
1161
578
|
prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1162
|
-
mergeOrder: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
579
|
+
mergeOrder: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1163
580
|
createBundle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1164
581
|
bundleFileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1165
|
-
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
582
|
+
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
583
|
+
css: "css";
|
|
584
|
+
scss: "scss";
|
|
585
|
+
js: "js";
|
|
586
|
+
ts: "ts";
|
|
587
|
+
json: "json";
|
|
588
|
+
less: "less";
|
|
589
|
+
esm: "esm";
|
|
590
|
+
cjs: "cjs";
|
|
591
|
+
}>>>>;
|
|
1166
592
|
platforms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1167
|
-
format: z.ZodEnum<
|
|
593
|
+
format: z.ZodEnum<{
|
|
594
|
+
css: "css";
|
|
595
|
+
scss: "scss";
|
|
596
|
+
js: "js";
|
|
597
|
+
ts: "ts";
|
|
598
|
+
json: "json";
|
|
599
|
+
less: "less";
|
|
600
|
+
esm: "esm";
|
|
601
|
+
cjs: "cjs";
|
|
602
|
+
}>;
|
|
1168
603
|
outputDir: z.ZodOptional<z.ZodString>;
|
|
1169
604
|
outputFileName: z.ZodOptional<z.ZodString>;
|
|
1170
605
|
fileExtension: z.ZodOptional<z.ZodString>;
|
|
1171
606
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1172
607
|
useVariables: z.ZodOptional<z.ZodBoolean>;
|
|
1173
608
|
selector: z.ZodOptional<z.ZodString>;
|
|
1174
|
-
transforms: z.ZodOptional<z.ZodArray<z.ZodString
|
|
609
|
+
transforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1175
610
|
customTransforms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1176
611
|
name: z.ZodString;
|
|
1177
612
|
description: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1189
|
-
}, {
|
|
1190
|
-
name: string;
|
|
1191
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1192
|
-
description?: string | undefined;
|
|
1193
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1194
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1195
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1196
|
-
}>, "many">>;
|
|
1197
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodUnion<[z.ZodBoolean, z.ZodPromise<z.ZodBoolean>]>>>;
|
|
613
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
614
|
+
name: "name";
|
|
615
|
+
value: "value";
|
|
616
|
+
attribute: "attribute";
|
|
617
|
+
}>>>;
|
|
618
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
619
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
620
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
621
|
+
}, z.core.$strip>>>;
|
|
622
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
1198
623
|
header: z.ZodOptional<z.ZodString>;
|
|
1199
624
|
footer: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
},
|
|
1201
|
-
|
|
1202
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1203
|
-
selector?: string | undefined;
|
|
1204
|
-
prefix?: string | undefined;
|
|
1205
|
-
outputFileName?: string | undefined;
|
|
1206
|
-
outputDir?: string | undefined;
|
|
1207
|
-
fileExtension?: string | undefined;
|
|
1208
|
-
useVariables?: boolean | undefined;
|
|
1209
|
-
transforms?: string[] | undefined;
|
|
1210
|
-
customTransforms?: {
|
|
1211
|
-
name: string;
|
|
1212
|
-
type: "name" | "value" | "attribute";
|
|
1213
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1214
|
-
description?: string | undefined;
|
|
1215
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1216
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1217
|
-
}[] | undefined;
|
|
1218
|
-
header?: string | undefined;
|
|
1219
|
-
footer?: string | undefined;
|
|
1220
|
-
}, {
|
|
1221
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
1222
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1223
|
-
selector?: string | undefined;
|
|
1224
|
-
prefix?: string | undefined;
|
|
1225
|
-
outputFileName?: string | undefined;
|
|
1226
|
-
outputDir?: string | undefined;
|
|
1227
|
-
fileExtension?: string | undefined;
|
|
1228
|
-
useVariables?: boolean | undefined;
|
|
1229
|
-
transforms?: string[] | undefined;
|
|
1230
|
-
customTransforms?: {
|
|
1231
|
-
name: string;
|
|
1232
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1233
|
-
description?: string | undefined;
|
|
1234
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1235
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1236
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1237
|
-
}[] | undefined;
|
|
1238
|
-
header?: string | undefined;
|
|
1239
|
-
footer?: string | undefined;
|
|
1240
|
-
}>>>;
|
|
1241
|
-
transforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
625
|
+
}, z.core.$strip>>>;
|
|
626
|
+
transforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1242
627
|
customTransforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1243
628
|
name: z.ZodString;
|
|
1244
629
|
description: z.ZodOptional<z.ZodString>;
|
|
1245
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1255
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1256
|
-
}, {
|
|
1257
|
-
name: string;
|
|
1258
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1259
|
-
description?: string | undefined;
|
|
1260
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1261
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1262
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1263
|
-
}>, "many">>>;
|
|
630
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
631
|
+
name: "name";
|
|
632
|
+
value: "value";
|
|
633
|
+
attribute: "attribute";
|
|
634
|
+
}>>>;
|
|
635
|
+
transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
636
|
+
filter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
637
|
+
matcher: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
638
|
+
}, z.core.$strip>>>>;
|
|
1264
639
|
customFormats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1265
640
|
name: z.ZodString;
|
|
1266
641
|
description: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
formatter: z.ZodOptional<z.ZodFunction<z.
|
|
642
|
+
formatter: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
1268
643
|
extension: z.ZodOptional<z.ZodString>;
|
|
1269
|
-
},
|
|
1270
|
-
name: string;
|
|
1271
|
-
description?: string | undefined;
|
|
1272
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
1273
|
-
extension?: string | undefined;
|
|
1274
|
-
}, {
|
|
1275
|
-
name: string;
|
|
1276
|
-
description?: string | undefined;
|
|
1277
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
1278
|
-
extension?: string | undefined;
|
|
1279
|
-
}>, "many">>>;
|
|
644
|
+
}, z.core.$strip>>>>;
|
|
1280
645
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
1281
|
-
onBuildStart: z.ZodOptional<z.ZodFunction<z.
|
|
1282
|
-
onFormatComplete: z.ZodOptional<z.ZodFunction<z.
|
|
1283
|
-
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.
|
|
1284
|
-
onBuildComplete: z.ZodOptional<z.ZodFunction<z.
|
|
1285
|
-
onError: z.ZodOptional<z.ZodFunction<z.
|
|
1286
|
-
},
|
|
1287
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1288
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1289
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1290
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1291
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1292
|
-
}, {
|
|
1293
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1294
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1295
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1296
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1297
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1298
|
-
}>>;
|
|
646
|
+
onBuildStart: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
647
|
+
onFormatComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
648
|
+
onAllFormatsComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
649
|
+
onBuildComplete: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
650
|
+
onError: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
|
|
651
|
+
}, z.core.$strip>>;
|
|
1299
652
|
cache: z.ZodOptional<z.ZodObject<{
|
|
1300
653
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1301
654
|
directory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1302
|
-
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
655
|
+
hashType: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
656
|
+
content: "content";
|
|
657
|
+
timestamp: "timestamp";
|
|
658
|
+
version: "version";
|
|
659
|
+
none: "none";
|
|
660
|
+
}>>>;
|
|
1303
661
|
maxAge: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1304
|
-
},
|
|
1305
|
-
enabled: boolean;
|
|
1306
|
-
directory: string;
|
|
1307
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
1308
|
-
maxAge: number;
|
|
1309
|
-
}, {
|
|
1310
|
-
enabled?: boolean | undefined;
|
|
1311
|
-
directory?: string | undefined;
|
|
1312
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
1313
|
-
maxAge?: number | undefined;
|
|
1314
|
-
}>>;
|
|
662
|
+
}, z.core.$strip>>;
|
|
1315
663
|
watch: z.ZodOptional<z.ZodObject<{
|
|
1316
664
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1317
665
|
debounce: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1318
666
|
clearScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1319
|
-
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString
|
|
1320
|
-
},
|
|
1321
|
-
enabled: boolean;
|
|
1322
|
-
debounce: number;
|
|
1323
|
-
clearScreen: boolean;
|
|
1324
|
-
ignorePatterns: string[];
|
|
1325
|
-
}, {
|
|
1326
|
-
enabled?: boolean | undefined;
|
|
1327
|
-
debounce?: number | undefined;
|
|
1328
|
-
clearScreen?: boolean | undefined;
|
|
1329
|
-
ignorePatterns?: string[] | undefined;
|
|
1330
|
-
}>>;
|
|
667
|
+
ignorePatterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
668
|
+
}, z.core.$strip>>;
|
|
1331
669
|
verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1332
|
-
|
|
670
|
+
scss: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
outputStyles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
672
|
+
expanded: "expanded";
|
|
673
|
+
compressed: "compressed";
|
|
674
|
+
}>>>;
|
|
675
|
+
generateSourceMaps: z.ZodOptional<z.ZodBoolean>;
|
|
676
|
+
minifiedSuffix: z.ZodOptional<z.ZodString>;
|
|
677
|
+
themeEntry: z.ZodOptional<z.ZodString>;
|
|
678
|
+
utilitiesEntry: z.ZodOptional<z.ZodString>;
|
|
679
|
+
cssOutputDir: z.ZodOptional<z.ZodString>;
|
|
680
|
+
loadPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
681
|
+
framework: z.ZodOptional<z.ZodEnum<{
|
|
682
|
+
bootstrap: "bootstrap";
|
|
683
|
+
tailwind: "tailwind";
|
|
684
|
+
custom: "custom";
|
|
685
|
+
material: "material";
|
|
686
|
+
}>>;
|
|
687
|
+
nameMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
688
|
+
variablesOutput: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strip>>;
|
|
1333
690
|
pipeline: z.ZodOptional<z.ZodObject<{
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
691
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
692
|
+
validate: "validate";
|
|
693
|
+
snapshot: "snapshot";
|
|
694
|
+
preprocess: "preprocess";
|
|
695
|
+
transform: "transform";
|
|
696
|
+
"style-dictionary": "style-dictionary";
|
|
697
|
+
sync: "sync";
|
|
698
|
+
"sass-theme": "sass-theme";
|
|
699
|
+
"sass-theme-minified": "sass-theme-minified";
|
|
700
|
+
postprocess: "postprocess";
|
|
701
|
+
"sass-utilities": "sass-utilities";
|
|
702
|
+
"sass-utilities-minified": "sass-utilities-minified";
|
|
703
|
+
bundle: "bundle";
|
|
704
|
+
}>>>;
|
|
1344
705
|
paths: z.ZodOptional<z.ZodObject<{
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
sassUtilitiesInput: string;
|
|
1368
|
-
sassUtilitiesOutput: string;
|
|
1369
|
-
sassUtilitiesMinifiedOutput: string;
|
|
1370
|
-
}, {
|
|
1371
|
-
syncSource?: string | undefined;
|
|
1372
|
-
syncTarget?: string | undefined;
|
|
1373
|
-
sassThemeInput?: string | undefined;
|
|
1374
|
-
sassThemeOutput?: string | undefined;
|
|
1375
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
1376
|
-
sassUtilitiesInput?: string | undefined;
|
|
1377
|
-
sassUtilitiesOutput?: string | undefined;
|
|
1378
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
1379
|
-
}>>;
|
|
1380
|
-
/** Style Dictionary config file name */
|
|
1381
|
-
styleDictionaryConfig: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1382
|
-
}, "strip", z.ZodTypeAny, {
|
|
1383
|
-
steps: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[];
|
|
1384
|
-
styleDictionaryConfig: string;
|
|
1385
|
-
paths?: {
|
|
1386
|
-
syncSource: string;
|
|
1387
|
-
syncTarget: string;
|
|
1388
|
-
sassThemeInput: string;
|
|
1389
|
-
sassThemeOutput: string;
|
|
1390
|
-
sassThemeMinifiedOutput: string;
|
|
1391
|
-
sassUtilitiesInput: string;
|
|
1392
|
-
sassUtilitiesOutput: string;
|
|
1393
|
-
sassUtilitiesMinifiedOutput: string;
|
|
1394
|
-
} | undefined;
|
|
1395
|
-
}, {
|
|
1396
|
-
steps?: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[] | undefined;
|
|
1397
|
-
paths?: {
|
|
1398
|
-
syncSource?: string | undefined;
|
|
1399
|
-
syncTarget?: string | undefined;
|
|
1400
|
-
sassThemeInput?: string | undefined;
|
|
1401
|
-
sassThemeOutput?: string | undefined;
|
|
1402
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
1403
|
-
sassUtilitiesInput?: string | undefined;
|
|
1404
|
-
sassUtilitiesOutput?: string | undefined;
|
|
1405
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
1406
|
-
} | undefined;
|
|
1407
|
-
styleDictionaryConfig?: string | undefined;
|
|
1408
|
-
}>>;
|
|
1409
|
-
}, "strip", z.ZodTypeAny, {
|
|
1410
|
-
verbose: boolean;
|
|
1411
|
-
prefix: string;
|
|
1412
|
-
enabled: boolean;
|
|
1413
|
-
formats: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[];
|
|
1414
|
-
transforms: string[];
|
|
1415
|
-
customTransforms: {
|
|
1416
|
-
name: string;
|
|
1417
|
-
type: "name" | "value" | "attribute";
|
|
1418
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1419
|
-
description?: string | undefined;
|
|
1420
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1421
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1422
|
-
}[];
|
|
1423
|
-
sourcePatterns: string[];
|
|
1424
|
-
additionalScssDirectories: string[];
|
|
1425
|
-
mergeOrder: string[];
|
|
1426
|
-
createBundle: boolean;
|
|
1427
|
-
bundleFileName: string;
|
|
1428
|
-
customFormats: {
|
|
1429
|
-
name: string;
|
|
1430
|
-
description?: string | undefined;
|
|
1431
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
1432
|
-
extension?: string | undefined;
|
|
1433
|
-
}[];
|
|
1434
|
-
outputDirs?: {
|
|
1435
|
-
css: string;
|
|
1436
|
-
scss: string;
|
|
1437
|
-
js: string;
|
|
1438
|
-
ts: string;
|
|
1439
|
-
json: string;
|
|
1440
|
-
less: string;
|
|
1441
|
-
} | undefined;
|
|
1442
|
-
outputFileNames?: {
|
|
1443
|
-
variables: string;
|
|
1444
|
-
utilities: string;
|
|
1445
|
-
mixins: string;
|
|
1446
|
-
tokens: string;
|
|
1447
|
-
} | undefined;
|
|
1448
|
-
platforms?: Record<string, {
|
|
1449
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
1450
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1451
|
-
selector?: string | undefined;
|
|
1452
|
-
prefix?: string | undefined;
|
|
1453
|
-
outputFileName?: string | undefined;
|
|
1454
|
-
outputDir?: string | undefined;
|
|
1455
|
-
fileExtension?: string | undefined;
|
|
1456
|
-
useVariables?: boolean | undefined;
|
|
1457
|
-
transforms?: string[] | undefined;
|
|
1458
|
-
customTransforms?: {
|
|
1459
|
-
name: string;
|
|
1460
|
-
type: "name" | "value" | "attribute";
|
|
1461
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1462
|
-
description?: string | undefined;
|
|
1463
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1464
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1465
|
-
}[] | undefined;
|
|
1466
|
-
header?: string | undefined;
|
|
1467
|
-
footer?: string | undefined;
|
|
1468
|
-
}> | undefined;
|
|
1469
|
-
hooks?: {
|
|
1470
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1471
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1472
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1473
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1474
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1475
|
-
} | undefined;
|
|
1476
|
-
cache?: {
|
|
1477
|
-
enabled: boolean;
|
|
1478
|
-
directory: string;
|
|
1479
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
1480
|
-
maxAge: number;
|
|
1481
|
-
} | undefined;
|
|
1482
|
-
watch?: {
|
|
1483
|
-
enabled: boolean;
|
|
1484
|
-
debounce: number;
|
|
1485
|
-
clearScreen: boolean;
|
|
1486
|
-
ignorePatterns: string[];
|
|
1487
|
-
} | undefined;
|
|
1488
|
-
pipeline?: {
|
|
1489
|
-
steps: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[];
|
|
1490
|
-
styleDictionaryConfig: string;
|
|
1491
|
-
paths?: {
|
|
1492
|
-
syncSource: string;
|
|
1493
|
-
syncTarget: string;
|
|
1494
|
-
sassThemeInput: string;
|
|
1495
|
-
sassThemeOutput: string;
|
|
1496
|
-
sassThemeMinifiedOutput: string;
|
|
1497
|
-
sassUtilitiesInput: string;
|
|
1498
|
-
sassUtilitiesOutput: string;
|
|
1499
|
-
sassUtilitiesMinifiedOutput: string;
|
|
1500
|
-
} | undefined;
|
|
1501
|
-
} | undefined;
|
|
1502
|
-
}, {
|
|
1503
|
-
verbose?: boolean | undefined;
|
|
1504
|
-
prefix?: string | undefined;
|
|
1505
|
-
enabled?: boolean | undefined;
|
|
1506
|
-
formats?: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[] | undefined;
|
|
1507
|
-
transforms?: string[] | undefined;
|
|
1508
|
-
customTransforms?: {
|
|
1509
|
-
name: string;
|
|
1510
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1511
|
-
description?: string | undefined;
|
|
1512
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1513
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1514
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1515
|
-
}[] | undefined;
|
|
1516
|
-
sourcePatterns?: string[] | undefined;
|
|
1517
|
-
outputDirs?: {
|
|
1518
|
-
css?: string | undefined;
|
|
1519
|
-
scss?: string | undefined;
|
|
1520
|
-
js?: string | undefined;
|
|
1521
|
-
ts?: string | undefined;
|
|
1522
|
-
json?: string | undefined;
|
|
1523
|
-
less?: string | undefined;
|
|
1524
|
-
} | undefined;
|
|
1525
|
-
additionalScssDirectories?: string[] | undefined;
|
|
1526
|
-
outputFileNames?: {
|
|
1527
|
-
variables?: string | undefined;
|
|
1528
|
-
utilities?: string | undefined;
|
|
1529
|
-
mixins?: string | undefined;
|
|
1530
|
-
tokens?: string | undefined;
|
|
1531
|
-
} | undefined;
|
|
1532
|
-
mergeOrder?: string[] | undefined;
|
|
1533
|
-
createBundle?: boolean | undefined;
|
|
1534
|
-
bundleFileName?: string | undefined;
|
|
1535
|
-
platforms?: Record<string, {
|
|
1536
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
1537
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1538
|
-
selector?: string | undefined;
|
|
1539
|
-
prefix?: string | undefined;
|
|
1540
|
-
outputFileName?: string | undefined;
|
|
1541
|
-
outputDir?: string | undefined;
|
|
1542
|
-
fileExtension?: string | undefined;
|
|
1543
|
-
useVariables?: boolean | undefined;
|
|
1544
|
-
transforms?: string[] | undefined;
|
|
1545
|
-
customTransforms?: {
|
|
1546
|
-
name: string;
|
|
1547
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1548
|
-
description?: string | undefined;
|
|
1549
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1550
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1551
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1552
|
-
}[] | undefined;
|
|
1553
|
-
header?: string | undefined;
|
|
1554
|
-
footer?: string | undefined;
|
|
1555
|
-
}> | undefined;
|
|
1556
|
-
customFormats?: {
|
|
1557
|
-
name: string;
|
|
1558
|
-
description?: string | undefined;
|
|
1559
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
1560
|
-
extension?: string | undefined;
|
|
1561
|
-
}[] | undefined;
|
|
1562
|
-
hooks?: {
|
|
1563
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1564
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1565
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1566
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1567
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1568
|
-
} | undefined;
|
|
1569
|
-
cache?: {
|
|
1570
|
-
enabled?: boolean | undefined;
|
|
1571
|
-
directory?: string | undefined;
|
|
1572
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
1573
|
-
maxAge?: number | undefined;
|
|
1574
|
-
} | undefined;
|
|
1575
|
-
watch?: {
|
|
1576
|
-
enabled?: boolean | undefined;
|
|
1577
|
-
debounce?: number | undefined;
|
|
1578
|
-
clearScreen?: boolean | undefined;
|
|
1579
|
-
ignorePatterns?: string[] | undefined;
|
|
1580
|
-
} | undefined;
|
|
1581
|
-
pipeline?: {
|
|
1582
|
-
steps?: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[] | undefined;
|
|
1583
|
-
paths?: {
|
|
1584
|
-
syncSource?: string | undefined;
|
|
1585
|
-
syncTarget?: string | undefined;
|
|
1586
|
-
sassThemeInput?: string | undefined;
|
|
1587
|
-
sassThemeOutput?: string | undefined;
|
|
1588
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
1589
|
-
sassUtilitiesInput?: string | undefined;
|
|
1590
|
-
sassUtilitiesOutput?: string | undefined;
|
|
1591
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
1592
|
-
} | undefined;
|
|
1593
|
-
styleDictionaryConfig?: string | undefined;
|
|
1594
|
-
} | undefined;
|
|
1595
|
-
}>>;
|
|
706
|
+
syncSource: z.ZodOptional<z.ZodString>;
|
|
707
|
+
syncTarget: z.ZodOptional<z.ZodString>;
|
|
708
|
+
sassThemeInput: z.ZodOptional<z.ZodString>;
|
|
709
|
+
sassThemeOutput: z.ZodOptional<z.ZodString>;
|
|
710
|
+
sassThemeMinifiedOutput: z.ZodOptional<z.ZodString>;
|
|
711
|
+
sassUtilitiesInput: z.ZodOptional<z.ZodString>;
|
|
712
|
+
sassUtilitiesOutput: z.ZodOptional<z.ZodString>;
|
|
713
|
+
sassUtilitiesMinifiedOutput: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strip>>;
|
|
715
|
+
styleDictionaryConfig: z.ZodOptional<z.ZodString>;
|
|
716
|
+
}, z.core.$strip>>;
|
|
717
|
+
postprocess: z.ZodOptional<z.ZodObject<{
|
|
718
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
719
|
+
cssDir: z.ZodOptional<z.ZodString>;
|
|
720
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
721
|
+
replacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
722
|
+
description: z.ZodOptional<z.ZodString>;
|
|
723
|
+
from: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
724
|
+
to: z.ZodString;
|
|
725
|
+
}, z.core.$strip>>>;
|
|
726
|
+
}, z.core.$strip>>;
|
|
727
|
+
}, z.core.$strip>>;
|
|
1596
728
|
themes: z.ZodOptional<z.ZodObject<{
|
|
1597
729
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1598
|
-
|
|
1599
|
-
|
|
730
|
+
autoDetect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
731
|
+
default: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
732
|
+
ignoreModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
733
|
+
selectorPattern: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
default: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
735
|
+
others: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
736
|
+
}, z.core.$strip>>;
|
|
737
|
+
definitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
738
|
+
isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
739
|
+
suffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1600
740
|
selector: z.ZodString;
|
|
1601
741
|
mediaQuery: z.ZodOptional<z.ZodString>;
|
|
1602
742
|
dataAttribute: z.ZodOptional<z.ZodString>;
|
|
1603
|
-
|
|
1604
|
-
|
|
743
|
+
outputFiles: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
744
|
+
css: "css";
|
|
745
|
+
scss: "scss";
|
|
746
|
+
js: "js";
|
|
747
|
+
ts: "ts";
|
|
748
|
+
json: "json";
|
|
749
|
+
android: "android";
|
|
750
|
+
ios: "ios";
|
|
751
|
+
}>, z.ZodString>>;
|
|
752
|
+
}, z.core.$strip>>>;
|
|
753
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
754
|
+
light: "light";
|
|
755
|
+
dark: "dark";
|
|
756
|
+
system: "system";
|
|
757
|
+
}>>;
|
|
758
|
+
modes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
759
|
+
selector: z.ZodString;
|
|
760
|
+
mediaQuery: z.ZodOptional<z.ZodString>;
|
|
761
|
+
dataAttribute: z.ZodOptional<z.ZodString>;
|
|
762
|
+
cssVariables: z.ZodOptional<z.ZodBoolean>;
|
|
763
|
+
generateSeparateFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1605
764
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1606
|
-
},
|
|
1607
|
-
|
|
1608
|
-
cssVariables: boolean;
|
|
1609
|
-
generateSeparateFiles: boolean;
|
|
1610
|
-
mediaQuery?: string | undefined;
|
|
1611
|
-
dataAttribute?: string | undefined;
|
|
1612
|
-
prefix?: string | undefined;
|
|
1613
|
-
}, {
|
|
1614
|
-
selector: string;
|
|
1615
|
-
mediaQuery?: string | undefined;
|
|
1616
|
-
dataAttribute?: string | undefined;
|
|
1617
|
-
cssVariables?: boolean | undefined;
|
|
1618
|
-
generateSeparateFiles?: boolean | undefined;
|
|
1619
|
-
prefix?: string | undefined;
|
|
1620
|
-
}>>>>;
|
|
1621
|
-
outputFileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
765
|
+
}, z.core.$strip>>>;
|
|
766
|
+
outputFileName: z.ZodOptional<z.ZodString>;
|
|
1622
767
|
colorScheme: z.ZodOptional<z.ZodObject<{
|
|
1623
768
|
light: z.ZodOptional<z.ZodString>;
|
|
1624
769
|
dark: z.ZodOptional<z.ZodString>;
|
|
1625
|
-
},
|
|
1626
|
-
|
|
1627
|
-
dark?: string | undefined;
|
|
1628
|
-
}, {
|
|
1629
|
-
light?: string | undefined;
|
|
1630
|
-
dark?: string | undefined;
|
|
1631
|
-
}>>;
|
|
1632
|
-
}, "strip", z.ZodTypeAny, {
|
|
1633
|
-
enabled: boolean;
|
|
1634
|
-
defaultMode: "light" | "dark" | "system";
|
|
1635
|
-
modes: Record<string, {
|
|
1636
|
-
selector: string;
|
|
1637
|
-
cssVariables: boolean;
|
|
1638
|
-
generateSeparateFiles: boolean;
|
|
1639
|
-
mediaQuery?: string | undefined;
|
|
1640
|
-
dataAttribute?: string | undefined;
|
|
1641
|
-
prefix?: string | undefined;
|
|
1642
|
-
}>;
|
|
1643
|
-
outputFileName: string;
|
|
1644
|
-
colorScheme?: {
|
|
1645
|
-
light?: string | undefined;
|
|
1646
|
-
dark?: string | undefined;
|
|
1647
|
-
} | undefined;
|
|
1648
|
-
}, {
|
|
1649
|
-
enabled?: boolean | undefined;
|
|
1650
|
-
defaultMode?: "light" | "dark" | "system" | undefined;
|
|
1651
|
-
modes?: Record<string, {
|
|
1652
|
-
selector: string;
|
|
1653
|
-
mediaQuery?: string | undefined;
|
|
1654
|
-
dataAttribute?: string | undefined;
|
|
1655
|
-
cssVariables?: boolean | undefined;
|
|
1656
|
-
generateSeparateFiles?: boolean | undefined;
|
|
1657
|
-
prefix?: string | undefined;
|
|
1658
|
-
}> | undefined;
|
|
1659
|
-
outputFileName?: string | undefined;
|
|
1660
|
-
colorScheme?: {
|
|
1661
|
-
light?: string | undefined;
|
|
1662
|
-
dark?: string | undefined;
|
|
1663
|
-
} | undefined;
|
|
1664
|
-
}>>;
|
|
770
|
+
}, z.core.$strip>>;
|
|
771
|
+
}, z.core.$strip>>;
|
|
1665
772
|
icons: z.ZodOptional<z.ZodObject<{
|
|
1666
773
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1667
774
|
sourceDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1668
775
|
outputDir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1669
|
-
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
776
|
+
formats: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
777
|
+
react: "react";
|
|
778
|
+
vue: "vue";
|
|
779
|
+
svg: "svg";
|
|
780
|
+
sprite: "sprite";
|
|
781
|
+
font: "font";
|
|
782
|
+
}>>>>;
|
|
1670
783
|
optimization: z.ZodOptional<z.ZodObject<{
|
|
1671
784
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1672
785
|
removeComments: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1675,405 +788,23 @@ declare const dsaiConfigSchema: z.ZodObject<{
|
|
|
1675
788
|
removeXMLNS: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1676
789
|
cleanupIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1677
790
|
minify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1678
|
-
},
|
|
1679
|
-
enabled: boolean;
|
|
1680
|
-
removeComments: boolean;
|
|
1681
|
-
removeDimensions: boolean;
|
|
1682
|
-
removeViewBox: boolean;
|
|
1683
|
-
removeXMLNS: boolean;
|
|
1684
|
-
cleanupIds: boolean;
|
|
1685
|
-
minify: boolean;
|
|
1686
|
-
}, {
|
|
1687
|
-
enabled?: boolean | undefined;
|
|
1688
|
-
removeComments?: boolean | undefined;
|
|
1689
|
-
removeDimensions?: boolean | undefined;
|
|
1690
|
-
removeViewBox?: boolean | undefined;
|
|
1691
|
-
removeXMLNS?: boolean | undefined;
|
|
1692
|
-
cleanupIds?: boolean | undefined;
|
|
1693
|
-
minify?: boolean | undefined;
|
|
1694
|
-
}>>;
|
|
791
|
+
}, z.core.$strip>>;
|
|
1695
792
|
sprite: z.ZodOptional<z.ZodObject<{
|
|
1696
793
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1697
794
|
fileName: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1698
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
795
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
796
|
+
symbol: "symbol";
|
|
797
|
+
css: "css";
|
|
798
|
+
stack: "stack";
|
|
799
|
+
}>>>;
|
|
1699
800
|
prefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1700
|
-
},
|
|
1701
|
-
prefix: string;
|
|
1702
|
-
enabled: boolean;
|
|
1703
|
-
fileName: string;
|
|
1704
|
-
format: "symbol" | "css" | "stack";
|
|
1705
|
-
}, {
|
|
1706
|
-
prefix?: string | undefined;
|
|
1707
|
-
enabled?: boolean | undefined;
|
|
1708
|
-
fileName?: string | undefined;
|
|
1709
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
1710
|
-
}>>;
|
|
801
|
+
}, z.core.$strip>>;
|
|
1711
802
|
componentPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1712
803
|
componentSuffix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1713
804
|
generateIndex: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1714
805
|
generateTypes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1715
|
-
},
|
|
1716
|
-
|
|
1717
|
-
sourceDir: string;
|
|
1718
|
-
outputDir: string;
|
|
1719
|
-
formats: ("react" | "vue" | "svg" | "sprite" | "font")[];
|
|
1720
|
-
componentPrefix: string;
|
|
1721
|
-
componentSuffix: string;
|
|
1722
|
-
generateIndex: boolean;
|
|
1723
|
-
generateTypes: boolean;
|
|
1724
|
-
sprite?: {
|
|
1725
|
-
prefix: string;
|
|
1726
|
-
enabled: boolean;
|
|
1727
|
-
fileName: string;
|
|
1728
|
-
format: "symbol" | "css" | "stack";
|
|
1729
|
-
} | undefined;
|
|
1730
|
-
optimization?: {
|
|
1731
|
-
enabled: boolean;
|
|
1732
|
-
removeComments: boolean;
|
|
1733
|
-
removeDimensions: boolean;
|
|
1734
|
-
removeViewBox: boolean;
|
|
1735
|
-
removeXMLNS: boolean;
|
|
1736
|
-
cleanupIds: boolean;
|
|
1737
|
-
minify: boolean;
|
|
1738
|
-
} | undefined;
|
|
1739
|
-
}, {
|
|
1740
|
-
enabled?: boolean | undefined;
|
|
1741
|
-
sourceDir?: string | undefined;
|
|
1742
|
-
outputDir?: string | undefined;
|
|
1743
|
-
sprite?: {
|
|
1744
|
-
prefix?: string | undefined;
|
|
1745
|
-
enabled?: boolean | undefined;
|
|
1746
|
-
fileName?: string | undefined;
|
|
1747
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
1748
|
-
} | undefined;
|
|
1749
|
-
formats?: ("react" | "vue" | "svg" | "sprite" | "font")[] | undefined;
|
|
1750
|
-
optimization?: {
|
|
1751
|
-
enabled?: boolean | undefined;
|
|
1752
|
-
removeComments?: boolean | undefined;
|
|
1753
|
-
removeDimensions?: boolean | undefined;
|
|
1754
|
-
removeViewBox?: boolean | undefined;
|
|
1755
|
-
removeXMLNS?: boolean | undefined;
|
|
1756
|
-
cleanupIds?: boolean | undefined;
|
|
1757
|
-
minify?: boolean | undefined;
|
|
1758
|
-
} | undefined;
|
|
1759
|
-
componentPrefix?: string | undefined;
|
|
1760
|
-
componentSuffix?: string | undefined;
|
|
1761
|
-
generateIndex?: boolean | undefined;
|
|
1762
|
-
generateTypes?: boolean | undefined;
|
|
1763
|
-
}>>;
|
|
1764
|
-
}, "strip", z.ZodTypeAny, {
|
|
1765
|
-
themes?: {
|
|
1766
|
-
enabled: boolean;
|
|
1767
|
-
defaultMode: "light" | "dark" | "system";
|
|
1768
|
-
modes: Record<string, {
|
|
1769
|
-
selector: string;
|
|
1770
|
-
cssVariables: boolean;
|
|
1771
|
-
generateSeparateFiles: boolean;
|
|
1772
|
-
mediaQuery?: string | undefined;
|
|
1773
|
-
dataAttribute?: string | undefined;
|
|
1774
|
-
prefix?: string | undefined;
|
|
1775
|
-
}>;
|
|
1776
|
-
outputFileName: string;
|
|
1777
|
-
colorScheme?: {
|
|
1778
|
-
light?: string | undefined;
|
|
1779
|
-
dark?: string | undefined;
|
|
1780
|
-
} | undefined;
|
|
1781
|
-
} | undefined;
|
|
1782
|
-
icons?: {
|
|
1783
|
-
enabled: boolean;
|
|
1784
|
-
sourceDir: string;
|
|
1785
|
-
outputDir: string;
|
|
1786
|
-
formats: ("react" | "vue" | "svg" | "sprite" | "font")[];
|
|
1787
|
-
componentPrefix: string;
|
|
1788
|
-
componentSuffix: string;
|
|
1789
|
-
generateIndex: boolean;
|
|
1790
|
-
generateTypes: boolean;
|
|
1791
|
-
sprite?: {
|
|
1792
|
-
prefix: string;
|
|
1793
|
-
enabled: boolean;
|
|
1794
|
-
fileName: string;
|
|
1795
|
-
format: "symbol" | "css" | "stack";
|
|
1796
|
-
} | undefined;
|
|
1797
|
-
optimization?: {
|
|
1798
|
-
enabled: boolean;
|
|
1799
|
-
removeComments: boolean;
|
|
1800
|
-
removeDimensions: boolean;
|
|
1801
|
-
removeViewBox: boolean;
|
|
1802
|
-
removeXMLNS: boolean;
|
|
1803
|
-
cleanupIds: boolean;
|
|
1804
|
-
minify: boolean;
|
|
1805
|
-
} | undefined;
|
|
1806
|
-
} | undefined;
|
|
1807
|
-
tokens?: {
|
|
1808
|
-
verbose: boolean;
|
|
1809
|
-
prefix: string;
|
|
1810
|
-
enabled: boolean;
|
|
1811
|
-
formats: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[];
|
|
1812
|
-
transforms: string[];
|
|
1813
|
-
customTransforms: {
|
|
1814
|
-
name: string;
|
|
1815
|
-
type: "name" | "value" | "attribute";
|
|
1816
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1817
|
-
description?: string | undefined;
|
|
1818
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1819
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1820
|
-
}[];
|
|
1821
|
-
sourcePatterns: string[];
|
|
1822
|
-
additionalScssDirectories: string[];
|
|
1823
|
-
mergeOrder: string[];
|
|
1824
|
-
createBundle: boolean;
|
|
1825
|
-
bundleFileName: string;
|
|
1826
|
-
customFormats: {
|
|
1827
|
-
name: string;
|
|
1828
|
-
description?: string | undefined;
|
|
1829
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
1830
|
-
extension?: string | undefined;
|
|
1831
|
-
}[];
|
|
1832
|
-
outputDirs?: {
|
|
1833
|
-
css: string;
|
|
1834
|
-
scss: string;
|
|
1835
|
-
js: string;
|
|
1836
|
-
ts: string;
|
|
1837
|
-
json: string;
|
|
1838
|
-
less: string;
|
|
1839
|
-
} | undefined;
|
|
1840
|
-
outputFileNames?: {
|
|
1841
|
-
variables: string;
|
|
1842
|
-
utilities: string;
|
|
1843
|
-
mixins: string;
|
|
1844
|
-
tokens: string;
|
|
1845
|
-
} | undefined;
|
|
1846
|
-
platforms?: Record<string, {
|
|
1847
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
1848
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1849
|
-
selector?: string | undefined;
|
|
1850
|
-
prefix?: string | undefined;
|
|
1851
|
-
outputFileName?: string | undefined;
|
|
1852
|
-
outputDir?: string | undefined;
|
|
1853
|
-
fileExtension?: string | undefined;
|
|
1854
|
-
useVariables?: boolean | undefined;
|
|
1855
|
-
transforms?: string[] | undefined;
|
|
1856
|
-
customTransforms?: {
|
|
1857
|
-
name: string;
|
|
1858
|
-
type: "name" | "value" | "attribute";
|
|
1859
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1860
|
-
description?: string | undefined;
|
|
1861
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1862
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1863
|
-
}[] | undefined;
|
|
1864
|
-
header?: string | undefined;
|
|
1865
|
-
footer?: string | undefined;
|
|
1866
|
-
}> | undefined;
|
|
1867
|
-
hooks?: {
|
|
1868
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1869
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1870
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1871
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1872
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
1873
|
-
} | undefined;
|
|
1874
|
-
cache?: {
|
|
1875
|
-
enabled: boolean;
|
|
1876
|
-
directory: string;
|
|
1877
|
-
hashType: "content" | "timestamp" | "version" | "none";
|
|
1878
|
-
maxAge: number;
|
|
1879
|
-
} | undefined;
|
|
1880
|
-
watch?: {
|
|
1881
|
-
enabled: boolean;
|
|
1882
|
-
debounce: number;
|
|
1883
|
-
clearScreen: boolean;
|
|
1884
|
-
ignorePatterns: string[];
|
|
1885
|
-
} | undefined;
|
|
1886
|
-
pipeline?: {
|
|
1887
|
-
steps: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[];
|
|
1888
|
-
styleDictionaryConfig: string;
|
|
1889
|
-
paths?: {
|
|
1890
|
-
syncSource: string;
|
|
1891
|
-
syncTarget: string;
|
|
1892
|
-
sassThemeInput: string;
|
|
1893
|
-
sassThemeOutput: string;
|
|
1894
|
-
sassThemeMinifiedOutput: string;
|
|
1895
|
-
sassUtilitiesInput: string;
|
|
1896
|
-
sassUtilitiesOutput: string;
|
|
1897
|
-
sassUtilitiesMinifiedOutput: string;
|
|
1898
|
-
} | undefined;
|
|
1899
|
-
} | undefined;
|
|
1900
|
-
} | undefined;
|
|
1901
|
-
$schema?: string | undefined;
|
|
1902
|
-
extends?: string | string[] | undefined;
|
|
1903
|
-
global?: {
|
|
1904
|
-
logLevel: "silent" | "error" | "warn" | "info" | "debug" | "verbose";
|
|
1905
|
-
colors: boolean;
|
|
1906
|
-
ci: boolean;
|
|
1907
|
-
dryRun: boolean;
|
|
1908
|
-
cwd?: string | undefined;
|
|
1909
|
-
configPath?: string | undefined;
|
|
1910
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
1911
|
-
build?: {
|
|
1912
|
-
minify: boolean;
|
|
1913
|
-
outDir: string;
|
|
1914
|
-
clean: boolean;
|
|
1915
|
-
sourcemap: boolean;
|
|
1916
|
-
parallel: boolean;
|
|
1917
|
-
maxConcurrency: number;
|
|
1918
|
-
} | undefined;
|
|
1919
|
-
} | undefined;
|
|
1920
|
-
}, {
|
|
1921
|
-
themes?: {
|
|
1922
|
-
enabled?: boolean | undefined;
|
|
1923
|
-
defaultMode?: "light" | "dark" | "system" | undefined;
|
|
1924
|
-
modes?: Record<string, {
|
|
1925
|
-
selector: string;
|
|
1926
|
-
mediaQuery?: string | undefined;
|
|
1927
|
-
dataAttribute?: string | undefined;
|
|
1928
|
-
cssVariables?: boolean | undefined;
|
|
1929
|
-
generateSeparateFiles?: boolean | undefined;
|
|
1930
|
-
prefix?: string | undefined;
|
|
1931
|
-
}> | undefined;
|
|
1932
|
-
outputFileName?: string | undefined;
|
|
1933
|
-
colorScheme?: {
|
|
1934
|
-
light?: string | undefined;
|
|
1935
|
-
dark?: string | undefined;
|
|
1936
|
-
} | undefined;
|
|
1937
|
-
} | undefined;
|
|
1938
|
-
icons?: {
|
|
1939
|
-
enabled?: boolean | undefined;
|
|
1940
|
-
sourceDir?: string | undefined;
|
|
1941
|
-
outputDir?: string | undefined;
|
|
1942
|
-
sprite?: {
|
|
1943
|
-
prefix?: string | undefined;
|
|
1944
|
-
enabled?: boolean | undefined;
|
|
1945
|
-
fileName?: string | undefined;
|
|
1946
|
-
format?: "symbol" | "css" | "stack" | undefined;
|
|
1947
|
-
} | undefined;
|
|
1948
|
-
formats?: ("react" | "vue" | "svg" | "sprite" | "font")[] | undefined;
|
|
1949
|
-
optimization?: {
|
|
1950
|
-
enabled?: boolean | undefined;
|
|
1951
|
-
removeComments?: boolean | undefined;
|
|
1952
|
-
removeDimensions?: boolean | undefined;
|
|
1953
|
-
removeViewBox?: boolean | undefined;
|
|
1954
|
-
removeXMLNS?: boolean | undefined;
|
|
1955
|
-
cleanupIds?: boolean | undefined;
|
|
1956
|
-
minify?: boolean | undefined;
|
|
1957
|
-
} | undefined;
|
|
1958
|
-
componentPrefix?: string | undefined;
|
|
1959
|
-
componentSuffix?: string | undefined;
|
|
1960
|
-
generateIndex?: boolean | undefined;
|
|
1961
|
-
generateTypes?: boolean | undefined;
|
|
1962
|
-
} | undefined;
|
|
1963
|
-
tokens?: {
|
|
1964
|
-
verbose?: boolean | undefined;
|
|
1965
|
-
prefix?: string | undefined;
|
|
1966
|
-
enabled?: boolean | undefined;
|
|
1967
|
-
formats?: ("css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs")[] | undefined;
|
|
1968
|
-
transforms?: string[] | undefined;
|
|
1969
|
-
customTransforms?: {
|
|
1970
|
-
name: string;
|
|
1971
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
1972
|
-
description?: string | undefined;
|
|
1973
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
1974
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1975
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
1976
|
-
}[] | undefined;
|
|
1977
|
-
sourcePatterns?: string[] | undefined;
|
|
1978
|
-
outputDirs?: {
|
|
1979
|
-
css?: string | undefined;
|
|
1980
|
-
scss?: string | undefined;
|
|
1981
|
-
js?: string | undefined;
|
|
1982
|
-
ts?: string | undefined;
|
|
1983
|
-
json?: string | undefined;
|
|
1984
|
-
less?: string | undefined;
|
|
1985
|
-
} | undefined;
|
|
1986
|
-
additionalScssDirectories?: string[] | undefined;
|
|
1987
|
-
outputFileNames?: {
|
|
1988
|
-
variables?: string | undefined;
|
|
1989
|
-
utilities?: string | undefined;
|
|
1990
|
-
mixins?: string | undefined;
|
|
1991
|
-
tokens?: string | undefined;
|
|
1992
|
-
} | undefined;
|
|
1993
|
-
mergeOrder?: string[] | undefined;
|
|
1994
|
-
createBundle?: boolean | undefined;
|
|
1995
|
-
bundleFileName?: string | undefined;
|
|
1996
|
-
platforms?: Record<string, {
|
|
1997
|
-
format: "css" | "scss" | "js" | "ts" | "json" | "less" | "esm" | "cjs";
|
|
1998
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean | Promise<boolean>) | undefined;
|
|
1999
|
-
selector?: string | undefined;
|
|
2000
|
-
prefix?: string | undefined;
|
|
2001
|
-
outputFileName?: string | undefined;
|
|
2002
|
-
outputDir?: string | undefined;
|
|
2003
|
-
fileExtension?: string | undefined;
|
|
2004
|
-
useVariables?: boolean | undefined;
|
|
2005
|
-
transforms?: string[] | undefined;
|
|
2006
|
-
customTransforms?: {
|
|
2007
|
-
name: string;
|
|
2008
|
-
transform?: ((args_0: any, args_1: any, ...args: unknown[]) => any) | undefined;
|
|
2009
|
-
description?: string | undefined;
|
|
2010
|
-
type?: "name" | "value" | "attribute" | undefined;
|
|
2011
|
-
filter?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
2012
|
-
matcher?: ((args_0: any, ...args: unknown[]) => boolean) | undefined;
|
|
2013
|
-
}[] | undefined;
|
|
2014
|
-
header?: string | undefined;
|
|
2015
|
-
footer?: string | undefined;
|
|
2016
|
-
}> | undefined;
|
|
2017
|
-
customFormats?: {
|
|
2018
|
-
name: string;
|
|
2019
|
-
description?: string | undefined;
|
|
2020
|
-
formatter?: ((args_0: any, ...args: unknown[]) => string) | undefined;
|
|
2021
|
-
extension?: string | undefined;
|
|
2022
|
-
}[] | undefined;
|
|
2023
|
-
hooks?: {
|
|
2024
|
-
onBuildStart?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
2025
|
-
onFormatComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
2026
|
-
onAllFormatsComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
2027
|
-
onBuildComplete?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
2028
|
-
onError?: ((args_0: any, ...args: unknown[]) => void | Promise<void>) | undefined;
|
|
2029
|
-
} | undefined;
|
|
2030
|
-
cache?: {
|
|
2031
|
-
enabled?: boolean | undefined;
|
|
2032
|
-
directory?: string | undefined;
|
|
2033
|
-
hashType?: "content" | "timestamp" | "version" | "none" | undefined;
|
|
2034
|
-
maxAge?: number | undefined;
|
|
2035
|
-
} | undefined;
|
|
2036
|
-
watch?: {
|
|
2037
|
-
enabled?: boolean | undefined;
|
|
2038
|
-
debounce?: number | undefined;
|
|
2039
|
-
clearScreen?: boolean | undefined;
|
|
2040
|
-
ignorePatterns?: string[] | undefined;
|
|
2041
|
-
} | undefined;
|
|
2042
|
-
pipeline?: {
|
|
2043
|
-
steps?: ("validate" | "transform" | "style-dictionary" | "sync" | "sass-theme" | "sass-theme-minified" | "postprocess" | "sass-utilities" | "sass-utilities-minified" | "bundle")[] | undefined;
|
|
2044
|
-
paths?: {
|
|
2045
|
-
syncSource?: string | undefined;
|
|
2046
|
-
syncTarget?: string | undefined;
|
|
2047
|
-
sassThemeInput?: string | undefined;
|
|
2048
|
-
sassThemeOutput?: string | undefined;
|
|
2049
|
-
sassThemeMinifiedOutput?: string | undefined;
|
|
2050
|
-
sassUtilitiesInput?: string | undefined;
|
|
2051
|
-
sassUtilitiesOutput?: string | undefined;
|
|
2052
|
-
sassUtilitiesMinifiedOutput?: string | undefined;
|
|
2053
|
-
} | undefined;
|
|
2054
|
-
styleDictionaryConfig?: string | undefined;
|
|
2055
|
-
} | undefined;
|
|
2056
|
-
} | undefined;
|
|
2057
|
-
$schema?: string | undefined;
|
|
2058
|
-
extends?: string | string[] | undefined;
|
|
2059
|
-
global?: {
|
|
2060
|
-
logLevel?: "silent" | "error" | "warn" | "info" | "debug" | "verbose" | undefined;
|
|
2061
|
-
colors?: boolean | undefined;
|
|
2062
|
-
ci?: boolean | undefined;
|
|
2063
|
-
dryRun?: boolean | undefined;
|
|
2064
|
-
cwd?: string | undefined;
|
|
2065
|
-
configPath?: string | undefined;
|
|
2066
|
-
framework?: "react" | "vue" | "svelte" | "angular" | "vanilla" | undefined;
|
|
2067
|
-
build?: {
|
|
2068
|
-
minify?: boolean | undefined;
|
|
2069
|
-
outDir?: string | undefined;
|
|
2070
|
-
clean?: boolean | undefined;
|
|
2071
|
-
sourcemap?: boolean | undefined;
|
|
2072
|
-
parallel?: boolean | undefined;
|
|
2073
|
-
maxConcurrency?: number | undefined;
|
|
2074
|
-
} | undefined;
|
|
2075
|
-
} | undefined;
|
|
2076
|
-
}>;
|
|
806
|
+
}, z.core.$strip>>;
|
|
807
|
+
}, z.core.$strip>;
|
|
2077
808
|
/** Inferred LogLevel type from schema */
|
|
2078
809
|
type LogLevelFromSchema = z.infer<typeof logLevelSchema>;
|
|
2079
810
|
/** Inferred OutputFormat type from schema */
|
|
@@ -2664,4 +1395,4 @@ declare function checkDeprecatedOptions(config: DsaiConfig): string[];
|
|
|
2664
1395
|
*/
|
|
2665
1396
|
declare function generateMigrationScript(_oldConfig: unknown, newConfig: DsaiConfig): string;
|
|
2666
1397
|
|
|
2667
|
-
export { CONFIG_FILE_NAMES, type ConfigFormat, DEFAULT_COLLECTIONS_DIR, DEFAULT_ICONS_OUTPUT_DIR, DEFAULT_ICONS_SOURCE_DIR, DEFAULT_LOG_LEVEL, DEFAULT_OUTPUT_DIR, DEFAULT_PREFIX, DEFAULT_SOURCE_DIR, DsaiConfig, type DsaiConfigFromSchema, type EnvParseOptions, type FrameworkFromSchema, type GlobalConfigFromSchema, IconFramework, type IconsConfigFromSchema, LoadConfigOptions, LoadConfigResult, LogLevel, type LogLevelFromSchema, type MigrationCheck, OutputFormat, type OutputFormatFromSchema, type ResolveOptions, ResolvedConfig, ResolvedGlobalConfig, ResolvedIconsConfig, ResolvedThemesConfig, ResolvedTokensConfig, ThemeSelectorPattern, type ThemesConfigFromSchema, type TokensConfigFromSchema, type ValidationError, type ValidationResult, buildConfigSchema, checkDeprecatedOptions, checkMigrationNeeded, clearConfigCache, createResolvedConfig, customFormatSchema, customTransformSchema, defaultConfig, defaultFormats, defaultGlobalConfig, defaultIconFramework, defaultIconsConfig, defaultOutputFileNames, defaultSelectorPattern, defaultSourcePatterns, defaultThemesConfig, defaultTokensConfig, defineConfig, defineConfigAsync, dsaiConfigSchema, envArrayKeys, envBooleanKeys, envMappings, envNumberKeys, filePathSchema, formatErrorMessage, formatValidationErrors, frameworkSchema, generateMigrationScript, getConfigFromEnv, getDefaultExtension, getDefaultOutputDir, getEnvOverrides, getLogLevelFromEnv, getOutputFileName, globPatternSchema, globalConfigSchema, hashTypeSchema, iconOptimizationSchema, iconSpriteSchema, iconsConfigSchema, isCI, loadConfig, loadConfigSync, logLevelSchema, mergeConfigs, migrateConfig, migrateLegacyTokensConfig, outputFormatSchema, resolveConfig, searchConfigFile, shouldDisableColors,
|
|
1398
|
+
export { CONFIG_FILE_NAMES, type ConfigFormat, DEFAULT_COLLECTIONS_DIR, DEFAULT_ICONS_OUTPUT_DIR, DEFAULT_ICONS_SOURCE_DIR, DEFAULT_LOG_LEVEL, DEFAULT_OUTPUT_DIR, DEFAULT_PREFIX, DEFAULT_SOURCE_DIR, DsaiConfig, type DsaiConfigFromSchema, type EnvParseOptions, type FrameworkFromSchema, type GlobalConfigFromSchema, IconFramework, type IconsConfigFromSchema, LoadConfigOptions, LoadConfigResult, LogLevel, type LogLevelFromSchema, type MigrationCheck, OutputFormat, type OutputFormatFromSchema, type ResolveOptions, ResolvedConfig, ResolvedGlobalConfig, ResolvedIconsConfig, ResolvedThemesConfig, ResolvedTokensConfig, ThemeSelectorPattern, type ThemesConfigFromSchema, type TokensConfigFromSchema, type ValidationError, type ValidationResult, buildConfigSchema, checkDeprecatedOptions, checkMigrationNeeded, clearConfigCache, createResolvedConfig, customFormatSchema, customTransformSchema, defaultConfig, defaultFormats, defaultGlobalConfig, defaultIconFramework, defaultIconsConfig, defaultOutputFileNames, defaultSelectorPattern, defaultSourcePatterns, defaultThemesConfig, defaultTokensConfig, defineConfig, defineConfigAsync, dsaiConfigSchema, envArrayKeys, envBooleanKeys, envMappings, envNumberKeys, filePathSchema, formatErrorMessage, formatValidationErrors, frameworkSchema, generateMigrationScript, getConfigFromEnv, getDefaultExtension, getDefaultOutputDir, getEnvOverrides, getLogLevelFromEnv, getOutputFileName, globPatternSchema, globalConfigSchema, hashTypeSchema, iconOptimizationSchema, iconSpriteSchema, iconsConfigSchema, isCI, loadConfig, loadConfigSync, logLevelSchema, mergeConfigs, migrateConfig, migrateLegacyTokensConfig, outputFormatSchema, resolveConfig, searchConfigFile, shouldDisableColors, themeDefinitionSchema, themeSelectorPatternSchema, themesConfigSchema, tokenBuildConfigSchema, tokenCacheConfigSchema, tokenWatchConfigSchema, tokensConfigSchema, tokensHooksSchema, validateConfig, validateConfigOrThrow, validateConfigSection, versionSchema };
|