@yahoo/uds 3.98.0 → 3.100.0-beta.1

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 (158) hide show
  1. package/dist/automated-config/dist/generated/autoVariants.cjs +9 -1
  2. package/dist/automated-config/dist/generated/autoVariants.d.cts +8 -0
  3. package/dist/automated-config/dist/generated/autoVariants.d.ts +8 -0
  4. package/dist/automated-config/dist/generated/autoVariants.js +9 -1
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +1588 -1
  6. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +378 -189
  7. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +378 -189
  8. package/dist/automated-config/dist/generated/generatedConfigs.js +1587 -1
  9. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +82 -0
  10. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
  11. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
  12. package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +82 -0
  13. package/dist/automated-config/dist/properties.cjs +141 -89
  14. package/dist/automated-config/dist/properties.d.cts +18 -3
  15. package/dist/automated-config/dist/properties.d.ts +18 -3
  16. package/dist/automated-config/dist/properties.js +142 -90
  17. package/dist/automated-config/dist/utils/buildConfigSchema.cjs +5 -1
  18. package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -1
  19. package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -1
  20. package/dist/automated-config/dist/utils/buildConfigSchema.js +5 -1
  21. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
  22. package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
  23. package/dist/automated-config/dist/utils/index.d.cts +2 -1
  24. package/dist/automated-config/dist/utils/index.d.ts +2 -1
  25. package/dist/cli/commands/sync.cjs +5 -1
  26. package/dist/cli/commands/sync.js +5 -1
  27. package/dist/components/client/Button.js +2 -2
  28. package/dist/components/client/Tooltip/Tooltip.cjs +37 -0
  29. package/dist/components/client/Tooltip/Tooltip.d.cts +16 -0
  30. package/dist/components/client/Tooltip/Tooltip.d.ts +16 -0
  31. package/dist/components/client/Tooltip/Tooltip.js +35 -0
  32. package/dist/components/client/Tooltip/TooltipContent.cjs +171 -0
  33. package/dist/components/client/Tooltip/TooltipContent.d.cts +8 -0
  34. package/dist/components/client/Tooltip/TooltipContent.d.ts +8 -0
  35. package/dist/components/client/Tooltip/TooltipContent.js +169 -0
  36. package/dist/components/client/Tooltip/TooltipTrigger.cjs +20 -0
  37. package/dist/components/client/Tooltip/TooltipTrigger.d.cts +13 -0
  38. package/dist/components/client/Tooltip/TooltipTrigger.d.ts +13 -0
  39. package/dist/components/client/Tooltip/TooltipTrigger.js +18 -0
  40. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +41 -0
  41. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +29 -0
  42. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +29 -0
  43. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +38 -0
  44. package/dist/components/client/Tooltip/index.cjs +12 -0
  45. package/dist/components/client/Tooltip/index.d.cts +7 -0
  46. package/dist/components/client/Tooltip/index.d.ts +7 -0
  47. package/dist/components/client/Tooltip/index.js +8 -0
  48. package/dist/components/client/Tooltip/tooltipContext.cjs +12 -0
  49. package/dist/components/client/Tooltip/tooltipContext.d.cts +12 -0
  50. package/dist/components/client/Tooltip/tooltipContext.d.ts +12 -0
  51. package/dist/components/client/Tooltip/tooltipContext.js +10 -0
  52. package/dist/components/client/Tooltip/useTooltipContent.cjs +186 -0
  53. package/dist/components/client/Tooltip/useTooltipContent.d.cts +63 -0
  54. package/dist/components/client/Tooltip/useTooltipContent.d.ts +63 -0
  55. package/dist/components/client/Tooltip/useTooltipContent.js +184 -0
  56. package/dist/components/client/Tooltip/util.cjs +248 -0
  57. package/dist/components/client/Tooltip/util.d.cts +118 -0
  58. package/dist/components/client/Tooltip/util.d.ts +118 -0
  59. package/dist/components/client/Tooltip/util.js +240 -0
  60. package/dist/components/client/index.cjs +8 -0
  61. package/dist/components/client/index.d.cts +7 -1
  62. package/dist/components/client/index.d.ts +7 -1
  63. package/dist/components/client/index.js +5 -1
  64. package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
  65. package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
  66. package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
  67. package/dist/components/client/providers/UDSConfigProvider.js +6 -2
  68. package/dist/components/index.cjs +8 -0
  69. package/dist/components/index.d.cts +6 -1
  70. package/dist/components/index.d.ts +6 -1
  71. package/dist/components/index.js +5 -1
  72. package/dist/config/dist/index.cjs +83 -1
  73. package/dist/config/dist/index.d.cts +123 -1
  74. package/dist/config/dist/index.d.ts +123 -1
  75. package/dist/config/dist/index.js +83 -1
  76. package/dist/css-tokens/dist/index.cjs +2 -0
  77. package/dist/css-tokens/dist/index.d.cts +2 -1
  78. package/dist/css-tokens/dist/index.d.ts +2 -1
  79. package/dist/css-tokens/dist/index.js +2 -1
  80. package/dist/fixtures/dist/arbitrary.d.cts +11 -0
  81. package/dist/fixtures/dist/arbitrary.d.ts +11 -0
  82. package/dist/fixtures/dist/index.cjs +28 -2
  83. package/dist/fixtures/dist/index.d.cts +18 -4
  84. package/dist/fixtures/dist/index.d.ts +18 -4
  85. package/dist/fixtures/dist/index.js +27 -3
  86. package/dist/fixtures/index.cjs +6 -1
  87. package/dist/fixtures/index.d.cts +4 -2
  88. package/dist/fixtures/index.d.ts +4 -2
  89. package/dist/fixtures/index.js +3 -2
  90. package/dist/fixtures/src/arbitrary.cjs +23 -0
  91. package/dist/fixtures/src/arbitrary.d.cts +15 -0
  92. package/dist/fixtures/src/arbitrary.d.ts +15 -0
  93. package/dist/fixtures/src/arbitrary.js +18 -0
  94. package/dist/fixtures/src/util.cjs +26 -0
  95. package/dist/fixtures/src/util.d.cts +9 -0
  96. package/dist/fixtures/src/util.d.ts +9 -0
  97. package/dist/fixtures/src/util.js +25 -0
  98. package/dist/fonts/dist/index.cjs +1 -1
  99. package/dist/fonts/dist/index.d.cts +1 -1
  100. package/dist/fonts/dist/index.d.ts +1 -1
  101. package/dist/fonts/dist/index.js +1 -1
  102. package/dist/index.cjs +12 -0
  103. package/dist/index.d.cts +9 -4
  104. package/dist/index.d.ts +9 -4
  105. package/dist/index.js +8 -3
  106. package/dist/runtime/index.cjs +2 -0
  107. package/dist/runtime/index.d.cts +2 -1
  108. package/dist/runtime/index.d.ts +2 -1
  109. package/dist/runtime/index.js +2 -1
  110. package/dist/runtime/tooltipConfig.cjs +36 -0
  111. package/dist/runtime/tooltipConfig.d.cts +20 -0
  112. package/dist/runtime/tooltipConfig.d.ts +20 -0
  113. package/dist/runtime/tooltipConfig.js +35 -0
  114. package/dist/runtime/udsConfig.cjs +3 -1
  115. package/dist/runtime/udsConfig.d.cts +2 -0
  116. package/dist/runtime/udsConfig.d.ts +2 -0
  117. package/dist/runtime/udsConfig.js +3 -1
  118. package/dist/styles/styler.d.cts +73 -65
  119. package/dist/styles/styler.d.ts +73 -65
  120. package/dist/styles/variants.d.cts +24 -0
  121. package/dist/styles/variants.d.ts +24 -0
  122. package/dist/tailwind/plugins/blurBgFallback.cjs +30 -0
  123. package/dist/tailwind/plugins/blurBgFallback.d.cts +14 -0
  124. package/dist/tailwind/plugins/blurBgFallback.d.ts +14 -0
  125. package/dist/tailwind/plugins/blurBgFallback.js +27 -0
  126. package/dist/tailwind/plugins/components.cjs +1 -0
  127. package/dist/tailwind/plugins/components.js +2 -1
  128. package/dist/tailwind/tailwindPlugin.cjs +2 -1
  129. package/dist/tailwind/tailwindPlugin.js +2 -1
  130. package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  131. package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  132. package/dist/tailwind/utils/getTailwindAsUdsColors.d.cts +1 -1
  133. package/dist/tailwind/utils/getTailwindAsUdsColors.d.ts +1 -1
  134. package/dist/tokens/automation/configs/index.cjs +2 -1
  135. package/dist/tokens/automation/configs/index.d.cts +2 -2
  136. package/dist/tokens/automation/configs/index.d.ts +2 -2
  137. package/dist/tokens/automation/configs/index.js +2 -2
  138. package/dist/tokens/automation/index.cjs +1 -0
  139. package/dist/tokens/automation/index.d.cts +2 -2
  140. package/dist/tokens/automation/index.d.ts +2 -2
  141. package/dist/tokens/automation/index.js +2 -2
  142. package/dist/tokens/automation/properties.d.cts +2 -2
  143. package/dist/tokens/automation/properties.d.ts +2 -2
  144. package/dist/tokens/consts/cssTokens.cjs +1 -0
  145. package/dist/tokens/consts/cssTokens.d.cts +2 -2
  146. package/dist/tokens/consts/cssTokens.d.ts +2 -2
  147. package/dist/tokens/consts/cssTokens.js +2 -2
  148. package/dist/tokens/index.cjs +2 -0
  149. package/dist/tokens/index.d.cts +4 -4
  150. package/dist/tokens/index.d.ts +4 -4
  151. package/dist/tokens/index.js +3 -3
  152. package/dist/tokens/types.d.cts +2 -2
  153. package/dist/tokens/types.d.ts +2 -2
  154. package/dist/types/dist/index.d.cts +25 -2
  155. package/dist/types/dist/index.d.ts +25 -2
  156. package/dist/uds/generated/tailwindPurge.cjs +30 -2
  157. package/dist/uds/generated/tailwindPurge.js +30 -2
  158. package/package.json +1 -2
