@yahoo/uds 3.133.0-beta.2 → 3.133.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 (1107) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +12 -22
  2. package/dist/_virtual/_rolldown/runtime.js +6 -11
  3. package/dist/automated-config/dist/generated/autoVariants.cjs +1 -3
  4. package/dist/automated-config/dist/generated/autoVariants.js +1 -2
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +1 -3
  6. package/dist/automated-config/dist/generated/generatedConfigs.js +1 -2
  7. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +1 -3
  8. package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +1 -2
  9. package/dist/automated-config/dist/mapTextVariantFixtureToValue.cjs +3 -5
  10. package/dist/automated-config/dist/mapTextVariantFixtureToValue.js +1 -3
  11. package/dist/automated-config/dist/properties.cjs +7 -10
  12. package/dist/automated-config/dist/properties.d.cts +1 -1
  13. package/dist/automated-config/dist/properties.d.ts +1 -1
  14. package/dist/automated-config/dist/properties.js +2 -5
  15. package/dist/automated-config/dist/utils/assertUnreachable.cjs +1 -3
  16. package/dist/automated-config/dist/utils/assertUnreachable.js +1 -2
  17. package/dist/automated-config/dist/utils/buildConfigSchema.cjs +4 -6
  18. package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +1 -1
  19. package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +1 -1
  20. package/dist/automated-config/dist/utils/buildConfigSchema.js +1 -3
  21. package/dist/automated-config/dist/utils/cartesianProduct.cjs +1 -3
  22. package/dist/automated-config/dist/utils/cartesianProduct.js +1 -2
  23. package/dist/automated-config/dist/utils/coalesceConfigVariant.cjs +3 -5
  24. package/dist/automated-config/dist/utils/coalesceConfigVariant.js +1 -3
  25. package/dist/automated-config/dist/utils/defaults.cjs +1 -3
  26. package/dist/automated-config/dist/utils/defaults.js +1 -2
  27. package/dist/automated-config/dist/utils/generateDefaultClassName.cjs +1 -3
  28. package/dist/automated-config/dist/utils/generateDefaultClassName.js +1 -2
  29. package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.cjs +1 -3
  30. package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.js +1 -2
  31. package/dist/automated-config/dist/utils/generateSchemaKey.cjs +1 -3
  32. package/dist/automated-config/dist/utils/generateSchemaKey.js +1 -2
  33. package/dist/automated-config/dist/utils/getConfigComponentVariant.cjs +2 -4
  34. package/dist/automated-config/dist/utils/getConfigComponentVariant.js +1 -3
  35. package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.cjs +5 -7
  36. package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.js +1 -3
  37. package/dist/automated-config/dist/utils/getConfigVariantProperties.cjs +3 -5
  38. package/dist/automated-config/dist/utils/getConfigVariantProperties.js +1 -3
  39. package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.cjs +3 -5
  40. package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.js +1 -3
  41. package/dist/automated-config/dist/utils/getConfigVariants.cjs +4 -6
  42. package/dist/automated-config/dist/utils/getConfigVariants.js +1 -3
  43. package/dist/automated-config/dist/utils/index.cjs +17 -19
  44. package/dist/automated-config/dist/utils/index.js +11 -13
  45. package/dist/automated-config/dist/utils/mapColorFixtureToValue.cjs +4 -6
  46. package/dist/automated-config/dist/utils/mapColorFixtureToValue.js +3 -5
  47. package/dist/automated-config/dist/utils/mapValues.cjs +1 -3
  48. package/dist/automated-config/dist/utils/mapValues.js +1 -2
  49. package/dist/automated-config/dist/utils/subcomponents.cjs +1 -3
  50. package/dist/automated-config/dist/utils/subcomponents.js +1 -2
  51. package/dist/automated-config/dist/utils/variantConfigGuards.cjs +1 -3
  52. package/dist/automated-config/dist/utils/variantConfigGuards.js +1 -2
  53. package/dist/cli/commands/sync.cjs +16 -18
  54. package/dist/cli/commands/sync.js +1 -3
  55. package/dist/cli/commands/utils/sortKeys.cjs +2 -4
  56. package/dist/cli/commands/utils/sortKeys.js +1 -2
  57. package/dist/cli/commands/version.cjs +5 -7
  58. package/dist/cli/commands/version.js +1 -3
  59. package/dist/cli/dist/cli.cjs +8 -10
  60. package/dist/cli/dist/cli.js +1 -3
  61. package/dist/cli/dist/commands/codemod/codemod.cjs +6 -8
  62. package/dist/cli/dist/commands/codemod/codemod.js +1 -3
  63. package/dist/cli/dist/commands/editor-rules.cjs +6 -8
  64. package/dist/cli/dist/commands/editor-rules.js +1 -3
  65. package/dist/cli/dist/lib/args.cjs +1 -3
  66. package/dist/cli/dist/lib/args.js +1 -2
  67. package/dist/cli/dist/lib/box.cjs +3 -5
  68. package/dist/cli/dist/lib/box.js +1 -3
  69. package/dist/cli/dist/lib/colors.cjs +1 -3
  70. package/dist/cli/dist/lib/colors.js +1 -2
  71. package/dist/cli/dist/lib/print.cjs +1 -3
  72. package/dist/cli/dist/lib/print.js +1 -2
  73. package/dist/cli/dist/utils/analytics.cjs +2 -4
  74. package/dist/cli/dist/utils/analytics.js +1 -3
  75. package/dist/cli/dist/utils/getCommandHelp.cjs +3 -5
  76. package/dist/cli/dist/utils/getCommandHelp.js +1 -3
  77. package/dist/cli/dist/utils/getDirChoices.cjs +3 -5
  78. package/dist/cli/dist/utils/getDirChoices.js +1 -3
  79. package/dist/cli/dist/utils/rules/config.cjs +2 -4
  80. package/dist/cli/dist/utils/rules/config.js +1 -3
  81. package/dist/cli/runner.cjs +13 -15
  82. package/dist/cli/runner.js +1 -3
  83. package/dist/components/Banner/Banner.cjs +9 -11
  84. package/dist/components/Banner/Banner.d.cts +3 -4
  85. package/dist/components/Banner/Banner.d.ts +3 -4
  86. package/dist/components/Banner/Banner.js +3 -5
  87. package/dist/components/Banner/BannerContent.cjs +4 -6
  88. package/dist/components/Banner/BannerContent.d.cts +2 -2
  89. package/dist/components/Banner/BannerContent.d.ts +2 -2
  90. package/dist/components/Banner/BannerContent.js +1 -3
  91. package/dist/components/Banner/BannerDescription.cjs +5 -7
  92. package/dist/components/Banner/BannerDescription.d.cts +2 -2
  93. package/dist/components/Banner/BannerDescription.d.ts +2 -2
  94. package/dist/components/Banner/BannerDescription.js +1 -3
  95. package/dist/components/Banner/BannerTitle.cjs +5 -7
  96. package/dist/components/Banner/BannerTitle.d.cts +2 -2
  97. package/dist/components/Banner/BannerTitle.d.ts +2 -2
  98. package/dist/components/Banner/BannerTitle.js +1 -3
  99. package/dist/components/Banner/index.cjs +6 -7
  100. package/dist/components/Banner/index.js +1 -2
  101. package/dist/components/Banner/utils.cjs +3 -5
  102. package/dist/components/Banner/utils.d.cts +1 -1
  103. package/dist/components/Banner/utils.d.ts +1 -1
  104. package/dist/components/Banner/utils.js +1 -3
  105. package/dist/components/Box.cjs +5 -7
  106. package/dist/components/Box.d.cts +3 -4
  107. package/dist/components/Box.d.ts +3 -4
  108. package/dist/components/Box.js +1 -3
  109. package/dist/components/Divider/Divider.cjs +4 -6
  110. package/dist/components/Divider/Divider.d.cts +2 -2
  111. package/dist/components/Divider/Divider.d.ts +2 -2
  112. package/dist/components/Divider/Divider.js +1 -3
  113. package/dist/components/Divider/DividerCore.cjs +8 -10
  114. package/dist/components/Divider/DividerCore.d.cts +4 -5
  115. package/dist/components/Divider/DividerCore.d.ts +4 -5
  116. package/dist/components/Divider/DividerCore.js +2 -4
  117. package/dist/components/Divider/DividerInternal.cjs +5 -7
  118. package/dist/components/Divider/DividerInternal.d.cts +3 -4
  119. package/dist/components/Divider/DividerInternal.d.ts +3 -4
  120. package/dist/components/Divider/DividerInternal.js +1 -3
  121. package/dist/components/Divider/index.cjs +3 -4
  122. package/dist/components/Divider/index.js +1 -2
  123. package/dist/components/FormLabel.cjs +5 -7
  124. package/dist/components/FormLabel.d.cts +3 -4
  125. package/dist/components/FormLabel.d.ts +3 -4
  126. package/dist/components/FormLabel.js +1 -3
  127. package/dist/components/HStack.cjs +5 -7
  128. package/dist/components/HStack.d.cts +3 -4
  129. package/dist/components/HStack.d.ts +3 -4
  130. package/dist/components/HStack.js +1 -3
  131. package/dist/components/Icon.cjs +11 -22
  132. package/dist/components/Icon.d.cts +3 -3
  133. package/dist/components/Icon.d.ts +3 -3
  134. package/dist/components/Icon.js +8 -19
  135. package/dist/components/IconSlot.cjs +11 -32
  136. package/dist/components/IconSlot.d.cts +2 -4
  137. package/dist/components/IconSlot.d.ts +2 -4
  138. package/dist/components/IconSlot.js +7 -29
  139. package/dist/components/Image.cjs +4 -6
  140. package/dist/components/Image.d.cts +3 -4
  141. package/dist/components/Image.d.ts +3 -4
  142. package/dist/components/Image.js +1 -3
  143. package/dist/components/Link.cjs +5 -7
  144. package/dist/components/Link.d.cts +3 -4
  145. package/dist/components/Link.d.ts +3 -4
  146. package/dist/components/Link.js +1 -3
  147. package/dist/components/Scrim.cjs +5 -7
  148. package/dist/components/Scrim.d.cts +2 -2
  149. package/dist/components/Scrim.d.ts +2 -2
  150. package/dist/components/Scrim.js +1 -3
  151. package/dist/components/SvgFloatingOverlay.cjs +5 -7
  152. package/dist/components/SvgFloatingOverlay.d.cts +2 -2
  153. package/dist/components/SvgFloatingOverlay.d.ts +2 -2
  154. package/dist/components/SvgFloatingOverlay.js +1 -3
  155. package/dist/components/Text.cjs +5 -7
  156. package/dist/components/Text.d.cts +3 -4
  157. package/dist/components/Text.d.ts +3 -4
  158. package/dist/components/Text.js +1 -3
  159. package/dist/components/VStack.cjs +5 -7
  160. package/dist/components/VStack.d.cts +3 -4
  161. package/dist/components/VStack.d.ts +3 -4
  162. package/dist/components/VStack.js +1 -3
  163. package/dist/components/client/AnimateHeightChange.cjs +4 -6
  164. package/dist/components/client/AnimateHeightChange.d.cts +2 -2
  165. package/dist/components/client/AnimateHeightChange.d.ts +2 -2
  166. package/dist/components/client/AnimateHeightChange.js +1 -3
  167. package/dist/components/{Avatar → client/Avatar}/Avatar.cjs +8 -25
  168. package/dist/components/{Avatar → client/Avatar}/Avatar.d.cts +5 -5
  169. package/dist/components/{Avatar → client/Avatar}/Avatar.d.ts +6 -5
  170. package/dist/components/{Avatar → client/Avatar}/Avatar.js +6 -23
  171. package/dist/components/{Avatar → client/Avatar}/AvatarIcon.cjs +14 -15
  172. package/dist/components/{Avatar → client/Avatar}/AvatarIcon.d.cts +5 -7
  173. package/dist/components/{Avatar → client/Avatar}/AvatarIcon.d.ts +6 -7
  174. package/dist/components/{Avatar → client/Avatar}/AvatarIcon.js +10 -11
  175. package/dist/components/client/Avatar/AvatarImage.cjs +61 -42
  176. package/dist/components/client/Avatar/AvatarImage.d.cts +17 -4
  177. package/dist/components/client/Avatar/AvatarImage.d.ts +17 -4
  178. package/dist/components/client/Avatar/AvatarImage.js +58 -39
  179. package/dist/components/{Avatar → client/Avatar}/AvatarText.cjs +13 -15
  180. package/dist/components/{Avatar → client/Avatar}/AvatarText.d.cts +5 -7
  181. package/dist/components/{Avatar → client/Avatar}/AvatarText.d.ts +6 -7
  182. package/dist/components/{Avatar → client/Avatar}/AvatarText.js +8 -10
  183. package/dist/components/client/Avatar/index.cjs +9 -4
  184. package/dist/components/client/Avatar/index.d.cts +5 -3
  185. package/dist/components/client/Avatar/index.d.ts +5 -3
  186. package/dist/components/client/Avatar/index.js +4 -2
  187. package/dist/components/{Avatar → client/Avatar}/utils.cjs +7 -8
  188. package/dist/components/{Avatar → client/Avatar}/utils.d.cts +3 -4
  189. package/dist/components/{Avatar → client/Avatar}/utils.d.ts +4 -4
  190. package/dist/components/{Avatar → client/Avatar}/utils.js +4 -5
  191. package/dist/components/client/Badge.cjs +6 -8
  192. package/dist/components/client/Badge.d.cts +1 -2
  193. package/dist/components/client/Badge.d.ts +1 -2
  194. package/dist/components/client/Badge.js +2 -4
  195. package/dist/components/client/BottomSheet/BottomSheet.cjs +15 -17
  196. package/dist/components/client/BottomSheet/BottomSheet.d.cts +3 -3
  197. package/dist/components/client/BottomSheet/BottomSheet.d.ts +3 -3
  198. package/dist/components/client/BottomSheet/BottomSheet.js +1 -3
  199. package/dist/components/client/BottomSheet/BottomSheetContent.cjs +7 -9
  200. package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +3 -3
  201. package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +3 -3
  202. package/dist/components/client/BottomSheet/BottomSheetContent.js +1 -3
  203. package/dist/components/client/BottomSheet/BottomSheetDismiss.cjs +3 -5
  204. package/dist/components/client/BottomSheet/BottomSheetDismiss.d.cts +2 -2
  205. package/dist/components/client/BottomSheet/BottomSheetDismiss.d.ts +2 -2
  206. package/dist/components/client/BottomSheet/BottomSheetDismiss.js +1 -3
  207. package/dist/components/client/BottomSheet/BottomSheetHandle.cjs +5 -7
  208. package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +3 -3
  209. package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +3 -3
  210. package/dist/components/client/BottomSheet/BottomSheetHandle.js +1 -3
  211. package/dist/components/client/BottomSheet/BottomSheetHeader.cjs +6 -8
  212. package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +3 -3
  213. package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +3 -3
  214. package/dist/components/client/BottomSheet/BottomSheetHeader.js +2 -4
  215. package/dist/components/client/BottomSheet/BottomSheetInternalContext.cjs +3 -5
  216. package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.cts +2 -2
  217. package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.ts +2 -2
  218. package/dist/components/client/BottomSheet/BottomSheetInternalContext.js +1 -3
  219. package/dist/components/client/BottomSheet/BottomSheetProvider.cjs +5 -7
  220. package/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +2 -2
  221. package/dist/components/client/BottomSheet/BottomSheetProvider.d.ts +2 -2
  222. package/dist/components/client/BottomSheet/BottomSheetProvider.js +1 -3
  223. package/dist/components/client/BottomSheet/BottomSheetTrigger.cjs +3 -5
  224. package/dist/components/client/BottomSheet/BottomSheetTrigger.d.cts +2 -2
  225. package/dist/components/client/BottomSheet/BottomSheetTrigger.d.ts +2 -2
  226. package/dist/components/client/BottomSheet/BottomSheetTrigger.js +1 -3
  227. package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.cjs +3 -5
  228. package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +2 -2
  229. package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.ts +2 -2
  230. package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.js +1 -3
  231. package/dist/components/client/BottomSheet/index.cjs +10 -11
  232. package/dist/components/client/BottomSheet/index.js +1 -2
  233. package/dist/components/client/BottomSheet/useBottomSheetDrag.cjs +5 -7
  234. package/dist/components/client/BottomSheet/useBottomSheetDrag.js +1 -3
  235. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.cjs +5 -7
  236. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +1 -2
  237. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +1 -2
  238. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.js +1 -3
  239. package/dist/components/client/BottomSheet/useBottomSheetStore.cjs +4 -6
  240. package/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +2 -2
  241. package/dist/components/client/BottomSheet/useBottomSheetStore.d.ts +2 -2
  242. package/dist/components/client/BottomSheet/useBottomSheetStore.js +1 -3
  243. package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.cjs +3 -5
  244. package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.cts +2 -2
  245. package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.ts +2 -2
  246. package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.js +1 -3
  247. package/dist/components/client/BottomSheet/useExpansionMargins.cjs +3 -5
  248. package/dist/components/client/BottomSheet/useExpansionMargins.js +1 -3
  249. package/dist/components/client/BottomSheet/useViewportHeight.cjs +4 -6
  250. package/dist/components/client/BottomSheet/useViewportHeight.js +1 -3
  251. package/dist/components/client/BottomSheet/useVirtualKeyboard.cjs +4 -6
  252. package/dist/components/client/BottomSheet/useVirtualKeyboard.js +1 -3
  253. package/dist/components/client/BottomSheet/utils.cjs +4 -6
  254. package/dist/components/client/BottomSheet/utils.d.cts +1 -1
  255. package/dist/components/client/BottomSheet/utils.d.ts +1 -1
  256. package/dist/components/client/BottomSheet/utils.js +1 -3
  257. package/dist/components/client/Button.cjs +15 -17
  258. package/dist/components/client/Button.d.cts +1 -2
  259. package/dist/components/client/Button.d.ts +1 -2
  260. package/dist/components/client/Button.js +6 -8
  261. package/dist/components/client/Checkbox.cjs +9 -11
  262. package/dist/components/client/Checkbox.d.cts +1 -2
  263. package/dist/components/client/Checkbox.d.ts +1 -2
  264. package/dist/components/client/Checkbox.js +3 -5
  265. package/dist/components/client/Chip/Chip.cjs +7 -9
  266. package/dist/components/client/Chip/Chip.d.cts +0 -1
  267. package/dist/components/client/Chip/Chip.d.ts +0 -1
  268. package/dist/components/client/Chip/Chip.js +2 -4
  269. package/dist/components/client/Chip/ChipBase.cjs +7 -9
  270. package/dist/components/client/Chip/ChipBase.d.cts +1 -2
  271. package/dist/components/client/Chip/ChipBase.d.ts +1 -2
  272. package/dist/components/client/Chip/ChipBase.js +2 -4
  273. package/dist/components/client/Chip/ChipButton.cjs +6 -8
  274. package/dist/components/client/Chip/ChipButton.d.cts +1 -2
  275. package/dist/components/client/Chip/ChipButton.d.ts +1 -2
  276. package/dist/components/client/Chip/ChipButton.js +2 -4
  277. package/dist/components/client/Chip/ChipDismissible.cjs +9 -11
  278. package/dist/components/client/Chip/ChipDismissible.d.cts +1 -2
  279. package/dist/components/client/Chip/ChipDismissible.d.ts +1 -2
  280. package/dist/components/client/Chip/ChipDismissible.js +3 -5
  281. package/dist/components/client/Chip/ChipLink.cjs +6 -8
  282. package/dist/components/client/Chip/ChipLink.d.cts +1 -2
  283. package/dist/components/client/Chip/ChipLink.d.ts +1 -2
  284. package/dist/components/client/Chip/ChipLink.js +2 -4
  285. package/dist/components/client/Chip/ChipToggle.cjs +7 -10
  286. package/dist/components/client/Chip/ChipToggle.d.cts +1 -2
  287. package/dist/components/client/Chip/ChipToggle.d.ts +1 -2
  288. package/dist/components/client/Chip/ChipToggle.js +3 -6
  289. package/dist/components/client/Chip/index.cjs +7 -8
  290. package/dist/components/client/Chip/index.js +1 -2
  291. package/dist/components/client/IconButton.cjs +14 -21
  292. package/dist/components/client/IconButton.d.cts +2 -3
  293. package/dist/components/client/IconButton.d.ts +2 -3
  294. package/dist/components/client/IconButton.js +6 -13
  295. package/dist/components/client/Input/Input.cjs +18 -16
  296. package/dist/components/client/Input/Input.d.cts +3 -4
  297. package/dist/components/client/Input/Input.d.ts +3 -4
  298. package/dist/components/client/Input/Input.js +11 -9
  299. package/dist/components/client/Input/InputHelpText.cjs +6 -8
  300. package/dist/components/client/Input/InputHelpText.d.cts +2 -2
  301. package/dist/components/client/Input/InputHelpText.d.ts +2 -2
  302. package/dist/components/client/Input/InputHelpText.js +1 -3
  303. package/dist/components/client/Input/InputHelpTextInternal.cjs +6 -8
  304. package/dist/components/client/Input/InputHelpTextInternal.d.cts +3 -4
  305. package/dist/components/client/Input/InputHelpTextInternal.d.ts +3 -4
  306. package/dist/components/client/Input/InputHelpTextInternal.js +1 -3
  307. package/dist/components/client/Input/index.cjs +4 -5
  308. package/dist/components/client/Input/index.js +1 -2
  309. package/dist/components/client/Menu/Menu.Content.cjs +5 -7
  310. package/dist/components/client/Menu/Menu.Content.d.cts +3 -4
  311. package/dist/components/client/Menu/Menu.Content.d.ts +3 -4
  312. package/dist/components/client/Menu/Menu.Content.js +1 -3
  313. package/dist/components/client/Menu/Menu.Divider.cjs +5 -7
  314. package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
  315. package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
  316. package/dist/components/client/Menu/Menu.Divider.js +1 -3
  317. package/dist/components/client/Menu/Menu.Item.cjs +5 -7
  318. package/dist/components/client/Menu/Menu.Item.d.cts +3 -4
  319. package/dist/components/client/Menu/Menu.Item.d.ts +3 -4
  320. package/dist/components/client/Menu/Menu.Item.js +1 -3
  321. package/dist/components/client/Menu/Menu.ItemBase.cjs +7 -9
  322. package/dist/components/client/Menu/Menu.ItemBase.d.cts +3 -4
  323. package/dist/components/client/Menu/Menu.ItemBase.d.ts +3 -4
  324. package/dist/components/client/Menu/Menu.ItemBase.js +2 -4
  325. package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +6 -8
  326. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +3 -4
  327. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +3 -4
  328. package/dist/components/client/Menu/Menu.ItemCheckbox.js +2 -4
  329. package/dist/components/client/Menu/Menu.Provider.cjs +6 -8
  330. package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
  331. package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
  332. package/dist/components/client/Menu/Menu.Provider.js +1 -3
  333. package/dist/components/client/Menu/Menu.Trigger.cjs +5 -7
  334. package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
  335. package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
  336. package/dist/components/client/Menu/Menu.Trigger.js +1 -3
  337. package/dist/components/client/Menu/Menu.cjs +8 -9
  338. package/dist/components/client/Menu/Menu.index.cjs +29 -31
  339. package/dist/components/client/Menu/Menu.index.js +1 -3
  340. package/dist/components/client/Menu/Menu.js +1 -2
  341. package/dist/components/client/Menu/index.cjs +8 -9
  342. package/dist/components/client/Menu/index.d.cts +0 -1
  343. package/dist/components/client/Menu/index.d.ts +0 -1
  344. package/dist/components/client/Menu/index.js +1 -2
  345. package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +2 -4
  346. package/dist/components/client/Menu/utils/transformAriakitPlacement.js +1 -2
  347. package/dist/components/client/Popover/Popover.cjs +5 -7
  348. package/dist/components/client/Popover/Popover.d.cts +3 -3
  349. package/dist/components/client/Popover/Popover.d.ts +3 -3
  350. package/dist/components/client/Popover/Popover.js +1 -3
  351. package/dist/components/client/Popover/PopoverContent.cjs +15 -17
  352. package/dist/components/client/Popover/PopoverContent.d.cts +3 -4
  353. package/dist/components/client/Popover/PopoverContent.d.ts +3 -4
  354. package/dist/components/client/Popover/PopoverContent.js +4 -6
  355. package/dist/components/client/Popover/PopoverContext.cjs +4 -7
  356. package/dist/components/client/Popover/PopoverContext.d.cts +2 -2
  357. package/dist/components/client/Popover/PopoverContext.d.ts +2 -2
  358. package/dist/components/client/Popover/PopoverContext.js +1 -3
  359. package/dist/components/client/Popover/PopoverTrigger.cjs +4 -6
  360. package/dist/components/client/Popover/PopoverTrigger.d.cts +3 -3
  361. package/dist/components/client/Popover/PopoverTrigger.d.ts +3 -3
  362. package/dist/components/client/Popover/PopoverTrigger.js +1 -3
  363. package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +3 -5
  364. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +3 -3
  365. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +3 -3
  366. package/dist/components/client/Popover/UDSPopoverConfigProvider.js +1 -3
  367. package/dist/components/client/Popover/index.cjs +6 -7
  368. package/dist/components/client/Popover/index.d.cts +1 -1
  369. package/dist/components/client/Popover/index.d.ts +1 -1
  370. package/dist/components/client/Popover/index.js +1 -2
  371. package/dist/components/client/Pressable.cjs +5 -7
  372. package/dist/components/client/Pressable.d.cts +3 -4
  373. package/dist/components/client/Pressable.d.ts +3 -4
  374. package/dist/components/client/Pressable.js +1 -3
  375. package/dist/components/client/Radio/Radio.cjs +8 -10
  376. package/dist/components/client/Radio/Radio.d.cts +1 -2
  377. package/dist/components/client/Radio/Radio.d.ts +1 -2
  378. package/dist/components/client/Radio/Radio.js +2 -4
  379. package/dist/components/client/Radio/RadioGroupProvider.cjs +6 -8
  380. package/dist/components/client/Radio/RadioGroupProvider.d.cts +1 -2
  381. package/dist/components/client/Radio/RadioGroupProvider.d.ts +1 -2
  382. package/dist/components/client/Radio/RadioGroupProvider.js +2 -4
  383. package/dist/components/client/Radio/RadioGroupStore.cjs +3 -5
  384. package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
  385. package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
  386. package/dist/components/client/Radio/RadioGroupStore.js +1 -3
  387. package/dist/components/client/Radio/index.cjs +4 -5
  388. package/dist/components/client/Radio/index.js +1 -2
  389. package/dist/components/client/Radio/useRadioGroup.cjs +4 -6
  390. package/dist/components/client/Radio/useRadioGroup.js +1 -3
  391. package/dist/components/client/SpringMotionConfig.cjs +6 -8
  392. package/dist/components/client/SpringMotionConfig.d.cts +1 -2
  393. package/dist/components/client/SpringMotionConfig.d.ts +1 -2
  394. package/dist/components/client/SpringMotionConfig.js +1 -3
  395. package/dist/components/client/Switch.cjs +8 -10
  396. package/dist/components/client/Switch.d.cts +1 -2
  397. package/dist/components/client/Switch.d.ts +1 -2
  398. package/dist/components/client/Switch.js +3 -5
  399. package/dist/components/client/Tabs/Tab.cjs +7 -9
  400. package/dist/components/client/Tabs/Tab.d.cts +3 -3
  401. package/dist/components/client/Tabs/Tab.d.ts +3 -3
  402. package/dist/components/client/Tabs/Tab.js +1 -3
  403. package/dist/components/client/Tabs/TabList.cjs +5 -7
  404. package/dist/components/client/Tabs/TabList.d.cts +3 -3
  405. package/dist/components/client/Tabs/TabList.d.ts +3 -3
  406. package/dist/components/client/Tabs/TabList.js +1 -3
  407. package/dist/components/client/Tabs/TabPanel.cjs +3 -5
  408. package/dist/components/client/Tabs/TabPanel.d.cts +3 -3
  409. package/dist/components/client/Tabs/TabPanel.d.ts +3 -3
  410. package/dist/components/client/Tabs/TabPanel.js +1 -3
  411. package/dist/components/client/Tabs/Tabs.cjs +4 -6
  412. package/dist/components/client/Tabs/Tabs.d.cts +3 -3
  413. package/dist/components/client/Tabs/Tabs.d.ts +3 -3
  414. package/dist/components/client/Tabs/Tabs.js +1 -3
  415. package/dist/components/client/Tabs/index.cjs +6 -7
  416. package/dist/components/client/Tabs/index.js +1 -2
  417. package/dist/components/client/Tabs/tabsContext.cjs +3 -5
  418. package/dist/components/client/Tabs/tabsContext.d.cts +3 -3
  419. package/dist/components/client/Tabs/tabsContext.d.ts +3 -3
  420. package/dist/components/client/Tabs/tabsContext.js +1 -3
  421. package/dist/components/client/Toast/Toast.cjs +10 -12
  422. package/dist/components/client/Toast/Toast.d.cts +3 -4
  423. package/dist/components/client/Toast/Toast.d.ts +3 -4
  424. package/dist/components/client/Toast/Toast.js +2 -4
  425. package/dist/components/client/Toast/ToastContainer.cjs +7 -9
  426. package/dist/components/client/Toast/ToastContainer.d.cts +3 -4
  427. package/dist/components/client/Toast/ToastContainer.d.ts +3 -4
  428. package/dist/components/client/Toast/ToastContainer.js +1 -3
  429. package/dist/components/client/Toast/ToastPortal.cjs +6 -8
  430. package/dist/components/client/Toast/ToastPortal.d.cts +2 -2
  431. package/dist/components/client/Toast/ToastPortal.d.ts +2 -2
  432. package/dist/components/client/Toast/ToastPortal.js +1 -3
  433. package/dist/components/client/Toast/UDSToastConfigProvider.cjs +3 -5
  434. package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +3 -4
  435. package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +3 -4
  436. package/dist/components/client/Toast/UDSToastConfigProvider.js +1 -3
  437. package/dist/components/client/Toast/createToast.cjs +7 -9
  438. package/dist/components/client/Toast/createToast.d.cts +1 -2
  439. package/dist/components/client/Toast/createToast.d.ts +1 -2
  440. package/dist/components/client/Toast/createToast.js +1 -3
  441. package/dist/components/client/Toast/index.cjs +7 -8
  442. package/dist/components/client/Toast/index.js +1 -2
  443. package/dist/components/client/Tooltip/Tooltip.cjs +5 -7
  444. package/dist/components/client/Tooltip/Tooltip.d.cts +3 -3
  445. package/dist/components/client/Tooltip/Tooltip.d.ts +3 -3
  446. package/dist/components/client/Tooltip/Tooltip.js +1 -3
  447. package/dist/components/client/Tooltip/TooltipContent.cjs +14 -16
  448. package/dist/components/client/Tooltip/TooltipContent.d.cts +4 -4
  449. package/dist/components/client/Tooltip/TooltipContent.d.ts +4 -4
  450. package/dist/components/client/Tooltip/TooltipContent.js +2 -4
  451. package/dist/components/client/Tooltip/TooltipTrigger.cjs +3 -5
  452. package/dist/components/client/Tooltip/TooltipTrigger.d.cts +3 -3
  453. package/dist/components/client/Tooltip/TooltipTrigger.d.ts +3 -3
  454. package/dist/components/client/Tooltip/TooltipTrigger.js +1 -3
  455. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +3 -5
  456. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +3 -3
  457. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +3 -3
  458. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +1 -3
  459. package/dist/components/client/Tooltip/index.cjs +6 -7
  460. package/dist/components/client/Tooltip/index.d.cts +1 -1
  461. package/dist/components/client/Tooltip/index.d.ts +1 -1
  462. package/dist/components/client/Tooltip/index.js +1 -2
  463. package/dist/components/client/Tooltip/tooltipContext.cjs +4 -7
  464. package/dist/components/client/Tooltip/tooltipContext.d.cts +2 -2
  465. package/dist/components/client/Tooltip/tooltipContext.d.ts +2 -2
  466. package/dist/components/client/Tooltip/tooltipContext.js +1 -3
  467. package/dist/components/client/buttonConstants.cjs +2 -4
  468. package/dist/components/client/buttonConstants.d.cts +1 -3
  469. package/dist/components/client/buttonConstants.d.ts +1 -3
  470. package/dist/components/client/buttonConstants.js +1 -2
  471. package/dist/components/client/index.cjs +58 -53
  472. package/dist/components/client/index.d.cts +6 -14
  473. package/dist/components/client/index.d.ts +6 -14
  474. package/dist/components/client/index.js +5 -3
  475. package/dist/components/client/motionFeatures/domAnimation.cjs +8 -9
  476. package/dist/components/client/motionFeatures/domAnimation.js +1 -2
  477. package/dist/components/client/motionFeatures/domMax.cjs +8 -9
  478. package/dist/components/client/motionFeatures/domMax.js +1 -2
  479. package/dist/components/client/providers/UDSBreakpointsConfigProvider.cjs +3 -5
  480. package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +3 -3
  481. package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.ts +3 -3
  482. package/dist/components/client/providers/UDSBreakpointsConfigProvider.js +1 -3
  483. package/dist/components/client/providers/UDSConfigProvider.cjs +8 -10
  484. package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -2
  485. package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -2
  486. package/dist/components/client/providers/UDSConfigProvider.js +1 -3
  487. package/dist/components/experimental/Spinner.cjs +5 -7
  488. package/dist/components/experimental/Spinner.d.cts +2 -2
  489. package/dist/components/experimental/Spinner.d.ts +2 -2
  490. package/dist/components/experimental/Spinner.js +1 -3
  491. package/dist/components/experimental/Table.cjs +6 -8
  492. package/dist/components/experimental/Table.d.cts +4 -6
  493. package/dist/components/experimental/Table.d.ts +4 -6
  494. package/dist/components/experimental/Table.js +3 -5
  495. package/dist/components/experimental/Table.mocks.cjs +3 -5
  496. package/dist/components/experimental/Table.mocks.js +1 -3
  497. package/dist/components/experimental/client/Accordion.cjs +10 -12
  498. package/dist/components/experimental/client/Accordion.d.cts +2 -3
  499. package/dist/components/experimental/client/Accordion.d.ts +2 -3
  500. package/dist/components/experimental/client/Accordion.js +2 -4
  501. package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +3 -5
  502. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
  503. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
  504. package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +1 -3
  505. package/dist/components/experimental/client/Modal.cjs +8 -10
  506. package/dist/components/experimental/client/Modal.d.cts +3 -3
  507. package/dist/components/experimental/client/Modal.d.ts +3 -3
  508. package/dist/components/experimental/client/Modal.js +1 -3
  509. package/dist/components/experimental/client/SegmentedControl.cjs +9 -12
  510. package/dist/components/experimental/client/SegmentedControl.d.cts +2 -3
  511. package/dist/components/experimental/client/SegmentedControl.d.ts +2 -3
  512. package/dist/components/experimental/client/SegmentedControl.js +4 -7
  513. package/dist/components/experimental/client/SwitchV2.cjs +9 -11
  514. package/dist/components/experimental/client/SwitchV2.d.cts +1 -2
  515. package/dist/components/experimental/client/SwitchV2.d.ts +1 -2
  516. package/dist/components/experimental/client/SwitchV2.js +3 -5
  517. package/dist/components/experimental/client/index.cjs +7 -8
  518. package/dist/components/experimental/client/index.js +1 -2
  519. package/dist/components/experimental/index.cjs +15 -17
  520. package/dist/components/experimental/index.d.cts +0 -1
  521. package/dist/components/experimental/index.d.ts +0 -1
  522. package/dist/components/experimental/index.js +1 -3
  523. package/dist/components/index.cjs +80 -85
  524. package/dist/components/index.d.cts +7 -13
  525. package/dist/components/index.d.ts +7 -13
  526. package/dist/components/index.js +8 -12
  527. package/dist/config/dist/index.cjs +2 -5
  528. package/dist/config/dist/index.d.cts +1 -1
  529. package/dist/config/dist/index.d.ts +1 -1
  530. package/dist/config/dist/index.js +2 -4
  531. package/dist/css-tokens/dist/index.cjs +37 -39
  532. package/dist/css-tokens/dist/index.d.cts +1 -1
  533. package/dist/css-tokens/dist/index.d.ts +1 -1
  534. package/dist/css-tokens/dist/index.js +35 -37
  535. package/dist/defaultTokensConfig.cjs +4 -6
  536. package/dist/defaultTokensConfig.d.cts +0 -2
  537. package/dist/defaultTokensConfig.d.ts +0 -2
  538. package/dist/defaultTokensConfig.js +1 -3
  539. package/dist/fixtures/dist/index.cjs +1 -3
  540. package/dist/fixtures/dist/index.d.cts +1 -1
  541. package/dist/fixtures/dist/index.d.ts +1 -1
  542. package/dist/fixtures/dist/index.js +1 -2
  543. package/dist/fixtures/index.cjs +4 -6
  544. package/dist/fixtures/index.d.cts +1 -1
  545. package/dist/fixtures/index.d.ts +1 -1
  546. package/dist/fixtures/index.js +1 -3
  547. package/dist/fixtures/src/arbitrary.cjs +7 -10
  548. package/dist/fixtures/src/arbitrary.js +1 -3
  549. package/dist/fixtures/src/util.cjs +2 -4
  550. package/dist/fixtures/src/util.js +1 -3
  551. package/dist/flags.cjs +6 -4
  552. package/dist/flags.js +5 -2
  553. package/dist/fonts/dist/index.cjs +22 -14
  554. package/dist/fonts/dist/index.d.cts +1 -1
  555. package/dist/fonts/dist/index.d.ts +1 -1
  556. package/dist/fonts/dist/index.js +22 -13
  557. package/dist/hooks/useForkRef.cjs +3 -5
  558. package/dist/hooks/useForkRef.js +1 -3
  559. package/dist/hooks/useRtl.cjs +3 -5
  560. package/dist/hooks/useRtl.js +1 -3
  561. package/dist/hooks/useSvgFloatingContent.cjs +6 -8
  562. package/dist/hooks/useSvgFloatingContent.js +1 -3
  563. package/dist/icons/dist/types.d.cts +30 -0
  564. package/dist/icons/dist/types.d.ts +30 -0
  565. package/dist/index.cjs +105 -108
  566. package/dist/index.d.cts +8 -14
  567. package/dist/index.d.ts +8 -14
  568. package/dist/index.js +8 -10
  569. package/dist/modes/dist/index.cjs +1 -3
  570. package/dist/modes/dist/index.d.cts +1 -1
  571. package/dist/modes/dist/index.d.ts +1 -1
  572. package/dist/modes/dist/index.js +1 -2
  573. package/dist/motion-tokens/dist/index.cjs +1 -3
  574. package/dist/motion-tokens/dist/index.d.cts +1 -1
  575. package/dist/motion-tokens/dist/index.d.ts +1 -1
  576. package/dist/motion-tokens/dist/index.js +1 -2
  577. package/dist/palette/dist/index.cjs +13 -3
  578. package/dist/palette/dist/index.js +13 -2
  579. package/dist/providers/ColorModeProvider.cjs +4 -6
  580. package/dist/providers/ColorModeProvider.d.cts +5 -6
  581. package/dist/providers/ColorModeProvider.d.ts +5 -6
  582. package/dist/providers/ColorModeProvider.js +1 -3
  583. package/dist/providers/ScaleModeProvider.cjs +4 -6
  584. package/dist/providers/ScaleModeProvider.d.cts +5 -6
  585. package/dist/providers/ScaleModeProvider.d.ts +5 -6
  586. package/dist/providers/ScaleModeProvider.js +1 -3
  587. package/dist/providers/ThemeProvider.cjs +5 -7
  588. package/dist/providers/ThemeProvider.d.cts +3 -4
  589. package/dist/providers/ThemeProvider.d.ts +3 -4
  590. package/dist/providers/ThemeProvider.js +1 -3
  591. package/dist/runtime/bottomSheetConfig.cjs +2 -4
  592. package/dist/runtime/bottomSheetConfig.d.cts +1 -1
  593. package/dist/runtime/bottomSheetConfig.d.ts +1 -1
  594. package/dist/runtime/bottomSheetConfig.js +1 -2
  595. package/dist/runtime/breakpointsConfig.cjs +4 -6
  596. package/dist/runtime/breakpointsConfig.d.cts +1 -3
  597. package/dist/runtime/breakpointsConfig.d.ts +1 -3
  598. package/dist/runtime/breakpointsConfig.js +1 -3
  599. package/dist/runtime/index.cjs +8 -9
  600. package/dist/runtime/index.js +1 -2
  601. package/dist/runtime/popoverConfig.cjs +3 -5
  602. package/dist/runtime/popoverConfig.d.cts +1 -2
  603. package/dist/runtime/popoverConfig.d.ts +1 -2
  604. package/dist/runtime/popoverConfig.js +1 -3
  605. package/dist/runtime/toastConfig.cjs +2 -4
  606. package/dist/runtime/toastConfig.d.cts +1 -3
  607. package/dist/runtime/toastConfig.d.ts +1 -3
  608. package/dist/runtime/toastConfig.js +1 -2
  609. package/dist/runtime/tooltipConfig.cjs +3 -5
  610. package/dist/runtime/tooltipConfig.d.cts +1 -2
  611. package/dist/runtime/tooltipConfig.d.ts +1 -2
  612. package/dist/runtime/tooltipConfig.js +1 -3
  613. package/dist/runtime/udsConfig.cjs +7 -9
  614. package/dist/runtime/udsConfig.d.cts +0 -1
  615. package/dist/runtime/udsConfig.d.ts +0 -1
  616. package/dist/runtime/udsConfig.js +1 -3
  617. package/dist/styles/styler.cjs +6 -8
  618. package/dist/styles/styler.d.cts +37 -37
  619. package/dist/styles/styler.d.ts +37 -37
  620. package/dist/styles/styler.js +1 -3
  621. package/dist/styles/stylerTypes.d.cts +1 -2
  622. package/dist/styles/stylerTypes.d.ts +1 -2
  623. package/dist/styles/variants.cjs +4 -6
  624. package/dist/styles/variants.js +1 -3
  625. package/dist/tailwind/dist/_virtual/_rolldown/runtime.cjs +7 -13
  626. package/dist/tailwind/dist/_virtual/_rolldown/runtime.js +1 -2
  627. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +1 -3
  628. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +1 -1
  629. package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
  630. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +1 -3
  631. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +1 -1
  632. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
  633. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.cjs +3 -5
  634. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js +1 -2
  635. package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js.map +1 -1
  636. package/dist/tailwind/dist/automated-config/dist/properties.cjs +7 -10
  637. package/dist/tailwind/dist/automated-config/dist/properties.js +2 -4
  638. package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
  639. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.cjs +1 -3
  640. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js +1 -1
  641. package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js.map +1 -1
  642. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.cjs +1 -3
  643. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js +1 -1
  644. package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js.map +1 -1
  645. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.cjs +1 -3
  646. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js +1 -1
  647. package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js.map +1 -1
  648. package/dist/tailwind/dist/automated-config/dist/utils/index.cjs +7 -9
  649. package/dist/tailwind/dist/automated-config/dist/utils/index.js +1 -2
  650. package/dist/tailwind/dist/automated-config/dist/utils/index.js.map +1 -1
  651. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.cjs +4 -6
  652. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js +3 -4
  653. package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js.map +1 -1
  654. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.cjs +1 -3
  655. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js +1 -1
  656. package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js.map +1 -1
  657. package/dist/tailwind/dist/cli/dist/lib/colors.cjs +1 -3
  658. package/dist/tailwind/dist/cli/dist/lib/colors.js +1 -1
  659. package/dist/tailwind/dist/cli/dist/lib/colors.js.map +1 -1
  660. package/dist/tailwind/dist/cli/dist/lib/logger.cjs +18 -6
  661. package/dist/tailwind/dist/cli/dist/lib/logger.js +15 -2
  662. package/dist/tailwind/dist/cli/dist/lib/logger.js.map +1 -1
  663. package/dist/tailwind/dist/cli/dist/lib/print.cjs +1 -3
  664. package/dist/tailwind/dist/cli/dist/lib/print.js +1 -1
  665. package/dist/tailwind/dist/cli/dist/lib/print.js.map +1 -1
  666. package/dist/tailwind/dist/cli/dist/lib/spinner.cjs +1 -3
  667. package/dist/tailwind/dist/cli/dist/lib/spinner.js +1 -1
  668. package/dist/tailwind/dist/cli/dist/lib/spinner.js.map +1 -1
  669. package/dist/tailwind/dist/cli.cjs +6 -7
  670. package/dist/tailwind/dist/cli.js +1 -2
  671. package/dist/tailwind/dist/commands/css.cjs +6 -8
  672. package/dist/tailwind/dist/commands/css.helpers.cjs +1 -3
  673. package/dist/tailwind/dist/commands/css.helpers.js +1 -1
  674. package/dist/tailwind/dist/commands/css.helpers.js.map +1 -1
  675. package/dist/tailwind/dist/commands/css.js +1 -2
  676. package/dist/tailwind/dist/commands/css.js.map +1 -1
  677. package/dist/tailwind/dist/commands/generateComponentData.cjs +4 -6
  678. package/dist/tailwind/dist/commands/generateComponentData.js +1 -2
  679. package/dist/tailwind/dist/commands/generateComponentData.js.map +1 -1
  680. package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +6 -8
  681. package/dist/tailwind/dist/commands/generatePurgeCSSData.js +1 -2
  682. package/dist/tailwind/dist/commands/generatePurgeCSSData.js.map +1 -1
  683. package/dist/tailwind/dist/commands/purge.cjs +5 -7
  684. package/dist/tailwind/dist/commands/purge.js +1 -2
  685. package/dist/tailwind/dist/commands/purge.js.map +1 -1
  686. package/dist/tailwind/dist/config/dist/index.cjs +2 -5
  687. package/dist/tailwind/dist/config/dist/index.d.cts +0 -1
  688. package/dist/tailwind/dist/config/dist/index.d.cts.map +1 -1
  689. package/dist/tailwind/dist/config/dist/index.d.ts +0 -1
  690. package/dist/tailwind/dist/config/dist/index.d.ts.map +1 -1
  691. package/dist/tailwind/dist/config/dist/index.js +2 -3
  692. package/dist/tailwind/dist/config/dist/index.js.map +1 -1
  693. package/dist/tailwind/dist/css/generate.cjs +14 -16
  694. package/dist/tailwind/dist/css/generate.d.ts +0 -1
  695. package/dist/tailwind/dist/css/generate.d.ts.map +1 -1
  696. package/dist/tailwind/dist/css/generate.helpers.cjs +18 -20
  697. package/dist/tailwind/dist/css/generate.helpers.js +1 -2
  698. package/dist/tailwind/dist/css/generate.helpers.js.map +1 -1
  699. package/dist/tailwind/dist/css/generate.js +1 -2
  700. package/dist/tailwind/dist/css/generate.js.map +1 -1
  701. package/dist/tailwind/dist/css/nodeUtils.cjs +9 -11
  702. package/dist/tailwind/dist/css/nodeUtils.js +1 -2
  703. package/dist/tailwind/dist/css/nodeUtils.js.map +1 -1
  704. package/dist/tailwind/dist/css/postcss.cjs +2 -4
  705. package/dist/tailwind/dist/css/postcss.helpers.cjs +1 -3
  706. package/dist/tailwind/dist/css/postcss.helpers.js +1 -1
  707. package/dist/tailwind/dist/css/postcss.helpers.js.map +1 -1
  708. package/dist/tailwind/dist/css/postcss.js +1 -2
  709. package/dist/tailwind/dist/css/postcss.js.map +1 -1
  710. package/dist/tailwind/dist/css/runner.cjs +16 -18
  711. package/dist/tailwind/dist/css/runner.helpers.cjs +3 -5
  712. package/dist/tailwind/dist/css/runner.helpers.js +1 -2
  713. package/dist/tailwind/dist/css/runner.helpers.js.map +1 -1
  714. package/dist/tailwind/dist/css/runner.js +3 -4
  715. package/dist/tailwind/dist/css/runner.js.map +1 -1
  716. package/dist/tailwind/dist/css/theme.cjs +1 -3
  717. package/dist/tailwind/dist/css/theme.js +1 -1
  718. package/dist/tailwind/dist/css/utils.cjs +3 -5
  719. package/dist/tailwind/dist/css/utils.js +1 -2
  720. package/dist/tailwind/dist/css/utils.js.map +1 -1
  721. package/dist/tailwind/dist/css-tokens/dist/index.cjs +37 -41
  722. package/dist/tailwind/dist/css-tokens/dist/index.js +36 -38
  723. package/dist/tailwind/dist/css-tokens/dist/index.js.map +1 -1
  724. package/dist/tailwind/dist/fixtures/dist/index.cjs +16 -20
  725. package/dist/tailwind/dist/fixtures/dist/index.js +16 -18
  726. package/dist/tailwind/dist/fixtures/dist/index.js.map +1 -1
  727. package/dist/tailwind/dist/fonts/dist/index.cjs +22 -14
  728. package/dist/tailwind/dist/fonts/dist/index.d.cts.map +1 -1
  729. package/dist/tailwind/dist/fonts/dist/index.d.ts.map +1 -1
  730. package/dist/tailwind/dist/fonts/dist/index.js +22 -12
  731. package/dist/tailwind/dist/fonts/dist/index.js.map +1 -1
  732. package/dist/tailwind/dist/icons/src/safelist.cjs +1 -3
  733. package/dist/tailwind/dist/icons/src/safelist.js +1 -1
  734. package/dist/tailwind/dist/index.cjs +5 -6
  735. package/dist/tailwind/dist/index.js +1 -2
  736. package/dist/tailwind/dist/modes/dist/index.cjs +1 -3
  737. package/dist/tailwind/dist/modes/dist/index.js +1 -1
  738. package/dist/tailwind/dist/modes/dist/index.js.map +1 -1
  739. package/dist/tailwind/dist/motion-tokens/dist/index.cjs +1 -3
  740. package/dist/tailwind/dist/motion-tokens/dist/index.js +1 -1
  741. package/dist/tailwind/dist/motion-tokens/dist/index.js.map +1 -1
  742. package/dist/tailwind/dist/palette/dist/index.cjs +13 -3
  743. package/dist/tailwind/dist/palette/dist/index.js +13 -1
  744. package/dist/tailwind/dist/palette/dist/index.js.map +1 -1
  745. package/dist/tailwind/dist/plugin.cjs +22 -24
  746. package/dist/tailwind/dist/plugin.d.cts +3 -3
  747. package/dist/tailwind/dist/plugin.d.cts.map +1 -1
  748. package/dist/tailwind/dist/plugin.d.ts +3 -3
  749. package/dist/tailwind/dist/plugin.d.ts.map +1 -1
  750. package/dist/tailwind/dist/plugin.js +1 -2
  751. package/dist/tailwind/dist/plugin.js.map +1 -1
  752. package/dist/tailwind/dist/purger/legacy/index.d.cts +2 -0
  753. package/dist/tailwind/dist/purger/legacy/purgeCSS.cjs +10 -12
  754. package/dist/tailwind/dist/purger/legacy/purgeCSS.js +2 -3
  755. package/dist/tailwind/dist/purger/legacy/purgeCSS.js.map +1 -1
  756. package/dist/tailwind/dist/purger/legacy/purgeFromCode.cjs +4 -6
  757. package/dist/tailwind/dist/purger/legacy/purgeFromCode.d.cts +1 -1
  758. package/dist/tailwind/dist/purger/legacy/purgeFromCode.js +1 -2
  759. package/dist/tailwind/dist/purger/legacy/purgeFromCode.js.map +1 -1
  760. package/dist/tailwind/dist/purger/optimized/ast/expressions.cjs +4 -6
  761. package/dist/tailwind/dist/purger/optimized/ast/expressions.d.cts +2 -0
  762. package/dist/tailwind/dist/purger/optimized/ast/expressions.js +1 -2
  763. package/dist/tailwind/dist/purger/optimized/ast/expressions.js.map +1 -1
  764. package/dist/tailwind/dist/purger/optimized/ast/index.d.cts +2 -0
  765. package/dist/tailwind/dist/purger/optimized/ast/index.d.ts +1 -4
  766. package/dist/tailwind/dist/purger/optimized/ast/jsx.cjs +2 -4
  767. package/dist/tailwind/dist/purger/optimized/ast/jsx.d.cts +2 -0
  768. package/dist/tailwind/dist/purger/optimized/ast/jsx.d.ts +0 -1
  769. package/dist/tailwind/dist/purger/optimized/ast/jsx.js +2 -3
  770. package/dist/tailwind/dist/purger/optimized/ast/jsx.js.map +1 -1
  771. package/dist/tailwind/dist/purger/optimized/ast/props.d.cts +2 -0
  772. package/dist/tailwind/dist/purger/optimized/ast/props.d.ts +1 -1
  773. package/dist/tailwind/dist/purger/optimized/ast/spread.d.cts +2 -0
  774. package/dist/tailwind/dist/purger/optimized/ast/spread.d.ts +0 -1
  775. package/dist/tailwind/dist/purger/optimized/index.d.cts +3 -0
  776. package/dist/tailwind/dist/purger/optimized/index.d.ts +1 -4
  777. package/dist/tailwind/dist/purger/optimized/purge.cjs +8 -10
  778. package/dist/tailwind/dist/purger/optimized/purge.d.cts +2 -0
  779. package/dist/tailwind/dist/purger/optimized/purge.d.ts +1 -1
  780. package/dist/tailwind/dist/purger/optimized/purge.js +1 -2
  781. package/dist/tailwind/dist/purger/optimized/purge.js.map +1 -1
  782. package/dist/tailwind/dist/purger/optimized/purgeFromCode.cjs +4 -6
  783. package/dist/tailwind/dist/purger/optimized/purgeFromCode.d.cts +1 -1
  784. package/dist/tailwind/dist/purger/optimized/purgeFromCode.js +1 -2
  785. package/dist/tailwind/dist/purger/optimized/purgeFromCode.js.map +1 -1
  786. package/dist/tailwind/dist/purger/optimized/types.d.ts +0 -1
  787. package/dist/tailwind/dist/purger/optimized/types.d.ts.map +1 -1
  788. package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.cjs +7 -9
  789. package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js +1 -2
  790. package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js.map +1 -1
  791. package/dist/tailwind/dist/purger/optimized/utils/files.cjs +4 -6
  792. package/dist/tailwind/dist/purger/optimized/utils/files.d.cts +2 -0
  793. package/dist/tailwind/dist/purger/optimized/utils/files.js +1 -2
  794. package/dist/tailwind/dist/purger/optimized/utils/files.js.map +1 -1
  795. package/dist/tailwind/dist/purger/optimized/utils/safelist.cjs +4 -6
  796. package/dist/tailwind/dist/purger/optimized/utils/safelist.js +1 -2
  797. package/dist/tailwind/dist/purger/optimized/utils/safelist.js.map +1 -1
  798. package/dist/tailwind/dist/purger.cjs +4 -5
  799. package/dist/tailwind/dist/purger.d.ts +0 -2
  800. package/dist/tailwind/dist/purger.js +1 -2
  801. package/dist/tailwind/dist/runtimeConfig/hookMetadata.cjs +1 -3
  802. package/dist/tailwind/dist/runtimeConfig/hookMetadata.js +1 -1
  803. package/dist/tailwind/dist/runtimeConfig/hookMetadata.js.map +1 -1
  804. package/dist/tailwind/dist/tailwind/base/addColorModeVars.cjs +6 -8
  805. package/dist/tailwind/dist/tailwind/base/addColorModeVars.js +1 -2
  806. package/dist/tailwind/dist/tailwind/base/addColorModeVars.js.map +1 -1
  807. package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.cjs +6 -8
  808. package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.js +1 -2
  809. package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.js.map +1 -1
  810. package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.cjs +2 -4
  811. package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.js +1 -2
  812. package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.js.map +1 -1
  813. package/dist/tailwind/dist/tailwind/base/addFontVars.cjs +2 -4
  814. package/dist/tailwind/dist/tailwind/base/addFontVars.js +1 -2
  815. package/dist/tailwind/dist/tailwind/base/addFontVars.js.map +1 -1
  816. package/dist/tailwind/dist/tailwind/base/addMotionVars.cjs +2 -4
  817. package/dist/tailwind/dist/tailwind/base/addMotionVars.js +1 -2
  818. package/dist/tailwind/dist/tailwind/base/addMotionVars.js.map +1 -1
  819. package/dist/tailwind/dist/tailwind/base/addScaleModeVars.cjs +4 -6
  820. package/dist/tailwind/dist/tailwind/base/addScaleModeVars.js +1 -2
  821. package/dist/tailwind/dist/tailwind/base/addScaleModeVars.js.map +1 -1
  822. package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.cjs +3 -4
  823. package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.js +2 -2
  824. package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.js.map +1 -1
  825. package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.cjs +10 -6
  826. package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.js +7 -2
  827. package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.js.map +1 -1
  828. package/dist/tailwind/dist/tailwind/components/getHitTargetStyles.cjs +1 -3
  829. package/dist/tailwind/dist/tailwind/components/getHitTargetStyles.js +1 -1
  830. package/dist/tailwind/dist/tailwind/components/getIconStyles.cjs +1 -3
  831. package/dist/tailwind/dist/tailwind/components/getIconStyles.js +1 -1
  832. package/dist/tailwind/dist/tailwind/components/getInputStyles.cjs +1 -3
  833. package/dist/tailwind/dist/tailwind/components/getInputStyles.js +1 -1
  834. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.cjs +7 -9
  835. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.js +1 -2
  836. package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.js.map +1 -1
  837. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +1 -3
  838. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +1 -1
  839. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +1 -1
  840. package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +1 -1
  841. package/dist/tailwind/dist/tailwind/plugins/a11y.cjs +21 -7
  842. package/dist/tailwind/dist/tailwind/plugins/a11y.js +17 -2
  843. package/dist/tailwind/dist/tailwind/plugins/a11y.js.map +1 -1
  844. package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +4 -6
  845. package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +1 -2
  846. package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js.map +1 -1
  847. package/dist/tailwind/dist/tailwind/plugins/borderRadius.cjs +7 -9
  848. package/dist/tailwind/dist/tailwind/plugins/borderRadius.js +1 -2
  849. package/dist/tailwind/dist/tailwind/plugins/borderRadius.js.map +1 -1
  850. package/dist/tailwind/dist/tailwind/plugins/borderWidth.cjs +7 -9
  851. package/dist/tailwind/dist/tailwind/plugins/borderWidth.js +1 -2
  852. package/dist/tailwind/dist/tailwind/plugins/borderWidth.js.map +1 -1
  853. package/dist/tailwind/dist/tailwind/plugins/breakpoints.cjs +7 -9
  854. package/dist/tailwind/dist/tailwind/plugins/breakpoints.js +1 -2
  855. package/dist/tailwind/dist/tailwind/plugins/breakpoints.js.map +1 -1
  856. package/dist/tailwind/dist/tailwind/plugins/colors.cjs +73 -15
  857. package/dist/tailwind/dist/tailwind/plugins/colors.js +62 -3
  858. package/dist/tailwind/dist/tailwind/plugins/colors.js.map +1 -1
  859. package/dist/tailwind/dist/tailwind/plugins/components.cjs +6 -8
  860. package/dist/tailwind/dist/tailwind/plugins/components.js +1 -2
  861. package/dist/tailwind/dist/tailwind/plugins/components.js.map +1 -1
  862. package/dist/tailwind/dist/tailwind/plugins/elevation.cjs +9 -11
  863. package/dist/tailwind/dist/tailwind/plugins/elevation.js +1 -2
  864. package/dist/tailwind/dist/tailwind/plugins/elevation.js.map +1 -1
  865. package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.cjs +3 -5
  866. package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js +1 -2
  867. package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js.map +1 -1
  868. package/dist/tailwind/dist/tailwind/plugins/icons.cjs +4 -6
  869. package/dist/tailwind/dist/tailwind/plugins/icons.js +1 -2
  870. package/dist/tailwind/dist/tailwind/plugins/icons.js.map +1 -1
  871. package/dist/tailwind/dist/tailwind/plugins/input.cjs +4 -6
  872. package/dist/tailwind/dist/tailwind/plugins/input.js +1 -2
  873. package/dist/tailwind/dist/tailwind/plugins/input.js.map +1 -1
  874. package/dist/tailwind/dist/tailwind/plugins/motion.cjs +4 -6
  875. package/dist/tailwind/dist/tailwind/plugins/motion.js +1 -2
  876. package/dist/tailwind/dist/tailwind/plugins/motion.js.map +1 -1
  877. package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.cjs +6 -8
  878. package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.js +1 -2
  879. package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.js.map +1 -1
  880. package/dist/tailwind/dist/tailwind/plugins/scaleMode.cjs +5 -7
  881. package/dist/tailwind/dist/tailwind/plugins/scaleMode.js +1 -2
  882. package/dist/tailwind/dist/tailwind/plugins/scaleMode.js.map +1 -1
  883. package/dist/tailwind/dist/tailwind/plugins/shadows.cjs +6 -8
  884. package/dist/tailwind/dist/tailwind/plugins/shadows.js +1 -2
  885. package/dist/tailwind/dist/tailwind/plugins/shadows.js.map +1 -1
  886. package/dist/tailwind/dist/tailwind/plugins/sizing.cjs +5 -7
  887. package/dist/tailwind/dist/tailwind/plugins/sizing.js +1 -2
  888. package/dist/tailwind/dist/tailwind/plugins/sizing.js.map +1 -1
  889. package/dist/tailwind/dist/tailwind/plugins/spacing.cjs +3 -5
  890. package/dist/tailwind/dist/tailwind/plugins/spacing.js +1 -2
  891. package/dist/tailwind/dist/tailwind/plugins/spacing.js.map +1 -1
  892. package/dist/tailwind/dist/tailwind/plugins/typography.cjs +14 -16
  893. package/dist/tailwind/dist/tailwind/plugins/typography.js +1 -2
  894. package/dist/tailwind/dist/tailwind/plugins/typography.js.map +1 -1
  895. package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.cjs +4 -6
  896. package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.js +1 -2
  897. package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.js.map +1 -1
  898. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.cjs +4 -6
  899. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
  900. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.cts.map +1 -1
  901. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
  902. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.ts.map +1 -1
  903. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.js +1 -2
  904. package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.js.map +1 -1
  905. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.cjs +8 -10
  906. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.cts +0 -1
  907. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.cts.map +1 -1
  908. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.ts +0 -1
  909. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.ts.map +1 -1
  910. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.js +1 -2
  911. package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.js.map +1 -1
  912. package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.cjs +1 -3
  913. package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.js +1 -1
  914. package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.js.map +1 -1
  915. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.cjs +5 -7
  916. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.js +1 -2
  917. package/dist/tailwind/dist/tailwind/utils/getElevationStyles.js.map +1 -1
  918. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.cjs +2 -4
  919. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.js +1 -2
  920. package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.js.map +1 -1
  921. package/dist/tailwind/dist/tailwind/utils/getFontStyles.cjs +5 -7
  922. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
  923. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
  924. package/dist/tailwind/dist/tailwind/utils/getFontStyles.js +1 -2
  925. package/dist/tailwind/dist/tailwind/utils/getFontStyles.js.map +1 -1
  926. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.cjs +5 -7
  927. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.js +1 -2
  928. package/dist/tailwind/dist/tailwind/utils/getMotionStyles.js.map +1 -1
  929. package/dist/tailwind/dist/tailwind/utils/getNestedBorderRadiusUtilities.cjs +1 -3
  930. package/dist/tailwind/dist/tailwind/utils/getNestedBorderRadiusUtilities.js +1 -1
  931. package/dist/tailwind/dist/tailwind/utils/getScaleModeStyles.cjs +1 -3
  932. package/dist/tailwind/dist/tailwind/utils/getScaleModeStyles.js +1 -1
  933. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.cjs +3 -5
  934. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.js +1 -2
  935. package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.js.map +1 -1
  936. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.cjs +6 -8
  937. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  938. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  939. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.js +4 -5
  940. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.js.map +1 -1
  941. package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
  942. package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
  943. package/dist/tailwind/dist/utils/assertUnreachable.cjs +1 -3
  944. package/dist/tailwind/dist/utils/assertUnreachable.js +1 -1
  945. package/dist/tailwind/dist/utils/entries.cjs +1 -3
  946. package/dist/tailwind/dist/utils/entries.js +1 -1
  947. package/dist/tailwind/dist/utils/entryPoints.cjs +4 -6
  948. package/dist/tailwind/dist/utils/entryPoints.js +1 -2
  949. package/dist/tailwind/dist/utils/entryPoints.js.map +1 -1
  950. package/dist/tailwind/dist/utils/fromEntries.cjs +1 -3
  951. package/dist/tailwind/dist/utils/fromEntries.js +1 -1
  952. package/dist/tailwind/dist/utils/generatePurgeCSSData.cjs +11 -15
  953. package/dist/tailwind/dist/utils/generatePurgeCSSData.js +2 -5
  954. package/dist/tailwind/dist/utils/generatePurgeCSSData.js.map +1 -1
  955. package/dist/tailwind/dist/utils/mapValues.cjs +1 -3
  956. package/dist/tailwind/dist/utils/mapValues.js +1 -1
  957. package/dist/tailwind/dist/utils/opacity.cjs +3 -5
  958. package/dist/tailwind/dist/utils/opacity.js +1 -2
  959. package/dist/tailwind/dist/utils/opacity.js.map +1 -1
  960. package/dist/tailwind/dist/utils/optimizeCSS.cjs +3 -5
  961. package/dist/tailwind/dist/utils/optimizeCSS.js +1 -2
  962. package/dist/tailwind/dist/utils/optimizeCSS.js.map +1 -1
  963. package/dist/tailwind/dist/utils/parseTokens.cjs +7 -9
  964. package/dist/tailwind/dist/utils/parseTokens.js +3 -4
  965. package/dist/tailwind/dist/utils/parseTokens.js.map +1 -1
  966. package/dist/tailwind/dist/utils/postcssPreserveVars.cjs +1 -3
  967. package/dist/tailwind/dist/utils/postcssPreserveVars.js +1 -1
  968. package/dist/tailwind/dist/utils/tsMorph.cjs +4 -6
  969. package/dist/tailwind/dist/utils/tsMorph.js +1 -2
  970. package/dist/tailwind/dist/utils/tsMorph.js.map +1 -1
  971. package/dist/tailwind/dist/utils.cjs +12 -13
  972. package/dist/tailwind/dist/utils.js +1 -2
  973. package/dist/tailwind/plugin.cjs +5 -6
  974. package/dist/tailwind/plugin.js +1 -2
  975. package/dist/tailwind/purger.cjs +3 -4
  976. package/dist/tailwind/purger.js +1 -2
  977. package/dist/tailwind/utils.cjs +12 -13
  978. package/dist/tailwind/utils.d.cts +0 -1
  979. package/dist/tailwind/utils.d.ts +0 -1
  980. package/dist/tailwind/utils.js +1 -2
  981. package/dist/tokens/automation/configs/index.cjs +3 -4
  982. package/dist/tokens/automation/configs/index.js +1 -2
  983. package/dist/tokens/automation/index.cjs +16 -17
  984. package/dist/tokens/automation/index.js +1 -2
  985. package/dist/tokens/automation/properties.cjs +3 -4
  986. package/dist/tokens/automation/properties.js +1 -2
  987. package/dist/tokens/configs/borderRadius.cjs +2 -4
  988. package/dist/tokens/configs/borderRadius.d.cts +1 -3
  989. package/dist/tokens/configs/borderRadius.d.ts +1 -3
  990. package/dist/tokens/configs/borderRadius.js +1 -2
  991. package/dist/tokens/configs/borderWidth.cjs +2 -4
  992. package/dist/tokens/configs/borderWidth.d.cts +1 -3
  993. package/dist/tokens/configs/borderWidth.d.ts +1 -3
  994. package/dist/tokens/configs/borderWidth.js +1 -2
  995. package/dist/tokens/configs/font.cjs +2 -4
  996. package/dist/tokens/configs/font.d.cts +1 -3
  997. package/dist/tokens/configs/font.d.ts +1 -3
  998. package/dist/tokens/configs/font.js +1 -2
  999. package/dist/tokens/configs/motion.cjs +3 -4
  1000. package/dist/tokens/configs/motion.js +1 -2
  1001. package/dist/tokens/configs/palette/alwaysPalette.cjs +3 -4
  1002. package/dist/tokens/configs/palette/alwaysPalette.js +1 -2
  1003. package/dist/tokens/configs/palette/index.cjs +3 -4
  1004. package/dist/tokens/configs/palette/index.js +1 -2
  1005. package/dist/tokens/configs/scaleMode.cjs +5 -7
  1006. package/dist/tokens/configs/scaleMode.d.cts +1 -3
  1007. package/dist/tokens/configs/scaleMode.d.ts +1 -3
  1008. package/dist/tokens/configs/scaleMode.js +1 -3
  1009. package/dist/tokens/configs/shadow.cjs +2 -4
  1010. package/dist/tokens/configs/shadow.d.cts +1 -3
  1011. package/dist/tokens/configs/shadow.d.ts +1 -3
  1012. package/dist/tokens/configs/shadow.js +1 -2
  1013. package/dist/tokens/configs/sizes.cjs +3 -5
  1014. package/dist/tokens/configs/sizes.d.cts +1 -3
  1015. package/dist/tokens/configs/sizes.d.ts +1 -3
  1016. package/dist/tokens/configs/sizes.js +1 -3
  1017. package/dist/tokens/configs/typography.cjs +2 -4
  1018. package/dist/tokens/configs/typography.d.cts +1 -3
  1019. package/dist/tokens/configs/typography.d.ts +1 -3
  1020. package/dist/tokens/configs/typography.js +1 -2
  1021. package/dist/tokens/consts/cssTokens.cjs +3 -4
  1022. package/dist/tokens/consts/cssTokens.js +1 -2
  1023. package/dist/tokens/consts/defaultModes.cjs +3 -4
  1024. package/dist/tokens/consts/defaultModes.js +1 -2
  1025. package/dist/tokens/consts/fontDeclarationsMap.cjs +3 -4
  1026. package/dist/tokens/consts/fontDeclarationsMap.js +1 -2
  1027. package/dist/tokens/index.cjs +28 -29
  1028. package/dist/tokens/index.d.cts +2 -6
  1029. package/dist/tokens/index.d.ts +2 -6
  1030. package/dist/tokens/index.js +1 -2
  1031. package/dist/tokens/parseButtonVariants.cjs +2 -4
  1032. package/dist/tokens/parseButtonVariants.d.cts +1 -3
  1033. package/dist/tokens/parseButtonVariants.d.ts +1 -3
  1034. package/dist/tokens/parseButtonVariants.js +1 -2
  1035. package/dist/tokens/parseTokens.cjs +3 -4
  1036. package/dist/tokens/parseTokens.d.cts +0 -1
  1037. package/dist/tokens/parseTokens.d.ts +0 -1
  1038. package/dist/tokens/parseTokens.js +1 -2
  1039. package/dist/tokens/types.d.cts +7 -7
  1040. package/dist/tokens/types.d.ts +7 -7
  1041. package/dist/tokens/utils/entries.cjs +2 -4
  1042. package/dist/tokens/utils/entries.js +1 -2
  1043. package/dist/tokens/utils/fromEntries.cjs +2 -4
  1044. package/dist/tokens/utils/fromEntries.js +1 -2
  1045. package/dist/tokens/utils/getFontUrls.cjs +4 -6
  1046. package/dist/tokens/utils/getFontUrls.d.cts +0 -3
  1047. package/dist/tokens/utils/getFontUrls.d.ts +0 -3
  1048. package/dist/tokens/utils/getFontUrls.js +1 -3
  1049. package/dist/tokens/utils/mapValues.cjs +2 -4
  1050. package/dist/tokens/utils/mapValues.js +1 -2
  1051. package/dist/tokens/utils/spectrum.cjs +2 -4
  1052. package/dist/tokens/utils/spectrum.d.cts +1 -3
  1053. package/dist/tokens/utils/spectrum.d.ts +1 -3
  1054. package/dist/tokens/utils/spectrum.js +1 -2
  1055. package/dist/types/{src → dist}/index.d.cts +23 -35
  1056. package/dist/types/{src → dist}/index.d.ts +23 -35
  1057. package/dist/uds/generated/componentData.cjs +2040 -2062
  1058. package/dist/uds/generated/componentData.js +1514 -1529
  1059. package/dist/uds/generated/tailwindPurge.cjs +105 -131
  1060. package/dist/uds/generated/tailwindPurge.js +105 -130
  1061. package/dist/uds/package.cjs +7 -9
  1062. package/dist/uds/package.js +2 -3
  1063. package/dist/utils/assertUnreachable.cjs +2 -4
  1064. package/dist/utils/assertUnreachable.js +1 -2
  1065. package/dist/utils/composeRefs.cjs +2 -4
  1066. package/dist/utils/composeRefs.js +1 -2
  1067. package/dist/utils/createSlot.cjs +4 -6
  1068. package/dist/utils/createSlot.js +1 -3
  1069. package/dist/utils/entries.cjs +2 -4
  1070. package/dist/utils/entries.js +1 -2
  1071. package/dist/utils/falsyToString.cjs +2 -4
  1072. package/dist/utils/falsyToString.js +1 -2
  1073. package/dist/utils/fromEntries.cjs +2 -4
  1074. package/dist/utils/fromEntries.js +1 -2
  1075. package/dist/utils/getUnscaledAnchorRect.cjs +2 -4
  1076. package/dist/utils/getUnscaledAnchorRect.js +1 -2
  1077. package/dist/utils/intersperse.cjs +4 -6
  1078. package/dist/utils/intersperse.d.cts +2 -2
  1079. package/dist/utils/intersperse.d.ts +2 -2
  1080. package/dist/utils/intersperse.js +1 -3
  1081. package/dist/utils/isElevationAlias.cjs +3 -5
  1082. package/dist/utils/isElevationAlias.d.cts +1 -1
  1083. package/dist/utils/isElevationAlias.d.ts +1 -1
  1084. package/dist/utils/isElevationAlias.js +1 -3
  1085. package/dist/utils/mapValues.cjs +2 -4
  1086. package/dist/utils/mapValues.js +1 -2
  1087. package/dist/utils/mergeSlotProps.cjs +3 -5
  1088. package/dist/utils/mergeSlotProps.js +1 -3
  1089. package/dist/utils/parseShadow.cjs +2 -4
  1090. package/dist/utils/parseShadow.js +1 -2
  1091. package/dist/utils/svgFloatingContentUtils.cjs +4 -8
  1092. package/dist/utils/svgFloatingContentUtils.js +3 -6
  1093. package/generated/componentData.json +2047 -2055
  1094. package/generated/tailwindPurge.ts +3 -3
  1095. package/package.json +2 -2
  1096. package/dist/components/Avatar/AvatarImage.types.cjs +0 -1
  1097. package/dist/components/Avatar/AvatarImage.types.d.cts +0 -19
  1098. package/dist/components/Avatar/AvatarImage.types.d.ts +0 -19
  1099. package/dist/components/Avatar/AvatarImage.types.js +0 -1
  1100. package/dist/components/Avatar/AvatarImageNoFallback.cjs +0 -53
  1101. package/dist/components/Avatar/AvatarImageNoFallback.d.cts +0 -18
  1102. package/dist/components/Avatar/AvatarImageNoFallback.d.ts +0 -18
  1103. package/dist/components/Avatar/AvatarImageNoFallback.js +0 -51
  1104. package/dist/components/Avatar/index.cjs +0 -11
  1105. package/dist/components/Avatar/index.d.cts +0 -6
  1106. package/dist/components/Avatar/index.d.ts +0 -6
  1107. package/dist/components/Avatar/index.js +0 -7
