@pactor-app/ui 1.46.0 → 1.48.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/{chunk-XA7J5SGA.js → chunk-5FQ5SDIZ.js} +231 -356
- package/dist/{chunk-FU4P7CAM.js → chunk-B2Y6JC36.js} +281 -84
- package/dist/{chunk-QB2RZXDD.js → chunk-PF2FHU2X.js} +821 -876
- package/dist/{chunk-HU2RFIWH.js → chunk-PSEMK4AY.js} +116 -12
- package/dist/{chunk-JV2V4HCI.js → chunk-RLAOCITX.js} +2 -2
- package/dist/{chunk-7OBUSV5S.js → chunk-YHTRCBKF.js} +184 -59
- package/dist/components/index.cjs +1246 -1116
- package/dist/components/index.d.cts +36 -4
- package/dist/components/index.d.ts +36 -4
- package/dist/components/index.js +6 -6
- package/dist/index.cjs +1382 -1148
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/interaction/index.cjs +114 -10
- package/dist/interaction/index.d.cts +35 -1
- package/dist/interaction/index.d.ts +35 -1
- package/dist/interaction/index.js +1 -1
- package/dist/layout/index.cjs +435 -154
- package/dist/layout/index.js +3 -3
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.d.cts +2 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +10 -10
- package/package.json +6 -6
- package/styles.css +35 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
Popover,
|
|
3
3
|
PopoverContent,
|
|
4
4
|
PopoverTrigger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YHTRCBKF.js";
|
|
6
6
|
import {
|
|
7
7
|
Button,
|
|
8
8
|
buttonVariants,
|
|
@@ -415,7 +415,7 @@ function ButtonGroup({ className, ...props }) {
|
|
|
415
415
|
role: "group",
|
|
416
416
|
"data-slot": "button-group",
|
|
417
417
|
className: cn(
|
|
418
|
-
"flex w-fit items-stretch [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 [&>[data-slot=button]]:rounded-none [&>[data-slot=button]]:first:rounded-l-md [&>[data-slot=button]]:last:rounded-r-md [&>[data-slot=button]:not(:first-child)]:-ml-px",
|
|
418
|
+
"flex w-fit items-stretch [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 [&>[data-slot=button]]:rounded-none [&>[data-slot=button]]:first:rounded-l-md [&>[data-slot=button]]:last:rounded-r-md [&>[data-slot=button]:not(:first-child)]:-ml-px [&>[data-slot=dropdown-menu-trigger]]:rounded-none [&>[data-slot=dropdown-menu-trigger]:not(:first-child)]:-ml-px [&>[data-slot=dropdown-menu-trigger]]:last:rounded-r-md",
|
|
419
419
|
className
|
|
420
420
|
),
|
|
421
421
|
...props
|
|
@@ -673,12 +673,56 @@ function CarouselNext({
|
|
|
673
673
|
);
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
+
// src/ui/field.tsx
|
|
677
|
+
import { Field as FieldPrimitive } from "@base-ui/react/field";
|
|
678
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
679
|
+
function Field({ className, ...props }) {
|
|
680
|
+
return /* @__PURE__ */ jsx10(
|
|
681
|
+
FieldPrimitive.Root,
|
|
682
|
+
{
|
|
683
|
+
"data-slot": "field",
|
|
684
|
+
className: cn("flex flex-col gap-2", className),
|
|
685
|
+
...props
|
|
686
|
+
}
|
|
687
|
+
);
|
|
688
|
+
}
|
|
689
|
+
function FieldLabel({ className, ...props }) {
|
|
690
|
+
return /* @__PURE__ */ jsx10(
|
|
691
|
+
FieldPrimitive.Label,
|
|
692
|
+
{
|
|
693
|
+
"data-slot": "field-label",
|
|
694
|
+
className: cn("text-sm leading-none font-medium", className),
|
|
695
|
+
...props
|
|
696
|
+
}
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
function FieldDescription({ className, ...props }) {
|
|
700
|
+
return /* @__PURE__ */ jsx10(
|
|
701
|
+
FieldPrimitive.Description,
|
|
702
|
+
{
|
|
703
|
+
"data-slot": "field-description",
|
|
704
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
705
|
+
...props
|
|
706
|
+
}
|
|
707
|
+
);
|
|
708
|
+
}
|
|
709
|
+
function FieldError({ className, ...props }) {
|
|
710
|
+
return /* @__PURE__ */ jsx10(
|
|
711
|
+
FieldPrimitive.Error,
|
|
712
|
+
{
|
|
713
|
+
"data-slot": "field-error",
|
|
714
|
+
className: cn("text-sm text-destructive", className),
|
|
715
|
+
...props
|
|
716
|
+
}
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
|
|
676
720
|
// src/ui/checkbox.tsx
|
|
677
721
|
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
678
722
|
import { CheckIcon, MinusIcon } from "lucide-react";
|
|
679
|
-
import { jsx as
|
|
723
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
680
724
|
function Checkbox({ className, indeterminate, ...props }) {
|
|
681
|
-
return /* @__PURE__ */
|
|
725
|
+
return /* @__PURE__ */ jsx11(
|
|
682
726
|
CheckboxPrimitive.Root,
|
|
683
727
|
{
|
|
684
728
|
"data-slot": "checkbox",
|
|
@@ -688,12 +732,12 @@ function Checkbox({ className, indeterminate, ...props }) {
|
|
|
688
732
|
className
|
|
689
733
|
),
|
|
690
734
|
...props,
|
|
691
|
-
children: /* @__PURE__ */
|
|
735
|
+
children: /* @__PURE__ */ jsx11(
|
|
692
736
|
CheckboxPrimitive.Indicator,
|
|
693
737
|
{
|
|
694
738
|
"data-slot": "checkbox-indicator",
|
|
695
739
|
className: "flex items-center justify-center text-current",
|
|
696
|
-
children: indeterminate ? /* @__PURE__ */
|
|
740
|
+
children: indeterminate ? /* @__PURE__ */ jsx11(MinusIcon, { className: "size-3.5" }) : /* @__PURE__ */ jsx11(CheckIcon, { className: "size-3.5" })
|
|
697
741
|
}
|
|
698
742
|
)
|
|
699
743
|
}
|
|
@@ -703,11 +747,11 @@ function Checkbox({ className, indeterminate, ...props }) {
|
|
|
703
747
|
// src/ui/collapsible.tsx
|
|
704
748
|
import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
|
|
705
749
|
import { ChevronDownIcon } from "lucide-react";
|
|
706
|
-
import { jsx as
|
|
750
|
+
import { jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
707
751
|
function Collapsible({
|
|
708
752
|
...props
|
|
709
753
|
}) {
|
|
710
|
-
return /* @__PURE__ */
|
|
754
|
+
return /* @__PURE__ */ jsx12(CollapsiblePrimitive.Root, { "data-slot": "collapsible", ...props });
|
|
711
755
|
}
|
|
712
756
|
function CollapsibleTrigger({
|
|
713
757
|
className,
|
|
@@ -725,7 +769,7 @@ function CollapsibleTrigger({
|
|
|
725
769
|
...props,
|
|
726
770
|
children: [
|
|
727
771
|
children,
|
|
728
|
-
/* @__PURE__ */
|
|
772
|
+
/* @__PURE__ */ jsx12(ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
729
773
|
]
|
|
730
774
|
}
|
|
731
775
|
);
|
|
@@ -734,7 +778,7 @@ function CollapsibleContent({
|
|
|
734
778
|
className,
|
|
735
779
|
...props
|
|
736
780
|
}) {
|
|
737
|
-
return /* @__PURE__ */
|
|
781
|
+
return /* @__PURE__ */ jsx12(
|
|
738
782
|
CollapsiblePrimitive.Panel,
|
|
739
783
|
{
|
|
740
784
|
"data-slot": "collapsible-content",
|
|
@@ -749,13 +793,13 @@ function CollapsibleContent({
|
|
|
749
793
|
|
|
750
794
|
// src/ui/combobox.tsx
|
|
751
795
|
import { ChevronsUpDownIcon } from "lucide-react";
|
|
752
|
-
import { jsx as
|
|
796
|
+
import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
753
797
|
function Combobox({
|
|
754
798
|
open,
|
|
755
799
|
onOpenChange,
|
|
756
800
|
children
|
|
757
801
|
}) {
|
|
758
|
-
return /* @__PURE__ */
|
|
802
|
+
return /* @__PURE__ */ jsx13(Popover, { open, onOpenChange: (next) => onOpenChange?.(next), children });
|
|
759
803
|
}
|
|
760
804
|
function ComboboxTrigger({
|
|
761
805
|
className,
|
|
@@ -774,9 +818,9 @@ function ComboboxTrigger({
|
|
|
774
818
|
),
|
|
775
819
|
...props,
|
|
776
820
|
children: [
|
|
777
|
-
/* @__PURE__ */
|
|
821
|
+
/* @__PURE__ */ jsx13("span", { className: "min-w-0 flex-1 truncate text-left", children }),
|
|
778
822
|
endAdornment,
|
|
779
|
-
/* @__PURE__ */
|
|
823
|
+
/* @__PURE__ */ jsx13(ChevronsUpDownIcon, { className: cn("size-4 shrink-0 opacity-50", iconClassName) })
|
|
780
824
|
]
|
|
781
825
|
}
|
|
782
826
|
);
|
|
@@ -786,7 +830,7 @@ function ComboboxContent({
|
|
|
786
830
|
children,
|
|
787
831
|
...props
|
|
788
832
|
}) {
|
|
789
|
-
return /* @__PURE__ */
|
|
833
|
+
return /* @__PURE__ */ jsx13(
|
|
790
834
|
PopoverContent,
|
|
791
835
|
{
|
|
792
836
|
"data-slot": "combobox-content",
|
|
@@ -800,12 +844,12 @@ function ComboboxContent({
|
|
|
800
844
|
// src/ui/command.tsx
|
|
801
845
|
import { Command as CommandPrimitive } from "cmdk";
|
|
802
846
|
import { SearchIcon } from "lucide-react";
|
|
803
|
-
import { jsx as
|
|
847
|
+
import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
804
848
|
function Command({
|
|
805
849
|
className,
|
|
806
850
|
...props
|
|
807
851
|
}) {
|
|
808
|
-
return /* @__PURE__ */
|
|
852
|
+
return /* @__PURE__ */ jsx14(
|
|
809
853
|
CommandPrimitive,
|
|
810
854
|
{
|
|
811
855
|
"data-slot": "command",
|
|
@@ -827,8 +871,8 @@ function CommandInput({
|
|
|
827
871
|
"data-slot": "command-input-wrapper",
|
|
828
872
|
className: "flex items-center gap-2 border-b border-border px-3",
|
|
829
873
|
children: [
|
|
830
|
-
/* @__PURE__ */
|
|
831
|
-
/* @__PURE__ */
|
|
874
|
+
/* @__PURE__ */ jsx14(SearchIcon, { className: "size-4 shrink-0 opacity-50" }),
|
|
875
|
+
/* @__PURE__ */ jsx14(
|
|
832
876
|
CommandPrimitive.Input,
|
|
833
877
|
{
|
|
834
878
|
"data-slot": "command-input",
|
|
@@ -847,7 +891,7 @@ function CommandList({
|
|
|
847
891
|
className,
|
|
848
892
|
...props
|
|
849
893
|
}) {
|
|
850
|
-
return /* @__PURE__ */
|
|
894
|
+
return /* @__PURE__ */ jsx14(
|
|
851
895
|
CommandPrimitive.List,
|
|
852
896
|
{
|
|
853
897
|
"data-slot": "command-list",
|
|
@@ -862,7 +906,7 @@ function CommandList({
|
|
|
862
906
|
function CommandEmpty({
|
|
863
907
|
...props
|
|
864
908
|
}) {
|
|
865
|
-
return /* @__PURE__ */
|
|
909
|
+
return /* @__PURE__ */ jsx14(
|
|
866
910
|
CommandPrimitive.Empty,
|
|
867
911
|
{
|
|
868
912
|
"data-slot": "command-empty",
|
|
@@ -875,7 +919,7 @@ function CommandGroup({
|
|
|
875
919
|
className,
|
|
876
920
|
...props
|
|
877
921
|
}) {
|
|
878
|
-
return /* @__PURE__ */
|
|
922
|
+
return /* @__PURE__ */ jsx14(
|
|
879
923
|
CommandPrimitive.Group,
|
|
880
924
|
{
|
|
881
925
|
"data-slot": "command-group",
|
|
@@ -891,7 +935,7 @@ function CommandItem({
|
|
|
891
935
|
className,
|
|
892
936
|
...props
|
|
893
937
|
}) {
|
|
894
|
-
return /* @__PURE__ */
|
|
938
|
+
return /* @__PURE__ */ jsx14(
|
|
895
939
|
CommandPrimitive.Item,
|
|
896
940
|
{
|
|
897
941
|
"data-slot": "command-item",
|
|
@@ -905,12 +949,12 @@ function CommandItem({
|
|
|
905
949
|
}
|
|
906
950
|
|
|
907
951
|
// src/ui/textarea.tsx
|
|
908
|
-
import { jsx as
|
|
952
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
909
953
|
function Textarea({
|
|
910
954
|
className,
|
|
911
955
|
...props
|
|
912
956
|
}) {
|
|
913
|
-
return /* @__PURE__ */
|
|
957
|
+
return /* @__PURE__ */ jsx15(
|
|
914
958
|
"textarea",
|
|
915
959
|
{
|
|
916
960
|
"data-slot": "textarea",
|
|
@@ -925,22 +969,22 @@ function Textarea({
|
|
|
925
969
|
|
|
926
970
|
// src/ui/context-menu.tsx
|
|
927
971
|
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
928
|
-
import { jsx as
|
|
972
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
929
973
|
function ContextMenu({
|
|
930
974
|
...props
|
|
931
975
|
}) {
|
|
932
|
-
return /* @__PURE__ */
|
|
976
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
|
|
933
977
|
}
|
|
934
978
|
function ContextMenuTrigger({
|
|
935
979
|
...props
|
|
936
980
|
}) {
|
|
937
|
-
return /* @__PURE__ */
|
|
981
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
|
|
938
982
|
}
|
|
939
983
|
function ContextMenuContent({
|
|
940
984
|
className,
|
|
941
985
|
...props
|
|
942
986
|
}) {
|
|
943
|
-
return /* @__PURE__ */
|
|
987
|
+
return /* @__PURE__ */ jsx16(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx16(ContextMenuPrimitive.Positioner, { className: "isolate z-50", children: /* @__PURE__ */ jsx16(
|
|
944
988
|
ContextMenuPrimitive.Popup,
|
|
945
989
|
{
|
|
946
990
|
"data-slot": "context-menu-content",
|
|
@@ -957,7 +1001,7 @@ function ContextMenuItem({
|
|
|
957
1001
|
variant = "default",
|
|
958
1002
|
...props
|
|
959
1003
|
}) {
|
|
960
|
-
return /* @__PURE__ */
|
|
1004
|
+
return /* @__PURE__ */ jsx16(
|
|
961
1005
|
ContextMenuPrimitive.Item,
|
|
962
1006
|
{
|
|
963
1007
|
"data-slot": "context-menu-item",
|
|
@@ -974,7 +1018,7 @@ function ContextMenuSeparator({
|
|
|
974
1018
|
className,
|
|
975
1019
|
...props
|
|
976
1020
|
}) {
|
|
977
|
-
return /* @__PURE__ */
|
|
1021
|
+
return /* @__PURE__ */ jsx16(
|
|
978
1022
|
ContextMenuPrimitive.Separator,
|
|
979
1023
|
{
|
|
980
1024
|
"data-slot": "context-menu-separator",
|
|
@@ -985,20 +1029,20 @@ function ContextMenuSeparator({
|
|
|
985
1029
|
}
|
|
986
1030
|
|
|
987
1031
|
// src/ui/table.tsx
|
|
988
|
-
import { jsx as
|
|
1032
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
989
1033
|
function Table({
|
|
990
1034
|
className,
|
|
991
1035
|
containerClassName,
|
|
992
1036
|
containerStyle,
|
|
993
1037
|
...props
|
|
994
1038
|
}) {
|
|
995
|
-
return /* @__PURE__ */
|
|
1039
|
+
return /* @__PURE__ */ jsx17(
|
|
996
1040
|
"div",
|
|
997
1041
|
{
|
|
998
1042
|
"data-slot": "table-container",
|
|
999
1043
|
className: cn("relative w-full overflow-x-auto", containerClassName),
|
|
1000
1044
|
style: containerStyle,
|
|
1001
|
-
children: /* @__PURE__ */
|
|
1045
|
+
children: /* @__PURE__ */ jsx17(
|
|
1002
1046
|
"table",
|
|
1003
1047
|
{
|
|
1004
1048
|
"data-slot": "table",
|
|
@@ -1010,7 +1054,7 @@ function Table({
|
|
|
1010
1054
|
);
|
|
1011
1055
|
}
|
|
1012
1056
|
function TableHeader({ className, ...props }) {
|
|
1013
|
-
return /* @__PURE__ */
|
|
1057
|
+
return /* @__PURE__ */ jsx17(
|
|
1014
1058
|
"thead",
|
|
1015
1059
|
{
|
|
1016
1060
|
"data-slot": "table-header",
|
|
@@ -1020,7 +1064,7 @@ function TableHeader({ className, ...props }) {
|
|
|
1020
1064
|
);
|
|
1021
1065
|
}
|
|
1022
1066
|
function TableBody({ className, ...props }) {
|
|
1023
|
-
return /* @__PURE__ */
|
|
1067
|
+
return /* @__PURE__ */ jsx17(
|
|
1024
1068
|
"tbody",
|
|
1025
1069
|
{
|
|
1026
1070
|
"data-slot": "table-body",
|
|
@@ -1030,7 +1074,7 @@ function TableBody({ className, ...props }) {
|
|
|
1030
1074
|
);
|
|
1031
1075
|
}
|
|
1032
1076
|
function TableFooter({ className, ...props }) {
|
|
1033
|
-
return /* @__PURE__ */
|
|
1077
|
+
return /* @__PURE__ */ jsx17(
|
|
1034
1078
|
"tfoot",
|
|
1035
1079
|
{
|
|
1036
1080
|
"data-slot": "table-footer",
|
|
@@ -1043,7 +1087,7 @@ function TableFooter({ className, ...props }) {
|
|
|
1043
1087
|
);
|
|
1044
1088
|
}
|
|
1045
1089
|
function TableRow({ className, ...props }) {
|
|
1046
|
-
return /* @__PURE__ */
|
|
1090
|
+
return /* @__PURE__ */ jsx17(
|
|
1047
1091
|
"tr",
|
|
1048
1092
|
{
|
|
1049
1093
|
"data-slot": "table-row",
|
|
@@ -1056,7 +1100,7 @@ function TableRow({ className, ...props }) {
|
|
|
1056
1100
|
);
|
|
1057
1101
|
}
|
|
1058
1102
|
function TableHead({ className, ...props }) {
|
|
1059
|
-
return /* @__PURE__ */
|
|
1103
|
+
return /* @__PURE__ */ jsx17(
|
|
1060
1104
|
"th",
|
|
1061
1105
|
{
|
|
1062
1106
|
"data-slot": "table-head",
|
|
@@ -1069,7 +1113,7 @@ function TableHead({ className, ...props }) {
|
|
|
1069
1113
|
);
|
|
1070
1114
|
}
|
|
1071
1115
|
function TableCell({ className, ...props }) {
|
|
1072
|
-
return /* @__PURE__ */
|
|
1116
|
+
return /* @__PURE__ */ jsx17(
|
|
1073
1117
|
"td",
|
|
1074
1118
|
{
|
|
1075
1119
|
"data-slot": "table-cell",
|
|
@@ -1085,7 +1129,7 @@ function TableCaption({
|
|
|
1085
1129
|
className,
|
|
1086
1130
|
...props
|
|
1087
1131
|
}) {
|
|
1088
|
-
return /* @__PURE__ */
|
|
1132
|
+
return /* @__PURE__ */ jsx17(
|
|
1089
1133
|
"caption",
|
|
1090
1134
|
{
|
|
1091
1135
|
"data-slot": "table-caption",
|
|
@@ -1095,123 +1139,6 @@ function TableCaption({
|
|
|
1095
1139
|
);
|
|
1096
1140
|
}
|
|
1097
1141
|
|
|
1098
|
-
// src/ui/dropdown-menu.tsx
|
|
1099
|
-
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
1100
|
-
import { ChevronRightIcon as ChevronRightIcon4 } from "lucide-react";
|
|
1101
|
-
import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1102
|
-
function DropdownMenu({
|
|
1103
|
-
...props
|
|
1104
|
-
}) {
|
|
1105
|
-
return /* @__PURE__ */ jsx17(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
1106
|
-
}
|
|
1107
|
-
function DropdownMenuTrigger({
|
|
1108
|
-
...props
|
|
1109
|
-
}) {
|
|
1110
|
-
return /* @__PURE__ */ jsx17(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
|
|
1111
|
-
}
|
|
1112
|
-
function DropdownMenuContent({
|
|
1113
|
-
className,
|
|
1114
|
-
align = "start",
|
|
1115
|
-
side = "bottom",
|
|
1116
|
-
sideOffset = 4,
|
|
1117
|
-
...props
|
|
1118
|
-
}) {
|
|
1119
|
-
return /* @__PURE__ */ jsx17(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx17(
|
|
1120
|
-
MenuPrimitive.Positioner,
|
|
1121
|
-
{
|
|
1122
|
-
align,
|
|
1123
|
-
side,
|
|
1124
|
-
sideOffset,
|
|
1125
|
-
className: "isolate z-50",
|
|
1126
|
-
children: /* @__PURE__ */ jsx17(
|
|
1127
|
-
MenuPrimitive.Popup,
|
|
1128
|
-
{
|
|
1129
|
-
"data-slot": "dropdown-menu-content",
|
|
1130
|
-
className: cn(
|
|
1131
|
-
"z-50 max-h-(--available-height) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md shadow-(color:--shadow-color) duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1132
|
-
className
|
|
1133
|
-
),
|
|
1134
|
-
...props
|
|
1135
|
-
}
|
|
1136
|
-
)
|
|
1137
|
-
}
|
|
1138
|
-
) });
|
|
1139
|
-
}
|
|
1140
|
-
function DropdownMenuItem({
|
|
1141
|
-
className,
|
|
1142
|
-
variant = "default",
|
|
1143
|
-
...props
|
|
1144
|
-
}) {
|
|
1145
|
-
return /* @__PURE__ */ jsx17(
|
|
1146
|
-
MenuPrimitive.Item,
|
|
1147
|
-
{
|
|
1148
|
-
"data-slot": "dropdown-menu-item",
|
|
1149
|
-
"data-variant": variant,
|
|
1150
|
-
className: cn(
|
|
1151
|
-
"relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-(--menu-hover-background) focus:text-(--menu-hover-foreground) data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1152
|
-
className
|
|
1153
|
-
),
|
|
1154
|
-
...props
|
|
1155
|
-
}
|
|
1156
|
-
);
|
|
1157
|
-
}
|
|
1158
|
-
function DropdownMenuSeparator({
|
|
1159
|
-
className,
|
|
1160
|
-
...props
|
|
1161
|
-
}) {
|
|
1162
|
-
return /* @__PURE__ */ jsx17(
|
|
1163
|
-
MenuPrimitive.Separator,
|
|
1164
|
-
{
|
|
1165
|
-
"data-slot": "dropdown-menu-separator",
|
|
1166
|
-
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
1167
|
-
...props
|
|
1168
|
-
}
|
|
1169
|
-
);
|
|
1170
|
-
}
|
|
1171
|
-
function DropdownMenuSub({
|
|
1172
|
-
...props
|
|
1173
|
-
}) {
|
|
1174
|
-
return /* @__PURE__ */ jsx17(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
|
|
1175
|
-
}
|
|
1176
|
-
function DropdownMenuSubTrigger({
|
|
1177
|
-
className,
|
|
1178
|
-
children,
|
|
1179
|
-
...props
|
|
1180
|
-
}) {
|
|
1181
|
-
return /* @__PURE__ */ jsxs7(
|
|
1182
|
-
MenuPrimitive.SubmenuTrigger,
|
|
1183
|
-
{
|
|
1184
|
-
"data-slot": "dropdown-menu-sub-trigger",
|
|
1185
|
-
className: cn(
|
|
1186
|
-
"flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-(--menu-hover-background) focus:text-(--menu-hover-foreground) data-open:bg-(--menu-active-background) data-open:text-(--menu-active-foreground) [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1187
|
-
className
|
|
1188
|
-
),
|
|
1189
|
-
...props,
|
|
1190
|
-
children: [
|
|
1191
|
-
children,
|
|
1192
|
-
/* @__PURE__ */ jsx17(ChevronRightIcon4, { className: "ml-auto" })
|
|
1193
|
-
]
|
|
1194
|
-
}
|
|
1195
|
-
);
|
|
1196
|
-
}
|
|
1197
|
-
function DropdownMenuSubContent({
|
|
1198
|
-
className,
|
|
1199
|
-
sideOffset = 2,
|
|
1200
|
-
...props
|
|
1201
|
-
}) {
|
|
1202
|
-
return /* @__PURE__ */ jsx17(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx17(MenuPrimitive.Positioner, { sideOffset, className: "isolate z-50", children: /* @__PURE__ */ jsx17(
|
|
1203
|
-
MenuPrimitive.Popup,
|
|
1204
|
-
{
|
|
1205
|
-
"data-slot": "dropdown-menu-sub-content",
|
|
1206
|
-
className: cn(
|
|
1207
|
-
"z-50 min-w-32 origin-(--transform-origin) overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md shadow-(color:--shadow-color) duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1208
|
-
className
|
|
1209
|
-
),
|
|
1210
|
-
...props
|
|
1211
|
-
}
|
|
1212
|
-
) }) });
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
1142
|
// src/ui/empty.tsx
|
|
1216
1143
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1217
1144
|
function Empty({ className, ...props }) {
|
|
@@ -1271,62 +1198,18 @@ function EmptyContent({ className, ...props }) {
|
|
|
1271
1198
|
);
|
|
1272
1199
|
}
|
|
1273
1200
|
|
|
1274
|
-
// src/ui/field.tsx
|
|
1275
|
-
import { Field as FieldPrimitive } from "@base-ui/react/field";
|
|
1276
|
-
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1277
|
-
function Field({ className, ...props }) {
|
|
1278
|
-
return /* @__PURE__ */ jsx19(
|
|
1279
|
-
FieldPrimitive.Root,
|
|
1280
|
-
{
|
|
1281
|
-
"data-slot": "field",
|
|
1282
|
-
className: cn("flex flex-col gap-2", className),
|
|
1283
|
-
...props
|
|
1284
|
-
}
|
|
1285
|
-
);
|
|
1286
|
-
}
|
|
1287
|
-
function FieldLabel({ className, ...props }) {
|
|
1288
|
-
return /* @__PURE__ */ jsx19(
|
|
1289
|
-
FieldPrimitive.Label,
|
|
1290
|
-
{
|
|
1291
|
-
"data-slot": "field-label",
|
|
1292
|
-
className: cn("text-sm leading-none font-medium", className),
|
|
1293
|
-
...props
|
|
1294
|
-
}
|
|
1295
|
-
);
|
|
1296
|
-
}
|
|
1297
|
-
function FieldDescription({ className, ...props }) {
|
|
1298
|
-
return /* @__PURE__ */ jsx19(
|
|
1299
|
-
FieldPrimitive.Description,
|
|
1300
|
-
{
|
|
1301
|
-
"data-slot": "field-description",
|
|
1302
|
-
className: cn("text-sm text-muted-foreground", className),
|
|
1303
|
-
...props
|
|
1304
|
-
}
|
|
1305
|
-
);
|
|
1306
|
-
}
|
|
1307
|
-
function FieldError({ className, ...props }) {
|
|
1308
|
-
return /* @__PURE__ */ jsx19(
|
|
1309
|
-
FieldPrimitive.Error,
|
|
1310
|
-
{
|
|
1311
|
-
"data-slot": "field-error",
|
|
1312
|
-
className: cn("text-sm text-destructive", className),
|
|
1313
|
-
...props
|
|
1314
|
-
}
|
|
1315
|
-
);
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
1201
|
// src/ui/hover-card.tsx
|
|
1319
1202
|
import { PreviewCard as PreviewCardPrimitive } from "@base-ui/react/preview-card";
|
|
1320
|
-
import { jsx as
|
|
1203
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1321
1204
|
function HoverCard({
|
|
1322
1205
|
...props
|
|
1323
1206
|
}) {
|
|
1324
|
-
return /* @__PURE__ */
|
|
1207
|
+
return /* @__PURE__ */ jsx19(PreviewCardPrimitive.Root, { "data-slot": "hover-card", ...props });
|
|
1325
1208
|
}
|
|
1326
1209
|
function HoverCardTrigger({
|
|
1327
1210
|
...props
|
|
1328
1211
|
}) {
|
|
1329
|
-
return /* @__PURE__ */
|
|
1212
|
+
return /* @__PURE__ */ jsx19(PreviewCardPrimitive.Trigger, { "data-slot": "hover-card-trigger", ...props });
|
|
1330
1213
|
}
|
|
1331
1214
|
function HoverCardContent({
|
|
1332
1215
|
className,
|
|
@@ -1335,14 +1218,14 @@ function HoverCardContent({
|
|
|
1335
1218
|
sideOffset = 4,
|
|
1336
1219
|
...props
|
|
1337
1220
|
}) {
|
|
1338
|
-
return /* @__PURE__ */
|
|
1221
|
+
return /* @__PURE__ */ jsx19(PreviewCardPrimitive.Portal, { children: /* @__PURE__ */ jsx19(
|
|
1339
1222
|
PreviewCardPrimitive.Positioner,
|
|
1340
1223
|
{
|
|
1341
1224
|
align,
|
|
1342
1225
|
side,
|
|
1343
1226
|
sideOffset,
|
|
1344
1227
|
className: "isolate z-50",
|
|
1345
|
-
children: /* @__PURE__ */
|
|
1228
|
+
children: /* @__PURE__ */ jsx19(
|
|
1346
1229
|
PreviewCardPrimitive.Popup,
|
|
1347
1230
|
{
|
|
1348
1231
|
"data-slot": "hover-card-content",
|
|
@@ -1358,9 +1241,9 @@ function HoverCardContent({
|
|
|
1358
1241
|
}
|
|
1359
1242
|
|
|
1360
1243
|
// src/ui/input-group.tsx
|
|
1361
|
-
import { jsx as
|
|
1244
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1362
1245
|
function InputGroup({ className, ...props }) {
|
|
1363
|
-
return /* @__PURE__ */
|
|
1246
|
+
return /* @__PURE__ */ jsx20(
|
|
1364
1247
|
"div",
|
|
1365
1248
|
{
|
|
1366
1249
|
"data-slot": "input-group",
|
|
@@ -1382,7 +1265,7 @@ function InputGroupAddon({
|
|
|
1382
1265
|
align = "inline-start",
|
|
1383
1266
|
...props
|
|
1384
1267
|
}) {
|
|
1385
|
-
return /* @__PURE__ */
|
|
1268
|
+
return /* @__PURE__ */ jsx20(
|
|
1386
1269
|
"div",
|
|
1387
1270
|
{
|
|
1388
1271
|
role: "group",
|
|
@@ -1401,7 +1284,7 @@ function InputGroupInput({
|
|
|
1401
1284
|
className,
|
|
1402
1285
|
...props
|
|
1403
1286
|
}) {
|
|
1404
|
-
return /* @__PURE__ */
|
|
1287
|
+
return /* @__PURE__ */ jsx20(
|
|
1405
1288
|
"input",
|
|
1406
1289
|
{
|
|
1407
1290
|
"data-slot": "input-group-input",
|
|
@@ -1418,13 +1301,13 @@ function InputGroupInput({
|
|
|
1418
1301
|
import { OTPInput, OTPInputContext } from "input-otp";
|
|
1419
1302
|
import { MinusIcon as MinusIcon2 } from "lucide-react";
|
|
1420
1303
|
import * as React3 from "react";
|
|
1421
|
-
import { jsx as
|
|
1304
|
+
import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1422
1305
|
function InputOTP({
|
|
1423
1306
|
className,
|
|
1424
1307
|
containerClassName,
|
|
1425
1308
|
...props
|
|
1426
1309
|
}) {
|
|
1427
|
-
return /* @__PURE__ */
|
|
1310
|
+
return /* @__PURE__ */ jsx21(
|
|
1428
1311
|
OTPInput,
|
|
1429
1312
|
{
|
|
1430
1313
|
"data-slot": "input-otp",
|
|
@@ -1438,7 +1321,7 @@ function InputOTP({
|
|
|
1438
1321
|
);
|
|
1439
1322
|
}
|
|
1440
1323
|
function InputOTPGroup({ className, ...props }) {
|
|
1441
|
-
return /* @__PURE__ */
|
|
1324
|
+
return /* @__PURE__ */ jsx21(
|
|
1442
1325
|
"div",
|
|
1443
1326
|
{
|
|
1444
1327
|
"data-slot": "input-otp-group",
|
|
@@ -1454,7 +1337,7 @@ function InputOTPSlot({
|
|
|
1454
1337
|
}) {
|
|
1455
1338
|
const inputOTPContext = React3.useContext(OTPInputContext);
|
|
1456
1339
|
const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
|
|
1457
|
-
return /* @__PURE__ */
|
|
1340
|
+
return /* @__PURE__ */ jsxs7(
|
|
1458
1341
|
"div",
|
|
1459
1342
|
{
|
|
1460
1343
|
"data-slot": "input-otp-slot",
|
|
@@ -1466,19 +1349,19 @@ function InputOTPSlot({
|
|
|
1466
1349
|
...props,
|
|
1467
1350
|
children: [
|
|
1468
1351
|
char,
|
|
1469
|
-
hasFakeCaret ? /* @__PURE__ */
|
|
1352
|
+
hasFakeCaret ? /* @__PURE__ */ jsx21("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx21("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) }) : null
|
|
1470
1353
|
]
|
|
1471
1354
|
}
|
|
1472
1355
|
);
|
|
1473
1356
|
}
|
|
1474
1357
|
function InputOTPSeparator({ ...props }) {
|
|
1475
|
-
return /* @__PURE__ */
|
|
1358
|
+
return /* @__PURE__ */ jsx21("div", { "data-slot": "input-otp-separator", role: "separator", ...props, children: /* @__PURE__ */ jsx21(MinusIcon2, {}) });
|
|
1476
1359
|
}
|
|
1477
1360
|
|
|
1478
1361
|
// src/ui/item.tsx
|
|
1479
|
-
import { jsx as
|
|
1362
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
1480
1363
|
function Item({ className, ...props }) {
|
|
1481
|
-
return /* @__PURE__ */
|
|
1364
|
+
return /* @__PURE__ */ jsx22(
|
|
1482
1365
|
"div",
|
|
1483
1366
|
{
|
|
1484
1367
|
"data-slot": "item",
|
|
@@ -1491,7 +1374,7 @@ function Item({ className, ...props }) {
|
|
|
1491
1374
|
);
|
|
1492
1375
|
}
|
|
1493
1376
|
function ItemMedia({ className, ...props }) {
|
|
1494
|
-
return /* @__PURE__ */
|
|
1377
|
+
return /* @__PURE__ */ jsx22(
|
|
1495
1378
|
"div",
|
|
1496
1379
|
{
|
|
1497
1380
|
"data-slot": "item-media",
|
|
@@ -1504,7 +1387,7 @@ function ItemMedia({ className, ...props }) {
|
|
|
1504
1387
|
);
|
|
1505
1388
|
}
|
|
1506
1389
|
function ItemContent({ className, ...props }) {
|
|
1507
|
-
return /* @__PURE__ */
|
|
1390
|
+
return /* @__PURE__ */ jsx22(
|
|
1508
1391
|
"div",
|
|
1509
1392
|
{
|
|
1510
1393
|
"data-slot": "item-content",
|
|
@@ -1514,7 +1397,7 @@ function ItemContent({ className, ...props }) {
|
|
|
1514
1397
|
);
|
|
1515
1398
|
}
|
|
1516
1399
|
function ItemTitle({ className, ...props }) {
|
|
1517
|
-
return /* @__PURE__ */
|
|
1400
|
+
return /* @__PURE__ */ jsx22(
|
|
1518
1401
|
"div",
|
|
1519
1402
|
{
|
|
1520
1403
|
"data-slot": "item-title",
|
|
@@ -1524,7 +1407,7 @@ function ItemTitle({ className, ...props }) {
|
|
|
1524
1407
|
);
|
|
1525
1408
|
}
|
|
1526
1409
|
function ItemDescription({ className, ...props }) {
|
|
1527
|
-
return /* @__PURE__ */
|
|
1410
|
+
return /* @__PURE__ */ jsx22(
|
|
1528
1411
|
"p",
|
|
1529
1412
|
{
|
|
1530
1413
|
"data-slot": "item-description",
|
|
@@ -1534,7 +1417,7 @@ function ItemDescription({ className, ...props }) {
|
|
|
1534
1417
|
);
|
|
1535
1418
|
}
|
|
1536
1419
|
function ItemActions({ className, ...props }) {
|
|
1537
|
-
return /* @__PURE__ */
|
|
1420
|
+
return /* @__PURE__ */ jsx22(
|
|
1538
1421
|
"div",
|
|
1539
1422
|
{
|
|
1540
1423
|
"data-slot": "item-actions",
|
|
@@ -1545,9 +1428,9 @@ function ItemActions({ className, ...props }) {
|
|
|
1545
1428
|
}
|
|
1546
1429
|
|
|
1547
1430
|
// src/ui/kbd.tsx
|
|
1548
|
-
import { jsx as
|
|
1431
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
1549
1432
|
function Kbd({ className, ...props }) {
|
|
1550
|
-
return /* @__PURE__ */
|
|
1433
|
+
return /* @__PURE__ */ jsx23(
|
|
1551
1434
|
"kbd",
|
|
1552
1435
|
{
|
|
1553
1436
|
"data-slot": "kbd",
|
|
@@ -1561,12 +1444,12 @@ function Kbd({ className, ...props }) {
|
|
|
1561
1444
|
}
|
|
1562
1445
|
|
|
1563
1446
|
// src/ui/label.tsx
|
|
1564
|
-
import { jsx as
|
|
1447
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
1565
1448
|
function Label({
|
|
1566
1449
|
className,
|
|
1567
1450
|
...props
|
|
1568
1451
|
}) {
|
|
1569
|
-
return /* @__PURE__ */
|
|
1452
|
+
return /* @__PURE__ */ jsx24(
|
|
1570
1453
|
"label",
|
|
1571
1454
|
{
|
|
1572
1455
|
"data-slot": "label",
|
|
@@ -1581,9 +1464,9 @@ function Label({
|
|
|
1581
1464
|
|
|
1582
1465
|
// src/ui/spinner.tsx
|
|
1583
1466
|
import { Loader2Icon } from "lucide-react";
|
|
1584
|
-
import { jsx as
|
|
1467
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
1585
1468
|
function Spinner({ className, ...props }) {
|
|
1586
|
-
return /* @__PURE__ */
|
|
1469
|
+
return /* @__PURE__ */ jsx25(
|
|
1587
1470
|
Loader2Icon,
|
|
1588
1471
|
{
|
|
1589
1472
|
role: "status",
|
|
@@ -1596,14 +1479,14 @@ function Spinner({ className, ...props }) {
|
|
|
1596
1479
|
}
|
|
1597
1480
|
|
|
1598
1481
|
// src/ui/menubar.tsx
|
|
1599
|
-
import { Menu as
|
|
1482
|
+
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
1600
1483
|
import { Menubar as MenubarPrimitive } from "@base-ui/react/menubar";
|
|
1601
|
-
import { jsx as
|
|
1484
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
1602
1485
|
function Menubar({
|
|
1603
1486
|
className,
|
|
1604
1487
|
...props
|
|
1605
1488
|
}) {
|
|
1606
|
-
return /* @__PURE__ */
|
|
1489
|
+
return /* @__PURE__ */ jsx26(
|
|
1607
1490
|
MenubarPrimitive,
|
|
1608
1491
|
{
|
|
1609
1492
|
"data-slot": "menubar",
|
|
@@ -1618,14 +1501,14 @@ function Menubar({
|
|
|
1618
1501
|
function MenubarMenu({
|
|
1619
1502
|
...props
|
|
1620
1503
|
}) {
|
|
1621
|
-
return /* @__PURE__ */
|
|
1504
|
+
return /* @__PURE__ */ jsx26(MenuPrimitive.Root, { "data-slot": "menubar-menu", ...props });
|
|
1622
1505
|
}
|
|
1623
1506
|
function MenubarTrigger({
|
|
1624
1507
|
className,
|
|
1625
1508
|
...props
|
|
1626
1509
|
}) {
|
|
1627
|
-
return /* @__PURE__ */
|
|
1628
|
-
|
|
1510
|
+
return /* @__PURE__ */ jsx26(
|
|
1511
|
+
MenuPrimitive.Trigger,
|
|
1629
1512
|
{
|
|
1630
1513
|
"data-slot": "menubar-trigger",
|
|
1631
1514
|
className: cn(
|
|
@@ -1643,15 +1526,15 @@ function MenubarContent({
|
|
|
1643
1526
|
sideOffset = 8,
|
|
1644
1527
|
...props
|
|
1645
1528
|
}) {
|
|
1646
|
-
return /* @__PURE__ */
|
|
1647
|
-
|
|
1529
|
+
return /* @__PURE__ */ jsx26(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx26(
|
|
1530
|
+
MenuPrimitive.Positioner,
|
|
1648
1531
|
{
|
|
1649
1532
|
align,
|
|
1650
1533
|
side,
|
|
1651
1534
|
sideOffset,
|
|
1652
1535
|
className: "isolate z-50",
|
|
1653
|
-
children: /* @__PURE__ */
|
|
1654
|
-
|
|
1536
|
+
children: /* @__PURE__ */ jsx26(
|
|
1537
|
+
MenuPrimitive.Popup,
|
|
1655
1538
|
{
|
|
1656
1539
|
"data-slot": "menubar-content",
|
|
1657
1540
|
className: cn(
|
|
@@ -1669,8 +1552,8 @@ function MenubarItem({
|
|
|
1669
1552
|
variant = "default",
|
|
1670
1553
|
...props
|
|
1671
1554
|
}) {
|
|
1672
|
-
return /* @__PURE__ */
|
|
1673
|
-
|
|
1555
|
+
return /* @__PURE__ */ jsx26(
|
|
1556
|
+
MenuPrimitive.Item,
|
|
1674
1557
|
{
|
|
1675
1558
|
"data-slot": "menubar-item",
|
|
1676
1559
|
"data-variant": variant,
|
|
@@ -1686,8 +1569,8 @@ function MenubarSeparator({
|
|
|
1686
1569
|
className,
|
|
1687
1570
|
...props
|
|
1688
1571
|
}) {
|
|
1689
|
-
return /* @__PURE__ */
|
|
1690
|
-
|
|
1572
|
+
return /* @__PURE__ */ jsx26(
|
|
1573
|
+
MenuPrimitive.Separator,
|
|
1691
1574
|
{
|
|
1692
1575
|
"data-slot": "menubar-separator",
|
|
1693
1576
|
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
@@ -1699,7 +1582,7 @@ function MenubarSeparator({
|
|
|
1699
1582
|
// src/ui/toast.tsx
|
|
1700
1583
|
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
1701
1584
|
import { XIcon } from "lucide-react";
|
|
1702
|
-
import { jsx as
|
|
1585
|
+
import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1703
1586
|
var toastManager = ToastPrimitive.createToastManager();
|
|
1704
1587
|
function toast(message, options = {}) {
|
|
1705
1588
|
return toastManager.add({
|
|
@@ -1717,7 +1600,7 @@ var toastVariantClass = {
|
|
|
1717
1600
|
};
|
|
1718
1601
|
function ToasterViewport({ className }) {
|
|
1719
1602
|
const { toasts } = ToastPrimitive.useToastManager();
|
|
1720
|
-
return /* @__PURE__ */
|
|
1603
|
+
return /* @__PURE__ */ jsx27(ToastPrimitive.Portal, { children: /* @__PURE__ */ jsx27(
|
|
1721
1604
|
ToastPrimitive.Viewport,
|
|
1722
1605
|
{
|
|
1723
1606
|
"data-slot": "toast-viewport",
|
|
@@ -1725,7 +1608,7 @@ function ToasterViewport({ className }) {
|
|
|
1725
1608
|
"fixed top-4 right-4 z-[100] flex w-80 flex-col gap-2 outline-none",
|
|
1726
1609
|
className
|
|
1727
1610
|
),
|
|
1728
|
-
children: toasts.map((item) => /* @__PURE__ */
|
|
1611
|
+
children: toasts.map((item) => /* @__PURE__ */ jsx27(
|
|
1729
1612
|
ToastPrimitive.Root,
|
|
1730
1613
|
{
|
|
1731
1614
|
toast: item,
|
|
@@ -1735,16 +1618,16 @@ function ToasterViewport({ className }) {
|
|
|
1735
1618
|
"rounded-md border border-border bg-popover px-4 py-3 text-sm text-popover-foreground shadow-md shadow-(color:--shadow-color) transition-[opacity,transform] duration-200 data-ending-style:animate-toast-out data-starting-style:animate-toast-in",
|
|
1736
1619
|
toastVariantClass[item.type ?? "info"] ?? toastVariantClass.info
|
|
1737
1620
|
),
|
|
1738
|
-
children: /* @__PURE__ */
|
|
1739
|
-
/* @__PURE__ */
|
|
1740
|
-
/* @__PURE__ */
|
|
1621
|
+
children: /* @__PURE__ */ jsxs8(ToastPrimitive.Content, { className: "flex items-start justify-between gap-2", children: [
|
|
1622
|
+
/* @__PURE__ */ jsxs8("div", { className: "grid gap-0.5", children: [
|
|
1623
|
+
/* @__PURE__ */ jsx27(
|
|
1741
1624
|
ToastPrimitive.Title,
|
|
1742
1625
|
{
|
|
1743
1626
|
"data-slot": "toast-title",
|
|
1744
1627
|
className: "font-medium"
|
|
1745
1628
|
}
|
|
1746
1629
|
),
|
|
1747
|
-
/* @__PURE__ */
|
|
1630
|
+
/* @__PURE__ */ jsx27(
|
|
1748
1631
|
ToastPrimitive.Description,
|
|
1749
1632
|
{
|
|
1750
1633
|
"data-slot": "toast-description",
|
|
@@ -1752,13 +1635,13 @@ function ToasterViewport({ className }) {
|
|
|
1752
1635
|
}
|
|
1753
1636
|
)
|
|
1754
1637
|
] }),
|
|
1755
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ jsx27(
|
|
1756
1639
|
ToastPrimitive.Close,
|
|
1757
1640
|
{
|
|
1758
1641
|
"data-slot": "toast-close",
|
|
1759
1642
|
"aria-label": "Close",
|
|
1760
1643
|
className: "cursor-pointer rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none [&_svg]:size-3.5",
|
|
1761
|
-
children: /* @__PURE__ */
|
|
1644
|
+
children: /* @__PURE__ */ jsx27(XIcon, {})
|
|
1762
1645
|
}
|
|
1763
1646
|
)
|
|
1764
1647
|
] })
|
|
@@ -1769,20 +1652,20 @@ function ToasterViewport({ className }) {
|
|
|
1769
1652
|
) });
|
|
1770
1653
|
}
|
|
1771
1654
|
function Toaster({ className }) {
|
|
1772
|
-
return /* @__PURE__ */
|
|
1655
|
+
return /* @__PURE__ */ jsx27(ToastPrimitive.Provider, { toastManager, children: /* @__PURE__ */ jsx27(ToasterViewport, { className }) });
|
|
1773
1656
|
}
|
|
1774
1657
|
|
|
1775
1658
|
// src/ui/navigation-menu.tsx
|
|
1776
1659
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
1777
1660
|
import { ChevronDownIcon as ChevronDownIcon2 } from "lucide-react";
|
|
1778
1661
|
import { cva as cva3 } from "class-variance-authority";
|
|
1779
|
-
import { jsx as
|
|
1662
|
+
import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1780
1663
|
function NavigationMenu({
|
|
1781
1664
|
className,
|
|
1782
1665
|
children,
|
|
1783
1666
|
...props
|
|
1784
1667
|
}) {
|
|
1785
|
-
return /* @__PURE__ */
|
|
1668
|
+
return /* @__PURE__ */ jsxs9(
|
|
1786
1669
|
NavigationMenuPrimitive.Root,
|
|
1787
1670
|
{
|
|
1788
1671
|
"data-slot": "navigation-menu",
|
|
@@ -1790,7 +1673,7 @@ function NavigationMenu({
|
|
|
1790
1673
|
...props,
|
|
1791
1674
|
children: [
|
|
1792
1675
|
children,
|
|
1793
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__PURE__ */ jsx28(NavigationMenuViewport, {})
|
|
1794
1677
|
]
|
|
1795
1678
|
}
|
|
1796
1679
|
);
|
|
@@ -1799,7 +1682,7 @@ function NavigationMenuList({
|
|
|
1799
1682
|
className,
|
|
1800
1683
|
...props
|
|
1801
1684
|
}) {
|
|
1802
|
-
return /* @__PURE__ */
|
|
1685
|
+
return /* @__PURE__ */ jsx28(
|
|
1803
1686
|
NavigationMenuPrimitive.List,
|
|
1804
1687
|
{
|
|
1805
1688
|
"data-slot": "navigation-menu-list",
|
|
@@ -1812,7 +1695,7 @@ function NavigationMenuItem({
|
|
|
1812
1695
|
className,
|
|
1813
1696
|
...props
|
|
1814
1697
|
}) {
|
|
1815
|
-
return /* @__PURE__ */
|
|
1698
|
+
return /* @__PURE__ */ jsx28(
|
|
1816
1699
|
NavigationMenuPrimitive.Item,
|
|
1817
1700
|
{
|
|
1818
1701
|
"data-slot": "navigation-menu-item",
|
|
@@ -1829,7 +1712,7 @@ function NavigationMenuTrigger({
|
|
|
1829
1712
|
children,
|
|
1830
1713
|
...props
|
|
1831
1714
|
}) {
|
|
1832
|
-
return /* @__PURE__ */
|
|
1715
|
+
return /* @__PURE__ */ jsxs9(
|
|
1833
1716
|
NavigationMenuPrimitive.Trigger,
|
|
1834
1717
|
{
|
|
1835
1718
|
"data-slot": "navigation-menu-trigger",
|
|
@@ -1837,7 +1720,7 @@ function NavigationMenuTrigger({
|
|
|
1837
1720
|
...props,
|
|
1838
1721
|
children: [
|
|
1839
1722
|
children,
|
|
1840
|
-
/* @__PURE__ */
|
|
1723
|
+
/* @__PURE__ */ jsx28(
|
|
1841
1724
|
ChevronDownIcon2,
|
|
1842
1725
|
{
|
|
1843
1726
|
className: "relative top-px ml-1 size-3 transition-transform duration-200 group-data-open/navigation-menu-trigger:rotate-180",
|
|
@@ -1852,7 +1735,7 @@ function NavigationMenuContent({
|
|
|
1852
1735
|
className,
|
|
1853
1736
|
...props
|
|
1854
1737
|
}) {
|
|
1855
|
-
return /* @__PURE__ */
|
|
1738
|
+
return /* @__PURE__ */ jsx28(
|
|
1856
1739
|
NavigationMenuPrimitive.Content,
|
|
1857
1740
|
{
|
|
1858
1741
|
"data-slot": "navigation-menu-content",
|
|
@@ -1865,13 +1748,13 @@ function NavigationMenuContent({
|
|
|
1865
1748
|
);
|
|
1866
1749
|
}
|
|
1867
1750
|
function NavigationMenuViewport({ className }) {
|
|
1868
|
-
return /* @__PURE__ */
|
|
1751
|
+
return /* @__PURE__ */ jsx28(NavigationMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx28(
|
|
1869
1752
|
NavigationMenuPrimitive.Positioner,
|
|
1870
1753
|
{
|
|
1871
1754
|
side: "bottom",
|
|
1872
1755
|
align: "start",
|
|
1873
1756
|
className: "isolate z-50",
|
|
1874
|
-
children: /* @__PURE__ */
|
|
1757
|
+
children: /* @__PURE__ */ jsx28(
|
|
1875
1758
|
NavigationMenuPrimitive.Popup,
|
|
1876
1759
|
{
|
|
1877
1760
|
"data-slot": "navigation-menu-popup",
|
|
@@ -1879,7 +1762,7 @@ function NavigationMenuViewport({ className }) {
|
|
|
1879
1762
|
"origin-(--transform-origin) overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md shadow-(color:--shadow-color) duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
1880
1763
|
className
|
|
1881
1764
|
),
|
|
1882
|
-
children: /* @__PURE__ */
|
|
1765
|
+
children: /* @__PURE__ */ jsx28(NavigationMenuPrimitive.Viewport, { "data-slot": "navigation-menu-viewport" })
|
|
1883
1766
|
}
|
|
1884
1767
|
)
|
|
1885
1768
|
}
|
|
@@ -1889,7 +1772,7 @@ function NavigationMenuLink({
|
|
|
1889
1772
|
className,
|
|
1890
1773
|
...props
|
|
1891
1774
|
}) {
|
|
1892
|
-
return /* @__PURE__ */
|
|
1775
|
+
return /* @__PURE__ */ jsx28(
|
|
1893
1776
|
NavigationMenuPrimitive.Link,
|
|
1894
1777
|
{
|
|
1895
1778
|
"data-slot": "navigation-menu-link",
|
|
@@ -1903,10 +1786,10 @@ function NavigationMenuLink({
|
|
|
1903
1786
|
}
|
|
1904
1787
|
|
|
1905
1788
|
// src/ui/pagination.tsx
|
|
1906
|
-
import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as
|
|
1907
|
-
import { jsx as
|
|
1789
|
+
import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon4, MoreHorizontalIcon as MoreHorizontalIcon2 } from "lucide-react";
|
|
1790
|
+
import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1908
1791
|
function Pagination({ className, ...props }) {
|
|
1909
|
-
return /* @__PURE__ */
|
|
1792
|
+
return /* @__PURE__ */ jsx29(
|
|
1910
1793
|
"nav",
|
|
1911
1794
|
{
|
|
1912
1795
|
role: "navigation",
|
|
@@ -1918,7 +1801,7 @@ function Pagination({ className, ...props }) {
|
|
|
1918
1801
|
);
|
|
1919
1802
|
}
|
|
1920
1803
|
function PaginationContent({ className, ...props }) {
|
|
1921
|
-
return /* @__PURE__ */
|
|
1804
|
+
return /* @__PURE__ */ jsx29(
|
|
1922
1805
|
"ul",
|
|
1923
1806
|
{
|
|
1924
1807
|
"data-slot": "pagination-content",
|
|
@@ -1928,7 +1811,7 @@ function PaginationContent({ className, ...props }) {
|
|
|
1928
1811
|
);
|
|
1929
1812
|
}
|
|
1930
1813
|
function PaginationItem({ ...props }) {
|
|
1931
|
-
return /* @__PURE__ */
|
|
1814
|
+
return /* @__PURE__ */ jsx29("li", { "data-slot": "pagination-item", ...props });
|
|
1932
1815
|
}
|
|
1933
1816
|
function PaginationLink({
|
|
1934
1817
|
className,
|
|
@@ -1936,7 +1819,7 @@ function PaginationLink({
|
|
|
1936
1819
|
disabled,
|
|
1937
1820
|
...props
|
|
1938
1821
|
}) {
|
|
1939
|
-
return /* @__PURE__ */
|
|
1822
|
+
return /* @__PURE__ */ jsx29(
|
|
1940
1823
|
"a",
|
|
1941
1824
|
{
|
|
1942
1825
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1960,15 +1843,15 @@ function PaginationPrevious({
|
|
|
1960
1843
|
className,
|
|
1961
1844
|
...props
|
|
1962
1845
|
}) {
|
|
1963
|
-
return /* @__PURE__ */
|
|
1846
|
+
return /* @__PURE__ */ jsxs10(
|
|
1964
1847
|
PaginationLink,
|
|
1965
1848
|
{
|
|
1966
1849
|
"aria-label": "Go to previous page",
|
|
1967
1850
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1968
1851
|
...props,
|
|
1969
1852
|
children: [
|
|
1970
|
-
/* @__PURE__ */
|
|
1971
|
-
/* @__PURE__ */
|
|
1853
|
+
/* @__PURE__ */ jsx29(ChevronLeftIcon3, {}),
|
|
1854
|
+
/* @__PURE__ */ jsx29("span", { className: "hidden sm:block", children: "Previous" })
|
|
1972
1855
|
]
|
|
1973
1856
|
}
|
|
1974
1857
|
);
|
|
@@ -1977,21 +1860,21 @@ function PaginationNext({
|
|
|
1977
1860
|
className,
|
|
1978
1861
|
...props
|
|
1979
1862
|
}) {
|
|
1980
|
-
return /* @__PURE__ */
|
|
1863
|
+
return /* @__PURE__ */ jsxs10(
|
|
1981
1864
|
PaginationLink,
|
|
1982
1865
|
{
|
|
1983
1866
|
"aria-label": "Go to next page",
|
|
1984
1867
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1985
1868
|
...props,
|
|
1986
1869
|
children: [
|
|
1987
|
-
/* @__PURE__ */
|
|
1988
|
-
/* @__PURE__ */
|
|
1870
|
+
/* @__PURE__ */ jsx29("span", { className: "hidden sm:block", children: "Next" }),
|
|
1871
|
+
/* @__PURE__ */ jsx29(ChevronRightIcon4, {})
|
|
1989
1872
|
]
|
|
1990
1873
|
}
|
|
1991
1874
|
);
|
|
1992
1875
|
}
|
|
1993
1876
|
function PaginationEllipsis({ className, ...props }) {
|
|
1994
|
-
return /* @__PURE__ */
|
|
1877
|
+
return /* @__PURE__ */ jsxs10(
|
|
1995
1878
|
"span",
|
|
1996
1879
|
{
|
|
1997
1880
|
"aria-hidden": true,
|
|
@@ -1999,8 +1882,8 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
1999
1882
|
className: cn("flex size-9 items-center justify-center", className),
|
|
2000
1883
|
...props,
|
|
2001
1884
|
children: [
|
|
2002
|
-
/* @__PURE__ */
|
|
2003
|
-
/* @__PURE__ */
|
|
1885
|
+
/* @__PURE__ */ jsx29(MoreHorizontalIcon2, { className: "size-4" }),
|
|
1886
|
+
/* @__PURE__ */ jsx29("span", { className: "sr-only", children: "More pages" })
|
|
2004
1887
|
]
|
|
2005
1888
|
}
|
|
2006
1889
|
);
|
|
@@ -2008,9 +1891,9 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
2008
1891
|
|
|
2009
1892
|
// src/ui/progress.tsx
|
|
2010
1893
|
import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
|
|
2011
|
-
import { jsx as
|
|
1894
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
2012
1895
|
function Progress({ className, ...props }) {
|
|
2013
|
-
return /* @__PURE__ */
|
|
1896
|
+
return /* @__PURE__ */ jsx30(
|
|
2014
1897
|
ProgressPrimitive.Root,
|
|
2015
1898
|
{
|
|
2016
1899
|
"data-slot": "progress",
|
|
@@ -2020,7 +1903,7 @@ function Progress({ className, ...props }) {
|
|
|
2020
1903
|
);
|
|
2021
1904
|
}
|
|
2022
1905
|
function ProgressTrack({ className, ...props }) {
|
|
2023
|
-
return /* @__PURE__ */
|
|
1906
|
+
return /* @__PURE__ */ jsx30(
|
|
2024
1907
|
ProgressPrimitive.Track,
|
|
2025
1908
|
{
|
|
2026
1909
|
"data-slot": "progress-track",
|
|
@@ -2033,7 +1916,7 @@ function ProgressIndicator({
|
|
|
2033
1916
|
className,
|
|
2034
1917
|
...props
|
|
2035
1918
|
}) {
|
|
2036
|
-
return /* @__PURE__ */
|
|
1919
|
+
return /* @__PURE__ */ jsx30(
|
|
2037
1920
|
ProgressPrimitive.Indicator,
|
|
2038
1921
|
{
|
|
2039
1922
|
"data-slot": "progress-indicator",
|
|
@@ -2049,9 +1932,9 @@ function ProgressIndicator({
|
|
|
2049
1932
|
// src/ui/radio-group.tsx
|
|
2050
1933
|
import { Radio as RadioPrimitive } from "@base-ui/react/radio";
|
|
2051
1934
|
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
|
|
2052
|
-
import { jsx as
|
|
1935
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
2053
1936
|
function RadioGroup({ className, ...props }) {
|
|
2054
|
-
return /* @__PURE__ */
|
|
1937
|
+
return /* @__PURE__ */ jsx31(
|
|
2055
1938
|
RadioGroupPrimitive,
|
|
2056
1939
|
{
|
|
2057
1940
|
"data-slot": "radio-group",
|
|
@@ -2061,7 +1944,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
2061
1944
|
);
|
|
2062
1945
|
}
|
|
2063
1946
|
function RadioGroupItem({ className, ...props }) {
|
|
2064
|
-
return /* @__PURE__ */
|
|
1947
|
+
return /* @__PURE__ */ jsx31(
|
|
2065
1948
|
RadioPrimitive.Root,
|
|
2066
1949
|
{
|
|
2067
1950
|
"data-slot": "radio-group-item",
|
|
@@ -2070,12 +1953,12 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
2070
1953
|
className
|
|
2071
1954
|
),
|
|
2072
1955
|
...props,
|
|
2073
|
-
children: /* @__PURE__ */
|
|
1956
|
+
children: /* @__PURE__ */ jsx31(
|
|
2074
1957
|
RadioPrimitive.Indicator,
|
|
2075
1958
|
{
|
|
2076
1959
|
"data-slot": "radio-group-indicator",
|
|
2077
1960
|
className: "flex items-center justify-center",
|
|
2078
|
-
children: /* @__PURE__ */
|
|
1961
|
+
children: /* @__PURE__ */ jsx31("span", { className: "size-2 rounded-full bg-(--radio-checked)" })
|
|
2079
1962
|
}
|
|
2080
1963
|
)
|
|
2081
1964
|
}
|
|
@@ -2089,12 +1972,12 @@ import {
|
|
|
2089
1972
|
Panel as PanelPrimitive,
|
|
2090
1973
|
Separator as PanelResizeHandlePrimitive
|
|
2091
1974
|
} from "react-resizable-panels";
|
|
2092
|
-
import { jsx as
|
|
1975
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
2093
1976
|
function PanelGroup({
|
|
2094
1977
|
className,
|
|
2095
1978
|
...props
|
|
2096
1979
|
}) {
|
|
2097
|
-
return /* @__PURE__ */
|
|
1980
|
+
return /* @__PURE__ */ jsx32(
|
|
2098
1981
|
PanelGroupPrimitive,
|
|
2099
1982
|
{
|
|
2100
1983
|
"data-slot": "resizable-panel-group",
|
|
@@ -2107,14 +1990,14 @@ function PanelGroup({
|
|
|
2107
1990
|
);
|
|
2108
1991
|
}
|
|
2109
1992
|
function Panel({ ...props }) {
|
|
2110
|
-
return /* @__PURE__ */
|
|
1993
|
+
return /* @__PURE__ */ jsx32(PanelPrimitive, { "data-slot": "resizable-panel", ...props });
|
|
2111
1994
|
}
|
|
2112
1995
|
function ResizableHandle({
|
|
2113
1996
|
withHandle,
|
|
2114
1997
|
className,
|
|
2115
1998
|
...props
|
|
2116
1999
|
}) {
|
|
2117
|
-
return /* @__PURE__ */
|
|
2000
|
+
return /* @__PURE__ */ jsx32(
|
|
2118
2001
|
PanelResizeHandlePrimitive,
|
|
2119
2002
|
{
|
|
2120
2003
|
"data-slot": "resizable-handle",
|
|
@@ -2123,27 +2006,27 @@ function ResizableHandle({
|
|
|
2123
2006
|
className
|
|
2124
2007
|
),
|
|
2125
2008
|
...props,
|
|
2126
|
-
children: withHandle ? /* @__PURE__ */
|
|
2009
|
+
children: withHandle ? /* @__PURE__ */ jsx32("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border border-border bg-border", children: /* @__PURE__ */ jsx32(GripVerticalIcon, { className: "size-2.5" }) }) : null
|
|
2127
2010
|
}
|
|
2128
2011
|
);
|
|
2129
2012
|
}
|
|
2130
2013
|
|
|
2131
2014
|
// src/ui/scroll-area.tsx
|
|
2132
2015
|
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
2133
|
-
import { jsx as
|
|
2016
|
+
import { jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2134
2017
|
function ScrollArea({
|
|
2135
2018
|
className,
|
|
2136
2019
|
children,
|
|
2137
2020
|
...props
|
|
2138
2021
|
}) {
|
|
2139
|
-
return /* @__PURE__ */
|
|
2022
|
+
return /* @__PURE__ */ jsxs11(
|
|
2140
2023
|
ScrollAreaPrimitive.Root,
|
|
2141
2024
|
{
|
|
2142
2025
|
"data-slot": "scroll-area",
|
|
2143
2026
|
className: cn("relative overflow-hidden", className),
|
|
2144
2027
|
...props,
|
|
2145
2028
|
children: [
|
|
2146
|
-
/* @__PURE__ */
|
|
2029
|
+
/* @__PURE__ */ jsx33(
|
|
2147
2030
|
ScrollAreaPrimitive.Viewport,
|
|
2148
2031
|
{
|
|
2149
2032
|
"data-slot": "scroll-area-viewport",
|
|
@@ -2151,8 +2034,8 @@ function ScrollArea({
|
|
|
2151
2034
|
children
|
|
2152
2035
|
}
|
|
2153
2036
|
),
|
|
2154
|
-
/* @__PURE__ */
|
|
2155
|
-
/* @__PURE__ */
|
|
2037
|
+
/* @__PURE__ */ jsx33(ScrollBar, {}),
|
|
2038
|
+
/* @__PURE__ */ jsx33(ScrollAreaPrimitive.Corner, {})
|
|
2156
2039
|
]
|
|
2157
2040
|
}
|
|
2158
2041
|
);
|
|
@@ -2162,7 +2045,7 @@ function ScrollBar({
|
|
|
2162
2045
|
orientation = "vertical",
|
|
2163
2046
|
...props
|
|
2164
2047
|
}) {
|
|
2165
|
-
return /* @__PURE__ */
|
|
2048
|
+
return /* @__PURE__ */ jsx33(
|
|
2166
2049
|
ScrollAreaPrimitive.Scrollbar,
|
|
2167
2050
|
{
|
|
2168
2051
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -2174,7 +2057,7 @@ function ScrollBar({
|
|
|
2174
2057
|
className
|
|
2175
2058
|
),
|
|
2176
2059
|
...props,
|
|
2177
|
-
children: /* @__PURE__ */
|
|
2060
|
+
children: /* @__PURE__ */ jsx33(
|
|
2178
2061
|
ScrollAreaPrimitive.Thumb,
|
|
2179
2062
|
{
|
|
2180
2063
|
"data-slot": "scroll-area-thumb",
|
|
@@ -2188,17 +2071,17 @@ function ScrollBar({
|
|
|
2188
2071
|
// src/ui/select.tsx
|
|
2189
2072
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
2190
2073
|
import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, ChevronUpIcon } from "lucide-react";
|
|
2191
|
-
import { jsx as
|
|
2074
|
+
import { jsx as jsx34, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2192
2075
|
var Select = SelectPrimitive.Root;
|
|
2193
2076
|
function SelectGroup({
|
|
2194
2077
|
...props
|
|
2195
2078
|
}) {
|
|
2196
|
-
return /* @__PURE__ */
|
|
2079
|
+
return /* @__PURE__ */ jsx34(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
2197
2080
|
}
|
|
2198
2081
|
function SelectValue({
|
|
2199
2082
|
...props
|
|
2200
2083
|
}) {
|
|
2201
|
-
return /* @__PURE__ */
|
|
2084
|
+
return /* @__PURE__ */ jsx34(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
2202
2085
|
}
|
|
2203
2086
|
function SelectTrigger({
|
|
2204
2087
|
className,
|
|
@@ -2207,7 +2090,7 @@ function SelectTrigger({
|
|
|
2207
2090
|
iconClassName,
|
|
2208
2091
|
...props
|
|
2209
2092
|
}) {
|
|
2210
|
-
return /* @__PURE__ */
|
|
2093
|
+
return /* @__PURE__ */ jsxs12(
|
|
2211
2094
|
SelectPrimitive.Trigger,
|
|
2212
2095
|
{
|
|
2213
2096
|
"data-slot": "select-trigger",
|
|
@@ -2219,10 +2102,10 @@ function SelectTrigger({
|
|
|
2219
2102
|
...props,
|
|
2220
2103
|
children: [
|
|
2221
2104
|
children,
|
|
2222
|
-
/* @__PURE__ */
|
|
2105
|
+
/* @__PURE__ */ jsx34(
|
|
2223
2106
|
SelectPrimitive.Icon,
|
|
2224
2107
|
{
|
|
2225
|
-
render: /* @__PURE__ */
|
|
2108
|
+
render: /* @__PURE__ */ jsx34(ChevronDownIcon3, { className: cn("size-4 opacity-50", iconClassName) })
|
|
2226
2109
|
}
|
|
2227
2110
|
)
|
|
2228
2111
|
]
|
|
@@ -2240,7 +2123,7 @@ function SelectContent({
|
|
|
2240
2123
|
alignItemWithTrigger = false,
|
|
2241
2124
|
...props
|
|
2242
2125
|
}) {
|
|
2243
|
-
return /* @__PURE__ */
|
|
2126
|
+
return /* @__PURE__ */ jsx34(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx34(
|
|
2244
2127
|
SelectPrimitive.Positioner,
|
|
2245
2128
|
{
|
|
2246
2129
|
side,
|
|
@@ -2248,7 +2131,7 @@ function SelectContent({
|
|
|
2248
2131
|
align,
|
|
2249
2132
|
alignItemWithTrigger,
|
|
2250
2133
|
className: "isolate z-50",
|
|
2251
|
-
children: /* @__PURE__ */
|
|
2134
|
+
children: /* @__PURE__ */ jsxs12(
|
|
2252
2135
|
SelectPrimitive.Popup,
|
|
2253
2136
|
{
|
|
2254
2137
|
"data-slot": "select-content",
|
|
@@ -2262,9 +2145,9 @@ function SelectContent({
|
|
|
2262
2145
|
),
|
|
2263
2146
|
...props,
|
|
2264
2147
|
children: [
|
|
2265
|
-
/* @__PURE__ */
|
|
2266
|
-
/* @__PURE__ */
|
|
2267
|
-
/* @__PURE__ */
|
|
2148
|
+
/* @__PURE__ */ jsx34(SelectScrollUpButton, {}),
|
|
2149
|
+
/* @__PURE__ */ jsx34(SelectPrimitive.List, { className: "p-1", children }),
|
|
2150
|
+
/* @__PURE__ */ jsx34(SelectScrollDownButton, {})
|
|
2268
2151
|
]
|
|
2269
2152
|
}
|
|
2270
2153
|
)
|
|
@@ -2275,7 +2158,7 @@ function SelectLabel({
|
|
|
2275
2158
|
className,
|
|
2276
2159
|
...props
|
|
2277
2160
|
}) {
|
|
2278
|
-
return /* @__PURE__ */
|
|
2161
|
+
return /* @__PURE__ */ jsx34(
|
|
2279
2162
|
SelectPrimitive.GroupLabel,
|
|
2280
2163
|
{
|
|
2281
2164
|
"data-slot": "select-label",
|
|
@@ -2289,7 +2172,7 @@ function SelectItem({
|
|
|
2289
2172
|
children,
|
|
2290
2173
|
...props
|
|
2291
2174
|
}) {
|
|
2292
|
-
return /* @__PURE__ */
|
|
2175
|
+
return /* @__PURE__ */ jsxs12(
|
|
2293
2176
|
SelectPrimitive.Item,
|
|
2294
2177
|
{
|
|
2295
2178
|
"data-slot": "select-item",
|
|
@@ -2299,8 +2182,8 @@ function SelectItem({
|
|
|
2299
2182
|
),
|
|
2300
2183
|
...props,
|
|
2301
2184
|
children: [
|
|
2302
|
-
/* @__PURE__ */
|
|
2303
|
-
/* @__PURE__ */
|
|
2185
|
+
/* @__PURE__ */ jsx34("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx34(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx34(CheckIcon2, { className: "size-4" }) }) }),
|
|
2186
|
+
/* @__PURE__ */ jsx34(SelectPrimitive.ItemText, { children })
|
|
2304
2187
|
]
|
|
2305
2188
|
}
|
|
2306
2189
|
);
|
|
@@ -2309,7 +2192,7 @@ function SelectSeparator({
|
|
|
2309
2192
|
className,
|
|
2310
2193
|
...props
|
|
2311
2194
|
}) {
|
|
2312
|
-
return /* @__PURE__ */
|
|
2195
|
+
return /* @__PURE__ */ jsx34(
|
|
2313
2196
|
SelectPrimitive.Separator,
|
|
2314
2197
|
{
|
|
2315
2198
|
"data-slot": "select-separator",
|
|
@@ -2322,7 +2205,7 @@ function SelectScrollUpButton({
|
|
|
2322
2205
|
className,
|
|
2323
2206
|
...props
|
|
2324
2207
|
}) {
|
|
2325
|
-
return /* @__PURE__ */
|
|
2208
|
+
return /* @__PURE__ */ jsx34(
|
|
2326
2209
|
SelectPrimitive.ScrollUpArrow,
|
|
2327
2210
|
{
|
|
2328
2211
|
"data-slot": "select-scroll-up-button",
|
|
@@ -2331,7 +2214,7 @@ function SelectScrollUpButton({
|
|
|
2331
2214
|
className
|
|
2332
2215
|
),
|
|
2333
2216
|
...props,
|
|
2334
|
-
children: /* @__PURE__ */
|
|
2217
|
+
children: /* @__PURE__ */ jsx34(ChevronUpIcon, { className: "size-4" })
|
|
2335
2218
|
}
|
|
2336
2219
|
);
|
|
2337
2220
|
}
|
|
@@ -2339,7 +2222,7 @@ function SelectScrollDownButton({
|
|
|
2339
2222
|
className,
|
|
2340
2223
|
...props
|
|
2341
2224
|
}) {
|
|
2342
|
-
return /* @__PURE__ */
|
|
2225
|
+
return /* @__PURE__ */ jsx34(
|
|
2343
2226
|
SelectPrimitive.ScrollDownArrow,
|
|
2344
2227
|
{
|
|
2345
2228
|
"data-slot": "select-scroll-down-button",
|
|
@@ -2348,16 +2231,16 @@ function SelectScrollDownButton({
|
|
|
2348
2231
|
className
|
|
2349
2232
|
),
|
|
2350
2233
|
...props,
|
|
2351
|
-
children: /* @__PURE__ */
|
|
2234
|
+
children: /* @__PURE__ */ jsx34(ChevronDownIcon3, { className: "size-4" })
|
|
2352
2235
|
}
|
|
2353
2236
|
);
|
|
2354
2237
|
}
|
|
2355
2238
|
|
|
2356
2239
|
// src/ui/slider.tsx
|
|
2357
2240
|
import { Slider as SliderPrimitive } from "@base-ui/react/slider";
|
|
2358
|
-
import { jsx as
|
|
2241
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2359
2242
|
function Slider({ className, ...props }) {
|
|
2360
|
-
return /* @__PURE__ */
|
|
2243
|
+
return /* @__PURE__ */ jsx35(
|
|
2361
2244
|
SliderPrimitive.Root,
|
|
2362
2245
|
{
|
|
2363
2246
|
"data-slot": "slider",
|
|
@@ -2370,7 +2253,7 @@ function Slider({ className, ...props }) {
|
|
|
2370
2253
|
);
|
|
2371
2254
|
}
|
|
2372
2255
|
function SliderControl({ className, ...props }) {
|
|
2373
|
-
return /* @__PURE__ */
|
|
2256
|
+
return /* @__PURE__ */ jsx35(
|
|
2374
2257
|
SliderPrimitive.Control,
|
|
2375
2258
|
{
|
|
2376
2259
|
"data-slot": "slider-control",
|
|
@@ -2380,7 +2263,7 @@ function SliderControl({ className, ...props }) {
|
|
|
2380
2263
|
);
|
|
2381
2264
|
}
|
|
2382
2265
|
function SliderTrack({ className, ...props }) {
|
|
2383
|
-
return /* @__PURE__ */
|
|
2266
|
+
return /* @__PURE__ */ jsx35(
|
|
2384
2267
|
SliderPrimitive.Track,
|
|
2385
2268
|
{
|
|
2386
2269
|
"data-slot": "slider-track",
|
|
@@ -2393,7 +2276,7 @@ function SliderTrack({ className, ...props }) {
|
|
|
2393
2276
|
);
|
|
2394
2277
|
}
|
|
2395
2278
|
function SliderIndicator({ className, ...props }) {
|
|
2396
|
-
return /* @__PURE__ */
|
|
2279
|
+
return /* @__PURE__ */ jsx35(
|
|
2397
2280
|
SliderPrimitive.Indicator,
|
|
2398
2281
|
{
|
|
2399
2282
|
"data-slot": "slider-indicator",
|
|
@@ -2403,7 +2286,7 @@ function SliderIndicator({ className, ...props }) {
|
|
|
2403
2286
|
);
|
|
2404
2287
|
}
|
|
2405
2288
|
function SliderThumb({ className, ...props }) {
|
|
2406
|
-
return /* @__PURE__ */
|
|
2289
|
+
return /* @__PURE__ */ jsx35(
|
|
2407
2290
|
SliderPrimitive.Thumb,
|
|
2408
2291
|
{
|
|
2409
2292
|
"data-slot": "slider-thumb",
|
|
@@ -2418,9 +2301,9 @@ function SliderThumb({ className, ...props }) {
|
|
|
2418
2301
|
|
|
2419
2302
|
// src/ui/switch.tsx
|
|
2420
2303
|
import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
|
|
2421
|
-
import { jsx as
|
|
2304
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2422
2305
|
function Switch({ className, ...props }) {
|
|
2423
|
-
return /* @__PURE__ */
|
|
2306
|
+
return /* @__PURE__ */ jsx36(
|
|
2424
2307
|
SwitchPrimitive.Root,
|
|
2425
2308
|
{
|
|
2426
2309
|
"data-slot": "switch",
|
|
@@ -2429,7 +2312,7 @@ function Switch({ className, ...props }) {
|
|
|
2429
2312
|
className
|
|
2430
2313
|
),
|
|
2431
2314
|
...props,
|
|
2432
|
-
children: /* @__PURE__ */
|
|
2315
|
+
children: /* @__PURE__ */ jsx36(
|
|
2433
2316
|
SwitchPrimitive.Thumb,
|
|
2434
2317
|
{
|
|
2435
2318
|
"data-slot": "switch-thumb",
|
|
@@ -2443,12 +2326,12 @@ function Switch({ className, ...props }) {
|
|
|
2443
2326
|
// src/ui/tabs.tsx
|
|
2444
2327
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2445
2328
|
import { cva as cva4 } from "class-variance-authority";
|
|
2446
|
-
import { jsx as
|
|
2329
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2447
2330
|
function Tabs({
|
|
2448
2331
|
className,
|
|
2449
2332
|
...props
|
|
2450
2333
|
}) {
|
|
2451
|
-
return /* @__PURE__ */
|
|
2334
|
+
return /* @__PURE__ */ jsx37(
|
|
2452
2335
|
TabsPrimitive.Root,
|
|
2453
2336
|
{
|
|
2454
2337
|
"data-slot": "tabs",
|
|
@@ -2487,7 +2370,7 @@ function TabsList({
|
|
|
2487
2370
|
size,
|
|
2488
2371
|
...props
|
|
2489
2372
|
}) {
|
|
2490
|
-
return /* @__PURE__ */
|
|
2373
|
+
return /* @__PURE__ */ jsx37(
|
|
2491
2374
|
TabsPrimitive.List,
|
|
2492
2375
|
{
|
|
2493
2376
|
"data-slot": "tabs-list",
|
|
@@ -2502,7 +2385,7 @@ function TabsTrigger({
|
|
|
2502
2385
|
className,
|
|
2503
2386
|
...props
|
|
2504
2387
|
}) {
|
|
2505
|
-
return /* @__PURE__ */
|
|
2388
|
+
return /* @__PURE__ */ jsx37(
|
|
2506
2389
|
TabsPrimitive.Tab,
|
|
2507
2390
|
{
|
|
2508
2391
|
"data-slot": "tabs-trigger",
|
|
@@ -2526,7 +2409,7 @@ function TabsContent({
|
|
|
2526
2409
|
className,
|
|
2527
2410
|
...props
|
|
2528
2411
|
}) {
|
|
2529
|
-
return /* @__PURE__ */
|
|
2412
|
+
return /* @__PURE__ */ jsx37(
|
|
2530
2413
|
TabsPrimitive.Panel,
|
|
2531
2414
|
{
|
|
2532
2415
|
"data-slot": "tabs-content",
|
|
@@ -2539,7 +2422,7 @@ function TabsContent({
|
|
|
2539
2422
|
// src/ui/toggle.tsx
|
|
2540
2423
|
import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
|
|
2541
2424
|
import { cva as cva5 } from "class-variance-authority";
|
|
2542
|
-
import { jsx as
|
|
2425
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2543
2426
|
var toggleVariants = cva5(
|
|
2544
2427
|
"inline-flex cursor-pointer items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors outline-none hover:bg-muted hover:text-muted-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-pressed:bg-accent data-pressed:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2545
2428
|
{
|
|
@@ -2566,7 +2449,7 @@ function Toggle({
|
|
|
2566
2449
|
size,
|
|
2567
2450
|
...props
|
|
2568
2451
|
}) {
|
|
2569
|
-
return /* @__PURE__ */
|
|
2452
|
+
return /* @__PURE__ */ jsx38(
|
|
2570
2453
|
TogglePrimitive,
|
|
2571
2454
|
{
|
|
2572
2455
|
"data-slot": "toggle",
|
|
@@ -2580,7 +2463,7 @@ function Toggle({
|
|
|
2580
2463
|
import { Toggle as TogglePrimitive2 } from "@base-ui/react/toggle";
|
|
2581
2464
|
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
|
|
2582
2465
|
import * as React4 from "react";
|
|
2583
|
-
import { jsx as
|
|
2466
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
2584
2467
|
var ToggleGroupContext = React4.createContext({
|
|
2585
2468
|
size: "default",
|
|
2586
2469
|
variant: "default"
|
|
@@ -2592,7 +2475,7 @@ function ToggleGroup({
|
|
|
2592
2475
|
children,
|
|
2593
2476
|
...props
|
|
2594
2477
|
}) {
|
|
2595
|
-
return /* @__PURE__ */
|
|
2478
|
+
return /* @__PURE__ */ jsx39(
|
|
2596
2479
|
ToggleGroupPrimitive,
|
|
2597
2480
|
{
|
|
2598
2481
|
"data-slot": "toggle-group",
|
|
@@ -2603,7 +2486,7 @@ function ToggleGroup({
|
|
|
2603
2486
|
className
|
|
2604
2487
|
),
|
|
2605
2488
|
...props,
|
|
2606
|
-
children: /* @__PURE__ */
|
|
2489
|
+
children: /* @__PURE__ */ jsx39(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
2607
2490
|
}
|
|
2608
2491
|
);
|
|
2609
2492
|
}
|
|
@@ -2615,7 +2498,7 @@ function ToggleGroupItem({
|
|
|
2615
2498
|
...props
|
|
2616
2499
|
}) {
|
|
2617
2500
|
const context = React4.useContext(ToggleGroupContext);
|
|
2618
|
-
return /* @__PURE__ */
|
|
2501
|
+
return /* @__PURE__ */ jsx39(
|
|
2619
2502
|
TogglePrimitive2,
|
|
2620
2503
|
{
|
|
2621
2504
|
"data-slot": "toggle-group-item",
|
|
@@ -2637,7 +2520,7 @@ function ToggleGroupItem({
|
|
|
2637
2520
|
|
|
2638
2521
|
// src/ui/typography.tsx
|
|
2639
2522
|
import { cva as cva6 } from "class-variance-authority";
|
|
2640
|
-
import { jsx as
|
|
2523
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2641
2524
|
var typographyVariants = cva6("", {
|
|
2642
2525
|
variants: {
|
|
2643
2526
|
variant: {
|
|
@@ -2673,7 +2556,7 @@ var variantTagMap = {
|
|
|
2673
2556
|
};
|
|
2674
2557
|
function Typography({ className, variant = "p", ...props }) {
|
|
2675
2558
|
const Tag = variantTagMap[variant ?? "p"];
|
|
2676
|
-
return /* @__PURE__ */
|
|
2559
|
+
return /* @__PURE__ */ jsx40(
|
|
2677
2560
|
Tag,
|
|
2678
2561
|
{
|
|
2679
2562
|
"data-slot": "typography",
|
|
@@ -2720,6 +2603,10 @@ export {
|
|
|
2720
2603
|
CarouselItem,
|
|
2721
2604
|
CarouselPrevious,
|
|
2722
2605
|
CarouselNext,
|
|
2606
|
+
Field,
|
|
2607
|
+
FieldLabel,
|
|
2608
|
+
FieldDescription,
|
|
2609
|
+
FieldError,
|
|
2723
2610
|
Checkbox,
|
|
2724
2611
|
Collapsible,
|
|
2725
2612
|
CollapsibleTrigger,
|
|
@@ -2747,23 +2634,11 @@ export {
|
|
|
2747
2634
|
TableHead,
|
|
2748
2635
|
TableCell,
|
|
2749
2636
|
TableCaption,
|
|
2750
|
-
DropdownMenu,
|
|
2751
|
-
DropdownMenuTrigger,
|
|
2752
|
-
DropdownMenuContent,
|
|
2753
|
-
DropdownMenuItem,
|
|
2754
|
-
DropdownMenuSeparator,
|
|
2755
|
-
DropdownMenuSub,
|
|
2756
|
-
DropdownMenuSubTrigger,
|
|
2757
|
-
DropdownMenuSubContent,
|
|
2758
2637
|
Empty,
|
|
2759
2638
|
EmptyHeader,
|
|
2760
2639
|
EmptyTitle,
|
|
2761
2640
|
EmptyDescription,
|
|
2762
2641
|
EmptyContent,
|
|
2763
|
-
Field,
|
|
2764
|
-
FieldLabel,
|
|
2765
|
-
FieldDescription,
|
|
2766
|
-
FieldError,
|
|
2767
2642
|
HoverCard,
|
|
2768
2643
|
HoverCardTrigger,
|
|
2769
2644
|
HoverCardContent,
|