@@ -11921,6 +11921,88 @@ const defaultUniversalTokensConfigAuto = {
11921
11921
  } }
11922
11922
  }
11923
11923
  }
11924
+ },
11925
+ tooltip: {
11926
+ defaults: {
11927
+ size: "default",
11928
+ variant: "default"
11929
+ },
11930
+ variables: {
11931
+ "size/default/body": { textVariant: { rest: {
11932
+ type: "textVariants",
11933
+ value: "ui3/emphasized",
11934
+ valueType: "alias"
11935
+ } } },
11936
+ "size/default/icon": { size: { rest: {
11937
+ type: "iconSizes",
11938
+ value: "xs",
11939
+ valueType: "alias"
11940
+ } } },
11941
+ "size/default/root": {
11942
+ gap: { rest: {
11943
+ type: "spacingAliases",
11944
+ value: "1",
11945
+ valueType: "alias"
11946
+ } },
11947
+ shadow: { rest: {
11948
+ type: "elevationAliases",
11949
+ value: "elevation-0",
11950
+ valueType: "alias"
11951
+ } },
11952
+ spacingHorizontal: { rest: {
11953
+ type: "spacingAliases",
11954
+ value: "3",
11955
+ valueType: "alias"
11956
+ } },
11957
+ spacingVertical: { rest: {
11958
+ type: "spacingAliases",
11959
+ value: "2",
11960
+ valueType: "alias"
11961
+ } }
11962
+ },
11963
+ "size/default/svg": { borderRadius: { rest: {
11964
+ type: "borderRadii",
11965
+ value: "md",
11966
+ valueType: "alias"
11967
+ } } },
11968
+ "size/default/title": { textVariant: { rest: {
11969
+ type: "textVariants",
11970
+ value: "ui1/emphasized",
11971
+ valueType: "alias"
11972
+ } } },
11973
+ "variant/default/blur": { backdropBlur: { rest: {
11974
+ type: "positiveIntegers",
11975
+ value: 0,
11976
+ valueType: "alias"
11977
+ } } },
11978
+ "variant/default/root": { color: { rest: {
11979
+ type: "foregroundPaletteColors",
11980
+ value: "primary",
11981
+ valueType: "alias"
11982
+ } } },
11983
+ "variant/default/svg": {
11984
+ backgroundColor: { rest: {
11985
+ type: "elevationAliases",
11986
+ value: "elevation-0",
11987
+ valueType: "alias"
11988
+ } },
11989
+ blurBackgroundColorFallback: { rest: {
11990
+ type: "elevationAliases",
11991
+ value: "elevation-0",
11992
+ valueType: "alias"
11993
+ } },
11994
+ fillOpacity: { rest: {
11995
+ type: "opacitySteps",
11996
+ value: "100",
11997
+ valueType: "alias"
11998
+ } },
11999
+ stroke: { rest: {
12000
+ type: "elevationAliases",
12001
+ value: "elevation-0",
12002
+ valueType: "alias"
12003
+ } }
12004
+ }
12005
+ }
11924
12006
  }
