@surreal-ui/react 0.5.1 → 0.5.3

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 (119) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/index.js +346 -365
  3. package/package.json +2 -2
  4. package/src/components/GlassmorphismAlert.tsx +4 -1
  5. package/src/components/GlassmorphismButton.tsx +1 -1
  6. package/src/components/GlassmorphismEmptyState.tsx +1 -1
  7. package/src/components/GlassmorphismInputGroup.tsx +1 -1
  8. package/src/components/GlassmorphismMenubar.tsx +2 -2
  9. package/src/components/GlassmorphismScrollArea.tsx +1 -1
  10. package/src/components/GlassmorphismTypography.tsx +1 -1
  11. package/src/components/MinimalistAccordion.tsx +9 -9
  12. package/src/components/MinimalistAlert.tsx +4 -1
  13. package/src/components/MinimalistAlertDialog.tsx +44 -43
  14. package/src/components/MinimalistAspectRatio.tsx +2 -2
  15. package/src/components/MinimalistAvatar.tsx +13 -13
  16. package/src/components/MinimalistBadge.tsx +7 -7
  17. package/src/components/MinimalistBreadcrumb.tsx +6 -2
  18. package/src/components/MinimalistButton.tsx +7 -7
  19. package/src/components/MinimalistButtonGroup.tsx +28 -27
  20. package/src/components/MinimalistCalendar.tsx +16 -13
  21. package/src/components/MinimalistCard.tsx +1 -1
  22. package/src/components/MinimalistCarousel.tsx +12 -12
  23. package/src/components/MinimalistChart.tsx +15 -15
  24. package/src/components/MinimalistCheckbox.tsx +4 -4
  25. package/src/components/MinimalistCodeBlock.tsx +16 -16
  26. package/src/components/MinimalistCollapsible.tsx +2 -2
  27. package/src/components/MinimalistCommand.tsx +21 -21
  28. package/src/components/MinimalistContextMenu.tsx +50 -42
  29. package/src/components/MinimalistDialog.tsx +12 -8
  30. package/src/components/MinimalistDrawer.tsx +10 -6
  31. package/src/components/MinimalistDropdownMenu.tsx +67 -67
  32. package/src/components/MinimalistEmpty.tsx +8 -8
  33. package/src/components/MinimalistEmptyState.tsx +1 -1
  34. package/src/components/MinimalistField.tsx +26 -26
  35. package/src/components/MinimalistForm.tsx +17 -15
  36. package/src/components/MinimalistHoverCard.tsx +2 -2
  37. package/src/components/MinimalistInput.tsx +3 -3
  38. package/src/components/MinimalistInputGroup.tsx +21 -21
  39. package/src/components/MinimalistInputOtp.tsx +9 -9
  40. package/src/components/MinimalistItem.tsx +18 -17
  41. package/src/components/MinimalistKbd.tsx +3 -3
  42. package/src/components/MinimalistLabel.tsx +2 -2
  43. package/src/components/MinimalistMenubar.tsx +14 -14
  44. package/src/components/MinimalistNativeSelect.tsx +3 -3
  45. package/src/components/MinimalistNavigationMenu.tsx +8 -8
  46. package/src/components/MinimalistPagination.tsx +9 -9
  47. package/src/components/MinimalistPopover.tsx +20 -19
  48. package/src/components/MinimalistProgress.tsx +2 -2
  49. package/src/components/MinimalistRadioGroup.tsx +3 -3
  50. package/src/components/MinimalistRangeCalendar.tsx +15 -15
  51. package/src/components/MinimalistResizable.tsx +2 -2
  52. package/src/components/MinimalistScrollArea.tsx +1 -1
  53. package/src/components/MinimalistSelect.tsx +28 -31
  54. package/src/components/MinimalistSeparator.tsx +5 -5
  55. package/src/components/MinimalistSheet.tsx +13 -13
  56. package/src/components/MinimalistSidebar.tsx +73 -72
  57. package/src/components/MinimalistSkeleton.tsx +1 -1
  58. package/src/components/MinimalistSlider.tsx +8 -8
  59. package/src/components/MinimalistSonner.tsx +4 -4
  60. package/src/components/MinimalistSpinner.tsx +3 -3
  61. package/src/components/MinimalistSwitch.tsx +5 -5
  62. package/src/components/MinimalistTabs.tsx +13 -8
  63. package/src/components/MinimalistTextarea.tsx +3 -3
  64. package/src/components/MinimalistToggle.tsx +8 -8
  65. package/src/components/MinimalistToggleGroup.tsx +18 -17
  66. package/src/components/MinimalistTooltip.tsx +7 -7
  67. package/src/components/MinimalistTypography.tsx +1 -1
  68. package/src/components/NeubrutalismCard.tsx +82 -1
  69. package/src/components/ShadcnAccordion.tsx +9 -9
  70. package/src/components/ShadcnAlertDialog.tsx +44 -43
  71. package/src/components/ShadcnAspectRatio.tsx +2 -2
  72. package/src/components/ShadcnAvatar.tsx +13 -13
  73. package/src/components/ShadcnBadge.tsx +7 -7
  74. package/src/components/ShadcnBreadcrumb.tsx +6 -2
  75. package/src/components/ShadcnButton.tsx +7 -7
  76. package/src/components/ShadcnButtonGroup.tsx +28 -27
  77. package/src/components/ShadcnCalendar.tsx +16 -13
  78. package/src/components/ShadcnCarousel.tsx +12 -12
  79. package/src/components/ShadcnChart.tsx +15 -15
  80. package/src/components/ShadcnCheckbox.tsx +4 -4
  81. package/src/components/ShadcnCodeBlock.tsx +16 -16
  82. package/src/components/ShadcnCollapsible.tsx +2 -2
  83. package/src/components/ShadcnCommand.tsx +21 -21
  84. package/src/components/ShadcnContextMenu.tsx +50 -42
  85. package/src/components/ShadcnDialog.tsx +12 -8
  86. package/src/components/ShadcnDrawer.tsx +10 -6
  87. package/src/components/ShadcnDropdownMenu.tsx +67 -67
  88. package/src/components/ShadcnEmpty.tsx +8 -8
  89. package/src/components/ShadcnField.tsx +26 -26
  90. package/src/components/ShadcnForm.tsx +17 -15
  91. package/src/components/ShadcnHoverCard.tsx +2 -2
  92. package/src/components/ShadcnInput.tsx +3 -3
  93. package/src/components/ShadcnInputGroup.tsx +21 -21
  94. package/src/components/ShadcnInputOtp.tsx +9 -9
  95. package/src/components/ShadcnItem.tsx +18 -17
  96. package/src/components/ShadcnKbd.tsx +3 -3
  97. package/src/components/ShadcnLabel.tsx +2 -2
  98. package/src/components/ShadcnMenubar.tsx +14 -14
  99. package/src/components/ShadcnNativeSelect.tsx +3 -3
  100. package/src/components/ShadcnNavigationMenu.tsx +8 -8
  101. package/src/components/ShadcnPagination.tsx +9 -9
  102. package/src/components/ShadcnPopover.tsx +20 -19
  103. package/src/components/ShadcnProgress.tsx +2 -2
  104. package/src/components/ShadcnRadioGroup.tsx +3 -3
  105. package/src/components/ShadcnRangeCalendar.tsx +15 -15
  106. package/src/components/ShadcnSelect.tsx +28 -31
  107. package/src/components/ShadcnSeparator.tsx +5 -5
  108. package/src/components/ShadcnSheet.tsx +13 -13
  109. package/src/components/ShadcnSidebar.tsx +73 -72
  110. package/src/components/ShadcnSkeleton.tsx +1 -1
  111. package/src/components/ShadcnSlider.tsx +8 -8
  112. package/src/components/ShadcnSonner.tsx +4 -4
  113. package/src/components/ShadcnSpinner.tsx +3 -3
  114. package/src/components/ShadcnSwitch.tsx +5 -5
  115. package/src/components/ShadcnTabs.tsx +13 -8
  116. package/src/components/ShadcnTextarea.tsx +3 -3
  117. package/src/components/ShadcnToggle.tsx +8 -8
  118. package/src/components/ShadcnToggleGroup.tsx +18 -17
  119. package/src/components/ShadcnTooltip.tsx +7 -7
