@yahoo/uds 0.5.7 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. package/cli/README.md +1 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-darwin-x64 +0 -0
  4. package/cli/bin/uds-linux-arm64 +0 -0
  5. package/cli/bin/uds-linux-x64-baseline +0 -0
  6. package/cli/bin/uds-windows-x64-baseline.exe +0 -0
  7. package/cli/cli.ts +6 -0
  8. package/cli/commands/purge.ts +6 -2
  9. package/cli/compile.ts +35 -0
  10. package/cli/consts.ts +9 -0
  11. package/cli/exec.ts +34 -0
  12. package/cli/tsconfig.json +1 -0
  13. package/cli/uds-cli +32 -6
  14. package/cli/utils/configWorker.ts +2 -0
  15. package/cli/utils/purgeCSS.test.ts +2 -1
  16. package/cli/utils/purgeCSS.ts +31 -11
  17. package/cli/utils/setupConfigWorker.ts +12 -1
  18. package/dist/{Image.native-CIafNow6.d.cts → Image.native-BhqVvnKU.d.cts} +1 -1
  19. package/dist/{Image.native-Cbv-erHz.d.ts → Image.native-DZW5ek69.d.ts} +1 -1
  20. package/dist/{VStack-DTK919lo.d.ts → VStack-BohShRVo.d.ts} +1 -1
  21. package/dist/{VStack-DnjkTYdB.d.cts → VStack-C6VjEoRP.d.cts} +1 -1
  22. package/dist/experimental/index.cjs +4 -4
  23. package/dist/experimental/index.d.cts +2 -2
  24. package/dist/experimental/index.d.ts +2 -2
  25. package/dist/experimental/index.js +3 -3
  26. package/dist/experimental/index.native.cjs +1 -1
  27. package/dist/experimental/index.native.d.cts +3 -3
  28. package/dist/experimental/index.native.d.ts +3 -3
  29. package/dist/experimental/index.native.js +1 -1
  30. package/dist/fixtures.cjs +2 -1
  31. package/dist/fixtures.d.ts +5 -5
  32. package/dist/fixtures.js +2 -1
  33. package/dist/index.cjs +2 -2
  34. package/dist/index.d.cts +16 -13
  35. package/dist/index.d.ts +16 -13
  36. package/dist/index.js +3 -3
  37. package/dist/index.native-dtcAO8DN.d.cts +317 -0
  38. package/dist/index.native-uBCD4Hr4.d.ts +317 -0
  39. package/dist/index.native.cjs +1 -1
  40. package/dist/index.native.d.cts +60 -9
  41. package/dist/index.native.d.ts +60 -9
  42. package/dist/index.native.js +1 -1
  43. package/dist/metafile-cjs.json +1 -1
  44. package/dist/metafile-esm.json +1 -1
  45. package/dist/tailwind/plugin.cjs +1 -1
  46. package/dist/tailwind/plugin.d.cts +3 -3
  47. package/dist/tailwind/plugin.d.ts +3 -3
  48. package/dist/tailwind/plugin.js +3 -3
  49. package/dist/tailwind/purger.cjs +2 -2
  50. package/dist/tailwind/purger.js +2 -2
  51. package/dist/tailwind/tsMorph.cjs +1 -1
  52. package/dist/tailwind/tsMorph.js +2 -2
  53. package/dist/tokens/index.cjs +1 -1
  54. package/dist/tokens/index.d.cts +358 -5
  55. package/dist/tokens/index.d.ts +358 -5
  56. package/dist/tokens/index.js +2 -2
  57. package/dist/tokens/index.native.cjs +1 -1
  58. package/dist/tokens/index.native.d.cts +2 -2
  59. package/dist/tokens/index.native.d.ts +2 -2
  60. package/dist/tokens/index.native.js +1 -1
  61. package/dist/tokens/parseTokens.cjs +1 -1
  62. package/dist/tokens/parseTokens.d.cts +4 -4
  63. package/dist/tokens/parseTokens.d.ts +4 -4
  64. package/dist/tokens/parseTokens.js +1 -1
  65. package/dist/{types-BB7LBOmj.d.cts → types-BE7_GGFX.d.cts} +48 -41
  66. package/dist/{types-BB7LBOmj.d.ts → types-BE7_GGFX.d.ts} +48 -41
  67. package/dist/{types-DDJJDimt.d.cts → types-D0b0TPQ4.d.cts} +48 -41
  68. package/dist/{types-DDJJDimt.d.ts → types-D0b0TPQ4.d.ts} +48 -41
  69. package/package.json +199 -198
  70. package/dist/index.native-B7lxeKHq.d.ts +0 -15
  71. package/dist/index.native-y03H93Or.d.cts +0 -15
