@lglab/compose-ui 0.13.0 → 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",
@@ -310,16 +311,14 @@ const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
310
311
  "transition-[background-position,box-shadow] duration-125 ease-[cubic-bezier(0.26,0.75,0.38,0.45)]",
311
312
  "data-checked:bg-position-[0%_0%]",
312
313
  "dark:from-primary/50 dark:shadow-none",
313
- "dark:data-checked:bg-foreground",
314
- "data-disabled:cursor-not-allowed data-disabled:opacity-70",
315
314
  e
316
315
  ),
317
316
  ...a
318
317
  }
319
318
  );
320
319
  le.displayName = "SwitchRoot";
321
- const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
322
- M.Thumb,
320
+ const ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
321
+ C.Thumb,
323
322
  {
324
323
  className: r(
325
324
  "aspect-square h-full rounded-full bg-background",
@@ -333,8 +332,8 @@ const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(
333
332
  ...a
334
333
  }
335
334
  );
336
- ne.displayName = "SwitchThumb";
337
- const C = c(
335
+ ie.displayName = "SwitchThumb";
336
+ const V = u(
338
337
  [
339
338
  "inline-flex items-center justify-center gap-2 rounded-md",
340
339
  "text-sm font-medium",
@@ -365,11 +364,11 @@ const C = c(
365
364
  size: "default"
366
365
  }
367
366
  }
368
- ), ie = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(R, { className: r(C({ variant: a, size: o }), e), ...s });
369
- ie.displayName = "Toggle";
370
- const de = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Root, { className: r("flex flex-col", e), ...a });
371
- de.displayName = "TabsRoot";
372
- 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(
373
372
  ["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
374
373
  {
375
374
  variants: {
@@ -382,15 +381,15 @@ const ce = c(
382
381
  orientation: "horizontal"
383
382
  }
384
383
  }
385
- ), ue = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
386
- b.List,
384
+ ), me = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
385
+ y.List,
387
386
  {
388
- className: r(ce({ orientation: a }), e),
387
+ className: r(ue({ orientation: a }), e),
389
388
  ...o
390
389
  }
391
390
  );
392
- ue.displayName = "TabsList";
393
- const me = c(
391
+ me.displayName = "TabsList";
392
+ const pe = u(
394
393
  [
395
394
  "relative z-10 inline-flex items-center justify-center whitespace-nowrap",
396
395
  "rounded-md px-3 py-1.5 text-sm font-medium",
@@ -411,9 +410,9 @@ const me = c(
411
410
  size: "default"
412
411
  }
413
412
  }
414
- ), pe = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(b.Tab, { className: r(me({ size: a }), e), ...o });
415
- pe.displayName = "TabsTab";
416
- 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(
417
416
  ["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
418
417
  {
419
418
  variants: {
@@ -426,34 +425,34 @@ const ge = c(
426
425
  orientation: "horizontal"
427
426
  }
428
427
  }
429
- ), fe = ({
428
+ ), be = ({
430
429
  className: e,
431
430
  orientation: a = "horizontal",
432
431
  ...o
433
432
  }) => /* @__PURE__ */ t(
434
- b.Indicator,
433
+ y.Indicator,
435
434
  {
436
- className: r(ge({ orientation: a }), e),
435
+ className: r(fe({ orientation: a }), e),
437
436
  ...o
438
437
  }
439
438
  );
440
- fe.displayName = "TabsIndicator";
441
- const be = ({ className: e, ...a }) => /* @__PURE__ */ t(b.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
442
- be.displayName = "TabsPanel";
443
- const ye = (e) => /* @__PURE__ */ t(n.Root, { ...e });
444
- ye.displayName = "DialogRoot";
445
- const he = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
446
- 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,
447
446
  {
448
- className: r(i({ variant: a, size: o }), e),
447
+ className: r(d({ variant: a, size: o }), e),
449
448
  ...s
450
449
  }
451
450
  );
452
- he.displayName = "DialogTrigger";
453
- const Ne = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
454
- Ne.displayName = "DialogPortal";
455
- const xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
456
- 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,
457
456
  {
458
457
  className: r(
459
458
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -464,8 +463,8 @@ const xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
464
463
  ...a
465
464
  }
466
465
  );
467
- xe.displayName = "DialogBackdrop";
468
- const ve = c(
466
+ ve.displayName = "DialogBackdrop";
467
+ const we = u(
469
468
  [
470
469
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
471
470
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -489,35 +488,35 @@ const ve = c(
489
488
  size: "default"
490
489
  }
491
490
  }
492
- ), we = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
493
- n.Popup,
491
+ ), ke = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
492
+ l.Popup,
494
493
  {
495
- className: r(ve({ size: a }), e),
494
+ className: r(we({ size: a }), e),
496
495
  ...o
497
496
  }
498
497
  );
499
- we.displayName = "DialogPopup";
500
- const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
501
- n.Title,
498
+ ke.displayName = "DialogPopup";
499
+ const Pe = ({ className: e, ...a }) => /* @__PURE__ */ t(
500
+ l.Title,
502
501
  {
503
502
  className: r("text-lg font-semibold leading-none tracking-tight", e),
504
503
  ...a
505
504
  }
506
505
  );
507
- ke.displayName = "DialogTitle";
508
- 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 });
509
508
  De.displayName = "DialogDescription";
510
509
  const Te = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
511
- n.Close,
510
+ l.Close,
512
511
  {
513
- className: r(i({ variant: a ?? "outline", size: o }), e),
512
+ className: r(d({ variant: a ?? "outline", size: o }), e),
514
513
  ...s
515
514
  }
516
515
  );
517
516
  Te.displayName = "DialogClose";
518
517
  const Ae = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
519
518
  Ae.displayName = "DialogHeader";
520
- const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
519
+ const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
521
520
  "div",
522
521
  {
523
522
  className: r(
@@ -527,21 +526,21 @@ const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
527
526
  ...a
528
527
  }
529
528
  );
530
- Me.displayName = "DialogFooter";
531
- const Re = (e) => /* @__PURE__ */ t(n.Root, { ...e });
532
- Re.displayName = "DrawerRoot";
533
- const ze = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
534
- 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,
535
534
  {
536
- className: r(i({ variant: a, size: o }), e),
535
+ className: r(d({ variant: a, size: o }), e),
537
536
  ...s
538
537
  }
539
538
  );