package/dist/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // src/components/GlassmorphismAlert.tsx
2
2
  import { CheckCircle2, ArrowRight } from "lucide-react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- var GlassmorphismAlert = ({ successMessage = "", createdComponent = null }) => {
4
+ var GlassmorphismAlert = ({
5
+ successMessage = "",
6
+ createdComponent = null
7
+ }) => {
5
8
  if (!successMessage || !createdComponent) {
6
9
  return null;
7
10
  }
@@ -417,25 +420,23 @@ function useAlertDialog() {
417
420
  }
418
421
  return context;
419
422
  }
420
- var ShadcnAlertDialogTrigger = React3.forwardRef(
421
- ({ onClick, children, ...props }, ref) => {
422
- const { setOpen } = useAlertDialog();
423
- return /* @__PURE__ */ jsx12(
424
- "button",
425
- {
426
- ref,
427
- type: "button",
428
- "data-slot": "alert-dialog-trigger",
429
- onClick: (e) => {
430
- onClick?.(e);
431
- setOpen(true);
432
- },
433
- ...props,
434
- children
435
- }
436
- );
437
- }
438
- );
423
+ var ShadcnAlertDialogTrigger = React3.forwardRef(({ onClick, children, ...props }, ref) => {
424
+ const { setOpen } = useAlertDialog();
425
+ return /* @__PURE__ */ jsx12(
426
+ "button",
427
+ {
428
+ ref,
429
+ type: "button",
430
+ "data-slot": "alert-dialog-trigger",
431
+ onClick: (e) => {
432
+ onClick?.(e);
433
+ setOpen(true);
434
+ },
435
+ ...props,
436
+ children
437
+ }
438
+ );
439
+ });
439
440
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
440
441
  var ShadcnAlertDialogOverlay = React3.forwardRef(
441
442
  ({ className, ...props }, ref) => {
@@ -932,25 +933,23 @@ var ShadcnButtonGroup = React8.forwardRef(
932
933
  }
933
934
  );
934
935
  ButtonGroup.displayName = "ButtonGroup";
935
- var ShadcnButtonGroupSeparator = React8.forwardRef(
936
- ({ className, orientation = "vertical", ...props }, ref) => {
937
- return /* @__PURE__ */ jsx18(
938
- "div",
939
- {
940
- ref,
941
- role: "separator",
942
- "aria-orientation": orientation,
943
- "data-slot": "button-group-separator",
944
- "data-orientation": orientation,
945
- className: cn8(
946
- "bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",
947
- className
948
- ),
949
- ...props
950
- }
951
- );
952
- }
953
- );
936
+ var ShadcnButtonGroupSeparator = React8.forwardRef(({ className, orientation = "vertical", ...props }, ref) => {
937
+ return /* @__PURE__ */ jsx18(
938
+ "div",
939
+ {
940
+ ref,
941
+ role: "separator",
942
+ "aria-orientation": orientation,
943
+ "data-slot": "button-group-separator",
944
+ "data-orientation": orientation,
945
+ className: cn8(
946
+ "bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",
947
+ className
948
+ ),
949
+ ...props
950
+ }
951
+ );
952
+ });
954
953
  ButtonGroupSeparator.displayName = "ButtonGroupSeparator";
955
954
  var ShadcnButtonGroupText = React8.forwardRef(
956
955
  ({ className, ...props }, ref) => {
@@ -2167,32 +2166,28 @@ var ShadcnContextMenuLabel = React17.forwardRef(
2167
2166
  )
2168
2167
  );
2169
2168
  ContextMenuLabel.displayName = "ContextMenuLabel";
2170
- var ShadcnContextMenuSeparator = React17.forwardRef(
2171
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2172
- "div",
2173
- {
2174
- ref,
2175
- "data-slot": "context-menu-separator",
2176
- className: cn16("-mx-1 my-1 h-px bg-border", className),
2177
- ...props
2178
- }
2179
- )
2180
- );
2169
+ var ShadcnContextMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2170
+ "div",
2171
+ {
2172
+ ref,
2173
+ "data-slot": "context-menu-separator",
2174
+ className: cn16("-mx-1 my-1 h-px bg-border", className),
2175
+ ...props
2176
+ }
2177
+ ));
2181
2178
  ContextMenuSeparator.displayName = "ContextMenuSeparator";