@@ -1,7 +1,6 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
- const require_index = require('../../css-tokens/dist/index.cjs');
3
- const require_assertUnreachable = require('./utils/assertUnreachable.cjs');
4
-
2
+ const require_index = require("../../css-tokens/dist/index.cjs");
3
+ const require_assertUnreachable = require("./utils/assertUnreachable.cjs");
5
4
  //#region ../automated-config/dist/mapTextVariantFixtureToValue.js
6
5
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
7
6
  const mapTextVariantFixtureToValue = (key) => (selected, value) => {
@@ -15,6 +14,5 @@ const mapTextVariantFixtureToValue = (key) => (selected, value) => {
15
14
  }
16
15
  return require_assertUnreachable.assertUnreachable(key);
17
16
  };
18
-
19
17
  //#endregion
20
- exports.mapTextVariantFixtureToValue = mapTextVariantFixtureToValue;
18
+ exports.mapTextVariantFixtureToValue = mapTextVariantFixtureToValue;
@@ -1,7 +1,6 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
2
  import { textVariantsSafe } from "../../css-tokens/dist/index.js";
3
3
  import { assertUnreachable } from "./utils/assertUnreachable.js";
4
-
5
4
  //#region ../automated-config/dist/mapTextVariantFixtureToValue.js
6
5
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
7
6
  const mapTextVariantFixtureToValue = (key) => (selected, value) => {
@@ -15,7 +14,7 @@ const mapTextVariantFixtureToValue = (key) => (selected, value) => {
15
14
  }
16
15
  return assertUnreachable(key);
17
16
  };
