@hai3/uikit 0.1.0-alpha.4 → 0.1.0-alpha.6

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,7 +1,7 @@
1
1
  import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
- import * as React18 from 'react';
4
- import React18__default from 'react';
3
+ import * as React20 from 'react';
4
+ import React20__default from 'react';
5
5
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
6
6
  import { clsx } from 'clsx';
7
7
  import { twMerge } from 'tailwind-merge';
@@ -9,9 +9,13 @@ import { Slot } from '@radix-ui/react-slot';
9
9
  import { cva } from 'class-variance-authority';
10
10
  import { ButtonSize, ButtonVariant, IconButtonSize } from '@hai3/uikit-contracts';
11
11
  export { ButtonSize, ButtonVariant, IconButtonSize } from '@hai3/uikit-contracts';
12
+ import { getDefaultClassNames, DayPicker } from 'react-day-picker';
12
13
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
15
+ import { OTPInput, OTPInputContext } from 'input-otp';
16
+ import * as LabelPrimitive from '@radix-ui/react-label';
13
17
  import * as SwitchPrimitives from '@radix-ui/react-switch';
14
- import { Loader2, ChevronDown, X, ArrowLeft, ArrowRight, ChevronUp, Check, ChevronRight, MoreHorizontal, GripVertical, User, Bot, Paperclip, Send, Plus, Search } from 'lucide-react';
18
+ import { Loader2, X, ArrowLeft, ArrowRight, ChevronRight, MoreHorizontal, GripVertical, User, Bot, Paperclip, Send, Plus, Search } from 'lucide-react';
15
19
  import { trim, toUpper } from 'lodash';
16
20
  import * as SliderPrimitive from '@radix-ui/react-slider';
17
21
  import * as ProgressPrimitive from '@radix-ui/react-progress';
@@ -29,7 +33,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
29
33
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
30
34
  import useEmblaCarousel from 'embla-carousel-react';
31
35
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
32
- export { Area, AreaChart, Bar, BarChart, Brush, CartesianGrid, Cell, Legend as ChartLegend, Tooltip as ChartTooltip, ComposedChart, Cross, Curve, Customized, Dot, ErrorBar, Funnel, FunnelChart, Label, LabelList, Line, LineChart, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Polygon, Radar, RadarChart, RadialBar, RadialBarChart, Rectangle, ReferenceArea, ReferenceDot, ReferenceLine, ResponsiveContainer, Sankey, Scatter, ScatterChart, Sector, Text, Treemap, XAxis, YAxis, ZAxis } from 'recharts';
36
+ export { Area, AreaChart, Bar, BarChart, Brush, CartesianGrid, Cell, Label as ChartLabel, Legend as ChartLegend, Tooltip as ChartTooltip, ComposedChart, Cross, Curve, Customized, Dot, ErrorBar, Funnel, FunnelChart, LabelList, Line, LineChart, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Polygon, Radar, RadarChart, RadialBar, RadialBarChart, Rectangle, ReferenceArea, ReferenceDot, ReferenceLine, ResponsiveContainer, Sankey, Scatter, ScatterChart, Sector, Text, Treemap, XAxis, YAxis, ZAxis } from 'recharts';
33
37
  import * as SelectPrimitive from '@radix-ui/react-select';
34
38
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
35
39
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
@@ -43,7 +47,7 @@ function AspectRatio({
43
47
  function cn(...inputs) {
44
48
  return twMerge(clsx(inputs));
45
49
  }
46
- var Avatar = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
50
+ var Avatar = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
47
51
  AvatarPrimitive.Root,
48
52
  {
49
53
  ref,
@@ -55,7 +59,7 @@ var Avatar = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
55
59
  }
56
60
  ));
57
61
  Avatar.displayName = AvatarPrimitive.Root.displayName;
58
- var AvatarImage = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
62
+ var AvatarImage = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
59
63
  AvatarPrimitive.Image,
60
64
  {
61
65
  ref,
@@ -64,7 +68,7 @@ var AvatarImage = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
64
68
  }
65
69
  ));
66
70
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
67
- var AvatarFallback = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
71
+ var AvatarFallback = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
68
72
  AvatarPrimitive.Fallback,
69
73
  {
70
74
  ref,
@@ -101,7 +105,7 @@ var buttonVariants = cva(
101
105
  }
102
106
  }
103
107
  );
