@hilum/ui 2.0.4 → 2.1.1

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.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { tokens } from './chunk-H6JZQWX3.js';
2
2
  import { clsx } from 'clsx';
3
3
  import { twMerge } from 'tailwind-merge';
4
- import * as React15 from 'react';
5
- import { Accordion, AlertDialog, AspectRatio, Avatar as Avatar$1, Checkbox, Collapsible, Dialog, ContextMenu, Popover, DropdownMenu, Label as Label$1, HoverCard, Menubar, NavigationMenu, Progress, RadioGroup, ScrollArea, Select, Separator, Tooltip, Slider, Switch, Tabs, Toggle, ToggleGroup, Slot } from 'radix-ui';
6
- import { ChevronDown, Minus, Check, X, Search, Circle, ChevronRight, AlertCircle, ChevronUp, MoreHorizontal, ChevronLeft, ArrowLeft, ArrowRight, ChevronsUpDown, CalendarIcon, Info, AlertTriangle, CheckCircle, GripVertical, PanelLeft, TrendingDown, TrendingUp } from 'lucide-react';
4
+ import * as React17 from 'react';
5
+ import { DropdownMenu, Avatar as Avatar$1, Accordion, AlertDialog, AspectRatio, Checkbox, Collapsible, Dialog, ContextMenu, Popover, Label as Label$1, HoverCard, Menubar, NavigationMenu, Progress, RadioGroup, ScrollArea, Select, Separator, Tooltip, Slider, Switch, Tabs, Toggle, ToggleGroup, Slot } from 'radix-ui';
6
+ import { Check, Circle, ChevronRight, ChevronDown, Minus, X, Search, AlertCircle, ChevronUp, MoreHorizontal, ChevronLeft, ArrowLeft, ArrowRight, ChevronsUpDown, CalendarIcon, Info, AlertTriangle, CheckCircle, GripVertical, PanelLeft, TrendingDown, TrendingUp } from 'lucide-react';
7
7
  import { jsx, jsxs } from 'react/jsx-runtime';
8
8
  import { cva } from 'class-variance-authority';
9
9
  import { DayPicker } from 'react-day-picker';
@@ -20,11 +20,278 @@ import { Toaster as Toaster$1 } from 'sonner';
20
20
  function cn(...inputs) {
21
21
  return twMerge(clsx(inputs));
22
22
  }
23
- var AccordionRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Root, { ref, className: cn("divide-y divide-border", className), ...props }));
23
+ var DropdownMenuRoot = DropdownMenu.Root;
24
+ var DropdownMenuTrigger = DropdownMenu.Trigger;
25
+ var DropdownMenuGroup = DropdownMenu.Group;
26
+ var DropdownMenuPortal = DropdownMenu.Portal;
27
+ var DropdownMenuSub = DropdownMenu.Sub;
28
+ var DropdownMenuRadioGroup = DropdownMenu.RadioGroup;
29
+ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsx(
30
+ DropdownMenu.Content,
31
+ {
32
+ ref,
33
+ sideOffset,
34
+ className: cn(
35
+ "z-50 min-w-[8rem] bg-card rounded-xl shadow-natural p-1",
36
+ "data-[state=open]:animate-in data-[state=closed]:animate-out",
37
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
38
+ "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
39
+ "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
40
+ "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
41
+ className
42
+ ),
43
+ ...props
44
+ }
45
+ ) }));
46
+ DropdownMenuContent.displayName = "DropdownMenuContent";
47
+ var DropdownMenuItem = React17.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
48
+ DropdownMenu.Item,
49
+ {
50
+ ref,
51
+ className: cn(
52
+ "relative flex cursor-default select-none items-center gap-2 rounded-md px-2.5 py-1.5",
53
+ "body outline-none transition-colors",
54
+ destructive ? "text-destructive focus:bg-destructive/10 focus:text-destructive" : "text-muted-foreground focus:bg-muted focus:text-foreground",
55
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
56
+ inset && "pl-8",
57
+ className
58
+ ),
59
+ ...props
60
+ }
61
+ ));
62
+ DropdownMenuItem.displayName = "DropdownMenuItem";
63
+ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
64
+ DropdownMenu.CheckboxItem,
65
+ {
66
+ ref,
67
+ className: cn(
68
+ "relative flex cursor-default select-none items-center gap-2 rounded-md pl-8 pr-2.5 py-1.5",
69
+ "body text-muted-foreground outline-none transition-colors",
70
+ "focus:bg-muted focus:text-foreground",
71
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
72
+ className
73
+ ),
74
+ ...props,
75
+ children: [
76
+ /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { size: 13, className: "text-foreground" }) }) }),
77
+ children
78
+ ]
79
+ }
80
+ ));
81
+ DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
82
+ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
83
+ DropdownMenu.RadioItem,
84
+ {
85
+ ref,
86
+ className: cn(
87
+ "relative flex cursor-default select-none items-center gap-2 rounded-md pl-8 pr-2.5 py-1.5",
88
+ "body text-muted-foreground outline-none transition-colors",
89
+ "focus:bg-muted focus:text-foreground",
90
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
91
+ className
92
+ ),
93
+ ...props,
94
+ children: [
95
+ /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { size: 8, className: "fill-foreground text-foreground" }) }) }),
96
+ children
97
+ ]
98
+ }
99
+ ));
100
+ DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
101
+ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
102
+ DropdownMenu.Label,
103
+ {
104
+ ref,
105
+ className: cn("px-2.5 py-1 label text-muted-foreground", inset && "pl-8", className),
106
+ ...props
107
+ }
108
+ ));
109
+ DropdownMenuLabel.displayName = "DropdownMenuLabel";
110
+ var DropdownMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
111
+ DropdownMenu.Separator,
112
+ {
113
+ ref,
114
+ className: cn("mx-1 my-1 h-px bg-muted", className),
115
+ ...props
116
+ }
117
+ ));
118
+ DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
119
+ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
120
+ DropdownMenu.SubTrigger,
121
+ {
122
+ ref,
123
+ className: cn(
124
+ "relative flex cursor-default select-none items-center gap-2 rounded-md px-2.5 py-1.5",
125
+ "body text-muted-foreground outline-none transition-colors",
126
+ "focus:bg-muted focus:text-foreground data-[state=open]:bg-muted",
127
+ inset && "pl-8",
128
+ className
129
+ ),
130
+ ...props,
131
+ children: [
132
+ children,
133
+ /* @__PURE__ */ jsx(ChevronRight, { size: 14, className: "ml-auto text-muted-foreground" })
134
+ ]
135
+ }
136
+ ));
137
+ DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
138
+ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
139
+ DropdownMenu.SubContent,
140
+ {
141
+ ref,
142
+ className: cn(
143
+ "z-50 min-w-[8rem] bg-card rounded-xl border border-border shadow-natural p-1",
144
+ "data-[state=open]:animate-in data-[state=closed]:animate-out",
145
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
146
+ "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
147
+ "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
148
+ className
149
+ ),
150
+ ...props
151
+ }
152
+ ));
153
+ DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
154
+ function DropdownMenuShortcut({ className, ...props }) {
155
+ return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
156
+ }
157
+ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
158
+ var sizeMap = {
159
+ xs: "size-5 caption-xs",
160
+ sm: "size-7 caption",
161
+ md: "size-8 body",
162
+ lg: "size-10 body-lg",
163
+ xl: "size-12 subheading"
164
+ };
165
+ var Avatar = React17.forwardRef(
166
+ ({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx(
167
+ Avatar$1.Root,
168
+ {
169
+ ref,
170
+ className: cn(
171
+ "relative flex shrink-0 overflow-hidden rounded-full",
172
+ sizeMap[size],
173
+ className
174
+ ),
175
+ ...props
176
+ }
177
+ )
178
+ );
179
+ Avatar.displayName = "Avatar";
180
+ var AvatarImage = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
181
+ Avatar$1.Image,
182
+ {
183
+ ref,
184
+ className: cn("aspect-square h-full w-full object-cover", className),
185
+ ...props
186
+ }
187
+ ));
188
+ AvatarImage.displayName = "AvatarImage";
189
+ var AvatarFallback = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
190
+ Avatar$1.Fallback,
191
+ {
192
+ ref,
193
+ className: cn(
194
+ "flex h-full w-full items-center justify-center rounded-full bg-muted body font-semibold text-muted-foreground",
195
+ className
196
+ ),
197
+ ...props
198
+ }
199
+ ));
200
+ AvatarFallback.displayName = "AvatarFallback";
201
+ var statusColorMap = {
202
+ online: "bg-brand-secondary",
203
+ offline: "bg-muted",
204
+ busy: "bg-destructive",
205
+ away: "bg-brand-secondary"
206
+ };
207
+ var statusSizeMap = {
208
+ xs: "size-1.5 ring-1",
209
+ sm: "size-2 ring-1",
210
+ md: "size-2.5 ring-[1.5px]",
211
+ lg: "size-3 ring-2",
212
+ xl: "size-3.5 ring-2"
213
+ };
214
+ var AvatarWithStatus = React17.forwardRef(({ status, size = "md", className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative inline-flex shrink-0", children: [
215
+ /* @__PURE__ */ jsx(Avatar, { ref, size, className, ...props, children }),
216
+ status && /* @__PURE__ */ jsx(
217
+ "span",
218
+ {
219
+ className: cn(
220
+ "absolute bottom-0 right-0 rounded-full ring-background",
221
+ statusColorMap[status],
222
+ statusSizeMap[size]
223
+ )
224
+ }
225
+ )
226
+ ] }));
227
+ AvatarWithStatus.displayName = "AvatarWithStatus";
228
+ var AccountMenuContent = React17.forwardRef(({ className, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(
229
+ DropdownMenuContent,
230
+ {
231
+ ref,
232
+ sideOffset,
233
+ className: cn(
234
+ "w-80 overflow-hidden rounded-2xl border border-border bg-card p-0 text-foreground shadow-elevated",
235
+ className
236
+ ),
237
+ ...props
238
+ }
239
+ ));
240
+ AccountMenuContent.displayName = "AccountMenuContent";
241
+ var AccountMenuHeader = React17.forwardRef(
242
+ ({ name, email, avatarSrc, avatarAlt, fallback, className, ...props }, ref) => /* @__PURE__ */ jsxs(
243
+ "div",
244
+ {
245
+ ref,
246
+ className: cn("flex flex-col items-center px-6 py-7 text-center", className),
247
+ ...props,
248
+ children: [
249
+ /* @__PURE__ */ jsxs(Avatar, { size: "xl", className: "mb-4 size-14", children: [
250
+ avatarSrc && /* @__PURE__ */ jsx(AvatarImage, { src: avatarSrc, alt: avatarAlt ?? "" }),
251
+ /* @__PURE__ */ jsx(AvatarFallback, { className: "bg-brand-primary text-xl text-primary-foreground", children: fallback })
252
+ ] }),
253
+ /* @__PURE__ */ jsx("p", { className: "body-lg font-medium leading-tight text-foreground", children: name }),
254
+ email && /* @__PURE__ */ jsx("p", { className: "body text-muted-foreground", children: email })
255
+ ]
256
+ }
257
+ )
258
+ );
259
+ AccountMenuHeader.displayName = "AccountMenuHeader";
260
+ var AccountMenuSection = React17.forwardRef(
261
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-3", className), ...props })
262
+ );
263
+ AccountMenuSection.displayName = "AccountMenuSection";
264
+ var AccountMenuItem = React17.forwardRef(({ icon, trailing, description, destructive, children, className, ...props }, ref) => /* @__PURE__ */ jsxs(
265
+ DropdownMenuItem,
266
+ {
267
+ ref,
268
+ className: cn(
269
+ "min-h-11 rounded-lg px-3 py-2.5",
270
+ "group",
271
+ destructive ? "text-destructive focus:bg-destructive/10 focus:text-destructive" : "text-foreground focus:bg-muted focus:text-foreground",
272
+ "data-[disabled]:opacity-40",
273
+ "[&_svg:not([class*='size-'])]:size-5",
274
+ className
275
+ ),
276
+ ...props,
277
+ children: [
278
+ icon && /* @__PURE__ */ jsx("span", { className: "flex size-6 shrink-0 items-center justify-center", children: icon }),
279
+ /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-1 flex-col", children: [
280
+ /* @__PURE__ */ jsx("span", { className: "body-lg truncate font-medium leading-tight", children }),
281
+ description && /* @__PURE__ */ jsx("span", { className: "body truncate font-normal text-muted-foreground group-focus:text-muted-foreground", children: description })
282
+ ] }),
283
+ trailing && /* @__PURE__ */ jsx("span", { className: "caption ml-3 shrink-0 text-muted-foreground", children: trailing })
284
+ ]
285
+ }
286
+ ));
287
+ AccountMenuItem.displayName = "AccountMenuItem";
288
+ var AccountMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuSeparator, { ref, className: cn("m-0 bg-border", className), ...props }));
289
+ AccountMenuSeparator.displayName = "AccountMenuSeparator";
290
+ var AccordionRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Root, { ref, className: cn("divide-y divide-border", className), ...props }));
24
291
  AccordionRoot.displayName = "Accordion";
