@nextlyhq/ui 0.0.2-alpha.3 → 0.0.2-alpha.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2,21 +2,21 @@
2
2
 
3
3
  var reactSlot = require('@radix-ui/react-slot');
4
4
  var classVarianceAuthority = require('class-variance-authority');
5
- var React5 = require('react');
5
+ var React6 = require('react');
6
6
  var clsx = require('clsx');
7
7
  var tailwindMerge = require('tailwind-merge');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
  var reactLabel = require('@radix-ui/react-label');
10
+ var lucideReact = require('lucide-react');
11
+ var reactTooltip = require('@radix-ui/react-tooltip');
10
12
  var SeparatorPrimitive = require('@radix-ui/react-separator');
11
13
  var CheckboxPrimitive = require('@radix-ui/react-checkbox');
12
- var lucideReact = require('lucide-react');
13
14
  var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
14
15
  var reactSwitch = require('@radix-ui/react-switch');
15
16
  var CollapsiblePrimitive = require('@radix-ui/react-collapsible');
16
17
  var AccordionPrimitive = require('@radix-ui/react-accordion');
17
18
  var reactAvatar = require('@radix-ui/react-avatar');
18
19
  var reactTabs = require('@radix-ui/react-tabs');
19
- var reactTooltip = require('@radix-ui/react-tooltip');
20
20
  var PopoverPrimitive = require('@radix-ui/react-popover');
21
21
  var DialogPrimitive = require('@radix-ui/react-dialog');
22
22
  var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
@@ -43,7 +43,7 @@ function _interopNamespace(e) {
43
43
  return Object.freeze(n);
44
44
  }
45
45
 
46
- var React5__namespace = /*#__PURE__*/_interopNamespace(React5);
46
+ var React6__namespace = /*#__PURE__*/_interopNamespace(React6);
47
47
  var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
48
48
  var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
49
49
  var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
@@ -88,7 +88,7 @@ var buttonVariants = classVarianceAuthority.cva(
88
88
  }
89
89
  }
90
90
  );