104
- var Button = React18.forwardRef(
108
+ var Button = React20.forwardRef(
105
109
  ({ className, variant, size, asChild = false, ...props }, ref) => {
106
110
  const Comp = asChild ? Slot : "button";
107
111
  return /* @__PURE__ */ jsx(
@@ -146,6 +150,232 @@ function Badge({
146
150
  }
147
151
  );
148
152
  }
153
+ var ChevronDownIcon = ({
154
+ className = "",
155
+ ...props
156
+ }) => {
157
+ return /* @__PURE__ */ jsx(
158
+ "svg",
159
+ {
160
+ className,
161
+ width: "16",
162
+ height: "16",
163
+ viewBox: "0 0 24 24",
164
+ fill: "none",
165
+ stroke: "currentColor",
166
+ strokeWidth: "2",
167
+ strokeLinecap: "round",
168
+ strokeLinejoin: "round",
169
+ ...props,
170
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
171
+ }
172
+ );
173
+ };
174
+ var ChevronLeftIcon = ({ className = "" }) => {
175
+ return /* @__PURE__ */ jsx(
176
+ "svg",
177
+ {
178
+ className,
179
+ width: "16",
180
+ height: "16",
181
+ viewBox: "0 0 24 24",
182
+ fill: "none",
183
+ stroke: "currentColor",
184
+ strokeWidth: "2",
185
+ strokeLinecap: "round",
186
+ strokeLinejoin: "round",
187
+ children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
188
+ }
189
+ );
190
+ };
191
+ var ChevronRightIcon = ({ className = "" }) => {
192
+ return /* @__PURE__ */ jsx(
193
+ "svg",
194
+ {
195
+ className,
196
+ width: "16",
197
+ height: "16",
198
+ viewBox: "0 0 24 24",
199
+ fill: "none",
200
+ stroke: "currentColor",
201
+ strokeWidth: "2",
202
+ strokeLinecap: "round",
203
+ strokeLinejoin: "round",
204
+ children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
205
+ }
206
+ );
207
+ };
208
+ function Calendar({
209
+ className,
210
+ classNames,
211
+ showOutsideDays = true,
212
+ captionLayout = "label",
213
+ buttonVariant = ButtonVariant.Ghost,
214
+ formatters,
215
+ components,
216
+ ...props
217
+ }) {
218
+ const defaultClassNames = getDefaultClassNames();
219
+ return /* @__PURE__ */ jsx(
220
+ DayPicker,
221
+ {
222
+ showOutsideDays,
223
+ className: cn(
224
+ "bg-background group/calendar p-3 [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
225
+ String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
226
+ String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
227
+ className
228
+ ),
229
+ captionLayout,
230
+ formatters: {
231
+ formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
232
+ ...formatters
233
+ },
234
+ classNames: {
235
+ root: cn("w-fit", defaultClassNames.root),
236
+ months: cn(
237
+ "flex gap-4 flex-col md:flex-row relative",
238
+ defaultClassNames.months
239
+ ),
240
+ month: cn("flex flex-col w-full gap-4", defaultClassNames.month),
241
+ nav: cn(
242
+ "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
243
+ defaultClassNames.nav
244
+ ),
245
+ button_previous: cn(
246
+ buttonVariants({ variant: buttonVariant }),
247
+ "size-9 md:size-10 aria-disabled:opacity-50 p-0 select-none",
248
+ defaultClassNames.button_previous
249
+ ),
250
+ button_next: cn(
251
+ buttonVariants({ variant: buttonVariant }),
252
+ "size-9 md:size-10 aria-disabled:opacity-50 p-0 select-none",
253
+ defaultClassNames.button_next
254
+ ),
255
+ month_caption: cn(
256
+ "flex items-center justify-center h-9 md:h-10 w-full px-9 md:px-10",
257
+ defaultClassNames.month_caption
258
+ ),
259
+ dropdowns: cn(
260
+ "w-full flex items-center text-sm font-medium justify-center h-9 md:h-10 gap-1.5",
261
+ defaultClassNames.dropdowns
262
+ ),
263
+ dropdown_root: cn(
264
+ "relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",
265
+ defaultClassNames.dropdown_root
266
+ ),
267
+ dropdown: cn(
268
+ "absolute bg-popover inset-0 opacity-0",
269
+ defaultClassNames.dropdown
270
+ ),
271
+ caption_label: cn(
272
+ "select-none font-medium",
273
+ captionLayout === "label" ? "text-sm" : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",
274
+ defaultClassNames.caption_label
275
+ ),
276
+ table: "w-full border-collapse",
277
+ weekdays: cn("flex", defaultClassNames.weekdays),
278
+ weekday: cn(
279
+ "text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",
280
+ defaultClassNames.weekday
281
+ ),
282
+ week: cn("flex w-full mt-2", defaultClassNames.week),
283
+ week_number_header: cn(
284
+ "select-none w-9 md:w-10",
285
+ defaultClassNames.week_number_header
286
+ ),
287
+ week_number: cn(
288
+ "text-[0.8rem] select-none text-muted-foreground",
289
+ defaultClassNames.week_number
290
+ ),
291
+ day: cn(
292
+ "relative w-full h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",
293
+ props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-md" : "[&:first-child[data-selected=true]_button]:rounded-l-md",
294
+ defaultClassNames.day
295
+ ),
296
+ range_start: cn(
297
+ "rounded-l-md bg-accent",
298
+ defaultClassNames.range_start
299
+ ),
300
+ range_middle: cn("rounded-none", defaultClassNames.range_middle),
301
+ range_end: cn("rounded-r-md bg-accent", defaultClassNames.range_end),
302
+ today: cn(
303
+ "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
304
+ defaultClassNames.today
305
+ ),
306
+ outside: cn(
307
+ "text-muted-foreground aria-selected:text-muted-foreground",
308
+ defaultClassNames.outside
309
+ ),
310
+ disabled: cn(
311
+ "text-muted-foreground opacity-50",
312
+ defaultClassNames.disabled
313
+ ),
314
+ hidden: cn("invisible", defaultClassNames.hidden),
315
+ ...classNames
316
+ },
317
+ components: {
318
+ Root: ({ className: className2, rootRef, ...props2 }) => {
319
+ return /* @__PURE__ */ jsx(
320
+ "div",
321
+ {
322
+ "data-slot": "calendar",
323
+ ref: rootRef,
324
+ className: cn(className2),
325
+ ...props2
326
+ }
327
+ );
328
+ },
329
+ Chevron: ({ className: className2, orientation, ...props2 }) => {
330
+ if (orientation === "left") {
331
+ return /* @__PURE__ */ jsx(ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
332
+ }
333
+ if (orientation === "right") {
334
+ return /* @__PURE__ */ jsx(ChevronRightIcon, { className: cn("size-4", className2), ...props2 });
335
+ }
336
+ return /* @__PURE__ */ jsx(ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
337
+ },
338
+ DayButton: CalendarDayButton,
339
+ WeekNumber: ({ children, ...props2 }) => {
340
+ return /* @__PURE__ */ jsx("td", { ...props2, children: /* @__PURE__ */ jsx("div", { className: "flex size-9 md:size-10 items-center justify-center text-center", children }) });
341
+ },
342
+ ...components
343
+ },
344
+ ...props
345
+ }
346
+ );
347
+ }
348
+ function CalendarDayButton({
349
+ className,
350
+ day,
351
+ modifiers,
352
+ ...props
353
+ }) {
354
+ const defaultClassNames = getDefaultClassNames();
355
+ const ref = React20.useRef(null);
356
+ React20.useEffect(() => {
357
+ if (modifiers.focused) ref.current?.focus();
358
+ }, [modifiers.focused]);
359
+ return /* @__PURE__ */ jsx(
360
+ Button,
361
+ {
362
+ ref,
363
+ variant: ButtonVariant.Ghost,
364
+ size: ButtonSize.Icon,
365
+ "data-day": day.date.toLocaleDateString(),
366
+ "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
367
+ "data-range-start": modifiers.range_start,
368
+ "data-range-end": modifiers.range_end,
369
+ "data-range-middle": modifiers.range_middle,
370
+ className: cn(
371
+ "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-9 md:min-w-10 flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",
372
+ defaultClassNames.day,
373
+ className
374
+ ),
375
+ ...props
376
+ }
377
+ );
378
+ }
149
379
  var CheckIcon = ({ className = "" }) => {
150
380
  return /* @__PURE__ */ jsx(
151
381
  "svg",
@@ -187,7 +417,185 @@ function Checkbox({
187
417
  }
188
418
  );
189
419
  }
190
- var Input = React18.forwardRef(
420
+ var CircleIcon = ({ className = "" }) => {
421
+ return /* @__PURE__ */ jsx(
422
+ "svg",
423
+ {
424
+ className,
425
+ width: "16",
426
+ height: "16",
427
+ viewBox: "0 0 24 24",
428
+ fill: "none",
429
+ stroke: "currentColor",
430
+ strokeWidth: "2",
431
+ strokeLinecap: "round",
432
+ strokeLinejoin: "round",
433
+ children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" })
434
+ }
435
+ );
436
+ };
437
+ function RadioGroup({
438
+ className,
439
+ ...props
440
+ }) {
441
+ return /* @__PURE__ */ jsx(
442
+ RadioGroupPrimitive.Root,
443
+ {
444
+ "data-slot": "radio-group",
445
+ className: cn("grid gap-3", className),
446
+ ...props
447
+ }
448
+ );
449
+ }
450
+ function RadioGroupItem({
451
+ className,
452
+ ...props
453
+ }) {
454
+ return /* @__PURE__ */ jsx(
455
+ RadioGroupPrimitive.Item,
456
+ {
457
+ "data-slot": "radio-group-item",
458
+ className: cn(
459
+ "border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
460
+ className
461
+ ),
462
+ ...props,
463
+ children: /* @__PURE__ */ jsx(
464
+ RadioGroupPrimitive.Indicator,
465
+ {
466
+ "data-slot": "radio-group-indicator",
467
+ className: "relative flex items-center justify-center",
468
+ children: /* @__PURE__ */ jsx(CircleIcon, { className: "fill-current absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
469
+ }
470
+ )
471
+ }
472
+ );
473
+ }
474
+ function NativeSelect({ className, ...props }) {
475
+ return /* @__PURE__ */ jsxs(
476
+ "div",
477
+ {
478
+ className: "group/native-select relative w-fit has-[select:disabled]:opacity-50",
479
+ "data-slot": "native-select-wrapper",
480
+ children: [
481
+ /* @__PURE__ */ jsx(
482
+ "select",
483
+ {
484
+ "data-slot": "native-select",
485
+ className: cn(
486
+ "border-input placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 dark:hover:bg-input/50 h-9 w-full min-w-0 appearance-none rounded-md border bg-transparent px-3 py-2 pr-9 text-sm shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed",
487
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
488
+ "aria-[invalid=true]:ring-2 aria-[invalid=true]:ring-destructive/30 aria-[invalid=true]:border-destructive",
489
+ className
490
+ ),
491
+ ...props
492
+ }
493
+ ),
494
+ /* @__PURE__ */ jsx(
495
+ ChevronDownIcon,
496
+ {
497
+ className: "text-muted-foreground pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 opacity-50 select-none",
498
+ "aria-hidden": "true",
499
+ "data-slot": "native-select-icon"
500
+ }
501
+ )
502
+ ]
503
+ }
504
+ );
505
+ }
506
+ function NativeSelectOption({ ...props }) {
507
+ return /* @__PURE__ */ jsx("option", { "data-slot": "native-select-option", ...props });
508
+ }
509
+ function NativeSelectOptGroup({
510
+ className,
511
+ ...props
512
+ }) {
513
+ return /* @__PURE__ */ jsx(
514
+ "optgroup",
515
+ {
516
+ "data-slot": "native-select-optgroup",
517
+ className: cn(className),
518
+ ...props
519
+ }
520
+ );
521
+ }
522
+ var MinusIcon = ({
523
+ className = "",
524
+ ...props
525
+ }) => {
526
+ return /* @__PURE__ */ jsx(
527
+ "svg",
528
+ {
529
+ className,
530
+ width: "16",
531
+ height: "16",
532
+ viewBox: "0 0 24 24",
533
+ fill: "none",
534
+ stroke: "currentColor",
535
+ strokeWidth: "2",
536
+ strokeLinecap: "round",
537
+ strokeLinejoin: "round",
538
+ ...props,
539
+ children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" })
540
+ }
541
+ );
542
+ };
543
+ function InputOTP({
544
+ className,
545
+ containerClassName,
546
+ ...props
547
+ }) {
548
+ return /* @__PURE__ */ jsx(
549
+ OTPInput,
550
+ {
551
+ "data-slot": "input-otp",
552
+ containerClassName: cn(
553
+ "flex items-center gap-2 has-disabled:opacity-50",
554
+ containerClassName
555
+ ),
556
+ className: cn("disabled:cursor-not-allowed", className),
557
+ ...props
558
+ }
559
+ );
560
+ }
561
+ function InputOTPGroup({ className, ...props }) {
562
+ return /* @__PURE__ */ jsx(
563
+ "div",
564
+ {
565
+ "data-slot": "input-otp-group",
566
+ className: cn("flex items-center", className),
567
+ ...props
568
+ }
569
+ );
570
+ }
571
+ function InputOTPSlot({
572
+ index,
573
+ className,
574
+ ...props
575
+ }) {
576
+ const inputOTPContext = React20.useContext(OTPInputContext);
577
+ const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
578
+ return /* @__PURE__ */ jsxs(
579
+ "div",
580
+ {
581
+ "data-slot": "input-otp-slot",
582
+ "data-active": isActive,
583
+ className: cn(
584
+ "data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]",
585
+ className
586
+ ),
587
+ ...props,
588
+ children: [
589
+ char,
590
+ hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" }) })
591
+ ]
592
+ }
593
+ );
594
+ }
595
+ function InputOTPSeparator({ ...props }) {
596
+ return /* @__PURE__ */ jsx("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx(MinusIcon, {}) });
597
+ }
598
+ var Input = React20.forwardRef(
191
599
  ({ className, type, ...props }, ref) => {
192
600
  return /* @__PURE__ */ jsx(
193
601
  "input",
@@ -204,10 +612,26 @@ var Input = React18.forwardRef(
204
612
  }
205
613
  );
206
614
  Input.displayName = "Input";
207
- var Textarea = React18.forwardRef(
615
+ function Label({
616
+ className,
617
+ ...props
618
+ }) {
619
+ return /* @__PURE__ */ jsx(
620
+ LabelPrimitive.Root,
621
+ {
622
+ "data-slot": "label",
623
+ className: cn(
624
+ "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
625
+ className
626
+ ),
627
+ ...props
628
+ }
629
+ );
630
+ }
631
+ var Textarea = React20.forwardRef(
208
632
  ({ className, autoResize = false, minHeight = 50, maxHeight = 350, size = "default", onChange, ...props }, ref) => {
209
- const internalRef = React18.useRef(null);
210
- React18.useImperativeHandle(ref, () => internalRef.current);
633
+ const internalRef = React20.useRef(null);
634
+ React20.useImperativeHandle(ref, () => internalRef.current);
211
635
  const sizeClasses = {
212
636
  sm: "min-h-11 h-11",
213
637
  // 44px / 2.75rem - exact height
@@ -224,7 +648,7 @@ var Textarea = React18.forwardRef(
224
648
  lg: "py-2"
225
649
  // 8px top + 8px bottom (default)
226
650
  };
227
- const handleResize = React18.useCallback(() => {
651
+ const handleResize = React20.useCallback(() => {
228
652
  if (autoResize && size !== "sm" && internalRef.current) {
229
653
  const textarea = internalRef.current;
230
654
  textarea.style.height = "auto";
@@ -232,10 +656,10 @@ var Textarea = React18.forwardRef(
232
656
  textarea.style.height = `${Math.min(Math.max(scrollHeight, minHeight), maxHeight)}px`;
233
657
  }
234
658
  }, [autoResize, size, minHeight, maxHeight]);
235
- React18.useEffect(() => {
659
+ React20.useEffect(() => {
236
660
  handleResize();
237
661
  }, [handleResize, props.value]);
238
- const handleChange = React18.useCallback(
662
+ const handleChange = React20.useCallback(
239
663
  (e) => {
240
664
  handleResize();
241
665
  onChange?.(e);
@@ -259,7 +683,7 @@ var Textarea = React18.forwardRef(
259
683
  }
260
684
  );
261
685
  Textarea.displayName = "Textarea";
262
- var Switch = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
686
+ var Switch = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
263
687
  SwitchPrimitives.Root,
264
688
  {
265
689
  className: cn(
@@ -298,7 +722,7 @@ function Skeleton({
298
722
  }
299
723
  );
300
724
  }
301
- var Spinner = React18.forwardRef(
725
+ var Spinner = React20.forwardRef(
302
726
  ({ className, icon: Icon2 = Loader2, size = "size-4", ...props }, ref) => {
303
727
  const textColorClasses = className?.match(/\btext-\S+/g)?.join(" ") || "";
304
728
  const wrapperClasses = trim(className?.replace(/\btext-\S+/g, "") || "");
@@ -314,7 +738,7 @@ var Spinner = React18.forwardRef(
314
738
  }
315
739
  );
316
740
  Spinner.displayName = "Spinner";
317
- var Slider = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
741
+ var Slider = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
318
742
  SliderPrimitive.Root,
319
743
  {
320
744
  ref,
@@ -326,7 +750,7 @@ var Slider = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
326
750
  }
327
751
  ));
328
752
  Slider.displayName = SliderPrimitive.Root.displayName;
329
- var SliderTrack = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
753
+ var SliderTrack = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
330
754
  SliderPrimitive.Track,
331
755
  {
332
756
  ref,
@@ -338,7 +762,7 @@ var SliderTrack = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
338
762
  }
339
763
  ));
340
764
  SliderTrack.displayName = SliderPrimitive.Track.displayName;
341
- var SliderRange = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
765
+ var SliderRange = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
342
766
  SliderPrimitive.Range,
343
767
  {
344
768
  ref,
@@ -347,7 +771,7 @@ var SliderRange = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
347
771
  }
348
772
  ));
349
773
  SliderRange.displayName = SliderPrimitive.Range.displayName;
350
- var SliderThumb = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
774
+ var SliderThumb = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
351
775
  SliderPrimitive.Thumb,
352
776
  {
353
777
  ref,
@@ -359,7 +783,7 @@ var SliderThumb = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
359
783
  }
360
784
  ));
361
785
  SliderThumb.displayName = SliderPrimitive.Thumb.displayName;
362
- var Progress = React18.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
786
+ var Progress = React20.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
363
787
  ProgressPrimitive.Root,
364
788
  {
365
789
  ref,
@@ -393,9 +817,9 @@ var Tooltip = ({
393
817
  ...props
394
818
  }) => /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(TooltipPrimitive.Root, { ...props }) });
395
819
  Tooltip.displayName = TooltipPrimitive.Root.displayName;
396
- var TooltipTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { ref, ...props }));
820
+ var TooltipTrigger = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Trigger, { ref, ...props }));
397
821
  TooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;
398
- var TooltipContent = React18.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
822
+ var TooltipContent = React20.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
399
823
  TooltipPrimitive.Content,
400
824
  {
401
825
  ref,
@@ -410,7 +834,7 @@ var TooltipContent = React18.forwardRef(({ className, sideOffset = 4, ...props }
410
834
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
411
835
  var Popover = PopoverPrimitive.Root;
412
836
  Popover.displayName = "Popover";
413
- var PopoverTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
837
+ var PopoverTrigger = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
414
838
  PopoverPrimitive.Trigger,
415
839
  {
416
840
  ref,
@@ -419,7 +843,7 @@ var PopoverTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ j
419
843
  }
420
844
  ));
421
845
  PopoverTrigger.displayName = "PopoverTrigger";
422
- var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
846
+ var PopoverContent = React20.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
423
847
  PopoverPrimitive.Content,
424
848
  {
425
849
  ref,
@@ -434,7 +858,7 @@ var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffs
434
858
  }
435
859
  ) }));
436
860
  PopoverContent.displayName = "PopoverContent";
437
- var PopoverAnchor = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
861
+ var PopoverAnchor = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
438
862
  PopoverPrimitive.Anchor,
439
863
  {
440
864
  ref,
@@ -445,7 +869,7 @@ var PopoverAnchor = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ js
445
869
  PopoverAnchor.displayName = "PopoverAnchor";
446
870
  var HoverCard = HoverCardPrimitive.Root;
447
871
  HoverCard.displayName = "HoverCard";
448
- var HoverCardTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
872
+ var HoverCardTrigger = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
449
873
  HoverCardPrimitive.Trigger,
450
874
  {
451
875
  ref,
@@ -454,7 +878,7 @@ var HoverCardTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */
454
878
  }
455
879
  ));
456
880
  HoverCardTrigger.displayName = "HoverCardTrigger";
457
- var HoverCardContent = React18.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsx(
881
+ var HoverCardContent = React20.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsx(
458
882
  HoverCardPrimitive.Content,
459
883
  {
460
884
  ref,
@@ -469,7 +893,7 @@ var HoverCardContent = React18.forwardRef(({ className, align = "center", sideOf
469
893
  }
470
894
  ) }));
471
895
  HoverCardContent.displayName = "HoverCardContent";
472
- var Card = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
896
+ var Card = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
473
897
  "div",
474
898
  {
475
899
  ref,
@@ -481,7 +905,7 @@ var Card = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
481
905
  }
482
906
  ));
483
907
  Card.displayName = "Card";
484
- var CardHeader = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
908
+ var CardHeader = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
485
909
  "div",
486
910
  {
487
911
  ref,
@@ -490,7 +914,7 @@ var CardHeader = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
490
914
  }
491
915
  ));
492
916
  CardHeader.displayName = "CardHeader";
493
- var CardTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
917
+ var CardTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
494
918
  "div",
495
919
  {
496
920
  ref,
@@ -499,7 +923,7 @@ var CardTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE_
499
923
  }
500
924
  ));
501
925
  CardTitle.displayName = "CardTitle";
502
- var CardDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
926
+ var CardDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
503
927
  "div",
504
928
  {
505
929
  ref,
@@ -508,9 +932,9 @@ var CardDescription = React18.forwardRef(({ className, ...props }, ref) => /* @_
508
932
  }
509
933
  ));
510
934
  CardDescription.displayName = "CardDescription";
511
- var CardContent = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
935
+ var CardContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
512
936
  CardContent.displayName = "CardContent";
513
- var CardFooter = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
937
+ var CardFooter = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
514
938
  "div",
515
939
  {
516
940
  ref,
@@ -519,7 +943,7 @@ var CardFooter = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
519
943
  }
520
944
  ));
521
945
  CardFooter.displayName = "CardFooter";
522
- var Header = React18__default.forwardRef(
946
+ var Header = React20__default.forwardRef(
523
947
  ({ children, className }, ref) => {
524
948
  return /* @__PURE__ */ jsx(
525
949
  "header",
@@ -535,7 +959,7 @@ var Header = React18__default.forwardRef(
535
959
  }
536
960
  );
537
961
  Header.displayName = "Header";
538
- var NavigationMenu = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
962
+ var NavigationMenu = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
539
963
  NavigationMenuPrimitive.Root,
540
964
  {
541
965
  ref,
@@ -551,7 +975,7 @@ var NavigationMenu = React18.forwardRef(({ className, children, ...props }, ref)
551
975
  }
552
976
  ));
553
977
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
554
- var NavigationMenuList = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
978
+ var NavigationMenuList = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
555
979
  NavigationMenuPrimitive.List,
556
980
  {
557
981
  ref,
@@ -567,7 +991,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
567
991
  var navigationMenuTriggerStyle = cva(
568
992
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
569
993
  );
570
- var NavigationMenuTrigger = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
994
+ var NavigationMenuTrigger = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
571
995
  NavigationMenuPrimitive.Trigger,
572
996
  {
573
997
  ref,
@@ -577,7 +1001,7 @@ var NavigationMenuTrigger = React18.forwardRef(({ className, children, ...props
577
1001
  children,
578
1002
  " ",
579
1003
  /* @__PURE__ */ jsx(
580
- ChevronDown,
1004
+ ChevronDownIcon,
581
1005
  {
582
1006
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
583
1007
  "aria-hidden": "true"
@@ -587,7 +1011,7 @@ var NavigationMenuTrigger = React18.forwardRef(({ className, children, ...props
587
1011
  }
588
1012
  ));
589
1013
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
590
- var NavigationMenuContent = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1014
+ var NavigationMenuContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
591
1015
  NavigationMenuPrimitive.Content,
592
1016
  {
593
1017
  ref,
@@ -600,7 +1024,7 @@ var NavigationMenuContent = React18.forwardRef(({ className, ...props }, ref) =>
600
1024
  ));
601
1025
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
602
1026
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
603
- var NavigationMenuViewport = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
1027
+ var NavigationMenuViewport = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
604
1028
  NavigationMenuPrimitive.Viewport,
605
1029
  {
606
1030
  className: cn(
@@ -612,7 +1036,7 @@ var NavigationMenuViewport = React18.forwardRef(({ className, ...props }, ref) =
612
1036
  }
613
1037
  ) }));
614
1038
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
615
- var NavigationMenuIndicator = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1039
+ var NavigationMenuIndicator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
616
1040
  NavigationMenuPrimitive.Indicator,
617
1041
  {
618
1042
  ref,
@@ -715,40 +1139,6 @@ function BreadcrumbEllipsis({
715
1139
  }
716
1140
  );
717
1141
  }
718
- var ChevronRightIcon = ({ className = "" }) => {
719
- return /* @__PURE__ */ jsx(
720
- "svg",
721
- {
722
- className,
723
- width: "16",
724
- height: "16",
725
- viewBox: "0 0 24 24",
726
- fill: "none",
727
- stroke: "currentColor",
728
- strokeWidth: "2",
729
- strokeLinecap: "round",
730
- strokeLinejoin: "round",
731
- children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
732
- }
733
- );
734
- };
735
- var CircleIcon = ({ className = "" }) => {
736
- return /* @__PURE__ */ jsx(
737
- "svg",
738
- {
739
- className,
740
- width: "16",
741
- height: "16",
742
- viewBox: "0 0 24 24",
743
- fill: "none",
744
- stroke: "currentColor",
745
- strokeWidth: "2",
746
- strokeLinecap: "round",
747
- strokeLinejoin: "round",
748
- children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" })
749
- }
750
- );
751
- };
752
1142
  function Menubar({
753
1143
  className,
754
1144
  ...props
@@ -978,23 +1368,6 @@ function MenubarSubContent({
978
1368
  }
979
1369
  );
980
1370
  }
981
- var ChevronLeftIcon = ({ className = "" }) => {
982
- return /* @__PURE__ */ jsx(
983
- "svg",
984
- {
985
- className,
986
- width: "16",
987
- height: "16",
988
- viewBox: "0 0 24 24",
989
- fill: "none",
990
- stroke: "currentColor",
991
- strokeWidth: "2",
992
- strokeLinecap: "round",
993
- strokeLinejoin: "round",
994
- children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
995
- }
996
- );
997
- };
998
1371
  var MoreHorizontalIcon = ({ className = "" }) => {
999
1372
  return /* @__PURE__ */ jsxs(
1000
1373
  "svg",
@@ -1187,7 +1560,7 @@ var Sheet = SheetPrimitive.Root;
1187
1560
  var SheetTrigger = SheetPrimitive.Trigger;
1188
1561
  var SheetClose = SheetPrimitive.Close;
1189
1562
  var SheetPortal = SheetPrimitive.Portal;
1190
- var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1563
+ var SheetOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1191
1564
  SheetPrimitive.Overlay,
1192
1565
  {
1193
1566
  className: cn(
@@ -1215,7 +1588,7 @@ var sheetVariants = cva(
1215
1588
  }
1216
1589
  }
1217
1590
  );
1218
- var SheetContent = React18.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
1591
+ var SheetContent = React20.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
1219
1592
  /* @__PURE__ */ jsx(SheetOverlay, {}),
1220
1593
  /* @__PURE__ */ jsxs(
1221
1594
  SheetPrimitive.Content,
@@ -1262,7 +1635,7 @@ var SheetFooter = ({
1262
1635
  }
1263
1636
  );
1264
1637
  SheetFooter.displayName = "SheetFooter";
1265
- var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1638
+ var SheetTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1266
1639
  SheetPrimitive.Title,
1267
1640
  {
1268
1641
  ref,
@@ -1271,7 +1644,7 @@ var SheetTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
1271
1644
  }
1272
1645
  ));
1273
1646
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1274
- var SheetDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1647
+ var SheetDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1275
1648
  SheetPrimitive.Description,
1276
1649
  {
1277
1650
  ref,
@@ -1284,7 +1657,7 @@ var Dialog = SheetPrimitive.Root;
1284
1657
  var DialogTrigger = SheetPrimitive.Trigger;
1285
1658
  var DialogPortal = SheetPrimitive.Portal;
1286
1659
  var DialogClose = SheetPrimitive.Close;
1287
- var DialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1660
+ var DialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1288
1661
  SheetPrimitive.Overlay,
1289
1662
  {
1290
1663
  ref,
@@ -1296,7 +1669,7 @@ var DialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__P
1296
1669
  }
1297
1670
  ));
1298
1671
  DialogOverlay.displayName = SheetPrimitive.Overlay.displayName;
1299
- var DialogContent = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
1672
+ var DialogContent = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
1300
1673
  /* @__PURE__ */ jsx(DialogOverlay, {}),
1301
1674
  /* @__PURE__ */ jsxs(
1302
1675
  SheetPrimitive.Content,
@@ -1346,7 +1719,7 @@ var DialogFooter = ({
1346
1719
  }
1347
1720
  );
1348
1721
  DialogFooter.displayName = "DialogFooter";
1349
- var DialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1722
+ var DialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1350
1723
  SheetPrimitive.Title,
1351
1724
  {
1352
1725
  ref,
@@ -1358,7 +1731,7 @@ var DialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
1358
1731
  }
1359
1732
  ));
1360
1733
  DialogTitle.displayName = SheetPrimitive.Title.displayName;
1361
- var DialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1734
+ var DialogDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1362
1735
  SheetPrimitive.Description,
1363
1736
  {
1364
1737
  ref,
@@ -1592,7 +1965,7 @@ function Separator2({
1592
1965
  }
1593
1966
  );
1594
1967
  }
1595
- var Accordion = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1968
+ var Accordion = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1596
1969
  AccordionPrimitive.Root,
1597
1970
  {
1598
1971
  ref,
@@ -1601,7 +1974,7 @@ var Accordion = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1601
1974
  }
1602
1975
  ));
1603
1976
  Accordion.displayName = "Accordion";
1604
- var AccordionItem = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1977
+ var AccordionItem = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1605
1978
  AccordionPrimitive.Item,
1606
1979
  {
1607
1980
  ref,
@@ -1611,7 +1984,7 @@ var AccordionItem = React18.forwardRef(({ className, ...props }, ref) => /* @__P
1611
1984
  }
1612
1985
  ));
1613
1986
  AccordionItem.displayName = "AccordionItem";
1614
- var AccordionTrigger = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
1987
+ var AccordionTrigger = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
1615
1988
  AccordionPrimitive.Trigger,
1616
1989
  {
1617
1990
  ref,
@@ -1623,12 +1996,12 @@ var AccordionTrigger = React18.forwardRef(({ className, children, ...props }, re
1623
1996
  ...props,
1624
1997
  children: [
1625
1998
  children,
1626
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
1999
+ /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
1627
2000
  ]
1628
2001
  }
1629
2002
  ) }));
1630
2003
  AccordionTrigger.displayName = "AccordionTrigger";
1631
- var AccordionContent = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
2004
+ var AccordionContent = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
1632
2005
  AccordionPrimitive.Content,
1633
2006
  {
1634
2007
  ref,
@@ -1639,15 +2012,15 @@ var AccordionContent = React18.forwardRef(({ className, children, ...props }, re
1639
2012
  }
1640
2013
  ));
1641
2014
  AccordionContent.displayName = "AccordionContent";
1642
- var CarouselContext = React18.createContext(null);
2015
+ var CarouselContext = React20.createContext(null);
1643
2016
  function useCarousel() {
1644
- const context = React18.useContext(CarouselContext);
2017
+ const context = React20.useContext(CarouselContext);
1645
2018
  if (!context) {
1646
2019
  throw new Error("useCarousel must be used within a <Carousel />");
1647
2020
  }
1648
2021
  return context;
1649
2022
  }
1650
- var Carousel = React18.forwardRef(
2023
+ var Carousel = React20.forwardRef(
1651
2024
  ({
1652
2025
  orientation = "horizontal",
1653
2026
  opts,
@@ -1664,20 +2037,20 @@ var Carousel = React18.forwardRef(
1664
2037
  },
1665
2038
  plugins
1666
2039
  );
1667
- const [canScrollPrev, setCanScrollPrev] = React18.useState(false);
1668
- const [canScrollNext, setCanScrollNext] = React18.useState(false);
1669
- const onSelect = React18.useCallback((api2) => {
2040
+ const [canScrollPrev, setCanScrollPrev] = React20.useState(false);
2041
+ const [canScrollNext, setCanScrollNext] = React20.useState(false);
2042
+ const onSelect = React20.useCallback((api2) => {
1670
2043
  if (!api2) return;
1671
2044
  setCanScrollPrev(api2.canScrollPrev());
1672
2045
  setCanScrollNext(api2.canScrollNext());
1673
2046
  }, []);
1674
- const scrollPrev = React18.useCallback(() => {
2047
+ const scrollPrev = React20.useCallback(() => {
1675
2048
  api?.scrollPrev();
1676
2049
  }, [api]);
1677
- const scrollNext = React18.useCallback(() => {
2050
+ const scrollNext = React20.useCallback(() => {
1678
2051
  api?.scrollNext();
1679
2052
  }, [api]);
1680
- const handleKeyDown = React18.useCallback(
2053
+ const handleKeyDown = React20.useCallback(
1681
2054
  (event) => {
1682
2055
  if (event.key === "ArrowLeft") {
1683
2056
  event.preventDefault();
@@ -1689,11 +2062,11 @@ var Carousel = React18.forwardRef(
1689
2062
  },
1690
2063
  [scrollPrev, scrollNext]
1691
2064
  );
1692
- React18.useEffect(() => {
2065
+ React20.useEffect(() => {
1693
2066
  if (!api || !setApi) return;
1694
2067
  setApi(api);
1695
2068
  }, [api, setApi]);
1696
- React18.useEffect(() => {
2069
+ React20.useEffect(() => {
1697
2070
  if (!api) return;
1698
2071
  onSelect(api);
1699
2072
  api.on("reInit", onSelect);
@@ -1733,7 +2106,7 @@ var Carousel = React18.forwardRef(
1733
2106
  }
1734
2107
  );
1735
2108
  Carousel.displayName = "Carousel";
1736
- var CarouselContent = React18.forwardRef(({ className, ...props }, ref) => {
2109
+ var CarouselContent = React20.forwardRef(({ className, ...props }, ref) => {
1737
2110
  const { carouselRef, orientation } = useCarousel();
1738
2111
  return /* @__PURE__ */ jsx(
1739
2112
  "div",
@@ -1757,7 +2130,7 @@ var CarouselContent = React18.forwardRef(({ className, ...props }, ref) => {
1757
2130
  );
1758
2131
  });
1759
2132
  CarouselContent.displayName = "CarouselContent";
1760
- var CarouselItem = React18.forwardRef(({ className, ...props }, ref) => {
2133
+ var CarouselItem = React20.forwardRef(({ className, ...props }, ref) => {
1761
2134
  const { orientation } = useCarousel();
1762
2135
  return /* @__PURE__ */ jsx(
1763
2136
  "div",
@@ -1776,7 +2149,7 @@ var CarouselItem = React18.forwardRef(({ className, ...props }, ref) => {
1776
2149
  );
1777
2150
  });
1778
2151
  CarouselItem.displayName = "CarouselItem";
1779
- var CarouselPrevious = React18.forwardRef(({ className, variant = ButtonVariant.Outline, size = ButtonSize.Icon, ...props }, ref) => {
2152
+ var CarouselPrevious = React20.forwardRef(({ className, variant = ButtonVariant.Outline, size = ButtonSize.Icon, ...props }, ref) => {
1780
2153
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
1781
2154
  return /* @__PURE__ */ jsxs(
1782
2155
  Button,
@@ -1801,7 +2174,7 @@ var CarouselPrevious = React18.forwardRef(({ className, variant = ButtonVariant.
1801
2174
  );
1802
2175
  });
1803
2176
  CarouselPrevious.displayName = "CarouselPrevious";
1804
- var CarouselNext = React18.forwardRef(({ className, variant = ButtonVariant.Outline, size = ButtonSize.Icon, ...props }, ref) => {
2177
+ var CarouselNext = React20.forwardRef(({ className, variant = ButtonVariant.Outline, size = ButtonSize.Icon, ...props }, ref) => {
1805
2178
  const { orientation, scrollNext, canScrollNext } = useCarousel();
1806
2179
  return /* @__PURE__ */ jsxs(
1807
2180
  Button,
@@ -1826,7 +2199,7 @@ var CarouselNext = React18.forwardRef(({ className, variant = ButtonVariant.Outl
1826
2199
  );
1827
2200
  });
1828
2201
  CarouselNext.displayName = "CarouselNext";
1829
- var Collapsible = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
2202
+ var Collapsible = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1830
2203
  CollapsiblePrimitive.Root,
1831
2204
  {
1832
2205
  ref,
@@ -1835,7 +2208,7 @@ var Collapsible = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1835
2208
  }
1836
2209
  ));
1837
2210
  Collapsible.displayName = "Collapsible";
1838
- var CollapsibleTrigger2 = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
2211
+ var CollapsibleTrigger2 = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1839
2212
  CollapsiblePrimitive.CollapsibleTrigger,
1840
2213
  {
1841
2214
  ref,
@@ -1844,7 +2217,7 @@ var CollapsibleTrigger2 = React18.forwardRef(({ ...props }, ref) => /* @__PURE__
1844
2217
  }
1845
2218
  ));
1846
2219
  CollapsibleTrigger2.displayName = "CollapsibleTrigger";
1847
- var CollapsibleContent2 = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
2220
+ var CollapsibleContent2 = React20.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
1848
2221
  CollapsiblePrimitive.CollapsibleContent,
1849
2222
  {
1850
2223
  ref,
@@ -1931,10 +2304,31 @@ function ChartLegendContent({
1931
2304
  }
1932
2305
  );
1933
2306
  }
2307
+ var ChevronUpIcon = ({
2308
+ className = "",
2309
+ ...props
2310
+ }) => {
2311
+ return /* @__PURE__ */ jsx(
2312
+ "svg",
2313
+ {
2314
+ className,
2315
+ width: "16",
2316
+ height: "16",
2317
+ viewBox: "0 0 24 24",
2318
+ fill: "none",
2319
+ stroke: "currentColor",
2320
+ strokeWidth: "2",
2321
+ strokeLinecap: "round",
2322
+ strokeLinejoin: "round",
2323
+ ...props,
2324
+ children: /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" })
2325
+ }
2326
+ );
2327
+ };
1934
2328
  var Select = SelectPrimitive.Root;
1935
2329
  var SelectGroup = SelectPrimitive.Group;
1936
2330
  var SelectValue = SelectPrimitive.Value;
1937
- var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2331
+ var SelectTrigger = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1938
2332
  SelectPrimitive.Trigger,
1939
2333
  {
1940
2334
  ref,
@@ -1946,12 +2340,12 @@ var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref)
1946
2340
  ...props,
1947
2341
  children: [
1948
2342
  children,
1949
- /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2343
+ /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-4 w-4 opacity-50" }) })
1950
2344
  ]
1951
2345
  }
1952
2346
  ));
1953
2347
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
1954
- var SelectScrollUpButton = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2348
+ var SelectScrollUpButton = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1955
2349
  SelectPrimitive.ScrollUpButton,
1956
2350
  {
1957
2351
  ref,
@@ -1960,11 +2354,11 @@ var SelectScrollUpButton = React18.forwardRef(({ className, ...props }, ref) =>
1960
2354
  className
1961
2355
  ),
1962
2356
  ...props,
1963
- children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
2357
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "h-4 w-4" })
1964
2358
  }
1965
2359
  ));
1966
2360
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
1967
- var SelectScrollDownButton = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2361
+ var SelectScrollDownButton = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1968
2362
  SelectPrimitive.ScrollDownButton,
1969
2363
  {
1970
2364
  ref,
@@ -1973,11 +2367,11 @@ var SelectScrollDownButton = React18.forwardRef(({ className, ...props }, ref) =
1973
2367
  className
1974
2368
  ),
1975
2369
  ...props,
1976
- children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
2370
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-4 w-4" })
1977
2371
  }
1978
2372
  ));
1979
2373
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
1980
- var SelectContent = React18.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
2374
+ var SelectContent = React20.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
1981
2375
  SelectPrimitive.Content,
1982
2376
  {
1983
2377
  ref,
@@ -2005,7 +2399,7 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
2005
2399
  }
2006
2400
  ) }));
2007
2401
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2008
- var SelectLabel = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2402
+ var SelectLabel = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2009
2403
  SelectPrimitive.Label,
2010
2404
  {
2011
2405
  ref,
@@ -2014,7 +2408,7 @@ var SelectLabel = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
2014
2408
  }
2015
2409
  ));
2016
2410
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2017
- var SelectItem = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2411
+ var SelectItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2018
2412
  SelectPrimitive.Item,
2019
2413
  {
2020
2414
  ref,
@@ -2024,13 +2418,13 @@ var SelectItem = React18.forwardRef(({ className, children, ...props }, ref) =>
2024
2418
  ),
2025
2419
  ...props,
2026
2420
  children: [
2027
- /* @__PURE__ */ jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) }) }),
2421
+ /* @__PURE__ */ jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "h-4 w-4" }) }) }),
2028
2422
  /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
