@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.cjs CHANGED
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  AvatarFallback: () => AvatarFallback,
55
55
  AvatarImage: () => AvatarImage,
56
56
  Badge: () => Badge,
57
+ Box: () => Box,
57
58
  Breadcrumb: () => Breadcrumb,
58
59
  BreadcrumbEllipsis: () => BreadcrumbEllipsis,
59
60
  BreadcrumbItem: () => BreadcrumbItem,
@@ -72,10 +73,12 @@ __export(index_exports, {
72
73
  CardTitle: () => CardTitle,
73
74
  Carousel: () => Carousel,
74
75
  CarouselContent: () => CarouselContent,
76
+ CarouselContext: () => CarouselContext,
75
77
  CarouselItem: () => CarouselItem,
76
78
  CarouselNext: () => CarouselNext,
77
79
  CarouselPrevious: () => CarouselPrevious,
78
80
  ChartContainer: () => ChartContainer,
81
+ ChartContext: () => ChartContext,
79
82
  ChartLegend: () => ChartLegend,
80
83
  ChartLegendContent: () => ChartLegendContent,
81
84
  ChartStyle: () => ChartStyle,
@@ -96,6 +99,7 @@ __export(index_exports, {
96
99
  CommandShortcut: () => CommandShortcut,
97
100
  ConfigProvider: () => ConfigProvider,
98
101
  ConfirmDialog: () => ConfirmDialog,
102
+ Container: () => Container,
99
103
  ContextMenu: () => ContextMenu,
100
104
  ContextMenuCheckboxItem: () => ContextMenuCheckboxItem,
101
105
  ContextMenuContent: () => ContextMenuContent,
@@ -149,6 +153,8 @@ __export(index_exports, {
149
153
  DropdownMenuSubContent: () => DropdownMenuSubContent,
150
154
  DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
151
155
  DropdownMenuTrigger: () => DropdownMenuTrigger,
156
+ EmptyState: () => EmptyState,
157
+ Flex: () => Flex,
152
158
  Form: () => Form,
153
159
  FormControl: () => FormControl,
154
160
  FormDescription: () => FormDescription,
@@ -156,6 +162,8 @@ __export(index_exports, {
156
162
  FormItem: () => FormItem,
157
163
  FormLabel: () => FormLabel,
158
164
  FormMessage: () => FormMessage,
165
+ Grid: () => Grid,
166
+ Heading: () => Heading,
159
167
  HoverCard: () => HoverCard,
160
168
  HoverCardContent: () => HoverCardContent,
161
169
  HoverCardTrigger: () => HoverCardTrigger,
@@ -210,6 +218,12 @@ __export(index_exports, {
210
218
  ResizableHandle: () => ResizableHandle,
211
219
  ResizablePanel: () => ResizablePanel,
212
220
  ResizablePanelGroup: () => ResizablePanelGroup,
221
+ SIDEBAR_COOKIE_MAX_AGE: () => SIDEBAR_COOKIE_MAX_AGE,
222
+ SIDEBAR_COOKIE_NAME: () => SIDEBAR_COOKIE_NAME,
223
+ SIDEBAR_KEYBOARD_SHORTCUT: () => SIDEBAR_KEYBOARD_SHORTCUT,
224
+ SIDEBAR_WIDTH: () => SIDEBAR_WIDTH,
225
+ SIDEBAR_WIDTH_ICON: () => SIDEBAR_WIDTH_ICON,
226
+ SIDEBAR_WIDTH_MOBILE: () => SIDEBAR_WIDTH_MOBILE,
213
227
  ScrollArea: () => ScrollArea,
214
228
  ScrollBar: () => ScrollBar,
215
229
  SearchableSelect: () => SearchableSelect,
@@ -237,6 +251,7 @@ __export(index_exports, {
237
251
  SheetTrigger: () => SheetTrigger,
238
252
  Sidebar: () => Sidebar,
239
253
  SidebarContent: () => SidebarContent,
254
+ SidebarContext: () => SidebarContext,
240
255
  SidebarFooter: () => SidebarFooter,
241
256
  SidebarGroup: () => SidebarGroup,
242
257
  SidebarGroupAction: () => SidebarGroupAction,
@@ -260,9 +275,11 @@ __export(index_exports, {
260
275
  SidebarTrigger: () => SidebarTrigger,
261
276
  Skeleton: () => Skeleton,
262
277
  Slider: () => Slider,
278
+ Stack: () => Stack,
263
279
  StatusBadge: () => StatusBadge,
264
280
  StatusChip: () => StatusChip,
265
281
  Switch: () => Switch,
282
+ THEMES: () => THEMES,
266
283
  Table: () => Table,
267
284
  TableBody: () => TableBody,
268
285
  TableCaption: () => TableCaption,
@@ -275,6 +292,7 @@ __export(index_exports, {
275
292
  TabsContent: () => TabsContent,
276
293
  TabsList: () => TabsList,
277
294
  TabsTrigger: () => TabsTrigger,
295
+ Text: () => Text,
278
296
  Textarea: () => Textarea,
279
297
  ThemeProvider: () => ThemeProvider,
280
298
  Toaster: () => Toaster,
@@ -289,12 +307,16 @@ __export(index_exports, {
289
307
  badgeVariants: () => badgeVariants,
290
308
  buttonVariants: () => buttonVariants,
291
309
  cn: () => cn,
310
+ cx: () => cx,
311
+ getPayloadConfigFromPayload: () => getPayloadConfigFromPayload,
292
312
  labelVariants: () => labelVariants,
293
313
  navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
294
314
  sheetVariants: () => sheetVariants,
315
+ sidebarMenuButtonVariants: () => sidebarMenuButtonVariants,
295
316
  toast: () => import_sonner.toast,
296
317
  toggleVariants: () => toggleVariants,
297
318
  useCarousel: () => useCarousel,
319
+ useChart: () => useChart,
298
320
  useConfig: () => useConfig,
299
321
  useFormField: () => useFormField,
300
322
  useIsMobile: () => useIsMobile,
@@ -305,9 +327,11 @@ module.exports = __toCommonJS(index_exports);
305
327
 
306
328
  // src/lib/utils.ts
307
329
  var import_clsx = require("clsx");
308
- var import_tailwind_merge = require("tailwind-merge");
330
+ function cx(...inputs) {
331
+ return (0, import_clsx.clsx)(inputs);
332
+ }
309
333
  function cn(...inputs) {
310
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
334
+ return (0, import_clsx.clsx)(inputs);
311
335
  }
312
336
 
313
337
  // src/theme-provider.tsx
@@ -760,56 +784,44 @@ function Calendar({
760
784
  import_react_day_picker.DayPicker,
761
785
  {
762
786
  showOutsideDays,
763
- className: cn("dl-calendar group/calendar", className),
787
+ className: cn("dl-calendar", className),
764
788
  captionLayout,
765
789
  formatters: {
766
790
  formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
767
791
  ...formatters
768
792
  },
769
793
  classNames: {
770
- root: cn("dl-calendar w-fit", defaultClassNames.root),
771
- months: cn(
772
- "relative flex flex-col gap-4 md:flex-row",
773
- defaultClassNames.months
774
- ),
775
- month: cn("flex w-full flex-col gap-4", defaultClassNames.month),
776
- nav: cn(
777
- "absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",
778
- defaultClassNames.nav
779
- ),
794
+ root: cn("dl-calendar", defaultClassNames.root),
795
+ months: cn("dl-calendar__months", defaultClassNames.months),
796
+ month: cn("dl-calendar__month", defaultClassNames.month),
797
+ nav: cn("dl-calendar__nav", defaultClassNames.nav),
780
798
  button_previous: cn(
781
799
  buttonVariants({ variant: buttonVariant, size: "icon" }),
782
- "select-none p-0 aria-disabled:opacity-50",
800
+ "dl-calendar__nav-button",
783
801
  defaultClassNames.button_previous
784
802
  ),
785
803
  button_next: cn(
786
804
  buttonVariants({ variant: buttonVariant, size: "icon" }),
787
- "select-none p-0 aria-disabled:opacity-50",
805
+ "dl-calendar__nav-button",
788
806
  defaultClassNames.button_next
789
807
  ),
790
808
  month_caption: cn(
791
- "flex w-full items-center justify-center",
809
+ "dl-calendar__month-caption",
792
810
  defaultClassNames.month_caption
793
811
  ),
794
- dropdowns: cn(
795
- "flex w-full items-center justify-center gap-1.5 text-sm font-medium",
796
- defaultClassNames.dropdowns
797
- ),
812
+ dropdowns: cn("dl-calendar__dropdowns", defaultClassNames.dropdowns),
798
813
  dropdown_root: cn(
799
- "relative rounded-md border border-input shadow-xs",
814
+ "dl-calendar__dropdown-root",
800
815
  defaultClassNames.dropdown_root
801
816
  ),
802
- dropdown: cn(
803
- "bg-popover absolute inset-0 opacity-0",
804
- defaultClassNames.dropdown
805
- ),
817
+ dropdown: cn("dl-calendar__dropdown", defaultClassNames.dropdown),
806
818
  caption_label: cn(
807
- "select-none font-medium text-sm",
808
- captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm",
819
+ "dl-calendar__caption-label",
820
+ captionLayout !== "label" && "dl-calendar__caption-label--interactive",
809
821
  defaultClassNames.caption_label
810
822
  ),
811
- table: cn("w-full border-collapse", defaultClassNames.month_grid),
812
- month_grid: cn("w-full border-collapse", defaultClassNames.month_grid),
823
+ table: cn("dl-calendar__table", defaultClassNames.month_grid),
824
+ month_grid: cn("dl-calendar__table", defaultClassNames.month_grid),
813
825
  weekdays: defaultClassNames.weekdays,
814
826
  weekday: defaultClassNames.weekday,
815
827
  week: defaultClassNames.week,
@@ -838,34 +850,17 @@ function Calendar({
838
850
  orientation,
839
851
  ...chevronProps
840
852
  }) => {
853
+ const chevronClass = cn("dl-calendar__chevron", chevronClassName);
841
854
  if (orientation === "left") {
842
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
843
- import_lucide_react3.ChevronLeftIcon,
844
- {
845
- className: cn("size-4", chevronClassName),
846
- ...chevronProps
847
- }
848
- );
855
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react3.ChevronLeftIcon, { className: chevronClass, ...chevronProps });
849
856
  }
850
857
  if (orientation === "right") {
851
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
852
- import_lucide_react3.ChevronRightIcon,
853
- {
854
- className: cn("size-4", chevronClassName),
855
- ...chevronProps
856
- }
857
- );
858
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react3.ChevronRightIcon, { className: chevronClass, ...chevronProps });
858
859
  }
859
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
860
- import_lucide_react3.ChevronDownIcon,
861
- {
862
- className: cn("size-4", chevronClassName),
863
- ...chevronProps
864
- }
865
- );
860
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react3.ChevronDownIcon, { className: chevronClass, ...chevronProps });
866
861
  },
867
862
  DayButton: CalendarDayButton,
868
- WeekNumber: ({ children, ...weekProps }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("td", { ...weekProps, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) }),
863
+ WeekNumber: ({ children, ...weekProps }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("td", { ...weekProps, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "dl-calendar__week-number", children }) }),
869
864
  ...components
870
865
  },
871
866
  ...props
@@ -896,7 +891,7 @@ function CalendarDayButton({
896
891
  "data-range-end": modifiers["range_end"],
897
892
  "data-range-middle": modifiers["range_middle"],
898
893
  className: cn(
899
- "dl-calendar__day-button flex aspect-square items-center justify-center font-normal leading-none",
894
+ "dl-calendar__day-button",
900
895
  defaultClassNames.day_button,
901
896
  className
902
897
  ),
@@ -931,12 +926,13 @@ var CardFooter = React10.forwardRef(
931
926
  );
932
927
  CardFooter.displayName = "CardFooter";
933
928
 
934
- // src/components/carousel/carousel.tsx
929
+ // src/components/carousel/carousel-context.tsx
935
930
  var React11 = __toESM(require("react"), 1);
936
931
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
937
- var import_lucide_react4 = require("lucide-react");
938
932
  var import_jsx_runtime11 = require("react/jsx-runtime");
939
- var CarouselContext = React11.createContext(null);
933
+ var CarouselContext = React11.createContext(
934
+ null
935
+ );
940
936
  function useCarousel() {
941
937
  const context = React11.useContext(CarouselContext);
942
938
  if (!context) {
@@ -1022,28 +1018,31 @@ var Carousel = React11.forwardRef(
1022
1018
  }
1023
1019
  );
1024
1020
  Carousel.displayName = "Carousel";
1025
- var CarouselContent = React11.forwardRef(
1026
- ({ className, ...props }, ref) => {
1027
- const { carouselRef, orientation } = useCarousel();
1028
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { ref: carouselRef, className: "dl-carousel-viewport", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1029
- "div",
1030
- {
1031
- ref,
1032
- className: cn(
1033
- "dl-carousel-track",
1034
- orientation === "horizontal" ? "dl-carousel-track--horizontal" : "dl-carousel-track--vertical",
1035
- className
1036
- ),
1037
- ...props
1038
- }
1039
- ) });
1040
- }
1041
- );
1021
+
1022
+ // src/components/carousel/carousel-items.tsx
1023
+ var React12 = __toESM(require("react"), 1);
1024
+ var import_lucide_react4 = require("lucide-react");
1025
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1026
+ var CarouselContent = React12.forwardRef(({ className, ...props }, ref) => {
1027
+ const { carouselRef, orientation } = useCarousel();
1028
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { ref: carouselRef, className: "dl-carousel-viewport", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1029
+ "div",
1030
+ {
1031
+ ref,
1032
+ className: cn(
1033
+ "dl-carousel-track",
1034
+ orientation === "horizontal" ? "dl-carousel-track--horizontal" : "dl-carousel-track--vertical",
1035
+ className
1036
+ ),
1037
+ ...props
1038
+ }
1039
+ ) });
1040
+ });
1042
1041
  CarouselContent.displayName = "CarouselContent";
1043
- var CarouselItem = React11.forwardRef(
1042
+ var CarouselItem = React12.forwardRef(
1044
1043
  ({ className, ...props }, ref) => {
1045
1044
  const { orientation } = useCarousel();
1046
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1045
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1047
1046
  "div",
1048
1047
  {
1049
1048
  ref,
@@ -1060,9 +1059,9 @@ var CarouselItem = React11.forwardRef(
1060
1059
  }
1061
1060
  );
1062
1061
  CarouselItem.displayName = "CarouselItem";
1063
- var CarouselPrevious = React11.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1062
+ var CarouselPrevious = React12.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1064
1063
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
1065
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1064
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1066
1065
  Button,
1067
1066
  {
1068
1067
  ref,
@@ -1077,81 +1076,78 @@ var CarouselPrevious = React11.forwardRef(({ className, variant = "outline", siz
1077
1076
  onClick: scrollPrev,
1078
1077
  ...props,
1079
1078
  children: [
1080
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react4.ArrowLeft, {}),
1081
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Previous slide" })
1079
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.ArrowLeft, {}),
1080
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Previous slide" })
1082
1081
  ]
1083
1082
  }
1084
1083
  );
1085
1084
  });
1086
1085
  CarouselPrevious.displayName = "CarouselPrevious";
1087
- var CarouselNext = React11.forwardRef(
1088
- ({ className, variant = "outline", size = "icon", ...props }, ref) => {
1089
- const { orientation, scrollNext, canScrollNext } = useCarousel();
1090
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1091
- Button,
1092
- {
1093
- ref,
1094
- variant,
1095
- size,
1096
- className: cn(
1097
- "dl-carousel-btn",
1098
- orientation === "horizontal" ? "dl-carousel-btn--next-horizontal" : "dl-carousel-btn--next-vertical",
1099
- className
1100
- ),
1101
- disabled: !canScrollNext,
1102
- onClick: scrollNext,
1103
- ...props,
1104
- children: [
1105
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react4.ArrowRight, {}),
1106
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Next slide" })
1107
- ]
1108
- }
1109
- );
1110
- }
1111
- );
1086
+ var CarouselNext = React12.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
1087
+ const { orientation, scrollNext, canScrollNext } = useCarousel();
1088
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1089
+ Button,
1090
+ {
1091
+ ref,
1092
+ variant,
1093
+ size,
1094
+ className: cn(
1095
+ "dl-carousel-btn",
1096
+ orientation === "horizontal" ? "dl-carousel-btn--next-horizontal" : "dl-carousel-btn--next-vertical",
1097
+ className
1098
+ ),
1099
+ disabled: !canScrollNext,
1100
+ onClick: scrollNext,
1101
+ ...props,
1102
+ children: [
1103
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.ArrowRight, {}),
1104
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Next slide" })
1105
+ ]
1106
+ }
1107
+ );
1108
+ });
1112
1109
  CarouselNext.displayName = "CarouselNext";
1113
1110
 
1114
- // src/components/chart/chart.tsx
1115
- var React12 = __toESM(require("react"), 1);
1116
- var RechartsPrimitive = __toESM(require("recharts"), 1);
1117
- var import_jsx_runtime12 = require("react/jsx-runtime");
1111
+ // src/components/chart/chart-context.tsx
1112
+ var React13 = __toESM(require("react"), 1);
1118
1113
  var THEMES = { light: "", dark: ".dark" };
1119
- var ChartContext = React12.createContext(null);
1114
+ var ChartContext = React13.createContext(null);
1120
1115
  function useChart() {
1121
- const context = React12.useContext(ChartContext);
1116
+ const context = React13.useContext(ChartContext);
1122
1117
  if (!context) {
1123
1118
  throw new Error("useChart must be used within a <ChartContainer />");
1124
1119
  }
1125
1120
  return context;
1126
1121
  }
1127
- var ChartContainer = React12.forwardRef(
1128
- ({ id, className, children, config, ...props }, ref) => {
1129
- const uniqueId = React12.useId();
1130
- const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
1131
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1132
- "div",
1133
- {
1134
- "data-chart": chartId,
1135
- ref,
1136
- className: cn("dl-chart-container", className),
1137
- ...props,
1138
- children: [
1139
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChartStyle, { id: chartId, config }),
1140
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(RechartsPrimitive.ResponsiveContainer, { children })
1141
- ]
1142
- }
1143
- ) });
1122
+ function getPayloadConfigFromPayload(config, payload, key) {
1123
+ if (typeof payload !== "object" || payload === null) {
1124
+ return void 0;
1144
1125
  }
1145
- );
1146
- ChartContainer.displayName = "Chart";
1147
- var ChartStyle = ({ id, config }) => {
1126
+ const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
1127
+ let configLabelKey = key;
1128
+ if (key in payload && typeof payload[key] === "string") {
1129
+ configLabelKey = payload[key];
1130
+ } else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") {
1131
+ configLabelKey = payloadPayload[key];
1132
+ }
1133
+ return configLabelKey in config ? config[configLabelKey] : config[key];
1134
+ }
1135
+
1136
+ // src/components/chart/chart-container.tsx
1137
+ var React14 = __toESM(require("react"), 1);
1138
+ var RechartsPrimitive = __toESM(require("recharts"), 1);
1139
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1140
+ var ChartStyle = ({
1141
+ id,
1142
+ config
1143
+ }) => {
1148
1144
  const colorConfig = Object.entries(config).filter(
1149
- ([, config2]) => config2.theme || config2.color
1145
+ ([, itemConfig]) => itemConfig.theme || itemConfig.color
1150
1146
  );
1151
1147
  if (!colorConfig.length) {
1152
1148
  return null;
1153
1149
  }
1154
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1150
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1155
1151
  "style",
1156
1152
  {
1157
1153
  dangerouslySetInnerHTML: {
@@ -1169,8 +1165,31 @@ ${colorConfig.map(([key, itemConfig]) => {
1169
1165
  }
1170
1166
  );
1171
1167
  };
1172
- var ChartTooltip = RechartsPrimitive.Tooltip;
1173
- var ChartTooltipContent = React12.forwardRef(
1168
+ var ChartContainer = React14.forwardRef(({ id, className, children, config, ...props }, ref) => {
1169
+ const uniqueId = React14.useId();
1170
+ const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
1171
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1172
+ "div",
1173
+ {
1174
+ "data-chart": chartId,
1175
+ ref,
1176
+ className: cn("dl-chart-container", className),
1177
+ ...props,
1178
+ children: [
1179
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChartStyle, { id: chartId, config }),
1180
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(RechartsPrimitive.ResponsiveContainer, { children })
1181
+ ]
1182
+ }
1183
+ ) });
1184
+ });
1185
+ ChartContainer.displayName = "Chart";
1186
+
1187
+ // src/components/chart/chart-tooltip.tsx
1188
+ var React15 = __toESM(require("react"), 1);
1189
+ var RechartsPrimitive2 = __toESM(require("recharts"), 1);
1190
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1191
+ var ChartTooltip = RechartsPrimitive2.Tooltip;
1192
+ var ChartTooltipContent = React15.forwardRef(
1174
1193
  ({
1175
1194
  active,
1176
1195
  payload,
@@ -1187,7 +1206,7 @@ var ChartTooltipContent = React12.forwardRef(
1187
1206
  labelKey
1188
1207
  }, ref) => {
1189
1208
  const { config } = useChart();
1190
- const tooltipLabel = React12.useMemo(() => {
1209
+ const tooltipLabel = React15.useMemo(() => {
1191
1210
  if (hideLabel || !payload?.length) {
1192
1211
  return null;
1193
1212
  }
@@ -1196,12 +1215,12 @@ var ChartTooltipContent = React12.forwardRef(
1196
1215
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
1197
1216
  const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
1198
1217
  if (labelFormatter) {
1199
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
1218
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("dl-chart-tooltip__label", labelClassName), children: labelFormatter(value, payload) });
1200
1219
  }
1201
1220
  if (!value) {
1202
1221
  return null;
1203
1222
  }
1204
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("font-medium", labelClassName), children: value });
1223
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("dl-chart-tooltip__label", labelClassName), children: value });
1205
1224
  }, [
1206
1225
  label,
1207
1226
  labelFormatter,
@@ -1215,31 +1234,29 @@ var ChartTooltipContent = React12.forwardRef(
1215
1234
  return null;
1216
1235
  }
1217
1236
  const nestLabel = payload.length === 1 && indicator !== "dot";
1218
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { ref, className: cn("dl-chart-tooltip", className), children: [
1237
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { ref, className: cn("dl-chart-tooltip", className), children: [
1219
1238
  !nestLabel ? tooltipLabel : null,
1220
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
1239
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "dl-chart-tooltip__grid", children: payload.filter((item) => item.type !== "none").map((item, index) => {
1221
1240
  const key = `${nameKey || item.name || item.dataKey || "value"}`;
1222
1241
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
1223
1242
  const indicatorColor = color || item.payload.fill || item.color;
1224
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1243
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1225
1244
  "div",
1226
1245
  {
1227
1246
  className: cn(
1228
- "flex flex-wrap items-stretch gap-2 [&>svg]:text-muted-foreground [&>svg]:size-2.5",
1229
- indicator === "dot" && "items-center"
1247
+ "dl-chart-tooltip__item",
1248
+ indicator === "dot" && "dl-chart-tooltip__item--center"
1230
1249
  ),
1231
- children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
1232
- itemConfig?.icon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1250
+ children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
1251
+ itemConfig?.icon ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1233
1252
  "div",
1234
1253
  {
1235
1254
  className: cn(
1236
- "shrink-0 rounded-xs border-border bg-(--color-bg)",
1237
- {
1238
- "h-2.5 w-2.5": indicator === "dot",
1239
- "w-1": indicator === "line",
1240
- "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
1241
- "my-0.5": nestLabel && indicator === "dashed"
1242
- }
1255
+ "dl-chart-tooltip__indicator",
1256
+ indicator === "dot" && "dl-chart-tooltip__indicator--dot",
1257
+ indicator === "line" && "dl-chart-tooltip__indicator--line",
1258
+ indicator === "dashed" && "dl-chart-tooltip__indicator--dashed",
1259
+ nestLabel && indicator === "dashed" && "dl-chart-tooltip__indicator--nested"
1243
1260
  ),
1244
1261
  style: {
1245
1262
  "--color-bg": indicatorColor,
@@ -1247,19 +1264,19 @@ var ChartTooltipContent = React12.forwardRef(
1247
1264
  }
1248
1265
  }
1249
1266
  ),
1250
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1267
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1251
1268
  "div",
1252
1269
  {
1253
1270
  className: cn(
1254
- "flex flex-1 justify-between leading-none",
1255
- nestLabel ? "items-end" : "items-center"
1271
+ "dl-chart-tooltip__row",
1272
+ nestLabel && "dl-chart-tooltip__row--end"
1256
1273
  ),
1257
1274
  children: [
1258
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "grid gap-1.5", children: [
1275
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "dl-chart-tooltip__grid", children: [
1259
1276
  nestLabel ? tooltipLabel : null,
1260
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })
1277
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "dl-chart-tooltip__item-label", children: itemConfig?.label || item.name })
1261
1278
  ] }),
1262
- item.value && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
1279
+ item.value && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "dl-chart-tooltip__item-value", children: item.value.toLocaleString() })
1263
1280
  ]
1264
1281
  }
1265
1282
  )
@@ -1272,78 +1289,59 @@ var ChartTooltipContent = React12.forwardRef(
1272
1289
  }
1273
1290
  );
1274
1291
  ChartTooltipContent.displayName = "ChartTooltip";
1275
- var ChartLegend = RechartsPrimitive.Legend;
1276
- var ChartLegendContent = React12.forwardRef(
1292
+
1293
+ // src/components/chart/chart-legend.tsx
1294
+ var React16 = __toESM(require("react"), 1);
1295
+ var RechartsPrimitive3 = __toESM(require("recharts"), 1);
1296
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1297
+ var ChartLegend = RechartsPrimitive3.Legend;
1298
+ var ChartLegendContent = React16.forwardRef(
1277
1299
  ({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
1278
1300
  const { config } = useChart();
1279
1301
  if (!payload?.length) {
1280
1302
  return null;
1281
1303
  }
1282
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1304
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1283
1305
  "div",
1284
1306
  {
1285
1307
  ref,
1286
1308
  className: cn(
1287
1309
  "dl-chart-legend",
1288
- verticalAlign === "top" ? "pb-3" : "pt-3",
1310
+ verticalAlign === "top" ? "dl-chart-legend--top" : "dl-chart-legend--bottom",
1289
1311
  className
1290
1312
  ),
1291
1313
  children: payload.filter((item) => item.type !== "none").map((item) => {
1292
1314
  const key = `${nameKey || item.dataKey || "value"}`;
1293
1315
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
1294
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1295
- "div",
1296
- {
1297
- className: cn(
1298
- "flex items-center gap-1.5 [&>svg]:text-muted-foreground [&>svg]:size-3"
1299
- ),
1300
- children: [
1301
- itemConfig?.icon && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1302
- "div",
1303
- {
1304
- className: "shrink-0 rounded-xs size-2",
1305
- style: {
1306
- backgroundColor: item.color
1307
- }
1308
- }
1309
- ),
1310
- itemConfig?.label
1311
- ]
1312
- },
1313
- item.value
1314
- );
1316
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "dl-chart-legend__item", children: [
1317
+ itemConfig?.icon && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1318
+ "div",
1319
+ {
1320
+ className: "dl-chart-legend__indicator",
1321
+ style: { backgroundColor: item.color }
1322
+ }
1323
+ ),
1324
+ itemConfig?.label
1325
+ ] }, item.value);
1315
1326
  })
1316
1327
  }
1317
1328
  );
1318
1329
  }
1319
1330
  );
1320
1331
  ChartLegendContent.displayName = "ChartLegend";
1321
- function getPayloadConfigFromPayload(config, payload, key) {
1322
- if (typeof payload !== "object" || payload === null) {
1323
- return void 0;
1324
- }
1325
- const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
1326
- let configLabelKey = key;
1327
- if (key in payload && typeof payload[key] === "string") {
1328
- configLabelKey = payload[key];
1329
- } else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") {
1330
- configLabelKey = payloadPayload[key];
1331
- }
1332
- return configLabelKey in config ? config[configLabelKey] : config[key];
1333
- }
1334
1332
 
