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