@appolabs/ui 0.1.8 → 0.1.9
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 +382 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +378 -229
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var clsx = require('clsx');
|
|
4
4
|
var tailwindMerge = require('tailwind-merge');
|
|
5
|
-
var
|
|
5
|
+
var React40 = require('react');
|
|
6
6
|
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
7
7
|
var lucideReact = require('lucide-react');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -62,7 +62,7 @@ function _interopNamespace(e) {
|
|
|
62
62
|
return Object.freeze(n);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
var
|
|
65
|
+
var React40__namespace = /*#__PURE__*/_interopNamespace(React40);
|
|
66
66
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
67
67
|
var AlertDialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(AlertDialogPrimitive);
|
|
68
68
|
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
@@ -98,8 +98,8 @@ function cn(...inputs) {
|
|
|
98
98
|
}
|
|
99
99
|
var MOBILE_BREAKPOINT = 768;
|
|
100
100
|
function useIsMobile() {
|
|
101
|
-
const [isMobile, setIsMobile] =
|
|
102
|
-
|
|
101
|
+
const [isMobile, setIsMobile] = React40__namespace.useState(void 0);
|
|
102
|
+
React40__namespace.useEffect(() => {
|
|
103
103
|
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
104
104
|
const onChange = () => {
|
|
105
105
|
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
@@ -210,8 +210,8 @@ function toast({ ...props }) {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
function useToast() {
|
|
213
|
-
const [state, setState] =
|
|
214
|
-
|
|
213
|
+
const [state, setState] = React40__namespace.useState(memoryState);
|
|
214
|
+
React40__namespace.useEffect(() => {
|
|
215
215
|
listeners.push(setState);
|
|
216
216
|
return () => {
|
|
217
217
|
const index = listeners.indexOf(setState);
|
|
@@ -227,7 +227,7 @@ function useToast() {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
var Accordion = AccordionPrimitive__namespace.Root;
|
|
230
|
-
var AccordionItem =
|
|
230
|
+
var AccordionItem = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
231
231
|
AccordionPrimitive__namespace.Item,
|
|
232
232
|
{
|
|
233
233
|
ref,
|
|
@@ -236,7 +236,7 @@ var AccordionItem = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
236
236
|
}
|
|
237
237
|
));
|
|
238
238
|
AccordionItem.displayName = "AccordionItem";
|
|
239
|
-
var AccordionTrigger =
|
|
239
|
+
var AccordionTrigger = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
240
240
|
AccordionPrimitive__namespace.Trigger,
|
|
241
241
|
{
|
|
242
242
|
ref,
|
|
@@ -252,7 +252,7 @@ var AccordionTrigger = React39__namespace.forwardRef(({ className, children, ...
|
|
|
252
252
|
}
|
|
253
253
|
) }));
|
|
254
254
|
AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
|
|
255
|
-
var AccordionContent =
|
|
255
|
+
var AccordionContent = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
256
256
|
AccordionPrimitive__namespace.Content,
|
|
257
257
|
{
|
|
258
258
|
ref,
|
|
@@ -276,7 +276,7 @@ var alertVariants = classVarianceAuthority.cva(
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
);
|
|
279
|
-
var Alert =
|
|
279
|
+
var Alert = React40__namespace.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
280
280
|
"div",
|
|
281
281
|
{
|
|
282
282
|
ref,
|
|
@@ -286,7 +286,7 @@ var Alert = React39__namespace.forwardRef(({ className, variant, ...props }, ref
|
|
|
286
286
|
}
|
|
287
287
|
));
|
|
288
288
|
Alert.displayName = "Alert";
|
|
289
|
-
var AlertTitle =
|
|
289
|
+
var AlertTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
290
290
|
"h5",
|
|
291
291
|
{
|
|
292
292
|
ref,
|
|
@@ -295,7 +295,7 @@ var AlertTitle = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
295
295
|
}
|
|
296
296
|
));
|
|
297
297
|
AlertTitle.displayName = "AlertTitle";
|
|
298
|
-
var AlertDescription =
|
|
298
|
+
var AlertDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
299
299
|
"div",
|
|
300
300
|
{
|
|
301
301
|
ref,
|
|
@@ -329,7 +329,7 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
);
|
|
332
|
-
var Button =
|
|
332
|
+
var Button = React40__namespace.forwardRef(
|
|
333
333
|
({ className, variant, size, asChild = false, disabled, ...props }, ref) => {
|
|
334
334
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
335
335
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -348,7 +348,7 @@ Button.displayName = "Button";
|
|
|
348
348
|
var AlertDialog = AlertDialogPrimitive__namespace.Root;
|
|
349
349
|
var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
|
|
350
350
|
var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
|
|
351
|
-
var AlertDialogOverlay =
|
|
351
|
+
var AlertDialogOverlay = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
352
352
|
AlertDialogPrimitive__namespace.Overlay,
|
|
353
353
|
{
|
|
354
354
|
className: cn(
|
|
@@ -360,7 +360,7 @@ var AlertDialogOverlay = React39__namespace.forwardRef(({ className, ...props },
|
|
|
360
360
|
}
|
|
361
361
|
));
|
|
362
362
|
AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
|
|
363
|
-
var AlertDialogContent =
|
|
363
|
+
var AlertDialogContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
364
364
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
365
365
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
366
366
|
AlertDialogPrimitive__namespace.Content,
|
|
@@ -403,7 +403,7 @@ var AlertDialogFooter = ({
|
|
|
403
403
|
}
|
|
404
404
|
);
|
|
405
405
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
406
|
-
var AlertDialogTitle =
|
|
406
|
+
var AlertDialogTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
407
407
|
AlertDialogPrimitive__namespace.Title,
|
|
408
408
|
{
|
|
409
409
|
ref,
|
|
@@ -412,7 +412,7 @@ var AlertDialogTitle = React39__namespace.forwardRef(({ className, ...props }, r
|
|
|
412
412
|
}
|
|
413
413
|
));
|
|
414
414
|
AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
|
|
415
|
-
var AlertDialogDescription =
|
|
415
|
+
var AlertDialogDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
416
416
|
AlertDialogPrimitive__namespace.Description,
|
|
417
417
|
{
|
|
418
418
|
ref,
|
|
@@ -421,7 +421,7 @@ var AlertDialogDescription = React39__namespace.forwardRef(({ className, ...prop
|
|
|
421
421
|
}
|
|
422
422
|
));
|
|
423
423
|
AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
|
|
424
|
-
var AlertDialogAction =
|
|
424
|
+
var AlertDialogAction = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
425
425
|
AlertDialogPrimitive__namespace.Action,
|
|
426
426
|
{
|
|
427
427
|
ref,
|
|
@@ -430,7 +430,7 @@ var AlertDialogAction = React39__namespace.forwardRef(({ className, ...props },
|
|
|
430
430
|
}
|
|
431
431
|
));
|
|
432
432
|
AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
|
|
433
|
-
var AlertDialogCancel =
|
|
433
|
+
var AlertDialogCancel = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
434
434
|
AlertDialogPrimitive__namespace.Cancel,
|
|
435
435
|
{
|
|
436
436
|
ref,
|
|
@@ -443,7 +443,7 @@ var AlertDialogCancel = React39__namespace.forwardRef(({ className, ...props },
|
|
|
443
443
|
}
|
|
444
444
|
));
|
|
445
445
|
AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
|
|
446
|
-
var AnimatedBackground =
|
|
446
|
+
var AnimatedBackground = React40__namespace.forwardRef(
|
|
447
447
|
({ className, variant = "default", showOrbs = true, showGrid = false, children, ...props }, ref) => {
|
|
448
448
|
const isDashboard = variant === "dashboard";
|
|
449
449
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -501,7 +501,7 @@ var AnimatedBackground = React39__namespace.forwardRef(
|
|
|
501
501
|
}
|
|
502
502
|
);
|
|
503
503
|
AnimatedBackground.displayName = "AnimatedBackground";
|
|
504
|
-
var GradientOrb =
|
|
504
|
+
var GradientOrb = React40__namespace.forwardRef(
|
|
505
505
|
({
|
|
506
506
|
className,
|
|
507
507
|
color = "blue",
|
|
@@ -556,7 +556,7 @@ var GradientOrb = React39__namespace.forwardRef(
|
|
|
556
556
|
);
|
|
557
557
|
GradientOrb.displayName = "GradientOrb";
|
|
558
558
|
var AspectRatio = AspectRatioPrimitive__namespace.Root;
|
|
559
|
-
var Avatar =
|
|
559
|
+
var Avatar = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
560
560
|
AvatarPrimitive__namespace.Root,
|
|
561
561
|
{
|
|
562
562
|
ref,
|
|
@@ -568,7 +568,7 @@ var Avatar = React39__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
568
568
|
}
|
|
569
569
|
));
|
|
570
570
|
Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
|
|
571
|
-
var AvatarImage =
|
|
571
|
+
var AvatarImage = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
572
572
|
AvatarPrimitive__namespace.Image,
|
|
573
573
|
{
|
|
574
574
|
ref,
|
|
@@ -577,7 +577,7 @@ var AvatarImage = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
577
577
|
}
|
|
578
578
|
));
|
|
579
579
|
AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
|
|
580
|
-
var AvatarFallback =
|
|
580
|
+
var AvatarFallback = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
581
581
|
AvatarPrimitive__namespace.Fallback,
|
|
582
582
|
{
|
|
583
583
|
ref,
|
|
@@ -608,9 +608,144 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
608
608
|
function Badge({ className, variant, ...props }) {
|
|
609
609
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(badgeVariants({ variant }), className), ...props });
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var bannerVariants = classVarianceAuthority.cva(
|
|
612
|
+
"rounded-xl border p-4",
|
|
613
|
+
{
|
|
614
|
+
variants: {
|
|
615
|
+
variant: {
|
|
616
|
+
info: "border-blue-200 bg-blue-50 dark:border-blue-900/50 dark:bg-blue-900/20",
|
|
617
|
+
warning: "border-amber-200 bg-amber-50 dark:border-amber-900/50 dark:bg-amber-900/20",
|
|
618
|
+
destructive: "border-red-200 bg-red-50 dark:border-red-900/50 dark:bg-red-900/20",
|
|
619
|
+
success: "border-emerald-200 bg-emerald-50 dark:border-emerald-900/50 dark:bg-emerald-900/20"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
defaultVariants: {
|
|
623
|
+
variant: "info"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
);
|
|
627
|
+
var bannerIconVariants = classVarianceAuthority.cva(
|
|
628
|
+
"mt-0.5 h-5 w-5 flex-shrink-0",
|
|
629
|
+
{
|
|
630
|
+
variants: {
|
|
631
|
+
variant: {
|
|
632
|
+
info: "text-blue-600 dark:text-blue-400",
|
|
633
|
+
warning: "text-amber-600 dark:text-amber-400",
|
|
634
|
+
destructive: "text-red-600 dark:text-red-400",
|
|
635
|
+
success: "text-emerald-600 dark:text-emerald-400"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
defaultVariants: {
|
|
639
|
+
variant: "info"
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
);
|
|
643
|
+
var bannerTitleVariants = classVarianceAuthority.cva(
|
|
644
|
+
"font-medium",
|
|
645
|
+
{
|
|
646
|
+
variants: {
|
|
647
|
+
variant: {
|
|
648
|
+
info: "text-blue-900 dark:text-blue-100",
|
|
649
|
+
warning: "text-amber-900 dark:text-amber-100",
|
|
650
|
+
destructive: "text-red-900 dark:text-red-100",
|
|
651
|
+
success: "text-emerald-900 dark:text-emerald-100"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
defaultVariants: {
|
|
655
|
+
variant: "info"
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
);
|
|
659
|
+
var bannerDescriptionVariants = classVarianceAuthority.cva(
|
|
660
|
+
"mt-1 text-sm",
|
|
661
|
+
{
|
|
662
|
+
variants: {
|
|
663
|
+
variant: {
|
|
664
|
+
info: "text-blue-700 dark:text-blue-300",
|
|
665
|
+
warning: "text-amber-700 dark:text-amber-300",
|
|
666
|
+
destructive: "text-red-700 dark:text-red-300",
|
|
667
|
+
success: "text-emerald-700 dark:text-emerald-300"
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
defaultVariants: {
|
|
671
|
+
variant: "info"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
);
|
|
675
|
+
var bannerDismissVariants = classVarianceAuthority.cva(
|
|
676
|
+
"h-8 w-8 inline-flex items-center justify-center rounded-md transition-colors",
|
|
677
|
+
{
|
|
678
|
+
variants: {
|
|
679
|
+
variant: {
|
|
680
|
+
info: "text-blue-700 hover:text-blue-900 hover:bg-blue-100 dark:text-blue-300 dark:hover:text-blue-100 dark:hover:bg-blue-800/50",
|
|
681
|
+
warning: "text-amber-700 hover:text-amber-900 hover:bg-amber-100 dark:text-amber-300 dark:hover:text-amber-100 dark:hover:bg-amber-800/50",
|
|
682
|
+
destructive: "text-red-700 hover:text-red-900 hover:bg-red-100 dark:text-red-300 dark:hover:text-red-100 dark:hover:bg-red-800/50",
|
|
683
|
+
success: "text-emerald-700 hover:text-emerald-900 hover:bg-emerald-100 dark:text-emerald-300 dark:hover:text-emerald-100 dark:hover:bg-emerald-800/50"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
defaultVariants: {
|
|
687
|
+
variant: "info"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
);
|
|
691
|
+
var Banner = React40__namespace.forwardRef(
|
|
692
|
+
({ className, variant, icon, onDismiss, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
693
|
+
"div",
|
|
694
|
+
{
|
|
695
|
+
ref,
|
|
696
|
+
role: "status",
|
|
697
|
+
className: cn(bannerVariants({ variant }), className),
|
|
698
|
+
...props,
|
|
699
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
700
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(bannerIconVariants({ variant })), children: icon }),
|
|
701
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-w-0", children }),
|
|
702
|
+
onDismiss && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
703
|
+
"button",
|
|
704
|
+
{
|
|
705
|
+
type: "button",
|
|
706
|
+
onClick: onDismiss,
|
|
707
|
+
className: cn(bannerDismissVariants({ variant }), "flex-shrink-0"),
|
|
708
|
+
children: [
|
|
709
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
|
|
710
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Dismiss" })
|
|
711
|
+
]
|
|
712
|
+
}
|
|
713
|
+
)
|
|
714
|
+
] })
|
|
715
|
+
}
|
|
716
|
+
)
|
|
717
|
+
);
|
|
718
|
+
Banner.displayName = "Banner";
|
|
719
|
+
var BannerTitle = React40__namespace.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
720
|
+
"p",
|
|
721
|
+
{
|
|
722
|
+
ref,
|
|
723
|
+
className: cn(bannerTitleVariants({ variant }), className),
|
|
724
|
+
...props
|
|
725
|
+
}
|
|
726
|
+
));
|
|
727
|
+
BannerTitle.displayName = "BannerTitle";
|
|
728
|
+
var BannerDescription = React40__namespace.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
729
|
+
"p",
|
|
730
|
+
{
|
|
731
|
+
ref,
|
|
732
|
+
className: cn(bannerDescriptionVariants({ variant }), className),
|
|
733
|
+
...props
|
|
734
|
+
}
|
|
735
|
+
));
|
|
736
|
+
BannerDescription.displayName = "BannerDescription";
|
|
737
|
+
var BannerActions = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
738
|
+
"div",
|
|
739
|
+
{
|
|
740
|
+
ref,
|
|
741
|
+
className: cn("mt-3 flex flex-wrap items-center gap-2", className),
|
|
742
|
+
...props
|
|
743
|
+
}
|
|
744
|
+
));
|
|
745
|
+
BannerActions.displayName = "BannerActions";
|
|
746
|
+
var Breadcrumb = React40__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
612
747
|
Breadcrumb.displayName = "Breadcrumb";
|
|
613
|
-
var BreadcrumbList =
|
|
748
|
+
var BreadcrumbList = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
614
749
|
"ol",
|
|
615
750
|
{
|
|
616
751
|
ref,
|
|
@@ -622,7 +757,7 @@ var BreadcrumbList = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
622
757
|
}
|
|
623
758
|
));
|
|
624
759
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
625
|
-
var BreadcrumbItem =
|
|
760
|
+
var BreadcrumbItem = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
626
761
|
"li",
|
|
627
762
|
{
|
|
628
763
|
ref,
|
|
@@ -631,7 +766,7 @@ var BreadcrumbItem = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
631
766
|
}
|
|
632
767
|
));
|
|
633
768
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
634
|
-
var BreadcrumbLink =
|
|
769
|
+
var BreadcrumbLink = React40__namespace.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
635
770
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
636
771
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
637
772
|
Comp,
|
|
@@ -643,7 +778,7 @@ var BreadcrumbLink = React39__namespace.forwardRef(({ asChild, className, ...pro
|
|
|
643
778
|
);
|
|
644
779
|
});
|
|
645
780
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
646
|
-
var BreadcrumbPage =
|
|
781
|
+
var BreadcrumbPage = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
647
782
|
"span",
|
|
648
783
|
{
|
|
649
784
|
ref,
|
|
@@ -739,7 +874,7 @@ function Calendar({
|
|
|
739
874
|
);
|
|
740
875
|
}
|
|
741
876
|
Calendar.displayName = "Calendar";
|
|
742
|
-
var Card =
|
|
877
|
+
var Card = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
743
878
|
"div",
|
|
744
879
|
{
|
|
745
880
|
ref,
|
|
@@ -751,7 +886,7 @@ var Card = React39__namespace.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
751
886
|
}
|
|
752
887
|
));
|
|
753
888
|
Card.displayName = "Card";
|
|
754
|
-
var CardHeader =
|
|
889
|
+
var CardHeader = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
755
890
|
"div",
|
|
756
891
|
{
|
|
757
892
|
ref,
|
|
@@ -760,7 +895,7 @@ var CardHeader = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
760
895
|
}
|
|
761
896
|
));
|
|
762
897
|
CardHeader.displayName = "CardHeader";
|
|
763
|
-
var CardTitle =
|
|
898
|
+
var CardTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
764
899
|
"h3",
|
|
765
900
|
{
|
|
766
901
|
ref,
|
|
@@ -772,7 +907,7 @@ var CardTitle = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
772
907
|
}
|
|
773
908
|
));
|
|
774
909
|
CardTitle.displayName = "CardTitle";
|
|
775
|
-
var CardDescription =
|
|
910
|
+
var CardDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
776
911
|
"p",
|
|
777
912
|
{
|
|
778
913
|
ref,
|
|
@@ -781,9 +916,9 @@ var CardDescription = React39__namespace.forwardRef(({ className, ...props }, re
|
|
|
781
916
|
}
|
|
782
917
|
));
|
|
783
918
|
CardDescription.displayName = "CardDescription";
|
|
784
|
-
var CardContent =
|
|
919
|
+
var CardContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex-1 p-6 pt-0", className), ...props }));
|
|
785
920
|
CardContent.displayName = "CardContent";
|
|
786
|
-
var CardFooter =
|
|
921
|
+
var CardFooter = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
787
922
|
"div",
|
|
788
923
|
{
|
|
789
924
|
ref,
|
|
@@ -792,15 +927,15 @@ var CardFooter = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
792
927
|
}
|
|
793
928
|
));
|
|
794
929
|
CardFooter.displayName = "CardFooter";
|
|
795
|
-
var CarouselContext =
|
|
930
|
+
var CarouselContext = React40__namespace.createContext(null);
|
|
796
931
|
function useCarousel() {
|
|
797
|
-
const context =
|
|
932
|
+
const context = React40__namespace.useContext(CarouselContext);
|
|
798
933
|
if (!context) {
|
|
799
934
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
800
935
|
}
|
|
801
936
|
return context;
|
|
802
937
|
}
|
|
803
|
-
var Carousel =
|
|
938
|
+
var Carousel = React40__namespace.forwardRef(
|
|
804
939
|
({
|
|
805
940
|
orientation = "horizontal",
|
|
806
941
|
opts,
|
|
@@ -817,22 +952,22 @@ var Carousel = React39__namespace.forwardRef(
|
|
|
817
952
|
},
|
|
818
953
|
plugins
|
|
819
954
|
);
|
|
820
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
821
|
-
const [canScrollNext, setCanScrollNext] =
|
|
822
|
-
const onSelect =
|
|
955
|
+
const [canScrollPrev, setCanScrollPrev] = React40__namespace.useState(false);
|
|
956
|
+
const [canScrollNext, setCanScrollNext] = React40__namespace.useState(false);
|
|
957
|
+
const onSelect = React40__namespace.useCallback((api2) => {
|
|
823
958
|
if (!api2) {
|
|
824
959
|
return;
|
|
825
960
|
}
|
|
826
961
|
setCanScrollPrev(api2.canScrollPrev());
|
|
827
962
|
setCanScrollNext(api2.canScrollNext());
|
|
828
963
|
}, []);
|
|
829
|
-
const scrollPrev =
|
|
964
|
+
const scrollPrev = React40__namespace.useCallback(() => {
|
|
830
965
|
api?.scrollPrev();
|
|
831
966
|
}, [api]);
|
|
832
|
-
const scrollNext =
|
|
967
|
+
const scrollNext = React40__namespace.useCallback(() => {
|
|
833
968
|
api?.scrollNext();
|
|
834
969
|
}, [api]);
|
|
835
|
-
const handleKeyDown =
|
|
970
|
+
const handleKeyDown = React40__namespace.useCallback(
|
|
836
971
|
(event) => {
|
|
837
972
|
if (event.key === "ArrowLeft") {
|
|
838
973
|
event.preventDefault();
|
|
@@ -844,13 +979,13 @@ var Carousel = React39__namespace.forwardRef(
|
|
|
844
979
|
},
|
|
845
980
|
[scrollPrev, scrollNext]
|
|
846
981
|
);
|
|
847
|
-
|
|
982
|
+
React40__namespace.useEffect(() => {
|
|
848
983
|
if (!api || !setApi) {
|
|
849
984
|
return;
|
|
850
985
|
}
|
|
851
986
|
setApi(api);
|
|
852
987
|
}, [api, setApi]);
|
|
853
|
-
|
|
988
|
+
React40__namespace.useEffect(() => {
|
|
854
989
|
if (!api) {
|
|
855
990
|
return;
|
|
856
991
|
}
|
|
@@ -891,7 +1026,7 @@ var Carousel = React39__namespace.forwardRef(
|
|
|
891
1026
|
}
|
|
892
1027
|
);
|
|
893
1028
|
Carousel.displayName = "Carousel";
|
|
894
|
-
var CarouselContent =
|
|
1029
|
+
var CarouselContent = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
895
1030
|
const { carouselRef, orientation } = useCarousel();
|
|
896
1031
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
897
1032
|
"div",
|
|
@@ -907,7 +1042,7 @@ var CarouselContent = React39__namespace.forwardRef(({ className, ...props }, re
|
|
|
907
1042
|
) });
|
|
908
1043
|
});
|
|
909
1044
|
CarouselContent.displayName = "CarouselContent";
|
|
910
|
-
var CarouselItem =
|
|
1045
|
+
var CarouselItem = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
911
1046
|
const { orientation } = useCarousel();
|
|
912
1047
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
913
1048
|
"div",
|
|
@@ -925,7 +1060,7 @@ var CarouselItem = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
925
1060
|
);
|
|
926
1061
|
});
|
|
927
1062
|
CarouselItem.displayName = "CarouselItem";
|
|
928
|
-
var CarouselPrevious =
|
|
1063
|
+
var CarouselPrevious = React40__namespace.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
929
1064
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
930
1065
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
931
1066
|
Button,
|
|
@@ -949,7 +1084,7 @@ var CarouselPrevious = React39__namespace.forwardRef(({ className, variant = "ou
|
|
|
949
1084
|
);
|
|
950
1085
|
});
|
|
951
1086
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
952
|
-
var CarouselNext =
|
|
1087
|
+
var CarouselNext = React40__namespace.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
953
1088
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
954
1089
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
955
1090
|
Button,
|
|
@@ -974,16 +1109,16 @@ var CarouselNext = React39__namespace.forwardRef(({ className, variant = "outlin
|
|
|
974
1109
|
});
|
|
975
1110
|
CarouselNext.displayName = "CarouselNext";
|
|
976
1111
|
var THEMES = { light: "", dark: ".dark" };
|
|
977
|
-
var ChartContext =
|
|
1112
|
+
var ChartContext = React40__namespace.createContext(null);
|
|
978
1113
|
function useChart() {
|
|
979
|
-
const context =
|
|
1114
|
+
const context = React40__namespace.useContext(ChartContext);
|
|
980
1115
|
if (!context) {
|
|
981
1116
|
throw new Error("useChart must be used within a <ChartContainer />");
|
|
982
1117
|
}
|
|
983
1118
|
return context;
|
|
984
1119
|
}
|
|
985
|
-
var ChartContainer =
|
|
986
|
-
const uniqueId =
|
|
1120
|
+
var ChartContainer = React40__namespace.forwardRef(({ id, className, children, config, ...props }, ref) => {
|
|
1121
|
+
const uniqueId = React40__namespace.useId();
|
|
987
1122
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
988
1123
|
return /* @__PURE__ */ jsxRuntime.jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
989
1124
|
"div",
|
|
@@ -1029,7 +1164,7 @@ ${colorConfig.map(([key, itemConfig]) => {
|
|
|
1029
1164
|
);
|
|
1030
1165
|
};
|
|
1031
1166
|
var ChartTooltip = RechartsPrimitive__namespace.Tooltip;
|
|
1032
|
-
var ChartTooltipContent =
|
|
1167
|
+
var ChartTooltipContent = React40__namespace.forwardRef(
|
|
1033
1168
|
({
|
|
1034
1169
|
active,
|
|
1035
1170
|
payload,
|
|
@@ -1046,7 +1181,7 @@ var ChartTooltipContent = React39__namespace.forwardRef(
|
|
|
1046
1181
|
labelKey
|
|
1047
1182
|
}, ref) => {
|
|
1048
1183
|
const { config } = useChart();
|
|
1049
|
-
const tooltipLabel =
|
|
1184
|
+
const tooltipLabel = React40__namespace.useMemo(() => {
|
|
1050
1185
|
if (hideLabel || !payload?.length) {
|
|
1051
1186
|
return null;
|
|
1052
1187
|
}
|
|
@@ -1142,7 +1277,7 @@ var ChartTooltipContent = React39__namespace.forwardRef(
|
|
|
1142
1277
|
);
|
|
1143
1278
|
ChartTooltipContent.displayName = "ChartTooltip";
|
|
1144
1279
|
var ChartLegend = RechartsPrimitive__namespace.Legend;
|
|
1145
|
-
var ChartLegendContent =
|
|
1280
|
+
var ChartLegendContent = React40__namespace.forwardRef(
|
|
1146
1281
|
({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
|
|
1147
1282
|
const { config } = useChart();
|
|
1148
1283
|
if (!payload?.length) {
|
|
@@ -1200,7 +1335,7 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1200
1335
|
}
|
|
1201
1336
|
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
1202
1337
|
}
|
|
1203
|
-
var Checkbox =
|
|
1338
|
+
var Checkbox = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
1339
|
CheckboxPrimitive__namespace.Root,
|
|
1205
1340
|
{
|
|
1206
1341
|
ref,
|
|
@@ -1226,7 +1361,7 @@ var Dialog = DialogPrimitive__namespace.Root;
|
|
|
1226
1361
|
var DialogTrigger = DialogPrimitive__namespace.Trigger;
|
|
1227
1362
|
var DialogPortal = DialogPrimitive__namespace.Portal;
|
|
1228
1363
|
var DialogClose = DialogPrimitive__namespace.Close;
|
|
1229
|
-
var DialogOverlay =
|
|
1364
|
+
var DialogOverlay = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1230
1365
|
DialogPrimitive__namespace.Overlay,
|
|
1231
1366
|
{
|
|
1232
1367
|
ref,
|
|
@@ -1238,8 +1373,8 @@ var DialogOverlay = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1238
1373
|
}
|
|
1239
1374
|
));
|
|
1240
1375
|
DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
|
|
1241
|
-
var DialogContent =
|
|
1242
|
-
const handleAnimationEnd =
|
|
1376
|
+
var DialogContent = React40__namespace.forwardRef(({ className, children, onCloseComplete, onAnimationEnd, ...props }, ref) => {
|
|
1377
|
+
const handleAnimationEnd = React40__namespace.useCallback(
|
|
1243
1378
|
(e) => {
|
|
1244
1379
|
onAnimationEnd?.(e);
|
|
1245
1380
|
if (e.currentTarget.getAttribute("data-state") === "closed") {
|
|
@@ -1255,7 +1390,7 @@ var DialogContent = React39__namespace.forwardRef(({ className, children, onClos
|
|
|
1255
1390
|
{
|
|
1256
1391
|
ref,
|
|
1257
1392
|
className: cn(
|
|
1258
|
-
"fixed left-[50%] top-[50%] z-50
|
|
1393
|
+
"fixed left-[50%] top-[50%] z-50 flex max-h-[85vh] w-full max-w-lg translate-x-[-50%] translate-y-[-50%] flex-col gap-4 border bg-background shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
1259
1394
|
className
|
|
1260
1395
|
),
|
|
1261
1396
|
onAnimationEnd: handleAnimationEnd,
|
|
@@ -1273,13 +1408,27 @@ var DialogHeader = ({
|
|
|
1273
1408
|
"div",
|
|
1274
1409
|
{
|
|
1275
1410
|
className: cn(
|
|
1276
|
-
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
1411
|
+
"flex flex-shrink-0 flex-col space-y-1.5 px-6 pt-6 text-center sm:text-left",
|
|
1277
1412
|
className
|
|
1278
1413
|
),
|
|
1279
1414
|
...props
|
|
1280
1415
|
}
|
|
1281
1416
|
);
|
|
1282
1417
|
DialogHeader.displayName = "DialogHeader";
|
|
1418
|
+
var DialogBody = ({
|
|
1419
|
+
className,
|
|
1420
|
+
...props
|
|
1421
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1422
|
+
"div",
|
|
1423
|
+
{
|
|
1424
|
+
className: cn(
|
|
1425
|
+
"flex-1 overflow-y-auto px-6",
|
|
1426
|
+
className
|
|
1427
|
+
),
|
|
1428
|
+
...props
|
|
1429
|
+
}
|
|
1430
|
+
);
|
|
1431
|
+
DialogBody.displayName = "DialogBody";
|
|
1283
1432
|
var DialogFooter = ({
|
|
1284
1433
|
className,
|
|
1285
1434
|
...props
|
|
@@ -1287,14 +1436,14 @@ var DialogFooter = ({
|
|
|
1287
1436
|
"div",
|
|
1288
1437
|
{
|
|
1289
1438
|
className: cn(
|
|
1290
|
-
"flex flex-col-reverse sm:flex-row sm:justify-end
|
|
1439
|
+
"flex flex-shrink-0 flex-col-reverse gap-2 px-6 pb-6 sm:flex-row sm:justify-end",
|
|
1291
1440
|
className
|
|
1292
1441
|
),
|
|
1293
1442
|
...props
|
|
1294
1443
|
}
|
|
1295
1444
|
);
|
|
1296
1445
|
DialogFooter.displayName = "DialogFooter";
|
|
1297
|
-
var DialogTitle =
|
|
1446
|
+
var DialogTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1298
1447
|
DialogPrimitive__namespace.Title,
|
|
1299
1448
|
{
|
|
1300
1449
|
ref,
|
|
@@ -1306,7 +1455,7 @@ var DialogTitle = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
1306
1455
|
}
|
|
1307
1456
|
));
|
|
1308
1457
|
DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
|
|
1309
|
-
var DialogDescription =
|
|
1458
|
+
var DialogDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
1459
|
DialogPrimitive__namespace.Description,
|
|
1311
1460
|
{
|
|
1312
1461
|
ref,
|
|
@@ -1315,7 +1464,7 @@ var DialogDescription = React39__namespace.forwardRef(({ className, ...props },
|
|
|
1315
1464
|
}
|
|
1316
1465
|
));
|
|
1317
1466
|
DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
|
|
1318
|
-
var Command =
|
|
1467
|
+
var Command = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1319
1468
|
cmdk.Command,
|
|
1320
1469
|
{
|
|
1321
1470
|
ref,
|
|
@@ -1336,7 +1485,7 @@ var CommandDialog = ({ children, ...props }) => {
|
|
|
1336
1485
|
}
|
|
1337
1486
|
) }) });
|
|
1338
1487
|
};
|
|
1339
|
-
var CommandInput =
|
|
1488
|
+
var CommandInput = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
1340
1489
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
1341
1490
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1342
1491
|
cmdk.Command.Input,
|
|
@@ -1351,7 +1500,7 @@ var CommandInput = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1351
1500
|
)
|
|
1352
1501
|
] }));
|
|
1353
1502
|
CommandInput.displayName = cmdk.Command.Input.displayName;
|
|
1354
|
-
var CommandList =
|
|
1503
|
+
var CommandList = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1355
1504
|
cmdk.Command.List,
|
|
1356
1505
|
{
|
|
1357
1506
|
ref,
|
|
@@ -1360,7 +1509,7 @@ var CommandList = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
1360
1509
|
}
|
|
1361
1510
|
));
|
|
1362
1511
|
CommandList.displayName = cmdk.Command.List.displayName;
|
|
1363
|
-
var CommandEmpty =
|
|
1512
|
+
var CommandEmpty = React40__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1364
1513
|
cmdk.Command.Empty,
|
|
1365
1514
|
{
|
|
1366
1515
|
ref,
|
|
@@ -1369,7 +1518,7 @@ var CommandEmpty = React39__namespace.forwardRef((props, ref) => /* @__PURE__ */
|
|
|
1369
1518
|
}
|
|
1370
1519
|
));
|
|
1371
1520
|
CommandEmpty.displayName = cmdk.Command.Empty.displayName;
|
|
1372
|
-
var CommandGroup =
|
|
1521
|
+
var CommandGroup = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1373
1522
|
cmdk.Command.Group,
|
|
1374
1523
|
{
|
|
1375
1524
|
ref,
|
|
@@ -1381,7 +1530,7 @@ var CommandGroup = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1381
1530
|
}
|
|
1382
1531
|
));
|
|
1383
1532
|
CommandGroup.displayName = cmdk.Command.Group.displayName;
|
|
1384
|
-
var CommandSeparator =
|
|
1533
|
+
var CommandSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1385
1534
|
cmdk.Command.Separator,
|
|
1386
1535
|
{
|
|
1387
1536
|
ref,
|
|
@@ -1390,7 +1539,7 @@ var CommandSeparator = React39__namespace.forwardRef(({ className, ...props }, r
|
|
|
1390
1539
|
}
|
|
1391
1540
|
));
|
|
1392
1541
|
CommandSeparator.displayName = cmdk.Command.Separator.displayName;
|
|
1393
|
-
var CommandItem =
|
|
1542
|
+
var CommandItem = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1394
1543
|
cmdk.Command.Item,
|
|
1395
1544
|
{
|
|
1396
1545
|
ref,
|
|
@@ -1424,7 +1573,7 @@ var ContextMenuGroup = ContextMenuPrimitive__namespace.Group;
|
|
|
1424
1573
|
var ContextMenuPortal = ContextMenuPrimitive__namespace.Portal;
|
|
1425
1574
|
var ContextMenuSub = ContextMenuPrimitive__namespace.Sub;
|
|
1426
1575
|
var ContextMenuRadioGroup = ContextMenuPrimitive__namespace.RadioGroup;
|
|
1427
|
-
var ContextMenuSubTrigger =
|
|
1576
|
+
var ContextMenuSubTrigger = React40__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1428
1577
|
ContextMenuPrimitive__namespace.SubTrigger,
|
|
1429
1578
|
{
|
|
1430
1579
|
ref,
|
|
@@ -1441,7 +1590,7 @@ var ContextMenuSubTrigger = React39__namespace.forwardRef(({ className, inset, c
|
|
|
1441
1590
|
}
|
|
1442
1591
|
));
|
|
1443
1592
|
ContextMenuSubTrigger.displayName = ContextMenuPrimitive__namespace.SubTrigger.displayName;
|
|
1444
|
-
var ContextMenuSubContent =
|
|
1593
|
+
var ContextMenuSubContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1445
1594
|
ContextMenuPrimitive__namespace.SubContent,
|
|
1446
1595
|
{
|
|
1447
1596
|
ref,
|
|
@@ -1453,7 +1602,7 @@ var ContextMenuSubContent = React39__namespace.forwardRef(({ className, ...props
|
|
|
1453
1602
|
}
|
|
1454
1603
|
));
|
|
1455
1604
|
ContextMenuSubContent.displayName = ContextMenuPrimitive__namespace.SubContent.displayName;
|
|
1456
|
-
var ContextMenuContent =
|
|
1605
|
+
var ContextMenuContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1457
1606
|
ContextMenuPrimitive__namespace.Content,
|
|
1458
1607
|
{
|
|
1459
1608
|
ref,
|
|
@@ -1465,7 +1614,7 @@ var ContextMenuContent = React39__namespace.forwardRef(({ className, ...props },
|
|
|
1465
1614
|
}
|
|
1466
1615
|
) }));
|
|
1467
1616
|
ContextMenuContent.displayName = ContextMenuPrimitive__namespace.Content.displayName;
|
|
1468
|
-
var ContextMenuItem =
|
|
1617
|
+
var ContextMenuItem = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1469
1618
|
ContextMenuPrimitive__namespace.Item,
|
|
1470
1619
|
{
|
|
1471
1620
|
ref,
|
|
@@ -1478,7 +1627,7 @@ var ContextMenuItem = React39__namespace.forwardRef(({ className, inset, ...prop
|
|
|
1478
1627
|
}
|
|
1479
1628
|
));
|
|
1480
1629
|
ContextMenuItem.displayName = ContextMenuPrimitive__namespace.Item.displayName;
|
|
1481
|
-
var ContextMenuCheckboxItem =
|
|
1630
|
+
var ContextMenuCheckboxItem = React40__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1482
1631
|
ContextMenuPrimitive__namespace.CheckboxItem,
|
|
1483
1632
|
{
|
|
1484
1633
|
ref,
|
|
@@ -1495,7 +1644,7 @@ var ContextMenuCheckboxItem = React39__namespace.forwardRef(({ className, childr
|
|
|
1495
1644
|
}
|
|
1496
1645
|
));
|
|
1497
1646
|
ContextMenuCheckboxItem.displayName = ContextMenuPrimitive__namespace.CheckboxItem.displayName;
|
|
1498
|
-
var ContextMenuRadioItem =
|
|
1647
|
+
var ContextMenuRadioItem = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1499
1648
|
ContextMenuPrimitive__namespace.RadioItem,
|
|
1500
1649
|
{
|
|
1501
1650
|
ref,
|
|
@@ -1511,7 +1660,7 @@ var ContextMenuRadioItem = React39__namespace.forwardRef(({ className, children,
|
|
|
1511
1660
|
}
|
|
1512
1661
|
));
|
|
1513
1662
|
ContextMenuRadioItem.displayName = ContextMenuPrimitive__namespace.RadioItem.displayName;
|
|
1514
|
-
var ContextMenuLabel =
|
|
1663
|
+
var ContextMenuLabel = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1515
1664
|
ContextMenuPrimitive__namespace.Label,
|
|
1516
1665
|
{
|
|
1517
1666
|
ref,
|
|
@@ -1524,7 +1673,7 @@ var ContextMenuLabel = React39__namespace.forwardRef(({ className, inset, ...pro
|
|
|
1524
1673
|
}
|
|
1525
1674
|
));
|
|
1526
1675
|
ContextMenuLabel.displayName = ContextMenuPrimitive__namespace.Label.displayName;
|
|
1527
|
-
var ContextMenuSeparator =
|
|
1676
|
+
var ContextMenuSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1528
1677
|
ContextMenuPrimitive__namespace.Separator,
|
|
1529
1678
|
{
|
|
1530
1679
|
ref,
|
|
@@ -1563,7 +1712,7 @@ Drawer.displayName = "Drawer";
|
|
|
1563
1712
|
var DrawerTrigger = vaul.Drawer.Trigger;
|
|
1564
1713
|
var DrawerPortal = vaul.Drawer.Portal;
|
|
1565
1714
|
var DrawerClose = vaul.Drawer.Close;
|
|
1566
|
-
var DrawerOverlay =
|
|
1715
|
+
var DrawerOverlay = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1567
1716
|
vaul.Drawer.Overlay,
|
|
1568
1717
|
{
|
|
1569
1718
|
ref,
|
|
@@ -1572,7 +1721,7 @@ var DrawerOverlay = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1572
1721
|
}
|
|
1573
1722
|
));
|
|
1574
1723
|
DrawerOverlay.displayName = vaul.Drawer.Overlay.displayName;
|
|
1575
|
-
var DrawerContent =
|
|
1724
|
+
var DrawerContent = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { children: [
|
|
1576
1725
|
/* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
|
|
1577
1726
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1578
1727
|
vaul.Drawer.Content,
|
|
@@ -1613,7 +1762,7 @@ var DrawerFooter = ({
|
|
|
1613
1762
|
}
|
|
1614
1763
|
);
|
|
1615
1764
|
DrawerFooter.displayName = "DrawerFooter";
|
|
1616
|
-
var DrawerTitle =
|
|
1765
|
+
var DrawerTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1617
1766
|
vaul.Drawer.Title,
|
|
1618
1767
|
{
|
|
1619
1768
|
ref,
|
|
@@ -1625,7 +1774,7 @@ var DrawerTitle = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
1625
1774
|
}
|
|
1626
1775
|
));
|
|
1627
1776
|
DrawerTitle.displayName = vaul.Drawer.Title.displayName;
|
|
1628
|
-
var DrawerDescription =
|
|
1777
|
+
var DrawerDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1629
1778
|
vaul.Drawer.Description,
|
|
1630
1779
|
{
|
|
1631
1780
|
ref,
|
|
@@ -1640,7 +1789,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
|
|
|
1640
1789
|
var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
|
|
1641
1790
|
var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
|
|
1642
1791
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
|
|
1643
|
-
var DropdownMenuSubTrigger =
|
|
1792
|
+
var DropdownMenuSubTrigger = React40__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1644
1793
|
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
1645
1794
|
{
|
|
1646
1795
|
ref,
|
|
@@ -1657,7 +1806,7 @@ var DropdownMenuSubTrigger = React39__namespace.forwardRef(({ className, inset,
|
|
|
1657
1806
|
}
|
|
1658
1807
|
));
|
|
1659
1808
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
|
|
1660
|
-
var DropdownMenuSubContent =
|
|
1809
|
+
var DropdownMenuSubContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1661
1810
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
1662
1811
|
{
|
|
1663
1812
|
ref,
|
|
@@ -1669,7 +1818,7 @@ var DropdownMenuSubContent = React39__namespace.forwardRef(({ className, ...prop
|
|
|
1669
1818
|
}
|
|
1670
1819
|
));
|
|
1671
1820
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
|
|
1672
|
-
var DropdownMenuContent =
|
|
1821
|
+
var DropdownMenuContent = React40__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1673
1822
|
DropdownMenuPrimitive__namespace.Content,
|
|
1674
1823
|
{
|
|
1675
1824
|
ref,
|
|
@@ -1682,7 +1831,7 @@ var DropdownMenuContent = React39__namespace.forwardRef(({ className, sideOffset
|
|
|
1682
1831
|
}
|
|
1683
1832
|
) }));
|
|
1684
1833
|
DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
|
|
1685
|
-
var DropdownMenuItem =
|
|
1834
|
+
var DropdownMenuItem = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1686
1835
|
DropdownMenuPrimitive__namespace.Item,
|
|
1687
1836
|
{
|
|
1688
1837
|
ref,
|
|
@@ -1695,7 +1844,7 @@ var DropdownMenuItem = React39__namespace.forwardRef(({ className, inset, ...pro
|
|
|
1695
1844
|
}
|
|
1696
1845
|
));
|
|
1697
1846
|
DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
|
|
1698
|
-
var DropdownMenuCheckboxItem =
|
|
1847
|
+
var DropdownMenuCheckboxItem = React40__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1699
1848
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
1700
1849
|
{
|
|
1701
1850
|
ref,
|
|
@@ -1712,7 +1861,7 @@ var DropdownMenuCheckboxItem = React39__namespace.forwardRef(({ className, child
|
|
|
1712
1861
|
}
|
|
1713
1862
|
));
|
|
1714
1863
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
|
|
1715
|
-
var DropdownMenuRadioItem =
|
|
1864
|
+
var DropdownMenuRadioItem = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1716
1865
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
1717
1866
|
{
|
|
1718
1867
|
ref,
|
|
@@ -1728,7 +1877,7 @@ var DropdownMenuRadioItem = React39__namespace.forwardRef(({ className, children
|
|
|
1728
1877
|
}
|
|
1729
1878
|
));
|
|
1730
1879
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
|
|
1731
|
-
var DropdownMenuLabel =
|
|
1880
|
+
var DropdownMenuLabel = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1732
1881
|
DropdownMenuPrimitive__namespace.Label,
|
|
1733
1882
|
{
|
|
1734
1883
|
ref,
|
|
@@ -1741,7 +1890,7 @@ var DropdownMenuLabel = React39__namespace.forwardRef(({ className, inset, ...pr
|
|
|
1741
1890
|
}
|
|
1742
1891
|
));
|
|
1743
1892
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
|
|
1744
|
-
var DropdownMenuSeparator =
|
|
1893
|
+
var DropdownMenuSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1745
1894
|
DropdownMenuPrimitive__namespace.Separator,
|
|
1746
1895
|
{
|
|
1747
1896
|
ref,
|
|
@@ -1766,7 +1915,7 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
|
1766
1915
|
var labelVariants = classVarianceAuthority.cva(
|
|
1767
1916
|
"text-base font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1768
1917
|
);
|
|
1769
|
-
var Label3 =
|
|
1918
|
+
var Label3 = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1770
1919
|
LabelPrimitive__namespace.Root,
|
|
1771
1920
|
{
|
|
1772
1921
|
ref,
|
|
@@ -1776,7 +1925,7 @@ var Label3 = React39__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1776
1925
|
));
|
|
1777
1926
|
Label3.displayName = LabelPrimitive__namespace.Root.displayName;
|
|
1778
1927
|
var Form = reactHookForm.FormProvider;
|
|
1779
|
-
var FormFieldContext =
|
|
1928
|
+
var FormFieldContext = React40__namespace.createContext(
|
|
1780
1929
|
{}
|
|
1781
1930
|
);
|
|
1782
1931
|
var FormField = ({
|
|
@@ -1785,8 +1934,8 @@ var FormField = ({
|
|
|
1785
1934
|
return /* @__PURE__ */ jsxRuntime.jsx(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsxRuntime.jsx(reactHookForm.Controller, { ...props }) });
|
|
1786
1935
|
};
|
|
1787
1936
|
var useFormField = () => {
|
|
1788
|
-
const fieldContext =
|
|
1789
|
-
const itemContext =
|
|
1937
|
+
const fieldContext = React40__namespace.useContext(FormFieldContext);
|
|
1938
|
+
const itemContext = React40__namespace.useContext(FormItemContext);
|
|
1790
1939
|
const { getFieldState, formState } = reactHookForm.useFormContext();
|
|
1791
1940
|
const fieldState = getFieldState(fieldContext.name, formState);
|
|
1792
1941
|
if (!fieldContext) {
|
|
@@ -1802,15 +1951,15 @@ var useFormField = () => {
|
|
|
1802
1951
|
...fieldState
|
|
1803
1952
|
};
|
|
1804
1953
|
};
|
|
1805
|
-
var FormItemContext =
|
|
1954
|
+
var FormItemContext = React40__namespace.createContext(
|
|
1806
1955
|
{}
|
|
1807
1956
|
);
|
|
1808
|
-
var FormItem =
|
|
1809
|
-
const id =
|
|
1957
|
+
var FormItem = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1958
|
+
const id = React40__namespace.useId();
|
|
1810
1959
|
return /* @__PURE__ */ jsxRuntime.jsx(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("space-y-2", className), ...props }) });
|
|
1811
1960
|
});
|
|
1812
1961
|
FormItem.displayName = "FormItem";
|
|
1813
|
-
var FormLabel =
|
|
1962
|
+
var FormLabel = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1814
1963
|
const { error, formItemId } = useFormField();
|
|
1815
1964
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1816
1965
|
Label3,
|
|
@@ -1823,7 +1972,7 @@ var FormLabel = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
1823
1972
|
);
|
|
1824
1973
|
});
|
|
1825
1974
|
FormLabel.displayName = "FormLabel";
|
|
1826
|
-
var FormControl =
|
|
1975
|
+
var FormControl = React40__namespace.forwardRef(({ ...props }, ref) => {
|
|
1827
1976
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
1828
1977
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1829
1978
|
reactSlot.Slot,
|
|
@@ -1837,7 +1986,7 @@ var FormControl = React39__namespace.forwardRef(({ ...props }, ref) => {
|
|
|
1837
1986
|
);
|
|
1838
1987
|
});
|
|
1839
1988
|
FormControl.displayName = "FormControl";
|
|
1840
|
-
var FormDescription =
|
|
1989
|
+
var FormDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1841
1990
|
const { formDescriptionId } = useFormField();
|
|
1842
1991
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1843
1992
|
"p",
|
|
@@ -1850,7 +1999,7 @@ var FormDescription = React39__namespace.forwardRef(({ className, ...props }, re
|
|
|
1850
1999
|
);
|
|
1851
2000
|
});
|
|
1852
2001
|
FormDescription.displayName = "FormDescription";
|
|
1853
|
-
var FormMessage =
|
|
2002
|
+
var FormMessage = React40__namespace.forwardRef(({ className, children, ...props }, ref) => {
|
|
1854
2003
|
const { error, formMessageId } = useFormField();
|
|
1855
2004
|
const body = error ? String(error?.message) : children;
|
|
1856
2005
|
if (!body) {
|
|
@@ -1909,7 +2058,7 @@ var glassCardVariants = classVarianceAuthority.cva(
|
|
|
1909
2058
|
}
|
|
1910
2059
|
}
|
|
1911
2060
|
);
|
|
1912
|
-
var GlassCard =
|
|
2061
|
+
var GlassCard = React40__namespace.forwardRef(
|
|
1913
2062
|
({ className, variant, padding, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1914
2063
|
"div",
|
|
1915
2064
|
{
|
|
@@ -1920,7 +2069,7 @@ var GlassCard = React39__namespace.forwardRef(
|
|
|
1920
2069
|
)
|
|
1921
2070
|
);
|
|
1922
2071
|
GlassCard.displayName = "GlassCard";
|
|
1923
|
-
var GlassCardHeader =
|
|
2072
|
+
var GlassCardHeader = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1924
2073
|
"div",
|
|
1925
2074
|
{
|
|
1926
2075
|
ref,
|
|
@@ -1929,7 +2078,7 @@ var GlassCardHeader = React39__namespace.forwardRef(({ className, ...props }, re
|
|
|
1929
2078
|
}
|
|
1930
2079
|
));
|
|
1931
2080
|
GlassCardHeader.displayName = "GlassCardHeader";
|
|
1932
|
-
var GlassCardTitle =
|
|
2081
|
+
var GlassCardTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1933
2082
|
"h3",
|
|
1934
2083
|
{
|
|
1935
2084
|
ref,
|
|
@@ -1941,7 +2090,7 @@ var GlassCardTitle = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
1941
2090
|
}
|
|
1942
2091
|
));
|
|
1943
2092
|
GlassCardTitle.displayName = "GlassCardTitle";
|
|
1944
|
-
var GlassCardDescription =
|
|
2093
|
+
var GlassCardDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1945
2094
|
"p",
|
|
1946
2095
|
{
|
|
1947
2096
|
ref,
|
|
@@ -1950,9 +2099,9 @@ var GlassCardDescription = React39__namespace.forwardRef(({ className, ...props
|
|
|
1950
2099
|
}
|
|
1951
2100
|
));
|
|
1952
2101
|
GlassCardDescription.displayName = "GlassCardDescription";
|
|
1953
|
-
var GlassCardContent =
|
|
2102
|
+
var GlassCardContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
1954
2103
|
GlassCardContent.displayName = "GlassCardContent";
|
|
1955
|
-
var GlassCardFooter =
|
|
2104
|
+
var GlassCardFooter = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1956
2105
|
"div",
|
|
1957
2106
|
{
|
|
1958
2107
|
ref,
|
|
@@ -1988,7 +2137,7 @@ var glassHeaderVariants = classVarianceAuthority.cva(
|
|
|
1988
2137
|
}
|
|
1989
2138
|
}
|
|
1990
2139
|
);
|
|
1991
|
-
var GlassHeader =
|
|
2140
|
+
var GlassHeader = React40__namespace.forwardRef(
|
|
1992
2141
|
({ className, variant, sticky, padding, as: Component = "header", ...props }, ref) => {
|
|
1993
2142
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1994
2143
|
Component,
|
|
@@ -2024,7 +2173,7 @@ var glassOverlayVariants = classVarianceAuthority.cva(
|
|
|
2024
2173
|
}
|
|
2025
2174
|
}
|
|
2026
2175
|
);
|
|
2027
|
-
var GlassOverlay =
|
|
2176
|
+
var GlassOverlay = React40__namespace.forwardRef(
|
|
2028
2177
|
({ className, variant, blur, open = true, onClose, ...props }, ref) => {
|
|
2029
2178
|
if (!open) return null;
|
|
2030
2179
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2076,7 +2225,7 @@ var glassTabVariants = classVarianceAuthority.cva(
|
|
|
2076
2225
|
}
|
|
2077
2226
|
}
|
|
2078
2227
|
);
|
|
2079
|
-
var GlassTabs =
|
|
2228
|
+
var GlassTabs = React40__namespace.forwardRef(
|
|
2080
2229
|
({ className, tabs, activeTab, onTabChange, size, ...props }, ref) => {
|
|
2081
2230
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2082
2231
|
"div",
|
|
@@ -2116,7 +2265,7 @@ var GlassTabs = React39__namespace.forwardRef(
|
|
|
2116
2265
|
GlassTabs.displayName = "GlassTabs";
|
|
2117
2266
|
var HoverCard = HoverCardPrimitive__namespace.Root;
|
|
2118
2267
|
var HoverCardTrigger = HoverCardPrimitive__namespace.Trigger;
|
|
2119
|
-
var HoverCardContent =
|
|
2268
|
+
var HoverCardContent = React40__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2120
2269
|
HoverCardPrimitive__namespace.Content,
|
|
2121
2270
|
{
|
|
2122
2271
|
ref,
|
|
@@ -2152,7 +2301,7 @@ var inputVariants = classVarianceAuthority.cva(
|
|
|
2152
2301
|
}
|
|
2153
2302
|
}
|
|
2154
2303
|
);
|
|
2155
|
-
var Input =
|
|
2304
|
+
var Input = React40__namespace.forwardRef(
|
|
2156
2305
|
({ className, type, variant, ...props }, ref) => {
|
|
2157
2306
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2158
2307
|
"input",
|
|
@@ -2166,7 +2315,7 @@ var Input = React39__namespace.forwardRef(
|
|
|
2166
2315
|
}
|
|
2167
2316
|
);
|
|
2168
2317
|
Input.displayName = "Input";
|
|
2169
|
-
var InputOTP =
|
|
2318
|
+
var InputOTP = React40__namespace.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2170
2319
|
inputOtp.OTPInput,
|
|
2171
2320
|
{
|
|
2172
2321
|
ref,
|
|
@@ -2179,10 +2328,10 @@ var InputOTP = React39__namespace.forwardRef(({ className, containerClassName, .
|
|
|
2179
2328
|
}
|
|
2180
2329
|
));
|
|
2181
2330
|
InputOTP.displayName = "InputOTP";
|
|
2182
|
-
var InputOTPGroup =
|
|
2331
|
+
var InputOTPGroup = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
2183
2332
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
2184
|
-
var InputOTPSlot =
|
|
2185
|
-
const inputOTPContext =
|
|
2333
|
+
var InputOTPSlot = React40__namespace.forwardRef(({ index, className, ...props }, ref) => {
|
|
2334
|
+
const inputOTPContext = React40__namespace.useContext(inputOtp.OTPInputContext);
|
|
2186
2335
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
2187
2336
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2188
2337
|
"div",
|
|
@@ -2202,7 +2351,7 @@ var InputOTPSlot = React39__namespace.forwardRef(({ index, className, ...props }
|
|
|
2202
2351
|
);
|
|
2203
2352
|
});
|
|
2204
2353
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
2205
|
-
var InputOTPSeparator =
|
|
2354
|
+
var InputOTPSeparator = React40__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Dot, {}) }));
|
|
2206
2355
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
2207
2356
|
var sizes = {
|
|
2208
2357
|
sm: { height: 24 },
|
|
@@ -2237,7 +2386,7 @@ var MenubarGroup = MenubarPrimitive__namespace.Group;
|
|
|
2237
2386
|
var MenubarPortal = MenubarPrimitive__namespace.Portal;
|
|
2238
2387
|
var MenubarSub = MenubarPrimitive__namespace.Sub;
|
|
2239
2388
|
var MenubarRadioGroup = MenubarPrimitive__namespace.RadioGroup;
|
|
2240
|
-
var Menubar =
|
|
2389
|
+
var Menubar = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2241
2390
|
MenubarPrimitive__namespace.Root,
|
|
2242
2391
|
{
|
|
2243
2392
|
ref,
|
|
@@ -2249,7 +2398,7 @@ var Menubar = React39__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2249
2398
|
}
|
|
2250
2399
|
));
|
|
2251
2400
|
Menubar.displayName = MenubarPrimitive__namespace.Root.displayName;
|
|
2252
|
-
var MenubarTrigger =
|
|
2401
|
+
var MenubarTrigger = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2253
2402
|
MenubarPrimitive__namespace.Trigger,
|
|
2254
2403
|
{
|
|
2255
2404
|
ref,
|
|
@@ -2261,7 +2410,7 @@ var MenubarTrigger = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
2261
2410
|
}
|
|
2262
2411
|
));
|
|
2263
2412
|
MenubarTrigger.displayName = MenubarPrimitive__namespace.Trigger.displayName;
|
|
2264
|
-
var MenubarSubTrigger =
|
|
2413
|
+
var MenubarSubTrigger = React40__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2265
2414
|
MenubarPrimitive__namespace.SubTrigger,
|
|
2266
2415
|
{
|
|
2267
2416
|
ref,
|
|
@@ -2278,7 +2427,7 @@ var MenubarSubTrigger = React39__namespace.forwardRef(({ className, inset, child
|
|
|
2278
2427
|
}
|
|
2279
2428
|
));
|
|
2280
2429
|
MenubarSubTrigger.displayName = MenubarPrimitive__namespace.SubTrigger.displayName;
|
|
2281
|
-
var MenubarSubContent =
|
|
2430
|
+
var MenubarSubContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2282
2431
|
MenubarPrimitive__namespace.SubContent,
|
|
2283
2432
|
{
|
|
2284
2433
|
ref,
|
|
@@ -2290,7 +2439,7 @@ var MenubarSubContent = React39__namespace.forwardRef(({ className, ...props },
|
|
|
2290
2439
|
}
|
|
2291
2440
|
));
|
|
2292
2441
|
MenubarSubContent.displayName = MenubarPrimitive__namespace.SubContent.displayName;
|
|
2293
|
-
var MenubarContent =
|
|
2442
|
+
var MenubarContent = React40__namespace.forwardRef(
|
|
2294
2443
|
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2295
2444
|
MenubarPrimitive__namespace.Content,
|
|
2296
2445
|
{
|
|
@@ -2307,7 +2456,7 @@ var MenubarContent = React39__namespace.forwardRef(
|
|
|
2307
2456
|
) })
|
|
2308
2457
|
);
|
|
2309
2458
|
MenubarContent.displayName = MenubarPrimitive__namespace.Content.displayName;
|
|
2310
|
-
var MenubarItem =
|
|
2459
|
+
var MenubarItem = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2311
2460
|
MenubarPrimitive__namespace.Item,
|
|
2312
2461
|
{
|
|
2313
2462
|
ref,
|
|
@@ -2320,7 +2469,7 @@ var MenubarItem = React39__namespace.forwardRef(({ className, inset, ...props },
|
|
|
2320
2469
|
}
|
|
2321
2470
|
));
|
|
2322
2471
|
MenubarItem.displayName = MenubarPrimitive__namespace.Item.displayName;
|
|
2323
|
-
var MenubarCheckboxItem =
|
|
2472
|
+
var MenubarCheckboxItem = React40__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2324
2473
|
MenubarPrimitive__namespace.CheckboxItem,
|
|
2325
2474
|
{
|
|
2326
2475
|
ref,
|
|
@@ -2337,7 +2486,7 @@ var MenubarCheckboxItem = React39__namespace.forwardRef(({ className, children,
|
|
|
2337
2486
|
}
|
|
2338
2487
|
));
|
|
2339
2488
|
MenubarCheckboxItem.displayName = MenubarPrimitive__namespace.CheckboxItem.displayName;
|
|
2340
|
-
var MenubarRadioItem =
|
|
2489
|
+
var MenubarRadioItem = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2341
2490
|
MenubarPrimitive__namespace.RadioItem,
|
|
2342
2491
|
{
|
|
2343
2492
|
ref,
|
|
@@ -2353,7 +2502,7 @@ var MenubarRadioItem = React39__namespace.forwardRef(({ className, children, ...
|
|
|
2353
2502
|
}
|
|
2354
2503
|
));
|
|
2355
2504
|
MenubarRadioItem.displayName = MenubarPrimitive__namespace.RadioItem.displayName;
|
|
2356
|
-
var MenubarLabel =
|
|
2505
|
+
var MenubarLabel = React40__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2357
2506
|
MenubarPrimitive__namespace.Label,
|
|
2358
2507
|
{
|
|
2359
2508
|
ref,
|
|
@@ -2366,7 +2515,7 @@ var MenubarLabel = React39__namespace.forwardRef(({ className, inset, ...props }
|
|
|
2366
2515
|
}
|
|
2367
2516
|
));
|
|
2368
2517
|
MenubarLabel.displayName = MenubarPrimitive__namespace.Label.displayName;
|
|
2369
|
-
var MenubarSeparator =
|
|
2518
|
+
var MenubarSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2370
2519
|
MenubarPrimitive__namespace.Separator,
|
|
2371
2520
|
{
|
|
2372
2521
|
ref,
|
|
@@ -2391,7 +2540,7 @@ var MenubarShortcut = ({
|
|
|
2391
2540
|
);
|
|
2392
2541
|
};
|
|
2393
2542
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
2394
|
-
var NavigationMenu =
|
|
2543
|
+
var NavigationMenu = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2395
2544
|
NavigationMenuPrimitive__namespace.Root,
|
|
2396
2545
|
{
|
|
2397
2546
|
ref,
|
|
@@ -2407,7 +2556,7 @@ var NavigationMenu = React39__namespace.forwardRef(({ className, children, ...pr
|
|
|
2407
2556
|
}
|
|
2408
2557
|
));
|
|
2409
2558
|
NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
|
|
2410
|
-
var NavigationMenuList =
|
|
2559
|
+
var NavigationMenuList = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2411
2560
|
NavigationMenuPrimitive__namespace.List,
|
|
2412
2561
|
{
|
|
2413
2562
|
ref,
|
|
@@ -2423,7 +2572,7 @@ var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
|
|
|
2423
2572
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
2424
2573
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-base font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
2425
2574
|
);
|
|
2426
|
-
var NavigationMenuTrigger =
|
|
2575
|
+
var NavigationMenuTrigger = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2427
2576
|
NavigationMenuPrimitive__namespace.Trigger,
|
|
2428
2577
|
{
|
|
2429
2578
|
ref,
|
|
@@ -2443,7 +2592,7 @@ var NavigationMenuTrigger = React39__namespace.forwardRef(({ className, children
|
|
|
2443
2592
|
}
|
|
2444
2593
|
));
|
|
2445
2594
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
|
|
2446
|
-
var NavigationMenuContent =
|
|
2595
|
+
var NavigationMenuContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2447
2596
|
NavigationMenuPrimitive__namespace.Content,
|
|
2448
2597
|
{
|
|
2449
2598
|
ref,
|
|
@@ -2456,7 +2605,7 @@ var NavigationMenuContent = React39__namespace.forwardRef(({ className, ...props
|
|
|
2456
2605
|
));
|
|
2457
2606
|
NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
|
|
2458
2607
|
var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
|
|
2459
|
-
var NavigationMenuViewport =
|
|
2608
|
+
var NavigationMenuViewport = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2460
2609
|
NavigationMenuPrimitive__namespace.Viewport,
|
|
2461
2610
|
{
|
|
2462
2611
|
className: cn(
|
|
@@ -2468,7 +2617,7 @@ var NavigationMenuViewport = React39__namespace.forwardRef(({ className, ...prop
|
|
|
2468
2617
|
}
|
|
2469
2618
|
) }));
|
|
2470
2619
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
|
|
2471
|
-
var NavigationMenuIndicator =
|
|
2620
|
+
var NavigationMenuIndicator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2472
2621
|
NavigationMenuPrimitive__namespace.Indicator,
|
|
2473
2622
|
{
|
|
2474
2623
|
ref,
|
|
@@ -2554,7 +2703,7 @@ function Pagination({
|
|
|
2554
2703
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4" })
|
|
2555
2704
|
}
|
|
2556
2705
|
),
|
|
2557
|
-
getVisiblePages().map((page, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2706
|
+
getVisiblePages().map((page, index) => /* @__PURE__ */ jsxRuntime.jsx(React40__namespace.default.Fragment, { children: page === "ellipsis" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-9 w-9 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4 text-gray-400" }) }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
2558
2707
|
Button,
|
|
2559
2708
|
{
|
|
2560
2709
|
variant: currentPage === page ? "default" : "outline",
|
|
@@ -2580,7 +2729,7 @@ function Pagination({
|
|
|
2580
2729
|
}
|
|
2581
2730
|
var Popover = PopoverPrimitive__namespace.Root;
|
|
2582
2731
|
var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
|
|
2583
|
-
var PopoverContent =
|
|
2732
|
+
var PopoverContent = React40__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2584
2733
|
PopoverPrimitive__namespace.Content,
|
|
2585
2734
|
{
|
|
2586
2735
|
ref,
|
|
@@ -2594,7 +2743,7 @@ var PopoverContent = React39__namespace.forwardRef(({ className, align = "center
|
|
|
2594
2743
|
}
|
|
2595
2744
|
) }));
|
|
2596
2745
|
PopoverContent.displayName = PopoverPrimitive__namespace.Content.displayName;
|
|
2597
|
-
var Progress =
|
|
2746
|
+
var Progress = React40__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2598
2747
|
ProgressPrimitive__namespace.Root,
|
|
2599
2748
|
{
|
|
2600
2749
|
ref,
|
|
@@ -2613,7 +2762,7 @@ var Progress = React39__namespace.forwardRef(({ className, value, ...props }, re
|
|
|
2613
2762
|
}
|
|
2614
2763
|
));
|
|
2615
2764
|
Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
|
|
2616
|
-
var RadioGroup4 =
|
|
2765
|
+
var RadioGroup4 = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
2617
2766
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2618
2767
|
RadioGroupPrimitive__namespace.Root,
|
|
2619
2768
|
{
|
|
@@ -2624,7 +2773,7 @@ var RadioGroup4 = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2624
2773
|
);
|
|
2625
2774
|
});
|
|
2626
2775
|
RadioGroup4.displayName = RadioGroupPrimitive__namespace.Root.displayName;
|
|
2627
|
-
var RadioGroupItem =
|
|
2776
|
+
var RadioGroupItem = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
2628
2777
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2629
2778
|
RadioGroupPrimitive__namespace.Item,
|
|
2630
2779
|
{
|
|
@@ -2668,7 +2817,7 @@ var ResizableHandle = ({
|
|
|
2668
2817
|
children: withHandle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GripVertical, { className: "h-2.5 w-2.5" }) })
|
|
2669
2818
|
}
|
|
2670
2819
|
);
|
|
2671
|
-
var ScrollArea =
|
|
2820
|
+
var ScrollArea = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2672
2821
|
ScrollAreaPrimitive__namespace.Root,
|
|
2673
2822
|
{
|
|
2674
2823
|
ref,
|
|
@@ -2682,7 +2831,7 @@ var ScrollArea = React39__namespace.forwardRef(({ className, children, ...props
|
|
|
2682
2831
|
}
|
|
2683
2832
|
));
|
|
2684
2833
|
ScrollArea.displayName = ScrollAreaPrimitive__namespace.Root.displayName;
|
|
2685
|
-
var ScrollBar =
|
|
2834
|
+
var ScrollBar = React40__namespace.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2686
2835
|
ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
|
|
2687
2836
|
{
|
|
2688
2837
|
ref,
|
|
@@ -2701,7 +2850,7 @@ ScrollBar.displayName = ScrollAreaPrimitive__namespace.ScrollAreaScrollbar.displ
|
|
|
2701
2850
|
var Select = SelectPrimitive__namespace.Root;
|
|
2702
2851
|
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
2703
2852
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
2704
|
-
var SelectTrigger =
|
|
2853
|
+
var SelectTrigger = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2705
2854
|
SelectPrimitive__namespace.Trigger,
|
|
2706
2855
|
{
|
|
2707
2856
|
ref,
|
|
@@ -2717,7 +2866,7 @@ var SelectTrigger = React39__namespace.forwardRef(({ className, children, ...pro
|
|
|
2717
2866
|
}
|
|
2718
2867
|
));
|
|
2719
2868
|
SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
|
|
2720
|
-
var SelectScrollUpButton =
|
|
2869
|
+
var SelectScrollUpButton = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2721
2870
|
SelectPrimitive__namespace.ScrollUpButton,
|
|
2722
2871
|
{
|
|
2723
2872
|
ref,
|
|
@@ -2730,7 +2879,7 @@ var SelectScrollUpButton = React39__namespace.forwardRef(({ className, ...props
|
|
|
2730
2879
|
}
|
|
2731
2880
|
));
|
|
2732
2881
|
SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
|
|
2733
|
-
var SelectScrollDownButton =
|
|
2882
|
+
var SelectScrollDownButton = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2734
2883
|
SelectPrimitive__namespace.ScrollDownButton,
|
|
2735
2884
|
{
|
|
2736
2885
|
ref,
|
|
@@ -2743,7 +2892,7 @@ var SelectScrollDownButton = React39__namespace.forwardRef(({ className, ...prop
|
|
|
2743
2892
|
}
|
|
2744
2893
|
));
|
|
2745
2894
|
SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
|
|
2746
|
-
var SelectContent =
|
|
2895
|
+
var SelectContent = React40__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2747
2896
|
SelectPrimitive__namespace.Content,
|
|
2748
2897
|
{
|
|
2749
2898
|
ref,
|
|
@@ -2771,7 +2920,7 @@ var SelectContent = React39__namespace.forwardRef(({ className, children, positi
|
|
|
2771
2920
|
}
|
|
2772
2921
|
) }));
|
|
2773
2922
|
SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
|
|
2774
|
-
var SelectLabel =
|
|
2923
|
+
var SelectLabel = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2775
2924
|
SelectPrimitive__namespace.Label,
|
|
2776
2925
|
{
|
|
2777
2926
|
ref,
|
|
@@ -2780,7 +2929,7 @@ var SelectLabel = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2780
2929
|
}
|
|
2781
2930
|
));
|
|
2782
2931
|
SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
|
|
2783
|
-
var SelectItem =
|
|
2932
|
+
var SelectItem = React40__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2784
2933
|
SelectPrimitive__namespace.Item,
|
|
2785
2934
|
{
|
|
2786
2935
|
ref,
|
|
@@ -2796,7 +2945,7 @@ var SelectItem = React39__namespace.forwardRef(({ className, children, ...props
|
|
|
2796
2945
|
}
|
|
2797
2946
|
));
|
|
2798
2947
|
SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
|
|
2799
|
-
var SelectSeparator =
|
|
2948
|
+
var SelectSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2800
2949
|
SelectPrimitive__namespace.Separator,
|
|
2801
2950
|
{
|
|
2802
2951
|
ref,
|
|
@@ -2816,7 +2965,7 @@ var separatorVariants = classVarianceAuthority.cva("shrink-0", {
|
|
|
2816
2965
|
variant: "default"
|
|
2817
2966
|
}
|
|
2818
2967
|
});
|
|
2819
|
-
var Separator5 =
|
|
2968
|
+
var Separator5 = React40__namespace.forwardRef(
|
|
2820
2969
|
({ className, orientation = "horizontal", variant, decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2821
2970
|
SeparatorPrimitive__namespace.Root,
|
|
2822
2971
|
{
|
|
@@ -2837,7 +2986,7 @@ var Sheet = DialogPrimitive__namespace.Root;
|
|
|
2837
2986
|
var SheetTrigger = DialogPrimitive__namespace.Trigger;
|
|
2838
2987
|
var SheetClose = DialogPrimitive__namespace.Close;
|
|
2839
2988
|
var SheetPortal = DialogPrimitive__namespace.Portal;
|
|
2840
|
-
var SheetOverlay =
|
|
2989
|
+
var SheetOverlay = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2841
2990
|
DialogPrimitive__namespace.Overlay,
|
|
2842
2991
|
{
|
|
2843
2992
|
className: cn(
|
|
@@ -2865,7 +3014,7 @@ var sheetVariants = classVarianceAuthority.cva(
|
|
|
2865
3014
|
}
|
|
2866
3015
|
}
|
|
2867
3016
|
);
|
|
2868
|
-
var SheetContent =
|
|
3017
|
+
var SheetContent = React40__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
|
|
2869
3018
|
/* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
|
|
2870
3019
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2871
3020
|
DialogPrimitive__namespace.Content,
|
|
@@ -2906,7 +3055,7 @@ var SheetFooter = ({
|
|
|
2906
3055
|
}
|
|
2907
3056
|
);
|
|
2908
3057
|
SheetFooter.displayName = "SheetFooter";
|
|
2909
|
-
var SheetTitle =
|
|
3058
|
+
var SheetTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2910
3059
|
DialogPrimitive__namespace.Title,
|
|
2911
3060
|
{
|
|
2912
3061
|
ref,
|
|
@@ -2915,7 +3064,7 @@ var SheetTitle = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
2915
3064
|
}
|
|
2916
3065
|
));
|
|
2917
3066
|
SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
|
|
2918
|
-
var SheetDescription =
|
|
3067
|
+
var SheetDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2919
3068
|
DialogPrimitive__namespace.Description,
|
|
2920
3069
|
{
|
|
2921
3070
|
ref,
|
|
@@ -2936,11 +3085,11 @@ function Skeleton({
|
|
|
2936
3085
|
}
|
|
2937
3086
|
);
|
|
2938
3087
|
}
|
|
2939
|
-
var TooltipProvider =
|
|
3088
|
+
var TooltipProvider = React40__namespace.forwardRef(({ delayDuration = 0, ...props }, _ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Provider, { delayDuration, ...props }));
|
|
2940
3089
|
TooltipProvider.displayName = "TooltipProvider";
|
|
2941
|
-
var TooltipContext =
|
|
3090
|
+
var TooltipContext = React40__namespace.createContext(null);
|
|
2942
3091
|
var Tooltip2 = ({ children, open, onOpenChange, ...props }) => {
|
|
2943
|
-
const [clickedOpen, setClickedOpen] =
|
|
3092
|
+
const [clickedOpen, setClickedOpen] = React40__namespace.useState(false);
|
|
2944
3093
|
const isControlled = open !== void 0;
|
|
2945
3094
|
const isOpen = isControlled ? open : clickedOpen || void 0;
|
|
2946
3095
|
const handleOpenChange = (newOpen) => {
|
|
@@ -2949,7 +3098,7 @@ var Tooltip2 = ({ children, open, onOpenChange, ...props }) => {
|
|
|
2949
3098
|
}
|
|
2950
3099
|
onOpenChange?.(newOpen);
|
|
2951
3100
|
};
|
|
2952
|
-
|
|
3101
|
+
React40__namespace.useEffect(() => {
|
|
2953
3102
|
if (!clickedOpen) return;
|
|
2954
3103
|
const handleClickOutside = () => {
|
|
2955
3104
|
setClickedOpen(false);
|
|
@@ -2972,8 +3121,8 @@ var Tooltip2 = ({ children, open, onOpenChange, ...props }) => {
|
|
|
2972
3121
|
}
|
|
2973
3122
|
) });
|
|
2974
3123
|
};
|
|
2975
|
-
var TooltipTrigger =
|
|
2976
|
-
const context =
|
|
3124
|
+
var TooltipTrigger = React40__namespace.forwardRef(({ onClick, ...props }, ref) => {
|
|
3125
|
+
const context = React40__namespace.useContext(TooltipContext);
|
|
2977
3126
|
const handleClick = (e) => {
|
|
2978
3127
|
if (context) {
|
|
2979
3128
|
e.stopPropagation();
|
|
@@ -2984,7 +3133,7 @@ var TooltipTrigger = React39__namespace.forwardRef(({ onClick, ...props }, ref)
|
|
|
2984
3133
|
return /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Trigger, { ref, onClick: handleClick, ...props });
|
|
2985
3134
|
});
|
|
2986
3135
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
2987
|
-
var TooltipContent =
|
|
3136
|
+
var TooltipContent = React40__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2988
3137
|
TooltipPrimitive__namespace.Content,
|
|
2989
3138
|
{
|
|
2990
3139
|
ref,
|
|
@@ -3003,15 +3152,15 @@ var SIDEBAR_WIDTH = "16rem";
|
|
|
3003
3152
|
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
3004
3153
|
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
3005
3154
|
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
3006
|
-
var SidebarContext =
|
|
3155
|
+
var SidebarContext = React40__namespace.createContext(null);
|
|
3007
3156
|
function useSidebar() {
|
|
3008
|
-
const context =
|
|
3157
|
+
const context = React40__namespace.useContext(SidebarContext);
|
|
3009
3158
|
if (!context) {
|
|
3010
3159
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
3011
3160
|
}
|
|
3012
3161
|
return context;
|
|
3013
3162
|
}
|
|
3014
|
-
var SidebarProvider =
|
|
3163
|
+
var SidebarProvider = React40__namespace.forwardRef(
|
|
3015
3164
|
({
|
|
3016
3165
|
defaultOpen = true,
|
|
3017
3166
|
open: openProp,
|
|
@@ -3022,10 +3171,10 @@ var SidebarProvider = React39__namespace.forwardRef(
|
|
|
3022
3171
|
...props
|
|
3023
3172
|
}, ref) => {
|
|
3024
3173
|
const isMobile = useIsMobile();
|
|
3025
|
-
const [openMobile, setOpenMobile] =
|
|
3026
|
-
const [_open, _setOpen] =
|
|
3174
|
+
const [openMobile, setOpenMobile] = React40__namespace.useState(false);
|
|
3175
|
+
const [_open, _setOpen] = React40__namespace.useState(defaultOpen);
|
|
3027
3176
|
const open = openProp ?? _open;
|
|
3028
|
-
const setOpen =
|
|
3177
|
+
const setOpen = React40__namespace.useCallback(
|
|
3029
3178
|
(value) => {
|
|
3030
3179
|
if (setOpenProp) {
|
|
3031
3180
|
return setOpenProp?.(
|
|
@@ -3037,10 +3186,10 @@ var SidebarProvider = React39__namespace.forwardRef(
|
|
|
3037
3186
|
},
|
|
3038
3187
|
[setOpenProp, open]
|
|
3039
3188
|
);
|
|
3040
|
-
const toggleSidebar =
|
|
3189
|
+
const toggleSidebar = React40__namespace.useCallback(() => {
|
|
3041
3190
|
return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
|
|
3042
3191
|
}, [isMobile, setOpen, setOpenMobile]);
|
|
3043
|
-
|
|
3192
|
+
React40__namespace.useEffect(() => {
|
|
3044
3193
|
const handleKeyDown = (event) => {
|
|
3045
3194
|
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
3046
3195
|
event.preventDefault();
|
|
@@ -3051,7 +3200,7 @@ var SidebarProvider = React39__namespace.forwardRef(
|
|
|
3051
3200
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
3052
3201
|
}, [toggleSidebar]);
|
|
3053
3202
|
const state = open ? "expanded" : "collapsed";
|
|
3054
|
-
const contextValue =
|
|
3203
|
+
const contextValue = React40__namespace.useMemo(
|
|
3055
3204
|
() => ({
|
|
3056
3205
|
state,
|
|
3057
3206
|
open,
|
|
@@ -3083,7 +3232,7 @@ var SidebarProvider = React39__namespace.forwardRef(
|
|
|
3083
3232
|
}
|
|
3084
3233
|
);
|
|
3085
3234
|
SidebarProvider.displayName = "SidebarProvider";
|
|
3086
|
-
var Sidebar =
|
|
3235
|
+
var Sidebar = React40__namespace.forwardRef(
|
|
3087
3236
|
({
|
|
3088
3237
|
side = "left",
|
|
3089
3238
|
variant = "sidebar",
|
|
@@ -3170,7 +3319,7 @@ var Sidebar = React39__namespace.forwardRef(
|
|
|
3170
3319
|
}
|
|
3171
3320
|
);
|
|
3172
3321
|
Sidebar.displayName = "Sidebar";
|
|
3173
|
-
var SidebarTrigger =
|
|
3322
|
+
var SidebarTrigger = React40__namespace.forwardRef(({ className, onClick, ...props }, ref) => {
|
|
3174
3323
|
const { toggleSidebar } = useSidebar();
|
|
3175
3324
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3176
3325
|
Button,
|
|
@@ -3193,7 +3342,7 @@ var SidebarTrigger = React39__namespace.forwardRef(({ className, onClick, ...pro
|
|
|
3193
3342
|
);
|
|
3194
3343
|
});
|
|
3195
3344
|
SidebarTrigger.displayName = "SidebarTrigger";
|
|
3196
|
-
var SidebarRail =
|
|
3345
|
+
var SidebarRail = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3197
3346
|
const { toggleSidebar } = useSidebar();
|
|
3198
3347
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3199
3348
|
"button",
|
|
@@ -3218,7 +3367,7 @@ var SidebarRail = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3218
3367
|
);
|
|
3219
3368
|
});
|
|
3220
3369
|
SidebarRail.displayName = "SidebarRail";
|
|
3221
|
-
var SidebarInset =
|
|
3370
|
+
var SidebarInset = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3222
3371
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3223
3372
|
"main",
|
|
3224
3373
|
{
|
|
@@ -3233,7 +3382,7 @@ var SidebarInset = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3233
3382
|
);
|
|
3234
3383
|
});
|
|
3235
3384
|
SidebarInset.displayName = "SidebarInset";
|
|
3236
|
-
var SidebarInput =
|
|
3385
|
+
var SidebarInput = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3237
3386
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3238
3387
|
Input,
|
|
3239
3388
|
{
|
|
@@ -3248,7 +3397,7 @@ var SidebarInput = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3248
3397
|
);
|
|
3249
3398
|
});
|
|
3250
3399
|
SidebarInput.displayName = "SidebarInput";
|
|
3251
|
-
var SidebarHeader =
|
|
3400
|
+
var SidebarHeader = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3252
3401
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3253
3402
|
"div",
|
|
3254
3403
|
{
|
|
@@ -3260,7 +3409,7 @@ var SidebarHeader = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3260
3409
|
);
|
|
3261
3410
|
});
|
|
3262
3411
|
SidebarHeader.displayName = "SidebarHeader";
|
|
3263
|
-
var SidebarFooter =
|
|
3412
|
+
var SidebarFooter = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3264
3413
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3265
3414
|
"div",
|
|
3266
3415
|
{
|
|
@@ -3272,7 +3421,7 @@ var SidebarFooter = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3272
3421
|
);
|
|
3273
3422
|
});
|
|
3274
3423
|
SidebarFooter.displayName = "SidebarFooter";
|
|
3275
|
-
var SidebarSeparator =
|
|
3424
|
+
var SidebarSeparator = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3276
3425
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3277
3426
|
Separator5,
|
|
3278
3427
|
{
|
|
@@ -3284,7 +3433,7 @@ var SidebarSeparator = React39__namespace.forwardRef(({ className, ...props }, r
|
|
|
3284
3433
|
);
|
|
3285
3434
|
});
|
|
3286
3435
|
SidebarSeparator.displayName = "SidebarSeparator";
|
|
3287
|
-
var SidebarContent =
|
|
3436
|
+
var SidebarContent = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3288
3437
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3289
3438
|
"div",
|
|
3290
3439
|
{
|
|
@@ -3299,7 +3448,7 @@ var SidebarContent = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
3299
3448
|
);
|
|
3300
3449
|
});
|
|
3301
3450
|
SidebarContent.displayName = "SidebarContent";
|
|
3302
|
-
var SidebarGroup =
|
|
3451
|
+
var SidebarGroup = React40__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
3303
3452
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3304
3453
|
"div",
|
|
3305
3454
|
{
|
|
@@ -3311,7 +3460,7 @@ var SidebarGroup = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3311
3460
|
);
|
|
3312
3461
|
});
|
|
3313
3462
|
SidebarGroup.displayName = "SidebarGroup";
|
|
3314
|
-
var SidebarGroupLabel =
|
|
3463
|
+
var SidebarGroupLabel = React40__namespace.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
3315
3464
|
const Comp = asChild ? reactSlot.Slot : "div";
|
|
3316
3465
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3317
3466
|
Comp,
|
|
@@ -3328,7 +3477,7 @@ var SidebarGroupLabel = React39__namespace.forwardRef(({ className, asChild = fa
|
|
|
3328
3477
|
);
|
|
3329
3478
|
});
|
|
3330
3479
|
SidebarGroupLabel.displayName = "SidebarGroupLabel";
|
|
3331
|
-
var SidebarGroupAction =
|
|
3480
|
+
var SidebarGroupAction = React40__namespace.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
3332
3481
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
3333
3482
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3334
3483
|
Comp,
|
|
@@ -3347,7 +3496,7 @@ var SidebarGroupAction = React39__namespace.forwardRef(({ className, asChild = f
|
|
|
3347
3496
|
);
|
|
3348
3497
|
});
|
|
3349
3498
|
SidebarGroupAction.displayName = "SidebarGroupAction";
|
|
3350
|
-
var SidebarGroupContent =
|
|
3499
|
+
var SidebarGroupContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3351
3500
|
"div",
|
|
3352
3501
|
{
|
|
3353
3502
|
ref,
|
|
@@ -3357,7 +3506,7 @@ var SidebarGroupContent = React39__namespace.forwardRef(({ className, ...props }
|
|
|
3357
3506
|
}
|
|
3358
3507
|
));
|
|
3359
3508
|
SidebarGroupContent.displayName = "SidebarGroupContent";
|
|
3360
|
-
var SidebarMenu =
|
|
3509
|
+
var SidebarMenu = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3361
3510
|
"ul",
|
|
3362
3511
|
{
|
|
3363
3512
|
ref,
|
|
@@ -3367,7 +3516,7 @@ var SidebarMenu = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3367
3516
|
}
|
|
3368
3517
|
));
|
|
3369
3518
|
SidebarMenu.displayName = "SidebarMenu";
|
|
3370
|
-
var SidebarMenuItem =
|
|
3519
|
+
var SidebarMenuItem = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3371
3520
|
"li",
|
|
3372
3521
|
{
|
|
3373
3522
|
ref,
|
|
@@ -3397,7 +3546,7 @@ var sidebarMenuButtonVariants = classVarianceAuthority.cva(
|
|
|
3397
3546
|
}
|
|
3398
3547
|
}
|
|
3399
3548
|
);
|
|
3400
|
-
var SidebarMenuButton =
|
|
3549
|
+
var SidebarMenuButton = React40__namespace.forwardRef(
|
|
3401
3550
|
({
|
|
3402
3551
|
asChild = false,
|
|
3403
3552
|
isActive = false,
|
|
@@ -3443,7 +3592,7 @@ var SidebarMenuButton = React39__namespace.forwardRef(
|
|
|
3443
3592
|
}
|
|
3444
3593
|
);
|
|
3445
3594
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
3446
|
-
var SidebarMenuAction =
|
|
3595
|
+
var SidebarMenuAction = React40__namespace.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
|
|
3447
3596
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
3448
3597
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3449
3598
|
Comp,
|
|
@@ -3466,7 +3615,7 @@ var SidebarMenuAction = React39__namespace.forwardRef(({ className, asChild = fa
|
|
|
3466
3615
|
);
|
|
3467
3616
|
});
|
|
3468
3617
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
3469
|
-
var SidebarMenuBadge =
|
|
3618
|
+
var SidebarMenuBadge = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3470
3619
|
"div",
|
|
3471
3620
|
{
|
|
3472
3621
|
ref,
|
|
@@ -3484,8 +3633,8 @@ var SidebarMenuBadge = React39__namespace.forwardRef(({ className, ...props }, r
|
|
|
3484
3633
|
}
|
|
3485
3634
|
));
|
|
3486
3635
|
SidebarMenuBadge.displayName = "SidebarMenuBadge";
|
|
3487
|
-
var SidebarMenuSkeleton =
|
|
3488
|
-
const width =
|
|
3636
|
+
var SidebarMenuSkeleton = React40__namespace.forwardRef(({ className, showIcon = false, ...props }, ref) => {
|
|
3637
|
+
const width = React40__namespace.useMemo(() => {
|
|
3489
3638
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3490
3639
|
}, []);
|
|
3491
3640
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3518,7 +3667,7 @@ var SidebarMenuSkeleton = React39__namespace.forwardRef(({ className, showIcon =
|
|
|
3518
3667
|
);
|
|
3519
3668
|
});
|
|
3520
3669
|
SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
|
|
3521
|
-
var SidebarMenuSub =
|
|
3670
|
+
var SidebarMenuSub = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3522
3671
|
"ul",
|
|
3523
3672
|
{
|
|
3524
3673
|
ref,
|
|
@@ -3532,9 +3681,9 @@ var SidebarMenuSub = React39__namespace.forwardRef(({ className, ...props }, ref
|
|
|
3532
3681
|
}
|
|
3533
3682
|
));
|
|
3534
3683
|
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
3535
|
-
var SidebarMenuSubItem =
|
|
3684
|
+
var SidebarMenuSubItem = React40__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, ...props }));
|
|
3536
3685
|
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
3537
|
-
var SidebarMenuSubButton =
|
|
3686
|
+
var SidebarMenuSubButton = React40__namespace.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
|
|
3538
3687
|
const Comp = asChild ? reactSlot.Slot : "a";
|
|
3539
3688
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3540
3689
|
Comp,
|
|
@@ -3573,7 +3722,7 @@ function SimpleTabs({ tabs, activeTab, onTabChange }) {
|
|
|
3573
3722
|
);
|
|
3574
3723
|
}) });
|
|
3575
3724
|
}
|
|
3576
|
-
var Slider =
|
|
3725
|
+
var Slider = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3577
3726
|
SliderPrimitive__namespace.Root,
|
|
3578
3727
|
{
|
|
3579
3728
|
ref,
|
|
@@ -3664,7 +3813,7 @@ function StatusBadge({
|
|
|
3664
3813
|
}
|
|
3665
3814
|
);
|
|
3666
3815
|
}
|
|
3667
|
-
var Switch =
|
|
3816
|
+
var Switch = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3668
3817
|
SwitchPrimitives__namespace.Root,
|
|
3669
3818
|
{
|
|
3670
3819
|
className: cn(
|
|
@@ -3684,7 +3833,7 @@ var Switch = React39__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
3684
3833
|
}
|
|
3685
3834
|
));
|
|
3686
3835
|
Switch.displayName = SwitchPrimitives__namespace.Root.displayName;
|
|
3687
|
-
var Table =
|
|
3836
|
+
var Table = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3688
3837
|
"table",
|
|
3689
3838
|
{
|
|
3690
3839
|
ref,
|
|
@@ -3693,9 +3842,9 @@ var Table = React39__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3693
3842
|
}
|
|
3694
3843
|
) }));
|
|
3695
3844
|
Table.displayName = "Table";
|
|
3696
|
-
var TableHeader =
|
|
3845
|
+
var TableHeader = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
3697
3846
|
TableHeader.displayName = "TableHeader";
|
|
3698
|
-
var TableBody =
|
|
3847
|
+
var TableBody = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3699
3848
|
"tbody",
|
|
3700
3849
|
{
|
|
3701
3850
|
ref,
|
|
@@ -3704,7 +3853,7 @@ var TableBody = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3704
3853
|
}
|
|
3705
3854
|
));
|
|
3706
3855
|
TableBody.displayName = "TableBody";
|
|
3707
|
-
var TableFooter =
|
|
3856
|
+
var TableFooter = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3708
3857
|
"tfoot",
|
|
3709
3858
|
{
|
|
3710
3859
|
ref,
|
|
@@ -3716,7 +3865,7 @@ var TableFooter = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3716
3865
|
}
|
|
3717
3866
|
));
|
|
3718
3867
|
TableFooter.displayName = "TableFooter";
|
|
3719
|
-
var TableRow =
|
|
3868
|
+
var TableRow = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3720
3869
|
"tr",
|
|
3721
3870
|
{
|
|
3722
3871
|
ref,
|
|
@@ -3728,7 +3877,7 @@ var TableRow = React39__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
3728
3877
|
}
|
|
3729
3878
|
));
|
|
3730
3879
|
TableRow.displayName = "TableRow";
|
|
3731
|
-
var TableHead =
|
|
3880
|
+
var TableHead = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3732
3881
|
"th",
|
|
3733
3882
|
{
|
|
3734
3883
|
ref,
|
|
@@ -3740,7 +3889,7 @@ var TableHead = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3740
3889
|
}
|
|
3741
3890
|
));
|
|
3742
3891
|
TableHead.displayName = "TableHead";
|
|
3743
|
-
var TableCell =
|
|
3892
|
+
var TableCell = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3744
3893
|
"td",
|
|
3745
3894
|
{
|
|
3746
3895
|
ref,
|
|
@@ -3749,7 +3898,7 @@ var TableCell = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3749
3898
|
}
|
|
3750
3899
|
));
|
|
3751
3900
|
TableCell.displayName = "TableCell";
|
|
3752
|
-
var TableCaption =
|
|
3901
|
+
var TableCaption = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3753
3902
|
"caption",
|
|
3754
3903
|
{
|
|
3755
3904
|
ref,
|
|
@@ -3759,7 +3908,7 @@ var TableCaption = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3759
3908
|
));
|
|
3760
3909
|
TableCaption.displayName = "TableCaption";
|
|
3761
3910
|
var Tabs = TabsPrimitive__namespace.Root;
|
|
3762
|
-
var TabsList =
|
|
3911
|
+
var TabsList = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-x-auto pb-1 hide-scrollbar", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3763
3912
|
TabsPrimitive__namespace.List,
|
|
3764
3913
|
{
|
|
3765
3914
|
ref,
|
|
@@ -3771,7 +3920,7 @@ var TabsList = React39__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
3771
3920
|
}
|
|
3772
3921
|
) }));
|
|
3773
3922
|
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
3774
|
-
var TabsTrigger =
|
|
3923
|
+
var TabsTrigger = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3775
3924
|
TabsPrimitive__namespace.Trigger,
|
|
3776
3925
|
{
|
|
3777
3926
|
ref,
|
|
@@ -3783,7 +3932,7 @@ var TabsTrigger = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3783
3932
|
}
|
|
3784
3933
|
));
|
|
3785
3934
|
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
3786
|
-
var TabsContent =
|
|
3935
|
+
var TabsContent = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3787
3936
|
TabsPrimitive__namespace.Content,
|
|
3788
3937
|
{
|
|
3789
3938
|
ref,
|
|
@@ -3795,7 +3944,7 @@ var TabsContent = React39__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3795
3944
|
}
|
|
3796
3945
|
));
|
|
3797
3946
|
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
3798
|
-
var Textarea =
|
|
3947
|
+
var Textarea = React40__namespace.forwardRef(
|
|
3799
3948
|
({ className, ...props }, ref) => {
|
|
3800
3949
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3801
3950
|
"textarea",
|
|
@@ -3812,12 +3961,12 @@ var Textarea = React39__namespace.forwardRef(
|
|
|
3812
3961
|
);
|
|
3813
3962
|
Textarea.displayName = "Textarea";
|
|
3814
3963
|
var ToastProvider = ToastPrimitives__namespace.Provider;
|
|
3815
|
-
var ToastViewport =
|
|
3964
|
+
var ToastViewport = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3816
3965
|
ToastPrimitives__namespace.Viewport,
|
|
3817
3966
|
{
|
|
3818
3967
|
ref,
|
|
3819
3968
|
className: cn(
|
|
3820
|
-
"fixed top-0 z-[9999] flex max-h-screen w-full flex-col-reverse
|
|
3969
|
+
"fixed top-0 z-[9999] flex max-h-screen w-full flex-col-reverse px-4 pt-[max(1rem,env(safe-area-inset-top))] pb-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col sm:pt-4 sm:pb-[max(1rem,env(safe-area-inset-bottom))] sm:pr-[max(1rem,env(safe-area-inset-right))] md:max-w-[420px]",
|
|
3821
3970
|
className
|
|
3822
3971
|
),
|
|
3823
3972
|
...props
|
|
@@ -3825,12 +3974,12 @@ var ToastViewport = React39__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
3825
3974
|
));
|
|
3826
3975
|
ToastViewport.displayName = ToastPrimitives__namespace.Viewport.displayName;
|
|
3827
3976
|
var toastVariants = classVarianceAuthority.cva(
|
|
3828
|
-
"group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-
|
|
3977
|
+
"group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-2xl border p-4 pr-8 shadow-glass backdrop-blur-glass transition-all duration-300 data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
3829
3978
|
{
|
|
3830
3979
|
variants: {
|
|
3831
3980
|
variant: {
|
|
3832
|
-
default: "
|
|
3833
|
-
destructive: "destructive group
|
|
3981
|
+
default: "bg-glass border-glass-border text-glass-foreground",
|
|
3982
|
+
destructive: "destructive group bg-destructive/90 border-destructive/50 text-destructive-foreground backdrop-blur-glass-strong"
|
|
3834
3983
|
}
|
|
3835
3984
|
},
|
|
3836
3985
|
defaultVariants: {
|
|
@@ -3838,7 +3987,7 @@ var toastVariants = classVarianceAuthority.cva(
|
|
|
3838
3987
|
}
|
|
3839
3988
|
}
|
|
3840
3989
|
);
|
|
3841
|
-
var Toast =
|
|
3990
|
+
var Toast = React40__namespace.forwardRef(({ className, variant, ...props }, ref) => {
|
|
3842
3991
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3843
3992
|
ToastPrimitives__namespace.Root,
|
|
3844
3993
|
{
|
|
@@ -3849,24 +3998,24 @@ var Toast = React39__namespace.forwardRef(({ className, variant, ...props }, ref
|
|
|
3849
3998
|
);
|
|
3850
3999
|
});
|
|
3851
4000
|
Toast.displayName = ToastPrimitives__namespace.Root.displayName;
|
|
3852
|
-
var ToastAction =
|
|
4001
|
+
var ToastAction = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3853
4002
|
ToastPrimitives__namespace.Action,
|
|
3854
4003
|
{
|
|
3855
4004
|
ref,
|
|
3856
4005
|
className: cn(
|
|
3857
|
-
"inline-flex h-8 shrink-0 items-center justify-center rounded-
|
|
4006
|
+
"inline-flex h-8 shrink-0 items-center justify-center rounded-lg border border-glass-border bg-glass-subtle px-3 text-sm font-medium text-glass-foreground transition-all duration-200 hover:bg-glass-elevated focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-destructive-foreground/30 group-[.destructive]:text-destructive-foreground group-[.destructive]:hover:bg-destructive-foreground/10 group-[.destructive]:focus:ring-destructive",
|
|
3858
4007
|
className
|
|
3859
4008
|
),
|
|
3860
4009
|
...props
|
|
3861
4010
|
}
|
|
3862
4011
|
));
|
|
3863
4012
|
ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
|
|
3864
|
-
var ToastClose =
|
|
4013
|
+
var ToastClose = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3865
4014
|
ToastPrimitives__namespace.Close,
|
|
3866
4015
|
{
|
|
3867
4016
|
ref,
|
|
3868
4017
|
className: cn(
|
|
3869
|
-
"absolute right-2 top-2 rounded-
|
|
4018
|
+
"absolute right-2 top-2 rounded-lg p-1 text-glass-foreground-muted opacity-0 transition-all duration-200 hover:text-glass-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-destructive-foreground/70 group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
|
|
3870
4019
|
className
|
|
3871
4020
|
),
|
|
3872
4021
|
"toast-close": "",
|
|
@@ -3875,20 +4024,20 @@ var ToastClose = React39__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3875
4024
|
}
|
|
3876
4025
|
));
|
|
3877
4026
|
ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
|
|
3878
|
-
var ToastTitle =
|
|
4027
|
+
var ToastTitle = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3879
4028
|
ToastPrimitives__namespace.Title,
|
|
3880
4029
|
{
|
|
3881
4030
|
ref,
|
|
3882
|
-
className: cn("text-
|
|
4031
|
+
className: cn("text-sm font-semibold", className),
|
|
3883
4032
|
...props
|
|
3884
4033
|
}
|
|
3885
4034
|
));
|
|
3886
4035
|
ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
|
|
3887
|
-
var ToastDescription =
|
|
4036
|
+
var ToastDescription = React40__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3888
4037
|
ToastPrimitives__namespace.Description,
|
|
3889
4038
|
{
|
|
3890
4039
|
ref,
|
|
3891
|
-
className: cn("text-
|
|
4040
|
+
className: cn("text-sm text-glass-foreground-muted group-[.destructive]:text-destructive-foreground/90", className),
|
|
3892
4041
|
...props
|
|
3893
4042
|
}
|
|
3894
4043
|
));
|
|
@@ -3929,7 +4078,7 @@ var toggleVariants = classVarianceAuthority.cva(
|
|
|
3929
4078
|
}
|
|
3930
4079
|
}
|
|
3931
4080
|
);
|
|
3932
|
-
var Toggle =
|
|
4081
|
+
var Toggle = React40__namespace.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3933
4082
|
TogglePrimitive__namespace.Root,
|
|
3934
4083
|
{
|
|
3935
4084
|
ref,
|
|
@@ -3938,11 +4087,11 @@ var Toggle = React39__namespace.forwardRef(({ className, variant, size, ...props
|
|
|
3938
4087
|
}
|
|
3939
4088
|
));
|
|
3940
4089
|
Toggle.displayName = TogglePrimitive__namespace.Root.displayName;
|
|
3941
|
-
var ToggleGroupContext =
|
|
4090
|
+
var ToggleGroupContext = React40__namespace.createContext({
|
|
3942
4091
|
size: "default",
|
|
3943
4092
|
variant: "default"
|
|
3944
4093
|
});
|
|
3945
|
-
var ToggleGroup =
|
|
4094
|
+
var ToggleGroup = React40__namespace.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3946
4095
|
ToggleGroupPrimitive__namespace.Root,
|
|
3947
4096
|
{
|
|
3948
4097
|
ref,
|
|
@@ -3952,8 +4101,8 @@ var ToggleGroup = React39__namespace.forwardRef(({ className, variant, size, chi
|
|
|
3952
4101
|
}
|
|
3953
4102
|
));
|
|
3954
4103
|
ToggleGroup.displayName = ToggleGroupPrimitive__namespace.Root.displayName;
|
|
3955
|
-
var ToggleGroupItem =
|
|
3956
|
-
const context =
|
|
4104
|
+
var ToggleGroupItem = React40__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
4105
|
+
const context = React40__namespace.useContext(ToggleGroupContext);
|
|
3957
4106
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3958
4107
|
ToggleGroupPrimitive__namespace.Item,
|
|
3959
4108
|
{
|
|
@@ -3996,6 +4145,10 @@ exports.Avatar = Avatar;
|
|
|
3996
4145
|
exports.AvatarFallback = AvatarFallback;
|
|
3997
4146
|
exports.AvatarImage = AvatarImage;
|
|
3998
4147
|
exports.Badge = Badge;
|
|
4148
|
+
exports.Banner = Banner;
|
|
4149
|
+
exports.BannerActions = BannerActions;
|
|
4150
|
+
exports.BannerDescription = BannerDescription;
|
|
4151
|
+
exports.BannerTitle = BannerTitle;
|
|
3999
4152
|
exports.Breadcrumb = Breadcrumb;
|
|
4000
4153
|
exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
|
|
4001
4154
|
exports.BreadcrumbItem = BreadcrumbItem;
|
|
@@ -4051,6 +4204,7 @@ exports.ContextMenuSubContent = ContextMenuSubContent;
|
|
|
4051
4204
|
exports.ContextMenuSubTrigger = ContextMenuSubTrigger;
|
|
4052
4205
|
exports.ContextMenuTrigger = ContextMenuTrigger;
|
|
4053
4206
|
exports.Dialog = Dialog;
|
|
4207
|
+
exports.DialogBody = DialogBody;
|
|
4054
4208
|
exports.DialogClose = DialogClose;
|
|
4055
4209
|
exports.DialogContent = DialogContent;
|
|
4056
4210
|
exports.DialogDescription = DialogDescription;
|
|
@@ -4226,6 +4380,7 @@ exports.TooltipContent = TooltipContent;
|
|
|
4226
4380
|
exports.TooltipProvider = TooltipProvider;
|
|
4227
4381
|
exports.TooltipTrigger = TooltipTrigger;
|
|
4228
4382
|
exports.badgeVariants = badgeVariants;
|
|
4383
|
+
exports.bannerVariants = bannerVariants;
|
|
4229
4384
|
exports.buttonVariants = buttonVariants;
|
|
4230
4385
|
exports.cn = cn;
|
|
4231
4386
|
exports.glassCardVariants = glassCardVariants;
|