2182
- var ShadcnContextMenuShortcut = React17.forwardRef(
2183
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2184
- "span",
2185
- {
2186
- ref,
2187
- "data-slot": "context-menu-shortcut",
2188
- className: cn16(
2189
- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",
2190
- className
2191
- ),
2192
- ...props
2193
- }
2194
- )
2195
- );
2179
+ var ShadcnContextMenuShortcut = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
2180
+ "span",
2181
+ {
2182
+ ref,
2183
+ "data-slot": "context-menu-shortcut",
2184
+ className: cn16(
2185
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",
2186
+ className
2187
+ ),
2188
+ ...props
2189
+ }
2190
+ ));
2196
2191
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
2197
2192
  var ContextMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs20(
2198
2193
  "button",
@@ -2255,30 +2250,25 @@ import { Check as Check5, Minus as Minus2, ChevronRight as ChevronRight5 } from
2255
2250
  import { cn as cn19 } from "@surreal-ui/core";
2256
2251
  import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs23 } from "react/jsx-runtime";
2257
2252
  var DropdownMenuContext = React20.createContext(null);
2258
- var ShadcnDropdownMenuTrigger = React20.forwardRef(
2259
- ({ className, onClick, ...props }, ref) => {
2260
- const context = React20.useContext(DropdownMenuContext);
2261
- return /* @__PURE__ */ jsx30(
2262
- "button",
2263
- {
2264
- ref,
2265
- type: "button",
2266
- "data-slot": "dropdown-menu-trigger",
2267
- "aria-haspopup": "menu",
2268
- "aria-expanded": context?.open ?? false,
2269
- className: cn19(
2270
- "inline-flex items-center justify-center outline-none select-none",
2271
- className
2272
- ),
2273
- onClick: (e) => {
2274
- context?.setOpen((prev) => !prev);
2275
- onClick?.(e);
2276
- },
2277
- ...props
2278
- }
2279
- );
2280
- }
2281
- );
2253
+ var ShadcnDropdownMenuTrigger = React20.forwardRef(({ className, onClick, ...props }, ref) => {
2254
+ const context = React20.useContext(DropdownMenuContext);
2255
+ return /* @__PURE__ */ jsx30(
2256
+ "button",
2257
+ {
2258
+ ref,
2259
+ type: "button",
2260
+ "data-slot": "dropdown-menu-trigger",
2261
+ "aria-haspopup": "menu",
2262
+ "aria-expanded": context?.open ?? false,
2263
+ className: cn19("inline-flex items-center justify-center outline-none select-none", className),
2264
+ onClick: (e) => {
2265
+ context?.setOpen((prev) => !prev);
2266
+ onClick?.(e);
2267
+ },
2268
+ ...props
2269
+ }
2270
+ );
2271
+ });
2282
2272
  DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
2283
2273
  var ShadcnDropdownMenuContent = React20.forwardRef(
2284
2274
  ({ className, sideOffset = 4, align = "start", children, ...props }, ref) => {
@@ -2480,33 +2470,29 @@ var ShadcnDropdownMenuLabel = React20.forwardRef(
2480
2470
  )
2481
2471
  );
2482
2472
  DropdownMenuLabel.displayName = "DropdownMenuLabel";
2483
- var ShadcnDropdownMenuSeparator = React20.forwardRef(
2484
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2485
- "div",
2486
- {
2487
- ref,
2488
- role: "separator",
2489
- "data-slot": "dropdown-menu-separator",
2490
- className: cn19("-mx-1 my-1 h-px bg-border", className),
2491
- ...props
2492
- }
2493
- )
2494
- );
2473
+ var ShadcnDropdownMenuSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2474
+ "div",
2475
+ {
2476
+ ref,
2477
+ role: "separator",
2478
+ "data-slot": "dropdown-menu-separator",
2479
+ className: cn19("-mx-1 my-1 h-px bg-border", className),
2480
+ ...props
2481
+ }
2482
+ ));
2495
2483
  DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
