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