11925
12007
  };
11926
12008
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig } from "./generatedConfigs.cjs";
2
+ import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.cjs";
3
3
  import { ComponentSchema } from "../utils/buildConfigSchema.cjs";
4
4
 
5
5
  //#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
@@ -19,6 +19,7 @@ interface UniversalTokensConfigAuto {
19
19
  radio: ComponentSchema<typeof RadioConfig>;
20
20
  switch: ComponentSchema<typeof SwitchConfig>;
21
21
  toast: ComponentSchema<typeof ToastConfig>;
22
+ tooltip: ComponentSchema<typeof TooltipConfig>;
22
23
  }
23
24
  /** All component-level configurations from generated configs */
24
25
  type AutoComponents = UniversalTokensConfigAuto;
@@ -1,5 +1,5 @@
1
1
 
2
- import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig } from "./generatedConfigs.js";
2
+ import { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.js";
3
3
  import { ComponentSchema } from "../utils/buildConfigSchema.js";
4
4
 
5
5
  //#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
@@ -19,6 +19,7 @@ interface UniversalTokensConfigAuto {
19
19
  radio: ComponentSchema<typeof RadioConfig>;
20
20
  switch: ComponentSchema<typeof SwitchConfig>;
21
21
  toast: ComponentSchema<typeof ToastConfig>;
22
+ tooltip: ComponentSchema<typeof TooltipConfig>;
22
23
  }
23
24
  /** All component-level configurations from generated configs */
24
25
  type AutoComponents = UniversalTokensConfigAuto;
@@ -11920,6 +11920,88 @@ const defaultUniversalTokensConfigAuto = {
11920
11920
  } }
