@lglab/compose-ui 0.16.0 → 0.18.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,27 +1,29 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as k } from "react/jsx-runtime";
3
- import { Button as I } from "@base-ui/react/button";
4
- import { cva as u } from "class-variance-authority";
5
- import { clsx as L } from "clsx";
6
- import { twMerge as H } from "tailwind-merge";
7
- import { Collapsible as D } from "@base-ui/react/collapsible";
8
- import { AlertDialog as m } from "@base-ui/react/alert-dialog";
9
- import { AlertDialog as bt } from "@base-ui/react/alert-dialog";
10
- import { Avatar as C } from "@base-ui/react/avatar";
11
- import * as y from "react";
12
- import { ScrollArea as g } from "@base-ui/react/scroll-area";
2
+ import { jsx as t, jsxs as b } from "react/jsx-runtime";
3
+ import { Button as V } from "@base-ui/react/button";
4
+ import { cva as m } from "class-variance-authority";
5
+ import { clsx as H } from "clsx";
6
+ import { twMerge as G } from "tailwind-merge";
7
+ import { Collapsible as P } from "@base-ui/react/collapsible";
8
+ import { AlertDialog as p } from "@base-ui/react/alert-dialog";
9
+ import { AlertDialog as ir } from "@base-ui/react/alert-dialog";
10
+ import { Avatar as I } from "@base-ui/react/avatar";
11
+ import * as x from "react";
12
+ import { ScrollArea as f } from "@base-ui/react/scroll-area";
13
13
  import { Separator as _ } from "@base-ui/react/separator";
