@yahoo/uds 3.67.0-beta.5 → 3.68.0

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.
Files changed (154) hide show
  1. package/dist/components/Box.d.cts +2 -2
  2. package/dist/components/Box.d.ts +2 -2
  3. package/dist/components/Divider/Divider.d.cts +2 -2
  4. package/dist/components/Divider/Divider.d.ts +2 -2
  5. package/dist/components/Divider/DividerInternal.d.cts +2 -2
  6. package/dist/components/HStack.d.cts +2 -2
  7. package/dist/components/HStack.d.ts +2 -2
  8. package/dist/components/Icon.d.cts +2 -2
  9. package/dist/components/Icon.d.ts +2 -2
  10. package/dist/components/Link.d.cts +2 -2
  11. package/dist/components/Link.d.ts +2 -2
  12. package/dist/components/Text.d.cts +8 -8
  13. package/dist/components/Text.d.ts +8 -8
  14. package/dist/components/VStack.d.cts +2 -2
  15. package/dist/components/VStack.d.ts +2 -2
  16. package/dist/components/client/AnimateHeightChange.d.cts +2 -2
  17. package/dist/components/client/Avatar/Avatar.d.cts +2 -2
  18. package/dist/components/client/Avatar/Avatar.d.ts +2 -2
  19. package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -2
  20. package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
  21. package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
  22. package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
  23. package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
  24. package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
  25. package/dist/components/client/IconButton.d.cts +2 -2
  26. package/dist/components/client/Input/Input.d.cts +2 -2
  27. package/dist/components/client/Input/Input.d.ts +2 -2
  28. package/dist/components/client/Input/InputHelpText.d.cts +2 -2
  29. package/dist/components/client/Input/InputHelpText.d.ts +2 -2
  30. package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
  31. package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
  32. package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
  33. package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
  34. package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
  35. package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
  36. package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
  37. package/dist/components/client/Menu/Menu.Item.d.ts +2 -2
  38. package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
  39. package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
  40. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
  41. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
  42. package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
  43. package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
  44. package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
  45. package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
  46. package/dist/components/client/Pressable.d.cts +2 -2
  47. package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
  48. package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
  49. package/dist/components/client/SpringMotionConfig.d.cts +3 -3
  50. package/dist/components/client/SpringMotionConfig.d.ts +2 -2
  51. package/dist/components/experimental/Spinner.d.cts +2 -2
  52. package/dist/components/experimental/Table.d.cts +2 -2
  53. package/dist/components/experimental/client/Accordion.d.cts +2 -2
  54. package/dist/components/experimental/client/Accordion.d.ts +2 -2
  55. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
  56. package/dist/components/experimental/client/Modal.d.cts +3 -3
  57. package/dist/components/experimental/client/Modal.d.ts +3 -3
  58. package/dist/components/experimental/client/Popover.d.cts +3 -3
  59. package/dist/components/experimental/client/Popover.d.ts +3 -3
  60. package/dist/components/experimental/client/Tabs.d.cts +6 -6
  61. package/dist/components/experimental/client/Tabs.d.ts +6 -6
  62. package/dist/components/experimental/client/Toast.d.cts +2 -2
  63. package/dist/components/experimental/client/Toast.d.ts +2 -2
  64. package/dist/defaultTokensConfig.cjs +1 -1
  65. package/dist/defaultTokensConfig.js +1 -1
  66. package/dist/fixtures.cjs +28 -5
  67. package/dist/fixtures.d.cts +6 -5
  68. package/dist/fixtures.d.ts +6 -5
  69. package/dist/fixtures.js +27 -5
  70. package/dist/generated/generatedConfigs.cjs +379 -253
  71. package/dist/generated/generatedConfigs.js +379 -253
  72. package/dist/generated/tailwindPurge.cjs +163 -61
  73. package/dist/generated/tailwindPurge.js +163 -61
  74. package/dist/generated/universalTokensConfigAuto.cjs +1 -1
  75. package/dist/generated/universalTokensConfigAuto.js +1 -1
  76. package/dist/index.cjs +5 -2
  77. package/dist/index.d.cts +3 -3
  78. package/dist/index.d.ts +3 -3
  79. package/dist/index.js +2 -2
  80. package/dist/providers/ColorModeProvider.d.cts +4 -4
  81. package/dist/providers/ColorModeProvider.d.ts +4 -4
  82. package/dist/providers/ScaleModeProvider.d.cts +4 -4
  83. package/dist/providers/ScaleModeProvider.d.ts +4 -4
  84. package/dist/providers/ThemeProvider.d.cts +2 -2
  85. package/dist/styles/styler.d.cts +14 -14
  86. package/dist/styles/styler.d.ts +14 -14
  87. package/dist/styles/variants.cjs +77 -29
  88. package/dist/styles/variants.d.cts +69 -21
  89. package/dist/styles/variants.d.ts +69 -21
  90. package/dist/styles/variants.js +77 -29
  91. package/dist/tailwind/plugins/a11y.d.ts +3 -3
  92. package/dist/tailwind/plugins/borders.d.ts +3 -3
  93. package/dist/tailwind/plugins/colors.cjs +6 -2
  94. package/dist/tailwind/plugins/colors.d.ts +3 -3
  95. package/dist/tailwind/plugins/colors.js +5 -2
  96. package/dist/tailwind/plugins/components.d.ts +3 -3
  97. package/dist/tailwind/plugins/elevation.d.ts +3 -3
  98. package/dist/tailwind/plugins/icons.d.ts +3 -3
  99. package/dist/tailwind/plugins/input.d.ts +3 -3
  100. package/dist/tailwind/plugins/motion.d.ts +3 -3
  101. package/dist/tailwind/plugins/nestedBorderRadius.d.ts +3 -3
  102. package/dist/tailwind/plugins/scaleMode.d.ts +3 -3
  103. package/dist/tailwind/plugins/shadows.d.ts +3 -3
  104. package/dist/tailwind/plugins/sizing.d.ts +3 -3
  105. package/dist/tailwind/plugins/spacing.d.ts +3 -3
  106. package/dist/tailwind/plugins/typography.d.cts +3 -3
  107. package/dist/tailwind/plugins/typography.d.ts +3 -3
  108. package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
  109. package/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
  110. package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
  111. package/dist/tailwind/utils/composeTailwindPlugins.d.ts +3 -3
  112. package/dist/tailwind/utils/getShadowPresetValues.cjs +18 -2
  113. package/dist/tailwind/utils/getShadowPresetValues.js +18 -2
  114. package/dist/tokens/automation/configs/menu.cjs +1 -1
  115. package/dist/tokens/automation/configs/menu.js +1 -1
  116. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
  117. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
  118. package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +7 -1
  119. package/dist/tokens/automation/utils/mapColorFixtureToValue.js +7 -1
  120. package/dist/tokens/configs/colorMode.cjs +4 -3
  121. package/dist/tokens/configs/colorMode.js +2 -1
  122. package/dist/tokens/configs/palette/alwaysPalette.cjs +28 -0
  123. package/dist/tokens/configs/palette/alwaysPalette.d.cts +54 -0
  124. package/dist/tokens/configs/palette/alwaysPalette.d.ts +54 -0
  125. package/dist/tokens/configs/palette/alwaysPalette.js +24 -0
  126. package/dist/tokens/configs/palette/darkPalette.cjs +200 -0
  127. package/dist/tokens/configs/palette/darkPalette.d.cts +6 -0
  128. package/dist/tokens/configs/palette/darkPalette.d.ts +6 -0
  129. package/dist/tokens/configs/palette/darkPalette.js +199 -0
  130. package/dist/tokens/configs/palette/index.cjs +11 -0
  131. package/dist/tokens/configs/palette/index.d.cts +4 -0
  132. package/dist/tokens/configs/palette/index.d.ts +4 -0
  133. package/dist/tokens/configs/palette/index.js +6 -0
  134. package/dist/tokens/configs/palette/lightPalette.cjs +200 -0
  135. package/dist/tokens/configs/palette/lightPalette.d.cts +6 -0
  136. package/dist/tokens/configs/palette/lightPalette.d.ts +6 -0
  137. package/dist/tokens/configs/palette/lightPalette.js +199 -0
  138. package/dist/tokens/configs/yosConfig.cjs +137 -137
  139. package/dist/tokens/configs/yosConfig.js +137 -137
  140. package/dist/tokens/index.cjs +5 -2
  141. package/dist/tokens/index.d.cts +4 -3
  142. package/dist/tokens/index.d.ts +4 -3
  143. package/dist/tokens/index.js +2 -2
  144. package/dist/tokens/parseTokens.cjs +2 -2
  145. package/dist/tokens/parseTokens.js +1 -1
  146. package/dist/tokens/types.d.cts +6 -4
  147. package/dist/tokens/types.d.ts +6 -4
  148. package/dist/utils/intersperse.d.cts +2 -2
  149. package/dist/utils/intersperse.d.ts +2 -2
  150. package/package.json +1 -1
  151. package/dist/tokens/configs/palette.cjs +0 -402
  152. package/dist/tokens/configs/palette.d.cts +0 -13
  153. package/dist/tokens/configs/palette.d.ts +0 -13
  154. package/dist/tokens/configs/palette.js +0 -399