2496
- var ShadcnDropdownMenuShortcut = React20.forwardRef(
2497
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2498
- "span",
2499
- {
2500
- ref,
2501
- "data-slot": "dropdown-menu-shortcut",
2502
- className: cn19(
2503
- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
2504
- className
2505
- ),
2506
- ...props
2507
- }
2508
- )
2509
- );
2484
+ var ShadcnDropdownMenuShortcut = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
2485
+ "span",
2486
+ {
2487
+ ref,
2488
+ "data-slot": "dropdown-menu-shortcut",
2489
+ className: cn19(
2490
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
2491
+ className
2492
+ ),
2493
+ ...props
2494
+ }
2495
+ ));
2510
2496
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2511
2497
  var DropdownMenuSubTrigger = React20.forwardRef(
2512
2498
  ({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs23(
@@ -2820,7 +2806,9 @@ var useFormField = () => {
2820
2806
  error: itemContext.error
2821
2807
  };
2822
2808
  };
2823
- var ShadcnForm = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34("form", { ref, className: cn22("space-y-6", className), ...props }));
2809
+ var ShadcnForm = React22.forwardRef(
2810
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx34("form", { ref, className: cn22("space-y-6", className), ...props })
2811
+ );
2824
2812
  Form.displayName = "Form";
2825
2813
  var ShadcnFormItem = React22.forwardRef(
2826
2814
  ({ className, id: customId, name, error, ...props }, ref) => {
@@ -3624,17 +3612,15 @@ var ShadcnPopoverTitle = React31.forwardRef(
3624
3612
  )
3625
3613
  );
3626
3614
  PopoverTitle.displayName = "PopoverTitle";
3627
- var ShadcnPopoverDescription = React31.forwardRef(
3628
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
3629
- "p",
3630
- {
3631
- ref,
3632
- "data-slot": "popover-description",
3633
- className: cn34("text-muted-foreground text-xs", className),
3634
- ...props
3635
- }
3636
- )
3637
- );
3615
+ var ShadcnPopoverDescription = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
3616
+ "p",
3617
+ {
3618
+ ref,
3619
+ "data-slot": "popover-description",
3620
+ className: cn34("text-muted-foreground text-xs", className),
3621
+ ...props
3622
+ }
3623
+ ));
3638
3624
  PopoverDescription.displayName = "PopoverDescription";
3639
3625
  var ShadcnPopoverClose = React31.forwardRef(
3640
3626
  ({ className, onClick, ...props }, ref) => {
@@ -3838,17 +3824,7 @@ var ShadcnSelectContent = React37.forwardRef(
3838
3824
  }
3839
3825
  );
3840
3826
  SelectContent.displayName = "SelectContent";
3841
- var ShadcnSelectGroup = React37.forwardRef(
3842
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3843
- "div",
3844
- {
3845
- ref,
3846
- "data-slot": "select-group",
3847
- className: cn38("scroll-my-1 p-1", className),
3848
- ...props
3849
- }
3850
- )
3851
- );
3827
+ var ShadcnSelectGroup = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52("div", { ref, "data-slot": "select-group", className: cn38("scroll-my-1 p-1", className), ...props }));
3852
3828
  SelectGroup.displayName = "SelectGroup";
3853
3829
  var SelectGroupHeading = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3854
3830
  "div",
@@ -3860,17 +3836,15 @@ var SelectGroupHeading = React37.forwardRef(({ className, ...props }, ref) => /*
3860
3836
  }
3861
3837
  ));
3862
3838
  SelectGroupHeading.displayName = "SelectGroupHeading";
3863
- var ShadcnSelectLabel = React37.forwardRef(
3864
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3865
- "div",
3866
- {
3867
- ref,
3868
- "data-slot": "select-label",
3869
- className: cn38("px-1.5 py-1 text-xs text-muted-foreground", className),
3870
- ...props
3871
- }
3872
- )
3873
- );
3839
+ var ShadcnSelectLabel = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx52(
3840
+ "div",
3841
+ {
3842
+ ref,
3843
+ "data-slot": "select-label",
3844
+ className: cn38("px-1.5 py-1 text-xs text-muted-foreground", className),
3845
+ ...props
3846
+ }
3847
+ ));
3874
3848
  SelectLabel.displayName = "SelectLabel";
3875
3849
  var ShadcnSelectItem = React37.forwardRef(
3876
3850
  ({ className, value, label, disabled = false, children, ...props }, ref) => {
@@ -4263,33 +4237,31 @@ var ShadcnSidebar = React40.forwardRef(
4263
4237
  }
4264
4238
  );
4265
4239
  Sidebar.displayName = "Sidebar";
4266
- var ShadcnSidebarTrigger = React40.forwardRef(
4267
- ({ className, onClick, ...props }, ref) => {
4268
- const { toggleSidebar } = useSidebar();
4269
- return /* @__PURE__ */ jsxs36(
4270
- "button",
4271
- {
4272
- ref,
4273
- type: "button",
4274
- "data-sidebar": "trigger",
4275
- "data-slot": "sidebar-trigger",
4276
- className: cn41(
4277
- "inline-flex items-center justify-center size-8 rounded-md hover:bg-sidebar-accent hover:text-sidebar-accent-foreground text-sidebar-foreground transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-sidebar-ring",
4278
- className
4279
- ),
4280
- onClick: (e) => {
4281
- onClick?.(e);
4282
- toggleSidebar();
4283
- },
4284
- ...props,
4285
- children: [
4286
- /* @__PURE__ */ jsx55(PanelLeft, { className: "size-4" }),
4287
- /* @__PURE__ */ jsx55("span", { className: "sr-only", children: "Toggle Sidebar" })
4288
- ]
4289
- }
4290
- );
4291
- }
4292
- );
4240
+ var ShadcnSidebarTrigger = React40.forwardRef(({ className, onClick, ...props }, ref) => {
4241
+ const { toggleSidebar } = useSidebar();
4242
+ return /* @__PURE__ */ jsxs36(
4243
+ "button",
4244
+ {
4245
+ ref,
4246
+ type: "button",
4247
+ "data-sidebar": "trigger",
4248
+ "data-slot": "sidebar-trigger",
4249
+ className: cn41(
4250
+ "inline-flex items-center justify-center size-8 rounded-md hover:bg-sidebar-accent hover:text-sidebar-accent-foreground text-sidebar-foreground transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-sidebar-ring",
4251
+ className
4252
+ ),
4253
+ onClick: (e) => {
4254
+ onClick?.(e);
4255
+ toggleSidebar();
4256
+ },
4257
+ ...props,
4258
+ children: [
4259
+ /* @__PURE__ */ jsx55(PanelLeft, { className: "size-4" }),
4260
+ /* @__PURE__ */ jsx55("span", { className: "sr-only", children: "Toggle Sidebar" })
4261
+ ]
4262
+ }
4263
+ );
4264
+ });
4293
4265
  SidebarTrigger.displayName = "SidebarTrigger";
