@worldcoin/mini-apps-ui-kit-react 1.0.0-canary.8 → 1.0.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 (794) hide show
  1. package/README.md +4 -35
  2. package/dist/_virtual/_commonjsHelpers.js +3 -3
  3. package/dist/_virtual/create-plugin.js +2 -2
  4. package/dist/_virtual/createPlugin.js +2 -2
  5. package/dist/_virtual/plugin.js +5 -5
  6. package/dist/components/AlertDialog/AlertDialog.d.ts +1 -1
  7. package/dist/components/AlertDialog/AlertDialog.js +79 -74
  8. package/dist/components/AlertDialog/index.d.ts +2 -1
  9. package/dist/components/AlertDialog/use-alert-dialog.js +9 -7
  10. package/dist/components/BottomBar/BottomBar.d.ts +4 -3
  11. package/dist/components/BottomBar/BottomBar.js +11 -8
  12. package/dist/components/BottomBar/index.d.ts +1 -1
  13. package/dist/components/BulletList/BulletList.d.ts +10 -5
  14. package/dist/components/BulletList/BulletList.js +28 -8
  15. package/dist/components/BulletList/index.d.ts +1 -1
  16. package/dist/components/Button/Button.d.ts +4 -9
  17. package/dist/components/Button/Button.js +40 -48
  18. package/dist/components/Button/index.d.ts +1 -1
  19. package/dist/components/Checkbox/Checkbox.d.ts +4 -3
  20. package/dist/components/Checkbox/Checkbox.js +22 -20
  21. package/dist/components/Checkbox/index.d.ts +1 -1
  22. package/dist/components/Chip/Chip.d.ts +5 -4
  23. package/dist/components/Chip/Chip.js +25 -23
  24. package/dist/components/Chip/index.d.ts +1 -1
  25. package/dist/components/CircularIcon/CircularIcon.d.ts +5 -3
  26. package/dist/components/CircularIcon/CircularIcon.js +14 -12
  27. package/dist/components/CircularIcon/index.d.ts +1 -1
  28. package/dist/components/CircularState/CircularState.d.ts +8 -0
  29. package/dist/components/CircularState/CircularState.js +41 -0
  30. package/dist/components/CircularState/index.d.ts +2 -0
  31. package/dist/components/ClearButton/Clear.d.ts +3 -2
  32. package/dist/components/ClearButton/Clear.js +7 -7
  33. package/dist/components/ClearButton/ClearButton.d.ts +2 -2
  34. package/dist/components/ClearButton/ClearButton.js +23 -17
  35. package/dist/components/ClearButton/index.d.ts +1 -1
  36. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -3
  37. package/dist/components/ColorPicker/ColorPicker.js +37 -32
  38. package/dist/components/ColorPicker/index.d.ts +2 -1
  39. package/dist/components/CountryDrawer/CountryDrawer.d.ts +14 -2
  40. package/dist/components/CountryDrawer/CountryDrawer.js +59 -47
  41. package/dist/components/CountryDrawer/index.d.ts +1 -1
  42. package/dist/components/CountryDrawer/useCountryFiltering.js +7 -6
  43. package/dist/components/CountryDrawer/useCountryGrouping.js +18 -12
  44. package/dist/components/Drawer/Drawer.d.ts +1 -1
  45. package/dist/components/Drawer/Drawer.js +58 -55
  46. package/dist/components/Drawer/index.d.ts +2 -1
  47. package/dist/components/Drawer/use-drawer.js +9 -7
  48. package/dist/components/Flag/Flag.d.ts +4 -4
  49. package/dist/components/Flag/Flag.js +24 -10
  50. package/dist/components/Flag/constants.d.ts +23 -2
  51. package/dist/components/Flag/constants.js +235 -5
  52. package/dist/components/Flag/index.d.ts +1 -2
  53. package/dist/components/Flag/types.d.ts +2 -0
  54. package/dist/components/Flag/utils.d.ts +1 -1
  55. package/dist/components/Flag/utils.js +5 -3
  56. package/dist/components/Form/Form.d.ts +8 -7
  57. package/dist/components/Form/Form.js +29 -24
  58. package/dist/components/Icons/ArrowDown.js +6 -6
  59. package/dist/components/Icons/Clear.d.ts +8 -0
  60. package/dist/components/Icons/Clock.d.ts +2 -0
  61. package/dist/components/Icons/Clock.js +30 -0
  62. package/dist/components/Icons/Delete.d.ts +1 -0
  63. package/dist/components/Icons/Fail.js +77 -75
  64. package/dist/components/Icons/MagicWand.js +11 -11
  65. package/dist/components/Icons/Magnifier.js +8 -8
  66. package/dist/components/Icons/Success.js +77 -75
  67. package/dist/components/Icons/Tick.js +7 -7
  68. package/dist/components/Icons/Warning.d.ts +2 -0
  69. package/dist/components/Icons/Warning.js +26 -0
  70. package/dist/components/Icons/XMark.js +7 -7
  71. package/dist/components/Input/Input.d.ts +14 -43
  72. package/dist/components/Input/Input.js +182 -130
  73. package/dist/components/Input/index.d.ts +1 -1
  74. package/dist/components/ListItem/ListItem.d.ts +3 -2
  75. package/dist/components/ListItem/ListItem.js +30 -28
  76. package/dist/components/ListItem/index.d.ts +1 -1
  77. package/dist/components/LiveFeedback/LiveFeedback.d.ts +21 -0
  78. package/dist/components/LiveFeedback/LiveFeedback.js +66 -0
  79. package/dist/components/LiveFeedback/index.d.ts +1 -0
  80. package/dist/components/Marble/Marble.d.ts +2 -2
  81. package/dist/components/Marble/Marble.js +12 -13
  82. package/dist/components/Marble/index.d.ts +1 -1
  83. package/dist/components/NumberPad/Delete.js +7 -6
  84. package/dist/components/NumberPad/NumberPad.d.ts +3 -2
  85. package/dist/components/NumberPad/NumberPad.js +43 -38
  86. package/dist/components/NumberPad/index.d.ts +1 -1
  87. package/dist/components/OTPField/OTPField.d.ts +53 -2
  88. package/dist/components/OTPField/OTPField.js +65 -40
  89. package/dist/components/OTPField/index.d.ts +1 -1
  90. package/dist/components/PasswordField/PasswordField.d.ts +4 -3
  91. package/dist/components/PasswordField/index.d.ts +1 -1
  92. package/dist/components/PasteButton/PasteButton.d.ts +2 -2
  93. package/dist/components/PasteButton/PasteButton.js +27 -25
  94. package/dist/components/PasteButton/index.d.ts +1 -1
  95. package/dist/components/PhoneField/CountryListItem.js +34 -33
  96. package/dist/components/PhoneField/CountrySelectorButton.js +29 -27
  97. package/dist/components/PhoneField/GroupedCountryList.js +28 -24
  98. package/dist/components/PhoneField/PhoneField.d.ts +5 -9
  99. package/dist/components/PhoneField/PhoneField.js +79 -76
  100. package/dist/components/PhoneField/constants.d.ts +0 -3
  101. package/dist/components/PhoneField/constants.js +2 -24
  102. package/dist/components/PhoneField/index.d.ts +1 -1
  103. package/dist/components/PhoneField/utils.js +31 -20
  104. package/dist/components/Pill/Pill.d.ts +4 -3
  105. package/dist/components/Pill/Pill.js +27 -24
  106. package/dist/components/Pill/index.d.ts +1 -1
  107. package/dist/components/Progress/Progress.d.ts +6 -2
  108. package/dist/components/Progress/Progress.js +32 -29
  109. package/dist/components/Progress/index.d.ts +1 -1
  110. package/dist/components/RadioGroup/RadioGroup.d.ts +4 -3
  111. package/dist/components/RadioGroup/RadioGroup.js +31 -28
  112. package/dist/components/RadioGroup/RadioGroupItem.d.ts +4 -3
  113. package/dist/components/RadioGroup/RadioGroupItem.js +20 -19
  114. package/dist/components/RadioGroup/index.d.ts +2 -2
  115. package/dist/components/SearchField/SearchField.d.ts +4 -3
  116. package/dist/components/SearchField/SearchField.js +73 -67
  117. package/dist/components/SearchField/index.d.ts +1 -1
  118. package/dist/components/Select/Select.d.ts +5 -4
  119. package/dist/components/Select/Select.js +104 -63
  120. package/dist/components/Select/index.d.ts +1 -1
  121. package/dist/components/Spinner/Spinner.d.ts +6 -2
  122. package/dist/components/Spinner/Spinner.js +37 -34
  123. package/dist/components/Spinner/index.d.ts +1 -1
  124. package/dist/components/Switch/Switch.d.ts +4 -3
  125. package/dist/components/Switch/Switch.js +21 -19
  126. package/dist/components/Switch/index.d.ts +1 -1
  127. package/dist/components/Tabs/Tabs.js +42 -37
  128. package/dist/components/Tabs/index.d.ts +2 -2
  129. package/dist/components/TextArea/TextArea.d.ts +9 -4
  130. package/dist/components/TextArea/TextArea.js +70 -49
  131. package/dist/components/TextArea/index.d.ts +1 -1
  132. package/dist/components/Toast/Toast.js +47 -44
  133. package/dist/components/Toast/Toaster.d.ts +5 -1
  134. package/dist/components/Toast/Toaster.js +10 -9
  135. package/dist/components/Toast/index.d.ts +3 -3
  136. package/dist/components/Toast/use-toast.d.ts +2 -10
  137. package/dist/components/Toast/use-toast.js +99 -67
  138. package/dist/components/ToggleGroup/ToggleGroup.js +27 -18
  139. package/dist/components/ToggleGroup/index.d.ts +1 -0
  140. package/dist/components/Token/Token.d.ts +3 -2
  141. package/dist/components/Token/Token.js +11 -11
  142. package/dist/components/Token/icons/btc.js +8 -8
  143. package/dist/components/Token/icons/dai.js +8 -8
  144. package/dist/components/Token/icons/doge.d.ts +3 -0
  145. package/dist/components/Token/icons/doge.js +29 -0
  146. package/dist/components/Token/icons/eth.js +8 -8
  147. package/dist/components/Token/icons/index.d.ts +5 -0
  148. package/dist/components/Token/icons/index.js +22 -12
  149. package/dist/components/Token/icons/link.d.ts +3 -0
  150. package/dist/components/Token/icons/link.js +27 -0
  151. package/dist/components/Token/icons/sol.d.ts +3 -0
  152. package/dist/components/Token/icons/sol.js +93 -0
  153. package/dist/components/Token/icons/sui.d.ts +3 -0
  154. package/dist/components/Token/icons/sui.js +29 -0
  155. package/dist/components/Token/icons/usdc.js +10 -10
  156. package/dist/components/Token/icons/usdt.js +8 -8
  157. package/dist/components/Token/icons/utils.js +10 -9
  158. package/dist/components/Token/icons/wld.js +8 -8
  159. package/dist/components/Token/icons/xrp.d.ts +3 -0
  160. package/dist/components/Token/icons/xrp.js +34 -0
  161. package/dist/components/Token/index.d.ts +1 -1
  162. package/dist/components/TopBar/TopBar.d.ts +8 -2
  163. package/dist/components/TopBar/TopBar.js +34 -20
  164. package/dist/components/TopBar/index.d.ts +1 -1
  165. package/dist/components/Typography/Typography.d.ts +4 -3
  166. package/dist/components/Typography/Typography.js +27 -25
  167. package/dist/components/Typography/index.d.ts +1 -1
  168. package/dist/components/WalletAddressField/WalletAddressField.d.ts +4 -3
  169. package/dist/components/WalletAddressField/WalletAddressField.js +75 -65
  170. package/dist/components/WalletAddressField/index.d.ts +1 -1
  171. package/dist/globals.css +3 -0
  172. package/dist/index.d.ts +36 -35
  173. package/dist/index.js +95 -103
  174. package/dist/lib/constants/dropdownStyles.js +2 -2
  175. package/dist/lib/haptics.d.ts +28 -0
  176. package/dist/lib/haptics.js +45 -0
  177. package/dist/lib/utils.js +11 -9
  178. package/dist/node_modules/.pnpm/@floating-ui_core@1.6.8/node_modules/@floating-ui/core/dist/floating-ui.core.js +558 -368
  179. package/dist/node_modules/.pnpm/@floating-ui_dom@1.6.12/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +515 -304
  180. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +258 -171
  181. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -102
  182. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.8/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +110 -86
  183. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js +3 -3
  184. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +7 -5
  185. package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_wfj52omijboqejc6zhpwkjvyjq/node_modules/@radix-ui/react-arrow/dist/index.js +17 -16
  186. package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._5vtvszwgvdmnkk62ia2dob365m/node_modules/@radix-ui/react-checkbox/dist/index.js +122 -96
  187. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_du3umibpgknzrmwryvhzp3lgou/node_modules/@radix-ui/react-collection/dist/index.js +55 -35
  188. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js +55 -35
  189. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -19
  190. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +35 -0
  191. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js +64 -53
  192. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vurlugjqrhlu53o6edaj3yx2bq/node_modules/@radix-ui/react-dialog/dist/index.js +274 -195
  193. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js +6 -6
  194. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types__ejthwt4vwbnzwtfufv7q3bddiy/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +182 -97
  195. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +186 -100
  196. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +23 -11
  197. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_4owg5o3kd7femmpae5yic5inii/node_modules/@radix-ui/react-focus-scope/dist/index.js +170 -99
  198. package/dist/node_modules/.pnpm/@radix-ui_react-form@0.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_z32yjmfa36dn2egycaeb5u52lm/node_modules/@radix-ui/react-form/dist/index.js +365 -234
  199. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +11 -10
  200. package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_qr7n7ocfbwauilv6obluyms2qy/node_modules/@radix-ui/react-label/dist/index.js +21 -15
  201. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._z2gu7tymhfvx6ebd6lqqykecmq/node_modules/@radix-ui/react-popper/dist/index.js +206 -138
  202. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._jmui37rk6fvzofztyauznikgpi/node_modules/@radix-ui/react-portal/dist/index.js +15 -13
  203. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js +15 -13
  204. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js +104 -46
  205. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sspjpiczol7qxzbuuyfihuep4u/node_modules/@radix-ui/react-primitive/dist/index.js +20 -14
  206. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js +20 -14
  207. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_ecf5vqfgocrxupsewlhf3pl374/node_modules/@radix-ui/react-primitive/dist/index.js +38 -0
  208. package/dist/node_modules/.pnpm/@radix-ui_react-progress@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._wpsg2ubedou6txnsnvgmus4txq/node_modules/@radix-ui/react-progress/dist/index.js +71 -59
  209. package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_2u6lfd2xt65wmbxn7lgvaxqbmy/node_modules/@radix-ui/react-radio-group/dist/index.js +211 -161
  210. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_bkbd3syfptkiebtjifbhjosaba/node_modules/@radix-ui/react-roving-focus/dist/index.js +176 -132
  211. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_ki7uy4u3diz5446cqygvbjwuge/node_modules/@radix-ui/react-roving-focus/dist/index.js +176 -132
  212. package/dist/node_modules/.pnpm/@radix-ui_react-select@2.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._atdh45n5c7sked5b6tbwgdz7re/node_modules/@radix-ui/react-select/dist/index.js +938 -607
  213. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +70 -36
  214. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +72 -34
  215. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +88 -0
  216. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._udl6ccyllphugejc6sszfrese4/node_modules/@radix-ui/react-switch/dist/index.js +104 -81
  217. package/dist/node_modules/.pnpm/@radix-ui_react-toast@1.2.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_mux33mveszkw5z6iia6acnivvy/node_modules/@radix-ui/react-toast/dist/index.js +517 -323
  218. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react_3smwloudr6a3igss4kifyxcwju/node_modules/@radix-ui/react-toggle-group/dist/index.js +139 -105
  219. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._yiv2ptaqcv244n5f7zfldmgupm/node_modules/@radix-ui/react-toggle/dist/index.js +25 -21
  220. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -9
  221. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +36 -23
  222. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +13 -10
  223. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
  224. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +11 -5
  225. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -22
  226. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_m7thze522i3jfpb2tnge6dybgi/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -26
  227. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -26
  228. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_cidkwodbmpmiwtvvmizcw56fem/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
  229. package/dist/node_modules/.pnpm/@uidotdev_usehooks@2.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uidotdev/usehooks/index.js +53 -26
  230. package/dist/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js +111 -41
  231. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +40 -30
  232. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +13 -13
  233. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +5 -3
  234. package/dist/node_modules/.pnpm/input-otp@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/input-otp/dist/index.js +152 -145
  235. package/dist/node_modules/.pnpm/react-international-phone@4.4.0_react@18.3.1/node_modules/react-international-phone/dist/index.js +291 -271
  236. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +41 -65
  237. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -5
  238. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +28 -16
  239. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +8 -8
  240. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +157 -95
  241. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -24
  242. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +12 -9
  243. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +86 -48
  244. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
  245. package/dist/node_modules/.pnpm/react-remove-scroll@2.6.2_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
  246. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js +9 -7
  247. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +11 -10
  248. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -17
  249. package/dist/node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +625 -424
  250. package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/public/create-plugin.js +21 -17
  251. package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/lib/util/createPlugin.js +28 -21
  252. package/dist/node_modules/.pnpm/tailwindcss@3.4.17/node_modules/tailwindcss/plugin.js +10 -8
  253. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +33 -21
  254. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +8 -3
  255. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +28 -19
  256. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +15 -11
  257. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -12
  258. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +64 -43
  259. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js +1205 -764
  260. package/dist/tailwind/index.d.ts +36 -0
  261. package/dist/{tailwind/index.js → tailwind.js} +119 -20
  262. package/package.json +88 -84
  263. package/dist/_virtual/dynamic-import-helper.js +0 -16
  264. package/dist/components/AlertDialog/index.js +0 -12
  265. package/dist/components/AlertDialog/types.js +0 -1
  266. package/dist/components/BottomBar/index.js +0 -4
  267. package/dist/components/BulletList/index.js +0 -4
  268. package/dist/components/BulletListItem/BulletListItem.d.ts +0 -7
  269. package/dist/components/BulletListItem/BulletListItem.js +0 -23
  270. package/dist/components/BulletListItem/index.d.ts +0 -1
  271. package/dist/components/BulletListItem/index.js +0 -4
  272. package/dist/components/BulletPoint/BulletPoint.d.ts +0 -6
  273. package/dist/components/BulletPoint/BulletPoint.js +0 -22
  274. package/dist/components/BulletPoint/index.d.ts +0 -1
  275. package/dist/components/BulletPoint/index.js +0 -1
  276. package/dist/components/Button/index.js +0 -4
  277. package/dist/components/Checkbox/index.js +0 -4
  278. package/dist/components/Chip/index.js +0 -4
  279. package/dist/components/CircularIcon/index.js +0 -4
  280. package/dist/components/ClearButton/index.js +0 -4
  281. package/dist/components/ColorPicker/index.js +0 -5
  282. package/dist/components/CountryDrawer/index.js +0 -4
  283. package/dist/components/Drawer/index.js +0 -9
  284. package/dist/components/Drawer/types.js +0 -1
  285. package/dist/components/Flag/LazyFlag.d.ts +0 -13
  286. package/dist/components/Flag/LazyFlag.js +0 -25
  287. package/dist/components/Flag/flag-components/ad.d.ts +0 -3
  288. package/dist/components/Flag/flag-components/ad.js +0 -56
  289. package/dist/components/Flag/flag-components/ae.d.ts +0 -3
  290. package/dist/components/Flag/flag-components/ae.js +0 -48
  291. package/dist/components/Flag/flag-components/af.d.ts +0 -3
  292. package/dist/components/Flag/flag-components/af.js +0 -55
  293. package/dist/components/Flag/flag-components/ag.d.ts +0 -3
  294. package/dist/components/Flag/flag-components/ag.js +0 -62
  295. package/dist/components/Flag/flag-components/ai.d.ts +0 -3
  296. package/dist/components/Flag/flag-components/ai.js +0 -90
  297. package/dist/components/Flag/flag-components/al.d.ts +0 -3
  298. package/dist/components/Flag/flag-components/al.js +0 -34
  299. package/dist/components/Flag/flag-components/am.d.ts +0 -3
  300. package/dist/components/Flag/flag-components/am.js +0 -41
  301. package/dist/components/Flag/flag-components/ao.d.ts +0 -3
  302. package/dist/components/Flag/flag-components/ao.js +0 -55
  303. package/dist/components/Flag/flag-components/ar.d.ts +0 -3
  304. package/dist/components/Flag/flag-components/ar.js +0 -48
  305. package/dist/components/Flag/flag-components/as.d.ts +0 -3
  306. package/dist/components/Flag/flag-components/as.js +0 -62
  307. package/dist/components/Flag/flag-components/at.d.ts +0 -3
  308. package/dist/components/Flag/flag-components/at.js +0 -41
  309. package/dist/components/Flag/flag-components/au.d.ts +0 -3
  310. package/dist/components/Flag/flag-components/au.js +0 -98
  311. package/dist/components/Flag/flag-components/aw.d.ts +0 -3
  312. package/dist/components/Flag/flag-components/aw.js +0 -62
  313. package/dist/components/Flag/flag-components/ax.d.ts +0 -3
  314. package/dist/components/Flag/flag-components/ax.js +0 -62
  315. package/dist/components/Flag/flag-components/az.d.ts +0 -3
  316. package/dist/components/Flag/flag-components/az.js +0 -55
  317. package/dist/components/Flag/flag-components/ba.d.ts +0 -3
  318. package/dist/components/Flag/flag-components/ba.js +0 -48
  319. package/dist/components/Flag/flag-components/bb.d.ts +0 -3
  320. package/dist/components/Flag/flag-components/bb.js +0 -48
  321. package/dist/components/Flag/flag-components/bd.d.ts +0 -3
  322. package/dist/components/Flag/flag-components/bd.js +0 -34
  323. package/dist/components/Flag/flag-components/be.d.ts +0 -3
  324. package/dist/components/Flag/flag-components/be.js +0 -41
  325. package/dist/components/Flag/flag-components/bf.d.ts +0 -3
  326. package/dist/components/Flag/flag-components/bf.js +0 -49
  327. package/dist/components/Flag/flag-components/bg.d.ts +0 -3
  328. package/dist/components/Flag/flag-components/bg.js +0 -41
  329. package/dist/components/Flag/flag-components/bh.d.ts +0 -3
  330. package/dist/components/Flag/flag-components/bh.js +0 -34
  331. package/dist/components/Flag/flag-components/bi.d.ts +0 -3
  332. package/dist/components/Flag/flag-components/bi.js +0 -83
  333. package/dist/components/Flag/flag-components/bj.d.ts +0 -3
  334. package/dist/components/Flag/flag-components/bj.js +0 -41
  335. package/dist/components/Flag/flag-components/bl.d.ts +0 -3
  336. package/dist/components/Flag/flag-components/bl.js +0 -71
  337. package/dist/components/Flag/flag-components/bm.d.ts +0 -3
  338. package/dist/components/Flag/flag-components/bm.js +0 -85
  339. package/dist/components/Flag/flag-components/bn.d.ts +0 -3
  340. package/dist/components/Flag/flag-components/bn.js +0 -66
  341. package/dist/components/Flag/flag-components/bo.d.ts +0 -3
  342. package/dist/components/Flag/flag-components/bo.js +0 -41
  343. package/dist/components/Flag/flag-components/bq.d.ts +0 -3
  344. package/dist/components/Flag/flag-components/bq.js +0 -55
  345. package/dist/components/Flag/flag-components/br.d.ts +0 -3
  346. package/dist/components/Flag/flag-components/br.js +0 -55
  347. package/dist/components/Flag/flag-components/bs.d.ts +0 -3
  348. package/dist/components/Flag/flag-components/bs.js +0 -48
  349. package/dist/components/Flag/flag-components/bt.d.ts +0 -3
  350. package/dist/components/Flag/flag-components/bt.js +0 -48
  351. package/dist/components/Flag/flag-components/bw.d.ts +0 -3
  352. package/dist/components/Flag/flag-components/bw.js +0 -48
  353. package/dist/components/Flag/flag-components/by.d.ts +0 -3
  354. package/dist/components/Flag/flag-components/by.js +0 -83
  355. package/dist/components/Flag/flag-components/bz.d.ts +0 -3
  356. package/dist/components/Flag/flag-components/bz.js +0 -70
  357. package/dist/components/Flag/flag-components/ca.d.ts +0 -3
  358. package/dist/components/Flag/flag-components/ca.js +0 -48
  359. package/dist/components/Flag/flag-components/cc.d.ts +0 -3
  360. package/dist/components/Flag/flag-components/cc.js +0 -90
  361. package/dist/components/Flag/flag-components/cd.d.ts +0 -3
  362. package/dist/components/Flag/flag-components/cd.js +0 -55
  363. package/dist/components/Flag/flag-components/cf.d.ts +0 -3
  364. package/dist/components/Flag/flag-components/cf.js +0 -85
  365. package/dist/components/Flag/flag-components/cg.d.ts +0 -3
  366. package/dist/components/Flag/flag-components/cg.js +0 -41
  367. package/dist/components/Flag/flag-components/ch.d.ts +0 -3
  368. package/dist/components/Flag/flag-components/ch.js +0 -34
  369. package/dist/components/Flag/flag-components/ci.d.ts +0 -3
  370. package/dist/components/Flag/flag-components/ci.js +0 -41
  371. package/dist/components/Flag/flag-components/ck.d.ts +0 -3
  372. package/dist/components/Flag/flag-components/ck.js +0 -111
  373. package/dist/components/Flag/flag-components/cl.d.ts +0 -3
  374. package/dist/components/Flag/flag-components/cl.js +0 -48
  375. package/dist/components/Flag/flag-components/cm.d.ts +0 -3
  376. package/dist/components/Flag/flag-components/cm.js +0 -48
  377. package/dist/components/Flag/flag-components/cn.d.ts +0 -3
  378. package/dist/components/Flag/flag-components/cn.js +0 -62
  379. package/dist/components/Flag/flag-components/co.d.ts +0 -3
  380. package/dist/components/Flag/flag-components/co.js +0 -41
  381. package/dist/components/Flag/flag-components/cr.d.ts +0 -3
  382. package/dist/components/Flag/flag-components/cr.js +0 -48
  383. package/dist/components/Flag/flag-components/cu.d.ts +0 -3
  384. package/dist/components/Flag/flag-components/cu.js +0 -63
  385. package/dist/components/Flag/flag-components/cv.d.ts +0 -3
  386. package/dist/components/Flag/flag-components/cv.js +0 -118
  387. package/dist/components/Flag/flag-components/cw.d.ts +0 -3
  388. package/dist/components/Flag/flag-components/cw.js +0 -55
  389. package/dist/components/Flag/flag-components/cy.d.ts +0 -3
  390. package/dist/components/Flag/flag-components/cy.js +0 -41
  391. package/dist/components/Flag/flag-components/cz.d.ts +0 -3
  392. package/dist/components/Flag/flag-components/cz.js +0 -41
  393. package/dist/components/Flag/flag-components/de.d.ts +0 -3
  394. package/dist/components/Flag/flag-components/de.js +0 -41
  395. package/dist/components/Flag/flag-components/dj.d.ts +0 -3
  396. package/dist/components/Flag/flag-components/dj.js +0 -48
  397. package/dist/components/Flag/flag-components/dk.d.ts +0 -3
  398. package/dist/components/Flag/flag-components/dk.js +0 -55
  399. package/dist/components/Flag/flag-components/dm.d.ts +0 -3
  400. package/dist/components/Flag/flag-components/dm.js +0 -195
  401. package/dist/components/Flag/flag-components/do.d.ts +0 -3
  402. package/dist/components/Flag/flag-components/do.js +0 -76
  403. package/dist/components/Flag/flag-components/dz.d.ts +0 -3
  404. package/dist/components/Flag/flag-components/dz.js +0 -48
  405. package/dist/components/Flag/flag-components/ec.d.ts +0 -3
  406. package/dist/components/Flag/flag-components/ec.js +0 -62
  407. package/dist/components/Flag/flag-components/ee.d.ts +0 -3
  408. package/dist/components/Flag/flag-components/ee.js +0 -41
  409. package/dist/components/Flag/flag-components/eg.d.ts +0 -3
  410. package/dist/components/Flag/flag-components/eg.js +0 -48
  411. package/dist/components/Flag/flag-components/er.d.ts +0 -3
  412. package/dist/components/Flag/flag-components/er.js +0 -48
  413. package/dist/components/Flag/flag-components/es.d.ts +0 -3
  414. package/dist/components/Flag/flag-components/es.js +0 -41
  415. package/dist/components/Flag/flag-components/et.d.ts +0 -3
  416. package/dist/components/Flag/flag-components/et.js +0 -62
  417. package/dist/components/Flag/flag-components/eu.d.ts +0 -3
  418. package/dist/components/Flag/flag-components/eu.js +0 -83
  419. package/dist/components/Flag/flag-components/fi.d.ts +0 -3
  420. package/dist/components/Flag/flag-components/fi.js +0 -34
  421. package/dist/components/Flag/flag-components/fj.d.ts +0 -3
  422. package/dist/components/Flag/flag-components/fj.js +0 -77
  423. package/dist/components/Flag/flag-components/fk.d.ts +0 -3
  424. package/dist/components/Flag/flag-components/fk.js +0 -83
  425. package/dist/components/Flag/flag-components/fm.d.ts +0 -3
  426. package/dist/components/Flag/flag-components/fm.js +0 -55
  427. package/dist/components/Flag/flag-components/fo.d.ts +0 -3
  428. package/dist/components/Flag/flag-components/fo.js +0 -41
  429. package/dist/components/Flag/flag-components/fr.d.ts +0 -3
  430. package/dist/components/Flag/flag-components/fr.js +0 -41
  431. package/dist/components/Flag/flag-components/ga.d.ts +0 -3
  432. package/dist/components/Flag/flag-components/ga.js +0 -41
  433. package/dist/components/Flag/flag-components/gb.d.ts +0 -3
  434. package/dist/components/Flag/flag-components/gb.js +0 -118
  435. package/dist/components/Flag/flag-components/gd.d.ts +0 -3
  436. package/dist/components/Flag/flag-components/gd.js +0 -140
  437. package/dist/components/Flag/flag-components/ge.d.ts +0 -3
  438. package/dist/components/Flag/flag-components/ge.js +0 -62
  439. package/dist/components/Flag/flag-components/gg.d.ts +0 -3
  440. package/dist/components/Flag/flag-components/gg.js +0 -41
  441. package/dist/components/Flag/flag-components/gh.d.ts +0 -3
  442. package/dist/components/Flag/flag-components/gh.js +0 -48
  443. package/dist/components/Flag/flag-components/gi.d.ts +0 -3
  444. package/dist/components/Flag/flag-components/gi.js +0 -48
  445. package/dist/components/Flag/flag-components/gl.d.ts +0 -3
  446. package/dist/components/Flag/flag-components/gl.js +0 -48
  447. package/dist/components/Flag/flag-components/gm.d.ts +0 -3
  448. package/dist/components/Flag/flag-components/gm.js +0 -48
  449. package/dist/components/Flag/flag-components/gn.d.ts +0 -3
  450. package/dist/components/Flag/flag-components/gn.js +0 -41
  451. package/dist/components/Flag/flag-components/gp.d.ts +0 -3
  452. package/dist/components/Flag/flag-components/gp.js +0 -41
  453. package/dist/components/Flag/flag-components/gq.d.ts +0 -3
  454. package/dist/components/Flag/flag-components/gq.js +0 -63
  455. package/dist/components/Flag/flag-components/gr.d.ts +0 -3
  456. package/dist/components/Flag/flag-components/gr.js +0 -62
  457. package/dist/components/Flag/flag-components/gt.d.ts +0 -3
  458. package/dist/components/Flag/flag-components/gt.js +0 -55
  459. package/dist/components/Flag/flag-components/gu.d.ts +0 -3
  460. package/dist/components/Flag/flag-components/gu.js +0 -71
  461. package/dist/components/Flag/flag-components/gw.d.ts +0 -3
  462. package/dist/components/Flag/flag-components/gw.js +0 -55
  463. package/dist/components/Flag/flag-components/gy.d.ts +0 -3
  464. package/dist/components/Flag/flag-components/gy.js +0 -62
  465. package/dist/components/Flag/flag-components/hk.d.ts +0 -3
  466. package/dist/components/Flag/flag-components/hk.js +0 -62
  467. package/dist/components/Flag/flag-components/hn.d.ts +0 -3
  468. package/dist/components/Flag/flag-components/hn.js +0 -76
  469. package/dist/components/Flag/flag-components/hr.d.ts +0 -3
  470. package/dist/components/Flag/flag-components/hr.js +0 -108
  471. package/dist/components/Flag/flag-components/ht.d.ts +0 -3
  472. package/dist/components/Flag/flag-components/ht.js +0 -64
  473. package/dist/components/Flag/flag-components/hu.d.ts +0 -3
  474. package/dist/components/Flag/flag-components/hu.js +0 -41
  475. package/dist/components/Flag/flag-components/id.d.ts +0 -3
  476. package/dist/components/Flag/flag-components/id.js +0 -34
  477. package/dist/components/Flag/flag-components/ie.d.ts +0 -3
  478. package/dist/components/Flag/flag-components/ie.js +0 -41
  479. package/dist/components/Flag/flag-components/il.d.ts +0 -3
  480. package/dist/components/Flag/flag-components/il.js +0 -48
  481. package/dist/components/Flag/flag-components/im.d.ts +0 -3
  482. package/dist/components/Flag/flag-components/im.js +0 -34
  483. package/dist/components/Flag/flag-components/in.d.ts +0 -3
  484. package/dist/components/Flag/flag-components/in.js +0 -62
  485. package/dist/components/Flag/flag-components/index.d.ts +0 -232
  486. package/dist/components/Flag/flag-components/index.js +0 -466
  487. package/dist/components/Flag/flag-components/io.d.ts +0 -3
  488. package/dist/components/Flag/flag-components/io.js +0 -136
  489. package/dist/components/Flag/flag-components/iq.d.ts +0 -3
  490. package/dist/components/Flag/flag-components/iq.js +0 -62
  491. package/dist/components/Flag/flag-components/ir.d.ts +0 -3
  492. package/dist/components/Flag/flag-components/ir.js +0 -48
  493. package/dist/components/Flag/flag-components/is.d.ts +0 -3
  494. package/dist/components/Flag/flag-components/is.js +0 -62
  495. package/dist/components/Flag/flag-components/it.d.ts +0 -3
  496. package/dist/components/Flag/flag-components/it.js +0 -41
  497. package/dist/components/Flag/flag-components/je.d.ts +0 -3
  498. package/dist/components/Flag/flag-components/je.js +0 -48
  499. package/dist/components/Flag/flag-components/jm.d.ts +0 -3
  500. package/dist/components/Flag/flag-components/jm.js +0 -55
  501. package/dist/components/Flag/flag-components/jo.d.ts +0 -3
  502. package/dist/components/Flag/flag-components/jo.js +0 -55
  503. package/dist/components/Flag/flag-components/jp.d.ts +0 -3
  504. package/dist/components/Flag/flag-components/jp.js +0 -34
  505. package/dist/components/Flag/flag-components/ke.d.ts +0 -3
  506. package/dist/components/Flag/flag-components/ke.js +0 -90
  507. package/dist/components/Flag/flag-components/kg.d.ts +0 -3
  508. package/dist/components/Flag/flag-components/kg.js +0 -69
  509. package/dist/components/Flag/flag-components/kh.d.ts +0 -3
  510. package/dist/components/Flag/flag-components/kh.js +0 -48
  511. package/dist/components/Flag/flag-components/ki.d.ts +0 -3
  512. package/dist/components/Flag/flag-components/ki.js +0 -76
  513. package/dist/components/Flag/flag-components/km.d.ts +0 -3
  514. package/dist/components/Flag/flag-components/km.js +0 -90
  515. package/dist/components/Flag/flag-components/kp.d.ts +0 -3
  516. package/dist/components/Flag/flag-components/kp.js +0 -62
  517. package/dist/components/Flag/flag-components/kr.d.ts +0 -3
  518. package/dist/components/Flag/flag-components/kr.js +0 -167
  519. package/dist/components/Flag/flag-components/kw.d.ts +0 -3
  520. package/dist/components/Flag/flag-components/kw.js +0 -48
  521. package/dist/components/Flag/flag-components/ky.d.ts +0 -3
  522. package/dist/components/Flag/flag-components/ky.js +0 -91
  523. package/dist/components/Flag/flag-components/kz.d.ts +0 -3
  524. package/dist/components/Flag/flag-components/kz.js +0 -48
  525. package/dist/components/Flag/flag-components/la.d.ts +0 -3
  526. package/dist/components/Flag/flag-components/la.js +0 -48
  527. package/dist/components/Flag/flag-components/lb.d.ts +0 -3
  528. package/dist/components/Flag/flag-components/lb.js +0 -48
  529. package/dist/components/Flag/flag-components/lc.d.ts +0 -3
  530. package/dist/components/Flag/flag-components/lc.js +0 -30
  531. package/dist/components/Flag/flag-components/li.d.ts +0 -3
  532. package/dist/components/Flag/flag-components/li.js +0 -41
  533. package/dist/components/Flag/flag-components/lk.d.ts +0 -3
  534. package/dist/components/Flag/flag-components/lk.js +0 -50
  535. package/dist/components/Flag/flag-components/lr.d.ts +0 -3
  536. package/dist/components/Flag/flag-components/lr.js +0 -118
  537. package/dist/components/Flag/flag-components/ls.d.ts +0 -3
  538. package/dist/components/Flag/flag-components/ls.js +0 -48
  539. package/dist/components/Flag/flag-components/lt.d.ts +0 -3
  540. package/dist/components/Flag/flag-components/lt.js +0 -41
  541. package/dist/components/Flag/flag-components/lu.d.ts +0 -3
  542. package/dist/components/Flag/flag-components/lu.js +0 -41
  543. package/dist/components/Flag/flag-components/lv.d.ts +0 -3
  544. package/dist/components/Flag/flag-components/lv.js +0 -41
  545. package/dist/components/Flag/flag-components/ly.d.ts +0 -3
  546. package/dist/components/Flag/flag-components/ly.js +0 -55
  547. package/dist/components/Flag/flag-components/ma.d.ts +0 -3
  548. package/dist/components/Flag/flag-components/ma.js +0 -34
  549. package/dist/components/Flag/flag-components/mc.d.ts +0 -3
  550. package/dist/components/Flag/flag-components/mc.js +0 -34
  551. package/dist/components/Flag/flag-components/md.d.ts +0 -3
  552. package/dist/components/Flag/flag-components/md.js +0 -56
  553. package/dist/components/Flag/flag-components/me.d.ts +0 -3
  554. package/dist/components/Flag/flag-components/me.js +0 -56
  555. package/dist/components/Flag/flag-components/mg.d.ts +0 -3
  556. package/dist/components/Flag/flag-components/mg.js +0 -41
  557. package/dist/components/Flag/flag-components/mh.d.ts +0 -3
  558. package/dist/components/Flag/flag-components/mh.js +0 -48
  559. package/dist/components/Flag/flag-components/mk.d.ts +0 -3
  560. package/dist/components/Flag/flag-components/mk.js +0 -97
  561. package/dist/components/Flag/flag-components/ml.d.ts +0 -3
  562. package/dist/components/Flag/flag-components/ml.js +0 -41
  563. package/dist/components/Flag/flag-components/mm.d.ts +0 -3
  564. package/dist/components/Flag/flag-components/mm.js +0 -48
  565. package/dist/components/Flag/flag-components/mn.d.ts +0 -3
  566. package/dist/components/Flag/flag-components/mn.js +0 -66
  567. package/dist/components/Flag/flag-components/mo.d.ts +0 -3
  568. package/dist/components/Flag/flag-components/mo.js +0 -83
  569. package/dist/components/Flag/flag-components/mp.d.ts +0 -3
  570. package/dist/components/Flag/flag-components/mp.js +0 -55
  571. package/dist/components/Flag/flag-components/mq.d.ts +0 -3
  572. package/dist/components/Flag/flag-components/mq.js +0 -83
  573. package/dist/components/Flag/flag-components/mr.d.ts +0 -3
  574. package/dist/components/Flag/flag-components/mr.js +0 -41
  575. package/dist/components/Flag/flag-components/ms.d.ts +0 -3
  576. package/dist/components/Flag/flag-components/ms.js +0 -76
  577. package/dist/components/Flag/flag-components/mt.d.ts +0 -3
  578. package/dist/components/Flag/flag-components/mt.js +0 -41
  579. package/dist/components/Flag/flag-components/mu.d.ts +0 -3
  580. package/dist/components/Flag/flag-components/mu.js +0 -48
  581. package/dist/components/Flag/flag-components/mv.d.ts +0 -3
  582. package/dist/components/Flag/flag-components/mv.js +0 -35
  583. package/dist/components/Flag/flag-components/mw.d.ts +0 -3
  584. package/dist/components/Flag/flag-components/mw.js +0 -48
  585. package/dist/components/Flag/flag-components/mx.d.ts +0 -3
  586. package/dist/components/Flag/flag-components/mx.js +0 -55
  587. package/dist/components/Flag/flag-components/my.d.ts +0 -3
  588. package/dist/components/Flag/flag-components/my.js +0 -76
  589. package/dist/components/Flag/flag-components/mz.d.ts +0 -3
  590. package/dist/components/Flag/flag-components/mz.js +0 -70
  591. package/dist/components/Flag/flag-components/na.d.ts +0 -3
  592. package/dist/components/Flag/flag-components/na.js +0 -55
  593. package/dist/components/Flag/flag-components/ne.d.ts +0 -3
  594. package/dist/components/Flag/flag-components/ne.js +0 -48
  595. package/dist/components/Flag/flag-components/nf.d.ts +0 -3
  596. package/dist/components/Flag/flag-components/nf.js +0 -48
  597. package/dist/components/Flag/flag-components/ng.d.ts +0 -3
  598. package/dist/components/Flag/flag-components/ng.js +0 -41
  599. package/dist/components/Flag/flag-components/ni.d.ts +0 -3
  600. package/dist/components/Flag/flag-components/ni.js +0 -63
  601. package/dist/components/Flag/flag-components/nl.d.ts +0 -3
  602. package/dist/components/Flag/flag-components/nl.js +0 -41
  603. package/dist/components/Flag/flag-components/no.d.ts +0 -3
  604. package/dist/components/Flag/flag-components/no.js +0 -62
  605. package/dist/components/Flag/flag-components/np.d.ts +0 -3
  606. package/dist/components/Flag/flag-components/np.js +0 -63
  607. package/dist/components/Flag/flag-components/nr.d.ts +0 -3
  608. package/dist/components/Flag/flag-components/nr.js +0 -55
  609. package/dist/components/Flag/flag-components/nu.d.ts +0 -3
  610. package/dist/components/Flag/flag-components/nu.js +0 -91
  611. package/dist/components/Flag/flag-components/nz.d.ts +0 -3
  612. package/dist/components/Flag/flag-components/nz.js +0 -83
  613. package/dist/components/Flag/flag-components/om.d.ts +0 -3
  614. package/dist/components/Flag/flag-components/om.js +0 -62
  615. package/dist/components/Flag/flag-components/pa.d.ts +0 -3
  616. package/dist/components/Flag/flag-components/pa.js +0 -55
  617. package/dist/components/Flag/flag-components/pe.d.ts +0 -3
  618. package/dist/components/Flag/flag-components/pe.js +0 -41
  619. package/dist/components/Flag/flag-components/pf.d.ts +0 -3
  620. package/dist/components/Flag/flag-components/pf.js +0 -58
  621. package/dist/components/Flag/flag-components/pg.d.ts +0 -3
  622. package/dist/components/Flag/flag-components/pg.js +0 -76
  623. package/dist/components/Flag/flag-components/ph.d.ts +0 -3
  624. package/dist/components/Flag/flag-components/ph.js +0 -69
  625. package/dist/components/Flag/flag-components/pk.d.ts +0 -3
  626. package/dist/components/Flag/flag-components/pk.js +0 -55
  627. package/dist/components/Flag/flag-components/pl.d.ts +0 -3
  628. package/dist/components/Flag/flag-components/pl.js +0 -34
  629. package/dist/components/Flag/flag-components/pn.d.ts +0 -3
  630. package/dist/components/Flag/flag-components/pn.js +0 -83
  631. package/dist/components/Flag/flag-components/pr.d.ts +0 -3
  632. package/dist/components/Flag/flag-components/pr.js +0 -62
  633. package/dist/components/Flag/flag-components/ps.d.ts +0 -3
  634. package/dist/components/Flag/flag-components/ps.js +0 -48
  635. package/dist/components/Flag/flag-components/pt.d.ts +0 -3
  636. package/dist/components/Flag/flag-components/pt.js +0 -55
  637. package/dist/components/Flag/flag-components/pw.d.ts +0 -3
  638. package/dist/components/Flag/flag-components/pw.js +0 -34
  639. package/dist/components/Flag/flag-components/py.d.ts +0 -3
  640. package/dist/components/Flag/flag-components/py.js +0 -55
  641. package/dist/components/Flag/flag-components/qa.d.ts +0 -3
  642. package/dist/components/Flag/flag-components/qa.js +0 -34
  643. package/dist/components/Flag/flag-components/ro.d.ts +0 -3
  644. package/dist/components/Flag/flag-components/ro.js +0 -41
  645. package/dist/components/Flag/flag-components/rs.d.ts +0 -3
  646. package/dist/components/Flag/flag-components/rs.js +0 -69
  647. package/dist/components/Flag/flag-components/ru.d.ts +0 -3
  648. package/dist/components/Flag/flag-components/ru.js +0 -41
  649. package/dist/components/Flag/flag-components/rw.d.ts +0 -3
  650. package/dist/components/Flag/flag-components/rw.js +0 -48
  651. package/dist/components/Flag/flag-components/sa.d.ts +0 -3
  652. package/dist/components/Flag/flag-components/sa.js +0 -57
  653. package/dist/components/Flag/flag-components/sb.d.ts +0 -3
  654. package/dist/components/Flag/flag-components/sb.js +0 -76
  655. package/dist/components/Flag/flag-components/sc.d.ts +0 -3
  656. package/dist/components/Flag/flag-components/sc.js +0 -55
  657. package/dist/components/Flag/flag-components/sd.d.ts +0 -3
  658. package/dist/components/Flag/flag-components/sd.js +0 -48
  659. package/dist/components/Flag/flag-components/se.d.ts +0 -3
  660. package/dist/components/Flag/flag-components/se.js +0 -63
  661. package/dist/components/Flag/flag-components/sg.d.ts +0 -3
  662. package/dist/components/Flag/flag-components/sg.js +0 -76
  663. package/dist/components/Flag/flag-components/si.d.ts +0 -3
  664. package/dist/components/Flag/flag-components/si.js +0 -48
  665. package/dist/components/Flag/flag-components/sk.d.ts +0 -3
  666. package/dist/components/Flag/flag-components/sk.js +0 -69
  667. package/dist/components/Flag/flag-components/sl.d.ts +0 -3
  668. package/dist/components/Flag/flag-components/sl.js +0 -41
  669. package/dist/components/Flag/flag-components/sm.d.ts +0 -3
  670. package/dist/components/Flag/flag-components/sm.js +0 -69
  671. package/dist/components/Flag/flag-components/sn.d.ts +0 -3
  672. package/dist/components/Flag/flag-components/sn.js +0 -48
  673. package/dist/components/Flag/flag-components/so.d.ts +0 -3
  674. package/dist/components/Flag/flag-components/so.js +0 -34
  675. package/dist/components/Flag/flag-components/sr.d.ts +0 -3
  676. package/dist/components/Flag/flag-components/sr.js +0 -55
  677. package/dist/components/Flag/flag-components/ss.d.ts +0 -3
  678. package/dist/components/Flag/flag-components/ss.js +0 -62
  679. package/dist/components/Flag/flag-components/st.d.ts +0 -3
  680. package/dist/components/Flag/flag-components/st.js +0 -62
  681. package/dist/components/Flag/flag-components/sv.d.ts +0 -3
  682. package/dist/components/Flag/flag-components/sv.js +0 -56
  683. package/dist/components/Flag/flag-components/sx.d.ts +0 -3
  684. package/dist/components/Flag/flag-components/sx.js +0 -76
  685. package/dist/components/Flag/flag-components/sy.d.ts +0 -3
  686. package/dist/components/Flag/flag-components/sy.js +0 -55
  687. package/dist/components/Flag/flag-components/sz.d.ts +0 -3
  688. package/dist/components/Flag/flag-components/sz.js +0 -80
  689. package/dist/components/Flag/flag-components/tc.d.ts +0 -3
  690. package/dist/components/Flag/flag-components/tc.js +0 -90
  691. package/dist/components/Flag/flag-components/td.d.ts +0 -3
  692. package/dist/components/Flag/flag-components/td.js +0 -41
  693. package/dist/components/Flag/flag-components/tg.d.ts +0 -3
  694. package/dist/components/Flag/flag-components/tg.js +0 -62
  695. package/dist/components/Flag/flag-components/th.d.ts +0 -3
  696. package/dist/components/Flag/flag-components/th.js +0 -48
  697. package/dist/components/Flag/flag-components/tj.d.ts +0 -3
  698. package/dist/components/Flag/flag-components/tj.js +0 -97
  699. package/dist/components/Flag/flag-components/tk.d.ts +0 -3
  700. package/dist/components/Flag/flag-components/tk.js +0 -62
  701. package/dist/components/Flag/flag-components/tl.d.ts +0 -3
  702. package/dist/components/Flag/flag-components/tl.js +0 -48
  703. package/dist/components/Flag/flag-components/tm.d.ts +0 -3
  704. package/dist/components/Flag/flag-components/tm.js +0 -161
  705. package/dist/components/Flag/flag-components/tn.d.ts +0 -3
  706. package/dist/components/Flag/flag-components/tn.js +0 -48
  707. package/dist/components/Flag/flag-components/to.d.ts +0 -3
  708. package/dist/components/Flag/flag-components/to.js +0 -41
  709. package/dist/components/Flag/flag-components/tr.d.ts +0 -3
  710. package/dist/components/Flag/flag-components/tr.js +0 -41
  711. package/dist/components/Flag/flag-components/tt.d.ts +0 -3
  712. package/dist/components/Flag/flag-components/tt.js +0 -48
  713. package/dist/components/Flag/flag-components/tv.d.ts +0 -3
  714. package/dist/components/Flag/flag-components/tv.js +0 -120
  715. package/dist/components/Flag/flag-components/tw.d.ts +0 -3
  716. package/dist/components/Flag/flag-components/tw.js +0 -55
  717. package/dist/components/Flag/flag-components/tz.d.ts +0 -3
  718. package/dist/components/Flag/flag-components/tz.js +0 -48
  719. package/dist/components/Flag/flag-components/ua.d.ts +0 -3
  720. package/dist/components/Flag/flag-components/ua.js +0 -34
  721. package/dist/components/Flag/flag-components/ug.d.ts +0 -3
  722. package/dist/components/Flag/flag-components/ug.js +0 -69
  723. package/dist/components/Flag/flag-components/us.d.ts +0 -3
  724. package/dist/components/Flag/flag-components/us.js +0 -62
  725. package/dist/components/Flag/flag-components/uy.d.ts +0 -3
  726. package/dist/components/Flag/flag-components/uy.js +0 -69
  727. package/dist/components/Flag/flag-components/uz.d.ts +0 -3
  728. package/dist/components/Flag/flag-components/uz.js +0 -146
  729. package/dist/components/Flag/flag-components/va.d.ts +0 -3
  730. package/dist/components/Flag/flag-components/va.js +0 -48
  731. package/dist/components/Flag/flag-components/vc.d.ts +0 -3
  732. package/dist/components/Flag/flag-components/vc.js +0 -70
  733. package/dist/components/Flag/flag-components/ve.d.ts +0 -3
  734. package/dist/components/Flag/flag-components/ve.js +0 -97
  735. package/dist/components/Flag/flag-components/vg.d.ts +0 -3
  736. package/dist/components/Flag/flag-components/vg.js +0 -83
  737. package/dist/components/Flag/flag-components/vn.d.ts +0 -3
  738. package/dist/components/Flag/flag-components/vn.js +0 -34
  739. package/dist/components/Flag/flag-components/vu.d.ts +0 -3
  740. package/dist/components/Flag/flag-components/vu.js +0 -189
  741. package/dist/components/Flag/flag-components/ws.d.ts +0 -3
  742. package/dist/components/Flag/flag-components/ws.js +0 -69
  743. package/dist/components/Flag/flag-components/xk.d.ts +0 -3
  744. package/dist/components/Flag/flag-components/xk.js +0 -76
  745. package/dist/components/Flag/flag-components/ye.d.ts +0 -3
  746. package/dist/components/Flag/flag-components/ye.js +0 -41
  747. package/dist/components/Flag/flag-components/za.d.ts +0 -3
  748. package/dist/components/Flag/flag-components/za.js +0 -62
  749. package/dist/components/Flag/flag-components/zm.d.ts +0 -3
  750. package/dist/components/Flag/flag-components/zm.js +0 -55
  751. package/dist/components/Flag/flag-components/zw.d.ts +0 -3
  752. package/dist/components/Flag/flag-components/zw.js +0 -97
  753. package/dist/components/Flag/index.js +0 -8
  754. package/dist/components/Form/index.js +0 -4
  755. package/dist/components/Icons/Eye.js +0 -40
  756. package/dist/components/Icons/EyeClosed.js +0 -60
  757. package/dist/components/Input/index.js +0 -6
  758. package/dist/components/ListItem/index.js +0 -4
  759. package/dist/components/Marble/index.js +0 -4
  760. package/dist/components/NumberPad/index.js +0 -4
  761. package/dist/components/OTPField/index.js +0 -4
  762. package/dist/components/PasswordField/PasswordField.js +0 -45
  763. package/dist/components/PasswordField/index.js +0 -4
  764. package/dist/components/PasteButton/index.js +0 -4
  765. package/dist/components/PhoneField/index.js +0 -6
  766. package/dist/components/Pill/index.js +0 -4
  767. package/dist/components/Progress/index.js +0 -4
  768. package/dist/components/RadioGroup/index.js +0 -6
  769. package/dist/components/SearchField/index.js +0 -4
  770. package/dist/components/Select/index.js +0 -4
  771. package/dist/components/Spinner/index.js +0 -4
  772. package/dist/components/Switch/index.js +0 -4
  773. package/dist/components/Tabs/index.js +0 -5
  774. package/dist/components/Tabs/types.js +0 -1
  775. package/dist/components/TextArea/index.js +0 -4
  776. package/dist/components/Toast/index.js +0 -12
  777. package/dist/components/ToggleGroup/index.js +0 -5
  778. package/dist/components/ToggleGroup/types.js +0 -1
  779. package/dist/components/Token/icons/types.js +0 -1
  780. package/dist/components/Token/index.js +0 -4
  781. package/dist/components/TopBar/index.js +0 -4
  782. package/dist/components/Typography/index.js +0 -5
  783. package/dist/components/WalletAddressField/index.js +0 -4
  784. package/dist/node_modules/.pnpm/countries-list@3.1.1/node_modules/countries-list/mjs/index.js +0 -8
  785. package/public/fonts/TWKLausanne-350.woff +0 -0
  786. package/public/fonts/TWKLausanne-350Italic.woff +0 -0
  787. package/public/fonts/TWKLausanne-500.woff +0 -0
  788. package/public/fonts/TWKLausanne-500Italic.woff +0 -0
  789. package/public/fonts/TWKLausanne-600.woff +0 -0
  790. package/public/fonts/TWKLausanne-600Italic.woff +0 -0
  791. package/public/globals.css +0 -2297
  792. package/public/images/marbles/marble1.png +0 -0
  793. package/public/images/marbles/marble2.png +0 -0
  794. package/public/images/marbles/marble3.svg +0 -36