1335
1333
  // src/components/checkbox/checkbox.tsx
1336
- var React13 = __toESM(require("react"), 1);
1334
+ var React17 = __toESM(require("react"), 1);
1337
1335
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
1338
1336
  var import_lucide_react5 = require("lucide-react");
1339
- var import_jsx_runtime13 = require("react/jsx-runtime");
1340
- var Checkbox = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1337
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1338
+ var Checkbox = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1341
1339
  CheckboxPrimitive.Root,
1342
1340
  {
1343
1341
  ref,
1344
1342
  className: cn("dl-checkbox", className),
1345
1343
  ...props,
1346
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CheckboxPrimitive.Indicator, { className: "grid place-content-center text-current", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react5.Check, { style: { width: "0.75rem", height: "0.75rem" } }) })
1344
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CheckboxPrimitive.Indicator, { className: "dl-checkbox-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react5.Check, { className: "dl-checkbox-icon" }) })
1347
1345
  }
1348
1346
  ));
1349
1347
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -1355,20 +1353,20 @@ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
1355
1353
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
1356
1354
 
1357
1355
  // src/components/command/command.tsx
1358
- var React15 = __toESM(require("react"), 1);
1356
+ var React19 = __toESM(require("react"), 1);
1359
1357
  var import_cmdk = require("cmdk");
1360
1358
  var import_lucide_react7 = require("lucide-react");
1361
1359
 
1362
1360
  // src/components/dialog/dialog.tsx
1363
- var React14 = __toESM(require("react"), 1);
1361
+ var React18 = __toESM(require("react"), 1);
1364
1362
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
1365
1363
  var import_lucide_react6 = require("lucide-react");
1366
- var import_jsx_runtime14 = require("react/jsx-runtime");
1364
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1367
1365
  var Dialog = DialogPrimitive.Root;
1368
1366
  var DialogTrigger = DialogPrimitive.Trigger;
1369
1367
  var DialogPortal = DialogPrimitive.Portal;
1370
1368
  var DialogClose = DialogPrimitive.Close;
1371
- var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1369
+ var DialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1372
1370
  DialogPrimitive.Overlay,
1373
1371
  {
1374
1372
  ref,
@@ -1377,9 +1375,9 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1377
1375
  }
1378
1376
  ));
1379
1377
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1380
- var DialogContent = React14.forwardRef(({ className, children, size = "md", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DialogPortal, { children: [
1381
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DialogOverlay, {}),
1382
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1378
+ var DialogContent = React18.forwardRef(({ className, children, size = "md", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(DialogPortal, { children: [
1379
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DialogOverlay, {}),
1380
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1383
1381
  DialogPrimitive.Content,
1384
1382
  {
1385
1383
  ref,
@@ -1391,9 +1389,9 @@ var DialogContent = React14.forwardRef(({ className, children, size = "md", ...p
1391
1389
  ...props,
1392
1390
  children: [
1393
1391
  children,
1394
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DialogPrimitive.Close, { className: "dl-dialog-close", children: [
1395
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react6.X, {}),
1396
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "dl-dialog-sr-only", children: "Close" })
1392
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(DialogPrimitive.Close, { className: "dl-dialog-close", children: [
1393
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react6.X, {}),
1394
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "dl-dialog-sr-only", children: "Close" })
1397
1395
  ] })
1398
1396
  ]
1399
1397
  }
@@ -1403,19 +1401,19 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
1403
1401
  var DialogHeader = ({
1404
1402
  className,
1405
1403
  ...props
1406
- }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("dl-dialog__header", className), ...props });
1404
+ }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("dl-dialog__header", className), ...props });
1407
1405
  DialogHeader.displayName = "DialogHeader";
1408
1406
  var DialogBody = ({
1409
1407
  className,
1410
1408
  ...props
1411
- }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("dl-dialog__body", className), ...props });
1409
+ }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("dl-dialog__body", className), ...props });
1412
1410
  DialogBody.displayName = "DialogBody";
1413
1411
  var DialogFooter = ({
1414
1412
  className,
1415
1413
  ...props
1416
- }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("dl-dialog__footer", className), ...props });
1414
+ }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("dl-dialog__footer", className), ...props });
1417
1415
  DialogFooter.displayName = "DialogFooter";
1418
- var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1416
+ var DialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1419
1417
  DialogPrimitive.Title,
1420
1418
  {
1421
1419
  ref,
@@ -1424,7 +1422,7 @@ var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
1424
1422
  }
1425
1423
  ));
1426
1424
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1427
- var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1425
+ var DialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1428
1426
  DialogPrimitive.Description,
