@machinemetrics/mm-react-components 0.2.3-21 → 0.2.3-23

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.
Files changed (151) hide show
  1. package/dist/components/shadcn/accordion.d.ts +8 -0
  2. package/dist/components/shadcn/accordion.d.ts.map +1 -0
  3. package/dist/components/shadcn/alert-dialog.d.ts +15 -0
  4. package/dist/components/shadcn/alert-dialog.d.ts.map +1 -0
  5. package/dist/components/shadcn/alert.d.ts +10 -0
  6. package/dist/components/shadcn/alert.d.ts.map +1 -0
  7. package/dist/components/shadcn/avatar.d.ts +7 -0
  8. package/dist/components/shadcn/avatar.d.ts.map +1 -0
  9. package/dist/components/shadcn/badge.d.ts +10 -0
  10. package/dist/components/shadcn/badge.d.ts.map +1 -0
  11. package/dist/components/shadcn/breadcrumb.d.ts +12 -0
  12. package/dist/components/shadcn/breadcrumb.d.ts.map +1 -0
  13. package/dist/components/shadcn/button.d.ts +11 -0
  14. package/dist/components/shadcn/button.d.ts.map +1 -0
  15. package/dist/components/shadcn/calendar.d.ts +9 -0
  16. package/dist/components/shadcn/calendar.d.ts.map +1 -0
  17. package/dist/components/shadcn/card.d.ts +10 -0
  18. package/dist/components/shadcn/card.d.ts.map +1 -0
  19. package/dist/components/shadcn/chart.d.ts +41 -0
  20. package/dist/components/shadcn/chart.d.ts.map +1 -0
  21. package/dist/components/shadcn/checkbox.d.ts +5 -0
  22. package/dist/components/shadcn/checkbox.d.ts.map +1 -0
  23. package/dist/components/shadcn/collapsible.d.ts +7 -0
  24. package/dist/components/shadcn/collapsible.d.ts.map +1 -0
  25. package/dist/components/shadcn/command.d.ts +19 -0
  26. package/dist/components/shadcn/command.d.ts.map +1 -0
  27. package/dist/components/shadcn/dialog.d.ts +16 -0
  28. package/dist/components/shadcn/dialog.d.ts.map +1 -0
  29. package/dist/components/shadcn/drawer.d.ts +14 -0
  30. package/dist/components/shadcn/drawer.d.ts.map +1 -0
  31. package/dist/components/shadcn/dropdown-menu.d.ts +26 -0
  32. package/dist/components/shadcn/dropdown-menu.d.ts.map +1 -0
  33. package/dist/components/shadcn/form.d.ts +25 -0
  34. package/dist/components/shadcn/form.d.ts.map +1 -0
  35. package/dist/components/shadcn/input.d.ts +4 -0
  36. package/dist/components/shadcn/input.d.ts.map +1 -0
  37. package/dist/components/shadcn/label.d.ts +5 -0
  38. package/dist/components/shadcn/label.d.ts.map +1 -0
  39. package/dist/components/shadcn/pagination.d.ts +14 -0
  40. package/dist/components/shadcn/pagination.d.ts.map +1 -0
  41. package/dist/components/shadcn/popover.d.ts +8 -0
  42. package/dist/components/shadcn/popover.d.ts.map +1 -0
  43. package/dist/components/shadcn/progress.d.ts +5 -0
  44. package/dist/components/shadcn/progress.d.ts.map +1 -0
  45. package/dist/components/shadcn/radio-group.d.ts +6 -0
  46. package/dist/components/shadcn/radio-group.d.ts.map +1 -0
  47. package/dist/components/shadcn/select.d.ts +16 -0
  48. package/dist/components/shadcn/select.d.ts.map +1 -0
  49. package/dist/components/shadcn/separator.d.ts +5 -0
  50. package/dist/components/shadcn/separator.d.ts.map +1 -0
  51. package/dist/components/shadcn/sheet.d.ts +14 -0
  52. package/dist/components/shadcn/sheet.d.ts.map +1 -0
  53. package/dist/components/shadcn/skeleton.d.ts +4 -0
  54. package/dist/components/shadcn/skeleton.d.ts.map +1 -0
  55. package/dist/components/shadcn/slider.d.ts +5 -0
  56. package/dist/components/shadcn/slider.d.ts.map +1 -0
  57. package/dist/components/shadcn/sonner.d.ts +4 -0
  58. package/dist/components/shadcn/sonner.d.ts.map +1 -0
  59. package/dist/components/shadcn/spinner.d.ts +4 -0
  60. package/dist/components/shadcn/spinner.d.ts.map +1 -0
  61. package/dist/components/shadcn/switch.d.ts +5 -0
  62. package/dist/components/shadcn/switch.d.ts.map +1 -0
  63. package/dist/components/shadcn/table.d.ts +11 -0
  64. package/dist/components/shadcn/table.d.ts.map +1 -0
  65. package/dist/components/shadcn/tabs.d.ts +8 -0
  66. package/dist/components/shadcn/tabs.d.ts.map +1 -0
  67. package/dist/components/shadcn/textarea.d.ts +4 -0
  68. package/dist/components/shadcn/textarea.d.ts.map +1 -0
  69. package/dist/components/shadcn/toggle.d.ts +10 -0
  70. package/dist/components/shadcn/toggle.d.ts.map +1 -0
  71. package/dist/components/shadcn/tooltip.d.ts +8 -0
  72. package/dist/components/shadcn/tooltip.d.ts.map +1 -0
  73. package/dist/components/ui/accordion.d.ts +5 -6
  74. package/dist/components/ui/accordion.d.ts.map +1 -1
  75. package/dist/components/ui/alert-dialog.d.ts +7 -11
  76. package/dist/components/ui/alert-dialog.d.ts.map +1 -1
  77. package/dist/components/ui/alert.d.ts +8 -5
  78. package/dist/components/ui/alert.d.ts.map +1 -1
  79. package/dist/components/ui/avatar.d.ts +1 -6
  80. package/dist/components/ui/avatar.d.ts.map +1 -1
  81. package/dist/components/ui/badge.d.ts +4 -3
  82. package/dist/components/ui/badge.d.ts.map +1 -1
  83. package/dist/components/ui/breadcrumb.d.ts +1 -11
  84. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  85. package/dist/components/ui/button.d.ts +6 -6
  86. package/dist/components/ui/button.d.ts.map +1 -1
  87. package/dist/components/ui/calendar.d.ts +1 -1
  88. package/dist/components/ui/calendar.d.ts.map +1 -1
  89. package/dist/components/ui/card.d.ts +1 -9
  90. package/dist/components/ui/card.d.ts.map +1 -1
  91. package/dist/components/ui/checkbox.d.ts +1 -1
  92. package/dist/components/ui/checkbox.d.ts.map +1 -1
  93. package/dist/components/ui/collapsible.d.ts +1 -6
  94. package/dist/components/ui/collapsible.d.ts.map +1 -1
  95. package/dist/components/ui/data-table/TableView.d.ts +1 -1
  96. package/dist/components/ui/data-table/TableView.d.ts.map +1 -1
  97. package/dist/components/ui/data-table/cards/ResponsiveTable.d.ts +1 -1
  98. package/dist/components/ui/data-table/cards/ResponsiveTable.d.ts.map +1 -1
  99. package/dist/components/ui/data-table/types.d.ts +12 -1
  100. package/dist/components/ui/data-table/types.d.ts.map +1 -1
  101. package/dist/components/ui/data-table/useTableController.d.ts +3 -1
  102. package/dist/components/ui/data-table/useTableController.d.ts.map +1 -1
  103. package/dist/components/ui/dialog.d.ts +6 -10
  104. package/dist/components/ui/dialog.d.ts.map +1 -1
  105. package/dist/components/ui/drawer.d.ts +3 -11
  106. package/dist/components/ui/drawer.d.ts.map +1 -1
  107. package/dist/components/ui/dropdown-menu.d.ts +15 -23
  108. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  109. package/dist/components/ui/input.d.ts +3 -2
  110. package/dist/components/ui/input.d.ts.map +1 -1
  111. package/dist/components/ui/label.d.ts +1 -4
  112. package/dist/components/ui/label.d.ts.map +1 -1
  113. package/dist/components/ui/popover.d.ts +3 -5
  114. package/dist/components/ui/popover.d.ts.map +1 -1
  115. package/dist/components/ui/progress.d.ts +1 -1
  116. package/dist/components/ui/progress.d.ts.map +1 -1
  117. package/dist/components/ui/radio-group.d.ts +3 -3
  118. package/dist/components/ui/radio-group.d.ts.map +1 -1
  119. package/dist/components/ui/select.d.ts +6 -13
  120. package/dist/components/ui/select.d.ts.map +1 -1
  121. package/dist/components/ui/separator.d.ts +1 -4
  122. package/dist/components/ui/separator.d.ts.map +1 -1
  123. package/dist/components/ui/sheet.d.ts +12 -9
  124. package/dist/components/ui/sheet.d.ts.map +1 -1
  125. package/dist/components/ui/skeleton.d.ts +1 -3
  126. package/dist/components/ui/skeleton.d.ts.map +1 -1
  127. package/dist/components/ui/sonner.d.ts +1 -1
  128. package/dist/components/ui/sonner.d.ts.map +1 -1
  129. package/dist/components/ui/spinner.d.ts +1 -3
  130. package/dist/components/ui/spinner.d.ts.map +1 -1
  131. package/dist/components/ui/switch.d.ts +1 -1
  132. package/dist/components/ui/switch.d.ts.map +1 -1
  133. package/dist/components/ui/table.d.ts +4 -9
  134. package/dist/components/ui/table.d.ts.map +1 -1
  135. package/dist/components/ui/textarea.d.ts +1 -3
  136. package/dist/components/ui/textarea.d.ts.map +1 -1
  137. package/dist/components/ui/toggle.d.ts +1 -9
  138. package/dist/components/ui/toggle.d.ts.map +1 -1
  139. package/dist/components/ui/tooltip.d.ts +1 -7
  140. package/dist/components/ui/tooltip.d.ts.map +1 -1
  141. package/dist/index.d.ts +1 -1
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/lib/mm-react-components.css +1 -1
  144. package/dist/mm-react-components.es.js +724 -470
  145. package/dist/mm-react-components.es.js.map +1 -1
  146. package/dist/mm-react-components.umd.js +13 -12
  147. package/dist/mm-react-components.umd.js.map +1 -1
  148. package/dist/preview/DataTablePreview.d.ts.map +1 -1
  149. package/dist/preview/SheetPreview.d.ts.map +1 -1
  150. package/dist/themes/carbide.css +10 -0
  151. package/package.json +3 -3
@@ -3487,7 +3487,7 @@ const buttonVariants = cva(
3487
3487
  }
3488
3488
  }
3489
3489
  );