@@ -1,262 +1,462 @@
1
- const B = "-", oe = (e) => {
2
- const r = se(e), {
3
- conflictingClassGroups: t,
4
- conflictingClassGroupModifiers: o
5
- } = e;
6
- return {
7
- getClassGroupId: (i) => {
8
- const s = i.split(B);
9
- return s[0] === "" && s.length !== 1 && s.shift(), Y(s, r) || ne(i);
10
- },
11
- getConflictingClassGroupIds: (i, s) => {
12
- const u = t[i] || [];
13
- return s && o[i] ? [...u, ...o[i]] : u;
1
+ const CLASS_PART_SEPARATOR = "-";
2
+ const createClassGroupUtils = (config) => {
3
+ const classMap = createClassMap(config);
4
+ const {
5
+ conflictingClassGroups,
6
+ conflictingClassGroupModifiers
7
+ } = config;
8
+ const getClassGroupId = (className) => {
9
+ const classParts = className.split(CLASS_PART_SEPARATOR);
10
+ if (classParts[0] === "" && classParts.length !== 1) {
11
+ classParts.shift();
14
12
  }
13
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
14
+ };
15
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
16
+ const conflicts = conflictingClassGroups[classGroupId] || [];
17
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
18
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
19
+ }
20
+ return conflicts;
21
+ };
22
+ return {
23
+ getClassGroupId,
24
+ getConflictingClassGroupIds
15
25
  };
16
- }, Y = (e, r) => {
17
- var i;
18
- if (e.length === 0)
19
- return r.classGroupId;
20
- const t = e[0], o = r.nextPart.get(t), a = o ? Y(e.slice(1), o) : void 0;
21
- if (a)
22
- return a;
23
- if (r.validators.length === 0)
24
- return;
25
- const n = e.join(B);
26
- return (i = r.validators.find(({
27
- validator: s
28
- }) => s(n))) == null ? void 0 : i.classGroupId;
29
- }, K = /^\[(.+)\]$/, ne = (e) => {
30
- if (K.test(e)) {
31
- const r = K.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
32
- if (t)
33
- return "arbitrary.." + t;
26
+ };
27
+ const getGroupRecursive = (classParts, classPartObject) => {
28
+ var _a;
29
+ if (classParts.length === 0) {
30
+ return classPartObject.classGroupId;
31
+ }
32
+ const currentClassPart = classParts[0];
33
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
34
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
35
+ if (classGroupFromNextClassPart) {
36
+ return classGroupFromNextClassPart;
34
37
  }
35
- }, se = (e) => {
38
+ if (classPartObject.validators.length === 0) {
39
+ return void 0;
40
+ }
41
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
42
+ return (_a = classPartObject.validators.find(({
43
+ validator
44
+ }) => validator(classRest))) == null ? void 0 : _a.classGroupId;
45
+ };
46
+ const arbitraryPropertyRegex = /^\[(.+)\]$/;
47
+ const getGroupIdForArbitraryProperty = (className) => {
48
+ if (arbitraryPropertyRegex.test(className)) {
49
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
50
+ const property = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(":"));
51
+ if (property) {
52
+ return "arbitrary.." + property;
53
+ }
54
+ }
55
+ };
56
+ const createClassMap = (config) => {
36
57
  const {
37
- theme: r,
38
- prefix: t
39
- } = e, o = {
58
+ theme,
59
+ prefix
60
+ } = config;
61
+ const classMap = {
40
62
  nextPart: /* @__PURE__ */ new Map(),
41
63
  validators: []
42
64
  };
43
- return ie(Object.entries(e.classGroups), t).forEach(([n, i]) => {
44
- $(i, o, n, r);
45
- }), o;
46
- }, $ = (e, r, t, o) => {
47
- e.forEach((a) => {
48
- if (typeof a == "string") {
49
- const n = a === "" ? r : Q(r, a);
50
- n.classGroupId = t;
65
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
66
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
67
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
68
+ });
69
+ return classMap;
70
+ };
71
+ const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
72
+ classGroup.forEach((classDefinition) => {
73
+ if (typeof classDefinition === "string") {
74
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
75
+ classPartObjectToEdit.classGroupId = classGroupId;
51
76
  return;
52
77
  }
53
- if (typeof a == "function") {
54
- if (le(a)) {
55
- $(a(o), r, t, o);
78
+ if (typeof classDefinition === "function") {
79
+ if (isThemeGetter(classDefinition)) {
80
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
56
81
  return;
57
82
  }
58
- r.validators.push({
59
- validator: a,
60
- classGroupId: t
83
+ classPartObject.validators.push({
84
+ validator: classDefinition,
85
+ classGroupId
61
86
  });
62
87
  return;
63
88
  }
64
- Object.entries(a).forEach(([n, i]) => {
65
- $(i, Q(r, n), t, o);
89
+ Object.entries(classDefinition).forEach(([key, classGroup2]) => {
90
+ processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
91
+ });
92
+ });
93
+ };
94
+ const getPart = (classPartObject, path) => {
95
+ let currentClassPartObject = classPartObject;
96
+ path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
97
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
98
+ currentClassPartObject.nextPart.set(pathPart, {
99
+ nextPart: /* @__PURE__ */ new Map(),
100
+ validators: []
101
+ });
102
+ }
103
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
104
+ });
105
+ return currentClassPartObject;
106
+ };
107
+ const isThemeGetter = (func) => func.isThemeGetter;
108
+ const getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
109
+ if (!prefix) {
110
+ return classGroupEntries;
111
+ }
112
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
113
+ const prefixedClassGroup = classGroup.map((classDefinition) => {
114
+ if (typeof classDefinition === "string") {
115
+ return prefix + classDefinition;
116
+ }
117
+ if (typeof classDefinition === "object") {
118
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
119
+ }
120
+ return classDefinition;
66
121
  });
122
+ return [classGroupId, prefixedClassGroup];
67
123
  });
68
- }, Q = (e, r) => {
69
- let t = e;
70
- return r.split(B).forEach((o) => {
71
- t.nextPart.has(o) || t.nextPart.set(o, {
72
- nextPart: /* @__PURE__ */ new Map(),
73
- validators: []
74
- }), t = t.nextPart.get(o);
75
- }), t;
76
- }, le = (e) => e.isThemeGetter, ie = (e, r) => r ? e.map(([t, o]) => {
77
- const a = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [r + i, s])) : n);
78
- return [t, a];
79
- }) : e, ae = (e) => {
80
- if (e < 1)
124
+ };
125
+ const createLruCache = (maxCacheSize) => {
126
+ if (maxCacheSize < 1) {
81
127
  return {
82
- get: () => {
83
- },
128
+ get: () => void 0,
84
129
  set: () => {
85
130
  }
86
131
  };
87
- let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
88
- const a = (n, i) => {
89
- t.set(n, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
132
+ }
133
+ let cacheSize = 0;
134
+ let cache = /* @__PURE__ */ new Map();
135
+ let previousCache = /* @__PURE__ */ new Map();
136
+ const update = (key, value) => {
137
+ cache.set(key, value);
138
+ cacheSize++;
139
+ if (cacheSize > maxCacheSize) {
140
+ cacheSize = 0;
141
+ previousCache = cache;
142
+ cache = /* @__PURE__ */ new Map();
143
+ }
90
144
  };
91
145
  return {
92
- get(n) {
93
- let i = t.get(n);
94
- if (i !== void 0)
95
- return i;
96
- if ((i = o.get(n)) !== void 0)
97
- return a(n, i), i;
146
+ get(key) {
147
+ let value = cache.get(key);
148
+ if (value !== void 0) {
149
+ return value;
150
+ }
151
+ if ((value = previousCache.get(key)) !== void 0) {
152
+ update(key, value);
153
+ return value;
154
+ }
98
155
  },
99
- set(n, i) {
100
- t.has(n) ? t.set(n, i) : a(n, i);
156
+ set(key, value) {
157
+ if (cache.has(key)) {
158
+ cache.set(key, value);
159
+ } else {
160
+ update(key, value);
161
+ }
101
162
  }
102
163
  };
103
- }, D = "!", ce = (e) => {
164
+ };
165
+ const IMPORTANT_MODIFIER = "!";
166
+ const createParseClassName = (config) => {
104
167
  const {
105
- separator: r,
106
- experimentalParseClassName: t
107
- } = e, o = r.length === 1, a = r[0], n = r.length, i = (s) => {
108
- const u = [];
109
- let g = 0, m = 0, y;
110
- for (let p = 0; p < s.length; p++) {
111
- let f = s[p];
112
- if (g === 0) {
113
- if (f === a && (o || s.slice(p, p + n) === r)) {
114
- u.push(s.slice(m, p)), m = p + n;
168
+ separator,
169
+ experimentalParseClassName
170
+ } = config;
171
+ const isSeparatorSingleCharacter = separator.length === 1;
172
+ const firstSeparatorCharacter = separator[0];
173
+ const separatorLength = separator.length;
174
+ const parseClassName = (className) => {
175
+ const modifiers = [];
176
+ let bracketDepth = 0;
177
+ let modifierStart = 0;
178
+ let postfixModifierPosition;
179
+ for (let index = 0; index < className.length; index++) {
180
+ let currentCharacter = className[index];
181
+ if (bracketDepth === 0) {
182
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
183
+ modifiers.push(className.slice(modifierStart, index));
184
+ modifierStart = index + separatorLength;
115
185
  continue;
116
186
  }
117
- if (f === "/") {
118
- y = p;
187
+ if (currentCharacter === "/") {
188
+ postfixModifierPosition = index;
119
189
  continue;
120
190
  }
121
191
  }
122
- f === "[" ? g++ : f === "]" && g--;
192
+ if (currentCharacter === "[") {
193
+ bracketDepth++;
194
+ } else if (currentCharacter === "]") {
195
+ bracketDepth--;
196
+ }
123
197
  }
124
- const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(D), w = v ? x.substring(1) : x, b = y && y > m ? y - m : void 0;
198
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
199
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
200
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
201
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
125
202
  return {
126
- modifiers: u,
127
- hasImportantModifier: v,
128
- baseClassName: w,
129
- maybePostfixModifierPosition: b
203
+ modifiers,
204
+ hasImportantModifier,
205
+ baseClassName,
206
+ maybePostfixModifierPosition
130
207
  };
131
208
  };
132
- return t ? (s) => t({
133
- className: s,
134
- parseClassName: i
135
- }) : i;
136
- }, de = (e) => {
137
- if (e.length <= 1)
138
- return e;
139
- const r = [];
140
- let t = [];
141
- return e.forEach((o) => {
142
- o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
143
- }), r.push(...t.sort()), r;
144
- }, pe = (e) => ({
145
- cache: ae(e.cacheSize),
146
- parseClassName: ce(e),
147
- ...oe(e)
148
- }), ue = /\s+/, be = (e, r) => {
209
+ if (experimentalParseClassName) {
210
+ return (className) => experimentalParseClassName({
211
+ className,
212
+ parseClassName
213
+ });
214
+ }
215
+ return parseClassName;
216
+ };
217
+ const sortModifiers = (modifiers) => {
218
+ if (modifiers.length <= 1) {
219
+ return modifiers;
220
+ }
221
+ const sortedModifiers = [];
222
+ let unsortedModifiers = [];
223
+ modifiers.forEach((modifier) => {
224
+ const isArbitraryVariant = modifier[0] === "[";
225
+ if (isArbitraryVariant) {
226
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
227
+ unsortedModifiers = [];
228
+ } else {
229
+ unsortedModifiers.push(modifier);
230
+ }
231
+ });
232
+ sortedModifiers.push(...unsortedModifiers.sort());
233
+ return sortedModifiers;
234
+ };
235
+ const createConfigUtils = (config) => ({
236
+ cache: createLruCache(config.cacheSize),
237
+ parseClassName: createParseClassName(config),
238
+ ...createClassGroupUtils(config)
239
+ });
240
+ const SPLIT_CLASSES_REGEX = /\s+/;
241
+ const mergeClassList = (classList, configUtils) => {
149
242
  const {
150
- parseClassName: t,
151
- getClassGroupId: o,
152
- getConflictingClassGroupIds: a
153
- } = r, n = [], i = e.trim().split(ue);
154
- let s = "";
155
- for (let u = i.length - 1; u >= 0; u -= 1) {
156
- const g = i[u], {
157
- modifiers: m,
158
- hasImportantModifier: y,
159
- baseClassName: x,
160
- maybePostfixModifierPosition: v
161
- } = t(g);
162
- let w = !!v, b = o(w ? x.substring(0, v) : x);
163
- if (!b) {
164
- if (!w) {
165
- s = g + (s.length > 0 ? " " + s : s);
243
+ parseClassName,
244
+ getClassGroupId,
245
+ getConflictingClassGroupIds
246
+ } = configUtils;
247
+ const classGroupsInConflict = [];
248
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
249
+ let result = "";
250
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
251
+ const originalClassName = classNames[index];
252
+ const {
253
+ modifiers,
254
+ hasImportantModifier,
255
+ baseClassName,
256
+ maybePostfixModifierPosition
257
+ } = parseClassName(originalClassName);
258
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
259
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
260
+ if (!classGroupId) {
261
+ if (!hasPostfixModifier) {
262
+ result = originalClassName + (result.length > 0 ? " " + result : result);
166
263
  continue;
167
264
  }
168
- if (b = o(x), !b) {
169
- s = g + (s.length > 0 ? " " + s : s);
265
+ classGroupId = getClassGroupId(baseClassName);
266
+ if (!classGroupId) {
267
+ result = originalClassName + (result.length > 0 ? " " + result : result);
170
268
  continue;
171
269
  }
172
- w = !1;
270
+ hasPostfixModifier = false;
173
271
  }
174
- const p = de(m).join(":"), f = y ? p + D : p, h = f + b;
175
- if (n.includes(h))
272
+ const variantModifier = sortModifiers(modifiers).join(":");
273
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
274
+ const classId = modifierId + classGroupId;
275
+ if (classGroupsInConflict.includes(classId)) {
176
276
  continue;
177
- n.push(h);
178
- const R = a(b, w);
179
- for (let A = 0; A < R.length; ++A) {
180
- const E = R[A];
181
- n.push(f + E);
182
277
  }
183
- s = g + (s.length > 0 ? " " + s : s);
278
+ classGroupsInConflict.push(classId);
279
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
280
+ for (let i = 0; i < conflictGroups.length; ++i) {
281
+ const group = conflictGroups[i];
282
+ classGroupsInConflict.push(modifierId + group);
283
+ }
284
+ result = originalClassName + (result.length > 0 ? " " + result : result);
184
285
  }
185
- return s;
286
+ return result;
186
287
  };
187
- function ge() {
188
- let e = 0, r, t, o = "";
189
- for (; e < arguments.length; )
190
- (r = arguments[e++]) && (t = ee(r)) && (o && (o += " "), o += t);
191
- return o;
288
+ function twJoin() {
289
+ let index = 0;
290
+ let argument;
291
+ let resolvedValue;
292
+ let string = "";
293
+ while (index < arguments.length) {
294
+ if (argument = arguments[index++]) {
295
+ if (resolvedValue = toValue(argument)) {
296
+ string && (string += " ");
297
+ string += resolvedValue;
298
+ }
299
+ }
300
+ }
301
+ return string;
192
302
  }
193
- const ee = (e) => {
194
- if (typeof e == "string")
195
- return e;
196
- let r, t = "";
197
- for (let o = 0; o < e.length; o++)
198
- e[o] && (r = ee(e[o])) && (t && (t += " "), t += r);
199
- return t;
303
+ const toValue = (mix) => {
304
+ if (typeof mix === "string") {
305
+ return mix;
306
+ }
307
+ let resolvedValue;
308
+ let string = "";
309
+ for (let k = 0; k < mix.length; k++) {
310
+ if (mix[k]) {
311
+ if (resolvedValue = toValue(mix[k])) {
312
+ string && (string += " ");
313
+ string += resolvedValue;
314
+ }
315
+ }
316
+ }
317
+ return string;
200
318
  };
201
- function fe(e, ...r) {
202
- let t, o, a, n = i;
203
- function i(u) {
204
- const g = r.reduce((m, y) => y(m), e());
205
- return t = pe(g), o = t.cache.get, a = t.cache.set, n = s, s(u);
319
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
320
+ let configUtils;
321
+ let cacheGet;
322
+ let cacheSet;
323
+ let functionToCall = initTailwindMerge;
324
+ function initTailwindMerge(classList) {
325
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
326
+ configUtils = createConfigUtils(config);
327
+ cacheGet = configUtils.cache.get;
328
+ cacheSet = configUtils.cache.set;
329
+ functionToCall = tailwindMerge;
330
+ return tailwindMerge(classList);
206
331
  }
207
- function s(u) {
208
- const g = o(u);
209
- if (g)
210
- return g;
211
- const m = be(u, t);
212
- return a(u, m), m;
332
+ function tailwindMerge(classList) {
333
+ const cachedResult = cacheGet(classList);
334
+ if (cachedResult) {
335
+ return cachedResult;
336
+ }
337
+ const result = mergeClassList(classList, configUtils);
338
+ cacheSet(classList, result);
339
+ return result;
213
340
  }
214
- return function() {
215
- return n(ge.apply(null, arguments));
341
+ return function callTailwindMerge() {
342
+ return functionToCall(twJoin.apply(null, arguments));
216
343
  };
217
344
  }
218
- const c = (e) => {
219
- const r = (t) => t[e] || [];
220
- return r.isThemeGetter = !0, r;
221
- }, re = /^\[(?:([a-z-]+):)?(.+)\]$/i, me = /^\d+\/\d+$/, he = /* @__PURE__ */ new Set(["px", "full", "screen"]), ye = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, we = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ve = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => M(e) || he.has(e) || me.test(e), z = (e) => G(e, "length", Ie), M = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => G(e, "number", M), P = (e) => !!e && Number.isInteger(Number(e)), Ce = (e) => e.endsWith("%") && M(e.slice(0, -1)), l = (e) => re.test(e), S = (e) => ye.test(e), ze = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Se = (e) => G(e, ze, te), Ae = (e) => G(e, "position", te), Me = /* @__PURE__ */ new Set(["image", "url"]), Ge = (e) => G(e, Me, je), Re = (e) => G(e, "", Pe), j = () => !0, G = (e, r, t) => {
222
- const o = re.exec(e);
223
- return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
224
- }, Ie = (e) => (
345
+ const fromTheme = (key) => {
346
+ const themeGetter = (theme) => theme[key] || [];
347
+ themeGetter.isThemeGetter = true;
348
+ return themeGetter;
349
+ };
350
+ const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
351
+ const fractionRegex = /^\d+\/\d+$/;
352
+ const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
353
+ const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
354
+ const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
355
+ const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
356
+ const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
357
+ const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
358
+ const isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
359
+ const isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
360
+ const isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
361
+ const isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
362
+ const isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
363
+ const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
364
+ const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
365
+ const isTshirtSize = (value) => tshirtUnitRegex.test(value);
366
+ const sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
367
+ const isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
368
+ const isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
369
+ const imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
370
+ const isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
371
+ const isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
372
+ const isAny = () => true;
373
+ const getIsArbitraryValue = (value, label, testValue) => {
374
+ const result = arbitraryValueRegex.exec(value);
375
+ if (result) {
376
+ if (result[1]) {
377
+ return typeof label === "string" ? result[1] === label : label.has(result[1]);
378
+ }
379
+ return testValue(result[2]);
380
+ }
381
+ return false;
382
+ };
383
+ const isLengthOnly = (value) => (
225
384
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
226
385
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
227
386
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
228
- xe.test(e) && !we.test(e)
229
- ), te = () => !1, Pe = (e) => ve.test(e), je = (e) => ke.test(e), Ee = () => {
230
- const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), i = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), R = c("saturate"), A = c("scale"), E = c("sepia"), U = c("skew"), F = c("space"), q = c("translate"), L = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", l, r], d = () => [l, r], J = () => ["", C, z], N = () => ["auto", M, l], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", l], H = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [M, l];
387
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
388
+ );
389
+ const isNever = () => false;
390
+ const isShadow = (value) => shadowRegex.test(value);
391
+ const isImage = (value) => imageRegex.test(value);
392
+ const getDefaultConfig = () => {
393
+ const colors = fromTheme("colors");
394
+ const spacing = fromTheme("spacing");
395
+ const blur = fromTheme("blur");
396
+ const brightness = fromTheme("brightness");
397
+ const borderColor = fromTheme("borderColor");
398
+ const borderRadius = fromTheme("borderRadius");
399
+ const borderSpacing = fromTheme("borderSpacing");
400
+ const borderWidth = fromTheme("borderWidth");
401
+ const contrast = fromTheme("contrast");
402
+ const grayscale = fromTheme("grayscale");
403
+ const hueRotate = fromTheme("hueRotate");
404
+ const invert = fromTheme("invert");
405
+ const gap = fromTheme("gap");
406
+ const gradientColorStops = fromTheme("gradientColorStops");
407
+ const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
408
+ const inset = fromTheme("inset");
409
+ const margin = fromTheme("margin");
410
+ const opacity = fromTheme("opacity");
411
+ const padding = fromTheme("padding");
412
+ const saturate = fromTheme("saturate");
413
+ const scale = fromTheme("scale");
414
+ const sepia = fromTheme("sepia");
415
+ const skew = fromTheme("skew");
416
+ const space = fromTheme("space");
417
+ const translate = fromTheme("translate");
418
+ const getOverscroll = () => ["auto", "contain", "none"];
419
+ const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
420
+ const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
421
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
422
+ const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
423
+ const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
424
+ const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
425
+ const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
426
+ const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
427
+ const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
428
+ const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
429
+ const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
430
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
231
431
  return {
232
432
  cacheSize: 500,
233
433
  separator: ":",
234
434
  theme: {
235
- colors: [j],
236
- spacing: [C, z],
237
- blur: ["none", "", S, l],
238
- brightness: k(),
239
- borderColor: [e],
240
- borderRadius: ["none", "", "full", S, l],
241
- borderSpacing: d(),
242
- borderWidth: J(),
243
- contrast: k(),
244
- grayscale: I(),
245
- hueRotate: k(),
246
- invert: I(),
247
- gap: d(),
248
- gradientColorStops: [e],
249
- gradientColorStopPositions: [Ce, z],
250
- inset: V(),
251
- margin: V(),
252
- opacity: k(),
253
- padding: d(),
254
- saturate: k(),
255
- scale: k(),
256
- sepia: I(),
257
- skew: k(),
258
- space: d(),
259
- translate: d()
435
+ colors: [isAny],
436
+ spacing: [isLength, isArbitraryLength],
437
+ blur: ["none", "", isTshirtSize, isArbitraryValue],
438
+ brightness: getNumberAndArbitrary(),
439
+ borderColor: [colors],
440
+ borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
441
+ borderSpacing: getSpacingWithArbitrary(),
442
+ borderWidth: getLengthWithEmptyAndArbitrary(),
443
+ contrast: getNumberAndArbitrary(),
444
+ grayscale: getZeroAndEmpty(),
445
+ hueRotate: getNumberAndArbitrary(),
446
+ invert: getZeroAndEmpty(),
447
+ gap: getSpacingWithArbitrary(),
448
+ gradientColorStops: [colors],
449
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
450
+ inset: getSpacingWithAutoAndArbitrary(),
451
+ margin: getSpacingWithAutoAndArbitrary(),
452
+ opacity: getNumberAndArbitrary(),
453
+ padding: getSpacingWithArbitrary(),
454
+ saturate: getNumberAndArbitrary(),
455
+ scale: getNumberAndArbitrary(),
456
+ sepia: getZeroAndEmpty(),
457
+ skew: getNumberAndArbitrary(),
458
+ space: getSpacingWithArbitrary(),
459
+ translate: getSpacingWithArbitrary()
260
460
  },
261
461
  classGroups: {
262
462
  // Layout
@@ -265,7 +465,7 @@ const c = (e) => {
265
465
  * @see https://tailwindcss.com/docs/aspect-ratio
266
466
  */
267
467
  aspect: [{
268
- aspect: ["auto", "square", "video", l]
468
+ aspect: ["auto", "square", "video", isArbitraryValue]
269
469
  }],
270
470
  /**
271
471
  * Container
@@ -277,21 +477,21 @@ const c = (e) => {
277
477
  * @see https://tailwindcss.com/docs/columns
278
478
  */
279
479
  columns: [{
280
- columns: [S]
480
+ columns: [isTshirtSize]
281
481
  }],
282
482
  /**
283
483
  * Break After
284
484
  * @see https://tailwindcss.com/docs/break-after
285
485
  */
286
486
  "break-after": [{
287
- "break-after": H()
487
+ "break-after": getBreaks()
288
488
  }],
289
489
  /**
290
490
  * Break Before
291
491
  * @see https://tailwindcss.com/docs/break-before
292
492
  */
293
493
  "break-before": [{
294
- "break-before": H()
494
+ "break-before": getBreaks()
295
495
  }],
296
496
  /**
297
497
  * Break Inside
@@ -350,49 +550,49 @@ const c = (e) => {
350
550
  * @see https://tailwindcss.com/docs/object-position
351
551
  */
352
552
  "object-position": [{
353
- object: [...X(), l]
553
+ object: [...getPositions(), isArbitraryValue]
354
554
  }],
355
555
  /**
356
556
  * Overflow
357
557
  * @see https://tailwindcss.com/docs/overflow
358
558
  */
359
559
  overflow: [{
360
- overflow: W()
560
+ overflow: getOverflow()
361
561
  }],
362
562
  /**
363
563
  * Overflow X
364
564
  * @see https://tailwindcss.com/docs/overflow
365
565
  */
366
566
  "overflow-x": [{
367
- "overflow-x": W()
567
+ "overflow-x": getOverflow()
368
568
  }],
369
569
  /**
370
570
  * Overflow Y
371
571
  * @see https://tailwindcss.com/docs/overflow
372
572
  */
373
573
  "overflow-y": [{
374
- "overflow-y": W()
574
+ "overflow-y": getOverflow()
375
575
  }],
376
576
  /**
377
577
  * Overscroll Behavior
378
578
  * @see https://tailwindcss.com/docs/overscroll-behavior
379
579
  */
380
580
  overscroll: [{
381
- overscroll: L()
581
+ overscroll: getOverscroll()
382
582
  }],
383
583
  /**
384
584
  * Overscroll Behavior X
385
585
  * @see https://tailwindcss.com/docs/overscroll-behavior
386
586
  */
387
587
  "overscroll-x": [{
388
- "overscroll-x": L()
588
+ "overscroll-x": getOverscroll()
389
589
  }],
390
590
  /**
391
591
  * Overscroll Behavior Y
392
592
  * @see https://tailwindcss.com/docs/overscroll-behavior
393
593
  */
394
594
  "overscroll-y": [{
395
- "overscroll-y": L()
595
+ "overscroll-y": getOverscroll()
396
596
  }],
397
597
  /**
398
598
  * Position
@@ -404,63 +604,63 @@ const c = (e) => {
404
604
  * @see https://tailwindcss.com/docs/top-right-bottom-left
405
605
  */
406
606
  inset: [{
407
- inset: [b]
607
+ inset: [inset]
408
608
  }],
409
609
  /**
410
610
  * Right / Left
411
611
  * @see https://tailwindcss.com/docs/top-right-bottom-left
412
612
  */
413
613
  "inset-x": [{
414
- "inset-x": [b]
614
+ "inset-x": [inset]
415
615
  }],
416
616
  /**
417
617
  * Top / Bottom
418
618
  * @see https://tailwindcss.com/docs/top-right-bottom-left
419
619
  */
420
620
  "inset-y": [{
421
- "inset-y": [b]
621
+ "inset-y": [inset]
422
622
  }],
423
623
  /**
424
624
  * Start
425
625
  * @see https://tailwindcss.com/docs/top-right-bottom-left
426
626
  */
427
627
  start: [{
428
- start: [b]
628
+ start: [inset]
429
629
  }],
430
630
  /**
431
631
  * End
432
632
  * @see https://tailwindcss.com/docs/top-right-bottom-left
433
633
  */
434
634
  end: [{
435
- end: [b]
635
+ end: [inset]
436
636
  }],
437
637
  /**
438
638
  * Top
439
639
  * @see https://tailwindcss.com/docs/top-right-bottom-left
440
640
  */
441
641
  top: [{
442
- top: [b]
642
+ top: [inset]
443
643
  }],
444
644
  /**
445
645
  * Right
446
646
  * @see https://tailwindcss.com/docs/top-right-bottom-left
447
647
  */
448
648
  right: [{
449
- right: [b]
649
+ right: [inset]
450
650
  }],
451
651
  /**
452
652
  * Bottom
453
653
  * @see https://tailwindcss.com/docs/top-right-bottom-left
454
654
  */
455
655
  bottom: [{
456
- bottom: [b]
656
+ bottom: [inset]
457
657
  }],
458
658
  /**
459
659
  * Left
460
660
  * @see https://tailwindcss.com/docs/top-right-bottom-left
461
661
  */
462
662
  left: [{
463
- left: [b]
663
+ left: [inset]
464
664
  }],
465
665
  /**
466
666
  * Visibility
@@ -472,7 +672,7 @@ const c = (e) => {
472
672
  * @see https://tailwindcss.com/docs/z-index
473
673
  */
474
674
  z: [{
475
- z: ["auto", P, l]
675
+ z: ["auto", isInteger, isArbitraryValue]
476
676
  }],
477
677
  // Flexbox and Grid
478
678
  /**
@@ -480,7 +680,7 @@ const c = (e) => {
480
680
  * @see https://tailwindcss.com/docs/flex-basis
481
681
  */
482
682
  basis: [{
483
- basis: V()
683
+ basis: getSpacingWithAutoAndArbitrary()
484
684
  }],
485
685
  /**
486
686
  * Flex Direction
@@ -501,35 +701,35 @@ const c = (e) => {
501
701
  * @see https://tailwindcss.com/docs/flex
502
702
  */
503
703
  flex: [{
504
- flex: ["1", "auto", "initial", "none", l]
704
+ flex: ["1", "auto", "initial", "none", isArbitraryValue]
505
705
  }],
506
706
  /**
507
707
  * Flex Grow
508
708
  * @see https://tailwindcss.com/docs/flex-grow
509
709
  */
510
710
  grow: [{
511
- grow: I()
711
+ grow: getZeroAndEmpty()
512
712
  }],
513
713
  /**
514
714
  * Flex Shrink
515
715
  * @see https://tailwindcss.com/docs/flex-shrink
516
716
  */
517
717
  shrink: [{
518
- shrink: I()
718
+ shrink: getZeroAndEmpty()
519
719
  }],
520
720
  /**
521
721
  * Order
522
722
  * @see https://tailwindcss.com/docs/order
523
723
  */
524
724
  order: [{
525
- order: ["first", "last", "none", P, l]
725
+ order: ["first", "last", "none", isInteger, isArbitraryValue]
526
726
  }],
527
727
  /**
528
728
  * Grid Template Columns
529
729
  * @see https://tailwindcss.com/docs/grid-template-columns
530
730
  */
531
731
  "grid-cols": [{
532
- "grid-cols": [j]
732
+ "grid-cols": [isAny]
533
733
  }],
534
734
  /**
535
735
  * Grid Column Start / End
@@ -537,29 +737,29 @@ const c = (e) => {
537
737
  */
538
738
  "col-start-end": [{
539
739
  col: ["auto", {
540
- span: ["full", P, l]
541
- }, l]
740
+ span: ["full", isInteger, isArbitraryValue]
741
+ }, isArbitraryValue]
542
742
  }],
543
743
  /**
544
744
  * Grid Column Start
545
745
  * @see https://tailwindcss.com/docs/grid-column
546
746
  */
547
747
  "col-start": [{
548
- "col-start": N()
748
+ "col-start": getNumberWithAutoAndArbitrary()
549
749
  }],
550
750
  /**
551
751
  * Grid Column End
552
752
  * @see https://tailwindcss.com/docs/grid-column
553
753
  */
554
754
  "col-end": [{
555
- "col-end": N()
755
+ "col-end": getNumberWithAutoAndArbitrary()
556
756
  }],
557
757
  /**
558
758
  * Grid Template Rows
559
759
  * @see https://tailwindcss.com/docs/grid-template-rows
560
760
  */
561
761
  "grid-rows": [{
562
- "grid-rows": [j]
762
+ "grid-rows": [isAny]
563
763
  }],
564
764
  /**
565
765
  * Grid Row Start / End
@@ -567,22 +767,22 @@ const c = (e) => {
567
767
  */
568
768
  "row-start-end": [{
569
769
  row: ["auto", {
570
- span: [P, l]
571
- }, l]
770
+ span: [isInteger, isArbitraryValue]
771
+ }, isArbitraryValue]
572
772
  }],
573
773
  /**
574
774
  * Grid Row Start
575
775
  * @see https://tailwindcss.com/docs/grid-row
576
776
  */
577
777
  "row-start": [{
578
- "row-start": N()
778
+ "row-start": getNumberWithAutoAndArbitrary()
579
779
  }],
580
780
  /**
581
781
  * Grid Row End
582
782
  * @see https://tailwindcss.com/docs/grid-row
583
783
  */
584
784
  "row-end": [{
585
- "row-end": N()
785
+ "row-end": getNumberWithAutoAndArbitrary()
586
786
  }],
587
787
  /**
588
788
  * Grid Auto Flow
@@ -596,42 +796,42 @@ const c = (e) => {
596
796
  * @see https://tailwindcss.com/docs/grid-auto-columns
597
797
  */
598
798
  "auto-cols": [{
599
- "auto-cols": ["auto", "min", "max", "fr", l]
799
+ "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
600
800
  }],
601
801
  /**
602
802
  * Grid Auto Rows
603
803
  * @see https://tailwindcss.com/docs/grid-auto-rows
604
804
  */
605
805
  "auto-rows": [{
606
- "auto-rows": ["auto", "min", "max", "fr", l]
806
+ "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
607
807
  }],
608
808
  /**
609
809
  * Gap
610
810
  * @see https://tailwindcss.com/docs/gap
611
811
  */
612
812
  gap: [{
613
- gap: [x]
813
+ gap: [gap]
614
814
  }],
615
815
  /**
616
816
  * Gap X
617
817
  * @see https://tailwindcss.com/docs/gap
618
818
  */
619
819
  "gap-x": [{
620
- "gap-x": [x]
820
+ "gap-x": [gap]
621
821
  }],
622
822
  /**
623
823
  * Gap Y
624
824
  * @see https://tailwindcss.com/docs/gap
625
825
  */
626
826
  "gap-y": [{
627
- "gap-y": [x]
827
+ "gap-y": [gap]
628
828
  }],
629
829
  /**
630
830
  * Justify Content
631
831
  * @see https://tailwindcss.com/docs/justify-content
632
832
  */
633
833
  "justify-content": [{
634
- justify: ["normal", ...O()]
834
+ justify: ["normal", ...getAlign()]
635
835
  }],
636
836
  /**
637
837
  * Justify Items
@@ -652,7 +852,7 @@ const c = (e) => {
652
852
  * @see https://tailwindcss.com/docs/align-content
653
853
  */
654
854
  "align-content": [{
655
- content: ["normal", ...O(), "baseline"]
855
+ content: ["normal", ...getAlign(), "baseline"]
656
856
  }],
657
857
  /**
658
858
  * Align Items
@@ -673,7 +873,7 @@ const c = (e) => {
673
873
  * @see https://tailwindcss.com/docs/place-content
674
874
  */
675
875
  "place-content": [{
676
- "place-content": [...O(), "baseline"]
876
+ "place-content": [...getAlign(), "baseline"]
677
877
  }],
678
878
  /**
679
879
  * Place Items
@@ -695,133 +895,133 @@ const c = (e) => {
695
895
  * @see https://tailwindcss.com/docs/padding
696
896
  */
697
897
  p: [{
698
- p: [h]
898
+ p: [padding]
699
899
  }],
700
900
  /**
701
901
  * Padding X
702
902
  * @see https://tailwindcss.com/docs/padding
703
903
  */
704
904
  px: [{
705
- px: [h]
905
+ px: [padding]
706
906
  }],
707
907
  /**
708
908
  * Padding Y
709
909
  * @see https://tailwindcss.com/docs/padding
710
910
  */
711
911
  py: [{
712
- py: [h]
912
+ py: [padding]
713
913
  }],
714
914
  /**
715
915
  * Padding Start
716
916
  * @see https://tailwindcss.com/docs/padding
717
917
  */
718
918
  ps: [{
719
- ps: [h]
919
+ ps: [padding]
720
920
  }],
721
921
  /**
722
922
  * Padding End
723
923
  * @see https://tailwindcss.com/docs/padding
724
924
  */
725
925
  pe: [{
726
- pe: [h]
926
+ pe: [padding]
727
927
  }],
728
928
  /**
729
929
  * Padding Top
730
930
  * @see https://tailwindcss.com/docs/padding
731
931
  */
732
932
  pt: [{
733
- pt: [h]
933
+ pt: [padding]
734
934
  }],
735
935
  /**
736
936
  * Padding Right
737
937
  * @see https://tailwindcss.com/docs/padding
738
938
  */
739
939
  pr: [{
740
- pr: [h]
940
+ pr: [padding]
741
941
  }],
742
942
  /**
743
943
  * Padding Bottom
744
944
  * @see https://tailwindcss.com/docs/padding
745
945
  */
746
946
  pb: [{
747
- pb: [h]
947
+ pb: [padding]
748
948
  }],
749
949
  /**
750
950
  * Padding Left
751
951
  * @see https://tailwindcss.com/docs/padding
752
952
  */
753
953
  pl: [{
754
- pl: [h]
954
+ pl: [padding]
755
955
  }],
756
956
  /**
757
957
  * Margin
758
958
  * @see https://tailwindcss.com/docs/margin
759
959
  */
760
960
  m: [{
761
- m: [p]
961
+ m: [margin]
762
962
  }],
763
963
  /**
764
964
  * Margin X
765
965
  * @see https://tailwindcss.com/docs/margin
766
966
  */
767
967
  mx: [{
768
- mx: [p]
968
+ mx: [margin]
769
969
  }],
770
970
  /**
771
971
  * Margin Y
772
972
  * @see https://tailwindcss.com/docs/margin
773
973
  */
774
974
  my: [{
775
- my: [p]
975
+ my: [margin]
776
976
  }],
777
977
  /**
778
978
  * Margin Start
779
979
  * @see https://tailwindcss.com/docs/margin
780
980
  */
781
981
  ms: [{
782
- ms: [p]
982
+ ms: [margin]
783
983
  }],
784
984
  /**
785
985
  * Margin End
786
986
  * @see https://tailwindcss.com/docs/margin
787
987
  */
788
988
  me: [{
789
- me: [p]
989
+ me: [margin]
790
990
  }],
791
991
  /**
792
992
  * Margin Top
793
993
  * @see https://tailwindcss.com/docs/margin
794
994
  */
795
995
  mt: [{
796
- mt: [p]
996
+ mt: [margin]
797
997
  }],
798
998
  /**
799
999
  * Margin Right
800
1000
  * @see https://tailwindcss.com/docs/margin
801
1001
  */
802
1002
  mr: [{
803
- mr: [p]
1003
+ mr: [margin]
804
1004
  }],
805
1005
  /**
806
1006
  * Margin Bottom
807
1007
  * @see https://tailwindcss.com/docs/margin
808
1008
  */
809
1009
  mb: [{
810
- mb: [p]
1010
+ mb: [margin]
811
1011
  }],
812
1012
  /**
813
1013
  * Margin Left
814
1014
  * @see https://tailwindcss.com/docs/margin
815
1015
  */
816
1016
  ml: [{
817
- ml: [p]
1017
+ ml: [margin]
818
1018
  }],
819
1019
  /**
820
1020
  * Space Between X
821
1021
  * @see https://tailwindcss.com/docs/space
822
1022
  */
823
1023
  "space-x": [{
824
- "space-x": [F]
1024
+ "space-x": [space]
825
1025
  }],
826
1026
  /**
827
1027
  * Space Between X Reverse
@@ -833,7 +1033,7 @@ const c = (e) => {
833
1033
  * @see https://tailwindcss.com/docs/space
834
1034
  */
835
1035
  "space-y": [{
836
- "space-y": [F]
1036
+ "space-y": [space]
837
1037
  }],
838
1038
  /**
839
1039
  * Space Between Y Reverse
@@ -846,51 +1046,51 @@ const c = (e) => {
846
1046
  * @see https://tailwindcss.com/docs/width
847
1047
  */
848
1048
  w: [{
849
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
1049
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
850
1050
  }],
851
1051
  /**
852
1052
  * Min-Width
853
1053
  * @see https://tailwindcss.com/docs/min-width
854
1054
  */
855
1055
  "min-w": [{
856
- "min-w": [l, r, "min", "max", "fit"]
1056
+ "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
857
1057
  }],
858
1058
  /**
859
1059
  * Max-Width
860
1060
  * @see https://tailwindcss.com/docs/max-width
861
1061
  */
862
1062
  "max-w": [{
863
- "max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
864
- screen: [S]
865
- }, S]
1063
+ "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1064
+ screen: [isTshirtSize]
1065
+ }, isTshirtSize]
866
1066
  }],
867
1067
  /**
868
1068
  * Height
869
1069
  * @see https://tailwindcss.com/docs/height
870
1070
  */
871
1071
  h: [{
872
- h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1072
+ h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
873
1073
  }],
874
1074
  /**
875
1075
  * Min-Height
876
1076
  * @see https://tailwindcss.com/docs/min-height
877
1077
  */
878
1078
  "min-h": [{
879
- "min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1079
+ "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
880
1080
  }],
881
1081
  /**
882
1082
  * Max-Height
883
1083
  * @see https://tailwindcss.com/docs/max-height
884
1084
  */
885
1085
  "max-h": [{
886
- "max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1086
+ "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
887
1087
  }],
888
1088
  /**
889
1089
  * Size
890
1090
  * @see https://tailwindcss.com/docs/size
891
1091
  */
892
1092
  size: [{
893
- size: [l, r, "auto", "min", "max", "fit"]
1093
+ size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
894
1094
  }],
895
1095
  // Typography
896
1096
  /**
@@ -898,7 +1098,7 @@ const c = (e) => {
898
1098
  * @see https://tailwindcss.com/docs/font-size
899
1099
  */
900
1100
  "font-size": [{
901
- text: ["base", S, z]
1101
+ text: ["base", isTshirtSize, isArbitraryLength]
902
1102
  }],
903
1103
  /**
904
1104
  * Font Smoothing
@@ -915,14 +1115,14 @@ const c = (e) => {
915
1115
  * @see https://tailwindcss.com/docs/font-weight
916
1116
  */
917
1117
  "font-weight": [{
918
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", _]
1118
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
919
1119
  }],
920
1120
  /**
921
1121
  * Font Family
922
1122
  * @see https://tailwindcss.com/docs/font-family
923
1123
  */
924
1124
  "font-family": [{
925
- font: [j]
1125
+ font: [isAny]
926
1126
  }],
927
1127
  /**
928
1128
  * Font Variant Numeric
@@ -959,35 +1159,35 @@ const c = (e) => {
959
1159
  * @see https://tailwindcss.com/docs/letter-spacing
960
1160
  */
961
1161
  tracking: [{
962
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
1162
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
963
1163
  }],
964
1164
  /**
965
1165
  * Line Clamp
966
1166
  * @see https://tailwindcss.com/docs/line-clamp
967
1167
  */
968
1168
  "line-clamp": [{
969
- "line-clamp": ["none", M, _]
1169
+ "line-clamp": ["none", isNumber, isArbitraryNumber]
970
1170
  }],
971
1171
  /**
972
1172
  * Line Height
973
1173
  * @see https://tailwindcss.com/docs/line-height
974
1174
  */
975
1175
  leading: [{
976
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", C, l]
1176
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
977
1177
  }],
978
1178
  /**
979
1179
  * List Style Image
980
1180
  * @see https://tailwindcss.com/docs/list-style-image
981
1181
  */
982
1182
  "list-image": [{
983
- "list-image": ["none", l]
1183
+ "list-image": ["none", isArbitraryValue]
984
1184
  }],
985
1185
  /**
986
1186
  * List Style Type
987
1187
  * @see https://tailwindcss.com/docs/list-style-type
988
1188
  */
989
1189
  "list-style-type": [{
990
- list: ["none", "disc", "decimal", l]
1190
+ list: ["none", "disc", "decimal", isArbitraryValue]
991
1191
  }],
992
1192
  /**
993
1193
  * List Style Position
@@ -1002,14 +1202,14 @@ const c = (e) => {
1002
1202
  * @see https://tailwindcss.com/docs/placeholder-color
1003
1203
  */
1004
1204
  "placeholder-color": [{
1005
- placeholder: [e]
1205
+ placeholder: [colors]
1006
1206
  }],
1007
1207
  /**
1008
1208
  * Placeholder Opacity
1009
1209
  * @see https://tailwindcss.com/docs/placeholder-opacity
1010
1210
  */
1011
1211
  "placeholder-opacity": [{
1012
- "placeholder-opacity": [f]
1212
+ "placeholder-opacity": [opacity]
1013
1213
  }],
1014
1214
  /**
1015
1215
  * Text Alignment
@@ -1023,14 +1223,14 @@ const c = (e) => {
1023
1223
  * @see https://tailwindcss.com/docs/text-color
1024
1224
  */
1025
1225
  "text-color": [{
1026
- text: [e]
1226
+ text: [colors]
1027
1227
  }],
1028
1228
  /**
1029
1229
  * Text Opacity
1030
1230
  * @see https://tailwindcss.com/docs/text-opacity
1031
1231
  */
1032
1232
  "text-opacity": [{
1033
- "text-opacity": [f]
1233
+ "text-opacity": [opacity]
1034
1234
  }],
1035
1235
  /**
1036
1236
  * Text Decoration
@@ -1042,28 +1242,28 @@ const c = (e) => {
1042
1242
  * @see https://tailwindcss.com/docs/text-decoration-style
1043
1243
  */
1044
1244
  "text-decoration-style": [{
1045
- decoration: [...T(), "wavy"]
1245
+ decoration: [...getLineStyles(), "wavy"]
1046
1246
  }],
1047
1247
  /**
1048
1248
  * Text Decoration Thickness
1049
1249
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1050
1250
  */
1051
1251
  "text-decoration-thickness": [{
1052
- decoration: ["auto", "from-font", C, z]
1252
+ decoration: ["auto", "from-font", isLength, isArbitraryLength]
1053
1253
  }],
1054
1254
  /**
1055
1255
  * Text Underline Offset
1056
1256
  * @see https://tailwindcss.com/docs/text-underline-offset
1057
1257
  */
1058
1258
  "underline-offset": [{
1059
- "underline-offset": ["auto", C, l]
1259
+ "underline-offset": ["auto", isLength, isArbitraryValue]
1060
1260
  }],
1061
1261
  /**
1062
1262
  * Text Decoration Color
1063
1263
  * @see https://tailwindcss.com/docs/text-decoration-color
1064
1264
  */
1065
1265
  "text-decoration-color": [{
1066
- decoration: [e]
1266
+ decoration: [colors]
1067
1267
  }],
1068
1268
  /**
1069
1269
  * Text Transform
@@ -1087,14 +1287,14 @@ const c = (e) => {
1087
1287
  * @see https://tailwindcss.com/docs/text-indent
1088
1288
  */
1089
1289
  indent: [{
1090
- indent: d()
1290
+ indent: getSpacingWithArbitrary()
1091
1291
  }],
1092
1292
  /**
1093
1293
  * Vertical Alignment
1094
1294
  * @see https://tailwindcss.com/docs/vertical-align
1095
1295
  */
1096
1296
  "vertical-align": [{
1097
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
1297
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1098
1298
  }],
1099
1299
  /**
1100
1300
  * Whitespace
@@ -1122,7 +1322,7 @@ const c = (e) => {
1122
1322
  * @see https://tailwindcss.com/docs/content
1123
1323
  */
1124
1324
  content: [{
1125
- content: ["none", l]
1325
+ content: ["none", isArbitraryValue]
1126
1326
  }],
1127
1327
  // Backgrounds
1128
1328
  /**
@@ -1145,7 +1345,7 @@ const c = (e) => {
1145
1345
  * @see https://tailwindcss.com/docs/background-opacity
1146
1346
  */
1147
1347
  "bg-opacity": [{
1148
- "bg-opacity": [f]
1348
+ "bg-opacity": [opacity]
1149
1349
  }],
1150
1350
  /**
1151
1351
  * Background Origin
@@ -1159,7 +1359,7 @@ const c = (e) => {
1159
1359
  * @see https://tailwindcss.com/docs/background-position
1160
1360
  */
1161
1361
  "bg-position": [{
1162
- bg: [...X(), Ae]
1362
+ bg: [...getPositions(), isArbitraryPosition]
1163
1363
  }],
1164
1364
  /**
1165
1365
  * Background Repeat
@@ -1175,7 +1375,7 @@ const c = (e) => {
1175
1375
  * @see https://tailwindcss.com/docs/background-size
1176
1376
  */
1177
1377
  "bg-size": [{
1178
- bg: ["auto", "cover", "contain", Se]
1378
+ bg: ["auto", "cover", "contain", isArbitrarySize]
1179
1379
  }],
1180
1380
  /**
1181
1381
  * Background Image
@@ -1184,56 +1384,56 @@ const c = (e) => {
1184
1384
  "bg-image": [{
1185
1385
  bg: ["none", {
1186
1386
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1187
- }, Ge]
1387
+ }, isArbitraryImage]
1188
1388
  }],
1189
1389
  /**
1190
1390
  * Background Color
1191
1391
  * @see https://tailwindcss.com/docs/background-color
1192
1392
  */
1193
1393
  "bg-color": [{
1194
- bg: [e]
1394
+ bg: [colors]
1195
1395
  }],
1196
1396
  /**
1197
1397
  * Gradient Color Stops From Position
1198
1398
  * @see https://tailwindcss.com/docs/gradient-color-stops
1199
1399
  */
1200
1400
  "gradient-from-pos": [{
1201
- from: [w]
1401
+ from: [gradientColorStopPositions]
1202
1402
  }],
1203
1403
  /**
1204
1404
  * Gradient Color Stops Via Position
1205
1405
  * @see https://tailwindcss.com/docs/gradient-color-stops
1206
1406
  */
1207
1407
  "gradient-via-pos": [{
1208
- via: [w]
1408
+ via: [gradientColorStopPositions]
1209
1409
  }],
1210
1410
  /**
1211
1411
  * Gradient Color Stops To Position
1212
1412
  * @see https://tailwindcss.com/docs/gradient-color-stops
1213
1413
  */
1214
1414
  "gradient-to-pos": [{
1215
- to: [w]
1415
+ to: [gradientColorStopPositions]
1216
1416
  }],
1217
1417
  /**
1218
1418
  * Gradient Color Stops From
1219
1419
  * @see https://tailwindcss.com/docs/gradient-color-stops
1220
1420
  */
1221
1421
  "gradient-from": [{
1222
- from: [v]
1422
+ from: [gradientColorStops]
1223
1423
  }],
1224
1424
  /**
1225
1425
  * Gradient Color Stops Via
1226
1426
  * @see https://tailwindcss.com/docs/gradient-color-stops
1227
1427
  */
1228
1428
  "gradient-via": [{
1229
- via: [v]
1429
+ via: [gradientColorStops]
1230
1430
  }],
1231
1431
  /**
1232
1432
  * Gradient Color Stops To
1233
1433
  * @see https://tailwindcss.com/docs/gradient-color-stops
1234
1434
  */
1235
1435
  "gradient-to": [{
1236
- to: [v]
1436
+ to: [gradientColorStops]
1237
1437
  }],
1238
1438
  // Borders
1239
1439
  /**
@@ -1241,189 +1441,189 @@ const c = (e) => {
1241
1441
  * @see https://tailwindcss.com/docs/border-radius
1242
1442
  */
1243
1443
  rounded: [{
1244
- rounded: [n]
1444
+ rounded: [borderRadius]
1245
1445
  }],
1246
1446
  /**
1247
1447
  * Border Radius Start
1248
1448
  * @see https://tailwindcss.com/docs/border-radius
1249
1449
  */
1250
1450
  "rounded-s": [{
1251
- "rounded-s": [n]
1451
+ "rounded-s": [borderRadius]
1252
1452
  }],
1253
1453
  /**
1254
1454
  * Border Radius End
1255
1455
  * @see https://tailwindcss.com/docs/border-radius
1256
1456
  */
1257
1457
  "rounded-e": [{
1258
- "rounded-e": [n]
1458
+ "rounded-e": [borderRadius]
1259
1459
  }],
1260
1460
  /**
1261
1461
  * Border Radius Top
1262
1462
  * @see https://tailwindcss.com/docs/border-radius
1263
1463
  */
1264
1464
  "rounded-t": [{
1265
- "rounded-t": [n]
1465
+ "rounded-t": [borderRadius]
1266
1466
  }],
1267
1467
  /**
1268
1468
  * Border Radius Right
1269
1469
  * @see https://tailwindcss.com/docs/border-radius
1270
1470
  */
1271
1471
  "rounded-r": [{
1272
- "rounded-r": [n]
1472
+ "rounded-r": [borderRadius]
1273
1473
  }],
1274
1474
  /**
1275
1475
  * Border Radius Bottom
1276
1476
  * @see https://tailwindcss.com/docs/border-radius
1277
1477
  */
1278
1478
  "rounded-b": [{
1279
- "rounded-b": [n]
1479
+ "rounded-b": [borderRadius]
1280
1480
  }],
1281
1481
  /**
1282
1482
  * Border Radius Left
1283
1483
  * @see https://tailwindcss.com/docs/border-radius
1284
1484
  */
1285
1485
  "rounded-l": [{
1286
- "rounded-l": [n]
1486
+ "rounded-l": [borderRadius]
1287
1487
  }],
1288
1488
  /**
1289
1489
  * Border Radius Start Start
1290
1490
  * @see https://tailwindcss.com/docs/border-radius
1291
1491
  */
1292
1492
  "rounded-ss": [{
1293
- "rounded-ss": [n]
1493
+ "rounded-ss": [borderRadius]
1294
1494
  }],
1295
1495
  /**
1296
1496
  * Border Radius Start End
1297
1497
  * @see https://tailwindcss.com/docs/border-radius
1298
1498
  */
1299
1499
  "rounded-se": [{
1300
- "rounded-se": [n]
1500
+ "rounded-se": [borderRadius]
1301
1501
  }],
1302
1502
  /**
1303
1503
  * Border Radius End End
1304
1504
  * @see https://tailwindcss.com/docs/border-radius
1305
1505
  */
1306
1506
  "rounded-ee": [{
1307
- "rounded-ee": [n]
1507
+ "rounded-ee": [borderRadius]
1308
1508
  }],
1309
1509
  /**
1310
1510
  * Border Radius End Start
1311
1511
  * @see https://tailwindcss.com/docs/border-radius
1312
1512
  */
1313
1513
  "rounded-es": [{
1314
- "rounded-es": [n]
1514
+ "rounded-es": [borderRadius]
1315
1515
  }],
1316
1516
  /**
1317
1517
  * Border Radius Top Left
1318
1518
  * @see https://tailwindcss.com/docs/border-radius
1319
1519
  */
1320
1520
  "rounded-tl": [{
1321
- "rounded-tl": [n]
1521
+ "rounded-tl": [borderRadius]
1322
1522
  }],
1323
1523
  /**
1324
1524
  * Border Radius Top Right
1325
1525
  * @see https://tailwindcss.com/docs/border-radius
1326
1526
  */
1327
1527
  "rounded-tr": [{
1328
- "rounded-tr": [n]
1528
+ "rounded-tr": [borderRadius]
1329
1529
  }],
1330
1530
  /**
1331
1531
  * Border Radius Bottom Right
1332
1532
  * @see https://tailwindcss.com/docs/border-radius
1333
1533
  */
1334
1534
  "rounded-br": [{
1335
- "rounded-br": [n]
1535
+ "rounded-br": [borderRadius]
1336
1536
  }],
1337
1537
  /**
1338
1538
  * Border Radius Bottom Left
1339
1539
  * @see https://tailwindcss.com/docs/border-radius
1340
1540
  */
1341
1541
  "rounded-bl": [{
1342
- "rounded-bl": [n]
1542
+ "rounded-bl": [borderRadius]
1343
1543
  }],
1344
1544
  /**
1345
1545
  * Border Width
1346
1546
  * @see https://tailwindcss.com/docs/border-width
1347
1547
  */
1348
1548
  "border-w": [{
1349
- border: [s]
1549
+ border: [borderWidth]
1350
1550
  }],
1351
1551
  /**
1352
1552
  * Border Width X
1353
1553
  * @see https://tailwindcss.com/docs/border-width
1354
1554
  */
1355
1555
  "border-w-x": [{
1356
- "border-x": [s]
1556
+ "border-x": [borderWidth]
1357
1557
  }],
1358
1558
  /**
1359
1559
  * Border Width Y
1360
1560
  * @see https://tailwindcss.com/docs/border-width
1361
1561
  */
1362
1562
  "border-w-y": [{
1363
- "border-y": [s]
1563
+ "border-y": [borderWidth]
1364
1564
  }],
1365
1565
  /**
1366
1566
  * Border Width Start
1367
1567
  * @see https://tailwindcss.com/docs/border-width
1368
1568
  */
1369
1569
  "border-w-s": [{
1370
- "border-s": [s]
1570
+ "border-s": [borderWidth]
1371
1571
  }],
1372
1572
  /**
1373
1573
  * Border Width End
1374
1574
  * @see https://tailwindcss.com/docs/border-width
1375
1575
  */
1376
1576
  "border-w-e": [{
1377
- "border-e": [s]
1577
+ "border-e": [borderWidth]
1378
1578
  }],
1379
1579
  /**
1380
1580
  * Border Width Top
1381
1581
  * @see https://tailwindcss.com/docs/border-width
1382
1582
  */
1383
1583
  "border-w-t": [{
1384
- "border-t": [s]
1584
+ "border-t": [borderWidth]
1385
1585
  }],
1386
1586
  /**
1387
1587
  * Border Width Right
1388
1588
  * @see https://tailwindcss.com/docs/border-width
1389
1589
  */
1390
1590
  "border-w-r": [{
1391
- "border-r": [s]
1591
+ "border-r": [borderWidth]
1392
1592
  }],
1393
1593
  /**
1394
1594
  * Border Width Bottom
1395
1595
  * @see https://tailwindcss.com/docs/border-width
1396
1596
  */
1397
1597
  "border-w-b": [{
1398
- "border-b": [s]
1598
+ "border-b": [borderWidth]
1399
1599
  }],
1400
1600
  /**
1401
1601
  * Border Width Left
1402
1602
  * @see https://tailwindcss.com/docs/border-width
1403
1603
  */
1404
1604
  "border-w-l": [{
1405
- "border-l": [s]
1605
+ "border-l": [borderWidth]
1406
1606
  }],
1407
1607
  /**
1408
1608
  * Border Opacity
1409
1609
  * @see https://tailwindcss.com/docs/border-opacity
1410
1610
  */
1411
1611
  "border-opacity": [{
1412
- "border-opacity": [f]
1612
+ "border-opacity": [opacity]
1413
1613
  }],
1414
1614
  /**
1415
1615
  * Border Style
1416
1616
  * @see https://tailwindcss.com/docs/border-style
1417
1617
  */
1418
1618
  "border-style": [{
1419
- border: [...T(), "hidden"]
1619
+ border: [...getLineStyles(), "hidden"]
1420
1620
  }],
1421
1621
  /**
1422
1622
  * Divide Width X
1423
1623
  * @see https://tailwindcss.com/docs/divide-width
1424
1624
  */
1425
1625
  "divide-x": [{
1426
- "divide-x": [s]
1626
+ "divide-x": [borderWidth]
1427
1627
  }],
1428
1628
  /**
1429
1629
  * Divide Width X Reverse
@@ -1435,7 +1635,7 @@ const c = (e) => {
1435
1635
  * @see https://tailwindcss.com/docs/divide-width
1436
1636
  */
1437
1637
  "divide-y": [{
1438
- "divide-y": [s]
1638
+ "divide-y": [borderWidth]
1439
1639
  }],
1440
1640
  /**
1441
1641
  * Divide Width Y Reverse
@@ -1447,119 +1647,119 @@ const c = (e) => {
1447
1647
  * @see https://tailwindcss.com/docs/divide-opacity
1448
1648
  */
1449
1649
  "divide-opacity": [{
1450
- "divide-opacity": [f]
1650
+ "divide-opacity": [opacity]
1451
1651
  }],
1452
1652
  /**
1453
1653
  * Divide Style
1454
1654
  * @see https://tailwindcss.com/docs/divide-style
1455
1655
  */
1456
1656
  "divide-style": [{
1457
- divide: T()
1657
+ divide: getLineStyles()
1458
1658
  }],
1459
1659
  /**
1460
1660
  * Border Color
1461
1661
  * @see https://tailwindcss.com/docs/border-color
1462
1662
  */
1463
1663
  "border-color": [{
1464
- border: [a]
1664
+ border: [borderColor]
1465
1665
  }],
1466
1666
  /**
1467
1667
  * Border Color X
1468
1668
  * @see https://tailwindcss.com/docs/border-color
1469
1669
  */
1470
1670
  "border-color-x": [{
1471
- "border-x": [a]
1671
+ "border-x": [borderColor]
1472
1672
  }],
1473
1673
  /**
1474
1674
  * Border Color Y
1475
1675
  * @see https://tailwindcss.com/docs/border-color
1476
1676
  */
1477
1677
  "border-color-y": [{
1478
- "border-y": [a]
1678
+ "border-y": [borderColor]
1479
1679
  }],
1480
1680
  /**
1481
1681
  * Border Color S
1482
1682
  * @see https://tailwindcss.com/docs/border-color
1483
1683
  */
1484
1684
  "border-color-s": [{
1485
- "border-s": [a]
1685
+ "border-s": [borderColor]
1486
1686
  }],
1487
1687
  /**
1488
1688
  * Border Color E
1489
1689
  * @see https://tailwindcss.com/docs/border-color
1490
1690
  */
1491
1691
  "border-color-e": [{
1492
- "border-e": [a]
1692
+ "border-e": [borderColor]
1493
1693
  }],
1494
1694
  /**
1495
1695
  * Border Color Top
1496
1696
  * @see https://tailwindcss.com/docs/border-color
1497
1697
  */
1498
1698
  "border-color-t": [{
1499
- "border-t": [a]
1699
+ "border-t": [borderColor]
1500
1700
  }],
1501
1701
  /**
1502
1702
  * Border Color Right
1503
1703
  * @see https://tailwindcss.com/docs/border-color
1504
1704
  */
1505
1705
  "border-color-r": [{
1506
- "border-r": [a]
1706
+ "border-r": [borderColor]
1507
1707
  }],
1508
1708
  /**
1509
1709
  * Border Color Bottom
1510
1710
  * @see https://tailwindcss.com/docs/border-color
1511
1711
  */
1512
1712
  "border-color-b": [{
1513
- "border-b": [a]
1713
+ "border-b": [borderColor]
1514
1714
  }],
1515
1715
  /**
1516
1716
  * Border Color Left
1517
1717
  * @see https://tailwindcss.com/docs/border-color
1518
1718
  */
1519
1719
  "border-color-l": [{
1520
- "border-l": [a]
1720
+ "border-l": [borderColor]
1521
1721
  }],
1522
1722
  /**
1523
1723
  * Divide Color
1524
1724
  * @see https://tailwindcss.com/docs/divide-color
1525
1725
  */
1526
1726
  "divide-color": [{
1527
- divide: [a]
1727
+ divide: [borderColor]
1528
1728
  }],
1529
1729
  /**
1530
1730
  * Outline Style
1531
1731
  * @see https://tailwindcss.com/docs/outline-style
1532
1732
  */
1533
1733
  "outline-style": [{
1534
- outline: ["", ...T()]
1734
+ outline: ["", ...getLineStyles()]
1535
1735
  }],
1536
1736
  /**
1537
1737
  * Outline Offset
1538
1738
  * @see https://tailwindcss.com/docs/outline-offset
1539
1739
  */
1540
1740
  "outline-offset": [{
1541
- "outline-offset": [C, l]
1741
+ "outline-offset": [isLength, isArbitraryValue]
1542
1742
  }],
1543
1743
  /**
1544
1744
  * Outline Width
1545
1745
  * @see https://tailwindcss.com/docs/outline-width
1546
1746
  */
1547
1747
  "outline-w": [{
1548
- outline: [C, z]
1748
+ outline: [isLength, isArbitraryLength]
1549
1749
  }],
1550
1750
  /**
1551
1751
  * Outline Color
1552
1752
  * @see https://tailwindcss.com/docs/outline-color
1553
1753
  */
1554
1754
  "outline-color": [{
1555
- outline: [e]
1755
+ outline: [colors]
1556
1756
  }],
1557
1757
  /**
1558
1758
  * Ring Width
1559
1759
  * @see https://tailwindcss.com/docs/ring-width
1560
1760
  */
1561
1761
  "ring-w": [{
1562
- ring: J()
1762
+ ring: getLengthWithEmptyAndArbitrary()
1563
1763
  }],
1564
1764
  /**
1565
1765
  * Ring Width Inset
@@ -1571,28 +1771,28 @@ const c = (e) => {
1571
1771
  * @see https://tailwindcss.com/docs/ring-color
1572
1772
  */
1573
1773
  "ring-color": [{
1574
- ring: [e]
1774
+ ring: [colors]
1575
1775
  }],
1576
1776
  /**
1577
1777
  * Ring Opacity
1578
1778
  * @see https://tailwindcss.com/docs/ring-opacity
1579
1779
  */
1580
1780
  "ring-opacity": [{
1581
- "ring-opacity": [f]
1781
+ "ring-opacity": [opacity]
1582
1782
  }],
1583
1783
  /**
1584
1784
  * Ring Offset Width
1585
1785
  * @see https://tailwindcss.com/docs/ring-offset-width
1586
1786
  */
1587
1787
  "ring-offset-w": [{
1588
- "ring-offset": [C, z]
1788
+ "ring-offset": [isLength, isArbitraryLength]
1589
1789
  }],
1590
1790
  /**
1591
1791
  * Ring Offset Color
1592
1792
  * @see https://tailwindcss.com/docs/ring-offset-color
1593
1793
  */
1594
1794
  "ring-offset-color": [{
1595
- "ring-offset": [e]
1795
+ "ring-offset": [colors]
1596
1796
  }],
1597
1797
  // Effects
1598
1798
  /**
@@ -1600,35 +1800,35 @@ const c = (e) => {
1600
1800
  * @see https://tailwindcss.com/docs/box-shadow
1601
1801
  */
1602
1802
  shadow: [{
1603
- shadow: ["", "inner", "none", S, Re]
1803
+ shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
1604
1804
  }],
1605
1805
  /**
1606
1806
  * Box Shadow Color
1607
1807
  * @see https://tailwindcss.com/docs/box-shadow-color
1608
1808
  */
1609
1809
  "shadow-color": [{
1610
- shadow: [j]
1810
+ shadow: [isAny]
1611
1811
  }],
1612
1812
  /**
1613
1813
  * Opacity
1614
1814
  * @see https://tailwindcss.com/docs/opacity
1615
1815
  */
1616
1816
  opacity: [{
1617
- opacity: [f]
1817
+ opacity: [opacity]
1618
1818
  }],
1619
1819
  /**
1620
1820
  * Mix Blend Mode
1621
1821
  * @see https://tailwindcss.com/docs/mix-blend-mode
1622
1822
  */
1623
1823
  "mix-blend": [{
1624
- "mix-blend": [...Z(), "plus-lighter", "plus-darker"]
1824
+ "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
1625
1825
  }],
1626
1826
  /**
1627
1827
  * Background Blend Mode
1628
1828
  * @see https://tailwindcss.com/docs/background-blend-mode
1629
1829
  */
1630
1830
  "bg-blend": [{
1631
- "bg-blend": Z()
1831
+ "bg-blend": getBlendModes()
1632
1832
  }],
1633
1833
  // Filters
1634
1834
  /**
@@ -1644,63 +1844,63 @@ const c = (e) => {
1644
1844
  * @see https://tailwindcss.com/docs/blur
1645
1845
  */
1646
1846
  blur: [{
1647
- blur: [t]
1847
+ blur: [blur]
1648
1848
  }],
1649
1849
  /**
1650
1850
  * Brightness
1651
1851
  * @see https://tailwindcss.com/docs/brightness
1652
1852
  */
1653
1853
  brightness: [{
1654
- brightness: [o]
1854
+ brightness: [brightness]
1655
1855
  }],
1656
1856
  /**
1657
1857
  * Contrast
1658
1858
  * @see https://tailwindcss.com/docs/contrast
1659
1859
  */
1660
1860
  contrast: [{
1661
- contrast: [u]
1861
+ contrast: [contrast]
1662
1862
  }],
1663
1863
  /**
1664
1864
  * Drop Shadow
1665
1865
  * @see https://tailwindcss.com/docs/drop-shadow
1666
1866
  */
1667
1867
  "drop-shadow": [{
1668
- "drop-shadow": ["", "none", S, l]
1868
+ "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
1669
1869
  }],
1670
1870
  /**
1671
1871
  * Grayscale
1672
1872
  * @see https://tailwindcss.com/docs/grayscale
1673
1873
  */
1674
1874
  grayscale: [{
1675
- grayscale: [g]
1875
+ grayscale: [grayscale]
1676
1876
  }],
1677
1877
  /**
1678
1878
  * Hue Rotate
1679
1879
  * @see https://tailwindcss.com/docs/hue-rotate
1680
1880
  */
1681
1881
  "hue-rotate": [{
1682
- "hue-rotate": [m]
1882
+ "hue-rotate": [hueRotate]
1683
1883
  }],
1684
1884
  /**
1685
1885
  * Invert
1686
1886
  * @see https://tailwindcss.com/docs/invert
1687
1887
  */
1688
1888
  invert: [{
1689
- invert: [y]
1889
+ invert: [invert]
1690
1890
  }],
1691
1891
  /**
1692
1892
  * Saturate
1693
1893
  * @see https://tailwindcss.com/docs/saturate
1694
1894
  */
1695
1895
  saturate: [{
1696
- saturate: [R]
1896
+ saturate: [saturate]
1697
1897
  }],
1698
1898
  /**
1699
1899
  * Sepia
1700
1900
  * @see https://tailwindcss.com/docs/sepia
1701
1901
  */
1702
1902
  sepia: [{
1703
- sepia: [E]
1903
+ sepia: [sepia]
1704
1904
  }],
1705
1905
  /**
1706
1906
  * Backdrop Filter
@@ -1715,63 +1915,63 @@ const c = (e) => {
1715
1915
  * @see https://tailwindcss.com/docs/backdrop-blur
1716
1916
  */
1717
1917
  "backdrop-blur": [{
1718
- "backdrop-blur": [t]
1918
+ "backdrop-blur": [blur]
1719
1919
  }],
1720
1920
  /**
1721
1921
  * Backdrop Brightness
1722
1922
  * @see https://tailwindcss.com/docs/backdrop-brightness
1723
1923
  */
1724
1924
  "backdrop-brightness": [{
1725
- "backdrop-brightness": [o]
1925
+ "backdrop-brightness": [brightness]
1726
1926
  }],
1727
1927
  /**
1728
1928
  * Backdrop Contrast
1729
1929
  * @see https://tailwindcss.com/docs/backdrop-contrast
1730
1930
  */
1731
1931
  "backdrop-contrast": [{
1732
- "backdrop-contrast": [u]
1932
+ "backdrop-contrast": [contrast]
1733
1933
  }],
1734
1934
  /**
1735
1935
  * Backdrop Grayscale
1736
1936
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1737
1937
  */
1738
1938
  "backdrop-grayscale": [{
1739
- "backdrop-grayscale": [g]
1939
+ "backdrop-grayscale": [grayscale]
1740
1940
  }],
1741
1941
  /**
1742
1942
  * Backdrop Hue Rotate
1743
1943
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1744
1944
  */
1745
1945
  "backdrop-hue-rotate": [{
1746
- "backdrop-hue-rotate": [m]
1946
+ "backdrop-hue-rotate": [hueRotate]
1747
1947
  }],
1748
1948
  /**
1749
1949
  * Backdrop Invert
1750
1950
  * @see https://tailwindcss.com/docs/backdrop-invert
1751
1951
  */
1752
1952
  "backdrop-invert": [{
1753
- "backdrop-invert": [y]
1953
+ "backdrop-invert": [invert]
1754
1954
  }],
1755
1955
  /**
1756
1956
  * Backdrop Opacity
1757
1957
  * @see https://tailwindcss.com/docs/backdrop-opacity
1758
1958
  */
1759
1959
  "backdrop-opacity": [{
1760
- "backdrop-opacity": [f]
1960
+ "backdrop-opacity": [opacity]
1761
1961
  }],
1762
1962
  /**
1763
1963
  * Backdrop Saturate
1764
1964
  * @see https://tailwindcss.com/docs/backdrop-saturate
1765
1965
  */
1766
1966
  "backdrop-saturate": [{
1767
- "backdrop-saturate": [R]
1967
+ "backdrop-saturate": [saturate]
1768
1968
  }],
1769
1969
  /**
1770
1970
  * Backdrop Sepia
1771
1971
  * @see https://tailwindcss.com/docs/backdrop-sepia
1772
1972
  */
1773
1973
  "backdrop-sepia": [{
1774
- "backdrop-sepia": [E]
1974
+ "backdrop-sepia": [sepia]
1775
1975
  }],
1776
1976
  // Tables
1777
1977
  /**
@@ -1786,21 +1986,21 @@ const c = (e) => {
1786
1986
  * @see https://tailwindcss.com/docs/border-spacing
1787
1987
  */
1788
1988
  "border-spacing": [{
1789
- "border-spacing": [i]
1989
+ "border-spacing": [borderSpacing]
1790
1990
  }],
1791
1991
  /**
1792
1992
  * Border Spacing X
1793
1993
  * @see https://tailwindcss.com/docs/border-spacing
1794
1994
  */
1795
1995
  "border-spacing-x": [{
1796
- "border-spacing-x": [i]
1996
+ "border-spacing-x": [borderSpacing]
1797
1997
  }],
1798
1998
  /**
1799
1999
  * Border Spacing Y
1800
2000
  * @see https://tailwindcss.com/docs/border-spacing
1801
2001
  */
1802
2002
  "border-spacing-y": [{
1803
- "border-spacing-y": [i]
2003
+ "border-spacing-y": [borderSpacing]
1804
2004
  }],
1805
2005
  /**
1806
2006
  * Table Layout
@@ -1822,35 +2022,35 @@ const c = (e) => {
1822
2022
  * @see https://tailwindcss.com/docs/transition-property
1823
2023
  */
1824
2024
  transition: [{
1825
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
2025
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
1826
2026
  }],
1827
2027
  /**
1828
2028
  * Transition Duration
1829
2029
  * @see https://tailwindcss.com/docs/transition-duration
1830
2030
  */
1831
2031
  duration: [{
1832
- duration: k()
2032
+ duration: getNumberAndArbitrary()
1833
2033
  }],
1834
2034
  /**
1835
2035
  * Transition Timing Function
1836
2036
  * @see https://tailwindcss.com/docs/transition-timing-function
1837
2037
  */
1838
2038
  ease: [{
1839
- ease: ["linear", "in", "out", "in-out", l]
2039
+ ease: ["linear", "in", "out", "in-out", isArbitraryValue]
1840
2040
  }],
1841
2041
  /**
1842
2042
  * Transition Delay
1843
2043
  * @see https://tailwindcss.com/docs/transition-delay
1844
2044
  */
1845
2045
  delay: [{
1846
- delay: k()
2046
+ delay: getNumberAndArbitrary()
1847
2047
  }],
1848
2048
  /**
1849
2049
  * Animation
1850
2050
  * @see https://tailwindcss.com/docs/animation
1851
2051
  */
1852
2052
  animate: [{
1853
- animate: ["none", "spin", "ping", "pulse", "bounce", l]
2053
+ animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
1854
2054
  }],
1855
2055
  // Transforms
1856
2056
  /**
@@ -1865,63 +2065,63 @@ const c = (e) => {
1865
2065
  * @see https://tailwindcss.com/docs/scale
1866
2066
  */
1867
2067
  scale: [{
1868
- scale: [A]
2068
+ scale: [scale]
1869
2069
  }],
1870
2070
  /**
1871
2071
  * Scale X
1872
2072
  * @see https://tailwindcss.com/docs/scale
1873
2073
  */
1874
2074
  "scale-x": [{
1875
- "scale-x": [A]
2075
+ "scale-x": [scale]
1876
2076
  }],
1877
2077
  /**
1878
2078
  * Scale Y
1879
2079
  * @see https://tailwindcss.com/docs/scale
1880
2080
  */
1881
2081
  "scale-y": [{
1882
- "scale-y": [A]
2082
+ "scale-y": [scale]
1883
2083
  }],
1884
2084
  /**
1885
2085
  * Rotate
1886
2086
  * @see https://tailwindcss.com/docs/rotate
1887
2087
  */
1888
2088
  rotate: [{
1889
- rotate: [P, l]
2089
+ rotate: [isInteger, isArbitraryValue]
1890
2090
  }],
1891
2091
  /**
1892
2092
  * Translate X
1893
2093
  * @see https://tailwindcss.com/docs/translate
1894
2094
  */
1895
2095
  "translate-x": [{
1896
- "translate-x": [q]
2096
+ "translate-x": [translate]
1897
2097
  }],
1898
2098
  /**
1899
2099
  * Translate Y
1900
2100
  * @see https://tailwindcss.com/docs/translate
1901
2101
  */
1902
2102
  "translate-y": [{
1903
- "translate-y": [q]
2103
+ "translate-y": [translate]
1904
2104
  }],
1905
2105
  /**
1906
2106
  * Skew X
1907
2107
  * @see https://tailwindcss.com/docs/skew
1908
2108
  */
1909
2109
  "skew-x": [{
1910
- "skew-x": [U]
2110
+ "skew-x": [skew]
1911
2111
  }],
1912
2112
  /**
1913
2113
  * Skew Y
1914
2114
  * @see https://tailwindcss.com/docs/skew
1915
2115
  */
1916
2116
  "skew-y": [{
1917
- "skew-y": [U]
2117
+ "skew-y": [skew]
1918
2118
  }],
1919
2119
  /**
1920
2120
  * Transform Origin
1921
2121
  * @see https://tailwindcss.com/docs/transform-origin
1922
2122
  */
1923
2123
  "transform-origin": [{
1924
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
2124
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
1925
2125
  }],
1926
2126
  // Interactivity
1927
2127
  /**
@@ -1929,7 +2129,7 @@ const c = (e) => {
1929
2129
  * @see https://tailwindcss.com/docs/accent-color
1930
2130
  */
1931
2131
  accent: [{
1932
- accent: ["auto", e]
2132
+ accent: ["auto", colors]
1933
2133
  }],
1934
2134
  /**
1935
2135
  * Appearance
@@ -1943,14 +2143,14 @@ const c = (e) => {
1943
2143
  * @see https://tailwindcss.com/docs/cursor
1944
2144
  */
1945
2145
  cursor: [{
1946
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
2146
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
1947
2147
  }],
1948
2148
  /**
1949
2149
  * Caret Color
1950
2150
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
1951
2151
  */
1952
2152
  "caret-color": [{
1953
- caret: [e]
2153
+ caret: [colors]
1954
2154
  }],
1955
2155
  /**
1956
2156
  * Pointer Events
@@ -1978,126 +2178,126 @@ const c = (e) => {
1978
2178
  * @see https://tailwindcss.com/docs/scroll-margin
1979
2179
  */
1980
2180
  "scroll-m": [{
1981
- "scroll-m": d()
2181
+ "scroll-m": getSpacingWithArbitrary()
1982
2182
  }],
1983
2183
  /**
1984
2184
  * Scroll Margin X
1985
2185
  * @see https://tailwindcss.com/docs/scroll-margin
1986
2186
  */
1987
2187
  "scroll-mx": [{
1988
- "scroll-mx": d()
2188
+ "scroll-mx": getSpacingWithArbitrary()
1989
2189
  }],
1990
2190
  /**
1991
2191
  * Scroll Margin Y
1992
2192
  * @see https://tailwindcss.com/docs/scroll-margin
1993
2193
  */
1994
2194
  "scroll-my": [{
1995
- "scroll-my": d()
2195
+ "scroll-my": getSpacingWithArbitrary()
1996
2196
  }],
1997
2197
  /**
1998
2198
  * Scroll Margin Start
1999
2199
  * @see https://tailwindcss.com/docs/scroll-margin
2000
2200
  */
2001
2201
  "scroll-ms": [{
2002
- "scroll-ms": d()
2202
+ "scroll-ms": getSpacingWithArbitrary()
2003
2203
  }],
2004
2204
  /**
2005
2205
  * Scroll Margin End
2006
2206
  * @see https://tailwindcss.com/docs/scroll-margin
2007
2207
  */
2008
2208
  "scroll-me": [{
2009
- "scroll-me": d()
2209
+ "scroll-me": getSpacingWithArbitrary()
2010
2210
  }],
2011
2211
  /**
2012
2212
  * Scroll Margin Top
2013
2213
  * @see https://tailwindcss.com/docs/scroll-margin
2014
2214
  */
2015
2215
  "scroll-mt": [{
2016
- "scroll-mt": d()
2216
+ "scroll-mt": getSpacingWithArbitrary()
2017
2217
  }],
2018
2218
  /**
2019
2219
  * Scroll Margin Right
2020
2220
  * @see https://tailwindcss.com/docs/scroll-margin
2021
2221
  */
2022
2222
  "scroll-mr": [{
2023
- "scroll-mr": d()
2223
+ "scroll-mr": getSpacingWithArbitrary()
2024
2224
  }],
2025
2225
  /**
2026
2226
  * Scroll Margin Bottom
2027
2227
  * @see https://tailwindcss.com/docs/scroll-margin
2028
2228
  */
2029
2229
  "scroll-mb": [{
2030
- "scroll-mb": d()
2230
+ "scroll-mb": getSpacingWithArbitrary()
2031
2231
  }],
2032
2232
  /**
2033
2233
  * Scroll Margin Left
2034
2234
  * @see https://tailwindcss.com/docs/scroll-margin
2035
2235
  */
2036
2236
  "scroll-ml": [{
2037
- "scroll-ml": d()
2237
+ "scroll-ml": getSpacingWithArbitrary()
2038
2238
  }],
2039
2239
  /**
2040
2240
  * Scroll Padding
2041
2241
  * @see https://tailwindcss.com/docs/scroll-padding
2042
2242
  */
2043
2243
  "scroll-p": [{
2044
- "scroll-p": d()
2244
+ "scroll-p": getSpacingWithArbitrary()
2045
2245
  }],
2046
2246
  /**
2047
2247
  * Scroll Padding X
2048
2248
  * @see https://tailwindcss.com/docs/scroll-padding
2049
2249
  */
2050
2250
  "scroll-px": [{
2051
- "scroll-px": d()
2251
+ "scroll-px": getSpacingWithArbitrary()
2052
2252
  }],
2053
2253
  /**
2054
2254
  * Scroll Padding Y
2055
2255
  * @see https://tailwindcss.com/docs/scroll-padding
2056
2256
  */
2057
2257
  "scroll-py": [{
2058
- "scroll-py": d()
2258
+ "scroll-py": getSpacingWithArbitrary()
2059
2259
  }],
2060
2260
  /**
2061
2261
  * Scroll Padding Start
2062
2262
  * @see https://tailwindcss.com/docs/scroll-padding
2063
2263
  */
2064
2264
  "scroll-ps": [{
2065
- "scroll-ps": d()
2265
+ "scroll-ps": getSpacingWithArbitrary()
2066
2266
  }],
2067
2267
  /**
2068
2268
  * Scroll Padding End
2069
2269
  * @see https://tailwindcss.com/docs/scroll-padding
2070
2270
  */
2071
2271
  "scroll-pe": [{
2072
- "scroll-pe": d()
2272
+ "scroll-pe": getSpacingWithArbitrary()
2073
2273
  }],
2074
2274
  /**
2075
2275
  * Scroll Padding Top
2076
2276
  * @see https://tailwindcss.com/docs/scroll-padding
2077
2277
  */
2078
2278
  "scroll-pt": [{
2079
- "scroll-pt": d()
2279
+ "scroll-pt": getSpacingWithArbitrary()
2080
2280
  }],
2081
2281
  /**
2082
2282
  * Scroll Padding Right
2083
2283
  * @see https://tailwindcss.com/docs/scroll-padding
2084
2284
  */
2085
2285
  "scroll-pr": [{
2086
- "scroll-pr": d()
2286
+ "scroll-pr": getSpacingWithArbitrary()
2087
2287
  }],
2088
2288
  /**
2089
2289
  * Scroll Padding Bottom
2090
2290
  * @see https://tailwindcss.com/docs/scroll-padding
2091
2291
  */
2092
2292
  "scroll-pb": [{
2093
- "scroll-pb": d()
2293
+ "scroll-pb": getSpacingWithArbitrary()
2094
2294
  }],
2095
2295
  /**
2096
2296
  * Scroll Padding Left
2097
2297
  * @see https://tailwindcss.com/docs/scroll-padding
2098
2298
  */
2099
2299
  "scroll-pl": [{
2100
- "scroll-pl": d()
2300
+ "scroll-pl": getSpacingWithArbitrary()
2101
2301
  }],
2102
2302
  /**
2103
2303
  * Scroll Snap Align
@@ -2165,7 +2365,7 @@ const c = (e) => {
2165
2365
  * @see https://tailwindcss.com/docs/will-change
2166
2366
  */
2167
2367
  "will-change": [{
2168
- "will-change": ["auto", "scroll", "contents", "transform", l]
2368
+ "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2169
2369
  }],
2170
2370
  // SVG
2171
2371
  /**
@@ -2173,21 +2373,21 @@ const c = (e) => {
2173
2373
  * @see https://tailwindcss.com/docs/fill
2174
2374
  */
2175
2375
  fill: [{
2176
- fill: [e, "none"]
2376
+ fill: [colors, "none"]
2177
2377
  }],
2178
2378
  /**
2179
2379
  * Stroke Width
2180
2380
  * @see https://tailwindcss.com/docs/stroke-width
2181
2381
  */
2182
2382
  "stroke-w": [{
2183
- stroke: [C, z, _]
2383
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2184
2384
  }],
2185
2385
  /**
2186
2386
  * Stroke
2187
2387
  * @see https://tailwindcss.com/docs/stroke
2188
2388
  */
2189
2389
  stroke: [{
2190
- stroke: [e, "none"]
2390
+ stroke: [colors, "none"]
2191
2391
  }],
2192
2392
  // Accessibility
2193
2393
  /**
@@ -2255,11 +2455,12 @@ const c = (e) => {
2255
2455
  "font-size": ["leading"]
2256
2456
  }
2257
2457
  };
2258
- }, Ne = /* @__PURE__ */ fe(Ee);
2458
+ };
2459
+ const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
2259
2460
  export {
2260
- fe as createTailwindMerge,
2261
- c as fromTheme,
2262
- Ee as getDefaultConfig,
2263
- ge as twJoin,
2264
- Ne as twMerge
2461
+ createTailwindMerge,
2462
+ fromTheme,
2463
+ getDefaultConfig,
2464
+ twJoin,
2465
+ twMerge
2265
2466
  };