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