18
-
19
17
  //#endregion
20
18
  export { mapTextVariantFixtureToValue };
19
+
21
20
  //# sourceMappingURL=mapTextVariantFixtureToValue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapTextVariantFixtureToValue.js","names":[],"sources":["../../../../automated-config/dist/mapTextVariantFixtureToValue.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { textVariantsSafe } from \"@yahoo/uds-css-tokens\";\n\n//#region src/mapTextVariantFixtureToValue.ts\nconst mapTextVariantFixtureToValue = (key) => (selected, value) => {\n\tswitch (key) {\n\t\tcase \"fontFamily\": return `udsFontFamily[${textVariantsSafe(value)}]`;\n\t\tcase \"fontSize\": return `udsFontSize[${textVariantsSafe(value)}]`;\n\t\tcase \"lineHeight\": return `udsLineHeight[${textVariantsSafe(value)}]`;\n\t\tcase \"letterSpacing\": return `udsLetterSpacing[${textVariantsSafe(value)}]`;\n\t\tcase \"textTransform\": return `udsTextTransform[${textVariantsSafe(value)}]`;\n\t\tcase \"fontWeight\": return `udsFontWeight[${textVariantsSafe(value)}]`;\n\t}\n\treturn assertUnreachable(key);\n};\n\n//#endregion\nexport { mapTextVariantFixtureToValue };\n//# sourceMappingURL=mapTextVariantFixtureToValue.js.map"],"mappings":";;;;;;AAKA,MAAM,gCAAgC,SAAS,UAAU,UAAU;AAClE,SAAQ,KAAR;EACC,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,WAAY,QAAO,eAAe,iBAAiB,MAAM,CAAC;EAC/D,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;;AAEpE,QAAO,kBAAkB,IAAI"}
