bromcom-ui 2.9.0-rc.10 → 2.9.0-rc.12

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