4294
4266
  var SidebarRail = React40.forwardRef(
4295
4267
  ({ className, onClick, ...props }, ref) => {
@@ -5298,8 +5270,12 @@ var MinimalistTypography_default = MinimalistTypography;
5298
5270
  // src/components/NeubrutalismCard.tsx
5299
5271
  import { Sparkles as Sparkles5, AlertTriangle, ShieldCheck, ArrowRight as ArrowRight3 } from "lucide-react";
5300
5272
  import { Fragment as Fragment15, jsx as jsx68, jsxs as jsxs41 } from "react/jsx-runtime";
5301
- var NeubrutalismCard = ({ loading = false, errorMsg = "", onLogin = () => {
5302
- } }) => {
5273
+ var NeubrutalismCard = ({
5274
+ loading = false,
5275
+ errorMsg = "",
5276
+ onLogin = () => {
5277
+ }
5278
+ }) => {
5303
5279
  return /* @__PURE__ */ jsxs41("div", { className: "min-h-screen bg-slate-950 text-slate-100 flex items-center justify-center p-4 relative overflow-hidden", children: [
5304
5280
  /* @__PURE__ */ jsx68("div", { className: "absolute -top-40 -left-40 w-96 h-96 bg-indigo-600/20 rounded-full blur-3xl pointer-events-none" }),
5305
5281
  /* @__PURE__ */ jsx68("div", { className: "absolute -bottom-40 -right-40 w-96 h-96 bg-purple-600/20 rounded-full blur-3xl pointer-events-none" }),
@@ -5322,19 +5298,51 @@ var NeubrutalismCard = ({ loading = false, errorMsg = "", onLogin = () => {
5322
5298
  /* @__PURE__ */ jsx68(ShieldCheck, { className: "w-4 h-4 text-black shrink-0" }),
5323
5299
  /* @__PURE__ */ jsx68("span", { children: "Access is restricted to authorized accounts only." })
5324
5300
  ] }),
5325
- /* @__PURE__ */ jsx68("button", { onClick: onLogin, disabled: loading, className: "w-full py-3.5 px-4 bg-green-400 hover:bg-green-500 text-black font-black border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] active:translate-x-1 active:translate-y-1 active:shadow-none flex items-center justify-center gap-2 transition-all disabled:opacity-50 disabled:cursor-not-allowed group", children: loading ? /* @__PURE__ */ jsxs41(Fragment15, { children: [
5326
- /* @__PURE__ */ jsx68("span", { className: "w-5 h-5 border-2 border-black border-t-transparent rounded-full animate-spin" }),
5327
- /* @__PURE__ */ jsx68("span", { children: "Authenticating..." })
5328
- ] }) : /* @__PURE__ */ jsxs41(Fragment15, { children: [
5329
- /* @__PURE__ */ jsxs41("svg", { className: "w-5 h-5 fill-current", viewBox: "0 0 24 24", children: [
5330
- /* @__PURE__ */ jsx68("path", { d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z", fill: "#000" }),
5331
- /* @__PURE__ */ jsx68("path", { d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "#000" }),
5332
- /* @__PURE__ */ jsx68("path", { d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z", fill: "#000" }),
5333
- /* @__PURE__ */ jsx68("path", { d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z", fill: "#000" })
5334
- ] }),
5335
- /* @__PURE__ */ jsx68("span", { children: "Sign In with Google" }),
5336
- /* @__PURE__ */ jsx68(ArrowRight3, { className: "w-4 h-4 group-hover:translate-x-1 transition-transform" })
5337
- ] }) })
5301
+ /* @__PURE__ */ jsx68(
5302
+ "button",
5303
+ {
5304
+ onClick: onLogin,
5305
+ disabled: loading,
5306
+ className: "w-full py-3.5 px-4 bg-green-400 hover:bg-green-500 text-black font-black border-2 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] active:translate-x-1 active:translate-y-1 active:shadow-none flex items-center justify-center gap-2 transition-all disabled:opacity-50 disabled:cursor-not-allowed group",
5307
+ children: loading ? /* @__PURE__ */ jsxs41(Fragment15, { children: [
5308
+ /* @__PURE__ */ jsx68("span", { className: "w-5 h-5 border-2 border-black border-t-transparent rounded-full animate-spin" }),
5309
+ /* @__PURE__ */ jsx68("span", { children: "Authenticating..." })
5310
+ ] }) : /* @__PURE__ */ jsxs41(Fragment15, { children: [
5311
+ /* @__PURE__ */ jsxs41("svg", { className: "w-5 h-5 fill-current", viewBox: "0 0 24 24", children: [
5312
+ /* @__PURE__ */ jsx68(
5313
+ "path",
5314
+ {
5315
+ d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",
5316
+ fill: "#000"
5317
+ }
5318
+ ),
5319
+ /* @__PURE__ */ jsx68(
5320
+ "path",
5321
+ {
5322
+ d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",
5323
+ fill: "#000"
5324
+ }
5325
+ ),
5326
+ /* @__PURE__ */ jsx68(
5327
+ "path",
5328
+ {
5329
+ d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z",
5330
+ fill: "#000"
5331
+ }
5332
+ ),
5333
+ /* @__PURE__ */ jsx68(
5334
+ "path",
5335
+ {
5336
+ d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z",
5337
+ fill: "#000"
5338
+ }
5339
+ )
5340
+ ] }),
5341
+ /* @__PURE__ */ jsx68("span", { children: "Sign In with Google" }),
5342
+ /* @__PURE__ */ jsx68(ArrowRight3, { className: "w-4 h-4 group-hover:translate-x-1 transition-transform" })
5343
+ ] })
5344
+ }
5345
+ )
5338
5346
  ] })
5339
5347
  ] });
5340
5348
  };
@@ -5561,25 +5569,23 @@ function ShadcnAlertDialog({
5561
5569
  );
5562
5570
  return /* @__PURE__ */ jsx71(AlertDialogContext2.Provider, { value: { open, setOpen }, children });
5563
5571
  }
5564
- var ShadcnAlertDialogTrigger2 = React50.forwardRef(
5565
- ({ onClick, children, ...props }, ref) => {
5566
- const { setOpen } = useAlertDialog2();
5567
- return /* @__PURE__ */ jsx71(
5568
- "button",
5569
- {
5570
- ref,
5571
- type: "button",
5572
- "data-slot": "alert-dialog-trigger",
5573
- onClick: (e) => {
5574
- onClick?.(e);
5575
- setOpen(true);
5576
- },
5577
- ...props,
5578
- children
5579
- }
5580
- );
5581
- }
5582
- );
5572
+ var ShadcnAlertDialogTrigger2 = React50.forwardRef(({ onClick, children, ...props }, ref) => {
5573
+ const { setOpen } = useAlertDialog2();
5574
+ return /* @__PURE__ */ jsx71(
5575
+ "button",
5576
+ {
5577
+ ref,
5578
+ type: "button",
5579
+ "data-slot": "alert-dialog-trigger",
5580
+ onClick: (e) => {
5581
+ onClick?.(e);
5582
+ setOpen(true);
5583
+ },
5584
+ ...props,
5585
+ children
5586
+ }
5587
+ );
5588
+ });
5583
5589
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
5584
5590
  var ShadcnAlertDialogOverlay2 = React50.forwardRef(
5585
5591
  ({ className, ...props }, ref) => {
@@ -6087,25 +6093,23 @@ var ShadcnButtonGroup2 = React55.forwardRef(
6087
6093
  }
6088
6094
  );
6089
6095
  ButtonGroup.displayName = "ButtonGroup";
6090
- var ShadcnButtonGroupSeparator2 = React55.forwardRef(
6091
- ({ className, orientation = "vertical", ...props }, ref) => {
6092
- return /* @__PURE__ */ jsx77(
6093
- "div",
6094
- {
6095
- ref,
6096
- role: "separator",
6097
- "aria-orientation": orientation,
6098
- "data-slot": "button-group-separator",
6099
- "data-orientation": orientation,
6100
- className: cn58(
6101
- "bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",
6102
- className
6103
- ),
6104
- ...props
6105
- }
6106
- );
6107
- }
6108
- );
6096
+ var ShadcnButtonGroupSeparator2 = React55.forwardRef(({ className, orientation = "vertical", ...props }, ref) => {
6097
+ return /* @__PURE__ */ jsx77(
6098
+ "div",
6099
+ {
6100
+ ref,
6101
+ role: "separator",
6102
+ "aria-orientation": orientation,
6103
+ "data-slot": "button-group-separator",
6104
+ "data-orientation": orientation,
6105
+ className: cn58(
6106
+ "bg-input relative self-stretch data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",
6107
+ className
6108
+ ),
6109
+ ...props
6110
+ }
6111
+ );
6112
+ });
6109
6113
  ButtonGroupSeparator.displayName = "ButtonGroupSeparator";
6110
6114
  var ShadcnButtonGroupText2 = React55.forwardRef(
6111
6115
  ({ className, ...props }, ref) => {
@@ -7373,7 +7377,11 @@ import { Check as Check12, ChevronRight as ChevronRight12 } from "lucide-react";
7373
7377
  import { cn as cn66 } from "@surreal-ui/core";
7374
7378
  import { Fragment as Fragment19, jsx as jsx85, jsxs as jsxs52 } from "react/jsx-runtime";
7375
7379
  var ContextMenuContext2 = React63.createContext(null);
7376
- function ShadcnContextMenu({ children, open: controlledOpen, onOpenChange }) {
7380
+ function ShadcnContextMenu({
7381
+ children,
7382
+ open: controlledOpen,
7383
+ onOpenChange
7384
+ }) {
7377
7385
  const [uncontrolledOpen, setUncontrolledOpen] = React63.useState(false);
7378
7386
  const [position, setPosition] = React63.useState({ x: 0, y: 0 });
7379
7387
  const isControlled = controlledOpen !== void 0;
@@ -7594,32 +7602,28 @@ var ShadcnContextMenuLabel2 = React63.forwardRef(
7594
7602
  )
7595
7603
  );
7596
7604
  ContextMenuLabel.displayName = "ContextMenuLabel";
7597
- var ShadcnContextMenuSeparator2 = React63.forwardRef(
7598
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
7599
- "div",
7600
- {
7601
- ref,
7602
- "data-slot": "context-menu-separator",
7603
- className: cn66("-mx-1 my-1 h-px bg-border", className),
7604
- ...props
7605
- }
7606
- )
7607
- );
7605
+ var ShadcnContextMenuSeparator2 = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
7606
+ "div",
7607
+ {
7608
+ ref,
7609
+ "data-slot": "context-menu-separator",
7610
+ className: cn66("-mx-1 my-1 h-px bg-border", className),
7611
+ ...props
7612
+ }
7613
+ ));
7608
7614
  ContextMenuSeparator.displayName = "ContextMenuSeparator";
7609
- var ShadcnContextMenuShortcut2 = React63.forwardRef(
7610
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
7611
- "span",
7612
- {
7613
- ref,
7614
- "data-slot": "context-menu-shortcut",
7615
- className: cn66(
7616
- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",
7617
- className
7618
- ),
7619
- ...props
7620
- }
7621
- )
7622
- );
7615
+ var ShadcnContextMenuShortcut2 = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
7616
+ "span",
7617
+ {
7618
+ ref,
7619
+ "data-slot": "context-menu-shortcut",
7620
+ className: cn66(
7621
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",
7622
+ className
7623
+ ),
7624
+ ...props
7625
+ }
7626
+ ));
7623
7627
  ContextMenuShortcut.displayName = "ContextMenuShortcut";
7624
7628
  var ContextMenuSubTrigger2 = React63.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs52(
7625
7629
  "button",
@@ -7744,30 +7748,25 @@ function ShadcnDropdownMenu({
7744
7748
  );
7745
7749
  return /* @__PURE__ */ jsx88(DropdownMenuContext2.Provider, { value: { open, setOpen }, children: /* @__PURE__ */ jsx88("div", { className: "relative inline-block text-left", "data-slot": "dropdown-menu", children }) });
7746
7750
  }
7747
- var ShadcnDropdownMenuTrigger2 = React66.forwardRef(
7748
- ({ className, onClick, ...props }, ref) => {
7749
- const context = React66.useContext(DropdownMenuContext2);
7750
- return /* @__PURE__ */ jsx88(
7751
- "button",
7752
- {
7753
- ref,
7754
- type: "button",
7755
- "data-slot": "dropdown-menu-trigger",
7756
- "aria-haspopup": "menu",
7757
- "aria-expanded": context?.open ?? false,
7758
- className: cn69(
7759
- "inline-flex items-center justify-center outline-none select-none",
7760
- className
7761
- ),
7762
- onClick: (e) => {
7763
- context?.setOpen((prev) => !prev);
7764
- onClick?.(e);
7765
- },
7766
- ...props
7767
- }
7768
- );
7769
- }
7770
- );
7751
+ var ShadcnDropdownMenuTrigger2 = React66.forwardRef(({ className, onClick, ...props }, ref) => {
7752
+ const context = React66.useContext(DropdownMenuContext2);
7753
+ return /* @__PURE__ */ jsx88(
7754
+ "button",
7755
+ {
7756
+ ref,
7757
+ type: "button",
7758
+ "data-slot": "dropdown-menu-trigger",
7759
+ "aria-haspopup": "menu",
7760
+ "aria-expanded": context?.open ?? false,
7761
+ className: cn69("inline-flex items-center justify-center outline-none select-none", className),
7762
+ onClick: (e) => {
7763
+ context?.setOpen((prev) => !prev);
7764
+ onClick?.(e);
7765
+ },
7766
+ ...props
7767
+ }
7768
+ );
7769
+ });
7771
7770
  DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
7772
7771
  var ShadcnDropdownMenuContent2 = React66.forwardRef(
7773
7772
  ({ className, sideOffset = 4, align = "start", children, ...props }, ref) => {
@@ -7969,33 +7968,29 @@ var ShadcnDropdownMenuLabel2 = React66.forwardRef(
7969
7968
  )
7970
7969
  );
7971
7970
  DropdownMenuLabel.displayName = "DropdownMenuLabel";
7972
- var ShadcnDropdownMenuSeparator2 = React66.forwardRef(
7973
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
7974
- "div",
7975
- {
7976
- ref,
7977
- role: "separator",
7978
- "data-slot": "dropdown-menu-separator",
7979
- className: cn69("-mx-1 my-1 h-px bg-border", className),
7980
- ...props
7981
- }
7982
- )
7983
- );
7971
+ var ShadcnDropdownMenuSeparator2 = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
7972
+ "div",
7973
+ {
7974
+ ref,
7975
+ role: "separator",
7976
+ "data-slot": "dropdown-menu-separator",
7977
+ className: cn69("-mx-1 my-1 h-px bg-border", className),
7978
+ ...props
7979
+ }
7980
+ ));
7984
7981
  DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
7985
- var ShadcnDropdownMenuShortcut2 = React66.forwardRef(
7986
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
7987
- "span",
7988
- {
7989
- ref,
7990
- "data-slot": "dropdown-menu-shortcut",
7991
- className: cn69(
7992
- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
7993
- className
7994
- ),
7995
- ...props
7996
- }
7997
- )
7998
- );
7982
+ var ShadcnDropdownMenuShortcut2 = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx88(
7983
+ "span",
7984
+ {
7985
+ ref,
7986
+ "data-slot": "dropdown-menu-shortcut",
7987
+ className: cn69(
7988
+ "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
7989
+ className
7990
+ ),
7991
+ ...props
7992
+ }
7993
+ ));
7999
7994
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
8000
7995
  var DropdownMenuSubTrigger2 = React66.forwardRef(
8001
7996
  ({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs55(
@@ -8297,7 +8292,9 @@ var useFormField2 = () => {
8297
8292
  error: itemContext.error
8298
8293
  };
8299
8294
  };
8300
- var ShadcnForm2 = React68.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx91("form", { ref, className: cn72("space-y-6", className), ...props }));
8295
+ var ShadcnForm2 = React68.forwardRef(
8296
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx91("form", { ref, className: cn72("space-y-6", className), ...props })
8297
+ );
8301
8298
  Form.displayName = "Form";
8302
8299
  var ShadcnFormItem2 = React68.forwardRef(
8303
8300
  ({ className, id: customId, name, error, ...props }, ref) => {
@@ -9208,17 +9205,15 @@ var ShadcnPopoverTitle2 = React77.forwardRef(
9208
9205
  )
9209
9206
  );
9210
9207
  PopoverTitle.displayName = "PopoverTitle";
9211
- var ShadcnPopoverDescription2 = React77.forwardRef(
9212
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx103(
9213
- "p",
9214
- {
9215
- ref,
9216
- "data-slot": "popover-description",
9217
- className: cn84("text-muted-foreground text-xs", className),
9218
- ...props
9219
- }
9220
- )
9221
- );
9208
+ var ShadcnPopoverDescription2 = React77.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx103(
9209
+ "p",
9210
+ {
9211
+ ref,
9212
+ "data-slot": "popover-description",
9213
+ className: cn84("text-muted-foreground text-xs", className),
9214
+ ...props
9215
+ }
9216
+ ));
9222
9217
  PopoverDescription.displayName = "PopoverDescription";
9223
9218
  var ShadcnPopoverClose2 = React77.forwardRef(
9224
9219
  ({ className, onClick, ...props }, ref) => {
@@ -9652,17 +9647,7 @@ var ShadcnSelectContent2 = React81.forwardRef(
9652
9647
  }
9653
9648
  );
9654
9649
  SelectContent.displayName = "SelectContent";
9655
- var ShadcnSelectGroup2 = React81.forwardRef(
9656
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx107(
9657
- "div",
9658
- {
9659
- ref,
9660
- "data-slot": "select-group",
9661
- className: cn88("scroll-my-1 p-1", className),
9662
- ...props
9663
- }
9664
- )
9665
- );
9650
+ var ShadcnSelectGroup2 = React81.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx107("div", { ref, "data-slot": "select-group", className: cn88("scroll-my-1 p-1", className), ...props }));
9666
9651
  SelectGroup.displayName = "SelectGroup";
9667
9652
  var SelectGroupHeading2 = React81.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx107(
9668
9653
  "div",
@@ -9674,17 +9659,15 @@ var SelectGroupHeading2 = React81.forwardRef(({ className, ...props }, ref) => /
9674
9659
  }
9675
9660
  ));
9676
9661
  SelectGroupHeading2.displayName = "SelectGroupHeading";
9677
- var ShadcnSelectLabel2 = React81.forwardRef(
9678
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx107(
9679
- "div",
9680
- {
9681
- ref,
9682
- "data-slot": "select-label",
9683
- className: cn88("px-1.5 py-1 text-xs text-muted-foreground", className),
9684
- ...props
9685
- }
9686
- )
9687
- );
9662
+ var ShadcnSelectLabel2 = React81.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx107(
9663
+ "div",
9664
+ {
9665
+ ref,
9666
+ "data-slot": "select-label",
9667
+ className: cn88("px-1.5 py-1 text-xs text-muted-foreground", className),
9668
+ ...props
9669
+ }
9670
+ ));
9688
9671
  SelectLabel.displayName = "SelectLabel";
9689
9672
  var ShadcnSelectItem2 = React81.forwardRef(
9690
9673
  ({ className, value, label, disabled = false, children, ...props }, ref) => {
@@ -10098,33 +10081,31 @@ var ShadcnSidebar2 = React84.forwardRef(
10098
10081
  }
10099
10082
  );
10100
10083
  Sidebar.displayName = "Sidebar";
10101
- var ShadcnSidebarTrigger2 = React84.forwardRef(
10102
- ({ className, onClick, ...props }, ref) => {
10103
- const { toggleSidebar } = useSidebar2();
10104
- return /* @__PURE__ */ jsxs65(
10105
- "button",
10106
- {
10107
- ref,
10108
- type: "button",
10109
- "data-sidebar": "trigger",
10110
- "data-slot": "sidebar-trigger",
10111
- className: cn91(
10112
- "inline-flex items-center justify-center size-8 rounded-md hover:bg-sidebar-accent hover:text-sidebar-accent-foreground text-sidebar-foreground transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-sidebar-ring",
10113
- className
10114
- ),
10115
- onClick: (e) => {
10116
- onClick?.(e);
10117
- toggleSidebar();
10118
- },
10119
- ...props,
10120
- children: [
10121
- /* @__PURE__ */ jsx110(PanelLeft2, { className: "size-4" }),
10122
- /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Toggle Sidebar" })
10123
- ]
10124
- }
10125
- );
10126
- }
10127
- );
10084
+ var ShadcnSidebarTrigger2 = React84.forwardRef(({ className, onClick, ...props }, ref) => {
10085
+ const { toggleSidebar } = useSidebar2();
10086
+ return /* @__PURE__ */ jsxs65(
10087
+ "button",
10088
+ {
10089
+ ref,
10090
+ type: "button",
10091
+ "data-sidebar": "trigger",
10092
+ "data-slot": "sidebar-trigger",
10093
+ className: cn91(
10094
+ "inline-flex items-center justify-center size-8 rounded-md hover:bg-sidebar-accent hover:text-sidebar-accent-foreground text-sidebar-foreground transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-sidebar-ring",
10095
+ className
10096
+ ),
10097
+ onClick: (e) => {
10098
+ onClick?.(e);
10099
+ toggleSidebar();
10100
+ },
10101
+ ...props,
10102
+ children: [
10103
+ /* @__PURE__ */ jsx110(PanelLeft2, { className: "size-4" }),
10104
+ /* @__PURE__ */ jsx110("span", { className: "sr-only", children: "Toggle Sidebar" })
10105
+ ]
10106
+ }
10107
+ );
10108
+ });
10128
10109
  SidebarTrigger.displayName = "SidebarTrigger";
10129
10110
  var SidebarRail2 = React84.forwardRef(
10130
10111
  ({ className, onClick, ...props }, ref) => {