bromcom-ui-next 0.1.21 → 0.1.22

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 (513) hide show
  1. package/dist/bromcom-ui/bcm-accordion-group.entry.esm.js.map +1 -0
  2. package/dist/bromcom-ui/bcm-accordion.entry.esm.js.map +1 -0
  3. package/dist/bromcom-ui/bcm-alert.entry.esm.js.map +1 -0
  4. package/dist/bromcom-ui/bcm-avatar.entry.esm.js.map +1 -0
  5. package/dist/bromcom-ui/bcm-badge.entry.esm.js.map +1 -0
  6. package/dist/bromcom-ui/bcm-basic-badge.entry.esm.js.map +1 -0
  7. package/dist/bromcom-ui/bcm-button-group.entry.esm.js.map +1 -0
  8. package/dist/bromcom-ui/bcm-button.entry.esm.js.map +1 -0
  9. package/dist/bromcom-ui/bcm-checkbox.entry.esm.js.map +1 -0
  10. package/dist/bromcom-ui/bcm-chip.entry.esm.js.map +1 -0
  11. package/dist/bromcom-ui/bcm-divider.entry.esm.js.map +1 -0
  12. package/dist/bromcom-ui/bcm-drawer.entry.esm.js.map +1 -0
  13. package/dist/bromcom-ui/bcm-dropdown-item.entry.esm.js.map +1 -0
  14. package/dist/bromcom-ui/bcm-dropdown.entry.esm.js.map +1 -0
  15. package/dist/bromcom-ui/bcm-input.entry.esm.js.map +1 -0
  16. package/dist/bromcom-ui/bcm-linked.entry.esm.js.map +1 -0
  17. package/dist/bromcom-ui/bcm-pop-confirm.entry.esm.js.map +1 -0
  18. package/dist/bromcom-ui/bcm-popover.entry.esm.js.map +1 -0
  19. package/dist/bromcom-ui/bcm-radio-group.entry.esm.js.map +1 -0
  20. package/dist/bromcom-ui/bcm-radio.entry.esm.js.map +1 -0
  21. package/dist/bromcom-ui/bcm-segmented-picker-option.entry.esm.js.map +1 -0
  22. package/dist/bromcom-ui/bcm-segmented-picker.entry.esm.js.map +1 -0
  23. package/dist/bromcom-ui/bcm-shortcut.entry.esm.js.map +1 -0
  24. package/dist/bromcom-ui/bcm-switch.entry.esm.js.map +1 -0
  25. package/dist/bromcom-ui/bcm-tabs-content.entry.esm.js.map +1 -0
  26. package/dist/bromcom-ui/bcm-tabs-list.entry.esm.js.map +1 -0
  27. package/dist/bromcom-ui/bcm-tabs-trigger.entry.esm.js.map +1 -0
  28. package/dist/bromcom-ui/bcm-tabs.entry.esm.js.map +1 -0
  29. package/dist/bromcom-ui/bcm-text.entry.esm.js.map +1 -0
  30. package/dist/bromcom-ui/bcm-textarea.entry.esm.js.map +1 -0
  31. package/dist/bromcom-ui/bcm-tooltip.entry.esm.js.map +1 -0
  32. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  33. package/dist/bromcom-ui/bromcom-ui.esm.js.map +1 -1
  34. package/dist/bromcom-ui/index.esm.js.map +1 -1
  35. package/dist/bromcom-ui/loader.esm.js.map +1 -0
  36. package/dist/bromcom-ui/p-07b05abd.entry.js +2 -0
  37. package/dist/bromcom-ui/p-07b05abd.entry.js.map +1 -0
  38. package/dist/bromcom-ui/p-2d3a0ad4.entry.js +2 -0
  39. package/dist/bromcom-ui/p-2d3a0ad4.entry.js.map +1 -0
  40. package/dist/bromcom-ui/p-319d3937.entry.js +2 -0
  41. package/dist/bromcom-ui/p-319d3937.entry.js.map +1 -0
  42. package/dist/bromcom-ui/p-361073bc.entry.js +2 -0
  43. package/dist/bromcom-ui/p-361073bc.entry.js.map +1 -0
  44. package/dist/bromcom-ui/p-378bf83e.entry.js +2 -0
  45. package/dist/bromcom-ui/p-378bf83e.entry.js.map +1 -0
  46. package/dist/bromcom-ui/p-3866ae3e.entry.js +2 -0
  47. package/dist/bromcom-ui/p-3866ae3e.entry.js.map +1 -0
  48. package/dist/bromcom-ui/p-3fbed81b.entry.js +2 -0
  49. package/dist/bromcom-ui/p-3fbed81b.entry.js.map +1 -0
  50. package/dist/bromcom-ui/p-45158141.entry.js +2 -0
  51. package/dist/bromcom-ui/p-45158141.entry.js.map +1 -0
  52. package/dist/bromcom-ui/p-4d980154.entry.js +2 -0
  53. package/dist/bromcom-ui/p-4d980154.entry.js.map +1 -0
  54. package/dist/bromcom-ui/{p-a03922f8.entry.js → p-50505dd6.entry.js} +2 -2
  55. package/dist/bromcom-ui/p-50505dd6.entry.js.map +1 -0
  56. package/dist/bromcom-ui/{p-b1f9ad67.entry.js → p-62c14cc4.entry.js} +2 -2
  57. package/dist/bromcom-ui/p-62c14cc4.entry.js.map +1 -0
  58. package/dist/bromcom-ui/p-67f62d75.entry.js +2 -0
  59. package/dist/bromcom-ui/p-67f62d75.entry.js.map +1 -0
  60. package/dist/bromcom-ui/p-6fa6b826.entry.js +2 -0
  61. package/dist/bromcom-ui/p-6fa6b826.entry.js.map +1 -0
  62. package/dist/bromcom-ui/p-75d1117d.entry.js +2 -0
  63. package/dist/bromcom-ui/p-75d1117d.entry.js.map +1 -0
  64. package/dist/bromcom-ui/p-778c0de1.entry.js +2 -0
  65. package/dist/bromcom-ui/p-778c0de1.entry.js.map +1 -0
  66. package/dist/bromcom-ui/p-7d366ff2.entry.js +2 -0
  67. package/dist/bromcom-ui/p-7d366ff2.entry.js.map +1 -0
  68. package/dist/bromcom-ui/p-813cffad.entry.js +2 -0
  69. package/dist/bromcom-ui/p-813cffad.entry.js.map +1 -0
  70. package/dist/bromcom-ui/p-813e7ebe.entry.js +2 -0
  71. package/dist/bromcom-ui/p-813e7ebe.entry.js.map +1 -0
  72. package/dist/bromcom-ui/p-87e7e02a.entry.js +2 -0
  73. package/dist/bromcom-ui/p-87e7e02a.entry.js.map +1 -0
  74. package/dist/bromcom-ui/p-90b65db8.entry.js +2 -0
  75. package/dist/bromcom-ui/p-90b65db8.entry.js.map +1 -0
  76. package/dist/bromcom-ui/p-9293a2ce.entry.js +2 -0
  77. package/dist/bromcom-ui/p-9293a2ce.entry.js.map +1 -0
  78. package/dist/bromcom-ui/p-9bf8f3c1.entry.js +2 -0
  79. package/dist/bromcom-ui/p-9bf8f3c1.entry.js.map +1 -0
  80. package/dist/bromcom-ui/p-BfTCfPZ1.js +7 -0
  81. package/dist/bromcom-ui/p-BfTCfPZ1.js.map +1 -0
  82. package/dist/bromcom-ui/p-CEcVC0yX.js +2 -0
  83. package/dist/bromcom-ui/p-CEcVC0yX.js.map +1 -0
  84. package/dist/bromcom-ui/{p-13a245f6.js → p-CUvT12BL.js} +1 -1
  85. package/dist/bromcom-ui/p-CUvT12BL.js.map +1 -0
  86. package/dist/bromcom-ui/p-CrZxEeDA.js +3 -0
  87. package/dist/bromcom-ui/p-CrZxEeDA.js.map +1 -0
  88. package/dist/bromcom-ui/p-DxMLMJ3r.js +2 -0
  89. package/dist/bromcom-ui/p-DxMLMJ3r.js.map +1 -0
  90. package/dist/bromcom-ui/{p-ba2410ef.js → p-IBjzkjef.js} +2 -2
  91. package/dist/bromcom-ui/p-IBjzkjef.js.map +1 -0
  92. package/dist/bromcom-ui/p-a4ace572.entry.js +2 -0
  93. package/dist/bromcom-ui/p-a4ace572.entry.js.map +1 -0
  94. package/dist/bromcom-ui/p-a8b66a90.entry.js +2 -0
  95. package/dist/bromcom-ui/p-a8b66a90.entry.js.map +1 -0
  96. package/dist/bromcom-ui/p-ab1f24b4.entry.js +2 -0
  97. package/dist/bromcom-ui/p-ab1f24b4.entry.js.map +1 -0
  98. package/dist/bromcom-ui/p-b566bad4.entry.js +2 -0
  99. package/dist/bromcom-ui/p-b566bad4.entry.js.map +1 -0
  100. package/dist/bromcom-ui/p-c8307ce4.entry.js +2 -0
  101. package/dist/bromcom-ui/p-c8307ce4.entry.js.map +1 -0
  102. package/dist/bromcom-ui/p-c86d4b07.entry.js +2 -0
  103. package/dist/bromcom-ui/p-c86d4b07.entry.js.map +1 -0
  104. package/dist/bromcom-ui/{p-06d42346.entry.js → p-e00fa939.entry.js} +2 -2
  105. package/dist/bromcom-ui/p-e00fa939.entry.js.map +1 -0
  106. package/dist/bromcom-ui/{p-11227d96.entry.js → p-e91676ff.entry.js} +2 -2
  107. package/dist/bromcom-ui/p-e91676ff.entry.js.map +1 -0
  108. package/dist/bromcom-ui/p-fdc1df0c.entry.js +2 -0
  109. package/dist/bromcom-ui/p-fdc1df0c.entry.js.map +1 -0
  110. package/dist/cjs/bcm-accordion-group.cjs.entry.js +3 -5
  111. package/dist/cjs/bcm-accordion-group.cjs.entry.js.map +1 -1
  112. package/dist/cjs/bcm-accordion-group.entry.cjs.js.map +1 -0
  113. package/dist/cjs/bcm-accordion.cjs.entry.js +4 -6
  114. package/dist/cjs/bcm-accordion.cjs.entry.js.map +1 -1
  115. package/dist/cjs/bcm-accordion.entry.cjs.js.map +1 -0
  116. package/dist/cjs/bcm-alert.cjs.entry.js +4 -6
  117. package/dist/cjs/bcm-alert.cjs.entry.js.map +1 -1
  118. package/dist/cjs/bcm-alert.entry.cjs.js.map +1 -0
  119. package/dist/cjs/bcm-avatar.cjs.entry.js +4 -6
  120. package/dist/cjs/bcm-avatar.cjs.entry.js.map +1 -1
  121. package/dist/cjs/bcm-avatar.entry.cjs.js.map +1 -0
  122. package/dist/cjs/bcm-badge.cjs.entry.js +4 -6
  123. package/dist/cjs/bcm-badge.cjs.entry.js.map +1 -1
  124. package/dist/cjs/bcm-badge.entry.cjs.js.map +1 -0
  125. package/dist/cjs/bcm-basic-badge.cjs.entry.js +5 -7
  126. package/dist/cjs/bcm-basic-badge.cjs.entry.js.map +1 -1
  127. package/dist/cjs/bcm-basic-badge.entry.cjs.js.map +1 -0
  128. package/dist/cjs/bcm-button-group.cjs.entry.js +4 -6
  129. package/dist/cjs/bcm-button-group.cjs.entry.js.map +1 -1
  130. package/dist/cjs/bcm-button-group.entry.cjs.js.map +1 -0
  131. package/dist/cjs/bcm-button.cjs.entry.js +316 -0
  132. package/dist/cjs/bcm-button.cjs.entry.js.map +1 -0
  133. package/dist/cjs/bcm-button.entry.cjs.js.map +1 -0
  134. package/dist/cjs/bcm-checkbox.cjs.entry.js +5 -7
  135. package/dist/cjs/bcm-checkbox.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bcm-checkbox.entry.cjs.js.map +1 -0
  137. package/dist/cjs/bcm-chip.cjs.entry.js +4 -6
  138. package/dist/cjs/bcm-chip.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bcm-chip.entry.cjs.js.map +1 -0
  140. package/dist/cjs/bcm-divider.cjs.entry.js +4 -6
  141. package/dist/cjs/bcm-divider.cjs.entry.js.map +1 -1
  142. package/dist/cjs/bcm-divider.entry.cjs.js.map +1 -0
  143. package/dist/cjs/bcm-drawer.cjs.entry.js +206 -0
  144. package/dist/cjs/bcm-drawer.cjs.entry.js.map +1 -0
  145. package/dist/cjs/bcm-drawer.entry.cjs.js.map +1 -0
  146. package/dist/cjs/bcm-dropdown-item.cjs.entry.js +61 -0
  147. package/dist/cjs/bcm-dropdown-item.cjs.entry.js.map +1 -0
  148. package/dist/cjs/bcm-dropdown-item.entry.cjs.js.map +1 -0
  149. package/dist/cjs/bcm-dropdown.cjs.entry.js +54 -0
  150. package/dist/cjs/bcm-dropdown.cjs.entry.js.map +1 -0
  151. package/dist/cjs/bcm-dropdown.entry.cjs.js.map +1 -0
  152. package/dist/cjs/bcm-input.cjs.entry.js +315 -0
  153. package/dist/cjs/bcm-input.cjs.entry.js.map +1 -0
  154. package/dist/cjs/bcm-input.entry.cjs.js.map +1 -0
  155. package/dist/cjs/bcm-linked.cjs.entry.js +343 -0
  156. package/dist/cjs/bcm-linked.cjs.entry.js.map +1 -0
  157. package/dist/cjs/bcm-linked.entry.cjs.js.map +1 -0
  158. package/dist/cjs/bcm-pop-confirm.cjs.entry.js +7 -9
  159. package/dist/cjs/bcm-pop-confirm.cjs.entry.js.map +1 -1
  160. package/dist/cjs/bcm-pop-confirm.entry.cjs.js.map +1 -0
  161. package/dist/cjs/bcm-popover.cjs.entry.js +8 -10
  162. package/dist/cjs/bcm-popover.cjs.entry.js.map +1 -1
  163. package/dist/cjs/bcm-popover.entry.cjs.js.map +1 -0
  164. package/dist/cjs/bcm-radio-group.cjs.entry.js +6 -8
  165. package/dist/cjs/bcm-radio-group.cjs.entry.js.map +1 -1
  166. package/dist/cjs/bcm-radio-group.entry.cjs.js.map +1 -0
  167. package/dist/cjs/bcm-radio.cjs.entry.js +4 -6
  168. package/dist/cjs/bcm-radio.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bcm-radio.entry.cjs.js.map +1 -0
  170. package/dist/cjs/bcm-segmented-picker-option.cjs.entry.js +4 -6
  171. package/dist/cjs/bcm-segmented-picker-option.cjs.entry.js.map +1 -1
  172. package/dist/cjs/bcm-segmented-picker-option.entry.cjs.js.map +1 -0
  173. package/dist/cjs/bcm-segmented-picker.cjs.entry.js +4 -6
  174. package/dist/cjs/bcm-segmented-picker.cjs.entry.js.map +1 -1
  175. package/dist/cjs/bcm-segmented-picker.entry.cjs.js.map +1 -0
  176. package/dist/cjs/bcm-shortcut.cjs.entry.js +50 -0
  177. package/dist/cjs/bcm-shortcut.cjs.entry.js.map +1 -0
  178. package/dist/cjs/bcm-shortcut.entry.cjs.js.map +1 -0
  179. package/dist/cjs/bcm-switch.cjs.entry.js +5 -7
  180. package/dist/cjs/bcm-switch.cjs.entry.js.map +1 -1
  181. package/dist/cjs/bcm-switch.entry.cjs.js.map +1 -0
  182. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -5
  183. package/dist/cjs/bcm-tabs-content.cjs.entry.js.map +1 -1
  184. package/dist/cjs/bcm-tabs-content.entry.cjs.js.map +1 -0
  185. package/dist/cjs/bcm-tabs-list.cjs.entry.js +4 -6
  186. package/dist/cjs/bcm-tabs-list.cjs.entry.js.map +1 -1
  187. package/dist/cjs/bcm-tabs-list.entry.cjs.js.map +1 -0
  188. package/dist/cjs/bcm-tabs-trigger.cjs.entry.js +4 -6
  189. package/dist/cjs/bcm-tabs-trigger.cjs.entry.js.map +1 -1
  190. package/dist/cjs/bcm-tabs-trigger.entry.cjs.js.map +1 -0
  191. package/dist/cjs/bcm-tabs.cjs.entry.js +4 -6
  192. package/dist/cjs/bcm-tabs.cjs.entry.js.map +1 -1
  193. package/dist/cjs/bcm-tabs.entry.cjs.js.map +1 -0
  194. package/dist/cjs/bcm-text.cjs.entry.js +124 -0
  195. package/dist/cjs/bcm-text.cjs.entry.js.map +1 -0
  196. package/dist/cjs/bcm-text.entry.cjs.js.map +1 -0
  197. package/dist/cjs/bcm-textarea.cjs.entry.js +8 -10
  198. package/dist/cjs/bcm-textarea.cjs.entry.js.map +1 -1
  199. package/dist/cjs/bcm-textarea.entry.cjs.js.map +1 -0
  200. package/dist/cjs/bcm-tooltip.cjs.entry.js +8 -10
  201. package/dist/cjs/bcm-tooltip.cjs.entry.js.map +1 -1
  202. package/dist/cjs/bcm-tooltip.entry.cjs.js.map +1 -0
  203. package/dist/cjs/bromcom-ui.cjs.js +8 -8
  204. package/dist/cjs/bromcom-ui.cjs.js.map +1 -1
  205. package/dist/cjs/{floating-ui.dom.esm-3ec8404c.js → floating-ui.dom-DyKmFgkP.js} +32 -512
  206. package/dist/cjs/floating-ui.dom-DyKmFgkP.js.map +1 -0
  207. package/dist/cjs/{generate-id-f6982042.js → generate-id-CG_BkTJu.js} +4 -13
  208. package/dist/cjs/generate-id-CG_BkTJu.js.map +1 -0
  209. package/dist/cjs/index-Bp6Dd2i1.js +97 -0
  210. package/dist/cjs/index-Bp6Dd2i1.js.map +1 -0
  211. package/dist/cjs/{index-6710808e.js → index-DFpZVb11.js} +461 -279
  212. package/dist/cjs/index-DFpZVb11.js.map +1 -0
  213. package/dist/cjs/index.cjs.js +1 -0
  214. package/dist/cjs/index.cjs.js.map +1 -1
  215. package/dist/cjs/loader.cjs.js +4 -6
  216. package/dist/cjs/loader.cjs.js.map +1 -1
  217. package/dist/cjs/tv-ngpIbGlG.js +2624 -0
  218. package/dist/cjs/tv-ngpIbGlG.js.map +1 -0
  219. package/dist/cjs/{validation-messages-18389279.js → validation-messages-BjfpSEWk.js} +2 -1
  220. package/dist/cjs/validation-messages-BjfpSEWk.js.map +1 -0
  221. package/dist/collection/collection-manifest.json +1 -1
  222. package/dist/collection/components/accordion/accordion.component.js +4 -4
  223. package/dist/collection/components/accordion-group/accordion-group.component.js +1 -1
  224. package/dist/collection/components/alert/alert.component.js +5 -5
  225. package/dist/collection/components/avatar/avatar.component.js +9 -9
  226. package/dist/collection/components/badge/badge.component.js +9 -9
  227. package/dist/collection/components/basic-badge/basic-badge.component.js +5 -5
  228. package/dist/collection/components/basic-badge/basic-badge.css +1 -1
  229. package/dist/collection/components/button/button.component.js +20 -20
  230. package/dist/collection/components/button/button.css +1 -1
  231. package/dist/collection/components/button-group/button-group.component.js +7 -7
  232. package/dist/collection/components/checkbox/checkbox.component.js +9 -9
  233. package/dist/collection/components/chip/chip.component.js +6 -6
  234. package/dist/collection/components/divider/divider.component.js +3 -3
  235. package/dist/collection/components/drawer/drawer.component.js +6 -6
  236. package/dist/collection/components/dropdown/dropdown.component.js +1 -1
  237. package/dist/collection/components/dropdown-item/dropdown-item.component.js +6 -5
  238. package/dist/collection/components/dropdown-item/dropdown-item.component.js.map +1 -1
  239. package/dist/collection/components/input/input.component.js +32 -31
  240. package/dist/collection/components/input/input.component.js.map +1 -1
  241. package/dist/collection/components/input/input.css +1 -1
  242. package/dist/collection/components/linked/linked.component.js +13 -12
  243. package/dist/collection/components/linked/linked.component.js.map +1 -1
  244. package/dist/collection/components/linked/linked.css +1 -1
  245. package/dist/collection/components/pop-confirm/pop-confirm.component.js +10 -10
  246. package/dist/collection/components/popover/popover.component.js +7 -7
  247. package/dist/collection/components/radio/radio.component.js +9 -9
  248. package/dist/collection/components/radio-group/radio-group.component.js +9 -9
  249. package/dist/collection/components/segmented-picker/segmented-picker-option.component.js +5 -5
  250. package/dist/collection/components/segmented-picker/segmented-picker.component.js +4 -4
  251. package/dist/collection/components/shortcut/shortcut.js +2 -2
  252. package/dist/collection/components/switch/switch.component.js +11 -11
  253. package/dist/collection/components/tabs/tabs-content.component.js +1 -1
  254. package/dist/collection/components/tabs/tabs-trigger.component.js +4 -4
  255. package/dist/collection/components/tabs/tabs.component.js +2 -2
  256. package/dist/collection/components/text/text.component.js +4 -4
  257. package/dist/collection/components/textarea/textarea.component.js +25 -24
  258. package/dist/collection/components/textarea/textarea.component.js.map +1 -1
  259. package/dist/collection/components/textarea/textarea.css +1 -1
  260. package/dist/collection/components/tooltip/tooltip.component.js +5 -5
  261. package/dist/components/bcm-accordion-group.js +4 -4
  262. package/dist/components/bcm-accordion-group.js.map +1 -1
  263. package/dist/components/bcm-accordion.js +5 -5
  264. package/dist/components/bcm-accordion.js.map +1 -1
  265. package/dist/components/bcm-alert.js +5 -5
  266. package/dist/components/bcm-alert.js.map +1 -1
  267. package/dist/components/bcm-avatar.js +6 -6
  268. package/dist/components/bcm-avatar.js.map +1 -1
  269. package/dist/components/bcm-badge.js +2 -1
  270. package/dist/components/bcm-basic-badge.js +6 -6
  271. package/dist/components/bcm-basic-badge.js.map +1 -1
  272. package/dist/components/bcm-button-group.js +5 -5
  273. package/dist/components/bcm-button-group.js.map +1 -1
  274. package/dist/components/bcm-button.js +2 -1
  275. package/dist/components/bcm-checkbox.js +6 -6
  276. package/dist/components/bcm-checkbox.js.map +1 -1
  277. package/dist/components/bcm-chip.js +5 -5
  278. package/dist/components/bcm-chip.js.map +1 -1
  279. package/dist/components/bcm-divider.js +5 -5
  280. package/dist/components/bcm-divider.js.map +1 -1
  281. package/dist/components/bcm-drawer.js +5 -5
  282. package/dist/components/bcm-drawer.js.map +1 -1
  283. package/dist/components/bcm-dropdown-item.js +6 -6
  284. package/dist/components/bcm-dropdown-item.js.map +1 -1
  285. package/dist/components/bcm-dropdown.js +7 -7
  286. package/dist/components/bcm-dropdown.js.map +1 -1
  287. package/dist/components/bcm-input.js +14 -14
  288. package/dist/components/bcm-input.js.map +1 -1
  289. package/dist/components/bcm-linked.js +2 -1
  290. package/dist/components/bcm-pop-confirm.js +7 -7
  291. package/dist/components/bcm-pop-confirm.js.map +1 -1
  292. package/dist/components/bcm-popover.js +6 -6
  293. package/dist/components/bcm-popover.js.map +1 -1
  294. package/dist/components/bcm-radio-group.js +7 -7
  295. package/dist/components/bcm-radio-group.js.map +1 -1
  296. package/dist/components/bcm-radio.js +5 -5
  297. package/dist/components/bcm-radio.js.map +1 -1
  298. package/dist/components/bcm-segmented-picker-option.js +5 -5
  299. package/dist/components/bcm-segmented-picker-option.js.map +1 -1
  300. package/dist/components/bcm-segmented-picker.js +5 -5
  301. package/dist/components/bcm-segmented-picker.js.map +1 -1
  302. package/dist/components/bcm-shortcut.js +5 -5
  303. package/dist/components/bcm-shortcut.js.map +1 -1
  304. package/dist/components/bcm-switch.js +6 -6
  305. package/dist/components/bcm-switch.js.map +1 -1
  306. package/dist/components/bcm-tabs-content.js +4 -4
  307. package/dist/components/bcm-tabs-content.js.map +1 -1
  308. package/dist/components/bcm-tabs-list.js +5 -5
  309. package/dist/components/bcm-tabs-list.js.map +1 -1
  310. package/dist/components/bcm-tabs-trigger.js +5 -5
  311. package/dist/components/bcm-tabs-trigger.js.map +1 -1
  312. package/dist/components/bcm-tabs.js +5 -5
  313. package/dist/components/bcm-tabs.js.map +1 -1
  314. package/dist/components/bcm-text.js +5 -5
  315. package/dist/components/bcm-text.js.map +1 -1
  316. package/dist/components/bcm-textarea.js +9 -9
  317. package/dist/components/bcm-textarea.js.map +1 -1
  318. package/dist/components/bcm-tooltip.js +6 -6
  319. package/dist/components/bcm-tooltip.js.map +1 -1
  320. package/dist/components/index.js +1706 -2
  321. package/dist/components/index.js.map +1 -1
  322. package/dist/components/{p-bf273460.js → p-A70Ppz6C.js} +6 -6
  323. package/dist/components/p-A70Ppz6C.js.map +1 -0
  324. package/dist/components/{p-39872cdf.js → p-BHwftRkk.js} +8 -8
  325. package/dist/components/p-BHwftRkk.js.map +1 -0
  326. package/dist/components/{p-c491a7c9.js → p-BdGAZ8M0.js} +7 -7
  327. package/dist/components/p-BdGAZ8M0.js.map +1 -0
  328. package/dist/components/p-BfTCfPZ1.js +95 -0
  329. package/dist/components/p-BfTCfPZ1.js.map +1 -0
  330. package/dist/components/p-CEcVC0yX.js +2622 -0
  331. package/dist/components/p-CEcVC0yX.js.map +1 -0
  332. package/dist/{esm/validation-messages-af4512f0.js → components/p-CUvT12BL.js} +2 -1
  333. package/dist/components/p-CUvT12BL.js.map +1 -0
  334. package/dist/components/{p-50133556.js → p-CzcTU1ty.js} +32 -512
  335. package/dist/components/p-CzcTU1ty.js.map +1 -0
  336. package/dist/components/{p-ba2410ef.js → p-IBjzkjef.js} +4 -13
  337. package/dist/components/p-IBjzkjef.js.map +1 -0
  338. package/dist/esm/bcm-accordion-group.entry.js +3 -3
  339. package/dist/esm/bcm-accordion-group.entry.js.map +1 -1
  340. package/dist/esm/bcm-accordion.entry.js +4 -4
  341. package/dist/esm/bcm-accordion.entry.js.map +1 -1
  342. package/dist/esm/bcm-alert.entry.js +4 -4
  343. package/dist/esm/bcm-alert.entry.js.map +1 -1
  344. package/dist/esm/bcm-avatar.entry.js +4 -4
  345. package/dist/esm/bcm-avatar.entry.js.map +1 -1
  346. package/dist/esm/bcm-badge.entry.js +4 -4
  347. package/dist/esm/bcm-badge.entry.js.map +1 -1
  348. package/dist/esm/bcm-basic-badge.entry.js +5 -5
  349. package/dist/esm/bcm-basic-badge.entry.js.map +1 -1
  350. package/dist/esm/bcm-button-group.entry.js +4 -4
  351. package/dist/esm/bcm-button-group.entry.js.map +1 -1
  352. package/dist/esm/bcm-button.entry.js +314 -0
  353. package/dist/esm/bcm-button.entry.js.map +1 -0
  354. package/dist/esm/bcm-checkbox.entry.js +5 -5
  355. package/dist/esm/bcm-checkbox.entry.js.map +1 -1
  356. package/dist/esm/bcm-chip.entry.js +4 -4
  357. package/dist/esm/bcm-chip.entry.js.map +1 -1
  358. package/dist/esm/bcm-divider.entry.js +4 -4
  359. package/dist/esm/bcm-divider.entry.js.map +1 -1
  360. package/dist/esm/bcm-drawer.entry.js +204 -0
  361. package/dist/esm/bcm-drawer.entry.js.map +1 -0
  362. package/dist/esm/bcm-dropdown-item.entry.js +59 -0
  363. package/dist/esm/bcm-dropdown-item.entry.js.map +1 -0
  364. package/dist/esm/bcm-dropdown.entry.js +52 -0
  365. package/dist/esm/bcm-dropdown.entry.js.map +1 -0
  366. package/dist/esm/bcm-input.entry.js +313 -0
  367. package/dist/esm/bcm-input.entry.js.map +1 -0
  368. package/dist/esm/bcm-linked.entry.js +341 -0
  369. package/dist/esm/bcm-linked.entry.js.map +1 -0
  370. package/dist/esm/bcm-pop-confirm.entry.js +5 -5
  371. package/dist/esm/bcm-pop-confirm.entry.js.map +1 -1
  372. package/dist/esm/bcm-popover.entry.js +5 -5
  373. package/dist/esm/bcm-popover.entry.js.map +1 -1
  374. package/dist/esm/bcm-radio-group.entry.js +6 -6
  375. package/dist/esm/bcm-radio-group.entry.js.map +1 -1
  376. package/dist/esm/bcm-radio.entry.js +4 -4
  377. package/dist/esm/bcm-radio.entry.js.map +1 -1
  378. package/dist/esm/bcm-segmented-picker-option.entry.js +4 -4
  379. package/dist/esm/bcm-segmented-picker-option.entry.js.map +1 -1
  380. package/dist/esm/bcm-segmented-picker.entry.js +4 -4
  381. package/dist/esm/bcm-segmented-picker.entry.js.map +1 -1
  382. package/dist/esm/bcm-shortcut.entry.js +48 -0
  383. package/dist/esm/bcm-shortcut.entry.js.map +1 -0
  384. package/dist/esm/bcm-switch.entry.js +5 -5
  385. package/dist/esm/bcm-switch.entry.js.map +1 -1
  386. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  387. package/dist/esm/bcm-tabs-content.entry.js.map +1 -1
  388. package/dist/esm/bcm-tabs-list.entry.js +4 -4
  389. package/dist/esm/bcm-tabs-list.entry.js.map +1 -1
  390. package/dist/esm/bcm-tabs-trigger.entry.js +4 -4
  391. package/dist/esm/bcm-tabs-trigger.entry.js.map +1 -1
  392. package/dist/esm/bcm-tabs.entry.js +4 -4
  393. package/dist/esm/bcm-tabs.entry.js.map +1 -1
  394. package/dist/esm/bcm-text.entry.js +122 -0
  395. package/dist/esm/bcm-text.entry.js.map +1 -0
  396. package/dist/esm/bcm-textarea.entry.js +8 -8
  397. package/dist/esm/bcm-textarea.entry.js.map +1 -1
  398. package/dist/esm/bcm-tooltip.entry.js +5 -5
  399. package/dist/esm/bcm-tooltip.entry.js.map +1 -1
  400. package/dist/esm/bromcom-ui.js +6 -5
  401. package/dist/esm/bromcom-ui.js.map +1 -1
  402. package/dist/esm/{floating-ui.dom.esm-b7749b71.js → floating-ui.dom-DxMLMJ3r.js} +33 -513
  403. package/dist/esm/floating-ui.dom-DxMLMJ3r.js.map +1 -0
  404. package/dist/esm/{generate-id-3b2fcb93.js → generate-id-IBjzkjef.js} +4 -13
  405. package/dist/esm/generate-id-IBjzkjef.js.map +1 -0
  406. package/dist/esm/index-BfTCfPZ1.js +95 -0
  407. package/dist/esm/index-BfTCfPZ1.js.map +1 -0
  408. package/dist/esm/{index-18b75a47.js → index-CrZxEeDA.js} +461 -260
  409. package/dist/esm/index-CrZxEeDA.js.map +1 -0
  410. package/dist/esm/index.js +1 -0
  411. package/dist/esm/index.js.map +1 -1
  412. package/dist/esm/loader.js +4 -4
  413. package/dist/esm/loader.js.map +1 -1
  414. package/dist/esm/tv-CEcVC0yX.js +2622 -0
  415. package/dist/esm/tv-CEcVC0yX.js.map +1 -0
  416. package/dist/{components/p-13a245f6.js → esm/validation-messages-CUvT12BL.js} +2 -1
  417. package/dist/esm/validation-messages-CUvT12BL.js.map +1 -0
  418. package/dist/types/components.d.ts +280 -0
  419. package/dist/types/stencil-public-runtime.d.ts +35 -6
  420. package/package.json +1 -1
  421. package/dist/bromcom-ui/p-06d42346.entry.js.map +0 -1
  422. package/dist/bromcom-ui/p-0c8a9725.entry.js +0 -2
  423. package/dist/bromcom-ui/p-0c8a9725.entry.js.map +0 -1
  424. package/dist/bromcom-ui/p-11227d96.entry.js.map +0 -1
  425. package/dist/bromcom-ui/p-12360e4c.js +0 -7
  426. package/dist/bromcom-ui/p-12360e4c.js.map +0 -1
  427. package/dist/bromcom-ui/p-13a245f6.js.map +0 -1
  428. package/dist/bromcom-ui/p-1b4ccb21.entry.js +0 -2
  429. package/dist/bromcom-ui/p-1b4ccb21.entry.js.map +0 -1
  430. package/dist/bromcom-ui/p-1e726978.entry.js +0 -2
  431. package/dist/bromcom-ui/p-1e726978.entry.js.map +0 -1
  432. package/dist/bromcom-ui/p-2c58fcb7.js +0 -2
  433. package/dist/bromcom-ui/p-2c58fcb7.js.map +0 -1
  434. package/dist/bromcom-ui/p-2e469cb9.entry.js +0 -2
  435. package/dist/bromcom-ui/p-2e469cb9.entry.js.map +0 -1
  436. package/dist/bromcom-ui/p-350c97e1.entry.js +0 -2
  437. package/dist/bromcom-ui/p-350c97e1.entry.js.map +0 -1
  438. package/dist/bromcom-ui/p-4027f5c4.entry.js +0 -2
  439. package/dist/bromcom-ui/p-4027f5c4.entry.js.map +0 -1
  440. package/dist/bromcom-ui/p-45f4c75b.entry.js +0 -2
  441. package/dist/bromcom-ui/p-45f4c75b.entry.js.map +0 -1
  442. package/dist/bromcom-ui/p-4652635d.entry.js +0 -2
  443. package/dist/bromcom-ui/p-4652635d.entry.js.map +0 -1
  444. package/dist/bromcom-ui/p-50133556.js +0 -2
  445. package/dist/bromcom-ui/p-50133556.js.map +0 -1
  446. package/dist/bromcom-ui/p-67ceb7f3.entry.js +0 -2
  447. package/dist/bromcom-ui/p-67ceb7f3.entry.js.map +0 -1
  448. package/dist/bromcom-ui/p-77122bc2.entry.js +0 -2
  449. package/dist/bromcom-ui/p-77122bc2.entry.js.map +0 -1
  450. package/dist/bromcom-ui/p-78d8f63c.entry.js +0 -2
  451. package/dist/bromcom-ui/p-78d8f63c.entry.js.map +0 -1
  452. package/dist/bromcom-ui/p-87a0f20b.entry.js +0 -2
  453. package/dist/bromcom-ui/p-87a0f20b.entry.js.map +0 -1
  454. package/dist/bromcom-ui/p-881ccea1.entry.js +0 -2
  455. package/dist/bromcom-ui/p-881ccea1.entry.js.map +0 -1
  456. package/dist/bromcom-ui/p-8ae92b62.entry.js +0 -2
  457. package/dist/bromcom-ui/p-8ae92b62.entry.js.map +0 -1
  458. package/dist/bromcom-ui/p-9a6cec21.entry.js +0 -2
  459. package/dist/bromcom-ui/p-9a6cec21.entry.js.map +0 -1
  460. package/dist/bromcom-ui/p-9d0aeb92.js +0 -3
  461. package/dist/bromcom-ui/p-9d0aeb92.js.map +0 -1
  462. package/dist/bromcom-ui/p-a03922f8.entry.js.map +0 -1
  463. package/dist/bromcom-ui/p-a20f6baf.entry.js +0 -2
  464. package/dist/bromcom-ui/p-a20f6baf.entry.js.map +0 -1
  465. package/dist/bromcom-ui/p-b1f9ad67.entry.js.map +0 -1
  466. package/dist/bromcom-ui/p-ba2410ef.js.map +0 -1
  467. package/dist/bromcom-ui/p-bf213fe6.entry.js +0 -2
  468. package/dist/bromcom-ui/p-bf213fe6.entry.js.map +0 -1
  469. package/dist/bromcom-ui/p-c89f7997.entry.js +0 -2
  470. package/dist/bromcom-ui/p-c89f7997.entry.js.map +0 -1
  471. package/dist/bromcom-ui/p-ddf64315.js +0 -2
  472. package/dist/bromcom-ui/p-ddf64315.js.map +0 -1
  473. package/dist/bromcom-ui/p-f56b22de.entry.js +0 -2
  474. package/dist/bromcom-ui/p-f56b22de.entry.js.map +0 -1
  475. package/dist/bromcom-ui/p-fdcb9dbd.entry.js +0 -2
  476. package/dist/bromcom-ui/p-fdcb9dbd.entry.js.map +0 -1
  477. package/dist/cjs/app-globals-e0eef2e9.js +0 -47
  478. package/dist/cjs/app-globals-e0eef2e9.js.map +0 -1
  479. package/dist/cjs/bcm-button_8.cjs.entry.js +0 -1423
  480. package/dist/cjs/bcm-button_8.cjs.entry.js.map +0 -1
  481. package/dist/cjs/floating-ui.dom.esm-3ec8404c.js.map +0 -1
  482. package/dist/cjs/generate-id-f6982042.js.map +0 -1
  483. package/dist/cjs/index-5a88e57b.js +0 -84
  484. package/dist/cjs/index-5a88e57b.js.map +0 -1
  485. package/dist/cjs/index-6710808e.js.map +0 -1
  486. package/dist/cjs/tv-d2e35446.js +0 -2597
  487. package/dist/cjs/tv-d2e35446.js.map +0 -1
  488. package/dist/cjs/validation-messages-18389279.js.map +0 -1
  489. package/dist/components/p-12360e4c.js +0 -82
  490. package/dist/components/p-12360e4c.js.map +0 -1
  491. package/dist/components/p-13a245f6.js.map +0 -1
  492. package/dist/components/p-2c58fcb7.js +0 -2595
  493. package/dist/components/p-2c58fcb7.js.map +0 -1
  494. package/dist/components/p-30135590.js +0 -1567
  495. package/dist/components/p-30135590.js.map +0 -1
  496. package/dist/components/p-39872cdf.js.map +0 -1
  497. package/dist/components/p-50133556.js.map +0 -1
  498. package/dist/components/p-ba2410ef.js.map +0 -1
  499. package/dist/components/p-bf273460.js.map +0 -1
  500. package/dist/components/p-c491a7c9.js.map +0 -1
  501. package/dist/esm/app-globals-f7994f55.js +0 -45
  502. package/dist/esm/app-globals-f7994f55.js.map +0 -1
  503. package/dist/esm/bcm-button_8.entry.js +0 -1412
  504. package/dist/esm/bcm-button_8.entry.js.map +0 -1
  505. package/dist/esm/floating-ui.dom.esm-b7749b71.js.map +0 -1
  506. package/dist/esm/generate-id-3b2fcb93.js.map +0 -1
  507. package/dist/esm/index-097075ad.js +0 -82
  508. package/dist/esm/index-097075ad.js.map +0 -1
  509. package/dist/esm/index-18b75a47.js.map +0 -1
  510. package/dist/esm/tv-6dcd2224.js +0 -2595
  511. package/dist/esm/tv-6dcd2224.js.map +0 -1
  512. package/dist/esm/validation-messages-af4512f0.js.map +0 -1
  513. package/loader/package.json +0 -11
