@trsys-tech/matrix-library 0.3.5 → 0.3.6
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/accordion.es.js +40 -0
- package/dist/accordion.es.js.map +1 -0
- package/dist/avatar.es.js +20 -0
- package/dist/avatar.es.js.map +1 -0
- package/dist/components/command/Command.d.ts +7 -7
- package/dist/contextmenu.es.js +116 -0
- package/dist/contextmenu.es.js.map +1 -0
- package/dist/index.d.ts +10 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +246 -217
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import * as e from "@radix-ui/react-accordion";
|
|
4
|
+
import { cn as s } from "./utils.es.js";
|
|
5
|
+
import { ChevronDown as m } from "@trsys-tech/matrix-icons";
|
|
6
|
+
const g = e.Root, c = i.forwardRef(({ className: o, ...t }, r) => /* @__PURE__ */ a(e.Item, { ref: r, className: s("border-b", o), ...t }));
|
|
7
|
+
c.displayName = "AccordionItem";
|
|
8
|
+
const l = i.forwardRef(({ className: o, children: t, ...r }, n) => /* @__PURE__ */ a(e.Header, { className: "flex", children: /* @__PURE__ */ d(
|
|
9
|
+
e.Trigger,
|
|
10
|
+
{
|
|
11
|
+
ref: n,
|
|
12
|
+
className: s(
|
|
13
|
+
"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",
|
|
14
|
+
o
|
|
15
|
+
),
|
|
16
|
+
...r,
|
|
17
|
+
children: [
|
|
18
|
+
t,
|
|
19
|
+
/* @__PURE__ */ a(m, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
) }));
|
|
23
|
+
l.displayName = e.Trigger.displayName;
|
|
24
|
+
const f = i.forwardRef(({ className: o, children: t, ...r }, n) => /* @__PURE__ */ a(
|
|
25
|
+
e.Content,
|
|
26
|
+
{
|
|
27
|
+
ref: n,
|
|
28
|
+
className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
29
|
+
...r,
|
|
30
|
+
children: /* @__PURE__ */ a("div", { className: s("pb-4 pt-0", o), children: t })
|
|
31
|
+
}
|
|
32
|
+
));
|
|
33
|
+
f.displayName = e.Content.displayName;
|
|
34
|
+
export {
|
|
35
|
+
g as Accordion,
|
|
36
|
+
f as AccordionContent,
|
|
37
|
+
c as AccordionItem,
|
|
38
|
+
l as AccordionTrigger
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=accordion.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.es.js","sources":["../src/components/accordion/Accordion.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\nimport { ChevronDown } from \"@trsys-tech/matrix-icons\";\r\n\r\nconst Accordion = AccordionPrimitive.Root;\r\n\r\nconst AccordionItem = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\r\n>(({ className, ...props }, ref) => <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />);\r\nAccordionItem.displayName = \"AccordionItem\";\r\n\r\nconst AccordionTrigger = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Trigger>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Header className=\"flex\">\r\n <AccordionPrimitive.Trigger\r\n ref={ref}\r\n className={cn(\r\n \"flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180\",\r\n className,\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <ChevronDown className=\"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200\" />\r\n </AccordionPrimitive.Trigger>\r\n </AccordionPrimitive.Header>\r\n));\r\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\r\n\r\nconst AccordionContent = React.forwardRef<\r\n React.ElementRef<typeof AccordionPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\r\n>(({ className, children, ...props }, ref) => (\r\n <AccordionPrimitive.Content\r\n ref={ref}\r\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\r\n {...props}\r\n >\r\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\r\n </AccordionPrimitive.Content>\r\n));\r\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\r\n\r\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\r\n"],"names":["Accordion","AccordionPrimitive","AccordionItem","React","className","props","ref","jsx","cn","AccordionTrigger","children","jsxs","ChevronDown","AccordionContent"],"mappings":";;;;;AAQA,MAAMA,IAAYC,EAAmB,MAE/BC,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAAQ,gBAAAC,EAACN,EAAmB,MAAnB,EAAwB,KAAAK,GAAU,WAAWE,EAAG,YAAYJ,CAAS,GAAI,GAAGC,GAAO,CAAE;AAC1HH,EAAc,cAAc;AAE5B,MAAMO,IAAmBN,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,UAAAM,GAAU,GAAGL,EAAM,GAAGC,MACnC,gBAAAC,EAAAN,EAAmB,QAAnB,EAA0B,WAAU,QACnC,UAAA,gBAAAU;AAAA,EAACV,EAAmB;AAAA,EAAnB;AAAA,IACC,KAAAK;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,IAEH,UAAA;AAAA,MAAAK;AAAA,MACD,gBAAAH,EAACK,GAAY,EAAA,WAAU,2EAA2E,CAAA;AAAA,IAAA;AAAA,EAAA;AACpG,GACF,CACD;AACDH,EAAiB,cAAcR,EAAmB,QAAQ;AAEpD,MAAAY,IAAmBV,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,UAAAM,GAAU,GAAGL,KAASC,MACpC,gBAAAC;AAAA,EAACN,EAAmB;AAAA,EAAnB;AAAA,IACC,KAAAK;AAAA,IACA,WAAU;AAAA,IACT,GAAGD;AAAA,IAEJ,4BAAC,OAAI,EAAA,WAAWG,EAAG,aAAaJ,CAAS,GAAI,UAAAM,EAAS,CAAA;AAAA,EAAA;AACxD,CACD;AACDG,EAAiB,cAAcZ,EAAmB,QAAQ;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import * as a from "@radix-ui/react-avatar";
|
|
4
|
+
import { cn as s } from "./utils.es.js";
|
|
5
|
+
const t = o.forwardRef(
|
|
6
|
+
({ className: e, ...l }, r) => /* @__PURE__ */ m(a.Root, { ref: r, className: s("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e), ...l })
|
|
7
|
+
);
|
|
8
|
+
t.displayName = a.Root.displayName;
|
|
9
|
+
const f = o.forwardRef(
|
|
10
|
+
({ className: e, ...l }, r) => /* @__PURE__ */ m(a.Image, { ref: r, className: s("aspect-square h-full w-full", e), ...l })
|
|
11
|
+
);
|
|
12
|
+
f.displayName = a.Image.displayName;
|
|
13
|
+
const i = o.forwardRef(({ className: e, ...l }, r) => /* @__PURE__ */ m(a.Fallback, { ref: r, className: s("flex h-full w-full items-center justify-center rounded-full bg-muted", e), ...l }));
|
|
14
|
+
i.displayName = a.Fallback.displayName;
|
|
15
|
+
export {
|
|
16
|
+
t as Avatar,
|
|
17
|
+
i as AvatarFallback,
|
|
18
|
+
f as AvatarImage
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=avatar.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.es.js","sources":["../src/components/avatar/Avatar.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst Avatar = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Root>, React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>>(\r\n ({ className, ...props }, ref) => (\r\n <AvatarPrimitive.Root ref={ref} className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)} {...props} />\r\n ),\r\n);\r\nAvatar.displayName = AvatarPrimitive.Root.displayName;\r\n\r\nconst AvatarImage = React.forwardRef<React.ElementRef<typeof AvatarPrimitive.Image>, React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>>(\r\n ({ className, ...props }, ref) => <AvatarPrimitive.Image ref={ref} className={cn(\"aspect-square h-full w-full\", className)} {...props} />,\r\n);\r\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\r\n\r\nconst AvatarFallback = React.forwardRef<\r\n React.ElementRef<typeof AvatarPrimitive.Fallback>,\r\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\r\n>(({ className, ...props }, ref) => (\r\n <AvatarPrimitive.Fallback ref={ref} className={cn(\"flex h-full w-full items-center justify-center rounded-full bg-muted\", className)} {...props} />\r\n));\r\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\r\n\r\nexport { Avatar, AvatarImage, AvatarFallback };\r\n"],"names":["Avatar","React","className","props","ref","jsx","AvatarPrimitive","cn","AvatarImage","AvatarFallback"],"mappings":";;;;AAOA,MAAMA,IAASC,EAAM;AAAA,EACnB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MACvB,gBAAAC,EAAAC,EAAgB,MAAhB,EAAqB,KAAAF,GAAU,WAAWG,EAAG,iEAAiEL,CAAS,GAAI,GAAGC,EAAO,CAAA;AAE1I;AACAH,EAAO,cAAcM,EAAgB,KAAK;AAE1C,MAAME,IAAcP,EAAM;AAAA,EACxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAAS,gBAAAC,EAAAC,EAAgB,OAAhB,EAAsB,KAAAF,GAAU,WAAWG,EAAG,+BAA+BL,CAAS,GAAI,GAAGC,EAAO,CAAA;AACzI;AACAK,EAAY,cAAcF,EAAgB,MAAM;AAE1C,MAAAG,IAAiBR,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAC,EAACC,EAAgB,UAAhB,EAAyB,KAAAF,GAAU,WAAWG,EAAG,wEAAwEL,CAAS,GAAI,GAAGC,GAAO,CAClJ;AACDM,EAAe,cAAcH,EAAgB,SAAS;"}
|
|
@@ -6,7 +6,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
6
6
|
ref?: React.Ref<HTMLDivElement>;
|
|
7
7
|
} & {
|
|
8
8
|
asChild?: boolean;
|
|
9
|
-
}, "
|
|
9
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
10
10
|
label?: string;
|
|
11
11
|
shouldFilter?: boolean;
|
|
12
12
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -22,7 +22,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
23
|
} & {
|
|
24
24
|
asChild?: boolean;
|
|
25
|
-
}, "
|
|
25
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
26
26
|
value?: string;
|
|
27
27
|
onValueChange?: (search: string) => void;
|
|
28
28
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -32,7 +32,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
|
32
32
|
ref?: React.Ref<HTMLDivElement>;
|
|
33
33
|
} & {
|
|
34
34
|
asChild?: boolean;
|
|
35
|
-
}, "
|
|
35
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
36
36
|
label?: string;
|
|
37
37
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
@@ -41,14 +41,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
|
41
41
|
ref?: React.Ref<HTMLDivElement>;
|
|
42
42
|
} & {
|
|
43
43
|
asChild?: boolean;
|
|
44
|
-
}, "
|
|
44
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
48
|
ref?: React.Ref<HTMLDivElement>;
|
|
49
49
|
} & {
|
|
50
50
|
asChild?: boolean;
|
|
51
|
-
}, "
|
|
51
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
52
52
|
heading?: React.ReactNode;
|
|
53
53
|
value?: string;
|
|
54
54
|
forceMount?: boolean;
|
|
@@ -57,7 +57,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
|
|
|
57
57
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
58
|
} & {
|
|
59
59
|
asChild?: boolean;
|
|
60
|
-
}, "
|
|
60
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
61
61
|
alwaysRender?: boolean;
|
|
62
62
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
63
|
declare const CommandItem: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
@@ -66,7 +66,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
|
66
66
|
ref?: React.Ref<HTMLDivElement>;
|
|
67
67
|
} & {
|
|
68
68
|
asChild?: boolean;
|
|
69
|
-
}, "
|
|
69
|
+
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
70
70
|
disabled?: boolean;
|
|
71
71
|
onSelect?: (value: string) => void;
|
|
72
72
|
value?: string;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { jsxs as l, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import * as e from "@radix-ui/react-context-menu";
|
|
4
|
+
import { ChevronRight as c, Check as m, Circle as u } from "@trsys-tech/matrix-icons";
|
|
5
|
+
import { cn as d } from "./utils.es.js";
|
|
6
|
+
const v = e.Root, I = e.Trigger, S = e.Group, z = e.Portal, k = e.Sub, T = e.RadioGroup, p = r.forwardRef(({ className: t, inset: a, children: o, ...s }, i) => /* @__PURE__ */ l(
|
|
7
|
+
e.SubTrigger,
|
|
8
|
+
{
|
|
9
|
+
ref: i,
|
|
10
|
+
className: d(
|
|
11
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
12
|
+
a && "pl-8",
|
|
13
|
+
t
|
|
14
|
+
),
|
|
15
|
+
...s,
|
|
16
|
+
children: [
|
|
17
|
+
o,
|
|
18
|
+
/* @__PURE__ */ n(c, { className: "ml-auto h-4 w-4" })
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
));
|
|
22
|
+
p.displayName = e.SubTrigger.displayName;
|
|
23
|
+
const f = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(
|
|
24
|
+
e.SubContent,
|
|
25
|
+
{
|
|
26
|
+
ref: o,
|
|
27
|
+
className: d(
|
|
28
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
29
|
+
t
|
|
30
|
+
),
|
|
31
|
+
...a
|
|
32
|
+
}
|
|
33
|
+
));
|
|
34
|
+
f.displayName = e.SubContent.displayName;
|
|
35
|
+
const x = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
|
|
36
|
+
e.Content,
|
|
37
|
+
{
|
|
38
|
+
ref: o,
|
|
39
|
+
className: d(
|
|
40
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
41
|
+
t
|
|
42
|
+
),
|
|
43
|
+
...a
|
|
44
|
+
}
|
|
45
|
+
) }));
|
|
46
|
+
x.displayName = e.Content.displayName;
|
|
47
|
+
const b = r.forwardRef(({ className: t, inset: a, ...o }, s) => /* @__PURE__ */ n(
|
|
48
|
+
e.Item,
|
|
49
|
+
{
|
|
50
|
+
ref: s,
|
|
51
|
+
className: d(
|
|
52
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
53
|
+
a && "pl-8",
|
|
54
|
+
t
|
|
55
|
+
),
|
|
56
|
+
...o
|
|
57
|
+
}
|
|
58
|
+
));
|
|
59
|
+
b.displayName = e.Item.displayName;
|
|
60
|
+
const g = r.forwardRef(({ className: t, children: a, checked: o, ...s }, i) => /* @__PURE__ */ l(
|
|
61
|
+
e.CheckboxItem,
|
|
62
|
+
{
|
|
63
|
+
ref: i,
|
|
64
|
+
className: d(
|
|
65
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
66
|
+
t
|
|
67
|
+
),
|
|
68
|
+
checked: o,
|
|
69
|
+
...s,
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(m, { className: "h-4 w-4" }) }) }),
|
|
72
|
+
a
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
));
|
|
76
|
+
g.displayName = e.CheckboxItem.displayName;
|
|
77
|
+
const N = r.forwardRef(({ className: t, children: a, ...o }, s) => /* @__PURE__ */ l(
|
|
78
|
+
e.RadioItem,
|
|
79
|
+
{
|
|
80
|
+
ref: s,
|
|
81
|
+
className: d(
|
|
82
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
83
|
+
t
|
|
84
|
+
),
|
|
85
|
+
...o,
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(u, { className: "h-4 w-4 fill-current" }) }) }),
|
|
88
|
+
a
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
));
|
|
92
|
+
N.displayName = e.RadioItem.displayName;
|
|
93
|
+
const h = r.forwardRef(({ className: t, inset: a, ...o }, s) => /* @__PURE__ */ n(e.Label, { ref: s, className: d("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", t), ...o }));
|
|
94
|
+
h.displayName = e.Label.displayName;
|
|
95
|
+
const C = r.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(e.Separator, { ref: o, className: d("-mx-1 my-1 h-px bg-border", t), ...a }));
|
|
96
|
+
C.displayName = e.Separator.displayName;
|
|
97
|
+
const y = ({ className: t, ...a }) => /* @__PURE__ */ n("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", t), ...a });
|
|
98
|
+
y.displayName = "ContextMenuShortcut";
|
|
99
|
+
export {
|
|
100
|
+
v as ContextMenu,
|
|
101
|
+
g as ContextMenuCheckboxItem,
|
|
102
|
+
x as ContextMenuContent,
|
|
103
|
+
S as ContextMenuGroup,
|
|
104
|
+
b as ContextMenuItem,
|
|
105
|
+
h as ContextMenuLabel,
|
|
106
|
+
z as ContextMenuPortal,
|
|
107
|
+
T as ContextMenuRadioGroup,
|
|
108
|
+
N as ContextMenuRadioItem,
|
|
109
|
+
C as ContextMenuSeparator,
|
|
110
|
+
y as ContextMenuShortcut,
|
|
111
|
+
k as ContextMenuSub,
|
|
112
|
+
f as ContextMenuSubContent,
|
|
113
|
+
p as ContextMenuSubTrigger,
|
|
114
|
+
I as ContextMenuTrigger
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=contextmenu.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextmenu.es.js","sources":["../src/components/context-menu/ContextMenu.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport * as React from \"react\";\r\nimport * as ContextMenuPrimitive from \"@radix-ui/react-context-menu\";\r\nimport { Check, ChevronRight, Circle } from \"@trsys-tech/matrix-icons\";\r\n\r\nimport { cn } from \"../../lib/utils\";\r\n\r\nconst ContextMenu = ContextMenuPrimitive.Root;\r\n\r\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\r\n\r\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\r\n\r\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\r\n\r\nconst ContextMenuSub = ContextMenuPrimitive.Sub;\r\n\r\nconst ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;\r\n\r\nconst ContextMenuSubTrigger = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.SubTrigger>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {\r\n inset?: boolean;\r\n }\r\n>(({ className, inset, children, ...props }, ref) => (\r\n <ContextMenuPrimitive.SubTrigger\r\n ref={ref}\r\n className={cn(\r\n \"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground\",\r\n inset && \"pl-8\",\r\n className,\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <ChevronRight className=\"ml-auto h-4 w-4\" />\r\n </ContextMenuPrimitive.SubTrigger>\r\n));\r\nContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;\r\n\r\nconst ContextMenuSubContent = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.SubContent>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>\r\n>(({ className, ...props }, ref) => (\r\n <ContextMenuPrimitive.SubContent\r\n ref={ref}\r\n className={cn(\r\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className,\r\n )}\r\n {...props}\r\n />\r\n));\r\nContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;\r\n\r\nconst ContextMenuContent = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>\r\n>(({ className, ...props }, ref) => (\r\n <ContextMenuPrimitive.Portal>\r\n <ContextMenuPrimitive.Content\r\n ref={ref}\r\n className={cn(\r\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className,\r\n )}\r\n {...props}\r\n />\r\n </ContextMenuPrimitive.Portal>\r\n));\r\nContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;\r\n\r\nconst ContextMenuItem = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {\r\n inset?: boolean;\r\n }\r\n>(({ className, inset, ...props }, ref) => (\r\n <ContextMenuPrimitive.Item\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\r\n inset && \"pl-8\",\r\n className,\r\n )}\r\n {...props}\r\n />\r\n));\r\nContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;\r\n\r\nconst ContextMenuCheckboxItem = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.CheckboxItem>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>\r\n>(({ className, children, checked, ...props }, ref) => (\r\n <ContextMenuPrimitive.CheckboxItem\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\r\n className,\r\n )}\r\n checked={checked}\r\n {...props}\r\n >\r\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\r\n <ContextMenuPrimitive.ItemIndicator>\r\n <Check className=\"h-4 w-4\" />\r\n </ContextMenuPrimitive.ItemIndicator>\r\n </span>\r\n {children}\r\n </ContextMenuPrimitive.CheckboxItem>\r\n));\r\nContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;\r\n\r\nconst ContextMenuRadioItem = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.RadioItem>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>\r\n>(({ className, children, ...props }, ref) => (\r\n <ContextMenuPrimitive.RadioItem\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\r\n className,\r\n )}\r\n {...props}\r\n >\r\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\r\n <ContextMenuPrimitive.ItemIndicator>\r\n <Circle className=\"h-4 w-4 fill-current\" />\r\n </ContextMenuPrimitive.ItemIndicator>\r\n </span>\r\n {children}\r\n </ContextMenuPrimitive.RadioItem>\r\n));\r\nContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;\r\n\r\nconst ContextMenuLabel = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.Label>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {\r\n inset?: boolean;\r\n }\r\n>(({ className, inset, ...props }, ref) => (\r\n <ContextMenuPrimitive.Label ref={ref} className={cn(\"px-2 py-1.5 text-sm font-semibold text-foreground\", inset && \"pl-8\", className)} {...props} />\r\n));\r\nContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;\r\n\r\nconst ContextMenuSeparator = React.forwardRef<\r\n React.ElementRef<typeof ContextMenuPrimitive.Separator>,\r\n React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>\r\n>(({ className, ...props }, ref) => <ContextMenuPrimitive.Separator ref={ref} className={cn(\"-mx-1 my-1 h-px bg-border\", className)} {...props} />);\r\nContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;\r\n\r\nconst ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\r\n return <span className={cn(\"ml-auto text-xs tracking-widest text-muted-foreground\", className)} {...props} />;\r\n};\r\nContextMenuShortcut.displayName = \"ContextMenuShortcut\";\r\n\r\nexport {\r\n ContextMenu,\r\n ContextMenuTrigger,\r\n ContextMenuContent,\r\n ContextMenuItem,\r\n ContextMenuCheckboxItem,\r\n ContextMenuRadioItem,\r\n ContextMenuLabel,\r\n ContextMenuSeparator,\r\n ContextMenuShortcut,\r\n ContextMenuGroup,\r\n ContextMenuPortal,\r\n ContextMenuSub,\r\n ContextMenuSubContent,\r\n ContextMenuSubTrigger,\r\n ContextMenuRadioGroup,\r\n};\r\n"],"names":["ContextMenu","ContextMenuPrimitive","ContextMenuTrigger","ContextMenuGroup","ContextMenuPortal","ContextMenuSub","ContextMenuRadioGroup","ContextMenuSubTrigger","React","className","inset","children","props","ref","jsxs","cn","jsx","ChevronRight","ContextMenuSubContent","ContextMenuContent","ContextMenuItem","ContextMenuCheckboxItem","checked","Check","ContextMenuRadioItem","Circle","ContextMenuLabel","ContextMenuSeparator","ContextMenuShortcut"],"mappings":";;;;;AAQA,MAAMA,IAAcC,EAAqB,MAEnCC,IAAqBD,EAAqB,SAE1CE,IAAmBF,EAAqB,OAExCG,IAAoBH,EAAqB,QAEzCI,IAAiBJ,EAAqB,KAEtCK,IAAwBL,EAAqB,YAE7CM,IAAwBC,EAAM,WAKlC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGC,KAASC,MAC3C,gBAAAC;AAAA,EAACb,EAAqB;AAAA,EAArB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAK,EAACC,GAAa,EAAA,WAAU,kBAAkB,CAAA;AAAA,IAAA;AAAA,EAAA;AAC5C,CACD;AACDV,EAAsB,cAAcN,EAAqB,WAAW;AAE9D,MAAAiB,IAAwBV,EAAM,WAGlC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAC1B,gBAAAG;AAAA,EAACf,EAAqB;AAAA,EAArB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAN;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AACN,CACD;AACDM,EAAsB,cAAcjB,EAAqB,WAAW;AAEpE,MAAMkB,IAAqBX,EAAM,WAG/B,CAAC,EAAE,WAAAC,GAAW,GAAGG,KAASC,MACzB,gBAAAG,EAAAf,EAAqB,QAArB,EACC,UAAA,gBAAAe;AAAA,EAACf,EAAqB;AAAA,EAArB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAN;AAAA,IACF;AAAA,IACC,GAAGG;AAAA,EAAA;AACN,GACF,CACD;AACDO,EA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AA,GACF;AAAA,MACCd;AAAA,IAAA;AAAA,EAAA;AACH,CACD;AACDa,EAAqB,cAAcvB,EAAqB,UAAU;AAE5D,MAAAyB,IAAmBlB,EAAM,WAK7B,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,GAAGE,EAAM,GAAGC,MACjC,gBAAAG,EAACf,EAAqB,OAArB,EAA2B,KAAAY,GAAU,WAAWE,EAAG,qDAAqDL,KAAS,QAAQD,CAAS,GAAI,GAAGG,GAAO,CAClJ;AACDc,EAAiB,cAAczB,EAAqB,MAAM;AAEpD,MAAA0B,IAAuBnB,EAAM,WAGjC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAM,GAAGC,MAAQ,gBAAAG,EAACf,EAAqB,WAArB,EAA+B,KAAAY,GAAU,WAAWE,EAAG,6BAA6BN,CAAS,GAAI,GAAGG,GAAO,CAAE;AAClJe,EAAqB,cAAc1B,EAAqB,UAAU;AAElE,MAAM2B,IAAsB,CAAC,EAAE,WAAAnB,GAAW,GAAGG,QACpC,gBAAAI,EAAC,UAAK,WAAWD,EAAG,yDAAyDN,CAAS,GAAI,GAAGG,GAAO;AAE7GgB,EAAoB,cAAc;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './components/accordion/Accordion';
|
|
2
|
+
export { Avatar, AvatarFallback, AvatarImage } from './components/avatar/Avatar';
|
|
1
3
|
export { Badge, type BadgeProps } from './components/badge/Badge';
|
|
2
|
-
export { Button, type ButtonProps, buttonVariants } from './components/button/Button';
|
|
3
4
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './components/breadcrumb/Breadcrumb';
|
|
5
|
+
export { Button, type ButtonProps, buttonVariants } from './components/button/Button';
|
|
6
|
+
export { Calendar, type CalendarProps } from './components/date-picker/calendar';
|
|
4
7
|
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent, type CardProps, type CardHeaderProps, type CardFooterProps, type CardTitleProps, type CardDescriptionProps, type CardContentProps, } from './components/card/Card';
|
|
5
8
|
export { Checkbox, type CheckboxProps } from './components/checkbox/Checkbox';
|
|
6
9
|
export { Chip, type ChipProps } from './components/chip/Chip';
|
|
10
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent, type CollapsibleProps, type CollapsibleContentProps, type CollapsibleTriggerProps, } from './components/collapsible/Collapsible';
|
|
7
11
|
export { Combobox, type ComboboxProps } from './components/combobox/Combobox';
|
|
8
12
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from './components/command/Command';
|
|
9
|
-
export { Collapsible, CollapsibleTrigger, CollapsibleContent, type CollapsibleProps, type CollapsibleContentProps, type CollapsibleTriggerProps, } from './components/collapsible/Collapsible';
|
|
10
13
|
export { ConfirmProvider, useConfirm } from './components/confirm/Confirm';
|
|
14
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from './components/context-menu/ContextMenu';
|
|
15
|
+
export { DataGrid, DataGridContent, DataGridActionBar, SearchAction, FreezeAction, PrintAction, RefreshAction, ExtraActions, DeleteAction, type DataGridProps, type DataGridContentProps, type DatagridActionBarProps, type SearchActionProps, type FreezeActionProps, type RefreshActionProps, type ExtraActionsProps, type DeleteActionProps, useDataGrid, } from './components/data-grid/DataGrid';
|
|
11
16
|
export { DatePicker, DesktopDatePicker, MobileDatePicker, type DatePickerProps, type DesktopDatePickerProps, type MobileDatePickerProps, } from './components/date-picker/DatePicker';
|
|
12
17
|
export { DateRangePicker, DesktopDateRangePicker, MobileDateRangePicker, type DateRangePickerProps, type DesktopDateRangePickerProps, type MobileDateRangePickerProps, } from './components/date-picker/DateRangePicker';
|
|
13
18
|
export { TimePicker, MobileTimePicker, DesktopTimePicker, type Time, type TimePickerProps, type MobileTimePickerProps, type DesktopTimePickerProps, } from './components/date-picker/TimePicker';
|
|
14
|
-
export { Calendar, type CalendarProps } from './components/date-picker/calendar';
|
|
15
|
-
export { DataGrid, DataGridContent, DataGridActionBar, SearchAction, FreezeAction, PrintAction, RefreshAction, ExtraActions, DeleteAction, type DataGridProps, type DataGridContentProps, type DatagridActionBarProps, type SearchActionProps, type FreezeActionProps, type RefreshActionProps, type ExtraActionsProps, type DeleteActionProps, useDataGrid, } from './components/data-grid/DataGrid';
|
|
16
19
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DialogCloseProps, type DialogContentProps, type DialogDescriptionProps, type DialogOverlayProps, type DialogPortalProps, type DialogProps, type DialogTitleProps, type DialogTriggerProps, } from './components/dialog/Dialog';
|
|
17
20
|
export { Drawer, DrawerContent, DrawerMain, type DrawerContentProps, type DrawerMainProps, type DrawerProps } from './components/drawer/Drawer';
|
|
18
21
|
export { SwipableDrawer, SwipableDrawerTrigger, SwipableDrawerClose, SwipableDrawerContent, SwipableDrawerHeader, SwipableDrawerFooter, SwipableDrawerTitle, SwipableDrawerDescription, type SwipableDrawerProps, type SwipableDrawerTriggerProps, type SwipableDrawerCloseProps, type SwipableDrawerContentProps, type SwipableDrawerHeaderProps, type SwipableDrawerFooterProps, type SwipableDrawerTitleProps, type SwipableDrawerDescriptionProps, } from './components/drawer/SwipableDrawer';
|
|
@@ -31,9 +34,10 @@ export { FormTimePicker, type FormTimePickerProps } from './components/form-time
|
|
|
31
34
|
export { IconButton, type IconButtonProps } from './components/icon-botton/IconButton';
|
|
32
35
|
export { Label, type LabelProps } from './components/label/Label';
|
|
33
36
|
export { Modal, ModalFooter, type ModalProps, type ModalFooterProps } from './components/modal/Modal';
|
|
37
|
+
export { MultiSelect, type MultiSelectProps } from './components/multi-select/MultiSelect';
|
|
34
38
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PopoverAnchorProps, type PopoverContentProps, type PopoverProps, type PopoverTriggerProps, } from './components/popover/Popover';
|
|
35
|
-
export { Rating, type RatingProps } from './components/rating/Rating';
|
|
36
39
|
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps } from './components/radio-group/RadioGroup';
|
|
40
|
+
export { Rating, type RatingProps } from './components/rating/Rating';
|
|
37
41
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectProps, type SelectContentProps, type SelectGroupProps, type SelectItemProps, type SelectLabelProps, type SelectScrollDownButtonProps, type SelectScrollUpButtonProps, type SelectSeparatorProps, type SelectTriggerProps, type SelectValueProps, } from './components/select/Select';
|
|
38
42
|
export { Separator, type SeparatorProps } from './components/separator/Separator';
|
|
39
43
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SheetPortal, SheetOverlay, type SheetCloseProps, type SheetContentProps, type SheetDescriptionProps, type SheetFooterProps, type SheetHeaderProps, type SheetOverlayProps, type SheetPortalProps, type SheetProps, type SheetTitleProps, type SheetTriggerProps, } from './components/sheet/Sheet';
|
|
@@ -42,6 +46,7 @@ export { Skeleton, type SkeletonProps } from './components/skeleton/Skeleton';
|
|
|
42
46
|
export { Switch, type SwitchProps } from './components/switch/Switch';
|
|
43
47
|
export { Tabs, TabsList, TabsTrigger, TabsContent, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, } from './components/tabs/Tabs';
|
|
44
48
|
export { TextField, type TextFieldProps } from './components/text-field/TextField';
|
|
49
|
+
export { Textarea, type TextareaProps } from './components/textarea/Textarea';
|
|
45
50
|
export { Toast, type ToastProps } from './components/toast/Toast';
|
|
46
51
|
export { toast } from './components/toast/use-toast';
|
|
47
52
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, type TooltipProps, type TooltipContentProps, type TooltipTriggerProps, type TooltipProviderProps, } from './components/tooltip/Tooltip';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAChH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM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,250 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { DataGrid as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
2
|
+
import { Accordion as t, AccordionContent as a, AccordionItem as i, AccordionTrigger as n } from "./accordion.es.js";
|
|
3
|
+
import { Avatar as p, AvatarFallback as l, AvatarImage as x } from "./avatar.es.js";
|
|
4
|
+
import { Badge as d } from "./badge.es.js";
|
|
5
|
+
import { Breadcrumb as c, BreadcrumbEllipsis as u, BreadcrumbItem as f, BreadcrumbLink as C, BreadcrumbList as g, BreadcrumbPage as D, BreadcrumbSeparator as s } from "./breadcrumb.es.js";
|
|
6
|
+
import { Button as T, buttonVariants as F } from "./button.es.js";
|
|
7
|
+
import { Calendar as k } from "./calendar.es.js";
|
|
8
|
+
import { Card as h, CardContent as A, CardDescription as I, CardFooter as B, CardHeader as G, CardTitle as v } from "./card.es.js";
|
|
9
|
+
import { Checkbox as L } from "./checkbox.es.js";
|
|
10
|
+
import { Chip as y } from "./chip.es.js";
|
|
11
|
+
import { Collapsible as O, CollapsibleContent as V, CollapsibleTrigger as z } from "./collapsible.es.js";
|
|
12
|
+
import { Combobox as j } from "./combobox.es.js";
|
|
13
|
+
import { Command as J, CommandDialog as K, CommandEmpty as N, CommandGroup as Q, CommandInput as W, CommandItem as X, CommandList as Y, CommandSeparator as Z, CommandShortcut as _ } from "./command.es.js";
|
|
14
|
+
import { ConfirmProvider as ee, useConfirm as re } from "./confirm.es.js";
|
|
15
|
+
import { ContextMenu as te, ContextMenuCheckboxItem as ae, ContextMenuContent as ie, ContextMenuGroup as ne, ContextMenuItem as me, ContextMenuLabel as pe, ContextMenuPortal as le, ContextMenuRadioGroup as xe, ContextMenuRadioItem as Se, ContextMenuSeparator as de, ContextMenuShortcut as be, ContextMenuSub as ce, ContextMenuSubContent as ue, ContextMenuSubTrigger as fe, ContextMenuTrigger as Ce } from "./contextmenu.es.js";
|
|
16
|
+
import { DataGrid as De, DataGridActionBar as se, DataGridContent as Me, DeleteAction as Te, ExtraActions as Fe, FreezeAction as Pe, PrintAction as ke, RefreshAction as we, SearchAction as he, useDataGrid as Ae } from "./datagrid.es.js";
|
|
17
|
+
import { DatePicker as Be } from "./datepicker.es.js";
|
|
18
|
+
import { DateRangePicker as ve } from "./daterangepicker.es.js";
|
|
19
|
+
import { TimePicker as Le } from "./timepicker.es.js";
|
|
20
|
+
import { Dialog as ye, DialogClose as Ee, DialogContent as Oe, DialogDescription as Ve, DialogFooter as ze, DialogHeader as Ue, DialogOverlay as je, DialogPortal as qe, DialogTitle as Je, DialogTrigger as Ke } from "./dialog.es.js";
|
|
21
|
+
import { Drawer as Qe, DrawerContent as We, DrawerMain as Xe } from "./drawer.es.js";
|
|
22
|
+
import { SwipableDrawer as Ze, SwipableDrawerClose as _e, SwipableDrawerContent as $e, SwipableDrawerDescription as er, SwipableDrawerFooter as rr, SwipableDrawerHeader as or, SwipableDrawerTitle as tr, SwipableDrawerTrigger as ar } from "./swipabledrawer.es.js";
|
|
23
|
+
import { Form as nr, FormControl as mr, FormDescription as pr, FormField as lr, FormItem as xr, FormLabel as Sr, FormMessage as dr } from "./form.es.js";
|
|
24
|
+
import { FormCheckbox as cr } from "./formcheckbox.es.js";
|
|
25
|
+
import { FormCombobox as fr } from "./formcombobox.es.js";
|
|
26
|
+
import { FormDatePicker as gr } from "./formdatepicker.es.js";
|
|
27
|
+
import { FormDateRangePicker as sr } from "./formdaterangepicker.es.js";
|
|
28
|
+
import { FormInput as Tr } from "./forminput.es.js";
|
|
29
|
+
import { FormMultiSelect as Pr } from "./formmultiselect.es.js";
|
|
30
|
+
import { FormRating as wr } from "./formrating.es.js";
|
|
31
|
+
import { FormSelect as Ar } from "./formselect.es.js";
|
|
32
|
+
import { FormSwitch as Br } from "./formswitch.es.js";
|
|
33
|
+
import { FormTextarea as vr } from "./formtextarea.es.js";
|
|
34
|
+
import { FormTimePicker as Lr } from "./formtimepicker.es.js";
|
|
35
|
+
import { IconButton as yr } from "./iconbutton.es.js";
|
|
36
|
+
import { Label as Or } from "./label.es.js";
|
|
37
|
+
import { Modal as zr, ModalFooter as Ur } from "./modal.es.js";
|
|
38
|
+
import { MultiSelect as qr } from "./multiselect.es.js";
|
|
39
|
+
import { Popover as Kr, PopoverAnchor as Nr, PopoverContent as Qr, PopoverTrigger as Wr } from "./popover.es.js";
|
|
40
|
+
import { RadioGroup as Yr, RadioGroupItem as Zr } from "./radiogroup.es.js";
|
|
41
|
+
import { Rating as $r } from "./rating.es.js";
|
|
42
|
+
import { Select as ro, SelectContent as oo, SelectGroup as to, SelectItem as ao, SelectLabel as io, SelectScrollDownButton as no, SelectScrollUpButton as mo, SelectSeparator as po, SelectTrigger as lo, SelectValue as xo } from "./select.es.js";
|
|
43
|
+
import { Separator as bo } from "./separator.es.js";
|
|
44
|
+
import { Sheet as uo, SheetClose as fo, SheetContent as Co, SheetDescription as go, SheetFooter as Do, SheetHeader as so, SheetOverlay as Mo, SheetPortal as To, SheetTitle as Fo, SheetTrigger as Po } from "./sheet.es.js";
|
|
45
|
+
import { Sidebar as wo, SidebarContent as ho, SidebarFooter as Ao, SidebarGroup as Io, SidebarGroupAction as Bo, SidebarGroupContent as Go, SidebarGroupLabel as vo, SidebarHeader as Ro, SidebarInset as Lo, SidebarMenu as Ho, SidebarMenuAction as yo, SidebarMenuBadge as Eo, SidebarMenuButton as Oo, SidebarMenuItem as Vo, SidebarMenuSkeleton as zo, SidebarMenuSub as Uo, SidebarMenuSubButton as jo, SidebarMenuSubItem as qo, SidebarProvider as Jo, SidebarRail as Ko, SidebarSeparator as No, SidebarTrigger as Qo, useSidebar as Wo } from "./sidebar.es.js";
|
|
46
|
+
import { Skeleton as Yo } from "./skeleton.es.js";
|
|
47
|
+
import { Switch as _o } from "./switch.es.js";
|
|
48
|
+
import { Tabs as et, TabsContent as rt, TabsList as ot, TabsTrigger as tt } from "./tabs.es.js";
|
|
49
|
+
import { TextField as it } from "./textfield.es.js";
|
|
50
|
+
import { Textarea as mt } from "./textarea.es.js";
|
|
51
|
+
import { Toast as lt } from "./toast.es.js";
|
|
52
|
+
import { toast as St } from "./use-toast.es.js";
|
|
53
|
+
import { Tooltip as bt, TooltipContent as ct, TooltipProvider as ut, TooltipTrigger as ft } from "./tooltip.es.js";
|
|
54
|
+
import { useIsMobile as gt } from "./use-mobile.es.js";
|
|
55
|
+
import { cn as st } from "./utils.es.js";
|
|
56
|
+
import { DesktopDatePicker as Tt } from "./desktopdatepicker.es.js";
|
|
57
|
+
import { MobileDatePicker as Pt } from "./mobiledatepicker.es.js";
|
|
58
|
+
import { DesktopDateRangePicker as wt } from "./desktopdaterangepicker.es.js";
|
|
59
|
+
import { MobileDateRangePicker as At } from "./mobiledaterangepicker.es.js";
|
|
60
|
+
import { MobileTimePicker as Bt } from "./mobiletimepicker.es.js";
|
|
61
|
+
import { DesktopTimePicker as vt } from "./desktoptimepicker.es.js";
|
|
57
62
|
export {
|
|
58
|
-
t as
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
x as
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
s as
|
|
73
|
-
T as
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
Ur as
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
mo as
|
|
179
|
-
po as
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
Do as
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
Po as
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
63
|
+
t as Accordion,
|
|
64
|
+
a as AccordionContent,
|
|
65
|
+
i as AccordionItem,
|
|
66
|
+
n as AccordionTrigger,
|
|
67
|
+
p as Avatar,
|
|
68
|
+
l as AvatarFallback,
|
|
69
|
+
x as AvatarImage,
|
|
70
|
+
d as Badge,
|
|
71
|
+
c as Breadcrumb,
|
|
72
|
+
u as BreadcrumbEllipsis,
|
|
73
|
+
f as BreadcrumbItem,
|
|
74
|
+
C as BreadcrumbLink,
|
|
75
|
+
g as BreadcrumbList,
|
|
76
|
+
D as BreadcrumbPage,
|
|
77
|
+
s as BreadcrumbSeparator,
|
|
78
|
+
T as Button,
|
|
79
|
+
k as Calendar,
|
|
80
|
+
h as Card,
|
|
81
|
+
A as CardContent,
|
|
82
|
+
I as CardDescription,
|
|
83
|
+
B as CardFooter,
|
|
84
|
+
G as CardHeader,
|
|
85
|
+
v as CardTitle,
|
|
86
|
+
L as Checkbox,
|
|
87
|
+
y as Chip,
|
|
88
|
+
O as Collapsible,
|
|
89
|
+
V as CollapsibleContent,
|
|
90
|
+
z as CollapsibleTrigger,
|
|
91
|
+
j as Combobox,
|
|
92
|
+
J as Command,
|
|
93
|
+
K as CommandDialog,
|
|
94
|
+
N as CommandEmpty,
|
|
95
|
+
Q as CommandGroup,
|
|
96
|
+
W as CommandInput,
|
|
97
|
+
X as CommandItem,
|
|
98
|
+
Y as CommandList,
|
|
99
|
+
Z as CommandSeparator,
|
|
100
|
+
_ as CommandShortcut,
|
|
101
|
+
ee as ConfirmProvider,
|
|
102
|
+
te as ContextMenu,
|
|
103
|
+
ae as ContextMenuCheckboxItem,
|
|
104
|
+
ie as ContextMenuContent,
|
|
105
|
+
ne as ContextMenuGroup,
|
|
106
|
+
me as ContextMenuItem,
|
|
107
|
+
pe as ContextMenuLabel,
|
|
108
|
+
le as ContextMenuPortal,
|
|
109
|
+
xe as ContextMenuRadioGroup,
|
|
110
|
+
Se as ContextMenuRadioItem,
|
|
111
|
+
de as ContextMenuSeparator,
|
|
112
|
+
be as ContextMenuShortcut,
|
|
113
|
+
ce as ContextMenuSub,
|
|
114
|
+
ue as ContextMenuSubContent,
|
|
115
|
+
fe as ContextMenuSubTrigger,
|
|
116
|
+
Ce as ContextMenuTrigger,
|
|
117
|
+
De as DataGrid,
|
|
118
|
+
se as DataGridActionBar,
|
|
119
|
+
Me as DataGridContent,
|
|
120
|
+
Be as DatePicker,
|
|
121
|
+
ve as DateRangePicker,
|
|
122
|
+
Te as DeleteAction,
|
|
123
|
+
Tt as DesktopDatePicker,
|
|
124
|
+
wt as DesktopDateRangePicker,
|
|
125
|
+
vt as DesktopTimePicker,
|
|
126
|
+
ye as Dialog,
|
|
127
|
+
Ee as DialogClose,
|
|
128
|
+
Oe as DialogContent,
|
|
129
|
+
Ve as DialogDescription,
|
|
130
|
+
ze as DialogFooter,
|
|
131
|
+
Ue as DialogHeader,
|
|
132
|
+
je as DialogOverlay,
|
|
133
|
+
qe as DialogPortal,
|
|
134
|
+
Je as DialogTitle,
|
|
135
|
+
Ke as DialogTrigger,
|
|
136
|
+
Qe as Drawer,
|
|
137
|
+
We as DrawerContent,
|
|
138
|
+
Xe as DrawerMain,
|
|
139
|
+
Fe as ExtraActions,
|
|
140
|
+
nr as Form,
|
|
141
|
+
cr as FormCheckbox,
|
|
142
|
+
fr as FormCombobox,
|
|
143
|
+
mr as FormControl,
|
|
144
|
+
gr as FormDatePicker,
|
|
145
|
+
sr as FormDateRangePicker,
|
|
146
|
+
pr as FormDescription,
|
|
147
|
+
lr as FormField,
|
|
148
|
+
Tr as FormInput,
|
|
149
|
+
xr as FormItem,
|
|
150
|
+
Sr as FormLabel,
|
|
151
|
+
dr as FormMessage,
|
|
152
|
+
Pr as FormMultiSelect,
|
|
153
|
+
wr as FormRating,
|
|
154
|
+
Ar as FormSelect,
|
|
155
|
+
Br as FormSwitch,
|
|
156
|
+
vr as FormTextarea,
|
|
157
|
+
Lr as FormTimePicker,
|
|
158
|
+
Pe as FreezeAction,
|
|
159
|
+
yr as IconButton,
|
|
160
|
+
Or as Label,
|
|
161
|
+
Pt as MobileDatePicker,
|
|
162
|
+
At as MobileDateRangePicker,
|
|
163
|
+
Bt as MobileTimePicker,
|
|
164
|
+
zr as Modal,
|
|
165
|
+
Ur as ModalFooter,
|
|
166
|
+
qr as MultiSelect,
|
|
167
|
+
Kr as Popover,
|
|
168
|
+
Nr as PopoverAnchor,
|
|
169
|
+
Qr as PopoverContent,
|
|
170
|
+
Wr as PopoverTrigger,
|
|
171
|
+
ke as PrintAction,
|
|
172
|
+
Yr as RadioGroup,
|
|
173
|
+
Zr as RadioGroupItem,
|
|
174
|
+
$r as Rating,
|
|
175
|
+
we as RefreshAction,
|
|
176
|
+
he as SearchAction,
|
|
177
|
+
ro as Select,
|
|
178
|
+
oo as SelectContent,
|
|
179
|
+
to as SelectGroup,
|
|
180
|
+
ao as SelectItem,
|
|
181
|
+
io as SelectLabel,
|
|
182
|
+
no as SelectScrollDownButton,
|
|
183
|
+
mo as SelectScrollUpButton,
|
|
184
|
+
po as SelectSeparator,
|
|
185
|
+
lo as SelectTrigger,
|
|
186
|
+
xo as SelectValue,
|
|
187
|
+
bo as Separator,
|
|
188
|
+
uo as Sheet,
|
|
189
|
+
fo as SheetClose,
|
|
190
|
+
Co as SheetContent,
|
|
191
|
+
go as SheetDescription,
|
|
192
|
+
Do as SheetFooter,
|
|
193
|
+
so as SheetHeader,
|
|
194
|
+
Mo as SheetOverlay,
|
|
195
|
+
To as SheetPortal,
|
|
196
|
+
Fo as SheetTitle,
|
|
197
|
+
Po as SheetTrigger,
|
|
198
|
+
wo as Sidebar,
|
|
199
|
+
ho as SidebarContent,
|
|
200
|
+
Ao as SidebarFooter,
|
|
201
|
+
Io as SidebarGroup,
|
|
202
|
+
Bo as SidebarGroupAction,
|
|
203
|
+
Go as SidebarGroupContent,
|
|
204
|
+
vo as SidebarGroupLabel,
|
|
205
|
+
Ro as SidebarHeader,
|
|
206
|
+
Lo as SidebarInset,
|
|
207
|
+
Ho as SidebarMenu,
|
|
208
|
+
yo as SidebarMenuAction,
|
|
209
|
+
Eo as SidebarMenuBadge,
|
|
210
|
+
Oo as SidebarMenuButton,
|
|
211
|
+
Vo as SidebarMenuItem,
|
|
212
|
+
zo as SidebarMenuSkeleton,
|
|
213
|
+
Uo as SidebarMenuSub,
|
|
214
|
+
jo as SidebarMenuSubButton,
|
|
215
|
+
qo as SidebarMenuSubItem,
|
|
216
|
+
Jo as SidebarProvider,
|
|
217
|
+
Ko as SidebarRail,
|
|
218
|
+
No as SidebarSeparator,
|
|
219
|
+
Qo as SidebarTrigger,
|
|
220
|
+
Yo as Skeleton,
|
|
221
|
+
Ze as SwipableDrawer,
|
|
222
|
+
_e as SwipableDrawerClose,
|
|
223
|
+
$e as SwipableDrawerContent,
|
|
224
|
+
er as SwipableDrawerDescription,
|
|
225
|
+
rr as SwipableDrawerFooter,
|
|
226
|
+
or as SwipableDrawerHeader,
|
|
227
|
+
tr as SwipableDrawerTitle,
|
|
228
|
+
ar as SwipableDrawerTrigger,
|
|
229
|
+
_o as Switch,
|
|
230
|
+
et as Tabs,
|
|
231
|
+
rt as TabsContent,
|
|
232
|
+
ot as TabsList,
|
|
233
|
+
tt as TabsTrigger,
|
|
234
|
+
it as TextField,
|
|
235
|
+
mt as Textarea,
|
|
236
|
+
Le as TimePicker,
|
|
237
|
+
lt as Toast,
|
|
238
|
+
bt as Tooltip,
|
|
239
|
+
ct as TooltipContent,
|
|
240
|
+
ut as TooltipProvider,
|
|
241
|
+
ft as TooltipTrigger,
|
|
242
|
+
F as buttonVariants,
|
|
243
|
+
st as cn,
|
|
244
|
+
St as toast,
|
|
245
|
+
re as useConfirm,
|
|
246
|
+
Ae as useDataGrid,
|
|
247
|
+
gt as useIsMobile,
|
|
248
|
+
Wo as useSidebar
|
|
220
249
|
};
|
|
221
250
|
//# sourceMappingURL=index.es.js.map
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|