540
- ze.displayName = "DrawerTrigger";
541
- const Pe = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
542
- Pe.displayName = "DrawerPortal";
543
- const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
544
- 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,
545
544
  {
546
545
  className: r(
547
546
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -552,8 +551,8 @@ const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
552
551
  ...a
553
552
  }
554
553
  );
555
- Ce.displayName = "DrawerBackdrop";
556
- const Ie = c(
554
+ Ve.displayName = "DrawerBackdrop";
555
+ const Ie = u(
557
556
  [
558
557
  "fixed z-50 flex flex-col bg-background p-6 shadow-lg",
559
558
  "transition-transform duration-300 ease-out",
@@ -590,51 +589,51 @@ const Ie = c(
590
589
  }
591
590
  }
592
591
  ), Se = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
593
- n.Popup,
592
+ l.Popup,
594
593
  {
595
594
  className: r(Ie({ side: a }), e),
596
595
  ...o
597
596
  }
598
597
  );
599
598
  Se.displayName = "DrawerPopup";
600
- const Ve = ({ className: e, ...a }) => /* @__PURE__ */ t(
601
- n.Title,
599
+ const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(
600
+ l.Title,
602
601
  {
603
602
  className: r("text-lg font-semibold leading-none tracking-tight", e),
604
603
  ...a
605
604
  }
606
605
  );
607
- Ve.displayName = "DrawerTitle";
608
- const Le = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("", e), ...a });
609
- Le.displayName = "DrawerDescription";
610
- const _e = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
611
- 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,
612
611
  {
613
- className: r(i({ variant: a ?? "outline", size: o }), e),
612
+ className: r(d({ variant: a ?? "outline", size: o }), e),
614
613
  ...s
615
614
  }
