@yuva-devlab/ui 1.4.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/README.md +117 -33
  2. package/dist/components/accordion/accordion.mdx +18 -0
  3. package/dist/components/alert/alert.css +2 -2
  4. package/dist/components/alert-dialog/alert-dialog.mdx +18 -0
  5. package/dist/components/aspect-ratio/aspect-ratio.mdx +22 -0
  6. package/dist/components/breadcrumb/breadcrumb.mdx +18 -0
  7. package/dist/components/calendar/calendar-nav.css +111 -0
  8. package/dist/components/calendar/calendar.css +27 -82
  9. package/dist/components/calendar/calendar.mdx +18 -0
  10. package/dist/components/card/card.css +4 -4
  11. package/dist/components/carousel/carousel.css +4 -4
  12. package/dist/components/carousel/carousel.mdx +18 -0
  13. package/dist/components/chart/chart.css +86 -0
  14. package/dist/components/chart/chart.mdx +18 -0
  15. package/dist/components/checkbox/checkbox.css +11 -0
  16. package/dist/components/collapsible/collapsible.mdx +18 -0
  17. package/dist/components/command/command.css +3 -3
  18. package/dist/components/command/command.mdx +18 -0
  19. package/dist/components/confirm-dialog/confirm-dialog.mdx +18 -0
  20. package/dist/components/context-menu/context-menu.mdx +18 -0
  21. package/dist/components/copy-button/copy-button.mdx +18 -0
  22. package/dist/components/date-picker/date-picker.css +2 -2
  23. package/dist/components/date-picker/date-picker.mdx +18 -0
  24. package/dist/components/dialog/dialog.css +6 -6
  25. package/dist/components/drawer/drawer.mdx +18 -0
  26. package/dist/components/dropdown-menu/dropdown-menu.css +18 -0
  27. package/dist/components/dropdown-menu/dropdown-menu.mdx +18 -0
  28. package/dist/components/empty-state/empty-state.css +67 -0
  29. package/dist/components/empty-state/empty-state.mdx +18 -0
  30. package/dist/components/form/form.mdx +18 -0
  31. package/dist/components/hover-card/hover-card.mdx +18 -0
  32. package/dist/components/input-otp/input-otp.mdx +18 -0
  33. package/dist/components/label/label.mdx +18 -0
  34. package/dist/components/layout/layout.css +158 -0
  35. package/dist/components/layout/layout.mdx +30 -0
  36. package/dist/components/loading-state/loading-state.css +11 -0
  37. package/dist/components/loading-state/loading-state.mdx +18 -0
  38. package/dist/components/menubar/menubar.css +4 -4
  39. package/dist/components/menubar/menubar.mdx +18 -0
  40. package/dist/components/metric-card/metric-card.mdx +18 -0
  41. package/dist/components/navigation-menu/navigation-menu.css +2 -2
  42. package/dist/components/navigation-menu/navigation-menu.mdx +18 -0
  43. package/dist/components/pagination/pagination.css +8 -2
  44. package/dist/components/pagination/pagination.mdx +18 -0
  45. package/dist/components/panel/panel.mdx +18 -0
  46. package/dist/components/popover/popover.css +2 -2
  47. package/dist/components/popover/popover.mdx +18 -0
  48. package/dist/components/radio-group/radio-group.mdx +18 -0
  49. package/dist/components/resizable/resizable.mdx +18 -0
  50. package/dist/components/scroll-area/scroll-area.mdx +18 -0
  51. package/dist/components/searchable-select/searchable-select.css +26 -3
  52. package/dist/components/searchable-select/searchable-select.mdx +18 -0
  53. package/dist/components/secret-reveal-card/secret-reveal-card.css +6 -0
  54. package/dist/components/secret-reveal-card/secret-reveal-card.mdx +18 -0
  55. package/dist/components/select/select.css +16 -1
  56. package/dist/components/separator/separator.mdx +18 -0
  57. package/dist/components/sheet/sheet.css +5 -1
  58. package/dist/components/sheet/sheet.mdx +18 -0
  59. package/dist/components/sidebar/sidebar-menu.css +183 -0
  60. package/dist/components/sidebar/sidebar-submenu.css +69 -0
  61. package/dist/components/sidebar/sidebar.css +171 -4
  62. package/dist/components/sidebar/sidebar.mdx +18 -0
  63. package/dist/components/slider/slider.mdx +18 -0
  64. package/dist/components/status-chip/status-chip.mdx +18 -0
  65. package/dist/components/table/table.css +5 -3
  66. package/dist/components/tabs/tabs.css +3 -3
  67. package/dist/components/textarea/textarea.css +3 -3
  68. package/dist/components/textarea/textarea.mdx +18 -0
  69. package/dist/components/toggle/toggle.css +9 -9
  70. package/dist/components/toggle/toggle.mdx +18 -0
  71. package/dist/components/toggle-group/toggle-group.mdx +18 -0
  72. package/dist/components/tooltip/tooltip.mdx +18 -0
  73. package/dist/components/typography/heading.mdx +36 -0
  74. package/dist/components/typography/text.mdx +34 -0
  75. package/dist/components/typography/typography.css +98 -0
  76. package/dist/components.css +1156 -164
  77. package/dist/index.cjs +1206 -958
  78. package/dist/index.cjs.map +1 -1
  79. package/dist/index.d.cts +657 -196
  80. package/dist/index.d.ts +657 -196
  81. package/dist/index.js +1174 -948
  82. package/dist/index.js.map +1 -1
  83. package/dist/preset.css +2 -4
  84. package/dist/styles/components.css +1156 -164
  85. package/dist/styles/preset.css +2 -4
  86. package/dist/styles/styles.css +7 -4
  87. package/dist/styles/utilities.css +137 -0
  88. package/dist/styles.css +7 -4
  89. package/dist/utilities.css +137 -0
  90. package/package.json +5 -6
package/dist/index.js CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  // src/lib/utils.ts
4
4
  import { clsx } from "clsx";
5
- import { twMerge } from "tailwind-merge";
5
+ function cx(...inputs) {
6
+ return clsx(inputs);
7
+ }
6
8
  function cn(...inputs) {
7
- return twMerge(clsx(inputs));
9
+ return clsx(inputs);
8
10
  }
9
11
 
10
12
  // src/theme-provider.tsx
