@pixpilot/shadcn-ui 0.4.1 → 0.4.3

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 (246) hide show
  1. package/dist/AbsoluteFill.d.ts +2 -2
  2. package/dist/Alert.cjs +10 -8
  3. package/dist/Alert.js +13 -12
  4. package/dist/Button.d.cts +1 -1
  5. package/dist/ContentCard.d.cts +1 -1
  6. package/dist/DatePicker.d.cts +1 -1
  7. package/dist/DatePicker.d.ts +2 -2
  8. package/dist/Select.d.cts +1 -1
  9. package/dist/_virtual/rolldown_runtime.cjs +0 -19
  10. package/dist/confirmation-dialog/ConfirmationDialog.cjs +2 -3
  11. package/dist/confirmation-dialog/ConfirmationDialog.d.cts +0 -1
  12. package/dist/confirmation-dialog/ConfirmationDialog.js +3 -4
  13. package/dist/confirmation-dialog/index.cjs +0 -1
  14. package/dist/file-upload/FileUploadListItem.cjs +1 -2
  15. package/dist/file-upload/FileUploadListItem.js +2 -3
  16. package/dist/file-upload/hooks/index.cjs +0 -1
  17. package/dist/file-upload/hooks/use-file-error.cjs +3 -3
  18. package/dist/file-upload/hooks/use-file-error.js +2 -3
  19. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +3 -3
  20. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +2 -3
  21. package/dist/file-upload/index.cjs +0 -1
  22. package/dist/file-upload/index.d.cts +1 -2
  23. package/dist/file-upload/utils/create-placeholder-file.cjs +0 -1
  24. package/dist/file-upload/utils/get-file-key.cjs +0 -1
  25. package/dist/file-upload/utils/get-file-meta.cjs +0 -1
  26. package/dist/file-upload/utils/is-file-equal.cjs +0 -1
  27. package/dist/file-upload/utils/merge-file-metadata.cjs +0 -1
  28. package/dist/file-upload-inline/FileUploadInlineItem.cjs +1 -3
  29. package/dist/file-upload-inline/FileUploadInlineItem.js +2 -4
  30. package/dist/file-upload-inline/defaults.cjs +0 -1
  31. package/dist/file-upload-inline/index.cjs +0 -1
  32. package/dist/file-upload-inline/utils.cjs +0 -1
  33. package/dist/hooks/index.cjs +0 -1
  34. package/dist/icon-selector/IconPicker.cjs +1 -1
  35. package/dist/icon-selector/IconPicker.d.cts +0 -1
  36. package/dist/icon-selector/IconPicker.d.ts +0 -1
  37. package/dist/icon-selector/IconPicker.js +1 -1
  38. package/dist/icon-selector/constants.cjs +0 -1
  39. package/dist/icon-selector/index.cjs +0 -1
  40. package/dist/icon-selector/index.d.cts +2 -2
  41. package/dist/icon-selector/index.d.ts +2 -2
  42. package/dist/icon-selector/utils/is-valid-provider.cjs +0 -1
  43. package/dist/index.d.cts +2 -2
  44. package/dist/index.d.ts +2 -2
  45. package/dist/pagination/index.cjs +0 -1
  46. package/dist/rich-text-editor/index.cjs +0 -1
  47. package/dist/shadcn/src/lib/index.cjs +1 -0
  48. package/dist/shadcn/src/lib/index.js +1 -0
  49. package/dist/shadcn/src/lib/utils.cjs +13 -0
  50. package/dist/shadcn/src/lib/utils.js +10 -0
  51. package/dist/spinner/index.cjs +0 -1
  52. package/dist/spinner/styles.cjs +0 -1
  53. package/dist/toast/AlertToast.js +2 -2
  54. package/dist/toast/index.cjs +0 -1
  55. package/package.json +4 -4
  56. package/dist/_virtual/rolldown_runtime.js +0 -43
  57. package/dist/file-upload/hooks/index.d.cts +0 -2
  58. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +0 -1
  59. package/dist/file-upload/hooks/use-file-upload-store.d.cts +0 -2
  60. package/dist/file-upload/utils/get-file-key.d.cts +0 -1
  61. package/dist/file-upload/utils/get-file-meta.d.cts +0 -1
  62. package/dist/file-upload/utils/index.d.cts +0 -4
  63. package/dist/file-upload/utils/is-file-equal.d.cts +0 -1
  64. package/dist/file-upload/utils/merge-file-metadata.d.cts +0 -1
  65. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.cjs +0 -558
  66. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js +0 -555
  67. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.cjs +0 -566
  68. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.js +0 -565
  69. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -695
  70. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -679
  71. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -521
  72. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -503
  73. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +0 -282
  74. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -266
  75. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.cjs +0 -3767
  76. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js +0 -3747
  77. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +0 -426
  78. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -379
  79. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -165
  80. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -175
  81. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -151
  82. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -138
  83. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +0 -13
  84. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +0 -11
  85. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -33
  86. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -30
  87. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +0 -92
  88. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.js +0 -88
  89. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.cjs +0 -310
  90. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.js +0 -299
  91. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -190
  92. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -187
  93. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +0 -34
  94. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -32
  95. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +0 -203
  96. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -200
  97. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +0 -18
  98. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.js +0 -16
  99. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -29
  100. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.js +0 -25
  101. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -110
  102. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.js +0 -108
  103. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -52
  104. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.js +0 -47
  105. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -92
  106. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +0 -89
  107. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -103
  108. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +0 -100
  109. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -15
  110. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
  111. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -64
  112. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -62
  113. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -19
  114. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -17
  115. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -9
  116. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -7
  117. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -108
  118. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +0 -155
  119. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +0 -19
  120. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -17
  121. package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +0 -14
  122. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -9
  123. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +0 -22
  124. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -46
  125. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -12
  126. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/index.js +0 -3
  127. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -37
  128. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/component.cjs +0 -61
  129. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/constants.cjs +0 -23
  130. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/index.cjs +0 -57
  131. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/utils.cjs +0 -49
  132. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -17
  133. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -163
  134. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -64
  135. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  136. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -85
  137. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -7
  138. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -9
  139. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/Combination.cjs +0 -29
  140. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/SideEffect.cjs +0 -179
  141. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/UI.cjs +0 -79
  142. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.cjs +0 -27
  143. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/handleScroll.cjs +0 -98
  144. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/index.cjs +0 -19
  145. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/medium.cjs +0 -18
  146. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/sidecar.cjs +0 -21
  147. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js +0 -21
  148. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.js +0 -27
  149. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js +0 -3
  150. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -43
  151. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/component.cjs +0 -33
  152. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/hook.cjs +0 -40
  153. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/index.cjs +0 -39
  154. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/singleton.cjs +0 -55
  155. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +0 -347
  156. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +0 -268
  157. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +0 -1895
  158. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1893
  159. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -557
  160. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -31
  161. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -22
  162. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -47
  163. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -42
  164. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/assignRef.cjs +0 -34
  165. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/createRef.cjs +0 -39
  166. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/index.cjs +0 -85
  167. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/mergeRef.cjs +0 -40
  168. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/refToCallback.cjs +0 -59
  169. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/transformRef.cjs +0 -34
  170. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useMergeRef.cjs +0 -61
  171. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useRef.cjs +0 -53
  172. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useTransformRef.cjs +0 -38
  173. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.js +0 -19
  174. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.js +0 -84
  175. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/config.cjs +0 -22
  176. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/env.cjs +0 -21
  177. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/exports.cjs +0 -31
  178. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hoc.cjs +0 -31
  179. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hook.cjs +0 -60
  180. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/index.cjs +0 -69
  181. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/medium.cjs +0 -101
  182. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/renderProp.cjs +0 -58
  183. package/dist/packages/shadcn/src/components/index.cjs +0 -6
  184. package/dist/packages/shadcn/src/components/index.js +0 -5
  185. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +0 -6
  186. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +0 -3
  187. package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +0 -10
  188. package/dist/packages/shadcn/src/components/ui/alert-dialog.js +0 -6
  189. package/dist/packages/shadcn/src/components/ui/alert.cjs +0 -44
  190. package/dist/packages/shadcn/src/components/ui/alert.js +0 -38
  191. package/dist/packages/shadcn/src/components/ui/avatar.cjs +0 -5
  192. package/dist/packages/shadcn/src/components/ui/avatar.js +0 -2
  193. package/dist/packages/shadcn/src/components/ui/badge.cjs +0 -20
  194. package/dist/packages/shadcn/src/components/ui/badge.js +0 -16
  195. package/dist/packages/shadcn/src/components/ui/button.cjs +0 -50
  196. package/dist/packages/shadcn/src/components/ui/button.js +0 -45
  197. package/dist/packages/shadcn/src/components/ui/calendar.cjs +0 -8
  198. package/dist/packages/shadcn/src/components/ui/calendar.js +0 -4
  199. package/dist/packages/shadcn/src/components/ui/card.cjs +0 -5
  200. package/dist/packages/shadcn/src/components/ui/card.js +0 -2
  201. package/dist/packages/shadcn/src/components/ui/checkbox.cjs +0 -10
  202. package/dist/packages/shadcn/src/components/ui/checkbox.js +0 -6
  203. package/dist/packages/shadcn/src/components/ui/command.cjs +0 -11
  204. package/dist/packages/shadcn/src/components/ui/command.js +0 -7
  205. package/dist/packages/shadcn/src/components/ui/dialog.cjs +0 -93
  206. package/dist/packages/shadcn/src/components/ui/dialog.js +0 -81
  207. package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +0 -7
  208. package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +0 -3
  209. package/dist/packages/shadcn/src/components/ui/file-upload.cjs +0 -49
  210. package/dist/packages/shadcn/src/components/ui/file-upload.js +0 -45
  211. package/dist/packages/shadcn/src/components/ui/form.cjs +0 -12
  212. package/dist/packages/shadcn/src/components/ui/form.js +0 -9
  213. package/dist/packages/shadcn/src/components/ui/index.cjs +0 -30
  214. package/dist/packages/shadcn/src/components/ui/index.js +0 -29
  215. package/dist/packages/shadcn/src/components/ui/input.cjs +0 -5
  216. package/dist/packages/shadcn/src/components/ui/input.js +0 -2
  217. package/dist/packages/shadcn/src/components/ui/label.cjs +0 -5
  218. package/dist/packages/shadcn/src/components/ui/label.js +0 -2
  219. package/dist/packages/shadcn/src/components/ui/pagination.cjs +0 -9
  220. package/dist/packages/shadcn/src/components/ui/pagination.js +0 -4
  221. package/dist/packages/shadcn/src/components/ui/popover.cjs +0 -5
  222. package/dist/packages/shadcn/src/components/ui/popover.js +0 -2
  223. package/dist/packages/shadcn/src/components/ui/radio-group.cjs +0 -7
  224. package/dist/packages/shadcn/src/components/ui/radio-group.js +0 -3
  225. package/dist/packages/shadcn/src/components/ui/select.cjs +0 -10
  226. package/dist/packages/shadcn/src/components/ui/select.js +0 -6
  227. package/dist/packages/shadcn/src/components/ui/separator.cjs +0 -5
  228. package/dist/packages/shadcn/src/components/ui/separator.js +0 -2
  229. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +0 -26
  230. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +0 -22
  231. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -6
  232. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +0 -3
  233. package/dist/packages/shadcn/src/components/ui/sheet.cjs +0 -7
  234. package/dist/packages/shadcn/src/components/ui/sheet.js +0 -3
  235. package/dist/packages/shadcn/src/components/ui/slider.cjs +0 -5
  236. package/dist/packages/shadcn/src/components/ui/slider.js +0 -2
  237. package/dist/packages/shadcn/src/components/ui/switch.cjs +0 -8
  238. package/dist/packages/shadcn/src/components/ui/switch.js +0 -5
  239. package/dist/packages/shadcn/src/components/ui/tabs.cjs +0 -5
  240. package/dist/packages/shadcn/src/components/ui/tabs.js +0 -2
  241. package/dist/packages/shadcn/src/components/ui/textarea.cjs +0 -5
  242. package/dist/packages/shadcn/src/components/ui/textarea.js +0 -2
  243. package/dist/packages/shadcn/src/components/ui/tooltip.cjs +0 -5
  244. package/dist/packages/shadcn/src/components/ui/tooltip.js +0 -2
  245. package/dist/packages/shadcn/src/lib/utils.cjs +0 -11
  246. package/dist/packages/shadcn/src/lib/utils.js +0 -10
