@yahoo/uds 3.59.0-beta.1 → 3.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1598) 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 -1
  6. package/cli/preload.ts +1 -1
  7. package/cli/tsconfig.json +10 -1
  8. package/cli/utils/purgeCSS.ts +24 -12
  9. package/dist/Box-BSYsXHzh.d.cts +34 -0
  10. package/dist/Box-BWU5UmHC.d.cts +34 -0
  11. package/dist/Box-C5a5zIIo.d.ts +34 -0
  12. package/dist/Box-C9fHZ3nr.d.ts +34 -0
  13. package/dist/Pressable-5JJUWRN1.d.cts +44 -0
  14. package/dist/Pressable-DjYpKTPO.d.cts +44 -0
  15. package/dist/Pressable-Q1KS3YU1.d.ts +44 -0
  16. package/dist/Pressable-jfrkzoAe.d.ts +44 -0
  17. package/dist/Text-1qIcMDEP.d.cts +297 -0
  18. package/dist/Text-1qIcMDEP.d.ts +297 -0
  19. package/dist/Text-BQhCLqTc.d.ts +88 -0
  20. package/dist/Text-CJRvqui_.d.cts +88 -0
  21. package/dist/Text-Dw9vuP5i.d.cts +88 -0
  22. package/dist/Text-ksXYBDQ6.d.ts +88 -0
  23. package/dist/VStack-Ch6JJPQE.d.cts +83 -0
  24. package/dist/VStack-CkK4XZ1Y.d.ts +83 -0
  25. package/dist/VStack-DdYKhUxh.d.ts +83 -0
  26. package/dist/VStack-OvZNhyoq.d.cts +83 -0
  27. package/dist/chunk-4BOF3VWD.cjs +1 -0
  28. package/dist/chunk-4CPVEVKO.cjs +1 -0
  29. package/dist/chunk-4I3UGCX7.js +2 -0
  30. package/dist/chunk-4OO7CUA6.js +1 -0
  31. package/dist/chunk-4UB6EIVI.cjs +1 -0
  32. package/dist/chunk-4VD23ARR.cjs +2 -0
  33. package/dist/chunk-5R7POUAI.cjs +1 -0
  34. package/dist/chunk-66IO4LQQ.cjs +1 -0
  35. package/dist/chunk-CCW6IDIM.js +2 -0
  36. package/dist/chunk-CKTDV4QK.cjs +1 -0
  37. package/dist/chunk-DE7HKKF7.cjs +1 -0
  38. package/dist/chunk-DJK7XG62.cjs +1 -0
  39. package/dist/chunk-DXLUH24B.cjs +1 -0
  40. package/dist/chunk-DXNJK3DK.js +1 -0
  41. package/dist/chunk-EWJ3J526.js +2 -0
  42. package/dist/chunk-FP76653E.cjs +1 -0
  43. package/dist/chunk-GA64SR3T.js +2 -0
  44. package/dist/chunk-GF4A6TFM.js +2 -0
  45. package/dist/chunk-H7DBPPWM.js +1 -0
  46. package/dist/chunk-HMRYK2NP.js +1 -0
  47. package/dist/chunk-J7PUOUXC.cjs +1 -0
  48. package/dist/chunk-K5YXKPQS.js +2 -0
  49. package/dist/chunk-KLQ3KKQY.cjs +1 -0
  50. package/dist/chunk-KMRYZOR7.js +2 -0
  51. package/dist/chunk-KQTBZT7T.js +2 -0
  52. package/dist/chunk-L3JHNF65.js +3 -0
  53. package/dist/chunk-LBBFEPKC.cjs +2 -0
  54. package/dist/chunk-MXEZ3L4I.js +2 -0
  55. package/dist/chunk-N4PLNTDV.cjs +2 -0
  56. package/dist/chunk-NNZ2U4VM.js +2 -0
  57. package/dist/chunk-OSJVSN23.js +2 -0
  58. package/dist/chunk-QLETZKZI.cjs +2 -0
  59. package/dist/chunk-QLXJH36U.cjs +1 -0
  60. package/dist/chunk-QNM2JS62.js +2 -0
  61. package/dist/chunk-QQ4MS32D.js +2 -0
  62. package/dist/chunk-R4JM3BY7.js +3 -0
  63. package/dist/chunk-R72INVUM.cjs +2 -0
  64. package/dist/chunk-RI3JVWBJ.js +2 -0
  65. package/dist/chunk-THCRN4KF.cjs +1 -0
  66. package/dist/chunk-TN3TGUL4.cjs +2 -0
  67. package/dist/chunk-UQJ7WV2P.cjs +1 -0
  68. package/dist/chunk-V5UIHMW2.js +2 -0
  69. package/dist/chunk-V7E46T44.cjs +1 -0
  70. package/dist/chunk-VTOQOUNP.js +1 -0
  71. package/dist/chunk-W4J7ZS6U.cjs +1 -0
  72. package/dist/chunk-WXDJBIBP.js +2 -0
  73. package/dist/chunk-YB2KIANK.js +2 -0
  74. package/dist/chunk-YYYUPBMK.cjs +1 -0
  75. package/dist/client/Menu.cjs +2 -0
  76. package/dist/client/Menu.d.cts +624 -0
  77. package/dist/client/Menu.d.ts +624 -0
  78. package/dist/client/Menu.js +3 -0
  79. package/dist/client/index.cjs +2 -0
  80. package/dist/client/index.d.cts +534 -0
  81. package/dist/client/index.d.ts +534 -0
  82. package/dist/client/index.js +2 -0
  83. package/dist/defaultTokensConfig.cjs +1 -23
  84. package/dist/defaultTokensConfig.d.cts +8893 -8891
  85. package/dist/defaultTokensConfig.d.ts +8893 -8891
  86. package/dist/defaultTokensConfig.js +1 -22
  87. package/dist/domAnimation-26D6WPCP.cjs +1 -0
  88. package/dist/domAnimation-FQC75V5T.js +1 -0
  89. package/dist/domMax-7KVFVNKB.cjs +1 -0
  90. package/dist/domMax-XRPNJ6D3.js +1 -0
  91. package/dist/experimental/client/SwitchV2.cjs +1 -0
  92. package/dist/experimental/client/SwitchV2.d.cts +43 -0
  93. package/dist/experimental/client/SwitchV2.d.ts +43 -0
  94. package/dist/experimental/client/SwitchV2.js +1 -0
  95. package/dist/experimental/client/index.cjs +3 -0
  96. package/dist/experimental/client/index.d.cts +135 -0
  97. package/dist/experimental/client/index.d.ts +135 -0
  98. package/dist/experimental/client/index.js +3 -0
  99. package/dist/experimental/index.cjs +2 -0
  100. package/dist/experimental/index.d.cts +86 -0
  101. package/dist/experimental/index.d.ts +86 -0
  102. package/dist/experimental/index.js +2 -0
  103. package/dist/fixtures.cjs +820 -3
  104. package/dist/fixtures.d.cts +2 -2
  105. package/dist/fixtures.d.ts +2 -2
  106. package/dist/fixtures.js +820 -3
  107. package/dist/flags.cjs +1 -26
  108. package/dist/flags.d.cts +13 -15
  109. package/dist/flags.d.ts +13 -15
  110. package/dist/flags.js +1 -24
  111. package/dist/index-BPXfpHkp.d.cts +245 -0
  112. package/dist/index-Bcr3i5Fo.d.cts +245 -0
  113. package/dist/index-DfNmJjc_.d.ts +245 -0
  114. package/dist/index-JgnxLMoN.d.ts +245 -0
  115. package/dist/index.cjs +1 -177
  116. package/dist/index.d.cts +377 -80
  117. package/dist/index.d.ts +377 -80
  118. package/dist/index.js +1 -59
  119. package/dist/metafile-cjs.json +1 -0
  120. package/dist/metafile-esm.json +1 -0
  121. package/dist/styles/toast.css +1 -0
  122. package/dist/styles/toast.d.cts +2 -0
  123. package/dist/styles/toast.d.ts +2 -0
  124. package/dist/tailwind/plugin.cjs +1 -0
  125. package/dist/tailwind/plugin.d.cts +85 -0
  126. package/dist/tailwind/plugin.d.ts +85 -0
  127. package/dist/tailwind/plugin.js +1 -0
  128. package/dist/tailwind/purger.cjs +5 -0
  129. package/dist/tailwind/purger.d.cts +17 -0
  130. package/dist/tailwind/purger.d.ts +17 -0
  131. package/dist/tailwind/purger.js +6 -0
  132. package/dist/tailwind/tsMorph.cjs +1 -11
  133. package/dist/tailwind/tsMorph.d.cts +31 -2
  134. package/dist/tailwind/tsMorph.d.ts +31 -2
  135. package/dist/tailwind/tsMorph.js +2 -4
  136. package/dist/tailwind/utils.cjs +1 -0
  137. package/dist/tailwind/utils.d.cts +153 -0
  138. package/dist/tailwind/utils.d.ts +153 -0
  139. package/dist/tailwind/utils.js +1 -0
  140. package/dist/tokens/automation/configs.cjs +1 -0
  141. package/dist/tokens/automation/configs.d.cts +110 -0
  142. package/dist/tokens/automation/configs.d.ts +110 -0
  143. package/dist/tokens/automation/configs.js +1 -0
  144. package/dist/tokens/automation/properties.cjs +1 -287
  145. package/dist/tokens/automation/properties.d.cts +7 -88
  146. package/dist/tokens/automation/properties.d.ts +7 -88
  147. package/dist/tokens/automation/properties.js +1 -288
  148. package/dist/tokens/index.cjs +1 -107
  149. package/dist/tokens/index.d.cts +2066 -41
  150. package/dist/tokens/index.d.ts +2066 -41
  151. package/dist/tokens/index.js +1 -28
  152. package/dist/tokens/parseTokens.cjs +1 -73
  153. package/dist/tokens/parseTokens.d.cts +22 -20
  154. package/dist/tokens/parseTokens.d.ts +22 -20
  155. package/dist/tokens/parseTokens.js +1 -74
  156. package/dist/types-BvOFo15W.d.cts +8 -0
  157. package/dist/types-BvOFo15W.d.ts +8 -0
  158. package/dist/types-DYstZLNq.d.cts +10615 -0
  159. package/dist/types-DYstZLNq.d.ts +10615 -0
  160. package/dist/types-gGaZxCMr.d.cts +10615 -0
  161. package/dist/types-gGaZxCMr.d.ts +10615 -0
  162. package/package.json +45 -52
  163. package/cli/FlattenButtonVariant.mock.tsx +0 -17
  164. package/dist/_virtual/rolldown_runtime.cjs +0 -35
  165. package/dist/_virtual/rolldown_runtime.js +0 -22
  166. package/dist/components/Box.cjs +0 -101
  167. package/dist/components/Box.d.cts +0 -36
  168. package/dist/components/Box.d.cts.map +0 -1
  169. package/dist/components/Box.d.ts +0 -36
  170. package/dist/components/Box.d.ts.map +0 -1
  171. package/dist/components/Box.js +0 -101
  172. package/dist/components/Box.js.map +0 -1
  173. package/dist/components/Divider/Divider.cjs +0 -47
  174. package/dist/components/Divider/Divider.d.cts +0 -39
  175. package/dist/components/Divider/Divider.d.cts.map +0 -1
  176. package/dist/components/Divider/Divider.d.ts +0 -39
  177. package/dist/components/Divider/Divider.d.ts.map +0 -1
  178. package/dist/components/Divider/Divider.js +0 -47
  179. package/dist/components/Divider/Divider.js.map +0 -1
  180. package/dist/components/Divider/DividerCore.cjs +0 -76
  181. package/dist/components/Divider/DividerCore.d.cts +0 -16
  182. package/dist/components/Divider/DividerCore.d.cts.map +0 -1
  183. package/dist/components/Divider/DividerCore.d.ts +0 -16
  184. package/dist/components/Divider/DividerCore.d.ts.map +0 -1
  185. package/dist/components/Divider/DividerCore.js +0 -76
  186. package/dist/components/Divider/DividerCore.js.map +0 -1
  187. package/dist/components/Divider/DividerInternal.cjs +0 -28
  188. package/dist/components/Divider/DividerInternal.d.cts +0 -13
  189. package/dist/components/Divider/DividerInternal.d.cts.map +0 -1
  190. package/dist/components/Divider/DividerInternal.d.ts +0 -13
  191. package/dist/components/Divider/DividerInternal.d.ts.map +0 -1
  192. package/dist/components/Divider/DividerInternal.js +0 -28
  193. package/dist/components/Divider/DividerInternal.js.map +0 -1
  194. package/dist/components/Divider/index.cjs +0 -4
  195. package/dist/components/Divider/index.d.cts +0 -2
  196. package/dist/components/Divider/index.d.ts +0 -2
  197. package/dist/components/Divider/index.js +0 -4
  198. package/dist/components/FormLabel.cjs +0 -33
  199. package/dist/components/FormLabel.d.cts +0 -27
  200. package/dist/components/FormLabel.d.cts.map +0 -1
  201. package/dist/components/FormLabel.d.ts +0 -27
  202. package/dist/components/FormLabel.d.ts.map +0 -1
  203. package/dist/components/FormLabel.js +0 -32
  204. package/dist/components/FormLabel.js.map +0 -1
  205. package/dist/components/HStack.cjs +0 -51
  206. package/dist/components/HStack.d.cts +0 -40
  207. package/dist/components/HStack.d.cts.map +0 -1
  208. package/dist/components/HStack.d.ts +0 -40
  209. package/dist/components/HStack.d.ts.map +0 -1
  210. package/dist/components/HStack.js +0 -51
  211. package/dist/components/HStack.js.map +0 -1
  212. package/dist/components/Icon.cjs +0 -67
  213. package/dist/components/Icon.d.cts +0 -39
  214. package/dist/components/Icon.d.cts.map +0 -1
  215. package/dist/components/Icon.d.ts +0 -39
  216. package/dist/components/Icon.d.ts.map +0 -1
  217. package/dist/components/Icon.js +0 -67
  218. package/dist/components/Icon.js.map +0 -1
  219. package/dist/components/IconSlot.cjs +0 -57
  220. package/dist/components/IconSlot.d.cts +0 -32
  221. package/dist/components/IconSlot.d.cts.map +0 -1
  222. package/dist/components/IconSlot.d.ts +0 -32
  223. package/dist/components/IconSlot.d.ts.map +0 -1
  224. package/dist/components/IconSlot.js +0 -55
  225. package/dist/components/IconSlot.js.map +0 -1
  226. package/dist/components/Image.cjs +0 -96
  227. package/dist/components/Image.d.cts +0 -92
  228. package/dist/components/Image.d.cts.map +0 -1
  229. package/dist/components/Image.d.ts +0 -92
  230. package/dist/components/Image.d.ts.map +0 -1
  231. package/dist/components/Image.js +0 -96
  232. package/dist/components/Image.js.map +0 -1
  233. package/dist/components/Link.cjs +0 -98
  234. package/dist/components/Link.d.cts +0 -46
  235. package/dist/components/Link.d.cts.map +0 -1
  236. package/dist/components/Link.d.ts +0 -46
  237. package/dist/components/Link.d.ts.map +0 -1
  238. package/dist/components/Link.js +0 -98
  239. package/dist/components/Link.js.map +0 -1
  240. package/dist/components/Text.cjs +0 -156
  241. package/dist/components/Text.d.cts +0 -91
  242. package/dist/components/Text.d.cts.map +0 -1
  243. package/dist/components/Text.d.ts +0 -91
  244. package/dist/components/Text.d.ts.map +0 -1
  245. package/dist/components/Text.js +0 -156
  246. package/dist/components/Text.js.map +0 -1
  247. package/dist/components/VStack.cjs +0 -51
  248. package/dist/components/VStack.d.cts +0 -40
  249. package/dist/components/VStack.d.cts.map +0 -1
  250. package/dist/components/VStack.d.ts +0 -40
  251. package/dist/components/VStack.d.ts.map +0 -1
  252. package/dist/components/VStack.js +0 -51
  253. package/dist/components/VStack.js.map +0 -1
  254. package/dist/components/client/AnimateHeightChange.cjs +0 -48
  255. package/dist/components/client/AnimateHeightChange.d.cts +0 -21
  256. package/dist/components/client/AnimateHeightChange.d.cts.map +0 -1
  257. package/dist/components/client/AnimateHeightChange.d.ts +0 -21
  258. package/dist/components/client/AnimateHeightChange.d.ts.map +0 -1
  259. package/dist/components/client/AnimateHeightChange.js +0 -48
  260. package/dist/components/client/AnimateHeightChange.js.map +0 -1
  261. package/dist/components/client/Avatar/Avatar.cjs +0 -33
  262. package/dist/components/client/Avatar/Avatar.d.cts +0 -31
  263. package/dist/components/client/Avatar/Avatar.d.cts.map +0 -1
  264. package/dist/components/client/Avatar/Avatar.d.ts +0 -31
  265. package/dist/components/client/Avatar/Avatar.d.ts.map +0 -1
  266. package/dist/components/client/Avatar/Avatar.js +0 -33
  267. package/dist/components/client/Avatar/Avatar.js.map +0 -1
  268. package/dist/components/client/Avatar/AvatarIcon.cjs +0 -64
  269. package/dist/components/client/Avatar/AvatarIcon.d.cts +0 -37
  270. package/dist/components/client/Avatar/AvatarIcon.d.cts.map +0 -1
  271. package/dist/components/client/Avatar/AvatarIcon.d.ts +0 -37
  272. package/dist/components/client/Avatar/AvatarIcon.d.ts.map +0 -1
  273. package/dist/components/client/Avatar/AvatarIcon.js +0 -64
  274. package/dist/components/client/Avatar/AvatarIcon.js.map +0 -1
  275. package/dist/components/client/Avatar/AvatarImage.cjs +0 -88
  276. package/dist/components/client/Avatar/AvatarImage.d.cts +0 -45
  277. package/dist/components/client/Avatar/AvatarImage.d.cts.map +0 -1
  278. package/dist/components/client/Avatar/AvatarImage.d.ts +0 -45
  279. package/dist/components/client/Avatar/AvatarImage.d.ts.map +0 -1
  280. package/dist/components/client/Avatar/AvatarImage.js +0 -88
  281. package/dist/components/client/Avatar/AvatarImage.js.map +0 -1
  282. package/dist/components/client/Avatar/AvatarText.cjs +0 -50
  283. package/dist/components/client/Avatar/AvatarText.d.cts +0 -40
  284. package/dist/components/client/Avatar/AvatarText.d.cts.map +0 -1
  285. package/dist/components/client/Avatar/AvatarText.d.ts +0 -40
  286. package/dist/components/client/Avatar/AvatarText.d.ts.map +0 -1
  287. package/dist/components/client/Avatar/AvatarText.js +0 -50
  288. package/dist/components/client/Avatar/AvatarText.js.map +0 -1
  289. package/dist/components/client/Avatar/index.cjs +0 -11
  290. package/dist/components/client/Avatar/index.d.cts +0 -5
  291. package/dist/components/client/Avatar/index.d.ts +0 -5
  292. package/dist/components/client/Avatar/index.js +0 -8
  293. package/dist/components/client/Avatar/utils.cjs +0 -66
  294. package/dist/components/client/Avatar/utils.d.cts +0 -44
  295. package/dist/components/client/Avatar/utils.d.cts.map +0 -1
  296. package/dist/components/client/Avatar/utils.d.ts +0 -44
  297. package/dist/components/client/Avatar/utils.d.ts.map +0 -1
  298. package/dist/components/client/Avatar/utils.js +0 -61
  299. package/dist/components/client/Avatar/utils.js.map +0 -1
  300. package/dist/components/client/Badge.cjs +0 -106
  301. package/dist/components/client/Badge.d.cts +0 -35
  302. package/dist/components/client/Badge.d.cts.map +0 -1
  303. package/dist/components/client/Badge.d.ts +0 -35
  304. package/dist/components/client/Badge.d.ts.map +0 -1
  305. package/dist/components/client/Badge.js +0 -105
  306. package/dist/components/client/Badge.js.map +0 -1
  307. package/dist/components/client/Button.cjs +0 -226
  308. package/dist/components/client/Button.d.cts +0 -41
  309. package/dist/components/client/Button.d.cts.map +0 -1
  310. package/dist/components/client/Button.d.ts +0 -41
  311. package/dist/components/client/Button.d.ts.map +0 -1
  312. package/dist/components/client/Button.js +0 -225
  313. package/dist/components/client/Button.js.map +0 -1
  314. package/dist/components/client/Checkbox.cjs +0 -215
  315. package/dist/components/client/Checkbox.d.cts +0 -43
  316. package/dist/components/client/Checkbox.d.cts.map +0 -1
  317. package/dist/components/client/Checkbox.d.ts +0 -43
  318. package/dist/components/client/Checkbox.d.ts.map +0 -1
  319. package/dist/components/client/Checkbox.js +0 -212
  320. package/dist/components/client/Checkbox.js.map +0 -1
  321. package/dist/components/client/Chip/Chip.cjs +0 -67
  322. package/dist/components/client/Chip/Chip.d.cts +0 -37
  323. package/dist/components/client/Chip/Chip.d.cts.map +0 -1
  324. package/dist/components/client/Chip/Chip.d.ts +0 -37
  325. package/dist/components/client/Chip/Chip.d.ts.map +0 -1
  326. package/dist/components/client/Chip/Chip.js +0 -66
  327. package/dist/components/client/Chip/Chip.js.map +0 -1
  328. package/dist/components/client/Chip/ChipBase.cjs +0 -88
  329. package/dist/components/client/Chip/ChipBase.d.cts +0 -23
  330. package/dist/components/client/Chip/ChipBase.d.cts.map +0 -1
  331. package/dist/components/client/Chip/ChipBase.d.ts +0 -23
  332. package/dist/components/client/Chip/ChipBase.d.ts.map +0 -1
  333. package/dist/components/client/Chip/ChipBase.js +0 -86
  334. package/dist/components/client/Chip/ChipBase.js.map +0 -1
  335. package/dist/components/client/Chip/ChipButton.cjs +0 -36
  336. package/dist/components/client/Chip/ChipButton.d.cts +0 -14
  337. package/dist/components/client/Chip/ChipButton.d.cts.map +0 -1
  338. package/dist/components/client/Chip/ChipButton.d.ts +0 -14
  339. package/dist/components/client/Chip/ChipButton.d.ts.map +0 -1
  340. package/dist/components/client/Chip/ChipButton.js +0 -35
  341. package/dist/components/client/Chip/ChipButton.js.map +0 -1
  342. package/dist/components/client/Chip/ChipDismissible.cjs +0 -57
  343. package/dist/components/client/Chip/ChipDismissible.d.cts +0 -14
  344. package/dist/components/client/Chip/ChipDismissible.d.cts.map +0 -1
  345. package/dist/components/client/Chip/ChipDismissible.d.ts +0 -14
  346. package/dist/components/client/Chip/ChipDismissible.d.ts.map +0 -1
  347. package/dist/components/client/Chip/ChipDismissible.js +0 -56
  348. package/dist/components/client/Chip/ChipDismissible.js.map +0 -1
  349. package/dist/components/client/Chip/ChipLink.cjs +0 -38
  350. package/dist/components/client/Chip/ChipLink.d.cts +0 -14
  351. package/dist/components/client/Chip/ChipLink.d.cts.map +0 -1
  352. package/dist/components/client/Chip/ChipLink.d.ts +0 -14
  353. package/dist/components/client/Chip/ChipLink.d.ts.map +0 -1
  354. package/dist/components/client/Chip/ChipLink.js +0 -37
  355. package/dist/components/client/Chip/ChipLink.js.map +0 -1
  356. package/dist/components/client/Chip/ChipToggle.cjs +0 -53
  357. package/dist/components/client/Chip/ChipToggle.d.cts +0 -14
  358. package/dist/components/client/Chip/ChipToggle.d.cts.map +0 -1
  359. package/dist/components/client/Chip/ChipToggle.d.ts +0 -14
  360. package/dist/components/client/Chip/ChipToggle.d.ts.map +0 -1
  361. package/dist/components/client/Chip/ChipToggle.js +0 -52
  362. package/dist/components/client/Chip/ChipToggle.js.map +0 -1
  363. package/dist/components/client/Chip/index.cjs +0 -13
  364. package/dist/components/client/Chip/index.d.cts +0 -6
  365. package/dist/components/client/Chip/index.d.ts +0 -6
  366. package/dist/components/client/Chip/index.js +0 -9
  367. package/dist/components/client/IconButton.cjs +0 -127
  368. package/dist/components/client/IconButton.d.cts +0 -38
  369. package/dist/components/client/IconButton.d.cts.map +0 -1
  370. package/dist/components/client/IconButton.d.ts +0 -38
  371. package/dist/components/client/IconButton.d.ts.map +0 -1
  372. package/dist/components/client/IconButton.js +0 -127
  373. package/dist/components/client/IconButton.js.map +0 -1
  374. package/dist/components/client/Input/Input.cjs +0 -209
  375. package/dist/components/client/Input/Input.d.cts +0 -57
  376. package/dist/components/client/Input/Input.d.cts.map +0 -1
  377. package/dist/components/client/Input/Input.d.ts +0 -57
  378. package/dist/components/client/Input/Input.d.ts.map +0 -1
  379. package/dist/components/client/Input/Input.js +0 -208
  380. package/dist/components/client/Input/Input.js.map +0 -1
  381. package/dist/components/client/Input/InputHelpText.cjs +0 -55
  382. package/dist/components/client/Input/InputHelpText.d.cts +0 -42
  383. package/dist/components/client/Input/InputHelpText.d.cts.map +0 -1
  384. package/dist/components/client/Input/InputHelpText.d.ts +0 -42
  385. package/dist/components/client/Input/InputHelpText.d.ts.map +0 -1
  386. package/dist/components/client/Input/InputHelpText.js +0 -55
  387. package/dist/components/client/Input/InputHelpText.js.map +0 -1
  388. package/dist/components/client/Input/InputHelpTextInternal.cjs +0 -57
  389. package/dist/components/client/Input/InputHelpTextInternal.d.cts +0 -38
  390. package/dist/components/client/Input/InputHelpTextInternal.d.cts.map +0 -1
  391. package/dist/components/client/Input/InputHelpTextInternal.d.ts +0 -38
  392. package/dist/components/client/Input/InputHelpTextInternal.d.ts.map +0 -1
  393. package/dist/components/client/Input/InputHelpTextInternal.js +0 -57
  394. package/dist/components/client/Input/InputHelpTextInternal.js.map +0 -1
  395. package/dist/components/client/Input/index.cjs +0 -7
  396. package/dist/components/client/Input/index.d.cts +0 -3
  397. package/dist/components/client/Input/index.d.ts +0 -3
  398. package/dist/components/client/Input/index.js +0 -6
  399. package/dist/components/client/Menu/Menu.Content.cjs +0 -163
  400. package/dist/components/client/Menu/Menu.Content.d.cts +0 -215
  401. package/dist/components/client/Menu/Menu.Content.d.cts.map +0 -1
  402. package/dist/components/client/Menu/Menu.Content.d.ts +0 -215
  403. package/dist/components/client/Menu/Menu.Content.d.ts.map +0 -1
  404. package/dist/components/client/Menu/Menu.Content.js +0 -163
  405. package/dist/components/client/Menu/Menu.Content.js.map +0 -1
  406. package/dist/components/client/Menu/Menu.Divider.cjs +0 -74
  407. package/dist/components/client/Menu/Menu.Divider.d.cts +0 -54
  408. package/dist/components/client/Menu/Menu.Divider.d.cts.map +0 -1
  409. package/dist/components/client/Menu/Menu.Divider.d.ts +0 -54
  410. package/dist/components/client/Menu/Menu.Divider.d.ts.map +0 -1
  411. package/dist/components/client/Menu/Menu.Divider.js +0 -74
  412. package/dist/components/client/Menu/Menu.Divider.js.map +0 -1
  413. package/dist/components/client/Menu/Menu.Item.cjs +0 -80
  414. package/dist/components/client/Menu/Menu.Item.d.cts +0 -79
  415. package/dist/components/client/Menu/Menu.Item.d.cts.map +0 -1
  416. package/dist/components/client/Menu/Menu.Item.d.ts +0 -79
  417. package/dist/components/client/Menu/Menu.Item.d.ts.map +0 -1
  418. package/dist/components/client/Menu/Menu.Item.js +0 -80
  419. package/dist/components/client/Menu/Menu.Item.js.map +0 -1
  420. package/dist/components/client/Menu/Menu.ItemBase.cjs +0 -163
  421. package/dist/components/client/Menu/Menu.ItemBase.d.cts +0 -32
  422. package/dist/components/client/Menu/Menu.ItemBase.d.cts.map +0 -1
  423. package/dist/components/client/Menu/Menu.ItemBase.d.ts +0 -32
  424. package/dist/components/client/Menu/Menu.ItemBase.d.ts.map +0 -1
  425. package/dist/components/client/Menu/Menu.ItemBase.js +0 -162
  426. package/dist/components/client/Menu/Menu.ItemBase.js.map +0 -1
  427. package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +0 -138
  428. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +0 -93
  429. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts.map +0 -1
  430. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +0 -93
  431. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts.map +0 -1
  432. package/dist/components/client/Menu/Menu.ItemCheckbox.js +0 -138
  433. package/dist/components/client/Menu/Menu.ItemCheckbox.js.map +0 -1
  434. package/dist/components/client/Menu/Menu.Provider.cjs +0 -63
  435. package/dist/components/client/Menu/Menu.Provider.d.cts +0 -138
  436. package/dist/components/client/Menu/Menu.Provider.d.cts.map +0 -1
  437. package/dist/components/client/Menu/Menu.Provider.d.ts +0 -138
  438. package/dist/components/client/Menu/Menu.Provider.d.ts.map +0 -1
  439. package/dist/components/client/Menu/Menu.Provider.js +0 -63
  440. package/dist/components/client/Menu/Menu.Provider.js.map +0 -1
  441. package/dist/components/client/Menu/Menu.Trigger.cjs +0 -75
  442. package/dist/components/client/Menu/Menu.Trigger.d.cts +0 -79
  443. package/dist/components/client/Menu/Menu.Trigger.d.cts.map +0 -1
  444. package/dist/components/client/Menu/Menu.Trigger.d.ts +0 -79
  445. package/dist/components/client/Menu/Menu.Trigger.d.ts.map +0 -1
  446. package/dist/components/client/Menu/Menu.Trigger.js +0 -75
  447. package/dist/components/client/Menu/Menu.Trigger.js.map +0 -1
  448. package/dist/components/client/Menu/Menu.cjs +0 -10
  449. package/dist/components/client/Menu/Menu.d.cts +0 -2
  450. package/dist/components/client/Menu/Menu.d.ts +0 -2
  451. package/dist/components/client/Menu/Menu.index.cjs +0 -56
  452. package/dist/components/client/Menu/Menu.index.d.cts +0 -16
  453. package/dist/components/client/Menu/Menu.index.d.cts.map +0 -1
  454. package/dist/components/client/Menu/Menu.index.d.ts +0 -16
  455. package/dist/components/client/Menu/Menu.index.d.ts.map +0 -1
  456. package/dist/components/client/Menu/Menu.index.js +0 -28
  457. package/dist/components/client/Menu/Menu.index.js.map +0 -1
  458. package/dist/components/client/Menu/Menu.js +0 -5
  459. package/dist/components/client/Menu/index.cjs +0 -10
  460. package/dist/components/client/Menu/index.d.cts +0 -9
  461. package/dist/components/client/Menu/index.d.ts +0 -9
  462. package/dist/components/client/Menu/index.js +0 -5
  463. package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +0 -39
  464. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts +0 -32
  465. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts.map +0 -1
  466. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts +0 -32
  467. package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts.map +0 -1
  468. package/dist/components/client/Menu/utils/transformAriakitPlacement.js +0 -39
  469. package/dist/components/client/Menu/utils/transformAriakitPlacement.js.map +0 -1
  470. package/dist/components/client/Pressable.cjs +0 -112
  471. package/dist/components/client/Pressable.d.cts +0 -46
  472. package/dist/components/client/Pressable.d.cts.map +0 -1
  473. package/dist/components/client/Pressable.d.ts +0 -46
  474. package/dist/components/client/Pressable.d.ts.map +0 -1
  475. package/dist/components/client/Pressable.js +0 -112
  476. package/dist/components/client/Pressable.js.map +0 -1
  477. package/dist/components/client/Radio/Radio.cjs +0 -226
  478. package/dist/components/client/Radio/Radio.d.cts +0 -43
  479. package/dist/components/client/Radio/Radio.d.cts.map +0 -1
  480. package/dist/components/client/Radio/Radio.d.ts +0 -43
  481. package/dist/components/client/Radio/Radio.d.ts.map +0 -1
  482. package/dist/components/client/Radio/Radio.js +0 -223
  483. package/dist/components/client/Radio/Radio.js.map +0 -1
  484. package/dist/components/client/Radio/RadioGroupProvider.cjs +0 -98
  485. package/dist/components/client/Radio/RadioGroupProvider.d.cts +0 -38
  486. package/dist/components/client/Radio/RadioGroupProvider.d.cts.map +0 -1
  487. package/dist/components/client/Radio/RadioGroupProvider.d.ts +0 -38
  488. package/dist/components/client/Radio/RadioGroupProvider.d.ts.map +0 -1
  489. package/dist/components/client/Radio/RadioGroupProvider.js +0 -97
  490. package/dist/components/client/Radio/RadioGroupProvider.js.map +0 -1
  491. package/dist/components/client/Radio/RadioGroupStore.cjs +0 -41
  492. package/dist/components/client/Radio/RadioGroupStore.d.cts +0 -21
  493. package/dist/components/client/Radio/RadioGroupStore.d.cts.map +0 -1
  494. package/dist/components/client/Radio/RadioGroupStore.d.ts +0 -21
  495. package/dist/components/client/Radio/RadioGroupStore.d.ts.map +0 -1
  496. package/dist/components/client/Radio/RadioGroupStore.js +0 -40
  497. package/dist/components/client/Radio/RadioGroupStore.js.map +0 -1
  498. package/dist/components/client/Radio/index.cjs +0 -7
  499. package/dist/components/client/Radio/index.d.cts +0 -3
  500. package/dist/components/client/Radio/index.d.ts +0 -3
  501. package/dist/components/client/Radio/index.js +0 -6
  502. package/dist/components/client/Radio/useRadioGroup.cjs +0 -81
  503. package/dist/components/client/Radio/useRadioGroup.d.cts +0 -31
  504. package/dist/components/client/Radio/useRadioGroup.d.cts.map +0 -1
  505. package/dist/components/client/Radio/useRadioGroup.d.ts +0 -31
  506. package/dist/components/client/Radio/useRadioGroup.d.ts.map +0 -1
  507. package/dist/components/client/Radio/useRadioGroup.js +0 -80
  508. package/dist/components/client/Radio/useRadioGroup.js.map +0 -1
  509. package/dist/components/client/SpringMotionConfig.cjs +0 -99
  510. package/dist/components/client/SpringMotionConfig.d.cts +0 -58
  511. package/dist/components/client/SpringMotionConfig.d.cts.map +0 -1
  512. package/dist/components/client/SpringMotionConfig.d.ts +0 -58
  513. package/dist/components/client/SpringMotionConfig.d.ts.map +0 -1
  514. package/dist/components/client/SpringMotionConfig.js +0 -99
  515. package/dist/components/client/SpringMotionConfig.js.map +0 -1
  516. package/dist/components/client/Switch.cjs +0 -218
  517. package/dist/components/client/Switch.d.cts +0 -42
  518. package/dist/components/client/Switch.d.cts.map +0 -1
  519. package/dist/components/client/Switch.d.ts +0 -42
  520. package/dist/components/client/Switch.d.ts.map +0 -1
  521. package/dist/components/client/Switch.js +0 -217
  522. package/dist/components/client/Switch.js.map +0 -1
  523. package/dist/components/client/index.cjs +0 -50
  524. package/dist/components/client/index.d.cts +0 -33
  525. package/dist/components/client/index.d.ts +0 -33
  526. package/dist/components/client/index.js +0 -25
  527. package/dist/components/client/motionFeatures/domAnimation.cjs +0 -11
  528. package/dist/components/client/motionFeatures/domAnimation.d.cts +0 -2
  529. package/dist/components/client/motionFeatures/domAnimation.d.ts +0 -2
  530. package/dist/components/client/motionFeatures/domAnimation.js +0 -5
  531. package/dist/components/client/motionFeatures/domMax.cjs +0 -11
  532. package/dist/components/client/motionFeatures/domMax.d.cts +0 -2
  533. package/dist/components/client/motionFeatures/domMax.d.ts +0 -2
  534. package/dist/components/client/motionFeatures/domMax.js +0 -5
  535. package/dist/components/experimental/Spinner.cjs +0 -30
  536. package/dist/components/experimental/Spinner.d.cts +0 -21
  537. package/dist/components/experimental/Spinner.d.cts.map +0 -1
  538. package/dist/components/experimental/Spinner.d.ts +0 -21
  539. package/dist/components/experimental/Spinner.d.ts.map +0 -1
  540. package/dist/components/experimental/Spinner.js +0 -30
  541. package/dist/components/experimental/Spinner.js.map +0 -1
  542. package/dist/components/experimental/Table.cjs +0 -110
  543. package/dist/components/experimental/Table.d.cts +0 -85
  544. package/dist/components/experimental/Table.d.cts.map +0 -1
  545. package/dist/components/experimental/Table.d.ts +0 -85
  546. package/dist/components/experimental/Table.d.ts.map +0 -1
  547. package/dist/components/experimental/Table.js +0 -109
  548. package/dist/components/experimental/Table.js.map +0 -1
  549. package/dist/components/experimental/Table.mocks.cjs +0 -58
  550. package/dist/components/experimental/Table.mocks.d.cts +0 -20
  551. package/dist/components/experimental/Table.mocks.d.cts.map +0 -1
  552. package/dist/components/experimental/Table.mocks.d.ts +0 -20
  553. package/dist/components/experimental/Table.mocks.d.ts.map +0 -1
  554. package/dist/components/experimental/Table.mocks.js +0 -56
  555. package/dist/components/experimental/Table.mocks.js.map +0 -1
  556. package/dist/components/experimental/client/Accordion.cjs +0 -79
  557. package/dist/components/experimental/client/Accordion.d.cts +0 -31
  558. package/dist/components/experimental/client/Accordion.d.cts.map +0 -1
  559. package/dist/components/experimental/client/Accordion.d.ts +0 -31
  560. package/dist/components/experimental/client/Accordion.d.ts.map +0 -1
  561. package/dist/components/experimental/client/Accordion.js +0 -79
  562. package/dist/components/experimental/client/Accordion.js.map +0 -1
  563. package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +0 -15
  564. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +0 -8
  565. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts.map +0 -1
  566. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +0 -8
  567. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts.map +0 -1
  568. package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +0 -14
  569. package/dist/components/experimental/client/AvoidMotionLibraryProvider.js.map +0 -1
  570. package/dist/components/experimental/client/Modal.cjs +0 -61
  571. package/dist/components/experimental/client/Modal.d.cts +0 -27
  572. package/dist/components/experimental/client/Modal.d.cts.map +0 -1
  573. package/dist/components/experimental/client/Modal.d.ts +0 -27
  574. package/dist/components/experimental/client/Modal.d.ts.map +0 -1
  575. package/dist/components/experimental/client/Modal.js +0 -58
  576. package/dist/components/experimental/client/Modal.js.map +0 -1
  577. package/dist/components/experimental/client/Popover.cjs +0 -44
  578. package/dist/components/experimental/client/Popover.d.cts +0 -29
  579. package/dist/components/experimental/client/Popover.d.cts.map +0 -1
  580. package/dist/components/experimental/client/Popover.d.ts +0 -29
  581. package/dist/components/experimental/client/Popover.d.ts.map +0 -1
  582. package/dist/components/experimental/client/Popover.js +0 -34
  583. package/dist/components/experimental/client/Popover.js.map +0 -1
  584. package/dist/components/experimental/client/SwitchV2.cjs +0 -183
  585. package/dist/components/experimental/client/SwitchV2.d.cts +0 -43
  586. package/dist/components/experimental/client/SwitchV2.d.cts.map +0 -1
  587. package/dist/components/experimental/client/SwitchV2.d.ts +0 -43
  588. package/dist/components/experimental/client/SwitchV2.d.ts.map +0 -1
  589. package/dist/components/experimental/client/SwitchV2.js +0 -180
  590. package/dist/components/experimental/client/SwitchV2.js.map +0 -1
  591. package/dist/components/experimental/client/Tabs.cjs +0 -75
  592. package/dist/components/experimental/client/Tabs.d.cts +0 -31
  593. package/dist/components/experimental/client/Tabs.d.cts.map +0 -1
  594. package/dist/components/experimental/client/Tabs.d.ts +0 -31
  595. package/dist/components/experimental/client/Tabs.d.ts.map +0 -1
  596. package/dist/components/experimental/client/Tabs.js +0 -72
  597. package/dist/components/experimental/client/Tabs.js.map +0 -1
  598. package/dist/components/experimental/client/Toast.cjs +0 -167
  599. package/dist/components/experimental/client/Toast.d.cts +0 -31
  600. package/dist/components/experimental/client/Toast.d.cts.map +0 -1
  601. package/dist/components/experimental/client/Toast.d.ts +0 -31
  602. package/dist/components/experimental/client/Toast.d.ts.map +0 -1
  603. package/dist/components/experimental/client/Toast.js +0 -164
  604. package/dist/components/experimental/client/Toast.js.map +0 -1
  605. package/dist/components/experimental/client/index.cjs +0 -38
  606. package/dist/components/experimental/client/index.d.cts +0 -8
  607. package/dist/components/experimental/client/index.d.ts +0 -8
  608. package/dist/components/experimental/client/index.js +0 -11
  609. package/dist/components/experimental/index.cjs +0 -39
  610. package/dist/components/experimental/index.d.cts +0 -11
  611. package/dist/components/experimental/index.d.ts +0 -11
  612. package/dist/components/experimental/index.js +0 -12
  613. package/dist/components/index.cjs +0 -67
  614. package/dist/components/index.d.cts +0 -40
  615. package/dist/components/index.d.ts +0 -40
  616. package/dist/components/index.js +0 -33
  617. package/dist/defaultTokensConfig.d.cts.map +0 -1
  618. package/dist/defaultTokensConfig.d.ts.map +0 -1
  619. package/dist/defaultTokensConfig.js.map +0 -1
  620. package/dist/fixtures/macros/typesToConstants.cjs +0 -29
  621. package/dist/fixtures/macros/typesToConstants.d.cts +0 -5
  622. package/dist/fixtures/macros/typesToConstants.d.cts.map +0 -1
  623. package/dist/fixtures/macros/typesToConstants.d.ts +0 -5
  624. package/dist/fixtures/macros/typesToConstants.d.ts.map +0 -1
  625. package/dist/fixtures/macros/typesToConstants.js +0 -28
  626. package/dist/fixtures/macros/typesToConstants.js.map +0 -1
  627. package/dist/fixtures/utils/getScaleModeRamp.cjs +0 -43
  628. package/dist/fixtures/utils/getScaleModeRamp.d.cts +0 -9
  629. package/dist/fixtures/utils/getScaleModeRamp.d.cts.map +0 -1
  630. package/dist/fixtures/utils/getScaleModeRamp.d.ts +0 -9
  631. package/dist/fixtures/utils/getScaleModeRamp.d.ts.map +0 -1
  632. package/dist/fixtures/utils/getScaleModeRamp.js +0 -43
  633. package/dist/fixtures/utils/getScaleModeRamp.js.map +0 -1
  634. package/dist/fixtures/utils/getTailwindAsUdsColors.cjs +0 -69
  635. package/dist/fixtures/utils/getTailwindAsUdsColors.d.cts +0 -9
  636. package/dist/fixtures/utils/getTailwindAsUdsColors.d.cts.map +0 -1
  637. package/dist/fixtures/utils/getTailwindAsUdsColors.d.ts +0 -9
  638. package/dist/fixtures/utils/getTailwindAsUdsColors.d.ts.map +0 -1
  639. package/dist/fixtures/utils/getTailwindAsUdsColors.js +0 -68
  640. package/dist/fixtures/utils/getTailwindAsUdsColors.js.map +0 -1
  641. package/dist/flags.d.cts.map +0 -1
  642. package/dist/flags.d.ts.map +0 -1
  643. package/dist/flags.js.map +0 -1
  644. package/dist/generated/autoVariants.cjs +0 -448
  645. package/dist/generated/autoVariants.d.cts +0 -110
  646. package/dist/generated/autoVariants.d.cts.map +0 -1
  647. package/dist/generated/autoVariants.d.ts +0 -110
  648. package/dist/generated/autoVariants.d.ts.map +0 -1
  649. package/dist/generated/autoVariants.js +0 -448
  650. package/dist/generated/autoVariants.js.map +0 -1
  651. package/dist/generated/generatedConfigs.cjs +0 -25475
  652. package/dist/generated/generatedConfigs.js +0 -25466
  653. package/dist/generated/generatedConfigs.js.map +0 -1
  654. package/dist/generated/tailwindPurge.cjs +0 -2979
  655. package/dist/generated/tailwindPurge.d.cts +0 -19
  656. package/dist/generated/tailwindPurge.d.cts.map +0 -1
  657. package/dist/generated/tailwindPurge.d.ts +0 -19
  658. package/dist/generated/tailwindPurge.d.ts.map +0 -1
  659. package/dist/generated/tailwindPurge.js +0 -2976
  660. package/dist/generated/tailwindPurge.js.map +0 -1
  661. package/dist/generated/universalTokensConfigAuto.cjs +0 -7922
  662. package/dist/generated/universalTokensConfigAuto.d.cts +0 -8906
  663. package/dist/generated/universalTokensConfigAuto.d.cts.map +0 -1
  664. package/dist/generated/universalTokensConfigAuto.d.ts +0 -8906
  665. package/dist/generated/universalTokensConfigAuto.d.ts.map +0 -1
  666. package/dist/generated/universalTokensConfigAuto.js +0 -7922
  667. package/dist/generated/universalTokensConfigAuto.js.map +0 -1
  668. package/dist/hooks/useForkRef.cjs +0 -27
  669. package/dist/hooks/useForkRef.d.cts +0 -7
  670. package/dist/hooks/useForkRef.d.cts.map +0 -1
  671. package/dist/hooks/useForkRef.d.ts +0 -7
  672. package/dist/hooks/useForkRef.d.ts.map +0 -1
  673. package/dist/hooks/useForkRef.js +0 -27
  674. package/dist/hooks/useForkRef.js.map +0 -1
  675. package/dist/hooks/useNestedBorderRadius.cjs +0 -80
  676. package/dist/hooks/useNestedBorderRadius.d.cts +0 -38
  677. package/dist/hooks/useNestedBorderRadius.d.cts.map +0 -1
  678. package/dist/hooks/useNestedBorderRadius.d.ts +0 -38
  679. package/dist/hooks/useNestedBorderRadius.d.ts.map +0 -1
  680. package/dist/hooks/useNestedBorderRadius.js +0 -80
  681. package/dist/hooks/useNestedBorderRadius.js.map +0 -1
  682. package/dist/hooks/useRtl.cjs +0 -48
  683. package/dist/hooks/useRtl.d.cts +0 -21
  684. package/dist/hooks/useRtl.d.cts.map +0 -1
  685. package/dist/hooks/useRtl.d.ts +0 -21
  686. package/dist/hooks/useRtl.d.ts.map +0 -1
  687. package/dist/hooks/useRtl.js +0 -46
  688. package/dist/hooks/useRtl.js.map +0 -1
  689. package/dist/providers/ColorModeProvider.cjs +0 -23
  690. package/dist/providers/ColorModeProvider.d.cts +0 -21
  691. package/dist/providers/ColorModeProvider.d.cts.map +0 -1
  692. package/dist/providers/ColorModeProvider.d.ts +0 -21
  693. package/dist/providers/ColorModeProvider.d.ts.map +0 -1
  694. package/dist/providers/ColorModeProvider.js +0 -21
  695. package/dist/providers/ColorModeProvider.js.map +0 -1
  696. package/dist/providers/ScaleModeProvider.cjs +0 -26
  697. package/dist/providers/ScaleModeProvider.d.cts +0 -21
  698. package/dist/providers/ScaleModeProvider.d.cts.map +0 -1
  699. package/dist/providers/ScaleModeProvider.d.ts +0 -21
  700. package/dist/providers/ScaleModeProvider.d.ts.map +0 -1
  701. package/dist/providers/ScaleModeProvider.js +0 -24
  702. package/dist/providers/ScaleModeProvider.js.map +0 -1
  703. package/dist/providers/ThemeProvider.cjs +0 -21
  704. package/dist/providers/ThemeProvider.d.cts +0 -20
  705. package/dist/providers/ThemeProvider.d.cts.map +0 -1
  706. package/dist/providers/ThemeProvider.d.ts +0 -20
  707. package/dist/providers/ThemeProvider.d.ts.map +0 -1
  708. package/dist/providers/ThemeProvider.js +0 -21
  709. package/dist/providers/ThemeProvider.js.map +0 -1
  710. package/dist/scripts/utils/tsMorph.cjs +0 -140
  711. package/dist/scripts/utils/tsMorph.d.cts +0 -33
  712. package/dist/scripts/utils/tsMorph.d.cts.map +0 -1
  713. package/dist/scripts/utils/tsMorph.d.ts +0 -33
  714. package/dist/scripts/utils/tsMorph.d.ts.map +0 -1
  715. package/dist/scripts/utils/tsMorph.js +0 -130
  716. package/dist/scripts/utils/tsMorph.js.map +0 -1
  717. package/dist/styles/styler.cjs +0 -117
  718. package/dist/styles/styler.d.cts +0 -194
  719. package/dist/styles/styler.d.cts.map +0 -1
  720. package/dist/styles/styler.d.ts +0 -194
  721. package/dist/styles/styler.d.ts.map +0 -1
  722. package/dist/styles/styler.js +0 -113
  723. package/dist/styles/styler.js.map +0 -1
  724. package/dist/styles/stylerTypes.cjs +0 -1
  725. package/dist/styles/stylerTypes.d.cts +0 -43
  726. package/dist/styles/stylerTypes.d.cts.map +0 -1
  727. package/dist/styles/stylerTypes.d.ts +0 -43
  728. package/dist/styles/stylerTypes.d.ts.map +0 -1
  729. package/dist/styles/stylerTypes.js +0 -1
  730. package/dist/styles/variants.cjs +0 -1343
  731. package/dist/styles/variants.d.cts +0 -1834
  732. package/dist/styles/variants.d.cts.map +0 -1
  733. package/dist/styles/variants.d.ts +0 -1834
  734. package/dist/styles/variants.d.ts.map +0 -1
  735. package/dist/styles/variants.js +0 -1344
  736. package/dist/styles/variants.js.map +0 -1
  737. package/dist/tailwind/base/addColorModeVars.cjs +0 -17
  738. package/dist/tailwind/base/addColorModeVars.d.cts +0 -11
  739. package/dist/tailwind/base/addColorModeVars.d.cts.map +0 -1
  740. package/dist/tailwind/base/addColorModeVars.d.ts +0 -11
  741. package/dist/tailwind/base/addColorModeVars.d.ts.map +0 -1
  742. package/dist/tailwind/base/addColorModeVars.js +0 -18
  743. package/dist/tailwind/base/addColorModeVars.js.map +0 -1
  744. package/dist/tailwind/base/addColorModeVarsV2.cjs +0 -40
  745. package/dist/tailwind/base/addColorModeVarsV2.d.cts +0 -11
  746. package/dist/tailwind/base/addColorModeVarsV2.d.cts.map +0 -1
  747. package/dist/tailwind/base/addColorModeVarsV2.d.ts +0 -11
  748. package/dist/tailwind/base/addColorModeVarsV2.d.ts.map +0 -1
  749. package/dist/tailwind/base/addColorModeVarsV2.js +0 -41
  750. package/dist/tailwind/base/addColorModeVarsV2.js.map +0 -1
  751. package/dist/tailwind/base/addFontFaceDeclarations.cjs +0 -11
  752. package/dist/tailwind/base/addFontFaceDeclarations.d.cts +0 -11
  753. package/dist/tailwind/base/addFontFaceDeclarations.d.cts.map +0 -1
  754. package/dist/tailwind/base/addFontFaceDeclarations.d.ts +0 -11
  755. package/dist/tailwind/base/addFontFaceDeclarations.d.ts.map +0 -1
  756. package/dist/tailwind/base/addFontFaceDeclarations.js +0 -12
  757. package/dist/tailwind/base/addFontFaceDeclarations.js.map +0 -1
  758. package/dist/tailwind/base/addFontVars.cjs +0 -10
  759. package/dist/tailwind/base/addFontVars.d.cts +0 -11
  760. package/dist/tailwind/base/addFontVars.d.cts.map +0 -1
  761. package/dist/tailwind/base/addFontVars.d.ts +0 -11
  762. package/dist/tailwind/base/addFontVars.d.ts.map +0 -1
  763. package/dist/tailwind/base/addFontVars.js +0 -11
  764. package/dist/tailwind/base/addFontVars.js.map +0 -1
  765. package/dist/tailwind/base/addMotionVars.cjs +0 -10
  766. package/dist/tailwind/base/addMotionVars.d.cts +0 -11
  767. package/dist/tailwind/base/addMotionVars.d.cts.map +0 -1
  768. package/dist/tailwind/base/addMotionVars.d.ts +0 -11
  769. package/dist/tailwind/base/addMotionVars.d.ts.map +0 -1
  770. package/dist/tailwind/base/addMotionVars.js +0 -11
  771. package/dist/tailwind/base/addMotionVars.js.map +0 -1
  772. package/dist/tailwind/base/addScaleModeVars.cjs +0 -22
  773. package/dist/tailwind/base/addScaleModeVars.d.cts +0 -11
  774. package/dist/tailwind/base/addScaleModeVars.d.cts.map +0 -1
  775. package/dist/tailwind/base/addScaleModeVars.d.ts +0 -11
  776. package/dist/tailwind/base/addScaleModeVars.d.ts.map +0 -1
  777. package/dist/tailwind/base/addScaleModeVars.js +0 -23
  778. package/dist/tailwind/base/addScaleModeVars.js.map +0 -1
  779. package/dist/tailwind/base/types.cjs +0 -1
  780. package/dist/tailwind/base/types.d.cts +0 -12
  781. package/dist/tailwind/base/types.d.cts.map +0 -1
  782. package/dist/tailwind/base/types.d.ts +0 -12
  783. package/dist/tailwind/base/types.d.ts.map +0 -1
  784. package/dist/tailwind/base/types.js +0 -1
  785. package/dist/tailwind/components/getButtonStyles.cjs +0 -166
  786. package/dist/tailwind/components/getButtonStyles.d.cts +0 -10
  787. package/dist/tailwind/components/getButtonStyles.d.cts.map +0 -1
  788. package/dist/tailwind/components/getButtonStyles.d.ts +0 -10
  789. package/dist/tailwind/components/getButtonStyles.d.ts.map +0 -1
  790. package/dist/tailwind/components/getButtonStyles.js +0 -165
  791. package/dist/tailwind/components/getButtonStyles.js.map +0 -1
  792. package/dist/tailwind/components/getFocusRingStyles.cjs +0 -29
  793. package/dist/tailwind/components/getFocusRingStyles.d.cts +0 -15
  794. package/dist/tailwind/components/getFocusRingStyles.d.cts.map +0 -1
  795. package/dist/tailwind/components/getFocusRingStyles.d.ts +0 -15
  796. package/dist/tailwind/components/getFocusRingStyles.d.ts.map +0 -1
  797. package/dist/tailwind/components/getFocusRingStyles.js +0 -30
  798. package/dist/tailwind/components/getFocusRingStyles.js.map +0 -1
  799. package/dist/tailwind/components/getGroupedTextStyles.cjs +0 -18
  800. package/dist/tailwind/components/getGroupedTextStyles.d.cts +0 -14
  801. package/dist/tailwind/components/getGroupedTextStyles.d.cts.map +0 -1
  802. package/dist/tailwind/components/getGroupedTextStyles.d.ts +0 -14
  803. package/dist/tailwind/components/getGroupedTextStyles.d.ts.map +0 -1
  804. package/dist/tailwind/components/getGroupedTextStyles.js +0 -18
  805. package/dist/tailwind/components/getGroupedTextStyles.js.map +0 -1
  806. package/dist/tailwind/components/getHitTargetStyles.cjs +0 -22
  807. package/dist/tailwind/components/getHitTargetStyles.d.cts +0 -8
  808. package/dist/tailwind/components/getHitTargetStyles.d.cts.map +0 -1
  809. package/dist/tailwind/components/getHitTargetStyles.d.ts +0 -8
  810. package/dist/tailwind/components/getHitTargetStyles.d.ts.map +0 -1
  811. package/dist/tailwind/components/getHitTargetStyles.js +0 -21
  812. package/dist/tailwind/components/getHitTargetStyles.js.map +0 -1
  813. package/dist/tailwind/components/getIconButtonStyles.cjs +0 -39
  814. package/dist/tailwind/components/getIconButtonStyles.d.cts +0 -11
  815. package/dist/tailwind/components/getIconButtonStyles.d.cts.map +0 -1
  816. package/dist/tailwind/components/getIconButtonStyles.d.ts +0 -11
  817. package/dist/tailwind/components/getIconButtonStyles.d.ts.map +0 -1
  818. package/dist/tailwind/components/getIconButtonStyles.js +0 -39
  819. package/dist/tailwind/components/getIconButtonStyles.js.map +0 -1
  820. package/dist/tailwind/components/getIconStyles.cjs +0 -15
  821. package/dist/tailwind/components/getIconStyles.d.cts +0 -11
  822. package/dist/tailwind/components/getIconStyles.d.cts.map +0 -1
  823. package/dist/tailwind/components/getIconStyles.d.ts +0 -11
  824. package/dist/tailwind/components/getIconStyles.d.ts.map +0 -1
  825. package/dist/tailwind/components/getIconStyles.js +0 -15
  826. package/dist/tailwind/components/getIconStyles.js.map +0 -1
  827. package/dist/tailwind/components/getInputStyles.cjs +0 -16
  828. package/dist/tailwind/components/getInputStyles.d.cts +0 -11
  829. package/dist/tailwind/components/getInputStyles.d.cts.map +0 -1
  830. package/dist/tailwind/components/getInputStyles.d.ts +0 -11
  831. package/dist/tailwind/components/getInputStyles.d.ts.map +0 -1
  832. package/dist/tailwind/components/getInputStyles.js +0 -16
  833. package/dist/tailwind/components/getInputStyles.js.map +0 -1
  834. package/dist/tailwind/components/getResponsiveTextStyles.cjs +0 -71
  835. package/dist/tailwind/components/getResponsiveTextStyles.d.cts +0 -35
  836. package/dist/tailwind/components/getResponsiveTextStyles.d.cts.map +0 -1
  837. package/dist/tailwind/components/getResponsiveTextStyles.d.ts +0 -35
  838. package/dist/tailwind/components/getResponsiveTextStyles.d.ts.map +0 -1
  839. package/dist/tailwind/components/getResponsiveTextStyles.js +0 -66
  840. package/dist/tailwind/components/getResponsiveTextStyles.js.map +0 -1
  841. package/dist/tailwind/components/types.cjs +0 -1
  842. package/dist/tailwind/components/types.d.cts +0 -10
  843. package/dist/tailwind/components/types.d.cts.map +0 -1
  844. package/dist/tailwind/components/types.d.ts +0 -10
  845. package/dist/tailwind/components/types.d.ts.map +0 -1
  846. package/dist/tailwind/components/types.js +0 -1
  847. package/dist/tailwind/components/utils.cjs +0 -45
  848. package/dist/tailwind/components/utils.d.cts +0 -19
  849. package/dist/tailwind/components/utils.d.cts.map +0 -1
  850. package/dist/tailwind/components/utils.d.ts +0 -19
  851. package/dist/tailwind/components/utils.d.ts.map +0 -1
  852. package/dist/tailwind/components/utils.js +0 -41
  853. package/dist/tailwind/components/utils.js.map +0 -1
  854. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +0 -68
  855. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +0 -20
  856. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts.map +0 -1
  857. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +0 -20
  858. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts.map +0 -1
  859. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +0 -68
  860. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js.map +0 -1
  861. package/dist/tailwind/postcss.config.cjs +0 -9
  862. package/dist/tailwind/postcss.config.d.cts +0 -1
  863. package/dist/tailwind/postcss.config.d.ts +0 -1
  864. package/dist/tailwind/postcss.config.js +0 -15
  865. package/dist/tailwind/postcss.config.js.map +0 -1
  866. package/dist/tailwind/purger/index.cjs +0 -7
  867. package/dist/tailwind/purger/index.d.cts +0 -2
  868. package/dist/tailwind/purger/index.d.ts +0 -2
  869. package/dist/tailwind/purger/index.js +0 -4
  870. package/dist/tailwind/tailwind.config.cjs +0 -31
  871. package/dist/tailwind/tailwind.config.d.cts +0 -19
  872. package/dist/tailwind/tailwind.config.d.cts.map +0 -1
  873. package/dist/tailwind/tailwind.config.d.ts +0 -20
  874. package/dist/tailwind/tailwind.config.d.ts.map +0 -1
  875. package/dist/tailwind/tailwind.config.js +0 -32
  876. package/dist/tailwind/tailwind.config.js.map +0 -1
  877. package/dist/tailwind/tailwind.d.cjs +0 -1
  878. package/dist/tailwind/tailwind.d.cts +0 -7
  879. package/dist/tailwind/tailwind.d.cts.map +0 -1
  880. package/dist/tailwind/tailwind.d.ts +0 -7
  881. package/dist/tailwind/tailwind.d.ts.map +0 -1
  882. package/dist/tailwind/tailwindPlugin.cjs +0 -303
  883. package/dist/tailwind/tailwindPlugin.d.cts +0 -62
  884. package/dist/tailwind/tailwindPlugin.d.cts.map +0 -1
  885. package/dist/tailwind/tailwindPlugin.d.ts +0 -62
  886. package/dist/tailwind/tailwindPlugin.d.ts.map +0 -1
  887. package/dist/tailwind/tailwindPlugin.js +0 -296
  888. package/dist/tailwind/tailwindPlugin.js.map +0 -1
  889. package/dist/tailwind/theme/getFontFamilyTheme.cjs +0 -24
  890. package/dist/tailwind/theme/getFontFamilyTheme.d.cts +0 -7
  891. package/dist/tailwind/theme/getFontFamilyTheme.d.cts.map +0 -1
  892. package/dist/tailwind/theme/getFontFamilyTheme.d.ts +0 -7
  893. package/dist/tailwind/theme/getFontFamilyTheme.d.ts.map +0 -1
  894. package/dist/tailwind/theme/getFontFamilyTheme.js +0 -24
  895. package/dist/tailwind/theme/getFontFamilyTheme.js.map +0 -1
  896. package/dist/tailwind/utils/addFontsPlugin.cjs +0 -15
  897. package/dist/tailwind/utils/addFontsPlugin.d.cts +0 -18
  898. package/dist/tailwind/utils/addFontsPlugin.d.cts.map +0 -1
  899. package/dist/tailwind/utils/addFontsPlugin.d.ts +0 -18
  900. package/dist/tailwind/utils/addFontsPlugin.d.ts.map +0 -1
  901. package/dist/tailwind/utils/addFontsPlugin.js +0 -14
  902. package/dist/tailwind/utils/addFontsPlugin.js.map +0 -1
  903. package/dist/tailwind/utils/getColorModeStyles.cjs +0 -22
  904. package/dist/tailwind/utils/getColorModeStyles.d.cts +0 -18
  905. package/dist/tailwind/utils/getColorModeStyles.d.cts.map +0 -1
  906. package/dist/tailwind/utils/getColorModeStyles.d.ts +0 -18
  907. package/dist/tailwind/utils/getColorModeStyles.d.ts.map +0 -1
  908. package/dist/tailwind/utils/getColorModeStyles.js +0 -22
  909. package/dist/tailwind/utils/getColorModeStyles.js.map +0 -1
  910. package/dist/tailwind/utils/getFontFaceDeclarations.cjs +0 -20
  911. package/dist/tailwind/utils/getFontFaceDeclarations.d.cts +0 -12
  912. package/dist/tailwind/utils/getFontFaceDeclarations.d.cts.map +0 -1
  913. package/dist/tailwind/utils/getFontFaceDeclarations.d.ts +0 -12
  914. package/dist/tailwind/utils/getFontFaceDeclarations.d.ts.map +0 -1
  915. package/dist/tailwind/utils/getFontFaceDeclarations.js +0 -21
  916. package/dist/tailwind/utils/getFontFaceDeclarations.js.map +0 -1
  917. package/dist/tailwind/utils/getFontStyles.cjs +0 -41
  918. package/dist/tailwind/utils/getFontStyles.d.cts +0 -25
  919. package/dist/tailwind/utils/getFontStyles.d.cts.map +0 -1
  920. package/dist/tailwind/utils/getFontStyles.d.ts +0 -25
  921. package/dist/tailwind/utils/getFontStyles.d.ts.map +0 -1
  922. package/dist/tailwind/utils/getFontStyles.js +0 -42
  923. package/dist/tailwind/utils/getFontStyles.js.map +0 -1
  924. package/dist/tailwind/utils/getMotionStyles.cjs +0 -38
  925. package/dist/tailwind/utils/getMotionStyles.d.cts +0 -25
  926. package/dist/tailwind/utils/getMotionStyles.d.cts.map +0 -1
  927. package/dist/tailwind/utils/getMotionStyles.d.ts +0 -25
  928. package/dist/tailwind/utils/getMotionStyles.d.ts.map +0 -1
  929. package/dist/tailwind/utils/getMotionStyles.js +0 -38
  930. package/dist/tailwind/utils/getMotionStyles.js.map +0 -1
  931. package/dist/tailwind/utils/getScaleModeStyles.cjs +0 -25
  932. package/dist/tailwind/utils/getScaleModeStyles.d.cts +0 -29
  933. package/dist/tailwind/utils/getScaleModeStyles.d.cts.map +0 -1
  934. package/dist/tailwind/utils/getScaleModeStyles.d.ts +0 -29
  935. package/dist/tailwind/utils/getScaleModeStyles.d.ts.map +0 -1
  936. package/dist/tailwind/utils/getScaleModeStyles.js +0 -25
  937. package/dist/tailwind/utils/getScaleModeStyles.js.map +0 -1
  938. package/dist/tailwind/utils/getShadowPresetValues.cjs +0 -81
  939. package/dist/tailwind/utils/getShadowPresetValues.d.cts +0 -57
  940. package/dist/tailwind/utils/getShadowPresetValues.d.cts.map +0 -1
  941. package/dist/tailwind/utils/getShadowPresetValues.d.ts +0 -57
  942. package/dist/tailwind/utils/getShadowPresetValues.d.ts.map +0 -1
  943. package/dist/tailwind/utils/getShadowPresetValues.js +0 -80
  944. package/dist/tailwind/utils/getShadowPresetValues.js.map +0 -1
  945. package/dist/tailwind/utils/getShadowStyles.cjs +0 -18
  946. package/dist/tailwind/utils/getShadowStyles.d.cts +0 -17
  947. package/dist/tailwind/utils/getShadowStyles.d.cts.map +0 -1
  948. package/dist/tailwind/utils/getShadowStyles.d.ts +0 -17
  949. package/dist/tailwind/utils/getShadowStyles.d.ts.map +0 -1
  950. package/dist/tailwind/utils/getShadowStyles.js +0 -19
  951. package/dist/tailwind/utils/getShadowStyles.js.map +0 -1
  952. package/dist/tailwind/utils/getShadowVars.cjs +0 -26
  953. package/dist/tailwind/utils/getShadowVars.d.cts +0 -8
  954. package/dist/tailwind/utils/getShadowVars.d.cts.map +0 -1
  955. package/dist/tailwind/utils/getShadowVars.d.ts +0 -8
  956. package/dist/tailwind/utils/getShadowVars.d.ts.map +0 -1
  957. package/dist/tailwind/utils/getShadowVars.js +0 -27
  958. package/dist/tailwind/utils/getShadowVars.js.map +0 -1
  959. package/dist/tailwind/utils/index.cjs +0 -22
  960. package/dist/tailwind/utils/index.d.cts +0 -10
  961. package/dist/tailwind/utils/index.d.ts +0 -10
  962. package/dist/tailwind/utils/index.js +0 -12
  963. package/dist/tokens/automation/configs/avatar.cjs +0 -310
  964. package/dist/tokens/automation/configs/avatar.d.cts +0 -19
  965. package/dist/tokens/automation/configs/avatar.d.cts.map +0 -1
  966. package/dist/tokens/automation/configs/avatar.d.ts +0 -19
  967. package/dist/tokens/automation/configs/avatar.d.ts.map +0 -1
  968. package/dist/tokens/automation/configs/avatar.js +0 -310
  969. package/dist/tokens/automation/configs/avatar.js.map +0 -1
  970. package/dist/tokens/automation/configs/badge.cjs +0 -324
  971. package/dist/tokens/automation/configs/badge.d.cts +0 -15
  972. package/dist/tokens/automation/configs/badge.d.cts.map +0 -1
  973. package/dist/tokens/automation/configs/badge.d.ts +0 -15
  974. package/dist/tokens/automation/configs/badge.d.ts.map +0 -1
  975. package/dist/tokens/automation/configs/badge.js +0 -324
  976. package/dist/tokens/automation/configs/badge.js.map +0 -1
  977. package/dist/tokens/automation/configs/checkbox.cjs +0 -256
  978. package/dist/tokens/automation/configs/checkbox.d.cts +0 -15
  979. package/dist/tokens/automation/configs/checkbox.d.cts.map +0 -1
  980. package/dist/tokens/automation/configs/checkbox.d.ts +0 -15
  981. package/dist/tokens/automation/configs/checkbox.d.ts.map +0 -1
  982. package/dist/tokens/automation/configs/checkbox.js +0 -256
  983. package/dist/tokens/automation/configs/checkbox.js.map +0 -1
  984. package/dist/tokens/automation/configs/chip.cjs +0 -552
  985. package/dist/tokens/automation/configs/chip.d.cts +0 -19
  986. package/dist/tokens/automation/configs/chip.d.cts.map +0 -1
  987. package/dist/tokens/automation/configs/chip.d.ts +0 -19
  988. package/dist/tokens/automation/configs/chip.d.ts.map +0 -1
  989. package/dist/tokens/automation/configs/chip.js +0 -552
  990. package/dist/tokens/automation/configs/chip.js.map +0 -1
  991. package/dist/tokens/automation/configs/divider.cjs +0 -119
  992. package/dist/tokens/automation/configs/divider.d.cts +0 -14
  993. package/dist/tokens/automation/configs/divider.d.cts.map +0 -1
  994. package/dist/tokens/automation/configs/divider.d.ts +0 -14
  995. package/dist/tokens/automation/configs/divider.d.ts.map +0 -1
  996. package/dist/tokens/automation/configs/divider.js +0 -119
  997. package/dist/tokens/automation/configs/divider.js.map +0 -1
  998. package/dist/tokens/automation/configs/index.cjs +0 -22
  999. package/dist/tokens/automation/configs/index.d.cts +0 -11
  1000. package/dist/tokens/automation/configs/index.d.ts +0 -11
  1001. package/dist/tokens/automation/configs/index.js +0 -13
  1002. package/dist/tokens/automation/configs/input.cjs +0 -473
  1003. package/dist/tokens/automation/configs/input.d.cts +0 -15
  1004. package/dist/tokens/automation/configs/input.d.cts.map +0 -1
  1005. package/dist/tokens/automation/configs/input.d.ts +0 -15
  1006. package/dist/tokens/automation/configs/input.d.ts.map +0 -1
  1007. package/dist/tokens/automation/configs/input.js +0 -473
  1008. package/dist/tokens/automation/configs/input.js.map +0 -1
  1009. package/dist/tokens/automation/configs/link.cjs +0 -194
  1010. package/dist/tokens/automation/configs/link.d.cts +0 -15
  1011. package/dist/tokens/automation/configs/link.d.cts.map +0 -1
  1012. package/dist/tokens/automation/configs/link.d.ts +0 -15
  1013. package/dist/tokens/automation/configs/link.d.ts.map +0 -1
  1014. package/dist/tokens/automation/configs/link.js +0 -194
  1015. package/dist/tokens/automation/configs/link.js.map +0 -1
  1016. package/dist/tokens/automation/configs/menu.cjs +0 -309
  1017. package/dist/tokens/automation/configs/menu.d.cts +0 -19
  1018. package/dist/tokens/automation/configs/menu.d.cts.map +0 -1
  1019. package/dist/tokens/automation/configs/menu.d.ts +0 -19
  1020. package/dist/tokens/automation/configs/menu.d.ts.map +0 -1
  1021. package/dist/tokens/automation/configs/menu.js +0 -309
  1022. package/dist/tokens/automation/configs/menu.js.map +0 -1
  1023. package/dist/tokens/automation/configs/radio.cjs +0 -228
  1024. package/dist/tokens/automation/configs/radio.d.cts +0 -15
  1025. package/dist/tokens/automation/configs/radio.d.cts.map +0 -1
  1026. package/dist/tokens/automation/configs/radio.d.ts +0 -15
  1027. package/dist/tokens/automation/configs/radio.d.ts.map +0 -1
  1028. package/dist/tokens/automation/configs/radio.js +0 -228
  1029. package/dist/tokens/automation/configs/radio.js.map +0 -1
  1030. package/dist/tokens/automation/configs/switch.cjs +0 -296
  1031. package/dist/tokens/automation/configs/switch.d.cts +0 -15
  1032. package/dist/tokens/automation/configs/switch.d.cts.map +0 -1
  1033. package/dist/tokens/automation/configs/switch.d.ts +0 -15
  1034. package/dist/tokens/automation/configs/switch.d.ts.map +0 -1
  1035. package/dist/tokens/automation/configs/switch.js +0 -296
  1036. package/dist/tokens/automation/configs/switch.js.map +0 -1
  1037. package/dist/tokens/automation/index.cjs +0 -45
  1038. package/dist/tokens/automation/index.d.cts +0 -27
  1039. package/dist/tokens/automation/index.d.ts +0 -27
  1040. package/dist/tokens/automation/index.js +0 -16
  1041. package/dist/tokens/automation/mapTextVariantFixtureToValue.cjs +0 -8
  1042. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts +0 -5
  1043. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts.map +0 -1
  1044. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts +0 -5
  1045. package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts.map +0 -1
  1046. package/dist/tokens/automation/mapTextVariantFixtureToValue.js +0 -9
  1047. package/dist/tokens/automation/mapTextVariantFixtureToValue.js.map +0 -1
  1048. package/dist/tokens/automation/properties.d.cts.map +0 -1
  1049. package/dist/tokens/automation/properties.d.ts.map +0 -1
  1050. package/dist/tokens/automation/properties.js.map +0 -1
  1051. package/dist/tokens/automation/types/ComponentConfig.cjs +0 -1
  1052. package/dist/tokens/automation/types/ComponentConfig.d.cts +0 -55
  1053. package/dist/tokens/automation/types/ComponentConfig.d.cts.map +0 -1
  1054. package/dist/tokens/automation/types/ComponentConfig.d.ts +0 -55
  1055. package/dist/tokens/automation/types/ComponentConfig.d.ts.map +0 -1
  1056. package/dist/tokens/automation/types/ComponentConfig.js +0 -1
  1057. package/dist/tokens/automation/types/ComponentDB.cjs +0 -1
  1058. package/dist/tokens/automation/types/ComponentDB.d.cts +0 -1
  1059. package/dist/tokens/automation/types/ComponentDB.d.ts +0 -1
  1060. package/dist/tokens/automation/types/ComponentDB.js +0 -1
  1061. package/dist/tokens/automation/types/ComponentStyles.cjs +0 -1
  1062. package/dist/tokens/automation/types/ComponentStyles.d.cts +0 -36
  1063. package/dist/tokens/automation/types/ComponentStyles.d.cts.map +0 -1
  1064. package/dist/tokens/automation/types/ComponentStyles.d.ts +0 -36
  1065. package/dist/tokens/automation/types/ComponentStyles.d.ts.map +0 -1
  1066. package/dist/tokens/automation/types/ComponentStyles.js +0 -1
  1067. package/dist/tokens/automation/types/index.cjs +0 -1
  1068. package/dist/tokens/automation/types/index.d.cts +0 -3
  1069. package/dist/tokens/automation/types/index.d.ts +0 -3
  1070. package/dist/tokens/automation/types/index.js +0 -1
  1071. package/dist/tokens/automation/utils/cartesianProduct.cjs +0 -7
  1072. package/dist/tokens/automation/utils/cartesianProduct.d.cts +0 -8
  1073. package/dist/tokens/automation/utils/cartesianProduct.d.cts.map +0 -1
  1074. package/dist/tokens/automation/utils/cartesianProduct.d.ts +0 -8
  1075. package/dist/tokens/automation/utils/cartesianProduct.d.ts.map +0 -1
  1076. package/dist/tokens/automation/utils/cartesianProduct.js +0 -7
  1077. package/dist/tokens/automation/utils/cartesianProduct.js.map +0 -1
  1078. package/dist/tokens/automation/utils/coalesceConfigVariant.cjs +0 -21
  1079. package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts +0 -17
  1080. package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts.map +0 -1
  1081. package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts +0 -17
  1082. package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts.map +0 -1
  1083. package/dist/tokens/automation/utils/coalesceConfigVariant.js +0 -22
  1084. package/dist/tokens/automation/utils/coalesceConfigVariant.js.map +0 -1
  1085. package/dist/tokens/automation/utils/defaults.cjs +0 -15
  1086. package/dist/tokens/automation/utils/defaults.d.cts +0 -9
  1087. package/dist/tokens/automation/utils/defaults.d.cts.map +0 -1
  1088. package/dist/tokens/automation/utils/defaults.d.ts +0 -9
  1089. package/dist/tokens/automation/utils/defaults.d.ts.map +0 -1
  1090. package/dist/tokens/automation/utils/defaults.js +0 -14
  1091. package/dist/tokens/automation/utils/defaults.js.map +0 -1
  1092. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.cjs +0 -26
  1093. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts +0 -11
  1094. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts.map +0 -1
  1095. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts +0 -11
  1096. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts.map +0 -1
  1097. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js +0 -26
  1098. package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js.map +0 -1
  1099. package/dist/tokens/automation/utils/generateSchemaKey.cjs +0 -14
  1100. package/dist/tokens/automation/utils/generateSchemaKey.d.cts +0 -19
  1101. package/dist/tokens/automation/utils/generateSchemaKey.d.cts.map +0 -1
  1102. package/dist/tokens/automation/utils/generateSchemaKey.d.ts +0 -19
  1103. package/dist/tokens/automation/utils/generateSchemaKey.d.ts.map +0 -1
  1104. package/dist/tokens/automation/utils/generateSchemaKey.js +0 -14
  1105. package/dist/tokens/automation/utils/generateSchemaKey.js.map +0 -1
  1106. package/dist/tokens/automation/utils/getConfigComponentVariant.cjs +0 -17
  1107. package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts +0 -9
  1108. package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts.map +0 -1
  1109. package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts +0 -9
  1110. package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts.map +0 -1
  1111. package/dist/tokens/automation/utils/getConfigComponentVariant.js +0 -18
  1112. package/dist/tokens/automation/utils/getConfigComponentVariant.js.map +0 -1
  1113. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.cjs +0 -26
  1114. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts +0 -10
  1115. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts.map +0 -1
  1116. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts +0 -10
  1117. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts.map +0 -1
  1118. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js +0 -24
  1119. package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js.map +0 -1
  1120. package/dist/tokens/automation/utils/getConfigVariantProperties.cjs +0 -24
  1121. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +0 -20
  1122. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts.map +0 -1
  1123. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +0 -20
  1124. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts.map +0 -1
  1125. package/dist/tokens/automation/utils/getConfigVariantProperties.js +0 -25
  1126. package/dist/tokens/automation/utils/getConfigVariantProperties.js.map +0 -1
  1127. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.cjs +0 -34
  1128. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts +0 -12
  1129. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts.map +0 -1
  1130. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts +0 -12
  1131. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts.map +0 -1
  1132. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js +0 -35
  1133. package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js.map +0 -1
  1134. package/dist/tokens/automation/utils/getConfigVariants.cjs +0 -39
  1135. package/dist/tokens/automation/utils/getConfigVariants.d.cts +0 -20
  1136. package/dist/tokens/automation/utils/getConfigVariants.d.cts.map +0 -1
  1137. package/dist/tokens/automation/utils/getConfigVariants.d.ts +0 -20
  1138. package/dist/tokens/automation/utils/getConfigVariants.d.ts.map +0 -1
  1139. package/dist/tokens/automation/utils/getConfigVariants.js +0 -38
  1140. package/dist/tokens/automation/utils/getConfigVariants.js.map +0 -1
  1141. package/dist/tokens/automation/utils/index.cjs +0 -516
  1142. package/dist/tokens/automation/utils/index.d.cts +0 -146
  1143. package/dist/tokens/automation/utils/index.d.cts.map +0 -1
  1144. package/dist/tokens/automation/utils/index.d.ts +0 -146
  1145. package/dist/tokens/automation/utils/index.d.ts.map +0 -1
  1146. package/dist/tokens/automation/utils/index.js +0 -483
  1147. package/dist/tokens/automation/utils/index.js.map +0 -1
  1148. package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +0 -20
  1149. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts +0 -5
  1150. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts.map +0 -1
  1151. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts +0 -5
  1152. package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts.map +0 -1
  1153. package/dist/tokens/automation/utils/mapColorFixtureToValue.js +0 -21
  1154. package/dist/tokens/automation/utils/mapColorFixtureToValue.js.map +0 -1
  1155. package/dist/tokens/automation/utils/subcomponents.cjs +0 -11
  1156. package/dist/tokens/automation/utils/subcomponents.d.cts +0 -9
  1157. package/dist/tokens/automation/utils/subcomponents.d.cts.map +0 -1
  1158. package/dist/tokens/automation/utils/subcomponents.d.ts +0 -9
  1159. package/dist/tokens/automation/utils/subcomponents.d.ts.map +0 -1
  1160. package/dist/tokens/automation/utils/subcomponents.js +0 -11
  1161. package/dist/tokens/automation/utils/subcomponents.js.map +0 -1
  1162. package/dist/tokens/automation/utils/variableData.cjs +0 -32
  1163. package/dist/tokens/automation/utils/variableData.d.cts +0 -19
  1164. package/dist/tokens/automation/utils/variableData.d.cts.map +0 -1
  1165. package/dist/tokens/automation/utils/variableData.d.ts +0 -19
  1166. package/dist/tokens/automation/utils/variableData.d.ts.map +0 -1
  1167. package/dist/tokens/automation/utils/variableData.js +0 -29
  1168. package/dist/tokens/automation/utils/variableData.js.map +0 -1
  1169. package/dist/tokens/automation/utils/variantConfigGuards.cjs +0 -9
  1170. package/dist/tokens/automation/utils/variantConfigGuards.d.cts +0 -13
  1171. package/dist/tokens/automation/utils/variantConfigGuards.d.cts.map +0 -1
  1172. package/dist/tokens/automation/utils/variantConfigGuards.d.ts +0 -13
  1173. package/dist/tokens/automation/utils/variantConfigGuards.d.ts.map +0 -1
  1174. package/dist/tokens/automation/utils/variantConfigGuards.js +0 -8
  1175. package/dist/tokens/automation/utils/variantConfigGuards.js.map +0 -1
  1176. package/dist/tokens/configs/borderRadius.cjs +0 -25
  1177. package/dist/tokens/configs/borderRadius.d.cts +0 -8
  1178. package/dist/tokens/configs/borderRadius.d.cts.map +0 -1
  1179. package/dist/tokens/configs/borderRadius.d.ts +0 -8
  1180. package/dist/tokens/configs/borderRadius.d.ts.map +0 -1
  1181. package/dist/tokens/configs/borderRadius.js +0 -24
  1182. package/dist/tokens/configs/borderRadius.js.map +0 -1
  1183. package/dist/tokens/configs/borderWidth.cjs +0 -19
  1184. package/dist/tokens/configs/borderWidth.d.cts +0 -8
  1185. package/dist/tokens/configs/borderWidth.d.cts.map +0 -1
  1186. package/dist/tokens/configs/borderWidth.d.ts +0 -8
  1187. package/dist/tokens/configs/borderWidth.d.ts.map +0 -1
  1188. package/dist/tokens/configs/borderWidth.js +0 -18
  1189. package/dist/tokens/configs/borderWidth.js.map +0 -1
  1190. package/dist/tokens/configs/button.cjs +0 -948
  1191. package/dist/tokens/configs/button.d.cts +0 -8
  1192. package/dist/tokens/configs/button.d.cts.map +0 -1
  1193. package/dist/tokens/configs/button.d.ts +0 -8
  1194. package/dist/tokens/configs/button.d.ts.map +0 -1
  1195. package/dist/tokens/configs/button.js +0 -947
  1196. package/dist/tokens/configs/button.js.map +0 -1
  1197. package/dist/tokens/configs/colorMode.cjs +0 -18
  1198. package/dist/tokens/configs/colorMode.d.cts +0 -7
  1199. package/dist/tokens/configs/colorMode.d.cts.map +0 -1
  1200. package/dist/tokens/configs/colorMode.d.ts +0 -7
  1201. package/dist/tokens/configs/colorMode.d.ts.map +0 -1
  1202. package/dist/tokens/configs/colorMode.js +0 -19
  1203. package/dist/tokens/configs/colorMode.js.map +0 -1
  1204. package/dist/tokens/configs/font.cjs +0 -13
  1205. package/dist/tokens/configs/font.d.cts +0 -7
  1206. package/dist/tokens/configs/font.d.cts.map +0 -1
  1207. package/dist/tokens/configs/font.d.ts +0 -7
  1208. package/dist/tokens/configs/font.d.ts.map +0 -1
  1209. package/dist/tokens/configs/font.js +0 -13
  1210. package/dist/tokens/configs/font.js.map +0 -1
  1211. package/dist/tokens/configs/iconButton.cjs +0 -32
  1212. package/dist/tokens/configs/iconButton.d.cts +0 -7
  1213. package/dist/tokens/configs/iconButton.d.cts.map +0 -1
  1214. package/dist/tokens/configs/iconButton.d.ts +0 -7
  1215. package/dist/tokens/configs/iconButton.d.ts.map +0 -1
  1216. package/dist/tokens/configs/iconButton.js +0 -33
  1217. package/dist/tokens/configs/iconButton.js.map +0 -1
  1218. package/dist/tokens/configs/motion.cjs +0 -137
  1219. package/dist/tokens/configs/motion.d.cts +0 -43
  1220. package/dist/tokens/configs/motion.d.cts.map +0 -1
  1221. package/dist/tokens/configs/motion.d.ts +0 -43
  1222. package/dist/tokens/configs/motion.d.ts.map +0 -1
  1223. package/dist/tokens/configs/motion.js +0 -133
  1224. package/dist/tokens/configs/motion.js.map +0 -1
  1225. package/dist/tokens/configs/palette.cjs +0 -402
  1226. package/dist/tokens/configs/palette.d.cts +0 -14
  1227. package/dist/tokens/configs/palette.d.cts.map +0 -1
  1228. package/dist/tokens/configs/palette.d.ts +0 -14
  1229. package/dist/tokens/configs/palette.d.ts.map +0 -1
  1230. package/dist/tokens/configs/palette.js +0 -400
  1231. package/dist/tokens/configs/palette.js.map +0 -1
  1232. package/dist/tokens/configs/scaleMode.cjs +0 -30
  1233. package/dist/tokens/configs/scaleMode.d.cts +0 -7
  1234. package/dist/tokens/configs/scaleMode.d.cts.map +0 -1
  1235. package/dist/tokens/configs/scaleMode.d.ts +0 -7
  1236. package/dist/tokens/configs/scaleMode.d.ts.map +0 -1
  1237. package/dist/tokens/configs/scaleMode.js +0 -31
  1238. package/dist/tokens/configs/scaleMode.js.map +0 -1
  1239. package/dist/tokens/configs/shadow.cjs +0 -332
  1240. package/dist/tokens/configs/shadow.d.cts +0 -7
  1241. package/dist/tokens/configs/shadow.d.cts.map +0 -1
  1242. package/dist/tokens/configs/shadow.d.ts +0 -7
  1243. package/dist/tokens/configs/shadow.d.ts.map +0 -1
  1244. package/dist/tokens/configs/shadow.js +0 -332
  1245. package/dist/tokens/configs/shadow.js.map +0 -1
  1246. package/dist/tokens/configs/sizes.cjs +0 -26
  1247. package/dist/tokens/configs/sizes.d.cts +0 -11
  1248. package/dist/tokens/configs/sizes.d.cts.map +0 -1
  1249. package/dist/tokens/configs/sizes.d.ts +0 -11
  1250. package/dist/tokens/configs/sizes.d.ts.map +0 -1
  1251. package/dist/tokens/configs/sizes.js +0 -22
  1252. package/dist/tokens/configs/sizes.js.map +0 -1
  1253. package/dist/tokens/configs/spectrum.cjs +0 -731
  1254. package/dist/tokens/configs/spectrum.d.cts +0 -8
  1255. package/dist/tokens/configs/spectrum.d.cts.map +0 -1
  1256. package/dist/tokens/configs/spectrum.d.ts +0 -8
  1257. package/dist/tokens/configs/spectrum.d.ts.map +0 -1
  1258. package/dist/tokens/configs/spectrum.js +0 -730
  1259. package/dist/tokens/configs/spectrum.js.map +0 -1
  1260. package/dist/tokens/configs/typography.cjs +0 -411
  1261. package/dist/tokens/configs/typography.d.cts +0 -365
  1262. package/dist/tokens/configs/typography.d.cts.map +0 -1
  1263. package/dist/tokens/configs/typography.d.ts +0 -365
  1264. package/dist/tokens/configs/typography.d.ts.map +0 -1
  1265. package/dist/tokens/configs/typography.js +0 -399
  1266. package/dist/tokens/configs/typography.js.map +0 -1
  1267. package/dist/tokens/configs/yosConfig.cjs +0 -19103
  1268. package/dist/tokens/configs/yosConfig.d.cts +0 -19811
  1269. package/dist/tokens/configs/yosConfig.d.cts.map +0 -1
  1270. package/dist/tokens/configs/yosConfig.d.ts +0 -19811
  1271. package/dist/tokens/configs/yosConfig.d.ts.map +0 -1
  1272. package/dist/tokens/configs/yosConfig.js +0 -19103
  1273. package/dist/tokens/configs/yosConfig.js.map +0 -1
  1274. package/dist/tokens/consts/buttonMotionTokens.cjs +0 -82
  1275. package/dist/tokens/consts/buttonMotionTokens.d.cts +0 -85
  1276. package/dist/tokens/consts/buttonMotionTokens.d.cts.map +0 -1
  1277. package/dist/tokens/consts/buttonMotionTokens.d.ts +0 -85
  1278. package/dist/tokens/consts/buttonMotionTokens.d.ts.map +0 -1
  1279. package/dist/tokens/consts/buttonMotionTokens.js +0 -78
  1280. package/dist/tokens/consts/buttonMotionTokens.js.map +0 -1
  1281. package/dist/tokens/consts/cssTokens.cjs +0 -110
  1282. package/dist/tokens/consts/cssTokens.d.cts +0 -73
  1283. package/dist/tokens/consts/cssTokens.d.cts.map +0 -1
  1284. package/dist/tokens/consts/cssTokens.d.ts +0 -73
  1285. package/dist/tokens/consts/cssTokens.d.ts.map +0 -1
  1286. package/dist/tokens/consts/cssTokens.js +0 -79
  1287. package/dist/tokens/consts/cssTokens.js.map +0 -1
  1288. package/dist/tokens/consts/defaultModes.cjs +0 -17
  1289. package/dist/tokens/consts/defaultModes.d.cts +0 -12
  1290. package/dist/tokens/consts/defaultModes.d.cts.map +0 -1
  1291. package/dist/tokens/consts/defaultModes.d.ts +0 -12
  1292. package/dist/tokens/consts/defaultModes.d.ts.map +0 -1
  1293. package/dist/tokens/consts/defaultModes.js +0 -12
  1294. package/dist/tokens/consts/defaultModes.js.map +0 -1
  1295. package/dist/tokens/consts/fontDeclarationsMap.cjs +0 -652
  1296. package/dist/tokens/consts/fontDeclarationsMap.d.cts +0 -538
  1297. package/dist/tokens/consts/fontDeclarationsMap.d.cts.map +0 -1
  1298. package/dist/tokens/consts/fontDeclarationsMap.d.ts +0 -538
  1299. package/dist/tokens/consts/fontDeclarationsMap.d.ts.map +0 -1
  1300. package/dist/tokens/consts/fontDeclarationsMap.js +0 -652
  1301. package/dist/tokens/consts/fontDeclarationsMap.js.map +0 -1
  1302. package/dist/tokens/parseButtonVariants.cjs +0 -37
  1303. package/dist/tokens/parseButtonVariants.d.cts +0 -24
  1304. package/dist/tokens/parseButtonVariants.d.cts.map +0 -1
  1305. package/dist/tokens/parseButtonVariants.d.ts +0 -24
  1306. package/dist/tokens/parseButtonVariants.d.ts.map +0 -1
  1307. package/dist/tokens/parseButtonVariants.js +0 -36
  1308. package/dist/tokens/parseButtonVariants.js.map +0 -1
  1309. package/dist/tokens/parseTokens.d.cts.map +0 -1
  1310. package/dist/tokens/parseTokens.d.ts.map +0 -1
  1311. package/dist/tokens/parseTokens.js.map +0 -1
  1312. package/dist/tokens/types.cjs +0 -1
  1313. package/dist/tokens/types.d.cts +0 -1076
  1314. package/dist/tokens/types.d.cts.map +0 -1
  1315. package/dist/tokens/types.d.ts +0 -1076
  1316. package/dist/tokens/types.d.ts.map +0 -1
  1317. package/dist/tokens/types.js +0 -1
  1318. package/dist/tokens/utils/entries.cjs +0 -17
  1319. package/dist/tokens/utils/entries.d.cts +0 -13
  1320. package/dist/tokens/utils/entries.d.cts.map +0 -1
  1321. package/dist/tokens/utils/entries.d.ts +0 -13
  1322. package/dist/tokens/utils/entries.d.ts.map +0 -1
  1323. package/dist/tokens/utils/entries.js +0 -17
  1324. package/dist/tokens/utils/entries.js.map +0 -1
  1325. package/dist/tokens/utils/fromEntries.cjs +0 -17
  1326. package/dist/tokens/utils/fromEntries.d.cts +0 -13
  1327. package/dist/tokens/utils/fromEntries.d.cts.map +0 -1
  1328. package/dist/tokens/utils/fromEntries.d.ts +0 -13
  1329. package/dist/tokens/utils/fromEntries.d.ts.map +0 -1
  1330. package/dist/tokens/utils/fromEntries.js +0 -17
  1331. package/dist/tokens/utils/fromEntries.js.map +0 -1
  1332. package/dist/tokens/utils/mapValues.cjs +0 -12
  1333. package/dist/tokens/utils/mapValues.d.cts +0 -6
  1334. package/dist/tokens/utils/mapValues.d.cts.map +0 -1
  1335. package/dist/tokens/utils/mapValues.d.ts +0 -6
  1336. package/dist/tokens/utils/mapValues.d.ts.map +0 -1
  1337. package/dist/tokens/utils/mapValues.js +0 -12
  1338. package/dist/tokens/utils/mapValues.js.map +0 -1
  1339. package/dist/types.cjs +0 -1
  1340. package/dist/types.d.cts +0 -7
  1341. package/dist/types.d.cts.map +0 -1
  1342. package/dist/types.d.ts +0 -7
  1343. package/dist/types.d.ts.map +0 -1
  1344. package/dist/types.js +0 -1
  1345. package/dist/utils/assertUnreachable.cjs +0 -9
  1346. package/dist/utils/assertUnreachable.d.cts +0 -5
  1347. package/dist/utils/assertUnreachable.d.cts.map +0 -1
  1348. package/dist/utils/assertUnreachable.d.ts +0 -5
  1349. package/dist/utils/assertUnreachable.d.ts.map +0 -1
  1350. package/dist/utils/assertUnreachable.js +0 -9
  1351. package/dist/utils/assertUnreachable.js.map +0 -1
  1352. package/dist/utils/composeRefs.cjs +0 -21
  1353. package/dist/utils/composeRefs.d.cts +0 -10
  1354. package/dist/utils/composeRefs.d.cts.map +0 -1
  1355. package/dist/utils/composeRefs.d.ts +0 -10
  1356. package/dist/utils/composeRefs.d.ts.map +0 -1
  1357. package/dist/utils/composeRefs.js +0 -21
  1358. package/dist/utils/composeRefs.js.map +0 -1
  1359. package/dist/utils/createSlot.cjs +0 -78
  1360. package/dist/utils/createSlot.d.cts +0 -7
  1361. package/dist/utils/createSlot.d.cts.map +0 -1
  1362. package/dist/utils/createSlot.d.ts +0 -7
  1363. package/dist/utils/createSlot.d.ts.map +0 -1
  1364. package/dist/utils/createSlot.js +0 -78
  1365. package/dist/utils/createSlot.js.map +0 -1
  1366. package/dist/utils/entries.cjs +0 -9
  1367. package/dist/utils/entries.d.cts +0 -5
  1368. package/dist/utils/entries.d.cts.map +0 -1
  1369. package/dist/utils/entries.d.ts +0 -5
  1370. package/dist/utils/entries.d.ts.map +0 -1
  1371. package/dist/utils/entries.js +0 -9
  1372. package/dist/utils/entries.js.map +0 -1
  1373. package/dist/utils/falsyToString.cjs +0 -9
  1374. package/dist/utils/falsyToString.d.cts +0 -5
  1375. package/dist/utils/falsyToString.d.cts.map +0 -1
  1376. package/dist/utils/falsyToString.d.ts +0 -5
  1377. package/dist/utils/falsyToString.d.ts.map +0 -1
  1378. package/dist/utils/falsyToString.js +0 -9
  1379. package/dist/utils/falsyToString.js.map +0 -1
  1380. package/dist/utils/getMotionVar.cjs +0 -15
  1381. package/dist/utils/getMotionVar.d.cts +0 -17
  1382. package/dist/utils/getMotionVar.d.cts.map +0 -1
  1383. package/dist/utils/getMotionVar.d.ts +0 -17
  1384. package/dist/utils/getMotionVar.d.ts.map +0 -1
  1385. package/dist/utils/getMotionVar.js +0 -16
  1386. package/dist/utils/getMotionVar.js.map +0 -1
  1387. package/dist/utils/intersperse.cjs +0 -48
  1388. package/dist/utils/intersperse.d.cts +0 -34
  1389. package/dist/utils/intersperse.d.cts.map +0 -1
  1390. package/dist/utils/intersperse.d.ts +0 -34
  1391. package/dist/utils/intersperse.d.ts.map +0 -1
  1392. package/dist/utils/intersperse.js +0 -46
  1393. package/dist/utils/intersperse.js.map +0 -1
  1394. package/dist/utils/mapValues.cjs +0 -12
  1395. package/dist/utils/mapValues.d.cts +0 -6
  1396. package/dist/utils/mapValues.d.cts.map +0 -1
  1397. package/dist/utils/mapValues.d.ts +0 -6
  1398. package/dist/utils/mapValues.d.ts.map +0 -1
  1399. package/dist/utils/mapValues.js +0 -12
  1400. package/dist/utils/mapValues.js.map +0 -1
  1401. package/dist/utils/mergeSlotProps.cjs +0 -29
  1402. package/dist/utils/mergeSlotProps.d.cts +0 -6
  1403. package/dist/utils/mergeSlotProps.d.cts.map +0 -1
  1404. package/dist/utils/mergeSlotProps.d.ts +0 -6
  1405. package/dist/utils/mergeSlotProps.d.ts.map +0 -1
  1406. package/dist/utils/mergeSlotProps.js +0 -29
  1407. package/dist/utils/mergeSlotProps.js.map +0 -1
  1408. package/src/components/Box.tsx +0 -181
  1409. package/src/components/Divider/Divider.tsx +0 -44
  1410. package/src/components/Divider/DividerCore.tsx +0 -101
  1411. package/src/components/Divider/DividerInternal.tsx +0 -56
  1412. package/src/components/Divider/index.ts +0 -1
  1413. package/src/components/FormLabel.tsx +0 -66
  1414. package/src/components/HStack.tsx +0 -53
  1415. package/src/components/Icon.tsx +0 -82
  1416. package/src/components/IconSlot.tsx +0 -82
  1417. package/src/components/Image.tsx +0 -162
  1418. package/src/components/Link.tsx +0 -134
  1419. package/src/components/Text.tsx +0 -272
  1420. package/src/components/VStack.tsx +0 -53
  1421. package/src/components/client/AnimateHeightChange.tsx +0 -50
  1422. package/src/components/client/Avatar/Avatar.tsx +0 -31
  1423. package/src/components/client/Avatar/AvatarIcon.tsx +0 -103
  1424. package/src/components/client/Avatar/AvatarImage.tsx +0 -147
  1425. package/src/components/client/Avatar/AvatarText.tsx +0 -88
  1426. package/src/components/client/Avatar/index.ts +0 -4
  1427. package/src/components/client/Avatar/utils.ts +0 -105
  1428. package/src/components/client/Badge.tsx +0 -133
  1429. package/src/components/client/Button.tsx +0 -312
  1430. package/src/components/client/Checkbox.tsx +0 -377
  1431. package/src/components/client/Chip/Chip.tsx +0 -81
  1432. package/src/components/client/Chip/ChipBase.tsx +0 -151
  1433. package/src/components/client/Chip/ChipButton.tsx +0 -54
  1434. package/src/components/client/Chip/ChipDismissible.tsx +0 -90
  1435. package/src/components/client/Chip/ChipLink.tsx +0 -60
  1436. package/src/components/client/Chip/ChipToggle.tsx +0 -79
  1437. package/src/components/client/Chip/index.ts +0 -5
  1438. package/src/components/client/IconButton.tsx +0 -198
  1439. package/src/components/client/Input/Input.tsx +0 -323
  1440. package/src/components/client/Input/InputHelpText.tsx +0 -52
  1441. package/src/components/client/Input/InputHelpTextInternal.tsx +0 -81
  1442. package/src/components/client/Input/index.ts +0 -2
  1443. package/src/components/client/Menu/Menu.Content.tsx +0 -391
  1444. package/src/components/client/Menu/Menu.Divider.tsx +0 -102
  1445. package/src/components/client/Menu/Menu.Item.tsx +0 -114
  1446. package/src/components/client/Menu/Menu.ItemBase.tsx +0 -265
  1447. package/src/components/client/Menu/Menu.ItemCheckbox.tsx +0 -197
  1448. package/src/components/client/Menu/Menu.Provider.tsx +0 -154
  1449. package/src/components/client/Menu/Menu.Trigger.tsx +0 -119
  1450. package/src/components/client/Menu/Menu.index.tsx +0 -9
  1451. package/src/components/client/Menu/Menu.tsx +0 -2
  1452. package/src/components/client/Menu/index.ts +0 -7
  1453. package/src/components/client/Menu/utils/transformAriakitPlacement.ts +0 -66
  1454. package/src/components/client/Pressable.tsx +0 -194
  1455. package/src/components/client/Radio/Radio.tsx +0 -351
  1456. package/src/components/client/Radio/RadioGroupProvider.tsx +0 -122
  1457. package/src/components/client/Radio/RadioGroupStore.tsx +0 -56
  1458. package/src/components/client/Radio/index.ts +0 -2
  1459. package/src/components/client/Radio/useRadioGroup.ts +0 -149
  1460. package/src/components/client/SpringMotionConfig.tsx +0 -151
  1461. package/src/components/client/Switch.tsx +0 -377
  1462. package/src/components/client/index.ts +0 -30
  1463. package/src/components/client/motionFeatures/domAnimation.ts +0 -2
  1464. package/src/components/client/motionFeatures/domMax.ts +0 -2
  1465. package/src/components/experimental/Spinner.tsx +0 -30
  1466. package/src/components/experimental/Table.mocks.tsx +0 -38
  1467. package/src/components/experimental/Table.tsx +0 -239
  1468. package/src/components/experimental/client/Accordion.tsx +0 -77
  1469. package/src/components/experimental/client/AvoidMotionLibraryProvider.tsx +0 -10
  1470. package/src/components/experimental/client/Modal.tsx +0 -68
  1471. package/src/components/experimental/client/Popover.tsx +0 -63
  1472. package/src/components/experimental/client/SwitchV2.tsx +0 -343
  1473. package/src/components/experimental/client/Tabs.tsx +0 -106
  1474. package/src/components/experimental/client/Toast.tsx +0 -186
  1475. package/src/components/experimental/client/index.ts +0 -15
  1476. package/src/components/experimental/index.ts +0 -48
  1477. package/src/components/index.ts +0 -41
  1478. package/src/defaultTokensConfig.ts +0 -31
  1479. package/src/fixtures/index.ts +0 -638
  1480. package/src/fixtures/macros/typesToConstants.ts +0 -42
  1481. package/src/fixtures/utils/getScaleModeRamp.ts +0 -48
  1482. package/src/fixtures/utils/getTailwindAsUdsColors.ts +0 -115
  1483. package/src/flags.ts +0 -45
  1484. package/src/hooks/useForkRef.ts +0 -34
  1485. package/src/hooks/useNestedBorderRadius.ts +0 -138
  1486. package/src/hooks/useRtl.ts +0 -64
  1487. package/src/index.ts +0 -4
  1488. package/src/providers/ColorModeProvider.tsx +0 -21
  1489. package/src/providers/ScaleModeProvider.tsx +0 -29
  1490. package/src/providers/ThemeProvider.tsx +0 -26
  1491. package/src/styles/styler.ts +0 -194
  1492. package/src/styles/stylerTypes.ts +0 -81
  1493. package/src/styles/toast.css +0 -0
  1494. package/src/styles/variants.ts +0 -1351
  1495. package/src/tailwind/base/addColorModeVars.ts +0 -23
  1496. package/src/tailwind/base/addColorModeVarsV2.ts +0 -57
  1497. package/src/tailwind/base/addFontFaceDeclarations.ts +0 -13
  1498. package/src/tailwind/base/addFontVars.ts +0 -9
  1499. package/src/tailwind/base/addMotionVars.ts +0 -9
  1500. package/src/tailwind/base/addScaleModeVars.ts +0 -33
  1501. package/src/tailwind/base/types.ts +0 -8
  1502. package/src/tailwind/components/getButtonStyles.ts +0 -240
  1503. package/src/tailwind/components/getFocusRingStyles.ts +0 -32
  1504. package/src/tailwind/components/getGroupedTextStyles.ts +0 -29
  1505. package/src/tailwind/components/getHitTargetStyles.ts +0 -23
  1506. package/src/tailwind/components/getIconButtonStyles.ts +0 -49
  1507. package/src/tailwind/components/getIconStyles.ts +0 -13
  1508. package/src/tailwind/components/getInputStyles.ts +0 -20
  1509. package/src/tailwind/components/getResponsiveTextStyles.ts +0 -161
  1510. package/src/tailwind/components/types.ts +0 -14
  1511. package/src/tailwind/components/utils.ts +0 -73
  1512. package/src/tailwind/defaultTailwindThemeAsUdsConfig.ts +0 -78
  1513. package/src/tailwind/postcss.config.ts +0 -6
  1514. package/src/tailwind/purger/index.ts +0 -1
  1515. package/src/tailwind/tailwind.config.ts +0 -50
  1516. package/src/tailwind/tailwind.d.ts +0 -5
  1517. package/src/tailwind/tailwindPlugin.ts +0 -724
  1518. package/src/tailwind/theme/getFontFamilyTheme.ts +0 -28
  1519. package/src/tailwind/tsMorph.ts +0 -1
  1520. package/src/tailwind/uds.css +0 -3
  1521. package/src/tailwind/utils/addFontsPlugin.ts +0 -17
  1522. package/src/tailwind/utils/getColorModeStyles.ts +0 -21
  1523. package/src/tailwind/utils/getFontFaceDeclarations.ts +0 -12
  1524. package/src/tailwind/utils/getFontStyles.ts +0 -38
  1525. package/src/tailwind/utils/getMotionStyles.ts +0 -35
  1526. package/src/tailwind/utils/getScaleModeStyles.ts +0 -23
  1527. package/src/tailwind/utils/getShadowPresetValues.ts +0 -133
  1528. package/src/tailwind/utils/getShadowStyles.ts +0 -26
  1529. package/src/tailwind/utils/getShadowVars.ts +0 -40
  1530. package/src/tailwind/utils/index.ts +0 -9
  1531. package/src/tokens/automation/configs/avatar.ts +0 -297
  1532. package/src/tokens/automation/configs/badge.ts +0 -306
  1533. package/src/tokens/automation/configs/checkbox.ts +0 -226
  1534. package/src/tokens/automation/configs/chip.ts +0 -521
  1535. package/src/tokens/automation/configs/divider.ts +0 -112
  1536. package/src/tokens/automation/configs/index.ts +0 -10
  1537. package/src/tokens/automation/configs/input.ts +0 -496
  1538. package/src/tokens/automation/configs/link.ts +0 -183
  1539. package/src/tokens/automation/configs/menu.ts +0 -344
  1540. package/src/tokens/automation/configs/radio.ts +0 -225
  1541. package/src/tokens/automation/configs/switch.ts +0 -323
  1542. package/src/tokens/automation/index.ts +0 -5
  1543. package/src/tokens/automation/mapTextVariantFixtureToValue.ts +0 -8
  1544. package/src/tokens/automation/properties.ts +0 -433
  1545. package/src/tokens/automation/types/ComponentConfig.ts +0 -116
  1546. package/src/tokens/automation/types/ComponentDB.ts +0 -1
  1547. package/src/tokens/automation/types/ComponentStyles.ts +0 -47
  1548. package/src/tokens/automation/types/index.ts +0 -2
  1549. package/src/tokens/automation/utils/cartesianProduct.ts +0 -13
  1550. package/src/tokens/automation/utils/coalesceConfigVariant.ts +0 -49
  1551. package/src/tokens/automation/utils/defaults.ts +0 -29
  1552. package/src/tokens/automation/utils/generateKeyFromFlatConfigPath.ts +0 -15
  1553. package/src/tokens/automation/utils/generateSchemaKey.ts +0 -29
  1554. package/src/tokens/automation/utils/getConfigComponentVariant.ts +0 -28
  1555. package/src/tokens/automation/utils/getConfigVariantComponentStatesMatrix.ts +0 -40
  1556. package/src/tokens/automation/utils/getConfigVariantProperties.ts +0 -32
  1557. package/src/tokens/automation/utils/getConfigVariantPseudoStates.ts +0 -70
  1558. package/src/tokens/automation/utils/getConfigVariants.ts +0 -73
  1559. package/src/tokens/automation/utils/index.ts +0 -939
  1560. package/src/tokens/automation/utils/mapColorFixtureToValue.ts +0 -34
  1561. package/src/tokens/automation/utils/subcomponents.ts +0 -13
  1562. package/src/tokens/automation/utils/variableData.ts +0 -79
  1563. package/src/tokens/automation/utils/variantConfigGuards.ts +0 -17
  1564. package/src/tokens/configs/borderRadius.ts +0 -23
  1565. package/src/tokens/configs/borderWidth.ts +0 -17
  1566. package/src/tokens/configs/button.ts +0 -888
  1567. package/src/tokens/configs/colorMode.ts +0 -14
  1568. package/src/tokens/configs/font.ts +0 -9
  1569. package/src/tokens/configs/iconButton.ts +0 -28
  1570. package/src/tokens/configs/motion.ts +0 -135
  1571. package/src/tokens/configs/palette.ts +0 -124
  1572. package/src/tokens/configs/scaleMode.ts +0 -28
  1573. package/src/tokens/configs/shadow.ts +0 -286
  1574. package/src/tokens/configs/sizes.ts +0 -23
  1575. package/src/tokens/configs/spectrum.ts +0 -729
  1576. package/src/tokens/configs/typography.ts +0 -417
  1577. package/src/tokens/configs/yosConfig.ts +0 -7651
  1578. package/src/tokens/consts/buttonMotionTokens.ts +0 -99
  1579. package/src/tokens/consts/cssTokens.ts +0 -110
  1580. package/src/tokens/consts/defaultModes.ts +0 -15
  1581. package/src/tokens/consts/fontDeclarationsMap.ts +0 -509
  1582. package/src/tokens/index.ts +0 -15
  1583. package/src/tokens/parseButtonVariants.ts +0 -59
  1584. package/src/tokens/parseTokens.ts +0 -122
  1585. package/src/tokens/types.ts +0 -1882
  1586. package/src/tokens/utils/entries.ts +0 -14
  1587. package/src/tokens/utils/fromEntries.ts +0 -11
  1588. package/src/tokens/utils/mapValues.ts +0 -15
  1589. package/src/types.ts +0 -2
  1590. package/src/utils/assertUnreachable.ts +0 -6
  1591. package/src/utils/composeRefs.ts +0 -23
  1592. package/src/utils/createSlot.tsx +0 -131
  1593. package/src/utils/entries.ts +0 -6
  1594. package/src/utils/falsyToString.ts +0 -3
  1595. package/src/utils/getMotionVar.ts +0 -18
  1596. package/src/utils/intersperse.ts +0 -45
  1597. package/src/utils/mapValues.ts +0 -15
  1598. package/src/utils/mergeSlotProps.ts +0 -70