3490
- function Button$1({
3490
+ function Button$2({
3491
3491
  className,
3492
3492
  variant,
3493
3493
  size: size2,
@@ -3499,28 +3499,62 @@ function Button$1({
3499
3499
  Comp,
3500
3500
  {
3501
3501
  "data-slot": "button",
3502
- "data-variant": variant,
3503
- "data-size": size2,
3504
3502
  className: cn$1(buttonVariants({ variant, size: size2, className })),
3505
3503
  ...props
3506
3504
  }
3507
3505
  );
3508
3506
  }
3509
- function Input({ className, type, ...props }) {
3507
+ const Button$1 = React.forwardRef(({ className, variant, size: size2, ...props }, ref) => {
3508
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
3509
+ Button$2,
3510
+ {
3511
+ ref,
3512
+ className,
3513
+ variant,
3514
+ size: size2,
3515
+ "data-variant": variant,
3516
+ "data-size": size2,
3517
+ ...props
3518
+ }
3519
+ );
3520
+ });
3521
+ Button$1.displayName = "Button";
3522
+ function Input$1({ className, type, ...props }) {
3510
3523
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
3511
3524
  "input",
3512
3525
  {
3513
3526
  type,
3514
3527
  "data-slot": "input",
3515
3528
  className: cn$1(
3516
- "flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3529
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3530
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
3531
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
3517
3532
  className
3518
3533
  ),
3519
- readOnly: props.onChange == null && props.defaultValue == null ? true : props.readOnly,
3520
3534
  ...props
3521
3535
  }
3522
3536
  );
3523
3537
  }
3538
+ const Input = React.forwardRef(
3539
+ ({ className, type, readOnly, onChange, defaultValue: defaultValue2, ...props }, ref) => {
3540
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
3541
+ Input$1,
3542
+ {
3543
+ ref,
3544
+ type,
3545
+ className: cn$1(
3546
+ "flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3547
+ className
3548
+ ),
3549
+ readOnly: onChange == null && defaultValue2 == null ? true : readOnly,
3550
+ onChange,
3551
+ defaultValue: defaultValue2,
3552
+ ...props
3553
+ }
3554
+ );
3555
+ }
3556
+ );
3557
+ Input.displayName = "Input";
3524
3558
  /**
3525
3559
  * @license lucide-react v0.544.0 - ISC
3526
3560
  *
@@ -3626,125 +3660,136 @@ const createLucideIcon = (iconName, iconNode) => {
3626
3660
  * This source code is licensed under the ISC license.
3627
3661
  * See the LICENSE file in the root directory of this source tree.
3628
3662
  */
3629
- const __iconNode$n = [
3663
+ const __iconNode$q = [
3630
3664
  ["path", { d: "M12 5v14", key: "s699le" }],
3631
3665
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
3632
3666
  ];
3633
- const ArrowDown = createLucideIcon("arrow-down", __iconNode$n);
3667
+ const ArrowDown = createLucideIcon("arrow-down", __iconNode$q);
3634
3668
  /**
3635
3669
  * @license lucide-react v0.544.0 - ISC
3636
3670
  *
3637
3671
  * This source code is licensed under the ISC license.
3638
3672
  * See the LICENSE file in the root directory of this source tree.
3639
3673
  */
3640
- const __iconNode$m = [
3674
+ const __iconNode$p = [
3641
3675
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
3642
3676
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
3643
3677
  ];
3644
- const ArrowLeft = createLucideIcon("arrow-left", __iconNode$m);
3678
+ const ArrowLeft = createLucideIcon("arrow-left", __iconNode$p);
3645
3679
  /**
3646
3680
  * @license lucide-react v0.544.0 - ISC
3647
3681
  *
3648
3682
  * This source code is licensed under the ISC license.
3649
3683
  * See the LICENSE file in the root directory of this source tree.
3650
3684
  */
3651
- const __iconNode$l = [
3685
+ const __iconNode$o = [
3652
3686
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
3653
3687
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
3654
3688
  ];
3655
- const ArrowUp = createLucideIcon("arrow-up", __iconNode$l);
3689
+ const ArrowUp = createLucideIcon("arrow-up", __iconNode$o);
3656
3690
  /**
3657
3691
  * @license lucide-react v0.544.0 - ISC
3658
3692
  *
3659
3693
  * This source code is licensed under the ISC license.
3660
3694
  * See the LICENSE file in the root directory of this source tree.
3661
3695
  */
3662
- const __iconNode$k = [
3696
+ const __iconNode$n = [
3663
3697
  ["path", { d: "M8 2v4", key: "1cmpym" }],
3664
3698
  ["path", { d: "M16 2v4", key: "4m81vk" }],
3665
3699
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
3666
3700
  ["path", { d: "M3 10h18", key: "8toen8" }]
3667
3701
  ];
3668
- const Calendar$1 = createLucideIcon("calendar", __iconNode$k);
3702
+ const Calendar$1 = createLucideIcon("calendar", __iconNode$n);
3669
3703
  /**
3670
3704
  * @license lucide-react v0.544.0 - ISC
3671
3705
  *
3672
3706
  * This source code is licensed under the ISC license.
3673
3707
  * See the LICENSE file in the root directory of this source tree.
3674
3708
  */
3675
- const __iconNode$j = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
3676
- const Check = createLucideIcon("check", __iconNode$j);
3709
+ const __iconNode$m = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
3710
+ const Check = createLucideIcon("check", __iconNode$m);
3677
3711
  /**
3678
3712
  * @license lucide-react v0.544.0 - ISC
3679
3713
  *
3680
3714
  * This source code is licensed under the ISC license.
3681
3715
  * See the LICENSE file in the root directory of this source tree.
3682
3716
  */
3683
- const __iconNode$i = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
3684
- const ChevronDown = createLucideIcon("chevron-down", __iconNode$i);
3717
+ const __iconNode$l = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
3718
+ const ChevronDown = createLucideIcon("chevron-down", __iconNode$l);
3685
3719
  /**
3686
3720
  * @license lucide-react v0.544.0 - ISC
3687
3721
  *
3688
3722
  * This source code is licensed under the ISC license.
3689
3723
  * See the LICENSE file in the root directory of this source tree.
3690
3724
  */
3691
- const __iconNode$h = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
3692
- const ChevronLeft = createLucideIcon("chevron-left", __iconNode$h);
3725
+ const __iconNode$k = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
3726
+ const ChevronLeft = createLucideIcon("chevron-left", __iconNode$k);
3693
3727
  /**
3694
3728
  * @license lucide-react v0.544.0 - ISC
3695
3729
  *
3696
3730
  * This source code is licensed under the ISC license.
3697
3731
  * See the LICENSE file in the root directory of this source tree.
3698
3732
  */
3699
- const __iconNode$g = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
3700
- const ChevronRight = createLucideIcon("chevron-right", __iconNode$g);
3733
+ const __iconNode$j = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
3734
+ const ChevronRight = createLucideIcon("chevron-right", __iconNode$j);
3701
3735
  /**
3702
3736
  * @license lucide-react v0.544.0 - ISC
3703
3737
  *
3704
3738
  * This source code is licensed under the ISC license.
3705
3739
  * See the LICENSE file in the root directory of this source tree.
3706
3740
  */
3707
- const __iconNode$f = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
3708
- const ChevronUp = createLucideIcon("chevron-up", __iconNode$f);
3741
+ const __iconNode$i = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
3742
+ const ChevronUp = createLucideIcon("chevron-up", __iconNode$i);
3709
3743
  /**
3710
3744
  * @license lucide-react v0.544.0 - ISC
3711
3745
  *
3712
3746
  * This source code is licensed under the ISC license.
3713
3747
  * See the LICENSE file in the root directory of this source tree.
3714
3748
  */
3715
- const __iconNode$e = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
3716
- const Circle = createLucideIcon("circle", __iconNode$e);
3749
+ const __iconNode$h = [
3750
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3751
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
3752
+ ];
3753
+ const CircleCheck = createLucideIcon("circle-check", __iconNode$h);
3717
3754
  /**
3718
3755
  * @license lucide-react v0.544.0 - ISC
3719
3756
  *
3720
3757
  * This source code is licensed under the ISC license.
3721
3758
  * See the LICENSE file in the root directory of this source tree.
3722
3759
  */
3723
- const __iconNode$d = [
3760
+ const __iconNode$g = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
3761
+ const Circle = createLucideIcon("circle", __iconNode$g);
3762
+ /**
3763
+ * @license lucide-react v0.544.0 - ISC
3764
+ *
3765
+ * This source code is licensed under the ISC license.
3766
+ * See the LICENSE file in the root directory of this source tree.
3767
+ */
3768
+ const __iconNode$f = [
3724
3769
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
3725
3770
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
3726
3771
  ["path", { d: "M15 3v18", key: "14nvp0" }]
3727
3772
  ];
3728
- const Columns3 = createLucideIcon("columns-3", __iconNode$d);
3773
+ const Columns3 = createLucideIcon("columns-3", __iconNode$f);
3729
3774
  /**
3730
3775
  * @license lucide-react v0.544.0 - ISC
3731
3776
  *
3732
3777
  * This source code is licensed under the ISC license.
3733
3778
  * See the LICENSE file in the root directory of this source tree.
3734
3779
  */
3735
- const __iconNode$c = [
3780
+ const __iconNode$e = [
3736
3781
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
3737
3782
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
3738
3783
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
3739
3784
  ];
3740
- const Ellipsis = createLucideIcon("ellipsis", __iconNode$c);
3785
+ const Ellipsis = createLucideIcon("ellipsis", __iconNode$e);
3741
3786
  /**
3742
3787
  * @license lucide-react v0.544.0 - ISC
3743
3788
  *
3744
3789
  * This source code is licensed under the ISC license.
3745
3790
  * See the LICENSE file in the root directory of this source tree.
3746
3791
  */
3747
- const __iconNode$b = [
3792
+ const __iconNode$d = [
3748
3793
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
3749
3794
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
3750
3795
  ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
@@ -3752,60 +3797,60 @@ const __iconNode$b = [
3752
3797
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
3753
3798
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
3754
3799
  ];
3755
- const GripVertical = createLucideIcon("grip-vertical", __iconNode$b);
3800
+ const GripVertical = createLucideIcon("grip-vertical", __iconNode$d);
3756
3801
  /**
3757
3802
  * @license lucide-react v0.544.0 - ISC
3758
3803
  *
3759
3804
  * This source code is licensed under the ISC license.
3760
3805
  * See the LICENSE file in the root directory of this source tree.
3761
3806
  */
3762
- const __iconNode$a = [
3807
+ const __iconNode$c = [
3763
3808
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3764
3809
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
3765
3810
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
3766
3811
  ];
3767
- const Info = createLucideIcon("info", __iconNode$a);
3812
+ const Info = createLucideIcon("info", __iconNode$c);
3768
3813
  /**
3769
3814
  * @license lucide-react v0.544.0 - ISC
3770
3815
  *
3771
3816
  * This source code is licensed under the ISC license.
3772
3817
  * See the LICENSE file in the root directory of this source tree.
3773
3818
  */
3774
- const __iconNode$9 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
3775
- const LoaderCircle = createLucideIcon("loader-circle", __iconNode$9);
3819
+ const __iconNode$b = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
3820
+ const LoaderCircle = createLucideIcon("loader-circle", __iconNode$b);
3776
3821
  /**
3777
3822
  * @license lucide-react v0.544.0 - ISC
3778
3823
  *
3779
3824
  * This source code is licensed under the ISC license.
3780
3825
  * See the LICENSE file in the root directory of this source tree.
3781
3826
  */
3782
- const __iconNode$8 = [
3827
+ const __iconNode$a = [
3783
3828
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
3784
3829
  ["path", { d: "m21 3-7 7", key: "1l2asr" }],
3785
3830
  ["path", { d: "m3 21 7-7", key: "tjx5ai" }],
3786
3831
  ["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
3787
3832
  ];
3788
- const Maximize2 = createLucideIcon("maximize-2", __iconNode$8);
3833
+ const Maximize2 = createLucideIcon("maximize-2", __iconNode$a);
3789
3834
  /**
3790
3835
  * @license lucide-react v0.544.0 - ISC
3791
3836
  *
3792
3837
  * This source code is licensed under the ISC license.
3793
3838
  * See the LICENSE file in the root directory of this source tree.
3794
3839
  */
3795
- const __iconNode$7 = [
3840
+ const __iconNode$9 = [
3796
3841
  ["path", { d: "m14 10 7-7", key: "oa77jy" }],
3797
3842
  ["path", { d: "M20 10h-6V4", key: "mjg0md" }],
3798
3843
  ["path", { d: "m3 21 7-7", key: "tjx5ai" }],
3799
3844
  ["path", { d: "M4 14h6v6", key: "rmj7iw" }]
3800
3845
  ];
3801
- const Minimize2 = createLucideIcon("minimize-2", __iconNode$7);
3846
+ const Minimize2 = createLucideIcon("minimize-2", __iconNode$9);
3802
3847
  /**
3803
3848
  * @license lucide-react v0.544.0 - ISC
3804
3849
  *
3805
3850
  * This source code is licensed under the ISC license.
3806
3851
  * See the LICENSE file in the root directory of this source tree.
3807
3852
  */
3808
- const __iconNode$6 = [
3853
+ const __iconNode$8 = [
3809
3854
  [
3810
3855
  "path",
3811
3856
  {
@@ -3814,38 +3859,56 @@ const __iconNode$6 = [
3814
3859
  }
3815
3860
  ]
3816
3861
  ];
3817
- const Moon = createLucideIcon("moon", __iconNode$6);
3862
+ const Moon = createLucideIcon("moon", __iconNode$8);
3818
3863
  /**
3819
3864
  * @license lucide-react v0.544.0 - ISC
3820
3865
  *
3821
3866
  * This source code is licensed under the ISC license.
3822
3867
  * See the LICENSE file in the root directory of this source tree.
3823
3868
  */
3824
- const __iconNode$5 = [
3869
+ const __iconNode$7 = [
3870
+ ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
3871
+ [
3872
+ "path",
3873
+ {
3874
+ d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
3875
+ key: "2d38gg"
3876
+ }
3877
+ ],
3878
+ ["path", { d: "m9 9 6 6", key: "z0biqf" }]
3879
+ ];
3880
+ const OctagonX = createLucideIcon("octagon-x", __iconNode$7);
3881
+ /**
3882
+ * @license lucide-react v0.544.0 - ISC
3883
+ *
3884
+ * This source code is licensed under the ISC license.
3885
+ * See the LICENSE file in the root directory of this source tree.
3886
+ */
3887
+ const __iconNode$6 = [
3825
3888
  ["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
3826
3889
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }],
3827
3890
  ["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
3828
3891
  ["path", { d: "M8 16H3v5", key: "1cv678" }]
3829
3892
  ];
3830
- const RefreshCw = createLucideIcon("refresh-cw", __iconNode$5);
3893
+ const RefreshCw = createLucideIcon("refresh-cw", __iconNode$6);
3831
3894
  /**
3832
3895
  * @license lucide-react v0.544.0 - ISC
3833
3896
  *
3834
3897
  * This source code is licensed under the ISC license.
3835
3898
  * See the LICENSE file in the root directory of this source tree.
3836
3899
  */
3837
- const __iconNode$4 = [
3900
+ const __iconNode$5 = [
3838
3901
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
3839
3902
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
3840
3903
  ];
3841
- const Search = createLucideIcon("search", __iconNode$4);
3904
+ const Search = createLucideIcon("search", __iconNode$5);
3842
3905
  /**
3843
3906
  * @license lucide-react v0.544.0 - ISC
3844
3907
  *
3845
3908
  * This source code is licensed under the ISC license.
3846
3909
  * See the LICENSE file in the root directory of this source tree.
3847
3910
  */
3848
- const __iconNode$3 = [
3911
+ const __iconNode$4 = [
3849
3912
  ["path", { d: "M10 5H3", key: "1qgfaw" }],
3850
3913
  ["path", { d: "M12 19H3", key: "yhmn1j" }],
3851
3914
  ["path", { d: "M14 3v4", key: "1sua03" }],
@@ -3856,14 +3919,14 @@ const __iconNode$3 = [
3856
3919
  ["path", { d: "M8 10v4", key: "tgpxqk" }],
3857
3920
  ["path", { d: "M8 12H3", key: "a7s4jb" }]
3858
3921
  ];
3859
- const SlidersHorizontal = createLucideIcon("sliders-horizontal", __iconNode$3);
3922
+ const SlidersHorizontal = createLucideIcon("sliders-horizontal", __iconNode$4);
3860
3923
  /**
3861
3924
  * @license lucide-react v0.544.0 - ISC
3862
3925
  *
3863
3926
  * This source code is licensed under the ISC license.
3864
3927
  * See the LICENSE file in the root directory of this source tree.
3865
3928
  */
3866
- const __iconNode$2 = [
3929
+ const __iconNode$3 = [
3867
3930
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
3868
3931
  ["path", { d: "M12 2v2", key: "tus03m" }],
3869
3932
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -3874,7 +3937,25 @@ const __iconNode$2 = [
3874
3937
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
3875
3938
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
3876
3939
  ];
3877
- const Sun = createLucideIcon("sun", __iconNode$2);
3940
+ const Sun = createLucideIcon("sun", __iconNode$3);
3941
+ /**
3942
+ * @license lucide-react v0.544.0 - ISC
3943
+ *
3944
+ * This source code is licensed under the ISC license.
3945
+ * See the LICENSE file in the root directory of this source tree.
3946
+ */
3947
+ const __iconNode$2 = [
3948
+ [
3949
+ "path",
3950
+ {
3951
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
3952
+ key: "wmoenq"
3953
+ }
3954
+ ],
3955
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
3956
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
3957
+ ];
3958
+ const TriangleAlert = createLucideIcon("triangle-alert", __iconNode$2);
3878
3959
  /**
3879
3960
  * @license lucide-react v0.544.0 - ISC
3880
3961
  *
@@ -4597,13 +4678,11 @@ function isIndeterminate$1(checked) {
4597
4678
  function getState$6(checked) {
4598
4679
  return isIndeterminate$1(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
4599
4680
  }
4600
- function Checkbox({
4601
- className,
4602
- ...props
4603
- }) {
4681
+ const Checkbox = React.forwardRef(({ className, ...props }, ref) => {
4604
4682
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
4605
4683
  Checkbox$1,
4606
4684
  {
4685
+ ref,
4607
4686
  "data-slot": "checkbox",
4608
4687
  className: cn$1(
4609
4688
  "peer size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none disabled:cursor-not-allowed disabled:opacity-50",
@@ -4620,7 +4699,8 @@ function Checkbox({
4620
4699
  )
4621
4700
  }
4622
4701
  );
4623
- }
4702
+ });
4703
+ Checkbox.displayName = "Checkbox";
4624
4704
  function createCollection(name) {
4625
4705
  const PROVIDER_NAME2 = name + "CollectionProvider";
4626
4706
  const [createCollectionContext, createCollectionScope2] = createContextScope(PROVIDER_NAME2);
@@ -5193,13 +5273,11 @@ function RadioGroup$1({
5193
5273
  }
5194
5274
  );
5195
5275
  }
5196
- function RadioGroupItem({
5197
- className,
5198
- ...props
5199
- }) {
5276
+ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
5200
5277
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
5201
5278
  Item2$2,
5202
5279
  {
5280
+ ref,
5203
5281
  "data-slot": "radio-group-item",
5204
5282
  className: cn$1(
5205
5283
  "aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50",
@@ -5216,7 +5294,8 @@ function RadioGroupItem({
5216
5294
  )
5217
5295
  }
5218
5296
  );
5219
- }
5297
+ });
5298
+ RadioGroupItem.displayName = "RadioGroupItem";
5220
5299
  const badgeVariants = cva(
5221
5300
  "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
5222
5301
  {
@@ -5233,22 +5312,19 @@ const badgeVariants = cva(
5233
5312
  }
5234
5313
  }
5235
5314
  );
5236
- function Badge({
5237
- className,
5238
- variant,
5239
- asChild = false,
5240
- ...props
5241
- }) {
5315
+ const Badge = React.forwardRef(({ className, variant, asChild = false, ...props }, ref) => {
5242
5316
  const Comp = asChild ? Slot$4 : "span";
5243
5317
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
5244
5318
  Comp,
5245
5319
  {
5320
+ ref,
5246
5321
  "data-slot": "badge",
5247
5322
  className: cn$1(badgeVariants({ variant }), className),
5248
5323
  ...props
5249
5324
  }
5250
5325
  );
5251
- }
5326
+ });
5327
+ Badge.displayName = "Badge";
5252
5328
  function clamp$1(value, [min2, max2]) {
5253
5329
  return Math.min(max2, Math.max(min2, value));
5254
5330
  }
@@ -9834,29 +9910,6 @@ function SelectValue({
9834
9910
  }) {
9835
9911
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Value, { "data-slot": "select-value", ...props });
9836
9912
  }
9837
- function SelectTrigger({
9838
- className,
9839
- size: size2 = "default",
9840
- children,
9841
- ...props
9842
- }) {
9843
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
9844
- Trigger$6,
9845
- {
9846
- "data-slot": "select-trigger",
9847
- "data-size": size2,
9848
- className: cn$1(
9849
- "flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-colors outline-none disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8",
9850
- className
9851
- ),
9852
- ...props,
9853
- children: [
9854
- children,
9855
- /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4 opacity-50" }) })
9856
- ]
9857
- }
9858
- );
9859
- }
9860
9913
  function SelectContent({
9861
9914
  className,
9862
9915
  children,
@@ -9906,27 +9959,6 @@ function SelectLabel({
9906
9959
  }
9907
9960
  );
9908
9961
  }
9909
- function SelectItem({
9910
- className,
9911
- children,
9912
- ...props
9913
- }) {
9914
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
9915
- Item$1,
9916
- {
9917
- "data-slot": "select-item",
9918
- className: cn$1(
9919
- "relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
9920
- className
9921
- ),
9922
- ...props,
9923
- children: [
9924
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-4" }) }) }),
9925
- /* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children })
9926
- ]
9927
- }
9928
- );
9929
- }
9930
9962
  function SelectSeparator({
9931
9963
  className,
9932
9964
  ...props
@@ -9974,6 +10006,45 @@ function SelectScrollDownButton({
9974
10006
  }
9975
10007
  );
9976
10008
  }
10009
+ const SelectTrigger = React.forwardRef(({ className, size: size2 = "default", children, ...props }, ref) => {
10010
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
10011
+ Trigger$6,
10012
+ {
10013
+ ref,
10014
+ "data-slot": "select-trigger",
10015
+ "data-size": size2,
10016
+ className: cn$1(
10017
+ "flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-colors outline-none disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8",
10018
+ className
10019
+ ),
10020
+ ...props,
10021
+ children: [
10022
+ children,
10023
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "size-4 opacity-50" }) })
10024
+ ]
10025
+ }
10026
+ );
10027
+ });
10028
+ SelectTrigger.displayName = "SelectTrigger";
10029
+ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => {
10030
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
10031
+ Item$1,
10032
+ {
10033
+ ref,
10034
+ "data-slot": "select-item",
10035
+ className: cn$1(
10036
+ "relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
10037
+ className
10038
+ ),
10039
+ ...props,
10040
+ children: [
10041
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-4" }) }) }),
10042
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children })
10043
+ ]
10044
+ }
10045
+ );
10046
+ });
10047
+ SelectItem.displayName = "SelectItem";
9977
10048
  var DIALOG_NAME = "Dialog";
9978
10049
  var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
9979
10050
  var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
@@ -10045,7 +10116,7 @@ var DialogPortal$1 = (props) => {
10045
10116
  };
10046
10117
  DialogPortal$1.displayName = PORTAL_NAME$5;
10047
10118
  var OVERLAY_NAME$1 = "DialogOverlay";
10048
- var DialogOverlay$1 = React.forwardRef(
10119
+ var DialogOverlay$2 = React.forwardRef(
10049
10120
  (props, forwardedRef) => {
10050
10121
  const portalContext = usePortalContext$3(OVERLAY_NAME$1, props.__scopeDialog);
10051
10122
  const { forceMount = portalContext.forceMount, ...overlayProps } = props;
@@ -10053,7 +10124,7 @@ var DialogOverlay$1 = React.forwardRef(
10053
10124
  return context.modal ? /* @__PURE__ */ jsxRuntimeExports.jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;
10054
10125
  }
10055
10126
  );
10056
- DialogOverlay$1.displayName = OVERLAY_NAME$1;
10127
+ DialogOverlay$2.displayName = OVERLAY_NAME$1;
10057
10128
  var Slot$2 = /* @__PURE__ */ createSlot("DialogOverlay.RemoveScroll");
10058
10129
  var DialogOverlayImpl = React.forwardRef(
10059
10130
  (props, forwardedRef) => {
@@ -10271,7 +10342,7 @@ var DescriptionWarning$1 = ({ contentRef, descriptionId }) => {
10271
10342
  var Root$9 = Dialog$1;
10272
10343
  var Trigger$5 = DialogTrigger$1;
10273
10344
  var Portal$4 = DialogPortal$1;
10274
- var Overlay$1 = DialogOverlay$1;
10345
+ var Overlay$1 = DialogOverlay$2;
10275
10346
  var Content$3 = DialogContent$1;
10276
10347
  var Title = DialogTitle$1;
10277
10348
  var Description = DialogDescription$1;
@@ -10289,18 +10360,62 @@ function SheetClose({
10289
10360
  }) {
10290
10361
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { "data-slot": "sheet-close", ...props });
10291
10362
  }
10292
- function SheetPortal({
10363
+ function SheetHeader$1({ className, ...props }) {
10364
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
10365
+ "div",
10366
+ {
10367
+ "data-slot": "sheet-header",
10368
+ className: cn$1("flex flex-col gap-1.5 p-4", className),
10369
+ ...props
10370
+ }
10371
+ );
10372
+ }
10373
+ function SheetFooter$1({ className, ...props }) {
10374
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
10375
+ "div",
10376
+ {
10377
+ "data-slot": "sheet-footer",
10378
+ className: cn$1("mt-auto flex flex-col gap-2 p-4", className),
10379
+ ...props
10380
+ }
10381
+ );
10382
+ }
10383
+ function SheetTitle$1({
10384
+ className,
10293
10385
  ...props
10294
10386
  }) {
10295
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$4, { "data-slot": "sheet-portal", ...props });
10387
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
10388
+ Title,
10389
+ {
10390
+ "data-slot": "sheet-title",
10391
+ className: cn$1("text-foreground font-semibold", className),
10392
+ ...props
10393
+ }
10394
+ );
10296
10395
  }
10297
- function SheetOverlay({
10396
+ function SheetDescription$1({
10298
10397
  className,
10299
10398
  ...props
10300
10399
  }) {
10400
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
10401
+ Description,
10402
+ {
10403
+ "data-slot": "sheet-description",
10404
+ className: cn$1("text-muted-foreground text-sm", className),
10405
+ ...props
10406
+ }
10407
+ );
10408
+ }
10409
+ function SheetPortal({
10410
+ ...props
10411
+ }) {
10412
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$4, { "data-slot": "sheet-portal", ...props });
10413
+ }
10414
+ const SheetOverlay = React.forwardRef(({ className, ...props }, ref) => {
10301
10415
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
10302
10416
  Overlay$1,
10303
10417
  {
10418
+ ref,
10304
10419
  "data-slot": "sheet-overlay",
10305
10420
  className: cn$1(
10306
10421
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
@@ -10309,11 +10424,14 @@ function SheetOverlay({
10309
10424
  ...props
10310
10425
  }
10311
10426
  );
10312
- }
10427
+ });
10428
+ SheetOverlay.displayName = "SheetOverlay";
10313
10429
  function SheetContent({
10314
10430
  className,
10315
10431
  children,
10316
10432
  side = "right",
10433
+ showCloseButton = true,
10434
+ closeButtonPosition = "corner",
10317
10435
  ...props
10318
10436
  }) {
10319
10437
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(SheetPortal, { children: [
@@ -10333,7 +10451,7 @@ function SheetContent({
10333
10451
  ...props,
10334
10452
  children: [
10335
10453
  children,
10336
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
10454
+ showCloseButton && closeButtonPosition === "corner" && /* @__PURE__ */ jsxRuntimeExports.jsxs(
10337
10455
  Close,
10338
10456
  {
10339
10457
  "data-slot": "sheet-close",
@@ -10349,49 +10467,79 @@ function SheetContent({
10349
10467
  )
10350
10468
  ] });
10351
10469
  }
10352
- function SheetHeader({ className, ...props }) {
10470
+ const SheetHeader = React.forwardRef((props, ref) => {
10471
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SheetHeader$1, { ref, ...props });
10472
+ });
10473
+ SheetHeader.displayName = "SheetHeader";
10474
+ const SheetFooter = React.forwardRef((props, ref) => {
10475
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SheetFooter$1, { ref, ...props });
10476
+ });
10477
+ SheetFooter.displayName = "SheetFooter";
10478
+ const SheetTitle = React.forwardRef(({ className, ...props }, ref) => {
10353
10479
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
10354
- "div",
10480
+ SheetTitle$1,
10355
10481
  {
10356
- "data-slot": "sheet-header",
10357
- className: cn$1("flex flex-col gap-1.5 p-4", className),
10482
+ ref,
10483
+ className: cn$1("text-base font-semibold", className),
10358
10484
  ...props
10359
10485
  }
10360
10486
  );
10361
- }
10362
- function SheetFooter({ className, ...props }) {
10487
+ });
10488
+ SheetTitle.displayName = "SheetTitle";
10489
+ const SheetDescription = React.forwardRef(({ className, ...props }, ref) => {
10490
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
10491
+ SheetDescription$1,
10492
+ {
10493
+ ref,
10494
+ className: cn$1("text-sm", className),
10495
+ ...props
10496
+ }
10497
+ );
10498
+ });
10499
+ SheetDescription.displayName = "SheetDescription";
10500
+ function SheetHeaderRow({ className, ...props }) {
10363
10501
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
10364
10502
  "div",
10365
10503
  {
10366
- "data-slot": "sheet-footer",
10367
- className: cn$1("mt-auto flex flex-col gap-2 p-4", className),
10504
+ "data-slot": "sheet-header-row",
10505
+ className: cn$1(
10506
+ "flex items-center justify-between gap-4 px-4 pt-4",
10507
+ className
10508
+ ),
10368
10509
  ...props
10369
10510
  }
10370
10511
  );
10371
10512
  }
10372
- function SheetTitle({
10513
+ function SheetHeaderActions({
10373
10514
  className,
10374
10515
  ...props
10375
10516
  }) {
10376
10517
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
10377
- Title,
10518
+ "div",
10378
10519
  {
10379
- "data-slot": "sheet-title",
10380
- className: cn$1("text-base font-semibold", className),
10520
+ "data-slot": "sheet-header-actions",
10521
+ className: cn$1("flex items-center gap-2", className),
10381
10522
  ...props
10382
10523
  }
10383
10524
  );
10384
10525
  }
10385
- function SheetDescription({
10526
+ function SheetCloseButton({
10386
10527
  className,
10387
10528
  ...props
10388
10529
  }) {
10389
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
10390
- Description,
10530
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
10531
+ Close,
10391
10532
  {
10392
- "data-slot": "sheet-description",
10393
- className: cn$1("text-sm", className),
10394
- ...props
10533
+ "data-slot": "sheet-close-button",
10534
+ className: cn$1(
10535
+ "rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none",
10536
+ className
10537
+ ),
10538
+ ...props,
10539
+ children: [
10540
+ /* @__PURE__ */ jsxRuntimeExports.jsx(X$1, { className: "size-4" }),
10541
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
10542
+ ]
10395
10543
  }
10396
10544
  );
10397
10545
  }
@@ -11418,13 +11566,11 @@ function getState$3(checked) {
11418
11566
  }
11419
11567
  var Root$8 = Switch$1;
11420
11568
  var Thumb$1 = SwitchThumb;
11421
- function Switch({
11422
- className,
11423
- ...props
11424
- }) {
11569
+ const Switch = React.forwardRef(({ className, ...props }, ref) => {
11425
11570
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
11426
11571
  Root$8,
11427
11572
  {
11573
+ ref,
11428
11574
  "data-slot": "switch",
11429
11575
  className: cn$1(
11430
11576
  "peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50",
@@ -11442,7 +11588,8 @@ function Switch({
11442
11588
  )
11443
11589
  }
11444
11590
  );
11445
- }
11591
+ });
11592
+ Switch.displayName = "Switch";
11446
11593
  var SELECTION_KEYS = ["Enter", " "];
11447
11594
  var FIRST_KEYS = ["ArrowDown", "PageUp", "Home"];
11448
11595
  var LAST_KEYS = ["ArrowUp", "PageDown", "End"];
@@ -12509,93 +12656,20 @@ var Separator2 = DropdownMenuSeparator$1;
12509
12656
  var Sub2 = DropdownMenuSub$1;
12510
12657
  var SubTrigger2 = DropdownMenuSubTrigger$1;
12511
12658
  var SubContent2 = DropdownMenuSubContent$1;
12512
- function DropdownMenu({
12513
- onOpenChange,
12514
- ...props
12515
- }) {
12516
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
12517
- Root2$3,
12518
- {
12519
- "data-slot": "dropdown-menu",
12520
- onOpenChange,
12521
- ...props
12522
- }
12523
- );
12524
- }
12525
12659
  function DropdownMenuPortal({
12526
12660
  ...props
12527
12661
  }) {
12528
12662
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal2$1, { "data-slot": "dropdown-menu-portal", ...props });
12529
12663
  }
12530
- function DropdownMenuTrigger({ ...props }, ref) {
12531
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
12532
- Trigger$2,
12533
- {
12534
- "data-slot": "dropdown-menu-trigger",
12535
- ref,
12536
- ...props
12537
- }
12538
- );
12539
- }
12540
- const DropdownMenuTriggerWithRef = React.forwardRef(DropdownMenuTrigger);
12541
- function DropdownMenuContent({
12542
- className,
12543
- sideOffset = 4,
12544
- triggerRef,
12545
- ...props
12546
- }) {
12547
- const [triggerWidth, setTriggerWidth] = React.useState(
12548
- void 0
12549
- );
12550
- React.useEffect(() => {
12551
- if (triggerRef?.current) {
12552
- setTriggerWidth(triggerRef.current.offsetWidth);
12553
- }
12554
- }, [triggerRef]);
12555
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal2$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12556
- Content2$3,
12557
- {
12558
- "data-slot": "dropdown-menu-content",
12559
- sideOffset,
12560
- style: { minWidth: triggerWidth ? Math.max(triggerWidth, 128) : 128 },
12561
- className: cn$1(
12562
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
12563
- className
12564
- ),
12565
- ...props
12566
- }
12567
- ) });
12568
- }
12569
12664
  function DropdownMenuGroup({
12570
12665
  ...props
12571
12666
  }) {
12572
12667
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Group2, { "data-slot": "dropdown-menu-group", ...props });
12573
12668
  }
12574
- function DropdownMenuItem({
12575
- className,
12576
- inset,
12577
- variant = "default",
12578
- ...props
12579
- }) {
12580
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
12581
- Item2,
12582
- {
12583
- "data-slot": "dropdown-menu-item",
12584
- "data-inset": inset,
12585
- "data-variant": variant,
12586
- className: cn$1(
12587
- "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8",
12588
- className
12589
- ),
12590
- ...props
12591
- }
12592
- );
12593
- }
12594
12669
  function DropdownMenuCheckboxItem({
12595
12670
  className,
12596
12671
  children,
12597
12672
  checked,
12598
- onSelect,
12599
12673
  ...props
12600
12674
  }) {
12601
12675
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -12603,17 +12677,13 @@ function DropdownMenuCheckboxItem({
12603
12677
  {
12604
12678
  "data-slot": "dropdown-menu-checkbox-item",
12605
12679
  className: cn$1(
12606
- "relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
12680
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
12607
12681
  className
12608
12682
  ),
12609
12683
  checked,
12610
- onSelect: (event) => {
12611
- event.preventDefault();
12612
- if (onSelect) onSelect(event);
12613
- },
12614
12684
  ...props,
12615
12685
  children: [
12616
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "pointer-events-none absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-4" }) }) }),
12686
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemIndicator2, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Check, { className: "size-4" }) }) }),
12617
12687
  children
12618
12688
  ]
12619
12689
  }
@@ -12640,7 +12710,7 @@ function DropdownMenuRadioItem({
12640
12710
  {
12641
12711
  "data-slot": "dropdown-menu-radio-item",
12642
12712
  className: cn$1(
12643
- "relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
12713
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
12644
12714
  className
12645
12715
  ),
12646
12716
  ...props,
@@ -12715,7 +12785,7 @@ function DropdownMenuSubTrigger({
12715
12785
  "data-slot": "dropdown-menu-sub-trigger",
12716
12786
  "data-inset": inset,
12717
12787
  className: cn$1(
12718
- "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
12788
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
12719
12789
  className
12720
12790
  ),
12721
12791
  ...props,
@@ -12726,13 +12796,77 @@ function DropdownMenuSubTrigger({
12726
12796
  }
12727
12797
  );
12728
12798
  }
12729
- function DropdownMenuSubContent({
12730
- className,
12799
+ function DropdownMenu({
12800
+ onOpenChange,
12731
12801
  ...props
12732
12802
  }) {
12803
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
12804
+ Root2$3,
12805
+ {
12806
+ "data-slot": "dropdown-menu",
12807
+ onOpenChange,
12808
+ ...props
12809
+ }
12810
+ );
12811
+ }
12812
+ const DropdownMenuTrigger = React.forwardRef((props, ref) => {
12813
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
12814
+ Trigger$2,
12815
+ {
12816
+ ref,
12817
+ "data-slot": "dropdown-menu-trigger",
12818
+ ...props
12819
+ }
12820
+ );
12821
+ });
12822
+ DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
12823
+ const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, triggerRef, ...props }, ref) => {
12824
+ const [triggerWidth, setTriggerWidth] = React.useState(
12825
+ void 0
12826
+ );
12827
+ React.useEffect(() => {
12828
+ if (triggerRef?.current) {
12829
+ setTriggerWidth(triggerRef.current.offsetWidth);
12830
+ }
12831
+ }, [triggerRef]);
12832
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal2$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
12833
+ Content2$3,
12834
+ {
12835
+ ref,
12836
+ "data-slot": "dropdown-menu-content",
12837
+ sideOffset,
12838
+ style: { minWidth: triggerWidth ? Math.max(triggerWidth, 128) : 128 },
12839
+ className: cn$1(
12840
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
12841
+ className
12842
+ ),
12843
+ ...props
12844
+ }
12845
+ ) });
12846
+ });
12847
+ DropdownMenuContent.displayName = "DropdownMenuContent";
12848
+ const DropdownMenuItem = React.forwardRef(({ className, inset, variant = "default", ...props }, ref) => {
12849
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
12850
+ Item2,
12851
+ {
12852
+ ref,
12853
+ "data-slot": "dropdown-menu-item",
12854
+ "data-inset": inset,
12855
+ "data-variant": variant,
12856
+ className: cn$1(
12857
+ "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8",
12858
+ className
12859
+ ),
12860
+ ...props
12861
+ }
12862
+ );
12863
+ });
12864
+ DropdownMenuItem.displayName = "DropdownMenuItem";
12865
+ const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => {
12733
12866
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
12734
12867
  SubContent2,
12735
12868
  {
12869
+ ref,
12736
12870
  "data-slot": "dropdown-menu-sub-content",
12737
12871
  className: cn$1(
12738
12872
  "bg-popover border dark:bg-[var(--overlay-bg)] dark:border-[var(--overlay-border)] text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md p-1 shadow-lg",
@@ -12741,7 +12875,8 @@ function DropdownMenuSubContent({
12741
12875
  ...props
12742
12876
  }
12743
12877
  );
12744
- }
12878
+ });
12879
+ DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
12745
12880
  const millisecondsInWeek = 6048e5;
12746
12881
  const millisecondsInDay = 864e5;
12747
12882
  const millisecondsInMinute = 6e4;
@@ -12982,6 +13117,21 @@ function startOfYear(date, options) {
12982
13117
  date_.setHours(0, 0, 0, 0);
12983
13118
  return date_;
12984
13119
  }
13120
+ function eachYearOfInterval(interval, options) {
13121
+ const { start, end } = normalizeInterval(options?.in, interval);
13122
+ let reversed = +start > +end;
13123
+ const endTime = reversed ? +start : +end;
13124
+ const date = reversed ? end : start;
13125
+ date.setHours(0, 0, 0, 0);
13126
+ date.setMonth(0, 1);
13127
+ let step = 1;
13128
+ const dates = [];
13129
+ while (+date <= endTime) {
13130
+ dates.push(constructFrom(start, date));
13131
+ date.setFullYear(date.getFullYear() + step);
13132
+ }
13133
+ return reversed ? dates.reverse() : dates;
13134
+ }
12985
13135
  function endOfWeek(date, options) {
12986
13136
  const defaultOptions2 = getDefaultOptions();
12987
13137
  const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions2.weekStartsOn ?? defaultOptions2.locale?.options?.weekStartsOn ?? 0;
@@ -14808,7 +14958,7 @@ const PageHeader = React__default.memo(
14808
14958
  if (hasOverflowActions) {
14809
14959
  inlineActions.push(
14810
14960
  /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
14811
- /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTriggerWithRef, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button$1, { variant: "outline", size: "default", children: [
14961
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Button$1, { variant: "outline", size: "default", children: [
14812
14962
  "Actions",
14813
14963
  /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, { className: "ml-2 h-4 w-4" })
14814
14964
  ] }) }),
@@ -14991,7 +15141,7 @@ const PageHeader = React__default.memo(
14991
15141
  const renderMenu = (items, dataAttr, className) => {
14992
15142
  if (items.length === 0) return null;
14993
15143
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-page-header": dataAttr, className, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
14994
- /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTriggerWithRef, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { variant: "outline", size: "icon", className: "shrink-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Ellipsis, { className: "h-4 w-4" }) }) }),
15144
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { variant: "outline", size: "icon", className: "shrink-0", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Ellipsis, { className: "h-4 w-4" }) }) }),
14995
15145
  /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuContent, { align: "end", className: "w-56 space-y-1", children: items })
14996
15146
  ] }) });
14997
15147
  };
@@ -15131,7 +15281,7 @@ function DialogClose({
15131
15281
  }) {
15132
15282
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { "data-slot": "dialog-close", ...props });
15133
15283
  }
