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