autumn-js 0.0.103 → 0.0.104
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/dist/libraries/backend/better-auth.d.mts +28 -4
- package/dist/libraries/backend/better-auth.d.ts +28 -4
- package/dist/libraries/backend/better-auth.js +76 -83
- package/dist/libraries/backend/better-auth.mjs +7 -7
- package/dist/libraries/backend/{chunk-YFWJ6E4U.mjs → chunk-2RZ2FZX2.mjs} +10 -10
- package/dist/libraries/backend/{chunk-33NT3WE5.mjs → chunk-3OLXYDCU.mjs} +1 -1
- package/dist/libraries/backend/{chunk-AKV5N4WO.mjs → chunk-5EKNB4IJ.mjs} +1 -1
- package/dist/libraries/backend/{chunk-CEZHD5H6.mjs → chunk-5H6HVCOP.mjs} +1 -1
- package/dist/libraries/backend/{chunk-J3L3OBSS.mjs → chunk-HHMIVOXX.mjs} +18 -1
- package/dist/libraries/backend/{chunk-6VS7TU7O.mjs → chunk-IOSEAUDJ.mjs} +57 -81
- package/dist/libraries/backend/{chunk-RA4AC56B.mjs → chunk-K7JGEYUX.mjs} +1 -1
- package/dist/libraries/backend/convex.js +73 -80
- package/dist/libraries/backend/convex.mjs +7 -7
- package/dist/libraries/backend/elysia.js +73 -80
- package/dist/libraries/backend/elysia.mjs +7 -7
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/express.js +73 -80
- package/dist/libraries/backend/express.mjs +7 -7
- package/dist/libraries/backend/fastify.js +73 -80
- package/dist/libraries/backend/fastify.mjs +7 -7
- package/dist/libraries/backend/hono.js +73 -80
- package/dist/libraries/backend/hono.mjs +7 -7
- package/dist/libraries/backend/next.js +169 -176
- package/dist/libraries/backend/next.mjs +101 -101
- package/dist/libraries/backend/react-router.js +73 -80
- package/dist/libraries/backend/react-router.mjs +7 -7
- package/dist/libraries/backend/{referralTypes-DV8s1h8w.d.ts → referralTypes-CnYanpMd.d.ts} +199 -102
- package/dist/libraries/backend/{referralTypes-DcDxMGTp.d.mts → referralTypes-jA7MQ1y5.d.mts} +199 -102
- package/dist/libraries/backend/remix_dep.js +73 -80
- package/dist/libraries/backend/remix_dep.mjs +7 -7
- package/dist/libraries/backend/routes/backendRouter.js +73 -80
- package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
- package/dist/libraries/backend/routes/entityRoutes.js +56 -80
- package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/genRoutes.js +73 -80
- package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/productRoutes.js +56 -80
- package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/referralRoutes.js +56 -80
- package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
- package/dist/libraries/backend/supabase.js +73 -80
- package/dist/libraries/backend/supabase.mjs +7 -7
- package/dist/libraries/backend/tanstack.js +73 -80
- package/dist/libraries/backend/tanstack.mjs +7 -7
- package/dist/libraries/backend/utils/backendRes.js +56 -80
- package/dist/libraries/backend/utils/backendRes.mjs +1 -1
- package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
- package/dist/libraries/backend/utils/withAuth.js +56 -80
- package/dist/libraries/backend/utils/withAuth.mjs +2 -2
- package/dist/libraries/react/AutumnContext.d.mts +5 -4
- package/dist/libraries/react/AutumnContext.d.ts +5 -4
- package/dist/libraries/react/AutumnContext.js +63 -82
- package/dist/libraries/react/AutumnContext.mjs +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.mts +5 -4
- package/dist/libraries/react/BaseAutumnProvider.d.ts +5 -4
- package/dist/libraries/react/BaseAutumnProvider.js +96 -111
- package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
- package/dist/libraries/react/{ReactAutumnClient-C8Nt-pqu.d.mts → ReactAutumnClient-BGI56QI_.d.mts} +21 -10
- package/dist/libraries/react/{ReactAutumnClient-BlxQQOXE.d.ts → ReactAutumnClient-CEv9YGLM.d.ts} +21 -10
- package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/ReactAutumnProvider.js +96 -111
- package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
- package/dist/libraries/react/attachTypes-Cexub7bN.d.ts +58 -0
- package/dist/libraries/react/attachTypes-DqI7qtXD.d.mts +58 -0
- package/dist/libraries/react/{chunk-VUBJ6JM3.mjs → chunk-253MTZP3.mjs} +7 -2
- package/dist/libraries/react/{chunk-RQN4VDAE.mjs → chunk-3N6WLQH3.mjs} +3 -3
- package/dist/libraries/react/{chunk-DHJ36QEV.mjs → chunk-473LVTGN.mjs} +2 -2
- package/dist/libraries/react/{chunk-LXSKONN2.mjs → chunk-4A53GN44.mjs} +5 -5
- package/dist/libraries/react/{chunk-EHOBTSZ7.mjs → chunk-4BQDSIWM.mjs} +5 -8
- package/dist/libraries/react/{chunk-S6JUZ43Q.mjs → chunk-4VXBAIPC.mjs} +2 -2
- package/dist/libraries/react/{chunk-OAWFFAKA.mjs → chunk-6EZVNJHQ.mjs} +6 -6
- package/dist/libraries/react/{chunk-DBGTWERW.mjs → chunk-ASL5VH2W.mjs} +4 -3
- package/dist/libraries/react/{chunk-QBBE72EF.mjs → chunk-CBPZVSMZ.mjs} +12 -7
- package/dist/libraries/react/chunk-CUWUAQML.mjs +179 -0
- package/dist/libraries/react/chunk-DJIRJJNG.mjs +34 -0
- package/dist/libraries/react/{chunk-CYW4LNFZ.mjs → chunk-E5EYSQYJ.mjs} +68 -90
- package/dist/libraries/react/{chunk-GQIE3MFB.mjs → chunk-EBQBPZCM.mjs} +3 -3
- package/dist/libraries/react/{chunk-AL3VJLFU.mjs → chunk-EV5RNY5U.mjs} +1 -1
- package/dist/libraries/react/chunk-G6NOGGDA.mjs +695 -0
- package/dist/libraries/react/{chunk-OAPUYXBO.mjs → chunk-KWNH6C27.mjs} +6 -6
- package/dist/libraries/react/{chunk-X4R3V6O6.mjs → chunk-MNOH7Q3B.mjs} +2 -2
- package/dist/libraries/react/{chunk-3SGSKYJ7.mjs → chunk-P5MIFIIO.mjs} +2 -2
- package/dist/libraries/react/{chunk-PZJQBCVG.mjs → chunk-PIENO233.mjs} +1 -1
- package/dist/libraries/react/chunk-QUO2CYKM.mjs +30 -0
- package/dist/libraries/react/{chunk-BCMBFJ7E.mjs → chunk-RCTILKK3.mjs} +70 -37
- package/dist/libraries/react/{chunk-ZVQKDPUP.mjs → chunk-RPEGNKJH.mjs} +3 -3
- package/dist/libraries/react/{chunk-SDMBKRAI.mjs → chunk-WAFSQH6N.mjs} +37 -37
- package/dist/libraries/react/{chunk-CGWNDUYV.mjs → chunk-ZFIJI37N.mjs} +1 -1
- package/dist/libraries/react/{chunk-KYSWTOMQ.mjs → chunk-ZITEHPEQ.mjs} +30 -24
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +5 -5
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +5 -5
- package/dist/libraries/react/client/ReactAutumnClient.js +63 -82
- package/dist/libraries/react/client/ReactAutumnClient.mjs +5 -5
- package/dist/libraries/react/client/clientCompMethods.d.mts +5 -5
- package/dist/libraries/react/client/clientCompMethods.d.ts +5 -5
- package/dist/libraries/react/client/clientCusMethods.d.mts +5 -5
- package/dist/libraries/react/client/clientCusMethods.d.ts +5 -5
- package/dist/libraries/react/client/clientEntityMethods.d.mts +5 -5
- package/dist/libraries/react/client/clientEntityMethods.d.ts +5 -5
- package/dist/libraries/react/client/clientGenMethods.d.mts +9 -7
- package/dist/libraries/react/client/clientGenMethods.d.ts +9 -7
- package/dist/libraries/react/client/clientGenMethods.js +8 -2
- package/dist/libraries/react/client/clientGenMethods.mjs +3 -1
- package/dist/libraries/react/client/clientProdMethods.d.mts +5 -5
- package/dist/libraries/react/client/clientProdMethods.d.ts +5 -5
- package/dist/libraries/react/client/clientReferralMethods.d.mts +5 -5
- package/dist/libraries/react/client/clientReferralMethods.d.ts +5 -5
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +115 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +115 -0
- package/dist/libraries/react/client/types/clientAttachTypes.js +68 -0
- package/dist/libraries/react/client/types/clientAttachTypes.mjs +42 -0
- package/dist/libraries/react/client/types/clientGenTypes.d.mts +10 -81
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +10 -81
- package/dist/libraries/react/client/types/clientGenTypes.js +1 -24
- package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -22
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +213 -4
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +5 -32
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +5 -32
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +720 -371
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +30 -33
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +3 -2
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +3 -2
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.js +70 -37
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.mjs +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +43 -43
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +5 -5
- package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +3 -1
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +3 -1
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.js +12 -7
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.mjs +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +213 -4
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +794 -456
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +29 -26
- package/dist/libraries/react/components/ui/accordion.d.mts +9 -0
- package/dist/libraries/react/components/ui/accordion.d.ts +9 -0
- package/dist/libraries/react/components/ui/accordion.js +2721 -0
- package/dist/libraries/react/components/ui/accordion.mjs +15 -0
- package/dist/libraries/react/components/ui/button.d.mts +1 -1
- package/dist/libraries/react/components/ui/button.d.ts +1 -1
- package/dist/libraries/react/components/ui/button.js +3 -3
- package/dist/libraries/react/components/ui/button.mjs +2 -2
- package/dist/libraries/react/components/ui/dialog.js +43 -43
- package/dist/libraries/react/components/ui/dialog.mjs +3 -3
- 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 +9 -0
- package/dist/libraries/react/components/ui/popover.d.ts +9 -0
- package/dist/libraries/react/components/ui/popover.js +2594 -0
- package/dist/libraries/react/components/ui/popover.mjs +15 -0
- package/dist/libraries/react/components/ui/switch.js +12 -12
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/dist/libraries/react/{cusTypes-CHcG59KG.d.mts → cusTypes-DCeNEQLu.d.mts} +28 -10
- package/dist/libraries/react/{cusTypes-CHcG59KG.d.ts → cusTypes-DCeNEQLu.d.ts} +28 -10
- package/dist/libraries/react/{entTypes-8-4TWxee.d.ts → entTypes-BJD_Hxbp.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-3t7AbNhm.d.mts → entTypes-CJhJFCKD.d.mts} +1 -1
- package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
- package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.mts +21 -6
- package/dist/libraries/react/hooks/useAutumn.d.ts +21 -6
- package/dist/libraries/react/hooks/useAutumn.js +94 -110
- package/dist/libraries/react/hooks/useAutumn.mjs +9 -9
- package/dist/libraries/react/hooks/useAutumnBase.d.mts +24 -9
- package/dist/libraries/react/hooks/useAutumnBase.d.ts +24 -9
- package/dist/libraries/react/hooks/useAutumnBase.js +94 -110
- package/dist/libraries/react/hooks/useAutumnBase.mjs +8 -8
- package/dist/libraries/react/hooks/useCustomer.d.mts +7 -5
- package/dist/libraries/react/hooks/useCustomer.d.ts +7 -5
- package/dist/libraries/react/hooks/useCustomer.js +96 -111
- package/dist/libraries/react/hooks/useCustomer.mjs +10 -10
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +8 -5
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +8 -5
- package/dist/libraries/react/hooks/useCustomerBase.js +96 -111
- package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
- package/dist/libraries/react/hooks/useEntity.d.mts +14 -7
- package/dist/libraries/react/hooks/useEntity.d.ts +14 -7
- package/dist/libraries/react/hooks/useEntity.js +94 -110
- package/dist/libraries/react/hooks/useEntity.mjs +10 -10
- package/dist/libraries/react/hooks/useEntityBase.d.mts +16 -7
- package/dist/libraries/react/hooks/useEntityBase.d.ts +16 -7
- package/dist/libraries/react/hooks/useEntityBase.js +94 -110
- package/dist/libraries/react/hooks/useEntityBase.mjs +9 -9
- package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.js +66 -88
- package/dist/libraries/react/hooks/usePricingTable.mjs +8 -8
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +6 -6
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +6 -6
- package/dist/libraries/react/hooks/usePricingTableBase.js +66 -88
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +7 -7
- package/dist/libraries/react/hooks/useProductsBase.js +63 -82
- package/dist/libraries/react/hooks/useProductsBase.mjs +6 -6
- package/dist/libraries/react/index.d.mts +217 -106
- package/dist/libraries/react/index.d.ts +217 -106
- package/dist/libraries/react/index.js +801 -463
- package/dist/libraries/react/index.mjs +792 -454
- package/dist/libraries/react/{response-DnJCkvfc.d.ts → response-Dek2TEnE.d.ts} +2 -25
- package/dist/libraries/react/{response-B8MYd86O.d.mts → response-HZAWTgGp.d.mts} +2 -25
- package/dist/next/{AutumnProvider-Xl1mqxls.d.mts → AutumnProvider-CHFySjFm.d.mts} +30 -12
- package/dist/next/{AutumnProvider-Xl1mqxls.d.ts → AutumnProvider-CHFySjFm.d.ts} +30 -12
- package/dist/next/AutumnProvider.d.mts +1 -1
- package/dist/next/AutumnProvider.d.ts +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +18 -7
- package/dist/next/client/NextAutumnClient.d.ts +18 -7
- package/dist/next/client/NextAutumnClient.js +13 -2
- package/dist/next/client/NextAutumnClient.mjs +13 -2
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/attachTypes-BL6x9Zbx.d.ts +58 -0
- package/dist/next/client/attachTypes-BPYeJ6E4.d.mts +58 -0
- package/dist/next/client/{clientGenTypes-Dx1TULjb.d.ts → clientAttachTypes-Dj6U8D7o.d.ts} +108 -90
- package/dist/next/client/{clientGenTypes-tE8HbEdV.d.mts → clientAttachTypes-fN66J754.d.mts} +108 -90
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{cusTypes-nWQygxXu.d.mts → cusTypes-BoVZ2omf.d.mts} +32 -14
- package/dist/next/client/{cusTypes-nWQygxXu.d.ts → cusTypes-BoVZ2omf.d.ts} +32 -14
- package/dist/next/client/{entTypes-DDZyYuom.d.ts → entTypes-BrHkjvC9.d.ts} +1 -1
- package/dist/next/client/{entTypes-DusU3WqD.d.mts → entTypes-Li6ZrG0C.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +19 -5
- package/dist/next/client/hooks/useAutumn.d.ts +19 -5
- package/dist/next/client/hooks/useCustomer.d.mts +5 -4
- package/dist/next/client/hooks/useCustomer.d.ts +5 -4
- package/dist/next/client/hooks/useEntity.d.mts +14 -8
- package/dist/next/client/hooks/useEntity.d.ts +14 -8
- package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
- package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- package/dist/next/index.d.mts +213 -107
- package/dist/next/index.d.ts +213 -107
- package/dist/next/server/auth/withNextAuth.d.mts +1 -1
- package/dist/next/server/auth/withNextAuth.d.ts +1 -1
- package/dist/next/server/componentActions.d.mts +1 -1
- package/dist/next/server/componentActions.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +173 -94
- package/dist/next/server/cusActions.d.ts +173 -94
- package/dist/next/server/{cusTypes-Tc189V9T.d.mts → cusTypes-Bh_pVAJp.d.mts} +32 -14
- package/dist/next/server/{cusTypes-Tc189V9T.d.ts → cusTypes-Bh_pVAJp.d.ts} +32 -14
- package/dist/next/server/genActions.d.mts +3 -4
- package/dist/next/server/genActions.d.ts +3 -4
- package/dist/sdk/index.d.mts +221 -135
- package/dist/sdk/index.d.ts +221 -135
- package/dist/sdk/index.js +55 -80
- package/dist/sdk/index.mjs +54 -81
- package/dist/styles/global.css +213 -4
- package/dist/utils/encryptUtils.js +56 -80
- package/dist/utils/encryptUtils.mjs +56 -80
- package/package.json +7 -4
- package/dist/libraries/react/chunk-ZEVKOP7Z.mjs +0 -548
|
@@ -0,0 +1,2721 @@
|
|
|
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: () => Accordion,
|
|
36
|
+
AccordionContent: () => AccordionContent,
|
|
37
|
+
AccordionItem: () => AccordionItem,
|
|
38
|
+
AccordionTrigger: () => AccordionTrigger
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(accordion_exports);
|
|
41
|
+
var React = __toESM(require("react"));
|
|
42
|
+
var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
|
|
43
|
+
|
|
44
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
45
|
+
var import_react2 = require("react");
|
|
46
|
+
|
|
47
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
48
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
49
|
+
var toCamelCase = (string) => string.replace(
|
|
50
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
51
|
+
(match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
|
|
52
|
+
);
|
|
53
|
+
var toPascalCase = (string) => {
|
|
54
|
+
const camelCase = toCamelCase(string);
|
|
55
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
56
|
+
};
|
|
57
|
+
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
58
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
59
|
+
}).join(" ").trim();
|
|
60
|
+
var hasA11yProp = (props) => {
|
|
61
|
+
for (const prop in props) {
|
|
62
|
+
if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
69
|
+
var import_react = require("react");
|
|
70
|
+
|
|
71
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
72
|
+
var defaultAttributes = {
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
+
width: 24,
|
|
75
|
+
height: 24,
|
|
76
|
+
viewBox: "0 0 24 24",
|
|
77
|
+
fill: "none",
|
|
78
|
+
stroke: "currentColor",
|
|
79
|
+
strokeWidth: 2,
|
|
80
|
+
strokeLinecap: "round",
|
|
81
|
+
strokeLinejoin: "round"
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/Icon.js
|
|
85
|
+
var Icon = (0, import_react.forwardRef)(
|
|
86
|
+
({
|
|
87
|
+
color = "currentColor",
|
|
88
|
+
size = 24,
|
|
89
|
+
strokeWidth = 2,
|
|
90
|
+
absoluteStrokeWidth,
|
|
91
|
+
className = "",
|
|
92
|
+
children,
|
|
93
|
+
iconNode,
|
|
94
|
+
...rest
|
|
95
|
+
}, ref) => (0, import_react.createElement)(
|
|
96
|
+
"svg",
|
|
97
|
+
{
|
|
98
|
+
ref,
|
|
99
|
+
...defaultAttributes,
|
|
100
|
+
width: size,
|
|
101
|
+
height: size,
|
|
102
|
+
stroke: color,
|
|
103
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
|
104
|
+
className: mergeClasses("lucide", className),
|
|
105
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
106
|
+
...rest
|
|
107
|
+
},
|
|
108
|
+
[
|
|
109
|
+
...iconNode.map(([tag, attrs]) => (0, import_react.createElement)(tag, attrs)),
|
|
110
|
+
...Array.isArray(children) ? children : [children]
|
|
111
|
+
]
|
|
112
|
+
)
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
116
|
+
var createLucideIcon = (iconName, iconNode) => {
|
|
117
|
+
const Component = (0, import_react2.forwardRef)(
|
|
118
|
+
({ className, ...props }, ref) => (0, import_react2.createElement)(Icon, {
|
|
119
|
+
ref,
|
|
120
|
+
iconNode,
|
|
121
|
+
className: mergeClasses(
|
|
122
|
+
`lucide-${toKebabCase(toPascalCase(iconName))}`,
|
|
123
|
+
`lucide-${iconName}`,
|
|
124
|
+
className
|
|
125
|
+
),
|
|
126
|
+
...props
|
|
127
|
+
})
|
|
128
|
+
);
|
|
129
|
+
Component.displayName = toPascalCase(iconName);
|
|
130
|
+
return Component;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
// ../node_modules/.pnpm/lucide-react@0.523.0_react@19.1.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
|
134
|
+
var __iconNode = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
135
|
+
var ChevronDown = createLucideIcon("chevron-down", __iconNode);
|
|
136
|
+
|
|
137
|
+
// ../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
138
|
+
function r(e) {
|
|
139
|
+
var t, f, n = "";
|
|
140
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
141
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
142
|
+
var o = e.length;
|
|
143
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
144
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
145
|
+
return n;
|
|
146
|
+
}
|
|
147
|
+
function clsx() {
|
|
148
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
149
|
+
return n;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// ../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
153
|
+
var CLASS_PART_SEPARATOR = "-";
|
|
154
|
+
var createClassGroupUtils = (config) => {
|
|
155
|
+
const classMap = createClassMap(config);
|
|
156
|
+
const {
|
|
157
|
+
conflictingClassGroups,
|
|
158
|
+
conflictingClassGroupModifiers
|
|
159
|
+
} = config;
|
|
160
|
+
const getClassGroupId = (className) => {
|
|
161
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
162
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
|
163
|
+
classParts.shift();
|
|
164
|
+
}
|
|
165
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
166
|
+
};
|
|
167
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
168
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
169
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
170
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
171
|
+
}
|
|
172
|
+
return conflicts;
|
|
173
|
+
};
|
|
174
|
+
return {
|
|
175
|
+
getClassGroupId,
|
|
176
|
+
getConflictingClassGroupIds
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
var getGroupRecursive = (classParts, classPartObject) => {
|
|
180
|
+
if (classParts.length === 0) {
|
|
181
|
+
return classPartObject.classGroupId;
|
|
182
|
+
}
|
|
183
|
+
const currentClassPart = classParts[0];
|
|
184
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
185
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
|
186
|
+
if (classGroupFromNextClassPart) {
|
|
187
|
+
return classGroupFromNextClassPart;
|
|
188
|
+
}
|
|
189
|
+
if (classPartObject.validators.length === 0) {
|
|
190
|
+
return void 0;
|
|
191
|
+
}
|
|
192
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
193
|
+
return classPartObject.validators.find(({
|
|
194
|
+
validator
|
|
195
|
+
}) => validator(classRest))?.classGroupId;
|
|
196
|
+
};
|
|
197
|
+
var arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
198
|
+
var getGroupIdForArbitraryProperty = (className) => {
|
|
199
|
+
if (arbitraryPropertyRegex.test(className)) {
|
|
200
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
201
|
+
const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
|
202
|
+
if (property) {
|
|
203
|
+
return "arbitrary.." + property;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
var createClassMap = (config) => {
|
|
208
|
+
const {
|
|
209
|
+
theme,
|
|
210
|
+
prefix
|
|
211
|
+
} = config;
|
|
212
|
+
const classMap = {
|
|
213
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
214
|
+
validators: []
|
|
215
|
+
};
|
|
216
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
217
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
|
218
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme);
|
|
219
|
+
});
|
|
220
|
+
return classMap;
|
|
221
|
+
};
|
|
222
|
+
var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
223
|
+
classGroup.forEach((classDefinition) => {
|
|
224
|
+
if (typeof classDefinition === "string") {
|
|
225
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
226
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (typeof classDefinition === "function") {
|
|
230
|
+
if (isThemeGetter(classDefinition)) {
|
|
231
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
classPartObject.validators.push({
|
|
235
|
+
validator: classDefinition,
|
|
236
|
+
classGroupId
|
|
237
|
+
});
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
|
241
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
};
|
|
245
|
+
var getPart = (classPartObject, path) => {
|
|
246
|
+
let currentClassPartObject = classPartObject;
|
|
247
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
|
248
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
249
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
|
250
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
251
|
+
validators: []
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
255
|
+
});
|
|
256
|
+
return currentClassPartObject;
|
|
257
|
+
};
|
|
258
|
+
var isThemeGetter = (func) => func.isThemeGetter;
|
|
259
|
+
var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
|
|
260
|
+
if (!prefix) {
|
|
261
|
+
return classGroupEntries;
|
|
262
|
+
}
|
|
263
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
|
264
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
|
265
|
+
if (typeof classDefinition === "string") {
|
|
266
|
+
return prefix + classDefinition;
|
|
267
|
+
}
|
|
268
|
+
if (typeof classDefinition === "object") {
|
|
269
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
|
270
|
+
}
|
|
271
|
+
return classDefinition;
|
|
272
|
+
});
|
|
273
|
+
return [classGroupId, prefixedClassGroup];
|
|
274
|
+
});
|
|
275
|
+
};
|
|
276
|
+
var createLruCache = (maxCacheSize) => {
|
|
277
|
+
if (maxCacheSize < 1) {
|
|
278
|
+
return {
|
|
279
|
+
get: () => void 0,
|
|
280
|
+
set: () => {
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
let cacheSize = 0;
|
|
285
|
+
let cache = /* @__PURE__ */ new Map();
|
|
286
|
+
let previousCache = /* @__PURE__ */ new Map();
|
|
287
|
+
const update = (key, value) => {
|
|
288
|
+
cache.set(key, value);
|
|
289
|
+
cacheSize++;
|
|
290
|
+
if (cacheSize > maxCacheSize) {
|
|
291
|
+
cacheSize = 0;
|
|
292
|
+
previousCache = cache;
|
|
293
|
+
cache = /* @__PURE__ */ new Map();
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
return {
|
|
297
|
+
get(key) {
|
|
298
|
+
let value = cache.get(key);
|
|
299
|
+
if (value !== void 0) {
|
|
300
|
+
return value;
|
|
301
|
+
}
|
|
302
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
|
303
|
+
update(key, value);
|
|
304
|
+
return value;
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
set(key, value) {
|
|
308
|
+
if (cache.has(key)) {
|
|
309
|
+
cache.set(key, value);
|
|
310
|
+
} else {
|
|
311
|
+
update(key, value);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
var IMPORTANT_MODIFIER = "!";
|
|
317
|
+
var createParseClassName = (config) => {
|
|
318
|
+
const {
|
|
319
|
+
separator,
|
|
320
|
+
experimentalParseClassName
|
|
321
|
+
} = config;
|
|
322
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
|
323
|
+
const firstSeparatorCharacter = separator[0];
|
|
324
|
+
const separatorLength = separator.length;
|
|
325
|
+
const parseClassName = (className) => {
|
|
326
|
+
const modifiers = [];
|
|
327
|
+
let bracketDepth = 0;
|
|
328
|
+
let modifierStart = 0;
|
|
329
|
+
let postfixModifierPosition;
|
|
330
|
+
for (let index = 0; index < className.length; index++) {
|
|
331
|
+
let currentCharacter = className[index];
|
|
332
|
+
if (bracketDepth === 0) {
|
|
333
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
|
334
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
335
|
+
modifierStart = index + separatorLength;
|
|
336
|
+
continue;
|
|
337
|
+
}
|
|
338
|
+
if (currentCharacter === "/") {
|
|
339
|
+
postfixModifierPosition = index;
|
|
340
|
+
continue;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
if (currentCharacter === "[") {
|
|
344
|
+
bracketDepth++;
|
|
345
|
+
} else if (currentCharacter === "]") {
|
|
346
|
+
bracketDepth--;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
|
350
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
351
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
352
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
353
|
+
return {
|
|
354
|
+
modifiers,
|
|
355
|
+
hasImportantModifier,
|
|
356
|
+
baseClassName,
|
|
357
|
+
maybePostfixModifierPosition
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
if (experimentalParseClassName) {
|
|
361
|
+
return (className) => experimentalParseClassName({
|
|
362
|
+
className,
|
|
363
|
+
parseClassName
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
return parseClassName;
|
|
367
|
+
};
|
|
368
|
+
var sortModifiers = (modifiers) => {
|
|
369
|
+
if (modifiers.length <= 1) {
|
|
370
|
+
return modifiers;
|
|
371
|
+
}
|
|
372
|
+
const sortedModifiers = [];
|
|
373
|
+
let unsortedModifiers = [];
|
|
374
|
+
modifiers.forEach((modifier) => {
|
|
375
|
+
const isArbitraryVariant = modifier[0] === "[";
|
|
376
|
+
if (isArbitraryVariant) {
|
|
377
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
378
|
+
unsortedModifiers = [];
|
|
379
|
+
} else {
|
|
380
|
+
unsortedModifiers.push(modifier);
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
|
384
|
+
return sortedModifiers;
|
|
385
|
+
};
|
|
386
|
+
var createConfigUtils = (config) => ({
|
|
387
|
+
cache: createLruCache(config.cacheSize),
|
|
388
|
+
parseClassName: createParseClassName(config),
|
|
389
|
+
...createClassGroupUtils(config)
|
|
390
|
+
});
|
|
391
|
+
var SPLIT_CLASSES_REGEX = /\s+/;
|
|
392
|
+
var mergeClassList = (classList, configUtils) => {
|
|
393
|
+
const {
|
|
394
|
+
parseClassName,
|
|
395
|
+
getClassGroupId,
|
|
396
|
+
getConflictingClassGroupIds
|
|
397
|
+
} = configUtils;
|
|
398
|
+
const classGroupsInConflict = [];
|
|
399
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
400
|
+
let result = "";
|
|
401
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
402
|
+
const originalClassName = classNames[index];
|
|
403
|
+
const {
|
|
404
|
+
modifiers,
|
|
405
|
+
hasImportantModifier,
|
|
406
|
+
baseClassName,
|
|
407
|
+
maybePostfixModifierPosition
|
|
408
|
+
} = parseClassName(originalClassName);
|
|
409
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
410
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
411
|
+
if (!classGroupId) {
|
|
412
|
+
if (!hasPostfixModifier) {
|
|
413
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
417
|
+
if (!classGroupId) {
|
|
418
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
419
|
+
continue;
|
|
420
|
+
}
|
|
421
|
+
hasPostfixModifier = false;
|
|
422
|
+
}
|
|
423
|
+
const variantModifier = sortModifiers(modifiers).join(":");
|
|
424
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
425
|
+
const classId = modifierId + classGroupId;
|
|
426
|
+
if (classGroupsInConflict.includes(classId)) {
|
|
427
|
+
continue;
|
|
428
|
+
}
|
|
429
|
+
classGroupsInConflict.push(classId);
|
|
430
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
431
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
432
|
+
const group = conflictGroups[i];
|
|
433
|
+
classGroupsInConflict.push(modifierId + group);
|
|
434
|
+
}
|
|
435
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
436
|
+
}
|
|
437
|
+
return result;
|
|
438
|
+
};
|
|
439
|
+
function twJoin() {
|
|
440
|
+
let index = 0;
|
|
441
|
+
let argument;
|
|
442
|
+
let resolvedValue;
|
|
443
|
+
let string = "";
|
|
444
|
+
while (index < arguments.length) {
|
|
445
|
+
if (argument = arguments[index++]) {
|
|
446
|
+
if (resolvedValue = toValue(argument)) {
|
|
447
|
+
string && (string += " ");
|
|
448
|
+
string += resolvedValue;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
return string;
|
|
453
|
+
}
|
|
454
|
+
var toValue = (mix) => {
|
|
455
|
+
if (typeof mix === "string") {
|
|
456
|
+
return mix;
|
|
457
|
+
}
|
|
458
|
+
let resolvedValue;
|
|
459
|
+
let string = "";
|
|
460
|
+
for (let k = 0; k < mix.length; k++) {
|
|
461
|
+
if (mix[k]) {
|
|
462
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
463
|
+
string && (string += " ");
|
|
464
|
+
string += resolvedValue;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
return string;
|
|
469
|
+
};
|
|
470
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
471
|
+
let configUtils;
|
|
472
|
+
let cacheGet;
|
|
473
|
+
let cacheSet;
|
|
474
|
+
let functionToCall = initTailwindMerge;
|
|
475
|
+
function initTailwindMerge(classList) {
|
|
476
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
477
|
+
configUtils = createConfigUtils(config);
|
|
478
|
+
cacheGet = configUtils.cache.get;
|
|
479
|
+
cacheSet = configUtils.cache.set;
|
|
480
|
+
functionToCall = tailwindMerge;
|
|
481
|
+
return tailwindMerge(classList);
|
|
482
|
+
}
|
|
483
|
+
function tailwindMerge(classList) {
|
|
484
|
+
const cachedResult = cacheGet(classList);
|
|
485
|
+
if (cachedResult) {
|
|
486
|
+
return cachedResult;
|
|
487
|
+
}
|
|
488
|
+
const result = mergeClassList(classList, configUtils);
|
|
489
|
+
cacheSet(classList, result);
|
|
490
|
+
return result;
|
|
491
|
+
}
|
|
492
|
+
return function callTailwindMerge() {
|
|
493
|
+
return functionToCall(twJoin.apply(null, arguments));
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
var fromTheme = (key) => {
|
|
497
|
+
const themeGetter = (theme) => theme[key] || [];
|
|
498
|
+
themeGetter.isThemeGetter = true;
|
|
499
|
+
return themeGetter;
|
|
500
|
+
};
|
|
501
|
+
var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
502
|
+
var fractionRegex = /^\d+\/\d+$/;
|
|
503
|
+
var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
504
|
+
var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
505
|
+
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$/;
|
|
506
|
+
var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
507
|
+
var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
508
|
+
var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
509
|
+
var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
510
|
+
var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
|
|
511
|
+
var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
|
|
512
|
+
var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
|
|
513
|
+
var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
|
|
514
|
+
var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
515
|
+
var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
516
|
+
var isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
|
517
|
+
var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
518
|
+
var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
|
|
519
|
+
var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
|
|
520
|
+
var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
|
521
|
+
var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
|
|
522
|
+
var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
|
|
523
|
+
var isAny = () => true;
|
|
524
|
+
var getIsArbitraryValue = (value, label, testValue) => {
|
|
525
|
+
const result = arbitraryValueRegex.exec(value);
|
|
526
|
+
if (result) {
|
|
527
|
+
if (result[1]) {
|
|
528
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
|
529
|
+
}
|
|
530
|
+
return testValue(result[2]);
|
|
531
|
+
}
|
|
532
|
+
return false;
|
|
533
|
+
};
|
|
534
|
+
var isLengthOnly = (value) => (
|
|
535
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
536
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
537
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
538
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
|
|
539
|
+
);
|
|
540
|
+
var isNever = () => false;
|
|
541
|
+
var isShadow = (value) => shadowRegex.test(value);
|
|
542
|
+
var isImage = (value) => imageRegex.test(value);
|
|
543
|
+
var getDefaultConfig = () => {
|
|
544
|
+
const colors = fromTheme("colors");
|
|
545
|
+
const spacing = fromTheme("spacing");
|
|
546
|
+
const blur = fromTheme("blur");
|
|
547
|
+
const brightness = fromTheme("brightness");
|
|
548
|
+
const borderColor = fromTheme("borderColor");
|
|
549
|
+
const borderRadius = fromTheme("borderRadius");
|
|
550
|
+
const borderSpacing = fromTheme("borderSpacing");
|
|
551
|
+
const borderWidth = fromTheme("borderWidth");
|
|
552
|
+
const contrast = fromTheme("contrast");
|
|
553
|
+
const grayscale = fromTheme("grayscale");
|
|
554
|
+
const hueRotate = fromTheme("hueRotate");
|
|
555
|
+
const invert = fromTheme("invert");
|
|
556
|
+
const gap = fromTheme("gap");
|
|
557
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
|
558
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
|
559
|
+
const inset = fromTheme("inset");
|
|
560
|
+
const margin = fromTheme("margin");
|
|
561
|
+
const opacity = fromTheme("opacity");
|
|
562
|
+
const padding = fromTheme("padding");
|
|
563
|
+
const saturate = fromTheme("saturate");
|
|
564
|
+
const scale = fromTheme("scale");
|
|
565
|
+
const sepia = fromTheme("sepia");
|
|
566
|
+
const skew = fromTheme("skew");
|
|
567
|
+
const space = fromTheme("space");
|
|
568
|
+
const translate = fromTheme("translate");
|
|
569
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
|
570
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
571
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
|
572
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
|
573
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
|
574
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
575
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
576
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
577
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
578
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
579
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
580
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
581
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
|
582
|
+
return {
|
|
583
|
+
cacheSize: 500,
|
|
584
|
+
separator: ":",
|
|
585
|
+
theme: {
|
|
586
|
+
colors: [isAny],
|
|
587
|
+
spacing: [isLength, isArbitraryLength],
|
|
588
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
589
|
+
brightness: getNumberAndArbitrary(),
|
|
590
|
+
borderColor: [colors],
|
|
591
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
592
|
+
borderSpacing: getSpacingWithArbitrary(),
|
|
593
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
|
594
|
+
contrast: getNumberAndArbitrary(),
|
|
595
|
+
grayscale: getZeroAndEmpty(),
|
|
596
|
+
hueRotate: getNumberAndArbitrary(),
|
|
597
|
+
invert: getZeroAndEmpty(),
|
|
598
|
+
gap: getSpacingWithArbitrary(),
|
|
599
|
+
gradientColorStops: [colors],
|
|
600
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
601
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
|
602
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
|
603
|
+
opacity: getNumberAndArbitrary(),
|
|
604
|
+
padding: getSpacingWithArbitrary(),
|
|
605
|
+
saturate: getNumberAndArbitrary(),
|
|
606
|
+
scale: getNumberAndArbitrary(),
|
|
607
|
+
sepia: getZeroAndEmpty(),
|
|
608
|
+
skew: getNumberAndArbitrary(),
|
|
609
|
+
space: getSpacingWithArbitrary(),
|
|
610
|
+
translate: getSpacingWithArbitrary()
|
|
611
|
+
},
|
|
612
|
+
classGroups: {
|
|
613
|
+
// Layout
|
|
614
|
+
/**
|
|
615
|
+
* Aspect Ratio
|
|
616
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
617
|
+
*/
|
|
618
|
+
aspect: [{
|
|
619
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
|
620
|
+
}],
|
|
621
|
+
/**
|
|
622
|
+
* Container
|
|
623
|
+
* @see https://tailwindcss.com/docs/container
|
|
624
|
+
*/
|
|
625
|
+
container: ["container"],
|
|
626
|
+
/**
|
|
627
|
+
* Columns
|
|
628
|
+
* @see https://tailwindcss.com/docs/columns
|
|
629
|
+
*/
|
|
630
|
+
columns: [{
|
|
631
|
+
columns: [isTshirtSize]
|
|
632
|
+
}],
|
|
633
|
+
/**
|
|
634
|
+
* Break After
|
|
635
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
636
|
+
*/
|
|
637
|
+
"break-after": [{
|
|
638
|
+
"break-after": getBreaks()
|
|
639
|
+
}],
|
|
640
|
+
/**
|
|
641
|
+
* Break Before
|
|
642
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
643
|
+
*/
|
|
644
|
+
"break-before": [{
|
|
645
|
+
"break-before": getBreaks()
|
|
646
|
+
}],
|
|
647
|
+
/**
|
|
648
|
+
* Break Inside
|
|
649
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
650
|
+
*/
|
|
651
|
+
"break-inside": [{
|
|
652
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
653
|
+
}],
|
|
654
|
+
/**
|
|
655
|
+
* Box Decoration Break
|
|
656
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
657
|
+
*/
|
|
658
|
+
"box-decoration": [{
|
|
659
|
+
"box-decoration": ["slice", "clone"]
|
|
660
|
+
}],
|
|
661
|
+
/**
|
|
662
|
+
* Box Sizing
|
|
663
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
664
|
+
*/
|
|
665
|
+
box: [{
|
|
666
|
+
box: ["border", "content"]
|
|
667
|
+
}],
|
|
668
|
+
/**
|
|
669
|
+
* Display
|
|
670
|
+
* @see https://tailwindcss.com/docs/display
|
|
671
|
+
*/
|
|
672
|
+
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"],
|
|
673
|
+
/**
|
|
674
|
+
* Floats
|
|
675
|
+
* @see https://tailwindcss.com/docs/float
|
|
676
|
+
*/
|
|
677
|
+
float: [{
|
|
678
|
+
float: ["right", "left", "none", "start", "end"]
|
|
679
|
+
}],
|
|
680
|
+
/**
|
|
681
|
+
* Clear
|
|
682
|
+
* @see https://tailwindcss.com/docs/clear
|
|
683
|
+
*/
|
|
684
|
+
clear: [{
|
|
685
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
686
|
+
}],
|
|
687
|
+
/**
|
|
688
|
+
* Isolation
|
|
689
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
690
|
+
*/
|
|
691
|
+
isolation: ["isolate", "isolation-auto"],
|
|
692
|
+
/**
|
|
693
|
+
* Object Fit
|
|
694
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
695
|
+
*/
|
|
696
|
+
"object-fit": [{
|
|
697
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
698
|
+
}],
|
|
699
|
+
/**
|
|
700
|
+
* Object Position
|
|
701
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
702
|
+
*/
|
|
703
|
+
"object-position": [{
|
|
704
|
+
object: [...getPositions(), isArbitraryValue]
|
|
705
|
+
}],
|
|
706
|
+
/**
|
|
707
|
+
* Overflow
|
|
708
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
709
|
+
*/
|
|
710
|
+
overflow: [{
|
|
711
|
+
overflow: getOverflow()
|
|
712
|
+
}],
|
|
713
|
+
/**
|
|
714
|
+
* Overflow X
|
|
715
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
716
|
+
*/
|
|
717
|
+
"overflow-x": [{
|
|
718
|
+
"overflow-x": getOverflow()
|
|
719
|
+
}],
|
|
720
|
+
/**
|
|
721
|
+
* Overflow Y
|
|
722
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
723
|
+
*/
|
|
724
|
+
"overflow-y": [{
|
|
725
|
+
"overflow-y": getOverflow()
|
|
726
|
+
}],
|
|
727
|
+
/**
|
|
728
|
+
* Overscroll Behavior
|
|
729
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
730
|
+
*/
|
|
731
|
+
overscroll: [{
|
|
732
|
+
overscroll: getOverscroll()
|
|
733
|
+
}],
|
|
734
|
+
/**
|
|
735
|
+
* Overscroll Behavior X
|
|
736
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
737
|
+
*/
|
|
738
|
+
"overscroll-x": [{
|
|
739
|
+
"overscroll-x": getOverscroll()
|
|
740
|
+
}],
|
|
741
|
+
/**
|
|
742
|
+
* Overscroll Behavior Y
|
|
743
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
744
|
+
*/
|
|
745
|
+
"overscroll-y": [{
|
|
746
|
+
"overscroll-y": getOverscroll()
|
|
747
|
+
}],
|
|
748
|
+
/**
|
|
749
|
+
* Position
|
|
750
|
+
* @see https://tailwindcss.com/docs/position
|
|
751
|
+
*/
|
|
752
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
753
|
+
/**
|
|
754
|
+
* Top / Right / Bottom / Left
|
|
755
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
756
|
+
*/
|
|
757
|
+
inset: [{
|
|
758
|
+
inset: [inset]
|
|
759
|
+
}],
|
|
760
|
+
/**
|
|
761
|
+
* Right / Left
|
|
762
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
763
|
+
*/
|
|
764
|
+
"inset-x": [{
|
|
765
|
+
"inset-x": [inset]
|
|
766
|
+
}],
|
|
767
|
+
/**
|
|
768
|
+
* Top / Bottom
|
|
769
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
770
|
+
*/
|
|
771
|
+
"inset-y": [{
|
|
772
|
+
"inset-y": [inset]
|
|
773
|
+
}],
|
|
774
|
+
/**
|
|
775
|
+
* Start
|
|
776
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
777
|
+
*/
|
|
778
|
+
start: [{
|
|
779
|
+
start: [inset]
|
|
780
|
+
}],
|
|
781
|
+
/**
|
|
782
|
+
* End
|
|
783
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
784
|
+
*/
|
|
785
|
+
end: [{
|
|
786
|
+
end: [inset]
|
|
787
|
+
}],
|
|
788
|
+
/**
|
|
789
|
+
* Top
|
|
790
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
791
|
+
*/
|
|
792
|
+
top: [{
|
|
793
|
+
top: [inset]
|
|
794
|
+
}],
|
|
795
|
+
/**
|
|
796
|
+
* Right
|
|
797
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
798
|
+
*/
|
|
799
|
+
right: [{
|
|
800
|
+
right: [inset]
|
|
801
|
+
}],
|
|
802
|
+
/**
|
|
803
|
+
* Bottom
|
|
804
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
805
|
+
*/
|
|
806
|
+
bottom: [{
|
|
807
|
+
bottom: [inset]
|
|
808
|
+
}],
|
|
809
|
+
/**
|
|
810
|
+
* Left
|
|
811
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
812
|
+
*/
|
|
813
|
+
left: [{
|
|
814
|
+
left: [inset]
|
|
815
|
+
}],
|
|
816
|
+
/**
|
|
817
|
+
* Visibility
|
|
818
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
819
|
+
*/
|
|
820
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
821
|
+
/**
|
|
822
|
+
* Z-Index
|
|
823
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
824
|
+
*/
|
|
825
|
+
z: [{
|
|
826
|
+
z: ["auto", isInteger, isArbitraryValue]
|
|
827
|
+
}],
|
|
828
|
+
// Flexbox and Grid
|
|
829
|
+
/**
|
|
830
|
+
* Flex Basis
|
|
831
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
832
|
+
*/
|
|
833
|
+
basis: [{
|
|
834
|
+
basis: getSpacingWithAutoAndArbitrary()
|
|
835
|
+
}],
|
|
836
|
+
/**
|
|
837
|
+
* Flex Direction
|
|
838
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
839
|
+
*/
|
|
840
|
+
"flex-direction": [{
|
|
841
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
842
|
+
}],
|
|
843
|
+
/**
|
|
844
|
+
* Flex Wrap
|
|
845
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
846
|
+
*/
|
|
847
|
+
"flex-wrap": [{
|
|
848
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
849
|
+
}],
|
|
850
|
+
/**
|
|
851
|
+
* Flex
|
|
852
|
+
* @see https://tailwindcss.com/docs/flex
|
|
853
|
+
*/
|
|
854
|
+
flex: [{
|
|
855
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
|
856
|
+
}],
|
|
857
|
+
/**
|
|
858
|
+
* Flex Grow
|
|
859
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
860
|
+
*/
|
|
861
|
+
grow: [{
|
|
862
|
+
grow: getZeroAndEmpty()
|
|
863
|
+
}],
|
|
864
|
+
/**
|
|
865
|
+
* Flex Shrink
|
|
866
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
867
|
+
*/
|
|
868
|
+
shrink: [{
|
|
869
|
+
shrink: getZeroAndEmpty()
|
|
870
|
+
}],
|
|
871
|
+
/**
|
|
872
|
+
* Order
|
|
873
|
+
* @see https://tailwindcss.com/docs/order
|
|
874
|
+
*/
|
|
875
|
+
order: [{
|
|
876
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
|
877
|
+
}],
|
|
878
|
+
/**
|
|
879
|
+
* Grid Template Columns
|
|
880
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
881
|
+
*/
|
|
882
|
+
"grid-cols": [{
|
|
883
|
+
"grid-cols": [isAny]
|
|
884
|
+
}],
|
|
885
|
+
/**
|
|
886
|
+
* Grid Column Start / End
|
|
887
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
888
|
+
*/
|
|
889
|
+
"col-start-end": [{
|
|
890
|
+
col: ["auto", {
|
|
891
|
+
span: ["full", isInteger, isArbitraryValue]
|
|
892
|
+
}, isArbitraryValue]
|
|
893
|
+
}],
|
|
894
|
+
/**
|
|
895
|
+
* Grid Column Start
|
|
896
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
897
|
+
*/
|
|
898
|
+
"col-start": [{
|
|
899
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
|
900
|
+
}],
|
|
901
|
+
/**
|
|
902
|
+
* Grid Column End
|
|
903
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
904
|
+
*/
|
|
905
|
+
"col-end": [{
|
|
906
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
|
907
|
+
}],
|
|
908
|
+
/**
|
|
909
|
+
* Grid Template Rows
|
|
910
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
911
|
+
*/
|
|
912
|
+
"grid-rows": [{
|
|
913
|
+
"grid-rows": [isAny]
|
|
914
|
+
}],
|
|
915
|
+
/**
|
|
916
|
+
* Grid Row Start / End
|
|
917
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
918
|
+
*/
|
|
919
|
+
"row-start-end": [{
|
|
920
|
+
row: ["auto", {
|
|
921
|
+
span: [isInteger, isArbitraryValue]
|
|
922
|
+
}, isArbitraryValue]
|
|
923
|
+
}],
|
|
924
|
+
/**
|
|
925
|
+
* Grid Row Start
|
|
926
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
927
|
+
*/
|
|
928
|
+
"row-start": [{
|
|
929
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
|
930
|
+
}],
|
|
931
|
+
/**
|
|
932
|
+
* Grid Row End
|
|
933
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
934
|
+
*/
|
|
935
|
+
"row-end": [{
|
|
936
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
|
937
|
+
}],
|
|
938
|
+
/**
|
|
939
|
+
* Grid Auto Flow
|
|
940
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
941
|
+
*/
|
|
942
|
+
"grid-flow": [{
|
|
943
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
944
|
+
}],
|
|
945
|
+
/**
|
|
946
|
+
* Grid Auto Columns
|
|
947
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
948
|
+
*/
|
|
949
|
+
"auto-cols": [{
|
|
950
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
951
|
+
}],
|
|
952
|
+
/**
|
|
953
|
+
* Grid Auto Rows
|
|
954
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
955
|
+
*/
|
|
956
|
+
"auto-rows": [{
|
|
957
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
958
|
+
}],
|
|
959
|
+
/**
|
|
960
|
+
* Gap
|
|
961
|
+
* @see https://tailwindcss.com/docs/gap
|
|
962
|
+
*/
|
|
963
|
+
gap: [{
|
|
964
|
+
gap: [gap]
|
|
965
|
+
}],
|
|
966
|
+
/**
|
|
967
|
+
* Gap X
|
|
968
|
+
* @see https://tailwindcss.com/docs/gap
|
|
969
|
+
*/
|
|
970
|
+
"gap-x": [{
|
|
971
|
+
"gap-x": [gap]
|
|
972
|
+
}],
|
|
973
|
+
/**
|
|
974
|
+
* Gap Y
|
|
975
|
+
* @see https://tailwindcss.com/docs/gap
|
|
976
|
+
*/
|
|
977
|
+
"gap-y": [{
|
|
978
|
+
"gap-y": [gap]
|
|
979
|
+
}],
|
|
980
|
+
/**
|
|
981
|
+
* Justify Content
|
|
982
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
983
|
+
*/
|
|
984
|
+
"justify-content": [{
|
|
985
|
+
justify: ["normal", ...getAlign()]
|
|
986
|
+
}],
|
|
987
|
+
/**
|
|
988
|
+
* Justify Items
|
|
989
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
990
|
+
*/
|
|
991
|
+
"justify-items": [{
|
|
992
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
993
|
+
}],
|
|
994
|
+
/**
|
|
995
|
+
* Justify Self
|
|
996
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
997
|
+
*/
|
|
998
|
+
"justify-self": [{
|
|
999
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
1000
|
+
}],
|
|
1001
|
+
/**
|
|
1002
|
+
* Align Content
|
|
1003
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1004
|
+
*/
|
|
1005
|
+
"align-content": [{
|
|
1006
|
+
content: ["normal", ...getAlign(), "baseline"]
|
|
1007
|
+
}],
|
|
1008
|
+
/**
|
|
1009
|
+
* Align Items
|
|
1010
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1011
|
+
*/
|
|
1012
|
+
"align-items": [{
|
|
1013
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
1014
|
+
}],
|
|
1015
|
+
/**
|
|
1016
|
+
* Align Self
|
|
1017
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1018
|
+
*/
|
|
1019
|
+
"align-self": [{
|
|
1020
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
1021
|
+
}],
|
|
1022
|
+
/**
|
|
1023
|
+
* Place Content
|
|
1024
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1025
|
+
*/
|
|
1026
|
+
"place-content": [{
|
|
1027
|
+
"place-content": [...getAlign(), "baseline"]
|
|
1028
|
+
}],
|
|
1029
|
+
/**
|
|
1030
|
+
* Place Items
|
|
1031
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1032
|
+
*/
|
|
1033
|
+
"place-items": [{
|
|
1034
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
1035
|
+
}],
|
|
1036
|
+
/**
|
|
1037
|
+
* Place Self
|
|
1038
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1039
|
+
*/
|
|
1040
|
+
"place-self": [{
|
|
1041
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
1042
|
+
}],
|
|
1043
|
+
// Spacing
|
|
1044
|
+
/**
|
|
1045
|
+
* Padding
|
|
1046
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1047
|
+
*/
|
|
1048
|
+
p: [{
|
|
1049
|
+
p: [padding]
|
|
1050
|
+
}],
|
|
1051
|
+
/**
|
|
1052
|
+
* Padding X
|
|
1053
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1054
|
+
*/
|
|
1055
|
+
px: [{
|
|
1056
|
+
px: [padding]
|
|
1057
|
+
}],
|
|
1058
|
+
/**
|
|
1059
|
+
* Padding Y
|
|
1060
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1061
|
+
*/
|
|
1062
|
+
py: [{
|
|
1063
|
+
py: [padding]
|
|
1064
|
+
}],
|
|
1065
|
+
/**
|
|
1066
|
+
* Padding Start
|
|
1067
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1068
|
+
*/
|
|
1069
|
+
ps: [{
|
|
1070
|
+
ps: [padding]
|
|
1071
|
+
}],
|
|
1072
|
+
/**
|
|
1073
|
+
* Padding End
|
|
1074
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1075
|
+
*/
|
|
1076
|
+
pe: [{
|
|
1077
|
+
pe: [padding]
|
|
1078
|
+
}],
|
|
1079
|
+
/**
|
|
1080
|
+
* Padding Top
|
|
1081
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1082
|
+
*/
|
|
1083
|
+
pt: [{
|
|
1084
|
+
pt: [padding]
|
|
1085
|
+
}],
|
|
1086
|
+
/**
|
|
1087
|
+
* Padding Right
|
|
1088
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1089
|
+
*/
|
|
1090
|
+
pr: [{
|
|
1091
|
+
pr: [padding]
|
|
1092
|
+
}],
|
|
1093
|
+
/**
|
|
1094
|
+
* Padding Bottom
|
|
1095
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1096
|
+
*/
|
|
1097
|
+
pb: [{
|
|
1098
|
+
pb: [padding]
|
|
1099
|
+
}],
|
|
1100
|
+
/**
|
|
1101
|
+
* Padding Left
|
|
1102
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1103
|
+
*/
|
|
1104
|
+
pl: [{
|
|
1105
|
+
pl: [padding]
|
|
1106
|
+
}],
|
|
1107
|
+
/**
|
|
1108
|
+
* Margin
|
|
1109
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1110
|
+
*/
|
|
1111
|
+
m: [{
|
|
1112
|
+
m: [margin]
|
|
1113
|
+
}],
|
|
1114
|
+
/**
|
|
1115
|
+
* Margin X
|
|
1116
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1117
|
+
*/
|
|
1118
|
+
mx: [{
|
|
1119
|
+
mx: [margin]
|
|
1120
|
+
}],
|
|
1121
|
+
/**
|
|
1122
|
+
* Margin Y
|
|
1123
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1124
|
+
*/
|
|
1125
|
+
my: [{
|
|
1126
|
+
my: [margin]
|
|
1127
|
+
}],
|
|
1128
|
+
/**
|
|
1129
|
+
* Margin Start
|
|
1130
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1131
|
+
*/
|
|
1132
|
+
ms: [{
|
|
1133
|
+
ms: [margin]
|
|
1134
|
+
}],
|
|
1135
|
+
/**
|
|
1136
|
+
* Margin End
|
|
1137
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1138
|
+
*/
|
|
1139
|
+
me: [{
|
|
1140
|
+
me: [margin]
|
|
1141
|
+
}],
|
|
1142
|
+
/**
|
|
1143
|
+
* Margin Top
|
|
1144
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1145
|
+
*/
|
|
1146
|
+
mt: [{
|
|
1147
|
+
mt: [margin]
|
|
1148
|
+
}],
|
|
1149
|
+
/**
|
|
1150
|
+
* Margin Right
|
|
1151
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1152
|
+
*/
|
|
1153
|
+
mr: [{
|
|
1154
|
+
mr: [margin]
|
|
1155
|
+
}],
|
|
1156
|
+
/**
|
|
1157
|
+
* Margin Bottom
|
|
1158
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1159
|
+
*/
|
|
1160
|
+
mb: [{
|
|
1161
|
+
mb: [margin]
|
|
1162
|
+
}],
|
|
1163
|
+
/**
|
|
1164
|
+
* Margin Left
|
|
1165
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1166
|
+
*/
|
|
1167
|
+
ml: [{
|
|
1168
|
+
ml: [margin]
|
|
1169
|
+
}],
|
|
1170
|
+
/**
|
|
1171
|
+
* Space Between X
|
|
1172
|
+
* @see https://tailwindcss.com/docs/space
|
|
1173
|
+
*/
|
|
1174
|
+
"space-x": [{
|
|
1175
|
+
"space-x": [space]
|
|
1176
|
+
}],
|
|
1177
|
+
/**
|
|
1178
|
+
* Space Between X Reverse
|
|
1179
|
+
* @see https://tailwindcss.com/docs/space
|
|
1180
|
+
*/
|
|
1181
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1182
|
+
/**
|
|
1183
|
+
* Space Between Y
|
|
1184
|
+
* @see https://tailwindcss.com/docs/space
|
|
1185
|
+
*/
|
|
1186
|
+
"space-y": [{
|
|
1187
|
+
"space-y": [space]
|
|
1188
|
+
}],
|
|
1189
|
+
/**
|
|
1190
|
+
* Space Between Y Reverse
|
|
1191
|
+
* @see https://tailwindcss.com/docs/space
|
|
1192
|
+
*/
|
|
1193
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1194
|
+
// Sizing
|
|
1195
|
+
/**
|
|
1196
|
+
* Width
|
|
1197
|
+
* @see https://tailwindcss.com/docs/width
|
|
1198
|
+
*/
|
|
1199
|
+
w: [{
|
|
1200
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
|
|
1201
|
+
}],
|
|
1202
|
+
/**
|
|
1203
|
+
* Min-Width
|
|
1204
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1205
|
+
*/
|
|
1206
|
+
"min-w": [{
|
|
1207
|
+
"min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
|
|
1208
|
+
}],
|
|
1209
|
+
/**
|
|
1210
|
+
* Max-Width
|
|
1211
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1212
|
+
*/
|
|
1213
|
+
"max-w": [{
|
|
1214
|
+
"max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
|
|
1215
|
+
screen: [isTshirtSize]
|
|
1216
|
+
}, isTshirtSize]
|
|
1217
|
+
}],
|
|
1218
|
+
/**
|
|
1219
|
+
* Height
|
|
1220
|
+
* @see https://tailwindcss.com/docs/height
|
|
1221
|
+
*/
|
|
1222
|
+
h: [{
|
|
1223
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1224
|
+
}],
|
|
1225
|
+
/**
|
|
1226
|
+
* Min-Height
|
|
1227
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1228
|
+
*/
|
|
1229
|
+
"min-h": [{
|
|
1230
|
+
"min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1231
|
+
}],
|
|
1232
|
+
/**
|
|
1233
|
+
* Max-Height
|
|
1234
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1235
|
+
*/
|
|
1236
|
+
"max-h": [{
|
|
1237
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1238
|
+
}],
|
|
1239
|
+
/**
|
|
1240
|
+
* Size
|
|
1241
|
+
* @see https://tailwindcss.com/docs/size
|
|
1242
|
+
*/
|
|
1243
|
+
size: [{
|
|
1244
|
+
size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
|
1245
|
+
}],
|
|
1246
|
+
// Typography
|
|
1247
|
+
/**
|
|
1248
|
+
* Font Size
|
|
1249
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1250
|
+
*/
|
|
1251
|
+
"font-size": [{
|
|
1252
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
|
1253
|
+
}],
|
|
1254
|
+
/**
|
|
1255
|
+
* Font Smoothing
|
|
1256
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1257
|
+
*/
|
|
1258
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1259
|
+
/**
|
|
1260
|
+
* Font Style
|
|
1261
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1262
|
+
*/
|
|
1263
|
+
"font-style": ["italic", "not-italic"],
|
|
1264
|
+
/**
|
|
1265
|
+
* Font Weight
|
|
1266
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1267
|
+
*/
|
|
1268
|
+
"font-weight": [{
|
|
1269
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
|
1270
|
+
}],
|
|
1271
|
+
/**
|
|
1272
|
+
* Font Family
|
|
1273
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1274
|
+
*/
|
|
1275
|
+
"font-family": [{
|
|
1276
|
+
font: [isAny]
|
|
1277
|
+
}],
|
|
1278
|
+
/**
|
|
1279
|
+
* Font Variant Numeric
|
|
1280
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1281
|
+
*/
|
|
1282
|
+
"fvn-normal": ["normal-nums"],
|
|
1283
|
+
/**
|
|
1284
|
+
* Font Variant Numeric
|
|
1285
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1286
|
+
*/
|
|
1287
|
+
"fvn-ordinal": ["ordinal"],
|
|
1288
|
+
/**
|
|
1289
|
+
* Font Variant Numeric
|
|
1290
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1291
|
+
*/
|
|
1292
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1293
|
+
/**
|
|
1294
|
+
* Font Variant Numeric
|
|
1295
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1296
|
+
*/
|
|
1297
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1298
|
+
/**
|
|
1299
|
+
* Font Variant Numeric
|
|
1300
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1301
|
+
*/
|
|
1302
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1303
|
+
/**
|
|
1304
|
+
* Font Variant Numeric
|
|
1305
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1306
|
+
*/
|
|
1307
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1308
|
+
/**
|
|
1309
|
+
* Letter Spacing
|
|
1310
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1311
|
+
*/
|
|
1312
|
+
tracking: [{
|
|
1313
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
|
1314
|
+
}],
|
|
1315
|
+
/**
|
|
1316
|
+
* Line Clamp
|
|
1317
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1318
|
+
*/
|
|
1319
|
+
"line-clamp": [{
|
|
1320
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
|
1321
|
+
}],
|
|
1322
|
+
/**
|
|
1323
|
+
* Line Height
|
|
1324
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1325
|
+
*/
|
|
1326
|
+
leading: [{
|
|
1327
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
|
1328
|
+
}],
|
|
1329
|
+
/**
|
|
1330
|
+
* List Style Image
|
|
1331
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1332
|
+
*/
|
|
1333
|
+
"list-image": [{
|
|
1334
|
+
"list-image": ["none", isArbitraryValue]
|
|
1335
|
+
}],
|
|
1336
|
+
/**
|
|
1337
|
+
* List Style Type
|
|
1338
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1339
|
+
*/
|
|
1340
|
+
"list-style-type": [{
|
|
1341
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
|
1342
|
+
}],
|
|
1343
|
+
/**
|
|
1344
|
+
* List Style Position
|
|
1345
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1346
|
+
*/
|
|
1347
|
+
"list-style-position": [{
|
|
1348
|
+
list: ["inside", "outside"]
|
|
1349
|
+
}],
|
|
1350
|
+
/**
|
|
1351
|
+
* Placeholder Color
|
|
1352
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1353
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1354
|
+
*/
|
|
1355
|
+
"placeholder-color": [{
|
|
1356
|
+
placeholder: [colors]
|
|
1357
|
+
}],
|
|
1358
|
+
/**
|
|
1359
|
+
* Placeholder Opacity
|
|
1360
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1361
|
+
*/
|
|
1362
|
+
"placeholder-opacity": [{
|
|
1363
|
+
"placeholder-opacity": [opacity]
|
|
1364
|
+
}],
|
|
1365
|
+
/**
|
|
1366
|
+
* Text Alignment
|
|
1367
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1368
|
+
*/
|
|
1369
|
+
"text-alignment": [{
|
|
1370
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1371
|
+
}],
|
|
1372
|
+
/**
|
|
1373
|
+
* Text Color
|
|
1374
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1375
|
+
*/
|
|
1376
|
+
"text-color": [{
|
|
1377
|
+
text: [colors]
|
|
1378
|
+
}],
|
|
1379
|
+
/**
|
|
1380
|
+
* Text Opacity
|
|
1381
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
1382
|
+
*/
|
|
1383
|
+
"text-opacity": [{
|
|
1384
|
+
"text-opacity": [opacity]
|
|
1385
|
+
}],
|
|
1386
|
+
/**
|
|
1387
|
+
* Text Decoration
|
|
1388
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1389
|
+
*/
|
|
1390
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1391
|
+
/**
|
|
1392
|
+
* Text Decoration Style
|
|
1393
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1394
|
+
*/
|
|
1395
|
+
"text-decoration-style": [{
|
|
1396
|
+
decoration: [...getLineStyles(), "wavy"]
|
|
1397
|
+
}],
|
|
1398
|
+
/**
|
|
1399
|
+
* Text Decoration Thickness
|
|
1400
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1401
|
+
*/
|
|
1402
|
+
"text-decoration-thickness": [{
|
|
1403
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
|
1404
|
+
}],
|
|
1405
|
+
/**
|
|
1406
|
+
* Text Underline Offset
|
|
1407
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1408
|
+
*/
|
|
1409
|
+
"underline-offset": [{
|
|
1410
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
|
1411
|
+
}],
|
|
1412
|
+
/**
|
|
1413
|
+
* Text Decoration Color
|
|
1414
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1415
|
+
*/
|
|
1416
|
+
"text-decoration-color": [{
|
|
1417
|
+
decoration: [colors]
|
|
1418
|
+
}],
|
|
1419
|
+
/**
|
|
1420
|
+
* Text Transform
|
|
1421
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1422
|
+
*/
|
|
1423
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1424
|
+
/**
|
|
1425
|
+
* Text Overflow
|
|
1426
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1427
|
+
*/
|
|
1428
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1429
|
+
/**
|
|
1430
|
+
* Text Wrap
|
|
1431
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1432
|
+
*/
|
|
1433
|
+
"text-wrap": [{
|
|
1434
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
1435
|
+
}],
|
|
1436
|
+
/**
|
|
1437
|
+
* Text Indent
|
|
1438
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1439
|
+
*/
|
|
1440
|
+
indent: [{
|
|
1441
|
+
indent: getSpacingWithArbitrary()
|
|
1442
|
+
}],
|
|
1443
|
+
/**
|
|
1444
|
+
* Vertical Alignment
|
|
1445
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1446
|
+
*/
|
|
1447
|
+
"vertical-align": [{
|
|
1448
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
|
1449
|
+
}],
|
|
1450
|
+
/**
|
|
1451
|
+
* Whitespace
|
|
1452
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1453
|
+
*/
|
|
1454
|
+
whitespace: [{
|
|
1455
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1456
|
+
}],
|
|
1457
|
+
/**
|
|
1458
|
+
* Word Break
|
|
1459
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1460
|
+
*/
|
|
1461
|
+
break: [{
|
|
1462
|
+
break: ["normal", "words", "all", "keep"]
|
|
1463
|
+
}],
|
|
1464
|
+
/**
|
|
1465
|
+
* Hyphens
|
|
1466
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1467
|
+
*/
|
|
1468
|
+
hyphens: [{
|
|
1469
|
+
hyphens: ["none", "manual", "auto"]
|
|
1470
|
+
}],
|
|
1471
|
+
/**
|
|
1472
|
+
* Content
|
|
1473
|
+
* @see https://tailwindcss.com/docs/content
|
|
1474
|
+
*/
|
|
1475
|
+
content: [{
|
|
1476
|
+
content: ["none", isArbitraryValue]
|
|
1477
|
+
}],
|
|
1478
|
+
// Backgrounds
|
|
1479
|
+
/**
|
|
1480
|
+
* Background Attachment
|
|
1481
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1482
|
+
*/
|
|
1483
|
+
"bg-attachment": [{
|
|
1484
|
+
bg: ["fixed", "local", "scroll"]
|
|
1485
|
+
}],
|
|
1486
|
+
/**
|
|
1487
|
+
* Background Clip
|
|
1488
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1489
|
+
*/
|
|
1490
|
+
"bg-clip": [{
|
|
1491
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
1492
|
+
}],
|
|
1493
|
+
/**
|
|
1494
|
+
* Background Opacity
|
|
1495
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1496
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
1497
|
+
*/
|
|
1498
|
+
"bg-opacity": [{
|
|
1499
|
+
"bg-opacity": [opacity]
|
|
1500
|
+
}],
|
|
1501
|
+
/**
|
|
1502
|
+
* Background Origin
|
|
1503
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1504
|
+
*/
|
|
1505
|
+
"bg-origin": [{
|
|
1506
|
+
"bg-origin": ["border", "padding", "content"]
|
|
1507
|
+
}],
|
|
1508
|
+
/**
|
|
1509
|
+
* Background Position
|
|
1510
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1511
|
+
*/
|
|
1512
|
+
"bg-position": [{
|
|
1513
|
+
bg: [...getPositions(), isArbitraryPosition]
|
|
1514
|
+
}],
|
|
1515
|
+
/**
|
|
1516
|
+
* Background Repeat
|
|
1517
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1518
|
+
*/
|
|
1519
|
+
"bg-repeat": [{
|
|
1520
|
+
bg: ["no-repeat", {
|
|
1521
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
1522
|
+
}]
|
|
1523
|
+
}],
|
|
1524
|
+
/**
|
|
1525
|
+
* Background Size
|
|
1526
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1527
|
+
*/
|
|
1528
|
+
"bg-size": [{
|
|
1529
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
|
1530
|
+
}],
|
|
1531
|
+
/**
|
|
1532
|
+
* Background Image
|
|
1533
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1534
|
+
*/
|
|
1535
|
+
"bg-image": [{
|
|
1536
|
+
bg: ["none", {
|
|
1537
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1538
|
+
}, isArbitraryImage]
|
|
1539
|
+
}],
|
|
1540
|
+
/**
|
|
1541
|
+
* Background Color
|
|
1542
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1543
|
+
*/
|
|
1544
|
+
"bg-color": [{
|
|
1545
|
+
bg: [colors]
|
|
1546
|
+
}],
|
|
1547
|
+
/**
|
|
1548
|
+
* Gradient Color Stops From Position
|
|
1549
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1550
|
+
*/
|
|
1551
|
+
"gradient-from-pos": [{
|
|
1552
|
+
from: [gradientColorStopPositions]
|
|
1553
|
+
}],
|
|
1554
|
+
/**
|
|
1555
|
+
* Gradient Color Stops Via Position
|
|
1556
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1557
|
+
*/
|
|
1558
|
+
"gradient-via-pos": [{
|
|
1559
|
+
via: [gradientColorStopPositions]
|
|
1560
|
+
}],
|
|
1561
|
+
/**
|
|
1562
|
+
* Gradient Color Stops To Position
|
|
1563
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1564
|
+
*/
|
|
1565
|
+
"gradient-to-pos": [{
|
|
1566
|
+
to: [gradientColorStopPositions]
|
|
1567
|
+
}],
|
|
1568
|
+
/**
|
|
1569
|
+
* Gradient Color Stops From
|
|
1570
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1571
|
+
*/
|
|
1572
|
+
"gradient-from": [{
|
|
1573
|
+
from: [gradientColorStops]
|
|
1574
|
+
}],
|
|
1575
|
+
/**
|
|
1576
|
+
* Gradient Color Stops Via
|
|
1577
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1578
|
+
*/
|
|
1579
|
+
"gradient-via": [{
|
|
1580
|
+
via: [gradientColorStops]
|
|
1581
|
+
}],
|
|
1582
|
+
/**
|
|
1583
|
+
* Gradient Color Stops To
|
|
1584
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1585
|
+
*/
|
|
1586
|
+
"gradient-to": [{
|
|
1587
|
+
to: [gradientColorStops]
|
|
1588
|
+
}],
|
|
1589
|
+
// Borders
|
|
1590
|
+
/**
|
|
1591
|
+
* Border Radius
|
|
1592
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1593
|
+
*/
|
|
1594
|
+
rounded: [{
|
|
1595
|
+
rounded: [borderRadius]
|
|
1596
|
+
}],
|
|
1597
|
+
/**
|
|
1598
|
+
* Border Radius Start
|
|
1599
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1600
|
+
*/
|
|
1601
|
+
"rounded-s": [{
|
|
1602
|
+
"rounded-s": [borderRadius]
|
|
1603
|
+
}],
|
|
1604
|
+
/**
|
|
1605
|
+
* Border Radius End
|
|
1606
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1607
|
+
*/
|
|
1608
|
+
"rounded-e": [{
|
|
1609
|
+
"rounded-e": [borderRadius]
|
|
1610
|
+
}],
|
|
1611
|
+
/**
|
|
1612
|
+
* Border Radius Top
|
|
1613
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1614
|
+
*/
|
|
1615
|
+
"rounded-t": [{
|
|
1616
|
+
"rounded-t": [borderRadius]
|
|
1617
|
+
}],
|
|
1618
|
+
/**
|
|
1619
|
+
* Border Radius Right
|
|
1620
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1621
|
+
*/
|
|
1622
|
+
"rounded-r": [{
|
|
1623
|
+
"rounded-r": [borderRadius]
|
|
1624
|
+
}],
|
|
1625
|
+
/**
|
|
1626
|
+
* Border Radius Bottom
|
|
1627
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1628
|
+
*/
|
|
1629
|
+
"rounded-b": [{
|
|
1630
|
+
"rounded-b": [borderRadius]
|
|
1631
|
+
}],
|
|
1632
|
+
/**
|
|
1633
|
+
* Border Radius Left
|
|
1634
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1635
|
+
*/
|
|
1636
|
+
"rounded-l": [{
|
|
1637
|
+
"rounded-l": [borderRadius]
|
|
1638
|
+
}],
|
|
1639
|
+
/**
|
|
1640
|
+
* Border Radius Start Start
|
|
1641
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1642
|
+
*/
|
|
1643
|
+
"rounded-ss": [{
|
|
1644
|
+
"rounded-ss": [borderRadius]
|
|
1645
|
+
}],
|
|
1646
|
+
/**
|
|
1647
|
+
* Border Radius Start End
|
|
1648
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1649
|
+
*/
|
|
1650
|
+
"rounded-se": [{
|
|
1651
|
+
"rounded-se": [borderRadius]
|
|
1652
|
+
}],
|
|
1653
|
+
/**
|
|
1654
|
+
* Border Radius End End
|
|
1655
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1656
|
+
*/
|
|
1657
|
+
"rounded-ee": [{
|
|
1658
|
+
"rounded-ee": [borderRadius]
|
|
1659
|
+
}],
|
|
1660
|
+
/**
|
|
1661
|
+
* Border Radius End Start
|
|
1662
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1663
|
+
*/
|
|
1664
|
+
"rounded-es": [{
|
|
1665
|
+
"rounded-es": [borderRadius]
|
|
1666
|
+
}],
|
|
1667
|
+
/**
|
|
1668
|
+
* Border Radius Top Left
|
|
1669
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1670
|
+
*/
|
|
1671
|
+
"rounded-tl": [{
|
|
1672
|
+
"rounded-tl": [borderRadius]
|
|
1673
|
+
}],
|
|
1674
|
+
/**
|
|
1675
|
+
* Border Radius Top Right
|
|
1676
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1677
|
+
*/
|
|
1678
|
+
"rounded-tr": [{
|
|
1679
|
+
"rounded-tr": [borderRadius]
|
|
1680
|
+
}],
|
|
1681
|
+
/**
|
|
1682
|
+
* Border Radius Bottom Right
|
|
1683
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1684
|
+
*/
|
|
1685
|
+
"rounded-br": [{
|
|
1686
|
+
"rounded-br": [borderRadius]
|
|
1687
|
+
}],
|
|
1688
|
+
/**
|
|
1689
|
+
* Border Radius Bottom Left
|
|
1690
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1691
|
+
*/
|
|
1692
|
+
"rounded-bl": [{
|
|
1693
|
+
"rounded-bl": [borderRadius]
|
|
1694
|
+
}],
|
|
1695
|
+
/**
|
|
1696
|
+
* Border Width
|
|
1697
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1698
|
+
*/
|
|
1699
|
+
"border-w": [{
|
|
1700
|
+
border: [borderWidth]
|
|
1701
|
+
}],
|
|
1702
|
+
/**
|
|
1703
|
+
* Border Width X
|
|
1704
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1705
|
+
*/
|
|
1706
|
+
"border-w-x": [{
|
|
1707
|
+
"border-x": [borderWidth]
|
|
1708
|
+
}],
|
|
1709
|
+
/**
|
|
1710
|
+
* Border Width Y
|
|
1711
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1712
|
+
*/
|
|
1713
|
+
"border-w-y": [{
|
|
1714
|
+
"border-y": [borderWidth]
|
|
1715
|
+
}],
|
|
1716
|
+
/**
|
|
1717
|
+
* Border Width Start
|
|
1718
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1719
|
+
*/
|
|
1720
|
+
"border-w-s": [{
|
|
1721
|
+
"border-s": [borderWidth]
|
|
1722
|
+
}],
|
|
1723
|
+
/**
|
|
1724
|
+
* Border Width End
|
|
1725
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1726
|
+
*/
|
|
1727
|
+
"border-w-e": [{
|
|
1728
|
+
"border-e": [borderWidth]
|
|
1729
|
+
}],
|
|
1730
|
+
/**
|
|
1731
|
+
* Border Width Top
|
|
1732
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1733
|
+
*/
|
|
1734
|
+
"border-w-t": [{
|
|
1735
|
+
"border-t": [borderWidth]
|
|
1736
|
+
}],
|
|
1737
|
+
/**
|
|
1738
|
+
* Border Width Right
|
|
1739
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1740
|
+
*/
|
|
1741
|
+
"border-w-r": [{
|
|
1742
|
+
"border-r": [borderWidth]
|
|
1743
|
+
}],
|
|
1744
|
+
/**
|
|
1745
|
+
* Border Width Bottom
|
|
1746
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1747
|
+
*/
|
|
1748
|
+
"border-w-b": [{
|
|
1749
|
+
"border-b": [borderWidth]
|
|
1750
|
+
}],
|
|
1751
|
+
/**
|
|
1752
|
+
* Border Width Left
|
|
1753
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1754
|
+
*/
|
|
1755
|
+
"border-w-l": [{
|
|
1756
|
+
"border-l": [borderWidth]
|
|
1757
|
+
}],
|
|
1758
|
+
/**
|
|
1759
|
+
* Border Opacity
|
|
1760
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
1761
|
+
*/
|
|
1762
|
+
"border-opacity": [{
|
|
1763
|
+
"border-opacity": [opacity]
|
|
1764
|
+
}],
|
|
1765
|
+
/**
|
|
1766
|
+
* Border Style
|
|
1767
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1768
|
+
*/
|
|
1769
|
+
"border-style": [{
|
|
1770
|
+
border: [...getLineStyles(), "hidden"]
|
|
1771
|
+
}],
|
|
1772
|
+
/**
|
|
1773
|
+
* Divide Width X
|
|
1774
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1775
|
+
*/
|
|
1776
|
+
"divide-x": [{
|
|
1777
|
+
"divide-x": [borderWidth]
|
|
1778
|
+
}],
|
|
1779
|
+
/**
|
|
1780
|
+
* Divide Width X Reverse
|
|
1781
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1782
|
+
*/
|
|
1783
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1784
|
+
/**
|
|
1785
|
+
* Divide Width Y
|
|
1786
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1787
|
+
*/
|
|
1788
|
+
"divide-y": [{
|
|
1789
|
+
"divide-y": [borderWidth]
|
|
1790
|
+
}],
|
|
1791
|
+
/**
|
|
1792
|
+
* Divide Width Y Reverse
|
|
1793
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1794
|
+
*/
|
|
1795
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1796
|
+
/**
|
|
1797
|
+
* Divide Opacity
|
|
1798
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1799
|
+
*/
|
|
1800
|
+
"divide-opacity": [{
|
|
1801
|
+
"divide-opacity": [opacity]
|
|
1802
|
+
}],
|
|
1803
|
+
/**
|
|
1804
|
+
* Divide Style
|
|
1805
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
1806
|
+
*/
|
|
1807
|
+
"divide-style": [{
|
|
1808
|
+
divide: getLineStyles()
|
|
1809
|
+
}],
|
|
1810
|
+
/**
|
|
1811
|
+
* Border Color
|
|
1812
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1813
|
+
*/
|
|
1814
|
+
"border-color": [{
|
|
1815
|
+
border: [borderColor]
|
|
1816
|
+
}],
|
|
1817
|
+
/**
|
|
1818
|
+
* Border Color X
|
|
1819
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1820
|
+
*/
|
|
1821
|
+
"border-color-x": [{
|
|
1822
|
+
"border-x": [borderColor]
|
|
1823
|
+
}],
|
|
1824
|
+
/**
|
|
1825
|
+
* Border Color Y
|
|
1826
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1827
|
+
*/
|
|
1828
|
+
"border-color-y": [{
|
|
1829
|
+
"border-y": [borderColor]
|
|
1830
|
+
}],
|
|
1831
|
+
/**
|
|
1832
|
+
* Border Color S
|
|
1833
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1834
|
+
*/
|
|
1835
|
+
"border-color-s": [{
|
|
1836
|
+
"border-s": [borderColor]
|
|
1837
|
+
}],
|
|
1838
|
+
/**
|
|
1839
|
+
* Border Color E
|
|
1840
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1841
|
+
*/
|
|
1842
|
+
"border-color-e": [{
|
|
1843
|
+
"border-e": [borderColor]
|
|
1844
|
+
}],
|
|
1845
|
+
/**
|
|
1846
|
+
* Border Color Top
|
|
1847
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1848
|
+
*/
|
|
1849
|
+
"border-color-t": [{
|
|
1850
|
+
"border-t": [borderColor]
|
|
1851
|
+
}],
|
|
1852
|
+
/**
|
|
1853
|
+
* Border Color Right
|
|
1854
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1855
|
+
*/
|
|
1856
|
+
"border-color-r": [{
|
|
1857
|
+
"border-r": [borderColor]
|
|
1858
|
+
}],
|
|
1859
|
+
/**
|
|
1860
|
+
* Border Color Bottom
|
|
1861
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1862
|
+
*/
|
|
1863
|
+
"border-color-b": [{
|
|
1864
|
+
"border-b": [borderColor]
|
|
1865
|
+
}],
|
|
1866
|
+
/**
|
|
1867
|
+
* Border Color Left
|
|
1868
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1869
|
+
*/
|
|
1870
|
+
"border-color-l": [{
|
|
1871
|
+
"border-l": [borderColor]
|
|
1872
|
+
}],
|
|
1873
|
+
/**
|
|
1874
|
+
* Divide Color
|
|
1875
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
1876
|
+
*/
|
|
1877
|
+
"divide-color": [{
|
|
1878
|
+
divide: [borderColor]
|
|
1879
|
+
}],
|
|
1880
|
+
/**
|
|
1881
|
+
* Outline Style
|
|
1882
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
1883
|
+
*/
|
|
1884
|
+
"outline-style": [{
|
|
1885
|
+
outline: ["", ...getLineStyles()]
|
|
1886
|
+
}],
|
|
1887
|
+
/**
|
|
1888
|
+
* Outline Offset
|
|
1889
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
1890
|
+
*/
|
|
1891
|
+
"outline-offset": [{
|
|
1892
|
+
"outline-offset": [isLength, isArbitraryValue]
|
|
1893
|
+
}],
|
|
1894
|
+
/**
|
|
1895
|
+
* Outline Width
|
|
1896
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
1897
|
+
*/
|
|
1898
|
+
"outline-w": [{
|
|
1899
|
+
outline: [isLength, isArbitraryLength]
|
|
1900
|
+
}],
|
|
1901
|
+
/**
|
|
1902
|
+
* Outline Color
|
|
1903
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
1904
|
+
*/
|
|
1905
|
+
"outline-color": [{
|
|
1906
|
+
outline: [colors]
|
|
1907
|
+
}],
|
|
1908
|
+
/**
|
|
1909
|
+
* Ring Width
|
|
1910
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1911
|
+
*/
|
|
1912
|
+
"ring-w": [{
|
|
1913
|
+
ring: getLengthWithEmptyAndArbitrary()
|
|
1914
|
+
}],
|
|
1915
|
+
/**
|
|
1916
|
+
* Ring Width Inset
|
|
1917
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1918
|
+
*/
|
|
1919
|
+
"ring-w-inset": ["ring-inset"],
|
|
1920
|
+
/**
|
|
1921
|
+
* Ring Color
|
|
1922
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
1923
|
+
*/
|
|
1924
|
+
"ring-color": [{
|
|
1925
|
+
ring: [colors]
|
|
1926
|
+
}],
|
|
1927
|
+
/**
|
|
1928
|
+
* Ring Opacity
|
|
1929
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1930
|
+
*/
|
|
1931
|
+
"ring-opacity": [{
|
|
1932
|
+
"ring-opacity": [opacity]
|
|
1933
|
+
}],
|
|
1934
|
+
/**
|
|
1935
|
+
* Ring Offset Width
|
|
1936
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1937
|
+
*/
|
|
1938
|
+
"ring-offset-w": [{
|
|
1939
|
+
"ring-offset": [isLength, isArbitraryLength]
|
|
1940
|
+
}],
|
|
1941
|
+
/**
|
|
1942
|
+
* Ring Offset Color
|
|
1943
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
1944
|
+
*/
|
|
1945
|
+
"ring-offset-color": [{
|
|
1946
|
+
"ring-offset": [colors]
|
|
1947
|
+
}],
|
|
1948
|
+
// Effects
|
|
1949
|
+
/**
|
|
1950
|
+
* Box Shadow
|
|
1951
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
1952
|
+
*/
|
|
1953
|
+
shadow: [{
|
|
1954
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
|
1955
|
+
}],
|
|
1956
|
+
/**
|
|
1957
|
+
* Box Shadow Color
|
|
1958
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1959
|
+
*/
|
|
1960
|
+
"shadow-color": [{
|
|
1961
|
+
shadow: [isAny]
|
|
1962
|
+
}],
|
|
1963
|
+
/**
|
|
1964
|
+
* Opacity
|
|
1965
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
1966
|
+
*/
|
|
1967
|
+
opacity: [{
|
|
1968
|
+
opacity: [opacity]
|
|
1969
|
+
}],
|
|
1970
|
+
/**
|
|
1971
|
+
* Mix Blend Mode
|
|
1972
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1973
|
+
*/
|
|
1974
|
+
"mix-blend": [{
|
|
1975
|
+
"mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
|
|
1976
|
+
}],
|
|
1977
|
+
/**
|
|
1978
|
+
* Background Blend Mode
|
|
1979
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1980
|
+
*/
|
|
1981
|
+
"bg-blend": [{
|
|
1982
|
+
"bg-blend": getBlendModes()
|
|
1983
|
+
}],
|
|
1984
|
+
// Filters
|
|
1985
|
+
/**
|
|
1986
|
+
* Filter
|
|
1987
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1988
|
+
* @see https://tailwindcss.com/docs/filter
|
|
1989
|
+
*/
|
|
1990
|
+
filter: [{
|
|
1991
|
+
filter: ["", "none"]
|
|
1992
|
+
}],
|
|
1993
|
+
/**
|
|
1994
|
+
* Blur
|
|
1995
|
+
* @see https://tailwindcss.com/docs/blur
|
|
1996
|
+
*/
|
|
1997
|
+
blur: [{
|
|
1998
|
+
blur: [blur]
|
|
1999
|
+
}],
|
|
2000
|
+
/**
|
|
2001
|
+
* Brightness
|
|
2002
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2003
|
+
*/
|
|
2004
|
+
brightness: [{
|
|
2005
|
+
brightness: [brightness]
|
|
2006
|
+
}],
|
|
2007
|
+
/**
|
|
2008
|
+
* Contrast
|
|
2009
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2010
|
+
*/
|
|
2011
|
+
contrast: [{
|
|
2012
|
+
contrast: [contrast]
|
|
2013
|
+
}],
|
|
2014
|
+
/**
|
|
2015
|
+
* Drop Shadow
|
|
2016
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2017
|
+
*/
|
|
2018
|
+
"drop-shadow": [{
|
|
2019
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
|
2020
|
+
}],
|
|
2021
|
+
/**
|
|
2022
|
+
* Grayscale
|
|
2023
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2024
|
+
*/
|
|
2025
|
+
grayscale: [{
|
|
2026
|
+
grayscale: [grayscale]
|
|
2027
|
+
}],
|
|
2028
|
+
/**
|
|
2029
|
+
* Hue Rotate
|
|
2030
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2031
|
+
*/
|
|
2032
|
+
"hue-rotate": [{
|
|
2033
|
+
"hue-rotate": [hueRotate]
|
|
2034
|
+
}],
|
|
2035
|
+
/**
|
|
2036
|
+
* Invert
|
|
2037
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2038
|
+
*/
|
|
2039
|
+
invert: [{
|
|
2040
|
+
invert: [invert]
|
|
2041
|
+
}],
|
|
2042
|
+
/**
|
|
2043
|
+
* Saturate
|
|
2044
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2045
|
+
*/
|
|
2046
|
+
saturate: [{
|
|
2047
|
+
saturate: [saturate]
|
|
2048
|
+
}],
|
|
2049
|
+
/**
|
|
2050
|
+
* Sepia
|
|
2051
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2052
|
+
*/
|
|
2053
|
+
sepia: [{
|
|
2054
|
+
sepia: [sepia]
|
|
2055
|
+
}],
|
|
2056
|
+
/**
|
|
2057
|
+
* Backdrop Filter
|
|
2058
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2059
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2060
|
+
*/
|
|
2061
|
+
"backdrop-filter": [{
|
|
2062
|
+
"backdrop-filter": ["", "none"]
|
|
2063
|
+
}],
|
|
2064
|
+
/**
|
|
2065
|
+
* Backdrop Blur
|
|
2066
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2067
|
+
*/
|
|
2068
|
+
"backdrop-blur": [{
|
|
2069
|
+
"backdrop-blur": [blur]
|
|
2070
|
+
}],
|
|
2071
|
+
/**
|
|
2072
|
+
* Backdrop Brightness
|
|
2073
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2074
|
+
*/
|
|
2075
|
+
"backdrop-brightness": [{
|
|
2076
|
+
"backdrop-brightness": [brightness]
|
|
2077
|
+
}],
|
|
2078
|
+
/**
|
|
2079
|
+
* Backdrop Contrast
|
|
2080
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2081
|
+
*/
|
|
2082
|
+
"backdrop-contrast": [{
|
|
2083
|
+
"backdrop-contrast": [contrast]
|
|
2084
|
+
}],
|
|
2085
|
+
/**
|
|
2086
|
+
* Backdrop Grayscale
|
|
2087
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2088
|
+
*/
|
|
2089
|
+
"backdrop-grayscale": [{
|
|
2090
|
+
"backdrop-grayscale": [grayscale]
|
|
2091
|
+
}],
|
|
2092
|
+
/**
|
|
2093
|
+
* Backdrop Hue Rotate
|
|
2094
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2095
|
+
*/
|
|
2096
|
+
"backdrop-hue-rotate": [{
|
|
2097
|
+
"backdrop-hue-rotate": [hueRotate]
|
|
2098
|
+
}],
|
|
2099
|
+
/**
|
|
2100
|
+
* Backdrop Invert
|
|
2101
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2102
|
+
*/
|
|
2103
|
+
"backdrop-invert": [{
|
|
2104
|
+
"backdrop-invert": [invert]
|
|
2105
|
+
}],
|
|
2106
|
+
/**
|
|
2107
|
+
* Backdrop Opacity
|
|
2108
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2109
|
+
*/
|
|
2110
|
+
"backdrop-opacity": [{
|
|
2111
|
+
"backdrop-opacity": [opacity]
|
|
2112
|
+
}],
|
|
2113
|
+
/**
|
|
2114
|
+
* Backdrop Saturate
|
|
2115
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2116
|
+
*/
|
|
2117
|
+
"backdrop-saturate": [{
|
|
2118
|
+
"backdrop-saturate": [saturate]
|
|
2119
|
+
}],
|
|
2120
|
+
/**
|
|
2121
|
+
* Backdrop Sepia
|
|
2122
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2123
|
+
*/
|
|
2124
|
+
"backdrop-sepia": [{
|
|
2125
|
+
"backdrop-sepia": [sepia]
|
|
2126
|
+
}],
|
|
2127
|
+
// Tables
|
|
2128
|
+
/**
|
|
2129
|
+
* Border Collapse
|
|
2130
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2131
|
+
*/
|
|
2132
|
+
"border-collapse": [{
|
|
2133
|
+
border: ["collapse", "separate"]
|
|
2134
|
+
}],
|
|
2135
|
+
/**
|
|
2136
|
+
* Border Spacing
|
|
2137
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2138
|
+
*/
|
|
2139
|
+
"border-spacing": [{
|
|
2140
|
+
"border-spacing": [borderSpacing]
|
|
2141
|
+
}],
|
|
2142
|
+
/**
|
|
2143
|
+
* Border Spacing X
|
|
2144
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2145
|
+
*/
|
|
2146
|
+
"border-spacing-x": [{
|
|
2147
|
+
"border-spacing-x": [borderSpacing]
|
|
2148
|
+
}],
|
|
2149
|
+
/**
|
|
2150
|
+
* Border Spacing Y
|
|
2151
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2152
|
+
*/
|
|
2153
|
+
"border-spacing-y": [{
|
|
2154
|
+
"border-spacing-y": [borderSpacing]
|
|
2155
|
+
}],
|
|
2156
|
+
/**
|
|
2157
|
+
* Table Layout
|
|
2158
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2159
|
+
*/
|
|
2160
|
+
"table-layout": [{
|
|
2161
|
+
table: ["auto", "fixed"]
|
|
2162
|
+
}],
|
|
2163
|
+
/**
|
|
2164
|
+
* Caption Side
|
|
2165
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2166
|
+
*/
|
|
2167
|
+
caption: [{
|
|
2168
|
+
caption: ["top", "bottom"]
|
|
2169
|
+
}],
|
|
2170
|
+
// Transitions and Animation
|
|
2171
|
+
/**
|
|
2172
|
+
* Tranisition Property
|
|
2173
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2174
|
+
*/
|
|
2175
|
+
transition: [{
|
|
2176
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
|
2177
|
+
}],
|
|
2178
|
+
/**
|
|
2179
|
+
* Transition Duration
|
|
2180
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2181
|
+
*/
|
|
2182
|
+
duration: [{
|
|
2183
|
+
duration: getNumberAndArbitrary()
|
|
2184
|
+
}],
|
|
2185
|
+
/**
|
|
2186
|
+
* Transition Timing Function
|
|
2187
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2188
|
+
*/
|
|
2189
|
+
ease: [{
|
|
2190
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
|
2191
|
+
}],
|
|
2192
|
+
/**
|
|
2193
|
+
* Transition Delay
|
|
2194
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2195
|
+
*/
|
|
2196
|
+
delay: [{
|
|
2197
|
+
delay: getNumberAndArbitrary()
|
|
2198
|
+
}],
|
|
2199
|
+
/**
|
|
2200
|
+
* Animation
|
|
2201
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2202
|
+
*/
|
|
2203
|
+
animate: [{
|
|
2204
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
|
2205
|
+
}],
|
|
2206
|
+
// Transforms
|
|
2207
|
+
/**
|
|
2208
|
+
* Transform
|
|
2209
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2210
|
+
*/
|
|
2211
|
+
transform: [{
|
|
2212
|
+
transform: ["", "gpu", "none"]
|
|
2213
|
+
}],
|
|
2214
|
+
/**
|
|
2215
|
+
* Scale
|
|
2216
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2217
|
+
*/
|
|
2218
|
+
scale: [{
|
|
2219
|
+
scale: [scale]
|
|
2220
|
+
}],
|
|
2221
|
+
/**
|
|
2222
|
+
* Scale X
|
|
2223
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2224
|
+
*/
|
|
2225
|
+
"scale-x": [{
|
|
2226
|
+
"scale-x": [scale]
|
|
2227
|
+
}],
|
|
2228
|
+
/**
|
|
2229
|
+
* Scale Y
|
|
2230
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2231
|
+
*/
|
|
2232
|
+
"scale-y": [{
|
|
2233
|
+
"scale-y": [scale]
|
|
2234
|
+
}],
|
|
2235
|
+
/**
|
|
2236
|
+
* Rotate
|
|
2237
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2238
|
+
*/
|
|
2239
|
+
rotate: [{
|
|
2240
|
+
rotate: [isInteger, isArbitraryValue]
|
|
2241
|
+
}],
|
|
2242
|
+
/**
|
|
2243
|
+
* Translate X
|
|
2244
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2245
|
+
*/
|
|
2246
|
+
"translate-x": [{
|
|
2247
|
+
"translate-x": [translate]
|
|
2248
|
+
}],
|
|
2249
|
+
/**
|
|
2250
|
+
* Translate Y
|
|
2251
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2252
|
+
*/
|
|
2253
|
+
"translate-y": [{
|
|
2254
|
+
"translate-y": [translate]
|
|
2255
|
+
}],
|
|
2256
|
+
/**
|
|
2257
|
+
* Skew X
|
|
2258
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2259
|
+
*/
|
|
2260
|
+
"skew-x": [{
|
|
2261
|
+
"skew-x": [skew]
|
|
2262
|
+
}],
|
|
2263
|
+
/**
|
|
2264
|
+
* Skew Y
|
|
2265
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2266
|
+
*/
|
|
2267
|
+
"skew-y": [{
|
|
2268
|
+
"skew-y": [skew]
|
|
2269
|
+
}],
|
|
2270
|
+
/**
|
|
2271
|
+
* Transform Origin
|
|
2272
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2273
|
+
*/
|
|
2274
|
+
"transform-origin": [{
|
|
2275
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
|
2276
|
+
}],
|
|
2277
|
+
// Interactivity
|
|
2278
|
+
/**
|
|
2279
|
+
* Accent Color
|
|
2280
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2281
|
+
*/
|
|
2282
|
+
accent: [{
|
|
2283
|
+
accent: ["auto", colors]
|
|
2284
|
+
}],
|
|
2285
|
+
/**
|
|
2286
|
+
* Appearance
|
|
2287
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2288
|
+
*/
|
|
2289
|
+
appearance: [{
|
|
2290
|
+
appearance: ["none", "auto"]
|
|
2291
|
+
}],
|
|
2292
|
+
/**
|
|
2293
|
+
* Cursor
|
|
2294
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2295
|
+
*/
|
|
2296
|
+
cursor: [{
|
|
2297
|
+
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]
|
|
2298
|
+
}],
|
|
2299
|
+
/**
|
|
2300
|
+
* Caret Color
|
|
2301
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2302
|
+
*/
|
|
2303
|
+
"caret-color": [{
|
|
2304
|
+
caret: [colors]
|
|
2305
|
+
}],
|
|
2306
|
+
/**
|
|
2307
|
+
* Pointer Events
|
|
2308
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2309
|
+
*/
|
|
2310
|
+
"pointer-events": [{
|
|
2311
|
+
"pointer-events": ["none", "auto"]
|
|
2312
|
+
}],
|
|
2313
|
+
/**
|
|
2314
|
+
* Resize
|
|
2315
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2316
|
+
*/
|
|
2317
|
+
resize: [{
|
|
2318
|
+
resize: ["none", "y", "x", ""]
|
|
2319
|
+
}],
|
|
2320
|
+
/**
|
|
2321
|
+
* Scroll Behavior
|
|
2322
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2323
|
+
*/
|
|
2324
|
+
"scroll-behavior": [{
|
|
2325
|
+
scroll: ["auto", "smooth"]
|
|
2326
|
+
}],
|
|
2327
|
+
/**
|
|
2328
|
+
* Scroll Margin
|
|
2329
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2330
|
+
*/
|
|
2331
|
+
"scroll-m": [{
|
|
2332
|
+
"scroll-m": getSpacingWithArbitrary()
|
|
2333
|
+
}],
|
|
2334
|
+
/**
|
|
2335
|
+
* Scroll Margin X
|
|
2336
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2337
|
+
*/
|
|
2338
|
+
"scroll-mx": [{
|
|
2339
|
+
"scroll-mx": getSpacingWithArbitrary()
|
|
2340
|
+
}],
|
|
2341
|
+
/**
|
|
2342
|
+
* Scroll Margin Y
|
|
2343
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2344
|
+
*/
|
|
2345
|
+
"scroll-my": [{
|
|
2346
|
+
"scroll-my": getSpacingWithArbitrary()
|
|
2347
|
+
}],
|
|
2348
|
+
/**
|
|
2349
|
+
* Scroll Margin Start
|
|
2350
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2351
|
+
*/
|
|
2352
|
+
"scroll-ms": [{
|
|
2353
|
+
"scroll-ms": getSpacingWithArbitrary()
|
|
2354
|
+
}],
|
|
2355
|
+
/**
|
|
2356
|
+
* Scroll Margin End
|
|
2357
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2358
|
+
*/
|
|
2359
|
+
"scroll-me": [{
|
|
2360
|
+
"scroll-me": getSpacingWithArbitrary()
|
|
2361
|
+
}],
|
|
2362
|
+
/**
|
|
2363
|
+
* Scroll Margin Top
|
|
2364
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2365
|
+
*/
|
|
2366
|
+
"scroll-mt": [{
|
|
2367
|
+
"scroll-mt": getSpacingWithArbitrary()
|
|
2368
|
+
}],
|
|
2369
|
+
/**
|
|
2370
|
+
* Scroll Margin Right
|
|
2371
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2372
|
+
*/
|
|
2373
|
+
"scroll-mr": [{
|
|
2374
|
+
"scroll-mr": getSpacingWithArbitrary()
|
|
2375
|
+
}],
|
|
2376
|
+
/**
|
|
2377
|
+
* Scroll Margin Bottom
|
|
2378
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2379
|
+
*/
|
|
2380
|
+
"scroll-mb": [{
|
|
2381
|
+
"scroll-mb": getSpacingWithArbitrary()
|
|
2382
|
+
}],
|
|
2383
|
+
/**
|
|
2384
|
+
* Scroll Margin Left
|
|
2385
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2386
|
+
*/
|
|
2387
|
+
"scroll-ml": [{
|
|
2388
|
+
"scroll-ml": getSpacingWithArbitrary()
|
|
2389
|
+
}],
|
|
2390
|
+
/**
|
|
2391
|
+
* Scroll Padding
|
|
2392
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2393
|
+
*/
|
|
2394
|
+
"scroll-p": [{
|
|
2395
|
+
"scroll-p": getSpacingWithArbitrary()
|
|
2396
|
+
}],
|
|
2397
|
+
/**
|
|
2398
|
+
* Scroll Padding X
|
|
2399
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2400
|
+
*/
|
|
2401
|
+
"scroll-px": [{
|
|
2402
|
+
"scroll-px": getSpacingWithArbitrary()
|
|
2403
|
+
}],
|
|
2404
|
+
/**
|
|
2405
|
+
* Scroll Padding Y
|
|
2406
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2407
|
+
*/
|
|
2408
|
+
"scroll-py": [{
|
|
2409
|
+
"scroll-py": getSpacingWithArbitrary()
|
|
2410
|
+
}],
|
|
2411
|
+
/**
|
|
2412
|
+
* Scroll Padding Start
|
|
2413
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2414
|
+
*/
|
|
2415
|
+
"scroll-ps": [{
|
|
2416
|
+
"scroll-ps": getSpacingWithArbitrary()
|
|
2417
|
+
}],
|
|
2418
|
+
/**
|
|
2419
|
+
* Scroll Padding End
|
|
2420
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2421
|
+
*/
|
|
2422
|
+
"scroll-pe": [{
|
|
2423
|
+
"scroll-pe": getSpacingWithArbitrary()
|
|
2424
|
+
}],
|
|
2425
|
+
/**
|
|
2426
|
+
* Scroll Padding Top
|
|
2427
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2428
|
+
*/
|
|
2429
|
+
"scroll-pt": [{
|
|
2430
|
+
"scroll-pt": getSpacingWithArbitrary()
|
|
2431
|
+
}],
|
|
2432
|
+
/**
|
|
2433
|
+
* Scroll Padding Right
|
|
2434
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2435
|
+
*/
|
|
2436
|
+
"scroll-pr": [{
|
|
2437
|
+
"scroll-pr": getSpacingWithArbitrary()
|
|
2438
|
+
}],
|
|
2439
|
+
/**
|
|
2440
|
+
* Scroll Padding Bottom
|
|
2441
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2442
|
+
*/
|
|
2443
|
+
"scroll-pb": [{
|
|
2444
|
+
"scroll-pb": getSpacingWithArbitrary()
|
|
2445
|
+
}],
|
|
2446
|
+
/**
|
|
2447
|
+
* Scroll Padding Left
|
|
2448
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2449
|
+
*/
|
|
2450
|
+
"scroll-pl": [{
|
|
2451
|
+
"scroll-pl": getSpacingWithArbitrary()
|
|
2452
|
+
}],
|
|
2453
|
+
/**
|
|
2454
|
+
* Scroll Snap Align
|
|
2455
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2456
|
+
*/
|
|
2457
|
+
"snap-align": [{
|
|
2458
|
+
snap: ["start", "end", "center", "align-none"]
|
|
2459
|
+
}],
|
|
2460
|
+
/**
|
|
2461
|
+
* Scroll Snap Stop
|
|
2462
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2463
|
+
*/
|
|
2464
|
+
"snap-stop": [{
|
|
2465
|
+
snap: ["normal", "always"]
|
|
2466
|
+
}],
|
|
2467
|
+
/**
|
|
2468
|
+
* Scroll Snap Type
|
|
2469
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2470
|
+
*/
|
|
2471
|
+
"snap-type": [{
|
|
2472
|
+
snap: ["none", "x", "y", "both"]
|
|
2473
|
+
}],
|
|
2474
|
+
/**
|
|
2475
|
+
* Scroll Snap Type Strictness
|
|
2476
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2477
|
+
*/
|
|
2478
|
+
"snap-strictness": [{
|
|
2479
|
+
snap: ["mandatory", "proximity"]
|
|
2480
|
+
}],
|
|
2481
|
+
/**
|
|
2482
|
+
* Touch Action
|
|
2483
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2484
|
+
*/
|
|
2485
|
+
touch: [{
|
|
2486
|
+
touch: ["auto", "none", "manipulation"]
|
|
2487
|
+
}],
|
|
2488
|
+
/**
|
|
2489
|
+
* Touch Action X
|
|
2490
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2491
|
+
*/
|
|
2492
|
+
"touch-x": [{
|
|
2493
|
+
"touch-pan": ["x", "left", "right"]
|
|
2494
|
+
}],
|
|
2495
|
+
/**
|
|
2496
|
+
* Touch Action Y
|
|
2497
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2498
|
+
*/
|
|
2499
|
+
"touch-y": [{
|
|
2500
|
+
"touch-pan": ["y", "up", "down"]
|
|
2501
|
+
}],
|
|
2502
|
+
/**
|
|
2503
|
+
* Touch Action Pinch Zoom
|
|
2504
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2505
|
+
*/
|
|
2506
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
2507
|
+
/**
|
|
2508
|
+
* User Select
|
|
2509
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
2510
|
+
*/
|
|
2511
|
+
select: [{
|
|
2512
|
+
select: ["none", "text", "all", "auto"]
|
|
2513
|
+
}],
|
|
2514
|
+
/**
|
|
2515
|
+
* Will Change
|
|
2516
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
2517
|
+
*/
|
|
2518
|
+
"will-change": [{
|
|
2519
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
|
2520
|
+
}],
|
|
2521
|
+
// SVG
|
|
2522
|
+
/**
|
|
2523
|
+
* Fill
|
|
2524
|
+
* @see https://tailwindcss.com/docs/fill
|
|
2525
|
+
*/
|
|
2526
|
+
fill: [{
|
|
2527
|
+
fill: [colors, "none"]
|
|
2528
|
+
}],
|
|
2529
|
+
/**
|
|
2530
|
+
* Stroke Width
|
|
2531
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
2532
|
+
*/
|
|
2533
|
+
"stroke-w": [{
|
|
2534
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
|
2535
|
+
}],
|
|
2536
|
+
/**
|
|
2537
|
+
* Stroke
|
|
2538
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
2539
|
+
*/
|
|
2540
|
+
stroke: [{
|
|
2541
|
+
stroke: [colors, "none"]
|
|
2542
|
+
}],
|
|
2543
|
+
// Accessibility
|
|
2544
|
+
/**
|
|
2545
|
+
* Screen Readers
|
|
2546
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
2547
|
+
*/
|
|
2548
|
+
sr: ["sr-only", "not-sr-only"],
|
|
2549
|
+
/**
|
|
2550
|
+
* Forced Color Adjust
|
|
2551
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2552
|
+
*/
|
|
2553
|
+
"forced-color-adjust": [{
|
|
2554
|
+
"forced-color-adjust": ["auto", "none"]
|
|
2555
|
+
}]
|
|
2556
|
+
},
|
|
2557
|
+
conflictingClassGroups: {
|
|
2558
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
2559
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2560
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2561
|
+
"inset-x": ["right", "left"],
|
|
2562
|
+
"inset-y": ["top", "bottom"],
|
|
2563
|
+
flex: ["basis", "grow", "shrink"],
|
|
2564
|
+
gap: ["gap-x", "gap-y"],
|
|
2565
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2566
|
+
px: ["pr", "pl"],
|
|
2567
|
+
py: ["pt", "pb"],
|
|
2568
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2569
|
+
mx: ["mr", "ml"],
|
|
2570
|
+
my: ["mt", "mb"],
|
|
2571
|
+
size: ["w", "h"],
|
|
2572
|
+
"font-size": ["leading"],
|
|
2573
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2574
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
2575
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
2576
|
+
"fvn-figure": ["fvn-normal"],
|
|
2577
|
+
"fvn-spacing": ["fvn-normal"],
|
|
2578
|
+
"fvn-fraction": ["fvn-normal"],
|
|
2579
|
+
"line-clamp": ["display", "overflow"],
|
|
2580
|
+
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"],
|
|
2581
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2582
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2583
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2584
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2585
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2586
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2587
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2588
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2589
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2590
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2591
|
+
"border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2592
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2593
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2594
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2595
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2596
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2597
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2598
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2599
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2600
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
2601
|
+
"touch-x": ["touch"],
|
|
2602
|
+
"touch-y": ["touch"],
|
|
2603
|
+
"touch-pz": ["touch"]
|
|
2604
|
+
},
|
|
2605
|
+
conflictingClassGroupModifiers: {
|
|
2606
|
+
"font-size": ["leading"]
|
|
2607
|
+
}
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
var mergeConfigs = (baseConfig, {
|
|
2611
|
+
cacheSize,
|
|
2612
|
+
prefix,
|
|
2613
|
+
separator,
|
|
2614
|
+
experimentalParseClassName,
|
|
2615
|
+
extend = {},
|
|
2616
|
+
override = {}
|
|
2617
|
+
}) => {
|
|
2618
|
+
overrideProperty(baseConfig, "cacheSize", cacheSize);
|
|
2619
|
+
overrideProperty(baseConfig, "prefix", prefix);
|
|
2620
|
+
overrideProperty(baseConfig, "separator", separator);
|
|
2621
|
+
overrideProperty(baseConfig, "experimentalParseClassName", experimentalParseClassName);
|
|
2622
|
+
for (const configKey in override) {
|
|
2623
|
+
overrideConfigProperties(baseConfig[configKey], override[configKey]);
|
|
2624
|
+
}
|
|
2625
|
+
for (const key in extend) {
|
|
2626
|
+
mergeConfigProperties(baseConfig[key], extend[key]);
|
|
2627
|
+
}
|
|
2628
|
+
return baseConfig;
|
|
2629
|
+
};
|
|
2630
|
+
var overrideProperty = (baseObject, overrideKey, overrideValue) => {
|
|
2631
|
+
if (overrideValue !== void 0) {
|
|
2632
|
+
baseObject[overrideKey] = overrideValue;
|
|
2633
|
+
}
|
|
2634
|
+
};
|
|
2635
|
+
var overrideConfigProperties = (baseObject, overrideObject) => {
|
|
2636
|
+
if (overrideObject) {
|
|
2637
|
+
for (const key in overrideObject) {
|
|
2638
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
};
|
|
2642
|
+
var mergeConfigProperties = (baseObject, mergeObject) => {
|
|
2643
|
+
if (mergeObject) {
|
|
2644
|
+
for (const key in mergeObject) {
|
|
2645
|
+
const mergeValue = mergeObject[key];
|
|
2646
|
+
if (mergeValue !== void 0) {
|
|
2647
|
+
baseObject[key] = (baseObject[key] || []).concat(mergeValue);
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
};
|
|
2652
|
+
var extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
2653
|
+
|
|
2654
|
+
// src/libraries/react/lib/utils.ts
|
|
2655
|
+
var twMerge = extendTailwindMerge({
|
|
2656
|
+
prefix: "au-"
|
|
2657
|
+
});
|
|
2658
|
+
function cn(...inputs) {
|
|
2659
|
+
return twMerge(clsx(inputs));
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
// src/libraries/react/components/ui/accordion.tsx
|
|
2663
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
2664
|
+
var Accordion = AccordionPrimitive.Root;
|
|
2665
|
+
var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2666
|
+
AccordionPrimitive.Item,
|
|
2667
|
+
{
|
|
2668
|
+
ref,
|
|
2669
|
+
className: cn("au-border-b", className),
|
|
2670
|
+
...props
|
|
2671
|
+
}
|
|
2672
|
+
));
|
|
2673
|
+
AccordionItem.displayName = "AccordionItem";
|
|
2674
|
+
var AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AccordionPrimitive.Header, { className: "au-flex", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
2675
|
+
AccordionPrimitive.Trigger,
|
|
2676
|
+
{
|
|
2677
|
+
ref,
|
|
2678
|
+
className: cn(
|
|
2679
|
+
"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",
|
|
2680
|
+
className
|
|
2681
|
+
),
|
|
2682
|
+
...props,
|
|
2683
|
+
children: [
|
|
2684
|
+
children,
|
|
2685
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "au-h-4 au-w-4 au-shrink-0 au-text-muted-foreground au-transition-transform au-duration-200" })
|
|
2686
|
+
]
|
|
2687
|
+
}
|
|
2688
|
+
) }));
|
|
2689
|
+
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
2690
|
+
var AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2691
|
+
AccordionPrimitive.Content,
|
|
2692
|
+
{
|
|
2693
|
+
ref,
|
|
2694
|
+
className: "au-overflow-hidden au-text-sm data-[state=closed]:au-animate-accordion-up data-[state=open]:au-animate-accordion-down",
|
|
2695
|
+
...props,
|
|
2696
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("au-pb-4 au-pt-0", className), children })
|
|
2697
|
+
}
|
|
2698
|
+
));
|
|
2699
|
+
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
2700
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2701
|
+
0 && (module.exports = {
|
|
2702
|
+
Accordion,
|
|
2703
|
+
AccordionContent,
|
|
2704
|
+
AccordionItem,
|
|
2705
|
+
AccordionTrigger
|
|
2706
|
+
});
|
|
2707
|
+
/*! Bundled license information:
|
|
2708
|
+
|
|
2709
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
2710
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
2711
|
+
lucide-react/dist/esm/Icon.js:
|
|
2712
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
2713
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
|
2714
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
2715
|
+
(**
|
|
2716
|
+
* @license lucide-react v0.523.0 - ISC
|
|
2717
|
+
*
|
|
2718
|
+
* This source code is licensed under the ISC license.
|
|
2719
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
2720
|
+
*)
|
|
2721
|
+
*/
|