15134
- function DialogOverlay({
15284
+ function DialogOverlay$1({
15135
15285
  className,
15136
15286
  ...props
15137
15287
  }) {
@@ -15140,48 +15290,13 @@ function DialogOverlay({
15140
15290
  {
15141
15291
  "data-slot": "dialog-overlay",
15142
15292
  className: cn$1(
15143
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
15293
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
15144
15294
  className
15145
15295
  ),
15146
15296
  ...props
15147
15297
  }
15148
15298
  );
15149
15299
  }
15150
- function DialogContent({
15151
- className,
15152
- children,
15153
- showCloseButton = true,
15154
- ...props
15155
- }) {
15156
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
15157
- /* @__PURE__ */ jsxRuntimeExports.jsx(DialogOverlay, {}),
15158
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
15159
- Content$3,
15160
- {
15161
- "data-slot": "dialog-content",
15162
- className: cn$1(
15163
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg outline-none",
15164
- className
15165
- ),
15166
- ...props,
15167
- children: [
15168
- children,
15169
- showCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsxs(
15170
- Close,
15171
- {
15172
- "data-slot": "dialog-close",
15173
- className: "absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
15174
- children: [
15175
- /* @__PURE__ */ jsxRuntimeExports.jsx(X$1, {}),
15176
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
15177
- ]
15178
- }
15179
- )
15180
- ]
15181
- }
15182
- )
15183
- ] });
15184
- }
15185
15300
  function DialogHeader({ className, ...props }) {
15186
15301
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
15187
15302
  "div",
@@ -15218,19 +15333,68 @@ function DialogTitle({
15218
15333
  }
15219
15334
  );
15220
15335
  }
