@lglab/compose-ui 0.5.0 → 0.7.0
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/meter.d.ts +33 -0
- package/dist/components/meter.d.ts.map +1 -0
- package/dist/components/progress.d.ts +30 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +337 -227
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Meter as BaseMeter } from '@base-ui/react/meter';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type MeterRootProps = React.ComponentProps<typeof BaseMeter.Root> & {
|
|
4
|
+
/** Whether to animate the meter from 0 to its value on mount */
|
|
5
|
+
animated?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const MeterRoot: {
|
|
8
|
+
({ className, animated, value, ...props }: MeterRootProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
type MeterTrackProps = React.ComponentProps<typeof BaseMeter.Track>;
|
|
12
|
+
declare const MeterTrack: {
|
|
13
|
+
({ className, ...props }: MeterTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
type MeterIndicatorProps = React.ComponentProps<typeof BaseMeter.Indicator>;
|
|
17
|
+
declare const MeterIndicator: {
|
|
18
|
+
({ className, ...props }: MeterIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
type MeterValueProps = React.ComponentProps<typeof BaseMeter.Value>;
|
|
22
|
+
declare const MeterValue: {
|
|
23
|
+
({ className, ...props }: MeterValueProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
type MeterLabelProps = React.ComponentProps<typeof BaseMeter.Label>;
|
|
27
|
+
declare const MeterLabel: {
|
|
28
|
+
({ className, ...props }: MeterLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
31
|
+
export { MeterRoot, MeterTrack, MeterIndicator, MeterValue, MeterLabel };
|
|
32
|
+
export type { MeterRootProps, MeterTrackProps, MeterIndicatorProps, MeterValueProps, MeterLabelProps, };
|
|
33
|
+
//# sourceMappingURL=meter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meter.d.ts","sourceRoot":"","sources":["../../src/components/meter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG;IAClE,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,SAAS;+CAA8C,cAAc;;CAuB1E,CAAA;AAQD,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAA;AAEnE,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAU3D,CAAA;AAQD,KAAK,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAA;AAE3E,QAAA,MAAM,cAAc;8BAA6B,mBAAmB;;CAUnE,CAAA;AAQD,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAA;AAEnE,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAO3D,CAAA;AAQD,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAA;AAEnE,QAAA,MAAM,UAAU;8BAA6B,eAAe;;CAO3D,CAAA;AAQD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,CAAA;AAExE,YAAY,EACV,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,eAAe,GAChB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Progress as BaseProgress } from '@base-ui/react/progress';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type ProgressRootProps = React.ComponentProps<typeof BaseProgress.Root>;
|
|
4
|
+
declare const ProgressRoot: {
|
|
5
|
+
({ className, ...props }: ProgressRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
type ProgressTrackProps = React.ComponentProps<typeof BaseProgress.Track>;
|
|
9
|
+
declare const ProgressTrack: {
|
|
10
|
+
({ className, ...props }: ProgressTrackProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
type ProgressIndicatorProps = React.ComponentProps<typeof BaseProgress.Indicator>;
|
|
14
|
+
declare const ProgressIndicator: {
|
|
15
|
+
({ className, ...props }: ProgressIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
type ProgressValueProps = React.ComponentProps<typeof BaseProgress.Value>;
|
|
19
|
+
declare const ProgressValue: {
|
|
20
|
+
({ className, ...props }: ProgressValueProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
type ProgressLabelProps = React.ComponentProps<typeof BaseProgress.Label>;
|
|
24
|
+
declare const ProgressLabel: {
|
|
25
|
+
({ className, ...props }: ProgressLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
export { ProgressRoot, ProgressTrack, ProgressIndicator, ProgressValue, ProgressLabel };
|
|
29
|
+
export type { ProgressRootProps, ProgressTrackProps, ProgressIndicatorProps, ProgressValueProps, ProgressLabelProps, };
|
|
30
|
+
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/components/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;AAEvE,QAAA,MAAM,YAAY;8BAA6B,iBAAiB;;CAE/D,CAAA;AAQD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAUjE,CAAA;AAQD,KAAK,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAA;AAEjF,QAAA,MAAM,iBAAiB;8BAA6B,sBAAsB;;CAUzE,CAAA;AAQD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAOjE,CAAA;AAQD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAA;AAEzE,QAAA,MAAM,aAAa;8BAA6B,kBAAkB;;CAOjE,CAAA;AAQD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAE,CAAA;AAEvF,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,GACnB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export { TabsRoot, TabsList, TabsTab, TabsIndicator, TabsPanel } from './compone
|
|
|
8
8
|
export { DialogRoot, DialogTrigger, DialogPortal, DialogBackdrop, DialogPopup, DialogTitle, DialogDescription, DialogClose, DialogHeader, DialogFooter, } from './components/dialog';
|
|
9
9
|
export { DrawerRoot, DrawerTrigger, DrawerPortal, DrawerBackdrop, DrawerPopup, DrawerTitle, DrawerDescription, DrawerClose, DrawerHeader, DrawerContent, DrawerFooter, } from './components/drawer';
|
|
10
10
|
export { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, AccordionPanel, } from './components/accordion';
|
|
11
|
+
export { MeterRoot, MeterTrack, MeterIndicator, MeterValue, MeterLabel, } from './components/meter';
|
|
12
|
+
export { Meter } from '@base-ui/react/meter';
|
|
13
|
+
export { ProgressRoot, ProgressTrack, ProgressIndicator, ProgressValue, ProgressLabel, } from './components/progress';
|
|
14
|
+
export { Progress } from '@base-ui/react/progress';
|
|
11
15
|
export type { ButtonProps } from './components/button';
|
|
12
16
|
export type { AlertDialogRootProps, AlertDialogTriggerProps, AlertDialogPortalProps, AlertDialogBackdropProps, AlertDialogViewportProps, AlertDialogPopupProps, AlertDialogTitleProps, AlertDialogDescriptionProps, AlertDialogCloseProps, } from './components/alert-dialog';
|
|
13
17
|
export type { AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarStackProps, } from './components/avatar';
|
|
@@ -16,4 +20,6 @@ export type { TabsRootProps, TabsListProps, TabsTabProps, TabsIndicatorProps, Ta
|
|
|
16
20
|
export type { DialogRootProps, DialogTriggerProps, DialogPortalProps, DialogBackdropProps, DialogPopupProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, DialogHeaderProps, DialogFooterProps, } from './components/dialog';
|
|
17
21
|
export type { DrawerRootProps, DrawerTriggerProps, DrawerPortalProps, DrawerBackdropProps, DrawerPopupProps, DrawerTitleProps, DrawerDescriptionProps, DrawerCloseProps, DrawerHeaderProps, DrawerContentProps, DrawerFooterProps, } from './components/drawer';
|
|
18
22
|
export type { AccordionRootProps, AccordionItemProps, AccordionHeaderProps, AccordionTriggerProps, AccordionPanelProps, } from './components/accordion';
|
|
23
|
+
export type { MeterRootProps, MeterTrackProps, MeterIndicatorProps, MeterValueProps, MeterLabelProps, } from './components/meter';
|
|
24
|
+
export type { ProgressRootProps, ProgressTrackProps, ProgressIndicatorProps, ProgressValueProps, ProgressLabelProps, } from './components/progress';
|
|
19
25
|
//# 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,MAAM,qBAAqB,CAAA;AAC5C,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACzF,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,UAAU,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as t, jsxs as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { cva as
|
|
5
|
-
import { clsx as
|
|
6
|
-
import { twMerge as
|
|
7
|
-
import { AlertDialog as
|
|
8
|
-
import { AlertDialog as
|
|
9
|
-
import { Avatar as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import * as
|
|
12
|
-
import { ScrollArea as
|
|
13
|
-
import { Tabs as
|
|
14
|
-
import { Dialog as
|
|
15
|
-
import { Accordion as
|
|
16
|
-
|
|
2
|
+
import { jsx as t, jsxs as A } from "react/jsx-runtime";
|
|
3
|
+
import { Button as z } from "@base-ui/react/button";
|
|
4
|
+
import { cva as d } from "class-variance-authority";
|
|
5
|
+
import { clsx as V } from "clsx";
|
|
6
|
+
import { twMerge as R } from "tailwind-merge";
|
|
7
|
+
import { AlertDialog as n } from "@base-ui/react/alert-dialog";
|
|
8
|
+
import { AlertDialog as la } from "@base-ui/react/alert-dialog";
|
|
9
|
+
import { Avatar as w } from "@base-ui/react/avatar";
|
|
10
|
+
import { Avatar as ia } from "@base-ui/react/avatar";
|
|
11
|
+
import * as x from "react";
|
|
12
|
+
import { ScrollArea as m } from "@base-ui/react/scroll-area";
|
|
13
|
+
import { Tabs as f } from "@base-ui/react/tabs";
|
|
14
|
+
import { Dialog as s } from "@base-ui/react/dialog";
|
|
15
|
+
import { Accordion as b } from "@base-ui/react/accordion";
|
|
16
|
+
import { Meter as y } from "@base-ui/react/meter";
|
|
17
|
+
import { Meter as da } from "@base-ui/react/meter";
|
|
18
|
+
import { Progress as N } from "@base-ui/react/progress";
|
|
19
|
+
import { Progress as ua } from "@base-ui/react/progress";
|
|
20
|
+
const u = d(
|
|
17
21
|
[
|
|
18
22
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
|
|
19
23
|
],
|
|
@@ -43,44 +47,44 @@ const d = n(
|
|
|
43
47
|
}
|
|
44
48
|
);
|
|
45
49
|
function r(...e) {
|
|
46
|
-
return
|
|
50
|
+
return R(V(e));
|
|
47
51
|
}
|
|
48
52
|
const C = ({
|
|
49
53
|
className: e,
|
|
50
54
|
variant: a,
|
|
51
55
|
size: o,
|
|
52
|
-
disabled:
|
|
53
|
-
children:
|
|
54
|
-
...
|
|
56
|
+
disabled: l,
|
|
57
|
+
children: i,
|
|
58
|
+
...c
|
|
55
59
|
}) => /* @__PURE__ */ t(
|
|
56
|
-
|
|
60
|
+
z,
|
|
57
61
|
{
|
|
58
|
-
className: r(
|
|
59
|
-
disabled:
|
|
60
|
-
...
|
|
61
|
-
children:
|
|
62
|
+
className: r(u({ variant: a, size: o }), e),
|
|
63
|
+
disabled: l,
|
|
64
|
+
...c,
|
|
65
|
+
children: i
|
|
62
66
|
}
|
|
63
67
|
);
|
|
64
68
|
C.displayName = "Button";
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
const
|
|
69
|
+
const S = (e) => /* @__PURE__ */ t(n.Root, { ...e });
|
|
70
|
+
S.displayName = "AlertDialogRoot";
|
|
71
|
+
const I = ({
|
|
68
72
|
className: e,
|
|
69
73
|
variant: a,
|
|
70
74
|
size: o,
|
|
71
|
-
...
|
|
75
|
+
...l
|
|
72
76
|
}) => /* @__PURE__ */ t(
|
|
73
|
-
|
|
77
|
+
n.Trigger,
|
|
74
78
|
{
|
|
75
|
-
className: r(
|
|
76
|
-
...
|
|
79
|
+
className: r(u({ variant: a, size: o }), e),
|
|
80
|
+
...l
|
|
77
81
|
}
|
|
78
82
|
);
|
|
79
|
-
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
83
|
+
I.displayName = "AlertDialogTrigger";
|
|
84
|
+
const F = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
|
|
85
|
+
F.displayName = "AlertDialogPortal";
|
|
86
|
+
const M = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
87
|
+
n.Backdrop,
|
|
84
88
|
{
|
|
85
89
|
className: r(
|
|
86
90
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -91,16 +95,16 @@ const B = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
91
95
|
...a
|
|
92
96
|
}
|
|
93
97
|
);
|
|
94
|
-
|
|
95
|
-
const
|
|
96
|
-
|
|
98
|
+
M.displayName = "AlertDialogBackdrop";
|
|
99
|
+
const B = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
100
|
+
n.Viewport,
|
|
97
101
|
{
|
|
98
102
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
99
103
|
...a
|
|
100
104
|
}
|
|
101
105
|
);
|
|
102
|
-
|
|
103
|
-
const
|
|
106
|
+
B.displayName = "AlertDialogViewport";
|
|
107
|
+
const j = d(
|
|
104
108
|
[
|
|
105
109
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
106
110
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -124,38 +128,38 @@ const F = n(
|
|
|
124
128
|
size: "default"
|
|
125
129
|
}
|
|
126
130
|
}
|
|
127
|
-
),
|
|
128
|
-
|
|
131
|
+
), L = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
132
|
+
n.Popup,
|
|
129
133
|
{
|
|
130
|
-
className: r(
|
|
134
|
+
className: r(j({ size: a }), e),
|
|
131
135
|
...o
|
|
132
136
|
}
|
|
133
137
|
);
|
|
134
|
-
|
|
138
|
+
L.displayName = "AlertDialogPopup";
|
|
135
139
|
const H = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
136
|
-
|
|
140
|
+
n.Title,
|
|
137
141
|
{
|
|
138
142
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
139
143
|
...a
|
|
140
144
|
}
|
|
141
145
|
);
|
|
142
146
|
H.displayName = "AlertDialogTitle";
|
|
143
|
-
const
|
|
144
|
-
|
|
147
|
+
const q = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("mt-2", e), ...a });
|
|
148
|
+
q.displayName = "AlertDialogDescription";
|
|
145
149
|
const _ = ({
|
|
146
150
|
className: e,
|
|
147
151
|
variant: a,
|
|
148
152
|
size: o,
|
|
149
|
-
...
|
|
153
|
+
...l
|
|
150
154
|
}) => /* @__PURE__ */ t(
|
|
151
|
-
|
|
155
|
+
n.Close,
|
|
152
156
|
{
|
|
153
|
-
className: r(
|
|
154
|
-
...
|
|
157
|
+
className: r(u({ variant: a ?? "outline", size: o }), e),
|
|
158
|
+
...l
|
|
155
159
|
}
|
|
156
160
|
);
|
|
157
161
|
_.displayName = "AlertDialogClose";
|
|
158
|
-
const
|
|
162
|
+
const k = d(
|
|
159
163
|
[
|
|
160
164
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
161
165
|
"bg-muted text-foreground",
|
|
@@ -173,18 +177,18 @@ const w = n(
|
|
|
173
177
|
size: "default"
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
|
-
),
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
+
), T = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(w.Root, { className: r(k({ size: a }), e), ...o });
|
|
181
|
+
T.displayName = "AvatarRoot";
|
|
182
|
+
const E = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
183
|
+
w.Image,
|
|
180
184
|
{
|
|
181
185
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
182
186
|
...a
|
|
183
187
|
}
|
|
184
188
|
);
|
|
185
|
-
|
|
186
|
-
const
|
|
187
|
-
|
|
189
|
+
E.displayName = "AvatarImage";
|
|
190
|
+
const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
191
|
+
w.Fallback,
|
|
188
192
|
{
|
|
189
193
|
className: r(
|
|
190
194
|
"flex h-full w-full items-center justify-center font-medium",
|
|
@@ -193,27 +197,27 @@ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
193
197
|
...a
|
|
194
198
|
}
|
|
195
199
|
);
|
|
196
|
-
|
|
197
|
-
const
|
|
200
|
+
$.displayName = "AvatarFallback";
|
|
201
|
+
const G = ({
|
|
198
202
|
"aria-label": e,
|
|
199
203
|
maxVisible: a,
|
|
200
204
|
className: o,
|
|
201
|
-
children:
|
|
205
|
+
children: l
|
|
202
206
|
}) => {
|
|
203
|
-
const
|
|
204
|
-
const
|
|
205
|
-
return
|
|
207
|
+
const i = x.Children.toArray(l), c = i.length, g = a !== void 0 ? Math.min(a, c) : c, v = c - g, h = i.slice(0, g), P = (() => {
|
|
208
|
+
const p = i[0];
|
|
209
|
+
return x.isValidElement(p) && p.type === T ? p.props.size ?? "default" : "default";
|
|
206
210
|
})();
|
|
207
|
-
return /* @__PURE__ */
|
|
208
|
-
|
|
209
|
-
v > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */
|
|
211
|
+
return /* @__PURE__ */ A("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
|
|
212
|
+
h.map((p, D) => /* @__PURE__ */ t("li", { children: p }, D)),
|
|
213
|
+
v > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ A(
|
|
210
214
|
"span",
|
|
211
215
|
{
|
|
212
216
|
className: r(
|
|
213
217
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
214
218
|
"bg-muted text-foreground border-2 border-background",
|
|
215
219
|
"font-medium",
|
|
216
|
-
|
|
220
|
+
k({ size: P })
|
|
217
221
|
),
|
|
218
222
|
children: [
|
|
219
223
|
"+",
|
|
@@ -223,25 +227,25 @@ const E = ({
|
|
|
223
227
|
) })
|
|
224
228
|
] });
|
|
225
229
|
};
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
const
|
|
230
|
-
|
|
230
|
+
G.displayName = "AvatarStack";
|
|
231
|
+
const J = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Root, { className: r("relative", e), ...a });
|
|
232
|
+
J.displayName = "ScrollAreaRoot";
|
|
233
|
+
const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
234
|
+
m.Viewport,
|
|
231
235
|
{
|
|
232
236
|
className: r("h-full overscroll-contain pr-3", e),
|
|
233
237
|
...a
|
|
234
238
|
}
|
|
235
239
|
);
|
|
236
|
-
|
|
237
|
-
const
|
|
238
|
-
|
|
239
|
-
const
|
|
240
|
+
K.displayName = "ScrollAreaViewport";
|
|
241
|
+
const O = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Content, { className: r("min-w-full", e), ...a });
|
|
242
|
+
O.displayName = "ScrollAreaContent";
|
|
243
|
+
const Q = ({
|
|
240
244
|
className: e,
|
|
241
245
|
orientation: a = "vertical",
|
|
242
246
|
...o
|
|
243
247
|
}) => /* @__PURE__ */ t(
|
|
244
|
-
|
|
248
|
+
m.Scrollbar,
|
|
245
249
|
{
|
|
246
250
|
className: r(
|
|
247
251
|
"flex touch-none select-none p-0.5 transition-colors duration-150 ease-out",
|
|
@@ -254,9 +258,9 @@ const K = ({
|
|
|
254
258
|
...o
|
|
255
259
|
}
|
|
256
260
|
);
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
|
|
261
|
+
Q.displayName = "ScrollAreaScrollbar";
|
|
262
|
+
const U = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
263
|
+
m.Thumb,
|
|
260
264
|
{
|
|
261
265
|
className: r(
|
|
262
266
|
"relative flex-1 rounded-full bg-border transition-colors",
|
|
@@ -266,12 +270,12 @@ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
266
270
|
...a
|
|
267
271
|
}
|
|
268
272
|
);
|
|
269
|
-
|
|
270
|
-
const
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
const
|
|
273
|
+
U.displayName = "ScrollAreaThumb";
|
|
274
|
+
const W = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Corner, { className: r("bg-muted/50", e), ...a });
|
|
275
|
+
W.displayName = "ScrollAreaCorner";
|
|
276
|
+
const X = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("flex flex-col", e), ...a });
|
|
277
|
+
X.displayName = "TabsRoot";
|
|
278
|
+
const Y = d(
|
|
275
279
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
276
280
|
{
|
|
277
281
|
variants: {
|
|
@@ -284,15 +288,15 @@ const W = n(
|
|
|
284
288
|
orientation: "horizontal"
|
|
285
289
|
}
|
|
286
290
|
}
|
|
287
|
-
),
|
|
288
|
-
|
|
291
|
+
), Z = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
|
|
292
|
+
f.List,
|
|
289
293
|
{
|
|
290
|
-
className: r(
|
|
294
|
+
className: r(Y({ orientation: a }), e),
|
|
291
295
|
...o
|
|
292
296
|
}
|
|
293
297
|
);
|
|
294
|
-
|
|
295
|
-
const
|
|
298
|
+
Z.displayName = "TabsList";
|
|
299
|
+
const ee = d(
|
|
296
300
|
[
|
|
297
301
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
298
302
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -313,9 +317,9 @@ const Y = n(
|
|
|
313
317
|
size: "default"
|
|
314
318
|
}
|
|
315
319
|
}
|
|
316
|
-
),
|
|
317
|
-
|
|
318
|
-
const
|
|
320
|
+
), ae = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(f.Tab, { className: r(ee({ size: a }), e), ...o });
|
|
321
|
+
ae.displayName = "TabsTab";
|
|
322
|
+
const te = d(
|
|
319
323
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
320
324
|
{
|
|
321
325
|
variants: {
|
|
@@ -328,34 +332,34 @@ const ee = n(
|
|
|
328
332
|
orientation: "horizontal"
|
|
329
333
|
}
|
|
330
334
|
}
|
|
331
|
-
),
|
|
335
|
+
), re = ({
|
|
332
336
|
className: e,
|
|
333
337
|
orientation: a = "horizontal",
|
|
334
338
|
...o
|
|
335
339
|
}) => /* @__PURE__ */ t(
|
|
336
|
-
|
|
340
|
+
f.Indicator,
|
|
337
341
|
{
|
|
338
|
-
className: r(
|
|
342
|
+
className: r(te({ orientation: a }), e),
|
|
339
343
|
...o
|
|
340
344
|
}
|
|
341
345
|
);
|
|
342
|
-
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
const
|
|
346
|
-
|
|
347
|
-
const
|
|
348
|
-
|
|
346
|
+
re.displayName = "TabsIndicator";
|
|
347
|
+
const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
|
|
348
|
+
oe.displayName = "TabsPanel";
|
|
349
|
+
const le = (e) => /* @__PURE__ */ t(s.Root, { ...e });
|
|
350
|
+
le.displayName = "DialogRoot";
|
|
351
|
+
const se = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
352
|
+
s.Trigger,
|
|
349
353
|
{
|
|
350
|
-
className: r(
|
|
351
|
-
...
|
|
354
|
+
className: r(u({ variant: a, size: o }), e),
|
|
355
|
+
...l
|
|
352
356
|
}
|
|
353
357
|
);
|
|
354
|
-
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
const
|
|
358
|
-
|
|
358
|
+
se.displayName = "DialogTrigger";
|
|
359
|
+
const ie = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
|
|
360
|
+
ie.displayName = "DialogPortal";
|
|
361
|
+
const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
362
|
+
s.Backdrop,
|
|
359
363
|
{
|
|
360
364
|
className: r(
|
|
361
365
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -366,8 +370,8 @@ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
366
370
|
...a
|
|
367
371
|
}
|
|
368
372
|
);
|
|
369
|
-
|
|
370
|
-
const
|
|
373
|
+
ne.displayName = "DialogBackdrop";
|
|
374
|
+
const de = d(
|
|
371
375
|
[
|
|
372
376
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
373
377
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -391,35 +395,35 @@ const ie = n(
|
|
|
391
395
|
size: "default"
|
|
392
396
|
}
|
|
393
397
|
}
|
|
394
|
-
),
|
|
395
|
-
|
|
398
|
+
), ce = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
399
|
+
s.Popup,
|
|
396
400
|
{
|
|
397
|
-
className: r(
|
|
401
|
+
className: r(de({ size: a }), e),
|
|
398
402
|
...o
|
|
399
403
|
}
|
|
400
404
|
);
|
|
401
|
-
|
|
402
|
-
const
|
|
403
|
-
|
|
405
|
+
ce.displayName = "DialogPopup";
|
|
406
|
+
const ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
407
|
+
s.Title,
|
|
404
408
|
{
|
|
405
409
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
406
410
|
...a
|
|
407
411
|
}
|
|
408
412
|
);
|
|
409
|
-
|
|
410
|
-
const
|
|
411
|
-
|
|
412
|
-
const
|
|
413
|
-
|
|
413
|
+
ue.displayName = "DialogTitle";
|
|
414
|
+
const me = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("mt-2", e), ...a });
|
|
415
|
+
me.displayName = "DialogDescription";
|
|
416
|
+
const ge = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
417
|
+
s.Close,
|
|
414
418
|
{
|
|
415
|
-
className: r(
|
|
416
|
-
...
|
|
419
|
+
className: r(u({ variant: a ?? "outline", size: o }), e),
|
|
420
|
+
...l
|
|
417
421
|
}
|
|
418
422
|
);
|
|
419
|
-
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
const
|
|
423
|
+
ge.displayName = "DialogClose";
|
|
424
|
+
const pe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
|
|
425
|
+
pe.displayName = "DialogHeader";
|
|
426
|
+
const fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
423
427
|
"div",
|
|
424
428
|
{
|
|
425
429
|
className: r(
|
|
@@ -429,21 +433,21 @@ const ge = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
429
433
|
...a
|
|
430
434
|
}
|
|
431
435
|
);
|
|
432
|
-
|
|
433
|
-
const
|
|
434
|
-
|
|
435
|
-
const
|
|
436
|
-
|
|
436
|
+
fe.displayName = "DialogFooter";
|
|
437
|
+
const be = (e) => /* @__PURE__ */ t(s.Root, { ...e });
|
|
438
|
+
be.displayName = "DrawerRoot";
|
|
439
|
+
const ye = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
440
|
+
s.Trigger,
|
|
437
441
|
{
|
|
438
|
-
className: r(
|
|
439
|
-
...
|
|
442
|
+
className: r(u({ variant: a, size: o }), e),
|
|
443
|
+
...l
|
|
440
444
|
}
|
|
441
445
|
);
|
|
442
|
-
|
|
443
|
-
const
|
|
444
|
-
|
|
445
|
-
const
|
|
446
|
-
|
|
446
|
+
ye.displayName = "DrawerTrigger";
|
|
447
|
+
const Ne = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
|
|
448
|
+
Ne.displayName = "DrawerPortal";
|
|
449
|
+
const ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
450
|
+
s.Backdrop,
|
|
447
451
|
{
|
|
448
452
|
className: r(
|
|
449
453
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -454,8 +458,8 @@ const ye = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
454
458
|
...a
|
|
455
459
|
}
|
|
456
460
|
);
|
|
457
|
-
|
|
458
|
-
const
|
|
461
|
+
ve.displayName = "DrawerBackdrop";
|
|
462
|
+
const xe = d(
|
|
459
463
|
[
|
|
460
464
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
461
465
|
"transition-transform duration-300 ease-out",
|
|
@@ -491,52 +495,52 @@ const ve = n(
|
|
|
491
495
|
side: "right"
|
|
492
496
|
}
|
|
493
497
|
}
|
|
494
|
-
),
|
|
495
|
-
|
|
498
|
+
), he = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
|
|
499
|
+
s.Popup,
|
|
496
500
|
{
|
|
497
|
-
className: r(
|
|
501
|
+
className: r(xe({ side: a }), e),
|
|
498
502
|
...o
|
|
499
503
|
}
|
|
500
504
|
);
|
|
501
|
-
|
|
502
|
-
const
|
|
503
|
-
|
|
505
|
+
he.displayName = "DrawerPopup";
|
|
506
|
+
const we = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
507
|
+
s.Title,
|
|
504
508
|
{
|
|
505
509
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
506
510
|
...a
|
|
507
511
|
}
|
|
508
512
|
);
|
|
509
|
-
|
|
510
|
-
const
|
|
511
|
-
|
|
512
|
-
const
|
|
513
|
-
|
|
513
|
+
we.displayName = "DrawerTitle";
|
|
514
|
+
const De = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Description, { className: r("", e), ...a });
|
|
515
|
+
De.displayName = "DrawerDescription";
|
|
516
|
+
const Ae = ({ className: e, variant: a, size: o, ...l }) => /* @__PURE__ */ t(
|
|
517
|
+
s.Close,
|
|
514
518
|
{
|
|
515
|
-
className: r(
|
|
516
|
-
...
|
|
519
|
+
className: r(u({ variant: a ?? "outline", size: o }), e),
|
|
520
|
+
...l
|
|
517
521
|
}
|
|
518
522
|
);
|
|
519
|
-
|
|
520
|
-
const
|
|
521
|
-
|
|
522
|
-
const
|
|
523
|
-
|
|
524
|
-
const
|
|
525
|
-
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
const
|
|
529
|
-
|
|
523
|
+
Ae.displayName = "DrawerClose";
|
|
524
|
+
const ke = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
|
|
525
|
+
ke.displayName = "DrawerHeader";
|
|
526
|
+
const Te = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
|
|
527
|
+
Te.displayName = "DrawerContent";
|
|
528
|
+
const Pe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
|
|
529
|
+
Pe.displayName = "DrawerFooter";
|
|
530
|
+
const ze = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Root, { className: r("w-full", e), ...a });
|
|
531
|
+
ze.displayName = "AccordionRoot";
|
|
532
|
+
const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
533
|
+
b.Item,
|
|
530
534
|
{
|
|
531
535
|
className: r("border-b border-border last:border-b-0", e),
|
|
532
536
|
...a
|
|
533
537
|
}
|
|
534
538
|
);
|
|
535
|
-
|
|
536
|
-
const
|
|
537
|
-
|
|
539
|
+
Ve.displayName = "AccordionItem";
|
|
540
|
+
const Re = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Header, { className: r("flex", e), ...a });
|
|
541
|
+
Re.displayName = "AccordionHeader";
|
|
538
542
|
const Ce = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
539
|
-
|
|
543
|
+
b.Trigger,
|
|
540
544
|
{
|
|
541
545
|
className: r(
|
|
542
546
|
"flex flex-1 items-center justify-between py-3 font-medium",
|
|
@@ -547,8 +551,8 @@ const Ce = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
|
547
551
|
}
|
|
548
552
|
);
|
|
549
553
|
Ce.displayName = "AccordionTrigger";
|
|
550
|
-
const
|
|
551
|
-
|
|
554
|
+
const Se = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
555
|
+
b.Panel,
|
|
552
556
|
{
|
|
553
557
|
className: r(
|
|
554
558
|
"overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
|
|
@@ -557,59 +561,165 @@ const Re = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
557
561
|
...a
|
|
558
562
|
}
|
|
559
563
|
);
|
|
560
|
-
|
|
564
|
+
Se.displayName = "AccordionPanel";
|
|
565
|
+
const Ie = ({ className: e, animated: a, value: o, ...l }) => {
|
|
566
|
+
const i = o ?? 0, [c, g] = x.useState(a ? 0 : i);
|
|
567
|
+
return x.useEffect(() => {
|
|
568
|
+
if (a) {
|
|
569
|
+
const v = requestAnimationFrame(() => {
|
|
570
|
+
const h = requestAnimationFrame(() => {
|
|
571
|
+
g(i ?? 0);
|
|
572
|
+
});
|
|
573
|
+
return () => cancelAnimationFrame(h);
|
|
574
|
+
});
|
|
575
|
+
return () => cancelAnimationFrame(v);
|
|
576
|
+
} else
|
|
577
|
+
g(i ?? 0);
|
|
578
|
+
}, [a, i]), /* @__PURE__ */ t(y.Root, { className: r("w-full", e), value: c, ...l });
|
|
579
|
+
};
|
|
580
|
+
Ie.displayName = "MeterRoot";
|
|
581
|
+
const Fe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
582
|
+
y.Track,
|
|
583
|
+
{
|
|
584
|
+
className: r(
|
|
585
|
+
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
586
|
+
e
|
|
587
|
+
),
|
|
588
|
+
...a
|
|
589
|
+
}
|
|
590
|
+
);
|
|
591
|
+
Fe.displayName = "MeterTrack";
|
|
592
|
+
const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
593
|
+
y.Indicator,
|
|
594
|
+
{
|
|
595
|
+
className: r(
|
|
596
|
+
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
597
|
+
e
|
|
598
|
+
),
|
|
599
|
+
...a
|
|
600
|
+
}
|
|
601
|
+
);
|
|
602
|
+
Me.displayName = "MeterIndicator";
|
|
603
|
+
const Be = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
604
|
+
y.Value,
|
|
605
|
+
{
|
|
606
|
+
className: r("text-sm font-medium text-foreground", e),
|
|
607
|
+
...a
|
|
608
|
+
}
|
|
609
|
+
);
|
|
610
|
+
Be.displayName = "MeterValue";
|
|
611
|
+
const je = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
612
|
+
y.Label,
|
|
613
|
+
{
|
|
614
|
+
className: r("text-sm font-medium text-foreground", e),
|
|
615
|
+
...a
|
|
616
|
+
}
|
|
617
|
+
);
|
|
618
|
+
je.displayName = "MeterLabel";
|
|
619
|
+
const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Root, { className: r("w-full", e), ...a });
|
|
620
|
+
Le.displayName = "ProgressRoot";
|
|
621
|
+
const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
622
|
+
N.Track,
|
|
623
|
+
{
|
|
624
|
+
className: r(
|
|
625
|
+
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
626
|
+
e
|
|
627
|
+
),
|
|
628
|
+
...a
|
|
629
|
+
}
|
|
630
|
+
);
|
|
631
|
+
He.displayName = "ProgressTrack";
|
|
632
|
+
const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
633
|
+
N.Indicator,
|
|
634
|
+
{
|
|
635
|
+
className: r(
|
|
636
|
+
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
637
|
+
e
|
|
638
|
+
),
|
|
639
|
+
...a
|
|
640
|
+
}
|
|
641
|
+
);
|
|
642
|
+
qe.displayName = "ProgressIndicator";
|
|
643
|
+
const _e = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
644
|
+
N.Value,
|
|
645
|
+
{
|
|
646
|
+
className: r("text-sm font-medium text-foreground", e),
|
|
647
|
+
...a
|
|
648
|
+
}
|
|
649
|
+
);
|
|
650
|
+
_e.displayName = "ProgressValue";
|
|
651
|
+
const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
652
|
+
N.Label,
|
|
653
|
+
{
|
|
654
|
+
className: r("text-sm font-medium text-foreground", e),
|
|
655
|
+
...a
|
|
656
|
+
}
|
|
657
|
+
);
|
|
658
|
+
Ee.displayName = "ProgressLabel";
|
|
561
659
|
export {
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
660
|
+
Re as AccordionHeader,
|
|
661
|
+
Ve as AccordionItem,
|
|
662
|
+
Se as AccordionPanel,
|
|
663
|
+
ze as AccordionRoot,
|
|
566
664
|
Ce as AccordionTrigger,
|
|
567
|
-
|
|
568
|
-
|
|
665
|
+
la as AlertDialog,
|
|
666
|
+
M as AlertDialogBackdrop,
|
|
569
667
|
_ as AlertDialogClose,
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
668
|
+
q as AlertDialogDescription,
|
|
669
|
+
L as AlertDialogPopup,
|
|
670
|
+
F as AlertDialogPortal,
|
|
671
|
+
S as AlertDialogRoot,
|
|
574
672
|
H as AlertDialogTitle,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
673
|
+
I as AlertDialogTrigger,
|
|
674
|
+
B as AlertDialogViewport,
|
|
675
|
+
ia as Avatar,
|
|
676
|
+
$ as AvatarFallback,
|
|
677
|
+
E as AvatarImage,
|
|
678
|
+
T as AvatarRoot,
|
|
679
|
+
G as AvatarStack,
|
|
582
680
|
C as Button,
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
681
|
+
ne as DialogBackdrop,
|
|
682
|
+
ge as DialogClose,
|
|
683
|
+
me as DialogDescription,
|
|
684
|
+
fe as DialogFooter,
|
|
685
|
+
pe as DialogHeader,
|
|
686
|
+
ce as DialogPopup,
|
|
687
|
+
ie as DialogPortal,
|
|
688
|
+
le as DialogRoot,
|
|
689
|
+
ue as DialogTitle,
|
|
690
|
+
se as DialogTrigger,
|
|
691
|
+
ve as DrawerBackdrop,
|
|
692
|
+
Ae as DrawerClose,
|
|
693
|
+
Te as DrawerContent,
|
|
694
|
+
De as DrawerDescription,
|
|
695
|
+
Pe as DrawerFooter,
|
|
696
|
+
ke as DrawerHeader,
|
|
697
|
+
he as DrawerPopup,
|
|
698
|
+
Ne as DrawerPortal,
|
|
699
|
+
be as DrawerRoot,
|
|
700
|
+
we as DrawerTitle,
|
|
701
|
+
ye as DrawerTrigger,
|
|
702
|
+
da as Meter,
|
|
703
|
+
Me as MeterIndicator,
|
|
704
|
+
je as MeterLabel,
|
|
705
|
+
Ie as MeterRoot,
|
|
706
|
+
Fe as MeterTrack,
|
|
707
|
+
Be as MeterValue,
|
|
708
|
+
ua as Progress,
|
|
709
|
+
qe as ProgressIndicator,
|
|
710
|
+
Ee as ProgressLabel,
|
|
711
|
+
Le as ProgressRoot,
|
|
712
|
+
He as ProgressTrack,
|
|
713
|
+
_e as ProgressValue,
|
|
714
|
+
O as ScrollAreaContent,
|
|
715
|
+
W as ScrollAreaCorner,
|
|
716
|
+
J as ScrollAreaRoot,
|
|
717
|
+
Q as ScrollAreaScrollbar,
|
|
718
|
+
U as ScrollAreaThumb,
|
|
719
|
+
K as ScrollAreaViewport,
|
|
720
|
+
re as TabsIndicator,
|
|
721
|
+
Z as TabsList,
|
|
722
|
+
oe as TabsPanel,
|
|
723
|
+
X as TabsRoot,
|
|
724
|
+
ae as TabsTab
|
|
615
725
|
};
|