@@ -0,0 +1,317 @@
1
+ import { ax as PaletteConfig, aJ as SpectrumConfig, F as FontFamilyConfig, p as FontWeightConfig, T as TextTransformConfig, A as AvatarSizeConfig, I as IconSizeConfig, m as BorderRadiusConfig, n as BorderWidthConfig, q as FontFamilyGlobalConfig, B as ButtonConfig, ae as FontWeightDescriptive, af as FontWeightNumeric, C as ColorModeForApp, S as ScaleModeForApp, i as ColorMode, j as ScaleMode, aj as HighContrastMode, aC as RegionMode } from './types-BE7_GGFX.js';
2
+
3
+ declare const defaultTokensConfig: {
4
+ colorMode: {
5
+ light: {
6
+ palette: PaletteConfig;
7
+ spectrum: SpectrumConfig;
8
+ };
9
+ dark: {
10
+ palette: PaletteConfig;
11
+ spectrum: SpectrumConfig;
12
+ };
13
+ };
14
+ scaleMode: {
15
+ xSmall: {
16
+ fontSize: {
17
+ display1: number;
18
+ display2: number;
19
+ display3: number;
20
+ title1: number;
21
+ title2: number;
22
+ title3: number;
23
+ title4: number;
24
+ headline1: number;
25
+ body1: number;
26
+ label1: number;
27
+ label2: number;
28
+ caption1: number;
29
+ caption2: number;
30
+ legal1: number;
31
+ };
32
+ lineHeight: {
33
+ display1: number;
34
+ display2: number;
35
+ display3: number;
36
+ title1: number;
37
+ title2: number;
38
+ title3: number;
39
+ title4: number;
40
+ headline1: number;
41
+ body1: number;
42
+ label1: number;
43
+ label2: number;
44
+ caption1: number;
45
+ caption2: number;
46
+ legal1: number;
47
+ };
48
+ fontFamily: FontFamilyConfig;
49
+ fontWeight: FontWeightConfig;
50
+ textTransform: TextTransformConfig;
51
+ avatarSizes: AvatarSizeConfig;
52
+ iconSizes: IconSizeConfig;
53
+ borderRadius: BorderRadiusConfig;
54
+ borderWidth: BorderWidthConfig;
55
+ };
56
+ small: {
57
+ fontSize: {
58
+ display1: number;
59
+ display2: number;
60
+ display3: number;
61
+ title1: number;
62
+ title2: number;
63
+ title3: number;
64
+ title4: number;
65
+ headline1: number;
66
+ body1: number;
67
+ label1: number;
68
+ label2: number;
69
+ caption1: number;
70
+ caption2: number;
71
+ legal1: number;
72
+ };
73
+ lineHeight: {
74
+ title1: number;
75
+ headline1: number;
76
+ body1: number;
77
+ legal1: number;
78
+ display1: number;
79
+ display2: number;
80
+ display3: number;
81
+ title2: number;
82
+ title3: number;
83
+ title4: number;
84
+ label1: number;
85
+ label2: number;
86
+ caption1: number;
87
+ caption2: number;
88
+ };
89
+ fontFamily: FontFamilyConfig;
90
+ fontWeight: FontWeightConfig;
91
+ textTransform: TextTransformConfig;
92
+ avatarSizes: AvatarSizeConfig;
93
+ iconSizes: IconSizeConfig;
94
+ borderRadius: BorderRadiusConfig;
95
+ borderWidth: BorderWidthConfig;
96
+ };
97
+ medium: {
98
+ fontSize: {
99
+ display1: number;
100
+ display2: number;
101
+ display3: number;
102
+ title1: number;
103
+ title2: number;
104
+ title3: number;
105
+ title4: number;
106
+ headline1: number;
107
+ body1: number;
108
+ label1: number;
109
+ label2: number;
110
+ caption1: number;
111
+ caption2: number;
112
+ legal1: number;
113
+ };
114
+ lineHeight: {
115
+ title2: number;
116
+ title3: number;
117
+ title1: number;
118
+ headline1: number;
119
+ body1: number;
120
+ legal1: number;
121
+ display1: number;
122
+ display2: number;
123
+ display3: number;
124
+ title4: number;
125
+ label1: number;
126
+ label2: number;
127
+ caption1: number;
128
+ caption2: number;
129
+ };
130
+ fontFamily: FontFamilyConfig;
131
+ fontWeight: FontWeightConfig;
132
+ textTransform: TextTransformConfig;
133
+ avatarSizes: AvatarSizeConfig;
134
+ iconSizes: IconSizeConfig;
135
+ borderRadius: BorderRadiusConfig;
136
+ borderWidth: BorderWidthConfig;
137
+ };
138
+ large: {
139
+ fontSize: {
140
+ display1: number;
141
+ display2: number;
142
+ display3: number;
143
+ title1: number;
144
+ title2: number;
145
+ title3: number;
146
+ title4: number;
147
+ headline1: number;
148
+ body1: number;
149
+ label1: number;
150
+ label2: number;
151
+ caption1: number;
152
+ caption2: number;
153
+ legal1: number;
154
+ };
155
+ lineHeight: {
156
+ title2: number;
157
+ title3: number;
158
+ headline1: number;
159
+ body1: number;
160
+ label1: number;
161
+ label2: number;
162
+ title1: number;
163
+ legal1: number;
164
+ display1: number;
165
+ display2: number;
166
+ display3: number;
167
+ title4: number;
168
+ caption1: number;
169
+ caption2: number;
170
+ };
171
+ fontFamily: FontFamilyConfig;
172
+ fontWeight: FontWeightConfig;
173
+ textTransform: TextTransformConfig;
174
+ avatarSizes: AvatarSizeConfig;
175
+ iconSizes: IconSizeConfig;
176
+ borderRadius: BorderRadiusConfig;
177
+ borderWidth: BorderWidthConfig;
178
+ };
179
+ xLarge: {
180
+ fontSize: {
181
+ display1: number;
182
+ display2: number;
183
+ display3: number;
184
+ title1: number;
185
+ title2: number;
186
+ title3: number;
187
+ title4: number;
188
+ headline1: number;
189
+ body1: number;
190
+ label1: number;
191
+ label2: number;
192
+ caption1: number;
193
+ caption2: number;
194
+ legal1: number;
195
+ };
196
+ lineHeight: {
197
+ title1: number;
198
+ headline1: number;
199
+ body1: number;
200
+ caption1: number;
201
+ caption2: number;
202
+ title2: number;
203
+ title3: number;
204
+ label1: number;
205
+ label2: number;
206
+ legal1: number;
207
+ display1: number;
208
+ display2: number;
209
+ display3: number;
210
+ title4: number;
211
+ };
212
+ fontFamily: FontFamilyConfig;
213
+ fontWeight: FontWeightConfig;
214
+ textTransform: TextTransformConfig;
215
+ avatarSizes: AvatarSizeConfig;
216
+ iconSizes: IconSizeConfig;
217
+ borderRadius: BorderRadiusConfig;
218
+ borderWidth: BorderWidthConfig;
219
+ };
220
+ xxLarge: {
221
+ fontSize: {
222
+ display1: number;
223
+ display2: number;
224
+ display3: number;
225
+ title1: number;
226
+ title2: number;
227
+ title3: number;
228
+ title4: number;
229
+ headline1: number;
230
+ body1: number;
231
+ label1: number;
232
+ label2: number;
233
+ caption1: number;
234
+ caption2: number;
235
+ legal1: number;
236
+ };
237
+ lineHeight: {
238
+ title2: number;
239
+ title3: number;
240
+ headline1: number;
241
+ body1: number;
242
+ label1: number;
243
+ label2: number;
244
+ legal1: number;
245
+ title1: number;
246
+ caption1: number;
247
+ caption2: number;
248
+ display1: number;
249
+ display2: number;
250
+ display3: number;
251
+ title4: number;
252
+ };
253
+ fontFamily: FontFamilyConfig;
254
+ fontWeight: FontWeightConfig;
255
+ textTransform: TextTransformConfig;
256
+ avatarSizes: AvatarSizeConfig;
257
+ iconSizes: IconSizeConfig;
258
+ borderRadius: BorderRadiusConfig;
259
+ borderWidth: BorderWidthConfig;
260
+ };
261
+ xxxLarge: {
262
+ fontSize: {
263
+ display1: number;
264
+ display2: number;
265
+ display3: number;
266
+ title1: number;
267
+ title2: number;
268
+ title3: number;
269
+ title4: number;
270
+ headline1: number;
271
+ body1: number;
272
+ label1: number;
273
+ label2: number;
274
+ caption1: number;
275
+ caption2: number;
276
+ legal1: number;
277
+ };
278
+ lineHeight: {
279
+ title1: number;
280
+ title2: number;
281
+ title4: number;
282
+ label1: number;
283
+ label2: number;
284
+ caption1: number;
285
+ caption2: number;
286
+ title3: number;
287
+ headline1: number;
288
+ body1: number;
289
+ legal1: number;
290
+ display1: number;
291
+ display2: number;
292
+ display3: number;
293
+ };
294
+ fontFamily: FontFamilyConfig;
295
+ fontWeight: FontWeightConfig;
296
+ textTransform: TextTransformConfig;
297
+ avatarSizes: AvatarSizeConfig;
298
+ iconSizes: IconSizeConfig;
299
+ borderRadius: BorderRadiusConfig;
300
+ borderWidth: BorderWidthConfig;
301
+ };
302
+ };
303
+ fontFamily: FontFamilyGlobalConfig;
304
+ button: ButtonConfig;
305
+ };
306
+
307
+ declare const fontFamilyGlobal: FontFamilyGlobalConfig;
308
+ declare const fontWeightMap: Record<FontWeightDescriptive, FontWeightNumeric>;
309
+
310
+ declare const DEFAULT_COLOR_MODE_FOR_APP: ColorModeForApp;
311
+ declare const DEFAULT_SCALE_MODE_FOR_APP: ScaleModeForApp;
312
+ declare const DEFAULT_COLOR_MODE: ColorMode;
313
+ declare const DEFAULT_SCALE_MODE: ScaleMode;
314
+ declare const DEFAULT_HIGH_CONTRAST_MODE: HighContrastMode;
315
+ declare const DEFAULT_REGION_MODE: RegionMode;
316
+
317
+ export { DEFAULT_COLOR_MODE_FOR_APP as D, fontWeightMap as a, DEFAULT_SCALE_MODE_FOR_APP as b, DEFAULT_COLOR_MODE as c, defaultTokensConfig as d, DEFAULT_SCALE_MODE as e, fontFamilyGlobal as f, DEFAULT_HIGH_CONTRAST_MODE as g, DEFAULT_REGION_MODE as h };