1
+ {"version":3,"file":"mapTextVariantFixtureToValue.js","names":[],"sources":["../../../../automated-config/dist/mapTextVariantFixtureToValue.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { textVariantsSafe } from \"@yahoo/uds-css-tokens\";\n//#region src/mapTextVariantFixtureToValue.ts\nconst mapTextVariantFixtureToValue = (key) => (selected, value) => {\n\tswitch (key) {\n\t\tcase \"fontFamily\": return `udsFontFamily[${textVariantsSafe(value)}]`;\n\t\tcase \"fontSize\": return `udsFontSize[${textVariantsSafe(value)}]`;\n\t\tcase \"lineHeight\": return `udsLineHeight[${textVariantsSafe(value)}]`;\n\t\tcase \"letterSpacing\": return `udsLetterSpacing[${textVariantsSafe(value)}]`;\n\t\tcase \"textTransform\": return `udsTextTransform[${textVariantsSafe(value)}]`;\n\t\tcase \"fontWeight\": return `udsFontWeight[${textVariantsSafe(value)}]`;\n\t}\n\treturn assertUnreachable(key);\n};\n//#endregion\nexport { mapTextVariantFixtureToValue };\n\n//# sourceMappingURL=mapTextVariantFixtureToValue.js.map"],"mappings":";;;;;AAIA,MAAM,gCAAgC,SAAS,UAAU,UAAU;AAClE,SAAQ,KAAR;EACC,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,WAAY,QAAO,eAAe,iBAAiB,MAAM,CAAC;EAC/D,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;;AAEpE,QAAO,kBAAkB,IAAI"}
@@ -1,10 +1,9 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
- const require_index = require('../../css-tokens/dist/index.cjs');
3
- const require_assertUnreachable = require('./utils/assertUnreachable.cjs');
4
- const require_mapTextVariantFixtureToValue = require('./mapTextVariantFixtureToValue.cjs');
5
- const require_mapColorFixtureToValue = require('./utils/mapColorFixtureToValue.cjs');
6
- const require_index$1 = require('../../motion-tokens/dist/index.cjs');
7
-
2
+ const require_index = require("../../css-tokens/dist/index.cjs");
3
+ const require_assertUnreachable = require("./utils/assertUnreachable.cjs");
4
+ const require_mapTextVariantFixtureToValue = require("./mapTextVariantFixtureToValue.cjs");
5
+ const require_mapColorFixtureToValue = require("./utils/mapColorFixtureToValue.cjs");
6
+ const require_index$1 = require("../../motion-tokens/dist/index.cjs");
8
7
  //#region ../automated-config/dist/properties.js
