lecom-ui 5.4.36 → 5.4.38

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