15221
- function DialogDescription({
15336
+ const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => {
15337
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
15338
+ Overlay$1,
15339
+ {
15340
+ ref,
15341
+ "data-slot": "dialog-overlay",
15342
+ className: cn$1(
15343
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
15344
+ className
15345
+ ),
15346
+ ...props
15347
+ }
15348
+ );
15349
+ });
15350
+ DialogOverlay.displayName = DialogOverlay$1.name || "DialogOverlay";
15351
+ function DialogContent({
15222
15352
  className,
15353
+ children,
15354
+ showCloseButton = true,
15223
15355
  ...props
15224
15356
  }) {
15357
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(DialogPortal, { children: [
15358
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DialogOverlay, {}),
15359
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
15360
+ Content$3,
15361
+ {
15362
+ "data-slot": "dialog-content",
15363
+ className: cn$1(
15364
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg outline-none",
15365
+ className
15366
+ ),
15367
+ ...props,
15368
+ children: [
15369
+ children,
15370
+ showCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsxs(
15371
+ Close,
15372
+ {
15373
+ "data-slot": "dialog-close",
15374
+ className: "absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
15375
+ children: [
15376
+ /* @__PURE__ */ jsxRuntimeExports.jsx(X$1, {}),
15377
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
15378
+ ]
15379
+ }
15380
+ )
15381
+ ]
15382
+ }
15383
+ )
15384
+ ] });
15385
+ }
15386
+ const DialogDescription = React.forwardRef(({ className, ...props }, ref) => {
15225
15387
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
15226
15388
  Description,
15227
15389
  {
15390
+ ref,
15228
15391
  "data-slot": "dialog-description",
15229
15392
  className: cn$1("text-sm", className),
15230
15393
  ...props
15231
15394
  }
15232
15395
  );
15233
- }
15396
+ });
15397
+ DialogDescription.displayName = Description.displayName;
15234
15398
  function __insertCSS$1(code) {
15235
15399
  if (typeof document == "undefined") return;
15236
15400
  let head = document.head || document.getElementsByTagName("head")[0];
@@ -16699,7 +16863,9 @@ const Drawer$1 = {
16699
16863
  Title,
16700
16864
  Description
16701
16865
  };
16702
- function Drawer({ ...props }) {
16866
+ function Drawer({
16867
+ ...props
16868
+ }) {
16703
16869
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer$1.Root, { "data-slot": "drawer", ...props });
16704
16870
  }
16705
16871
  function DrawerTrigger({
@@ -16707,59 +16873,25 @@ function DrawerTrigger({
16707
16873
  }) {
16708
16874
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer$1.Trigger, { "data-slot": "drawer-trigger", ...props });
16709
16875
  }
16710
- function DrawerClose({
16711
- ...props
16712
- }) {
16713
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer$1.Close, { "data-slot": "drawer-close", ...props });
16714
- }
16715
16876
  function DrawerPortal({
16716
16877
  ...props
16717
16878
  }) {
16718
16879
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer$1.Portal, { "data-slot": "drawer-portal", ...props });
16719
16880
  }
