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