616
615
  );
617
- _e.displayName = "DrawerClose";
618
- const je = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
619
- je.displayName = "DrawerHeader";
620
- const Fe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
621
- Fe.displayName = "DrawerContent";
622
- const Be = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
623
- Be.displayName = "DrawerFooter";
624
- 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 });
625
624
  Ge.displayName = "AccordionRoot";
626
- const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
627
- y.Item,
625
+ const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
626
+ h.Item,
628
627
  {
629
628
  className: r("border-b border-border last:border-b-0", e),
630
629
  ...a
631
630
  }
632
631
  );
633
- He.displayName = "AccordionItem";
634
- const qe = ({ className: e, ...a }) => /* @__PURE__ */ t(y.Header, { className: r("flex", e), ...a });
635
- qe.displayName = "AccordionHeader";
636
- const Ee = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
637
- 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,
638
637
  {
639
638
  className: r(
640
639
  "flex flex-1 items-center justify-between py-3 font-medium",
@@ -644,9 +643,9 @@ const Ee = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
644
643
  children: a
645
644
  }
646
645
  );
647
- Ee.displayName = "AccordionTrigger";
648
- const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t(
649
- y.Panel,
646
+ $e.displayName = "AccordionTrigger";
647
+ const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
648
+ h.Panel,
650
649
  {
651
650
  className: r(
652
651
  "overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
@@ -655,25 +654,25 @@ const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t(
655
654
  ...a
656
655
  }
657
656
  );
658
- Ze.displayName = "AccordionPanel";
659
- const $e = ({ className: e, animated: a, value: o, ...s }) => {
660
- const d = o ?? 0, [m, g] = v.useState(a ? 0 : d);
661
- 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(() => {
662
661
  if (a) {
663
- const x = requestAnimationFrame(() => {
664
- const w = requestAnimationFrame(() => {
665
- g(d ?? 0);
662
+ const v = requestAnimationFrame(() => {
663
+ const P = requestAnimationFrame(() => {
664
+ f(c ?? 0);
666
665
  });
667
- return () => cancelAnimationFrame(w);
666
+ return () => cancelAnimationFrame(P);
668
667
  });
669
- return () => cancelAnimationFrame(x);
668
+ return () => cancelAnimationFrame(v);
670
669
  } else
671
- g(d ?? 0);
672
- }, [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 });
673
672
  };
674
- $e.displayName = "MeterRoot";
675
- const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(
676
- h.Track,
673
+ Oe.displayName = "MeterRoot";
674
+ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
675
+ N.Track,
677
676
  {
678
677
  className: r(
679
678
  "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
@@ -682,9 +681,9 @@ const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(
682
681
  ...a
683
682
  }
684
683
  );
685
- Oe.displayName = "MeterTrack";
686
- const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
687
- h.Indicator,
684
+ Je.displayName = "MeterTrack";
685
+ const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
686
+ N.Indicator,
688
687
  {
689
688
  className: r(
690
689
  "h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
@@ -693,63 +692,63 @@ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
693
692
  ...a
694
693
  }
695
694
  );
696
- Je.displayName = "MeterIndicator";
697
- const Ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
698
- h.Value,
695
+ Ke.displayName = "MeterIndicator";
696
+ const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
697
+ N.Value,
699
698
  {
700
699
  className: r("text-sm font-medium text-foreground", e),
701
700
  ...a
702
701
  }
703
702
  );
704
- Ke.displayName = "MeterValue";
705
- const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
706
- h.Label,
703
+ Qe.displayName = "MeterValue";
704
+ const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
705
+ N.Label,
707
706
  {
708
707
  className: r("text-sm font-medium text-foreground", e),
709
708
  ...a
710
709
  }
711
710
  );
712
- Qe.displayName = "MeterLabel";
713
- const Ue = (e) => /* @__PURE__ */ t(l.Root, { ...e });
714
- Ue.displayName = "MenuRoot";
715
- const We = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Trigger, { className: r(e), ...a });
716
- We.displayName = "MenuTrigger";
717
- const Xe = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
718
- Xe.displayName = "MenuPortal";
719
- const Ye = ({ className: e, ...a }) => /* @__PURE__ */ t(
720
- 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,
721
720
  {
722
721
  className: r("z-50 outline-none", e),
723
722
  sideOffset: 8,
724
723
  ...a
725
724
  }
726
725
  );
727
- Ye.displayName = "MenuPositioner";
728
- const ea = ({ className: e, ...a }) => /* @__PURE__ */ t(
729
- l.Popup,
726
+ ea.displayName = "MenuPositioner";
727
+ const aa = ({ className: e, ...a }) => /* @__PURE__ */ t(
728
+ n.Popup,
730
729
  {
731
730
  className: r(
732
- "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",
733
732
  "min-w-[8rem]",
734
733
  e
735
734
  ),
736
735
  ...a
737
736
  }
738
737
  );
739
- ea.displayName = "MenuPopup";
740
- const aa = ({ className: e, ...a }) => /* @__PURE__ */ t(
741
- l.Arrow,
738
+ aa.displayName = "MenuPopup";
739
+ const ta = ({ className: e, ...a }) => /* @__PURE__ */ t(
740
+ n.Arrow,
742
741
  {
743
742
  className: r(
744
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",
745
744
  e
746
745
  ),
747
746
  ...a,
748
- children: /* @__PURE__ */ t(ta, {})
747
+ children: /* @__PURE__ */ t(ra, {})
749
748
  }
750
749
  );
751
- function ta(e) {
752
- 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: [
753
752
  /* @__PURE__ */ t(
754
753
  "path",
755
754
  {
@@ -766,92 +765,187 @@ function ta(e) {
766
765
  )
767
766
  ] });
768
767
  }
769
- aa.displayName = "MenuArrow";
770
- const ra = ({ className: e, ...a }) => /* @__PURE__ */ t(
771
- l.Item,
768
+ ta.displayName = "MenuArrow";
769
+ const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
770
+ n.Item,
772
771
  {
773
772
  className: r(
774
- i({ variant: "ghost", size: "sm" }),
773
+ d({ variant: "ghost", size: "sm" }),
775
774
  "flex justify-start",
776
775
  e
777
776
  ),
778
777
  ...a
779
778
  }
780
779
  );
781
- ra.displayName = "MenuItem";
782
- const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
783
- l.Separator,
780
+ oa.displayName = "MenuItem";
781
+ const sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
782
+ n.Separator,
784
783
  {
785
784
  className: r("-mx-1 my-1 h-px bg-border", e),
786
785
  ...a
787
786
  }
788
787
  );
789
- oa.displayName = "MenuSeparator";
790
- const sa = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Group, { className: r(e), ...a });
791
- 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";
792
791
  const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
793
- l.GroupLabel,
792
+ n.GroupLabel,
794
793
  {
795
794
  className: r("px-3 py-1.5 text-sm font-semibold", e),
796
795
  ...a
797
796
  }
798
797
  );
799
798
  la.displayName = "MenuGroupLabel";
800
- const na = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioGroup, { className: r(e), ...a });
801
- na.displayName = "MenuRadioGroup";
802
- const ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
803
- 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,
804
803
  {
805
804
  className: r(
806
- i({ variant: "ghost", size: "sm" }),
805
+ d({ variant: "ghost", size: "sm" }),
807
806
  "grid grid-cols-[0.75rem_1fr] gap-2",
808
807
  e
809
808
  ),
810
809
  ...a
811
810
  }
812
811
  );
813
- ia.displayName = "MenuRadioItem";
814
- const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
815
- l.CheckboxItem,
812
+ da.displayName = "MenuRadioItem";
813
+ const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(
814
+ n.CheckboxItem,
816
815
  {
817
816
  className: r(
818
- i({ variant: "ghost", size: "sm" }),
817
+ d({ variant: "ghost", size: "sm" }),
819
818
  "grid grid-cols-[0.75rem_1fr] gap-2",
820
819
  e
821
820
  ),
822
821
  ...a
823
822
  }
824
823
  );
825
- da.displayName = "MenuCheckboxItem";
826
- const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioItemIndicator, { className: r("col-start-1", e), ...a });
827
- ca.displayName = "MenuRadioItemIndicator";
828
- 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 = ({
829
828
  className: e,
830
829
  ...a
831
- }) => /* @__PURE__ */ t(l.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
832
- ua.displayName = "MenuCheckboxItemIndicator";
833
- const ma = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
834
- ma.displayName = "MenuCheckboxItemLabel";
830
+ }) => /* @__PURE__ */ t(n.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
831
+ ma.displayName = "MenuCheckboxItemIndicator";
835
832
  const pa = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
836
- pa.displayName = "MenuRadioItemLabel";
837
- const ga = ({ className: e, ...a }) => /* @__PURE__ */ t(
838
- 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,
839
838
  {
840
839
  className: r(
841
- i({ variant: "ghost", size: "sm" }),
840
+ d({ variant: "ghost", size: "sm" }),
842
841
  "flex justify-between",
843
842
  e
844
843
  ),
845
844
  ...a
846
845
  }
847
846
  );
848
- ga.displayName = "MenuSubmenuTrigger";
849
- const fa = (e) => /* @__PURE__ */ t(l.SubmenuRoot, { ...e });
850
- fa.displayName = "MenuSubmenuRoot";
851
- const ba = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Root, { className: r("w-full", e), ...a });
852
- ba.displayName = "ProgressRoot";
853
- const ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
854
- 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,
855
949
  {
856
950
  className: r(
857
951
  "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
@@ -860,9 +954,9 @@ const ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
860
954
  ...a
861
955
  }
862
956
  );
