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