14
- import { Switch as A } from "@base-ui/react/switch";
15
- import { Toggle as R } from "@base-ui/react/toggle";
16
- import { Tabs as N } from "@base-ui/react/tabs";
17
- import { Dialog as n } from "@base-ui/react/dialog";
18
- import { Accordion as h } from "@base-ui/react/accordion";
19
- import { Meter as x } from "@base-ui/react/meter";
20
- import { Menu as l } from "@base-ui/react/menu";
21
- import { Popover as i } from "@base-ui/react/popover";
22
- import { Progress as v } from "@base-ui/react/progress";
23
- import { ToggleGroup as B } from "@base-ui/react/toggle-group";
24
- const d = u(
14
+ import { Switch as D } from "@base-ui/react/switch";
15
+ import { Toggle as A } from "@base-ui/react/toggle";
16
+ import { Tabs as h } from "@base-ui/react/tabs";
17
+ import { Dialog as d } from "@base-ui/react/dialog";
18
+ import { Accordion as v } from "@base-ui/react/accordion";
19
+ import { Meter as w } from "@base-ui/react/meter";
20
+ import { Menu as s } from "@base-ui/react/menu";
21
+ import { Popover as c } from "@base-ui/react/popover";
22
+ import { Progress as C } from "@base-ui/react/progress";
23
+ import { ToggleGroup as j } from "@base-ui/react/toggle-group";
24
+ import { ContextMenu as l } from "@base-ui/react/context-menu";
25
+ import { Menubar as B } from "@base-ui/react/menubar";
26
+ const i = m(
25
27
  [
26
28
  "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"
27
29
  ],
@@ -51,37 +53,37 @@ const d = u(
51
53
  }
52
54
  );
53
55
  function r(...e) {
54
- return H(L(e));
56
+ return G(H(e));
55
57
  }
56
58
  const F = ({
57
59
  className: e,
58
60
  variant: a,
59
61
  size: o,
60
- disabled: s,
61
- children: c,
62
- ...p
62
+ disabled: n,
63
+ children: u,
64
+ ...g
63
65
  }) => /* @__PURE__ */ t(
64
- I,
66
+ V,
65
67
  {
66
- className: r(d({ variant: a, size: o }), e),
67
- disabled: s,
68
- ...p,
69
- children: c
68
+ className: r(i({ variant: a, size: o }), e),
69
+ disabled: n,
70
+ ...g,
71
+ children: u
70
72
  }
71
73
  );
72
74
  F.displayName = "Button";
73
- const j = ({ className: e, ...a }) => /* @__PURE__ */ t(D.Root, { className: r("w-full", e), ...a });
74
- j.displayName = "CollapsibleRoot";
75
- const G = ({ className: e, ...a }) => /* @__PURE__ */ t(
76
- D.Trigger,
75
+ const Z = ({ className: e, ...a }) => /* @__PURE__ */ t(P.Root, { className: r("w-full", e), ...a });
76
+ Z.displayName = "CollapsibleRoot";
77
+ const $ = ({ className: e, ...a }) => /* @__PURE__ */ t(
78
+ P.Trigger,
77
79
  {
78
80
  className: r("flex items-center justify-between font-medium", e),
79
81
  ...a
80
82
  }
81
83
  );
82
- G.displayName = "CollapsibleTrigger";
84
+ $.displayName = "CollapsibleTrigger";
83
85
  const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
84
- D.Panel,
86
+ P.Panel,
85
87
  {
86
88
  className: r(
87
89
  '[&[hidden]:not([hidden="until-found"])]:hidden h-(--collapsible-panel-height)',
@@ -94,25 +96,25 @@ const q = ({ className: e, ...a }) => /* @__PURE__ */ t(
94
96
  }
95
97
  );
96
98
  q.displayName = "CollapsiblePanel";
97
- const Z = (e) => /* @__PURE__ */ t(m.Root, { ...e });
98
- Z.displayName = "AlertDialogRoot";
99
- const $ = ({
99
+ const O = (e) => /* @__PURE__ */ t(p.Root, { ...e });
100
+ O.displayName = "AlertDialogRoot";
101
+ const E = ({
100
102
  className: e,
101
103
  variant: a,
102
104
  size: o,
103
- ...s
105
+ ...n
104
106
  }) => /* @__PURE__ */ t(
105
- m.Trigger,
107
+ p.Trigger,
106
108
  {
107
- className: r(d({ variant: a, size: o }), e),
108
- ...s
109
+ className: r(i({ variant: a, size: o }), e),
110
+ ...n
109
111
  }
110
112
  );
111
- $.displayName = "AlertDialogTrigger";
112
- const E = (e) => /* @__PURE__ */ t(m.Portal, { ...e });
113
- E.displayName = "AlertDialogPortal";
114
- const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
115
- m.Backdrop,
113
+ E.displayName = "AlertDialogTrigger";
114
+ const J = (e) => /* @__PURE__ */ t(p.Portal, { ...e });
115
+ J.displayName = "AlertDialogPortal";
116
+ const K = ({ className: e, ...a }) => /* @__PURE__ */ t(
117
+ p.Backdrop,
116
118
  {
117
119
  className: r(
118
120
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -123,16 +125,16 @@ const O = ({ className: e, ...a }) => /* @__PURE__ */ t(
123
125
  ...a
124
126
  }
125
127
  );
126
- O.displayName = "AlertDialogBackdrop";
127
- const J = ({ className: e, ...a }) => /* @__PURE__ */ t(
128
- m.Viewport,
128
+ K.displayName = "AlertDialogBackdrop";
129
+ const Q = ({ className: e, ...a }) => /* @__PURE__ */ t(
130
+ p.Viewport,
129
131
  {
130
132
  className: r("fixed inset-0 z-50 flex items-center justify-center p-4", e),
131
133
  ...a
132
134
  }
133
135
  );
134
- J.displayName = "AlertDialogViewport";
135
- const K = u(
136
+ Q.displayName = "AlertDialogViewport";
137
+ const U = m(
136
138
  [
137
139
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
138
140
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -156,38 +158,38 @@ const K = u(
156
158
  size: "default"
157
159
  }
158
160
  }
159
- ), Q = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
160
- m.Popup,
161
+ ), W = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
162
+ p.Popup,
161
163
  {
162
- className: r(K({ size: a }), e),
164
+ className: r(U({ size: a }), e),
163
165
  ...o
164
166
  }
165
167
  );
166
- Q.displayName = "AlertDialogPopup";
167
- const U = ({ className: e, ...a }) => /* @__PURE__ */ t(
168
- m.Title,
168
+ W.displayName = "AlertDialogPopup";
169
+ const X = ({ className: e, ...a }) => /* @__PURE__ */ t(
170
+ p.Title,
169
171
  {
170
172
  className: r("text-lg font-semibold leading-none tracking-tight", e),
171
173
  ...a
172
174
  }
173
175
  );
174
- U.displayName = "AlertDialogTitle";
175
- const W = ({ className: e, ...a }) => /* @__PURE__ */ t(m.Description, { className: r("mt-2", e), ...a });
176
- W.displayName = "AlertDialogDescription";
177
- const X = ({
176
+ X.displayName = "AlertDialogTitle";
177
+ const Y = ({ className: e, ...a }) => /* @__PURE__ */ t(p.Description, { className: r("mt-2", e), ...a });
178
+ Y.displayName = "AlertDialogDescription";
179
+ const ee = ({
178
180
  className: e,
179
181
  variant: a,
180
182
  size: o,
181
- ...s
183
+ ...n
182
184
  }) => /* @__PURE__ */ t(
183
- m.Close,
185
+ p.Close,
184
186
  {
185
- className: r(d({ variant: a ?? "outline", size: o }), e),
186
- ...s
187
+ className: r(i({ variant: a ?? "outline", size: o }), e),
188
+ ...n
187
189
  }
188
190
  );
189
- X.displayName = "AlertDialogClose";
190
- const M = u(
191
+ ee.displayName = "AlertDialogClose";
192
+ const z = m(
191
193
  [
192
194
  "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
193
195
  "bg-muted text-foreground",
@@ -205,18 +207,18 @@ const M = u(
205
207
  size: "default"
206
208
  }
207
209
  }
208
- ), z = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(C.Root, { className: r(M({ size: a }), e), ...o });
209
- z.displayName = "AvatarRoot";
210
- const Y = ({ className: e, ...a }) => /* @__PURE__ */ t(
211
- C.Image,
210
+ ), S = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(I.Root, { className: r(z({ size: a }), e), ...o });
211
+ S.displayName = "AvatarRoot";
212
+ const ae = ({ className: e, ...a }) => /* @__PURE__ */ t(
213
+ I.Image,
212
214
  {
213
215
  className: r("aspect-square h-full w-full object-cover", e),
214
216
  ...a
215
217
  }
216
218
  );
217
- Y.displayName = "AvatarImage";
218
- const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
219
- C.Fallback,
219
+ ae.displayName = "AvatarImage";
220
+ const te = ({ className: e, ...a }) => /* @__PURE__ */ t(
221
+ I.Fallback,
220
222
  {
221
223
  className: r(
222
224
  "flex h-full w-full items-center justify-center font-medium",
@@ -225,55 +227,55 @@ const ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
225
227
  ...a
226
228
  }
227
229
  );
228
- ee.displayName = "AvatarFallback";
229
- const ae = ({
230
+ te.displayName = "AvatarFallback";
231
+ const re = ({
230
232
  "aria-label": e,
231
233
  maxVisible: a,
232
234
  className: o,
233
- children: s
235
+ children: n
234
236
  }) => {
235
- const c = y.Children.toArray(s), p = c.length, f = a !== void 0 ? Math.min(a, p) : p, w = p - f, P = c.slice(0, f), S = (() => {
236
- const b = c[0];
237
- return y.isValidElement(b) && b.type === z ? b.props.size ?? "default" : "default";
237
+ const u = x.Children.toArray(n), g = u.length, y = a !== void 0 ? Math.min(a, g) : g, M = g - y, k = u.slice(0, y), L = (() => {
238
+ const N = u[0];
239
+ return x.isValidElement(N) && N.type === S ? N.props.size ?? "default" : "default";
238
240
  })();
239
- return /* @__PURE__ */ k("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
240
- P.map((b, T) => /* @__PURE__ */ t("li", { children: b }, T)),
241
- w > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ k(
241
+ return /* @__PURE__ */ b("ul", { "aria-label": e, className: r("flex -space-x-2", o), children: [
242
+ k.map((N, T) => /* @__PURE__ */ t("li", { children: N }, T)),
243
+ M > 0 && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ b(
242
244
  "span",
243
245
  {
244
246
  className: r(
245
247
  "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
246
248
  "bg-muted text-foreground border-2 border-background",
247
249
  "font-medium",
248
- M({ size: S })
250
+ z({ size: L })
249
251
  ),
250
252
  children: [
251
253
  "+",
252
- w
254
+ M
253
255
  ]
254
256
  }
255
257
  ) })
256
258
  ] });
257
259
  };
258
- ae.displayName = "AvatarStack";
259
- const te = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Root, { className: r("relative", e), ...a });
260
- te.displayName = "ScrollAreaRoot";
261
- const re = ({ className: e, ...a }) => /* @__PURE__ */ t(
262
- g.Viewport,
260
+ re.displayName = "AvatarStack";
261
+ const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Root, { className: r("relative", e), ...a });
262
+ oe.displayName = "ScrollAreaRoot";
263
+ const se = ({ className: e, ...a }) => /* @__PURE__ */ t(
264
+ f.Viewport,
263
265
  {
264
266
  className: r("h-full overscroll-contain pr-3", e),
265
267
  ...a
266
268
  }
267
269
  );
268
- re.displayName = "ScrollAreaViewport";
269
- const oe = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Content, { className: r("min-w-full", e), ...a });
270
- oe.displayName = "ScrollAreaContent";
271
- const se = ({
270
+ se.displayName = "ScrollAreaViewport";
271
+ const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Content, { className: r("min-w-full", e), ...a });
272
+ ne.displayName = "ScrollAreaContent";
273
+ const ie = ({
272
274
  className: e,
273
275
  orientation: a = "vertical",
274
276
  ...o
275
277
  }) => /* @__PURE__ */ t(
276
- g.Scrollbar,
278
+ f.Scrollbar,
277
279
  {
278
280
  className: r(
279
281
  "flex touch-none select-none p-0.5 transition-colors duration-200 ease-out",
@@ -286,9 +288,9 @@ const se = ({
286
288
  ...o
287
289
  }
288
290
  );
289
- se.displayName = "ScrollAreaScrollbar";
291
+ ie.displayName = "ScrollAreaScrollbar";
290
292
  const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
291
- g.Thumb,
293
+ f.Thumb,
292
294
  {
293
295
  className: r(
294
296
  "relative flex-1 rounded-full bg-border transition-colors",
@@ -299,9 +301,9 @@ const le = ({ className: e, ...a }) => /* @__PURE__ */ t(
299
301
  }
300
302
  );
301
303
  le.displayName = "ScrollAreaThumb";
302
- const ne = ({ className: e, ...a }) => /* @__PURE__ */ t(g.Corner, { className: r("bg-muted/50", e), ...a });
303
- ne.displayName = "ScrollAreaCorner";
304
- const ie = ({
304
+ const de = ({ className: e, ...a }) => /* @__PURE__ */ t(f.Corner, { className: r("bg-muted/50", e), ...a });
305
+ de.displayName = "ScrollAreaCorner";
306
+ const ce = ({
305
307
  className: e,
306
308
  orientation: a = "horizontal",
307
309
  ...o
@@ -317,9 +319,9 @@ const ie = ({
317
319
  ...o
318
320
  }
319
321
  );
320
- ie.displayName = "Separator";
321
- const de = ({ className: e, ...a }) => /* @__PURE__ */ t(
322
- A.Root,
322
+ ce.displayName = "Separator";
323
+ const ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
324
+ D.Root,
323
325
  {
324
326
  className: r(
325
327
  "relative flex h-6 w-10 rounded-full",
@@ -334,9 +336,9 @@ const de = ({ className: e, ...a }) => /* @__PURE__ */ t(
334
336
  ...a
335
337
  }
336
338
  );
337
- de.displayName = "SwitchRoot";
338
- const ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
339
- A.Thumb,
339
+ ue.displayName = "SwitchRoot";
340
+ const me = ({ className: e, ...a }) => /* @__PURE__ */ t(
341
+ D.Thumb,
340
342
  {
341
343
  className: r(
342
344
  "aspect-square h-full rounded-full bg-background",
@@ -350,21 +352,22 @@ const ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
350
352
  ...a
351
353
  }
352
354
  );
353
- ce.displayName = "SwitchThumb";
354
- const V = u(
355
+ me.displayName = "SwitchThumb";
356
+ const R = m(
355
357
  [
356
358
  "inline-flex items-center justify-center gap-2 rounded-md",
357
359
  "text-sm font-medium",
358
360
  "[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
359
- "select-none transition-colors duration-200"
361
+ "select-none transition-colors duration-200",
362
+ "border border-border bg-background shadow-xs"
360
363
  ],
361
364
  {
362
365
  variants: {
363
366
  variant: {
364
367
  default: [
365
- "border border-border bg-background shadow-xs",
366
368
  "hover:bg-accent hover:text-accent-foreground",
367
- "data-pressed:border-primary data-pressed:bg-primary data-pressed:text-primary-foreground data-pressed:shadow-none"
369
+ "data-pressed:border-primary data-pressed:bg-primary data-pressed:text-primary-foreground data-pressed:shadow-none",
370
+ "data-popup-open:border-primary data-popup-open:bg-primary data-popup-open:text-primary-foreground data-popup-open:shadow-none"
368
371
  ],
369
372
  ghost: ["hover:bg-accent"]
370
373
  },
@@ -382,11 +385,17 @@ const V = u(
382
385
  size: "default"
383
386
  }
384
387
  }
385
- ), ue = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(R, { className: r(V({ variant: a, size: o }), e), ...s });
386
- ue.displayName = "Toggle";
387
- const me = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Root, { className: r("flex flex-col", e), ...a });
388
- me.displayName = "TabsRoot";
389
- const pe = u(
388
+ ), pe = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
389
+ A,
390
+ {
391
+ className: r(R({ variant: a, size: o }), e),
392
+ ...n
393
+ }
394
+ );
395
+ pe.displayName = "Toggle";
396
+ const ge = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Root, { className: r("flex flex-col", e), ...a });
397
+ ge.displayName = "TabsRoot";
398
+ const be = m(
390
399
  ["relative inline-flex w-fit items-center gap-1", "rounded-lg bg-muted p-1"],
391
400
  {
392
401
  variants: {
@@ -399,15 +408,15 @@ const pe = u(
399
408
  orientation: "horizontal"
400
409
  }
401
410
  }
402
- ), ge = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
403
- N.List,
411
+ ), fe = ({ className: e, orientation: a = "horizontal", ...o }) => /* @__PURE__ */ t(
412
+ h.List,
404
413
  {
405
- className: r(pe({ orientation: a }), e),
414
+ className: r(be({ orientation: a }), e),
406
415
  ...o
407
416
  }
408
417
  );
409
- ge.displayName = "TabsList";
410
- const fe = u(
418
+ fe.displayName = "TabsList";
419
+ const ye = m(
411
420
  [
412
421
  "relative z-10 inline-flex items-center justify-center whitespace-nowrap",
413
422
  "rounded-md px-3 py-1.5 text-sm font-medium",
@@ -428,9 +437,9 @@ const fe = u(
428
437
  size: "default"
429
438
  }
430
439
  }
431
- ), be = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(N.Tab, { className: r(fe({ size: a }), e), ...o });
432
- be.displayName = "TabsTab";
433
- const ye = u(
440
+ ), Ne = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(h.Tab, { className: r(ye({ size: a }), e), ...o });
441
+ Ne.displayName = "TabsTab";
442
+ const xe = m(
434
443
  ["absolute rounded-md bg-background shadow-sm", "transition-all duration-200 ease-out"],
435
444
  {
436
445
  variants: {
@@ -443,34 +452,34 @@ const ye = u(
443
452
  orientation: "horizontal"
444
453
  }
445
454
  }
446
- ), Ne = ({
455
+ ), he = ({
447
456
  className: e,
448
457
  orientation: a = "horizontal",
449
458
  ...o
450
459
  }) => /* @__PURE__ */ t(
451
- N.Indicator,
460
+ h.Indicator,
452
461
  {
453
- className: r(ye({ orientation: a }), e),
462
+ className: r(xe({ orientation: a }), e),
454
463
  ...o
455
464
  }
456
465
  );
457
- Ne.displayName = "TabsIndicator";
458
- const he = ({ className: e, ...a }) => /* @__PURE__ */ t(N.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
459
- he.displayName = "TabsPanel";
460
- const xe = (e) => /* @__PURE__ */ t(n.Root, { ...e });
461
- xe.displayName = "DialogRoot";
462
- const ve = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
463
- n.Trigger,
466
+ he.displayName = "TabsIndicator";
467
+ const ve = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Panel, { className: r("mt-2 ring-offset-background", e), ...a });
468
+ ve.displayName = "TabsPanel";
469
+ const we = (e) => /* @__PURE__ */ t(d.Root, { ...e });
470
+ we.displayName = "DialogRoot";
471
+ const Ce = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
472
+ d.Trigger,
464
473
  {
465
- className: r(d({ variant: a, size: o }), e),
466
- ...s
474
+ className: r(i({ variant: a, size: o }), e),
475
+ ...n
467
476
  }
468
477
  );
469
- ve.displayName = "DialogTrigger";
470
- const we = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
471
- we.displayName = "DialogPortal";
478
+ Ce.displayName = "DialogTrigger";
479
+ const Me = (e) => /* @__PURE__ */ t(d.Portal, { ...e });
480
+ Me.displayName = "DialogPortal";
472
481
  const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
473
- n.Backdrop,
482
+ d.Backdrop,
474
483
  {
475
484
  className: r(
476
485
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -482,7 +491,7 @@ const ke = ({ className: e, ...a }) => /* @__PURE__ */ t(
482
491
  }
483
492
  );
484
493
  ke.displayName = "DialogBackdrop";
485
- const Pe = u(
494
+ const Pe = m(
486
495
  [
487
496
  "fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2",
488
497
  "w-full max-w-[calc(100vw-2rem)] rounded-lg border border-border bg-background p-6 shadow-lg",
@@ -506,35 +515,35 @@ const Pe = u(
506
515
  size: "default"
507
516
  }
508
517
  }
509
- ), De = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
510
- n.Popup,
518
+ ), Ie = ({ className: e, size: a, ...o }) => /* @__PURE__ */ t(
519
+ d.Popup,
511
520
  {
512
521
  className: r(Pe({ size: a }), e),
513
522
  ...o
514
523
  }
515
524
  );
516
- De.displayName = "DialogPopup";
517
- const Ce = ({ className: e, ...a }) => /* @__PURE__ */ t(
518
- n.Title,
525
+ Ie.displayName = "DialogPopup";
526
+ const Re = ({ className: e, ...a }) => /* @__PURE__ */ t(
527
+ d.Title,
519
528
  {
520
529
  className: r("text-lg font-semibold leading-none tracking-tight", e),
521
530
  ...a
522
531
  }
523
532
  );
524
- Ce.displayName = "DialogTitle";
525
- const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("mt-2", e), ...a });
533
+ Re.displayName = "DialogTitle";
534
+ const Te = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Description, { className: r("mt-2", e), ...a });
526
535
  Te.displayName = "DialogDescription";
527
- const Ae = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
528
- n.Close,
536
+ const De = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
537
+ d.Close,
529
538
  {
530
- className: r(d({ variant: a ?? "outline", size: o }), e),
531
- ...s
539
+ className: r(i({ variant: a ?? "outline", size: o }), e),
540
+ ...n
532
541
  }
533
542
  );
534
- Ae.displayName = "DialogClose";
535
- const Re = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
536
- Re.displayName = "DialogHeader";
537
- const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
543
+ De.displayName = "DialogClose";
544
+ const Ae = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1 mb-5", e), ...a });
545
+ Ae.displayName = "DialogHeader";
546
+ const ze = ({ className: e, ...a }) => /* @__PURE__ */ t(
538
547
  "div",
539
548
  {
540
549
  className: r(
@@ -544,21 +553,21 @@ const Me = ({ className: e, ...a }) => /* @__PURE__ */ t(
544
553
  ...a
545
554
  }
546
555
  );
547
- Me.displayName = "DialogFooter";
548
- const ze = (e) => /* @__PURE__ */ t(n.Root, { ...e });
549
- ze.displayName = "DrawerRoot";
550
- const Ve = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
551
- n.Trigger,
556
+ ze.displayName = "DialogFooter";
557
+ const Se = (e) => /* @__PURE__ */ t(d.Root, { ...e });
558
+ Se.displayName = "DrawerRoot";
559
+ const Le = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
560
+ d.Trigger,
552
561
  {
553
- className: r(d({ variant: a, size: o }), e),
554
- ...s
562
+ className: r(i({ variant: a, size: o }), e),
563
+ ...n
555
564
  }
556
565
  );
557
- Ve.displayName = "DrawerTrigger";
558
- const Se = (e) => /* @__PURE__ */ t(n.Portal, { ...e });
559
- Se.displayName = "DrawerPortal";
560
- const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
561
- n.Backdrop,
566
+ Le.displayName = "DrawerTrigger";
567
+ const Ve = (e) => /* @__PURE__ */ t(d.Portal, { ...e });
568
+ Ve.displayName = "DrawerPortal";
569
+ const He = ({ className: e, ...a }) => /* @__PURE__ */ t(
570
+ d.Backdrop,
562
571
  {
563
572
  className: r(
564
573
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -569,8 +578,8 @@ const Ie = ({ className: e, ...a }) => /* @__PURE__ */ t(
569
578
  ...a
570
579
  }
571
580
  );
572
- Ie.displayName = "DrawerBackdrop";
573
- const Le = u(
581
+ He.displayName = "DrawerBackdrop";
582
+ const Ge = m(
574
583
  [
575
584
  "fixed z-50 flex flex-col bg-background p-6 shadow-lg",
576
585
  "transition-transform duration-300 ease-out",
@@ -606,52 +615,52 @@ const Le = u(
606
615
  side: "right"
607
616
  }
608
617
  }
609
- ), He = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
610
- n.Popup,
618
+ ), _e = ({ className: e, side: a, ...o }) => /* @__PURE__ */ t(
619
+ d.Popup,
611
620
  {
612
- className: r(Le({ side: a }), e),
621
+ className: r(Ge({ side: a }), e),
613
622
  ...o
614
623
  }
615
624
  );
616
- He.displayName = "DrawerPopup";
617
- const _e = ({ className: e, ...a }) => /* @__PURE__ */ t(
618
- n.Title,
625
+ _e.displayName = "DrawerPopup";
626
+ const je = ({ className: e, ...a }) => /* @__PURE__ */ t(
627
+ d.Title,
619
628
  {
620
629
  className: r("text-lg font-semibold leading-none tracking-tight", e),
621
630
  ...a
622
631
  }
623
632
  );
624
- _e.displayName = "DrawerTitle";
625
- const Be = ({ className: e, ...a }) => /* @__PURE__ */ t(n.Description, { className: r("", e), ...a });
633
+ je.displayName = "DrawerTitle";
634
+ const Be = ({ className: e, ...a }) => /* @__PURE__ */ t(d.Description, { className: r("", e), ...a });
626
635
  Be.displayName = "DrawerDescription";
627
- const Fe = ({ className: e, variant: a, size: o, ...s }) => /* @__PURE__ */ t(
628
- n.Close,
636
+ const Fe = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
637
+ d.Close,
629
638
  {
630
- className: r(d({ variant: a ?? "outline", size: o }), e),
631
- ...s
639
+ className: r(i({ variant: a ?? "outline", size: o }), e),
640
+ ...n
632
641
  }
633
642
  );
634
643
  Fe.displayName = "DrawerClose";
635
- const je = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
636
- je.displayName = "DrawerHeader";
637
- const Ge = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
638
- Ge.displayName = "DrawerContent";
644
+ const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("flex flex-col space-y-1.5", e), ...a });
645
+ Ze.displayName = "DrawerHeader";
646
+ const $e = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("py-5", e), ...a });
647
+ $e.displayName = "DrawerContent";
639
648
  const qe = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("", e), ...a });
640
649
  qe.displayName = "DrawerFooter";
641
- const Ze = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Root, { className: r("w-full", e), ...a });
642
- Ze.displayName = "AccordionRoot";
643
- const $e = ({ className: e, ...a }) => /* @__PURE__ */ t(
644
- h.Item,
650
+ const Oe = ({ className: e, ...a }) => /* @__PURE__ */ t(v.Root, { className: r("w-full", e), ...a });
651
+ Oe.displayName = "AccordionRoot";
652
+ const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(
653
+ v.Item,
645
654
  {
646
655
  className: r("border-b border-border last:border-b-0", e),
647
656
  ...a
648
657
  }
649
658
  );
650
- $e.displayName = "AccordionItem";
651
- const Ee = ({ className: e, ...a }) => /* @__PURE__ */ t(h.Header, { className: r("flex", e), ...a });
652
- Ee.displayName = "AccordionHeader";
653
- const Oe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
654
- h.Trigger,
659
+ Ee.displayName = "AccordionItem";
660
+ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(v.Header, { className: r("flex", e), ...a });
661
+ Je.displayName = "AccordionHeader";
662
+ const Ke = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
663
+ v.Trigger,
655
664
  {
656
665
  className: r(
657
666
  "flex flex-1 items-center justify-between py-3 font-medium",
@@ -661,9 +670,9 @@ const Oe = ({ className: e, children: a, ...o }) => /* @__PURE__ */ t(
661
670
  children: a
662
671
  }
663
672
  );
664
- Oe.displayName = "AccordionTrigger";
665
- const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
666
- h.Panel,
673
+ Ke.displayName = "AccordionTrigger";
674
+ const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
675
+ v.Panel,
667
676
  {
668
677
  className: r(
669
678
  "overflow-hidden duration-200 h-(--accordion-panel-height) transition-height ease-out data-ending-style:h-0 data-starting-style:h-0",
@@ -672,25 +681,25 @@ const Je = ({ className: e, ...a }) => /* @__PURE__ */ t(
672
681
  ...a
673
682
  }
674
683
  );
675
- Je.displayName = "AccordionPanel";
676
- const Ke = ({ className: e, animated: a, value: o, ...s }) => {
677
- const c = o ?? 0, [p, f] = y.useState(a ? 0 : c);
678
- return y.useEffect(() => {
684
+ Qe.displayName = "AccordionPanel";
685
+ const Ue = ({ className: e, animated: a, value: o, ...n }) => {
686
+ const u = o ?? 0, [g, y] = x.useState(a ? 0 : u);
687
+ return x.useEffect(() => {
679
688
  if (a) {
680
- const w = requestAnimationFrame(() => {
681
- const P = requestAnimationFrame(() => {
682
- f(c ?? 0);
689
+ const M = requestAnimationFrame(() => {
690
+ const k = requestAnimationFrame(() => {
691
+ y(u ?? 0);
683
692
  });
684
- return () => cancelAnimationFrame(P);
693
+ return () => cancelAnimationFrame(k);
685
694
  });
686
- return () => cancelAnimationFrame(w);
695
+ return () => cancelAnimationFrame(M);
687
696
  } else
688
- f(c ?? 0);
689
- }, [a, c]), /* @__PURE__ */ t(x.Root, { className: r("w-full", e), value: p, ...s });
697
+ y(u ?? 0);
698
+ }, [a, u]), /* @__PURE__ */ t(w.Root, { className: r("w-full", e), value: g, ...n });
690
699
  };
691
- Ke.displayName = "MeterRoot";
692
- const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
693
- x.Track,
700
+ Ue.displayName = "MeterRoot";
701
+ const We = ({ className: e, ...a }) => /* @__PURE__ */ t(
702
+ w.Track,
694
703
  {
695
704
  className: r(
696
705
  "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
@@ -699,9 +708,9 @@ const Qe = ({ className: e, ...a }) => /* @__PURE__ */ t(
699
708
  ...a
700
709
  }
701
710
  );
702
- Qe.displayName = "MeterTrack";
703
- const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
704
- x.Indicator,
711
+ We.displayName = "MeterTrack";
712
+ const Xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
713
+ w.Indicator,
705
714
  {
706
715
  className: r(
707
716
  "h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
@@ -710,40 +719,40 @@ const Ue = ({ className: e, ...a }) => /* @__PURE__ */ t(
710
719
  ...a
711
720
  }
712
721
  );
713
- Ue.displayName = "MeterIndicator";
714
- const We = ({ className: e, ...a }) => /* @__PURE__ */ t(
715
- x.Value,
722
+ Xe.displayName = "MeterIndicator";
723
+ const Ye = ({ className: e, ...a }) => /* @__PURE__ */ t(
724
+ w.Value,
716
725
  {
717
726
  className: r("text-sm font-medium text-foreground", e),
718
727
  ...a
719
728
  }
720
729
  );
721
- We.displayName = "MeterValue";
722
- const Xe = ({ className: e, ...a }) => /* @__PURE__ */ t(
723
- x.Label,
730
+ Ye.displayName = "MeterValue";
731
+ const ea = ({ className: e, ...a }) => /* @__PURE__ */ t(
732
+ w.Label,
724
733
  {
725
734
  className: r("text-sm font-medium text-foreground", e),
726
735
  ...a
727
736
  }
728
737
  );
729
- Xe.displayName = "MeterLabel";
730
- const Ye = (e) => /* @__PURE__ */ t(l.Root, { ...e });
731
- Ye.displayName = "MenuRoot";
732
- const ea = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Trigger, { className: r(e), ...a });
733
- ea.displayName = "MenuTrigger";
734
- const aa = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
735
- aa.displayName = "MenuPortal";
736
- const ta = ({ className: e, ...a }) => /* @__PURE__ */ t(
737
- l.Positioner,
738
+ ea.displayName = "MeterLabel";
739
+ const aa = (e) => /* @__PURE__ */ t(s.Root, { ...e });
740
+ aa.displayName = "MenuRoot";
741
+ const ta = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Trigger, { className: r(e), ...a });
742
+ ta.displayName = "MenuTrigger";
743
+ const ra = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
744
+ ra.displayName = "MenuPortal";
745
+ const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
746
+ s.Positioner,
738
747
  {
739
748
  className: r("z-50 outline-none", e),
740
749
  sideOffset: 8,
741
750
  ...a
742
751
  }
743
752
  );
744
- ta.displayName = "MenuPositioner";
745
- const ra = ({ className: e, ...a }) => /* @__PURE__ */ t(
746
- l.Popup,
753
+ oa.displayName = "MenuPositioner";
754
+ const sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
755
+ s.Popup,
747
756
  {
748
757
  className: r(
749
758
  "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",
@@ -753,20 +762,20 @@ const ra = ({ className: e, ...a }) => /* @__PURE__ */ t(
753
762
  ...a
754
763
  }
755
764
  );
756
- ra.displayName = "MenuPopup";
757
- const oa = ({ className: e, ...a }) => /* @__PURE__ */ t(
758
- l.Arrow,
765
+ sa.displayName = "MenuPopup";
766
+ const na = ({ className: e, ...a }) => /* @__PURE__ */ t(
767
+ s.Arrow,
759
768
  {
760
769
  className: r(
761
770
  "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",
762
771
  e
763
772
  ),
764
773
  ...a,
765
- children: /* @__PURE__ */ t(sa, {})
774
+ children: /* @__PURE__ */ t(ia, {})
766
775
  }
767
776
  );
768
- function sa(e) {
769
- return /* @__PURE__ */ k("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
777
+ function ia(e) {
778
+ return /* @__PURE__ */ b("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
770
779
  /* @__PURE__ */ t(
771
780
  "path",
772
781
  {
@@ -783,12 +792,12 @@ function sa(e) {
783
792
  )
784
793
  ] });
785
794
  }
786
- oa.displayName = "MenuArrow";
795
+ na.displayName = "MenuArrow";
787
796
  const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
788
- l.Item,
797
+ s.Item,
789
798
  {
790
799
  className: r(
791
- d({ variant: "ghost", size: "sm" }),
800
+ i({ variant: "ghost", size: "sm" }),
792
801
  "flex justify-start",
793
802
  e
794
803
  ),
@@ -796,83 +805,83 @@ const la = ({ className: e, ...a }) => /* @__PURE__ */ t(
796
805
  }
797
806
  );
798
807
  la.displayName = "MenuItem";
799
- const na = ({ className: e, ...a }) => /* @__PURE__ */ t(
800
- l.Separator,
808
+ const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
809
+ s.Separator,
801
810
  {
802
811
  className: r("-mx-1 my-1 h-px bg-border", e),
803
812
  ...a
804
813
  }
805
814
  );
806
- na.displayName = "MenuSeparator";
807
- const ia = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Group, { className: r(e), ...a });
808
- ia.displayName = "MenuGroup";
809
- const da = ({ className: e, ...a }) => /* @__PURE__ */ t(
810
- l.GroupLabel,
815
+ da.displayName = "MenuSeparator";
816
+ const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Group, { className: r(e), ...a });
817
+ ca.displayName = "MenuGroup";
818
+ const ua = ({ className: e, ...a }) => /* @__PURE__ */ t(
819
+ s.GroupLabel,
811
820
  {
812
821
  className: r("px-3 py-1.5 text-sm font-semibold", e),
813
822
  ...a
814
823
  }
815
824
  );
816
- da.displayName = "MenuGroupLabel";
817
- const ca = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioGroup, { className: r(e), ...a });
818
- ca.displayName = "MenuRadioGroup";
819
- const ua = ({ className: e, ...a }) => /* @__PURE__ */ t(
820
- l.RadioItem,
825
+ ua.displayName = "MenuGroupLabel";
826
+ const ma = ({ className: e, ...a }) => /* @__PURE__ */ t(s.RadioGroup, { className: r(e), ...a });
827
+ ma.displayName = "MenuRadioGroup";
828
+ const pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
829
+ s.RadioItem,
821
830
  {
822
831
  className: r(
823
- d({ variant: "ghost", size: "sm" }),
832
+ i({ variant: "ghost", size: "sm" }),
824
833
  "grid grid-cols-[0.75rem_1fr] gap-2",
825
834
  e
826
835
  ),
827
836
  ...a
828
837
  }
829
838
  );
830
- ua.displayName = "MenuRadioItem";
831
- const ma = ({ className: e, ...a }) => /* @__PURE__ */ t(
832
- l.CheckboxItem,
839
+ pa.displayName = "MenuRadioItem";
840
+ const ga = ({ className: e, ...a }) => /* @__PURE__ */ t(
841
+ s.CheckboxItem,
833
842
  {
834
843
  className: r(
835
- d({ variant: "ghost", size: "sm" }),
844
+ i({ variant: "ghost", size: "sm" }),
836
845
  "grid grid-cols-[0.75rem_1fr] gap-2",
837
846
  e
838
847
  ),
839
848
  ...a
840
849
  }
841
850
  );
842
- ma.displayName = "MenuCheckboxItem";
843
- const pa = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioItemIndicator, { className: r("col-start-1", e), ...a });
844
- pa.displayName = "MenuRadioItemIndicator";
845
- const ga = ({
851
+ ga.displayName = "MenuCheckboxItem";
852
+ const ba = ({ className: e, ...a }) => /* @__PURE__ */ t(s.RadioItemIndicator, { className: r("col-start-1", e), ...a });
853
+ ba.displayName = "MenuRadioItemIndicator";
854
+ const fa = ({
846
855
  className: e,
847
856
  ...a
848
- }) => /* @__PURE__ */ t(l.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
849
- ga.displayName = "MenuCheckboxItemIndicator";
850
- const fa = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
851
- fa.displayName = "MenuCheckboxItemLabel";
852
- const ba = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
853
- ba.displayName = "MenuRadioItemLabel";
854
- const ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
855
- l.SubmenuTrigger,
857
+ }) => /* @__PURE__ */ t(s.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
858
+ fa.displayName = "MenuCheckboxItemIndicator";
859
+ const ya = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
860
+ ya.displayName = "MenuCheckboxItemLabel";
861
+ const Na = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
862
+ Na.displayName = "MenuRadioItemLabel";
863
+ const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(
864
+ s.SubmenuTrigger,
856
865
  {
857
866
  className: r(
858
- d({ variant: "ghost", size: "sm" }),
867
+ i({ variant: "ghost", size: "sm" }),
859
868
  "flex justify-between",
860
869
  e
861
870
  ),
862
871
  ...a
863
872
  }
864
873
  );
865
- ya.displayName = "MenuSubmenuTrigger";
866
- const Na = (e) => /* @__PURE__ */ t(l.SubmenuRoot, { ...e });
867
- Na.displayName = "MenuSubmenuRoot";
868
- const ha = (e) => /* @__PURE__ */ t(i.Root, { ...e });
869
- ha.displayName = "PopoverRoot";
870
- const xa = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Trigger, { className: r(e), ...a });
871
- xa.displayName = "PopoverTrigger";
872
- const va = (e) => /* @__PURE__ */ t(i.Portal, { ...e });
873
- va.displayName = "PopoverPortal";
874
- const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(
875
- i.Backdrop,
874
+ xa.displayName = "MenuSubmenuTrigger";
875
+ const ha = (e) => /* @__PURE__ */ t(s.SubmenuRoot, { ...e });
876
+ ha.displayName = "MenuSubmenuRoot";
877
+ const va = (e) => /* @__PURE__ */ t(c.Root, { ...e });
878
+ va.displayName = "PopoverRoot";
879
+ const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Trigger, { className: r(e), ...a });
880
+ wa.displayName = "PopoverTrigger";
881
+ const Ca = (e) => /* @__PURE__ */ t(c.Portal, { ...e });
882
+ Ca.displayName = "PopoverPortal";
883
+ const Ma = ({ className: e, ...a }) => /* @__PURE__ */ t(
884
+ c.Backdrop,
876
885
  {
877
886
  className: r(
878
887
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -883,9 +892,9 @@ const wa = ({ className: e, ...a }) => /* @__PURE__ */ t(
883
892
  ...a
884
893
  }
885
894
  );
886
- wa.displayName = "PopoverBackdrop";
895
+ Ma.displayName = "PopoverBackdrop";
887
896
  const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
888
- i.Positioner,
897
+ c.Positioner,
889
898
  {
890
899
  className: r(
891
900
  "z-50 outline-none",
@@ -903,7 +912,7 @@ const ka = ({ className: e, ...a }) => /* @__PURE__ */ t(
903
912
  );
904
913
  ka.displayName = "PopoverPositioner";
905
914
  const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
906
- i.Popup,
915
+ c.Popup,
907
916
  {
908
917
  className: r(
909
918
  "rounded-md bg-background px-4 py-3 text-foreground shadow-sm border relative",
@@ -922,19 +931,19 @@ const Pa = ({ className: e, ...a }) => /* @__PURE__ */ t(
922
931
  }
923
932
  );
924
933
  Pa.displayName = "PopoverPopup";
925
- const Da = ({ className: e, ...a }) => /* @__PURE__ */ t(
926
- i.Arrow,
934
+ const Ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
935
+ c.Arrow,
927
936
  {
928
937
  className: r(
929
938
  "flex data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=left]:rotate-90 data-[side=right]:left-[-13px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-8px] data-[side=top]:rotate-180",
930
939
  e
931
940
  ),
932
941
  ...a,
933
- children: /* @__PURE__ */ t(Ca, {})
942
+ children: /* @__PURE__ */ t(Ra, {})
934
943
  }
935
944
  );
936
- function Ca(e) {
937
- return /* @__PURE__ */ k("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
945
+ function Ra(e) {
946
+ return /* @__PURE__ */ b("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
938
947
  /* @__PURE__ */ t(
939
948
  "path",
940
949
  {
@@ -951,19 +960,19 @@ function Ca(e) {
951
960
  )
952
961
  ] });
953
962
  }
954
- Da.displayName = "PopoverArrow";
955
- const Ta = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Title, { className: r("text-sm font-semibold", e), ...a });
963
+ Ia.displayName = "PopoverArrow";
964
+ const Ta = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Title, { className: r("text-sm font-semibold", e), ...a });
956
965
  Ta.displayName = "PopoverTitle";
957
- const Aa = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Description, { className: r("text-sm", e), ...a });
958
- Aa.displayName = "PopoverDescription";
959
- const Ra = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Close, { className: r(e), ...a });
960
- Ra.displayName = "PopoverClose";
961
- const Ma = ({ className: e, ...a }) => /* @__PURE__ */ t(i.Viewport, { className: r(e), ...a });
962
- Ma.displayName = "PopoverViewport";
963
- const za = ({ className: e, ...a }) => /* @__PURE__ */ t(v.Root, { className: r("w-full", e), ...a });
964
- za.displayName = "ProgressRoot";
965
- const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(
966
- v.Track,
966
+ const Da = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Description, { className: r("text-sm", e), ...a });
967
+ Da.displayName = "PopoverDescription";
968
+ const Aa = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Close, { className: r(e), ...a });
969
+ Aa.displayName = "PopoverClose";
970
+ const za = ({ className: e, ...a }) => /* @__PURE__ */ t(c.Viewport, { className: r(e), ...a });
971
+ za.displayName = "PopoverViewport";
972
+ const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(C.Root, { className: r("w-full", e), ...a });
973
+ Sa.displayName = "ProgressRoot";
974
+ const La = ({ className: e, ...a }) => /* @__PURE__ */ t(
975
+ C.Track,
967
976
  {
968
977
  className: r(
969
978
  "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
@@ -972,9 +981,9 @@ const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(
972
981
  ...a
973
982
  }
974
983
  );
975
- Va.displayName = "ProgressTrack";
976
- const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
977
- v.Indicator,
984
+ La.displayName = "ProgressTrack";
985
+ const Va = ({ className: e, ...a }) => /* @__PURE__ */ t(
986
+ C.Indicator,
978
987
  {
979
988
  className: r(
980
989
  "h-full rounded-full bg-primary transition-all duration-1000 ease-out-expo",
@@ -983,60 +992,49 @@ const Sa = ({ className: e, ...a }) => /* @__PURE__ */ t(
983
992
  ...a
984
993
  }
985
994
  );
986
- Sa.displayName = "ProgressIndicator";
987
- const Ia = ({ className: e, ...a }) => /* @__PURE__ */ t(
988
- v.Value,
995
+ Va.displayName = "ProgressIndicator";
996
+ const Ha = ({ className: e, ...a }) => /* @__PURE__ */ t(
997
+ C.Value,
989
998
  {
990
999
  className: r("text-sm font-medium text-foreground", e),
991
1000
  ...a
992
1001
  }
993
1002
  );
994
- Ia.displayName = "ProgressValue";
995
- const La = ({ className: e, ...a }) => /* @__PURE__ */ t(
996
- v.Label,
1003
+ Ha.displayName = "ProgressValue";
1004
+ const Ga = ({ className: e, ...a }) => /* @__PURE__ */ t(
1005
+ C.Label,
997
1006
  {
998
1007
  className: r("text-sm font-medium text-foreground", e),
999
1008
  ...a
1000
1009
  }
1001
1010
  );
1002
- La.displayName = "ProgressLabel";
1003
- const Ha = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
1004
- B,
1011
+ Ga.displayName = "ProgressLabel";
1012
+ const _a = ({ className: e, orientation: a, ...o }) => /* @__PURE__ */ t(
1013
+ j,
1005
1014
  {
1006
1015
  orientation: a,
1007
1016
  className: r(
1008
1017
  "inline-flex",
1009
1018
  a === "vertical" && "flex-col",
1010
1019
  // Connected items: collapse borders, round only outer corners
1011
- "*:rounded-none [&>*:not(:first-child)]:-ml-px",
1012
- "[&>*:first-child]:rounded-l-md [&>*:last-child]:rounded-r-md",
1020
+ "[&>button]:rounded-none [&>button:not(:first-of-type)]:-ml-px",
1021
+ "[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
1013
1022
  // Vertical orientation adjustments
1014
- a === "vertical" && "[&>*:not(:first-child)]:ml-0 [&>*:not(:first-child)]:-mt-px [&>*:first-child]:rounded-bl-none [&>*:last-child]:rounded-r-none [&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md",
1023
+ a === "vertical" && "[&>button:not(:first-of-type)]:ml-0 [&>button:not(:first-of-type)]:-mt-px [&>button:first-of-type]:rounded-bl-none [&>button:last-of-type]:rounded-r-none [&>button:first-of-type]:rounded-t-md [&>button:last-of-type]:rounded-b-md",
1015
1024
  e
1016
1025
  ),
1017
1026
  ...o
1018
1027
  }
1019
1028
  );
1020
- Ha.displayName = "ToggleGroupRoot";
1021
- const _a = ({
1029
+ _a.displayName = "ToggleGroupRoot";
1030
+ const ja = ({
1022
1031
  className: e,
1023
1032
  variant: a,
1024
1033
  size: o,
1025
- ...s
1026
- }) => /* @__PURE__ */ t(
1027
- R,
1028
- {
1029
- className: r(
1030
- V({ variant: a, size: o }),
1031
- // Ghost variant in toggle-group: add borders, no background when pressed
1032
- a === "ghost" && "border border-border",
1033
- e
1034
- ),
1035
- ...s
1036
- }
1037
- );
1038
- _a.displayName = "ToggleGroupItem";
1039
- const Ba = u("rounded-lg bg-card text-card-foreground transition-colors", {
1034
+ ...n
1035
+ }) => /* @__PURE__ */ t(A, { className: r(R({ variant: a, size: o }), e), ...n });
1036
+ ja.displayName = "ToggleGroupItem";
1037
+ const Ba = m("rounded-lg bg-card text-card-foreground transition-colors", {
1040
1038
  variants: {
1041
1039
  variant: {
1042
1040
  default: "border shadow-sm",
@@ -1047,18 +1045,18 @@ const Ba = u("rounded-lg bg-card text-card-foreground transition-colors", {
1047
1045
  defaultVariants: {
1048
1046
  variant: "default"
1049
1047
  }
1050
- }), Fa = y.forwardRef(
1051
- ({ className: e, variant: a, ...o }, s) => /* @__PURE__ */ t(
1048
+ }), Fa = x.forwardRef(
1049
+ ({ className: e, variant: a, ...o }, n) => /* @__PURE__ */ t(
1052
1050
  "article",
1053
1051
  {
1054
- ref: s,
1052
+ ref: n,
1055
1053
  className: r(Ba({ variant: a }), e),
1056
1054
  ...o
1057
1055
  }
1058
1056
  )
1059
1057
  );
1060
1058
  Fa.displayName = "CardRoot";
1061
- const ja = ({ className: e, ...a }) => /* @__PURE__ */ t(
1059
+ const Za = ({ className: e, ...a }) => /* @__PURE__ */ t(
1062
1060
  "div",
1063
1061
  {
1064
1062
  className: r(
@@ -1069,9 +1067,9 @@ const ja = ({ className: e, ...a }) => /* @__PURE__ */ t(
1069
1067
  ...a
1070
1068
  }
1071
1069
  );
1072
- ja.displayName = "CardMedia";
1073
- const Ga = ({ className: e, ...a }) => /* @__PURE__ */ t("header", { className: r("flex flex-col gap-1 p-4", e), ...a });
1074
- Ga.displayName = "CardHeader";
1070
+ Za.displayName = "CardMedia";
1071
+ const $a = ({ className: e, ...a }) => /* @__PURE__ */ t("header", { className: r("flex flex-col gap-1 p-4", e), ...a });
1072
+ $a.displayName = "CardHeader";
1075
1073
  const qa = ({ as: e = "h3", className: a, ...o }) => /* @__PURE__ */ t(
1076
1074
  e,
1077
1075
  {
@@ -1080,122 +1078,484 @@ const qa = ({ as: e = "h3", className: a, ...o }) => /* @__PURE__ */ t(
1080
1078
  }
1081
1079
  );
1082
1080
  qa.displayName = "CardTitle";
1083
- const Za = ({ className: e, ...a }) => /* @__PURE__ */ t("p", { className: r("text-sm", e), ...a });
1084
- Za.displayName = "CardDescription";
1085
- const $a = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("p-4 pt-0", e), ...a });
1086
- $a.displayName = "CardContent";
1087
- const Ea = ({ className: e, ...a }) => /* @__PURE__ */ t("section", { className: r("p-4", e), ...a });
1088
- Ea.displayName = "CardSection";
1089
- const Oa = ({ className: e, ...a }) => /* @__PURE__ */ t("footer", { className: r("flex items-center p-4", e), ...a });
1090
- Oa.displayName = "CardFooter";
1081
+ const Oa = ({ className: e, ...a }) => /* @__PURE__ */ t("p", { className: r("text-sm", e), ...a });
1082
+ Oa.displayName = "CardDescription";
1083
+ const Ea = ({ className: e, ...a }) => /* @__PURE__ */ t("div", { className: r("p-4 pt-0", e), ...a });
1084
+ Ea.displayName = "CardContent";
1085
+ const Ja = ({ className: e, ...a }) => /* @__PURE__ */ t("section", { className: r("p-4", e), ...a });
1086
+ Ja.displayName = "CardSection";
1087
+ const Ka = ({ className: e, ...a }) => /* @__PURE__ */ t("footer", { className: r("flex items-center p-4", e), ...a });
1088
+ Ka.displayName = "CardFooter";
1089
+ const Qa = (e) => /* @__PURE__ */ t(l.Root, { ...e });
1090
+ Qa.displayName = "ContextMenuRoot";
1091
+ const Ua = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Trigger, { className: r(e), ...a });
1092
+ Ua.displayName = "ContextMenuTrigger";
1093
+ const Wa = (e) => /* @__PURE__ */ t(l.Portal, { ...e });
1094
+ Wa.displayName = "ContextMenuPortal";
1095
+ const Xa = ({ className: e, ...a }) => /* @__PURE__ */ t(
1096
+ l.Positioner,
1097
+ {
1098
+ className: r("z-50 outline-none", e),
1099
+ sideOffset: 3,
1100
+ ...a
1101
+ }
1102
+ );
1103
+ Xa.displayName = "ContextMenuPositioner";
1104
+ const Ya = ({ className: e, ...a }) => /* @__PURE__ */ t(
1105
+ l.Popup,
1106
+ {
1107
+ className: r(
1108
+ "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",
1109
+ "min-w-[8rem]",
1110
+ e
1111
+ ),
1112
+ ...a
1113
+ }
1114
+ );
1115
+ Ya.displayName = "ContextMenuPopup";
1116
+ const et = ({ className: e, ...a }) => /* @__PURE__ */ t(
1117
+ l.Arrow,
1118
+ {
1119
+ className: r(
1120
+ "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",
1121
+ e
1122
+ ),
1123
+ ...a,
1124
+ children: /* @__PURE__ */ t(at, {})
1125
+ }
1126
+ );
1127
+ function at(e) {
1128
+ return /* @__PURE__ */ b("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
1129
+ /* @__PURE__ */ t(
1130
+ "path",
1131
+ {
1132
+ 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",
1133
+ className: "fill-background"
1134
+ }
1135
+ ),
1136
+ /* @__PURE__ */ t(
1137
+ "path",
1138
+ {
1139
+ 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",
1140
+ className: "fill-border"
1141
+ }
1142
+ )
1143
+ ] });
1144
+ }
1145
+ et.displayName = "ContextMenuArrow";
1146
+ const tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1147
+ l.Item,
1148
+ {
1149
+ className: r(
1150
+ i({ variant: "ghost", size: "sm" }),
1151
+ "flex justify-start",
1152
+ e
1153
+ ),
1154
+ ...a
1155
+ }
1156
+ );
1157
+ tt.displayName = "ContextMenuItem";
1158
+ const rt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1159
+ l.Separator,
1160
+ {
1161
+ className: r("-mx-1 my-1 h-px bg-border", e),
1162
+ ...a
1163
+ }
1164
+ );
1165
+ rt.displayName = "ContextMenuSeparator";
1166
+ const ot = ({ className: e, ...a }) => /* @__PURE__ */ t(l.Group, { className: r(e), ...a });
1167
+ ot.displayName = "ContextMenuGroup";
1168
+ const st = ({ className: e, ...a }) => /* @__PURE__ */ t(
1169
+ l.GroupLabel,
1170
+ {
1171
+ className: r("px-3 py-1.5 text-sm font-semibold", e),
1172
+ ...a
1173
+ }
1174
+ );
1175
+ st.displayName = "ContextMenuGroupLabel";
1176
+ const nt = ({ className: e, ...a }) => /* @__PURE__ */ t(l.RadioGroup, { className: r(e), ...a });
1177
+ nt.displayName = "ContextMenuRadioGroup";
1178
+ const it = ({ className: e, ...a }) => /* @__PURE__ */ t(
1179
+ l.RadioItem,
1180
+ {
1181
+ className: r(
1182
+ i({ variant: "ghost", size: "sm" }),
1183
+ "grid grid-cols-[0.75rem_1fr] gap-2",
1184
+ e
1185
+ ),
1186
+ ...a
1187
+ }
1188
+ );
1189
+ it.displayName = "ContextMenuRadioItem";
1190
+ const lt = ({
1191
+ className: e,
1192
+ ...a
1193
+ }) => /* @__PURE__ */ t(
1194
+ l.CheckboxItem,
1195
+ {
1196
+ className: r(
1197
+ i({ variant: "ghost", size: "sm" }),
1198
+ "grid grid-cols-[0.75rem_1fr] gap-2",
1199
+ e
1200
+ ),
1201
+ ...a
1202
+ }
1203
+ );
1204
+ lt.displayName = "ContextMenuCheckboxItem";
1205
+ const dt = ({
1206
+ className: e,
1207
+ ...a
1208
+ }) => /* @__PURE__ */ t(
1209
+ l.RadioItemIndicator,
1210
+ {
1211
+ className: r("col-start-1", e),
1212
+ ...a
1213
+ }
1214
+ );
1215
+ dt.displayName = "ContextMenuRadioItemIndicator";
1216
+ const ct = ({
1217
+ className: e,
1218
+ ...a
1219
+ }) => /* @__PURE__ */ t(
1220
+ l.CheckboxItemIndicator,
1221
+ {
1222
+ className: r("col-start-1", e),
1223
+ ...a
1224
+ }
1225
+ );
1226
+ ct.displayName = "ContextMenuCheckboxItemIndicator";
1227
+ const ut = ({
1228
+ className: e,
1229
+ ...a
1230
+ }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
1231
+ ut.displayName = "ContextMenuCheckboxItemLabel";
1232
+ const mt = ({
1233
+ className: e,
1234
+ ...a
1235
+ }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
1236
+ mt.displayName = "ContextMenuRadioItemLabel";
1237
+ const pt = ({
1238
+ className: e,
1239
+ ...a
1240
+ }) => /* @__PURE__ */ t(
1241
+ l.SubmenuTrigger,
1242
+ {
1243
+ className: r(
1244
+ i({ variant: "ghost", size: "sm" }),
1245
+ "flex justify-between",
1246
+ e
1247
+ ),
1248
+ ...a
1249
+ }
1250
+ );
1251
+ pt.displayName = "ContextMenuSubmenuTrigger";
1252
+ const gt = (e) => /* @__PURE__ */ t(l.SubmenuRoot, { ...e });
1253
+ gt.displayName = "ContextMenuSubmenuRoot";
1254
+ const bt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1255
+ B,
1256
+ {
1257
+ className: r(
1258
+ "inline-flex",
1259
+ // Connected items: collapse borders, round only outer corners
1260
+ "[&>button]:rounded-none [&>button:not(:first-of-type)]:-ml-px",
1261
+ "[&>button:first-of-type]:rounded-l-md [&>button:last-of-type]:rounded-r-md",
1262
+ e
1263
+ ),
1264
+ ...a
1265
+ }
1266
+ );
1267
+ bt.displayName = "MenubarRoot";
1268
+ const ft = (e) => /* @__PURE__ */ t(s.Root, { ...e });
1269
+ ft.displayName = "MenubarMenu";
1270
+ const yt = ({ className: e, variant: a, size: o, ...n }) => /* @__PURE__ */ t(
1271
+ s.Trigger,
1272
+ {
1273
+ className: r(R({ variant: a, size: o }), e),
1274
+ ...n
1275
+ }
1276
+ );
1277
+ yt.displayName = "MenubarTrigger";
1278
+ const Nt = (e) => /* @__PURE__ */ t(s.Portal, { ...e });
1279
+ Nt.displayName = "MenubarPortal";
1280
+ const xt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1281
+ s.Positioner,
1282
+ {
1283
+ className: r("z-50 outline-none", e),
1284
+ sideOffset: 8,
1285
+ ...a
1286
+ }
1287
+ );
1288
+ xt.displayName = "MenubarPositioner";
1289
+ const ht = ({ className: e, ...a }) => /* @__PURE__ */ t(
1290
+ s.Popup,
1291
+ {
1292
+ className: r(
1293
+ "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",
1294
+ "min-w-[8rem]",
1295
+ e
1296
+ ),
1297
+ ...a
1298
+ }
1299
+ );
1300
+ ht.displayName = "MenubarPopup";
1301
+ const vt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1302
+ s.Arrow,
1303
+ {
1304
+ className: r(
1305
+ "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",
1306
+ e
1307
+ ),
1308
+ ...a,
1309
+ children: /* @__PURE__ */ t(wt, {})
1310
+ }
1311
+ );
1312
+ function wt(e) {
1313
+ return /* @__PURE__ */ b("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: [
1314
+ /* @__PURE__ */ t(
1315
+ "path",
1316
+ {
1317
+ 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",
1318
+ className: "fill-background"
1319
+ }
1320
+ ),
1321
+ /* @__PURE__ */ t(
1322
+ "path",
1323
+ {
1324
+ 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",
1325
+ className: "fill-border"
1326
+ }
1327
+ )
1328
+ ] });
1329
+ }
1330
+ vt.displayName = "MenubarArrow";
1331
+ const Ct = ({ className: e, ...a }) => /* @__PURE__ */ t(
1332
+ s.Item,
1333
+ {
1334
+ className: r(
1335
+ i({ variant: "ghost", size: "sm" }),
1336
+ "flex justify-start",
1337
+ e
1338
+ ),
1339
+ ...a
1340
+ }
1341
+ );
1342
+ Ct.displayName = "MenubarItem";
1343
+ const Mt = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Separator, { className: r("-mx-1 my-1 h-px bg-border", e), ...a });
1344
+ Mt.displayName = "MenubarSeparator";
1345
+ const kt = ({ className: e, ...a }) => /* @__PURE__ */ t(s.Group, { className: r(e), ...a });
1346
+ kt.displayName = "MenubarGroup";
1347
+ const Pt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1348
+ s.GroupLabel,
1349
+ {
1350
+ className: r("px-3 py-1.5 text-sm font-semibold", e),
1351
+ ...a
1352
+ }
1353
+ );
1354
+ Pt.displayName = "MenubarGroupLabel";
1355
+ const It = ({ className: e, ...a }) => /* @__PURE__ */ t(s.RadioGroup, { className: r(e), ...a });
1356
+ It.displayName = "MenubarRadioGroup";
1357
+ const Rt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1358
+ s.RadioItem,
1359
+ {
1360
+ className: r(
1361
+ i({ variant: "ghost", size: "sm" }),
1362
+ "grid grid-cols-[0.75rem_1fr] gap-2",
1363
+ e
1364
+ ),
1365
+ ...a
1366
+ }
1367
+ );
1368
+ Rt.displayName = "MenubarRadioItem";
1369
+ const Tt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1370
+ s.CheckboxItem,
1371
+ {
1372
+ className: r(
1373
+ i({ variant: "ghost", size: "sm" }),
1374
+ "grid grid-cols-[0.75rem_1fr] gap-2",
1375
+ e
1376
+ ),
1377
+ ...a
1378
+ }
1379
+ );
1380
+ Tt.displayName = "MenubarCheckboxItem";
1381
+ const Dt = ({
1382
+ className: e,
1383
+ ...a
1384
+ }) => /* @__PURE__ */ t(s.RadioItemIndicator, { className: r("col-start-1", e), ...a });
1385
+ Dt.displayName = "MenubarRadioItemIndicator";
1386
+ const At = ({
1387
+ className: e,
1388
+ ...a
1389
+ }) => /* @__PURE__ */ t(s.CheckboxItemIndicator, { className: r("col-start-1", e), ...a });
1390
+ At.displayName = "MenubarCheckboxItemIndicator";
1391
+ const zt = ({
1392
+ className: e,
1393
+ ...a
1394
+ }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
1395
+ zt.displayName = "MenubarCheckboxItemLabel";
1396
+ const St = ({ className: e, ...a }) => /* @__PURE__ */ t("span", { className: r("col-start-2", e), ...a });
1397
+ St.displayName = "MenubarRadioItemLabel";
1398
+ const Lt = ({ className: e, ...a }) => /* @__PURE__ */ t(
1399
+ s.SubmenuTrigger,
1400
+ {
1401
+ className: r(
1402
+ i({ variant: "ghost", size: "sm" }),
1403
+ "flex justify-between",
1404
+ e
1405
+ ),
1406
+ ...a
1407
+ }
1408
+ );
1409
+ Lt.displayName = "MenubarSubmenuTrigger";
1410
+ const Vt = (e) => /* @__PURE__ */ t(s.SubmenuRoot, { ...e });
1411
+ Vt.displayName = "MenubarSubmenuRoot";
1091
1412
  export {
1092
- Ee as AccordionHeader,
1093
- $e as AccordionItem,
1094
- Je as AccordionPanel,
1095
- Ze as AccordionRoot,
1096
- Oe as AccordionTrigger,
1097
- bt as AlertDialog,
1098
- O as AlertDialogBackdrop,
1099
- X as AlertDialogClose,
1100
- W as AlertDialogDescription,
1101
- Q as AlertDialogPopup,
1102
- E as AlertDialogPortal,
1103
- Z as AlertDialogRoot,
1104
- U as AlertDialogTitle,
1105
- $ as AlertDialogTrigger,
1106
- J as AlertDialogViewport,
1107
- ee as AvatarFallback,
1108
- Y as AvatarImage,
1109
- z as AvatarRoot,
1110
- ae as AvatarStack,
1413
+ Je as AccordionHeader,
1414
+ Ee as AccordionItem,
1415
+ Qe as AccordionPanel,
1416
+ Oe as AccordionRoot,
1417
+ Ke as AccordionTrigger,
1418
+ ir as AlertDialog,
1419
+ K as AlertDialogBackdrop,
1420
+ ee as AlertDialogClose,
1421
+ Y as AlertDialogDescription,
1422
+ W as AlertDialogPopup,
1423
+ J as AlertDialogPortal,
1424
+ O as AlertDialogRoot,
1425
+ X as AlertDialogTitle,
1426
+ E as AlertDialogTrigger,
1427
+ Q as AlertDialogViewport,
1428
+ te as AvatarFallback,
1429
+ ae as AvatarImage,
1430
+ S as AvatarRoot,
1431
+ re as AvatarStack,
1111
1432
  F as Button,
1112
- $a as CardContent,
1113
- Za as CardDescription,
1114
- Oa as CardFooter,
1115
- Ga as CardHeader,
1116
- ja as CardMedia,
1433
+ Ea as CardContent,
1434
+ Oa as CardDescription,
1435
+ Ka as CardFooter,
1436
+ $a as CardHeader,
1437
+ Za as CardMedia,
1117
1438
  Fa as CardRoot,
1118
- Ea as CardSection,
1439
+ Ja as CardSection,
1119
1440
  qa as CardTitle,
1120
1441
  q as CollapsiblePanel,
1121
- j as CollapsibleRoot,
1122
- G as CollapsibleTrigger,
1442
+ Z as CollapsibleRoot,
1443
+ $ as CollapsibleTrigger,
1444
+ et as ContextMenuArrow,
1445
+ lt as ContextMenuCheckboxItem,
1446
+ ct as ContextMenuCheckboxItemIndicator,
1447
+ ut as ContextMenuCheckboxItemLabel,
1448
+ ot as ContextMenuGroup,
1449
+ st as ContextMenuGroupLabel,
1450
+ tt as ContextMenuItem,
1451
+ Ya as ContextMenuPopup,
1452
+ Wa as ContextMenuPortal,
1453
+ Xa as ContextMenuPositioner,
1454
+ nt as ContextMenuRadioGroup,
1455
+ it as ContextMenuRadioItem,
1456
+ dt as ContextMenuRadioItemIndicator,
1457
+ mt as ContextMenuRadioItemLabel,
1458
+ Qa as ContextMenuRoot,
1459
+ rt as ContextMenuSeparator,
1460
+ gt as ContextMenuSubmenuRoot,
1461
+ pt as ContextMenuSubmenuTrigger,
1462
+ Ua as ContextMenuTrigger,
1123
1463
  ke as DialogBackdrop,
1124
- Ae as DialogClose,
1464
+ De as DialogClose,
1125
1465
  Te as DialogDescription,
1126
- Me as DialogFooter,
1127
- Re as DialogHeader,
1128
- De as DialogPopup,
1129
- we as DialogPortal,
1130
- xe as DialogRoot,
1131
- Ce as DialogTitle,
1132
- ve as DialogTrigger,
1133
- Ie as DrawerBackdrop,
1466
+ ze as DialogFooter,
1467
+ Ae as DialogHeader,
1468
+ Ie as DialogPopup,
1469
+ Me as DialogPortal,
1470
+ we as DialogRoot,
1471
+ Re as DialogTitle,
1472
+ Ce as DialogTrigger,
1473
+ He as DrawerBackdrop,
1134
1474
  Fe as DrawerClose,
1135
- Ge as DrawerContent,
1475
+ $e as DrawerContent,
1136
1476
  Be as DrawerDescription,
1137
1477
  qe as DrawerFooter,
1138
- je as DrawerHeader,
1139
- He as DrawerPopup,
1140
- Se as DrawerPortal,
1141
- ze as DrawerRoot,
1142
- _e as DrawerTitle,
1143
- Ve as DrawerTrigger,
1144
- oa as MenuArrow,
1145
- ma as MenuCheckboxItem,
1146
- ga as MenuCheckboxItemIndicator,
1147
- fa as MenuCheckboxItemLabel,
1148
- ia as MenuGroup,
1149
- da as MenuGroupLabel,
1478
+ Ze as DrawerHeader,
1479
+ _e as DrawerPopup,
1480
+ Ve as DrawerPortal,
1481
+ Se as DrawerRoot,
1482
+ je as DrawerTitle,
1483
+ Le as DrawerTrigger,
1484
+ na as MenuArrow,
1485
+ ga as MenuCheckboxItem,
1486
+ fa as MenuCheckboxItemIndicator,
1487
+ ya as MenuCheckboxItemLabel,
1488
+ ca as MenuGroup,
1489
+ ua as MenuGroupLabel,
1150
1490
  la as MenuItem,
1151
- ra as MenuPopup,
1152
- aa as MenuPortal,
1153
- ta as MenuPositioner,
1154
- ca as MenuRadioGroup,
1155
- ua as MenuRadioItem,
1156
- pa as MenuRadioItemIndicator,
1157
- ba as MenuRadioItemLabel,
1158
- Ye as MenuRoot,
1159
- na as MenuSeparator,
1160
- Na as MenuSubmenuRoot,
1161
- ya as MenuSubmenuTrigger,
1162
- ea as MenuTrigger,
1163
- Ue as MeterIndicator,
1164
- Xe as MeterLabel,
1165
- Ke as MeterRoot,
1166
- Qe as MeterTrack,
1167
- We as MeterValue,
1168
- Da as PopoverArrow,
1169
- wa as PopoverBackdrop,
1170
- Ra as PopoverClose,
1171
- Aa as PopoverDescription,
1491
+ sa as MenuPopup,
1492
+ ra as MenuPortal,
1493
+ oa as MenuPositioner,
1494
+ ma as MenuRadioGroup,
1495
+ pa as MenuRadioItem,
1496
+ ba as MenuRadioItemIndicator,
1497
+ Na as MenuRadioItemLabel,
1498
+ aa as MenuRoot,
1499
+ da as MenuSeparator,
1500
+ ha as MenuSubmenuRoot,
1501
+ xa as MenuSubmenuTrigger,
1502
+ ta as MenuTrigger,
1503
+ vt as MenubarArrow,
1504
+ Tt as MenubarCheckboxItem,
1505
+ At as MenubarCheckboxItemIndicator,
1506
+ zt as MenubarCheckboxItemLabel,
1507
+ kt as MenubarGroup,
1508
+ Pt as MenubarGroupLabel,
1509
+ Ct as MenubarItem,
1510
+ ft as MenubarMenu,
1511
+ ht as MenubarPopup,
1512
+ Nt as MenubarPortal,
1513
+ xt as MenubarPositioner,
1514
+ It as MenubarRadioGroup,
1515
+ Rt as MenubarRadioItem,
1516
+ Dt as MenubarRadioItemIndicator,
1517
+ St as MenubarRadioItemLabel,
1518
+ bt as MenubarRoot,
1519
+ Mt as MenubarSeparator,
1520
+ Vt as MenubarSubmenuRoot,
1521
+ Lt as MenubarSubmenuTrigger,
1522
+ yt as MenubarTrigger,
1523
+ Xe as MeterIndicator,
1524
+ ea as MeterLabel,
1525
+ Ue as MeterRoot,
1526
+ We as MeterTrack,
1527
+ Ye as MeterValue,
1528
+ Ia as PopoverArrow,
1529
+ Ma as PopoverBackdrop,
1530
+ Aa as PopoverClose,
1531
+ Da as PopoverDescription,
1172
1532
  Pa as PopoverPopup,
1173
- va as PopoverPortal,
1533
+ Ca as PopoverPortal,
1174
1534
  ka as PopoverPositioner,
1175
- ha as PopoverRoot,
1535
+ va as PopoverRoot,
1176
1536
  Ta as PopoverTitle,
1177
- xa as PopoverTrigger,
1178
- Ma as PopoverViewport,
1179
- Sa as ProgressIndicator,
1180
- La as ProgressLabel,
1181
- za as ProgressRoot,
1182
- Va as ProgressTrack,
1183
- Ia as ProgressValue,
1184
- oe as ScrollAreaContent,
1185
- ne as ScrollAreaCorner,
1186
- te as ScrollAreaRoot,
1187
- se as ScrollAreaScrollbar,
1537
+ wa as PopoverTrigger,
1538
+ za as PopoverViewport,
1539
+ Va as ProgressIndicator,
1540
+ Ga as ProgressLabel,
1541
+ Sa as ProgressRoot,
1542
+ La as ProgressTrack,
1543
+ Ha as ProgressValue,
1544
+ ne as ScrollAreaContent,
1545
+ de as ScrollAreaCorner,
1546
+ oe as ScrollAreaRoot,
1547
+ ie as ScrollAreaScrollbar,
1188
1548
  le as ScrollAreaThumb,
1189
- re as ScrollAreaViewport,
1190
- ie as Separator,
1191
- de as SwitchRoot,
1192
- ce as SwitchThumb,
1193
- Ne as TabsIndicator,
1194
- ge as TabsList,
1195
- he as TabsPanel,
1196
- me as TabsRoot,
1197
- be as TabsTab,
1198
- ue as Toggle,
1199
- _a as ToggleGroupItem,
1200
- Ha as ToggleGroupRoot
1549
+ se as ScrollAreaViewport,
1550
+ ce as Separator,
1551
+ ue as SwitchRoot,
1552
+ me as SwitchThumb,
1553
+ he as TabsIndicator,
1554
+ fe as TabsList,
1555
+ ve as TabsPanel,
1556
+ ge as TabsRoot,
1557
+ Ne as TabsTab,
1558
+ pe as Toggle,
1559
+ ja as ToggleGroupItem,
1560
+ _a as ToggleGroupRoot
1201
1561
  };