@@ -1,402 +0,0 @@
1
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
-
3
- //#region src/tokens/configs/palette.ts
4
- const lightPalette = {
5
- background: {
6
- primary: {
7
- hue: "gray",
8
- step: "0"
9
- },
10
- secondary: {
11
- hue: "carbon",
12
- step: "2"
13
- },
14
- accent: {
15
- hue: "carbon",
16
- step: "2"
17
- },
18
- brand: {
19
- hue: "purple",
20
- step: "9"
21
- },
22
- "brand-secondary": {
23
- hue: "purple",
24
- step: "1"
25
- },
26
- info: {
27
- hue: "blue",
28
- step: "5"
29
- },
30
- "info-secondary": {
31
- hue: "blue",
32
- step: "1"
33
- },
34
- alert: {
35
- hue: "red",
36
- step: "9"
37
- },
38
- "alert-secondary": {
39
- hue: "red",
40
- step: "2"
41
- },
42
- positive: {
43
- hue: "green",
44
- step: "5"
45
- },
46
- "positive-secondary": {
47
- hue: "green",
48
- step: "2"
49
- },
50
- warning: {
51
- hue: "orange",
52
- step: "5"
53
- },
54
- "warning-secondary": {
55
- hue: "orange",
56
- step: "2"
57
- }
58
- },
59
- foreground: {
60
- primary: {
61
- hue: "carbon",
62
- step: "13"
63
- },
64
- secondary: {
65
- hue: "carbon",
66
- step: "10"
67
- },
68
- tertiary: {
69
- hue: "gray",
70
- step: "9"
71
- },
72
- muted: {
73
- hue: "gray",
74
- step: "8"
75
- },
76
- "on-color": {
77
- hue: "gray",
78
- step: "0"
79
- },
80
- accent: {
81
- hue: "carbon",
82
- step: "7"
83
- },
84
- brand: {
85
- hue: "purple",
86
- step: "9"
87
- },
88
- "brand-secondary": {
89
- hue: "purple",
90
- step: "11"
91
- },
92
- info: {
93
- hue: "blue",
94
- step: "8"
95
- },
96
- "info-secondary": {
97
- hue: "blue",
98
- step: "12"
99
- },
100
- alert: {
101
- hue: "red",
102
- step: "9"
103
- },
104
- "alert-secondary": {
105
- hue: "red",
106
- step: "12"
107
- },
108
- positive: {
109
- hue: "green",
110
- step: "7"
111
- },
112
- "positive-secondary": {
113
- hue: "green",
114
- step: "12"
115
- },
116
- warning: {
117
- hue: "orange",
118
- step: "8"
119
- },
120
- "warning-secondary": {
121
- hue: "orange",
122
- step: "12"
123
- }
124
- },
125
- line: {
126
- primary: {
127
- hue: "gray",
128
- step: "12"
129
- },
130
- secondary: {
131
- hue: "gray",
132
- step: "9"
133
- },
134
- tertiary: {
135
- hue: "gray",
136
- step: "7"
137
- },
138
- muted: {
139
- hue: "gray",
140
- step: "3"
141
- },
142
- accent: {
143
- hue: "carbon",
144
- step: "2"
145
- },
146
- brand: {
147
- hue: "purple",
148
- step: "9"
149
- },
150
- "brand-secondary": {
151
- hue: "purple",
152
- step: "6"
153
- },
154
- info: {
155
- hue: "blue",
156
- step: "9"
157
- },
158
- "info-secondary": {
159
- hue: "blue",
160
- step: "5"
161
- },
162
- alert: {
163
- hue: "red",
164
- step: "9"
165
- },
166
- "alert-secondary": {
167
- hue: "red",
168
- step: "5"
169
- },
170
- positive: {
171
- hue: "green",
172
- step: "9"
173
- },
174
- "positive-secondary": {
175
- hue: "green",
176
- step: "5"
177
- },
178
- warning: {
179
- hue: "orange",
180
- step: "9"
181
- },
182
- "warning-secondary": {
183
- hue: "orange",
184
- step: "7"
185
- }
186
- },
187
- shadow: {
188
- primary: {
189
- hue: "carbon",
190
- step: "12"
191
- },
192
- secondary: {
193
- hue: "purple",
194
- step: "9"
195
- }
196
- }
197
- };
198
- const darkPalette = {
199
- background: {
200
- primary: {
201
- hue: "gray",
202
- step: "1"
203
- },
204
- secondary: {
205
- hue: "carbon",
206
- step: "2"
207
- },
208
- accent: {
209
- hue: "carbon",
210
- step: "14"
211
- },
212
- brand: {
213
- hue: "purple",
214
- step: "9"
215
- },
216
- "brand-secondary": {
217
- hue: "purple",
218
- step: "1"
219
- },
220
- info: {
221
- hue: "blue",
222
- step: "5"
223
- },
224
- "info-secondary": {
225
- hue: "blue",
226
- step: "3"
227
- },
228
- alert: {
229
- hue: "red",
230
- step: "9"
231
- },
232
- "alert-secondary": {
233
- hue: "red",
234
- step: "3"
235
- },
236
- positive: {
237
- hue: "green",
238
- step: "5"
239
- },
240
- "positive-secondary": {
241
- hue: "green",
242
- step: "3"
243
- },
244
- warning: {
245
- hue: "orange",
246
- step: "7"
247
- },
248
- "warning-secondary": {
249
- hue: "orange",
250
- step: "3"
251
- }
252
- },
253
- foreground: {
254
- primary: {
255
- hue: "carbon",
256
- step: "13"
257
- },
258
- secondary: {
259
- hue: "carbon",
260
- step: "10"
261
- },
262
- tertiary: {
263
- hue: "gray",
264
- step: "9"
265
- },
266
- muted: {
267
- hue: "gray",
268
- step: "8"
269
- },
270
- "on-color": {
271
- hue: "gray",
272
- step: "0"
273
- },
274
- accent: {
275
- hue: "carbon",
276
- step: "7"
277
- },
278
- brand: {
279
- hue: "purple",
280
- step: "9"
281
- },
282
- "brand-secondary": {
283
- hue: "purple",
284
- step: "12"
285
- },
286
- info: {
287
- hue: "blue",
288
- step: "8"
289
- },
290
- "info-secondary": {
291
- hue: "blue",
292
- step: "12"
293
- },
294
- alert: {
295
- hue: "red",
296
- step: "9"
297
- },
298
- "alert-secondary": {
299
- hue: "red",
300
- step: "12"
301
- },
302
- positive: {
303
- hue: "green",
304
- step: "7"
305
- },
306
- "positive-secondary": {
307
- hue: "green",
308
- step: "12"
309
- },
310
- warning: {
311
- hue: "orange",
312
- step: "7"
313
- },
314
- "warning-secondary": {
315
- hue: "orange",
316
- step: "12"
317
- }
318
- },
319
- line: {
320
- primary: {
321
- hue: "gray",
322
- step: "12"
323
- },
324
- secondary: {
325
- hue: "gray",
326
- step: "9"
327
- },
328
- tertiary: {
329
- hue: "gray",
330
- step: "7"
331
- },
332
- muted: {
333
- hue: "gray",
334
- step: "3"
335
- },
336
- accent: {
337
- hue: "carbon",
338
- step: "1"
339
- },
340
- brand: {
341
- hue: "purple",
342
- step: "9"
343
- },
344
- "brand-secondary": {
345
- hue: "purple",
346
- step: "5"
347
- },
348
- info: {
349
- hue: "blue",
350
- step: "9"
351
- },
352
- "info-secondary": {
353
- hue: "blue",
354
- step: "5"
355
- },
356
- alert: {
357
- hue: "red",
358
- step: "9"
359
- },
360
- "alert-secondary": {
361
- hue: "red",
362
- step: "5"
363
- },
364
- positive: {
365
- hue: "green",
366
- step: "9"
367
- },
368
- "positive-secondary": {
369
- hue: "green",
370
- step: "5"
371
- },
372
- warning: {
373
- hue: "orange",
374
- step: "9"
375
- },
376
- "warning-secondary": {
377
- hue: "orange",
378
- step: "7"
379
- }
380
- },
381
- shadow: {
382
- primary: {
383
- hue: "carbon",
384
- step: "0"
385
- },
386
- secondary: {
387
- hue: "purple",
388
- step: "9"
389
- }
390
- }
391
- };
392
- const alwaysPalette = {
393
- white: "#ffffff",
394
- black: "#000000",
395
- transparent: "transparent",
396
- current: "currentColor"
397
- };
398
-
399
- //#endregion
400
- exports.alwaysPalette = alwaysPalette;
401
- exports.darkPalette = darkPalette;
402
- exports.lightPalette = lightPalette;
@@ -1,13 +0,0 @@
1
- import { PaletteConfig } from "../types.cjs";
2
-
3
- //#region src/tokens/configs/palette.d.ts
4
- declare const lightPalette: PaletteConfig;
5
- declare const darkPalette: PaletteConfig;
6
- declare const alwaysPalette: {
7
- white: string;
8
- black: string;
9
- transparent: string;
10
- current: string;
11
- };
12
- //#endregion
13
- export { alwaysPalette, darkPalette, lightPalette };
@@ -1,13 +0,0 @@
1
- import { PaletteConfig } from "../types.js";
2
-
3
- //#region src/tokens/configs/palette.d.ts
4
- declare const lightPalette: PaletteConfig;
5
- declare const darkPalette: PaletteConfig;
6
- declare const alwaysPalette: {
7
- white: string;
8
- black: string;
9
- transparent: string;
10
- current: string;
11
- };
12
- //#endregion
13
- export { alwaysPalette, darkPalette, lightPalette };