@hilum/ui 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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,279 @@ 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-3xl bg-ground-900 p-0 text-ground-50 shadow-elevated",
235
+ "ring-1 ring-ground-800",
236
+ className
237
+ ),
238
+ ...props
239
+ }
240
+ ));
241
+ AccountMenuContent.displayName = "AccountMenuContent";
242
+ var AccountMenuHeader = React17.forwardRef(
243
+ ({ name, email, avatarSrc, avatarAlt, fallback, className, ...props }, ref) => /* @__PURE__ */ jsxs(
244
+ "div",
245
+ {
246
+ ref,
247
+ className: cn("flex flex-col items-center px-6 py-8 text-center", className),
248
+ ...props,
249
+ children: [
250
+ /* @__PURE__ */ jsxs(Avatar, { size: "xl", className: "mb-4 size-16", children: [
251
+ avatarSrc && /* @__PURE__ */ jsx(AvatarImage, { src: avatarSrc, alt: avatarAlt ?? "" }),
252
+ /* @__PURE__ */ jsx(AvatarFallback, { className: "bg-brand-primary text-2xl text-primary-foreground", children: fallback })
253
+ ] }),
254
+ /* @__PURE__ */ jsx("p", { className: "body-lg font-medium leading-tight text-ground-50", children: name }),
255
+ email && /* @__PURE__ */ jsx("p", { className: "body text-ground-400", children: email })
256
+ ]
257
+ }
258
+ )
259
+ );
260
+ AccountMenuHeader.displayName = "AccountMenuHeader";
261
+ var AccountMenuSection = React17.forwardRef(
262
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-3", className), ...props })
263
+ );
264
+ AccountMenuSection.displayName = "AccountMenuSection";
265
+ var AccountMenuItem = React17.forwardRef(({ icon, trailing, description, children, className, ...props }, ref) => /* @__PURE__ */ jsxs(
266
+ DropdownMenuItem,
267
+ {
268
+ ref,
269
+ className: cn(
270
+ "min-h-11 rounded-lg px-3 py-2.5 text-ground-50",
271
+ "group",
272
+ "focus:bg-primary focus:text-primary-foreground",
273
+ "data-[disabled]:opacity-40",
274
+ "[&_svg:not([class*='size-'])]:size-5",
275
+ className
276
+ ),
277
+ ...props,
278
+ children: [
279
+ icon && /* @__PURE__ */ jsx("span", { className: "flex size-6 shrink-0 items-center justify-center", children: icon }),
280
+ /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-1 flex-col", children: [
281
+ /* @__PURE__ */ jsx("span", { className: "body-lg truncate font-medium leading-tight", children }),
282
+ description && /* @__PURE__ */ jsx("span", { className: "body truncate font-normal text-ground-400 group-focus:text-primary-foreground/80", children: description })
283
+ ] }),
284
+ trailing && /* @__PURE__ */ jsx("span", { className: "ml-3 shrink-0 text-ground-400", children: trailing })
285
+ ]
286
+ }
287
+ ));
288
+ AccountMenuItem.displayName = "AccountMenuItem";
289
+ var AccountMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuSeparator, { ref, className: cn("m-0 bg-ground-800", className), ...props }));
290
+ AccountMenuSeparator.displayName = "AccountMenuSeparator";
291
+ var AccordionRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Root, { ref, className: cn("divide-y divide-border", className), ...props }));
24
292
  AccordionRoot.displayName = "Accordion";
25
- var AccordionItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Item, { ref, className: cn("", className), ...props }));
293
+ var AccordionItem = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Item, { ref, className: cn("", className), ...props }));
26
294
  AccordionItem.displayName = "AccordionItem";
27
- var AccordionTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
295
+ var AccordionTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(Accordion.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
28
296
  Accordion.Trigger,
29
297
  {
30
298
  ref,
@@ -49,7 +317,7 @@ var AccordionTrigger = React15.forwardRef(({ className, children, ...props }, re
49
317
  }
50
318
  ) }));
51
319
  AccordionTrigger.displayName = "AccordionTrigger";
52
- var AccordionContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
320
+ var AccordionContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
53
321
  Accordion.Content,