11921
11921
  }
11922
11922
  }
11923
+ },
11924
+ tooltip: {
11925
+ defaults: {
11926
+ size: "default",
11927
+ variant: "default"
11928
+ },
11929
+ variables: {
11930
+ "size/default/body": { textVariant: { rest: {
11931
+ type: "textVariants",
11932
+ value: "ui3/emphasized",
11933
+ valueType: "alias"
11934
+ } } },
11935
+ "size/default/icon": { size: { rest: {
11936
+ type: "iconSizes",
11937
+ value: "xs",
11938
+ valueType: "alias"
11939
+ } } },
11940
+ "size/default/root": {
11941
+ gap: { rest: {
11942
+ type: "spacingAliases",
11943
+ value: "1",
11944
+ valueType: "alias"
11945
+ } },
11946
+ shadow: { rest: {
11947
+ type: "elevationAliases",
11948
+ value: "elevation-0",
11949
+ valueType: "alias"
11950
+ } },
11951
+ spacingHorizontal: { rest: {
11952
+ type: "spacingAliases",
11953
+ value: "3",
11954
+ valueType: "alias"
11955
+ } },
11956
+ spacingVertical: { rest: {
11957
+ type: "spacingAliases",
11958
+ value: "2",
11959
+ valueType: "alias"
11960
+ } }
11961
+ },
11962
+ "size/default/svg": { borderRadius: { rest: {
11963
+ type: "borderRadii",
11964
+ value: "md",
11965
+ valueType: "alias"
11966
+ } } },
11967
+ "size/default/title": { textVariant: { rest: {
11968
+ type: "textVariants",
11969
+ value: "ui1/emphasized",
11970
+ valueType: "alias"
11971
+ } } },
11972
+ "variant/default/blur": { backdropBlur: { rest: {
11973
+ type: "positiveIntegers",
11974
+ value: 0,
11975
+ valueType: "alias"
11976
+ } } },
11977
+ "variant/default/root": { color: { rest: {
11978
+ type: "foregroundPaletteColors",
11979
+ value: "primary",
11980
+ valueType: "alias"
11981
+ } } },
11982
+ "variant/default/svg": {
11983
+ backgroundColor: { rest: {
11984
+ type: "elevationAliases",
11985
+ value: "elevation-0",
11986
+ valueType: "alias"
11987
+ } },
11988
+ blurBackgroundColorFallback: { rest: {
11989
+ type: "elevationAliases",
11990
+ value: "elevation-0",
11991
+ valueType: "alias"
11992
+ } },
11993
+ fillOpacity: { rest: {
11994
+ type: "opacitySteps",
11995
+ value: "100",
11996
+ valueType: "alias"
11997
+ } },
11998
+ stroke: { rest: {
11999
+ type: "elevationAliases",
12000
+ value: "elevation-0",
12001
+ valueType: "alias"
12002
+ } }
12003
+ }
12004
+ }
11923
12005
  }
11924
12006
  };
11925
12007
 
@@ -163,6 +163,11 @@ const borderColor = {
163
163
  return false;
164
164
  }
165
165
  };
166
+ const stroke = {
167
+ ...borderColor,
168
+ name: "stroke",
169
+ cssProperties: "stroke"
170
+ };
166
171
  const outlineWidth = {
167
172
  name: "outlineWidth",
168
173
  cssProperties: "outline-width",
@@ -195,16 +200,108 @@ const outlineColor = {
195
200
  "linePaletteColors"
196
201
  ]
197
202
  };