2029
2423
  ]
2030
2424
  }
2031
2425
  ));
2032
2426
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2033
- var SelectSeparator = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2427
+ var SelectSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2034
2428
  SelectPrimitive.Separator,
2035
2429
  {
2036
2430
  ref,
@@ -2052,7 +2446,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
2052
2446
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
2053
2447
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
2054
2448
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
2055
- var DropdownMenuSubTrigger = React18.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2449
+ var DropdownMenuSubTrigger = React20.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2056
2450
  DropdownMenuPrimitive.SubTrigger,
2057
2451
  {
2058
2452
  ref,
@@ -2069,7 +2463,7 @@ var DropdownMenuSubTrigger = React18.forwardRef(({ className, inset, children, .
2069
2463
  }
2070
2464
  ));
2071
2465
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
2072
- var DropdownMenuSubContent = React18.forwardRef(({ className, container, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2466
+ var DropdownMenuSubContent = React20.forwardRef(({ className, container, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2073
2467
  DropdownMenuPrimitive.SubContent,
2074
2468
  {
2075
2469
  ref,
@@ -2081,7 +2475,7 @@ var DropdownMenuSubContent = React18.forwardRef(({ className, container, ...prop
2081
2475
  }
2082
2476
  ) }));
2083
2477
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
2084
- var DropdownMenuContent = React18.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2478
+ var DropdownMenuContent = React20.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2085
2479
  DropdownMenuPrimitive.Content,
2086
2480
  {
2087
2481
  ref,
@@ -2095,7 +2489,7 @@ var DropdownMenuContent = React18.forwardRef(({ className, sideOffset = 4, conta
2095
2489
  }
2096
2490
  ) }));
2097
2491
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
2098
- var DropdownMenuItem = React18.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2492
+ var DropdownMenuItem = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2099
2493
  DropdownMenuPrimitive.Item,
2100
2494
  {
2101
2495
  ref,
@@ -2108,7 +2502,7 @@ var DropdownMenuItem = React18.forwardRef(({ className, inset, ...props }, ref)
2108
2502
  }
2109
2503
  ));
2110
2504
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
2111
- var DropdownMenuCheckboxItem = React18.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
2505
+ var DropdownMenuCheckboxItem = React20.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
2112
2506
  DropdownMenuPrimitive.CheckboxItem,
2113
2507
  {
2114
2508
  ref,
@@ -2125,7 +2519,7 @@ var DropdownMenuCheckboxItem = React18.forwardRef(({ className, children, checke
2125
2519
  }
2126
2520
  ));
2127
2521
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
2128
- var DropdownMenuRadioItem = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2522
+ var DropdownMenuRadioItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
2129
2523
  DropdownMenuPrimitive.RadioItem,
2130
2524
  {
2131
2525
  ref,
@@ -2141,7 +2535,7 @@ var DropdownMenuRadioItem = React18.forwardRef(({ className, children, ...props
2141
2535
  }
2142
2536
  ));
2143
2537
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
2144
- var DropdownMenuLabel = React18.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2538
+ var DropdownMenuLabel = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
2145
2539
  DropdownMenuPrimitive.Label,
2146
2540
  {
2147
2541
  ref,
@@ -2154,7 +2548,7 @@ var DropdownMenuLabel = React18.forwardRef(({ className, inset, ...props }, ref)
2154
2548
  }
2155
2549
  ));
2156
2550
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
2157
- var DropdownMenuSeparator = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2551
+ var DropdownMenuSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2158
2552
  DropdownMenuPrimitive.Separator,
2159
2553
  {
2160
2554
  ref,
@@ -2378,7 +2772,7 @@ function ContextMenuShortcut({
2378
2772
  }
2379
2773
  );
2380
2774
  }
2381
- var IconButton = React18__default.forwardRef(
2775
+ var IconButton = React20__default.forwardRef(
2382
2776
  ({ variant = ButtonVariant.Ghost, size = IconButtonSize.Default, className, ...props }, ref) => {
2383
2777
  const sizeStyles = {
2384
2778
  [IconButtonSize.Small]: "h-8 w-8",
@@ -2398,7 +2792,7 @@ var IconButton = React18__default.forwardRef(
2398
2792
  }
2399
2793
  );
2400
2794
  IconButton.displayName = "IconButton";
2401
- var DropdownButton = React18__default.forwardRef(({ children, variant = ButtonVariant.Outline, className, ...props }, ref) => {
2795
+ var DropdownButton = React20__default.forwardRef(({ children, variant = ButtonVariant.Outline, className, ...props }, ref) => {
2402
2796
  return /* @__PURE__ */ jsxs(
2403
2797
  Button,
2404
2798
  {
@@ -2408,13 +2802,13 @@ var DropdownButton = React18__default.forwardRef(({ children, variant = ButtonVa
2408
2802
  ...props,
2409
2803
  children: [
2410
2804
  /* @__PURE__ */ jsx("span", { children }),
2411
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
2805
+ /* @__PURE__ */ jsx(ChevronDownIcon, { className: "h-4 w-4" })
2412
2806
  ]
2413
2807
  }
2414
2808
  );
2415
2809
  });
2416
2810
  DropdownButton.displayName = "DropdownButton";
2417
- var Sidebar = React18.forwardRef(({ collapsed = false, className, children, ...props }, ref) => {
2811
+ var Sidebar = React20.forwardRef(({ collapsed = false, className, children, ...props }, ref) => {
2418
2812
  return /* @__PURE__ */ jsx(
2419
2813
  "aside",
2420
2814
  {
@@ -2433,7 +2827,7 @@ var Sidebar = React18.forwardRef(({ collapsed = false, className, children, ...p
2433
2827
  );
2434
2828
  });
2435
2829
  Sidebar.displayName = "Sidebar";
2436
- var SidebarContent = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2830
+ var SidebarContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2437
2831
  "div",
2438
2832
  {
2439
2833
  ref,
@@ -2447,7 +2841,7 @@ var SidebarContent = React18.forwardRef(({ className, ...props }, ref) => /* @__
2447
2841
  }
2448
2842
  ));
2449
2843
  SidebarContent.displayName = "SidebarContent";
2450
- var SidebarMenu = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2844
+ var SidebarMenu = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2451
2845
  "ul",
2452
2846
  {
2453
2847
  ref,
@@ -2457,7 +2851,7 @@ var SidebarMenu = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
2457
2851
  }
2458
2852
  ));
2459
2853
  SidebarMenu.displayName = "SidebarMenu";
2460
- var SidebarMenuItem = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2854
+ var SidebarMenuItem = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2461
2855
  "li",
2462
2856
  {
2463
2857
  ref,
@@ -2489,7 +2883,7 @@ var sidebarMenuButtonVariants = cva(
2489
2883
  }
2490
2884
  }
2491
2885
  );
2492
- var SidebarMenuButton = React18.forwardRef(
2886
+ var SidebarMenuButton = React20.forwardRef(
2493
2887
  ({
2494
2888
  asChild = false,
2495
2889
  isActive = false,
@@ -2515,7 +2909,7 @@ var SidebarMenuButton = React18.forwardRef(
2515
2909
  }
2516
2910
  );
2517
2911
  SidebarMenuButton.displayName = "SidebarMenuButton";
2518
- var SidebarMenuIcon = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2912
+ var SidebarMenuIcon = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2519
2913
  "span",
2520
2914
  {
2521
2915
  ref,
@@ -2524,7 +2918,7 @@ var SidebarMenuIcon = React18.forwardRef(({ className, ...props }, ref) => /* @_
2524
2918
  }
2525
2919
  ));
2526
2920
  SidebarMenuIcon.displayName = "SidebarMenuIcon";
2527
- var SidebarMenuLabel = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2921
+ var SidebarMenuLabel = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2528
2922
  "span",
2529
2923
  {
2530
2924
  ref,
@@ -2533,7 +2927,7 @@ var SidebarMenuLabel = React18.forwardRef(({ className, ...props }, ref) => /* @
2533
2927
  }
2534
2928
  ));
2535
2929
  SidebarMenuLabel.displayName = "SidebarMenuLabel";
2536
- var SidebarHeader = React18.forwardRef(
2930
+ var SidebarHeader = React20.forwardRef(
2537
2931
  ({ logo, logoText, collapsed = false, onClick, className, ...props }, ref) => {
2538
2932
  return /* @__PURE__ */ jsxs(
2539
2933
  "div",
@@ -2556,7 +2950,7 @@ var SidebarHeader = React18.forwardRef(
2556
2950
  }
2557
2951
  );
2558
2952
  SidebarHeader.displayName = "SidebarHeader";
2559
- var UserInfo = React18__default.forwardRef(
2953
+ var UserInfo = React20__default.forwardRef(
2560
2954
  ({ displayName, email, avatarUrl, className, loading }, ref) => {
2561
2955
  const getInitials = () => {
2562
2956
  if (!displayName) return toUpper(email?.[0] || "") || "?";
@@ -2902,6 +3296,32 @@ var CloseIcon = ({ className = "" }) => {
2902
3296
  }
2903
3297
  );
2904
3298
  };
3299
+ var CalendarIcon = ({
3300
+ className = "",
3301
+ ...props
3302
+ }) => {
3303
+ return /* @__PURE__ */ jsxs(
3304
+ "svg",
3305
+ {
3306
+ className,
3307
+ width: "16",
3308
+ height: "16",
3309
+ viewBox: "0 0 24 24",
3310
+ fill: "none",
3311
+ stroke: "currentColor",
3312
+ strokeWidth: "2",
3313
+ strokeLinecap: "round",
3314
+ strokeLinejoin: "round",
3315
+ ...props,
3316
+ children: [
3317
+ /* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
3318
+ /* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
3319
+ /* @__PURE__ */ jsx("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2" }),
3320
+ /* @__PURE__ */ jsx("path", { d: "M3 10h18" })
3321
+ ]
3322
+ }
3323
+ );
3324
+ };
2905
3325
 
2906
3326
  // src/styles/applyTheme.ts
2907
3327
  var hslToVar = (color) => {
@@ -2970,6 +3390,6 @@ var applyTheme = (theme, themeName) => {
2970
3390
  }
2971
3391
  };
2972
3392
 
2973
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CLOSE_ICON_ID, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegendContent, ChartTooltipContent, ChatInput, Checkbox, CloseIcon, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, Input, MENU_ICON_ID, MenuIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, MessageType, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThreadList, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserInfo, applyTheme, badgeVariants };
3393
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CLOSE_ICON_ID, Calendar, CalendarDayButton, CalendarIcon, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegendContent, ChartTooltipContent, ChatInput, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, MENU_ICON_ID, MenuIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageBubble, MessageType, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuIcon, SidebarMenuItem, SidebarMenuLabel, Skeleton, Slider, SliderRange, SliderThumb, SliderTrack, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThreadList, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserInfo, applyTheme, badgeVariants };
2974
3394
  //# sourceMappingURL=index.js.map
2975
3395
  //# sourceMappingURL=index.js.map