bromcom-ui 2.9.0-rc.2 → 2.9.0-rc.20

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