@@ -461,56 +463,44 @@ function Calendar({
461
463
  DayPicker,
462
464
  {
463
465
  showOutsideDays,
464
- className: cn("dl-calendar group/calendar", className),
466
+ className: cn("dl-calendar", className),
465
467
  captionLayout,
466
468
  formatters: {
467
469
  formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
468
470
  ...formatters
469
471
  },
470
472
  classNames: {
471
- root: cn("dl-calendar w-fit", defaultClassNames.root),
472
- months: cn(
473
- "relative flex flex-col gap-4 md:flex-row",
474
- defaultClassNames.months
475
- ),
476
- month: cn("flex w-full flex-col gap-4", defaultClassNames.month),
477
- nav: cn(
478
- "absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
479
- defaultClassNames.nav
480
- ),
473
+ root: cn("dl-calendar", defaultClassNames.root),
474
+ months: cn("dl-calendar__months", defaultClassNames.months),
475
+ month: cn("dl-calendar__month", defaultClassNames.month),
476
+ nav: cn("dl-calendar__nav", defaultClassNames.nav),
481
477
  button_previous: cn(
482
478
  buttonVariants({ variant: buttonVariant, size: "icon" }),
483
- "select-none p-0 aria-disabled:opacity-50",
479
+ "dl-calendar__nav-button",
484
480
  defaultClassNames.button_previous
485
481
  ),
486
482
  button_next: cn(
487
483
  buttonVariants({ variant: buttonVariant, size: "icon" }),
488
- "select-none p-0 aria-disabled:opacity-50",
484
+ "dl-calendar__nav-button",
489
485
  defaultClassNames.button_next
490
486
  ),
491
487
  month_caption: cn(
492
- "flex w-full items-center justify-center",
488
+ "dl-calendar__month-caption",
493
489
  defaultClassNames.month_caption
494
490
  ),
495
- dropdowns: cn(
496
- "flex w-full items-center justify-center gap-1.5 text-sm font-medium",
497
- defaultClassNames.dropdowns
498
- ),
491
+ dropdowns: cn("dl-calendar__dropdowns", defaultClassNames.dropdowns),
499
492
  dropdown_root: cn(
500
- "relative rounded-md border border-input shadow-xs",
493
+ "dl-calendar__dropdown-root",
501
494
  defaultClassNames.dropdown_root
502
495
  ),
503
- dropdown: cn(
504
- "bg-popover absolute inset-0 opacity-0",
505
- defaultClassNames.dropdown
506
- ),
496
+ dropdown: cn("dl-calendar__dropdown", defaultClassNames.dropdown),
507
497
  caption_label: cn(
508
- "select-none font-medium text-sm",
509
- captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm",
498
+ "dl-calendar__caption-label",
499
+ captionLayout !== "label" && "dl-calendar__caption-label--interactive",
510
500
  defaultClassNames.caption_label
511
501
  ),
512
- table: cn("w-full border-collapse", defaultClassNames.month_grid),
513
- month_grid: cn("w-full border-collapse", defaultClassNames.month_grid),
502
+ table: cn("dl-calendar__table", defaultClassNames.month_grid),
503
+ month_grid: cn("dl-calendar__table", defaultClassNames.month_grid),
514
504
  weekdays: defaultClassNames.weekdays,
515
505
  weekday: defaultClassNames.weekday,
516
506
  week: defaultClassNames.week,
@@ -539,34 +529,17 @@ function Calendar({
539
529
  orientation,
540
530
  ...chevronProps
541
531
  }) => {
532
+ const chevronClass = cn("dl-calendar__chevron", chevronClassName);
542
533
  if (orientation === "left") {
543
- return /* @__PURE__ */ jsx9(
544
- ChevronLeftIcon,
545
- {
546
- className: cn("size-4", chevronClassName),
547
- ...chevronProps
548
- }
549
- );
534
+ return /* @__PURE__ */ jsx9(ChevronLeftIcon, { className: chevronClass, ...chevronProps });
550
535
  }
551
536
  if (orientation === "right") {
552
- return /* @__PURE__ */ jsx9(
553
- ChevronRightIcon,
554
- {
555
- className: cn("size-4", chevronClassName),
556
- ...chevronProps
557
- }
558
- );
537
+ return /* @__PURE__ */ jsx9(ChevronRightIcon, { className: chevronClass, ...chevronProps });
559
538
  }
560
- return /* @__PURE__ */ jsx9(
561
- ChevronDownIcon,
562
- {
563
- className: cn("size-4", chevronClassName),
564
- ...chevronProps
565
- }
566
- );
539
+ return /* @__PURE__ */ jsx9(ChevronDownIcon, { className: chevronClass, ...chevronProps });
567
540
  },
568
541
  DayButton: CalendarDayButton,
569
- WeekNumber: ({ children, ...weekProps }) => /* @__PURE__ */ jsx9("td", { ...weekProps, children: /* @__PURE__ */ jsx9("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) }),
542
+ WeekNumber: ({ children, ...weekProps }) => /* @__PURE__ */ jsx9("td", { ...weekProps, children: /* @__PURE__ */ jsx9("div", { className: "dl-calendar__week-number", children }) }),
570
543
  ...components
571
544
  },
572
545
  ...props
@@ -597,7 +570,7 @@ function CalendarDayButton({
597
570
  "data-range-end": modifiers["range_end"],
598
571
  "data-range-middle": modifiers["range_middle"],
599
572
  className: cn(
600
- "dl-calendar__day-button flex aspect-square items-center justify-center font-normal leading-none",
573
+ "dl-calendar__day-button",
601
574
  defaultClassNames.day_button,
602
575
  className
603
576
  ),
@@ -632,12 +605,13 @@ var CardFooter = React10.forwardRef(
632
605
  );
633
606
  CardFooter.displayName = "CardFooter";
634
607
 
635
- // src/components/carousel/carousel.tsx
608
+ // src/components/carousel/carousel-context.tsx
636
609
  import * as React11 from "react";
637
610
  import useEmblaCarousel from "embla-carousel-react";
638
- import { ArrowLeft, ArrowRight } from "lucide-react";
639
- import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
640
- var CarouselContext = React11.createContext(null);
611
+ import { jsx as jsx11 } from "react/jsx-runtime";
612
+ var CarouselContext = React11.createContext(
613
+ null
614
+ );
641
615
  function useCarousel() {
642
616
  const context = React11.useContext(CarouselContext);
643
617
  if (!context) {
@@ -723,28 +697,31 @@ var Carousel = React11.forwardRef(
723
697
  }
724
698
  );
725
699
  Carousel.displayName = "Carousel";
726
- var CarouselContent = React11.forwardRef(
727
- ({ className, ...props }, ref) => {
728
- const { carouselRef, orientation } = useCarousel();
729
- return /* @__PURE__ */ jsx11("div", { ref: carouselRef, className: "dl-carousel-viewport", children: /* @__PURE__ */ jsx11(
730
- "div",
731
- {
732
- ref,
733
- className: cn(
734
- "dl-carousel-track",
735
- orientation === "horizontal" ? "dl-carousel-track--horizontal" : "dl-carousel-track--vertical",
736
- className
737
- ),
738
- ...props
739
- }
740
- ) });
741
- }
742
- );
700
+
701
+ // src/components/carousel/carousel-items.tsx
702
+ import * as React12 from "react";
703
+ import { ArrowLeft, ArrowRight } from "lucide-react";
704
+ import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
705
+ var CarouselContent = React12.forwardRef(({ className, ...props }, ref) => {
706
+ const { carouselRef, orientation } = useCarousel();
707
+ return /* @__PURE__ */ jsx12("div", { ref: carouselRef, className: "dl-carousel-viewport", children: /* @__PURE__ */ jsx12(
708
+ "div",
709
+ {
710
+ ref,
711
+ className: cn(
712
+ "dl-carousel-track",
713
+ orientation === "horizontal" ? "dl-carousel-track--horizontal" : "dl-carousel-track--vertical",
714
+ className
715
+ ),
716
+ ...props
717
+ }
718
+ ) });
719
+ });
743
720
  CarouselContent.displayName = "CarouselContent";
744
- var CarouselItem = React11.forwardRef(
721
+ var CarouselItem = React12.forwardRef(
745
722
  ({ className, ...props }, ref) => {
746
723
  const { orientation } = useCarousel();
747
- return /* @__PURE__ */ jsx11(
724
+ return /* @__PURE__ */ jsx12(
748
725
  "div",
749
726
  {
750
727
  ref,
@@ -761,7 +738,7 @@ var CarouselItem = React11.forwardRef(
761
738
  }
762
739
  );
763
740
  CarouselItem.displayName = "CarouselItem";
764
- var CarouselPrevious = React11.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
741
+ var CarouselPrevious = React12.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
765
742
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
766
743
  return /* @__PURE__ */ jsxs4(
767
744
  Button,
@@ -778,81 +755,78 @@ var CarouselPrevious = React11.forwardRef(({ className, variant = "outline", siz
778
755
  onClick: scrollPrev,
779
756
  ...props,
780
757
  children: [
781
- /* @__PURE__ */ jsx11(ArrowLeft, {}),
782
- /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Previous slide" })
758
+ /* @__PURE__ */ jsx12(ArrowLeft, {}),
759
+ /* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Previous slide" })
783
760
  ]
784
761
  }
785
762
  );
786
763
  });
787
764
  CarouselPrevious.displayName = "CarouselPrevious";
788
- var CarouselNext = React11.forwardRef(
789
- ({ className, variant = "outline", size = "icon", ...props }, ref) => {
790
- const { orientation, scrollNext, canScrollNext } = useCarousel();
791
- return /* @__PURE__ */ jsxs4(
792
- Button,
793
- {
794
- ref,
795
- variant,
796
- size,
797
- className: cn(
798
- "dl-carousel-btn",
799
- orientation === "horizontal" ? "dl-carousel-btn--next-horizontal" : "dl-carousel-btn--next-vertical",
800
- className
801
- ),
802
- disabled: !canScrollNext,
803
- onClick: scrollNext,
804
- ...props,
805
- children: [
806
- /* @__PURE__ */ jsx11(ArrowRight, {}),
807
- /* @__PURE__ */ jsx11("span", { className: "sr-only", children: "Next slide" })
808
- ]
809
- }
810
- );
811
- }
812
- );
765
+ var CarouselNext = React12.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
766
+ const { orientation, scrollNext, canScrollNext } = useCarousel();
767
+ return /* @__PURE__ */ jsxs4(
768
+ Button,
769
+ {
770
+ ref,
771
+ variant,
772
+ size,
773
+ className: cn(
774
+ "dl-carousel-btn",
775
+ orientation === "horizontal" ? "dl-carousel-btn--next-horizontal" : "dl-carousel-btn--next-vertical",
776
+ className
777
+ ),
778
+ disabled: !canScrollNext,
779
+ onClick: scrollNext,
780
+ ...props,
781
+ children: [
782
+ /* @__PURE__ */ jsx12(ArrowRight, {}),
783
+ /* @__PURE__ */ jsx12("span", { className: "sr-only", children: "Next slide" })
784
+ ]
785
+ }
786
+ );
787
+ });
813
788
  CarouselNext.displayName = "CarouselNext";
814
789
 
815
- // src/components/chart/chart.tsx
816
- import * as React12 from "react";
817
- import * as RechartsPrimitive from "recharts";
818
- import { Fragment, jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
790
+ // src/components/chart/chart-context.tsx
791
+ import * as React13 from "react";
819
792
  var THEMES = { light: "", dark: ".dark" };
820
- var ChartContext = React12.createContext(null);
793
+ var ChartContext = React13.createContext(null);
821
794
  function useChart() {
822
- const context = React12.useContext(ChartContext);
795
+ const context = React13.useContext(ChartContext);
823
796
  if (!context) {
824
797
  throw new Error("useChart must be used within a <ChartContainer />");
825
798
  }
826
799
  return context;
827
800
  }
828
- var ChartContainer = React12.forwardRef(
829
- ({ id, className, children, config, ...props }, ref) => {
830
- const uniqueId = React12.useId();
831
- const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
832
- return /* @__PURE__ */ jsx12(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs5(
833
- "div",
834
- {
835
- "data-chart": chartId,
836
- ref,
837
- className: cn("dl-chart-container", className),
838
- ...props,
839
- children: [
840
- /* @__PURE__ */ jsx12(ChartStyle, { id: chartId, config }),
841
- /* @__PURE__ */ jsx12(RechartsPrimitive.ResponsiveContainer, { children })
842
- ]
843
- }
844
- ) });
801
+ function getPayloadConfigFromPayload(config, payload, key) {
802
+ if (typeof payload !== "object" || payload === null) {
803
+ return void 0;
845
804
  }
846
- );
847
- ChartContainer.displayName = "Chart";
848
- var ChartStyle = ({ id, config }) => {
805
+ const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
806
+ let configLabelKey = key;
807
+ if (key in payload && typeof payload[key] === "string") {
808
+ configLabelKey = payload[key];
809
+ } else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") {
810
+ configLabelKey = payloadPayload[key];
811
+ }
812
+ return configLabelKey in config ? config[configLabelKey] : config[key];
813
+ }
814
+
815
+ // src/components/chart/chart-container.tsx
816
+ import * as React14 from "react";
817
+ import * as RechartsPrimitive from "recharts";
818
+ import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
819
+ var ChartStyle = ({
820
+ id,
821
+ config
822
+ }) => {
849
823
  const colorConfig = Object.entries(config).filter(
850
- ([, config2]) => config2.theme || config2.color
824
+ ([, itemConfig]) => itemConfig.theme || itemConfig.color
851
825
  );
852
826
  if (!colorConfig.length) {
853
827
  return null;
854
828
  }
855
- return /* @__PURE__ */ jsx12(
829
+ return /* @__PURE__ */ jsx13(
856
830
  "style",
857
831
  {
858
832
  dangerouslySetInnerHTML: {
@@ -870,8 +844,31 @@ ${colorConfig.map(([key, itemConfig]) => {
870
844
  }
871
845
  );
872
846
  };
873
- var ChartTooltip = RechartsPrimitive.Tooltip;
874
- var ChartTooltipContent = React12.forwardRef(
847
+ var ChartContainer = React14.forwardRef(({ id, className, children, config, ...props }, ref) => {
848
+ const uniqueId = React14.useId();
849
+ const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
850
+ return /* @__PURE__ */ jsx13(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs5(
851
+ "div",
852
+ {
853
+ "data-chart": chartId,
854
+ ref,
855
+ className: cn("dl-chart-container", className),
856
+ ...props,
857
+ children: [
858
+ /* @__PURE__ */ jsx13(ChartStyle, { id: chartId, config }),
859
+ /* @__PURE__ */ jsx13(RechartsPrimitive.ResponsiveContainer, { children })
860
+ ]
861
+ }
862
+ ) });
863
+ });
864
+ ChartContainer.displayName = "Chart";
865
+
866
+ // src/components/chart/chart-tooltip.tsx
867
+ import * as React15 from "react";
868
+ import * as RechartsPrimitive2 from "recharts";
869
+ import { Fragment, jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
870
+ var ChartTooltip = RechartsPrimitive2.Tooltip;
871
+ var ChartTooltipContent = React15.forwardRef(
875
872
  ({
876
873
  active,
877
874
  payload,
@@ -888,7 +885,7 @@ var ChartTooltipContent = React12.forwardRef(
888
885
  labelKey
889
886
  }, ref) => {
890
887
  const { config } = useChart();
891
- const tooltipLabel = React12.useMemo(() => {
888
+ const tooltipLabel = React15.useMemo(() => {
892
889
  if (hideLabel || !payload?.length) {
893
890
  return null;
894
891
  }
@@ -897,12 +894,12 @@ var ChartTooltipContent = React12.forwardRef(
897
894
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
898
895
  const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
899
896
  if (labelFormatter) {
900
- return /* @__PURE__ */ jsx12("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
897
+ return /* @__PURE__ */ jsx14("div", { className: cn("dl-chart-tooltip__label", labelClassName), children: labelFormatter(value, payload) });
901
898
  }
902
899
  if (!value) {
903
900
  return null;
904
901
  }
905
- return /* @__PURE__ */ jsx12("div", { className: cn("font-medium", labelClassName), children: value });
902
+ return /* @__PURE__ */ jsx14("div", { className: cn("dl-chart-tooltip__label", labelClassName), children: value });
906
903
  }, [
907
904
  label,
908
905
  labelFormatter,
@@ -916,31 +913,29 @@ var ChartTooltipContent = React12.forwardRef(
916
913
  return null;
917
914
  }
918
915
  const nestLabel = payload.length === 1 && indicator !== "dot";
919
- return /* @__PURE__ */ jsxs5("div", { ref, className: cn("dl-chart-tooltip", className), children: [
916
+ return /* @__PURE__ */ jsxs6("div", { ref, className: cn("dl-chart-tooltip", className), children: [
920
917
  !nestLabel ? tooltipLabel : null,
921
- /* @__PURE__ */ jsx12("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
918
+ /* @__PURE__ */ jsx14("div", { className: "dl-chart-tooltip__grid", children: payload.filter((item) => item.type !== "none").map((item, index) => {
922
919
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
923
920
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
924
921
  const indicatorColor = color || item.payload.fill || item.color;
925
- return /* @__PURE__ */ jsx12(
922
+ return /* @__PURE__ */ jsx14(
926
923
  "div",
927
924
  {
928
925
  className: cn(
929
- "flex flex-wrap items-stretch gap-2 [&>svg]:text-muted-foreground [&>svg]:size-2.5",
930
- indicator === "dot" && "items-center"
926
+ "dl-chart-tooltip__item",
927
+ indicator === "dot" && "dl-chart-tooltip__item--center"
931
928
  ),
932
- children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs5(Fragment, { children: [
933
- itemConfig?.icon ? /* @__PURE__ */ jsx12(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx12(
929
+ children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs6(Fragment, { children: [
930
+ itemConfig?.icon ? /* @__PURE__ */ jsx14(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx14(
934
931
  "div",
935
932
  {
936
933
  className: cn(
937
- "shrink-0 rounded-xs border-border bg-(--color-bg)",
938
- {
939
- "h-2.5 w-2.5": indicator === "dot",
940
- "w-1": indicator === "line",
941
- "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
942
- "my-0.5": nestLabel && indicator === "dashed"
943
- }
934
+ "dl-chart-tooltip__indicator",
935
+ indicator === "dot" && "dl-chart-tooltip__indicator--dot",
936
+ indicator === "line" && "dl-chart-tooltip__indicator--line",
937
+ indicator === "dashed" && "dl-chart-tooltip__indicator--dashed",
938
+ nestLabel && indicator === "dashed" && "dl-chart-tooltip__indicator--nested"
944
939
  ),
945
940
  style: {
946
941
  "--color-bg": indicatorColor,
@@ -948,19 +943,19 @@ var ChartTooltipContent = React12.forwardRef(
948
943
  }
949
944
  }
950
945
  ),
951
- /* @__PURE__ */ jsxs5(
946
+ /* @__PURE__ */ jsxs6(
952
947
  "div",
953
948
  {
954
949
  className: cn(
955
- "flex flex-1 justify-between leading-none",
956
- nestLabel ? "items-end" : "items-center"
950
+ "dl-chart-tooltip__row",
951
+ nestLabel && "dl-chart-tooltip__row--end"
957
952
  ),
958
953
  children: [
959
- /* @__PURE__ */ jsxs5("div", { className: "grid gap-1.5", children: [
954
+ /* @__PURE__ */ jsxs6("div", { className: "dl-chart-tooltip__grid", children: [
960
955
  nestLabel ? tooltipLabel : null,
961
- /* @__PURE__ */ jsx12("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })
956
+ /* @__PURE__ */ jsx14("span", { className: "dl-chart-tooltip__item-label", children: itemConfig?.label || item.name })
962
957
  ] }),
963
- item.value && /* @__PURE__ */ jsx12("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
958
+ item.value && /* @__PURE__ */ jsx14("span", { className: "dl-chart-tooltip__item-value", children: item.value.toLocaleString() })
964
959
  ]
965
960
  }
966
961
  )
@@ -973,78 +968,59 @@ var ChartTooltipContent = React12.forwardRef(
973
968
  }
974
969
  );
975
970
  ChartTooltipContent.displayName = "ChartTooltip";
976
- var ChartLegend = RechartsPrimitive.Legend;
977
- var ChartLegendContent = React12.forwardRef(
971
+
972
+ // src/components/chart/chart-legend.tsx
973
+ import * as React16 from "react";
974
+ import * as RechartsPrimitive3 from "recharts";
975
+ import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
976
+ var ChartLegend = RechartsPrimitive3.Legend;
977
+ var ChartLegendContent = React16.forwardRef(
978
978
  ({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
979
979
  const { config } = useChart();
980
980
  if (!payload?.length) {
981
981
  return null;
982
982
  }
983
- return /* @__PURE__ */ jsx12(
983
+ return /* @__PURE__ */ jsx15(
984
984
  "div",
985
985
  {
986
986
  ref,
987
987
  className: cn(
988
988
  "dl-chart-legend",
989
- verticalAlign === "top" ? "pb-3" : "pt-3",
989
+ verticalAlign === "top" ? "dl-chart-legend--top" : "dl-chart-legend--bottom",
990
990
  className
991
991
  ),
992
992
  children: payload.filter((item) => item.type !== "none").map((item) => {
993
993
  const key = `${nameKey || item.dataKey || "value"}`;
994
994
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
995
- return /* @__PURE__ */ jsxs5(
996
- "div",
997
- {
998
- className: cn(
999
- "flex items-center gap-1.5 [&>svg]:text-muted-foreground [&>svg]:size-3"
1000
- ),
1001
- children: [
1002
- itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx12(itemConfig.icon, {}) : /* @__PURE__ */ jsx12(
1003
- "div",
1004
- {
1005
- className: "shrink-0 rounded-xs size-2",
1006
- style: {
1007
- backgroundColor: item.color
1008
- }
1009
- }
1010
- ),
1011
- itemConfig?.label
1012
- ]
1013
- },
1014
- item.value
1015
- );
995
+ return /* @__PURE__ */ jsxs7("div", { className: "dl-chart-legend__item", children: [
996
+ itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx15(itemConfig.icon, {}) : /* @__PURE__ */ jsx15(
997
+ "div",
998
+ {
999
+ className: "dl-chart-legend__indicator",
1000
+ style: { backgroundColor: item.color }
1001
+ }
1002
+ ),
1003
+ itemConfig?.label
1004
+ ] }, item.value);
1016
1005
  })
1017
1006
  }
1018
1007
  );
1019
1008
  }
1020
1009
  );
1021
1010
  ChartLegendContent.displayName = "ChartLegend";
1022
- function getPayloadConfigFromPayload(config, payload, key) {
1023
- if (typeof payload !== "object" || payload === null) {
1024
- return void 0;
1025
- }
1026
- const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
1027
- let configLabelKey = key;
1028
- if (key in payload && typeof payload[key] === "string") {
1029
- configLabelKey = payload[key];
1030
- } else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") {
1031
- configLabelKey = payloadPayload[key];
1032
- }
1033
- return configLabelKey in config ? config[configLabelKey] : config[key];
1034
- }
1035
1011
 
1036
1012
  // src/components/checkbox/checkbox.tsx
1037
- import * as React13 from "react";
1013
+ import * as React17 from "react";
1038
1014
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
1039
1015
  import { Check } from "lucide-react";
1040
- import { jsx as jsx13 } from "react/jsx-runtime";
1041
- var Checkbox = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1016
+ import { jsx as jsx16 } from "react/jsx-runtime";
1017
+ var Checkbox = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx16(
1042
1018
  CheckboxPrimitive.Root,
1043
1019
  {
1044
1020
  ref,
1045
1021
  className: cn("dl-checkbox", className),
1046
1022
  ...props,
1047
- children: /* @__PURE__ */ jsx13(CheckboxPrimitive.Indicator, { className: "grid place-content-center text-current", children: /* @__PURE__ */ jsx13(Check, { style: { width: "0.75rem", height: "0.75rem" } }) })
1023
+ children: /* @__PURE__ */ jsx16(CheckboxPrimitive.Indicator, { className: "dl-checkbox-indicator", children: /* @__PURE__ */ jsx16(Check, { className: "dl-checkbox-icon" }) })
1048
1024
  }
1049
1025
  ));
1050
1026
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -1056,20 +1032,20 @@ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
1056
1032
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
1057
1033
 
1058
1034
  // src/components/command/command.tsx
1059
- import * as React15 from "react";
1035
+ import * as React19 from "react";
1060
1036
  import { Command as CommandPrimitive } from "cmdk";
1061
1037
  import { Search } from "lucide-react";
1062
1038
 
1063
1039
  // src/components/dialog/dialog.tsx
1064
- import * as React14 from "react";
1040
+ import * as React18 from "react";
1065
1041
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1066
1042
  import { X } from "lucide-react";
1067
- import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
1043
+ import { jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
1068
1044
  var Dialog = DialogPrimitive.Root;
1069
1045
  var DialogTrigger = DialogPrimitive.Trigger;
1070
1046
  var DialogPortal = DialogPrimitive.Portal;
1071
1047
  var DialogClose = DialogPrimitive.Close;
1072
- var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1048
+ var DialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1073
1049
  DialogPrimitive.Overlay,
1074
1050
  {
1075
1051
  ref,
@@ -1078,9 +1054,9 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1078
1054
  }
1079
1055
  ));
1080
1056
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1081
- var DialogContent = React14.forwardRef(({ className, children, size = "md", ...props }, ref) => /* @__PURE__ */ jsxs6(DialogPortal, { children: [
1082
- /* @__PURE__ */ jsx14(DialogOverlay, {}),
1083
- /* @__PURE__ */ jsxs6(
1057
+ var DialogContent = React18.forwardRef(({ className, children, size = "md", ...props }, ref) => /* @__PURE__ */ jsxs8(DialogPortal, { children: [
1058
+ /* @__PURE__ */ jsx17(DialogOverlay, {}),
1059
+ /* @__PURE__ */ jsxs8(
1084
1060
  DialogPrimitive.Content,
1085
1061
  {
1086
1062
  ref,
@@ -1092,9 +1068,9 @@ var DialogContent = React14.forwardRef(({ className, children, size = "md", ...p
1092
1068
  ...props,
1093
1069
  children: [
1094
1070
  children,
1095
- /* @__PURE__ */ jsxs6(DialogPrimitive.Close, { className: "dl-dialog-close", children: [
1096
- /* @__PURE__ */ jsx14(X, {}),
1097
- /* @__PURE__ */ jsx14("span", { className: "dl-dialog-sr-only", children: "Close" })
1071
+ /* @__PURE__ */ jsxs8(DialogPrimitive.Close, { className: "dl-dialog-close", children: [
1072
+ /* @__PURE__ */ jsx17(X, {}),
1073
+ /* @__PURE__ */ jsx17("span", { className: "dl-dialog-sr-only", children: "Close" })
1098
1074
  ] })
1099
1075
  ]
1100
1076
  }
@@ -1104,19 +1080,19 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
1104
1080
  var DialogHeader = ({
1105
1081
  className,
1106
1082
  ...props
1107
- }) => /* @__PURE__ */ jsx14("div", { className: cn("dl-dialog__header", className), ...props });
1083
+ }) => /* @__PURE__ */ jsx17("div", { className: cn("dl-dialog__header", className), ...props });
1108
1084
  DialogHeader.displayName = "DialogHeader";
1109
1085
  var DialogBody = ({
1110
1086
  className,
1111
1087
  ...props
1112
- }) => /* @__PURE__ */ jsx14("div", { className: cn("dl-dialog__body", className), ...props });
1088
+ }) => /* @__PURE__ */ jsx17("div", { className: cn("dl-dialog__body", className), ...props });
1113
1089
  DialogBody.displayName = "DialogBody";
1114
1090
  var DialogFooter = ({
1115
1091
  className,
1116
1092
  ...props
1117
- }) => /* @__PURE__ */ jsx14("div", { className: cn("dl-dialog__footer", className), ...props });
1093
+ }) => /* @__PURE__ */ jsx17("div", { className: cn("dl-dialog__footer", className), ...props });
1118
1094
  DialogFooter.displayName = "DialogFooter";
1119
- var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1095
+ var DialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1120
1096
  DialogPrimitive.Title,
1121
1097
  {
1122
1098
  ref,
@@ -1125,7 +1101,7 @@ var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
1125
1101
  }
1126
1102
  ));
1127
1103
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1128
- var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1104
+ var DialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1129
1105
  DialogPrimitive.Description,
1130
1106
  {
1131
1107
  ref,
@@ -1136,8 +1112,8 @@ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /*
1136
1112
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1137
1113
 
1138
1114
  // src/components/command/command.tsx
1139
- import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
1140
- var Command = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1115
+ import { jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
1116
+ var Command = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1141
1117
  CommandPrimitive,
1142
1118
  {
1143
1119
  ref,
@@ -1147,11 +1123,11 @@ var Command = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1147
1123
  ));
1148
1124
  Command.displayName = CommandPrimitive.displayName;
1149
1125
  var CommandDialog = ({ children, ...props }) => {
1150
- return /* @__PURE__ */ jsx15(Dialog, { ...props, children: /* @__PURE__ */ jsx15(DialogContent, { className: "dl-command-dialog-content", children: /* @__PURE__ */ jsx15(Command, { children }) }) });
1126
+ return /* @__PURE__ */ jsx18(Dialog, { ...props, children: /* @__PURE__ */ jsx18(DialogContent, { className: "dl-command-dialog-content", children: /* @__PURE__ */ jsx18(Command, { children }) }) });
1151
1127
  };
1152
- var CommandInput = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs7("div", { className: "dl-command-input-wrapper", "cmdk-input-wrapper": "", children: [
1153
- /* @__PURE__ */ jsx15(Search, { className: "dl-command-input-icon" }),
1154
- /* @__PURE__ */ jsx15(
1128
+ var CommandInput = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs9("div", { className: "dl-command-input-wrapper", "cmdk-input-wrapper": "", children: [
1129
+ /* @__PURE__ */ jsx18(Search, { className: "dl-command-input-icon" }),
1130
+ /* @__PURE__ */ jsx18(
1155
1131
  CommandPrimitive.Input,
1156
1132
  {
1157
1133
  ref,
@@ -1161,7 +1137,7 @@ var CommandInput = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
1161
1137
  )
1162
1138
  ] }));
1163
1139
  CommandInput.displayName = CommandPrimitive.Input.displayName;
1164
- var CommandList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1140
+ var CommandList = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1165
1141
  CommandPrimitive.List,
1166
1142
  {
1167
1143
  ref,
@@ -1170,9 +1146,9 @@ var CommandList = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1170
1146
  }
1171
1147
  ));
1172
1148
  CommandList.displayName = CommandPrimitive.List.displayName;
1173
- var CommandEmpty = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx15(CommandPrimitive.Empty, { ref, className: "dl-command-empty", ...props }));
1149
+ var CommandEmpty = React19.forwardRef((props, ref) => /* @__PURE__ */ jsx18(CommandPrimitive.Empty, { ref, className: "dl-command-empty", ...props }));
1174
1150
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
1175
- var CommandGroup = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1151
+ var CommandGroup = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1176
1152
  CommandPrimitive.Group,
1177
1153
  {
1178
1154
  ref,
@@ -1181,7 +1157,7 @@ var CommandGroup = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
1181
1157
  }
1182
1158
  ));
1183
1159
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
1184
- var CommandSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1160
+ var CommandSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1185
1161
  CommandPrimitive.Separator,
1186
1162
  {
1187
1163
  ref,
@@ -1190,7 +1166,7 @@ var CommandSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @
1190
1166
  }
1191
1167
  ));
1192
1168
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
1193
- var CommandItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
1169
+ var CommandItem = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
1194
1170
  CommandPrimitive.Item,
1195
1171
  {
1196
1172
  ref,
@@ -1200,12 +1176,12 @@ var CommandItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1200
1176
  ));
1201
1177
  CommandItem.displayName = CommandPrimitive.Item.displayName;
1202
1178
  var CommandShortcut = ({ className, ...props }) => {
1203
- return /* @__PURE__ */ jsx15("span", { className: cn("dl-command-shortcut", className), ...props });
1179
+ return /* @__PURE__ */ jsx18("span", { className: cn("dl-command-shortcut", className), ...props });
1204
1180
  };
1205
1181
  CommandShortcut.displayName = "CommandShortcut";
1206
1182
 
1207
1183
  // src/components/confirm-dialog/confirm-dialog.tsx
1208
- import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
1184
+ import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
1209
1185
  function ConfirmDialog({
1210
1186
  open,
1211
1187
  onOpenChange,
@@ -1216,14 +1192,14 @@ function ConfirmDialog({
1216
1192
  cancelText = "Cancel",
1217
1193
  destructive = false
1218
1194
  }) {
1219
- return /* @__PURE__ */ jsx16(AlertDialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs8(AlertDialogContent, { children: [
1220
- /* @__PURE__ */ jsxs8(AlertDialogHeader, { children: [
1221
- /* @__PURE__ */ jsx16(AlertDialogTitle, { children: title }),
1222
- /* @__PURE__ */ jsx16(AlertDialogDescription, { children: description })
1195
+ return /* @__PURE__ */ jsx19(AlertDialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs10(AlertDialogContent, { children: [
1196
+ /* @__PURE__ */ jsxs10(AlertDialogHeader, { children: [
1197
+ /* @__PURE__ */ jsx19(AlertDialogTitle, { children: title }),
1198
+ /* @__PURE__ */ jsx19(AlertDialogDescription, { children: description })
1223
1199
  ] }),
1224
- /* @__PURE__ */ jsxs8(AlertDialogFooter, { children: [
1225
- /* @__PURE__ */ jsx16(AlertDialogCancel, { children: cancelText }),
1226
- /* @__PURE__ */ jsx16(
1200
+ /* @__PURE__ */ jsxs10(AlertDialogFooter, { children: [
1201
+ /* @__PURE__ */ jsx19(AlertDialogCancel, { children: cancelText }),
1202
+ /* @__PURE__ */ jsx19(
1227
1203
  AlertDialogAction,
1228
1204
  {
1229
1205
  onClick: onConfirm,
@@ -1235,35 +1211,35 @@ function ConfirmDialog({
1235
1211
  ] }) });
1236
1212
  }
1237
1213
 
1238
- // src/components/context-menu/context-menu.tsx
1239
- import * as React16 from "react";
1214
+ // src/components/context-menu/context-menu-primitives.tsx
1215
+ import * as React20 from "react";
1240
1216
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
1241
- import { Check as Check2, ChevronRight as ChevronRight2, Circle } from "lucide-react";
1242
- import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
1217
+ import { ChevronRight as ChevronRight2 } from "lucide-react";
1218
+ import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1243
1219
  var ContextMenu = ContextMenuPrimitive.Root;
1244
1220
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
1245
1221
  var ContextMenuGroup = ContextMenuPrimitive.Group;
1246
1222
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
1247
1223
  var ContextMenuSub = ContextMenuPrimitive.Sub;
1248
1224
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
1249
- var ContextMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1225
+ var ContextMenuSubTrigger = React20.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs11(
1250
1226
  ContextMenuPrimitive.SubTrigger,
1251
1227
  {
1252
1228
  ref,
1253
1229
  className: cn(
1254
1230
  "dl-menu-item dl-menu-sub-trigger",
1255
- inset && "pl-8",
1231
+ inset && "dl-menu-item--inset",
1256
1232
  className
1257
1233
  ),
1258
1234
  ...props,
1259
1235
  children: [
1260
1236
  children,
1261
- /* @__PURE__ */ jsx17(ChevronRight2, { className: "ml-auto size-4" })
1237
+ /* @__PURE__ */ jsx20(ChevronRight2, { className: "dl-menu-item__chevron" })
1262
1238
  ]
1263
1239
  }
1264
1240
  ));
1265
1241
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1266
- var ContextMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1242
+ var ContextMenuSubContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1267
1243
  ContextMenuPrimitive.SubContent,
1268
1244
  {
1269
1245
  ref,
@@ -1272,7 +1248,7 @@ var ContextMenuSubContent = React16.forwardRef(({ className, ...props }, ref) =>
1272
1248
  }
1273
1249
  ));
1274
1250
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1275
- var ContextMenuContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx17(
1251
+ var ContextMenuContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx20(
1276
1252
  ContextMenuPrimitive.Content,
1277
1253
  {
1278
1254
  ref,
@@ -1281,80 +1257,86 @@ var ContextMenuContent = React16.forwardRef(({ className, ...props }, ref) => /*
1281
1257
  }
1282
1258
  ) }));
1283
1259
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1284
- var ContextMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx17(
1285
- ContextMenuPrimitive.Item,
1260
+
1261
+ // src/components/context-menu/context-menu-items.tsx
1262
+ import * as React21 from "react";
1263
+ import * as ContextMenuPrimitive2 from "@radix-ui/react-context-menu";
1264
+ import { Check as Check2, Circle } from "lucide-react";
1265
+ import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
1266
+ var ContextMenuItem = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx21(
1267
+ ContextMenuPrimitive2.Item,
1286
1268
  {
1287
1269
  ref,
1288
- className: cn("dl-menu-item", inset && "pl-8", className),
1270
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
1289
1271
  ...props
1290
1272
  }
1291
1273
  ));
1292
- ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1293
- var ContextMenuCheckboxItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1294
- ContextMenuPrimitive.CheckboxItem,
1274
+ ContextMenuItem.displayName = ContextMenuPrimitive2.Item.displayName;
1275
+ var ContextMenuCheckboxItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
1276
+ ContextMenuPrimitive2.CheckboxItem,
1295
1277
  {
1296
1278
  ref,
1297
1279
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
1298
1280
  ...props,
1299
1281
  children: [
1300
- /* @__PURE__ */ jsx17("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx17(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(Check2, { className: "size-4" }) }) }),
1282
+ /* @__PURE__ */ jsx21("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx21(ContextMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx21(Check2, { className: "dl-menu-item__icon" }) }) }),
1301
1283
  children
1302
1284
  ]
1303
1285
  }
1304
1286
  ));
1305
- ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1306
- var ContextMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs9(
1307
- ContextMenuPrimitive.RadioItem,
1287
+ ContextMenuCheckboxItem.displayName = ContextMenuPrimitive2.CheckboxItem.displayName;
1288
+ var ContextMenuRadioItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
1289
+ ContextMenuPrimitive2.RadioItem,
1308
1290
  {
1309
1291
  ref,
1310
1292
  className: cn("dl-menu-item dl-menu-radio-item", className),
1311
1293
  ...props,
1312
1294
  children: [
1313
- /* @__PURE__ */ jsx17("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx17(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx17(Circle, { className: "fill-current size-2" }) }) }),
1295
+ /* @__PURE__ */ jsx21("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx21(ContextMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx21(Circle, { className: "dl-menu-item__radio-dot" }) }) }),
1314
1296
  children
1315
1297
  ]
1316
1298
  }
1317
1299
  ));
1318
- ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1319
- var ContextMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx17(
1320
- ContextMenuPrimitive.Label,
1300
+ ContextMenuRadioItem.displayName = ContextMenuPrimitive2.RadioItem.displayName;
1301
+ var ContextMenuLabel = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx21(
1302
+ ContextMenuPrimitive2.Label,
1321
1303
  {
1322
1304
  ref,
1323
- className: cn("dl-menu-label", inset && "pl-8", className),
1305
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
1324
1306
  ...props
1325
1307
  }
1326
1308
  ));
1327
- ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1328
- var ContextMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1329
- ContextMenuPrimitive.Separator,
1309
+ ContextMenuLabel.displayName = ContextMenuPrimitive2.Label.displayName;
1310
+ var ContextMenuSeparator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1311
+ ContextMenuPrimitive2.Separator,
1330
1312
  {
1331
1313
  ref,
1332
1314
  className: cn("dl-menu-separator", className),
1333
1315
  ...props
1334
1316
  }
1335
1317
  ));
1336
- ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
1318
+ ContextMenuSeparator.displayName = ContextMenuPrimitive2.Separator.displayName;
1337
1319
  var ContextMenuShortcut = ({
1338
1320
  className,
1339
1321
  ...props
1340
1322
  }) => {
1341
- return /* @__PURE__ */ jsx17("span", { className: cn("dl-menu-shortcut", className), ...props });
1323
+ return /* @__PURE__ */ jsx21("span", { className: cn("dl-menu-shortcut", className), ...props });
1342
1324
  };
1343
1325
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
1344
1326
 
1345
1327
  // src/components/date-picker/date-picker.tsx
1346
- import * as React18 from "react";
1328
+ import * as React23 from "react";
1347
1329
  import { format } from "date-fns";
1348
1330
  import { Calendar as CalendarIcon } from "lucide-react";
1349
1331
 
1350
1332
  // src/components/popover/popover.tsx
1351
- import * as React17 from "react";
1333
+ import * as React22 from "react";
1352
1334
  import * as PopoverPrimitive from "@radix-ui/react-popover";
1353
- import { jsx as jsx18 } from "react/jsx-runtime";
1335
+ import { jsx as jsx22 } from "react/jsx-runtime";
1354
1336
  var Popover = PopoverPrimitive.Root;
1355
1337
  var PopoverTrigger = PopoverPrimitive.Trigger;
1356
1338
  var PopoverAnchor = PopoverPrimitive.Anchor;
1357
- var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx18(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx18(
1339
+ var PopoverContent = React22.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx22(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx22(
1358
1340
  PopoverPrimitive.Content,
1359
1341
  {
1360
1342
  ref,
@@ -1367,7 +1349,7 @@ var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffs
1367
1349
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1368
1350
 
1369
1351
  // src/components/date-picker/date-picker.tsx
1370
- import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
1352
+ import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
1371
1353
  function DatePicker({
1372
1354
  value,
1373
1355
  onChange,
@@ -1375,7 +1357,7 @@ function DatePicker({
1375
1357
  className,
1376
1358
  disabled
1377
1359
  }) {
1378
- const date = React18.useMemo(() => {
1360
+ const date = React23.useMemo(() => {
1379
1361
  if (!value) return void 0;
1380
1362
  const parts = value.split("-");
1381
1363
  if (parts.length !== 3) {
@@ -1387,8 +1369,8 @@ function DatePicker({
1387
1369
  const day = parseInt(parts[2], 10);
1388
1370
  return new Date(year, month, day, 12, 0, 0);
1389
1371
  }, [value]);
1390
- return /* @__PURE__ */ jsxs10(Popover, { children: [
1391
- /* @__PURE__ */ jsx19(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs10(
1372
+ return /* @__PURE__ */ jsxs13(Popover, { children: [
1373
+ /* @__PURE__ */ jsx23(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs13(
1392
1374
  Button,
1393
1375
  {
1394
1376
  variant: "outline",
@@ -1400,12 +1382,12 @@ function DatePicker({
1400
1382
  className
1401
1383
  ),
1402
1384
  children: [
1403
- /* @__PURE__ */ jsx19(CalendarIcon, { className: "dl-date-picker-icon" }),
1404
- date && !isNaN(date.getTime()) ? format(date, "PPP") : /* @__PURE__ */ jsx19("span", { children: placeholder })
1385
+ /* @__PURE__ */ jsx23(CalendarIcon, { className: "dl-date-picker-icon" }),
1386
+ date && !isNaN(date.getTime()) ? format(date, "PPP") : /* @__PURE__ */ jsx23("span", { children: placeholder })
1405
1387
  ]
1406
1388
  }
1407
1389
  ) }),
1408
- /* @__PURE__ */ jsx19(PopoverContent, { className: "dl-date-picker-content", align: "start", children: /* @__PURE__ */ jsx19(
1390
+ /* @__PURE__ */ jsx23(PopoverContent, { className: "dl-date-picker-content", align: "start", children: /* @__PURE__ */ jsx23(
1409
1391
  Calendar,
1410
1392
  {
1411
1393
  mode: "single",
@@ -1418,13 +1400,13 @@ function DatePicker({
1418
1400
  }
1419
1401
 
1420
1402
  // src/components/drawer/drawer.tsx
1421
- import * as React19 from "react";
1403
+ import * as React24 from "react";
1422
1404
  import { Drawer as DrawerPrimitive } from "vaul";
1423
- import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1405
+ import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
1424
1406
  var Drawer = ({
1425
1407
  shouldScaleBackground = true,
1426
1408
  ...props
1427
- }) => /* @__PURE__ */ jsx20(
1409
+ }) => /* @__PURE__ */ jsx24(
1428
1410
  DrawerPrimitive.Root,
1429
1411
  {
1430
1412
  shouldScaleBackground,
@@ -1435,7 +1417,7 @@ Drawer.displayName = "Drawer";
1435
1417
  var DrawerTrigger = DrawerPrimitive.Trigger;
1436
1418
  var DrawerPortal = DrawerPrimitive.Portal;
1437
1419
  var DrawerClose = DrawerPrimitive.Close;
1438
- var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1420
+ var DrawerOverlay = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1439
1421
  DrawerPrimitive.Overlay,
1440
1422
  {
1441
1423
  ref,
@@ -1444,16 +1426,16 @@ var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__P
1444
1426
  }
1445
1427
  ));
1446
1428
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
1447
- var DrawerContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs11(DrawerPortal, { children: [
1448
- /* @__PURE__ */ jsx20(DrawerOverlay, {}),
1449
- /* @__PURE__ */ jsxs11(
1429
+ var DrawerContent = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs14(DrawerPortal, { children: [
1430
+ /* @__PURE__ */ jsx24(DrawerOverlay, {}),
1431
+ /* @__PURE__ */ jsxs14(
1450
1432
  DrawerPrimitive.Content,
1451
1433
  {
1452
1434
  ref,
1453
1435
  className: cn("dl-drawer-content", className),
1454
1436
  ...props,
1455
1437
  children: [
1456
- /* @__PURE__ */ jsx20("div", { className: "dl-drawer-handle" }),
1438
+ /* @__PURE__ */ jsx24("div", { className: "dl-drawer-handle" }),
1457
1439
  children
1458
1440
  ]
1459
1441
  }
@@ -1463,14 +1445,14 @@ DrawerContent.displayName = "DrawerContent";
1463
1445
  var DrawerHeader = ({
1464
1446
  className,
1465
1447
  ...props
1466
- }) => /* @__PURE__ */ jsx20("div", { className: cn("dl-drawer-header", className), ...props });
1448
+ }) => /* @__PURE__ */ jsx24("div", { className: cn("dl-drawer-header", className), ...props });
1467
1449
  DrawerHeader.displayName = "DrawerHeader";
1468
1450
  var DrawerFooter = ({
1469
1451
  className,
1470
1452
  ...props
1471
- }) => /* @__PURE__ */ jsx20("div", { className: cn("dl-drawer-footer", className), ...props });
1453
+ }) => /* @__PURE__ */ jsx24("div", { className: cn("dl-drawer-footer", className), ...props });
1472
1454
  DrawerFooter.displayName = "DrawerFooter";
1473
- var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1455
+ var DrawerTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1474
1456
  DrawerPrimitive.Title,
1475
1457
  {
1476
1458
  ref,
@@ -1479,7 +1461,7 @@ var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
1479
1461
  }
1480
1462
  ));
1481
1463
  DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
1482
- var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
1464
+ var DrawerDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1483
1465
  DrawerPrimitive.Description,
1484
1466
  {
1485
1467
  ref,
@@ -1489,40 +1471,35 @@ var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /*
1489
1471
  ));
1490
1472
  DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
1491
1473
 
1492
- // src/components/dropdown-menu/dropdown-menu.tsx
1493
- import * as React20 from "react";
1474
+ // src/components/dropdown-menu/dropdown-menu-primitives.tsx
1475
+ import * as React25 from "react";
1494
1476
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1495
- import { Check as Check3, ChevronRight as ChevronRight3, Circle as Circle2 } from "lucide-react";
1496
- import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
1477
+ import { ChevronRight as ChevronRight3 } from "lucide-react";
1478
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
1497
1479
  var DropdownMenu = DropdownMenuPrimitive.Root;
1498
1480
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1499
1481
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1500
1482
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1501
1483
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1502
1484
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1503
- var DropdownMenuSubTrigger = React20.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
1485
+ var DropdownMenuSubTrigger = React25.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs15(
1504
1486
  DropdownMenuPrimitive.SubTrigger,
1505
1487
  {
1506
1488
  ref,
1507
1489
  className: cn(
1508
1490
  "dl-menu-item dl-menu-sub-trigger",
1509
- inset && "pl-8",
1491
+ inset && "dl-menu-item--inset",
1510
1492
  className
1511
1493
  ),
1512
1494
  ...props,
1513
1495
  children: [
1514
1496
  children,
1515
- /* @__PURE__ */ jsx21(
1516
- ChevronRight3,
1517
- {
1518
- style: { marginLeft: "auto", width: "1rem", height: "1rem" }
1519
- }
1520
- )
1497
+ /* @__PURE__ */ jsx25(ChevronRight3, { className: "dl-menu-item__chevron" })
1521
1498
  ]
1522
1499
  }
1523
1500
  ));
1524
1501
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1525
- var DropdownMenuSubContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1502
+ var DropdownMenuSubContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1526
1503
  DropdownMenuPrimitive.SubContent,
1527
1504
  {
1528
1505
  ref,
@@ -1531,7 +1508,7 @@ var DropdownMenuSubContent = React20.forwardRef(({ className, ...props }, ref) =
1531
1508
  }
1532
1509
  ));
1533
1510
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1534
- var DropdownMenuContent = React20.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx21(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx21(
1511
+ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx25(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx25(
1535
1512
  DropdownMenuPrimitive.Content,
1536
1513
  {
1537
1514
  ref,
@@ -1541,74 +1518,91 @@ var DropdownMenuContent = React20.forwardRef(({ className, sideOffset = 4, ...pr
1541
1518
  }
1542
1519
  ) }));
1543
1520
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1544
- var DropdownMenuItem = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx21(
1545
- DropdownMenuPrimitive.Item,
1521
+
1522
+ // src/components/dropdown-menu/dropdown-menu-items.tsx
1523
+ import * as React26 from "react";
1524
+ import * as DropdownMenuPrimitive2 from "@radix-ui/react-dropdown-menu";
1525
+ import { Check as Check3, Circle as Circle2 } from "lucide-react";
1526
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
1527
+ var DropdownMenuItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx26(
1528
+ DropdownMenuPrimitive2.Item,
1546
1529
  {
1547
1530
  ref,
1548
- className: cn("dl-menu-item", inset && "pl-8", className),
1531
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
1549
1532
  ...props
1550
1533
  }
1551
1534
  ));
1552
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1553
- var DropdownMenuCheckboxItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
1554
- DropdownMenuPrimitive.CheckboxItem,
1535
+ DropdownMenuItem.displayName = DropdownMenuPrimitive2.Item.displayName;
1536
+ var DropdownMenuCheckboxItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs16(
1537
+ DropdownMenuPrimitive2.CheckboxItem,
1555
1538
  {
1556
1539
  ref,
1557
1540
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
1558
1541
  ...props,
1559
1542
  children: [
1560
- /* @__PURE__ */ jsx21("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx21(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx21(Check3, { style: { width: "1rem", height: "1rem" } }) }) }),
1543
+ /* @__PURE__ */ jsx26("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx26(DropdownMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx26(Check3, { className: "dl-menu-item__icon" }) }) }),
1561
1544
  children
1562
1545
  ]
1563
1546
  }
1564
1547
  ));
1565
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1566
- var DropdownMenuRadioItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
1567
- DropdownMenuPrimitive.RadioItem,
1548
+ DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
1549
+ var DropdownMenuRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs16(
1550
+ DropdownMenuPrimitive2.RadioItem,
1568
1551
  {
1569
1552
  ref,
1570
1553
  className: cn("dl-menu-item dl-menu-radio-item", className),
1571
1554
  ...props,
1572
1555
  children: [
1573
- /* @__PURE__ */ jsx21("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx21(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx21(
1574
- Circle2,
1575
- {
1576
- style: { width: "0.5rem", height: "0.5rem", fill: "currentColor" }
1577
- }
1578
- ) }) }),
1556
+ /* @__PURE__ */ jsx26("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx26(DropdownMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx26(Circle2, { className: "dl-menu-item__radio-dot" }) }) }),
1579
1557
  children
1580
1558
  ]
1581
1559
  }
1582
1560
  ));
1583
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1584
- var DropdownMenuLabel = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx21(
1585
- DropdownMenuPrimitive.Label,
1561
+ DropdownMenuRadioItem.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
1562
+ var DropdownMenuLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx26(
1563
+ DropdownMenuPrimitive2.Label,
1586
1564
  {
1587
1565
  ref,
1588
- className: cn("dl-menu-label", inset && "pl-8", className),
1566
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
1589
1567
  ...props
1590
1568
  }
1591
1569
  ));
1592
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1593
- var DropdownMenuSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1594
- DropdownMenuPrimitive.Separator,
1570
+ DropdownMenuLabel.displayName = DropdownMenuPrimitive2.Label.displayName;
1571
+ var DropdownMenuSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1572
+ DropdownMenuPrimitive2.Separator,
1595
1573
  {
1596
1574
  ref,
1597
1575
  className: cn("dl-menu-separator", className),
1598
1576
  ...props
1599
1577
  }
1600
1578
  ));
1601
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1579
+ DropdownMenuSeparator.displayName = DropdownMenuPrimitive2.Separator.displayName;
1602
1580
  var DropdownMenuShortcut = ({
1603
1581
  className,
1604
1582
  ...props
1605
1583
  }) => {
1606
- return /* @__PURE__ */ jsx21("span", { className: cn("dl-menu-shortcut", className), ...props });
1584
+ return /* @__PURE__ */ jsx26("span", { className: cn("dl-menu-shortcut", className), ...props });
1607
1585
  };
1608
1586
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1609
1587
 
1588
+ // src/components/empty-state/empty-state.tsx
1589
+ import * as React27 from "react";
1590
+ import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
1591
+ var EmptyState = React27.forwardRef(
1592
+ ({ title, description, icon, action, children, className, ...props }, ref) => {
1593
+ return /* @__PURE__ */ jsxs17("div", { ref, className: cn("dl-empty-state", className), ...props, children: [
1594
+ icon && /* @__PURE__ */ jsx27("div", { className: "dl-empty-state__icon-box", children: icon }),
1595
+ /* @__PURE__ */ jsx27("h3", { className: "dl-empty-state__title", children: title }),
1596
+ description && /* @__PURE__ */ jsx27("p", { className: "dl-empty-state__description", children: description }),
1597
+ children,
1598
+ action && /* @__PURE__ */ jsx27("div", { className: "dl-empty-state__actions", children: action })
1599
+ ] });
1600
+ }
1601
+ );
1602
+ EmptyState.displayName = "EmptyState";
1603
+
1610
1604
  // src/components/form/form.tsx
1611
- import * as React22 from "react";
1605
+ import * as React29 from "react";
1612
1606
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1613
1607
  import {
1614
1608
  Controller,
@@ -1617,12 +1611,12 @@ import {
1617
1611
  } from "react-hook-form";
1618
1612
 
1619
1613
  // src/components/label/label.tsx
1620
- import * as React21 from "react";
1614
+ import * as React28 from "react";
1621
1615
  import * as LabelPrimitive from "@radix-ui/react-label";
1622
1616
  import { cva as cva4 } from "class-variance-authority";
1623
- import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
1617
+ import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
1624
1618
  var labelVariants = cva4("dl-label");
1625
- var Label3 = React21.forwardRef(({ className, children, required = false, ...props }, ref) => /* @__PURE__ */ jsxs13(
1619
+ var Label3 = React28.forwardRef(({ className, children, required = false, ...props }, ref) => /* @__PURE__ */ jsxs18(
1626
1620
  LabelPrimitive.Root,
1627
1621
  {
1628
1622
  ref,
@@ -1630,26 +1624,26 @@ var Label3 = React21.forwardRef(({ className, children, required = false, ...pro
1630
1624
  ...props,
1631
1625
  children: [
1632
1626
  children,
1633
- required && /* @__PURE__ */ jsx22("span", { className: "dl-label-required text-destructive ml-0.5", children: "*" })
1627
+ required && /* @__PURE__ */ jsx28("span", { className: "dl-label-required", children: "*" })
1634
1628
  ]
1635
1629
  }
1636
1630
  ));
1637
1631
  Label3.displayName = LabelPrimitive.Root.displayName;
1638
1632
 
1639
1633
  // src/components/form/form.tsx
1640
- import { jsx as jsx23 } from "react/jsx-runtime";
1634
+ import { jsx as jsx29 } from "react/jsx-runtime";
1641
1635
  var Form = FormProvider;
1642
- var FormFieldContext = React22.createContext(
1636
+ var FormFieldContext = React29.createContext(
1643
1637
  null
1644
1638
  );
1645
1639
  var FormField = ({
1646
1640
  ...props
1647
1641
  }) => {
1648
- return /* @__PURE__ */ jsx23(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx23(Controller, { ...props }) });
1642
+ return /* @__PURE__ */ jsx29(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx29(Controller, { ...props }) });
1649
1643
  };
1650
1644
  var useFormField = () => {
1651
- const fieldContext = React22.useContext(FormFieldContext);
1652
- const itemContext = React22.useContext(FormItemContext);
1645
+ const fieldContext = React29.useContext(FormFieldContext);
1646
+ const itemContext = React29.useContext(FormItemContext);
1653
1647
  const { getFieldState, formState } = useFormContext();
1654
1648
  if (!fieldContext) {
1655
1649
  throw new Error("useFormField should be used within <FormField>");
@@ -1668,15 +1662,15 @@ var useFormField = () => {
1668
1662
  ...fieldState
1669
1663
  };
1670
1664
  };
1671
- var FormItemContext = React22.createContext(null);
1672
- var FormItem = React22.forwardRef(({ className, ...props }, ref) => {
1673
- const id = React22.useId();
1674
- return /* @__PURE__ */ jsx23(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx23("div", { ref, className: cn("dl-form-item", className), ...props }) });
1665
+ var FormItemContext = React29.createContext(null);
1666
+ var FormItem = React29.forwardRef(({ className, ...props }, ref) => {
1667
+ const id = React29.useId();
1668
+ return /* @__PURE__ */ jsx29(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx29("div", { ref, className: cn("dl-form-item", className), ...props }) });
1675
1669
  });
1676
1670
  FormItem.displayName = "FormItem";
1677
- var FormLabel = React22.forwardRef(({ className, ...props }, ref) => {
1671
+ var FormLabel = React29.forwardRef(({ className, ...props }, ref) => {
1678
1672
  const { error, formItemId } = useFormField();
1679
- return /* @__PURE__ */ jsx23(
1673
+ return /* @__PURE__ */ jsx29(
1680
1674
  Label3,
1681
1675
  {
1682
1676
  ref,
@@ -1687,9 +1681,9 @@ var FormLabel = React22.forwardRef(({ className, ...props }, ref) => {
1687
1681
  );
1688
1682
  });
1689
1683
  FormLabel.displayName = "FormLabel";
1690
- var FormControl = React22.forwardRef(({ ...props }, ref) => {
1684
+ var FormControl = React29.forwardRef(({ ...props }, ref) => {
1691
1685
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1692
- return /* @__PURE__ */ jsx23(
1686
+ return /* @__PURE__ */ jsx29(
1693
1687
  Slot3,
1694
1688
  {
1695
1689
  ref,
@@ -1701,9 +1695,9 @@ var FormControl = React22.forwardRef(({ ...props }, ref) => {
1701
1695
  );
1702
1696
  });
1703
1697
  FormControl.displayName = "FormControl";
1704
- var FormDescription = React22.forwardRef(({ className, ...props }, ref) => {
1698
+ var FormDescription = React29.forwardRef(({ className, ...props }, ref) => {
1705
1699
  const { formDescriptionId } = useFormField();
1706
- return /* @__PURE__ */ jsx23(
1700
+ return /* @__PURE__ */ jsx29(
1707
1701
  "p",
1708
1702
  {
1709
1703
  ref,
@@ -1714,13 +1708,13 @@ var FormDescription = React22.forwardRef(({ className, ...props }, ref) => {
1714
1708
  );
1715
1709
  });
1716
1710
  FormDescription.displayName = "FormDescription";
1717
- var FormMessage = React22.forwardRef(({ className, children, ...props }, ref) => {
1711
+ var FormMessage = React29.forwardRef(({ className, children, ...props }, ref) => {
1718
1712
  const { error, formMessageId } = useFormField();
1719
1713
  const body = error ? String(error?.message ?? "") : children;
1720
1714
  if (!body) {
1721
1715
  return null;
1722
1716
  }
1723
- return /* @__PURE__ */ jsx23(
1717
+ return /* @__PURE__ */ jsx29(
1724
1718
  "p",
1725
1719
  {
1726
1720
  ref,
@@ -1734,12 +1728,12 @@ var FormMessage = React22.forwardRef(({ className, children, ...props }, ref) =>
1734
1728
  FormMessage.displayName = "FormMessage";
1735
1729
 
1736
1730
  // src/components/hover-card/hover-card.tsx
1737
- import * as React23 from "react";
1731
+ import * as React30 from "react";
1738
1732
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
1739
- import { jsx as jsx24 } from "react/jsx-runtime";
1733
+ import { jsx as jsx30 } from "react/jsx-runtime";
1740
1734
  var HoverCard = HoverCardPrimitive.Root;
1741
1735
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
1742
- var HoverCardContent = React23.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx24(
1736
+ var HoverCardContent = React30.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx30(
1743
1737
  HoverCardPrimitive.Content,
1744
1738
  {
1745
1739
  ref,
@@ -1752,11 +1746,11 @@ var HoverCardContent = React23.forwardRef(({ className, align = "center", sideOf
1752
1746
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
1753
1747
 
1754
1748
  // src/components/input/input.tsx
1755
- import * as React24 from "react";
1756
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1757
- var Input = React24.forwardRef(
1749
+ import * as React31 from "react";
1750
+ import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
1751
+ var Input = React31.forwardRef(
1758
1752
  ({ className, type, startIcon, endIcon, ...props }, ref) => {
1759
- const inputEl = /* @__PURE__ */ jsx25(
1753
+ const inputEl = /* @__PURE__ */ jsx31(
1760
1754
  "input",
1761
1755
  {
1762
1756
  type,
@@ -1773,21 +1767,21 @@ var Input = React24.forwardRef(
1773
1767
  if (!startIcon && !endIcon) {
1774
1768
  return inputEl;
1775
1769
  }
1776
- return /* @__PURE__ */ jsxs14("div", { className: "dl-input-wrapper", children: [
1777
- startIcon && /* @__PURE__ */ jsx25("span", { className: "dl-input-icon dl-input-icon--start", children: startIcon }),
1770
+ return /* @__PURE__ */ jsxs19("div", { className: "dl-input-wrapper", children: [
1771
+ startIcon && /* @__PURE__ */ jsx31("span", { className: "dl-input-icon dl-input-icon--start", children: startIcon }),
1778
1772
  inputEl,
1779
- endIcon && /* @__PURE__ */ jsx25("span", { className: "dl-input-icon dl-input-icon--end", children: endIcon })
1773
+ endIcon && /* @__PURE__ */ jsx31("span", { className: "dl-input-icon dl-input-icon--end", children: endIcon })
1780
1774
  ] });
1781
1775
  }
1782
1776
  );
1783
1777
  Input.displayName = "Input";
1784
1778
 
1785
1779
  // src/components/input-otp/input-otp.tsx
1786
- import * as React25 from "react";
1780
+ import * as React32 from "react";
1787
1781
  import { OTPInput, OTPInputContext } from "input-otp";
1788
1782
  import { Minus } from "lucide-react";
1789
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
1790
- var InputOTP = React25.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx26(
1783
+ import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
1784
+ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx32(
1791
1785
  OTPInput,
1792
1786
  {
1793
1787
  ref,
@@ -1797,16 +1791,16 @@ var InputOTP = React25.forwardRef(({ className, containerClassName, ...props },
1797
1791
  }
1798
1792
  ));
1799
1793
  InputOTP.displayName = "InputOTP";
1800
- var InputOTPGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26("div", { ref, className: cn("dl-input-otp-group", className), ...props }));
1794
+ var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx32("div", { ref, className: cn("dl-input-otp-group", className), ...props }));
1801
1795
  InputOTPGroup.displayName = "InputOTPGroup";
1802
- var InputOTPSlot = React25.forwardRef(({ index, className, ...props }, ref) => {
1803
- const inputOTPContext = React25.useContext(OTPInputContext);
1796
+ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
1797
+ const inputOTPContext = React32.useContext(OTPInputContext);
1804
1798
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index] ?? {
1805
1799
  char: null,
1806
1800
  hasFakeCaret: false,
1807
1801
  isActive: false
1808
1802
  };
1809
- return /* @__PURE__ */ jsxs15(
1803
+ return /* @__PURE__ */ jsxs20(
1810
1804
  "div",
1811
1805
  {
1812
1806
  ref,
@@ -1818,23 +1812,23 @@ var InputOTPSlot = React25.forwardRef(({ index, className, ...props }, ref) => {
1818
1812
  ...props,
1819
1813
  children: [
1820
1814
  char,
1821
- hasFakeCaret && /* @__PURE__ */ jsx26("div", { className: "dl-input-otp-caret", children: /* @__PURE__ */ jsx26("div", { className: "dl-input-otp-caret__line" }) })
1815
+ hasFakeCaret && /* @__PURE__ */ jsx32("div", { className: "dl-input-otp-caret", children: /* @__PURE__ */ jsx32("div", { className: "dl-input-otp-caret__line" }) })
1822
1816
  ]
1823
1817
  }
1824
1818
  );
1825
1819
  });
1826
1820
  InputOTPSlot.displayName = "InputOTPSlot";
1827
- var InputOTPSeparator = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx26("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx26(Minus, {}) }));
1821
+ var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx32("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx32(Minus, {}) }));
1828
1822
  InputOTPSeparator.displayName = "InputOTPSeparator";
1829
1823
 
1830
1824
  // src/components/skeleton/skeleton.tsx
1831
- import { jsx as jsx27 } from "react/jsx-runtime";
1825
+ import { jsx as jsx33 } from "react/jsx-runtime";
1832
1826
  function Skeleton({ className, ...props }) {
1833
- return /* @__PURE__ */ jsx27("div", { className: cn("dl-skeleton", className), ...props });
1827
+ return /* @__PURE__ */ jsx33("div", { className: cn("dl-skeleton", className), ...props });
1834
1828
  }
1835
1829
 
1836
1830
  // src/components/loading-state/loading-state.tsx
1837
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
1831
+ import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
1838
1832
  function LoadingState({
1839
1833
  rows = 3,
1840
1834
  message,
@@ -1842,8 +1836,8 @@ function LoadingState({
1842
1836
  ...props
1843
1837
  }) {
1844
1838
  if (message) {
1845
- return /* @__PURE__ */ jsxs16("div", { className: cn("dl-loading", className), ...props, children: [
1846
- /* @__PURE__ */ jsx28(
1839
+ return /* @__PURE__ */ jsxs21("div", { className: cn("dl-loading", className), ...props, children: [
1840
+ /* @__PURE__ */ jsx34(
1847
1841
  "svg",
1848
1842
  {
1849
1843
  xmlns: "http://www.w3.org/2000/svg",
@@ -1855,49 +1849,39 @@ function LoadingState({
1855
1849
  strokeWidth: "2",
1856
1850
  strokeLinecap: "round",
1857
1851
  strokeLinejoin: "round",
1858
- children: /* @__PURE__ */ jsx28("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
1852
+ children: /* @__PURE__ */ jsx34("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
1859
1853
  }
1860
1854
  ),
1861
- /* @__PURE__ */ jsx28("span", { children: message })
1855
+ /* @__PURE__ */ jsx34("span", { children: message })
1862
1856
  ] });
1863
1857
  }
1864
- return /* @__PURE__ */ jsxs16("div", { className: cn("dl-loading-skeleton", className), ...props, children: [
1865
- /* @__PURE__ */ jsx28(Skeleton, { style: { height: "2rem", width: "33.333%" } }),
1866
- /* @__PURE__ */ jsx28("div", { className: "dl-loading-skeleton__list", children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ jsx28(
1867
- Skeleton,
1868
- {
1869
- style: {
1870
- height: "4rem",
1871
- width: "100%",
1872
- borderRadius: "var(--radius-lg, 0.75rem)"
1873
- }
1874
- },
1875
- i
1876
- )) })
1858
+ return /* @__PURE__ */ jsxs21("div", { className: cn("dl-loading-skeleton", className), ...props, children: [
1859
+ /* @__PURE__ */ jsx34(Skeleton, { className: "dl-loading-skeleton__header" }),
1860
+ /* @__PURE__ */ jsx34("div", { className: "dl-loading-skeleton__list", children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ jsx34(Skeleton, { className: "dl-loading-skeleton__row" }, i)) })
1877
1861
  ] });
1878
1862
  }
1879
1863
 
1880
- // src/components/menubar/menubar.tsx
1881
- import * as React26 from "react";
1864
+ // src/components/menubar/menubar-primitives.tsx
1865
+ import * as React33 from "react";
1882
1866
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
1883
- import { Check as Check4, ChevronRight as ChevronRight4, Circle as Circle3 } from "lucide-react";
1884
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
1867
+ import { ChevronRight as ChevronRight4 } from "lucide-react";
1868
+ import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
1885
1869
  function MenubarMenu(props) {
1886
- return /* @__PURE__ */ jsx29(MenubarPrimitive.Menu, { ...props });
1870
+ return /* @__PURE__ */ jsx35(MenubarPrimitive.Menu, { ...props });
1887
1871
  }
1888
1872
  function MenubarGroup(props) {
1889
- return /* @__PURE__ */ jsx29(MenubarPrimitive.Group, { ...props });
1873
+ return /* @__PURE__ */ jsx35(MenubarPrimitive.Group, { ...props });
1890
1874
  }
1891
1875
  function MenubarPortal(props) {
1892
- return /* @__PURE__ */ jsx29(MenubarPrimitive.Portal, { ...props });
1876
+ return /* @__PURE__ */ jsx35(MenubarPrimitive.Portal, { ...props });
1893
1877
  }
1894
1878
  function MenubarRadioGroup(props) {
1895
- return /* @__PURE__ */ jsx29(MenubarPrimitive.RadioGroup, { ...props });
1879
+ return /* @__PURE__ */ jsx35(MenubarPrimitive.RadioGroup, { ...props });
1896
1880
  }
1897
1881
  function MenubarSub(props) {
1898
- return /* @__PURE__ */ jsx29(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
1882
+ return /* @__PURE__ */ jsx35(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
1899
1883
  }
1900
- var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
1884
+ var Menubar = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
1901
1885
  MenubarPrimitive.Root,
1902
1886
  {
1903
1887
  ref,
@@ -1906,7 +1890,7 @@ var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1906
1890
  }
1907
1891
  ));
1908
1892
  Menubar.displayName = MenubarPrimitive.Root.displayName;
1909
- var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
1893
+ var MenubarTrigger = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
1910
1894
  MenubarPrimitive.Trigger,
1911
1895
  {
1912
1896
  ref,
@@ -1915,24 +1899,24 @@ var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__
1915
1899
  }
1916
1900
  ));
1917
1901
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
1918
- var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs17(
1902
+ var MenubarSubTrigger = React33.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs22(
1919
1903
  MenubarPrimitive.SubTrigger,
1920
1904
  {
1921
1905
  ref,
1922
1906
  className: cn(
1923
1907
  "dl-menu-item dl-menu-sub-trigger",
1924
- inset && "pl-8",
1908
+ inset && "dl-menu-item--inset",
1925
1909
  className
1926
1910
  ),
1927
1911
  ...props,
1928
1912
  children: [
1929
1913
  children,
1930
- /* @__PURE__ */ jsx29(ChevronRight4, { className: "ml-auto size-4" })
1914
+ /* @__PURE__ */ jsx35(ChevronRight4, { className: "dl-menu-item__chevron" })
1931
1915
  ]
1932
1916
  }
1933
1917
  ));
1934
1918
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
1935
- var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
1919
+ var MenubarSubContent = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
1936
1920
  MenubarPrimitive.SubContent,
1937
1921
  {
1938
1922
  ref,
@@ -1941,8 +1925,8 @@ var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /*
1941
1925
  }
1942
1926
  ));
1943
1927
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
1944
- var MenubarContent = React26.forwardRef(
1945
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx29(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx29(
1928
+ var MenubarContent = React33.forwardRef(
1929
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx35(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
1946
1930
  MenubarPrimitive.Content,
1947
1931
  {
1948
1932
  ref,
@@ -1955,72 +1939,81 @@ var MenubarContent = React26.forwardRef(
1955
1939
  ) })
1956
1940
  );
1957
1941
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
1958
- var MenubarItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx29(
1959
- MenubarPrimitive.Item,
1942
+
1943
+ // src/components/menubar/menubar-items.tsx
1944
+ import * as React34 from "react";
1945
+ import * as MenubarPrimitive2 from "@radix-ui/react-menubar";
1946
+ import { Check as Check4, Circle as Circle3 } from "lucide-react";
1947
+ import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
1948
+ var MenubarItem = React34.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx36(
1949
+ MenubarPrimitive2.Item,
1960
1950
  {
1961
1951
  ref,
1962
- className: cn("dl-menu-item", inset && "pl-8", className),
1952
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
1963
1953
  ...props
1964
1954
  }
1965
1955
  ));
1966
- MenubarItem.displayName = MenubarPrimitive.Item.displayName;
1967
- var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs17(
1968
- MenubarPrimitive.CheckboxItem,
1956
+ MenubarItem.displayName = MenubarPrimitive2.Item.displayName;
1957
+ var MenubarCheckboxItem = React34.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs23(
1958
+ MenubarPrimitive2.CheckboxItem,
1969
1959
  {
1970
1960
  ref,
1971
1961
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
1972
1962
  checked,
1973
1963
  ...props,
1974
1964
  children: [
1975
- /* @__PURE__ */ jsx29("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx29(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(Check4, { className: "size-4" }) }) }),
1965
+ /* @__PURE__ */ jsx36("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ jsx36(MenubarPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx36(Check4, { className: "dl-menu-item__icon" }) }) }),
1976
1966
  children
1977
1967
  ]
1978
1968
  }
1979
1969
  ));
1980
- MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
1981
- var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs17(
1982
- MenubarPrimitive.RadioItem,
1970
+ MenubarCheckboxItem.displayName = MenubarPrimitive2.CheckboxItem.displayName;
1971
+ var MenubarRadioItem = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs23(
1972
+ MenubarPrimitive2.RadioItem,
1983
1973
  {
1984
1974
  ref,
1985
1975
  className: cn("dl-menu-item dl-menu-radio-item", className),
1986
1976
  ...props,
1987
1977
  children: [
1988
- /* @__PURE__ */ jsx29("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx29(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx29(Circle3, { className: "fill-current size-2" }) }) }),
1978
+ /* @__PURE__ */ jsx36("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ jsx36(MenubarPrimitive2.ItemIndicator, { children: /* @__PURE__ */ jsx36(Circle3, { className: "dl-menu-item__radio-dot" }) }) }),
1989
1979
  children
1990
1980
  ]
1991
1981
  }
1992
1982
  ));
1993
- MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
1994
- var MenubarLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx29(
1995
- MenubarPrimitive.Label,
1983
+ MenubarRadioItem.displayName = MenubarPrimitive2.RadioItem.displayName;
1984
+ var MenubarLabel = React34.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx36(
1985
+ MenubarPrimitive2.Label,
1996
1986
  {
1997
1987
  ref,
1998
- className: cn("dl-menu-label", inset && "pl-8", className),
1988
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
1999
1989
  ...props
2000
1990
  }
2001
1991
  ));
2002
- MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
2003
- var MenubarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
2004
- MenubarPrimitive.Separator,
1992
+ MenubarLabel.displayName = MenubarPrimitive2.Label.displayName;
1993
+ var MenubarSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
1994
+ MenubarPrimitive2.Separator,
2005
1995
  {
2006
1996
  ref,
2007
1997
  className: cn("dl-menu-separator", className),
2008
1998
  ...props
2009
1999
  }
2010
2000
  ));
2011
- MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
2012
- var MenubarShortcut = ({ className, ...props }) => {
2013
- return /* @__PURE__ */ jsx29("span", { className: cn("dl-menu-shortcut", className), ...props });
2001
+ MenubarSeparator.displayName = MenubarPrimitive2.Separator.displayName;
2002
+ var MenubarShortcut = ({
2003
+ className,
2004
+ ...props
2005
+ }) => {
2006
+ return /* @__PURE__ */ jsx36("span", { className: cn("dl-menu-shortcut", className), ...props });
2014
2007
  };
2015
2008
  MenubarShortcut.displayName = "MenubarShortcut";
2016
2009
 
2017
2010
  // src/components/navigation-menu/navigation-menu.tsx
2018
- import * as React27 from "react";
2011
+ import * as React35 from "react";
2019
2012
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
2020
2013
  import { cva as cva5 } from "class-variance-authority";
2021
2014
  import { ChevronDown as ChevronDown2 } from "lucide-react";
2022
- import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
2023
- var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs18(
2015
+ import { jsx as jsx37, jsxs as jsxs24 } from "react/jsx-runtime";
2016
+ var NavigationMenu = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs24(
2024
2017
  NavigationMenuPrimitive.Root,
2025
2018
  {
2026
2019
  ref,
@@ -2028,12 +2021,12 @@ var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref)
2028
2021
  ...props,
2029
2022
  children: [
2030
2023
  children,
2031
- /* @__PURE__ */ jsx30(NavigationMenuViewport, {})
2024
+ /* @__PURE__ */ jsx37(NavigationMenuViewport, {})
2032
2025
  ]
2033
2026
  }
2034
2027
  ));
2035
2028
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2036
- var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2029
+ var NavigationMenuList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
2037
2030
  NavigationMenuPrimitive.List,
2038
2031
  {
2039
2032
  ref,
@@ -2044,7 +2037,7 @@ var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /*
2044
2037
  NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
2045
2038
  var NavigationMenuItem = NavigationMenuPrimitive.Item;
2046
2039
  var navigationMenuTriggerStyle = cva5("dl-navigation-menu-trigger");
2047
- var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs18(
2040
+ var NavigationMenuTrigger = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs24(
2048
2041
  NavigationMenuPrimitive.Trigger,
2049
2042
  {
2050
2043
  ref,
@@ -2053,12 +2046,12 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
2053
2046
  children: [
2054
2047
  children,
2055
2048
  " ",
2056
- /* @__PURE__ */ jsx30(ChevronDown2, { className: "dl-navigation-menu-chevron", "aria-hidden": "true" })
2049
+ /* @__PURE__ */ jsx37(ChevronDown2, { className: "dl-navigation-menu-chevron", "aria-hidden": "true" })
2057
2050
  ]
2058
2051
  }
2059
2052
  ));
2060
2053
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2061
- var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2054
+ var NavigationMenuContent = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
2062
2055
  NavigationMenuPrimitive.Content,
2063
2056
  {
2064
2057
  ref,
@@ -2068,7 +2061,7 @@ var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) =>
2068
2061
  ));
2069
2062
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2070
2063
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
2071
- var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30("div", { className: "dl-navigation-menu-viewport-wrapper", children: /* @__PURE__ */ jsx30(
2064
+ var NavigationMenuViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37("div", { className: "dl-navigation-menu-viewport-wrapper", children: /* @__PURE__ */ jsx37(
2072
2065
  NavigationMenuPrimitive.Viewport,
2073
2066
  {
2074
2067
  className: cn("dl-navigation-menu-viewport", className),
@@ -2077,22 +2070,22 @@ var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) =
2077
2070
  }
2078
2071
  ) }));
2079
2072
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2080
- var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2073
+ var NavigationMenuIndicator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx37(
2081
2074
  NavigationMenuPrimitive.Indicator,
2082
2075
  {
2083
2076
  ref,
2084
2077
  className: cn("dl-navigation-menu-indicator", className),
2085
2078
  ...props,
2086
- children: /* @__PURE__ */ jsx30("div", { className: "dl-navigation-menu-indicator__arrow" })
2079
+ children: /* @__PURE__ */ jsx37("div", { className: "dl-navigation-menu-indicator__arrow" })
2087
2080
  }
2088
2081
  ));
2089
2082
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
2090
2083
 
2091
2084
  // src/components/pagination/pagination.tsx
2092
- import * as React28 from "react";
2085
+ import * as React36 from "react";
2093
2086
  import { ChevronLeft, ChevronRight as ChevronRight5, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
2094
- import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
2095
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx31(
2087
+ import { jsx as jsx38, jsxs as jsxs25 } from "react/jsx-runtime";
2088
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx38(
2096
2089
  "nav",
2097
2090
  {
2098
2091
  role: "navigation",
@@ -2102,10 +2095,10 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx31(
2102
2095
  }
2103
2096
  );
2104
2097
  Pagination.displayName = "Pagination";
2105
- var PaginationContent = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx31("ul", { ref, className: cn("dl-pagination-content", className), ...props }));
2098
+ var PaginationContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38("ul", { ref, className: cn("dl-pagination-content", className), ...props }));
2106
2099
  PaginationContent.displayName = "PaginationContent";
2107
- var PaginationItem = React28.forwardRef(
2108
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx31("li", { ref, className: cn("dl-pagination-item", className), ...props })
2100
+ var PaginationItem = React36.forwardRef(
2101
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("li", { ref, className: cn("dl-pagination-item", className), ...props })
2109
2102
  );
2110
2103
  PaginationItem.displayName = "PaginationItem";
2111
2104
  var PaginationLink = ({
@@ -2113,7 +2106,7 @@ var PaginationLink = ({
2113
2106
  isActive,
2114
2107
  size = "icon",
2115
2108
  ...props
2116
- }) => /* @__PURE__ */ jsx31(
2109
+ }) => /* @__PURE__ */ jsx38(
2117
2110
  "a",
2118
2111
  {
2119
2112
  "aria-current": isActive ? "page" : void 0,
@@ -2131,7 +2124,7 @@ PaginationLink.displayName = "PaginationLink";
2131
2124
  var PaginationPrevious = ({
2132
2125
  className,
2133
2126
  ...props
2134
- }) => /* @__PURE__ */ jsxs19(
2127
+ }) => /* @__PURE__ */ jsxs25(
2135
2128
  PaginationLink,
2136
2129
  {
2137
2130
  "aria-label": "Go to previous page",
@@ -2139,13 +2132,13 @@ var PaginationPrevious = ({
2139
2132
  className: cn("dl-pagination-prev", className),
2140
2133
  ...props,
2141
2134
  children: [
2142
- /* @__PURE__ */ jsx31(ChevronLeft, { className: "size-4" }),
2143
- /* @__PURE__ */ jsx31("span", { children: "Previous" })
2135
+ /* @__PURE__ */ jsx38(ChevronLeft, { className: "dl-pagination-icon" }),
2136
+ /* @__PURE__ */ jsx38("span", { children: "Previous" })
2144
2137
  ]
2145
2138
  }
2146
2139
  );
2147
2140
  PaginationPrevious.displayName = "PaginationPrevious";
2148
- var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs19(
2141
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs25(
2149
2142
  PaginationLink,
2150
2143
  {
2151
2144
  "aria-label": "Go to next page",
@@ -2153,8 +2146,8 @@ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ jsxs19(
2153
2146
  className: cn("dl-pagination-next", className),
2154
2147
  ...props,
2155
2148
  children: [
2156
- /* @__PURE__ */ jsx31("span", { children: "Next" }),
2157
- /* @__PURE__ */ jsx31(ChevronRight5, { className: "size-4" })
2149
+ /* @__PURE__ */ jsx38("span", { children: "Next" }),
2150
+ /* @__PURE__ */ jsx38(ChevronRight5, { className: "dl-pagination-icon" })
2158
2151
  ]
2159
2152
  }
2160
2153
  );
@@ -2162,29 +2155,29 @@ PaginationNext.displayName = "PaginationNext";
2162
2155
  var PaginationEllipsis = ({
2163
2156
  className,
2164
2157
  ...props
2165
- }) => /* @__PURE__ */ jsxs19(
2158
+ }) => /* @__PURE__ */ jsxs25(
2166
2159
  "span",
2167
2160
  {
2168
2161
  "aria-hidden": true,
2169
2162
  className: cn("dl-pagination-ellipsis", className),
2170
2163
  ...props,
2171
2164
  children: [
2172
- /* @__PURE__ */ jsx31(MoreHorizontal2, {}),
2173
- /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "More pages" })
2165
+ /* @__PURE__ */ jsx38(MoreHorizontal2, {}),
2166
+ /* @__PURE__ */ jsx38("span", { className: "sr-only", children: "More pages" })
2174
2167
  ]
2175
2168
  }
2176
2169
  );
2177
2170
  PaginationEllipsis.displayName = "PaginationEllipsis";
2178
2171
 
2179
2172
  // src/components/panel/panel.tsx
2180
- import * as React29 from "react";
2181
- import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
2182
- var Panel = React29.forwardRef(
2173
+ import * as React37 from "react";
2174
+ import { jsx as jsx39, jsxs as jsxs26 } from "react/jsx-runtime";
2175
+ var Panel = React37.forwardRef(
2183
2176
  ({ title, meta, children, className, ...props }, ref) => {
2184
- return /* @__PURE__ */ jsxs20("section", { ref, className: cn("dl-panel", className), ...props, children: [
2185
- title ? /* @__PURE__ */ jsxs20("div", { className: "dl-panel__header", children: [
2186
- /* @__PURE__ */ jsx32("h2", { className: "dl-panel__title", children: title }),
2187
- meta ? /* @__PURE__ */ jsx32("div", { className: "dl-panel__meta", children: meta }) : null
2177
+ return /* @__PURE__ */ jsxs26("section", { ref, className: cn("dl-panel", className), ...props, children: [
2178
+ title ? /* @__PURE__ */ jsxs26("div", { className: "dl-panel__header", children: [
2179
+ /* @__PURE__ */ jsx39("h2", { className: "dl-panel__title", children: title }),
2180
+ meta ? /* @__PURE__ */ jsx39("div", { className: "dl-panel__meta", children: meta }) : null
2188
2181
  ] }) : null,
2189
2182
  children
2190
2183
  ] });
@@ -2193,16 +2186,16 @@ var Panel = React29.forwardRef(
2193
2186
  Panel.displayName = "Panel";
2194
2187
 
2195
2188
  // src/components/progress/progress.tsx
2196
- import * as React30 from "react";
2189
+ import * as React38 from "react";
2197
2190
  import * as ProgressPrimitive from "@radix-ui/react-progress";
2198
- import { jsx as jsx33 } from "react/jsx-runtime";
2199
- var Progress = React30.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx33(
2191
+ import { jsx as jsx40 } from "react/jsx-runtime";
2192
+ var Progress = React38.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx40(
2200
2193
  ProgressPrimitive.Root,
2201
2194
  {
2202
2195
  ref,
2203
2196
  className: cn("dl-progress", className),
2204
2197
  ...props,
2205
- children: /* @__PURE__ */ jsx33(
2198
+ children: /* @__PURE__ */ jsx40(
2206
2199
  ProgressPrimitive.Indicator,
2207
2200
  {
2208
2201
  className: "dl-progress__indicator",
@@ -2214,12 +2207,12 @@ var Progress = React30.forwardRef(({ className, value, ...props }, ref) => /* @_
2214
2207
  Progress.displayName = ProgressPrimitive.Root.displayName;
2215
2208
 
2216
2209
  // src/components/radio-group/radio-group.tsx
2217
- import * as React31 from "react";
2210
+ import * as React39 from "react";
2218
2211
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
2219
2212
  import { Circle as Circle4 } from "lucide-react";
2220
- import { jsx as jsx34 } from "react/jsx-runtime";
2221
- var RadioGroup4 = React31.forwardRef(({ className, ...props }, ref) => {
2222
- return /* @__PURE__ */ jsx34(
2213
+ import { jsx as jsx41 } from "react/jsx-runtime";
2214
+ var RadioGroup4 = React39.forwardRef(({ className, ...props }, ref) => {
2215
+ return /* @__PURE__ */ jsx41(
2223
2216
  RadioGroupPrimitive.Root,
2224
2217
  {
2225
2218
  className: cn("dl-radio-group", className),
@@ -2229,14 +2222,14 @@ var RadioGroup4 = React31.forwardRef(({ className, ...props }, ref) => {
2229
2222
  );
2230
2223
  });
2231
2224
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
2232
- var RadioGroupItem = React31.forwardRef(({ className, ...props }, ref) => {
2233
- return /* @__PURE__ */ jsx34(
2225
+ var RadioGroupItem = React39.forwardRef(({ className, ...props }, ref) => {
2226
+ return /* @__PURE__ */ jsx41(
2234
2227
  RadioGroupPrimitive.Item,
2235
2228
  {
2236
2229
  ref,
2237
2230
  className: cn("dl-radio-item", className),
2238
2231
  ...props,
2239
- children: /* @__PURE__ */ jsx34(RadioGroupPrimitive.Indicator, { className: "dl-radio-item__indicator", children: /* @__PURE__ */ jsx34(Circle4, { "aria-hidden": "true" }) })
2232
+ children: /* @__PURE__ */ jsx41(RadioGroupPrimitive.Indicator, { className: "dl-radio-item__indicator", children: /* @__PURE__ */ jsx41(Circle4, { "aria-hidden": "true" }) })
2240
2233
  }
2241
2234
  );
2242
2235
  });
@@ -2245,72 +2238,67 @@ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
2245
2238
  // src/components/resizable/resizable.tsx
2246
2239
  import { GripVertical } from "lucide-react";
2247
2240
  import { Group as Group4, Panel as Panel2, Separator as Separator4 } from "react-resizable-panels";
2248
- import { jsx as jsx35 } from "react/jsx-runtime";
2241
+ import { jsx as jsx42 } from "react/jsx-runtime";
2249
2242
  var ResizablePanelGroup = ({
2250
2243
  className,
2251
2244
  ...props
2252
- }) => /* @__PURE__ */ jsx35(Group4, { className: cn("dl-resizable-group", className), ...props });
2245
+ }) => /* @__PURE__ */ jsx42(Group4, { className: cn("dl-resizable-group", className), ...props });
2253
2246
  var ResizablePanel = Panel2;
2254
2247
  var ResizableHandle = ({
2255
2248
  withHandle,
2256
2249
  className,
2257
2250
  ...props
2258
- }) => /* @__PURE__ */ jsx35(Separator4, { className: cn("dl-resizable-handle", className), ...props, children: withHandle && /* @__PURE__ */ jsx35("div", { className: "dl-resizable-grip", children: /* @__PURE__ */ jsx35(GripVertical, {}) }) });
2251
+ }) => /* @__PURE__ */ jsx42(Separator4, { className: cn("dl-resizable-handle", className), ...props, children: withHandle && /* @__PURE__ */ jsx42("div", { className: "dl-resizable-grip", children: /* @__PURE__ */ jsx42(GripVertical, {}) }) });
2259
2252
 
2260
2253
  // src/components/scroll-area/scroll-area.tsx
2261
- import * as React32 from "react";
2254
+ import * as React40 from "react";
2262
2255
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2263
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
2264
- var ScrollArea = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs21(
2256
+ import { jsx as jsx43, jsxs as jsxs27 } from "react/jsx-runtime";
2257
+ var ScrollArea = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
2265
2258
  ScrollAreaPrimitive.Root,
2266
2259
  {
2267
2260
  ref,
2268
2261
  className: cn("dl-scroll-area", className),
2269
2262
  ...props,
2270
2263
  children: [
2271
- /* @__PURE__ */ jsx36(ScrollAreaPrimitive.Viewport, { className: "dl-scroll-area__viewport", children }),
2272
- /* @__PURE__ */ jsx36(ScrollBar, {}),
2273
- /* @__PURE__ */ jsx36(ScrollAreaPrimitive.Corner, {})
2264
+ /* @__PURE__ */ jsx43(ScrollAreaPrimitive.Viewport, { className: "dl-scroll-area__viewport", children }),
2265
+ /* @__PURE__ */ jsx43(ScrollBar, {}),
2266
+ /* @__PURE__ */ jsx43(ScrollAreaPrimitive.Corner, {})
2274
2267
  ]
2275
2268
  }
2276
2269
  ));
2277
2270
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
2278
- var ScrollBar = React32.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx36(
2271
+ var ScrollBar = React40.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx43(
2279
2272
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2280
2273
  {
2281
2274
  ref,
2282
2275
  orientation,
2283
2276
  className: cn("dl-scroll-area__bar", className),
2284
2277
  ...props,
2285
- children: /* @__PURE__ */ jsx36(ScrollAreaPrimitive.ScrollAreaThumb, { className: "dl-scroll-area__thumb" })
2278
+ children: /* @__PURE__ */ jsx43(ScrollAreaPrimitive.ScrollAreaThumb, { className: "dl-scroll-area__thumb" })
2286
2279
  }
2287
2280
  ));
2288
2281
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2289
2282
 
2290
2283
  // src/components/searchable-select/searchable-select.tsx
2291
- import * as React33 from "react";
2292
2284
  import { Search as Search2, Plus, Check as Check5, ChevronDown as ChevronDown3 } from "lucide-react";
2293
- import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
2294
- function SearchableSelect({
2285
+
2286
+ // src/components/searchable-select/use-searchable-select.ts
2287
+ import * as React41 from "react";
2288
+ function useSearchableSelect({
2295
2289
  options,
2296
2290
  value,
2297
2291
  onChange,
2298
- placeholder = "Select an option...",
2299
- searchPlaceholder = "Search...",
2300
- onAddNew,
2301
- addNewLabel = "Add new",
2302
- disabled = false,
2303
- className,
2304
- id
2292
+ onAddNew
2305
2293
  }) {
2306
- const [open, setOpen] = React33.useState(false);
2307
- const [search, setSearch] = React33.useState("");
2308
- const [highlightedIndex, setHighlightedIndex] = React33.useState(0);
2309
- const listRef = React33.useRef(null);
2310
- const selectedOption = React33.useMemo(() => {
2294
+ const [open, setOpen] = React41.useState(false);
2295
+ const [search, setSearch] = React41.useState("");
2296
+ const [highlightedIndex, setHighlightedIndex] = React41.useState(0);
2297
+ const listRef = React41.useRef(null);
2298
+ const selectedOption = React41.useMemo(() => {
2311
2299
  return options.find((opt) => opt.value === value);
2312
2300
  }, [options, value]);
2313
- const filteredOptions = React33.useMemo(() => {
2301
+ const filteredOptions = React41.useMemo(() => {
2314
2302
  if (!search.trim()) return options;
2315
2303
  const q = search.toLowerCase();
2316
2304
  return options.filter(
@@ -2330,7 +2318,7 @@ function SearchableSelect({
2330
2318
  setSearch(q);
2331
2319
  setHighlightedIndex(0);
2332
2320
  };
2333
- React33.useEffect(() => {
2321
+ React41.useEffect(() => {
2334
2322
  if (open && listRef.current) {
2335
2323
  const activeEl = listRef.current.querySelector(
2336
2324
  "[data-highlighted='true']"
@@ -2340,7 +2328,7 @@ function SearchableSelect({
2340
2328
  }
2341
2329
  }
2342
2330
  }, [highlightedIndex, open]);
2343
- const groupedOptions = React33.useMemo(() => {
2331
+ const groupedOptions = React41.useMemo(() => {
2344
2332
  const hasGroups = filteredOptions.some((opt) => opt.group);
2345
2333
  if (!hasGroups) return { Default: filteredOptions };
2346
2334
  return filteredOptions.reduce(
@@ -2397,9 +2385,55 @@ function SearchableSelect({
2397
2385
  break;
2398
2386
  }
2399
2387
  };
2388
+ return {
2389
+ open,
2390
+ search,
2391
+ highlightedIndex,
2392
+ setHighlightedIndex,
2393
+ listRef,
2394
+ selectedOption,
2395
+ filteredOptions,
2396
+ groupedOptions,
2397
+ handleOpenChange,
2398
+ handleSearchChange,
2399
+ handleSelect,
2400
+ handleAddNew,
2401
+ handleKeyDown
2402
+ };
2403
+ }
2404
+
2405
+ // src/components/searchable-select/searchable-select.tsx
2406
+ import { jsx as jsx44, jsxs as jsxs28 } from "react/jsx-runtime";
2407
+ function SearchableSelect({
2408
+ options,
2409
+ value,
2410
+ onChange,
2411
+ placeholder = "Select an option...",
2412
+ searchPlaceholder = "Search...",
2413
+ onAddNew,
2414
+ addNewLabel = "Add new",
2415
+ disabled = false,
2416
+ className,
2417
+ id
2418
+ }) {
2419
+ const {
2420
+ open,
2421
+ search,
2422
+ highlightedIndex,
2423
+ setHighlightedIndex,
2424
+ listRef,
2425
+ selectedOption,
2426
+ filteredOptions,
2427
+ groupedOptions,
2428
+ handleOpenChange,
2429
+ handleSearchChange,
2430
+ handleSelect,
2431
+ handleAddNew,
2432
+ handleKeyDown
2433
+ } = useSearchableSelect({ options, value, onChange, onAddNew });
2400
2434
  let currentIndex = 0;
2401
- return /* @__PURE__ */ jsxs22(Popover, { open, onOpenChange: handleOpenChange, children: [
2402
- /* @__PURE__ */ jsx37(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs22(
2435
+ return /* @__PURE__ */ jsxs28(Popover, { open, onOpenChange: handleOpenChange, children: [
2436
+ /* @__PURE__ */ jsx44(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs28(
2403
2437
  Button,
2404
2438
  {
2405
2439
  id,
@@ -2414,21 +2448,21 @@ function SearchableSelect({
2414
2448
  className
2415
2449
  ),
2416
2450
  children: [
2417
- /* @__PURE__ */ jsx37("span", { className: "truncate", children: selectedOption ? selectedOption.label : placeholder }),
2418
- /* @__PURE__ */ jsx37(ChevronDown3, { className: "dl-select-icon" })
2451
+ /* @__PURE__ */ jsx44("span", { className: "dl-searchable-select-truncate", children: selectedOption ? selectedOption.label : placeholder }),
2452
+ /* @__PURE__ */ jsx44(ChevronDown3, { className: "dl-select-icon" })
2419
2453
  ]
2420
2454
  }
2421
2455
  ) }),
2422
- /* @__PURE__ */ jsxs22(
2456
+ /* @__PURE__ */ jsxs28(
2423
2457
  PopoverContent,
2424
2458
  {
2425
2459
  align: "start",
2426
2460
  className: "dl-searchable-select-content",
2427
2461
  onKeyDown: handleKeyDown,
2428
2462
  children: [
2429
- /* @__PURE__ */ jsxs22("div", { className: "dl-searchable-select-search", children: [
2430
- /* @__PURE__ */ jsx37(Search2, { className: "dl-searchable-select-search-icon" }),
2431
- /* @__PURE__ */ jsx37(
2463
+ /* @__PURE__ */ jsxs28("div", { className: "dl-searchable-select-search", children: [
2464
+ /* @__PURE__ */ jsx44(Search2, { className: "dl-searchable-select-search-icon" }),
2465
+ /* @__PURE__ */ jsx44(
2432
2466
  Input,
2433
2467
  {
2434
2468
  placeholder: searchPlaceholder,
@@ -2439,19 +2473,19 @@ function SearchableSelect({
2439
2473
  }
2440
2474
  )
2441
2475
  ] }),
2442
- /* @__PURE__ */ jsx37(
2476
+ /* @__PURE__ */ jsx44(
2443
2477
  "div",
2444
2478
  {
2445
2479
  ref: listRef,
2446
2480
  onWheel: (e) => e.stopPropagation(),
2447
2481
  className: "dl-searchable-select-list",
2448
- children: Object.keys(groupedOptions).length === 0 || filteredOptions.length === 0 && !onAddNew ? /* @__PURE__ */ jsx37("div", { className: "dl-searchable-select-empty", children: "No matching options found." }) : Object.entries(groupedOptions).map(([groupName, groupOpts]) => /* @__PURE__ */ jsxs22("div", { className: "py-1", children: [
2449
- groupName !== "Default" && /* @__PURE__ */ jsx37("div", { className: "dl-searchable-select-group-header", children: groupName }),
2482
+ children: Object.keys(groupedOptions).length === 0 || filteredOptions.length === 0 && !onAddNew ? /* @__PURE__ */ jsx44("div", { className: "dl-searchable-select-empty", children: "No matching options found." }) : Object.entries(groupedOptions).map(([groupName, groupOpts]) => /* @__PURE__ */ jsxs28("div", { className: "dl-searchable-select-group", children: [
2483
+ groupName !== "Default" && /* @__PURE__ */ jsx44("div", { className: "dl-searchable-select-group-header", children: groupName }),
2450
2484
  groupOpts.map((option) => {
2451
2485
  const isSelected = option.value === value;
2452
2486
  const itemIndex = currentIndex++;
2453
2487
  const isHighlighted = itemIndex === highlightedIndex;
2454
- return /* @__PURE__ */ jsxs22(
2488
+ return /* @__PURE__ */ jsxs28(
2455
2489
  "div",
2456
2490
  {
2457
2491
  "data-highlighted": isHighlighted,
@@ -2463,8 +2497,8 @@ function SearchableSelect({
2463
2497
  isSelected && !isHighlighted && "dl-searchable-select-item--selected"
2464
2498
  ),
2465
2499
  children: [
2466
- /* @__PURE__ */ jsx37("span", { className: "flex-1 truncate", children: option.label }),
2467
- isSelected && /* @__PURE__ */ jsx37(Check5, { className: "dl-select-check" })
2500
+ /* @__PURE__ */ jsx44("span", { className: "dl-searchable-select-item-text", children: option.label }),
2501
+ isSelected && /* @__PURE__ */ jsx44(Check5, { className: "dl-select-check" })
2468
2502
  ]
2469
2503
  },
2470
2504
  option.value
@@ -2473,15 +2507,15 @@ function SearchableSelect({
2473
2507
  ] }, groupName))
2474
2508
  }
2475
2509
  ),
2476
- onAddNew && /* @__PURE__ */ jsx37("div", { className: "dl-searchable-select-add", children: /* @__PURE__ */ jsxs22(
2510
+ onAddNew && /* @__PURE__ */ jsx44("div", { className: "dl-searchable-select-add", children: /* @__PURE__ */ jsxs28(
2477
2511
  "button",
2478
2512
  {
2479
2513
  type: "button",
2480
2514
  onClick: handleAddNew,
2481
2515
  className: "dl-searchable-select-add-btn",
2482
2516
  children: [
2483
- /* @__PURE__ */ jsx37(Plus, { className: "size-3.5 shrink-0" }),
2484
- /* @__PURE__ */ jsx37("span", { className: "truncate", children: search.trim() ? `${addNewLabel} "${search.trim()}"` : addNewLabel })
2517
+ /* @__PURE__ */ jsx44(Plus, { className: "dl-searchable-select-add-icon" }),
2518
+ /* @__PURE__ */ jsx44("span", { className: "dl-searchable-select-truncate", children: search.trim() ? `${addNewLabel} "${search.trim()}"` : addNewLabel })
2485
2519
  ]
2486
2520
  }
2487
2521
  ) })
@@ -2492,14 +2526,14 @@ function SearchableSelect({
2492
2526
  }
2493
2527
 
2494
2528
  // src/components/select/select.tsx
2495
- import * as React34 from "react";
2529
+ import * as React42 from "react";
2496
2530
  import * as SelectPrimitive from "@radix-ui/react-select";
2497
2531
  import { Check as Check6, ChevronDown as ChevronDown4, ChevronUp } from "lucide-react";
2498
- import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
2532
+ import { jsx as jsx45, jsxs as jsxs29 } from "react/jsx-runtime";
2499
2533
  var Select = SelectPrimitive.Root;
2500
2534
  var SelectGroup = SelectPrimitive.Group;
2501
2535
  var SelectValue = SelectPrimitive.Value;
2502
- var SelectTrigger = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs23(
2536
+ var SelectTrigger = React42.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs29(
2503
2537
  SelectPrimitive.Trigger,
2504
2538
  {
2505
2539
  ref,
@@ -2507,32 +2541,32 @@ var SelectTrigger = React34.forwardRef(({ className, children, ...props }, ref)
2507
2541
  ...props,
2508
2542
  children: [
2509
2543
  children,
2510
- /* @__PURE__ */ jsx38(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx38(ChevronDown4, { style: { opacity: 0.5, width: "1rem", height: "1rem" } }) })
2544
+ /* @__PURE__ */ jsx45(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx45(ChevronDown4, {}) })
2511
2545
  ]
2512
2546
  }
2513
2547
  ));
2514
2548
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2515
- var SelectScrollUpButton = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
2549
+ var SelectScrollUpButton = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
2516
2550
  SelectPrimitive.ScrollUpButton,
2517
2551
  {
2518
2552
  ref,
2519
2553
  className: cn("dl-select-scroll-btn", className),
2520
2554
  ...props,
2521
- children: /* @__PURE__ */ jsx38(ChevronUp, { style: { width: "1rem", height: "1rem" } })
2555
+ children: /* @__PURE__ */ jsx45(ChevronUp, {})
2522
2556
  }
2523
2557
  ));
2524
2558
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2525
- var SelectScrollDownButton = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
2559
+ var SelectScrollDownButton = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
2526
2560
  SelectPrimitive.ScrollDownButton,
2527
2561
  {
2528
2562
  ref,
2529
2563
  className: cn("dl-select-scroll-btn", className),
2530
2564
  ...props,
2531
- children: /* @__PURE__ */ jsx38(ChevronDown4, { style: { width: "1rem", height: "1rem" } })
2565
+ children: /* @__PURE__ */ jsx45(ChevronDown4, {})
2532
2566
  }
2533
2567
  ));
2534
2568
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2535
- var SelectContent = React34.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx38(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs23(
2569
+ var SelectContent = React42.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx45(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs29(
2536
2570
  SelectPrimitive.Content,
2537
2571
  {
2538
2572
  ref,
@@ -2540,14 +2574,14 @@ var SelectContent = React34.forwardRef(({ className, children, position = "poppe
2540
2574
  position,
2541
2575
  ...props,
2542
2576
  children: [
2543
- /* @__PURE__ */ jsx38(SelectScrollUpButton, {}),
2544
- /* @__PURE__ */ jsx38(SelectPrimitive.Viewport, { className: "dl-select-viewport", children }),
2545
- /* @__PURE__ */ jsx38(SelectScrollDownButton, {})
2577
+ /* @__PURE__ */ jsx45(SelectScrollUpButton, {}),
2578
+ /* @__PURE__ */ jsx45(SelectPrimitive.Viewport, { className: "dl-select-viewport", children }),
2579
+ /* @__PURE__ */ jsx45(SelectScrollDownButton, {})
2546
2580
  ]
2547
2581
  }
2548
2582
  ) }));
2549
2583
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2550
- var SelectLabel = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
2584
+ var SelectLabel = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
2551
2585
  SelectPrimitive.Label,
2552
2586
  {
2553
2587
  ref,
@@ -2556,20 +2590,20 @@ var SelectLabel = React34.forwardRef(({ className, ...props }, ref) => /* @__PUR
2556
2590
  }
2557
2591
  ));
2558
2592
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2559
- var SelectItem = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs23(
2593
+ var SelectItem = React42.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs29(
2560
2594
  SelectPrimitive.Item,
2561
2595
  {
2562
2596
  ref,
2563
2597
  className: cn("dl-select-item", className),
2564
2598
  ...props,
2565
2599
  children: [
2566
- /* @__PURE__ */ jsx38("span", { className: "dl-select-item__indicator", children: /* @__PURE__ */ jsx38(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx38(Check6, { style: { width: "0.75rem", height: "0.75rem" } }) }) }),
2567
- /* @__PURE__ */ jsx38(SelectPrimitive.ItemText, { children })
2600
+ /* @__PURE__ */ jsx45("span", { className: "dl-select-item__indicator", children: /* @__PURE__ */ jsx45(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx45(Check6, {}) }) }),
2601
+ /* @__PURE__ */ jsx45(SelectPrimitive.ItemText, { children })
2568
2602
  ]
2569
2603
  }
2570
2604
  ));
2571
2605
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2572
- var SelectSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
2606
+ var SelectSeparator = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
2573
2607
  SelectPrimitive.Separator,
2574
2608
  {
2575
2609
  ref,
@@ -2580,11 +2614,11 @@ var SelectSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @_
2580
2614
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2581
2615
 
2582
2616
  // src/components/separator/separator.tsx
2583
- import * as React35 from "react";
2617
+ import * as React43 from "react";
2584
2618
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
2585
- import { jsx as jsx39 } from "react/jsx-runtime";
2586
- var Separator6 = React35.forwardRef(
2587
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx39(
2619
+ import { jsx as jsx46 } from "react/jsx-runtime";
2620
+ var Separator6 = React43.forwardRef(
2621
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx46(
2588
2622
  SeparatorPrimitive.Root,
2589
2623
  {
2590
2624
  ref,
@@ -2598,16 +2632,16 @@ var Separator6 = React35.forwardRef(
2598
2632
  Separator6.displayName = SeparatorPrimitive.Root.displayName;
2599
2633
 
2600
2634
  // src/components/sheet/sheet.tsx
2601
- import * as React36 from "react";
2635
+ import * as React44 from "react";
2602
2636
  import * as SheetPrimitive from "@radix-ui/react-dialog";
2603
2637
  import { cva as cva6 } from "class-variance-authority";
2604
2638
  import { X as X2 } from "lucide-react";
2605
- import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
2639
+ import { jsx as jsx47, jsxs as jsxs30 } from "react/jsx-runtime";
2606
2640
  var Sheet = SheetPrimitive.Root;
2607
2641
  var SheetTrigger = SheetPrimitive.Trigger;
2608
2642
  var SheetClose = SheetPrimitive.Close;
2609
2643
  var SheetPortal = SheetPrimitive.Portal;
2610
- var SheetOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
2644
+ var SheetOverlay = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
2611
2645
  SheetPrimitive.Overlay,
2612
2646
  {
2613
2647
  className: cn("dl-dialog-overlay", className),
@@ -2629,9 +2663,9 @@ var sheetVariants = cva6("dl-sheet-content", {
2629
2663
  side: "right"
2630
2664
  }
2631
2665
  });
2632
- var SheetContent = React36.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs24(SheetPortal, { children: [
2633
- /* @__PURE__ */ jsx40(SheetOverlay, {}),
2634
- /* @__PURE__ */ jsxs24(
2666
+ var SheetContent = React44.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs30(SheetPortal, { children: [
2667
+ /* @__PURE__ */ jsx47(SheetOverlay, {}),
2668
+ /* @__PURE__ */ jsxs30(
2635
2669
  SheetPrimitive.Content,
2636
2670
  {
2637
2671
  ref,
@@ -2639,9 +2673,9 @@ var SheetContent = React36.forwardRef(({ side = "right", className, children, ..
2639
2673
  "data-side": side,
2640
2674
  ...props,
2641
2675
  children: [
2642
- /* @__PURE__ */ jsxs24(SheetPrimitive.Close, { className: "dl-sheet-close", children: [
2643
- /* @__PURE__ */ jsx40(X2, { style: { width: "1rem", height: "1rem" } }),
2644
- /* @__PURE__ */ jsx40("span", { className: "sr-only", children: "Close" })
2676
+ /* @__PURE__ */ jsxs30(SheetPrimitive.Close, { className: "dl-sheet-close", children: [
2677
+ /* @__PURE__ */ jsx47(X2, {}),
2678
+ /* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Close" })
2645
2679
  ] }),
2646
2680
  children
2647
2681
  ]
@@ -2652,14 +2686,14 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
2652
2686
  var SheetHeader = ({
2653
2687
  className,
2654
2688
  ...props
2655
- }) => /* @__PURE__ */ jsx40("div", { className: cn("dl-sheet__header", className), ...props });
2689
+ }) => /* @__PURE__ */ jsx47("div", { className: cn("dl-sheet__header", className), ...props });
2656
2690
  SheetHeader.displayName = "SheetHeader";
2657
2691
  var SheetFooter = ({
2658
2692
  className,
2659
2693
  ...props
2660
- }) => /* @__PURE__ */ jsx40("div", { className: cn("dl-sheet__footer", className), ...props });
2694
+ }) => /* @__PURE__ */ jsx47("div", { className: cn("dl-sheet__footer", className), ...props });
2661
2695
  SheetFooter.displayName = "SheetFooter";
2662
- var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
2696
+ var SheetTitle = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
2663
2697
  SheetPrimitive.Title,
2664
2698
  {
2665
2699
  ref,
@@ -2668,7 +2702,7 @@ var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
2668
2702
  }
2669
2703
  ));
2670
2704
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
2671
- var SheetDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
2705
+ var SheetDescription = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
2672
2706
  SheetPrimitive.Description,
2673
2707
  {
2674
2708
  ref,
@@ -2678,20 +2712,17 @@ var SheetDescription = React36.forwardRef(({ className, ...props }, ref) => /* @
2678
2712
  ));
2679
2713
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
2680
2714
 
2681
- // src/components/sidebar/sidebar.tsx
2682
- import * as React38 from "react";
2683
- import { Slot as Slot4 } from "@radix-ui/react-slot";
2684
- import { cva as cva7 } from "class-variance-authority";
2685
- import { PanelLeft } from "lucide-react";
2715
+ // src/components/sidebar/sidebar-context.tsx
2716
+ import * as React46 from "react";
2686
2717
 
2687
2718
  // src/components/tooltip/tooltip.tsx
2688
- import * as React37 from "react";
2719
+ import * as React45 from "react";
2689
2720
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
2690
- import { jsx as jsx41 } from "react/jsx-runtime";
2721
+ import { jsx as jsx48 } from "react/jsx-runtime";
2691
2722
  var TooltipProvider = TooltipPrimitive.Provider;
2692
2723
  var Tooltip2 = TooltipPrimitive.Root;
2693
2724
  var TooltipTrigger = TooltipPrimitive.Trigger;
2694
- var TooltipContent = React37.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx41(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
2725
+ var TooltipContent = React45.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx48(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx48(
2695
2726
  TooltipPrimitive.Content,
2696
2727
  {
2697
2728
  ref,
@@ -2702,23 +2733,25 @@ var TooltipContent = React37.forwardRef(({ className, sideOffset = 4, ...props }
2702
2733
  ) }));
2703
2734
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2704
2735
 
2705
- // src/components/sidebar/sidebar.tsx
2706
- import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
2736
+ // src/components/sidebar/sidebar-context.tsx
2737
+ import { jsx as jsx49 } from "react/jsx-runtime";
2707
2738
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2708
2739
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2709
2740
  var SIDEBAR_WIDTH = "16rem";
2710
2741
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2711
2742
  var SIDEBAR_WIDTH_ICON = "3rem";
2712
2743
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2713
- var SidebarContext = React38.createContext(null);
2744
+ var SidebarContext = React46.createContext(
2745
+ null
2746
+ );
2714
2747
  function useSidebar() {
2715
- const context = React38.useContext(SidebarContext);
2748
+ const context = React46.useContext(SidebarContext);
2716
2749
  if (!context) {
2717
2750
  throw new Error("useSidebar must be used within a SidebarProvider.");
2718
2751
  }
2719
2752
  return context;
2720
2753
  }
2721
- var SidebarProvider = React38.forwardRef(
2754
+ var SidebarProvider = React46.forwardRef(
2722
2755
  ({
2723
2756
  defaultOpen = true,
2724
2757
  open: openProp,
@@ -2729,10 +2762,10 @@ var SidebarProvider = React38.forwardRef(
2729
2762
  ...props
2730
2763
  }, ref) => {
2731
2764
  const isMobile = useIsMobile();
2732
- const [openMobile, setOpenMobile] = React38.useState(false);
2733
- const [_open, _setOpen] = React38.useState(defaultOpen);
2765
+ const [openMobile, setOpenMobile] = React46.useState(false);
2766
+ const [_open, _setOpen] = React46.useState(defaultOpen);
2734
2767
  const open = openProp ?? _open;
2735
- const setOpen = React38.useCallback(
2768
+ const setOpen = React46.useCallback(
2736
2769
  (value) => {
2737
2770
  const openState = typeof value === "function" ? value(open) : value;
2738
2771
  if (setOpenProp) {
@@ -2744,10 +2777,10 @@ var SidebarProvider = React38.forwardRef(
2744
2777
  },
2745
2778
  [setOpenProp, open]
2746
2779
  );
2747
- const toggleSidebar = React38.useCallback(() => {
2748
- return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2780
+ const toggleSidebar = React46.useCallback(() => {
2781
+ return isMobile ? setOpenMobile((prev) => !prev) : setOpen((prev) => !prev);
2749
2782
  }, [isMobile, setOpen, setOpenMobile]);
2750
- React38.useEffect(() => {
2783
+ React46.useEffect(() => {
2751
2784
  const handleKeyDown = (event) => {
2752
2785
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2753
2786
  event.preventDefault();
@@ -2758,7 +2791,7 @@ var SidebarProvider = React38.forwardRef(
2758
2791
  return () => window.removeEventListener("keydown", handleKeyDown);
2759
2792
  }, [toggleSidebar]);
2760
2793
  const state = open ? "expanded" : "collapsed";
2761
- const contextValue = React38.useMemo(
2794
+ const contextValue = React46.useMemo(
2762
2795
  () => ({
2763
2796
  state,
2764
2797
  open,
@@ -2778,7 +2811,7 @@ var SidebarProvider = React38.forwardRef(
2778
2811
  toggleSidebar
2779
2812
  ]
2780
2813
  );
2781
- return /* @__PURE__ */ jsx42(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx42(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx42(
2814
+ return /* @__PURE__ */ jsx49(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx49(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx49(
2782
2815
  "div",
2783
2816
  {
2784
2817
  style: {
@@ -2786,10 +2819,7 @@ var SidebarProvider = React38.forwardRef(
2786
2819
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2787
2820
  ...style
2788
2821
  },
2789
- className: cn(
2790
- "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2791
- className
2792
- ),
2822
+ className: cn("dl-sidebar-wrapper", className),
2793
2823
  ref,
2794
2824
  ...props,
2795
2825
  children
@@ -2798,7 +2828,11 @@ var SidebarProvider = React38.forwardRef(
2798
2828
  }
2799
2829
  );
2800
2830
  SidebarProvider.displayName = "SidebarProvider";
2801
- var Sidebar = React38.forwardRef(
2831
+
2832
+ // src/components/sidebar/sidebar-layout.tsx
2833
+ import * as React47 from "react";
2834
+ import { jsx as jsx50, jsxs as jsxs31 } from "react/jsx-runtime";
2835
+ var Sidebar = React47.forwardRef(
2802
2836
  ({
2803
2837
  side = "left",
2804
2838
  variant = "sidebar",
@@ -2809,13 +2843,10 @@ var Sidebar = React38.forwardRef(
2809
2843
  }, ref) => {
2810
2844
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2811
2845
  if (collapsible === "none") {
2812
- return /* @__PURE__ */ jsx42(
2846
+ return /* @__PURE__ */ jsx50(
2813
2847
  "div",
2814
2848
  {
2815
- className: cn(
2816
- "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2817
- className
2818
- ),
2849
+ className: cn("dl-sidebar dl-sidebar--static", className),
2819
2850
  ref,
2820
2851
  ...props,
2821
2852
  children
@@ -2823,315 +2854,196 @@ var Sidebar = React38.forwardRef(
2823
2854
  );
2824
2855
  }
2825
2856
  if (isMobile) {
2826
- return /* @__PURE__ */ jsx42(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs25(
2857
+ return /* @__PURE__ */ jsx50(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs31(
2827
2858
  SheetContent,
2828
2859
  {
2829
2860
  "data-sidebar": "sidebar",
2830
2861
  "data-mobile": "true",
2831
- className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
2862
+ className: "dl-sidebar-mobile [&>button]:hidden",
2832
2863
  style: {
2833
2864
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
2834
2865
  },
2835
2866
  side,
2836
2867
  children: [
2837
- /* @__PURE__ */ jsxs25(SheetHeader, { className: "sr-only", children: [
2838
- /* @__PURE__ */ jsx42(SheetTitle, { children: "Sidebar" }),
2839
- /* @__PURE__ */ jsx42(SheetDescription, { children: "Displays the mobile sidebar." })
2868
+ /* @__PURE__ */ jsxs31(SheetHeader, { className: "sr-only", children: [
2869
+ /* @__PURE__ */ jsx50(SheetTitle, { children: "Sidebar" }),
2870
+ /* @__PURE__ */ jsx50(SheetDescription, { children: "Displays the mobile sidebar." })
2840
2871
  ] }),
2841
- /* @__PURE__ */ jsx42("div", { className: "flex flex-col size-full", children })
2872
+ /* @__PURE__ */ jsx50("div", { className: "dl-sidebar-mobile-content", children })
2842
2873
  ]
2843
2874
  }
2844
2875
  ) });
2845
2876
  }
2846
- return /* @__PURE__ */ jsxs25(
2877
+ return /* @__PURE__ */ jsxs31(
2847
2878
  "div",
2848
2879
  {
2849
2880
  ref,
2850
- className: "group peer hidden text-sidebar-foreground md:block",
2881
+ className: cn("dl-sidebar", className),
2851
2882
  "data-state": state,
2852
2883
  "data-collapsible": state === "collapsed" ? collapsible : "",
2853
2884
  "data-variant": variant,
2854
2885
  "data-side": side,
2855
2886
  children: [
2856
- /* @__PURE__ */ jsx42(
2857
- "div",
2858
- {
2859
- className: cn(
2860
- "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2861
- "group-data-[collapsible=offcanvas]:w-0",
2862
- "group-data-[side=right]:rotate-180",
2863
- variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
2864
- )
2865
- }
2866
- ),
2867
- /* @__PURE__ */ jsx42(
2868
- "div",
2869
- {
2870
- className: cn(
2871
- "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
2872
- side === "left" ? "left-0 group-data-[collapsible=offcanvas]:-left-(--sidebar-width)" : "right-0 group-data-[collapsible=offcanvas]:-right-(--sidebar-width)",
2873
- // Adjust the padding for floating and inset variants.
2874
- variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
2875
- className
2876
- ),
2877
- ...props,
2878
- children: /* @__PURE__ */ jsx42(
2879
- "div",
2880
- {
2881
- "data-sidebar": "sidebar",
2882
- className: "flex flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow size-full",
2883
- children
2884
- }
2885
- )
2886
- }
2887
- )
2887
+ /* @__PURE__ */ jsx50("div", { className: "dl-sidebar-desktop-spacer" }),
2888
+ /* @__PURE__ */ jsx50("div", { className: "dl-sidebar-fixed", ...props, children: /* @__PURE__ */ jsx50("div", { "data-sidebar": "sidebar", className: "dl-sidebar-inner", children }) })
2888
2889
  ]
2889
2890
  }
2890
2891
  );
2891
2892
  }
2892
2893
  );
2893
2894
  Sidebar.displayName = "Sidebar";
2894
- var SidebarTrigger = React38.forwardRef(({ className, onClick, ...props }, ref) => {
2895
+ var SidebarRail = React47.forwardRef(({ className, ...props }, ref) => {
2895
2896
  const { toggleSidebar } = useSidebar();
2896
- return /* @__PURE__ */ jsxs25(
2897
- Button,
2897
+ return /* @__PURE__ */ jsx50(
2898
+ "button",
2898
2899
  {
2899
2900
  ref,
2900
- "data-sidebar": "trigger",
2901
- variant: "ghost",
2902
- size: "icon",
2903
- className: cn("size-7", className),
2904
- onClick: (event) => {
2905
- onClick?.(event);
2906
- toggleSidebar();
2907
- },
2908
- ...props,
2909
- children: [
2910
- /* @__PURE__ */ jsx42(PanelLeft, {}),
2911
- /* @__PURE__ */ jsx42("span", { className: "sr-only", children: "Toggle Sidebar" })
2912
- ]
2901
+ "data-sidebar": "rail",
2902
+ "aria-label": "Toggle Sidebar",
2903
+ tabIndex: -1,
2904
+ onClick: toggleSidebar,
2905
+ title: "Toggle Sidebar",
2906
+ className: cn("dl-sidebar-rail", className),
2907
+ ...props
2913
2908
  }
2914
2909
  );
2915
2910
  });
2916
- SidebarTrigger.displayName = "SidebarTrigger";
2917
- var SidebarRail = React38.forwardRef(
2918
- ({ className, ...props }, ref) => {
2919
- const { toggleSidebar } = useSidebar();
2920
- return /* @__PURE__ */ jsx42(
2921
- "button",
2922
- {
2923
- ref,
2924
- "data-sidebar": "rail",
2925
- "aria-label": "Toggle Sidebar",
2926
- tabIndex: -1,
2927
- onClick: toggleSidebar,
2928
- title: "Toggle Sidebar",
2929
- className: cn(
2930
- "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
2931
- "in-data-[side=right]:cursor-e-resize",
2932
- "[[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
2933
- "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar",
2934
- "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
2935
- "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
2936
- className
2937
- ),
2938
- ...props
2939
- }
2940
- );
2941
- }
2942
- );
2943
2911
  SidebarRail.displayName = "SidebarRail";
2944
- var SidebarInset = React38.forwardRef(
2945
- ({ className, ...props }, ref) => {
2946
- return /* @__PURE__ */ jsx42(
2947
- "main",
2948
- {
2949
- ref,
2950
- className: cn(
2951
- "relative flex w-full flex-1 flex-col bg-background",
2952
- "md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
2953
- className
2954
- ),
2955
- ...props
2956
- }
2957
- );
2958
- }
2912
+ var SidebarInset = React47.forwardRef(
2913
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx50("main", { ref, className: cn("dl-sidebar-inset", className), ...props })
2959
2914
  );
2960
2915
  SidebarInset.displayName = "SidebarInset";
2961
- var SidebarInput = React38.forwardRef(({ className, ...props }, ref) => {
2962
- return /* @__PURE__ */ jsx42(
2963
- Input,
2964
- {
2965
- ref,
2966
- "data-sidebar": "input",
2967
- className: cn("dl-sidebar-input", className),
2968
- ...props
2969
- }
2970
- );
2971
- });
2972
- SidebarInput.displayName = "SidebarInput";
2973
- var SidebarHeader = React38.forwardRef(
2974
- ({ className, ...props }, ref) => {
2975
- return /* @__PURE__ */ jsx42(
2976
- "div",
2977
- {
2978
- ref,
2979
- "data-sidebar": "header",
2980
- className: cn("flex flex-col gap-2 p-2", className),
2981
- ...props
2982
- }
2983
- );
2916
+ var SidebarHeader = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
2917
+ "div",
2918
+ {
2919
+ ref,
2920
+ "data-sidebar": "header",
2921
+ className: cn("dl-sidebar-header", className),
2922
+ ...props
2984
2923
  }
2985
- );
2924
+ ));
2986
2925
  SidebarHeader.displayName = "SidebarHeader";
2987
- var SidebarFooter = React38.forwardRef(
2988
- ({ className, ...props }, ref) => {
2989
- return /* @__PURE__ */ jsx42(
2990
- "div",
2991
- {
2992
- ref,
2993
- "data-sidebar": "footer",
2994
- className: cn("flex flex-col gap-2 p-2", className),
2995
- ...props
2996
- }
2997
- );
2926
+ var SidebarFooter = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
2927
+ "div",
2928
+ {
2929
+ ref,
2930
+ "data-sidebar": "footer",
2931
+ className: cn("dl-sidebar-footer", className),
2932
+ ...props
2998
2933
  }
2999
- );
2934
+ ));
3000
2935
  SidebarFooter.displayName = "SidebarFooter";
3001
- var SidebarSeparator = React38.forwardRef(({ className, ...props }, ref) => {
3002
- return /* @__PURE__ */ jsx42(
3003
- Separator6,
3004
- {
3005
- ref,
3006
- "data-sidebar": "separator",
3007
- className: cn("mx-2 w-auto bg-sidebar-border", className),
3008
- ...props
3009
- }
3010
- );
3011
- });
3012
- SidebarSeparator.displayName = "SidebarSeparator";
3013
- var SidebarContent = React38.forwardRef(
3014
- ({ className, ...props }, ref) => {
3015
- return /* @__PURE__ */ jsx42(
3016
- "div",
3017
- {
3018
- ref,
3019
- "data-sidebar": "content",
3020
- className: cn(
3021
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto",
3022
- className
3023
- ),
3024
- ...props
3025
- }
3026
- );
2936
+ var SidebarContent = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx50(
2937
+ "div",
2938
+ {
2939
+ ref,
2940
+ "data-sidebar": "content",
2941
+ className: cn("dl-sidebar-content", className),
2942
+ ...props
3027
2943
  }
3028
- );
2944
+ ));
3029
2945
  SidebarContent.displayName = "SidebarContent";
3030
- var SidebarGroup = React38.forwardRef(
2946
+
2947
+ // src/components/sidebar/sidebar-group.tsx
2948
+ import * as React48 from "react";
2949
+ import { Slot as Slot4 } from "@radix-ui/react-slot";
2950
+ import { jsx as jsx51 } from "react/jsx-runtime";
2951
+ var SidebarGroup = React48.forwardRef(
3031
2952
  ({ className, ...props }, ref) => {
3032
- return /* @__PURE__ */ jsx42(
2953
+ return /* @__PURE__ */ jsx51(
3033
2954
  "div",
3034
2955
  {
3035
2956
  ref,
3036
2957
  "data-sidebar": "group",
3037
- className: cn("relative flex w-full min-w-0 flex-col p-2", className),
2958
+ className: cn("dl-sidebar-group", className),
3038
2959
  ...props
3039
2960
  }
3040
2961
  );
3041
2962
  }
3042
2963
  );
3043
2964
  SidebarGroup.displayName = "SidebarGroup";
3044
- var SidebarGroupLabel = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
2965
+ var SidebarGroupLabel = React48.forwardRef(({ className, asChild = false, ...props }, ref) => {
3045
2966
  const Comp = asChild ? Slot4 : "div";
3046
- return /* @__PURE__ */ jsx42(
2967
+ return /* @__PURE__ */ jsx51(
3047
2968
  Comp,
3048
2969
  {
3049
2970
  ref,
3050
2971
  "data-sidebar": "group-label",
3051
- className: cn(
3052
- "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4",
3053
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
3054
- className
3055
- ),
2972
+ className: cn("dl-sidebar-group-label", className),
3056
2973
  ...props
3057
2974
  }
3058
2975
  );
3059
2976
  });
3060
2977
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
3061
- var SidebarGroupAction = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
2978
+ var SidebarGroupAction = React48.forwardRef(({ className, asChild = false, ...props }, ref) => {
3062
2979
  const Comp = asChild ? Slot4 : "button";
3063
- return /* @__PURE__ */ jsx42(
2980
+ return /* @__PURE__ */ jsx51(
3064
2981
  Comp,
3065
2982
  {
3066
2983
  ref,
3067
2984
  "data-sidebar": "group-action",
3068
- className: cn(
3069
- "absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
3070
- // Increases the hit area of the button on mobile.
3071
- "after:absolute after:-inset-2 after:md:hidden",
3072
- "group-data-[collapsible=icon]:hidden",
3073
- className
3074
- ),
2985
+ className: cn("dl-sidebar-group-action", className),
3075
2986
  ...props
3076
2987
  }
3077
2988
  );
3078
2989
  });
3079
2990
  SidebarGroupAction.displayName = "SidebarGroupAction";
3080
- var SidebarGroupContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
2991
+ var SidebarGroupContent = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx51(
3081
2992
  "div",
3082
2993
  {
3083
2994
  ref,
3084
2995
  "data-sidebar": "group-content",
3085
- className: cn("w-full text-sm", className),
2996
+ className: cn("dl-sidebar-group-content", className),
3086
2997
  ...props
3087
2998
  }
3088
2999
  ));
3089
3000
  SidebarGroupContent.displayName = "SidebarGroupContent";
3090
- var SidebarMenu = React38.forwardRef(
3091
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
3001
+
3002
+ // src/components/sidebar/sidebar-menu.tsx
3003
+ import * as React49 from "react";
3004
+ import { Slot as Slot5 } from "@radix-ui/react-slot";
3005
+ import { cva as cva7 } from "class-variance-authority";
3006
+ import { jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
3007
+ var sidebarMenuButtonVariants = cva7("dl-sidebar-menu-button", {
3008
+ variants: {
3009
+ variant: {
3010
+ default: "dl-sidebar-menu-button--default",
3011
+ outline: "dl-sidebar-menu-button--outline"
3012
+ },
3013
+ size: {
3014
+ default: "dl-sidebar-menu-button--md",
3015
+ sm: "dl-sidebar-menu-button--sm",
3016
+ lg: "dl-sidebar-menu-button--lg"
3017
+ }
3018
+ },
3019
+ defaultVariants: {
3020
+ variant: "default",
3021
+ size: "default"
3022
+ }
3023
+ });
3024
+ var SidebarMenu = React49.forwardRef(
3025
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3092
3026
  "ul",
3093
3027
  {
3094
3028
  ref,
3095
3029
  "data-sidebar": "menu",
3096
- className: cn("flex w-full min-w-0 flex-col gap-1", className),
3030
+ className: cn("dl-sidebar-menu", className),
3097
3031
  ...props
3098
3032
  }
3099
3033
  )
3100
3034
  );
3101
3035
  SidebarMenu.displayName = "SidebarMenu";
3102
- var SidebarMenuItem = React38.forwardRef(
3103
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
3104
- "li",
3105
- {
3106
- ref,
3107
- "data-sidebar": "menu-item",
3108
- className: cn("group/menu-item relative", className),
3109
- ...props
3110
- }
3111
- )
3112
- );
3113
- SidebarMenuItem.displayName = "SidebarMenuItem";
3114
- var sidebarMenuButtonVariants = cva7(
3115
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring cursor-pointer transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3036
+ var SidebarMenuItem = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3037
+ "li",
3116
3038
  {
3117
- variants: {
3118
- variant: {
3119
- default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3120
- outline: "bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"
3121
- },
3122
- size: {
3123
- default: "h-8 text-sm",
3124
- sm: "h-7 text-xs",
3125
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
3126
- }
3127
- },
3128
- defaultVariants: {
3129
- variant: "default",
3130
- size: "default"
3131
- }
3039
+ ref,
3040
+ "data-sidebar": "menu-item",
3041
+ className: cn("dl-sidebar-menu-item", className),
3042
+ ...props
3132
3043
  }
3133
- );
3134
- var SidebarMenuButton = React38.forwardRef(
3044
+ ));
3045
+ SidebarMenuItem.displayName = "SidebarMenuItem";
3046
+ var SidebarMenuButton = React49.forwardRef(
3135
3047
  ({
3136
3048
  asChild = false,
3137
3049
  isActive = false,
@@ -3141,14 +3053,15 @@ var SidebarMenuButton = React38.forwardRef(
3141
3053
  className,
3142
3054
  ...props
3143
3055
  }, ref) => {
3144
- const Comp = asChild ? Slot4 : "button";
3056
+ const Comp = asChild ? Slot5 : "button";
3145
3057
  const { isMobile, state } = useSidebar();
3146
- const button = /* @__PURE__ */ jsx42(
3058
+ const button = /* @__PURE__ */ jsx52(
3147
3059
  Comp,
3148
3060
  {
3149
3061
  ref,
3150
3062
  "data-sidebar": "menu-button",
3151
3063
  "data-size": size,
3064
+ "data-variant": variant,
3152
3065
  "data-active": isActive,
3153
3066
  className: cn(sidebarMenuButtonVariants({ variant, size }), className),
3154
3067
  ...props
@@ -3157,42 +3070,33 @@ var SidebarMenuButton = React38.forwardRef(
3157
3070
  if (!tooltip) {
3158
3071
  return button;
3159
3072
  }
3160
- if (typeof tooltip === "string") {
3161
- tooltip = {
3162
- children: tooltip
3163
- };
3164
- }
3165
- return /* @__PURE__ */ jsxs25(Tooltip2, { children: [
3166
- /* @__PURE__ */ jsx42(TooltipTrigger, { asChild: true, children: button }),
3167
- /* @__PURE__ */ jsx42(
3073
+ const tooltipProps = typeof tooltip === "string" ? { children: tooltip } : tooltip;
3074
+ return /* @__PURE__ */ jsxs32(Tooltip2, { children: [
3075
+ /* @__PURE__ */ jsx52(TooltipTrigger, { asChild: true, children: button }),
3076
+ /* @__PURE__ */ jsx52(
3168
3077
  TooltipContent,
3169
3078
  {
3170
3079
  side: "right",
3171
3080
  align: "center",
3172
3081
  hidden: state !== "collapsed" || isMobile,
3173
- ...tooltip
3082
+ ...tooltipProps
3174
3083
  }
3175
3084
  )
3176
3085
  ] });
3177
3086
  }
3178
3087
  );
3179
3088
  SidebarMenuButton.displayName = "SidebarMenuButton";
3180
- var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3181
- const Comp = asChild ? Slot4 : "button";
3182
- return /* @__PURE__ */ jsx42(
3089
+ var SidebarMenuAction = React49.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3090
+ const Comp = asChild ? Slot5 : "button";
3091
+ return /* @__PURE__ */ jsx52(
3183
3092
  Comp,
3184
3093
  {
3185
3094
  ref,
3186
3095
  "data-sidebar": "menu-action",
3096
+ "data-show-on-hover": showOnHover ? "true" : void 0,
3187
3097
  className: cn(
3188
- "absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
3189
- // Increases the hit area of the button on mobile.
3190
- "after:absolute after:-inset-2 after:md:hidden",
3191
- "peer-data-[size=sm]/menu-button:top-1",
3192
- "peer-data-[size=default]/menu-button:top-1.5",
3193
- "peer-data-[size=lg]/menu-button:top-2.5",
3194
- "group-data-[collapsible=icon]:hidden",
3195
- showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",
3098
+ "dl-sidebar-menu-action",
3099
+ showOnHover && "dl-sidebar-menu-action--hover-only",
3196
3100
  className
3197
3101
  ),
3198
3102
  ...props
@@ -3200,51 +3104,46 @@ var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOn
3200
3104
  );
3201
3105
  });
3202
3106
  SidebarMenuAction.displayName = "SidebarMenuAction";
3203
- var SidebarMenuBadge = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
3107
+ var SidebarMenuBadge = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3204
3108
  "div",
3205
3109
  {
3206
3110
  ref,
3207
3111
  "data-sidebar": "menu-badge",
3208
- className: cn(
3209
- "pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground",
3210
- "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3211
- "peer-data-[size=sm]/menu-button:top-1",
3212
- "peer-data-[size=default]/menu-button:top-1.5",
3213
- "peer-data-[size=lg]/menu-button:top-2.5",
3214
- "group-data-[collapsible=icon]:hidden",
3215
- className
3216
- ),
3112
+ className: cn("dl-sidebar-menu-badge", className),
3217
3113
  ...props
3218
3114
  }
3219
3115
  ));
3220
3116
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
3221
- var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3222
- const width = React38.useMemo(() => {
3117
+
3118
+ // src/components/sidebar/sidebar-submenu.tsx
3119
+ import * as React50 from "react";
3120
+ import { Slot as Slot6 } from "@radix-ui/react-slot";
3121
+ import { jsx as jsx53, jsxs as jsxs33 } from "react/jsx-runtime";
3122
+ var SidebarMenuSkeleton = React50.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3123
+ const width = React50.useMemo(() => {
3223
3124
  return `${Math.floor(Math.random() * 40) + 50}%`;
3224
3125
  }, []);
3225
- return /* @__PURE__ */ jsxs25(
3126
+ return /* @__PURE__ */ jsxs33(
3226
3127
  "div",
3227
3128
  {
3228
3129
  ref,
3229
3130
  "data-sidebar": "menu-skeleton",
3230
- className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
3131
+ className: cn("dl-sidebar-menu-skeleton", className),
3231
3132
  ...props,
3232
3133
  children: [
3233
- showIcon && /* @__PURE__ */ jsx42(
3134
+ showIcon && /* @__PURE__ */ jsx53(
3234
3135
  Skeleton,
3235
3136
  {
3236
- className: "size-4 rounded-md",
3137
+ className: "dl-sidebar-menu-skeleton-icon",
3237
3138
  "data-sidebar": "menu-skeleton-icon"
3238
3139
  }
3239
3140
  ),
3240
- /* @__PURE__ */ jsx42(
3141
+ /* @__PURE__ */ jsx53(
3241
3142
  Skeleton,
3242
3143
  {
3243
- className: "h-4 max-w-(--skeleton-width) flex-1",
3144
+ className: "dl-sidebar-menu-skeleton-text",
3244
3145
  "data-sidebar": "menu-skeleton-text",
3245
- style: {
3246
- "--skeleton-width": width
3247
- }
3146
+ style: { "--skeleton-width": width }
3248
3147
  }
3249
3148
  )
3250
3149
  ]
@@ -3252,27 +3151,21 @@ var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...
3252
3151
  );
3253
3152
  });
3254
3153
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
3255
- var SidebarMenuSub = React38.forwardRef(
3256
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
3257
- "ul",
3258
- {
3259
- ref,
3260
- "data-sidebar": "menu-sub",
3261
- className: cn(
3262
- "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5",
3263
- "group-data-[collapsible=icon]:hidden",
3264
- className
3265
- ),
3266
- ...props
3267
- }
3268
- )
3269
- );
3154
+ var SidebarMenuSub = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
3155
+ "ul",
3156
+ {
3157
+ ref,
3158
+ "data-sidebar": "menu-sub",
3159
+ className: cn("dl-sidebar-menu-sub", className),
3160
+ ...props
3161
+ }
3162
+ ));
3270
3163
  SidebarMenuSub.displayName = "SidebarMenuSub";
3271
- var SidebarMenuSubItem = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx42("li", { ref, ...props }));
3164
+ var SidebarMenuSubItem = React50.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx53("li", { ref, ...props }));
3272
3165
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
3273
- var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3274
- const Comp = asChild ? Slot4 : "a";
3275
- return /* @__PURE__ */ jsx42(
3166
+ var SidebarMenuSubButton = React50.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3167
+ const Comp = asChild ? Slot6 : "a";
3168
+ return /* @__PURE__ */ jsx53(
3276
3169
  Comp,
3277
3170
  {
3278
3171
  ref,
@@ -3280,11 +3173,8 @@ var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", i
3280
3173
  "data-size": size,
3281
3174
  "data-active": isActive,
3282
3175
  className: cn(
3283
- "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
3284
- "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
3285
- size === "sm" && "text-xs",
3286
- size === "md" && "text-sm",
3287
- "group-data-[collapsible=icon]:hidden",
3176
+ "dl-sidebar-menu-sub-button",
3177
+ size === "sm" && "dl-sidebar-menu-sub-button--sm",
3288
3178
  className
3289
3179
  ),
3290
3180
  ...props
@@ -3293,19 +3183,71 @@ var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", i
3293
3183
  });
3294
3184
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
3295
3185
 
3186
+ // src/components/sidebar/sidebar-controls.tsx
3187
+ import * as React51 from "react";
3188
+ import { PanelLeft } from "lucide-react";
3189
+ import { jsx as jsx54, jsxs as jsxs34 } from "react/jsx-runtime";
3190
+ var SidebarTrigger = React51.forwardRef(({ className, onClick, ...props }, ref) => {
3191
+ const { toggleSidebar } = useSidebar();
3192
+ return /* @__PURE__ */ jsxs34(
3193
+ Button,
3194
+ {
3195
+ ref,
3196
+ "data-sidebar": "trigger",
3197
+ variant: "ghost",
3198
+ size: "icon",
3199
+ className: cn("dl-sidebar-trigger", className),
3200
+ onClick: (event) => {
3201
+ onClick?.(event);
3202
+ toggleSidebar();
3203
+ },
3204
+ ...props,
3205
+ children: [
3206
+ /* @__PURE__ */ jsx54(PanelLeft, {}),
3207
+ /* @__PURE__ */ jsx54("span", { className: "sr-only", children: "Toggle Sidebar" })
3208
+ ]
3209
+ }
3210
+ );
3211
+ });
3212
+ SidebarTrigger.displayName = "SidebarTrigger";
3213
+ var SidebarSeparator = React51.forwardRef(({ className, ...props }, ref) => {
3214
+ return /* @__PURE__ */ jsx54(
3215
+ Separator6,
3216
+ {
3217
+ ref,
3218
+ "data-sidebar": "separator",
3219
+ className: cn("dl-sidebar-separator", className),
3220
+ ...props
3221
+ }
3222
+ );
3223
+ });
3224
+ SidebarSeparator.displayName = "SidebarSeparator";
3225
+ var SidebarInput = React51.forwardRef(({ className, ...props }, ref) => {
3226
+ return /* @__PURE__ */ jsx54(
3227
+ Input,
3228
+ {
3229
+ ref,
3230
+ "data-sidebar": "input",
3231
+ className: cn("dl-sidebar-input", className),
3232
+ ...props
3233
+ }
3234
+ );
3235
+ });
3236
+ SidebarInput.displayName = "SidebarInput";
3237
+
3296
3238
  // src/components/slider/slider.tsx
3297
- import * as React39 from "react";
3239
+ import * as React52 from "react";
3298
3240
  import * as SliderPrimitive from "@radix-ui/react-slider";
3299
- import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
3300
- var Slider = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs26(
3241
+ import { jsx as jsx55, jsxs as jsxs35 } from "react/jsx-runtime";
3242
+ var Slider = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs35(
3301
3243
  SliderPrimitive.Root,
3302
3244
  {
3303
3245
  ref,
3304
3246
  className: cn("dl-slider", className),
3305
3247
  ...props,
3306
3248
  children: [
3307
- /* @__PURE__ */ jsx43(SliderPrimitive.Track, { className: "dl-slider__track", children: /* @__PURE__ */ jsx43(SliderPrimitive.Range, { className: "dl-slider__range" }) }),
3308
- /* @__PURE__ */ jsx43(SliderPrimitive.Thumb, { className: "dl-slider__thumb" })
3249
+ /* @__PURE__ */ jsx55(SliderPrimitive.Track, { className: "dl-slider__track", children: /* @__PURE__ */ jsx55(SliderPrimitive.Range, { className: "dl-slider__range" }) }),
3250
+ /* @__PURE__ */ jsx55(SliderPrimitive.Thumb, { className: "dl-slider__thumb" })
3309
3251
  ]
3310
3252
  }
3311
3253
  ));
@@ -3314,7 +3256,7 @@ Slider.displayName = SliderPrimitive.Root.displayName;
3314
3256
  // src/components/sonner/sonner.tsx
3315
3257
  import { useEffect as useEffect7, useState as useState6 } from "react";
3316
3258
  import { Toaster as Sonner, toast } from "sonner";
3317
- import { jsx as jsx44 } from "react/jsx-runtime";
3259
+ import { jsx as jsx56 } from "react/jsx-runtime";
3318
3260
  var Toaster = ({ theme: propTheme, ...props }) => {
3319
3261
  const [resolvedTheme, setResolvedTheme] = useState6("system");
3320
3262
  useEffect7(() => {
@@ -3339,7 +3281,7 @@ var Toaster = ({ theme: propTheme, ...props }) => {
3339
3281
  });
3340
3282
  return () => observer.disconnect();
3341
3283
  }, [propTheme]);
3342
- return /* @__PURE__ */ jsx44(
3284
+ return /* @__PURE__ */ jsx56(
3343
3285
  Sonner,
3344
3286
  {
3345
3287
  theme: propTheme ?? resolvedTheme,
@@ -3358,8 +3300,8 @@ var Toaster = ({ theme: propTheme, ...props }) => {
3358
3300
  };
3359
3301
 
3360
3302
  // src/components/status-badge/status-badge.tsx
3361
- import * as React41 from "react";
3362
- import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
3303
+ import * as React54 from "react";
3304
+ import { jsx as jsx57, jsxs as jsxs36 } from "react/jsx-runtime";
3363
3305
  var statusCategoryMap = {
3364
3306
  Completed: "dl-status-badge--success",
3365
3307
  COMPLETED: "dl-status-badge--success",
@@ -3379,18 +3321,18 @@ var statusCategoryMap = {
3379
3321
  DISABLED: "dl-status-badge--muted",
3380
3322
  IDLE: "dl-status-badge--muted"
3381
3323
  };
3382
- var StatusBadge = React41.forwardRef(
3324
+ var StatusBadge = React54.forwardRef(
3383
3325
  ({ status, className, ...props }, ref) => {
3384
3326
  const normalizedStatus = status?.trim() ?? "";
3385
3327
  const colorClass = statusCategoryMap[normalizedStatus] ?? "dl-status-badge--muted";
3386
- return /* @__PURE__ */ jsxs27(
3328
+ return /* @__PURE__ */ jsxs36(
3387
3329
  "span",
3388
3330
  {
3389
3331
  ref,
3390
3332
  className: cn("dl-status-badge", colorClass, className),
3391
3333
  ...props,
3392
3334
  children: [
3393
- /* @__PURE__ */ jsx45("span", { className: "dl-status-badge__dot" }),
3335
+ /* @__PURE__ */ jsx57("span", { className: "dl-status-badge__dot" }),
3394
3336
  normalizedStatus
3395
3337
  ]
3396
3338
  }
@@ -3400,8 +3342,8 @@ var StatusBadge = React41.forwardRef(
3400
3342
  StatusBadge.displayName = "StatusBadge";
3401
3343
 
3402
3344
  // src/components/status-chip/status-chip.tsx
3403
- import * as React42 from "react";
3404
- import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
3345
+ import * as React55 from "react";
3346
+ import { jsx as jsx58, jsxs as jsxs37 } from "react/jsx-runtime";
3405
3347
  var statusToneMap = {
3406
3348
  active: "dl-status-chip--primary",
3407
3349
  running: "dl-status-chip--primary",
@@ -3423,17 +3365,17 @@ var statusToneMap = {
3423
3365
  error: "dl-status-chip--destructive",
3424
3366
  offline: "dl-status-chip--destructive"
3425
3367
  };
3426
- var StatusChip = React42.forwardRef(
3368
+ var StatusChip = React55.forwardRef(
3427
3369
  ({ status, className, ...props }, ref) => {
3428
3370
  const toneClass = statusToneMap[status] ?? "dl-status-chip--muted";
3429
- return /* @__PURE__ */ jsxs28(
3371
+ return /* @__PURE__ */ jsxs37(
3430
3372
  "span",
3431
3373
  {
3432
3374
  ref,
3433
3375
  className: cn("dl-status-chip", toneClass, className),
3434
3376
  ...props,
3435
3377
  children: [
3436
- /* @__PURE__ */ jsx46("span", { className: "dl-status-chip__dot" }),
3378
+ /* @__PURE__ */ jsx58("span", { className: "dl-status-chip__dot" }),
3437
3379
  status
3438
3380
  ]
3439
3381
  }
@@ -3443,52 +3385,52 @@ var StatusChip = React42.forwardRef(
3443
3385
  StatusChip.displayName = "StatusChip";
3444
3386
 
3445
3387
  // src/components/switch/switch.tsx
3446
- import * as React43 from "react";
3388
+ import * as React56 from "react";
3447
3389
  import * as SwitchPrimitives from "@radix-ui/react-switch";
3448
- import { jsx as jsx47 } from "react/jsx-runtime";
3449
- var Switch = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx47(
3390
+ import { jsx as jsx59 } from "react/jsx-runtime";
3391
+ var Switch = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx59(
3450
3392
  SwitchPrimitives.Root,
3451
3393
  {
3452
3394
  className: cn("dl-switch", className),
3453
3395
  ...props,
3454
3396
  ref,
3455
- children: /* @__PURE__ */ jsx47(SwitchPrimitives.Thumb, { className: "dl-switch__thumb" })
3397
+ children: /* @__PURE__ */ jsx59(SwitchPrimitives.Thumb, { className: "dl-switch__thumb" })
3456
3398
  }
3457
3399
  ));
3458
3400
  Switch.displayName = SwitchPrimitives.Root.displayName;
3459
3401
 
3460
3402
  // src/components/table/table.tsx
3461
- import * as React44 from "react";
3462
- import { jsx as jsx48 } from "react/jsx-runtime";
3463
- var Table = React44.forwardRef(
3464
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("div", { className: "dl-table-wrapper", children: /* @__PURE__ */ jsx48("table", { ref, className: cn("dl-table", className), ...props }) })
3403
+ import * as React57 from "react";
3404
+ import { jsx as jsx60 } from "react/jsx-runtime";
3405
+ var Table = React57.forwardRef(
3406
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("div", { className: "dl-table-wrapper", children: /* @__PURE__ */ jsx60("table", { ref, className: cn("dl-table", className), ...props }) })
3465
3407
  );
3466
3408
  Table.displayName = "Table";
3467
- var TableHeader = React44.forwardRef(
3468
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("thead", { ref, className: cn("dl-table__head", className), ...props })
3409
+ var TableHeader = React57.forwardRef(
3410
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("thead", { ref, className: cn("dl-table__head", className), ...props })
3469
3411
  );
3470
3412
  TableHeader.displayName = "TableHeader";
3471
- var TableBody = React44.forwardRef(
3472
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("tbody", { ref, className: cn("dl-table__body", className), ...props })
3413
+ var TableBody = React57.forwardRef(
3414
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("tbody", { ref, className: cn("dl-table__body", className), ...props })
3473
3415
  );
3474
3416
  TableBody.displayName = "TableBody";
3475
- var TableFooter = React44.forwardRef(
3476
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("tfoot", { ref, className: cn("dl-table__foot", className), ...props })
3417
+ var TableFooter = React57.forwardRef(
3418
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("tfoot", { ref, className: cn("dl-table__foot", className), ...props })
3477
3419
  );
3478
3420
  TableFooter.displayName = "TableFooter";
3479
- var TableRow = React44.forwardRef(
3480
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("tr", { ref, className: cn("dl-table__row", className), ...props })
3421
+ var TableRow = React57.forwardRef(
3422
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("tr", { ref, className: cn("dl-table__row", className), ...props })
3481
3423
  );
3482
3424
  TableRow.displayName = "TableRow";
3483
- var TableHead = React44.forwardRef(
3484
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("th", { ref, className: cn("dl-table__head-cell", className), ...props })
3425
+ var TableHead = React57.forwardRef(
3426
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("th", { ref, className: cn("dl-table__head-cell", className), ...props })
3485
3427
  );
3486
3428
  TableHead.displayName = "TableHead";
3487
- var TableCell = React44.forwardRef(
3488
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx48("td", { ref, className: cn("dl-table__cell", className), ...props })
3429
+ var TableCell = React57.forwardRef(
3430
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx60("td", { ref, className: cn("dl-table__cell", className), ...props })
3489
3431
  );
3490
3432
  TableCell.displayName = "TableCell";
3491
- var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
3433
+ var TableCaption = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx60(
3492
3434
  "caption",
3493
3435
  {
3494
3436
  ref,
@@ -3499,11 +3441,11 @@ var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
3499
3441
  TableCaption.displayName = "TableCaption";
3500
3442
 
3501
3443
  // src/components/tabs/tabs.tsx
3502
- import * as React45 from "react";
3444
+ import * as React58 from "react";
3503
3445
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3504
- import { jsx as jsx49 } from "react/jsx-runtime";
3446
+ import { jsx as jsx61 } from "react/jsx-runtime";
3505
3447
  var Tabs = TabsPrimitive.Root;
3506
- var TabsList = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
3448
+ var TabsList = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx61(
3507
3449
  TabsPrimitive.List,
3508
3450
  {
3509
3451
  ref,
@@ -3512,7 +3454,7 @@ var TabsList = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3512
3454
  }
3513
3455
  ));
3514
3456
  TabsList.displayName = TabsPrimitive.List.displayName;
3515
- var TabsTrigger = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
3457
+ var TabsTrigger = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx61(
3516
3458
  TabsPrimitive.Trigger,
3517
3459
  {
3518
3460
  ref,
@@ -3521,7 +3463,7 @@ var TabsTrigger = React45.forwardRef(({ className, ...props }, ref) => /* @__PUR
3521
3463
  }
3522
3464
  ));
3523
3465
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3524
- var TabsContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
3466
+ var TabsContent = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx61(
3525
3467
  TabsPrimitive.Content,
3526
3468
  {
3527
3469
  ref,
@@ -3532,18 +3474,18 @@ var TabsContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PUR
3532
3474
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3533
3475
 
3534
3476
  // src/components/textarea/textarea.tsx
3535
- import * as React46 from "react";
3536
- import { jsx as jsx50 } from "react/jsx-runtime";
3537
- var Textarea = React46.forwardRef(
3538
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx50("textarea", { className: cn("dl-textarea", className), ref, ...props })
3477
+ import * as React59 from "react";
3478
+ import { jsx as jsx62 } from "react/jsx-runtime";
3479
+ var Textarea = React59.forwardRef(
3480
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx62("textarea", { className: cn("dl-textarea", className), ref, ...props })
3539
3481
  );
3540
3482
  Textarea.displayName = "Textarea";
3541
3483
 
3542
3484
  // src/components/toggle/toggle.tsx
3543
- import * as React47 from "react";
3485
+ import * as React60 from "react";
3544
3486
  import * as TogglePrimitive from "@radix-ui/react-toggle";
3545
3487
  import { cva as cva8 } from "class-variance-authority";
3546
- import { jsx as jsx51 } from "react/jsx-runtime";
3488
+ import { jsx as jsx63 } from "react/jsx-runtime";
3547
3489
  var toggleVariants = cva8("dl-toggle", {
3548
3490
  variants: {
3549
3491
  variant: {
@@ -3561,7 +3503,7 @@ var toggleVariants = cva8("dl-toggle", {
3561
3503
  size: "default"
3562
3504
  }
3563
3505
  });
3564
- var Toggle = React47.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx51(
3506
+ var Toggle = React60.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx63(
3565
3507
  TogglePrimitive.Root,
3566
3508
  {
3567
3509
  ref,
@@ -3572,26 +3514,26 @@ var Toggle = React47.forwardRef(({ className, variant, size, ...props }, ref) =>
3572
3514
  Toggle.displayName = TogglePrimitive.Root.displayName;
3573
3515
 
3574
3516
  // src/components/toggle-group/toggle-group.tsx
3575
- import * as React48 from "react";
3517
+ import * as React61 from "react";
3576
3518
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
3577
- import { jsx as jsx52 } from "react/jsx-runtime";
3578
- var ToggleGroupContext = React48.createContext({
3519
+ import { jsx as jsx64 } from "react/jsx-runtime";
3520
+ var ToggleGroupContext = React61.createContext({
3579
3521
  size: "default",
3580
3522
  variant: "default"
3581
3523
  });
3582
- var ToggleGroup = React48.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx52(
3524
+ var ToggleGroup = React61.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx64(
3583
3525
  ToggleGroupPrimitive.Root,
3584
3526
  {
3585
3527
  ref,
3586
3528
  className: cn("dl-toggle-group", className),
3587
3529
  ...props,
3588
- children: /* @__PURE__ */ jsx52(ToggleGroupContext.Provider, { value: { variant, size }, children })
3530
+ children: /* @__PURE__ */ jsx64(ToggleGroupContext.Provider, { value: { variant, size }, children })
3589
3531
  }
3590
3532
  ));
3591
3533
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
3592
- var ToggleGroupItem = React48.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3593
- const context = React48.useContext(ToggleGroupContext);
3594
- return /* @__PURE__ */ jsx52(
3534
+ var ToggleGroupItem = React61.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3535
+ const context = React61.useContext(ToggleGroupContext);
3536
+ return /* @__PURE__ */ jsx64(
3595
3537
  ToggleGroupPrimitive.Item,
3596
3538
  {
3597
3539
  ref,
@@ -3610,17 +3552,17 @@ var ToggleGroupItem = React48.forwardRef(({ className, children, variant, size,
3610
3552
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
3611
3553
 
3612
3554
  // src/components/metric-card/metric-card.tsx
3613
- import * as React49 from "react";
3614
- import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
3615
- var MetricCard = React49.forwardRef(
3555
+ import * as React62 from "react";
3556
+ import { jsx as jsx65, jsxs as jsxs38 } from "react/jsx-runtime";
3557
+ var MetricCard = React62.forwardRef(
3616
3558
  ({ label, value, note, positive, icon, className, ...props }, ref) => {
3617
- return /* @__PURE__ */ jsxs29("div", { ref, className: cn("dl-metric-card", className), ...props, children: [
3618
- /* @__PURE__ */ jsxs29("div", { className: "dl-metric-card__header", children: [
3619
- /* @__PURE__ */ jsx53("span", { className: "dl-metric-card__label", children: label }),
3620
- icon && /* @__PURE__ */ jsx53("span", { className: "dl-metric-card__icon", children: icon })
3559
+ return /* @__PURE__ */ jsxs38("div", { ref, className: cn("dl-metric-card", className), ...props, children: [
3560
+ /* @__PURE__ */ jsxs38("div", { className: "dl-metric-card__header", children: [
3561
+ /* @__PURE__ */ jsx65("span", { className: "dl-metric-card__label", children: label }),
3562
+ icon && /* @__PURE__ */ jsx65("span", { className: "dl-metric-card__icon", children: icon })
3621
3563
  ] }),
3622
- /* @__PURE__ */ jsx53("div", { className: "dl-metric-card__value-row", children: /* @__PURE__ */ jsx53("span", { className: "dl-metric-card__value", children: value }) }),
3623
- note && /* @__PURE__ */ jsx53(
3564
+ /* @__PURE__ */ jsx65("div", { className: "dl-metric-card__value-row", children: /* @__PURE__ */ jsx65("span", { className: "dl-metric-card__value", children: value }) }),
3565
+ note && /* @__PURE__ */ jsx65(
3624
3566
  "div",
3625
3567
  {
3626
3568
  className: cn(
@@ -3635,18 +3577,18 @@ var MetricCard = React49.forwardRef(
3635
3577
  }
3636
3578
  );
3637
3579
  MetricCard.displayName = "MetricCard";
3638
- var MetricsGrid = React49.forwardRef(
3580
+ var MetricsGrid = React62.forwardRef(
3639
3581
  ({ children, className, ...props }, ref) => {
3640
- return /* @__PURE__ */ jsx53("div", { ref, className: cn("dl-metrics-grid", className), ...props, children });
3582
+ return /* @__PURE__ */ jsx65("div", { ref, className: cn("dl-metrics-grid", className), ...props, children });
3641
3583
  }
3642
3584
  );
3643
3585
  MetricsGrid.displayName = "MetricsGrid";
3644
3586
 
3645
3587
  // src/components/copy-button/copy-button.tsx
3646
- import * as React50 from "react";
3588
+ import * as React63 from "react";
3647
3589
  import { Check as Check7, Copy } from "lucide-react";
3648
- import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
3649
- var CopyButton = React50.forwardRef(
3590
+ import { jsx as jsx66, jsxs as jsxs39 } from "react/jsx-runtime";
3591
+ var CopyButton = React63.forwardRef(
3650
3592
  ({
3651
3593
  textToCopy,
3652
3594
  label = "Copy",
@@ -3656,7 +3598,7 @@ var CopyButton = React50.forwardRef(
3656
3598
  onClick,
3657
3599
  ...props
3658
3600
  }, ref) => {
3659
- const [isCopied, setIsCopied] = React50.useState(false);
3601
+ const [isCopied, setIsCopied] = React63.useState(false);
3660
3602
  const handleCopy = async (e) => {
3661
3603
  onClick?.(e);
3662
3604
  if (e.defaultPrevented) return;
@@ -3667,7 +3609,7 @@ var CopyButton = React50.forwardRef(
3667
3609
  } catch {
3668
3610
  }
3669
3611
  };
3670
- return /* @__PURE__ */ jsxs30(
3612
+ return /* @__PURE__ */ jsxs39(
3671
3613
  "button",
3672
3614
  {
3673
3615
  ref,
@@ -3680,8 +3622,8 @@ var CopyButton = React50.forwardRef(
3680
3622
  onClick: handleCopy,
3681
3623
  ...props,
3682
3624
  children: [
3683
- isCopied ? /* @__PURE__ */ jsx54(Check7, { className: "dl-copy-button__icon" }) : /* @__PURE__ */ jsx54(Copy, { className: "dl-copy-button__icon" }),
3684
- /* @__PURE__ */ jsx54("span", { children: isCopied ? copiedLabel : label })
3625
+ isCopied ? /* @__PURE__ */ jsx66(Check7, { className: "dl-copy-button__icon" }) : /* @__PURE__ */ jsx66(Copy, { className: "dl-copy-button__icon" }),
3626
+ /* @__PURE__ */ jsx66("span", { children: isCopied ? copiedLabel : label })
3685
3627
  ]
3686
3628
  }
3687
3629
  );
@@ -3690,10 +3632,10 @@ var CopyButton = React50.forwardRef(
3690
3632
  CopyButton.displayName = "CopyButton";
3691
3633
 
3692
3634
  // src/components/secret-reveal-card/secret-reveal-card.tsx
3693
- import * as React51 from "react";
3635
+ import * as React64 from "react";
3694
3636
  import { AlertTriangle } from "lucide-react";
3695
- import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
3696
- var SecretRevealCard = React51.forwardRef(
3637
+ import { jsx as jsx67, jsxs as jsxs40 } from "react/jsx-runtime";
3638
+ var SecretRevealCard = React64.forwardRef(
3697
3639
  ({
3698
3640
  secret,
3699
3641
  warningMessage = "One-time reveal. Please copy and store this credential securely before closing.",
@@ -3701,19 +3643,281 @@ var SecretRevealCard = React51.forwardRef(
3701
3643
  className,
3702
3644
  ...props
3703
3645
  }, ref) => {
3704
- return /* @__PURE__ */ jsxs31("div", { ref, className: cn("dl-secret-reveal", className), ...props, children: [
3705
- warningMessage && /* @__PURE__ */ jsxs31("div", { className: "dl-secret-reveal__warning", children: [
3706
- /* @__PURE__ */ jsx55(AlertTriangle, { className: "shrink-0 size-4" }),
3707
- /* @__PURE__ */ jsx55("span", { children: warningMessage })
3646
+ return /* @__PURE__ */ jsxs40("div", { ref, className: cn("dl-secret-reveal", className), ...props, children: [
3647
+ warningMessage && /* @__PURE__ */ jsxs40("div", { className: "dl-secret-reveal__warning", children: [
3648
+ /* @__PURE__ */ jsx67(AlertTriangle, {}),
3649
+ /* @__PURE__ */ jsx67("span", { children: warningMessage })
3708
3650
  ] }),
3709
- /* @__PURE__ */ jsxs31("div", { className: "dl-secret-reveal__code-wrap", children: [
3710
- /* @__PURE__ */ jsx55("code", { className: "dl-secret-reveal__code", children: secret }),
3711
- /* @__PURE__ */ jsx55(CopyButton, { textToCopy: secret, label: copyLabel })
3651
+ /* @__PURE__ */ jsxs40("div", { className: "dl-secret-reveal__code-wrap", children: [
3652
+ /* @__PURE__ */ jsx67("code", { className: "dl-secret-reveal__code", children: secret }),
3653
+ /* @__PURE__ */ jsx67(CopyButton, { textToCopy: secret, label: copyLabel })
3712
3654
  ] })
3713
3655
  ] });
3714
3656
  }
3715
3657
  );
3716
3658
  SecretRevealCard.displayName = "SecretRevealCard";
3659
+
3660
+ // src/components/typography/heading.tsx
3661
+ import { forwardRef as forwardRef58 } from "react";
3662
+ import { jsx as jsx68 } from "react/jsx-runtime";
3663
+ function resolveDefaultTag(size) {
3664
+ if (size === "display") return "h1";
3665
+ if (size === "h1" || size === "h2" || size === "h3" || size === "h4" || size === "h5" || size === "h6") {
3666
+ return size;
3667
+ }
3668
+ return "h2";
3669
+ }
3670
+ var Heading = forwardRef58(
3671
+ function Heading2({
3672
+ as,
3673
+ size = "h2",
3674
+ color = "default",
3675
+ weight,
3676
+ align = "left",
3677
+ truncate = false,
3678
+ className,
3679
+ children,
3680
+ ...props
3681
+ }, ref) {
3682
+ const Component = as ?? resolveDefaultTag(size);
3683
+ return /* @__PURE__ */ jsx68(
3684
+ Component,
3685
+ {
3686
+ ref,
3687
+ className: cn("dl-heading", `dl-${size}`, className),
3688
+ "data-typography-color": color !== "default" ? color : void 0,
3689
+ "data-typography-align": align !== "left" ? align : void 0,
3690
+ "data-typography-weight": weight,
3691
+ "data-typography-truncate": truncate ? "true" : void 0,
3692
+ ...props,
3693
+ children
3694
+ }
3695
+ );
3696
+ }
3697
+ );
3698
+ Heading.displayName = "Heading";
3699
+
3700
+ // src/components/typography/text.tsx
3701
+ import { forwardRef as forwardRef59 } from "react";
3702
+ import { jsx as jsx69 } from "react/jsx-runtime";
3703
+ var Text = forwardRef59(function Text2({
3704
+ as: Component = "p",
3705
+ variant = "body",
3706
+ color = "default",
3707
+ weight,
3708
+ align = "left",
3709
+ truncate = false,
3710
+ className,
3711
+ children,
3712
+ ...props
3713
+ }, ref) {
3714
+ const Element = Component;
3715
+ return /* @__PURE__ */ jsx69(
3716
+ Element,
3717
+ {
3718
+ ref,
3719
+ className: cn("dl-text", `dl-${variant}`, className),
3720
+ "data-typography-color": color !== "default" ? color : void 0,
3721
+ "data-typography-align": align !== "left" ? align : void 0,
3722
+ "data-typography-weight": weight,
3723
+ "data-typography-truncate": truncate ? "true" : void 0,
3724
+ ...props,
3725
+ children
3726
+ }
3727
+ );
3728
+ });
3729
+ Text.displayName = "Text";
3730
+
3731
+ // src/components/layout/box.tsx
3732
+ import * as React65 from "react";
3733
+ import { Slot as Slot7 } from "@radix-ui/react-slot";
3734
+ import { jsx as jsx70 } from "react/jsx-runtime";
3735
+ var Box = React65.forwardRef(
3736
+ ({
3737
+ className,
3738
+ asChild = false,
3739
+ as,
3740
+ p,
3741
+ px,
3742
+ py,
3743
+ radius,
3744
+ shadow,
3745
+ border = false,
3746
+ bg,
3747
+ style,
3748
+ ...props
3749
+ }, ref) => {
3750
+ const Comp = asChild ? Slot7 : as || "div";
3751
+ const inlineStyles = { ...style };
3752
+ if (p) inlineStyles.padding = `var(--space-${p})`;
3753
+ if (px) {
3754
+ inlineStyles.paddingLeft = `var(--space-${px})`;
3755
+ inlineStyles.paddingRight = `var(--space-${px})`;
3756
+ }
3757
+ if (py) {
3758
+ inlineStyles.paddingTop = `var(--space-${py})`;
3759
+ inlineStyles.paddingBottom = `var(--space-${py})`;
3760
+ }
3761
+ if (radius && radius !== "none") {
3762
+ inlineStyles.borderRadius = `var(--radius-${radius}, var(--radius))`;
3763
+ }
3764
+ if (border) {
3765
+ inlineStyles.border = "1px solid var(--border)";
3766
+ }
3767
+ if (bg) {
3768
+ inlineStyles.backgroundColor = `var(--${bg})`;
3769
+ }
3770
+ return /* @__PURE__ */ jsx70(
3771
+ Comp,
3772
+ {
3773
+ ref,
3774
+ className: cn(
3775
+ "dl-box",
3776
+ shadow && shadow !== "none" && `dl-shadow-${shadow}`,
3777
+ className
3778
+ ),
3779
+ style: inlineStyles,
3780
+ ...props
3781
+ }
3782
+ );
3783
+ }
3784
+ );
3785
+ Box.displayName = "Box";
3786
+
3787
+ // src/components/layout/flex.tsx
3788
+ import * as React66 from "react";
3789
+ import { Slot as Slot8 } from "@radix-ui/react-slot";
3790
+ import { jsx as jsx71 } from "react/jsx-runtime";
3791
+ var Flex = React66.forwardRef(
3792
+ ({
3793
+ className,
3794
+ asChild = false,
3795
+ as,
3796
+ direction = "row",
3797
+ justify,
3798
+ align,
3799
+ wrap = false,
3800
+ gap,
3801
+ inline = false,
3802
+ ...props
3803
+ }, ref) => {
3804
+ const Comp = asChild ? Slot8 : as || "div";
3805
+ return /* @__PURE__ */ jsx71(
3806
+ Comp,
3807
+ {
3808
+ ref,
3809
+ className: cn(
3810
+ "dl-flex",
3811
+ inline && "dl-flex--inline",
3812
+ direction && `dl-flex--${direction}`,
3813
+ justify && `dl-flex--justify-${justify}`,
3814
+ align && `dl-flex--align-${align}`,
3815
+ (wrap === true || wrap === "wrap") && "dl-flex--wrap",
3816
+ wrap === "nowrap" && "dl-flex--nowrap",
3817
+ wrap === "reverse" && "dl-flex--wrap-reverse",
3818
+ gap !== void 0 && `dl-gap-${gap}`,
3819
+ className
3820
+ ),
3821
+ ...props
3822
+ }
3823
+ );
3824
+ }
3825
+ );
3826
+ Flex.displayName = "Flex";
3827
+
3828
+ // src/components/layout/stack.tsx
3829
+ import * as React67 from "react";
3830
+ import { Slot as Slot9 } from "@radix-ui/react-slot";
3831
+ import { jsx as jsx72 } from "react/jsx-runtime";
3832
+ var Stack = React67.forwardRef(
3833
+ ({
3834
+ className,
3835
+ asChild = false,
3836
+ as,
3837
+ direction = "col",
3838
+ gap = "3",
3839
+ align = "stretch",
3840
+ ...props
3841
+ }, ref) => {
3842
+ const Comp = asChild ? Slot9 : as || "div";
3843
+ return /* @__PURE__ */ jsx72(
3844
+ Comp,
3845
+ {
3846
+ ref,
3847
+ className: cn(
3848
+ "dl-stack",
3849
+ `dl-stack--${direction}`,
3850
+ `dl-flex--align-${align}`,
3851
+ gap !== void 0 && `dl-gap-${gap}`,
3852
+ className
3853
+ ),
3854
+ ...props
3855
+ }
3856
+ );
3857
+ }
3858
+ );
3859
+ Stack.displayName = "Stack";
3860
+
3861
+ // src/components/layout/grid.tsx
3862
+ import * as React68 from "react";
3863
+ import { Slot as Slot10 } from "@radix-ui/react-slot";
3864
+ import { jsx as jsx73 } from "react/jsx-runtime";
3865
+ var Grid = React68.forwardRef(
3866
+ ({
3867
+ className,
3868
+ asChild = false,
3869
+ as,
3870
+ cols,
3871
+ columns,
3872
+ gap = "4",
3873
+ inline = false,
3874
+ style,
3875
+ ...props
3876
+ }, ref) => {
3877
+ const Comp = asChild ? Slot10 : as || "div";
3878
+ const resolvedCols = cols ?? columns ?? 1;
3879
+ const inlineStyles = { ...style };
3880
+ if (typeof resolvedCols === "number") {
3881
+ inlineStyles.gridTemplateColumns = `repeat(${resolvedCols}, minmax(0, 1fr))`;
3882
+ } else if (typeof resolvedCols === "string") {
3883
+ inlineStyles.gridTemplateColumns = `repeat(auto-fit, minmax(${resolvedCols}, 1fr))`;
3884
+ }
3885
+ return /* @__PURE__ */ jsx73(
3886
+ Comp,
3887
+ {
3888
+ ref,
3889
+ className: cn(
3890
+ "dl-grid",
3891
+ inline && "dl-grid--inline",
3892
+ gap !== void 0 && `dl-gap-${gap}`,
3893
+ className
3894
+ ),
3895
+ style: inlineStyles,
3896
+ ...props
3897
+ }
3898
+ );
3899
+ }
3900
+ );
3901
+ Grid.displayName = "Grid";
3902
+
3903
+ // src/components/layout/container.tsx
3904
+ import * as React69 from "react";
3905
+ import { Slot as Slot11 } from "@radix-ui/react-slot";
3906
+ import { jsx as jsx74 } from "react/jsx-runtime";
3907
+ var Container = React69.forwardRef(
3908
+ ({ className, asChild = false, as, size = "xl", ...props }, ref) => {
3909
+ const Comp = asChild ? Slot11 : as || "div";
3910
+ return /* @__PURE__ */ jsx74(
3911
+ Comp,
3912
+ {
3913
+ ref,
3914
+ className: cn("dl-container", `dl-container--${size}`, className),
3915
+ ...props
3916
+ }
3917
+ );
3918
+ }
3919
+ );
3920
+ Container.displayName = "Container";
3717
3921
  export {
3718
3922
  Accordion,
3719
3923
  AccordionContent,
@@ -3738,6 +3942,7 @@ export {
3738
3942
  AvatarFallback,
3739
3943
  AvatarImage,
3740
3944
  Badge,
3945
+ Box,
3741
3946
  Breadcrumb,
3742
3947
  BreadcrumbEllipsis,
3743
3948
  BreadcrumbItem,
@@ -3756,10 +3961,12 @@ export {
3756
3961
  CardTitle,
3757
3962
  Carousel,
3758
3963
  CarouselContent,
3964
+ CarouselContext,
3759
3965
  CarouselItem,
3760
3966
  CarouselNext,
3761
3967
  CarouselPrevious,
3762
3968
  ChartContainer,
3969
+ ChartContext,
3763
3970
  ChartLegend,
3764
3971
  ChartLegendContent,
3765
3972
  ChartStyle,
@@ -3780,6 +3987,7 @@ export {
3780
3987
  CommandShortcut,
3781
3988
  ConfigProvider,
3782
3989
  ConfirmDialog,
3990
+ Container,
3783
3991
  ContextMenu,
3784
3992
  ContextMenuCheckboxItem,
3785
3993
  ContextMenuContent,
@@ -3833,6 +4041,8 @@ export {
3833
4041
  DropdownMenuSubContent,
3834
4042
  DropdownMenuSubTrigger,
3835
4043
  DropdownMenuTrigger,
4044
+ EmptyState,
4045
+ Flex,
3836
4046
  Form,
3837
4047
  FormControl,
3838
4048
  FormDescription,
@@ -3840,6 +4050,8 @@ export {
3840
4050
  FormItem,
3841
4051
  FormLabel,
3842
4052
  FormMessage,
4053
+ Grid,
4054
+ Heading,
3843
4055
  HoverCard,
3844
4056
  HoverCardContent,
3845
4057
  HoverCardTrigger,
@@ -3894,6 +4106,12 @@ export {
3894
4106
  ResizableHandle,
3895
4107
  ResizablePanel,
3896
4108
  ResizablePanelGroup,
4109
+ SIDEBAR_COOKIE_MAX_AGE,
4110
+ SIDEBAR_COOKIE_NAME,
4111
+ SIDEBAR_KEYBOARD_SHORTCUT,
4112
+ SIDEBAR_WIDTH,
4113
+ SIDEBAR_WIDTH_ICON,
4114
+ SIDEBAR_WIDTH_MOBILE,
3897
4115
  ScrollArea,
3898
4116
  ScrollBar,
3899
4117
  SearchableSelect,
@@ -3921,6 +4139,7 @@ export {
3921
4139
  SheetTrigger,
3922
4140
  Sidebar,
3923
4141
  SidebarContent,
4142
+ SidebarContext,
3924
4143
  SidebarFooter,
3925
4144
  SidebarGroup,
3926
4145
  SidebarGroupAction,
@@ -3944,9 +4163,11 @@ export {
3944
4163
  SidebarTrigger,
3945
4164
  Skeleton,
3946
4165
  Slider,
4166
+ Stack,
3947
4167
  StatusBadge,
3948
4168
  StatusChip,
3949
4169
  Switch,
4170
+ THEMES,
3950
4171
  Table,
3951
4172
  TableBody,
3952
4173
  TableCaption,
@@ -3959,6 +4180,7 @@ export {
3959
4180
  TabsContent,
3960
4181
  TabsList,
3961
4182
  TabsTrigger,
4183
+ Text,
3962
4184
  Textarea,
3963
4185
  ThemeProvider,
3964
4186
  Toaster,
@@ -3973,12 +4195,16 @@ export {
3973
4195
  badgeVariants,
3974
4196
  buttonVariants,
3975
4197
  cn,
4198
+ cx,
4199
+ getPayloadConfigFromPayload,
3976
4200
  labelVariants,
3977
4201
  navigationMenuTriggerStyle,
3978
4202
  sheetVariants,
4203
+ sidebarMenuButtonVariants,
3979
4204
  toast,
3980
4205
  toggleVariants,
3981
4206
  useCarousel,
4207
+ useChart,
3982
4208
  useConfig,
3983
4209
  useFormField,
3984
4210
  useIsMobile,