@yahoo/uds 3.66.1 → 3.67.0-beta.2

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 (931) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/codemods/flattenButtonVariant.ts +2 -2
  6. package/cli/preload.ts +1 -1
  7. package/cli/tsconfig.json +1 -10
  8. package/cli/utils/purgeCSS.ts +12 -23
  9. package/dist/_virtual/rolldown_runtime.cjs +44 -0
  10. package/dist/_virtual/rolldown_runtime.js +24 -0
  11. package/dist/components/Box.cjs +105 -0
  12. package/dist/{Box-Dw6erJKC.d.cts → components/Box.d.cts} +8 -7
  13. package/dist/{Box-BkZ2BCj8.d.ts → components/Box.d.ts} +8 -7
  14. package/dist/components/Box.js +104 -0
  15. package/dist/components/Divider/Divider.cjs +47 -0
  16. package/dist/components/Divider/Divider.d.cts +38 -0
  17. package/dist/components/Divider/Divider.d.ts +38 -0
  18. package/dist/components/Divider/Divider.js +46 -0
  19. package/dist/components/Divider/DividerCore.cjs +76 -0
  20. package/dist/components/Divider/DividerCore.d.cts +15 -0
  21. package/dist/components/Divider/DividerCore.d.ts +15 -0
  22. package/dist/components/Divider/DividerCore.js +75 -0
  23. package/dist/components/Divider/DividerInternal.cjs +28 -0
  24. package/dist/components/Divider/DividerInternal.d.cts +12 -0
  25. package/dist/components/Divider/DividerInternal.d.ts +12 -0
  26. package/dist/components/Divider/DividerInternal.js +27 -0
  27. package/dist/components/Divider/index.cjs +4 -0
  28. package/dist/components/Divider/index.d.cts +2 -0
  29. package/dist/components/Divider/index.d.ts +2 -0
  30. package/dist/components/Divider/index.js +4 -0
  31. package/dist/components/FormLabel.cjs +33 -0
  32. package/dist/components/FormLabel.d.cts +26 -0
  33. package/dist/components/FormLabel.d.ts +26 -0
  34. package/dist/components/FormLabel.js +31 -0
  35. package/dist/components/HStack.cjs +51 -0
  36. package/dist/components/HStack.d.cts +39 -0
  37. package/dist/components/HStack.d.ts +39 -0
  38. package/dist/components/HStack.js +50 -0
  39. package/dist/components/Icon.cjs +67 -0
  40. package/dist/components/Icon.d.cts +38 -0
  41. package/dist/components/Icon.d.ts +38 -0
  42. package/dist/components/Icon.js +66 -0
  43. package/dist/components/IconSlot.cjs +57 -0
  44. package/dist/components/IconSlot.d.cts +31 -0
  45. package/dist/components/IconSlot.d.ts +31 -0
  46. package/dist/components/IconSlot.js +54 -0
  47. package/dist/components/Image.cjs +96 -0
  48. package/dist/components/Image.d.cts +91 -0
  49. package/dist/components/Image.d.ts +91 -0
  50. package/dist/components/Image.js +95 -0
  51. package/dist/components/Link.cjs +98 -0
  52. package/dist/components/Link.d.cts +45 -0
  53. package/dist/components/Link.d.ts +45 -0
  54. package/dist/components/Link.js +97 -0
  55. package/dist/components/Text.cjs +157 -0
  56. package/dist/components/Text.d.cts +90 -0
  57. package/dist/components/Text.d.ts +90 -0
  58. package/dist/components/Text.js +156 -0
  59. package/dist/components/VStack.cjs +51 -0
  60. package/dist/components/VStack.d.cts +39 -0
  61. package/dist/components/VStack.d.ts +39 -0
  62. package/dist/components/VStack.js +50 -0
  63. package/dist/components/client/AnimateHeightChange.cjs +48 -0
  64. package/dist/components/client/AnimateHeightChange.d.cts +20 -0
  65. package/dist/components/client/AnimateHeightChange.d.ts +20 -0
  66. package/dist/components/client/AnimateHeightChange.js +47 -0
  67. package/dist/components/client/Avatar/Avatar.cjs +33 -0
  68. package/dist/components/client/Avatar/Avatar.d.cts +30 -0
  69. package/dist/components/client/Avatar/Avatar.d.ts +30 -0
  70. package/dist/components/client/Avatar/Avatar.js +32 -0
  71. package/dist/components/client/Avatar/AvatarIcon.cjs +64 -0
  72. package/dist/components/client/Avatar/AvatarIcon.d.cts +36 -0
  73. package/dist/components/client/Avatar/AvatarIcon.d.ts +36 -0
  74. package/dist/components/client/Avatar/AvatarIcon.js +63 -0
  75. package/dist/components/client/Avatar/AvatarImage.cjs +88 -0
  76. package/dist/components/client/Avatar/AvatarImage.d.cts +44 -0
  77. package/dist/components/client/Avatar/AvatarImage.d.ts +44 -0
  78. package/dist/components/client/Avatar/AvatarImage.js +87 -0
  79. package/dist/components/client/Avatar/AvatarText.cjs +50 -0
  80. package/dist/components/client/Avatar/AvatarText.d.cts +39 -0
  81. package/dist/components/client/Avatar/AvatarText.d.ts +39 -0
  82. package/dist/components/client/Avatar/AvatarText.js +49 -0
  83. package/dist/components/client/Avatar/index.cjs +11 -0
  84. package/dist/components/client/Avatar/index.d.cts +5 -0
  85. package/dist/components/client/Avatar/index.d.ts +5 -0
  86. package/dist/components/client/Avatar/index.js +8 -0
  87. package/dist/components/client/Avatar/utils.cjs +66 -0
  88. package/dist/components/client/Avatar/utils.d.cts +43 -0
  89. package/dist/components/client/Avatar/utils.d.ts +43 -0
  90. package/dist/components/client/Avatar/utils.js +60 -0
  91. package/dist/components/client/Badge.cjs +106 -0
  92. package/dist/components/client/Badge.d.cts +34 -0
  93. package/dist/components/client/Badge.d.ts +34 -0
  94. package/dist/components/client/Badge.js +104 -0
  95. package/dist/components/client/Button.cjs +312 -0
  96. package/dist/components/client/Button.d.cts +74 -0
  97. package/dist/components/client/Button.d.ts +74 -0
  98. package/dist/components/client/Button.js +308 -0
  99. package/dist/components/client/Checkbox.cjs +215 -0
  100. package/dist/components/client/Checkbox.d.cts +42 -0
  101. package/dist/components/client/Checkbox.d.ts +42 -0
  102. package/dist/components/client/Checkbox.js +211 -0
  103. package/dist/components/client/Chip/Chip.cjs +67 -0
  104. package/dist/components/client/Chip/Chip.d.cts +36 -0
  105. package/dist/components/client/Chip/Chip.d.ts +36 -0
  106. package/dist/components/client/Chip/Chip.js +65 -0
  107. package/dist/components/client/Chip/ChipBase.cjs +88 -0
  108. package/dist/components/client/Chip/ChipBase.d.cts +22 -0
  109. package/dist/components/client/Chip/ChipBase.d.ts +22 -0
  110. package/dist/components/client/Chip/ChipBase.js +85 -0
  111. package/dist/components/client/Chip/ChipButton.cjs +36 -0
  112. package/dist/components/client/Chip/ChipButton.d.cts +13 -0
  113. package/dist/components/client/Chip/ChipButton.d.ts +13 -0
  114. package/dist/components/client/Chip/ChipButton.js +34 -0
  115. package/dist/components/client/Chip/ChipDismissible.cjs +57 -0
  116. package/dist/components/client/Chip/ChipDismissible.d.cts +13 -0
  117. package/dist/components/client/Chip/ChipDismissible.d.ts +13 -0
  118. package/dist/components/client/Chip/ChipDismissible.js +55 -0
  119. package/dist/components/client/Chip/ChipLink.cjs +38 -0
  120. package/dist/components/client/Chip/ChipLink.d.cts +13 -0
  121. package/dist/components/client/Chip/ChipLink.d.ts +13 -0
  122. package/dist/components/client/Chip/ChipLink.js +36 -0
  123. package/dist/components/client/Chip/ChipToggle.cjs +53 -0
  124. package/dist/components/client/Chip/ChipToggle.d.cts +13 -0
  125. package/dist/components/client/Chip/ChipToggle.d.ts +13 -0
  126. package/dist/components/client/Chip/ChipToggle.js +51 -0
  127. package/dist/components/client/Chip/index.cjs +13 -0
  128. package/dist/components/client/Chip/index.d.cts +6 -0
  129. package/dist/components/client/Chip/index.d.ts +6 -0
  130. package/dist/components/client/Chip/index.js +9 -0
  131. package/dist/components/client/IconButton.cjs +129 -0
  132. package/dist/components/client/IconButton.d.cts +37 -0
  133. package/dist/components/client/IconButton.d.ts +37 -0
  134. package/dist/components/client/IconButton.js +128 -0
  135. package/dist/components/client/Input/Input.cjs +209 -0
  136. package/dist/components/client/Input/Input.d.cts +56 -0
  137. package/dist/components/client/Input/Input.d.ts +56 -0
  138. package/dist/components/client/Input/Input.js +207 -0
  139. package/dist/components/client/Input/InputHelpText.cjs +55 -0
  140. package/dist/components/client/Input/InputHelpText.d.cts +41 -0
  141. package/dist/components/client/Input/InputHelpText.d.ts +41 -0
  142. package/dist/components/client/Input/InputHelpText.js +54 -0
  143. package/dist/components/client/Input/InputHelpTextInternal.cjs +57 -0
  144. package/dist/components/client/Input/InputHelpTextInternal.d.cts +37 -0
  145. package/dist/components/client/Input/InputHelpTextInternal.d.ts +37 -0
  146. package/dist/components/client/Input/InputHelpTextInternal.js +56 -0
  147. package/dist/components/client/Input/index.cjs +7 -0
  148. package/dist/components/client/Input/index.d.cts +3 -0
  149. package/dist/components/client/Input/index.d.ts +3 -0
  150. package/dist/components/client/Input/index.js +6 -0
  151. package/dist/components/client/Menu/Menu.Content.cjs +162 -0
  152. package/dist/components/client/Menu/Menu.Content.d.cts +214 -0
  153. package/dist/components/client/Menu/Menu.Content.d.ts +214 -0
  154. package/dist/components/client/Menu/Menu.Content.js +161 -0
  155. package/dist/components/client/Menu/Menu.Divider.cjs +74 -0
  156. package/dist/components/client/Menu/Menu.Divider.d.cts +53 -0
  157. package/dist/components/client/Menu/Menu.Divider.d.ts +53 -0
  158. package/dist/components/client/Menu/Menu.Divider.js +73 -0
  159. package/dist/components/client/Menu/Menu.Item.cjs +80 -0
  160. package/dist/components/client/Menu/Menu.Item.d.cts +78 -0
  161. package/dist/components/client/Menu/Menu.Item.d.ts +78 -0
  162. package/dist/components/client/Menu/Menu.Item.js +79 -0
  163. package/dist/components/client/Menu/Menu.ItemBase.cjs +163 -0
  164. package/dist/components/client/Menu/Menu.ItemBase.d.cts +31 -0
  165. package/dist/components/client/Menu/Menu.ItemBase.d.ts +31 -0
  166. package/dist/components/client/Menu/Menu.ItemBase.js +161 -0
  167. package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +138 -0
  168. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +92 -0
  169. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +92 -0
  170. package/dist/components/client/Menu/Menu.ItemCheckbox.js +137 -0
  171. package/dist/components/client/Menu/Menu.Provider.cjs +63 -0
  172. package/dist/components/client/Menu/Menu.Provider.d.cts +137 -0
  173. package/dist/components/client/Menu/Menu.Provider.d.ts +137 -0
  174. package/dist/components/client/Menu/Menu.Provider.js +62 -0
  175. package/dist/components/client/Menu/Menu.Trigger.cjs +75 -0
  176. package/dist/components/client/Menu/Menu.Trigger.d.cts +78 -0
  177. package/dist/components/client/Menu/Menu.Trigger.d.ts +78 -0
  178. package/dist/components/client/Menu/Menu.Trigger.js +74 -0
  179. package/dist/components/client/Menu/Menu.cjs +10 -0
  180. package/dist/components/client/Menu/Menu.d.cts +2 -0
  181. package/dist/components/client/Menu/Menu.d.ts +2 -0
  182. package/dist/components/client/Menu/Menu.index.cjs +56 -0
  183. package/dist/components/client/Menu/Menu.index.d.cts +15 -0
  184. package/dist/components/client/Menu/Menu.index.d.ts +15 -0
  185. package/dist/components/client/Menu/Menu.index.js +27 -0
  186. package/dist/components/client/Menu/Menu.js +5 -0
  187. package/dist/components/client/Menu/index.cjs +10 -0
  188. package/dist/components/client/Menu/index.d.cts +9 -0
  189. package/dist/components/client/Menu/index.d.ts +9 -0
  190. package/dist/components/client/Menu/index.js +5 -0
  191. package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +39 -0
  192. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts +31 -0
  193. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts +31 -0
  194. package/dist/components/client/Menu/utils/transformAriakitPlacement.js +38 -0
  195. package/dist/components/client/Pressable.cjs +112 -0
  196. package/dist/{Pressable-DKUSyadp.d.cts → components/client/Pressable.d.cts} +8 -7
  197. package/dist/{Pressable-CTm_RY-u.d.ts → components/client/Pressable.d.ts} +8 -7
  198. package/dist/components/client/Pressable.js +111 -0
  199. package/dist/components/client/Radio/Radio.cjs +226 -0
  200. package/dist/components/client/Radio/Radio.d.cts +42 -0
  201. package/dist/components/client/Radio/Radio.d.ts +42 -0
  202. package/dist/components/client/Radio/Radio.js +222 -0
  203. package/dist/components/client/Radio/RadioGroupProvider.cjs +98 -0
  204. package/dist/components/client/Radio/RadioGroupProvider.d.cts +37 -0
  205. package/dist/components/client/Radio/RadioGroupProvider.d.ts +37 -0
  206. package/dist/components/client/Radio/RadioGroupProvider.js +96 -0
  207. package/dist/components/client/Radio/RadioGroupStore.cjs +41 -0
  208. package/dist/components/client/Radio/RadioGroupStore.d.cts +20 -0
  209. package/dist/components/client/Radio/RadioGroupStore.d.ts +20 -0
  210. package/dist/components/client/Radio/RadioGroupStore.js +39 -0
  211. package/dist/components/client/Radio/index.cjs +7 -0
  212. package/dist/components/client/Radio/index.d.cts +3 -0
  213. package/dist/components/client/Radio/index.d.ts +3 -0
  214. package/dist/components/client/Radio/index.js +6 -0
  215. package/dist/components/client/Radio/useRadioGroup.cjs +81 -0
  216. package/dist/components/client/Radio/useRadioGroup.d.cts +30 -0
  217. package/dist/components/client/Radio/useRadioGroup.d.ts +30 -0
  218. package/dist/components/client/Radio/useRadioGroup.js +79 -0
  219. package/dist/components/client/SpringMotionConfig.cjs +99 -0
  220. package/dist/components/client/SpringMotionConfig.d.cts +57 -0
  221. package/dist/components/client/SpringMotionConfig.d.ts +57 -0
  222. package/dist/components/client/SpringMotionConfig.js +98 -0
  223. package/dist/components/client/Switch.cjs +218 -0
  224. package/dist/components/client/Switch.d.cts +41 -0
  225. package/dist/components/client/Switch.d.ts +41 -0
  226. package/dist/components/client/Switch.js +216 -0
  227. package/dist/components/client/index.cjs +50 -0
  228. package/dist/components/client/index.d.cts +33 -0
  229. package/dist/components/client/index.d.ts +33 -0
  230. package/dist/components/client/index.js +25 -0
  231. package/dist/components/client/motionFeatures/domAnimation.cjs +11 -0
  232. package/dist/components/client/motionFeatures/domAnimation.d.cts +2 -0
  233. package/dist/components/client/motionFeatures/domAnimation.d.ts +2 -0
  234. package/dist/components/client/motionFeatures/domAnimation.js +5 -0
  235. package/dist/components/client/motionFeatures/domMax.cjs +11 -0
  236. package/dist/components/client/motionFeatures/domMax.d.cts +2 -0
  237. package/dist/components/client/motionFeatures/domMax.d.ts +2 -0
  238. package/dist/components/client/motionFeatures/domMax.js +5 -0
  239. package/dist/components/experimental/Spinner.cjs +30 -0
  240. package/dist/components/experimental/Spinner.d.cts +20 -0
  241. package/dist/components/experimental/Spinner.d.ts +20 -0
  242. package/dist/components/experimental/Spinner.js +29 -0
  243. package/dist/components/experimental/Table.cjs +110 -0
  244. package/dist/components/experimental/Table.d.cts +84 -0
  245. package/dist/components/experimental/Table.d.ts +84 -0
  246. package/dist/components/experimental/Table.js +108 -0
  247. package/dist/components/experimental/Table.mocks.cjs +58 -0
  248. package/dist/components/experimental/Table.mocks.d.cts +19 -0
  249. package/dist/components/experimental/Table.mocks.d.ts +19 -0
  250. package/dist/components/experimental/Table.mocks.js +55 -0
  251. package/dist/components/experimental/client/Accordion.cjs +79 -0
  252. package/dist/components/experimental/client/Accordion.d.cts +30 -0
  253. package/dist/components/experimental/client/Accordion.d.ts +30 -0
  254. package/dist/components/experimental/client/Accordion.js +78 -0
  255. package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +15 -0
  256. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +7 -0
  257. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +7 -0
  258. package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +13 -0
  259. package/dist/components/experimental/client/Modal.cjs +61 -0
  260. package/dist/components/experimental/client/Modal.d.cts +26 -0
  261. package/dist/components/experimental/client/Modal.d.ts +26 -0
  262. package/dist/components/experimental/client/Modal.js +57 -0
  263. package/dist/components/experimental/client/Popover.cjs +44 -0
  264. package/dist/components/experimental/client/Popover.d.cts +28 -0
  265. package/dist/components/experimental/client/Popover.d.ts +28 -0
  266. package/dist/components/experimental/client/Popover.js +33 -0
  267. package/dist/components/experimental/client/SwitchV2.cjs +183 -0
  268. package/dist/{experimental/client/SwitchV2.d.ts → components/experimental/client/SwitchV2.d.cts} +15 -16
  269. package/dist/{experimental/client/SwitchV2.d.cts → components/experimental/client/SwitchV2.d.ts} +15 -16
  270. package/dist/components/experimental/client/SwitchV2.js +179 -0
  271. package/dist/components/experimental/client/Tabs.cjs +75 -0
  272. package/dist/components/experimental/client/Tabs.d.cts +30 -0
  273. package/dist/components/experimental/client/Tabs.d.ts +30 -0
  274. package/dist/components/experimental/client/Tabs.js +71 -0
  275. package/dist/components/experimental/client/Toast.cjs +167 -0
  276. package/dist/components/experimental/client/Toast.d.cts +30 -0
  277. package/dist/components/experimental/client/Toast.d.ts +30 -0
  278. package/dist/components/experimental/client/Toast.js +163 -0
  279. package/dist/components/experimental/client/index.cjs +38 -0
  280. package/dist/components/experimental/client/index.d.cts +8 -0
  281. package/dist/components/experimental/client/index.d.ts +8 -0
  282. package/dist/components/experimental/client/index.js +11 -0
  283. package/dist/components/experimental/index.cjs +39 -0
  284. package/dist/components/experimental/index.d.cts +11 -0
  285. package/dist/components/experimental/index.d.ts +11 -0
  286. package/dist/components/experimental/index.js +12 -0
  287. package/dist/components/index.cjs +67 -0
  288. package/dist/components/index.d.cts +40 -0
  289. package/dist/components/index.d.ts +40 -0
  290. package/dist/components/index.js +33 -0
  291. package/dist/defaultTokensConfig.cjs +22 -1
  292. package/dist/defaultTokensConfig.d.cts +12691 -12694
  293. package/dist/defaultTokensConfig.d.ts +12691 -12694
  294. package/dist/defaultTokensConfig.js +20 -1
  295. package/dist/fixtures.cjs +1 -816
  296. package/dist/fixtures.js +1 -816
  297. package/dist/flags.cjs +26 -1
  298. package/dist/flags.d.cts +15 -14
  299. package/dist/flags.d.ts +15 -14
  300. package/dist/flags.js +23 -1
  301. package/dist/generated/autoVariants.cjs +512 -0
  302. package/dist/generated/autoVariants.d.cts +115 -0
  303. package/dist/generated/autoVariants.d.ts +115 -0
  304. package/dist/generated/autoVariants.js +511 -0
  305. package/dist/generated/generatedConfigs.cjs +27726 -0
  306. package/dist/generated/generatedConfigs.js +27714 -0
  307. package/dist/generated/tailwindPurge.cjs +3320 -0
  308. package/dist/{tailwind/purger.d.cts → generated/tailwindPurge.d.cts} +6 -5
  309. package/dist/{tailwind/purger.d.ts → generated/tailwindPurge.d.ts} +6 -5
  310. package/dist/generated/tailwindPurge.js +3316 -0
  311. package/dist/generated/universalTokensConfigAuto.cjs +11579 -0
  312. package/dist/generated/universalTokensConfigAuto.d.cts +12770 -0
  313. package/dist/generated/universalTokensConfigAuto.d.ts +12770 -0
  314. package/dist/generated/universalTokensConfigAuto.js +11578 -0
  315. package/dist/hooks/useForkRef.cjs +27 -0
  316. package/dist/hooks/useForkRef.d.cts +6 -0
  317. package/dist/hooks/useForkRef.d.ts +6 -0
  318. package/dist/hooks/useForkRef.js +26 -0
  319. package/dist/hooks/useRtl.cjs +48 -0
  320. package/dist/hooks/useRtl.d.cts +20 -0
  321. package/dist/hooks/useRtl.d.ts +20 -0
  322. package/dist/hooks/useRtl.js +45 -0
  323. package/dist/index.cjs +183 -1
  324. package/dist/index.d.cts +82 -383
  325. package/dist/index.d.ts +82 -383
  326. package/dist/index.js +59 -1
  327. package/dist/providers/ColorModeProvider.cjs +23 -0
  328. package/dist/providers/ColorModeProvider.d.cts +20 -0
  329. package/dist/providers/ColorModeProvider.d.ts +20 -0
  330. package/dist/providers/ColorModeProvider.js +20 -0
  331. package/dist/providers/ScaleModeProvider.cjs +26 -0
  332. package/dist/providers/ScaleModeProvider.d.cts +20 -0
  333. package/dist/providers/ScaleModeProvider.d.ts +20 -0
  334. package/dist/providers/ScaleModeProvider.js +23 -0
  335. package/dist/providers/ThemeProvider.cjs +21 -0
  336. package/dist/providers/ThemeProvider.d.cts +19 -0
  337. package/dist/providers/ThemeProvider.d.ts +19 -0
  338. package/dist/providers/ThemeProvider.js +20 -0
  339. package/dist/scripts/utils/tsMorph.cjs +140 -0
  340. package/dist/scripts/utils/tsMorph.d.cts +32 -0
  341. package/dist/scripts/utils/tsMorph.d.ts +32 -0
  342. package/dist/scripts/utils/tsMorph.js +129 -0
  343. package/dist/styles/styler.cjs +117 -0
  344. package/dist/styles/styler.d.cts +200 -0
  345. package/dist/styles/styler.d.ts +200 -0
  346. package/dist/styles/styler.js +112 -0
  347. package/dist/styles/stylerTypes.cjs +1 -0
  348. package/dist/styles/stylerTypes.d.cts +38 -0
  349. package/dist/styles/stylerTypes.d.ts +38 -0
  350. package/dist/styles/stylerTypes.js +1 -0
  351. package/dist/styles/variants.cjs +1513 -0
  352. package/dist/styles/variants.d.cts +2067 -0
  353. package/dist/styles/variants.d.ts +2067 -0
  354. package/dist/styles/variants.js +1513 -0
  355. package/dist/tailwind/base/addColorModeVars.cjs +21 -0
  356. package/dist/tailwind/base/addColorModeVars.d.cts +10 -0
  357. package/dist/tailwind/base/addColorModeVars.d.ts +10 -0
  358. package/dist/tailwind/base/addColorModeVars.js +19 -0
  359. package/dist/tailwind/base/addColorModeVarsV2.cjs +45 -0
  360. package/dist/tailwind/base/addColorModeVarsV2.d.cts +10 -0
  361. package/dist/tailwind/base/addColorModeVarsV2.d.ts +10 -0
  362. package/dist/tailwind/base/addColorModeVarsV2.js +43 -0
  363. package/dist/tailwind/base/addFontFaceDeclarations.cjs +11 -0
  364. package/dist/tailwind/base/addFontFaceDeclarations.d.cts +10 -0
  365. package/dist/tailwind/base/addFontFaceDeclarations.d.ts +10 -0
  366. package/dist/tailwind/base/addFontFaceDeclarations.js +11 -0
  367. package/dist/tailwind/base/addFontVars.cjs +10 -0
  368. package/dist/tailwind/base/addFontVars.d.cts +10 -0
  369. package/dist/tailwind/base/addFontVars.d.ts +10 -0
  370. package/dist/tailwind/base/addFontVars.js +10 -0
  371. package/dist/tailwind/base/addMotionVars.cjs +10 -0
  372. package/dist/tailwind/base/addMotionVars.d.cts +10 -0
  373. package/dist/tailwind/base/addMotionVars.d.ts +10 -0
  374. package/dist/tailwind/base/addMotionVars.js +10 -0
  375. package/dist/tailwind/base/addScaleModeVars.cjs +22 -0
  376. package/dist/tailwind/base/addScaleModeVars.d.cts +9 -0
  377. package/dist/tailwind/base/addScaleModeVars.d.ts +9 -0
  378. package/dist/tailwind/base/addScaleModeVars.js +22 -0
  379. package/dist/tailwind/components/getFocusRingStyles.cjs +29 -0
  380. package/dist/tailwind/components/getFocusRingStyles.d.cts +14 -0
  381. package/dist/tailwind/components/getFocusRingStyles.d.ts +14 -0
  382. package/dist/tailwind/components/getFocusRingStyles.js +29 -0
  383. package/dist/tailwind/components/getGroupedTextStyles.cjs +20 -0
  384. package/dist/tailwind/components/getGroupedTextStyles.d.cts +19 -0
  385. package/dist/tailwind/components/getGroupedTextStyles.d.ts +19 -0
  386. package/dist/tailwind/components/getGroupedTextStyles.js +19 -0
  387. package/dist/tailwind/components/getHitTargetStyles.cjs +22 -0
  388. package/dist/tailwind/components/getHitTargetStyles.d.cts +7 -0
  389. package/dist/tailwind/components/getHitTargetStyles.d.ts +7 -0
  390. package/dist/tailwind/components/getHitTargetStyles.js +20 -0
  391. package/dist/tailwind/components/getIconStyles.cjs +15 -0
  392. package/dist/tailwind/components/getIconStyles.d.cts +10 -0
  393. package/dist/tailwind/components/getIconStyles.d.ts +10 -0
  394. package/dist/tailwind/components/getIconStyles.js +14 -0
  395. package/dist/tailwind/components/getInputStyles.cjs +16 -0
  396. package/dist/tailwind/components/getInputStyles.d.cts +10 -0
  397. package/dist/tailwind/components/getInputStyles.d.ts +10 -0
  398. package/dist/tailwind/components/getInputStyles.js +15 -0
  399. package/dist/tailwind/components/getResponsiveTextStyles.cjs +73 -0
  400. package/dist/tailwind/components/getResponsiveTextStyles.d.cts +37 -0
  401. package/dist/tailwind/components/getResponsiveTextStyles.d.ts +37 -0
  402. package/dist/tailwind/components/getResponsiveTextStyles.js +67 -0
  403. package/dist/tailwind/components/types.cjs +1 -0
  404. package/dist/tailwind/components/types.d.cts +9 -0
  405. package/dist/tailwind/components/types.d.ts +9 -0
  406. package/dist/tailwind/components/types.js +1 -0
  407. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +68 -0
  408. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +19 -0
  409. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +19 -0
  410. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +67 -0
  411. package/dist/tailwind/plugins/a11y.cjs +34 -0
  412. package/dist/tailwind/plugins/a11y.d.cts +13 -0
  413. package/dist/tailwind/plugins/a11y.d.ts +13 -0
  414. package/dist/tailwind/plugins/a11y.js +32 -0
  415. package/dist/tailwind/plugins/borders.cjs +54 -0
  416. package/dist/tailwind/plugins/borders.d.cts +13 -0
  417. package/dist/tailwind/plugins/borders.d.ts +13 -0
  418. package/dist/tailwind/plugins/borders.js +52 -0
  419. package/dist/tailwind/plugins/colors.cjs +69 -0
  420. package/dist/tailwind/plugins/colors.d.cts +13 -0
  421. package/dist/tailwind/plugins/colors.d.ts +13 -0
  422. package/dist/tailwind/plugins/colors.js +67 -0
  423. package/dist/tailwind/plugins/components.cjs +28 -0
  424. package/dist/tailwind/plugins/components.d.cts +13 -0
  425. package/dist/tailwind/plugins/components.d.ts +13 -0
  426. package/dist/tailwind/plugins/components.js +26 -0
  427. package/dist/tailwind/plugins/elevation.cjs +30 -0
  428. package/dist/tailwind/plugins/elevation.d.cts +13 -0
  429. package/dist/tailwind/plugins/elevation.d.ts +13 -0
  430. package/dist/tailwind/plugins/elevation.js +28 -0
  431. package/dist/tailwind/plugins/icons.cjs +13 -0
  432. package/dist/tailwind/plugins/icons.d.cts +13 -0
  433. package/dist/tailwind/plugins/icons.d.ts +13 -0
  434. package/dist/tailwind/plugins/icons.js +11 -0
  435. package/dist/tailwind/plugins/input.cjs +20 -0
  436. package/dist/tailwind/plugins/input.d.cts +16 -0
  437. package/dist/tailwind/plugins/input.d.ts +16 -0
  438. package/dist/tailwind/plugins/input.js +18 -0
  439. package/dist/tailwind/plugins/motion.cjs +14 -0
  440. package/dist/tailwind/plugins/motion.d.cts +13 -0
  441. package/dist/tailwind/plugins/motion.d.ts +13 -0
  442. package/dist/tailwind/plugins/motion.js +12 -0
  443. package/dist/tailwind/plugins/nestedBorderRadius.cjs +19 -0
  444. package/dist/tailwind/plugins/nestedBorderRadius.d.cts +13 -0
  445. package/dist/tailwind/plugins/nestedBorderRadius.d.ts +13 -0
  446. package/dist/tailwind/plugins/nestedBorderRadius.js +17 -0
  447. package/dist/tailwind/plugins/scaleMode.cjs +17 -0
  448. package/dist/tailwind/plugins/scaleMode.d.cts +16 -0
  449. package/dist/tailwind/plugins/scaleMode.d.ts +16 -0
  450. package/dist/tailwind/plugins/scaleMode.js +15 -0
  451. package/dist/tailwind/plugins/shadows.cjs +45 -0
  452. package/dist/tailwind/plugins/shadows.d.cts +13 -0
  453. package/dist/tailwind/plugins/shadows.d.ts +13 -0
  454. package/dist/tailwind/plugins/shadows.js +43 -0
  455. package/dist/tailwind/plugins/sizing.cjs +32 -0
  456. package/dist/tailwind/plugins/sizing.d.cts +16 -0
  457. package/dist/tailwind/plugins/sizing.d.ts +16 -0
  458. package/dist/tailwind/plugins/sizing.js +30 -0
  459. package/dist/tailwind/plugins/spacing.cjs +13 -0
  460. package/dist/tailwind/plugins/spacing.d.cts +13 -0
  461. package/dist/tailwind/plugins/spacing.d.ts +13 -0
  462. package/dist/tailwind/plugins/spacing.js +11 -0
  463. package/dist/tailwind/plugins/typography.cjs +77 -0
  464. package/dist/tailwind/plugins/typography.d.cts +13 -0
  465. package/dist/tailwind/plugins/typography.d.ts +13 -0
  466. package/dist/tailwind/plugins/typography.js +75 -0
  467. package/dist/tailwind/postcss.config.cjs +9 -0
  468. package/dist/tailwind/postcss.config.d.cts +1 -0
  469. package/dist/tailwind/postcss.config.d.ts +1 -0
  470. package/dist/tailwind/postcss.config.js +13 -0
  471. package/dist/tailwind/purger/index.cjs +7 -0
  472. package/dist/tailwind/purger/index.d.cts +2 -0
  473. package/dist/tailwind/purger/index.d.ts +2 -0
  474. package/dist/tailwind/purger/index.js +4 -0
  475. package/dist/tailwind/tailwind.config.cjs +31 -0
  476. package/dist/tailwind/tailwind.config.d.cts +18 -0
  477. package/dist/tailwind/tailwind.config.d.ts +19 -0
  478. package/dist/tailwind/tailwind.config.js +31 -0
  479. package/dist/tailwind/tailwind.d.cjs +1 -0
  480. package/dist/tailwind/tailwind.d.cts +6 -0
  481. package/dist/tailwind/tailwind.d.ts +6 -0
  482. package/dist/tailwind/tailwindPlugin.cjs +36 -0
  483. package/dist/tailwind/tailwindPlugin.d.cts +22 -0
  484. package/dist/tailwind/tailwindPlugin.d.ts +22 -0
  485. package/dist/tailwind/tailwindPlugin.js +34 -0
  486. package/dist/tailwind/theme/getFontFamilyTheme.cjs +24 -0
  487. package/dist/tailwind/theme/getFontFamilyTheme.d.cts +6 -0
  488. package/dist/tailwind/theme/getFontFamilyTheme.d.ts +6 -0
  489. package/dist/tailwind/theme/getFontFamilyTheme.js +23 -0
  490. package/dist/tailwind/tsMorph.cjs +11 -1
  491. package/dist/tailwind/tsMorph.d.cts +2 -31
  492. package/dist/tailwind/tsMorph.d.ts +2 -31
  493. package/dist/tailwind/tsMorph.js +4 -2
  494. package/dist/tailwind/utils/addFontsPlugin.cjs +15 -0
  495. package/dist/tailwind/utils/addFontsPlugin.d.cts +17 -0
  496. package/dist/tailwind/utils/addFontsPlugin.d.ts +17 -0
  497. package/dist/tailwind/utils/addFontsPlugin.js +13 -0
  498. package/dist/tailwind/utils/composeTailwindPlugins.cjs +72 -0
  499. package/dist/tailwind/utils/composeTailwindPlugins.d.cts +59 -0
  500. package/dist/tailwind/utils/composeTailwindPlugins.d.ts +59 -0
  501. package/dist/tailwind/utils/composeTailwindPlugins.js +63 -0
  502. package/dist/tailwind/utils/getColorModeStyles.cjs +22 -0
  503. package/dist/tailwind/utils/getColorModeStyles.d.cts +17 -0
  504. package/dist/tailwind/utils/getColorModeStyles.d.ts +17 -0
  505. package/dist/tailwind/utils/getColorModeStyles.js +21 -0
  506. package/dist/tailwind/utils/getElevationStyles.cjs +12 -0
  507. package/dist/tailwind/utils/getElevationStyles.d.cts +14 -0
  508. package/dist/tailwind/utils/getElevationStyles.d.ts +14 -0
  509. package/dist/tailwind/utils/getElevationStyles.js +12 -0
  510. package/dist/tailwind/utils/getFontFaceDeclarations.cjs +20 -0
  511. package/dist/tailwind/utils/getFontFaceDeclarations.d.cts +11 -0
  512. package/dist/tailwind/utils/getFontFaceDeclarations.d.ts +11 -0
  513. package/dist/tailwind/utils/getFontFaceDeclarations.js +20 -0
  514. package/dist/tailwind/utils/getFontStyles.cjs +41 -0
  515. package/dist/tailwind/utils/getFontStyles.d.cts +24 -0
  516. package/dist/tailwind/utils/getFontStyles.d.ts +24 -0
  517. package/dist/tailwind/utils/getFontStyles.js +41 -0
  518. package/dist/tailwind/utils/getMotionStyles.cjs +38 -0
  519. package/dist/tailwind/utils/getMotionStyles.d.cts +24 -0
  520. package/dist/tailwind/utils/getMotionStyles.d.ts +24 -0
  521. package/dist/tailwind/utils/getMotionStyles.js +37 -0
  522. package/dist/tailwind/utils/getNestedBorderRadiusUtilities.cjs +52 -0
  523. package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.cts +27 -0
  524. package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.ts +27 -0
  525. package/dist/tailwind/utils/getNestedBorderRadiusUtilities.js +51 -0
  526. package/dist/tailwind/utils/getScaleModeStyles.cjs +25 -0
  527. package/dist/tailwind/utils/getScaleModeStyles.d.cts +28 -0
  528. package/dist/tailwind/utils/getScaleModeStyles.d.ts +28 -0
  529. package/dist/tailwind/utils/getScaleModeStyles.js +24 -0
  530. package/dist/tailwind/utils/getShadowPresetValues.cjs +81 -0
  531. package/dist/tailwind/utils/getShadowPresetValues.d.cts +56 -0
  532. package/dist/tailwind/utils/getShadowPresetValues.d.ts +56 -0
  533. package/dist/tailwind/utils/getShadowPresetValues.js +79 -0
  534. package/dist/tailwind/utils/getShadowStyles.cjs +20 -0
  535. package/dist/tailwind/utils/getShadowStyles.d.cts +20 -0
  536. package/dist/tailwind/utils/getShadowStyles.d.ts +20 -0
  537. package/dist/tailwind/utils/getShadowStyles.js +19 -0
  538. package/dist/tailwind/utils/getShadowVars.cjs +26 -0
  539. package/dist/tailwind/utils/getShadowVars.d.cts +7 -0
  540. package/dist/tailwind/utils/getShadowVars.d.ts +7 -0
  541. package/dist/tailwind/utils/getShadowVars.js +26 -0
  542. package/dist/tailwind/utils/index.cjs +25 -0
  543. package/dist/tailwind/utils/index.d.cts +11 -0
  544. package/dist/tailwind/utils/index.d.ts +11 -0
  545. package/dist/tailwind/utils/index.js +13 -0
  546. package/dist/tokens/automation/configs/avatar.cjs +310 -0
  547. package/dist/tokens/automation/configs/avatar.d.cts +18 -0
  548. package/dist/tokens/automation/configs/avatar.d.ts +18 -0
  549. package/dist/tokens/automation/configs/avatar.js +309 -0
  550. package/dist/tokens/automation/configs/badge.cjs +324 -0
  551. package/dist/tokens/automation/configs/badge.d.cts +14 -0
  552. package/dist/tokens/automation/configs/badge.d.ts +14 -0
  553. package/dist/tokens/automation/configs/badge.js +323 -0
  554. package/dist/tokens/automation/configs/button.cjs +447 -0
  555. package/dist/tokens/automation/configs/button.d.cts +14 -0
  556. package/dist/tokens/automation/configs/button.d.ts +14 -0
  557. package/dist/tokens/automation/configs/button.js +446 -0
  558. package/dist/tokens/automation/configs/checkbox.cjs +256 -0
  559. package/dist/tokens/automation/configs/checkbox.d.cts +14 -0
  560. package/dist/tokens/automation/configs/checkbox.d.ts +14 -0
  561. package/dist/tokens/automation/configs/checkbox.js +255 -0
  562. package/dist/tokens/automation/configs/chip.cjs +552 -0
  563. package/dist/tokens/automation/configs/chip.d.cts +18 -0
  564. package/dist/tokens/automation/configs/chip.d.ts +18 -0
  565. package/dist/tokens/automation/configs/chip.js +551 -0
  566. package/dist/tokens/automation/configs/divider.cjs +119 -0
  567. package/dist/tokens/automation/configs/divider.d.cts +13 -0
  568. package/dist/tokens/automation/configs/divider.d.ts +13 -0
  569. package/dist/tokens/automation/configs/divider.js +118 -0
  570. package/dist/tokens/automation/configs/iconButton.cjs +72 -0
  571. package/dist/tokens/automation/configs/iconButton.d.cts +14 -0
  572. package/dist/tokens/automation/configs/iconButton.d.ts +14 -0
  573. package/dist/tokens/automation/configs/iconButton.js +71 -0
  574. package/dist/tokens/automation/configs/index.cjs +26 -0
  575. package/dist/tokens/automation/configs/index.d.cts +13 -0
  576. package/dist/tokens/automation/configs/index.d.ts +13 -0
  577. package/dist/tokens/automation/configs/index.js +15 -0
  578. package/dist/tokens/automation/configs/input.cjs +473 -0
  579. package/dist/tokens/automation/configs/input.d.cts +14 -0
  580. package/dist/tokens/automation/configs/input.d.ts +14 -0
  581. package/dist/tokens/automation/configs/input.js +472 -0
  582. package/dist/tokens/automation/configs/link.cjs +194 -0
  583. package/dist/tokens/automation/configs/link.d.cts +14 -0
  584. package/dist/tokens/automation/configs/link.d.ts +14 -0
  585. package/dist/tokens/automation/configs/link.js +193 -0
  586. package/dist/tokens/automation/configs/menu.cjs +309 -0
  587. package/dist/tokens/automation/configs/menu.d.cts +18 -0
  588. package/dist/tokens/automation/configs/menu.d.ts +18 -0
  589. package/dist/tokens/automation/configs/menu.js +308 -0
  590. package/dist/tokens/automation/configs/radio.cjs +228 -0
  591. package/dist/tokens/automation/configs/radio.d.cts +14 -0
  592. package/dist/tokens/automation/configs/radio.d.ts +14 -0
  593. package/dist/tokens/automation/configs/radio.js +227 -0
  594. package/dist/tokens/automation/configs/switch.cjs +296 -0
  595. package/dist/tokens/automation/configs/switch.d.cts +14 -0
  596. package/dist/tokens/automation/configs/switch.d.ts +14 -0
  597. package/dist/tokens/automation/configs/switch.js +295 -0
  598. package/dist/tokens/automation/index.cjs +46 -0
  599. package/dist/tokens/automation/index.d.cts +29 -0
  600. package/dist/tokens/automation/index.d.ts +29 -0
  601. package/dist/tokens/automation/index.js +16 -0
  602. package/dist/tokens/automation/mapTextVariantFixtureToValue.cjs +8 -0
  603. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts +4 -0
  604. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts +4 -0
  605. package/dist/tokens/automation/mapTextVariantFixtureToValue.js +8 -0
  606. package/dist/tokens/automation/properties.cjs +316 -1
  607. package/dist/tokens/automation/properties.d.cts +94 -7
  608. package/dist/tokens/automation/properties.d.ts +94 -7
  609. package/dist/tokens/automation/properties.js +316 -1
  610. package/dist/tokens/automation/types/ComponentConfig.cjs +1 -0
  611. package/dist/tokens/automation/types/ComponentConfig.d.cts +54 -0
  612. package/dist/tokens/automation/types/ComponentConfig.d.ts +54 -0
  613. package/dist/tokens/automation/types/ComponentConfig.js +1 -0
  614. package/dist/tokens/automation/types/ComponentDB.cjs +1 -0
  615. package/dist/tokens/automation/types/ComponentDB.d.cts +1 -0
  616. package/dist/tokens/automation/types/ComponentDB.d.ts +1 -0
  617. package/dist/tokens/automation/types/ComponentDB.js +1 -0
  618. package/dist/tokens/automation/types/ComponentStyles.cjs +1 -0
  619. package/dist/tokens/automation/types/ComponentStyles.d.cts +35 -0
  620. package/dist/tokens/automation/types/ComponentStyles.d.ts +35 -0
  621. package/dist/tokens/automation/types/ComponentStyles.js +1 -0
  622. package/dist/tokens/automation/types/index.cjs +1 -0
  623. package/dist/tokens/automation/types/index.d.cts +3 -0
  624. package/dist/tokens/automation/types/index.d.ts +3 -0
  625. package/dist/tokens/automation/types/index.js +1 -0
  626. package/dist/tokens/automation/utils/cartesianProduct.cjs +7 -0
  627. package/dist/tokens/automation/utils/cartesianProduct.d.cts +7 -0
  628. package/dist/tokens/automation/utils/cartesianProduct.d.ts +7 -0
  629. package/dist/tokens/automation/utils/cartesianProduct.js +6 -0
  630. package/dist/tokens/automation/utils/coalesceConfigVariant.cjs +21 -0
  631. package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts +16 -0
  632. package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts +16 -0
  633. package/dist/tokens/automation/utils/coalesceConfigVariant.js +21 -0
  634. package/dist/tokens/automation/utils/defaults.cjs +15 -0
  635. package/dist/tokens/automation/utils/defaults.d.cts +8 -0
  636. package/dist/tokens/automation/utils/defaults.d.ts +8 -0
  637. package/dist/tokens/automation/utils/defaults.js +13 -0
  638. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.cjs +26 -0
  639. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts +10 -0
  640. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts +10 -0
  641. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js +25 -0
  642. package/dist/tokens/automation/utils/generateSchemaKey.cjs +14 -0
  643. package/dist/tokens/automation/utils/generateSchemaKey.d.cts +18 -0
  644. package/dist/tokens/automation/utils/generateSchemaKey.d.ts +18 -0
  645. package/dist/tokens/automation/utils/generateSchemaKey.js +13 -0
  646. package/dist/tokens/automation/utils/getConfigComponentVariant.cjs +17 -0
  647. package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts +8 -0
  648. package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts +8 -0
  649. package/dist/tokens/automation/utils/getConfigComponentVariant.js +17 -0
  650. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.cjs +26 -0
  651. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts +9 -0
  652. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts +9 -0
  653. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js +23 -0
  654. package/dist/tokens/automation/utils/getConfigVariantProperties.cjs +24 -0
  655. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +19 -0
  656. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +19 -0
  657. package/dist/tokens/automation/utils/getConfigVariantProperties.js +24 -0
  658. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.cjs +34 -0
  659. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts +11 -0
  660. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts +11 -0
  661. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js +34 -0
  662. package/dist/tokens/automation/utils/getConfigVariants.cjs +39 -0
  663. package/dist/tokens/automation/utils/getConfigVariants.d.cts +19 -0
  664. package/dist/tokens/automation/utils/getConfigVariants.d.ts +19 -0
  665. package/dist/tokens/automation/utils/getConfigVariants.js +37 -0
  666. package/dist/tokens/automation/utils/index.cjs +681 -0
  667. package/dist/tokens/automation/utils/index.d.cts +146 -0
  668. package/dist/tokens/automation/utils/index.d.ts +146 -0
  669. package/dist/tokens/automation/utils/index.js +646 -0
  670. package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +20 -0
  671. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts +4 -0
  672. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts +4 -0
  673. package/dist/tokens/automation/utils/mapColorFixtureToValue.js +20 -0
  674. package/dist/tokens/automation/utils/subcomponents.cjs +11 -0
  675. package/dist/tokens/automation/utils/subcomponents.d.cts +8 -0
  676. package/dist/tokens/automation/utils/subcomponents.d.ts +8 -0
  677. package/dist/tokens/automation/utils/subcomponents.js +10 -0
  678. package/dist/tokens/automation/utils/variableData.cjs +32 -0
  679. package/dist/tokens/automation/utils/variableData.d.cts +18 -0
  680. package/dist/tokens/automation/utils/variableData.d.ts +18 -0
  681. package/dist/tokens/automation/utils/variableData.js +28 -0
  682. package/dist/tokens/automation/utils/variantConfigGuards.cjs +9 -0
  683. package/dist/tokens/automation/utils/variantConfigGuards.d.cts +12 -0
  684. package/dist/tokens/automation/utils/variantConfigGuards.d.ts +12 -0
  685. package/dist/tokens/automation/utils/variantConfigGuards.js +7 -0
  686. package/dist/tokens/configs/borderRadius.cjs +25 -0
  687. package/dist/tokens/configs/borderRadius.d.cts +7 -0
  688. package/dist/tokens/configs/borderRadius.d.ts +7 -0
  689. package/dist/tokens/configs/borderRadius.js +23 -0
  690. package/dist/tokens/configs/borderWidth.cjs +19 -0
  691. package/dist/tokens/configs/borderWidth.d.cts +7 -0
  692. package/dist/tokens/configs/borderWidth.d.ts +7 -0
  693. package/dist/tokens/configs/borderWidth.js +17 -0
  694. package/dist/tokens/configs/colorMode.cjs +18 -0
  695. package/dist/tokens/configs/colorMode.d.cts +6 -0
  696. package/dist/tokens/configs/colorMode.d.ts +6 -0
  697. package/dist/tokens/configs/colorMode.js +18 -0
  698. package/dist/tokens/configs/font.cjs +13 -0
  699. package/dist/tokens/configs/font.d.cts +6 -0
  700. package/dist/tokens/configs/font.d.ts +6 -0
  701. package/dist/tokens/configs/font.js +12 -0
  702. package/dist/tokens/configs/motion.cjs +137 -0
  703. package/dist/tokens/configs/motion.d.cts +42 -0
  704. package/dist/tokens/configs/motion.d.ts +42 -0
  705. package/dist/tokens/configs/motion.js +132 -0
  706. package/dist/tokens/configs/palette.cjs +402 -0
  707. package/dist/tokens/configs/palette.d.cts +13 -0
  708. package/dist/tokens/configs/palette.d.ts +13 -0
  709. package/dist/tokens/configs/palette.js +399 -0
  710. package/dist/tokens/configs/scaleMode.cjs +30 -0
  711. package/dist/tokens/configs/scaleMode.d.cts +6 -0
  712. package/dist/tokens/configs/scaleMode.d.ts +6 -0
  713. package/dist/tokens/configs/scaleMode.js +30 -0
  714. package/dist/tokens/configs/shadow.cjs +332 -0
  715. package/dist/tokens/configs/shadow.d.cts +6 -0
  716. package/dist/tokens/configs/shadow.d.ts +6 -0
  717. package/dist/tokens/configs/shadow.js +331 -0
  718. package/dist/tokens/configs/sizes.cjs +26 -0
  719. package/dist/tokens/configs/sizes.d.cts +10 -0
  720. package/dist/tokens/configs/sizes.d.ts +10 -0
  721. package/dist/tokens/configs/sizes.js +21 -0
  722. package/dist/tokens/configs/spectrum.cjs +731 -0
  723. package/dist/tokens/configs/spectrum.d.cts +7 -0
  724. package/dist/tokens/configs/spectrum.d.ts +7 -0
  725. package/dist/tokens/configs/spectrum.js +729 -0
  726. package/dist/tokens/configs/typography.cjs +411 -0
  727. package/dist/tokens/configs/typography.d.cts +364 -0
  728. package/dist/tokens/configs/typography.d.ts +364 -0
  729. package/dist/tokens/configs/typography.js +398 -0
  730. package/dist/tokens/configs/yosConfig.cjs +22037 -0
  731. package/dist/tokens/configs/yosConfig.d.cts +23036 -0
  732. package/dist/tokens/configs/yosConfig.d.ts +23036 -0
  733. package/dist/tokens/configs/yosConfig.js +22036 -0
  734. package/dist/tokens/consts/cssTokens.cjs +98 -0
  735. package/dist/tokens/consts/cssTokens.d.cts +51 -0
  736. package/dist/tokens/consts/cssTokens.d.ts +51 -0
  737. package/dist/tokens/consts/cssTokens.js +59 -0
  738. package/dist/tokens/consts/defaultModes.cjs +17 -0
  739. package/dist/tokens/consts/defaultModes.d.cts +11 -0
  740. package/dist/tokens/consts/defaultModes.d.ts +11 -0
  741. package/dist/tokens/consts/defaultModes.js +11 -0
  742. package/dist/tokens/consts/fontDeclarationsMap.cjs +652 -0
  743. package/dist/tokens/consts/fontDeclarationsMap.d.cts +537 -0
  744. package/dist/tokens/consts/fontDeclarationsMap.d.ts +537 -0
  745. package/dist/tokens/consts/fontDeclarationsMap.js +651 -0
  746. package/dist/tokens/index.cjs +113 -1
  747. package/dist/tokens/index.d.cts +43 -2257
  748. package/dist/tokens/index.d.ts +43 -2257
  749. package/dist/tokens/index.js +28 -1
  750. package/dist/tokens/parseButtonVariants.cjs +11 -0
  751. package/dist/tokens/parseButtonVariants.d.cts +13 -0
  752. package/dist/tokens/parseButtonVariants.d.ts +13 -0
  753. package/dist/tokens/parseButtonVariants.js +10 -0
  754. package/dist/tokens/parseTokens.cjs +121 -1
  755. package/dist/tokens/parseTokens.d.cts +20 -23
  756. package/dist/tokens/parseTokens.d.ts +20 -23
  757. package/dist/tokens/parseTokens.js +121 -1
  758. package/dist/tokens/types.cjs +1 -0
  759. package/dist/tokens/types.d.cts +1005 -0
  760. package/dist/tokens/types.d.ts +1005 -0
  761. package/dist/tokens/types.js +1 -0
  762. package/dist/tokens/utils/entries.cjs +17 -0
  763. package/dist/tokens/utils/entries.d.cts +12 -0
  764. package/dist/tokens/utils/entries.d.ts +12 -0
  765. package/dist/tokens/utils/entries.js +16 -0
  766. package/dist/tokens/utils/fromEntries.cjs +17 -0
  767. package/dist/tokens/utils/fromEntries.d.cts +12 -0
  768. package/dist/tokens/utils/fromEntries.d.ts +12 -0
  769. package/dist/tokens/utils/fromEntries.js +16 -0
  770. package/dist/tokens/utils/mapValues.cjs +12 -0
  771. package/dist/tokens/utils/mapValues.d.cts +5 -0
  772. package/dist/tokens/utils/mapValues.d.ts +5 -0
  773. package/dist/tokens/utils/mapValues.js +11 -0
  774. package/dist/tokens/utils/opacity.cjs +27 -0
  775. package/dist/tokens/utils/opacity.d.cts +19 -0
  776. package/dist/tokens/utils/opacity.d.ts +19 -0
  777. package/dist/tokens/utils/opacity.js +25 -0
  778. package/dist/types.cjs +1 -0
  779. package/dist/types.d.cts +6 -0
  780. package/dist/types.d.ts +6 -0
  781. package/dist/types.js +1 -0
  782. package/dist/utils/assertUnreachable.cjs +9 -0
  783. package/dist/utils/assertUnreachable.d.cts +4 -0
  784. package/dist/utils/assertUnreachable.d.ts +4 -0
  785. package/dist/utils/assertUnreachable.js +8 -0
  786. package/dist/utils/composeRefs.cjs +21 -0
  787. package/dist/utils/composeRefs.d.cts +9 -0
  788. package/dist/utils/composeRefs.d.ts +9 -0
  789. package/dist/utils/composeRefs.js +20 -0
  790. package/dist/utils/createSlot.cjs +78 -0
  791. package/dist/utils/createSlot.d.cts +6 -0
  792. package/dist/utils/createSlot.d.ts +6 -0
  793. package/dist/utils/createSlot.js +77 -0
  794. package/dist/utils/entries.cjs +9 -0
  795. package/dist/utils/entries.d.cts +4 -0
  796. package/dist/utils/entries.d.ts +4 -0
  797. package/dist/utils/entries.js +8 -0
  798. package/dist/utils/falsyToString.cjs +9 -0
  799. package/dist/utils/falsyToString.d.cts +4 -0
  800. package/dist/utils/falsyToString.d.ts +4 -0
  801. package/dist/utils/falsyToString.js +8 -0
  802. package/dist/utils/getMotionVar.cjs +15 -0
  803. package/dist/utils/getMotionVar.d.cts +16 -0
  804. package/dist/utils/getMotionVar.d.ts +16 -0
  805. package/dist/utils/getMotionVar.js +15 -0
  806. package/dist/utils/intersperse.cjs +48 -0
  807. package/dist/utils/intersperse.d.cts +33 -0
  808. package/dist/utils/intersperse.d.ts +33 -0
  809. package/dist/utils/intersperse.js +45 -0
  810. package/dist/utils/mapValues.cjs +12 -0
  811. package/dist/utils/mapValues.d.cts +5 -0
  812. package/dist/utils/mapValues.d.ts +5 -0
  813. package/dist/utils/mapValues.js +11 -0
  814. package/dist/utils/mergeSlotProps.cjs +29 -0
  815. package/dist/utils/mergeSlotProps.d.cts +5 -0
  816. package/dist/utils/mergeSlotProps.d.ts +5 -0
  817. package/dist/utils/mergeSlotProps.js +28 -0
  818. package/package.json +65 -60
  819. package/dist/Box-DwoY1xsp.d.cts +0 -34
  820. package/dist/Box-ncdx_6JJ.d.ts +0 -34
  821. package/dist/Pressable-XywV25nD.d.ts +0 -44
  822. package/dist/Pressable-vZoRdY_i.d.cts +0 -44
  823. package/dist/Text-B7LaBovi.d.cts +0 -88
  824. package/dist/Text-D9E-Ivs4.d.cts +0 -324
  825. package/dist/Text-D9E-Ivs4.d.ts +0 -324
  826. package/dist/Text-DP7Wj9fr.d.ts +0 -88
  827. package/dist/Text-DRla3SiI.d.ts +0 -88
  828. package/dist/Text-PCg-YzOz.d.cts +0 -88
  829. package/dist/VStack-B89J1tAJ.d.cts +0 -83
  830. package/dist/VStack-BH_tBQAO.d.cts +0 -83
  831. package/dist/VStack-CwNak3GT.d.ts +0 -83
  832. package/dist/VStack-YuhJZCys.d.ts +0 -83
  833. package/dist/chunk-27DQUYOD.cjs +0 -1
  834. package/dist/chunk-3KGHFL34.cjs +0 -1
  835. package/dist/chunk-4DI4U2ZJ.js +0 -2
  836. package/dist/chunk-4NLPM4LX.js +0 -1
  837. package/dist/chunk-566E2KOV.cjs +0 -1
  838. package/dist/chunk-5PTFNIFE.js +0 -2
  839. package/dist/chunk-6PEIP4LR.cjs +0 -1
  840. package/dist/chunk-6V7QEDMR.js +0 -2
  841. package/dist/chunk-AJIPOPZP.js +0 -1
  842. package/dist/chunk-B2TS37PH.cjs +0 -1
  843. package/dist/chunk-BRD7KJ5B.cjs +0 -2
  844. package/dist/chunk-C67TSNYO.cjs +0 -2
  845. package/dist/chunk-DDL45GZJ.js +0 -2
  846. package/dist/chunk-EPEWMEHA.js +0 -3
  847. package/dist/chunk-FK3YMO3H.cjs +0 -1
  848. package/dist/chunk-FKDU4FOZ.js +0 -2
  849. package/dist/chunk-FP7OSHKI.cjs +0 -1
  850. package/dist/chunk-GF4A6TFM.js +0 -2
  851. package/dist/chunk-HKI5AZ7O.js +0 -1
  852. package/dist/chunk-HTZHSZZP.cjs +0 -1
  853. package/dist/chunk-IMKUVCCQ.cjs +0 -2
  854. package/dist/chunk-IOYNZUNZ.js +0 -2
  855. package/dist/chunk-IPJKEKXB.cjs +0 -2
  856. package/dist/chunk-K3SGTZBD.js +0 -2
  857. package/dist/chunk-KOMSMI5O.cjs +0 -1
  858. package/dist/chunk-LBWNL2O7.cjs +0 -1
  859. package/dist/chunk-LK3ZQP3J.cjs +0 -1
  860. package/dist/chunk-LYHJT3E5.js +0 -2
  861. package/dist/chunk-NJH5V24C.cjs +0 -1
  862. package/dist/chunk-NNSZGTMQ.js +0 -2
  863. package/dist/chunk-O4OSO3V4.cjs +0 -2
  864. package/dist/chunk-OCCSRSJM.js +0 -2
  865. package/dist/chunk-OPJ5SIFC.js +0 -2
  866. package/dist/chunk-ORB5CU37.cjs +0 -1
  867. package/dist/chunk-P4XYWMJE.cjs +0 -2
  868. package/dist/chunk-Q5LASIAY.js +0 -3
  869. package/dist/chunk-QIGG4KRS.js +0 -2
  870. package/dist/chunk-QLXJH36U.cjs +0 -1
  871. package/dist/chunk-QUNKTR5G.cjs +0 -1
  872. package/dist/chunk-R7SUOHEQ.js +0 -1
  873. package/dist/chunk-S5ISY44L.cjs +0 -1
  874. package/dist/chunk-SPP3MH4Z.js +0 -2
  875. package/dist/chunk-VX5NJRUI.js +0 -2
  876. package/dist/chunk-W6B4I24P.js +0 -1
  877. package/dist/chunk-WR3CRR6L.js +0 -2
  878. package/dist/chunk-XK6V5SIG.cjs +0 -1
  879. package/dist/chunk-XN3JP4KW.cjs +0 -1
  880. package/dist/chunk-YZE72XPR.js +0 -2
  881. package/dist/client/Menu.cjs +0 -2
  882. package/dist/client/Menu.d.cts +0 -624
  883. package/dist/client/Menu.d.ts +0 -624
  884. package/dist/client/Menu.js +0 -3
  885. package/dist/client/index.cjs +0 -2
  886. package/dist/client/index.d.cts +0 -534
  887. package/dist/client/index.d.ts +0 -534
  888. package/dist/client/index.js +0 -2
  889. package/dist/domAnimation-26D6WPCP.cjs +0 -1
  890. package/dist/domAnimation-FQC75V5T.js +0 -1
  891. package/dist/domMax-7KVFVNKB.cjs +0 -1
  892. package/dist/domMax-XRPNJ6D3.js +0 -1
  893. package/dist/experimental/client/SwitchV2.cjs +0 -1
  894. package/dist/experimental/client/SwitchV2.js +0 -1
  895. package/dist/experimental/client/index.cjs +0 -3
  896. package/dist/experimental/client/index.d.cts +0 -135
  897. package/dist/experimental/client/index.d.ts +0 -135
  898. package/dist/experimental/client/index.js +0 -3
  899. package/dist/experimental/index.cjs +0 -2
  900. package/dist/experimental/index.d.cts +0 -86
  901. package/dist/experimental/index.d.ts +0 -86
  902. package/dist/experimental/index.js +0 -2
  903. package/dist/index-Ba60jeat.d.cts +0 -251
  904. package/dist/index-BrIj1pmg.d.ts +0 -251
  905. package/dist/index-DUswrIxa.d.cts +0 -251
  906. package/dist/index-DVUIyCVF.d.ts +0 -251
  907. package/dist/metafile-cjs.json +0 -1
  908. package/dist/metafile-esm.json +0 -1
  909. package/dist/styles/toast.css +0 -1
  910. package/dist/styles/toast.d.cts +0 -2
  911. package/dist/styles/toast.d.ts +0 -2
  912. package/dist/tailwind/plugin.cjs +0 -1
  913. package/dist/tailwind/plugin.d.cts +0 -84
  914. package/dist/tailwind/plugin.d.ts +0 -84
  915. package/dist/tailwind/plugin.js +0 -2
  916. package/dist/tailwind/purger.cjs +0 -5
  917. package/dist/tailwind/purger.js +0 -6
  918. package/dist/tailwind/utils.cjs +0 -1
  919. package/dist/tailwind/utils.d.cts +0 -164
  920. package/dist/tailwind/utils.d.ts +0 -164
  921. package/dist/tailwind/utils.js +0 -1
  922. package/dist/tokens/automation/configs.cjs +0 -1
  923. package/dist/tokens/automation/configs.d.cts +0 -128
  924. package/dist/tokens/automation/configs.d.ts +0 -128
  925. package/dist/tokens/automation/configs.js +0 -1
  926. package/dist/types-fpiurdUk.d.cts +0 -6
  927. package/dist/types-fpiurdUk.d.ts +0 -6
  928. package/dist/universalTokensConfigAuto-BHqbAL0M.d.cts +0 -14360
  929. package/dist/universalTokensConfigAuto-BHqbAL0M.d.ts +0 -14360
  930. package/dist/universalTokensConfigAuto-D1z2ow2N.d.cts +0 -14360
  931. package/dist/universalTokensConfigAuto-D1z2ow2N.d.ts +0 -14360