16720
- function DrawerOverlay({
16721
- className,
16722
- ...props
16723
- }) {
16724
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
16725
- Drawer$1.Overlay,
16726
- {
16727
- "data-slot": "drawer-overlay",
16728
- className: cn$1(
16729
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
16730
- className
16731
- ),
16732
- ...props
16733
- }
16734
- );
16735
- }
16736
- function DrawerContent({
16737
- className,
16738
- children,
16881
+ function DrawerClose({
16739
16882
  ...props
16740
16883
  }) {
16741
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(DrawerPortal, { children: [
16742
- /* @__PURE__ */ jsxRuntimeExports.jsx(DrawerOverlay, {}),
16743
- /* @__PURE__ */ jsxRuntimeExports.jsx(
16744
- Drawer$1.Content,
16745
- {
16746
- "data-slot": "drawer-content",
16747
- className: cn$1(
16748
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom fixed inset-x-0 bottom-0 z-50 mt-24 flex max-h-[85vh] w-full flex-col gap-4 rounded-t-lg border p-6 shadow-lg outline-none duration-200",
16749
- className
16750
- ),
16751
- ...props,
16752
- children
16753
- }
16754
- )
16755
- ] });
16884
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Drawer$1.Close, { "data-slot": "drawer-close", ...props });
16756
16885
  }
16757
16886
  function DrawerHeader({ className, ...props }) {
16758
16887
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
16759
16888
  "div",
16760
16889
  {
16761
16890
  "data-slot": "drawer-header",
16762
- className: cn$1("flex flex-col gap-2 text-left", className),
16891
+ className: cn$1(
16892
+ "flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",
16893
+ className
16894
+ ),
16763
16895
  ...props
16764
16896
  }
16765
16897
  );
@@ -16769,7 +16901,7 @@ function DrawerFooter({ className, ...props }) {
16769
16901
  "div",
16770
16902
  {
16771
16903
  "data-slot": "drawer-footer",
16772
- className: cn$1("mt-auto flex flex-col gap-2", className),
16904
+ className: cn$1("mt-auto flex flex-col gap-2 p-4", className),
16773
16905
  ...props
16774
16906
  }
16775
16907
  );
@@ -16782,7 +16914,7 @@ function DrawerTitle({
16782
16914
  Drawer$1.Title,
16783
16915
  {
16784
16916
  "data-slot": "drawer-title",
16785
- className: cn$1("text-lg leading-none font-semibold", className),
16917
+ className: cn$1("text-foreground font-semibold", className),
16786
16918
  ...props
16787
16919
  }
16788
16920
  );
@@ -16795,11 +16927,47 @@ function DrawerDescription({
16795
16927
  Drawer$1.Description,
16796
16928
  {
16797
16929
  "data-slot": "drawer-description",
16798
- className: cn$1("text-sm", className),
16930
+ className: cn$1("text-muted-foreground text-sm", className),
16799
16931
  ...props
16800
16932
  }
16801
16933
  );
16802
16934
  }
16935
+ const DrawerOverlay = React.forwardRef(({ className, ...props }, ref) => {
16936
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
16937
+ Drawer$1.Overlay,
16938
+ {
16939
+ ref,
16940
+ "data-slot": "drawer-overlay",
16941
+ className: cn$1(
16942
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
16943
+ className
16944
+ ),
16945
+ ...props
16946
+ }
16947
+ );
16948
+ });
16949
+ DrawerOverlay.displayName = "DrawerOverlay";
16950
+ function DrawerContent({
16951
+ className,
16952
+ children,
16953
+ ...props
16954
+ }) {
16955
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Drawer$1.Portal, { children: [
16956
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DrawerOverlay, {}),
16957
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
16958
+ Drawer$1.Content,
16959
+ {
16960
+ "data-slot": "drawer-content",
16961
+ className: cn$1(
16962
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom fixed inset-x-0 bottom-0 z-50 mt-24 flex max-h-[85vh] w-full flex-col gap-4 rounded-t-lg border p-6 shadow-lg outline-none duration-200",
16963
+ className
16964
+ ),
16965
+ ...props,
16966
+ children
16967
+ }
16968
+ )
16969
+ ] });
16970
+ }
16803
16971
  function DrawerHandle({
16804
16972
  className,
16805
16973
  ...props
@@ -16830,16 +16998,6 @@ function Table({ className, ...props }) {
16830
16998
  }
16831
16999
  );
16832
17000
  }
