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