9
8
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
10
9
  const isInputWrapperCtx = (context) => {
@@ -449,8 +448,7 @@ const publicProperties = {
449
448
  },
450
449
  customValueRenderer: (schemaValue) => {
451
450
  const value = schemaValue.value;
452
- const stringValue = String(value);
453
- return String(require_index$1.SCALE_EFFECTS[stringValue] ?? require_index$1.SCALE_EFFECTS.none);
451
+ return String(require_index$1.SCALE_EFFECTS[String(value)] ?? require_index$1.SCALE_EFFECTS.none);
454
452
  }
455
453
  },
456
454
  backdropBlur: {
@@ -515,6 +513,5 @@ const configurableProperties = {
515
513
  ...publicProperties,
516
514
  ...internalProperties
517
515
  };
518
-
519
516
  //#endregion
520
- exports.configurableProperties = configurableProperties;
517
+ exports.configurableProperties = configurableProperties;
@@ -4,7 +4,6 @@ import { assertUnreachable } from "./utils/assertUnreachable.js";
4
4
  import { mapTextVariantFixtureToValue } from "./mapTextVariantFixtureToValue.js";
5
5
  import { mapColorFixtureToValue } from "./utils/mapColorFixtureToValue.js";
6
6
  import { SCALE_EFFECTS } from "../../motion-tokens/dist/index.js";
7
-
8
7
  //#region ../automated-config/dist/properties.js
9
8
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
10
9
  const isInputWrapperCtx = (context) => {
@@ -449,8 +448,7 @@ const publicProperties = {
449
448
  },
450
449
  customValueRenderer: (schemaValue) => {
451
450
  const value = schemaValue.value;
452
- const stringValue = String(value);
453
- return String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);
451
+ return String(SCALE_EFFECTS[String(value)] ?? SCALE_EFFECTS.none);
454
452
  }
455
453
  },
