brd-ui-kit 0.1.80 → 0.1.81
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/brd-ui-kit.css +1 -1
- package/dist/calendar-PqChui7l.cjs.map +1 -1
- package/dist/calendar-XWqEaWHP.js.map +1 -1
- package/dist/components/basic-modal/basic-modal.d.ts +4 -2
- package/dist/components/transfer-list/index.d.ts +1 -1
- package/dist/components/transfer-list/transfer-list-card.d.ts +1 -1
- package/dist/components/ui/calendar/calendar.d.ts +1 -0
- package/dist/components/ui/calendar/index.d.ts +1 -1
- package/dist/components/ui/dialog/dialog.d.ts +4 -2
- package/dist/components/ui/dialog/dialog.styles.d.ts +6 -1
- package/dist/components-basic-modal-basic-modal.cjs +1 -1
- package/dist/components-basic-modal-basic-modal.cjs.map +1 -1
- package/dist/components-basic-modal-basic-modal.js +30 -24
- package/dist/components-basic-modal-basic-modal.js.map +1 -1
- package/dist/components-input-contact-input-contact.cjs +3 -3
- package/dist/components-input-contact-input-contact.cjs.map +1 -1
- package/dist/components-input-contact-input-contact.js +8 -8
- package/dist/components-input-contact-input-contact.js.map +1 -1
- package/dist/components-transfer-list-transfer-list-card.cjs +4 -1
- package/dist/components-transfer-list-transfer-list-card.cjs.map +1 -1
- package/dist/components-transfer-list-transfer-list-card.js +190 -4
- package/dist/components-transfer-list-transfer-list-card.js.map +1 -1
- package/dist/components-transfer-list-transfer-list.cjs +1 -1
- package/dist/components-transfer-list-transfer-list.cjs.map +1 -1
- package/dist/components-transfer-list-transfer-list.js +32 -30
- package/dist/components-transfer-list-transfer-list.js.map +1 -1
- package/dist/components-ui-dialog-dialog.cjs +1 -1
- package/dist/components-ui-dialog-dialog.cjs.map +1 -1
- package/dist/components-ui-dialog-dialog.js +49 -42
- package/dist/components-ui-dialog-dialog.js.map +1 -1
- package/dist/components-ui-dialog-dialog.styles.cjs +1 -1
- package/dist/components-ui-dialog-dialog.styles.cjs.map +1 -1
- package/dist/components-ui-dialog-dialog.styles.js +34 -17
- package/dist/components-ui-dialog-dialog.styles.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/transfer-list-card-3JPB-sdd.js +0 -525
- package/dist/transfer-list-card-3JPB-sdd.js.map +0 -1
- package/dist/transfer-list-card-D2oGp-Rw.cjs +0 -28
- package/dist/transfer-list-card-D2oGp-Rw.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-ui-dialog-dialog.js","sources":["../src/components/ui/dialog/dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport type { ComponentPropsWithRef, HTMLAttributes } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { StrokeIcon } from \"@/components/icons/stroke-icon\";\nimport { X } from \"@/components/icons/X\";\nimport {\n dialogCloseClassNames,\n dialogContentClassNames,\n dialogDescriptionClassNames,\n dialogFooterClassNames,\n dialogHeaderClassNames,\n dialogOverlayClassNames,\n dialogTitleClassNames,\n} from \"./dialog.styles\";\n\ntype DialogOverlayProps = ComponentPropsWithRef<typeof DialogPrimitive.Overlay>;\ntype DialogContentProps = ComponentPropsWithRef<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}
|
|
1
|
+
{"version":3,"file":"components-ui-dialog-dialog.js","sources":["../src/components/ui/dialog/dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport type { ComponentPropsWithRef, HTMLAttributes } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { StrokeIcon } from \"@/components/icons/stroke-icon\";\nimport { X } from \"@/components/icons/X\";\nimport {\n dialogCloseClassNames,\n dialogContentClassNames,\n dialogContentPositionVariants,\n dialogDescriptionClassNames,\n dialogFooterClassNames,\n dialogHeaderClassNames,\n dialogOverlayClassNames,\n dialogTitleClassNames,\n} from \"./dialog.styles\";\n\ntype DialogOverlayProps = ComponentPropsWithRef<typeof DialogPrimitive.Overlay>;\ntype DialogContentProps = ComponentPropsWithRef<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n} & VariantProps<typeof dialogContentPositionVariants>;\ntype DialogTitleProps = ComponentPropsWithRef<typeof DialogPrimitive.Title>;\ntype DialogDescriptionProps = ComponentPropsWithRef<typeof DialogPrimitive.Description>;\n\nconst Dialog = DialogPrimitive.Root;\nconst DialogTrigger = DialogPrimitive.Trigger;\nconst DialogPortal = DialogPrimitive.Portal;\nconst DialogClose = DialogPrimitive.Close;\n\nconst DialogOverlay = ({ className, ...props }: DialogOverlayProps) => (\n <DialogPrimitive.Overlay\n className={cn(...dialogOverlayClassNames, className)}\n {...props}\n />\n);\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst DialogContent = ({\n className,\n children,\n showCloseButton = true,\n positionX,\n positionY,\n ...props\n}: DialogContentProps) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n className={cn(\n ...dialogContentClassNames,\n dialogContentPositionVariants({ positionX, positionY }),\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close className={cn(...dialogCloseClassNames)}>\n <StrokeIcon icon={X} />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n);\nDialogContent.displayName = DialogPrimitive.Content.displayName;\n\nconst DialogHeader = ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(...dialogHeaderClassNames, className)}\n {...props}\n />\n);\nDialogHeader.displayName = \"DialogHeader\";\n\nconst DialogFooter = ({ className, ...props }: HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(...dialogFooterClassNames, className)}\n {...props}\n />\n);\nDialogFooter.displayName = \"DialogFooter\";\n\nconst DialogTitle = ({ className, ...props }: DialogTitleProps) => (\n <DialogPrimitive.Title\n className={cn(...dialogTitleClassNames, className)}\n {...props}\n />\n);\nDialogTitle.displayName = DialogPrimitive.Title.displayName;\n\nconst DialogDescription = ({ className, ...props }: DialogDescriptionProps) => (\n <DialogPrimitive.Description\n className={cn(...dialogDescriptionClassNames, className)}\n {...props}\n />\n);\nDialogDescription.displayName = DialogPrimitive.Description.displayName;\n\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n"],"names":["Dialog","DialogPrimitive","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","className","props","jsx","cn","dialogOverlayClassNames","DialogContent","children","showCloseButton","positionX","positionY","jsxs","dialogContentClassNames","dialogContentPositionVariants","dialogCloseClassNames","StrokeIcon","X","DialogHeader","dialogHeaderClassNames","DialogFooter","dialogFooterClassNames","DialogTitle","dialogTitleClassNames","DialogDescription","dialogDescriptionClassNames"],"mappings":";;;;;;;AAyBA,MAAMA,IAASC,EAAgB,MACzBC,IAAgBD,EAAgB,SAChCE,IAAeF,EAAgB,QAC/BG,IAAcH,EAAgB,OAE9BI,IAAgB,CAAC,EAAE,WAAAC,GAAW,GAAGC,QACrC,gBAAAC;AAAA,EAACP,EAAgB;AAAA,EAAhB;AAAA,IACC,WAAWQ,EAAG,GAAGC,GAAyBJ,CAAS;AAAA,IAClD,GAAGC;AAAA,EAAA;AACN;AAEFF,EAAc,cAAcJ,EAAgB,QAAQ;AAEpD,MAAMU,IAAgB,CAAC;AAAA,EACrB,WAAAL;AAAA,EACA,UAAAM;AAAA,EACA,iBAAAC,IAAkB;AAAA,EAClB,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,GAAGR;AACL,wBACGJ,GAAA,EACC,UAAA;AAAA,EAAA,gBAAAK,EAACH,GAAA,EAAc;AAAA,EACf,gBAAAW;AAAA,IAACf,EAAgB;AAAA,IAAhB;AAAA,MACC,WAAWQ;AAAA,QACT,GAAGQ;AAAA,QACHC,EAA8B,EAAE,WAAAJ,GAAW,WAAAC,GAAW;AAAA,QACtDT;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAA;AAAA,QAAAK;AAAA,QACAC,uBACEZ,EAAgB,OAAhB,EAAsB,WAAWQ,EAAG,GAAGU,CAAqB,GAC3D,UAAA;AAAA,UAAA,gBAAAX,EAACY,GAAA,EAAW,MAAMC,EAAA,CAAG;AAAA,UACrB,gBAAAb,EAAC,QAAA,EAAK,WAAU,WAAU,UAAA,QAAA,CAAK;AAAA,QAAA,EAAA,CACjC;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAEJ,EAAA,CACF;AAEFG,EAAc,cAAcV,EAAgB,QAAQ;AAEpD,MAAMqB,IAAe,CAAC,EAAE,WAAAhB,GAAW,GAAGC,QACpC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAG,GAAGc,GAAwBjB,CAAS;AAAA,IACjD,GAAGC;AAAA,EAAA;AACN;AAEFe,EAAa,cAAc;AAE3B,MAAME,IAAe,CAAC,EAAE,WAAAlB,GAAW,GAAGC,QACpC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAG,GAAGgB,GAAwBnB,CAAS;AAAA,IACjD,GAAGC;AAAA,EAAA;AACN;AAEFiB,EAAa,cAAc;AAE3B,MAAME,IAAc,CAAC,EAAE,WAAApB,GAAW,GAAGC,QACnC,gBAAAC;AAAA,EAACP,EAAgB;AAAA,EAAhB;AAAA,IACC,WAAWQ,EAAG,GAAGkB,GAAuBrB,CAAS;AAAA,IAChD,GAAGC;AAAA,EAAA;AACN;AAEFmB,EAAY,cAAczB,EAAgB,MAAM;AAEhD,MAAM2B,IAAoB,CAAC,EAAE,WAAAtB,GAAW,GAAGC,QACzC,gBAAAC;AAAA,EAACP,EAAgB;AAAA,EAAhB;AAAA,IACC,WAAWQ,EAAG,GAAGoB,GAA6BvB,CAAS;AAAA,IACtD,GAAGC;AAAA,EAAA;AACN;AAEFqB,EAAkB,cAAc3B,EAAgB,YAAY;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["data-open:animate-in data-closed:animate-out data-closed:fade-out-0","data-open:fade-in-0 duration-100","bg-primary-inverse-bg/20 fixed inset-0 isolate z-30"],a=["fixed
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=["data-open:animate-in data-closed:animate-out data-closed:fade-out-0","data-open:fade-in-0 duration-100","bg-primary-inverse-bg/20 fixed inset-0 isolate z-30"],a=["fixed z-50 grid gap-8 bg-primary-bg p-6 shadow-[0px_10px_40px_0px_rgba(0,0,0,0.15)] duration-200","rounded-[8px]","[&>[data-base-ui-portal]]:absolute [&>[data-base-ui-portal]]:h-0 [&>[data-base-ui-portal]]:w-0 [&>[data-base-ui-portal]]:overflow-visible","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0","data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95"],o=e.cva("",{variants:{positionX:{center:"left-[50%] translate-x-[-50%]",left:"left-0",right:"right-0"},positionY:{center:"top-[50%] translate-y-[-50%]",top:"top-0",bottom:"bottom-0"}},defaultVariants:{positionX:"center",positionY:"center"}}),s=["absolute cursor-pointer right-6 top-7 inline-flex size-5 items-center justify-center rounded-sm text-secondary-text","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inp-focus-border","disabled:pointer-events-none"],i=["flex flex-col gap-1.5 pr-10 text-left"],n=["flex flex-col-reverse sm:flex-row sm:justify-end gap-4 [&>*]:flex-1"],l=["relative pb-3 tracking-normal text-lg font-medium text-primary-text","after:pointer-events-none after:absolute after:bottom-0 after:h-px after:-left-6 after:-right-16 after:bg-delicate-border"],r=["tracking-normal text-sm font-normal text-secondary-text"];exports.dialogCloseClassNames=s;exports.dialogContentClassNames=a;exports.dialogContentPositionVariants=o;exports.dialogDescriptionClassNames=r;exports.dialogFooterClassNames=n;exports.dialogHeaderClassNames=i;exports.dialogOverlayClassNames=t;exports.dialogTitleClassNames=l;
|
|
2
2
|
//# sourceMappingURL=components-ui-dialog-dialog.styles.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-ui-dialog-dialog.styles.cjs","sources":["../src/components/ui/dialog/dialog.styles.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"components-ui-dialog-dialog.styles.cjs","sources":["../src/components/ui/dialog/dialog.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const dialogOverlayClassNames = [\n \"data-open:animate-in data-closed:animate-out data-closed:fade-out-0\",\n \"data-open:fade-in-0 duration-100\",\n \"bg-primary-inverse-bg/20 fixed inset-0 isolate z-30\",\n] as const;\n\nexport const dialogContentClassNames = [\n \"fixed z-50 grid gap-8 bg-primary-bg p-6 shadow-[0px_10px_40px_0px_rgba(0,0,0,0.15)] duration-200\",\n \"rounded-[8px]\",\n \"[&>[data-base-ui-portal]]:absolute [&>[data-base-ui-portal]]:h-0 [&>[data-base-ui-portal]]:w-0 [&>[data-base-ui-portal]]:overflow-visible\",\n \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0\",\n \"data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95\",\n] as const;\n\nexport const dialogContentPositionVariants = cva(\"\", {\n variants: {\n positionX: {\n center: \"left-[50%] translate-x-[-50%]\",\n left: \"left-0\",\n right: \"right-0\",\n },\n positionY: {\n center: \"top-[50%] translate-y-[-50%]\",\n top: \"top-0\",\n bottom: \"bottom-0\",\n },\n },\n defaultVariants: {\n positionX: \"center\",\n positionY: \"center\",\n },\n});\n\nexport const dialogCloseClassNames = [\n \"absolute cursor-pointer right-6 top-7 inline-flex size-5 items-center justify-center rounded-sm text-secondary-text\",\n \"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inp-focus-border\",\n \"disabled:pointer-events-none\",\n] as const;\n\nexport const dialogHeaderClassNames = [\"flex flex-col gap-1.5 pr-10 text-left\"] as const;\n\nexport const dialogFooterClassNames = [\n \"flex flex-col-reverse sm:flex-row sm:justify-end gap-4 [&>*]:flex-1\",\n] as const;\n\nexport const dialogTitleClassNames = [\n \"relative pb-3 tracking-normal text-lg font-medium text-primary-text\",\n \"after:pointer-events-none after:absolute after:bottom-0 after:h-px after:-left-6 after:-right-16 after:bg-delicate-border\",\n] as const;\n\nexport const dialogDescriptionClassNames = [\n \"tracking-normal text-sm font-normal text-secondary-text\",\n] as const;\n"],"names":["dialogOverlayClassNames","dialogContentClassNames","dialogContentPositionVariants","cva","dialogCloseClassNames","dialogHeaderClassNames","dialogFooterClassNames","dialogTitleClassNames","dialogDescriptionClassNames"],"mappings":"4HAEaA,EAA0B,CACrC,sEACA,mCACA,qDACF,EAEaC,EAA0B,CACrC,mGACA,gBACA,4IACA,8FACA,0FACF,EAEaC,EAAgCC,EAAAA,IAAI,GAAI,CACnD,SAAU,CACR,UAAW,CACT,OAAQ,gCACR,KAAM,SACN,MAAO,SAAA,EAET,UAAW,CACT,OAAQ,+BACR,IAAK,QACL,OAAQ,UAAA,CACV,EAEF,gBAAiB,CACf,UAAW,SACX,UAAW,QAAA,CAEf,CAAC,EAEYC,EAAwB,CACnC,sHACA,sFACA,8BACF,EAEaC,EAAyB,CAAC,uCAAuC,EAEjEC,EAAyB,CACpC,qEACF,EAEaC,EAAwB,CACnC,sEACA,4HACF,EAEaC,EAA8B,CACzC,yDACF"}
|
|
@@ -1,34 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
const a = [
|
|
2
3
|
"data-open:animate-in data-closed:animate-out data-closed:fade-out-0",
|
|
3
4
|
"data-open:fade-in-0 duration-100",
|
|
4
5
|
"bg-primary-inverse-bg/20 fixed inset-0 isolate z-30"
|
|
5
|
-
],
|
|
6
|
-
"fixed
|
|
7
|
-
"translate-y-[-50%] gap-8 bg-primary-bg p-6 shadow-[0px_10px_40px_0px_rgba(0,0,0,0.15)] duration-200",
|
|
6
|
+
], o = [
|
|
7
|
+
"fixed z-50 grid gap-8 bg-primary-bg p-6 shadow-[0px_10px_40px_0px_rgba(0,0,0,0.15)] duration-200",
|
|
8
8
|
"rounded-[8px]",
|
|
9
9
|
"[&>[data-base-ui-portal]]:absolute [&>[data-base-ui-portal]]:h-0 [&>[data-base-ui-portal]]:w-0 [&>[data-base-ui-portal]]:overflow-visible",
|
|
10
10
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
11
|
-
"data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95"
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95"
|
|
12
|
+
], s = t("", {
|
|
13
|
+
variants: {
|
|
14
|
+
positionX: {
|
|
15
|
+
center: "left-[50%] translate-x-[-50%]",
|
|
16
|
+
left: "left-0",
|
|
17
|
+
right: "right-0"
|
|
18
|
+
},
|
|
19
|
+
positionY: {
|
|
20
|
+
center: "top-[50%] translate-y-[-50%]",
|
|
21
|
+
top: "top-0",
|
|
22
|
+
bottom: "bottom-0"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
positionX: "center",
|
|
27
|
+
positionY: "center"
|
|
28
|
+
}
|
|
29
|
+
}), i = [
|
|
14
30
|
"absolute cursor-pointer right-6 top-7 inline-flex size-5 items-center justify-center rounded-sm text-secondary-text",
|
|
15
31
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inp-focus-border",
|
|
16
32
|
"disabled:pointer-events-none"
|
|
17
|
-
],
|
|
33
|
+
], n = ["flex flex-col gap-1.5 pr-10 text-left"], r = [
|
|
18
34
|
"flex flex-col-reverse sm:flex-row sm:justify-end gap-4 [&>*]:flex-1"
|
|
19
|
-
],
|
|
35
|
+
], l = [
|
|
20
36
|
"relative pb-3 tracking-normal text-lg font-medium text-primary-text",
|
|
21
37
|
"after:pointer-events-none after:absolute after:bottom-0 after:h-px after:-left-6 after:-right-16 after:bg-delicate-border"
|
|
22
|
-
],
|
|
38
|
+
], d = [
|
|
23
39
|
"tracking-normal text-sm font-normal text-secondary-text"
|
|
24
40
|
];
|
|
25
41
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
42
|
+
i as dialogCloseClassNames,
|
|
43
|
+
o as dialogContentClassNames,
|
|
44
|
+
s as dialogContentPositionVariants,
|
|
45
|
+
d as dialogDescriptionClassNames,
|
|
46
|
+
r as dialogFooterClassNames,
|
|
47
|
+
n as dialogHeaderClassNames,
|
|
48
|
+
a as dialogOverlayClassNames,
|
|
49
|
+
l as dialogTitleClassNames
|
|
33
50
|
};
|
|
34
51
|
//# sourceMappingURL=components-ui-dialog-dialog.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components-ui-dialog-dialog.styles.js","sources":["../src/components/ui/dialog/dialog.styles.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"components-ui-dialog-dialog.styles.js","sources":["../src/components/ui/dialog/dialog.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const dialogOverlayClassNames = [\n \"data-open:animate-in data-closed:animate-out data-closed:fade-out-0\",\n \"data-open:fade-in-0 duration-100\",\n \"bg-primary-inverse-bg/20 fixed inset-0 isolate z-30\",\n] as const;\n\nexport const dialogContentClassNames = [\n \"fixed z-50 grid gap-8 bg-primary-bg p-6 shadow-[0px_10px_40px_0px_rgba(0,0,0,0.15)] duration-200\",\n \"rounded-[8px]\",\n \"[&>[data-base-ui-portal]]:absolute [&>[data-base-ui-portal]]:h-0 [&>[data-base-ui-portal]]:w-0 [&>[data-base-ui-portal]]:overflow-visible\",\n \"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0\",\n \"data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95\",\n] as const;\n\nexport const dialogContentPositionVariants = cva(\"\", {\n variants: {\n positionX: {\n center: \"left-[50%] translate-x-[-50%]\",\n left: \"left-0\",\n right: \"right-0\",\n },\n positionY: {\n center: \"top-[50%] translate-y-[-50%]\",\n top: \"top-0\",\n bottom: \"bottom-0\",\n },\n },\n defaultVariants: {\n positionX: \"center\",\n positionY: \"center\",\n },\n});\n\nexport const dialogCloseClassNames = [\n \"absolute cursor-pointer right-6 top-7 inline-flex size-5 items-center justify-center rounded-sm text-secondary-text\",\n \"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inp-focus-border\",\n \"disabled:pointer-events-none\",\n] as const;\n\nexport const dialogHeaderClassNames = [\"flex flex-col gap-1.5 pr-10 text-left\"] as const;\n\nexport const dialogFooterClassNames = [\n \"flex flex-col-reverse sm:flex-row sm:justify-end gap-4 [&>*]:flex-1\",\n] as const;\n\nexport const dialogTitleClassNames = [\n \"relative pb-3 tracking-normal text-lg font-medium text-primary-text\",\n \"after:pointer-events-none after:absolute after:bottom-0 after:h-px after:-left-6 after:-right-16 after:bg-delicate-border\",\n] as const;\n\nexport const dialogDescriptionClassNames = [\n \"tracking-normal text-sm font-normal text-secondary-text\",\n] as const;\n"],"names":["dialogOverlayClassNames","dialogContentClassNames","dialogContentPositionVariants","cva","dialogCloseClassNames","dialogHeaderClassNames","dialogFooterClassNames","dialogTitleClassNames","dialogDescriptionClassNames"],"mappings":";AAEO,MAAMA,IAA0B;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AACF,GAEaC,IAA0B;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEaC,IAAgCC,EAAI,IAAI;AAAA,EACnD,UAAU;AAAA,IACR,WAAW;AAAA,MACT,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,IAET,WAAW;AAAA,MACT,QAAQ;AAAA,MACR,KAAK;AAAA,MACL,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA,EAEF,iBAAiB;AAAA,IACf,WAAW;AAAA,IACX,WAAW;AAAA,EAAA;AAEf,CAAC,GAEYC,IAAwB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AACF,GAEaC,IAAyB,CAAC,uCAAuC,GAEjEC,IAAyB;AAAA,EACpC;AACF,GAEaC,IAAwB;AAAA,EACnC;AAAA,EACA;AACF,GAEaC,IAA8B;AAAA,EACzC;AACF;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -78,9 +78,9 @@ export type { InputContactProps, TypesChange } from './components/input-contact'
|
|
|
78
78
|
export { InputPhone } from './components/input-phone';
|
|
79
79
|
export type { InputPhoneProps } from './components/input-phone';
|
|
80
80
|
export { Calendar } from './components/ui/calendar';
|
|
81
|
-
export type { CalendarProps } from './components/ui/calendar';
|
|
81
|
+
export type { CalendarPreset, CalendarProps, DateRange } from './components/ui/calendar';
|
|
82
82
|
export { localeMode } from './constants/calendar-locale';
|
|
83
83
|
export { CheckboxGroup } from './components/checkbox-group';
|
|
84
84
|
export type { CheckboxGroupOption, CheckboxGroupOptionItem, CheckboxGroupProps, } from './components/checkbox-group';
|
|
85
85
|
export { CardInfo, type CardInfoProps } from './components/card-info';
|
|
86
|
-
export { TransferList } from './components/transfer-list';
|
|
86
|
+
export { TransferList, type TransferListItem } from './components/transfer-list';
|