@hai3/uikit 0.1.0-alpha.2 → 0.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +135 -128
- package/dist/index.d.ts +135 -128
- package/dist/index.js +1333 -170
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1071 -150
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -2
- package/src/styles/applyTheme.ts +8 -1
- package/src/styles/themeTypes.ts +0 -114
package/dist/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var AspectRatioPrimitive = require('@radix-ui/react-aspect-ratio');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
3
5
|
var React18 = require('react');
|
|
4
6
|
var AvatarPrimitive = require('@radix-ui/react-avatar');
|
|
5
7
|
var clsx = require('clsx');
|
|
6
8
|
var tailwindMerge = require('tailwind-merge');
|
|
7
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
8
9
|
var reactSlot = require('@radix-ui/react-slot');
|
|
9
10
|
var classVarianceAuthority = require('class-variance-authority');
|
|
10
11
|
var uikitContracts = require('@hai3/uikit-contracts');
|
|
12
|
+
var CheckboxPrimitive = require('@radix-ui/react-checkbox');
|
|
11
13
|
var SwitchPrimitives = require('@radix-ui/react-switch');
|
|
12
14
|
var lucideReact = require('lucide-react');
|
|
13
15
|
var lodash = require('lodash');
|
|
@@ -17,10 +19,17 @@ var TooltipPrimitive = require('@radix-ui/react-tooltip');
|
|
|
17
19
|
var PopoverPrimitive = require('@radix-ui/react-popover');
|
|
18
20
|
var HoverCardPrimitive = require('@radix-ui/react-hover-card');
|
|
19
21
|
var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
|
|
22
|
+
var MenubarPrimitive = require('@radix-ui/react-menubar');
|
|
23
|
+
var TabsPrimitive = require('@radix-ui/react-tabs');
|
|
20
24
|
var SheetPrimitive = require('@radix-ui/react-dialog');
|
|
25
|
+
var vaul = require('vaul');
|
|
26
|
+
var ResizablePrimitive = require('react-resizable-panels');
|
|
27
|
+
var ScrollAreaPrimitive = require('@radix-ui/react-scroll-area');
|
|
28
|
+
var SeparatorPrimitive = require('@radix-ui/react-separator');
|
|
21
29
|
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
22
30
|
var useEmblaCarousel = require('embla-carousel-react');
|
|
23
31
|
var CollapsiblePrimitive = require('@radix-ui/react-collapsible');
|
|
32
|
+
var recharts = require('recharts');
|
|
24
33
|
var SelectPrimitive = require('@radix-ui/react-select');
|
|
25
34
|
var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
26
35
|
var ContextMenuPrimitive = require('@radix-ui/react-context-menu');
|
|
@@ -45,8 +54,10 @@ function _interopNamespace(e) {
|
|
|
45
54
|
return Object.freeze(n);
|
|
46
55
|
}
|
|
47
56
|
|
|
57
|
+
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
48
58
|
var React18__namespace = /*#__PURE__*/_interopNamespace(React18);
|
|
49
59
|
var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
|
|
60
|
+
var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
|
|
50
61
|
var SwitchPrimitives__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitives);
|
|
51
62
|
var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
|
|
52
63
|
var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
|
|
@@ -54,7 +65,12 @@ var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitiv
|
|
|
54
65
|
var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
|
|
55
66
|
var HoverCardPrimitive__namespace = /*#__PURE__*/_interopNamespace(HoverCardPrimitive);
|
|
56
67
|
var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
|
|
68
|
+
var MenubarPrimitive__namespace = /*#__PURE__*/_interopNamespace(MenubarPrimitive);
|
|
69
|
+
var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
|
|
57
70
|
var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
|
|
71
|
+
var ResizablePrimitive__namespace = /*#__PURE__*/_interopNamespace(ResizablePrimitive);
|
|
72
|
+
var ScrollAreaPrimitive__namespace = /*#__PURE__*/_interopNamespace(ScrollAreaPrimitive);
|
|
73
|
+
var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
|
|
58
74
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
59
75
|
var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
|
|
60
76
|
var CollapsiblePrimitive__namespace = /*#__PURE__*/_interopNamespace(CollapsiblePrimitive);
|
|
@@ -62,7 +78,12 @@ var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive)
|
|
|
62
78
|
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
63
79
|
var ContextMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(ContextMenuPrimitive);
|
|
64
80
|
|
|
65
|
-
// src/base/
|
|
81
|
+
// src/base/aspect-ratio.tsx
|
|
82
|
+
function AspectRatio({
|
|
83
|
+
...props
|
|
84
|
+
}) {
|
|
85
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatioPrimitive__namespace.Root, { "data-slot": "aspect-ratio", ...props });
|
|
86
|
+
}
|
|
66
87
|
function cn(...inputs) {
|
|
67
88
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
68
89
|
}
|
|
@@ -169,6 +190,47 @@ function Badge({
|
|
|
169
190
|
}
|
|
170
191
|
);
|
|
171
192
|
}
|
|
193
|
+
var CheckIcon = ({ className = "" }) => {
|
|
194
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
195
|
+
"svg",
|
|
196
|
+
{
|
|
197
|
+
className,
|
|
198
|
+
width: "16",
|
|
199
|
+
height: "16",
|
|
200
|
+
viewBox: "0 0 24 24",
|
|
201
|
+
fill: "none",
|
|
202
|
+
stroke: "currentColor",
|
|
203
|
+
strokeWidth: "2",
|
|
204
|
+
strokeLinecap: "round",
|
|
205
|
+
strokeLinejoin: "round",
|
|
206
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6 9 17l-5-5" })
|
|
207
|
+
}
|
|
208
|
+
);
|
|
209
|
+
};
|
|
210
|
+
function Checkbox({
|
|
211
|
+
className,
|
|
212
|
+
...props
|
|
213
|
+
}) {
|
|
214
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
215
|
+
CheckboxPrimitive__namespace.Root,
|
|
216
|
+
{
|
|
217
|
+
"data-slot": "checkbox",
|
|
218
|
+
className: cn(
|
|
219
|
+
"peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
220
|
+
className
|
|
221
|
+
),
|
|
222
|
+
...props,
|
|
223
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
224
|
+
CheckboxPrimitive__namespace.Indicator,
|
|
225
|
+
{
|
|
226
|
+
"data-slot": "checkbox-indicator",
|
|
227
|
+
className: "grid place-content-center text-current transition-none",
|
|
228
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "size-3.5" })
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
}
|
|
232
|
+
);
|
|
233
|
+
}
|
|
172
234
|
var Input = React18__namespace.forwardRef(
|
|
173
235
|
({ className, type, ...props }, ref) => {
|
|
174
236
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -607,190 +669,973 @@ var NavigationMenuIndicator = React18__namespace.forwardRef(({ className, ...pro
|
|
|
607
669
|
}
|
|
608
670
|
));
|
|
609
671
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive__namespace.Indicator.displayName;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
}
|
|
624
|
-
));
|
|
625
|
-
SheetOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
626
|
-
var sheetVariants = classVarianceAuthority.cva(
|
|
627
|
-
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
628
|
-
{
|
|
629
|
-
variants: {
|
|
630
|
-
side: {
|
|
631
|
-
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
632
|
-
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
633
|
-
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
634
|
-
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
defaultVariants: {
|
|
638
|
-
side: "right"
|
|
672
|
+
function Breadcrumb({ ...props }) {
|
|
673
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
674
|
+
}
|
|
675
|
+
function BreadcrumbList({ className, ...props }) {
|
|
676
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
677
|
+
"ol",
|
|
678
|
+
{
|
|
679
|
+
"data-slot": "breadcrumb-list",
|
|
680
|
+
className: cn(
|
|
681
|
+
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
|
|
682
|
+
className
|
|
683
|
+
),
|
|
684
|
+
...props
|
|
639
685
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
644
|
-
|
|
645
|
-
SheetPrimitive__namespace.Content,
|
|
686
|
+
);
|
|
687
|
+
}
|
|
688
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
689
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
690
|
+
"li",
|
|
646
691
|
{
|
|
647
|
-
|
|
648
|
-
className: cn(
|
|
692
|
+
"data-slot": "breadcrumb-item",
|
|
693
|
+
className: cn("inline-flex items-center gap-1.5", className),
|
|
694
|
+
...props
|
|
695
|
+
}
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
function BreadcrumbLink({
|
|
699
|
+
asChild,
|
|
700
|
+
className,
|
|
701
|
+
...props
|
|
702
|
+
}) {
|
|
703
|
+
const Comp = asChild ? reactSlot.Slot : "a";
|
|
704
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
705
|
+
Comp,
|
|
706
|
+
{
|
|
707
|
+
"data-slot": "breadcrumb-link",
|
|
708
|
+
className: cn("hover:text-foreground transition-colors", className),
|
|
709
|
+
...props
|
|
710
|
+
}
|
|
711
|
+
);
|
|
712
|
+
}
|
|
713
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
714
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
715
|
+
"span",
|
|
716
|
+
{
|
|
717
|
+
"data-slot": "breadcrumb-page",
|
|
718
|
+
role: "link",
|
|
719
|
+
"aria-disabled": "true",
|
|
720
|
+
"aria-current": "page",
|
|
721
|
+
className: cn("text-foreground font-normal", className),
|
|
722
|
+
...props
|
|
723
|
+
}
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
function BreadcrumbSeparator({
|
|
727
|
+
children,
|
|
728
|
+
className,
|
|
729
|
+
...props
|
|
730
|
+
}) {
|
|
731
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
732
|
+
"li",
|
|
733
|
+
{
|
|
734
|
+
"data-slot": "breadcrumb-separator",
|
|
735
|
+
role: "presentation",
|
|
736
|
+
"aria-hidden": "true",
|
|
737
|
+
className: cn("[&>svg]:size-3.5", className),
|
|
738
|
+
...props,
|
|
739
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
740
|
+
}
|
|
741
|
+
);
|
|
742
|
+
}
|
|
743
|
+
function BreadcrumbEllipsis({
|
|
744
|
+
className,
|
|
745
|
+
...props
|
|
746
|
+
}) {
|
|
747
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
748
|
+
"span",
|
|
749
|
+
{
|
|
750
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
751
|
+
role: "presentation",
|
|
752
|
+
"aria-hidden": "true",
|
|
753
|
+
className: cn("flex size-9 items-center justify-center", className),
|
|
649
754
|
...props,
|
|
650
755
|
children: [
|
|
651
|
-
/* @__PURE__ */ jsxRuntime.
|
|
652
|
-
|
|
653
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
654
|
-
] }),
|
|
655
|
-
children
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" }),
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More" })
|
|
656
758
|
]
|
|
657
759
|
}
|
|
658
|
-
)
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
760
|
+
);
|
|
761
|
+
}
|
|
762
|
+
var ChevronRightIcon = ({ className = "" }) => {
|
|
763
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
764
|
+
"svg",
|
|
765
|
+
{
|
|
766
|
+
className,
|
|
767
|
+
width: "16",
|
|
768
|
+
height: "16",
|
|
769
|
+
viewBox: "0 0 24 24",
|
|
770
|
+
fill: "none",
|
|
771
|
+
stroke: "currentColor",
|
|
772
|
+
strokeWidth: "2",
|
|
773
|
+
strokeLinecap: "round",
|
|
774
|
+
strokeLinejoin: "round",
|
|
775
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" })
|
|
776
|
+
}
|
|
777
|
+
);
|
|
778
|
+
};
|
|
779
|
+
var CircleIcon = ({ className = "" }) => {
|
|
780
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
781
|
+
"svg",
|
|
782
|
+
{
|
|
783
|
+
className,
|
|
784
|
+
width: "16",
|
|
785
|
+
height: "16",
|
|
786
|
+
viewBox: "0 0 24 24",
|
|
787
|
+
fill: "none",
|
|
788
|
+
stroke: "currentColor",
|
|
789
|
+
strokeWidth: "2",
|
|
790
|
+
strokeLinecap: "round",
|
|
791
|
+
strokeLinejoin: "round",
|
|
792
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" })
|
|
793
|
+
}
|
|
794
|
+
);
|
|
795
|
+
};
|
|
796
|
+
function Menubar({
|
|
662
797
|
className,
|
|
663
798
|
...props
|
|
664
|
-
})
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
"
|
|
669
|
-
className
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
799
|
+
}) {
|
|
800
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
801
|
+
MenubarPrimitive__namespace.Root,
|
|
802
|
+
{
|
|
803
|
+
"data-slot": "menubar",
|
|
804
|
+
className: cn(
|
|
805
|
+
"bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
|
|
806
|
+
className
|
|
807
|
+
),
|
|
808
|
+
...props
|
|
809
|
+
}
|
|
810
|
+
);
|
|
811
|
+
}
|
|
812
|
+
function MenubarMenu({
|
|
813
|
+
...props
|
|
814
|
+
}) {
|
|
815
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Menu, { "data-slot": "menubar-menu", ...props });
|
|
816
|
+
}
|
|
817
|
+
function MenubarGroup({
|
|
818
|
+
...props
|
|
819
|
+
}) {
|
|
820
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Group, { "data-slot": "menubar-group", ...props });
|
|
821
|
+
}
|
|
822
|
+
function MenubarPortal({
|
|
823
|
+
...props
|
|
824
|
+
}) {
|
|
825
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Portal, { "data-slot": "menubar-portal", ...props });
|
|
826
|
+
}
|
|
827
|
+
function MenubarRadioGroup({
|
|
828
|
+
...props
|
|
829
|
+
}) {
|
|
830
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.RadioGroup, { "data-slot": "menubar-radio-group", ...props });
|
|
831
|
+
}
|
|
832
|
+
function MenubarTrigger({
|
|
676
833
|
className,
|
|
677
834
|
...props
|
|
678
|
-
})
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
"
|
|
683
|
-
className
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
835
|
+
}) {
|
|
836
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
837
|
+
MenubarPrimitive__namespace.Trigger,
|
|
838
|
+
{
|
|
839
|
+
"data-slot": "menubar-trigger",
|
|
840
|
+
className: cn(
|
|
841
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
|
|
842
|
+
className
|
|
843
|
+
),
|
|
844
|
+
...props
|
|
845
|
+
}
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
function MenubarContent({
|
|
849
|
+
className,
|
|
850
|
+
align = "start",
|
|
851
|
+
alignOffset = -4,
|
|
852
|
+
sideOffset = 8,
|
|
853
|
+
...props
|
|
854
|
+
}) {
|
|
855
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
856
|
+
MenubarPrimitive__namespace.Content,
|
|
857
|
+
{
|
|
858
|
+
"data-slot": "menubar-content",
|
|
859
|
+
align,
|
|
860
|
+
alignOffset,
|
|
861
|
+
sideOffset,
|
|
862
|
+
className: cn(
|
|
863
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
|
|
864
|
+
className
|
|
865
|
+
),
|
|
866
|
+
...props
|
|
867
|
+
}
|
|
868
|
+
) });
|
|
869
|
+
}
|
|
870
|
+
function MenubarItem({
|
|
871
|
+
className,
|
|
872
|
+
inset,
|
|
873
|
+
variant = "default",
|
|
874
|
+
...props
|
|
875
|
+
}) {
|
|
876
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
877
|
+
MenubarPrimitive__namespace.Item,
|
|
878
|
+
{
|
|
879
|
+
"data-slot": "menubar-item",
|
|
880
|
+
"data-inset": inset,
|
|
881
|
+
"data-variant": variant,
|
|
882
|
+
className: cn(
|
|
883
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
884
|
+
className
|
|
885
|
+
),
|
|
886
|
+
...props
|
|
887
|
+
}
|
|
888
|
+
);
|
|
889
|
+
}
|
|
890
|
+
function MenubarCheckboxItem({
|
|
891
|
+
className,
|
|
892
|
+
children,
|
|
893
|
+
checked,
|
|
894
|
+
...props
|
|
895
|
+
}) {
|
|
896
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
897
|
+
MenubarPrimitive__namespace.CheckboxItem,
|
|
898
|
+
{
|
|
899
|
+
"data-slot": "menubar-checkbox-item",
|
|
900
|
+
className: cn(
|
|
901
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
902
|
+
className
|
|
903
|
+
),
|
|
904
|
+
checked,
|
|
905
|
+
...props,
|
|
906
|
+
children: [
|
|
907
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "size-4" }) }) }),
|
|
908
|
+
children
|
|
909
|
+
]
|
|
910
|
+
}
|
|
911
|
+
);
|
|
912
|
+
}
|
|
913
|
+
function MenubarRadioItem({
|
|
914
|
+
className,
|
|
915
|
+
children,
|
|
916
|
+
...props
|
|
917
|
+
}) {
|
|
918
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
919
|
+
MenubarPrimitive__namespace.RadioItem,
|
|
920
|
+
{
|
|
921
|
+
"data-slot": "menubar-radio-item",
|
|
922
|
+
className: cn(
|
|
923
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
924
|
+
className
|
|
925
|
+
),
|
|
926
|
+
...props,
|
|
927
|
+
children: [
|
|
928
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
929
|
+
children
|
|
930
|
+
]
|
|
931
|
+
}
|
|
932
|
+
);
|
|
933
|
+
}
|
|
934
|
+
function MenubarLabel({
|
|
935
|
+
className,
|
|
936
|
+
inset,
|
|
937
|
+
...props
|
|
938
|
+
}) {
|
|
939
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
940
|
+
MenubarPrimitive__namespace.Label,
|
|
941
|
+
{
|
|
942
|
+
"data-slot": "menubar-label",
|
|
943
|
+
"data-inset": inset,
|
|
944
|
+
className: cn(
|
|
945
|
+
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
946
|
+
className
|
|
947
|
+
),
|
|
948
|
+
...props
|
|
949
|
+
}
|
|
950
|
+
);
|
|
951
|
+
}
|
|
952
|
+
function MenubarSeparator({
|
|
953
|
+
className,
|
|
954
|
+
...props
|
|
955
|
+
}) {
|
|
956
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
957
|
+
MenubarPrimitive__namespace.Separator,
|
|
958
|
+
{
|
|
959
|
+
"data-slot": "menubar-separator",
|
|
960
|
+
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
961
|
+
...props
|
|
962
|
+
}
|
|
963
|
+
);
|
|
964
|
+
}
|
|
965
|
+
function MenubarShortcut({
|
|
966
|
+
className,
|
|
967
|
+
...props
|
|
968
|
+
}) {
|
|
969
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
970
|
+
"span",
|
|
971
|
+
{
|
|
972
|
+
"data-slot": "menubar-shortcut",
|
|
973
|
+
className: cn(
|
|
974
|
+
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
975
|
+
className
|
|
976
|
+
),
|
|
977
|
+
...props
|
|
978
|
+
}
|
|
979
|
+
);
|
|
980
|
+
}
|
|
981
|
+
function MenubarSub({
|
|
982
|
+
...props
|
|
983
|
+
}) {
|
|
984
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Sub, { "data-slot": "menubar-sub", ...props });
|
|
985
|
+
}
|
|
986
|
+
function MenubarSubTrigger({
|
|
987
|
+
className,
|
|
988
|
+
inset,
|
|
989
|
+
children,
|
|
990
|
+
...props
|
|
991
|
+
}) {
|
|
992
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
993
|
+
MenubarPrimitive__namespace.SubTrigger,
|
|
994
|
+
{
|
|
995
|
+
"data-slot": "menubar-sub-trigger",
|
|
996
|
+
"data-inset": inset,
|
|
997
|
+
className: cn(
|
|
998
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",
|
|
999
|
+
className
|
|
1000
|
+
),
|
|
1001
|
+
...props,
|
|
1002
|
+
children: [
|
|
1003
|
+
children,
|
|
1004
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ml-auto h-4 w-4" })
|
|
1005
|
+
]
|
|
1006
|
+
}
|
|
1007
|
+
);
|
|
1008
|
+
}
|
|
1009
|
+
function MenubarSubContent({
|
|
1010
|
+
className,
|
|
1011
|
+
...props
|
|
1012
|
+
}) {
|
|
1013
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1014
|
+
MenubarPrimitive__namespace.SubContent,
|
|
1015
|
+
{
|
|
1016
|
+
"data-slot": "menubar-sub-content",
|
|
1017
|
+
className: cn(
|
|
1018
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
1019
|
+
className
|
|
1020
|
+
),
|
|
1021
|
+
...props
|
|
1022
|
+
}
|
|
1023
|
+
);
|
|
1024
|
+
}
|
|
1025
|
+
var ChevronLeftIcon = ({ className = "" }) => {
|
|
1026
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1027
|
+
"svg",
|
|
1028
|
+
{
|
|
1029
|
+
className,
|
|
1030
|
+
width: "16",
|
|
1031
|
+
height: "16",
|
|
1032
|
+
viewBox: "0 0 24 24",
|
|
1033
|
+
fill: "none",
|
|
1034
|
+
stroke: "currentColor",
|
|
1035
|
+
strokeWidth: "2",
|
|
1036
|
+
strokeLinecap: "round",
|
|
1037
|
+
strokeLinejoin: "round",
|
|
1038
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 18-6-6 6-6" })
|
|
1039
|
+
}
|
|
1040
|
+
);
|
|
1041
|
+
};
|
|
1042
|
+
var MoreHorizontalIcon = ({ className = "" }) => {
|
|
1043
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1044
|
+
"svg",
|
|
1045
|
+
{
|
|
1046
|
+
className,
|
|
1047
|
+
width: "16",
|
|
1048
|
+
height: "16",
|
|
1049
|
+
viewBox: "0 0 24 24",
|
|
1050
|
+
fill: "none",
|
|
1051
|
+
stroke: "currentColor",
|
|
1052
|
+
strokeWidth: "2",
|
|
1053
|
+
strokeLinecap: "round",
|
|
1054
|
+
strokeLinejoin: "round",
|
|
1055
|
+
children: [
|
|
1056
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
1057
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "12", r: "1" }),
|
|
1058
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "12", r: "1" })
|
|
1059
|
+
]
|
|
1060
|
+
}
|
|
1061
|
+
);
|
|
1062
|
+
};
|
|
1063
|
+
function Pagination({ className, ...props }) {
|
|
1064
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1065
|
+
"nav",
|
|
1066
|
+
{
|
|
1067
|
+
role: "navigation",
|
|
1068
|
+
"aria-label": "pagination",
|
|
1069
|
+
"data-slot": "pagination",
|
|
1070
|
+
className: cn("mx-auto flex w-full justify-center", className),
|
|
1071
|
+
...props
|
|
1072
|
+
}
|
|
1073
|
+
);
|
|
1074
|
+
}
|
|
1075
|
+
function PaginationContent({
|
|
1076
|
+
className,
|
|
1077
|
+
...props
|
|
1078
|
+
}) {
|
|
1079
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1080
|
+
"ul",
|
|
1081
|
+
{
|
|
1082
|
+
"data-slot": "pagination-content",
|
|
1083
|
+
className: cn("flex flex-row items-center gap-1", className),
|
|
1084
|
+
...props
|
|
1085
|
+
}
|
|
1086
|
+
);
|
|
1087
|
+
}
|
|
1088
|
+
function PaginationItem({ ...props }) {
|
|
1089
|
+
return /* @__PURE__ */ jsxRuntime.jsx("li", { "data-slot": "pagination-item", ...props });
|
|
1090
|
+
}
|
|
1091
|
+
function PaginationLink({
|
|
1092
|
+
className,
|
|
1093
|
+
isActive,
|
|
1094
|
+
size = uikitContracts.ButtonSize.Icon,
|
|
1095
|
+
asChild,
|
|
1096
|
+
...props
|
|
1097
|
+
}) {
|
|
1098
|
+
const Comp = asChild ? reactSlot.Slot : "a";
|
|
1099
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1100
|
+
Comp,
|
|
1101
|
+
{
|
|
1102
|
+
"aria-current": isActive ? "page" : void 0,
|
|
1103
|
+
"data-slot": "pagination-link",
|
|
1104
|
+
"data-active": isActive,
|
|
1105
|
+
className: cn(
|
|
1106
|
+
buttonVariants({
|
|
1107
|
+
variant: isActive ? uikitContracts.ButtonVariant.Outline : uikitContracts.ButtonVariant.Ghost,
|
|
1108
|
+
size
|
|
1109
|
+
}),
|
|
1110
|
+
className
|
|
1111
|
+
),
|
|
1112
|
+
...props
|
|
1113
|
+
}
|
|
1114
|
+
);
|
|
1115
|
+
}
|
|
1116
|
+
function PaginationPrevious({
|
|
1117
|
+
className,
|
|
1118
|
+
children,
|
|
1119
|
+
...props
|
|
1120
|
+
}) {
|
|
1121
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1122
|
+
PaginationLink,
|
|
1123
|
+
{
|
|
1124
|
+
"aria-label": "Go to previous page",
|
|
1125
|
+
size: uikitContracts.ButtonSize.Default,
|
|
1126
|
+
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1127
|
+
...props,
|
|
1128
|
+
children: [
|
|
1129
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
1130
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:block", children: children ?? "Previous" })
|
|
1131
|
+
]
|
|
1132
|
+
}
|
|
1133
|
+
);
|
|
1134
|
+
}
|
|
1135
|
+
function PaginationNext({
|
|
1136
|
+
className,
|
|
1137
|
+
children,
|
|
1138
|
+
...props
|
|
1139
|
+
}) {
|
|
1140
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1141
|
+
PaginationLink,
|
|
1142
|
+
{
|
|
1143
|
+
"aria-label": "Go to next page",
|
|
1144
|
+
size: uikitContracts.ButtonSize.Default,
|
|
1145
|
+
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1146
|
+
...props,
|
|
1147
|
+
children: [
|
|
1148
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:block", children: children ?? "Next" }),
|
|
1149
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "h-4 w-4" })
|
|
1150
|
+
]
|
|
1151
|
+
}
|
|
1152
|
+
);
|
|
1153
|
+
}
|
|
1154
|
+
function PaginationEllipsis({
|
|
1155
|
+
className,
|
|
1156
|
+
...props
|
|
1157
|
+
}) {
|
|
1158
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1159
|
+
"span",
|
|
1160
|
+
{
|
|
1161
|
+
"aria-hidden": true,
|
|
1162
|
+
"data-slot": "pagination-ellipsis",
|
|
1163
|
+
className: cn("flex size-9 items-center justify-center", className),
|
|
1164
|
+
...props,
|
|
1165
|
+
children: [
|
|
1166
|
+
/* @__PURE__ */ jsxRuntime.jsx(MoreHorizontalIcon, { className: "h-4 w-4" }),
|
|
1167
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More pages" })
|
|
1168
|
+
]
|
|
1169
|
+
}
|
|
1170
|
+
);
|
|
1171
|
+
}
|
|
1172
|
+
function Tabs({
|
|
1173
|
+
className,
|
|
1174
|
+
...props
|
|
1175
|
+
}) {
|
|
1176
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
|
+
TabsPrimitive__namespace.Root,
|
|
1178
|
+
{
|
|
1179
|
+
"data-slot": "tabs",
|
|
1180
|
+
className: cn("flex flex-col gap-2", className),
|
|
1181
|
+
...props
|
|
1182
|
+
}
|
|
1183
|
+
);
|
|
1184
|
+
}
|
|
1185
|
+
function TabsList({
|
|
1186
|
+
className,
|
|
1187
|
+
...props
|
|
1188
|
+
}) {
|
|
1189
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1190
|
+
TabsPrimitive__namespace.List,
|
|
1191
|
+
{
|
|
1192
|
+
"data-slot": "tabs-list",
|
|
1193
|
+
className: cn(
|
|
1194
|
+
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
1195
|
+
className
|
|
1196
|
+
),
|
|
1197
|
+
...props
|
|
1198
|
+
}
|
|
1199
|
+
);
|
|
1200
|
+
}
|
|
1201
|
+
function TabsTrigger({
|
|
1202
|
+
className,
|
|
1203
|
+
...props
|
|
1204
|
+
}) {
|
|
1205
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1206
|
+
TabsPrimitive__namespace.Trigger,
|
|
1207
|
+
{
|
|
1208
|
+
"data-slot": "tabs-trigger",
|
|
1209
|
+
className: cn(
|
|
1210
|
+
"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1211
|
+
className
|
|
1212
|
+
),
|
|
1213
|
+
...props
|
|
1214
|
+
}
|
|
1215
|
+
);
|
|
1216
|
+
}
|
|
1217
|
+
function TabsContent({
|
|
1218
|
+
className,
|
|
1219
|
+
...props
|
|
1220
|
+
}) {
|
|
1221
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1222
|
+
TabsPrimitive__namespace.Content,
|
|
1223
|
+
{
|
|
1224
|
+
"data-slot": "tabs-content",
|
|
1225
|
+
className: cn("flex-1 outline-none", className),
|
|
1226
|
+
...props
|
|
1227
|
+
}
|
|
1228
|
+
);
|
|
1229
|
+
}
|
|
1230
|
+
var Sheet = SheetPrimitive__namespace.Root;
|
|
1231
|
+
var SheetTrigger = SheetPrimitive__namespace.Trigger;
|
|
1232
|
+
var SheetClose = SheetPrimitive__namespace.Close;
|
|
1233
|
+
var SheetPortal = SheetPrimitive__namespace.Portal;
|
|
1234
|
+
var SheetOverlay = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1235
|
+
SheetPrimitive__namespace.Overlay,
|
|
1236
|
+
{
|
|
1237
|
+
className: cn(
|
|
1238
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1239
|
+
className
|
|
1240
|
+
),
|
|
1241
|
+
...props,
|
|
1242
|
+
ref
|
|
1243
|
+
}
|
|
1244
|
+
));
|
|
1245
|
+
SheetOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
1246
|
+
var sheetVariants = classVarianceAuthority.cva(
|
|
1247
|
+
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1248
|
+
{
|
|
1249
|
+
variants: {
|
|
1250
|
+
side: {
|
|
1251
|
+
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
1252
|
+
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
1253
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
1254
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
defaultVariants: {
|
|
1258
|
+
side: "right"
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
);
|
|
1262
|
+
var SheetContent = React18__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
|
|
1263
|
+
/* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
|
|
1264
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1265
|
+
SheetPrimitive__namespace.Content,
|
|
1266
|
+
{
|
|
1267
|
+
ref,
|
|
1268
|
+
className: cn(sheetVariants({ side }), className),
|
|
1269
|
+
...props,
|
|
1270
|
+
children: [
|
|
1271
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
1272
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
|
|
1273
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1274
|
+
] }),
|
|
1275
|
+
children
|
|
1276
|
+
]
|
|
1277
|
+
}
|
|
1278
|
+
)
|
|
1279
|
+
] }));
|
|
1280
|
+
SheetContent.displayName = SheetPrimitive__namespace.Content.displayName;
|
|
1281
|
+
var SheetHeader = ({
|
|
1282
|
+
className,
|
|
1283
|
+
...props
|
|
1284
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1285
|
+
"div",
|
|
1286
|
+
{
|
|
1287
|
+
className: cn(
|
|
1288
|
+
"flex flex-col space-y-2 text-center sm:text-left",
|
|
1289
|
+
className
|
|
1290
|
+
),
|
|
1291
|
+
...props
|
|
1292
|
+
}
|
|
1293
|
+
);
|
|
1294
|
+
SheetHeader.displayName = "SheetHeader";
|
|
1295
|
+
var SheetFooter = ({
|
|
1296
|
+
className,
|
|
1297
|
+
...props
|
|
1298
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1299
|
+
"div",
|
|
1300
|
+
{
|
|
1301
|
+
className: cn(
|
|
1302
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1303
|
+
className
|
|
1304
|
+
),
|
|
1305
|
+
...props
|
|
1306
|
+
}
|
|
1307
|
+
);
|
|
1308
|
+
SheetFooter.displayName = "SheetFooter";
|
|
1309
|
+
var SheetTitle = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
|
+
SheetPrimitive__namespace.Title,
|
|
1311
|
+
{
|
|
1312
|
+
ref,
|
|
1313
|
+
className: cn("text-lg font-semibold text-foreground", className),
|
|
1314
|
+
...props
|
|
1315
|
+
}
|
|
1316
|
+
));
|
|
1317
|
+
SheetTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
1318
|
+
var SheetDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1319
|
+
SheetPrimitive__namespace.Description,
|
|
1320
|
+
{
|
|
1321
|
+
ref,
|
|
1322
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
1323
|
+
...props
|
|
1324
|
+
}
|
|
1325
|
+
));
|
|
1326
|
+
SheetDescription.displayName = SheetPrimitive__namespace.Description.displayName;
|
|
1327
|
+
var Dialog = SheetPrimitive__namespace.Root;
|
|
1328
|
+
var DialogTrigger = SheetPrimitive__namespace.Trigger;
|
|
1329
|
+
var DialogPortal = SheetPrimitive__namespace.Portal;
|
|
1330
|
+
var DialogClose = SheetPrimitive__namespace.Close;
|
|
1331
|
+
var DialogOverlay = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1332
|
+
SheetPrimitive__namespace.Overlay,
|
|
1333
|
+
{
|
|
1334
|
+
ref,
|
|
1335
|
+
className: cn(
|
|
1336
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1337
|
+
className
|
|
1338
|
+
),
|
|
1339
|
+
...props
|
|
1340
|
+
}
|
|
1341
|
+
));
|
|
1342
|
+
DialogOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
1343
|
+
var DialogContent = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
|
|
1344
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
|
|
1345
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1346
|
+
SheetPrimitive__namespace.Content,
|
|
1347
|
+
{
|
|
1348
|
+
ref,
|
|
1349
|
+
className: cn(
|
|
1350
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
1351
|
+
className
|
|
1352
|
+
),
|
|
1353
|
+
...props,
|
|
1354
|
+
children: [
|
|
1355
|
+
children,
|
|
1356
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SheetPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
1357
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" }),
|
|
1358
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
|
|
1359
|
+
] })
|
|
1360
|
+
]
|
|
1361
|
+
}
|
|
1362
|
+
)
|
|
1363
|
+
] }));
|
|
1364
|
+
DialogContent.displayName = SheetPrimitive__namespace.Content.displayName;
|
|
1365
|
+
var DialogHeader = ({
|
|
1366
|
+
className,
|
|
1367
|
+
...props
|
|
1368
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1369
|
+
"div",
|
|
1370
|
+
{
|
|
1371
|
+
className: cn(
|
|
1372
|
+
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
1373
|
+
className
|
|
1374
|
+
),
|
|
1375
|
+
...props
|
|
1376
|
+
}
|
|
1377
|
+
);
|
|
1378
|
+
DialogHeader.displayName = "DialogHeader";
|
|
1379
|
+
var DialogFooter = ({
|
|
1380
|
+
className,
|
|
1381
|
+
...props
|
|
1382
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1383
|
+
"div",
|
|
1384
|
+
{
|
|
1385
|
+
className: cn(
|
|
1386
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1387
|
+
className
|
|
1388
|
+
),
|
|
1389
|
+
...props
|
|
1390
|
+
}
|
|
1391
|
+
);
|
|
1392
|
+
DialogFooter.displayName = "DialogFooter";
|
|
1393
|
+
var DialogTitle = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1394
|
+
SheetPrimitive__namespace.Title,
|
|
1395
|
+
{
|
|
1396
|
+
ref,
|
|
1397
|
+
className: cn(
|
|
1398
|
+
"text-lg font-semibold leading-none tracking-tight",
|
|
1399
|
+
className
|
|
1400
|
+
),
|
|
1401
|
+
...props
|
|
1402
|
+
}
|
|
1403
|
+
));
|
|
1404
|
+
DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
1405
|
+
var DialogDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1406
|
+
SheetPrimitive__namespace.Description,
|
|
1407
|
+
{
|
|
1408
|
+
ref,
|
|
1409
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
1410
|
+
...props
|
|
1411
|
+
}
|
|
1412
|
+
));
|
|
1413
|
+
DialogDescription.displayName = SheetPrimitive__namespace.Description.displayName;
|
|
1414
|
+
function Drawer({
|
|
1415
|
+
...props
|
|
1416
|
+
}) {
|
|
1417
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Root, { "data-slot": "drawer", ...props });
|
|
1418
|
+
}
|
|
1419
|
+
function DrawerTrigger({
|
|
1420
|
+
...props
|
|
1421
|
+
}) {
|
|
1422
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
|
|
1423
|
+
}
|
|
1424
|
+
function DrawerPortal({
|
|
1425
|
+
...props
|
|
1426
|
+
}) {
|
|
1427
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
|
|
1428
|
+
}
|
|
1429
|
+
function DrawerClose({
|
|
1430
|
+
...props
|
|
1431
|
+
}) {
|
|
1432
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Close, { "data-slot": "drawer-close", ...props });
|
|
1433
|
+
}
|
|
1434
|
+
function DrawerOverlay({
|
|
1435
|
+
className,
|
|
1436
|
+
...props
|
|
1437
|
+
}) {
|
|
1438
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1439
|
+
vaul.Drawer.Overlay,
|
|
1440
|
+
{
|
|
1441
|
+
"data-slot": "drawer-overlay",
|
|
1442
|
+
className: cn(
|
|
1443
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
1444
|
+
className
|
|
1445
|
+
),
|
|
1446
|
+
...props
|
|
1447
|
+
}
|
|
1448
|
+
);
|
|
1449
|
+
}
|
|
1450
|
+
function DrawerContent({
|
|
1451
|
+
className,
|
|
1452
|
+
children,
|
|
1453
|
+
...props
|
|
1454
|
+
}) {
|
|
1455
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
1456
|
+
/* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
|
|
1457
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1458
|
+
vaul.Drawer.Content,
|
|
1459
|
+
{
|
|
1460
|
+
"data-slot": "drawer-content",
|
|
1461
|
+
className: cn(
|
|
1462
|
+
"group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
|
|
1463
|
+
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
1464
|
+
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
1465
|
+
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
1466
|
+
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
|
|
1467
|
+
className
|
|
1468
|
+
),
|
|
1469
|
+
...props,
|
|
1470
|
+
children: [
|
|
1471
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
1472
|
+
children
|
|
1473
|
+
]
|
|
1474
|
+
}
|
|
1475
|
+
)
|
|
1476
|
+
] });
|
|
1477
|
+
}
|
|
1478
|
+
function DrawerHeader({ className, ...props }) {
|
|
1479
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1480
|
+
"div",
|
|
1481
|
+
{
|
|
1482
|
+
"data-slot": "drawer-header",
|
|
1483
|
+
className: cn(
|
|
1484
|
+
"flex flex-col gap-1.5 p-4 text-center sm:text-left",
|
|
1485
|
+
className
|
|
1486
|
+
),
|
|
1487
|
+
...props
|
|
1488
|
+
}
|
|
1489
|
+
);
|
|
1490
|
+
}
|
|
1491
|
+
function DrawerFooter({ className, ...props }) {
|
|
1492
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1493
|
+
"div",
|
|
1494
|
+
{
|
|
1495
|
+
"data-slot": "drawer-footer",
|
|
1496
|
+
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
1497
|
+
...props
|
|
1498
|
+
}
|
|
1499
|
+
);
|
|
1500
|
+
}
|
|
1501
|
+
function DrawerTitle({
|
|
1502
|
+
className,
|
|
1503
|
+
...props
|
|
1504
|
+
}) {
|
|
1505
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1506
|
+
vaul.Drawer.Title,
|
|
1507
|
+
{
|
|
1508
|
+
"data-slot": "drawer-title",
|
|
1509
|
+
className: cn("text-lg font-semibold text-foreground", className),
|
|
1510
|
+
...props
|
|
1511
|
+
}
|
|
1512
|
+
);
|
|
1513
|
+
}
|
|
1514
|
+
function DrawerDescription({
|
|
1515
|
+
className,
|
|
1516
|
+
...props
|
|
1517
|
+
}) {
|
|
1518
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1519
|
+
vaul.Drawer.Description,
|
|
727
1520
|
{
|
|
728
|
-
|
|
1521
|
+
"data-slot": "drawer-description",
|
|
1522
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
1523
|
+
...props
|
|
1524
|
+
}
|
|
1525
|
+
);
|
|
1526
|
+
}
|
|
1527
|
+
function ResizablePanelGroup({
|
|
1528
|
+
className,
|
|
1529
|
+
...props
|
|
1530
|
+
}) {
|
|
1531
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1532
|
+
ResizablePrimitive__namespace.PanelGroup,
|
|
1533
|
+
{
|
|
1534
|
+
"data-slot": "resizable-panel-group",
|
|
729
1535
|
className: cn(
|
|
730
|
-
"
|
|
1536
|
+
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
1537
|
+
className
|
|
1538
|
+
),
|
|
1539
|
+
...props
|
|
1540
|
+
}
|
|
1541
|
+
);
|
|
1542
|
+
}
|
|
1543
|
+
function ResizablePanel({
|
|
1544
|
+
...props
|
|
1545
|
+
}) {
|
|
1546
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ResizablePrimitive__namespace.Panel, { "data-slot": "resizable-panel", ...props });
|
|
1547
|
+
}
|
|
1548
|
+
function ResizableHandle({
|
|
1549
|
+
withHandle,
|
|
1550
|
+
className,
|
|
1551
|
+
...props
|
|
1552
|
+
}) {
|
|
1553
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1554
|
+
ResizablePrimitive__namespace.PanelResizeHandle,
|
|
1555
|
+
{
|
|
1556
|
+
"data-slot": "resizable-handle",
|
|
1557
|
+
className: cn(
|
|
1558
|
+
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
731
1559
|
className
|
|
732
1560
|
),
|
|
733
1561
|
...props,
|
|
1562
|
+
children: withHandle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GripVertical, { className: "size-2.5" }) })
|
|
1563
|
+
}
|
|
1564
|
+
);
|
|
1565
|
+
}
|
|
1566
|
+
function ScrollArea({
|
|
1567
|
+
className,
|
|
1568
|
+
children,
|
|
1569
|
+
...props
|
|
1570
|
+
}) {
|
|
1571
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1572
|
+
ScrollAreaPrimitive__namespace.Root,
|
|
1573
|
+
{
|
|
1574
|
+
"data-slot": "scroll-area",
|
|
1575
|
+
className: cn("relative", className),
|
|
1576
|
+
...props,
|
|
734
1577
|
children: [
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
1578
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1579
|
+
ScrollAreaPrimitive__namespace.Viewport,
|
|
1580
|
+
{
|
|
1581
|
+
"data-slot": "scroll-area-viewport",
|
|
1582
|
+
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
1583
|
+
children
|
|
1584
|
+
}
|
|
1585
|
+
),
|
|
1586
|
+
/* @__PURE__ */ jsxRuntime.jsx(ScrollBar, {}),
|
|
1587
|
+
/* @__PURE__ */ jsxRuntime.jsx(ScrollAreaPrimitive__namespace.Corner, {})
|
|
740
1588
|
]
|
|
741
1589
|
}
|
|
742
|
-
)
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
var DialogHeader = ({
|
|
1590
|
+
);
|
|
1591
|
+
}
|
|
1592
|
+
function ScrollBar({
|
|
746
1593
|
className,
|
|
1594
|
+
orientation = "vertical",
|
|
747
1595
|
...props
|
|
748
|
-
})
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
"
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
1596
|
+
}) {
|
|
1597
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1598
|
+
ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
|
|
1599
|
+
{
|
|
1600
|
+
"data-slot": "scroll-area-scrollbar",
|
|
1601
|
+
orientation,
|
|
1602
|
+
className: cn(
|
|
1603
|
+
"flex touch-none p-px transition-colors select-none",
|
|
1604
|
+
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
1605
|
+
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
1606
|
+
className
|
|
1607
|
+
),
|
|
1608
|
+
...props,
|
|
1609
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1610
|
+
ScrollAreaPrimitive__namespace.ScrollAreaThumb,
|
|
1611
|
+
{
|
|
1612
|
+
"data-slot": "scroll-area-thumb",
|
|
1613
|
+
className: "bg-border relative flex-1 rounded-full"
|
|
1614
|
+
}
|
|
1615
|
+
)
|
|
1616
|
+
}
|
|
1617
|
+
);
|
|
1618
|
+
}
|
|
1619
|
+
function Separator2({
|
|
760
1620
|
className,
|
|
1621
|
+
orientation = "horizontal",
|
|
1622
|
+
decorative = true,
|
|
761
1623
|
...props
|
|
762
|
-
})
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
"
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
className: cn(
|
|
778
|
-
"text-lg font-semibold leading-none tracking-tight",
|
|
779
|
-
className
|
|
780
|
-
),
|
|
781
|
-
...props
|
|
782
|
-
}
|
|
783
|
-
));
|
|
784
|
-
DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
785
|
-
var DialogDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
786
|
-
SheetPrimitive__namespace.Description,
|
|
787
|
-
{
|
|
788
|
-
ref,
|
|
789
|
-
className: cn("text-sm text-muted-foreground", className),
|
|
790
|
-
...props
|
|
791
|
-
}
|
|
792
|
-
));
|
|
793
|
-
DialogDescription.displayName = SheetPrimitive__namespace.Description.displayName;
|
|
1624
|
+
}) {
|
|
1625
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1626
|
+
SeparatorPrimitive__namespace.Root,
|
|
1627
|
+
{
|
|
1628
|
+
"data-slot": "separator",
|
|
1629
|
+
decorative,
|
|
1630
|
+
orientation,
|
|
1631
|
+
className: cn(
|
|
1632
|
+
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
1633
|
+
className
|
|
1634
|
+
),
|
|
1635
|
+
...props
|
|
1636
|
+
}
|
|
1637
|
+
);
|
|
1638
|
+
}
|
|
794
1639
|
var Accordion = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
795
1640
|
AccordionPrimitive__namespace.Root,
|
|
796
1641
|
{
|
|
@@ -1052,6 +1897,84 @@ var CollapsibleContent2 = React18__namespace.forwardRef(({ ...props }, ref) => /
|
|
|
1052
1897
|
}
|
|
1053
1898
|
));
|
|
1054
1899
|
CollapsibleContent2.displayName = "CollapsibleContent";
|
|
1900
|
+
function ChartContainer({
|
|
1901
|
+
className,
|
|
1902
|
+
children,
|
|
1903
|
+
width = "100%",
|
|
1904
|
+
height = 350
|
|
1905
|
+
}) {
|
|
1906
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1907
|
+
"div",
|
|
1908
|
+
{
|
|
1909
|
+
"data-slot": "chart-container",
|
|
1910
|
+
className: cn("w-full", className),
|
|
1911
|
+
style: { width, height: typeof height === "number" ? `${height}px` : height },
|
|
1912
|
+
children
|
|
1913
|
+
}
|
|
1914
|
+
);
|
|
1915
|
+
}
|
|
1916
|
+
function ChartTooltipContent({
|
|
1917
|
+
className,
|
|
1918
|
+
label,
|
|
1919
|
+
payload,
|
|
1920
|
+
active
|
|
1921
|
+
}) {
|
|
1922
|
+
if (!active || !payload || payload.length === 0) {
|
|
1923
|
+
return null;
|
|
1924
|
+
}
|
|
1925
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1926
|
+
"div",
|
|
1927
|
+
{
|
|
1928
|
+
"data-slot": "chart-tooltip-content",
|
|
1929
|
+
className: cn(
|
|
1930
|
+
"bg-background border-border text-foreground rounded-lg border p-2 shadow-md",
|
|
1931
|
+
className
|
|
1932
|
+
),
|
|
1933
|
+
children: [
|
|
1934
|
+
label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 text-xs font-medium text-muted-foreground", children: label }),
|
|
1935
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-1", children: payload.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-xs", children: [
|
|
1936
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1937
|
+
"div",
|
|
1938
|
+
{
|
|
1939
|
+
className: "h-2 w-2 rounded-full",
|
|
1940
|
+
style: { backgroundColor: item.color }
|
|
1941
|
+
}
|
|
1942
|
+
),
|
|
1943
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-medium", children: [
|
|
1944
|
+
item.name,
|
|
1945
|
+
":"
|
|
1946
|
+
] }),
|
|
1947
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1948
|
+
] }, index)) })
|
|
1949
|
+
]
|
|
1950
|
+
}
|
|
1951
|
+
);
|
|
1952
|
+
}
|
|
1953
|
+
function ChartLegendContent({
|
|
1954
|
+
className,
|
|
1955
|
+
payload
|
|
1956
|
+
}) {
|
|
1957
|
+
if (!payload || payload.length === 0) {
|
|
1958
|
+
return null;
|
|
1959
|
+
}
|
|
1960
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1961
|
+
"div",
|
|
1962
|
+
{
|
|
1963
|
+
"data-slot": "chart-legend-content",
|
|
1964
|
+
className: cn("flex items-center justify-center gap-4 text-sm pt-4", className),
|
|
1965
|
+
children: payload.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1966
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1967
|
+
"div",
|
|
1968
|
+
{
|
|
1969
|
+
className: "h-3 w-3 rounded-sm",
|
|
1970
|
+
style: { backgroundColor: item.color }
|
|
1971
|
+
}
|
|
1972
|
+
),
|
|
1973
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1974
|
+
] }, index))
|
|
1975
|
+
}
|
|
1976
|
+
);
|
|
1977
|
+
}
|
|
1055
1978
|
var Select = SelectPrimitive__namespace.Root;
|
|
1056
1979
|
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
1057
1980
|
var SelectValue = SelectPrimitive__namespace.Value;
|
|
@@ -1185,7 +2108,7 @@ var DropdownMenuSubTrigger = React18__namespace.forwardRef(({ className, inset,
|
|
|
1185
2108
|
...props,
|
|
1186
2109
|
children: [
|
|
1187
2110
|
children,
|
|
1188
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2111
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ms-auto rtl:rotate-180" })
|
|
1189
2112
|
]
|
|
1190
2113
|
}
|
|
1191
2114
|
));
|
|
@@ -1240,7 +2163,7 @@ var DropdownMenuCheckboxItem = React18__namespace.forwardRef(({ className, child
|
|
|
1240
2163
|
checked,
|
|
1241
2164
|
...props,
|
|
1242
2165
|
children: [
|
|
1243
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2166
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "h-4 w-4" }) }) }),
|
|
1244
2167
|
children
|
|
1245
2168
|
]
|
|
1246
2169
|
}
|
|
@@ -1256,7 +2179,7 @@ var DropdownMenuRadioItem = React18__namespace.forwardRef(({ className, children
|
|
|
1256
2179
|
),
|
|
1257
2180
|
...props,
|
|
1258
2181
|
children: [
|
|
1259
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2182
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CircleIcon, { className: "h-2 w-2 fill-current" }) }) }),
|
|
1260
2183
|
children
|
|
1261
2184
|
]
|
|
1262
2185
|
}
|
|
@@ -1351,7 +2274,7 @@ function ContextMenuSubTrigger({
|
|
|
1351
2274
|
...props,
|
|
1352
2275
|
children: [
|
|
1353
2276
|
children,
|
|
1354
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2277
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ml-auto" })
|
|
1355
2278
|
]
|
|
1356
2279
|
}
|
|
1357
2280
|
);
|
|
@@ -1425,7 +2348,7 @@ function ContextMenuCheckboxItem({
|
|
|
1425
2348
|
checked,
|
|
1426
2349
|
...props,
|
|
1427
2350
|
children: [
|
|
1428
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2351
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "size-4" }) }) }),
|
|
1429
2352
|
children
|
|
1430
2353
|
]
|
|
1431
2354
|
}
|
|
@@ -1446,7 +2369,7 @@ function ContextMenuRadioItem({
|
|
|
1446
2369
|
),
|
|
1447
2370
|
...props,
|
|
1448
2371
|
children: [
|
|
1449
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2372
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
1450
2373
|
children
|
|
1451
2374
|
]
|
|
1452
2375
|
}
|
|
@@ -2062,6 +2985,11 @@ var applyTheme = (theme, themeName) => {
|
|
|
2062
2985
|
root.style.setProperty("--warning", hslToVar(theme.colors.warning));
|
|
2063
2986
|
root.style.setProperty("--success", hslToVar(theme.colors.success));
|
|
2064
2987
|
root.style.setProperty("--info", hslToVar(theme.colors.info));
|
|
2988
|
+
root.style.setProperty("--chart-1", theme.colors.chart[1]);
|
|
2989
|
+
root.style.setProperty("--chart-2", theme.colors.chart[2]);
|
|
2990
|
+
root.style.setProperty("--chart-3", theme.colors.chart[3]);
|
|
2991
|
+
root.style.setProperty("--chart-4", theme.colors.chart[4]);
|
|
2992
|
+
root.style.setProperty("--chart-5", theme.colors.chart[5]);
|
|
2065
2993
|
root.style.setProperty("--left-menu", hslToVar(theme.colors.mainMenu.DEFAULT));
|
|
2066
2994
|
root.style.setProperty("--left-menu-foreground", hslToVar(theme.colors.mainMenu.foreground));
|
|
2067
2995
|
root.style.setProperty("--left-menu-hover", hslToVar(theme.colors.mainMenu.hover));
|
|
@@ -2098,14 +3026,202 @@ Object.defineProperty(exports, "IconButtonSize", {
|
|
|
2098
3026
|
enumerable: true,
|
|
2099
3027
|
get: function () { return uikitContracts.IconButtonSize; }
|
|
2100
3028
|
});
|
|
3029
|
+
Object.defineProperty(exports, "Area", {
|
|
3030
|
+
enumerable: true,
|
|
3031
|
+
get: function () { return recharts.Area; }
|
|
3032
|
+
});
|
|
3033
|
+
Object.defineProperty(exports, "AreaChart", {
|
|
3034
|
+
enumerable: true,
|
|
3035
|
+
get: function () { return recharts.AreaChart; }
|
|
3036
|
+
});
|
|
3037
|
+
Object.defineProperty(exports, "Bar", {
|
|
3038
|
+
enumerable: true,
|
|
3039
|
+
get: function () { return recharts.Bar; }
|
|
3040
|
+
});
|
|
3041
|
+
Object.defineProperty(exports, "BarChart", {
|
|
3042
|
+
enumerable: true,
|
|
3043
|
+
get: function () { return recharts.BarChart; }
|
|
3044
|
+
});
|
|
3045
|
+
Object.defineProperty(exports, "Brush", {
|
|
3046
|
+
enumerable: true,
|
|
3047
|
+
get: function () { return recharts.Brush; }
|
|
3048
|
+
});
|
|
3049
|
+
Object.defineProperty(exports, "CartesianGrid", {
|
|
3050
|
+
enumerable: true,
|
|
3051
|
+
get: function () { return recharts.CartesianGrid; }
|
|
3052
|
+
});
|
|
3053
|
+
Object.defineProperty(exports, "Cell", {
|
|
3054
|
+
enumerable: true,
|
|
3055
|
+
get: function () { return recharts.Cell; }
|
|
3056
|
+
});
|
|
3057
|
+
Object.defineProperty(exports, "ChartLegend", {
|
|
3058
|
+
enumerable: true,
|
|
3059
|
+
get: function () { return recharts.Legend; }
|
|
3060
|
+
});
|
|
3061
|
+
Object.defineProperty(exports, "ChartTooltip", {
|
|
3062
|
+
enumerable: true,
|
|
3063
|
+
get: function () { return recharts.Tooltip; }
|
|
3064
|
+
});
|
|
3065
|
+
Object.defineProperty(exports, "ComposedChart", {
|
|
3066
|
+
enumerable: true,
|
|
3067
|
+
get: function () { return recharts.ComposedChart; }
|
|
3068
|
+
});
|
|
3069
|
+
Object.defineProperty(exports, "Cross", {
|
|
3070
|
+
enumerable: true,
|
|
3071
|
+
get: function () { return recharts.Cross; }
|
|
3072
|
+
});
|
|
3073
|
+
Object.defineProperty(exports, "Curve", {
|
|
3074
|
+
enumerable: true,
|
|
3075
|
+
get: function () { return recharts.Curve; }
|
|
3076
|
+
});
|
|
3077
|
+
Object.defineProperty(exports, "Customized", {
|
|
3078
|
+
enumerable: true,
|
|
3079
|
+
get: function () { return recharts.Customized; }
|
|
3080
|
+
});
|
|
3081
|
+
Object.defineProperty(exports, "Dot", {
|
|
3082
|
+
enumerable: true,
|
|
3083
|
+
get: function () { return recharts.Dot; }
|
|
3084
|
+
});
|
|
3085
|
+
Object.defineProperty(exports, "ErrorBar", {
|
|
3086
|
+
enumerable: true,
|
|
3087
|
+
get: function () { return recharts.ErrorBar; }
|
|
3088
|
+
});
|
|
3089
|
+
Object.defineProperty(exports, "Funnel", {
|
|
3090
|
+
enumerable: true,
|
|
3091
|
+
get: function () { return recharts.Funnel; }
|
|
3092
|
+
});
|
|
3093
|
+
Object.defineProperty(exports, "FunnelChart", {
|
|
3094
|
+
enumerable: true,
|
|
3095
|
+
get: function () { return recharts.FunnelChart; }
|
|
3096
|
+
});
|
|
3097
|
+
Object.defineProperty(exports, "Label", {
|
|
3098
|
+
enumerable: true,
|
|
3099
|
+
get: function () { return recharts.Label; }
|
|
3100
|
+
});
|
|
3101
|
+
Object.defineProperty(exports, "LabelList", {
|
|
3102
|
+
enumerable: true,
|
|
3103
|
+
get: function () { return recharts.LabelList; }
|
|
3104
|
+
});
|
|
3105
|
+
Object.defineProperty(exports, "Line", {
|
|
3106
|
+
enumerable: true,
|
|
3107
|
+
get: function () { return recharts.Line; }
|
|
3108
|
+
});
|
|
3109
|
+
Object.defineProperty(exports, "LineChart", {
|
|
3110
|
+
enumerable: true,
|
|
3111
|
+
get: function () { return recharts.LineChart; }
|
|
3112
|
+
});
|
|
3113
|
+
Object.defineProperty(exports, "Pie", {
|
|
3114
|
+
enumerable: true,
|
|
3115
|
+
get: function () { return recharts.Pie; }
|
|
3116
|
+
});
|
|
3117
|
+
Object.defineProperty(exports, "PieChart", {
|
|
3118
|
+
enumerable: true,
|
|
3119
|
+
get: function () { return recharts.PieChart; }
|
|
3120
|
+
});
|
|
3121
|
+
Object.defineProperty(exports, "PolarAngleAxis", {
|
|
3122
|
+
enumerable: true,
|
|
3123
|
+
get: function () { return recharts.PolarAngleAxis; }
|
|
3124
|
+
});
|
|
3125
|
+
Object.defineProperty(exports, "PolarGrid", {
|
|
3126
|
+
enumerable: true,
|
|
3127
|
+
get: function () { return recharts.PolarGrid; }
|
|
3128
|
+
});
|
|
3129
|
+
Object.defineProperty(exports, "PolarRadiusAxis", {
|
|
3130
|
+
enumerable: true,
|
|
3131
|
+
get: function () { return recharts.PolarRadiusAxis; }
|
|
3132
|
+
});
|
|
3133
|
+
Object.defineProperty(exports, "Polygon", {
|
|
3134
|
+
enumerable: true,
|
|
3135
|
+
get: function () { return recharts.Polygon; }
|
|
3136
|
+
});
|
|
3137
|
+
Object.defineProperty(exports, "Radar", {
|
|
3138
|
+
enumerable: true,
|
|
3139
|
+
get: function () { return recharts.Radar; }
|
|
3140
|
+
});
|
|
3141
|
+
Object.defineProperty(exports, "RadarChart", {
|
|
3142
|
+
enumerable: true,
|
|
3143
|
+
get: function () { return recharts.RadarChart; }
|
|
3144
|
+
});
|
|
3145
|
+
Object.defineProperty(exports, "RadialBar", {
|
|
3146
|
+
enumerable: true,
|
|
3147
|
+
get: function () { return recharts.RadialBar; }
|
|
3148
|
+
});
|
|
3149
|
+
Object.defineProperty(exports, "RadialBarChart", {
|
|
3150
|
+
enumerable: true,
|
|
3151
|
+
get: function () { return recharts.RadialBarChart; }
|
|
3152
|
+
});
|
|
3153
|
+
Object.defineProperty(exports, "Rectangle", {
|
|
3154
|
+
enumerable: true,
|
|
3155
|
+
get: function () { return recharts.Rectangle; }
|
|
3156
|
+
});
|
|
3157
|
+
Object.defineProperty(exports, "ReferenceArea", {
|
|
3158
|
+
enumerable: true,
|
|
3159
|
+
get: function () { return recharts.ReferenceArea; }
|
|
3160
|
+
});
|
|
3161
|
+
Object.defineProperty(exports, "ReferenceDot", {
|
|
3162
|
+
enumerable: true,
|
|
3163
|
+
get: function () { return recharts.ReferenceDot; }
|
|
3164
|
+
});
|
|
3165
|
+
Object.defineProperty(exports, "ReferenceLine", {
|
|
3166
|
+
enumerable: true,
|
|
3167
|
+
get: function () { return recharts.ReferenceLine; }
|
|
3168
|
+
});
|
|
3169
|
+
Object.defineProperty(exports, "ResponsiveContainer", {
|
|
3170
|
+
enumerable: true,
|
|
3171
|
+
get: function () { return recharts.ResponsiveContainer; }
|
|
3172
|
+
});
|
|
3173
|
+
Object.defineProperty(exports, "Sankey", {
|
|
3174
|
+
enumerable: true,
|
|
3175
|
+
get: function () { return recharts.Sankey; }
|
|
3176
|
+
});
|
|
3177
|
+
Object.defineProperty(exports, "Scatter", {
|
|
3178
|
+
enumerable: true,
|
|
3179
|
+
get: function () { return recharts.Scatter; }
|
|
3180
|
+
});
|
|
3181
|
+
Object.defineProperty(exports, "ScatterChart", {
|
|
3182
|
+
enumerable: true,
|
|
3183
|
+
get: function () { return recharts.ScatterChart; }
|
|
3184
|
+
});
|
|
3185
|
+
Object.defineProperty(exports, "Sector", {
|
|
3186
|
+
enumerable: true,
|
|
3187
|
+
get: function () { return recharts.Sector; }
|
|
3188
|
+
});
|
|
3189
|
+
Object.defineProperty(exports, "Text", {
|
|
3190
|
+
enumerable: true,
|
|
3191
|
+
get: function () { return recharts.Text; }
|
|
3192
|
+
});
|
|
3193
|
+
Object.defineProperty(exports, "Treemap", {
|
|
3194
|
+
enumerable: true,
|
|
3195
|
+
get: function () { return recharts.Treemap; }
|
|
3196
|
+
});
|
|
3197
|
+
Object.defineProperty(exports, "XAxis", {
|
|
3198
|
+
enumerable: true,
|
|
3199
|
+
get: function () { return recharts.XAxis; }
|
|
3200
|
+
});
|
|
3201
|
+
Object.defineProperty(exports, "YAxis", {
|
|
3202
|
+
enumerable: true,
|
|
3203
|
+
get: function () { return recharts.YAxis; }
|
|
3204
|
+
});
|
|
3205
|
+
Object.defineProperty(exports, "ZAxis", {
|
|
3206
|
+
enumerable: true,
|
|
3207
|
+
get: function () { return recharts.ZAxis; }
|
|
3208
|
+
});
|
|
2101
3209
|
exports.Accordion = Accordion;
|
|
2102
3210
|
exports.AccordionContent = AccordionContent;
|
|
2103
3211
|
exports.AccordionItem = AccordionItem;
|
|
2104
3212
|
exports.AccordionTrigger = AccordionTrigger;
|
|
3213
|
+
exports.AspectRatio = AspectRatio;
|
|
2105
3214
|
exports.Avatar = Avatar;
|
|
2106
3215
|
exports.AvatarFallback = AvatarFallback;
|
|
2107
3216
|
exports.AvatarImage = AvatarImage;
|
|
2108
3217
|
exports.Badge = Badge;
|
|
3218
|
+
exports.Breadcrumb = Breadcrumb;
|
|
3219
|
+
exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
|
|
3220
|
+
exports.BreadcrumbItem = BreadcrumbItem;
|
|
3221
|
+
exports.BreadcrumbLink = BreadcrumbLink;
|
|
3222
|
+
exports.BreadcrumbList = BreadcrumbList;
|
|
3223
|
+
exports.BreadcrumbPage = BreadcrumbPage;
|
|
3224
|
+
exports.BreadcrumbSeparator = BreadcrumbSeparator;
|
|
2109
3225
|
exports.Button = Button;
|
|
2110
3226
|
exports.CLOSE_ICON_ID = CLOSE_ICON_ID;
|
|
2111
3227
|
exports.Card = Card;
|
|
@@ -2119,7 +3235,11 @@ exports.CarouselContent = CarouselContent;
|
|
|
2119
3235
|
exports.CarouselItem = CarouselItem;
|
|
2120
3236
|
exports.CarouselNext = CarouselNext;
|
|
2121
3237
|
exports.CarouselPrevious = CarouselPrevious;
|
|
3238
|
+
exports.ChartContainer = ChartContainer;
|
|
3239
|
+
exports.ChartLegendContent = ChartLegendContent;
|
|
3240
|
+
exports.ChartTooltipContent = ChartTooltipContent;
|
|
2122
3241
|
exports.ChatInput = ChatInput;
|
|
3242
|
+
exports.Checkbox = Checkbox;
|
|
2123
3243
|
exports.CloseIcon = CloseIcon;
|
|
2124
3244
|
exports.Collapsible = Collapsible;
|
|
2125
3245
|
exports.CollapsibleContent = CollapsibleContent2;
|
|
@@ -2149,6 +3269,16 @@ exports.DialogOverlay = DialogOverlay;
|
|
|
2149
3269
|
exports.DialogPortal = DialogPortal;
|
|
2150
3270
|
exports.DialogTitle = DialogTitle;
|
|
2151
3271
|
exports.DialogTrigger = DialogTrigger;
|
|
3272
|
+
exports.Drawer = Drawer;
|
|
3273
|
+
exports.DrawerClose = DrawerClose;
|
|
3274
|
+
exports.DrawerContent = DrawerContent;
|
|
3275
|
+
exports.DrawerDescription = DrawerDescription;
|
|
3276
|
+
exports.DrawerFooter = DrawerFooter;
|
|
3277
|
+
exports.DrawerHeader = DrawerHeader;
|
|
3278
|
+
exports.DrawerOverlay = DrawerOverlay;
|
|
3279
|
+
exports.DrawerPortal = DrawerPortal;
|
|
3280
|
+
exports.DrawerTitle = DrawerTitle;
|
|
3281
|
+
exports.DrawerTrigger = DrawerTrigger;
|
|
2152
3282
|
exports.DropdownButton = DropdownButton;
|
|
2153
3283
|
exports.DropdownMenu = DropdownMenu;
|
|
2154
3284
|
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
@@ -2173,6 +3303,22 @@ exports.IconButton = IconButton;
|
|
|
2173
3303
|
exports.Input = Input;
|
|
2174
3304
|
exports.MENU_ICON_ID = MENU_ICON_ID;
|
|
2175
3305
|
exports.MenuIcon = MenuIcon;
|
|
3306
|
+
exports.Menubar = Menubar;
|
|
3307
|
+
exports.MenubarCheckboxItem = MenubarCheckboxItem;
|
|
3308
|
+
exports.MenubarContent = MenubarContent;
|
|
3309
|
+
exports.MenubarGroup = MenubarGroup;
|
|
3310
|
+
exports.MenubarItem = MenubarItem;
|
|
3311
|
+
exports.MenubarLabel = MenubarLabel;
|
|
3312
|
+
exports.MenubarMenu = MenubarMenu;
|
|
3313
|
+
exports.MenubarPortal = MenubarPortal;
|
|
3314
|
+
exports.MenubarRadioGroup = MenubarRadioGroup;
|
|
3315
|
+
exports.MenubarRadioItem = MenubarRadioItem;
|
|
3316
|
+
exports.MenubarSeparator = MenubarSeparator;
|
|
3317
|
+
exports.MenubarShortcut = MenubarShortcut;
|
|
3318
|
+
exports.MenubarSub = MenubarSub;
|
|
3319
|
+
exports.MenubarSubContent = MenubarSubContent;
|
|
3320
|
+
exports.MenubarSubTrigger = MenubarSubTrigger;
|
|
3321
|
+
exports.MenubarTrigger = MenubarTrigger;
|
|
2176
3322
|
exports.MessageBubble = MessageBubble;
|
|
2177
3323
|
exports.MessageType = MessageType;
|
|
2178
3324
|
exports.NavigationMenu = NavigationMenu;
|
|
@@ -2183,11 +3329,23 @@ exports.NavigationMenuLink = NavigationMenuLink;
|
|
|
2183
3329
|
exports.NavigationMenuList = NavigationMenuList;
|
|
2184
3330
|
exports.NavigationMenuTrigger = NavigationMenuTrigger;
|
|
2185
3331
|
exports.NavigationMenuViewport = NavigationMenuViewport;
|
|
3332
|
+
exports.Pagination = Pagination;
|
|
3333
|
+
exports.PaginationContent = PaginationContent;
|
|
3334
|
+
exports.PaginationEllipsis = PaginationEllipsis;
|
|
3335
|
+
exports.PaginationItem = PaginationItem;
|
|
3336
|
+
exports.PaginationLink = PaginationLink;
|
|
3337
|
+
exports.PaginationNext = PaginationNext;
|
|
3338
|
+
exports.PaginationPrevious = PaginationPrevious;
|
|
2186
3339
|
exports.Popover = Popover;
|
|
2187
3340
|
exports.PopoverAnchor = PopoverAnchor;
|
|
2188
3341
|
exports.PopoverContent = PopoverContent;
|
|
2189
3342
|
exports.PopoverTrigger = PopoverTrigger;
|
|
2190
3343
|
exports.Progress = Progress;
|
|
3344
|
+
exports.ResizableHandle = ResizableHandle;
|
|
3345
|
+
exports.ResizablePanel = ResizablePanel;
|
|
3346
|
+
exports.ResizablePanelGroup = ResizablePanelGroup;
|
|
3347
|
+
exports.ScrollArea = ScrollArea;
|
|
3348
|
+
exports.ScrollBar = ScrollBar;
|
|
2191
3349
|
exports.Select = Select;
|
|
2192
3350
|
exports.SelectContent = SelectContent;
|
|
2193
3351
|
exports.SelectGroup = SelectGroup;
|
|
@@ -2198,6 +3356,7 @@ exports.SelectScrollUpButton = SelectScrollUpButton;
|
|
|
2198
3356
|
exports.SelectSeparator = SelectSeparator;
|
|
2199
3357
|
exports.SelectTrigger = SelectTrigger;
|
|
2200
3358
|
exports.SelectValue = SelectValue;
|
|
3359
|
+
exports.Separator = Separator2;
|
|
2201
3360
|
exports.Sheet = Sheet;
|
|
2202
3361
|
exports.SheetClose = SheetClose;
|
|
2203
3362
|
exports.SheetContent = SheetContent;
|
|
@@ -2223,6 +3382,10 @@ exports.SliderThumb = SliderThumb;
|
|
|
2223
3382
|
exports.SliderTrack = SliderTrack;
|
|
2224
3383
|
exports.Spinner = Spinner;
|
|
2225
3384
|
exports.Switch = Switch;
|
|
3385
|
+
exports.Tabs = Tabs;
|
|
3386
|
+
exports.TabsContent = TabsContent;
|
|
3387
|
+
exports.TabsList = TabsList;
|
|
3388
|
+
exports.TabsTrigger = TabsTrigger;
|
|
2226
3389
|
exports.Textarea = Textarea;
|
|
2227
3390
|
exports.ThreadList = ThreadList;
|
|
2228
3391
|
exports.Tooltip = Tooltip;
|