456
454
  backdropBlur: {
@@ -515,7 +513,7 @@ const configurableProperties = {
515
513
  ...publicProperties,
516
514
  ...internalProperties
517
515
  };
518
-
519
516
  //#endregion
520
517
  export { configurableProperties };
518
+
521
519
  //# sourceMappingURL=properties.js.map
@@ -1 +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 underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-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 underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\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\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\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\tbannerInnerShadow: {\n\t\tname: \"bannerInnerShadow\",\n\t\tcssProperties: \"box-shadow\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\"bannerInnerShadowOptions\"],\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value === \"subtle\") return getShadowLayerValue({\n\t\t\t\tpreset: {\n\t\t\t\t\toffsetX: \"0\",\n\t\t\t\t\toffsetY: \"-5\",\n\t\t\t\t\tblur: \"5\",\n\t\t\t\t\tspread: \"-2.5\",\n\t\t\t\t\topacity: \"5\",\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: \"spectrum\",\n\t\t\t\t\t\tvalue: \"carbon-12\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tshadowType: \"inset\",\n\t\t\t\tcssVarPrefix: \"--uds-banner-inset-shadow-\"\n\t\t\t});\n\t\t\tthrow new Error(\"Invalid bannerInnerShadow value\");\n\t\t}\n\t},\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;C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ACjC,UAAO,OAAO,cAAc,gBAAgB,cAAc,KAAK;;EAEhE;CACD,cAAc;EACb,MAAM;EACN,kBAAkB,CAAC,mBAAmB;EACtC,eAAe;EACf,mBAAmB;AAClB,UAAO;;EAER,sBAAsB,aAAa,QAAQ,QAAQ,+BAA+B;AACjF,OAAI,8BAA8B,2BAA2B,gBAAgB;IAC5E,MAAM,EAAE,cAAc,iBAAiB,2BAA2B;IAClE,MAAM,WAAW,OAAO,UAAU,cAAc,cAAc;AAC9D,QAAI,SAAS,SAAS,mBAAoB,QAAO,oCAAoC,SAAS,MAAM;;AAErG,UAAO,QAAQ,YAAY,MAAM;;EAElC;CACD,qBAAqB;EACpB,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,6BAA6B;EAC5B,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,sBAAsB;EACrB,MAAM;EACN,eAAe;EACf,mBAAmB;AAClB,UAAO;;EAER,kBAAkB;GACjB;GACA;GACA;GACA;EACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;GACxD,MAAM,WAAW,MAAM,uBAAuB,MAAM,MAAM,CAAC;AAC3D,OAAI,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"}
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//#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 underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-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 underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\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\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\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\tbannerInnerShadow: {\n\t\tname: \"bannerInnerShadow\",\n\t\tcssProperties: \"box-shadow\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\"bannerInnerShadowOptions\"],\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value === \"subtle\") return getShadowLayerValue({\n\t\t\t\tpreset: {\n\t\t\t\t\toffsetX: \"0\",\n\t\t\t\t\toffsetY: \"-5\",\n\t\t\t\t\tblur: \"5\",\n\t\t\t\t\tspread: \"-2.5\",\n\t\t\t\t\topacity: \"5\",\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: \"spectrum\",\n\t\t\t\t\t\tvalue: \"carbon-12\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tshadowType: \"inset\",\n\t\t\t\tcssVarPrefix: \"--uds-banner-inset-shadow-\"\n\t\t\t});\n\t\t\tthrow new Error(\"Invalid bannerInnerShadow value\");\n\t\t}\n\t},\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\treturn String(SCALE_EFFECTS[String(value)] ?? 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//#endregion\nexport { configurableProperties };\n\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;AAOA,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,UA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,MAAM,MAAM,CAAC;AAC3D,OAAI,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"}
@@ -1,10 +1,8 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
-
3
2
  //#region ../automated-config/dist/utils/assertUnreachable.js
4
3
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
4
  const assertUnreachable = (x) => {
6
5
  throw new Error("Didn't expect to get here");
7
6
  };
8
-
9
7
  //#endregion
10
- exports.assertUnreachable = assertUnreachable;
8
+ exports.assertUnreachable = assertUnreachable;
@@ -4,7 +4,7 @@
4
4
  const assertUnreachable = (x) => {
5
5
  throw new Error("Didn't expect to get here");
6
6
  };
7
-
8
7
  //#endregion
9
8
  export { assertUnreachable };
9
+
10
10
  //# sourceMappingURL=assertUnreachable.js.map
@@ -1 +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"}
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//#endregion\nexport { assertUnreachable };\n\n//# sourceMappingURL=assertUnreachable.js.map"],"mappings":";;;AAEA,MAAM,qBAAqB,MAAM;AAChC,OAAM,IAAI,MAAM,4BAA4B"}
@@ -1,5 +1,4 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
-
3
2
  //#region ../automated-config/dist/utils/generateDefaultClassName.js
4
3
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
4
  /**
@@ -13,6 +12,5 @@
13
12
  function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
14
13
  return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
15
14
  }
16
-
17
15
  //#endregion
18
- exports.generateDefaultClassName = generateDefaultClassName;
16
+ exports.generateDefaultClassName = generateDefaultClassName;
@@ -12,7 +12,7 @@
12
12
  function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
13
13
  return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
14
14
  }
15
-
16
15
  //#endregion
17
16
  export { generateDefaultClassName };
17
+
18
18
  //# sourceMappingURL=generateDefaultClassName.js.map
@@ -1 +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"}
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//#endregion\nexport { generateDefaultClassName };\n\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"}
@@ -1,5 +1,4 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
-
3
2
  //#region ../automated-config/dist/utils/generateSchemaKey.js
4
3
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
5
4
  function generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {
@@ -10,6 +9,5 @@ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName,
10
9
  if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
11
10
  return `${variantKey}/${variantValue}/${layer}`;
12
11
  }
13
-
14
12
  //#endregion
15
- exports.generateSchemaKey = generateSchemaKey;
13
+ exports.generateSchemaKey = generateSchemaKey;
@@ -9,7 +9,7 @@ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName,
9
9
  if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
10
10
  return `${variantKey}/${variantValue}/${layer}`;
11
11
  }
12
-
13
12
  //#endregion
14
13
  export { generateSchemaKey };
14
+
15
15
  //# sourceMappingURL=generateSchemaKey.js.map
@@ -1 +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"}
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//#endregion\nexport { generateSchemaKey };\n\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"}
@@ -1,12 +1,11 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
- const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
3
- const require_index = require('../../../css-tokens/dist/index.cjs');
4
- const require_properties = require('../properties.cjs');
5
- const require_generateDefaultClassName = require('./generateDefaultClassName.cjs');
6
- const require_generateSchemaKey = require('./generateSchemaKey.cjs');
7
- const require_variantConfigGuards = require('./variantConfigGuards.cjs');
2
+ require("../../../_virtual/_rolldown/runtime.cjs");
3
+ const require_index = require("../../../css-tokens/dist/index.cjs");
4
+ const require_properties = require("../properties.cjs");
5
+ const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
6
+ const require_generateSchemaKey = require("./generateSchemaKey.cjs");
7
+ const require_variantConfigGuards = require("./variantConfigGuards.cjs");
8
8
  let lodash_es = require("lodash-es");
9
-
10
9
  //#region ../automated-config/dist/utils/index.js
11
10
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
12
11
  const CSS_GAP = "gap";
@@ -571,6 +570,5 @@ const generateStyles = (config, schema, theme, previewOptions) => {
571
570
  }
572
571
  return finalStyles;
573
572
  };
574
-
575
573
  //#endregion
576
- exports.generateStyles = generateStyles;
574
+ exports.generateStyles = generateStyles;
@@ -5,7 +5,6 @@ import { generateDefaultClassName } from "./generateDefaultClassName.js";
5
5
  import { generateSchemaKey } from "./generateSchemaKey.js";
6
6
  import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
7
7
  import { isFunction, mergeWith } from "lodash-es";
8
-
9
8
  //#region ../automated-config/dist/utils/index.js
10
9
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
11
10
  const CSS_GAP = "gap";
@@ -570,7 +569,7 @@ const generateStyles = (config, schema, theme, previewOptions) => {
570
569
  }
571
570
  return finalStyles;
572
571
  };
573
-
574
572
  //#endregion
575
573
  export { generateStyles };
574
+
576
575
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../automated-config/dist/utils/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { configurableProperties } from \"../properties.js\";\nimport { generateDefaultClassName } from \"./generateDefaultClassName.js\";\nimport { generateSchemaKey } from \"./generateSchemaKey.js\";\nimport { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from \"./variantConfigGuards.js\";\nimport { buildConfigSchema, findFixtureType } from \"./buildConfigSchema.js\";\nimport { cartesianProduct } from \"./cartesianProduct.js\";\nimport { getConfigSubcomponents } from \"./subcomponents.js\";\nimport { coalesceConfigVariant } from \"./coalesceConfigVariant.js\";\nimport { getConfigDefaultValue, isConfigDefaultValue } from \"./defaults.js\";\nimport { generateKeyFromFlatConfigPath } from \"./generateKeyFromFlatConfigPath.js\";\nimport { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from \"./getConfigVariantComponentStatesMatrix.js\";\nimport { getConfigVariantProperties } from \"./getConfigVariantProperties.js\";\nimport { getConfigVariantPseudoStates } from \"./getConfigVariantPseudoStates.js\";\nimport { getConfigVariants } from \"./getConfigVariants.js\";\nimport { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from \"@yahoo/uds-css-tokens\";\nimport { isFunction, mergeWith } from \"lodash-es\";\n\n//#region src/utils/index.ts\nconst CSS_GAP = \"gap\";\nconst CSS_LINE_HEIGHT = \"line-height\";\nconst CSS_BORDER_WIDTH = \"border-width\";\nconst CSS_BORDER_COLOR = \"border-color\";\nconst CSS_BOX_SHADOW = \"box-shadow\";\nconst CSS_BORDER_TOP_WIDTH = \"border-top-width\";\nconst CSS_BORDER_RIGHT_WIDTH = \"border-right-width\";\nconst CSS_BORDER_BOTTOM_WIDTH = \"border-bottom-width\";\nconst CSS_BORDER_LEFT_WIDTH = \"border-left-width\";\nconst CSS_BORDER_TOP_COLOR = \"border-top-color\";\nconst CSS_BORDER_RIGHT_COLOR = \"border-right-color\";\nconst CSS_BORDER_BOTTOM_COLOR = \"border-bottom-color\";\nconst CSS_BORDER_LEFT_COLOR = \"border-left-color\";\nconst CSS_TAB_UNDERLINE_WIDTH = \"--uds-tab-underline-width\";\nconst CSS_TAB_UNDERLINE_COLOR = \"--uds-tab-underline-color\";\nfunction deepMerge(target, source) {\n\treturn mergeWith({}, target, source);\n}\nconst COMPONENTS_WITH_SHADOW_BORDERS = [\n\t{\n\t\tcomponentName: \"button\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"iconbutton\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"chip\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tab\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tabs\",\n\t\tlayer: \"root\"\n\t}\n];\n/**\n* Map our \"states\" to pseudo-classes (hover => :hover, pressed => :active, etc.).\n* Adjust or extend as needed.\n*/\nconst statePseudoMap = {\n\trest: \"\",\n\thover: \":hover:not(:active, :disabled, :has(:disabled))\",\n\tpressed: \":active:not(:disabled, :has(:disabled))\",\n\tdisabled: \":is(:disabled, :has(:disabled))\",\n\tvisited: \":visited\",\n\tfocused: \":focus\",\n\t\"focus-within\": \":focus-within\",\n\t\"focused-keyboard\": \":focus-visible\",\n\treadonly: \":has(input:read-only)\",\n\tinvalid: \":has(input[aria-invalid=\\\"true\\\"])\",\n\t\"invalid&hover\": \":has(input[aria-invalid=\\\"true\\\"]):hover:not(:active, :disabled, :has(:disabled))\",\n\t\"invalid&pressed\": \":has(input[aria-invalid=\\\"true\\\"]):active:not(:disabled, :has(:disabled))\"\n};\nconst statePseudoMapDocsMode = {\n\trest: \"\",\n\thover: \"hover\",\n\tpressed: \"active\",\n\tdisabled: \"has-disabled\",\n\tvisited: \"visited\",\n\tfocused: \"focus\",\n\t\"focus-within\": \"focus-within\",\n\t\"focused-keyboard\": \"focus-visible\",\n\treadonly: \"input-readonly\",\n\tinvalid: \"has-input-invalid\",\n\t\"invalid&hover\": \"has-input-invalid-and-hover\",\n\t\"invalid&pressed\": \"has-input-invalid-and-active\"\n};\n/**\n* Generates button line-height with icon size minimum.\n* Ensures button line-height is at least as tall as the icon to prevent clipping.\n* @returns Enhanced line-height CSS value with max(), or original value if icon size unavailable\n*/\nfunction getButtonLineHeightWithIconMinimum({ lineHeight, schema, iconLayerKey, state, theme }) {\n\tconst iconSizeValue = schema.variables?.[iconLayerKey]?.size?.[state]?.value;\n\tif (iconSizeValue) return `max(${lineHeight}, ${theme(configurableProperties.iconSize.twThemePath(\"iconSizes\", iconSizeValue))})`;\n\treturn lineHeight;\n}\n/**\n* Forces button borders to use box-shadow instead of border properties.\n* Converts border-width and border-color into an inset box-shadow layer.\n*\n* Why box-shadow for borders?\n* - Respects border-radius (unlike outline which stays rectangular)\n* - Allows layering multiple shadows in a single property\n* - GPU-accelerated and performant\n* - Works perfectly with rounded/circular buttons\n*\n* @param classStyles - The CSS declarations for a button class\n* @returns Modified styles with box-shadow layers, or original if no border\n*\n* @example\n* Input: { border-width: '2px', border-color: 'red', box-shadow: '0 2px 4px rgba(0,0,0,0.1)' }\n* Output: { box-shadow: 'inset 0 0 0 2px red, 0 2px 4px rgba(0,0,0,0.1)' }\n* Renders borders using inset box-shadows instead of CSS border widths.\n* This preserves visual borders without affecting layout dimensions.\n*/\nfunction applyBoxShadowBorder(classStyles) {\n\tconst stripImportant = (value) => value.replace(/\\s*!important\\s*$/, \"\");\n\tconst hasImportant = (value) => value?.includes(\"!important\") ?? false;\n\tconst isZeroWidth = (value) => !value || /^(0|0px|0rem|0em|0%)$/i.test(stripImportant(value).trim());\n\tconst negateLength = (value) => {\n\t\tconst normalized = stripImportant(value).trim();\n\t\tif (/^(0|0px|0rem|0em|0%)$/i.test(normalized)) return \"0\";\n\t\treturn `calc(${normalized} * -1)`;\n\t};\n\tconst borderWidth = classStyles[CSS_BORDER_WIDTH];\n\tconst borderColor = classStyles[CSS_BORDER_COLOR];\n\tconst topWidth = classStyles[CSS_BORDER_TOP_WIDTH] ?? borderWidth;\n\tconst rightWidth = classStyles[CSS_BORDER_RIGHT_WIDTH] ?? borderWidth;\n\tconst bottomWidth = classStyles[CSS_BORDER_BOTTOM_WIDTH] ?? borderWidth;\n\tconst leftWidth = classStyles[CSS_BORDER_LEFT_WIDTH] ?? borderWidth;\n\tconst topColor = classStyles[CSS_BORDER_TOP_COLOR] ?? borderColor;\n\tconst rightColor = classStyles[CSS_BORDER_RIGHT_COLOR] ?? borderColor;\n\tconst bottomColor = classStyles[CSS_BORDER_BOTTOM_COLOR] ?? borderColor;\n\tconst leftColor = classStyles[CSS_BORDER_LEFT_COLOR] ?? borderColor;\n\tconst borderLayers = [];\n\tif (!isZeroWidth(topWidth) && topColor) borderLayers.push(`inset 0 ${stripImportant(topWidth)} 0 0 ${stripImportant(topColor)}`);\n\tif (!isZeroWidth(rightWidth) && rightColor) borderLayers.push(`inset ${negateLength(rightWidth)} 0 0 0 ${stripImportant(rightColor)}`);\n\tif (!isZeroWidth(bottomWidth) && bottomColor) borderLayers.push(`inset 0 ${negateLength(bottomWidth)} 0 0 ${stripImportant(bottomColor)}`);\n\tif (!isZeroWidth(leftWidth) && leftColor) borderLayers.push(`inset ${stripImportant(leftWidth)} 0 0 0 ${stripImportant(leftColor)}`);\n\tif (borderLayers.length === 0) return classStyles;\n\tconst layers = [...borderLayers, classStyles[CSS_BOX_SHADOW] && stripImportant(classStyles[CSS_BOX_SHADOW])].filter(Boolean);\n\tconst needsImportant = hasImportant(topWidth) || hasImportant(rightWidth) || hasImportant(bottomWidth) || hasImportant(leftWidth) || hasImportant(topColor) || hasImportant(rightColor) || hasImportant(bottomColor) || hasImportant(leftColor) || hasImportant(borderWidth) || hasImportant(borderColor) || hasImportant(classStyles[CSS_BOX_SHADOW]);\n\tconst newStyles = { ...classStyles };\n\tnewStyles[CSS_BOX_SHADOW] = layers.join(\", \") + (needsImportant ? \" !important\" : \"\");\n\tdelete newStyles[CSS_BORDER_WIDTH];\n\tdelete newStyles[CSS_BORDER_COLOR];\n\tdelete newStyles[CSS_BORDER_TOP_WIDTH];\n\tdelete newStyles[CSS_BORDER_RIGHT_WIDTH];\n\tdelete newStyles[CSS_BORDER_BOTTOM_WIDTH];\n\tdelete newStyles[CSS_BORDER_LEFT_WIDTH];\n\tdelete newStyles[CSS_BORDER_TOP_COLOR];\n\tdelete newStyles[CSS_BORDER_RIGHT_COLOR];\n\tdelete newStyles[CSS_BORDER_BOTTOM_COLOR];\n\tdelete newStyles[CSS_BORDER_LEFT_COLOR];\n\treturn newStyles;\n}\nfunction generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }) {\n\tlet className = \"\";\n\tif (subComponentName) className = `uds-${componentName}-${subComponentName}-${variantKey}`.toLowerCase();\n\telse className = `uds-${componentName}-${variantKey}`.toLowerCase();\n\tif (variantValue) className = `${className}-${variantValue}`.toLowerCase();\n\tif (componentStateKey && componentStateValue) className = `${className}-${componentStateKey}-${componentStateValue}`.toLowerCase();\n\tclassName = `${className}-${layer}`.toLowerCase();\n\tif (layerOptionalPseudoSelector) className = `${className}${layerOptionalPseudoSelector}`;\n\treturn className.replaceAll(/\\s+/g, \"-\");\n}\nconst getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, existingValue, originalPropertyDefinition) => {\n\tconst { value, type } = schemaStateValue;\n\tconst propertyConfig = configurableProperties[propertyName];\n\tlet newValue;\n\tif (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);\n\telse {\n\t\tconst safeTwThemePath = propertyConfig.twThemePath;\n\t\tnewValue = theme(safeTwThemePath(type, String(value)));\n\t}\n\tif (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || \", \"}${newValue}`;\n\treturn newValue;\n};\nfunction generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions }) {\n\tconst schemaKey = generateSchemaKey({\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tlet className = generateClassName({\n\t\tcomponentName,\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tconst propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];\n\tif (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);\n\tconst styles = {};\n\tfor (const propStateStr in propertyStateMap) {\n\t\tconst propertyState = propStateStr;\n\t\tconst propertyStateSelector = statePseudoMap[propertyState] ?? \"\";\n\t\tconst schemaValueForState = propertyStateMap[propertyState];\n\t\tlet fullClassName = ``;\n\t\tif (layer === \"root\") if (componentStateKey && componentStateValue) {\n\t\t\tconst rootVariantClass = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tclassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName,\n\t\t\t\tcomponentStateKey,\n\t\t\t\tcomponentStateValue\n\t\t\t});\n\t\t\tfullClassName = `.${rootVariantClass}${propertyStateSelector}.${className}`;\n\t\t} else fullClassName = `.${className}${propertyStateSelector}`;\n\t\telse {\n\t\t\tconst rootVariantClassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer: \"root\",\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tif (componentStateKey && componentStateValue) {\n\t\t\t\tconst rootVariantClassNameWithComponentState = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tlayer: \"root\",\n\t\t\t\t\tsubComponentName,\n\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\tcomponentStateValue\n\t\t\t\t});\n\t\t\t\tclassName = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer,\n\t\t\t\t\tlayerOptionalPseudoSelector,\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tfullClassName = `.${rootVariantClassName}${propertyStateSelector}.${rootVariantClassNameWithComponentState} .${className}`;\n\t\t\t} else fullClassName = `.${rootVariantClassName}${propertyStateSelector} .${className}`;\n\t\t}\n\t\tconst { cssProperties, extendedProperties: extendedPropertiesGetter } = configurableProperties[originalPropertyDefinition.name];\n\t\tconst cssDeclarations = {};\n\t\tconst isExtendedPropertiesFunction = isFunction(extendedPropertiesGetter);\n\t\tconst extendedProperties = isExtendedPropertiesFunction ? extendedPropertiesGetter({\n\t\t\tcomponentName,\n\t\t\tsubComponentName,\n\t\t\tlayer,\n\t\t\tpropertyKey\n\t\t}) : extendedPropertiesGetter;\n\t\tif (extendedProperties && extendedProperties.length) {\n\t\t\tif (!isExtendedPropertiesFunction && (typeof cssProperties === \"string\" || Array.isArray(cssProperties) && cssProperties.length > 0)) throw new Error(\"Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.\");\n\t\t\tfor (const extendedProp of extendedProperties) {\n\t\t\t\tconst cssPropertiesRef = configurableProperties[extendedProp].cssProperties;\n\t\t\t\tif (typeof cssPropertiesRef === \"string\") {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssPropertiesRef];\n\t\t\t\t\tcssDeclarations[cssPropertiesRef] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t} else if (Array.isArray(cssPropertiesRef)) for (const cssProp of cssPropertiesRef) {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (typeof cssProperties === \"string\") {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProperties];\n\t\t\tcssDeclarations[cssProperties] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t} else if (Array.isArray(cssProperties)) for (const cssProp of cssProperties) {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t}\n\t\t/**\n\t\t* Button root layer workarounds & enhancements.\n\t\t* These handle Motion animation bridges and visual fixes until better config-to-component solutions exist.\n\t\t*/\n\t\tif (componentName === \"button\" && layer === \"root\") {\n\t\t\tif (propertyKey === CSS_GAP) cssDeclarations[BUTTON_GAP_VAR] = cssDeclarations[CSS_GAP];\n\t\t\tif (propertyKey === \"scaleEffect\" && propertyState === \"hover\") {\n\t\t\t\tconst rootClassName = `.${className}`;\n\t\t\t\tconst renderValue = (schemaValue) => configurableProperties.scaleEffect.customValueRenderer?.(schemaValue, schema, () => \"\") ?? \"1\";\n\t\t\t\tif (!styles[rootClassName]) styles[rootClassName] = {};\n\t\t\t\tstyles[rootClassName][BUTTON_SCALE_EFFECT_REST] = \"1\";\n\t\t\t\tif (propertyStateMap.hover) styles[rootClassName][BUTTON_SCALE_EFFECT_HOVER] = renderValue(propertyStateMap.hover);\n\t\t\t\tif (propertyStateMap.pressed) styles[rootClassName][BUTTON_SCALE_EFFECT_PRESSED] = renderValue(propertyStateMap.pressed);\n\t\t\t}\n\t\t\tif (cssDeclarations[CSS_LINE_HEIGHT]) {\n\t\t\t\tconst iconLayerKey = generateSchemaKey({\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer: \"icon\",\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tcssDeclarations[CSS_LINE_HEIGHT] = getButtonLineHeightWithIconMinimum({\n\t\t\t\t\tlineHeight: cssDeclarations[CSS_LINE_HEIGHT],\n\t\t\t\t\tschema,\n\t\t\t\t\ticonLayerKey,\n\t\t\t\t\tstate: propertyState,\n\t\t\t\t\ttheme\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif ((componentName === \"tabs\" || componentName === \"tab\") && layer === \"root\") {\n\t\t\tconst schemaVariablesForKey = schema?.variables?.[schemaKey];\n\t\t\tif (propertyKey === \"borderWidth\" && schemaVariablesForKey?.underlineWidth) {\n\t\t\t\tconst borderWidth = cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\tif (borderWidth) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_WIDTH] = borderWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"borderColor\" && schemaVariablesForKey?.underlineColor) {\n\t\t\t\tconst borderColor = cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\tif (borderColor) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_COLOR] = borderColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineWidth\") {\n\t\t\t\tconst underlineWidth = cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\tif (underlineWidth) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_WIDTH] = underlineWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineColor\") {\n\t\t\t\tconst underlineColor = cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\tif (underlineColor) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_COLOR] = underlineColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!styles[fullClassName]) styles[fullClassName] = {\n\t\t\t...cssDeclarations,\n\t\t\t...styles[fullClassName]\n\t\t};\n\t\tif (previewOptions?.generatePseudoStateClassModifier) {\n\t\t\tconst pseudoPrefixClass = statePseudoMapDocsMode[propertyState] ?? \"\";\n\t\t\tif (pseudoPrefixClass.length) {\n\t\t\t\tconst importantCssDeclarations = Object.fromEntries(Object.entries(cssDeclarations).map(([prop, value]) => {\n\t\t\t\t\tconst strValue = String(value).trimEnd().replace(/;$/, \"\");\n\t\t\t\t\tif (strValue.includes(\"!important\")) return [prop, strValue];\n\t\t\t\t\treturn [prop, `${strValue} !important`];\n\t\t\t\t}));\n\t\t\t\tstyles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")] = {\n\t\t\t\t\t...importantCssDeclarations,\n\t\t\t\t\t...styles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\treturn styles;\n}\nfunction generateConfigStyles(config, schema, theme, previewOptions) {\n\tconst componentName = config.label.toLowerCase();\n\tlet styles = {};\n\tfor (const variantKey in config.variants) {\n\t\tconst variantConfig = config.variants[variantKey];\n\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\tconst layers = variantConfig.layers;\n\t\t\tfor (const layerKey in layers) {\n\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\ttheme,\n\t\t\t\t\t\tschema,\n\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t});\n\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif (config.subComponents) {\n\t\tconst { subComponents } = config;\n\t\tfor (const subComponentKey in subComponents) for (const variantKey in subComponents[subComponentKey].variants) {\n\t\t\tconst variantConfig = subComponents[subComponentKey].variants[variantKey];\n\t\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\t\tconst layers = variantConfig.layers;\n\t\t\t\tfor (const layerKey in layers) {\n\t\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Post-process button/iconbutton styles to force box-shadow for borders.\n\t* This runs AFTER all properties have been processed and merged.\n\t*/\n\tconst toApply = COMPONENTS_WITH_SHADOW_BORDERS.find((c) => c.componentName === componentName);\n\tif (toApply) {\n\t\tfor (const className in styles) if (className.includes(`-${toApply.layer}`.toLowerCase())) {\n\t\t\tconst raw = styles[className];\n\t\t\tif (toApply.componentName === \"tab\") {\n\t\t\t\tconst tabUnderlineWidth = raw[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tconst tabUnderlineColor = raw[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst withoutTabUnderline = { ...raw };\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst merged = applyBoxShadowBorder(withoutTabUnderline);\n\t\t\t\tif (tabUnderlineWidth !== void 0) merged[CSS_TAB_UNDERLINE_WIDTH] = tabUnderlineWidth;\n\t\t\t\tif (tabUnderlineColor !== void 0) merged[CSS_TAB_UNDERLINE_COLOR] = tabUnderlineColor;\n\t\t\t\tstyles[className] = merged;\n\t\t\t} else styles[className] = applyBoxShadowBorder(raw);\n\t\t}\n\t}\n\treturn styles;\n}\n/**\n* @param config - Component configuration (Button, IconButton, etc.)\n* @param schema - Production schema with defaults and variables\n* @param theme - Tailwind theme function to resolve design tokens\n* @param previewOptions - Options for generating preview mode class modifiers\n* @returns CSS styles object with grouped selectors for default aliases\n*/\nconst generateStyles = (config, schema, theme, previewOptions) => {\n\tconst styles = generateConfigStyles(config, schema, theme, previewOptions);\n\tif (!config.variants && !config.subComponents) return styles;\n\tconst componentName = config.label.toLowerCase();\n\tif (componentName !== \"button\" && componentName !== \"iconbutton\") return styles;\n\tconst replacementMap = /* @__PURE__ */ new Map();\n\t/**\n\t* Helper: Extract all layer keys from a variant configuration\n\t* Handles both simple variants (with direct layers) and variants with component states\n\t*/\n\tconst getLayerKeys = (variantConfig) => {\n\t\tif (isVariantConfigWithProperties(variantConfig)) return Object.keys(variantConfig.layers);\n\t\telse if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst layerKeysSet = /* @__PURE__ */ new Set();\n\t\t\tfor (const componentStateConfig of Object.values(variantConfig.componentStates)) Object.keys(componentStateConfig.layers).forEach((key) => layerKeysSet.add(key));\n\t\t\treturn Array.from(layerKeysSet);\n\t\t}\n\t\treturn [];\n\t};\n\t/**\n\t* Helper: Build replacement map for default variant values\n\t* For each default variant + layer combination, creates an entry like:\n\t* \"uds-button-size-sm-root\" → \".uds-button-size-sm-root, .uds-button-size-default-root\"\n\t*/\n\tconst buildReplacements = (variants, subComponentName) => {\n\t\tfor (const [variantType, variantConfig] of Object.entries(variants)) {\n\t\t\tif (!isVariantConfigWithProperties(variantConfig) && !isVariantConfigWithComponentStates(variantConfig)) continue;\n\t\t\tconst layerKeys = getLayerKeys(variantConfig);\n\t\t\tif (layerKeys.length) {\n\t\t\t\tconst defaultValue = schema.defaults?.[variantType];\n\t\t\t\tif (defaultValue) for (const layerKey of layerKeys) {\n\t\t\t\t\tconst baseClass = generateClassName({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey: variantType,\n\t\t\t\t\t\tvariantValue: defaultValue,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tsubComponentName\n\t\t\t\t\t});\n\t\t\t\t\tconst defaultClass = generateDefaultClassName(componentName, variantType, layerKey, subComponentName);\n\t\t\t\t\treplacementMap.set(baseClass, `.${baseClass}, .${defaultClass}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\tif (config.variants) buildReplacements(config.variants);\n\tif (config.subComponents) for (const [subComponentName, subComponentConfig] of Object.entries(config.subComponents)) buildReplacements(subComponentConfig.variants, subComponentName);\n\tconst finalStyles = {};\n\tfor (const [selector, declarations] of Object.entries(styles)) {\n\t\tlet defaultsSelector = selector;\n\t\tlet hasMatch = false;\n\t\tfor (const [defaultVariantClass, replacement] of replacementMap.entries()) if (selector.includes(defaultVariantClass)) {\n\t\t\thasMatch = true;\n\t\t\tconst defaultMatch = replacement.match(/,\\s*\\.([a-z0-9-]+)/);\n\t\t\tif (defaultMatch) {\n\t\t\t\tconst defaultClass = defaultMatch[1];\n\t\t\t\tdefaultsSelector = defaultsSelector.replaceAll(defaultVariantClass, defaultClass);\n\t\t\t}\n\t\t}\n\t\tif (!hasMatch) {\n\t\t\tfinalStyles[selector] = declarations;\n\t\t\tcontinue;\n\t\t}\n\t\tfinalStyles[`${selector}, ${defaultsSelector}`] = declarations;\n\t}\n\treturn finalStyles;\n};\nfunction createConfigurableProperty(prop) {\n\treturn prop;\n}\nfunction createVariantConfig(config) {\n\treturn config;\n}\nfunction createVariantConfigWithProperties(config) {\n\treturn config;\n}\nfunction createVariantConfigWithComponentStates(config) {\n\treturn config;\n}\nfunction createComponentStates(config) {\n\treturn config;\n}\nfunction createLayerConfig(config) {\n\treturn config;\n}\nfunction createSubComponentConfig(config) {\n\treturn config;\n}\n\n//#endregion\nexport { buildConfigSchema, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, findFixtureType, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, statePseudoMapDocsMode };\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;;;;AAmBA,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,0BAA0B;AAChC,MAAM,0BAA0B;AAChC,SAAS,UAAU,QAAQ,QAAQ;AAClC,QAAO,UAAU,EAAE,EAAE,QAAQ,OAAO;;AAErC,MAAM,iCAAiC;CACtC;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OA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d,OAAO;MACP;MACA,CAAC;KACF,MAAM,eAAe,yBAAyB,eAAe,aAAa,UAAU,iBAAiB;AACrG,oBAAe,IAAI,WAAW,IAAI,UAAU,KAAK,eAAe;;;;;AAKpE,KAAI,OAAO,SAAU,mBAAkB,OAAO,SAAS;AACvD,KAAI,OAAO,cAAe,MAAK,MAAM,CAAC,kBAAkB,uBAAuB,OAAO,QAAQ,OAAO,cAAc,CAAE,mBAAkB,mBAAmB,UAAU,iBAAiB;CACrL,MAAM,cAAc,EAAE;AACtB,MAAK,MAAM,CAAC,UAAU,iBAAiB,OAAO,QAAQ,OAAO,EAAE;EAC9D,IAAI,mBAAmB;EACvB,IAAI,WAAW;AACf,OAAK,MAAM,CAAC,qBAAqB,gBAAgB,eAAe,SAAS,CAAE,KAAI,SAAS,SAAS,oBAAoB,EAAE;AACtH,cAAW;GACX,MAAM,eAAe,YAAY,MAAM,qBAAqB;AAC5D,OAAI,cAAc;IACjB,MAAM,eAAe,aAAa;AAClC,uBAAmB,iBAAiB,WAAW,qBAAqB,aAAa;;;AAGnF,MAAI,CAAC,UAAU;AACd,eAAY,YAAY;AACxB;;AAED,cAAY,GAAG,SAAS,IAAI,sBAAsB;;AAEnD,QAAO"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../automated-config/dist/utils/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { configurableProperties } from \"../properties.js\";\nimport { generateDefaultClassName } from \"./generateDefaultClassName.js\";\nimport { generateSchemaKey } from \"./generateSchemaKey.js\";\nimport { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from \"./variantConfigGuards.js\";\nimport { buildConfigSchema, findFixtureType } from \"./buildConfigSchema.js\";\nimport { cartesianProduct } from \"./cartesianProduct.js\";\nimport { getConfigSubcomponents } from \"./subcomponents.js\";\nimport { coalesceConfigVariant } from \"./coalesceConfigVariant.js\";\nimport { getConfigDefaultValue, isConfigDefaultValue } from \"./defaults.js\";\nimport { generateKeyFromFlatConfigPath } from \"./generateKeyFromFlatConfigPath.js\";\nimport { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from \"./getConfigVariantComponentStatesMatrix.js\";\nimport { getConfigVariantProperties } from \"./getConfigVariantProperties.js\";\nimport { getConfigVariantPseudoStates } from \"./getConfigVariantPseudoStates.js\";\nimport { getConfigVariants } from \"./getConfigVariants.js\";\nimport { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from \"@yahoo/uds-css-tokens\";\nimport { isFunction, mergeWith } from \"lodash-es\";\n//#region src/utils/index.ts\nconst CSS_GAP = \"gap\";\nconst CSS_LINE_HEIGHT = \"line-height\";\nconst CSS_BORDER_WIDTH = \"border-width\";\nconst CSS_BORDER_COLOR = \"border-color\";\nconst CSS_BOX_SHADOW = \"box-shadow\";\nconst CSS_BORDER_TOP_WIDTH = \"border-top-width\";\nconst CSS_BORDER_RIGHT_WIDTH = \"border-right-width\";\nconst CSS_BORDER_BOTTOM_WIDTH = \"border-bottom-width\";\nconst CSS_BORDER_LEFT_WIDTH = \"border-left-width\";\nconst CSS_BORDER_TOP_COLOR = \"border-top-color\";\nconst CSS_BORDER_RIGHT_COLOR = \"border-right-color\";\nconst CSS_BORDER_BOTTOM_COLOR = \"border-bottom-color\";\nconst CSS_BORDER_LEFT_COLOR = \"border-left-color\";\nconst CSS_TAB_UNDERLINE_WIDTH = \"--uds-tab-underline-width\";\nconst CSS_TAB_UNDERLINE_COLOR = \"--uds-tab-underline-color\";\nfunction deepMerge(target, source) {\n\treturn mergeWith({}, target, source);\n}\nconst COMPONENTS_WITH_SHADOW_BORDERS = [\n\t{\n\t\tcomponentName: \"button\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"iconbutton\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"chip\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tab\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tabs\",\n\t\tlayer: \"root\"\n\t}\n];\n/**\n* Map our \"states\" to pseudo-classes (hover => :hover, pressed => :active, etc.).\n* Adjust or extend as needed.\n*/\nconst statePseudoMap = {\n\trest: \"\",\n\thover: \":hover:not(:active, :disabled, :has(:disabled))\",\n\tpressed: \":active:not(:disabled, :has(:disabled))\",\n\tdisabled: \":is(:disabled, :has(:disabled))\",\n\tvisited: \":visited\",\n\tfocused: \":focus\",\n\t\"focus-within\": \":focus-within\",\n\t\"focused-keyboard\": \":focus-visible\",\n\treadonly: \":has(input:read-only)\",\n\tinvalid: \":has(input[aria-invalid=\\\"true\\\"])\",\n\t\"invalid&hover\": \":has(input[aria-invalid=\\\"true\\\"]):hover:not(:active, :disabled, :has(:disabled))\",\n\t\"invalid&pressed\": \":has(input[aria-invalid=\\\"true\\\"]):active:not(:disabled, :has(:disabled))\"\n};\nconst statePseudoMapDocsMode = {\n\trest: \"\",\n\thover: \"hover\",\n\tpressed: \"active\",\n\tdisabled: \"has-disabled\",\n\tvisited: \"visited\",\n\tfocused: \"focus\",\n\t\"focus-within\": \"focus-within\",\n\t\"focused-keyboard\": \"focus-visible\",\n\treadonly: \"input-readonly\",\n\tinvalid: \"has-input-invalid\",\n\t\"invalid&hover\": \"has-input-invalid-and-hover\",\n\t\"invalid&pressed\": \"has-input-invalid-and-active\"\n};\n/**\n* Generates button line-height with icon size minimum.\n* Ensures button line-height is at least as tall as the icon to prevent clipping.\n* @returns Enhanced line-height CSS value with max(), or original value if icon size unavailable\n*/\nfunction getButtonLineHeightWithIconMinimum({ lineHeight, schema, iconLayerKey, state, theme }) {\n\tconst iconSizeValue = schema.variables?.[iconLayerKey]?.size?.[state]?.value;\n\tif (iconSizeValue) return `max(${lineHeight}, ${theme(configurableProperties.iconSize.twThemePath(\"iconSizes\", iconSizeValue))})`;\n\treturn lineHeight;\n}\n/**\n* Forces button borders to use box-shadow instead of border properties.\n* Converts border-width and border-color into an inset box-shadow layer.\n*\n* Why box-shadow for borders?\n* - Respects border-radius (unlike outline which stays rectangular)\n* - Allows layering multiple shadows in a single property\n* - GPU-accelerated and performant\n* - Works perfectly with rounded/circular buttons\n*\n* @param classStyles - The CSS declarations for a button class\n* @returns Modified styles with box-shadow layers, or original if no border\n*\n* @example\n* Input: { border-width: '2px', border-color: 'red', box-shadow: '0 2px 4px rgba(0,0,0,0.1)' }\n* Output: { box-shadow: 'inset 0 0 0 2px red, 0 2px 4px rgba(0,0,0,0.1)' }\n* Renders borders using inset box-shadows instead of CSS border widths.\n* This preserves visual borders without affecting layout dimensions.\n*/\nfunction applyBoxShadowBorder(classStyles) {\n\tconst stripImportant = (value) => value.replace(/\\s*!important\\s*$/, \"\");\n\tconst hasImportant = (value) => value?.includes(\"!important\") ?? false;\n\tconst isZeroWidth = (value) => !value || /^(0|0px|0rem|0em|0%)$/i.test(stripImportant(value).trim());\n\tconst negateLength = (value) => {\n\t\tconst normalized = stripImportant(value).trim();\n\t\tif (/^(0|0px|0rem|0em|0%)$/i.test(normalized)) return \"0\";\n\t\treturn `calc(${normalized} * -1)`;\n\t};\n\tconst borderWidth = classStyles[CSS_BORDER_WIDTH];\n\tconst borderColor = classStyles[CSS_BORDER_COLOR];\n\tconst topWidth = classStyles[CSS_BORDER_TOP_WIDTH] ?? borderWidth;\n\tconst rightWidth = classStyles[CSS_BORDER_RIGHT_WIDTH] ?? borderWidth;\n\tconst bottomWidth = classStyles[CSS_BORDER_BOTTOM_WIDTH] ?? borderWidth;\n\tconst leftWidth = classStyles[CSS_BORDER_LEFT_WIDTH] ?? borderWidth;\n\tconst topColor = classStyles[CSS_BORDER_TOP_COLOR] ?? borderColor;\n\tconst rightColor = classStyles[CSS_BORDER_RIGHT_COLOR] ?? borderColor;\n\tconst bottomColor = classStyles[CSS_BORDER_BOTTOM_COLOR] ?? borderColor;\n\tconst leftColor = classStyles[CSS_BORDER_LEFT_COLOR] ?? borderColor;\n\tconst borderLayers = [];\n\tif (!isZeroWidth(topWidth) && topColor) borderLayers.push(`inset 0 ${stripImportant(topWidth)} 0 0 ${stripImportant(topColor)}`);\n\tif (!isZeroWidth(rightWidth) && rightColor) borderLayers.push(`inset ${negateLength(rightWidth)} 0 0 0 ${stripImportant(rightColor)}`);\n\tif (!isZeroWidth(bottomWidth) && bottomColor) borderLayers.push(`inset 0 ${negateLength(bottomWidth)} 0 0 ${stripImportant(bottomColor)}`);\n\tif (!isZeroWidth(leftWidth) && leftColor) borderLayers.push(`inset ${stripImportant(leftWidth)} 0 0 0 ${stripImportant(leftColor)}`);\n\tif (borderLayers.length === 0) return classStyles;\n\tconst layers = [...borderLayers, classStyles[CSS_BOX_SHADOW] && stripImportant(classStyles[CSS_BOX_SHADOW])].filter(Boolean);\n\tconst needsImportant = hasImportant(topWidth) || hasImportant(rightWidth) || hasImportant(bottomWidth) || hasImportant(leftWidth) || hasImportant(topColor) || hasImportant(rightColor) || hasImportant(bottomColor) || hasImportant(leftColor) || hasImportant(borderWidth) || hasImportant(borderColor) || hasImportant(classStyles[CSS_BOX_SHADOW]);\n\tconst newStyles = { ...classStyles };\n\tnewStyles[CSS_BOX_SHADOW] = layers.join(\", \") + (needsImportant ? \" !important\" : \"\");\n\tdelete newStyles[CSS_BORDER_WIDTH];\n\tdelete newStyles[CSS_BORDER_COLOR];\n\tdelete newStyles[CSS_BORDER_TOP_WIDTH];\n\tdelete newStyles[CSS_BORDER_RIGHT_WIDTH];\n\tdelete newStyles[CSS_BORDER_BOTTOM_WIDTH];\n\tdelete newStyles[CSS_BORDER_LEFT_WIDTH];\n\tdelete newStyles[CSS_BORDER_TOP_COLOR];\n\tdelete newStyles[CSS_BORDER_RIGHT_COLOR];\n\tdelete newStyles[CSS_BORDER_BOTTOM_COLOR];\n\tdelete newStyles[CSS_BORDER_LEFT_COLOR];\n\treturn newStyles;\n}\nfunction generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }) {\n\tlet className = \"\";\n\tif (subComponentName) className = `uds-${componentName}-${subComponentName}-${variantKey}`.toLowerCase();\n\telse className = `uds-${componentName}-${variantKey}`.toLowerCase();\n\tif (variantValue) className = `${className}-${variantValue}`.toLowerCase();\n\tif (componentStateKey && componentStateValue) className = `${className}-${componentStateKey}-${componentStateValue}`.toLowerCase();\n\tclassName = `${className}-${layer}`.toLowerCase();\n\tif (layerOptionalPseudoSelector) className = `${className}${layerOptionalPseudoSelector}`;\n\treturn className.replaceAll(/\\s+/g, \"-\");\n}\nconst getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, existingValue, originalPropertyDefinition) => {\n\tconst { value, type } = schemaStateValue;\n\tconst propertyConfig = configurableProperties[propertyName];\n\tlet newValue;\n\tif (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);\n\telse {\n\t\tconst safeTwThemePath = propertyConfig.twThemePath;\n\t\tnewValue = theme(safeTwThemePath(type, String(value)));\n\t}\n\tif (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || \", \"}${newValue}`;\n\treturn newValue;\n};\nfunction generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions }) {\n\tconst schemaKey = generateSchemaKey({\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tlet className = generateClassName({\n\t\tcomponentName,\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tconst propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];\n\tif (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);\n\tconst styles = {};\n\tfor (const propStateStr in propertyStateMap) {\n\t\tconst propertyState = propStateStr;\n\t\tconst propertyStateSelector = statePseudoMap[propertyState] ?? \"\";\n\t\tconst schemaValueForState = propertyStateMap[propertyState];\n\t\tlet fullClassName = ``;\n\t\tif (layer === \"root\") if (componentStateKey && componentStateValue) {\n\t\t\tconst rootVariantClass = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tclassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName,\n\t\t\t\tcomponentStateKey,\n\t\t\t\tcomponentStateValue\n\t\t\t});\n\t\t\tfullClassName = `.${rootVariantClass}${propertyStateSelector}.${className}`;\n\t\t} else fullClassName = `.${className}${propertyStateSelector}`;\n\t\telse {\n\t\t\tconst rootVariantClassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer: \"root\",\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tif (componentStateKey && componentStateValue) {\n\t\t\t\tconst rootVariantClassNameWithComponentState = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tlayer: \"root\",\n\t\t\t\t\tsubComponentName,\n\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\tcomponentStateValue\n\t\t\t\t});\n\t\t\t\tclassName = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer,\n\t\t\t\t\tlayerOptionalPseudoSelector,\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tfullClassName = `.${rootVariantClassName}${propertyStateSelector}.${rootVariantClassNameWithComponentState} .${className}`;\n\t\t\t} else fullClassName = `.${rootVariantClassName}${propertyStateSelector} .${className}`;\n\t\t}\n\t\tconst { cssProperties, extendedProperties: extendedPropertiesGetter } = configurableProperties[originalPropertyDefinition.name];\n\t\tconst cssDeclarations = {};\n\t\tconst isExtendedPropertiesFunction = isFunction(extendedPropertiesGetter);\n\t\tconst extendedProperties = isExtendedPropertiesFunction ? extendedPropertiesGetter({\n\t\t\tcomponentName,\n\t\t\tsubComponentName,\n\t\t\tlayer,\n\t\t\tpropertyKey\n\t\t}) : extendedPropertiesGetter;\n\t\tif (extendedProperties && extendedProperties.length) {\n\t\t\tif (!isExtendedPropertiesFunction && (typeof cssProperties === \"string\" || Array.isArray(cssProperties) && cssProperties.length > 0)) throw new Error(\"Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.\");\n\t\t\tfor (const extendedProp of extendedProperties) {\n\t\t\t\tconst cssPropertiesRef = configurableProperties[extendedProp].cssProperties;\n\t\t\t\tif (typeof cssPropertiesRef === \"string\") {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssPropertiesRef];\n\t\t\t\t\tcssDeclarations[cssPropertiesRef] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t} else if (Array.isArray(cssPropertiesRef)) for (const cssProp of cssPropertiesRef) {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (typeof cssProperties === \"string\") {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProperties];\n\t\t\tcssDeclarations[cssProperties] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t} else if (Array.isArray(cssProperties)) for (const cssProp of cssProperties) {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t}\n\t\t/**\n\t\t* Button root layer workarounds & enhancements.\n\t\t* These handle Motion animation bridges and visual fixes until better config-to-component solutions exist.\n\t\t*/\n\t\tif (componentName === \"button\" && layer === \"root\") {\n\t\t\tif (propertyKey === CSS_GAP) cssDeclarations[BUTTON_GAP_VAR] = cssDeclarations[CSS_GAP];\n\t\t\tif (propertyKey === \"scaleEffect\" && propertyState === \"hover\") {\n\t\t\t\tconst rootClassName = `.${className}`;\n\t\t\t\tconst renderValue = (schemaValue) => configurableProperties.scaleEffect.customValueRenderer?.(schemaValue, schema, () => \"\") ?? \"1\";\n\t\t\t\tif (!styles[rootClassName]) styles[rootClassName] = {};\n\t\t\t\tstyles[rootClassName][BUTTON_SCALE_EFFECT_REST] = \"1\";\n\t\t\t\tif (propertyStateMap.hover) styles[rootClassName][BUTTON_SCALE_EFFECT_HOVER] = renderValue(propertyStateMap.hover);\n\t\t\t\tif (propertyStateMap.pressed) styles[rootClassName][BUTTON_SCALE_EFFECT_PRESSED] = renderValue(propertyStateMap.pressed);\n\t\t\t}\n\t\t\tif (cssDeclarations[CSS_LINE_HEIGHT]) {\n\t\t\t\tconst iconLayerKey = generateSchemaKey({\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer: \"icon\",\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tcssDeclarations[CSS_LINE_HEIGHT] = getButtonLineHeightWithIconMinimum({\n\t\t\t\t\tlineHeight: cssDeclarations[CSS_LINE_HEIGHT],\n\t\t\t\t\tschema,\n\t\t\t\t\ticonLayerKey,\n\t\t\t\t\tstate: propertyState,\n\t\t\t\t\ttheme\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif ((componentName === \"tabs\" || componentName === \"tab\") && layer === \"root\") {\n\t\t\tconst schemaVariablesForKey = schema?.variables?.[schemaKey];\n\t\t\tif (propertyKey === \"borderWidth\" && schemaVariablesForKey?.underlineWidth) {\n\t\t\t\tconst borderWidth = cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\tif (borderWidth) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_WIDTH] = borderWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"borderColor\" && schemaVariablesForKey?.underlineColor) {\n\t\t\t\tconst borderColor = cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\tif (borderColor) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_COLOR] = borderColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineWidth\") {\n\t\t\t\tconst underlineWidth = cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\tif (underlineWidth) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_WIDTH] = underlineWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineColor\") {\n\t\t\t\tconst underlineColor = cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\tif (underlineColor) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_COLOR] = underlineColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!styles[fullClassName]) styles[fullClassName] = {\n\t\t\t...cssDeclarations,\n\t\t\t...styles[fullClassName]\n\t\t};\n\t\tif (previewOptions?.generatePseudoStateClassModifier) {\n\t\t\tconst pseudoPrefixClass = statePseudoMapDocsMode[propertyState] ?? \"\";\n\t\t\tif (pseudoPrefixClass.length) {\n\t\t\t\tconst importantCssDeclarations = Object.fromEntries(Object.entries(cssDeclarations).map(([prop, value]) => {\n\t\t\t\t\tconst strValue = String(value).trimEnd().replace(/;$/, \"\");\n\t\t\t\t\tif (strValue.includes(\"!important\")) return [prop, strValue];\n\t\t\t\t\treturn [prop, `${strValue} !important`];\n\t\t\t\t}));\n\t\t\t\tstyles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")] = {\n\t\t\t\t\t...importantCssDeclarations,\n\t\t\t\t\t...styles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\treturn styles;\n}\nfunction generateConfigStyles(config, schema, theme, previewOptions) {\n\tconst componentName = config.label.toLowerCase();\n\tlet styles = {};\n\tfor (const variantKey in config.variants) {\n\t\tconst variantConfig = config.variants[variantKey];\n\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\tconst layers = variantConfig.layers;\n\t\t\tfor (const layerKey in layers) {\n\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\ttheme,\n\t\t\t\t\t\tschema,\n\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t});\n\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif (config.subComponents) {\n\t\tconst { subComponents } = config;\n\t\tfor (const subComponentKey in subComponents) for (const variantKey in subComponents[subComponentKey].variants) {\n\t\t\tconst variantConfig = subComponents[subComponentKey].variants[variantKey];\n\t\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\t\tconst layers = variantConfig.layers;\n\t\t\t\tfor (const layerKey in layers) {\n\t\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Post-process button/iconbutton styles to force box-shadow for borders.\n\t* This runs AFTER all properties have been processed and merged.\n\t*/\n\tconst toApply = COMPONENTS_WITH_SHADOW_BORDERS.find((c) => c.componentName === componentName);\n\tif (toApply) {\n\t\tfor (const className in styles) if (className.includes(`-${toApply.layer}`.toLowerCase())) {\n\t\t\tconst raw = styles[className];\n\t\t\tif (toApply.componentName === \"tab\") {\n\t\t\t\tconst tabUnderlineWidth = raw[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tconst tabUnderlineColor = raw[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst withoutTabUnderline = { ...raw };\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst merged = applyBoxShadowBorder(withoutTabUnderline);\n\t\t\t\tif (tabUnderlineWidth !== void 0) merged[CSS_TAB_UNDERLINE_WIDTH] = tabUnderlineWidth;\n\t\t\t\tif (tabUnderlineColor !== void 0) merged[CSS_TAB_UNDERLINE_COLOR] = tabUnderlineColor;\n\t\t\t\tstyles[className] = merged;\n\t\t\t} else styles[className] = applyBoxShadowBorder(raw);\n\t\t}\n\t}\n\treturn styles;\n}\n/**\n* @param config - Component configuration (Button, IconButton, etc.)\n* @param schema - Production schema with defaults and variables\n* @param theme - Tailwind theme function to resolve design tokens\n* @param previewOptions - Options for generating preview mode class modifiers\n* @returns CSS styles object with grouped selectors for default aliases\n*/\nconst generateStyles = (config, schema, theme, previewOptions) => {\n\tconst styles = generateConfigStyles(config, schema, theme, previewOptions);\n\tif (!config.variants && !config.subComponents) return styles;\n\tconst componentName = config.label.toLowerCase();\n\tif (componentName !== \"button\" && componentName !== \"iconbutton\") return styles;\n\tconst replacementMap = /* @__PURE__ */ new Map();\n\t/**\n\t* Helper: Extract all layer keys from a variant configuration\n\t* Handles both simple variants (with direct layers) and variants with component states\n\t*/\n\tconst getLayerKeys = (variantConfig) => {\n\t\tif (isVariantConfigWithProperties(variantConfig)) return Object.keys(variantConfig.layers);\n\t\telse if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst layerKeysSet = /* @__PURE__ */ new Set();\n\t\t\tfor (const componentStateConfig of Object.values(variantConfig.componentStates)) Object.keys(componentStateConfig.layers).forEach((key) => layerKeysSet.add(key));\n\t\t\treturn Array.from(layerKeysSet);\n\t\t}\n\t\treturn [];\n\t};\n\t/**\n\t* Helper: Build replacement map for default variant values\n\t* For each default variant + layer combination, creates an entry like:\n\t* \"uds-button-size-sm-root\" → \".uds-button-size-sm-root, .uds-button-size-default-root\"\n\t*/\n\tconst buildReplacements = (variants, subComponentName) => {\n\t\tfor (const [variantType, variantConfig] of Object.entries(variants)) {\n\t\t\tif (!isVariantConfigWithProperties(variantConfig) && !isVariantConfigWithComponentStates(variantConfig)) continue;\n\t\t\tconst layerKeys = getLayerKeys(variantConfig);\n\t\t\tif (layerKeys.length) {\n\t\t\t\tconst defaultValue = schema.defaults?.[variantType];\n\t\t\t\tif (defaultValue) for (const layerKey of layerKeys) {\n\t\t\t\t\tconst baseClass = generateClassName({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey: variantType,\n\t\t\t\t\t\tvariantValue: defaultValue,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tsubComponentName\n\t\t\t\t\t});\n\t\t\t\t\tconst defaultClass = generateDefaultClassName(componentName, variantType, layerKey, subComponentName);\n\t\t\t\t\treplacementMap.set(baseClass, `.${baseClass}, .${defaultClass}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\tif (config.variants) buildReplacements(config.variants);\n\tif (config.subComponents) for (const [subComponentName, subComponentConfig] of Object.entries(config.subComponents)) buildReplacements(subComponentConfig.variants, subComponentName);\n\tconst finalStyles = {};\n\tfor (const [selector, declarations] of Object.entries(styles)) {\n\t\tlet defaultsSelector = selector;\n\t\tlet hasMatch = false;\n\t\tfor (const [defaultVariantClass, replacement] of replacementMap.entries()) if (selector.includes(defaultVariantClass)) {\n\t\t\thasMatch = true;\n\t\t\tconst defaultMatch = replacement.match(/,\\s*\\.([a-z0-9-]+)/);\n\t\t\tif (defaultMatch) {\n\t\t\t\tconst defaultClass = defaultMatch[1];\n\t\t\t\tdefaultsSelector = defaultsSelector.replaceAll(defaultVariantClass, defaultClass);\n\t\t\t}\n\t\t}\n\t\tif (!hasMatch) {\n\t\t\tfinalStyles[selector] = declarations;\n\t\t\tcontinue;\n\t\t}\n\t\tfinalStyles[`${selector}, ${defaultsSelector}`] = declarations;\n\t}\n\treturn finalStyles;\n};\nfunction createConfigurableProperty(prop) {\n\treturn prop;\n}\nfunction createVariantConfig(config) {\n\treturn config;\n}\nfunction createVariantConfigWithProperties(config) {\n\treturn config;\n}\nfunction createVariantConfigWithComponentStates(config) {\n\treturn config;\n}\nfunction createComponentStates(config) {\n\treturn config;\n}\nfunction createLayerConfig(config) {\n\treturn config;\n}\nfunction createSubComponentConfig(config) {\n\treturn config;\n}\n//#endregion\nexport { buildConfigSchema, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, findFixtureType, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, statePseudoMapDocsMode };\n\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;;;AAkBA,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,0BAA0B;AAChC,MAAM,0BAA0B;AAChC,SAAS,UAAU,QAAQ,QAAQ;AAClC,QAAO,UAAU,EAAE,EAAE,QAAQ,OAAO;;AAErC,MAAM,iCAAiC;CACtC;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;;;;;AAKD,MAAM,iBAAiB;CACtB,MAAM;CACN,OAAO;CACP,SAAS;CACT,UAAU;CACV,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,oBAAoB;CACpB,UAAU;CACV,SAAS;CACT,iBAAiB;CACjB,mBAAmB;CACnB;AACD,MAAM,yBAAyB;CAC9B,MAAM;CACN,OAAO;CACP,SAAS;CACT,UAAU;CACV,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,oBAAoB;CACpB,UAAU;CACV,SAAS;CACT,iBAAiB;CACjB,mBAAmB;CACnB;;;;;;AAMD,SAAS,mCAAmC,EAAE,YAAY,QAAQ,c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,CAAE,KAAI,SAAS,SAAS,oBAAoB,EAAE;AACtH,cAAW;GACX,MAAM,eAAe,YAAY,MAAM,qBAAqB;AAC5D,OAAI,cAAc;IACjB,MAAM,eAAe,aAAa;AAClC,uBAAmB,iBAAiB,WAAW,qBAAqB,aAAa;;;AAGnF,MAAI,CAAC,UAAU;AACd,eAAY,YAAY;AACxB;;AAED,cAAY,GAAG,SAAS,IAAI,sBAAsB;;AAEnD,QAAO"}
@@ -1,13 +1,12 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
2
- const require_index = require('../../../palette/dist/index.cjs');
3
- const require_assertUnreachable = require('./assertUnreachable.cjs');
4
-
2
+ require("../../../palette/dist/index.cjs");
3
+ const require_assertUnreachable = require("./assertUnreachable.cjs");
5
4
  //#region ../automated-config/dist/utils/mapColorFixtureToValue.js
6
5
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
7
6
  const mapColorFixtureToValue = (fixtureType, value) => {
8
7
  switch (fixtureType) {
9
8
  case "alwaysPaletteAliases":
10
- if (value.startsWith(require_index.ALWAYS_PREFIX)) {
9
+ if (value.startsWith("always/")) {
11
10
  const [, subValue] = value.split("/");
12
11
  return `colors.always.${subValue}`;
13
12
  }
@@ -23,6 +22,5 @@ const mapColorFixtureToValue = (fixtureType, value) => {
23
22
  }
24
23
  return require_assertUnreachable.assertUnreachable(fixtureType);
25
24
  };
26
-
27
25
  //#endregion
28
- exports.mapColorFixtureToValue = mapColorFixtureToValue;
26
+ exports.mapColorFixtureToValue = mapColorFixtureToValue;