54
322
  {
55
323
  ref,
@@ -221,7 +489,7 @@ ActivityFeed.displayName = "ActivityFeed";
221
489
  var AlertDialogRoot = AlertDialog.Root;
222
490
  var AlertDialogTrigger = AlertDialog.Trigger;
223
491
  var AlertDialogPortal = AlertDialog.Portal;
224
- var AlertDialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
492
+ var AlertDialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
225
493
  AlertDialog.Overlay,
226
494
  {
227
495
  ref,
@@ -235,7 +503,7 @@ var AlertDialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /*
235
503
  }
236
504
  ));
237
505
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
238
- var AlertDialogContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialog.Portal, { children: [
506
+ var AlertDialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialog.Portal, { children: [
239
507
  /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
240
508
  /* @__PURE__ */ jsx(
241
509
  AlertDialog.Content,
@@ -263,7 +531,7 @@ function AlertDialogFooter({ className, ...props }) {
263
531
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
264
532
  }
265
533
  AlertDialogFooter.displayName = "AlertDialogFooter";
266
- var AlertDialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
534
+ var AlertDialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
267
535
  AlertDialog.Title,
268
536
  {
269
537
  ref,
@@ -272,9 +540,9 @@ var AlertDialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @
272
540
  }
273
541
  ));
274
542
  AlertDialogTitle.displayName = "AlertDialogTitle";
275
- var AlertDialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
543
+ var AlertDialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
276
544
  AlertDialogDescription.displayName = "AlertDialogDescription";
277
- var AlertDialogAction = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
545
+ var AlertDialogAction = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
278
546
  AlertDialog.Action,
279
547
  {
280
548
  ref,
@@ -290,7 +558,7 @@ var AlertDialogAction = React15.forwardRef(({ className, ...props }, ref) => /*
290
558
  }
291
559
  ));
292
560
  AlertDialogAction.displayName = "AlertDialogAction";
293
- var AlertDialogCancel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
561
+ var AlertDialogCancel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
294
562
  AlertDialog.Cancel,
295
563
  {
296
564
  ref,
@@ -321,19 +589,19 @@ var alertVariants = cva(
321
589
  defaultVariants: { variant: "default" }
322
590
  }
323
591
  );
324
- var Alert = React15.forwardRef(
592
+ var Alert = React17.forwardRef(
325
593
  ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "alert", className: cn(alertVariants({ variant }), className), ...props })
326
594
  );
327
595
  Alert.displayName = "Alert";
328
- var AlertTitle = React15.forwardRef(
596
+ var AlertTitle = React17.forwardRef(
329
597
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: cn("mb-0.5 body font-semibold leading-tight", className), ...props })
330
598
  );
331
599
  AlertTitle.displayName = "AlertTitle";
332
- var AlertDescription = React15.forwardRef(
600
+ var AlertDescription = React17.forwardRef(
333
601
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: cn("body opacity-90", className), ...props })
334
602
  );
335
603
  AlertDescription.displayName = "AlertDescription";
336
- var AspectRatioRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
604
+ var AspectRatioRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
337
605
  AspectRatio.Root,
338
606
  {
339
607
  ref,
@@ -342,7 +610,7 @@ var AspectRatioRoot = React15.forwardRef(({ className, ...props }, ref) => /* @_
342
610
  }
343
611
  ));
344
612
  AspectRatioRoot.displayName = "AspectRatio";
345
- var sizeMap = {
613
+ var sizeMap2 = {
346
614
  sm: { wrapper: "size-6 ring-[1.5px]", text: "caption-xs" },
347
615
  md: { wrapper: "size-8 ring-2", text: "caption" },
348
616
  lg: { wrapper: "size-10 ring-2", text: "body" }
@@ -350,7 +618,7 @@ var sizeMap = {
350
618
  function AvatarStack({ avatars, max, size = "md", className }) {
351
619
  const shown = max ? avatars.slice(0, max) : avatars;
352
620
  const overflow = max && avatars.length > max ? avatars.length - max : 0;
353
- const s = sizeMap[size];
621
+ const s = sizeMap2[size];
354
622
  return /* @__PURE__ */ jsxs("div", { className: cn("flex -space-x-2", className), children: [
355
623
  shown.map((avatar, i) => /* @__PURE__ */ jsx(
356
624
  "span",
@@ -390,76 +658,6 @@ function AvatarStack({ avatars, max, size = "md", className }) {
390
658
  )
391
659
  ] });
392
660
  }
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
661
  var badgeVariants = cva(
464
662
  "inline-flex items-center gap-1 rounded-full px-2.5 py-0.5 caption font-medium transition-colors",
465
663
  {
@@ -483,9 +681,9 @@ function Badge({ className, variant, ...props }) {
483
681
  return /* @__PURE__ */ jsx("span", { "data-slot": "badge", className: cn(badgeVariants({ variant, className })), ...props });
484
682
  }
485
683
  Badge.displayName = "Badge";
486
- var Breadcrumb = React15.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
684
+ var Breadcrumb = React17.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
487
685
  Breadcrumb.displayName = "Breadcrumb";
488
- var BreadcrumbList = React15.forwardRef(
686
+ var BreadcrumbList = React17.forwardRef(
489
687
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
490
688
  "ol",
491
689
  {
@@ -496,15 +694,15 @@ var BreadcrumbList = React15.forwardRef(
496
694
  )
497
695
  );
498
696
  BreadcrumbList.displayName = "BreadcrumbList";
499
- var BreadcrumbItem = React15.forwardRef(
697
+ var BreadcrumbItem = React17.forwardRef(
500
698
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
501
699
  );
502
700
  BreadcrumbItem.displayName = "BreadcrumbItem";
503
- var BreadcrumbLink = React15.forwardRef(
701
+ var BreadcrumbLink = React17.forwardRef(
504
702
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("a", { ref, className: cn("transition-colors hover:text-foreground", className), ...props })
505
703
  );
506
704
  BreadcrumbLink.displayName = "BreadcrumbLink";
507
- var BreadcrumbPage = React15.forwardRef(
705
+ var BreadcrumbPage = React17.forwardRef(
508
706
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
509
707
  "span",
510
708
  {
@@ -651,7 +849,7 @@ var cardVariants = cva("rounded-xl", {
651
849
  variant: "default"
652
850
  }
653
851
  });
654
- var Card = React15.forwardRef(
852
+ var Card = React17.forwardRef(
655
853
  ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx(
656
854
  "div",
657
855
  {
@@ -663,7 +861,7 @@ var Card = React15.forwardRef(
663
861
  )
664
862
  );
665
863
  Card.displayName = "Card";
666
- var CardHeader = React15.forwardRef(
864
+ var CardHeader = React17.forwardRef(
667
865
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
668
866
  "div",
669
867
  {
@@ -675,7 +873,7 @@ var CardHeader = React15.forwardRef(
675
873
  )
676
874
  );
677
875
  CardHeader.displayName = "CardHeader";
678
- var CardTitle = React15.forwardRef(
876
+ var CardTitle = React17.forwardRef(
679
877
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
680
878
  "h3",
681
879
  {
@@ -687,7 +885,7 @@ var CardTitle = React15.forwardRef(
687
885
  )
688
886
  );
689
887
  CardTitle.displayName = "CardTitle";
690
- var CardDescription = React15.forwardRef(
888
+ var CardDescription = React17.forwardRef(
691
889
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
692
890
  "p",
693
891
  {
@@ -699,11 +897,11 @@ var CardDescription = React15.forwardRef(
699
897
  )
700
898
  );
701
899
  CardDescription.displayName = "CardDescription";
702
- var CardContent = React15.forwardRef(
900
+ var CardContent = React17.forwardRef(
703
901
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, "data-slot": "card-content", className: cn("p-5 pt-0", className), ...props })
704
902
  );
705
903
  CardContent.displayName = "CardContent";
706
- var CardFooter = React15.forwardRef(
904
+ var CardFooter = React17.forwardRef(
707
905
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
708
906
  "div",
709
907
  {
@@ -715,7 +913,7 @@ var CardFooter = React15.forwardRef(
715
913
  )
716
914
  );
717
915
  CardFooter.displayName = "CardFooter";
718
- var CardMedia = React15.forwardRef(
916
+ var CardMedia = React17.forwardRef(
719
917
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
720
918
  "div",
721
919
  {
@@ -727,9 +925,9 @@ var CardMedia = React15.forwardRef(
727
925
  )
728
926
  );
729
927
  CardMedia.displayName = "CardMedia";
730
- var CarouselContext = React15.createContext(null);
928
+ var CarouselContext = React17.createContext(null);
731
929
  function useCarousel() {
732
- const context = React15.useContext(CarouselContext);
930
+ const context = React17.useContext(CarouselContext);
733
931
  if (!context) throw new Error("useCarousel must be used within a <Carousel />");
734
932
  return context;
735
933
  }
@@ -749,20 +947,20 @@ function Carousel({
749
947
  },
750
948
  plugins
751
949
  );
752
- const [canScrollPrev, setCanScrollPrev] = React15.useState(false);
753
- const [canScrollNext, setCanScrollNext] = React15.useState(false);
754
- const onSelect = React15.useCallback((api) => {
950
+ const [canScrollPrev, setCanScrollPrev] = React17.useState(false);
951
+ const [canScrollNext, setCanScrollNext] = React17.useState(false);
952
+ const onSelect = React17.useCallback((api) => {
755
953
  if (!api) return;
756
954
  setCanScrollPrev(api.canScrollPrev());
757
955
  setCanScrollNext(api.canScrollNext());
758
956
  }, []);
759
- const scrollPrev = React15.useCallback(() => {
957
+ const scrollPrev = React17.useCallback(() => {
760
958
  emblaApi?.scrollPrev();
761
959
  }, [emblaApi]);
762
- const scrollNext = React15.useCallback(() => {
960
+ const scrollNext = React17.useCallback(() => {
763
961
  emblaApi?.scrollNext();
764
962
  }, [emblaApi]);
765
- const handleKeyDown = React15.useCallback(
963
+ const handleKeyDown = React17.useCallback(
766
964
  (event) => {
767
965
  if (event.key === "ArrowLeft") {
768
966
  event.preventDefault();
@@ -774,7 +972,7 @@ function Carousel({
774
972
  },
775
973
  [scrollPrev, scrollNext]
776
974
  );
777
- React15.useEffect(() => {
975
+ React17.useEffect(() => {
778
976
  if (!emblaApi) return;
779
977
  onSelect(emblaApi);
780
978
  emblaApi.on("reInit", onSelect);
@@ -784,7 +982,7 @@ function Carousel({
784
982
  emblaApi.off("select", onSelect);
785
983
  };
786
984
  }, [emblaApi, onSelect]);
787
- React15.useEffect(() => {
985
+ React17.useEffect(() => {
788
986
  if (!emblaApi || !setApi) return;
789
987
  setApi(emblaApi);
790
988
  }, [emblaApi, setApi]);
@@ -928,7 +1126,7 @@ function ChartTooltip({ active, payload, label, labelClassName }) {
928
1126
  ] });
929
1127
  }
930
1128
  ChartTooltip.displayName = "ChartTooltip";
931
- var CheckboxRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1129
+ var CheckboxRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
932
1130
  Checkbox.Root,
933
1131
  {
934
1132
  ref,
@@ -959,8 +1157,8 @@ function ColorPicker({
959
1157
  presets,
960
1158
  ariaLabel = "Color"
961
1159
  }) {
962
- const [hex, setHex] = React15.useState(value);
963
- React15.useEffect(() => {
1160
+ const [hex, setHex] = React17.useState(value);
1161
+ React17.useEffect(() => {
964
1162
  setHex(value);
965
1163
  }, [value]);
966
1164
  const commit = (next) => {
@@ -1051,8 +1249,8 @@ function ColorInput({
1051
1249
  disabled,
1052
1250
  presets
1053
1251
  }) {
1054
- const [hex, setHex] = React15.useState(value);
1055
- React15.useEffect(() => {
1252
+ const [hex, setHex] = React17.useState(value);
1253
+ React17.useEffect(() => {
1056
1254
  setHex(value);
1057
1255
  }, [value]);
1058
1256
  const commitHex = (next) => {
@@ -1122,20 +1320,20 @@ function Combobox({
1122
1320
  emptyText = "No results found.",
1123
1321
  className
1124
1322
  }) {
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();
1323
+ const [open, setOpen] = React17.useState(false);
1324
+ const [query, setQuery] = React17.useState("");
1325
+ const [activeIndex, setActiveIndex] = React17.useState(-1);
1326
+ const containerRef = React17.useRef(null);
1327
+ const inputRef = React17.useRef(null);
1328
+ const listboxId = React17.useId();
1131
1329
  const selectedOption = options.find((o) => o.value === value);
1132
1330
  const filtered = query === "" ? options : options.filter(
1133
1331
  (o) => o.label.toLowerCase().includes(query.toLowerCase()) || o.description?.toLowerCase().includes(query.toLowerCase())
1134
1332
  );
1135
- React15.useEffect(() => {
1333
+ React17.useEffect(() => {
1136
1334
  setActiveIndex(-1);
1137
1335
  }, [filtered.length, open]);
1138
- React15.useEffect(() => {
1336
+ React17.useEffect(() => {
1139
1337
  function onMouseDown(e) {
1140
1338
  if (containerRef.current && !containerRef.current.contains(e.target)) {
1141
1339
  setOpen(false);
@@ -1300,7 +1498,7 @@ Combobox.displayName = "Combobox";
1300
1498
  var DialogRoot = Dialog.Root;
1301
1499
  var DialogTrigger = Dialog.Trigger;
1302
1500
  var DialogClose = Dialog.Close;
1303
- var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1501
+ var DialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1304
1502
  Dialog.Overlay,
1305
1503
  {
1306
1504
  ref,
@@ -1314,7 +1512,7 @@ var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__P
1314
1512
  }
1315
1513
  ));
1316
1514
  DialogOverlay.displayName = "DialogOverlay";
1317
- var DialogContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
1515
+ var DialogContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
1318
1516
  /* @__PURE__ */ jsx(DialogOverlay, {}),
1319
1517
  /* @__PURE__ */ jsxs(
1320
1518
  Dialog.Content,
@@ -1348,7 +1546,7 @@ function DialogFooter({ className, ...props }) {
1348
1546
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
1349
1547
  }
1350
1548
  DialogFooter.displayName = "DialogFooter";
1351
- var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1549
+ var DialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1352
1550
  Dialog.Title,
1353
1551
  {
1354
1552
  ref,
@@ -1357,7 +1555,7 @@ var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1357
1555
  }
1358
1556
  ));
1359
1557
  DialogTitle.displayName = "DialogTitle";
1360
- var DialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
1558
+ var DialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
1361
1559
  DialogDescription.displayName = "DialogDescription";
1362
1560
  function CommandPalette({
1363
1561
  open,
@@ -1366,9 +1564,9 @@ function CommandPalette({
1366
1564
  placeholder = "Search...",
1367
1565
  emptyText = "No results found."
1368
1566
  }) {
1369
- const [query, setQuery] = React15.useState("");
1370
- const inputRef = React15.useRef(null);
1371
- React15.useEffect(() => {
1567
+ const [query, setQuery] = React17.useState("");
1568
+ const inputRef = React17.useRef(null);
1569
+ React17.useEffect(() => {
1372
1570
  if (open) {
1373
1571
  setTimeout(() => inputRef.current?.focus(), 50);
1374
1572
  setQuery("");
@@ -1435,19 +1633,19 @@ function CommandPalette({
1435
1633
  ] }) });
1436
1634
  }
1437
1635
  CommandPalette.displayName = "CommandPalette";
1438
- var CommandCtx = React15.createContext({
1636
+ var CommandCtx = React17.createContext({
1439
1637
  query: "",
1440
1638
  setQuery: () => {
1441
1639
  },
1442
1640
  reportVisible: () => {
1443
1641
  }
1444
1642
  });
1445
- var CommandVisibleCtx = React15.createContext(0);
1643
+ var CommandVisibleCtx = React17.createContext(0);
1446
1644
  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) => {
1645
+ const [query, setQuery] = React17.useState("");
1646
+ const visibleIds = React17.useRef(/* @__PURE__ */ new Set());
1647
+ const [visibleCount, setVisibleCount] = React17.useState(0);
1648
+ const reportVisible = React17.useCallback((id, visible) => {
1451
1649
  const had = visibleIds.current.has(id);
1452
1650
  if (visible && !had) {
1453
1651
  visibleIds.current.add(id);
@@ -1469,8 +1667,8 @@ function Command({ className, children, onSelect, ...props }) {
1469
1667
  }
1470
1668
  ) }) });
1471
1669
  }
1472
- var CommandInput = React15.forwardRef(({ className, ...props }, ref) => {
1473
- const { query, setQuery } = React15.useContext(CommandCtx);
1670
+ var CommandInput = React17.forwardRef(({ className, ...props }, ref) => {
1671
+ const { query, setQuery } = React17.useContext(CommandCtx);
1474
1672
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 border-b border-border px-3", children: [
1475
1673
  /* @__PURE__ */ jsx(Search, { size: 14, className: "shrink-0 text-muted-foreground" }),
1476
1674
  /* @__PURE__ */ jsx(
@@ -1494,10 +1692,10 @@ var CommandInput = React15.forwardRef(({ className, ...props }, ref) => {
1494
1692
  ] });
1495
1693
  });
1496
1694
  CommandInput.displayName = "CommandInput";
1497
- var CommandList = React15.forwardRef(
1695
+ var CommandList = React17.forwardRef(
1498
1696
  ({ className, ...props }, ref) => {
1499
- const listRef = React15.useRef(null);
1500
- const combinedRef = React15.useCallback(
1697
+ const listRef = React17.useRef(null);
1698
+ const combinedRef = React17.useCallback(
1501
1699
  (el) => {
1502
1700
  listRef.current = el;
1503
1701
  if (typeof ref === "function") ref(el);
@@ -1532,9 +1730,9 @@ var CommandList = React15.forwardRef(
1532
1730
  }
1533
1731
  );
1534
1732
  CommandList.displayName = "CommandList";
1535
- var CommandEmpty = React15.forwardRef(
1733
+ var CommandEmpty = React17.forwardRef(
1536
1734
  ({ className, children = "No results found.", ...props }, ref) => {
1537
- const visibleCount = React15.useContext(CommandVisibleCtx);
1735
+ const visibleCount = React17.useContext(CommandVisibleCtx);
1538
1736
  if (visibleCount > 0) return null;
1539
1737
  return /* @__PURE__ */ jsx(
1540
1738
  "div",
@@ -1548,20 +1746,20 @@ var CommandEmpty = React15.forwardRef(
1548
1746
  }
1549
1747
  );
1550
1748
  CommandEmpty.displayName = "CommandEmpty";
1551
- var CommandGroup = React15.forwardRef(
1749
+ var CommandGroup = React17.forwardRef(
1552
1750
  ({ className, heading, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, role: "group", className: cn("py-1", className), ...props, children: [
1553
1751
  heading && /* @__PURE__ */ jsx("p", { className: "px-3 pb-1 pt-0.5 label text-muted-foreground", children: heading }),
1554
1752
  children
1555
1753
  ] })
1556
1754
  );
1557
1755
  CommandGroup.displayName = "CommandGroup";
1558
- var CommandItem = React15.forwardRef(
1756
+ var CommandItem = React17.forwardRef(
1559
1757
  ({ className, value = "", keywords, disabled, onSelect, children, ...props }, ref) => {
1560
- const { query, onSelect: ctxOnSelect, reportVisible } = React15.useContext(CommandCtx);
1561
- const id = React15.useId();
1758
+ const { query, onSelect: ctxOnSelect, reportVisible } = React17.useContext(CommandCtx);
1759
+ const id = React17.useId();
1562
1760
  const searchText = (keywords ?? [value]).join(" ").toLowerCase();
1563
1761
  const isVisible = !query || searchText.includes(query.toLowerCase());
1564
- React15.useLayoutEffect(() => {
1762
+ React17.useLayoutEffect(() => {
1565
1763
  reportVisible(id, isVisible && !disabled);
1566
1764
  return () => reportVisible(id, false);
1567
1765
  }, [id, isVisible, disabled, reportVisible]);
@@ -1602,7 +1800,7 @@ var CommandItem = React15.forwardRef(
1602
1800
  }
1603
1801
  );
1604
1802
  CommandItem.displayName = "CommandItem";
1605
- var CommandSeparator = React15.forwardRef(
1803
+ var CommandSeparator = React17.forwardRef(
1606
1804
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("my-1 h-px bg-muted", className), ...props })
1607
1805
  );
1608
1806
  CommandSeparator.displayName = "CommandSeparator";
@@ -1623,7 +1821,7 @@ var ContextMenuGroup = ContextMenu.Group;
1623
1821
  var ContextMenuPortal = ContextMenu.Portal;
1624
1822
  var ContextMenuSub = ContextMenu.Sub;
1625
1823
  var ContextMenuRadioGroup = ContextMenu.RadioGroup;
1626
- var ContextMenuContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenu.Portal, { children: /* @__PURE__ */ jsx(
1824
+ var ContextMenuContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ContextMenu.Portal, { children: /* @__PURE__ */ jsx(
1627
1825
  ContextMenu.Content,
1628
1826
  {
1629
1827
  ref,
@@ -1640,7 +1838,7 @@ var ContextMenuContent = React15.forwardRef(({ className, ...props }, ref) => /*
1640
1838
  }
1641
1839
  ) }));
1642
1840
  ContextMenuContent.displayName = "ContextMenuContent";
1643
- var ContextMenuItem = React15.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
1841
+ var ContextMenuItem = React17.forwardRef(({ className, inset, destructive, ...props }, ref) => /* @__PURE__ */ jsx(
1644
1842
  ContextMenu.Item,
1645
1843
  {
1646
1844
  ref,
@@ -1656,7 +1854,7 @@ var ContextMenuItem = React15.forwardRef(({ className, inset, destructive, ...pr
1656
1854
  }
1657
1855
  ));
1658
1856
  ContextMenuItem.displayName = "ContextMenuItem";
1659
- var ContextMenuCheckboxItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1857
+ var ContextMenuCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1660
1858
  ContextMenu.CheckboxItem,
1661
1859
  {
1662
1860
  ref,
@@ -1675,7 +1873,7 @@ var ContextMenuCheckboxItem = React15.forwardRef(({ className, children, ...prop
1675
1873
  }
1676
1874
  ));
1677
1875
  ContextMenuCheckboxItem.displayName = "ContextMenuCheckboxItem";
1678
- var ContextMenuRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1876
+ var ContextMenuRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1679
1877
  ContextMenu.RadioItem,
1680
1878
  {
1681
1879
  ref,
@@ -1694,7 +1892,7 @@ var ContextMenuRadioItem = React15.forwardRef(({ className, children, ...props }
1694
1892
  }
1695
1893
  ));
1696
1894
  ContextMenuRadioItem.displayName = "ContextMenuRadioItem";
1697
- var ContextMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1895
+ var ContextMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1698
1896
  ContextMenu.Label,
1699
1897
  {
1700
1898
  ref,
@@ -1703,7 +1901,7 @@ var ContextMenuLabel = React15.forwardRef(({ className, inset, ...props }, ref)
1703
1901
  }
1704
1902
  ));
1705
1903
  ContextMenuLabel.displayName = "ContextMenuLabel";
1706
- var ContextMenuSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1904
+ var ContextMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1707
1905
  ContextMenu.Separator,
1708
1906
  {
1709
1907
  ref,
@@ -1712,7 +1910,7 @@ var ContextMenuSeparator = React15.forwardRef(({ className, ...props }, ref) =>
1712
1910
  }
1713
1911
  ));
1714
1912
  ContextMenuSeparator.displayName = "ContextMenuSeparator";
1715
- var ContextMenuSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1913
+ var ContextMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1716
1914
  ContextMenu.SubTrigger,
1717
1915
  {
1718
1916
  ref,
@@ -1731,7 +1929,7 @@ var ContextMenuSubTrigger = React15.forwardRef(({ className, inset, children, ..
1731
1929
  }
1732
1930
  ));
1733
1931
  ContextMenuSubTrigger.displayName = "ContextMenuSubTrigger";
1734
- var ContextMenuSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1932
+ var ContextMenuSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1735
1933
  ContextMenu.SubContent,
1736
1934
  {
1737
1935
  ref,
@@ -1751,7 +1949,7 @@ function ContextMenuShortcut({ className, ...props }) {
1751
1949
  return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
1752
1950
  }
1753
1951
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
1754
- var Table = React15.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1952
+ var Table = React17.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
1755
1953
  "div",
1756
1954
  {
1757
1955
  className: cn(
@@ -1769,13 +1967,13 @@ var Table = React15.forwardRef(({ className, containerClassName, ...props }, ref
1769
1967
  }
1770
1968
  ));
1771
1969
  Table.displayName = "Table";
1772
- var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("bg-muted", className), ...props }));
1970
+ var TableHeader = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("bg-muted", className), ...props }));
1773
1971
  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 }));
1972
+ var TableBody = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("divide-y divide-border bg-card", className), ...props }));
1775
1973
  TableBody.displayName = "TableBody";
1776
- var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn("bg-muted font-medium", className), ...props }));
1974
+ var TableFooter = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", { ref, className: cn("bg-muted font-medium", className), ...props }));
1777
1975
  TableFooter.displayName = "TableFooter";
1778
- var TableRow = React15.forwardRef(
1976
+ var TableRow = React17.forwardRef(
1779
1977
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1780
1978
  "tr",
1781
1979
  {
@@ -1789,7 +1987,7 @@ var TableRow = React15.forwardRef(
1789
1987
  )
1790
1988
  );
1791
1989
  TableRow.displayName = "TableRow";
1792
- var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1990
+ var TableHead = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1793
1991
  "th",
1794
1992
  {
1795
1993
  ref,
@@ -1802,7 +2000,7 @@ var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1802
2000
  }
1803
2001
  ));
1804
2002
  TableHead.displayName = "TableHead";
1805
- var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2003
+ var TableCell = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1806
2004
  "td",
1807
2005
  {
1808
2006
  ref,
@@ -1815,7 +2013,7 @@ var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1815
2013
  }
1816
2014
  ));
1817
2015
  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 }));
2016
+ var TableCaption = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", { ref, className: cn("mt-4 caption text-muted-foreground", className), ...props }));
1819
2017
  TableCaption.displayName = "TableCaption";
1820
2018
  function Input({ className, type, ...props }) {
1821
2019
  return /* @__PURE__ */ jsx(
@@ -1845,8 +2043,8 @@ function DataTable({
1845
2043
  pageSize = 10,
1846
2044
  showPagination = true
1847
2045
  }) {
1848
- const [sorting, setSorting] = React15.useState([]);
1849
- const [columnFilters, setColumnFilters] = React15.useState([]);
2046
+ const [sorting, setSorting] = React17.useState([]);
2047
+ const [columnFilters, setColumnFilters] = React17.useState([]);
1850
2048
  const table = useReactTable({
1851
2049
  data,
1852
2050
  columns,
@@ -1933,7 +2131,7 @@ function DataTable({
1933
2131
  var PopoverRoot = Popover.Root;
1934
2132
  var PopoverTrigger = Popover.Trigger;
1935
2133
  var PopoverClose = Popover.Close;
1936
- var PopoverContent = React15.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(
2134
+ var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(Popover.Portal, { children: /* @__PURE__ */ jsx(
1937
2135
  Popover.Content,
1938
2136
  {
1939
2137
  ref,
@@ -2032,7 +2230,7 @@ var DrawerRoot = Drawer.Root;
2032
2230
  var DrawerTrigger = Drawer.Trigger;
2033
2231
  var DrawerPortal = Drawer.Portal;
2034
2232
  var DrawerClose = Drawer.Close;
2035
- var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2233
+ var DrawerOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2036
2234
  Drawer.Overlay,
2037
2235
  {
2038
2236
  ref,
@@ -2041,7 +2239,7 @@ var DrawerOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__P
2041
2239
  }
2042
2240
  ));
2043
2241
  DrawerOverlay.displayName = "DrawerOverlay";
2044
- var DrawerContent = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2242
+ var DrawerContent = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DrawerPortal, { children: [
2045
2243
  /* @__PURE__ */ jsx(DrawerOverlay, {}),
2046
2244
  /* @__PURE__ */ jsxs(
2047
2245
  Drawer.Content,
@@ -2064,7 +2262,7 @@ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { cla
2064
2262
  DrawerHeader.displayName = "DrawerHeader";
2065
2263
  var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("mt-auto flex flex-col gap-2 px-6 pb-6", className), ...props });
2066
2264
  DrawerFooter.displayName = "DrawerFooter";
2067
- var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2265
+ var DrawerTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2068
2266
  Drawer.Title,
2069
2267
  {
2070
2268
  ref,
@@ -2073,7 +2271,7 @@ var DrawerTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
2073
2271
  }
2074
2272
  ));
2075
2273
  DrawerTitle.displayName = "DrawerTitle";
2076
- var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2274
+ var DrawerDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2077
2275
  Drawer.Description,
2078
2276
  {
2079
2277
  ref,
@@ -2082,141 +2280,6 @@ var DrawerDescription = React15.forwardRef(({ className, ...props }, ref) => /*
2082
2280
  }
2083
2281
  ));
2084
2282
  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
2283
  function EmptyState({ icon, title, description, action, className }) {
2221
2284
  return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-4 px-6 py-14 text-center", className), children: [
2222
2285
  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 +2291,7 @@ function EmptyState({ icon, title, description, action, className }) {
2228
2291
  ] });
2229
2292
  }
2230
2293
  EmptyState.displayName = "EmptyState";
2231
- var Label = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2294
+ var Label = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2232
2295
  Label$1.Root,
2233
2296
  {
2234
2297
  ref,
@@ -2368,7 +2431,7 @@ GridListCard.displayName = "GridListCard";
2368
2431
  GridListAccentCard.displayName = "GridListAccentCard";
2369
2432
  var HoverCardRoot = HoverCard.Root;
2370
2433
  var HoverCardTrigger = HoverCard.Trigger;
2371
- var HoverCardContent = React15.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(HoverCard.Portal, { children: /* @__PURE__ */ jsx(
2434
+ var HoverCardContent = React17.forwardRef(({ className, align = "center", sideOffset = 6, ...props }, ref) => /* @__PURE__ */ jsx(HoverCard.Portal, { children: /* @__PURE__ */ jsx(
2372
2435
  HoverCard.Content,
2373
2436
  {
2374
2437
  ref,
@@ -2387,7 +2450,7 @@ var HoverCardContent = React15.forwardRef(({ className, align = "center", sideOf
2387
2450
  }
2388
2451
  ) }));
2389
2452
  HoverCardContent.displayName = "HoverCardContent";
2390
- var InputGroup = React15.forwardRef(
2453
+ var InputGroup = React17.forwardRef(
2391
2454
  ({
2392
2455
  leadingAddon,
2393
2456
  trailingAddon,
@@ -2456,7 +2519,7 @@ var InputGroup = React15.forwardRef(
2456
2519
  }
2457
2520
  );
2458
2521
  InputGroup.displayName = "InputGroup";
2459
- var InputNumber = React15.forwardRef(
2522
+ var InputNumber = React17.forwardRef(
2460
2523
  ({
2461
2524
  value,
2462
2525
  onChange,
@@ -2470,11 +2533,11 @@ var InputNumber = React15.forwardRef(
2470
2533
  disabled,
2471
2534
  ...rest
2472
2535
  }, ref) => {
2473
- const [text, setText] = React15.useState(value.toFixed(precision));
2474
- React15.useEffect(() => {
2536
+ const [text, setText] = React17.useState(value.toFixed(precision));
2537
+ React17.useEffect(() => {
2475
2538
  setText(value.toFixed(precision));
2476
2539
  }, [value, precision]);
2477
- const clamp = React15.useCallback((n) => Math.min(max, Math.max(min, n)), [min, max]);
2540
+ const clamp = React17.useCallback((n) => Math.min(max, Math.max(min, n)), [min, max]);
2478
2541
  const commit = (raw) => {
2479
2542
  const n = parseFloat(raw);
2480
2543
  if (Number.isFinite(n)) {
@@ -2559,7 +2622,7 @@ var InputNumber = React15.forwardRef(
2559
2622
  }
2560
2623
  );
2561
2624
  InputNumber.displayName = "InputNumber";
2562
- var InputOTP = React15.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
2625
+ var InputOTP = React17.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
2563
2626
  OTPInput,
2564
2627
  {
2565
2628
  ref,
@@ -2569,12 +2632,12 @@ var InputOTP = React15.forwardRef(({ className, containerClassName, ...props },
2569
2632
  }
2570
2633
  ));
2571
2634
  InputOTP.displayName = "InputOTP";
2572
- var InputOTPGroup = React15.forwardRef(
2635
+ var InputOTPGroup = React17.forwardRef(
2573
2636
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props })
2574
2637
  );
2575
2638
  InputOTPGroup.displayName = "InputOTPGroup";
2576
- var InputOTPSlot = React15.forwardRef(({ index, className, ...props }, ref) => {
2577
- const inputOTPContext = React15.useContext(OTPInputContext);
2639
+ var InputOTPSlot = React17.forwardRef(({ index, className, ...props }, ref) => {
2640
+ const inputOTPContext = React17.useContext(OTPInputContext);
2578
2641
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
2579
2642
  return /* @__PURE__ */ jsxs(
2580
2643
  "div",
@@ -2597,11 +2660,11 @@ var InputOTPSlot = React15.forwardRef(({ index, className, ...props }, ref) => {
2597
2660
  );
2598
2661
  });
2599
2662
  InputOTPSlot.displayName = "InputOTPSlot";
2600
- var InputOTPSeparator = React15.forwardRef(
2663
+ var InputOTPSeparator = React17.forwardRef(
2601
2664
  ({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Minus, { size: 14, className: "text-muted-foreground" }) })
2602
2665
  );
2603
2666
  InputOTPSeparator.displayName = "InputOTPSeparator";
2604
- var Kbd = React15.forwardRef(
2667
+ var Kbd = React17.forwardRef(
2605
2668
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2606
2669
  "kbd",
2607
2670
  {
@@ -2651,7 +2714,7 @@ function MediaObject({
2651
2714
  );
2652
2715
  }
2653
2716
  MediaObject.displayName = "MediaObject";
2654
- var MenubarRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2717
+ var MenubarRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2655
2718
  Menubar.Root,
2656
2719
  {
2657
2720
  ref,
@@ -2667,7 +2730,7 @@ var MenubarMenu = Menubar.Menu;
2667
2730
  var MenubarGroup = Menubar.Group;
2668
2731
  var MenubarSub = Menubar.Sub;
2669
2732
  var MenubarRadioGroup = Menubar.RadioGroup;
2670
- var MenubarTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2733
+ var MenubarTrigger = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2671
2734
  Menubar.Trigger,
2672
2735
  {
2673
2736
  ref,
@@ -2682,7 +2745,7 @@ var MenubarTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__
2682
2745
  }
2683
2746
  ));
2684
2747
  MenubarTrigger.displayName = "MenubarTrigger";
2685
- var MenubarContent = React15.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(Menubar.Portal, { children: /* @__PURE__ */ jsx(
2748
+ var MenubarContent = React17.forwardRef(({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx(Menubar.Portal, { children: /* @__PURE__ */ jsx(
2686
2749
  Menubar.Content,
2687
2750
  {
2688
2751
  ref,
@@ -2702,7 +2765,7 @@ var MenubarContent = React15.forwardRef(({ className, align = "start", alignOffs
2702
2765
  }
2703
2766
  ) }));
2704
2767
  MenubarContent.displayName = "MenubarContent";
2705
- var MenubarItem = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2768
+ var MenubarItem = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2706
2769
  Menubar.Item,
2707
2770
  {
2708
2771
  ref,
@@ -2718,7 +2781,7 @@ var MenubarItem = React15.forwardRef(({ className, inset, ...props }, ref) => /*
2718
2781
  }
2719
2782
  ));
2720
2783
  MenubarItem.displayName = "MenubarItem";
2721
- var MenubarCheckboxItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2784
+ var MenubarCheckboxItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2722
2785
  Menubar.CheckboxItem,
2723
2786
  {
2724
2787
  ref,
@@ -2737,7 +2800,7 @@ var MenubarCheckboxItem = React15.forwardRef(({ className, children, ...props },
2737
2800
  }
2738
2801
  ));
2739
2802
  MenubarCheckboxItem.displayName = "MenubarCheckboxItem";
2740
- var MenubarRadioItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2803
+ var MenubarRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2741
2804
  Menubar.RadioItem,
2742
2805
  {
2743
2806
  ref,
@@ -2756,7 +2819,7 @@ var MenubarRadioItem = React15.forwardRef(({ className, children, ...props }, re
2756
2819
  }
2757
2820
  ));
2758
2821
  MenubarRadioItem.displayName = "MenubarRadioItem";
2759
- var MenubarLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2822
+ var MenubarLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2760
2823
  Menubar.Label,
2761
2824
  {
2762
2825
  ref,
@@ -2765,7 +2828,7 @@ var MenubarLabel = React15.forwardRef(({ className, inset, ...props }, ref) => /
2765
2828
  }
2766
2829
  ));
2767
2830
  MenubarLabel.displayName = "MenubarLabel";
2768
- var MenubarSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2831
+ var MenubarSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2769
2832
  Menubar.Separator,
2770
2833
  {
2771
2834
  ref,
@@ -2774,7 +2837,7 @@ var MenubarSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @
2774
2837
  }
2775
2838
  ));
2776
2839
  MenubarSeparator.displayName = "MenubarSeparator";
2777
- var MenubarSubTrigger = React15.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2840
+ var MenubarSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2778
2841
  Menubar.SubTrigger,
2779
2842
  {
2780
2843
  ref,
@@ -2793,7 +2856,7 @@ var MenubarSubTrigger = React15.forwardRef(({ className, inset, children, ...pro
2793
2856
  }
2794
2857
  ));
2795
2858
  MenubarSubTrigger.displayName = "MenubarSubTrigger";
2796
- var MenubarSubContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2859
+ var MenubarSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2797
2860
  Menubar.SubContent,
2798
2861
  {
2799
2862
  ref,
@@ -2813,7 +2876,7 @@ function MenubarShortcut({ className, ...props }) {
2813
2876
  return /* @__PURE__ */ jsx("span", { className: cn("ml-auto caption text-muted-foreground", className), ...props });
2814
2877
  }
2815
2878
  MenubarShortcut.displayName = "MenubarShortcut";
2816
- var NativeSelect = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
2879
+ var NativeSelect = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
2817
2880
  /* @__PURE__ */ jsx(
2818
2881
  "select",
2819
2882
  {
@@ -2839,11 +2902,11 @@ var NativeSelect = React15.forwardRef(({ className, children, ...props }, ref) =
2839
2902
  )
2840
2903
  ] }));
2841
2904
  NativeSelect.displayName = "NativeSelect";
2842
- var NativeSelectOption = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx("option", { ref, ...props }));
2905
+ var NativeSelectOption = React17.forwardRef((props, ref) => /* @__PURE__ */ jsx("option", { ref, ...props }));
2843
2906
  NativeSelectOption.displayName = "NativeSelectOption";
2844
- var NativeSelectOptGroup = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx("optgroup", { ref, ...props }));
2907
+ var NativeSelectOptGroup = React17.forwardRef((props, ref) => /* @__PURE__ */ jsx("optgroup", { ref, ...props }));
2845
2908
  NativeSelectOptGroup.displayName = "NativeSelectOptGroup";
2846
- var NavigationMenuRoot = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
2909
+ var NavigationMenuRoot = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
2847
2910
  NavigationMenu.Root,
2848
2911
  {
2849
2912
  ref,
@@ -2853,7 +2916,7 @@ var NavigationMenuRoot = React15.forwardRef(({ className, children, ...props },
2853
2916
  }
2854
2917
  ));
2855
2918
  NavigationMenuRoot.displayName = "NavigationMenu";
2856
- var NavigationMenuList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2919
+ var NavigationMenuList = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2857
2920
  NavigationMenu.List,
2858
2921
  {
2859
2922
  ref,
@@ -2863,7 +2926,7 @@ var NavigationMenuList = React15.forwardRef(({ className, ...props }, ref) => /*
2863
2926
  ));
2864
2927
  NavigationMenuList.displayName = "NavigationMenuList";
2865
2928
  var NavigationMenuItem = NavigationMenu.Item;
2866
- var NavigationMenuTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2929
+ var NavigationMenuTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2867
2930
  NavigationMenu.Trigger,
2868
2931
  {
2869
2932
  ref,
@@ -2890,7 +2953,7 @@ var NavigationMenuTrigger = React15.forwardRef(({ className, children, ...props
2890
2953
  }
2891
2954
  ));
2892
2955
  NavigationMenuTrigger.displayName = "NavigationMenuTrigger";
2893
- var NavigationMenuContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2956
+ var NavigationMenuContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2894
2957
  NavigationMenu.Content,
2895
2958
  {
2896
2959
  ref,
@@ -2907,7 +2970,7 @@ var NavigationMenuContent = React15.forwardRef(({ className, ...props }, ref) =>
2907
2970
  }
2908
2971
  ));
2909
2972
  NavigationMenuContent.displayName = "NavigationMenuContent";
2910
- var NavigationMenuLink = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2973
+ var NavigationMenuLink = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2911
2974
  NavigationMenu.Link,
2912
2975
  {
2913
2976
  ref,
@@ -2921,7 +2984,7 @@ var NavigationMenuLink = React15.forwardRef(({ className, ...props }, ref) => /*
2921
2984
  }
2922
2985
  ));
2923
2986
  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(
2987
+ var NavigationMenuViewport = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "absolute left-0 top-full flex justify-center", children: /* @__PURE__ */ jsx(
2925
2988
  NavigationMenu.Viewport,
2926
2989
  {
2927
2990
  ref,
@@ -2936,7 +2999,7 @@ var NavigationMenuViewport = React15.forwardRef(({ className, ...props }, ref) =
2936
2999
  }
2937
3000
  ) }));
2938
3001
  NavigationMenuViewport.displayName = "NavigationMenuViewport";
2939
- var NavigationMenuIndicator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3002
+ var NavigationMenuIndicator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2940
3003
  NavigationMenu.Indicator,
2941
3004
  {
2942
3005
  ref,
@@ -3038,7 +3101,7 @@ function PageHeading({
3038
3101
  className
3039
3102
  }) {
3040
3103
  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: [
3104
+ 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
3105
  i > 0 && /* @__PURE__ */ jsx(ChevronRight, { size: 12, className: "text-muted-foreground shrink-0" }),
3043
3106
  crumb.href ? /* @__PURE__ */ jsx(
3044
3107
  "a",
@@ -3095,11 +3158,11 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
3095
3158
  }
3096
3159
  );
3097
3160
  Pagination.displayName = "Pagination";
3098
- var PaginationContent = React15.forwardRef(
3161
+ var PaginationContent = React17.forwardRef(
3099
3162
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("ul", { ref, className: cn("flex flex-row items-center gap-1", className), ...props })
3100
3163
  );
3101
3164
  PaginationContent.displayName = "PaginationContent";
3102
- var PaginationItem = React15.forwardRef(
3165
+ var PaginationItem = React17.forwardRef(
3103
3166
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props })
3104
3167
  );
3105
3168
  PaginationItem.displayName = "PaginationItem";
@@ -3155,7 +3218,7 @@ var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsx(
3155
3218
  }
3156
3219
  );
3157
3220
  PaginationEllipsis.displayName = "PaginationEllipsis";
3158
- var ProgressRoot = React15.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
3221
+ var ProgressRoot = React17.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
3159
3222
  Progress.Root,
3160
3223
  {
3161
3224
  ref,
@@ -3283,9 +3346,9 @@ function RadioCards({ options, value, onValueChange, columns = 3, className }) {
3283
3346
  }) });
3284
3347
  }
3285
3348
  RadioCards.displayName = "RadioCards";
3286
- var RadioGroupRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(RadioGroup.Root, { ref, className: cn("grid gap-2", className), ...props }));
3349
+ var RadioGroupRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(RadioGroup.Root, { ref, className: cn("grid gap-2", className), ...props }));
3287
3350
  RadioGroupRoot.displayName = "RadioGroup";
3288
- var RadioGroupItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3351
+ var RadioGroupItem = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3289
3352
  RadioGroup.Item,
3290
3353
  {
3291
3354
  ref,
@@ -3348,14 +3411,14 @@ function ResizableHandle({ className, withHandle = true, ...props }) {
3348
3411
  );
3349
3412
  }
3350
3413
  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: [
3414
+ var ScrollAreaRoot = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(ScrollArea.Root, { ref, className: cn("relative overflow-hidden", className), ...props, children: [
3352
3415
  /* @__PURE__ */ jsx(ScrollArea.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3353
3416
  /* @__PURE__ */ jsx(ScrollAreaScrollbar, { orientation: "vertical" }),
3354
3417
  /* @__PURE__ */ jsx(ScrollAreaScrollbar, { orientation: "horizontal" }),
3355
3418
  /* @__PURE__ */ jsx(ScrollArea.Corner, {})
3356
3419
  ] }));
3357
3420
  ScrollAreaRoot.displayName = "ScrollArea";
3358
- var ScrollAreaScrollbar = React15.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3421
+ var ScrollAreaScrollbar = React17.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
3359
3422
  ScrollArea.Scrollbar,
3360
3423
  {
3361
3424
  ref,
@@ -3410,7 +3473,7 @@ function SectionHeading({
3410
3473
  var SelectRoot = Select.Root;
3411
3474
  var SelectGroup = Select.Group;
3412
3475
  var SelectValue = Select.Value;
3413
- var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3476
+ var SelectTrigger = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3414
3477
  Select.Trigger,
3415
3478
  {
3416
3479
  ref,
@@ -3431,7 +3494,7 @@ var SelectTrigger = React15.forwardRef(({ className, children, ...props }, ref)
3431
3494
  }
3432
3495
  ));
3433
3496
  SelectTrigger.displayName = "SelectTrigger";
3434
- var SelectContent = React15.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsxs(
3497
+ var SelectContent = React17.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(Select.Portal, { children: /* @__PURE__ */ jsxs(
3435
3498
  Select.Content,
3436
3499
  {
3437
3500
  ref,
@@ -3463,7 +3526,7 @@ var SelectContent = React15.forwardRef(({ className, children, position = "poppe
3463
3526
  }
3464
3527
  ) }));
3465
3528
  SelectContent.displayName = "SelectContent";
3466
- var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3529
+ var SelectItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
3467
3530
  Select.Item,
3468
3531
  {
3469
3532
  ref,
@@ -3482,7 +3545,7 @@ var SelectItem = React15.forwardRef(({ className, children, ...props }, ref) =>
3482
3545
  }
3483
3546
  ));
3484
3547
  SelectItem.displayName = "SelectItem";
3485
- var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3548
+ var SelectLabel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3486
3549
  Select.Label,
3487
3550
  {
3488
3551
  ref,
@@ -3491,9 +3554,9 @@ var SelectLabel = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
3491
3554
  }
3492
3555
  ));
3493
3556
  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 }));
3557
+ 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
3558
  SelectSeparator.displayName = "SelectSeparator";
3496
- var Separator2 = React15.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
3559
+ var Separator2 = React17.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
3497
3560
  Separator.Root,
3498
3561
  {
3499
3562
  ref,
@@ -3511,7 +3574,7 @@ Separator2.displayName = "Separator";
3511
3574
  var SheetRoot = Dialog.Root;
3512
3575
  var SheetTrigger = Dialog.Trigger;
3513
3576
  var SheetClose = Dialog.Close;
3514
- var SheetOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3577
+ var SheetOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3515
3578
  Dialog.Overlay,
3516
3579
  {
3517
3580
  ref,
@@ -3545,7 +3608,7 @@ var sheetContentVariants = cva(
3545
3608
  }
3546
3609
  }
3547
3610
  );
3548
- var SheetContent = React15.forwardRef(
3611
+ var SheetContent = React17.forwardRef(
3549
3612
  ({ className, children, side = "right", ...props }, ref) => /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
3550
3613
  /* @__PURE__ */ jsx(SheetOverlay, {}),
3551
3614
  /* @__PURE__ */ jsxs(
@@ -3574,7 +3637,7 @@ function SheetFooter({ className, ...props }) {
3574
3637
  return /* @__PURE__ */ jsx("div", { className: cn("flex items-center justify-end gap-2 mt-6", className), ...props });
3575
3638
  }
3576
3639
  SheetFooter.displayName = "SheetFooter";
3577
- var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3640
+ var SheetTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3578
3641
  Dialog.Title,
3579
3642
  {
3580
3643
  ref,
@@ -3583,7 +3646,7 @@ var SheetTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE
3583
3646
  }
3584
3647
  ));
3585
3648
  SheetTitle.displayName = "SheetTitle";
3586
- var SheetDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
3649
+ var SheetDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Dialog.Description, { ref, className: cn("body text-muted-foreground", className), ...props }));
3587
3650
  SheetDescription.displayName = "SheetDescription";
3588
3651
  function TooltipProvider({
3589
3652
  children,
@@ -3593,7 +3656,7 @@ function TooltipProvider({
3593
3656
  }
3594
3657
  var TooltipRoot = Tooltip.Root;
3595
3658
  var TooltipTrigger = Tooltip.Trigger;
3596
- var TooltipContent = React15.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(
3659
+ var TooltipContent = React17.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(
3597
3660
  Tooltip.Content,
3598
3661
  {
3599
3662
  ref,
@@ -3613,9 +3676,9 @@ TooltipContent.displayName = "TooltipContent";
3613
3676
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
3614
3677
  var SIDEBAR_WIDTH = "16rem";
3615
3678
  var SIDEBAR_WIDTH_ICON = "3.5rem";
3616
- var SidebarContext = React15.createContext(null);
3679
+ var SidebarContext = React17.createContext(null);
3617
3680
  function useSidebar() {
3618
- const ctx = React15.useContext(SidebarContext);
3681
+ const ctx = React17.useContext(SidebarContext);
3619
3682
  if (!ctx) throw new Error("useSidebar must be used inside SidebarProvider");
3620
3683
  return ctx;
3621
3684
  }
@@ -3628,9 +3691,9 @@ function SidebarProvider({
3628
3691
  children,
3629
3692
  ...props
3630
3693
  }) {
3631
- const [_open, _setOpen] = React15.useState(defaultOpen);
3694
+ const [_open, _setOpen] = React17.useState(defaultOpen);
3632
3695
  const open = openProp !== void 0 ? openProp : _open;
3633
- const setOpen = React15.useCallback(
3696
+ const setOpen = React17.useCallback(
3634
3697
  (value) => {
3635
3698
  if (onOpenChange) {
3636
3699
  onOpenChange(value);
@@ -3641,11 +3704,11 @@ function SidebarProvider({
3641
3704
  },
3642
3705
  [onOpenChange]
3643
3706
  );
3644
- const toggleSidebar = React15.useCallback(() => {
3707
+ const toggleSidebar = React17.useCallback(() => {
3645
3708
  setOpen(!open);
3646
3709
  }, [open, setOpen]);
3647
3710
  const state = open ? "expanded" : "collapsed";
3648
- const contextValue = React15.useMemo(
3711
+ const contextValue = React17.useMemo(
3649
3712
  () => ({ state, open, setOpen, toggleSidebar }),
3650
3713
  [state, open, setOpen, toggleSidebar]
3651
3714
  );
@@ -4004,7 +4067,7 @@ function SidebarMenuSkeleton({
4004
4067
  showIcon = false,
4005
4068
  ...props
4006
4069
  }) {
4007
- const width = React15.useMemo(() => {
4070
+ const width = React17.useMemo(() => {
4008
4071
  return `${Math.floor(Math.random() * 40) + 50}%`;
4009
4072
  }, []);
4010
4073
  return /* @__PURE__ */ jsxs(
@@ -4087,7 +4150,7 @@ function Skeleton({ className, ...props }) {
4087
4150
  }
4088
4151
  );
4089
4152
  }
4090
- var SliderRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
4153
+ var SliderRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
4091
4154
  Slider.Root,
4092
4155
  {
4093
4156
  ref,
@@ -4340,7 +4403,7 @@ function Steps({ steps, variant = "circles", className }) {
4340
4403
  return /* @__PURE__ */ jsx(CirclesSteps, { steps, ...classNameProp });
4341
4404
  }
4342
4405
  Steps.displayName = "Steps";
4343
- var SwitchRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4406
+ var SwitchRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4344
4407
  Switch.Root,
4345
4408
  {
4346
4409
  ref,
@@ -4365,9 +4428,9 @@ var SwitchRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE
4365
4428
  }
4366
4429
  ));
4367
4430
  SwitchRoot.displayName = "Switch";
4368
- var TabsRoot = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Root, { ref, className: cn("w-full", className), ...props }));
4431
+ var TabsRoot = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Root, { ref, className: cn("w-full", className), ...props }));
4369
4432
  TabsRoot.displayName = "Tabs";
4370
- var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4433
+ var TabsList = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4371
4434
  Tabs.List,
4372
4435
  {
4373
4436
  ref,
@@ -4376,7 +4439,7 @@ var TabsList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
4376
4439
  }
4377
4440
  ));
4378
4441
  TabsList.displayName = "TabsList";
4379
- var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4442
+ var TabsTrigger = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4380
4443
  Tabs.Trigger,
4381
4444
  {
4382
4445
  ref,
@@ -4393,7 +4456,7 @@ var TabsTrigger = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
4393
4456
  }
4394
4457
  ));
4395
4458
  TabsTrigger.displayName = "TabsTrigger";
4396
- var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Content, { ref, className: cn("mt-4", className), ...props }));
4459
+ var TabsContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Tabs.Content, { ref, className: cn("mt-4", className), ...props }));
4397
4460
  TabsContent.displayName = "TabsContent";
4398
4461
  function Textarea({ className, ...props }) {
4399
4462
  return /* @__PURE__ */ jsx(
@@ -4455,7 +4518,7 @@ var toggleVariants = cva(
4455
4518
  }
4456
4519
  }
4457
4520
  );
4458
- var ToggleRoot = React15.forwardRef(
4521
+ var ToggleRoot = React17.forwardRef(
4459
4522
  ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
4460
4523
  Toggle.Root,
4461
4524
  {
@@ -4466,11 +4529,11 @@ var ToggleRoot = React15.forwardRef(
4466
4529
  )
4467
4530
  );
4468
4531
  ToggleRoot.displayName = "Toggle";
4469
- var ToggleGroupContext = React15.createContext({
4532
+ var ToggleGroupContext = React17.createContext({
4470
4533
  size: "default",
4471
4534
  variant: "default"
4472
4535
  });
4473
- var ToggleGroupRoot = React15.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
4536
+ var ToggleGroupRoot = React17.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
4474
4537
  ToggleGroup.Root,
4475
4538
  {
4476
4539
  ref,
@@ -4480,8 +4543,8 @@ var ToggleGroupRoot = React15.forwardRef(({ className, variant, size, children,
4480
4543
  }
4481
4544
  ));
4482
4545
  ToggleGroupRoot.displayName = "ToggleGroup";
4483
- var ToggleGroupItem = React15.forwardRef(({ className, variant, size, ...props }, ref) => {
4484
- const context = React15.useContext(ToggleGroupContext);
4546
+ var ToggleGroupItem = React17.forwardRef(({ className, variant, size, ...props }, ref) => {
4547
+ const context = React17.useContext(ToggleGroupContext);
4485
4548
  return /* @__PURE__ */ jsx(
4486
4549
  ToggleGroup.Item,
4487
4550
  {
@@ -4499,6 +4562,6 @@ var ToggleGroupItem = React15.forwardRef(({ className, variant, size, ...props }
4499
4562
  });
4500
4563
  ToggleGroupItem.displayName = "ToggleGroupItem";
4501
4564
 
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 };
4565
+ 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
4566
  //# sourceMappingURL=index.js.map
4504
4567
  //# sourceMappingURL=index.js.map