25
- var AccordionItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Item, { ref, className: cn("", className), ...props }));
292
+ var AccordionItem = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Item, { ref, className: cn("", className), ...props }));
26
293
  AccordionItem.displayName = "AccordionItem";
27
- var AccordionTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
294
+ var AccordionTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
28
295
  Accordion.Trigger,
29
296
  {
30
297
  ref,
@@ -49,7 +316,7 @@ var AccordionTrigger = React15.forwardRef(({ className, children, ...props }, re
49
316
  }
50
317
  ) }));
51
318
  AccordionTrigger.displayName = "AccordionTrigger";
52
- var AccordionContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
319
+ var AccordionContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
53
320
  Accordion.Content,
54
321
  {
55
322
  ref,
@@ -221,7 +488,7 @@ ActivityFeed.displayName = "ActivityFeed";
221
488
  var AlertDialogRoot = AlertDialog.Root;
222
489
  var AlertDialogTrigger = AlertDialog.Trigger;
223
490
  var AlertDialogPortal = AlertDialog.Portal;
224
- var AlertDialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
491
+ var AlertDialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
225
492
  AlertDialog.Overlay,
226
493
  {
227
494
  ref,
@@ -235,7 +502,7 @@ var AlertDialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /*
235
502
  }
236
503
  ));
237
504
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
238
- var AlertDialogContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialog.Portal, { children: [
505
+ var AlertDialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialog.Portal, { children: [
239
506
  /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
240
507
  /* @__PURE__ */ jsx(
241
508
  AlertDialog.Content,
@@ -263,7 +530,7 @@ function AlertDialogFooter({ className, ...props }) {
263
530
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
264
531
  }
265
532
  AlertDialogFooter.displayName = "AlertDialogFooter";
266
- var AlertDialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
533
+ var AlertDialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
267
534
  AlertDialog.Title,
268
535
  {
269
536
  ref,
@@ -272,9 +539,9 @@ var AlertDialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @
272
539
  }
273
540
  ));
274
541
  AlertDialogTitle.displayName = "AlertDialogTitle";
275
- var AlertDialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
542
+ var AlertDialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
276
543
  AlertDialogDescription.displayName = "AlertDialogDescription";
277
- var AlertDialogAction = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
544
+ var AlertDialogAction = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
278
545
  AlertDialog.Action,
279
546
  {
280
547
  ref,
@@ -290,7 +557,7 @@ var AlertDialogAction = React15.forwardRef(({ className, ...props }, ref) => /*
290
557
  }
291
558
  ));
292
559
  AlertDialogAction.displayName = "AlertDialogAction";
293
- var AlertDialogCancel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
560
+ var AlertDialogCancel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
294
561
  AlertDialog.Cancel,
295
562
  {
296
563
  ref,
@@ -321,19 +588,19 @@ var alertVariants = cva(
321
588
  defaultVariants: { variant: "default" }
322
589
  }
323
590
  );
324
- var Alert = React15.forwardRef(
591
+ var Alert = React17.forwardRef(
325
592
  ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props })
326
593
  );
327
594
  Alert.displayName = "Alert";
328
- var AlertTitle = React15.forwardRef(
595
+ var AlertTitle = React17.forwardRef(
329
596
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: cn("mb-0.5 body font-semibold leading-tight", className), ...props })
330
597
  );
331
598
  AlertTitle.displayName = "AlertTitle";
332
- var AlertDescription = React15.forwardRef(
599
+ var AlertDescription = React17.forwardRef(
333
600
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: cn("body opacity-90", className), ...props })
334
601
  );
335
602
  AlertDescription.displayName = "AlertDescription";
336
- var AspectRatioRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
603
+ var AspectRatioRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
337
604
  AspectRatio.Root,
338
605
  {
339
606
  ref,
@@ -342,7 +609,7 @@ var AspectRatioRoot = React15.forwardRef(({ className, ...props }, ref) => /* @_
342
609
  }
343
610
  ));
344
611
  AspectRatioRoot.displayName = "AspectRatio";
345
- var sizeMap = {
612
+ var sizeMap2 = {
346
613
  sm: { wrapper: "size-6 ring-[1.5px]", text: "caption-xs" },
347
614
  md: { wrapper: "size-8 ring-2", text: "caption" },
348
615
  lg: { wrapper: "size-10 ring-2", text: "body" }
@@ -350,7 +617,7 @@ var sizeMap = {
350
617
  function AvatarStack({ avatars, max, size = "md", className }) {
351
618
  const shown = max ? avatars.slice(0, max) : avatars;
352
619
  const overflow = max && avatars.length > max ? avatars.length - max : 0;
353
- const s = sizeMap[size];
620
+ const s = sizeMap2[size];
354
621
  return /* @__PURE__ */ jsxs("div", { className: cn("flex -space-x-2", className), children: [
355
622
  shown.map((avatar, i) => /* @__PURE__ */ jsx(
356
623
  "span",
@@ -390,76 +657,6 @@ function AvatarStack({ avatars, max, size = "md", className }) {
390
657
  )
391
658
  ] });
392
659
  }
393
- var sizeMap2 = {
394
- xs: "size-5 caption-xs",
395
- sm: "size-7 caption",
396
- md: "size-8 body",
397
- lg: "size-10 body-lg",
398
- xl: "size-12 subheading"
399
- };
400
- var Avatar = React15.forwardRef(
401
- ({ className, size = "md", ...props }, ref) => /* @__PURE__ */ jsx(
402
- Avatar$1.Root,
403
- {
404
- ref,
405
- className: cn(
406
- "relative flex shrink-0 overflow-hidden rounded-full",
407
- sizeMap2[size],
408
- className
409
- ),
410
- ...props
411
- }
412
- )
413
- );
414
- Avatar.displayName = "Avatar";
415
- var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
416
- Avatar$1.Image,
417
- {
418
- ref,
419
- className: cn("aspect-square h-full w-full object-cover", className),
420
- ...props
421
- }
422
- ));
423
- AvatarImage.displayName = "AvatarImage";
424
- var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
425
- Avatar$1.Fallback,
426
- {
427
- ref,
428
- className: cn(
429
- "flex h-full w-full items-center justify-center rounded-full bg-muted body font-semibold text-muted-foreground",
430
- className
431
- ),
432
- ...props
433
- }
434
- ));
435
- AvatarFallback.displayName = "AvatarFallback";
436
- var statusColorMap = {
437
- online: "bg-brand-secondary",
438
- offline: "bg-muted",
439
- busy: "bg-destructive",
440
- away: "bg-brand-secondary"
441
- };
442
- var statusSizeMap = {
443
- xs: "size-1.5 ring-1",
444
- sm: "size-2 ring-1",
445
- md: "size-2.5 ring-[1.5px]",
446
- lg: "size-3 ring-2",
447
- xl: "size-3.5 ring-2"
448
- };
449
- var AvatarWithStatus = React15.forwardRef(({ status, size = "md", className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative inline-flex shrink-0", children: [
450
- /* @__PURE__ */ jsx(Avatar, { ref, size, className, ...props, children }),
451
- status && /* @__PURE__ */ jsx(
452
- "span",
453
- {
454
- className: cn(
455
- "absolute bottom-0 right-0 rounded-full ring-background",
456
- statusColorMap[status],
457
- statusSizeMap[size]
458
- )
459
- }
460
- )
461
- ] }));
462
- AvatarWithStatus.displayName = "AvatarWithStatus";
463
660
  var badgeVariants = cva(
464
661
  "inline-flex items-center gap-1 rounded-full px-2.5 py-0.5 caption font-medium transition-colors",
465
662
  {
@@ -483,9 +680,9 @@ function Badge({ className, variant, ...props }) {
483
680
  return /* @__PURE__ */ jsx("span", { "data-slot": "badge", className: cn(badgeVariants({ variant, className })), ...props });
484
681
  }
485
682
  Badge.displayName = "Badge";
486
- var Breadcrumb = React15.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
683
+ var Breadcrumb = React17.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
487
684
  Breadcrumb.displayName = "Breadcrumb";
488
- var BreadcrumbList = React15.forwardRef(
685
+ var BreadcrumbList = React17.forwardRef(
489
686
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
490
687
  "ol",
491
688
  {
@@ -496,15 +693,15 @@ var BreadcrumbList = React15.forwardRef(
496
693
  )
497
694
  );
498
695
  BreadcrumbList.displayName = "BreadcrumbList";
499
- var BreadcrumbItem = React15.forwardRef(
696
+ var BreadcrumbItem = React17.forwardRef(
500
697
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
501
698
  );
502
699
  BreadcrumbItem.displayName = "BreadcrumbItem";
503
- var BreadcrumbLink = React15.forwardRef(
700
+ var BreadcrumbLink = React17.forwardRef(
504
701
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("a", { ref, className: cn("transition-colors hover:text-foreground", className), ...props })
505
702
  );
506
703
  BreadcrumbLink.displayName = "BreadcrumbLink";
507
- var BreadcrumbPage = React15.forwardRef(
704
+ var BreadcrumbPage = React17.forwardRef(
508
705
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
509
706
  "span",
510
707
  {
@@ -651,7 +848,7 @@ var cardVariants = cva("rounded-xl", {
651
848
  variant: "default"
652
849
  }
653
850
  });
654
- var Card = React15.forwardRef(
851
+ var Card = React17.forwardRef(
655
852
  ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
656
853
  "div",
657
854
  {
@@ -663,7 +860,7 @@ var Card = React15.forwardRef(
663
860
  )
664
861
  );
665
862
  Card.displayName = "Card";
666
- var CardHeader = React15.forwardRef(
863
+ var CardHeader = React17.forwardRef(
667
864
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
668
865
  "div",
669
866
  {
@@ -675,7 +872,7 @@ var CardHeader = React15.forwardRef(
675
872
  )
676
873
  );
677
874
  CardHeader.displayName = "CardHeader";
678
- var CardTitle = React15.forwardRef(
875
+ var CardTitle = React17.forwardRef(
679
876
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
680
877
  "h3",
681
878
  {
@@ -687,7 +884,7 @@ var CardTitle = React15.forwardRef(
687
884
  )
688
885
  );
689
886
  CardTitle.displayName = "CardTitle";
690
- var CardDescription = React15.forwardRef(
887
+ var CardDescription = React17.forwardRef(
691
888
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
692
889
  "p",
693
890
  {
@@ -699,11 +896,11 @@ var CardDescription = React15.forwardRef(
699
896
  )
700
897
  );
701
898
  CardDescription.displayName = "CardDescription";
702
- var CardContent = React15.forwardRef(
899
+ var CardContent = React17.forwardRef(
703
900
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn("p-5 pt-0", className), ...props })
704
901
  );
705
902
  CardContent.displayName = "CardContent";
706
- var CardFooter = React15.forwardRef(
903
+ var CardFooter = React17.forwardRef(
707
904
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
708
905
  "div",
709
906
  {
@@ -715,7 +912,7 @@ var CardFooter = React15.forwardRef(
715
912
  )
716
913
  );
717
914
  CardFooter.displayName = "CardFooter";
718
- var CardMedia = React15.forwardRef(
915
+ var CardMedia = React17.forwardRef(
719
916
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
720
917
  "div",
721
918
  {
@@ -727,9 +924,9 @@ var CardMedia = React15.forwardRef(
727
924
  )
728
925
  );
729
926
  CardMedia.displayName = "CardMedia";
730
- var CarouselContext = React15.createContext(null);
927
+ var CarouselContext = React17.createContext(null);
731
928
  function useCarousel() {
732
- const context = React15.useContext(CarouselContext);
929
+ const context = React17.useContext(CarouselContext);
733
930
  if (!context) throw new Error("useCarousel must be used within a <Carousel />");
734
931
  return context;
735
932
  }
@@ -749,20 +946,20 @@ function Carousel({
749
946
  },
750
947
  plugins
751
948
  );
752
- const [canScrollPrev, setCanScrollPrev] = React15.useState(false);
753
- const [canScrollNext, setCanScrollNext] = React15.useState(false);
754
- const onSelect = React15.useCallback((api) => {
949
+ const [canScrollPrev, setCanScrollPrev] = React17.useState(false);
950
+ const [canScrollNext, setCanScrollNext] = React17.useState(false);
951
+ const onSelect = React17.useCallback((api) => {
755
952
  if (!api) return;
756
953
  setCanScrollPrev(api.canScrollPrev());
757
954
  setCanScrollNext(api.canScrollNext());
758
955
  }, []);
759
- const scrollPrev = React15.useCallback(() => {
956
+ const scrollPrev = React17.useCallback(() => {
760
957
  emblaApi?.scrollPrev();
761
958
  }, [emblaApi]);
762
- const scrollNext = React15.useCallback(() => {
959
+ const scrollNext = React17.useCallback(() => {
763
960
  emblaApi?.scrollNext();
764
961
  }, [emblaApi]);
765
- const handleKeyDown = React15.useCallback(
962
+ const handleKeyDown = React17.useCallback(
766
963
  (event) => {
767
964
  if (event.key === "ArrowLeft") {
768
965
  event.preventDefault();
@@ -774,7 +971,7 @@ function Carousel({
774
971
  },
775
972
  [scrollPrev, scrollNext]
776
973
  );
777
- React15.useEffect(() => {
974
+ React17.useEffect(() => {
778
975
  if (!emblaApi) return;
779
976
  onSelect(emblaApi);
780
977
  emblaApi.on("reInit", onSelect);
@@ -784,7 +981,7 @@ function Carousel({
784
981
  emblaApi.off("select", onSelect);
785
982
  };
786
983
  }, [emblaApi, onSelect]);
787
- React15.useEffect(() => {
984
+ React17.useEffect(() => {
788
985
  if (!emblaApi || !setApi) return;
789
986
  setApi(emblaApi);
790
987
  }, [emblaApi, setApi]);
@@ -928,7 +1125,7 @@ function ChartTooltip({ active, payload, label, labelClassName }) {
928
1125
  ] });
929
1126
  }
930
1127
  ChartTooltip.displayName = "ChartTooltip";
931
- var CheckboxRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1128
+ var CheckboxRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
932
1129
  Checkbox.Root,
933
1130
  {
934
1131
  ref,
@@ -959,8 +1156,8 @@ function ColorPicker({
959
1156
  presets,
960
1157
  ariaLabel = "Color"
961
1158
  }) {
962
- const [hex, setHex] = React15.useState(value);
963
- React15.useEffect(() => {
1159
+ const [hex, setHex] = React17.useState(value);
1160
+ React17.useEffect(() => {
964
1161
  setHex(value);
965
1162
  }, [value]);
966
1163
  const commit = (next) => {
@@ -1051,8 +1248,8 @@ function ColorInput({
1051
1248
  disabled,
1052
1249
  presets
1053
1250
  }) {
1054
- const [hex, setHex] = React15.useState(value);
1055
- React15.useEffect(() => {
1251
+ const [hex, setHex] = React17.useState(value);
1252
+ React17.useEffect(() => {
1056
1253
  setHex(value);
1057
1254
  }, [value]);
1058
1255
  const commitHex = (next) => {
@@ -1122,20 +1319,20 @@ function Combobox({
1122
1319
  emptyText = "No results found.",
1123
1320
  className
1124
1321
  }) {
1125
- const [open, setOpen] = React15.useState(false);
1126
- const [query, setQuery] = React15.useState("");
1127
- const [activeIndex, setActiveIndex] = React15.useState(-1);
1128
- const containerRef = React15.useRef(null);
1129
- const inputRef = React15.useRef(null);
1130
- const listboxId = React15.useId();
1322
+ const [open, setOpen] = React17.useState(false);
1323
+ const [query, setQuery] = React17.useState("");
1324
+ const [activeIndex, setActiveIndex] = React17.useState(-1);
1325
+ const containerRef = React17.useRef(null);
1326
+ const inputRef = React17.useRef(null);
1327
+ const listboxId = React17.useId();
1131
1328
  const selectedOption = options.find((o) => o.value === value);
1132
1329
  const filtered = query === "" ? options : options.filter(
1133
1330
  (o) => o.label.toLowerCase().includes(query.toLowerCase()) || o.description?.toLowerCase().includes(query.toLowerCase())
1134
1331
  );
1135
- React15.useEffect(() => {
1332
+ React17.useEffect(() => {
1136
1333
  setActiveIndex(-1);
1137
1334
  }, [filtered.length, open]);
1138
- React15.useEffect(() => {
1335
+ React17.useEffect(() => {
1139
1336
  function onMouseDown(e) {
1140
1337
  if (containerRef.current && !containerRef.current.contains(e.target)) {
1141
1338
  setOpen(false);
@@ -1300,7 +1497,7 @@ Combobox.displayName = "Combobox";
1300
1497
  var DialogRoot = Dialog.Root;
1301
1498
  var DialogTrigger = Dialog.Trigger;
1302
1499
  var DialogClose = Dialog.Close;
1303
- var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1500
+ var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1304
1501
  Dialog.Overlay,
1305
1502
  {
1306
1503
  ref,
@@ -1314,7 +1511,7 @@ var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__P
1314
1511
  }
1315
1512
  ));
1316
1513
  DialogOverlay.displayName = "DialogOverlay";
1317
- var DialogContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
1514
+ var DialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
1318
1515
  /* @__PURE__ */ jsx(DialogOverlay, {}),
1319
1516
  /* @__PURE__ */ jsxs(
1320
1517
  Dialog.Content,
@@ -1348,7 +1545,7 @@ function DialogFooter({ className, ...props }) {
1348
1545
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
1349
1546
  }
1350
1547
  DialogFooter.displayName = "DialogFooter";
1351
- var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1548
+ var DialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1352
1549
  Dialog.Title,
1353
1550
  {
1354
1551
  ref,
@@ -1357,7 +1554,7 @@ var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1357
1554
  }
1358
1555
  ));
1359
1556
  DialogTitle.displayName = "DialogTitle";
1360
- var DialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
1557
+ var DialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
1361
1558
  DialogDescription.displayName = "DialogDescription";
1362
1559
  function CommandPalette({
1363
1560
  open,
@@ -1366,9 +1563,9 @@ function CommandPalette({
1366
1563
  placeholder = "Search...",
1367
1564
  emptyText = "No results found."
1368
1565
  }) {
1369
- const [query, setQuery] = React15.useState("");
1370
- const inputRef = React15.useRef(null);
1371
- React15.useEffect(() => {
1566
+ const [query, setQuery] = React17.useState("");
1567
+ const inputRef = React17.useRef(null);
1568
+ React17.useEffect(() => {
1372
1569
  if (open) {
1373
1570
  setTimeout(() => inputRef.current?.focus(), 50);
1374
1571
  setQuery("");
@@ -1435,19 +1632,19 @@ function CommandPalette({
1435
1632
  ] }) });
1436
1633
  }
1437
1634
  CommandPalette.displayName = "CommandPalette";
1438
- var CommandCtx = React15.createContext({
1635
+ var CommandCtx = React17.createContext({
1439
1636
  query: "",
1440
1637
  setQuery: () => {
1441
1638
  },
1442
1639
  reportVisible: () => {
1443
1640
  }
1444
1641
  });
1445
- var CommandVisibleCtx = React15.createContext(0);
1642
+ var CommandVisibleCtx = React17.createContext(0);
1446
1643
  function Command({ className, children, onSelect, ...props }) {
1447
- const [query, setQuery] = React15.useState("");
1448
- const visibleIds = React15.useRef(/* @__PURE__ */ new Set());
1449
- const [visibleCount, setVisibleCount] = React15.useState(0);
1450
- const reportVisible = React15.useCallback((id, visible) => {
1644
+ const [query, setQuery] = React17.useState("");
1645
+ const visibleIds = React17.useRef(/* @__PURE__ */ new Set());
1646
+ const [visibleCount, setVisibleCount] = React17.useState(0);
1647
+ const reportVisible = React17.useCallback((id, visible) => {
1451
1648
  const had = visibleIds.current.has(id);
1452
1649
  if (visible && !had) {
1453
1650
  visibleIds.current.add(id);
@@ -1469,8 +1666,8 @@ function Command({ className, children, onSelect, ...props }) {
1469
1666
  }
1470
1667
  ) }) });
1471
1668
  }
1472
- var CommandInput = React15.forwardRef(({ className, ...props }, ref) => {
1473
- const { query, setQuery } = React15.useContext(CommandCtx);
1669
+ var CommandInput = React17.forwardRef(({ className, ...props }, ref) => {
1670
+ const { query, setQuery } = React17.useContext(CommandCtx);
1474
1671
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 border-b border-border px-3", children: [
1475
1672
  /* @__PURE__ */ jsx(Search, { size: 14, className: "shrink-0 text-muted-foreground" }),
1476
1673
  /* @__PURE__ */ jsx(
@@ -1494,10 +1691,10 @@ var CommandInput = React15.forwardRef(({ className, ...props }, ref) => {
1494
1691
  ] });
1495
1692
  });
1496
1693
  CommandInput.displayName = "CommandInput";
1497
- var CommandList = React15.forwardRef(
1694
+ var CommandList = React17.forwardRef(
1498
1695
  ({ className, ...props }, ref) => {
1499
- const listRef = React15.useRef(null);
1500
- const combinedRef = React15.useCallback(
1696
+ const listRef = React17.useRef(null);
1697
+ const combinedRef = React17.useCallback(
1501
1698
  (el) => {
1502
1699
  listRef.current = el;
1503
1700
  if (typeof ref === "function") ref(el);
@@ -1532,9 +1729,9 @@ var CommandList = React15.forwardRef(
1532
1729
  }
1533
1730
  );
1534
1731
  CommandList.displayName = "CommandList";
1535
- var CommandEmpty = React15.forwardRef(
1732
+ var CommandEmpty = React17.forwardRef(
1536
1733
  ({ className, children = "No results found.", ...props }, ref) => {
1537
- const visibleCount = React15.useContext(CommandVisibleCtx);
1734
+ const visibleCount = React17.useContext(CommandVisibleCtx);
1538
1735
  if (visibleCount > 0) return null;
1539
1736
  return /* @__PURE__ */ jsx(
1540
1737
  "div",
@@ -1548,20 +1745,20 @@ var CommandEmpty = React15.forwardRef(
1548
1745
  }
1549
1746
  );
1550
1747
  CommandEmpty.displayName = "CommandEmpty";
1551
- var CommandGroup = React15.forwardRef(
1748
+ var CommandGroup = React17.forwardRef(
1552
1749
  ({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, role: "group", className: cn("py-1", className), ...props, children: [
1553
1750
  heading && /* @__PURE__ */ jsx("p", { className: "px-3 pb-1 pt-0.5 label text-muted-foreground", children: heading }),
1554
1751
  children
1555
1752
  ] })
1556
1753
  );
1557
1754
  CommandGroup.displayName = "CommandGroup";
1558
- var CommandItem = React15.forwardRef(
1755
+ var CommandItem = React17.forwardRef(
1559
1756
  ({ className, value = "", keywords, disabled, onSelect, children, ...props }, ref) => {
1560
- const { query, onSelect: ctxOnSelect, reportVisible } = React15.useContext(CommandCtx);
1561
- const id = React15.useId();
1757
+ const { query, onSelect: ctxOnSelect, reportVisible } = React17.useContext(CommandCtx);
1758
+ const id = React17.useId();
1562
1759
  const searchText = (keywords ?? [value]).join(" ").toLowerCase();
1563
1760
  const isVisible = !query || searchText.includes(query.toLowerCase());
1564
- React15.useLayoutEffect(() => {
1761
+ React17.useLayoutEffect(() => {
1565
1762
  reportVisible(id, isVisible && !disabled);
1566
1763
  return () => reportVisible(id, false);
1567
1764
  }, [id, isVisible, disabled, reportVisible]);
@@ -1602,7 +1799,7 @@ var CommandItem = React15.forwardRef(
1602
1799
  }
1603
1800
  );
1604
1801
  CommandItem.displayName = "CommandItem";
1605
- var CommandSeparator = React15.forwardRef(
1802
+ var CommandSeparator = React17.forwardRef(
1606
1803
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("my-1 h-px bg-muted", className), ...props })
1607
1804
  );
1608
1805
  CommandSeparator.displayName = "CommandSeparator";
@@ -1623,7 +1820,7 @@ var ContextMenuGroup = ContextMenu.Group;
1623
1820
  var ContextMenuPortal = ContextMenu.Portal;
1624
1821
  var ContextMenuSub = ContextMenu.Sub;
1625
1822
  var ContextMenuRadioGroup = ContextMenu.RadioGroup;
1626
- var ContextMenuContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenu.Portal, { children: /* @__PURE__ */ jsx(
1823
+ var ContextMenuContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenu.Portal, { children: /* @__PURE__ */ jsx(
1627
1824
  ContextMenu.Content,
1628
1825
  {
1629
1826
  ref,
@@ -1640,7 +1837,7 @@ var ContextMenuContent = React15.forwardRef(({ className, ...props }, ref) => /*
1640
1837
  }
1641
1838
  ) }));
1642
1839
  ContextMenuContent.displayName = "ContextMenuContent";
1643
- var ContextMenuItem = React15.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
1840
+ var ContextMenuItem = React17.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
1644
1841
  ContextMenu.Item,
1645
1842
  {
1646
1843
  ref,
@@ -1656,7 +1853,7 @@ var ContextMenuItem = React15.forwardRef(({ className, inset, destructive, ...pr
1656
1853
  }
1657
1854
  ));
1658
1855
  ContextMenuItem.displayName = "ContextMenuItem";
1659
- var ContextMenuCheckboxItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1856
+ var ContextMenuCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1660
1857
  ContextMenu.CheckboxItem,
1661
1858
  {
1662
1859
  ref,
@@ -1675,7 +1872,7 @@ var ContextMenuCheckboxItem = React15.forwardRef(({ className, children, ...prop
1675
1872
  }
1676
1873
  ));
1677
1874
  ContextMenuCheckboxItem.displayName = "ContextMenuCheckboxItem";
1678
- var ContextMenuRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1875
+ var ContextMenuRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1679
1876
  ContextMenu.RadioItem,
1680
1877
  {
1681
1878
  ref,
@@ -1694,7 +1891,7 @@ var ContextMenuRadioItem = React15.forwardRef(({ className, children, ...props }
1694
1891
  }
1695
1892
  ));
1696
1893
  ContextMenuRadioItem.displayName = "ContextMenuRadioItem";
1697
- var ContextMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1894
+ var ContextMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1698
1895
  ContextMenu.Label,
1699
1896
  {
1700
1897
  ref,
@@ -1703,7 +1900,7 @@ var ContextMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref)
1703
1900
  }
1704
1901
  ));
1705
1902
  ContextMenuLabel.displayName = "ContextMenuLabel";
1706
- var ContextMenuSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1903
+ var ContextMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1707
1904
  ContextMenu.Separator,
1708
1905
  {
1709
1906
  ref,
@@ -1712,7 +1909,7 @@ var ContextMenuSeparator = React15.forwardRef(({ className, ...props }, ref) =>
1712
1909
  }
1713
1910
  ));
1714
1911
  ContextMenuSeparator.displayName = "ContextMenuSeparator";
1715
- var ContextMenuSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1912
+ var ContextMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1716
1913
  ContextMenu.SubTrigger,
1717
1914
  {
1718
1915
  ref,
@@ -1731,7 +1928,7 @@ var ContextMenuSubTrigger = React15.forwardRef(({ className, inset, children, ..
1731
1928
  }
1732
1929
  ));
1733
1930
  ContextMenuSubTrigger.displayName = "ContextMenuSubTrigger";
1734
- var ContextMenuSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1931
+ var ContextMenuSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1735
1932
  ContextMenu.SubContent,
1736
1933
  {
1737
1934
  ref,
@@ -1751,7 +1948,7 @@ function ContextMenuShortcut({ className, ...props }) {
1751
1948
  return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
1752
1949
  }
1753
1950
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
1754
- var Table = React15.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1951
+ var Table = React17.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1755
1952
  "div",
1756
1953
  {
1757
1954
  className: cn(
@@ -1769,13 +1966,13 @@ var Table = React15.forwardRef(({ className, containerClassName, ...props }, ref
1769
1966
  }
1770
1967
  ));
1771
1968
  Table.displayName = "Table";
1772
- var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("bg-muted", className), ...props }));
1969
+ var TableHeader = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("bg-muted", className), ...props }));
1773
1970
  TableHeader.displayName = "TableHeader";
1774
- var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("divide-y divide-border bg-card", className), ...props }));
1971
+ var TableBody = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("divide-y divide-border bg-card", className), ...props }));
1775
1972
  TableBody.displayName = "TableBody";
1776
- var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn("bg-muted font-medium", className), ...props }));
1973
+ var TableFooter = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn("bg-muted font-medium", className), ...props }));
1777
1974
  TableFooter.displayName = "TableFooter";
1778
- var TableRow = React15.forwardRef(
1975
+ var TableRow = React17.forwardRef(
1779
1976
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1780
1977
  "tr",
1781
1978
  {
@@ -1789,7 +1986,7 @@ var TableRow = React15.forwardRef(
1789
1986
  )
1790
1987
  );
1791
1988
  TableRow.displayName = "TableRow";
1792
- var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1989
+ var TableHead = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1793
1990
  "th",
1794
1991
  {
1795
1992
  ref,
@@ -1802,7 +1999,7 @@ var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1802
1999
  }
1803
2000
  ));
1804
2001
  TableHead.displayName = "TableHead";
1805
- var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2002
+ var TableCell = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1806
2003
  "td",
1807
2004
  {
1808
2005
  ref,
@@ -1815,7 +2012,7 @@ var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1815
2012
  }
1816
2013
  ));
1817
2014
  TableCell.displayName = "TableCell";
1818
- var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn("mt-4 caption text-muted-foreground", className), ...props }));
2015
+ var TableCaption = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn("mt-4 caption text-muted-foreground", className), ...props }));
1819
2016
  TableCaption.displayName = "TableCaption";
1820
2017
  function Input({ className, type, ...props }) {
1821
2018
  return /* @__PURE__ */ jsx(
@@ -1845,8 +2042,8 @@ function DataTable({
1845
2042
  pageSize = 10,
1846
2043
  showPagination = true
1847
2044
  }) {
1848
- const [sorting, setSorting] = React15.useState([]);
1849
- const [columnFilters, setColumnFilters] = React15.useState([]);
2045
+ const [sorting, setSorting] = React17.useState([]);
2046
+ const [columnFilters, setColumnFilters] = React17.useState([]);
1850
2047
  const table = useReactTable({
1851
2048
  data,
1852
2049
  columns,
@@ -1933,7 +2130,7 @@ function DataTable({
1933
2130
  var PopoverRoot = Popover.Root;
1934
2131
  var PopoverTrigger = Popover.Trigger;
1935
2132
  var PopoverClose = Popover.Close;
1936
- var PopoverContent = React15.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(
2133
+ var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(
1937
2134
  Popover.Content,
1938
2135
  {
1939
2136
  ref,
@@ -2032,7 +2229,7 @@ var DrawerRoot = Drawer.Root;
2032
2229
  var DrawerTrigger = Drawer.Trigger;
2033
2230
  var DrawerPortal = Drawer.Portal;
2034
2231
  var DrawerClose = Drawer.Close;
2035
- var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2232
+ var DrawerOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2036
2233
  Drawer.Overlay,
2037
2234
  {
2038
2235
  ref,
@@ -2041,7 +2238,7 @@ var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__P
2041
2238
  }
2042
2239
  ));
2043
2240
  DrawerOverlay.displayName = "DrawerOverlay";
2044
- var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2241
+ var DrawerContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2045
2242
  /* @__PURE__ */ jsx(DrawerOverlay, {}),
2046
2243
  /* @__PURE__ */ jsxs(
2047
2244
  Drawer.Content,
@@ -2064,7 +2261,7 @@ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { cla
2064
2261
  DrawerHeader.displayName = "DrawerHeader";
2065
2262
  var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("mt-auto flex flex-col gap-2 px-6 pb-6", className), ...props });
2066
2263
  DrawerFooter.displayName = "DrawerFooter";
2067
- var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2264
+ var DrawerTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2068
2265
  Drawer.Title,
2069
2266
  {
2070
2267
  ref,
@@ -2073,7 +2270,7 @@ var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
2073
2270
  }
2074
2271
  ));
2075
2272
  DrawerTitle.displayName = "DrawerTitle";
2076
- var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2273
+ var DrawerDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2077
2274
  Drawer.Description,
2078
2275
  {
2079
2276
  ref,
@@ -2082,141 +2279,6 @@ var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /*
2082
2279
  }
2083
2280
  ));
2084
2281
  DrawerDescription.displayName = "DrawerDescription";
2085
- var DropdownMenuRoot = DropdownMenu.Root;
2086
- var DropdownMenuTrigger = DropdownMenu.Trigger;
2087
- var DropdownMenuGroup = DropdownMenu.Group;
2088
- var DropdownMenuPortal = DropdownMenu.Portal;
2089
- var DropdownMenuSub = DropdownMenu.Sub;
2090
- var DropdownMenuRadioGroup = DropdownMenu.RadioGroup;
2091
- var DropdownMenuContent = React15.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsx(
2092
- DropdownMenu.Content,
2093
- {
2094
- ref,
2095
- sideOffset,
2096
- className: cn(
2097
- "z-50 min-w-[8rem] bg-card rounded-xl shadow-natural p-1",
2098
- "data-[state=open]:animate-in data-[state=closed]:animate-out",
2099
- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2100
- "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
2101
- "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
2102
- "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
2103
- className
2104
- ),
2105
- ...props
2106
- }
2107
- ) }));
2108
- DropdownMenuContent.displayName = "DropdownMenuContent";
2109
- var DropdownMenuItem = React15.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
2110
- DropdownMenu.Item,
2111
- {
2112
- ref,
2113
- className: cn(
2114
- "relative flex cursor-default select-none items-center gap-2 rounded-md px-2.5 py-1.5",
2115
- "body outline-none transition-colors",
2116
- destructive ? "text-destructive focus:bg-destructive/10 focus:text-destructive" : "text-muted-foreground focus:bg-muted focus:text-foreground",
2117
- "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2118
- inset && "pl-8",
2119
- className
2120
- ),
2121
- ...props
2122
- }
2123
- ));
2124
- DropdownMenuItem.displayName = "DropdownMenuItem";
2125
- var DropdownMenuCheckboxItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2126
- DropdownMenu.CheckboxItem,
2127
- {
2128
- ref,
2129
- className: cn(
2130
- "relative flex cursor-default select-none items-center gap-2 rounded-md pl-8 pr-2.5 py-1.5",
2131
- "body text-muted-foreground outline-none transition-colors",
2132
- "focus:bg-muted focus:text-foreground",
2133
- "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2134
- className
2135
- ),
2136
- ...props,
2137
- children: [
2138
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { size: 13, className: "text-foreground" }) }) }),
2139
- children
2140
- ]
2141
- }
2142
- ));
2143
- DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
2144
- var DropdownMenuRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2145
- DropdownMenu.RadioItem,
2146
- {
2147
- ref,
2148
- className: cn(
2149
- "relative flex cursor-default select-none items-center gap-2 rounded-md pl-8 pr-2.5 py-1.5",
2150
- "body text-muted-foreground outline-none transition-colors",
2151
- "focus:bg-muted focus:text-foreground",
2152
- "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
2153
- className
2154
- ),
2155
- ...props,
2156
- children: [
2157
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { size: 8, className: "fill-foreground text-foreground" }) }) }),
2158
- children
2159
- ]
2160
- }
2161
- ));
2162
- DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
2163
- var DropdownMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2164
- DropdownMenu.Label,
2165
- {
2166
- ref,
2167
- className: cn("px-2.5 py-1 label text-muted-foreground", inset && "pl-8", className),
2168
- ...props
2169
- }
2170
- ));
2171
- DropdownMenuLabel.displayName = "DropdownMenuLabel";
2172
- var DropdownMenuSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2173
- DropdownMenu.Separator,
2174
- {
2175
- ref,
2176
- className: cn("mx-1 my-1 h-px bg-muted", className),
2177
- ...props
2178
- }
2179
- ));
2180
- DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
2181
- var DropdownMenuSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2182
- DropdownMenu.SubTrigger,
2183
- {
2184
- ref,
2185
- className: cn(
2186
- "relative flex cursor-default select-none items-center gap-2 rounded-md px-2.5 py-1.5",
2187
- "body text-muted-foreground outline-none transition-colors",
2188
- "focus:bg-muted focus:text-foreground data-[state=open]:bg-muted",
2189
- inset && "pl-8",
2190
- className
2191
- ),
2192
- ...props,
2193
- children: [
2194
- children,
2195
- /* @__PURE__ */ jsx(ChevronRight, { size: 14, className: "ml-auto text-muted-foreground" })
2196
- ]
2197
- }
2198
- ));
2199
- DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
2200
- var DropdownMenuSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2201
- DropdownMenu.SubContent,
2202
- {
2203
- ref,
2204
- className: cn(
2205
- "z-50 min-w-[8rem] bg-card rounded-xl border border-border shadow-natural p-1",
2206
- "data-[state=open]:animate-in data-[state=closed]:animate-out",
2207
- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
2208
- "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
2209
- "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
2210
- className
2211
- ),
2212
- ...props
2213
- }
2214
- ));
2215
- DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
2216
- function DropdownMenuShortcut({ className, ...props }) {
2217
- return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
2218
- }
2219
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2220
2282
  function EmptyState({ icon, title, description, action, className }) {
2221
2283
  return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-4 px-6 py-14 text-center", className), children: [
2222
2284
  icon && /* @__PURE__ */ jsx("div", { className: "flex size-12 items-center justify-center rounded-xl bg-brand-secondary/20 text-muted-foreground", children: icon }),
@@ -2228,7 +2290,7 @@ function EmptyState({ icon, title, description, action, className }) {
2228
2290
  ] });
2229
2291
  }
2230
2292
  EmptyState.displayName = "EmptyState";
2231
- var Label = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2293
+ var Label = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2232
2294
  Label$1.Root,
2233
2295
  {
2234
2296
  ref,
@@ -2368,7 +2430,7 @@ GridListCard.displayName = "GridListCard";
2368
2430
  GridListAccentCard.displayName = "GridListAccentCard";
2369
2431
  var HoverCardRoot = HoverCard.Root;
2370
2432
  var HoverCardTrigger = HoverCard.Trigger;
2371
- var HoverCardContent = React15.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(HoverCard.Portal, { children: /* @__PURE__ */ jsx(
2433
+ var HoverCardContent = React17.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(HoverCard.Portal, { children: /* @__PURE__ */ jsx(
2372
2434
  HoverCard.Content,
2373
2435
  {
2374
2436
  ref,
@@ -2387,7 +2449,7 @@ var HoverCardContent = React15.forwardRef(({ className, align = "center", sideOf
2387
2449
  }
2388
2450
  ) }));
2389
2451
  HoverCardContent.displayName = "HoverCardContent";
2390
- var InputGroup = React15.forwardRef(
2452
+ var InputGroup = React17.forwardRef(
2391
2453
  ({
2392
2454
  leadingAddon,
2393
2455
  trailingAddon,
@@ -2456,7 +2518,7 @@ var InputGroup = React15.forwardRef(
2456
2518
  }
2457
2519
  );
2458
2520
  InputGroup.displayName = "InputGroup";
2459
- var InputNumber = React15.forwardRef(
2521
+ var InputNumber = React17.forwardRef(
2460
2522
  ({
2461
2523
  value,
2462
2524
  onChange,
@@ -2470,11 +2532,11 @@ var InputNumber = React15.forwardRef(
2470
2532
  disabled,
2471
2533
  ...rest
2472
2534
  }, ref) => {
2473
- const [text, setText] = React15.useState(value.toFixed(precision));
2474
- React15.useEffect(() => {
2535
+ const [text, setText] = React17.useState(value.toFixed(precision));
2536
+ React17.useEffect(() => {
2475
2537
  setText(value.toFixed(precision));
2476
2538
  }, [value, precision]);
2477
- const clamp = React15.useCallback((n) => Math.min(max, Math.max(min, n)), [min, max]);
2539
+ const clamp = React17.useCallback((n) => Math.min(max, Math.max(min, n)), [min, max]);
2478
2540
  const commit = (raw) => {
2479
2541
  const n = parseFloat(raw);
2480
2542
  if (Number.isFinite(n)) {
@@ -2559,7 +2621,7 @@ var InputNumber = React15.forwardRef(
2559
2621
  }
2560
2622
  );
2561
2623
  InputNumber.displayName = "InputNumber";
2562
- var InputOTP = React15.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
2624
+ var InputOTP = React17.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
2563
2625
  OTPInput,
2564
2626
  {
2565
2627
  ref,
@@ -2569,12 +2631,12 @@ var InputOTP = React15.forwardRef(({ className, containerClassName, ...props },
2569
2631
  }
2570
2632
  ));
2571
2633
  InputOTP.displayName = "InputOTP";
2572
- var InputOTPGroup = React15.forwardRef(
2634
+ var InputOTPGroup = React17.forwardRef(
2573
2635
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props })
2574
2636
  );
2575
2637
  InputOTPGroup.displayName = "InputOTPGroup";
2576
- var InputOTPSlot = React15.forwardRef(({ index, className, ...props }, ref) => {
2577
- const inputOTPContext = React15.useContext(OTPInputContext);
2638
+ var InputOTPSlot = React17.forwardRef(({ index, className, ...props }, ref) => {
2639
+ const inputOTPContext = React17.useContext(OTPInputContext);
2578
2640
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
2579
2641
  return /* @__PURE__ */ jsxs(
2580
2642
  "div",
@@ -2597,11 +2659,11 @@ var InputOTPSlot = React15.forwardRef(({ index, className, ...props }, ref) => {
2597
2659
  );
2598
2660
  });
2599
2661
  InputOTPSlot.displayName = "InputOTPSlot";
2600
- var InputOTPSeparator = React15.forwardRef(
2662
+ var InputOTPSeparator = React17.forwardRef(
2601
2663
  ({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Minus, { size: 14, className: "text-muted-foreground" }) })
2602
2664
  );
2603
2665
  InputOTPSeparator.displayName = "InputOTPSeparator";
2604
- var Kbd = React15.forwardRef(
2666
+ var Kbd = React17.forwardRef(
2605
2667
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2606
2668
  "kbd",
2607
2669
  {
@@ -2651,7 +2713,7 @@ function MediaObject({
2651
2713
  );
2652
2714
  }
2653
2715
  MediaObject.displayName = "MediaObject";
2654
- var MenubarRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2716
+ var MenubarRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2655
2717
  Menubar.Root,
2656
2718
  {
2657
2719
  ref,
@@ -2667,7 +2729,7 @@ var MenubarMenu = Menubar.Menu;
2667
2729
  var MenubarGroup = Menubar.Group;
2668
2730
  var MenubarSub = Menubar.Sub;
2669
2731
  var MenubarRadioGroup = Menubar.RadioGroup;
2670
- var MenubarTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2732
+ var MenubarTrigger = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2671
2733
  Menubar.Trigger,
2672
2734
  {
2673
2735
  ref,
@@ -2682,7 +2744,7 @@ var MenubarTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__
2682
2744
  }
2683
2745
  ));
2684
2746
  MenubarTrigger.displayName = "MenubarTrigger";
2685
- var MenubarContent = React15.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(Menubar.Portal, { children: /* @__PURE__ */ jsx(
2747
+ var MenubarContent = React17.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(Menubar.Portal, { children: /* @__PURE__ */ jsx(
2686
2748
  Menubar.Content,
2687
2749
  {
2688
2750
  ref,
@@ -2702,7 +2764,7 @@ var MenubarContent = React15.forwardRef(({ className, align = "start", alignOffs
2702
2764
  }
2703
2765
  ) }));
2704
2766
  MenubarContent.displayName = "MenubarContent";
2705
- var MenubarItem = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2767
+ var MenubarItem = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2706
2768
  Menubar.Item,
2707
2769
  {
2708
2770
  ref,
@@ -2718,7 +2780,7 @@ var MenubarItem = React15.forwardRef(({ className, inset, ...props }, ref) => /*
2718
2780
  }
2719
2781
  ));
2720
2782
  MenubarItem.displayName = "MenubarItem";
2721
- var MenubarCheckboxItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2783
+ var MenubarCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2722
2784
  Menubar.CheckboxItem,
2723
2785
  {
2724
2786
  ref,
@@ -2737,7 +2799,7 @@ var MenubarCheckboxItem = React15.forwardRef(({ className, children, ...props },
2737
2799
  }
2738
2800
  ));
2739
2801
  MenubarCheckboxItem.displayName = "MenubarCheckboxItem";
2740
- var MenubarRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2802
+ var MenubarRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2741
2803
  Menubar.RadioItem,
2742
2804
  {
2743
2805
  ref,
@@ -2756,7 +2818,7 @@ var MenubarRadioItem = React15.forwardRef(({ className, children, ...props }, re
2756
2818
  }
2757
2819
  ));
2758
2820
  MenubarRadioItem.displayName = "MenubarRadioItem";
2759
- var MenubarLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2821
+ var MenubarLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2760
2822
  Menubar.Label,
2761
2823
  {
2762
2824
  ref,
@@ -2765,7 +2827,7 @@ var MenubarLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /
2765
2827
  }
2766
2828
  ));
2767
2829
  MenubarLabel.displayName = "MenubarLabel";
2768
- var MenubarSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2830
+ var MenubarSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2769
2831
  Menubar.Separator,
2770
2832
  {
2771
2833
  ref,
@@ -2774,7 +2836,7 @@ var MenubarSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @
2774
2836
  }
2775
2837
  ));
2776
2838
  MenubarSeparator.displayName = "MenubarSeparator";
2777
- var MenubarSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2839
+ var MenubarSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2778
2840
  Menubar.SubTrigger,
2779
2841
  {
2780
2842
  ref,
@@ -2793,7 +2855,7 @@ var MenubarSubTrigger = React15.forwardRef(({ className, inset, children, ...pro
2793
2855
  }
2794
2856
  ));
2795
2857
  MenubarSubTrigger.displayName = "MenubarSubTrigger";
2796
- var MenubarSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2858
+ var MenubarSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2797
2859
  Menubar.SubContent,
2798
2860
  {
2799
2861
  ref,
@@ -2813,7 +2875,7 @@ function MenubarShortcut({ className, ...props }) {
2813
2875
  return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
2814
2876
  }
2815
2877
  MenubarShortcut.displayName = "MenubarShortcut";
2816
- var NativeSelect = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
2878
+ var NativeSelect = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
2817
2879
  /* @__PURE__ */ jsx(
2818
2880
  "select",
2819
2881
  {
@@ -2839,11 +2901,11 @@ var NativeSelect = React15.forwardRef(({ className, children, ...props }, ref) =
2839
2901
  )
2840
2902
  ] }));
2841
2903
  NativeSelect.displayName = "NativeSelect";
2842
- var NativeSelectOption = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx("option", { ref, ...props }));
2904
+ var NativeSelectOption = React17.forwardRef((props, ref) => /* @__PURE__ */ jsx("option", { ref, ...props }));
2843
2905
  NativeSelectOption.displayName = "NativeSelectOption";
2844
- var NativeSelectOptGroup = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx("optgroup", { ref, ...props }));
2906
+ var NativeSelectOptGroup = React17.forwardRef((props, ref) => /* @__PURE__ */ jsx("optgroup", { ref, ...props }));
2845
2907
  NativeSelectOptGroup.displayName = "NativeSelectOptGroup";
2846
- var NavigationMenuRoot = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
2908
+ var NavigationMenuRoot = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
2847
2909
  NavigationMenu.Root,
2848
2910
  {
2849
2911
  ref,
@@ -2853,7 +2915,7 @@ var NavigationMenuRoot = React15.forwardRef(({ className, children, ...props },
2853
2915
  }
2854
2916
  ));
2855
2917
  NavigationMenuRoot.displayName = "NavigationMenu";
2856
- var NavigationMenuList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2918
+ var NavigationMenuList = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2857
2919
  NavigationMenu.List,
2858
2920
  {
2859
2921
  ref,
@@ -2863,7 +2925,7 @@ var NavigationMenuList = React15.forwardRef(({ className, ...props }, ref) => /*
2863
2925
  ));
2864
2926
  NavigationMenuList.displayName = "NavigationMenuList";
2865
2927
  var NavigationMenuItem = NavigationMenu.Item;
2866
- var NavigationMenuTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2928
+ var NavigationMenuTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2867
2929
  NavigationMenu.Trigger,
2868
2930
  {
2869
2931
  ref,
@@ -2890,7 +2952,7 @@ var NavigationMenuTrigger = React15.forwardRef(({ className, children, ...props
2890
2952
  }
2891
2953
  ));
2892
2954
  NavigationMenuTrigger.displayName = "NavigationMenuTrigger";
2893
- var NavigationMenuContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2955
+ var NavigationMenuContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2894
2956
  NavigationMenu.Content,
2895
2957
  {
2896
2958
  ref,
@@ -2907,7 +2969,7 @@ var NavigationMenuContent = React15.forwardRef(({ className, ...props }, ref) =>
2907
2969
  }
2908
2970
  ));
2909
2971
  NavigationMenuContent.displayName = "NavigationMenuContent";
2910
- var NavigationMenuLink = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2972
+ var NavigationMenuLink = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2911
2973
  NavigationMenu.Link,
2912
2974
  {
2913
2975
  ref,
@@ -2921,7 +2983,7 @@ var NavigationMenuLink = React15.forwardRef(({ className, ...props }, ref) => /*
2921
2983
  }
2922
2984
  ));
2923
2985
  NavigationMenuLink.displayName = "NavigationMenuLink";
2924
- var NavigationMenuViewport = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ jsx(
2986
+ var NavigationMenuViewport = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ jsx(
2925
2987
  NavigationMenu.Viewport,
2926
2988
  {
2927
2989
  ref,
@@ -2936,7 +2998,7 @@ var NavigationMenuViewport = React15.forwardRef(({ className, ...props }, ref) =
2936
2998
  }
2937
2999
  ) }));
2938
3000
  NavigationMenuViewport.displayName = "NavigationMenuViewport";
2939
- var NavigationMenuIndicator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3001
+ var NavigationMenuIndicator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2940
3002
  NavigationMenu.Indicator,
2941
3003
  {
2942
3004
  ref,
@@ -3038,7 +3100,7 @@ function PageHeading({
3038
3100
  className
3039
3101
  }) {
3040
3102
  return /* @__PURE__ */ jsxs("div", { className: cn("border-b border-border pb-6", className), children: [
3041
- breadcrumbs && breadcrumbs.length > 0 && /* @__PURE__ */ jsx("nav", { className: "mb-3 flex items-center gap-1.5", "aria-label": "Breadcrumb", children: breadcrumbs.map((crumb, i) => /* @__PURE__ */ jsxs(React15.Fragment, { children: [
3103
+ breadcrumbs && breadcrumbs.length > 0 && /* @__PURE__ */ jsx("nav", { className: "mb-3 flex items-center gap-1.5", "aria-label": "Breadcrumb", children: breadcrumbs.map((crumb, i) => /* @__PURE__ */ jsxs(React17.Fragment, { children: [
3042
3104
  i > 0 && /* @__PURE__ */ jsx(ChevronRight, { size: 12, className: "text-muted-foreground shrink-0" }),
3043
3105
  crumb.href ? /* @__PURE__ */ jsx(
3044
3106
  "a",
@@ -3095,11 +3157,11 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
3095
3157
  }
3096
3158
  );
3097
3159
  Pagination.displayName = "Pagination";
3098
- var PaginationContent = React15.forwardRef(
3160
+ var PaginationContent = React17.forwardRef(
3099
3161
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
3100
3162
  );
3101
3163
  PaginationContent.displayName = "PaginationContent";
3102
- var PaginationItem = React15.forwardRef(
3164
+ var PaginationItem = React17.forwardRef(
3103
3165
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props })
3104
3166
  );
3105
3167
  PaginationItem.displayName = "PaginationItem";
@@ -3155,7 +3217,7 @@ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsx(
3155
3217
  }
3156
3218
  );
3157
3219
  PaginationEllipsis.displayName = "PaginationEllipsis";
3158
- var ProgressRoot = React15.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
3220
+ var ProgressRoot = React17.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
3159
3221
  Progress.Root,
3160
3222
  {
3161
3223
  ref,
@@ -3283,9 +3345,9 @@ function RadioCards({ options, value, onValueChange, columns = 3, className }) {
3283
3345
  }) });
3284
3346
  }
3285
3347
  RadioCards.displayName = "RadioCards";
3286
- var RadioGroupRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(RadioGroup.Root, { ref, className: cn("grid gap-2", className), ...props }));
3348
+ var RadioGroupRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(RadioGroup.Root, { ref, className: cn("grid gap-2", className), ...props }));
3287
3349
  RadioGroupRoot.displayName = "RadioGroup";
3288
- var RadioGroupItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3350
+ var RadioGroupItem = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3289
3351
  RadioGroup.Item,
3290
3352
  {
3291
3353
  ref,
@@ -3348,14 +3410,14 @@ function ResizableHandle({ className, withHandle = true, ...props }) {
3348
3410
  );
3349
3411
  }
3350
3412
  ResizableHandle.displayName = "ResizableHandle";
3351
- var ScrollAreaRoot = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(ScrollArea.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
3413
+ var ScrollAreaRoot = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(ScrollArea.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
3352
3414
  /* @__PURE__ */ jsx(ScrollArea.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3353
3415
  /* @__PURE__ */ jsx(ScrollAreaScrollbar, { orientation: "vertical" }),
3354
3416
  /* @__PURE__ */ jsx(ScrollAreaScrollbar, { orientation: "horizontal" }),
3355
3417
  /* @__PURE__ */ jsx(ScrollArea.Corner, {})
3356
3418
  ] }));
3357
3419
  ScrollAreaRoot.displayName = "ScrollArea";
3358
- var ScrollAreaScrollbar = React15.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3420
+ var ScrollAreaScrollbar = React17.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3359
3421
  ScrollArea.Scrollbar,
3360
3422
  {
3361
3423
  ref,
@@ -3410,7 +3472,7 @@ function SectionHeading({
3410
3472
  var SelectRoot = Select.Root;
3411
3473
  var SelectGroup = Select.Group;
3412
3474
  var SelectValue = Select.Value;
3413
- var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3475
+ var SelectTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3414
3476
  Select.Trigger,
3415
3477
  {
3416
3478
  ref,
@@ -3431,7 +3493,7 @@ var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref)
3431
3493
  }
3432
3494
  ));
3433
3495
  SelectTrigger.displayName = "SelectTrigger";
3434
- var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsxs(
3496
+ var SelectContent = React17.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsxs(
3435
3497
  Select.Content,
3436
3498
  {
3437
3499
  ref,
@@ -3463,7 +3525,7 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
3463
3525
  }
3464
3526
  ) }));
3465
3527
  SelectContent.displayName = "SelectContent";
3466
- var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3528
+ var SelectItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3467
3529
  Select.Item,
3468
3530
  {
3469
3531
  ref,
@@ -3482,7 +3544,7 @@ var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) =>
3482
3544
  }
3483
3545
  ));
3484
3546
  SelectItem.displayName = "SelectItem";
3485
- var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3547
+ var SelectLabel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3486
3548
  Select.Label,
3487
3549
  {
3488
3550
  ref,
@@ -3491,9 +3553,9 @@ var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
3491
3553
  }
3492
3554
  ));
3493
3555
  SelectLabel.displayName = "SelectLabel";
3494
- var SelectSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Select.Separator, { ref, className: cn("mx-1 my-1 h-px bg-muted", className), ...props }));
3556
+ var SelectSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Select.Separator, { ref, className: cn("mx-1 my-1 h-px bg-muted", className), ...props }));
3495
3557
  SelectSeparator.displayName = "SelectSeparator";
3496
- var Separator2 = React15.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
3558
+ var Separator2 = React17.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
3497
3559
  Separator.Root,
3498
3560
  {
3499
3561
  ref,
@@ -3511,7 +3573,7 @@ Separator2.displayName = "Separator";
3511
3573
  var SheetRoot = Dialog.Root;
3512
3574
  var SheetTrigger = Dialog.Trigger;
3513
3575
  var SheetClose = Dialog.Close;
3514
- var SheetOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3576
+ var SheetOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3515
3577
  Dialog.Overlay,
3516
3578
  {
3517
3579
  ref,
@@ -3545,7 +3607,7 @@ var sheetContentVariants = cva(
3545
3607
  }
3546
3608
  }
3547
3609
  );
3548
- var SheetContent = React15.forwardRef(
3610
+ var SheetContent = React17.forwardRef(
3549
3611
  ({ className, children, side = "right", ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
3550
3612
  /* @__PURE__ */ jsx(SheetOverlay, {}),
3551
3613
  /* @__PURE__ */ jsxs(
@@ -3574,7 +3636,7 @@ function SheetFooter({ className, ...props }) {
3574
3636
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
3575
3637
  }
3576
3638
  SheetFooter.displayName = "SheetFooter";
3577
- var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3639
+ var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3578
3640
  Dialog.Title,
3579
3641
  {
3580
3642
  ref,
@@ -3583,7 +3645,7 @@ var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE
3583
3645
  }
3584
3646
  ));
3585
3647
  SheetTitle.displayName = "SheetTitle";
3586
- var SheetDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
3648
+ var SheetDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
3587
3649
  SheetDescription.displayName = "SheetDescription";
3588
3650
  function TooltipProvider({
3589
3651
  children,
@@ -3593,7 +3655,7 @@ function TooltipProvider({
3593
3655
  }
3594
3656
  var TooltipRoot = Tooltip.Root;
3595
3657
  var TooltipTrigger = Tooltip.Trigger;
3596
- var TooltipContent = React15.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(
3658
+ var TooltipContent = React17.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(
3597
3659
  Tooltip.Content,
3598
3660
  {
3599
3661
  ref,
@@ -3613,9 +3675,9 @@ TooltipContent.displayName = "TooltipContent";
3613
3675
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3614
3676
  var SIDEBAR_WIDTH = "16rem";
3615
3677
  var SIDEBAR_WIDTH_ICON = "3.5rem";
3616
- var SidebarContext = React15.createContext(null);
3678
+ var SidebarContext = React17.createContext(null);
3617
3679
  function useSidebar() {
3618
- const ctx = React15.useContext(SidebarContext);
3680
+ const ctx = React17.useContext(SidebarContext);
3619
3681
  if (!ctx) throw new Error("useSidebar must be used inside SidebarProvider");
3620
3682
  return ctx;
3621
3683
  }
@@ -3628,9 +3690,9 @@ function SidebarProvider({
3628
3690
  children,
3629
3691
  ...props
3630
3692
  }) {
3631
- const [_open, _setOpen] = React15.useState(defaultOpen);
3693
+ const [_open, _setOpen] = React17.useState(defaultOpen);
3632
3694
  const open = openProp !== void 0 ? openProp : _open;
3633
- const setOpen = React15.useCallback(
3695
+ const setOpen = React17.useCallback(
3634
3696
  (value) => {
3635
3697
  if (onOpenChange) {
3636
3698
  onOpenChange(value);
@@ -3641,11 +3703,11 @@ function SidebarProvider({
3641
3703
  },
3642
3704
  [onOpenChange]
3643
3705
  );
3644
- const toggleSidebar = React15.useCallback(() => {
3706
+ const toggleSidebar = React17.useCallback(() => {
3645
3707
  setOpen(!open);
3646
3708
  }, [open, setOpen]);
3647
3709
  const state = open ? "expanded" : "collapsed";
3648
- const contextValue = React15.useMemo(
3710
+ const contextValue = React17.useMemo(
3649
3711
  () => ({ state, open, setOpen, toggleSidebar }),
3650
3712
  [state, open, setOpen, toggleSidebar]
3651
3713
  );
@@ -4004,7 +4066,7 @@ function SidebarMenuSkeleton({
4004
4066
  showIcon = false,
4005
4067
  ...props
4006
4068
  }) {
4007
- const width = React15.useMemo(() => {
4069
+ const width = React17.useMemo(() => {
4008
4070
  return `${Math.floor(Math.random() * 40) + 50}%`;
4009
4071
  }, []);
4010
4072
  return /* @__PURE__ */ jsxs(
@@ -4087,7 +4149,7 @@ function Skeleton({ className, ...props }) {
4087
4149
  }
4088
4150
  );
4089
4151
  }
4090
- var SliderRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
4152
+ var SliderRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
4091
4153
  Slider.Root,
4092
4154
  {
4093
4155
  ref,
@@ -4340,7 +4402,7 @@ function Steps({ steps, variant = "circles", className }) {
4340
4402
  return /* @__PURE__ */ jsx(CirclesSteps, { steps, ...classNameProp });
4341
4403
  }
4342
4404
  Steps.displayName = "Steps";
4343
- var SwitchRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4405
+ var SwitchRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4344
4406
  Switch.Root,
4345
4407
  {
4346
4408
  ref,
@@ -4365,9 +4427,9 @@ var SwitchRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE
4365
4427
  }
4366
4428
  ));
4367
4429
  SwitchRoot.displayName = "Switch";
4368
- var TabsRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Root, { ref, className: cn("w-full", className), ...props }));
4430
+ var TabsRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Root, { ref, className: cn("w-full", className), ...props }));
4369
4431
  TabsRoot.displayName = "Tabs";
4370
- var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4432
+ var TabsList = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4371
4433
  Tabs.List,
4372
4434
  {
4373
4435
  ref,
@@ -4376,7 +4438,7 @@ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4376
4438
  }
4377
4439
  ));
4378
4440
  TabsList.displayName = "TabsList";
4379
- var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4441
+ var TabsTrigger = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4380
4442
  Tabs.Trigger,
4381
4443
  {
4382
4444
  ref,
@@ -4393,7 +4455,7 @@ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
4393
4455
  }
4394
4456
  ));
4395
4457
  TabsTrigger.displayName = "TabsTrigger";
4396
- var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Content, { ref, className: cn("mt-4", className), ...props }));
4458
+ var TabsContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Content, { ref, className: cn("mt-4", className), ...props }));
4397
4459
  TabsContent.displayName = "TabsContent";
4398
4460
  function Textarea({ className, ...props }) {
4399
4461
  return /* @__PURE__ */ jsx(
@@ -4455,7 +4517,7 @@ var toggleVariants = cva(
4455
4517
  }
4456
4518
  }
4457
4519
  );
4458
- var ToggleRoot = React15.forwardRef(
4520
+ var ToggleRoot = React17.forwardRef(
4459
4521
  ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
4460
4522
  Toggle.Root,
4461
4523
  {
@@ -4466,11 +4528,11 @@ var ToggleRoot = React15.forwardRef(
4466
4528
  )
4467
4529
  );
4468
4530
  ToggleRoot.displayName = "Toggle";
4469
- var ToggleGroupContext = React15.createContext({
4531
+ var ToggleGroupContext = React17.createContext({
4470
4532
  size: "default",
4471
4533
  variant: "default"
4472
4534
  });
4473
- var ToggleGroupRoot = React15.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
4535
+ var ToggleGroupRoot = React17.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
4474
4536
  ToggleGroup.Root,
4475
4537
  {
4476
4538
  ref,
@@ -4480,8 +4542,8 @@ var ToggleGroupRoot = React15.forwardRef(({ className, variant, size, children,
4480
4542
  }
4481
4543
  ));
4482
4544
  ToggleGroupRoot.displayName = "ToggleGroup";
4483
- var ToggleGroupItem = React15.forwardRef(({ className, variant, size, ...props }, ref) => {
4484
- const context = React15.useContext(ToggleGroupContext);
4545
+ var ToggleGroupItem = React17.forwardRef(({ className, variant, size, ...props }, ref) => {
4546
+ const context = React17.useContext(ToggleGroupContext);
4485
4547
  return /* @__PURE__ */ jsx(
4486
4548
  ToggleGroup.Item,
4487
4549
  {
@@ -4499,6 +4561,6 @@ var ToggleGroupItem = React15.forwardRef(({ className, variant, size, ...props }
4499
4561
  });
4500
4562
  ToggleGroupItem.displayName = "ToggleGroupItem";
4501
4563
 
4502
- export { AccordionRoot as Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionPanel, ActivityFeed, Alert, AlertDescription, AlertDialogRoot as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatioRoot as AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarStack, AvatarWithStatus, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupItem, CHART_COLORS, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardMedia, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartTooltip, CheckboxRoot as Checkbox, CollapsibleRoot as Collapsible, CollapsibleContent, CollapsibleTrigger, ColorInput, ColorPicker, Combobox, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, CommandSeparator, CommandShortcut, ContextMenuRoot as ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DatePicker, DescriptionList, DialogRoot as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger, DrawerRoot as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenuRoot as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, Field, GridList, GridListAccentCard, GridListCard, HoverCardRoot as HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputNumber, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, Label, MediaObject, MenubarRoot as Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenuRoot as NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, PageHeading, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PopoverRoot as Popover, PopoverClose, PopoverContent, PopoverTrigger, ProgressRoot as Progress, PropertyRow, RadioCards, RadioGroupRoot as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollAreaRoot as ScrollArea, SectionHeading, SelectRoot as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, SheetRoot as Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SliderRoot as Slider, Spinner, StackedList, StackedListItem, StatCard, Steps, SwitchRoot as Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TabsRoot as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, ToggleRoot as Toggle, ToggleGroupRoot as ToggleGroup, ToggleGroupItem, TooltipRoot as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, formatDate, navigationMenuTriggerStyle, spinnerVariants, toggleVariants, useSidebar };
4564
+ export { AccordionRoot as Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountMenuContent, AccountMenuHeader, AccountMenuItem, AccountMenuSection, AccountMenuSeparator, ActionPanel, ActivityFeed, Alert, AlertDescription, AlertDialogRoot as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatioRoot as AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarStack, AvatarWithStatus, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupItem, CHART_COLORS, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardMedia, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartTooltip, CheckboxRoot as Checkbox, CollapsibleRoot as Collapsible, CollapsibleContent, CollapsibleTrigger, ColorInput, ColorPicker, Combobox, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, CommandSeparator, CommandShortcut, ContextMenuRoot as ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, DatePicker, DescriptionList, DialogRoot as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogTitle, DialogTrigger, DrawerRoot as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenuRoot as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, Field, GridList, GridListAccentCard, GridListCard, HoverCardRoot as HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputNumber, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, Label, MediaObject, MenubarRoot as Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenuRoot as NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Notification, PageHeading, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PopoverRoot as Popover, PopoverClose, PopoverContent, PopoverTrigger, ProgressRoot as Progress, PropertyRow, RadioCards, RadioGroupRoot as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollAreaRoot as ScrollArea, SectionHeading, SelectRoot as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, SheetRoot as Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SliderRoot as Slider, Spinner, StackedList, StackedListItem, StatCard, Steps, SwitchRoot as Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TabsRoot as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, ToggleRoot as Toggle, ToggleGroupRoot as ToggleGroup, ToggleGroupItem, TooltipRoot as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, formatDate, navigationMenuTriggerStyle, spinnerVariants, toggleVariants, useSidebar };
4503
4565
  //# sourceMappingURL=index.js.map
4504
4566
  //# sourceMappingURL=index.js.map