@webstacks/ui 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1232 -439
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +150 -1
- package/dist/index.d.ts +150 -1
- package/dist/index.js +1196 -415
- package/dist/index.js.map +1 -1
- package/package.json +11 -4
- package/src/fonts/Saans Bold.otf +0 -0
- package/src/fonts/Saans Light.otf +0 -0
- package/src/fonts/Saans Medium.otf +0 -0
- package/src/fonts/Saans Regular.otf +0 -0
- package/src/fonts/Saans SemiBold.otf +0 -0
- package/src/fonts/TT_Interphases_Pro_Mono_Bold.ttf +0 -0
- package/src/fonts/TT_Interphases_Pro_Mono_Bold_Italic.ttf +0 -0
- package/src/fonts/TT_Interphases_Pro_Mono_Italic.ttf +0 -0
- package/src/fonts/TT_Interphases_Pro_Mono_Regular.ttf +0 -0
- package/src/styles/color.css +240 -0
- package/src/styles/fonts.css +95 -0
- package/src/styles/globals.css +9 -0
- package/src/styles/tokens.css +243 -0
- package/src/styles/typography.css +61 -0
package/dist/index.js
CHANGED
|
@@ -242,21 +242,21 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
242
242
|
import { cva as cva2 } from "class-variance-authority";
|
|
243
243
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
244
244
|
var buttonVariants = cva2(
|
|
245
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-
|
|
245
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
246
246
|
{
|
|
247
247
|
variants: {
|
|
248
248
|
variant: {
|
|
249
|
-
default: "bg-primary text-primary-foreground
|
|
250
|
-
destructive: "bg-destructive text-destructive-foreground
|
|
251
|
-
outline: "border border-input bg-background
|
|
252
|
-
secondary: "bg-secondary text-secondary-foreground
|
|
249
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
250
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
251
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
252
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
253
253
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
254
254
|
link: "text-primary underline-offset-4 hover:underline"
|
|
255
255
|
},
|
|
256
256
|
size: {
|
|
257
257
|
default: "h-9 px-4 py-2",
|
|
258
|
-
sm: "h-8
|
|
259
|
-
lg: "h-10
|
|
258
|
+
sm: "h-8 px-3 text-xs",
|
|
259
|
+
lg: "h-10 px-8",
|
|
260
260
|
icon: "h-9 w-9"
|
|
261
261
|
}
|
|
262
262
|
},
|
|
@@ -532,15 +532,784 @@ var BreadcrumbEllipsis = ({
|
|
|
532
532
|
);
|
|
533
533
|
BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
534
534
|
|
|
535
|
-
// src/components/ui/
|
|
535
|
+
// src/components/ui/box.tsx
|
|
536
536
|
import * as React9 from "react";
|
|
537
|
+
import { cva as cva4 } from "class-variance-authority";
|
|
538
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
539
|
+
var boxVariants = cva4("", {
|
|
540
|
+
variants: {
|
|
541
|
+
padding: {
|
|
542
|
+
none: "p-0",
|
|
543
|
+
condensed: "p-2",
|
|
544
|
+
normal: "p-4",
|
|
545
|
+
spacious: "p-6",
|
|
546
|
+
"extra-spacious": "p-8"
|
|
547
|
+
},
|
|
548
|
+
paddingX: {
|
|
549
|
+
none: "px-0",
|
|
550
|
+
condensed: "px-2",
|
|
551
|
+
normal: "px-4",
|
|
552
|
+
spacious: "px-6",
|
|
553
|
+
"extra-spacious": "px-8"
|
|
554
|
+
},
|
|
555
|
+
paddingY: {
|
|
556
|
+
none: "py-0",
|
|
557
|
+
condensed: "py-2",
|
|
558
|
+
normal: "py-4",
|
|
559
|
+
spacious: "py-6",
|
|
560
|
+
"extra-spacious": "py-8"
|
|
561
|
+
},
|
|
562
|
+
paddingTop: {
|
|
563
|
+
none: "pt-0",
|
|
564
|
+
condensed: "pt-2",
|
|
565
|
+
normal: "pt-4",
|
|
566
|
+
spacious: "pt-6",
|
|
567
|
+
"extra-spacious": "pt-8"
|
|
568
|
+
},
|
|
569
|
+
paddingBottom: {
|
|
570
|
+
none: "pb-0",
|
|
571
|
+
condensed: "pb-2",
|
|
572
|
+
normal: "pb-4",
|
|
573
|
+
spacious: "pb-6",
|
|
574
|
+
"extra-spacious": "pb-8"
|
|
575
|
+
},
|
|
576
|
+
paddingStart: {
|
|
577
|
+
none: "ps-0",
|
|
578
|
+
condensed: "ps-2",
|
|
579
|
+
normal: "ps-4",
|
|
580
|
+
spacious: "ps-6",
|
|
581
|
+
"extra-spacious": "ps-8"
|
|
582
|
+
},
|
|
583
|
+
paddingEnd: {
|
|
584
|
+
none: "pe-0",
|
|
585
|
+
condensed: "pe-2",
|
|
586
|
+
normal: "pe-4",
|
|
587
|
+
spacious: "pe-6",
|
|
588
|
+
"extra-spacious": "pe-8"
|
|
589
|
+
},
|
|
590
|
+
margin: {
|
|
591
|
+
none: "m-0",
|
|
592
|
+
condensed: "m-2",
|
|
593
|
+
normal: "m-4",
|
|
594
|
+
spacious: "m-6",
|
|
595
|
+
"extra-spacious": "m-8",
|
|
596
|
+
auto: "m-auto"
|
|
597
|
+
},
|
|
598
|
+
marginX: {
|
|
599
|
+
none: "mx-0",
|
|
600
|
+
condensed: "mx-2",
|
|
601
|
+
normal: "mx-4",
|
|
602
|
+
spacious: "mx-6",
|
|
603
|
+
"extra-spacious": "mx-8",
|
|
604
|
+
auto: "mx-auto"
|
|
605
|
+
},
|
|
606
|
+
marginY: {
|
|
607
|
+
none: "my-0",
|
|
608
|
+
condensed: "my-2",
|
|
609
|
+
normal: "my-4",
|
|
610
|
+
spacious: "my-6",
|
|
611
|
+
"extra-spacious": "my-8",
|
|
612
|
+
auto: "my-auto"
|
|
613
|
+
},
|
|
614
|
+
marginTop: {
|
|
615
|
+
none: "mt-0",
|
|
616
|
+
condensed: "mt-2",
|
|
617
|
+
normal: "mt-4",
|
|
618
|
+
spacious: "mt-6",
|
|
619
|
+
"extra-spacious": "mt-8",
|
|
620
|
+
auto: "mt-auto"
|
|
621
|
+
},
|
|
622
|
+
marginBottom: {
|
|
623
|
+
none: "mb-0",
|
|
624
|
+
condensed: "mb-2",
|
|
625
|
+
normal: "mb-4",
|
|
626
|
+
spacious: "mb-6",
|
|
627
|
+
"extra-spacious": "mb-8",
|
|
628
|
+
auto: "mb-auto"
|
|
629
|
+
},
|
|
630
|
+
marginStart: {
|
|
631
|
+
none: "ms-0",
|
|
632
|
+
condensed: "ms-2",
|
|
633
|
+
normal: "ms-4",
|
|
634
|
+
spacious: "ms-6",
|
|
635
|
+
"extra-spacious": "ms-8",
|
|
636
|
+
auto: "ms-auto"
|
|
637
|
+
},
|
|
638
|
+
marginEnd: {
|
|
639
|
+
none: "me-0",
|
|
640
|
+
condensed: "me-2",
|
|
641
|
+
normal: "me-4",
|
|
642
|
+
spacious: "me-6",
|
|
643
|
+
"extra-spacious": "me-8",
|
|
644
|
+
auto: "me-auto"
|
|
645
|
+
},
|
|
646
|
+
backgroundColor: {
|
|
647
|
+
default: "bg-background",
|
|
648
|
+
subtle: "bg-muted",
|
|
649
|
+
inset: "bg-accent"
|
|
650
|
+
},
|
|
651
|
+
borderStyle: {
|
|
652
|
+
none: "border-0",
|
|
653
|
+
solid: "border border-solid",
|
|
654
|
+
dashed: "border border-dashed"
|
|
655
|
+
},
|
|
656
|
+
borderRadius: {
|
|
657
|
+
none: "rounded-none",
|
|
658
|
+
small: "rounded-sm",
|
|
659
|
+
medium: "rounded-md",
|
|
660
|
+
large: "rounded-lg",
|
|
661
|
+
xlarge: "rounded-xl",
|
|
662
|
+
full: "rounded-full"
|
|
663
|
+
},
|
|
664
|
+
borderColor: {
|
|
665
|
+
default: "border-border",
|
|
666
|
+
muted: "border-muted",
|
|
667
|
+
subtle: "border-border/50"
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
var spacingMap = {
|
|
672
|
+
padding: { none: "p-0", condensed: "p-2", normal: "p-4", spacious: "p-6", "extra-spacious": "p-8" },
|
|
673
|
+
paddingX: { none: "px-0", condensed: "px-2", normal: "px-4", spacious: "px-6", "extra-spacious": "px-8" },
|
|
674
|
+
paddingY: { none: "py-0", condensed: "py-2", normal: "py-4", spacious: "py-6", "extra-spacious": "py-8" },
|
|
675
|
+
paddingTop: { none: "pt-0", condensed: "pt-2", normal: "pt-4", spacious: "pt-6", "extra-spacious": "pt-8" },
|
|
676
|
+
paddingBottom: { none: "pb-0", condensed: "pb-2", normal: "pb-4", spacious: "pb-6", "extra-spacious": "pb-8" },
|
|
677
|
+
paddingStart: { none: "ps-0", condensed: "ps-2", normal: "ps-4", spacious: "ps-6", "extra-spacious": "ps-8" },
|
|
678
|
+
paddingEnd: { none: "pe-0", condensed: "pe-2", normal: "pe-4", spacious: "pe-6", "extra-spacious": "pe-8" },
|
|
679
|
+
margin: { none: "m-0", condensed: "m-2", normal: "m-4", spacious: "m-6", "extra-spacious": "m-8", auto: "m-auto" },
|
|
680
|
+
marginX: { none: "mx-0", condensed: "mx-2", normal: "mx-4", spacious: "mx-6", "extra-spacious": "mx-8", auto: "mx-auto" },
|
|
681
|
+
marginY: { none: "my-0", condensed: "my-2", normal: "my-4", spacious: "my-6", "extra-spacious": "my-8", auto: "my-auto" },
|
|
682
|
+
marginTop: { none: "mt-0", condensed: "mt-2", normal: "mt-4", spacious: "mt-6", "extra-spacious": "mt-8", auto: "mt-auto" },
|
|
683
|
+
marginBottom: { none: "mb-0", condensed: "mb-2", normal: "mb-4", spacious: "mb-6", "extra-spacious": "mb-8", auto: "mb-auto" },
|
|
684
|
+
marginStart: { none: "ms-0", condensed: "ms-2", normal: "ms-4", spacious: "ms-6", "extra-spacious": "ms-8", auto: "ms-auto" },
|
|
685
|
+
marginEnd: { none: "me-0", condensed: "me-2", normal: "me-4", spacious: "me-6", "extra-spacious": "me-8", auto: "me-auto" }
|
|
686
|
+
};
|
|
687
|
+
var responsivePrefixes = {
|
|
688
|
+
narrow: "",
|
|
689
|
+
regular: "md:",
|
|
690
|
+
wide: "lg:"
|
|
691
|
+
};
|
|
692
|
+
function resolveResponsiveClasses(prop, value) {
|
|
693
|
+
if (!value) return [];
|
|
694
|
+
const map = spacingMap[prop];
|
|
695
|
+
if (!map) return [];
|
|
696
|
+
if (typeof value === "string") {
|
|
697
|
+
return [map[value]].filter(Boolean);
|
|
698
|
+
}
|
|
699
|
+
const classes = [];
|
|
700
|
+
for (const [breakpoint, val] of Object.entries(value)) {
|
|
701
|
+
if (val && map[val]) {
|
|
702
|
+
const prefix = responsivePrefixes[breakpoint] || "";
|
|
703
|
+
classes.push(`${prefix}${map[val]}`);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
return classes;
|
|
707
|
+
}
|
|
708
|
+
var Box = React9.forwardRef(
|
|
709
|
+
({
|
|
710
|
+
as: Comp = "div",
|
|
711
|
+
className,
|
|
712
|
+
padding,
|
|
713
|
+
paddingX,
|
|
714
|
+
paddingY,
|
|
715
|
+
paddingTop,
|
|
716
|
+
paddingBottom,
|
|
717
|
+
paddingStart,
|
|
718
|
+
paddingEnd,
|
|
719
|
+
margin,
|
|
720
|
+
marginX,
|
|
721
|
+
marginY,
|
|
722
|
+
marginTop,
|
|
723
|
+
marginBottom,
|
|
724
|
+
marginStart,
|
|
725
|
+
marginEnd,
|
|
726
|
+
backgroundColor,
|
|
727
|
+
borderStyle,
|
|
728
|
+
borderRadius,
|
|
729
|
+
borderColor,
|
|
730
|
+
...props
|
|
731
|
+
}, ref) => {
|
|
732
|
+
const responsiveClasses = [
|
|
733
|
+
...resolveResponsiveClasses("padding", padding),
|
|
734
|
+
...resolveResponsiveClasses("paddingX", paddingX),
|
|
735
|
+
...resolveResponsiveClasses("paddingY", paddingY),
|
|
736
|
+
...resolveResponsiveClasses("paddingTop", paddingTop),
|
|
737
|
+
...resolveResponsiveClasses("paddingBottom", paddingBottom),
|
|
738
|
+
...resolveResponsiveClasses("paddingStart", paddingStart),
|
|
739
|
+
...resolveResponsiveClasses("paddingEnd", paddingEnd),
|
|
740
|
+
...resolveResponsiveClasses("margin", margin),
|
|
741
|
+
...resolveResponsiveClasses("marginX", marginX),
|
|
742
|
+
...resolveResponsiveClasses("marginY", marginY),
|
|
743
|
+
...resolveResponsiveClasses("marginTop", marginTop),
|
|
744
|
+
...resolveResponsiveClasses("marginBottom", marginBottom),
|
|
745
|
+
...resolveResponsiveClasses("marginStart", marginStart),
|
|
746
|
+
...resolveResponsiveClasses("marginEnd", marginEnd)
|
|
747
|
+
];
|
|
748
|
+
return /* @__PURE__ */ jsx8(
|
|
749
|
+
Comp,
|
|
750
|
+
{
|
|
751
|
+
ref,
|
|
752
|
+
className: cn(
|
|
753
|
+
boxVariants({ backgroundColor, borderStyle, borderRadius, borderColor }),
|
|
754
|
+
...responsiveClasses,
|
|
755
|
+
className
|
|
756
|
+
),
|
|
757
|
+
...props
|
|
758
|
+
}
|
|
759
|
+
);
|
|
760
|
+
}
|
|
761
|
+
);
|
|
762
|
+
Box.displayName = "Box";
|
|
763
|
+
|
|
764
|
+
// src/components/ui/grid.tsx
|
|
765
|
+
import * as React10 from "react";
|
|
766
|
+
import { cva as cva5 } from "class-variance-authority";
|
|
767
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
768
|
+
var gridVariants = cva5("grid", {
|
|
769
|
+
variants: {
|
|
770
|
+
columns: {
|
|
771
|
+
1: "grid-cols-1",
|
|
772
|
+
2: "grid-cols-2",
|
|
773
|
+
3: "grid-cols-3",
|
|
774
|
+
4: "grid-cols-4",
|
|
775
|
+
5: "grid-cols-5",
|
|
776
|
+
6: "grid-cols-6",
|
|
777
|
+
7: "grid-cols-7",
|
|
778
|
+
8: "grid-cols-8",
|
|
779
|
+
9: "grid-cols-9",
|
|
780
|
+
10: "grid-cols-10",
|
|
781
|
+
11: "grid-cols-11",
|
|
782
|
+
12: "grid-cols-12"
|
|
783
|
+
},
|
|
784
|
+
gap: {
|
|
785
|
+
none: "gap-0",
|
|
786
|
+
condensed: "gap-2",
|
|
787
|
+
normal: "gap-4",
|
|
788
|
+
spacious: "gap-6",
|
|
789
|
+
"extra-spacious": "gap-8"
|
|
790
|
+
},
|
|
791
|
+
gapX: {
|
|
792
|
+
none: "gap-x-0",
|
|
793
|
+
condensed: "gap-x-2",
|
|
794
|
+
normal: "gap-x-4",
|
|
795
|
+
spacious: "gap-x-6",
|
|
796
|
+
"extra-spacious": "gap-x-8"
|
|
797
|
+
},
|
|
798
|
+
gapY: {
|
|
799
|
+
none: "gap-y-0",
|
|
800
|
+
condensed: "gap-y-2",
|
|
801
|
+
normal: "gap-y-4",
|
|
802
|
+
spacious: "gap-y-6",
|
|
803
|
+
"extra-spacious": "gap-y-8"
|
|
804
|
+
},
|
|
805
|
+
align: {
|
|
806
|
+
start: "items-start",
|
|
807
|
+
center: "items-center",
|
|
808
|
+
end: "items-end",
|
|
809
|
+
stretch: "items-stretch",
|
|
810
|
+
baseline: "items-baseline"
|
|
811
|
+
},
|
|
812
|
+
justify: {
|
|
813
|
+
start: "justify-items-start",
|
|
814
|
+
center: "justify-items-center",
|
|
815
|
+
end: "justify-items-end",
|
|
816
|
+
stretch: "justify-items-stretch"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
defaultVariants: {
|
|
820
|
+
columns: 12,
|
|
821
|
+
gap: "normal"
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
var columnMap = {
|
|
825
|
+
1: "grid-cols-1",
|
|
826
|
+
2: "grid-cols-2",
|
|
827
|
+
3: "grid-cols-3",
|
|
828
|
+
4: "grid-cols-4",
|
|
829
|
+
5: "grid-cols-5",
|
|
830
|
+
6: "grid-cols-6",
|
|
831
|
+
7: "grid-cols-7",
|
|
832
|
+
8: "grid-cols-8",
|
|
833
|
+
9: "grid-cols-9",
|
|
834
|
+
10: "grid-cols-10",
|
|
835
|
+
11: "grid-cols-11",
|
|
836
|
+
12: "grid-cols-12"
|
|
837
|
+
};
|
|
838
|
+
var Grid = React10.forwardRef(
|
|
839
|
+
({ as: Comp = "div", className, columns = 12, gap, gapX, gapY, align, justify, ...props }, ref) => {
|
|
840
|
+
let columnClasses;
|
|
841
|
+
if (typeof columns === "number") {
|
|
842
|
+
columnClasses = columnMap[columns] || "grid-cols-12";
|
|
843
|
+
} else {
|
|
844
|
+
const classes = [];
|
|
845
|
+
if (columns.narrow) classes.push(columnMap[columns.narrow]);
|
|
846
|
+
if (columns.regular) classes.push(`md:${columnMap[columns.regular]}`);
|
|
847
|
+
if (columns.wide) classes.push(`lg:${columnMap[columns.wide]}`);
|
|
848
|
+
columnClasses = classes.join(" ");
|
|
849
|
+
}
|
|
850
|
+
return /* @__PURE__ */ jsx9(
|
|
851
|
+
Comp,
|
|
852
|
+
{
|
|
853
|
+
ref,
|
|
854
|
+
className: cn(
|
|
855
|
+
gridVariants({ gap, gapX, gapY, align, justify }),
|
|
856
|
+
columnClasses,
|
|
857
|
+
className
|
|
858
|
+
),
|
|
859
|
+
...props
|
|
860
|
+
}
|
|
861
|
+
);
|
|
862
|
+
}
|
|
863
|
+
);
|
|
864
|
+
Grid.displayName = "Grid";
|
|
865
|
+
var gridColumnVariants = cva5("", {
|
|
866
|
+
variants: {
|
|
867
|
+
span: {
|
|
868
|
+
1: "col-span-1",
|
|
869
|
+
2: "col-span-2",
|
|
870
|
+
3: "col-span-3",
|
|
871
|
+
4: "col-span-4",
|
|
872
|
+
5: "col-span-5",
|
|
873
|
+
6: "col-span-6",
|
|
874
|
+
7: "col-span-7",
|
|
875
|
+
8: "col-span-8",
|
|
876
|
+
9: "col-span-9",
|
|
877
|
+
10: "col-span-10",
|
|
878
|
+
11: "col-span-11",
|
|
879
|
+
12: "col-span-12"
|
|
880
|
+
},
|
|
881
|
+
start: {
|
|
882
|
+
1: "col-start-1",
|
|
883
|
+
2: "col-start-2",
|
|
884
|
+
3: "col-start-3",
|
|
885
|
+
4: "col-start-4",
|
|
886
|
+
5: "col-start-5",
|
|
887
|
+
6: "col-start-6",
|
|
888
|
+
7: "col-start-7",
|
|
889
|
+
8: "col-start-8",
|
|
890
|
+
9: "col-start-9",
|
|
891
|
+
10: "col-start-10",
|
|
892
|
+
11: "col-start-11",
|
|
893
|
+
12: "col-start-12",
|
|
894
|
+
13: "col-start-13"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
var spanMap = {
|
|
899
|
+
1: "col-span-1",
|
|
900
|
+
2: "col-span-2",
|
|
901
|
+
3: "col-span-3",
|
|
902
|
+
4: "col-span-4",
|
|
903
|
+
5: "col-span-5",
|
|
904
|
+
6: "col-span-6",
|
|
905
|
+
7: "col-span-7",
|
|
906
|
+
8: "col-span-8",
|
|
907
|
+
9: "col-span-9",
|
|
908
|
+
10: "col-span-10",
|
|
909
|
+
11: "col-span-11",
|
|
910
|
+
12: "col-span-12"
|
|
911
|
+
};
|
|
912
|
+
var GridColumn = React10.forwardRef(
|
|
913
|
+
({ as: Comp = "div", className, span, start, ...props }, ref) => {
|
|
914
|
+
let spanClasses;
|
|
915
|
+
if (typeof span === "number") {
|
|
916
|
+
spanClasses = spanMap[span] || "";
|
|
917
|
+
} else if (span) {
|
|
918
|
+
const classes = [];
|
|
919
|
+
if (span.narrow) classes.push(spanMap[span.narrow]);
|
|
920
|
+
if (span.regular) classes.push(`md:${spanMap[span.regular]}`);
|
|
921
|
+
if (span.wide) classes.push(`lg:${spanMap[span.wide]}`);
|
|
922
|
+
spanClasses = classes.join(" ");
|
|
923
|
+
} else {
|
|
924
|
+
spanClasses = "";
|
|
925
|
+
}
|
|
926
|
+
return /* @__PURE__ */ jsx9(
|
|
927
|
+
Comp,
|
|
928
|
+
{
|
|
929
|
+
ref,
|
|
930
|
+
className: cn(
|
|
931
|
+
gridColumnVariants({ start }),
|
|
932
|
+
spanClasses,
|
|
933
|
+
className
|
|
934
|
+
),
|
|
935
|
+
...props
|
|
936
|
+
}
|
|
937
|
+
);
|
|
938
|
+
}
|
|
939
|
+
);
|
|
940
|
+
GridColumn.displayName = "GridColumn";
|
|
941
|
+
|
|
942
|
+
// src/components/ui/heading.tsx
|
|
943
|
+
import * as React11 from "react";
|
|
944
|
+
import { cva as cva6 } from "class-variance-authority";
|
|
945
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
946
|
+
var headingVariants = cva6("font-heading scroll-m-24", {
|
|
947
|
+
variants: {
|
|
948
|
+
size: {
|
|
949
|
+
display: "text-7xl leading-[1.1] tracking-[-0.03em] lg:text-8xl lg:leading-[1.1] lg:tracking-[-0.031em]",
|
|
950
|
+
1: "text-5xl leading-[1.05] tracking-[-0.022em] lg:text-6xl lg:leading-[1.05] lg:tracking-[-0.025em]",
|
|
951
|
+
2: "text-4xl leading-[1.08] tracking-[-0.02em] lg:text-5xl lg:leading-[1.05] lg:tracking-[-0.022em]",
|
|
952
|
+
3: "text-3xl leading-[1.1] tracking-[-0.02em] lg:text-4xl lg:leading-[1.08] lg:tracking-[-0.02em]",
|
|
953
|
+
4: "text-2xl leading-[1.33] tracking-[-0.015em] lg:text-3xl lg:leading-[1.1] lg:tracking-[-0.02em]",
|
|
954
|
+
5: "text-xl leading-[1.5] lg:text-2xl lg:leading-[1.33] lg:tracking-[-0.015em]",
|
|
955
|
+
6: "text-lg leading-[1.55] lg:text-xl lg:leading-[1.5]",
|
|
956
|
+
"subhead-large": "text-lg leading-[1.3] tracking-[-0.01em]",
|
|
957
|
+
"subhead-medium": "text-base leading-[1.2] tracking-[-0.01em]"
|
|
958
|
+
},
|
|
959
|
+
weight: {
|
|
960
|
+
heavy: "font-black",
|
|
961
|
+
extrabold: "font-extrabold",
|
|
962
|
+
bold: "font-bold",
|
|
963
|
+
semibold: "font-semibold",
|
|
964
|
+
medium: "font-medium",
|
|
965
|
+
normal: "font-normal",
|
|
966
|
+
light: "font-light",
|
|
967
|
+
extralight: "font-extralight"
|
|
968
|
+
},
|
|
969
|
+
stretch: {
|
|
970
|
+
condensed: "tracking-tighter",
|
|
971
|
+
normal: "",
|
|
972
|
+
expanded: "tracking-wider"
|
|
973
|
+
},
|
|
974
|
+
letterSpacing: {
|
|
975
|
+
condensed: "tracking-tight",
|
|
976
|
+
normal: "tracking-normal",
|
|
977
|
+
none: "tracking-[0]"
|
|
978
|
+
},
|
|
979
|
+
align: {
|
|
980
|
+
start: "text-start",
|
|
981
|
+
center: "text-center",
|
|
982
|
+
end: "text-end"
|
|
983
|
+
},
|
|
984
|
+
variant: {
|
|
985
|
+
default: "text-foreground",
|
|
986
|
+
muted: "text-muted-foreground"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
defaultVariants: {
|
|
990
|
+
size: 2,
|
|
991
|
+
variant: "default"
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
var sizeMap = {
|
|
995
|
+
display: "text-7xl leading-[1.1] tracking-[-0.03em] lg:text-8xl lg:leading-[1.1] lg:tracking-[-0.031em]",
|
|
996
|
+
1: "text-5xl leading-[1.05] tracking-[-0.022em] lg:text-6xl lg:leading-[1.05] lg:tracking-[-0.025em]",
|
|
997
|
+
2: "text-4xl leading-[1.08] tracking-[-0.02em] lg:text-5xl lg:leading-[1.05] lg:tracking-[-0.022em]",
|
|
998
|
+
3: "text-3xl leading-[1.1] tracking-[-0.02em] lg:text-4xl lg:leading-[1.08] lg:tracking-[-0.02em]",
|
|
999
|
+
4: "text-2xl leading-[1.33] tracking-[-0.015em] lg:text-3xl lg:leading-[1.1] lg:tracking-[-0.02em]",
|
|
1000
|
+
5: "text-xl leading-[1.5] lg:text-2xl lg:leading-[1.33] lg:tracking-[-0.015em]",
|
|
1001
|
+
6: "text-lg leading-[1.55] lg:text-xl lg:leading-[1.5]",
|
|
1002
|
+
"subhead-large": "text-lg leading-[1.3] tracking-[-0.01em]",
|
|
1003
|
+
"subhead-medium": "text-base leading-[1.2] tracking-[-0.01em]"
|
|
1004
|
+
};
|
|
1005
|
+
var weightMap = {
|
|
1006
|
+
heavy: "font-black",
|
|
1007
|
+
extrabold: "font-extrabold",
|
|
1008
|
+
bold: "font-bold",
|
|
1009
|
+
semibold: "font-semibold",
|
|
1010
|
+
medium: "font-medium",
|
|
1011
|
+
normal: "font-normal",
|
|
1012
|
+
light: "font-light",
|
|
1013
|
+
extralight: "font-extralight"
|
|
1014
|
+
};
|
|
1015
|
+
var responsivePrefixes2 = { narrow: "", regular: "md:", wide: "lg:" };
|
|
1016
|
+
function resolveResponsive(value, map) {
|
|
1017
|
+
if (value === void 0 || value === null) return [];
|
|
1018
|
+
if (typeof value !== "object") return [map[String(value)]].filter(Boolean);
|
|
1019
|
+
const classes = [];
|
|
1020
|
+
for (const [bp, val] of Object.entries(value)) {
|
|
1021
|
+
if (val !== void 0 && map[String(val)]) {
|
|
1022
|
+
const prefix = responsivePrefixes2[bp] || "";
|
|
1023
|
+
classes.push(
|
|
1024
|
+
map[String(val)].split(" ").map((c) => `${prefix}${c}`).join(" ")
|
|
1025
|
+
);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
return classes;
|
|
1029
|
+
}
|
|
1030
|
+
var Heading = React11.forwardRef(
|
|
1031
|
+
({ as: Tag = "h2", className, size = 2, weight, stretch, letterSpacing, align, variant, ...props }, ref) => {
|
|
1032
|
+
const isResponsiveSize = typeof size === "object";
|
|
1033
|
+
const isResponsiveWeight = typeof weight === "object";
|
|
1034
|
+
const responsiveClasses = [
|
|
1035
|
+
...isResponsiveSize ? resolveResponsive(size, sizeMap) : [],
|
|
1036
|
+
...isResponsiveWeight ? resolveResponsive(weight, weightMap) : []
|
|
1037
|
+
];
|
|
1038
|
+
return /* @__PURE__ */ jsx10(
|
|
1039
|
+
Tag,
|
|
1040
|
+
{
|
|
1041
|
+
ref,
|
|
1042
|
+
className: cn(
|
|
1043
|
+
"font-heading scroll-m-24",
|
|
1044
|
+
headingVariants({
|
|
1045
|
+
size: isResponsiveSize ? void 0 : size,
|
|
1046
|
+
weight: isResponsiveWeight ? void 0 : weight,
|
|
1047
|
+
stretch,
|
|
1048
|
+
letterSpacing,
|
|
1049
|
+
align,
|
|
1050
|
+
variant
|
|
1051
|
+
}),
|
|
1052
|
+
...responsiveClasses,
|
|
1053
|
+
className
|
|
1054
|
+
),
|
|
1055
|
+
...props
|
|
1056
|
+
}
|
|
1057
|
+
);
|
|
1058
|
+
}
|
|
1059
|
+
);
|
|
1060
|
+
Heading.displayName = "Heading";
|
|
1061
|
+
|
|
1062
|
+
// src/components/ui/text.tsx
|
|
1063
|
+
import * as React12 from "react";
|
|
1064
|
+
import { cva as cva7 } from "class-variance-authority";
|
|
1065
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1066
|
+
var textVariants = cva7("font-body", {
|
|
1067
|
+
variants: {
|
|
1068
|
+
size: {
|
|
1069
|
+
100: "text-xs leading-[1.5]",
|
|
1070
|
+
200: "text-sm leading-[1.42]",
|
|
1071
|
+
300: "text-base leading-[1.5]",
|
|
1072
|
+
400: "text-base leading-[1.5]",
|
|
1073
|
+
500: "text-lg leading-[1.55]",
|
|
1074
|
+
600: "text-xl leading-[1.5]",
|
|
1075
|
+
700: "text-2xl leading-[1.33] tracking-[-0.015em]"
|
|
1076
|
+
},
|
|
1077
|
+
variant: {
|
|
1078
|
+
default: "text-foreground",
|
|
1079
|
+
muted: "text-muted-foreground"
|
|
1080
|
+
},
|
|
1081
|
+
weight: {
|
|
1082
|
+
heavy: "font-black",
|
|
1083
|
+
extrabold: "font-extrabold",
|
|
1084
|
+
bold: "font-bold",
|
|
1085
|
+
semibold: "font-semibold",
|
|
1086
|
+
medium: "font-medium",
|
|
1087
|
+
normal: "font-normal",
|
|
1088
|
+
light: "font-light",
|
|
1089
|
+
extralight: "font-extralight"
|
|
1090
|
+
},
|
|
1091
|
+
align: {
|
|
1092
|
+
start: "text-start",
|
|
1093
|
+
center: "text-center",
|
|
1094
|
+
end: "text-end"
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
defaultVariants: {
|
|
1098
|
+
size: 400,
|
|
1099
|
+
variant: "default"
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
var sizeMap2 = {
|
|
1103
|
+
100: "text-xs leading-[1.5]",
|
|
1104
|
+
200: "text-sm leading-[1.42]",
|
|
1105
|
+
300: "text-base leading-[1.5]",
|
|
1106
|
+
400: "text-base leading-[1.5]",
|
|
1107
|
+
500: "text-lg leading-[1.55]",
|
|
1108
|
+
600: "text-xl leading-[1.5]",
|
|
1109
|
+
700: "text-2xl leading-[1.33] tracking-[-0.015em]"
|
|
1110
|
+
};
|
|
1111
|
+
var weightMap2 = {
|
|
1112
|
+
heavy: "font-black",
|
|
1113
|
+
extrabold: "font-extrabold",
|
|
1114
|
+
bold: "font-bold",
|
|
1115
|
+
semibold: "font-semibold",
|
|
1116
|
+
medium: "font-medium",
|
|
1117
|
+
normal: "font-normal",
|
|
1118
|
+
light: "font-light",
|
|
1119
|
+
extralight: "font-extralight"
|
|
1120
|
+
};
|
|
1121
|
+
var responsivePrefixes3 = { narrow: "", regular: "md:", wide: "lg:" };
|
|
1122
|
+
function resolveResponsive2(value, map) {
|
|
1123
|
+
if (value === void 0 || value === null) return [];
|
|
1124
|
+
if (typeof value !== "object") return [map[String(value)]].filter(Boolean);
|
|
1125
|
+
const classes = [];
|
|
1126
|
+
for (const [bp, val] of Object.entries(value)) {
|
|
1127
|
+
if (val !== void 0 && map[String(val)]) {
|
|
1128
|
+
const prefix = responsivePrefixes3[bp] || "";
|
|
1129
|
+
classes.push(
|
|
1130
|
+
map[String(val)].split(" ").map((c) => `${prefix}${c}`).join(" ")
|
|
1131
|
+
);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
return classes;
|
|
1135
|
+
}
|
|
1136
|
+
var Text = React12.forwardRef(
|
|
1137
|
+
({ as: Comp = "p", className, size = 400, weight, align, variant, ...props }, ref) => {
|
|
1138
|
+
const isResponsiveSize = typeof size === "object";
|
|
1139
|
+
const isResponsiveWeight = typeof weight === "object";
|
|
1140
|
+
const responsiveClasses = [
|
|
1141
|
+
...isResponsiveSize ? resolveResponsive2(size, sizeMap2) : [],
|
|
1142
|
+
...isResponsiveWeight ? resolveResponsive2(weight, weightMap2) : []
|
|
1143
|
+
];
|
|
1144
|
+
return /* @__PURE__ */ jsx11(
|
|
1145
|
+
Comp,
|
|
1146
|
+
{
|
|
1147
|
+
ref,
|
|
1148
|
+
className: cn(
|
|
1149
|
+
"font-body",
|
|
1150
|
+
textVariants({
|
|
1151
|
+
size: isResponsiveSize ? void 0 : size,
|
|
1152
|
+
weight: isResponsiveWeight ? void 0 : weight,
|
|
1153
|
+
align,
|
|
1154
|
+
variant
|
|
1155
|
+
}),
|
|
1156
|
+
...responsiveClasses,
|
|
1157
|
+
className
|
|
1158
|
+
),
|
|
1159
|
+
...props
|
|
1160
|
+
}
|
|
1161
|
+
);
|
|
1162
|
+
}
|
|
1163
|
+
);
|
|
1164
|
+
Text.displayName = "Text";
|
|
1165
|
+
|
|
1166
|
+
// src/components/ui/stack.tsx
|
|
1167
|
+
import * as React13 from "react";
|
|
1168
|
+
import { cva as cva8 } from "class-variance-authority";
|
|
1169
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
1170
|
+
var stackVariants = cva8("flex", {
|
|
1171
|
+
variants: {
|
|
1172
|
+
direction: {
|
|
1173
|
+
horizontal: "flex-row",
|
|
1174
|
+
vertical: "flex-col"
|
|
1175
|
+
},
|
|
1176
|
+
gap: {
|
|
1177
|
+
none: "gap-0",
|
|
1178
|
+
condensed: "gap-2",
|
|
1179
|
+
normal: "gap-4",
|
|
1180
|
+
spacious: "gap-6",
|
|
1181
|
+
"extra-spacious": "gap-8"
|
|
1182
|
+
},
|
|
1183
|
+
align: {
|
|
1184
|
+
start: "items-start",
|
|
1185
|
+
center: "items-center",
|
|
1186
|
+
end: "items-end",
|
|
1187
|
+
stretch: "items-stretch",
|
|
1188
|
+
baseline: "items-baseline"
|
|
1189
|
+
},
|
|
1190
|
+
justify: {
|
|
1191
|
+
start: "justify-start",
|
|
1192
|
+
center: "justify-center",
|
|
1193
|
+
end: "justify-end",
|
|
1194
|
+
"space-between": "justify-between",
|
|
1195
|
+
"space-around": "justify-around",
|
|
1196
|
+
"space-evenly": "justify-evenly"
|
|
1197
|
+
},
|
|
1198
|
+
wrap: {
|
|
1199
|
+
true: "flex-wrap",
|
|
1200
|
+
false: "flex-nowrap"
|
|
1201
|
+
},
|
|
1202
|
+
padding: {
|
|
1203
|
+
none: "p-0",
|
|
1204
|
+
condensed: "p-2",
|
|
1205
|
+
normal: "p-4",
|
|
1206
|
+
spacious: "p-6",
|
|
1207
|
+
"extra-spacious": "p-8"
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
defaultVariants: {
|
|
1211
|
+
direction: "vertical",
|
|
1212
|
+
gap: "normal",
|
|
1213
|
+
align: "stretch",
|
|
1214
|
+
wrap: false
|
|
1215
|
+
}
|
|
1216
|
+
});
|
|
1217
|
+
var directionMap = {
|
|
1218
|
+
horizontal: "flex-row",
|
|
1219
|
+
vertical: "flex-col"
|
|
1220
|
+
};
|
|
1221
|
+
var gapMap = {
|
|
1222
|
+
none: "gap-0",
|
|
1223
|
+
condensed: "gap-2",
|
|
1224
|
+
normal: "gap-4",
|
|
1225
|
+
spacious: "gap-6",
|
|
1226
|
+
"extra-spacious": "gap-8"
|
|
1227
|
+
};
|
|
1228
|
+
var alignMap = {
|
|
1229
|
+
start: "items-start",
|
|
1230
|
+
center: "items-center",
|
|
1231
|
+
end: "items-end",
|
|
1232
|
+
stretch: "items-stretch",
|
|
1233
|
+
baseline: "items-baseline"
|
|
1234
|
+
};
|
|
1235
|
+
var justifyMap = {
|
|
1236
|
+
start: "justify-start",
|
|
1237
|
+
center: "justify-center",
|
|
1238
|
+
end: "justify-end",
|
|
1239
|
+
"space-between": "justify-between",
|
|
1240
|
+
"space-around": "justify-around",
|
|
1241
|
+
"space-evenly": "justify-evenly"
|
|
1242
|
+
};
|
|
1243
|
+
function resolveResponsive3(value, map) {
|
|
1244
|
+
if (!value) return [];
|
|
1245
|
+
if (typeof value === "string") return [map[value]].filter(Boolean);
|
|
1246
|
+
const classes = [];
|
|
1247
|
+
const prefixes = { narrow: "", regular: "md:", wide: "lg:" };
|
|
1248
|
+
for (const [bp, val] of Object.entries(value)) {
|
|
1249
|
+
if (val && map[val]) {
|
|
1250
|
+
const prefix = prefixes[bp] || "";
|
|
1251
|
+
classes.push(`${prefix}${map[val]}`);
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
return classes;
|
|
1255
|
+
}
|
|
1256
|
+
var Stack = React13.forwardRef(
|
|
1257
|
+
({
|
|
1258
|
+
as: Comp = "div",
|
|
1259
|
+
className,
|
|
1260
|
+
direction = "vertical",
|
|
1261
|
+
gap = "normal",
|
|
1262
|
+
align,
|
|
1263
|
+
justify,
|
|
1264
|
+
wrap,
|
|
1265
|
+
padding,
|
|
1266
|
+
...props
|
|
1267
|
+
}, ref) => {
|
|
1268
|
+
const responsiveClasses = [
|
|
1269
|
+
...resolveResponsive3(direction, directionMap),
|
|
1270
|
+
...resolveResponsive3(gap, gapMap),
|
|
1271
|
+
...resolveResponsive3(align, alignMap),
|
|
1272
|
+
...resolveResponsive3(justify, justifyMap)
|
|
1273
|
+
];
|
|
1274
|
+
const isResponsiveDirection = typeof direction === "object";
|
|
1275
|
+
const isResponsiveGap = typeof gap === "object";
|
|
1276
|
+
const isResponsiveAlign = typeof align === "object";
|
|
1277
|
+
const isResponsiveJustify = typeof justify === "object";
|
|
1278
|
+
return /* @__PURE__ */ jsx12(
|
|
1279
|
+
Comp,
|
|
1280
|
+
{
|
|
1281
|
+
ref,
|
|
1282
|
+
className: cn(
|
|
1283
|
+
"flex",
|
|
1284
|
+
stackVariants({
|
|
1285
|
+
direction: isResponsiveDirection ? void 0 : direction,
|
|
1286
|
+
gap: isResponsiveGap ? void 0 : gap,
|
|
1287
|
+
align: isResponsiveAlign ? void 0 : align,
|
|
1288
|
+
justify: isResponsiveJustify ? void 0 : justify,
|
|
1289
|
+
wrap,
|
|
1290
|
+
padding
|
|
1291
|
+
}),
|
|
1292
|
+
...responsiveClasses.filter(
|
|
1293
|
+
(c) => isResponsiveDirection && directionMap[c] || isResponsiveGap && gapMap[c] || isResponsiveAlign && alignMap[c] || isResponsiveJustify && justifyMap[c] || true
|
|
1294
|
+
),
|
|
1295
|
+
className
|
|
1296
|
+
),
|
|
1297
|
+
...props
|
|
1298
|
+
}
|
|
1299
|
+
);
|
|
1300
|
+
}
|
|
1301
|
+
);
|
|
1302
|
+
Stack.displayName = "Stack";
|
|
1303
|
+
|
|
1304
|
+
// src/components/ui/calendar.tsx
|
|
1305
|
+
import * as React14 from "react";
|
|
537
1306
|
import {
|
|
538
1307
|
ChevronDownIcon,
|
|
539
1308
|
ChevronLeftIcon,
|
|
540
1309
|
ChevronRightIcon
|
|
541
1310
|
} from "lucide-react";
|
|
542
1311
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
543
|
-
import { jsx as
|
|
1312
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
544
1313
|
function Calendar({
|
|
545
1314
|
className,
|
|
546
1315
|
classNames,
|
|
@@ -552,7 +1321,7 @@ function Calendar({
|
|
|
552
1321
|
...props
|
|
553
1322
|
}) {
|
|
554
1323
|
const defaultClassNames = getDefaultClassNames();
|
|
555
|
-
return /* @__PURE__ */
|
|
1324
|
+
return /* @__PURE__ */ jsx13(
|
|
556
1325
|
DayPicker,
|
|
557
1326
|
{
|
|
558
1327
|
showOutsideDays,
|
|
@@ -651,7 +1420,7 @@ function Calendar({
|
|
|
651
1420
|
},
|
|
652
1421
|
components: {
|
|
653
1422
|
Root: ({ className: className2, rootRef, ...props2 }) => {
|
|
654
|
-
return /* @__PURE__ */
|
|
1423
|
+
return /* @__PURE__ */ jsx13(
|
|
655
1424
|
"div",
|
|
656
1425
|
{
|
|
657
1426
|
"data-slot": "calendar",
|
|
@@ -663,10 +1432,10 @@ function Calendar({
|
|
|
663
1432
|
},
|
|
664
1433
|
Chevron: ({ className: className2, orientation, ...props2 }) => {
|
|
665
1434
|
if (orientation === "left") {
|
|
666
|
-
return /* @__PURE__ */
|
|
1435
|
+
return /* @__PURE__ */ jsx13(ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
|
|
667
1436
|
}
|
|
668
1437
|
if (orientation === "right") {
|
|
669
|
-
return /* @__PURE__ */
|
|
1438
|
+
return /* @__PURE__ */ jsx13(
|
|
670
1439
|
ChevronRightIcon,
|
|
671
1440
|
{
|
|
672
1441
|
className: cn("size-4", className2),
|
|
@@ -674,11 +1443,11 @@ function Calendar({
|
|
|
674
1443
|
}
|
|
675
1444
|
);
|
|
676
1445
|
}
|
|
677
|
-
return /* @__PURE__ */
|
|
1446
|
+
return /* @__PURE__ */ jsx13(ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
|
|
678
1447
|
},
|
|
679
1448
|
DayButton: CalendarDayButton,
|
|
680
1449
|
WeekNumber: ({ children, ...props2 }) => {
|
|
681
|
-
return /* @__PURE__ */
|
|
1450
|
+
return /* @__PURE__ */ jsx13("td", { ...props2, children: /* @__PURE__ */ jsx13("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
|
|
682
1451
|
},
|
|
683
1452
|
...components
|
|
684
1453
|
},
|
|
@@ -693,11 +1462,11 @@ function CalendarDayButton({
|
|
|
693
1462
|
...props
|
|
694
1463
|
}) {
|
|
695
1464
|
const defaultClassNames = getDefaultClassNames();
|
|
696
|
-
const ref =
|
|
697
|
-
|
|
1465
|
+
const ref = React14.useRef(null);
|
|
1466
|
+
React14.useEffect(() => {
|
|
698
1467
|
if (modifiers.focused) ref.current?.focus();
|
|
699
1468
|
}, [modifiers.focused]);
|
|
700
|
-
return /* @__PURE__ */
|
|
1469
|
+
return /* @__PURE__ */ jsx13(
|
|
701
1470
|
Button,
|
|
702
1471
|
{
|
|
703
1472
|
ref,
|
|
@@ -719,9 +1488,9 @@ function CalendarDayButton({
|
|
|
719
1488
|
}
|
|
720
1489
|
|
|
721
1490
|
// src/components/ui/card.tsx
|
|
722
|
-
import * as
|
|
723
|
-
import { jsx as
|
|
724
|
-
var Card =
|
|
1491
|
+
import * as React15 from "react";
|
|
1492
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1493
|
+
var Card = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
725
1494
|
"div",
|
|
726
1495
|
{
|
|
727
1496
|
ref,
|
|
@@ -733,7 +1502,7 @@ var Card = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
733
1502
|
}
|
|
734
1503
|
));
|
|
735
1504
|
Card.displayName = "Card";
|
|
736
|
-
var CardHeader =
|
|
1505
|
+
var CardHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
737
1506
|
"div",
|
|
738
1507
|
{
|
|
739
1508
|
ref,
|
|
@@ -742,7 +1511,7 @@ var CardHeader = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
742
1511
|
}
|
|
743
1512
|
));
|
|
744
1513
|
CardHeader.displayName = "CardHeader";
|
|
745
|
-
var CardTitle =
|
|
1514
|
+
var CardTitle = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
746
1515
|
"div",
|
|
747
1516
|
{
|
|
748
1517
|
ref,
|
|
@@ -751,7 +1520,7 @@ var CardTitle = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
751
1520
|
}
|
|
752
1521
|
));
|
|
753
1522
|
CardTitle.displayName = "CardTitle";
|
|
754
|
-
var CardDescription =
|
|
1523
|
+
var CardDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
755
1524
|
"div",
|
|
756
1525
|
{
|
|
757
1526
|
ref,
|
|
@@ -760,9 +1529,9 @@ var CardDescription = React10.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
760
1529
|
}
|
|
761
1530
|
));
|
|
762
1531
|
CardDescription.displayName = "CardDescription";
|
|
763
|
-
var CardContent =
|
|
1532
|
+
var CardContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
764
1533
|
CardContent.displayName = "CardContent";
|
|
765
|
-
var CardFooter =
|
|
1534
|
+
var CardFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
|
|
766
1535
|
"div",
|
|
767
1536
|
{
|
|
768
1537
|
ref,
|
|
@@ -773,19 +1542,19 @@ var CardFooter = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
773
1542
|
CardFooter.displayName = "CardFooter";
|
|
774
1543
|
|
|
775
1544
|
// src/components/ui/carousel.tsx
|
|
776
|
-
import * as
|
|
1545
|
+
import * as React16 from "react";
|
|
777
1546
|
import useEmblaCarousel from "embla-carousel-react";
|
|
778
1547
|
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
779
|
-
import { jsx as
|
|
780
|
-
var CarouselContext =
|
|
1548
|
+
import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1549
|
+
var CarouselContext = React16.createContext(null);
|
|
781
1550
|
function useCarousel() {
|
|
782
|
-
const context =
|
|
1551
|
+
const context = React16.useContext(CarouselContext);
|
|
783
1552
|
if (!context) {
|
|
784
1553
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
785
1554
|
}
|
|
786
1555
|
return context;
|
|
787
1556
|
}
|
|
788
|
-
var Carousel =
|
|
1557
|
+
var Carousel = React16.forwardRef(
|
|
789
1558
|
({
|
|
790
1559
|
orientation = "horizontal",
|
|
791
1560
|
opts,
|
|
@@ -802,22 +1571,22 @@ var Carousel = React11.forwardRef(
|
|
|
802
1571
|
},
|
|
803
1572
|
plugins
|
|
804
1573
|
);
|
|
805
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
806
|
-
const [canScrollNext, setCanScrollNext] =
|
|
807
|
-
const onSelect =
|
|
1574
|
+
const [canScrollPrev, setCanScrollPrev] = React16.useState(false);
|
|
1575
|
+
const [canScrollNext, setCanScrollNext] = React16.useState(false);
|
|
1576
|
+
const onSelect = React16.useCallback((api2) => {
|
|
808
1577
|
if (!api2) {
|
|
809
1578
|
return;
|
|
810
1579
|
}
|
|
811
1580
|
setCanScrollPrev(api2.canScrollPrev());
|
|
812
1581
|
setCanScrollNext(api2.canScrollNext());
|
|
813
1582
|
}, []);
|
|
814
|
-
const scrollPrev =
|
|
1583
|
+
const scrollPrev = React16.useCallback(() => {
|
|
815
1584
|
api?.scrollPrev();
|
|
816
1585
|
}, [api]);
|
|
817
|
-
const scrollNext =
|
|
1586
|
+
const scrollNext = React16.useCallback(() => {
|
|
818
1587
|
api?.scrollNext();
|
|
819
1588
|
}, [api]);
|
|
820
|
-
const handleKeyDown =
|
|
1589
|
+
const handleKeyDown = React16.useCallback(
|
|
821
1590
|
(event) => {
|
|
822
1591
|
if (event.key === "ArrowLeft") {
|
|
823
1592
|
event.preventDefault();
|
|
@@ -829,13 +1598,13 @@ var Carousel = React11.forwardRef(
|
|
|
829
1598
|
},
|
|
830
1599
|
[scrollPrev, scrollNext]
|
|
831
1600
|
);
|
|
832
|
-
|
|
1601
|
+
React16.useEffect(() => {
|
|
833
1602
|
if (!api || !setApi) {
|
|
834
1603
|
return;
|
|
835
1604
|
}
|
|
836
1605
|
setApi(api);
|
|
837
1606
|
}, [api, setApi]);
|
|
838
|
-
|
|
1607
|
+
React16.useEffect(() => {
|
|
839
1608
|
if (!api) {
|
|
840
1609
|
return;
|
|
841
1610
|
}
|
|
@@ -846,7 +1615,7 @@ var Carousel = React11.forwardRef(
|
|
|
846
1615
|
api?.off("select", onSelect);
|
|
847
1616
|
};
|
|
848
1617
|
}, [api, onSelect]);
|
|
849
|
-
return /* @__PURE__ */
|
|
1618
|
+
return /* @__PURE__ */ jsx15(
|
|
850
1619
|
CarouselContext.Provider,
|
|
851
1620
|
{
|
|
852
1621
|
value: {
|
|
@@ -859,7 +1628,7 @@ var Carousel = React11.forwardRef(
|
|
|
859
1628
|
canScrollPrev,
|
|
860
1629
|
canScrollNext
|
|
861
1630
|
},
|
|
862
|
-
children: /* @__PURE__ */
|
|
1631
|
+
children: /* @__PURE__ */ jsx15(
|
|
863
1632
|
"div",
|
|
864
1633
|
{
|
|
865
1634
|
ref,
|
|
@@ -876,9 +1645,9 @@ var Carousel = React11.forwardRef(
|
|
|
876
1645
|
}
|
|
877
1646
|
);
|
|
878
1647
|
Carousel.displayName = "Carousel";
|
|
879
|
-
var CarouselContent =
|
|
1648
|
+
var CarouselContent = React16.forwardRef(({ className, ...props }, ref) => {
|
|
880
1649
|
const { carouselRef, orientation } = useCarousel();
|
|
881
|
-
return /* @__PURE__ */
|
|
1650
|
+
return /* @__PURE__ */ jsx15("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx15(
|
|
882
1651
|
"div",
|
|
883
1652
|
{
|
|
884
1653
|
ref,
|
|
@@ -892,9 +1661,9 @@ var CarouselContent = React11.forwardRef(({ className, ...props }, ref) => {
|
|
|
892
1661
|
) });
|
|
893
1662
|
});
|
|
894
1663
|
CarouselContent.displayName = "CarouselContent";
|
|
895
|
-
var CarouselItem =
|
|
1664
|
+
var CarouselItem = React16.forwardRef(({ className, ...props }, ref) => {
|
|
896
1665
|
const { orientation } = useCarousel();
|
|
897
|
-
return /* @__PURE__ */
|
|
1666
|
+
return /* @__PURE__ */ jsx15(
|
|
898
1667
|
"div",
|
|
899
1668
|
{
|
|
900
1669
|
ref,
|
|
@@ -910,7 +1679,7 @@ var CarouselItem = React11.forwardRef(({ className, ...props }, ref) => {
|
|
|
910
1679
|
);
|
|
911
1680
|
});
|
|
912
1681
|
CarouselItem.displayName = "CarouselItem";
|
|
913
|
-
var CarouselPrevious =
|
|
1682
|
+
var CarouselPrevious = React16.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
914
1683
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
915
1684
|
return /* @__PURE__ */ jsxs4(
|
|
916
1685
|
Button,
|
|
@@ -927,14 +1696,14 @@ var CarouselPrevious = React11.forwardRef(({ className, variant = "outline", siz
|
|
|
927
1696
|
onClick: scrollPrev,
|
|
928
1697
|
...props,
|
|
929
1698
|
children: [
|
|
930
|
-
/* @__PURE__ */
|
|
931
|
-
/* @__PURE__ */
|
|
1699
|
+
/* @__PURE__ */ jsx15(ArrowLeft, { className: "h-4 w-4" }),
|
|
1700
|
+
/* @__PURE__ */ jsx15("span", { className: "sr-only", children: "Previous slide" })
|
|
932
1701
|
]
|
|
933
1702
|
}
|
|
934
1703
|
);
|
|
935
1704
|
});
|
|
936
1705
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
937
|
-
var CarouselNext =
|
|
1706
|
+
var CarouselNext = React16.forwardRef(({ className, variant = "outline", size = "icon", ...props }, ref) => {
|
|
938
1707
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
939
1708
|
return /* @__PURE__ */ jsxs4(
|
|
940
1709
|
Button,
|
|
@@ -951,8 +1720,8 @@ var CarouselNext = React11.forwardRef(({ className, variant = "outline", size =
|
|
|
951
1720
|
onClick: scrollNext,
|
|
952
1721
|
...props,
|
|
953
1722
|
children: [
|
|
954
|
-
/* @__PURE__ */
|
|
955
|
-
/* @__PURE__ */
|
|
1723
|
+
/* @__PURE__ */ jsx15(ArrowRight, { className: "h-4 w-4" }),
|
|
1724
|
+
/* @__PURE__ */ jsx15("span", { className: "sr-only", children: "Next slide" })
|
|
956
1725
|
]
|
|
957
1726
|
}
|
|
958
1727
|
);
|
|
@@ -960,22 +1729,22 @@ var CarouselNext = React11.forwardRef(({ className, variant = "outline", size =
|
|
|
960
1729
|
CarouselNext.displayName = "CarouselNext";
|
|
961
1730
|
|
|
962
1731
|
// src/components/ui/chart.tsx
|
|
963
|
-
import * as
|
|
1732
|
+
import * as React17 from "react";
|
|
964
1733
|
import * as RechartsPrimitive from "recharts";
|
|
965
|
-
import { Fragment, jsx as
|
|
1734
|
+
import { Fragment, jsx as jsx16, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
966
1735
|
var THEMES = { light: "", dark: ".dark" };
|
|
967
|
-
var ChartContext =
|
|
1736
|
+
var ChartContext = React17.createContext(null);
|
|
968
1737
|
function useChart() {
|
|
969
|
-
const context =
|
|
1738
|
+
const context = React17.useContext(ChartContext);
|
|
970
1739
|
if (!context) {
|
|
971
1740
|
throw new Error("useChart must be used within a <ChartContainer />");
|
|
972
1741
|
}
|
|
973
1742
|
return context;
|
|
974
1743
|
}
|
|
975
|
-
var ChartContainer =
|
|
976
|
-
const uniqueId =
|
|
1744
|
+
var ChartContainer = React17.forwardRef(({ id, className, children, config, ...props }, ref) => {
|
|
1745
|
+
const uniqueId = React17.useId();
|
|
977
1746
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
978
|
-
return /* @__PURE__ */
|
|
1747
|
+
return /* @__PURE__ */ jsx16(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs5(
|
|
979
1748
|
"div",
|
|
980
1749
|
{
|
|
981
1750
|
"data-chart": chartId,
|
|
@@ -986,8 +1755,8 @@ var ChartContainer = React12.forwardRef(({ id, className, children, config, ...p
|
|
|
986
1755
|
),
|
|
987
1756
|
...props,
|
|
988
1757
|
children: [
|
|
989
|
-
/* @__PURE__ */
|
|
990
|
-
/* @__PURE__ */
|
|
1758
|
+
/* @__PURE__ */ jsx16(ChartStyle, { id: chartId, config }),
|
|
1759
|
+
/* @__PURE__ */ jsx16(RechartsPrimitive.ResponsiveContainer, { children })
|
|
991
1760
|
]
|
|
992
1761
|
}
|
|
993
1762
|
) });
|
|
@@ -1000,7 +1769,7 @@ var ChartStyle = ({ id, config }) => {
|
|
|
1000
1769
|
if (!colorConfig.length) {
|
|
1001
1770
|
return null;
|
|
1002
1771
|
}
|
|
1003
|
-
return /* @__PURE__ */
|
|
1772
|
+
return /* @__PURE__ */ jsx16(
|
|
1004
1773
|
"style",
|
|
1005
1774
|
{
|
|
1006
1775
|
dangerouslySetInnerHTML: {
|
|
@@ -1019,7 +1788,7 @@ ${colorConfig.map(([key, itemConfig]) => {
|
|
|
1019
1788
|
);
|
|
1020
1789
|
};
|
|
1021
1790
|
var ChartTooltip = RechartsPrimitive.Tooltip;
|
|
1022
|
-
var ChartTooltipContent =
|
|
1791
|
+
var ChartTooltipContent = React17.forwardRef(
|
|
1023
1792
|
({
|
|
1024
1793
|
active,
|
|
1025
1794
|
payload,
|
|
@@ -1036,7 +1805,7 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1036
1805
|
labelKey
|
|
1037
1806
|
}, ref) => {
|
|
1038
1807
|
const { config } = useChart();
|
|
1039
|
-
const tooltipLabel =
|
|
1808
|
+
const tooltipLabel = React17.useMemo(() => {
|
|
1040
1809
|
if (hideLabel || !payload?.length) {
|
|
1041
1810
|
return null;
|
|
1042
1811
|
}
|
|
@@ -1045,12 +1814,12 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1045
1814
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1046
1815
|
const value = !labelKey && typeof label === "string" ? config[label]?.label || label : itemConfig?.label;
|
|
1047
1816
|
if (labelFormatter) {
|
|
1048
|
-
return /* @__PURE__ */
|
|
1817
|
+
return /* @__PURE__ */ jsx16("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
1049
1818
|
}
|
|
1050
1819
|
if (!value) {
|
|
1051
1820
|
return null;
|
|
1052
1821
|
}
|
|
1053
|
-
return /* @__PURE__ */
|
|
1822
|
+
return /* @__PURE__ */ jsx16("div", { className: cn("font-medium", labelClassName), children: value });
|
|
1054
1823
|
}, [
|
|
1055
1824
|
label,
|
|
1056
1825
|
labelFormatter,
|
|
@@ -1074,11 +1843,11 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1074
1843
|
),
|
|
1075
1844
|
children: [
|
|
1076
1845
|
!nestLabel ? tooltipLabel : null,
|
|
1077
|
-
/* @__PURE__ */
|
|
1846
|
+
/* @__PURE__ */ jsx16("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
|
|
1078
1847
|
const key = `${nameKey || item.name || item.dataKey || "value"}`;
|
|
1079
1848
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1080
1849
|
const indicatorColor = color || item.payload.fill || item.color;
|
|
1081
|
-
return /* @__PURE__ */
|
|
1850
|
+
return /* @__PURE__ */ jsx16(
|
|
1082
1851
|
"div",
|
|
1083
1852
|
{
|
|
1084
1853
|
className: cn(
|
|
@@ -1086,7 +1855,7 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1086
1855
|
indicator === "dot" && "items-center"
|
|
1087
1856
|
),
|
|
1088
1857
|
children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
1089
|
-
itemConfig?.icon ? /* @__PURE__ */
|
|
1858
|
+
itemConfig?.icon ? /* @__PURE__ */ jsx16(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx16(
|
|
1090
1859
|
"div",
|
|
1091
1860
|
{
|
|
1092
1861
|
className: cn(
|
|
@@ -1114,9 +1883,9 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1114
1883
|
children: [
|
|
1115
1884
|
/* @__PURE__ */ jsxs5("div", { className: "grid gap-1.5", children: [
|
|
1116
1885
|
nestLabel ? tooltipLabel : null,
|
|
1117
|
-
/* @__PURE__ */
|
|
1886
|
+
/* @__PURE__ */ jsx16("span", { className: "text-muted-foreground", children: itemConfig?.label || item.name })
|
|
1118
1887
|
] }),
|
|
1119
|
-
item.value && /* @__PURE__ */
|
|
1888
|
+
item.value && /* @__PURE__ */ jsx16("span", { className: "font-mono font-medium tabular-nums text-foreground", children: item.value.toLocaleString() })
|
|
1120
1889
|
]
|
|
1121
1890
|
}
|
|
1122
1891
|
)
|
|
@@ -1132,13 +1901,13 @@ var ChartTooltipContent = React12.forwardRef(
|
|
|
1132
1901
|
);
|
|
1133
1902
|
ChartTooltipContent.displayName = "ChartTooltip";
|
|
1134
1903
|
var ChartLegend = RechartsPrimitive.Legend;
|
|
1135
|
-
var ChartLegendContent =
|
|
1904
|
+
var ChartLegendContent = React17.forwardRef(
|
|
1136
1905
|
({ className, hideIcon = false, payload, verticalAlign = "bottom", nameKey }, ref) => {
|
|
1137
1906
|
const { config } = useChart();
|
|
1138
1907
|
if (!payload?.length) {
|
|
1139
1908
|
return null;
|
|
1140
1909
|
}
|
|
1141
|
-
return /* @__PURE__ */
|
|
1910
|
+
return /* @__PURE__ */ jsx16(
|
|
1142
1911
|
"div",
|
|
1143
1912
|
{
|
|
1144
1913
|
ref,
|
|
@@ -1157,7 +1926,7 @@ var ChartLegendContent = React12.forwardRef(
|
|
|
1157
1926
|
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
|
|
1158
1927
|
),
|
|
1159
1928
|
children: [
|
|
1160
|
-
itemConfig?.icon && !hideIcon ? /* @__PURE__ */
|
|
1929
|
+
itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx16(itemConfig.icon, {}) : /* @__PURE__ */ jsx16(
|
|
1161
1930
|
"div",
|
|
1162
1931
|
{
|
|
1163
1932
|
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
@@ -1192,11 +1961,11 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1192
1961
|
}
|
|
1193
1962
|
|
|
1194
1963
|
// src/components/ui/checkbox.tsx
|
|
1195
|
-
import * as
|
|
1964
|
+
import * as React18 from "react";
|
|
1196
1965
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
1197
1966
|
import { Check } from "lucide-react";
|
|
1198
|
-
import { jsx as
|
|
1199
|
-
var Checkbox =
|
|
1967
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1968
|
+
var Checkbox = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
|
|
1200
1969
|
CheckboxPrimitive.Root,
|
|
1201
1970
|
{
|
|
1202
1971
|
ref,
|
|
@@ -1205,11 +1974,11 @@ var Checkbox = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1205
1974
|
className
|
|
1206
1975
|
),
|
|
1207
1976
|
...props,
|
|
1208
|
-
children: /* @__PURE__ */
|
|
1977
|
+
children: /* @__PURE__ */ jsx17(
|
|
1209
1978
|
CheckboxPrimitive.Indicator,
|
|
1210
1979
|
{
|
|
1211
1980
|
className: cn("grid place-content-center text-current"),
|
|
1212
|
-
children: /* @__PURE__ */
|
|
1981
|
+
children: /* @__PURE__ */ jsx17(Check, { className: "h-4 w-4" })
|
|
1213
1982
|
}
|
|
1214
1983
|
)
|
|
1215
1984
|
}
|
|
@@ -1223,20 +1992,20 @@ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
|
|
|
1223
1992
|
var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
|
|
1224
1993
|
|
|
1225
1994
|
// src/components/ui/command.tsx
|
|
1226
|
-
import * as
|
|
1995
|
+
import * as React20 from "react";
|
|
1227
1996
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1228
1997
|
import { Search } from "lucide-react";
|
|
1229
1998
|
|
|
1230
1999
|
// src/components/ui/dialog.tsx
|
|
1231
|
-
import * as
|
|
2000
|
+
import * as React19 from "react";
|
|
1232
2001
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
1233
2002
|
import { X } from "lucide-react";
|
|
1234
|
-
import { jsx as
|
|
2003
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1235
2004
|
var Dialog = DialogPrimitive.Root;
|
|
1236
2005
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
1237
2006
|
var DialogPortal = DialogPrimitive.Portal;
|
|
1238
2007
|
var DialogClose = DialogPrimitive.Close;
|
|
1239
|
-
var DialogOverlay =
|
|
2008
|
+
var DialogOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1240
2009
|
DialogPrimitive.Overlay,
|
|
1241
2010
|
{
|
|
1242
2011
|
ref,
|
|
@@ -1248,8 +2017,8 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1248
2017
|
}
|
|
1249
2018
|
));
|
|
1250
2019
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
1251
|
-
var DialogContent =
|
|
1252
|
-
/* @__PURE__ */
|
|
2020
|
+
var DialogContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs6(DialogPortal, { children: [
|
|
2021
|
+
/* @__PURE__ */ jsx18(DialogOverlay, {}),
|
|
1253
2022
|
/* @__PURE__ */ jsxs6(
|
|
1254
2023
|
DialogPrimitive.Content,
|
|
1255
2024
|
{
|
|
@@ -1262,8 +2031,8 @@ var DialogContent = React14.forwardRef(({ className, children, ...props }, ref)
|
|
|
1262
2031
|
children: [
|
|
1263
2032
|
children,
|
|
1264
2033
|
/* @__PURE__ */ jsxs6(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
1265
|
-
/* @__PURE__ */
|
|
1266
|
-
/* @__PURE__ */
|
|
2034
|
+
/* @__PURE__ */ jsx18(X, { className: "h-4 w-4" }),
|
|
2035
|
+
/* @__PURE__ */ jsx18("span", { className: "sr-only", children: "Close" })
|
|
1267
2036
|
] })
|
|
1268
2037
|
]
|
|
1269
2038
|
}
|
|
@@ -1273,7 +2042,7 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
|
1273
2042
|
var DialogHeader = ({
|
|
1274
2043
|
className,
|
|
1275
2044
|
...props
|
|
1276
|
-
}) => /* @__PURE__ */
|
|
2045
|
+
}) => /* @__PURE__ */ jsx18(
|
|
1277
2046
|
"div",
|
|
1278
2047
|
{
|
|
1279
2048
|
className: cn(
|
|
@@ -1287,7 +2056,7 @@ DialogHeader.displayName = "DialogHeader";
|
|
|
1287
2056
|
var DialogFooter = ({
|
|
1288
2057
|
className,
|
|
1289
2058
|
...props
|
|
1290
|
-
}) => /* @__PURE__ */
|
|
2059
|
+
}) => /* @__PURE__ */ jsx18(
|
|
1291
2060
|
"div",
|
|
1292
2061
|
{
|
|
1293
2062
|
className: cn(
|
|
@@ -1298,7 +2067,7 @@ var DialogFooter = ({
|
|
|
1298
2067
|
}
|
|
1299
2068
|
);
|
|
1300
2069
|
DialogFooter.displayName = "DialogFooter";
|
|
1301
|
-
var DialogTitle =
|
|
2070
|
+
var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1302
2071
|
DialogPrimitive.Title,
|
|
1303
2072
|
{
|
|
1304
2073
|
ref,
|
|
@@ -1310,7 +2079,7 @@ var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1310
2079
|
}
|
|
1311
2080
|
));
|
|
1312
2081
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
1313
|
-
var DialogDescription =
|
|
2082
|
+
var DialogDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
|
|
1314
2083
|
DialogPrimitive.Description,
|
|
1315
2084
|
{
|
|
1316
2085
|
ref,
|
|
@@ -1321,8 +2090,8 @@ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1321
2090
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
1322
2091
|
|
|
1323
2092
|
// src/components/ui/command.tsx
|
|
1324
|
-
import { jsx as
|
|
1325
|
-
var Command =
|
|
2093
|
+
import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2094
|
+
var Command = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1326
2095
|
CommandPrimitive,
|
|
1327
2096
|
{
|
|
1328
2097
|
ref,
|
|
@@ -1335,11 +2104,11 @@ var Command = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1335
2104
|
));
|
|
1336
2105
|
Command.displayName = CommandPrimitive.displayName;
|
|
1337
2106
|
var CommandDialog = ({ children, ...props }) => {
|
|
1338
|
-
return /* @__PURE__ */
|
|
2107
|
+
return /* @__PURE__ */ jsx19(Dialog, { ...props, children: /* @__PURE__ */ jsx19(DialogContent, { className: "overflow-hidden p-0", children: /* @__PURE__ */ jsx19(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
|
|
1339
2108
|
};
|
|
1340
|
-
var CommandInput =
|
|
1341
|
-
/* @__PURE__ */
|
|
1342
|
-
/* @__PURE__ */
|
|
2109
|
+
var CommandInput = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs7("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2110
|
+
/* @__PURE__ */ jsx19(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2111
|
+
/* @__PURE__ */ jsx19(
|
|
1343
2112
|
CommandPrimitive.Input,
|
|
1344
2113
|
{
|
|
1345
2114
|
ref,
|
|
@@ -1352,7 +2121,7 @@ var CommandInput = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1352
2121
|
)
|
|
1353
2122
|
] }));
|
|
1354
2123
|
CommandInput.displayName = CommandPrimitive.Input.displayName;
|
|
1355
|
-
var CommandList =
|
|
2124
|
+
var CommandList = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1356
2125
|
CommandPrimitive.List,
|
|
1357
2126
|
{
|
|
1358
2127
|
ref,
|
|
@@ -1361,7 +2130,7 @@ var CommandList = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1361
2130
|
}
|
|
1362
2131
|
));
|
|
1363
2132
|
CommandList.displayName = CommandPrimitive.List.displayName;
|
|
1364
|
-
var CommandEmpty =
|
|
2133
|
+
var CommandEmpty = React20.forwardRef((props, ref) => /* @__PURE__ */ jsx19(
|
|
1365
2134
|
CommandPrimitive.Empty,
|
|
1366
2135
|
{
|
|
1367
2136
|
ref,
|
|
@@ -1370,7 +2139,7 @@ var CommandEmpty = React15.forwardRef((props, ref) => /* @__PURE__ */ jsx14(
|
|
|
1370
2139
|
}
|
|
1371
2140
|
));
|
|
1372
2141
|
CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
|
|
1373
|
-
var CommandGroup =
|
|
2142
|
+
var CommandGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1374
2143
|
CommandPrimitive.Group,
|
|
1375
2144
|
{
|
|
1376
2145
|
ref,
|
|
@@ -1382,7 +2151,7 @@ var CommandGroup = React15.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1382
2151
|
}
|
|
1383
2152
|
));
|
|
1384
2153
|
CommandGroup.displayName = CommandPrimitive.Group.displayName;
|
|
1385
|
-
var CommandSeparator =
|
|
2154
|
+
var CommandSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1386
2155
|
CommandPrimitive.Separator,
|
|
1387
2156
|
{
|
|
1388
2157
|
ref,
|
|
@@ -1391,7 +2160,7 @@ var CommandSeparator = React15.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
1391
2160
|
}
|
|
1392
2161
|
));
|
|
1393
2162
|
CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
|
|
1394
|
-
var CommandItem =
|
|
2163
|
+
var CommandItem = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
|
|
1395
2164
|
CommandPrimitive.Item,
|
|
1396
2165
|
{
|
|
1397
2166
|
ref,
|
|
@@ -1407,7 +2176,7 @@ var CommandShortcut = ({
|
|
|
1407
2176
|
className,
|
|
1408
2177
|
...props
|
|
1409
2178
|
}) => {
|
|
1410
|
-
return /* @__PURE__ */
|
|
2179
|
+
return /* @__PURE__ */ jsx19(
|
|
1411
2180
|
"span",
|
|
1412
2181
|
{
|
|
1413
2182
|
className: cn(
|
|
@@ -1421,17 +2190,17 @@ var CommandShortcut = ({
|
|
|
1421
2190
|
CommandShortcut.displayName = "CommandShortcut";
|
|
1422
2191
|
|
|
1423
2192
|
// src/components/ui/context-menu.tsx
|
|
1424
|
-
import * as
|
|
2193
|
+
import * as React21 from "react";
|
|
1425
2194
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
1426
2195
|
import { Check as Check2, ChevronRight as ChevronRight2, Circle } from "lucide-react";
|
|
1427
|
-
import { jsx as
|
|
2196
|
+
import { jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1428
2197
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
1429
2198
|
var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
|
|
1430
2199
|
var ContextMenuGroup = ContextMenuPrimitive.Group;
|
|
1431
2200
|
var ContextMenuPortal = ContextMenuPrimitive.Portal;
|
|
1432
2201
|
var ContextMenuSub = ContextMenuPrimitive.Sub;
|
|
1433
2202
|
var ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup;
|
|
1434
|
-
var ContextMenuSubTrigger =
|
|
2203
|
+
var ContextMenuSubTrigger = React21.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
|
|
1435
2204
|
ContextMenuPrimitive.SubTrigger,
|
|
1436
2205
|
{
|
|
1437
2206
|
ref,
|
|
@@ -1443,12 +2212,12 @@ var ContextMenuSubTrigger = React16.forwardRef(({ className, inset, children, ..
|
|
|
1443
2212
|
...props,
|
|
1444
2213
|
children: [
|
|
1445
2214
|
children,
|
|
1446
|
-
/* @__PURE__ */
|
|
2215
|
+
/* @__PURE__ */ jsx20(ChevronRight2, { className: "ml-auto h-4 w-4" })
|
|
1447
2216
|
]
|
|
1448
2217
|
}
|
|
1449
2218
|
));
|
|
1450
2219
|
ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
|
|
1451
|
-
var ContextMenuSubContent =
|
|
2220
|
+
var ContextMenuSubContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1452
2221
|
ContextMenuPrimitive.SubContent,
|
|
1453
2222
|
{
|
|
1454
2223
|
ref,
|
|
@@ -1460,7 +2229,7 @@ var ContextMenuSubContent = React16.forwardRef(({ className, ...props }, ref) =>
|
|
|
1460
2229
|
}
|
|
1461
2230
|
));
|
|
1462
2231
|
ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName;
|
|
1463
|
-
var ContextMenuContent =
|
|
2232
|
+
var ContextMenuContent = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx20(
|
|
1464
2233
|
ContextMenuPrimitive.Content,
|
|
1465
2234
|
{
|
|
1466
2235
|
ref,
|
|
@@ -1472,7 +2241,7 @@ var ContextMenuContent = React16.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1472
2241
|
}
|
|
1473
2242
|
) }));
|
|
1474
2243
|
ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName;
|
|
1475
|
-
var ContextMenuItem =
|
|
2244
|
+
var ContextMenuItem = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1476
2245
|
ContextMenuPrimitive.Item,
|
|
1477
2246
|
{
|
|
1478
2247
|
ref,
|
|
@@ -1485,7 +2254,7 @@ var ContextMenuItem = React16.forwardRef(({ className, inset, ...props }, ref) =
|
|
|
1485
2254
|
}
|
|
1486
2255
|
));
|
|
1487
2256
|
ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName;
|
|
1488
|
-
var ContextMenuCheckboxItem =
|
|
2257
|
+
var ContextMenuCheckboxItem = React21.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs8(
|
|
1489
2258
|
ContextMenuPrimitive.CheckboxItem,
|
|
1490
2259
|
{
|
|
1491
2260
|
ref,
|
|
@@ -1496,13 +2265,13 @@ var ContextMenuCheckboxItem = React16.forwardRef(({ className, children, checked
|
|
|
1496
2265
|
checked,
|
|
1497
2266
|
...props,
|
|
1498
2267
|
children: [
|
|
1499
|
-
/* @__PURE__ */
|
|
2268
|
+
/* @__PURE__ */ jsx20("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx20(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx20(Check2, { className: "h-4 w-4" }) }) }),
|
|
1500
2269
|
children
|
|
1501
2270
|
]
|
|
1502
2271
|
}
|
|
1503
2272
|
));
|
|
1504
2273
|
ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName;
|
|
1505
|
-
var ContextMenuRadioItem =
|
|
2274
|
+
var ContextMenuRadioItem = React21.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs8(
|
|
1506
2275
|
ContextMenuPrimitive.RadioItem,
|
|
1507
2276
|
{
|
|
1508
2277
|
ref,
|
|
@@ -1512,13 +2281,13 @@ var ContextMenuRadioItem = React16.forwardRef(({ className, children, ...props }
|
|
|
1512
2281
|
),
|
|
1513
2282
|
...props,
|
|
1514
2283
|
children: [
|
|
1515
|
-
/* @__PURE__ */
|
|
2284
|
+
/* @__PURE__ */ jsx20("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx20(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx20(Circle, { className: "h-4 w-4 fill-current" }) }) }),
|
|
1516
2285
|
children
|
|
1517
2286
|
]
|
|
1518
2287
|
}
|
|
1519
2288
|
));
|
|
1520
2289
|
ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName;
|
|
1521
|
-
var ContextMenuLabel =
|
|
2290
|
+
var ContextMenuLabel = React21.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1522
2291
|
ContextMenuPrimitive.Label,
|
|
1523
2292
|
{
|
|
1524
2293
|
ref,
|
|
@@ -1531,7 +2300,7 @@ var ContextMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1531
2300
|
}
|
|
1532
2301
|
));
|
|
1533
2302
|
ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName;
|
|
1534
|
-
var ContextMenuSeparator =
|
|
2303
|
+
var ContextMenuSeparator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
|
|
1535
2304
|
ContextMenuPrimitive.Separator,
|
|
1536
2305
|
{
|
|
1537
2306
|
ref,
|
|
@@ -1544,7 +2313,7 @@ var ContextMenuShortcut = ({
|
|
|
1544
2313
|
className,
|
|
1545
2314
|
...props
|
|
1546
2315
|
}) => {
|
|
1547
|
-
return /* @__PURE__ */
|
|
2316
|
+
return /* @__PURE__ */ jsx20(
|
|
1548
2317
|
"span",
|
|
1549
2318
|
{
|
|
1550
2319
|
className: cn(
|
|
@@ -1558,13 +2327,13 @@ var ContextMenuShortcut = ({
|
|
|
1558
2327
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
1559
2328
|
|
|
1560
2329
|
// src/components/ui/drawer.tsx
|
|
1561
|
-
import * as
|
|
2330
|
+
import * as React22 from "react";
|
|
1562
2331
|
import { Drawer as DrawerPrimitive } from "vaul";
|
|
1563
|
-
import { jsx as
|
|
2332
|
+
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1564
2333
|
var Drawer = ({
|
|
1565
2334
|
shouldScaleBackground = true,
|
|
1566
2335
|
...props
|
|
1567
|
-
}) => /* @__PURE__ */
|
|
2336
|
+
}) => /* @__PURE__ */ jsx21(
|
|
1568
2337
|
DrawerPrimitive.Root,
|
|
1569
2338
|
{
|
|
1570
2339
|
shouldScaleBackground,
|
|
@@ -1575,7 +2344,7 @@ Drawer.displayName = "Drawer";
|
|
|
1575
2344
|
var DrawerTrigger = DrawerPrimitive.Trigger;
|
|
1576
2345
|
var DrawerPortal = DrawerPrimitive.Portal;
|
|
1577
2346
|
var DrawerClose = DrawerPrimitive.Close;
|
|
1578
|
-
var DrawerOverlay =
|
|
2347
|
+
var DrawerOverlay = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1579
2348
|
DrawerPrimitive.Overlay,
|
|
1580
2349
|
{
|
|
1581
2350
|
ref,
|
|
@@ -1584,8 +2353,8 @@ var DrawerOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1584
2353
|
}
|
|
1585
2354
|
));
|
|
1586
2355
|
DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
|
|
1587
|
-
var DrawerContent =
|
|
1588
|
-
/* @__PURE__ */
|
|
2356
|
+
var DrawerContent = React22.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs9(DrawerPortal, { children: [
|
|
2357
|
+
/* @__PURE__ */ jsx21(DrawerOverlay, {}),
|
|
1589
2358
|
/* @__PURE__ */ jsxs9(
|
|
1590
2359
|
DrawerPrimitive.Content,
|
|
1591
2360
|
{
|
|
@@ -1596,7 +2365,7 @@ var DrawerContent = React17.forwardRef(({ className, children, ...props }, ref)
|
|
|
1596
2365
|
),
|
|
1597
2366
|
...props,
|
|
1598
2367
|
children: [
|
|
1599
|
-
/* @__PURE__ */
|
|
2368
|
+
/* @__PURE__ */ jsx21("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
|
|
1600
2369
|
children
|
|
1601
2370
|
]
|
|
1602
2371
|
}
|
|
@@ -1606,7 +2375,7 @@ DrawerContent.displayName = "DrawerContent";
|
|
|
1606
2375
|
var DrawerHeader = ({
|
|
1607
2376
|
className,
|
|
1608
2377
|
...props
|
|
1609
|
-
}) => /* @__PURE__ */
|
|
2378
|
+
}) => /* @__PURE__ */ jsx21(
|
|
1610
2379
|
"div",
|
|
1611
2380
|
{
|
|
1612
2381
|
className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
|
|
@@ -1617,7 +2386,7 @@ DrawerHeader.displayName = "DrawerHeader";
|
|
|
1617
2386
|
var DrawerFooter = ({
|
|
1618
2387
|
className,
|
|
1619
2388
|
...props
|
|
1620
|
-
}) => /* @__PURE__ */
|
|
2389
|
+
}) => /* @__PURE__ */ jsx21(
|
|
1621
2390
|
"div",
|
|
1622
2391
|
{
|
|
1623
2392
|
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
@@ -1625,7 +2394,7 @@ var DrawerFooter = ({
|
|
|
1625
2394
|
}
|
|
1626
2395
|
);
|
|
1627
2396
|
DrawerFooter.displayName = "DrawerFooter";
|
|
1628
|
-
var DrawerTitle =
|
|
2397
|
+
var DrawerTitle = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1629
2398
|
DrawerPrimitive.Title,
|
|
1630
2399
|
{
|
|
1631
2400
|
ref,
|
|
@@ -1637,7 +2406,7 @@ var DrawerTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1637
2406
|
}
|
|
1638
2407
|
));
|
|
1639
2408
|
DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
|
|
1640
|
-
var DrawerDescription =
|
|
2409
|
+
var DrawerDescription = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
|
|
1641
2410
|
DrawerPrimitive.Description,
|
|
1642
2411
|
{
|
|
1643
2412
|
ref,
|
|
@@ -1648,17 +2417,17 @@ var DrawerDescription = React17.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1648
2417
|
DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
|
|
1649
2418
|
|
|
1650
2419
|
// src/components/ui/dropdown-menu.tsx
|
|
1651
|
-
import * as
|
|
2420
|
+
import * as React23 from "react";
|
|
1652
2421
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
1653
2422
|
import { Check as Check3, ChevronRight as ChevronRight3, Circle as Circle2 } from "lucide-react";
|
|
1654
|
-
import { jsx as
|
|
2423
|
+
import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1655
2424
|
var DropdownMenu = DropdownMenuPrimitive.Root;
|
|
1656
2425
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
1657
2426
|
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
1658
2427
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
1659
2428
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
1660
2429
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
1661
|
-
var DropdownMenuSubTrigger =
|
|
2430
|
+
var DropdownMenuSubTrigger = React23.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
|
|
1662
2431
|
DropdownMenuPrimitive.SubTrigger,
|
|
1663
2432
|
{
|
|
1664
2433
|
ref,
|
|
@@ -1670,12 +2439,12 @@ var DropdownMenuSubTrigger = React18.forwardRef(({ className, inset, children, .
|
|
|
1670
2439
|
...props,
|
|
1671
2440
|
children: [
|
|
1672
2441
|
children,
|
|
1673
|
-
/* @__PURE__ */
|
|
2442
|
+
/* @__PURE__ */ jsx22(ChevronRight3, { className: "ml-auto" })
|
|
1674
2443
|
]
|
|
1675
2444
|
}
|
|
1676
2445
|
));
|
|
1677
2446
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
1678
|
-
var DropdownMenuSubContent =
|
|
2447
|
+
var DropdownMenuSubContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
|
|
1679
2448
|
DropdownMenuPrimitive.SubContent,
|
|
1680
2449
|
{
|
|
1681
2450
|
ref,
|
|
@@ -1687,7 +2456,7 @@ var DropdownMenuSubContent = React18.forwardRef(({ className, ...props }, ref) =
|
|
|
1687
2456
|
}
|
|
1688
2457
|
));
|
|
1689
2458
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
1690
|
-
var DropdownMenuContent =
|
|
2459
|
+
var DropdownMenuContent = React23.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx22(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx22(
|
|
1691
2460
|
DropdownMenuPrimitive.Content,
|
|
1692
2461
|
{
|
|
1693
2462
|
ref,
|
|
@@ -1701,7 +2470,7 @@ var DropdownMenuContent = React18.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
1701
2470
|
}
|
|
1702
2471
|
) }));
|
|
1703
2472
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
1704
|
-
var DropdownMenuItem =
|
|
2473
|
+
var DropdownMenuItem = React23.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx22(
|
|
1705
2474
|
DropdownMenuPrimitive.Item,
|
|
1706
2475
|
{
|
|
1707
2476
|
ref,
|
|
@@ -1714,7 +2483,7 @@ var DropdownMenuItem = React18.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1714
2483
|
}
|
|
1715
2484
|
));
|
|
1716
2485
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
1717
|
-
var DropdownMenuCheckboxItem =
|
|
2486
|
+
var DropdownMenuCheckboxItem = React23.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs10(
|
|
1718
2487
|
DropdownMenuPrimitive.CheckboxItem,
|
|
1719
2488
|
{
|
|
1720
2489
|
ref,
|
|
@@ -1725,13 +2494,13 @@ var DropdownMenuCheckboxItem = React18.forwardRef(({ className, children, checke
|
|
|
1725
2494
|
checked,
|
|
1726
2495
|
...props,
|
|
1727
2496
|
children: [
|
|
1728
|
-
/* @__PURE__ */
|
|
2497
|
+
/* @__PURE__ */ jsx22("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx22(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx22(Check3, { className: "h-4 w-4" }) }) }),
|
|
1729
2498
|
children
|
|
1730
2499
|
]
|
|
1731
2500
|
}
|
|
1732
2501
|
));
|
|
1733
2502
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
1734
|
-
var DropdownMenuRadioItem =
|
|
2503
|
+
var DropdownMenuRadioItem = React23.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs10(
|
|
1735
2504
|
DropdownMenuPrimitive.RadioItem,
|
|
1736
2505
|
{
|
|
1737
2506
|
ref,
|
|
@@ -1741,13 +2510,13 @@ var DropdownMenuRadioItem = React18.forwardRef(({ className, children, ...props
|
|
|
1741
2510
|
),
|
|
1742
2511
|
...props,
|
|
1743
2512
|
children: [
|
|
1744
|
-
/* @__PURE__ */
|
|
2513
|
+
/* @__PURE__ */ jsx22("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx22(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx22(Circle2, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1745
2514
|
children
|
|
1746
2515
|
]
|
|
1747
2516
|
}
|
|
1748
2517
|
));
|
|
1749
2518
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
1750
|
-
var DropdownMenuLabel =
|
|
2519
|
+
var DropdownMenuLabel = React23.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx22(
|
|
1751
2520
|
DropdownMenuPrimitive.Label,
|
|
1752
2521
|
{
|
|
1753
2522
|
ref,
|
|
@@ -1760,7 +2529,7 @@ var DropdownMenuLabel = React18.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1760
2529
|
}
|
|
1761
2530
|
));
|
|
1762
2531
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
1763
|
-
var DropdownMenuSeparator =
|
|
2532
|
+
var DropdownMenuSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
|
|
1764
2533
|
DropdownMenuPrimitive.Separator,
|
|
1765
2534
|
{
|
|
1766
2535
|
ref,
|
|
@@ -1773,7 +2542,7 @@ var DropdownMenuShortcut = ({
|
|
|
1773
2542
|
className,
|
|
1774
2543
|
...props
|
|
1775
2544
|
}) => {
|
|
1776
|
-
return /* @__PURE__ */
|
|
2545
|
+
return /* @__PURE__ */ jsx22(
|
|
1777
2546
|
"span",
|
|
1778
2547
|
{
|
|
1779
2548
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className),
|
|
@@ -1784,7 +2553,7 @@ var DropdownMenuShortcut = ({
|
|
|
1784
2553
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1785
2554
|
|
|
1786
2555
|
// src/components/ui/form.tsx
|
|
1787
|
-
import * as
|
|
2556
|
+
import * as React25 from "react";
|
|
1788
2557
|
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
1789
2558
|
import {
|
|
1790
2559
|
Controller,
|
|
@@ -1793,14 +2562,14 @@ import {
|
|
|
1793
2562
|
} from "react-hook-form";
|
|
1794
2563
|
|
|
1795
2564
|
// src/components/ui/label.tsx
|
|
1796
|
-
import * as
|
|
2565
|
+
import * as React24 from "react";
|
|
1797
2566
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
1798
|
-
import { cva as
|
|
1799
|
-
import { jsx as
|
|
1800
|
-
var labelVariants =
|
|
2567
|
+
import { cva as cva9 } from "class-variance-authority";
|
|
2568
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2569
|
+
var labelVariants = cva9(
|
|
1801
2570
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1802
2571
|
);
|
|
1803
|
-
var Label3 =
|
|
2572
|
+
var Label3 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
|
|
1804
2573
|
LabelPrimitive.Root,
|
|
1805
2574
|
{
|
|
1806
2575
|
ref,
|
|
@@ -1811,17 +2580,17 @@ var Label3 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1811
2580
|
Label3.displayName = LabelPrimitive.Root.displayName;
|
|
1812
2581
|
|
|
1813
2582
|
// src/components/ui/form.tsx
|
|
1814
|
-
import { jsx as
|
|
2583
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
1815
2584
|
var Form = FormProvider;
|
|
1816
|
-
var FormFieldContext =
|
|
2585
|
+
var FormFieldContext = React25.createContext(null);
|
|
1817
2586
|
var FormField = ({
|
|
1818
2587
|
...props
|
|
1819
2588
|
}) => {
|
|
1820
|
-
return /* @__PURE__ */
|
|
2589
|
+
return /* @__PURE__ */ jsx24(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx24(Controller, { ...props }) });
|
|
1821
2590
|
};
|
|
1822
2591
|
var useFormField = () => {
|
|
1823
|
-
const fieldContext =
|
|
1824
|
-
const itemContext =
|
|
2592
|
+
const fieldContext = React25.useContext(FormFieldContext);
|
|
2593
|
+
const itemContext = React25.useContext(FormItemContext);
|
|
1825
2594
|
const { getFieldState, formState } = useFormContext();
|
|
1826
2595
|
if (!fieldContext) {
|
|
1827
2596
|
throw new Error("useFormField should be used within <FormField>");
|
|
@@ -1840,15 +2609,15 @@ var useFormField = () => {
|
|
|
1840
2609
|
...fieldState
|
|
1841
2610
|
};
|
|
1842
2611
|
};
|
|
1843
|
-
var FormItemContext =
|
|
1844
|
-
var FormItem =
|
|
1845
|
-
const id =
|
|
1846
|
-
return /* @__PURE__ */
|
|
2612
|
+
var FormItemContext = React25.createContext(null);
|
|
2613
|
+
var FormItem = React25.forwardRef(({ className, ...props }, ref) => {
|
|
2614
|
+
const id = React25.useId();
|
|
2615
|
+
return /* @__PURE__ */ jsx24(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx24("div", { ref, className: cn("space-y-2", className), ...props }) });
|
|
1847
2616
|
});
|
|
1848
2617
|
FormItem.displayName = "FormItem";
|
|
1849
|
-
var FormLabel =
|
|
2618
|
+
var FormLabel = React25.forwardRef(({ className, ...props }, ref) => {
|
|
1850
2619
|
const { error, formItemId } = useFormField();
|
|
1851
|
-
return /* @__PURE__ */
|
|
2620
|
+
return /* @__PURE__ */ jsx24(
|
|
1852
2621
|
Label3,
|
|
1853
2622
|
{
|
|
1854
2623
|
ref,
|
|
@@ -1859,9 +2628,9 @@ var FormLabel = React20.forwardRef(({ className, ...props }, ref) => {
|
|
|
1859
2628
|
);
|
|
1860
2629
|
});
|
|
1861
2630
|
FormLabel.displayName = "FormLabel";
|
|
1862
|
-
var FormControl =
|
|
2631
|
+
var FormControl = React25.forwardRef(({ ...props }, ref) => {
|
|
1863
2632
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
1864
|
-
return /* @__PURE__ */
|
|
2633
|
+
return /* @__PURE__ */ jsx24(
|
|
1865
2634
|
Slot3,
|
|
1866
2635
|
{
|
|
1867
2636
|
ref,
|
|
@@ -1873,9 +2642,9 @@ var FormControl = React20.forwardRef(({ ...props }, ref) => {
|
|
|
1873
2642
|
);
|
|
1874
2643
|
});
|
|
1875
2644
|
FormControl.displayName = "FormControl";
|
|
1876
|
-
var FormDescription =
|
|
2645
|
+
var FormDescription = React25.forwardRef(({ className, ...props }, ref) => {
|
|
1877
2646
|
const { formDescriptionId } = useFormField();
|
|
1878
|
-
return /* @__PURE__ */
|
|
2647
|
+
return /* @__PURE__ */ jsx24(
|
|
1879
2648
|
"p",
|
|
1880
2649
|
{
|
|
1881
2650
|
ref,
|
|
@@ -1886,13 +2655,13 @@ var FormDescription = React20.forwardRef(({ className, ...props }, ref) => {
|
|
|
1886
2655
|
);
|
|
1887
2656
|
});
|
|
1888
2657
|
FormDescription.displayName = "FormDescription";
|
|
1889
|
-
var FormMessage =
|
|
2658
|
+
var FormMessage = React25.forwardRef(({ className, children, ...props }, ref) => {
|
|
1890
2659
|
const { error, formMessageId } = useFormField();
|
|
1891
2660
|
const body = error ? String(error?.message ?? "") : children;
|
|
1892
2661
|
if (!body) {
|
|
1893
2662
|
return null;
|
|
1894
2663
|
}
|
|
1895
|
-
return /* @__PURE__ */
|
|
2664
|
+
return /* @__PURE__ */ jsx24(
|
|
1896
2665
|
"p",
|
|
1897
2666
|
{
|
|
1898
2667
|
ref,
|
|
@@ -1906,12 +2675,12 @@ var FormMessage = React20.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
1906
2675
|
FormMessage.displayName = "FormMessage";
|
|
1907
2676
|
|
|
1908
2677
|
// src/components/ui/hover-card.tsx
|
|
1909
|
-
import * as
|
|
2678
|
+
import * as React26 from "react";
|
|
1910
2679
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
1911
|
-
import { jsx as
|
|
2680
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
1912
2681
|
var HoverCard = HoverCardPrimitive.Root;
|
|
1913
2682
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
1914
|
-
var HoverCardContent =
|
|
2683
|
+
var HoverCardContent = React26.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx25(
|
|
1915
2684
|
HoverCardPrimitive.Content,
|
|
1916
2685
|
{
|
|
1917
2686
|
ref,
|
|
@@ -1927,11 +2696,11 @@ var HoverCardContent = React21.forwardRef(({ className, align = "center", sideOf
|
|
|
1927
2696
|
HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
|
|
1928
2697
|
|
|
1929
2698
|
// src/components/ui/input.tsx
|
|
1930
|
-
import * as
|
|
1931
|
-
import { jsx as
|
|
1932
|
-
var Input =
|
|
2699
|
+
import * as React27 from "react";
|
|
2700
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
2701
|
+
var Input = React27.forwardRef(
|
|
1933
2702
|
({ className, type, ...props }, ref) => {
|
|
1934
|
-
return /* @__PURE__ */
|
|
2703
|
+
return /* @__PURE__ */ jsx26(
|
|
1935
2704
|
"input",
|
|
1936
2705
|
{
|
|
1937
2706
|
type,
|
|
@@ -1948,11 +2717,11 @@ var Input = React22.forwardRef(
|
|
|
1948
2717
|
Input.displayName = "Input";
|
|
1949
2718
|
|
|
1950
2719
|
// src/components/ui/input-otp.tsx
|
|
1951
|
-
import * as
|
|
2720
|
+
import * as React28 from "react";
|
|
1952
2721
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
1953
2722
|
import { Minus } from "lucide-react";
|
|
1954
|
-
import { jsx as
|
|
1955
|
-
var InputOTP =
|
|
2723
|
+
import { jsx as jsx27, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2724
|
+
var InputOTP = React28.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx27(
|
|
1956
2725
|
OTPInput,
|
|
1957
2726
|
{
|
|
1958
2727
|
ref,
|
|
@@ -1965,10 +2734,10 @@ var InputOTP = React23.forwardRef(({ className, containerClassName, ...props },
|
|
|
1965
2734
|
}
|
|
1966
2735
|
));
|
|
1967
2736
|
InputOTP.displayName = "InputOTP";
|
|
1968
|
-
var InputOTPGroup =
|
|
2737
|
+
var InputOTPGroup = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx27("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
1969
2738
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1970
|
-
var InputOTPSlot =
|
|
1971
|
-
const inputOTPContext =
|
|
2739
|
+
var InputOTPSlot = React28.forwardRef(({ index, className, ...props }, ref) => {
|
|
2740
|
+
const inputOTPContext = React28.useContext(OTPInputContext);
|
|
1972
2741
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
1973
2742
|
return /* @__PURE__ */ jsxs11(
|
|
1974
2743
|
"div",
|
|
@@ -1982,46 +2751,46 @@ var InputOTPSlot = React23.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
1982
2751
|
...props,
|
|
1983
2752
|
children: [
|
|
1984
2753
|
char,
|
|
1985
|
-
hasFakeCaret && /* @__PURE__ */
|
|
2754
|
+
hasFakeCaret && /* @__PURE__ */ jsx27("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx27("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
1986
2755
|
]
|
|
1987
2756
|
}
|
|
1988
2757
|
);
|
|
1989
2758
|
});
|
|
1990
2759
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
1991
|
-
var InputOTPSeparator =
|
|
2760
|
+
var InputOTPSeparator = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx27("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx27(Minus, {}) }));
|
|
1992
2761
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
1993
2762
|
|
|
1994
2763
|
// src/components/ui/menubar.tsx
|
|
1995
|
-
import * as
|
|
2764
|
+
import * as React29 from "react";
|
|
1996
2765
|
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
1997
2766
|
import { Check as Check4, ChevronRight as ChevronRight4, Circle as Circle3 } from "lucide-react";
|
|
1998
|
-
import { jsx as
|
|
2767
|
+
import { jsx as jsx28, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1999
2768
|
function MenubarMenu({
|
|
2000
2769
|
...props
|
|
2001
2770
|
}) {
|
|
2002
|
-
return /* @__PURE__ */
|
|
2771
|
+
return /* @__PURE__ */ jsx28(MenubarPrimitive.Menu, { ...props });
|
|
2003
2772
|
}
|
|
2004
2773
|
function MenubarGroup({
|
|
2005
2774
|
...props
|
|
2006
2775
|
}) {
|
|
2007
|
-
return /* @__PURE__ */
|
|
2776
|
+
return /* @__PURE__ */ jsx28(MenubarPrimitive.Group, { ...props });
|
|
2008
2777
|
}
|
|
2009
2778
|
function MenubarPortal({
|
|
2010
2779
|
...props
|
|
2011
2780
|
}) {
|
|
2012
|
-
return /* @__PURE__ */
|
|
2781
|
+
return /* @__PURE__ */ jsx28(MenubarPrimitive.Portal, { ...props });
|
|
2013
2782
|
}
|
|
2014
2783
|
function MenubarRadioGroup({
|
|
2015
2784
|
...props
|
|
2016
2785
|
}) {
|
|
2017
|
-
return /* @__PURE__ */
|
|
2786
|
+
return /* @__PURE__ */ jsx28(MenubarPrimitive.RadioGroup, { ...props });
|
|
2018
2787
|
}
|
|
2019
2788
|
function MenubarSub({
|
|
2020
2789
|
...props
|
|
2021
2790
|
}) {
|
|
2022
|
-
return /* @__PURE__ */
|
|
2791
|
+
return /* @__PURE__ */ jsx28(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
|
|
2023
2792
|
}
|
|
2024
|
-
var Menubar =
|
|
2793
|
+
var Menubar = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2025
2794
|
MenubarPrimitive.Root,
|
|
2026
2795
|
{
|
|
2027
2796
|
ref,
|
|
@@ -2033,7 +2802,7 @@ var Menubar = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2033
2802
|
}
|
|
2034
2803
|
));
|
|
2035
2804
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
2036
|
-
var MenubarTrigger =
|
|
2805
|
+
var MenubarTrigger = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2037
2806
|
MenubarPrimitive.Trigger,
|
|
2038
2807
|
{
|
|
2039
2808
|
ref,
|
|
@@ -2045,7 +2814,7 @@ var MenubarTrigger = React24.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
2045
2814
|
}
|
|
2046
2815
|
));
|
|
2047
2816
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
2048
|
-
var MenubarSubTrigger =
|
|
2817
|
+
var MenubarSubTrigger = React29.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
|
|
2049
2818
|
MenubarPrimitive.SubTrigger,
|
|
2050
2819
|
{
|
|
2051
2820
|
ref,
|
|
@@ -2057,12 +2826,12 @@ var MenubarSubTrigger = React24.forwardRef(({ className, inset, children, ...pro
|
|
|
2057
2826
|
...props,
|
|
2058
2827
|
children: [
|
|
2059
2828
|
children,
|
|
2060
|
-
/* @__PURE__ */
|
|
2829
|
+
/* @__PURE__ */ jsx28(ChevronRight4, { className: "ml-auto h-4 w-4" })
|
|
2061
2830
|
]
|
|
2062
2831
|
}
|
|
2063
2832
|
));
|
|
2064
2833
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
2065
|
-
var MenubarSubContent =
|
|
2834
|
+
var MenubarSubContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2066
2835
|
MenubarPrimitive.SubContent,
|
|
2067
2836
|
{
|
|
2068
2837
|
ref,
|
|
@@ -2074,8 +2843,8 @@ var MenubarSubContent = React24.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2074
2843
|
}
|
|
2075
2844
|
));
|
|
2076
2845
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
2077
|
-
var MenubarContent =
|
|
2078
|
-
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */
|
|
2846
|
+
var MenubarContent = React29.forwardRef(
|
|
2847
|
+
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ jsx28(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx28(
|
|
2079
2848
|
MenubarPrimitive.Content,
|
|
2080
2849
|
{
|
|
2081
2850
|
ref,
|
|
@@ -2091,7 +2860,7 @@ var MenubarContent = React24.forwardRef(
|
|
|
2091
2860
|
) })
|
|
2092
2861
|
);
|
|
2093
2862
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
2094
|
-
var MenubarItem =
|
|
2863
|
+
var MenubarItem = React29.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2095
2864
|
MenubarPrimitive.Item,
|
|
2096
2865
|
{
|
|
2097
2866
|
ref,
|
|
@@ -2104,7 +2873,7 @@ var MenubarItem = React24.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
|
2104
2873
|
}
|
|
2105
2874
|
));
|
|
2106
2875
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
2107
|
-
var MenubarCheckboxItem =
|
|
2876
|
+
var MenubarCheckboxItem = React29.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs12(
|
|
2108
2877
|
MenubarPrimitive.CheckboxItem,
|
|
2109
2878
|
{
|
|
2110
2879
|
ref,
|
|
@@ -2115,13 +2884,13 @@ var MenubarCheckboxItem = React24.forwardRef(({ className, children, checked, ..
|
|
|
2115
2884
|
checked,
|
|
2116
2885
|
...props,
|
|
2117
2886
|
children: [
|
|
2118
|
-
/* @__PURE__ */
|
|
2887
|
+
/* @__PURE__ */ jsx28("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx28(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx28(Check4, { className: "h-4 w-4" }) }) }),
|
|
2119
2888
|
children
|
|
2120
2889
|
]
|
|
2121
2890
|
}
|
|
2122
2891
|
));
|
|
2123
2892
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
2124
|
-
var MenubarRadioItem =
|
|
2893
|
+
var MenubarRadioItem = React29.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs12(
|
|
2125
2894
|
MenubarPrimitive.RadioItem,
|
|
2126
2895
|
{
|
|
2127
2896
|
ref,
|
|
@@ -2131,13 +2900,13 @@ var MenubarRadioItem = React24.forwardRef(({ className, children, ...props }, re
|
|
|
2131
2900
|
),
|
|
2132
2901
|
...props,
|
|
2133
2902
|
children: [
|
|
2134
|
-
/* @__PURE__ */
|
|
2903
|
+
/* @__PURE__ */ jsx28("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx28(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx28(Circle3, { className: "h-4 w-4 fill-current" }) }) }),
|
|
2135
2904
|
children
|
|
2136
2905
|
]
|
|
2137
2906
|
}
|
|
2138
2907
|
));
|
|
2139
2908
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
2140
|
-
var MenubarLabel =
|
|
2909
|
+
var MenubarLabel = React29.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2141
2910
|
MenubarPrimitive.Label,
|
|
2142
2911
|
{
|
|
2143
2912
|
ref,
|
|
@@ -2150,7 +2919,7 @@ var MenubarLabel = React24.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
2150
2919
|
}
|
|
2151
2920
|
));
|
|
2152
2921
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
2153
|
-
var MenubarSeparator =
|
|
2922
|
+
var MenubarSeparator = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx28(
|
|
2154
2923
|
MenubarPrimitive.Separator,
|
|
2155
2924
|
{
|
|
2156
2925
|
ref,
|
|
@@ -2163,7 +2932,7 @@ var MenubarShortcut = ({
|
|
|
2163
2932
|
className,
|
|
2164
2933
|
...props
|
|
2165
2934
|
}) => {
|
|
2166
|
-
return /* @__PURE__ */
|
|
2935
|
+
return /* @__PURE__ */ jsx28(
|
|
2167
2936
|
"span",
|
|
2168
2937
|
{
|
|
2169
2938
|
className: cn(
|
|
@@ -2177,12 +2946,12 @@ var MenubarShortcut = ({
|
|
|
2177
2946
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
2178
2947
|
|
|
2179
2948
|
// src/components/ui/navigation-menu.tsx
|
|
2180
|
-
import * as
|
|
2949
|
+
import * as React30 from "react";
|
|
2181
2950
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
2182
|
-
import { cva as
|
|
2951
|
+
import { cva as cva10 } from "class-variance-authority";
|
|
2183
2952
|
import { ChevronDown as ChevronDown2 } from "lucide-react";
|
|
2184
|
-
import { jsx as
|
|
2185
|
-
var NavigationMenu =
|
|
2953
|
+
import { jsx as jsx29, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2954
|
+
var NavigationMenu = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(
|
|
2186
2955
|
NavigationMenuPrimitive.Root,
|
|
2187
2956
|
{
|
|
2188
2957
|
ref,
|
|
@@ -2193,12 +2962,12 @@ var NavigationMenu = React25.forwardRef(({ className, children, ...props }, ref)
|
|
|
2193
2962
|
...props,
|
|
2194
2963
|
children: [
|
|
2195
2964
|
children,
|
|
2196
|
-
/* @__PURE__ */
|
|
2965
|
+
/* @__PURE__ */ jsx29(NavigationMenuViewport, {})
|
|
2197
2966
|
]
|
|
2198
2967
|
}
|
|
2199
2968
|
));
|
|
2200
2969
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
2201
|
-
var NavigationMenuList =
|
|
2970
|
+
var NavigationMenuList = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
|
|
2202
2971
|
NavigationMenuPrimitive.List,
|
|
2203
2972
|
{
|
|
2204
2973
|
ref,
|
|
@@ -2211,10 +2980,10 @@ var NavigationMenuList = React25.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2211
2980
|
));
|
|
2212
2981
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
2213
2982
|
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
2214
|
-
var navigationMenuTriggerStyle =
|
|
2983
|
+
var navigationMenuTriggerStyle = cva10(
|
|
2215
2984
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm 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-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
2216
2985
|
);
|
|
2217
|
-
var NavigationMenuTrigger =
|
|
2986
|
+
var NavigationMenuTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs13(
|
|
2218
2987
|
NavigationMenuPrimitive.Trigger,
|
|
2219
2988
|
{
|
|
2220
2989
|
ref,
|
|
@@ -2223,7 +2992,7 @@ var NavigationMenuTrigger = React25.forwardRef(({ className, children, ...props
|
|
|
2223
2992
|
children: [
|
|
2224
2993
|
children,
|
|
2225
2994
|
" ",
|
|
2226
|
-
/* @__PURE__ */
|
|
2995
|
+
/* @__PURE__ */ jsx29(
|
|
2227
2996
|
ChevronDown2,
|
|
2228
2997
|
{
|
|
2229
2998
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
@@ -2234,7 +3003,7 @@ var NavigationMenuTrigger = React25.forwardRef(({ className, children, ...props
|
|
|
2234
3003
|
}
|
|
2235
3004
|
));
|
|
2236
3005
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
2237
|
-
var NavigationMenuContent =
|
|
3006
|
+
var NavigationMenuContent = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
|
|
2238
3007
|
NavigationMenuPrimitive.Content,
|
|
2239
3008
|
{
|
|
2240
3009
|
ref,
|
|
@@ -2247,7 +3016,7 @@ var NavigationMenuContent = React25.forwardRef(({ className, ...props }, ref) =>
|
|
|
2247
3016
|
));
|
|
2248
3017
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
2249
3018
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
2250
|
-
var NavigationMenuViewport =
|
|
3019
|
+
var NavigationMenuViewport = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx29(
|
|
2251
3020
|
NavigationMenuPrimitive.Viewport,
|
|
2252
3021
|
{
|
|
2253
3022
|
className: cn(
|
|
@@ -2259,7 +3028,7 @@ var NavigationMenuViewport = React25.forwardRef(({ className, ...props }, ref) =
|
|
|
2259
3028
|
}
|
|
2260
3029
|
) }));
|
|
2261
3030
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
2262
|
-
var NavigationMenuIndicator =
|
|
3031
|
+
var NavigationMenuIndicator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx29(
|
|
2263
3032
|
NavigationMenuPrimitive.Indicator,
|
|
2264
3033
|
{
|
|
2265
3034
|
ref,
|
|
@@ -2268,16 +3037,16 @@ var NavigationMenuIndicator = React25.forwardRef(({ className, ...props }, ref)
|
|
|
2268
3037
|
className
|
|
2269
3038
|
),
|
|
2270
3039
|
...props,
|
|
2271
|
-
children: /* @__PURE__ */
|
|
3040
|
+
children: /* @__PURE__ */ jsx29("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
2272
3041
|
}
|
|
2273
3042
|
));
|
|
2274
3043
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
2275
3044
|
|
|
2276
3045
|
// src/components/ui/pagination.tsx
|
|
2277
|
-
import * as
|
|
3046
|
+
import * as React31 from "react";
|
|
2278
3047
|
import { ChevronLeft, ChevronRight as ChevronRight5, MoreHorizontal as MoreHorizontal2 } from "lucide-react";
|
|
2279
|
-
import { jsx as
|
|
2280
|
-
var Pagination = ({ className, ...props }) => /* @__PURE__ */
|
|
3048
|
+
import { jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
3049
|
+
var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx30(
|
|
2281
3050
|
"nav",
|
|
2282
3051
|
{
|
|
2283
3052
|
role: "navigation",
|
|
@@ -2287,7 +3056,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx25(
|
|
|
2287
3056
|
}
|
|
2288
3057
|
);
|
|
2289
3058
|
Pagination.displayName = "Pagination";
|
|
2290
|
-
var PaginationContent =
|
|
3059
|
+
var PaginationContent = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
|
|
2291
3060
|
"ul",
|
|
2292
3061
|
{
|
|
2293
3062
|
ref,
|
|
@@ -2296,14 +3065,14 @@ var PaginationContent = React26.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2296
3065
|
}
|
|
2297
3066
|
));
|
|
2298
3067
|
PaginationContent.displayName = "PaginationContent";
|
|
2299
|
-
var PaginationItem =
|
|
3068
|
+
var PaginationItem = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30("li", { ref, className: cn("", className), ...props }));
|
|
2300
3069
|
PaginationItem.displayName = "PaginationItem";
|
|
2301
3070
|
var PaginationLink = ({
|
|
2302
3071
|
className,
|
|
2303
3072
|
isActive,
|
|
2304
3073
|
size = "icon",
|
|
2305
3074
|
...props
|
|
2306
|
-
}) => /* @__PURE__ */
|
|
3075
|
+
}) => /* @__PURE__ */ jsx30(
|
|
2307
3076
|
"a",
|
|
2308
3077
|
{
|
|
2309
3078
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -2329,8 +3098,8 @@ var PaginationPrevious = ({
|
|
|
2329
3098
|
className: cn("gap-1 pl-2.5", className),
|
|
2330
3099
|
...props,
|
|
2331
3100
|
children: [
|
|
2332
|
-
/* @__PURE__ */
|
|
2333
|
-
/* @__PURE__ */
|
|
3101
|
+
/* @__PURE__ */ jsx30(ChevronLeft, { className: "h-4 w-4" }),
|
|
3102
|
+
/* @__PURE__ */ jsx30("span", { children: "Previous" })
|
|
2334
3103
|
]
|
|
2335
3104
|
}
|
|
2336
3105
|
);
|
|
@@ -2346,8 +3115,8 @@ var PaginationNext = ({
|
|
|
2346
3115
|
className: cn("gap-1 pr-2.5", className),
|
|
2347
3116
|
...props,
|
|
2348
3117
|
children: [
|
|
2349
|
-
/* @__PURE__ */
|
|
2350
|
-
/* @__PURE__ */
|
|
3118
|
+
/* @__PURE__ */ jsx30("span", { children: "Next" }),
|
|
3119
|
+
/* @__PURE__ */ jsx30(ChevronRight5, { className: "h-4 w-4" })
|
|
2351
3120
|
]
|
|
2352
3121
|
}
|
|
2353
3122
|
);
|
|
@@ -2362,21 +3131,21 @@ var PaginationEllipsis = ({
|
|
|
2362
3131
|
className: cn("flex h-9 w-9 items-center justify-center", className),
|
|
2363
3132
|
...props,
|
|
2364
3133
|
children: [
|
|
2365
|
-
/* @__PURE__ */
|
|
2366
|
-
/* @__PURE__ */
|
|
3134
|
+
/* @__PURE__ */ jsx30(MoreHorizontal2, { className: "h-4 w-4" }),
|
|
3135
|
+
/* @__PURE__ */ jsx30("span", { className: "sr-only", children: "More pages" })
|
|
2367
3136
|
]
|
|
2368
3137
|
}
|
|
2369
3138
|
);
|
|
2370
3139
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
2371
3140
|
|
|
2372
3141
|
// src/components/ui/popover.tsx
|
|
2373
|
-
import * as
|
|
3142
|
+
import * as React32 from "react";
|
|
2374
3143
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
2375
|
-
import { jsx as
|
|
3144
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2376
3145
|
var Popover = PopoverPrimitive.Root;
|
|
2377
3146
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
2378
3147
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
2379
|
-
var PopoverContent =
|
|
3148
|
+
var PopoverContent = React32.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx31(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx31(
|
|
2380
3149
|
PopoverPrimitive.Content,
|
|
2381
3150
|
{
|
|
2382
3151
|
ref,
|
|
@@ -2392,10 +3161,10 @@ var PopoverContent = React27.forwardRef(({ className, align = "center", sideOffs
|
|
|
2392
3161
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
2393
3162
|
|
|
2394
3163
|
// src/components/ui/progress.tsx
|
|
2395
|
-
import * as
|
|
3164
|
+
import * as React33 from "react";
|
|
2396
3165
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
2397
|
-
import { jsx as
|
|
2398
|
-
var Progress =
|
|
3166
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
3167
|
+
var Progress = React33.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx32(
|
|
2399
3168
|
ProgressPrimitive.Root,
|
|
2400
3169
|
{
|
|
2401
3170
|
ref,
|
|
@@ -2404,7 +3173,7 @@ var Progress = React28.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2404
3173
|
className
|
|
2405
3174
|
),
|
|
2406
3175
|
...props,
|
|
2407
|
-
children: /* @__PURE__ */
|
|
3176
|
+
children: /* @__PURE__ */ jsx32(
|
|
2408
3177
|
ProgressPrimitive.Indicator,
|
|
2409
3178
|
{
|
|
2410
3179
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -2416,12 +3185,12 @@ var Progress = React28.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
2416
3185
|
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
2417
3186
|
|
|
2418
3187
|
// src/components/ui/radio-group.tsx
|
|
2419
|
-
import * as
|
|
3188
|
+
import * as React34 from "react";
|
|
2420
3189
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
2421
3190
|
import { Circle as Circle4 } from "lucide-react";
|
|
2422
|
-
import { jsx as
|
|
2423
|
-
var RadioGroup4 =
|
|
2424
|
-
return /* @__PURE__ */
|
|
3191
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
3192
|
+
var RadioGroup4 = React34.forwardRef(({ className, ...props }, ref) => {
|
|
3193
|
+
return /* @__PURE__ */ jsx33(
|
|
2425
3194
|
RadioGroupPrimitive.Root,
|
|
2426
3195
|
{
|
|
2427
3196
|
className: cn("grid gap-2", className),
|
|
@@ -2431,8 +3200,8 @@ var RadioGroup4 = React29.forwardRef(({ className, ...props }, ref) => {
|
|
|
2431
3200
|
);
|
|
2432
3201
|
});
|
|
2433
3202
|
RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
|
|
2434
|
-
var RadioGroupItem =
|
|
2435
|
-
return /* @__PURE__ */
|
|
3203
|
+
var RadioGroupItem = React34.forwardRef(({ className, ...props }, ref) => {
|
|
3204
|
+
return /* @__PURE__ */ jsx33(
|
|
2436
3205
|
RadioGroupPrimitive.Item,
|
|
2437
3206
|
{
|
|
2438
3207
|
ref,
|
|
@@ -2441,7 +3210,7 @@ var RadioGroupItem = React29.forwardRef(({ className, ...props }, ref) => {
|
|
|
2441
3210
|
className
|
|
2442
3211
|
),
|
|
2443
3212
|
...props,
|
|
2444
|
-
children: /* @__PURE__ */
|
|
3213
|
+
children: /* @__PURE__ */ jsx33(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx33(Circle4, { className: "h-3.5 w-3.5 fill-primary" }) })
|
|
2445
3214
|
}
|
|
2446
3215
|
);
|
|
2447
3216
|
});
|
|
@@ -2454,11 +3223,11 @@ import {
|
|
|
2454
3223
|
Panel,
|
|
2455
3224
|
Separator as Separator4
|
|
2456
3225
|
} from "react-resizable-panels";
|
|
2457
|
-
import { jsx as
|
|
3226
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2458
3227
|
var ResizablePanelGroup = ({
|
|
2459
3228
|
className,
|
|
2460
3229
|
...props
|
|
2461
|
-
}) => /* @__PURE__ */
|
|
3230
|
+
}) => /* @__PURE__ */ jsx34(
|
|
2462
3231
|
Group4,
|
|
2463
3232
|
{
|
|
2464
3233
|
className: cn(
|
|
@@ -2473,7 +3242,7 @@ var ResizableHandle = ({
|
|
|
2473
3242
|
withHandle,
|
|
2474
3243
|
className,
|
|
2475
3244
|
...props
|
|
2476
|
-
}) => /* @__PURE__ */
|
|
3245
|
+
}) => /* @__PURE__ */ jsx34(
|
|
2477
3246
|
Separator4,
|
|
2478
3247
|
{
|
|
2479
3248
|
className: cn(
|
|
@@ -2481,29 +3250,29 @@ var ResizableHandle = ({
|
|
|
2481
3250
|
className
|
|
2482
3251
|
),
|
|
2483
3252
|
...props,
|
|
2484
|
-
children: withHandle && /* @__PURE__ */
|
|
3253
|
+
children: withHandle && /* @__PURE__ */ jsx34("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx34(GripVertical, { className: "h-2.5 w-2.5" }) })
|
|
2485
3254
|
}
|
|
2486
3255
|
);
|
|
2487
3256
|
|
|
2488
3257
|
// src/components/ui/scroll-area.tsx
|
|
2489
|
-
import * as
|
|
3258
|
+
import * as React35 from "react";
|
|
2490
3259
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
2491
|
-
import { jsx as
|
|
2492
|
-
var ScrollArea =
|
|
3260
|
+
import { jsx as jsx35, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3261
|
+
var ScrollArea = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs15(
|
|
2493
3262
|
ScrollAreaPrimitive.Root,
|
|
2494
3263
|
{
|
|
2495
3264
|
ref,
|
|
2496
3265
|
className: cn("relative overflow-hidden", className),
|
|
2497
3266
|
...props,
|
|
2498
3267
|
children: [
|
|
2499
|
-
/* @__PURE__ */
|
|
2500
|
-
/* @__PURE__ */
|
|
2501
|
-
/* @__PURE__ */
|
|
3268
|
+
/* @__PURE__ */ jsx35(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
3269
|
+
/* @__PURE__ */ jsx35(ScrollBar, {}),
|
|
3270
|
+
/* @__PURE__ */ jsx35(ScrollAreaPrimitive.Corner, {})
|
|
2502
3271
|
]
|
|
2503
3272
|
}
|
|
2504
3273
|
));
|
|
2505
3274
|
ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
|
|
2506
|
-
var ScrollBar =
|
|
3275
|
+
var ScrollBar = React35.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx35(
|
|
2507
3276
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
2508
3277
|
{
|
|
2509
3278
|
ref,
|
|
@@ -2515,20 +3284,20 @@ var ScrollBar = React30.forwardRef(({ className, orientation = "vertical", ...pr
|
|
|
2515
3284
|
className
|
|
2516
3285
|
),
|
|
2517
3286
|
...props,
|
|
2518
|
-
children: /* @__PURE__ */
|
|
3287
|
+
children: /* @__PURE__ */ jsx35(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
2519
3288
|
}
|
|
2520
3289
|
));
|
|
2521
3290
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
2522
3291
|
|
|
2523
3292
|
// src/components/ui/select.tsx
|
|
2524
|
-
import * as
|
|
3293
|
+
import * as React36 from "react";
|
|
2525
3294
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
2526
3295
|
import { Check as Check5, ChevronDown as ChevronDown3, ChevronUp } from "lucide-react";
|
|
2527
|
-
import { jsx as
|
|
3296
|
+
import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2528
3297
|
var Select = SelectPrimitive.Root;
|
|
2529
3298
|
var SelectGroup = SelectPrimitive.Group;
|
|
2530
3299
|
var SelectValue = SelectPrimitive.Value;
|
|
2531
|
-
var SelectTrigger =
|
|
3300
|
+
var SelectTrigger = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs16(
|
|
2532
3301
|
SelectPrimitive.Trigger,
|
|
2533
3302
|
{
|
|
2534
3303
|
ref,
|
|
@@ -2539,12 +3308,12 @@ var SelectTrigger = React31.forwardRef(({ className, children, ...props }, ref)
|
|
|
2539
3308
|
...props,
|
|
2540
3309
|
children: [
|
|
2541
3310
|
children,
|
|
2542
|
-
/* @__PURE__ */
|
|
3311
|
+
/* @__PURE__ */ jsx36(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx36(ChevronDown3, { className: "h-4 w-4 opacity-50" }) })
|
|
2543
3312
|
]
|
|
2544
3313
|
}
|
|
2545
3314
|
));
|
|
2546
3315
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
2547
|
-
var SelectScrollUpButton =
|
|
3316
|
+
var SelectScrollUpButton = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
|
|
2548
3317
|
SelectPrimitive.ScrollUpButton,
|
|
2549
3318
|
{
|
|
2550
3319
|
ref,
|
|
@@ -2553,11 +3322,11 @@ var SelectScrollUpButton = React31.forwardRef(({ className, ...props }, ref) =>
|
|
|
2553
3322
|
className
|
|
2554
3323
|
),
|
|
2555
3324
|
...props,
|
|
2556
|
-
children: /* @__PURE__ */
|
|
3325
|
+
children: /* @__PURE__ */ jsx36(ChevronUp, { className: "h-4 w-4" })
|
|
2557
3326
|
}
|
|
2558
3327
|
));
|
|
2559
3328
|
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
2560
|
-
var SelectScrollDownButton =
|
|
3329
|
+
var SelectScrollDownButton = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
|
|
2561
3330
|
SelectPrimitive.ScrollDownButton,
|
|
2562
3331
|
{
|
|
2563
3332
|
ref,
|
|
@@ -2566,11 +3335,11 @@ var SelectScrollDownButton = React31.forwardRef(({ className, ...props }, ref) =
|
|
|
2566
3335
|
className
|
|
2567
3336
|
),
|
|
2568
3337
|
...props,
|
|
2569
|
-
children: /* @__PURE__ */
|
|
3338
|
+
children: /* @__PURE__ */ jsx36(ChevronDown3, { className: "h-4 w-4" })
|
|
2570
3339
|
}
|
|
2571
3340
|
));
|
|
2572
3341
|
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
2573
|
-
var SelectContent =
|
|
3342
|
+
var SelectContent = React36.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx36(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
|
|
2574
3343
|
SelectPrimitive.Content,
|
|
2575
3344
|
{
|
|
2576
3345
|
ref,
|
|
@@ -2582,8 +3351,8 @@ var SelectContent = React31.forwardRef(({ className, children, position = "poppe
|
|
|
2582
3351
|
position,
|
|
2583
3352
|
...props,
|
|
2584
3353
|
children: [
|
|
2585
|
-
/* @__PURE__ */
|
|
2586
|
-
/* @__PURE__ */
|
|
3354
|
+
/* @__PURE__ */ jsx36(SelectScrollUpButton, {}),
|
|
3355
|
+
/* @__PURE__ */ jsx36(
|
|
2587
3356
|
SelectPrimitive.Viewport,
|
|
2588
3357
|
{
|
|
2589
3358
|
className: cn(
|
|
@@ -2593,12 +3362,12 @@ var SelectContent = React31.forwardRef(({ className, children, position = "poppe
|
|
|
2593
3362
|
children
|
|
2594
3363
|
}
|
|
2595
3364
|
),
|
|
2596
|
-
/* @__PURE__ */
|
|
3365
|
+
/* @__PURE__ */ jsx36(SelectScrollDownButton, {})
|
|
2597
3366
|
]
|
|
2598
3367
|
}
|
|
2599
3368
|
) }));
|
|
2600
3369
|
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
2601
|
-
var SelectLabel =
|
|
3370
|
+
var SelectLabel = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
|
|
2602
3371
|
SelectPrimitive.Label,
|
|
2603
3372
|
{
|
|
2604
3373
|
ref,
|
|
@@ -2607,7 +3376,7 @@ var SelectLabel = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2607
3376
|
}
|
|
2608
3377
|
));
|
|
2609
3378
|
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
2610
|
-
var SelectItem =
|
|
3379
|
+
var SelectItem = React36.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs16(
|
|
2611
3380
|
SelectPrimitive.Item,
|
|
2612
3381
|
{
|
|
2613
3382
|
ref,
|
|
@@ -2617,13 +3386,13 @@ var SelectItem = React31.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2617
3386
|
),
|
|
2618
3387
|
...props,
|
|
2619
3388
|
children: [
|
|
2620
|
-
/* @__PURE__ */
|
|
2621
|
-
/* @__PURE__ */
|
|
3389
|
+
/* @__PURE__ */ jsx36("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx36(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx36(Check5, { className: "h-4 w-4" }) }) }),
|
|
3390
|
+
/* @__PURE__ */ jsx36(SelectPrimitive.ItemText, { children })
|
|
2622
3391
|
]
|
|
2623
3392
|
}
|
|
2624
3393
|
));
|
|
2625
3394
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
2626
|
-
var SelectSeparator =
|
|
3395
|
+
var SelectSeparator = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx36(
|
|
2627
3396
|
SelectPrimitive.Separator,
|
|
2628
3397
|
{
|
|
2629
3398
|
ref,
|
|
@@ -2634,11 +3403,11 @@ var SelectSeparator = React31.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
2634
3403
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
2635
3404
|
|
|
2636
3405
|
// src/components/ui/separator.tsx
|
|
2637
|
-
import * as
|
|
3406
|
+
import * as React37 from "react";
|
|
2638
3407
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
2639
|
-
import { jsx as
|
|
2640
|
-
var Separator6 =
|
|
2641
|
-
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */
|
|
3408
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
3409
|
+
var Separator6 = React37.forwardRef(
|
|
3410
|
+
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx37(
|
|
2642
3411
|
SeparatorPrimitive.Root,
|
|
2643
3412
|
{
|
|
2644
3413
|
ref,
|
|
@@ -2656,16 +3425,16 @@ var Separator6 = React32.forwardRef(
|
|
|
2656
3425
|
Separator6.displayName = SeparatorPrimitive.Root.displayName;
|
|
2657
3426
|
|
|
2658
3427
|
// src/components/ui/sheet.tsx
|
|
2659
|
-
import * as
|
|
3428
|
+
import * as React38 from "react";
|
|
2660
3429
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2661
|
-
import { cva as
|
|
3430
|
+
import { cva as cva11 } from "class-variance-authority";
|
|
2662
3431
|
import { X as X2 } from "lucide-react";
|
|
2663
|
-
import { jsx as
|
|
3432
|
+
import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2664
3433
|
var Sheet = SheetPrimitive.Root;
|
|
2665
3434
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
2666
3435
|
var SheetClose = SheetPrimitive.Close;
|
|
2667
3436
|
var SheetPortal = SheetPrimitive.Portal;
|
|
2668
|
-
var SheetOverlay =
|
|
3437
|
+
var SheetOverlay = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
2669
3438
|
SheetPrimitive.Overlay,
|
|
2670
3439
|
{
|
|
2671
3440
|
className: cn(
|
|
@@ -2677,7 +3446,7 @@ var SheetOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2677
3446
|
}
|
|
2678
3447
|
));
|
|
2679
3448
|
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
2680
|
-
var sheetVariants =
|
|
3449
|
+
var sheetVariants = cva11(
|
|
2681
3450
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
2682
3451
|
{
|
|
2683
3452
|
variants: {
|
|
@@ -2693,8 +3462,8 @@ var sheetVariants = cva6(
|
|
|
2693
3462
|
}
|
|
2694
3463
|
}
|
|
2695
3464
|
);
|
|
2696
|
-
var SheetContent =
|
|
2697
|
-
/* @__PURE__ */
|
|
3465
|
+
var SheetContent = React38.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs17(SheetPortal, { children: [
|
|
3466
|
+
/* @__PURE__ */ jsx38(SheetOverlay, {}),
|
|
2698
3467
|
/* @__PURE__ */ jsxs17(
|
|
2699
3468
|
SheetPrimitive.Content,
|
|
2700
3469
|
{
|
|
@@ -2703,8 +3472,8 @@ var SheetContent = React33.forwardRef(({ side = "right", className, children, ..
|
|
|
2703
3472
|
...props,
|
|
2704
3473
|
children: [
|
|
2705
3474
|
/* @__PURE__ */ jsxs17(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
2706
|
-
/* @__PURE__ */
|
|
2707
|
-
/* @__PURE__ */
|
|
3475
|
+
/* @__PURE__ */ jsx38(X2, { className: "h-4 w-4" }),
|
|
3476
|
+
/* @__PURE__ */ jsx38("span", { className: "sr-only", children: "Close" })
|
|
2708
3477
|
] }),
|
|
2709
3478
|
children
|
|
2710
3479
|
]
|
|
@@ -2715,7 +3484,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
|
2715
3484
|
var SheetHeader = ({
|
|
2716
3485
|
className,
|
|
2717
3486
|
...props
|
|
2718
|
-
}) => /* @__PURE__ */
|
|
3487
|
+
}) => /* @__PURE__ */ jsx38(
|
|
2719
3488
|
"div",
|
|
2720
3489
|
{
|
|
2721
3490
|
className: cn(
|
|
@@ -2729,7 +3498,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
2729
3498
|
var SheetFooter = ({
|
|
2730
3499
|
className,
|
|
2731
3500
|
...props
|
|
2732
|
-
}) => /* @__PURE__ */
|
|
3501
|
+
}) => /* @__PURE__ */ jsx38(
|
|
2733
3502
|
"div",
|
|
2734
3503
|
{
|
|
2735
3504
|
className: cn(
|
|
@@ -2740,7 +3509,7 @@ var SheetFooter = ({
|
|
|
2740
3509
|
}
|
|
2741
3510
|
);
|
|
2742
3511
|
SheetFooter.displayName = "SheetFooter";
|
|
2743
|
-
var SheetTitle =
|
|
3512
|
+
var SheetTitle = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
2744
3513
|
SheetPrimitive.Title,
|
|
2745
3514
|
{
|
|
2746
3515
|
ref,
|
|
@@ -2749,7 +3518,7 @@ var SheetTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2749
3518
|
}
|
|
2750
3519
|
));
|
|
2751
3520
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2752
|
-
var SheetDescription =
|
|
3521
|
+
var SheetDescription = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
|
|
2753
3522
|
SheetPrimitive.Description,
|
|
2754
3523
|
{
|
|
2755
3524
|
ref,
|
|
@@ -2760,18 +3529,18 @@ var SheetDescription = React33.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2760
3529
|
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
2761
3530
|
|
|
2762
3531
|
// src/components/ui/sidebar.tsx
|
|
2763
|
-
import * as
|
|
3532
|
+
import * as React40 from "react";
|
|
2764
3533
|
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
2765
|
-
import { cva as
|
|
3534
|
+
import { cva as cva12 } from "class-variance-authority";
|
|
2766
3535
|
import { PanelLeft } from "lucide-react";
|
|
2767
3536
|
|
|
2768
3537
|
// src/components/ui/skeleton.tsx
|
|
2769
|
-
import { jsx as
|
|
3538
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2770
3539
|
function Skeleton({
|
|
2771
3540
|
className,
|
|
2772
3541
|
...props
|
|
2773
3542
|
}) {
|
|
2774
|
-
return /* @__PURE__ */
|
|
3543
|
+
return /* @__PURE__ */ jsx39(
|
|
2775
3544
|
"div",
|
|
2776
3545
|
{
|
|
2777
3546
|
className: cn("animate-pulse rounded-md bg-primary/10", className),
|
|
@@ -2781,13 +3550,13 @@ function Skeleton({
|
|
|
2781
3550
|
}
|
|
2782
3551
|
|
|
2783
3552
|
// src/components/ui/tooltip.tsx
|
|
2784
|
-
import * as
|
|
3553
|
+
import * as React39 from "react";
|
|
2785
3554
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
2786
|
-
import { jsx as
|
|
3555
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2787
3556
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
2788
3557
|
var Tooltip2 = TooltipPrimitive.Root;
|
|
2789
3558
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
2790
|
-
var TooltipContent =
|
|
3559
|
+
var TooltipContent = React39.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx40(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
|
|
2791
3560
|
TooltipPrimitive.Content,
|
|
2792
3561
|
{
|
|
2793
3562
|
ref,
|
|
@@ -2802,22 +3571,22 @@ var TooltipContent = React34.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
2802
3571
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
2803
3572
|
|
|
2804
3573
|
// src/components/ui/sidebar.tsx
|
|
2805
|
-
import { jsx as
|
|
3574
|
+
import { jsx as jsx41, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2806
3575
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
2807
3576
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
2808
3577
|
var SIDEBAR_WIDTH = "16rem";
|
|
2809
3578
|
var SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
2810
3579
|
var SIDEBAR_WIDTH_ICON = "3rem";
|
|
2811
3580
|
var SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
2812
|
-
var SidebarContext =
|
|
3581
|
+
var SidebarContext = React40.createContext(null);
|
|
2813
3582
|
function useSidebar() {
|
|
2814
|
-
const context =
|
|
3583
|
+
const context = React40.useContext(SidebarContext);
|
|
2815
3584
|
if (!context) {
|
|
2816
3585
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
2817
3586
|
}
|
|
2818
3587
|
return context;
|
|
2819
3588
|
}
|
|
2820
|
-
var SidebarProvider =
|
|
3589
|
+
var SidebarProvider = React40.forwardRef(
|
|
2821
3590
|
({
|
|
2822
3591
|
defaultOpen = true,
|
|
2823
3592
|
open: openProp,
|
|
@@ -2828,10 +3597,10 @@ var SidebarProvider = React35.forwardRef(
|
|
|
2828
3597
|
...props
|
|
2829
3598
|
}, ref) => {
|
|
2830
3599
|
const isMobile = useIsMobile();
|
|
2831
|
-
const [openMobile, setOpenMobile] =
|
|
2832
|
-
const [_open, _setOpen] =
|
|
3600
|
+
const [openMobile, setOpenMobile] = React40.useState(false);
|
|
3601
|
+
const [_open, _setOpen] = React40.useState(defaultOpen);
|
|
2833
3602
|
const open = openProp ?? _open;
|
|
2834
|
-
const setOpen =
|
|
3603
|
+
const setOpen = React40.useCallback(
|
|
2835
3604
|
(value) => {
|
|
2836
3605
|
const openState = typeof value === "function" ? value(open) : value;
|
|
2837
3606
|
if (setOpenProp) {
|
|
@@ -2843,10 +3612,10 @@ var SidebarProvider = React35.forwardRef(
|
|
|
2843
3612
|
},
|
|
2844
3613
|
[setOpenProp, open]
|
|
2845
3614
|
);
|
|
2846
|
-
const toggleSidebar =
|
|
3615
|
+
const toggleSidebar = React40.useCallback(() => {
|
|
2847
3616
|
return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
|
|
2848
3617
|
}, [isMobile, setOpen, setOpenMobile]);
|
|
2849
|
-
|
|
3618
|
+
React40.useEffect(() => {
|
|
2850
3619
|
const handleKeyDown = (event) => {
|
|
2851
3620
|
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
2852
3621
|
event.preventDefault();
|
|
@@ -2857,7 +3626,7 @@ var SidebarProvider = React35.forwardRef(
|
|
|
2857
3626
|
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
2858
3627
|
}, [toggleSidebar]);
|
|
2859
3628
|
const state = open ? "expanded" : "collapsed";
|
|
2860
|
-
const contextValue =
|
|
3629
|
+
const contextValue = React40.useMemo(
|
|
2861
3630
|
() => ({
|
|
2862
3631
|
state,
|
|
2863
3632
|
open,
|
|
@@ -2869,7 +3638,7 @@ var SidebarProvider = React35.forwardRef(
|
|
|
2869
3638
|
}),
|
|
2870
3639
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
2871
3640
|
);
|
|
2872
|
-
return /* @__PURE__ */
|
|
3641
|
+
return /* @__PURE__ */ jsx41(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx41(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx41(
|
|
2873
3642
|
"div",
|
|
2874
3643
|
{
|
|
2875
3644
|
style: {
|
|
@@ -2889,7 +3658,7 @@ var SidebarProvider = React35.forwardRef(
|
|
|
2889
3658
|
}
|
|
2890
3659
|
);
|
|
2891
3660
|
SidebarProvider.displayName = "SidebarProvider";
|
|
2892
|
-
var Sidebar =
|
|
3661
|
+
var Sidebar = React40.forwardRef(
|
|
2893
3662
|
({
|
|
2894
3663
|
side = "left",
|
|
2895
3664
|
variant = "sidebar",
|
|
@@ -2900,7 +3669,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2900
3669
|
}, ref) => {
|
|
2901
3670
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
2902
3671
|
if (collapsible === "none") {
|
|
2903
|
-
return /* @__PURE__ */
|
|
3672
|
+
return /* @__PURE__ */ jsx41(
|
|
2904
3673
|
"div",
|
|
2905
3674
|
{
|
|
2906
3675
|
className: cn(
|
|
@@ -2914,7 +3683,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2914
3683
|
);
|
|
2915
3684
|
}
|
|
2916
3685
|
if (isMobile) {
|
|
2917
|
-
return /* @__PURE__ */
|
|
3686
|
+
return /* @__PURE__ */ jsx41(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs18(
|
|
2918
3687
|
SheetContent,
|
|
2919
3688
|
{
|
|
2920
3689
|
"data-sidebar": "sidebar",
|
|
@@ -2926,10 +3695,10 @@ var Sidebar = React35.forwardRef(
|
|
|
2926
3695
|
side,
|
|
2927
3696
|
children: [
|
|
2928
3697
|
/* @__PURE__ */ jsxs18(SheetHeader, { className: "sr-only", children: [
|
|
2929
|
-
/* @__PURE__ */
|
|
2930
|
-
/* @__PURE__ */
|
|
3698
|
+
/* @__PURE__ */ jsx41(SheetTitle, { children: "Sidebar" }),
|
|
3699
|
+
/* @__PURE__ */ jsx41(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
2931
3700
|
] }),
|
|
2932
|
-
/* @__PURE__ */
|
|
3701
|
+
/* @__PURE__ */ jsx41("div", { className: "flex h-full w-full flex-col", children })
|
|
2933
3702
|
]
|
|
2934
3703
|
}
|
|
2935
3704
|
) });
|
|
@@ -2944,7 +3713,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2944
3713
|
"data-variant": variant,
|
|
2945
3714
|
"data-side": side,
|
|
2946
3715
|
children: [
|
|
2947
|
-
/* @__PURE__ */
|
|
3716
|
+
/* @__PURE__ */ jsx41(
|
|
2948
3717
|
"div",
|
|
2949
3718
|
{
|
|
2950
3719
|
className: cn(
|
|
@@ -2955,7 +3724,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2955
3724
|
)
|
|
2956
3725
|
}
|
|
2957
3726
|
),
|
|
2958
|
-
/* @__PURE__ */
|
|
3727
|
+
/* @__PURE__ */ jsx41(
|
|
2959
3728
|
"div",
|
|
2960
3729
|
{
|
|
2961
3730
|
className: cn(
|
|
@@ -2966,7 +3735,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2966
3735
|
className
|
|
2967
3736
|
),
|
|
2968
3737
|
...props,
|
|
2969
|
-
children: /* @__PURE__ */
|
|
3738
|
+
children: /* @__PURE__ */ jsx41(
|
|
2970
3739
|
"div",
|
|
2971
3740
|
{
|
|
2972
3741
|
"data-sidebar": "sidebar",
|
|
@@ -2982,7 +3751,7 @@ var Sidebar = React35.forwardRef(
|
|
|
2982
3751
|
}
|
|
2983
3752
|
);
|
|
2984
3753
|
Sidebar.displayName = "Sidebar";
|
|
2985
|
-
var SidebarTrigger =
|
|
3754
|
+
var SidebarTrigger = React40.forwardRef(({ className, onClick, ...props }, ref) => {
|
|
2986
3755
|
const { toggleSidebar } = useSidebar();
|
|
2987
3756
|
return /* @__PURE__ */ jsxs18(
|
|
2988
3757
|
Button,
|
|
@@ -2998,16 +3767,16 @@ var SidebarTrigger = React35.forwardRef(({ className, onClick, ...props }, ref)
|
|
|
2998
3767
|
},
|
|
2999
3768
|
...props,
|
|
3000
3769
|
children: [
|
|
3001
|
-
/* @__PURE__ */
|
|
3002
|
-
/* @__PURE__ */
|
|
3770
|
+
/* @__PURE__ */ jsx41(PanelLeft, {}),
|
|
3771
|
+
/* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
3003
3772
|
]
|
|
3004
3773
|
}
|
|
3005
3774
|
);
|
|
3006
3775
|
});
|
|
3007
3776
|
SidebarTrigger.displayName = "SidebarTrigger";
|
|
3008
|
-
var SidebarRail =
|
|
3777
|
+
var SidebarRail = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3009
3778
|
const { toggleSidebar } = useSidebar();
|
|
3010
|
-
return /* @__PURE__ */
|
|
3779
|
+
return /* @__PURE__ */ jsx41(
|
|
3011
3780
|
"button",
|
|
3012
3781
|
{
|
|
3013
3782
|
ref,
|
|
@@ -3030,8 +3799,8 @@ var SidebarRail = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3030
3799
|
);
|
|
3031
3800
|
});
|
|
3032
3801
|
SidebarRail.displayName = "SidebarRail";
|
|
3033
|
-
var SidebarInset =
|
|
3034
|
-
return /* @__PURE__ */
|
|
3802
|
+
var SidebarInset = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3803
|
+
return /* @__PURE__ */ jsx41(
|
|
3035
3804
|
"main",
|
|
3036
3805
|
{
|
|
3037
3806
|
ref,
|
|
@@ -3045,8 +3814,8 @@ var SidebarInset = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3045
3814
|
);
|
|
3046
3815
|
});
|
|
3047
3816
|
SidebarInset.displayName = "SidebarInset";
|
|
3048
|
-
var SidebarInput =
|
|
3049
|
-
return /* @__PURE__ */
|
|
3817
|
+
var SidebarInput = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3818
|
+
return /* @__PURE__ */ jsx41(
|
|
3050
3819
|
Input,
|
|
3051
3820
|
{
|
|
3052
3821
|
ref,
|
|
@@ -3060,8 +3829,8 @@ var SidebarInput = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3060
3829
|
);
|
|
3061
3830
|
});
|
|
3062
3831
|
SidebarInput.displayName = "SidebarInput";
|
|
3063
|
-
var SidebarHeader =
|
|
3064
|
-
return /* @__PURE__ */
|
|
3832
|
+
var SidebarHeader = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3833
|
+
return /* @__PURE__ */ jsx41(
|
|
3065
3834
|
"div",
|
|
3066
3835
|
{
|
|
3067
3836
|
ref,
|
|
@@ -3072,8 +3841,8 @@ var SidebarHeader = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3072
3841
|
);
|
|
3073
3842
|
});
|
|
3074
3843
|
SidebarHeader.displayName = "SidebarHeader";
|
|
3075
|
-
var SidebarFooter =
|
|
3076
|
-
return /* @__PURE__ */
|
|
3844
|
+
var SidebarFooter = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3845
|
+
return /* @__PURE__ */ jsx41(
|
|
3077
3846
|
"div",
|
|
3078
3847
|
{
|
|
3079
3848
|
ref,
|
|
@@ -3084,8 +3853,8 @@ var SidebarFooter = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3084
3853
|
);
|
|
3085
3854
|
});
|
|
3086
3855
|
SidebarFooter.displayName = "SidebarFooter";
|
|
3087
|
-
var SidebarSeparator =
|
|
3088
|
-
return /* @__PURE__ */
|
|
3856
|
+
var SidebarSeparator = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3857
|
+
return /* @__PURE__ */ jsx41(
|
|
3089
3858
|
Separator6,
|
|
3090
3859
|
{
|
|
3091
3860
|
ref,
|
|
@@ -3096,8 +3865,8 @@ var SidebarSeparator = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3096
3865
|
);
|
|
3097
3866
|
});
|
|
3098
3867
|
SidebarSeparator.displayName = "SidebarSeparator";
|
|
3099
|
-
var SidebarContent =
|
|
3100
|
-
return /* @__PURE__ */
|
|
3868
|
+
var SidebarContent = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3869
|
+
return /* @__PURE__ */ jsx41(
|
|
3101
3870
|
"div",
|
|
3102
3871
|
{
|
|
3103
3872
|
ref,
|
|
@@ -3111,8 +3880,8 @@ var SidebarContent = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3111
3880
|
);
|
|
3112
3881
|
});
|
|
3113
3882
|
SidebarContent.displayName = "SidebarContent";
|
|
3114
|
-
var SidebarGroup =
|
|
3115
|
-
return /* @__PURE__ */
|
|
3883
|
+
var SidebarGroup = React40.forwardRef(({ className, ...props }, ref) => {
|
|
3884
|
+
return /* @__PURE__ */ jsx41(
|
|
3116
3885
|
"div",
|
|
3117
3886
|
{
|
|
3118
3887
|
ref,
|
|
@@ -3123,9 +3892,9 @@ var SidebarGroup = React35.forwardRef(({ className, ...props }, ref) => {
|
|
|
3123
3892
|
);
|
|
3124
3893
|
});
|
|
3125
3894
|
SidebarGroup.displayName = "SidebarGroup";
|
|
3126
|
-
var SidebarGroupLabel =
|
|
3895
|
+
var SidebarGroupLabel = React40.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
3127
3896
|
const Comp = asChild ? Slot4 : "div";
|
|
3128
|
-
return /* @__PURE__ */
|
|
3897
|
+
return /* @__PURE__ */ jsx41(
|
|
3129
3898
|
Comp,
|
|
3130
3899
|
{
|
|
3131
3900
|
ref,
|
|
@@ -3140,9 +3909,9 @@ var SidebarGroupLabel = React35.forwardRef(({ className, asChild = false, ...pro
|
|
|
3140
3909
|
);
|
|
3141
3910
|
});
|
|
3142
3911
|
SidebarGroupLabel.displayName = "SidebarGroupLabel";
|
|
3143
|
-
var SidebarGroupAction =
|
|
3912
|
+
var SidebarGroupAction = React40.forwardRef(({ className, asChild = false, ...props }, ref) => {
|
|
3144
3913
|
const Comp = asChild ? Slot4 : "button";
|
|
3145
|
-
return /* @__PURE__ */
|
|
3914
|
+
return /* @__PURE__ */ jsx41(
|
|
3146
3915
|
Comp,
|
|
3147
3916
|
{
|
|
3148
3917
|
ref,
|
|
@@ -3159,7 +3928,7 @@ var SidebarGroupAction = React35.forwardRef(({ className, asChild = false, ...pr
|
|
|
3159
3928
|
);
|
|
3160
3929
|
});
|
|
3161
3930
|
SidebarGroupAction.displayName = "SidebarGroupAction";
|
|
3162
|
-
var SidebarGroupContent =
|
|
3931
|
+
var SidebarGroupContent = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
|
|
3163
3932
|
"div",
|
|
3164
3933
|
{
|
|
3165
3934
|
ref,
|
|
@@ -3169,7 +3938,7 @@ var SidebarGroupContent = React35.forwardRef(({ className, ...props }, ref) => /
|
|
|
3169
3938
|
}
|
|
3170
3939
|
));
|
|
3171
3940
|
SidebarGroupContent.displayName = "SidebarGroupContent";
|
|
3172
|
-
var SidebarMenu =
|
|
3941
|
+
var SidebarMenu = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
|
|
3173
3942
|
"ul",
|
|
3174
3943
|
{
|
|
3175
3944
|
ref,
|
|
@@ -3179,7 +3948,7 @@ var SidebarMenu = React35.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3179
3948
|
}
|
|
3180
3949
|
));
|
|
3181
3950
|
SidebarMenu.displayName = "SidebarMenu";
|
|
3182
|
-
var SidebarMenuItem =
|
|
3951
|
+
var SidebarMenuItem = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
|
|
3183
3952
|
"li",
|
|
3184
3953
|
{
|
|
3185
3954
|
ref,
|
|
@@ -3189,7 +3958,7 @@ var SidebarMenuItem = React35.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
3189
3958
|
}
|
|
3190
3959
|
));
|
|
3191
3960
|
SidebarMenuItem.displayName = "SidebarMenuItem";
|
|
3192
|
-
var sidebarMenuButtonVariants =
|
|
3961
|
+
var sidebarMenuButtonVariants = cva12(
|
|
3193
3962
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3194
3963
|
{
|
|
3195
3964
|
variants: {
|
|
@@ -3209,7 +3978,7 @@ var sidebarMenuButtonVariants = cva7(
|
|
|
3209
3978
|
}
|
|
3210
3979
|
}
|
|
3211
3980
|
);
|
|
3212
|
-
var SidebarMenuButton =
|
|
3981
|
+
var SidebarMenuButton = React40.forwardRef(
|
|
3213
3982
|
({
|
|
3214
3983
|
asChild = false,
|
|
3215
3984
|
isActive = false,
|
|
@@ -3221,7 +3990,7 @@ var SidebarMenuButton = React35.forwardRef(
|
|
|
3221
3990
|
}, ref) => {
|
|
3222
3991
|
const Comp = asChild ? Slot4 : "button";
|
|
3223
3992
|
const { isMobile, state } = useSidebar();
|
|
3224
|
-
const button = /* @__PURE__ */
|
|
3993
|
+
const button = /* @__PURE__ */ jsx41(
|
|
3225
3994
|
Comp,
|
|
3226
3995
|
{
|
|
3227
3996
|
ref,
|
|
@@ -3241,8 +4010,8 @@ var SidebarMenuButton = React35.forwardRef(
|
|
|
3241
4010
|
};
|
|
3242
4011
|
}
|
|
3243
4012
|
return /* @__PURE__ */ jsxs18(Tooltip2, { children: [
|
|
3244
|
-
/* @__PURE__ */
|
|
3245
|
-
/* @__PURE__ */
|
|
4013
|
+
/* @__PURE__ */ jsx41(TooltipTrigger, { asChild: true, children: button }),
|
|
4014
|
+
/* @__PURE__ */ jsx41(
|
|
3246
4015
|
TooltipContent,
|
|
3247
4016
|
{
|
|
3248
4017
|
side: "right",
|
|
@@ -3255,9 +4024,9 @@ var SidebarMenuButton = React35.forwardRef(
|
|
|
3255
4024
|
}
|
|
3256
4025
|
);
|
|
3257
4026
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
3258
|
-
var SidebarMenuAction =
|
|
4027
|
+
var SidebarMenuAction = React40.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
|
|
3259
4028
|
const Comp = asChild ? Slot4 : "button";
|
|
3260
|
-
return /* @__PURE__ */
|
|
4029
|
+
return /* @__PURE__ */ jsx41(
|
|
3261
4030
|
Comp,
|
|
3262
4031
|
{
|
|
3263
4032
|
ref,
|
|
@@ -3278,7 +4047,7 @@ var SidebarMenuAction = React35.forwardRef(({ className, asChild = false, showOn
|
|
|
3278
4047
|
);
|
|
3279
4048
|
});
|
|
3280
4049
|
SidebarMenuAction.displayName = "SidebarMenuAction";
|
|
3281
|
-
var SidebarMenuBadge =
|
|
4050
|
+
var SidebarMenuBadge = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
|
|
3282
4051
|
"div",
|
|
3283
4052
|
{
|
|
3284
4053
|
ref,
|
|
@@ -3296,8 +4065,8 @@ var SidebarMenuBadge = React35.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3296
4065
|
}
|
|
3297
4066
|
));
|
|
3298
4067
|
SidebarMenuBadge.displayName = "SidebarMenuBadge";
|
|
3299
|
-
var SidebarMenuSkeleton =
|
|
3300
|
-
const width =
|
|
4068
|
+
var SidebarMenuSkeleton = React40.forwardRef(({ className, showIcon = false, ...props }, ref) => {
|
|
4069
|
+
const width = React40.useMemo(() => {
|
|
3301
4070
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3302
4071
|
}, []);
|
|
3303
4072
|
return /* @__PURE__ */ jsxs18(
|
|
@@ -3308,14 +4077,14 @@ var SidebarMenuSkeleton = React35.forwardRef(({ className, showIcon = false, ...
|
|
|
3308
4077
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
|
|
3309
4078
|
...props,
|
|
3310
4079
|
children: [
|
|
3311
|
-
showIcon && /* @__PURE__ */
|
|
4080
|
+
showIcon && /* @__PURE__ */ jsx41(
|
|
3312
4081
|
Skeleton,
|
|
3313
4082
|
{
|
|
3314
4083
|
className: "size-4 rounded-md",
|
|
3315
4084
|
"data-sidebar": "menu-skeleton-icon"
|
|
3316
4085
|
}
|
|
3317
4086
|
),
|
|
3318
|
-
/* @__PURE__ */
|
|
4087
|
+
/* @__PURE__ */ jsx41(
|
|
3319
4088
|
Skeleton,
|
|
3320
4089
|
{
|
|
3321
4090
|
className: "h-4 max-w-[--skeleton-width] flex-1",
|
|
@@ -3330,7 +4099,7 @@ var SidebarMenuSkeleton = React35.forwardRef(({ className, showIcon = false, ...
|
|
|
3330
4099
|
);
|
|
3331
4100
|
});
|
|
3332
4101
|
SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
|
|
3333
|
-
var SidebarMenuSub =
|
|
4102
|
+
var SidebarMenuSub = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
|
|
3334
4103
|
"ul",
|
|
3335
4104
|
{
|
|
3336
4105
|
ref,
|
|
@@ -3344,11 +4113,11 @@ var SidebarMenuSub = React35.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
3344
4113
|
}
|
|
3345
4114
|
));
|
|
3346
4115
|
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
3347
|
-
var SidebarMenuSubItem =
|
|
4116
|
+
var SidebarMenuSubItem = React40.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx41("li", { ref, ...props }));
|
|
3348
4117
|
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
3349
|
-
var SidebarMenuSubButton =
|
|
4118
|
+
var SidebarMenuSubButton = React40.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
|
|
3350
4119
|
const Comp = asChild ? Slot4 : "a";
|
|
3351
|
-
return /* @__PURE__ */
|
|
4120
|
+
return /* @__PURE__ */ jsx41(
|
|
3352
4121
|
Comp,
|
|
3353
4122
|
{
|
|
3354
4123
|
ref,
|
|
@@ -3370,10 +4139,10 @@ var SidebarMenuSubButton = React35.forwardRef(({ asChild = false, size = "md", i
|
|
|
3370
4139
|
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
3371
4140
|
|
|
3372
4141
|
// src/components/ui/slider.tsx
|
|
3373
|
-
import * as
|
|
4142
|
+
import * as React41 from "react";
|
|
3374
4143
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
3375
|
-
import { jsx as
|
|
3376
|
-
var Slider =
|
|
4144
|
+
import { jsx as jsx42, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4145
|
+
var Slider = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs19(
|
|
3377
4146
|
SliderPrimitive.Root,
|
|
3378
4147
|
{
|
|
3379
4148
|
ref,
|
|
@@ -3383,8 +4152,8 @@ var Slider = React36.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
3383
4152
|
),
|
|
3384
4153
|
...props,
|
|
3385
4154
|
children: [
|
|
3386
|
-
/* @__PURE__ */
|
|
3387
|
-
/* @__PURE__ */
|
|
4155
|
+
/* @__PURE__ */ jsx42(SliderPrimitive.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ jsx42(SliderPrimitive.Range, { className: "absolute h-full bg-primary" }) }),
|
|
4156
|
+
/* @__PURE__ */ jsx42(SliderPrimitive.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
|
|
3388
4157
|
]
|
|
3389
4158
|
}
|
|
3390
4159
|
));
|
|
@@ -3393,10 +4162,10 @@ Slider.displayName = SliderPrimitive.Root.displayName;
|
|
|
3393
4162
|
// src/components/ui/sonner.tsx
|
|
3394
4163
|
import { useTheme } from "next-themes";
|
|
3395
4164
|
import { Toaster as Sonner } from "sonner";
|
|
3396
|
-
import { jsx as
|
|
4165
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
3397
4166
|
var Toaster = ({ ...props }) => {
|
|
3398
4167
|
const { theme = "system" } = useTheme();
|
|
3399
|
-
return /* @__PURE__ */
|
|
4168
|
+
return /* @__PURE__ */ jsx43(
|
|
3400
4169
|
Sonner,
|
|
3401
4170
|
{
|
|
3402
4171
|
theme,
|
|
@@ -3415,10 +4184,10 @@ var Toaster = ({ ...props }) => {
|
|
|
3415
4184
|
};
|
|
3416
4185
|
|
|
3417
4186
|
// src/components/ui/switch.tsx
|
|
3418
|
-
import * as
|
|
4187
|
+
import * as React42 from "react";
|
|
3419
4188
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3420
|
-
import { jsx as
|
|
3421
|
-
var Switch =
|
|
4189
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
4190
|
+
var Switch = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx44(
|
|
3422
4191
|
SwitchPrimitives.Root,
|
|
3423
4192
|
{
|
|
3424
4193
|
className: cn(
|
|
@@ -3427,7 +4196,7 @@ var Switch = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
3427
4196
|
),
|
|
3428
4197
|
...props,
|
|
3429
4198
|
ref,
|
|
3430
|
-
children: /* @__PURE__ */
|
|
4199
|
+
children: /* @__PURE__ */ jsx44(
|
|
3431
4200
|
SwitchPrimitives.Thumb,
|
|
3432
4201
|
{
|
|
3433
4202
|
className: cn(
|
|
@@ -3440,9 +4209,9 @@ var Switch = React37.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
3440
4209
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
3441
4210
|
|
|
3442
4211
|
// src/components/ui/table.tsx
|
|
3443
|
-
import * as
|
|
3444
|
-
import { jsx as
|
|
3445
|
-
var Table =
|
|
4212
|
+
import * as React43 from "react";
|
|
4213
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
4214
|
+
var Table = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx45(
|
|
3446
4215
|
"table",
|
|
3447
4216
|
{
|
|
3448
4217
|
ref,
|
|
@@ -3451,9 +4220,9 @@ var Table = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
3451
4220
|
}
|
|
3452
4221
|
) }));
|
|
3453
4222
|
Table.displayName = "Table";
|
|
3454
|
-
var TableHeader =
|
|
4223
|
+
var TableHeader = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
3455
4224
|
TableHeader.displayName = "TableHeader";
|
|
3456
|
-
var TableBody =
|
|
4225
|
+
var TableBody = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3457
4226
|
"tbody",
|
|
3458
4227
|
{
|
|
3459
4228
|
ref,
|
|
@@ -3462,7 +4231,7 @@ var TableBody = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3462
4231
|
}
|
|
3463
4232
|
));
|
|
3464
4233
|
TableBody.displayName = "TableBody";
|
|
3465
|
-
var TableFooter =
|
|
4234
|
+
var TableFooter = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3466
4235
|
"tfoot",
|
|
3467
4236
|
{
|
|
3468
4237
|
ref,
|
|
@@ -3474,7 +4243,7 @@ var TableFooter = React38.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3474
4243
|
}
|
|
3475
4244
|
));
|
|
3476
4245
|
TableFooter.displayName = "TableFooter";
|
|
3477
|
-
var TableRow =
|
|
4246
|
+
var TableRow = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3478
4247
|
"tr",
|
|
3479
4248
|
{
|
|
3480
4249
|
ref,
|
|
@@ -3486,7 +4255,7 @@ var TableRow = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3486
4255
|
}
|
|
3487
4256
|
));
|
|
3488
4257
|
TableRow.displayName = "TableRow";
|
|
3489
|
-
var TableHead =
|
|
4258
|
+
var TableHead = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3490
4259
|
"th",
|
|
3491
4260
|
{
|
|
3492
4261
|
ref,
|
|
@@ -3498,7 +4267,7 @@ var TableHead = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3498
4267
|
}
|
|
3499
4268
|
));
|
|
3500
4269
|
TableHead.displayName = "TableHead";
|
|
3501
|
-
var TableCell =
|
|
4270
|
+
var TableCell = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3502
4271
|
"td",
|
|
3503
4272
|
{
|
|
3504
4273
|
ref,
|
|
@@ -3510,7 +4279,7 @@ var TableCell = React38.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
3510
4279
|
}
|
|
3511
4280
|
));
|
|
3512
4281
|
TableCell.displayName = "TableCell";
|
|
3513
|
-
var TableCaption =
|
|
4282
|
+
var TableCaption = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
|
|
3514
4283
|
"caption",
|
|
3515
4284
|
{
|
|
3516
4285
|
ref,
|
|
@@ -3521,11 +4290,11 @@ var TableCaption = React38.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
3521
4290
|
TableCaption.displayName = "TableCaption";
|
|
3522
4291
|
|
|
3523
4292
|
// src/components/ui/tabs.tsx
|
|
3524
|
-
import * as
|
|
4293
|
+
import * as React44 from "react";
|
|
3525
4294
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3526
|
-
import { jsx as
|
|
4295
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
3527
4296
|
var Tabs = TabsPrimitive.Root;
|
|
3528
|
-
var TabsList =
|
|
4297
|
+
var TabsList = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
|
|
3529
4298
|
TabsPrimitive.List,
|
|
3530
4299
|
{
|
|
3531
4300
|
ref,
|
|
@@ -3537,7 +4306,7 @@ var TabsList = React39.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
3537
4306
|
}
|
|
3538
4307
|
));
|
|
3539
4308
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
3540
|
-
var TabsTrigger =
|
|
4309
|
+
var TabsTrigger = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
|
|
3541
4310
|
TabsPrimitive.Trigger,
|
|
3542
4311
|
{
|
|
3543
4312
|
ref,
|
|
@@ -3549,7 +4318,7 @@ var TabsTrigger = React39.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3549
4318
|
}
|
|
3550
4319
|
));
|
|
3551
4320
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
3552
|
-
var TabsContent =
|
|
4321
|
+
var TabsContent = React44.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
|
|
3553
4322
|
TabsPrimitive.Content,
|
|
3554
4323
|
{
|
|
3555
4324
|
ref,
|
|
@@ -3563,10 +4332,10 @@ var TabsContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3563
4332
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
3564
4333
|
|
|
3565
4334
|
// src/components/ui/textarea.tsx
|
|
3566
|
-
import * as
|
|
3567
|
-
import { jsx as
|
|
3568
|
-
var Textarea =
|
|
3569
|
-
return /* @__PURE__ */
|
|
4335
|
+
import * as React45 from "react";
|
|
4336
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
4337
|
+
var Textarea = React45.forwardRef(({ className, ...props }, ref) => {
|
|
4338
|
+
return /* @__PURE__ */ jsx47(
|
|
3570
4339
|
"textarea",
|
|
3571
4340
|
{
|
|
3572
4341
|
className: cn(
|
|
@@ -3581,13 +4350,13 @@ var Textarea = React40.forwardRef(({ className, ...props }, ref) => {
|
|
|
3581
4350
|
Textarea.displayName = "Textarea";
|
|
3582
4351
|
|
|
3583
4352
|
// src/components/ui/toast.tsx
|
|
3584
|
-
import * as
|
|
4353
|
+
import * as React46 from "react";
|
|
3585
4354
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
3586
|
-
import { cva as
|
|
4355
|
+
import { cva as cva13 } from "class-variance-authority";
|
|
3587
4356
|
import { X as X3 } from "lucide-react";
|
|
3588
|
-
import { jsx as
|
|
4357
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
3589
4358
|
var ToastProvider = ToastPrimitives.Provider;
|
|
3590
|
-
var ToastViewport =
|
|
4359
|
+
var ToastViewport = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
|
|
3591
4360
|
ToastPrimitives.Viewport,
|
|
3592
4361
|
{
|
|
3593
4362
|
ref,
|
|
@@ -3599,7 +4368,7 @@ var ToastViewport = React41.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
3599
4368
|
}
|
|
3600
4369
|
));
|
|
3601
4370
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
3602
|
-
var toastVariants =
|
|
4371
|
+
var toastVariants = cva13(
|
|
3603
4372
|
"group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all 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",
|
|
3604
4373
|
{
|
|
3605
4374
|
variants: {
|
|
@@ -3613,8 +4382,8 @@ var toastVariants = cva8(
|
|
|
3613
4382
|
}
|
|
3614
4383
|
}
|
|
3615
4384
|
);
|
|
3616
|
-
var Toast =
|
|
3617
|
-
return /* @__PURE__ */
|
|
4385
|
+
var Toast = React46.forwardRef(({ className, variant, ...props }, ref) => {
|
|
4386
|
+
return /* @__PURE__ */ jsx48(
|
|
3618
4387
|
ToastPrimitives.Root,
|
|
3619
4388
|
{
|
|
3620
4389
|
ref,
|
|
@@ -3624,7 +4393,7 @@ var Toast = React41.forwardRef(({ className, variant, ...props }, ref) => {
|
|
|
3624
4393
|
);
|
|
3625
4394
|
});
|
|
3626
4395
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
3627
|
-
var ToastAction =
|
|
4396
|
+
var ToastAction = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
|
|
3628
4397
|
ToastPrimitives.Action,
|
|
3629
4398
|
{
|
|
3630
4399
|
ref,
|
|
@@ -3636,7 +4405,7 @@ var ToastAction = React41.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3636
4405
|
}
|
|
3637
4406
|
));
|
|
3638
4407
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
3639
|
-
var ToastClose =
|
|
4408
|
+
var ToastClose = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
|
|
3640
4409
|
ToastPrimitives.Close,
|
|
3641
4410
|
{
|
|
3642
4411
|
ref,
|
|
@@ -3646,11 +4415,11 @@ var ToastClose = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3646
4415
|
),
|
|
3647
4416
|
"toast-close": "",
|
|
3648
4417
|
...props,
|
|
3649
|
-
children: /* @__PURE__ */
|
|
4418
|
+
children: /* @__PURE__ */ jsx48(X3, { className: "h-4 w-4" })
|
|
3650
4419
|
}
|
|
3651
4420
|
));
|
|
3652
4421
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
3653
|
-
var ToastTitle =
|
|
4422
|
+
var ToastTitle = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
|
|
3654
4423
|
ToastPrimitives.Title,
|
|
3655
4424
|
{
|
|
3656
4425
|
ref,
|
|
@@ -3659,7 +4428,7 @@ var ToastTitle = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3659
4428
|
}
|
|
3660
4429
|
));
|
|
3661
4430
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
3662
|
-
var ToastDescription =
|
|
4431
|
+
var ToastDescription = React46.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
|
|
3663
4432
|
ToastPrimitives.Description,
|
|
3664
4433
|
{
|
|
3665
4434
|
ref,
|
|
@@ -3670,30 +4439,30 @@ var ToastDescription = React41.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3670
4439
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
3671
4440
|
|
|
3672
4441
|
// src/components/ui/toaster.tsx
|
|
3673
|
-
import { jsx as
|
|
4442
|
+
import { jsx as jsx49, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3674
4443
|
function Toaster2() {
|
|
3675
4444
|
const { toasts } = useToast();
|
|
3676
4445
|
return /* @__PURE__ */ jsxs20(ToastProvider, { children: [
|
|
3677
4446
|
toasts.map(function({ id, title, description, action, ...props }) {
|
|
3678
4447
|
return /* @__PURE__ */ jsxs20(Toast, { ...props, children: [
|
|
3679
4448
|
/* @__PURE__ */ jsxs20("div", { className: "grid gap-1", children: [
|
|
3680
|
-
title && /* @__PURE__ */
|
|
3681
|
-
description && /* @__PURE__ */
|
|
4449
|
+
title && /* @__PURE__ */ jsx49(ToastTitle, { children: title }),
|
|
4450
|
+
description && /* @__PURE__ */ jsx49(ToastDescription, { children: description })
|
|
3682
4451
|
] }),
|
|
3683
4452
|
action,
|
|
3684
|
-
/* @__PURE__ */
|
|
4453
|
+
/* @__PURE__ */ jsx49(ToastClose, {})
|
|
3685
4454
|
] }, id);
|
|
3686
4455
|
}),
|
|
3687
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsx49(ToastViewport, {})
|
|
3688
4457
|
] });
|
|
3689
4458
|
}
|
|
3690
4459
|
|
|
3691
4460
|
// src/components/ui/toggle.tsx
|
|
3692
|
-
import * as
|
|
4461
|
+
import * as React47 from "react";
|
|
3693
4462
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
3694
|
-
import { cva as
|
|
3695
|
-
import { jsx as
|
|
3696
|
-
var toggleVariants =
|
|
4463
|
+
import { cva as cva14 } from "class-variance-authority";
|
|
4464
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
4465
|
+
var toggleVariants = cva14(
|
|
3697
4466
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
3698
4467
|
{
|
|
3699
4468
|
variants: {
|
|
@@ -3713,7 +4482,7 @@ var toggleVariants = cva9(
|
|
|
3713
4482
|
}
|
|
3714
4483
|
}
|
|
3715
4484
|
);
|
|
3716
|
-
var Toggle =
|
|
4485
|
+
var Toggle = React47.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx50(
|
|
3717
4486
|
TogglePrimitive.Root,
|
|
3718
4487
|
{
|
|
3719
4488
|
ref,
|
|
@@ -3724,26 +4493,26 @@ var Toggle = React42.forwardRef(({ className, variant, size, ...props }, ref) =>
|
|
|
3724
4493
|
Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
3725
4494
|
|
|
3726
4495
|
// src/components/ui/toggle-group.tsx
|
|
3727
|
-
import * as
|
|
4496
|
+
import * as React48 from "react";
|
|
3728
4497
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
3729
|
-
import { jsx as
|
|
3730
|
-
var ToggleGroupContext =
|
|
4498
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
4499
|
+
var ToggleGroupContext = React48.createContext({
|
|
3731
4500
|
size: "default",
|
|
3732
4501
|
variant: "default"
|
|
3733
4502
|
});
|
|
3734
|
-
var ToggleGroup =
|
|
4503
|
+
var ToggleGroup = React48.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx51(
|
|
3735
4504
|
ToggleGroupPrimitive.Root,
|
|
3736
4505
|
{
|
|
3737
4506
|
ref,
|
|
3738
4507
|
className: cn("flex items-center justify-center gap-1", className),
|
|
3739
4508
|
...props,
|
|
3740
|
-
children: /* @__PURE__ */
|
|
4509
|
+
children: /* @__PURE__ */ jsx51(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
3741
4510
|
}
|
|
3742
4511
|
));
|
|
3743
4512
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
3744
|
-
var ToggleGroupItem =
|
|
3745
|
-
const context =
|
|
3746
|
-
return /* @__PURE__ */
|
|
4513
|
+
var ToggleGroupItem = React48.forwardRef(({ className, children, variant, size, ...props }, ref) => {
|
|
4514
|
+
const context = React48.useContext(ToggleGroupContext);
|
|
4515
|
+
return /* @__PURE__ */ jsx51(
|
|
3747
4516
|
ToggleGroupPrimitive.Item,
|
|
3748
4517
|
{
|
|
3749
4518
|
ref,
|
|
@@ -3784,6 +4553,7 @@ export {
|
|
|
3784
4553
|
AvatarFallback,
|
|
3785
4554
|
AvatarImage,
|
|
3786
4555
|
Badge,
|
|
4556
|
+
Box,
|
|
3787
4557
|
Breadcrumb,
|
|
3788
4558
|
BreadcrumbEllipsis,
|
|
3789
4559
|
BreadcrumbItem,
|
|
@@ -3881,6 +4651,9 @@ export {
|
|
|
3881
4651
|
FormItem,
|
|
3882
4652
|
FormLabel,
|
|
3883
4653
|
FormMessage,
|
|
4654
|
+
Grid,
|
|
4655
|
+
GridColumn,
|
|
4656
|
+
Heading,
|
|
3884
4657
|
HoverCard,
|
|
3885
4658
|
HoverCardContent,
|
|
3886
4659
|
HoverCardTrigger,
|
|
@@ -3980,6 +4753,7 @@ export {
|
|
|
3980
4753
|
Skeleton,
|
|
3981
4754
|
Slider,
|
|
3982
4755
|
Toaster as Sonner,
|
|
4756
|
+
Stack,
|
|
3983
4757
|
Switch,
|
|
3984
4758
|
Table,
|
|
3985
4759
|
TableBody,
|
|
@@ -3993,6 +4767,7 @@ export {
|
|
|
3993
4767
|
TabsContent,
|
|
3994
4768
|
TabsList,
|
|
3995
4769
|
TabsTrigger,
|
|
4770
|
+
Text,
|
|
3996
4771
|
Textarea,
|
|
3997
4772
|
Toast,
|
|
3998
4773
|
ToastAction,
|
|
@@ -4010,9 +4785,15 @@ export {
|
|
|
4010
4785
|
TooltipProvider,
|
|
4011
4786
|
TooltipTrigger,
|
|
4012
4787
|
badgeVariants,
|
|
4788
|
+
boxVariants,
|
|
4013
4789
|
buttonVariants,
|
|
4014
4790
|
cn,
|
|
4791
|
+
gridColumnVariants,
|
|
4792
|
+
gridVariants,
|
|
4793
|
+
headingVariants,
|
|
4015
4794
|
navigationMenuTriggerStyle,
|
|
4795
|
+
stackVariants,
|
|
4796
|
+
textVariants,
|
|
4016
4797
|
toast,
|
|
4017
4798
|
toggleVariants,
|
|
4018
4799
|
useFormField,
|