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