@@ -0,0 +1,2622 @@
1
+ var dist = {};
2
+
3
+ var bundleCjs = {};
4
+
5
+ var hasRequiredBundleCjs;
6
+
7
+ function requireBundleCjs () {
8
+ if (hasRequiredBundleCjs) return bundleCjs;
9
+ hasRequiredBundleCjs = 1;
10
+ (function (exports) {
11
+
12
+ Object.defineProperty(exports, Symbol.toStringTag, {
13
+ value: 'Module'
14
+ });
15
+ const CLASS_PART_SEPARATOR = '-';
16
+ const createClassGroupUtils = config => {
17
+ const classMap = createClassMap(config);
18
+ const {
19
+ conflictingClassGroups,
20
+ conflictingClassGroupModifiers
21
+ } = config;
22
+ const getClassGroupId = className => {
23
+ const classParts = className.split(CLASS_PART_SEPARATOR);
24
+ // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.
25
+ if (classParts[0] === '' && classParts.length !== 1) {
26
+ classParts.shift();
27
+ }
28
+ return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
29
+ };
30
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
31
+ const conflicts = conflictingClassGroups[classGroupId] || [];
32
+ if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
33
+ return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
34
+ }
35
+ return conflicts;
36
+ };
37
+ return {
38
+ getClassGroupId,
39
+ getConflictingClassGroupIds
40
+ };
41
+ };
42
+ const getGroupRecursive = (classParts, classPartObject) => {
43
+ if (classParts.length === 0) {
44
+ return classPartObject.classGroupId;
45
+ }
46
+ const currentClassPart = classParts[0];
47
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
48
+ const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;
49
+ if (classGroupFromNextClassPart) {
50
+ return classGroupFromNextClassPart;
51
+ }
52
+ if (classPartObject.validators.length === 0) {
53
+ return undefined;
54
+ }
55
+ const classRest = classParts.join(CLASS_PART_SEPARATOR);
56
+ return classPartObject.validators.find(({
57
+ validator
58
+ }) => validator(classRest))?.classGroupId;
59
+ };
60
+ const arbitraryPropertyRegex = /^\[(.+)\]$/;
61
+ const getGroupIdForArbitraryProperty = className => {
62
+ if (arbitraryPropertyRegex.test(className)) {
63
+ const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
64
+ const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));
65
+ if (property) {
66
+ // I use two dots here because one dot is used as prefix for class groups in plugins
67
+ return 'arbitrary..' + property;
68
+ }
69
+ }
70
+ };
71
+ /**
72
+ * Exported for testing only
73
+ */
74
+ const createClassMap = config => {
75
+ const {
76
+ theme,
77
+ prefix
78
+ } = config;
79
+ const classMap = {
80
+ nextPart: new Map(),
81
+ validators: []
82
+ };
83
+ const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
84
+ prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
85
+ processClassesRecursively(classGroup, classMap, classGroupId, theme);
86
+ });
87
+ return classMap;
88
+ };
89
+ const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
90
+ classGroup.forEach(classDefinition => {
91
+ if (typeof classDefinition === 'string') {
92
+ const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
93
+ classPartObjectToEdit.classGroupId = classGroupId;
94
+ return;
95
+ }
96
+ if (typeof classDefinition === 'function') {
97
+ if (isThemeGetter(classDefinition)) {
98
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
99
+ return;
100
+ }
101
+ classPartObject.validators.push({
102
+ validator: classDefinition,
103
+ classGroupId
104
+ });
105
+ return;
106
+ }
107
+ Object.entries(classDefinition).forEach(([key, classGroup]) => {
108
+ processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);
109
+ });
110
+ });
111
+ };
112
+ const getPart = (classPartObject, path) => {
113
+ let currentClassPartObject = classPartObject;
114
+ path.split(CLASS_PART_SEPARATOR).forEach(pathPart => {
115
+ if (!currentClassPartObject.nextPart.has(pathPart)) {
116
+ currentClassPartObject.nextPart.set(pathPart, {
117
+ nextPart: new Map(),
118
+ validators: []
119
+ });
120
+ }
121
+ currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
122
+ });
123
+ return currentClassPartObject;
124
+ };
125
+ const isThemeGetter = func => func.isThemeGetter;
126
+ const getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
127
+ if (!prefix) {
128
+ return classGroupEntries;
129
+ }
130
+ return classGroupEntries.map(([classGroupId, classGroup]) => {
131
+ const prefixedClassGroup = classGroup.map(classDefinition => {
132
+ if (typeof classDefinition === 'string') {
133
+ return prefix + classDefinition;
134
+ }
135
+ if (typeof classDefinition === 'object') {
136
+ return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
137
+ }
138
+ return classDefinition;
139
+ });
140
+ return [classGroupId, prefixedClassGroup];
141
+ });
142
+ };
143
+
144
+ // LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance
145
+ const createLruCache = maxCacheSize => {
146
+ if (maxCacheSize < 1) {
147
+ return {
148
+ get: () => undefined,
149
+ set: () => {}
150
+ };
151
+ }
152
+ let cacheSize = 0;
153
+ let cache = new Map();
154
+ let previousCache = new Map();
155
+ const update = (key, value) => {
156
+ cache.set(key, value);
157
+ cacheSize++;
158
+ if (cacheSize > maxCacheSize) {
159
+ cacheSize = 0;
160
+ previousCache = cache;
161
+ cache = new Map();
162
+ }
163
+ };
164
+ return {
165
+ get(key) {
166
+ let value = cache.get(key);
167
+ if (value !== undefined) {
168
+ return value;
169
+ }
170
+ if ((value = previousCache.get(key)) !== undefined) {
171
+ update(key, value);
172
+ return value;
173
+ }
174
+ },
175
+ set(key, value) {
176
+ if (cache.has(key)) {
177
+ cache.set(key, value);
178
+ } else {
179
+ update(key, value);
180
+ }
181
+ }
182
+ };
183
+ };
184
+ const IMPORTANT_MODIFIER = '!';
185
+ const createParseClassName = config => {
186
+ const {
187
+ separator,
188
+ experimentalParseClassName
189
+ } = config;
190
+ const isSeparatorSingleCharacter = separator.length === 1;
191
+ const firstSeparatorCharacter = separator[0];
192
+ const separatorLength = separator.length;
193
+ // parseClassName inspired by https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
194
+ const parseClassName = className => {
195
+ const modifiers = [];
196
+ let bracketDepth = 0;
197
+ let modifierStart = 0;
198
+ let postfixModifierPosition;
199
+ for (let index = 0; index < className.length; index++) {
200
+ let currentCharacter = className[index];
201
+ if (bracketDepth === 0) {
202
+ if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
203
+ modifiers.push(className.slice(modifierStart, index));
204
+ modifierStart = index + separatorLength;
205
+ continue;
206
+ }
207
+ if (currentCharacter === '/') {
208
+ postfixModifierPosition = index;
209
+ continue;
210
+ }
211
+ }
212
+ if (currentCharacter === '[') {
213
+ bracketDepth++;
214
+ } else if (currentCharacter === ']') {
215
+ bracketDepth--;
216
+ }
217
+ }
218
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
219
+ const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
220
+ const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
221
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
222
+ return {
223
+ modifiers,
224
+ hasImportantModifier,
225
+ baseClassName,
226
+ maybePostfixModifierPosition
227
+ };
228
+ };
229
+ if (experimentalParseClassName) {
230
+ return className => experimentalParseClassName({
231
+ className,
232
+ parseClassName
233
+ });
234
+ }
235
+ return parseClassName;
236
+ };
237
+ /**
238
+ * Sorts modifiers according to following schema:
239
+ * - Predefined modifiers are sorted alphabetically
240
+ * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
241
+ */
242
+ const sortModifiers = modifiers => {
243
+ if (modifiers.length <= 1) {
244
+ return modifiers;
245
+ }
246
+ const sortedModifiers = [];
247
+ let unsortedModifiers = [];
248
+ modifiers.forEach(modifier => {
249
+ const isArbitraryVariant = modifier[0] === '[';
250
+ if (isArbitraryVariant) {
251
+ sortedModifiers.push(...unsortedModifiers.sort(), modifier);
252
+ unsortedModifiers = [];
253
+ } else {
254
+ unsortedModifiers.push(modifier);
255
+ }
256
+ });
257
+ sortedModifiers.push(...unsortedModifiers.sort());
258
+ return sortedModifiers;
259
+ };
260
+ const createConfigUtils = config => ({
261
+ cache: createLruCache(config.cacheSize),
262
+ parseClassName: createParseClassName(config),
263
+ ...createClassGroupUtils(config)
264
+ });
265
+ const SPLIT_CLASSES_REGEX = /\s+/;
266
+ const mergeClassList = (classList, configUtils) => {
267
+ const {
268
+ parseClassName,
269
+ getClassGroupId,
270
+ getConflictingClassGroupIds
271
+ } = configUtils;
272
+ /**
273
+ * Set of classGroupIds in following format:
274
+ * `{importantModifier}{variantModifiers}{classGroupId}`
275
+ * @example 'float'
276
+ * @example 'hover:focus:bg-color'
277
+ * @example 'md:!pr'
278
+ */
279
+ const classGroupsInConflict = [];
280
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
281
+ let result = '';
282
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
283
+ const originalClassName = classNames[index];
284
+ const {
285
+ modifiers,
286
+ hasImportantModifier,
287
+ baseClassName,
288
+ maybePostfixModifierPosition
289
+ } = parseClassName(originalClassName);
290
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
291
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
292
+ if (!classGroupId) {
293
+ if (!hasPostfixModifier) {
294
+ // Not a Tailwind class
295
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
296
+ continue;
297
+ }
298
+ classGroupId = getClassGroupId(baseClassName);
299
+ if (!classGroupId) {
300
+ // Not a Tailwind class
301
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
302
+ continue;
303
+ }
304
+ hasPostfixModifier = false;
305
+ }
306
+ const variantModifier = sortModifiers(modifiers).join(':');
307
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
308
+ const classId = modifierId + classGroupId;
309
+ if (classGroupsInConflict.includes(classId)) {
310
+ // Tailwind class omitted due to conflict
311
+ continue;
312
+ }
313
+ classGroupsInConflict.push(classId);
314
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
315
+ for (let i = 0; i < conflictGroups.length; ++i) {
316
+ const group = conflictGroups[i];
317
+ classGroupsInConflict.push(modifierId + group);
318
+ }
319
+ // Tailwind class not in conflict
320
+ result = originalClassName + (result.length > 0 ? ' ' + result : result);
321
+ }
322
+ return result;
323
+ };
324
+
325
+ /**
326
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
327
+ *
328
+ * Specifically:
329
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
330
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
331
+ *
332
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
333
+ */
334
+ function twJoin() {
335
+ let index = 0;
336
+ let argument;
337
+ let resolvedValue;
338
+ let string = '';
339
+ while (index < arguments.length) {
340
+ if (argument = arguments[index++]) {
341
+ if (resolvedValue = toValue(argument)) {
342
+ string && (string += ' ');
343
+ string += resolvedValue;
344
+ }
345
+ }
346
+ }
347
+ return string;
348
+ }
349
+ const toValue = mix => {
350
+ if (typeof mix === 'string') {
351
+ return mix;
352
+ }
353
+ let resolvedValue;
354
+ let string = '';
355
+ for (let k = 0; k < mix.length; k++) {
356
+ if (mix[k]) {
357
+ if (resolvedValue = toValue(mix[k])) {
358
+ string && (string += ' ');
359
+ string += resolvedValue;
360
+ }
361
+ }
362
+ }
363
+ return string;
364
+ };
365
+ function createTailwindMerge(createConfigFirst, ...createConfigRest) {
366
+ let configUtils;
367
+ let cacheGet;
368
+ let cacheSet;
369
+ let functionToCall = initTailwindMerge;
370
+ function initTailwindMerge(classList) {
371
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
372
+ configUtils = createConfigUtils(config);
373
+ cacheGet = configUtils.cache.get;
374
+ cacheSet = configUtils.cache.set;
375
+ functionToCall = tailwindMerge;
376
+ return tailwindMerge(classList);
377
+ }
378
+ function tailwindMerge(classList) {
379
+ const cachedResult = cacheGet(classList);
380
+ if (cachedResult) {
381
+ return cachedResult;
382
+ }
383
+ const result = mergeClassList(classList, configUtils);
384
+ cacheSet(classList, result);
385
+ return result;
386
+ }
387
+ return function callTailwindMerge() {
388
+ return functionToCall(twJoin.apply(null, arguments));
389
+ };
390
+ }
391
+ const fromTheme = key => {
392
+ const themeGetter = theme => theme[key] || [];
393
+ themeGetter.isThemeGetter = true;
394
+ return themeGetter;
395
+ };
396
+ const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
397
+ const fractionRegex = /^\d+\/\d+$/;
398
+ const stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);
399
+ const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
400
+ 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$/;
401
+ const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
402
+ // Shadow always begins with x and y offset separated by underscore optionally prepended by inset
403
+ const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
404
+ const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
405
+ const isLength = value => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
406
+ const isArbitraryLength = value => getIsArbitraryValue(value, 'length', isLengthOnly);
407
+ const isNumber = value => Boolean(value) && !Number.isNaN(Number(value));
408
+ const isArbitraryNumber = value => getIsArbitraryValue(value, 'number', isNumber);
409
+ const isInteger = value => Boolean(value) && Number.isInteger(Number(value));
410
+ const isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));
411
+ const isArbitraryValue = value => arbitraryValueRegex.test(value);
412
+ const isTshirtSize = value => tshirtUnitRegex.test(value);
413
+ const sizeLabels = /*#__PURE__*/new Set(['length', 'size', 'percentage']);
414
+ const isArbitrarySize = value => getIsArbitraryValue(value, sizeLabels, isNever);
415
+ const isArbitraryPosition = value => getIsArbitraryValue(value, 'position', isNever);
416
+ const imageLabels = /*#__PURE__*/new Set(['image', 'url']);
417
+ const isArbitraryImage = value => getIsArbitraryValue(value, imageLabels, isImage);
418
+ const isArbitraryShadow = value => getIsArbitraryValue(value, '', isShadow);
419
+ const isAny = () => true;
420
+ const getIsArbitraryValue = (value, label, testValue) => {
421
+ const result = arbitraryValueRegex.exec(value);
422
+ if (result) {
423
+ if (result[1]) {
424
+ return typeof label === 'string' ? result[1] === label : label.has(result[1]);
425
+ }
426
+ return testValue(result[2]);
427
+ }
428
+ return false;
429
+ };
430
+ const isLengthOnly = value =>
431
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
432
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
433
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
434
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
435
+ const isNever = () => false;
436
+ const isShadow = value => shadowRegex.test(value);
437
+ const isImage = value => imageRegex.test(value);
438
+ const validators = /*#__PURE__*/Object.defineProperty({
439
+ __proto__: null,
440
+ isAny,
441
+ isArbitraryImage,
442
+ isArbitraryLength,
443
+ isArbitraryNumber,
444
+ isArbitraryPosition,
445
+ isArbitraryShadow,
446
+ isArbitrarySize,
447
+ isArbitraryValue,
448
+ isInteger,
449
+ isLength,
450
+ isNumber,
451
+ isPercent,
452
+ isTshirtSize
453
+ }, Symbol.toStringTag, {
454
+ value: 'Module'
455
+ });
456
+ const getDefaultConfig = () => {
457
+ const colors = fromTheme('colors');
458
+ const spacing = fromTheme('spacing');
459
+ const blur = fromTheme('blur');
460
+ const brightness = fromTheme('brightness');
461
+ const borderColor = fromTheme('borderColor');
462
+ const borderRadius = fromTheme('borderRadius');
463
+ const borderSpacing = fromTheme('borderSpacing');
464
+ const borderWidth = fromTheme('borderWidth');
465
+ const contrast = fromTheme('contrast');
466
+ const grayscale = fromTheme('grayscale');
467
+ const hueRotate = fromTheme('hueRotate');
468
+ const invert = fromTheme('invert');
469
+ const gap = fromTheme('gap');
470
+ const gradientColorStops = fromTheme('gradientColorStops');
471
+ const gradientColorStopPositions = fromTheme('gradientColorStopPositions');
472
+ const inset = fromTheme('inset');
473
+ const margin = fromTheme('margin');
474
+ const opacity = fromTheme('opacity');
475
+ const padding = fromTheme('padding');
476
+ const saturate = fromTheme('saturate');
477
+ const scale = fromTheme('scale');
478
+ const sepia = fromTheme('sepia');
479
+ const skew = fromTheme('skew');
480
+ const space = fromTheme('space');
481
+ const translate = fromTheme('translate');
482
+ const getOverscroll = () => ['auto', 'contain', 'none'];
483
+ const getOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];
484
+ const getSpacingWithAutoAndArbitrary = () => ['auto', isArbitraryValue, spacing];
485
+ const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
486
+ const getLengthWithEmptyAndArbitrary = () => ['', isLength, isArbitraryLength];
487
+ const getNumberWithAutoAndArbitrary = () => ['auto', isNumber, isArbitraryValue];
488
+ const getPositions = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
489
+ const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'];
490
+ const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
491
+ const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];
492
+ const getZeroAndEmpty = () => ['', '0', isArbitraryValue];
493
+ const getBreaks = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
494
+ const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
495
+ return {
496
+ cacheSize: 500,
497
+ separator: ':',
498
+ theme: {
499
+ colors: [isAny],
500
+ spacing: [isLength, isArbitraryLength],
501
+ blur: ['none', '', isTshirtSize, isArbitraryValue],
502
+ brightness: getNumberAndArbitrary(),
503
+ borderColor: [colors],
504
+ borderRadius: ['none', '', 'full', isTshirtSize, isArbitraryValue],
505
+ borderSpacing: getSpacingWithArbitrary(),
506
+ borderWidth: getLengthWithEmptyAndArbitrary(),
507
+ contrast: getNumberAndArbitrary(),
508
+ grayscale: getZeroAndEmpty(),
509
+ hueRotate: getNumberAndArbitrary(),
510
+ invert: getZeroAndEmpty(),
511
+ gap: getSpacingWithArbitrary(),
512
+ gradientColorStops: [colors],
513
+ gradientColorStopPositions: [isPercent, isArbitraryLength],
514
+ inset: getSpacingWithAutoAndArbitrary(),
515
+ margin: getSpacingWithAutoAndArbitrary(),
516
+ opacity: getNumberAndArbitrary(),
517
+ padding: getSpacingWithArbitrary(),
518
+ saturate: getNumberAndArbitrary(),
519
+ scale: getNumberAndArbitrary(),
520
+ sepia: getZeroAndEmpty(),
521
+ skew: getNumberAndArbitrary(),
522
+ space: getSpacingWithArbitrary(),
523
+ translate: getSpacingWithArbitrary()
524
+ },
525
+ classGroups: {
526
+ // Layout
527
+ /**
528
+ * Aspect Ratio
529
+ * @see https://tailwindcss.com/docs/aspect-ratio
530
+ */
531
+ aspect: [{
532
+ aspect: ['auto', 'square', 'video', isArbitraryValue]
533
+ }],
534
+ /**
535
+ * Container
536
+ * @see https://tailwindcss.com/docs/container
537
+ */
538
+ container: ['container'],
539
+ /**
540
+ * Columns
541
+ * @see https://tailwindcss.com/docs/columns
542
+ */
543
+ columns: [{
544
+ columns: [isTshirtSize]
545
+ }],
546
+ /**
547
+ * Break After
548
+ * @see https://tailwindcss.com/docs/break-after
549
+ */
550
+ 'break-after': [{
551
+ 'break-after': getBreaks()
552
+ }],
553
+ /**
554
+ * Break Before
555
+ * @see https://tailwindcss.com/docs/break-before
556
+ */
557
+ 'break-before': [{
558
+ 'break-before': getBreaks()
559
+ }],
560
+ /**
561
+ * Break Inside
562
+ * @see https://tailwindcss.com/docs/break-inside
563
+ */
564
+ 'break-inside': [{
565
+ 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
566
+ }],
567
+ /**
568
+ * Box Decoration Break
569
+ * @see https://tailwindcss.com/docs/box-decoration-break
570
+ */
571
+ 'box-decoration': [{
572
+ 'box-decoration': ['slice', 'clone']
573
+ }],
574
+ /**
575
+ * Box Sizing
576
+ * @see https://tailwindcss.com/docs/box-sizing
577
+ */
578
+ box: [{
579
+ box: ['border', 'content']
580
+ }],
581
+ /**
582
+ * Display
583
+ * @see https://tailwindcss.com/docs/display
584
+ */
585
+ display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],
586
+ /**
587
+ * Floats
588
+ * @see https://tailwindcss.com/docs/float
589
+ */
590
+ float: [{
591
+ float: ['right', 'left', 'none', 'start', 'end']
592
+ }],
593
+ /**
594
+ * Clear
595
+ * @see https://tailwindcss.com/docs/clear
596
+ */
597
+ clear: [{
598
+ clear: ['left', 'right', 'both', 'none', 'start', 'end']
599
+ }],
600
+ /**
601
+ * Isolation
602
+ * @see https://tailwindcss.com/docs/isolation
603
+ */
604
+ isolation: ['isolate', 'isolation-auto'],
605
+ /**
606
+ * Object Fit
607
+ * @see https://tailwindcss.com/docs/object-fit
608
+ */
609
+ 'object-fit': [{
610
+ object: ['contain', 'cover', 'fill', 'none', 'scale-down']
611
+ }],
612
+ /**
613
+ * Object Position
614
+ * @see https://tailwindcss.com/docs/object-position
615
+ */
616
+ 'object-position': [{
617
+ object: [...getPositions(), isArbitraryValue]
618
+ }],
619
+ /**
620
+ * Overflow
621
+ * @see https://tailwindcss.com/docs/overflow
622
+ */
623
+ overflow: [{
624
+ overflow: getOverflow()
625
+ }],
626
+ /**
627
+ * Overflow X
628
+ * @see https://tailwindcss.com/docs/overflow
629
+ */
630
+ 'overflow-x': [{
631
+ 'overflow-x': getOverflow()
632
+ }],
633
+ /**
634
+ * Overflow Y
635
+ * @see https://tailwindcss.com/docs/overflow
636
+ */
637
+ 'overflow-y': [{
638
+ 'overflow-y': getOverflow()
639
+ }],
640
+ /**
641
+ * Overscroll Behavior
642
+ * @see https://tailwindcss.com/docs/overscroll-behavior
643
+ */
644
+ overscroll: [{
645
+ overscroll: getOverscroll()
646
+ }],
647
+ /**
648
+ * Overscroll Behavior X
649
+ * @see https://tailwindcss.com/docs/overscroll-behavior
650
+ */
651
+ 'overscroll-x': [{
652
+ 'overscroll-x': getOverscroll()
653
+ }],
654
+ /**
655
+ * Overscroll Behavior Y
656
+ * @see https://tailwindcss.com/docs/overscroll-behavior
657
+ */
658
+ 'overscroll-y': [{
659
+ 'overscroll-y': getOverscroll()
660
+ }],
661
+ /**
662
+ * Position
663
+ * @see https://tailwindcss.com/docs/position
664
+ */
665
+ position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
666
+ /**
667
+ * Top / Right / Bottom / Left
668
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
669
+ */
670
+ inset: [{
671
+ inset: [inset]
672
+ }],
673
+ /**
674
+ * Right / Left
675
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
676
+ */
677
+ 'inset-x': [{
678
+ 'inset-x': [inset]
679
+ }],
680
+ /**
681
+ * Top / Bottom
682
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
683
+ */
684
+ 'inset-y': [{
685
+ 'inset-y': [inset]
686
+ }],
687
+ /**
688
+ * Start
689
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
690
+ */
691
+ start: [{
692
+ start: [inset]
693
+ }],
694
+ /**
695
+ * End
696
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
697
+ */
698
+ end: [{
699
+ end: [inset]
700
+ }],
701
+ /**
702
+ * Top
703
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
704
+ */
705
+ top: [{
706
+ top: [inset]
707
+ }],
708
+ /**
709
+ * Right
710
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
711
+ */
712
+ right: [{
713
+ right: [inset]
714
+ }],
715
+ /**
716
+ * Bottom
717
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
718
+ */
719
+ bottom: [{
720
+ bottom: [inset]
721
+ }],
722
+ /**
723
+ * Left
724
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
725
+ */
726
+ left: [{
727
+ left: [inset]
728
+ }],
729
+ /**
730
+ * Visibility
731
+ * @see https://tailwindcss.com/docs/visibility
732
+ */
733
+ visibility: ['visible', 'invisible', 'collapse'],
734
+ /**
735
+ * Z-Index
736
+ * @see https://tailwindcss.com/docs/z-index
737
+ */
738
+ z: [{
739
+ z: ['auto', isInteger, isArbitraryValue]
740
+ }],
741
+ // Flexbox and Grid
742
+ /**
743
+ * Flex Basis
744
+ * @see https://tailwindcss.com/docs/flex-basis
745
+ */
746
+ basis: [{
747
+ basis: getSpacingWithAutoAndArbitrary()
748
+ }],
749
+ /**
750
+ * Flex Direction
751
+ * @see https://tailwindcss.com/docs/flex-direction
752
+ */
753
+ 'flex-direction': [{
754
+ flex: ['row', 'row-reverse', 'col', 'col-reverse']
755
+ }],
756
+ /**
757
+ * Flex Wrap
758
+ * @see https://tailwindcss.com/docs/flex-wrap
759
+ */
760
+ 'flex-wrap': [{
761
+ flex: ['wrap', 'wrap-reverse', 'nowrap']
762
+ }],
763
+ /**
764
+ * Flex
765
+ * @see https://tailwindcss.com/docs/flex
766
+ */
767
+ flex: [{
768
+ flex: ['1', 'auto', 'initial', 'none', isArbitraryValue]
769
+ }],
770
+ /**
771
+ * Flex Grow
772
+ * @see https://tailwindcss.com/docs/flex-grow
773
+ */
774
+ grow: [{
775
+ grow: getZeroAndEmpty()
776
+ }],
777
+ /**
778
+ * Flex Shrink
779
+ * @see https://tailwindcss.com/docs/flex-shrink
780
+ */
781
+ shrink: [{
782
+ shrink: getZeroAndEmpty()
783
+ }],
784
+ /**
785
+ * Order
786
+ * @see https://tailwindcss.com/docs/order
787
+ */
788
+ order: [{
789
+ order: ['first', 'last', 'none', isInteger, isArbitraryValue]
790
+ }],
791
+ /**
792
+ * Grid Template Columns
793
+ * @see https://tailwindcss.com/docs/grid-template-columns
794
+ */
795
+ 'grid-cols': [{
796
+ 'grid-cols': [isAny]
797
+ }],
798
+ /**
799
+ * Grid Column Start / End
800
+ * @see https://tailwindcss.com/docs/grid-column
801
+ */
802
+ 'col-start-end': [{
803
+ col: ['auto', {
804
+ span: ['full', isInteger, isArbitraryValue]
805
+ }, isArbitraryValue]
806
+ }],
807
+ /**
808
+ * Grid Column Start
809
+ * @see https://tailwindcss.com/docs/grid-column
810
+ */
811
+ 'col-start': [{
812
+ 'col-start': getNumberWithAutoAndArbitrary()
813
+ }],
814
+ /**
815
+ * Grid Column End
816
+ * @see https://tailwindcss.com/docs/grid-column
817
+ */
818
+ 'col-end': [{
819
+ 'col-end': getNumberWithAutoAndArbitrary()
820
+ }],
821
+ /**
822
+ * Grid Template Rows
823
+ * @see https://tailwindcss.com/docs/grid-template-rows
824
+ */
825
+ 'grid-rows': [{
826
+ 'grid-rows': [isAny]
827
+ }],
828
+ /**
829
+ * Grid Row Start / End
830
+ * @see https://tailwindcss.com/docs/grid-row
831
+ */
832
+ 'row-start-end': [{
833
+ row: ['auto', {
834
+ span: [isInteger, isArbitraryValue]
835
+ }, isArbitraryValue]
836
+ }],
837
+ /**
838
+ * Grid Row Start
839
+ * @see https://tailwindcss.com/docs/grid-row
840
+ */
841
+ 'row-start': [{
842
+ 'row-start': getNumberWithAutoAndArbitrary()
843
+ }],
844
+ /**
845
+ * Grid Row End
846
+ * @see https://tailwindcss.com/docs/grid-row
847
+ */
848
+ 'row-end': [{
849
+ 'row-end': getNumberWithAutoAndArbitrary()
850
+ }],
851
+ /**
852
+ * Grid Auto Flow
853
+ * @see https://tailwindcss.com/docs/grid-auto-flow
854
+ */
855
+ 'grid-flow': [{
856
+ 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
857
+ }],
858
+ /**
859
+ * Grid Auto Columns
860
+ * @see https://tailwindcss.com/docs/grid-auto-columns
861
+ */
862
+ 'auto-cols': [{
863
+ 'auto-cols': ['auto', 'min', 'max', 'fr', isArbitraryValue]
864
+ }],
865
+ /**
866
+ * Grid Auto Rows
867
+ * @see https://tailwindcss.com/docs/grid-auto-rows
868
+ */
869
+ 'auto-rows': [{
870
+ 'auto-rows': ['auto', 'min', 'max', 'fr', isArbitraryValue]
871
+ }],
872
+ /**
873
+ * Gap
874
+ * @see https://tailwindcss.com/docs/gap
875
+ */
876
+ gap: [{
877
+ gap: [gap]
878
+ }],
879
+ /**
880
+ * Gap X
881
+ * @see https://tailwindcss.com/docs/gap
882
+ */
883
+ 'gap-x': [{
884
+ 'gap-x': [gap]
885
+ }],
886
+ /**
887
+ * Gap Y
888
+ * @see https://tailwindcss.com/docs/gap
889
+ */
890
+ 'gap-y': [{
891
+ 'gap-y': [gap]
892
+ }],
893
+ /**
894
+ * Justify Content
895
+ * @see https://tailwindcss.com/docs/justify-content
896
+ */
897
+ 'justify-content': [{
898
+ justify: ['normal', ...getAlign()]
899
+ }],
900
+ /**
901
+ * Justify Items
902
+ * @see https://tailwindcss.com/docs/justify-items
903
+ */
904
+ 'justify-items': [{
905
+ 'justify-items': ['start', 'end', 'center', 'stretch']
906
+ }],
907
+ /**
908
+ * Justify Self
909
+ * @see https://tailwindcss.com/docs/justify-self
910
+ */
911
+ 'justify-self': [{
912
+ 'justify-self': ['auto', 'start', 'end', 'center', 'stretch']
913
+ }],
914
+ /**
915
+ * Align Content
916
+ * @see https://tailwindcss.com/docs/align-content
917
+ */
918
+ 'align-content': [{
919
+ content: ['normal', ...getAlign(), 'baseline']
920
+ }],
921
+ /**
922
+ * Align Items
923
+ * @see https://tailwindcss.com/docs/align-items
924
+ */
925
+ 'align-items': [{
926
+ items: ['start', 'end', 'center', 'baseline', 'stretch']
927
+ }],
928
+ /**
929
+ * Align Self
930
+ * @see https://tailwindcss.com/docs/align-self
931
+ */
932
+ 'align-self': [{
933
+ self: ['auto', 'start', 'end', 'center', 'stretch', 'baseline']
934
+ }],
935
+ /**
936
+ * Place Content
937
+ * @see https://tailwindcss.com/docs/place-content
938
+ */
939
+ 'place-content': [{
940
+ 'place-content': [...getAlign(), 'baseline']
941
+ }],
942
+ /**
943
+ * Place Items
944
+ * @see https://tailwindcss.com/docs/place-items
945
+ */
946
+ 'place-items': [{
947
+ 'place-items': ['start', 'end', 'center', 'baseline', 'stretch']
948
+ }],
949
+ /**
950
+ * Place Self
951
+ * @see https://tailwindcss.com/docs/place-self
952
+ */
953
+ 'place-self': [{
954
+ 'place-self': ['auto', 'start', 'end', 'center', 'stretch']
955
+ }],
956
+ // Spacing
957
+ /**
958
+ * Padding
959
+ * @see https://tailwindcss.com/docs/padding
960
+ */
961
+ p: [{
962
+ p: [padding]
963
+ }],
964
+ /**
965
+ * Padding X
966
+ * @see https://tailwindcss.com/docs/padding
967
+ */
968
+ px: [{
969
+ px: [padding]
970
+ }],
971
+ /**
972
+ * Padding Y
973
+ * @see https://tailwindcss.com/docs/padding
974
+ */
975
+ py: [{
976
+ py: [padding]
977
+ }],
978
+ /**
979
+ * Padding Start
980
+ * @see https://tailwindcss.com/docs/padding
981
+ */
982
+ ps: [{
983
+ ps: [padding]
984
+ }],
985
+ /**
986
+ * Padding End
987
+ * @see https://tailwindcss.com/docs/padding
988
+ */
989
+ pe: [{
990
+ pe: [padding]
991
+ }],
992
+ /**
993
+ * Padding Top
994
+ * @see https://tailwindcss.com/docs/padding
995
+ */
996
+ pt: [{
997
+ pt: [padding]
998
+ }],
999
+ /**
1000
+ * Padding Right
1001
+ * @see https://tailwindcss.com/docs/padding
1002
+ */
1003
+ pr: [{
1004
+ pr: [padding]
1005
+ }],
1006
+ /**
1007
+ * Padding Bottom
1008
+ * @see https://tailwindcss.com/docs/padding
1009
+ */
1010
+ pb: [{
1011
+ pb: [padding]
1012
+ }],
1013
+ /**
1014
+ * Padding Left
1015
+ * @see https://tailwindcss.com/docs/padding
1016
+ */
1017
+ pl: [{
1018
+ pl: [padding]
1019
+ }],
1020
+ /**
1021
+ * Margin
1022
+ * @see https://tailwindcss.com/docs/margin
1023
+ */
1024
+ m: [{
1025
+ m: [margin]
1026
+ }],
1027
+ /**
1028
+ * Margin X
1029
+ * @see https://tailwindcss.com/docs/margin
1030
+ */
1031
+ mx: [{
1032
+ mx: [margin]
1033
+ }],
1034
+ /**
1035
+ * Margin Y
1036
+ * @see https://tailwindcss.com/docs/margin
1037
+ */
1038
+ my: [{
1039
+ my: [margin]
1040
+ }],
1041
+ /**
1042
+ * Margin Start
1043
+ * @see https://tailwindcss.com/docs/margin
1044
+ */
1045
+ ms: [{
1046
+ ms: [margin]
1047
+ }],
1048
+ /**
1049
+ * Margin End
1050
+ * @see https://tailwindcss.com/docs/margin
1051
+ */
1052
+ me: [{
1053
+ me: [margin]
1054
+ }],
1055
+ /**
1056
+ * Margin Top
1057
+ * @see https://tailwindcss.com/docs/margin
1058
+ */
1059
+ mt: [{
1060
+ mt: [margin]
1061
+ }],
1062
+ /**
1063
+ * Margin Right
1064
+ * @see https://tailwindcss.com/docs/margin
1065
+ */
1066
+ mr: [{
1067
+ mr: [margin]
1068
+ }],
1069
+ /**
1070
+ * Margin Bottom
1071
+ * @see https://tailwindcss.com/docs/margin
1072
+ */
1073
+ mb: [{
1074
+ mb: [margin]
1075
+ }],
1076
+ /**
1077
+ * Margin Left
1078
+ * @see https://tailwindcss.com/docs/margin
1079
+ */
1080
+ ml: [{
1081
+ ml: [margin]
1082
+ }],
1083
+ /**
1084
+ * Space Between X
1085
+ * @see https://tailwindcss.com/docs/space
1086
+ */
1087
+ 'space-x': [{
1088
+ 'space-x': [space]
1089
+ }],
1090
+ /**
1091
+ * Space Between X Reverse
1092
+ * @see https://tailwindcss.com/docs/space
1093
+ */
1094
+ 'space-x-reverse': ['space-x-reverse'],
1095
+ /**
1096
+ * Space Between Y
1097
+ * @see https://tailwindcss.com/docs/space
1098
+ */
1099
+ 'space-y': [{
1100
+ 'space-y': [space]
1101
+ }],
1102
+ /**
1103
+ * Space Between Y Reverse
1104
+ * @see https://tailwindcss.com/docs/space
1105
+ */
1106
+ 'space-y-reverse': ['space-y-reverse'],
1107
+ // Sizing
1108
+ /**
1109
+ * Width
1110
+ * @see https://tailwindcss.com/docs/width
1111
+ */
1112
+ w: [{
1113
+ w: ['auto', 'min', 'max', 'fit', 'svw', 'lvw', 'dvw', isArbitraryValue, spacing]
1114
+ }],
1115
+ /**
1116
+ * Min-Width
1117
+ * @see https://tailwindcss.com/docs/min-width
1118
+ */
1119
+ 'min-w': [{
1120
+ 'min-w': [isArbitraryValue, spacing, 'min', 'max', 'fit']
1121
+ }],
1122
+ /**
1123
+ * Max-Width
1124
+ * @see https://tailwindcss.com/docs/max-width
1125
+ */
1126
+ 'max-w': [{
1127
+ 'max-w': [isArbitraryValue, spacing, 'none', 'full', 'min', 'max', 'fit', 'prose', {
1128
+ screen: [isTshirtSize]
1129
+ }, isTshirtSize]
1130
+ }],
1131
+ /**
1132
+ * Height
1133
+ * @see https://tailwindcss.com/docs/height
1134
+ */
1135
+ h: [{
1136
+ h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1137
+ }],
1138
+ /**
1139
+ * Min-Height
1140
+ * @see https://tailwindcss.com/docs/min-height
1141
+ */
1142
+ 'min-h': [{
1143
+ 'min-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1144
+ }],
1145
+ /**
1146
+ * Max-Height
1147
+ * @see https://tailwindcss.com/docs/max-height
1148
+ */
1149
+ 'max-h': [{
1150
+ 'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
1151
+ }],
1152
+ /**
1153
+ * Size
1154
+ * @see https://tailwindcss.com/docs/size
1155
+ */
1156
+ size: [{
1157
+ size: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
1158
+ }],
1159
+ // Typography
1160
+ /**
1161
+ * Font Size
1162
+ * @see https://tailwindcss.com/docs/font-size
1163
+ */
1164
+ 'font-size': [{
1165
+ text: ['base', isTshirtSize, isArbitraryLength]
1166
+ }],
1167
+ /**
1168
+ * Font Smoothing
1169
+ * @see https://tailwindcss.com/docs/font-smoothing
1170
+ */
1171
+ 'font-smoothing': ['antialiased', 'subpixel-antialiased'],
1172
+ /**
1173
+ * Font Style
1174
+ * @see https://tailwindcss.com/docs/font-style
1175
+ */
1176
+ 'font-style': ['italic', 'not-italic'],
1177
+ /**
1178
+ * Font Weight
1179
+ * @see https://tailwindcss.com/docs/font-weight
1180
+ */
1181
+ 'font-weight': [{
1182
+ font: ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black', isArbitraryNumber]
1183
+ }],
1184
+ /**
1185
+ * Font Family
1186
+ * @see https://tailwindcss.com/docs/font-family
1187
+ */
1188
+ 'font-family': [{
1189
+ font: [isAny]
1190
+ }],
1191
+ /**
1192
+ * Font Variant Numeric
1193
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1194
+ */
1195
+ 'fvn-normal': ['normal-nums'],
1196
+ /**
1197
+ * Font Variant Numeric
1198
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1199
+ */
1200
+ 'fvn-ordinal': ['ordinal'],
1201
+ /**
1202
+ * Font Variant Numeric
1203
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1204
+ */
1205
+ 'fvn-slashed-zero': ['slashed-zero'],
1206
+ /**
1207
+ * Font Variant Numeric
1208
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1209
+ */
1210
+ 'fvn-figure': ['lining-nums', 'oldstyle-nums'],
1211
+ /**
1212
+ * Font Variant Numeric
1213
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1214
+ */
1215
+ 'fvn-spacing': ['proportional-nums', 'tabular-nums'],
1216
+ /**
1217
+ * Font Variant Numeric
1218
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1219
+ */
1220
+ 'fvn-fraction': ['diagonal-fractions', 'stacked-fractons'],
1221
+ /**
1222
+ * Letter Spacing
1223
+ * @see https://tailwindcss.com/docs/letter-spacing
1224
+ */
1225
+ tracking: [{
1226
+ tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest', isArbitraryValue]
1227
+ }],
1228
+ /**
1229
+ * Line Clamp
1230
+ * @see https://tailwindcss.com/docs/line-clamp
1231
+ */
1232
+ 'line-clamp': [{
1233
+ 'line-clamp': ['none', isNumber, isArbitraryNumber]
1234
+ }],
1235
+ /**
1236
+ * Line Height
1237
+ * @see https://tailwindcss.com/docs/line-height
1238
+ */
1239
+ leading: [{
1240
+ leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose', isLength, isArbitraryValue]
1241
+ }],
1242
+ /**
1243
+ * List Style Image
1244
+ * @see https://tailwindcss.com/docs/list-style-image
1245
+ */
1246
+ 'list-image': [{
1247
+ 'list-image': ['none', isArbitraryValue]
1248
+ }],
1249
+ /**
1250
+ * List Style Type
1251
+ * @see https://tailwindcss.com/docs/list-style-type
1252
+ */
1253
+ 'list-style-type': [{
1254
+ list: ['none', 'disc', 'decimal', isArbitraryValue]
1255
+ }],
1256
+ /**
1257
+ * List Style Position
1258
+ * @see https://tailwindcss.com/docs/list-style-position
1259
+ */
1260
+ 'list-style-position': [{
1261
+ list: ['inside', 'outside']
1262
+ }],
1263
+ /**
1264
+ * Placeholder Color
1265
+ * @deprecated since Tailwind CSS v3.0.0
1266
+ * @see https://tailwindcss.com/docs/placeholder-color
1267
+ */
1268
+ 'placeholder-color': [{
1269
+ placeholder: [colors]
1270
+ }],
1271
+ /**
1272
+ * Placeholder Opacity
1273
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1274
+ */
1275
+ 'placeholder-opacity': [{
1276
+ 'placeholder-opacity': [opacity]
1277
+ }],
1278
+ /**
1279
+ * Text Alignment
1280
+ * @see https://tailwindcss.com/docs/text-align
1281
+ */
1282
+ 'text-alignment': [{
1283
+ text: ['left', 'center', 'right', 'justify', 'start', 'end']
1284
+ }],
1285
+ /**
1286
+ * Text Color
1287
+ * @see https://tailwindcss.com/docs/text-color
1288
+ */
1289
+ 'text-color': [{
1290
+ text: [colors]
1291
+ }],
1292
+ /**
1293
+ * Text Opacity
1294
+ * @see https://tailwindcss.com/docs/text-opacity
1295
+ */
1296
+ 'text-opacity': [{
1297
+ 'text-opacity': [opacity]
1298
+ }],
1299
+ /**
1300
+ * Text Decoration
1301
+ * @see https://tailwindcss.com/docs/text-decoration
1302
+ */
1303
+ 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
1304
+ /**
1305
+ * Text Decoration Style
1306
+ * @see https://tailwindcss.com/docs/text-decoration-style
1307
+ */
1308
+ 'text-decoration-style': [{
1309
+ decoration: [...getLineStyles(), 'wavy']
1310
+ }],
1311
+ /**
1312
+ * Text Decoration Thickness
1313
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1314
+ */
1315
+ 'text-decoration-thickness': [{
1316
+ decoration: ['auto', 'from-font', isLength, isArbitraryLength]
1317
+ }],
1318
+ /**
1319
+ * Text Underline Offset
1320
+ * @see https://tailwindcss.com/docs/text-underline-offset
1321
+ */
1322
+ 'underline-offset': [{
1323
+ 'underline-offset': ['auto', isLength, isArbitraryValue]
1324
+ }],
1325
+ /**
1326
+ * Text Decoration Color
1327
+ * @see https://tailwindcss.com/docs/text-decoration-color
1328
+ */
1329
+ 'text-decoration-color': [{
1330
+ decoration: [colors]
1331
+ }],
1332
+ /**
1333
+ * Text Transform
1334
+ * @see https://tailwindcss.com/docs/text-transform
1335
+ */
1336
+ 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
1337
+ /**
1338
+ * Text Overflow
1339
+ * @see https://tailwindcss.com/docs/text-overflow
1340
+ */
1341
+ 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
1342
+ /**
1343
+ * Text Wrap
1344
+ * @see https://tailwindcss.com/docs/text-wrap
1345
+ */
1346
+ 'text-wrap': [{
1347
+ text: ['wrap', 'nowrap', 'balance', 'pretty']
1348
+ }],
1349
+ /**
1350
+ * Text Indent
1351
+ * @see https://tailwindcss.com/docs/text-indent
1352
+ */
1353
+ indent: [{
1354
+ indent: getSpacingWithArbitrary()
1355
+ }],
1356
+ /**
1357
+ * Vertical Alignment
1358
+ * @see https://tailwindcss.com/docs/vertical-align
1359
+ */
1360
+ 'vertical-align': [{
1361
+ align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryValue]
1362
+ }],
1363
+ /**
1364
+ * Whitespace
1365
+ * @see https://tailwindcss.com/docs/whitespace
1366
+ */
1367
+ whitespace: [{
1368
+ whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
1369
+ }],
1370
+ /**
1371
+ * Word Break
1372
+ * @see https://tailwindcss.com/docs/word-break
1373
+ */
1374
+ break: [{
1375
+ break: ['normal', 'words', 'all', 'keep']
1376
+ }],
1377
+ /**
1378
+ * Hyphens
1379
+ * @see https://tailwindcss.com/docs/hyphens
1380
+ */
1381
+ hyphens: [{
1382
+ hyphens: ['none', 'manual', 'auto']
1383
+ }],
1384
+ /**
1385
+ * Content
1386
+ * @see https://tailwindcss.com/docs/content
1387
+ */
1388
+ content: [{
1389
+ content: ['none', isArbitraryValue]
1390
+ }],
1391
+ // Backgrounds
1392
+ /**
1393
+ * Background Attachment
1394
+ * @see https://tailwindcss.com/docs/background-attachment
1395
+ */
1396
+ 'bg-attachment': [{
1397
+ bg: ['fixed', 'local', 'scroll']
1398
+ }],
1399
+ /**
1400
+ * Background Clip
1401
+ * @see https://tailwindcss.com/docs/background-clip
1402
+ */
1403
+ 'bg-clip': [{
1404
+ 'bg-clip': ['border', 'padding', 'content', 'text']
1405
+ }],
1406
+ /**
1407
+ * Background Opacity
1408
+ * @deprecated since Tailwind CSS v3.0.0
1409
+ * @see https://tailwindcss.com/docs/background-opacity
1410
+ */
1411
+ 'bg-opacity': [{
1412
+ 'bg-opacity': [opacity]
1413
+ }],
1414
+ /**
1415
+ * Background Origin
1416
+ * @see https://tailwindcss.com/docs/background-origin
1417
+ */
1418
+ 'bg-origin': [{
1419
+ 'bg-origin': ['border', 'padding', 'content']
1420
+ }],
1421
+ /**
1422
+ * Background Position
1423
+ * @see https://tailwindcss.com/docs/background-position
1424
+ */
1425
+ 'bg-position': [{
1426
+ bg: [...getPositions(), isArbitraryPosition]
1427
+ }],
1428
+ /**
1429
+ * Background Repeat
1430
+ * @see https://tailwindcss.com/docs/background-repeat
1431
+ */
1432
+ 'bg-repeat': [{
1433
+ bg: ['no-repeat', {
1434
+ repeat: ['', 'x', 'y', 'round', 'space']
1435
+ }]
1436
+ }],
1437
+ /**
1438
+ * Background Size
1439
+ * @see https://tailwindcss.com/docs/background-size
1440
+ */
1441
+ 'bg-size': [{
1442
+ bg: ['auto', 'cover', 'contain', isArbitrarySize]
1443
+ }],
1444
+ /**
1445
+ * Background Image
1446
+ * @see https://tailwindcss.com/docs/background-image
1447
+ */
1448
+ 'bg-image': [{
1449
+ bg: ['none', {
1450
+ 'gradient-to': ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
1451
+ }, isArbitraryImage]
1452
+ }],
1453
+ /**
1454
+ * Background Color
1455
+ * @see https://tailwindcss.com/docs/background-color
1456
+ */
1457
+ 'bg-color': [{
1458
+ bg: [colors]
1459
+ }],
1460
+ /**
1461
+ * Gradient Color Stops From Position
1462
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1463
+ */
1464
+ 'gradient-from-pos': [{
1465
+ from: [gradientColorStopPositions]
1466
+ }],
1467
+ /**
1468
+ * Gradient Color Stops Via Position
1469
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1470
+ */
1471
+ 'gradient-via-pos': [{
1472
+ via: [gradientColorStopPositions]
1473
+ }],
1474
+ /**
1475
+ * Gradient Color Stops To Position
1476
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1477
+ */
1478
+ 'gradient-to-pos': [{
1479
+ to: [gradientColorStopPositions]
1480
+ }],
1481
+ /**
1482
+ * Gradient Color Stops From
1483
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1484
+ */
1485
+ 'gradient-from': [{
1486
+ from: [gradientColorStops]
1487
+ }],
1488
+ /**
1489
+ * Gradient Color Stops Via
1490
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1491
+ */
1492
+ 'gradient-via': [{
1493
+ via: [gradientColorStops]
1494
+ }],
1495
+ /**
1496
+ * Gradient Color Stops To
1497
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1498
+ */
1499
+ 'gradient-to': [{
1500
+ to: [gradientColorStops]
1501
+ }],
1502
+ // Borders
1503
+ /**
1504
+ * Border Radius
1505
+ * @see https://tailwindcss.com/docs/border-radius
1506
+ */
1507
+ rounded: [{
1508
+ rounded: [borderRadius]
1509
+ }],
1510
+ /**
1511
+ * Border Radius Start
1512
+ * @see https://tailwindcss.com/docs/border-radius
1513
+ */
1514
+ 'rounded-s': [{
1515
+ 'rounded-s': [borderRadius]
1516
+ }],
1517
+ /**
1518
+ * Border Radius End
1519
+ * @see https://tailwindcss.com/docs/border-radius
1520
+ */
1521
+ 'rounded-e': [{
1522
+ 'rounded-e': [borderRadius]
1523
+ }],
1524
+ /**
1525
+ * Border Radius Top
1526
+ * @see https://tailwindcss.com/docs/border-radius
1527
+ */
1528
+ 'rounded-t': [{
1529
+ 'rounded-t': [borderRadius]
1530
+ }],
1531
+ /**
1532
+ * Border Radius Right
1533
+ * @see https://tailwindcss.com/docs/border-radius
1534
+ */
1535
+ 'rounded-r': [{
1536
+ 'rounded-r': [borderRadius]
1537
+ }],
1538
+ /**
1539
+ * Border Radius Bottom
1540
+ * @see https://tailwindcss.com/docs/border-radius
1541
+ */
1542
+ 'rounded-b': [{
1543
+ 'rounded-b': [borderRadius]
1544
+ }],
1545
+ /**
1546
+ * Border Radius Left
1547
+ * @see https://tailwindcss.com/docs/border-radius
1548
+ */
1549
+ 'rounded-l': [{
1550
+ 'rounded-l': [borderRadius]
1551
+ }],
1552
+ /**
1553
+ * Border Radius Start Start
1554
+ * @see https://tailwindcss.com/docs/border-radius
1555
+ */
1556
+ 'rounded-ss': [{
1557
+ 'rounded-ss': [borderRadius]
1558
+ }],
1559
+ /**
1560
+ * Border Radius Start End
1561
+ * @see https://tailwindcss.com/docs/border-radius
1562
+ */
1563
+ 'rounded-se': [{
1564
+ 'rounded-se': [borderRadius]
1565
+ }],
1566
+ /**
1567
+ * Border Radius End End
1568
+ * @see https://tailwindcss.com/docs/border-radius
1569
+ */
1570
+ 'rounded-ee': [{
1571
+ 'rounded-ee': [borderRadius]
1572
+ }],
1573
+ /**
1574
+ * Border Radius End Start
1575
+ * @see https://tailwindcss.com/docs/border-radius
1576
+ */
1577
+ 'rounded-es': [{
1578
+ 'rounded-es': [borderRadius]
1579
+ }],
1580
+ /**
1581
+ * Border Radius Top Left
1582
+ * @see https://tailwindcss.com/docs/border-radius
1583
+ */
1584
+ 'rounded-tl': [{
1585
+ 'rounded-tl': [borderRadius]
1586
+ }],
1587
+ /**
1588
+ * Border Radius Top Right
1589
+ * @see https://tailwindcss.com/docs/border-radius
1590
+ */
1591
+ 'rounded-tr': [{
1592
+ 'rounded-tr': [borderRadius]
1593
+ }],
1594
+ /**
1595
+ * Border Radius Bottom Right
1596
+ * @see https://tailwindcss.com/docs/border-radius
1597
+ */
1598
+ 'rounded-br': [{
1599
+ 'rounded-br': [borderRadius]
1600
+ }],
1601
+ /**
1602
+ * Border Radius Bottom Left
1603
+ * @see https://tailwindcss.com/docs/border-radius
1604
+ */
1605
+ 'rounded-bl': [{
1606
+ 'rounded-bl': [borderRadius]
1607
+ }],
1608
+ /**
1609
+ * Border Width
1610
+ * @see https://tailwindcss.com/docs/border-width
1611
+ */
1612
+ 'border-w': [{
1613
+ border: [borderWidth]
1614
+ }],
1615
+ /**
1616
+ * Border Width X
1617
+ * @see https://tailwindcss.com/docs/border-width
1618
+ */
1619
+ 'border-w-x': [{
1620
+ 'border-x': [borderWidth]
1621
+ }],
1622
+ /**
1623
+ * Border Width Y
1624
+ * @see https://tailwindcss.com/docs/border-width
1625
+ */
1626
+ 'border-w-y': [{
1627
+ 'border-y': [borderWidth]
1628
+ }],
1629
+ /**
1630
+ * Border Width Start
1631
+ * @see https://tailwindcss.com/docs/border-width
1632
+ */
1633
+ 'border-w-s': [{
1634
+ 'border-s': [borderWidth]
1635
+ }],
1636
+ /**
1637
+ * Border Width End
1638
+ * @see https://tailwindcss.com/docs/border-width
1639
+ */
1640
+ 'border-w-e': [{
1641
+ 'border-e': [borderWidth]
1642
+ }],
1643
+ /**
1644
+ * Border Width Top
1645
+ * @see https://tailwindcss.com/docs/border-width
1646
+ */
1647
+ 'border-w-t': [{
1648
+ 'border-t': [borderWidth]
1649
+ }],
1650
+ /**
1651
+ * Border Width Right
1652
+ * @see https://tailwindcss.com/docs/border-width
1653
+ */
1654
+ 'border-w-r': [{
1655
+ 'border-r': [borderWidth]
1656
+ }],
1657
+ /**
1658
+ * Border Width Bottom
1659
+ * @see https://tailwindcss.com/docs/border-width
1660
+ */
1661
+ 'border-w-b': [{
1662
+ 'border-b': [borderWidth]
1663
+ }],
1664
+ /**
1665
+ * Border Width Left
1666
+ * @see https://tailwindcss.com/docs/border-width
1667
+ */
1668
+ 'border-w-l': [{
1669
+ 'border-l': [borderWidth]
1670
+ }],
1671
+ /**
1672
+ * Border Opacity
1673
+ * @see https://tailwindcss.com/docs/border-opacity
1674
+ */
1675
+ 'border-opacity': [{
1676
+ 'border-opacity': [opacity]
1677
+ }],
1678
+ /**
1679
+ * Border Style
1680
+ * @see https://tailwindcss.com/docs/border-style
1681
+ */
1682
+ 'border-style': [{
1683
+ border: [...getLineStyles(), 'hidden']
1684
+ }],
1685
+ /**
1686
+ * Divide Width X
1687
+ * @see https://tailwindcss.com/docs/divide-width
1688
+ */
1689
+ 'divide-x': [{
1690
+ 'divide-x': [borderWidth]
1691
+ }],
1692
+ /**
1693
+ * Divide Width X Reverse
1694
+ * @see https://tailwindcss.com/docs/divide-width
1695
+ */
1696
+ 'divide-x-reverse': ['divide-x-reverse'],
1697
+ /**
1698
+ * Divide Width Y
1699
+ * @see https://tailwindcss.com/docs/divide-width
1700
+ */
1701
+ 'divide-y': [{
1702
+ 'divide-y': [borderWidth]
1703
+ }],
1704
+ /**
1705
+ * Divide Width Y Reverse
1706
+ * @see https://tailwindcss.com/docs/divide-width
1707
+ */
1708
+ 'divide-y-reverse': ['divide-y-reverse'],
1709
+ /**
1710
+ * Divide Opacity
1711
+ * @see https://tailwindcss.com/docs/divide-opacity
1712
+ */
1713
+ 'divide-opacity': [{
1714
+ 'divide-opacity': [opacity]
1715
+ }],
1716
+ /**
1717
+ * Divide Style
1718
+ * @see https://tailwindcss.com/docs/divide-style
1719
+ */
1720
+ 'divide-style': [{
1721
+ divide: getLineStyles()
1722
+ }],
1723
+ /**
1724
+ * Border Color
1725
+ * @see https://tailwindcss.com/docs/border-color
1726
+ */
1727
+ 'border-color': [{
1728
+ border: [borderColor]
1729
+ }],
1730
+ /**
1731
+ * Border Color X
1732
+ * @see https://tailwindcss.com/docs/border-color
1733
+ */
1734
+ 'border-color-x': [{
1735
+ 'border-x': [borderColor]
1736
+ }],
1737
+ /**
1738
+ * Border Color Y
1739
+ * @see https://tailwindcss.com/docs/border-color
1740
+ */
1741
+ 'border-color-y': [{
1742
+ 'border-y': [borderColor]
1743
+ }],
1744
+ /**
1745
+ * Border Color S
1746
+ * @see https://tailwindcss.com/docs/border-color
1747
+ */
1748
+ 'border-color-s': [{
1749
+ 'border-s': [borderColor]
1750
+ }],
1751
+ /**
1752
+ * Border Color E
1753
+ * @see https://tailwindcss.com/docs/border-color
1754
+ */
1755
+ 'border-color-e': [{
1756
+ 'border-e': [borderColor]
1757
+ }],
1758
+ /**
1759
+ * Border Color Top
1760
+ * @see https://tailwindcss.com/docs/border-color
1761
+ */
1762
+ 'border-color-t': [{
1763
+ 'border-t': [borderColor]
1764
+ }],
1765
+ /**
1766
+ * Border Color Right
1767
+ * @see https://tailwindcss.com/docs/border-color
1768
+ */
1769
+ 'border-color-r': [{
1770
+ 'border-r': [borderColor]
1771
+ }],
1772
+ /**
1773
+ * Border Color Bottom
1774
+ * @see https://tailwindcss.com/docs/border-color
1775
+ */
1776
+ 'border-color-b': [{
1777
+ 'border-b': [borderColor]
1778
+ }],
1779
+ /**
1780
+ * Border Color Left
1781
+ * @see https://tailwindcss.com/docs/border-color
1782
+ */
1783
+ 'border-color-l': [{
1784
+ 'border-l': [borderColor]
1785
+ }],
1786
+ /**
1787
+ * Divide Color
1788
+ * @see https://tailwindcss.com/docs/divide-color
1789
+ */
1790
+ 'divide-color': [{
1791
+ divide: [borderColor]
1792
+ }],
1793
+ /**
1794
+ * Outline Style
1795
+ * @see https://tailwindcss.com/docs/outline-style
1796
+ */
1797
+ 'outline-style': [{
1798
+ outline: ['', ...getLineStyles()]
1799
+ }],
1800
+ /**
1801
+ * Outline Offset
1802
+ * @see https://tailwindcss.com/docs/outline-offset
1803
+ */
1804
+ 'outline-offset': [{
1805
+ 'outline-offset': [isLength, isArbitraryValue]
1806
+ }],
1807
+ /**
1808
+ * Outline Width
1809
+ * @see https://tailwindcss.com/docs/outline-width
1810
+ */
1811
+ 'outline-w': [{
1812
+ outline: [isLength, isArbitraryLength]
1813
+ }],
1814
+ /**
1815
+ * Outline Color
1816
+ * @see https://tailwindcss.com/docs/outline-color
1817
+ */
1818
+ 'outline-color': [{
1819
+ outline: [colors]
1820
+ }],
1821
+ /**
1822
+ * Ring Width
1823
+ * @see https://tailwindcss.com/docs/ring-width
1824
+ */
1825
+ 'ring-w': [{
1826
+ ring: getLengthWithEmptyAndArbitrary()
1827
+ }],
1828
+ /**
1829
+ * Ring Width Inset
1830
+ * @see https://tailwindcss.com/docs/ring-width
1831
+ */
1832
+ 'ring-w-inset': ['ring-inset'],
1833
+ /**
1834
+ * Ring Color
1835
+ * @see https://tailwindcss.com/docs/ring-color
1836
+ */
1837
+ 'ring-color': [{
1838
+ ring: [colors]
1839
+ }],
1840
+ /**
1841
+ * Ring Opacity
1842
+ * @see https://tailwindcss.com/docs/ring-opacity
1843
+ */
1844
+ 'ring-opacity': [{
1845
+ 'ring-opacity': [opacity]
1846
+ }],
1847
+ /**
1848
+ * Ring Offset Width
1849
+ * @see https://tailwindcss.com/docs/ring-offset-width
1850
+ */
1851
+ 'ring-offset-w': [{
1852
+ 'ring-offset': [isLength, isArbitraryLength]
1853
+ }],
1854
+ /**
1855
+ * Ring Offset Color
1856
+ * @see https://tailwindcss.com/docs/ring-offset-color
1857
+ */
1858
+ 'ring-offset-color': [{
1859
+ 'ring-offset': [colors]
1860
+ }],
1861
+ // Effects
1862
+ /**
1863
+ * Box Shadow
1864
+ * @see https://tailwindcss.com/docs/box-shadow
1865
+ */
1866
+ shadow: [{
1867
+ shadow: ['', 'inner', 'none', isTshirtSize, isArbitraryShadow]
1868
+ }],
1869
+ /**
1870
+ * Box Shadow Color
1871
+ * @see https://tailwindcss.com/docs/box-shadow-color
1872
+ */
1873
+ 'shadow-color': [{
1874
+ shadow: [isAny]
1875
+ }],
1876
+ /**
1877
+ * Opacity
1878
+ * @see https://tailwindcss.com/docs/opacity
1879
+ */
1880
+ opacity: [{
1881
+ opacity: [opacity]
1882
+ }],
1883
+ /**
1884
+ * Mix Blend Mode
1885
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1886
+ */
1887
+ 'mix-blend': [{
1888
+ 'mix-blend': [...getBlendModes(), 'plus-lighter', 'plus-darker']
1889
+ }],
1890
+ /**
1891
+ * Background Blend Mode
1892
+ * @see https://tailwindcss.com/docs/background-blend-mode
1893
+ */
1894
+ 'bg-blend': [{
1895
+ 'bg-blend': getBlendModes()
1896
+ }],
1897
+ // Filters
1898
+ /**
1899
+ * Filter
1900
+ * @deprecated since Tailwind CSS v3.0.0
1901
+ * @see https://tailwindcss.com/docs/filter
1902
+ */
1903
+ filter: [{
1904
+ filter: ['', 'none']
1905
+ }],
1906
+ /**
1907
+ * Blur
1908
+ * @see https://tailwindcss.com/docs/blur
1909
+ */
1910
+ blur: [{
1911
+ blur: [blur]
1912
+ }],
1913
+ /**
1914
+ * Brightness
1915
+ * @see https://tailwindcss.com/docs/brightness
1916
+ */
1917
+ brightness: [{
1918
+ brightness: [brightness]
1919
+ }],
1920
+ /**
1921
+ * Contrast
1922
+ * @see https://tailwindcss.com/docs/contrast
1923
+ */
1924
+ contrast: [{
1925
+ contrast: [contrast]
1926
+ }],
1927
+ /**
1928
+ * Drop Shadow
1929
+ * @see https://tailwindcss.com/docs/drop-shadow
1930
+ */
1931
+ 'drop-shadow': [{
1932
+ 'drop-shadow': ['', 'none', isTshirtSize, isArbitraryValue]
1933
+ }],
1934
+ /**
1935
+ * Grayscale
1936
+ * @see https://tailwindcss.com/docs/grayscale
1937
+ */
1938
+ grayscale: [{
1939
+ grayscale: [grayscale]
1940
+ }],
1941
+ /**
1942
+ * Hue Rotate
1943
+ * @see https://tailwindcss.com/docs/hue-rotate
1944
+ */
1945
+ 'hue-rotate': [{
1946
+ 'hue-rotate': [hueRotate]
1947
+ }],
1948
+ /**
1949
+ * Invert
1950
+ * @see https://tailwindcss.com/docs/invert
1951
+ */
1952
+ invert: [{
1953
+ invert: [invert]
1954
+ }],
1955
+ /**
1956
+ * Saturate
1957
+ * @see https://tailwindcss.com/docs/saturate
1958
+ */
1959
+ saturate: [{
1960
+ saturate: [saturate]
1961
+ }],
1962
+ /**
1963
+ * Sepia
1964
+ * @see https://tailwindcss.com/docs/sepia
1965
+ */
1966
+ sepia: [{
1967
+ sepia: [sepia]
1968
+ }],
1969
+ /**
1970
+ * Backdrop Filter
1971
+ * @deprecated since Tailwind CSS v3.0.0
1972
+ * @see https://tailwindcss.com/docs/backdrop-filter
1973
+ */
1974
+ 'backdrop-filter': [{
1975
+ 'backdrop-filter': ['', 'none']
1976
+ }],
1977
+ /**
1978
+ * Backdrop Blur
1979
+ * @see https://tailwindcss.com/docs/backdrop-blur
1980
+ */
1981
+ 'backdrop-blur': [{
1982
+ 'backdrop-blur': [blur]
1983
+ }],
1984
+ /**
1985
+ * Backdrop Brightness
1986
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1987
+ */
1988
+ 'backdrop-brightness': [{
1989
+ 'backdrop-brightness': [brightness]
1990
+ }],
1991
+ /**
1992
+ * Backdrop Contrast
1993
+ * @see https://tailwindcss.com/docs/backdrop-contrast
1994
+ */
1995
+ 'backdrop-contrast': [{
1996
+ 'backdrop-contrast': [contrast]
1997
+ }],
1998
+ /**
1999
+ * Backdrop Grayscale
2000
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2001
+ */
2002
+ 'backdrop-grayscale': [{
2003
+ 'backdrop-grayscale': [grayscale]
2004
+ }],
2005
+ /**
2006
+ * Backdrop Hue Rotate
2007
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2008
+ */
2009
+ 'backdrop-hue-rotate': [{
2010
+ 'backdrop-hue-rotate': [hueRotate]
2011
+ }],
2012
+ /**
2013
+ * Backdrop Invert
2014
+ * @see https://tailwindcss.com/docs/backdrop-invert
2015
+ */
2016
+ 'backdrop-invert': [{
2017
+ 'backdrop-invert': [invert]
2018
+ }],
2019
+ /**
2020
+ * Backdrop Opacity
2021
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2022
+ */
2023
+ 'backdrop-opacity': [{
2024
+ 'backdrop-opacity': [opacity]
2025
+ }],
2026
+ /**
2027
+ * Backdrop Saturate
2028
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2029
+ */
2030
+ 'backdrop-saturate': [{
2031
+ 'backdrop-saturate': [saturate]
2032
+ }],
2033
+ /**
2034
+ * Backdrop Sepia
2035
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2036
+ */
2037
+ 'backdrop-sepia': [{
2038
+ 'backdrop-sepia': [sepia]
2039
+ }],
2040
+ // Tables
2041
+ /**
2042
+ * Border Collapse
2043
+ * @see https://tailwindcss.com/docs/border-collapse
2044
+ */
2045
+ 'border-collapse': [{
2046
+ border: ['collapse', 'separate']
2047
+ }],
2048
+ /**
2049
+ * Border Spacing
2050
+ * @see https://tailwindcss.com/docs/border-spacing
2051
+ */
2052
+ 'border-spacing': [{
2053
+ 'border-spacing': [borderSpacing]
2054
+ }],
2055
+ /**
2056
+ * Border Spacing X
2057
+ * @see https://tailwindcss.com/docs/border-spacing
2058
+ */
2059
+ 'border-spacing-x': [{
2060
+ 'border-spacing-x': [borderSpacing]
2061
+ }],
2062
+ /**
2063
+ * Border Spacing Y
2064
+ * @see https://tailwindcss.com/docs/border-spacing
2065
+ */
2066
+ 'border-spacing-y': [{
2067
+ 'border-spacing-y': [borderSpacing]
2068
+ }],
2069
+ /**
2070
+ * Table Layout
2071
+ * @see https://tailwindcss.com/docs/table-layout
2072
+ */
2073
+ 'table-layout': [{
2074
+ table: ['auto', 'fixed']
2075
+ }],
2076
+ /**
2077
+ * Caption Side
2078
+ * @see https://tailwindcss.com/docs/caption-side
2079
+ */
2080
+ caption: [{
2081
+ caption: ['top', 'bottom']
2082
+ }],
2083
+ // Transitions and Animation
2084
+ /**
2085
+ * Tranisition Property
2086
+ * @see https://tailwindcss.com/docs/transition-property
2087
+ */
2088
+ transition: [{
2089
+ transition: ['none', 'all', '', 'colors', 'opacity', 'shadow', 'transform', isArbitraryValue]
2090
+ }],
2091
+ /**
2092
+ * Transition Duration
2093
+ * @see https://tailwindcss.com/docs/transition-duration
2094
+ */
2095
+ duration: [{
2096
+ duration: getNumberAndArbitrary()
2097
+ }],
2098
+ /**
2099
+ * Transition Timing Function
2100
+ * @see https://tailwindcss.com/docs/transition-timing-function
2101
+ */
2102
+ ease: [{
2103
+ ease: ['linear', 'in', 'out', 'in-out', isArbitraryValue]
2104
+ }],
2105
+ /**
2106
+ * Transition Delay
2107
+ * @see https://tailwindcss.com/docs/transition-delay
2108
+ */
2109
+ delay: [{
2110
+ delay: getNumberAndArbitrary()
2111
+ }],
2112
+ /**
2113
+ * Animation
2114
+ * @see https://tailwindcss.com/docs/animation
2115
+ */
2116
+ animate: [{
2117
+ animate: ['none', 'spin', 'ping', 'pulse', 'bounce', isArbitraryValue]
2118
+ }],
2119
+ // Transforms
2120
+ /**
2121
+ * Transform
2122
+ * @see https://tailwindcss.com/docs/transform
2123
+ */
2124
+ transform: [{
2125
+ transform: ['', 'gpu', 'none']
2126
+ }],
2127
+ /**
2128
+ * Scale
2129
+ * @see https://tailwindcss.com/docs/scale
2130
+ */
2131
+ scale: [{
2132
+ scale: [scale]
2133
+ }],
2134
+ /**
2135
+ * Scale X
2136
+ * @see https://tailwindcss.com/docs/scale
2137
+ */
2138
+ 'scale-x': [{
2139
+ 'scale-x': [scale]
2140
+ }],
2141
+ /**
2142
+ * Scale Y
2143
+ * @see https://tailwindcss.com/docs/scale
2144
+ */
2145
+ 'scale-y': [{
2146
+ 'scale-y': [scale]
2147
+ }],
2148
+ /**
2149
+ * Rotate
2150
+ * @see https://tailwindcss.com/docs/rotate
2151
+ */
2152
+ rotate: [{
2153
+ rotate: [isInteger, isArbitraryValue]
2154
+ }],
2155
+ /**
2156
+ * Translate X
2157
+ * @see https://tailwindcss.com/docs/translate
2158
+ */
2159
+ 'translate-x': [{
2160
+ 'translate-x': [translate]
2161
+ }],
2162
+ /**
2163
+ * Translate Y
2164
+ * @see https://tailwindcss.com/docs/translate
2165
+ */
2166
+ 'translate-y': [{
2167
+ 'translate-y': [translate]
2168
+ }],
2169
+ /**
2170
+ * Skew X
2171
+ * @see https://tailwindcss.com/docs/skew
2172
+ */
2173
+ 'skew-x': [{
2174
+ 'skew-x': [skew]
2175
+ }],
2176
+ /**
2177
+ * Skew Y
2178
+ * @see https://tailwindcss.com/docs/skew
2179
+ */
2180
+ 'skew-y': [{
2181
+ 'skew-y': [skew]
2182
+ }],
2183
+ /**
2184
+ * Transform Origin
2185
+ * @see https://tailwindcss.com/docs/transform-origin
2186
+ */
2187
+ 'transform-origin': [{
2188
+ origin: ['center', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'top-left', isArbitraryValue]
2189
+ }],
2190
+ // Interactivity
2191
+ /**
2192
+ * Accent Color
2193
+ * @see https://tailwindcss.com/docs/accent-color
2194
+ */
2195
+ accent: [{
2196
+ accent: ['auto', colors]
2197
+ }],
2198
+ /**
2199
+ * Appearance
2200
+ * @see https://tailwindcss.com/docs/appearance
2201
+ */
2202
+ appearance: [{
2203
+ appearance: ['none', 'auto']
2204
+ }],
2205
+ /**
2206
+ * Cursor
2207
+ * @see https://tailwindcss.com/docs/cursor
2208
+ */
2209
+ cursor: [{
2210
+ 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]
2211
+ }],
2212
+ /**
2213
+ * Caret Color
2214
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2215
+ */
2216
+ 'caret-color': [{
2217
+ caret: [colors]
2218
+ }],
2219
+ /**
2220
+ * Pointer Events
2221
+ * @see https://tailwindcss.com/docs/pointer-events
2222
+ */
2223
+ 'pointer-events': [{
2224
+ 'pointer-events': ['none', 'auto']
2225
+ }],
2226
+ /**
2227
+ * Resize
2228
+ * @see https://tailwindcss.com/docs/resize
2229
+ */
2230
+ resize: [{
2231
+ resize: ['none', 'y', 'x', '']
2232
+ }],
2233
+ /**
2234
+ * Scroll Behavior
2235
+ * @see https://tailwindcss.com/docs/scroll-behavior
2236
+ */
2237
+ 'scroll-behavior': [{
2238
+ scroll: ['auto', 'smooth']
2239
+ }],
2240
+ /**
2241
+ * Scroll Margin
2242
+ * @see https://tailwindcss.com/docs/scroll-margin
2243
+ */
2244
+ 'scroll-m': [{
2245
+ 'scroll-m': getSpacingWithArbitrary()
2246
+ }],
2247
+ /**
2248
+ * Scroll Margin X
2249
+ * @see https://tailwindcss.com/docs/scroll-margin
2250
+ */
2251
+ 'scroll-mx': [{
2252
+ 'scroll-mx': getSpacingWithArbitrary()
2253
+ }],
2254
+ /**
2255
+ * Scroll Margin Y
2256
+ * @see https://tailwindcss.com/docs/scroll-margin
2257
+ */
2258
+ 'scroll-my': [{
2259
+ 'scroll-my': getSpacingWithArbitrary()
2260
+ }],
2261
+ /**
2262
+ * Scroll Margin Start
2263
+ * @see https://tailwindcss.com/docs/scroll-margin
2264
+ */
2265
+ 'scroll-ms': [{
2266
+ 'scroll-ms': getSpacingWithArbitrary()
2267
+ }],
2268
+ /**
2269
+ * Scroll Margin End
2270
+ * @see https://tailwindcss.com/docs/scroll-margin
2271
+ */
2272
+ 'scroll-me': [{
2273
+ 'scroll-me': getSpacingWithArbitrary()
2274
+ }],
2275
+ /**
2276
+ * Scroll Margin Top
2277
+ * @see https://tailwindcss.com/docs/scroll-margin
2278
+ */
2279
+ 'scroll-mt': [{
2280
+ 'scroll-mt': getSpacingWithArbitrary()
2281
+ }],
2282
+ /**
2283
+ * Scroll Margin Right
2284
+ * @see https://tailwindcss.com/docs/scroll-margin
2285
+ */
2286
+ 'scroll-mr': [{
2287
+ 'scroll-mr': getSpacingWithArbitrary()
2288
+ }],
2289
+ /**
2290
+ * Scroll Margin Bottom
2291
+ * @see https://tailwindcss.com/docs/scroll-margin
2292
+ */
2293
+ 'scroll-mb': [{
2294
+ 'scroll-mb': getSpacingWithArbitrary()
2295
+ }],
2296
+ /**
2297
+ * Scroll Margin Left
2298
+ * @see https://tailwindcss.com/docs/scroll-margin
2299
+ */
2300
+ 'scroll-ml': [{
2301
+ 'scroll-ml': getSpacingWithArbitrary()
2302
+ }],
2303
+ /**
2304
+ * Scroll Padding
2305
+ * @see https://tailwindcss.com/docs/scroll-padding
2306
+ */
2307
+ 'scroll-p': [{
2308
+ 'scroll-p': getSpacingWithArbitrary()
2309
+ }],
2310
+ /**
2311
+ * Scroll Padding X
2312
+ * @see https://tailwindcss.com/docs/scroll-padding
2313
+ */
2314
+ 'scroll-px': [{
2315
+ 'scroll-px': getSpacingWithArbitrary()
2316
+ }],
2317
+ /**
2318
+ * Scroll Padding Y
2319
+ * @see https://tailwindcss.com/docs/scroll-padding
2320
+ */
2321
+ 'scroll-py': [{
2322
+ 'scroll-py': getSpacingWithArbitrary()
2323
+ }],
2324
+ /**
2325
+ * Scroll Padding Start
2326
+ * @see https://tailwindcss.com/docs/scroll-padding
2327
+ */
2328
+ 'scroll-ps': [{
2329
+ 'scroll-ps': getSpacingWithArbitrary()
2330
+ }],
2331
+ /**
2332
+ * Scroll Padding End
2333
+ * @see https://tailwindcss.com/docs/scroll-padding
2334
+ */
2335
+ 'scroll-pe': [{
2336
+ 'scroll-pe': getSpacingWithArbitrary()
2337
+ }],
2338
+ /**
2339
+ * Scroll Padding Top
2340
+ * @see https://tailwindcss.com/docs/scroll-padding
2341
+ */
2342
+ 'scroll-pt': [{
2343
+ 'scroll-pt': getSpacingWithArbitrary()
2344
+ }],
2345
+ /**
2346
+ * Scroll Padding Right
2347
+ * @see https://tailwindcss.com/docs/scroll-padding
2348
+ */
2349
+ 'scroll-pr': [{
2350
+ 'scroll-pr': getSpacingWithArbitrary()
2351
+ }],
2352
+ /**
2353
+ * Scroll Padding Bottom
2354
+ * @see https://tailwindcss.com/docs/scroll-padding
2355
+ */
2356
+ 'scroll-pb': [{
2357
+ 'scroll-pb': getSpacingWithArbitrary()
2358
+ }],
2359
+ /**
2360
+ * Scroll Padding Left
2361
+ * @see https://tailwindcss.com/docs/scroll-padding
2362
+ */
2363
+ 'scroll-pl': [{
2364
+ 'scroll-pl': getSpacingWithArbitrary()
2365
+ }],
2366
+ /**
2367
+ * Scroll Snap Align
2368
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2369
+ */
2370
+ 'snap-align': [{
2371
+ snap: ['start', 'end', 'center', 'align-none']
2372
+ }],
2373
+ /**
2374
+ * Scroll Snap Stop
2375
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2376
+ */
2377
+ 'snap-stop': [{
2378
+ snap: ['normal', 'always']
2379
+ }],
2380
+ /**
2381
+ * Scroll Snap Type
2382
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2383
+ */
2384
+ 'snap-type': [{
2385
+ snap: ['none', 'x', 'y', 'both']
2386
+ }],
2387
+ /**
2388
+ * Scroll Snap Type Strictness
2389
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2390
+ */
2391
+ 'snap-strictness': [{
2392
+ snap: ['mandatory', 'proximity']
2393
+ }],
2394
+ /**
2395
+ * Touch Action
2396
+ * @see https://tailwindcss.com/docs/touch-action
2397
+ */
2398
+ touch: [{
2399
+ touch: ['auto', 'none', 'manipulation']
2400
+ }],
2401
+ /**
2402
+ * Touch Action X
2403
+ * @see https://tailwindcss.com/docs/touch-action
2404
+ */
2405
+ 'touch-x': [{
2406
+ 'touch-pan': ['x', 'left', 'right']
2407
+ }],
2408
+ /**
2409
+ * Touch Action Y
2410
+ * @see https://tailwindcss.com/docs/touch-action
2411
+ */
2412
+ 'touch-y': [{
2413
+ 'touch-pan': ['y', 'up', 'down']
2414
+ }],
2415
+ /**
2416
+ * Touch Action Pinch Zoom
2417
+ * @see https://tailwindcss.com/docs/touch-action
2418
+ */
2419
+ 'touch-pz': ['touch-pinch-zoom'],
2420
+ /**
2421
+ * User Select
2422
+ * @see https://tailwindcss.com/docs/user-select
2423
+ */
2424
+ select: [{
2425
+ select: ['none', 'text', 'all', 'auto']
2426
+ }],
2427
+ /**
2428
+ * Will Change
2429
+ * @see https://tailwindcss.com/docs/will-change
2430
+ */
2431
+ 'will-change': [{
2432
+ 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryValue]
2433
+ }],
2434
+ // SVG
2435
+ /**
2436
+ * Fill
2437
+ * @see https://tailwindcss.com/docs/fill
2438
+ */
2439
+ fill: [{
2440
+ fill: [colors, 'none']
2441
+ }],
2442
+ /**
2443
+ * Stroke Width
2444
+ * @see https://tailwindcss.com/docs/stroke-width
2445
+ */
2446
+ 'stroke-w': [{
2447
+ stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2448
+ }],
2449
+ /**
2450
+ * Stroke
2451
+ * @see https://tailwindcss.com/docs/stroke
2452
+ */
2453
+ stroke: [{
2454
+ stroke: [colors, 'none']
2455
+ }],
2456
+ // Accessibility
2457
+ /**
2458
+ * Screen Readers
2459
+ * @see https://tailwindcss.com/docs/screen-readers
2460
+ */
2461
+ sr: ['sr-only', 'not-sr-only'],
2462
+ /**
2463
+ * Forced Color Adjust
2464
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2465
+ */
2466
+ 'forced-color-adjust': [{
2467
+ 'forced-color-adjust': ['auto', 'none']
2468
+ }]
2469
+ },
2470
+ conflictingClassGroups: {
2471
+ overflow: ['overflow-x', 'overflow-y'],
2472
+ overscroll: ['overscroll-x', 'overscroll-y'],
2473
+ inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
2474
+ 'inset-x': ['right', 'left'],
2475
+ 'inset-y': ['top', 'bottom'],
2476
+ flex: ['basis', 'grow', 'shrink'],
2477
+ gap: ['gap-x', 'gap-y'],
2478
+ p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
2479
+ px: ['pr', 'pl'],
2480
+ py: ['pt', 'pb'],
2481
+ m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
2482
+ mx: ['mr', 'ml'],
2483
+ my: ['mt', 'mb'],
2484
+ size: ['w', 'h'],
2485
+ 'font-size': ['leading'],
2486
+ 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
2487
+ 'fvn-ordinal': ['fvn-normal'],
2488
+ 'fvn-slashed-zero': ['fvn-normal'],
2489
+ 'fvn-figure': ['fvn-normal'],
2490
+ 'fvn-spacing': ['fvn-normal'],
2491
+ 'fvn-fraction': ['fvn-normal'],
2492
+ 'line-clamp': ['display', 'overflow'],
2493
+ rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
2494
+ 'rounded-s': ['rounded-ss', 'rounded-es'],
2495
+ 'rounded-e': ['rounded-se', 'rounded-ee'],
2496
+ 'rounded-t': ['rounded-tl', 'rounded-tr'],
2497
+ 'rounded-r': ['rounded-tr', 'rounded-br'],
2498
+ 'rounded-b': ['rounded-br', 'rounded-bl'],
2499
+ 'rounded-l': ['rounded-tl', 'rounded-bl'],
2500
+ 'border-spacing': ['border-spacing-x', 'border-spacing-y'],
2501
+ 'border-w': ['border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
2502
+ 'border-w-x': ['border-w-r', 'border-w-l'],
2503
+ 'border-w-y': ['border-w-t', 'border-w-b'],
2504
+ 'border-color': ['border-color-s', 'border-color-e', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
2505
+ 'border-color-x': ['border-color-r', 'border-color-l'],
2506
+ 'border-color-y': ['border-color-t', 'border-color-b'],
2507
+ 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
2508
+ 'scroll-mx': ['scroll-mr', 'scroll-ml'],
2509
+ 'scroll-my': ['scroll-mt', 'scroll-mb'],
2510
+ 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
2511
+ 'scroll-px': ['scroll-pr', 'scroll-pl'],
2512
+ 'scroll-py': ['scroll-pt', 'scroll-pb'],
2513
+ touch: ['touch-x', 'touch-y', 'touch-pz'],
2514
+ 'touch-x': ['touch'],
2515
+ 'touch-y': ['touch'],
2516
+ 'touch-pz': ['touch']
2517
+ },
2518
+ conflictingClassGroupModifiers: {
2519
+ 'font-size': ['leading']
2520
+ }
2521
+ };
2522
+ };
2523
+
2524
+ /**
2525
+ * @param baseConfig Config where other config will be merged into. This object will be mutated.
2526
+ * @param configExtension Partial config to merge into the `baseConfig`.
2527
+ */
2528
+ const mergeConfigs = (baseConfig, {
2529
+ cacheSize,
2530
+ prefix,
2531
+ separator,
2532
+ experimentalParseClassName,
2533
+ extend = {},
2534
+ override = {}
2535
+ }) => {
2536
+ overrideProperty(baseConfig, 'cacheSize', cacheSize);
2537
+ overrideProperty(baseConfig, 'prefix', prefix);
2538
+ overrideProperty(baseConfig, 'separator', separator);
2539
+ overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);
2540
+ for (const configKey in override) {
2541
+ overrideConfigProperties(baseConfig[configKey], override[configKey]);
2542
+ }
2543
+ for (const key in extend) {
2544
+ mergeConfigProperties(baseConfig[key], extend[key]);
2545
+ }
2546
+ return baseConfig;
2547
+ };
2548
+ const overrideProperty = (baseObject, overrideKey, overrideValue) => {
2549
+ if (overrideValue !== undefined) {
2550
+ baseObject[overrideKey] = overrideValue;
2551
+ }
2552
+ };
2553
+ const overrideConfigProperties = (baseObject, overrideObject) => {
2554
+ if (overrideObject) {
2555
+ for (const key in overrideObject) {
2556
+ overrideProperty(baseObject, key, overrideObject[key]);
2557
+ }
2558
+ }
2559
+ };
2560
+ const mergeConfigProperties = (baseObject, mergeObject) => {
2561
+ if (mergeObject) {
2562
+ for (const key in mergeObject) {
2563
+ const mergeValue = mergeObject[key];
2564
+ if (mergeValue !== undefined) {
2565
+ baseObject[key] = (baseObject[key] || []).concat(mergeValue);
2566
+ }
2567
+ }
2568
+ }
2569
+ };
2570
+ const extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
2571
+ const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
2572
+ exports.createTailwindMerge = createTailwindMerge;
2573
+ exports.extendTailwindMerge = extendTailwindMerge;
2574
+ exports.fromTheme = fromTheme;
2575
+ exports.getDefaultConfig = getDefaultConfig;
2576
+ exports.mergeConfigs = mergeConfigs;
2577
+ exports.twJoin = twJoin;
2578
+ exports.twMerge = twMerge;
2579
+ exports.validators = validators;
2580
+
2581
+ } (bundleCjs));
2582
+ return bundleCjs;
2583
+ }
2584
+
2585
+ var hasRequiredDist;
2586
+
2587
+ function requireDist () {
2588
+ if (hasRequiredDist) return dist;
2589
+ hasRequiredDist = 1;
2590
+
2591
+ var tailwindMerge = /*@__PURE__*/ requireBundleCjs();
2592
+
2593
+ var q=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,g=e=>!e||typeof e!="object"||Object.keys(e).length===0,X=(e,l)=>JSON.stringify(e)===JSON.stringify(l);function Y(e,l){e.forEach(function(t){Array.isArray(t)?Y(t,l):l.push(t);});}function F(e){let l=[];return Y(e,l),l}var J=(...e)=>F(e).filter(Boolean),T=(e,l)=>{let t={},O=Object.keys(e),k=Object.keys(l);for(let y of O)if(k.includes(y)){let V=e[y],h=l[y];Array.isArray(V)||Array.isArray(h)?t[y]=J(h,V):typeof V=="object"&&typeof h=="object"?t[y]=T(V,h):t[y]=h+" "+V;}else t[y]=e[y];for(let y of k)O.includes(y)||(t[y]=l[y]);return t},R=e=>!e||typeof e!="string"?e:e.replace(/\s+/g," ").trim();var ce={twMerge:true,twMergeConfig:{},responsiveVariants:false},_=e=>e||void 0,E=(...e)=>_(F(e).filter(Boolean).join(" ")),U=null,C={},W=false,S=(...e)=>l=>l.twMerge?((!U||W)&&(W=false,U=g(C)?tailwindMerge.twMerge:tailwindMerge.extendTailwindMerge({...C,extend:{theme:C.theme,classGroups:C.classGroups,conflictingClassGroupModifiers:C.conflictingClassGroupModifiers,conflictingClassGroups:C.conflictingClassGroups,...C.extend}})),_(U(E(e)))):E(e),Z=(e,l)=>{for(let t in l)e.hasOwnProperty(t)?e[t]=E(e[t],l[t]):e[t]=l[t];return e},oe=(e,l)=>{let{extend:t=null,slots:O={},variants:k={},compoundVariants:y=[],compoundSlots:V=[],defaultVariants:h={}}=e,d={...ce,...l},B=t!=null&&t.base?E(t.base,e==null?void 0:e.base):e==null?void 0:e.base,b=t!=null&&t.variants&&!g(t.variants)?T(k,t.variants):k,N=t!=null&&t.defaultVariants&&!g(t.defaultVariants)?{...t.defaultVariants,...h}:h;!g(d.twMergeConfig)&&!X(d.twMergeConfig,C)&&(W=true,C=d.twMergeConfig);let $=g(t==null?void 0:t.slots),x=g(O)?{}:{base:E(e==null?void 0:e.base,$&&(t==null?void 0:t.base)),...O},M=$?x:Z({...t==null?void 0:t.slots},g(x)?{base:e==null?void 0:e.base}:x),j=g(t==null?void 0:t.compoundVariants)?y:J(t==null?void 0:t.compoundVariants,y),v=f=>{if(g(b)&&g(O)&&$)return S(B,f==null?void 0:f.class,f==null?void 0:f.className)(d);if(j&&!Array.isArray(j))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof j}`);if(V&&!Array.isArray(V))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof V}`);let P=(r,a,n=[],i)=>{let s=n;if(typeof a=="string")s=s.concat(R(a).split(" ").map(o=>`${r}:${o}`));else if(Array.isArray(a))s=s.concat(a.reduce((o,c)=>o.concat(`${r}:${c}`),[]));else if(typeof a=="object"&&typeof i=="string"){for(let o in a)if(a.hasOwnProperty(o)&&o===i){let c=a[o];if(c&&typeof c=="string"){let m=R(c);s[i]?s[i]=s[i].concat(m.split(" ").map(u=>`${r}:${u}`)):s[i]=m.split(" ").map(u=>`${r}:${u}`);}else Array.isArray(c)&&c.length>0&&(s[i]=c.reduce((m,u)=>m.concat(`${r}:${u}`),[]));}}return s},z=(r,a=b,n=null,i=null)=>{var L;let s=a[r];if(!s||g(s))return null;let o=(L=i==null?void 0:i[r])!=null?L:f==null?void 0:f[r];if(o===null)return null;let c=q(o),m=Array.isArray(d.responsiveVariants)&&d.responsiveVariants.length>0||d.responsiveVariants===true,u=N==null?void 0:N[r],A=[];if(typeof c=="object"&&m)for(let[G,Q]of Object.entries(c)){let ae=s[Q];if(G==="initial"){u=Q;continue}Array.isArray(d.responsiveVariants)&&!d.responsiveVariants.includes(G)||(A=P(G,ae,A,n));}let p=c!=null&&typeof c!="object"?c:q(u),w=s[p||"false"];return typeof A=="object"&&typeof n=="string"&&A[n]?Z(A,w):A.length>0?(A.push(w),n==="base"?A.join(" "):A):w},ee=()=>b?Object.keys(b).map(r=>z(r,b)):null,te=(r,a)=>{if(!b||typeof b!="object")return null;let n=new Array;for(let i in b){let s=z(i,b,r,a),o=r==="base"&&typeof s=="string"?s:s&&s[r];o&&(n[n.length]=o);}return n},D={};for(let r in f)f[r]!==void 0&&(D[r]=f[r]);let H=(r,a)=>{var i;let n=typeof(f==null?void 0:f[r])=="object"?{[r]:(i=f[r])==null?void 0:i.initial}:{};return {...N,...D,...n,...a}},I=(r=[],a)=>{let n=[];for(let{class:i,className:s,...o}of r){let c=true;for(let[m,u]of Object.entries(o)){let A=H(m,a)[m];if(Array.isArray(u)){if(!u.includes(A)){c=false;break}}else {let p=w=>w==null||w===false;if(p(u)&&p(A))continue;if(A!==u){c=false;break}}}c&&(i&&n.push(i),s&&n.push(s));}return n},ne=r=>{let a=I(j,r);if(!Array.isArray(a))return a;let n={};for(let i of a)if(typeof i=="string"&&(n.base=S(n.base,i)(d)),typeof i=="object")for(let[s,o]of Object.entries(i))n[s]=S(n[s],o)(d);return n},re=r=>{if(V.length<1)return null;let a={};for(let{slots:n=[],class:i,className:s,...o}of V){if(!g(o)){let c=true;for(let m of Object.keys(o)){let u=H(m,r)[m];if(u===void 0||(Array.isArray(o[m])?!o[m].includes(u):o[m]!==u)){c=false;break}}if(!c)continue}for(let c of n)a[c]=a[c]||[],a[c].push([i,s]);}return a};if(!g(O)||!$){let r={};if(typeof M=="object"&&!g(M))for(let a of Object.keys(M))r[a]=n=>{var i,s;return S(M[a],te(a,n),((i=ne(n))!=null?i:[])[a],((s=re(n))!=null?s:[])[a],n==null?void 0:n.class,n==null?void 0:n.className)(d)};return r}return S(B,ee(),I(j),f==null?void 0:f.class,f==null?void 0:f.className)(d)},K=()=>{if(!(!b||typeof b!="object"))return Object.keys(b)};return v.variantKeys=K(),v.extend=t,v.base=B,v.slots=M,v.variants=b,v.defaultVariants=N,v.compoundSlots=V,v.compoundVariants=j,v},ye=e=>(l,t)=>oe(l,t?T(e,t):e);
2594
+
2595
+ dist.cn = S;
2596
+ dist.cnBase = E;
2597
+ dist.createTV = ye;
2598
+ dist.defaultConfig = ce;
2599
+ dist.tv = oe;
2600
+ dist.voidEmpty = _;
2601
+ return dist;
2602
+ }
2603
+
2604
+ var distExports = /*@__PURE__*/ requireDist();
2605
+
2606
+ const tv = distExports.createTV({
2607
+ twMergeConfig: {
2608
+ override: {
2609
+ classGroups: {
2610
+ 'font-size': [{ text: [(value) => /^size-.+/.test(value)] }],
2611
+ 'text-color': [{ text: [(value) => /^color-.+/.test(value)] }],
2612
+ 'bg-color': [{ bg: [(value) => /^color-.+/.test(value)] }],
2613
+ 'border-color': [{ border: [(value) => /^color-.+/.test(value)] }],
2614
+ },
2615
+ },
2616
+ },
2617
+ });
2618
+
2619
+ export { tv as t };
2620
+ //# sourceMappingURL=tv-CEcVC0yX.js.map
2621
+
2622
+ //# sourceMappingURL=tv-CEcVC0yX.js.map