863
- ya.displayName = "ProgressTrack";
864
- const ha = ({ className: e, ...a }) => /* @__PURE__ */ t(
865
- N.Indicator,
957
+ Ra.displayName = "ProgressTrack";
958
+ const za = ({ className: e, ...a }) => /* @__PURE__ */ t(
959
+ x.Indicator,
866
960
  {
867
961
  className: r(
868
962
  "h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
@@ -871,25 +965,25 @@ const ha = ({ className: e, ...a }) => /* @__PURE__ */ t(
871
965
  ...a
872
966
  }
873
967
  );
874
- ha.displayName = "ProgressIndicator";
875
- const Na = ({ className: e, ...a }) => /* @__PURE__ */ t(
876
- N.Value,
968
+ za.displayName = "ProgressIndicator";
969
+ const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(
970
+ x.Value,
877
971
  {
878
972
  className: r("text-sm font-medium text-foreground", e),
879
973
  ...a
880
974
  }
881
975
  );
882
- Na.displayName = "ProgressValue";
883
- const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(
884
- N.Label,
976
+ Va.displayName = "ProgressValue";
977
+ const Ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
978
+ x.Label,
885
979
  {
886
980
  className: r("text-sm font-medium text-foreground", e),
887
981
  ...a
888
982
  }
889
983
  );
890
- xa.displayName = "ProgressLabel";
891
- const va = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
892
- _,
984
+ Ia.displayName = "ProgressLabel";
985
+ const Sa = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
986
+ H,
893
987
  {
894
988
  orientation: a,
895
989
  className: r(
@@ -905,17 +999,17 @@ const va = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
905
999
  ...o
906
1000
  }
907
1001
  );
908
- va.displayName = "ToggleGroupRoot";
909
- const wa = ({
1002
+ Sa.displayName = "ToggleGroupRoot";
1003
+ const La = ({
910
1004
  className: e,
911
1005
  variant: a,
912
1006
  size: o,
913
1007
  ...s
914
1008
  }) => /* @__PURE__ */ t(
915
- R,
1009
+ M,
916
1010
  {
917
1011
  className: r(
918
- C({ variant: a, size: o }),
1012
+ V({ variant: a, size: o }),
919
1013
  // Ghost variant in toggle-group: add borders, no background when pressed
920
1014
  a === "ghost" && "border border-border",
921
1015
  e
@@ -923,95 +1017,106 @@ const wa = ({
923
1017
  ...s
924
1018
  }
925
1019
  );
926
- wa.displayName = "ToggleGroupItem";
1020
+ La.displayName = "ToggleGroupItem";
927
1021
  export {
928
- qe as AccordionHeader,
929
- He as AccordionItem,
930
- Ze as AccordionPanel,
1022
+ Ze as AccordionHeader,
1023
+ qe as AccordionItem,
1024
+ Ee as AccordionPanel,
931
1025
  Ge as AccordionRoot,
932
- Ee as AccordionTrigger,
933
- Za as AlertDialog,
934
- Z as AlertDialogBackdrop,
935
- U as AlertDialogClose,
936
- Q as AlertDialogDescription,
937
- J as AlertDialogPopup,
938
- E as AlertDialogPortal,
939
- H as AlertDialogRoot,
940
- K as AlertDialogTitle,
941
- q as AlertDialogTrigger,
942
- $ as AlertDialogViewport,
943
- X as AvatarFallback,
944
- W as AvatarImage,
945
- P as AvatarRoot,
946
- Y as AvatarStack,
947
- 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,
948
1042
  G as CollapsiblePanel,
949
- F as CollapsibleRoot,
950
- B as CollapsibleTrigger,
951
- xe as DialogBackdrop,
1043
+ j as CollapsibleRoot,
1044
+ F as CollapsibleTrigger,
1045
+ ve as DialogBackdrop,
952
1046
  Te as DialogClose,
953
1047
  De as DialogDescription,
954
- Me as DialogFooter,
1048
+ Ce as DialogFooter,
955
1049
  Ae as DialogHeader,
956
- we as DialogPopup,
957
- Ne as DialogPortal,
958
- ye as DialogRoot,
959
- ke as DialogTitle,
960
- he as DialogTrigger,
961
- Ce as DrawerBackdrop,
962
- _e as DrawerClose,
963
- Fe as DrawerContent,
964
- Le as DrawerDescription,
965
- Be as DrawerFooter,
966
- 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,
967
1061
  Se as DrawerPopup,
968
- Pe as DrawerPortal,
969
- Re as DrawerRoot,
970
- Ve as DrawerTitle,
971
- ze as DrawerTrigger,
972
- aa as MenuArrow,
973
- da as MenuCheckboxItem,
974
- ua as MenuCheckboxItemIndicator,
975
- ma as MenuCheckboxItemLabel,
976
- 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,
977
1071
  la as MenuGroupLabel,
978
- ra as MenuItem,
979
- ea as MenuPopup,
980
- Xe as MenuPortal,
981
- Ye as MenuPositioner,
982
- na as MenuRadioGroup,
983
- ia as MenuRadioItem,
984
- ca as MenuRadioItemIndicator,
985
- pa as MenuRadioItemLabel,
986
- Ue as MenuRoot,
987
- oa as MenuSeparator,
988
- fa as MenuSubmenuRoot,
989
- ga as MenuSubmenuTrigger,
990
- We as MenuTrigger,
991
- Je as MeterIndicator,
992
- Qe as MeterLabel,
993
- $e as MeterRoot,
994
- Oe as MeterTrack,
995
- Ke as MeterValue,
996
- ha as ProgressIndicator,
997
- xa as ProgressLabel,
998
- ba as ProgressRoot,
999
- ya as ProgressTrack,
1000
- Na as ProgressValue,
1001
- te as ScrollAreaContent,
1002
- se as ScrollAreaCorner,
1003
- ee as ScrollAreaRoot,
1004
- re as ScrollAreaScrollbar,
1005
- oe as ScrollAreaThumb,
1006
- 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,
1007
1112
  le as SwitchRoot,
1008
- ne as SwitchThumb,
1009
- fe as TabsIndicator,
1010
- ue as TabsList,
1011
- be as TabsPanel,
1012
- de as TabsRoot,
1013
- pe as TabsTab,
1014
- ie as Toggle,
1015
- wa as ToggleGroupItem,
1016
- 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
1017
1122
  };