@blimu/react 1.1.0 → 1.1.4
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.
- package/README.md +1 -1
- package/dist/_virtual/index.cjs +5 -1
- package/dist/_virtual/index.cjs.map +1 -1
- package/dist/_virtual/index.js +3 -3
- package/dist/_virtual/index2.cjs +4 -1
- package/dist/_virtual/index2.cjs.map +1 -1
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/use-sync-external-store-shim.development.cjs +4 -1
- package/dist/_virtual/use-sync-external-store-shim.development.cjs.map +1 -1
- package/dist/_virtual/use-sync-external-store-shim.development.js +2 -2
- package/dist/_virtual/use-sync-external-store-shim.production.cjs +4 -1
- package/dist/_virtual/use-sync-external-store-shim.production.cjs.map +1 -1
- package/dist/_virtual/use-sync-external-store-shim.production.js +2 -2
- package/dist/client/auth.service.cjs +248 -1
- package/dist/client/auth.service.cjs.map +1 -1
- package/dist/client/auth.service.d.ts.map +1 -1
- package/dist/client/auth.service.js +193 -96
- package/dist/client/auth.service.js.map +1 -1
- package/dist/client/external-store.cjs +26 -1
- package/dist/client/external-store.cjs.map +1 -1
- package/dist/client/external-store.js +22 -8
- package/dist/client/external-store.js.map +1 -1
- package/dist/client/runtime-client.cjs +136 -1
- package/dist/client/runtime-client.cjs.map +1 -1
- package/dist/client/runtime-client.d.ts +1 -1
- package/dist/client/runtime-client.d.ts.map +1 -1
- package/dist/client/runtime-client.js +85 -51
- package/dist/client/runtime-client.js.map +1 -1
- package/dist/components/index.cjs +13 -0
- package/dist/components/index.cjs.map +1 -0
- package/dist/components/index.d.ts +6 -6
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +13 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/members-list.cjs +132 -1
- package/dist/components/members-list.cjs.map +1 -1
- package/dist/components/members-list.d.ts.map +1 -1
- package/dist/components/members-list.js +69 -64
- package/dist/components/members-list.js.map +1 -1
- package/dist/components/redirect-to-sign-in.cjs +34 -1
- package/dist/components/redirect-to-sign-in.cjs.map +1 -1
- package/dist/components/redirect-to-sign-in.js +28 -20
- package/dist/components/redirect-to-sign-in.js.map +1 -1
- package/dist/components/sign-in-button.cjs +36 -1
- package/dist/components/sign-in-button.cjs.map +1 -1
- package/dist/components/sign-in-button.d.ts.map +1 -1
- package/dist/components/sign-in-button.js +25 -21
- package/dist/components/sign-in-button.js.map +1 -1
- package/dist/components/ui/avatar.cjs +42 -1
- package/dist/components/ui/avatar.cjs.map +1 -1
- package/dist/components/ui/avatar.d.ts +2 -2
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/avatar.js +23 -23
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.d.ts +2 -2
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.cjs +148 -1
- package/dist/components/ui/dropdown-menu.cjs.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +2 -2
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +83 -81
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/popover.d.ts +2 -2
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +1 -1
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/user-avatar.cjs +22 -1
- package/dist/components/user-avatar.cjs.map +1 -1
- package/dist/components/user-avatar.d.ts +5 -5
- package/dist/components/user-avatar.d.ts.map +1 -1
- package/dist/components/user-avatar.js +16 -16
- package/dist/components/user-avatar.js.map +1 -1
- package/dist/components/user-button/styles.cjs +39 -1
- package/dist/components/user-button/styles.cjs.map +1 -1
- package/dist/components/user-button/styles.js +6 -5
- package/dist/components/user-button/styles.js.map +1 -1
- package/dist/components/user-button/user-button.cjs +98 -1
- package/dist/components/user-button/user-button.cjs.map +1 -1
- package/dist/components/user-button/user-button.d.ts +1 -1
- package/dist/components/user-button/user-button.d.ts.map +1 -1
- package/dist/components/user-button/user-button.js +64 -58
- package/dist/components/user-button/user-button.js.map +1 -1
- package/dist/hooks/index.cjs +14 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +14 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-auth.cjs +44 -1
- package/dist/hooks/use-auth.cjs.map +1 -1
- package/dist/hooks/use-auth.d.ts +13 -15
- package/dist/hooks/use-auth.d.ts.map +1 -1
- package/dist/hooks/use-auth.js +30 -26
- package/dist/hooks/use-auth.js.map +1 -1
- package/dist/hooks/use-client.cjs +9 -1
- package/dist/hooks/use-client.cjs.map +1 -1
- package/dist/hooks/use-client.d.ts +1 -1
- package/dist/hooks/use-client.d.ts.map +1 -1
- package/dist/hooks/use-client.js +6 -5
- package/dist/hooks/use-client.js.map +1 -1
- package/dist/hooks/use-members.cjs +60 -1
- package/dist/hooks/use-members.cjs.map +1 -1
- package/dist/hooks/use-members.d.ts +5 -5
- package/dist/hooks/use-members.d.ts.map +1 -1
- package/dist/hooks/use-members.js +53 -41
- package/dist/hooks/use-members.js.map +1 -1
- package/dist/hooks/use-store.cjs +17 -1
- package/dist/hooks/use-store.cjs.map +1 -1
- package/dist/hooks/use-store.js +7 -7
- package/dist/hooks/use-store.js.map +1 -1
- package/dist/index.cjs +37 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -35
- package/dist/lib/utils.cjs +8 -1
- package/dist/lib/utils.cjs.map +1 -1
- package/dist/lib/utils.js +5 -5
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/variants.cjs +46 -1
- package/dist/lib/variants.cjs.map +1 -1
- package/dist/lib/variants.d.ts +1 -1
- package/dist/lib/variants.js +6 -5
- package/dist/lib/variants.js.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +721 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +571 -377
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +625 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +539 -316
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +313 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +261 -172
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +154 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +173 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +144 -107
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +111 -87
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +11 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +7 -5
- package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +42 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +17 -16
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.cjs +140 -1
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +105 -57
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.cjs +80 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js +49 -41
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.cjs +56 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js +17 -10
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.cjs +119 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.js +86 -42
- package/dist/node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.cjs +70 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +57 -37
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +56 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -19
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +79 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +48 -39
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.cjs +27 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +229 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +182 -97
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs +296 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +232 -167
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +46 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +23 -11
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +224 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +169 -98
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +31 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +11 -10
- package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.cjs +845 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +662 -442
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +308 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +209 -137
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +34 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +14 -12
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +145 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +103 -45
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +61 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +21 -14
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +244 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -135
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +105 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +74 -35
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +28 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +8 -7
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +86 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +57 -40
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +34 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +13 -10
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +15 -1
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +23 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +56 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +34 -22
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.cjs +122 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.cjs.map +1 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +111 -41
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -1
- package/dist/node_modules/class-variance-authority/dist/index.cjs +45 -1
- package/dist/node_modules/class-variance-authority/dist/index.cjs.map +1 -1
- package/dist/node_modules/class-variance-authority/dist/index.js +40 -30
- package/dist/node_modules/class-variance-authority/dist/index.js.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.cjs +17 -1
- package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
- package/dist/node_modules/clsx/dist/clsx.js +13 -13
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.cjs +9 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.cjs.map +1 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.js +5 -3
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -1
- package/dist/node_modules/js-cookie/dist/js.cookie.cjs +99 -1
- package/dist/node_modules/js-cookie/dist/js.cookie.cjs.map +1 -1
- package/dist/node_modules/js-cookie/dist/js.cookie.js +69 -43
- package/dist/node_modules/js-cookie/dist/js.cookie.js.map +1 -1
- package/dist/node_modules/jwt-decode/build/esm/index.cjs +58 -1
- package/dist/node_modules/jwt-decode/build/esm/index.cjs.map +1 -1
- package/dist/node_modules/jwt-decode/build/esm/index.js +36 -30
- package/dist/node_modules/jwt-decode/build/esm/index.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/Icon.cjs +35 -1
- package/dist/node_modules/lucide-react/dist/esm/Icon.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +25 -25
- package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs +22 -1
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +16 -15
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs +14 -1
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -2
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs +7 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +5 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.cjs +7 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +5 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.cjs +7 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js +5 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/log-out.cjs +11 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/log-out.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/log-out.js +6 -5
- package/dist/node_modules/lucide-react/dist/esm/icons/log-out.js.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs +26 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs.map +1 -1
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +22 -14
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +28 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +8 -8
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +197 -4
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +163 -98
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.cjs +55 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -24
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +19 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +12 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +102 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +85 -51
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.cjs +5 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +7 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +62 -36
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +41 -65
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +10 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -5
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +37 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs.map +1 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +28 -16
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.cjs +13 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.cjs.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +9 -7
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.cjs +33 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.cjs.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +11 -10
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.cjs +48 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.cjs.map +1 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +35 -17
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +3014 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +804 -555
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/tailwindcss/dist/plugin.cjs +13 -1
- package/dist/node_modules/tailwindcss/dist/plugin.cjs.map +1 -1
- package/dist/node_modules/tailwindcss/dist/plugin.js +8 -8
- package/dist/node_modules/tailwindcss/dist/plugin.js.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.cjs +38 -1
- package/dist/node_modules/tslib/tslib.es6.cjs.map +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +33 -21
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +11 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.cjs.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +8 -3
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +52 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +28 -19
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.cjs +29 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.cjs.map +1 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +15 -11
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.cjs +38 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.cjs.map +1 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +15 -12
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.cjs +88 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.cjs.map +1 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +64 -43
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +68 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +49 -39
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +53 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +39 -32
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.cjs +17 -1
- package/dist/node_modules/use-sync-external-store/shim/index.cjs.map +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.js +14 -7
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -1
- package/dist/providers/auth/auth.context.cjs +5 -1
- package/dist/providers/auth/auth.context.cjs.map +1 -1
- package/dist/providers/auth/auth.context.js +3 -3
- package/dist/providers/auth/auth.context.js.map +1 -1
- package/dist/providers/auth/auth.hook.cjs +12 -1
- package/dist/providers/auth/auth.hook.cjs.map +1 -1
- package/dist/providers/auth/auth.hook.js +8 -7
- package/dist/providers/auth/auth.hook.js.map +1 -1
- package/dist/providers/auth/auth.provider.cjs +37 -1
- package/dist/providers/auth/auth.provider.cjs.map +1 -1
- package/dist/providers/auth/auth.provider.js +31 -22
- package/dist/providers/auth/auth.provider.js.map +1 -1
- package/dist/providers/blimu/blimu.context.cjs +5 -1
- package/dist/providers/blimu/blimu.context.cjs.map +1 -1
- package/dist/providers/blimu/blimu.context.d.ts +4 -4
- package/dist/providers/blimu/blimu.context.d.ts.map +1 -1
- package/dist/providers/blimu/blimu.context.js +3 -3
- package/dist/providers/blimu/blimu.context.js.map +1 -1
- package/dist/providers/blimu/blimu.hook.cjs +12 -1
- package/dist/providers/blimu/blimu.hook.cjs.map +1 -1
- package/dist/providers/blimu/blimu.hook.js +8 -7
- package/dist/providers/blimu/blimu.hook.js.map +1 -1
- package/dist/providers/blimu/blimu.provider.cjs +71 -1
- package/dist/providers/blimu/blimu.provider.cjs.map +1 -1
- package/dist/providers/blimu/blimu.provider.d.ts +1 -1
- package/dist/providers/blimu/blimu.provider.d.ts.map +1 -1
- package/dist/providers/blimu/blimu.provider.js +32 -27
- package/dist/providers/blimu/blimu.provider.js.map +1 -1
- package/dist/providers/index.cjs +13 -0
- package/dist/providers/index.cjs.map +1 -0
- package/dist/providers/index.d.ts +3 -3
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +13 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/theme/index.d.ts +2 -2
- package/dist/providers/theme/index.d.ts.map +1 -1
- package/dist/providers/theme/theme.context.cjs +5 -1
- package/dist/providers/theme/theme.context.cjs.map +1 -1
- package/dist/providers/theme/theme.context.js +3 -3
- package/dist/providers/theme/theme.context.js.map +1 -1
- package/dist/providers/theme/theme.hook.cjs +12 -1
- package/dist/providers/theme/theme.hook.cjs.map +1 -1
- package/dist/providers/theme/theme.hook.js +8 -7
- package/dist/providers/theme/theme.hook.js.map +1 -1
- package/dist/providers/theme/theme.provider.cjs +104 -1
- package/dist/providers/theme/theme.provider.cjs.map +1 -1
- package/dist/providers/theme/theme.provider.d.ts.map +1 -1
- package/dist/providers/theme/theme.provider.js +85 -48
- package/dist/providers/theme/theme.provider.js.map +1 -1
- package/dist/styles/styles.css +34 -40
- package/dist/styles/tw-styles.css +34 -40
- package/dist/tailwind.cjs +200 -0
- package/dist/tailwind.cjs.map +1 -0
- package/dist/{tailwind.plugin.js → tailwind.js} +43 -43
- package/dist/tailwind.js.map +1 -0
- package/dist/types/index.cjs +11 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.ts +22 -8
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +8 -8
- package/dist/types/index.js.map +1 -1
- package/dist/utils/publishable-key.cjs +62 -1
- package/dist/utils/publishable-key.cjs.map +1 -1
- package/dist/utils/publishable-key.js +52 -27
- package/dist/utils/publishable-key.js.map +1 -1
- package/package.json +68 -53
- package/dist/components.cjs +0 -2
- package/dist/components.cjs.map +0 -1
- package/dist/components.js +0 -13
- package/dist/components.js.map +0 -1
- package/dist/hooks.cjs +0 -2
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.js +0 -14
- package/dist/hooks.js.map +0 -1
- package/dist/providers.cjs +0 -2
- package/dist/providers.cjs.map +0 -1
- package/dist/providers.js +0 -13
- package/dist/providers.js.map +0 -1
- package/dist/tailwind.plugin.cjs +0 -2
- package/dist/tailwind.plugin.cjs.map +0 -1
- package/dist/tailwind.plugin.js.map +0 -1
|
@@ -1,2 +1,3015 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Oe=(e,t)=>{const o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},je=(e,t)=>({classGroupId:e,validator:t}),we=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),K="-",ue=[],Le="arbitrary..",Ee=e=>{const t=Ve(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Ne(a);const u=a.split(K),c=u[0]===""&&u.length>1?1:0;return ke(u,c,t)},getConflictingClassGroupIds:(a,u)=>{if(u){const c=r[a],f=o[a];return c?f?Oe(f,c):c:f||ue}return o[a]||ue}}},ke=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const i=e[t],d=o.nextPart.get(i);if(d){const f=ke(e,t+1,d);if(f)return f}const a=o.validators;if(a===null)return;const u=t===0?e.join(K):e.slice(t).join(K),c=a.length;for(let f=0;f<c;f++){const h=a[f];if(h.validator(u))return h.classGroupId}},Ne=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?Le+r:void 0})(),Ve=e=>{const{theme:t,classGroups:o}=e;return Fe(o,t)},Fe=(e,t)=>{const o=we();for(const r in e){const i=e[r];se(i,o,r,t)}return o},se=(e,t,o,r)=>{const i=e.length;for(let d=0;d<i;d++){const a=e[d];_e(a,t,o,r)}},_e=(e,t,o,r)=>{if(typeof e=="string"){We(e,t,o);return}if(typeof e=="function"){Be(e,t,o,r);return}$e(e,t,o,r)},We=(e,t,o)=>{const r=e===""?t:xe(t,e);r.classGroupId=o},Be=(e,t,o,r)=>{if(De(e)){se(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(je(o,e))},$e=(e,t,o,r)=>{const i=Object.entries(e),d=i.length;for(let a=0;a<d;a++){const[u,c]=i[a];se(c,xe(t,u),o,r)}},xe=(e,t)=>{let o=e;const r=t.split(K),i=r.length;for(let d=0;d<i;d++){const a=r[d];let u=o.nextPart.get(a);u||(u=we(),o.nextPart.set(a,u)),o=u}return o},De=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Ue=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null);const i=(d,a)=>{o[d]=a,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(d){let a=o[d];if(a!==void 0)return a;if((a=r[d])!==void 0)return i(d,a),a},set(d,a){d in o?o[d]=a:i(d,a)}}},te="!",fe=":",Ye=[],be=(e,t,o,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:i}),qe=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=i=>{const d=[];let a=0,u=0,c=0,f;const h=i.length;for(let v=0;v<h;v++){const k=i[v];if(a===0&&u===0){if(k===fe){d.push(i.slice(c,v)),c=v+1;continue}if(k==="/"){f=v;continue}}k==="["?a++:k==="]"?a--:k==="("?u++:k===")"&&u--}const y=d.length===0?i:i.slice(c);let z=y,M=!1;y.endsWith(te)?(z=y.slice(0,-1),M=!0):y.startsWith(te)&&(z=y.slice(1),M=!0);const I=f&&f>c?f-c:void 0;return be(d,M,z,I)};if(t){const i=t+fe,d=r;r=a=>a.startsWith(i)?d(a.slice(i.length)):be(Ye,!1,a,void 0,!0)}if(o){const i=r;r=d=>o({className:d,parseClassName:i})}return r},Je=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{const r=[];let i=[];for(let d=0;d<o.length;d++){const a=o[d],u=a[0]==="[",c=t.has(a);u||c?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(a)):i.push(a)}return i.length>0&&(i.sort(),r.push(...i)),r}},Xe=e=>({cache:Ue(e.cacheSize),parseClassName:qe(e),sortModifiers:Je(e),...Ee(e)}),He=/\s+/,Ke=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:d}=t,a=[],u=e.trim().split(He);let c="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{isExternal:y,modifiers:z,hasImportantModifier:M,baseClassName:I,maybePostfixModifierPosition:v}=o(h);if(y){c=h+(c.length>0?" "+c:c);continue}let k=!!v,P=r(k?I.substring(0,v):I);if(!P){if(!k){c=h+(c.length>0?" "+c:c);continue}if(P=r(I),!P){c=h+(c.length>0?" "+c:c);continue}k=!1}const $=z.length===0?"":z.length===1?z[0]:d(z).join(":"),_=M?$+te:$,j=_+P;if(a.indexOf(j)>-1)continue;a.push(j);const L=i(P,k);for(let T=0;T<L.length;++T){const W=L[T];a.push(_+W)}c=h+(c.length>0?" "+c:c)}return c},ye=(...e)=>{let t=0,o,r,i="";for(;t<e.length;)(o=e[t++])&&(r=ve(o))&&(i&&(i+=" "),i+=r);return i},ve=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ve(e[r]))&&(o&&(o+=" "),o+=t);return o},ze=(e,...t)=>{let o,r,i,d;const a=c=>{const f=t.reduce((h,y)=>y(h),e());return o=Xe(f),r=o.cache.get,i=o.cache.set,d=u,u(c)},u=c=>{const f=r(c);if(f)return f;const h=Ke(c,o);return i(c,h),h};return d=a,(...c)=>d(ye(...c))},Qe=[],b=e=>{const t=o=>o[e]||Qe;return t.isThemeGetter=!0,t},Ce=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Se=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ze=/^\d+\/\d+$/,eo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,oo=/\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$/,ro=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,to=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,so=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>Ze.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),oe=e=>e.endsWith("%")&&p(e.slice(0,-1)),A=e=>eo.test(e),no=()=>!0,ao=e=>oo.test(e)&&!ro.test(e),Ae=()=>!1,io=e=>to.test(e),lo=e=>so.test(e),co=e=>!s(e)&&!n(e),mo=e=>V(e,Ie,Ae),s=e=>Ce.test(e),O=e=>V(e,Pe,ao),re=e=>V(e,go,p),ge=e=>V(e,Re,Ae),po=e=>V(e,Me,lo),X=e=>V(e,Te,io),n=e=>Se.test(e),B=e=>F(e,Pe),uo=e=>F(e,ho),he=e=>F(e,Re),fo=e=>F(e,Ie),bo=e=>F(e,Me),H=e=>F(e,Te,!0),V=(e,t,o)=>{const r=Ce.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},F=(e,t,o=!1)=>{const r=Se.exec(e);return r?r[1]?t(r[1]):o:!1},Re=e=>e==="position"||e==="percentage",Me=e=>e==="image"||e==="url",Ie=e=>e==="length"||e==="size"||e==="bg-size",Pe=e=>e==="length",go=e=>e==="number",ho=e=>e==="family-name",Te=e=>e==="shadow",Ge=()=>{const e=b("color"),t=b("font"),o=b("text"),r=b("font-weight"),i=b("tracking"),d=b("leading"),a=b("breakpoint"),u=b("container"),c=b("spacing"),f=b("radius"),h=b("shadow"),y=b("inset-shadow"),z=b("text-shadow"),M=b("drop-shadow"),I=b("blur"),v=b("perspective"),k=b("aspect"),P=b("ease"),$=b("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...j(),n,s],T=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[n,s,c],C=()=>[N,"full","auto",...m()],ne=()=>[R,"none","subgrid",n,s],ae=()=>["auto",{span:["full",R,n,s]},R,n,s],D=()=>[R,"auto",n,s],ie=()=>["auto","min","max","fr",n,s],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],S=()=>["auto",...m()],G=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],l=()=>[e,n,s],le=()=>[...j(),he,ge,{position:[n,s]}],ce=()=>["no-repeat",{repeat:["","x","y","space","round"]}],de=()=>["auto","cover","contain",fo,mo,{size:[n,s]}],Z=()=>[oe,B,O],w=()=>["","none","full",f,n,s],x=()=>["",p,B,O],U=()=>["solid","dashed","dotted","double"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],g=()=>[p,oe,he,ge],pe=()=>["","none",I,n,s],Y=()=>["none",p,n,s],q=()=>["none",p,n,s],ee=()=>[p,n,s],J=()=>[N,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[no],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[co],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",p],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,s,n,k]}],container:["container"],columns:[{columns:[p,s,n,u]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",n,s]}],basis:[{basis:[N,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,N,"auto","initial","none",s]}],grow:[{grow:["",p,n,s]}],shrink:[{shrink:["",p,n,s]}],order:[{order:[R,"first","last","none",n,s]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:S()}],mx:[{mx:S()}],my:[{my:S()}],ms:[{ms:S()}],me:[{me:S()}],mt:[{mt:S()}],mr:[{mr:S()}],mb:[{mb:S()}],ml:[{ml:S()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[u,"screen",...G()]}],"min-w":[{"min-w":[u,"screen","none",...G()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[a]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",o,B,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,n,re]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",oe,s]}],"font-family":[{font:[uo,s,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,n,s]}],"line-clamp":[{"line-clamp":[p,"none",n,re]}],leading:[{leading:[d,...m()]}],"list-image":[{"list-image":["none",n,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:l()}],"text-color":[{text:l()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",n,O]}],"text-decoration-color":[{decoration:l()}],"underline-offset":[{"underline-offset":[p,"auto",n,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",n,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:de()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,n,s],radial:["",n,s],conic:[R,n,s]},bo,po]}],"bg-color":[{bg:l()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:l()}],"gradient-via":[{via:l()}],"gradient-to":[{to:l()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...U(),"hidden","none"]}],"divide-style":[{divide:[...U(),"hidden","none"]}],"border-color":[{border:l()}],"border-color-x":[{"border-x":l()}],"border-color-y":[{"border-y":l()}],"border-color-s":[{"border-s":l()}],"border-color-e":[{"border-e":l()}],"border-color-t":[{"border-t":l()}],"border-color-r":[{"border-r":l()}],"border-color-b":[{"border-b":l()}],"border-color-l":[{"border-l":l()}],"divide-color":[{divide:l()}],"outline-style":[{outline:[...U(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,n,s]}],"outline-w":[{outline:["",p,B,O]}],"outline-color":[{outline:l()}],shadow:[{shadow:["","none",h,H,X]}],"shadow-color":[{shadow:l()}],"inset-shadow":[{"inset-shadow":["none",y,H,X]}],"inset-shadow-color":[{"inset-shadow":l()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:l()}],"ring-offset-w":[{"ring-offset":[p,O]}],"ring-offset-color":[{"ring-offset":l()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":l()}],"text-shadow":[{"text-shadow":["none",z,H,X]}],"text-shadow-color":[{"text-shadow":l()}],opacity:[{opacity:[p,n,s]}],"mix-blend":[{"mix-blend":[...me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":g()}],"mask-image-linear-to-pos":[{"mask-linear-to":g()}],"mask-image-linear-from-color":[{"mask-linear-from":l()}],"mask-image-linear-to-color":[{"mask-linear-to":l()}],"mask-image-t-from-pos":[{"mask-t-from":g()}],"mask-image-t-to-pos":[{"mask-t-to":g()}],"mask-image-t-from-color":[{"mask-t-from":l()}],"mask-image-t-to-color":[{"mask-t-to":l()}],"mask-image-r-from-pos":[{"mask-r-from":g()}],"mask-image-r-to-pos":[{"mask-r-to":g()}],"mask-image-r-from-color":[{"mask-r-from":l()}],"mask-image-r-to-color":[{"mask-r-to":l()}],"mask-image-b-from-pos":[{"mask-b-from":g()}],"mask-image-b-to-pos":[{"mask-b-to":g()}],"mask-image-b-from-color":[{"mask-b-from":l()}],"mask-image-b-to-color":[{"mask-b-to":l()}],"mask-image-l-from-pos":[{"mask-l-from":g()}],"mask-image-l-to-pos":[{"mask-l-to":g()}],"mask-image-l-from-color":[{"mask-l-from":l()}],"mask-image-l-to-color":[{"mask-l-to":l()}],"mask-image-x-from-pos":[{"mask-x-from":g()}],"mask-image-x-to-pos":[{"mask-x-to":g()}],"mask-image-x-from-color":[{"mask-x-from":l()}],"mask-image-x-to-color":[{"mask-x-to":l()}],"mask-image-y-from-pos":[{"mask-y-from":g()}],"mask-image-y-to-pos":[{"mask-y-to":g()}],"mask-image-y-from-color":[{"mask-y-from":l()}],"mask-image-y-to-color":[{"mask-y-to":l()}],"mask-image-radial":[{"mask-radial":[n,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":g()}],"mask-image-radial-to-pos":[{"mask-radial-to":g()}],"mask-image-radial-from-color":[{"mask-radial-from":l()}],"mask-image-radial-to-color":[{"mask-radial-to":l()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":j()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":g()}],"mask-image-conic-to-pos":[{"mask-conic-to":g()}],"mask-image-conic-from-color":[{"mask-conic-from":l()}],"mask-image-conic-to-color":[{"mask-conic-to":l()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:de()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,s]}],filter:[{filter:["","none",n,s]}],blur:[{blur:pe()}],brightness:[{brightness:[p,n,s]}],contrast:[{contrast:[p,n,s]}],"drop-shadow":[{"drop-shadow":["","none",M,H,X]}],"drop-shadow-color":[{"drop-shadow":l()}],grayscale:[{grayscale:["",p,n,s]}],"hue-rotate":[{"hue-rotate":[p,n,s]}],invert:[{invert:["",p,n,s]}],saturate:[{saturate:[p,n,s]}],sepia:[{sepia:["",p,n,s]}],"backdrop-filter":[{"backdrop-filter":["","none",n,s]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[p,n,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,n,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,n,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,n,s]}],"backdrop-invert":[{"backdrop-invert":["",p,n,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,n,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,n,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,n,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",n,s]}],ease:[{ease:["linear","initial",P,n,s]}],delay:[{delay:[p,n,s]}],animate:[{animate:["none",$,n,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,n,s]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[n,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:l()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:l()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",n,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",n,s]}],fill:[{fill:["none",...l()]}],"stroke-w":[{stroke:[p,B,O,re]}],stroke:[{stroke:["none",...l()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},wo=ze(Ge);exports.createTailwindMerge=ze;exports.fromTheme=b;exports.getDefaultConfig=Ge;exports.twJoin=ye;exports.twMerge=wo;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const concatArrays = (array1, array2) => {
|
|
4
|
+
const combinedArray = new Array(array1.length + array2.length);
|
|
5
|
+
for (let i = 0; i < array1.length; i++) {
|
|
6
|
+
combinedArray[i] = array1[i];
|
|
7
|
+
}
|
|
8
|
+
for (let i = 0; i < array2.length; i++) {
|
|
9
|
+
combinedArray[array1.length + i] = array2[i];
|
|
10
|
+
}
|
|
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 {
|
|
28
|
+
conflictingClassGroups,
|
|
29
|
+
conflictingClassGroupModifiers
|
|
30
|
+
} = config;
|
|
31
|
+
const getClassGroupId = (className) => {
|
|
32
|
+
if (className.startsWith("[") && className.endsWith("]")) {
|
|
33
|
+
return getGroupIdForArbitraryProperty(className);
|
|
34
|
+
}
|
|
35
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
36
|
+
const startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
|
|
37
|
+
return getGroupRecursive(classParts, startIndex, classMap);
|
|
38
|
+
};
|
|
39
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
40
|
+
if (hasPostfixModifier) {
|
|
41
|
+
const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
|
|
42
|
+
const baseConflicts = conflictingClassGroups[classGroupId];
|
|
43
|
+
if (modifierConflicts) {
|
|
44
|
+
if (baseConflicts) {
|
|
45
|
+
return concatArrays(baseConflicts, modifierConflicts);
|
|
46
|
+
}
|
|
47
|
+
return modifierConflicts;
|
|
48
|
+
}
|
|
49
|
+
return baseConflicts || EMPTY_CONFLICTS;
|
|
50
|
+
}
|
|
51
|
+
return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
|
|
52
|
+
};
|
|
53
|
+
return {
|
|
54
|
+
getClassGroupId,
|
|
55
|
+
getConflictingClassGroupIds
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const getGroupRecursive = (classParts, startIndex, classPartObject) => {
|
|
59
|
+
const classPathsLength = classParts.length - startIndex;
|
|
60
|
+
if (classPathsLength === 0) {
|
|
61
|
+
return classPartObject.classGroupId;
|
|
62
|
+
}
|
|
63
|
+
const currentClassPart = classParts[startIndex];
|
|
64
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
65
|
+
if (nextClassPartObject) {
|
|
66
|
+
const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
|
|
67
|
+
if (result) return result;
|
|
68
|
+
}
|
|
69
|
+
const validators = classPartObject.validators;
|
|
70
|
+
if (validators === null) {
|
|
71
|
+
return void 0;
|
|
72
|
+
}
|
|
73
|
+
const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
|
|
74
|
+
const validatorsLength = validators.length;
|
|
75
|
+
for (let i = 0; i < validatorsLength; i++) {
|
|
76
|
+
const validatorObj = validators[i];
|
|
77
|
+
if (validatorObj.validator(classRest)) {
|
|
78
|
+
return validatorObj.classGroupId;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return void 0;
|
|
82
|
+
};
|
|
83
|
+
const getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
84
|
+
const content = className.slice(1, -1);
|
|
85
|
+
const colonIndex = content.indexOf(":");
|
|
86
|
+
const property = content.slice(0, colonIndex);
|
|
87
|
+
return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
|
|
88
|
+
})();
|
|
89
|
+
const createClassMap = (config) => {
|
|
90
|
+
const {
|
|
91
|
+
theme,
|
|
92
|
+
classGroups
|
|
93
|
+
} = config;
|
|
94
|
+
return processClassGroups(classGroups, theme);
|
|
95
|
+
};
|
|
96
|
+
const processClassGroups = (classGroups, theme) => {
|
|
97
|
+
const classMap = createClassPartObject();
|
|
98
|
+
for (const classGroupId in classGroups) {
|
|
99
|
+
const group = classGroups[classGroupId];
|
|
100
|
+
processClassesRecursively(group, classMap, classGroupId, theme);
|
|
101
|
+
}
|
|
102
|
+
return classMap;
|
|
103
|
+
};
|
|
104
|
+
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
105
|
+
const len = classGroup.length;
|
|
106
|
+
for (let i = 0; i < len; i++) {
|
|
107
|
+
const classDefinition = classGroup[i];
|
|
108
|
+
processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
112
|
+
if (typeof classDefinition === "string") {
|
|
113
|
+
processStringDefinition(classDefinition, classPartObject, classGroupId);
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (typeof classDefinition === "function") {
|
|
117
|
+
processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
121
|
+
};
|
|
122
|
+
const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
|
|
123
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
124
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
125
|
+
};
|
|
126
|
+
const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
127
|
+
if (isThemeGetter(classDefinition)) {
|
|
128
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
if (classPartObject.validators === null) {
|
|
132
|
+
classPartObject.validators = [];
|
|
133
|
+
}
|
|
134
|
+
classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
|
|
135
|
+
};
|
|
136
|
+
const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
137
|
+
const entries = Object.entries(classDefinition);
|
|
138
|
+
const len = entries.length;
|
|
139
|
+
for (let i = 0; i < len; i++) {
|
|
140
|
+
const [key, value] = entries[i];
|
|
141
|
+
processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
const getPart = (classPartObject, path) => {
|
|
145
|
+
let current = classPartObject;
|
|
146
|
+
const parts = path.split(CLASS_PART_SEPARATOR);
|
|
147
|
+
const len = parts.length;
|
|
148
|
+
for (let i = 0; i < len; i++) {
|
|
149
|
+
const part = parts[i];
|
|
150
|
+
let next = current.nextPart.get(part);
|
|
151
|
+
if (!next) {
|
|
152
|
+
next = createClassPartObject();
|
|
153
|
+
current.nextPart.set(part, next);
|
|
154
|
+
}
|
|
155
|
+
current = next;
|
|
156
|
+
}
|
|
157
|
+
return current;
|
|
158
|
+
};
|
|
159
|
+
const isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
|
|
160
|
+
const createLruCache = (maxCacheSize) => {
|
|
161
|
+
if (maxCacheSize < 1) {
|
|
162
|
+
return {
|
|
163
|
+
get: () => void 0,
|
|
164
|
+
set: () => {
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
let cacheSize = 0;
|
|
169
|
+
let cache = /* @__PURE__ */ Object.create(null);
|
|
170
|
+
let previousCache = /* @__PURE__ */ Object.create(null);
|
|
171
|
+
const update = (key, value) => {
|
|
172
|
+
cache[key] = value;
|
|
173
|
+
cacheSize++;
|
|
174
|
+
if (cacheSize > maxCacheSize) {
|
|
175
|
+
cacheSize = 0;
|
|
176
|
+
previousCache = cache;
|
|
177
|
+
cache = /* @__PURE__ */ Object.create(null);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
return {
|
|
181
|
+
get(key) {
|
|
182
|
+
let value = cache[key];
|
|
183
|
+
if (value !== void 0) {
|
|
184
|
+
return value;
|
|
185
|
+
}
|
|
186
|
+
if ((value = previousCache[key]) !== void 0) {
|
|
187
|
+
update(key, value);
|
|
188
|
+
return value;
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
set(key, value) {
|
|
192
|
+
if (key in cache) {
|
|
193
|
+
cache[key] = value;
|
|
194
|
+
} else {
|
|
195
|
+
update(key, value);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
const IMPORTANT_MODIFIER = "!";
|
|
201
|
+
const MODIFIER_SEPARATOR = ":";
|
|
202
|
+
const EMPTY_MODIFIERS = [];
|
|
203
|
+
const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
|
|
204
|
+
modifiers,
|
|
205
|
+
hasImportantModifier,
|
|
206
|
+
baseClassName,
|
|
207
|
+
maybePostfixModifierPosition,
|
|
208
|
+
isExternal
|
|
209
|
+
});
|
|
210
|
+
const createParseClassName = (config) => {
|
|
211
|
+
const {
|
|
212
|
+
prefix,
|
|
213
|
+
experimentalParseClassName
|
|
214
|
+
} = config;
|
|
215
|
+
let parseClassName = (className) => {
|
|
216
|
+
const modifiers = [];
|
|
217
|
+
let bracketDepth = 0;
|
|
218
|
+
let parenDepth = 0;
|
|
219
|
+
let modifierStart = 0;
|
|
220
|
+
let postfixModifierPosition;
|
|
221
|
+
const len = className.length;
|
|
222
|
+
for (let index = 0; index < len; index++) {
|
|
223
|
+
const currentCharacter = className[index];
|
|
224
|
+
if (bracketDepth === 0 && parenDepth === 0) {
|
|
225
|
+
if (currentCharacter === MODIFIER_SEPARATOR) {
|
|
226
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
227
|
+
modifierStart = index + 1;
|
|
228
|
+
continue;
|
|
229
|
+
}
|
|
230
|
+
if (currentCharacter === "/") {
|
|
231
|
+
postfixModifierPosition = index;
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (currentCharacter === "[") bracketDepth++;
|
|
236
|
+
else if (currentCharacter === "]") bracketDepth--;
|
|
237
|
+
else if (currentCharacter === "(") parenDepth++;
|
|
238
|
+
else if (currentCharacter === ")") parenDepth--;
|
|
239
|
+
}
|
|
240
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
|
|
241
|
+
let baseClassName = baseClassNameWithImportantModifier;
|
|
242
|
+
let hasImportantModifier = false;
|
|
243
|
+
if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
|
|
244
|
+
baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
|
|
245
|
+
hasImportantModifier = true;
|
|
246
|
+
} else if (
|
|
247
|
+
/**
|
|
248
|
+
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
249
|
+
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
250
|
+
*/
|
|
251
|
+
baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)
|
|
252
|
+
) {
|
|
253
|
+
baseClassName = baseClassNameWithImportantModifier.slice(1);
|
|
254
|
+
hasImportantModifier = true;
|
|
255
|
+
}
|
|
256
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
257
|
+
return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
|
|
258
|
+
};
|
|
259
|
+
if (prefix) {
|
|
260
|
+
const fullPrefix = prefix + MODIFIER_SEPARATOR;
|
|
261
|
+
const parseClassNameOriginal = parseClassName;
|
|
262
|
+
parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
|
|
263
|
+
}
|
|
264
|
+
if (experimentalParseClassName) {
|
|
265
|
+
const parseClassNameOriginal = parseClassName;
|
|
266
|
+
parseClassName = (className) => experimentalParseClassName({
|
|
267
|
+
className,
|
|
268
|
+
parseClassName: parseClassNameOriginal
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
return parseClassName;
|
|
272
|
+
};
|
|
273
|
+
const createSortModifiers = (config) => {
|
|
274
|
+
const modifierWeights = /* @__PURE__ */ new Map();
|
|
275
|
+
config.orderSensitiveModifiers.forEach((mod, index) => {
|
|
276
|
+
modifierWeights.set(mod, 1e6 + index);
|
|
277
|
+
});
|
|
278
|
+
return (modifiers) => {
|
|
279
|
+
const result = [];
|
|
280
|
+
let currentSegment = [];
|
|
281
|
+
for (let i = 0; i < modifiers.length; i++) {
|
|
282
|
+
const modifier = modifiers[i];
|
|
283
|
+
const isArbitrary = modifier[0] === "[";
|
|
284
|
+
const isOrderSensitive = modifierWeights.has(modifier);
|
|
285
|
+
if (isArbitrary || isOrderSensitive) {
|
|
286
|
+
if (currentSegment.length > 0) {
|
|
287
|
+
currentSegment.sort();
|
|
288
|
+
result.push(...currentSegment);
|
|
289
|
+
currentSegment = [];
|
|
290
|
+
}
|
|
291
|
+
result.push(modifier);
|
|
292
|
+
} else {
|
|
293
|
+
currentSegment.push(modifier);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
if (currentSegment.length > 0) {
|
|
297
|
+
currentSegment.sort();
|
|
298
|
+
result.push(...currentSegment);
|
|
299
|
+
}
|
|
300
|
+
return result;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
const createConfigUtils = (config) => ({
|
|
304
|
+
cache: createLruCache(config.cacheSize),
|
|
305
|
+
parseClassName: createParseClassName(config),
|
|
306
|
+
sortModifiers: createSortModifiers(config),
|
|
307
|
+
...createClassGroupUtils(config)
|
|
308
|
+
});
|
|
309
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
310
|
+
const mergeClassList = (classList, configUtils) => {
|
|
311
|
+
const {
|
|
312
|
+
parseClassName,
|
|
313
|
+
getClassGroupId,
|
|
314
|
+
getConflictingClassGroupIds,
|
|
315
|
+
sortModifiers
|
|
316
|
+
} = configUtils;
|
|
317
|
+
const classGroupsInConflict = [];
|
|
318
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
319
|
+
let result = "";
|
|
320
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
321
|
+
const originalClassName = classNames[index];
|
|
322
|
+
const {
|
|
323
|
+
isExternal,
|
|
324
|
+
modifiers,
|
|
325
|
+
hasImportantModifier,
|
|
326
|
+
baseClassName,
|
|
327
|
+
maybePostfixModifierPosition
|
|
328
|
+
} = parseClassName(originalClassName);
|
|
329
|
+
if (isExternal) {
|
|
330
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
331
|
+
continue;
|
|
332
|
+
}
|
|
333
|
+
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
334
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
335
|
+
if (!classGroupId) {
|
|
336
|
+
if (!hasPostfixModifier) {
|
|
337
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
338
|
+
continue;
|
|
339
|
+
}
|
|
340
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
341
|
+
if (!classGroupId) {
|
|
342
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
343
|
+
continue;
|
|
344
|
+
}
|
|
345
|
+
hasPostfixModifier = false;
|
|
346
|
+
}
|
|
347
|
+
const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
|
|
348
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
349
|
+
const classId = modifierId + classGroupId;
|
|
350
|
+
if (classGroupsInConflict.indexOf(classId) > -1) {
|
|
351
|
+
continue;
|
|
352
|
+
}
|
|
353
|
+
classGroupsInConflict.push(classId);
|
|
354
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
355
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
356
|
+
const group = conflictGroups[i];
|
|
357
|
+
classGroupsInConflict.push(modifierId + group);
|
|
358
|
+
}
|
|
359
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
360
|
+
}
|
|
361
|
+
return result;
|
|
362
|
+
};
|
|
363
|
+
const twJoin = (...classLists) => {
|
|
364
|
+
let index = 0;
|
|
365
|
+
let argument;
|
|
366
|
+
let resolvedValue;
|
|
367
|
+
let string = "";
|
|
368
|
+
while (index < classLists.length) {
|
|
369
|
+
if (argument = classLists[index++]) {
|
|
370
|
+
if (resolvedValue = toValue(argument)) {
|
|
371
|
+
string && (string += " ");
|
|
372
|
+
string += resolvedValue;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
return string;
|
|
377
|
+
};
|
|
378
|
+
const toValue = (mix) => {
|
|
379
|
+
if (typeof mix === "string") {
|
|
380
|
+
return mix;
|
|
381
|
+
}
|
|
382
|
+
let resolvedValue;
|
|
383
|
+
let string = "";
|
|
384
|
+
for (let k = 0; k < mix.length; k++) {
|
|
385
|
+
if (mix[k]) {
|
|
386
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
387
|
+
string && (string += " ");
|
|
388
|
+
string += resolvedValue;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
return string;
|
|
393
|
+
};
|
|
394
|
+
const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
|
|
395
|
+
let configUtils;
|
|
396
|
+
let cacheGet;
|
|
397
|
+
let cacheSet;
|
|
398
|
+
let functionToCall;
|
|
399
|
+
const initTailwindMerge = (classList) => {
|
|
400
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
401
|
+
configUtils = createConfigUtils(config);
|
|
402
|
+
cacheGet = configUtils.cache.get;
|
|
403
|
+
cacheSet = configUtils.cache.set;
|
|
404
|
+
functionToCall = tailwindMerge;
|
|
405
|
+
return tailwindMerge(classList);
|
|
406
|
+
};
|
|
407
|
+
const tailwindMerge = (classList) => {
|
|
408
|
+
const cachedResult = cacheGet(classList);
|
|
409
|
+
if (cachedResult) {
|
|
410
|
+
return cachedResult;
|
|
411
|
+
}
|
|
412
|
+
const result = mergeClassList(classList, configUtils);
|
|
413
|
+
cacheSet(classList, result);
|
|
414
|
+
return result;
|
|
415
|
+
};
|
|
416
|
+
functionToCall = initTailwindMerge;
|
|
417
|
+
return (...args) => functionToCall(twJoin(...args));
|
|
418
|
+
};
|
|
419
|
+
const fallbackThemeArr = [];
|
|
420
|
+
const fromTheme = (key) => {
|
|
421
|
+
const themeGetter = (theme) => theme[key] || fallbackThemeArr;
|
|
422
|
+
themeGetter.isThemeGetter = true;
|
|
423
|
+
return themeGetter;
|
|
424
|
+
};
|
|
425
|
+
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
426
|
+
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
427
|
+
const fractionRegex = /^\d+\/\d+$/;
|
|
428
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
429
|
+
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$/;
|
|
430
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
431
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
432
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
433
|
+
const isFraction = (value) => fractionRegex.test(value);
|
|
434
|
+
const isNumber = (value) => !!value && !Number.isNaN(Number(value));
|
|
435
|
+
const isInteger = (value) => !!value && Number.isInteger(Number(value));
|
|
436
|
+
const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
437
|
+
const isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
|
438
|
+
const isAny = () => true;
|
|
439
|
+
const isLengthOnly = (value) => (
|
|
440
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
441
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
442
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
443
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
|
|
444
|
+
);
|
|
445
|
+
const isNever = () => false;
|
|
446
|
+
const isShadow = (value) => shadowRegex.test(value);
|
|
447
|
+
const isImage = (value) => imageRegex.test(value);
|
|
448
|
+
const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
449
|
+
const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
450
|
+
const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
451
|
+
const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
452
|
+
const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
453
|
+
const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
454
|
+
const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
455
|
+
const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
456
|
+
const isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
|
|
457
|
+
const isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
|
|
458
|
+
const isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
|
|
459
|
+
const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
|
|
460
|
+
const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
|
|
461
|
+
const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
|
|
462
|
+
const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
463
|
+
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
464
|
+
const result = arbitraryValueRegex.exec(value);
|
|
465
|
+
if (result) {
|
|
466
|
+
if (result[1]) {
|
|
467
|
+
return testLabel(result[1]);
|
|
468
|
+
}
|
|
469
|
+
return testValue(result[2]);
|
|
470
|
+
}
|
|
471
|
+
return false;
|
|
472
|
+
};
|
|
473
|
+
const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
|
|
474
|
+
const result = arbitraryVariableRegex.exec(value);
|
|
475
|
+
if (result) {
|
|
476
|
+
if (result[1]) {
|
|
477
|
+
return testLabel(result[1]);
|
|
478
|
+
}
|
|
479
|
+
return shouldMatchNoLabel;
|
|
480
|
+
}
|
|
481
|
+
return false;
|
|
482
|
+
};
|
|
483
|
+
const isLabelPosition = (label) => label === "position" || label === "percentage";
|
|
484
|
+
const isLabelImage = (label) => label === "image" || label === "url";
|
|
485
|
+
const isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
|
|
486
|
+
const isLabelLength = (label) => label === "length";
|
|
487
|
+
const isLabelNumber = (label) => label === "number";
|
|
488
|
+
const isLabelFamilyName = (label) => label === "family-name";
|
|
489
|
+
const isLabelShadow = (label) => label === "shadow";
|
|
490
|
+
const getDefaultConfig = () => {
|
|
491
|
+
const themeColor = fromTheme("color");
|
|
492
|
+
const themeFont = fromTheme("font");
|
|
493
|
+
const themeText = fromTheme("text");
|
|
494
|
+
const themeFontWeight = fromTheme("font-weight");
|
|
495
|
+
const themeTracking = fromTheme("tracking");
|
|
496
|
+
const themeLeading = fromTheme("leading");
|
|
497
|
+
const themeBreakpoint = fromTheme("breakpoint");
|
|
498
|
+
const themeContainer = fromTheme("container");
|
|
499
|
+
const themeSpacing = fromTheme("spacing");
|
|
500
|
+
const themeRadius = fromTheme("radius");
|
|
501
|
+
const themeShadow = fromTheme("shadow");
|
|
502
|
+
const themeInsetShadow = fromTheme("inset-shadow");
|
|
503
|
+
const themeTextShadow = fromTheme("text-shadow");
|
|
504
|
+
const themeDropShadow = fromTheme("drop-shadow");
|
|
505
|
+
const themeBlur = fromTheme("blur");
|
|
506
|
+
const themePerspective = fromTheme("perspective");
|
|
507
|
+
const themeAspect = fromTheme("aspect");
|
|
508
|
+
const themeEase = fromTheme("ease");
|
|
509
|
+
const themeAnimate = fromTheme("animate");
|
|
510
|
+
const scaleBreak = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
511
|
+
const scalePosition = () => [
|
|
512
|
+
"center",
|
|
513
|
+
"top",
|
|
514
|
+
"bottom",
|
|
515
|
+
"left",
|
|
516
|
+
"right",
|
|
517
|
+
"top-left",
|
|
518
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
519
|
+
"left-top",
|
|
520
|
+
"top-right",
|
|
521
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
522
|
+
"right-top",
|
|
523
|
+
"bottom-right",
|
|
524
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
525
|
+
"right-bottom",
|
|
526
|
+
"bottom-left",
|
|
527
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
528
|
+
"left-bottom"
|
|
529
|
+
];
|
|
530
|
+
const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
|
|
531
|
+
const scaleOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
532
|
+
const scaleOverscroll = () => ["auto", "contain", "none"];
|
|
533
|
+
const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
|
|
534
|
+
const scaleInset = () => [isFraction, "full", "auto", ...scaleUnambiguousSpacing()];
|
|
535
|
+
const scaleGridTemplateColsRows = () => [isInteger, "none", "subgrid", isArbitraryVariable, isArbitraryValue];
|
|
536
|
+
const scaleGridColRowStartAndEnd = () => ["auto", {
|
|
537
|
+
span: ["full", isInteger, isArbitraryVariable, isArbitraryValue]
|
|
538
|
+
}, isInteger, isArbitraryVariable, isArbitraryValue];
|
|
539
|
+
const scaleGridColRowStartOrEnd = () => [isInteger, "auto", isArbitraryVariable, isArbitraryValue];
|
|
540
|
+
const scaleGridAutoColsRows = () => ["auto", "min", "max", "fr", isArbitraryVariable, isArbitraryValue];
|
|
541
|
+
const scaleAlignPrimaryAxis = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"];
|
|
542
|
+
const scaleAlignSecondaryAxis = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"];
|
|
543
|
+
const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
|
|
544
|
+
const scaleSizing = () => [isFraction, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...scaleUnambiguousSpacing()];
|
|
545
|
+
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
546
|
+
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
547
|
+
position: [isArbitraryVariable, isArbitraryValue]
|
|
548
|
+
}];
|
|
549
|
+
const scaleBgRepeat = () => ["no-repeat", {
|
|
550
|
+
repeat: ["", "x", "y", "space", "round"]
|
|
551
|
+
}];
|
|
552
|
+
const scaleBgSize = () => ["auto", "cover", "contain", isArbitraryVariableSize, isArbitrarySize, {
|
|
553
|
+
size: [isArbitraryVariable, isArbitraryValue]
|
|
554
|
+
}];
|
|
555
|
+
const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
|
|
556
|
+
const scaleRadius = () => [
|
|
557
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
558
|
+
"",
|
|
559
|
+
"none",
|
|
560
|
+
"full",
|
|
561
|
+
themeRadius,
|
|
562
|
+
isArbitraryVariable,
|
|
563
|
+
isArbitraryValue
|
|
564
|
+
];
|
|
565
|
+
const scaleBorderWidth = () => ["", isNumber, isArbitraryVariableLength, isArbitraryLength];
|
|
566
|
+
const scaleLineStyle = () => ["solid", "dashed", "dotted", "double"];
|
|
567
|
+
const scaleBlendMode = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
568
|
+
const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
|
|
569
|
+
const scaleBlur = () => [
|
|
570
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
571
|
+
"",
|
|
572
|
+
"none",
|
|
573
|
+
themeBlur,
|
|
574
|
+
isArbitraryVariable,
|
|
575
|
+
isArbitraryValue
|
|
576
|
+
];
|
|
577
|
+
const scaleRotate = () => ["none", isNumber, isArbitraryVariable, isArbitraryValue];
|
|
578
|
+
const scaleScale = () => ["none", isNumber, isArbitraryVariable, isArbitraryValue];
|
|
579
|
+
const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
|
|
580
|
+
const scaleTranslate = () => [isFraction, "full", ...scaleUnambiguousSpacing()];
|
|
581
|
+
return {
|
|
582
|
+
cacheSize: 500,
|
|
583
|
+
theme: {
|
|
584
|
+
animate: ["spin", "ping", "pulse", "bounce"],
|
|
585
|
+
aspect: ["video"],
|
|
586
|
+
blur: [isTshirtSize],
|
|
587
|
+
breakpoint: [isTshirtSize],
|
|
588
|
+
color: [isAny],
|
|
589
|
+
container: [isTshirtSize],
|
|
590
|
+
"drop-shadow": [isTshirtSize],
|
|
591
|
+
ease: ["in", "out", "in-out"],
|
|
592
|
+
font: [isAnyNonArbitrary],
|
|
593
|
+
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
594
|
+
"inset-shadow": [isTshirtSize],
|
|
595
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
596
|
+
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
597
|
+
radius: [isTshirtSize],
|
|
598
|
+
shadow: [isTshirtSize],
|
|
599
|
+
spacing: ["px", isNumber],
|
|
600
|
+
text: [isTshirtSize],
|
|
601
|
+
"text-shadow": [isTshirtSize],
|
|
602
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
603
|
+
},
|
|
604
|
+
classGroups: {
|
|
605
|
+
// --------------
|
|
606
|
+
// --- Layout ---
|
|
607
|
+
// --------------
|
|
608
|
+
/**
|
|
609
|
+
* Aspect Ratio
|
|
610
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
611
|
+
*/
|
|
612
|
+
aspect: [{
|
|
613
|
+
aspect: ["auto", "square", isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]
|
|
614
|
+
}],
|
|
615
|
+
/**
|
|
616
|
+
* Container
|
|
617
|
+
* @see https://tailwindcss.com/docs/container
|
|
618
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
619
|
+
*/
|
|
620
|
+
container: ["container"],
|
|
621
|
+
/**
|
|
622
|
+
* Columns
|
|
623
|
+
* @see https://tailwindcss.com/docs/columns
|
|
624
|
+
*/
|
|
625
|
+
columns: [{
|
|
626
|
+
columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]
|
|
627
|
+
}],
|
|
628
|
+
/**
|
|
629
|
+
* Break After
|
|
630
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
631
|
+
*/
|
|
632
|
+
"break-after": [{
|
|
633
|
+
"break-after": scaleBreak()
|
|
634
|
+
}],
|
|
635
|
+
/**
|
|
636
|
+
* Break Before
|
|
637
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
638
|
+
*/
|
|
639
|
+
"break-before": [{
|
|
640
|
+
"break-before": scaleBreak()
|
|
641
|
+
}],
|
|
642
|
+
/**
|
|
643
|
+
* Break Inside
|
|
644
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
645
|
+
*/
|
|
646
|
+
"break-inside": [{
|
|
647
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
648
|
+
}],
|
|
649
|
+
/**
|
|
650
|
+
* Box Decoration Break
|
|
651
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
652
|
+
*/
|
|
653
|
+
"box-decoration": [{
|
|
654
|
+
"box-decoration": ["slice", "clone"]
|
|
655
|
+
}],
|
|
656
|
+
/**
|
|
657
|
+
* Box Sizing
|
|
658
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
659
|
+
*/
|
|
660
|
+
box: [{
|
|
661
|
+
box: ["border", "content"]
|
|
662
|
+
}],
|
|
663
|
+
/**
|
|
664
|
+
* Display
|
|
665
|
+
* @see https://tailwindcss.com/docs/display
|
|
666
|
+
*/
|
|
667
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
668
|
+
/**
|
|
669
|
+
* Screen Reader Only
|
|
670
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
671
|
+
*/
|
|
672
|
+
sr: ["sr-only", "not-sr-only"],
|
|
673
|
+
/**
|
|
674
|
+
* Floats
|
|
675
|
+
* @see https://tailwindcss.com/docs/float
|
|
676
|
+
*/
|
|
677
|
+
float: [{
|
|
678
|
+
float: ["right", "left", "none", "start", "end"]
|
|
679
|
+
}],
|
|
680
|
+
/**
|
|
681
|
+
* Clear
|
|
682
|
+
* @see https://tailwindcss.com/docs/clear
|
|
683
|
+
*/
|
|
684
|
+
clear: [{
|
|
685
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
686
|
+
}],
|
|
687
|
+
/**
|
|
688
|
+
* Isolation
|
|
689
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
690
|
+
*/
|
|
691
|
+
isolation: ["isolate", "isolation-auto"],
|
|
692
|
+
/**
|
|
693
|
+
* Object Fit
|
|
694
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
695
|
+
*/
|
|
696
|
+
"object-fit": [{
|
|
697
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
698
|
+
}],
|
|
699
|
+
/**
|
|
700
|
+
* Object Position
|
|
701
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
702
|
+
*/
|
|
703
|
+
"object-position": [{
|
|
704
|
+
object: scalePositionWithArbitrary()
|
|
705
|
+
}],
|
|
706
|
+
/**
|
|
707
|
+
* Overflow
|
|
708
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
709
|
+
*/
|
|
710
|
+
overflow: [{
|
|
711
|
+
overflow: scaleOverflow()
|
|
712
|
+
}],
|
|
713
|
+
/**
|
|
714
|
+
* Overflow X
|
|
715
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
716
|
+
*/
|
|
717
|
+
"overflow-x": [{
|
|
718
|
+
"overflow-x": scaleOverflow()
|
|
719
|
+
}],
|
|
720
|
+
/**
|
|
721
|
+
* Overflow Y
|
|
722
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
723
|
+
*/
|
|
724
|
+
"overflow-y": [{
|
|
725
|
+
"overflow-y": scaleOverflow()
|
|
726
|
+
}],
|
|
727
|
+
/**
|
|
728
|
+
* Overscroll Behavior
|
|
729
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
730
|
+
*/
|
|
731
|
+
overscroll: [{
|
|
732
|
+
overscroll: scaleOverscroll()
|
|
733
|
+
}],
|
|
734
|
+
/**
|
|
735
|
+
* Overscroll Behavior X
|
|
736
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
737
|
+
*/
|
|
738
|
+
"overscroll-x": [{
|
|
739
|
+
"overscroll-x": scaleOverscroll()
|
|
740
|
+
}],
|
|
741
|
+
/**
|
|
742
|
+
* Overscroll Behavior Y
|
|
743
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
744
|
+
*/
|
|
745
|
+
"overscroll-y": [{
|
|
746
|
+
"overscroll-y": scaleOverscroll()
|
|
747
|
+
}],
|
|
748
|
+
/**
|
|
749
|
+
* Position
|
|
750
|
+
* @see https://tailwindcss.com/docs/position
|
|
751
|
+
*/
|
|
752
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
753
|
+
/**
|
|
754
|
+
* Top / Right / Bottom / Left
|
|
755
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
756
|
+
*/
|
|
757
|
+
inset: [{
|
|
758
|
+
inset: scaleInset()
|
|
759
|
+
}],
|
|
760
|
+
/**
|
|
761
|
+
* Right / Left
|
|
762
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
763
|
+
*/
|
|
764
|
+
"inset-x": [{
|
|
765
|
+
"inset-x": scaleInset()
|
|
766
|
+
}],
|
|
767
|
+
/**
|
|
768
|
+
* Top / Bottom
|
|
769
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
770
|
+
*/
|
|
771
|
+
"inset-y": [{
|
|
772
|
+
"inset-y": scaleInset()
|
|
773
|
+
}],
|
|
774
|
+
/**
|
|
775
|
+
* Start
|
|
776
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
777
|
+
*/
|
|
778
|
+
start: [{
|
|
779
|
+
start: scaleInset()
|
|
780
|
+
}],
|
|
781
|
+
/**
|
|
782
|
+
* End
|
|
783
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
784
|
+
*/
|
|
785
|
+
end: [{
|
|
786
|
+
end: scaleInset()
|
|
787
|
+
}],
|
|
788
|
+
/**
|
|
789
|
+
* Top
|
|
790
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
791
|
+
*/
|
|
792
|
+
top: [{
|
|
793
|
+
top: scaleInset()
|
|
794
|
+
}],
|
|
795
|
+
/**
|
|
796
|
+
* Right
|
|
797
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
798
|
+
*/
|
|
799
|
+
right: [{
|
|
800
|
+
right: scaleInset()
|
|
801
|
+
}],
|
|
802
|
+
/**
|
|
803
|
+
* Bottom
|
|
804
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
805
|
+
*/
|
|
806
|
+
bottom: [{
|
|
807
|
+
bottom: scaleInset()
|
|
808
|
+
}],
|
|
809
|
+
/**
|
|
810
|
+
* Left
|
|
811
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
812
|
+
*/
|
|
813
|
+
left: [{
|
|
814
|
+
left: scaleInset()
|
|
815
|
+
}],
|
|
816
|
+
/**
|
|
817
|
+
* Visibility
|
|
818
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
819
|
+
*/
|
|
820
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
821
|
+
/**
|
|
822
|
+
* Z-Index
|
|
823
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
824
|
+
*/
|
|
825
|
+
z: [{
|
|
826
|
+
z: [isInteger, "auto", isArbitraryVariable, isArbitraryValue]
|
|
827
|
+
}],
|
|
828
|
+
// ------------------------
|
|
829
|
+
// --- Flexbox and Grid ---
|
|
830
|
+
// ------------------------
|
|
831
|
+
/**
|
|
832
|
+
* Flex Basis
|
|
833
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
834
|
+
*/
|
|
835
|
+
basis: [{
|
|
836
|
+
basis: [isFraction, "full", "auto", themeContainer, ...scaleUnambiguousSpacing()]
|
|
837
|
+
}],
|
|
838
|
+
/**
|
|
839
|
+
* Flex Direction
|
|
840
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
841
|
+
*/
|
|
842
|
+
"flex-direction": [{
|
|
843
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
844
|
+
}],
|
|
845
|
+
/**
|
|
846
|
+
* Flex Wrap
|
|
847
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
848
|
+
*/
|
|
849
|
+
"flex-wrap": [{
|
|
850
|
+
flex: ["nowrap", "wrap", "wrap-reverse"]
|
|
851
|
+
}],
|
|
852
|
+
/**
|
|
853
|
+
* Flex
|
|
854
|
+
* @see https://tailwindcss.com/docs/flex
|
|
855
|
+
*/
|
|
856
|
+
flex: [{
|
|
857
|
+
flex: [isNumber, isFraction, "auto", "initial", "none", isArbitraryValue]
|
|
858
|
+
}],
|
|
859
|
+
/**
|
|
860
|
+
* Flex Grow
|
|
861
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
862
|
+
*/
|
|
863
|
+
grow: [{
|
|
864
|
+
grow: ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
865
|
+
}],
|
|
866
|
+
/**
|
|
867
|
+
* Flex Shrink
|
|
868
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
869
|
+
*/
|
|
870
|
+
shrink: [{
|
|
871
|
+
shrink: ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
872
|
+
}],
|
|
873
|
+
/**
|
|
874
|
+
* Order
|
|
875
|
+
* @see https://tailwindcss.com/docs/order
|
|
876
|
+
*/
|
|
877
|
+
order: [{
|
|
878
|
+
order: [isInteger, "first", "last", "none", isArbitraryVariable, isArbitraryValue]
|
|
879
|
+
}],
|
|
880
|
+
/**
|
|
881
|
+
* Grid Template Columns
|
|
882
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
883
|
+
*/
|
|
884
|
+
"grid-cols": [{
|
|
885
|
+
"grid-cols": scaleGridTemplateColsRows()
|
|
886
|
+
}],
|
|
887
|
+
/**
|
|
888
|
+
* Grid Column Start / End
|
|
889
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
890
|
+
*/
|
|
891
|
+
"col-start-end": [{
|
|
892
|
+
col: scaleGridColRowStartAndEnd()
|
|
893
|
+
}],
|
|
894
|
+
/**
|
|
895
|
+
* Grid Column Start
|
|
896
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
897
|
+
*/
|
|
898
|
+
"col-start": [{
|
|
899
|
+
"col-start": scaleGridColRowStartOrEnd()
|
|
900
|
+
}],
|
|
901
|
+
/**
|
|
902
|
+
* Grid Column End
|
|
903
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
904
|
+
*/
|
|
905
|
+
"col-end": [{
|
|
906
|
+
"col-end": scaleGridColRowStartOrEnd()
|
|
907
|
+
}],
|
|
908
|
+
/**
|
|
909
|
+
* Grid Template Rows
|
|
910
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
911
|
+
*/
|
|
912
|
+
"grid-rows": [{
|
|
913
|
+
"grid-rows": scaleGridTemplateColsRows()
|
|
914
|
+
}],
|
|
915
|
+
/**
|
|
916
|
+
* Grid Row Start / End
|
|
917
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
918
|
+
*/
|
|
919
|
+
"row-start-end": [{
|
|
920
|
+
row: scaleGridColRowStartAndEnd()
|
|
921
|
+
}],
|
|
922
|
+
/**
|
|
923
|
+
* Grid Row Start
|
|
924
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
925
|
+
*/
|
|
926
|
+
"row-start": [{
|
|
927
|
+
"row-start": scaleGridColRowStartOrEnd()
|
|
928
|
+
}],
|
|
929
|
+
/**
|
|
930
|
+
* Grid Row End
|
|
931
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
932
|
+
*/
|
|
933
|
+
"row-end": [{
|
|
934
|
+
"row-end": scaleGridColRowStartOrEnd()
|
|
935
|
+
}],
|
|
936
|
+
/**
|
|
937
|
+
* Grid Auto Flow
|
|
938
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
939
|
+
*/
|
|
940
|
+
"grid-flow": [{
|
|
941
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
942
|
+
}],
|
|
943
|
+
/**
|
|
944
|
+
* Grid Auto Columns
|
|
945
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
946
|
+
*/
|
|
947
|
+
"auto-cols": [{
|
|
948
|
+
"auto-cols": scaleGridAutoColsRows()
|
|
949
|
+
}],
|
|
950
|
+
/**
|
|
951
|
+
* Grid Auto Rows
|
|
952
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
953
|
+
*/
|
|
954
|
+
"auto-rows": [{
|
|
955
|
+
"auto-rows": scaleGridAutoColsRows()
|
|
956
|
+
}],
|
|
957
|
+
/**
|
|
958
|
+
* Gap
|
|
959
|
+
* @see https://tailwindcss.com/docs/gap
|
|
960
|
+
*/
|
|
961
|
+
gap: [{
|
|
962
|
+
gap: scaleUnambiguousSpacing()
|
|
963
|
+
}],
|
|
964
|
+
/**
|
|
965
|
+
* Gap X
|
|
966
|
+
* @see https://tailwindcss.com/docs/gap
|
|
967
|
+
*/
|
|
968
|
+
"gap-x": [{
|
|
969
|
+
"gap-x": scaleUnambiguousSpacing()
|
|
970
|
+
}],
|
|
971
|
+
/**
|
|
972
|
+
* Gap Y
|
|
973
|
+
* @see https://tailwindcss.com/docs/gap
|
|
974
|
+
*/
|
|
975
|
+
"gap-y": [{
|
|
976
|
+
"gap-y": scaleUnambiguousSpacing()
|
|
977
|
+
}],
|
|
978
|
+
/**
|
|
979
|
+
* Justify Content
|
|
980
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
981
|
+
*/
|
|
982
|
+
"justify-content": [{
|
|
983
|
+
justify: [...scaleAlignPrimaryAxis(), "normal"]
|
|
984
|
+
}],
|
|
985
|
+
/**
|
|
986
|
+
* Justify Items
|
|
987
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
988
|
+
*/
|
|
989
|
+
"justify-items": [{
|
|
990
|
+
"justify-items": [...scaleAlignSecondaryAxis(), "normal"]
|
|
991
|
+
}],
|
|
992
|
+
/**
|
|
993
|
+
* Justify Self
|
|
994
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
995
|
+
*/
|
|
996
|
+
"justify-self": [{
|
|
997
|
+
"justify-self": ["auto", ...scaleAlignSecondaryAxis()]
|
|
998
|
+
}],
|
|
999
|
+
/**
|
|
1000
|
+
* Align Content
|
|
1001
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1002
|
+
*/
|
|
1003
|
+
"align-content": [{
|
|
1004
|
+
content: ["normal", ...scaleAlignPrimaryAxis()]
|
|
1005
|
+
}],
|
|
1006
|
+
/**
|
|
1007
|
+
* Align Items
|
|
1008
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1009
|
+
*/
|
|
1010
|
+
"align-items": [{
|
|
1011
|
+
items: [...scaleAlignSecondaryAxis(), {
|
|
1012
|
+
baseline: ["", "last"]
|
|
1013
|
+
}]
|
|
1014
|
+
}],
|
|
1015
|
+
/**
|
|
1016
|
+
* Align Self
|
|
1017
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1018
|
+
*/
|
|
1019
|
+
"align-self": [{
|
|
1020
|
+
self: ["auto", ...scaleAlignSecondaryAxis(), {
|
|
1021
|
+
baseline: ["", "last"]
|
|
1022
|
+
}]
|
|
1023
|
+
}],
|
|
1024
|
+
/**
|
|
1025
|
+
* Place Content
|
|
1026
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1027
|
+
*/
|
|
1028
|
+
"place-content": [{
|
|
1029
|
+
"place-content": scaleAlignPrimaryAxis()
|
|
1030
|
+
}],
|
|
1031
|
+
/**
|
|
1032
|
+
* Place Items
|
|
1033
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1034
|
+
*/
|
|
1035
|
+
"place-items": [{
|
|
1036
|
+
"place-items": [...scaleAlignSecondaryAxis(), "baseline"]
|
|
1037
|
+
}],
|
|
1038
|
+
/**
|
|
1039
|
+
* Place Self
|
|
1040
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1041
|
+
*/
|
|
1042
|
+
"place-self": [{
|
|
1043
|
+
"place-self": ["auto", ...scaleAlignSecondaryAxis()]
|
|
1044
|
+
}],
|
|
1045
|
+
// Spacing
|
|
1046
|
+
/**
|
|
1047
|
+
* Padding
|
|
1048
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1049
|
+
*/
|
|
1050
|
+
p: [{
|
|
1051
|
+
p: scaleUnambiguousSpacing()
|
|
1052
|
+
}],
|
|
1053
|
+
/**
|
|
1054
|
+
* Padding X
|
|
1055
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1056
|
+
*/
|
|
1057
|
+
px: [{
|
|
1058
|
+
px: scaleUnambiguousSpacing()
|
|
1059
|
+
}],
|
|
1060
|
+
/**
|
|
1061
|
+
* Padding Y
|
|
1062
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1063
|
+
*/
|
|
1064
|
+
py: [{
|
|
1065
|
+
py: scaleUnambiguousSpacing()
|
|
1066
|
+
}],
|
|
1067
|
+
/**
|
|
1068
|
+
* Padding Start
|
|
1069
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1070
|
+
*/
|
|
1071
|
+
ps: [{
|
|
1072
|
+
ps: scaleUnambiguousSpacing()
|
|
1073
|
+
}],
|
|
1074
|
+
/**
|
|
1075
|
+
* Padding End
|
|
1076
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1077
|
+
*/
|
|
1078
|
+
pe: [{
|
|
1079
|
+
pe: scaleUnambiguousSpacing()
|
|
1080
|
+
}],
|
|
1081
|
+
/**
|
|
1082
|
+
* Padding Top
|
|
1083
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1084
|
+
*/
|
|
1085
|
+
pt: [{
|
|
1086
|
+
pt: scaleUnambiguousSpacing()
|
|
1087
|
+
}],
|
|
1088
|
+
/**
|
|
1089
|
+
* Padding Right
|
|
1090
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1091
|
+
*/
|
|
1092
|
+
pr: [{
|
|
1093
|
+
pr: scaleUnambiguousSpacing()
|
|
1094
|
+
}],
|
|
1095
|
+
/**
|
|
1096
|
+
* Padding Bottom
|
|
1097
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1098
|
+
*/
|
|
1099
|
+
pb: [{
|
|
1100
|
+
pb: scaleUnambiguousSpacing()
|
|
1101
|
+
}],
|
|
1102
|
+
/**
|
|
1103
|
+
* Padding Left
|
|
1104
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1105
|
+
*/
|
|
1106
|
+
pl: [{
|
|
1107
|
+
pl: scaleUnambiguousSpacing()
|
|
1108
|
+
}],
|
|
1109
|
+
/**
|
|
1110
|
+
* Margin
|
|
1111
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1112
|
+
*/
|
|
1113
|
+
m: [{
|
|
1114
|
+
m: scaleMargin()
|
|
1115
|
+
}],
|
|
1116
|
+
/**
|
|
1117
|
+
* Margin X
|
|
1118
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1119
|
+
*/
|
|
1120
|
+
mx: [{
|
|
1121
|
+
mx: scaleMargin()
|
|
1122
|
+
}],
|
|
1123
|
+
/**
|
|
1124
|
+
* Margin Y
|
|
1125
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1126
|
+
*/
|
|
1127
|
+
my: [{
|
|
1128
|
+
my: scaleMargin()
|
|
1129
|
+
}],
|
|
1130
|
+
/**
|
|
1131
|
+
* Margin Start
|
|
1132
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1133
|
+
*/
|
|
1134
|
+
ms: [{
|
|
1135
|
+
ms: scaleMargin()
|
|
1136
|
+
}],
|
|
1137
|
+
/**
|
|
1138
|
+
* Margin End
|
|
1139
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1140
|
+
*/
|
|
1141
|
+
me: [{
|
|
1142
|
+
me: scaleMargin()
|
|
1143
|
+
}],
|
|
1144
|
+
/**
|
|
1145
|
+
* Margin Top
|
|
1146
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1147
|
+
*/
|
|
1148
|
+
mt: [{
|
|
1149
|
+
mt: scaleMargin()
|
|
1150
|
+
}],
|
|
1151
|
+
/**
|
|
1152
|
+
* Margin Right
|
|
1153
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1154
|
+
*/
|
|
1155
|
+
mr: [{
|
|
1156
|
+
mr: scaleMargin()
|
|
1157
|
+
}],
|
|
1158
|
+
/**
|
|
1159
|
+
* Margin Bottom
|
|
1160
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1161
|
+
*/
|
|
1162
|
+
mb: [{
|
|
1163
|
+
mb: scaleMargin()
|
|
1164
|
+
}],
|
|
1165
|
+
/**
|
|
1166
|
+
* Margin Left
|
|
1167
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1168
|
+
*/
|
|
1169
|
+
ml: [{
|
|
1170
|
+
ml: scaleMargin()
|
|
1171
|
+
}],
|
|
1172
|
+
/**
|
|
1173
|
+
* Space Between X
|
|
1174
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1175
|
+
*/
|
|
1176
|
+
"space-x": [{
|
|
1177
|
+
"space-x": scaleUnambiguousSpacing()
|
|
1178
|
+
}],
|
|
1179
|
+
/**
|
|
1180
|
+
* Space Between X Reverse
|
|
1181
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1182
|
+
*/
|
|
1183
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1184
|
+
/**
|
|
1185
|
+
* Space Between Y
|
|
1186
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1187
|
+
*/
|
|
1188
|
+
"space-y": [{
|
|
1189
|
+
"space-y": scaleUnambiguousSpacing()
|
|
1190
|
+
}],
|
|
1191
|
+
/**
|
|
1192
|
+
* Space Between Y Reverse
|
|
1193
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1194
|
+
*/
|
|
1195
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1196
|
+
// --------------
|
|
1197
|
+
// --- Sizing ---
|
|
1198
|
+
// --------------
|
|
1199
|
+
/**
|
|
1200
|
+
* Size
|
|
1201
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1202
|
+
*/
|
|
1203
|
+
size: [{
|
|
1204
|
+
size: scaleSizing()
|
|
1205
|
+
}],
|
|
1206
|
+
/**
|
|
1207
|
+
* Width
|
|
1208
|
+
* @see https://tailwindcss.com/docs/width
|
|
1209
|
+
*/
|
|
1210
|
+
w: [{
|
|
1211
|
+
w: [themeContainer, "screen", ...scaleSizing()]
|
|
1212
|
+
}],
|
|
1213
|
+
/**
|
|
1214
|
+
* Min-Width
|
|
1215
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1216
|
+
*/
|
|
1217
|
+
"min-w": [{
|
|
1218
|
+
"min-w": [
|
|
1219
|
+
themeContainer,
|
|
1220
|
+
"screen",
|
|
1221
|
+
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1222
|
+
"none",
|
|
1223
|
+
...scaleSizing()
|
|
1224
|
+
]
|
|
1225
|
+
}],
|
|
1226
|
+
/**
|
|
1227
|
+
* Max-Width
|
|
1228
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1229
|
+
*/
|
|
1230
|
+
"max-w": [{
|
|
1231
|
+
"max-w": [
|
|
1232
|
+
themeContainer,
|
|
1233
|
+
"screen",
|
|
1234
|
+
"none",
|
|
1235
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1236
|
+
"prose",
|
|
1237
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1238
|
+
{
|
|
1239
|
+
screen: [themeBreakpoint]
|
|
1240
|
+
},
|
|
1241
|
+
...scaleSizing()
|
|
1242
|
+
]
|
|
1243
|
+
}],
|
|
1244
|
+
/**
|
|
1245
|
+
* Height
|
|
1246
|
+
* @see https://tailwindcss.com/docs/height
|
|
1247
|
+
*/
|
|
1248
|
+
h: [{
|
|
1249
|
+
h: ["screen", "lh", ...scaleSizing()]
|
|
1250
|
+
}],
|
|
1251
|
+
/**
|
|
1252
|
+
* Min-Height
|
|
1253
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1254
|
+
*/
|
|
1255
|
+
"min-h": [{
|
|
1256
|
+
"min-h": ["screen", "lh", "none", ...scaleSizing()]
|
|
1257
|
+
}],
|
|
1258
|
+
/**
|
|
1259
|
+
* Max-Height
|
|
1260
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1261
|
+
*/
|
|
1262
|
+
"max-h": [{
|
|
1263
|
+
"max-h": ["screen", "lh", ...scaleSizing()]
|
|
1264
|
+
}],
|
|
1265
|
+
// ------------------
|
|
1266
|
+
// --- Typography ---
|
|
1267
|
+
// ------------------
|
|
1268
|
+
/**
|
|
1269
|
+
* Font Size
|
|
1270
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1271
|
+
*/
|
|
1272
|
+
"font-size": [{
|
|
1273
|
+
text: ["base", themeText, isArbitraryVariableLength, isArbitraryLength]
|
|
1274
|
+
}],
|
|
1275
|
+
/**
|
|
1276
|
+
* Font Smoothing
|
|
1277
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1278
|
+
*/
|
|
1279
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1280
|
+
/**
|
|
1281
|
+
* Font Style
|
|
1282
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1283
|
+
*/
|
|
1284
|
+
"font-style": ["italic", "not-italic"],
|
|
1285
|
+
/**
|
|
1286
|
+
* Font Weight
|
|
1287
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1288
|
+
*/
|
|
1289
|
+
"font-weight": [{
|
|
1290
|
+
font: [themeFontWeight, isArbitraryVariable, isArbitraryNumber]
|
|
1291
|
+
}],
|
|
1292
|
+
/**
|
|
1293
|
+
* Font Stretch
|
|
1294
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
1295
|
+
*/
|
|
1296
|
+
"font-stretch": [{
|
|
1297
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", isPercent, isArbitraryValue]
|
|
1298
|
+
}],
|
|
1299
|
+
/**
|
|
1300
|
+
* Font Family
|
|
1301
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1302
|
+
*/
|
|
1303
|
+
"font-family": [{
|
|
1304
|
+
font: [isArbitraryVariableFamilyName, isArbitraryValue, themeFont]
|
|
1305
|
+
}],
|
|
1306
|
+
/**
|
|
1307
|
+
* Font Variant Numeric
|
|
1308
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1309
|
+
*/
|
|
1310
|
+
"fvn-normal": ["normal-nums"],
|
|
1311
|
+
/**
|
|
1312
|
+
* Font Variant Numeric
|
|
1313
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1314
|
+
*/
|
|
1315
|
+
"fvn-ordinal": ["ordinal"],
|
|
1316
|
+
/**
|
|
1317
|
+
* Font Variant Numeric
|
|
1318
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1319
|
+
*/
|
|
1320
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1321
|
+
/**
|
|
1322
|
+
* Font Variant Numeric
|
|
1323
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1324
|
+
*/
|
|
1325
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1326
|
+
/**
|
|
1327
|
+
* Font Variant Numeric
|
|
1328
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1329
|
+
*/
|
|
1330
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1331
|
+
/**
|
|
1332
|
+
* Font Variant Numeric
|
|
1333
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1334
|
+
*/
|
|
1335
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1336
|
+
/**
|
|
1337
|
+
* Letter Spacing
|
|
1338
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1339
|
+
*/
|
|
1340
|
+
tracking: [{
|
|
1341
|
+
tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]
|
|
1342
|
+
}],
|
|
1343
|
+
/**
|
|
1344
|
+
* Line Clamp
|
|
1345
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1346
|
+
*/
|
|
1347
|
+
"line-clamp": [{
|
|
1348
|
+
"line-clamp": [isNumber, "none", isArbitraryVariable, isArbitraryNumber]
|
|
1349
|
+
}],
|
|
1350
|
+
/**
|
|
1351
|
+
* Line Height
|
|
1352
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1353
|
+
*/
|
|
1354
|
+
leading: [{
|
|
1355
|
+
leading: [
|
|
1356
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1357
|
+
themeLeading,
|
|
1358
|
+
...scaleUnambiguousSpacing()
|
|
1359
|
+
]
|
|
1360
|
+
}],
|
|
1361
|
+
/**
|
|
1362
|
+
* List Style Image
|
|
1363
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1364
|
+
*/
|
|
1365
|
+
"list-image": [{
|
|
1366
|
+
"list-image": ["none", isArbitraryVariable, isArbitraryValue]
|
|
1367
|
+
}],
|
|
1368
|
+
/**
|
|
1369
|
+
* List Style Position
|
|
1370
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1371
|
+
*/
|
|
1372
|
+
"list-style-position": [{
|
|
1373
|
+
list: ["inside", "outside"]
|
|
1374
|
+
}],
|
|
1375
|
+
/**
|
|
1376
|
+
* List Style Type
|
|
1377
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1378
|
+
*/
|
|
1379
|
+
"list-style-type": [{
|
|
1380
|
+
list: ["disc", "decimal", "none", isArbitraryVariable, isArbitraryValue]
|
|
1381
|
+
}],
|
|
1382
|
+
/**
|
|
1383
|
+
* Text Alignment
|
|
1384
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1385
|
+
*/
|
|
1386
|
+
"text-alignment": [{
|
|
1387
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1388
|
+
}],
|
|
1389
|
+
/**
|
|
1390
|
+
* Placeholder Color
|
|
1391
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1392
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1393
|
+
*/
|
|
1394
|
+
"placeholder-color": [{
|
|
1395
|
+
placeholder: scaleColor()
|
|
1396
|
+
}],
|
|
1397
|
+
/**
|
|
1398
|
+
* Text Color
|
|
1399
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1400
|
+
*/
|
|
1401
|
+
"text-color": [{
|
|
1402
|
+
text: scaleColor()
|
|
1403
|
+
}],
|
|
1404
|
+
/**
|
|
1405
|
+
* Text Decoration
|
|
1406
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1407
|
+
*/
|
|
1408
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1409
|
+
/**
|
|
1410
|
+
* Text Decoration Style
|
|
1411
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1412
|
+
*/
|
|
1413
|
+
"text-decoration-style": [{
|
|
1414
|
+
decoration: [...scaleLineStyle(), "wavy"]
|
|
1415
|
+
}],
|
|
1416
|
+
/**
|
|
1417
|
+
* Text Decoration Thickness
|
|
1418
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1419
|
+
*/
|
|
1420
|
+
"text-decoration-thickness": [{
|
|
1421
|
+
decoration: [isNumber, "from-font", "auto", isArbitraryVariable, isArbitraryLength]
|
|
1422
|
+
}],
|
|
1423
|
+
/**
|
|
1424
|
+
* Text Decoration Color
|
|
1425
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1426
|
+
*/
|
|
1427
|
+
"text-decoration-color": [{
|
|
1428
|
+
decoration: scaleColor()
|
|
1429
|
+
}],
|
|
1430
|
+
/**
|
|
1431
|
+
* Text Underline Offset
|
|
1432
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1433
|
+
*/
|
|
1434
|
+
"underline-offset": [{
|
|
1435
|
+
"underline-offset": [isNumber, "auto", isArbitraryVariable, isArbitraryValue]
|
|
1436
|
+
}],
|
|
1437
|
+
/**
|
|
1438
|
+
* Text Transform
|
|
1439
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1440
|
+
*/
|
|
1441
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1442
|
+
/**
|
|
1443
|
+
* Text Overflow
|
|
1444
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1445
|
+
*/
|
|
1446
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1447
|
+
/**
|
|
1448
|
+
* Text Wrap
|
|
1449
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1450
|
+
*/
|
|
1451
|
+
"text-wrap": [{
|
|
1452
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
1453
|
+
}],
|
|
1454
|
+
/**
|
|
1455
|
+
* Text Indent
|
|
1456
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1457
|
+
*/
|
|
1458
|
+
indent: [{
|
|
1459
|
+
indent: scaleUnambiguousSpacing()
|
|
1460
|
+
}],
|
|
1461
|
+
/**
|
|
1462
|
+
* Vertical Alignment
|
|
1463
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1464
|
+
*/
|
|
1465
|
+
"vertical-align": [{
|
|
1466
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryVariable, isArbitraryValue]
|
|
1467
|
+
}],
|
|
1468
|
+
/**
|
|
1469
|
+
* Whitespace
|
|
1470
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1471
|
+
*/
|
|
1472
|
+
whitespace: [{
|
|
1473
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1474
|
+
}],
|
|
1475
|
+
/**
|
|
1476
|
+
* Word Break
|
|
1477
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1478
|
+
*/
|
|
1479
|
+
break: [{
|
|
1480
|
+
break: ["normal", "words", "all", "keep"]
|
|
1481
|
+
}],
|
|
1482
|
+
/**
|
|
1483
|
+
* Overflow Wrap
|
|
1484
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1485
|
+
*/
|
|
1486
|
+
wrap: [{
|
|
1487
|
+
wrap: ["break-word", "anywhere", "normal"]
|
|
1488
|
+
}],
|
|
1489
|
+
/**
|
|
1490
|
+
* Hyphens
|
|
1491
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1492
|
+
*/
|
|
1493
|
+
hyphens: [{
|
|
1494
|
+
hyphens: ["none", "manual", "auto"]
|
|
1495
|
+
}],
|
|
1496
|
+
/**
|
|
1497
|
+
* Content
|
|
1498
|
+
* @see https://tailwindcss.com/docs/content
|
|
1499
|
+
*/
|
|
1500
|
+
content: [{
|
|
1501
|
+
content: ["none", isArbitraryVariable, isArbitraryValue]
|
|
1502
|
+
}],
|
|
1503
|
+
// -------------------
|
|
1504
|
+
// --- Backgrounds ---
|
|
1505
|
+
// -------------------
|
|
1506
|
+
/**
|
|
1507
|
+
* Background Attachment
|
|
1508
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1509
|
+
*/
|
|
1510
|
+
"bg-attachment": [{
|
|
1511
|
+
bg: ["fixed", "local", "scroll"]
|
|
1512
|
+
}],
|
|
1513
|
+
/**
|
|
1514
|
+
* Background Clip
|
|
1515
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1516
|
+
*/
|
|
1517
|
+
"bg-clip": [{
|
|
1518
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
1519
|
+
}],
|
|
1520
|
+
/**
|
|
1521
|
+
* Background Origin
|
|
1522
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1523
|
+
*/
|
|
1524
|
+
"bg-origin": [{
|
|
1525
|
+
"bg-origin": ["border", "padding", "content"]
|
|
1526
|
+
}],
|
|
1527
|
+
/**
|
|
1528
|
+
* Background Position
|
|
1529
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1530
|
+
*/
|
|
1531
|
+
"bg-position": [{
|
|
1532
|
+
bg: scaleBgPosition()
|
|
1533
|
+
}],
|
|
1534
|
+
/**
|
|
1535
|
+
* Background Repeat
|
|
1536
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1537
|
+
*/
|
|
1538
|
+
"bg-repeat": [{
|
|
1539
|
+
bg: scaleBgRepeat()
|
|
1540
|
+
}],
|
|
1541
|
+
/**
|
|
1542
|
+
* Background Size
|
|
1543
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1544
|
+
*/
|
|
1545
|
+
"bg-size": [{
|
|
1546
|
+
bg: scaleBgSize()
|
|
1547
|
+
}],
|
|
1548
|
+
/**
|
|
1549
|
+
* Background Image
|
|
1550
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1551
|
+
*/
|
|
1552
|
+
"bg-image": [{
|
|
1553
|
+
bg: ["none", {
|
|
1554
|
+
linear: [{
|
|
1555
|
+
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1556
|
+
}, isInteger, isArbitraryVariable, isArbitraryValue],
|
|
1557
|
+
radial: ["", isArbitraryVariable, isArbitraryValue],
|
|
1558
|
+
conic: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
1559
|
+
}, isArbitraryVariableImage, isArbitraryImage]
|
|
1560
|
+
}],
|
|
1561
|
+
/**
|
|
1562
|
+
* Background Color
|
|
1563
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1564
|
+
*/
|
|
1565
|
+
"bg-color": [{
|
|
1566
|
+
bg: scaleColor()
|
|
1567
|
+
}],
|
|
1568
|
+
/**
|
|
1569
|
+
* Gradient Color Stops From Position
|
|
1570
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1571
|
+
*/
|
|
1572
|
+
"gradient-from-pos": [{
|
|
1573
|
+
from: scaleGradientStopPosition()
|
|
1574
|
+
}],
|
|
1575
|
+
/**
|
|
1576
|
+
* Gradient Color Stops Via Position
|
|
1577
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1578
|
+
*/
|
|
1579
|
+
"gradient-via-pos": [{
|
|
1580
|
+
via: scaleGradientStopPosition()
|
|
1581
|
+
}],
|
|
1582
|
+
/**
|
|
1583
|
+
* Gradient Color Stops To Position
|
|
1584
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1585
|
+
*/
|
|
1586
|
+
"gradient-to-pos": [{
|
|
1587
|
+
to: scaleGradientStopPosition()
|
|
1588
|
+
}],
|
|
1589
|
+
/**
|
|
1590
|
+
* Gradient Color Stops From
|
|
1591
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1592
|
+
*/
|
|
1593
|
+
"gradient-from": [{
|
|
1594
|
+
from: scaleColor()
|
|
1595
|
+
}],
|
|
1596
|
+
/**
|
|
1597
|
+
* Gradient Color Stops Via
|
|
1598
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1599
|
+
*/
|
|
1600
|
+
"gradient-via": [{
|
|
1601
|
+
via: scaleColor()
|
|
1602
|
+
}],
|
|
1603
|
+
/**
|
|
1604
|
+
* Gradient Color Stops To
|
|
1605
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1606
|
+
*/
|
|
1607
|
+
"gradient-to": [{
|
|
1608
|
+
to: scaleColor()
|
|
1609
|
+
}],
|
|
1610
|
+
// ---------------
|
|
1611
|
+
// --- Borders ---
|
|
1612
|
+
// ---------------
|
|
1613
|
+
/**
|
|
1614
|
+
* Border Radius
|
|
1615
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1616
|
+
*/
|
|
1617
|
+
rounded: [{
|
|
1618
|
+
rounded: scaleRadius()
|
|
1619
|
+
}],
|
|
1620
|
+
/**
|
|
1621
|
+
* Border Radius Start
|
|
1622
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1623
|
+
*/
|
|
1624
|
+
"rounded-s": [{
|
|
1625
|
+
"rounded-s": scaleRadius()
|
|
1626
|
+
}],
|
|
1627
|
+
/**
|
|
1628
|
+
* Border Radius End
|
|
1629
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1630
|
+
*/
|
|
1631
|
+
"rounded-e": [{
|
|
1632
|
+
"rounded-e": scaleRadius()
|
|
1633
|
+
}],
|
|
1634
|
+
/**
|
|
1635
|
+
* Border Radius Top
|
|
1636
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1637
|
+
*/
|
|
1638
|
+
"rounded-t": [{
|
|
1639
|
+
"rounded-t": scaleRadius()
|
|
1640
|
+
}],
|
|
1641
|
+
/**
|
|
1642
|
+
* Border Radius Right
|
|
1643
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1644
|
+
*/
|
|
1645
|
+
"rounded-r": [{
|
|
1646
|
+
"rounded-r": scaleRadius()
|
|
1647
|
+
}],
|
|
1648
|
+
/**
|
|
1649
|
+
* Border Radius Bottom
|
|
1650
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1651
|
+
*/
|
|
1652
|
+
"rounded-b": [{
|
|
1653
|
+
"rounded-b": scaleRadius()
|
|
1654
|
+
}],
|
|
1655
|
+
/**
|
|
1656
|
+
* Border Radius Left
|
|
1657
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1658
|
+
*/
|
|
1659
|
+
"rounded-l": [{
|
|
1660
|
+
"rounded-l": scaleRadius()
|
|
1661
|
+
}],
|
|
1662
|
+
/**
|
|
1663
|
+
* Border Radius Start Start
|
|
1664
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1665
|
+
*/
|
|
1666
|
+
"rounded-ss": [{
|
|
1667
|
+
"rounded-ss": scaleRadius()
|
|
1668
|
+
}],
|
|
1669
|
+
/**
|
|
1670
|
+
* Border Radius Start End
|
|
1671
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1672
|
+
*/
|
|
1673
|
+
"rounded-se": [{
|
|
1674
|
+
"rounded-se": scaleRadius()
|
|
1675
|
+
}],
|
|
1676
|
+
/**
|
|
1677
|
+
* Border Radius End End
|
|
1678
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1679
|
+
*/
|
|
1680
|
+
"rounded-ee": [{
|
|
1681
|
+
"rounded-ee": scaleRadius()
|
|
1682
|
+
}],
|
|
1683
|
+
/**
|
|
1684
|
+
* Border Radius End Start
|
|
1685
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1686
|
+
*/
|
|
1687
|
+
"rounded-es": [{
|
|
1688
|
+
"rounded-es": scaleRadius()
|
|
1689
|
+
}],
|
|
1690
|
+
/**
|
|
1691
|
+
* Border Radius Top Left
|
|
1692
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1693
|
+
*/
|
|
1694
|
+
"rounded-tl": [{
|
|
1695
|
+
"rounded-tl": scaleRadius()
|
|
1696
|
+
}],
|
|
1697
|
+
/**
|
|
1698
|
+
* Border Radius Top Right
|
|
1699
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1700
|
+
*/
|
|
1701
|
+
"rounded-tr": [{
|
|
1702
|
+
"rounded-tr": scaleRadius()
|
|
1703
|
+
}],
|
|
1704
|
+
/**
|
|
1705
|
+
* Border Radius Bottom Right
|
|
1706
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1707
|
+
*/
|
|
1708
|
+
"rounded-br": [{
|
|
1709
|
+
"rounded-br": scaleRadius()
|
|
1710
|
+
}],
|
|
1711
|
+
/**
|
|
1712
|
+
* Border Radius Bottom Left
|
|
1713
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1714
|
+
*/
|
|
1715
|
+
"rounded-bl": [{
|
|
1716
|
+
"rounded-bl": scaleRadius()
|
|
1717
|
+
}],
|
|
1718
|
+
/**
|
|
1719
|
+
* Border Width
|
|
1720
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1721
|
+
*/
|
|
1722
|
+
"border-w": [{
|
|
1723
|
+
border: scaleBorderWidth()
|
|
1724
|
+
}],
|
|
1725
|
+
/**
|
|
1726
|
+
* Border Width X
|
|
1727
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1728
|
+
*/
|
|
1729
|
+
"border-w-x": [{
|
|
1730
|
+
"border-x": scaleBorderWidth()
|
|
1731
|
+
}],
|
|
1732
|
+
/**
|
|
1733
|
+
* Border Width Y
|
|
1734
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1735
|
+
*/
|
|
1736
|
+
"border-w-y": [{
|
|
1737
|
+
"border-y": scaleBorderWidth()
|
|
1738
|
+
}],
|
|
1739
|
+
/**
|
|
1740
|
+
* Border Width Start
|
|
1741
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1742
|
+
*/
|
|
1743
|
+
"border-w-s": [{
|
|
1744
|
+
"border-s": scaleBorderWidth()
|
|
1745
|
+
}],
|
|
1746
|
+
/**
|
|
1747
|
+
* Border Width End
|
|
1748
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1749
|
+
*/
|
|
1750
|
+
"border-w-e": [{
|
|
1751
|
+
"border-e": scaleBorderWidth()
|
|
1752
|
+
}],
|
|
1753
|
+
/**
|
|
1754
|
+
* Border Width Top
|
|
1755
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1756
|
+
*/
|
|
1757
|
+
"border-w-t": [{
|
|
1758
|
+
"border-t": scaleBorderWidth()
|
|
1759
|
+
}],
|
|
1760
|
+
/**
|
|
1761
|
+
* Border Width Right
|
|
1762
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1763
|
+
*/
|
|
1764
|
+
"border-w-r": [{
|
|
1765
|
+
"border-r": scaleBorderWidth()
|
|
1766
|
+
}],
|
|
1767
|
+
/**
|
|
1768
|
+
* Border Width Bottom
|
|
1769
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1770
|
+
*/
|
|
1771
|
+
"border-w-b": [{
|
|
1772
|
+
"border-b": scaleBorderWidth()
|
|
1773
|
+
}],
|
|
1774
|
+
/**
|
|
1775
|
+
* Border Width Left
|
|
1776
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1777
|
+
*/
|
|
1778
|
+
"border-w-l": [{
|
|
1779
|
+
"border-l": scaleBorderWidth()
|
|
1780
|
+
}],
|
|
1781
|
+
/**
|
|
1782
|
+
* Divide Width X
|
|
1783
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1784
|
+
*/
|
|
1785
|
+
"divide-x": [{
|
|
1786
|
+
"divide-x": scaleBorderWidth()
|
|
1787
|
+
}],
|
|
1788
|
+
/**
|
|
1789
|
+
* Divide Width X Reverse
|
|
1790
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1791
|
+
*/
|
|
1792
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1793
|
+
/**
|
|
1794
|
+
* Divide Width Y
|
|
1795
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1796
|
+
*/
|
|
1797
|
+
"divide-y": [{
|
|
1798
|
+
"divide-y": scaleBorderWidth()
|
|
1799
|
+
}],
|
|
1800
|
+
/**
|
|
1801
|
+
* Divide Width Y Reverse
|
|
1802
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1803
|
+
*/
|
|
1804
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1805
|
+
/**
|
|
1806
|
+
* Border Style
|
|
1807
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1808
|
+
*/
|
|
1809
|
+
"border-style": [{
|
|
1810
|
+
border: [...scaleLineStyle(), "hidden", "none"]
|
|
1811
|
+
}],
|
|
1812
|
+
/**
|
|
1813
|
+
* Divide Style
|
|
1814
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1815
|
+
*/
|
|
1816
|
+
"divide-style": [{
|
|
1817
|
+
divide: [...scaleLineStyle(), "hidden", "none"]
|
|
1818
|
+
}],
|
|
1819
|
+
/**
|
|
1820
|
+
* Border Color
|
|
1821
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1822
|
+
*/
|
|
1823
|
+
"border-color": [{
|
|
1824
|
+
border: scaleColor()
|
|
1825
|
+
}],
|
|
1826
|
+
/**
|
|
1827
|
+
* Border Color X
|
|
1828
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1829
|
+
*/
|
|
1830
|
+
"border-color-x": [{
|
|
1831
|
+
"border-x": scaleColor()
|
|
1832
|
+
}],
|
|
1833
|
+
/**
|
|
1834
|
+
* Border Color Y
|
|
1835
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1836
|
+
*/
|
|
1837
|
+
"border-color-y": [{
|
|
1838
|
+
"border-y": scaleColor()
|
|
1839
|
+
}],
|
|
1840
|
+
/**
|
|
1841
|
+
* Border Color S
|
|
1842
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1843
|
+
*/
|
|
1844
|
+
"border-color-s": [{
|
|
1845
|
+
"border-s": scaleColor()
|
|
1846
|
+
}],
|
|
1847
|
+
/**
|
|
1848
|
+
* Border Color E
|
|
1849
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1850
|
+
*/
|
|
1851
|
+
"border-color-e": [{
|
|
1852
|
+
"border-e": scaleColor()
|
|
1853
|
+
}],
|
|
1854
|
+
/**
|
|
1855
|
+
* Border Color Top
|
|
1856
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1857
|
+
*/
|
|
1858
|
+
"border-color-t": [{
|
|
1859
|
+
"border-t": scaleColor()
|
|
1860
|
+
}],
|
|
1861
|
+
/**
|
|
1862
|
+
* Border Color Right
|
|
1863
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1864
|
+
*/
|
|
1865
|
+
"border-color-r": [{
|
|
1866
|
+
"border-r": scaleColor()
|
|
1867
|
+
}],
|
|
1868
|
+
/**
|
|
1869
|
+
* Border Color Bottom
|
|
1870
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1871
|
+
*/
|
|
1872
|
+
"border-color-b": [{
|
|
1873
|
+
"border-b": scaleColor()
|
|
1874
|
+
}],
|
|
1875
|
+
/**
|
|
1876
|
+
* Border Color Left
|
|
1877
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1878
|
+
*/
|
|
1879
|
+
"border-color-l": [{
|
|
1880
|
+
"border-l": scaleColor()
|
|
1881
|
+
}],
|
|
1882
|
+
/**
|
|
1883
|
+
* Divide Color
|
|
1884
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
1885
|
+
*/
|
|
1886
|
+
"divide-color": [{
|
|
1887
|
+
divide: scaleColor()
|
|
1888
|
+
}],
|
|
1889
|
+
/**
|
|
1890
|
+
* Outline Style
|
|
1891
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
1892
|
+
*/
|
|
1893
|
+
"outline-style": [{
|
|
1894
|
+
outline: [...scaleLineStyle(), "none", "hidden"]
|
|
1895
|
+
}],
|
|
1896
|
+
/**
|
|
1897
|
+
* Outline Offset
|
|
1898
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
1899
|
+
*/
|
|
1900
|
+
"outline-offset": [{
|
|
1901
|
+
"outline-offset": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
1902
|
+
}],
|
|
1903
|
+
/**
|
|
1904
|
+
* Outline Width
|
|
1905
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
1906
|
+
*/
|
|
1907
|
+
"outline-w": [{
|
|
1908
|
+
outline: ["", isNumber, isArbitraryVariableLength, isArbitraryLength]
|
|
1909
|
+
}],
|
|
1910
|
+
/**
|
|
1911
|
+
* Outline Color
|
|
1912
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
1913
|
+
*/
|
|
1914
|
+
"outline-color": [{
|
|
1915
|
+
outline: scaleColor()
|
|
1916
|
+
}],
|
|
1917
|
+
// ---------------
|
|
1918
|
+
// --- Effects ---
|
|
1919
|
+
// ---------------
|
|
1920
|
+
/**
|
|
1921
|
+
* Box Shadow
|
|
1922
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
1923
|
+
*/
|
|
1924
|
+
shadow: [{
|
|
1925
|
+
shadow: [
|
|
1926
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
1927
|
+
"",
|
|
1928
|
+
"none",
|
|
1929
|
+
themeShadow,
|
|
1930
|
+
isArbitraryVariableShadow,
|
|
1931
|
+
isArbitraryShadow
|
|
1932
|
+
]
|
|
1933
|
+
}],
|
|
1934
|
+
/**
|
|
1935
|
+
* Box Shadow Color
|
|
1936
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1937
|
+
*/
|
|
1938
|
+
"shadow-color": [{
|
|
1939
|
+
shadow: scaleColor()
|
|
1940
|
+
}],
|
|
1941
|
+
/**
|
|
1942
|
+
* Inset Box Shadow
|
|
1943
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1944
|
+
*/
|
|
1945
|
+
"inset-shadow": [{
|
|
1946
|
+
"inset-shadow": ["none", themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
1947
|
+
}],
|
|
1948
|
+
/**
|
|
1949
|
+
* Inset Box Shadow Color
|
|
1950
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1951
|
+
*/
|
|
1952
|
+
"inset-shadow-color": [{
|
|
1953
|
+
"inset-shadow": scaleColor()
|
|
1954
|
+
}],
|
|
1955
|
+
/**
|
|
1956
|
+
* Ring Width
|
|
1957
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1958
|
+
*/
|
|
1959
|
+
"ring-w": [{
|
|
1960
|
+
ring: scaleBorderWidth()
|
|
1961
|
+
}],
|
|
1962
|
+
/**
|
|
1963
|
+
* Ring Width Inset
|
|
1964
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
1965
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1966
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1967
|
+
*/
|
|
1968
|
+
"ring-w-inset": ["ring-inset"],
|
|
1969
|
+
/**
|
|
1970
|
+
* Ring Color
|
|
1971
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1972
|
+
*/
|
|
1973
|
+
"ring-color": [{
|
|
1974
|
+
ring: scaleColor()
|
|
1975
|
+
}],
|
|
1976
|
+
/**
|
|
1977
|
+
* Ring Offset Width
|
|
1978
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
1979
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1980
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1981
|
+
*/
|
|
1982
|
+
"ring-offset-w": [{
|
|
1983
|
+
"ring-offset": [isNumber, isArbitraryLength]
|
|
1984
|
+
}],
|
|
1985
|
+
/**
|
|
1986
|
+
* Ring Offset Color
|
|
1987
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
1988
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1989
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1990
|
+
*/
|
|
1991
|
+
"ring-offset-color": [{
|
|
1992
|
+
"ring-offset": scaleColor()
|
|
1993
|
+
}],
|
|
1994
|
+
/**
|
|
1995
|
+
* Inset Ring Width
|
|
1996
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1997
|
+
*/
|
|
1998
|
+
"inset-ring-w": [{
|
|
1999
|
+
"inset-ring": scaleBorderWidth()
|
|
2000
|
+
}],
|
|
2001
|
+
/**
|
|
2002
|
+
* Inset Ring Color
|
|
2003
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2004
|
+
*/
|
|
2005
|
+
"inset-ring-color": [{
|
|
2006
|
+
"inset-ring": scaleColor()
|
|
2007
|
+
}],
|
|
2008
|
+
/**
|
|
2009
|
+
* Text Shadow
|
|
2010
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
2011
|
+
*/
|
|
2012
|
+
"text-shadow": [{
|
|
2013
|
+
"text-shadow": ["none", themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
|
|
2014
|
+
}],
|
|
2015
|
+
/**
|
|
2016
|
+
* Text Shadow Color
|
|
2017
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2018
|
+
*/
|
|
2019
|
+
"text-shadow-color": [{
|
|
2020
|
+
"text-shadow": scaleColor()
|
|
2021
|
+
}],
|
|
2022
|
+
/**
|
|
2023
|
+
* Opacity
|
|
2024
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2025
|
+
*/
|
|
2026
|
+
opacity: [{
|
|
2027
|
+
opacity: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2028
|
+
}],
|
|
2029
|
+
/**
|
|
2030
|
+
* Mix Blend Mode
|
|
2031
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2032
|
+
*/
|
|
2033
|
+
"mix-blend": [{
|
|
2034
|
+
"mix-blend": [...scaleBlendMode(), "plus-darker", "plus-lighter"]
|
|
2035
|
+
}],
|
|
2036
|
+
/**
|
|
2037
|
+
* Background Blend Mode
|
|
2038
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2039
|
+
*/
|
|
2040
|
+
"bg-blend": [{
|
|
2041
|
+
"bg-blend": scaleBlendMode()
|
|
2042
|
+
}],
|
|
2043
|
+
/**
|
|
2044
|
+
* Mask Clip
|
|
2045
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
2046
|
+
*/
|
|
2047
|
+
"mask-clip": [{
|
|
2048
|
+
"mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
2049
|
+
}, "mask-no-clip"],
|
|
2050
|
+
/**
|
|
2051
|
+
* Mask Composite
|
|
2052
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
2053
|
+
*/
|
|
2054
|
+
"mask-composite": [{
|
|
2055
|
+
mask: ["add", "subtract", "intersect", "exclude"]
|
|
2056
|
+
}],
|
|
2057
|
+
/**
|
|
2058
|
+
* Mask Image
|
|
2059
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2060
|
+
*/
|
|
2061
|
+
"mask-image-linear-pos": [{
|
|
2062
|
+
"mask-linear": [isNumber]
|
|
2063
|
+
}],
|
|
2064
|
+
"mask-image-linear-from-pos": [{
|
|
2065
|
+
"mask-linear-from": scaleMaskImagePosition()
|
|
2066
|
+
}],
|
|
2067
|
+
"mask-image-linear-to-pos": [{
|
|
2068
|
+
"mask-linear-to": scaleMaskImagePosition()
|
|
2069
|
+
}],
|
|
2070
|
+
"mask-image-linear-from-color": [{
|
|
2071
|
+
"mask-linear-from": scaleColor()
|
|
2072
|
+
}],
|
|
2073
|
+
"mask-image-linear-to-color": [{
|
|
2074
|
+
"mask-linear-to": scaleColor()
|
|
2075
|
+
}],
|
|
2076
|
+
"mask-image-t-from-pos": [{
|
|
2077
|
+
"mask-t-from": scaleMaskImagePosition()
|
|
2078
|
+
}],
|
|
2079
|
+
"mask-image-t-to-pos": [{
|
|
2080
|
+
"mask-t-to": scaleMaskImagePosition()
|
|
2081
|
+
}],
|
|
2082
|
+
"mask-image-t-from-color": [{
|
|
2083
|
+
"mask-t-from": scaleColor()
|
|
2084
|
+
}],
|
|
2085
|
+
"mask-image-t-to-color": [{
|
|
2086
|
+
"mask-t-to": scaleColor()
|
|
2087
|
+
}],
|
|
2088
|
+
"mask-image-r-from-pos": [{
|
|
2089
|
+
"mask-r-from": scaleMaskImagePosition()
|
|
2090
|
+
}],
|
|
2091
|
+
"mask-image-r-to-pos": [{
|
|
2092
|
+
"mask-r-to": scaleMaskImagePosition()
|
|
2093
|
+
}],
|
|
2094
|
+
"mask-image-r-from-color": [{
|
|
2095
|
+
"mask-r-from": scaleColor()
|
|
2096
|
+
}],
|
|
2097
|
+
"mask-image-r-to-color": [{
|
|
2098
|
+
"mask-r-to": scaleColor()
|
|
2099
|
+
}],
|
|
2100
|
+
"mask-image-b-from-pos": [{
|
|
2101
|
+
"mask-b-from": scaleMaskImagePosition()
|
|
2102
|
+
}],
|
|
2103
|
+
"mask-image-b-to-pos": [{
|
|
2104
|
+
"mask-b-to": scaleMaskImagePosition()
|
|
2105
|
+
}],
|
|
2106
|
+
"mask-image-b-from-color": [{
|
|
2107
|
+
"mask-b-from": scaleColor()
|
|
2108
|
+
}],
|
|
2109
|
+
"mask-image-b-to-color": [{
|
|
2110
|
+
"mask-b-to": scaleColor()
|
|
2111
|
+
}],
|
|
2112
|
+
"mask-image-l-from-pos": [{
|
|
2113
|
+
"mask-l-from": scaleMaskImagePosition()
|
|
2114
|
+
}],
|
|
2115
|
+
"mask-image-l-to-pos": [{
|
|
2116
|
+
"mask-l-to": scaleMaskImagePosition()
|
|
2117
|
+
}],
|
|
2118
|
+
"mask-image-l-from-color": [{
|
|
2119
|
+
"mask-l-from": scaleColor()
|
|
2120
|
+
}],
|
|
2121
|
+
"mask-image-l-to-color": [{
|
|
2122
|
+
"mask-l-to": scaleColor()
|
|
2123
|
+
}],
|
|
2124
|
+
"mask-image-x-from-pos": [{
|
|
2125
|
+
"mask-x-from": scaleMaskImagePosition()
|
|
2126
|
+
}],
|
|
2127
|
+
"mask-image-x-to-pos": [{
|
|
2128
|
+
"mask-x-to": scaleMaskImagePosition()
|
|
2129
|
+
}],
|
|
2130
|
+
"mask-image-x-from-color": [{
|
|
2131
|
+
"mask-x-from": scaleColor()
|
|
2132
|
+
}],
|
|
2133
|
+
"mask-image-x-to-color": [{
|
|
2134
|
+
"mask-x-to": scaleColor()
|
|
2135
|
+
}],
|
|
2136
|
+
"mask-image-y-from-pos": [{
|
|
2137
|
+
"mask-y-from": scaleMaskImagePosition()
|
|
2138
|
+
}],
|
|
2139
|
+
"mask-image-y-to-pos": [{
|
|
2140
|
+
"mask-y-to": scaleMaskImagePosition()
|
|
2141
|
+
}],
|
|
2142
|
+
"mask-image-y-from-color": [{
|
|
2143
|
+
"mask-y-from": scaleColor()
|
|
2144
|
+
}],
|
|
2145
|
+
"mask-image-y-to-color": [{
|
|
2146
|
+
"mask-y-to": scaleColor()
|
|
2147
|
+
}],
|
|
2148
|
+
"mask-image-radial": [{
|
|
2149
|
+
"mask-radial": [isArbitraryVariable, isArbitraryValue]
|
|
2150
|
+
}],
|
|
2151
|
+
"mask-image-radial-from-pos": [{
|
|
2152
|
+
"mask-radial-from": scaleMaskImagePosition()
|
|
2153
|
+
}],
|
|
2154
|
+
"mask-image-radial-to-pos": [{
|
|
2155
|
+
"mask-radial-to": scaleMaskImagePosition()
|
|
2156
|
+
}],
|
|
2157
|
+
"mask-image-radial-from-color": [{
|
|
2158
|
+
"mask-radial-from": scaleColor()
|
|
2159
|
+
}],
|
|
2160
|
+
"mask-image-radial-to-color": [{
|
|
2161
|
+
"mask-radial-to": scaleColor()
|
|
2162
|
+
}],
|
|
2163
|
+
"mask-image-radial-shape": [{
|
|
2164
|
+
"mask-radial": ["circle", "ellipse"]
|
|
2165
|
+
}],
|
|
2166
|
+
"mask-image-radial-size": [{
|
|
2167
|
+
"mask-radial": [{
|
|
2168
|
+
closest: ["side", "corner"],
|
|
2169
|
+
farthest: ["side", "corner"]
|
|
2170
|
+
}]
|
|
2171
|
+
}],
|
|
2172
|
+
"mask-image-radial-pos": [{
|
|
2173
|
+
"mask-radial-at": scalePosition()
|
|
2174
|
+
}],
|
|
2175
|
+
"mask-image-conic-pos": [{
|
|
2176
|
+
"mask-conic": [isNumber]
|
|
2177
|
+
}],
|
|
2178
|
+
"mask-image-conic-from-pos": [{
|
|
2179
|
+
"mask-conic-from": scaleMaskImagePosition()
|
|
2180
|
+
}],
|
|
2181
|
+
"mask-image-conic-to-pos": [{
|
|
2182
|
+
"mask-conic-to": scaleMaskImagePosition()
|
|
2183
|
+
}],
|
|
2184
|
+
"mask-image-conic-from-color": [{
|
|
2185
|
+
"mask-conic-from": scaleColor()
|
|
2186
|
+
}],
|
|
2187
|
+
"mask-image-conic-to-color": [{
|
|
2188
|
+
"mask-conic-to": scaleColor()
|
|
2189
|
+
}],
|
|
2190
|
+
/**
|
|
2191
|
+
* Mask Mode
|
|
2192
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
2193
|
+
*/
|
|
2194
|
+
"mask-mode": [{
|
|
2195
|
+
mask: ["alpha", "luminance", "match"]
|
|
2196
|
+
}],
|
|
2197
|
+
/**
|
|
2198
|
+
* Mask Origin
|
|
2199
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
2200
|
+
*/
|
|
2201
|
+
"mask-origin": [{
|
|
2202
|
+
"mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
2203
|
+
}],
|
|
2204
|
+
/**
|
|
2205
|
+
* Mask Position
|
|
2206
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
2207
|
+
*/
|
|
2208
|
+
"mask-position": [{
|
|
2209
|
+
mask: scaleBgPosition()
|
|
2210
|
+
}],
|
|
2211
|
+
/**
|
|
2212
|
+
* Mask Repeat
|
|
2213
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2214
|
+
*/
|
|
2215
|
+
"mask-repeat": [{
|
|
2216
|
+
mask: scaleBgRepeat()
|
|
2217
|
+
}],
|
|
2218
|
+
/**
|
|
2219
|
+
* Mask Size
|
|
2220
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
2221
|
+
*/
|
|
2222
|
+
"mask-size": [{
|
|
2223
|
+
mask: scaleBgSize()
|
|
2224
|
+
}],
|
|
2225
|
+
/**
|
|
2226
|
+
* Mask Type
|
|
2227
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
2228
|
+
*/
|
|
2229
|
+
"mask-type": [{
|
|
2230
|
+
"mask-type": ["alpha", "luminance"]
|
|
2231
|
+
}],
|
|
2232
|
+
/**
|
|
2233
|
+
* Mask Image
|
|
2234
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2235
|
+
*/
|
|
2236
|
+
"mask-image": [{
|
|
2237
|
+
mask: ["none", isArbitraryVariable, isArbitraryValue]
|
|
2238
|
+
}],
|
|
2239
|
+
// ---------------
|
|
2240
|
+
// --- Filters ---
|
|
2241
|
+
// ---------------
|
|
2242
|
+
/**
|
|
2243
|
+
* Filter
|
|
2244
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2245
|
+
*/
|
|
2246
|
+
filter: [{
|
|
2247
|
+
filter: [
|
|
2248
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2249
|
+
"",
|
|
2250
|
+
"none",
|
|
2251
|
+
isArbitraryVariable,
|
|
2252
|
+
isArbitraryValue
|
|
2253
|
+
]
|
|
2254
|
+
}],
|
|
2255
|
+
/**
|
|
2256
|
+
* Blur
|
|
2257
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2258
|
+
*/
|
|
2259
|
+
blur: [{
|
|
2260
|
+
blur: scaleBlur()
|
|
2261
|
+
}],
|
|
2262
|
+
/**
|
|
2263
|
+
* Brightness
|
|
2264
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2265
|
+
*/
|
|
2266
|
+
brightness: [{
|
|
2267
|
+
brightness: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2268
|
+
}],
|
|
2269
|
+
/**
|
|
2270
|
+
* Contrast
|
|
2271
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2272
|
+
*/
|
|
2273
|
+
contrast: [{
|
|
2274
|
+
contrast: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2275
|
+
}],
|
|
2276
|
+
/**
|
|
2277
|
+
* Drop Shadow
|
|
2278
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2279
|
+
*/
|
|
2280
|
+
"drop-shadow": [{
|
|
2281
|
+
"drop-shadow": [
|
|
2282
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
2283
|
+
"",
|
|
2284
|
+
"none",
|
|
2285
|
+
themeDropShadow,
|
|
2286
|
+
isArbitraryVariableShadow,
|
|
2287
|
+
isArbitraryShadow
|
|
2288
|
+
]
|
|
2289
|
+
}],
|
|
2290
|
+
/**
|
|
2291
|
+
* Drop Shadow Color
|
|
2292
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2293
|
+
*/
|
|
2294
|
+
"drop-shadow-color": [{
|
|
2295
|
+
"drop-shadow": scaleColor()
|
|
2296
|
+
}],
|
|
2297
|
+
/**
|
|
2298
|
+
* Grayscale
|
|
2299
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2300
|
+
*/
|
|
2301
|
+
grayscale: [{
|
|
2302
|
+
grayscale: ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2303
|
+
}],
|
|
2304
|
+
/**
|
|
2305
|
+
* Hue Rotate
|
|
2306
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2307
|
+
*/
|
|
2308
|
+
"hue-rotate": [{
|
|
2309
|
+
"hue-rotate": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2310
|
+
}],
|
|
2311
|
+
/**
|
|
2312
|
+
* Invert
|
|
2313
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2314
|
+
*/
|
|
2315
|
+
invert: [{
|
|
2316
|
+
invert: ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2317
|
+
}],
|
|
2318
|
+
/**
|
|
2319
|
+
* Saturate
|
|
2320
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2321
|
+
*/
|
|
2322
|
+
saturate: [{
|
|
2323
|
+
saturate: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2324
|
+
}],
|
|
2325
|
+
/**
|
|
2326
|
+
* Sepia
|
|
2327
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2328
|
+
*/
|
|
2329
|
+
sepia: [{
|
|
2330
|
+
sepia: ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2331
|
+
}],
|
|
2332
|
+
/**
|
|
2333
|
+
* Backdrop Filter
|
|
2334
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2335
|
+
*/
|
|
2336
|
+
"backdrop-filter": [{
|
|
2337
|
+
"backdrop-filter": [
|
|
2338
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2339
|
+
"",
|
|
2340
|
+
"none",
|
|
2341
|
+
isArbitraryVariable,
|
|
2342
|
+
isArbitraryValue
|
|
2343
|
+
]
|
|
2344
|
+
}],
|
|
2345
|
+
/**
|
|
2346
|
+
* Backdrop Blur
|
|
2347
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2348
|
+
*/
|
|
2349
|
+
"backdrop-blur": [{
|
|
2350
|
+
"backdrop-blur": scaleBlur()
|
|
2351
|
+
}],
|
|
2352
|
+
/**
|
|
2353
|
+
* Backdrop Brightness
|
|
2354
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2355
|
+
*/
|
|
2356
|
+
"backdrop-brightness": [{
|
|
2357
|
+
"backdrop-brightness": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2358
|
+
}],
|
|
2359
|
+
/**
|
|
2360
|
+
* Backdrop Contrast
|
|
2361
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2362
|
+
*/
|
|
2363
|
+
"backdrop-contrast": [{
|
|
2364
|
+
"backdrop-contrast": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2365
|
+
}],
|
|
2366
|
+
/**
|
|
2367
|
+
* Backdrop Grayscale
|
|
2368
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2369
|
+
*/
|
|
2370
|
+
"backdrop-grayscale": [{
|
|
2371
|
+
"backdrop-grayscale": ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2372
|
+
}],
|
|
2373
|
+
/**
|
|
2374
|
+
* Backdrop Hue Rotate
|
|
2375
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2376
|
+
*/
|
|
2377
|
+
"backdrop-hue-rotate": [{
|
|
2378
|
+
"backdrop-hue-rotate": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2379
|
+
}],
|
|
2380
|
+
/**
|
|
2381
|
+
* Backdrop Invert
|
|
2382
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2383
|
+
*/
|
|
2384
|
+
"backdrop-invert": [{
|
|
2385
|
+
"backdrop-invert": ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2386
|
+
}],
|
|
2387
|
+
/**
|
|
2388
|
+
* Backdrop Opacity
|
|
2389
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2390
|
+
*/
|
|
2391
|
+
"backdrop-opacity": [{
|
|
2392
|
+
"backdrop-opacity": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2393
|
+
}],
|
|
2394
|
+
/**
|
|
2395
|
+
* Backdrop Saturate
|
|
2396
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2397
|
+
*/
|
|
2398
|
+
"backdrop-saturate": [{
|
|
2399
|
+
"backdrop-saturate": [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2400
|
+
}],
|
|
2401
|
+
/**
|
|
2402
|
+
* Backdrop Sepia
|
|
2403
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2404
|
+
*/
|
|
2405
|
+
"backdrop-sepia": [{
|
|
2406
|
+
"backdrop-sepia": ["", isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2407
|
+
}],
|
|
2408
|
+
// --------------
|
|
2409
|
+
// --- Tables ---
|
|
2410
|
+
// --------------
|
|
2411
|
+
/**
|
|
2412
|
+
* Border Collapse
|
|
2413
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2414
|
+
*/
|
|
2415
|
+
"border-collapse": [{
|
|
2416
|
+
border: ["collapse", "separate"]
|
|
2417
|
+
}],
|
|
2418
|
+
/**
|
|
2419
|
+
* Border Spacing
|
|
2420
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2421
|
+
*/
|
|
2422
|
+
"border-spacing": [{
|
|
2423
|
+
"border-spacing": scaleUnambiguousSpacing()
|
|
2424
|
+
}],
|
|
2425
|
+
/**
|
|
2426
|
+
* Border Spacing X
|
|
2427
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2428
|
+
*/
|
|
2429
|
+
"border-spacing-x": [{
|
|
2430
|
+
"border-spacing-x": scaleUnambiguousSpacing()
|
|
2431
|
+
}],
|
|
2432
|
+
/**
|
|
2433
|
+
* Border Spacing Y
|
|
2434
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2435
|
+
*/
|
|
2436
|
+
"border-spacing-y": [{
|
|
2437
|
+
"border-spacing-y": scaleUnambiguousSpacing()
|
|
2438
|
+
}],
|
|
2439
|
+
/**
|
|
2440
|
+
* Table Layout
|
|
2441
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2442
|
+
*/
|
|
2443
|
+
"table-layout": [{
|
|
2444
|
+
table: ["auto", "fixed"]
|
|
2445
|
+
}],
|
|
2446
|
+
/**
|
|
2447
|
+
* Caption Side
|
|
2448
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2449
|
+
*/
|
|
2450
|
+
caption: [{
|
|
2451
|
+
caption: ["top", "bottom"]
|
|
2452
|
+
}],
|
|
2453
|
+
// ---------------------------------
|
|
2454
|
+
// --- Transitions and Animation ---
|
|
2455
|
+
// ---------------------------------
|
|
2456
|
+
/**
|
|
2457
|
+
* Transition Property
|
|
2458
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2459
|
+
*/
|
|
2460
|
+
transition: [{
|
|
2461
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", isArbitraryVariable, isArbitraryValue]
|
|
2462
|
+
}],
|
|
2463
|
+
/**
|
|
2464
|
+
* Transition Behavior
|
|
2465
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2466
|
+
*/
|
|
2467
|
+
"transition-behavior": [{
|
|
2468
|
+
transition: ["normal", "discrete"]
|
|
2469
|
+
}],
|
|
2470
|
+
/**
|
|
2471
|
+
* Transition Duration
|
|
2472
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2473
|
+
*/
|
|
2474
|
+
duration: [{
|
|
2475
|
+
duration: [isNumber, "initial", isArbitraryVariable, isArbitraryValue]
|
|
2476
|
+
}],
|
|
2477
|
+
/**
|
|
2478
|
+
* Transition Timing Function
|
|
2479
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2480
|
+
*/
|
|
2481
|
+
ease: [{
|
|
2482
|
+
ease: ["linear", "initial", themeEase, isArbitraryVariable, isArbitraryValue]
|
|
2483
|
+
}],
|
|
2484
|
+
/**
|
|
2485
|
+
* Transition Delay
|
|
2486
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2487
|
+
*/
|
|
2488
|
+
delay: [{
|
|
2489
|
+
delay: [isNumber, isArbitraryVariable, isArbitraryValue]
|
|
2490
|
+
}],
|
|
2491
|
+
/**
|
|
2492
|
+
* Animation
|
|
2493
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2494
|
+
*/
|
|
2495
|
+
animate: [{
|
|
2496
|
+
animate: ["none", themeAnimate, isArbitraryVariable, isArbitraryValue]
|
|
2497
|
+
}],
|
|
2498
|
+
// ------------------
|
|
2499
|
+
// --- Transforms ---
|
|
2500
|
+
// ------------------
|
|
2501
|
+
/**
|
|
2502
|
+
* Backface Visibility
|
|
2503
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2504
|
+
*/
|
|
2505
|
+
backface: [{
|
|
2506
|
+
backface: ["hidden", "visible"]
|
|
2507
|
+
}],
|
|
2508
|
+
/**
|
|
2509
|
+
* Perspective
|
|
2510
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
2511
|
+
*/
|
|
2512
|
+
perspective: [{
|
|
2513
|
+
perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]
|
|
2514
|
+
}],
|
|
2515
|
+
/**
|
|
2516
|
+
* Perspective Origin
|
|
2517
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2518
|
+
*/
|
|
2519
|
+
"perspective-origin": [{
|
|
2520
|
+
"perspective-origin": scalePositionWithArbitrary()
|
|
2521
|
+
}],
|
|
2522
|
+
/**
|
|
2523
|
+
* Rotate
|
|
2524
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2525
|
+
*/
|
|
2526
|
+
rotate: [{
|
|
2527
|
+
rotate: scaleRotate()
|
|
2528
|
+
}],
|
|
2529
|
+
/**
|
|
2530
|
+
* Rotate X
|
|
2531
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2532
|
+
*/
|
|
2533
|
+
"rotate-x": [{
|
|
2534
|
+
"rotate-x": scaleRotate()
|
|
2535
|
+
}],
|
|
2536
|
+
/**
|
|
2537
|
+
* Rotate Y
|
|
2538
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2539
|
+
*/
|
|
2540
|
+
"rotate-y": [{
|
|
2541
|
+
"rotate-y": scaleRotate()
|
|
2542
|
+
}],
|
|
2543
|
+
/**
|
|
2544
|
+
* Rotate Z
|
|
2545
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2546
|
+
*/
|
|
2547
|
+
"rotate-z": [{
|
|
2548
|
+
"rotate-z": scaleRotate()
|
|
2549
|
+
}],
|
|
2550
|
+
/**
|
|
2551
|
+
* Scale
|
|
2552
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2553
|
+
*/
|
|
2554
|
+
scale: [{
|
|
2555
|
+
scale: scaleScale()
|
|
2556
|
+
}],
|
|
2557
|
+
/**
|
|
2558
|
+
* Scale X
|
|
2559
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2560
|
+
*/
|
|
2561
|
+
"scale-x": [{
|
|
2562
|
+
"scale-x": scaleScale()
|
|
2563
|
+
}],
|
|
2564
|
+
/**
|
|
2565
|
+
* Scale Y
|
|
2566
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2567
|
+
*/
|
|
2568
|
+
"scale-y": [{
|
|
2569
|
+
"scale-y": scaleScale()
|
|
2570
|
+
}],
|
|
2571
|
+
/**
|
|
2572
|
+
* Scale Z
|
|
2573
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2574
|
+
*/
|
|
2575
|
+
"scale-z": [{
|
|
2576
|
+
"scale-z": scaleScale()
|
|
2577
|
+
}],
|
|
2578
|
+
/**
|
|
2579
|
+
* Scale 3D
|
|
2580
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2581
|
+
*/
|
|
2582
|
+
"scale-3d": ["scale-3d"],
|
|
2583
|
+
/**
|
|
2584
|
+
* Skew
|
|
2585
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2586
|
+
*/
|
|
2587
|
+
skew: [{
|
|
2588
|
+
skew: scaleSkew()
|
|
2589
|
+
}],
|
|
2590
|
+
/**
|
|
2591
|
+
* Skew X
|
|
2592
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2593
|
+
*/
|
|
2594
|
+
"skew-x": [{
|
|
2595
|
+
"skew-x": scaleSkew()
|
|
2596
|
+
}],
|
|
2597
|
+
/**
|
|
2598
|
+
* Skew Y
|
|
2599
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2600
|
+
*/
|
|
2601
|
+
"skew-y": [{
|
|
2602
|
+
"skew-y": scaleSkew()
|
|
2603
|
+
}],
|
|
2604
|
+
/**
|
|
2605
|
+
* Transform
|
|
2606
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2607
|
+
*/
|
|
2608
|
+
transform: [{
|
|
2609
|
+
transform: [isArbitraryVariable, isArbitraryValue, "", "none", "gpu", "cpu"]
|
|
2610
|
+
}],
|
|
2611
|
+
/**
|
|
2612
|
+
* Transform Origin
|
|
2613
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2614
|
+
*/
|
|
2615
|
+
"transform-origin": [{
|
|
2616
|
+
origin: scalePositionWithArbitrary()
|
|
2617
|
+
}],
|
|
2618
|
+
/**
|
|
2619
|
+
* Transform Style
|
|
2620
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
2621
|
+
*/
|
|
2622
|
+
"transform-style": [{
|
|
2623
|
+
transform: ["3d", "flat"]
|
|
2624
|
+
}],
|
|
2625
|
+
/**
|
|
2626
|
+
* Translate
|
|
2627
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2628
|
+
*/
|
|
2629
|
+
translate: [{
|
|
2630
|
+
translate: scaleTranslate()
|
|
2631
|
+
}],
|
|
2632
|
+
/**
|
|
2633
|
+
* Translate X
|
|
2634
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2635
|
+
*/
|
|
2636
|
+
"translate-x": [{
|
|
2637
|
+
"translate-x": scaleTranslate()
|
|
2638
|
+
}],
|
|
2639
|
+
/**
|
|
2640
|
+
* Translate Y
|
|
2641
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2642
|
+
*/
|
|
2643
|
+
"translate-y": [{
|
|
2644
|
+
"translate-y": scaleTranslate()
|
|
2645
|
+
}],
|
|
2646
|
+
/**
|
|
2647
|
+
* Translate Z
|
|
2648
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2649
|
+
*/
|
|
2650
|
+
"translate-z": [{
|
|
2651
|
+
"translate-z": scaleTranslate()
|
|
2652
|
+
}],
|
|
2653
|
+
/**
|
|
2654
|
+
* Translate None
|
|
2655
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2656
|
+
*/
|
|
2657
|
+
"translate-none": ["translate-none"],
|
|
2658
|
+
// ---------------------
|
|
2659
|
+
// --- Interactivity ---
|
|
2660
|
+
// ---------------------
|
|
2661
|
+
/**
|
|
2662
|
+
* Accent Color
|
|
2663
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2664
|
+
*/
|
|
2665
|
+
accent: [{
|
|
2666
|
+
accent: scaleColor()
|
|
2667
|
+
}],
|
|
2668
|
+
/**
|
|
2669
|
+
* Appearance
|
|
2670
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2671
|
+
*/
|
|
2672
|
+
appearance: [{
|
|
2673
|
+
appearance: ["none", "auto"]
|
|
2674
|
+
}],
|
|
2675
|
+
/**
|
|
2676
|
+
* Caret Color
|
|
2677
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2678
|
+
*/
|
|
2679
|
+
"caret-color": [{
|
|
2680
|
+
caret: scaleColor()
|
|
2681
|
+
}],
|
|
2682
|
+
/**
|
|
2683
|
+
* Color Scheme
|
|
2684
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
2685
|
+
*/
|
|
2686
|
+
"color-scheme": [{
|
|
2687
|
+
scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
|
|
2688
|
+
}],
|
|
2689
|
+
/**
|
|
2690
|
+
* Cursor
|
|
2691
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2692
|
+
*/
|
|
2693
|
+
cursor: [{
|
|
2694
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryVariable, isArbitraryValue]
|
|
2695
|
+
}],
|
|
2696
|
+
/**
|
|
2697
|
+
* Field Sizing
|
|
2698
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
2699
|
+
*/
|
|
2700
|
+
"field-sizing": [{
|
|
2701
|
+
"field-sizing": ["fixed", "content"]
|
|
2702
|
+
}],
|
|
2703
|
+
/**
|
|
2704
|
+
* Pointer Events
|
|
2705
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2706
|
+
*/
|
|
2707
|
+
"pointer-events": [{
|
|
2708
|
+
"pointer-events": ["auto", "none"]
|
|
2709
|
+
}],
|
|
2710
|
+
/**
|
|
2711
|
+
* Resize
|
|
2712
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2713
|
+
*/
|
|
2714
|
+
resize: [{
|
|
2715
|
+
resize: ["none", "", "y", "x"]
|
|
2716
|
+
}],
|
|
2717
|
+
/**
|
|
2718
|
+
* Scroll Behavior
|
|
2719
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2720
|
+
*/
|
|
2721
|
+
"scroll-behavior": [{
|
|
2722
|
+
scroll: ["auto", "smooth"]
|
|
2723
|
+
}],
|
|
2724
|
+
/**
|
|
2725
|
+
* Scroll Margin
|
|
2726
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2727
|
+
*/
|
|
2728
|
+
"scroll-m": [{
|
|
2729
|
+
"scroll-m": scaleUnambiguousSpacing()
|
|
2730
|
+
}],
|
|
2731
|
+
/**
|
|
2732
|
+
* Scroll Margin X
|
|
2733
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2734
|
+
*/
|
|
2735
|
+
"scroll-mx": [{
|
|
2736
|
+
"scroll-mx": scaleUnambiguousSpacing()
|
|
2737
|
+
}],
|
|
2738
|
+
/**
|
|
2739
|
+
* Scroll Margin Y
|
|
2740
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2741
|
+
*/
|
|
2742
|
+
"scroll-my": [{
|
|
2743
|
+
"scroll-my": scaleUnambiguousSpacing()
|
|
2744
|
+
}],
|
|
2745
|
+
/**
|
|
2746
|
+
* Scroll Margin Start
|
|
2747
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2748
|
+
*/
|
|
2749
|
+
"scroll-ms": [{
|
|
2750
|
+
"scroll-ms": scaleUnambiguousSpacing()
|
|
2751
|
+
}],
|
|
2752
|
+
/**
|
|
2753
|
+
* Scroll Margin End
|
|
2754
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2755
|
+
*/
|
|
2756
|
+
"scroll-me": [{
|
|
2757
|
+
"scroll-me": scaleUnambiguousSpacing()
|
|
2758
|
+
}],
|
|
2759
|
+
/**
|
|
2760
|
+
* Scroll Margin Top
|
|
2761
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2762
|
+
*/
|
|
2763
|
+
"scroll-mt": [{
|
|
2764
|
+
"scroll-mt": scaleUnambiguousSpacing()
|
|
2765
|
+
}],
|
|
2766
|
+
/**
|
|
2767
|
+
* Scroll Margin Right
|
|
2768
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2769
|
+
*/
|
|
2770
|
+
"scroll-mr": [{
|
|
2771
|
+
"scroll-mr": scaleUnambiguousSpacing()
|
|
2772
|
+
}],
|
|
2773
|
+
/**
|
|
2774
|
+
* Scroll Margin Bottom
|
|
2775
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2776
|
+
*/
|
|
2777
|
+
"scroll-mb": [{
|
|
2778
|
+
"scroll-mb": scaleUnambiguousSpacing()
|
|
2779
|
+
}],
|
|
2780
|
+
/**
|
|
2781
|
+
* Scroll Margin Left
|
|
2782
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2783
|
+
*/
|
|
2784
|
+
"scroll-ml": [{
|
|
2785
|
+
"scroll-ml": scaleUnambiguousSpacing()
|
|
2786
|
+
}],
|
|
2787
|
+
/**
|
|
2788
|
+
* Scroll Padding
|
|
2789
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2790
|
+
*/
|
|
2791
|
+
"scroll-p": [{
|
|
2792
|
+
"scroll-p": scaleUnambiguousSpacing()
|
|
2793
|
+
}],
|
|
2794
|
+
/**
|
|
2795
|
+
* Scroll Padding X
|
|
2796
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2797
|
+
*/
|
|
2798
|
+
"scroll-px": [{
|
|
2799
|
+
"scroll-px": scaleUnambiguousSpacing()
|
|
2800
|
+
}],
|
|
2801
|
+
/**
|
|
2802
|
+
* Scroll Padding Y
|
|
2803
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2804
|
+
*/
|
|
2805
|
+
"scroll-py": [{
|
|
2806
|
+
"scroll-py": scaleUnambiguousSpacing()
|
|
2807
|
+
}],
|
|
2808
|
+
/**
|
|
2809
|
+
* Scroll Padding Start
|
|
2810
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2811
|
+
*/
|
|
2812
|
+
"scroll-ps": [{
|
|
2813
|
+
"scroll-ps": scaleUnambiguousSpacing()
|
|
2814
|
+
}],
|
|
2815
|
+
/**
|
|
2816
|
+
* Scroll Padding End
|
|
2817
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2818
|
+
*/
|
|
2819
|
+
"scroll-pe": [{
|
|
2820
|
+
"scroll-pe": scaleUnambiguousSpacing()
|
|
2821
|
+
}],
|
|
2822
|
+
/**
|
|
2823
|
+
* Scroll Padding Top
|
|
2824
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2825
|
+
*/
|
|
2826
|
+
"scroll-pt": [{
|
|
2827
|
+
"scroll-pt": scaleUnambiguousSpacing()
|
|
2828
|
+
}],
|
|
2829
|
+
/**
|
|
2830
|
+
* Scroll Padding Right
|
|
2831
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2832
|
+
*/
|
|
2833
|
+
"scroll-pr": [{
|
|
2834
|
+
"scroll-pr": scaleUnambiguousSpacing()
|
|
2835
|
+
}],
|
|
2836
|
+
/**
|
|
2837
|
+
* Scroll Padding Bottom
|
|
2838
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2839
|
+
*/
|
|
2840
|
+
"scroll-pb": [{
|
|
2841
|
+
"scroll-pb": scaleUnambiguousSpacing()
|
|
2842
|
+
}],
|
|
2843
|
+
/**
|
|
2844
|
+
* Scroll Padding Left
|
|
2845
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2846
|
+
*/
|
|
2847
|
+
"scroll-pl": [{
|
|
2848
|
+
"scroll-pl": scaleUnambiguousSpacing()
|
|
2849
|
+
}],
|
|
2850
|
+
/**
|
|
2851
|
+
* Scroll Snap Align
|
|
2852
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2853
|
+
*/
|
|
2854
|
+
"snap-align": [{
|
|
2855
|
+
snap: ["start", "end", "center", "align-none"]
|
|
2856
|
+
}],
|
|
2857
|
+
/**
|
|
2858
|
+
* Scroll Snap Stop
|
|
2859
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2860
|
+
*/
|
|
2861
|
+
"snap-stop": [{
|
|
2862
|
+
snap: ["normal", "always"]
|
|
2863
|
+
}],
|
|
2864
|
+
/**
|
|
2865
|
+
* Scroll Snap Type
|
|
2866
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2867
|
+
*/
|
|
2868
|
+
"snap-type": [{
|
|
2869
|
+
snap: ["none", "x", "y", "both"]
|
|
2870
|
+
}],
|
|
2871
|
+
/**
|
|
2872
|
+
* Scroll Snap Type Strictness
|
|
2873
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2874
|
+
*/
|
|
2875
|
+
"snap-strictness": [{
|
|
2876
|
+
snap: ["mandatory", "proximity"]
|
|
2877
|
+
}],
|
|
2878
|
+
/**
|
|
2879
|
+
* Touch Action
|
|
2880
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2881
|
+
*/
|
|
2882
|
+
touch: [{
|
|
2883
|
+
touch: ["auto", "none", "manipulation"]
|
|
2884
|
+
}],
|
|
2885
|
+
/**
|
|
2886
|
+
* Touch Action X
|
|
2887
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2888
|
+
*/
|
|
2889
|
+
"touch-x": [{
|
|
2890
|
+
"touch-pan": ["x", "left", "right"]
|
|
2891
|
+
}],
|
|
2892
|
+
/**
|
|
2893
|
+
* Touch Action Y
|
|
2894
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2895
|
+
*/
|
|
2896
|
+
"touch-y": [{
|
|
2897
|
+
"touch-pan": ["y", "up", "down"]
|
|
2898
|
+
}],
|
|
2899
|
+
/**
|
|
2900
|
+
* Touch Action Pinch Zoom
|
|
2901
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2902
|
+
*/
|
|
2903
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
2904
|
+
/**
|
|
2905
|
+
* User Select
|
|
2906
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
2907
|
+
*/
|
|
2908
|
+
select: [{
|
|
2909
|
+
select: ["none", "text", "all", "auto"]
|
|
2910
|
+
}],
|
|
2911
|
+
/**
|
|
2912
|
+
* Will Change
|
|
2913
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
2914
|
+
*/
|
|
2915
|
+
"will-change": [{
|
|
2916
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryVariable, isArbitraryValue]
|
|
2917
|
+
}],
|
|
2918
|
+
// -----------
|
|
2919
|
+
// --- SVG ---
|
|
2920
|
+
// -----------
|
|
2921
|
+
/**
|
|
2922
|
+
* Fill
|
|
2923
|
+
* @see https://tailwindcss.com/docs/fill
|
|
2924
|
+
*/
|
|
2925
|
+
fill: [{
|
|
2926
|
+
fill: ["none", ...scaleColor()]
|
|
2927
|
+
}],
|
|
2928
|
+
/**
|
|
2929
|
+
* Stroke Width
|
|
2930
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
2931
|
+
*/
|
|
2932
|
+
"stroke-w": [{
|
|
2933
|
+
stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
|
|
2934
|
+
}],
|
|
2935
|
+
/**
|
|
2936
|
+
* Stroke
|
|
2937
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
2938
|
+
*/
|
|
2939
|
+
stroke: [{
|
|
2940
|
+
stroke: ["none", ...scaleColor()]
|
|
2941
|
+
}],
|
|
2942
|
+
// ---------------------
|
|
2943
|
+
// --- Accessibility ---
|
|
2944
|
+
// ---------------------
|
|
2945
|
+
/**
|
|
2946
|
+
* Forced Color Adjust
|
|
2947
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2948
|
+
*/
|
|
2949
|
+
"forced-color-adjust": [{
|
|
2950
|
+
"forced-color-adjust": ["auto", "none"]
|
|
2951
|
+
}]
|
|
2952
|
+
},
|
|
2953
|
+
conflictingClassGroups: {
|
|
2954
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
2955
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2956
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2957
|
+
"inset-x": ["right", "left"],
|
|
2958
|
+
"inset-y": ["top", "bottom"],
|
|
2959
|
+
flex: ["basis", "grow", "shrink"],
|
|
2960
|
+
gap: ["gap-x", "gap-y"],
|
|
2961
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2962
|
+
px: ["pr", "pl"],
|
|
2963
|
+
py: ["pt", "pb"],
|
|
2964
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2965
|
+
mx: ["mr", "ml"],
|
|
2966
|
+
my: ["mt", "mb"],
|
|
2967
|
+
size: ["w", "h"],
|
|
2968
|
+
"font-size": ["leading"],
|
|
2969
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2970
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
2971
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
2972
|
+
"fvn-figure": ["fvn-normal"],
|
|
2973
|
+
"fvn-spacing": ["fvn-normal"],
|
|
2974
|
+
"fvn-fraction": ["fvn-normal"],
|
|
2975
|
+
"line-clamp": ["display", "overflow"],
|
|
2976
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
2977
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2978
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2979
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2980
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2981
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2982
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2983
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2984
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2985
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2986
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2987
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2988
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2989
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2990
|
+
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2991
|
+
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2992
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2993
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2994
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2995
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2996
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2997
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2998
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
2999
|
+
"touch-x": ["touch"],
|
|
3000
|
+
"touch-y": ["touch"],
|
|
3001
|
+
"touch-pz": ["touch"]
|
|
3002
|
+
},
|
|
3003
|
+
conflictingClassGroupModifiers: {
|
|
3004
|
+
"font-size": ["leading"]
|
|
3005
|
+
},
|
|
3006
|
+
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3007
|
+
};
|
|
3008
|
+
};
|
|
3009
|
+
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
3010
|
+
exports.createTailwindMerge = createTailwindMerge;
|
|
3011
|
+
exports.fromTheme = fromTheme;
|
|
3012
|
+
exports.getDefaultConfig = getDefaultConfig;
|
|
3013
|
+
exports.twJoin = twJoin;
|
|
3014
|
+
exports.twMerge = twMerge;
|
|
2
3015
|
//# sourceMappingURL=bundle-mjs.cjs.map
|