16833
- function TableHeader$1({ className, ...props }) {
16834
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
16835
- "thead",
16836
- {
16837
- "data-slot": "table-header",
16838
- className: cn$1("[&_tr]:border-b", className),
16839
- ...props
16840
- }
16841
- );
16842
- }
16843
17001
  function TableBody$1({ className, ...props }) {
16844
17002
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
16845
17003
  "tbody",
@@ -16863,26 +17021,13 @@ function TableFooter({ className, ...props }) {
16863
17021
  }
16864
17022
  );
16865
17023
  }
16866
- function TableRow({ className, ...props }) {
16867
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
16868
- "tr",
16869
- {
16870
- "data-slot": "table-row",
16871
- className: cn$1(
16872
- "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
16873
- className
16874
- ),
16875
- ...props
16876
- }
16877
- );
16878
- }
16879
17024
  function TableHead$1({ className, ...props }) {
16880
17025
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
16881
17026
  "th",
16882
17027
  {
16883
17028
  "data-slot": "table-head",
16884
17029
  className: cn$1(
16885
- "text-foreground h-10 px-2 text-left align-middle text-xs font-semibold whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] [&_button]:text-xs [&_button]:font-semibold [&_[data-slot='button']]:text-xs [&_[data-slot='button']]:font-semibold",
17030
+ "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
16886
17031
  className
16887
17032
  ),
16888
17033
  ...props
@@ -16895,7 +17040,7 @@ function TableCell({ className, ...props }) {
16895
17040
  {
16896
17041
  "data-slot": "table-cell",
16897
17042
  className: cn$1(
16898
- "p-2 align-middle whitespace-nowrap text-xs font-normal [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
17043
+ "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
16899
17044
  className
16900
17045
  ),
16901
17046
  ...props
@@ -16915,6 +17060,33 @@ function TableCaption({
16915
17060
  }
16916
17061
  );
16917
17062
  }
17063
+ const TableHeader$1 = React.forwardRef(({ className, ...props }, ref) => {
17064
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
17065
+ "thead",
17066
+ {
17067
+ ref,
17068
+ "data-slot": "table-header",
17069
+ className: cn$1("[&_tr]:border-b", className),
17070
+ ...props
17071
+ }
17072
+ );
17073
+ });
17074
+ TableHeader$1.displayName = "TableHeader";
17075
+ const TableRow = React.forwardRef(({ className, ...props }, ref) => {
17076
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
17077
+ "tr",
17078
+ {
17079
+ ref,
17080
+ "data-slot": "table-row",
17081
+ className: cn$1(
17082
+ "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",
17083
+ className
17084
+ ),
17085
+ ...props
17086
+ }
17087
+ );
17088
+ });
17089
+ TableRow.displayName = "TableRow";
16918
17090
  function Skeleton({ className, ...props }) {
16919
17091
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
16920
17092
  "div",
@@ -17953,6 +18125,18 @@ class DateLib {
17953
18125
  this.eachMonthOfInterval = (interval) => {
17954
18126
  return this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(interval) : eachMonthOfInterval(interval);
17955
18127
  };
18128
+ this.eachYearOfInterval = (interval) => {
18129
+ const years = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(interval) : eachYearOfInterval(interval);
18130
+ const uniqueYears = new Set(years.map((d) => this.getYear(d)));
18131
+ if (uniqueYears.size === years.length) {
18132
+ return years;
18133
+ }
18134
+ const yearsArray = [];
18135
+ uniqueYears.forEach((y) => {
18136
+ yearsArray.push(new Date(y, 0, 1));
18137
+ });
18138
+ return yearsArray;
18139
+ };
17956
18140
  this.endOfBroadcastWeek = (date) => {
17957
18141
  return this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(date) : endOfBroadcastWeek(date, this);
17958
18142
  };
@@ -18691,21 +18875,16 @@ function getYearOptions(navStart, navEnd, formatters2, dateLib, reverse = false)
18691
18875
  return void 0;
18692
18876
  if (!navEnd)
18693
18877
  return void 0;
18694
- const { startOfYear: startOfYear2, endOfYear: endOfYear2, addYears: addYears2, getYear: getYear2, isBefore: isBefore2, isSameYear: isSameYear2 } = dateLib;
18878
+ const { startOfYear: startOfYear2, endOfYear: endOfYear2, eachYearOfInterval: eachYearOfInterval2, getYear: getYear2 } = dateLib;
18695
18879
  const firstNavYear = startOfYear2(navStart);
18696
18880
  const lastNavYear = endOfYear2(navEnd);
18697
- const years = [];
18698
- let year = firstNavYear;
18699
- while (isBefore2(year, lastNavYear) || isSameYear2(year, lastNavYear)) {
18700
- years.push(year);
18701
- year = addYears2(year, 1);
18702
- }
18881
+ const years = eachYearOfInterval2({ start: firstNavYear, end: lastNavYear });
18703
18882
  if (reverse)
18704
18883
  years.reverse();
18705
- return years.map((year2) => {
18706
- const label = formatters2.formatYearDropdown(year2, dateLib);
18884
+ return years.map((year) => {
18885
+ const label = formatters2.formatYearDropdown(year, dateLib);
18707
18886
  return {
18708
- value: getYear2(year2),
18887
+ value: getYear2(year),
18709
18888
  label,
18710
18889
  disabled: false
18711
18890
  };
@@ -19214,6 +19393,12 @@ function useFocus(props, calendar, getModifiers, isSelected, dateLib) {
19214
19393
  const nextFocus = getNextFocus(moveBy, moveDir, focusedDay, calendar.navStart, calendar.navEnd, props, dateLib);
19215
19394
  if (!nextFocus)
19216
19395
  return;
19396
+ if (props.disableNavigation) {
19397
+ const isNextInCalendar = calendar.days.some((day) => day.isEqualTo(nextFocus));
19398
+ if (!isNextInCalendar) {
19399
+ return;
19400
+ }
19401
+ }
19217
19402
  calendar.goToDay(nextFocus);
19218
19403
  setFocused(nextFocus);
19219
19404
  };
@@ -19749,7 +19934,7 @@ function Calendar({
19749
19934
  {
19750
19935
  showOutsideDays,
19751
19936
  className: cn$1(
19752
- "group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
19937
+ "bg-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
19753
19938
  String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
19754
19939
  String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
19755
19940
  className
@@ -19880,7 +20065,7 @@ function CalendarDayButton({
19880
20065
  if (modifiers.focused) ref.current?.focus();
19881
20066
  }, [modifiers.focused]);
19882
20067
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
19883
- Button$1,
20068
+ Button$2,
19884
20069
  {
19885
20070
  ref,
19886
20071
  variant: "ghost",
@@ -20186,15 +20371,11 @@ function PopoverTrigger({
20186
20371
  }) {
20187
20372
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger$1, { "data-slot": "popover-trigger", ...props });
20188
20373
  }
20189
- function PopoverContent({
20190
- className,
20191
- align = "center",
20192
- sideOffset = 4,
20193
- ...props
20194
- }) {
20374
+ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
20195
20375
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
20196
20376
  Content2$2,
20197
20377
  {
20378
+ ref,
20198
20379
  "data-slot": "popover-content",
20199
20380
  align,
20200
20381
  sideOffset,
@@ -20205,7 +20386,8 @@ function PopoverContent({
20205
20386
  ...props
20206
20387
  }
20207
20388
  ) });
20208
- }
20389
+ });
20390
+ PopoverContent.displayName = "PopoverContent";
20209
20391
  function DatePicker({
20210
20392
  label,
20211
20393
  placeholder = "Select date",
@@ -24726,7 +24908,7 @@ function ColumnVisibilityMenu({
24726
24908
  [order, table]
24727
24909
  );
24728
24910
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
24729
- /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTriggerWithRef, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
24911
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
24730
24912
  Button$1,
24731
24913
  {
24732
24914
  variant: "outline",
@@ -25535,40 +25717,42 @@ var Header = AccordionHeader;
25535
25717
  var Trigger2$1 = AccordionTrigger$1;
25536
25718
  var Content2$1 = AccordionContent$1;
25537
25719
  function Accordion({
25720
+ ...props
25721
+ }) {
25722
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2$1, { "data-slot": "accordion", ...props });
25723
+ }
25724
+ function AccordionContent({
25538
25725
  className,
25726
+ children,
25539
25727
  ...props
25540
25728
  }) {
25541
25729
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
25542
- Root2$1,
25730
+ Content2$1,
25543
25731
  {
25544
- "data-slot": "accordion",
25545
- className: cn$1(className),
25546
- ...props
25732
+ "data-slot": "accordion-content",
25733
+ className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
25734
+ ...props,
25735
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn$1("pt-0 pb-4", className), children })
25547
25736
  }
25548
25737
  );
25549
25738
  }
25550
- function AccordionItem({
25551
- className,
25552
- ...props
25553
- }) {
25739
+ const AccordionItem = React.forwardRef(({ className, ...props }, ref) => {
25554
25740
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
25555
25741
  Item,
25556
25742
  {
25743
+ ref,
25557
25744
  "data-slot": "accordion-item",
25558
25745
  className: cn$1("last:border-b-0", className),
25559
25746
  ...props
25560
25747
  }
25561
25748
  );
25562
- }
25563
- function AccordionTrigger({
25564
- className,
25565
- children,
25566
- indicatorClassName,
25567
- ...props
25568
- }) {
25749
+ });
25750
+ AccordionItem.displayName = "AccordionItem";
25751
+ const AccordionTrigger = React.forwardRef(({ className, children, indicatorClassName, ...props }, ref) => {
25569
25752
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Header, { className: "flex", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
25570
25753
  Trigger2$1,
25571
25754
  {
25755
+ ref,
25572
25756
  "data-slot": "accordion-trigger",
25573
25757
  className: cn$1(
25574
25758
  "flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
@@ -25589,22 +25773,8 @@ function AccordionTrigger({
25589
25773
  ]
25590
25774
  }
25591
25775
  ) });
25592
- }
25593
- function AccordionContent({
25594
- className,
25595
- children,
25596
- ...props
25597
- }) {
25598
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
25599
- Content2$1,
25600
- {
25601
- "data-slot": "accordion-content",
25602
- className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
25603
- ...props,
25604
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn$1("pt-0 pb-4", className), children })
25605
- }
25606
- );
25607
- }
25776
+ });
25777
+ AccordionTrigger.displayName = "AccordionTrigger";
25608
25778
  function FilterMenu({
25609
25779
  filters,
25610
25780
  onClearAll,
@@ -25651,7 +25821,7 @@ function FilterMenu({
25651
25821
  );
25652
25822
  if (!filters.length) return null;
25653
25823
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
25654
- /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTriggerWithRef, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
25824
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
25655
25825
  Button$1,
25656
25826
  {
25657
25827
  variant: "outline",
@@ -25935,7 +26105,7 @@ function SortMenu({ table }) {
25935
26105
  const buttonLabel = currentSort ? `Sort by ${activeLabel}` : "Sort";
25936
26106
  const SortIcon = currentDirection === "asc" ? ArrowUp : ArrowDown;
25937
26107
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(DropdownMenu, { children: [
25938
- /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTriggerWithRef, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
26108
+ /* @__PURE__ */ jsxRuntimeExports.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
25939
26109
  Button$1,
25940
26110
  {
25941
26111
  variant: "outline",
@@ -26079,7 +26249,7 @@ function DataTableToolbar({
26079
26249
  {
26080
26250
  "aria-label": "Search",
26081
26251
  placeholder: "Search",
26082
- value: globalFilter,
26252
+ value: globalFilter ?? "",
26083
26253
  onChange: (event) => {
26084
26254
  const value = event.target.value;
26085
26255
  onGlobalFilterChange(value);
@@ -29294,6 +29464,8 @@ function useTableController(options) {
29294
29464
  columnRegistry,
29295
29465
  initialState: initialState2,
29296
29466
  tableId,
29467
+ disableGlobalFilter,
29468
+ customGlobalFilterFn,
29297
29469
  onRowSelectionChange,
29298
29470
  onSortingChange,
29299
29471
  onPaginationChange,
@@ -29419,6 +29591,15 @@ function useTableController(options) {
29419
29591
  } catch {
29420
29592
  }
29421
29593
  }, [columnOrder, columnVisibility, sorting, storageKey]);
29594
+ const globalFilterFn = React.useMemo(() => {
29595
+ if (disableGlobalFilter) {
29596
+ return (_row, _columnId, _filterValue) => true;
29597
+ }
29598
+ if (customGlobalFilterFn) {
29599
+ return customGlobalFilterFn;
29600
+ }
29601
+ return void 0;
29602
+ }, [disableGlobalFilter, customGlobalFilterFn]);
29422
29603
  const table = useReactTable({
29423
29604
  data,
29424
29605
  columns: resolvedColumns,
@@ -29434,6 +29615,8 @@ function useTableController(options) {
29434
29615
  enableRowSelection: true,
29435
29616
  enableColumnResizing: true,
29436
29617
  enableColumnPinning: true,
29618
+ enableGlobalFilter: true,
29619
+ globalFilterFn,
29437
29620
  onRowSelectionChange: wrappedSetRowSelection,
29438
29621
  onSortingChange: wrappedSetSorting,
29439
29622
  onColumnVisibilityChange: wrappedSetColumnVisibility,
@@ -29972,7 +30155,8 @@ function DataTable({
29972
30155
  onColumnOrderChange,
29973
30156
  onBatchAction,
29974
30157
  onRowClick,
29975
- onExportComplete
30158
+ onExportComplete,
30159
+ customGlobalFilterFn
29976
30160
  }) {
29977
30161
  const debug2 = (..._args) => {
29978
30162
  return;
@@ -29991,6 +30175,8 @@ function DataTable({
29991
30175
  columnRegistry,
29992
30176
  initialState: initialState2,
29993
30177
  tableId,
30178
+ disableGlobalFilter: toolbar?.disableGlobalFilter,
30179
+ customGlobalFilterFn,
29994
30180
  onRowSelectionChange,
29995
30181
  onSortingChange,
29996
30182
  onPaginationChange,
@@ -31866,7 +32052,8 @@ function ResponsiveTable({
31866
32052
  onColumnOrderChange,
31867
32053
  onBatchAction,
31868
32054
  onRowClick,
31869
- onExportComplete
32055
+ onExportComplete,
32056
+ customGlobalFilterFn
31870
32057
  }) {
31871
32058
  const isMobile = useBreakpoint(breakpoint);
31872
32059
  if (!isMobile) {
@@ -31889,7 +32076,8 @@ function ResponsiveTable({
31889
32076
  onColumnOrderChange,
31890
32077
  onBatchAction,
31891
32078
  onRowClick,
31892
- onExportComplete
32079
+ onExportComplete,
32080
+ customGlobalFilterFn
31893
32081
  }
31894
32082
  ) });
31895
32083
  }
@@ -31915,7 +32103,8 @@ function ResponsiveTable({
31915
32103
  onColumnOrderChange,
31916
32104
  onBatchAction,
31917
32105
  onRowClick,
31918
- onExportComplete
32106
+ onExportComplete,
32107
+ customGlobalFilterFn
31919
32108
  }
31920
32109
  ) });
31921
32110
  }
@@ -31939,7 +32128,8 @@ function MobileTableInternal({
31939
32128
  onColumnOrderChange,
31940
32129
  onBatchAction,
31941
32130
  onRowClick,
31942
- onExportComplete
32131
+ onExportComplete,
32132
+ customGlobalFilterFn
31943
32133
  }) {
31944
32134
  const { table, globalFilter, setGlobalFilter, handleResetColumns } = useTableController({
31945
32135
  columns,
@@ -31947,6 +32137,7 @@ function MobileTableInternal({
31947
32137
  columnRegistry,
31948
32138
  initialState: initialState2,
31949
32139
  tableId,
32140
+ customGlobalFilterFn,
31950
32141
  onRowSelectionChange,
31951
32142
  onSortingChange,
31952
32143
  onPaginationChange,
@@ -32191,15 +32382,12 @@ Defaulting to \`null\`.`;
32191
32382
  }
32192
32383
  var Root$2 = Progress$1;
32193
32384
  var Indicator = ProgressIndicator;
32194
- function Progress({
32195
- className,
32196
- value,
32197
- ...props
32198
- }) {
32385
+ const Progress = React.forwardRef(({ className, value, ...props }, ref) => {
32199
32386
  const clamped = typeof value === "number" ? Math.max(0, Math.min(100, value)) : void 0;
32200
32387
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
32201
32388
  Root$2,
32202
32389
  {
32390
+ ref,
32203
32391
  "data-slot": "progress",
32204
32392
  role: "progressbar",
32205
32393
  "aria-valuemin": 0,
@@ -32221,7 +32409,8 @@ function Progress({
32221
32409
  )
32222
32410
  }
32223
32411
  );
32224
- }
32412
+ });
32413
+ Progress.displayName = "Progress";
32225
32414
  var propTypes = { exports: {} };
32226
32415
  var reactIs$1 = { exports: {} };
32227
32416
  var reactIs_production_min$1 = {};
@@ -41678,35 +41867,6 @@ function getPayloadConfigFromPayload(config, payload, key) {
41678
41867
  }
41679
41868
  return configLabelKey in config ? config[configLabelKey] : config[key];
41680
41869
  }
41681
- const alertVariants = cva(
41682
- "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
41683
- {
41684
- variants: {
41685
- variant: {
41686
- default: "bg-card text-card-foreground",
41687
- destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
41688
- }
41689
- },
41690
- defaultVariants: {
41691
- variant: "default"
41692
- }
41693
- }
41694
- );
41695
- function Alert({
41696
- className,
41697
- variant,
41698
- ...props
41699
- }) {
41700
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
41701
- "div",
41702
- {
41703
- "data-slot": "alert",
41704
- role: "alert",
41705
- className: cn$1(alertVariants({ variant }), className),
41706
- ...props
41707
- }
41708
- );
41709
- }
41710
41870
  function AlertTitle({ className, ...props }) {
41711
41871
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
41712
41872
  "div",
@@ -41736,6 +41896,35 @@ function AlertDescription({
41736
41896
  }
41737
41897
  );
41738
41898
  }
41899
+ const alertVariants = cva(
41900
+ "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
41901
+ {
41902
+ variants: {
41903
+ variant: {
41904
+ default: "bg-card text-card-foreground",
41905
+ destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
41906
+ success: "text-green-600 bg-card border-green-200 [&>svg]:text-current *:data-[slot=alert-description]:text-green-600/90",
41907
+ warning: "text-yellow-600 bg-card border-yellow-200 [&>svg]:text-current *:data-[slot=alert-description]:text-yellow-600/90"
41908
+ }
41909
+ },
41910
+ defaultVariants: {
41911
+ variant: "default"
41912
+ }
41913
+ }
41914
+ );
41915
+ const Alert = React.forwardRef(({ className, variant, ...props }, ref) => {
41916
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
41917
+ "div",
41918
+ {
41919
+ ref,
41920
+ "data-slot": "alert",
41921
+ role: "alert",
41922
+ className: cn$1(alertVariants({ variant }), className),
41923
+ ...props
41924
+ }
41925
+ );
41926
+ });
41927
+ Alert.displayName = "Alert";
41739
41928
  var ROOT_NAME = "AlertDialog";
41740
41929
  var [createAlertDialogContext] = createContextScope(ROOT_NAME, [
41741
41930
  createDialogScope
@@ -41764,14 +41953,14 @@ var AlertDialogPortal$1 = (props) => {
41764
41953
  };
41765
41954
  AlertDialogPortal$1.displayName = PORTAL_NAME;
41766
41955
  var OVERLAY_NAME = "AlertDialogOverlay";
41767
- var AlertDialogOverlay$1 = React.forwardRef(
41956
+ var AlertDialogOverlay$2 = React.forwardRef(
41768
41957
  (props, forwardedRef) => {
41769
41958
  const { __scopeAlertDialog, ...overlayProps } = props;
41770
41959
  const dialogScope = useDialogScope(__scopeAlertDialog);
41771
41960
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay$1, { ...dialogScope, ...overlayProps, ref: forwardedRef });
41772
41961
  }
41773
41962
  );
41774
- AlertDialogOverlay$1.displayName = OVERLAY_NAME;
41963
+ AlertDialogOverlay$2.displayName = OVERLAY_NAME;
41775
41964
  var CONTENT_NAME = "AlertDialogContent";
41776
41965
  var [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);
41777
41966
  var Slottable = /* @__PURE__ */ createSlottable("AlertDialogContent");
@@ -41829,16 +42018,16 @@ var AlertDialogDescription$1 = React.forwardRef((props, forwardedRef) => {
41829
42018
  });
41830
42019
  AlertDialogDescription$1.displayName = DESCRIPTION_NAME;
41831
42020
  var ACTION_NAME = "AlertDialogAction";
41832
- var AlertDialogAction$1 = React.forwardRef(
42021
+ var AlertDialogAction$2 = React.forwardRef(
41833
42022
  (props, forwardedRef) => {
41834
42023
  const { __scopeAlertDialog, ...actionProps } = props;
41835
42024
  const dialogScope = useDialogScope(__scopeAlertDialog);
41836
42025
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { ...dialogScope, ...actionProps, ref: forwardedRef });
41837
42026
  }
41838
42027
  );
41839
- AlertDialogAction$1.displayName = ACTION_NAME;
42028
+ AlertDialogAction$2.displayName = ACTION_NAME;
41840
42029
  var CANCEL_NAME = "AlertDialogCancel";
41841
- var AlertDialogCancel$1 = React.forwardRef(
42030
+ var AlertDialogCancel$2 = React.forwardRef(
41842
42031
  (props, forwardedRef) => {
41843
42032
  const { __scopeAlertDialog, ...cancelProps } = props;
41844
42033
  const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);
@@ -41847,7 +42036,7 @@ var AlertDialogCancel$1 = React.forwardRef(
41847
42036
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Close, { ...dialogScope, ...cancelProps, ref });
41848
42037
  }
41849
42038
  );
41850
- AlertDialogCancel$1.displayName = CANCEL_NAME;
42039
+ AlertDialogCancel$2.displayName = CANCEL_NAME;
41851
42040
  var DescriptionWarning = ({ contentRef }) => {
41852
42041
  const MESSAGE = `\`${CONTENT_NAME}\` requires a description for the component to be accessible for screen reader users.
41853
42042
 
@@ -41867,10 +42056,10 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
41867
42056
  var Root2 = AlertDialog$1;
41868
42057
  var Trigger2 = AlertDialogTrigger$1;
41869
42058
  var Portal2 = AlertDialogPortal$1;
41870
- var Overlay2 = AlertDialogOverlay$1;
42059
+ var Overlay2 = AlertDialogOverlay$2;
41871
42060
  var Content2 = AlertDialogContent$1;
41872
- var Action = AlertDialogAction$1;
41873
- var Cancel = AlertDialogCancel$1;
42061
+ var Action = AlertDialogAction$2;
42062
+ var Cancel = AlertDialogCancel$2;
41874
42063
  var Title2 = AlertDialogTitle$1;
41875
42064
  var Description2 = AlertDialogDescription$1;
41876
42065
  function AlertDialog({
@@ -41888,7 +42077,7 @@ function AlertDialogPortal({
41888
42077
  }) {
41889
42078
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal2, { "data-slot": "alert-dialog-portal", ...props });
41890
42079
  }
41891
- function AlertDialogOverlay({
42080
+ function AlertDialogOverlay$1({
41892
42081
  className,
41893
42082
  ...props
41894
42083
  }) {
@@ -41904,25 +42093,6 @@ function AlertDialogOverlay({
41904
42093
  }
41905
42094
  );
41906
42095
  }
41907
- function AlertDialogContent({
41908
- className,
41909
- ...props
41910
- }) {
41911
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(AlertDialogPortal, { children: [
41912
- /* @__PURE__ */ jsxRuntimeExports.jsx(AlertDialogOverlay, {}),
41913
- /* @__PURE__ */ jsxRuntimeExports.jsx(
41914
- Content2,
41915
- {
41916
- "data-slot": "alert-dialog-content",
41917
- className: cn$1(
41918
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
41919
- className
41920
- ),
41921
- ...props
41922
- }
41923
- )
41924
- ] });
41925
- }
41926
42096
  function AlertDialogHeader({
41927
42097
  className,
41928
42098
  ...props
@@ -41965,43 +42135,98 @@ function AlertDialogTitle({
41965
42135
  }
41966
42136
  );
41967
42137
  }
41968
- function AlertDialogDescription({
42138
+ function AlertDialogAction$1({
41969
42139
  className,
41970
42140
  ...props
41971
42141
  }) {
41972
42142
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
41973
- Description2,
42143
+ Action,
41974
42144
  {
41975
- "data-slot": "alert-dialog-description",
41976
- className: cn$1("text-muted-foreground text-sm", className),
42145
+ className: cn$1(buttonVariants(), className),
41977
42146
  ...props
41978
42147
  }
41979
42148
  );
41980
42149
  }
41981
- function AlertDialogAction({
42150
+ function AlertDialogCancel$1({
41982
42151
  className,
41983
42152
  ...props
41984
42153
  }) {
41985
42154
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
41986
- Action,
42155
+ Cancel,
41987
42156
  {
41988
- className: cn$1(buttonVariants(), className),
42157
+ className: cn$1(buttonVariants({ variant: "outline" }), className),
41989
42158
  ...props
41990
42159
  }
41991
42160
  );
41992
42161
  }
41993
- function AlertDialogCancel({
42162
+ const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => {
42163
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
42164
+ Overlay2,
42165
+ {
42166
+ ref,
42167
+ "data-slot": "alert-dialog-overlay",
42168
+ className: cn$1(
42169
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",
42170
+ className
42171
+ ),
42172
+ ...props
42173
+ }
42174
+ );
42175
+ });
42176
+ AlertDialogOverlay.displayName = AlertDialogOverlay$1.name || "AlertDialogOverlay";
42177
+ function AlertDialogContent({
41994
42178
  className,
41995
42179
  ...props
41996
42180
  }) {
42181
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(AlertDialogPortal, { children: [
42182
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AlertDialogOverlay, {}),
42183
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
42184
+ Content2,
42185
+ {
42186
+ "data-slot": "alert-dialog-content",
42187
+ className: cn$1(
42188
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
42189
+ className
42190
+ ),
42191
+ ...props
42192
+ }
42193
+ )
42194
+ ] });
42195
+ }
42196
+ const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => {
42197
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
42198
+ Action,
42199
+ {
42200
+ ref,
42201
+ className: cn$1(buttonVariants(), className),
42202
+ ...props
42203
+ }
42204
+ );
42205
+ });
42206
+ AlertDialogAction.displayName = AlertDialogAction$1.name || "AlertDialogAction";
42207
+ const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => {
41997
42208
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
41998
42209
  Cancel,
41999
42210
  {
42211
+ ref,
42000
42212
  className: cn$1(buttonVariants({ variant: "outline" }), className),
42001
42213
  ...props
42002
42214
  }
42003
42215
  );
42004
- }
42216
+ });
42217
+ AlertDialogCancel.displayName = AlertDialogCancel$1.name || "AlertDialogCancel";
42218
+ const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => {
42219
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
42220
+ Description2,
42221
+ {
42222
+ ref,
42223
+ "data-slot": "alert-dialog-description",
42224
+ className: cn$1("text-sm", className),
42225
+ ...props
42226
+ }
42227
+ );
42228
+ });
42229
+ AlertDialogDescription.displayName = Description2.displayName;
42005
42230
  function Textarea({ className, ...props }) {
42006
42231
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
42007
42232
  "textarea",
@@ -43298,7 +43523,7 @@ function assignOffset(defaultOffset, mobileOffset) {
43298
43523
  });
43299
43524
  return styles;
43300
43525
  }
43301
- const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function Toaster(props, ref) {
43526
+ const Toaster$2 = /* @__PURE__ */ React__default.forwardRef(function Toaster(props, ref) {
43302
43527
  const { id, invert, position = "bottom-right", hotkey = [
43303
43528
  "altKey",
43304
43529
  "KeyT"
@@ -43551,6 +43776,30 @@ const Toaster$1 = /* @__PURE__ */ React__default.forwardRef(function Toaster(pro
43551
43776
  }))
43552
43777
  );
43553
43778
  });
43779
+ const Toaster$1 = ({ ...props }) => {
43780
+ const { theme = "system" } = z();
43781
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
43782
+ Toaster$2,
43783
+ {
43784
+ theme,
43785
+ className: "toaster group",
43786
+ icons: {
43787
+ success: /* @__PURE__ */ jsxRuntimeExports.jsx(CircleCheck, { className: "size-4" }),
43788
+ info: /* @__PURE__ */ jsxRuntimeExports.jsx(Info, { className: "size-4" }),
43789
+ warning: /* @__PURE__ */ jsxRuntimeExports.jsx(TriangleAlert, { className: "size-4" }),
43790
+ error: /* @__PURE__ */ jsxRuntimeExports.jsx(OctagonX, { className: "size-4" }),
43791
+ loading: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { className: "size-4 animate-spin" })
43792
+ },
43793
+ style: {
43794
+ "--normal-bg": "var(--popover)",
43795
+ "--normal-text": "var(--popover-foreground)",
43796
+ "--normal-border": "var(--border)",
43797
+ "--border-radius": "var(--radius)"
43798
+ },
43799
+ ...props
43800
+ }
43801
+ );
43802
+ };
43554
43803
  const Toaster2 = ({ ...props }) => {
43555
43804
  const { theme = "system" } = z();
43556
43805
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -43558,10 +43807,12 @@ const Toaster2 = ({ ...props }) => {
43558
43807
  {
43559
43808
  theme,
43560
43809
  className: "toaster group",
43810
+ icons: void 0,
43561
43811
  style: {
43562
43812
  "--normal-bg": "var(--popover)",
43563
43813
  "--normal-text": "var(--popover-foreground)",
43564
43814
  "--normal-border": "var(--border)"
43815
+ // Note: --border-radius removed compared to base
43565
43816
  },
43566
43817
  ...props
43567
43818
  }
@@ -45094,7 +45345,7 @@ export {
45094
45345
  DropdownMenuSub,
45095
45346
  DropdownMenuSubContent,
45096
45347
  DropdownMenuSubTrigger,
45097
- DropdownMenuTriggerWithRef as DropdownMenuTrigger,
45348
+ DropdownMenuTrigger,
45098
45349
  Dropzone,
45099
45350
  DropzoneContent,
45100
45351
  DropzoneEmptyState,
@@ -45139,10 +45390,13 @@ export {
45139
45390
  Separator,
45140
45391
  Sheet,
45141
45392
  SheetClose,
45393
+ SheetCloseButton,
45142
45394
  SheetContent,
45143
45395
  SheetDescription,
45144
45396
  SheetFooter,
45145
45397
  SheetHeader,
45398
+ SheetHeaderActions,
45399
+ SheetHeaderRow,
45146
45400
  SheetTitle,
45147
45401
  SheetTrigger,
45148
45402
  SimplePagination,