@lglab/compose-ui 0.14.0 → 0.16.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/card.d.ts +79 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/separator.d.ts +10 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +451 -372
- package/dist/styles/default.css +8 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as t, jsxs as
|
|
3
|
-
import { Button as
|
|
2
|
+
import { jsx as t, jsxs as k } from "react/jsx-runtime";
|
|
3
|
+
import { Button as I } from "@base-ui/react/button";
|
|
4
4
|
import { cva as u } from "class-variance-authority";
|
|
5
5
|
import { clsx as L } from "clsx";
|
|
6
|
-
import { twMerge as
|
|
6
|
+
import { twMerge as H } from "tailwind-merge";
|
|
7
7
|
import { Collapsible as D } from "@base-ui/react/collapsible";
|
|
8
8
|
import { AlertDialog as m } from "@base-ui/react/alert-dialog";
|
|
9
|
-
import { AlertDialog as
|
|
10
|
-
import { Avatar as
|
|
11
|
-
import * as
|
|
9
|
+
import { AlertDialog as bt } from "@base-ui/react/alert-dialog";
|
|
10
|
+
import { Avatar as C } from "@base-ui/react/avatar";
|
|
11
|
+
import * as y from "react";
|
|
12
12
|
import { ScrollArea as g } from "@base-ui/react/scroll-area";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
13
|
+
import { Separator as _ } from "@base-ui/react/separator";
|
|
14
|
+
import { Switch as A } from "@base-ui/react/switch";
|
|
15
|
+
import { Toggle as R } from "@base-ui/react/toggle";
|
|
16
|
+
import { Tabs as N } from "@base-ui/react/tabs";
|
|
17
|
+
import { Dialog as n } from "@base-ui/react/dialog";
|
|
17
18
|
import { Accordion as h } from "@base-ui/react/accordion";
|
|
18
|
-
import { Meter as
|
|
19
|
-
import { Menu as
|
|
19
|
+
import { Meter as x } from "@base-ui/react/meter";
|
|
20
|
+
import { Menu as l } from "@base-ui/react/menu";
|
|
20
21
|
import { Popover as i } from "@base-ui/react/popover";
|
|
21
|
-
import { Progress as
|
|
22
|
-
import { ToggleGroup as
|
|
22
|
+
import { Progress as v } from "@base-ui/react/progress";
|
|
23
|
+
import { ToggleGroup as B } from "@base-ui/react/toggle-group";
|
|
23
24
|
const d = u(
|
|
24
25
|
[
|
|
25
26
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all select-none [&_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"
|
|
@@ -50,9 +51,9 @@ const d = u(
|
|
|
50
51
|
}
|
|
51
52
|
);
|
|
52
53
|
function r(...e) {
|
|
53
|
-
return
|
|
54
|
+
return H(L(e));
|
|
54
55
|
}
|
|
55
|
-
const
|
|
56
|
+
const F = ({
|
|
56
57
|
className: e,
|
|
57
58
|
variant: a,
|
|
58
59
|
size: o,
|
|
@@ -60,7 +61,7 @@ const B = ({
|
|
|
60
61
|
children: c,
|
|
61
62
|
...p
|
|
62
63
|
}) => /* @__PURE__ */ t(
|
|
63
|
-
|
|
64
|
+
I,
|
|
64
65
|
{
|
|
65
66
|
className: r(d({ variant: a, size: o }), e),
|
|
66
67
|
disabled: s,
|
|
@@ -68,18 +69,18 @@ const B = ({
|
|
|
68
69
|
children: c
|
|
69
70
|
}
|
|
70
71
|
);
|
|
71
|
-
|
|
72
|
+
F.displayName = "Button";
|
|
72
73
|
const j = ({ className: e, ...a }) => /* @__PURE__ */ t(D.Root, { className: r("w-full", e), ...a });
|
|
73
74
|
j.displayName = "CollapsibleRoot";
|
|
74
|
-
const
|
|
75
|
+
const G = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
75
76
|
D.Trigger,
|
|
76
77
|
{
|
|
77
78
|
className: r("flex items-center justify-between font-medium", e),
|
|
78
79
|
...a
|
|
79
80
|
}
|
|
80
81
|
);
|
|
81
|
-
|
|
82
|
-
const
|
|
82
|
+
G.displayName = "CollapsibleTrigger";
|
|
83
|
+
const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
83
84
|
D.Panel,
|
|
84
85
|
{
|
|
85
86
|
className: r(
|
|
@@ -92,10 +93,10 @@ const G = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
92
93
|
...a
|
|
93
94
|
}
|
|
94
95
|
);
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
const
|
|
96
|
+
q.displayName = "CollapsiblePanel";
|
|
97
|
+
const Z = (e) => /* @__PURE__ */ t(m.Root, { ...e });
|
|
98
|
+
Z.displayName = "AlertDialogRoot";
|
|
99
|
+
const $ = ({
|
|
99
100
|
className: e,
|
|
100
101
|
variant: a,
|
|
101
102
|
size: o,
|
|
@@ -107,10 +108,10 @@ const Z = ({
|
|
|
107
108
|
...s
|
|
108
109
|
}
|
|
109
110
|
);
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
const
|
|
111
|
+
$.displayName = "AlertDialogTrigger";
|
|
112
|
+
const E = (e) => /* @__PURE__ */ t(m.Portal, { ...e });
|
|
113
|
+
E.displayName = "AlertDialogPortal";
|
|
114
|
+
const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
114
115
|
m.Backdrop,
|
|
115
116
|
{
|
|
116
117
|
className: r(
|
|
@@ -122,16 +123,16 @@ const E = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
122
123
|
...a
|
|
123
124
|
}
|
|
124
125
|
);
|
|
125
|
-
|
|
126
|
-
const
|
|
126
|
+
O.displayName = "AlertDialogBackdrop";
|
|
127
|
+
const J = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
127
128
|
m.Viewport,
|
|
128
129
|
{
|
|
129
130
|
className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
|
|
130
131
|
...a
|
|
131
132
|
}
|
|
132
133
|
);
|
|
133
|
-
|
|
134
|
-
const
|
|
134
|
+
J.displayName = "AlertDialogViewport";
|
|
135
|
+
const K = u(
|
|
135
136
|
[
|
|
136
137
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
137
138
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -155,25 +156,25 @@ const J = u(
|
|
|
155
156
|
size: "default"
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
|
-
),
|
|
159
|
+
), Q = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
159
160
|
m.Popup,
|
|
160
161
|
{
|
|
161
|
-
className: r(
|
|
162
|
+
className: r(K({ size: a }), e),
|
|
162
163
|
...o
|
|
163
164
|
}
|
|
164
165
|
);
|
|
165
|
-
|
|
166
|
-
const
|
|
166
|
+
Q.displayName = "AlertDialogPopup";
|
|
167
|
+
const U = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
167
168
|
m.Title,
|
|
168
169
|
{
|
|
169
170
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
170
171
|
...a
|
|
171
172
|
}
|
|
172
173
|
);
|
|
173
|
-
|
|
174
|
-
const
|
|
175
|
-
|
|
176
|
-
const
|
|
174
|
+
U.displayName = "AlertDialogTitle";
|
|
175
|
+
const W = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Description, { className: r("mt-2", e), ...a });
|
|
176
|
+
W.displayName = "AlertDialogDescription";
|
|
177
|
+
const X = ({
|
|
177
178
|
className: e,
|
|
178
179
|
variant: a,
|
|
179
180
|
size: o,
|
|
@@ -185,8 +186,8 @@ const W = ({
|
|
|
185
186
|
...s
|
|
186
187
|
}
|
|
187
188
|
);
|
|
188
|
-
|
|
189
|
-
const
|
|
189
|
+
X.displayName = "AlertDialogClose";
|
|
190
|
+
const M = u(
|
|
190
191
|
[
|
|
191
192
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
192
193
|
"bg-muted text-foreground",
|
|
@@ -204,18 +205,18 @@ const R = u(
|
|
|
204
205
|
size: "default"
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
|
-
), z = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
208
|
+
), z = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(C.Root, { className: r(M({ size: a }), e), ...o });
|
|
208
209
|
z.displayName = "AvatarRoot";
|
|
209
|
-
const
|
|
210
|
-
|
|
210
|
+
const Y = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
211
|
+
C.Image,
|
|
211
212
|
{
|
|
212
213
|
className: r("aspect-square h-full w-full object-cover", e),
|
|
213
214
|
...a
|
|
214
215
|
}
|
|
215
216
|
);
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
|
|
217
|
+
Y.displayName = "AvatarImage";
|
|
218
|
+
const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
219
|
+
C.Fallback,
|
|
219
220
|
{
|
|
220
221
|
className: r(
|
|
221
222
|
"flex h-full w-full items-center justify-center font-medium",
|
|
@@ -224,50 +225,50 @@ const Y = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
224
225
|
...a
|
|
225
226
|
}
|
|
226
227
|
);
|
|
227
|
-
|
|
228
|
-
const
|
|
228
|
+
ee.displayName = "AvatarFallback";
|
|
229
|
+
const ae = ({
|
|
229
230
|
"aria-label": e,
|
|
230
231
|
maxVisible: a,
|
|
231
232
|
className: o,
|
|
232
233
|
children: s
|
|
233
234
|
}) => {
|
|
234
|
-
const c =
|
|
235
|
+
const c = y.Children.toArray(s), p = c.length, f = a !== void 0 ? Math.min(a, p) : p, w = p - f, P = c.slice(0, f), S = (() => {
|
|
235
236
|
const b = c[0];
|
|
236
|
-
return
|
|
237
|
+
return y.isValidElement(b) && b.type === z ? b.props.size ?? "default" : "default";
|
|
237
238
|
})();
|
|
238
|
-
return /* @__PURE__ */
|
|
239
|
-
P.map((b,
|
|
240
|
-
|
|
239
|
+
return /* @__PURE__ */ k("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
|
|
240
|
+
P.map((b, T) => /* @__PURE__ */ t("li", { children: b }, T)),
|
|
241
|
+
w > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ k(
|
|
241
242
|
"span",
|
|
242
243
|
{
|
|
243
244
|
className: r(
|
|
244
245
|
"relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
245
246
|
"bg-muted text-foreground border-2 border-background",
|
|
246
247
|
"font-medium",
|
|
247
|
-
|
|
248
|
+
M({ size: S })
|
|
248
249
|
),
|
|
249
250
|
children: [
|
|
250
251
|
"+",
|
|
251
|
-
|
|
252
|
+
w
|
|
252
253
|
]
|
|
253
254
|
}
|
|
254
255
|
) })
|
|
255
256
|
] });
|
|
256
257
|
};
|
|
257
|
-
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
const
|
|
258
|
+
ae.displayName = "AvatarStack";
|
|
259
|
+
const te = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Root, { className: r("relative", e), ...a });
|
|
260
|
+
te.displayName = "ScrollAreaRoot";
|
|
261
|
+
const re = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
261
262
|
g.Viewport,
|
|
262
263
|
{
|
|
263
264
|
className: r("h-full overscroll-contain pr-3", e),
|
|
264
265
|
...a
|
|
265
266
|
}
|
|
266
267
|
);
|
|
267
|
-
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
const
|
|
268
|
+
re.displayName = "ScrollAreaViewport";
|
|
269
|
+
const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Content, { className: r("min-w-full", e), ...a });
|
|
270
|
+
oe.displayName = "ScrollAreaContent";
|
|
271
|
+
const se = ({
|
|
271
272
|
className: e,
|
|
272
273
|
orientation: a = "vertical",
|
|
273
274
|
...o
|
|
@@ -285,8 +286,8 @@ const oe = ({
|
|
|
285
286
|
...o
|
|
286
287
|
}
|
|
287
288
|
);
|
|
288
|
-
|
|
289
|
-
const
|
|
289
|
+
se.displayName = "ScrollAreaScrollbar";
|
|
290
|
+
const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
290
291
|
g.Thumb,
|
|
291
292
|
{
|
|
292
293
|
className: r(
|
|
@@ -297,11 +298,28 @@ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
297
298
|
...a
|
|
298
299
|
}
|
|
299
300
|
);
|
|
300
|
-
|
|
301
|
+
le.displayName = "ScrollAreaThumb";
|
|
301
302
|
const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Corner, { className: r("bg-muted/50", e), ...a });
|
|
302
303
|
ne.displayName = "ScrollAreaCorner";
|
|
303
|
-
const
|
|
304
|
-
|
|
304
|
+
const ie = ({
|
|
305
|
+
className: e,
|
|
306
|
+
orientation: a = "horizontal",
|
|
307
|
+
...o
|
|
308
|
+
}) => /* @__PURE__ */ t(
|
|
309
|
+
_,
|
|
310
|
+
{
|
|
311
|
+
orientation: a,
|
|
312
|
+
className: r(
|
|
313
|
+
"shrink-0 bg-border",
|
|
314
|
+
a === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
315
|
+
e
|
|
316
|
+
),
|
|
317
|
+
...o
|
|
318
|
+
}
|
|
319
|
+
);
|
|
320
|
+
ie.displayName = "Separator";
|
|
321
|
+
const de = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
322
|
+
A.Root,
|
|
305
323
|
{
|
|
306
324
|
className: r(
|
|
307
325
|
"relative flex h-6 w-10 rounded-full",
|
|
@@ -316,9 +334,9 @@ const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
316
334
|
...a
|
|
317
335
|
}
|
|
318
336
|
);
|
|
319
|
-
|
|
320
|
-
const
|
|
321
|
-
|
|
337
|
+
de.displayName = "SwitchRoot";
|
|
338
|
+
const ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
339
|
+
A.Thumb,
|
|
322
340
|
{
|
|
323
341
|
className: r(
|
|
324
342
|
"aspect-square h-full rounded-full bg-background",
|
|
@@ -332,7 +350,7 @@ const ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
332
350
|
...a
|
|
333
351
|
}
|
|
334
352
|
);
|
|
335
|
-
|
|
353
|
+
ce.displayName = "SwitchThumb";
|
|
336
354
|
const V = u(
|
|
337
355
|
[
|
|
338
356
|
"inline-flex items-center justify-center gap-2 rounded-md",
|
|
@@ -364,11 +382,11 @@ const V = u(
|
|
|
364
382
|
size: "default"
|
|
365
383
|
}
|
|
366
384
|
}
|
|
367
|
-
),
|
|
368
|
-
|
|
369
|
-
const
|
|
370
|
-
|
|
371
|
-
const
|
|
385
|
+
), ue = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(R, { className: r(V({ variant: a, size: o }), e), ...s });
|
|
386
|
+
ue.displayName = "Toggle";
|
|
387
|
+
const me = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Root, { className: r("flex flex-col", e), ...a });
|
|
388
|
+
me.displayName = "TabsRoot";
|
|
389
|
+
const pe = u(
|
|
372
390
|
["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
|
|
373
391
|
{
|
|
374
392
|
variants: {
|
|
@@ -381,15 +399,15 @@ const ue = u(
|
|
|
381
399
|
orientation: "horizontal"
|
|
382
400
|
}
|
|
383
401
|
}
|
|
384
|
-
),
|
|
385
|
-
|
|
402
|
+
), ge = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
|
|
403
|
+
N.List,
|
|
386
404
|
{
|
|
387
|
-
className: r(
|
|
405
|
+
className: r(pe({ orientation: a }), e),
|
|
388
406
|
...o
|
|
389
407
|
}
|
|
390
408
|
);
|
|
391
|
-
|
|
392
|
-
const
|
|
409
|
+
ge.displayName = "TabsList";
|
|
410
|
+
const fe = u(
|
|
393
411
|
[
|
|
394
412
|
"relative z-10 inline-flex items-center justify-center whitespace-nowrap",
|
|
395
413
|
"rounded-md px-3 py-1.5 text-sm font-medium",
|
|
@@ -410,9 +428,9 @@ const pe = u(
|
|
|
410
428
|
size: "default"
|
|
411
429
|
}
|
|
412
430
|
}
|
|
413
|
-
),
|
|
414
|
-
|
|
415
|
-
const
|
|
431
|
+
), be = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(N.Tab, { className: r(fe({ size: a }), e), ...o });
|
|
432
|
+
be.displayName = "TabsTab";
|
|
433
|
+
const ye = u(
|
|
416
434
|
["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
|
|
417
435
|
{
|
|
418
436
|
variants: {
|
|
@@ -425,34 +443,34 @@ const fe = u(
|
|
|
425
443
|
orientation: "horizontal"
|
|
426
444
|
}
|
|
427
445
|
}
|
|
428
|
-
),
|
|
446
|
+
), Ne = ({
|
|
429
447
|
className: e,
|
|
430
448
|
orientation: a = "horizontal",
|
|
431
449
|
...o
|
|
432
450
|
}) => /* @__PURE__ */ t(
|
|
433
|
-
|
|
451
|
+
N.Indicator,
|
|
434
452
|
{
|
|
435
|
-
className: r(
|
|
453
|
+
className: r(ye({ orientation: a }), e),
|
|
436
454
|
...o
|
|
437
455
|
}
|
|
438
456
|
);
|
|
439
|
-
|
|
440
|
-
const
|
|
441
|
-
|
|
442
|
-
const
|
|
443
|
-
|
|
444
|
-
const
|
|
445
|
-
|
|
457
|
+
Ne.displayName = "TabsIndicator";
|
|
458
|
+
const he = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
|
|
459
|
+
he.displayName = "TabsPanel";
|
|
460
|
+
const xe = (e) => /* @__PURE__ */ t(n.Root, { ...e });
|
|
461
|
+
xe.displayName = "DialogRoot";
|
|
462
|
+
const ve = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
|
|
463
|
+
n.Trigger,
|
|
446
464
|
{
|
|
447
465
|
className: r(d({ variant: a, size: o }), e),
|
|
448
466
|
...s
|
|
449
467
|
}
|
|
450
468
|
);
|
|
451
|
-
|
|
452
|
-
const
|
|
453
|
-
|
|
454
|
-
const
|
|
455
|
-
|
|
469
|
+
ve.displayName = "DialogTrigger";
|
|
470
|
+
const we = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
|
|
471
|
+
we.displayName = "DialogPortal";
|
|
472
|
+
const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
473
|
+
n.Backdrop,
|
|
456
474
|
{
|
|
457
475
|
className: r(
|
|
458
476
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -463,8 +481,8 @@ const ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
463
481
|
...a
|
|
464
482
|
}
|
|
465
483
|
);
|
|
466
|
-
|
|
467
|
-
const
|
|
484
|
+
ke.displayName = "DialogBackdrop";
|
|
485
|
+
const Pe = u(
|
|
468
486
|
[
|
|
469
487
|
"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
|
|
470
488
|
"w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
|
|
@@ -488,35 +506,35 @@ const we = u(
|
|
|
488
506
|
size: "default"
|
|
489
507
|
}
|
|
490
508
|
}
|
|
491
|
-
),
|
|
492
|
-
|
|
509
|
+
), De = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
|
|
510
|
+
n.Popup,
|
|
493
511
|
{
|
|
494
|
-
className: r(
|
|
512
|
+
className: r(Pe({ size: a }), e),
|
|
495
513
|
...o
|
|
496
514
|
}
|
|
497
515
|
);
|
|
498
|
-
|
|
499
|
-
const
|
|
500
|
-
|
|
516
|
+
De.displayName = "DialogPopup";
|
|
517
|
+
const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
518
|
+
n.Title,
|
|
501
519
|
{
|
|
502
520
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
503
521
|
...a
|
|
504
522
|
}
|
|
505
523
|
);
|
|
506
|
-
|
|
507
|
-
const
|
|
508
|
-
|
|
509
|
-
const
|
|
510
|
-
|
|
524
|
+
Ce.displayName = "DialogTitle";
|
|
525
|
+
const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("mt-2", e), ...a });
|
|
526
|
+
Te.displayName = "DialogDescription";
|
|
527
|
+
const Ae = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
|
|
528
|
+
n.Close,
|
|
511
529
|
{
|
|
512
530
|
className: r(d({ variant: a ?? "outline", size: o }), e),
|
|
513
531
|
...s
|
|
514
532
|
}
|
|
515
533
|
);
|
|
516
|
-
|
|
517
|
-
const
|
|
518
|
-
|
|
519
|
-
const
|
|
534
|
+
Ae.displayName = "DialogClose";
|
|
535
|
+
const Re = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
|
|
536
|
+
Re.displayName = "DialogHeader";
|
|
537
|
+
const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
520
538
|
"div",
|
|
521
539
|
{
|
|
522
540
|
className: r(
|
|
@@ -526,21 +544,21 @@ const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
526
544
|
...a
|
|
527
545
|
}
|
|
528
546
|
);
|
|
529
|
-
|
|
530
|
-
const
|
|
531
|
-
|
|
532
|
-
const
|
|
533
|
-
|
|
547
|
+
Me.displayName = "DialogFooter";
|
|
548
|
+
const ze = (e) => /* @__PURE__ */ t(n.Root, { ...e });
|
|
549
|
+
ze.displayName = "DrawerRoot";
|
|
550
|
+
const Ve = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
|
|
551
|
+
n.Trigger,
|
|
534
552
|
{
|
|
535
553
|
className: r(d({ variant: a, size: o }), e),
|
|
536
554
|
...s
|
|
537
555
|
}
|
|
538
556
|
);
|
|
539
|
-
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
543
|
-
|
|
557
|
+
Ve.displayName = "DrawerTrigger";
|
|
558
|
+
const Se = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
|
|
559
|
+
Se.displayName = "DrawerPortal";
|
|
560
|
+
const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
561
|
+
n.Backdrop,
|
|
544
562
|
{
|
|
545
563
|
className: r(
|
|
546
564
|
"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
|
|
@@ -551,8 +569,8 @@ const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
551
569
|
...a
|
|
552
570
|
}
|
|
553
571
|
);
|
|
554
|
-
|
|
555
|
-
const
|
|
572
|
+
Ie.displayName = "DrawerBackdrop";
|
|
573
|
+
const Le = u(
|
|
556
574
|
[
|
|
557
575
|
"fixed z-50 flex flex-col bg-background p-6 shadow-lg",
|
|
558
576
|
"transition-transform duration-300 ease-out",
|
|
@@ -588,51 +606,51 @@ const Ie = u(
|
|
|
588
606
|
side: "right"
|
|
589
607
|
}
|
|
590
608
|
}
|
|
591
|
-
),
|
|
592
|
-
|
|
609
|
+
), He = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
|
|
610
|
+
n.Popup,
|
|
593
611
|
{
|
|
594
|
-
className: r(
|
|
612
|
+
className: r(Le({ side: a }), e),
|
|
595
613
|
...o
|
|
596
614
|
}
|
|
597
615
|
);
|
|
598
|
-
|
|
599
|
-
const
|
|
600
|
-
|
|
616
|
+
He.displayName = "DrawerPopup";
|
|
617
|
+
const _e = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
618
|
+
n.Title,
|
|
601
619
|
{
|
|
602
620
|
className: r("text-lg font-semibold leading-none tracking-tight", e),
|
|
603
621
|
...a
|
|
604
622
|
}
|
|
605
623
|
);
|
|
606
|
-
|
|
607
|
-
const
|
|
608
|
-
|
|
609
|
-
const
|
|
610
|
-
|
|
624
|
+
_e.displayName = "DrawerTitle";
|
|
625
|
+
const Be = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("", e), ...a });
|
|
626
|
+
Be.displayName = "DrawerDescription";
|
|
627
|
+
const Fe = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
|
|
628
|
+
n.Close,
|
|
611
629
|
{
|
|
612
630
|
className: r(d({ variant: a ?? "outline", size: o }), e),
|
|
613
631
|
...s
|
|
614
632
|
}
|
|
615
633
|
);
|
|
616
|
-
|
|
617
|
-
const
|
|
618
|
-
|
|
619
|
-
const
|
|
620
|
-
|
|
621
|
-
const
|
|
622
|
-
|
|
623
|
-
const
|
|
624
|
-
|
|
625
|
-
const
|
|
634
|
+
Fe.displayName = "DrawerClose";
|
|
635
|
+
const je = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
|
|
636
|
+
je.displayName = "DrawerHeader";
|
|
637
|
+
const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
|
|
638
|
+
Ge.displayName = "DrawerContent";
|
|
639
|
+
const qe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
|
|
640
|
+
qe.displayName = "DrawerFooter";
|
|
641
|
+
const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Root, { className: r("w-full", e), ...a });
|
|
642
|
+
Ze.displayName = "AccordionRoot";
|
|
643
|
+
const $e = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
626
644
|
h.Item,
|
|
627
645
|
{
|
|
628
646
|
className: r("border-b border-border last:border-b-0", e),
|
|
629
647
|
...a
|
|
630
648
|
}
|
|
631
649
|
);
|
|
632
|
-
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
const
|
|
650
|
+
$e.displayName = "AccordionItem";
|
|
651
|
+
const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Header, { className: r("flex", e), ...a });
|
|
652
|
+
Ee.displayName = "AccordionHeader";
|
|
653
|
+
const Oe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
636
654
|
h.Trigger,
|
|
637
655
|
{
|
|
638
656
|
className: r(
|
|
@@ -643,8 +661,8 @@ const $e = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
|
|
|
643
661
|
children: a
|
|
644
662
|
}
|
|
645
663
|
);
|
|
646
|
-
|
|
647
|
-
const
|
|
664
|
+
Oe.displayName = "AccordionTrigger";
|
|
665
|
+
const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
648
666
|
h.Panel,
|
|
649
667
|
{
|
|
650
668
|
className: r(
|
|
@@ -654,25 +672,25 @@ const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
654
672
|
...a
|
|
655
673
|
}
|
|
656
674
|
);
|
|
657
|
-
|
|
658
|
-
const
|
|
659
|
-
const c = o ?? 0, [p, f] =
|
|
660
|
-
return
|
|
675
|
+
Je.displayName = "AccordionPanel";
|
|
676
|
+
const Ke = ({ className: e, animated: a, value: o, ...s }) => {
|
|
677
|
+
const c = o ?? 0, [p, f] = y.useState(a ? 0 : c);
|
|
678
|
+
return y.useEffect(() => {
|
|
661
679
|
if (a) {
|
|
662
|
-
const
|
|
680
|
+
const w = requestAnimationFrame(() => {
|
|
663
681
|
const P = requestAnimationFrame(() => {
|
|
664
682
|
f(c ?? 0);
|
|
665
683
|
});
|
|
666
684
|
return () => cancelAnimationFrame(P);
|
|
667
685
|
});
|
|
668
|
-
return () => cancelAnimationFrame(
|
|
686
|
+
return () => cancelAnimationFrame(w);
|
|
669
687
|
} else
|
|
670
688
|
f(c ?? 0);
|
|
671
|
-
}, [a, c]), /* @__PURE__ */ t(
|
|
689
|
+
}, [a, c]), /* @__PURE__ */ t(x.Root, { className: r("w-full", e), value: p, ...s });
|
|
672
690
|
};
|
|
673
|
-
|
|
674
|
-
const
|
|
675
|
-
|
|
691
|
+
Ke.displayName = "MeterRoot";
|
|
692
|
+
const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
693
|
+
x.Track,
|
|
676
694
|
{
|
|
677
695
|
className: r(
|
|
678
696
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
@@ -681,9 +699,9 @@ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
681
699
|
...a
|
|
682
700
|
}
|
|
683
701
|
);
|
|
684
|
-
|
|
685
|
-
const
|
|
686
|
-
|
|
702
|
+
Qe.displayName = "MeterTrack";
|
|
703
|
+
const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
704
|
+
x.Indicator,
|
|
687
705
|
{
|
|
688
706
|
className: r(
|
|
689
707
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
@@ -692,40 +710,40 @@ const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
692
710
|
...a
|
|
693
711
|
}
|
|
694
712
|
);
|
|
695
|
-
|
|
696
|
-
const
|
|
697
|
-
|
|
713
|
+
Ue.displayName = "MeterIndicator";
|
|
714
|
+
const We = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
715
|
+
x.Value,
|
|
698
716
|
{
|
|
699
717
|
className: r("text-sm font-medium text-foreground", e),
|
|
700
718
|
...a
|
|
701
719
|
}
|
|
702
720
|
);
|
|
703
|
-
|
|
704
|
-
const
|
|
705
|
-
|
|
721
|
+
We.displayName = "MeterValue";
|
|
722
|
+
const Xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
723
|
+
x.Label,
|
|
706
724
|
{
|
|
707
725
|
className: r("text-sm font-medium text-foreground", e),
|
|
708
726
|
...a
|
|
709
727
|
}
|
|
710
728
|
);
|
|
711
|
-
|
|
712
|
-
const
|
|
713
|
-
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
const
|
|
717
|
-
|
|
718
|
-
const
|
|
719
|
-
|
|
729
|
+
Xe.displayName = "MeterLabel";
|
|
730
|
+
const Ye = (e) => /* @__PURE__ */ t(l.Root, { ...e });
|
|
731
|
+
Ye.displayName = "MenuRoot";
|
|
732
|
+
const ea = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Trigger, { className: r(e), ...a });
|
|
733
|
+
ea.displayName = "MenuTrigger";
|
|
734
|
+
const aa = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
|
|
735
|
+
aa.displayName = "MenuPortal";
|
|
736
|
+
const ta = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
737
|
+
l.Positioner,
|
|
720
738
|
{
|
|
721
739
|
className: r("z-50 outline-none", e),
|
|
722
740
|
sideOffset: 8,
|
|
723
741
|
...a
|
|
724
742
|
}
|
|
725
743
|
);
|
|
726
|
-
|
|
727
|
-
const
|
|
728
|
-
|
|
744
|
+
ta.displayName = "MenuPositioner";
|
|
745
|
+
const ra = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
746
|
+
l.Popup,
|
|
729
747
|
{
|
|
730
748
|
className: r(
|
|
731
749
|
"rounded-md bg-background p-1 text-foreground shadow-sm border border-border transition-[transform,scale,opacity] data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-0 data-starting-style:opacity-0 dark:shadow-none",
|
|
@@ -735,20 +753,20 @@ const aa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
735
753
|
...a
|
|
736
754
|
}
|
|
737
755
|
);
|
|
738
|
-
|
|
739
|
-
const
|
|
740
|
-
|
|
756
|
+
ra.displayName = "MenuPopup";
|
|
757
|
+
const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
758
|
+
l.Arrow,
|
|
741
759
|
{
|
|
742
760
|
className: r(
|
|
743
761
|
"flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
|
|
744
762
|
e
|
|
745
763
|
),
|
|
746
764
|
...a,
|
|
747
|
-
children: /* @__PURE__ */ t(
|
|
765
|
+
children: /* @__PURE__ */ t(sa, {})
|
|
748
766
|
}
|
|
749
767
|
);
|
|
750
|
-
function
|
|
751
|
-
return /* @__PURE__ */
|
|
768
|
+
function sa(e) {
|
|
769
|
+
return /* @__PURE__ */ k("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
|
|
752
770
|
/* @__PURE__ */ t(
|
|
753
771
|
"path",
|
|
754
772
|
{
|
|
@@ -765,9 +783,9 @@ function ra(e) {
|
|
|
765
783
|
)
|
|
766
784
|
] });
|
|
767
785
|
}
|
|
768
|
-
|
|
769
|
-
const
|
|
770
|
-
|
|
786
|
+
oa.displayName = "MenuArrow";
|
|
787
|
+
const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
788
|
+
l.Item,
|
|
771
789
|
{
|
|
772
790
|
className: r(
|
|
773
791
|
d({ variant: "ghost", size: "sm" }),
|
|
@@ -777,29 +795,29 @@ const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
777
795
|
...a
|
|
778
796
|
}
|
|
779
797
|
);
|
|
780
|
-
|
|
781
|
-
const
|
|
782
|
-
|
|
798
|
+
la.displayName = "MenuItem";
|
|
799
|
+
const na = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
800
|
+
l.Separator,
|
|
783
801
|
{
|
|
784
802
|
className: r("-mx-1 my-1 h-px bg-border", e),
|
|
785
803
|
...a
|
|
786
804
|
}
|
|
787
805
|
);
|
|
788
|
-
|
|
789
|
-
const
|
|
790
|
-
|
|
791
|
-
const
|
|
792
|
-
|
|
806
|
+
na.displayName = "MenuSeparator";
|
|
807
|
+
const ia = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Group, { className: r(e), ...a });
|
|
808
|
+
ia.displayName = "MenuGroup";
|
|
809
|
+
const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
810
|
+
l.GroupLabel,
|
|
793
811
|
{
|
|
794
812
|
className: r("px-3 py-1.5 text-sm font-semibold", e),
|
|
795
813
|
...a
|
|
796
814
|
}
|
|
797
815
|
);
|
|
798
|
-
|
|
799
|
-
const
|
|
800
|
-
|
|
801
|
-
const
|
|
802
|
-
|
|
816
|
+
da.displayName = "MenuGroupLabel";
|
|
817
|
+
const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioGroup, { className: r(e), ...a });
|
|
818
|
+
ca.displayName = "MenuRadioGroup";
|
|
819
|
+
const ua = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
820
|
+
l.RadioItem,
|
|
803
821
|
{
|
|
804
822
|
className: r(
|
|
805
823
|
d({ variant: "ghost", size: "sm" }),
|
|
@@ -809,9 +827,9 @@ const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
809
827
|
...a
|
|
810
828
|
}
|
|
811
829
|
);
|
|
812
|
-
|
|
813
|
-
const
|
|
814
|
-
|
|
830
|
+
ua.displayName = "MenuRadioItem";
|
|
831
|
+
const ma = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
832
|
+
l.CheckboxItem,
|
|
815
833
|
{
|
|
816
834
|
className: r(
|
|
817
835
|
d({ variant: "ghost", size: "sm" }),
|
|
@@ -821,20 +839,20 @@ const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
821
839
|
...a
|
|
822
840
|
}
|
|
823
841
|
);
|
|
824
|
-
|
|
825
|
-
const
|
|
826
|
-
|
|
827
|
-
const
|
|
842
|
+
ma.displayName = "MenuCheckboxItem";
|
|
843
|
+
const pa = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioItemIndicator, { className: r("col-start-1", e), ...a });
|
|
844
|
+
pa.displayName = "MenuRadioItemIndicator";
|
|
845
|
+
const ga = ({
|
|
828
846
|
className: e,
|
|
829
847
|
...a
|
|
830
|
-
}) => /* @__PURE__ */ t(
|
|
831
|
-
|
|
832
|
-
const
|
|
833
|
-
|
|
834
|
-
const
|
|
835
|
-
|
|
836
|
-
const
|
|
837
|
-
|
|
848
|
+
}) => /* @__PURE__ */ t(l.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
|
|
849
|
+
ga.displayName = "MenuCheckboxItemIndicator";
|
|
850
|
+
const fa = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
|
|
851
|
+
fa.displayName = "MenuCheckboxItemLabel";
|
|
852
|
+
const ba = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
|
|
853
|
+
ba.displayName = "MenuRadioItemLabel";
|
|
854
|
+
const ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
855
|
+
l.SubmenuTrigger,
|
|
838
856
|
{
|
|
839
857
|
className: r(
|
|
840
858
|
d({ variant: "ghost", size: "sm" }),
|
|
@@ -844,16 +862,16 @@ const fa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
844
862
|
...a
|
|
845
863
|
}
|
|
846
864
|
);
|
|
847
|
-
|
|
848
|
-
const
|
|
849
|
-
|
|
850
|
-
const
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
const
|
|
855
|
-
|
|
856
|
-
const
|
|
865
|
+
ya.displayName = "MenuSubmenuTrigger";
|
|
866
|
+
const Na = (e) => /* @__PURE__ */ t(l.SubmenuRoot, { ...e });
|
|
867
|
+
Na.displayName = "MenuSubmenuRoot";
|
|
868
|
+
const ha = (e) => /* @__PURE__ */ t(i.Root, { ...e });
|
|
869
|
+
ha.displayName = "PopoverRoot";
|
|
870
|
+
const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Trigger, { className: r(e), ...a });
|
|
871
|
+
xa.displayName = "PopoverTrigger";
|
|
872
|
+
const va = (e) => /* @__PURE__ */ t(i.Portal, { ...e });
|
|
873
|
+
va.displayName = "PopoverPortal";
|
|
874
|
+
const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
857
875
|
i.Backdrop,
|
|
858
876
|
{
|
|
859
877
|
className: r(
|
|
@@ -865,8 +883,8 @@ const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
865
883
|
...a
|
|
866
884
|
}
|
|
867
885
|
);
|
|
868
|
-
|
|
869
|
-
const
|
|
886
|
+
wa.displayName = "PopoverBackdrop";
|
|
887
|
+
const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
870
888
|
i.Positioner,
|
|
871
889
|
{
|
|
872
890
|
className: r(
|
|
@@ -883,8 +901,8 @@ const va = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
883
901
|
...a
|
|
884
902
|
}
|
|
885
903
|
);
|
|
886
|
-
|
|
887
|
-
const
|
|
904
|
+
ka.displayName = "PopoverPositioner";
|
|
905
|
+
const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
888
906
|
i.Popup,
|
|
889
907
|
{
|
|
890
908
|
className: r(
|
|
@@ -903,8 +921,8 @@ const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
903
921
|
...a
|
|
904
922
|
}
|
|
905
923
|
);
|
|
906
|
-
|
|
907
|
-
const
|
|
924
|
+
Pa.displayName = "PopoverPopup";
|
|
925
|
+
const Da = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
908
926
|
i.Arrow,
|
|
909
927
|
{
|
|
910
928
|
className: r(
|
|
@@ -912,11 +930,11 @@ const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
912
930
|
e
|
|
913
931
|
),
|
|
914
932
|
...a,
|
|
915
|
-
children: /* @__PURE__ */ t(
|
|
933
|
+
children: /* @__PURE__ */ t(Ca, {})
|
|
916
934
|
}
|
|
917
935
|
);
|
|
918
|
-
function
|
|
919
|
-
return /* @__PURE__ */
|
|
936
|
+
function Ca(e) {
|
|
937
|
+
return /* @__PURE__ */ k("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
|
|
920
938
|
/* @__PURE__ */ t(
|
|
921
939
|
"path",
|
|
922
940
|
{
|
|
@@ -933,19 +951,19 @@ function Pa(e) {
|
|
|
933
951
|
)
|
|
934
952
|
] });
|
|
935
953
|
}
|
|
936
|
-
|
|
937
|
-
const
|
|
938
|
-
|
|
939
|
-
const
|
|
940
|
-
|
|
941
|
-
const
|
|
942
|
-
|
|
943
|
-
const
|
|
944
|
-
|
|
945
|
-
const
|
|
946
|
-
|
|
947
|
-
const
|
|
948
|
-
|
|
954
|
+
Da.displayName = "PopoverArrow";
|
|
955
|
+
const Ta = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Title, { className: r("text-sm font-semibold", e), ...a });
|
|
956
|
+
Ta.displayName = "PopoverTitle";
|
|
957
|
+
const Aa = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Description, { className: r("text-sm", e), ...a });
|
|
958
|
+
Aa.displayName = "PopoverDescription";
|
|
959
|
+
const Ra = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Close, { className: r(e), ...a });
|
|
960
|
+
Ra.displayName = "PopoverClose";
|
|
961
|
+
const Ma = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Viewport, { className: r(e), ...a });
|
|
962
|
+
Ma.displayName = "PopoverViewport";
|
|
963
|
+
const za = ({ className: e, ...a }) => /* @__PURE__ */ t(v.Root, { className: r("w-full", e), ...a });
|
|
964
|
+
za.displayName = "ProgressRoot";
|
|
965
|
+
const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
966
|
+
v.Track,
|
|
949
967
|
{
|
|
950
968
|
className: r(
|
|
951
969
|
"relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
|
|
@@ -954,9 +972,9 @@ const Ra = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
954
972
|
...a
|
|
955
973
|
}
|
|
956
974
|
);
|
|
957
|
-
|
|
958
|
-
const
|
|
959
|
-
|
|
975
|
+
Va.displayName = "ProgressTrack";
|
|
976
|
+
const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
977
|
+
v.Indicator,
|
|
960
978
|
{
|
|
961
979
|
className: r(
|
|
962
980
|
"h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
|
|
@@ -965,25 +983,25 @@ const za = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
|
965
983
|
...a
|
|
966
984
|
}
|
|
967
985
|
);
|
|
968
|
-
|
|
969
|
-
const
|
|
970
|
-
|
|
986
|
+
Sa.displayName = "ProgressIndicator";
|
|
987
|
+
const Ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
988
|
+
v.Value,
|
|
971
989
|
{
|
|
972
990
|
className: r("text-sm font-medium text-foreground", e),
|
|
973
991
|
...a
|
|
974
992
|
}
|
|
975
993
|
);
|
|
976
|
-
|
|
977
|
-
const
|
|
978
|
-
|
|
994
|
+
Ia.displayName = "ProgressValue";
|
|
995
|
+
const La = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
996
|
+
v.Label,
|
|
979
997
|
{
|
|
980
998
|
className: r("text-sm font-medium text-foreground", e),
|
|
981
999
|
...a
|
|
982
1000
|
}
|
|
983
1001
|
);
|
|
984
|
-
|
|
985
|
-
const
|
|
986
|
-
|
|
1002
|
+
La.displayName = "ProgressLabel";
|
|
1003
|
+
const Ha = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
|
|
1004
|
+
B,
|
|
987
1005
|
{
|
|
988
1006
|
orientation: a,
|
|
989
1007
|
className: r(
|
|
@@ -999,14 +1017,14 @@ const Sa = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
|
|
|
999
1017
|
...o
|
|
1000
1018
|
}
|
|
1001
1019
|
);
|
|
1002
|
-
|
|
1003
|
-
const
|
|
1020
|
+
Ha.displayName = "ToggleGroupRoot";
|
|
1021
|
+
const _a = ({
|
|
1004
1022
|
className: e,
|
|
1005
1023
|
variant: a,
|
|
1006
1024
|
size: o,
|
|
1007
1025
|
...s
|
|
1008
1026
|
}) => /* @__PURE__ */ t(
|
|
1009
|
-
|
|
1027
|
+
R,
|
|
1010
1028
|
{
|
|
1011
1029
|
className: r(
|
|
1012
1030
|
V({ variant: a, size: o }),
|
|
@@ -1017,106 +1035,167 @@ const La = ({
|
|
|
1017
1035
|
...s
|
|
1018
1036
|
}
|
|
1019
1037
|
);
|
|
1020
|
-
|
|
1038
|
+
_a.displayName = "ToggleGroupItem";
|
|
1039
|
+
const Ba = u("rounded-lg bg-card text-card-foreground transition-colors", {
|
|
1040
|
+
variants: {
|
|
1041
|
+
variant: {
|
|
1042
|
+
default: "border shadow-sm",
|
|
1043
|
+
outline: "border",
|
|
1044
|
+
elevated: "shadow-md"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
defaultVariants: {
|
|
1048
|
+
variant: "default"
|
|
1049
|
+
}
|
|
1050
|
+
}), Fa = y.forwardRef(
|
|
1051
|
+
({ className: e, variant: a, ...o }, s) => /* @__PURE__ */ t(
|
|
1052
|
+
"article",
|
|
1053
|
+
{
|
|
1054
|
+
ref: s,
|
|
1055
|
+
className: r(Ba({ variant: a }), e),
|
|
1056
|
+
...o
|
|
1057
|
+
}
|
|
1058
|
+
)
|
|
1059
|
+
);
|
|
1060
|
+
Fa.displayName = "CardRoot";
|
|
1061
|
+
const ja = ({ className: e, ...a }) => /* @__PURE__ */ t(
|
|
1062
|
+
"div",
|
|
1063
|
+
{
|
|
1064
|
+
className: r(
|
|
1065
|
+
"overflow-hidden",
|
|
1066
|
+
"[&>img]:h-full [&>img]:w-full [&>img]:object-cover",
|
|
1067
|
+
e
|
|
1068
|
+
),
|
|
1069
|
+
...a
|
|
1070
|
+
}
|
|
1071
|
+
);
|
|
1072
|
+
ja.displayName = "CardMedia";
|
|
1073
|
+
const Ga = ({ className: e, ...a }) => /* @__PURE__ */ t("header", { className: r("flex flex-col gap-1 p-4", e), ...a });
|
|
1074
|
+
Ga.displayName = "CardHeader";
|
|
1075
|
+
const qa = ({ as: e = "h3", className: a, ...o }) => /* @__PURE__ */ t(
|
|
1076
|
+
e,
|
|
1077
|
+
{
|
|
1078
|
+
className: r("text-base font-semibold leading-tight", a),
|
|
1079
|
+
...o
|
|
1080
|
+
}
|
|
1081
|
+
);
|
|
1082
|
+
qa.displayName = "CardTitle";
|
|
1083
|
+
const Za = ({ className: e, ...a }) => /* @__PURE__ */ t("p", { className: r("text-sm", e), ...a });
|
|
1084
|
+
Za.displayName = "CardDescription";
|
|
1085
|
+
const $a = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("p-4 pt-0", e), ...a });
|
|
1086
|
+
$a.displayName = "CardContent";
|
|
1087
|
+
const Ea = ({ className: e, ...a }) => /* @__PURE__ */ t("section", { className: r("p-4", e), ...a });
|
|
1088
|
+
Ea.displayName = "CardSection";
|
|
1089
|
+
const Oa = ({ className: e, ...a }) => /* @__PURE__ */ t("footer", { className: r("flex items-center p-4", e), ...a });
|
|
1090
|
+
Oa.displayName = "CardFooter";
|
|
1021
1091
|
export {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1092
|
+
Ee as AccordionHeader,
|
|
1093
|
+
$e as AccordionItem,
|
|
1094
|
+
Je as AccordionPanel,
|
|
1095
|
+
Ze as AccordionRoot,
|
|
1096
|
+
Oe as AccordionTrigger,
|
|
1097
|
+
bt as AlertDialog,
|
|
1098
|
+
O as AlertDialogBackdrop,
|
|
1099
|
+
X as AlertDialogClose,
|
|
1100
|
+
W as AlertDialogDescription,
|
|
1101
|
+
Q as AlertDialogPopup,
|
|
1102
|
+
E as AlertDialogPortal,
|
|
1103
|
+
Z as AlertDialogRoot,
|
|
1104
|
+
U as AlertDialogTitle,
|
|
1105
|
+
$ as AlertDialogTrigger,
|
|
1106
|
+
J as AlertDialogViewport,
|
|
1107
|
+
ee as AvatarFallback,
|
|
1108
|
+
Y as AvatarImage,
|
|
1039
1109
|
z as AvatarRoot,
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1110
|
+
ae as AvatarStack,
|
|
1111
|
+
F as Button,
|
|
1112
|
+
$a as CardContent,
|
|
1113
|
+
Za as CardDescription,
|
|
1114
|
+
Oa as CardFooter,
|
|
1115
|
+
Ga as CardHeader,
|
|
1116
|
+
ja as CardMedia,
|
|
1117
|
+
Fa as CardRoot,
|
|
1118
|
+
Ea as CardSection,
|
|
1119
|
+
qa as CardTitle,
|
|
1120
|
+
q as CollapsiblePanel,
|
|
1043
1121
|
j as CollapsibleRoot,
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1122
|
+
G as CollapsibleTrigger,
|
|
1123
|
+
ke as DialogBackdrop,
|
|
1124
|
+
Ae as DialogClose,
|
|
1125
|
+
Te as DialogDescription,
|
|
1126
|
+
Me as DialogFooter,
|
|
1127
|
+
Re as DialogHeader,
|
|
1128
|
+
De as DialogPopup,
|
|
1129
|
+
we as DialogPortal,
|
|
1130
|
+
xe as DialogRoot,
|
|
1131
|
+
Ce as DialogTitle,
|
|
1132
|
+
ve as DialogTrigger,
|
|
1133
|
+
Ie as DrawerBackdrop,
|
|
1134
|
+
Fe as DrawerClose,
|
|
1135
|
+
Ge as DrawerContent,
|
|
1136
|
+
Be as DrawerDescription,
|
|
1137
|
+
qe as DrawerFooter,
|
|
1138
|
+
je as DrawerHeader,
|
|
1139
|
+
He as DrawerPopup,
|
|
1140
|
+
Se as DrawerPortal,
|
|
1141
|
+
ze as DrawerRoot,
|
|
1142
|
+
_e as DrawerTitle,
|
|
1143
|
+
Ve as DrawerTrigger,
|
|
1144
|
+
oa as MenuArrow,
|
|
1145
|
+
ma as MenuCheckboxItem,
|
|
1146
|
+
ga as MenuCheckboxItemIndicator,
|
|
1147
|
+
fa as MenuCheckboxItemLabel,
|
|
1148
|
+
ia as MenuGroup,
|
|
1149
|
+
da as MenuGroupLabel,
|
|
1150
|
+
la as MenuItem,
|
|
1151
|
+
ra as MenuPopup,
|
|
1152
|
+
aa as MenuPortal,
|
|
1153
|
+
ta as MenuPositioner,
|
|
1154
|
+
ca as MenuRadioGroup,
|
|
1155
|
+
ua as MenuRadioItem,
|
|
1156
|
+
pa as MenuRadioItemIndicator,
|
|
1157
|
+
ba as MenuRadioItemLabel,
|
|
1158
|
+
Ye as MenuRoot,
|
|
1159
|
+
na as MenuSeparator,
|
|
1160
|
+
Na as MenuSubmenuRoot,
|
|
1161
|
+
ya as MenuSubmenuTrigger,
|
|
1162
|
+
ea as MenuTrigger,
|
|
1163
|
+
Ue as MeterIndicator,
|
|
1164
|
+
Xe as MeterLabel,
|
|
1165
|
+
Ke as MeterRoot,
|
|
1166
|
+
Qe as MeterTrack,
|
|
1167
|
+
We as MeterValue,
|
|
1168
|
+
Da as PopoverArrow,
|
|
1169
|
+
wa as PopoverBackdrop,
|
|
1170
|
+
Ra as PopoverClose,
|
|
1171
|
+
Aa as PopoverDescription,
|
|
1172
|
+
Pa as PopoverPopup,
|
|
1173
|
+
va as PopoverPortal,
|
|
1174
|
+
ka as PopoverPositioner,
|
|
1175
|
+
ha as PopoverRoot,
|
|
1176
|
+
Ta as PopoverTitle,
|
|
1177
|
+
xa as PopoverTrigger,
|
|
1178
|
+
Ma as PopoverViewport,
|
|
1179
|
+
Sa as ProgressIndicator,
|
|
1180
|
+
La as ProgressLabel,
|
|
1181
|
+
za as ProgressRoot,
|
|
1182
|
+
Va as ProgressTrack,
|
|
1183
|
+
Ia as ProgressValue,
|
|
1184
|
+
oe as ScrollAreaContent,
|
|
1107
1185
|
ne as ScrollAreaCorner,
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1186
|
+
te as ScrollAreaRoot,
|
|
1187
|
+
se as ScrollAreaScrollbar,
|
|
1188
|
+
le as ScrollAreaThumb,
|
|
1189
|
+
re as ScrollAreaViewport,
|
|
1190
|
+
ie as Separator,
|
|
1191
|
+
de as SwitchRoot,
|
|
1192
|
+
ce as SwitchThumb,
|
|
1193
|
+
Ne as TabsIndicator,
|
|
1194
|
+
ge as TabsList,
|
|
1195
|
+
he as TabsPanel,
|
|
1196
|
+
me as TabsRoot,
|
|
1197
|
+
be as TabsTab,
|
|
1198
|
+
ue as Toggle,
|
|
1199
|
+
_a as ToggleGroupItem,
|
|
1200
|
+
Ha as ToggleGroupRoot
|
|
1122
1201
|
};
|