@yahoo/uds 3.117.4 → 3.117.5

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 (161) hide show
  1. package/dist/styles/styler.d.cts +41 -41
  2. package/dist/styles/styler.d.ts +41 -41
  3. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +637 -0
  4. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +637 -0
  5. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -0
  6. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +36541 -0
  7. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +36524 -0
  8. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -0
  9. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.cjs +20 -0
  10. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js +21 -0
  11. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js.map +1 -0
  12. package/dist/tailwind/dist/automated-config/dist/properties.cjs +480 -0
  13. package/dist/tailwind/dist/automated-config/dist/properties.js +481 -0
  14. package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -0
  15. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.cjs +10 -0
  16. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js +10 -0
  17. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js.map +1 -0
  18. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.cjs +18 -0
  19. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js +18 -0
  20. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js.map +1 -0
  21. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.cjs +15 -0
  22. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js +15 -0
  23. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js.map +1 -0
  24. package/dist/tailwind/dist/automated-config/dist/utils/index.cjs +479 -0
  25. package/dist/tailwind/dist/automated-config/dist/utils/index.js +479 -0
  26. package/dist/tailwind/dist/automated-config/dist/utils/index.js.map +1 -0
  27. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.cjs +28 -0
  28. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js +29 -0
  29. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js.map +1 -0
  30. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.cjs +10 -0
  31. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js +9 -0
  32. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js.map +1 -0
  33. package/dist/tailwind/dist/config/dist/index.cjs +27057 -0
  34. package/dist/tailwind/dist/config/dist/index.d.cts +11 -0
  35. package/dist/tailwind/dist/config/dist/index.d.cts.map +1 -0
  36. package/dist/tailwind/dist/config/dist/index.d.ts +11 -0
  37. package/dist/tailwind/dist/config/dist/index.d.ts.map +1 -0
  38. package/dist/tailwind/dist/config/dist/index.js +27057 -0
  39. package/dist/tailwind/dist/config/dist/index.js.map +1 -0
  40. package/dist/tailwind/dist/css/generate.cjs +2 -2
  41. package/dist/tailwind/dist/css/generate.d.cts +0 -1
  42. package/dist/tailwind/dist/css/generate.d.cts.map +1 -1
  43. package/dist/tailwind/dist/css/generate.d.ts +0 -1
  44. package/dist/tailwind/dist/css/generate.d.ts.map +1 -1
  45. package/dist/tailwind/dist/css/generate.js +1 -1
  46. package/dist/tailwind/dist/css/runner.cjs +3 -3
  47. package/dist/tailwind/dist/css/runner.js +1 -1
  48. package/dist/tailwind/dist/css/utils.cjs +2 -3
  49. package/dist/tailwind/dist/css/utils.js +1 -1
  50. package/dist/tailwind/dist/css-tokens/dist/index.cjs +168 -0
  51. package/dist/tailwind/dist/css-tokens/dist/index.js +127 -0
  52. package/dist/tailwind/dist/css-tokens/dist/index.js.map +1 -0
  53. package/dist/tailwind/dist/fixtures/dist/index.cjs +596 -0
  54. package/dist/tailwind/dist/fixtures/dist/index.js +589 -0
  55. package/dist/tailwind/dist/fixtures/dist/index.js.map +1 -0
  56. package/dist/tailwind/dist/fonts/dist/index.cjs +809 -0
  57. package/dist/tailwind/dist/fonts/dist/index.d.cts +632 -0
  58. package/dist/tailwind/dist/fonts/dist/index.d.cts.map +1 -0
  59. package/dist/tailwind/dist/fonts/dist/index.d.ts +632 -0
  60. package/dist/tailwind/dist/fonts/dist/index.d.ts.map +1 -0
  61. package/dist/tailwind/dist/fonts/dist/index.js +809 -0
  62. package/dist/tailwind/dist/fonts/dist/index.js.map +1 -0
  63. package/dist/tailwind/dist/modes/dist/index.cjs +9 -0
  64. package/dist/tailwind/dist/modes/dist/index.js +8 -0
  65. package/dist/tailwind/dist/modes/dist/index.js.map +1 -0
  66. package/dist/tailwind/dist/motion-tokens/dist/index.cjs +27 -0
  67. package/dist/tailwind/dist/motion-tokens/dist/index.js +26 -0
  68. package/dist/tailwind/dist/motion-tokens/dist/index.js.map +1 -0
  69. package/dist/tailwind/dist/palette/dist/index.cjs +29 -0
  70. package/dist/tailwind/dist/palette/dist/index.js +26 -0
  71. package/dist/tailwind/dist/palette/dist/index.js.map +1 -0
  72. package/dist/tailwind/dist/purger/legacy/purgeCSS.cjs +10 -10
  73. package/dist/tailwind/dist/purger/legacy/purgeCSS.js +1 -1
  74. package/dist/tailwind/dist/purger/legacy/purgeFromCode.cjs +4 -4
  75. package/dist/tailwind/dist/purger/legacy/purgeFromCode.js +1 -1
  76. package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.cjs +3 -3
  77. package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js +1 -1
  78. package/dist/tailwind/dist/purger/optimized/utils/safelist.cjs +3 -3
  79. package/dist/tailwind/dist/purger/optimized/utils/safelist.js +1 -1
  80. package/dist/tailwind/dist/tailwind/base/addColorModeVars.cjs +5 -5
  81. package/dist/tailwind/dist/tailwind/base/addColorModeVars.js +2 -2
  82. package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.cjs +8 -8
  83. package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.js +2 -2
  84. package/dist/tailwind/dist/tailwind/base/addScaleModeVars.cjs +10 -11
  85. package/dist/tailwind/dist/tailwind/base/addScaleModeVars.js +2 -2
  86. package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.cjs +3 -4
  87. package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.js +1 -1
  88. package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.cjs +9 -10
  89. package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.js +2 -2
  90. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.cjs +23 -23
  91. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.cts +1 -1
  92. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.ts +1 -1
  93. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.js +2 -2
  94. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +3 -3
  95. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts.map +1 -1
  96. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +3 -3
  97. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts.map +1 -1
  98. package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +4 -4
  99. package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +1 -1
  100. package/dist/tailwind/dist/tailwind/plugins/borderRadius.cjs +4 -4
  101. package/dist/tailwind/dist/tailwind/plugins/borderRadius.js +2 -2
  102. package/dist/tailwind/dist/tailwind/plugins/borderWidth.cjs +4 -4
  103. package/dist/tailwind/dist/tailwind/plugins/borderWidth.js +2 -2
  104. package/dist/tailwind/dist/tailwind/plugins/colors.cjs +12 -12
  105. package/dist/tailwind/dist/tailwind/plugins/colors.js +3 -3
  106. package/dist/tailwind/dist/tailwind/plugins/components.cjs +22 -22
  107. package/dist/tailwind/dist/tailwind/plugins/components.js +3 -3
  108. package/dist/tailwind/dist/tailwind/plugins/elevation.cjs +3 -3
  109. package/dist/tailwind/dist/tailwind/plugins/elevation.js +1 -1
  110. package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.cjs +2 -3
  111. package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js +1 -1
  112. package/dist/tailwind/dist/tailwind/plugins/shadows.cjs +5 -5
  113. package/dist/tailwind/dist/tailwind/plugins/shadows.js +1 -1
  114. package/dist/tailwind/dist/tailwind/plugins/sizing.cjs +2 -2
  115. package/dist/tailwind/dist/tailwind/plugins/sizing.js +1 -1
  116. package/dist/tailwind/dist/tailwind/plugins/typography.cjs +6 -6
  117. package/dist/tailwind/dist/tailwind/plugins/typography.js +2 -2
  118. package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.cjs +6 -7
  119. package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.js +2 -2
  120. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.cts +1 -1
  121. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.ts +1 -1
  122. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.cts +1 -1
  123. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.ts +1 -1
  124. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.cjs +6 -7
  125. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.d.cts +1 -1
  126. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.d.ts +1 -1
  127. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.js +1 -1
  128. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.cjs +2 -3
  129. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.d.cts +1 -1
  130. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.d.ts +1 -1
  131. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.js +1 -1
  132. package/dist/tailwind/dist/tailwind/utils/getFontStyles.cjs +4 -5
  133. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
  134. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
  135. package/dist/tailwind/dist/tailwind/utils/getFontStyles.js +2 -2
  136. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.cjs +4 -5
  137. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.d.cts +1 -1
  138. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.d.ts +1 -1
  139. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.js +2 -2
  140. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.cjs +2 -3
  141. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.d.cts +2 -2
  142. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.d.ts +2 -2
  143. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.js +1 -1
  144. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.cjs +3 -4
  145. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +2 -2
  146. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +2 -2
  147. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.js +1 -1
  148. package/dist/tailwind/dist/types/dist/index.d.cts +295 -0
  149. package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -0
  150. package/dist/tailwind/dist/types/dist/index.d.ts +295 -0
  151. package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -0
  152. package/dist/tailwind/dist/utils/generatePurgeCSSData.cjs +5 -5
  153. package/dist/tailwind/dist/utils/generatePurgeCSSData.js +2 -2
  154. package/dist/tailwind/dist/utils/parseTokens.cjs +29 -30
  155. package/dist/tailwind/dist/utils/parseTokens.d.cts +2 -2
  156. package/dist/tailwind/dist/utils/parseTokens.d.ts +2 -2
  157. package/dist/tailwind/dist/utils/parseTokens.js +2 -2
  158. package/dist/uds/generated/componentData.cjs +1105 -1105
  159. package/dist/uds/generated/componentData.js +1105 -1105
  160. package/generated/componentData.json +1508 -1508
  161. package/package.json +1 -1
