@stardeckai/autumn-js 0.1.85
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/LICENSE.md +7 -0
- package/README.md +12 -0
- package/dist/libraries/backend/balancesTypes-BrQjQCw3.d.ts +1822 -0
- package/dist/libraries/backend/balancesTypes-Dk9mLKO8.d.mts +1822 -0
- package/dist/libraries/backend/better-auth.d.mts +772 -0
- package/dist/libraries/backend/better-auth.d.ts +772 -0
- package/dist/libraries/backend/better-auth.js +2872 -0
- package/dist/libraries/backend/better-auth.mjs +482 -0
- package/dist/libraries/backend/chunk-4LJK3VUJ.mjs +48 -0
- package/dist/libraries/backend/chunk-7AOVJSWM.mjs +158 -0
- package/dist/libraries/backend/chunk-ENC3BP6R.mjs +53 -0
- package/dist/libraries/backend/chunk-IZDJ3I6T.mjs +1749 -0
- package/dist/libraries/backend/chunk-KSG3E4Q2.mjs +8 -0
- package/dist/libraries/backend/chunk-LM7CBUUT.mjs +95 -0
- package/dist/libraries/backend/chunk-NRKSUO62.mjs +115 -0
- package/dist/libraries/backend/chunk-SGEUXFOF.mjs +40 -0
- package/dist/libraries/backend/chunk-SRJD6EXQ.mjs +104 -0
- package/dist/libraries/backend/chunk-UNZHJTEY.mjs +18 -0
- package/dist/libraries/backend/chunk-ZGBFNNRL.mjs +78 -0
- package/dist/libraries/backend/chunk-ZW3KBZDU.mjs +30 -0
- package/dist/libraries/backend/constants.d.mts +4 -0
- package/dist/libraries/backend/constants.d.ts +4 -0
- package/dist/libraries/backend/constants.js +33 -0
- package/dist/libraries/backend/constants.mjs +8 -0
- package/dist/libraries/backend/convex.d.mts +16 -0
- package/dist/libraries/backend/convex.d.ts +16 -0
- package/dist/libraries/backend/convex.js +2468 -0
- package/dist/libraries/backend/convex.mjs +164 -0
- package/dist/libraries/backend/elysia.d.mts +35 -0
- package/dist/libraries/backend/elysia.d.ts +35 -0
- package/dist/libraries/backend/elysia.js +2399 -0
- package/dist/libraries/backend/elysia.mjs +102 -0
- package/dist/libraries/backend/express.d.mts +16 -0
- package/dist/libraries/backend/express.d.ts +16 -0
- package/dist/libraries/backend/express.js +2371 -0
- package/dist/libraries/backend/express.mjs +72 -0
- package/dist/libraries/backend/fastify.d.mts +9 -0
- package/dist/libraries/backend/fastify.d.ts +9 -0
- package/dist/libraries/backend/fastify.js +2368 -0
- package/dist/libraries/backend/fastify.mjs +69 -0
- package/dist/libraries/backend/hono.d.mts +12 -0
- package/dist/libraries/backend/hono.d.ts +12 -0
- package/dist/libraries/backend/hono.js +2365 -0
- package/dist/libraries/backend/hono.mjs +66 -0
- package/dist/libraries/backend/index.d.mts +25 -0
- package/dist/libraries/backend/index.d.ts +25 -0
- package/dist/libraries/backend/index.js +2376 -0
- package/dist/libraries/backend/index.mjs +74 -0
- package/dist/libraries/backend/next.d.mts +13 -0
- package/dist/libraries/backend/next.d.ts +13 -0
- package/dist/libraries/backend/next.js +2395 -0
- package/dist/libraries/backend/next.mjs +94 -0
- package/dist/libraries/backend/react-router.d.mts +12 -0
- package/dist/libraries/backend/react-router.d.ts +12 -0
- package/dist/libraries/backend/react-router.js +2396 -0
- package/dist/libraries/backend/react-router.mjs +97 -0
- package/dist/libraries/backend/remix_dep.d.mts +15 -0
- package/dist/libraries/backend/remix_dep.d.ts +15 -0
- package/dist/libraries/backend/remix_dep.js +2360 -0
- package/dist/libraries/backend/remix_dep.mjs +73 -0
- package/dist/libraries/backend/response-BBvvMvoC.d.mts +30 -0
- package/dist/libraries/backend/response-BBvvMvoC.d.ts +30 -0
- package/dist/libraries/backend/routes/analyticsRoutes.d.mts +6 -0
- package/dist/libraries/backend/routes/analyticsRoutes.d.ts +6 -0
- package/dist/libraries/backend/routes/analyticsRoutes.js +1936 -0
- package/dist/libraries/backend/routes/analyticsRoutes.mjs +10 -0
- package/dist/libraries/backend/routes/backendRouter.d.mts +12 -0
- package/dist/libraries/backend/routes/backendRouter.d.ts +12 -0
- package/dist/libraries/backend/routes/backendRouter.js +2304 -0
- package/dist/libraries/backend/routes/backendRouter.mjs +15 -0
- package/dist/libraries/backend/routes/basePath.d.mts +2 -0
- package/dist/libraries/backend/routes/basePath.d.ts +2 -0
- package/dist/libraries/backend/routes/basePath.js +1 -0
- package/dist/libraries/backend/routes/basePath.mjs +0 -0
- package/dist/libraries/backend/routes/entityRoutes.d.mts +6 -0
- package/dist/libraries/backend/routes/entityRoutes.d.ts +6 -0
- package/dist/libraries/backend/routes/entityRoutes.js +1963 -0
- package/dist/libraries/backend/routes/entityRoutes.mjs +10 -0
- package/dist/libraries/backend/routes/genRoutes.d.mts +6 -0
- package/dist/libraries/backend/routes/genRoutes.d.ts +6 -0
- package/dist/libraries/backend/routes/genRoutes.js +2041 -0
- package/dist/libraries/backend/routes/genRoutes.mjs +10 -0
- package/dist/libraries/backend/routes/productRoutes.d.mts +6 -0
- package/dist/libraries/backend/routes/productRoutes.d.ts +6 -0
- package/dist/libraries/backend/routes/productRoutes.js +1913 -0
- package/dist/libraries/backend/routes/productRoutes.mjs +10 -0
- package/dist/libraries/backend/routes/referralRoutes.d.mts +6 -0
- package/dist/libraries/backend/routes/referralRoutes.d.ts +6 -0
- package/dist/libraries/backend/routes/referralRoutes.js +1931 -0
- package/dist/libraries/backend/routes/referralRoutes.mjs +10 -0
- package/dist/libraries/backend/schemas/zod.d.mts +71 -0
- package/dist/libraries/backend/schemas/zod.d.ts +71 -0
- package/dist/libraries/backend/schemas/zod.js +101 -0
- package/dist/libraries/backend/schemas/zod.mjs +68 -0
- package/dist/libraries/backend/supabase.d.mts +9 -0
- package/dist/libraries/backend/supabase.d.ts +9 -0
- package/dist/libraries/backend/supabase.js +2394 -0
- package/dist/libraries/backend/supabase.mjs +95 -0
- package/dist/libraries/backend/tanstack.d.mts +32 -0
- package/dist/libraries/backend/tanstack.d.ts +32 -0
- package/dist/libraries/backend/tanstack.js +2384 -0
- package/dist/libraries/backend/tanstack.mjs +83 -0
- package/dist/libraries/backend/utils/AuthFunction.d.mts +9 -0
- package/dist/libraries/backend/utils/AuthFunction.d.ts +9 -0
- package/dist/libraries/backend/utils/AuthFunction.js +18 -0
- package/dist/libraries/backend/utils/AuthFunction.mjs +0 -0
- package/dist/libraries/backend/utils/backendRes.d.mts +19 -0
- package/dist/libraries/backend/utils/backendRes.d.ts +19 -0
- package/dist/libraries/backend/utils/backendRes.js +1791 -0
- package/dist/libraries/backend/utils/backendRes.mjs +10 -0
- package/dist/libraries/backend/utils/betterAuth/middlewares.d.mts +26 -0
- package/dist/libraries/backend/utils/betterAuth/middlewares.d.ts +26 -0
- package/dist/libraries/backend/utils/betterAuth/middlewares.js +130 -0
- package/dist/libraries/backend/utils/betterAuth/middlewares.mjs +10 -0
- package/dist/libraries/backend/utils/betterAuth/types.d.mts +19 -0
- package/dist/libraries/backend/utils/betterAuth/types.d.ts +19 -0
- package/dist/libraries/backend/utils/betterAuth/types.js +18 -0
- package/dist/libraries/backend/utils/betterAuth/types.mjs +0 -0
- package/dist/libraries/backend/utils/logBackendErrors.d.mts +5 -0
- package/dist/libraries/backend/utils/logBackendErrors.d.ts +5 -0
- package/dist/libraries/backend/utils/logBackendErrors.js +73 -0
- package/dist/libraries/backend/utils/logBackendErrors.mjs +13 -0
- package/dist/libraries/backend/utils/secretKeyCheck.d.mts +13 -0
- package/dist/libraries/backend/utils/secretKeyCheck.d.ts +13 -0
- package/dist/libraries/backend/utils/secretKeyCheck.js +42 -0
- package/dist/libraries/backend/utils/secretKeyCheck.mjs +6 -0
- package/dist/libraries/backend/utils/withAuth.d.mts +29 -0
- package/dist/libraries/backend/utils/withAuth.d.ts +29 -0
- package/dist/libraries/backend/utils/withAuth.js +1892 -0
- package/dist/libraries/backend/utils/withAuth.mjs +9 -0
- package/dist/libraries/react/AutumnContext.d.mts +34 -0
- package/dist/libraries/react/AutumnContext.d.ts +34 -0
- package/dist/libraries/react/AutumnContext.js +2162 -0
- package/dist/libraries/react/AutumnContext.mjs +20 -0
- package/dist/libraries/react/BaseAutumnProvider.d.mts +18 -0
- package/dist/libraries/react/BaseAutumnProvider.d.ts +18 -0
- package/dist/libraries/react/BaseAutumnProvider.js +2833 -0
- package/dist/libraries/react/BaseAutumnProvider.mjs +25 -0
- package/dist/libraries/react/ReactAutumnClient-BJzchCM3.d.ts +304 -0
- package/dist/libraries/react/ReactAutumnClient-Cc2rjUsz.d.mts +304 -0
- package/dist/libraries/react/ReactAutumnProvider.d.mts +20 -0
- package/dist/libraries/react/ReactAutumnProvider.d.ts +20 -0
- package/dist/libraries/react/ReactAutumnProvider.js +3229 -0
- package/dist/libraries/react/ReactAutumnProvider.mjs +26 -0
- package/dist/libraries/react/attachTypes-BNlJ6XXa.d.mts +69 -0
- package/dist/libraries/react/attachTypes-eg914-6v.d.ts +69 -0
- package/dist/libraries/react/chunk-2ZZJUGBO.mjs +138 -0
- package/dist/libraries/react/chunk-4J2T27L6.mjs +99 -0
- package/dist/libraries/react/chunk-4J6OC4ZQ.mjs +2532 -0
- package/dist/libraries/react/chunk-6EXNYWJX.mjs +67 -0
- package/dist/libraries/react/chunk-736TFHSL.mjs +18 -0
- package/dist/libraries/react/chunk-ACRIHVEO.mjs +134 -0
- package/dist/libraries/react/chunk-ACSLCOHZ.mjs +198 -0
- package/dist/libraries/react/chunk-BGOD72CO.mjs +20 -0
- package/dist/libraries/react/chunk-BLM4DAAR.mjs +158 -0
- package/dist/libraries/react/chunk-BVK3DYFG.mjs +157 -0
- package/dist/libraries/react/chunk-CIBQ4BJU.mjs +19 -0
- package/dist/libraries/react/chunk-CSHDMTUY.mjs +52 -0
- package/dist/libraries/react/chunk-D2TXVOAD.mjs +50 -0
- package/dist/libraries/react/chunk-EAZME3W6.mjs +89 -0
- package/dist/libraries/react/chunk-FDURBIAI.mjs +2520 -0
- package/dist/libraries/react/chunk-FK5QRKSW.mjs +747 -0
- package/dist/libraries/react/chunk-GUM4HIGI.mjs +30 -0
- package/dist/libraries/react/chunk-I5ZGIAIX.mjs +57 -0
- package/dist/libraries/react/chunk-IKJYNTI5.mjs +1335 -0
- package/dist/libraries/react/chunk-J24P6YUI.mjs +25 -0
- package/dist/libraries/react/chunk-JNGOZQHP.mjs +62 -0
- package/dist/libraries/react/chunk-JVCOY7ZL.mjs +22 -0
- package/dist/libraries/react/chunk-KEGHYZMH.mjs +584 -0
- package/dist/libraries/react/chunk-LDGZ322L.mjs +92 -0
- package/dist/libraries/react/chunk-MPAPGILW.mjs +360 -0
- package/dist/libraries/react/chunk-NBCD7YQN.mjs +151 -0
- package/dist/libraries/react/chunk-OO5IBU2P.mjs +67 -0
- package/dist/libraries/react/chunk-OYBOLAL5.mjs +31 -0
- package/dist/libraries/react/chunk-Q24L3UDQ.mjs +206 -0
- package/dist/libraries/react/chunk-R4I7MVEX.mjs +46 -0
- package/dist/libraries/react/chunk-RFSQBGLO.mjs +21 -0
- package/dist/libraries/react/chunk-SGEO7BFC.mjs +44 -0
- package/dist/libraries/react/chunk-SUENW2KS.mjs +17 -0
- package/dist/libraries/react/chunk-TI73WOTR.mjs +256 -0
- package/dist/libraries/react/chunk-URQMBRFZ.mjs +62 -0
- package/dist/libraries/react/chunk-V575SGOW.mjs +12 -0
- package/dist/libraries/react/chunk-VPW2CMGB.mjs +165 -0
- package/dist/libraries/react/chunk-WA7QZHL5.mjs +101 -0
- package/dist/libraries/react/chunk-WFFVOEUG.mjs +15 -0
- package/dist/libraries/react/chunk-WVKYZYFT.mjs +37 -0
- package/dist/libraries/react/chunk-XDQLJ7QR.mjs +17 -0
- package/dist/libraries/react/chunk-XGG7IZUQ.mjs +218 -0
- package/dist/libraries/react/chunk-ZBHCIMJH.mjs +448 -0
- package/dist/libraries/react/chunk-ZJPIZX24.mjs +1736 -0
- package/dist/libraries/react/chunk-ZPW4DL3O.mjs +96 -0
- package/dist/libraries/react/client/ConvexAutumnClient.d.mts +77 -0
- package/dist/libraries/react/client/ConvexAutumnClient.d.ts +77 -0
- package/dist/libraries/react/client/ConvexAutumnClient.js +2119 -0
- package/dist/libraries/react/client/ConvexAutumnClient.mjs +9 -0
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +9 -0
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +9 -0
- package/dist/libraries/react/client/ReactAutumnClient.js +2120 -0
- package/dist/libraries/react/client/ReactAutumnClient.mjs +17 -0
- package/dist/libraries/react/client/clientAnalyticsMethods.d.mts +14 -0
- package/dist/libraries/react/client/clientAnalyticsMethods.d.ts +14 -0
- package/dist/libraries/react/client/clientAnalyticsMethods.js +41 -0
- package/dist/libraries/react/client/clientAnalyticsMethods.mjs +10 -0
- package/dist/libraries/react/client/clientCompMethods.d.mts +33 -0
- package/dist/libraries/react/client/clientCompMethods.d.ts +33 -0
- package/dist/libraries/react/client/clientCompMethods.js +35 -0
- package/dist/libraries/react/client/clientCompMethods.mjs +11 -0
- package/dist/libraries/react/client/clientCusMethods.d.mts +16 -0
- package/dist/libraries/react/client/clientCusMethods.d.ts +16 -0
- package/dist/libraries/react/client/clientCusMethods.js +38 -0
- package/dist/libraries/react/client/clientCusMethods.mjs +8 -0
- package/dist/libraries/react/client/clientEntityMethods.d.mts +16 -0
- package/dist/libraries/react/client/clientEntityMethods.d.ts +16 -0
- package/dist/libraries/react/client/clientEntityMethods.js +58 -0
- package/dist/libraries/react/client/clientEntityMethods.mjs +12 -0
- package/dist/libraries/react/client/clientGenMethods.d.mts +22 -0
- package/dist/libraries/react/client/clientGenMethods.d.ts +22 -0
- package/dist/libraries/react/client/clientGenMethods.js +97 -0
- package/dist/libraries/react/client/clientGenMethods.mjs +22 -0
- package/dist/libraries/react/client/clientProdMethods.d.mts +15 -0
- package/dist/libraries/react/client/clientProdMethods.d.ts +15 -0
- package/dist/libraries/react/client/clientProdMethods.js +35 -0
- package/dist/libraries/react/client/clientProdMethods.mjs +8 -0
- package/dist/libraries/react/client/clientReferralMethods.d.mts +15 -0
- package/dist/libraries/react/client/clientReferralMethods.d.ts +15 -0
- package/dist/libraries/react/client/clientReferralMethods.js +41 -0
- package/dist/libraries/react/client/clientReferralMethods.mjs +10 -0
- package/dist/libraries/react/client/types/clientAnalyticsTypes.d.mts +78 -0
- package/dist/libraries/react/client/types/clientAnalyticsTypes.d.ts +78 -0
- package/dist/libraries/react/client/types/clientAnalyticsTypes.js +92 -0
- package/dist/libraries/react/client/types/clientAnalyticsTypes.mjs +62 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +48 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +48 -0
- package/dist/libraries/react/client/types/clientAttachTypes.js +76 -0
- package/dist/libraries/react/client/types/clientAttachTypes.mjs +50 -0
- package/dist/libraries/react/client/types/clientCusTypes.d.mts +5 -0
- package/dist/libraries/react/client/types/clientCusTypes.d.ts +5 -0
- package/dist/libraries/react/client/types/clientCusTypes.js +20 -0
- package/dist/libraries/react/client/types/clientCusTypes.mjs +2 -0
- package/dist/libraries/react/client/types/clientEntTypes.d.mts +19 -0
- package/dist/libraries/react/client/types/clientEntTypes.d.ts +19 -0
- package/dist/libraries/react/client/types/clientEntTypes.js +48 -0
- package/dist/libraries/react/client/types/clientEntTypes.mjs +22 -0
- package/dist/libraries/react/client/types/clientGenTypes.d.mts +56 -0
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +56 -0
- package/dist/libraries/react/client/types/clientGenTypes.js +1819 -0
- package/dist/libraries/react/client/types/clientGenTypes.mjs +54 -0
- package/dist/libraries/react/client/types/clientPricingTableTypes.d.mts +20 -0
- package/dist/libraries/react/client/types/clientPricingTableTypes.d.ts +20 -0
- package/dist/libraries/react/client/types/clientPricingTableTypes.js +20 -0
- package/dist/libraries/react/client/types/clientPricingTableTypes.mjs +2 -0
- package/dist/libraries/react/client/types/clientProdTypes.d.mts +5 -0
- package/dist/libraries/react/client/types/clientProdTypes.d.ts +5 -0
- package/dist/libraries/react/client/types/clientProdTypes.js +20 -0
- package/dist/libraries/react/client/types/clientProdTypes.mjs +2 -0
- package/dist/libraries/react/client/types/clientReferralTypes.d.mts +12 -0
- package/dist/libraries/react/client/types/clientReferralTypes.d.ts +12 -0
- package/dist/libraries/react/client/types/clientReferralTypes.js +40 -0
- package/dist/libraries/react/client/types/clientReferralTypes.mjs +15 -0
- package/dist/libraries/react/client/types/responseTypes.d.mts +2 -0
- package/dist/libraries/react/client/types/responseTypes.d.ts +2 -0
- package/dist/libraries/react/client/types/responseTypes.js +3 -0
- package/dist/libraries/react/client/types/responseTypes.mjs +2 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.css +1460 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +25 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +25 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.js +11543 -0
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +57 -0
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.mts +11 -0
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.ts +11 -0
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.js +181 -0
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.mjs +8 -0
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.mts +9 -0
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.ts +9 -0
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.js +80 -0
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.mjs +8 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.css +1460 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.mts +11 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.ts +11 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.js +10566 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +53 -0
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +9 -0
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +9 -0
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.js +85 -0
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.mjs +8 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +1460 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +52 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +52 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +11834 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +66 -0
- package/dist/libraries/react/components/ui/accordion.d.mts +15 -0
- package/dist/libraries/react/components/ui/accordion.d.ts +15 -0
- package/dist/libraries/react/components/ui/accordion.js +3679 -0
- package/dist/libraries/react/components/ui/accordion.mjs +19 -0
- package/dist/libraries/react/components/ui/button.d.mts +11 -0
- package/dist/libraries/react/components/ui/button.d.ts +11 -0
- package/dist/libraries/react/components/ui/button.js +2776 -0
- package/dist/libraries/react/components/ui/button.mjs +12 -0
- package/dist/libraries/react/components/ui/dialog.d.mts +29 -0
- package/dist/libraries/react/components/ui/dialog.d.ts +29 -0
- package/dist/libraries/react/components/ui/dialog.js +4880 -0
- package/dist/libraries/react/components/ui/dialog.mjs +33 -0
- package/dist/libraries/react/components/ui/input.d.mts +5 -0
- package/dist/libraries/react/components/ui/input.d.ts +5 -0
- package/dist/libraries/react/components/ui/input.js +2587 -0
- package/dist/libraries/react/components/ui/input.mjs +9 -0
- package/dist/libraries/react/components/ui/popover.d.mts +11 -0
- package/dist/libraries/react/components/ui/popover.d.ts +11 -0
- package/dist/libraries/react/components/ui/popover.js +6852 -0
- package/dist/libraries/react/components/ui/popover.mjs +20 -0
- package/dist/libraries/react/components/ui/switch.d.mts +8 -0
- package/dist/libraries/react/components/ui/switch.d.ts +8 -0
- package/dist/libraries/react/components/ui/switch.js +3096 -0
- package/dist/libraries/react/components/ui/switch.mjs +13 -0
- package/dist/libraries/react/cusTypes-CfdKzRo3.d.mts +210 -0
- package/dist/libraries/react/cusTypes-CmjJWspY.d.ts +210 -0
- package/dist/libraries/react/error-DHbclCVh.d.mts +17 -0
- package/dist/libraries/react/error-DHbclCVh.d.ts +17 -0
- package/dist/libraries/react/errorUtils/logAuthError.d.mts +3 -0
- package/dist/libraries/react/errorUtils/logAuthError.d.ts +3 -0
- package/dist/libraries/react/errorUtils/logAuthError.js +45 -0
- package/dist/libraries/react/errorUtils/logAuthError.mjs +8 -0
- package/dist/libraries/react/errorUtils/logFetchError.d.mts +8 -0
- package/dist/libraries/react/errorUtils/logFetchError.d.ts +8 -0
- package/dist/libraries/react/errorUtils/logFetchError.js +42 -0
- package/dist/libraries/react/errorUtils/logFetchError.mjs +8 -0
- package/dist/libraries/react/eventTypes-5iJYcv30.d.mts +26 -0
- package/dist/libraries/react/eventTypes-5iJYcv30.d.ts +26 -0
- package/dist/libraries/react/genTypes-BouhbtKm.d.ts +24 -0
- package/dist/libraries/react/genTypes-DT5O0rCP.d.mts +24 -0
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +34 -0
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +34 -0
- package/dist/libraries/react/hooks/helpers/handleCheck.js +1917 -0
- package/dist/libraries/react/hooks/helpers/handleCheck.mjs +11 -0
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +32 -0
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +32 -0
- package/dist/libraries/react/hooks/helpers/useAutumnBase.js +2115 -0
- package/dist/libraries/react/hooks/helpers/useAutumnBase.mjs +10 -0
- package/dist/libraries/react/hooks/helpers/useDialog.d.mts +3 -0
- package/dist/libraries/react/hooks/helpers/useDialog.d.ts +3 -0
- package/dist/libraries/react/hooks/helpers/useDialog.js +44 -0
- package/dist/libraries/react/hooks/helpers/useDialog.mjs +8 -0
- package/dist/libraries/react/hooks/useAggregateEvents.d.mts +20 -0
- package/dist/libraries/react/hooks/useAggregateEvents.d.ts +20 -0
- package/dist/libraries/react/hooks/useAggregateEvents.js +2216 -0
- package/dist/libraries/react/hooks/useAggregateEvents.mjs +19 -0
- package/dist/libraries/react/hooks/useAnalytics.d.mts +21 -0
- package/dist/libraries/react/hooks/useAnalytics.d.ts +21 -0
- package/dist/libraries/react/hooks/useAnalytics.js +2201 -0
- package/dist/libraries/react/hooks/useAnalytics.mjs +19 -0
- package/dist/libraries/react/hooks/useCustomer.d.mts +89 -0
- package/dist/libraries/react/hooks/useCustomer.d.ts +89 -0
- package/dist/libraries/react/hooks/useCustomer.js +2738 -0
- package/dist/libraries/react/hooks/useCustomer.mjs +23 -0
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +91 -0
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +91 -0
- package/dist/libraries/react/hooks/useCustomerBase.js +2728 -0
- package/dist/libraries/react/hooks/useCustomerBase.mjs +22 -0
- package/dist/libraries/react/hooks/useEntity.d.mts +30 -0
- package/dist/libraries/react/hooks/useEntity.d.ts +30 -0
- package/dist/libraries/react/hooks/useEntity.js +2740 -0
- package/dist/libraries/react/hooks/useEntity.mjs +23 -0
- package/dist/libraries/react/hooks/useEntityBase.d.mts +39 -0
- package/dist/libraries/react/hooks/useEntityBase.d.ts +39 -0
- package/dist/libraries/react/hooks/useEntityBase.js +2732 -0
- package/dist/libraries/react/hooks/useEntityBase.mjs +22 -0
- package/dist/libraries/react/hooks/useListEvents.d.mts +43 -0
- package/dist/libraries/react/hooks/useListEvents.d.ts +43 -0
- package/dist/libraries/react/hooks/useListEvents.js +2238 -0
- package/dist/libraries/react/hooks/useListEvents.mjs +19 -0
- package/dist/libraries/react/hooks/usePaywall.d.mts +13 -0
- package/dist/libraries/react/hooks/usePaywall.d.ts +13 -0
- package/dist/libraries/react/hooks/usePaywall.js +2194 -0
- package/dist/libraries/react/hooks/usePaywall.mjs +19 -0
- package/dist/libraries/react/hooks/usePricingTable.d.mts +15 -0
- package/dist/libraries/react/hooks/usePricingTable.d.ts +15 -0
- package/dist/libraries/react/hooks/usePricingTable.js +2363 -0
- package/dist/libraries/react/hooks/usePricingTable.mjs +20 -0
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +25 -0
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +25 -0
- package/dist/libraries/react/hooks/usePricingTableBase.js +1957 -0
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +9 -0
- package/dist/libraries/react/hooks/useProductsBase.d.mts +19 -0
- package/dist/libraries/react/hooks/useProductsBase.d.ts +19 -0
- package/dist/libraries/react/hooks/useProductsBase.js +55 -0
- package/dist/libraries/react/hooks/useProductsBase.mjs +21 -0
- package/dist/libraries/react/index.d.mts +951 -0
- package/dist/libraries/react/index.d.ts +951 -0
- package/dist/libraries/react/index.js +12709 -0
- package/dist/libraries/react/index.mjs +12662 -0
- package/dist/libraries/react/lib/utils.d.mts +5 -0
- package/dist/libraries/react/lib/utils.d.ts +5 -0
- package/dist/libraries/react/lib/utils.js +2556 -0
- package/dist/libraries/react/lib/utils.mjs +8 -0
- package/dist/libraries/react/prodTypes-C4aZSZfO.d.mts +171 -0
- package/dist/libraries/react/prodTypes-C4aZSZfO.d.ts +171 -0
- package/dist/libraries/react/utils/compareParams.d.mts +3 -0
- package/dist/libraries/react/utils/compareParams.d.ts +3 -0
- package/dist/libraries/react/utils/compareParams.js +47 -0
- package/dist/libraries/react/utils/compareParams.mjs +23 -0
- package/dist/libraries/react/utils/errorUtils.d.mts +20 -0
- package/dist/libraries/react/utils/errorUtils.d.ts +20 -0
- package/dist/libraries/react/utils/errorUtils.js +61 -0
- package/dist/libraries/react/utils/errorUtils.mjs +36 -0
- package/dist/libraries/react/utils/inject-styles.d.mts +4 -0
- package/dist/libraries/react/utils/inject-styles.d.ts +4 -0
- package/dist/libraries/react/utils/inject-styles.js +61 -0
- package/dist/libraries/react/utils/inject-styles.mjs +10 -0
- package/dist/next/AutumnProvider.d.mts +30 -0
- package/dist/next/AutumnProvider.d.ts +30 -0
- package/dist/next/AutumnProvider.js +68 -0
- package/dist/next/AutumnProvider.mjs +44 -0
- package/dist/next/client/AutumnClientProvider.d.mts +2 -0
- package/dist/next/client/AutumnClientProvider.d.ts +2 -0
- package/dist/next/client/AutumnClientProvider.js +2 -0
- package/dist/next/client/AutumnClientProvider.mjs +2 -0
- package/dist/next/client/NextAutumnClient.d.mts +375 -0
- package/dist/next/client/NextAutumnClient.d.ts +375 -0
- package/dist/next/client/NextAutumnClient.js +107 -0
- package/dist/next/client/NextAutumnClient.mjs +107 -0
- package/dist/next/client/NextAutumnProvider.d.mts +13 -0
- package/dist/next/client/NextAutumnProvider.d.ts +13 -0
- package/dist/next/client/NextAutumnProvider.js +23 -0
- package/dist/next/client/NextAutumnProvider.mjs +23 -0
- package/dist/next/client/clientAttachTypes-CZ0FmsbF.d.mts +104 -0
- package/dist/next/client/clientAttachTypes-Dczm087t.d.ts +104 -0
- package/dist/next/client/clientEntTypes-CeaZbrIq.d.ts +73 -0
- package/dist/next/client/clientEntTypes-jltPLNQ5.d.mts +73 -0
- package/dist/next/client/clientUtils.d.mts +18 -0
- package/dist/next/client/clientUtils.d.ts +18 -0
- package/dist/next/client/clientUtils.js +72 -0
- package/dist/next/client/clientUtils.mjs +72 -0
- package/dist/next/client/cusTypes-BgJmgZt6.d.ts +215 -0
- package/dist/next/client/cusTypes-BngiltFz.d.mts +215 -0
- package/dist/next/client/error-DHbclCVh.d.mts +17 -0
- package/dist/next/client/error-DHbclCVh.d.ts +17 -0
- package/dist/next/client/hooks/useAutumn.d.mts +20 -0
- package/dist/next/client/hooks/useAutumn.d.ts +20 -0
- package/dist/next/client/hooks/useAutumn.js +17 -0
- package/dist/next/client/hooks/useAutumn.mjs +17 -0
- package/dist/next/client/hooks/useCustomer.d.mts +89 -0
- package/dist/next/client/hooks/useCustomer.d.ts +89 -0
- package/dist/next/client/hooks/useCustomer.js +15 -0
- package/dist/next/client/hooks/useCustomer.mjs +15 -0
- package/dist/next/client/hooks/useEntity.d.mts +27 -0
- package/dist/next/client/hooks/useEntity.d.ts +27 -0
- package/dist/next/client/hooks/useEntity.js +11 -0
- package/dist/next/client/hooks/useEntity.mjs +11 -0
- package/dist/next/client/hooks/usePricingTable.d.mts +33 -0
- package/dist/next/client/hooks/usePricingTable.d.ts +33 -0
- package/dist/next/client/hooks/usePricingTable.js +14 -0
- package/dist/next/client/hooks/usePricingTable.mjs +14 -0
- package/dist/next/client/prodTypes-G6W3NUPg.d.mts +162 -0
- package/dist/next/client/prodTypes-G6W3NUPg.d.ts +162 -0
- package/dist/next/client/response-CLgEplsF.d.ts +16 -0
- package/dist/next/client/response-DKQ_cb7U.d.mts +16 -0
- package/dist/next/client/types.d.mts +74 -0
- package/dist/next/client/types.d.ts +74 -0
- package/dist/next/client/types.js +21 -0
- package/dist/next/client/types.mjs +21 -0
- package/dist/next/enums.d.mts +5 -0
- package/dist/next/enums.d.ts +5 -0
- package/dist/next/enums.js +31 -0
- package/dist/next/enums.mjs +7 -0
- package/dist/next/index.d.mts +19 -0
- package/dist/next/index.d.ts +19 -0
- package/dist/next/index.js +22 -0
- package/dist/next/index.mjs +1 -0
- package/dist/next/server/auth/authPlugin.d.mts +13 -0
- package/dist/next/server/auth/authPlugin.d.ts +13 -0
- package/dist/next/server/auth/authPlugin.js +11 -0
- package/dist/next/server/auth/authPlugin.mjs +11 -0
- package/dist/next/server/auth/clerk-wrapper.d.mts +3 -0
- package/dist/next/server/auth/clerk-wrapper.d.ts +3 -0
- package/dist/next/server/auth/clerk-wrapper.js +22 -0
- package/dist/next/server/auth/clerk-wrapper.mjs +22 -0
- package/dist/next/server/auth/get-next-headers.d.mts +6 -0
- package/dist/next/server/auth/get-next-headers.d.ts +6 -0
- package/dist/next/server/auth/get-next-headers.js +18 -0
- package/dist/next/server/auth/get-next-headers.mjs +18 -0
- package/dist/next/server/auth/handleAuthProvider.d.mts +44 -0
- package/dist/next/server/auth/handleAuthProvider.d.ts +44 -0
- package/dist/next/server/auth/handleAuthProvider.js +179 -0
- package/dist/next/server/auth/handleAuthProvider.mjs +179 -0
- package/dist/next/server/auth/supabase-wrapper.d.mts +3 -0
- package/dist/next/server/auth/supabase-wrapper.d.ts +3 -0
- package/dist/next/server/auth/supabase-wrapper.js +45 -0
- package/dist/next/server/auth/supabase-wrapper.mjs +45 -0
- package/dist/next/server/auth/withNextAuth.d.mts +16 -0
- package/dist/next/server/auth/withNextAuth.d.ts +16 -0
- package/dist/next/server/auth/withNextAuth.js +42 -0
- package/dist/next/server/auth/withNextAuth.mjs +42 -0
- package/dist/next/server/componentActions.d.mts +12 -0
- package/dist/next/server/componentActions.d.ts +12 -0
- package/dist/next/server/componentActions.js +21 -0
- package/dist/next/server/componentActions.mjs +21 -0
- package/dist/next/server/cusActions.d.mts +1421 -0
- package/dist/next/server/cusActions.d.ts +1421 -0
- package/dist/next/server/cusActions.js +70 -0
- package/dist/next/server/cusActions.mjs +70 -0
- package/dist/next/server/cusTypes-C7g7DT5P.d.mts +444 -0
- package/dist/next/server/cusTypes-C7g7DT5P.d.ts +444 -0
- package/dist/next/server/genActions.d.mts +86 -0
- package/dist/next/server/genActions.d.ts +86 -0
- package/dist/next/server/genActions.js +90 -0
- package/dist/next/server/genActions.mjs +90 -0
- package/dist/next/server/response-Bal_cFRb.d.mts +30 -0
- package/dist/next/server/response-Bal_cFRb.d.ts +30 -0
- package/dist/next/server/utils.d.mts +5 -0
- package/dist/next/server/utils.d.ts +5 -0
- package/dist/next/server/utils.js +16 -0
- package/dist/next/server/utils.mjs +16 -0
- package/dist/sdk/index.d.mts +2859 -0
- package/dist/sdk/index.d.ts +2859 -0
- package/dist/sdk/index.js +1832 -0
- package/dist/sdk/index.mjs +1742 -0
- package/dist/styles/global.css +1498 -0
- package/dist/utils/chunk-EG37DNU2.mjs +40 -0
- package/dist/utils/encryptUtils.d.mts +4 -0
- package/dist/utils/encryptUtils.d.ts +4 -0
- package/dist/utils/encryptUtils.js +1811 -0
- package/dist/utils/encryptUtils.mjs +1742 -0
- package/dist/utils/entityUtils.d.mts +3 -0
- package/dist/utils/entityUtils.d.ts +3 -0
- package/dist/utils/entityUtils.js +35 -0
- package/dist/utils/entityUtils.mjs +10 -0
- package/dist/utils/logger.d.mts +45 -0
- package/dist/utils/logger.d.ts +45 -0
- package/dist/utils/logger.js +64 -0
- package/dist/utils/logger.mjs +6 -0
- package/dist/utils/toSnakeCase.d.mts +7 -0
- package/dist/utils/toSnakeCase.d.ts +7 -0
- package/dist/utils/toSnakeCase.js +64 -0
- package/dist/utils/toSnakeCase.mjs +39 -0
- package/package.json +201 -0
- package/tsup.config.ts +213 -0
|
@@ -0,0 +1,3679 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all)
|
|
12
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from))
|
|
17
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
28
|
+
mod
|
|
29
|
+
));
|
|
30
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
|
+
|
|
32
|
+
// src/libraries/react/components/ui/accordion.tsx
|
|
33
|
+
var accordion_exports = {};
|
|
34
|
+
__export(accordion_exports, {
|
|
35
|
+
Accordion: () => Accordion2,
|
|
36
|
+
AccordionContent: () => AccordionContent2,
|
|
37
|
+
AccordionItem: () => AccordionItem2,
|
|
38
|
+
AccordionTrigger: () => AccordionTrigger2
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(accordion_exports);
|
|
41
|
+
var React13 = __toESM(require("react"));
|
|
42
|
+
|
|
43
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_cd33b1a9636ddff2c99fbf0b4cf894a1/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
44
|
+
var import_react3 = __toESM(require("react"), 1);
|
|
45
|
+
|
|
46
|
+
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
47
|
+
var React = __toESM(require("react"), 1);
|
|
48
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
49
|
+
function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
50
|
+
let defaultContexts = [];
|
|
51
|
+
function createContext3(rootComponentName, defaultContext) {
|
|
52
|
+
const BaseContext = React.createContext(defaultContext);
|
|
53
|
+
const index = defaultContexts.length;
|
|
54
|
+
defaultContexts = [...defaultContexts, defaultContext];
|
|
55
|
+
const Provider = (props) => {
|
|
56
|
+
const { scope, children, ...context } = props;
|
|
57
|
+
const Context = scope?.[scopeName]?.[index] || BaseContext;
|
|
58
|
+
const value = React.useMemo(() => context, Object.values(context));
|
|
59
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
|
|
60
|
+
};
|
|
61
|
+
Provider.displayName = rootComponentName + "Provider";
|
|
62
|
+
function useContext22(consumerName, scope) {
|
|
63
|
+
const Context = scope?.[scopeName]?.[index] || BaseContext;
|
|
64
|
+
const context = React.useContext(Context);
|
|
65
|
+
if (context) return context;
|
|
66
|
+
if (defaultContext !== void 0) return defaultContext;
|
|
67
|
+
throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
68
|
+
}
|
|
69
|
+
return [Provider, useContext22];
|
|
70
|
+
}
|
|
71
|
+
const createScope = () => {
|
|
72
|
+
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
73
|
+
return React.createContext(defaultContext);
|
|
74
|
+
});
|
|
75
|
+
return function useScope(scope) {
|
|
76
|
+
const contexts = scope?.[scopeName] || scopeContexts;
|
|
77
|
+
return React.useMemo(
|
|
78
|
+
() => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
|
|
79
|
+
[scope, contexts]
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
createScope.scopeName = scopeName;
|
|
84
|
+
return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
|
|
85
|
+
}
|
|
86
|
+
function composeContextScopes(...scopes) {
|
|
87
|
+
const baseScope = scopes[0];
|
|
88
|
+
if (scopes.length === 1) return baseScope;
|
|
89
|
+
const createScope = () => {
|
|
90
|
+
const scopeHooks = scopes.map((createScope2) => ({
|
|
91
|
+
useScope: createScope2(),
|
|
92
|
+
scopeName: createScope2.scopeName
|
|
93
|
+
}));
|
|
94
|
+
return function useComposedScopes(overrideScopes) {
|
|
95
|
+
const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
|
|
96
|
+
const scopeProps = useScope(overrideScopes);
|
|
97
|
+
const currentScope = scopeProps[`__scope${scopeName}`];
|
|
98
|
+
return { ...nextScopes2, ...currentScope };
|
|
99
|
+
}, {});
|
|
100
|
+
return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
createScope.scopeName = baseScope.scopeName;
|
|
104
|
+
return createScope;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_e04568b91563986ff83492e660e9a927/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
108
|
+
var import_react = __toESM(require("react"), 1);
|
|
109
|
+
|
|
110
|
+
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
111
|
+
var React2 = __toESM(require("react"), 1);
|
|
112
|
+
function setRef(ref, value) {
|
|
113
|
+
if (typeof ref === "function") {
|
|
114
|
+
return ref(value);
|
|
115
|
+
} else if (ref !== null && ref !== void 0) {
|
|
116
|
+
ref.current = value;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function composeRefs(...refs) {
|
|
120
|
+
return (node) => {
|
|
121
|
+
let hasCleanup = false;
|
|
122
|
+
const cleanups = refs.map((ref) => {
|
|
123
|
+
const cleanup = setRef(ref, node);
|
|
124
|
+
if (!hasCleanup && typeof cleanup == "function") {
|
|
125
|
+
hasCleanup = true;
|
|
126
|
+
}
|
|
127
|
+
return cleanup;
|
|
128
|
+
});
|
|
129
|
+
if (hasCleanup) {
|
|
130
|
+
return () => {
|
|
131
|
+
for (let i = 0; i < cleanups.length; i++) {
|
|
132
|
+
const cleanup = cleanups[i];
|
|
133
|
+
if (typeof cleanup == "function") {
|
|
134
|
+
cleanup();
|
|
135
|
+
} else {
|
|
136
|
+
setRef(refs[i], null);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function useComposedRefs(...refs) {
|
|
144
|
+
return React2.useCallback(composeRefs(...refs), refs);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// ../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
148
|
+
var React3 = __toESM(require("react"), 1);
|
|
149
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
150
|
+
// @__NO_SIDE_EFFECTS__
|
|
151
|
+
function createSlot(ownerName) {
|
|
152
|
+
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
153
|
+
const Slot2 = React3.forwardRef((props, forwardedRef) => {
|
|
154
|
+
const { children, ...slotProps } = props;
|
|
155
|
+
const childrenArray = React3.Children.toArray(children);
|
|
156
|
+
const slottable = childrenArray.find(isSlottable);
|
|
157
|
+
if (slottable) {
|
|
158
|
+
const newElement = slottable.props.children;
|
|
159
|
+
const newChildren = childrenArray.map((child) => {
|
|
160
|
+
if (child === slottable) {
|
|
161
|
+
if (React3.Children.count(newElement) > 1) return React3.Children.only(null);
|
|
162
|
+
return React3.isValidElement(newElement) ? newElement.props.children : null;
|
|
163
|
+
} else {
|
|
164
|
+
return child;
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React3.isValidElement(newElement) ? React3.cloneElement(newElement, void 0, newChildren) : null });
|
|
168
|
+
}
|
|
169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
|
|
170
|
+
});
|
|
171
|
+
Slot2.displayName = `${ownerName}.Slot`;
|
|
172
|
+
return Slot2;
|
|
173
|
+
}
|
|
174
|
+
// @__NO_SIDE_EFFECTS__
|
|
175
|
+
function createSlotClone(ownerName) {
|
|
176
|
+
const SlotClone = React3.forwardRef((props, forwardedRef) => {
|
|
177
|
+
const { children, ...slotProps } = props;
|
|
178
|
+
if (React3.isValidElement(children)) {
|
|
179
|
+
const childrenRef = getElementRef(children);
|
|
180
|
+
const props2 = mergeProps(slotProps, children.props);
|
|
181
|
+
if (children.type !== React3.Fragment) {
|
|
182
|
+
props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
|
|
183
|
+
}
|
|
184
|
+
return React3.cloneElement(children, props2);
|
|
185
|
+
}
|
|
186
|
+
return React3.Children.count(children) > 1 ? React3.Children.only(null) : null;
|
|
187
|
+
});
|
|
188
|
+
SlotClone.displayName = `${ownerName}.SlotClone`;
|
|
189
|
+
return SlotClone;
|
|
190
|
+
}
|
|
191
|
+
var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
|
|
192
|
+
function isSlottable(child) {
|
|
193
|
+
return React3.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
|
|
194
|
+
}
|
|
195
|
+
function mergeProps(slotProps, childProps) {
|
|
196
|
+
const overrideProps = { ...childProps };
|
|
197
|
+
for (const propName in childProps) {
|
|
198
|
+
const slotPropValue = slotProps[propName];
|
|
199
|
+
const childPropValue = childProps[propName];
|
|
200
|
+
const isHandler = /^on[A-Z]/.test(propName);
|
|
201
|
+
if (isHandler) {
|
|
202
|
+
if (slotPropValue && childPropValue) {
|
|
203
|
+
overrideProps[propName] = (...args) => {
|
|
204
|
+
const result = childPropValue(...args);
|
|
205
|
+
slotPropValue(...args);
|
|
206
|
+
return result;
|
|
207
|
+
};
|
|
208
|
+
} else if (slotPropValue) {
|
|
209
|
+
overrideProps[propName] = slotPropValue;
|
|
210
|
+
}
|
|
211
|
+
} else if (propName === "style") {
|
|
212
|
+
overrideProps[propName] = { ...slotPropValue, ...childPropValue };
|
|
213
|
+
} else if (propName === "className") {
|
|
214
|
+
overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return { ...slotProps, ...overrideProps };
|
|
218
|
+
}
|
|
219
|
+
function getElementRef(element) {
|
|
220
|
+
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
221
|
+
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
222
|
+
if (mayWarn) {
|
|
223
|
+
return element.ref;
|
|
224
|
+
}
|
|
225
|
+
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
226
|
+
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
227
|
+
if (mayWarn) {
|
|
228
|
+
return element.props.ref;
|
|
229
|
+
}
|
|
230
|
+
return element.props.ref || element.ref;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_e04568b91563986ff83492e660e9a927/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
234
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
235
|
+
var import_react2 = __toESM(require("react"), 1);
|
|
236
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
237
|
+
function createCollection(name) {
|
|
238
|
+
const PROVIDER_NAME = name + "CollectionProvider";
|
|
239
|
+
const [createCollectionContext, createCollectionScope2] = createContextScope(PROVIDER_NAME);
|
|
240
|
+
const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(
|
|
241
|
+
PROVIDER_NAME,
|
|
242
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
243
|
+
);
|
|
244
|
+
const CollectionProvider = (props) => {
|
|
245
|
+
const { scope, children } = props;
|
|
246
|
+
const ref = import_react.default.useRef(null);
|
|
247
|
+
const itemMap = import_react.default.useRef(/* @__PURE__ */ new Map()).current;
|
|
248
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
|
|
249
|
+
};
|
|
250
|
+
CollectionProvider.displayName = PROVIDER_NAME;
|
|
251
|
+
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
252
|
+
const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
|
|
253
|
+
const CollectionSlot = import_react.default.forwardRef(
|
|
254
|
+
(props, forwardedRef) => {
|
|
255
|
+
const { scope, children } = props;
|
|
256
|
+
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
257
|
+
const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
|
|
258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CollectionSlotImpl, { ref: composedRefs, children });
|
|
259
|
+
}
|
|
260
|
+
);
|
|
261
|
+
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
|
|
262
|
+
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
263
|
+
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
264
|
+
const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
|
|
265
|
+
const CollectionItemSlot = import_react.default.forwardRef(
|
|
266
|
+
(props, forwardedRef) => {
|
|
267
|
+
const { scope, children, ...itemData } = props;
|
|
268
|
+
const ref = import_react.default.useRef(null);
|
|
269
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
270
|
+
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
271
|
+
import_react.default.useEffect(() => {
|
|
272
|
+
context.itemMap.set(ref, { ref, ...itemData });
|
|
273
|
+
return () => void context.itemMap.delete(ref);
|
|
274
|
+
});
|
|
275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
|
|
276
|
+
}
|
|
277
|
+
);
|
|
278
|
+
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
279
|
+
function useCollection2(scope) {
|
|
280
|
+
const context = useCollectionContext(name + "CollectionConsumer", scope);
|
|
281
|
+
const getItems = import_react.default.useCallback(() => {
|
|
282
|
+
const collectionNode = context.collectionRef.current;
|
|
283
|
+
if (!collectionNode) return [];
|
|
284
|
+
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
|
|
285
|
+
const items = Array.from(context.itemMap.values());
|
|
286
|
+
const orderedItems = items.sort(
|
|
287
|
+
(a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)
|
|
288
|
+
);
|
|
289
|
+
return orderedItems;
|
|
290
|
+
}, [context.collectionRef, context.itemMap]);
|
|
291
|
+
return getItems;
|
|
292
|
+
}
|
|
293
|
+
return [
|
|
294
|
+
{ Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },
|
|
295
|
+
useCollection2,
|
|
296
|
+
createCollectionScope2
|
|
297
|
+
];
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// ../node_modules/.pnpm/@radix-ui+primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
301
|
+
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
302
|
+
return function handleEvent(event) {
|
|
303
|
+
originalEventHandler?.(event);
|
|
304
|
+
if (checkForDefaultPrevented === false || !event.defaultPrevented) {
|
|
305
|
+
return ourEventHandler?.(event);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
311
|
+
var React6 = __toESM(require("react"), 1);
|
|
312
|
+
|
|
313
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
314
|
+
var React5 = __toESM(require("react"), 1);
|
|
315
|
+
var useLayoutEffect2 = globalThis?.document ? React5.useLayoutEffect : () => {
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
// ../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
319
|
+
var React23 = __toESM(require("react"), 1);
|
|
320
|
+
var useInsertionEffect = React6[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
321
|
+
function useControllableState({
|
|
322
|
+
prop,
|
|
323
|
+
defaultProp,
|
|
324
|
+
onChange = () => {
|
|
325
|
+
},
|
|
326
|
+
caller
|
|
327
|
+
}) {
|
|
328
|
+
const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
|
|
329
|
+
defaultProp,
|
|
330
|
+
onChange
|
|
331
|
+
});
|
|
332
|
+
const isControlled = prop !== void 0;
|
|
333
|
+
const value = isControlled ? prop : uncontrolledProp;
|
|
334
|
+
if (true) {
|
|
335
|
+
const isControlledRef = React6.useRef(prop !== void 0);
|
|
336
|
+
React6.useEffect(() => {
|
|
337
|
+
const wasControlled = isControlledRef.current;
|
|
338
|
+
if (wasControlled !== isControlled) {
|
|
339
|
+
const from = wasControlled ? "controlled" : "uncontrolled";
|
|
340
|
+
const to = isControlled ? "controlled" : "uncontrolled";
|
|
341
|
+
console.warn(
|
|
342
|
+
`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
isControlledRef.current = isControlled;
|
|
346
|
+
}, [isControlled, caller]);
|
|
347
|
+
}
|
|
348
|
+
const setValue = React6.useCallback(
|
|
349
|
+
(nextValue) => {
|
|
350
|
+
if (isControlled) {
|
|
351
|
+
const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
|
|
352
|
+
if (value2 !== prop) {
|
|
353
|
+
onChangeRef.current?.(value2);
|
|
354
|
+
}
|
|
355
|
+
} else {
|
|
356
|
+
setUncontrolledProp(nextValue);
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
[isControlled, prop, setUncontrolledProp, onChangeRef]
|
|
360
|
+
);
|
|
361
|
+
return [value, setValue];
|
|
362
|
+
}
|
|
363
|
+
function useUncontrolledState({
|
|
364
|
+
defaultProp,
|
|
365
|
+
onChange
|
|
366
|
+
}) {
|
|
367
|
+
const [value, setValue] = React6.useState(defaultProp);
|
|
368
|
+
const prevValueRef = React6.useRef(value);
|
|
369
|
+
const onChangeRef = React6.useRef(onChange);
|
|
370
|
+
useInsertionEffect(() => {
|
|
371
|
+
onChangeRef.current = onChange;
|
|
372
|
+
}, [onChange]);
|
|
373
|
+
React6.useEffect(() => {
|
|
374
|
+
if (prevValueRef.current !== value) {
|
|
375
|
+
onChangeRef.current?.(value);
|
|
376
|
+
prevValueRef.current = value;
|
|
377
|
+
}
|
|
378
|
+
}, [value, prevValueRef]);
|
|
379
|
+
return [value, setValue, onChangeRef];
|
|
380
|
+
}
|
|
381
|
+
function isFunction(value) {
|
|
382
|
+
return typeof value === "function";
|
|
383
|
+
}
|
|
384
|
+
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
385
|
+
|
|
386
|
+
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.1.10__@types+re_f8fc61f39a09b99c4b88664f4d20e190/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
387
|
+
var React7 = __toESM(require("react"), 1);
|
|
388
|
+
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
389
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
390
|
+
var NODES = [
|
|
391
|
+
"a",
|
|
392
|
+
"button",
|
|
393
|
+
"div",
|
|
394
|
+
"form",
|
|
395
|
+
"h2",
|
|
396
|
+
"h3",
|
|
397
|
+
"img",
|
|
398
|
+
"input",
|
|
399
|
+
"label",
|
|
400
|
+
"li",
|
|
401
|
+
"nav",
|
|
402
|
+
"ol",
|
|
403
|
+
"p",
|
|
404
|
+
"select",
|
|
405
|
+
"span",
|
|
406
|
+
"svg",
|
|
407
|
+
"ul"
|
|
408
|
+
];
|
|
409
|
+
var Primitive = NODES.reduce((primitive, node) => {
|
|
410
|
+
const Slot = createSlot(`Primitive.${node}`);
|
|
411
|
+
const Node2 = React7.forwardRef((props, forwardedRef) => {
|
|
412
|
+
const { asChild, ...primitiveProps } = props;
|
|
413
|
+
const Comp = asChild ? Slot : node;
|
|
414
|
+
if (typeof window !== "undefined") {
|
|
415
|
+
window[Symbol.for("radix-ui")] = true;
|
|
416
|
+
}
|
|
417
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
418
|
+
});
|
|
419
|
+
Node2.displayName = `Primitive.${node}`;
|
|
420
|
+
return { ...primitive, [node]: Node2 };
|
|
421
|
+
}, {});
|
|
422
|
+
|
|
423
|
+
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types_9c85dd3249118f6218aca130d6055182/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
424
|
+
var React10 = __toESM(require("react"), 1);
|
|
425
|
+
|
|
426
|
+
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.2.3_@types+react@19.1.10__@types+rea_8360ff57be752315af757bc04841172a/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
427
|
+
var React24 = __toESM(require("react"), 1);
|
|
428
|
+
var React8 = __toESM(require("react"), 1);
|
|
429
|
+
function useStateMachine(initialState, machine) {
|
|
430
|
+
return React8.useReducer((state, event) => {
|
|
431
|
+
const nextState = machine[state][event];
|
|
432
|
+
return nextState ?? state;
|
|
433
|
+
}, initialState);
|
|
434
|
+
}
|
|
435
|
+
var Presence = (props) => {
|
|
436
|
+
const { present, children } = props;
|
|
437
|
+
const presence = usePresence(present);
|
|
438
|
+
const child = typeof children === "function" ? children({ present: presence.isPresent }) : React24.Children.only(children);
|
|
439
|
+
const ref = useComposedRefs(presence.ref, getElementRef2(child));
|
|
440
|
+
const forceMount = typeof children === "function";
|
|
441
|
+
return forceMount || presence.isPresent ? React24.cloneElement(child, { ref }) : null;
|
|
442
|
+
};
|
|
443
|
+
Presence.displayName = "Presence";
|
|
444
|
+
function usePresence(present) {
|
|
445
|
+
const [node, setNode] = React24.useState();
|
|
446
|
+
const stylesRef = React24.useRef(null);
|
|
447
|
+
const prevPresentRef = React24.useRef(present);
|
|
448
|
+
const prevAnimationNameRef = React24.useRef("none");
|
|
449
|
+
const initialState = present ? "mounted" : "unmounted";
|
|
450
|
+
const [state, send] = useStateMachine(initialState, {
|
|
451
|
+
mounted: {
|
|
452
|
+
UNMOUNT: "unmounted",
|
|
453
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
454
|
+
},
|
|
455
|
+
unmountSuspended: {
|
|
456
|
+
MOUNT: "mounted",
|
|
457
|
+
ANIMATION_END: "unmounted"
|
|
458
|
+
},
|
|
459
|
+
unmounted: {
|
|
460
|
+
MOUNT: "mounted"
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
React24.useEffect(() => {
|
|
464
|
+
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
465
|
+
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
466
|
+
}, [state]);
|
|
467
|
+
useLayoutEffect2(() => {
|
|
468
|
+
const styles = stylesRef.current;
|
|
469
|
+
const wasPresent = prevPresentRef.current;
|
|
470
|
+
const hasPresentChanged = wasPresent !== present;
|
|
471
|
+
if (hasPresentChanged) {
|
|
472
|
+
const prevAnimationName = prevAnimationNameRef.current;
|
|
473
|
+
const currentAnimationName = getAnimationName(styles);
|
|
474
|
+
if (present) {
|
|
475
|
+
send("MOUNT");
|
|
476
|
+
} else if (currentAnimationName === "none" || styles?.display === "none") {
|
|
477
|
+
send("UNMOUNT");
|
|
478
|
+
} else {
|
|
479
|
+
const isAnimating = prevAnimationName !== currentAnimationName;
|
|
480
|
+
if (wasPresent && isAnimating) {
|
|
481
|
+
send("ANIMATION_OUT");
|
|
482
|
+
} else {
|
|
483
|
+
send("UNMOUNT");
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
prevPresentRef.current = present;
|
|
487
|
+
}
|
|
488
|
+
}, [present, send]);
|
|
489
|
+
useLayoutEffect2(() => {
|
|
490
|
+
if (node) {
|
|
491
|
+
let timeoutId;
|
|
492
|
+
const ownerWindow = node.ownerDocument.defaultView ?? window;
|
|
493
|
+
const handleAnimationEnd = (event) => {
|
|
494
|
+
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
495
|
+
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
496
|
+
if (event.target === node && isCurrentAnimation) {
|
|
497
|
+
send("ANIMATION_END");
|
|
498
|
+
if (!prevPresentRef.current) {
|
|
499
|
+
const currentFillMode = node.style.animationFillMode;
|
|
500
|
+
node.style.animationFillMode = "forwards";
|
|
501
|
+
timeoutId = ownerWindow.setTimeout(() => {
|
|
502
|
+
if (node.style.animationFillMode === "forwards") {
|
|
503
|
+
node.style.animationFillMode = currentFillMode;
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
const handleAnimationStart = (event) => {
|
|
510
|
+
if (event.target === node) {
|
|
511
|
+
prevAnimationNameRef.current = getAnimationName(stylesRef.current);
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
node.addEventListener("animationstart", handleAnimationStart);
|
|
515
|
+
node.addEventListener("animationcancel", handleAnimationEnd);
|
|
516
|
+
node.addEventListener("animationend", handleAnimationEnd);
|
|
517
|
+
return () => {
|
|
518
|
+
ownerWindow.clearTimeout(timeoutId);
|
|
519
|
+
node.removeEventListener("animationstart", handleAnimationStart);
|
|
520
|
+
node.removeEventListener("animationcancel", handleAnimationEnd);
|
|
521
|
+
node.removeEventListener("animationend", handleAnimationEnd);
|
|
522
|
+
};
|
|
523
|
+
} else {
|
|
524
|
+
send("ANIMATION_END");
|
|
525
|
+
}
|
|
526
|
+
}, [node, send]);
|
|
527
|
+
return {
|
|
528
|
+
isPresent: ["mounted", "unmountSuspended"].includes(state),
|
|
529
|
+
ref: React24.useCallback((node2) => {
|
|
530
|
+
stylesRef.current = node2 ? getComputedStyle(node2) : null;
|
|
531
|
+
setNode(node2);
|
|
532
|
+
}, [])
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function getAnimationName(styles) {
|
|
536
|
+
return styles?.animationName || "none";
|
|
537
|
+
}
|
|
538
|
+
function getElementRef2(element) {
|
|
539
|
+
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
540
|
+
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
541
|
+
if (mayWarn) {
|
|
542
|
+
return element.ref;
|
|
543
|
+
}
|
|
544
|
+
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
545
|
+
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
546
|
+
if (mayWarn) {
|
|
547
|
+
return element.props.ref;
|
|
548
|
+
}
|
|
549
|
+
return element.props.ref || element.ref;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// ../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
553
|
+
var React9 = __toESM(require("react"), 1);
|
|
554
|
+
var useReactId = React9[" useId ".trim().toString()] || (() => void 0);
|
|
555
|
+
var count = 0;
|
|
556
|
+
function useId(deterministicId) {
|
|
557
|
+
const [id, setId] = React9.useState(useReactId());
|
|
558
|
+
useLayoutEffect2(() => {
|
|
559
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count++));
|
|
560
|
+
}, [deterministicId]);
|
|
561
|
+
return deterministicId || (id ? `radix-${id}` : "");
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types_9c85dd3249118f6218aca130d6055182/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
565
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
566
|
+
var COLLAPSIBLE_NAME = "Collapsible";
|
|
567
|
+
var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
|
|
568
|
+
var [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);
|
|
569
|
+
var Collapsible = React10.forwardRef(
|
|
570
|
+
(props, forwardedRef) => {
|
|
571
|
+
const {
|
|
572
|
+
__scopeCollapsible,
|
|
573
|
+
open: openProp,
|
|
574
|
+
defaultOpen,
|
|
575
|
+
disabled,
|
|
576
|
+
onOpenChange,
|
|
577
|
+
...collapsibleProps
|
|
578
|
+
} = props;
|
|
579
|
+
const [open, setOpen] = useControllableState({
|
|
580
|
+
prop: openProp,
|
|
581
|
+
defaultProp: defaultOpen ?? false,
|
|
582
|
+
onChange: onOpenChange,
|
|
583
|
+
caller: COLLAPSIBLE_NAME
|
|
584
|
+
});
|
|
585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
586
|
+
CollapsibleProvider,
|
|
587
|
+
{
|
|
588
|
+
scope: __scopeCollapsible,
|
|
589
|
+
disabled,
|
|
590
|
+
contentId: useId(),
|
|
591
|
+
open,
|
|
592
|
+
onOpenToggle: React10.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
593
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
594
|
+
Primitive.div,
|
|
595
|
+
{
|
|
596
|
+
"data-state": getState(open),
|
|
597
|
+
"data-disabled": disabled ? "" : void 0,
|
|
598
|
+
...collapsibleProps,
|
|
599
|
+
ref: forwardedRef
|
|
600
|
+
}
|
|
601
|
+
)
|
|
602
|
+
}
|
|
603
|
+
);
|
|
604
|
+
}
|
|
605
|
+
);
|
|
606
|
+
Collapsible.displayName = COLLAPSIBLE_NAME;
|
|
607
|
+
var TRIGGER_NAME = "CollapsibleTrigger";
|
|
608
|
+
var CollapsibleTrigger = React10.forwardRef(
|
|
609
|
+
(props, forwardedRef) => {
|
|
610
|
+
const { __scopeCollapsible, ...triggerProps } = props;
|
|
611
|
+
const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);
|
|
612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
613
|
+
Primitive.button,
|
|
614
|
+
{
|
|
615
|
+
type: "button",
|
|
616
|
+
"aria-controls": context.contentId,
|
|
617
|
+
"aria-expanded": context.open || false,
|
|
618
|
+
"data-state": getState(context.open),
|
|
619
|
+
"data-disabled": context.disabled ? "" : void 0,
|
|
620
|
+
disabled: context.disabled,
|
|
621
|
+
...triggerProps,
|
|
622
|
+
ref: forwardedRef,
|
|
623
|
+
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
624
|
+
}
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
);
|
|
628
|
+
CollapsibleTrigger.displayName = TRIGGER_NAME;
|
|
629
|
+
var CONTENT_NAME = "CollapsibleContent";
|
|
630
|
+
var CollapsibleContent = React10.forwardRef(
|
|
631
|
+
(props, forwardedRef) => {
|
|
632
|
+
const { forceMount, ...contentProps } = props;
|
|
633
|
+
const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);
|
|
634
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });
|
|
635
|
+
}
|
|
636
|
+
);
|
|
637
|
+
CollapsibleContent.displayName = CONTENT_NAME;
|
|
638
|
+
var CollapsibleContentImpl = React10.forwardRef((props, forwardedRef) => {
|
|
639
|
+
const { __scopeCollapsible, present, children, ...contentProps } = props;
|
|
640
|
+
const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);
|
|
641
|
+
const [isPresent, setIsPresent] = React10.useState(present);
|
|
642
|
+
const ref = React10.useRef(null);
|
|
643
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
644
|
+
const heightRef = React10.useRef(0);
|
|
645
|
+
const height = heightRef.current;
|
|
646
|
+
const widthRef = React10.useRef(0);
|
|
647
|
+
const width = widthRef.current;
|
|
648
|
+
const isOpen = context.open || isPresent;
|
|
649
|
+
const isMountAnimationPreventedRef = React10.useRef(isOpen);
|
|
650
|
+
const originalStylesRef = React10.useRef(void 0);
|
|
651
|
+
React10.useEffect(() => {
|
|
652
|
+
const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
|
|
653
|
+
return () => cancelAnimationFrame(rAF);
|
|
654
|
+
}, []);
|
|
655
|
+
useLayoutEffect2(() => {
|
|
656
|
+
const node = ref.current;
|
|
657
|
+
if (node) {
|
|
658
|
+
originalStylesRef.current = originalStylesRef.current || {
|
|
659
|
+
transitionDuration: node.style.transitionDuration,
|
|
660
|
+
animationName: node.style.animationName
|
|
661
|
+
};
|
|
662
|
+
node.style.transitionDuration = "0s";
|
|
663
|
+
node.style.animationName = "none";
|
|
664
|
+
const rect = node.getBoundingClientRect();
|
|
665
|
+
heightRef.current = rect.height;
|
|
666
|
+
widthRef.current = rect.width;
|
|
667
|
+
if (!isMountAnimationPreventedRef.current) {
|
|
668
|
+
node.style.transitionDuration = originalStylesRef.current.transitionDuration;
|
|
669
|
+
node.style.animationName = originalStylesRef.current.animationName;
|
|
670
|
+
}
|
|
671
|
+
setIsPresent(present);
|
|
672
|
+
}
|
|
673
|
+
}, [context.open, present]);
|
|
674
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
675
|
+
Primitive.div,
|
|
676
|
+
{
|
|
677
|
+
"data-state": getState(context.open),
|
|
678
|
+
"data-disabled": context.disabled ? "" : void 0,
|
|
679
|
+
id: context.contentId,
|
|
680
|
+
hidden: !isOpen,
|
|
681
|
+
...contentProps,
|
|
682
|
+
ref: composedRefs,
|
|
683
|
+
style: {
|
|
684
|
+
[`--radix-collapsible-content-height`]: height ? `${height}px` : void 0,
|
|
685
|
+
[`--radix-collapsible-content-width`]: width ? `${width}px` : void 0,
|
|
686
|
+
...props.style
|
|
687
|
+
},
|
|
688
|
+
children: isOpen && children
|
|
689
|
+
}
|
|
690
|
+
);
|
|
691
|
+
});
|
|
692
|
+
function getState(open) {
|
|
693
|
+
return open ? "open" : "closed";
|
|
694
|
+
}
|
|
695
|
+
var Root = Collapsible;
|
|
696
|
+
var Trigger = CollapsibleTrigger;
|
|
697
|
+
var Content = CollapsibleContent;
|
|
698
|
+
|
|
699
|
+
// ../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.1.10_react@19.2.3/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
700
|
+
var React11 = __toESM(require("react"), 1);
|
|
701
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
702
|
+
var DirectionContext = React11.createContext(void 0);
|
|
703
|
+
function useDirection(localDir) {
|
|
704
|
+
const globalDir = React11.useContext(DirectionContext);
|
|
705
|
+
return localDir || globalDir || "ltr";
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.2.3_@types+react@19.1.10__@types+r_cd33b1a9636ddff2c99fbf0b4cf894a1/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
709
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
710
|
+
var ACCORDION_NAME = "Accordion";
|
|
711
|
+
var ACCORDION_KEYS = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"];
|
|
712
|
+
var [Collection, useCollection, createCollectionScope] = createCollection(ACCORDION_NAME);
|
|
713
|
+
var [createAccordionContext, createAccordionScope] = createContextScope(ACCORDION_NAME, [
|
|
714
|
+
createCollectionScope,
|
|
715
|
+
createCollapsibleScope
|
|
716
|
+
]);
|
|
717
|
+
var useCollapsibleScope = createCollapsibleScope();
|
|
718
|
+
var Accordion = import_react3.default.forwardRef(
|
|
719
|
+
(props, forwardedRef) => {
|
|
720
|
+
const { type, ...accordionProps } = props;
|
|
721
|
+
const singleProps = accordionProps;
|
|
722
|
+
const multipleProps = accordionProps;
|
|
723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Collection.Provider, { scope: props.__scopeAccordion, children: type === "multiple" ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });
|
|
724
|
+
}
|
|
725
|
+
);
|
|
726
|
+
Accordion.displayName = ACCORDION_NAME;
|
|
727
|
+
var [AccordionValueProvider, useAccordionValueContext] = createAccordionContext(ACCORDION_NAME);
|
|
728
|
+
var [AccordionCollapsibleProvider, useAccordionCollapsibleContext] = createAccordionContext(
|
|
729
|
+
ACCORDION_NAME,
|
|
730
|
+
{ collapsible: false }
|
|
731
|
+
);
|
|
732
|
+
var AccordionImplSingle = import_react3.default.forwardRef(
|
|
733
|
+
(props, forwardedRef) => {
|
|
734
|
+
const {
|
|
735
|
+
value: valueProp,
|
|
736
|
+
defaultValue,
|
|
737
|
+
onValueChange = () => {
|
|
738
|
+
},
|
|
739
|
+
collapsible = false,
|
|
740
|
+
...accordionSingleProps
|
|
741
|
+
} = props;
|
|
742
|
+
const [value, setValue] = useControllableState({
|
|
743
|
+
prop: valueProp,
|
|
744
|
+
defaultProp: defaultValue ?? "",
|
|
745
|
+
onChange: onValueChange,
|
|
746
|
+
caller: ACCORDION_NAME
|
|
747
|
+
});
|
|
748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
749
|
+
AccordionValueProvider,
|
|
750
|
+
{
|
|
751
|
+
scope: props.__scopeAccordion,
|
|
752
|
+
value: import_react3.default.useMemo(() => value ? [value] : [], [value]),
|
|
753
|
+
onItemOpen: setValue,
|
|
754
|
+
onItemClose: import_react3.default.useCallback(() => collapsible && setValue(""), [collapsible, setValue]),
|
|
755
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })
|
|
756
|
+
}
|
|
757
|
+
);
|
|
758
|
+
}
|
|
759
|
+
);
|
|
760
|
+
var AccordionImplMultiple = import_react3.default.forwardRef((props, forwardedRef) => {
|
|
761
|
+
const {
|
|
762
|
+
value: valueProp,
|
|
763
|
+
defaultValue,
|
|
764
|
+
onValueChange = () => {
|
|
765
|
+
},
|
|
766
|
+
...accordionMultipleProps
|
|
767
|
+
} = props;
|
|
768
|
+
const [value, setValue] = useControllableState({
|
|
769
|
+
prop: valueProp,
|
|
770
|
+
defaultProp: defaultValue ?? [],
|
|
771
|
+
onChange: onValueChange,
|
|
772
|
+
caller: ACCORDION_NAME
|
|
773
|
+
});
|
|
774
|
+
const handleItemOpen = import_react3.default.useCallback(
|
|
775
|
+
(itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),
|
|
776
|
+
[setValue]
|
|
777
|
+
);
|
|
778
|
+
const handleItemClose = import_react3.default.useCallback(
|
|
779
|
+
(itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),
|
|
780
|
+
[setValue]
|
|
781
|
+
);
|
|
782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
783
|
+
AccordionValueProvider,
|
|
784
|
+
{
|
|
785
|
+
scope: props.__scopeAccordion,
|
|
786
|
+
value,
|
|
787
|
+
onItemOpen: handleItemOpen,
|
|
788
|
+
onItemClose: handleItemClose,
|
|
789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })
|
|
790
|
+
}
|
|
791
|
+
);
|
|
792
|
+
});
|
|
793
|
+
var [AccordionImplProvider, useAccordionContext] = createAccordionContext(ACCORDION_NAME);
|
|
794
|
+
var AccordionImpl = import_react3.default.forwardRef(
|
|
795
|
+
(props, forwardedRef) => {
|
|
796
|
+
const { __scopeAccordion, disabled, dir, orientation = "vertical", ...accordionProps } = props;
|
|
797
|
+
const accordionRef = import_react3.default.useRef(null);
|
|
798
|
+
const composedRefs = useComposedRefs(accordionRef, forwardedRef);
|
|
799
|
+
const getItems = useCollection(__scopeAccordion);
|
|
800
|
+
const direction = useDirection(dir);
|
|
801
|
+
const isDirectionLTR = direction === "ltr";
|
|
802
|
+
const handleKeyDown = composeEventHandlers(props.onKeyDown, (event) => {
|
|
803
|
+
if (!ACCORDION_KEYS.includes(event.key)) return;
|
|
804
|
+
const target = event.target;
|
|
805
|
+
const triggerCollection = getItems().filter((item) => !item.ref.current?.disabled);
|
|
806
|
+
const triggerIndex = triggerCollection.findIndex((item) => item.ref.current === target);
|
|
807
|
+
const triggerCount = triggerCollection.length;
|
|
808
|
+
if (triggerIndex === -1) return;
|
|
809
|
+
event.preventDefault();
|
|
810
|
+
let nextIndex = triggerIndex;
|
|
811
|
+
const homeIndex = 0;
|
|
812
|
+
const endIndex = triggerCount - 1;
|
|
813
|
+
const moveNext = () => {
|
|
814
|
+
nextIndex = triggerIndex + 1;
|
|
815
|
+
if (nextIndex > endIndex) {
|
|
816
|
+
nextIndex = homeIndex;
|
|
817
|
+
}
|
|
818
|
+
};
|
|
819
|
+
const movePrev = () => {
|
|
820
|
+
nextIndex = triggerIndex - 1;
|
|
821
|
+
if (nextIndex < homeIndex) {
|
|
822
|
+
nextIndex = endIndex;
|
|
823
|
+
}
|
|
824
|
+
};
|
|
825
|
+
switch (event.key) {
|
|
826
|
+
case "Home":
|
|
827
|
+
nextIndex = homeIndex;
|
|
828
|
+
break;
|
|
829
|
+
case "End":
|
|
830
|
+
nextIndex = endIndex;
|
|
831
|
+
break;
|
|
832
|
+
case "ArrowRight":
|
|
833
|
+
if (orientation === "horizontal") {
|
|
834
|
+
if (isDirectionLTR) {
|
|
835
|
+
moveNext();
|
|
836
|
+
} else {
|
|
837
|
+
movePrev();
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
break;
|
|
841
|
+
case "ArrowDown":
|
|
842
|
+
if (orientation === "vertical") {
|
|
843
|
+
moveNext();
|
|
844
|
+
}
|
|
845
|
+
break;
|
|
846
|
+
case "ArrowLeft":
|
|
847
|
+
if (orientation === "horizontal") {
|
|
848
|
+
if (isDirectionLTR) {
|
|
849
|
+
movePrev();
|
|
850
|
+
} else {
|
|
851
|
+
moveNext();
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
break;
|
|
855
|
+
case "ArrowUp":
|
|
856
|
+
if (orientation === "vertical") {
|
|
857
|
+
movePrev();
|
|
858
|
+
}
|
|
859
|
+
break;
|
|
860
|
+
}
|
|
861
|
+
const clampedIndex = nextIndex % triggerCount;
|
|
862
|
+
triggerCollection[clampedIndex].ref.current?.focus();
|
|
863
|
+
});
|
|
864
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
865
|
+
AccordionImplProvider,
|
|
866
|
+
{
|
|
867
|
+
scope: __scopeAccordion,
|
|
868
|
+
disabled,
|
|
869
|
+
direction: dir,
|
|
870
|
+
orientation,
|
|
871
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Collection.Slot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
872
|
+
Primitive.div,
|
|
873
|
+
{
|
|
874
|
+
...accordionProps,
|
|
875
|
+
"data-orientation": orientation,
|
|
876
|
+
ref: composedRefs,
|
|
877
|
+
onKeyDown: disabled ? void 0 : handleKeyDown
|
|
878
|
+
}
|
|
879
|
+
) })
|
|
880
|
+
}
|
|
881
|
+
);
|
|
882
|
+
}
|
|
883
|
+
);
|
|
884
|
+
var ITEM_NAME = "AccordionItem";
|
|
885
|
+
var [AccordionItemProvider, useAccordionItemContext] = createAccordionContext(ITEM_NAME);
|
|
886
|
+
var AccordionItem = import_react3.default.forwardRef(
|
|
887
|
+
(props, forwardedRef) => {
|
|
888
|
+
const { __scopeAccordion, value, ...accordionItemProps } = props;
|
|
889
|
+
const accordionContext = useAccordionContext(ITEM_NAME, __scopeAccordion);
|
|
890
|
+
const valueContext = useAccordionValueContext(ITEM_NAME, __scopeAccordion);
|
|
891
|
+
const collapsibleScope = useCollapsibleScope(__scopeAccordion);
|
|
892
|
+
const triggerId = useId();
|
|
893
|
+
const open = value && valueContext.value.includes(value) || false;
|
|
894
|
+
const disabled = accordionContext.disabled || props.disabled;
|
|
895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
896
|
+
AccordionItemProvider,
|
|
897
|
+
{
|
|
898
|
+
scope: __scopeAccordion,
|
|
899
|
+
open,
|
|
900
|
+
disabled,
|
|
901
|
+
triggerId,
|
|
902
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
903
|
+
Root,
|
|
904
|
+
{
|
|
905
|
+
"data-orientation": accordionContext.orientation,
|
|
906
|
+
"data-state": getState2(open),
|
|
907
|
+
...collapsibleScope,
|
|
908
|
+
...accordionItemProps,
|
|
909
|
+
ref: forwardedRef,
|
|
910
|
+
disabled,
|
|
911
|
+
open,
|
|
912
|
+
onOpenChange: (open2) => {
|
|
913
|
+
if (open2) {
|
|
914
|
+
valueContext.onItemOpen(value);
|
|
915
|
+
} else {
|
|
916
|
+
valueContext.onItemClose(value);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
)
|
|
921
|
+
}
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
);
|
|
925
|
+
AccordionItem.displayName = ITEM_NAME;
|
|
926
|
+
var HEADER_NAME = "AccordionHeader";
|
|
927
|
+
var AccordionHeader = import_react3.default.forwardRef(
|
|
928
|
+
(props, forwardedRef) => {
|
|
929
|
+
const { __scopeAccordion, ...headerProps } = props;
|
|
930
|
+
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
931
|
+
const itemContext = useAccordionItemContext(HEADER_NAME, __scopeAccordion);
|
|
932
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
933
|
+
Primitive.h3,
|
|
934
|
+
{
|
|
935
|
+
"data-orientation": accordionContext.orientation,
|
|
936
|
+
"data-state": getState2(itemContext.open),
|
|
937
|
+
"data-disabled": itemContext.disabled ? "" : void 0,
|
|
938
|
+
...headerProps,
|
|
939
|
+
ref: forwardedRef
|
|
940
|
+
}
|
|
941
|
+
);
|
|
942
|
+
}
|
|
943
|
+
);
|
|
944
|
+
AccordionHeader.displayName = HEADER_NAME;
|
|
945
|
+
var TRIGGER_NAME2 = "AccordionTrigger";
|
|
946
|
+
var AccordionTrigger = import_react3.default.forwardRef(
|
|
947
|
+
(props, forwardedRef) => {
|
|
948
|
+
const { __scopeAccordion, ...triggerProps } = props;
|
|
949
|
+
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
950
|
+
const itemContext = useAccordionItemContext(TRIGGER_NAME2, __scopeAccordion);
|
|
951
|
+
const collapsibleContext = useAccordionCollapsibleContext(TRIGGER_NAME2, __scopeAccordion);
|
|
952
|
+
const collapsibleScope = useCollapsibleScope(__scopeAccordion);
|
|
953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Collection.ItemSlot, { scope: __scopeAccordion, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
954
|
+
Trigger,
|
|
955
|
+
{
|
|
956
|
+
"aria-disabled": itemContext.open && !collapsibleContext.collapsible || void 0,
|
|
957
|
+
"data-orientation": accordionContext.orientation,
|
|
958
|
+
id: itemContext.triggerId,
|
|
959
|
+
...collapsibleScope,
|
|
960
|
+
...triggerProps,
|
|
961
|
+
ref: forwardedRef
|
|
962
|
+
}
|
|
963
|
+
) });
|
|
964
|
+
}
|
|
965
|
+
);
|
|
966
|
+
AccordionTrigger.displayName = TRIGGER_NAME2;
|
|
967
|
+
var CONTENT_NAME2 = "AccordionContent";
|
|
968
|
+
var AccordionContent = import_react3.default.forwardRef(
|
|
969
|
+
(props, forwardedRef) => {
|
|
970
|
+
const { __scopeAccordion, ...contentProps } = props;
|
|
971
|
+
const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);
|
|
972
|
+
const itemContext = useAccordionItemContext(CONTENT_NAME2, __scopeAccordion);
|
|
973
|
+
const collapsibleScope = useCollapsibleScope(__scopeAccordion);
|
|
974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
975
|
+
Content,
|
|
976
|
+
{
|
|
977
|
+
role: "region",
|
|
978
|
+
"aria-labelledby": itemContext.triggerId,
|
|
979
|
+
"data-orientation": accordionContext.orientation,
|
|
980
|
+
...collapsibleScope,
|
|
981
|
+
...contentProps,
|
|
982
|
+
ref: forwardedRef,
|
|
983
|
+
style: {
|
|
984
|
+
["--radix-accordion-content-height"]: "var(--radix-collapsible-content-height)",
|
|
985
|
+
["--radix-accordion-content-width"]: "var(--radix-collapsible-content-width)",
|
|
986
|
+
...props.style
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
);
|
|
990
|
+
}
|
|
991
|
+
);
|
|
992
|
+
AccordionContent.displayName = CONTENT_NAME2;
|
|
993
|
+
function getState2(open) {
|
|
994
|
+
return open ? "open" : "closed";
|
|
995
|
+
}
|
|
996
|
+
var Root2 = Accordion;
|
|
997
|
+
var Item = AccordionItem;
|
|
998
|
+
var Header = AccordionHeader;
|
|
999
|
+
var Trigger2 = AccordionTrigger;
|
|
1000
|
+
var Content2 = AccordionContent;
|
|
1001
|
+
|
|
1002
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
1003
|
+
var import_react5 = require("react");
|
|
1004
|
+
|
|
1005
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
1006
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
1007
|
+
var toCamelCase = (string) => string.replace(
|
|
1008
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
1009
|
+
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
1010
|
+
);
|
|
1011
|
+
var toPascalCase = (string) => {
|
|
1012
|
+
const camelCase = toCamelCase(string);
|
|
1013
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
1014
|
+
};
|
|
1015
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
1016
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
1017
|
+
}).join(" ").trim();
|
|
1018
|
+
var hasA11yProp = (props) => {
|
|
1019
|
+
for (const prop in props) {
|
|
1020
|
+
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
1021
|
+
return true;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
1027
|
+
var import_react4 = require("react");
|
|
1028
|
+
|
|
1029
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
1030
|
+
var defaultAttributes = {
|
|
1031
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1032
|
+
width: 24,
|
|
1033
|
+
height: 24,
|
|
1034
|
+
viewBox: "0 0 24 24",
|
|
1035
|
+
fill: "none",
|
|
1036
|
+
stroke: "currentColor",
|
|
1037
|
+
strokeWidth: 2,
|
|
1038
|
+
strokeLinecap: "round",
|
|
1039
|
+
strokeLinejoin: "round"
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
1043
|
+
var Icon = (0, import_react4.forwardRef)(
|
|
1044
|
+
({
|
|
1045
|
+
color = "currentColor",
|
|
1046
|
+
size = 24,
|
|
1047
|
+
strokeWidth = 2,
|
|
1048
|
+
absoluteStrokeWidth,
|
|
1049
|
+
className = "",
|
|
1050
|
+
children,
|
|
1051
|
+
iconNode,
|
|
1052
|
+
...rest
|
|
1053
|
+
}, ref) => (0, import_react4.createElement)(
|
|
1054
|
+
"svg",
|
|
1055
|
+
{
|
|
1056
|
+
ref,
|
|
1057
|
+
...defaultAttributes,
|
|
1058
|
+
width: size,
|
|
1059
|
+
height: size,
|
|
1060
|
+
stroke: color,
|
|
1061
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
1062
|
+
className: mergeClasses("lucide", className),
|
|
1063
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
1064
|
+
...rest
|
|
1065
|
+
},
|
|
1066
|
+
[
|
|
1067
|
+
...iconNode.map(([tag, attrs]) => (0, import_react4.createElement)(tag, attrs)),
|
|
1068
|
+
...Array.isArray(children) ? children : [children]
|
|
1069
|
+
]
|
|
1070
|
+
)
|
|
1071
|
+
);
|
|
1072
|
+
|
|
1073
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
1074
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
1075
|
+
const Component = (0, import_react5.forwardRef)(
|
|
1076
|
+
({ className, ...props }, ref) => (0, import_react5.createElement)(Icon, {
|
|
1077
|
+
ref,
|
|
1078
|
+
iconNode,
|
|
1079
|
+
className: mergeClasses(
|
|
1080
|
+
`lucide-${toKebabCase(toPascalCase(iconName))}`,
|
|
1081
|
+
`lucide-${iconName}`,
|
|
1082
|
+
className
|
|
1083
|
+
),
|
|
1084
|
+
...props
|
|
1085
|
+
})
|
|
1086
|
+
);
|
|
1087
|
+
Component.displayName = toPascalCase(iconName);
|
|
1088
|
+
return Component;
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
1092
|
+
var __iconNode = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
1093
|
+
var ChevronDown = createLucideIcon("chevron-down", __iconNode);
|
|
1094
|
+
|
|
1095
|
+
// ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
1096
|
+
function r(e) {
|
|
1097
|
+
var t, f, n = "";
|
|
1098
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
1099
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
1100
|
+
var o = e.length;
|
|
1101
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
1102
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
1103
|
+
return n;
|
|
1104
|
+
}
|
|
1105
|
+
function clsx() {
|
|
1106
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
1107
|
+
return n;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
// ../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
1111
|
+
var CLASS_PART_SEPARATOR = "-";
|
|
1112
|
+
var createClassGroupUtils = (config) => {
|
|
1113
|
+
const classMap = createClassMap(config);
|
|
1114
|
+
const {
|
|
1115
|
+
conflictingClassGroups,
|
|
1116
|
+
conflictingClassGroupModifiers
|
|
1117
|
+
} = config;
|
|
1118
|
+
const getClassGroupId = (className) => {
|
|
1119
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
1120
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
|
1121
|
+
classParts.shift();
|
|
1122
|
+
}
|
|
1123
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
1124
|
+
};
|
|
1125
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
1126
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
1127
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
1128
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
1129
|
+
}
|
|
1130
|
+
return conflicts;
|
|
1131
|
+
};
|
|
1132
|
+
return {
|
|
1133
|
+
getClassGroupId,
|
|
1134
|
+
getConflictingClassGroupIds
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
var getGroupRecursive = (classParts, classPartObject) => {
|
|
1138
|
+
if (classParts.length === 0) {
|
|
1139
|
+
return classPartObject.classGroupId;
|
|
1140
|
+
}
|
|
1141
|
+
const currentClassPart = classParts[0];
|
|
1142
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
1143
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
|
1144
|
+
if (classGroupFromNextClassPart) {
|
|
1145
|
+
return classGroupFromNextClassPart;
|
|
1146
|
+
}
|
|
1147
|
+
if (classPartObject.validators.length === 0) {
|
|
1148
|
+
return void 0;
|
|
1149
|
+
}
|
|
1150
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
1151
|
+
return classPartObject.validators.find(({
|
|
1152
|
+
validator
|
|
1153
|
+
}) => validator(classRest))?.classGroupId;
|
|
1154
|
+
};
|
|
1155
|
+
var arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
1156
|
+
var getGroupIdForArbitraryProperty = (className) => {
|
|
1157
|
+
if (arbitraryPropertyRegex.test(className)) {
|
|
1158
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
1159
|
+
const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
|
1160
|
+
if (property) {
|
|
1161
|
+
return "arbitrary.." + property;
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
var createClassMap = (config) => {
|
|
1166
|
+
const {
|
|
1167
|
+
theme,
|
|
1168
|
+
prefix
|
|
1169
|
+
} = config;
|
|
1170
|
+
const classMap = {
|
|
1171
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1172
|
+
validators: []
|
|
1173
|
+
};
|
|
1174
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
1175
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
|
1176
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme);
|
|
1177
|
+
});
|
|
1178
|
+
return classMap;
|
|
1179
|
+
};
|
|
1180
|
+
var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
1181
|
+
classGroup.forEach((classDefinition) => {
|
|
1182
|
+
if (typeof classDefinition === "string") {
|
|
1183
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
1184
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
1185
|
+
return;
|
|
1186
|
+
}
|
|
1187
|
+
if (typeof classDefinition === "function") {
|
|
1188
|
+
if (isThemeGetter(classDefinition)) {
|
|
1189
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
1190
|
+
return;
|
|
1191
|
+
}
|
|
1192
|
+
classPartObject.validators.push({
|
|
1193
|
+
validator: classDefinition,
|
|
1194
|
+
classGroupId
|
|
1195
|
+
});
|
|
1196
|
+
return;
|
|
1197
|
+
}
|
|
1198
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
|
1199
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
|
|
1200
|
+
});
|
|
1201
|
+
});
|
|
1202
|
+
};
|
|
1203
|
+
var getPart = (classPartObject, path) => {
|
|
1204
|
+
let currentClassPartObject = classPartObject;
|
|
1205
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
|
1206
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
1207
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
|
1208
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1209
|
+
validators: []
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
1213
|
+
});
|
|
1214
|
+
return currentClassPartObject;
|
|
1215
|
+
};
|
|
1216
|
+
var isThemeGetter = (func) => func.isThemeGetter;
|
|
1217
|
+
var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
|
|
1218
|
+
if (!prefix) {
|
|
1219
|
+
return classGroupEntries;
|
|
1220
|
+
}
|
|
1221
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
|
1222
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
|
1223
|
+
if (typeof classDefinition === "string") {
|
|
1224
|
+
return prefix + classDefinition;
|
|
1225
|
+
}
|
|
1226
|
+
if (typeof classDefinition === "object") {
|
|
1227
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
|
1228
|
+
}
|
|
1229
|
+
return classDefinition;
|
|
1230
|
+
});
|
|
1231
|
+
return [classGroupId, prefixedClassGroup];
|
|
1232
|
+
});
|
|
1233
|
+
};
|
|
1234
|
+
var createLruCache = (maxCacheSize) => {
|
|
1235
|
+
if (maxCacheSize < 1) {
|
|
1236
|
+
return {
|
|
1237
|
+
get: () => void 0,
|
|
1238
|
+
set: () => {
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
let cacheSize = 0;
|
|
1243
|
+
let cache = /* @__PURE__ */ new Map();
|
|
1244
|
+
let previousCache = /* @__PURE__ */ new Map();
|
|
1245
|
+
const update = (key, value) => {
|
|
1246
|
+
cache.set(key, value);
|
|
1247
|
+
cacheSize++;
|
|
1248
|
+
if (cacheSize > maxCacheSize) {
|
|
1249
|
+
cacheSize = 0;
|
|
1250
|
+
previousCache = cache;
|
|
1251
|
+
cache = /* @__PURE__ */ new Map();
|
|
1252
|
+
}
|
|
1253
|
+
};
|
|
1254
|
+
return {
|
|
1255
|
+
get(key) {
|
|
1256
|
+
let value = cache.get(key);
|
|
1257
|
+
if (value !== void 0) {
|
|
1258
|
+
return value;
|
|
1259
|
+
}
|
|
1260
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
|
1261
|
+
update(key, value);
|
|
1262
|
+
return value;
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
set(key, value) {
|
|
1266
|
+
if (cache.has(key)) {
|
|
1267
|
+
cache.set(key, value);
|
|
1268
|
+
} else {
|
|
1269
|
+
update(key, value);
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
var IMPORTANT_MODIFIER = "!";
|
|
1275
|
+
var createParseClassName = (config) => {
|
|
1276
|
+
const {
|
|
1277
|
+
separator,
|
|
1278
|
+
experimentalParseClassName
|
|
1279
|
+
} = config;
|
|
1280
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
|
1281
|
+
const firstSeparatorCharacter = separator[0];
|
|
1282
|
+
const separatorLength = separator.length;
|
|
1283
|
+
const parseClassName = (className) => {
|
|
1284
|
+
const modifiers = [];
|
|
1285
|
+
let bracketDepth = 0;
|
|
1286
|
+
let modifierStart = 0;
|
|
1287
|
+
let postfixModifierPosition;
|
|
1288
|
+
for (let index = 0; index < className.length; index++) {
|
|
1289
|
+
let currentCharacter = className[index];
|
|
1290
|
+
if (bracketDepth === 0) {
|
|
1291
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
|
1292
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
1293
|
+
modifierStart = index + separatorLength;
|
|
1294
|
+
continue;
|
|
1295
|
+
}
|
|
1296
|
+
if (currentCharacter === "/") {
|
|
1297
|
+
postfixModifierPosition = index;
|
|
1298
|
+
continue;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
if (currentCharacter === "[") {
|
|
1302
|
+
bracketDepth++;
|
|
1303
|
+
} else if (currentCharacter === "]") {
|
|
1304
|
+
bracketDepth--;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
|
1308
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
1309
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
1310
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
1311
|
+
return {
|
|
1312
|
+
modifiers,
|
|
1313
|
+
hasImportantModifier,
|
|
1314
|
+
baseClassName,
|
|
1315
|
+
maybePostfixModifierPosition
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
if (experimentalParseClassName) {
|
|
1319
|
+
return (className) => experimentalParseClassName({
|
|
1320
|
+
className,
|
|
1321
|
+
parseClassName
|
|
1322
|
+
});
|
|
1323
|
+
}
|
|
1324
|
+
return parseClassName;
|
|
1325
|
+
};
|
|
1326
|
+
var sortModifiers = (modifiers) => {
|
|
1327
|
+
if (modifiers.length <= 1) {
|
|
1328
|
+
return modifiers;
|
|
1329
|
+
}
|
|
1330
|
+
const sortedModifiers = [];
|
|
1331
|
+
let unsortedModifiers = [];
|
|
1332
|
+
modifiers.forEach((modifier) => {
|
|
1333
|
+
const isArbitraryVariant = modifier[0] === "[";
|
|
1334
|
+
if (isArbitraryVariant) {
|
|
1335
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
1336
|
+
unsortedModifiers = [];
|
|
1337
|
+
} else {
|
|
1338
|
+
unsortedModifiers.push(modifier);
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1341
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
|
1342
|
+
return sortedModifiers;
|
|
1343
|
+
};
|
|
1344
|
+
var createConfigUtils = (config) => ({
|
|
1345
|
+
cache: createLruCache(config.cacheSize),
|
|
1346
|
+
parseClassName: createParseClassName(config),
|
|
1347
|
+
...createClassGroupUtils(config)
|
|
1348
|
+
});
|
|
1349
|
+
var SPLIT_CLASSES_REGEX = /\s+/;
|
|
1350
|
+
var mergeClassList = (classList, configUtils) => {
|
|
1351
|
+
const {
|
|
1352
|
+
parseClassName,
|
|
1353
|
+
getClassGroupId,
|
|
1354
|
+
getConflictingClassGroupIds
|
|
1355
|
+
} = configUtils;
|
|
1356
|
+
const classGroupsInConflict = [];
|
|
1357
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
1358
|
+
let result = "";
|
|
1359
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
1360
|
+
const originalClassName = classNames[index];
|
|
1361
|
+
const {
|
|
1362
|
+
modifiers,
|
|
1363
|
+
hasImportantModifier,
|
|
1364
|
+
baseClassName,
|
|
1365
|
+
maybePostfixModifierPosition
|
|
1366
|
+
} = parseClassName(originalClassName);
|
|
1367
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
1368
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
1369
|
+
if (!classGroupId) {
|
|
1370
|
+
if (!hasPostfixModifier) {
|
|
1371
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
1372
|
+
continue;
|
|
1373
|
+
}
|
|
1374
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
1375
|
+
if (!classGroupId) {
|
|
1376
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
1377
|
+
continue;
|
|
1378
|
+
}
|
|
1379
|
+
hasPostfixModifier = false;
|
|
1380
|
+
}
|
|
1381
|
+
const variantModifier = sortModifiers(modifiers).join(":");
|
|
1382
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
1383
|
+
const classId = modifierId + classGroupId;
|
|
1384
|
+
if (classGroupsInConflict.includes(classId)) {
|
|
1385
|
+
continue;
|
|
1386
|
+
}
|
|
1387
|
+
classGroupsInConflict.push(classId);
|
|
1388
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
1389
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
1390
|
+
const group = conflictGroups[i];
|
|
1391
|
+
classGroupsInConflict.push(modifierId + group);
|
|
1392
|
+
}
|
|
1393
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
1394
|
+
}
|
|
1395
|
+
return result;
|
|
1396
|
+
};
|
|
1397
|
+
function twJoin() {
|
|
1398
|
+
let index = 0;
|
|
1399
|
+
let argument;
|
|
1400
|
+
let resolvedValue;
|
|
1401
|
+
let string = "";
|
|
1402
|
+
while (index < arguments.length) {
|
|
1403
|
+
if (argument = arguments[index++]) {
|
|
1404
|
+
if (resolvedValue = toValue(argument)) {
|
|
1405
|
+
string && (string += " ");
|
|
1406
|
+
string += resolvedValue;
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
return string;
|
|
1411
|
+
}
|
|
1412
|
+
var toValue = (mix) => {
|
|
1413
|
+
if (typeof mix === "string") {
|
|
1414
|
+
return mix;
|
|
1415
|
+
}
|
|
1416
|
+
let resolvedValue;
|
|
1417
|
+
let string = "";
|
|
1418
|
+
for (let k = 0; k < mix.length; k++) {
|
|
1419
|
+
if (mix[k]) {
|
|
1420
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
1421
|
+
string && (string += " ");
|
|
1422
|
+
string += resolvedValue;
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
return string;
|
|
1427
|
+
};
|
|
1428
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
1429
|
+
let configUtils;
|
|
1430
|
+
let cacheGet;
|
|
1431
|
+
let cacheSet;
|
|
1432
|
+
let functionToCall = initTailwindMerge;
|
|
1433
|
+
function initTailwindMerge(classList) {
|
|
1434
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
1435
|
+
configUtils = createConfigUtils(config);
|
|
1436
|
+
cacheGet = configUtils.cache.get;
|
|
1437
|
+
cacheSet = configUtils.cache.set;
|
|
1438
|
+
functionToCall = tailwindMerge;
|
|
1439
|
+
return tailwindMerge(classList);
|
|
1440
|
+
}
|
|
1441
|
+
function tailwindMerge(classList) {
|
|
1442
|
+
const cachedResult = cacheGet(classList);
|
|
1443
|
+
if (cachedResult) {
|
|
1444
|
+
return cachedResult;
|
|
1445
|
+
}
|
|
1446
|
+
const result = mergeClassList(classList, configUtils);
|
|
1447
|
+
cacheSet(classList, result);
|
|
1448
|
+
return result;
|
|
1449
|
+
}
|
|
1450
|
+
return function callTailwindMerge() {
|
|
1451
|
+
return functionToCall(twJoin.apply(null, arguments));
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
var fromTheme = (key) => {
|
|
1455
|
+
const themeGetter = (theme) => theme[key] || [];
|
|
1456
|
+
themeGetter.isThemeGetter = true;
|
|
1457
|
+
return themeGetter;
|
|
1458
|
+
};
|
|
1459
|
+
var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
1460
|
+
var fractionRegex = /^\d+\/\d+$/;
|
|
1461
|
+
var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
1462
|
+
var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
1463
|
+
var 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$/;
|
|
1464
|
+
var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
1465
|
+
var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
1466
|
+
var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
1467
|
+
var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
1468
|
+
var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
|
|
1469
|
+
var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
|
|
1470
|
+
var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
|
|
1471
|
+
var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
|
|
1472
|
+
var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
1473
|
+
var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
1474
|
+
var isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
|
1475
|
+
var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
1476
|
+
var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
|
|
1477
|
+
var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
|
|
1478
|
+
var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
|
1479
|
+
var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
|
|
1480
|
+
var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
|
|
1481
|
+
var isAny = () => true;
|
|
1482
|
+
var getIsArbitraryValue = (value, label, testValue) => {
|
|
1483
|
+
const result = arbitraryValueRegex.exec(value);
|
|
1484
|
+
if (result) {
|
|
1485
|
+
if (result[1]) {
|
|
1486
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
|
1487
|
+
}
|
|
1488
|
+
return testValue(result[2]);
|
|
1489
|
+
}
|
|
1490
|
+
return false;
|
|
1491
|
+
};
|
|
1492
|
+
var isLengthOnly = (value) => (
|
|
1493
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1494
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1495
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1496
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
|
|
1497
|
+
);
|
|
1498
|
+
var isNever = () => false;
|
|
1499
|
+
var isShadow = (value) => shadowRegex.test(value);
|
|
1500
|
+
var isImage = (value) => imageRegex.test(value);
|
|
1501
|
+
var getDefaultConfig = () => {
|
|
1502
|
+
const colors = fromTheme("colors");
|
|
1503
|
+
const spacing = fromTheme("spacing");
|
|
1504
|
+
const blur = fromTheme("blur");
|
|
1505
|
+
const brightness = fromTheme("brightness");
|
|
1506
|
+
const borderColor = fromTheme("borderColor");
|
|
1507
|
+
const borderRadius = fromTheme("borderRadius");
|
|
1508
|
+
const borderSpacing = fromTheme("borderSpacing");
|
|
1509
|
+
const borderWidth = fromTheme("borderWidth");
|
|
1510
|
+
const contrast = fromTheme("contrast");
|
|
1511
|
+
const grayscale = fromTheme("grayscale");
|
|
1512
|
+
const hueRotate = fromTheme("hueRotate");
|
|
1513
|
+
const invert = fromTheme("invert");
|
|
1514
|
+
const gap = fromTheme("gap");
|
|
1515
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
|
1516
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
|
1517
|
+
const inset = fromTheme("inset");
|
|
1518
|
+
const margin = fromTheme("margin");
|
|
1519
|
+
const opacity = fromTheme("opacity");
|
|
1520
|
+
const padding = fromTheme("padding");
|
|
1521
|
+
const saturate = fromTheme("saturate");
|
|
1522
|
+
const scale = fromTheme("scale");
|
|
1523
|
+
const sepia = fromTheme("sepia");
|
|
1524
|
+
const skew = fromTheme("skew");
|
|
1525
|
+
const space = fromTheme("space");
|
|
1526
|
+
const translate = fromTheme("translate");
|
|
1527
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
|
1528
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
1529
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
|
1530
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
|
1531
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
|
1532
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
1533
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
1534
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
1535
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
1536
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
1537
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
1538
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
1539
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
|
1540
|
+
return {
|
|
1541
|
+
cacheSize: 500,
|
|
1542
|
+
separator: ":",
|
|
1543
|
+
theme: {
|
|
1544
|
+
colors: [isAny],
|
|
1545
|
+
spacing: [isLength, isArbitraryLength],
|
|
1546
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
1547
|
+
brightness: getNumberAndArbitrary(),
|
|
1548
|
+
borderColor: [colors],
|
|
1549
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
1550
|
+
borderSpacing: getSpacingWithArbitrary(),
|
|
1551
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
|
1552
|
+
contrast: getNumberAndArbitrary(),
|
|
1553
|
+
grayscale: getZeroAndEmpty(),
|
|
1554
|
+
hueRotate: getNumberAndArbitrary(),
|
|
1555
|
+
invert: getZeroAndEmpty(),
|
|
1556
|
+
gap: getSpacingWithArbitrary(),
|
|
1557
|
+
gradientColorStops: [colors],
|
|
1558
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
1559
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
|
1560
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
|
1561
|
+
opacity: getNumberAndArbitrary(),
|
|
1562
|
+
padding: getSpacingWithArbitrary(),
|
|
1563
|
+
saturate: getNumberAndArbitrary(),
|
|
1564
|
+
scale: getNumberAndArbitrary(),
|
|
1565
|
+
sepia: getZeroAndEmpty(),
|
|
1566
|
+
skew: getNumberAndArbitrary(),
|
|
1567
|
+
space: getSpacingWithArbitrary(),
|
|
1568
|
+
translate: getSpacingWithArbitrary()
|
|
1569
|
+
},
|
|
1570
|
+
classGroups: {
|
|
1571
|
+
// Layout
|
|
1572
|
+
/**
|
|
1573
|
+
* Aspect Ratio
|
|
1574
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1575
|
+
*/
|
|
1576
|
+
aspect: [{
|
|
1577
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
|
1578
|
+
}],
|
|
1579
|
+
/**
|
|
1580
|
+
* Container
|
|
1581
|
+
* @see https://tailwindcss.com/docs/container
|
|
1582
|
+
*/
|
|
1583
|
+
container: ["container"],
|
|
1584
|
+
/**
|
|
1585
|
+
* Columns
|
|
1586
|
+
* @see https://tailwindcss.com/docs/columns
|
|
1587
|
+
*/
|
|
1588
|
+
columns: [{
|
|
1589
|
+
columns: [isTshirtSize]
|
|
1590
|
+
}],
|
|
1591
|
+
/**
|
|
1592
|
+
* Break After
|
|
1593
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
1594
|
+
*/
|
|
1595
|
+
"break-after": [{
|
|
1596
|
+
"break-after": getBreaks()
|
|
1597
|
+
}],
|
|
1598
|
+
/**
|
|
1599
|
+
* Break Before
|
|
1600
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
1601
|
+
*/
|
|
1602
|
+
"break-before": [{
|
|
1603
|
+
"break-before": getBreaks()
|
|
1604
|
+
}],
|
|
1605
|
+
/**
|
|
1606
|
+
* Break Inside
|
|
1607
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
1608
|
+
*/
|
|
1609
|
+
"break-inside": [{
|
|
1610
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
1611
|
+
}],
|
|
1612
|
+
/**
|
|
1613
|
+
* Box Decoration Break
|
|
1614
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
1615
|
+
*/
|
|
1616
|
+
"box-decoration": [{
|
|
1617
|
+
"box-decoration": ["slice", "clone"]
|
|
1618
|
+
}],
|
|
1619
|
+
/**
|
|
1620
|
+
* Box Sizing
|
|
1621
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
1622
|
+
*/
|
|
1623
|
+
box: [{
|
|
1624
|
+
box: ["border", "content"]
|
|
1625
|
+
}],
|
|
1626
|
+
/**
|
|
1627
|
+
* Display
|
|
1628
|
+
* @see https://tailwindcss.com/docs/display
|
|
1629
|
+
*/
|
|
1630
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
1631
|
+
/**
|
|
1632
|
+
* Floats
|
|
1633
|
+
* @see https://tailwindcss.com/docs/float
|
|
1634
|
+
*/
|
|
1635
|
+
float: [{
|
|
1636
|
+
float: ["right", "left", "none", "start", "end"]
|
|
1637
|
+
}],
|
|
1638
|
+
/**
|
|
1639
|
+
* Clear
|
|
1640
|
+
* @see https://tailwindcss.com/docs/clear
|
|
1641
|
+
*/
|
|
1642
|
+
clear: [{
|
|
1643
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
1644
|
+
}],
|
|
1645
|
+
/**
|
|
1646
|
+
* Isolation
|
|
1647
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
1648
|
+
*/
|
|
1649
|
+
isolation: ["isolate", "isolation-auto"],
|
|
1650
|
+
/**
|
|
1651
|
+
* Object Fit
|
|
1652
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
1653
|
+
*/
|
|
1654
|
+
"object-fit": [{
|
|
1655
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
1656
|
+
}],
|
|
1657
|
+
/**
|
|
1658
|
+
* Object Position
|
|
1659
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
1660
|
+
*/
|
|
1661
|
+
"object-position": [{
|
|
1662
|
+
object: [...getPositions(), isArbitraryValue]
|
|
1663
|
+
}],
|
|
1664
|
+
/**
|
|
1665
|
+
* Overflow
|
|
1666
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1667
|
+
*/
|
|
1668
|
+
overflow: [{
|
|
1669
|
+
overflow: getOverflow()
|
|
1670
|
+
}],
|
|
1671
|
+
/**
|
|
1672
|
+
* Overflow X
|
|
1673
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1674
|
+
*/
|
|
1675
|
+
"overflow-x": [{
|
|
1676
|
+
"overflow-x": getOverflow()
|
|
1677
|
+
}],
|
|
1678
|
+
/**
|
|
1679
|
+
* Overflow Y
|
|
1680
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1681
|
+
*/
|
|
1682
|
+
"overflow-y": [{
|
|
1683
|
+
"overflow-y": getOverflow()
|
|
1684
|
+
}],
|
|
1685
|
+
/**
|
|
1686
|
+
* Overscroll Behavior
|
|
1687
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1688
|
+
*/
|
|
1689
|
+
overscroll: [{
|
|
1690
|
+
overscroll: getOverscroll()
|
|
1691
|
+
}],
|
|
1692
|
+
/**
|
|
1693
|
+
* Overscroll Behavior X
|
|
1694
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1695
|
+
*/
|
|
1696
|
+
"overscroll-x": [{
|
|
1697
|
+
"overscroll-x": getOverscroll()
|
|
1698
|
+
}],
|
|
1699
|
+
/**
|
|
1700
|
+
* Overscroll Behavior Y
|
|
1701
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1702
|
+
*/
|
|
1703
|
+
"overscroll-y": [{
|
|
1704
|
+
"overscroll-y": getOverscroll()
|
|
1705
|
+
}],
|
|
1706
|
+
/**
|
|
1707
|
+
* Position
|
|
1708
|
+
* @see https://tailwindcss.com/docs/position
|
|
1709
|
+
*/
|
|
1710
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
1711
|
+
/**
|
|
1712
|
+
* Top / Right / Bottom / Left
|
|
1713
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1714
|
+
*/
|
|
1715
|
+
inset: [{
|
|
1716
|
+
inset: [inset]
|
|
1717
|
+
}],
|
|
1718
|
+
/**
|
|
1719
|
+
* Right / Left
|
|
1720
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1721
|
+
*/
|
|
1722
|
+
"inset-x": [{
|
|
1723
|
+
"inset-x": [inset]
|
|
1724
|
+
}],
|
|
1725
|
+
/**
|
|
1726
|
+
* Top / Bottom
|
|
1727
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1728
|
+
*/
|
|
1729
|
+
"inset-y": [{
|
|
1730
|
+
"inset-y": [inset]
|
|
1731
|
+
}],
|
|
1732
|
+
/**
|
|
1733
|
+
* Start
|
|
1734
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1735
|
+
*/
|
|
1736
|
+
start: [{
|
|
1737
|
+
start: [inset]
|
|
1738
|
+
}],
|
|
1739
|
+
/**
|
|
1740
|
+
* End
|
|
1741
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1742
|
+
*/
|
|
1743
|
+
end: [{
|
|
1744
|
+
end: [inset]
|
|
1745
|
+
}],
|
|
1746
|
+
/**
|
|
1747
|
+
* Top
|
|
1748
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1749
|
+
*/
|
|
1750
|
+
top: [{
|
|
1751
|
+
top: [inset]
|
|
1752
|
+
}],
|
|
1753
|
+
/**
|
|
1754
|
+
* Right
|
|
1755
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1756
|
+
*/
|
|
1757
|
+
right: [{
|
|
1758
|
+
right: [inset]
|
|
1759
|
+
}],
|
|
1760
|
+
/**
|
|
1761
|
+
* Bottom
|
|
1762
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1763
|
+
*/
|
|
1764
|
+
bottom: [{
|
|
1765
|
+
bottom: [inset]
|
|
1766
|
+
}],
|
|
1767
|
+
/**
|
|
1768
|
+
* Left
|
|
1769
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1770
|
+
*/
|
|
1771
|
+
left: [{
|
|
1772
|
+
left: [inset]
|
|
1773
|
+
}],
|
|
1774
|
+
/**
|
|
1775
|
+
* Visibility
|
|
1776
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
1777
|
+
*/
|
|
1778
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
1779
|
+
/**
|
|
1780
|
+
* Z-Index
|
|
1781
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
1782
|
+
*/
|
|
1783
|
+
z: [{
|
|
1784
|
+
z: ["auto", isInteger, isArbitraryValue]
|
|
1785
|
+
}],
|
|
1786
|
+
// Flexbox and Grid
|
|
1787
|
+
/**
|
|
1788
|
+
* Flex Basis
|
|
1789
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
1790
|
+
*/
|
|
1791
|
+
basis: [{
|
|
1792
|
+
basis: getSpacingWithAutoAndArbitrary()
|
|
1793
|
+
}],
|
|
1794
|
+
/**
|
|
1795
|
+
* Flex Direction
|
|
1796
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
1797
|
+
*/
|
|
1798
|
+
"flex-direction": [{
|
|
1799
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
1800
|
+
}],
|
|
1801
|
+
/**
|
|
1802
|
+
* Flex Wrap
|
|
1803
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
1804
|
+
*/
|
|
1805
|
+
"flex-wrap": [{
|
|
1806
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
1807
|
+
}],
|
|
1808
|
+
/**
|
|
1809
|
+
* Flex
|
|
1810
|
+
* @see https://tailwindcss.com/docs/flex
|
|
1811
|
+
*/
|
|
1812
|
+
flex: [{
|
|
1813
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
|
1814
|
+
}],
|
|
1815
|
+
/**
|
|
1816
|
+
* Flex Grow
|
|
1817
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
1818
|
+
*/
|
|
1819
|
+
grow: [{
|
|
1820
|
+
grow: getZeroAndEmpty()
|
|
1821
|
+
}],
|
|
1822
|
+
/**
|
|
1823
|
+
* Flex Shrink
|
|
1824
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1825
|
+
*/
|
|
1826
|
+
shrink: [{
|
|
1827
|
+
shrink: getZeroAndEmpty()
|
|
1828
|
+
}],
|
|
1829
|
+
/**
|
|
1830
|
+
* Order
|
|
1831
|
+
* @see https://tailwindcss.com/docs/order
|
|
1832
|
+
*/
|
|
1833
|
+
order: [{
|
|
1834
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
|
1835
|
+
}],
|
|
1836
|
+
/**
|
|
1837
|
+
* Grid Template Columns
|
|
1838
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1839
|
+
*/
|
|
1840
|
+
"grid-cols": [{
|
|
1841
|
+
"grid-cols": [isAny]
|
|
1842
|
+
}],
|
|
1843
|
+
/**
|
|
1844
|
+
* Grid Column Start / End
|
|
1845
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1846
|
+
*/
|
|
1847
|
+
"col-start-end": [{
|
|
1848
|
+
col: ["auto", {
|
|
1849
|
+
span: ["full", isInteger, isArbitraryValue]
|
|
1850
|
+
}, isArbitraryValue]
|
|
1851
|
+
}],
|
|
1852
|
+
/**
|
|
1853
|
+
* Grid Column Start
|
|
1854
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1855
|
+
*/
|
|
1856
|
+
"col-start": [{
|
|
1857
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
|
1858
|
+
}],
|
|
1859
|
+
/**
|
|
1860
|
+
* Grid Column End
|
|
1861
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1862
|
+
*/
|
|
1863
|
+
"col-end": [{
|
|
1864
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
|
1865
|
+
}],
|
|
1866
|
+
/**
|
|
1867
|
+
* Grid Template Rows
|
|
1868
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1869
|
+
*/
|
|
1870
|
+
"grid-rows": [{
|
|
1871
|
+
"grid-rows": [isAny]
|
|
1872
|
+
}],
|
|
1873
|
+
/**
|
|
1874
|
+
* Grid Row Start / End
|
|
1875
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1876
|
+
*/
|
|
1877
|
+
"row-start-end": [{
|
|
1878
|
+
row: ["auto", {
|
|
1879
|
+
span: [isInteger, isArbitraryValue]
|
|
1880
|
+
}, isArbitraryValue]
|
|
1881
|
+
}],
|
|
1882
|
+
/**
|
|
1883
|
+
* Grid Row Start
|
|
1884
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1885
|
+
*/
|
|
1886
|
+
"row-start": [{
|
|
1887
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
|
1888
|
+
}],
|
|
1889
|
+
/**
|
|
1890
|
+
* Grid Row End
|
|
1891
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1892
|
+
*/
|
|
1893
|
+
"row-end": [{
|
|
1894
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
|
1895
|
+
}],
|
|
1896
|
+
/**
|
|
1897
|
+
* Grid Auto Flow
|
|
1898
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
1899
|
+
*/
|
|
1900
|
+
"grid-flow": [{
|
|
1901
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
1902
|
+
}],
|
|
1903
|
+
/**
|
|
1904
|
+
* Grid Auto Columns
|
|
1905
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1906
|
+
*/
|
|
1907
|
+
"auto-cols": [{
|
|
1908
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
1909
|
+
}],
|
|
1910
|
+
/**
|
|
1911
|
+
* Grid Auto Rows
|
|
1912
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1913
|
+
*/
|
|
1914
|
+
"auto-rows": [{
|
|
1915
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
1916
|
+
}],
|
|
1917
|
+
/**
|
|
1918
|
+
* Gap
|
|
1919
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1920
|
+
*/
|
|
1921
|
+
gap: [{
|
|
1922
|
+
gap: [gap]
|
|
1923
|
+
}],
|
|
1924
|
+
/**
|
|
1925
|
+
* Gap X
|
|
1926
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1927
|
+
*/
|
|
1928
|
+
"gap-x": [{
|
|
1929
|
+
"gap-x": [gap]
|
|
1930
|
+
}],
|
|
1931
|
+
/**
|
|
1932
|
+
* Gap Y
|
|
1933
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1934
|
+
*/
|
|
1935
|
+
"gap-y": [{
|
|
1936
|
+
"gap-y": [gap]
|
|
1937
|
+
}],
|
|
1938
|
+
/**
|
|
1939
|
+
* Justify Content
|
|
1940
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
1941
|
+
*/
|
|
1942
|
+
"justify-content": [{
|
|
1943
|
+
justify: ["normal", ...getAlign()]
|
|
1944
|
+
}],
|
|
1945
|
+
/**
|
|
1946
|
+
* Justify Items
|
|
1947
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
1948
|
+
*/
|
|
1949
|
+
"justify-items": [{
|
|
1950
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
1951
|
+
}],
|
|
1952
|
+
/**
|
|
1953
|
+
* Justify Self
|
|
1954
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
1955
|
+
*/
|
|
1956
|
+
"justify-self": [{
|
|
1957
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
1958
|
+
}],
|
|
1959
|
+
/**
|
|
1960
|
+
* Align Content
|
|
1961
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1962
|
+
*/
|
|
1963
|
+
"align-content": [{
|
|
1964
|
+
content: ["normal", ...getAlign(), "baseline"]
|
|
1965
|
+
}],
|
|
1966
|
+
/**
|
|
1967
|
+
* Align Items
|
|
1968
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1969
|
+
*/
|
|
1970
|
+
"align-items": [{
|
|
1971
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
1972
|
+
}],
|
|
1973
|
+
/**
|
|
1974
|
+
* Align Self
|
|
1975
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1976
|
+
*/
|
|
1977
|
+
"align-self": [{
|
|
1978
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
1979
|
+
}],
|
|
1980
|
+
/**
|
|
1981
|
+
* Place Content
|
|
1982
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1983
|
+
*/
|
|
1984
|
+
"place-content": [{
|
|
1985
|
+
"place-content": [...getAlign(), "baseline"]
|
|
1986
|
+
}],
|
|
1987
|
+
/**
|
|
1988
|
+
* Place Items
|
|
1989
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1990
|
+
*/
|
|
1991
|
+
"place-items": [{
|
|
1992
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
1993
|
+
}],
|
|
1994
|
+
/**
|
|
1995
|
+
* Place Self
|
|
1996
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1997
|
+
*/
|
|
1998
|
+
"place-self": [{
|
|
1999
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
2000
|
+
}],
|
|
2001
|
+
// Spacing
|
|
2002
|
+
/**
|
|
2003
|
+
* Padding
|
|
2004
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2005
|
+
*/
|
|
2006
|
+
p: [{
|
|
2007
|
+
p: [padding]
|
|
2008
|
+
}],
|
|
2009
|
+
/**
|
|
2010
|
+
* Padding X
|
|
2011
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2012
|
+
*/
|
|
2013
|
+
px: [{
|
|
2014
|
+
px: [padding]
|
|
2015
|
+
}],
|
|
2016
|
+
/**
|
|
2017
|
+
* Padding Y
|
|
2018
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2019
|
+
*/
|
|
2020
|
+
py: [{
|
|
2021
|
+
py: [padding]
|
|
2022
|
+
}],
|
|
2023
|
+
/**
|
|
2024
|
+
* Padding Start
|
|
2025
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2026
|
+
*/
|
|
2027
|
+
ps: [{
|
|
2028
|
+
ps: [padding]
|
|
2029
|
+
}],
|
|
2030
|
+
/**
|
|
2031
|
+
* Padding End
|
|
2032
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2033
|
+
*/
|
|
2034
|
+
pe: [{
|
|
2035
|
+
pe: [padding]
|
|
2036
|
+
}],
|
|
2037
|
+
/**
|
|
2038
|
+
* Padding Top
|
|
2039
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2040
|
+
*/
|
|
2041
|
+
pt: [{
|
|
2042
|
+
pt: [padding]
|
|
2043
|
+
}],
|
|
2044
|
+
/**
|
|
2045
|
+
* Padding Right
|
|
2046
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2047
|
+
*/
|
|
2048
|
+
pr: [{
|
|
2049
|
+
pr: [padding]
|
|
2050
|
+
}],
|
|
2051
|
+
/**
|
|
2052
|
+
* Padding Bottom
|
|
2053
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2054
|
+
*/
|
|
2055
|
+
pb: [{
|
|
2056
|
+
pb: [padding]
|
|
2057
|
+
}],
|
|
2058
|
+
/**
|
|
2059
|
+
* Padding Left
|
|
2060
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2061
|
+
*/
|
|
2062
|
+
pl: [{
|
|
2063
|
+
pl: [padding]
|
|
2064
|
+
}],
|
|
2065
|
+
/**
|
|
2066
|
+
* Margin
|
|
2067
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2068
|
+
*/
|
|
2069
|
+
m: [{
|
|
2070
|
+
m: [margin]
|
|
2071
|
+
}],
|
|
2072
|
+
/**
|
|
2073
|
+
* Margin X
|
|
2074
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2075
|
+
*/
|
|
2076
|
+
mx: [{
|
|
2077
|
+
mx: [margin]
|
|
2078
|
+
}],
|
|
2079
|
+
/**
|
|
2080
|
+
* Margin Y
|
|
2081
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2082
|
+
*/
|
|
2083
|
+
my: [{
|
|
2084
|
+
my: [margin]
|
|
2085
|
+
}],
|
|
2086
|
+
/**
|
|
2087
|
+
* Margin Start
|
|
2088
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2089
|
+
*/
|
|
2090
|
+
ms: [{
|
|
2091
|
+
ms: [margin]
|
|
2092
|
+
}],
|
|
2093
|
+
/**
|
|
2094
|
+
* Margin End
|
|
2095
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2096
|
+
*/
|
|
2097
|
+
me: [{
|
|
2098
|
+
me: [margin]
|
|
2099
|
+
}],
|
|
2100
|
+
/**
|
|
2101
|
+
* Margin Top
|
|
2102
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2103
|
+
*/
|
|
2104
|
+
mt: [{
|
|
2105
|
+
mt: [margin]
|
|
2106
|
+
}],
|
|
2107
|
+
/**
|
|
2108
|
+
* Margin Right
|
|
2109
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2110
|
+
*/
|
|
2111
|
+
mr: [{
|
|
2112
|
+
mr: [margin]
|
|
2113
|
+
}],
|
|
2114
|
+
/**
|
|
2115
|
+
* Margin Bottom
|
|
2116
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2117
|
+
*/
|
|
2118
|
+
mb: [{
|
|
2119
|
+
mb: [margin]
|
|
2120
|
+
}],
|
|
2121
|
+
/**
|
|
2122
|
+
* Margin Left
|
|
2123
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2124
|
+
*/
|
|
2125
|
+
ml: [{
|
|
2126
|
+
ml: [margin]
|
|
2127
|
+
}],
|
|
2128
|
+
/**
|
|
2129
|
+
* Space Between X
|
|
2130
|
+
* @see https://tailwindcss.com/docs/space
|
|
2131
|
+
*/
|
|
2132
|
+
"space-x": [{
|
|
2133
|
+
"space-x": [space]
|
|
2134
|
+
}],
|
|
2135
|
+
/**
|
|
2136
|
+
* Space Between X Reverse
|
|
2137
|
+
* @see https://tailwindcss.com/docs/space
|
|
2138
|
+
*/
|
|
2139
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
2140
|
+
/**
|
|
2141
|
+
* Space Between Y
|
|
2142
|
+
* @see https://tailwindcss.com/docs/space
|
|
2143
|
+
*/
|
|
2144
|
+
"space-y": [{
|
|
2145
|
+
"space-y": [space]
|
|
2146
|
+
}],
|
|
2147
|
+
/**
|
|
2148
|
+
* Space Between Y Reverse
|
|
2149
|
+
* @see https://tailwindcss.com/docs/space
|
|
2150
|
+
*/
|
|
2151
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
2152
|
+
// Sizing
|
|
2153
|
+
/**
|
|
2154
|
+
* Width
|
|
2155
|
+
* @see https://tailwindcss.com/docs/width
|
|
2156
|
+
*/
|
|
2157
|
+
w: [{
|
|
2158
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
|
|
2159
|
+
}],
|
|
2160
|
+
/**
|
|
2161
|
+
* Min-Width
|
|
2162
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
2163
|
+
*/
|
|
2164
|
+
"min-w": [{
|
|
2165
|
+
"min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
|
|
2166
|
+
}],
|
|
2167
|
+
/**
|
|
2168
|
+
* Max-Width
|
|
2169
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
2170
|
+
*/
|
|
2171
|
+
"max-w": [{
|
|
2172
|
+
"max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
|
|
2173
|
+
screen: [isTshirtSize]
|
|
2174
|
+
}, isTshirtSize]
|
|
2175
|
+
}],
|
|
2176
|
+
/**
|
|
2177
|
+
* Height
|
|
2178
|
+
* @see https://tailwindcss.com/docs/height
|
|
2179
|
+
*/
|
|
2180
|
+
h: [{
|
|
2181
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2182
|
+
}],
|
|
2183
|
+
/**
|
|
2184
|
+
* Min-Height
|
|
2185
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
2186
|
+
*/
|
|
2187
|
+
"min-h": [{
|
|
2188
|
+
"min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2189
|
+
}],
|
|
2190
|
+
/**
|
|
2191
|
+
* Max-Height
|
|
2192
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
2193
|
+
*/
|
|
2194
|
+
"max-h": [{
|
|
2195
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2196
|
+
}],
|
|
2197
|
+
/**
|
|
2198
|
+
* Size
|
|
2199
|
+
* @see https://tailwindcss.com/docs/size
|
|
2200
|
+
*/
|
|
2201
|
+
size: [{
|
|
2202
|
+
size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
|
2203
|
+
}],
|
|
2204
|
+
// Typography
|
|
2205
|
+
/**
|
|
2206
|
+
* Font Size
|
|
2207
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
2208
|
+
*/
|
|
2209
|
+
"font-size": [{
|
|
2210
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
|
2211
|
+
}],
|
|
2212
|
+
/**
|
|
2213
|
+
* Font Smoothing
|
|
2214
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
2215
|
+
*/
|
|
2216
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2217
|
+
/**
|
|
2218
|
+
* Font Style
|
|
2219
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
2220
|
+
*/
|
|
2221
|
+
"font-style": ["italic", "not-italic"],
|
|
2222
|
+
/**
|
|
2223
|
+
* Font Weight
|
|
2224
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
2225
|
+
*/
|
|
2226
|
+
"font-weight": [{
|
|
2227
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
|
2228
|
+
}],
|
|
2229
|
+
/**
|
|
2230
|
+
* Font Family
|
|
2231
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
2232
|
+
*/
|
|
2233
|
+
"font-family": [{
|
|
2234
|
+
font: [isAny]
|
|
2235
|
+
}],
|
|
2236
|
+
/**
|
|
2237
|
+
* Font Variant Numeric
|
|
2238
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2239
|
+
*/
|
|
2240
|
+
"fvn-normal": ["normal-nums"],
|
|
2241
|
+
/**
|
|
2242
|
+
* Font Variant Numeric
|
|
2243
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2244
|
+
*/
|
|
2245
|
+
"fvn-ordinal": ["ordinal"],
|
|
2246
|
+
/**
|
|
2247
|
+
* Font Variant Numeric
|
|
2248
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2249
|
+
*/
|
|
2250
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
2251
|
+
/**
|
|
2252
|
+
* Font Variant Numeric
|
|
2253
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2254
|
+
*/
|
|
2255
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
2256
|
+
/**
|
|
2257
|
+
* Font Variant Numeric
|
|
2258
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2259
|
+
*/
|
|
2260
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
2261
|
+
/**
|
|
2262
|
+
* Font Variant Numeric
|
|
2263
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2264
|
+
*/
|
|
2265
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
2266
|
+
/**
|
|
2267
|
+
* Letter Spacing
|
|
2268
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2269
|
+
*/
|
|
2270
|
+
tracking: [{
|
|
2271
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
|
2272
|
+
}],
|
|
2273
|
+
/**
|
|
2274
|
+
* Line Clamp
|
|
2275
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
2276
|
+
*/
|
|
2277
|
+
"line-clamp": [{
|
|
2278
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
|
2279
|
+
}],
|
|
2280
|
+
/**
|
|
2281
|
+
* Line Height
|
|
2282
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
2283
|
+
*/
|
|
2284
|
+
leading: [{
|
|
2285
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
|
2286
|
+
}],
|
|
2287
|
+
/**
|
|
2288
|
+
* List Style Image
|
|
2289
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
2290
|
+
*/
|
|
2291
|
+
"list-image": [{
|
|
2292
|
+
"list-image": ["none", isArbitraryValue]
|
|
2293
|
+
}],
|
|
2294
|
+
/**
|
|
2295
|
+
* List Style Type
|
|
2296
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
2297
|
+
*/
|
|
2298
|
+
"list-style-type": [{
|
|
2299
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
|
2300
|
+
}],
|
|
2301
|
+
/**
|
|
2302
|
+
* List Style Position
|
|
2303
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
2304
|
+
*/
|
|
2305
|
+
"list-style-position": [{
|
|
2306
|
+
list: ["inside", "outside"]
|
|
2307
|
+
}],
|
|
2308
|
+
/**
|
|
2309
|
+
* Placeholder Color
|
|
2310
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2311
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
2312
|
+
*/
|
|
2313
|
+
"placeholder-color": [{
|
|
2314
|
+
placeholder: [colors]
|
|
2315
|
+
}],
|
|
2316
|
+
/**
|
|
2317
|
+
* Placeholder Opacity
|
|
2318
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
2319
|
+
*/
|
|
2320
|
+
"placeholder-opacity": [{
|
|
2321
|
+
"placeholder-opacity": [opacity]
|
|
2322
|
+
}],
|
|
2323
|
+
/**
|
|
2324
|
+
* Text Alignment
|
|
2325
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
2326
|
+
*/
|
|
2327
|
+
"text-alignment": [{
|
|
2328
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
2329
|
+
}],
|
|
2330
|
+
/**
|
|
2331
|
+
* Text Color
|
|
2332
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
2333
|
+
*/
|
|
2334
|
+
"text-color": [{
|
|
2335
|
+
text: [colors]
|
|
2336
|
+
}],
|
|
2337
|
+
/**
|
|
2338
|
+
* Text Opacity
|
|
2339
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
2340
|
+
*/
|
|
2341
|
+
"text-opacity": [{
|
|
2342
|
+
"text-opacity": [opacity]
|
|
2343
|
+
}],
|
|
2344
|
+
/**
|
|
2345
|
+
* Text Decoration
|
|
2346
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
2347
|
+
*/
|
|
2348
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
2349
|
+
/**
|
|
2350
|
+
* Text Decoration Style
|
|
2351
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2352
|
+
*/
|
|
2353
|
+
"text-decoration-style": [{
|
|
2354
|
+
decoration: [...getLineStyles(), "wavy"]
|
|
2355
|
+
}],
|
|
2356
|
+
/**
|
|
2357
|
+
* Text Decoration Thickness
|
|
2358
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2359
|
+
*/
|
|
2360
|
+
"text-decoration-thickness": [{
|
|
2361
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
|
2362
|
+
}],
|
|
2363
|
+
/**
|
|
2364
|
+
* Text Underline Offset
|
|
2365
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2366
|
+
*/
|
|
2367
|
+
"underline-offset": [{
|
|
2368
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
|
2369
|
+
}],
|
|
2370
|
+
/**
|
|
2371
|
+
* Text Decoration Color
|
|
2372
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2373
|
+
*/
|
|
2374
|
+
"text-decoration-color": [{
|
|
2375
|
+
decoration: [colors]
|
|
2376
|
+
}],
|
|
2377
|
+
/**
|
|
2378
|
+
* Text Transform
|
|
2379
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
2380
|
+
*/
|
|
2381
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
2382
|
+
/**
|
|
2383
|
+
* Text Overflow
|
|
2384
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
2385
|
+
*/
|
|
2386
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
2387
|
+
/**
|
|
2388
|
+
* Text Wrap
|
|
2389
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
2390
|
+
*/
|
|
2391
|
+
"text-wrap": [{
|
|
2392
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
2393
|
+
}],
|
|
2394
|
+
/**
|
|
2395
|
+
* Text Indent
|
|
2396
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
2397
|
+
*/
|
|
2398
|
+
indent: [{
|
|
2399
|
+
indent: getSpacingWithArbitrary()
|
|
2400
|
+
}],
|
|
2401
|
+
/**
|
|
2402
|
+
* Vertical Alignment
|
|
2403
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
2404
|
+
*/
|
|
2405
|
+
"vertical-align": [{
|
|
2406
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
|
2407
|
+
}],
|
|
2408
|
+
/**
|
|
2409
|
+
* Whitespace
|
|
2410
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
2411
|
+
*/
|
|
2412
|
+
whitespace: [{
|
|
2413
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
2414
|
+
}],
|
|
2415
|
+
/**
|
|
2416
|
+
* Word Break
|
|
2417
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
2418
|
+
*/
|
|
2419
|
+
break: [{
|
|
2420
|
+
break: ["normal", "words", "all", "keep"]
|
|
2421
|
+
}],
|
|
2422
|
+
/**
|
|
2423
|
+
* Hyphens
|
|
2424
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
2425
|
+
*/
|
|
2426
|
+
hyphens: [{
|
|
2427
|
+
hyphens: ["none", "manual", "auto"]
|
|
2428
|
+
}],
|
|
2429
|
+
/**
|
|
2430
|
+
* Content
|
|
2431
|
+
* @see https://tailwindcss.com/docs/content
|
|
2432
|
+
*/
|
|
2433
|
+
content: [{
|
|
2434
|
+
content: ["none", isArbitraryValue]
|
|
2435
|
+
}],
|
|
2436
|
+
// Backgrounds
|
|
2437
|
+
/**
|
|
2438
|
+
* Background Attachment
|
|
2439
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
2440
|
+
*/
|
|
2441
|
+
"bg-attachment": [{
|
|
2442
|
+
bg: ["fixed", "local", "scroll"]
|
|
2443
|
+
}],
|
|
2444
|
+
/**
|
|
2445
|
+
* Background Clip
|
|
2446
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
2447
|
+
*/
|
|
2448
|
+
"bg-clip": [{
|
|
2449
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
2450
|
+
}],
|
|
2451
|
+
/**
|
|
2452
|
+
* Background Opacity
|
|
2453
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2454
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
2455
|
+
*/
|
|
2456
|
+
"bg-opacity": [{
|
|
2457
|
+
"bg-opacity": [opacity]
|
|
2458
|
+
}],
|
|
2459
|
+
/**
|
|
2460
|
+
* Background Origin
|
|
2461
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
2462
|
+
*/
|
|
2463
|
+
"bg-origin": [{
|
|
2464
|
+
"bg-origin": ["border", "padding", "content"]
|
|
2465
|
+
}],
|
|
2466
|
+
/**
|
|
2467
|
+
* Background Position
|
|
2468
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
2469
|
+
*/
|
|
2470
|
+
"bg-position": [{
|
|
2471
|
+
bg: [...getPositions(), isArbitraryPosition]
|
|
2472
|
+
}],
|
|
2473
|
+
/**
|
|
2474
|
+
* Background Repeat
|
|
2475
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
2476
|
+
*/
|
|
2477
|
+
"bg-repeat": [{
|
|
2478
|
+
bg: ["no-repeat", {
|
|
2479
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
2480
|
+
}]
|
|
2481
|
+
}],
|
|
2482
|
+
/**
|
|
2483
|
+
* Background Size
|
|
2484
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
2485
|
+
*/
|
|
2486
|
+
"bg-size": [{
|
|
2487
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
|
2488
|
+
}],
|
|
2489
|
+
/**
|
|
2490
|
+
* Background Image
|
|
2491
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
2492
|
+
*/
|
|
2493
|
+
"bg-image": [{
|
|
2494
|
+
bg: ["none", {
|
|
2495
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2496
|
+
}, isArbitraryImage]
|
|
2497
|
+
}],
|
|
2498
|
+
/**
|
|
2499
|
+
* Background Color
|
|
2500
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
2501
|
+
*/
|
|
2502
|
+
"bg-color": [{
|
|
2503
|
+
bg: [colors]
|
|
2504
|
+
}],
|
|
2505
|
+
/**
|
|
2506
|
+
* Gradient Color Stops From Position
|
|
2507
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2508
|
+
*/
|
|
2509
|
+
"gradient-from-pos": [{
|
|
2510
|
+
from: [gradientColorStopPositions]
|
|
2511
|
+
}],
|
|
2512
|
+
/**
|
|
2513
|
+
* Gradient Color Stops Via Position
|
|
2514
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2515
|
+
*/
|
|
2516
|
+
"gradient-via-pos": [{
|
|
2517
|
+
via: [gradientColorStopPositions]
|
|
2518
|
+
}],
|
|
2519
|
+
/**
|
|
2520
|
+
* Gradient Color Stops To Position
|
|
2521
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2522
|
+
*/
|
|
2523
|
+
"gradient-to-pos": [{
|
|
2524
|
+
to: [gradientColorStopPositions]
|
|
2525
|
+
}],
|
|
2526
|
+
/**
|
|
2527
|
+
* Gradient Color Stops From
|
|
2528
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2529
|
+
*/
|
|
2530
|
+
"gradient-from": [{
|
|
2531
|
+
from: [gradientColorStops]
|
|
2532
|
+
}],
|
|
2533
|
+
/**
|
|
2534
|
+
* Gradient Color Stops Via
|
|
2535
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2536
|
+
*/
|
|
2537
|
+
"gradient-via": [{
|
|
2538
|
+
via: [gradientColorStops]
|
|
2539
|
+
}],
|
|
2540
|
+
/**
|
|
2541
|
+
* Gradient Color Stops To
|
|
2542
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2543
|
+
*/
|
|
2544
|
+
"gradient-to": [{
|
|
2545
|
+
to: [gradientColorStops]
|
|
2546
|
+
}],
|
|
2547
|
+
// Borders
|
|
2548
|
+
/**
|
|
2549
|
+
* Border Radius
|
|
2550
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2551
|
+
*/
|
|
2552
|
+
rounded: [{
|
|
2553
|
+
rounded: [borderRadius]
|
|
2554
|
+
}],
|
|
2555
|
+
/**
|
|
2556
|
+
* Border Radius Start
|
|
2557
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2558
|
+
*/
|
|
2559
|
+
"rounded-s": [{
|
|
2560
|
+
"rounded-s": [borderRadius]
|
|
2561
|
+
}],
|
|
2562
|
+
/**
|
|
2563
|
+
* Border Radius End
|
|
2564
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2565
|
+
*/
|
|
2566
|
+
"rounded-e": [{
|
|
2567
|
+
"rounded-e": [borderRadius]
|
|
2568
|
+
}],
|
|
2569
|
+
/**
|
|
2570
|
+
* Border Radius Top
|
|
2571
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2572
|
+
*/
|
|
2573
|
+
"rounded-t": [{
|
|
2574
|
+
"rounded-t": [borderRadius]
|
|
2575
|
+
}],
|
|
2576
|
+
/**
|
|
2577
|
+
* Border Radius Right
|
|
2578
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2579
|
+
*/
|
|
2580
|
+
"rounded-r": [{
|
|
2581
|
+
"rounded-r": [borderRadius]
|
|
2582
|
+
}],
|
|
2583
|
+
/**
|
|
2584
|
+
* Border Radius Bottom
|
|
2585
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2586
|
+
*/
|
|
2587
|
+
"rounded-b": [{
|
|
2588
|
+
"rounded-b": [borderRadius]
|
|
2589
|
+
}],
|
|
2590
|
+
/**
|
|
2591
|
+
* Border Radius Left
|
|
2592
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2593
|
+
*/
|
|
2594
|
+
"rounded-l": [{
|
|
2595
|
+
"rounded-l": [borderRadius]
|
|
2596
|
+
}],
|
|
2597
|
+
/**
|
|
2598
|
+
* Border Radius Start Start
|
|
2599
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2600
|
+
*/
|
|
2601
|
+
"rounded-ss": [{
|
|
2602
|
+
"rounded-ss": [borderRadius]
|
|
2603
|
+
}],
|
|
2604
|
+
/**
|
|
2605
|
+
* Border Radius Start End
|
|
2606
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2607
|
+
*/
|
|
2608
|
+
"rounded-se": [{
|
|
2609
|
+
"rounded-se": [borderRadius]
|
|
2610
|
+
}],
|
|
2611
|
+
/**
|
|
2612
|
+
* Border Radius End End
|
|
2613
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2614
|
+
*/
|
|
2615
|
+
"rounded-ee": [{
|
|
2616
|
+
"rounded-ee": [borderRadius]
|
|
2617
|
+
}],
|
|
2618
|
+
/**
|
|
2619
|
+
* Border Radius End Start
|
|
2620
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2621
|
+
*/
|
|
2622
|
+
"rounded-es": [{
|
|
2623
|
+
"rounded-es": [borderRadius]
|
|
2624
|
+
}],
|
|
2625
|
+
/**
|
|
2626
|
+
* Border Radius Top Left
|
|
2627
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2628
|
+
*/
|
|
2629
|
+
"rounded-tl": [{
|
|
2630
|
+
"rounded-tl": [borderRadius]
|
|
2631
|
+
}],
|
|
2632
|
+
/**
|
|
2633
|
+
* Border Radius Top Right
|
|
2634
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2635
|
+
*/
|
|
2636
|
+
"rounded-tr": [{
|
|
2637
|
+
"rounded-tr": [borderRadius]
|
|
2638
|
+
}],
|
|
2639
|
+
/**
|
|
2640
|
+
* Border Radius Bottom Right
|
|
2641
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2642
|
+
*/
|
|
2643
|
+
"rounded-br": [{
|
|
2644
|
+
"rounded-br": [borderRadius]
|
|
2645
|
+
}],
|
|
2646
|
+
/**
|
|
2647
|
+
* Border Radius Bottom Left
|
|
2648
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2649
|
+
*/
|
|
2650
|
+
"rounded-bl": [{
|
|
2651
|
+
"rounded-bl": [borderRadius]
|
|
2652
|
+
}],
|
|
2653
|
+
/**
|
|
2654
|
+
* Border Width
|
|
2655
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2656
|
+
*/
|
|
2657
|
+
"border-w": [{
|
|
2658
|
+
border: [borderWidth]
|
|
2659
|
+
}],
|
|
2660
|
+
/**
|
|
2661
|
+
* Border Width X
|
|
2662
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2663
|
+
*/
|
|
2664
|
+
"border-w-x": [{
|
|
2665
|
+
"border-x": [borderWidth]
|
|
2666
|
+
}],
|
|
2667
|
+
/**
|
|
2668
|
+
* Border Width Y
|
|
2669
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2670
|
+
*/
|
|
2671
|
+
"border-w-y": [{
|
|
2672
|
+
"border-y": [borderWidth]
|
|
2673
|
+
}],
|
|
2674
|
+
/**
|
|
2675
|
+
* Border Width Start
|
|
2676
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2677
|
+
*/
|
|
2678
|
+
"border-w-s": [{
|
|
2679
|
+
"border-s": [borderWidth]
|
|
2680
|
+
}],
|
|
2681
|
+
/**
|
|
2682
|
+
* Border Width End
|
|
2683
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2684
|
+
*/
|
|
2685
|
+
"border-w-e": [{
|
|
2686
|
+
"border-e": [borderWidth]
|
|
2687
|
+
}],
|
|
2688
|
+
/**
|
|
2689
|
+
* Border Width Top
|
|
2690
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2691
|
+
*/
|
|
2692
|
+
"border-w-t": [{
|
|
2693
|
+
"border-t": [borderWidth]
|
|
2694
|
+
}],
|
|
2695
|
+
/**
|
|
2696
|
+
* Border Width Right
|
|
2697
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2698
|
+
*/
|
|
2699
|
+
"border-w-r": [{
|
|
2700
|
+
"border-r": [borderWidth]
|
|
2701
|
+
}],
|
|
2702
|
+
/**
|
|
2703
|
+
* Border Width Bottom
|
|
2704
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2705
|
+
*/
|
|
2706
|
+
"border-w-b": [{
|
|
2707
|
+
"border-b": [borderWidth]
|
|
2708
|
+
}],
|
|
2709
|
+
/**
|
|
2710
|
+
* Border Width Left
|
|
2711
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2712
|
+
*/
|
|
2713
|
+
"border-w-l": [{
|
|
2714
|
+
"border-l": [borderWidth]
|
|
2715
|
+
}],
|
|
2716
|
+
/**
|
|
2717
|
+
* Border Opacity
|
|
2718
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
2719
|
+
*/
|
|
2720
|
+
"border-opacity": [{
|
|
2721
|
+
"border-opacity": [opacity]
|
|
2722
|
+
}],
|
|
2723
|
+
/**
|
|
2724
|
+
* Border Style
|
|
2725
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2726
|
+
*/
|
|
2727
|
+
"border-style": [{
|
|
2728
|
+
border: [...getLineStyles(), "hidden"]
|
|
2729
|
+
}],
|
|
2730
|
+
/**
|
|
2731
|
+
* Divide Width X
|
|
2732
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2733
|
+
*/
|
|
2734
|
+
"divide-x": [{
|
|
2735
|
+
"divide-x": [borderWidth]
|
|
2736
|
+
}],
|
|
2737
|
+
/**
|
|
2738
|
+
* Divide Width X Reverse
|
|
2739
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2740
|
+
*/
|
|
2741
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
2742
|
+
/**
|
|
2743
|
+
* Divide Width Y
|
|
2744
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2745
|
+
*/
|
|
2746
|
+
"divide-y": [{
|
|
2747
|
+
"divide-y": [borderWidth]
|
|
2748
|
+
}],
|
|
2749
|
+
/**
|
|
2750
|
+
* Divide Width Y Reverse
|
|
2751
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2752
|
+
*/
|
|
2753
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
2754
|
+
/**
|
|
2755
|
+
* Divide Opacity
|
|
2756
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2757
|
+
*/
|
|
2758
|
+
"divide-opacity": [{
|
|
2759
|
+
"divide-opacity": [opacity]
|
|
2760
|
+
}],
|
|
2761
|
+
/**
|
|
2762
|
+
* Divide Style
|
|
2763
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
2764
|
+
*/
|
|
2765
|
+
"divide-style": [{
|
|
2766
|
+
divide: getLineStyles()
|
|
2767
|
+
}],
|
|
2768
|
+
/**
|
|
2769
|
+
* Border Color
|
|
2770
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2771
|
+
*/
|
|
2772
|
+
"border-color": [{
|
|
2773
|
+
border: [borderColor]
|
|
2774
|
+
}],
|
|
2775
|
+
/**
|
|
2776
|
+
* Border Color X
|
|
2777
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2778
|
+
*/
|
|
2779
|
+
"border-color-x": [{
|
|
2780
|
+
"border-x": [borderColor]
|
|
2781
|
+
}],
|
|
2782
|
+
/**
|
|
2783
|
+
* Border Color Y
|
|
2784
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2785
|
+
*/
|
|
2786
|
+
"border-color-y": [{
|
|
2787
|
+
"border-y": [borderColor]
|
|
2788
|
+
}],
|
|
2789
|
+
/**
|
|
2790
|
+
* Border Color S
|
|
2791
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2792
|
+
*/
|
|
2793
|
+
"border-color-s": [{
|
|
2794
|
+
"border-s": [borderColor]
|
|
2795
|
+
}],
|
|
2796
|
+
/**
|
|
2797
|
+
* Border Color E
|
|
2798
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2799
|
+
*/
|
|
2800
|
+
"border-color-e": [{
|
|
2801
|
+
"border-e": [borderColor]
|
|
2802
|
+
}],
|
|
2803
|
+
/**
|
|
2804
|
+
* Border Color Top
|
|
2805
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2806
|
+
*/
|
|
2807
|
+
"border-color-t": [{
|
|
2808
|
+
"border-t": [borderColor]
|
|
2809
|
+
}],
|
|
2810
|
+
/**
|
|
2811
|
+
* Border Color Right
|
|
2812
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2813
|
+
*/
|
|
2814
|
+
"border-color-r": [{
|
|
2815
|
+
"border-r": [borderColor]
|
|
2816
|
+
}],
|
|
2817
|
+
/**
|
|
2818
|
+
* Border Color Bottom
|
|
2819
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2820
|
+
*/
|
|
2821
|
+
"border-color-b": [{
|
|
2822
|
+
"border-b": [borderColor]
|
|
2823
|
+
}],
|
|
2824
|
+
/**
|
|
2825
|
+
* Border Color Left
|
|
2826
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2827
|
+
*/
|
|
2828
|
+
"border-color-l": [{
|
|
2829
|
+
"border-l": [borderColor]
|
|
2830
|
+
}],
|
|
2831
|
+
/**
|
|
2832
|
+
* Divide Color
|
|
2833
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2834
|
+
*/
|
|
2835
|
+
"divide-color": [{
|
|
2836
|
+
divide: [borderColor]
|
|
2837
|
+
}],
|
|
2838
|
+
/**
|
|
2839
|
+
* Outline Style
|
|
2840
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2841
|
+
*/
|
|
2842
|
+
"outline-style": [{
|
|
2843
|
+
outline: ["", ...getLineStyles()]
|
|
2844
|
+
}],
|
|
2845
|
+
/**
|
|
2846
|
+
* Outline Offset
|
|
2847
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2848
|
+
*/
|
|
2849
|
+
"outline-offset": [{
|
|
2850
|
+
"outline-offset": [isLength, isArbitraryValue]
|
|
2851
|
+
}],
|
|
2852
|
+
/**
|
|
2853
|
+
* Outline Width
|
|
2854
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
2855
|
+
*/
|
|
2856
|
+
"outline-w": [{
|
|
2857
|
+
outline: [isLength, isArbitraryLength]
|
|
2858
|
+
}],
|
|
2859
|
+
/**
|
|
2860
|
+
* Outline Color
|
|
2861
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
2862
|
+
*/
|
|
2863
|
+
"outline-color": [{
|
|
2864
|
+
outline: [colors]
|
|
2865
|
+
}],
|
|
2866
|
+
/**
|
|
2867
|
+
* Ring Width
|
|
2868
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
2869
|
+
*/
|
|
2870
|
+
"ring-w": [{
|
|
2871
|
+
ring: getLengthWithEmptyAndArbitrary()
|
|
2872
|
+
}],
|
|
2873
|
+
/**
|
|
2874
|
+
* Ring Width Inset
|
|
2875
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
2876
|
+
*/
|
|
2877
|
+
"ring-w-inset": ["ring-inset"],
|
|
2878
|
+
/**
|
|
2879
|
+
* Ring Color
|
|
2880
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
2881
|
+
*/
|
|
2882
|
+
"ring-color": [{
|
|
2883
|
+
ring: [colors]
|
|
2884
|
+
}],
|
|
2885
|
+
/**
|
|
2886
|
+
* Ring Opacity
|
|
2887
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2888
|
+
*/
|
|
2889
|
+
"ring-opacity": [{
|
|
2890
|
+
"ring-opacity": [opacity]
|
|
2891
|
+
}],
|
|
2892
|
+
/**
|
|
2893
|
+
* Ring Offset Width
|
|
2894
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2895
|
+
*/
|
|
2896
|
+
"ring-offset-w": [{
|
|
2897
|
+
"ring-offset": [isLength, isArbitraryLength]
|
|
2898
|
+
}],
|
|
2899
|
+
/**
|
|
2900
|
+
* Ring Offset Color
|
|
2901
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
2902
|
+
*/
|
|
2903
|
+
"ring-offset-color": [{
|
|
2904
|
+
"ring-offset": [colors]
|
|
2905
|
+
}],
|
|
2906
|
+
// Effects
|
|
2907
|
+
/**
|
|
2908
|
+
* Box Shadow
|
|
2909
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
2910
|
+
*/
|
|
2911
|
+
shadow: [{
|
|
2912
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
|
2913
|
+
}],
|
|
2914
|
+
/**
|
|
2915
|
+
* Box Shadow Color
|
|
2916
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2917
|
+
*/
|
|
2918
|
+
"shadow-color": [{
|
|
2919
|
+
shadow: [isAny]
|
|
2920
|
+
}],
|
|
2921
|
+
/**
|
|
2922
|
+
* Opacity
|
|
2923
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2924
|
+
*/
|
|
2925
|
+
opacity: [{
|
|
2926
|
+
opacity: [opacity]
|
|
2927
|
+
}],
|
|
2928
|
+
/**
|
|
2929
|
+
* Mix Blend Mode
|
|
2930
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2931
|
+
*/
|
|
2932
|
+
"mix-blend": [{
|
|
2933
|
+
"mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
|
|
2934
|
+
}],
|
|
2935
|
+
/**
|
|
2936
|
+
* Background Blend Mode
|
|
2937
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2938
|
+
*/
|
|
2939
|
+
"bg-blend": [{
|
|
2940
|
+
"bg-blend": getBlendModes()
|
|
2941
|
+
}],
|
|
2942
|
+
// Filters
|
|
2943
|
+
/**
|
|
2944
|
+
* Filter
|
|
2945
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2946
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2947
|
+
*/
|
|
2948
|
+
filter: [{
|
|
2949
|
+
filter: ["", "none"]
|
|
2950
|
+
}],
|
|
2951
|
+
/**
|
|
2952
|
+
* Blur
|
|
2953
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2954
|
+
*/
|
|
2955
|
+
blur: [{
|
|
2956
|
+
blur: [blur]
|
|
2957
|
+
}],
|
|
2958
|
+
/**
|
|
2959
|
+
* Brightness
|
|
2960
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2961
|
+
*/
|
|
2962
|
+
brightness: [{
|
|
2963
|
+
brightness: [brightness]
|
|
2964
|
+
}],
|
|
2965
|
+
/**
|
|
2966
|
+
* Contrast
|
|
2967
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2968
|
+
*/
|
|
2969
|
+
contrast: [{
|
|
2970
|
+
contrast: [contrast]
|
|
2971
|
+
}],
|
|
2972
|
+
/**
|
|
2973
|
+
* Drop Shadow
|
|
2974
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2975
|
+
*/
|
|
2976
|
+
"drop-shadow": [{
|
|
2977
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
|
2978
|
+
}],
|
|
2979
|
+
/**
|
|
2980
|
+
* Grayscale
|
|
2981
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2982
|
+
*/
|
|
2983
|
+
grayscale: [{
|
|
2984
|
+
grayscale: [grayscale]
|
|
2985
|
+
}],
|
|
2986
|
+
/**
|
|
2987
|
+
* Hue Rotate
|
|
2988
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2989
|
+
*/
|
|
2990
|
+
"hue-rotate": [{
|
|
2991
|
+
"hue-rotate": [hueRotate]
|
|
2992
|
+
}],
|
|
2993
|
+
/**
|
|
2994
|
+
* Invert
|
|
2995
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2996
|
+
*/
|
|
2997
|
+
invert: [{
|
|
2998
|
+
invert: [invert]
|
|
2999
|
+
}],
|
|
3000
|
+
/**
|
|
3001
|
+
* Saturate
|
|
3002
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
3003
|
+
*/
|
|
3004
|
+
saturate: [{
|
|
3005
|
+
saturate: [saturate]
|
|
3006
|
+
}],
|
|
3007
|
+
/**
|
|
3008
|
+
* Sepia
|
|
3009
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
3010
|
+
*/
|
|
3011
|
+
sepia: [{
|
|
3012
|
+
sepia: [sepia]
|
|
3013
|
+
}],
|
|
3014
|
+
/**
|
|
3015
|
+
* Backdrop Filter
|
|
3016
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
3017
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
3018
|
+
*/
|
|
3019
|
+
"backdrop-filter": [{
|
|
3020
|
+
"backdrop-filter": ["", "none"]
|
|
3021
|
+
}],
|
|
3022
|
+
/**
|
|
3023
|
+
* Backdrop Blur
|
|
3024
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3025
|
+
*/
|
|
3026
|
+
"backdrop-blur": [{
|
|
3027
|
+
"backdrop-blur": [blur]
|
|
3028
|
+
}],
|
|
3029
|
+
/**
|
|
3030
|
+
* Backdrop Brightness
|
|
3031
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3032
|
+
*/
|
|
3033
|
+
"backdrop-brightness": [{
|
|
3034
|
+
"backdrop-brightness": [brightness]
|
|
3035
|
+
}],
|
|
3036
|
+
/**
|
|
3037
|
+
* Backdrop Contrast
|
|
3038
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3039
|
+
*/
|
|
3040
|
+
"backdrop-contrast": [{
|
|
3041
|
+
"backdrop-contrast": [contrast]
|
|
3042
|
+
}],
|
|
3043
|
+
/**
|
|
3044
|
+
* Backdrop Grayscale
|
|
3045
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3046
|
+
*/
|
|
3047
|
+
"backdrop-grayscale": [{
|
|
3048
|
+
"backdrop-grayscale": [grayscale]
|
|
3049
|
+
}],
|
|
3050
|
+
/**
|
|
3051
|
+
* Backdrop Hue Rotate
|
|
3052
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3053
|
+
*/
|
|
3054
|
+
"backdrop-hue-rotate": [{
|
|
3055
|
+
"backdrop-hue-rotate": [hueRotate]
|
|
3056
|
+
}],
|
|
3057
|
+
/**
|
|
3058
|
+
* Backdrop Invert
|
|
3059
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3060
|
+
*/
|
|
3061
|
+
"backdrop-invert": [{
|
|
3062
|
+
"backdrop-invert": [invert]
|
|
3063
|
+
}],
|
|
3064
|
+
/**
|
|
3065
|
+
* Backdrop Opacity
|
|
3066
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3067
|
+
*/
|
|
3068
|
+
"backdrop-opacity": [{
|
|
3069
|
+
"backdrop-opacity": [opacity]
|
|
3070
|
+
}],
|
|
3071
|
+
/**
|
|
3072
|
+
* Backdrop Saturate
|
|
3073
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3074
|
+
*/
|
|
3075
|
+
"backdrop-saturate": [{
|
|
3076
|
+
"backdrop-saturate": [saturate]
|
|
3077
|
+
}],
|
|
3078
|
+
/**
|
|
3079
|
+
* Backdrop Sepia
|
|
3080
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3081
|
+
*/
|
|
3082
|
+
"backdrop-sepia": [{
|
|
3083
|
+
"backdrop-sepia": [sepia]
|
|
3084
|
+
}],
|
|
3085
|
+
// Tables
|
|
3086
|
+
/**
|
|
3087
|
+
* Border Collapse
|
|
3088
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
3089
|
+
*/
|
|
3090
|
+
"border-collapse": [{
|
|
3091
|
+
border: ["collapse", "separate"]
|
|
3092
|
+
}],
|
|
3093
|
+
/**
|
|
3094
|
+
* Border Spacing
|
|
3095
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3096
|
+
*/
|
|
3097
|
+
"border-spacing": [{
|
|
3098
|
+
"border-spacing": [borderSpacing]
|
|
3099
|
+
}],
|
|
3100
|
+
/**
|
|
3101
|
+
* Border Spacing X
|
|
3102
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3103
|
+
*/
|
|
3104
|
+
"border-spacing-x": [{
|
|
3105
|
+
"border-spacing-x": [borderSpacing]
|
|
3106
|
+
}],
|
|
3107
|
+
/**
|
|
3108
|
+
* Border Spacing Y
|
|
3109
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3110
|
+
*/
|
|
3111
|
+
"border-spacing-y": [{
|
|
3112
|
+
"border-spacing-y": [borderSpacing]
|
|
3113
|
+
}],
|
|
3114
|
+
/**
|
|
3115
|
+
* Table Layout
|
|
3116
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
3117
|
+
*/
|
|
3118
|
+
"table-layout": [{
|
|
3119
|
+
table: ["auto", "fixed"]
|
|
3120
|
+
}],
|
|
3121
|
+
/**
|
|
3122
|
+
* Caption Side
|
|
3123
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
3124
|
+
*/
|
|
3125
|
+
caption: [{
|
|
3126
|
+
caption: ["top", "bottom"]
|
|
3127
|
+
}],
|
|
3128
|
+
// Transitions and Animation
|
|
3129
|
+
/**
|
|
3130
|
+
* Tranisition Property
|
|
3131
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
3132
|
+
*/
|
|
3133
|
+
transition: [{
|
|
3134
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
|
3135
|
+
}],
|
|
3136
|
+
/**
|
|
3137
|
+
* Transition Duration
|
|
3138
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
3139
|
+
*/
|
|
3140
|
+
duration: [{
|
|
3141
|
+
duration: getNumberAndArbitrary()
|
|
3142
|
+
}],
|
|
3143
|
+
/**
|
|
3144
|
+
* Transition Timing Function
|
|
3145
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3146
|
+
*/
|
|
3147
|
+
ease: [{
|
|
3148
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
|
3149
|
+
}],
|
|
3150
|
+
/**
|
|
3151
|
+
* Transition Delay
|
|
3152
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
3153
|
+
*/
|
|
3154
|
+
delay: [{
|
|
3155
|
+
delay: getNumberAndArbitrary()
|
|
3156
|
+
}],
|
|
3157
|
+
/**
|
|
3158
|
+
* Animation
|
|
3159
|
+
* @see https://tailwindcss.com/docs/animation
|
|
3160
|
+
*/
|
|
3161
|
+
animate: [{
|
|
3162
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
|
3163
|
+
}],
|
|
3164
|
+
// Transforms
|
|
3165
|
+
/**
|
|
3166
|
+
* Transform
|
|
3167
|
+
* @see https://tailwindcss.com/docs/transform
|
|
3168
|
+
*/
|
|
3169
|
+
transform: [{
|
|
3170
|
+
transform: ["", "gpu", "none"]
|
|
3171
|
+
}],
|
|
3172
|
+
/**
|
|
3173
|
+
* Scale
|
|
3174
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3175
|
+
*/
|
|
3176
|
+
scale: [{
|
|
3177
|
+
scale: [scale]
|
|
3178
|
+
}],
|
|
3179
|
+
/**
|
|
3180
|
+
* Scale X
|
|
3181
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3182
|
+
*/
|
|
3183
|
+
"scale-x": [{
|
|
3184
|
+
"scale-x": [scale]
|
|
3185
|
+
}],
|
|
3186
|
+
/**
|
|
3187
|
+
* Scale Y
|
|
3188
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3189
|
+
*/
|
|
3190
|
+
"scale-y": [{
|
|
3191
|
+
"scale-y": [scale]
|
|
3192
|
+
}],
|
|
3193
|
+
/**
|
|
3194
|
+
* Rotate
|
|
3195
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3196
|
+
*/
|
|
3197
|
+
rotate: [{
|
|
3198
|
+
rotate: [isInteger, isArbitraryValue]
|
|
3199
|
+
}],
|
|
3200
|
+
/**
|
|
3201
|
+
* Translate X
|
|
3202
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3203
|
+
*/
|
|
3204
|
+
"translate-x": [{
|
|
3205
|
+
"translate-x": [translate]
|
|
3206
|
+
}],
|
|
3207
|
+
/**
|
|
3208
|
+
* Translate Y
|
|
3209
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3210
|
+
*/
|
|
3211
|
+
"translate-y": [{
|
|
3212
|
+
"translate-y": [translate]
|
|
3213
|
+
}],
|
|
3214
|
+
/**
|
|
3215
|
+
* Skew X
|
|
3216
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3217
|
+
*/
|
|
3218
|
+
"skew-x": [{
|
|
3219
|
+
"skew-x": [skew]
|
|
3220
|
+
}],
|
|
3221
|
+
/**
|
|
3222
|
+
* Skew Y
|
|
3223
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3224
|
+
*/
|
|
3225
|
+
"skew-y": [{
|
|
3226
|
+
"skew-y": [skew]
|
|
3227
|
+
}],
|
|
3228
|
+
/**
|
|
3229
|
+
* Transform Origin
|
|
3230
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
3231
|
+
*/
|
|
3232
|
+
"transform-origin": [{
|
|
3233
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
|
3234
|
+
}],
|
|
3235
|
+
// Interactivity
|
|
3236
|
+
/**
|
|
3237
|
+
* Accent Color
|
|
3238
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
3239
|
+
*/
|
|
3240
|
+
accent: [{
|
|
3241
|
+
accent: ["auto", colors]
|
|
3242
|
+
}],
|
|
3243
|
+
/**
|
|
3244
|
+
* Appearance
|
|
3245
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
3246
|
+
*/
|
|
3247
|
+
appearance: [{
|
|
3248
|
+
appearance: ["none", "auto"]
|
|
3249
|
+
}],
|
|
3250
|
+
/**
|
|
3251
|
+
* Cursor
|
|
3252
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
3253
|
+
*/
|
|
3254
|
+
cursor: [{
|
|
3255
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
|
|
3256
|
+
}],
|
|
3257
|
+
/**
|
|
3258
|
+
* Caret Color
|
|
3259
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3260
|
+
*/
|
|
3261
|
+
"caret-color": [{
|
|
3262
|
+
caret: [colors]
|
|
3263
|
+
}],
|
|
3264
|
+
/**
|
|
3265
|
+
* Pointer Events
|
|
3266
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
3267
|
+
*/
|
|
3268
|
+
"pointer-events": [{
|
|
3269
|
+
"pointer-events": ["none", "auto"]
|
|
3270
|
+
}],
|
|
3271
|
+
/**
|
|
3272
|
+
* Resize
|
|
3273
|
+
* @see https://tailwindcss.com/docs/resize
|
|
3274
|
+
*/
|
|
3275
|
+
resize: [{
|
|
3276
|
+
resize: ["none", "y", "x", ""]
|
|
3277
|
+
}],
|
|
3278
|
+
/**
|
|
3279
|
+
* Scroll Behavior
|
|
3280
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
3281
|
+
*/
|
|
3282
|
+
"scroll-behavior": [{
|
|
3283
|
+
scroll: ["auto", "smooth"]
|
|
3284
|
+
}],
|
|
3285
|
+
/**
|
|
3286
|
+
* Scroll Margin
|
|
3287
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3288
|
+
*/
|
|
3289
|
+
"scroll-m": [{
|
|
3290
|
+
"scroll-m": getSpacingWithArbitrary()
|
|
3291
|
+
}],
|
|
3292
|
+
/**
|
|
3293
|
+
* Scroll Margin X
|
|
3294
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3295
|
+
*/
|
|
3296
|
+
"scroll-mx": [{
|
|
3297
|
+
"scroll-mx": getSpacingWithArbitrary()
|
|
3298
|
+
}],
|
|
3299
|
+
/**
|
|
3300
|
+
* Scroll Margin Y
|
|
3301
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3302
|
+
*/
|
|
3303
|
+
"scroll-my": [{
|
|
3304
|
+
"scroll-my": getSpacingWithArbitrary()
|
|
3305
|
+
}],
|
|
3306
|
+
/**
|
|
3307
|
+
* Scroll Margin Start
|
|
3308
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3309
|
+
*/
|
|
3310
|
+
"scroll-ms": [{
|
|
3311
|
+
"scroll-ms": getSpacingWithArbitrary()
|
|
3312
|
+
}],
|
|
3313
|
+
/**
|
|
3314
|
+
* Scroll Margin End
|
|
3315
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3316
|
+
*/
|
|
3317
|
+
"scroll-me": [{
|
|
3318
|
+
"scroll-me": getSpacingWithArbitrary()
|
|
3319
|
+
}],
|
|
3320
|
+
/**
|
|
3321
|
+
* Scroll Margin Top
|
|
3322
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3323
|
+
*/
|
|
3324
|
+
"scroll-mt": [{
|
|
3325
|
+
"scroll-mt": getSpacingWithArbitrary()
|
|
3326
|
+
}],
|
|
3327
|
+
/**
|
|
3328
|
+
* Scroll Margin Right
|
|
3329
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3330
|
+
*/
|
|
3331
|
+
"scroll-mr": [{
|
|
3332
|
+
"scroll-mr": getSpacingWithArbitrary()
|
|
3333
|
+
}],
|
|
3334
|
+
/**
|
|
3335
|
+
* Scroll Margin Bottom
|
|
3336
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3337
|
+
*/
|
|
3338
|
+
"scroll-mb": [{
|
|
3339
|
+
"scroll-mb": getSpacingWithArbitrary()
|
|
3340
|
+
}],
|
|
3341
|
+
/**
|
|
3342
|
+
* Scroll Margin Left
|
|
3343
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3344
|
+
*/
|
|
3345
|
+
"scroll-ml": [{
|
|
3346
|
+
"scroll-ml": getSpacingWithArbitrary()
|
|
3347
|
+
}],
|
|
3348
|
+
/**
|
|
3349
|
+
* Scroll Padding
|
|
3350
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3351
|
+
*/
|
|
3352
|
+
"scroll-p": [{
|
|
3353
|
+
"scroll-p": getSpacingWithArbitrary()
|
|
3354
|
+
}],
|
|
3355
|
+
/**
|
|
3356
|
+
* Scroll Padding X
|
|
3357
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3358
|
+
*/
|
|
3359
|
+
"scroll-px": [{
|
|
3360
|
+
"scroll-px": getSpacingWithArbitrary()
|
|
3361
|
+
}],
|
|
3362
|
+
/**
|
|
3363
|
+
* Scroll Padding Y
|
|
3364
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3365
|
+
*/
|
|
3366
|
+
"scroll-py": [{
|
|
3367
|
+
"scroll-py": getSpacingWithArbitrary()
|
|
3368
|
+
}],
|
|
3369
|
+
/**
|
|
3370
|
+
* Scroll Padding Start
|
|
3371
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3372
|
+
*/
|
|
3373
|
+
"scroll-ps": [{
|
|
3374
|
+
"scroll-ps": getSpacingWithArbitrary()
|
|
3375
|
+
}],
|
|
3376
|
+
/**
|
|
3377
|
+
* Scroll Padding End
|
|
3378
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3379
|
+
*/
|
|
3380
|
+
"scroll-pe": [{
|
|
3381
|
+
"scroll-pe": getSpacingWithArbitrary()
|
|
3382
|
+
}],
|
|
3383
|
+
/**
|
|
3384
|
+
* Scroll Padding Top
|
|
3385
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3386
|
+
*/
|
|
3387
|
+
"scroll-pt": [{
|
|
3388
|
+
"scroll-pt": getSpacingWithArbitrary()
|
|
3389
|
+
}],
|
|
3390
|
+
/**
|
|
3391
|
+
* Scroll Padding Right
|
|
3392
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3393
|
+
*/
|
|
3394
|
+
"scroll-pr": [{
|
|
3395
|
+
"scroll-pr": getSpacingWithArbitrary()
|
|
3396
|
+
}],
|
|
3397
|
+
/**
|
|
3398
|
+
* Scroll Padding Bottom
|
|
3399
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3400
|
+
*/
|
|
3401
|
+
"scroll-pb": [{
|
|
3402
|
+
"scroll-pb": getSpacingWithArbitrary()
|
|
3403
|
+
}],
|
|
3404
|
+
/**
|
|
3405
|
+
* Scroll Padding Left
|
|
3406
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3407
|
+
*/
|
|
3408
|
+
"scroll-pl": [{
|
|
3409
|
+
"scroll-pl": getSpacingWithArbitrary()
|
|
3410
|
+
}],
|
|
3411
|
+
/**
|
|
3412
|
+
* Scroll Snap Align
|
|
3413
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3414
|
+
*/
|
|
3415
|
+
"snap-align": [{
|
|
3416
|
+
snap: ["start", "end", "center", "align-none"]
|
|
3417
|
+
}],
|
|
3418
|
+
/**
|
|
3419
|
+
* Scroll Snap Stop
|
|
3420
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3421
|
+
*/
|
|
3422
|
+
"snap-stop": [{
|
|
3423
|
+
snap: ["normal", "always"]
|
|
3424
|
+
}],
|
|
3425
|
+
/**
|
|
3426
|
+
* Scroll Snap Type
|
|
3427
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3428
|
+
*/
|
|
3429
|
+
"snap-type": [{
|
|
3430
|
+
snap: ["none", "x", "y", "both"]
|
|
3431
|
+
}],
|
|
3432
|
+
/**
|
|
3433
|
+
* Scroll Snap Type Strictness
|
|
3434
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3435
|
+
*/
|
|
3436
|
+
"snap-strictness": [{
|
|
3437
|
+
snap: ["mandatory", "proximity"]
|
|
3438
|
+
}],
|
|
3439
|
+
/**
|
|
3440
|
+
* Touch Action
|
|
3441
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3442
|
+
*/
|
|
3443
|
+
touch: [{
|
|
3444
|
+
touch: ["auto", "none", "manipulation"]
|
|
3445
|
+
}],
|
|
3446
|
+
/**
|
|
3447
|
+
* Touch Action X
|
|
3448
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3449
|
+
*/
|
|
3450
|
+
"touch-x": [{
|
|
3451
|
+
"touch-pan": ["x", "left", "right"]
|
|
3452
|
+
}],
|
|
3453
|
+
/**
|
|
3454
|
+
* Touch Action Y
|
|
3455
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3456
|
+
*/
|
|
3457
|
+
"touch-y": [{
|
|
3458
|
+
"touch-pan": ["y", "up", "down"]
|
|
3459
|
+
}],
|
|
3460
|
+
/**
|
|
3461
|
+
* Touch Action Pinch Zoom
|
|
3462
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3463
|
+
*/
|
|
3464
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3465
|
+
/**
|
|
3466
|
+
* User Select
|
|
3467
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3468
|
+
*/
|
|
3469
|
+
select: [{
|
|
3470
|
+
select: ["none", "text", "all", "auto"]
|
|
3471
|
+
}],
|
|
3472
|
+
/**
|
|
3473
|
+
* Will Change
|
|
3474
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3475
|
+
*/
|
|
3476
|
+
"will-change": [{
|
|
3477
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
|
3478
|
+
}],
|
|
3479
|
+
// SVG
|
|
3480
|
+
/**
|
|
3481
|
+
* Fill
|
|
3482
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3483
|
+
*/
|
|
3484
|
+
fill: [{
|
|
3485
|
+
fill: [colors, "none"]
|
|
3486
|
+
}],
|
|
3487
|
+
/**
|
|
3488
|
+
* Stroke Width
|
|
3489
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3490
|
+
*/
|
|
3491
|
+
"stroke-w": [{
|
|
3492
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
|
3493
|
+
}],
|
|
3494
|
+
/**
|
|
3495
|
+
* Stroke
|
|
3496
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3497
|
+
*/
|
|
3498
|
+
stroke: [{
|
|
3499
|
+
stroke: [colors, "none"]
|
|
3500
|
+
}],
|
|
3501
|
+
// Accessibility
|
|
3502
|
+
/**
|
|
3503
|
+
* Screen Readers
|
|
3504
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
3505
|
+
*/
|
|
3506
|
+
sr: ["sr-only", "not-sr-only"],
|
|
3507
|
+
/**
|
|
3508
|
+
* Forced Color Adjust
|
|
3509
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3510
|
+
*/
|
|
3511
|
+
"forced-color-adjust": [{
|
|
3512
|
+
"forced-color-adjust": ["auto", "none"]
|
|
3513
|
+
}]
|
|
3514
|
+
},
|
|
3515
|
+
conflictingClassGroups: {
|
|
3516
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
3517
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3518
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3519
|
+
"inset-x": ["right", "left"],
|
|
3520
|
+
"inset-y": ["top", "bottom"],
|
|
3521
|
+
flex: ["basis", "grow", "shrink"],
|
|
3522
|
+
gap: ["gap-x", "gap-y"],
|
|
3523
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3524
|
+
px: ["pr", "pl"],
|
|
3525
|
+
py: ["pt", "pb"],
|
|
3526
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3527
|
+
mx: ["mr", "ml"],
|
|
3528
|
+
my: ["mt", "mb"],
|
|
3529
|
+
size: ["w", "h"],
|
|
3530
|
+
"font-size": ["leading"],
|
|
3531
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
3532
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
3533
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
3534
|
+
"fvn-figure": ["fvn-normal"],
|
|
3535
|
+
"fvn-spacing": ["fvn-normal"],
|
|
3536
|
+
"fvn-fraction": ["fvn-normal"],
|
|
3537
|
+
"line-clamp": ["display", "overflow"],
|
|
3538
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
3539
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
3540
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
3541
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
3542
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
3543
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3544
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3545
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3546
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3547
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3548
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3549
|
+
"border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3550
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3551
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3552
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3553
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3554
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3555
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3556
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3557
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3558
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
3559
|
+
"touch-x": ["touch"],
|
|
3560
|
+
"touch-y": ["touch"],
|
|
3561
|
+
"touch-pz": ["touch"]
|
|
3562
|
+
},
|
|
3563
|
+
conflictingClassGroupModifiers: {
|
|
3564
|
+
"font-size": ["leading"]
|
|
3565
|
+
}
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
var mergeConfigs = (baseConfig, {
|
|
3569
|
+
cacheSize,
|
|
3570
|
+
prefix,
|
|
3571
|
+
separator,
|
|
3572
|
+
experimentalParseClassName,
|
|
3573
|
+
extend = {},
|
|
3574
|
+
override = {}
|
|
3575
|
+
}) => {
|
|
3576
|
+
overrideProperty(baseConfig, "cacheSize", cacheSize);
|
|
3577
|
+
overrideProperty(baseConfig, "prefix", prefix);
|
|
3578
|
+
overrideProperty(baseConfig, "separator", separator);
|
|
3579
|
+
overrideProperty(baseConfig, "experimentalParseClassName", experimentalParseClassName);
|
|
3580
|
+
for (const configKey in override) {
|
|
3581
|
+
overrideConfigProperties(baseConfig[configKey], override[configKey]);
|
|
3582
|
+
}
|
|
3583
|
+
for (const key in extend) {
|
|
3584
|
+
mergeConfigProperties(baseConfig[key], extend[key]);
|
|
3585
|
+
}
|
|
3586
|
+
return baseConfig;
|
|
3587
|
+
};
|
|
3588
|
+
var overrideProperty = (baseObject, overrideKey, overrideValue) => {
|
|
3589
|
+
if (overrideValue !== void 0) {
|
|
3590
|
+
baseObject[overrideKey] = overrideValue;
|
|
3591
|
+
}
|
|
3592
|
+
};
|
|
3593
|
+
var overrideConfigProperties = (baseObject, overrideObject) => {
|
|
3594
|
+
if (overrideObject) {
|
|
3595
|
+
for (const key in overrideObject) {
|
|
3596
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
};
|
|
3600
|
+
var mergeConfigProperties = (baseObject, mergeObject) => {
|
|
3601
|
+
if (mergeObject) {
|
|
3602
|
+
for (const key in mergeObject) {
|
|
3603
|
+
const mergeValue = mergeObject[key];
|
|
3604
|
+
if (mergeValue !== void 0) {
|
|
3605
|
+
baseObject[key] = (baseObject[key] || []).concat(mergeValue);
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
};
|
|
3610
|
+
var extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
3611
|
+
|
|
3612
|
+
// src/libraries/react/lib/utils.ts
|
|
3613
|
+
var twMerge = extendTailwindMerge({
|
|
3614
|
+
prefix: "au-"
|
|
3615
|
+
});
|
|
3616
|
+
function cn(...inputs) {
|
|
3617
|
+
return twMerge(clsx(inputs));
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
// src/libraries/react/components/ui/accordion.tsx
|
|
3621
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
3622
|
+
var Accordion2 = Root2;
|
|
3623
|
+
var AccordionItem2 = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
3624
|
+
Item,
|
|
3625
|
+
{
|
|
3626
|
+
ref,
|
|
3627
|
+
className: cn("au-border-b", className),
|
|
3628
|
+
...props
|
|
3629
|
+
}
|
|
3630
|
+
));
|
|
3631
|
+
AccordionItem2.displayName = "AccordionItem";
|
|
3632
|
+
var AccordionTrigger2 = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Header, { className: "au-flex", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
3633
|
+
Trigger2,
|
|
3634
|
+
{
|
|
3635
|
+
ref,
|
|
3636
|
+
className: cn(
|
|
3637
|
+
"au-flex au-flex-1 au-items-center au-justify-between au-py-4 au-text-sm au-font-medium au-transition-all hover:au-underline au-text-left [&[data-state=open]>svg]:au-rotate-180",
|
|
3638
|
+
className
|
|
3639
|
+
),
|
|
3640
|
+
...props,
|
|
3641
|
+
children: [
|
|
3642
|
+
children,
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ChevronDown, { className: "au-h-4 au-w-4 au-shrink-0 au-text-muted-foreground au-transition-transform au-duration-200" })
|
|
3644
|
+
]
|
|
3645
|
+
}
|
|
3646
|
+
) }));
|
|
3647
|
+
AccordionTrigger2.displayName = Trigger2.displayName;
|
|
3648
|
+
var AccordionContent2 = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
3649
|
+
Content2,
|
|
3650
|
+
{
|
|
3651
|
+
ref,
|
|
3652
|
+
className: "au-overflow-hidden au-text-sm data-[state=closed]:au-animate-accordion-up data-[state=open]:au-animate-accordion-down",
|
|
3653
|
+
...props,
|
|
3654
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: cn("au-pb-4 au-pt-0", className), children })
|
|
3655
|
+
}
|
|
3656
|
+
));
|
|
3657
|
+
AccordionContent2.displayName = Content2.displayName;
|
|
3658
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3659
|
+
0 && (module.exports = {
|
|
3660
|
+
Accordion,
|
|
3661
|
+
AccordionContent,
|
|
3662
|
+
AccordionItem,
|
|
3663
|
+
AccordionTrigger
|
|
3664
|
+
});
|
|
3665
|
+
/*! Bundled license information:
|
|
3666
|
+
|
|
3667
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
3668
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
3669
|
+
lucide-react/dist/esm/Icon.js:
|
|
3670
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
3671
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
3672
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
3673
|
+
(**
|
|
3674
|
+
* @license lucide-react v0.523.0 - ISC
|
|
3675
|
+
*
|
|
3676
|
+
* This source code is licensed under the ISC license.
|
|
3677
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3678
|
+
*)
|
|
3679
|
+
*/
|