@timbal-ai/timbal-react 1.0.0 → 1.1.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/CHANGELOG.md +28 -0
- package/README.md +45 -4
- package/dist/app.cjs +1996 -1183
- package/dist/app.d.cts +8 -4
- package/dist/app.d.ts +8 -4
- package/dist/app.esm.js +23 -6
- package/dist/{chart-artifact-CBo9x8Ch.d.ts → chart-artifact-BZp7nmaf.d.ts} +253 -12
- package/dist/{chart-artifact-DOkwSTjQ.d.cts → chart-artifact-CX-rh9nq.d.cts} +253 -12
- package/dist/{chat-Bed4FQSl.d.cts → chat-DCms8pJ_.d.cts} +31 -4
- package/dist/{chat-Bed4FQSl.d.ts → chat-DCms8pJ_.d.ts} +31 -4
- package/dist/chat.cjs +1088 -775
- package/dist/chat.d.cts +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.esm.js +3 -3
- package/dist/{chunk-FOD67Z6G.esm.js → chunk-4AKJ6FKE.esm.js} +235 -4
- package/dist/{chunk-YEFBANNF.esm.js → chunk-6HWMJNZT.esm.js} +242 -288
- package/dist/{chunk-C6IXFM4T.esm.js → chunk-FRZOEYBO.esm.js} +4 -4
- package/dist/chunk-JEAUF54A.esm.js +52 -0
- package/dist/{chunk-AYHOVAMI.esm.js → chunk-P3KDAYX6.esm.js} +1 -1
- package/dist/{chunk-GLPOVYEA.esm.js → chunk-TK2AGIME.esm.js} +662 -274
- package/dist/{chunk-RZ6QC6RG.esm.js → chunk-XCM3V6RK.esm.js} +2 -2
- package/dist/{chunk-SNLXVG7H.esm.js → chunk-YXZ22OJN.esm.js} +849 -665
- package/dist/index.cjs +2558 -1789
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +29 -11
- package/dist/pill-segmented-tabs-Ba5q0feL.d.cts +500 -0
- package/dist/pill-segmented-tabs-Ba5q0feL.d.ts +500 -0
- package/dist/studio.cjs +1310 -997
- package/dist/studio.d.cts +2 -2
- package/dist/studio.d.ts +2 -2
- package/dist/studio.esm.js +5 -5
- package/dist/styles.css +26 -0
- package/dist/ui.cjs +275 -37
- package/dist/ui.d.cts +71 -491
- package/dist/ui.d.ts +71 -491
- package/dist/ui.esm.js +22 -6
- package/dist/{welcome-COOb05a5.d.cts → welcome-CRqOPKMp.d.cts} +1 -1
- package/dist/{welcome-DE08m9ca.d.ts → welcome-DlHUa3OL.d.ts} +1 -1
- package/package.json +7 -3
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
overlayItemClass,
|
|
17
17
|
overlayListPanelClass,
|
|
18
18
|
overlaySurfaceClass
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4AKJ6FKE.esm.js";
|
|
20
20
|
|
|
21
21
|
// src/ui/dropdown-menu.tsx
|
|
22
22
|
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
|
|
@@ -489,45 +489,14 @@ function Label({
|
|
|
489
489
|
);
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
// src/ui/checkbox.tsx
|
|
493
|
-
import { Checkbox as CheckboxPrimitive } from "radix-ui";
|
|
494
|
-
import { CheckIcon as CheckIcon3 } from "lucide-react";
|
|
495
|
-
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
496
|
-
function Checkbox({
|
|
497
|
-
className,
|
|
498
|
-
...props
|
|
499
|
-
}) {
|
|
500
|
-
return /* @__PURE__ */ jsx7(
|
|
501
|
-
CheckboxPrimitive.Root,
|
|
502
|
-
{
|
|
503
|
-
"data-slot": "checkbox",
|
|
504
|
-
className: cn(
|
|
505
|
-
"peer size-4 shrink-0 rounded-[4px] border border-border bg-gradient-to-b from-elevated-from to-elevated-to shadow-card outline-none transition-[box-shadow,background-color,border-color]",
|
|
506
|
-
"focus-visible:ring-2 focus-visible:ring-foreground/10 disabled:cursor-not-allowed disabled:opacity-50",
|
|
507
|
-
"data-[state=checked]:border-foreground/15 data-[state=checked]:from-primary-fill-from data-[state=checked]:to-primary-fill-to data-[state=checked]:text-primary-foreground",
|
|
508
|
-
className
|
|
509
|
-
),
|
|
510
|
-
...props,
|
|
511
|
-
children: /* @__PURE__ */ jsx7(
|
|
512
|
-
CheckboxPrimitive.Indicator,
|
|
513
|
-
{
|
|
514
|
-
"data-slot": "checkbox-indicator",
|
|
515
|
-
className: "flex items-center justify-center text-current transition-none",
|
|
516
|
-
children: /* @__PURE__ */ jsx7(CheckIcon3, { className: "size-3.5" })
|
|
517
|
-
}
|
|
518
|
-
)
|
|
519
|
-
}
|
|
520
|
-
);
|
|
521
|
-
}
|
|
522
|
-
|
|
523
492
|
// src/ui/switch.tsx
|
|
524
493
|
import { Switch as SwitchPrimitive } from "radix-ui";
|
|
525
|
-
import { jsx as
|
|
494
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
526
495
|
function Switch({
|
|
527
496
|
className,
|
|
528
497
|
...props
|
|
529
498
|
}) {
|
|
530
|
-
return /* @__PURE__ */
|
|
499
|
+
return /* @__PURE__ */ jsx7(
|
|
531
500
|
SwitchPrimitive.Root,
|
|
532
501
|
{
|
|
533
502
|
"data-slot": "switch",
|
|
@@ -539,7 +508,7 @@ function Switch({
|
|
|
539
508
|
className
|
|
540
509
|
),
|
|
541
510
|
...props,
|
|
542
|
-
children: /* @__PURE__ */
|
|
511
|
+
children: /* @__PURE__ */ jsx7(
|
|
543
512
|
SwitchPrimitive.Thumb,
|
|
544
513
|
{
|
|
545
514
|
"data-slot": "switch-thumb",
|
|
@@ -556,12 +525,12 @@ function Switch({
|
|
|
556
525
|
// src/ui/radio-group.tsx
|
|
557
526
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
558
527
|
import { CircleIcon as CircleIcon2 } from "lucide-react";
|
|
559
|
-
import { jsx as
|
|
528
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
560
529
|
function RadioGroup({
|
|
561
530
|
className,
|
|
562
531
|
...props
|
|
563
532
|
}) {
|
|
564
|
-
return /* @__PURE__ */
|
|
533
|
+
return /* @__PURE__ */ jsx8(
|
|
565
534
|
RadioGroupPrimitive.Root,
|
|
566
535
|
{
|
|
567
536
|
"data-slot": "radio-group",
|
|
@@ -574,7 +543,7 @@ function RadioGroupItem({
|
|
|
574
543
|
className,
|
|
575
544
|
...props
|
|
576
545
|
}) {
|
|
577
|
-
return /* @__PURE__ */
|
|
546
|
+
return /* @__PURE__ */ jsx8(
|
|
578
547
|
RadioGroupPrimitive.Item,
|
|
579
548
|
{
|
|
580
549
|
"data-slot": "radio-group-item",
|
|
@@ -585,12 +554,12 @@ function RadioGroupItem({
|
|
|
585
554
|
className
|
|
586
555
|
),
|
|
587
556
|
...props,
|
|
588
|
-
children: /* @__PURE__ */
|
|
557
|
+
children: /* @__PURE__ */ jsx8(
|
|
589
558
|
RadioGroupPrimitive.Indicator,
|
|
590
559
|
{
|
|
591
560
|
"data-slot": "radio-group-indicator",
|
|
592
561
|
className: "flex items-center justify-center",
|
|
593
|
-
children: /* @__PURE__ */
|
|
562
|
+
children: /* @__PURE__ */ jsx8(CircleIcon2, { className: "size-2 fill-foreground text-foreground" })
|
|
594
563
|
}
|
|
595
564
|
)
|
|
596
565
|
}
|
|
@@ -599,17 +568,17 @@ function RadioGroupItem({
|
|
|
599
568
|
|
|
600
569
|
// src/ui/form.tsx
|
|
601
570
|
import { Form as FormPrimitive } from "radix-ui";
|
|
602
|
-
import { jsx as
|
|
571
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
603
572
|
function Form({ ...props }) {
|
|
604
|
-
return /* @__PURE__ */
|
|
573
|
+
return /* @__PURE__ */ jsx9(FormPrimitive.Root, { "data-slot": "form", ...props });
|
|
605
574
|
}
|
|
606
575
|
function FormField({
|
|
607
576
|
...props
|
|
608
577
|
}) {
|
|
609
|
-
return /* @__PURE__ */
|
|
578
|
+
return /* @__PURE__ */ jsx9(FormPrimitive.Field, { "data-slot": "form-field", ...props });
|
|
610
579
|
}
|
|
611
580
|
function FormItem({ className, ...props }) {
|
|
612
|
-
return /* @__PURE__ */
|
|
581
|
+
return /* @__PURE__ */ jsx9(
|
|
613
582
|
"div",
|
|
614
583
|
{
|
|
615
584
|
"data-slot": "form-item",
|
|
@@ -622,18 +591,18 @@ function FormLabel({
|
|
|
622
591
|
className,
|
|
623
592
|
...props
|
|
624
593
|
}) {
|
|
625
|
-
return /* @__PURE__ */
|
|
594
|
+
return /* @__PURE__ */ jsx9(FormPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx9(Label, { "data-slot": "form-label", className, ...props }) });
|
|
626
595
|
}
|
|
627
596
|
function FormControl({
|
|
628
597
|
...props
|
|
629
598
|
}) {
|
|
630
|
-
return /* @__PURE__ */
|
|
599
|
+
return /* @__PURE__ */ jsx9(FormPrimitive.Control, { "data-slot": "form-control", ...props });
|
|
631
600
|
}
|
|
632
601
|
function FormMessage({
|
|
633
602
|
className,
|
|
634
603
|
...props
|
|
635
604
|
}) {
|
|
636
|
-
return /* @__PURE__ */
|
|
605
|
+
return /* @__PURE__ */ jsx9(
|
|
637
606
|
FormPrimitive.Message,
|
|
638
607
|
{
|
|
639
608
|
"data-slot": "form-message",
|
|
@@ -646,7 +615,7 @@ function FormSubmit({
|
|
|
646
615
|
className,
|
|
647
616
|
...props
|
|
648
617
|
}) {
|
|
649
|
-
return /* @__PURE__ */
|
|
618
|
+
return /* @__PURE__ */ jsx9(
|
|
650
619
|
FormPrimitive.Submit,
|
|
651
620
|
{
|
|
652
621
|
"data-slot": "form-submit",
|
|
@@ -658,22 +627,22 @@ function FormSubmit({
|
|
|
658
627
|
|
|
659
628
|
// src/ui/aspect-ratio.tsx
|
|
660
629
|
import { AspectRatio as AspectRatioPrimitive } from "radix-ui";
|
|
661
|
-
import { jsx as
|
|
630
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
662
631
|
function AspectRatio({
|
|
663
632
|
...props
|
|
664
633
|
}) {
|
|
665
|
-
return /* @__PURE__ */
|
|
634
|
+
return /* @__PURE__ */ jsx10(AspectRatioPrimitive.Root, { "data-slot": "aspect-ratio", ...props });
|
|
666
635
|
}
|
|
667
636
|
|
|
668
637
|
// src/ui/breadcrumb.tsx
|
|
669
638
|
import { ChevronRightIcon as ChevronRightIcon2, MoreHorizontalIcon } from "lucide-react";
|
|
670
639
|
import { Slot } from "radix-ui";
|
|
671
|
-
import { jsx as
|
|
640
|
+
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
672
641
|
function Breadcrumb({ ...props }) {
|
|
673
|
-
return /* @__PURE__ */
|
|
642
|
+
return /* @__PURE__ */ jsx11("nav", { "data-slot": "breadcrumb", "aria-label": "Breadcrumb", ...props });
|
|
674
643
|
}
|
|
675
644
|
function BreadcrumbList({ className, ...props }) {
|
|
676
|
-
return /* @__PURE__ */
|
|
645
|
+
return /* @__PURE__ */ jsx11(
|
|
677
646
|
"ol",
|
|
678
647
|
{
|
|
679
648
|
"data-slot": "breadcrumb-list",
|
|
@@ -686,7 +655,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
686
655
|
);
|
|
687
656
|
}
|
|
688
657
|
function BreadcrumbItem({ className, ...props }) {
|
|
689
|
-
return /* @__PURE__ */
|
|
658
|
+
return /* @__PURE__ */ jsx11(
|
|
690
659
|
"li",
|
|
691
660
|
{
|
|
692
661
|
"data-slot": "breadcrumb-item",
|
|
@@ -701,7 +670,7 @@ function BreadcrumbLink({
|
|
|
701
670
|
...props
|
|
702
671
|
}) {
|
|
703
672
|
const Comp = asChild ? Slot.Root : "a";
|
|
704
|
-
return /* @__PURE__ */
|
|
673
|
+
return /* @__PURE__ */ jsx11(
|
|
705
674
|
Comp,
|
|
706
675
|
{
|
|
707
676
|
"data-slot": "breadcrumb-link",
|
|
@@ -711,7 +680,7 @@ function BreadcrumbLink({
|
|
|
711
680
|
);
|
|
712
681
|
}
|
|
713
682
|
function BreadcrumbPage({ className, ...props }) {
|
|
714
|
-
return /* @__PURE__ */
|
|
683
|
+
return /* @__PURE__ */ jsx11(
|
|
715
684
|
"span",
|
|
716
685
|
{
|
|
717
686
|
"data-slot": "breadcrumb-page",
|
|
@@ -728,7 +697,7 @@ function BreadcrumbSeparator({
|
|
|
728
697
|
className,
|
|
729
698
|
...props
|
|
730
699
|
}) {
|
|
731
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ jsx11(
|
|
732
701
|
"li",
|
|
733
702
|
{
|
|
734
703
|
"data-slot": "breadcrumb-separator",
|
|
@@ -736,7 +705,7 @@ function BreadcrumbSeparator({
|
|
|
736
705
|
"aria-hidden": "true",
|
|
737
706
|
className: cn("[&>svg]:size-3.5", className),
|
|
738
707
|
...props,
|
|
739
|
-
children: children ?? /* @__PURE__ */
|
|
708
|
+
children: children ?? /* @__PURE__ */ jsx11(ChevronRightIcon2, {})
|
|
740
709
|
}
|
|
741
710
|
);
|
|
742
711
|
}
|
|
@@ -753,8 +722,8 @@ function BreadcrumbEllipsis({
|
|
|
753
722
|
className: cn("flex size-9 items-center justify-center", className),
|
|
754
723
|
...props,
|
|
755
724
|
children: [
|
|
756
|
-
/* @__PURE__ */
|
|
757
|
-
/* @__PURE__ */
|
|
725
|
+
/* @__PURE__ */ jsx11(MoreHorizontalIcon, { className: "size-4" }),
|
|
726
|
+
/* @__PURE__ */ jsx11("span", { className: "sr-only", children: "More" })
|
|
758
727
|
]
|
|
759
728
|
}
|
|
760
729
|
);
|
|
@@ -762,9 +731,9 @@ function BreadcrumbEllipsis({
|
|
|
762
731
|
|
|
763
732
|
// src/ui/pagination.tsx
|
|
764
733
|
import { ChevronLeftIcon, ChevronRightIcon as ChevronRightIcon3, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
765
|
-
import { jsx as
|
|
734
|
+
import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
766
735
|
function Pagination({ className, ...props }) {
|
|
767
|
-
return /* @__PURE__ */
|
|
736
|
+
return /* @__PURE__ */ jsx12(
|
|
768
737
|
"nav",
|
|
769
738
|
{
|
|
770
739
|
"data-slot": "pagination",
|
|
@@ -776,7 +745,7 @@ function Pagination({ className, ...props }) {
|
|
|
776
745
|
);
|
|
777
746
|
}
|
|
778
747
|
function PaginationContent({ className, ...props }) {
|
|
779
|
-
return /* @__PURE__ */
|
|
748
|
+
return /* @__PURE__ */ jsx12(
|
|
780
749
|
"ul",
|
|
781
750
|
{
|
|
782
751
|
"data-slot": "pagination-content",
|
|
@@ -786,7 +755,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
786
755
|
);
|
|
787
756
|
}
|
|
788
757
|
function PaginationItem({ ...props }) {
|
|
789
|
-
return /* @__PURE__ */
|
|
758
|
+
return /* @__PURE__ */ jsx12("li", { "data-slot": "pagination-item", ...props });
|
|
790
759
|
}
|
|
791
760
|
function PaginationLink({
|
|
792
761
|
className,
|
|
@@ -794,7 +763,7 @@ function PaginationLink({
|
|
|
794
763
|
size = "icon",
|
|
795
764
|
...props
|
|
796
765
|
}) {
|
|
797
|
-
return /* @__PURE__ */
|
|
766
|
+
return /* @__PURE__ */ jsx12(Button, { asChild: true, variant: isActive ? "outline" : "ghost", size, className, children: /* @__PURE__ */ jsx12(
|
|
798
767
|
"a",
|
|
799
768
|
{
|
|
800
769
|
"data-slot": "pagination-link",
|
|
@@ -815,8 +784,8 @@ function PaginationPrevious({
|
|
|
815
784
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
816
785
|
...props,
|
|
817
786
|
children: [
|
|
818
|
-
/* @__PURE__ */
|
|
819
|
-
/* @__PURE__ */
|
|
787
|
+
/* @__PURE__ */ jsx12(ChevronLeftIcon, { className: "size-4" }),
|
|
788
|
+
/* @__PURE__ */ jsx12("span", { className: "hidden sm:block", children: "Previous" })
|
|
820
789
|
]
|
|
821
790
|
}
|
|
822
791
|
);
|
|
@@ -833,8 +802,8 @@ function PaginationNext({
|
|
|
833
802
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
834
803
|
...props,
|
|
835
804
|
children: [
|
|
836
|
-
/* @__PURE__ */
|
|
837
|
-
/* @__PURE__ */
|
|
805
|
+
/* @__PURE__ */ jsx12("span", { className: "hidden sm:block", children: "Next" }),
|
|
806
|
+
/* @__PURE__ */ jsx12(ChevronRightIcon3, { className: "size-4" })
|
|
838
807
|
]
|
|
839
808
|
}
|
|
840
809
|
);
|
|
@@ -851,8 +820,8 @@ function PaginationEllipsis({
|
|
|
851
820
|
className: cn("flex size-9 items-center justify-center", className),
|
|
852
821
|
...props,
|
|
853
822
|
children: [
|
|
854
|
-
/* @__PURE__ */
|
|
855
|
-
/* @__PURE__ */
|
|
823
|
+
/* @__PURE__ */ jsx12(MoreHorizontalIcon2, { className: "size-4" }),
|
|
824
|
+
/* @__PURE__ */ jsx12("span", { className: "sr-only", children: "More pages" })
|
|
856
825
|
]
|
|
857
826
|
}
|
|
858
827
|
);
|
|
@@ -860,12 +829,12 @@ function PaginationEllipsis({
|
|
|
860
829
|
|
|
861
830
|
// src/ui/toolbar.tsx
|
|
862
831
|
import { Toolbar as ToolbarPrimitive } from "radix-ui";
|
|
863
|
-
import { jsx as
|
|
832
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
864
833
|
function Toolbar({
|
|
865
834
|
className,
|
|
866
835
|
...props
|
|
867
836
|
}) {
|
|
868
|
-
return /* @__PURE__ */
|
|
837
|
+
return /* @__PURE__ */ jsx13(
|
|
869
838
|
ToolbarPrimitive.Root,
|
|
870
839
|
{
|
|
871
840
|
"data-slot": "toolbar",
|
|
@@ -881,7 +850,7 @@ function ToolbarButton({
|
|
|
881
850
|
className,
|
|
882
851
|
...props
|
|
883
852
|
}) {
|
|
884
|
-
return /* @__PURE__ */
|
|
853
|
+
return /* @__PURE__ */ jsx13(
|
|
885
854
|
ToolbarPrimitive.Button,
|
|
886
855
|
{
|
|
887
856
|
"data-slot": "toolbar-button",
|
|
@@ -898,7 +867,7 @@ function ToolbarSeparator({
|
|
|
898
867
|
className,
|
|
899
868
|
...props
|
|
900
869
|
}) {
|
|
901
|
-
return /* @__PURE__ */
|
|
870
|
+
return /* @__PURE__ */ jsx13(
|
|
902
871
|
ToolbarPrimitive.Separator,
|
|
903
872
|
{
|
|
904
873
|
"data-slot": "toolbar-separator",
|
|
@@ -911,7 +880,7 @@ function ToolbarToggleGroup({
|
|
|
911
880
|
className,
|
|
912
881
|
...props
|
|
913
882
|
}) {
|
|
914
|
-
return /* @__PURE__ */
|
|
883
|
+
return /* @__PURE__ */ jsx13(
|
|
915
884
|
ToolbarPrimitive.ToggleGroup,
|
|
916
885
|
{
|
|
917
886
|
"data-slot": "toolbar-toggle-group",
|
|
@@ -924,7 +893,7 @@ function ToolbarToggleItem({
|
|
|
924
893
|
className,
|
|
925
894
|
...props
|
|
926
895
|
}) {
|
|
927
|
-
return /* @__PURE__ */
|
|
896
|
+
return /* @__PURE__ */ jsx13(
|
|
928
897
|
ToolbarPrimitive.ToggleItem,
|
|
929
898
|
{
|
|
930
899
|
"data-slot": "toolbar-toggle-item",
|
|
@@ -942,7 +911,7 @@ function ToolbarLink({
|
|
|
942
911
|
className,
|
|
943
912
|
...props
|
|
944
913
|
}) {
|
|
945
|
-
return /* @__PURE__ */
|
|
914
|
+
return /* @__PURE__ */ jsx13(
|
|
946
915
|
ToolbarPrimitive.Link,
|
|
947
916
|
{
|
|
948
917
|
"data-slot": "toolbar-link",
|
|
@@ -957,13 +926,13 @@ function ToolbarLink({
|
|
|
957
926
|
|
|
958
927
|
// src/ui/menubar.tsx
|
|
959
928
|
import { Menubar as MenubarPrimitive } from "radix-ui";
|
|
960
|
-
import { CheckIcon as
|
|
961
|
-
import { jsx as
|
|
929
|
+
import { CheckIcon as CheckIcon3, ChevronRightIcon as ChevronRightIcon4, CircleIcon as CircleIcon3 } from "lucide-react";
|
|
930
|
+
import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
962
931
|
function Menubar({
|
|
963
932
|
className,
|
|
964
933
|
...props
|
|
965
934
|
}) {
|
|
966
|
-
return /* @__PURE__ */
|
|
935
|
+
return /* @__PURE__ */ jsx14(
|
|
967
936
|
MenubarPrimitive.Root,
|
|
968
937
|
{
|
|
969
938
|
"data-slot": "menubar",
|
|
@@ -978,13 +947,13 @@ function Menubar({
|
|
|
978
947
|
function MenubarMenu({
|
|
979
948
|
...props
|
|
980
949
|
}) {
|
|
981
|
-
return /* @__PURE__ */
|
|
950
|
+
return /* @__PURE__ */ jsx14(MenubarPrimitive.Menu, { "data-slot": "menubar-menu", ...props });
|
|
982
951
|
}
|
|
983
952
|
function MenubarTrigger({
|
|
984
953
|
className,
|
|
985
954
|
...props
|
|
986
955
|
}) {
|
|
987
|
-
return /* @__PURE__ */
|
|
956
|
+
return /* @__PURE__ */ jsx14(
|
|
988
957
|
MenubarPrimitive.Trigger,
|
|
989
958
|
{
|
|
990
959
|
"data-slot": "menubar-trigger",
|
|
@@ -1004,7 +973,7 @@ function MenubarContent({
|
|
|
1004
973
|
sideOffset = 8,
|
|
1005
974
|
...props
|
|
1006
975
|
}) {
|
|
1007
|
-
return /* @__PURE__ */
|
|
976
|
+
return /* @__PURE__ */ jsx14(MenubarPrimitive.Portal, { children: /* @__PURE__ */ jsx14(
|
|
1008
977
|
MenubarPrimitive.Content,
|
|
1009
978
|
{
|
|
1010
979
|
"data-slot": "menubar-content",
|
|
@@ -1026,7 +995,7 @@ function MenubarItem({
|
|
|
1026
995
|
variant = "default",
|
|
1027
996
|
...props
|
|
1028
997
|
}) {
|
|
1029
|
-
return /* @__PURE__ */
|
|
998
|
+
return /* @__PURE__ */ jsx14(
|
|
1030
999
|
MenubarPrimitive.Item,
|
|
1031
1000
|
{
|
|
1032
1001
|
"data-slot": "menubar-item",
|
|
@@ -1055,7 +1024,7 @@ function MenubarCheckboxItem({
|
|
|
1055
1024
|
checked,
|
|
1056
1025
|
...props,
|
|
1057
1026
|
children: [
|
|
1058
|
-
/* @__PURE__ */
|
|
1027
|
+
/* @__PURE__ */ jsx14("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(CheckIcon3, { className: "size-4" }) }) }),
|
|
1059
1028
|
children
|
|
1060
1029
|
]
|
|
1061
1030
|
}
|
|
@@ -1064,7 +1033,7 @@ function MenubarCheckboxItem({
|
|
|
1064
1033
|
function MenubarRadioGroup({
|
|
1065
1034
|
...props
|
|
1066
1035
|
}) {
|
|
1067
|
-
return /* @__PURE__ */
|
|
1036
|
+
return /* @__PURE__ */ jsx14(MenubarPrimitive.RadioGroup, { "data-slot": "menubar-radio-group", ...props });
|
|
1068
1037
|
}
|
|
1069
1038
|
function MenubarRadioItem({
|
|
1070
1039
|
className,
|
|
@@ -1078,7 +1047,7 @@ function MenubarRadioItem({
|
|
|
1078
1047
|
className: cn(overlayItemClass, "py-1.5 pr-2 pl-8", className),
|
|
1079
1048
|
...props,
|
|
1080
1049
|
children: [
|
|
1081
|
-
/* @__PURE__ */
|
|
1050
|
+
/* @__PURE__ */ jsx14("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx14(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(CircleIcon3, { className: "size-2 fill-current" }) }) }),
|
|
1082
1051
|
children
|
|
1083
1052
|
]
|
|
1084
1053
|
}
|
|
@@ -1089,7 +1058,7 @@ function MenubarLabel({
|
|
|
1089
1058
|
inset,
|
|
1090
1059
|
...props
|
|
1091
1060
|
}) {
|
|
1092
|
-
return /* @__PURE__ */
|
|
1061
|
+
return /* @__PURE__ */ jsx14(
|
|
1093
1062
|
MenubarPrimitive.Label,
|
|
1094
1063
|
{
|
|
1095
1064
|
"data-slot": "menubar-label",
|
|
@@ -1106,7 +1075,7 @@ function MenubarSeparator({
|
|
|
1106
1075
|
className,
|
|
1107
1076
|
...props
|
|
1108
1077
|
}) {
|
|
1109
|
-
return /* @__PURE__ */
|
|
1078
|
+
return /* @__PURE__ */ jsx14(
|
|
1110
1079
|
MenubarPrimitive.Separator,
|
|
1111
1080
|
{
|
|
1112
1081
|
"data-slot": "menubar-separator",
|
|
@@ -1119,7 +1088,7 @@ function MenubarShortcut({
|
|
|
1119
1088
|
className,
|
|
1120
1089
|
...props
|
|
1121
1090
|
}) {
|
|
1122
|
-
return /* @__PURE__ */
|
|
1091
|
+
return /* @__PURE__ */ jsx14(
|
|
1123
1092
|
"span",
|
|
1124
1093
|
{
|
|
1125
1094
|
"data-slot": "menubar-shortcut",
|
|
@@ -1134,7 +1103,7 @@ function MenubarShortcut({
|
|
|
1134
1103
|
function MenubarSub({
|
|
1135
1104
|
...props
|
|
1136
1105
|
}) {
|
|
1137
|
-
return /* @__PURE__ */
|
|
1106
|
+
return /* @__PURE__ */ jsx14(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
|
|
1138
1107
|
}
|
|
1139
1108
|
function MenubarSubTrigger({
|
|
1140
1109
|
className,
|
|
@@ -1155,7 +1124,7 @@ function MenubarSubTrigger({
|
|
|
1155
1124
|
...props,
|
|
1156
1125
|
children: [
|
|
1157
1126
|
children,
|
|
1158
|
-
/* @__PURE__ */
|
|
1127
|
+
/* @__PURE__ */ jsx14(ChevronRightIcon4, { className: "ml-auto size-4" })
|
|
1159
1128
|
]
|
|
1160
1129
|
}
|
|
1161
1130
|
);
|
|
@@ -1164,7 +1133,7 @@ function MenubarSubContent({
|
|
|
1164
1133
|
className,
|
|
1165
1134
|
...props
|
|
1166
1135
|
}) {
|
|
1167
|
-
return /* @__PURE__ */
|
|
1136
|
+
return /* @__PURE__ */ jsx14(
|
|
1168
1137
|
MenubarPrimitive.SubContent,
|
|
1169
1138
|
{
|
|
1170
1139
|
"data-slot": "menubar-sub-content",
|
|
@@ -1182,7 +1151,7 @@ function MenubarSubContent({
|
|
|
1182
1151
|
import { NavigationMenu as NavigationMenuPrimitive } from "radix-ui";
|
|
1183
1152
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1184
1153
|
import { cva } from "class-variance-authority";
|
|
1185
|
-
import { jsx as
|
|
1154
|
+
import { jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1186
1155
|
function NavigationMenu({
|
|
1187
1156
|
className,
|
|
1188
1157
|
children,
|
|
@@ -1201,7 +1170,7 @@ function NavigationMenu({
|
|
|
1201
1170
|
...props,
|
|
1202
1171
|
children: [
|
|
1203
1172
|
children,
|
|
1204
|
-
viewport ? /* @__PURE__ */
|
|
1173
|
+
viewport ? /* @__PURE__ */ jsx15(NavigationMenuViewport, {}) : null
|
|
1205
1174
|
]
|
|
1206
1175
|
}
|
|
1207
1176
|
);
|
|
@@ -1210,7 +1179,7 @@ function NavigationMenuList({
|
|
|
1210
1179
|
className,
|
|
1211
1180
|
...props
|
|
1212
1181
|
}) {
|
|
1213
|
-
return /* @__PURE__ */
|
|
1182
|
+
return /* @__PURE__ */ jsx15(
|
|
1214
1183
|
NavigationMenuPrimitive.List,
|
|
1215
1184
|
{
|
|
1216
1185
|
"data-slot": "navigation-menu-list",
|
|
@@ -1225,7 +1194,7 @@ function NavigationMenuList({
|
|
|
1225
1194
|
function NavigationMenuItem({
|
|
1226
1195
|
...props
|
|
1227
1196
|
}) {
|
|
1228
|
-
return /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ jsx15(NavigationMenuPrimitive.Item, { "data-slot": "navigation-menu-item", ...props });
|
|
1229
1198
|
}
|
|
1230
1199
|
var navigationMenuTriggerStyle = cva(
|
|
1231
1200
|
"group inline-flex h-9 w-max items-center justify-center rounded-lg bg-transparent px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-muted/80 data-[state=open]:text-foreground"
|
|
@@ -1244,7 +1213,7 @@ function NavigationMenuTrigger({
|
|
|
1244
1213
|
children: [
|
|
1245
1214
|
children,
|
|
1246
1215
|
" ",
|
|
1247
|
-
/* @__PURE__ */
|
|
1216
|
+
/* @__PURE__ */ jsx15(
|
|
1248
1217
|
ChevronDownIcon2,
|
|
1249
1218
|
{
|
|
1250
1219
|
className: "relative top-px ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
@@ -1259,7 +1228,7 @@ function NavigationMenuContent({
|
|
|
1259
1228
|
className,
|
|
1260
1229
|
...props
|
|
1261
1230
|
}) {
|
|
1262
|
-
return /* @__PURE__ */
|
|
1231
|
+
return /* @__PURE__ */ jsx15(
|
|
1263
1232
|
NavigationMenuPrimitive.Content,
|
|
1264
1233
|
{
|
|
1265
1234
|
"data-slot": "navigation-menu-content",
|
|
@@ -1276,7 +1245,7 @@ function NavigationMenuViewport({
|
|
|
1276
1245
|
className,
|
|
1277
1246
|
...props
|
|
1278
1247
|
}) {
|
|
1279
|
-
return /* @__PURE__ */
|
|
1248
|
+
return /* @__PURE__ */ jsx15("div", { className: cn("absolute top-full left-0 isolate z-[80] flex justify-center"), children: /* @__PURE__ */ jsx15(
|
|
1280
1249
|
NavigationMenuPrimitive.Viewport,
|
|
1281
1250
|
{
|
|
1282
1251
|
"data-slot": "navigation-menu-viewport",
|
|
@@ -1293,7 +1262,7 @@ function NavigationMenuLink({
|
|
|
1293
1262
|
className,
|
|
1294
1263
|
...props
|
|
1295
1264
|
}) {
|
|
1296
|
-
return /* @__PURE__ */
|
|
1265
|
+
return /* @__PURE__ */ jsx15(
|
|
1297
1266
|
NavigationMenuPrimitive.Link,
|
|
1298
1267
|
{
|
|
1299
1268
|
"data-slot": "navigation-menu-link",
|
|
@@ -1309,7 +1278,7 @@ function NavigationMenuIndicator({
|
|
|
1309
1278
|
className,
|
|
1310
1279
|
...props
|
|
1311
1280
|
}) {
|
|
1312
|
-
return /* @__PURE__ */
|
|
1281
|
+
return /* @__PURE__ */ jsx15(
|
|
1313
1282
|
NavigationMenuPrimitive.Indicator,
|
|
1314
1283
|
{
|
|
1315
1284
|
"data-slot": "navigation-menu-indicator",
|
|
@@ -1318,7 +1287,7 @@ function NavigationMenuIndicator({
|
|
|
1318
1287
|
className
|
|
1319
1288
|
),
|
|
1320
1289
|
...props,
|
|
1321
|
-
children: /* @__PURE__ */
|
|
1290
|
+
children: /* @__PURE__ */ jsx15("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
1322
1291
|
}
|
|
1323
1292
|
);
|
|
1324
1293
|
}
|
|
@@ -1326,12 +1295,12 @@ function NavigationMenuIndicator({
|
|
|
1326
1295
|
// src/ui/command.tsx
|
|
1327
1296
|
import { Command as CommandPrimitive } from "cmdk";
|
|
1328
1297
|
import { SearchIcon } from "lucide-react";
|
|
1329
|
-
import { jsx as
|
|
1298
|
+
import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1330
1299
|
function Command({
|
|
1331
1300
|
className,
|
|
1332
1301
|
...props
|
|
1333
1302
|
}) {
|
|
1334
|
-
return /* @__PURE__ */
|
|
1303
|
+
return /* @__PURE__ */ jsx16(
|
|
1335
1304
|
CommandPrimitive,
|
|
1336
1305
|
{
|
|
1337
1306
|
"data-slot": "command",
|
|
@@ -1353,15 +1322,15 @@ function CommandDialog({
|
|
|
1353
1322
|
}) {
|
|
1354
1323
|
return /* @__PURE__ */ jsxs7(Dialog, { ...props, children: [
|
|
1355
1324
|
/* @__PURE__ */ jsxs7(DialogHeader, { className: "sr-only", children: [
|
|
1356
|
-
/* @__PURE__ */
|
|
1357
|
-
/* @__PURE__ */
|
|
1325
|
+
/* @__PURE__ */ jsx16(DialogTitle, { children: title }),
|
|
1326
|
+
/* @__PURE__ */ jsx16(DialogDescription, { children: description })
|
|
1358
1327
|
] }),
|
|
1359
|
-
/* @__PURE__ */
|
|
1328
|
+
/* @__PURE__ */ jsx16(
|
|
1360
1329
|
DialogContent,
|
|
1361
1330
|
{
|
|
1362
1331
|
className: cn("overflow-hidden p-0", className),
|
|
1363
1332
|
showCloseButton,
|
|
1364
|
-
children: /* @__PURE__ */
|
|
1333
|
+
children: /* @__PURE__ */ jsx16(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-4 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-2 [&_[cmdk-item]_svg]:size-4", children })
|
|
1365
1334
|
}
|
|
1366
1335
|
)
|
|
1367
1336
|
] });
|
|
@@ -1376,8 +1345,8 @@ function CommandInput({
|
|
|
1376
1345
|
"data-slot": "command-input-wrapper",
|
|
1377
1346
|
className: "flex h-10 items-center gap-2 border-b border-border px-3",
|
|
1378
1347
|
children: [
|
|
1379
|
-
/* @__PURE__ */
|
|
1380
|
-
/* @__PURE__ */
|
|
1348
|
+
/* @__PURE__ */ jsx16(SearchIcon, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
1349
|
+
/* @__PURE__ */ jsx16(
|
|
1381
1350
|
CommandPrimitive.Input,
|
|
1382
1351
|
{
|
|
1383
1352
|
"data-slot": "command-input",
|
|
@@ -1396,7 +1365,7 @@ function CommandList({
|
|
|
1396
1365
|
className,
|
|
1397
1366
|
...props
|
|
1398
1367
|
}) {
|
|
1399
|
-
return /* @__PURE__ */
|
|
1368
|
+
return /* @__PURE__ */ jsx16(
|
|
1400
1369
|
CommandPrimitive.List,
|
|
1401
1370
|
{
|
|
1402
1371
|
"data-slot": "command-list",
|
|
@@ -1408,7 +1377,7 @@ function CommandList({
|
|
|
1408
1377
|
function CommandEmpty({
|
|
1409
1378
|
...props
|
|
1410
1379
|
}) {
|
|
1411
|
-
return /* @__PURE__ */
|
|
1380
|
+
return /* @__PURE__ */ jsx16(
|
|
1412
1381
|
CommandPrimitive.Empty,
|
|
1413
1382
|
{
|
|
1414
1383
|
"data-slot": "command-empty",
|
|
@@ -1421,7 +1390,7 @@ function CommandGroup({
|
|
|
1421
1390
|
className,
|
|
1422
1391
|
...props
|
|
1423
1392
|
}) {
|
|
1424
|
-
return /* @__PURE__ */
|
|
1393
|
+
return /* @__PURE__ */ jsx16(
|
|
1425
1394
|
CommandPrimitive.Group,
|
|
1426
1395
|
{
|
|
1427
1396
|
"data-slot": "command-group",
|
|
@@ -1437,7 +1406,7 @@ function CommandSeparator({
|
|
|
1437
1406
|
className,
|
|
1438
1407
|
...props
|
|
1439
1408
|
}) {
|
|
1440
|
-
return /* @__PURE__ */
|
|
1409
|
+
return /* @__PURE__ */ jsx16(
|
|
1441
1410
|
CommandPrimitive.Separator,
|
|
1442
1411
|
{
|
|
1443
1412
|
"data-slot": "command-separator",
|
|
@@ -1450,7 +1419,7 @@ function CommandItem({
|
|
|
1450
1419
|
className,
|
|
1451
1420
|
...props
|
|
1452
1421
|
}) {
|
|
1453
|
-
return /* @__PURE__ */
|
|
1422
|
+
return /* @__PURE__ */ jsx16(
|
|
1454
1423
|
CommandPrimitive.Item,
|
|
1455
1424
|
{
|
|
1456
1425
|
"data-slot": "command-item",
|
|
@@ -1467,7 +1436,7 @@ function CommandShortcut({
|
|
|
1467
1436
|
className,
|
|
1468
1437
|
...props
|
|
1469
1438
|
}) {
|
|
1470
|
-
return /* @__PURE__ */
|
|
1439
|
+
return /* @__PURE__ */ jsx16(
|
|
1471
1440
|
"span",
|
|
1472
1441
|
{
|
|
1473
1442
|
"data-slot": "command-shortcut",
|
|
@@ -1484,14 +1453,14 @@ function CommandShortcut({
|
|
|
1484
1453
|
import * as React from "react";
|
|
1485
1454
|
import { ChevronLeftIcon as ChevronLeftIcon2, ChevronRightIcon as ChevronRightIcon5 } from "lucide-react";
|
|
1486
1455
|
import { DayPicker } from "react-day-picker";
|
|
1487
|
-
import { jsx as
|
|
1456
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1488
1457
|
function Calendar({
|
|
1489
1458
|
className,
|
|
1490
1459
|
classNames,
|
|
1491
1460
|
showOutsideDays = true,
|
|
1492
1461
|
...props
|
|
1493
1462
|
}) {
|
|
1494
|
-
return /* @__PURE__ */
|
|
1463
|
+
return /* @__PURE__ */ jsx17(
|
|
1495
1464
|
DayPicker,
|
|
1496
1465
|
{
|
|
1497
1466
|
showOutsideDays,
|
|
@@ -1540,7 +1509,7 @@ function Calendar({
|
|
|
1540
1509
|
components: {
|
|
1541
1510
|
Chevron: ({ orientation, className: className2, ...chevronProps }) => {
|
|
1542
1511
|
const Icon = orientation === "left" ? ChevronLeftIcon2 : ChevronRightIcon5;
|
|
1543
|
-
return /* @__PURE__ */
|
|
1512
|
+
return /* @__PURE__ */ jsx17(Icon, { className: cn("size-4", className2), ...chevronProps });
|
|
1544
1513
|
},
|
|
1545
1514
|
DayButton: CalendarDayButton
|
|
1546
1515
|
},
|
|
@@ -1558,7 +1527,7 @@ function CalendarDayButton({
|
|
|
1558
1527
|
React.useEffect(() => {
|
|
1559
1528
|
if (modifiers.focused) ref.current?.focus();
|
|
1560
1529
|
}, [modifiers.focused]);
|
|
1561
|
-
return /* @__PURE__ */
|
|
1530
|
+
return /* @__PURE__ */ jsx17(
|
|
1562
1531
|
"button",
|
|
1563
1532
|
{
|
|
1564
1533
|
ref,
|
|
@@ -1586,11 +1555,11 @@ function CalendarDayButton({
|
|
|
1586
1555
|
|
|
1587
1556
|
// src/ui/combobox.tsx
|
|
1588
1557
|
import { ChevronDownIcon as ChevronDownIcon3 } from "lucide-react";
|
|
1589
|
-
import { jsx as
|
|
1558
|
+
import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1590
1559
|
function Combobox({
|
|
1591
1560
|
...props
|
|
1592
1561
|
}) {
|
|
1593
|
-
return /* @__PURE__ */
|
|
1562
|
+
return /* @__PURE__ */ jsx18(Popover, { "data-slot": "combobox", ...props });
|
|
1594
1563
|
}
|
|
1595
1564
|
function ComboboxTrigger({
|
|
1596
1565
|
className,
|
|
@@ -1610,8 +1579,8 @@ function ComboboxTrigger({
|
|
|
1610
1579
|
),
|
|
1611
1580
|
...props,
|
|
1612
1581
|
children: [
|
|
1613
|
-
/* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1582
|
+
/* @__PURE__ */ jsx18("span", { className: "truncate", children }),
|
|
1583
|
+
/* @__PURE__ */ jsx18(ChevronDownIcon3, { className: "size-4 shrink-0 opacity-50" })
|
|
1615
1584
|
]
|
|
1616
1585
|
}
|
|
1617
1586
|
);
|
|
@@ -1619,14 +1588,14 @@ function ComboboxTrigger({
|
|
|
1619
1588
|
function ComboboxAnchor({
|
|
1620
1589
|
...props
|
|
1621
1590
|
}) {
|
|
1622
|
-
return /* @__PURE__ */
|
|
1591
|
+
return /* @__PURE__ */ jsx18(PopoverAnchor, { "data-slot": "combobox-anchor", ...props });
|
|
1623
1592
|
}
|
|
1624
1593
|
function ComboboxContent({
|
|
1625
1594
|
className,
|
|
1626
1595
|
align = "start",
|
|
1627
1596
|
...props
|
|
1628
1597
|
}) {
|
|
1629
|
-
return /* @__PURE__ */
|
|
1598
|
+
return /* @__PURE__ */ jsx18(
|
|
1630
1599
|
PopoverContent,
|
|
1631
1600
|
{
|
|
1632
1601
|
"data-slot": "combobox-content",
|
|
@@ -1644,7 +1613,7 @@ function ComboboxCommand({
|
|
|
1644
1613
|
className,
|
|
1645
1614
|
...props
|
|
1646
1615
|
}) {
|
|
1647
|
-
return /* @__PURE__ */
|
|
1616
|
+
return /* @__PURE__ */ jsx18(
|
|
1648
1617
|
Command,
|
|
1649
1618
|
{
|
|
1650
1619
|
"data-slot": "combobox-command",
|
|
@@ -1656,58 +1625,58 @@ function ComboboxCommand({
|
|
|
1656
1625
|
function ComboboxInput({
|
|
1657
1626
|
...props
|
|
1658
1627
|
}) {
|
|
1659
|
-
return /* @__PURE__ */
|
|
1628
|
+
return /* @__PURE__ */ jsx18(CommandInput, { "data-slot": "combobox-input", ...props });
|
|
1660
1629
|
}
|
|
1661
1630
|
function ComboboxList({
|
|
1662
1631
|
...props
|
|
1663
1632
|
}) {
|
|
1664
|
-
return /* @__PURE__ */
|
|
1633
|
+
return /* @__PURE__ */ jsx18(CommandList, { "data-slot": "combobox-list", ...props });
|
|
1665
1634
|
}
|
|
1666
1635
|
function ComboboxEmpty({
|
|
1667
1636
|
...props
|
|
1668
1637
|
}) {
|
|
1669
|
-
return /* @__PURE__ */
|
|
1638
|
+
return /* @__PURE__ */ jsx18(CommandEmpty, { "data-slot": "combobox-empty", ...props });
|
|
1670
1639
|
}
|
|
1671
1640
|
function ComboboxGroup({
|
|
1672
1641
|
...props
|
|
1673
1642
|
}) {
|
|
1674
|
-
return /* @__PURE__ */
|
|
1643
|
+
return /* @__PURE__ */ jsx18(CommandGroup, { "data-slot": "combobox-group", ...props });
|
|
1675
1644
|
}
|
|
1676
1645
|
function ComboboxItem({
|
|
1677
1646
|
...props
|
|
1678
1647
|
}) {
|
|
1679
|
-
return /* @__PURE__ */
|
|
1648
|
+
return /* @__PURE__ */ jsx18(CommandItem, { "data-slot": "combobox-item", ...props });
|
|
1680
1649
|
}
|
|
1681
1650
|
function ComboboxSeparator({
|
|
1682
1651
|
...props
|
|
1683
1652
|
}) {
|
|
1684
|
-
return /* @__PURE__ */
|
|
1653
|
+
return /* @__PURE__ */ jsx18(CommandSeparator, { "data-slot": "combobox-separator", ...props });
|
|
1685
1654
|
}
|
|
1686
1655
|
function ComboboxShortcut({
|
|
1687
1656
|
...props
|
|
1688
1657
|
}) {
|
|
1689
|
-
return /* @__PURE__ */
|
|
1658
|
+
return /* @__PURE__ */ jsx18(CommandShortcut, { "data-slot": "combobox-shortcut", ...props });
|
|
1690
1659
|
}
|
|
1691
1660
|
|
|
1692
1661
|
// src/ui/date-picker.tsx
|
|
1693
1662
|
import { CalendarIcon } from "lucide-react";
|
|
1694
|
-
import { jsx as
|
|
1663
|
+
import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1695
1664
|
function DatePicker({
|
|
1696
1665
|
...props
|
|
1697
1666
|
}) {
|
|
1698
|
-
return /* @__PURE__ */
|
|
1667
|
+
return /* @__PURE__ */ jsx19(Popover, { "data-slot": "date-picker", ...props });
|
|
1699
1668
|
}
|
|
1700
1669
|
function DatePickerTrigger({
|
|
1701
1670
|
...props
|
|
1702
1671
|
}) {
|
|
1703
|
-
return /* @__PURE__ */
|
|
1672
|
+
return /* @__PURE__ */ jsx19(PopoverTrigger, { "data-slot": "date-picker-trigger", ...props });
|
|
1704
1673
|
}
|
|
1705
1674
|
function DatePickerContent({
|
|
1706
1675
|
className,
|
|
1707
1676
|
align = "start",
|
|
1708
1677
|
...props
|
|
1709
1678
|
}) {
|
|
1710
|
-
return /* @__PURE__ */
|
|
1679
|
+
return /* @__PURE__ */ jsx19(
|
|
1711
1680
|
PopoverContent,
|
|
1712
1681
|
{
|
|
1713
1682
|
"data-slot": "date-picker-content",
|
|
@@ -1721,7 +1690,7 @@ function DatePickerCalendar({
|
|
|
1721
1690
|
className,
|
|
1722
1691
|
...props
|
|
1723
1692
|
}) {
|
|
1724
|
-
return /* @__PURE__ */
|
|
1693
|
+
return /* @__PURE__ */ jsx19(
|
|
1725
1694
|
Calendar,
|
|
1726
1695
|
{
|
|
1727
1696
|
"data-slot": "date-picker-calendar",
|
|
@@ -1756,7 +1725,7 @@ function DatePickerButton({
|
|
|
1756
1725
|
),
|
|
1757
1726
|
...props,
|
|
1758
1727
|
children: [
|
|
1759
|
-
/* @__PURE__ */
|
|
1728
|
+
/* @__PURE__ */ jsx19(CalendarIcon, { className: "size-4 shrink-0 opacity-70" }),
|
|
1760
1729
|
date ? formatPickerDate(date) : placeholder
|
|
1761
1730
|
]
|
|
1762
1731
|
}
|
|
@@ -1766,14 +1735,14 @@ function DatePickerButton({
|
|
|
1766
1735
|
// src/ui/input-otp.tsx
|
|
1767
1736
|
import { MinusIcon } from "lucide-react";
|
|
1768
1737
|
import { unstable_OneTimePasswordField as OTPField } from "radix-ui";
|
|
1769
|
-
import { jsx as
|
|
1738
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1770
1739
|
function InputOTP({
|
|
1771
1740
|
className,
|
|
1772
1741
|
containerClassName,
|
|
1773
1742
|
children,
|
|
1774
1743
|
...props
|
|
1775
1744
|
}) {
|
|
1776
|
-
return /* @__PURE__ */
|
|
1745
|
+
return /* @__PURE__ */ jsx20(
|
|
1777
1746
|
OTPField.Root,
|
|
1778
1747
|
{
|
|
1779
1748
|
"data-slot": "input-otp",
|
|
@@ -1791,7 +1760,7 @@ function InputOTPGroup({
|
|
|
1791
1760
|
className,
|
|
1792
1761
|
...props
|
|
1793
1762
|
}) {
|
|
1794
|
-
return /* @__PURE__ */
|
|
1763
|
+
return /* @__PURE__ */ jsx20(
|
|
1795
1764
|
"div",
|
|
1796
1765
|
{
|
|
1797
1766
|
"data-slot": "input-otp-group",
|
|
@@ -1804,7 +1773,7 @@ function InputOTPSlot({
|
|
|
1804
1773
|
className,
|
|
1805
1774
|
...props
|
|
1806
1775
|
}) {
|
|
1807
|
-
return /* @__PURE__ */
|
|
1776
|
+
return /* @__PURE__ */ jsx20(
|
|
1808
1777
|
OTPField.Input,
|
|
1809
1778
|
{
|
|
1810
1779
|
"data-slot": "input-otp-slot",
|
|
@@ -1822,13 +1791,13 @@ function InputOTPSlot({
|
|
|
1822
1791
|
function InputOTPHiddenInput({
|
|
1823
1792
|
...props
|
|
1824
1793
|
}) {
|
|
1825
|
-
return /* @__PURE__ */
|
|
1794
|
+
return /* @__PURE__ */ jsx20(OTPField.HiddenInput, { "data-slot": "input-otp-hidden-input", ...props });
|
|
1826
1795
|
}
|
|
1827
1796
|
function InputOTPSeparator({
|
|
1828
1797
|
className,
|
|
1829
1798
|
...props
|
|
1830
1799
|
}) {
|
|
1831
|
-
return /* @__PURE__ */
|
|
1800
|
+
return /* @__PURE__ */ jsx20(
|
|
1832
1801
|
"div",
|
|
1833
1802
|
{
|
|
1834
1803
|
role: "separator",
|
|
@@ -1836,15 +1805,15 @@ function InputOTPSeparator({
|
|
|
1836
1805
|
"aria-hidden": true,
|
|
1837
1806
|
className: cn("text-muted-foreground", className),
|
|
1838
1807
|
...props,
|
|
1839
|
-
children: /* @__PURE__ */
|
|
1808
|
+
children: /* @__PURE__ */ jsx20(MinusIcon, { className: "size-4" })
|
|
1840
1809
|
}
|
|
1841
1810
|
);
|
|
1842
1811
|
}
|
|
1843
1812
|
|
|
1844
1813
|
// src/ui/kbd.tsx
|
|
1845
|
-
import { jsx as
|
|
1814
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1846
1815
|
function Kbd({ className, ...props }) {
|
|
1847
|
-
return /* @__PURE__ */
|
|
1816
|
+
return /* @__PURE__ */ jsx21(
|
|
1848
1817
|
"kbd",
|
|
1849
1818
|
{
|
|
1850
1819
|
"data-slot": "kbd",
|
|
@@ -1857,7 +1826,7 @@ function Kbd({ className, ...props }) {
|
|
|
1857
1826
|
);
|
|
1858
1827
|
}
|
|
1859
1828
|
function KbdGroup({ className, ...props }) {
|
|
1860
|
-
return /* @__PURE__ */
|
|
1829
|
+
return /* @__PURE__ */ jsx21(
|
|
1861
1830
|
"div",
|
|
1862
1831
|
{
|
|
1863
1832
|
"data-slot": "kbd-group",
|
|
@@ -1868,7 +1837,7 @@ function KbdGroup({ className, ...props }) {
|
|
|
1868
1837
|
}
|
|
1869
1838
|
|
|
1870
1839
|
// src/ui/spinner.tsx
|
|
1871
|
-
import { jsx as
|
|
1840
|
+
import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1872
1841
|
function Spinner({
|
|
1873
1842
|
className,
|
|
1874
1843
|
...props
|
|
@@ -1884,7 +1853,7 @@ function Spinner({
|
|
|
1884
1853
|
className: cn("size-4 animate-spin text-muted-foreground", className),
|
|
1885
1854
|
...props,
|
|
1886
1855
|
children: [
|
|
1887
|
-
/* @__PURE__ */
|
|
1856
|
+
/* @__PURE__ */ jsx22(
|
|
1888
1857
|
"circle",
|
|
1889
1858
|
{
|
|
1890
1859
|
className: "opacity-25",
|
|
@@ -1895,7 +1864,7 @@ function Spinner({
|
|
|
1895
1864
|
strokeWidth: "3"
|
|
1896
1865
|
}
|
|
1897
1866
|
),
|
|
1898
|
-
/* @__PURE__ */
|
|
1867
|
+
/* @__PURE__ */ jsx22(
|
|
1899
1868
|
"path",
|
|
1900
1869
|
{
|
|
1901
1870
|
className: "opacity-75",
|
|
@@ -1909,12 +1878,12 @@ function Spinner({
|
|
|
1909
1878
|
}
|
|
1910
1879
|
|
|
1911
1880
|
// src/ui/input-group.tsx
|
|
1912
|
-
import { jsx as
|
|
1881
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
1913
1882
|
function InputGroup({
|
|
1914
1883
|
className,
|
|
1915
1884
|
...props
|
|
1916
1885
|
}) {
|
|
1917
|
-
return /* @__PURE__ */
|
|
1886
|
+
return /* @__PURE__ */ jsx23(
|
|
1918
1887
|
"div",
|
|
1919
1888
|
{
|
|
1920
1889
|
"data-slot": "input-group",
|
|
@@ -1933,7 +1902,7 @@ function InputGroupAddon({
|
|
|
1933
1902
|
align = "inline-start",
|
|
1934
1903
|
...props
|
|
1935
1904
|
}) {
|
|
1936
|
-
return /* @__PURE__ */
|
|
1905
|
+
return /* @__PURE__ */ jsx23(
|
|
1937
1906
|
"div",
|
|
1938
1907
|
{
|
|
1939
1908
|
"data-slot": "input-group-addon",
|
|
@@ -1952,7 +1921,7 @@ function InputGroupInput({
|
|
|
1952
1921
|
className,
|
|
1953
1922
|
...props
|
|
1954
1923
|
}) {
|
|
1955
|
-
return /* @__PURE__ */
|
|
1924
|
+
return /* @__PURE__ */ jsx23(
|
|
1956
1925
|
"input",
|
|
1957
1926
|
{
|
|
1958
1927
|
"data-slot": "input-group-control",
|
|
@@ -1969,7 +1938,7 @@ function InputGroupText({
|
|
|
1969
1938
|
className,
|
|
1970
1939
|
...props
|
|
1971
1940
|
}) {
|
|
1972
|
-
return /* @__PURE__ */
|
|
1941
|
+
return /* @__PURE__ */ jsx23(
|
|
1973
1942
|
"span",
|
|
1974
1943
|
{
|
|
1975
1944
|
"data-slot": "input-group-text",
|
|
@@ -1982,17 +1951,17 @@ function InputGroupText({
|
|
|
1982
1951
|
// src/ui/accordion.tsx
|
|
1983
1952
|
import { Accordion as AccordionPrimitive } from "radix-ui";
|
|
1984
1953
|
import { ChevronDownIcon as ChevronDownIcon4 } from "lucide-react";
|
|
1985
|
-
import { jsx as
|
|
1954
|
+
import { jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1986
1955
|
function Accordion({
|
|
1987
1956
|
...props
|
|
1988
1957
|
}) {
|
|
1989
|
-
return /* @__PURE__ */
|
|
1958
|
+
return /* @__PURE__ */ jsx24(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
1990
1959
|
}
|
|
1991
1960
|
function AccordionItem({
|
|
1992
1961
|
className,
|
|
1993
1962
|
...props
|
|
1994
1963
|
}) {
|
|
1995
|
-
return /* @__PURE__ */
|
|
1964
|
+
return /* @__PURE__ */ jsx24(
|
|
1996
1965
|
AccordionPrimitive.Item,
|
|
1997
1966
|
{
|
|
1998
1967
|
"data-slot": "accordion-item",
|
|
@@ -2006,7 +1975,7 @@ function AccordionTrigger({
|
|
|
2006
1975
|
children,
|
|
2007
1976
|
...props
|
|
2008
1977
|
}) {
|
|
2009
|
-
return /* @__PURE__ */
|
|
1978
|
+
return /* @__PURE__ */ jsx24(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs11(
|
|
2010
1979
|
AccordionPrimitive.Trigger,
|
|
2011
1980
|
{
|
|
2012
1981
|
"data-slot": "accordion-trigger",
|
|
@@ -2019,7 +1988,7 @@ function AccordionTrigger({
|
|
|
2019
1988
|
...props,
|
|
2020
1989
|
children: [
|
|
2021
1990
|
children,
|
|
2022
|
-
/* @__PURE__ */
|
|
1991
|
+
/* @__PURE__ */ jsx24(ChevronDownIcon4, { className: "pointer-events-none size-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
2023
1992
|
]
|
|
2024
1993
|
}
|
|
2025
1994
|
) });
|
|
@@ -2029,27 +1998,27 @@ function AccordionContent({
|
|
|
2029
1998
|
children,
|
|
2030
1999
|
...props
|
|
2031
2000
|
}) {
|
|
2032
|
-
return /* @__PURE__ */
|
|
2001
|
+
return /* @__PURE__ */ jsx24(
|
|
2033
2002
|
AccordionPrimitive.Content,
|
|
2034
2003
|
{
|
|
2035
2004
|
"data-slot": "accordion-content",
|
|
2036
2005
|
className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
2037
2006
|
...props,
|
|
2038
|
-
children: /* @__PURE__ */
|
|
2007
|
+
children: /* @__PURE__ */ jsx24("div", { className: cn("pt-0 pb-4", className), children })
|
|
2039
2008
|
}
|
|
2040
2009
|
);
|
|
2041
2010
|
}
|
|
2042
2011
|
|
|
2043
2012
|
// src/ui/separator.tsx
|
|
2044
2013
|
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
2045
|
-
import { jsx as
|
|
2014
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
2046
2015
|
function Separator({
|
|
2047
2016
|
className,
|
|
2048
2017
|
orientation = "horizontal",
|
|
2049
2018
|
decorative = true,
|
|
2050
2019
|
...props
|
|
2051
2020
|
}) {
|
|
2052
|
-
return /* @__PURE__ */
|
|
2021
|
+
return /* @__PURE__ */ jsx25(
|
|
2053
2022
|
SeparatorPrimitive.Root,
|
|
2054
2023
|
{
|
|
2055
2024
|
"data-slot": "separator",
|
|
@@ -2067,7 +2036,7 @@ function Separator({
|
|
|
2067
2036
|
// src/ui/slider.tsx
|
|
2068
2037
|
import * as React2 from "react";
|
|
2069
2038
|
import { Slider as SliderPrimitive } from "radix-ui";
|
|
2070
|
-
import { jsx as
|
|
2039
|
+
import { jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2071
2040
|
function Slider({
|
|
2072
2041
|
className,
|
|
2073
2042
|
defaultValue,
|
|
@@ -2096,12 +2065,12 @@ function Slider({
|
|
|
2096
2065
|
),
|
|
2097
2066
|
...props,
|
|
2098
2067
|
children: [
|
|
2099
|
-
/* @__PURE__ */
|
|
2068
|
+
/* @__PURE__ */ jsx26(
|
|
2100
2069
|
SliderPrimitive.Track,
|
|
2101
2070
|
{
|
|
2102
2071
|
"data-slot": "slider-track",
|
|
2103
2072
|
className: "relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5",
|
|
2104
|
-
children: /* @__PURE__ */
|
|
2073
|
+
children: /* @__PURE__ */ jsx26(
|
|
2105
2074
|
SliderPrimitive.Range,
|
|
2106
2075
|
{
|
|
2107
2076
|
"data-slot": "slider-range",
|
|
@@ -2110,7 +2079,7 @@ function Slider({
|
|
|
2110
2079
|
)
|
|
2111
2080
|
}
|
|
2112
2081
|
),
|
|
2113
|
-
Array.from({ length: thumbs.length }, (_, i) => /* @__PURE__ */
|
|
2082
|
+
Array.from({ length: thumbs.length }, (_, i) => /* @__PURE__ */ jsx26(
|
|
2114
2083
|
SliderPrimitive.Thumb,
|
|
2115
2084
|
{
|
|
2116
2085
|
"data-slot": "slider-thumb",
|
|
@@ -2125,13 +2094,13 @@ function Slider({
|
|
|
2125
2094
|
|
|
2126
2095
|
// src/ui/progress.tsx
|
|
2127
2096
|
import { Progress as ProgressPrimitive } from "radix-ui";
|
|
2128
|
-
import { jsx as
|
|
2097
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
2129
2098
|
function Progress({
|
|
2130
2099
|
className,
|
|
2131
2100
|
value,
|
|
2132
2101
|
...props
|
|
2133
2102
|
}) {
|
|
2134
|
-
return /* @__PURE__ */
|
|
2103
|
+
return /* @__PURE__ */ jsx27(
|
|
2135
2104
|
ProgressPrimitive.Root,
|
|
2136
2105
|
{
|
|
2137
2106
|
"data-slot": "progress",
|
|
@@ -2140,7 +2109,7 @@ function Progress({
|
|
|
2140
2109
|
className
|
|
2141
2110
|
),
|
|
2142
2111
|
...props,
|
|
2143
|
-
children: /* @__PURE__ */
|
|
2112
|
+
children: /* @__PURE__ */ jsx27(
|
|
2144
2113
|
ProgressPrimitive.Indicator,
|
|
2145
2114
|
{
|
|
2146
2115
|
"data-slot": "progress-indicator",
|
|
@@ -2155,7 +2124,7 @@ function Progress({
|
|
|
2155
2124
|
// src/ui/badge.tsx
|
|
2156
2125
|
import { Slot as Slot2 } from "radix-ui";
|
|
2157
2126
|
import { cva as cva2 } from "class-variance-authority";
|
|
2158
|
-
import { jsx as
|
|
2127
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
2159
2128
|
var badgeVariants = cva2(
|
|
2160
2129
|
"inline-flex w-fit shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-md border px-2 py-0.5 text-xs font-medium [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
2161
2130
|
{
|
|
@@ -2179,7 +2148,7 @@ function Badge({
|
|
|
2179
2148
|
...props
|
|
2180
2149
|
}) {
|
|
2181
2150
|
const Comp = asChild ? Slot2.Root : "span";
|
|
2182
|
-
return /* @__PURE__ */
|
|
2151
|
+
return /* @__PURE__ */ jsx28(
|
|
2183
2152
|
Comp,
|
|
2184
2153
|
{
|
|
2185
2154
|
"data-slot": "badge",
|
|
@@ -2193,30 +2162,30 @@ function Badge({
|
|
|
2193
2162
|
import { XIcon } from "lucide-react";
|
|
2194
2163
|
import { Dialog as SheetPrimitive } from "radix-ui";
|
|
2195
2164
|
import { cva as cva3 } from "class-variance-authority";
|
|
2196
|
-
import { jsx as
|
|
2165
|
+
import { jsx as jsx29, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2197
2166
|
function Sheet({ ...props }) {
|
|
2198
|
-
return /* @__PURE__ */
|
|
2167
|
+
return /* @__PURE__ */ jsx29(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
2199
2168
|
}
|
|
2200
2169
|
function SheetTrigger({
|
|
2201
2170
|
...props
|
|
2202
2171
|
}) {
|
|
2203
|
-
return /* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ jsx29(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
2204
2173
|
}
|
|
2205
2174
|
function SheetClose({
|
|
2206
2175
|
...props
|
|
2207
2176
|
}) {
|
|
2208
|
-
return /* @__PURE__ */
|
|
2177
|
+
return /* @__PURE__ */ jsx29(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
2209
2178
|
}
|
|
2210
2179
|
function SheetPortal({
|
|
2211
2180
|
...props
|
|
2212
2181
|
}) {
|
|
2213
|
-
return /* @__PURE__ */
|
|
2182
|
+
return /* @__PURE__ */ jsx29(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
2214
2183
|
}
|
|
2215
2184
|
function SheetOverlay({
|
|
2216
2185
|
className,
|
|
2217
2186
|
...props
|
|
2218
2187
|
}) {
|
|
2219
|
-
return /* @__PURE__ */
|
|
2188
|
+
return /* @__PURE__ */ jsx29(
|
|
2220
2189
|
SheetPrimitive.Overlay,
|
|
2221
2190
|
{
|
|
2222
2191
|
"data-slot": "sheet-overlay",
|
|
@@ -2255,7 +2224,7 @@ function SheetContent({
|
|
|
2255
2224
|
...props
|
|
2256
2225
|
}) {
|
|
2257
2226
|
return /* @__PURE__ */ jsxs13(SheetPortal, { children: [
|
|
2258
|
-
/* @__PURE__ */
|
|
2227
|
+
/* @__PURE__ */ jsx29(SheetOverlay, {}),
|
|
2259
2228
|
/* @__PURE__ */ jsxs13(
|
|
2260
2229
|
SheetPrimitive.Content,
|
|
2261
2230
|
{
|
|
@@ -2265,8 +2234,8 @@ function SheetContent({
|
|
|
2265
2234
|
children: [
|
|
2266
2235
|
children,
|
|
2267
2236
|
showCloseButton ? /* @__PURE__ */ jsxs13(SheetPrimitive.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 transition-[opacity,background-color] hover:bg-ghost-fill-hover hover:opacity-100 focus:ring-2 focus:ring-foreground/10 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
2268
|
-
/* @__PURE__ */
|
|
2269
|
-
/* @__PURE__ */
|
|
2237
|
+
/* @__PURE__ */ jsx29(XIcon, { className: "size-4" }),
|
|
2238
|
+
/* @__PURE__ */ jsx29("span", { className: "sr-only", children: "Close" })
|
|
2270
2239
|
] }) : null
|
|
2271
2240
|
]
|
|
2272
2241
|
}
|
|
@@ -2274,7 +2243,7 @@ function SheetContent({
|
|
|
2274
2243
|
] });
|
|
2275
2244
|
}
|
|
2276
2245
|
function SheetHeader({ className, ...props }) {
|
|
2277
|
-
return /* @__PURE__ */
|
|
2246
|
+
return /* @__PURE__ */ jsx29(
|
|
2278
2247
|
"div",
|
|
2279
2248
|
{
|
|
2280
2249
|
"data-slot": "sheet-header",
|
|
@@ -2284,7 +2253,7 @@ function SheetHeader({ className, ...props }) {
|
|
|
2284
2253
|
);
|
|
2285
2254
|
}
|
|
2286
2255
|
function SheetFooter({ className, ...props }) {
|
|
2287
|
-
return /* @__PURE__ */
|
|
2256
|
+
return /* @__PURE__ */ jsx29(
|
|
2288
2257
|
"div",
|
|
2289
2258
|
{
|
|
2290
2259
|
"data-slot": "sheet-footer",
|
|
@@ -2297,7 +2266,7 @@ function SheetTitle({
|
|
|
2297
2266
|
className,
|
|
2298
2267
|
...props
|
|
2299
2268
|
}) {
|
|
2300
|
-
return /* @__PURE__ */
|
|
2269
|
+
return /* @__PURE__ */ jsx29(
|
|
2301
2270
|
SheetPrimitive.Title,
|
|
2302
2271
|
{
|
|
2303
2272
|
"data-slot": "sheet-title",
|
|
@@ -2310,7 +2279,7 @@ function SheetDescription({
|
|
|
2310
2279
|
className,
|
|
2311
2280
|
...props
|
|
2312
2281
|
}) {
|
|
2313
|
-
return /* @__PURE__ */
|
|
2282
|
+
return /* @__PURE__ */ jsx29(
|
|
2314
2283
|
SheetPrimitive.Description,
|
|
2315
2284
|
{
|
|
2316
2285
|
"data-slot": "sheet-description",
|
|
@@ -2322,27 +2291,27 @@ function SheetDescription({
|
|
|
2322
2291
|
|
|
2323
2292
|
// src/ui/alert-dialog.tsx
|
|
2324
2293
|
import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
|
|
2325
|
-
import { jsx as
|
|
2294
|
+
import { jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2326
2295
|
function AlertDialog({
|
|
2327
2296
|
...props
|
|
2328
2297
|
}) {
|
|
2329
|
-
return /* @__PURE__ */
|
|
2298
|
+
return /* @__PURE__ */ jsx30(AlertDialogPrimitive.Root, { "data-slot": "alert-dialog", ...props });
|
|
2330
2299
|
}
|
|
2331
2300
|
function AlertDialogTrigger({
|
|
2332
2301
|
...props
|
|
2333
2302
|
}) {
|
|
2334
|
-
return /* @__PURE__ */
|
|
2303
|
+
return /* @__PURE__ */ jsx30(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
|
|
2335
2304
|
}
|
|
2336
2305
|
function AlertDialogPortal({
|
|
2337
2306
|
...props
|
|
2338
2307
|
}) {
|
|
2339
|
-
return /* @__PURE__ */
|
|
2308
|
+
return /* @__PURE__ */ jsx30(AlertDialogPrimitive.Portal, { "data-slot": "alert-dialog-portal", ...props });
|
|
2340
2309
|
}
|
|
2341
2310
|
function AlertDialogOverlay({
|
|
2342
2311
|
className,
|
|
2343
2312
|
...props
|
|
2344
2313
|
}) {
|
|
2345
|
-
return /* @__PURE__ */
|
|
2314
|
+
return /* @__PURE__ */ jsx30(
|
|
2346
2315
|
AlertDialogPrimitive.Overlay,
|
|
2347
2316
|
{
|
|
2348
2317
|
"data-slot": "alert-dialog-overlay",
|
|
@@ -2359,8 +2328,8 @@ function AlertDialogContent({
|
|
|
2359
2328
|
...props
|
|
2360
2329
|
}) {
|
|
2361
2330
|
return /* @__PURE__ */ jsxs14(AlertDialogPortal, { children: [
|
|
2362
|
-
/* @__PURE__ */
|
|
2363
|
-
/* @__PURE__ */
|
|
2331
|
+
/* @__PURE__ */ jsx30(AlertDialogOverlay, {}),
|
|
2332
|
+
/* @__PURE__ */ jsx30(
|
|
2364
2333
|
AlertDialogPrimitive.Content,
|
|
2365
2334
|
{
|
|
2366
2335
|
"data-slot": "alert-dialog-content",
|
|
@@ -2375,7 +2344,7 @@ function AlertDialogContent({
|
|
|
2375
2344
|
] });
|
|
2376
2345
|
}
|
|
2377
2346
|
function AlertDialogHeader({ className, ...props }) {
|
|
2378
|
-
return /* @__PURE__ */
|
|
2347
|
+
return /* @__PURE__ */ jsx30(
|
|
2379
2348
|
"div",
|
|
2380
2349
|
{
|
|
2381
2350
|
"data-slot": "alert-dialog-header",
|
|
@@ -2385,7 +2354,7 @@ function AlertDialogHeader({ className, ...props }) {
|
|
|
2385
2354
|
);
|
|
2386
2355
|
}
|
|
2387
2356
|
function AlertDialogFooter({ className, ...props }) {
|
|
2388
|
-
return /* @__PURE__ */
|
|
2357
|
+
return /* @__PURE__ */ jsx30(
|
|
2389
2358
|
"div",
|
|
2390
2359
|
{
|
|
2391
2360
|
"data-slot": "alert-dialog-footer",
|
|
@@ -2401,7 +2370,7 @@ function AlertDialogTitle({
|
|
|
2401
2370
|
className,
|
|
2402
2371
|
...props
|
|
2403
2372
|
}) {
|
|
2404
|
-
return /* @__PURE__ */
|
|
2373
|
+
return /* @__PURE__ */ jsx30(
|
|
2405
2374
|
AlertDialogPrimitive.Title,
|
|
2406
2375
|
{
|
|
2407
2376
|
"data-slot": "alert-dialog-title",
|
|
@@ -2414,7 +2383,7 @@ function AlertDialogDescription({
|
|
|
2414
2383
|
className,
|
|
2415
2384
|
...props
|
|
2416
2385
|
}) {
|
|
2417
|
-
return /* @__PURE__ */
|
|
2386
|
+
return /* @__PURE__ */ jsx30(
|
|
2418
2387
|
AlertDialogPrimitive.Description,
|
|
2419
2388
|
{
|
|
2420
2389
|
"data-slot": "alert-dialog-description",
|
|
@@ -2427,7 +2396,7 @@ function AlertDialogAction({
|
|
|
2427
2396
|
className,
|
|
2428
2397
|
...props
|
|
2429
2398
|
}) {
|
|
2430
|
-
return /* @__PURE__ */
|
|
2399
|
+
return /* @__PURE__ */ jsx30(Button, { asChild: true, children: /* @__PURE__ */ jsx30(
|
|
2431
2400
|
AlertDialogPrimitive.Action,
|
|
2432
2401
|
{
|
|
2433
2402
|
"data-slot": "alert-dialog-action",
|
|
@@ -2440,7 +2409,7 @@ function AlertDialogCancel({
|
|
|
2440
2409
|
className,
|
|
2441
2410
|
...props
|
|
2442
2411
|
}) {
|
|
2443
|
-
return /* @__PURE__ */
|
|
2412
|
+
return /* @__PURE__ */ jsx30(Button, { asChild: true, variant: "outline", children: /* @__PURE__ */ jsx30(
|
|
2444
2413
|
AlertDialogPrimitive.Cancel,
|
|
2445
2414
|
{
|
|
2446
2415
|
"data-slot": "alert-dialog-cancel",
|
|
@@ -2452,22 +2421,22 @@ function AlertDialogCancel({
|
|
|
2452
2421
|
|
|
2453
2422
|
// src/ui/collapsible.tsx
|
|
2454
2423
|
import { Collapsible as CollapsiblePrimitive } from "radix-ui";
|
|
2455
|
-
import { jsx as
|
|
2424
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2456
2425
|
function Collapsible({
|
|
2457
2426
|
...props
|
|
2458
2427
|
}) {
|
|
2459
|
-
return /* @__PURE__ */
|
|
2428
|
+
return /* @__PURE__ */ jsx31(CollapsiblePrimitive.Root, { "data-slot": "collapsible", ...props });
|
|
2460
2429
|
}
|
|
2461
2430
|
function CollapsibleTrigger({
|
|
2462
2431
|
...props
|
|
2463
2432
|
}) {
|
|
2464
|
-
return /* @__PURE__ */
|
|
2433
|
+
return /* @__PURE__ */ jsx31(CollapsiblePrimitive.Trigger, { "data-slot": "collapsible-trigger", ...props });
|
|
2465
2434
|
}
|
|
2466
2435
|
function CollapsibleContent({
|
|
2467
2436
|
className,
|
|
2468
2437
|
...props
|
|
2469
2438
|
}) {
|
|
2470
|
-
return /* @__PURE__ */
|
|
2439
|
+
return /* @__PURE__ */ jsx31(
|
|
2471
2440
|
CollapsiblePrimitive.Content,
|
|
2472
2441
|
{
|
|
2473
2442
|
"data-slot": "collapsible-content",
|
|
@@ -2482,7 +2451,7 @@ function CollapsibleContent({
|
|
|
2482
2451
|
|
|
2483
2452
|
// src/ui/scroll-area.tsx
|
|
2484
2453
|
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
2485
|
-
import { jsx as
|
|
2454
|
+
import { jsx as jsx32, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2486
2455
|
function ScrollArea({
|
|
2487
2456
|
className,
|
|
2488
2457
|
children,
|
|
@@ -2495,7 +2464,7 @@ function ScrollArea({
|
|
|
2495
2464
|
className: cn("relative overflow-hidden", className),
|
|
2496
2465
|
...props,
|
|
2497
2466
|
children: [
|
|
2498
|
-
/* @__PURE__ */
|
|
2467
|
+
/* @__PURE__ */ jsx32(
|
|
2499
2468
|
ScrollAreaPrimitive.Viewport,
|
|
2500
2469
|
{
|
|
2501
2470
|
"data-slot": "scroll-area-viewport",
|
|
@@ -2503,8 +2472,8 @@ function ScrollArea({
|
|
|
2503
2472
|
children
|
|
2504
2473
|
}
|
|
2505
2474
|
),
|
|
2506
|
-
/* @__PURE__ */
|
|
2507
|
-
/* @__PURE__ */
|
|
2475
|
+
/* @__PURE__ */ jsx32(ScrollBar, {}),
|
|
2476
|
+
/* @__PURE__ */ jsx32(ScrollAreaPrimitive.Corner, {})
|
|
2508
2477
|
]
|
|
2509
2478
|
}
|
|
2510
2479
|
);
|
|
@@ -2514,7 +2483,7 @@ function ScrollBar({
|
|
|
2514
2483
|
orientation = "vertical",
|
|
2515
2484
|
...props
|
|
2516
2485
|
}) {
|
|
2517
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsx32(
|
|
2518
2487
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
2519
2488
|
{
|
|
2520
2489
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -2526,7 +2495,7 @@ function ScrollBar({
|
|
|
2526
2495
|
className
|
|
2527
2496
|
),
|
|
2528
2497
|
...props,
|
|
2529
|
-
children: /* @__PURE__ */
|
|
2498
|
+
children: /* @__PURE__ */ jsx32(
|
|
2530
2499
|
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
2531
2500
|
{
|
|
2532
2501
|
"data-slot": "scroll-area-thumb",
|
|
@@ -2540,7 +2509,7 @@ function ScrollBar({
|
|
|
2540
2509
|
// src/ui/toggle.tsx
|
|
2541
2510
|
import { Toggle as TogglePrimitive } from "radix-ui";
|
|
2542
2511
|
import { cva as cva4 } from "class-variance-authority";
|
|
2543
|
-
import { jsx as
|
|
2512
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
2544
2513
|
var toggleVariants = cva4(
|
|
2545
2514
|
"inline-flex items-center justify-center gap-2 rounded-lg text-sm font-medium whitespace-nowrap outline-none transition-[color,box-shadow,background-color,border-color] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
|
|
2546
2515
|
{
|
|
@@ -2577,7 +2546,7 @@ function Toggle({
|
|
|
2577
2546
|
size,
|
|
2578
2547
|
...props
|
|
2579
2548
|
}) {
|
|
2580
|
-
return /* @__PURE__ */
|
|
2549
|
+
return /* @__PURE__ */ jsx33(
|
|
2581
2550
|
TogglePrimitive.Root,
|
|
2582
2551
|
{
|
|
2583
2552
|
"data-slot": "toggle",
|
|
@@ -2589,12 +2558,12 @@ function Toggle({
|
|
|
2589
2558
|
|
|
2590
2559
|
// src/ui/toggle-group.tsx
|
|
2591
2560
|
import { ToggleGroup as ToggleGroupPrimitive } from "radix-ui";
|
|
2592
|
-
import { jsx as
|
|
2561
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2593
2562
|
function ToggleGroup({
|
|
2594
2563
|
className,
|
|
2595
2564
|
...props
|
|
2596
2565
|
}) {
|
|
2597
|
-
return /* @__PURE__ */
|
|
2566
|
+
return /* @__PURE__ */ jsx34(
|
|
2598
2567
|
ToggleGroupPrimitive.Root,
|
|
2599
2568
|
{
|
|
2600
2569
|
"data-slot": "toggle-group",
|
|
@@ -2607,7 +2576,7 @@ function ToggleGroupItem({
|
|
|
2607
2576
|
className,
|
|
2608
2577
|
...props
|
|
2609
2578
|
}) {
|
|
2610
|
-
return /* @__PURE__ */
|
|
2579
|
+
return /* @__PURE__ */ jsx34(
|
|
2611
2580
|
ToggleGroupPrimitive.Item,
|
|
2612
2581
|
{
|
|
2613
2582
|
"data-slot": "toggle-group-item",
|
|
@@ -2619,16 +2588,16 @@ function ToggleGroupItem({
|
|
|
2619
2588
|
|
|
2620
2589
|
// src/ui/hover-card.tsx
|
|
2621
2590
|
import { HoverCard as HoverCardPrimitive } from "radix-ui";
|
|
2622
|
-
import { jsx as
|
|
2591
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2623
2592
|
function HoverCard({
|
|
2624
2593
|
...props
|
|
2625
2594
|
}) {
|
|
2626
|
-
return /* @__PURE__ */
|
|
2595
|
+
return /* @__PURE__ */ jsx35(HoverCardPrimitive.Root, { "data-slot": "hover-card", ...props });
|
|
2627
2596
|
}
|
|
2628
2597
|
function HoverCardTrigger({
|
|
2629
2598
|
...props
|
|
2630
2599
|
}) {
|
|
2631
|
-
return /* @__PURE__ */
|
|
2600
|
+
return /* @__PURE__ */ jsx35(HoverCardPrimitive.Trigger, { "data-slot": "hover-card-trigger", ...props });
|
|
2632
2601
|
}
|
|
2633
2602
|
function HoverCardContent({
|
|
2634
2603
|
className,
|
|
@@ -2636,7 +2605,7 @@ function HoverCardContent({
|
|
|
2636
2605
|
sideOffset = 4,
|
|
2637
2606
|
...props
|
|
2638
2607
|
}) {
|
|
2639
|
-
return /* @__PURE__ */
|
|
2608
|
+
return /* @__PURE__ */ jsx35(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
|
|
2640
2609
|
HoverCardPrimitive.Content,
|
|
2641
2610
|
{
|
|
2642
2611
|
"data-slot": "hover-card-content",
|
|
@@ -2654,28 +2623,28 @@ function HoverCardContent({
|
|
|
2654
2623
|
|
|
2655
2624
|
// src/ui/context-menu.tsx
|
|
2656
2625
|
import { ContextMenu as ContextMenuPrimitive } from "radix-ui";
|
|
2657
|
-
import { CheckIcon as
|
|
2658
|
-
import { jsx as
|
|
2626
|
+
import { CheckIcon as CheckIcon4, ChevronRightIcon as ChevronRightIcon6, CircleIcon as CircleIcon4 } from "lucide-react";
|
|
2627
|
+
import { jsx as jsx36, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2659
2628
|
function ContextMenu({
|
|
2660
2629
|
...props
|
|
2661
2630
|
}) {
|
|
2662
|
-
return /* @__PURE__ */
|
|
2631
|
+
return /* @__PURE__ */ jsx36(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
|
|
2663
2632
|
}
|
|
2664
2633
|
function ContextMenuTrigger({
|
|
2665
2634
|
...props
|
|
2666
2635
|
}) {
|
|
2667
|
-
return /* @__PURE__ */
|
|
2636
|
+
return /* @__PURE__ */ jsx36(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
|
|
2668
2637
|
}
|
|
2669
2638
|
function ContextMenuGroup({
|
|
2670
2639
|
...props
|
|
2671
2640
|
}) {
|
|
2672
|
-
return /* @__PURE__ */
|
|
2641
|
+
return /* @__PURE__ */ jsx36(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
|
|
2673
2642
|
}
|
|
2674
2643
|
function ContextMenuContent({
|
|
2675
2644
|
className,
|
|
2676
2645
|
...props
|
|
2677
2646
|
}) {
|
|
2678
|
-
return /* @__PURE__ */
|
|
2647
|
+
return /* @__PURE__ */ jsx36(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx36(
|
|
2679
2648
|
ContextMenuPrimitive.Content,
|
|
2680
2649
|
{
|
|
2681
2650
|
"data-slot": "context-menu-content",
|
|
@@ -2694,7 +2663,7 @@ function ContextMenuItem({
|
|
|
2694
2663
|
variant = "default",
|
|
2695
2664
|
...props
|
|
2696
2665
|
}) {
|
|
2697
|
-
return /* @__PURE__ */
|
|
2666
|
+
return /* @__PURE__ */ jsx36(
|
|
2698
2667
|
ContextMenuPrimitive.Item,
|
|
2699
2668
|
{
|
|
2700
2669
|
"data-slot": "context-menu-item",
|
|
@@ -2723,7 +2692,7 @@ function ContextMenuCheckboxItem({
|
|
|
2723
2692
|
checked,
|
|
2724
2693
|
...props,
|
|
2725
2694
|
children: [
|
|
2726
|
-
/* @__PURE__ */
|
|
2695
|
+
/* @__PURE__ */ jsx36("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx36(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx36(CheckIcon4, { className: "size-4" }) }) }),
|
|
2727
2696
|
children
|
|
2728
2697
|
]
|
|
2729
2698
|
}
|
|
@@ -2732,7 +2701,7 @@ function ContextMenuCheckboxItem({
|
|
|
2732
2701
|
function ContextMenuRadioGroup({
|
|
2733
2702
|
...props
|
|
2734
2703
|
}) {
|
|
2735
|
-
return /* @__PURE__ */
|
|
2704
|
+
return /* @__PURE__ */ jsx36(
|
|
2736
2705
|
ContextMenuPrimitive.RadioGroup,
|
|
2737
2706
|
{
|
|
2738
2707
|
"data-slot": "context-menu-radio-group",
|
|
@@ -2752,7 +2721,7 @@ function ContextMenuRadioItem({
|
|
|
2752
2721
|
className: cn(overlayItemClass, "py-1.5 pr-2 pl-8", className),
|
|
2753
2722
|
...props,
|
|
2754
2723
|
children: [
|
|
2755
|
-
/* @__PURE__ */
|
|
2724
|
+
/* @__PURE__ */ jsx36("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx36(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx36(CircleIcon4, { className: "size-2 fill-current" }) }) }),
|
|
2756
2725
|
children
|
|
2757
2726
|
]
|
|
2758
2727
|
}
|
|
@@ -2763,7 +2732,7 @@ function ContextMenuLabel({
|
|
|
2763
2732
|
inset,
|
|
2764
2733
|
...props
|
|
2765
2734
|
}) {
|
|
2766
|
-
return /* @__PURE__ */
|
|
2735
|
+
return /* @__PURE__ */ jsx36(
|
|
2767
2736
|
ContextMenuPrimitive.Label,
|
|
2768
2737
|
{
|
|
2769
2738
|
"data-slot": "context-menu-label",
|
|
@@ -2780,7 +2749,7 @@ function ContextMenuSeparator({
|
|
|
2780
2749
|
className,
|
|
2781
2750
|
...props
|
|
2782
2751
|
}) {
|
|
2783
|
-
return /* @__PURE__ */
|
|
2752
|
+
return /* @__PURE__ */ jsx36(
|
|
2784
2753
|
ContextMenuPrimitive.Separator,
|
|
2785
2754
|
{
|
|
2786
2755
|
"data-slot": "context-menu-separator",
|
|
@@ -2793,7 +2762,7 @@ function ContextMenuShortcut({
|
|
|
2793
2762
|
className,
|
|
2794
2763
|
...props
|
|
2795
2764
|
}) {
|
|
2796
|
-
return /* @__PURE__ */
|
|
2765
|
+
return /* @__PURE__ */ jsx36(
|
|
2797
2766
|
"span",
|
|
2798
2767
|
{
|
|
2799
2768
|
"data-slot": "context-menu-shortcut",
|
|
@@ -2808,7 +2777,7 @@ function ContextMenuShortcut({
|
|
|
2808
2777
|
function ContextMenuSub({
|
|
2809
2778
|
...props
|
|
2810
2779
|
}) {
|
|
2811
|
-
return /* @__PURE__ */
|
|
2780
|
+
return /* @__PURE__ */ jsx36(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
|
|
2812
2781
|
}
|
|
2813
2782
|
function ContextMenuSubTrigger({
|
|
2814
2783
|
className,
|
|
@@ -2829,7 +2798,7 @@ function ContextMenuSubTrigger({
|
|
|
2829
2798
|
...props,
|
|
2830
2799
|
children: [
|
|
2831
2800
|
children,
|
|
2832
|
-
/* @__PURE__ */
|
|
2801
|
+
/* @__PURE__ */ jsx36(ChevronRightIcon6, { className: "ml-auto size-4" })
|
|
2833
2802
|
]
|
|
2834
2803
|
}
|
|
2835
2804
|
);
|
|
@@ -2838,7 +2807,7 @@ function ContextMenuSubContent({
|
|
|
2838
2807
|
className,
|
|
2839
2808
|
...props
|
|
2840
2809
|
}) {
|
|
2841
|
-
return /* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ jsx36(
|
|
2842
2811
|
ContextMenuPrimitive.SubContent,
|
|
2843
2812
|
{
|
|
2844
2813
|
"data-slot": "context-menu-sub-content",
|
|
@@ -2854,7 +2823,7 @@ function ContextMenuSubContent({
|
|
|
2854
2823
|
|
|
2855
2824
|
// src/ui/alert.tsx
|
|
2856
2825
|
import { cva as cva5 } from "class-variance-authority";
|
|
2857
|
-
import { jsx as
|
|
2826
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2858
2827
|
var alertVariants = cva5(
|
|
2859
2828
|
"relative grid w-full gap-1 rounded-xl border px-4 py-3 text-sm [&>svg]:absolute [&>svg]:top-3.5 [&>svg]:left-4 [&>svg]:size-4 [&>svg+div]:translate-y-[-3px] [&:has(svg)]:pl-11",
|
|
2860
2829
|
{
|
|
@@ -2874,7 +2843,7 @@ function Alert({
|
|
|
2874
2843
|
variant,
|
|
2875
2844
|
...props
|
|
2876
2845
|
}) {
|
|
2877
|
-
return /* @__PURE__ */
|
|
2846
|
+
return /* @__PURE__ */ jsx37(
|
|
2878
2847
|
"div",
|
|
2879
2848
|
{
|
|
2880
2849
|
"data-slot": "alert",
|
|
@@ -2885,7 +2854,7 @@ function Alert({
|
|
|
2885
2854
|
);
|
|
2886
2855
|
}
|
|
2887
2856
|
function AlertTitle({ className, ...props }) {
|
|
2888
|
-
return /* @__PURE__ */
|
|
2857
|
+
return /* @__PURE__ */ jsx37(
|
|
2889
2858
|
"div",
|
|
2890
2859
|
{
|
|
2891
2860
|
"data-slot": "alert-title",
|
|
@@ -2895,7 +2864,7 @@ function AlertTitle({ className, ...props }) {
|
|
|
2895
2864
|
);
|
|
2896
2865
|
}
|
|
2897
2866
|
function AlertDescription({ className, ...props }) {
|
|
2898
|
-
return /* @__PURE__ */
|
|
2867
|
+
return /* @__PURE__ */ jsx37(
|
|
2899
2868
|
"div",
|
|
2900
2869
|
{
|
|
2901
2870
|
"data-slot": "alert-description",
|
|
@@ -2906,9 +2875,9 @@ function AlertDescription({ className, ...props }) {
|
|
|
2906
2875
|
}
|
|
2907
2876
|
|
|
2908
2877
|
// src/ui/card.tsx
|
|
2909
|
-
import { jsx as
|
|
2878
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2910
2879
|
function Card({ className, ...props }) {
|
|
2911
|
-
return /* @__PURE__ */
|
|
2880
|
+
return /* @__PURE__ */ jsx38(
|
|
2912
2881
|
"div",
|
|
2913
2882
|
{
|
|
2914
2883
|
"data-slot": "card",
|
|
@@ -2922,7 +2891,7 @@ function Card({ className, ...props }) {
|
|
|
2922
2891
|
);
|
|
2923
2892
|
}
|
|
2924
2893
|
function CardHeader({ className, ...props }) {
|
|
2925
|
-
return /* @__PURE__ */
|
|
2894
|
+
return /* @__PURE__ */ jsx38(
|
|
2926
2895
|
"div",
|
|
2927
2896
|
{
|
|
2928
2897
|
"data-slot": "card-header",
|
|
@@ -2932,7 +2901,7 @@ function CardHeader({ className, ...props }) {
|
|
|
2932
2901
|
);
|
|
2933
2902
|
}
|
|
2934
2903
|
function CardTitle({ className, ...props }) {
|
|
2935
|
-
return /* @__PURE__ */
|
|
2904
|
+
return /* @__PURE__ */ jsx38(
|
|
2936
2905
|
"div",
|
|
2937
2906
|
{
|
|
2938
2907
|
"data-slot": "card-title",
|
|
@@ -2942,7 +2911,7 @@ function CardTitle({ className, ...props }) {
|
|
|
2942
2911
|
);
|
|
2943
2912
|
}
|
|
2944
2913
|
function CardDescription({ className, ...props }) {
|
|
2945
|
-
return /* @__PURE__ */
|
|
2914
|
+
return /* @__PURE__ */ jsx38(
|
|
2946
2915
|
"div",
|
|
2947
2916
|
{
|
|
2948
2917
|
"data-slot": "card-description",
|
|
@@ -2952,10 +2921,10 @@ function CardDescription({ className, ...props }) {
|
|
|
2952
2921
|
);
|
|
2953
2922
|
}
|
|
2954
2923
|
function CardContent({ className, ...props }) {
|
|
2955
|
-
return /* @__PURE__ */
|
|
2924
|
+
return /* @__PURE__ */ jsx38("div", { "data-slot": "card-content", className: cn("px-4", className), ...props });
|
|
2956
2925
|
}
|
|
2957
2926
|
function CardFooter({ className, ...props }) {
|
|
2958
|
-
return /* @__PURE__ */
|
|
2927
|
+
return /* @__PURE__ */ jsx38(
|
|
2959
2928
|
"div",
|
|
2960
2929
|
{
|
|
2961
2930
|
"data-slot": "card-footer",
|
|
@@ -2965,23 +2934,10 @@ function CardFooter({ className, ...props }) {
|
|
|
2965
2934
|
);
|
|
2966
2935
|
}
|
|
2967
2936
|
|
|
2968
|
-
// src/ui/skeleton.tsx
|
|
2969
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2970
|
-
function Skeleton({ className, ...props }) {
|
|
2971
|
-
return /* @__PURE__ */ jsx40(
|
|
2972
|
-
"div",
|
|
2973
|
-
{
|
|
2974
|
-
"data-slot": "skeleton",
|
|
2975
|
-
className: cn("animate-pulse rounded-lg bg-muted", className),
|
|
2976
|
-
...props
|
|
2977
|
-
}
|
|
2978
|
-
);
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
2937
|
// src/ui/table.tsx
|
|
2982
|
-
import { jsx as
|
|
2938
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2983
2939
|
function Table({ className, ...props }) {
|
|
2984
|
-
return /* @__PURE__ */
|
|
2940
|
+
return /* @__PURE__ */ jsx39("div", { "data-slot": "table-container", className: "relative w-full overflow-x-auto", children: /* @__PURE__ */ jsx39(
|
|
2985
2941
|
"table",
|
|
2986
2942
|
{
|
|
2987
2943
|
"data-slot": "table",
|
|
@@ -2991,7 +2947,7 @@ function Table({ className, ...props }) {
|
|
|
2991
2947
|
) });
|
|
2992
2948
|
}
|
|
2993
2949
|
function TableHeader({ className, ...props }) {
|
|
2994
|
-
return /* @__PURE__ */
|
|
2950
|
+
return /* @__PURE__ */ jsx39(
|
|
2995
2951
|
"thead",
|
|
2996
2952
|
{
|
|
2997
2953
|
"data-slot": "table-header",
|
|
@@ -3001,7 +2957,7 @@ function TableHeader({ className, ...props }) {
|
|
|
3001
2957
|
);
|
|
3002
2958
|
}
|
|
3003
2959
|
function TableBody({ className, ...props }) {
|
|
3004
|
-
return /* @__PURE__ */
|
|
2960
|
+
return /* @__PURE__ */ jsx39(
|
|
3005
2961
|
"tbody",
|
|
3006
2962
|
{
|
|
3007
2963
|
"data-slot": "table-body",
|
|
@@ -3011,7 +2967,7 @@ function TableBody({ className, ...props }) {
|
|
|
3011
2967
|
);
|
|
3012
2968
|
}
|
|
3013
2969
|
function TableFooter({ className, ...props }) {
|
|
3014
|
-
return /* @__PURE__ */
|
|
2970
|
+
return /* @__PURE__ */ jsx39(
|
|
3015
2971
|
"tfoot",
|
|
3016
2972
|
{
|
|
3017
2973
|
"data-slot": "table-footer",
|
|
@@ -3024,7 +2980,7 @@ function TableFooter({ className, ...props }) {
|
|
|
3024
2980
|
);
|
|
3025
2981
|
}
|
|
3026
2982
|
function TableRow({ className, ...props }) {
|
|
3027
|
-
return /* @__PURE__ */
|
|
2983
|
+
return /* @__PURE__ */ jsx39(
|
|
3028
2984
|
"tr",
|
|
3029
2985
|
{
|
|
3030
2986
|
"data-slot": "table-row",
|
|
@@ -3037,7 +2993,7 @@ function TableRow({ className, ...props }) {
|
|
|
3037
2993
|
);
|
|
3038
2994
|
}
|
|
3039
2995
|
function TableHead({ className, ...props }) {
|
|
3040
|
-
return /* @__PURE__ */
|
|
2996
|
+
return /* @__PURE__ */ jsx39(
|
|
3041
2997
|
"th",
|
|
3042
2998
|
{
|
|
3043
2999
|
"data-slot": "table-head",
|
|
@@ -3050,7 +3006,7 @@ function TableHead({ className, ...props }) {
|
|
|
3050
3006
|
);
|
|
3051
3007
|
}
|
|
3052
3008
|
function TableCell({ className, ...props }) {
|
|
3053
|
-
return /* @__PURE__ */
|
|
3009
|
+
return /* @__PURE__ */ jsx39(
|
|
3054
3010
|
"td",
|
|
3055
3011
|
{
|
|
3056
3012
|
"data-slot": "table-cell",
|
|
@@ -3063,7 +3019,7 @@ function TableCell({ className, ...props }) {
|
|
|
3063
3019
|
);
|
|
3064
3020
|
}
|
|
3065
3021
|
function TableCaption({ className, ...props }) {
|
|
3066
|
-
return /* @__PURE__ */
|
|
3022
|
+
return /* @__PURE__ */ jsx39(
|
|
3067
3023
|
"caption",
|
|
3068
3024
|
{
|
|
3069
3025
|
"data-slot": "table-caption",
|
|
@@ -3076,17 +3032,17 @@ function TableCaption({ className, ...props }) {
|
|
|
3076
3032
|
// src/ui/toast.tsx
|
|
3077
3033
|
import { Toast as ToastPrimitive } from "radix-ui";
|
|
3078
3034
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
3079
|
-
import { jsx as
|
|
3035
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
3080
3036
|
function ToastProvider({
|
|
3081
3037
|
...props
|
|
3082
3038
|
}) {
|
|
3083
|
-
return /* @__PURE__ */
|
|
3039
|
+
return /* @__PURE__ */ jsx40(ToastPrimitive.Provider, { "data-slot": "toast-provider", ...props });
|
|
3084
3040
|
}
|
|
3085
3041
|
function ToastViewport({
|
|
3086
3042
|
className,
|
|
3087
3043
|
...props
|
|
3088
3044
|
}) {
|
|
3089
|
-
return /* @__PURE__ */
|
|
3045
|
+
return /* @__PURE__ */ jsx40(
|
|
3090
3046
|
ToastPrimitive.Viewport,
|
|
3091
3047
|
{
|
|
3092
3048
|
"data-slot": "toast-viewport",
|
|
@@ -3103,7 +3059,7 @@ function Toast({
|
|
|
3103
3059
|
variant = "default",
|
|
3104
3060
|
...props
|
|
3105
3061
|
}) {
|
|
3106
|
-
return /* @__PURE__ */
|
|
3062
|
+
return /* @__PURE__ */ jsx40(
|
|
3107
3063
|
ToastPrimitive.Root,
|
|
3108
3064
|
{
|
|
3109
3065
|
"data-slot": "toast",
|
|
@@ -3122,7 +3078,7 @@ function ToastAction({
|
|
|
3122
3078
|
className,
|
|
3123
3079
|
...props
|
|
3124
3080
|
}) {
|
|
3125
|
-
return /* @__PURE__ */
|
|
3081
|
+
return /* @__PURE__ */ jsx40(
|
|
3126
3082
|
ToastPrimitive.Action,
|
|
3127
3083
|
{
|
|
3128
3084
|
"data-slot": "toast-action",
|
|
@@ -3138,7 +3094,7 @@ function ToastClose({
|
|
|
3138
3094
|
className,
|
|
3139
3095
|
...props
|
|
3140
3096
|
}) {
|
|
3141
|
-
return /* @__PURE__ */
|
|
3097
|
+
return /* @__PURE__ */ jsx40(
|
|
3142
3098
|
ToastPrimitive.Close,
|
|
3143
3099
|
{
|
|
3144
3100
|
"data-slot": "toast-close",
|
|
@@ -3148,7 +3104,7 @@ function ToastClose({
|
|
|
3148
3104
|
),
|
|
3149
3105
|
"toast-close": "",
|
|
3150
3106
|
...props,
|
|
3151
|
-
children: /* @__PURE__ */
|
|
3107
|
+
children: /* @__PURE__ */ jsx40(XIcon2, { className: "size-4" })
|
|
3152
3108
|
}
|
|
3153
3109
|
);
|
|
3154
3110
|
}
|
|
@@ -3156,7 +3112,7 @@ function ToastTitle({
|
|
|
3156
3112
|
className,
|
|
3157
3113
|
...props
|
|
3158
3114
|
}) {
|
|
3159
|
-
return /* @__PURE__ */
|
|
3115
|
+
return /* @__PURE__ */ jsx40(
|
|
3160
3116
|
ToastPrimitive.Title,
|
|
3161
3117
|
{
|
|
3162
3118
|
"data-slot": "toast-title",
|
|
@@ -3169,7 +3125,7 @@ function ToastDescription({
|
|
|
3169
3125
|
className,
|
|
3170
3126
|
...props
|
|
3171
3127
|
}) {
|
|
3172
|
-
return /* @__PURE__ */
|
|
3128
|
+
return /* @__PURE__ */ jsx40(
|
|
3173
3129
|
ToastPrimitive.Description,
|
|
3174
3130
|
{
|
|
3175
3131
|
"data-slot": "toast-description",
|
|
@@ -3248,7 +3204,7 @@ function useToast() {
|
|
|
3248
3204
|
}
|
|
3249
3205
|
|
|
3250
3206
|
// src/ui/toaster.tsx
|
|
3251
|
-
import { jsx as
|
|
3207
|
+
import { jsx as jsx41, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3252
3208
|
function Toaster() {
|
|
3253
3209
|
const { toasts, dismiss } = useToast();
|
|
3254
3210
|
return /* @__PURE__ */ jsxs17(ToastProvider, { children: [
|
|
@@ -3259,15 +3215,15 @@ function Toaster() {
|
|
|
3259
3215
|
onOpenChange: (open) => !open && dismiss(id),
|
|
3260
3216
|
children: [
|
|
3261
3217
|
/* @__PURE__ */ jsxs17("div", { className: "grid gap-1", children: [
|
|
3262
|
-
title ? /* @__PURE__ */
|
|
3263
|
-
description ? /* @__PURE__ */
|
|
3218
|
+
title ? /* @__PURE__ */ jsx41(ToastTitle, { children: title }) : null,
|
|
3219
|
+
description ? /* @__PURE__ */ jsx41(ToastDescription, { children: description }) : null
|
|
3264
3220
|
] }),
|
|
3265
|
-
/* @__PURE__ */
|
|
3221
|
+
/* @__PURE__ */ jsx41(ToastClose, {})
|
|
3266
3222
|
]
|
|
3267
3223
|
},
|
|
3268
3224
|
id
|
|
3269
3225
|
)),
|
|
3270
|
-
/* @__PURE__ */
|
|
3226
|
+
/* @__PURE__ */ jsx41(ToastViewport, {})
|
|
3271
3227
|
] });
|
|
3272
3228
|
}
|
|
3273
3229
|
|
|
@@ -3303,7 +3259,6 @@ export {
|
|
|
3303
3259
|
Input,
|
|
3304
3260
|
Textarea,
|
|
3305
3261
|
Label,
|
|
3306
|
-
Checkbox,
|
|
3307
3262
|
Switch,
|
|
3308
3263
|
RadioGroup,
|
|
3309
3264
|
RadioGroupItem,
|
|
@@ -3463,7 +3418,6 @@ export {
|
|
|
3463
3418
|
CardDescription,
|
|
3464
3419
|
CardContent,
|
|
3465
3420
|
CardFooter,
|
|
3466
|
-
Skeleton,
|
|
3467
3421
|
Table,
|
|
3468
3422
|
TableHeader,
|
|
3469
3423
|
TableBody,
|