@iit/precision-ui 0.4.1 → 0.5.1
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/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +65 -51
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es13.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es16.js +2 -2
- package/dist/index.es18.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es22.js +3 -3
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +7 -7
- package/dist/index.es26.js +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es29.js +90 -6
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +33 -22
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +6 -20
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +21 -19
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +18 -9
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +19 -84
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +10 -18
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +77 -38
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +15 -41
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +42 -33
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +40 -51
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +33 -88
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +37 -79
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +86 -21
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +96 -43
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +27 -16
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +38 -215
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +221 -3
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +19 -0
- package/dist/index.es47.js.map +1 -0
- package/dist/index.es48.js +7 -0
- package/dist/index.es48.js.map +1 -0
- package/dist/index.es5.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/styles.css +164 -0
- package/package.json +4 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-dev-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-dev-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
20
|
+
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,8GAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,6CAAyB,CAAA;AAE3C,QAAA,MAAM,WAAW,4GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,8JAYjB,CAAA;AAGF,QAAA,MAAM,aAAa,8JAuBjB,CAAA;AAGF,QAAA,MAAM,YAAY;8BAGf,MAAM,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,MAAM,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW,oKAYf,CAAA;AAGF,QAAA,MAAM,iBAAiB,8KASrB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
3
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { ScrollArea, ScrollBar };
|
|
6
|
+
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAIlE,QAAA,MAAM,UAAU,+JAed,CAAA;AAGF,QAAA,MAAM,SAAS,wKAmBb,CAAA;AAGF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -45,4 +45,6 @@ export { Section };
|
|
|
45
45
|
export { CardsGridSection };
|
|
46
46
|
export { Heading, Text };
|
|
47
47
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, } from './components/ui/form';
|
|
48
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, } from './components/ui/dialog';
|
|
49
|
+
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
48
50
|
//# sourceMappingURL=index.d.ts.map
|
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,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,aAAa,EAAE,EACpB,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,eAAe,EAAE,EACtB,KAAK,oBAAoB,EAC1B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,UAAU,EAAE,EACjB,KAAK,eAAe,EACrB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,YAAY,EAAE,EACnB,KAAK,iBAAiB,EACvB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,OAAO,MAAM,sBAAsB,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAG5C,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAE3E,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAA;AAE/C,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,CAAA;AAG1B,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AACnD,OAAO,EAAE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,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;AAGxB,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA"}
|
package/dist/index.es.js
CHANGED
|
@@ -1,66 +1,80 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as e } from "./index.es2.js";
|
|
2
2
|
import { default as a } from "./index.es3.js";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { registerAdapter as
|
|
9
|
-
import { Alert as
|
|
10
|
-
import { Input as
|
|
11
|
-
import { InputWithLabel as
|
|
12
|
-
import { Textarea as
|
|
3
|
+
import { default as l } from "./index.es4.js";
|
|
4
|
+
import { default as p } from "./index.es5.js";
|
|
5
|
+
import { default as i } from "./index.es6.js";
|
|
6
|
+
import { default as u } from "./index.es7.js";
|
|
7
|
+
import { default as n } from "./index.es8.js";
|
|
8
|
+
import { registerAdapter as D } from "./index.es9.js";
|
|
9
|
+
import { Alert as F, AlertDescription as T, AlertTitle as b } from "./index.es10.js";
|
|
10
|
+
import { Input as B } from "./index.es11.js";
|
|
11
|
+
import { InputWithLabel as L } from "./index.es12.js";
|
|
12
|
+
import { Textarea as h } from "./index.es13.js";
|
|
13
13
|
import { TextareaWithLabel as H } from "./index.es14.js";
|
|
14
14
|
import { Label as y } from "./index.es15.js";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { Checkbox as
|
|
18
|
-
import { CheckboxWithLabel as
|
|
19
|
-
import { Tag as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
15
|
+
import { default as W } from "./index.es16.js";
|
|
16
|
+
import { default as v } from "./index.es17.js";
|
|
17
|
+
import { Checkbox as M } from "./index.es18.js";
|
|
18
|
+
import { CheckboxWithLabel as R } from "./index.es19.js";
|
|
19
|
+
import { Tag as j } from "./index.es20.js";
|
|
20
|
+
import { default as z } from "./index.es21.js";
|
|
21
|
+
import { default as J } from "./index.es22.js";
|
|
22
|
+
import { default as N } from "./index.es23.js";
|
|
23
23
|
import { default as V } from "./index.es24.js";
|
|
24
24
|
import { default as Y } from "./index.es25.js";
|
|
25
25
|
import { default as _ } from "./index.es26.js";
|
|
26
|
-
import { default as
|
|
27
|
-
import { Form as
|
|
26
|
+
import { default as oo } from "./index.es27.js";
|
|
27
|
+
import { Form as eo, FormControl as to, FormDescription as ao, FormField as fo, FormItem as lo, FormLabel as mo, FormMessage as po, useFormField as xo } from "./index.es28.js";
|
|
28
|
+
import { Dialog as so, DialogClose as uo, DialogContent as no, DialogDescription as go, DialogFooter as Do, DialogHeader as co, DialogOverlay as Fo, DialogPortal as To, DialogTitle as bo, DialogTrigger as Ao } from "./index.es29.js";
|
|
29
|
+
import { ScrollArea as Co, ScrollBar as Lo } from "./index.es30.js";
|
|
28
30
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
F as Alert,
|
|
32
|
+
T as AlertDescription,
|
|
33
|
+
b as AlertTitle,
|
|
34
|
+
n as AppLink,
|
|
35
|
+
e as Button,
|
|
34
36
|
a as ButtonIcon,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
l as ButtonPrimary,
|
|
38
|
+
p as ButtonSecondary,
|
|
39
|
+
i as ButtonText,
|
|
40
|
+
u as ButtonUnique,
|
|
41
|
+
z as CTA,
|
|
40
42
|
Y as CardsGridSection,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
M as Checkbox,
|
|
44
|
+
R as CheckboxWithLabel,
|
|
45
|
+
so as Dialog,
|
|
46
|
+
uo as DialogClose,
|
|
47
|
+
no as DialogContent,
|
|
48
|
+
go as DialogDescription,
|
|
49
|
+
Do as DialogFooter,
|
|
50
|
+
co as DialogHeader,
|
|
51
|
+
Fo as DialogOverlay,
|
|
52
|
+
To as DialogPortal,
|
|
53
|
+
bo as DialogTitle,
|
|
54
|
+
Ao as DialogTrigger,
|
|
55
|
+
eo as Form,
|
|
56
|
+
to as FormControl,
|
|
57
|
+
ao as FormDescription,
|
|
58
|
+
fo as FormField,
|
|
59
|
+
lo as FormItem,
|
|
60
|
+
mo as FormLabel,
|
|
61
|
+
po as FormMessage,
|
|
50
62
|
_ as Heading,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
J as Hero,
|
|
64
|
+
W as Informer,
|
|
65
|
+
B as Input,
|
|
66
|
+
L as InputWithLabel,
|
|
55
67
|
y as Label,
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
N as Partners,
|
|
69
|
+
v as SafeHtmlRenderer,
|
|
70
|
+
Co as ScrollArea,
|
|
71
|
+
Lo as ScrollBar,
|
|
58
72
|
V as Section,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
73
|
+
j as Tag,
|
|
74
|
+
oo as Text,
|
|
75
|
+
h as Textarea,
|
|
62
76
|
H as TextareaWithLabel,
|
|
63
|
-
|
|
64
|
-
|
|
77
|
+
D as registerAdapter,
|
|
78
|
+
xo as useFormField
|
|
65
79
|
};
|
|
66
80
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.es10.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { cva as d } from "class-variance-authority";
|
|
3
|
-
import { cn as l } from "./index.
|
|
3
|
+
import { cn as l } from "./index.es31.js";
|
|
4
4
|
const i = d(
|
|
5
5
|
"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
6
6
|
{
|
package/dist/index.es11.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import { cva as n } from "class-variance-authority";
|
|
3
|
-
import { cn as l } from "./index.
|
|
3
|
+
import { cn as l } from "./index.es31.js";
|
|
4
4
|
const d = n(
|
|
5
5
|
"flex h-11 w-full rounded-lg border border-transparent border-b bg-background px-3 pt-[14px] pb-[11px] typo_variant_small-body ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 duration-200 transition-colors",
|
|
6
6
|
{
|
package/dist/index.es13.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cva as i } from "class-variance-authority";
|
|
3
|
-
import { cn as n } from "./index.
|
|
3
|
+
import { cn as n } from "./index.es31.js";
|
|
4
4
|
const s = i(
|
|
5
5
|
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible0:ring-2 focus-visible0:ring-ring focus-visible0:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
6
6
|
{
|
package/dist/index.es15.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-label";
|
|
3
3
|
import { cva as l } from "class-variance-authority";
|
|
4
|
-
import { cn as n } from "./index.
|
|
4
|
+
import { cn as n } from "./index.es31.js";
|
|
5
5
|
const s = l(
|
|
6
6
|
"typo_variant_h6 leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 duration-200",
|
|
7
7
|
{
|
package/dist/index.es16.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Popover as n, PopoverTrigger as a, PopoverContent as l } from "./index.
|
|
2
|
-
import { TooltipProvider as m, Tooltip as i, TooltipTrigger as c, TooltipContent as s } from "./index.
|
|
1
|
+
import { Popover as n, PopoverTrigger as a, PopoverContent as l } from "./index.es33.js";
|
|
2
|
+
import { TooltipProvider as m, Tooltip as i, TooltipTrigger as c, TooltipContent as s } from "./index.es34.js";
|
|
3
3
|
import { Button as r } from "./index.es2.js";
|
|
4
4
|
import { Info as o } from "lucide-react";
|
|
5
5
|
import e from "react";
|
package/dist/index.es18.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as t from "@radix-ui/react-checkbox";
|
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
import { Check16X16 as c } from "@iit/precision-ui-icons";
|
|
4
4
|
import { cva as n } from "class-variance-authority";
|
|
5
|
-
import { cn as a } from "./index.
|
|
5
|
+
import { cn as a } from "./index.es31.js";
|
|
6
6
|
const d = n(
|
|
7
7
|
"peer h-[18px] w-[18px] shrink-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 duration-200",
|
|
8
8
|
{
|
package/dist/index.es19.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e, { useId as l } from "react";
|
|
2
2
|
import { cva as c } from "class-variance-authority";
|
|
3
|
-
import { cn as s } from "./index.
|
|
3
|
+
import { cn as s } from "./index.es31.js";
|
|
4
4
|
import { Checkbox as m } from "./index.es18.js";
|
|
5
5
|
const d = c("items-top flex space-x-2", {
|
|
6
6
|
variants: {
|
package/dist/index.es2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { Slot as d } from "@radix-ui/react-slot";
|
|
3
3
|
import { cva as c } from "class-variance-authority";
|
|
4
|
-
import { cn as u } from "./index.
|
|
4
|
+
import { cn as u } from "./index.es31.js";
|
|
5
5
|
const l = c(
|
|
6
6
|
"inline-flex items-center justify-center whitespace-nowrap rounded-full typo_variant_button ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed border-none",
|
|
7
7
|
{
|
package/dist/index.es20.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { cva as n } from "class-variance-authority";
|
|
3
|
-
import { cn as o } from "./index.
|
|
3
|
+
import { cn as o } from "./index.es31.js";
|
|
4
4
|
const p = n(
|
|
5
5
|
"inline-flex items-center rounded-sm pt-[9px] pb-[4px] px-[13px] typo_variant_caption",
|
|
6
6
|
{
|
package/dist/index.es22.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import N from "./index.
|
|
1
|
+
import N from "./index.es35.js";
|
|
2
2
|
import d from "./index.es4.js";
|
|
3
3
|
import v from "./index.es26.js";
|
|
4
4
|
import e from "react";
|
|
5
5
|
import y from "./index.es17.js";
|
|
6
|
-
import C from "./index.
|
|
6
|
+
import C from "./index.es36.js";
|
|
7
7
|
import x from "./index.es27.js";
|
|
8
|
-
import { cn as u } from "./index.
|
|
8
|
+
import { cn as u } from "./index.es31.js";
|
|
9
9
|
import { cva as p } from "class-variance-authority";
|
|
10
10
|
import { getAdapter as H } from "./index.es9.js";
|
|
11
11
|
const V = p("", {
|
package/dist/index.es24.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { cva as u } from "class-variance-authority";
|
|
3
|
-
import { cn as y } from "./index.
|
|
3
|
+
import { cn as y } from "./index.es31.js";
|
|
4
4
|
import v from "./index.es26.js";
|
|
5
5
|
import E from "./index.es27.js";
|
|
6
6
|
import N from "./index.es4.js";
|
package/dist/index.es25.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import A from "./index.es24.js";
|
|
2
|
-
import e from "./index.
|
|
3
|
-
import E from "./index.
|
|
4
|
-
import G from "./index.
|
|
5
|
-
import R from "./index.
|
|
6
|
-
import S from "./index.
|
|
7
|
-
import I from "./index.
|
|
8
|
-
import _ from "./index.
|
|
2
|
+
import e from "./index.es37.js";
|
|
3
|
+
import E from "./index.es38.js";
|
|
4
|
+
import G from "./index.es39.js";
|
|
5
|
+
import R from "./index.es40.js";
|
|
6
|
+
import S from "./index.es41.js";
|
|
7
|
+
import I from "./index.es42.js";
|
|
8
|
+
import _ from "./index.es43.js";
|
|
9
9
|
import t from "react";
|
|
10
10
|
const k = {
|
|
11
11
|
Advantage: e,
|
package/dist/index.es26.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { forwardRef as f } from "react";
|
|
2
|
-
import { typeVariants as p } from "./index.
|
|
2
|
+
import { typeVariants as p } from "./index.es44.js";
|
|
3
3
|
const e = f(
|
|
4
4
|
({ level: a, as: n, className: t = "", children: r, id: o, ...i }, s) => {
|
|
5
5
|
const d = n || `h${a}`, m = p({ variant: `h${a}` });
|
package/dist/index.es27.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c, { forwardRef as f } from "react";
|
|
2
|
-
import { typeVariants as d } from "./index.
|
|
2
|
+
import { typeVariants as d } from "./index.es44.js";
|
|
3
3
|
const e = f(
|
|
4
4
|
({ variant: a = "body", as: o, className: t = "", children: r, ...n }, s) => {
|
|
5
5
|
const m = o || "p", p = d({ variant: a });
|
package/dist/index.es28.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as e from "react";
|
|
|
2
2
|
import { FormProvider as f, Controller as F, useFormContext as u } from "react-hook-form";
|
|
3
3
|
import { Label as p } from "./index.es15.js";
|
|
4
4
|
import { Slot as I } from "@radix-ui/react-slot";
|
|
5
|
-
import { cn as a } from "./index.
|
|
5
|
+
import { cn as a } from "./index.es31.js";
|
|
6
6
|
const R = f, c = e.createContext(
|
|
7
7
|
{}
|
|
8
8
|
), $ = ({
|
package/dist/index.es29.js
CHANGED
|
@@ -1,9 +1,93 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import * as a from "@radix-ui/react-dialog";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { ScrollArea as i } from "./index.es30.js";
|
|
4
|
+
import { X as d } from "lucide-react";
|
|
5
|
+
import { cn as l } from "./index.es31.js";
|
|
6
|
+
const D = a.Root, v = a.Trigger, c = a.Portal, E = a.Close, n = e.forwardRef(({ className: t, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
7
|
+
a.Overlay,
|
|
8
|
+
{
|
|
9
|
+
ref: s,
|
|
10
|
+
className: l(
|
|
11
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
12
|
+
t
|
|
13
|
+
),
|
|
14
|
+
...o
|
|
15
|
+
}
|
|
16
|
+
));
|
|
17
|
+
n.displayName = a.Overlay.displayName;
|
|
18
|
+
const m = e.forwardRef(({ className: t, children: o, ...s }, r) => /* @__PURE__ */ e.createElement(c, null, /* @__PURE__ */ e.createElement(n, null), /* @__PURE__ */ e.createElement(
|
|
19
|
+
a.Content,
|
|
20
|
+
{
|
|
21
|
+
ref: r,
|
|
22
|
+
className: l(
|
|
23
|
+
"fixed left-[50%] top-[50%] z-50 grid max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg overflow-hidden max-h-[calc(100dvh-0.75rem)] w-[calc(100dvw-0.75rem)] p-0",
|
|
24
|
+
t
|
|
25
|
+
),
|
|
26
|
+
...s
|
|
27
|
+
},
|
|
28
|
+
/* @__PURE__ */ e.createElement(i, { className: "max-h-[calc(100dvh-1rem)]" }, /* @__PURE__ */ e.createElement("div", { className: "p-6" }, o)),
|
|
29
|
+
/* @__PURE__ */ e.createElement(a.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ e.createElement(d, { className: "h-4 w-4" }), /* @__PURE__ */ e.createElement("span", { className: "sr-only" }, "Close"))
|
|
30
|
+
)));
|
|
31
|
+
m.displayName = a.Content.displayName;
|
|
32
|
+
const f = ({
|
|
33
|
+
className: t,
|
|
34
|
+
...o
|
|
35
|
+
}) => /* @__PURE__ */ e.createElement(
|
|
36
|
+
"div",
|
|
37
|
+
{
|
|
38
|
+
className: l(
|
|
39
|
+
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
40
|
+
t
|
|
41
|
+
),
|
|
42
|
+
...o
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
f.displayName = "DialogHeader";
|
|
46
|
+
const p = ({
|
|
47
|
+
className: t,
|
|
48
|
+
...o
|
|
49
|
+
}) => /* @__PURE__ */ e.createElement(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: l(
|
|
53
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
54
|
+
t
|
|
55
|
+
),
|
|
56
|
+
...o
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
p.displayName = "DialogFooter";
|
|
60
|
+
const g = e.forwardRef(({ className: t, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
61
|
+
a.Title,
|
|
62
|
+
{
|
|
63
|
+
ref: s,
|
|
64
|
+
className: l(
|
|
65
|
+
"text-lg font-semibold leading-none tracking-tight",
|
|
66
|
+
t
|
|
67
|
+
),
|
|
68
|
+
...o
|
|
69
|
+
}
|
|
70
|
+
));
|
|
71
|
+
g.displayName = a.Title.displayName;
|
|
72
|
+
const u = e.forwardRef(({ className: t, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
73
|
+
a.Description,
|
|
74
|
+
{
|
|
75
|
+
ref: s,
|
|
76
|
+
className: l("text-sm text-muted-foreground", t),
|
|
77
|
+
...o
|
|
78
|
+
}
|
|
79
|
+
));
|
|
80
|
+
u.displayName = a.Description.displayName;
|
|
6
81
|
export {
|
|
7
|
-
|
|
82
|
+
D as Dialog,
|
|
83
|
+
E as DialogClose,
|
|
84
|
+
m as DialogContent,
|
|
85
|
+
u as DialogDescription,
|
|
86
|
+
p as DialogFooter,
|
|
87
|
+
f as DialogHeader,
|
|
88
|
+
n as DialogOverlay,
|
|
89
|
+
c as DialogPortal,
|
|
90
|
+
g as DialogTitle,
|
|
91
|
+
v as DialogTrigger
|
|
8
92
|
};
|
|
9
93
|
//# sourceMappingURL=index.es29.js.map
|
package/dist/index.es29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es29.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.es29.js","sources":["../src/components/ui/dialog.tsx"],"sourcesContent":["import * as DialogPrimitive from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { ScrollArea } from './scroll-area'\nimport { X } from 'lucide-react'\nimport { cn } from '@/lib/utils/cn'\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n 'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n 'fixed left-[50%] top-[50%] z-50 grid max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg overflow-hidden max-h-[calc(100dvh-0.75rem)] w-[calc(100dvw-0.75rem)] p-0',\n className\n )}\n {...props}\n >\n <ScrollArea className=\"max-h-[calc(100dvh-1rem)]\">\n <div className=\"p-6\">{children}</div>\n </ScrollArea>\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-1.5 text-center sm:text-left',\n className\n )}\n {...props}\n />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',\n className\n )}\n {...props}\n />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\n 'text-lg font-semibold leading-none tracking-tight',\n className\n )}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogClose,\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"names":["Dialog","DialogPrimitive","DialogTrigger","DialogPortal","DialogClose","DialogOverlay","React","className","props","ref","cn","DialogContent","children","ScrollArea","X","DialogHeader","DialogFooter","DialogTitle","DialogDescription"],"mappings":";;;;;AAOA,MAAMA,IAASC,EAAgB,M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AT;AAAA,EACA,GAAGC;AACL,MACE,gBAAAF,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWI;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN;AAEFQ,EAAa,cAAc;AAErB,MAAAC,IAAcX,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAACL,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAQ;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDS,EAAY,cAAchB,EAAgB,MAAM;AAE1C,MAAAiB,IAAoBZ,EAAM,WAG9B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAACL,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAQ;AAAA,IACA,WAAWC,EAAG,iCAAiCH,CAAS;AAAA,IACvD,GAAGC;AAAA,EAAA;AACN,CACD;AACDU,EAAkB,cAAcjB,EAAgB,YAAY;"}
|
package/dist/index.es3.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import e, { Fragment as c } from "react";
|
|
2
2
|
import { Button as h } from "./index.es2.js";
|
|
3
3
|
import { cva as l } from "class-variance-authority";
|
|
4
|
-
import { cn as u } from "./index.
|
|
5
|
-
import { iconDefiner as d } from "./index.
|
|
4
|
+
import { cn as u } from "./index.es31.js";
|
|
5
|
+
import { iconDefiner as d } from "./index.es32.js";
|
|
6
6
|
const m = l(
|
|
7
7
|
"rounded-lg p-[10px] transition-all hover:rounded-[24px]",
|
|
8
8
|
{
|
package/dist/index.es30.js
CHANGED
|
@@ -1,25 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import * as r from "@radix-ui/react-scroll-area";
|
|
3
|
+
import { cn as c } from "./index.es31.js";
|
|
4
|
+
const m = e.forwardRef(({ className: a, children: l, ...o }, t) => /* @__PURE__ */ e.createElement(
|
|
5
|
+
r.Root,
|
|
6
|
+
{
|
|
7
|
+
ref: t,
|
|
8
|
+
className: c("relative overflow-hidden", a),
|
|
9
|
+
...o
|
|
10
|
+
},
|
|
11
|
+
/* @__PURE__ */ e.createElement(r.Viewport, { className: "h-full w-full rounded-[inherit]" }, l),
|
|
12
|
+
/* @__PURE__ */ e.createElement(n, null),
|
|
13
|
+
/* @__PURE__ */ e.createElement(r.Corner, null)
|
|
14
|
+
));
|
|
15
|
+
m.displayName = r.Root.displayName;
|
|
16
|
+
const n = e.forwardRef(({ className: a, orientation: l = "vertical", ...o }, t) => /* @__PURE__ */ e.createElement(
|
|
17
|
+
r.ScrollAreaScrollbar,
|
|
18
|
+
{
|
|
19
|
+
ref: t,
|
|
20
|
+
orientation: l,
|
|
21
|
+
className: c(
|
|
22
|
+
"flex touch-none select-none transition-colors",
|
|
23
|
+
l === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
24
|
+
l === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
25
|
+
a
|
|
26
|
+
),
|
|
27
|
+
...o
|
|
28
|
+
},
|
|
29
|
+
/* @__PURE__ */ e.createElement(r.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
30
|
+
));
|
|
31
|
+
n.displayName = r.ScrollAreaScrollbar.displayName;
|
|
22
32
|
export {
|
|
23
|
-
|
|
33
|
+
m as ScrollArea,
|
|
34
|
+
n as ScrollBar
|
|
24
35
|
};
|
|
25
36
|
//# sourceMappingURL=index.es30.js.map
|
package/dist/index.es30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es30.js","sources":["../src/components/ui/
|
|
1
|
+
{"version":3,"file":"index.es30.js","sources":["../src/components/ui/scroll-area.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'\n\nimport { cn } from '@/lib/utils/cn'\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <ScrollAreaPrimitive.Root\n ref={ref}\n className={cn('relative overflow-hidden', className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport className=\"h-full w-full rounded-[inherit]\">\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n))\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>,\n React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n>(({ className, orientation = 'vertical', ...props }, ref) => (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n 'flex touch-none select-none transition-colors',\n orientation === 'vertical' &&\n 'h-full w-2.5 border-l border-l-transparent p-[1px]',\n orientation === 'horizontal' &&\n 'h-2.5 flex-col border-t border-t-transparent p-[1px]',\n className\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-full bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n))\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName\n\nexport { ScrollArea, ScrollBar }\n"],"names":["ScrollArea","React","className","children","props","ref","ScrollAreaPrimitive","cn","ScrollBar","orientation"],"mappings":";;;AAKM,MAAAA,IAAaC,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,EAAM,GAAGC,MACpC,gBAAAJ,EAAA;AAAA,EAACK,EAAoB;AAAA,EAApB;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,4BAA4BL,CAAS;AAAA,IAClD,GAAGE;AAAA,EAAA;AAAA,kCAEHE,EAAoB,UAApB,EAA6B,WAAU,qCACrCH,CACH;AAAA,kCACCK,GAAU,IAAA;AAAA,EACX,gBAAAP,EAAA,cAACK,EAAoB,QAApB,IAA2B;AAC9B,CACD;AACDN,EAAW,cAAcM,EAAoB,KAAK;AAE5C,MAAAE,IAAYP,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,aAAAO,IAAc,YAAY,GAAGL,EAAM,GAAGC,MACpD,gBAAAJ,EAAA;AAAA,EAACK,EAAoB;AAAA,EAApB;AAAA,IACC,KAAAD;AAAA,IACA,aAAAI;AAAA,IACA,WAAWF;AAAA,MACT;AAAA,MACAE,MAAgB,cACd;AAAA,MACFA,MAAgB,gBACd;AAAA,MACFP;AAAA,IACF;AAAA,IACC,GAAGE;AAAA,EAAA;AAAA,EAEH,gBAAAH,EAAA,cAAAK,EAAoB,iBAApB,EAAoC,WAAU,0CAAyC;AAC1F,CACD;AACDE,EAAU,cAAcF,EAAoB,oBAAoB;"}
|
package/dist/index.es31.js
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
{
|
|
7
|
-
ref: n,
|
|
8
|
-
align: a,
|
|
9
|
-
sideOffset: r,
|
|
10
|
-
className: i(
|
|
11
|
-
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
12
|
-
o
|
|
13
|
-
),
|
|
14
|
-
...d
|
|
15
|
-
}
|
|
16
|
-
)));
|
|
17
|
-
s.displayName = t.Content.displayName;
|
|
1
|
+
import { clsx as o } from "clsx";
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
function n(...r) {
|
|
4
|
+
return t(o(r));
|
|
5
|
+
}
|
|
18
6
|
export {
|
|
19
|
-
|
|
20
|
-
s as PopoverContent,
|
|
21
|
-
l as PopoverTrigger
|
|
7
|
+
n as cn
|
|
22
8
|
};
|
|
23
9
|
//# sourceMappingURL=index.es31.js.map
|
package/dist/index.es31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es31.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index.es31.js","sources":["../src/lib/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\r\nimport { twMerge } from 'tailwind-merge'\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n return twMerge(clsx(inputs))\r\n}\r\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":";;AAGO,SAASA,KAAMC,GAAsB;AACnC,SAAAC,EAAQC,EAAKF,CAAM,CAAC;AAC7B;"}
|