91
- var Button = React5.forwardRef(
91
+ var Button = React6.forwardRef(
92
92
  ({
93
93
  className,
94
94
  variant = "default",
@@ -98,7 +98,7 @@ var Button = React5.forwardRef(
98
98
  ...props
99
99
  }, ref) => {
100
100
  const Comp = asChild ? reactSlot.Slot : "button";
101
- const hasMultipleChildren = React5__namespace.Children.count(children) > 1;
101
+ const hasMultipleChildren = React6__namespace.Children.count(children) > 1;
102
102
  return /* @__PURE__ */ jsxRuntime.jsx(
103
103
  Comp,
104
104
  {
@@ -130,7 +130,7 @@ var inputVariants = classVarianceAuthority.cva(
130
130
  }
131
131
  }
132
132
  );
133
- var Input = React5.forwardRef(
133
+ var Input = React6.forwardRef(
134
134
  ({ className, type, size, ...props }, ref) => {
135
135
  return /* @__PURE__ */ jsxRuntime.jsx(
136
136
  "input",
@@ -145,7 +145,7 @@ var Input = React5.forwardRef(
145
145
  }
146
146
  );
147
147
  Input.displayName = "Input";
148
- var Textarea = React5.forwardRef(({ className, ...props }, ref) => {
148
+ var Textarea = React6.forwardRef(({ className, ...props }, ref) => {
149
149
  return /* @__PURE__ */ jsxRuntime.jsx(
150
150
  "textarea",
151
151
  {
@@ -174,6 +174,67 @@ function Label({ className, ...props }) {
174
174
  }
175
175
  );
176
176
  }
177
+ var TooltipProvider = reactTooltip.Provider;
178
+ var Tooltip = reactTooltip.Root;
179
+ var TooltipTrigger = reactTooltip.Trigger;
180
+ var TooltipContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
181
+ reactTooltip.Content,
182
+ {
183
+ ref,
184
+ sideOffset,
185
+ "data-slot": "tooltip-content",
186
+ className: cn(
187
+ "z-50 overflow-hidden rounded-none px-3 py-1.5 text-xs shadow-lg border border-primary/5 bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
188
+ className
189
+ ),
190
+ ...props
191
+ }
192
+ ));
193
+ TooltipContent.displayName = reactTooltip.Content.displayName;
194
+ var FormLabelWithTooltip = React6__namespace.forwardRef(
195
+ ({
196
+ className,
197
+ labelClassName,
198
+ tooltipClassName,
199
+ label,
200
+ description,
201
+ required,
202
+ ...props
203
+ }, ref) => {
204
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-2", className), children: [
205
+ /* @__PURE__ */ jsxRuntime.jsxs(Label, { ref, className: labelClassName, ...props, children: [
206
+ label,
207
+ required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive ml-1", children: "*" })
208
+ ] }),
209
+ description && /* @__PURE__ */ jsxRuntime.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(Tooltip, { delayDuration: 200, children: [
210
+ /* @__PURE__ */ jsxRuntime.jsxs(
211
+ TooltipTrigger,
212
+ {
213
+ type: "button",
214
+ tabIndex: -1,
215
+ className: "shrink-0 text-muted-foreground hover:text-foreground focus:outline-none focus:text-foreground transition-colors cursor-help",
216
+ children: [
217
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Info, { className: "h-3.5 w-3.5" }),
218
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Toggle description" })
219
+ ]
220
+ }
221
+ ),
222
+ /* @__PURE__ */ jsxRuntime.jsx(
223
+ TooltipContent,
224
+ {
225
+ side: "right",
226
+ className: cn(
227
+ "max-w-[250px] text-[12px] break-words relative z-[100] shadow-md border border-primary/5 bg-black text-white dark:bg-zinc-800 dark:text-zinc-50 px-3 py-2 rounded-none",
228
+ tooltipClassName
229
+ ),
230
+ children: description
231
+ }
232
+ )
233
+ ] }) })
234
+ ] });
235
+ }
236
+ );
237
+ FormLabelWithTooltip.displayName = "FormLabelWithTooltip";
177
238
  var badgeVariants = classVarianceAuthority.cva(
178
239
  "inline-flex items-center rounded-none px-2.5 py-0.5 h-[22px] text-xs font-medium transition-colors",
179
240
  {
@@ -217,7 +278,7 @@ var cardVariants = classVarianceAuthority.cva(
217
278
  }
218
279
  }
219
280
  );
220
- var Card = React5.forwardRef(
281
+ var Card = React6.forwardRef(
221
282
  ({ className, variant, ...props }, ref) => {
222
283
  return /* @__PURE__ */ jsxRuntime.jsx(
223
284
  "div",
@@ -231,7 +292,7 @@ var Card = React5.forwardRef(
231
292
  }
232
293
  );
233
294
  Card.displayName = "Card";
234
- var CardHeader = React5.forwardRef(
295
+ var CardHeader = React6.forwardRef(
235
296
  ({ className, noBorder = false, ...props }, ref) => {
236
297
  return /* @__PURE__ */ jsxRuntime.jsx(
237
298
  "div",
@@ -249,7 +310,7 @@ var CardHeader = React5.forwardRef(
249
310
  }
250
311
  );
251
312
  CardHeader.displayName = "CardHeader";
252
- var CardTitle = React5.forwardRef(
313
+ var CardTitle = React6.forwardRef(
253
314
  ({ className, ...props }, ref) => {
254
315
  return /* @__PURE__ */ jsxRuntime.jsx(
255
316
  "h3",
@@ -263,7 +324,7 @@ var CardTitle = React5.forwardRef(
263
324
  }
264
325
  );
265
326
  CardTitle.displayName = "CardTitle";
266
- var CardDescription = React5.forwardRef(
327
+ var CardDescription = React6.forwardRef(
267
328
  ({ className, ...props }, ref) => {
268
329
  return /* @__PURE__ */ jsxRuntime.jsx(
269
330
  "p",
@@ -277,7 +338,7 @@ var CardDescription = React5.forwardRef(
277
338
  }
278
339
  );
279
340
  CardDescription.displayName = "CardDescription";
280
- var CardAction = React5.forwardRef(
341
+ var CardAction = React6.forwardRef(
281
342
  ({ className, ...props }, ref) => {
282
343
  return /* @__PURE__ */ jsxRuntime.jsx(
283
344
  "div",
@@ -291,7 +352,7 @@ var CardAction = React5.forwardRef(
291
352
  }
292
353
  );
293
354
  CardAction.displayName = "CardAction";
294
- var CardContent = React5.forwardRef(
355
+ var CardContent = React6.forwardRef(
295
356
  ({ className, ...props }, ref) => {
296
357
  return /* @__PURE__ */ jsxRuntime.jsx(
297
358
  "div",
@@ -305,7 +366,7 @@ var CardContent = React5.forwardRef(
305
366
  }
306
367
  );
307
368
  CardContent.displayName = "CardContent";
308
- var CardFooter = React5.forwardRef(
369
+ var CardFooter = React6.forwardRef(
309
370
  ({ className, ...props }, ref) => {
310
371
  return /* @__PURE__ */ jsxRuntime.jsx(
311
372
  "div",
@@ -338,7 +399,7 @@ var alertVariants = classVarianceAuthority.cva(
338
399
  }
339
400
  }
340
401
  );
341
- var Alert = React5.forwardRef(
402
+ var Alert = React6.forwardRef(
342
403
  ({ className, variant = "info", role = "alert", ...props }, ref) => {
343
404
  return /* @__PURE__ */ jsxRuntime.jsx(
344
405
  "div",
@@ -353,7 +414,7 @@ var Alert = React5.forwardRef(
353
414
  }
354
415
  );
355
416
  Alert.displayName = "Alert";
356
- var AlertTitle = React5.forwardRef(
417
+ var AlertTitle = React6.forwardRef(
357
418
  ({ className, ...props }, ref) => {
358
419
  return /* @__PURE__ */ jsxRuntime.jsx(
359
420
  "h5",
@@ -370,7 +431,7 @@ var AlertTitle = React5.forwardRef(
370
431
  }
371
432
  );
372
433
  AlertTitle.displayName = "AlertTitle";
373
- var AlertDescription = React5.forwardRef(
434
+ var AlertDescription = React6.forwardRef(
374
435
  ({ className, ...props }, ref) => {
375
436
  return /* @__PURE__ */ jsxRuntime.jsx(
376
437
  "div",
@@ -404,7 +465,7 @@ function Separator({
404
465
  }
405
466
  );
406
467
  }
407
- var Skeleton = React5__namespace.forwardRef(
468
+ var Skeleton = React6__namespace.forwardRef(
408
469
  ({ className, ...props }, ref) => {
409
470
  return /* @__PURE__ */ jsxRuntime.jsx(
410
471
  "div",
@@ -434,7 +495,7 @@ var progressVariants = classVarianceAuthority.cva("h-full rounded-none transitio
434
495
  variant: "default"
435
496
  }
436
497
  });
437
- var Progress = React5__namespace.forwardRef(
498
+ var Progress = React6__namespace.forwardRef(
438
499
  ({
439
500
  value,
440
501
  max = 100,
@@ -474,7 +535,7 @@ var Progress = React5__namespace.forwardRef(
474
535
  }
475
536
  );
476
537
  Progress.displayName = "Progress";
477
- var Checkbox = React5.forwardRef(({ className, indeterminate, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
538
+ var Checkbox = React6.forwardRef(({ className, indeterminate, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
478
539
  CheckboxPrimitive__namespace.Root,
479
540
  {
480
541
  ref,
@@ -494,7 +555,7 @@ var Checkbox = React5.forwardRef(({ className, indeterminate, ...props }, ref) =
494
555
  }
495
556
  ));
496
557
  Checkbox.displayName = "Checkbox";
497
- var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
558
+ var RadioGroup = React6.forwardRef(({ className, ...props }, ref) => {
498
559
  return /* @__PURE__ */ jsxRuntime.jsx(
499
560
  RadioGroupPrimitive__namespace.Root,
500
561
  {
@@ -506,7 +567,7 @@ var RadioGroup = React5.forwardRef(({ className, ...props }, ref) => {
506
567
  );
507
568
  });
508
569
  RadioGroup.displayName = "RadioGroup";
509
- var RadioGroupItem = React5.forwardRef(({ className, ...props }, ref) => {
570
+ var RadioGroupItem = React6.forwardRef(({ className, ...props }, ref) => {
510
571
  return /* @__PURE__ */ jsxRuntime.jsx(
511
572
  RadioGroupPrimitive__namespace.Item,
512
573
  {
@@ -550,7 +611,7 @@ var Collapsible = CollapsiblePrimitive__namespace.Root;
550
611
  var CollapsibleTrigger2 = CollapsiblePrimitive__namespace.CollapsibleTrigger;
551
612
  var CollapsibleContent2 = CollapsiblePrimitive__namespace.CollapsibleContent;
552
613
  var Accordion = AccordionPrimitive__namespace.Root;
553
- var AccordionItem = React5.forwardRef(
614
+ var AccordionItem = React6.forwardRef(
554
615
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
555
616
  AccordionPrimitive__namespace.Item,
556
617
  {
@@ -562,7 +623,7 @@ var AccordionItem = React5.forwardRef(
562
623
  )
563
624
  );
564
625
  AccordionItem.displayName = "AccordionItem";
565
- var AccordionTrigger = React5.forwardRef(
626
+ var AccordionTrigger = React6.forwardRef(
566
627
  ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", "data-slot": "accordion-header", children: /* @__PURE__ */ jsxRuntime.jsxs(
567
628
  AccordionPrimitive__namespace.Trigger,
568
629
  {
@@ -581,7 +642,7 @@ var AccordionTrigger = React5.forwardRef(
581
642
  ) })
582
643
  );
583
644
  AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
584
- var AccordionContent = React5.forwardRef(
645
+ var AccordionContent = React6.forwardRef(
585
646
  ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
586
647
  AccordionPrimitive__namespace.Content,
587
648
  {
@@ -623,8 +684,8 @@ var fallbackTextSizeMap = {
623
684
  "2xl": "text-2xl"
624
685
  // 24px for 80px avatar
625
686
  };
626
- var AvatarSizeContext = React5.createContext("md");
627
- var Avatar = React5.forwardRef(
687
+ var AvatarSizeContext = React6.createContext("md");
688
+ var Avatar = React6.forwardRef(
628
689
  ({ className, size = "md", ...props }, ref) => {
629
690
  return /* @__PURE__ */ jsxRuntime.jsx(AvatarSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsxRuntime.jsx(
630
691
  reactAvatar.Root,
@@ -638,7 +699,7 @@ var Avatar = React5.forwardRef(
638
699
  }
639
700
  );
640
701
  Avatar.displayName = "Avatar";
641
- var AvatarImage = React5.forwardRef(
702
+ var AvatarImage = React6.forwardRef(
642
703
  ({ className, ...props }, ref) => {
643
704
  return /* @__PURE__ */ jsxRuntime.jsx(
644
705
  reactAvatar.Image,
@@ -652,9 +713,9 @@ var AvatarImage = React5.forwardRef(
652
713
  }
653
714
  );
654
715
  AvatarImage.displayName = "AvatarImage";
655
- var AvatarFallback = React5.forwardRef(
716
+ var AvatarFallback = React6.forwardRef(
656
717
  ({ className, children, ...props }, ref) => {
657
- const size = React5.useContext(AvatarSizeContext) || "md";
718
+ const size = React6.useContext(AvatarSizeContext) || "md";
658
719
  const textSize = fallbackTextSizeMap[size];
659
720
  return /* @__PURE__ */ jsxRuntime.jsx(
660
721
  reactAvatar.Fallback,
@@ -674,7 +735,7 @@ var AvatarFallback = React5.forwardRef(
674
735
  );
675
736
  AvatarFallback.displayName = "AvatarFallback";
676
737
  var Tabs = reactTabs.Root;
677
- var TabsList = React5.forwardRef(
738
+ var TabsList = React6.forwardRef(
678
739
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
679
740
  reactTabs.List,
680
741
  {
@@ -689,7 +750,7 @@ var TabsList = React5.forwardRef(
689
750
  )
690
751
  );
691
752
  TabsList.displayName = reactTabs.List.displayName;
692
- var TabsTrigger = React5.forwardRef(
753
+ var TabsTrigger = React6.forwardRef(
693
754
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
694
755
  reactTabs.Trigger,
695
756
  {
@@ -704,7 +765,7 @@ var TabsTrigger = React5.forwardRef(
704
765
  )
705
766
  );
706
767
  TabsTrigger.displayName = reactTabs.Trigger.displayName;
707
- var TabsContent = React5.forwardRef(
768
+ var TabsContent = React6.forwardRef(
708
769
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
709
770
  reactTabs.Content,
710
771
  {
@@ -719,35 +780,18 @@ var TabsContent = React5.forwardRef(
719
780
  )
720
781
  );
721
782
  TabsContent.displayName = reactTabs.Content.displayName;
722
- var TooltipProvider = reactTooltip.Provider;
723
- var Tooltip = reactTooltip.Root;
724
- var TooltipTrigger = reactTooltip.Trigger;
725
- var TooltipContent = React5.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
726
- reactTooltip.Content,
727
- {
728
- ref,
729
- sideOffset,
730
- "data-slot": "tooltip-content",
731
- className: cn(
732
- "z-50 overflow-hidden rounded-none px-3 py-1.5 text-xs shadow-lg border border-primary/5 bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
733
- className
734
- ),
735
- ...props
736
- }
737
- ));
738
- TooltipContent.displayName = reactTooltip.Content.displayName;
739
- var PortalContext = React5.createContext({ container: null });
783
+ var PortalContext = React6.createContext({ container: null });
740
784
  function PortalProvider({ container, children }) {
741
785
  return /* @__PURE__ */ jsxRuntime.jsx(PortalContext.Provider, { value: { container }, children });
742
786
  }
743
787
  function usePortalContainer() {
744
- const { container } = React5.useContext(PortalContext);
788
+ const { container } = React6.useContext(PortalContext);
745
789
  return container ?? void 0;
746
790
  }
747
791
  var Popover = PopoverPrimitive__namespace.Root;
748
792
  var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
749
793
  var PopoverAnchor = PopoverPrimitive__namespace.Anchor;
750
- var PopoverContent = React5__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
794
+ var PopoverContent = React6__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
751
795
  const portalContainer = usePortalContainer();
752
796
  return /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
753
797
  PopoverPrimitive__namespace.Content,
@@ -769,7 +813,7 @@ var Dialog = DialogPrimitive__namespace.Root;
769
813
  var DialogTrigger = DialogPrimitive__namespace.Trigger;
770
814
  var DialogPortal = DialogPrimitive__namespace.Portal;
771
815
  var DialogClose = DialogPrimitive__namespace.Close;
772
- var DialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
816
+ var DialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
773
817
  DialogPrimitive__namespace.Overlay,
774
818
  {
775
819
  ref,
@@ -796,7 +840,7 @@ var dialogContentVariants = classVarianceAuthority.cva("", {
796
840
  size: "md"
797
841
  }
798
842
  });
799
- var DialogContent = React5.forwardRef(({ className, children, size, ...props }, ref) => {
843
+ var DialogContent = React6.forwardRef(({ className, children, size, ...props }, ref) => {
800
844
  const portalContainer = usePortalContainer();
801
845
  return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { container: portalContainer, children: [
802
846
  /* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
@@ -830,7 +874,7 @@ var DialogContent = React5.forwardRef(({ className, children, size, ...props },
830
874
  ] });
831
875
  });
832
876
  DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
833
- var DialogHeader = React5.forwardRef(
877
+ var DialogHeader = React6.forwardRef(
834
878
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
835
879
  "div",
836
880
  {
@@ -844,7 +888,7 @@ var DialogHeader = React5.forwardRef(
844
888
  )
845
889
  );
846
890
  DialogHeader.displayName = "DialogHeader";
847
- var DialogFooter = React5.forwardRef(
891
+ var DialogFooter = React6.forwardRef(
848
892
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
849
893
  "div",
850
894
  {
@@ -858,7 +902,7 @@ var DialogFooter = React5.forwardRef(
858
902
  )
859
903
  );
860
904
  DialogFooter.displayName = "DialogFooter";
861
- var DialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
905
+ var DialogTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
862
906
  DialogPrimitive__namespace.Title,
863
907
  {
864
908
  ref,
@@ -870,7 +914,7 @@ var DialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
870
914
  }
871
915
  ));
872
916
  DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
873
- var DialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
917
+ var DialogDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
874
918
  DialogPrimitive__namespace.Description,
875
919
  {
876
920
  ref,
@@ -882,7 +926,7 @@ DialogDescription.displayName = DialogPrimitive__namespace.Description.displayNa
882
926
  var AlertDialog = AlertDialogPrimitive__namespace.Root;
883
927
  var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
884
928
  var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
885
- var AlertDialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
929
+ var AlertDialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
886
930
  AlertDialogPrimitive__namespace.Overlay,
887
931
  {
888
932
  ref,
@@ -894,7 +938,7 @@ var AlertDialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /*
894
938
  }
895
939
  ));
896
940
  AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
897
- var AlertDialogContent = React5.forwardRef(({ className, ...props }, ref) => {
941
+ var AlertDialogContent = React6.forwardRef(({ className, ...props }, ref) => {
898
942
  const portalContainer = usePortalContainer();
899
943
  return /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { container: portalContainer, children: [
900
944
  /* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
@@ -912,7 +956,7 @@ var AlertDialogContent = React5.forwardRef(({ className, ...props }, ref) => {
912
956
  ] });
913
957
  });
914
958
  AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.displayName;
915
- var AlertDialogHeader = React5.forwardRef(
959
+ var AlertDialogHeader = React6.forwardRef(
916
960
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
917
961
  "div",
918
962
  {
@@ -926,7 +970,7 @@ var AlertDialogHeader = React5.forwardRef(
926
970
  )
927
971
  );
928
972
  AlertDialogHeader.displayName = "AlertDialogHeader";
929
- var AlertDialogFooter = React5.forwardRef(
973
+ var AlertDialogFooter = React6.forwardRef(
930
974
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
931
975
  "div",
932
976
  {
@@ -940,7 +984,7 @@ var AlertDialogFooter = React5.forwardRef(
940
984
  )
941
985
  );
942
986
  AlertDialogFooter.displayName = "AlertDialogFooter";
943
- var AlertDialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
987
+ var AlertDialogTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
944
988
  AlertDialogPrimitive__namespace.Title,
945
989
  {
946
990
  ref,
@@ -952,7 +996,7 @@ var AlertDialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @_
952
996
  }
953
997
  ));
954
998
  AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
955
- var AlertDialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
999
+ var AlertDialogDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
956
1000
  AlertDialogPrimitive__namespace.Description,
957
1001
  {
958
1002
  ref,
@@ -961,7 +1005,7 @@ var AlertDialogDescription = React5.forwardRef(({ className, ...props }, ref) =>
961
1005
  }
962
1006
  ));
963
1007
  AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
964
- var AlertDialogAction = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1008
+ var AlertDialogAction = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
965
1009
  AlertDialogPrimitive__namespace.Action,
966
1010
  {
967
1011
  ref,
@@ -971,7 +1015,7 @@ var AlertDialogAction = React5.forwardRef(({ className, children, ...props }, re
971
1015
  }
972
1016
  ));
973
1017
  AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
974
- var AlertDialogCancel = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1018
+ var AlertDialogCancel = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
975
1019
  AlertDialogPrimitive__namespace.Cancel,
976
1020
  {
977
1021
  ref,
@@ -991,7 +1035,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
991
1035
  var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
992
1036
  var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
993
1037
  var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
994
- var DropdownMenuSubTrigger = React5__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1038
+ var DropdownMenuSubTrigger = React6__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
995
1039
  DropdownMenuPrimitive__namespace.SubTrigger,
996
1040
  {
997
1041
  ref,
@@ -1008,7 +1052,7 @@ var DropdownMenuSubTrigger = React5__namespace.forwardRef(({ className, inset, c
1008
1052
  }
1009
1053
  ));
1010
1054
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
1011
- var DropdownMenuSubContent = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1055
+ var DropdownMenuSubContent = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1012
1056
  DropdownMenuPrimitive__namespace.SubContent,
1013
1057
  {
1014
1058
  ref,
@@ -1020,7 +1064,7 @@ var DropdownMenuSubContent = React5__namespace.forwardRef(({ className, ...props
1020
1064
  }
1021
1065
  ));
1022
1066
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
1023
- var DropdownMenuContent = React5__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
1067
+ var DropdownMenuContent = React6__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
1024
1068
  const portalContainer = usePortalContainer();
1025
1069
  return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxRuntime.jsx(
1026
1070
  DropdownMenuPrimitive__namespace.Content,
@@ -1036,7 +1080,7 @@ var DropdownMenuContent = React5__namespace.forwardRef(({ className, sideOffset
1036
1080
  ) });
1037
1081
  });
1038
1082
  DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
1039
- var DropdownMenuItem = React5__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1083
+ var DropdownMenuItem = React6__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1040
1084
  DropdownMenuPrimitive__namespace.Item,
1041
1085
  {
1042
1086
  ref,
@@ -1049,7 +1093,7 @@ var DropdownMenuItem = React5__namespace.forwardRef(({ className, inset, ...prop
1049
1093
  }
1050
1094
  ));
1051
1095
  DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
1052
- var DropdownMenuCheckboxItem = React5__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1096
+ var DropdownMenuCheckboxItem = React6__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1053
1097
  DropdownMenuPrimitive__namespace.CheckboxItem,
1054
1098
  {
1055
1099
  ref,
@@ -1066,7 +1110,7 @@ var DropdownMenuCheckboxItem = React5__namespace.forwardRef(({ className, childr
1066
1110
  }
1067
1111
  ));
1068
1112
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
1069
- var DropdownMenuRadioItem = React5__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1113
+ var DropdownMenuRadioItem = React6__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1070
1114
  DropdownMenuPrimitive__namespace.RadioItem,
1071
1115
  {
1072
1116
  ref,
@@ -1082,7 +1126,7 @@ var DropdownMenuRadioItem = React5__namespace.forwardRef(({ className, children,
1082
1126
  }
1083
1127
  ));
1084
1128
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
1085
- var DropdownMenuLabel = React5__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1129
+ var DropdownMenuLabel = React6__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1086
1130
  DropdownMenuPrimitive__namespace.Label,
1087
1131
  {
1088
1132
  ref,
@@ -1095,7 +1139,7 @@ var DropdownMenuLabel = React5__namespace.forwardRef(({ className, inset, ...pro
1095
1139
  }
1096
1140
  ));
1097
1141
  DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
1098
- var DropdownMenuSeparator = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1142
+ var DropdownMenuSeparator = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1099
1143
  DropdownMenuPrimitive__namespace.Separator,
1100
1144
  {
1101
1145
  ref,
@@ -1104,7 +1148,7 @@ var DropdownMenuSeparator = React5__namespace.forwardRef(({ className, ...props
1104
1148
  }
1105
1149
  ));
1106
1150
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.displayName;
1107
- var DropdownMenuShortcut = React5__namespace.forwardRef(({ className, ...props }, ref) => {
1151
+ var DropdownMenuShortcut = React6__namespace.forwardRef(({ className, ...props }, ref) => {
1108
1152
  return /* @__PURE__ */ jsxRuntime.jsx(
1109
1153
  "span",
1110
1154
  {
@@ -1143,7 +1187,7 @@ var selectTriggerVariants = classVarianceAuthority.cva(
1143
1187
  }
1144
1188
  }
1145
1189
  );
1146
- var SelectTrigger = React5.forwardRef(({ className, size, children, ...props }, ref) => {
1190
+ var SelectTrigger = React6.forwardRef(({ className, size, children, ...props }, ref) => {
1147
1191
  return /* @__PURE__ */ jsxRuntime.jsxs(
1148
1192
  SelectPrimitive__namespace.Trigger,
1149
1193
  {
@@ -1279,7 +1323,7 @@ var Sheet = DialogPrimitive__namespace.Root;
1279
1323
  var SheetTrigger = DialogPrimitive__namespace.Trigger;
1280
1324
  var SheetClose = DialogPrimitive__namespace.Close;
1281
1325
  var SheetPortal = DialogPrimitive__namespace.Portal;
1282
- var SheetOverlay = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1326
+ var SheetOverlay = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1283
1327
  DialogPrimitive__namespace.Overlay,
1284
1328
  {
1285
1329
  className: cn(
@@ -1309,7 +1353,7 @@ var sheetVariants = classVarianceAuthority.cva(
1309
1353
  }
1310
1354
  }
1311
1355
  );
1312
- var SheetContent = React5__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => {
1356
+ var SheetContent = React6__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => {
1313
1357
  const portalContainer = usePortalContainer();
1314
1358
  return /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { container: portalContainer, children: [
1315
1359
  /* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
@@ -1354,7 +1398,7 @@ var SheetFooter = ({
1354
1398
  }
1355
1399
  );
1356
1400
  SheetFooter.displayName = "SheetFooter";
1357
- var SheetTitle = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1401
+ var SheetTitle = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1358
1402
  DialogPrimitive__namespace.Title,
1359
1403
  {
1360
1404
  ref,
@@ -1363,7 +1407,7 @@ var SheetTitle = React5__namespace.forwardRef(({ className, ...props }, ref) =>
1363
1407
  }
1364
1408
  ));
1365
1409
  SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
1366
- var SheetDescription = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1410
+ var SheetDescription = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1367
1411
  DialogPrimitive__namespace.Description,
1368
1412
  {
1369
1413
  ref,
@@ -1372,7 +1416,7 @@ var SheetDescription = React5__namespace.forwardRef(({ className, ...props }, re
1372
1416
  }
1373
1417
  ));
1374
1418
  SheetDescription.displayName = DialogPrimitive__namespace.Description.displayName;
1375
- var Command = React5.forwardRef(
1419
+ var Command = React6.forwardRef(
1376
1420
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1377
1421
  cmdk.Command,
1378
1422
  {
@@ -1386,7 +1430,7 @@ var Command = React5.forwardRef(
1386
1430
  )
1387
1431
  );
1388
1432
  Command.displayName = "Command";
1389
- var CommandDialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1433
+ var CommandDialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1390
1434
  DialogPrimitive__namespace.Overlay,
1391
1435
  {
1392
1436
  ref,
@@ -1438,7 +1482,7 @@ var CommandDialog = ({ children, ...props }) => {
1438
1482
  )
1439
1483
  ] }) });
1440
1484
  };
1441
- var CommandInput = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1485
+ var CommandInput = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
1442
1486
  "div",
1443
1487
  {
1444
1488
  className: "flex items-center border-b border-primary/5 px-4",
@@ -1470,7 +1514,7 @@ var CommandInput = React5.forwardRef(({ className, ...props }, ref) => /* @__PUR
1470
1514
  }
1471
1515
  ));
1472
1516
  CommandInput.displayName = "CommandInput";
1473
- var CommandList = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1517
+ var CommandList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1474
1518
  cmdk.Command.List,
1475
1519
  {
1476
1520
  ref,
@@ -1485,7 +1529,7 @@ var CommandList = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
1485
1529
  }
1486
1530
  ));
1487
1531
  CommandList.displayName = "CommandList";
1488
- var CommandEmpty = React5.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1532
+ var CommandEmpty = React6.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1489
1533
  cmdk.Command.Empty,
1490
1534
  {
1491
1535
  ref,
@@ -1494,7 +1538,7 @@ var CommandEmpty = React5.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.
1494
1538
  }
1495
1539
  ));
1496
1540
  CommandEmpty.displayName = "CommandEmpty";
1497
- var CommandGroup = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1541
+ var CommandGroup = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1498
1542
  cmdk.Command.Group,
1499
1543
  {
1500
1544
  ref,
@@ -1509,7 +1553,7 @@ var CommandGroup = React5.forwardRef(({ className, ...props }, ref) => /* @__PUR
1509
1553
  }
1510
1554
  ));
1511
1555
  CommandGroup.displayName = "CommandGroup";
1512
- var CommandSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1556
+ var CommandSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1513
1557
  cmdk.Command.Separator,
1514
1558
  {
1515
1559
  ref,
@@ -1518,7 +1562,7 @@ var CommandSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @_
1518
1562
  }
1519
1563
  ));
1520
1564
  CommandSeparator.displayName = "CommandSeparator";
1521
- var CommandItem = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1565
+ var CommandItem = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1522
1566
  cmdk.Command.Item,
1523
1567
  {
1524
1568
  ref,
@@ -1547,7 +1591,7 @@ var CommandItem = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
1547
1591
  }
1548
1592
  ));
1549
1593
  CommandItem.displayName = "CommandItem";
1550
- var CommandShortcut = React5.forwardRef(
1594
+ var CommandShortcut = React6.forwardRef(
1551
1595
  ({ className, ...props }, ref) => {
1552
1596
  return /* @__PURE__ */ jsxRuntime.jsx(
1553
1597
  "span",
@@ -1583,7 +1627,7 @@ var spinnerVariants = classVarianceAuthority.cva("animate-spin motion-reduce:ani
1583
1627
  size: "md"
1584
1628
  }
1585
1629
  });
1586
- var Spinner = React5.forwardRef(
1630
+ var Spinner = React6.forwardRef(
1587
1631
  ({ size = "md", className, "aria-label": ariaLabel = "Loading", ...props }, ref) => {
1588
1632
  return /* @__PURE__ */ jsxRuntime.jsx(
1589
1633
  lucideReact.Loader2,
@@ -1627,7 +1671,7 @@ function Toaster({ theme = "system", ...props }) {
1627
1671
  }
1628
1672
  );
1629
1673
  }
1630
- var Table = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
1674
+ var Table = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
1631
1675
  "table",
1632
1676
  {
1633
1677
  ref,
@@ -1636,9 +1680,9 @@ var Table = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @_
1636
1680
  }
1637
1681
  ) }));
1638
1682
  Table.displayName = "Table";
1639
- var TableHeader = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr] :border-b border-primary/5", className), ...props }));
1683
+ var TableHeader = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr] :border-b border-primary/5", className), ...props }));
1640
1684
  TableHeader.displayName = "TableHeader";
1641
- var TableBody = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1685
+ var TableBody = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1642
1686
  "tbody",
1643
1687
  {
1644
1688
  ref,
@@ -1647,7 +1691,7 @@ var TableBody = React5__namespace.forwardRef(({ className, ...props }, ref) => /
1647
1691
  }
1648
1692
  ));
1649
1693
  TableBody.displayName = "TableBody";
1650
- var TableFooter = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1694
+ var TableFooter = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1651
1695
  "tfoot",
1652
1696
  {
1653
1697
  ref,
@@ -1656,7 +1700,7 @@ var TableFooter = React5__namespace.forwardRef(({ className, ...props }, ref) =>
1656
1700
  }
1657
1701
  ));
1658
1702
  TableFooter.displayName = "TableFooter";
1659
- var TableRow = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1703
+ var TableRow = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1660
1704
  "tr",
1661
1705
  {
1662
1706
  ref,
@@ -1668,7 +1712,7 @@ var TableRow = React5__namespace.forwardRef(({ className, ...props }, ref) => /*
1668
1712
  }
1669
1713
  ));
1670
1714
  TableRow.displayName = "TableRow";
1671
- var TableHead = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1715
+ var TableHead = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1672
1716
  "th",
1673
1717
  {
1674
1718
  ref,
@@ -1680,7 +1724,7 @@ var TableHead = React5__namespace.forwardRef(({ className, ...props }, ref) => /
1680
1724
  }
1681
1725
  ));
1682
1726
  TableHead.displayName = "TableHead";
1683
- var TableCell = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1727
+ var TableCell = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1684
1728
  "td",
1685
1729
  {
1686
1730
  ref,
@@ -1692,7 +1736,7 @@ var TableCell = React5__namespace.forwardRef(({ className, ...props }, ref) => /
1692
1736
  }
1693
1737
  ));
1694
1738
  TableCell.displayName = "TableCell";
1695
- var TableCaption = React5__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1739
+ var TableCaption = React6__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1696
1740
  "caption",
1697
1741
  {
1698
1742
  ref,
@@ -2017,20 +2061,20 @@ function ResponsiveTableInner({
2017
2061
  tableWrapperClassName,
2018
2062
  footer
2019
2063
  }, ref) {
2020
- const visibleMobileColumns = React5__namespace.useMemo(
2064
+ const visibleMobileColumns = React6__namespace.useMemo(
2021
2065
  () => columns.filter((col) => !col.hideOnMobile),
2022
2066
  [columns]
2023
2067
  );
2024
- const primaryColumn = React5__namespace.useMemo(() => {
2068
+ const primaryColumn = React6__namespace.useMemo(() => {
2025
2069
  return visibleMobileColumns.find(
2026
2070
  (col) => col.key !== "select" && col.key !== "actions"
2027
2071
  ) || visibleMobileColumns[0];
2028
2072
  }, [visibleMobileColumns]);
2029
- const secondaryColumns = React5__namespace.useMemo(
2073
+ const secondaryColumns = React6__namespace.useMemo(
2030
2074
  () => visibleMobileColumns.filter((col) => col.key !== primaryColumn?.key),
2031
2075
  [visibleMobileColumns, primaryColumn]
2032
2076
  );
2033
- React5__namespace.useEffect(() => {
2077
+ React6__namespace.useEffect(() => {
2034
2078
  const isDev = typeof globalThis !== "undefined" && globalThis.process && globalThis.process.env?.NODE_ENV === "development";
2035
2079
  if (isDev && visibleMobileColumns.length === 0) {
2036
2080
  console.warn(
@@ -2038,7 +2082,7 @@ function ResponsiveTableInner({
2038
2082
  );
2039
2083
  }
2040
2084
  }, [visibleMobileColumns.length]);
2041
- const handleItemClick = React5__namespace.useCallback(
2085
+ const handleItemClick = React6__namespace.useCallback(
2042
2086
  (item, e) => {
2043
2087
  if (!onRowClick) return;
2044
2088
  if (e) {
@@ -2051,7 +2095,7 @@ function ResponsiveTableInner({
2051
2095
  },
2052
2096
  [onRowClick]
2053
2097
  );
2054
- const handleCardKeyDown = React5__namespace.useCallback(
2098
+ const handleCardKeyDown = React6__namespace.useCallback(
2055
2099
  (item) => (e) => {
2056
2100
  if (onRowClick && (e.key === "Enter" || e.key === " ")) {
2057
2101
  e.preventDefault();
@@ -2182,7 +2226,7 @@ function ResponsiveTableInner({
2182
2226
  footer && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "table-footer border-t border-primary/5 bg-[hsl(var(--table-header-bg))]", children: footer })
2183
2227
  ] });
2184
2228
  }
2185
- var ResponsiveTable = React5__namespace.forwardRef(ResponsiveTableInner);
2229
+ var ResponsiveTable = React6__namespace.forwardRef(ResponsiveTableInner);
2186
2230
 
2187
2231
  // src/tailwind-preset.ts
2188
2232
  var uiPreset = {
@@ -2327,6 +2371,7 @@ exports.DropdownMenuSub = DropdownMenuSub;
2327
2371
  exports.DropdownMenuSubContent = DropdownMenuSubContent;
2328
2372
  exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
2329
2373
  exports.DropdownMenuTrigger = DropdownMenuTrigger;
2374
+ exports.FormLabelWithTooltip = FormLabelWithTooltip;
2330
2375
  exports.Input = Input;
2331
2376
  exports.Label = Label;
2332
2377
  exports.Popover = Popover;