@@ -0,0 +1,129 @@
1
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { variants } from "../../styles/variants.js";
3
+ import { camelCase, isEmpty } from "lodash-es";
4
+ import { Node, SyntaxKind } from "ts-morph";
5
+
6
+ //#region scripts/utils/tsMorph.ts
7
+ /** Determines if an expression is using React.forwardRef. */
8
+ function isForwardRefExpression(node) {
9
+ if (Node.isCallExpression(node)) {
10
+ const expression = node.getExpression();
11
+ /**
12
+ * forwardRef(() => <Component />)
13
+ */
14
+ if (Node.isIdentifier(expression) && expression.getText() === "forwardRef") return true;
15
+ /**
16
+ * React.forwardRef(() => <Component />)
17
+ */
18
+ if (Node.isPropertyAccessExpression(expression) && expression.getText() === "React.forwardRef") return true;
19
+ }
20
+ return false;
21
+ }
22
+ /** Determines if a node is a JSX component. */
23
+ function isJsxComponent(node) {
24
+ let name;
25
+ if (Node.isVariableDeclaration(node) || Node.isFunctionDeclaration(node) || Node.isClassDeclaration(node)) name = node.getName();
26
+ else if (Node.isFunctionExpression(node) || Node.isArrowFunction(node)) name = node.getFirstAncestorByKind(SyntaxKind.VariableDeclaration)?.getName();
27
+ return name ? /[A-Z]/.test(name.charAt(0)) : false;
28
+ }
29
+ /** Returns a functional component declaration, unwrapping forwardRef if needed. */
30
+ function getReactFunctionDeclaration(declaration) {
31
+ if (isJsxComponent(declaration)) {
32
+ if (Node.isFunctionDeclaration(declaration)) return declaration;
33
+ if (Node.isVariableDeclaration(declaration)) {
34
+ const initializer = declaration.getInitializer();
35
+ if (initializer) {
36
+ if (isForwardRefExpression(initializer)) {
37
+ const [initializerDeclaration] = initializer.getArguments();
38
+ if (Node.isFunctionDeclaration(initializerDeclaration) || Node.isFunctionExpression(initializerDeclaration) || Node.isArrowFunction(initializerDeclaration)) return initializerDeclaration;
39
+ } else if (Node.isFunctionDeclaration(initializer) || Node.isFunctionExpression(initializer) || Node.isArrowFunction(initializer)) return initializer;
40
+ }
41
+ }
42
+ }
43
+ return null;
44
+ }
45
+ /** Get the first descendant JsxElement based on the identifier. */
46
+ function getJsxElement(node, name) {
47
+ return getJsxElements(node).find((node$1) => node$1.getFirstDescendantByKindOrThrow(SyntaxKind.Identifier).getText() === name);
48
+ }
49
+ /** Get all descendant JsxElement nodes. */
50
+ function getJsxElements(node) {
51
+ return node.getDescendants().filter((node$1) => Node.isJsxElement(node$1) || Node.isJsxSelfClosingElement(node$1));
52
+ }
53
+ /**
54
+ * Traces component references.
55
+ *
56
+ * This is similar to `findReferencesAsNodes` but returns JsxSelfClosingElement and JsxElement nodes.
57
+ * Note, this currently does not account for cases where the component is used as a prop or is renamed.
58
+ */
59
+ function findReferencesAsJsxElements(identifer) {
60
+ const jsxElements = [];
61
+ for (const reference of identifer.findReferencesAsNodes()) {
62
+ const node = reference.getFirstAncestor((node$1) => {
63
+ return Node.isJsxOpeningElement(node$1) || Node.isJsxSelfClosingElement(node$1);
64
+ });
65
+ if (node) jsxElements.push(node);
66
+ }
67
+ return jsxElements;
68
+ }
69
+ /**
70
+ * Given a Jsx Reference, this function finds the parent of that reference,
71
+ * looks at the props, and returns the name used either for spread operator rest or
72
+ * the prop name if there's no spread operator
73
+ */
74
+ const getParentSpreadOrParamIdentifier = (reference) => {
75
+ const blockParent = reference.getParentWhile((parent) => {
76
+ return !getReactFunctionDeclaration(parent);
77
+ }).getParent();
78
+ if (!blockParent) return;
79
+ const reactComponent = getReactFunctionDeclaration(blockParent);
80
+ if (reactComponent) {
81
+ const parameters = reactComponent.getParameters();
82
+ for (let i = 0; i < parameters.length; i++) {
83
+ const parameter = parameters[i];
84
+ const objectBindingPattern = parameter.getChildrenOfKind(SyntaxKind.ObjectBindingPattern)[0];
85
+ const identifier = parameter.getChildrenOfKind(SyntaxKind.Identifier)[0];
86
+ if (objectBindingPattern) {
87
+ const dotDotToken = objectBindingPattern.getFirstDescendantByKind(SyntaxKind.DotDotDotToken);
88
+ if (dotDotToken !== void 0) return dotDotToken?.getParent()?.getFirstChildByKindOrThrow(SyntaxKind.Identifier).getText();
89
+ } else if (identifier) return identifier.getText();
90
+ }
91
+ }
92
+ };
93
+ /**
94
+ * Get used props on a reference.
95
+ */
96
+ const getUsedPropsInReference = (reference) => {
97
+ const attributes = reference.getAttributes();
98
+ const res = [];
99
+ attributes.forEach((attribute) => {
100
+ if (Node.isJsxAttribute(attribute)) {
101
+ const attributeName = attribute.getNameNode().getText();
102
+ const stringLiterals = attribute.getDescendantsOfKind(SyntaxKind.StringLiteral);
103
+ const values = [];
104
+ if (stringLiterals.length !== 0) stringLiterals.forEach((stringLiteral) => values.push(stringLiteral.getLiteralText()));
105
+ const typeName = attribute.getFirstChildByKindOrThrow(SyntaxKind.Identifier).getDefinitions().map((d) => d.getDeclarationNode()?.getChildrenOfKind(SyntaxKind.TypeReference).pop()?.getText()).pop();
106
+ if (!typeName && !isEmpty(attributeName)) res.push([attributeName, values]);
107
+ else if (variants[camelCase(typeName)] && !isEmpty(typeName)) res.push([camelCase(typeName), values]);
108
+ else if (!isEmpty(attributeName)) res.push([attributeName, values]);
109
+ }
110
+ if (Node.isJsxSpreadAttribute(attribute)) {
111
+ const componentPropsSpreadIdentifier = getParentSpreadOrParamIdentifier(reference);
112
+ const children = attribute.getExpression().getChildren();
113
+ const lastIdentifier = children.length === 0 ? attribute.getExpression() : children.pop();
114
+ if (!lastIdentifier || lastIdentifier?.getText() === componentPropsSpreadIdentifier) return [];
115
+ lastIdentifier.getType().getProperties().forEach((property) => {
116
+ const propertyNameFromType = property.getDeclarations().map((declaration) => {
117
+ return camelCase(declaration.getChildrenOfKind(SyntaxKind.TypeReference)[0]?.getText() ?? "");
118
+ })[0];
119
+ if (!isEmpty(property.getName())) res.push([property.getName(), []]);
120
+ if (!isEmpty(propertyNameFromType)) res.push([propertyNameFromType, []]);
121
+ });
122
+ }
123
+ return [];
124
+ });
125
+ return res;
126
+ };
127
+
128
+ //#endregion
129
+ export { findReferencesAsJsxElements, getJsxElement, getJsxElements, getParentSpreadOrParamIdentifier, getReactFunctionDeclaration, getUsedPropsInReference, isForwardRefExpression, isJsxComponent };
@@ -0,0 +1,117 @@
1
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
3
+ const require_flags = require('../flags.cjs');
4
+ const require_utils_falsyToString = require('../utils/falsyToString.cjs');
5
+ const require_styles_variants = require('./variants.cjs');
6
+ let __yahoo_uds_fixtures = require("@yahoo/uds/fixtures");
7
+ let clsx = require("clsx");
8
+ let tailwind_merge = require("tailwind-merge");
9
+
10
+ //#region src/styles/styler.ts
11
+ const createObjectWithoutPrototype = () => Object.create(null);
12
+ const { useGetStylesCache, skipTailwindMerge } = require_flags.getFeatureFlags();
13
+ /**
14
+ * Prepare and object for memoization
15
+ * Code uses old-school JS to hyper optimize component rendering hot paths.
16
+ **/
17
+ function normalizeObject(props) {
18
+ const sorted = createObjectWithoutPrototype();
19
+ const sortedKeys = Object.keys(props).sort();
20
+ for (let i = 0, len = sortedKeys.length; i < len; i++) {
21
+ const key = sortedKeys[i];
22
+ if (props[key] !== void 0) sorted[key] = props[key];
23
+ }
24
+ return sorted;
25
+ }
26
+ const twMerge = (0, tailwind_merge.extendTailwindMerge)({
27
+ extend: { theme: {
28
+ borderColor: __yahoo_uds_fixtures.lineColors,
29
+ borderWidth: __yahoo_uds_fixtures.borderWidthsWithElevation,
30
+ borderRadius: __yahoo_uds_fixtures.borderRadii
31
+ } },
32
+ override: {
33
+ classGroups: {
34
+ "text-color": [{ text: [...__yahoo_uds_fixtures.foregroundColors, ...__yahoo_uds_fixtures.spectrumColors] }],
35
+ "bg-color": [{ bg: __yahoo_uds_fixtures.backgroundColors }],
36
+ "font-family": [{ font: ["icons", ...__yahoo_uds_fixtures.textVariants] }],
37
+ leading: [{ leading: __yahoo_uds_fixtures.textVariants }]
38
+ },
39
+ conflictingClassGroups: {}
40
+ }
41
+ });
42
+ const cx = (...inputs) => {
43
+ const finalClassName = (0, clsx.clsx)(inputs);
44
+ return skipTailwindMerge ? finalClassName : twMerge(finalClassName);
45
+ };
46
+ const cva = (config) => {
47
+ const { base, variants: variants$1, defaultVariants, compoundVariants } = config;
48
+ /**
49
+ * !WARNING
50
+ * This is a VERY performance-sensitive function. Do not change it
51
+ * without benchmarking first.
52
+ */
53
+ return (maybeProps) => {
54
+ if (!maybeProps) return cx(base);
55
+ const { className, ...props } = maybeProps;
56
+ if (!variants$1) return cx(base, className);
57
+ const variantClassNames = [];
58
+ for (const prop in defaultVariants) {
59
+ if (prop === void 0) continue;
60
+ if (props[prop] !== void 0) continue;
61
+ const defaultPropValue = defaultVariants[prop];
62
+ const variantKey = require_utils_falsyToString.falsyToString(defaultPropValue);
63
+ variantClassNames.push(variants$1[prop][variantKey]);
64
+ }
65
+ for (const prop in props) {
66
+ if (prop === void 0) continue;
67
+ const propValue = props[prop];
68
+ const variantKey = require_utils_falsyToString.falsyToString(propValue);
69
+ variantClassNames.push(variants$1[prop][variantKey]);
70
+ }
71
+ if (!compoundVariants) return cx(base, variantClassNames, className);
72
+ let compoundVariantClassNames = "";
73
+ for (const compoundConfig of compoundVariants) {
74
+ const { className: compoundClassname, ...compoundVariantConfig } = compoundConfig;
75
+ let allMatch = true;
76
+ for (const cvKey in compoundVariantConfig) {
77
+ const cvValue = compoundVariantConfig[cvKey];
78
+ if (!((props[cvKey] ?? defaultVariants?.[cvKey]) === cvValue)) {
79
+ allMatch = false;
80
+ break;
81
+ }
82
+ }
83
+ if (allMatch) compoundVariantClassNames = cx(compoundVariantClassNames, compoundClassname);
84
+ }
85
+ return cx(base, variantClassNames, compoundVariantClassNames, className);
86
+ };
87
+ };
88
+ const getStylesInternal = cva({ variants: require_styles_variants.variants });
89
+ const styleCache = /* @__PURE__ */ new Map();
90
+ const getStylesCacheKeySymbol = Symbol("getStylesCacheKey");
91
+ const generateCacheKey = (props) => {
92
+ if (props[getStylesCacheKeySymbol]) return props[getStylesCacheKeySymbol];
93
+ const sorted = normalizeObject(props);
94
+ let cacheKey = "";
95
+ for (const key in sorted) cacheKey += `${key}:${sorted[key]}|`;
96
+ props[getStylesCacheKeySymbol] = cacheKey;
97
+ return cacheKey;
98
+ };
99
+ const cachedGetStyles = (props, onHit) => {
100
+ if (!useGetStylesCache) return getStylesInternal(props);
101
+ const cacheKey = generateCacheKey(props);
102
+ if (styleCache.has(cacheKey)) {
103
+ onHit?.();
104
+ return styleCache.get(cacheKey);
105
+ }
106
+ const styles = getStylesInternal(props);
107
+ styleCache.set(cacheKey, styles);
108
+ return styles;
109
+ };
110
+ const getStyles = cachedGetStyles;
111
+
112
+ //#endregion
113
+ exports.cva = cva;
114
+ exports.cx = cx;
115
+ exports.getStyles = getStyles;
116
+ exports.getStylesCacheKeySymbol = getStylesCacheKeySymbol;
117
+ exports.normalizeObject = normalizeObject;
@@ -0,0 +1,200 @@
1
+ import { CVA, CX } from "./stylerTypes.cjs";
2
+
3
+ //#region src/styles/styler.d.ts
4
+
5
+ /**
6
+ * Prepare and object for memoization
7
+ * Code uses old-school JS to hyper optimize component rendering hot paths.
8
+ **/
9
+ declare function normalizeObject(props: Record<string, unknown>): Record<string, unknown>;
10
+ declare const cx: CX<string>;
11
+ declare const cva: CVA<string>;
12
+ declare const getStylesInternal: (props?: ({
13
+ checkboxSizeRoot?: "sm" | "md" | undefined;
14
+ checkboxSizeCheckbox?: "sm" | "md" | undefined;
15
+ checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
16
+ checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
17
+ checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
18
+ checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
19
+ checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
20
+ checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
21
+ dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
22
+ dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
23
+ dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
24
+ switchVariantActiveRoot?: "off" | "on" | undefined;
25
+ switchVariantRoot?: "default" | undefined;
26
+ switchVariantActiveSwitch?: "off" | "on" | undefined;
27
+ switchVariantSwitch?: "default" | undefined;
28
+ switchVariantActiveHandle?: "off" | "on" | undefined;
29
+ switchVariantHandle?: "default" | undefined;
30
+ switchVariantActiveHandleIcon?: "off" | "on" | undefined;
31
+ switchVariantHandleIcon?: "default" | undefined;
32
+ switchSizeRoot?: "sm" | "md" | undefined;
33
+ switchSizeSwitch?: "sm" | "md" | undefined;
34
+ switchSizeHandle?: "sm" | "md" | undefined;
35
+ switchSizeHandleIcon?: "sm" | "md" | undefined;
36
+ buttonSizeRoot?: "sm" | "md" | "lg" | undefined;
37
+ buttonSizeIcon?: "sm" | "md" | "lg" | undefined;
38
+ buttonVariantRoot?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
39
+ buttonVariantIcon?: "primary" | "secondary" | "tertiary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "alert-tertiary" | "brand-tertiary" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
40
+ chipSizeRoot?: "sm" | "md" | undefined;
41
+ chipSizeIcon?: "sm" | "md" | undefined;
42
+ chipToggleVariantActiveRoot?: "off" | "on" | undefined;
43
+ chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
44
+ chipToggleVariantActiveIcon?: "off" | "on" | undefined;
45
+ chipToggleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
46
+ chipDismissibleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
47
+ chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
48
+ chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
49
+ chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
50
+ radioVariantValueRoot?: "checked" | "unchecked" | undefined;
51
+ radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
52
+ radioVariantValueRadio?: "checked" | "unchecked" | undefined;
53
+ radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
54
+ radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
55
+ radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
56
+ radioSizeRoot?: "sm" | "md" | undefined;
57
+ radioSizeRadio?: "sm" | "md" | undefined;
58
+ linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
59
+ linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
60
+ linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
61
+ linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
62
+ linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
63
+ badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | undefined;
64
+ badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | undefined;
65
+ badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
66
+ badgeVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
67
+ inputSizeRoot?: "md" | "lg" | undefined;
68
+ inputSizeInputWrapper?: "md" | "lg" | undefined;
69
+ inputSizeInput?: "md" | "lg" | undefined;
70
+ inputSizeStartIcon?: "md" | "lg" | undefined;
71
+ inputSizeEndIcon?: "md" | "lg" | undefined;
72
+ inputSizeLabel?: "md" | "lg" | undefined;
73
+ inputSizeHelperIcon?: "md" | "lg" | undefined;
74
+ inputSizeHelperText?: "md" | "lg" | undefined;
75
+ inputVariantValueRoot?: "filled" | "empty" | undefined;
76
+ inputVariantRoot?: "default" | undefined;
77
+ inputVariantValueInputWrapper?: "filled" | "empty" | undefined;
78
+ inputVariantInputWrapper?: "default" | undefined;
79
+ inputVariantValueInput?: "filled" | "empty" | undefined;
80
+ inputVariantInput?: "default" | undefined;
81
+ inputVariantValueInputPlaceholder?: "filled" | "empty" | undefined;
82
+ inputVariantInputPlaceholder?: "default" | undefined;
83
+ inputVariantValueStartIcon?: "filled" | "empty" | undefined;
84
+ inputVariantStartIcon?: "default" | undefined;
85
+ inputVariantValueEndIcon?: "filled" | "empty" | undefined;
86
+ inputVariantEndIcon?: "default" | undefined;
87
+ inputVariantValueLabel?: "filled" | "empty" | undefined;
88
+ inputVariantLabel?: "default" | undefined;
89
+ inputVariantValueLabelRequired?: "filled" | "empty" | undefined;
90
+ inputVariantLabelRequired?: "default" | undefined;
91
+ inputVariantValueHelperIcon?: "filled" | "empty" | undefined;
92
+ inputVariantHelperIcon?: "default" | undefined;
93
+ inputVariantValueHelperText?: "filled" | "empty" | undefined;
94
+ inputVariantHelperText?: "default" | undefined;
95
+ avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
96
+ avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
97
+ avatarTextVariantRoot?: "primary" | "secondary" | undefined;
98
+ avatarImageVariantRoot?: "primary" | "secondary" | undefined;
99
+ avatarIconVariantRoot?: "primary" | "secondary" | undefined;
100
+ iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
101
+ iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
102
+ menuSizeRoot?: "default" | undefined;
103
+ menuSizeStartIcon?: "default" | undefined;
104
+ menuSizeEndIcon?: "default" | undefined;
105
+ menuItemVariantActiveRoot?: "off" | "on" | undefined;
106
+ menuItemVariantRoot?: "default" | undefined;
107
+ menuItemVariantActiveText?: "off" | "on" | undefined;
108
+ menuItemVariantText?: "default" | undefined;
109
+ menuItemVariantActiveIcon?: "off" | "on" | undefined;
110
+ menuItemVariantIcon?: "default" | undefined;
111
+ menuItemCheckboxVariantActiveRoot?: "off" | "on" | undefined;
112
+ menuItemCheckboxVariantRoot?: "default" | undefined;
113
+ menuItemCheckboxVariantActiveText?: "off" | "on" | undefined;
114
+ menuItemCheckboxVariantText?: "default" | undefined;
115
+ menuItemCheckboxVariantActiveStartIcon?: "off" | "on" | undefined;
116
+ menuItemCheckboxVariantStartIcon?: "default" | undefined;
117
+ menuItemCheckboxVariantActiveEndIcon?: "off" | "on" | undefined;
118
+ menuItemCheckboxVariantEndIcon?: "default" | undefined;
119
+ menuDividerVariantRoot?: "default" | undefined;
120
+ menuDividerVariantText?: "default" | undefined;
121
+ menuDividerVariantLine?: "default" | undefined;
122
+ color?: "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | undefined;
123
+ placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | undefined;
124
+ fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
125
+ fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
126
+ fontWeight?: "black" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "medium" | "thin" | "light" | "bold" | "extralight" | "regular" | "semibold" | "extrabold" | undefined;
127
+ lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
128
+ letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
129
+ textAlign?: "start" | "end" | "center" | "justify" | undefined;
130
+ textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
131
+ spacing?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
132
+ spacingHorizontal?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
133
+ spacingVertical?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
134
+ spacingBottom?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
135
+ spacingEnd?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
136
+ spacingStart?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
137
+ spacingTop?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
138
+ offset?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
139
+ offsetVertical?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
140
+ offsetHorizontal?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
141
+ offsetBottom?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
142
+ offsetEnd?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
143
+ offsetStart?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
144
+ offsetTop?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
145
+ columnGap?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
146
+ rowGap?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
147
+ backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
148
+ borderColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
149
+ borderStartColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
150
+ borderEndColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
151
+ borderBottomColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
152
+ borderTopColor?: "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "transparent" | "white" | "black" | "current" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
153
+ borderRadius?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
154
+ borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
155
+ borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
156
+ borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
157
+ borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
158
+ borderWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
159
+ borderVerticalWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
160
+ borderHorizontalWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
161
+ borderStartWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
162
+ borderEndWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
163
+ borderTopWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
164
+ borderBottomWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
165
+ avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
166
+ iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
167
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
168
+ alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
169
+ alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
170
+ flex?: "1" | "none" | "auto" | "initial" | undefined;
171
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
172
+ flexGrow?: "0" | "1" | "2" | "3" | undefined;
173
+ flexShrink?: "0" | "1" | undefined;
174
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
175
+ justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
176
+ flexBasis?: "min-content" | undefined;
177
+ display?: "flex" | "table" | "grid" | "inline" | "block" | "inline-block" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "contents" | undefined;
178
+ overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
179
+ overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
180
+ overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
181
+ position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
182
+ contentFit?: "fill" | "contain" | "none" | "cover" | "scale-down" | undefined;
183
+ colorMode?: "light" | "dark" | undefined;
184
+ scaleMode?: "small" | "xSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
185
+ width?: "full" | "fit" | "screen" | undefined;
186
+ height?: "full" | "fit" | "screen" | undefined;
187
+ dropShadow?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "2xl" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
188
+ insetShadow?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
189
+ nestedBorderRadiusSize?: "xs" | "sm" | "md" | "lg" | "none" | "xl" | "full" | undefined;
190
+ nestedBorderRadiusWidth?: "none" | "medium" | "thin" | "thick" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
191
+ nestedBorderRadiusSpacing?: "0" | "1" | "px" | "0.5" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
192
+ nestedBorderRadius?: boolean | "first" | "last" | undefined;
193
+ } & {
194
+ className?: string | undefined;
195
+ }) | undefined) => string;
196
+ type GetStylesInternalProps = Parameters<typeof getStylesInternal>[0];
197
+ declare const getStylesCacheKeySymbol: unique symbol;
198
+ declare const getStyles: (props: GetStylesInternalProps, onHit?: () => void) => string;
199
+ //#endregion
200
+ export { cva, cx, getStyles, getStylesCacheKeySymbol, normalizeObject };