@@ -1,1882 +0,0 @@
1
- import type { IconSize, IconVariant, SvgIcon } from '@yahoo/uds-icons/types';
2
- import type { Spring } from 'motion/react';
3
- import type {
4
- CSSProperties,
5
- ElementType,
6
- HTMLAttributes,
7
- PropsWithChildren,
8
- ReactElement,
9
- ReactNode,
10
- Ref,
11
- } from 'react';
12
- import type { IntRange } from 'type-fest';
13
-
14
- import type { UniversalTokensConfigAuto } from '../../generated/universalTokensConfigAuto';
15
- import type { alwaysPalette } from './configs/palette';
16
- import type {
17
- BUTTON_CSS_VAR_MAP,
18
- ICON_BUTTON_CSS_VAR_MAP,
19
- MOTION_PREFIX,
20
- UDS_PREFIX,
21
- } from './consts/cssTokens';
22
- import type { FONT_DECLARATIONS_MAP } from './consts/fontDeclarationsMap';
23
-
24
- /* -------------------------------------------------------------------------- */
25
- /* UTILS */
26
- /* -------------------------------------------------------------------------- */
27
- type ClassNameWithoutDot<T extends string> = T extends `.${infer U}` ? U : never;
28
- type ExtractUrlFromFontFaceRule<T extends string> = T extends `url('${infer U}') format('woff2')`
29
- ? U
30
- : never;
31
- type UnjoinClassNames<T extends string> = T extends `${infer U}.${infer V}` ? U | V : T;
32
- /** Ensure an array has a max length of N */
33
- type MaxLengthArray<T, N extends number, A extends T[] = []> = A['length'] extends N
34
- ? A
35
- : T[] extends A
36
- ? T[]
37
- : A | MaxLengthArray<T, N, [...A, T]>;
38
-
39
- /* -------------------------------------------------------------------------- */
40
- /* COLOR */
41
- /* -------------------------------------------------------------------------- */
42
-
43
- type PaletteType = keyof PaletteConfig;
44
- type PaletteValue = { hue: Hue; step: HueStep; opacity?: OpacityStep };
45
- type Palette = { [key in PaletteType]: keyof PaletteConfig[key] };
46
-
47
- type Hue =
48
- | 'gray'
49
- | 'purple'
50
- | 'indigo'
51
- | 'blue'
52
- | 'cyan'
53
- | 'teal'
54
- | 'mint'
55
- | 'green'
56
- | 'lime'
57
- | 'citron'
58
- | 'yellow'
59
- | 'brown'
60
- | 'nude'
61
- | 'orange'
62
- | 'sunset'
63
- | 'red'
64
- | 'rose'
65
- | 'pink'
66
- | 'magenta'
67
- | 'carbon';
68
-
69
- type HueStep =
70
- | '0'
71
- | '1'
72
- | '2'
73
- | '3'
74
- | '4'
75
- | '5'
76
- | '6'
77
- | '7'
78
- | '8'
79
- | '9'
80
- | '10'
81
- | '11'
82
- | '12'
83
- | '13'
84
- | '14'
85
- | '15';
86
-
87
- type SpectrumColor = `${Hue}-${HueStep}`;
88
-
89
- type SharedPrimaryPaletteAlias = 'brand' | 'alert' | 'positive' | 'warning' | 'info';
90
- type SharedSecondaryPaletteAlias = `${SharedPrimaryPaletteAlias}-secondary`;
91
- type SharedPaletteAlias = SharedPrimaryPaletteAlias | SharedSecondaryPaletteAlias;
92
- type DeprecatedAccentAlias = 'accent';
93
-
94
- type OpacityStep = `${Percentage}`;
95
-
96
- /* ------------------------------- BACKGROUND ------------------------------- */
97
- type BackgroundPaletteAlias = 'primary' | 'secondary' | DeprecatedAccentAlias | SharedPaletteAlias;
98
- type BackgroundPalette = Record<BackgroundPaletteAlias, PaletteValue>;
99
-
100
- /* ------------------------------- FOREGROUND ------------------------------- */
101
- type ForegroundPaletteAlias =
102
- | 'primary'
103
- | 'secondary'
104
- | 'tertiary'
105
- | 'muted'
106
- | 'on-color'
107
- | DeprecatedAccentAlias
108
- | SharedPaletteAlias;
109
- type ForegroundPalette = Record<ForegroundPaletteAlias, PaletteValue>;
110
-
111
- /* ---------------------------------- LINE ---------------------------------- */
112
- type LinePaletteAlias =
113
- | 'primary'
114
- | 'secondary'
115
- | 'tertiary'
116
- | 'muted'
117
- | DeprecatedAccentAlias
118
- | SharedPaletteAlias;
119
- type LinePalette = Record<LinePaletteAlias, PaletteValue>;
120
-
121
- /* --------------------------------- SHADOW --------------------------------- */
122
- type ShadowPaletteAlias = 'primary' | 'secondary';
123
- type ShadowPalette = Record<ShadowPaletteAlias, PaletteValue>;
124
-
125
- /* --------------------------------- ALWAYS --------------------------------- */
126
- type AlwaysPalette = typeof alwaysPalette;
127
- type AlwaysPaletteAlias = keyof AlwaysPalette;
128
-
129
- /* -------------------------- COLOR PROPERTY VALUES ------------------------- */
130
- type ForegroundColor = ForegroundPaletteAlias | AlwaysPaletteAlias;
131
- type LineColor = LinePaletteAlias | AlwaysPaletteAlias;
132
- type BackgroundColor = BackgroundPaletteAlias | AlwaysPaletteAlias;
133
- type ShadowColor = ShadowPaletteAlias | SpectrumColor | AlwaysPaletteAlias;
134
-
135
- type PropertyToPaletteAliasMap = {
136
- backgroundColor: BackgroundColor;
137
- borderColor: LineColor;
138
- color: ForegroundColor;
139
- };
140
-
141
- /* -------------------------------------------------------------------------- */
142
- /* SHADOW TYPES */
143
- /* -------------------------------------------------------------------------- */
144
- type ShadowSpectrumColor = { type: 'spectrum'; value: SpectrumColor };
145
- type ShadowPaletteColor = { type: 'palette'; value: ShadowColor };
146
- type ShadowAlwaysColor = { type: 'always'; value: AlwaysPaletteAlias };
147
- type ShadowColorConfig = ShadowPaletteColor | ShadowSpectrumColor | ShadowAlwaysColor;
148
-
149
- type ShadowOffset = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;
150
- type ShadowOpacity = `${IntRange<0, 101>}`;
151
- type ShadowSpreadRadius = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;
152
-
153
- type ShadowPreset = {
154
- offsetX: ShadowOffset;
155
- offsetY: ShadowOffset;
156
- blur: SpacingAlias;
157
- spread: ShadowSpreadRadius;
158
- color: ShadowColorConfig;
159
- opacity: ShadowOpacity;
160
- };
161
-
162
- type ShadowVariant = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
163
- type ShadowVariantInvert = `${Exclude<ShadowVariant, 'none'>}-invert`;
164
- type ShadowVariantWithInvert = ShadowVariant | ShadowVariantInvert;
165
- type ShadowVariantConfig = MaxLengthArray<ShadowPreset, 3>;
166
- type ShadowType = 'drop' | 'inset';
167
- type ShadowTypeConfig = Record<ShadowVariant, ShadowVariantConfig>;
168
-
169
- type ShadowConfig = {
170
- drop: Record<ShadowVariant, ShadowVariantConfig>;
171
- inset: Record<ShadowVariant | ShadowVariantInvert, ShadowVariantConfig>;
172
- };
173
-
174
- /* -------------------------------------------------------------------------- */
175
- /* UNITS */
176
- /* -------------------------------------------------------------------------- */
177
-
178
- type Percentage = IntRange<0, 101>;
179
-
180
- type PixelsUnit = { value: number; type: 'px' };
181
- type RemsUnit = { value: number; type: 'rem' };
182
- type UnitlessUnit = { value: number; type: 'unitless' };
183
- type PercentageUnit = { value: Percentage; type: 'percentage' };
184
-
185
- /* -------------------------------------------------------------------------- */
186
- /* BREAKPOINTS */
187
- /* -------------------------------------------------------------------------- */
188
-
189
- type BreakpointValue = PixelsUnit;
190
-
191
- type BreakpointsConfig = {
192
- sm: BreakpointValue;
193
- md: BreakpointValue;
194
- lg: BreakpointValue;
195
- xl: BreakpointValue;
196
- '2xl': BreakpointValue;
197
- };
198
-
199
- type Breakpoint = keyof BreakpointsConfig;
200
- type BreakpointWithBase = Breakpoint | 'base';
201
-
202
- /* -------------------------------------------------------------------------- */
203
- /* TYPOGRAPHY */
204
- /* -------------------------------------------------------------------------- */
205
- type TextVariantTypography =
206
- | 'display1'
207
- | 'display2'
208
- | 'display3'
209
- | 'title1'
210
- | 'title2'
211
- | 'title3'
212
- | 'title4'
213
- | 'headline1'
214
- | 'body1'
215
- | 'label1'
216
- | 'label2'
217
- | 'label3'
218
- | 'label4'
219
- | 'caption1'
220
- | 'caption2'
221
- | 'legal1';
222
-
223
- type TextVariantUi = 'ui1' | 'ui2' | 'ui3' | 'ui4' | 'ui5' | 'ui6';
224
- type TextVariantWithoutEmphasized = TextVariantTypography | TextVariantUi;
225
- type TextVariant = TextVariantWithoutEmphasized | `${TextVariantWithoutEmphasized}/emphasized`;
226
-
227
- type FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';
228
- type FontType = 'sans' | 'serif' | 'mono';
229
- type FontID = keyof typeof FONT_DECLARATIONS_MAP;
230
- type FontDeclaration = (typeof FONT_DECLARATIONS_MAP)[FontID]['declarations'][number];
231
- type FontFamilyCDNUrl = ExtractUrlFromFontFaceRule<FontDeclaration['src']>;
232
- type FontConfig = Record<FontAlias, FontID>;
233
- type FontCssVar = `--${typeof UDS_PREFIX}-font-${FontAlias}`;
234
-
235
- type FontWeightNumeric = `${IntRange<100, 901, 100>}`;
236
- type FontWeightDescriptive =
237
- | 'thin'
238
- | 'extralight'
239
- | 'light'
240
- | 'regular'
241
- | 'medium'
242
- | 'semibold'
243
- | 'bold'
244
- | 'extrabold'
245
- | 'black';
246
-
247
- type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
248
- type TextDecorationLine = 'none' | 'underline';
249
- type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
250
- type LineClampAlias = `${IntRange<1, 7>}`;
251
- type LineHeight = number;
252
- type FontSize = number;
253
-
254
- type TextTransformConfig = Record<TextVariantWithoutEmphasized, TextTransform>;
255
- type FontSizeConfig = Record<TextVariantWithoutEmphasized, FontSize>;
256
- type FontFamilyConfig = Record<TextVariantWithoutEmphasized, FontAlias>;
257
- type FontWeightConfig = Record<TextVariantWithoutEmphasized, number>;
258
- type FontSlantConfig = Record<TextVariantWithoutEmphasized, number>;
259
- type FontWidthConfig = Record<TextVariantWithoutEmphasized, number>;
260
- type LineHeightConfig = Record<TextVariantWithoutEmphasized, LineHeight>;
261
- type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
262
-
263
- /**
264
- * Defines a structured CSS value, separating the raw value from its unit type.
265
- * 'unitless' is for unitless values like line-height or font-weight.
266
- */
267
- type TypographyUnitValue = PixelsUnit | UnitlessUnit;
268
-
269
- /**
270
- * Defines the structure for a single, responsive CSS property.
271
- * The value can now be a simple string (for properties like fontFamily)
272
- * or a structured CssValue object (for properties like fontSize).
273
- */
274
- type TypographyResponsiveProperty<T> = {
275
- /**
276
- * The base value for the property, applying from 0px up to the 'sm' breakpoint.
277
- */
278
- base: T;
279
- /**
280
- * Responsive overrides for each breakpoint. If this key is present, it must
281
- * contain a value for every defined breakpoint.
282
- */
283
- breakpoints: Record<Breakpoint, T>;
284
- };
285
-
286
- type TypographyStyleProperty =
287
- | 'fontFamily'
288
- | 'fontSize'
289
- | 'fontWeight'
290
- | 'lineHeight'
291
- | 'textTransform'
292
- | 'fontSlant'
293
- | 'fontWidth';
294
-
295
- type TypographyStyle = {
296
- fontFamily: TypographyResponsiveProperty<FontAlias>;
297
- textTransform: TypographyResponsiveProperty<TextTransform>;
298
- fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
299
- fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
300
- lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
301
- fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
302
- fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
303
- };
304
-
305
- type TypographyConfig = Record<TextVariant, TypographyStyle>;
306
-
307
- type GlobalDefaultsConfig = {
308
- breakpoint: Breakpoint | 'base';
309
- enableResponsiveType: boolean;
310
- };
311
-
312
- /* -------------------------------------------------------------------------- */
313
- /* SIZING */
314
- /* -------------------------------------------------------------------------- */
315
- // TODO - ensure we have a consistent naming convention for these types, and carry the same
316
- // convention across the entire design system (primary | secondary, fill | outline, etc)
317
- type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
318
- type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
319
-
320
- type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
321
- type AvatarSizeConfig = Record<AvatarSize, number>;
322
- type AvatarShape = BorderRadius;
323
-
324
- type IconSizeConfig = Record<IconSize, number>;
325
-
326
- /* -------------------------------------------------------------------------- */
327
- /* LAYOUT */
328
- /* -------------------------------------------------------------------------- */
329
-
330
- type SpacingAlias =
331
- | '0'
332
- | 'px'
333
- | '0.5'
334
- | '1'
335
- | '1.5'
336
- | '2'
337
- | '2.5'
338
- | '3'
339
- | '3.5'
340
- | '4'
341
- | '4.5'
342
- | '5'
343
- | '5.5'
344
- | '6'
345
- | '7'
346
- | '8'
347
- | '9'
348
- | '10'
349
- | '11'
350
- | '12'
351
- | '14'
352
- | '16'
353
- | '20'
354
- | '24'
355
- | '28'
356
- | '32'
357
- | '36'
358
- | '40'
359
- | '44'
360
- | '48'
361
- | '52'
362
- | '56'
363
- | '60'
364
- | '64'
365
- | '72'
366
- | '80'
367
- | '96';
368
-
369
- type SpacingConfig = Record<SpacingAlias, number>;
370
-
371
- /* -------------------------------------------------------------------------- */
372
- /* OTHER TOKENS */
373
- /* -------------------------------------------------------------------------- */
374
-
375
- type BorderRadius = TShirtSize;
376
- type BorderRadiusConfig = Record<BorderRadius, number>;
377
-
378
- type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
379
- type BorderWidthConfig = Record<BorderWidth, number>;
380
-
381
- /* -------------------------------------------------------------------------- */
382
- /* MODE CONFIGS */
383
- /* -------------------------------------------------------------------------- */
384
- type ColorModeConfig = Record<ColorMode, ColorsConfig>;
385
-
386
- type ColorsConfig = {
387
- palette: PaletteConfig;
388
- spectrum: SpectrumConfig;
389
- };
390
-
391
- type SpectrumValue = Record<HueStep, string>;
392
- type SpectrumConfig = Record<Hue, SpectrumValue>;
393
-
394
- type PaletteConfig = {
395
- background: BackgroundPalette;
396
- foreground: ForegroundPalette;
397
- line: LinePalette;
398
- shadow: ShadowPalette;
399
- };
400
-
401
- type ScaleConfig = {
402
- avatarSizes: AvatarSizeConfig;
403
- iconSizes: IconSizeConfig;
404
- borderRadius: BorderRadiusConfig;
405
- borderWidth: BorderWidthConfig;
406
- };
407
-
408
- type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
409
-
410
- /* -------------------------------------------------------------------------- */
411
- /* BUTTON CONFIG */
412
- /* -------------------------------------------------------------------------- */
413
-
414
- type ButtonSize = TShirtSizeCommon;
415
- type ButtonPalette = 'brand' | 'accent' | 'alert' | 'positive' | 'warning' | 'info';
416
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
417
- type ButtonState = 'hover' | 'pressed';
418
- type ButtonKind = 'fill' | 'outline' | 'ghost';
419
- type ButtonMotionProperty = 'scale';
420
- type ButtonMotionEffect = 'up' | 'down' | 'none';
421
- type ButtonColorEffect = 'none' | 'custom';
422
- type ButtonColorProperty = 'backgroundColor' | 'borderColor' | 'color';
423
- type ButtonSizeProperty = keyof ButtonSizeConfig;
424
-
425
- // TODO: Temporary solution for collapsing palette and variant
426
- type ButtonVariantFlat =
427
- // primary, secondary, tertiary (formerly "accent" palette)
428
- | ButtonVariant
429
- // brand, alert, positive, warning
430
- | `${Exclude<ButtonPalette, 'accent'>}`
431
- // brand-secondary, brand-tertiary, etc..
432
- | `${Exclude<ButtonPalette, 'accent'>}-${Exclude<ButtonVariant, 'primary'>}`;
433
-
434
- type ButtonColorEffectConfig = {
435
- options: ButtonColorEffect[];
436
- value: ButtonColorEffect;
437
- };
438
-
439
- type ButtonMotionEffectConfig = {
440
- options: ButtonMotionEffect[];
441
- value: ButtonMotionEffect;
442
- };
443
-
444
- type ButtonSpectrumColor = {
445
- type: 'spectrum';
446
- value: SpectrumColor;
447
- };
448
- type ButtonPaletteColor<T> = {
449
- type: 'palette';
450
- value: T;
451
- };
452
- type AlwaysPaletteColor<T> = {
453
- type: 'always';
454
- value: T;
455
- };
456
-
457
- type ButtonColorConfig<Property extends ButtonColorProperty> =
458
- | ButtonPaletteColor<PropertyToPaletteAliasMap[Property]>
459
- | ButtonSpectrumColor;
460
-
461
- type ButtonColorPropertyConfig = {
462
- [key in ButtonColorProperty]: ButtonColorConfig<key>;
463
- };
464
-
465
- type ButtonMotionPropertyConfig = {
466
- [key in ButtonMotionProperty]: ButtonMotionEffect;
467
- };
468
-
469
- type ConfigurableShadowField<T> = {
470
- value: T | 'custom';
471
- config: ShadowVariantConfig | null;
472
- };
473
-
474
- type ConfigurableDropShadowValues = ConfigurableShadowField<ShadowVariant>['value'];
475
- type ConfigurableInsetShadowValues = ConfigurableShadowField<ShadowVariantWithInvert>['value'];
476
-
477
- type ButtonShadowPropertyConfig = {
478
- dropShadow: ConfigurableShadowField<ShadowVariant>;
479
- insetShadow: ConfigurableShadowField<ShadowVariantWithInvert>;
480
- };
481
-
482
- type ButtonBaseConfig = {
483
- borderWidth: BorderWidth;
484
- borderRadius: BorderRadius;
485
- } & ButtonColorPropertyConfig &
486
- ButtonMotionPropertyConfig &
487
- ButtonShadowPropertyConfig;
488
-
489
- type ButtonSizeConfig = {
490
- spacingHorizontal: SpacingAlias;
491
- spacingVertical: SpacingAlias;
492
- gap: SpacingAlias;
493
- iconSize: IconSize;
494
- textVariant: TextVariant;
495
- };
496
-
497
- type ButtonVariantConfig = {
498
- kind: ButtonKind;
499
- base: ButtonBaseConfig;
500
- effect: ButtonStateEffectConfig;
501
- state: ButtonStateConfig;
502
- };
503
-
504
- type ButtonPaletteConfig = {
505
- [variant in ButtonVariant]: ButtonVariantConfig;
506
- };
507
-
508
- type ButtonStateConfig = {
509
- [state in ButtonState]: ButtonColorPropertyConfig &
510
- ButtonMotionPropertyConfig &
511
- ButtonShadowPropertyConfig;
512
- };
513
-
514
- type ButtonColorEffectConfigMap = {
515
- [property in ButtonColorProperty]: ButtonColorEffectConfig;
516
- };
517
-
518
- type ButtonMotionEffectConfigMap = {
519
- [property in ButtonMotionProperty]: ButtonMotionEffectConfig;
520
- };
521
-
522
- type ButtonStateEffectConfig = {
523
- [state in ButtonState]: ButtonColorEffectConfigMap & ButtonMotionEffectConfigMap;
524
- };
525
-
526
- type ButtonDefaultsConfig = {
527
- palette: ButtonPalette;
528
- variant: ButtonVariant;
529
- size: ButtonSize;
530
- };
531
-
532
- interface ButtonConfig {
533
- defaults: ButtonDefaultsConfig;
534
- size: {
535
- [size in ButtonSize]: ButtonSizeConfig;
536
- };
537
- palette: {
538
- [palette in ButtonPalette]: ButtonPaletteConfig;
539
- };
540
- }
541
-
542
- type ButtonCssVarMap = typeof BUTTON_CSS_VAR_MAP;
543
- type ButtonCssVar = ButtonCssVarMap[keyof ButtonCssVarMap];
544
- type ButtonStateCssProperty = keyof Omit<ButtonBaseConfig, 'scale'>;
545
- type ButtonSizeCssProperty = keyof Pick<
546
- ButtonCssVarMap,
547
- 'padding' | 'columnGap' | 'fontWeight' | 'fontSize' | 'lineHeight' | 'textTransform' | 'iconSize'
548
- >;
549
-
550
- type ButtonStateCssVar = Pick<ButtonCssVarMap, ButtonStateCssProperty>[ButtonStateCssProperty];
551
- type ButtonSizeCssVar = Pick<ButtonCssVarMap, ButtonSizeCssProperty>[ButtonSizeCssProperty];
552
- type ButtonStateVarsMap = Record<ButtonStateCssVar, string>;
553
- type ButtonSizeVarsMap = Record<ButtonSizeCssVar, string>;
554
-
555
- type ButtonPseudoStyles<ClassName extends string> = {
556
- [key in `.${ButtonState}`]: Record<ClassName, ButtonStateVarsMap>;
557
- };
558
-
559
- type ButtonStateVarsWithPseudoStyles<T extends string> = Record<T, ButtonStateVarsMap> &
560
- ButtonPseudoStyles<T>;
561
-
562
- /* -------------------------------------------------------------------------- */
563
- /* BUTTON CSS */
564
- /* -------------------------------------------------------------------------- */
565
-
566
- type ButtonClassMap = {
567
- '.uds-button': {
568
- /** Hardcoded in tailwind plugin */
569
- display: CSSProperties['display'];
570
- alignItems: CSSProperties['alignItems'];
571
- whiteSpace: CSSProperties['whiteSpace'];
572
- /** Driven by css variables */
573
- borderRadius: string;
574
- color: string;
575
- backgroundColor: string;
576
- boxShadow: string;
577
- padding: string;
578
- columnGap: string;
579
- fontFamily: string;
580
- fontWeight: string;
581
- fontSize: string;
582
- lineHeight: string;
583
- textTransform: string;
584
- };
585
- } & ButtonStateVarsWithPseudoStyles<
586
- | `.uds-button-${ButtonPalette}`
587
- | `.uds-button-${ButtonVariant}`
588
- | `.uds-button-${ButtonPalette}.uds-button-${ButtonVariant}`
589
- > &
590
- Record<`.uds-button-${ButtonSize}`, ButtonSizeVarsMap> &
591
- ButtonPseudoStyles<'.uds-button'>;
592
-
593
- type ButtonClassName = UnjoinClassNames<
594
- ClassNameWithoutDot<Exclude<keyof ButtonClassMap, `.${ButtonState}`>>
595
- >;
596
-
597
- /* -------------------------------------------------------------------------- */
598
- /* ICON BUTTON */
599
- /* -------------------------------------------------------------------------- */
600
- type IconButtonSize = Extract<TShirtSize, 'xs' | TShirtSizeCommon | 'xl'>;
601
-
602
- interface IconButtonSizeConfig {
603
- spacing: SpacingAlias;
604
- iconSize: IconSize;
605
- }
606
-
607
- interface IconButtonDefaultsConfig extends Omit<ButtonDefaultsConfig, 'size'> {
608
- size: IconButtonSize; // New size property specific to IconButtonDefaultsConfig
609
- }
610
-
611
- interface IconButtonConfig {
612
- defaults: IconButtonDefaultsConfig;
613
- size: {
614
- [size in IconButtonSize]: IconButtonSizeConfig;
615
- };
616
- }
617
-
618
- type IconButtonCssVarMap = typeof ICON_BUTTON_CSS_VAR_MAP;
619
- type IconButtonCssVar = IconButtonCssVarMap[keyof IconButtonCssVarMap];
620
- type IconButtonSizeCssVar = IconButtonCssVarMap[keyof IconButtonCssVarMap];
621
- type IconButtonSizeVarsMap = Record<IconButtonSizeCssVar, string>;
622
- /* -------------------------------------------------------------------------- */
623
- /* ICON BUTTON CSS */
624
- /* -------------------------------------------------------------------------- */
625
-
626
- type IconButtonClassMap = {
627
- '.uds-icon-button': {
628
- /** Hardcoded in tailwind plugin */
629
- display: CSSProperties['display'];
630
- alignItems: CSSProperties['alignItems'];
631
- padding: string;
632
- };
633
- } & Record<`.uds-icon-button-${IconButtonSize}`, IconButtonSizeVarsMap>;
634
-
635
- type IconButtonClassName = UnjoinClassNames<ClassNameWithoutDot<keyof IconButtonClassMap>>;
636
-
637
- /* -------------------------------------------------------------------------- */
638
- /* TEXT INPUT */
639
- /* -------------------------------------------------------------------------- */
640
- type InputSize = Extract<TShirtSizeCommon, 'md' | 'lg'>;
641
-
642
- /* -------------------------------------------------------------------------- */
643
- /* FULL TOKENS CONFIG */
644
-
645
- /* -------------------------------------------------------------------------- */
646
-
647
- interface UniversalTokensConfig extends UniversalTokensConfigAuto {
648
- version: string;
649
- colorMode: ColorModeConfig;
650
- scaleMode: ScaleModeConfig;
651
- font: FontConfig;
652
- button: ButtonConfig;
653
- iconButton: IconButtonConfig;
654
- motion: MotionConfig;
655
- shadow: ShadowConfig;
656
- breakpoints: BreakpointsConfig;
657
- typography: TypographyConfig;
658
- globalDefaults: GlobalDefaultsConfig;
659
- }
660
-
661
- /* -------------------------------------------------------------------------- */
662
- /* CSS VARIABLES */
663
- /* -------------------------------------------------------------------------- */
664
- type UdsCssVar = FontCssVar | ButtonCssVar | IconButtonCssVar;
665
-
666
- /* -------------------------------------------------------------------------- */
667
- /* MODES */
668
- /* -------------------------------------------------------------------------- */
669
- type PlatformMode = 'web' | 'ios' | 'android';
670
- type ColorMode = 'light' | 'dark';
671
- type ColorModeForApp = ColorMode | 'system';
672
- type ScaleMode = 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
673
- type ScaleModeForApp = ScaleMode | 'system';
674
- type HighContrastMode = boolean;
675
- type RegionMode = '🇺🇸 US' | '🇩🇪 DE' | '🇫🇷 FR' | '🇨🇳 CN';
676
-
677
- interface Modes {
678
- colorMode: ColorMode;
679
- scaleMode: ScaleMode;
680
- }
681
-
682
- /* -------------------------------------------------------------------------- */
683
- /* MOTION */
684
- /* -------------------------------------------------------------------------- */
685
- type Animation = 'none' | 'spin' | 'ping' | 'pulse' | 'bounce';
686
- type TransitionDelay = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
687
- type TransitionDuration = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
688
- type TransitionTiming = 'linear' | 'in' | 'out' | 'in-out';
689
-
690
- /* -------------------------- Spring motion configs ------------------------- */
691
- type MotionVariant = 'damped' | 'smooth' | 'subtle' | 'bouncy' | 'veryBouncy';
692
- type MotionVariantSpeed = '1' | '2' | '3' | '4';
693
- type MotionSpringConfigOptions = 'damping' | 'stiffness';
694
- type MotionSpringConfig = Required<Pick<Spring, MotionSpringConfigOptions>>;
695
- type MotionCssVar =
696
- `--${typeof MOTION_PREFIX}-${MotionVariant}-${MotionVariantSpeed}-${keyof MotionSpringConfig}`;
697
- type MotionVariantValues = {
698
- [key in MotionVariantSpeed]: MotionSpringConfig;
699
- };
700
- type MotionConfig = Record<MotionVariant, MotionVariantValues>;
701
-
702
- /* -------------------------------------------------------------------------- */
703
- /* MISC */
704
- /* -------------------------------------------------------------------------- */
705
- type AriaAttribute =
706
- | 'busy'
707
- | 'checked'
708
- | 'disabled'
709
- | 'expanded'
710
- | 'hidden'
711
- | 'pressed'
712
- | 'readonly'
713
- | 'required'
714
- | 'selected'
715
- | 'invalid';
716
-
717
- type DataAttribute =
718
- | 'active'
719
- | 'active-item'
720
- | 'autofill'
721
- | 'backdrop'
722
- | 'enter'
723
- | 'leave'
724
- | 'focus-visible';
725
-
726
- /* -------------------------------------------------------------------------- */
727
- /* FLEX */
728
- /* -------------------------------------------------------------------------- */
729
- type Flex = '1' | 'auto' | 'initial' | 'none';
730
- type FlexGrow = '0' | '1' | '2' | '3';
731
- type FlexShrink = '0' | '1';
732
- type FlexAlignContent =
733
- | 'flex-start'
734
- | 'flex-end'
735
- | 'center'
736
- | 'stretch'
737
- | 'space-between'
738
- | 'space-around';
739
- type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
740
- type FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
741
- type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
742
- type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
743
- type FlexJustifyContent =
744
- | 'flex-start'
745
- | 'flex-end'
746
- | 'center'
747
- | 'space-between'
748
- | 'space-around'
749
- | 'space-evenly';
750
- type FlexBasis = 'min-content';
751
-
752
- /* -------------------------------------------------------------------------- */
753
- /* LAYOUT */
754
- /* -------------------------------------------------------------------------- */
755
- type Display =
756
- | 'block'
757
- | 'inline-block'
758
- | 'inline'
759
- | 'flex'
760
- | 'inline-flex'
761
- | 'table'
762
- | 'inline-table'
763
- | 'table-caption'
764
- | 'table-cell'
765
- | 'table-column'
766
- | 'table-column-group'
767
- | 'table-footer-group'
768
- | 'table-header-group'
769
- | 'table-row-group'
770
- | 'table-row'
771
- | 'flow-root'
772
- | 'grid'
773
- | 'contents';
774
- type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
775
- type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
776
-
777
- /* -------------------------------------------------------------------------- */
778
- /* Motion props */
779
- /* -------------------------------------------------------------------------- */
780
- type ScaleEffectMap = {
781
- none: {
782
- [key in Exclude<TShirtSize, 'none' | 'full'>]: '1';
783
- };
784
- down: {
785
- xs: '0.9875';
786
- sm: '0.97';
787
- md: '0.875';
788
- lg: '0.75';
789
- xl: '0.5';
790
- };
791
- up: {
792
- xs: '1.0125';
793
- sm: '1.03';
794
- md: '1.125';
795
- lg: '1.25';
796
- xl: '2';
797
- };
798
- };
799
-
800
- /* -------------------------------------------------------------------------- */
801
- /* STYLE PROPS */
802
- /* -------------------------------------------------------------------------- */
803
- type ImageStyleProps = {
804
- /**
805
- * Determines how the image should be resized to fit its container.
806
- */
807
- contentFit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
808
- };
809
-
810
- interface BorderStyleProps {
811
- /** Add a border radius to all corners of the box. */
812
- borderRadius?: BorderRadius;
813
- /** Add a border radius to top left corner of the box. */
814
- borderTopStartRadius?: BorderRadius;
815
- /** Add a border radius to top right corner of the box. */
816
- borderTopEndRadius?: BorderRadius;
817
- /** Add a border radius to bottom left corner of the box. */
818
- borderBottomStartRadius?: BorderRadius;
819
- /** Add a border radius to bottom right corner of the box. */
820
- borderBottomEndRadius?: BorderRadius;
821
- /** Adds a custom border color from the palette */
822
- borderColor?: LineColor;
823
- /** Start border color */
824
- borderStartColor?: LineColor;
825
- /** End border color */
826
- borderEndColor?: LineColor;
827
- /** Top border color */
828
- borderTopColor?: LineColor;
829
- /** Bottom border color */
830
- borderBottomColor?: LineColor;
831
- /** Shorthand property to the width of an element's border. */
832
- borderWidth?: BorderWidth;
833
- /** Sets the width of the top and bottom border of an element. */
834
- borderVerticalWidth?: BorderWidth;
835
- /** Sets the width of the start (left) and end (right) border of an element. */
836
- borderHorizontalWidth?: BorderWidth;
837
- /** Sets the width of the start (left) border of an element. */
838
- borderStartWidth?: BorderWidth;
839
- /** Sets the width of the end (right) border of an element. */
840
- borderEndWidth?: BorderWidth;
841
- /** Sets the width of the top border of an element. */
842
- borderTopWidth?: BorderWidth;
843
- /** Sets the width of the bottom border of an element. */
844
- borderBottomWidth?: BorderWidth;
845
- }
846
-
847
- interface ShadowStyleProps {
848
- /** Sets the variant of the shadow. */
849
- dropShadow?: ShadowVariant;
850
- /** Sets the variant of the inset shadow. */
851
- insetShadow?: ShadowVariant | ShadowVariantInvert;
852
- }
853
-
854
- interface LayoutStyleProps {
855
- /** Sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex. */
856
- display?: Display;
857
- /** Shorthand property which sets the desired behavior when content does not fit in the parent element box (overflows) in the horizontal and/or vertical direction. */
858
- overflow?: Overflow;
859
- /** Sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
860
- overflowX?: Overflow;
861
- /** sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
862
- overflowY?: Overflow;
863
- /** Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
864
- position?: Position;
865
- }
866
-
867
- interface SpacingStyleProps {
868
- /** Apply inner spacing on all sides. */
869
- spacing?: SpacingAlias;
870
- /** Apply inner spacing on the leading and trailing sides. */
871
- spacingHorizontal?: SpacingAlias;
872
- /** Apply inner spacing on the top and bottom sides. */
873
- spacingVertical?: SpacingAlias;
874
- /** Apply inner spacing on the bottom side. */
875
- spacingBottom?: SpacingAlias;
876
- /** Apply inner spacing on the trailing side. */
877
- spacingEnd?: SpacingAlias;
878
- /** Apply inner spacing on the leading side. */
879
- spacingStart?: SpacingAlias;
880
- /** Apply inner spacing on the top side. */
881
- spacingTop?: SpacingAlias;
882
- /** Apply negative outer spacing on all sides. */
883
- offset?: SpacingAlias;
884
- /** Apply negative outer spacing on the top and bottom sides. */
885
- offsetVertical?: SpacingAlias;
886
- /** Apply negative outer spacing on the leading and trailing sides. */
887
- offsetHorizontal?: SpacingAlias;
888
- /** Apply negative outer spacing on the bottom side. */
889
- offsetBottom?: SpacingAlias;
890
- /** Apply negative outer spacing on the trailing side. */
891
- offsetEnd?: SpacingAlias;
892
- /** Apply negative outer spacing on the leading side. */
893
- offsetStart?: SpacingAlias;
894
- /** Apply negative outer spacing on the top side. */
895
- offsetTop?: SpacingAlias;
896
- /** Control the horizontal gutters between grid and flexbox items. */
897
- columnGap?: SpacingAlias;
898
- /** Control the vertical gutters between grid and flexbox items. */
899
- rowGap?: SpacingAlias;
900
- }
901
-
902
- interface FlexStyleProps {
903
- /** Sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. */
904
- alignContent?: FlexAlignContent;
905
- /** Sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. */
906
- alignItems?: FlexAlignItems;
907
- /** Overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. */
908
- alignSelf?: FlexAlignSelf;
909
- /** Sets how a flex item will grow or shrink to fit the space available in its flex container. */
910
- flex?: Flex;
911
- /** Sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). */
912
- flexDirection?: FlexDirection;
913
- /** Sets the flex grow factor, which specifies how much of the flex container's remaining space should be assigned to the flex item's main size. */
914
- flexGrow?: FlexGrow;
915
- /** Sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink. */
916
- flexShrink?: FlexShrink;
917
- /** Sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. */
918
- flexWrap?: FlexWrap;
919
- /** Defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. */
920
- justifyContent?: FlexJustifyContent;
921
- /** Sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis */
922
- flexBasis?: FlexBasis;
923
- }
924
-
925
- interface StateStyleProps {
926
- interactable?: boolean;
927
- focusable?: boolean;
928
- }
929
-
930
- interface TextStyleProps {
931
- /** Color of a Text or Icon element */
932
- color?: ForegroundColor;
933
- /** Color of placeholder text */
934
- placeholderColor?: ForegroundColor;
935
- /** Font family for the text */
936
- fontFamily?: TextVariant | FontAlias;
937
- /** Font size of the text */
938
- fontSize?: TextVariant;
939
- /**
940
- * Font weight of the text
941
- *
942
- * @deprecated Consider using an `emphasized` text variant instead. For example: `display1/emphasized`
943
- */
944
- fontWeight?: TextVariant | FontWeightDescriptive;
945
- /** Line height of the text */
946
- lineHeight?: TextVariant;
947
- /** Text alignment of the text */
948
- textAlign?: 'center' | 'justify' | 'start' | 'end';
949
- /** Sets the text transform for the text */
950
- textTransform?: TextVariant | TextTransform;
951
- }
952
-
953
- interface BackgroundStyleProps {
954
- /** Sets the background color. */
955
- backgroundColor?: BackgroundColor;
956
- }
957
-
958
- type CustomSizingStyleProps = {
959
- iconSize?: IconSize;
960
- avatarSize?: AvatarSize;
961
- };
962
-
963
- interface SizeStyleProps {
964
- /** Sets the width of an element. */
965
- width?: 'full' | 'fit' | 'screen';
966
- /** Sets the height of an element. */
967
- height?: 'full' | 'fit' | 'screen';
968
- }
969
-
970
- type StyleProps = BackgroundStyleProps &
971
- BorderStyleProps &
972
- LayoutStyleProps &
973
- FlexStyleProps &
974
- SpacingStyleProps &
975
- TextStyleProps &
976
- ImageStyleProps &
977
- CustomSizingStyleProps &
978
- ShadowStyleProps &
979
- SizeStyleProps;
980
-
981
- /* -------------------------------------------------------------------------- */
982
- /* UNIVERSAL COMPONENT PROPS */
983
-
984
- /* -------------------------------------------------------------------------- */
985
- interface UniversalBoxProps
986
- extends PropsWithChildren,
987
- BackgroundStyleProps,
988
- BorderStyleProps,
989
- FlexStyleProps,
990
- LayoutStyleProps,
991
- SpacingStyleProps,
992
- SizeStyleProps,
993
- ShadowStyleProps {
994
- /**
995
- * When asChild is set to true, the component's child will be cloned and passed
996
- * the props and behavior required to make it functional.
997
- */
998
- asChild?: boolean;
999
- /**
1000
- * Customize tag name.
1001
- */
1002
- as?: ElementType;
1003
- }
1004
-
1005
- interface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {
1006
- gap?: SpacingAlias;
1007
- separator?: ReactNode | ((index: number) => ReactNode);
1008
- }
1009
-
1010
- interface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {
1011
- /** Style of text. */
1012
- variant?: TextVariant;
1013
- /** Color of the text. */
1014
- color?: ForegroundColor;
1015
- }
1016
-
1017
- interface UniversalIconProps {
1018
- /** Icon to render from the icons package. */
1019
- name: SvgIcon;
1020
- /** Size of the icon. */
1021
- size?: IconSize;
1022
- /** Variant for icon. Either fill or outline. */
1023
- variant?: IconVariant;
1024
- /** Color of the icon. */
1025
- color?: ForegroundColor;
1026
- }
1027
-
1028
- type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
1029
-
1030
- interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {}
1031
-
1032
- type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
1033
-
1034
- /**
1035
- * We are changing the slot prop from ReactNode to ReactElement to avoid
1036
- * confusing and useless options like number and string, however,
1037
- * there are cases where folks are using null/undefined to dynamically opt-out
1038
- * of rendering the icon. We want to still allow that.
1039
- */
1040
- type BackwardsCompatibleReactElement = null | undefined | ReactElement;
1041
-
1042
- /**
1043
- * Used anywhere we offer an icon which can be customized.
1044
- *
1045
- * Passing an SvgIcon is the happy path.
1046
- *
1047
- * @example
1048
- * import { Calendar } from "@yahoo/uds-icons"
1049
- * <IconSlot icon={Calendar} />
1050
- */
1051
- type UniversalIconSlot =
1052
- // Pass an svg by reference
1053
- | SvgIcon
1054
- // Customize the icon <Icon name={Arrow} />, <IconButton />, <Pressable />
1055
- | BackwardsCompatibleReactElement
1056
- // Given the default props (like variant and color), render something that needed to know those defaults
1057
- | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
1058
-
1059
- interface UniversalPressableProps extends Omit<UniversalBoxProps, 'as'> {
1060
- onPress?: () => void;
1061
- }
1062
-
1063
- interface UniversalIconButtonProps {
1064
- /**
1065
- * The variant of the button
1066
- * @default is assigned in the configurator
1067
- */
1068
- variant?: ButtonVariantFlat;
1069
- /** The size of the button. */
1070
- size?: IconButtonSize;
1071
- /** The icon variant
1072
- * @default 'outline'
1073
- */
1074
- iconVariant?: IconVariant;
1075
- /** Icon to render from the icons package. */
1076
- name: SvgIcon;
1077
- /** Allows setting the HTML `name` attribute on `button` because we are using `name` for an `SVGIcon` instead. */
1078
- htmlName?: string;
1079
- /** Render the button with a loading state. */
1080
- loading?: boolean;
1081
- /** Disable any motion effects configured in the configurator */
1082
- disableEffects?: boolean;
1083
- }
1084
-
1085
- interface UniversalButtonProps extends Pick<SizeStyleProps, 'width'> {
1086
- /**
1087
- * The variant of the button
1088
- * @default is assigned in the configurator
1089
- */
1090
- variant?: ButtonVariantFlat;
1091
-
1092
- /**
1093
- * The size of the button
1094
- * @default is assigned in the configurator
1095
- */
1096
- size?: ButtonSize;
1097
- /** The icon variant for start and end icons
1098
- * @default 'outline'
1099
- */
1100
- iconVariant?: IconVariant;
1101
- /** The icon to render at the start of the button. Can be a UDS icon, an Icon component, ReactNode, or a function that returns a ReactNode. */
1102
- startIcon?: UniversalIconSlot;
1103
- /** The icon to render at the end of the button. Can be a UDS icon, an Icon component, ReactNode, or a function that returns a ReactNode. */
1104
- endIcon?: UniversalIconSlot;
1105
- /** Render the button with a loading state. */
1106
- loading?: boolean;
1107
- /** Disable any motion effects configured in the configurator */
1108
- disableEffects?: boolean;
1109
- /**
1110
- * When asChild is set to true, the component's child will be cloned and passed
1111
- * the props and behavior required to make it functional.
1112
- */
1113
- asChild?: boolean;
1114
- }
1115
-
1116
- interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'>, ImageStyleProps {
1117
- /** The source URL of the image. */
1118
- src: string;
1119
- /** Provides fallback (alternate) text to display when the image specified by the Image element is not loaded. */
1120
- alt?: string;
1121
- /** Width of the image in px. */
1122
- width?: number;
1123
- /** Height of the image in pixel. */
1124
- height?: number;
1125
- }
1126
-
1127
- type ImgElementProps = Omit<
1128
- React.ImgHTMLAttributes<HTMLImageElement>,
1129
- 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'
1130
- >;
1131
-
1132
- interface ImagePropsWithImgProps extends UniversalImageProps, ImgElementProps {}
1133
-
1134
- interface UniversalFormLabelProps extends Omit<UniversalTextProps, 'variant' | 'color'> {
1135
- /**
1136
- * Customize tag name.
1137
- */
1138
- as?: ElementType;
1139
-
1140
- /** The style of text. @default 'label2' */
1141
- variant?: UniversalTextProps['variant'] | 'inherit';
1142
-
1143
- /** If true, renders a red asterisk to indicate the field is required. */
1144
- required?: boolean;
1145
-
1146
- /**
1147
- * Sets the color of the label text.
1148
- * @default muted
1149
- */
1150
- color?: ForegroundColor | 'inherit';
1151
-
1152
- /** If true, the required * is styled with an alert color if the input is required. */
1153
- hasError?: boolean;
1154
-
1155
- /** Whether to show an asterisk on required labels. @default false */
1156
- showRequiredAsterisk?: boolean;
1157
-
1158
- /** The contents of the label. If missing, uses children. **/
1159
- label?: string | ReactNode | (() => ReactNode);
1160
- }
1161
-
1162
- interface UniversalInputProps extends Pick<UniversalBoxProps, 'width'> {
1163
- /** Label text to associate with the input. */
1164
- label?: string | ReactNode | (() => ReactNode);
1165
- /** If true, the input is disabled and non-interactive. */
1166
- disabled?: boolean;
1167
- /** If true, the `label` is displayed as required and the input element is required. */
1168
- required?: boolean;
1169
- /** Description or error message */
1170
- helpText?: string | ReactNode | (() => ReactNode);
1171
- /** Helper text icon */
1172
- helperTextIcon?: UniversalIconSlot;
1173
- /** If true, the input displays its error state styling, which includes styling the startIcon. */
1174
- hasError?: boolean;
1175
- /**
1176
- * The size of the input.
1177
- * @default 'md'
1178
- */
1179
- size?: InputSize;
1180
- /** An icon to be displayed at the start of the input. */
1181
- startIcon?: UniversalIconSlot;
1182
- /** An icon to be displayed at the end of the input. */
1183
- endIcon?: UniversalIconSlot;
1184
- /** If true, forces reduced motion. Otherwise, respects the user's setting. */
1185
- reduceMotion?: boolean;
1186
- }
1187
-
1188
- type DividerVariant = 'primary' | 'secondary' | 'tertiary' | 'muted';
1189
-
1190
- interface UniversalDividerProps {
1191
- /**
1192
- * Use a pre-defined variant.
1193
- * @default 'primary'
1194
- */
1195
- variant?: DividerVariant;
1196
-
1197
- /**
1198
- * Set to true to scale the divider vertically.
1199
- */
1200
- vertical?: boolean;
1201
-
1202
- /** When there are children, where are they placed?
1203
- * @default 'center'
1204
- */
1205
- contentPosition?: 'start' | 'center' | 'end';
1206
- }
1207
-
1208
- interface UniversalLinkProps {
1209
- /** Text style */
1210
- textVariant?: TextVariantWithoutEmphasized;
1211
- /** The color style of the link. */
1212
- variant?: Extract<ForegroundPaletteAlias, 'primary' | 'secondary' | 'tertiary' | 'on-color'>;
1213
- /** An icon to be displayed at the start of the component. */
1214
- startIcon?: UniversalIconSlot;
1215
- /** An icon to be displayed at the end of the component. */
1216
- endIcon?: UniversalIconSlot;
1217
- }
1218
-
1219
- type CheckboxValue = boolean | 'indeterminate';
1220
- type CheckboxVariant = 'primary' | 'secondary';
1221
- type CheckboxSize = 'sm' | 'md';
1222
-
1223
- interface UniversalCheckboxProps {
1224
- /**
1225
- * Variant of the checkbox.
1226
- * @default 'primary'
1227
- */
1228
- variant?: CheckboxVariant;
1229
-
1230
- /**
1231
- * Size of the checkbox.
1232
- * @default 'md'
1233
- */
1234
- size?: CheckboxSize;
1235
-
1236
- /**
1237
- * The label of the checkbox. Can be a ReactNode for rich html labels.
1238
- * Will not be labelled if omitted. User MUST then use `aria-label` attribute,
1239
- * wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
1240
- */
1241
- label?: string | ReactNode | (() => ReactNode);
1242
-
1243
- /**
1244
- * Controlled value of the checkbox. Will be an uncontrolled input if not present.
1245
- */
1246
- checked?: CheckboxValue;
1247
-
1248
- /**
1249
- * If true, the checkbox displays its error state.
1250
- */
1251
- hasError?: boolean;
1252
-
1253
- /**
1254
- * Disables animations when true.
1255
- */
1256
- reduceMotion?: boolean;
1257
-
1258
- /**
1259
- * On which side of the input is the label displayed.
1260
- * @default 'start'
1261
- */
1262
- labelPosition?: 'start' | 'end';
1263
- }
1264
-
1265
- type RadioValue = boolean;
1266
- type RadioVariant = 'primary' | 'secondary';
1267
- type RadioSize = 'sm' | 'md';
1268
-
1269
- interface UniversalRadioProps {
1270
- /**
1271
- * Variant of the radio.
1272
- * @default 'primary'
1273
- */
1274
- variant?: RadioVariant;
1275
-
1276
- /**
1277
- * Size of the radio.
1278
- * @default 'md'
1279
- */
1280
- size?: RadioSize;
1281
-
1282
- /**
1283
- * The label of the radio. Can be a ReactNode for rich html labels.
1284
- * Will not be labelled if omitted. User MUST then use `aria-label` attribute,
1285
- * wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
1286
- */
1287
- label?: string | ReactNode | (() => ReactNode);
1288
-
1289
- /**
1290
- * The value of the radio.
1291
- * @default ''
1292
- */
1293
- value?: string;
1294
-
1295
- /**
1296
- * Whether the radio is checked.
1297
- */
1298
- checked?: boolean;
1299
-
1300
- /**
1301
- * If true, the radio displays its error state.
1302
- */
1303
- hasError?: boolean;
1304
-
1305
- /**
1306
- * Disables animations when true.
1307
- */
1308
- reduceMotion?: boolean;
1309
-
1310
- /**
1311
- * On which side of the input is the label displayed.
1312
- * @default 'start'
1313
- */
1314
- labelPosition?: 'start' | 'end';
1315
- }
1316
-
1317
- interface UniversalRadioGroupProps {
1318
- /**
1319
- * The name used for all radio inputs in the group.
1320
- */
1321
- name?: string;
1322
-
1323
- /**
1324
- * The value of the selected radio item.
1325
- */
1326
- value?: string;
1327
-
1328
- /**
1329
- * The default value of the selected radio item for uncontrolled radio groups.
1330
- */
1331
- defaultValue?: string;
1332
-
1333
- /** Callback when the user interacts to select a different radio item. */
1334
- onChange?: (value: string | undefined) => void;
1335
-
1336
- /**
1337
- * When asChild is set to true, the component's child will be cloned and passed
1338
- * the props and behavior required to make it functional.
1339
- */
1340
- asChild?: boolean;
1341
- }
1342
-
1343
- type SwitchSize = 'sm' | 'md';
1344
-
1345
- interface UniversalSwitchProps {
1346
- /**
1347
- * Size of the switch.
1348
- * @default 'md'
1349
- */
1350
- size?: SwitchSize;
1351
-
1352
- /**
1353
- * The label of the switch. Can be a ReactNode for rich html labels.
1354
- * Will not be labelled if omitted. User MUST then use `aria-label` attribute,
1355
- * wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
1356
- */
1357
- label?: string | ReactNode | (() => ReactNode);
1358
-
1359
- /**
1360
- * Controlled value of the switch. Will be an uncontrolled input if not present.
1361
- */
1362
- isOn?: boolean;
1363
-
1364
- /**
1365
- * Set the initial value to default when uncontrolled.
1366
- */
1367
- defaultIsOn?: boolean;
1368
-
1369
- /** An icon to be displayed on the on state of the input. */
1370
- onIcon?: UniversalIconSlot;
1371
-
1372
- /** An icon to be displayed on the off state of the input. */
1373
- offIcon?: UniversalIconSlot;
1374
-
1375
- /**
1376
- * Disables animations when true.
1377
- */
1378
- reduceMotion?: boolean;
1379
-
1380
- /**
1381
- * On which side of the input is the label displayed.
1382
- * @default 'start'
1383
- */
1384
- labelPosition?: 'start' | 'end';
1385
- }
1386
-
1387
- type ChipVariant = 'primary' | 'secondary' | 'brand' | 'brand-secondary';
1388
- type ChipSize = 'sm' | 'md';
1389
-
1390
- interface UniversalChipBaseProps extends PropsWithChildren {
1391
- /**
1392
- * Controls the foreground and background contrast.
1393
- * @default "primary"
1394
- */
1395
- variant?: ChipVariant;
1396
-
1397
- /**
1398
- * Adjusts padding and font size.
1399
- * @default "md"
1400
- */
1401
- size?: ChipSize;
1402
-
1403
- /**
1404
- * Optional icon displayed at the start of the chip.
1405
- */
1406
- startIcon?: UniversalIconSlot;
1407
-
1408
- /**
1409
- * Optional icon displayed at the end of the chip.
1410
- */
1411
- endIcon?: UniversalIconSlot;
1412
-
1413
- /**
1414
- * Optional minimum width of the chip before label is truncated.
1415
- */
1416
- minWidth?: number;
1417
-
1418
- /**
1419
- * Maximum width of the chip before label is truncated.
1420
- */
1421
- maxWidth?: number;
1422
-
1423
- /**
1424
- * Customize tag name.
1425
- */
1426
- as?: ElementType;
1427
-
1428
- /** If true, forces reduced motion. Otherwise, respects the user's setting. */
1429
- reduceMotion?: boolean;
1430
-
1431
- /** Whether the chip is disabled. @default false */
1432
- disabled?: boolean;
1433
- }
1434
-
1435
- interface UniversalChipDismissibleProps
1436
- extends Omit<UniversalChipBaseProps, 'endIcon' | 'asChild' | 'layerClassNames'> {
1437
- /**
1438
- * Handler for dismiss action (e.g., closing the chip).
1439
- */
1440
- onDismiss?: () => void;
1441
-
1442
- /**
1443
- * Provide an accessible label for the dismiss button.
1444
- */
1445
- dismissButtonAriaLabel?: string;
1446
-
1447
- /**
1448
- * Custom icon to use for the dismiss button.
1449
- */
1450
- dismissIcon?: UniversalIconSlot;
1451
- }
1452
-
1453
- interface UniversalChipToggleProps
1454
- extends Omit<UniversalChipBaseProps, 'asChild' | 'layerClassNames'> {
1455
- isToggled?: boolean;
1456
-
1457
- /**
1458
- * Handler for toggle action.
1459
- */
1460
- onToggle?: (isToggled: boolean) => void;
1461
- }
1462
-
1463
- type UniversalChipButtonProps = Omit<
1464
- UniversalChipToggleProps,
1465
- 'isToggled' | 'onToggle' | 'asChild'
1466
- >;
1467
-
1468
- interface UniversalChipLinkProps extends Omit<UniversalChipBaseProps, 'layerClassNames'> {
1469
- href?: string;
1470
- }
1471
-
1472
- interface UniversalChipProps
1473
- extends UniversalChipToggleProps,
1474
- UniversalChipLinkProps,
1475
- UniversalChipButtonProps,
1476
- UniversalChipDismissibleProps {
1477
- // @deprecated Use `slotProps.anchor` instead
1478
- linkProps?: Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'type'>;
1479
- }
1480
-
1481
- type BadgeVariant =
1482
- | 'primary'
1483
- | 'secondary'
1484
- | 'brand'
1485
- | 'brand-secondary'
1486
- | 'alert'
1487
- | 'alert-secondary'
1488
- | 'positive'
1489
- | 'positive-secondary'
1490
- | 'warning'
1491
- | 'warning-secondary'
1492
- | 'info'
1493
- | 'info-secondary';
1494
- type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
1495
-
1496
- interface UniversalBadgeProps extends PropsWithChildren {
1497
- /**
1498
- * Customize tag name.
1499
- */
1500
- as?: ElementType;
1501
-
1502
- /**
1503
- * Controls the foreground and background contrast.
1504
- * @default "primary"
1505
- */
1506
- variant?: BadgeVariant;
1507
-
1508
- /**
1509
- * Adjusts padding and font size.
1510
- * @default "md"
1511
- */
1512
- size?: BadgeSize;
1513
-
1514
- /**
1515
- * CSS color override of the background. Defaults to variant definition.
1516
- */
1517
- backgroundColor?: string;
1518
-
1519
- /**
1520
- * CSS color override of the text. Defaults to variant definition.
1521
- */
1522
- color?: string;
1523
-
1524
- /**
1525
- * CSS color override of the icon. Defaults to variant definition.
1526
- */
1527
- iconColor?: string;
1528
-
1529
- /**
1530
- * CSS color override of the border. Defaults to variant definition.
1531
- */
1532
- borderColor?: string;
1533
-
1534
- /**
1535
- * Optional icon displayed at the start of the badge.
1536
- */
1537
- startIcon?: UniversalIconSlot;
1538
-
1539
- /**
1540
- * Optional icon displayed at the end of the badge.
1541
- */
1542
- endIcon?: UniversalIconSlot;
1543
-
1544
- /**
1545
- * Optional minium width of the badge.
1546
- */
1547
- minWidth?: number;
1548
-
1549
- /**
1550
- * Maximum width of the badge before label is truncated.
1551
- */
1552
- maxWidth?: number | 'full';
1553
- }
1554
-
1555
- type AvatarVariant = 'primary' | 'secondary';
1556
-
1557
- type AvatarAbbreviationStrategy =
1558
- | 'first'
1559
- | 'last'
1560
- | 'firstAndLast'
1561
- | 'firstTwo'
1562
- | 'firstThree'
1563
- | 'firstOfEach'
1564
- | ((name: string) => string);
1565
-
1566
- /** Props common to all Avatar variants */
1567
- interface UniversalAvatarBaseProps {
1568
- /** Avatar size key. @default "md" */
1569
- size?: AvatarSize;
1570
- /** Avatar variant. @default "primary" */
1571
- variant?: 'primary' | 'secondary';
1572
- /** Custom size in pixels */
1573
- customSize?: number;
1574
- /** Abbreviation strategy for text variant. @default "firstAndLast" */
1575
- abbreviationStrategy?: AvatarAbbreviationStrategy;
1576
- /** Alt text for the image */
1577
- alt?: string;
1578
- /** Custom class name */
1579
- className?: string;
1580
- }
1581
-
1582
- /** Props for Avatar image variant */
1583
- interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
1584
- /** Source URL for the image */
1585
- src: string;
1586
- /** Optional srcSet for responsive images */
1587
- srcSet?: string;
1588
- /**
1589
- * Additional properties for the img element,
1590
- * excluding controlled attributes.
1591
- * @deprecated Use slotProps.image instead
1592
- */
1593
- imageProps?: Omit<
1594
- ImagePropsWithImgProps,
1595
- 'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'
1596
- >;
1597
- /** Fallback text if image fails to load */
1598
- fallback?: string;
1599
- }
1600
-
1601
- /** Props for Avatar text variant */
1602
- interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
1603
- /** Name for generating initials */
1604
- name?: string;
1605
- /** Predefined initials */
1606
- initials?: string;
1607
- }
1608
-
1609
- /** Props for Avatar icon variant */
1610
- interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
1611
- /** Optional icon override */
1612
- icon?: UniversalIconSlot;
1613
- }
1614
-
1615
- /** Combined Avatar component props */
1616
- type UniversalAvatarProps = UniversalAvatarImageProps;
1617
-
1618
- /* -------------------------------------------------------------------------- */
1619
- /* MENU PROPS */
1620
-
1621
- /* -------------------------------------------------------------------------- */
1622
-
1623
- interface UniversalMenuItemProps
1624
- extends Omit<UniversalPressableProps, 'asChild'>,
1625
- PropsWithChildren {
1626
- /** The icon to show at the end */
1627
- endIcon?: UniversalIconSlot;
1628
- /** The icon to show at the start */
1629
- startIcon?: UniversalIconSlot;
1630
- /**
1631
- * The variant of text to use.
1632
- * @default label2 (label1 if checked)
1633
- */
1634
- textVariant?: TextVariant;
1635
- /** HTML name attribute */
1636
- name?: string;
1637
- /** Whether the item is in a checked/active state */
1638
- active?: boolean;
1639
- /** Whether the item is disabled */
1640
- disabled?: boolean;
1641
-
1642
- /** Slots to customize the rendering */
1643
- slots?: {
1644
- // Root is a `AriakitMenuItem`
1645
- root?: (
1646
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1647
- props: HTMLAttributes<any> & {
1648
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1649
- ref?: Ref<any>;
1650
- },
1651
- ) => ReactNode;
1652
- };
1653
- }
1654
-
1655
- export type {
1656
- AlwaysPalette,
1657
- AlwaysPaletteAlias,
1658
- AlwaysPaletteColor,
1659
- Animation,
1660
- AriaAttribute,
1661
- AvatarAbbreviationStrategy,
1662
- AvatarShape,
1663
- AvatarSize,
1664
- AvatarSizeConfig,
1665
- AvatarVariant,
1666
- BackgroundColor,
1667
- BackgroundPalette,
1668
- BackgroundPaletteAlias,
1669
- BackgroundStyleProps,
1670
- BadgeSize,
1671
- BadgeVariant,
1672
- BorderRadius,
1673
- BorderRadiusConfig,
1674
- BorderStyleProps,
1675
- BorderWidth,
1676
- BorderWidthConfig,
1677
- Breakpoint,
1678
- BreakpointsConfig,
1679
- BreakpointWithBase,
1680
- ButtonBaseConfig,
1681
- ButtonClassMap,
1682
- ButtonClassName,
1683
- ButtonColorConfig,
1684
- ButtonColorEffect,
1685
- ButtonColorEffectConfig,
1686
- ButtonColorProperty,
1687
- ButtonColorPropertyConfig,
1688
- ButtonConfig,
1689
- ButtonKind,
1690
- ButtonMotionEffect,
1691
- ButtonMotionProperty,
1692
- ButtonMotionPropertyConfig,
1693
- ButtonPalette,
1694
- ButtonPaletteColor,
1695
- ButtonPaletteConfig,
1696
- ButtonShadowPropertyConfig,
1697
- ButtonSize,
1698
- ButtonSizeConfig,
1699
- ButtonSizeProperty,
1700
- ButtonSpectrumColor,
1701
- ButtonState,
1702
- ButtonStateConfig,
1703
- ButtonStateEffectConfig,
1704
- ButtonVariant,
1705
- ButtonVariantConfig,
1706
- ButtonVariantFlat,
1707
- CheckboxSize,
1708
- CheckboxValue,
1709
- CheckboxVariant,
1710
- ChipSize,
1711
- ChipVariant,
1712
- ColorMode,
1713
- ColorModeConfig,
1714
- ColorModeForApp,
1715
- ColorsConfig,
1716
- ConfigurableDropShadowValues,
1717
- ConfigurableInsetShadowValues,
1718
- CustomSizingStyleProps,
1719
- DataAttribute,
1720
- Display,
1721
- DividerVariant,
1722
- Flex,
1723
- FlexAlignContent,
1724
- FlexAlignItems,
1725
- FlexAlignSelf,
1726
- FlexBasis,
1727
- FlexDirection,
1728
- FlexGrow,
1729
- FlexJustifyContent,
1730
- FlexShrink,
1731
- FlexStyleProps,
1732
- FlexWrap,
1733
- FontAlias,
1734
- FontConfig,
1735
- FontCssVar,
1736
- FontFamilyCDNUrl,
1737
- FontFamilyConfig,
1738
- FontID,
1739
- FontSize,
1740
- FontSizeConfig,
1741
- FontSlantConfig,
1742
- FontType,
1743
- FontWeightConfig,
1744
- FontWeightDescriptive,
1745
- FontWeightNumeric,
1746
- FontWidthConfig,
1747
- ForegroundColor,
1748
- ForegroundPalette,
1749
- ForegroundPaletteAlias,
1750
- GlobalDefaultsConfig,
1751
- HighContrastMode,
1752
- Hue,
1753
- HueStep,
1754
- IconButtonClassMap,
1755
- IconButtonClassName,
1756
- IconButtonConfig,
1757
- IconButtonDefaultsConfig,
1758
- IconButtonSize,
1759
- IconPropsWithSVGProps,
1760
- IconSize,
1761
- IconSizeConfig,
1762
- IconSlotRenderProps,
1763
- IconVariant,
1764
- ImagePropsWithImgProps,
1765
- ImageStyleProps,
1766
- InputSize,
1767
- LayoutStyleProps,
1768
- LetterSpacing,
1769
- LineClampAlias,
1770
- LineColor,
1771
- LineHeight,
1772
- LineHeightConfig,
1773
- LinePalette,
1774
- LinePaletteAlias,
1775
- Modes,
1776
- MotionConfig,
1777
- MotionCssVar,
1778
- MotionSpringConfig,
1779
- MotionSpringConfigOptions,
1780
- MotionVariant,
1781
- MotionVariantSpeed,
1782
- MotionVariantValues,
1783
- OpacityStep,
1784
- Overflow,
1785
- Palette,
1786
- PaletteConfig,
1787
- PaletteType,
1788
- PaletteValue,
1789
- Percentage,
1790
- PercentageUnit,
1791
- PixelsUnit,
1792
- PlatformMode,
1793
- Position,
1794
- PropertyToPaletteAliasMap,
1795
- RadioSize,
1796
- RadioValue,
1797
- RadioVariant,
1798
- RegionMode,
1799
- RemsUnit,
1800
- ScaleConfig,
1801
- ScaleEffectMap,
1802
- ScaleMode,
1803
- ScaleModeConfig,
1804
- ScaleModeForApp,
1805
- ShadowColor,
1806
- ShadowColorConfig,
1807
- ShadowConfig,
1808
- ShadowOffset,
1809
- ShadowOpacity,
1810
- ShadowPalette,
1811
- ShadowPaletteAlias,
1812
- ShadowPreset,
1813
- ShadowSpreadRadius,
1814
- ShadowStyleProps,
1815
- ShadowType,
1816
- ShadowTypeConfig,
1817
- ShadowVariant,
1818
- ShadowVariantConfig,
1819
- ShadowVariantInvert,
1820
- ShadowVariantWithInvert,
1821
- SharedPaletteAlias,
1822
- SpacingAlias,
1823
- SpacingConfig,
1824
- SpacingStyleProps,
1825
- SpectrumColor,
1826
- SpectrumConfig,
1827
- StateStyleProps,
1828
- StyleProps,
1829
- SwitchSize,
1830
- TextDecorationLine,
1831
- TextProperty,
1832
- TextStyleProps,
1833
- TextTransform,
1834
- TextTransformConfig,
1835
- TextVariant,
1836
- TextVariantTypography,
1837
- TextVariantUi,
1838
- TextVariantWithoutEmphasized,
1839
- TransitionDelay,
1840
- TransitionDuration,
1841
- TransitionTiming,
1842
- TShirtSize,
1843
- TShirtSizeCommon,
1844
- TypographyConfig,
1845
- TypographyResponsiveProperty,
1846
- TypographyStyle,
1847
- TypographyStyleProperty,
1848
- TypographyUnitValue,
1849
- UdsCssVar,
1850
- UnitlessUnit,
1851
- UniversalAvatarIconProps,
1852
- UniversalAvatarImageProps,
1853
- UniversalAvatarProps,
1854
- UniversalAvatarTextProps,
1855
- UniversalBadgeProps,
1856
- UniversalBoxProps,
1857
- UniversalButtonProps,
1858
- UniversalCheckboxProps,
1859
- UniversalChipBaseProps,
1860
- UniversalChipButtonProps,
1861
- UniversalChipDismissibleProps,
1862
- UniversalChipLinkProps,
1863
- UniversalChipProps,
1864
- UniversalChipToggleProps,
1865
- UniversalDividerProps,
1866
- UniversalFormLabelProps,
1867
- UniversalIconButtonProps,
1868
- UniversalIconProps,
1869
- UniversalIconSlot,
1870
- UniversalImageProps,
1871
- UniversalInputProps,
1872
- UniversalLinkProps,
1873
- UniversalMenuItemProps,
1874
- UniversalPressableProps,
1875
- UniversalRadioGroupProps,
1876
- UniversalRadioProps,
1877
- UniversalStackProps,
1878
- UniversalSwitchProps,
1879
- UniversalTextProps,
1880
- UniversalTokensConfig,
1881
- UniversalTokensConfigAuto,
1882
- };