1429
1427
  {
1430
1428
  ref,
@@ -1435,8 +1433,8 @@ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /*
1435
1433
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1436
1434
 
1437
1435
  // src/components/command/command.tsx
1438
- var import_jsx_runtime15 = require("react/jsx-runtime");
1439
- var Command = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1436
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1437
+ var Command = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1440
1438
  import_cmdk.Command,
1441
1439
  {
1442
1440
  ref,
@@ -1446,11 +1444,11 @@ var Command = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1446
1444
  ));
1447
1445
  Command.displayName = import_cmdk.Command.displayName;
1448
1446
  var CommandDialog = ({ children, ...props }) => {
1449
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DialogContent, { className: "dl-command-dialog-content", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Command, { children }) }) });
1447
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DialogContent, { className: "dl-command-dialog-content", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Command, { children }) }) });
1450
1448
  };
1451
- var CommandInput = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "dl-command-input-wrapper", "cmdk-input-wrapper": "", children: [
1452
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react7.Search, { className: "dl-command-input-icon" }),
1453
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1449
+ var CommandInput = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "dl-command-input-wrapper", "cmdk-input-wrapper": "", children: [
1450
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react7.Search, { className: "dl-command-input-icon" }),
1451
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1454
1452
  import_cmdk.Command.Input,
1455
1453
  {
1456
1454
  ref,
@@ -1460,7 +1458,7 @@ var CommandInput = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
1460
1458
  )
1461
1459
  ] }));
1462
1460
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
1463
- var CommandList = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1461
+ var CommandList = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1464
1462
  import_cmdk.Command.List,
1465
1463
  {
1466
1464
  ref,
@@ -1469,9 +1467,9 @@ var CommandList = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1469
1467
  }
1470
1468
  ));
1471
1469
  CommandList.displayName = import_cmdk.Command.List.displayName;
1472
- var CommandEmpty = React15.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_cmdk.Command.Empty, { ref, className: "dl-command-empty", ...props }));
1470
+ var CommandEmpty = React19.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_cmdk.Command.Empty, { ref, className: "dl-command-empty", ...props }));
1473
1471
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
1474
- var CommandGroup = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1472
+ var CommandGroup = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1475
1473
  import_cmdk.Command.Group,
1476
1474
  {
1477
1475
  ref,
@@ -1480,7 +1478,7 @@ var CommandGroup = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
1480
1478
  }
1481
1479
  ));
1482
1480
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
1483
- var CommandSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1481
+ var CommandSeparator = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1484
1482
  import_cmdk.Command.Separator,
1485
1483
  {
1486
1484
  ref,
@@ -1489,7 +1487,7 @@ var CommandSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @
1489
1487
  }
1490
1488
  ));
1491
1489
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
1492
- var CommandItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1490
+ var CommandItem = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1493
1491
  import_cmdk.Command.Item,
1494
1492
  {
1495
1493
  ref,
@@ -1499,12 +1497,12 @@ var CommandItem = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
1499
1497
  ));
1500
1498
  CommandItem.displayName = import_cmdk.Command.Item.displayName;
1501
1499
  var CommandShortcut = ({ className, ...props }) => {
1502
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: cn("dl-command-shortcut", className), ...props });
1500
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: cn("dl-command-shortcut", className), ...props });
1503
1501
  };
1504
1502
  CommandShortcut.displayName = "CommandShortcut";
1505
1503
 
1506
1504
  // src/components/confirm-dialog/confirm-dialog.tsx
1507
- var import_jsx_runtime16 = require("react/jsx-runtime");
1505
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1508
1506
  function ConfirmDialog({
1509
1507
  open,
1510
1508
  onOpenChange,
@@ -1515,14 +1513,14 @@ function ConfirmDialog({
1515
1513
  cancelText = "Cancel",
1516
1514
  destructive = false
1517
1515
  }) {
1518
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(AlertDialogContent, { children: [
1519
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(AlertDialogHeader, { children: [
1520
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogTitle, { children: title }),
1521
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogDescription, { children: description })
1516
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogContent, { children: [
1517
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogHeader, { children: [
1518
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogTitle, { children: title }),
1519
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogDescription, { children: description })
1522
1520
  ] }),
1523
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(AlertDialogFooter, { children: [
1524
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogCancel, { children: cancelText }),
1525
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1521
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogFooter, { children: [
1522
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogCancel, { children: cancelText }),
1523
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1526
1524
  AlertDialogAction,
1527
1525
  {
1528
1526
  onClick: onConfirm,
@@ -1534,35 +1532,35 @@ function ConfirmDialog({
1534
1532
  ] }) });
1535
1533
  }
1536
1534
 
1537
- // src/components/context-menu/context-menu.tsx
1538
- var React16 = __toESM(require("react"), 1);
1535
+ // src/components/context-menu/context-menu-primitives.tsx
1536
+ var React20 = __toESM(require("react"), 1);
1539
1537
  var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"), 1);
1540
1538
  var import_lucide_react8 = require("lucide-react");
1541
- var import_jsx_runtime17 = require("react/jsx-runtime");
1539
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1542
1540
  var ContextMenu = ContextMenuPrimitive.Root;
1543
1541
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
1544
1542
  var ContextMenuGroup = ContextMenuPrimitive.Group;
1545
1543
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
1546
1544
  var ContextMenuSub = ContextMenuPrimitive.Sub;
1547
1545
  var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
1548
- var ContextMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1546
+ var ContextMenuSubTrigger = React20.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1549
1547
  ContextMenuPrimitive.SubTrigger,
1550
1548
  {
1551
1549
  ref,
1552
1550
  className: cn(
1553
1551
  "dl-menu-item dl-menu-sub-trigger",
1554
- inset && "pl-8",
1552
+ inset && "dl-menu-item--inset",
1555
1553
  className
1556
1554
  ),
1557
1555
  ...props,
1558
1556
  children: [
1559
1557
  children,
1560
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react8.ChevronRight, { className: "ml-auto size-4" })
1558
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react8.ChevronRight, { className: "dl-menu-item__chevron" })
1561
1559
  ]
1562
1560
  }
1563
1561
  ));
1564
1562
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
1565
- var ContextMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1563
+ var ContextMenuSubContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1566
1564
  ContextMenuPrimitive.SubContent,
1567
1565
  {
1568
1566
  ref,
@@ -1571,7 +1569,7 @@ var ContextMenuSubContent = React16.forwardRef(({ className, ...props }, ref) =>
1571
1569
  }
1572
1570
  ));
1573
1571
  ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
1574
- var ContextMenuContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1572
+ var ContextMenuContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1575
1573
  ContextMenuPrimitive.Content,
1576
1574
  {
1577
1575
  ref,
@@ -1580,80 +1578,86 @@ var ContextMenuContent = React16.forwardRef(({ className, ...props }, ref) => /*
1580
1578
  }
1581
1579
  ) }));
1582
1580
  ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
1583
- var ContextMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1584
- ContextMenuPrimitive.Item,
1581
+
1582
+ // src/components/context-menu/context-menu-items.tsx
1583
+ var React21 = __toESM(require("react"), 1);
1584
+ var ContextMenuPrimitive2 = __toESM(require("@radix-ui/react-context-menu"), 1);
1585
+ var import_lucide_react9 = require("lucide-react");
1586
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1587
+ var ContextMenuItem = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1588
+ ContextMenuPrimitive2.Item,
1585
1589
  {
1586
1590
  ref,
1587
- className: cn("dl-menu-item", inset && "pl-8", className),
1591
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
1588
1592
  ...props
1589
1593
  }
1590
1594
  ));
1591
- ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
1592
- var ContextMenuCheckboxItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1593
- ContextMenuPrimitive.CheckboxItem,
1595
+ ContextMenuItem.displayName = ContextMenuPrimitive2.Item.displayName;
1596
+ var ContextMenuCheckboxItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1597
+ ContextMenuPrimitive2.CheckboxItem,
1594
1598
  {
1595
1599
  ref,
1596
1600
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
1597
1601
  ...props,
1598
1602
  children: [
1599
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react8.Check, { className: "size-4" }) }) }),
1603
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ContextMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.Check, { className: "dl-menu-item__icon" }) }) }),
1600
1604
  children
1601
1605
  ]
1602
1606
  }
1603
1607
  ));
1604
- ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
1605
- var ContextMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
1606
- ContextMenuPrimitive.RadioItem,
1608
+ ContextMenuCheckboxItem.displayName = ContextMenuPrimitive2.CheckboxItem.displayName;
1609
+ var ContextMenuRadioItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1610
+ ContextMenuPrimitive2.RadioItem,
1607
1611
  {
1608
1612
  ref,
1609
1613
  className: cn("dl-menu-item dl-menu-radio-item", className),
1610
1614
  ...props,
1611
1615
  children: [
1612
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react8.Circle, { className: "fill-current size-2" }) }) }),
1616
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ContextMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.Circle, { className: "dl-menu-item__radio-dot" }) }) }),
1613
1617
  children
1614
1618
  ]
1615
1619
  }
1616
1620
  ));
1617
- ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
1618
- var ContextMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1619
- ContextMenuPrimitive.Label,
1621
+ ContextMenuRadioItem.displayName = ContextMenuPrimitive2.RadioItem.displayName;
1622
+ var ContextMenuLabel = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1623
+ ContextMenuPrimitive2.Label,
1620
1624
  {
1621
1625
  ref,
1622
- className: cn("dl-menu-label", inset && "pl-8", className),
1626
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
1623
1627
  ...props
1624
1628
  }
1625
1629
  ));
1626
- ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
1627
- var ContextMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1628
- ContextMenuPrimitive.Separator,
1630
+ ContextMenuLabel.displayName = ContextMenuPrimitive2.Label.displayName;
1631
+ var ContextMenuSeparator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1632
+ ContextMenuPrimitive2.Separator,
1629
1633
  {
1630
1634
  ref,
1631
1635
  className: cn("dl-menu-separator", className),
1632
1636
  ...props
1633
1637
  }
1634
1638
  ));
1635
- ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
1639
+ ContextMenuSeparator.displayName = ContextMenuPrimitive2.Separator.displayName;
1636
1640
  var ContextMenuShortcut = ({
1637
1641
  className,
1638
1642
  ...props
1639
1643
  }) => {
1640
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
1644
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
1641
1645
  };
1642
1646
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
1643
1647
 
1644
1648
  // src/components/date-picker/date-picker.tsx
1645
- var React18 = __toESM(require("react"), 1);
1649
+ var React23 = __toESM(require("react"), 1);
1646
1650
  var import_date_fns = require("date-fns");
1647
- var import_lucide_react9 = require("lucide-react");
1651
+ var import_lucide_react10 = require("lucide-react");
1648
1652
 
1649
1653
  // src/components/popover/popover.tsx
1650
- var React17 = __toESM(require("react"), 1);
1654
+ var React22 = __toESM(require("react"), 1);
1651
1655
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
1652
- var import_jsx_runtime18 = require("react/jsx-runtime");
1656
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1653
1657
  var Popover = PopoverPrimitive.Root;
1654
1658
  var PopoverTrigger = PopoverPrimitive.Trigger;
1655
1659
  var PopoverAnchor = PopoverPrimitive.Anchor;
1656
- var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1660
+ var PopoverContent = React22.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1657
1661
  PopoverPrimitive.Content,
1658
1662
  {
1659
1663
  ref,
@@ -1666,7 +1670,7 @@ var PopoverContent = React17.forwardRef(({ className, align = "center", sideOffs
1666
1670
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1667
1671
 
1668
1672
  // src/components/date-picker/date-picker.tsx
1669
- var import_jsx_runtime19 = require("react/jsx-runtime");
1673
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1670
1674
  function DatePicker({
1671
1675
  value,
1672
1676
  onChange,
@@ -1674,7 +1678,7 @@ function DatePicker({
1674
1678
  className,
1675
1679
  disabled
1676
1680
  }) {
1677
- const date = React18.useMemo(() => {
1681
+ const date = React23.useMemo(() => {
1678
1682
  if (!value) return void 0;
1679
1683
  const parts = value.split("-");
1680
1684
  if (parts.length !== 3) {
@@ -1686,8 +1690,8 @@ function DatePicker({
1686
1690
  const day = parseInt(parts[2], 10);
1687
1691
  return new Date(year, month, day, 12, 0, 0);
1688
1692
  }, [value]);
1689
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Popover, { children: [
1690
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1693
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(Popover, { children: [
1694
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1691
1695
  Button,
1692
1696
  {
1693
1697
  variant: "outline",
@@ -1699,12 +1703,12 @@ function DatePicker({
1699
1703
  className
1700
1704
  ),
1701
1705
  children: [
1702
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react9.Calendar, { className: "dl-date-picker-icon" }),
1703
- date && !isNaN(date.getTime()) ? (0, import_date_fns.format)(date, "PPP") : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { children: placeholder })
1706
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react10.Calendar, { className: "dl-date-picker-icon" }),
1707
+ date && !isNaN(date.getTime()) ? (0, import_date_fns.format)(date, "PPP") : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { children: placeholder })
1704
1708
  ]
1705
1709
  }
1706
1710
  ) }),
1707
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PopoverContent, { className: "dl-date-picker-content", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1711
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PopoverContent, { className: "dl-date-picker-content", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1708
1712
  Calendar,
1709
1713
  {
1710
1714
  mode: "single",
@@ -1717,13 +1721,13 @@ function DatePicker({
1717
1721
  }
1718
1722
 
1719
1723
  // src/components/drawer/drawer.tsx
1720
- var React19 = __toESM(require("react"), 1);
1724
+ var React24 = __toESM(require("react"), 1);
1721
1725
  var import_vaul = require("vaul");
1722
- var import_jsx_runtime20 = require("react/jsx-runtime");
1726
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1723
1727
  var Drawer = ({
1724
1728
  shouldScaleBackground = true,
1725
1729
  ...props
1726
- }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1730
+ }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1727
1731
  import_vaul.Drawer.Root,
1728
1732
  {
1729
1733
  shouldScaleBackground,
@@ -1734,7 +1738,7 @@ Drawer.displayName = "Drawer";
1734
1738
  var DrawerTrigger = import_vaul.Drawer.Trigger;
1735
1739
  var DrawerPortal = import_vaul.Drawer.Portal;
1736
1740
  var DrawerClose = import_vaul.Drawer.Close;
1737
- var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1741
+ var DrawerOverlay = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1738
1742
  import_vaul.Drawer.Overlay,
1739
1743
  {
1740
1744
  ref,
@@ -1743,16 +1747,16 @@ var DrawerOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__P
1743
1747
  }
1744
1748
  ));
1745
1749
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
1746
- var DrawerContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(DrawerPortal, { children: [
1747
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DrawerOverlay, {}),
1748
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1750
+ var DrawerContent = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DrawerPortal, { children: [
1751
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DrawerOverlay, {}),
1752
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1749
1753
  import_vaul.Drawer.Content,
1750
1754
  {
1751
1755
  ref,
1752
1756
  className: cn("dl-drawer-content", className),
1753
1757
  ...props,
1754
1758
  children: [
1755
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "dl-drawer-handle" }),
1759
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "dl-drawer-handle" }),
1756
1760
  children
1757
1761
  ]
1758
1762
  }
@@ -1762,14 +1766,14 @@ DrawerContent.displayName = "DrawerContent";
1762
1766
  var DrawerHeader = ({
1763
1767
  className,
1764
1768
  ...props
1765
- }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: cn("dl-drawer-header", className), ...props });
1769
+ }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cn("dl-drawer-header", className), ...props });
1766
1770
  DrawerHeader.displayName = "DrawerHeader";
1767
1771
  var DrawerFooter = ({
1768
1772
  className,
1769
1773
  ...props
1770
- }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: cn("dl-drawer-footer", className), ...props });
1774
+ }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cn("dl-drawer-footer", className), ...props });
1771
1775
  DrawerFooter.displayName = "DrawerFooter";
1772
- var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1776
+ var DrawerTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1773
1777
  import_vaul.Drawer.Title,
1774
1778
  {
1775
1779
  ref,
@@ -1778,7 +1782,7 @@ var DrawerTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PUR
1778
1782
  }
1779
1783
  ));
1780
1784
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
1781
- var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1785
+ var DrawerDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1782
1786
  import_vaul.Drawer.Description,
1783
1787
  {
1784
1788
  ref,
@@ -1788,40 +1792,35 @@ var DrawerDescription = React19.forwardRef(({ className, ...props }, ref) => /*
1788
1792
  ));
1789
1793
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
1790
1794
 
1791
- // src/components/dropdown-menu/dropdown-menu.tsx
1792
- var React20 = __toESM(require("react"), 1);
1795
+ // src/components/dropdown-menu/dropdown-menu-primitives.tsx
1796
+ var React25 = __toESM(require("react"), 1);
1793
1797
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
1794
- var import_lucide_react10 = require("lucide-react");
1795
- var import_jsx_runtime21 = require("react/jsx-runtime");
1798
+ var import_lucide_react11 = require("lucide-react");
1799
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1796
1800
  var DropdownMenu = DropdownMenuPrimitive.Root;
1797
1801
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1798
1802
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1799
1803
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1800
1804
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1801
1805
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1802
- var DropdownMenuSubTrigger = React20.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1806
+ var DropdownMenuSubTrigger = React25.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1803
1807
  DropdownMenuPrimitive.SubTrigger,
1804
1808
  {
1805
1809
  ref,
1806
1810
  className: cn(
1807
1811
  "dl-menu-item dl-menu-sub-trigger",
1808
- inset && "pl-8",
1812
+ inset && "dl-menu-item--inset",
1809
1813
  className
1810
1814
  ),
1811
1815
  ...props,
1812
1816
  children: [
1813
1817
  children,
1814
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1815
- import_lucide_react10.ChevronRight,
1816
- {
1817
- style: { marginLeft: "auto", width: "1rem", height: "1rem" }
1818
- }
1819
- )
1818
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react11.ChevronRight, { className: "dl-menu-item__chevron" })
1820
1819
  ]
1821
1820
  }
1822
1821
  ));
1823
1822
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1824
- var DropdownMenuSubContent = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1823
+ var DropdownMenuSubContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1825
1824
  DropdownMenuPrimitive.SubContent,
1826
1825
  {
1827
1826
  ref,
@@ -1830,7 +1829,7 @@ var DropdownMenuSubContent = React20.forwardRef(({ className, ...props }, ref) =
1830
1829
  }
1831
1830
  ));
1832
1831
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1833
- var DropdownMenuContent = React20.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1832
+ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1834
1833
  DropdownMenuPrimitive.Content,
1835
1834
  {
1836
1835
  ref,
@@ -1840,84 +1839,101 @@ var DropdownMenuContent = React20.forwardRef(({ className, sideOffset = 4, ...pr
1840
1839
  }
1841
1840
  ) }));
1842
1841
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1843
- var DropdownMenuItem = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1844
- DropdownMenuPrimitive.Item,
1842
+
1843
+ // src/components/dropdown-menu/dropdown-menu-items.tsx
1844
+ var React26 = __toESM(require("react"), 1);
1845
+ var DropdownMenuPrimitive2 = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
1846
+ var import_lucide_react12 = require("lucide-react");
1847
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1848
+ var DropdownMenuItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1849
+ DropdownMenuPrimitive2.Item,
1845
1850
  {
1846
1851
  ref,
1847
- className: cn("dl-menu-item", inset && "pl-8", className),
1852
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
1848
1853
  ...props
1849
1854
  }
1850
1855
  ));
1851
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1852
- var DropdownMenuCheckboxItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1853
- DropdownMenuPrimitive.CheckboxItem,
1856
+ DropdownMenuItem.displayName = DropdownMenuPrimitive2.Item.displayName;
1857
+ var DropdownMenuCheckboxItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1858
+ DropdownMenuPrimitive2.CheckboxItem,
1854
1859
  {
1855
1860
  ref,
1856
1861
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
1857
1862
  ...props,
1858
1863
  children: [
1859
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react10.Check, { style: { width: "1rem", height: "1rem" } }) }) }),
1864
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DropdownMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react12.Check, { className: "dl-menu-item__icon" }) }) }),
1860
1865
  children
1861
1866
  ]
1862
1867
  }
1863
1868
  ));
1864
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1865
- var DropdownMenuRadioItem = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1866
- DropdownMenuPrimitive.RadioItem,
1869
+ DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
1870
+ var DropdownMenuRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
1871
+ DropdownMenuPrimitive2.RadioItem,
1867
1872
  {
1868
1873
  ref,
1869
1874
  className: cn("dl-menu-item dl-menu-radio-item", className),
1870
1875
  ...props,
1871
1876
  children: [
1872
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1873
- import_lucide_react10.Circle,
1874
- {
1875
- style: { width: "0.5rem", height: "0.5rem", fill: "currentColor" }
1876
- }
1877
- ) }) }),
1877
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DropdownMenuPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react12.Circle, { className: "dl-menu-item__radio-dot" }) }) }),
1878
1878
  children
1879
1879
  ]
1880
1880
  }
1881
1881
  ));
1882
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1883
- var DropdownMenuLabel = React20.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1884
- DropdownMenuPrimitive.Label,
1882
+ DropdownMenuRadioItem.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
1883
+ var DropdownMenuLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1884
+ DropdownMenuPrimitive2.Label,
1885
1885
  {
1886
1886
  ref,
1887
- className: cn("dl-menu-label", inset && "pl-8", className),
1887
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
1888
1888
  ...props
1889
1889
  }
1890
1890
  ));
1891
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1892
- var DropdownMenuSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1893
- DropdownMenuPrimitive.Separator,
1891
+ DropdownMenuLabel.displayName = DropdownMenuPrimitive2.Label.displayName;
1892
+ var DropdownMenuSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1893
+ DropdownMenuPrimitive2.Separator,
1894
1894
  {
1895
1895
  ref,
1896
1896
  className: cn("dl-menu-separator", className),
1897
1897
  ...props
1898
1898
  }
1899
1899
  ));
1900
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1900
+ DropdownMenuSeparator.displayName = DropdownMenuPrimitive2.Separator.displayName;
1901
1901
  var DropdownMenuShortcut = ({
1902
1902
  className,
1903
1903
  ...props
1904
1904
  }) => {
1905
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
1905
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
1906
1906
  };
1907
1907
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1908
1908
 
1909
+ // src/components/empty-state/empty-state.tsx
1910
+ var React27 = __toESM(require("react"), 1);
1911
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1912
+ var EmptyState = React27.forwardRef(
1913
+ ({ title, description, icon, action, children, className, ...props }, ref) => {
1914
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { ref, className: cn("dl-empty-state", className), ...props, children: [
1915
+ icon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "dl-empty-state__icon-box", children: icon }),
1916
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("h3", { className: "dl-empty-state__title", children: title }),
1917
+ description && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "dl-empty-state__description", children: description }),
1918
+ children,
1919
+ action && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "dl-empty-state__actions", children: action })
1920
+ ] });
1921
+ }
1922
+ );
1923
+ EmptyState.displayName = "EmptyState";
1924
+
1909
1925
  // src/components/form/form.tsx
1910
- var React22 = __toESM(require("react"), 1);
1926
+ var React29 = __toESM(require("react"), 1);
1911
1927
  var import_react_slot3 = require("@radix-ui/react-slot");
1912
1928
  var import_react_hook_form = require("react-hook-form");
1913
1929
 
1914
1930
  // src/components/label/label.tsx
1915
- var React21 = __toESM(require("react"), 1);
1931
+ var React28 = __toESM(require("react"), 1);
1916
1932
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
1917
1933
  var import_class_variance_authority4 = require("class-variance-authority");
1918
- var import_jsx_runtime22 = require("react/jsx-runtime");
1934
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1919
1935
  var labelVariants = (0, import_class_variance_authority4.cva)("dl-label");
1920
- var Label3 = React21.forwardRef(({ className, children, required = false, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1936
+ var Label3 = React28.forwardRef(({ className, children, required = false, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1921
1937
  LabelPrimitive.Root,
1922
1938
  {
1923
1939
  ref,
@@ -1925,26 +1941,26 @@ var Label3 = React21.forwardRef(({ className, children, required = false, ...pro
1925
1941
  ...props,
1926
1942
  children: [
1927
1943
  children,
1928
- required && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "dl-label-required text-destructive ml-0.5", children: "*" })
1944
+ required && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "dl-label-required", children: "*" })
1929
1945
  ]
1930
1946
  }
1931
1947
  ));
1932
1948
  Label3.displayName = LabelPrimitive.Root.displayName;
1933
1949
 
1934
1950
  // src/components/form/form.tsx
1935
- var import_jsx_runtime23 = require("react/jsx-runtime");
1951
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1936
1952
  var Form = import_react_hook_form.FormProvider;
1937
- var FormFieldContext = React22.createContext(
1953
+ var FormFieldContext = React29.createContext(
1938
1954
  null
1939
1955
  );
1940
1956
  var FormField = ({
1941
1957
  ...props
1942
1958
  }) => {
1943
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_hook_form.Controller, { ...props }) });
1959
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_hook_form.Controller, { ...props }) });
1944
1960
  };
1945
1961
  var useFormField = () => {
1946
- const fieldContext = React22.useContext(FormFieldContext);
1947
- const itemContext = React22.useContext(FormItemContext);
1962
+ const fieldContext = React29.useContext(FormFieldContext);
1963
+ const itemContext = React29.useContext(FormItemContext);
1948
1964
  const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
1949
1965
  if (!fieldContext) {
1950
1966
  throw new Error("useFormField should be used within <FormField>");
@@ -1963,15 +1979,15 @@ var useFormField = () => {
1963
1979
  ...fieldState
1964
1980
  };
1965
1981
  };
1966
- var FormItemContext = React22.createContext(null);
1967
- var FormItem = React22.forwardRef(({ className, ...props }, ref) => {
1968
- const id = React22.useId();
1969
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ref, className: cn("dl-form-item", className), ...props }) });
1982
+ var FormItemContext = React29.createContext(null);
1983
+ var FormItem = React29.forwardRef(({ className, ...props }, ref) => {
1984
+ const id = React29.useId();
1985
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ref, className: cn("dl-form-item", className), ...props }) });
1970
1986
  });
1971
1987
  FormItem.displayName = "FormItem";
1972
- var FormLabel = React22.forwardRef(({ className, ...props }, ref) => {
1988
+ var FormLabel = React29.forwardRef(({ className, ...props }, ref) => {
1973
1989
  const { error, formItemId } = useFormField();
1974
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1990
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1975
1991
  Label3,
1976
1992
  {
1977
1993
  ref,
@@ -1982,9 +1998,9 @@ var FormLabel = React22.forwardRef(({ className, ...props }, ref) => {
1982
1998
  );
1983
1999
  });
1984
2000
  FormLabel.displayName = "FormLabel";
1985
- var FormControl = React22.forwardRef(({ ...props }, ref) => {
2001
+ var FormControl = React29.forwardRef(({ ...props }, ref) => {
1986
2002
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1987
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2003
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1988
2004
  import_react_slot3.Slot,
1989
2005
  {
1990
2006
  ref,
@@ -1996,9 +2012,9 @@ var FormControl = React22.forwardRef(({ ...props }, ref) => {
1996
2012
  );
1997
2013
  });
1998
2014
  FormControl.displayName = "FormControl";
1999
- var FormDescription = React22.forwardRef(({ className, ...props }, ref) => {
2015
+ var FormDescription = React29.forwardRef(({ className, ...props }, ref) => {
2000
2016
  const { formDescriptionId } = useFormField();
2001
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2017
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2002
2018
  "p",
2003
2019
  {
2004
2020
  ref,
@@ -2009,13 +2025,13 @@ var FormDescription = React22.forwardRef(({ className, ...props }, ref) => {
2009
2025
  );
2010
2026
  });
2011
2027
  FormDescription.displayName = "FormDescription";
2012
- var FormMessage = React22.forwardRef(({ className, children, ...props }, ref) => {
2028
+ var FormMessage = React29.forwardRef(({ className, children, ...props }, ref) => {
2013
2029
  const { error, formMessageId } = useFormField();
2014
2030
  const body = error ? String(error?.message ?? "") : children;
2015
2031
  if (!body) {
2016
2032
  return null;
2017
2033
  }
2018
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2034
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2019
2035
  "p",
2020
2036
  {
2021
2037
  ref,
@@ -2029,12 +2045,12 @@ var FormMessage = React22.forwardRef(({ className, children, ...props }, ref) =>
2029
2045
  FormMessage.displayName = "FormMessage";
2030
2046
 
2031
2047
  // src/components/hover-card/hover-card.tsx
2032
- var React23 = __toESM(require("react"), 1);
2048
+ var React30 = __toESM(require("react"), 1);
2033
2049
  var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
2034
- var import_jsx_runtime24 = require("react/jsx-runtime");
2050
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2035
2051
  var HoverCard = HoverCardPrimitive.Root;
2036
2052
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
2037
- var HoverCardContent = React23.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2053
+ var HoverCardContent = React30.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2038
2054
  HoverCardPrimitive.Content,
2039
2055
  {
2040
2056
  ref,
@@ -2047,11 +2063,11 @@ var HoverCardContent = React23.forwardRef(({ className, align = "center", sideOf
2047
2063
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
2048
2064
 
2049
2065
  // src/components/input/input.tsx
2050
- var React24 = __toESM(require("react"), 1);
2051
- var import_jsx_runtime25 = require("react/jsx-runtime");
2052
- var Input = React24.forwardRef(
2066
+ var React31 = __toESM(require("react"), 1);
2067
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2068
+ var Input = React31.forwardRef(
2053
2069
  ({ className, type, startIcon, endIcon, ...props }, ref) => {
2054
- const inputEl = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2070
+ const inputEl = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2055
2071
  "input",
2056
2072
  {
2057
2073
  type,
@@ -2068,21 +2084,21 @@ var Input = React24.forwardRef(
2068
2084
  if (!startIcon && !endIcon) {
2069
2085
  return inputEl;
2070
2086
  }
2071
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "dl-input-wrapper", children: [
2072
- startIcon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "dl-input-icon dl-input-icon--start", children: startIcon }),
2087
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "dl-input-wrapper", children: [
2088
+ startIcon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "dl-input-icon dl-input-icon--start", children: startIcon }),
2073
2089
  inputEl,
2074
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "dl-input-icon dl-input-icon--end", children: endIcon })
2090
+ endIcon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "dl-input-icon dl-input-icon--end", children: endIcon })
2075
2091
  ] });
2076
2092
  }
2077
2093
  );
2078
2094
  Input.displayName = "Input";
2079
2095
 
2080
2096
  // src/components/input-otp/input-otp.tsx
2081
- var React25 = __toESM(require("react"), 1);
2097
+ var React32 = __toESM(require("react"), 1);
2082
2098
  var import_input_otp = require("input-otp");
2083
- var import_lucide_react11 = require("lucide-react");
2084
- var import_jsx_runtime26 = require("react/jsx-runtime");
2085
- var InputOTP = React25.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2099
+ var import_lucide_react13 = require("lucide-react");
2100
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2101
+ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2086
2102
  import_input_otp.OTPInput,
2087
2103
  {
2088
2104
  ref,
@@ -2092,16 +2108,16 @@ var InputOTP = React25.forwardRef(({ className, containerClassName, ...props },
2092
2108
  }
2093
2109
  ));
2094
2110
  InputOTP.displayName = "InputOTP";
2095
- var InputOTPGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref, className: cn("dl-input-otp-group", className), ...props }));
2111
+ var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { ref, className: cn("dl-input-otp-group", className), ...props }));
2096
2112
  InputOTPGroup.displayName = "InputOTPGroup";
2097
- var InputOTPSlot = React25.forwardRef(({ index, className, ...props }, ref) => {
2098
- const inputOTPContext = React25.useContext(import_input_otp.OTPInputContext);
2113
+ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
2114
+ const inputOTPContext = React32.useContext(import_input_otp.OTPInputContext);
2099
2115
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index] ?? {
2100
2116
  char: null,
2101
2117
  hasFakeCaret: false,
2102
2118
  isActive: false
2103
2119
  };
2104
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2120
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2105
2121
  "div",
2106
2122
  {
2107
2123
  ref,
@@ -2113,23 +2129,23 @@ var InputOTPSlot = React25.forwardRef(({ index, className, ...props }, ref) => {
2113
2129
  ...props,
2114
2130
  children: [
2115
2131
  char,
2116
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "dl-input-otp-caret", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "dl-input-otp-caret__line" }) })
2132
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "dl-input-otp-caret", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "dl-input-otp-caret__line" }) })
2117
2133
  ]
2118
2134
  }
2119
2135
  );
2120
2136
  });
2121
2137
  InputOTPSlot.displayName = "InputOTPSlot";
2122
- var InputOTPSeparator = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react11.Minus, {}) }));
2138
+ var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react13.Minus, {}) }));
2123
2139
  InputOTPSeparator.displayName = "InputOTPSeparator";
2124
2140
 
2125
2141
  // src/components/skeleton/skeleton.tsx
2126
- var import_jsx_runtime27 = require("react/jsx-runtime");
2142
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2127
2143
  function Skeleton({ className, ...props }) {
2128
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: cn("dl-skeleton", className), ...props });
2144
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: cn("dl-skeleton", className), ...props });
2129
2145
  }
2130
2146
 
2131
2147
  // src/components/loading-state/loading-state.tsx
2132
- var import_jsx_runtime28 = require("react/jsx-runtime");
2148
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2133
2149
  function LoadingState({
2134
2150
  rows = 3,
2135
2151
  message,
@@ -2137,8 +2153,8 @@ function LoadingState({
2137
2153
  ...props
2138
2154
  }) {
2139
2155
  if (message) {
2140
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: cn("dl-loading", className), ...props, children: [
2141
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2156
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("dl-loading", className), ...props, children: [
2157
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2142
2158
  "svg",
2143
2159
  {
2144
2160
  xmlns: "http://www.w3.org/2000/svg",
@@ -2150,49 +2166,39 @@ function LoadingState({
2150
2166
  strokeWidth: "2",
2151
2167
  strokeLinecap: "round",
2152
2168
  strokeLinejoin: "round",
2153
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2169
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2154
2170
  }
2155
2171
  ),
2156
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { children: message })
2172
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: message })
2157
2173
  ] });
2158
2174
  }
2159
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: cn("dl-loading-skeleton", className), ...props, children: [
2160
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Skeleton, { style: { height: "2rem", width: "33.333%" } }),
2161
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "dl-loading-skeleton__list", children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2162
- Skeleton,
2163
- {
2164
- style: {
2165
- height: "4rem",
2166
- width: "100%",
2167
- borderRadius: "var(--radius-lg, 0.75rem)"
2168
- }
2169
- },
2170
- i
2171
- )) })
2175
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("dl-loading-skeleton", className), ...props, children: [
2176
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Skeleton, { className: "dl-loading-skeleton__header" }),
2177
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "dl-loading-skeleton__list", children: Array.from({ length: rows }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Skeleton, { className: "dl-loading-skeleton__row" }, i)) })
2172
2178
  ] });
2173
2179
  }
2174
2180
 
2175
- // src/components/menubar/menubar.tsx
2176
- var React26 = __toESM(require("react"), 1);
2181
+ // src/components/menubar/menubar-primitives.tsx
2182
+ var React33 = __toESM(require("react"), 1);
2177
2183
  var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
2178
- var import_lucide_react12 = require("lucide-react");
2179
- var import_jsx_runtime29 = require("react/jsx-runtime");
2184
+ var import_lucide_react14 = require("lucide-react");
2185
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2180
2186
  function MenubarMenu(props) {
2181
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.Menu, { ...props });
2187
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.Menu, { ...props });
2182
2188
  }
2183
2189
  function MenubarGroup(props) {
2184
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.Group, { ...props });
2190
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.Group, { ...props });
2185
2191
  }
2186
2192
  function MenubarPortal(props) {
2187
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.Portal, { ...props });
2193
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.Portal, { ...props });
2188
2194
  }
2189
2195
  function MenubarRadioGroup(props) {
2190
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.RadioGroup, { ...props });
2196
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.RadioGroup, { ...props });
2191
2197
  }
2192
2198
  function MenubarSub(props) {
2193
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
2199
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
2194
2200
  }
2195
- var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2201
+ var Menubar = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2196
2202
  MenubarPrimitive.Root,
2197
2203
  {
2198
2204
  ref,
@@ -2201,7 +2207,7 @@ var Menubar = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2201
2207
  }
2202
2208
  ));
2203
2209
  Menubar.displayName = MenubarPrimitive.Root.displayName;
2204
- var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2210
+ var MenubarTrigger = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2205
2211
  MenubarPrimitive.Trigger,
2206
2212
  {
2207
2213
  ref,
@@ -2210,24 +2216,24 @@ var MenubarTrigger = React26.forwardRef(({ className, ...props }, ref) => /* @__
2210
2216
  }
2211
2217
  ));
2212
2218
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
2213
- var MenubarSubTrigger = React26.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2219
+ var MenubarSubTrigger = React33.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2214
2220
  MenubarPrimitive.SubTrigger,
2215
2221
  {
2216
2222
  ref,
2217
2223
  className: cn(
2218
2224
  "dl-menu-item dl-menu-sub-trigger",
2219
- inset && "pl-8",
2225
+ inset && "dl-menu-item--inset",
2220
2226
  className
2221
2227
  ),
2222
2228
  ...props,
2223
2229
  children: [
2224
2230
  children,
2225
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react12.ChevronRight, { className: "ml-auto size-4" })
2231
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react14.ChevronRight, { className: "dl-menu-item__chevron" })
2226
2232
  ]
2227
2233
  }
2228
2234
  ));
2229
2235
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
2230
- var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2236
+ var MenubarSubContent = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2231
2237
  MenubarPrimitive.SubContent,
2232
2238
  {
2233
2239
  ref,
@@ -2236,8 +2242,8 @@ var MenubarSubContent = React26.forwardRef(({ className, ...props }, ref) => /*
2236
2242
  }
2237
2243
  ));
2238
2244
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
2239
- var MenubarContent = React26.forwardRef(
2240
- ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2245
+ var MenubarContent = React33.forwardRef(
2246
+ ({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2241
2247
  MenubarPrimitive.Content,
2242
2248
  {
2243
2249
  ref,
@@ -2250,72 +2256,81 @@ var MenubarContent = React26.forwardRef(
2250
2256
  ) })
2251
2257
  );
2252
2258
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
2253
- var MenubarItem = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2254
- MenubarPrimitive.Item,
2259
+
2260
+ // src/components/menubar/menubar-items.tsx
2261
+ var React34 = __toESM(require("react"), 1);
2262
+ var MenubarPrimitive2 = __toESM(require("@radix-ui/react-menubar"), 1);
2263
+ var import_lucide_react15 = require("lucide-react");
2264
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2265
+ var MenubarItem = React34.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2266
+ MenubarPrimitive2.Item,
2255
2267
  {
2256
2268
  ref,
2257
- className: cn("dl-menu-item", inset && "pl-8", className),
2269
+ className: cn("dl-menu-item", inset && "dl-menu-item--inset", className),
2258
2270
  ...props
2259
2271
  }
2260
2272
  ));
2261
- MenubarItem.displayName = MenubarPrimitive.Item.displayName;
2262
- var MenubarCheckboxItem = React26.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2263
- MenubarPrimitive.CheckboxItem,
2273
+ MenubarItem.displayName = MenubarPrimitive2.Item.displayName;
2274
+ var MenubarCheckboxItem = React34.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2275
+ MenubarPrimitive2.CheckboxItem,
2264
2276
  {
2265
2277
  ref,
2266
2278
  className: cn("dl-menu-item dl-menu-checkbox-item", className),
2267
2279
  checked,
2268
2280
  ...props,
2269
2281
  children: [
2270
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react12.Check, { className: "size-4" }) }) }),
2282
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "dl-menu-checkbox-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(MenubarPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react15.Check, { className: "dl-menu-item__icon" }) }) }),
2271
2283
  children
2272
2284
  ]
2273
2285
  }
2274
2286
  ));
2275
- MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
2276
- var MenubarRadioItem = React26.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2277
- MenubarPrimitive.RadioItem,
2287
+ MenubarCheckboxItem.displayName = MenubarPrimitive2.CheckboxItem.displayName;
2288
+ var MenubarRadioItem = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2289
+ MenubarPrimitive2.RadioItem,
2278
2290
  {
2279
2291
  ref,
2280
2292
  className: cn("dl-menu-item dl-menu-radio-item", className),
2281
2293
  ...props,
2282
2294
  children: [
2283
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react12.Circle, { className: "fill-current size-2" }) }) }),
2295
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "dl-menu-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(MenubarPrimitive2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react15.Circle, { className: "dl-menu-item__radio-dot" }) }) }),
2284
2296
  children
2285
2297
  ]
2286
2298
  }
2287
2299
  ));
2288
- MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
2289
- var MenubarLabel = React26.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2290
- MenubarPrimitive.Label,
2300
+ MenubarRadioItem.displayName = MenubarPrimitive2.RadioItem.displayName;
2301
+ var MenubarLabel = React34.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2302
+ MenubarPrimitive2.Label,
2291
2303
  {
2292
2304
  ref,
2293
- className: cn("dl-menu-label", inset && "pl-8", className),
2305
+ className: cn("dl-menu-label", inset && "dl-menu-label--inset", className),
2294
2306
  ...props
2295
2307
  }
2296
2308
  ));
2297
- MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
2298
- var MenubarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2299
- MenubarPrimitive.Separator,
2309
+ MenubarLabel.displayName = MenubarPrimitive2.Label.displayName;
2310
+ var MenubarSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2311
+ MenubarPrimitive2.Separator,
2300
2312
  {
2301
2313
  ref,
2302
2314
  className: cn("dl-menu-separator", className),
2303
2315
  ...props
2304
2316
  }
2305
2317
  ));
2306
- MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;
2307
- var MenubarShortcut = ({ className, ...props }) => {
2308
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
2318
+ MenubarSeparator.displayName = MenubarPrimitive2.Separator.displayName;
2319
+ var MenubarShortcut = ({
2320
+ className,
2321
+ ...props
2322
+ }) => {
2323
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: cn("dl-menu-shortcut", className), ...props });
2309
2324
  };
2310
2325
  MenubarShortcut.displayName = "MenubarShortcut";
2311
2326
 
2312
2327
  // src/components/navigation-menu/navigation-menu.tsx
2313
- var React27 = __toESM(require("react"), 1);
2328
+ var React35 = __toESM(require("react"), 1);
2314
2329
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
2315
2330
  var import_class_variance_authority5 = require("class-variance-authority");
2316
- var import_lucide_react13 = require("lucide-react");
2317
- var import_jsx_runtime30 = require("react/jsx-runtime");
2318
- var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2331
+ var import_lucide_react16 = require("lucide-react");
2332
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2333
+ var NavigationMenu = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2319
2334
  NavigationMenuPrimitive.Root,
2320
2335
  {
2321
2336
  ref,
@@ -2323,12 +2338,12 @@ var NavigationMenu = React27.forwardRef(({ className, children, ...props }, ref)
2323
2338
  ...props,
2324
2339
  children: [
2325
2340
  children,
2326
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(NavigationMenuViewport, {})
2341
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(NavigationMenuViewport, {})
2327
2342
  ]
2328
2343
  }
2329
2344
  ));
2330
2345
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
2331
- var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2346
+ var NavigationMenuList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2332
2347
  NavigationMenuPrimitive.List,
2333
2348
  {
2334
2349
  ref,
@@ -2339,7 +2354,7 @@ var NavigationMenuList = React27.forwardRef(({ className, ...props }, ref) => /*
2339
2354
  NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
2340
2355
  var NavigationMenuItem = NavigationMenuPrimitive.Item;
2341
2356
  var navigationMenuTriggerStyle = (0, import_class_variance_authority5.cva)("dl-navigation-menu-trigger");
2342
- var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2357
+ var NavigationMenuTrigger = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2343
2358
  NavigationMenuPrimitive.Trigger,
2344
2359
  {
2345
2360
  ref,
@@ -2348,12 +2363,12 @@ var NavigationMenuTrigger = React27.forwardRef(({ className, children, ...props
2348
2363
  children: [
2349
2364
  children,
2350
2365
  " ",
2351
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react13.ChevronDown, { className: "dl-navigation-menu-chevron", "aria-hidden": "true" })
2366
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react16.ChevronDown, { className: "dl-navigation-menu-chevron", "aria-hidden": "true" })
2352
2367
  ]
2353
2368
  }
2354
2369
  ));
2355
2370
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
2356
- var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2371
+ var NavigationMenuContent = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2357
2372
  NavigationMenuPrimitive.Content,
2358
2373
  {
2359
2374
  ref,
@@ -2363,7 +2378,7 @@ var NavigationMenuContent = React27.forwardRef(({ className, ...props }, ref) =>
2363
2378
  ));
2364
2379
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
2365
2380
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
2366
- var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "dl-navigation-menu-viewport-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2381
+ var NavigationMenuViewport = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "dl-navigation-menu-viewport-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2367
2382
  NavigationMenuPrimitive.Viewport,
2368
2383
  {
2369
2384
  className: cn("dl-navigation-menu-viewport", className),
@@ -2372,22 +2387,22 @@ var NavigationMenuViewport = React27.forwardRef(({ className, ...props }, ref) =
2372
2387
  }
2373
2388
  ) }));
2374
2389
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
2375
- var NavigationMenuIndicator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2390
+ var NavigationMenuIndicator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2376
2391
  NavigationMenuPrimitive.Indicator,
2377
2392
  {
2378
2393
  ref,
2379
2394
  className: cn("dl-navigation-menu-indicator", className),
2380
2395
  ...props,
2381
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "dl-navigation-menu-indicator__arrow" })
2396
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "dl-navigation-menu-indicator__arrow" })
2382
2397
  }
2383
2398
  ));
2384
2399
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
2385
2400
 
2386
2401
  // src/components/pagination/pagination.tsx
2387
- var React28 = __toESM(require("react"), 1);
2388
- var import_lucide_react14 = require("lucide-react");
2389
- var import_jsx_runtime31 = require("react/jsx-runtime");
2390
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2402
+ var React36 = __toESM(require("react"), 1);
2403
+ var import_lucide_react17 = require("lucide-react");
2404
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2405
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2391
2406
  "nav",
2392
2407
  {
2393
2408
  role: "navigation",
@@ -2397,10 +2412,10 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_run
2397
2412
  }
2398
2413
  );
2399
2414
  Pagination.displayName = "Pagination";
2400
- var PaginationContent = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("ul", { ref, className: cn("dl-pagination-content", className), ...props }));
2415
+ var PaginationContent = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("ul", { ref, className: cn("dl-pagination-content", className), ...props }));
2401
2416
  PaginationContent.displayName = "PaginationContent";
2402
- var PaginationItem = React28.forwardRef(
2403
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("li", { ref, className: cn("dl-pagination-item", className), ...props })
2417
+ var PaginationItem = React36.forwardRef(
2418
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("li", { ref, className: cn("dl-pagination-item", className), ...props })
2404
2419
  );
2405
2420
  PaginationItem.displayName = "PaginationItem";
2406
2421
  var PaginationLink = ({
@@ -2408,7 +2423,7 @@ var PaginationLink = ({
2408
2423
  isActive,
2409
2424
  size = "icon",
2410
2425
  ...props
2411
- }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2426
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2412
2427
  "a",
2413
2428
  {
2414
2429
  "aria-current": isActive ? "page" : void 0,
@@ -2426,7 +2441,7 @@ PaginationLink.displayName = "PaginationLink";
2426
2441
  var PaginationPrevious = ({
2427
2442
  className,
2428
2443
  ...props
2429
- }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2444
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2430
2445
  PaginationLink,
2431
2446
  {
2432
2447
  "aria-label": "Go to previous page",
@@ -2434,13 +2449,13 @@ var PaginationPrevious = ({
2434
2449
  className: cn("dl-pagination-prev", className),
2435
2450
  ...props,
2436
2451
  children: [
2437
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronLeft, { className: "size-4" }),
2438
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { children: "Previous" })
2452
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react17.ChevronLeft, { className: "dl-pagination-icon" }),
2453
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: "Previous" })
2439
2454
  ]
2440
2455
  }
2441
2456
  );
2442
2457
  PaginationPrevious.displayName = "PaginationPrevious";
2443
- var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2458
+ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2444
2459
  PaginationLink,
2445
2460
  {
2446
2461
  "aria-label": "Go to next page",
@@ -2448,8 +2463,8 @@ var PaginationNext = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx
2448
2463
  className: cn("dl-pagination-next", className),
2449
2464
  ...props,
2450
2465
  children: [
2451
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { children: "Next" }),
2452
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronRight, { className: "size-4" })
2466
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: "Next" }),
2467
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react17.ChevronRight, { className: "dl-pagination-icon" })
2453
2468
  ]
2454
2469
  }
2455
2470
  );
@@ -2457,29 +2472,29 @@ PaginationNext.displayName = "PaginationNext";
2457
2472
  var PaginationEllipsis = ({
2458
2473
  className,
2459
2474
  ...props
2460
- }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2475
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2461
2476
  "span",
2462
2477
  {
2463
2478
  "aria-hidden": true,
2464
2479
  className: cn("dl-pagination-ellipsis", className),
2465
2480
  ...props,
2466
2481
  children: [
2467
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.MoreHorizontal, {}),
2468
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "More pages" })
2482
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react17.MoreHorizontal, {}),
2483
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "sr-only", children: "More pages" })
2469
2484
  ]
2470
2485
  }
2471
2486
  );
2472
2487
  PaginationEllipsis.displayName = "PaginationEllipsis";
2473
2488
 
2474
2489
  // src/components/panel/panel.tsx
2475
- var React29 = __toESM(require("react"), 1);
2476
- var import_jsx_runtime32 = require("react/jsx-runtime");
2477
- var Panel = React29.forwardRef(
2490
+ var React37 = __toESM(require("react"), 1);
2491
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2492
+ var Panel = React37.forwardRef(
2478
2493
  ({ title, meta, children, className, ...props }, ref) => {
2479
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("section", { ref, className: cn("dl-panel", className), ...props, children: [
2480
- title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "dl-panel__header", children: [
2481
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("h2", { className: "dl-panel__title", children: title }),
2482
- meta ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "dl-panel__meta", children: meta }) : null
2494
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("section", { ref, className: cn("dl-panel", className), ...props, children: [
2495
+ title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "dl-panel__header", children: [
2496
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("h2", { className: "dl-panel__title", children: title }),
2497
+ meta ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "dl-panel__meta", children: meta }) : null
2483
2498
  ] }) : null,
2484
2499
  children
2485
2500
  ] });
@@ -2488,16 +2503,16 @@ var Panel = React29.forwardRef(
2488
2503
  Panel.displayName = "Panel";
2489
2504
 
2490
2505
  // src/components/progress/progress.tsx
2491
- var React30 = __toESM(require("react"), 1);
2506
+ var React38 = __toESM(require("react"), 1);
2492
2507
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
2493
- var import_jsx_runtime33 = require("react/jsx-runtime");
2494
- var Progress = React30.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2508
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2509
+ var Progress = React38.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2495
2510
  ProgressPrimitive.Root,
2496
2511
  {
2497
2512
  ref,
2498
2513
  className: cn("dl-progress", className),
2499
2514
  ...props,
2500
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2515
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2501
2516
  ProgressPrimitive.Indicator,
2502
2517
  {
2503
2518
  className: "dl-progress__indicator",
@@ -2509,12 +2524,12 @@ var Progress = React30.forwardRef(({ className, value, ...props }, ref) => /* @_
2509
2524
  Progress.displayName = ProgressPrimitive.Root.displayName;
2510
2525
 
2511
2526
  // src/components/radio-group/radio-group.tsx
2512
- var React31 = __toESM(require("react"), 1);
2527
+ var React39 = __toESM(require("react"), 1);
2513
2528
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
2514
- var import_lucide_react15 = require("lucide-react");
2515
- var import_jsx_runtime34 = require("react/jsx-runtime");
2516
- var RadioGroup4 = React31.forwardRef(({ className, ...props }, ref) => {
2517
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2529
+ var import_lucide_react18 = require("lucide-react");
2530
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2531
+ var RadioGroup4 = React39.forwardRef(({ className, ...props }, ref) => {
2532
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2518
2533
  RadioGroupPrimitive.Root,
2519
2534
  {
2520
2535
  className: cn("dl-radio-group", className),
@@ -2524,88 +2539,83 @@ var RadioGroup4 = React31.forwardRef(({ className, ...props }, ref) => {
2524
2539
  );
2525
2540
  });
2526
2541
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
2527
- var RadioGroupItem = React31.forwardRef(({ className, ...props }, ref) => {
2528
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2542
+ var RadioGroupItem = React39.forwardRef(({ className, ...props }, ref) => {
2543
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2529
2544
  RadioGroupPrimitive.Item,
2530
2545
  {
2531
2546
  ref,
2532
2547
  className: cn("dl-radio-item", className),
2533
2548
  ...props,
2534
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(RadioGroupPrimitive.Indicator, { className: "dl-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.Circle, { "aria-hidden": "true" }) })
2549
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(RadioGroupPrimitive.Indicator, { className: "dl-radio-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react18.Circle, { "aria-hidden": "true" }) })
2535
2550
  }
2536
2551
  );
2537
2552
  });
2538
2553
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
2539
2554
 
2540
2555
  // src/components/resizable/resizable.tsx
2541
- var import_lucide_react16 = require("lucide-react");
2556
+ var import_lucide_react19 = require("lucide-react");
2542
2557
  var import_react_resizable_panels = require("react-resizable-panels");
2543
- var import_jsx_runtime35 = require("react/jsx-runtime");
2558
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2544
2559
  var ResizablePanelGroup = ({
2545
2560
  className,
2546
2561
  ...props
2547
- }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_resizable_panels.Group, { className: cn("dl-resizable-group", className), ...props });
2562
+ }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_resizable_panels.Group, { className: cn("dl-resizable-group", className), ...props });
2548
2563
  var ResizablePanel = import_react_resizable_panels.Panel;
2549
2564
  var ResizableHandle = ({
2550
2565
  withHandle,
2551
2566
  className,
2552
2567
  ...props
2553
- }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react_resizable_panels.Separator, { className: cn("dl-resizable-handle", className), ...props, children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "dl-resizable-grip", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.GripVertical, {}) }) });
2568
+ }) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react_resizable_panels.Separator, { className: cn("dl-resizable-handle", className), ...props, children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "dl-resizable-grip", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react19.GripVertical, {}) }) });
2554
2569
 
2555
2570
  // src/components/scroll-area/scroll-area.tsx
2556
- var React32 = __toESM(require("react"), 1);
2571
+ var React40 = __toESM(require("react"), 1);
2557
2572
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
2558
- var import_jsx_runtime36 = require("react/jsx-runtime");
2559
- var ScrollArea = React32.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2573
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2574
+ var ScrollArea = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
2560
2575
  ScrollAreaPrimitive.Root,
2561
2576
  {
2562
2577
  ref,
2563
2578
  className: cn("dl-scroll-area", className),
2564
2579
  ...props,
2565
2580
  children: [
2566
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ScrollAreaPrimitive.Viewport, { className: "dl-scroll-area__viewport", children }),
2567
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ScrollBar, {}),
2568
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ScrollAreaPrimitive.Corner, {})
2581
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScrollAreaPrimitive.Viewport, { className: "dl-scroll-area__viewport", children }),
2582
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScrollBar, {}),
2583
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScrollAreaPrimitive.Corner, {})
2569
2584
  ]
2570
2585
  }
2571
2586
  ));
2572
2587
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
2573
- var ScrollBar = React32.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2588
+ var ScrollBar = React40.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2574
2589
  ScrollAreaPrimitive.ScrollAreaScrollbar,
2575
2590
  {
2576
2591
  ref,
2577
2592
  orientation,
2578
2593
  className: cn("dl-scroll-area__bar", className),
2579
2594
  ...props,
2580
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "dl-scroll-area__thumb" })
2595
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "dl-scroll-area__thumb" })
2581
2596
  }
2582
2597
  ));
2583
2598
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2584
2599
 
2585
2600
  // src/components/searchable-select/searchable-select.tsx
2586
- var React33 = __toESM(require("react"), 1);
2587
- var import_lucide_react17 = require("lucide-react");
2588
- var import_jsx_runtime37 = require("react/jsx-runtime");
2589
- function SearchableSelect({
2601
+ var import_lucide_react20 = require("lucide-react");
2602
+
2603
+ // src/components/searchable-select/use-searchable-select.ts
2604
+ var React41 = __toESM(require("react"), 1);
2605
+ function useSearchableSelect({
2590
2606
  options,
2591
2607
  value,
2592
2608
  onChange,
2593
- placeholder = "Select an option...",
2594
- searchPlaceholder = "Search...",
2595
- onAddNew,
2596
- addNewLabel = "Add new",
2597
- disabled = false,
2598
- className,
2599
- id
2609
+ onAddNew
2600
2610
  }) {
2601
- const [open, setOpen] = React33.useState(false);
2602
- const [search, setSearch] = React33.useState("");
2603
- const [highlightedIndex, setHighlightedIndex] = React33.useState(0);
2604
- const listRef = React33.useRef(null);
2605
- const selectedOption = React33.useMemo(() => {
2611
+ const [open, setOpen] = React41.useState(false);
2612
+ const [search, setSearch] = React41.useState("");
2613
+ const [highlightedIndex, setHighlightedIndex] = React41.useState(0);
2614
+ const listRef = React41.useRef(null);
2615
+ const selectedOption = React41.useMemo(() => {
2606
2616
  return options.find((opt) => opt.value === value);
2607
2617
  }, [options, value]);
2608
- const filteredOptions = React33.useMemo(() => {
2618
+ const filteredOptions = React41.useMemo(() => {
2609
2619
  if (!search.trim()) return options;
2610
2620
  const q = search.toLowerCase();
2611
2621
  return options.filter(
@@ -2625,7 +2635,7 @@ function SearchableSelect({
2625
2635
  setSearch(q);
2626
2636
  setHighlightedIndex(0);
2627
2637
  };
2628
- React33.useEffect(() => {
2638
+ React41.useEffect(() => {
2629
2639
  if (open && listRef.current) {
2630
2640
  const activeEl = listRef.current.querySelector(
2631
2641
  "[data-highlighted='true']"
@@ -2635,7 +2645,7 @@ function SearchableSelect({
2635
2645
  }
2636
2646
  }
2637
2647
  }, [highlightedIndex, open]);
2638
- const groupedOptions = React33.useMemo(() => {
2648
+ const groupedOptions = React41.useMemo(() => {
2639
2649
  const hasGroups = filteredOptions.some((opt) => opt.group);
2640
2650
  if (!hasGroups) return { Default: filteredOptions };
2641
2651
  return filteredOptions.reduce(
@@ -2692,9 +2702,55 @@ function SearchableSelect({
2692
2702
  break;
2693
2703
  }
2694
2704
  };
2705
+ return {
2706
+ open,
2707
+ search,
2708
+ highlightedIndex,
2709
+ setHighlightedIndex,
2710
+ listRef,
2711
+ selectedOption,
2712
+ filteredOptions,
2713
+ groupedOptions,
2714
+ handleOpenChange,
2715
+ handleSearchChange,
2716
+ handleSelect,
2717
+ handleAddNew,
2718
+ handleKeyDown
2719
+ };
2720
+ }
2721
+
2722
+ // src/components/searchable-select/searchable-select.tsx
2723
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2724
+ function SearchableSelect({
2725
+ options,
2726
+ value,
2727
+ onChange,
2728
+ placeholder = "Select an option...",
2729
+ searchPlaceholder = "Search...",
2730
+ onAddNew,
2731
+ addNewLabel = "Add new",
2732
+ disabled = false,
2733
+ className,
2734
+ id
2735
+ }) {
2736
+ const {
2737
+ open,
2738
+ search,
2739
+ highlightedIndex,
2740
+ setHighlightedIndex,
2741
+ listRef,
2742
+ selectedOption,
2743
+ filteredOptions,
2744
+ groupedOptions,
2745
+ handleOpenChange,
2746
+ handleSearchChange,
2747
+ handleSelect,
2748
+ handleAddNew,
2749
+ handleKeyDown
2750
+ } = useSearchableSelect({ options, value, onChange, onAddNew });
2695
2751
  let currentIndex = 0;
2696
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Popover, { open, onOpenChange: handleOpenChange, children: [
2697
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2752
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Popover, { open, onOpenChange: handleOpenChange, children: [
2753
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2698
2754
  Button,
2699
2755
  {
2700
2756
  id,
@@ -2709,21 +2765,21 @@ function SearchableSelect({
2709
2765
  className
2710
2766
  ),
2711
2767
  children: [
2712
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "truncate", children: selectedOption ? selectedOption.label : placeholder }),
2713
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react17.ChevronDown, { className: "dl-select-icon" })
2768
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "dl-searchable-select-truncate", children: selectedOption ? selectedOption.label : placeholder }),
2769
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react20.ChevronDown, { className: "dl-select-icon" })
2714
2770
  ]
2715
2771
  }
2716
2772
  ) }),
2717
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2773
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2718
2774
  PopoverContent,
2719
2775
  {
2720
2776
  align: "start",
2721
2777
  className: "dl-searchable-select-content",
2722
2778
  onKeyDown: handleKeyDown,
2723
2779
  children: [
2724
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "dl-searchable-select-search", children: [
2725
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react17.Search, { className: "dl-searchable-select-search-icon" }),
2726
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2780
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "dl-searchable-select-search", children: [
2781
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react20.Search, { className: "dl-searchable-select-search-icon" }),
2782
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2727
2783
  Input,
2728
2784
  {
2729
2785
  placeholder: searchPlaceholder,
@@ -2734,19 +2790,19 @@ function SearchableSelect({
2734
2790
  }
2735
2791
  )
2736
2792
  ] }),
2737
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2793
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2738
2794
  "div",
2739
2795
  {
2740
2796
  ref: listRef,
2741
2797
  onWheel: (e) => e.stopPropagation(),
2742
2798
  className: "dl-searchable-select-list",
2743
- children: Object.keys(groupedOptions).length === 0 || filteredOptions.length === 0 && !onAddNew ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "dl-searchable-select-empty", children: "No matching options found." }) : Object.entries(groupedOptions).map(([groupName, groupOpts]) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "py-1", children: [
2744
- groupName !== "Default" && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "dl-searchable-select-group-header", children: groupName }),
2799
+ children: Object.keys(groupedOptions).length === 0 || filteredOptions.length === 0 && !onAddNew ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "dl-searchable-select-empty", children: "No matching options found." }) : Object.entries(groupedOptions).map(([groupName, groupOpts]) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "dl-searchable-select-group", children: [
2800
+ groupName !== "Default" && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "dl-searchable-select-group-header", children: groupName }),
2745
2801
  groupOpts.map((option) => {
2746
2802
  const isSelected = option.value === value;
2747
2803
  const itemIndex = currentIndex++;
2748
2804
  const isHighlighted = itemIndex === highlightedIndex;
2749
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2805
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2750
2806
  "div",
2751
2807
  {
2752
2808
  "data-highlighted": isHighlighted,
@@ -2758,8 +2814,8 @@ function SearchableSelect({
2758
2814
  isSelected && !isHighlighted && "dl-searchable-select-item--selected"
2759
2815
  ),
2760
2816
  children: [
2761
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "flex-1 truncate", children: option.label }),
2762
- isSelected && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react17.Check, { className: "dl-select-check" })
2817
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "dl-searchable-select-item-text", children: option.label }),
2818
+ isSelected && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react20.Check, { className: "dl-select-check" })
2763
2819
  ]
2764
2820
  },
2765
2821
  option.value
@@ -2768,15 +2824,15 @@ function SearchableSelect({
2768
2824
  ] }, groupName))
2769
2825
  }
2770
2826
  ),
2771
- onAddNew && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "dl-searchable-select-add", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2827
+ onAddNew && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "dl-searchable-select-add", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2772
2828
  "button",
2773
2829
  {
2774
2830
  type: "button",
2775
2831
  onClick: handleAddNew,
2776
2832
  className: "dl-searchable-select-add-btn",
2777
2833
  children: [
2778
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react17.Plus, { className: "size-3.5 shrink-0" }),
2779
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "truncate", children: search.trim() ? `${addNewLabel} "${search.trim()}"` : addNewLabel })
2834
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react20.Plus, { className: "dl-searchable-select-add-icon" }),
2835
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "dl-searchable-select-truncate", children: search.trim() ? `${addNewLabel} "${search.trim()}"` : addNewLabel })
2780
2836
  ]
2781
2837
  }
2782
2838
  ) })
@@ -2787,14 +2843,14 @@ function SearchableSelect({
2787
2843
  }
2788
2844
 
2789
2845
  // src/components/select/select.tsx
2790
- var React34 = __toESM(require("react"), 1);
2846
+ var React42 = __toESM(require("react"), 1);
2791
2847
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
2792
- var import_lucide_react18 = require("lucide-react");
2793
- var import_jsx_runtime38 = require("react/jsx-runtime");
2848
+ var import_lucide_react21 = require("lucide-react");
2849
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2794
2850
  var Select = SelectPrimitive.Root;
2795
2851
  var SelectGroup = SelectPrimitive.Group;
2796
2852
  var SelectValue = SelectPrimitive.Value;
2797
- var SelectTrigger = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2853
+ var SelectTrigger = React42.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2798
2854
  SelectPrimitive.Trigger,
2799
2855
  {
2800
2856
  ref,
@@ -2802,32 +2858,32 @@ var SelectTrigger = React34.forwardRef(({ className, children, ...props }, ref)
2802
2858
  ...props,
2803
2859
  children: [
2804
2860
  children,
2805
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.ChevronDown, { style: { opacity: 0.5, width: "1rem", height: "1rem" } }) })
2861
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react21.ChevronDown, {}) })
2806
2862
  ]
2807
2863
  }
2808
2864
  ));
2809
2865
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2810
- var SelectScrollUpButton = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2866
+ var SelectScrollUpButton = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2811
2867
  SelectPrimitive.ScrollUpButton,
2812
2868
  {
2813
2869
  ref,
2814
2870
  className: cn("dl-select-scroll-btn", className),
2815
2871
  ...props,
2816
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.ChevronUp, { style: { width: "1rem", height: "1rem" } })
2872
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react21.ChevronUp, {})
2817
2873
  }
2818
2874
  ));
2819
2875
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2820
- var SelectScrollDownButton = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2876
+ var SelectScrollDownButton = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2821
2877
  SelectPrimitive.ScrollDownButton,
2822
2878
  {
2823
2879
  ref,
2824
2880
  className: cn("dl-select-scroll-btn", className),
2825
2881
  ...props,
2826
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.ChevronDown, { style: { width: "1rem", height: "1rem" } })
2882
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react21.ChevronDown, {})
2827
2883
  }
2828
2884
  ));
2829
2885
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2830
- var SelectContent = React34.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2886
+ var SelectContent = React42.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2831
2887
  SelectPrimitive.Content,
2832
2888
  {
2833
2889
  ref,
@@ -2835,14 +2891,14 @@ var SelectContent = React34.forwardRef(({ className, children, position = "poppe
2835
2891
  position,
2836
2892
  ...props,
2837
2893
  children: [
2838
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectScrollUpButton, {}),
2839
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectPrimitive.Viewport, { className: "dl-select-viewport", children }),
2840
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectScrollDownButton, {})
2894
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectScrollUpButton, {}),
2895
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.Viewport, { className: "dl-select-viewport", children }),
2896
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectScrollDownButton, {})
2841
2897
  ]
2842
2898
  }
2843
2899
  ) }));
2844
2900
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2845
- var SelectLabel = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2901
+ var SelectLabel = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2846
2902
  SelectPrimitive.Label,
2847
2903
  {
2848
2904
  ref,
@@ -2851,20 +2907,20 @@ var SelectLabel = React34.forwardRef(({ className, ...props }, ref) => /* @__PUR
2851
2907
  }
2852
2908
  ));
2853
2909
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2854
- var SelectItem = React34.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2910
+ var SelectItem = React42.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
2855
2911
  SelectPrimitive.Item,
2856
2912
  {
2857
2913
  ref,
2858
2914
  className: cn("dl-select-item", className),
2859
2915
  ...props,
2860
2916
  children: [
2861
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "dl-select-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.Check, { style: { width: "0.75rem", height: "0.75rem" } }) }) }),
2862
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SelectPrimitive.ItemText, { children })
2917
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "dl-select-item__indicator", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react21.Check, {}) }) }),
2918
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectPrimitive.ItemText, { children })
2863
2919
  ]
2864
2920
  }
2865
2921
  ));
2866
2922
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2867
- var SelectSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2923
+ var SelectSeparator = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2868
2924
  SelectPrimitive.Separator,
2869
2925
  {
2870
2926
  ref,
@@ -2875,11 +2931,11 @@ var SelectSeparator = React34.forwardRef(({ className, ...props }, ref) => /* @_
2875
2931
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2876
2932
 
2877
2933
  // src/components/separator/separator.tsx
2878
- var React35 = __toESM(require("react"), 1);
2934
+ var React43 = __toESM(require("react"), 1);
2879
2935
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
2880
- var import_jsx_runtime39 = require("react/jsx-runtime");
2881
- var Separator6 = React35.forwardRef(
2882
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2936
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2937
+ var Separator6 = React43.forwardRef(
2938
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2883
2939
  SeparatorPrimitive.Root,
2884
2940
  {
2885
2941
  ref,
@@ -2893,16 +2949,16 @@ var Separator6 = React35.forwardRef(
2893
2949
  Separator6.displayName = SeparatorPrimitive.Root.displayName;
2894
2950
 
2895
2951
  // src/components/sheet/sheet.tsx
2896
- var React36 = __toESM(require("react"), 1);
2952
+ var React44 = __toESM(require("react"), 1);
2897
2953
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
2898
2954
  var import_class_variance_authority6 = require("class-variance-authority");
2899
- var import_lucide_react19 = require("lucide-react");
2900
- var import_jsx_runtime40 = require("react/jsx-runtime");
2955
+ var import_lucide_react22 = require("lucide-react");
2956
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2901
2957
  var Sheet = SheetPrimitive.Root;
2902
2958
  var SheetTrigger = SheetPrimitive.Trigger;
2903
2959
  var SheetClose = SheetPrimitive.Close;
2904
2960
  var SheetPortal = SheetPrimitive.Portal;
2905
- var SheetOverlay = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2961
+ var SheetOverlay = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2906
2962
  SheetPrimitive.Overlay,
2907
2963
  {
2908
2964
  className: cn("dl-dialog-overlay", className),
@@ -2924,9 +2980,9 @@ var sheetVariants = (0, import_class_variance_authority6.cva)("dl-sheet-content"
2924
2980
  side: "right"
2925
2981
  }
2926
2982
  });
2927
- var SheetContent = React36.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(SheetPortal, { children: [
2928
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SheetOverlay, {}),
2929
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2983
+ var SheetContent = React44.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SheetPortal, { children: [
2984
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SheetOverlay, {}),
2985
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
2930
2986
  SheetPrimitive.Content,
2931
2987
  {
2932
2988
  ref,
@@ -2934,9 +2990,9 @@ var SheetContent = React36.forwardRef(({ side = "right", className, children, ..
2934
2990
  "data-side": side,
2935
2991
  ...props,
2936
2992
  children: [
2937
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(SheetPrimitive.Close, { className: "dl-sheet-close", children: [
2938
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react19.X, { style: { width: "1rem", height: "1rem" } }),
2939
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "sr-only", children: "Close" })
2993
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SheetPrimitive.Close, { className: "dl-sheet-close", children: [
2994
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react22.X, {}),
2995
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "sr-only", children: "Close" })
2940
2996
  ] }),
2941
2997
  children
2942
2998
  ]
@@ -2947,14 +3003,14 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
2947
3003
  var SheetHeader = ({
2948
3004
  className,
2949
3005
  ...props
2950
- }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("dl-sheet__header", className), ...props });
3006
+ }) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: cn("dl-sheet__header", className), ...props });
2951
3007
  SheetHeader.displayName = "SheetHeader";
2952
3008
  var SheetFooter = ({
2953
3009
  className,
2954
3010
  ...props
2955
- }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("dl-sheet__footer", className), ...props });
3011
+ }) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: cn("dl-sheet__footer", className), ...props });
2956
3012
  SheetFooter.displayName = "SheetFooter";
2957
- var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3013
+ var SheetTitle = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2958
3014
  SheetPrimitive.Title,
2959
3015
  {
2960
3016
  ref,
@@ -2963,7 +3019,7 @@ var SheetTitle = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE
2963
3019
  }
2964
3020
  ));
2965
3021
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
2966
- var SheetDescription = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3022
+ var SheetDescription = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2967
3023
  SheetPrimitive.Description,
2968
3024
  {
2969
3025
  ref,
@@ -2973,20 +3029,17 @@ var SheetDescription = React36.forwardRef(({ className, ...props }, ref) => /* @
2973
3029
  ));
2974
3030
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
2975
3031
 
2976
- // src/components/sidebar/sidebar.tsx
2977
- var React38 = __toESM(require("react"), 1);
2978
- var import_react_slot4 = require("@radix-ui/react-slot");
2979
- var import_class_variance_authority7 = require("class-variance-authority");
2980
- var import_lucide_react20 = require("lucide-react");
3032
+ // src/components/sidebar/sidebar-context.tsx
3033
+ var React46 = __toESM(require("react"), 1);
2981
3034
 
2982
3035
  // src/components/tooltip/tooltip.tsx
2983
- var React37 = __toESM(require("react"), 1);
3036
+ var React45 = __toESM(require("react"), 1);
2984
3037
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
2985
- var import_jsx_runtime41 = require("react/jsx-runtime");
3038
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2986
3039
  var TooltipProvider = TooltipPrimitive.Provider;
2987
3040
  var Tooltip2 = TooltipPrimitive.Root;
2988
3041
  var TooltipTrigger = TooltipPrimitive.Trigger;
2989
- var TooltipContent = React37.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3042
+ var TooltipContent = React45.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2990
3043
  TooltipPrimitive.Content,
2991
3044
  {
2992
3045
  ref,
@@ -2997,23 +3050,25 @@ var TooltipContent = React37.forwardRef(({ className, sideOffset = 4, ...props }
2997
3050
  ) }));
2998
3051
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2999
3052
 
3000
- // src/components/sidebar/sidebar.tsx
3001
- var import_jsx_runtime42 = require("react/jsx-runtime");
3053
+ // src/components/sidebar/sidebar-context.tsx
3054
+ var import_jsx_runtime49 = require("react/jsx-runtime");
3002
3055
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
3003
3056
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
3004
3057
  var SIDEBAR_WIDTH = "16rem";
3005
3058
  var SIDEBAR_WIDTH_MOBILE = "18rem";
3006
3059
  var SIDEBAR_WIDTH_ICON = "3rem";
3007
3060
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
3008
- var SidebarContext = React38.createContext(null);
3061
+ var SidebarContext = React46.createContext(
3062
+ null
3063
+ );
3009
3064
  function useSidebar() {
3010
- const context = React38.useContext(SidebarContext);
3065
+ const context = React46.useContext(SidebarContext);
3011
3066
  if (!context) {
3012
3067
  throw new Error("useSidebar must be used within a SidebarProvider.");
3013
3068
  }
3014
3069
  return context;
3015
3070
  }
3016
- var SidebarProvider = React38.forwardRef(
3071
+ var SidebarProvider = React46.forwardRef(
3017
3072
  ({
3018
3073
  defaultOpen = true,
3019
3074
  open: openProp,
@@ -3024,10 +3079,10 @@ var SidebarProvider = React38.forwardRef(
3024
3079
  ...props
3025
3080
  }, ref) => {
3026
3081
  const isMobile = useIsMobile();
3027
- const [openMobile, setOpenMobile] = React38.useState(false);
3028
- const [_open, _setOpen] = React38.useState(defaultOpen);
3082
+ const [openMobile, setOpenMobile] = React46.useState(false);
3083
+ const [_open, _setOpen] = React46.useState(defaultOpen);
3029
3084
  const open = openProp ?? _open;
3030
- const setOpen = React38.useCallback(
3085
+ const setOpen = React46.useCallback(
3031
3086
  (value) => {
3032
3087
  const openState = typeof value === "function" ? value(open) : value;
3033
3088
  if (setOpenProp) {
@@ -3039,10 +3094,10 @@ var SidebarProvider = React38.forwardRef(
3039
3094
  },
3040
3095
  [setOpenProp, open]
3041
3096
  );
3042
- const toggleSidebar = React38.useCallback(() => {
3043
- return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
3097
+ const toggleSidebar = React46.useCallback(() => {
3098
+ return isMobile ? setOpenMobile((prev) => !prev) : setOpen((prev) => !prev);
3044
3099
  }, [isMobile, setOpen, setOpenMobile]);
3045
- React38.useEffect(() => {
3100
+ React46.useEffect(() => {
3046
3101
  const handleKeyDown = (event) => {
3047
3102
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
3048
3103
  event.preventDefault();
@@ -3053,7 +3108,7 @@ var SidebarProvider = React38.forwardRef(
3053
3108
  return () => window.removeEventListener("keydown", handleKeyDown);
3054
3109
  }, [toggleSidebar]);
3055
3110
  const state = open ? "expanded" : "collapsed";
3056
- const contextValue = React38.useMemo(
3111
+ const contextValue = React46.useMemo(
3057
3112
  () => ({
3058
3113
  state,
3059
3114
  open,
@@ -3073,7 +3128,7 @@ var SidebarProvider = React38.forwardRef(
3073
3128
  toggleSidebar
3074
3129
  ]
3075
3130
  );
3076
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3131
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3077
3132
  "div",
3078
3133
  {
3079
3134
  style: {
@@ -3081,10 +3136,7 @@ var SidebarProvider = React38.forwardRef(
3081
3136
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
3082
3137
  ...style
3083
3138
  },
3084
- className: cn(
3085
- "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
3086
- className
3087
- ),
3139
+ className: cn("dl-sidebar-wrapper", className),
3088
3140
  ref,
3089
3141
  ...props,
3090
3142
  children
@@ -3093,7 +3145,11 @@ var SidebarProvider = React38.forwardRef(
3093
3145
  }
3094
3146
  );
3095
3147
  SidebarProvider.displayName = "SidebarProvider";
3096
- var Sidebar = React38.forwardRef(
3148
+
3149
+ // src/components/sidebar/sidebar-layout.tsx
3150
+ var React47 = __toESM(require("react"), 1);
3151
+ var import_jsx_runtime50 = require("react/jsx-runtime");
3152
+ var Sidebar = React47.forwardRef(
3097
3153
  ({
3098
3154
  side = "left",
3099
3155
  variant = "sidebar",
@@ -3104,13 +3160,10 @@ var Sidebar = React38.forwardRef(
3104
3160
  }, ref) => {
3105
3161
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
3106
3162
  if (collapsible === "none") {
3107
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3163
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3108
3164
  "div",
3109
3165
  {
3110
- className: cn(
3111
- "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
3112
- className
3113
- ),
3166
+ className: cn("dl-sidebar dl-sidebar--static", className),
3114
3167
  ref,
3115
3168
  ...props,
3116
3169
  children
@@ -3118,315 +3171,196 @@ var Sidebar = React38.forwardRef(
3118
3171
  );
3119
3172
  }
3120
3173
  if (isMobile) {
3121
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3174
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3122
3175
  SheetContent,
3123
3176
  {
3124
3177
  "data-sidebar": "sidebar",
3125
3178
  "data-mobile": "true",
3126
- className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
3179
+ className: "dl-sidebar-mobile [&>button]:hidden",
3127
3180
  style: {
3128
3181
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
3129
3182
  },
3130
3183
  side,
3131
3184
  children: [
3132
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(SheetHeader, { className: "sr-only", children: [
3133
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SheetTitle, { children: "Sidebar" }),
3134
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
3185
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(SheetHeader, { className: "sr-only", children: [
3186
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SheetTitle, { children: "Sidebar" }),
3187
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
3135
3188
  ] }),
3136
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex flex-col size-full", children })
3189
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "dl-sidebar-mobile-content", children })
3137
3190
  ]
3138
3191
  }
3139
3192
  ) });
3140
3193
  }
3141
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3194
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
3142
3195
  "div",
3143
3196
  {
3144
3197
  ref,
3145
- className: "group peer hidden text-sidebar-foreground md:block",
3198
+ className: cn("dl-sidebar", className),
3146
3199
  "data-state": state,
3147
3200
  "data-collapsible": state === "collapsed" ? collapsible : "",
3148
3201
  "data-variant": variant,
3149
3202
  "data-side": side,
3150
3203
  children: [
3151
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3152
- "div",
3153
- {
3154
- className: cn(
3155
- "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
3156
- "group-data-[collapsible=offcanvas]:w-0",
3157
- "group-data-[side=right]:rotate-180",
3158
- variant === "floating" || variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
3159
- )
3160
- }
3161
- ),
3162
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3163
- "div",
3164
- {
3165
- className: cn(
3166
- "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
3167
- side === "left" ? "left-0 group-data-[collapsible=offcanvas]:-left-(--sidebar-width)" : "right-0 group-data-[collapsible=offcanvas]:-right-(--sidebar-width)",
3168
- // Adjust the padding for floating and inset variants.
3169
- 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",
3170
- className
3171
- ),
3172
- ...props,
3173
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3174
- "div",
3175
- {
3176
- "data-sidebar": "sidebar",
3177
- 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",
3178
- children
3179
- }
3180
- )
3181
- }
3182
- )
3204
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "dl-sidebar-desktop-spacer" }),
3205
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "dl-sidebar-fixed", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { "data-sidebar": "sidebar", className: "dl-sidebar-inner", children }) })
3183
3206
  ]
3184
3207
  }
3185
3208
  );
3186
3209
  }
3187
3210
  );
3188
3211
  Sidebar.displayName = "Sidebar";
3189
- var SidebarTrigger = React38.forwardRef(({ className, onClick, ...props }, ref) => {
3212
+ var SidebarRail = React47.forwardRef(({ className, ...props }, ref) => {
3190
3213
  const { toggleSidebar } = useSidebar();
3191
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3192
- Button,
3214
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3215
+ "button",
3193
3216
  {
3194
3217
  ref,
3195
- "data-sidebar": "trigger",
3196
- variant: "ghost",
3197
- size: "icon",
3198
- className: cn("size-7", className),
3199
- onClick: (event) => {
3200
- onClick?.(event);
3201
- toggleSidebar();
3202
- },
3203
- ...props,
3204
- children: [
3205
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.PanelLeft, {}),
3206
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
3207
- ]
3218
+ "data-sidebar": "rail",
3219
+ "aria-label": "Toggle Sidebar",
3220
+ tabIndex: -1,
3221
+ onClick: toggleSidebar,
3222
+ title: "Toggle Sidebar",
3223
+ className: cn("dl-sidebar-rail", className),
3224
+ ...props
3208
3225
  }
3209
3226
  );
3210
3227
  });
3211
- SidebarTrigger.displayName = "SidebarTrigger";
3212
- var SidebarRail = React38.forwardRef(
3213
- ({ className, ...props }, ref) => {
3214
- const { toggleSidebar } = useSidebar();
3215
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3216
- "button",
3217
- {
3218
- ref,
3219
- "data-sidebar": "rail",
3220
- "aria-label": "Toggle Sidebar",
3221
- tabIndex: -1,
3222
- onClick: toggleSidebar,
3223
- title: "Toggle Sidebar",
3224
- className: cn(
3225
- "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",
3226
- "in-data-[side=right]:cursor-e-resize",
3227
- "[[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
3228
- "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar",
3229
- "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
3230
- "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
3231
- className
3232
- ),
3233
- ...props
3234
- }
3235
- );
3236
- }
3237
- );
3238
3228
  SidebarRail.displayName = "SidebarRail";
3239
- var SidebarInset = React38.forwardRef(
3240
- ({ className, ...props }, ref) => {
3241
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3242
- "main",
3243
- {
3244
- ref,
3245
- className: cn(
3246
- "relative flex w-full flex-1 flex-col bg-background",
3247
- "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",
3248
- className
3249
- ),
3250
- ...props
3251
- }
3252
- );
3253
- }
3229
+ var SidebarInset = React47.forwardRef(
3230
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("main", { ref, className: cn("dl-sidebar-inset", className), ...props })
3254
3231
  );
3255
3232
  SidebarInset.displayName = "SidebarInset";
3256
- var SidebarInput = React38.forwardRef(({ className, ...props }, ref) => {
3257
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3258
- Input,
3259
- {
3260
- ref,
3261
- "data-sidebar": "input",
3262
- className: cn("dl-sidebar-input", className),
3263
- ...props
3264
- }
3265
- );
3266
- });
3267
- SidebarInput.displayName = "SidebarInput";
3268
- var SidebarHeader = React38.forwardRef(
3269
- ({ className, ...props }, ref) => {
3270
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3271
- "div",
3272
- {
3273
- ref,
3274
- "data-sidebar": "header",
3275
- className: cn("flex flex-col gap-2 p-2", className),
3276
- ...props
3277
- }
3278
- );
3233
+ var SidebarHeader = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3234
+ "div",
3235
+ {
3236
+ ref,
3237
+ "data-sidebar": "header",
3238
+ className: cn("dl-sidebar-header", className),
3239
+ ...props
3279
3240
  }
3280
- );
3241
+ ));
3281
3242
  SidebarHeader.displayName = "SidebarHeader";
3282
- var SidebarFooter = React38.forwardRef(
3283
- ({ className, ...props }, ref) => {
3284
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3285
- "div",
3286
- {
3287
- ref,
3288
- "data-sidebar": "footer",
3289
- className: cn("flex flex-col gap-2 p-2", className),
3290
- ...props
3291
- }
3292
- );
3243
+ var SidebarFooter = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3244
+ "div",
3245
+ {
3246
+ ref,
3247
+ "data-sidebar": "footer",
3248
+ className: cn("dl-sidebar-footer", className),
3249
+ ...props
3293
3250
  }
3294
- );
3251
+ ));
3295
3252
  SidebarFooter.displayName = "SidebarFooter";
3296
- var SidebarSeparator = React38.forwardRef(({ className, ...props }, ref) => {
3297
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3298
- Separator6,
3299
- {
3300
- ref,
3301
- "data-sidebar": "separator",
3302
- className: cn("mx-2 w-auto bg-sidebar-border", className),
3303
- ...props
3304
- }
3305
- );
3306
- });
3307
- SidebarSeparator.displayName = "SidebarSeparator";
3308
- var SidebarContent = React38.forwardRef(
3309
- ({ className, ...props }, ref) => {
3310
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3311
- "div",
3312
- {
3313
- ref,
3314
- "data-sidebar": "content",
3315
- className: cn(
3316
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto",
3317
- className
3318
- ),
3319
- ...props
3320
- }
3321
- );
3253
+ var SidebarContent = React47.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3254
+ "div",
3255
+ {
3256
+ ref,
3257
+ "data-sidebar": "content",
3258
+ className: cn("dl-sidebar-content", className),
3259
+ ...props
3322
3260
  }
3323
- );
3261
+ ));
3324
3262
  SidebarContent.displayName = "SidebarContent";
3325
- var SidebarGroup = React38.forwardRef(
3263
+
3264
+ // src/components/sidebar/sidebar-group.tsx
3265
+ var React48 = __toESM(require("react"), 1);
3266
+ var import_react_slot4 = require("@radix-ui/react-slot");
3267
+ var import_jsx_runtime51 = require("react/jsx-runtime");
3268
+ var SidebarGroup = React48.forwardRef(
3326
3269
  ({ className, ...props }, ref) => {
3327
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3270
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3328
3271
  "div",
3329
3272
  {
3330
3273
  ref,
3331
3274
  "data-sidebar": "group",
3332
- className: cn("relative flex w-full min-w-0 flex-col p-2", className),
3275
+ className: cn("dl-sidebar-group", className),
3333
3276
  ...props
3334
3277
  }
3335
3278
  );
3336
3279
  }
3337
3280
  );
3338
3281
  SidebarGroup.displayName = "SidebarGroup";
3339
- var SidebarGroupLabel = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
3282
+ var SidebarGroupLabel = React48.forwardRef(({ className, asChild = false, ...props }, ref) => {
3340
3283
  const Comp = asChild ? import_react_slot4.Slot : "div";
3341
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3284
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3342
3285
  Comp,
3343
3286
  {
3344
3287
  ref,
3345
3288
  "data-sidebar": "group-label",
3346
- className: cn(
3347
- "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",
3348
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
3349
- className
3350
- ),
3289
+ className: cn("dl-sidebar-group-label", className),
3351
3290
  ...props
3352
3291
  }
3353
3292
  );
3354
3293
  });
3355
3294
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
3356
- var SidebarGroupAction = React38.forwardRef(({ className, asChild = false, ...props }, ref) => {
3295
+ var SidebarGroupAction = React48.forwardRef(({ className, asChild = false, ...props }, ref) => {
3357
3296
  const Comp = asChild ? import_react_slot4.Slot : "button";
3358
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3297
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3359
3298
  Comp,
3360
3299
  {
3361
3300
  ref,
3362
3301
  "data-sidebar": "group-action",
3363
- className: cn(
3364
- "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",
3365
- // Increases the hit area of the button on mobile.
3366
- "after:absolute after:-inset-2 after:md:hidden",
3367
- "group-data-[collapsible=icon]:hidden",
3368
- className
3369
- ),
3302
+ className: cn("dl-sidebar-group-action", className),
3370
3303
  ...props
3371
3304
  }
3372
3305
  );
3373
3306
  });
3374
3307
  SidebarGroupAction.displayName = "SidebarGroupAction";
3375
- var SidebarGroupContent = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3308
+ var SidebarGroupContent = React48.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3376
3309
  "div",
3377
3310
  {
3378
3311
  ref,
3379
3312
  "data-sidebar": "group-content",
3380
- className: cn("w-full text-sm", className),
3313
+ className: cn("dl-sidebar-group-content", className),
3381
3314
  ...props
3382
3315
  }
3383
3316
  ));
3384
3317
  SidebarGroupContent.displayName = "SidebarGroupContent";
3385
- var SidebarMenu = React38.forwardRef(
3386
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3318
+
3319
+ // src/components/sidebar/sidebar-menu.tsx
3320
+ var React49 = __toESM(require("react"), 1);
3321
+ var import_react_slot5 = require("@radix-ui/react-slot");
3322
+ var import_class_variance_authority7 = require("class-variance-authority");
3323
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3324
+ var sidebarMenuButtonVariants = (0, import_class_variance_authority7.cva)("dl-sidebar-menu-button", {
3325
+ variants: {
3326
+ variant: {
3327
+ default: "dl-sidebar-menu-button--default",
3328
+ outline: "dl-sidebar-menu-button--outline"
3329
+ },
3330
+ size: {
3331
+ default: "dl-sidebar-menu-button--md",
3332
+ sm: "dl-sidebar-menu-button--sm",
3333
+ lg: "dl-sidebar-menu-button--lg"
3334
+ }
3335
+ },
3336
+ defaultVariants: {
3337
+ variant: "default",
3338
+ size: "default"
3339
+ }
3340
+ });
3341
+ var SidebarMenu = React49.forwardRef(
3342
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3387
3343
  "ul",
3388
3344
  {
3389
3345
  ref,
3390
3346
  "data-sidebar": "menu",
3391
- className: cn("flex w-full min-w-0 flex-col gap-1", className),
3347
+ className: cn("dl-sidebar-menu", className),
3392
3348
  ...props
3393
3349
  }
3394
3350
  )
3395
3351
  );
3396
3352
  SidebarMenu.displayName = "SidebarMenu";
3397
- var SidebarMenuItem = React38.forwardRef(
3398
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3399
- "li",
3400
- {
3401
- ref,
3402
- "data-sidebar": "menu-item",
3403
- className: cn("group/menu-item relative", className),
3404
- ...props
3405
- }
3406
- )
3407
- );
3408
- SidebarMenuItem.displayName = "SidebarMenuItem";
3409
- var sidebarMenuButtonVariants = (0, import_class_variance_authority7.cva)(
3410
- "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",
3353
+ var SidebarMenuItem = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3354
+ "li",
3411
3355
  {
3412
- variants: {
3413
- variant: {
3414
- default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3415
- 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)]"
3416
- },
3417
- size: {
3418
- default: "h-8 text-sm",
3419
- sm: "h-7 text-xs",
3420
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
3421
- }
3422
- },
3423
- defaultVariants: {
3424
- variant: "default",
3425
- size: "default"
3426
- }
3356
+ ref,
3357
+ "data-sidebar": "menu-item",
3358
+ className: cn("dl-sidebar-menu-item", className),
3359
+ ...props
3427
3360
  }
3428
- );
3429
- var SidebarMenuButton = React38.forwardRef(
3361
+ ));
3362
+ SidebarMenuItem.displayName = "SidebarMenuItem";
3363
+ var SidebarMenuButton = React49.forwardRef(
3430
3364
  ({
3431
3365
  asChild = false,
3432
3366
  isActive = false,
@@ -3436,14 +3370,15 @@ var SidebarMenuButton = React38.forwardRef(
3436
3370
  className,
3437
3371
  ...props
3438
3372
  }, ref) => {
3439
- const Comp = asChild ? import_react_slot4.Slot : "button";
3373
+ const Comp = asChild ? import_react_slot5.Slot : "button";
3440
3374
  const { isMobile, state } = useSidebar();
3441
- const button = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3375
+ const button = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3442
3376
  Comp,
3443
3377
  {
3444
3378
  ref,
3445
3379
  "data-sidebar": "menu-button",
3446
3380
  "data-size": size,
3381
+ "data-variant": variant,
3447
3382
  "data-active": isActive,
3448
3383
  className: cn(sidebarMenuButtonVariants({ variant, size }), className),
3449
3384
  ...props
@@ -3452,42 +3387,33 @@ var SidebarMenuButton = React38.forwardRef(
3452
3387
  if (!tooltip) {
3453
3388
  return button;
3454
3389
  }
3455
- if (typeof tooltip === "string") {
3456
- tooltip = {
3457
- children: tooltip
3458
- };
3459
- }
3460
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Tooltip2, { children: [
3461
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipTrigger, { asChild: true, children: button }),
3462
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3390
+ const tooltipProps = typeof tooltip === "string" ? { children: tooltip } : tooltip;
3391
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Tooltip2, { children: [
3392
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TooltipTrigger, { asChild: true, children: button }),
3393
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3463
3394
  TooltipContent,
3464
3395
  {
3465
3396
  side: "right",
3466
3397
  align: "center",
3467
3398
  hidden: state !== "collapsed" || isMobile,
3468
- ...tooltip
3399
+ ...tooltipProps
3469
3400
  }
3470
3401
  )
3471
3402
  ] });
3472
3403
  }
3473
3404
  );
3474
3405
  SidebarMenuButton.displayName = "SidebarMenuButton";
3475
- var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3476
- const Comp = asChild ? import_react_slot4.Slot : "button";
3477
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3406
+ var SidebarMenuAction = React49.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
3407
+ const Comp = asChild ? import_react_slot5.Slot : "button";
3408
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3478
3409
  Comp,
3479
3410
  {
3480
3411
  ref,
3481
3412
  "data-sidebar": "menu-action",
3413
+ "data-show-on-hover": showOnHover ? "true" : void 0,
3482
3414
  className: cn(
3483
- "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",
3484
- // Increases the hit area of the button on mobile.
3485
- "after:absolute after:-inset-2 after:md:hidden",
3486
- "peer-data-[size=sm]/menu-button:top-1",
3487
- "peer-data-[size=default]/menu-button:top-1.5",
3488
- "peer-data-[size=lg]/menu-button:top-2.5",
3489
- "group-data-[collapsible=icon]:hidden",
3490
- 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",
3415
+ "dl-sidebar-menu-action",
3416
+ showOnHover && "dl-sidebar-menu-action--hover-only",
3491
3417
  className
3492
3418
  ),
3493
3419
  ...props
@@ -3495,51 +3421,46 @@ var SidebarMenuAction = React38.forwardRef(({ className, asChild = false, showOn
3495
3421
  );
3496
3422
  });
3497
3423
  SidebarMenuAction.displayName = "SidebarMenuAction";
3498
- var SidebarMenuBadge = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3424
+ var SidebarMenuBadge = React49.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3499
3425
  "div",
3500
3426
  {
3501
3427
  ref,
3502
3428
  "data-sidebar": "menu-badge",
3503
- className: cn(
3504
- "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",
3505
- "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3506
- "peer-data-[size=sm]/menu-button:top-1",
3507
- "peer-data-[size=default]/menu-button:top-1.5",
3508
- "peer-data-[size=lg]/menu-button:top-2.5",
3509
- "group-data-[collapsible=icon]:hidden",
3510
- className
3511
- ),
3429
+ className: cn("dl-sidebar-menu-badge", className),
3512
3430
  ...props
3513
3431
  }
3514
3432
  ));
3515
3433
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
3516
- var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3517
- const width = React38.useMemo(() => {
3434
+
3435
+ // src/components/sidebar/sidebar-submenu.tsx
3436
+ var React50 = __toESM(require("react"), 1);
3437
+ var import_react_slot6 = require("@radix-ui/react-slot");
3438
+ var import_jsx_runtime53 = require("react/jsx-runtime");
3439
+ var SidebarMenuSkeleton = React50.forwardRef(({ className, showIcon = false, ...props }, ref) => {
3440
+ const width = React50.useMemo(() => {
3518
3441
  return `${Math.floor(Math.random() * 40) + 50}%`;
3519
3442
  }, []);
3520
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3443
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
3521
3444
  "div",
3522
3445
  {
3523
3446
  ref,
3524
3447
  "data-sidebar": "menu-skeleton",
3525
- className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
3448
+ className: cn("dl-sidebar-menu-skeleton", className),
3526
3449
  ...props,
3527
3450
  children: [
3528
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3451
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3529
3452
  Skeleton,
3530
3453
  {
3531
- className: "size-4 rounded-md",
3454
+ className: "dl-sidebar-menu-skeleton-icon",
3532
3455
  "data-sidebar": "menu-skeleton-icon"
3533
3456
  }
3534
3457
  ),
3535
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3458
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3536
3459
  Skeleton,
3537
3460
  {
3538
- className: "h-4 max-w-(--skeleton-width) flex-1",
3461
+ className: "dl-sidebar-menu-skeleton-text",
3539
3462
  "data-sidebar": "menu-skeleton-text",
3540
- style: {
3541
- "--skeleton-width": width
3542
- }
3463
+ style: { "--skeleton-width": width }
3543
3464
  }
3544
3465
  )
3545
3466
  ]
@@ -3547,27 +3468,21 @@ var SidebarMenuSkeleton = React38.forwardRef(({ className, showIcon = false, ...
3547
3468
  );
3548
3469
  });
3549
3470
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
3550
- var SidebarMenuSub = React38.forwardRef(
3551
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3552
- "ul",
3553
- {
3554
- ref,
3555
- "data-sidebar": "menu-sub",
3556
- className: cn(
3557
- "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",
3558
- "group-data-[collapsible=icon]:hidden",
3559
- className
3560
- ),
3561
- ...props
3562
- }
3563
- )
3564
- );
3471
+ var SidebarMenuSub = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3472
+ "ul",
3473
+ {
3474
+ ref,
3475
+ "data-sidebar": "menu-sub",
3476
+ className: cn("dl-sidebar-menu-sub", className),
3477
+ ...props
3478
+ }
3479
+ ));
3565
3480
  SidebarMenuSub.displayName = "SidebarMenuSub";
3566
- var SidebarMenuSubItem = React38.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("li", { ref, ...props }));
3481
+ var SidebarMenuSubItem = React50.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { ref, ...props }));
3567
3482
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
3568
- var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3569
- const Comp = asChild ? import_react_slot4.Slot : "a";
3570
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3483
+ var SidebarMenuSubButton = React50.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
3484
+ const Comp = asChild ? import_react_slot6.Slot : "a";
3485
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3571
3486
  Comp,
3572
3487
  {
3573
3488
  ref,
@@ -3575,11 +3490,8 @@ var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", i
3575
3490
  "data-size": size,
3576
3491
  "data-active": isActive,
3577
3492
  className: cn(
3578
- "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",
3579
- "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
3580
- size === "sm" && "text-xs",
3581
- size === "md" && "text-sm",
3582
- "group-data-[collapsible=icon]:hidden",
3493
+ "dl-sidebar-menu-sub-button",
3494
+ size === "sm" && "dl-sidebar-menu-sub-button--sm",
3583
3495
  className
3584
3496
  ),
3585
3497
  ...props
@@ -3588,19 +3500,71 @@ var SidebarMenuSubButton = React38.forwardRef(({ asChild = false, size = "md", i
3588
3500
  });
3589
3501
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
3590
3502
 
3503
+ // src/components/sidebar/sidebar-controls.tsx
3504
+ var React51 = __toESM(require("react"), 1);
3505
+ var import_lucide_react23 = require("lucide-react");
3506
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3507
+ var SidebarTrigger = React51.forwardRef(({ className, onClick, ...props }, ref) => {
3508
+ const { toggleSidebar } = useSidebar();
3509
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3510
+ Button,
3511
+ {
3512
+ ref,
3513
+ "data-sidebar": "trigger",
3514
+ variant: "ghost",
3515
+ size: "icon",
3516
+ className: cn("dl-sidebar-trigger", className),
3517
+ onClick: (event) => {
3518
+ onClick?.(event);
3519
+ toggleSidebar();
3520
+ },
3521
+ ...props,
3522
+ children: [
3523
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react23.PanelLeft, {}),
3524
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
3525
+ ]
3526
+ }
3527
+ );
3528
+ });
3529
+ SidebarTrigger.displayName = "SidebarTrigger";
3530
+ var SidebarSeparator = React51.forwardRef(({ className, ...props }, ref) => {
3531
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3532
+ Separator6,
3533
+ {
3534
+ ref,
3535
+ "data-sidebar": "separator",
3536
+ className: cn("dl-sidebar-separator", className),
3537
+ ...props
3538
+ }
3539
+ );
3540
+ });
3541
+ SidebarSeparator.displayName = "SidebarSeparator";
3542
+ var SidebarInput = React51.forwardRef(({ className, ...props }, ref) => {
3543
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3544
+ Input,
3545
+ {
3546
+ ref,
3547
+ "data-sidebar": "input",
3548
+ className: cn("dl-sidebar-input", className),
3549
+ ...props
3550
+ }
3551
+ );
3552
+ });
3553
+ SidebarInput.displayName = "SidebarInput";
3554
+
3591
3555
  // src/components/slider/slider.tsx
3592
- var React39 = __toESM(require("react"), 1);
3556
+ var React52 = __toESM(require("react"), 1);
3593
3557
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"), 1);
3594
- var import_jsx_runtime43 = require("react/jsx-runtime");
3595
- var Slider = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3558
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3559
+ var Slider = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3596
3560
  SliderPrimitive.Root,
3597
3561
  {
3598
3562
  ref,
3599
3563
  className: cn("dl-slider", className),
3600
3564
  ...props,
3601
3565
  children: [
3602
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SliderPrimitive.Track, { className: "dl-slider__track", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SliderPrimitive.Range, { className: "dl-slider__range" }) }),
3603
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SliderPrimitive.Thumb, { className: "dl-slider__thumb" })
3566
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SliderPrimitive.Track, { className: "dl-slider__track", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SliderPrimitive.Range, { className: "dl-slider__range" }) }),
3567
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SliderPrimitive.Thumb, { className: "dl-slider__thumb" })
3604
3568
  ]
3605
3569
  }
3606
3570
  ));
@@ -3609,7 +3573,7 @@ Slider.displayName = SliderPrimitive.Root.displayName;
3609
3573
  // src/components/sonner/sonner.tsx
3610
3574
  var import_react2 = require("react");
3611
3575
  var import_sonner = require("sonner");
3612
- var import_jsx_runtime44 = require("react/jsx-runtime");
3576
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3613
3577
  var Toaster = ({ theme: propTheme, ...props }) => {
3614
3578
  const [resolvedTheme, setResolvedTheme] = (0, import_react2.useState)("system");
3615
3579
  (0, import_react2.useEffect)(() => {
@@ -3634,7 +3598,7 @@ var Toaster = ({ theme: propTheme, ...props }) => {
3634
3598
  });
3635
3599
  return () => observer.disconnect();
3636
3600
  }, [propTheme]);
3637
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3601
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3638
3602
  import_sonner.Toaster,
3639
3603
  {
3640
3604
  theme: propTheme ?? resolvedTheme,
@@ -3653,8 +3617,8 @@ var Toaster = ({ theme: propTheme, ...props }) => {
3653
3617
  };
3654
3618
 
3655
3619
  // src/components/status-badge/status-badge.tsx
3656
- var React41 = __toESM(require("react"), 1);
3657
- var import_jsx_runtime45 = require("react/jsx-runtime");
3620
+ var React54 = __toESM(require("react"), 1);
3621
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3658
3622
  var statusCategoryMap = {
3659
3623
  Completed: "dl-status-badge--success",
3660
3624
  COMPLETED: "dl-status-badge--success",
@@ -3674,18 +3638,18 @@ var statusCategoryMap = {
3674
3638
  DISABLED: "dl-status-badge--muted",
3675
3639
  IDLE: "dl-status-badge--muted"
3676
3640
  };
3677
- var StatusBadge = React41.forwardRef(
3641
+ var StatusBadge = React54.forwardRef(
3678
3642
  ({ status, className, ...props }, ref) => {
3679
3643
  const normalizedStatus = status?.trim() ?? "";
3680
3644
  const colorClass = statusCategoryMap[normalizedStatus] ?? "dl-status-badge--muted";
3681
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
3645
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
3682
3646
  "span",
3683
3647
  {
3684
3648
  ref,
3685
3649
  className: cn("dl-status-badge", colorClass, className),
3686
3650
  ...props,
3687
3651
  children: [
3688
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "dl-status-badge__dot" }),
3652
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "dl-status-badge__dot" }),
3689
3653
  normalizedStatus
3690
3654
  ]
3691
3655
  }
@@ -3695,8 +3659,8 @@ var StatusBadge = React41.forwardRef(
3695
3659
  StatusBadge.displayName = "StatusBadge";
3696
3660
 
3697
3661
  // src/components/status-chip/status-chip.tsx
3698
- var React42 = __toESM(require("react"), 1);
3699
- var import_jsx_runtime46 = require("react/jsx-runtime");
3662
+ var React55 = __toESM(require("react"), 1);
3663
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3700
3664
  var statusToneMap = {
3701
3665
  active: "dl-status-chip--primary",
3702
3666
  running: "dl-status-chip--primary",
@@ -3718,17 +3682,17 @@ var statusToneMap = {
3718
3682
  error: "dl-status-chip--destructive",
3719
3683
  offline: "dl-status-chip--destructive"
3720
3684
  };
3721
- var StatusChip = React42.forwardRef(
3685
+ var StatusChip = React55.forwardRef(
3722
3686
  ({ status, className, ...props }, ref) => {
3723
3687
  const toneClass = statusToneMap[status] ?? "dl-status-chip--muted";
3724
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3688
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
3725
3689
  "span",
3726
3690
  {
3727
3691
  ref,
3728
3692
  className: cn("dl-status-chip", toneClass, className),
3729
3693
  ...props,
3730
3694
  children: [
3731
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "dl-status-chip__dot" }),
3695
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "dl-status-chip__dot" }),
3732
3696
  status
3733
3697
  ]
3734
3698
  }
@@ -3738,52 +3702,52 @@ var StatusChip = React42.forwardRef(
3738
3702
  StatusChip.displayName = "StatusChip";
3739
3703
 
3740
3704
  // src/components/switch/switch.tsx
3741
- var React43 = __toESM(require("react"), 1);
3705
+ var React56 = __toESM(require("react"), 1);
3742
3706
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"), 1);
3743
- var import_jsx_runtime47 = require("react/jsx-runtime");
3744
- var Switch = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3707
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3708
+ var Switch = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3745
3709
  SwitchPrimitives.Root,
3746
3710
  {
3747
3711
  className: cn("dl-switch", className),
3748
3712
  ...props,
3749
3713
  ref,
3750
- children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SwitchPrimitives.Thumb, { className: "dl-switch__thumb" })
3714
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SwitchPrimitives.Thumb, { className: "dl-switch__thumb" })
3751
3715
  }
3752
3716
  ));
3753
3717
  Switch.displayName = SwitchPrimitives.Root.displayName;
3754
3718
 
3755
3719
  // src/components/table/table.tsx
3756
- var React44 = __toESM(require("react"), 1);
3757
- var import_jsx_runtime48 = require("react/jsx-runtime");
3758
- var Table = React44.forwardRef(
3759
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "dl-table-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("table", { ref, className: cn("dl-table", className), ...props }) })
3720
+ var React57 = __toESM(require("react"), 1);
3721
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3722
+ var Table = React57.forwardRef(
3723
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "dl-table-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("table", { ref, className: cn("dl-table", className), ...props }) })
3760
3724
  );
3761
3725
  Table.displayName = "Table";
3762
- var TableHeader = React44.forwardRef(
3763
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("thead", { ref, className: cn("dl-table__head", className), ...props })
3726
+ var TableHeader = React57.forwardRef(
3727
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("thead", { ref, className: cn("dl-table__head", className), ...props })
3764
3728
  );
3765
3729
  TableHeader.displayName = "TableHeader";
3766
- var TableBody = React44.forwardRef(
3767
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tbody", { ref, className: cn("dl-table__body", className), ...props })
3730
+ var TableBody = React57.forwardRef(
3731
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tbody", { ref, className: cn("dl-table__body", className), ...props })
3768
3732
  );
3769
3733
  TableBody.displayName = "TableBody";
3770
- var TableFooter = React44.forwardRef(
3771
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tfoot", { ref, className: cn("dl-table__foot", className), ...props })
3734
+ var TableFooter = React57.forwardRef(
3735
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tfoot", { ref, className: cn("dl-table__foot", className), ...props })
3772
3736
  );
3773
3737
  TableFooter.displayName = "TableFooter";
3774
- var TableRow = React44.forwardRef(
3775
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("tr", { ref, className: cn("dl-table__row", className), ...props })
3738
+ var TableRow = React57.forwardRef(
3739
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("tr", { ref, className: cn("dl-table__row", className), ...props })
3776
3740
  );
3777
3741
  TableRow.displayName = "TableRow";
3778
- var TableHead = React44.forwardRef(
3779
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("th", { ref, className: cn("dl-table__head-cell", className), ...props })
3742
+ var TableHead = React57.forwardRef(
3743
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("th", { ref, className: cn("dl-table__head-cell", className), ...props })
3780
3744
  );
3781
3745
  TableHead.displayName = "TableHead";
3782
- var TableCell = React44.forwardRef(
3783
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("td", { ref, className: cn("dl-table__cell", className), ...props })
3746
+ var TableCell = React57.forwardRef(
3747
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("td", { ref, className: cn("dl-table__cell", className), ...props })
3784
3748
  );
3785
3749
  TableCell.displayName = "TableCell";
3786
- var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3750
+ var TableCaption = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3787
3751
  "caption",
3788
3752
  {
3789
3753
  ref,
@@ -3794,11 +3758,11 @@ var TableCaption = React44.forwardRef(({ className, ...props }, ref) => /* @__PU
3794
3758
  TableCaption.displayName = "TableCaption";
3795
3759
 
3796
3760
  // src/components/tabs/tabs.tsx
3797
- var React45 = __toESM(require("react"), 1);
3761
+ var React58 = __toESM(require("react"), 1);
3798
3762
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"), 1);
3799
- var import_jsx_runtime49 = require("react/jsx-runtime");
3763
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3800
3764
  var Tabs = TabsPrimitive.Root;
3801
- var TabsList = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3765
+ var TabsList = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3802
3766
  TabsPrimitive.List,
3803
3767
  {
3804
3768
  ref,
@@ -3807,7 +3771,7 @@ var TabsList = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3807
3771
  }
3808
3772
  ));
3809
3773
  TabsList.displayName = TabsPrimitive.List.displayName;
3810
- var TabsTrigger = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3774
+ var TabsTrigger = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3811
3775
  TabsPrimitive.Trigger,
3812
3776
  {
3813
3777
  ref,
@@ -3816,7 +3780,7 @@ var TabsTrigger = React45.forwardRef(({ className, ...props }, ref) => /* @__PUR
3816
3780
  }
3817
3781
  ));
3818
3782
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3819
- var TabsContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3783
+ var TabsContent = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3820
3784
  TabsPrimitive.Content,
3821
3785
  {
3822
3786
  ref,
@@ -3827,18 +3791,18 @@ var TabsContent = React45.forwardRef(({ className, ...props }, ref) => /* @__PUR
3827
3791
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3828
3792
 
3829
3793
  // src/components/textarea/textarea.tsx
3830
- var React46 = __toESM(require("react"), 1);
3831
- var import_jsx_runtime50 = require("react/jsx-runtime");
3832
- var Textarea = React46.forwardRef(
3833
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("textarea", { className: cn("dl-textarea", className), ref, ...props })
3794
+ var React59 = __toESM(require("react"), 1);
3795
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3796
+ var Textarea = React59.forwardRef(
3797
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("textarea", { className: cn("dl-textarea", className), ref, ...props })
3834
3798
  );
3835
3799
  Textarea.displayName = "Textarea";
3836
3800
 
3837
3801
  // src/components/toggle/toggle.tsx
3838
- var React47 = __toESM(require("react"), 1);
3802
+ var React60 = __toESM(require("react"), 1);
3839
3803
  var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"), 1);
3840
3804
  var import_class_variance_authority8 = require("class-variance-authority");
3841
- var import_jsx_runtime51 = require("react/jsx-runtime");
3805
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3842
3806
  var toggleVariants = (0, import_class_variance_authority8.cva)("dl-toggle", {
3843
3807
  variants: {
3844
3808
  variant: {
@@ -3856,7 +3820,7 @@ var toggleVariants = (0, import_class_variance_authority8.cva)("dl-toggle", {
3856
3820
  size: "default"
3857
3821
  }
3858
3822
  });
3859
- var Toggle = React47.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3823
+ var Toggle = React60.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3860
3824
  TogglePrimitive.Root,
3861
3825
  {
3862
3826
  ref,
@@ -3867,26 +3831,26 @@ var Toggle = React47.forwardRef(({ className, variant, size, ...props }, ref) =>
3867
3831
  Toggle.displayName = TogglePrimitive.Root.displayName;
3868
3832
 
3869
3833
  // src/components/toggle-group/toggle-group.tsx
3870
- var React48 = __toESM(require("react"), 1);
3834
+ var React61 = __toESM(require("react"), 1);
3871
3835
  var ToggleGroupPrimitive = __toESM(require("@radix-ui/react-toggle-group"), 1);
3872
- var import_jsx_runtime52 = require("react/jsx-runtime");
3873
- var ToggleGroupContext = React48.createContext({
3836
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3837
+ var ToggleGroupContext = React61.createContext({
3874
3838
  size: "default",
3875
3839
  variant: "default"
3876
3840
  });
3877
- var ToggleGroup = React48.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3841
+ var ToggleGroup = React61.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3878
3842
  ToggleGroupPrimitive.Root,
3879
3843
  {
3880
3844
  ref,
3881
3845
  className: cn("dl-toggle-group", className),
3882
3846
  ...props,
3883
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ToggleGroupContext.Provider, { value: { variant, size }, children })
3847
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ToggleGroupContext.Provider, { value: { variant, size }, children })
3884
3848
  }
3885
3849
  ));
3886
3850
  ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
3887
- var ToggleGroupItem = React48.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3888
- const context = React48.useContext(ToggleGroupContext);
3889
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3851
+ var ToggleGroupItem = React61.forwardRef(({ className, children, variant, size, ...props }, ref) => {
3852
+ const context = React61.useContext(ToggleGroupContext);
3853
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3890
3854
  ToggleGroupPrimitive.Item,
3891
3855
  {
3892
3856
  ref,
@@ -3905,17 +3869,17 @@ var ToggleGroupItem = React48.forwardRef(({ className, children, variant, size,
3905
3869
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
3906
3870
 
3907
3871
  // src/components/metric-card/metric-card.tsx
3908
- var React49 = __toESM(require("react"), 1);
3909
- var import_jsx_runtime53 = require("react/jsx-runtime");
3910
- var MetricCard = React49.forwardRef(
3872
+ var React62 = __toESM(require("react"), 1);
3873
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3874
+ var MetricCard = React62.forwardRef(
3911
3875
  ({ label, value, note, positive, icon, className, ...props }, ref) => {
3912
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ref, className: cn("dl-metric-card", className), ...props, children: [
3913
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "dl-metric-card__header", children: [
3914
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "dl-metric-card__label", children: label }),
3915
- icon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "dl-metric-card__icon", children: icon })
3876
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { ref, className: cn("dl-metric-card", className), ...props, children: [
3877
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "dl-metric-card__header", children: [
3878
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "dl-metric-card__label", children: label }),
3879
+ icon && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "dl-metric-card__icon", children: icon })
3916
3880
  ] }),
3917
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "dl-metric-card__value-row", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "dl-metric-card__value", children: value }) }),
3918
- note && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3881
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "dl-metric-card__value-row", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "dl-metric-card__value", children: value }) }),
3882
+ note && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3919
3883
  "div",
3920
3884
  {
3921
3885
  className: cn(
@@ -3930,18 +3894,18 @@ var MetricCard = React49.forwardRef(
3930
3894
  }
3931
3895
  );
3932
3896
  MetricCard.displayName = "MetricCard";
3933
- var MetricsGrid = React49.forwardRef(
3897
+ var MetricsGrid = React62.forwardRef(
3934
3898
  ({ children, className, ...props }, ref) => {
3935
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { ref, className: cn("dl-metrics-grid", className), ...props, children });
3899
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { ref, className: cn("dl-metrics-grid", className), ...props, children });
3936
3900
  }
3937
3901
  );
3938
3902
  MetricsGrid.displayName = "MetricsGrid";
3939
3903
 
3940
3904
  // src/components/copy-button/copy-button.tsx
3941
- var React50 = __toESM(require("react"), 1);
3942
- var import_lucide_react21 = require("lucide-react");
3943
- var import_jsx_runtime54 = require("react/jsx-runtime");
3944
- var CopyButton = React50.forwardRef(
3905
+ var React63 = __toESM(require("react"), 1);
3906
+ var import_lucide_react24 = require("lucide-react");
3907
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3908
+ var CopyButton = React63.forwardRef(
3945
3909
  ({
3946
3910
  textToCopy,
3947
3911
  label = "Copy",
@@ -3951,7 +3915,7 @@ var CopyButton = React50.forwardRef(
3951
3915
  onClick,
3952
3916
  ...props
3953
3917
  }, ref) => {
3954
- const [isCopied, setIsCopied] = React50.useState(false);
3918
+ const [isCopied, setIsCopied] = React63.useState(false);
3955
3919
  const handleCopy = async (e) => {
3956
3920
  onClick?.(e);
3957
3921
  if (e.defaultPrevented) return;
@@ -3962,7 +3926,7 @@ var CopyButton = React50.forwardRef(
3962
3926
  } catch {
3963
3927
  }
3964
3928
  };
3965
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3929
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3966
3930
  "button",
3967
3931
  {
3968
3932
  ref,
@@ -3975,8 +3939,8 @@ var CopyButton = React50.forwardRef(
3975
3939
  onClick: handleCopy,
3976
3940
  ...props,
3977
3941
  children: [
3978
- isCopied ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react21.Check, { className: "dl-copy-button__icon" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react21.Copy, { className: "dl-copy-button__icon" }),
3979
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { children: isCopied ? copiedLabel : label })
3942
+ isCopied ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react24.Check, { className: "dl-copy-button__icon" }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_lucide_react24.Copy, { className: "dl-copy-button__icon" }),
3943
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: isCopied ? copiedLabel : label })
3980
3944
  ]
3981
3945
  }
3982
3946
  );
@@ -3985,10 +3949,10 @@ var CopyButton = React50.forwardRef(
3985
3949
  CopyButton.displayName = "CopyButton";
3986
3950
 
3987
3951
  // src/components/secret-reveal-card/secret-reveal-card.tsx
3988
- var React51 = __toESM(require("react"), 1);
3989
- var import_lucide_react22 = require("lucide-react");
3990
- var import_jsx_runtime55 = require("react/jsx-runtime");
3991
- var SecretRevealCard = React51.forwardRef(
3952
+ var React64 = __toESM(require("react"), 1);
3953
+ var import_lucide_react25 = require("lucide-react");
3954
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3955
+ var SecretRevealCard = React64.forwardRef(
3992
3956
  ({
3993
3957
  secret,
3994
3958
  warningMessage = "One-time reveal. Please copy and store this credential securely before closing.",
@@ -3996,19 +3960,281 @@ var SecretRevealCard = React51.forwardRef(
3996
3960
  className,
3997
3961
  ...props
3998
3962
  }, ref) => {
3999
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { ref, className: cn("dl-secret-reveal", className), ...props, children: [
4000
- warningMessage && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "dl-secret-reveal__warning", children: [
4001
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_lucide_react22.AlertTriangle, { className: "shrink-0 size-4" }),
4002
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: warningMessage })
3963
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { ref, className: cn("dl-secret-reveal", className), ...props, children: [
3964
+ warningMessage && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "dl-secret-reveal__warning", children: [
3965
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_lucide_react25.AlertTriangle, {}),
3966
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { children: warningMessage })
4003
3967
  ] }),
4004
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "dl-secret-reveal__code-wrap", children: [
4005
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("code", { className: "dl-secret-reveal__code", children: secret }),
4006
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CopyButton, { textToCopy: secret, label: copyLabel })
3968
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "dl-secret-reveal__code-wrap", children: [
3969
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("code", { className: "dl-secret-reveal__code", children: secret }),
3970
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CopyButton, { textToCopy: secret, label: copyLabel })
4007
3971
  ] })
4008
3972
  ] });
4009
3973
  }
4010
3974
  );
4011
3975
  SecretRevealCard.displayName = "SecretRevealCard";
3976
+
3977
+ // src/components/typography/heading.tsx
3978
+ var import_react3 = require("react");
3979
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3980
+ function resolveDefaultTag(size) {
3981
+ if (size === "display") return "h1";
3982
+ if (size === "h1" || size === "h2" || size === "h3" || size === "h4" || size === "h5" || size === "h6") {
3983
+ return size;
3984
+ }
3985
+ return "h2";
3986
+ }
3987
+ var Heading = (0, import_react3.forwardRef)(
3988
+ function Heading2({
3989
+ as,
3990
+ size = "h2",
3991
+ color = "default",
3992
+ weight,
3993
+ align = "left",
3994
+ truncate = false,
3995
+ className,
3996
+ children,
3997
+ ...props
3998
+ }, ref) {
3999
+ const Component = as ?? resolveDefaultTag(size);
4000
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
4001
+ Component,
4002
+ {
4003
+ ref,
4004
+ className: cn("dl-heading", `dl-${size}`, className),
4005
+ "data-typography-color": color !== "default" ? color : void 0,
4006
+ "data-typography-align": align !== "left" ? align : void 0,
4007
+ "data-typography-weight": weight,
4008
+ "data-typography-truncate": truncate ? "true" : void 0,
4009
+ ...props,
4010
+ children
4011
+ }
4012
+ );
4013
+ }
4014
+ );
4015
+ Heading.displayName = "Heading";
4016
+
4017
+ // src/components/typography/text.tsx
4018
+ var import_react4 = require("react");
4019
+ var import_jsx_runtime69 = require("react/jsx-runtime");
4020
+ var Text = (0, import_react4.forwardRef)(function Text2({
4021
+ as: Component = "p",
4022
+ variant = "body",
4023
+ color = "default",
4024
+ weight,
4025
+ align = "left",
4026
+ truncate = false,
4027
+ className,
4028
+ children,
4029
+ ...props
4030
+ }, ref) {
4031
+ const Element = Component;
4032
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4033
+ Element,
4034
+ {
4035
+ ref,
4036
+ className: cn("dl-text", `dl-${variant}`, className),
4037
+ "data-typography-color": color !== "default" ? color : void 0,
4038
+ "data-typography-align": align !== "left" ? align : void 0,
4039
+ "data-typography-weight": weight,
4040
+ "data-typography-truncate": truncate ? "true" : void 0,
4041
+ ...props,
4042
+ children
4043
+ }
4044
+ );
4045
+ });
4046
+ Text.displayName = "Text";
4047
+
4048
+ // src/components/layout/box.tsx
4049
+ var React65 = __toESM(require("react"), 1);
4050
+ var import_react_slot7 = require("@radix-ui/react-slot");
4051
+ var import_jsx_runtime70 = require("react/jsx-runtime");
4052
+ var Box = React65.forwardRef(
4053
+ ({
4054
+ className,
4055
+ asChild = false,
4056
+ as,
4057
+ p,
4058
+ px,
4059
+ py,
4060
+ radius,
4061
+ shadow,
4062
+ border = false,
4063
+ bg,
4064
+ style,
4065
+ ...props
4066
+ }, ref) => {
4067
+ const Comp = asChild ? import_react_slot7.Slot : as || "div";
4068
+ const inlineStyles = { ...style };
4069
+ if (p) inlineStyles.padding = `var(--space-${p})`;
4070
+ if (px) {
4071
+ inlineStyles.paddingLeft = `var(--space-${px})`;
4072
+ inlineStyles.paddingRight = `var(--space-${px})`;
4073
+ }
4074
+ if (py) {
4075
+ inlineStyles.paddingTop = `var(--space-${py})`;
4076
+ inlineStyles.paddingBottom = `var(--space-${py})`;
4077
+ }
4078
+ if (radius && radius !== "none") {
4079
+ inlineStyles.borderRadius = `var(--radius-${radius}, var(--radius))`;
4080
+ }
4081
+ if (border) {
4082
+ inlineStyles.border = "1px solid var(--border)";
4083
+ }
4084
+ if (bg) {
4085
+ inlineStyles.backgroundColor = `var(--${bg})`;
4086
+ }
4087
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
4088
+ Comp,
4089
+ {
4090
+ ref,
4091
+ className: cn(
4092
+ "dl-box",
4093
+ shadow && shadow !== "none" && `dl-shadow-${shadow}`,
4094
+ className
4095
+ ),
4096
+ style: inlineStyles,
4097
+ ...props
4098
+ }
4099
+ );
4100
+ }
4101
+ );
4102
+ Box.displayName = "Box";
4103
+
4104
+ // src/components/layout/flex.tsx
4105
+ var React66 = __toESM(require("react"), 1);
4106
+ var import_react_slot8 = require("@radix-ui/react-slot");
4107
+ var import_jsx_runtime71 = require("react/jsx-runtime");
4108
+ var Flex = React66.forwardRef(
4109
+ ({
4110
+ className,
4111
+ asChild = false,
4112
+ as,
4113
+ direction = "row",
4114
+ justify,
4115
+ align,
4116
+ wrap = false,
4117
+ gap,
4118
+ inline = false,
4119
+ ...props
4120
+ }, ref) => {
4121
+ const Comp = asChild ? import_react_slot8.Slot : as || "div";
4122
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
4123
+ Comp,
4124
+ {
4125
+ ref,
4126
+ className: cn(
4127
+ "dl-flex",
4128
+ inline && "dl-flex--inline",
4129
+ direction && `dl-flex--${direction}`,
4130
+ justify && `dl-flex--justify-${justify}`,
4131
+ align && `dl-flex--align-${align}`,
4132
+ (wrap === true || wrap === "wrap") && "dl-flex--wrap",
4133
+ wrap === "nowrap" && "dl-flex--nowrap",
4134
+ wrap === "reverse" && "dl-flex--wrap-reverse",
4135
+ gap !== void 0 && `dl-gap-${gap}`,
4136
+ className
4137
+ ),
4138
+ ...props
4139
+ }
4140
+ );
4141
+ }
4142
+ );
4143
+ Flex.displayName = "Flex";
4144
+
4145
+ // src/components/layout/stack.tsx
4146
+ var React67 = __toESM(require("react"), 1);
4147
+ var import_react_slot9 = require("@radix-ui/react-slot");
4148
+ var import_jsx_runtime72 = require("react/jsx-runtime");
4149
+ var Stack = React67.forwardRef(
4150
+ ({
4151
+ className,
4152
+ asChild = false,
4153
+ as,
4154
+ direction = "col",
4155
+ gap = "3",
4156
+ align = "stretch",
4157
+ ...props
4158
+ }, ref) => {
4159
+ const Comp = asChild ? import_react_slot9.Slot : as || "div";
4160
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4161
+ Comp,
4162
+ {
4163
+ ref,
4164
+ className: cn(
4165
+ "dl-stack",
4166
+ `dl-stack--${direction}`,
4167
+ `dl-flex--align-${align}`,
4168
+ gap !== void 0 && `dl-gap-${gap}`,
4169
+ className
4170
+ ),
4171
+ ...props
4172
+ }
4173
+ );
4174
+ }
4175
+ );
4176
+ Stack.displayName = "Stack";
4177
+
4178
+ // src/components/layout/grid.tsx
4179
+ var React68 = __toESM(require("react"), 1);
4180
+ var import_react_slot10 = require("@radix-ui/react-slot");
4181
+ var import_jsx_runtime73 = require("react/jsx-runtime");
4182
+ var Grid = React68.forwardRef(
4183
+ ({
4184
+ className,
4185
+ asChild = false,
4186
+ as,
4187
+ cols,
4188
+ columns,
4189
+ gap = "4",
4190
+ inline = false,
4191
+ style,
4192
+ ...props
4193
+ }, ref) => {
4194
+ const Comp = asChild ? import_react_slot10.Slot : as || "div";
4195
+ const resolvedCols = cols ?? columns ?? 1;
4196
+ const inlineStyles = { ...style };
4197
+ if (typeof resolvedCols === "number") {
4198
+ inlineStyles.gridTemplateColumns = `repeat(${resolvedCols}, minmax(0, 1fr))`;
4199
+ } else if (typeof resolvedCols === "string") {
4200
+ inlineStyles.gridTemplateColumns = `repeat(auto-fit, minmax(${resolvedCols}, 1fr))`;
4201
+ }
4202
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
4203
+ Comp,
4204
+ {
4205
+ ref,
4206
+ className: cn(
4207
+ "dl-grid",
4208
+ inline && "dl-grid--inline",
4209
+ gap !== void 0 && `dl-gap-${gap}`,
4210
+ className
4211
+ ),
4212
+ style: inlineStyles,
4213
+ ...props
4214
+ }
4215
+ );
4216
+ }
4217
+ );
4218
+ Grid.displayName = "Grid";
4219
+
4220
+ // src/components/layout/container.tsx
4221
+ var React69 = __toESM(require("react"), 1);
4222
+ var import_react_slot11 = require("@radix-ui/react-slot");
4223
+ var import_jsx_runtime74 = require("react/jsx-runtime");
4224
+ var Container = React69.forwardRef(
4225
+ ({ className, asChild = false, as, size = "xl", ...props }, ref) => {
4226
+ const Comp = asChild ? import_react_slot11.Slot : as || "div";
4227
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
4228
+ Comp,
4229
+ {
4230
+ ref,
4231
+ className: cn("dl-container", `dl-container--${size}`, className),
4232
+ ...props
4233
+ }
4234
+ );
4235
+ }
4236
+ );
4237
+ Container.displayName = "Container";
4012
4238
  // Annotate the CommonJS export names for ESM import in node:
4013
4239
  0 && (module.exports = {
4014
4240
  Accordion,
@@ -4034,6 +4260,7 @@ SecretRevealCard.displayName = "SecretRevealCard";
4034
4260
  AvatarFallback,
4035
4261
  AvatarImage,
4036
4262
  Badge,
4263
+ Box,
4037
4264
  Breadcrumb,
4038
4265
  BreadcrumbEllipsis,
4039
4266
  BreadcrumbItem,
@@ -4052,10 +4279,12 @@ SecretRevealCard.displayName = "SecretRevealCard";
4052
4279
  CardTitle,
4053
4280
  Carousel,
4054
4281
  CarouselContent,
4282
+ CarouselContext,
4055
4283
  CarouselItem,
4056
4284
  CarouselNext,
4057
4285
  CarouselPrevious,
4058
4286
  ChartContainer,
4287
+ ChartContext,
4059
4288
  ChartLegend,
4060
4289
  ChartLegendContent,
4061
4290
  ChartStyle,
@@ -4076,6 +4305,7 @@ SecretRevealCard.displayName = "SecretRevealCard";
4076
4305
  CommandShortcut,
4077
4306
  ConfigProvider,
4078
4307
  ConfirmDialog,
4308
+ Container,
4079
4309
  ContextMenu,
4080
4310
  ContextMenuCheckboxItem,
4081
4311
  ContextMenuContent,
@@ -4129,6 +4359,8 @@ SecretRevealCard.displayName = "SecretRevealCard";
4129
4359
  DropdownMenuSubContent,
4130
4360
  DropdownMenuSubTrigger,
4131
4361
  DropdownMenuTrigger,
4362
+ EmptyState,
4363
+ Flex,
4132
4364
  Form,
4133
4365
  FormControl,
4134
4366
  FormDescription,
@@ -4136,6 +4368,8 @@ SecretRevealCard.displayName = "SecretRevealCard";
4136
4368
  FormItem,
4137
4369
  FormLabel,
4138
4370
  FormMessage,
4371
+ Grid,
4372
+ Heading,
4139
4373
  HoverCard,
4140
4374
  HoverCardContent,
4141
4375
  HoverCardTrigger,
@@ -4190,6 +4424,12 @@ SecretRevealCard.displayName = "SecretRevealCard";
4190
4424
  ResizableHandle,
4191
4425
  ResizablePanel,
4192
4426
  ResizablePanelGroup,
4427
+ SIDEBAR_COOKIE_MAX_AGE,
4428
+ SIDEBAR_COOKIE_NAME,
4429
+ SIDEBAR_KEYBOARD_SHORTCUT,
4430
+ SIDEBAR_WIDTH,
4431
+ SIDEBAR_WIDTH_ICON,
4432
+ SIDEBAR_WIDTH_MOBILE,
4193
4433
  ScrollArea,
4194
4434
  ScrollBar,
4195
4435
  SearchableSelect,
@@ -4217,6 +4457,7 @@ SecretRevealCard.displayName = "SecretRevealCard";
4217
4457
  SheetTrigger,
4218
4458
  Sidebar,
4219
4459
  SidebarContent,
4460
+ SidebarContext,
4220
4461
  SidebarFooter,
4221
4462
  SidebarGroup,
4222
4463
  SidebarGroupAction,
@@ -4240,9 +4481,11 @@ SecretRevealCard.displayName = "SecretRevealCard";
4240
4481
  SidebarTrigger,
4241
4482
  Skeleton,
4242
4483
  Slider,
4484
+ Stack,
4243
4485
  StatusBadge,
4244
4486
  StatusChip,
4245
4487
  Switch,
4488
+ THEMES,
4246
4489
  Table,
4247
4490
  TableBody,
4248
4491
  TableCaption,
@@ -4255,6 +4498,7 @@ SecretRevealCard.displayName = "SecretRevealCard";
4255
4498
  TabsContent,
4256
4499
  TabsList,
4257
4500
  TabsTrigger,
4501
+ Text,
4258
4502
  Textarea,
4259
4503
  ThemeProvider,
4260
4504
  Toaster,
@@ -4269,12 +4513,16 @@ SecretRevealCard.displayName = "SecretRevealCard";
4269
4513
  badgeVariants,
4270
4514
  buttonVariants,
4271
4515
  cn,
4516
+ cx,
4517
+ getPayloadConfigFromPayload,
4272
4518
  labelVariants,
4273
4519
  navigationMenuTriggerStyle,
4274
4520
  sheetVariants,
4521
+ sidebarMenuButtonVariants,
4275
4522
  toast,
4276
4523
  toggleVariants,
4277
4524
  useCarousel,
4525
+ useChart,
4278
4526
  useConfig,
4279
4527
  useFormField,
4280
4528
  useIsMobile,