@@ -0,0 +1,481 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+ import { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from "../../css-tokens/dist/index.js";
3
+ import { assertUnreachable } from "./utils/assertUnreachable.js";
4
+ import { mapTextVariantFixtureToValue } from "./mapTextVariantFixtureToValue.js";
5
+ import { mapColorFixtureToValue } from "./utils/mapColorFixtureToValue.js";
6
+ import { SCALE_EFFECTS } from "../../motion-tokens/dist/index.js";
7
+
8
+ //#region ../automated-config/dist/properties.js
9
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
10
+ const isInputWrapperCtx = (context) => {
11
+ return context.componentName === "input" && context.layer === "inputWrapper";
12
+ };
13
+ const hexToRgb = (hex) => {
14
+ hex = hex.replace("#", "");
15
+ if (hex.length === 3) hex = hex.split("").map((char) => char + char).join("");
16
+ return `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;
17
+ };
18
+ const backgroundColor = {
19
+ name: "backgroundColor",
20
+ cssProperties: "background-color",
21
+ twThemePath: () => {
22
+ return ``;
23
+ },
24
+ possibleFixtures: [
25
+ "backgroundPaletteColors",
26
+ "spectrumColors",
27
+ "alwaysPaletteAliases",
28
+ "elevationAliases"
29
+ ],
30
+ customValueRenderer: ({ value, type }, schema, theme) => {
31
+ if (type === "elevationAliases") return `var(--uds-background-color-${value})`;
32
+ return theme(mapColorFixtureToValue(type, value));
33
+ }
34
+ };
35
+ const color = {
36
+ name: "color",
37
+ cssProperties: "color",
38
+ twThemePath: mapColorFixtureToValue,
39
+ possibleFixtures: [
40
+ "alwaysPaletteAliases",
41
+ "spectrumColors",
42
+ "foregroundPaletteColors"
43
+ ]
44
+ };
45
+ const fontSize = {
46
+ name: "fontSize",
47
+ cssProperties: "font-size",
48
+ twThemePath: mapTextVariantFixtureToValue("fontSize"),
49
+ possibleFixtures: ["textVariants"]
50
+ };
51
+ const fontVariationSettings = {
52
+ name: "fontVariationSettings",
53
+ cssProperties: "font-variation-settings",
54
+ twThemePath: () => {
55
+ return ``;
56
+ },
57
+ possibleFixtures: ["textVariants"],
58
+ customValueRenderer: (schemaValue) => {
59
+ const { value: rawValue } = schemaValue;
60
+ const value = textVariantsSafe(rawValue);
61
+ return `"wght" var(--uds-font-weight-${value}), "slnt" var(--uds-font-slant-${value}), "ital" var(--uds-font-slant-${value}), "wdth" var(--uds-font-width-${value})`;
62
+ }
63
+ };
64
+ const fontWeight = {
65
+ name: "fontWeight",
66
+ cssProperties: "font-weight",
67
+ twThemePath: mapTextVariantFixtureToValue("fontWeight"),
68
+ possibleFixtures: ["textVariants"]
69
+ };
70
+ const fontFamily = {
71
+ name: "fontFamily",
72
+ cssProperties: "font-family",
73
+ twThemePath: mapTextVariantFixtureToValue("fontFamily"),
74
+ possibleFixtures: ["textVariants"]
75
+ };
76
+ const textTransform = {
77
+ name: "textTransform",
78
+ cssProperties: "text-transform",
79
+ twThemePath: mapTextVariantFixtureToValue("textTransform"),
80
+ possibleFixtures: ["textVariants"]
81
+ };
82
+ const lineHeight = {
83
+ name: "lineHeight",
84
+ cssProperties: "line-height",
85
+ twThemePath: mapTextVariantFixtureToValue("lineHeight"),
86
+ possibleFixtures: ["textVariants"]
87
+ };
88
+ const letterSpacing = {
89
+ name: "letterSpacing",
90
+ cssProperties: "letter-spacing",
91
+ twThemePath: mapTextVariantFixtureToValue("letterSpacing"),
92
+ possibleFixtures: ["textVariants"]
93
+ };
94
+ const textVariant = {
95
+ name: "textVariant",
96
+ cssProperties: [],
97
+ twThemePath: () => {
98
+ return ``;
99
+ },
100
+ possibleFixtures: ["textVariants"],
101
+ extendedProperties: [
102
+ "fontSize",
103
+ "fontWeight",
104
+ "fontFamily",
105
+ "lineHeight",
106
+ "textTransform",
107
+ "fontVariationSettings",
108
+ "letterSpacing"
109
+ ]
110
+ };
111
+ const textDecorationLine = {
112
+ name: "textDecorationLine",
113
+ cssProperties: "text-decoration-line",
114
+ possibleFixtures: ["textDecorationLines"],
115
+ twThemePath: () => {
116
+ return ``;
117
+ },
118
+ customValueRenderer: (schemaValue) => {
119
+ return String(schemaValue.value);
120
+ }
121
+ };
122
+ const gap = {
123
+ name: "gap",
124
+ cssProperties: "gap",
125
+ twThemePath: (fixtureType, value) => fixtureType === "spacingAliases" ? `spacing[${value}]` : "",
126
+ possibleFixtures: ["spacingAliases"]
127
+ };
128
+ const borderWidth = {
129
+ name: "borderWidth",
130
+ cssProperties: "border-width",
131
+ twThemePath: (fixtureType, value) => {
132
+ switch (fixtureType) {
133
+ case "borderWidths":
134
+ case "elevationAliases": return `udsBorderWidth[${value}]`;
135
+ case "spacingAliases": return `spacing[${value}]`;
136
+ }
137
+ return assertUnreachable(fixtureType);
138
+ },
139
+ possibleFixtures: [
140
+ "borderWidths",
141
+ "spacingAliases",
142
+ "elevationAliases"
143
+ ],
144
+ extendedProperties: (context) => {
145
+ if (isInputWrapperCtx(context)) return [
146
+ "outlineWidth",
147
+ "insetOutlineOffset",
148
+ "solidOutline"
149
+ ];
150
+ return false;
151
+ }
152
+ };
153
+ const strokeWidth = {
154
+ ...borderWidth,
155
+ name: "strokeWidth",
156
+ cssProperties: "stroke-width"
157
+ };
158
+ const borderColor = {
159
+ name: "borderColor",
160
+ cssProperties: "border-color",
161
+ twThemePath: mapColorFixtureToValue,
162
+ possibleFixtures: [
163
+ "alwaysPaletteAliases",
164
+ "spectrumColors",
165
+ "linePaletteColors",
166
+ "elevationAliases"
167
+ ],
168
+ extendedProperties: (context) => {
169
+ if (isInputWrapperCtx(context)) return ["outlineColor"];
170
+ return false;
171
+ }
172
+ };
173
+ const stroke = {
174
+ ...borderColor,
175
+ name: "stroke",
176
+ cssProperties: "stroke"
177
+ };
178
+ const outlineWidth = {
179
+ name: "outlineWidth",
180
+ cssProperties: "outline-width",
181
+ twThemePath: (type, value) => type === "borderWidths" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,
182
+ possibleFixtures: ["borderWidths", "spacingAliases"]
183
+ };
184
+ const solidOutline = {
185
+ name: "solidOutline",
186
+ cssProperties: "outline-style",
187
+ twThemePath: () => "",
188
+ customValueRenderer: () => "solid",
189
+ possibleFixtures: []
190
+ };
191
+ const insetOutlineOffset = {
192
+ name: "insetOutlineOffset",
193
+ cssProperties: "outline-offset",
194
+ twThemePath: () => "",
195
+ customValueRenderer: ({ value, type }, schema, theme) => {
196
+ return `calc(-1 * ${type === "borderWidths" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;
197
+ },
198
+ possibleFixtures: ["borderWidths", "spacingAliases"]
199
+ };
200
+ const outlineColor = {
201
+ name: "outlineColor",
202
+ cssProperties: "outline-color",
203
+ twThemePath: mapColorFixtureToValue,
204
+ possibleFixtures: [
205
+ "alwaysPaletteAliases",
206
+ "spectrumColors",
207
+ "linePaletteColors"
208
+ ]
209
+ };
210
+ const borderRadius = {
211
+ name: "borderRadius",
212
+ cssProperties: "border-radius",
213
+ twThemePath: (_, value) => `udsBorderRadius.${value}`,
214
+ possibleFixtures: ["borderRadii"]
215
+ };
216
+ const borderRadiusVar = {
217
+ ...borderRadius,
218
+ name: "borderRadiusVar",
219
+ cssProperties: `--${BORDER_RADIUS_PREFIX}`
220
+ };
221
+ const spacing = {
222
+ name: "spacing",
223
+ cssProperties: "padding",
224
+ twThemePath: (_, value) => `spacing[${value}]`,
225
+ possibleFixtures: ["spacingAliases"]
226
+ };
227
+ const spacingHorizontal = {
228
+ name: "spacingHorizontal",
229
+ cssProperties: ["padding-right", "padding-left"],
230
+ twThemePath: (_, value) => `spacing[${value}]`,
231
+ possibleFixtures: ["spacingAliases"]
232
+ };
233
+ const spacingVertical = {
234
+ name: "spacingVertical",
235
+ cssProperties: ["padding-top", "padding-bottom"],
236
+ twThemePath: (_, value) => `spacing[${value}]`,
237
+ possibleFixtures: ["spacingAliases"]
238
+ };
239
+ const horizontalMargin = {
240
+ name: "horizontalMargin",
241
+ cssProperties: ["margin-left", "margin-right"],
242
+ twThemePath: (_, value) => `spacing[${value}]`,
243
+ possibleFixtures: ["spacingAliases"]
244
+ };
245
+ const bottomMargin = {
246
+ name: "bottomMargin",
247
+ cssProperties: "margin-bottom",
248
+ twThemePath: (_, value) => `spacing[${value}]`,
249
+ possibleFixtures: ["spacingAliases"]
250
+ };
251
+ const height = {
252
+ name: "height",
253
+ cssProperties: "height",
254
+ twThemePath: (_, value) => {
255
+ return `height[${value}]`;
256
+ },
257
+ possibleFixtures: ["spacingAliases"]
258
+ };
259
+ const width = {
260
+ name: "width",
261
+ cssProperties: "width",
262
+ twThemePath: (_, value) => {
263
+ return `width[${value}]`;
264
+ },
265
+ possibleFixtures: ["spacingAliases"]
266
+ };
267
+ const shadow = {
268
+ name: "drop shadow",
269
+ cssProperties: "box-shadow",
270
+ twThemePath: () => {
271
+ return ``;
272
+ },
273
+ concatenate: true,
274
+ customValueRenderer: (schemaValue) => {
275
+ const shadowType = "drop";
276
+ const noneValue = "0 0 0 transparent";
277
+ if (schemaValue.valueType === "alias") {
278
+ const noneValue = "0 0 0 transparent";
279
+ if (schemaValue.value === "none") return noneValue;
280
+ if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
281
+ } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => getShadowLayerValue({
282
+ preset,
283
+ shadowType,
284
+ prefix: index > 0 ? `${index + 1}` : void 0
285
+ }))?.join(", ") || noneValue;
286
+ throw new Error("Invalid valueType");
287
+ },
288
+ possibleFixtures: [
289
+ "shadowVariants",
290
+ "shadowVariantConfig",
291
+ "elevationAliases"
292
+ ]
293
+ };
294
+ const insetShadow = {
295
+ name: "inset shadow",
296
+ cssProperties: "box-shadow",
297
+ twThemePath: () => {
298
+ return ``;
299
+ },
300
+ concatenate: true,
301
+ customValueRenderer: (schemaValue) => {
302
+ const shadowType = "inset";
303
+ const noneValue = "0 0 0 transparent";
304
+ if (schemaValue.valueType === "alias") {
305
+ const noneValue = "0 0 0 transparent";
306
+ if (schemaValue.value === "none") return noneValue;
307
+ if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
308
+ } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => getShadowLayerValue({
309
+ preset,
310
+ shadowType,
311
+ prefix: index > 0 ? `${index + 1}` : void 0
312
+ }))?.join(", ") || noneValue;
313
+ throw new Error("Invalid valueType");
314
+ },
315
+ possibleFixtures: ["shadowVariantsWithInvert"]
316
+ };
317
+ const shadowVar = {
318
+ ...shadow,
319
+ name: "shadowVar",
320
+ cssProperties: `--${DROP_SHADOW_PREFIX}`
321
+ };
322
+ const opacity = {
323
+ name: "opacity",
324
+ cssProperties: "opacity",
325
+ twThemePath: (_, value) => `opacity[${value}]`,
326
+ possibleFixtures: ["opacitySteps"]
327
+ };
328
+ const publicProperties = {
329
+ backgroundColor,
330
+ borderWidth,
331
+ strokeWidth,
332
+ borderRadius,
333
+ borderRadiusVar,
334
+ borderColor,
335
+ stroke,
336
+ buttonSize: {
337
+ name: "buttonSize",
338
+ cssProperties: "--uds-button-size",
339
+ possibleFixtures: ["buttonSizes"],
340
+ twThemePath: () => {
341
+ return ``;
342
+ },
343
+ customValueRenderer: (schemaValue) => {
344
+ return String(schemaValue.value);
345
+ }
346
+ },
347
+ buttonVariant: {
348
+ name: "buttonVariant",
349
+ cssProperties: "--uds-button-variant",
350
+ possibleFixtures: ["buttonVariantsFlat"],
351
+ twThemePath: () => {
352
+ return ``;
353
+ },
354
+ customValueRenderer: (schemaValue) => {
355
+ return String(schemaValue.value);
356
+ }
357
+ },
358
+ fontFamily,
359
+ fontSize,
360
+ fontVariationSettings,
361
+ lineHeight,
362
+ textTransform,
363
+ letterSpacing,
364
+ gap,
365
+ color,
366
+ opacity,
367
+ fillOpacity: {
368
+ name: "fillOpacity",
369
+ cssProperties: "fill-opacity",
370
+ twThemePath: (_, value) => `opacity[${value}]`,
371
+ possibleFixtures: ["opacitySteps"]
372
+ },
373
+ fontWeight,
374
+ iconSize: {
375
+ name: "iconSize",
376
+ cssProperties: ["width", "height"],
377
+ twThemePath: (_, value) => `sizing.icon.${value}`,
378
+ possibleFixtures: ["iconSizes"]
379
+ },
380
+ spacing,
381
+ iconVariant: {
382
+ name: "iconVariant",
383
+ cssProperties: "--uds-icon-variant",
384
+ possibleFixtures: ["iconVariants"],
385
+ twThemePath: () => {
386
+ return ``;
387
+ },
388
+ customValueRenderer: (schemaValue) => {
389
+ return String(schemaValue.value);
390
+ }
391
+ },
392
+ horizontalMargin,
393
+ bottomMargin,
394
+ spacingHorizontal,
395
+ spacingVertical,
396
+ textVariant,
397
+ textDecorationLine,
398
+ shadow,
399
+ shadowVar,
400
+ insetShadow,
401
+ height,
402
+ width,
403
+ scaleEffect: {
404
+ name: "scaleEffect",
405
+ cssProperties: BUTTON_SCALE_EFFECT,
406
+ possibleFixtures: ["scaleEffects"],
407
+ twThemePath: () => {
408
+ return ``;
409
+ },
410
+ customValueRenderer: (schemaValue) => {
411
+ const value = schemaValue.value;
412
+ const stringValue = String(value);
413
+ return String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);
414
+ }
415
+ },
416
+ backdropBlur: {
417
+ name: "backdropBlur",
418
+ possibleFixtures: ["positiveIntegers"],
419
+ cssProperties: "--uds-backdrop-blur",
420
+ twThemePath: () => {
421
+ return ``;
422
+ },
423
+ customValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {
424
+ if (originalPropertyDefinition && originalPropertyDefinition.layerReference) {
425
+ const { variablePath, propertyName } = originalPropertyDefinition.layerReference;
426
+ const property = schema.variables[variablePath][propertyName].rest;
427
+ if (property.type === "elevationAliases") return `var(--uds-background-blur-radius-${property.value})`;
428
+ }
429
+ return `blur(${schemaValue.value}px)`;
430
+ }
431
+ },
432
+ blurBackgroundColor: {
433
+ ...backgroundColor,
434
+ name: "blurBackgroundColor",
435
+ cssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`
436
+ },
437
+ blurBackgroundColorFallback: {
438
+ ...backgroundColor,
439
+ name: "blurBackgroundColorFallback",
440
+ cssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`
441
+ },
442
+ scrimBackgroundColor: {
443
+ name: "scrimBackgroundColor",
444
+ cssProperties: "--uds-scrim-background-color",
445
+ twThemePath: () => {
446
+ return ``;
447
+ },
448
+ possibleFixtures: [
449
+ "backgroundPaletteColors",
450
+ "spectrumColors",
451
+ "alwaysPaletteAliases"
452
+ ],
453
+ customValueRenderer: ({ value, type }, schema, theme) => {
454
+ const resolved = theme(mapColorFixtureToValue(type, value));
455
+ if (resolved.startsWith("#")) return hexToRgb(resolved) ?? resolved;
456
+ if (resolved.startsWith("rgb(") && resolved.endsWith(")")) return resolved.slice(4, -1);
457
+ return resolved;
458
+ }
459
+ },
460
+ scrimOpacity: {
461
+ ...opacity,
462
+ name: "scrimOpacity",
463
+ cssProperties: "--uds-scrim-opacity",
464
+ twThemePath: () => "",
465
+ customValueRenderer: ({ value }) => `${String(value)}%`
466
+ }
467
+ };
468
+ const internalProperties = {
469
+ outlineWidth,
470
+ outlineColor,
471
+ insetOutlineOffset,
472
+ solidOutline
473
+ };
474
+ const configurableProperties = {
475
+ ...publicProperties,
476
+ ...internalProperties
477
+ };
478
+
479
+ //#endregion
480
+ export { configurableProperties };
481
+ //# sourceMappingURL=properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.js","names":[],"sources":["../../../../automated-config/dist/properties.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { mapTextVariantFixtureToValue } from \"./mapTextVariantFixtureToValue.js\";\nimport { mapColorFixtureToValue } from \"./utils/mapColorFixtureToValue.js\";\nimport { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from \"@yahoo/uds-css-tokens\";\nimport { SCALE_EFFECTS } from \"@yahoo/uds-motion-tokens\";\n\n//#region src/properties.ts\nconst isInputWrapperCtx = (context) => {\n\treturn context.componentName === \"input\" && context.layer === \"inputWrapper\";\n};\nconst hexToRgb = (hex) => {\n\thex = hex.replace(\"#\", \"\");\n\tif (hex.length === 3) hex = hex.split(\"\").map((char) => char + char).join(\"\");\n\treturn `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;\n};\nconst backgroundColor = {\n\tname: \"backgroundColor\",\n\tcssProperties: \"background-color\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\n\t\t\"backgroundPaletteColors\",\n\t\t\"spectrumColors\",\n\t\t\"alwaysPaletteAliases\",\n\t\t\"elevationAliases\"\n\t],\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\tif (type === \"elevationAliases\") return `var(--uds-background-color-${value})`;\n\t\treturn theme(mapColorFixtureToValue(type, value));\n\t}\n};\nconst color = {\n\tname: \"color\",\n\tcssProperties: \"color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"foregroundPaletteColors\"\n\t]\n};\nconst fontSize = {\n\tname: \"fontSize\",\n\tcssProperties: \"font-size\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontSize\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontVariationSettings = {\n\tname: \"fontVariationSettings\",\n\tcssProperties: \"font-variation-settings\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst { value: rawValue } = schemaValue;\n\t\tconst value = textVariantsSafe(rawValue);\n\t\treturn `\"wght\" var(--uds-font-weight-${value}), \"slnt\" var(--uds-font-slant-${value}), \"ital\" var(--uds-font-slant-${value}), \"wdth\" var(--uds-font-width-${value})`;\n\t}\n};\nconst fontWeight = {\n\tname: \"fontWeight\",\n\tcssProperties: \"font-weight\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontWeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontFamily = {\n\tname: \"fontFamily\",\n\tcssProperties: \"font-family\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontFamily\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textTransform = {\n\tname: \"textTransform\",\n\tcssProperties: \"text-transform\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"textTransform\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst lineHeight = {\n\tname: \"lineHeight\",\n\tcssProperties: \"line-height\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"lineHeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst letterSpacing = {\n\tname: \"letterSpacing\",\n\tcssProperties: \"letter-spacing\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"letterSpacing\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textVariant = {\n\tname: \"textVariant\",\n\tcssProperties: [],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\textendedProperties: [\n\t\t\"fontSize\",\n\t\t\"fontWeight\",\n\t\t\"fontFamily\",\n\t\t\"lineHeight\",\n\t\t\"textTransform\",\n\t\t\"fontVariationSettings\",\n\t\t\"letterSpacing\"\n\t]\n};\nconst textDecorationLine = {\n\tname: \"textDecorationLine\",\n\tcssProperties: \"text-decoration-line\",\n\tpossibleFixtures: [\"textDecorationLines\"],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tcustomValueRenderer: (schemaValue) => {\n\t\treturn String(schemaValue.value);\n\t}\n};\nconst gap = {\n\tname: \"gap\",\n\tcssProperties: \"gap\",\n\ttwThemePath: (fixtureType, value) => fixtureType === \"spacingAliases\" ? `spacing[${value}]` : \"\",\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst borderWidth = {\n\tname: \"borderWidth\",\n\tcssProperties: \"border-width\",\n\ttwThemePath: (fixtureType, value) => {\n\t\tswitch (fixtureType) {\n\t\t\tcase \"borderWidths\":\n\t\t\tcase \"elevationAliases\": return `udsBorderWidth[${value}]`;\n\t\t\tcase \"spacingAliases\": return `spacing[${value}]`;\n\t\t}\n\t\treturn assertUnreachable(fixtureType);\n\t},\n\tpossibleFixtures: [\n\t\t\"borderWidths\",\n\t\t\"spacingAliases\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\n\t\t\t\"outlineWidth\",\n\t\t\t\"insetOutlineOffset\",\n\t\t\t\"solidOutline\"\n\t\t];\n\t\treturn false;\n\t}\n};\nconst strokeWidth = {\n\t...borderWidth,\n\tname: \"strokeWidth\",\n\tcssProperties: \"stroke-width\"\n};\nconst borderColor = {\n\tname: \"borderColor\",\n\tcssProperties: \"border-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\"outlineColor\"];\n\t\treturn false;\n\t}\n};\nconst stroke = {\n\t...borderColor,\n\tname: \"stroke\",\n\tcssProperties: \"stroke\"\n};\nconst outlineWidth = {\n\tname: \"outlineWidth\",\n\tcssProperties: \"outline-width\",\n\ttwThemePath: (type, value) => type === \"borderWidths\" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst solidOutline = {\n\tname: \"solidOutline\",\n\tcssProperties: \"outline-style\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: () => \"solid\",\n\tpossibleFixtures: []\n};\nconst insetOutlineOffset = {\n\tname: \"insetOutlineOffset\",\n\tcssProperties: \"outline-offset\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\treturn `calc(-1 * ${type === \"borderWidths\" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;\n\t},\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst outlineColor = {\n\tname: \"outlineColor\",\n\tcssProperties: \"outline-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\"\n\t]\n};\nconst borderRadius = {\n\tname: \"borderRadius\",\n\tcssProperties: \"border-radius\",\n\ttwThemePath: (_, value) => `udsBorderRadius.${value}`,\n\tpossibleFixtures: [\"borderRadii\"]\n};\nconst borderRadiusVar = {\n\t...borderRadius,\n\tname: \"borderRadiusVar\",\n\tcssProperties: `--${BORDER_RADIUS_PREFIX}`\n};\nconst spacing = {\n\tname: \"spacing\",\n\tcssProperties: \"padding\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingHorizontal = {\n\tname: \"spacingHorizontal\",\n\tcssProperties: [\"padding-right\", \"padding-left\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingVertical = {\n\tname: \"spacingVertical\",\n\tcssProperties: [\"padding-top\", \"padding-bottom\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst horizontalMargin = {\n\tname: \"horizontalMargin\",\n\tcssProperties: [\"margin-left\", \"margin-right\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst bottomMargin = {\n\tname: \"bottomMargin\",\n\tcssProperties: \"margin-bottom\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst height = {\n\tname: \"height\",\n\tcssProperties: \"height\",\n\ttwThemePath: (_, value) => {\n\t\treturn `height[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst width = {\n\tname: \"width\",\n\tcssProperties: \"width\",\n\ttwThemePath: (_, value) => {\n\t\treturn `width[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst shadow = {\n\tname: \"drop shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"drop\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\n\t\t\"shadowVariants\",\n\t\t\"shadowVariantConfig\",\n\t\t\"elevationAliases\"\n\t]\n};\nconst insetShadow = {\n\tname: \"inset shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"inset\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\"shadowVariantsWithInvert\"]\n};\nconst shadowVar = {\n\t...shadow,\n\tname: \"shadowVar\",\n\tcssProperties: `--${DROP_SHADOW_PREFIX}`\n};\nconst opacity = {\n\tname: \"opacity\",\n\tcssProperties: \"opacity\",\n\ttwThemePath: (_, value) => `opacity[${value}]`,\n\tpossibleFixtures: [\"opacitySteps\"]\n};\nconst publicProperties = {\n\tbackgroundColor,\n\tborderWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tstroke,\n\tbuttonSize: {\n\t\tname: \"buttonSize\",\n\t\tcssProperties: \"--uds-button-size\",\n\t\tpossibleFixtures: [\"buttonSizes\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tbuttonVariant: {\n\t\tname: \"buttonVariant\",\n\t\tcssProperties: \"--uds-button-variant\",\n\t\tpossibleFixtures: [\"buttonVariantsFlat\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tfontFamily,\n\tfontSize,\n\tfontVariationSettings,\n\tlineHeight,\n\ttextTransform,\n\tletterSpacing,\n\tgap,\n\tcolor,\n\topacity,\n\tfillOpacity: {\n\t\tname: \"fillOpacity\",\n\t\tcssProperties: \"fill-opacity\",\n\t\ttwThemePath: (_, value) => `opacity[${value}]`,\n\t\tpossibleFixtures: [\"opacitySteps\"]\n\t},\n\tfontWeight,\n\ticonSize: {\n\t\tname: \"iconSize\",\n\t\tcssProperties: [\"width\", \"height\"],\n\t\ttwThemePath: (_, value) => `sizing.icon.${value}`,\n\t\tpossibleFixtures: [\"iconSizes\"]\n\t},\n\tspacing,\n\ticonVariant: {\n\t\tname: \"iconVariant\",\n\t\tcssProperties: \"--uds-icon-variant\",\n\t\tpossibleFixtures: [\"iconVariants\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\thorizontalMargin,\n\tbottomMargin,\n\tspacingHorizontal,\n\tspacingVertical,\n\ttextVariant,\n\ttextDecorationLine,\n\tshadow,\n\tshadowVar,\n\tinsetShadow,\n\theight,\n\twidth,\n\tscaleEffect: {\n\t\tname: \"scaleEffect\",\n\t\tcssProperties: BUTTON_SCALE_EFFECT,\n\t\tpossibleFixtures: [\"scaleEffects\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst value = schemaValue.value;\n\t\t\tconst stringValue = String(value);\n\t\t\treturn String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);\n\t\t}\n\t},\n\tbackdropBlur: {\n\t\tname: \"backdropBlur\",\n\t\tpossibleFixtures: [\"positiveIntegers\"],\n\t\tcssProperties: \"--uds-backdrop-blur\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {\n\t\t\tif (originalPropertyDefinition && originalPropertyDefinition.layerReference) {\n\t\t\t\tconst { variablePath, propertyName } = originalPropertyDefinition.layerReference;\n\t\t\t\tconst property = schema.variables[variablePath][propertyName].rest;\n\t\t\t\tif (property.type === \"elevationAliases\") return `var(--uds-background-blur-radius-${property.value})`;\n\t\t\t}\n\t\t\treturn `blur(${schemaValue.value}px)`;\n\t\t}\n\t},\n\tblurBackgroundColor: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColor\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`\n\t},\n\tblurBackgroundColorFallback: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColorFallback\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`\n\t},\n\tscrimBackgroundColor: {\n\t\tname: \"scrimBackgroundColor\",\n\t\tcssProperties: \"--uds-scrim-background-color\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\n\t\t\t\"backgroundPaletteColors\",\n\t\t\t\"spectrumColors\",\n\t\t\t\"alwaysPaletteAliases\"\n\t\t],\n\t\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\t\tconst resolved = theme(mapColorFixtureToValue(type, value));\n\t\t\tif (resolved.startsWith(\"#\")) return hexToRgb(resolved) ?? resolved;\n\t\t\tif (resolved.startsWith(\"rgb(\") && resolved.endsWith(\")\")) return resolved.slice(4, -1);\n\t\t\treturn resolved;\n\t\t}\n\t},\n\tscrimOpacity: {\n\t\t...opacity,\n\t\tname: \"scrimOpacity\",\n\t\tcssProperties: \"--uds-scrim-opacity\",\n\t\ttwThemePath: () => \"\",\n\t\tcustomValueRenderer: ({ value }) => `${String(value)}%`\n\t}\n};\nconst internalProperties = {\n\toutlineWidth,\n\toutlineColor,\n\tinsetOutlineOffset,\n\tsolidOutline\n};\nconst configurableProperties = {\n\t...publicProperties,\n\t...internalProperties\n};\n\n//#endregion\nexport { configurableProperties };\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;;AAQA,MAAM,qBAAqB,YAAY;AACtC,QAAO,QAAQ,kBAAkB,WAAW,QAAQ,UAAU;;AAE/D,MAAM,YAAY,QAAQ;AACzB,OAAM,IAAI,QAAQ,KAAK,GAAG;AAC1B,KAAI,IAAI,WAAW,EAAG,OAAM,IAAI,MAAM,GAAG,CAAC,KAAK,SAAS,OAAO,KAAK,CAAC,KAAK,GAAG;AAC7E,QAAO,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG;;AAEtH,MAAM,kBAAkB;CACvB,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB;EACjB;EACA;EACA;EACA;EACA;CACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;AACxD,MAAI,SAAS,mBAAoB,QAAO,8BAA8B,MAAM;AAC5E,SAAO,MAAM,uBAAuB,MAAM,MAAM,CAAC;;CAElD;AACD,MAAM,QAAQ;CACb,MAAM;CACN,eAAe;CACf,aAAa;CACb,kBAAkB;EACjB;EACA;EACA;EACA;CACD;AACD,MAAM,WAAW;CAChB,MAAM;CACN,eAAe;CACf,aAAa,6BAA6B,WAAW;CACrD,kBAAkB,CAAC,eAAe;CAClC;AACD,MAAM,wBAAwB;CAC7B,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB,CAAC,eAAe;CAClC,sBAAsB,gBAAgB;EACrC,MAAM,EAAE,OAAO,aAAa;EAC5B,MAAM,QAAQ,iBAAiB,SAAS;AACxC,SAAO,gCAAgC,MAAM,iCAAiC,MAAM,iCAAiC,MAAM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SAAS,WAAW,IAAI,CAAE,QAAO,SAAS,SAAS,IAAI;AAC3D,OAAI,SAAS,WAAW,OAAO,IAAI,SAAS,SAAS,IAAI,CAAE,QAAO,SAAS,MAAM,GAAG,GAAG;AACvF,UAAO;;EAER;CACD,cAAc;EACb,GAAG;EACH,MAAM;EACN,eAAe;EACf,mBAAmB;EACnB,sBAAsB,EAAE,YAAY,GAAG,OAAO,MAAM,CAAC;EACrD;CACD;AACD,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;AACD,MAAM,yBAAyB;CAC9B,GAAG;CACH,GAAG;CACH"}
@@ -0,0 +1,10 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+
3
+ //#region ../automated-config/dist/utils/assertUnreachable.js
4
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
+ const assertUnreachable = (x) => {
6
+ throw new Error("Didn't expect to get here");
7
+ };
8
+
9
+ //#endregion
10
+ exports.assertUnreachable = assertUnreachable;
@@ -0,0 +1,10 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+ //#region ../automated-config/dist/utils/assertUnreachable.js
3
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
4
+ const assertUnreachable = (x) => {
5
+ throw new Error("Didn't expect to get here");
6
+ };
7
+
8
+ //#endregion
9
+ export { assertUnreachable };
10
+ //# sourceMappingURL=assertUnreachable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertUnreachable.js","names":[],"sources":["../../../../../automated-config/dist/utils/assertUnreachable.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/assertUnreachable.ts\nconst assertUnreachable = (x) => {\n\tthrow new Error(\"Didn't expect to get here\");\n};\n\n//#endregion\nexport { assertUnreachable };\n//# sourceMappingURL=assertUnreachable.js.map"],"mappings":";;;AAEA,MAAM,qBAAqB,MAAM;AAChC,OAAM,IAAI,MAAM,4BAA4B"}
@@ -0,0 +1,18 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+
3
+ //#region ../automated-config/dist/utils/generateDefaultClassName.js
4
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
+ /**
6
+ * Generates a default class name for a component variant.
7
+ * Creates the class name for when variantValue='default', matching the pattern from generateClassName.
8
+ *
9
+ * @example
10
+ * generateDefaultClassName('button', 'variant', 'root') // 'uds-button-variant-default-root'
11
+ * generateDefaultClassName('button', 'size', 'icon', 'toggle') // 'uds-button-toggle-size-default-icon'
12
+ */
13
+ function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
14
+ return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
15
+ }
16
+
17
+ //#endregion
18
+ exports.generateDefaultClassName = generateDefaultClassName;
@@ -0,0 +1,18 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+ //#region ../automated-config/dist/utils/generateDefaultClassName.js
3
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
4
+ /**
5
+ * Generates a default class name for a component variant.
6
+ * Creates the class name for when variantValue='default', matching the pattern from generateClassName.
7
+ *
8
+ * @example
9
+ * generateDefaultClassName('button', 'variant', 'root') // 'uds-button-variant-default-root'
10
+ * generateDefaultClassName('button', 'size', 'icon', 'toggle') // 'uds-button-toggle-size-default-icon'
11
+ */
12
+ function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
13
+ return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
14
+ }
15
+
16
+ //#endregion
17
+ export { generateDefaultClassName };
18
+ //# sourceMappingURL=generateDefaultClassName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateDefaultClassName.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateDefaultClassName.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateDefaultClassName.ts\n/**\n* Generates a default class name for a component variant.\n* Creates the class name for when variantValue='default', matching the pattern from generateClassName.\n*\n* @example\n* generateDefaultClassName('button', 'variant', 'root') // 'uds-button-variant-default-root'\n* generateDefaultClassName('button', 'size', 'icon', 'toggle') // 'uds-button-toggle-size-default-icon'\n*/\nfunction generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {\n\treturn `uds-${componentName}${subComponentName ? `-${subComponentName}` : \"\"}-${variantType}-default-${layerKey}`.toLowerCase();\n}\n\n//#endregion\nexport { generateDefaultClassName };\n//# sourceMappingURL=generateDefaultClassName.js.map"],"mappings":";;;;;;;;;;;AAUA,SAAS,yBAAyB,eAAe,aAAa,UAAU,kBAAkB;AACzF,QAAO,OAAO,gBAAgB,mBAAmB,IAAI,qBAAqB,GAAG,GAAG,YAAY,WAAW,WAAW,aAAa"}
@@ -0,0 +1,15 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+
3
+ //#region ../automated-config/dist/utils/generateSchemaKey.js
4
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
+ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {
6
+ if (subComponentName) {
7
+ if (componentStateKey && componentStateValue) return `${subComponentName}/${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
8
+ return `${subComponentName}/${variantKey}/${variantValue}/${layer}`;
9
+ }
10
+ if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
11
+ return `${variantKey}/${variantValue}/${layer}`;
12
+ }
13
+
14
+ //#endregion
15
+ exports.generateSchemaKey = generateSchemaKey;
@@ -0,0 +1,15 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
+ //#region ../automated-config/dist/utils/generateSchemaKey.js
3
+ /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
4
+ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {
5
+ if (subComponentName) {
6
+ if (componentStateKey && componentStateValue) return `${subComponentName}/${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
7
+ return `${subComponentName}/${variantKey}/${variantValue}/${layer}`;
8
+ }
9
+ if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
10
+ return `${variantKey}/${variantValue}/${layer}`;
11
+ }
12
+
13
+ //#endregion
14
+ export { generateSchemaKey };
15
+ //# sourceMappingURL=generateSchemaKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateSchemaKey.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateSchemaKey.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateSchemaKey.ts\nfunction generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {\n\tif (subComponentName) {\n\t\tif (componentStateKey && componentStateValue) return `${subComponentName}/${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\t\treturn `${subComponentName}/${variantKey}/${variantValue}/${layer}`;\n\t}\n\tif (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\treturn `${variantKey}/${variantValue}/${layer}`;\n}\n\n//#endregion\nexport { generateSchemaKey };\n//# sourceMappingURL=generateSchemaKey.js.map"],"mappings":";;;AAEA,SAAS,kBAAkB,EAAE,YAAY,cAAc,OAAO,kBAAkB,mBAAmB,uBAAuB;AACzH,KAAI,kBAAkB;AACrB,MAAI,qBAAqB,oBAAqB,QAAO,GAAG,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG,kBAAkB,GAAG,oBAAoB,GAAG;AACtJ,SAAO,GAAG,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG;;AAE7D,KAAI,qBAAqB,oBAAqB,QAAO,GAAG,WAAW,GAAG,aAAa,GAAG,kBAAkB,GAAG,oBAAoB,GAAG;AAClI,QAAO,GAAG,WAAW,GAAG,aAAa,GAAG"}