203
+ const borderRadius = {
204
+ name: "borderRadius",
205
+ cssProperties: "border-radius",
206
+ twThemePath: (_, value) => `udsBorderRadius.${value}`,
207
+ possibleFixtures: ["borderRadii"]
208
+ };
209
+ const borderRadiusVar = {
210
+ ...borderRadius,
211
+ name: "borderRadiusVar",
212
+ cssProperties: `--${require_index.BORDER_RADIUS_PREFIX}`
213
+ };
214
+ const spacing = {
215
+ name: "spacing",
216
+ cssProperties: "padding",
217
+ twThemePath: (_, value) => `spacing[${value}]`,
218
+ possibleFixtures: ["spacingAliases"]
219
+ };
220
+ const spacingHorizontal = {
221
+ name: "spacingHorizontal",
222
+ cssProperties: ["padding-right", "padding-left"],
223
+ twThemePath: (_, value) => `spacing[${value}]`,
224
+ possibleFixtures: ["spacingAliases"]
225
+ };
226
+ const spacingVertical = {
227
+ name: "spacingVertical",
228
+ cssProperties: ["padding-top", "padding-bottom"],
229
+ twThemePath: (_, value) => `spacing[${value}]`,
230
+ possibleFixtures: ["spacingAliases"]
231
+ };
232
+ const height = {
233
+ name: "height",
234
+ cssProperties: "height",
235
+ twThemePath: (_, value) => {
236
+ return `height[${value}]`;
237
+ },
238
+ possibleFixtures: ["spacingAliases"]
239
+ };
240
+ const width = {
241
+ name: "width",
242
+ cssProperties: "width",
243
+ twThemePath: (_, value) => {
244
+ return `width[${value}]`;
245
+ },
246
+ possibleFixtures: ["spacingAliases"]
247
+ };
248
+ const shadow = {
249
+ name: "drop shadow",
250
+ cssProperties: "box-shadow",
251
+ twThemePath: () => {
252
+ return ``;
253
+ },
254
+ concatenate: true,
255
+ customValueRenderer: (schemaValue) => {
256
+ const shadowType = "drop";
257
+ const noneValue = "0 0 0 transparent";
258
+ if (schemaValue.valueType === "alias") {
259
+ const noneValue = "0 0 0 transparent";
260
+ if (schemaValue.value === "none") return noneValue;
261
+ if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
262
+ } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => require_index.getShadowLayerValue({
263
+ preset,
264
+ shadowType,
265
+ prefix: index > 0 ? `${index + 1}` : void 0
266
+ }))?.join(", ") || noneValue;
267
+ throw new Error("Invalid valueType");
268
+ },
269
+ possibleFixtures: [
270
+ "shadowVariants",
271
+ "shadowVariantConfig",
272
+ "elevationAliases"
273
+ ]
274
+ };
275
+ const insetShadow = {
276
+ name: "inset shadow",
277
+ cssProperties: "box-shadow",
278
+ twThemePath: () => {
279
+ return ``;
280
+ },
281
+ concatenate: true,
282
+ customValueRenderer: (schemaValue) => {
283
+ const shadowType = "inset";
284
+ const noneValue = "0 0 0 transparent";
285
+ if (schemaValue.valueType === "alias") {
286
+ const noneValue = "0 0 0 transparent";
287
+ if (schemaValue.value === "none") return noneValue;
288
+ if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
289
+ } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => require_index.getShadowLayerValue({
290
+ preset,
291
+ shadowType,
292
+ prefix: index > 0 ? `${index + 1}` : void 0
293
+ }))?.join(", ") || noneValue;
294
+ throw new Error("Invalid valueType");
295
+ },
296
+ possibleFixtures: ["shadowVariantsWithInvert"]
297
+ };
198
298
  const publicProperties = {
199
299
  backgroundColor,
200
300
  borderWidth,
201
- borderRadius: {
202
- name: "borderRadius",
203
- cssProperties: "border-radius",
204
- twThemePath: (_, value) => `udsBorderRadius.${value}`,
205
- possibleFixtures: ["borderRadii"]
206
- },
301
+ borderRadius,
302
+ borderRadiusVar,
207
303
  borderColor,
304
+ stroke,
208
305
  buttonSize: {
209
306
  name: "buttonSize",
210
307
  cssProperties: "--uds-button-size",
@@ -241,6 +338,12 @@ const publicProperties = {
241
338
  twThemePath: (_, value) => `opacity[${value}]`,
242
339
  possibleFixtures: ["opacitySteps"]
243
340
  },
341
+ fillOpacity: {
342
+ name: "fillOpacity",
343
+ cssProperties: "fill-opacity",
344
+ twThemePath: (_, value) => `opacity[${value}]`,
345
+ possibleFixtures: ["opacitySteps"]
346
+ },
244
347
  fontWeight,
245
348
  iconSize: {
246
349
  name: "iconSize",
@@ -248,12 +351,7 @@ const publicProperties = {
248
351
  twThemePath: (_, value) => `sizing.icon.${value}`,
249
352
  possibleFixtures: ["iconSizes"]
250
353
  },
251
- spacing: {
252
- name: "spacing",
253
- cssProperties: "padding",
254
- twThemePath: (_, value) => `spacing[${value}]`,
255
- possibleFixtures: ["spacingAliases"]
256
- },
354
+ spacing,
257
355
  iconVariant: {
258
356
  name: "iconVariant",
259
357
  cssProperties: "--uds-icon-variant",
@@ -265,86 +363,19 @@ const publicProperties = {
265
363
  return String(schemaValue.value);
266
364
  }
267
365
  },
268
- spacingHorizontal: {
269
- name: "spacingHorizontal",
270
- cssProperties: ["padding-right", "padding-left"],
271
- twThemePath: (_, value) => `spacing[${value}]`,
272
- possibleFixtures: ["spacingAliases"]
273
- },
274
- spacingVertical: {
275
- name: "spacingVertical",
276
- cssProperties: ["padding-top", "padding-bottom"],
277
- twThemePath: (_, value) => `spacing[${value}]`,
278
- possibleFixtures: ["spacingAliases"]
279
- },
366
+ spacingHorizontal,
367
+ spacingVertical,
280
368
  textVariant,
281
369
  textDecorationLine,
282
- shadow: {
283
- name: "drop shadow",
284
- cssProperties: "box-shadow",
285
- twThemePath: () => {
286
- return ``;
287
- },
288
- concatenate: true,
289
- customValueRenderer: (schemaValue) => {
290
- const shadowType = "drop";
291
- const noneValue = "0 0 0 transparent";
292
- if (schemaValue.valueType === "alias") {
293
- const noneValue = "0 0 0 transparent";
294
- if (schemaValue.value === "none") return noneValue;
295
- if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
296
- } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => require_index.getShadowLayerValue({
297
- preset,
298
- shadowType,
299
- prefix: index > 0 ? `${index + 1}` : void 0
300
- }))?.join(", ") || noneValue;
301
- throw new Error("Invalid valueType");
302
- },
303
- possibleFixtures: [
304
- "shadowVariants",
305
- "shadowVariantConfig",
306
- "elevationAliases"
307
- ]
308
- },
309
- insetShadow: {
310
- name: "inset shadow",
311
- cssProperties: "box-shadow",
312
- twThemePath: () => {
313
- return ``;
314
- },
315
- concatenate: true,
316
- customValueRenderer: (schemaValue) => {
317
- const shadowType = "inset";
318
- const noneValue = "0 0 0 transparent";
319
- if (schemaValue.valueType === "alias") {
320
- const noneValue = "0 0 0 transparent";
321
- if (schemaValue.value === "none") return noneValue;
322
- if (schemaValue.value !== "custom") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;
323
- } else if (schemaValue.valueType === "custom") return schemaValue.value.map((preset, index) => require_index.getShadowLayerValue({
324
- preset,
325
- shadowType,
326
- prefix: index > 0 ? `${index + 1}` : void 0
327
- }))?.join(", ") || noneValue;
328
- throw new Error("Invalid valueType");
329
- },
330
- possibleFixtures: ["shadowVariantsWithInvert"]
331
- },
332
- height: {
333
- name: "height",
334
- cssProperties: "height",
335
- twThemePath: (_, value) => {
336
- return `height[${value}]`;
337
- },
338
- possibleFixtures: ["spacingAliases"]
339
- },
340
- width: {
341
- name: "width",
342
- cssProperties: "width",
343
- twThemePath: (_, value) => {
344
- return `width[${value}]`;
345
- },
346
- possibleFixtures: ["spacingAliases"]
370
+ shadow,
371
+ shadowVar: {
372
+ ...shadow,
373
+ name: "shadowVar",
374
+ cssProperties: `--${require_index.DROP_SHADOW_PREFIX}`
347
375
  },
376
+ insetShadow,
377
+ height,
378
+ width,
348
379
  scaleEffect: {
349
380
  name: "scaleEffect",
350
381
  cssProperties: require_index.BUTTON_SCALE_EFFECT,
@@ -357,6 +388,27 @@ const publicProperties = {
357
388
  const stringValue = String(value);
358
389
  return String(require_index$1.SCALE_EFFECTS[stringValue] ?? require_index$1.SCALE_EFFECTS.none);
359
390
  }
391
+ },
392
+ backdropBlur: {
393
+ name: "backdropBlur",
394
+ possibleFixtures: ["positiveIntegers"],
395
+ cssProperties: "--uds-backdrop-blur",
396
+ twThemePath: () => {
397
+ return ``;
398
+ },
399
+ customValueRenderer: (schemaValue) => {
400
+ return `blur(${schemaValue.value}px)`;
401
+ }
402
+ },
403
+ blurBackgroundColor: {
404
+ ...backgroundColor,
405
+ name: "blurBackgroundColor",
406
+ cssProperties: `--${require_index.BACKGROUND_BLUR_COLOR_PREFIX}`
407
+ },
408
+ blurBackgroundColorFallback: {
409
+ ...backgroundColor,
410
+ name: "blurBackgroundColorFallback",
411
+ cssProperties: `--${require_index.BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`
360
412
  }
361
413
  };
362
414
  const internalProperties = {
@@ -1,5 +1,6 @@
1
1
 
2
2
  import { ShadowPreset } from "../../types/dist/index.cjs";
3
+ import { ArbitraryFixtures, InferArbitraryType } from "../../fixtures/dist/index.cjs";
3
4
  import { AllPossibleProperties, PossibleStates } from "./types/ComponentConfig.cjs";
4
5
  import { SchemaStateValue } from "./types/ConfigSchema.cjs";
5
6
 
@@ -15,7 +16,7 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
15
16
  name: string;
16
17
  cssProperties: string | string[];
17
18
  twThemePath: (fixtureType: T, value: string) => string;
18
- possibleFixtures: T[];
19
+ possibleFixtures: readonly T[];
19
20
  extendedProperties?: ExtendablePropertiesName[] | ((context: ComponentConfigContext) => ExtendablePropertiesName[] | undefined | false);
20
21
  customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
21
22
  concatenate?: boolean;
@@ -25,7 +26,9 @@ declare const publicProperties: {
25
26
  readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
26
27
  readonly borderWidth: ConfigurableProperty<"elevationAliases" | "borderWidths" | "spacingAliases", unknown>;
27
28
  readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
29
+ readonly borderRadiusVar: ConfigurableProperty<"borderRadii", unknown>;
28
30
  readonly borderColor: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
31
+ readonly stroke: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
29
32
  readonly buttonSize: ConfigurableProperty<"buttonSizes", unknown>;
30
33
  readonly buttonVariant: ConfigurableProperty<"buttonVariantsFlat", unknown>;
31
34
  readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
@@ -37,6 +40,7 @@ declare const publicProperties: {
37
40
  readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
38
41
  readonly color: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors", unknown>;
39
42
  readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
43
+ readonly fillOpacity: ConfigurableProperty<"opacitySteps", unknown>;
40
44
  readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
41
45
  readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
42
46
  readonly spacing: ConfigurableProperty<"spacingAliases", unknown>;
@@ -46,10 +50,14 @@ declare const publicProperties: {
46
50
  readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
47
51
  readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
48
52
  readonly shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
53
+ readonly shadowVar: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
49
54
  readonly insetShadow: ConfigurableProperty<"shadowVariantConfig" | "shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
50
55
  readonly height: ConfigurableProperty<"spacingAliases", unknown>;
51
56
  readonly width: ConfigurableProperty<"spacingAliases", unknown>;
52
57
  readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
58
+ readonly backdropBlur: ConfigurableProperty<"positiveIntegers", unknown>;
59
+ readonly blurBackgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
60
+ readonly blurBackgroundColorFallback: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
53
61
  };
54
62
  declare const configurableProperties: {
55
63
  outlineWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
@@ -59,7 +67,9 @@ declare const configurableProperties: {
59
67
  backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
60
68
  borderWidth: ConfigurableProperty<"elevationAliases" | "borderWidths" | "spacingAliases", unknown>;
61
69
  borderRadius: ConfigurableProperty<"borderRadii", unknown>;
70
+ borderRadiusVar: ConfigurableProperty<"borderRadii", unknown>;
62
71
  borderColor: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
72
+ stroke: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
63
73
  buttonSize: ConfigurableProperty<"buttonSizes", unknown>;
64
74
  buttonVariant: ConfigurableProperty<"buttonVariantsFlat", unknown>;
65
75
  fontFamily: ConfigurableProperty<"textVariants", unknown>;
@@ -71,6 +81,7 @@ declare const configurableProperties: {
71
81
  gap: ConfigurableProperty<"spacingAliases", unknown>;
72
82
  color: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors", unknown>;
73
83
  opacity: ConfigurableProperty<"opacitySteps", unknown>;
84
+ fillOpacity: ConfigurableProperty<"opacitySteps", unknown>;
74
85
  fontWeight: ConfigurableProperty<"textVariants", unknown>;
75
86
  iconSize: ConfigurableProperty<"iconSizes", unknown>;
76
87
  spacing: ConfigurableProperty<"spacingAliases", unknown>;
@@ -80,10 +91,14 @@ declare const configurableProperties: {
80
91
  textVariant: ConfigurableProperty<"textVariants", unknown>;
81
92
  textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
82
93
  shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
94
+ shadowVar: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
83
95
  insetShadow: ConfigurableProperty<"shadowVariantConfig" | "shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
84
96
  height: ConfigurableProperty<"spacingAliases", unknown>;
85
97
  width: ConfigurableProperty<"spacingAliases", unknown>;
86
98
  scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
99
+ backdropBlur: ConfigurableProperty<"positiveIntegers", unknown>;
100
+ blurBackgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
101
+ blurBackgroundColorFallback: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
87
102
  };
88
103
  type ExtendablePropertiesName = keyof typeof configurableProperties;
89
104
  type ConfigurablePropertiesName = keyof typeof publicProperties;
@@ -95,7 +110,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
95
110
  skipRestState?: boolean;
96
111
  pseudoStates?: PossibleStates[];
97
112
  supportsCustom?: boolean;
98
- defaults: { [K in O]: V[number][number] };
113
+ defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>) };
99
114
  } //#endregion
100
115
  //#endregion
101
- export { type ComponentConfigContext, type ConfigurablePropertiesName, type ExtendablePropertiesName, type SelectedConfigurableProperty, configurableProperties };
116
+ export { type ComponentConfigContext, type ConfigurablePropertiesName, type ConfigurableProperty, type ExtendablePropertiesName, type SelectedConfigurableProperty, configurableProperties };
@@ -1,5 +1,6 @@
1
1
 
2
2
  import { ShadowPreset } from "../../types/dist/index.js";
3
+ import { ArbitraryFixtures, InferArbitraryType } from "../../fixtures/dist/index.js";
3
4
  import { AllPossibleProperties, PossibleStates } from "./types/ComponentConfig.js";
4
5
  import { SchemaStateValue } from "./types/ConfigSchema.js";
5
6
 
@@ -15,7 +16,7 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
15
16
  name: string;
16
17
  cssProperties: string | string[];
17
18
  twThemePath: (fixtureType: T, value: string) => string;
18
- possibleFixtures: T[];
19
+ possibleFixtures: readonly T[];
19
20
  extendedProperties?: ExtendablePropertiesName[] | ((context: ComponentConfigContext) => ExtendablePropertiesName[] | undefined | false);
20
21
  customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
21
22
  concatenate?: boolean;
@@ -25,7 +26,9 @@ declare const publicProperties: {
25
26
  readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
26
27
  readonly borderWidth: ConfigurableProperty<"elevationAliases" | "borderWidths" | "spacingAliases", unknown>;
27
28
  readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
29
+ readonly borderRadiusVar: ConfigurableProperty<"borderRadii", unknown>;
28
30
  readonly borderColor: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
31
+ readonly stroke: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
29
32
  readonly buttonSize: ConfigurableProperty<"buttonSizes", unknown>;
30
33
  readonly buttonVariant: ConfigurableProperty<"buttonVariantsFlat", unknown>;
31
34
  readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
@@ -37,6 +40,7 @@ declare const publicProperties: {
37
40
  readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
38
41
  readonly color: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors", unknown>;
39
42
  readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
43
+ readonly fillOpacity: ConfigurableProperty<"opacitySteps", unknown>;
40
44
  readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
41
45
  readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
42
46
  readonly spacing: ConfigurableProperty<"spacingAliases", unknown>;
@@ -46,10 +50,14 @@ declare const publicProperties: {
46
50
  readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
47
51
  readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
48
52
  readonly shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
53
+ readonly shadowVar: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
49
54
  readonly insetShadow: ConfigurableProperty<"shadowVariantConfig" | "shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
50
55
  readonly height: ConfigurableProperty<"spacingAliases", unknown>;
51
56
  readonly width: ConfigurableProperty<"spacingAliases", unknown>;
52
57
  readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
58
+ readonly backdropBlur: ConfigurableProperty<"positiveIntegers", unknown>;
59
+ readonly blurBackgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
60
+ readonly blurBackgroundColorFallback: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
53
61
  };
54
62
  declare const configurableProperties: {
55
63
  outlineWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
@@ -59,7 +67,9 @@ declare const configurableProperties: {
59
67
  backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
60
68
  borderWidth: ConfigurableProperty<"elevationAliases" | "borderWidths" | "spacingAliases", unknown>;
61
69
  borderRadius: ConfigurableProperty<"borderRadii", unknown>;
70
+ borderRadiusVar: ConfigurableProperty<"borderRadii", unknown>;
62
71
  borderColor: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
72
+ stroke: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors", unknown>;
63
73
  buttonSize: ConfigurableProperty<"buttonSizes", unknown>;
64
74
  buttonVariant: ConfigurableProperty<"buttonVariantsFlat", unknown>;
65
75
  fontFamily: ConfigurableProperty<"textVariants", unknown>;
@@ -71,6 +81,7 @@ declare const configurableProperties: {
71
81
  gap: ConfigurableProperty<"spacingAliases", unknown>;
72
82
  color: ConfigurableProperty<"spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors", unknown>;
73
83
  opacity: ConfigurableProperty<"opacitySteps", unknown>;
84
+ fillOpacity: ConfigurableProperty<"opacitySteps", unknown>;
74
85
  fontWeight: ConfigurableProperty<"textVariants", unknown>;
75
86
  iconSize: ConfigurableProperty<"iconSizes", unknown>;
76
87
  spacing: ConfigurableProperty<"spacingAliases", unknown>;
@@ -80,10 +91,14 @@ declare const configurableProperties: {
80
91
  textVariant: ConfigurableProperty<"textVariants", unknown>;
81
92
  textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
82
93
  shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
94
+ shadowVar: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
83
95
  insetShadow: ConfigurableProperty<"shadowVariantConfig" | "shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
84
96
  height: ConfigurableProperty<"spacingAliases", unknown>;
85
97
  width: ConfigurableProperty<"spacingAliases", unknown>;
86
98
  scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
99
+ backdropBlur: ConfigurableProperty<"positiveIntegers", unknown>;
100
+ blurBackgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
101
+ blurBackgroundColorFallback: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases", unknown>;
87
102
  };
88
103
  type ExtendablePropertiesName = keyof typeof configurableProperties;
89
104
  type ConfigurablePropertiesName = keyof typeof publicProperties;
@@ -95,7 +110,7 @@ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O e
95
110
  skipRestState?: boolean;
96
111
  pseudoStates?: PossibleStates[];
97
112
  supportsCustom?: boolean;
98
- defaults: { [K in O]: V[number][number] };
113
+ defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>) };
99
114
  } //#endregion
100
115
  //#endregion
101
- export { type ComponentConfigContext, type ConfigurablePropertiesName, type ExtendablePropertiesName, type SelectedConfigurableProperty, configurableProperties };
116
+ export { type ComponentConfigContext, type ConfigurablePropertiesName, type ConfigurableProperty, type ExtendablePropertiesName, type SelectedConfigurableProperty, configurableProperties };