@@ -1,1893 +0,0 @@
1
- //#region ../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
2
- /**
3
- * Concatenates two arrays faster than the array spread operator.
4
- */
5
- const concatArrays = (array1, array2) => {
6
- const combinedArray = new Array(array1.length + array2.length);
7
- for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
8
- for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
9
- return combinedArray;
10
- };
11
- const createClassValidatorObject = (classGroupId, validator) => ({
12
- classGroupId,
13
- validator
14
- });
15
- const createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
16
- nextPart,
17
- validators,
18
- classGroupId
19
- });
20
- const CLASS_PART_SEPARATOR = "-";
21
- const EMPTY_CONFLICTS = [];
22
- const ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
23
- const createClassGroupUtils = (config) => {
24
- const classMap = createClassMap(config);
25
- const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
26
- const getClassGroupId = (className) => {
27
- if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
28
- const classParts = className.split(CLASS_PART_SEPARATOR);
29
- return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
30
- };
31
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
32
- if (hasPostfixModifier) {
33
- const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
34
- const baseConflicts = conflictingClassGroups[classGroupId];
35
- if (modifierConflicts) {
36
- if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
37
- return modifierConflicts;
38
- }
39
- return baseConflicts || EMPTY_CONFLICTS;
40
- }
41
- return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
42
- };
43
- return {
44
- getClassGroupId,
45
- getConflictingClassGroupIds
46
- };
47
- };
48
- const getGroupRecursive = (classParts, startIndex, classPartObject) => {
49
- if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
50
- const currentClassPart = classParts[startIndex];
51
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
52
- if (nextClassPartObject) {
53
- const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
54
- if (result) return result;
55
- }
56
- const validators = classPartObject.validators;
57
- if (validators === null) return;
58
- const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
59
- const validatorsLength = validators.length;
60
- for (let i = 0; i < validatorsLength; i++) {
61
- const validatorObj = validators[i];
62
- if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
63
- }
64
- };
65
- /**
66
- * Get the class group ID for an arbitrary property.
67
- *
68
- * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
69
- */
70
- const getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
71
- const content = className.slice(1, -1);
72
- const colonIndex = content.indexOf(":");
73
- const property = content.slice(0, colonIndex);
74
- return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
75
- })();
76
- /**
77
- * Exported for testing only
78
- */
79
- const createClassMap = (config) => {
80
- const { theme, classGroups } = config;
81
- return processClassGroups(classGroups, theme);
82
- };
83
- const processClassGroups = (classGroups, theme) => {
84
- const classMap = createClassPartObject();
85
- for (const classGroupId in classGroups) {
86
- const group = classGroups[classGroupId];
87
- processClassesRecursively(group, classMap, classGroupId, theme);
88
- }
89
- return classMap;
90
- };
91
- const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
92
- const len = classGroup.length;
93
- for (let i = 0; i < len; i++) {
94
- const classDefinition = classGroup[i];
95
- processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
96
- }
97
- };
98
- const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
99
- if (typeof classDefinition === "string") {
100
- processStringDefinition(classDefinition, classPartObject, classGroupId);
101
- return;
102
- }
103
- if (typeof classDefinition === "function") {
104
- processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
105
- return;
106
- }
107
- processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
108
- };
109
- const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
110
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
111
- classPartObjectToEdit.classGroupId = classGroupId;
112
- };
113
- const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
114
- if (isThemeGetter(classDefinition)) {
115
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
116
- return;
117
- }
118
- if (classPartObject.validators === null) classPartObject.validators = [];
119
- classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
120
- };
121
- const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
122
- const entries = Object.entries(classDefinition);
123
- const len = entries.length;
124
- for (let i = 0; i < len; i++) {
125
- const [key, value] = entries[i];
126
- processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
127
- }
128
- };
129
- const getPart = (classPartObject, path) => {
130
- let current = classPartObject;
131
- const parts = path.split(CLASS_PART_SEPARATOR);
132
- const len = parts.length;
133
- for (let i = 0; i < len; i++) {
134
- const part = parts[i];
135
- let next = current.nextPart.get(part);
136
- if (!next) {
137
- next = createClassPartObject();
138
- current.nextPart.set(part, next);
139
- }
140
- current = next;
141
- }
142
- return current;
143
- };
144
- const isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
145
- const createLruCache = (maxCacheSize) => {
146
- if (maxCacheSize < 1) return {
147
- get: () => void 0,
148
- set: () => {}
149
- };
150
- let cacheSize = 0;
151
- let cache = Object.create(null);
152
- let previousCache = Object.create(null);
153
- const update = (key, value) => {
154
- cache[key] = value;
155
- cacheSize++;
156
- if (cacheSize > maxCacheSize) {
157
- cacheSize = 0;
158
- previousCache = cache;
159
- cache = Object.create(null);
160
- }
161
- };
162
- return {
163
- get(key) {
164
- let value = cache[key];
165
- if (value !== void 0) return value;
166
- if ((value = previousCache[key]) !== void 0) {
167
- update(key, value);
168
- return value;
169
- }
170
- },
171
- set(key, value) {
172
- if (key in cache) cache[key] = value;
173
- else update(key, value);
174
- }
175
- };
176
- };
177
- const IMPORTANT_MODIFIER = "!";
178
- const MODIFIER_SEPARATOR = ":";
179
- const EMPTY_MODIFIERS = [];
180
- const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
181
- modifiers,
182
- hasImportantModifier,
183
- baseClassName,
184
- maybePostfixModifierPosition,
185
- isExternal
186
- });
187
- const createParseClassName = (config) => {
188
- const { prefix, experimentalParseClassName } = config;
189
- /**
190
- * Parse class name into parts.
191
- *
192
- * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
193
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
194
- */
195
- let parseClassName = (className) => {
196
- const modifiers = [];
197
- let bracketDepth = 0;
198
- let parenDepth = 0;
199
- let modifierStart = 0;
200
- let postfixModifierPosition;
201
- const len = className.length;
202
- for (let index = 0; index < len; index++) {
203
- const currentCharacter = className[index];
204
- if (bracketDepth === 0 && parenDepth === 0) {
205
- if (currentCharacter === MODIFIER_SEPARATOR) {
206
- modifiers.push(className.slice(modifierStart, index));
207
- modifierStart = index + 1;
208
- continue;
209
- }
210
- if (currentCharacter === "/") {
211
- postfixModifierPosition = index;
212
- continue;
213
- }
214
- }
215
- if (currentCharacter === "[") bracketDepth++;
216
- else if (currentCharacter === "]") bracketDepth--;
217
- else if (currentCharacter === "(") parenDepth++;
218
- else if (currentCharacter === ")") parenDepth--;
219
- }
220
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
221
- let baseClassName = baseClassNameWithImportantModifier;
222
- let hasImportantModifier = false;
223
- if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
224
- baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
225
- hasImportantModifier = true;
226
- } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
227
- baseClassName = baseClassNameWithImportantModifier.slice(1);
228
- hasImportantModifier = true;
229
- }
230
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
231
- return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
232
- };
233
- if (prefix) {
234
- const fullPrefix = prefix + MODIFIER_SEPARATOR;
235
- const parseClassNameOriginal = parseClassName;
236
- parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
237
- }
238
- if (experimentalParseClassName) {
239
- const parseClassNameOriginal = parseClassName;
240
- parseClassName = (className) => experimentalParseClassName({
241
- className,
242
- parseClassName: parseClassNameOriginal
243
- });
244
- }
245
- return parseClassName;
246
- };
247
- /**
248
- * Sorts modifiers according to following schema:
249
- * - Predefined modifiers are sorted alphabetically
250
- * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
251
- */
252
- const createSortModifiers = (config) => {
253
- const modifierWeights = /* @__PURE__ */ new Map();
254
- config.orderSensitiveModifiers.forEach((mod, index) => {
255
- modifierWeights.set(mod, 1e6 + index);
256
- });
257
- return (modifiers) => {
258
- const result = [];
259
- let currentSegment = [];
260
- for (let i = 0; i < modifiers.length; i++) {
261
- const modifier = modifiers[i];
262
- const isArbitrary = modifier[0] === "[";
263
- const isOrderSensitive = modifierWeights.has(modifier);
264
- if (isArbitrary || isOrderSensitive) {
265
- if (currentSegment.length > 0) {
266
- currentSegment.sort();
267
- result.push(...currentSegment);
268
- currentSegment = [];
269
- }
270
- result.push(modifier);
271
- } else currentSegment.push(modifier);
272
- }
273
- if (currentSegment.length > 0) {
274
- currentSegment.sort();
275
- result.push(...currentSegment);
276
- }
277
- return result;
278
- };
279
- };
280
- const createConfigUtils = (config) => ({
281
- cache: createLruCache(config.cacheSize),
282
- parseClassName: createParseClassName(config),
283
- sortModifiers: createSortModifiers(config),
284
- ...createClassGroupUtils(config)
285
- });
286
- const SPLIT_CLASSES_REGEX = /\s+/;
287
- const mergeClassList = (classList, configUtils) => {
288
- const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils;
289
- /**
290
- * Set of classGroupIds in following format:
291
- * `{importantModifier}{variantModifiers}{classGroupId}`
292
- * @example 'float'
293
- * @example 'hover:focus:bg-color'
294
- * @example 'md:!pr'
295
- */
296
- const classGroupsInConflict = [];
297
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
298
- let result = "";
299
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
300
- const originalClassName = classNames[index];
301
- const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
302
- if (isExternal) {
303
- result = originalClassName + (result.length > 0 ? " " + result : result);
304
- continue;
305
- }
306
- let hasPostfixModifier = !!maybePostfixModifierPosition;
307
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
308
- if (!classGroupId) {
309
- if (!hasPostfixModifier) {
310
- result = originalClassName + (result.length > 0 ? " " + result : result);
311
- continue;
312
- }
313
- classGroupId = getClassGroupId(baseClassName);
314
- if (!classGroupId) {
315
- result = originalClassName + (result.length > 0 ? " " + result : result);
316
- continue;
317
- }
318
- hasPostfixModifier = false;
319
- }
320
- const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
321
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
322
- const classId = modifierId + classGroupId;
323
- if (classGroupsInConflict.indexOf(classId) > -1) continue;
324
- classGroupsInConflict.push(classId);
325
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
326
- for (let i = 0; i < conflictGroups.length; ++i) {
327
- const group = conflictGroups[i];
328
- classGroupsInConflict.push(modifierId + group);
329
- }
330
- result = originalClassName + (result.length > 0 ? " " + result : result);
331
- }
332
- return result;
333
- };
334
- /**
335
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
336
- *
337
- * Specifically:
338
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
339
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
340
- *
341
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
342
- */
343
- const twJoin = (...classLists) => {
344
- let index = 0;
345
- let argument;
346
- let resolvedValue;
347
- let string = "";
348
- while (index < classLists.length) if (argument = classLists[index++]) {
349
- if (resolvedValue = toValue(argument)) {
350
- string && (string += " ");
351
- string += resolvedValue;
352
- }
353
- }
354
- return string;
355
- };
356
- const toValue = (mix) => {
357
- if (typeof mix === "string") return mix;
358
- let resolvedValue;
359
- let string = "";
360
- for (let k = 0; k < mix.length; k++) if (mix[k]) {
361
- if (resolvedValue = toValue(mix[k])) {
362
- string && (string += " ");
363
- string += resolvedValue;
364
- }
365
- }
366
- return string;
367
- };
368
- const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
369
- let configUtils;
370
- let cacheGet;
371
- let cacheSet;
372
- let functionToCall;
373
- const initTailwindMerge = (classList) => {
374
- configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
375
- cacheGet = configUtils.cache.get;
376
- cacheSet = configUtils.cache.set;
377
- functionToCall = tailwindMerge;
378
- return tailwindMerge(classList);
379
- };
380
- const tailwindMerge = (classList) => {
381
- const cachedResult = cacheGet(classList);
382
- if (cachedResult) return cachedResult;
383
- const result = mergeClassList(classList, configUtils);
384
- cacheSet(classList, result);
385
- return result;
386
- };
387
- functionToCall = initTailwindMerge;
388
- return (...args) => functionToCall(twJoin(...args));
389
- };
390
- const fallbackThemeArr = [];
391
- const fromTheme = (key) => {
392
- const themeGetter = (theme) => theme[key] || fallbackThemeArr;
393
- themeGetter.isThemeGetter = true;
394
- return themeGetter;
395
- };
396
- const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
397
- const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
398
- const fractionRegex = /^\d+\/\d+$/;
399
- const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
400
- 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$/;
401
- const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
402
- const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
403
- const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
404
- const isFraction = (value) => fractionRegex.test(value);
405
- const isNumber = (value) => !!value && !Number.isNaN(Number(value));
406
- const isInteger = (value) => !!value && Number.isInteger(Number(value));
407
- const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
408
- const isTshirtSize = (value) => tshirtUnitRegex.test(value);
409
- const isAny = () => true;
410
- const isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
411
- const isNever = () => false;
412
- const isShadow = (value) => shadowRegex.test(value);
413
- const isImage = (value) => imageRegex.test(value);
414
- const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
415
- const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
416
- const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
417
- const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
418
- const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
419
- const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
420
- const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
421
- const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
422
- const isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
423
- const isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
424
- const isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
425
- const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
426
- const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
427
- const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
428
- const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
429
- const getIsArbitraryValue = (value, testLabel, testValue) => {
430
- const result = arbitraryValueRegex.exec(value);
431
- if (result) {
432
- if (result[1]) return testLabel(result[1]);
433
- return testValue(result[2]);
434
- }
435
- return false;
436
- };
437
- const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
438
- const result = arbitraryVariableRegex.exec(value);
439
- if (result) {
440
- if (result[1]) return testLabel(result[1]);
441
- return shouldMatchNoLabel;
442
- }
443
- return false;
444
- };
445
- const isLabelPosition = (label) => label === "position" || label === "percentage";
446
- const isLabelImage = (label) => label === "image" || label === "url";
447
- const isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
448
- const isLabelLength = (label) => label === "length";
449
- const isLabelNumber = (label) => label === "number";
450
- const isLabelFamilyName = (label) => label === "family-name";
451
- const isLabelShadow = (label) => label === "shadow";
452
- const getDefaultConfig = () => {
453
- /**
454
- * Theme getters for theme variable namespaces
455
- * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
456
- */
457
- const themeColor = fromTheme("color");
458
- const themeFont = fromTheme("font");
459
- const themeText = fromTheme("text");
460
- const themeFontWeight = fromTheme("font-weight");
461
- const themeTracking = fromTheme("tracking");
462
- const themeLeading = fromTheme("leading");
463
- const themeBreakpoint = fromTheme("breakpoint");
464
- const themeContainer = fromTheme("container");
465
- const themeSpacing = fromTheme("spacing");
466
- const themeRadius = fromTheme("radius");
467
- const themeShadow = fromTheme("shadow");
468
- const themeInsetShadow = fromTheme("inset-shadow");
469
- const themeTextShadow = fromTheme("text-shadow");
470
- const themeDropShadow = fromTheme("drop-shadow");
471
- const themeBlur = fromTheme("blur");
472
- const themePerspective = fromTheme("perspective");
473
- const themeAspect = fromTheme("aspect");
474
- const themeEase = fromTheme("ease");
475
- const themeAnimate = fromTheme("animate");
476
- /**
477
- * Helpers to avoid repeating the same scales
478
- *
479
- * We use functions that create a new array every time they're called instead of static arrays.
480
- * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
481
- */
482
- const scaleBreak = () => [
483
- "auto",
484
- "avoid",
485
- "all",
486
- "avoid-page",
487
- "page",
488
- "left",
489
- "right",
490
- "column"
491
- ];
492
- const scalePosition = () => [
493
- "center",
494
- "top",
495
- "bottom",
496
- "left",
497
- "right",
498
- "top-left",
499
- "left-top",
500
- "top-right",
501
- "right-top",
502
- "bottom-right",
503
- "right-bottom",
504
- "bottom-left",
505
- "left-bottom"
506
- ];
507
- const scalePositionWithArbitrary = () => [
508
- ...scalePosition(),
509
- isArbitraryVariable,
510
- isArbitraryValue
511
- ];
512
- const scaleOverflow = () => [
513
- "auto",
514
- "hidden",
515
- "clip",
516
- "visible",
517
- "scroll"
518
- ];
519
- const scaleOverscroll = () => [
520
- "auto",
521
- "contain",
522
- "none"
523
- ];
524
- const scaleUnambiguousSpacing = () => [
525
- isArbitraryVariable,
526
- isArbitraryValue,
527
- themeSpacing
528
- ];
529
- const scaleInset = () => [
530
- isFraction,
531
- "full",
532
- "auto",
533
- ...scaleUnambiguousSpacing()
534
- ];
535
- const scaleGridTemplateColsRows = () => [
536
- isInteger,
537
- "none",
538
- "subgrid",
539
- isArbitraryVariable,
540
- isArbitraryValue
541
- ];
542
- const scaleGridColRowStartAndEnd = () => [
543
- "auto",
544
- { span: [
545
- "full",
546
- isInteger,
547
- isArbitraryVariable,
548
- isArbitraryValue
549
- ] },
550
- isInteger,
551
- isArbitraryVariable,
552
- isArbitraryValue
553
- ];
554
- const scaleGridColRowStartOrEnd = () => [
555
- isInteger,
556
- "auto",
557
- isArbitraryVariable,
558
- isArbitraryValue
559
- ];
560
- const scaleGridAutoColsRows = () => [
561
- "auto",
562
- "min",
563
- "max",
564
- "fr",
565
- isArbitraryVariable,
566
- isArbitraryValue
567
- ];
568
- const scaleAlignPrimaryAxis = () => [
569
- "start",
570
- "end",
571
- "center",
572
- "between",
573
- "around",
574
- "evenly",
575
- "stretch",
576
- "baseline",
577
- "center-safe",
578
- "end-safe"
579
- ];
580
- const scaleAlignSecondaryAxis = () => [
581
- "start",
582
- "end",
583
- "center",
584
- "stretch",
585
- "center-safe",
586
- "end-safe"
587
- ];
588
- const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
589
- const scaleSizing = () => [
590
- isFraction,
591
- "auto",
592
- "full",
593
- "dvw",
594
- "dvh",
595
- "lvw",
596
- "lvh",
597
- "svw",
598
- "svh",
599
- "min",
600
- "max",
601
- "fit",
602
- ...scaleUnambiguousSpacing()
603
- ];
604
- const scaleColor = () => [
605
- themeColor,
606
- isArbitraryVariable,
607
- isArbitraryValue
608
- ];
609
- const scaleBgPosition = () => [
610
- ...scalePosition(),
611
- isArbitraryVariablePosition,
612
- isArbitraryPosition,
613
- { position: [isArbitraryVariable, isArbitraryValue] }
614
- ];
615
- const scaleBgRepeat = () => ["no-repeat", { repeat: [
616
- "",
617
- "x",
618
- "y",
619
- "space",
620
- "round"
621
- ] }];
622
- const scaleBgSize = () => [
623
- "auto",
624
- "cover",
625
- "contain",
626
- isArbitraryVariableSize,
627
- isArbitrarySize,
628
- { size: [isArbitraryVariable, isArbitraryValue] }
629
- ];
630
- const scaleGradientStopPosition = () => [
631
- isPercent,
632
- isArbitraryVariableLength,
633
- isArbitraryLength
634
- ];
635
- const scaleRadius = () => [
636
- "",
637
- "none",
638
- "full",
639
- themeRadius,
640
- isArbitraryVariable,
641
- isArbitraryValue
642
- ];
643
- const scaleBorderWidth = () => [
644
- "",
645
- isNumber,
646
- isArbitraryVariableLength,
647
- isArbitraryLength
648
- ];
649
- const scaleLineStyle = () => [
650
- "solid",
651
- "dashed",
652
- "dotted",
653
- "double"
654
- ];
655
- const scaleBlendMode = () => [
656
- "normal",
657
- "multiply",
658
- "screen",
659
- "overlay",
660
- "darken",
661
- "lighten",
662
- "color-dodge",
663
- "color-burn",
664
- "hard-light",
665
- "soft-light",
666
- "difference",
667
- "exclusion",
668
- "hue",
669
- "saturation",
670
- "color",
671
- "luminosity"
672
- ];
673
- const scaleMaskImagePosition = () => [
674
- isNumber,
675
- isPercent,
676
- isArbitraryVariablePosition,
677
- isArbitraryPosition
678
- ];
679
- const scaleBlur = () => [
680
- "",
681
- "none",
682
- themeBlur,
683
- isArbitraryVariable,
684
- isArbitraryValue
685
- ];
686
- const scaleRotate = () => [
687
- "none",
688
- isNumber,
689
- isArbitraryVariable,
690
- isArbitraryValue
691
- ];
692
- const scaleScale = () => [
693
- "none",
694
- isNumber,
695
- isArbitraryVariable,
696
- isArbitraryValue
697
- ];
698
- const scaleSkew = () => [
699
- isNumber,
700
- isArbitraryVariable,
701
- isArbitraryValue
702
- ];
703
- const scaleTranslate = () => [
704
- isFraction,
705
- "full",
706
- ...scaleUnambiguousSpacing()
707
- ];
708
- return {
709
- cacheSize: 500,
710
- theme: {
711
- animate: [
712
- "spin",
713
- "ping",
714
- "pulse",
715
- "bounce"
716
- ],
717
- aspect: ["video"],
718
- blur: [isTshirtSize],
719
- breakpoint: [isTshirtSize],
720
- color: [isAny],
721
- container: [isTshirtSize],
722
- "drop-shadow": [isTshirtSize],
723
- ease: [
724
- "in",
725
- "out",
726
- "in-out"
727
- ],
728
- font: [isAnyNonArbitrary],
729
- "font-weight": [
730
- "thin",
731
- "extralight",
732
- "light",
733
- "normal",
734
- "medium",
735
- "semibold",
736
- "bold",
737
- "extrabold",
738
- "black"
739
- ],
740
- "inset-shadow": [isTshirtSize],
741
- leading: [
742
- "none",
743
- "tight",
744
- "snug",
745
- "normal",
746
- "relaxed",
747
- "loose"
748
- ],
749
- perspective: [
750
- "dramatic",
751
- "near",
752
- "normal",
753
- "midrange",
754
- "distant",
755
- "none"
756
- ],
757
- radius: [isTshirtSize],
758
- shadow: [isTshirtSize],
759
- spacing: ["px", isNumber],
760
- text: [isTshirtSize],
761
- "text-shadow": [isTshirtSize],
762
- tracking: [
763
- "tighter",
764
- "tight",
765
- "normal",
766
- "wide",
767
- "wider",
768
- "widest"
769
- ]
770
- },
771
- classGroups: {
772
- aspect: [{ aspect: [
773
- "auto",
774
- "square",
775
- isFraction,
776
- isArbitraryValue,
777
- isArbitraryVariable,
778
- themeAspect
779
- ] }],
780
- container: ["container"],
781
- columns: [{ columns: [
782
- isNumber,
783
- isArbitraryValue,
784
- isArbitraryVariable,
785
- themeContainer
786
- ] }],
787
- "break-after": [{ "break-after": scaleBreak() }],
788
- "break-before": [{ "break-before": scaleBreak() }],
789
- "break-inside": [{ "break-inside": [
790
- "auto",
791
- "avoid",
792
- "avoid-page",
793
- "avoid-column"
794
- ] }],
795
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
796
- box: [{ box: ["border", "content"] }],
797
- display: [
798
- "block",
799
- "inline-block",
800
- "inline",
801
- "flex",
802
- "inline-flex",
803
- "table",
804
- "inline-table",
805
- "table-caption",
806
- "table-cell",
807
- "table-column",
808
- "table-column-group",
809
- "table-footer-group",
810
- "table-header-group",
811
- "table-row-group",
812
- "table-row",
813
- "flow-root",
814
- "grid",
815
- "inline-grid",
816
- "contents",
817
- "list-item",
818
- "hidden"
819
- ],
820
- sr: ["sr-only", "not-sr-only"],
821
- float: [{ float: [
822
- "right",
823
- "left",
824
- "none",
825
- "start",
826
- "end"
827
- ] }],
828
- clear: [{ clear: [
829
- "left",
830
- "right",
831
- "both",
832
- "none",
833
- "start",
834
- "end"
835
- ] }],
836
- isolation: ["isolate", "isolation-auto"],
837
- "object-fit": [{ object: [
838
- "contain",
839
- "cover",
840
- "fill",
841
- "none",
842
- "scale-down"
843
- ] }],
844
- "object-position": [{ object: scalePositionWithArbitrary() }],
845
- overflow: [{ overflow: scaleOverflow() }],
846
- "overflow-x": [{ "overflow-x": scaleOverflow() }],
847
- "overflow-y": [{ "overflow-y": scaleOverflow() }],
848
- overscroll: [{ overscroll: scaleOverscroll() }],
849
- "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
850
- "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
851
- position: [
852
- "static",
853
- "fixed",
854
- "absolute",
855
- "relative",
856
- "sticky"
857
- ],
858
- inset: [{ inset: scaleInset() }],
859
- "inset-x": [{ "inset-x": scaleInset() }],
860
- "inset-y": [{ "inset-y": scaleInset() }],
861
- start: [{ start: scaleInset() }],
862
- end: [{ end: scaleInset() }],
863
- top: [{ top: scaleInset() }],
864
- right: [{ right: scaleInset() }],
865
- bottom: [{ bottom: scaleInset() }],
866
- left: [{ left: scaleInset() }],
867
- visibility: [
868
- "visible",
869
- "invisible",
870
- "collapse"
871
- ],
872
- z: [{ z: [
873
- isInteger,
874
- "auto",
875
- isArbitraryVariable,
876
- isArbitraryValue
877
- ] }],
878
- basis: [{ basis: [
879
- isFraction,
880
- "full",
881
- "auto",
882
- themeContainer,
883
- ...scaleUnambiguousSpacing()
884
- ] }],
885
- "flex-direction": [{ flex: [
886
- "row",
887
- "row-reverse",
888
- "col",
889
- "col-reverse"
890
- ] }],
891
- "flex-wrap": [{ flex: [
892
- "nowrap",
893
- "wrap",
894
- "wrap-reverse"
895
- ] }],
896
- flex: [{ flex: [
897
- isNumber,
898
- isFraction,
899
- "auto",
900
- "initial",
901
- "none",
902
- isArbitraryValue
903
- ] }],
904
- grow: [{ grow: [
905
- "",
906
- isNumber,
907
- isArbitraryVariable,
908
- isArbitraryValue
909
- ] }],
910
- shrink: [{ shrink: [
911
- "",
912
- isNumber,
913
- isArbitraryVariable,
914
- isArbitraryValue
915
- ] }],
916
- order: [{ order: [
917
- isInteger,
918
- "first",
919
- "last",
920
- "none",
921
- isArbitraryVariable,
922
- isArbitraryValue
923
- ] }],
924
- "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
925
- "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
926
- "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
927
- "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
928
- "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
929
- "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
930
- "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
931
- "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
932
- "grid-flow": [{ "grid-flow": [
933
- "row",
934
- "col",
935
- "dense",
936
- "row-dense",
937
- "col-dense"
938
- ] }],
939
- "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
940
- "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
941
- gap: [{ gap: scaleUnambiguousSpacing() }],
942
- "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
943
- "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
944
- "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
945
- "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
946
- "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
947
- "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
948
- "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
949
- "align-self": [{ self: [
950
- "auto",
951
- ...scaleAlignSecondaryAxis(),
952
- { baseline: ["", "last"] }
953
- ] }],
954
- "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
955
- "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
956
- "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
957
- p: [{ p: scaleUnambiguousSpacing() }],
958
- px: [{ px: scaleUnambiguousSpacing() }],
959
- py: [{ py: scaleUnambiguousSpacing() }],
960
- ps: [{ ps: scaleUnambiguousSpacing() }],
961
- pe: [{ pe: scaleUnambiguousSpacing() }],
962
- pt: [{ pt: scaleUnambiguousSpacing() }],
963
- pr: [{ pr: scaleUnambiguousSpacing() }],
964
- pb: [{ pb: scaleUnambiguousSpacing() }],
965
- pl: [{ pl: scaleUnambiguousSpacing() }],
966
- m: [{ m: scaleMargin() }],
967
- mx: [{ mx: scaleMargin() }],
968
- my: [{ my: scaleMargin() }],
969
- ms: [{ ms: scaleMargin() }],
970
- me: [{ me: scaleMargin() }],
971
- mt: [{ mt: scaleMargin() }],
972
- mr: [{ mr: scaleMargin() }],
973
- mb: [{ mb: scaleMargin() }],
974
- ml: [{ ml: scaleMargin() }],
975
- "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
976
- "space-x-reverse": ["space-x-reverse"],
977
- "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
978
- "space-y-reverse": ["space-y-reverse"],
979
- size: [{ size: scaleSizing() }],
980
- w: [{ w: [
981
- themeContainer,
982
- "screen",
983
- ...scaleSizing()
984
- ] }],
985
- "min-w": [{ "min-w": [
986
- themeContainer,
987
- "screen",
988
- "none",
989
- ...scaleSizing()
990
- ] }],
991
- "max-w": [{ "max-w": [
992
- themeContainer,
993
- "screen",
994
- "none",
995
- "prose",
996
- { screen: [themeBreakpoint] },
997
- ...scaleSizing()
998
- ] }],
999
- h: [{ h: [
1000
- "screen",
1001
- "lh",
1002
- ...scaleSizing()
1003
- ] }],
1004
- "min-h": [{ "min-h": [
1005
- "screen",
1006
- "lh",
1007
- "none",
1008
- ...scaleSizing()
1009
- ] }],
1010
- "max-h": [{ "max-h": [
1011
- "screen",
1012
- "lh",
1013
- ...scaleSizing()
1014
- ] }],
1015
- "font-size": [{ text: [
1016
- "base",
1017
- themeText,
1018
- isArbitraryVariableLength,
1019
- isArbitraryLength
1020
- ] }],
1021
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1022
- "font-style": ["italic", "not-italic"],
1023
- "font-weight": [{ font: [
1024
- themeFontWeight,
1025
- isArbitraryVariable,
1026
- isArbitraryNumber
1027
- ] }],
1028
- "font-stretch": [{ "font-stretch": [
1029
- "ultra-condensed",
1030
- "extra-condensed",
1031
- "condensed",
1032
- "semi-condensed",
1033
- "normal",
1034
- "semi-expanded",
1035
- "expanded",
1036
- "extra-expanded",
1037
- "ultra-expanded",
1038
- isPercent,
1039
- isArbitraryValue
1040
- ] }],
1041
- "font-family": [{ font: [
1042
- isArbitraryVariableFamilyName,
1043
- isArbitraryValue,
1044
- themeFont
1045
- ] }],
1046
- "fvn-normal": ["normal-nums"],
1047
- "fvn-ordinal": ["ordinal"],
1048
- "fvn-slashed-zero": ["slashed-zero"],
1049
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1050
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1051
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1052
- tracking: [{ tracking: [
1053
- themeTracking,
1054
- isArbitraryVariable,
1055
- isArbitraryValue
1056
- ] }],
1057
- "line-clamp": [{ "line-clamp": [
1058
- isNumber,
1059
- "none",
1060
- isArbitraryVariable,
1061
- isArbitraryNumber
1062
- ] }],
1063
- leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
1064
- "list-image": [{ "list-image": [
1065
- "none",
1066
- isArbitraryVariable,
1067
- isArbitraryValue
1068
- ] }],
1069
- "list-style-position": [{ list: ["inside", "outside"] }],
1070
- "list-style-type": [{ list: [
1071
- "disc",
1072
- "decimal",
1073
- "none",
1074
- isArbitraryVariable,
1075
- isArbitraryValue
1076
- ] }],
1077
- "text-alignment": [{ text: [
1078
- "left",
1079
- "center",
1080
- "right",
1081
- "justify",
1082
- "start",
1083
- "end"
1084
- ] }],
1085
- "placeholder-color": [{ placeholder: scaleColor() }],
1086
- "text-color": [{ text: scaleColor() }],
1087
- "text-decoration": [
1088
- "underline",
1089
- "overline",
1090
- "line-through",
1091
- "no-underline"
1092
- ],
1093
- "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1094
- "text-decoration-thickness": [{ decoration: [
1095
- isNumber,
1096
- "from-font",
1097
- "auto",
1098
- isArbitraryVariable,
1099
- isArbitraryLength
1100
- ] }],
1101
- "text-decoration-color": [{ decoration: scaleColor() }],
1102
- "underline-offset": [{ "underline-offset": [
1103
- isNumber,
1104
- "auto",
1105
- isArbitraryVariable,
1106
- isArbitraryValue
1107
- ] }],
1108
- "text-transform": [
1109
- "uppercase",
1110
- "lowercase",
1111
- "capitalize",
1112
- "normal-case"
1113
- ],
1114
- "text-overflow": [
1115
- "truncate",
1116
- "text-ellipsis",
1117
- "text-clip"
1118
- ],
1119
- "text-wrap": [{ text: [
1120
- "wrap",
1121
- "nowrap",
1122
- "balance",
1123
- "pretty"
1124
- ] }],
1125
- indent: [{ indent: scaleUnambiguousSpacing() }],
1126
- "vertical-align": [{ align: [
1127
- "baseline",
1128
- "top",
1129
- "middle",
1130
- "bottom",
1131
- "text-top",
1132
- "text-bottom",
1133
- "sub",
1134
- "super",
1135
- isArbitraryVariable,
1136
- isArbitraryValue
1137
- ] }],
1138
- whitespace: [{ whitespace: [
1139
- "normal",
1140
- "nowrap",
1141
- "pre",
1142
- "pre-line",
1143
- "pre-wrap",
1144
- "break-spaces"
1145
- ] }],
1146
- break: [{ break: [
1147
- "normal",
1148
- "words",
1149
- "all",
1150
- "keep"
1151
- ] }],
1152
- wrap: [{ wrap: [
1153
- "break-word",
1154
- "anywhere",
1155
- "normal"
1156
- ] }],
1157
- hyphens: [{ hyphens: [
1158
- "none",
1159
- "manual",
1160
- "auto"
1161
- ] }],
1162
- content: [{ content: [
1163
- "none",
1164
- isArbitraryVariable,
1165
- isArbitraryValue
1166
- ] }],
1167
- "bg-attachment": [{ bg: [
1168
- "fixed",
1169
- "local",
1170
- "scroll"
1171
- ] }],
1172
- "bg-clip": [{ "bg-clip": [
1173
- "border",
1174
- "padding",
1175
- "content",
1176
- "text"
1177
- ] }],
1178
- "bg-origin": [{ "bg-origin": [
1179
- "border",
1180
- "padding",
1181
- "content"
1182
- ] }],
1183
- "bg-position": [{ bg: scaleBgPosition() }],
1184
- "bg-repeat": [{ bg: scaleBgRepeat() }],
1185
- "bg-size": [{ bg: scaleBgSize() }],
1186
- "bg-image": [{ bg: [
1187
- "none",
1188
- {
1189
- linear: [
1190
- { to: [
1191
- "t",
1192
- "tr",
1193
- "r",
1194
- "br",
1195
- "b",
1196
- "bl",
1197
- "l",
1198
- "tl"
1199
- ] },
1200
- isInteger,
1201
- isArbitraryVariable,
1202
- isArbitraryValue
1203
- ],
1204
- radial: [
1205
- "",
1206
- isArbitraryVariable,
1207
- isArbitraryValue
1208
- ],
1209
- conic: [
1210
- isInteger,
1211
- isArbitraryVariable,
1212
- isArbitraryValue
1213
- ]
1214
- },
1215
- isArbitraryVariableImage,
1216
- isArbitraryImage
1217
- ] }],
1218
- "bg-color": [{ bg: scaleColor() }],
1219
- "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1220
- "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1221
- "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1222
- "gradient-from": [{ from: scaleColor() }],
1223
- "gradient-via": [{ via: scaleColor() }],
1224
- "gradient-to": [{ to: scaleColor() }],
1225
- rounded: [{ rounded: scaleRadius() }],
1226
- "rounded-s": [{ "rounded-s": scaleRadius() }],
1227
- "rounded-e": [{ "rounded-e": scaleRadius() }],
1228
- "rounded-t": [{ "rounded-t": scaleRadius() }],
1229
- "rounded-r": [{ "rounded-r": scaleRadius() }],
1230
- "rounded-b": [{ "rounded-b": scaleRadius() }],
1231
- "rounded-l": [{ "rounded-l": scaleRadius() }],
1232
- "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1233
- "rounded-se": [{ "rounded-se": scaleRadius() }],
1234
- "rounded-ee": [{ "rounded-ee": scaleRadius() }],
1235
- "rounded-es": [{ "rounded-es": scaleRadius() }],
1236
- "rounded-tl": [{ "rounded-tl": scaleRadius() }],
1237
- "rounded-tr": [{ "rounded-tr": scaleRadius() }],
1238
- "rounded-br": [{ "rounded-br": scaleRadius() }],
1239
- "rounded-bl": [{ "rounded-bl": scaleRadius() }],
1240
- "border-w": [{ border: scaleBorderWidth() }],
1241
- "border-w-x": [{ "border-x": scaleBorderWidth() }],
1242
- "border-w-y": [{ "border-y": scaleBorderWidth() }],
1243
- "border-w-s": [{ "border-s": scaleBorderWidth() }],
1244
- "border-w-e": [{ "border-e": scaleBorderWidth() }],
1245
- "border-w-t": [{ "border-t": scaleBorderWidth() }],
1246
- "border-w-r": [{ "border-r": scaleBorderWidth() }],
1247
- "border-w-b": [{ "border-b": scaleBorderWidth() }],
1248
- "border-w-l": [{ "border-l": scaleBorderWidth() }],
1249
- "divide-x": [{ "divide-x": scaleBorderWidth() }],
1250
- "divide-x-reverse": ["divide-x-reverse"],
1251
- "divide-y": [{ "divide-y": scaleBorderWidth() }],
1252
- "divide-y-reverse": ["divide-y-reverse"],
1253
- "border-style": [{ border: [
1254
- ...scaleLineStyle(),
1255
- "hidden",
1256
- "none"
1257
- ] }],
1258
- "divide-style": [{ divide: [
1259
- ...scaleLineStyle(),
1260
- "hidden",
1261
- "none"
1262
- ] }],
1263
- "border-color": [{ border: scaleColor() }],
1264
- "border-color-x": [{ "border-x": scaleColor() }],
1265
- "border-color-y": [{ "border-y": scaleColor() }],
1266
- "border-color-s": [{ "border-s": scaleColor() }],
1267
- "border-color-e": [{ "border-e": scaleColor() }],
1268
- "border-color-t": [{ "border-t": scaleColor() }],
1269
- "border-color-r": [{ "border-r": scaleColor() }],
1270
- "border-color-b": [{ "border-b": scaleColor() }],
1271
- "border-color-l": [{ "border-l": scaleColor() }],
1272
- "divide-color": [{ divide: scaleColor() }],
1273
- "outline-style": [{ outline: [
1274
- ...scaleLineStyle(),
1275
- "none",
1276
- "hidden"
1277
- ] }],
1278
- "outline-offset": [{ "outline-offset": [
1279
- isNumber,
1280
- isArbitraryVariable,
1281
- isArbitraryValue
1282
- ] }],
1283
- "outline-w": [{ outline: [
1284
- "",
1285
- isNumber,
1286
- isArbitraryVariableLength,
1287
- isArbitraryLength
1288
- ] }],
1289
- "outline-color": [{ outline: scaleColor() }],
1290
- shadow: [{ shadow: [
1291
- "",
1292
- "none",
1293
- themeShadow,
1294
- isArbitraryVariableShadow,
1295
- isArbitraryShadow
1296
- ] }],
1297
- "shadow-color": [{ shadow: scaleColor() }],
1298
- "inset-shadow": [{ "inset-shadow": [
1299
- "none",
1300
- themeInsetShadow,
1301
- isArbitraryVariableShadow,
1302
- isArbitraryShadow
1303
- ] }],
1304
- "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
1305
- "ring-w": [{ ring: scaleBorderWidth() }],
1306
- "ring-w-inset": ["ring-inset"],
1307
- "ring-color": [{ ring: scaleColor() }],
1308
- "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
1309
- "ring-offset-color": [{ "ring-offset": scaleColor() }],
1310
- "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
1311
- "inset-ring-color": [{ "inset-ring": scaleColor() }],
1312
- "text-shadow": [{ "text-shadow": [
1313
- "none",
1314
- themeTextShadow,
1315
- isArbitraryVariableShadow,
1316
- isArbitraryShadow
1317
- ] }],
1318
- "text-shadow-color": [{ "text-shadow": scaleColor() }],
1319
- opacity: [{ opacity: [
1320
- isNumber,
1321
- isArbitraryVariable,
1322
- isArbitraryValue
1323
- ] }],
1324
- "mix-blend": [{ "mix-blend": [
1325
- ...scaleBlendMode(),
1326
- "plus-darker",
1327
- "plus-lighter"
1328
- ] }],
1329
- "bg-blend": [{ "bg-blend": scaleBlendMode() }],
1330
- "mask-clip": [{ "mask-clip": [
1331
- "border",
1332
- "padding",
1333
- "content",
1334
- "fill",
1335
- "stroke",
1336
- "view"
1337
- ] }, "mask-no-clip"],
1338
- "mask-composite": [{ mask: [
1339
- "add",
1340
- "subtract",
1341
- "intersect",
1342
- "exclude"
1343
- ] }],
1344
- "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
1345
- "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
1346
- "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
1347
- "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
1348
- "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
1349
- "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
1350
- "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
1351
- "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
1352
- "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
1353
- "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
1354
- "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
1355
- "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
1356
- "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
1357
- "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
1358
- "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
1359
- "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
1360
- "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
1361
- "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
1362
- "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
1363
- "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
1364
- "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
1365
- "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
1366
- "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
1367
- "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
1368
- "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
1369
- "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
1370
- "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
1371
- "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
1372
- "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
1373
- "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
1374
- "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
1375
- "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
1376
- "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
1377
- "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
1378
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1379
- "mask-image-radial-size": [{ "mask-radial": [{
1380
- closest: ["side", "corner"],
1381
- farthest: ["side", "corner"]
1382
- }] }],
1383
- "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
1384
- "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
1385
- "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
1386
- "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
1387
- "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
1388
- "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
1389
- "mask-mode": [{ mask: [
1390
- "alpha",
1391
- "luminance",
1392
- "match"
1393
- ] }],
1394
- "mask-origin": [{ "mask-origin": [
1395
- "border",
1396
- "padding",
1397
- "content",
1398
- "fill",
1399
- "stroke",
1400
- "view"
1401
- ] }],
1402
- "mask-position": [{ mask: scaleBgPosition() }],
1403
- "mask-repeat": [{ mask: scaleBgRepeat() }],
1404
- "mask-size": [{ mask: scaleBgSize() }],
1405
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1406
- "mask-image": [{ mask: [
1407
- "none",
1408
- isArbitraryVariable,
1409
- isArbitraryValue
1410
- ] }],
1411
- filter: [{ filter: [
1412
- "",
1413
- "none",
1414
- isArbitraryVariable,
1415
- isArbitraryValue
1416
- ] }],
1417
- blur: [{ blur: scaleBlur() }],
1418
- brightness: [{ brightness: [
1419
- isNumber,
1420
- isArbitraryVariable,
1421
- isArbitraryValue
1422
- ] }],
1423
- contrast: [{ contrast: [
1424
- isNumber,
1425
- isArbitraryVariable,
1426
- isArbitraryValue
1427
- ] }],
1428
- "drop-shadow": [{ "drop-shadow": [
1429
- "",
1430
- "none",
1431
- themeDropShadow,
1432
- isArbitraryVariableShadow,
1433
- isArbitraryShadow
1434
- ] }],
1435
- "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
1436
- grayscale: [{ grayscale: [
1437
- "",
1438
- isNumber,
1439
- isArbitraryVariable,
1440
- isArbitraryValue
1441
- ] }],
1442
- "hue-rotate": [{ "hue-rotate": [
1443
- isNumber,
1444
- isArbitraryVariable,
1445
- isArbitraryValue
1446
- ] }],
1447
- invert: [{ invert: [
1448
- "",
1449
- isNumber,
1450
- isArbitraryVariable,
1451
- isArbitraryValue
1452
- ] }],
1453
- saturate: [{ saturate: [
1454
- isNumber,
1455
- isArbitraryVariable,
1456
- isArbitraryValue
1457
- ] }],
1458
- sepia: [{ sepia: [
1459
- "",
1460
- isNumber,
1461
- isArbitraryVariable,
1462
- isArbitraryValue
1463
- ] }],
1464
- "backdrop-filter": [{ "backdrop-filter": [
1465
- "",
1466
- "none",
1467
- isArbitraryVariable,
1468
- isArbitraryValue
1469
- ] }],
1470
- "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
1471
- "backdrop-brightness": [{ "backdrop-brightness": [
1472
- isNumber,
1473
- isArbitraryVariable,
1474
- isArbitraryValue
1475
- ] }],
1476
- "backdrop-contrast": [{ "backdrop-contrast": [
1477
- isNumber,
1478
- isArbitraryVariable,
1479
- isArbitraryValue
1480
- ] }],
1481
- "backdrop-grayscale": [{ "backdrop-grayscale": [
1482
- "",
1483
- isNumber,
1484
- isArbitraryVariable,
1485
- isArbitraryValue
1486
- ] }],
1487
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1488
- isNumber,
1489
- isArbitraryVariable,
1490
- isArbitraryValue
1491
- ] }],
1492
- "backdrop-invert": [{ "backdrop-invert": [
1493
- "",
1494
- isNumber,
1495
- isArbitraryVariable,
1496
- isArbitraryValue
1497
- ] }],
1498
- "backdrop-opacity": [{ "backdrop-opacity": [
1499
- isNumber,
1500
- isArbitraryVariable,
1501
- isArbitraryValue
1502
- ] }],
1503
- "backdrop-saturate": [{ "backdrop-saturate": [
1504
- isNumber,
1505
- isArbitraryVariable,
1506
- isArbitraryValue
1507
- ] }],
1508
- "backdrop-sepia": [{ "backdrop-sepia": [
1509
- "",
1510
- isNumber,
1511
- isArbitraryVariable,
1512
- isArbitraryValue
1513
- ] }],
1514
- "border-collapse": [{ border: ["collapse", "separate"] }],
1515
- "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
1516
- "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
1517
- "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
1518
- "table-layout": [{ table: ["auto", "fixed"] }],
1519
- caption: [{ caption: ["top", "bottom"] }],
1520
- transition: [{ transition: [
1521
- "",
1522
- "all",
1523
- "colors",
1524
- "opacity",
1525
- "shadow",
1526
- "transform",
1527
- "none",
1528
- isArbitraryVariable,
1529
- isArbitraryValue
1530
- ] }],
1531
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
1532
- duration: [{ duration: [
1533
- isNumber,
1534
- "initial",
1535
- isArbitraryVariable,
1536
- isArbitraryValue
1537
- ] }],
1538
- ease: [{ ease: [
1539
- "linear",
1540
- "initial",
1541
- themeEase,
1542
- isArbitraryVariable,
1543
- isArbitraryValue
1544
- ] }],
1545
- delay: [{ delay: [
1546
- isNumber,
1547
- isArbitraryVariable,
1548
- isArbitraryValue
1549
- ] }],
1550
- animate: [{ animate: [
1551
- "none",
1552
- themeAnimate,
1553
- isArbitraryVariable,
1554
- isArbitraryValue
1555
- ] }],
1556
- backface: [{ backface: ["hidden", "visible"] }],
1557
- perspective: [{ perspective: [
1558
- themePerspective,
1559
- isArbitraryVariable,
1560
- isArbitraryValue
1561
- ] }],
1562
- "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
1563
- rotate: [{ rotate: scaleRotate() }],
1564
- "rotate-x": [{ "rotate-x": scaleRotate() }],
1565
- "rotate-y": [{ "rotate-y": scaleRotate() }],
1566
- "rotate-z": [{ "rotate-z": scaleRotate() }],
1567
- scale: [{ scale: scaleScale() }],
1568
- "scale-x": [{ "scale-x": scaleScale() }],
1569
- "scale-y": [{ "scale-y": scaleScale() }],
1570
- "scale-z": [{ "scale-z": scaleScale() }],
1571
- "scale-3d": ["scale-3d"],
1572
- skew: [{ skew: scaleSkew() }],
1573
- "skew-x": [{ "skew-x": scaleSkew() }],
1574
- "skew-y": [{ "skew-y": scaleSkew() }],
1575
- transform: [{ transform: [
1576
- isArbitraryVariable,
1577
- isArbitraryValue,
1578
- "",
1579
- "none",
1580
- "gpu",
1581
- "cpu"
1582
- ] }],
1583
- "transform-origin": [{ origin: scalePositionWithArbitrary() }],
1584
- "transform-style": [{ transform: ["3d", "flat"] }],
1585
- translate: [{ translate: scaleTranslate() }],
1586
- "translate-x": [{ "translate-x": scaleTranslate() }],
1587
- "translate-y": [{ "translate-y": scaleTranslate() }],
1588
- "translate-z": [{ "translate-z": scaleTranslate() }],
1589
- "translate-none": ["translate-none"],
1590
- accent: [{ accent: scaleColor() }],
1591
- appearance: [{ appearance: ["none", "auto"] }],
1592
- "caret-color": [{ caret: scaleColor() }],
1593
- "color-scheme": [{ scheme: [
1594
- "normal",
1595
- "dark",
1596
- "light",
1597
- "light-dark",
1598
- "only-dark",
1599
- "only-light"
1600
- ] }],
1601
- cursor: [{ cursor: [
1602
- "auto",
1603
- "default",
1604
- "pointer",
1605
- "wait",
1606
- "text",
1607
- "move",
1608
- "help",
1609
- "not-allowed",
1610
- "none",
1611
- "context-menu",
1612
- "progress",
1613
- "cell",
1614
- "crosshair",
1615
- "vertical-text",
1616
- "alias",
1617
- "copy",
1618
- "no-drop",
1619
- "grab",
1620
- "grabbing",
1621
- "all-scroll",
1622
- "col-resize",
1623
- "row-resize",
1624
- "n-resize",
1625
- "e-resize",
1626
- "s-resize",
1627
- "w-resize",
1628
- "ne-resize",
1629
- "nw-resize",
1630
- "se-resize",
1631
- "sw-resize",
1632
- "ew-resize",
1633
- "ns-resize",
1634
- "nesw-resize",
1635
- "nwse-resize",
1636
- "zoom-in",
1637
- "zoom-out",
1638
- isArbitraryVariable,
1639
- isArbitraryValue
1640
- ] }],
1641
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1642
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1643
- resize: [{ resize: [
1644
- "none",
1645
- "",
1646
- "y",
1647
- "x"
1648
- ] }],
1649
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1650
- "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
1651
- "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
1652
- "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
1653
- "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
1654
- "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
1655
- "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
1656
- "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
1657
- "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
1658
- "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
1659
- "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
1660
- "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
1661
- "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
1662
- "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
1663
- "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
1664
- "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
1665
- "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
1666
- "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
1667
- "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
1668
- "snap-align": [{ snap: [
1669
- "start",
1670
- "end",
1671
- "center",
1672
- "align-none"
1673
- ] }],
1674
- "snap-stop": [{ snap: ["normal", "always"] }],
1675
- "snap-type": [{ snap: [
1676
- "none",
1677
- "x",
1678
- "y",
1679
- "both"
1680
- ] }],
1681
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1682
- touch: [{ touch: [
1683
- "auto",
1684
- "none",
1685
- "manipulation"
1686
- ] }],
1687
- "touch-x": [{ "touch-pan": [
1688
- "x",
1689
- "left",
1690
- "right"
1691
- ] }],
1692
- "touch-y": [{ "touch-pan": [
1693
- "y",
1694
- "up",
1695
- "down"
1696
- ] }],
1697
- "touch-pz": ["touch-pinch-zoom"],
1698
- select: [{ select: [
1699
- "none",
1700
- "text",
1701
- "all",
1702
- "auto"
1703
- ] }],
1704
- "will-change": [{ "will-change": [
1705
- "auto",
1706
- "scroll",
1707
- "contents",
1708
- "transform",
1709
- isArbitraryVariable,
1710
- isArbitraryValue
1711
- ] }],
1712
- fill: [{ fill: ["none", ...scaleColor()] }],
1713
- "stroke-w": [{ stroke: [
1714
- isNumber,
1715
- isArbitraryVariableLength,
1716
- isArbitraryLength,
1717
- isArbitraryNumber
1718
- ] }],
1719
- stroke: [{ stroke: ["none", ...scaleColor()] }],
1720
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1721
- },
1722
- conflictingClassGroups: {
1723
- overflow: ["overflow-x", "overflow-y"],
1724
- overscroll: ["overscroll-x", "overscroll-y"],
1725
- inset: [
1726
- "inset-x",
1727
- "inset-y",
1728
- "start",
1729
- "end",
1730
- "top",
1731
- "right",
1732
- "bottom",
1733
- "left"
1734
- ],
1735
- "inset-x": ["right", "left"],
1736
- "inset-y": ["top", "bottom"],
1737
- flex: [
1738
- "basis",
1739
- "grow",
1740
- "shrink"
1741
- ],
1742
- gap: ["gap-x", "gap-y"],
1743
- p: [
1744
- "px",
1745
- "py",
1746
- "ps",
1747
- "pe",
1748
- "pt",
1749
- "pr",
1750
- "pb",
1751
- "pl"
1752
- ],
1753
- px: ["pr", "pl"],
1754
- py: ["pt", "pb"],
1755
- m: [
1756
- "mx",
1757
- "my",
1758
- "ms",
1759
- "me",
1760
- "mt",
1761
- "mr",
1762
- "mb",
1763
- "ml"
1764
- ],
1765
- mx: ["mr", "ml"],
1766
- my: ["mt", "mb"],
1767
- size: ["w", "h"],
1768
- "font-size": ["leading"],
1769
- "fvn-normal": [
1770
- "fvn-ordinal",
1771
- "fvn-slashed-zero",
1772
- "fvn-figure",
1773
- "fvn-spacing",
1774
- "fvn-fraction"
1775
- ],
1776
- "fvn-ordinal": ["fvn-normal"],
1777
- "fvn-slashed-zero": ["fvn-normal"],
1778
- "fvn-figure": ["fvn-normal"],
1779
- "fvn-spacing": ["fvn-normal"],
1780
- "fvn-fraction": ["fvn-normal"],
1781
- "line-clamp": ["display", "overflow"],
1782
- rounded: [
1783
- "rounded-s",
1784
- "rounded-e",
1785
- "rounded-t",
1786
- "rounded-r",
1787
- "rounded-b",
1788
- "rounded-l",
1789
- "rounded-ss",
1790
- "rounded-se",
1791
- "rounded-ee",
1792
- "rounded-es",
1793
- "rounded-tl",
1794
- "rounded-tr",
1795
- "rounded-br",
1796
- "rounded-bl"
1797
- ],
1798
- "rounded-s": ["rounded-ss", "rounded-es"],
1799
- "rounded-e": ["rounded-se", "rounded-ee"],
1800
- "rounded-t": ["rounded-tl", "rounded-tr"],
1801
- "rounded-r": ["rounded-tr", "rounded-br"],
1802
- "rounded-b": ["rounded-br", "rounded-bl"],
1803
- "rounded-l": ["rounded-tl", "rounded-bl"],
1804
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1805
- "border-w": [
1806
- "border-w-x",
1807
- "border-w-y",
1808
- "border-w-s",
1809
- "border-w-e",
1810
- "border-w-t",
1811
- "border-w-r",
1812
- "border-w-b",
1813
- "border-w-l"
1814
- ],
1815
- "border-w-x": ["border-w-r", "border-w-l"],
1816
- "border-w-y": ["border-w-t", "border-w-b"],
1817
- "border-color": [
1818
- "border-color-x",
1819
- "border-color-y",
1820
- "border-color-s",
1821
- "border-color-e",
1822
- "border-color-t",
1823
- "border-color-r",
1824
- "border-color-b",
1825
- "border-color-l"
1826
- ],
1827
- "border-color-x": ["border-color-r", "border-color-l"],
1828
- "border-color-y": ["border-color-t", "border-color-b"],
1829
- translate: [
1830
- "translate-x",
1831
- "translate-y",
1832
- "translate-none"
1833
- ],
1834
- "translate-none": [
1835
- "translate",
1836
- "translate-x",
1837
- "translate-y",
1838
- "translate-z"
1839
- ],
1840
- "scroll-m": [
1841
- "scroll-mx",
1842
- "scroll-my",
1843
- "scroll-ms",
1844
- "scroll-me",
1845
- "scroll-mt",
1846
- "scroll-mr",
1847
- "scroll-mb",
1848
- "scroll-ml"
1849
- ],
1850
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1851
- "scroll-my": ["scroll-mt", "scroll-mb"],
1852
- "scroll-p": [
1853
- "scroll-px",
1854
- "scroll-py",
1855
- "scroll-ps",
1856
- "scroll-pe",
1857
- "scroll-pt",
1858
- "scroll-pr",
1859
- "scroll-pb",
1860
- "scroll-pl"
1861
- ],
1862
- "scroll-px": ["scroll-pr", "scroll-pl"],
1863
- "scroll-py": ["scroll-pt", "scroll-pb"],
1864
- touch: [
1865
- "touch-x",
1866
- "touch-y",
1867
- "touch-pz"
1868
- ],
1869
- "touch-x": ["touch"],
1870
- "touch-y": ["touch"],
1871
- "touch-pz": ["touch"]
1872
- },
1873
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
1874
- orderSensitiveModifiers: [
1875
- "*",
1876
- "**",
1877
- "after",
1878
- "backdrop",
1879
- "before",
1880
- "details-content",
1881
- "file",
1882
- "first-letter",
1883
- "first-line",
1884
- "marker",
1885
- "placeholder",
1886
- "selection"
1887
- ]
1888
- };
1889
- };
1890
- const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
1891
-
1892
- //#endregion
1893
- export { twMerge };