@hai3/uikit 0.1.0-alpha.3 → 0.1.0-alpha.5
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.mjs → index.cjs} +1002 -578
- package/dist/{index.mjs.map → index.cjs.map} +1 -1
- package/dist/index.js +576 -1000
- package/dist/index.js.map +1 -1
- package/package.json +8 -7
- /package/dist/{index.d.mts → index.d.cts} +0 -0
|
@@ -1,50 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var AspectRatioPrimitive = require('@radix-ui/react-aspect-ratio');
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var React18 = require('react');
|
|
6
|
+
var AvatarPrimitive = require('@radix-ui/react-avatar');
|
|
7
|
+
var clsx = require('clsx');
|
|
8
|
+
var tailwindMerge = require('tailwind-merge');
|
|
9
|
+
var reactSlot = require('@radix-ui/react-slot');
|
|
10
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
11
|
+
var uikitContracts = require('@hai3/uikit-contracts');
|
|
12
|
+
var CheckboxPrimitive = require('@radix-ui/react-checkbox');
|
|
13
|
+
var SwitchPrimitives = require('@radix-ui/react-switch');
|
|
14
|
+
var lucideReact = require('lucide-react');
|
|
15
|
+
var lodash = require('lodash');
|
|
16
|
+
var SliderPrimitive = require('@radix-ui/react-slider');
|
|
17
|
+
var ProgressPrimitive = require('@radix-ui/react-progress');
|
|
18
|
+
var TooltipPrimitive = require('@radix-ui/react-tooltip');
|
|
19
|
+
var PopoverPrimitive = require('@radix-ui/react-popover');
|
|
20
|
+
var HoverCardPrimitive = require('@radix-ui/react-hover-card');
|
|
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');
|
|
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');
|
|
29
|
+
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
30
|
+
var useEmblaCarousel = require('embla-carousel-react');
|
|
31
|
+
var CollapsiblePrimitive = require('@radix-ui/react-collapsible');
|
|
32
|
+
var recharts = require('recharts');
|
|
33
|
+
var SelectPrimitive = require('@radix-ui/react-select');
|
|
34
|
+
var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
35
|
+
var ContextMenuPrimitive = require('@radix-ui/react-context-menu');
|
|
36
|
+
|
|
37
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
38
|
+
|
|
39
|
+
function _interopNamespace(e) {
|
|
40
|
+
if (e && e.__esModule) return e;
|
|
41
|
+
var n = Object.create(null);
|
|
42
|
+
if (e) {
|
|
43
|
+
Object.keys(e).forEach(function (k) {
|
|
44
|
+
if (k !== 'default') {
|
|
45
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
46
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return e[k]; }
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
n.default = e;
|
|
54
|
+
return Object.freeze(n);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
58
|
+
var React18__namespace = /*#__PURE__*/_interopNamespace(React18);
|
|
59
|
+
var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
|
|
60
|
+
var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
|
|
61
|
+
var SwitchPrimitives__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitives);
|
|
62
|
+
var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
|
|
63
|
+
var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
|
|
64
|
+
var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
|
|
65
|
+
var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
|
|
66
|
+
var HoverCardPrimitive__namespace = /*#__PURE__*/_interopNamespace(HoverCardPrimitive);
|
|
67
|
+
var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
|
|
68
|
+
var MenubarPrimitive__namespace = /*#__PURE__*/_interopNamespace(MenubarPrimitive);
|
|
69
|
+
var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
|
|
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);
|
|
74
|
+
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
75
|
+
var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
|
|
76
|
+
var CollapsiblePrimitive__namespace = /*#__PURE__*/_interopNamespace(CollapsiblePrimitive);
|
|
77
|
+
var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
|
|
78
|
+
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
79
|
+
var ContextMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(ContextMenuPrimitive);
|
|
36
80
|
|
|
37
81
|
// src/base/aspect-ratio.tsx
|
|
38
82
|
function AspectRatio({
|
|
39
83
|
...props
|
|
40
84
|
}) {
|
|
41
|
-
return /* @__PURE__ */ jsx(
|
|
85
|
+
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatioPrimitive__namespace.Root, { "data-slot": "aspect-ratio", ...props });
|
|
42
86
|
}
|
|
43
87
|
function cn(...inputs) {
|
|
44
|
-
return twMerge(clsx(inputs));
|
|
88
|
+
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
45
89
|
}
|
|
46
|
-
var Avatar =
|
|
47
|
-
|
|
90
|
+
var Avatar = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
91
|
+
AvatarPrimitive__namespace.Root,
|
|
48
92
|
{
|
|
49
93
|
ref,
|
|
50
94
|
className: cn(
|
|
@@ -54,18 +98,18 @@ var Avatar = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
54
98
|
...props
|
|
55
99
|
}
|
|
56
100
|
));
|
|
57
|
-
Avatar.displayName =
|
|
58
|
-
var AvatarImage =
|
|
59
|
-
|
|
101
|
+
Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
|
|
102
|
+
var AvatarImage = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
103
|
+
AvatarPrimitive__namespace.Image,
|
|
60
104
|
{
|
|
61
105
|
ref,
|
|
62
106
|
className: cn("aspect-square h-full w-full", className),
|
|
63
107
|
...props
|
|
64
108
|
}
|
|
65
109
|
));
|
|
66
|
-
AvatarImage.displayName =
|
|
67
|
-
var AvatarFallback =
|
|
68
|
-
|
|
110
|
+
AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
|
|
111
|
+
var AvatarFallback = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
112
|
+
AvatarPrimitive__namespace.Fallback,
|
|
69
113
|
{
|
|
70
114
|
ref,
|
|
71
115
|
className: cn(
|
|
@@ -75,36 +119,36 @@ var AvatarFallback = React18.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
75
119
|
...props
|
|
76
120
|
}
|
|
77
121
|
));
|
|
78
|
-
AvatarFallback.displayName =
|
|
79
|
-
var buttonVariants = cva(
|
|
122
|
+
AvatarFallback.displayName = AvatarPrimitive__namespace.Fallback.displayName;
|
|
123
|
+
var buttonVariants = classVarianceAuthority.cva(
|
|
80
124
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
81
125
|
{
|
|
82
126
|
variants: {
|
|
83
127
|
variant: {
|
|
84
|
-
[ButtonVariant.Default]: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
85
|
-
[ButtonVariant.Destructive]: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
86
|
-
[ButtonVariant.Outline]: "border border-input bg-background shadow-sm hover:bg-accent data-[state=open]:bg-accent",
|
|
87
|
-
[ButtonVariant.Secondary]: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
88
|
-
[ButtonVariant.Ghost]: "hover:bg-accent data-[state=open]:bg-accent",
|
|
89
|
-
[ButtonVariant.Link]: "text-primary underline-offset-4 hover:underline"
|
|
128
|
+
[uikitContracts.ButtonVariant.Default]: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
129
|
+
[uikitContracts.ButtonVariant.Destructive]: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
130
|
+
[uikitContracts.ButtonVariant.Outline]: "border border-input bg-background shadow-sm hover:bg-accent data-[state=open]:bg-accent",
|
|
131
|
+
[uikitContracts.ButtonVariant.Secondary]: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
132
|
+
[uikitContracts.ButtonVariant.Ghost]: "hover:bg-accent data-[state=open]:bg-accent",
|
|
133
|
+
[uikitContracts.ButtonVariant.Link]: "text-primary underline-offset-4 hover:underline"
|
|
90
134
|
},
|
|
91
135
|
size: {
|
|
92
|
-
[ButtonSize.Default]: "h-9 px-4 py-2",
|
|
93
|
-
[ButtonSize.Sm]: "h-8 rounded-md px-3 text-xs",
|
|
94
|
-
[ButtonSize.Lg]: "h-10 rounded-md px-8",
|
|
95
|
-
[ButtonSize.Icon]: "h-9 w-9"
|
|
136
|
+
[uikitContracts.ButtonSize.Default]: "h-9 px-4 py-2",
|
|
137
|
+
[uikitContracts.ButtonSize.Sm]: "h-8 rounded-md px-3 text-xs",
|
|
138
|
+
[uikitContracts.ButtonSize.Lg]: "h-10 rounded-md px-8",
|
|
139
|
+
[uikitContracts.ButtonSize.Icon]: "h-9 w-9"
|
|
96
140
|
}
|
|
97
141
|
},
|
|
98
142
|
defaultVariants: {
|
|
99
|
-
variant: ButtonVariant.Default,
|
|
100
|
-
size: ButtonSize.Default
|
|
143
|
+
variant: uikitContracts.ButtonVariant.Default,
|
|
144
|
+
size: uikitContracts.ButtonSize.Default
|
|
101
145
|
}
|
|
102
146
|
}
|
|
103
147
|
);
|
|
104
|
-
var Button =
|
|
148
|
+
var Button = React18__namespace.forwardRef(
|
|
105
149
|
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
106
|
-
const Comp = asChild ? Slot : "button";
|
|
107
|
-
return /* @__PURE__ */ jsx(
|
|
150
|
+
const Comp = asChild ? reactSlot.Slot : "button";
|
|
151
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
108
152
|
Comp,
|
|
109
153
|
{
|
|
110
154
|
className: cn(buttonVariants({ variant, size, className })),
|
|
@@ -115,7 +159,7 @@ var Button = React18.forwardRef(
|
|
|
115
159
|
}
|
|
116
160
|
);
|
|
117
161
|
Button.displayName = "Button";
|
|
118
|
-
var badgeVariants = cva(
|
|
162
|
+
var badgeVariants = classVarianceAuthority.cva(
|
|
119
163
|
"inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
120
164
|
{
|
|
121
165
|
variants: {
|
|
@@ -137,8 +181,8 @@ function Badge({
|
|
|
137
181
|
asChild = false,
|
|
138
182
|
...props
|
|
139
183
|
}) {
|
|
140
|
-
const Comp = asChild ? Slot : "span";
|
|
141
|
-
return /* @__PURE__ */ jsx(
|
|
184
|
+
const Comp = asChild ? reactSlot.Slot : "span";
|
|
185
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
142
186
|
Comp,
|
|
143
187
|
{
|
|
144
188
|
className: cn(badgeVariants({ variant }), className),
|
|
@@ -147,7 +191,7 @@ function Badge({
|
|
|
147
191
|
);
|
|
148
192
|
}
|
|
149
193
|
var CheckIcon = ({ className = "" }) => {
|
|
150
|
-
return /* @__PURE__ */ jsx(
|
|
194
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
151
195
|
"svg",
|
|
152
196
|
{
|
|
153
197
|
className,
|
|
@@ -159,7 +203,7 @@ var CheckIcon = ({ className = "" }) => {
|
|
|
159
203
|
strokeWidth: "2",
|
|
160
204
|
strokeLinecap: "round",
|
|
161
205
|
strokeLinejoin: "round",
|
|
162
|
-
children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
|
|
206
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6 9 17l-5-5" })
|
|
163
207
|
}
|
|
164
208
|
);
|
|
165
209
|
};
|
|
@@ -167,8 +211,8 @@ function Checkbox({
|
|
|
167
211
|
className,
|
|
168
212
|
...props
|
|
169
213
|
}) {
|
|
170
|
-
return /* @__PURE__ */ jsx(
|
|
171
|
-
|
|
214
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
215
|
+
CheckboxPrimitive__namespace.Root,
|
|
172
216
|
{
|
|
173
217
|
"data-slot": "checkbox",
|
|
174
218
|
className: cn(
|
|
@@ -176,20 +220,20 @@ function Checkbox({
|
|
|
176
220
|
className
|
|
177
221
|
),
|
|
178
222
|
...props,
|
|
179
|
-
children: /* @__PURE__ */ jsx(
|
|
180
|
-
|
|
223
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
224
|
+
CheckboxPrimitive__namespace.Indicator,
|
|
181
225
|
{
|
|
182
226
|
"data-slot": "checkbox-indicator",
|
|
183
227
|
className: "grid place-content-center text-current transition-none",
|
|
184
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
|
|
228
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { className: "size-3.5" })
|
|
185
229
|
}
|
|
186
230
|
)
|
|
187
231
|
}
|
|
188
232
|
);
|
|
189
233
|
}
|
|
190
|
-
var Input =
|
|
234
|
+
var Input = React18__namespace.forwardRef(
|
|
191
235
|
({ className, type, ...props }, ref) => {
|
|
192
|
-
return /* @__PURE__ */ jsx(
|
|
236
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
193
237
|
"input",
|
|
194
238
|
{
|
|
195
239
|
type,
|
|
@@ -204,10 +248,10 @@ var Input = React18.forwardRef(
|
|
|
204
248
|
}
|
|
205
249
|
);
|
|
206
250
|
Input.displayName = "Input";
|
|
207
|
-
var Textarea =
|
|
251
|
+
var Textarea = React18__namespace.forwardRef(
|
|
208
252
|
({ className, autoResize = false, minHeight = 50, maxHeight = 350, size = "default", onChange, ...props }, ref) => {
|
|
209
|
-
const internalRef =
|
|
210
|
-
|
|
253
|
+
const internalRef = React18__namespace.useRef(null);
|
|
254
|
+
React18__namespace.useImperativeHandle(ref, () => internalRef.current);
|
|
211
255
|
const sizeClasses = {
|
|
212
256
|
sm: "min-h-11 h-11",
|
|
213
257
|
// 44px / 2.75rem - exact height
|
|
@@ -224,7 +268,7 @@ var Textarea = React18.forwardRef(
|
|
|
224
268
|
lg: "py-2"
|
|
225
269
|
// 8px top + 8px bottom (default)
|
|
226
270
|
};
|
|
227
|
-
const handleResize =
|
|
271
|
+
const handleResize = React18__namespace.useCallback(() => {
|
|
228
272
|
if (autoResize && size !== "sm" && internalRef.current) {
|
|
229
273
|
const textarea = internalRef.current;
|
|
230
274
|
textarea.style.height = "auto";
|
|
@@ -232,17 +276,17 @@ var Textarea = React18.forwardRef(
|
|
|
232
276
|
textarea.style.height = `${Math.min(Math.max(scrollHeight, minHeight), maxHeight)}px`;
|
|
233
277
|
}
|
|
234
278
|
}, [autoResize, size, minHeight, maxHeight]);
|
|
235
|
-
|
|
279
|
+
React18__namespace.useEffect(() => {
|
|
236
280
|
handleResize();
|
|
237
281
|
}, [handleResize, props.value]);
|
|
238
|
-
const handleChange =
|
|
282
|
+
const handleChange = React18__namespace.useCallback(
|
|
239
283
|
(e) => {
|
|
240
284
|
handleResize();
|
|
241
285
|
onChange?.(e);
|
|
242
286
|
},
|
|
243
287
|
[onChange, handleResize]
|
|
244
288
|
);
|
|
245
|
-
return /* @__PURE__ */ jsx(
|
|
289
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
246
290
|
"textarea",
|
|
247
291
|
{
|
|
248
292
|
className: cn(
|
|
@@ -259,8 +303,8 @@ var Textarea = React18.forwardRef(
|
|
|
259
303
|
}
|
|
260
304
|
);
|
|
261
305
|
Textarea.displayName = "Textarea";
|
|
262
|
-
var Switch =
|
|
263
|
-
|
|
306
|
+
var Switch = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
307
|
+
SwitchPrimitives__namespace.Root,
|
|
264
308
|
{
|
|
265
309
|
className: cn(
|
|
266
310
|
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
@@ -268,8 +312,8 @@ var Switch = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
268
312
|
),
|
|
269
313
|
...props,
|
|
270
314
|
ref,
|
|
271
|
-
children: /* @__PURE__ */ jsx(
|
|
272
|
-
|
|
315
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
316
|
+
SwitchPrimitives__namespace.Thumb,
|
|
273
317
|
{
|
|
274
318
|
className: cn(
|
|
275
319
|
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
@@ -280,13 +324,13 @@ var Switch = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
280
324
|
)
|
|
281
325
|
}
|
|
282
326
|
));
|
|
283
|
-
Switch.displayName =
|
|
327
|
+
Switch.displayName = SwitchPrimitives__namespace.Root.displayName;
|
|
284
328
|
function Skeleton({
|
|
285
329
|
className,
|
|
286
330
|
inheritColor = false,
|
|
287
331
|
...props
|
|
288
332
|
}) {
|
|
289
|
-
return /* @__PURE__ */ jsx(
|
|
333
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
290
334
|
"div",
|
|
291
335
|
{
|
|
292
336
|
className: cn(
|
|
@@ -298,24 +342,24 @@ function Skeleton({
|
|
|
298
342
|
}
|
|
299
343
|
);
|
|
300
344
|
}
|
|
301
|
-
var Spinner =
|
|
302
|
-
({ className, icon: Icon2 = Loader2, size = "size-4", ...props }, ref) => {
|
|
345
|
+
var Spinner = React18__namespace.forwardRef(
|
|
346
|
+
({ className, icon: Icon2 = lucideReact.Loader2, size = "size-4", ...props }, ref) => {
|
|
303
347
|
const textColorClasses = className?.match(/\btext-\S+/g)?.join(" ") || "";
|
|
304
|
-
const wrapperClasses = trim(className?.replace(/\btext-\S+/g, "") || "");
|
|
305
|
-
return /* @__PURE__ */ jsx(
|
|
348
|
+
const wrapperClasses = lodash.trim(className?.replace(/\btext-\S+/g, "") || "");
|
|
349
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
306
350
|
"div",
|
|
307
351
|
{
|
|
308
352
|
ref,
|
|
309
353
|
className: cn("inline-flex items-center justify-center", wrapperClasses),
|
|
310
354
|
...props,
|
|
311
|
-
children: /* @__PURE__ */ jsx(Icon2, { className: cn("animate-spin", size, textColorClasses) })
|
|
355
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: cn("animate-spin", size, textColorClasses) })
|
|
312
356
|
}
|
|
313
357
|
);
|
|
314
358
|
}
|
|
315
359
|
);
|
|
316
360
|
Spinner.displayName = "Spinner";
|
|
317
|
-
var Slider =
|
|
318
|
-
|
|
361
|
+
var Slider = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
362
|
+
SliderPrimitive__namespace.Root,
|
|
319
363
|
{
|
|
320
364
|
ref,
|
|
321
365
|
className: cn(
|
|
@@ -325,9 +369,9 @@ var Slider = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
325
369
|
...props
|
|
326
370
|
}
|
|
327
371
|
));
|
|
328
|
-
Slider.displayName =
|
|
329
|
-
var SliderTrack =
|
|
330
|
-
|
|
372
|
+
Slider.displayName = SliderPrimitive__namespace.Root.displayName;
|
|
373
|
+
var SliderTrack = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
+
SliderPrimitive__namespace.Track,
|
|
331
375
|
{
|
|
332
376
|
ref,
|
|
333
377
|
className: cn(
|
|
@@ -337,18 +381,18 @@ var SliderTrack = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
337
381
|
...props
|
|
338
382
|
}
|
|
339
383
|
));
|
|
340
|
-
SliderTrack.displayName =
|
|
341
|
-
var SliderRange =
|
|
342
|
-
|
|
384
|
+
SliderTrack.displayName = SliderPrimitive__namespace.Track.displayName;
|
|
385
|
+
var SliderRange = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
386
|
+
SliderPrimitive__namespace.Range,
|
|
343
387
|
{
|
|
344
388
|
ref,
|
|
345
389
|
className: cn("absolute h-full bg-primary", className),
|
|
346
390
|
...props
|
|
347
391
|
}
|
|
348
392
|
));
|
|
349
|
-
SliderRange.displayName =
|
|
350
|
-
var SliderThumb =
|
|
351
|
-
|
|
393
|
+
SliderRange.displayName = SliderPrimitive__namespace.Range.displayName;
|
|
394
|
+
var SliderThumb = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
395
|
+
SliderPrimitive__namespace.Thumb,
|
|
352
396
|
{
|
|
353
397
|
ref,
|
|
354
398
|
className: cn(
|
|
@@ -358,9 +402,9 @@ var SliderThumb = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
358
402
|
...props
|
|
359
403
|
}
|
|
360
404
|
));
|
|
361
|
-
SliderThumb.displayName =
|
|
362
|
-
var Progress =
|
|
363
|
-
|
|
405
|
+
SliderThumb.displayName = SliderPrimitive__namespace.Thumb.displayName;
|
|
406
|
+
var Progress = React18__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
407
|
+
ProgressPrimitive__namespace.Root,
|
|
364
408
|
{
|
|
365
409
|
ref,
|
|
366
410
|
className: cn(
|
|
@@ -368,8 +412,8 @@ var Progress = React18.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
368
412
|
className
|
|
369
413
|
),
|
|
370
414
|
...props,
|
|
371
|
-
children: /* @__PURE__ */ jsx(
|
|
372
|
-
|
|
415
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
416
|
+
ProgressPrimitive__namespace.Indicator,
|
|
373
417
|
{
|
|
374
418
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
375
419
|
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
@@ -377,26 +421,26 @@ var Progress = React18.forwardRef(({ className, value, ...props }, ref) => /* @_
|
|
|
377
421
|
)
|
|
378
422
|
}
|
|
379
423
|
));
|
|
380
|
-
Progress.displayName =
|
|
424
|
+
Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
|
|
381
425
|
var TooltipProvider = ({
|
|
382
426
|
delayDuration = 0,
|
|
383
427
|
...props
|
|
384
|
-
}) => /* @__PURE__ */ jsx(
|
|
385
|
-
|
|
428
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
429
|
+
TooltipPrimitive__namespace.Provider,
|
|
386
430
|
{
|
|
387
431
|
delayDuration,
|
|
388
432
|
...props
|
|
389
433
|
}
|
|
390
434
|
);
|
|
391
|
-
TooltipProvider.displayName =
|
|
435
|
+
TooltipProvider.displayName = TooltipPrimitive__namespace.Provider.displayName;
|
|
392
436
|
var Tooltip = ({
|
|
393
437
|
...props
|
|
394
|
-
}) => /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsx(
|
|
395
|
-
Tooltip.displayName =
|
|
396
|
-
var TooltipTrigger =
|
|
397
|
-
TooltipTrigger.displayName =
|
|
398
|
-
var TooltipContent =
|
|
399
|
-
|
|
438
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Root, { ...props }) });
|
|
439
|
+
Tooltip.displayName = TooltipPrimitive__namespace.Root.displayName;
|
|
440
|
+
var TooltipTrigger = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Trigger, { ref, ...props }));
|
|
441
|
+
TooltipTrigger.displayName = TooltipPrimitive__namespace.Trigger.displayName;
|
|
442
|
+
var TooltipContent = React18__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
443
|
+
TooltipPrimitive__namespace.Content,
|
|
400
444
|
{
|
|
401
445
|
ref,
|
|
402
446
|
sideOffset,
|
|
@@ -407,11 +451,11 @@ var TooltipContent = React18.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
407
451
|
...props
|
|
408
452
|
}
|
|
409
453
|
) }));
|
|
410
|
-
TooltipContent.displayName =
|
|
411
|
-
var Popover =
|
|
454
|
+
TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
|
|
455
|
+
var Popover = PopoverPrimitive__namespace.Root;
|
|
412
456
|
Popover.displayName = "Popover";
|
|
413
|
-
var PopoverTrigger =
|
|
414
|
-
|
|
457
|
+
var PopoverTrigger = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
458
|
+
PopoverPrimitive__namespace.Trigger,
|
|
415
459
|
{
|
|
416
460
|
ref,
|
|
417
461
|
"data-slot": "popover-trigger",
|
|
@@ -419,8 +463,8 @@ var PopoverTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ j
|
|
|
419
463
|
}
|
|
420
464
|
));
|
|
421
465
|
PopoverTrigger.displayName = "PopoverTrigger";
|
|
422
|
-
var PopoverContent =
|
|
423
|
-
|
|
466
|
+
var PopoverContent = React18__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
467
|
+
PopoverPrimitive__namespace.Content,
|
|
424
468
|
{
|
|
425
469
|
ref,
|
|
426
470
|
"data-slot": "popover-content",
|
|
@@ -434,8 +478,8 @@ var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffs
|
|
|
434
478
|
}
|
|
435
479
|
) }));
|
|
436
480
|
PopoverContent.displayName = "PopoverContent";
|
|
437
|
-
var PopoverAnchor =
|
|
438
|
-
|
|
481
|
+
var PopoverAnchor = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
482
|
+
PopoverPrimitive__namespace.Anchor,
|
|
439
483
|
{
|
|
440
484
|
ref,
|
|
441
485
|
"data-slot": "popover-anchor",
|
|
@@ -443,10 +487,10 @@ var PopoverAnchor = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ js
|
|
|
443
487
|
}
|
|
444
488
|
));
|
|
445
489
|
PopoverAnchor.displayName = "PopoverAnchor";
|
|
446
|
-
var HoverCard =
|
|
490
|
+
var HoverCard = HoverCardPrimitive__namespace.Root;
|
|
447
491
|
HoverCard.displayName = "HoverCard";
|
|
448
|
-
var HoverCardTrigger =
|
|
449
|
-
|
|
492
|
+
var HoverCardTrigger = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
493
|
+
HoverCardPrimitive__namespace.Trigger,
|
|
450
494
|
{
|
|
451
495
|
ref,
|
|
452
496
|
"data-slot": "hover-card-trigger",
|
|
@@ -454,8 +498,8 @@ var HoverCardTrigger = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */
|
|
|
454
498
|
}
|
|
455
499
|
));
|
|
456
500
|
HoverCardTrigger.displayName = "HoverCardTrigger";
|
|
457
|
-
var HoverCardContent =
|
|
458
|
-
|
|
501
|
+
var HoverCardContent = React18__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(HoverCardPrimitive__namespace.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
502
|
+
HoverCardPrimitive__namespace.Content,
|
|
459
503
|
{
|
|
460
504
|
ref,
|
|
461
505
|
"data-slot": "hover-card-content",
|
|
@@ -469,7 +513,7 @@ var HoverCardContent = React18.forwardRef(({ className, align = "center", sideOf
|
|
|
469
513
|
}
|
|
470
514
|
) }));
|
|
471
515
|
HoverCardContent.displayName = "HoverCardContent";
|
|
472
|
-
var Card =
|
|
516
|
+
var Card = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
473
517
|
"div",
|
|
474
518
|
{
|
|
475
519
|
ref,
|
|
@@ -481,7 +525,7 @@ var Card = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
481
525
|
}
|
|
482
526
|
));
|
|
483
527
|
Card.displayName = "Card";
|
|
484
|
-
var CardHeader =
|
|
528
|
+
var CardHeader = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
485
529
|
"div",
|
|
486
530
|
{
|
|
487
531
|
ref,
|
|
@@ -490,7 +534,7 @@ var CardHeader = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
490
534
|
}
|
|
491
535
|
));
|
|
492
536
|
CardHeader.displayName = "CardHeader";
|
|
493
|
-
var CardTitle =
|
|
537
|
+
var CardTitle = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
494
538
|
"div",
|
|
495
539
|
{
|
|
496
540
|
ref,
|
|
@@ -499,7 +543,7 @@ var CardTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
499
543
|
}
|
|
500
544
|
));
|
|
501
545
|
CardTitle.displayName = "CardTitle";
|
|
502
|
-
var CardDescription =
|
|
546
|
+
var CardDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
503
547
|
"div",
|
|
504
548
|
{
|
|
505
549
|
ref,
|
|
@@ -508,9 +552,9 @@ var CardDescription = React18.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
508
552
|
}
|
|
509
553
|
));
|
|
510
554
|
CardDescription.displayName = "CardDescription";
|
|
511
|
-
var CardContent =
|
|
555
|
+
var CardContent = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
512
556
|
CardContent.displayName = "CardContent";
|
|
513
|
-
var CardFooter =
|
|
557
|
+
var CardFooter = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
514
558
|
"div",
|
|
515
559
|
{
|
|
516
560
|
ref,
|
|
@@ -519,9 +563,9 @@ var CardFooter = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
519
563
|
}
|
|
520
564
|
));
|
|
521
565
|
CardFooter.displayName = "CardFooter";
|
|
522
|
-
var Header =
|
|
566
|
+
var Header = React18__namespace.default.forwardRef(
|
|
523
567
|
({ children, className }, ref) => {
|
|
524
|
-
return /* @__PURE__ */ jsx(
|
|
568
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
525
569
|
"header",
|
|
526
570
|
{
|
|
527
571
|
ref,
|
|
@@ -529,14 +573,14 @@ var Header = React18__default.forwardRef(
|
|
|
529
573
|
"flex items-center justify-end px-6 py-4 bg-background border-b border-border h-16 w-full",
|
|
530
574
|
className
|
|
531
575
|
),
|
|
532
|
-
children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4", children })
|
|
576
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4", children })
|
|
533
577
|
}
|
|
534
578
|
);
|
|
535
579
|
}
|
|
536
580
|
);
|
|
537
581
|
Header.displayName = "Header";
|
|
538
|
-
var NavigationMenu =
|
|
539
|
-
|
|
582
|
+
var NavigationMenu = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
583
|
+
NavigationMenuPrimitive__namespace.Root,
|
|
540
584
|
{
|
|
541
585
|
ref,
|
|
542
586
|
className: cn(
|
|
@@ -546,13 +590,13 @@ var NavigationMenu = React18.forwardRef(({ className, children, ...props }, ref)
|
|
|
546
590
|
...props,
|
|
547
591
|
children: [
|
|
548
592
|
children,
|
|
549
|
-
/* @__PURE__ */ jsx(NavigationMenuViewport, {})
|
|
593
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuViewport, {})
|
|
550
594
|
]
|
|
551
595
|
}
|
|
552
596
|
));
|
|
553
|
-
NavigationMenu.displayName =
|
|
554
|
-
var NavigationMenuList =
|
|
555
|
-
|
|
597
|
+
NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
|
|
598
|
+
var NavigationMenuList = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
599
|
+
NavigationMenuPrimitive__namespace.List,
|
|
556
600
|
{
|
|
557
601
|
ref,
|
|
558
602
|
className: cn(
|
|
@@ -562,13 +606,13 @@ var NavigationMenuList = React18.forwardRef(({ className, ...props }, ref) => /*
|
|
|
562
606
|
...props
|
|
563
607
|
}
|
|
564
608
|
));
|
|
565
|
-
NavigationMenuList.displayName =
|
|
566
|
-
var NavigationMenuItem =
|
|
567
|
-
var navigationMenuTriggerStyle = cva(
|
|
609
|
+
NavigationMenuList.displayName = NavigationMenuPrimitive__namespace.List.displayName;
|
|
610
|
+
var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
|
|
611
|
+
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
568
612
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
569
613
|
);
|
|
570
|
-
var NavigationMenuTrigger =
|
|
571
|
-
|
|
614
|
+
var NavigationMenuTrigger = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
615
|
+
NavigationMenuPrimitive__namespace.Trigger,
|
|
572
616
|
{
|
|
573
617
|
ref,
|
|
574
618
|
className: cn(navigationMenuTriggerStyle(), "group", className),
|
|
@@ -576,8 +620,8 @@ var NavigationMenuTrigger = React18.forwardRef(({ className, children, ...props
|
|
|
576
620
|
children: [
|
|
577
621
|
children,
|
|
578
622
|
" ",
|
|
579
|
-
/* @__PURE__ */ jsx(
|
|
580
|
-
ChevronDown,
|
|
623
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
624
|
+
lucideReact.ChevronDown,
|
|
581
625
|
{
|
|
582
626
|
className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
583
627
|
"aria-hidden": "true"
|
|
@@ -586,9 +630,9 @@ var NavigationMenuTrigger = React18.forwardRef(({ className, children, ...props
|
|
|
586
630
|
]
|
|
587
631
|
}
|
|
588
632
|
));
|
|
589
|
-
NavigationMenuTrigger.displayName =
|
|
590
|
-
var NavigationMenuContent =
|
|
591
|
-
|
|
633
|
+
NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
|
|
634
|
+
var NavigationMenuContent = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
635
|
+
NavigationMenuPrimitive__namespace.Content,
|
|
592
636
|
{
|
|
593
637
|
ref,
|
|
594
638
|
className: cn(
|
|
@@ -598,10 +642,10 @@ var NavigationMenuContent = React18.forwardRef(({ className, ...props }, ref) =>
|
|
|
598
642
|
...props
|
|
599
643
|
}
|
|
600
644
|
));
|
|
601
|
-
NavigationMenuContent.displayName =
|
|
602
|
-
var NavigationMenuLink =
|
|
603
|
-
var NavigationMenuViewport =
|
|
604
|
-
|
|
645
|
+
NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
|
|
646
|
+
var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
|
|
647
|
+
var NavigationMenuViewport = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
648
|
+
NavigationMenuPrimitive__namespace.Viewport,
|
|
605
649
|
{
|
|
606
650
|
className: cn(
|
|
607
651
|
"origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
@@ -611,9 +655,9 @@ var NavigationMenuViewport = React18.forwardRef(({ className, ...props }, ref) =
|
|
|
611
655
|
...props
|
|
612
656
|
}
|
|
613
657
|
) }));
|
|
614
|
-
NavigationMenuViewport.displayName =
|
|
615
|
-
var NavigationMenuIndicator =
|
|
616
|
-
|
|
658
|
+
NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
|
|
659
|
+
var NavigationMenuIndicator = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
660
|
+
NavigationMenuPrimitive__namespace.Indicator,
|
|
617
661
|
{
|
|
618
662
|
ref,
|
|
619
663
|
className: cn(
|
|
@@ -621,15 +665,15 @@ var NavigationMenuIndicator = React18.forwardRef(({ className, ...props }, ref)
|
|
|
621
665
|
className
|
|
622
666
|
),
|
|
623
667
|
...props,
|
|
624
|
-
children: /* @__PURE__ */ jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
668
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
625
669
|
}
|
|
626
670
|
));
|
|
627
|
-
NavigationMenuIndicator.displayName =
|
|
671
|
+
NavigationMenuIndicator.displayName = NavigationMenuPrimitive__namespace.Indicator.displayName;
|
|
628
672
|
function Breadcrumb({ ...props }) {
|
|
629
|
-
return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
673
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
630
674
|
}
|
|
631
675
|
function BreadcrumbList({ className, ...props }) {
|
|
632
|
-
return /* @__PURE__ */ jsx(
|
|
676
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
633
677
|
"ol",
|
|
634
678
|
{
|
|
635
679
|
"data-slot": "breadcrumb-list",
|
|
@@ -642,7 +686,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
642
686
|
);
|
|
643
687
|
}
|
|
644
688
|
function BreadcrumbItem({ className, ...props }) {
|
|
645
|
-
return /* @__PURE__ */ jsx(
|
|
689
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
646
690
|
"li",
|
|
647
691
|
{
|
|
648
692
|
"data-slot": "breadcrumb-item",
|
|
@@ -656,8 +700,8 @@ function BreadcrumbLink({
|
|
|
656
700
|
className,
|
|
657
701
|
...props
|
|
658
702
|
}) {
|
|
659
|
-
const Comp = asChild ? Slot : "a";
|
|
660
|
-
return /* @__PURE__ */ jsx(
|
|
703
|
+
const Comp = asChild ? reactSlot.Slot : "a";
|
|
704
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
661
705
|
Comp,
|
|
662
706
|
{
|
|
663
707
|
"data-slot": "breadcrumb-link",
|
|
@@ -667,7 +711,7 @@ function BreadcrumbLink({
|
|
|
667
711
|
);
|
|
668
712
|
}
|
|
669
713
|
function BreadcrumbPage({ className, ...props }) {
|
|
670
|
-
return /* @__PURE__ */ jsx(
|
|
714
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
671
715
|
"span",
|
|
672
716
|
{
|
|
673
717
|
"data-slot": "breadcrumb-page",
|
|
@@ -684,7 +728,7 @@ function BreadcrumbSeparator({
|
|
|
684
728
|
className,
|
|
685
729
|
...props
|
|
686
730
|
}) {
|
|
687
|
-
return /* @__PURE__ */ jsx(
|
|
731
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
688
732
|
"li",
|
|
689
733
|
{
|
|
690
734
|
"data-slot": "breadcrumb-separator",
|
|
@@ -692,7 +736,7 @@ function BreadcrumbSeparator({
|
|
|
692
736
|
"aria-hidden": "true",
|
|
693
737
|
className: cn("[&>svg]:size-3.5", className),
|
|
694
738
|
...props,
|
|
695
|
-
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
739
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
696
740
|
}
|
|
697
741
|
);
|
|
698
742
|
}
|
|
@@ -700,7 +744,7 @@ function BreadcrumbEllipsis({
|
|
|
700
744
|
className,
|
|
701
745
|
...props
|
|
702
746
|
}) {
|
|
703
|
-
return /* @__PURE__ */ jsxs(
|
|
747
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
704
748
|
"span",
|
|
705
749
|
{
|
|
706
750
|
"data-slot": "breadcrumb-ellipsis",
|
|
@@ -709,14 +753,14 @@ function BreadcrumbEllipsis({
|
|
|
709
753
|
className: cn("flex size-9 items-center justify-center", className),
|
|
710
754
|
...props,
|
|
711
755
|
children: [
|
|
712
|
-
/* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" }),
|
|
713
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" }),
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More" })
|
|
714
758
|
]
|
|
715
759
|
}
|
|
716
760
|
);
|
|
717
761
|
}
|
|
718
762
|
var ChevronRightIcon = ({ className = "" }) => {
|
|
719
|
-
return /* @__PURE__ */ jsx(
|
|
763
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
720
764
|
"svg",
|
|
721
765
|
{
|
|
722
766
|
className,
|
|
@@ -728,12 +772,12 @@ var ChevronRightIcon = ({ className = "" }) => {
|
|
|
728
772
|
strokeWidth: "2",
|
|
729
773
|
strokeLinecap: "round",
|
|
730
774
|
strokeLinejoin: "round",
|
|
731
|
-
children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
|
|
775
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" })
|
|
732
776
|
}
|
|
733
777
|
);
|
|
734
778
|
};
|
|
735
779
|
var CircleIcon = ({ className = "" }) => {
|
|
736
|
-
return /* @__PURE__ */ jsx(
|
|
780
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
737
781
|
"svg",
|
|
738
782
|
{
|
|
739
783
|
className,
|
|
@@ -745,7 +789,7 @@ var CircleIcon = ({ className = "" }) => {
|
|
|
745
789
|
strokeWidth: "2",
|
|
746
790
|
strokeLinecap: "round",
|
|
747
791
|
strokeLinejoin: "round",
|
|
748
|
-
children: /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" })
|
|
792
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" })
|
|
749
793
|
}
|
|
750
794
|
);
|
|
751
795
|
};
|
|
@@ -753,8 +797,8 @@ function Menubar({
|
|
|
753
797
|
className,
|
|
754
798
|
...props
|
|
755
799
|
}) {
|
|
756
|
-
return /* @__PURE__ */ jsx(
|
|
757
|
-
|
|
800
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
801
|
+
MenubarPrimitive__namespace.Root,
|
|
758
802
|
{
|
|
759
803
|
"data-slot": "menubar",
|
|
760
804
|
className: cn(
|
|
@@ -768,29 +812,29 @@ function Menubar({
|
|
|
768
812
|
function MenubarMenu({
|
|
769
813
|
...props
|
|
770
814
|
}) {
|
|
771
|
-
return /* @__PURE__ */ jsx(
|
|
815
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Menu, { "data-slot": "menubar-menu", ...props });
|
|
772
816
|
}
|
|
773
817
|
function MenubarGroup({
|
|
774
818
|
...props
|
|
775
819
|
}) {
|
|
776
|
-
return /* @__PURE__ */ jsx(
|
|
820
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Group, { "data-slot": "menubar-group", ...props });
|
|
777
821
|
}
|
|
778
822
|
function MenubarPortal({
|
|
779
823
|
...props
|
|
780
824
|
}) {
|
|
781
|
-
return /* @__PURE__ */ jsx(
|
|
825
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Portal, { "data-slot": "menubar-portal", ...props });
|
|
782
826
|
}
|
|
783
827
|
function MenubarRadioGroup({
|
|
784
828
|
...props
|
|
785
829
|
}) {
|
|
786
|
-
return /* @__PURE__ */ jsx(
|
|
830
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.RadioGroup, { "data-slot": "menubar-radio-group", ...props });
|
|
787
831
|
}
|
|
788
832
|
function MenubarTrigger({
|
|
789
833
|
className,
|
|
790
834
|
...props
|
|
791
835
|
}) {
|
|
792
|
-
return /* @__PURE__ */ jsx(
|
|
793
|
-
|
|
836
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
837
|
+
MenubarPrimitive__namespace.Trigger,
|
|
794
838
|
{
|
|
795
839
|
"data-slot": "menubar-trigger",
|
|
796
840
|
className: cn(
|
|
@@ -808,8 +852,8 @@ function MenubarContent({
|
|
|
808
852
|
sideOffset = 8,
|
|
809
853
|
...props
|
|
810
854
|
}) {
|
|
811
|
-
return /* @__PURE__ */ jsx(MenubarPortal, { children: /* @__PURE__ */ jsx(
|
|
812
|
-
|
|
855
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
856
|
+
MenubarPrimitive__namespace.Content,
|
|
813
857
|
{
|
|
814
858
|
"data-slot": "menubar-content",
|
|
815
859
|
align,
|
|
@@ -829,8 +873,8 @@ function MenubarItem({
|
|
|
829
873
|
variant = "default",
|
|
830
874
|
...props
|
|
831
875
|
}) {
|
|
832
|
-
return /* @__PURE__ */ jsx(
|
|
833
|
-
|
|
876
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
877
|
+
MenubarPrimitive__namespace.Item,
|
|
834
878
|
{
|
|
835
879
|
"data-slot": "menubar-item",
|
|
836
880
|
"data-inset": inset,
|
|
@@ -849,8 +893,8 @@ function MenubarCheckboxItem({
|
|
|
849
893
|
checked,
|
|
850
894
|
...props
|
|
851
895
|
}) {
|
|
852
|
-
return /* @__PURE__ */ jsxs(
|
|
853
|
-
|
|
896
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
897
|
+
MenubarPrimitive__namespace.CheckboxItem,
|
|
854
898
|
{
|
|
855
899
|
"data-slot": "menubar-checkbox-item",
|
|
856
900
|
className: cn(
|
|
@@ -860,7 +904,7 @@ function MenubarCheckboxItem({
|
|
|
860
904
|
checked,
|
|
861
905
|
...props,
|
|
862
906
|
children: [
|
|
863
|
-
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
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" }) }) }),
|
|
864
908
|
children
|
|
865
909
|
]
|
|
866
910
|
}
|
|
@@ -871,8 +915,8 @@ function MenubarRadioItem({
|
|
|
871
915
|
children,
|
|
872
916
|
...props
|
|
873
917
|
}) {
|
|
874
|
-
return /* @__PURE__ */ jsxs(
|
|
875
|
-
|
|
918
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
919
|
+
MenubarPrimitive__namespace.RadioItem,
|
|
876
920
|
{
|
|
877
921
|
"data-slot": "menubar-radio-item",
|
|
878
922
|
className: cn(
|
|
@@ -881,7 +925,7 @@ function MenubarRadioItem({
|
|
|
881
925
|
),
|
|
882
926
|
...props,
|
|
883
927
|
children: [
|
|
884
|
-
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
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" }) }) }),
|
|
885
929
|
children
|
|
886
930
|
]
|
|
887
931
|
}
|
|
@@ -892,8 +936,8 @@ function MenubarLabel({
|
|
|
892
936
|
inset,
|
|
893
937
|
...props
|
|
894
938
|
}) {
|
|
895
|
-
return /* @__PURE__ */ jsx(
|
|
896
|
-
|
|
939
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
940
|
+
MenubarPrimitive__namespace.Label,
|
|
897
941
|
{
|
|
898
942
|
"data-slot": "menubar-label",
|
|
899
943
|
"data-inset": inset,
|
|
@@ -909,8 +953,8 @@ function MenubarSeparator({
|
|
|
909
953
|
className,
|
|
910
954
|
...props
|
|
911
955
|
}) {
|
|
912
|
-
return /* @__PURE__ */ jsx(
|
|
913
|
-
|
|
956
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
957
|
+
MenubarPrimitive__namespace.Separator,
|
|
914
958
|
{
|
|
915
959
|
"data-slot": "menubar-separator",
|
|
916
960
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
@@ -922,7 +966,7 @@ function MenubarShortcut({
|
|
|
922
966
|
className,
|
|
923
967
|
...props
|
|
924
968
|
}) {
|
|
925
|
-
return /* @__PURE__ */ jsx(
|
|
969
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
926
970
|
"span",
|
|
927
971
|
{
|
|
928
972
|
"data-slot": "menubar-shortcut",
|
|
@@ -937,7 +981,7 @@ function MenubarShortcut({
|
|
|
937
981
|
function MenubarSub({
|
|
938
982
|
...props
|
|
939
983
|
}) {
|
|
940
|
-
return /* @__PURE__ */ jsx(
|
|
984
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MenubarPrimitive__namespace.Sub, { "data-slot": "menubar-sub", ...props });
|
|
941
985
|
}
|
|
942
986
|
function MenubarSubTrigger({
|
|
943
987
|
className,
|
|
@@ -945,8 +989,8 @@ function MenubarSubTrigger({
|
|
|
945
989
|
children,
|
|
946
990
|
...props
|
|
947
991
|
}) {
|
|
948
|
-
return /* @__PURE__ */ jsxs(
|
|
949
|
-
|
|
992
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
993
|
+
MenubarPrimitive__namespace.SubTrigger,
|
|
950
994
|
{
|
|
951
995
|
"data-slot": "menubar-sub-trigger",
|
|
952
996
|
"data-inset": inset,
|
|
@@ -957,7 +1001,7 @@ function MenubarSubTrigger({
|
|
|
957
1001
|
...props,
|
|
958
1002
|
children: [
|
|
959
1003
|
children,
|
|
960
|
-
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto h-4 w-4" })
|
|
1004
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ml-auto h-4 w-4" })
|
|
961
1005
|
]
|
|
962
1006
|
}
|
|
963
1007
|
);
|
|
@@ -966,8 +1010,8 @@ function MenubarSubContent({
|
|
|
966
1010
|
className,
|
|
967
1011
|
...props
|
|
968
1012
|
}) {
|
|
969
|
-
return /* @__PURE__ */ jsx(
|
|
970
|
-
|
|
1013
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1014
|
+
MenubarPrimitive__namespace.SubContent,
|
|
971
1015
|
{
|
|
972
1016
|
"data-slot": "menubar-sub-content",
|
|
973
1017
|
className: cn(
|
|
@@ -979,7 +1023,7 @@ function MenubarSubContent({
|
|
|
979
1023
|
);
|
|
980
1024
|
}
|
|
981
1025
|
var ChevronLeftIcon = ({ className = "" }) => {
|
|
982
|
-
return /* @__PURE__ */ jsx(
|
|
1026
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
983
1027
|
"svg",
|
|
984
1028
|
{
|
|
985
1029
|
className,
|
|
@@ -991,12 +1035,12 @@ var ChevronLeftIcon = ({ className = "" }) => {
|
|
|
991
1035
|
strokeWidth: "2",
|
|
992
1036
|
strokeLinecap: "round",
|
|
993
1037
|
strokeLinejoin: "round",
|
|
994
|
-
children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
|
|
1038
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 18-6-6 6-6" })
|
|
995
1039
|
}
|
|
996
1040
|
);
|
|
997
1041
|
};
|
|
998
1042
|
var MoreHorizontalIcon = ({ className = "" }) => {
|
|
999
|
-
return /* @__PURE__ */ jsxs(
|
|
1043
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1000
1044
|
"svg",
|
|
1001
1045
|
{
|
|
1002
1046
|
className,
|
|
@@ -1009,15 +1053,15 @@ var MoreHorizontalIcon = ({ className = "" }) => {
|
|
|
1009
1053
|
strokeLinecap: "round",
|
|
1010
1054
|
strokeLinejoin: "round",
|
|
1011
1055
|
children: [
|
|
1012
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
|
1013
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "12", r: "1" }),
|
|
1014
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "12", r: "1" })
|
|
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" })
|
|
1015
1059
|
]
|
|
1016
1060
|
}
|
|
1017
1061
|
);
|
|
1018
1062
|
};
|
|
1019
1063
|
function Pagination({ className, ...props }) {
|
|
1020
|
-
return /* @__PURE__ */ jsx(
|
|
1064
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1021
1065
|
"nav",
|
|
1022
1066
|
{
|
|
1023
1067
|
role: "navigation",
|
|
@@ -1032,7 +1076,7 @@ function PaginationContent({
|
|
|
1032
1076
|
className,
|
|
1033
1077
|
...props
|
|
1034
1078
|
}) {
|
|
1035
|
-
return /* @__PURE__ */ jsx(
|
|
1079
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1036
1080
|
"ul",
|
|
1037
1081
|
{
|
|
1038
1082
|
"data-slot": "pagination-content",
|
|
@@ -1042,17 +1086,17 @@ function PaginationContent({
|
|
|
1042
1086
|
);
|
|
1043
1087
|
}
|
|
1044
1088
|
function PaginationItem({ ...props }) {
|
|
1045
|
-
return /* @__PURE__ */ jsx("li", { "data-slot": "pagination-item", ...props });
|
|
1089
|
+
return /* @__PURE__ */ jsxRuntime.jsx("li", { "data-slot": "pagination-item", ...props });
|
|
1046
1090
|
}
|
|
1047
1091
|
function PaginationLink({
|
|
1048
1092
|
className,
|
|
1049
1093
|
isActive,
|
|
1050
|
-
size = ButtonSize.Icon,
|
|
1094
|
+
size = uikitContracts.ButtonSize.Icon,
|
|
1051
1095
|
asChild,
|
|
1052
1096
|
...props
|
|
1053
1097
|
}) {
|
|
1054
|
-
const Comp = asChild ? Slot : "a";
|
|
1055
|
-
return /* @__PURE__ */ jsx(
|
|
1098
|
+
const Comp = asChild ? reactSlot.Slot : "a";
|
|
1099
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
1100
|
Comp,
|
|
1057
1101
|
{
|
|
1058
1102
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -1060,7 +1104,7 @@ function PaginationLink({
|
|
|
1060
1104
|
"data-active": isActive,
|
|
1061
1105
|
className: cn(
|
|
1062
1106
|
buttonVariants({
|
|
1063
|
-
variant: isActive ? ButtonVariant.Outline : ButtonVariant.Ghost,
|
|
1107
|
+
variant: isActive ? uikitContracts.ButtonVariant.Outline : uikitContracts.ButtonVariant.Ghost,
|
|
1064
1108
|
size
|
|
1065
1109
|
}),
|
|
1066
1110
|
className
|
|
@@ -1074,16 +1118,16 @@ function PaginationPrevious({
|
|
|
1074
1118
|
children,
|
|
1075
1119
|
...props
|
|
1076
1120
|
}) {
|
|
1077
|
-
return /* @__PURE__ */ jsxs(
|
|
1121
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1078
1122
|
PaginationLink,
|
|
1079
1123
|
{
|
|
1080
1124
|
"aria-label": "Go to previous page",
|
|
1081
|
-
size: ButtonSize.Default,
|
|
1125
|
+
size: uikitContracts.ButtonSize.Default,
|
|
1082
1126
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
1083
1127
|
...props,
|
|
1084
1128
|
children: [
|
|
1085
|
-
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
1086
|
-
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: children ?? "Previous" })
|
|
1129
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
1130
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:block", children: children ?? "Previous" })
|
|
1087
1131
|
]
|
|
1088
1132
|
}
|
|
1089
1133
|
);
|
|
@@ -1093,16 +1137,16 @@ function PaginationNext({
|
|
|
1093
1137
|
children,
|
|
1094
1138
|
...props
|
|
1095
1139
|
}) {
|
|
1096
|
-
return /* @__PURE__ */ jsxs(
|
|
1140
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1097
1141
|
PaginationLink,
|
|
1098
1142
|
{
|
|
1099
1143
|
"aria-label": "Go to next page",
|
|
1100
|
-
size: ButtonSize.Default,
|
|
1144
|
+
size: uikitContracts.ButtonSize.Default,
|
|
1101
1145
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
1102
1146
|
...props,
|
|
1103
1147
|
children: [
|
|
1104
|
-
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: children ?? "Next" }),
|
|
1105
|
-
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "h-4 w-4" })
|
|
1148
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:block", children: children ?? "Next" }),
|
|
1149
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "h-4 w-4" })
|
|
1106
1150
|
]
|
|
1107
1151
|
}
|
|
1108
1152
|
);
|
|
@@ -1111,7 +1155,7 @@ function PaginationEllipsis({
|
|
|
1111
1155
|
className,
|
|
1112
1156
|
...props
|
|
1113
1157
|
}) {
|
|
1114
|
-
return /* @__PURE__ */ jsxs(
|
|
1158
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1115
1159
|
"span",
|
|
1116
1160
|
{
|
|
1117
1161
|
"aria-hidden": true,
|
|
@@ -1119,8 +1163,8 @@ function PaginationEllipsis({
|
|
|
1119
1163
|
className: cn("flex size-9 items-center justify-center", className),
|
|
1120
1164
|
...props,
|
|
1121
1165
|
children: [
|
|
1122
|
-
/* @__PURE__ */ jsx(MoreHorizontalIcon, { className: "h-4 w-4" }),
|
|
1123
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
|
|
1166
|
+
/* @__PURE__ */ jsxRuntime.jsx(MoreHorizontalIcon, { className: "h-4 w-4" }),
|
|
1167
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More pages" })
|
|
1124
1168
|
]
|
|
1125
1169
|
}
|
|
1126
1170
|
);
|
|
@@ -1129,8 +1173,8 @@ function Tabs({
|
|
|
1129
1173
|
className,
|
|
1130
1174
|
...props
|
|
1131
1175
|
}) {
|
|
1132
|
-
return /* @__PURE__ */ jsx(
|
|
1133
|
-
|
|
1176
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
|
+
TabsPrimitive__namespace.Root,
|
|
1134
1178
|
{
|
|
1135
1179
|
"data-slot": "tabs",
|
|
1136
1180
|
className: cn("flex flex-col gap-2", className),
|
|
@@ -1142,8 +1186,8 @@ function TabsList({
|
|
|
1142
1186
|
className,
|
|
1143
1187
|
...props
|
|
1144
1188
|
}) {
|
|
1145
|
-
return /* @__PURE__ */ jsx(
|
|
1146
|
-
|
|
1189
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1190
|
+
TabsPrimitive__namespace.List,
|
|
1147
1191
|
{
|
|
1148
1192
|
"data-slot": "tabs-list",
|
|
1149
1193
|
className: cn(
|
|
@@ -1158,8 +1202,8 @@ function TabsTrigger({
|
|
|
1158
1202
|
className,
|
|
1159
1203
|
...props
|
|
1160
1204
|
}) {
|
|
1161
|
-
return /* @__PURE__ */ jsx(
|
|
1162
|
-
|
|
1205
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1206
|
+
TabsPrimitive__namespace.Trigger,
|
|
1163
1207
|
{
|
|
1164
1208
|
"data-slot": "tabs-trigger",
|
|
1165
1209
|
className: cn(
|
|
@@ -1174,8 +1218,8 @@ function TabsContent({
|
|
|
1174
1218
|
className,
|
|
1175
1219
|
...props
|
|
1176
1220
|
}) {
|
|
1177
|
-
return /* @__PURE__ */ jsx(
|
|
1178
|
-
|
|
1221
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1222
|
+
TabsPrimitive__namespace.Content,
|
|
1179
1223
|
{
|
|
1180
1224
|
"data-slot": "tabs-content",
|
|
1181
1225
|
className: cn("flex-1 outline-none", className),
|
|
@@ -1183,12 +1227,12 @@ function TabsContent({
|
|
|
1183
1227
|
}
|
|
1184
1228
|
);
|
|
1185
1229
|
}
|
|
1186
|
-
var Sheet =
|
|
1187
|
-
var SheetTrigger =
|
|
1188
|
-
var SheetClose =
|
|
1189
|
-
var SheetPortal =
|
|
1190
|
-
var SheetOverlay =
|
|
1191
|
-
|
|
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,
|
|
1192
1236
|
{
|
|
1193
1237
|
className: cn(
|
|
1194
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",
|
|
@@ -1198,8 +1242,8 @@ var SheetOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
1198
1242
|
ref
|
|
1199
1243
|
}
|
|
1200
1244
|
));
|
|
1201
|
-
SheetOverlay.displayName =
|
|
1202
|
-
var sheetVariants = cva(
|
|
1245
|
+
SheetOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
1246
|
+
var sheetVariants = classVarianceAuthority.cva(
|
|
1203
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",
|
|
1204
1248
|
{
|
|
1205
1249
|
variants: {
|
|
@@ -1215,29 +1259,29 @@ var sheetVariants = cva(
|
|
|
1215
1259
|
}
|
|
1216
1260
|
}
|
|
1217
1261
|
);
|
|
1218
|
-
var SheetContent =
|
|
1219
|
-
/* @__PURE__ */ jsx(SheetOverlay, {}),
|
|
1220
|
-
/* @__PURE__ */ jsxs(
|
|
1221
|
-
|
|
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,
|
|
1222
1266
|
{
|
|
1223
1267
|
ref,
|
|
1224
1268
|
className: cn(sheetVariants({ side }), className),
|
|
1225
1269
|
...props,
|
|
1226
1270
|
children: [
|
|
1227
|
-
/* @__PURE__ */ jsxs(
|
|
1228
|
-
/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
|
|
1229
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
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" })
|
|
1230
1274
|
] }),
|
|
1231
1275
|
children
|
|
1232
1276
|
]
|
|
1233
1277
|
}
|
|
1234
1278
|
)
|
|
1235
1279
|
] }));
|
|
1236
|
-
SheetContent.displayName =
|
|
1280
|
+
SheetContent.displayName = SheetPrimitive__namespace.Content.displayName;
|
|
1237
1281
|
var SheetHeader = ({
|
|
1238
1282
|
className,
|
|
1239
1283
|
...props
|
|
1240
|
-
}) => /* @__PURE__ */ jsx(
|
|
1284
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1241
1285
|
"div",
|
|
1242
1286
|
{
|
|
1243
1287
|
className: cn(
|
|
@@ -1251,7 +1295,7 @@ SheetHeader.displayName = "SheetHeader";
|
|
|
1251
1295
|
var SheetFooter = ({
|
|
1252
1296
|
className,
|
|
1253
1297
|
...props
|
|
1254
|
-
}) => /* @__PURE__ */ jsx(
|
|
1298
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1255
1299
|
"div",
|
|
1256
1300
|
{
|
|
1257
1301
|
className: cn(
|
|
@@ -1262,30 +1306,30 @@ var SheetFooter = ({
|
|
|
1262
1306
|
}
|
|
1263
1307
|
);
|
|
1264
1308
|
SheetFooter.displayName = "SheetFooter";
|
|
1265
|
-
var SheetTitle =
|
|
1266
|
-
|
|
1309
|
+
var SheetTitle = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
|
+
SheetPrimitive__namespace.Title,
|
|
1267
1311
|
{
|
|
1268
1312
|
ref,
|
|
1269
1313
|
className: cn("text-lg font-semibold text-foreground", className),
|
|
1270
1314
|
...props
|
|
1271
1315
|
}
|
|
1272
1316
|
));
|
|
1273
|
-
SheetTitle.displayName =
|
|
1274
|
-
var SheetDescription =
|
|
1275
|
-
|
|
1317
|
+
SheetTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
1318
|
+
var SheetDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1319
|
+
SheetPrimitive__namespace.Description,
|
|
1276
1320
|
{
|
|
1277
1321
|
ref,
|
|
1278
1322
|
className: cn("text-sm text-muted-foreground", className),
|
|
1279
1323
|
...props
|
|
1280
1324
|
}
|
|
1281
1325
|
));
|
|
1282
|
-
SheetDescription.displayName =
|
|
1283
|
-
var Dialog =
|
|
1284
|
-
var DialogTrigger =
|
|
1285
|
-
var DialogPortal =
|
|
1286
|
-
var DialogClose =
|
|
1287
|
-
var DialogOverlay =
|
|
1288
|
-
|
|
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,
|
|
1289
1333
|
{
|
|
1290
1334
|
ref,
|
|
1291
1335
|
className: cn(
|
|
@@ -1295,11 +1339,11 @@ var DialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1295
1339
|
...props
|
|
1296
1340
|
}
|
|
1297
1341
|
));
|
|
1298
|
-
DialogOverlay.displayName =
|
|
1299
|
-
var DialogContent =
|
|
1300
|
-
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
1301
|
-
/* @__PURE__ */ jsxs(
|
|
1302
|
-
|
|
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,
|
|
1303
1347
|
{
|
|
1304
1348
|
ref,
|
|
1305
1349
|
className: cn(
|
|
@@ -1309,19 +1353,19 @@ var DialogContent = React18.forwardRef(({ className, children, ...props }, ref)
|
|
|
1309
1353
|
...props,
|
|
1310
1354
|
children: [
|
|
1311
1355
|
children,
|
|
1312
|
-
/* @__PURE__ */ jsxs(
|
|
1313
|
-
/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
|
|
1314
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
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" })
|
|
1315
1359
|
] })
|
|
1316
1360
|
]
|
|
1317
1361
|
}
|
|
1318
1362
|
)
|
|
1319
1363
|
] }));
|
|
1320
|
-
DialogContent.displayName =
|
|
1364
|
+
DialogContent.displayName = SheetPrimitive__namespace.Content.displayName;
|
|
1321
1365
|
var DialogHeader = ({
|
|
1322
1366
|
className,
|
|
1323
1367
|
...props
|
|
1324
|
-
}) => /* @__PURE__ */ jsx(
|
|
1368
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1325
1369
|
"div",
|
|
1326
1370
|
{
|
|
1327
1371
|
className: cn(
|
|
@@ -1335,7 +1379,7 @@ DialogHeader.displayName = "DialogHeader";
|
|
|
1335
1379
|
var DialogFooter = ({
|
|
1336
1380
|
className,
|
|
1337
1381
|
...props
|
|
1338
|
-
}) => /* @__PURE__ */ jsx(
|
|
1382
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1339
1383
|
"div",
|
|
1340
1384
|
{
|
|
1341
1385
|
className: cn(
|
|
@@ -1346,8 +1390,8 @@ var DialogFooter = ({
|
|
|
1346
1390
|
}
|
|
1347
1391
|
);
|
|
1348
1392
|
DialogFooter.displayName = "DialogFooter";
|
|
1349
|
-
var DialogTitle =
|
|
1350
|
-
|
|
1393
|
+
var DialogTitle = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1394
|
+
SheetPrimitive__namespace.Title,
|
|
1351
1395
|
{
|
|
1352
1396
|
ref,
|
|
1353
1397
|
className: cn(
|
|
@@ -1357,42 +1401,42 @@ var DialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1357
1401
|
...props
|
|
1358
1402
|
}
|
|
1359
1403
|
));
|
|
1360
|
-
DialogTitle.displayName =
|
|
1361
|
-
var DialogDescription =
|
|
1362
|
-
|
|
1404
|
+
DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
1405
|
+
var DialogDescription = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1406
|
+
SheetPrimitive__namespace.Description,
|
|
1363
1407
|
{
|
|
1364
1408
|
ref,
|
|
1365
1409
|
className: cn("text-sm text-muted-foreground", className),
|
|
1366
1410
|
...props
|
|
1367
1411
|
}
|
|
1368
1412
|
));
|
|
1369
|
-
DialogDescription.displayName =
|
|
1413
|
+
DialogDescription.displayName = SheetPrimitive__namespace.Description.displayName;
|
|
1370
1414
|
function Drawer({
|
|
1371
1415
|
...props
|
|
1372
1416
|
}) {
|
|
1373
|
-
return /* @__PURE__ */ jsx(Drawer
|
|
1417
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Root, { "data-slot": "drawer", ...props });
|
|
1374
1418
|
}
|
|
1375
1419
|
function DrawerTrigger({
|
|
1376
1420
|
...props
|
|
1377
1421
|
}) {
|
|
1378
|
-
return /* @__PURE__ */ jsx(Drawer
|
|
1422
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
|
|
1379
1423
|
}
|
|
1380
1424
|
function DrawerPortal({
|
|
1381
1425
|
...props
|
|
1382
1426
|
}) {
|
|
1383
|
-
return /* @__PURE__ */ jsx(Drawer
|
|
1427
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
|
|
1384
1428
|
}
|
|
1385
1429
|
function DrawerClose({
|
|
1386
1430
|
...props
|
|
1387
1431
|
}) {
|
|
1388
|
-
return /* @__PURE__ */ jsx(Drawer
|
|
1432
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Close, { "data-slot": "drawer-close", ...props });
|
|
1389
1433
|
}
|
|
1390
1434
|
function DrawerOverlay({
|
|
1391
1435
|
className,
|
|
1392
1436
|
...props
|
|
1393
1437
|
}) {
|
|
1394
|
-
return /* @__PURE__ */ jsx(
|
|
1395
|
-
Drawer
|
|
1438
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1439
|
+
vaul.Drawer.Overlay,
|
|
1396
1440
|
{
|
|
1397
1441
|
"data-slot": "drawer-overlay",
|
|
1398
1442
|
className: cn(
|
|
@@ -1408,10 +1452,10 @@ function DrawerContent({
|
|
|
1408
1452
|
children,
|
|
1409
1453
|
...props
|
|
1410
1454
|
}) {
|
|
1411
|
-
return /* @__PURE__ */ jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
1412
|
-
/* @__PURE__ */ jsx(DrawerOverlay, {}),
|
|
1413
|
-
/* @__PURE__ */ jsxs(
|
|
1414
|
-
Drawer
|
|
1455
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
1456
|
+
/* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
|
|
1457
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1458
|
+
vaul.Drawer.Content,
|
|
1415
1459
|
{
|
|
1416
1460
|
"data-slot": "drawer-content",
|
|
1417
1461
|
className: cn(
|
|
@@ -1424,7 +1468,7 @@ function DrawerContent({
|
|
|
1424
1468
|
),
|
|
1425
1469
|
...props,
|
|
1426
1470
|
children: [
|
|
1427
|
-
/* @__PURE__ */ 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" }),
|
|
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" }),
|
|
1428
1472
|
children
|
|
1429
1473
|
]
|
|
1430
1474
|
}
|
|
@@ -1432,7 +1476,7 @@ function DrawerContent({
|
|
|
1432
1476
|
] });
|
|
1433
1477
|
}
|
|
1434
1478
|
function DrawerHeader({ className, ...props }) {
|
|
1435
|
-
return /* @__PURE__ */ jsx(
|
|
1479
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1436
1480
|
"div",
|
|
1437
1481
|
{
|
|
1438
1482
|
"data-slot": "drawer-header",
|
|
@@ -1445,7 +1489,7 @@ function DrawerHeader({ className, ...props }) {
|
|
|
1445
1489
|
);
|
|
1446
1490
|
}
|
|
1447
1491
|
function DrawerFooter({ className, ...props }) {
|
|
1448
|
-
return /* @__PURE__ */ jsx(
|
|
1492
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1449
1493
|
"div",
|
|
1450
1494
|
{
|
|
1451
1495
|
"data-slot": "drawer-footer",
|
|
@@ -1458,8 +1502,8 @@ function DrawerTitle({
|
|
|
1458
1502
|
className,
|
|
1459
1503
|
...props
|
|
1460
1504
|
}) {
|
|
1461
|
-
return /* @__PURE__ */ jsx(
|
|
1462
|
-
Drawer
|
|
1505
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1506
|
+
vaul.Drawer.Title,
|
|
1463
1507
|
{
|
|
1464
1508
|
"data-slot": "drawer-title",
|
|
1465
1509
|
className: cn("text-lg font-semibold text-foreground", className),
|
|
@@ -1471,8 +1515,8 @@ function DrawerDescription({
|
|
|
1471
1515
|
className,
|
|
1472
1516
|
...props
|
|
1473
1517
|
}) {
|
|
1474
|
-
return /* @__PURE__ */ jsx(
|
|
1475
|
-
Drawer
|
|
1518
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1519
|
+
vaul.Drawer.Description,
|
|
1476
1520
|
{
|
|
1477
1521
|
"data-slot": "drawer-description",
|
|
1478
1522
|
className: cn("text-sm text-muted-foreground", className),
|
|
@@ -1484,8 +1528,8 @@ function ResizablePanelGroup({
|
|
|
1484
1528
|
className,
|
|
1485
1529
|
...props
|
|
1486
1530
|
}) {
|
|
1487
|
-
return /* @__PURE__ */ jsx(
|
|
1488
|
-
|
|
1531
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1532
|
+
ResizablePrimitive__namespace.PanelGroup,
|
|
1489
1533
|
{
|
|
1490
1534
|
"data-slot": "resizable-panel-group",
|
|
1491
1535
|
className: cn(
|
|
@@ -1499,15 +1543,15 @@ function ResizablePanelGroup({
|
|
|
1499
1543
|
function ResizablePanel({
|
|
1500
1544
|
...props
|
|
1501
1545
|
}) {
|
|
1502
|
-
return /* @__PURE__ */ jsx(
|
|
1546
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ResizablePrimitive__namespace.Panel, { "data-slot": "resizable-panel", ...props });
|
|
1503
1547
|
}
|
|
1504
1548
|
function ResizableHandle({
|
|
1505
1549
|
withHandle,
|
|
1506
1550
|
className,
|
|
1507
1551
|
...props
|
|
1508
1552
|
}) {
|
|
1509
|
-
return /* @__PURE__ */ jsx(
|
|
1510
|
-
|
|
1553
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1554
|
+
ResizablePrimitive__namespace.PanelResizeHandle,
|
|
1511
1555
|
{
|
|
1512
1556
|
"data-slot": "resizable-handle",
|
|
1513
1557
|
className: cn(
|
|
@@ -1515,7 +1559,7 @@ function ResizableHandle({
|
|
|
1515
1559
|
className
|
|
1516
1560
|
),
|
|
1517
1561
|
...props,
|
|
1518
|
-
children: withHandle && /* @__PURE__ */ jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ jsx(GripVertical, { className: "size-2.5" }) })
|
|
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" }) })
|
|
1519
1563
|
}
|
|
1520
1564
|
);
|
|
1521
1565
|
}
|
|
@@ -1524,23 +1568,23 @@ function ScrollArea({
|
|
|
1524
1568
|
children,
|
|
1525
1569
|
...props
|
|
1526
1570
|
}) {
|
|
1527
|
-
return /* @__PURE__ */ jsxs(
|
|
1528
|
-
|
|
1571
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1572
|
+
ScrollAreaPrimitive__namespace.Root,
|
|
1529
1573
|
{
|
|
1530
1574
|
"data-slot": "scroll-area",
|
|
1531
1575
|
className: cn("relative", className),
|
|
1532
1576
|
...props,
|
|
1533
1577
|
children: [
|
|
1534
|
-
/* @__PURE__ */ jsx(
|
|
1535
|
-
|
|
1578
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1579
|
+
ScrollAreaPrimitive__namespace.Viewport,
|
|
1536
1580
|
{
|
|
1537
1581
|
"data-slot": "scroll-area-viewport",
|
|
1538
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",
|
|
1539
1583
|
children
|
|
1540
1584
|
}
|
|
1541
1585
|
),
|
|
1542
|
-
/* @__PURE__ */ jsx(ScrollBar, {}),
|
|
1543
|
-
/* @__PURE__ */ jsx(
|
|
1586
|
+
/* @__PURE__ */ jsxRuntime.jsx(ScrollBar, {}),
|
|
1587
|
+
/* @__PURE__ */ jsxRuntime.jsx(ScrollAreaPrimitive__namespace.Corner, {})
|
|
1544
1588
|
]
|
|
1545
1589
|
}
|
|
1546
1590
|
);
|
|
@@ -1550,8 +1594,8 @@ function ScrollBar({
|
|
|
1550
1594
|
orientation = "vertical",
|
|
1551
1595
|
...props
|
|
1552
1596
|
}) {
|
|
1553
|
-
return /* @__PURE__ */ jsx(
|
|
1554
|
-
|
|
1597
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1598
|
+
ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
|
|
1555
1599
|
{
|
|
1556
1600
|
"data-slot": "scroll-area-scrollbar",
|
|
1557
1601
|
orientation,
|
|
@@ -1562,8 +1606,8 @@ function ScrollBar({
|
|
|
1562
1606
|
className
|
|
1563
1607
|
),
|
|
1564
1608
|
...props,
|
|
1565
|
-
children: /* @__PURE__ */ jsx(
|
|
1566
|
-
|
|
1609
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1610
|
+
ScrollAreaPrimitive__namespace.ScrollAreaThumb,
|
|
1567
1611
|
{
|
|
1568
1612
|
"data-slot": "scroll-area-thumb",
|
|
1569
1613
|
className: "bg-border relative flex-1 rounded-full"
|
|
@@ -1578,8 +1622,8 @@ function Separator2({
|
|
|
1578
1622
|
decorative = true,
|
|
1579
1623
|
...props
|
|
1580
1624
|
}) {
|
|
1581
|
-
return /* @__PURE__ */ jsx(
|
|
1582
|
-
|
|
1625
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1626
|
+
SeparatorPrimitive__namespace.Root,
|
|
1583
1627
|
{
|
|
1584
1628
|
"data-slot": "separator",
|
|
1585
1629
|
decorative,
|
|
@@ -1592,8 +1636,8 @@ function Separator2({
|
|
|
1592
1636
|
}
|
|
1593
1637
|
);
|
|
1594
1638
|
}
|
|
1595
|
-
var Accordion =
|
|
1596
|
-
|
|
1639
|
+
var Accordion = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1640
|
+
AccordionPrimitive__namespace.Root,
|
|
1597
1641
|
{
|
|
1598
1642
|
ref,
|
|
1599
1643
|
"data-slot": "accordion",
|
|
@@ -1601,8 +1645,8 @@ var Accordion = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
|
|
|
1601
1645
|
}
|
|
1602
1646
|
));
|
|
1603
1647
|
Accordion.displayName = "Accordion";
|
|
1604
|
-
var AccordionItem =
|
|
1605
|
-
|
|
1648
|
+
var AccordionItem = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1649
|
+
AccordionPrimitive__namespace.Item,
|
|
1606
1650
|
{
|
|
1607
1651
|
ref,
|
|
1608
1652
|
"data-slot": "accordion-item",
|
|
@@ -1611,8 +1655,8 @@ var AccordionItem = React18.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1611
1655
|
}
|
|
1612
1656
|
));
|
|
1613
1657
|
AccordionItem.displayName = "AccordionItem";
|
|
1614
|
-
var AccordionTrigger =
|
|
1615
|
-
|
|
1658
|
+
var AccordionTrigger = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1659
|
+
AccordionPrimitive__namespace.Trigger,
|
|
1616
1660
|
{
|
|
1617
1661
|
ref,
|
|
1618
1662
|
"data-slot": "accordion-trigger",
|
|
@@ -1623,31 +1667,31 @@ var AccordionTrigger = React18.forwardRef(({ className, children, ...props }, re
|
|
|
1623
1667
|
...props,
|
|
1624
1668
|
children: [
|
|
1625
1669
|
children,
|
|
1626
|
-
/* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
1670
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
1627
1671
|
]
|
|
1628
1672
|
}
|
|
1629
1673
|
) }));
|
|
1630
1674
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
1631
|
-
var AccordionContent =
|
|
1632
|
-
|
|
1675
|
+
var AccordionContent = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1676
|
+
AccordionPrimitive__namespace.Content,
|
|
1633
1677
|
{
|
|
1634
1678
|
ref,
|
|
1635
1679
|
"data-slot": "accordion-content",
|
|
1636
1680
|
className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
1637
1681
|
...props,
|
|
1638
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
1682
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("pt-0 pb-4", className), children })
|
|
1639
1683
|
}
|
|
1640
1684
|
));
|
|
1641
1685
|
AccordionContent.displayName = "AccordionContent";
|
|
1642
|
-
var CarouselContext =
|
|
1686
|
+
var CarouselContext = React18__namespace.createContext(null);
|
|
1643
1687
|
function useCarousel() {
|
|
1644
|
-
const context =
|
|
1688
|
+
const context = React18__namespace.useContext(CarouselContext);
|
|
1645
1689
|
if (!context) {
|
|
1646
1690
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
1647
1691
|
}
|
|
1648
1692
|
return context;
|
|
1649
1693
|
}
|
|
1650
|
-
var Carousel =
|
|
1694
|
+
var Carousel = React18__namespace.forwardRef(
|
|
1651
1695
|
({
|
|
1652
1696
|
orientation = "horizontal",
|
|
1653
1697
|
opts,
|
|
@@ -1657,27 +1701,27 @@ var Carousel = React18.forwardRef(
|
|
|
1657
1701
|
children,
|
|
1658
1702
|
...props
|
|
1659
1703
|
}, ref) => {
|
|
1660
|
-
const [carouselRef, api] =
|
|
1704
|
+
const [carouselRef, api] = useEmblaCarousel__default.default(
|
|
1661
1705
|
{
|
|
1662
1706
|
...opts,
|
|
1663
1707
|
axis: orientation === "horizontal" ? "x" : "y"
|
|
1664
1708
|
},
|
|
1665
1709
|
plugins
|
|
1666
1710
|
);
|
|
1667
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
1668
|
-
const [canScrollNext, setCanScrollNext] =
|
|
1669
|
-
const onSelect =
|
|
1711
|
+
const [canScrollPrev, setCanScrollPrev] = React18__namespace.useState(false);
|
|
1712
|
+
const [canScrollNext, setCanScrollNext] = React18__namespace.useState(false);
|
|
1713
|
+
const onSelect = React18__namespace.useCallback((api2) => {
|
|
1670
1714
|
if (!api2) return;
|
|
1671
1715
|
setCanScrollPrev(api2.canScrollPrev());
|
|
1672
1716
|
setCanScrollNext(api2.canScrollNext());
|
|
1673
1717
|
}, []);
|
|
1674
|
-
const scrollPrev =
|
|
1718
|
+
const scrollPrev = React18__namespace.useCallback(() => {
|
|
1675
1719
|
api?.scrollPrev();
|
|
1676
1720
|
}, [api]);
|
|
1677
|
-
const scrollNext =
|
|
1721
|
+
const scrollNext = React18__namespace.useCallback(() => {
|
|
1678
1722
|
api?.scrollNext();
|
|
1679
1723
|
}, [api]);
|
|
1680
|
-
const handleKeyDown =
|
|
1724
|
+
const handleKeyDown = React18__namespace.useCallback(
|
|
1681
1725
|
(event) => {
|
|
1682
1726
|
if (event.key === "ArrowLeft") {
|
|
1683
1727
|
event.preventDefault();
|
|
@@ -1689,11 +1733,11 @@ var Carousel = React18.forwardRef(
|
|
|
1689
1733
|
},
|
|
1690
1734
|
[scrollPrev, scrollNext]
|
|
1691
1735
|
);
|
|
1692
|
-
|
|
1736
|
+
React18__namespace.useEffect(() => {
|
|
1693
1737
|
if (!api || !setApi) return;
|
|
1694
1738
|
setApi(api);
|
|
1695
1739
|
}, [api, setApi]);
|
|
1696
|
-
|
|
1740
|
+
React18__namespace.useEffect(() => {
|
|
1697
1741
|
if (!api) return;
|
|
1698
1742
|
onSelect(api);
|
|
1699
1743
|
api.on("reInit", onSelect);
|
|
@@ -1702,7 +1746,7 @@ var Carousel = React18.forwardRef(
|
|
|
1702
1746
|
api?.off("select", onSelect);
|
|
1703
1747
|
};
|
|
1704
1748
|
}, [api, onSelect]);
|
|
1705
|
-
return /* @__PURE__ */ jsx(
|
|
1749
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1706
1750
|
CarouselContext.Provider,
|
|
1707
1751
|
{
|
|
1708
1752
|
value: {
|
|
@@ -1715,7 +1759,7 @@ var Carousel = React18.forwardRef(
|
|
|
1715
1759
|
canScrollPrev,
|
|
1716
1760
|
canScrollNext
|
|
1717
1761
|
},
|
|
1718
|
-
children: /* @__PURE__ */ jsx(
|
|
1762
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1719
1763
|
"div",
|
|
1720
1764
|
{
|
|
1721
1765
|
ref,
|
|
@@ -1733,15 +1777,15 @@ var Carousel = React18.forwardRef(
|
|
|
1733
1777
|
}
|
|
1734
1778
|
);
|
|
1735
1779
|
Carousel.displayName = "Carousel";
|
|
1736
|
-
var CarouselContent =
|
|
1780
|
+
var CarouselContent = React18__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1737
1781
|
const { carouselRef, orientation } = useCarousel();
|
|
1738
|
-
return /* @__PURE__ */ jsx(
|
|
1782
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1739
1783
|
"div",
|
|
1740
1784
|
{
|
|
1741
1785
|
ref: carouselRef,
|
|
1742
1786
|
className: "overflow-hidden",
|
|
1743
1787
|
"data-slot": "carousel-content",
|
|
1744
|
-
children: /* @__PURE__ */ jsx(
|
|
1788
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1745
1789
|
"div",
|
|
1746
1790
|
{
|
|
1747
1791
|
ref,
|
|
@@ -1757,9 +1801,9 @@ var CarouselContent = React18.forwardRef(({ className, ...props }, ref) => {
|
|
|
1757
1801
|
);
|
|
1758
1802
|
});
|
|
1759
1803
|
CarouselContent.displayName = "CarouselContent";
|
|
1760
|
-
var CarouselItem =
|
|
1804
|
+
var CarouselItem = React18__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1761
1805
|
const { orientation } = useCarousel();
|
|
1762
|
-
return /* @__PURE__ */ jsx(
|
|
1806
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1763
1807
|
"div",
|
|
1764
1808
|
{
|
|
1765
1809
|
ref,
|
|
@@ -1776,9 +1820,9 @@ var CarouselItem = React18.forwardRef(({ className, ...props }, ref) => {
|
|
|
1776
1820
|
);
|
|
1777
1821
|
});
|
|
1778
1822
|
CarouselItem.displayName = "CarouselItem";
|
|
1779
|
-
var CarouselPrevious =
|
|
1823
|
+
var CarouselPrevious = React18__namespace.forwardRef(({ className, variant = uikitContracts.ButtonVariant.Outline, size = uikitContracts.ButtonSize.Icon, ...props }, ref) => {
|
|
1780
1824
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
1781
|
-
return /* @__PURE__ */ jsxs(
|
|
1825
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1782
1826
|
Button,
|
|
1783
1827
|
{
|
|
1784
1828
|
ref,
|
|
@@ -1794,16 +1838,16 @@ var CarouselPrevious = React18.forwardRef(({ className, variant = ButtonVariant.
|
|
|
1794
1838
|
onClick: scrollPrev,
|
|
1795
1839
|
...props,
|
|
1796
1840
|
children: [
|
|
1797
|
-
/* @__PURE__ */ jsx(ArrowLeft, { className: "h-4 w-4" }),
|
|
1798
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
1841
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "h-4 w-4" }),
|
|
1842
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Previous slide" })
|
|
1799
1843
|
]
|
|
1800
1844
|
}
|
|
1801
1845
|
);
|
|
1802
1846
|
});
|
|
1803
1847
|
CarouselPrevious.displayName = "CarouselPrevious";
|
|
1804
|
-
var CarouselNext =
|
|
1848
|
+
var CarouselNext = React18__namespace.forwardRef(({ className, variant = uikitContracts.ButtonVariant.Outline, size = uikitContracts.ButtonSize.Icon, ...props }, ref) => {
|
|
1805
1849
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
1806
|
-
return /* @__PURE__ */ jsxs(
|
|
1850
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1807
1851
|
Button,
|
|
1808
1852
|
{
|
|
1809
1853
|
ref,
|
|
@@ -1819,15 +1863,15 @@ var CarouselNext = React18.forwardRef(({ className, variant = ButtonVariant.Outl
|
|
|
1819
1863
|
onClick: scrollNext,
|
|
1820
1864
|
...props,
|
|
1821
1865
|
children: [
|
|
1822
|
-
/* @__PURE__ */ jsx(ArrowRight, { className: "h-4 w-4" }),
|
|
1823
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Next slide" })
|
|
1866
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowRight, { className: "h-4 w-4" }),
|
|
1867
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Next slide" })
|
|
1824
1868
|
]
|
|
1825
1869
|
}
|
|
1826
1870
|
);
|
|
1827
1871
|
});
|
|
1828
1872
|
CarouselNext.displayName = "CarouselNext";
|
|
1829
|
-
var Collapsible =
|
|
1830
|
-
|
|
1873
|
+
var Collapsible = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1874
|
+
CollapsiblePrimitive__namespace.Root,
|
|
1831
1875
|
{
|
|
1832
1876
|
ref,
|
|
1833
1877
|
"data-slot": "collapsible",
|
|
@@ -1835,8 +1879,8 @@ var Collapsible = React18.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(
|
|
|
1835
1879
|
}
|
|
1836
1880
|
));
|
|
1837
1881
|
Collapsible.displayName = "Collapsible";
|
|
1838
|
-
var CollapsibleTrigger2 =
|
|
1839
|
-
|
|
1882
|
+
var CollapsibleTrigger2 = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1883
|
+
CollapsiblePrimitive__namespace.CollapsibleTrigger,
|
|
1840
1884
|
{
|
|
1841
1885
|
ref,
|
|
1842
1886
|
"data-slot": "collapsible-trigger",
|
|
@@ -1844,8 +1888,8 @@ var CollapsibleTrigger2 = React18.forwardRef(({ ...props }, ref) => /* @__PURE__
|
|
|
1844
1888
|
}
|
|
1845
1889
|
));
|
|
1846
1890
|
CollapsibleTrigger2.displayName = "CollapsibleTrigger";
|
|
1847
|
-
var CollapsibleContent2 =
|
|
1848
|
-
|
|
1891
|
+
var CollapsibleContent2 = React18__namespace.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1892
|
+
CollapsiblePrimitive__namespace.CollapsibleContent,
|
|
1849
1893
|
{
|
|
1850
1894
|
ref,
|
|
1851
1895
|
"data-slot": "collapsible-content",
|
|
@@ -1859,7 +1903,7 @@ function ChartContainer({
|
|
|
1859
1903
|
width = "100%",
|
|
1860
1904
|
height = 350
|
|
1861
1905
|
}) {
|
|
1862
|
-
return /* @__PURE__ */ jsx(
|
|
1906
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1863
1907
|
"div",
|
|
1864
1908
|
{
|
|
1865
1909
|
"data-slot": "chart-container",
|
|
@@ -1878,7 +1922,7 @@ function ChartTooltipContent({
|
|
|
1878
1922
|
if (!active || !payload || payload.length === 0) {
|
|
1879
1923
|
return null;
|
|
1880
1924
|
}
|
|
1881
|
-
return /* @__PURE__ */ jsxs(
|
|
1925
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1882
1926
|
"div",
|
|
1883
1927
|
{
|
|
1884
1928
|
"data-slot": "chart-tooltip-content",
|
|
@@ -1887,20 +1931,20 @@ function ChartTooltipContent({
|
|
|
1887
1931
|
className
|
|
1888
1932
|
),
|
|
1889
1933
|
children: [
|
|
1890
|
-
label && /* @__PURE__ */ jsx("div", { className: "mb-1 text-xs font-medium text-muted-foreground", children: label }),
|
|
1891
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1", children: payload.map((item, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-xs", children: [
|
|
1892
|
-
/* @__PURE__ */ jsx(
|
|
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(
|
|
1893
1937
|
"div",
|
|
1894
1938
|
{
|
|
1895
1939
|
className: "h-2 w-2 rounded-full",
|
|
1896
1940
|
style: { backgroundColor: item.color }
|
|
1897
1941
|
}
|
|
1898
1942
|
),
|
|
1899
|
-
/* @__PURE__ */ jsxs("span", { className: "font-medium", children: [
|
|
1943
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "font-medium", children: [
|
|
1900
1944
|
item.name,
|
|
1901
1945
|
":"
|
|
1902
1946
|
] }),
|
|
1903
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1947
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1904
1948
|
] }, index)) })
|
|
1905
1949
|
]
|
|
1906
1950
|
}
|
|
@@ -1913,29 +1957,29 @@ function ChartLegendContent({
|
|
|
1913
1957
|
if (!payload || payload.length === 0) {
|
|
1914
1958
|
return null;
|
|
1915
1959
|
}
|
|
1916
|
-
return /* @__PURE__ */ jsx(
|
|
1960
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1917
1961
|
"div",
|
|
1918
1962
|
{
|
|
1919
1963
|
"data-slot": "chart-legend-content",
|
|
1920
1964
|
className: cn("flex items-center justify-center gap-4 text-sm pt-4", className),
|
|
1921
|
-
children: payload.map((item, index) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1922
|
-
/* @__PURE__ */ jsx(
|
|
1965
|
+
children: payload.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1966
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1923
1967
|
"div",
|
|
1924
1968
|
{
|
|
1925
1969
|
className: "h-3 w-3 rounded-sm",
|
|
1926
1970
|
style: { backgroundColor: item.color }
|
|
1927
1971
|
}
|
|
1928
1972
|
),
|
|
1929
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1973
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: item.value })
|
|
1930
1974
|
] }, index))
|
|
1931
1975
|
}
|
|
1932
1976
|
);
|
|
1933
1977
|
}
|
|
1934
|
-
var Select =
|
|
1935
|
-
var SelectGroup =
|
|
1936
|
-
var SelectValue =
|
|
1937
|
-
var SelectTrigger =
|
|
1938
|
-
|
|
1978
|
+
var Select = SelectPrimitive__namespace.Root;
|
|
1979
|
+
var SelectGroup = SelectPrimitive__namespace.Group;
|
|
1980
|
+
var SelectValue = SelectPrimitive__namespace.Value;
|
|
1981
|
+
var SelectTrigger = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1982
|
+
SelectPrimitive__namespace.Trigger,
|
|
1939
1983
|
{
|
|
1940
1984
|
ref,
|
|
1941
1985
|
className: cn(
|
|
@@ -1946,13 +1990,13 @@ var SelectTrigger = React18.forwardRef(({ className, children, ...props }, ref)
|
|
|
1946
1990
|
...props,
|
|
1947
1991
|
children: [
|
|
1948
1992
|
children,
|
|
1949
|
-
/* @__PURE__ */ jsx(
|
|
1993
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
1950
1994
|
]
|
|
1951
1995
|
}
|
|
1952
1996
|
));
|
|
1953
|
-
SelectTrigger.displayName =
|
|
1954
|
-
var SelectScrollUpButton =
|
|
1955
|
-
|
|
1997
|
+
SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
|
|
1998
|
+
var SelectScrollUpButton = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1999
|
+
SelectPrimitive__namespace.ScrollUpButton,
|
|
1956
2000
|
{
|
|
1957
2001
|
ref,
|
|
1958
2002
|
className: cn(
|
|
@@ -1960,12 +2004,12 @@ var SelectScrollUpButton = React18.forwardRef(({ className, ...props }, ref) =>
|
|
|
1960
2004
|
className
|
|
1961
2005
|
),
|
|
1962
2006
|
...props,
|
|
1963
|
-
children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
|
|
2007
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { className: "h-4 w-4" })
|
|
1964
2008
|
}
|
|
1965
2009
|
));
|
|
1966
|
-
SelectScrollUpButton.displayName =
|
|
1967
|
-
var SelectScrollDownButton =
|
|
1968
|
-
|
|
2010
|
+
SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
|
|
2011
|
+
var SelectScrollDownButton = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2012
|
+
SelectPrimitive__namespace.ScrollDownButton,
|
|
1969
2013
|
{
|
|
1970
2014
|
ref,
|
|
1971
2015
|
className: cn(
|
|
@@ -1973,12 +2017,12 @@ var SelectScrollDownButton = React18.forwardRef(({ className, ...props }, ref) =
|
|
|
1973
2017
|
className
|
|
1974
2018
|
),
|
|
1975
2019
|
...props,
|
|
1976
|
-
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
2020
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4" })
|
|
1977
2021
|
}
|
|
1978
2022
|
));
|
|
1979
|
-
SelectScrollDownButton.displayName =
|
|
1980
|
-
var SelectContent =
|
|
1981
|
-
|
|
2023
|
+
SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
|
|
2024
|
+
var SelectContent = React18__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2025
|
+
SelectPrimitive__namespace.Content,
|
|
1982
2026
|
{
|
|
1983
2027
|
ref,
|
|
1984
2028
|
className: cn(
|
|
@@ -1989,9 +2033,9 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
|
|
|
1989
2033
|
position,
|
|
1990
2034
|
...props,
|
|
1991
2035
|
children: [
|
|
1992
|
-
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
1993
|
-
/* @__PURE__ */ jsx(
|
|
1994
|
-
|
|
2036
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectScrollUpButton, {}),
|
|
2037
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2038
|
+
SelectPrimitive__namespace.Viewport,
|
|
1995
2039
|
{
|
|
1996
2040
|
className: cn(
|
|
1997
2041
|
"p-1",
|
|
@@ -2000,22 +2044,22 @@ var SelectContent = React18.forwardRef(({ className, children, position = "poppe
|
|
|
2000
2044
|
children
|
|
2001
2045
|
}
|
|
2002
2046
|
),
|
|
2003
|
-
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
2047
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
|
|
2004
2048
|
]
|
|
2005
2049
|
}
|
|
2006
2050
|
) }));
|
|
2007
|
-
SelectContent.displayName =
|
|
2008
|
-
var SelectLabel =
|
|
2009
|
-
|
|
2051
|
+
SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
|
|
2052
|
+
var SelectLabel = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2053
|
+
SelectPrimitive__namespace.Label,
|
|
2010
2054
|
{
|
|
2011
2055
|
ref,
|
|
2012
2056
|
className: cn("px-2 py-1.5 text-sm font-semibold", className),
|
|
2013
2057
|
...props
|
|
2014
2058
|
}
|
|
2015
2059
|
));
|
|
2016
|
-
SelectLabel.displayName =
|
|
2017
|
-
var SelectItem =
|
|
2018
|
-
|
|
2060
|
+
SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
|
|
2061
|
+
var SelectItem = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2062
|
+
SelectPrimitive__namespace.Item,
|
|
2019
2063
|
{
|
|
2020
2064
|
ref,
|
|
2021
2065
|
className: cn(
|
|
@@ -2024,36 +2068,36 @@ var SelectItem = React18.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2024
2068
|
),
|
|
2025
2069
|
...props,
|
|
2026
2070
|
children: [
|
|
2027
|
-
/* @__PURE__ */ jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
2028
|
-
/* @__PURE__ */ jsx(
|
|
2071
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) }) }),
|
|
2072
|
+
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.ItemText, { children })
|
|
2029
2073
|
]
|
|
2030
2074
|
}
|
|
2031
2075
|
));
|
|
2032
|
-
SelectItem.displayName =
|
|
2033
|
-
var SelectSeparator =
|
|
2034
|
-
|
|
2076
|
+
SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
|
|
2077
|
+
var SelectSeparator = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2078
|
+
SelectPrimitive__namespace.Separator,
|
|
2035
2079
|
{
|
|
2036
2080
|
ref,
|
|
2037
2081
|
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
2038
2082
|
...props
|
|
2039
2083
|
}
|
|
2040
2084
|
));
|
|
2041
|
-
SelectSeparator.displayName =
|
|
2042
|
-
var DropdownMenu = ({ dir, ...props }) => /* @__PURE__ */ jsx(
|
|
2043
|
-
|
|
2085
|
+
SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
|
|
2086
|
+
var DropdownMenu = ({ dir, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2087
|
+
DropdownMenuPrimitive__namespace.Root,
|
|
2044
2088
|
{
|
|
2045
2089
|
...props,
|
|
2046
2090
|
dir
|
|
2047
2091
|
}
|
|
2048
2092
|
);
|
|
2049
2093
|
DropdownMenu.displayName = "DropdownMenu";
|
|
2050
|
-
var DropdownMenuTrigger =
|
|
2051
|
-
var DropdownMenuGroup =
|
|
2052
|
-
var DropdownMenuPortal =
|
|
2053
|
-
var DropdownMenuSub =
|
|
2054
|
-
var DropdownMenuRadioGroup =
|
|
2055
|
-
var DropdownMenuSubTrigger =
|
|
2056
|
-
|
|
2094
|
+
var DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
|
|
2095
|
+
var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
|
|
2096
|
+
var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
|
|
2097
|
+
var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
|
|
2098
|
+
var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
|
|
2099
|
+
var DropdownMenuSubTrigger = React18__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2100
|
+
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
2057
2101
|
{
|
|
2058
2102
|
ref,
|
|
2059
2103
|
className: cn(
|
|
@@ -2064,13 +2108,13 @@ var DropdownMenuSubTrigger = React18.forwardRef(({ className, inset, children, .
|
|
|
2064
2108
|
...props,
|
|
2065
2109
|
children: [
|
|
2066
2110
|
children,
|
|
2067
|
-
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "ms-auto rtl:rotate-180" })
|
|
2111
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ms-auto rtl:rotate-180" })
|
|
2068
2112
|
]
|
|
2069
2113
|
}
|
|
2070
2114
|
));
|
|
2071
|
-
DropdownMenuSubTrigger.displayName =
|
|
2072
|
-
var DropdownMenuSubContent =
|
|
2073
|
-
|
|
2115
|
+
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
|
|
2116
|
+
var DropdownMenuSubContent = React18__namespace.forwardRef(({ className, container, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2117
|
+
DropdownMenuPrimitive__namespace.SubContent,
|
|
2074
2118
|
{
|
|
2075
2119
|
ref,
|
|
2076
2120
|
className: cn(
|
|
@@ -2080,9 +2124,9 @@ var DropdownMenuSubContent = React18.forwardRef(({ className, container, ...prop
|
|
|
2080
2124
|
...props
|
|
2081
2125
|
}
|
|
2082
2126
|
) }));
|
|
2083
|
-
DropdownMenuSubContent.displayName =
|
|
2084
|
-
var DropdownMenuContent =
|
|
2085
|
-
|
|
2127
|
+
DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
|
|
2128
|
+
var DropdownMenuContent = React18__namespace.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2129
|
+
DropdownMenuPrimitive__namespace.Content,
|
|
2086
2130
|
{
|
|
2087
2131
|
ref,
|
|
2088
2132
|
sideOffset,
|
|
@@ -2094,9 +2138,9 @@ var DropdownMenuContent = React18.forwardRef(({ className, sideOffset = 4, conta
|
|
|
2094
2138
|
...props
|
|
2095
2139
|
}
|
|
2096
2140
|
) }));
|
|
2097
|
-
DropdownMenuContent.displayName =
|
|
2098
|
-
var DropdownMenuItem =
|
|
2099
|
-
|
|
2141
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
|
|
2142
|
+
var DropdownMenuItem = React18__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2143
|
+
DropdownMenuPrimitive__namespace.Item,
|
|
2100
2144
|
{
|
|
2101
2145
|
ref,
|
|
2102
2146
|
className: cn(
|
|
@@ -2107,9 +2151,9 @@ var DropdownMenuItem = React18.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2107
2151
|
...props
|
|
2108
2152
|
}
|
|
2109
2153
|
));
|
|
2110
|
-
DropdownMenuItem.displayName =
|
|
2111
|
-
var DropdownMenuCheckboxItem =
|
|
2112
|
-
|
|
2154
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
|
|
2155
|
+
var DropdownMenuCheckboxItem = React18__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2156
|
+
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
2113
2157
|
{
|
|
2114
2158
|
ref,
|
|
2115
2159
|
className: cn(
|
|
@@ -2119,14 +2163,14 @@ var DropdownMenuCheckboxItem = React18.forwardRef(({ className, children, checke
|
|
|
2119
2163
|
checked,
|
|
2120
2164
|
...props,
|
|
2121
2165
|
children: [
|
|
2122
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ 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" }) }) }),
|
|
2123
2167
|
children
|
|
2124
2168
|
]
|
|
2125
2169
|
}
|
|
2126
2170
|
));
|
|
2127
|
-
DropdownMenuCheckboxItem.displayName =
|
|
2128
|
-
var DropdownMenuRadioItem =
|
|
2129
|
-
|
|
2171
|
+
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
|
|
2172
|
+
var DropdownMenuRadioItem = React18__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2173
|
+
DropdownMenuPrimitive__namespace.RadioItem,
|
|
2130
2174
|
{
|
|
2131
2175
|
ref,
|
|
2132
2176
|
className: cn(
|
|
@@ -2135,14 +2179,14 @@ var DropdownMenuRadioItem = React18.forwardRef(({ className, children, ...props
|
|
|
2135
2179
|
),
|
|
2136
2180
|
...props,
|
|
2137
2181
|
children: [
|
|
2138
|
-
/* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ 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" }) }) }),
|
|
2139
2183
|
children
|
|
2140
2184
|
]
|
|
2141
2185
|
}
|
|
2142
2186
|
));
|
|
2143
|
-
DropdownMenuRadioItem.displayName =
|
|
2144
|
-
var DropdownMenuLabel =
|
|
2145
|
-
|
|
2187
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
|
|
2188
|
+
var DropdownMenuLabel = React18__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2189
|
+
DropdownMenuPrimitive__namespace.Label,
|
|
2146
2190
|
{
|
|
2147
2191
|
ref,
|
|
2148
2192
|
className: cn(
|
|
@@ -2153,21 +2197,21 @@ var DropdownMenuLabel = React18.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2153
2197
|
...props
|
|
2154
2198
|
}
|
|
2155
2199
|
));
|
|
2156
|
-
DropdownMenuLabel.displayName =
|
|
2157
|
-
var DropdownMenuSeparator =
|
|
2158
|
-
|
|
2200
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
|
|
2201
|
+
var DropdownMenuSeparator = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2202
|
+
DropdownMenuPrimitive__namespace.Separator,
|
|
2159
2203
|
{
|
|
2160
2204
|
ref,
|
|
2161
2205
|
className: cn("-mx-1 my-1 h-px bg-muted", className),
|
|
2162
2206
|
...props
|
|
2163
2207
|
}
|
|
2164
2208
|
));
|
|
2165
|
-
DropdownMenuSeparator.displayName =
|
|
2209
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.displayName;
|
|
2166
2210
|
var DropdownMenuShortcut = ({
|
|
2167
2211
|
className,
|
|
2168
2212
|
...props
|
|
2169
2213
|
}) => {
|
|
2170
|
-
return /* @__PURE__ */ jsx(
|
|
2214
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2171
2215
|
"span",
|
|
2172
2216
|
{
|
|
2173
2217
|
className: cn("ml-auto text-xs tracking-widest opacity-60", className),
|
|
@@ -2179,33 +2223,33 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
|
2179
2223
|
function ContextMenu({
|
|
2180
2224
|
...props
|
|
2181
2225
|
}) {
|
|
2182
|
-
return /* @__PURE__ */ jsx(
|
|
2226
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Root, { "data-slot": "context-menu", ...props });
|
|
2183
2227
|
}
|
|
2184
2228
|
function ContextMenuTrigger({
|
|
2185
2229
|
...props
|
|
2186
2230
|
}) {
|
|
2187
|
-
return /* @__PURE__ */ jsx(
|
|
2231
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Trigger, { "data-slot": "context-menu-trigger", ...props });
|
|
2188
2232
|
}
|
|
2189
2233
|
function ContextMenuGroup({
|
|
2190
2234
|
...props
|
|
2191
2235
|
}) {
|
|
2192
|
-
return /* @__PURE__ */ jsx(
|
|
2236
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Group, { "data-slot": "context-menu-group", ...props });
|
|
2193
2237
|
}
|
|
2194
2238
|
function ContextMenuPortal({
|
|
2195
2239
|
...props
|
|
2196
2240
|
}) {
|
|
2197
|
-
return /* @__PURE__ */ jsx(
|
|
2241
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Portal, { "data-slot": "context-menu-portal", ...props });
|
|
2198
2242
|
}
|
|
2199
2243
|
function ContextMenuSub({
|
|
2200
2244
|
...props
|
|
2201
2245
|
}) {
|
|
2202
|
-
return /* @__PURE__ */ jsx(
|
|
2246
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Sub, { "data-slot": "context-menu-sub", ...props });
|
|
2203
2247
|
}
|
|
2204
2248
|
function ContextMenuRadioGroup({
|
|
2205
2249
|
...props
|
|
2206
2250
|
}) {
|
|
2207
|
-
return /* @__PURE__ */ jsx(
|
|
2208
|
-
|
|
2251
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2252
|
+
ContextMenuPrimitive__namespace.RadioGroup,
|
|
2209
2253
|
{
|
|
2210
2254
|
"data-slot": "context-menu-radio-group",
|
|
2211
2255
|
...props
|
|
@@ -2218,8 +2262,8 @@ function ContextMenuSubTrigger({
|
|
|
2218
2262
|
children,
|
|
2219
2263
|
...props
|
|
2220
2264
|
}) {
|
|
2221
|
-
return /* @__PURE__ */ jsxs(
|
|
2222
|
-
|
|
2265
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2266
|
+
ContextMenuPrimitive__namespace.SubTrigger,
|
|
2223
2267
|
{
|
|
2224
2268
|
"data-slot": "context-menu-sub-trigger",
|
|
2225
2269
|
"data-inset": inset,
|
|
@@ -2230,7 +2274,7 @@ function ContextMenuSubTrigger({
|
|
|
2230
2274
|
...props,
|
|
2231
2275
|
children: [
|
|
2232
2276
|
children,
|
|
2233
|
-
/* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto" })
|
|
2277
|
+
/* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { className: "ml-auto" })
|
|
2234
2278
|
]
|
|
2235
2279
|
}
|
|
2236
2280
|
);
|
|
@@ -2239,8 +2283,8 @@ function ContextMenuSubContent({
|
|
|
2239
2283
|
className,
|
|
2240
2284
|
...props
|
|
2241
2285
|
}) {
|
|
2242
|
-
return /* @__PURE__ */ jsx(
|
|
2243
|
-
|
|
2286
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2287
|
+
ContextMenuPrimitive__namespace.SubContent,
|
|
2244
2288
|
{
|
|
2245
2289
|
"data-slot": "context-menu-sub-content",
|
|
2246
2290
|
className: cn(
|
|
@@ -2255,8 +2299,8 @@ function ContextMenuContent({
|
|
|
2255
2299
|
className,
|
|
2256
2300
|
...props
|
|
2257
2301
|
}) {
|
|
2258
|
-
return /* @__PURE__ */ jsx(
|
|
2259
|
-
|
|
2302
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ContextMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2303
|
+
ContextMenuPrimitive__namespace.Content,
|
|
2260
2304
|
{
|
|
2261
2305
|
"data-slot": "context-menu-content",
|
|
2262
2306
|
className: cn(
|
|
@@ -2273,8 +2317,8 @@ function ContextMenuItem({
|
|
|
2273
2317
|
variant = "default",
|
|
2274
2318
|
...props
|
|
2275
2319
|
}) {
|
|
2276
|
-
return /* @__PURE__ */ jsx(
|
|
2277
|
-
|
|
2320
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2321
|
+
ContextMenuPrimitive__namespace.Item,
|
|
2278
2322
|
{
|
|
2279
2323
|
"data-slot": "context-menu-item",
|
|
2280
2324
|
"data-inset": inset,
|
|
@@ -2293,8 +2337,8 @@ function ContextMenuCheckboxItem({
|
|
|
2293
2337
|
checked,
|
|
2294
2338
|
...props
|
|
2295
2339
|
}) {
|
|
2296
|
-
return /* @__PURE__ */ jsxs(
|
|
2297
|
-
|
|
2340
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2341
|
+
ContextMenuPrimitive__namespace.CheckboxItem,
|
|
2298
2342
|
{
|
|
2299
2343
|
"data-slot": "context-menu-checkbox-item",
|
|
2300
2344
|
className: cn(
|
|
@@ -2304,7 +2348,7 @@ function ContextMenuCheckboxItem({
|
|
|
2304
2348
|
checked,
|
|
2305
2349
|
...props,
|
|
2306
2350
|
children: [
|
|
2307
|
-
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ 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" }) }) }),
|
|
2308
2352
|
children
|
|
2309
2353
|
]
|
|
2310
2354
|
}
|
|
@@ -2315,8 +2359,8 @@ function ContextMenuRadioItem({
|
|
|
2315
2359
|
children,
|
|
2316
2360
|
...props
|
|
2317
2361
|
}) {
|
|
2318
|
-
return /* @__PURE__ */ jsxs(
|
|
2319
|
-
|
|
2362
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2363
|
+
ContextMenuPrimitive__namespace.RadioItem,
|
|
2320
2364
|
{
|
|
2321
2365
|
"data-slot": "context-menu-radio-item",
|
|
2322
2366
|
className: cn(
|
|
@@ -2325,7 +2369,7 @@ function ContextMenuRadioItem({
|
|
|
2325
2369
|
),
|
|
2326
2370
|
...props,
|
|
2327
2371
|
children: [
|
|
2328
|
-
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ 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" }) }) }),
|
|
2329
2373
|
children
|
|
2330
2374
|
]
|
|
2331
2375
|
}
|
|
@@ -2336,8 +2380,8 @@ function ContextMenuLabel({
|
|
|
2336
2380
|
inset,
|
|
2337
2381
|
...props
|
|
2338
2382
|
}) {
|
|
2339
|
-
return /* @__PURE__ */ jsx(
|
|
2340
|
-
|
|
2383
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2384
|
+
ContextMenuPrimitive__namespace.Label,
|
|
2341
2385
|
{
|
|
2342
2386
|
"data-slot": "context-menu-label",
|
|
2343
2387
|
"data-inset": inset,
|
|
@@ -2353,8 +2397,8 @@ function ContextMenuSeparator({
|
|
|
2353
2397
|
className,
|
|
2354
2398
|
...props
|
|
2355
2399
|
}) {
|
|
2356
|
-
return /* @__PURE__ */ jsx(
|
|
2357
|
-
|
|
2400
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2401
|
+
ContextMenuPrimitive__namespace.Separator,
|
|
2358
2402
|
{
|
|
2359
2403
|
"data-slot": "context-menu-separator",
|
|
2360
2404
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
@@ -2366,7 +2410,7 @@ function ContextMenuShortcut({
|
|
|
2366
2410
|
className,
|
|
2367
2411
|
...props
|
|
2368
2412
|
}) {
|
|
2369
|
-
return /* @__PURE__ */ jsx(
|
|
2413
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2370
2414
|
"span",
|
|
2371
2415
|
{
|
|
2372
2416
|
"data-slot": "context-menu-shortcut",
|
|
@@ -2378,19 +2422,19 @@ function ContextMenuShortcut({
|
|
|
2378
2422
|
}
|
|
2379
2423
|
);
|
|
2380
2424
|
}
|
|
2381
|
-
var IconButton =
|
|
2382
|
-
({ variant = ButtonVariant.Ghost, size = IconButtonSize.Default, className, ...props }, ref) => {
|
|
2425
|
+
var IconButton = React18__namespace.default.forwardRef(
|
|
2426
|
+
({ variant = uikitContracts.ButtonVariant.Ghost, size = uikitContracts.IconButtonSize.Default, className, ...props }, ref) => {
|
|
2383
2427
|
const sizeStyles = {
|
|
2384
|
-
[IconButtonSize.Small]: "h-8 w-8",
|
|
2385
|
-
[IconButtonSize.Default]: "h-9 w-9",
|
|
2386
|
-
[IconButtonSize.Large]: "h-11 w-11"
|
|
2428
|
+
[uikitContracts.IconButtonSize.Small]: "h-8 w-8",
|
|
2429
|
+
[uikitContracts.IconButtonSize.Default]: "h-9 w-9",
|
|
2430
|
+
[uikitContracts.IconButtonSize.Large]: "h-11 w-11"
|
|
2387
2431
|
};
|
|
2388
|
-
return /* @__PURE__ */ jsx(
|
|
2432
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2389
2433
|
Button,
|
|
2390
2434
|
{
|
|
2391
2435
|
ref,
|
|
2392
2436
|
variant,
|
|
2393
|
-
size: ButtonSize.Icon,
|
|
2437
|
+
size: uikitContracts.ButtonSize.Icon,
|
|
2394
2438
|
className: cn(sizeStyles[size], className),
|
|
2395
2439
|
...props
|
|
2396
2440
|
}
|
|
@@ -2398,8 +2442,8 @@ var IconButton = React18__default.forwardRef(
|
|
|
2398
2442
|
}
|
|
2399
2443
|
);
|
|
2400
2444
|
IconButton.displayName = "IconButton";
|
|
2401
|
-
var DropdownButton =
|
|
2402
|
-
return /* @__PURE__ */ jsxs(
|
|
2445
|
+
var DropdownButton = React18__namespace.default.forwardRef(({ children, variant = uikitContracts.ButtonVariant.Outline, className, ...props }, ref) => {
|
|
2446
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2403
2447
|
Button,
|
|
2404
2448
|
{
|
|
2405
2449
|
ref,
|
|
@@ -2407,15 +2451,15 @@ var DropdownButton = React18__default.forwardRef(({ children, variant = ButtonVa
|
|
|
2407
2451
|
className: cn("min-w-40 justify-between rtl:flex-row-reverse", className),
|
|
2408
2452
|
...props,
|
|
2409
2453
|
children: [
|
|
2410
|
-
/* @__PURE__ */ jsx("span", { children }),
|
|
2411
|
-
/* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
|
|
2454
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children }),
|
|
2455
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4" })
|
|
2412
2456
|
]
|
|
2413
2457
|
}
|
|
2414
2458
|
);
|
|
2415
2459
|
});
|
|
2416
2460
|
DropdownButton.displayName = "DropdownButton";
|
|
2417
|
-
var Sidebar =
|
|
2418
|
-
return /* @__PURE__ */ jsx(
|
|
2461
|
+
var Sidebar = React18__namespace.forwardRef(({ collapsed = false, className, children, ...props }, ref) => {
|
|
2462
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2419
2463
|
"aside",
|
|
2420
2464
|
{
|
|
2421
2465
|
ref,
|
|
@@ -2433,7 +2477,7 @@ var Sidebar = React18.forwardRef(({ collapsed = false, className, children, ...p
|
|
|
2433
2477
|
);
|
|
2434
2478
|
});
|
|
2435
2479
|
Sidebar.displayName = "Sidebar";
|
|
2436
|
-
var SidebarContent =
|
|
2480
|
+
var SidebarContent = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2437
2481
|
"div",
|
|
2438
2482
|
{
|
|
2439
2483
|
ref,
|
|
@@ -2447,7 +2491,7 @@ var SidebarContent = React18.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
2447
2491
|
}
|
|
2448
2492
|
));
|
|
2449
2493
|
SidebarContent.displayName = "SidebarContent";
|
|
2450
|
-
var SidebarMenu =
|
|
2494
|
+
var SidebarMenu = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2451
2495
|
"ul",
|
|
2452
2496
|
{
|
|
2453
2497
|
ref,
|
|
@@ -2457,7 +2501,7 @@ var SidebarMenu = React18.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2457
2501
|
}
|
|
2458
2502
|
));
|
|
2459
2503
|
SidebarMenu.displayName = "SidebarMenu";
|
|
2460
|
-
var SidebarMenuItem =
|
|
2504
|
+
var SidebarMenuItem = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2461
2505
|
"li",
|
|
2462
2506
|
{
|
|
2463
2507
|
ref,
|
|
@@ -2467,7 +2511,7 @@ var SidebarMenuItem = React18.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
2467
2511
|
}
|
|
2468
2512
|
));
|
|
2469
2513
|
SidebarMenuItem.displayName = "SidebarMenuItem";
|
|
2470
|
-
var sidebarMenuButtonVariants = cva(
|
|
2514
|
+
var sidebarMenuButtonVariants = classVarianceAuthority.cva(
|
|
2471
2515
|
// HAI3 customization: All sizing uses rem-based Tailwind classes for theme responsiveness
|
|
2472
2516
|
"peer/menu-button flex w-full items-center gap-2 rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>span:last-child]:overflow-hidden [&>svg]:size-5 [&>svg]:shrink-0 text-mainMenu-foreground hover:bg-mainMenu-hover data-[active=true]:bg-mainMenu-selected data-[active=true]:text-white data-[active=true]:font-medium",
|
|
2473
2517
|
{
|
|
@@ -2489,7 +2533,7 @@ var sidebarMenuButtonVariants = cva(
|
|
|
2489
2533
|
}
|
|
2490
2534
|
}
|
|
2491
2535
|
);
|
|
2492
|
-
var SidebarMenuButton =
|
|
2536
|
+
var SidebarMenuButton = React18__namespace.forwardRef(
|
|
2493
2537
|
({
|
|
2494
2538
|
asChild = false,
|
|
2495
2539
|
isActive = false,
|
|
@@ -2499,8 +2543,8 @@ var SidebarMenuButton = React18.forwardRef(
|
|
|
2499
2543
|
className,
|
|
2500
2544
|
...props
|
|
2501
2545
|
}, ref) => {
|
|
2502
|
-
const Comp = asChild ? Slot : "button";
|
|
2503
|
-
return /* @__PURE__ */ jsx(
|
|
2546
|
+
const Comp = asChild ? reactSlot.Slot : "button";
|
|
2547
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2504
2548
|
Comp,
|
|
2505
2549
|
{
|
|
2506
2550
|
ref,
|
|
@@ -2515,7 +2559,7 @@ var SidebarMenuButton = React18.forwardRef(
|
|
|
2515
2559
|
}
|
|
2516
2560
|
);
|
|
2517
2561
|
SidebarMenuButton.displayName = "SidebarMenuButton";
|
|
2518
|
-
var SidebarMenuIcon =
|
|
2562
|
+
var SidebarMenuIcon = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2519
2563
|
"span",
|
|
2520
2564
|
{
|
|
2521
2565
|
ref,
|
|
@@ -2524,7 +2568,7 @@ var SidebarMenuIcon = React18.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
2524
2568
|
}
|
|
2525
2569
|
));
|
|
2526
2570
|
SidebarMenuIcon.displayName = "SidebarMenuIcon";
|
|
2527
|
-
var SidebarMenuLabel =
|
|
2571
|
+
var SidebarMenuLabel = React18__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2528
2572
|
"span",
|
|
2529
2573
|
{
|
|
2530
2574
|
ref,
|
|
@@ -2533,9 +2577,9 @@ var SidebarMenuLabel = React18.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2533
2577
|
}
|
|
2534
2578
|
));
|
|
2535
2579
|
SidebarMenuLabel.displayName = "SidebarMenuLabel";
|
|
2536
|
-
var SidebarHeader =
|
|
2580
|
+
var SidebarHeader = React18__namespace.forwardRef(
|
|
2537
2581
|
({ logo, logoText, collapsed = false, onClick, className, ...props }, ref) => {
|
|
2538
|
-
return /* @__PURE__ */ jsxs(
|
|
2582
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2539
2583
|
"div",
|
|
2540
2584
|
{
|
|
2541
2585
|
ref,
|
|
@@ -2545,36 +2589,36 @@ var SidebarHeader = React18.forwardRef(
|
|
|
2545
2589
|
),
|
|
2546
2590
|
...props,
|
|
2547
2591
|
children: [
|
|
2548
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center flex-1 px-2", children: /* @__PURE__ */ jsxs(SidebarMenuButton, { onClick, tooltip: collapsed ? "Expand menu" : "Collapse menu", children: [
|
|
2549
|
-
logo && /* @__PURE__ */ jsx(SidebarMenuIcon, { children: logo }),
|
|
2550
|
-
logoText && /* @__PURE__ */ jsx(SidebarMenuLabel, { className: "[&>svg]:h-5 [&>svg]:w-auto", children: logoText })
|
|
2592
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center flex-1 px-2", children: /* @__PURE__ */ jsxRuntime.jsxs(SidebarMenuButton, { onClick, tooltip: collapsed ? "Expand menu" : "Collapse menu", children: [
|
|
2593
|
+
logo && /* @__PURE__ */ jsxRuntime.jsx(SidebarMenuIcon, { children: logo }),
|
|
2594
|
+
logoText && /* @__PURE__ */ jsxRuntime.jsx(SidebarMenuLabel, { className: "[&>svg]:h-5 [&>svg]:w-auto", children: logoText })
|
|
2551
2595
|
] }) }),
|
|
2552
|
-
/* @__PURE__ */ jsx("div", { className: "border-b border-mainMenu-border mx-4" })
|
|
2596
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-mainMenu-border mx-4" })
|
|
2553
2597
|
]
|
|
2554
2598
|
}
|
|
2555
2599
|
);
|
|
2556
2600
|
}
|
|
2557
2601
|
);
|
|
2558
2602
|
SidebarHeader.displayName = "SidebarHeader";
|
|
2559
|
-
var UserInfo =
|
|
2603
|
+
var UserInfo = React18__namespace.default.forwardRef(
|
|
2560
2604
|
({ displayName, email, avatarUrl, className, loading }, ref) => {
|
|
2561
2605
|
const getInitials = () => {
|
|
2562
|
-
if (!displayName) return toUpper(email?.[0] || "") || "?";
|
|
2563
|
-
const parts = trim(displayName).split(/\s+/);
|
|
2606
|
+
if (!displayName) return lodash.toUpper(email?.[0] || "") || "?";
|
|
2607
|
+
const parts = lodash.trim(displayName).split(/\s+/);
|
|
2564
2608
|
if (parts.length >= 2) {
|
|
2565
|
-
return toUpper(`${parts[0][0]}${parts[parts.length - 1][0]}`);
|
|
2609
|
+
return lodash.toUpper(`${parts[0][0]}${parts[parts.length - 1][0]}`);
|
|
2566
2610
|
}
|
|
2567
|
-
return toUpper(displayName.slice(0, 2));
|
|
2611
|
+
return lodash.toUpper(displayName.slice(0, 2));
|
|
2568
2612
|
};
|
|
2569
2613
|
const initials = getInitials();
|
|
2570
2614
|
const displayText = displayName || email || "User";
|
|
2571
2615
|
if (loading) {
|
|
2572
|
-
return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex items-center gap-2 text-sm", className), children: [
|
|
2573
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-full" }),
|
|
2574
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" })
|
|
2616
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: cn("flex items-center gap-2 text-sm", className), children: [
|
|
2617
|
+
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-8 w-8 rounded-full" }),
|
|
2618
|
+
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-4 w-24" })
|
|
2575
2619
|
] });
|
|
2576
2620
|
}
|
|
2577
|
-
return /* @__PURE__ */ jsxs(
|
|
2621
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2578
2622
|
"div",
|
|
2579
2623
|
{
|
|
2580
2624
|
ref,
|
|
@@ -2583,11 +2627,11 @@ var UserInfo = React18__default.forwardRef(
|
|
|
2583
2627
|
className
|
|
2584
2628
|
),
|
|
2585
2629
|
children: [
|
|
2586
|
-
/* @__PURE__ */ jsxs(Avatar, { className: "h-8 w-8", children: [
|
|
2587
|
-
avatarUrl && /* @__PURE__ */ jsx(AvatarImage, { src: avatarUrl, alt: displayText }),
|
|
2588
|
-
/* @__PURE__ */ jsx(AvatarFallback, { children: initials })
|
|
2630
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Avatar, { className: "h-8 w-8", children: [
|
|
2631
|
+
avatarUrl && /* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src: avatarUrl, alt: displayText }),
|
|
2632
|
+
/* @__PURE__ */ jsxRuntime.jsx(AvatarFallback, { children: initials })
|
|
2589
2633
|
] }),
|
|
2590
|
-
/* @__PURE__ */ jsx("span", { children: displayText })
|
|
2634
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: displayText })
|
|
2591
2635
|
]
|
|
2592
2636
|
}
|
|
2593
2637
|
);
|
|
@@ -2608,24 +2652,24 @@ var MessageBubble = ({
|
|
|
2608
2652
|
onDelete
|
|
2609
2653
|
}) => {
|
|
2610
2654
|
const isUser = type === "user" /* User */;
|
|
2611
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex gap-4 group ${className}`, children: [
|
|
2612
|
-
/* @__PURE__ */ jsx(Avatar, { className: "h-8 w-8 flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
2655
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex gap-4 group ${className}`, children: [
|
|
2656
|
+
/* @__PURE__ */ jsxRuntime.jsx(Avatar, { className: "h-8 w-8 flex-shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2613
2657
|
AvatarFallback,
|
|
2614
2658
|
{
|
|
2615
2659
|
className: isUser ? "bg-blue-500 text-white" : "bg-green-500 text-white",
|
|
2616
|
-
children: isUser ? /* @__PURE__ */ jsx(User, { size: 16 }) : /* @__PURE__ */ jsx(Bot, { size: 16 })
|
|
2660
|
+
children: isUser ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { size: 16 }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Bot, { size: 16 })
|
|
2617
2661
|
}
|
|
2618
2662
|
) }),
|
|
2619
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2620
|
-
/* @__PURE__ */ jsx("div", { className: "prose prose-sm max-w-none", children: /* @__PURE__ */ jsx("div", { className: "leading-relaxed whitespace-pre-wrap", children: content }) }),
|
|
2621
|
-
(onCopy || onEdit || onDelete) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 mt-2 opacity-0 group-hover:opacity-100 transition-opacity", children: [
|
|
2622
|
-
onCopy && /* @__PURE__ */ jsx(
|
|
2663
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2664
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "leading-relaxed whitespace-pre-wrap", children: content }) }),
|
|
2665
|
+
(onCopy || onEdit || onDelete) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 mt-2 opacity-0 group-hover:opacity-100 transition-opacity", children: [
|
|
2666
|
+
onCopy && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2623
2667
|
"button",
|
|
2624
2668
|
{
|
|
2625
2669
|
onClick: onCopy,
|
|
2626
2670
|
className: "p-1.5 hover:bg-muted rounded-lg transition-colors text-muted-foreground hover:text-foreground",
|
|
2627
2671
|
title: "Copy message",
|
|
2628
|
-
children: /* @__PURE__ */ jsxs(
|
|
2672
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2629
2673
|
"svg",
|
|
2630
2674
|
{
|
|
2631
2675
|
width: "14",
|
|
@@ -2637,20 +2681,20 @@ var MessageBubble = ({
|
|
|
2637
2681
|
strokeLinecap: "round",
|
|
2638
2682
|
strokeLinejoin: "round",
|
|
2639
2683
|
children: [
|
|
2640
|
-
/* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
2641
|
-
/* @__PURE__ */ jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
2684
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
2685
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
2642
2686
|
]
|
|
2643
2687
|
}
|
|
2644
2688
|
)
|
|
2645
2689
|
}
|
|
2646
2690
|
),
|
|
2647
|
-
onEdit && /* @__PURE__ */ jsx(
|
|
2691
|
+
onEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2648
2692
|
"button",
|
|
2649
2693
|
{
|
|
2650
2694
|
onClick: onEdit,
|
|
2651
2695
|
className: "p-1.5 hover:bg-muted rounded-lg transition-colors text-muted-foreground hover:text-foreground",
|
|
2652
2696
|
title: "Edit message",
|
|
2653
|
-
children: /* @__PURE__ */ jsxs(
|
|
2697
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2654
2698
|
"svg",
|
|
2655
2699
|
{
|
|
2656
2700
|
width: "14",
|
|
@@ -2662,20 +2706,20 @@ var MessageBubble = ({
|
|
|
2662
2706
|
strokeLinecap: "round",
|
|
2663
2707
|
strokeLinejoin: "round",
|
|
2664
2708
|
children: [
|
|
2665
|
-
/* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
2666
|
-
/* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
|
|
2709
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
2710
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
|
|
2667
2711
|
]
|
|
2668
2712
|
}
|
|
2669
2713
|
)
|
|
2670
2714
|
}
|
|
2671
2715
|
),
|
|
2672
|
-
onDelete && /* @__PURE__ */ jsx(
|
|
2716
|
+
onDelete && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2673
2717
|
"button",
|
|
2674
2718
|
{
|
|
2675
2719
|
onClick: onDelete,
|
|
2676
2720
|
className: "p-1.5 hover:bg-destructive/10 rounded-lg transition-colors text-muted-foreground hover:text-destructive",
|
|
2677
2721
|
title: "Delete message",
|
|
2678
|
-
children: /* @__PURE__ */ jsxs(
|
|
2722
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2679
2723
|
"svg",
|
|
2680
2724
|
{
|
|
2681
2725
|
width: "14",
|
|
@@ -2687,8 +2731,8 @@ var MessageBubble = ({
|
|
|
2687
2731
|
strokeLinecap: "round",
|
|
2688
2732
|
strokeLinejoin: "round",
|
|
2689
2733
|
children: [
|
|
2690
|
-
/* @__PURE__ */ jsx("polyline", { points: "3 6 5 6 21 6" }),
|
|
2691
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
2734
|
+
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "3 6 5 6 21 6" }),
|
|
2735
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
2692
2736
|
]
|
|
2693
2737
|
}
|
|
2694
2738
|
)
|
|
@@ -2711,7 +2755,7 @@ var ChatInput = ({
|
|
|
2711
2755
|
const handleKeyDown = (e) => {
|
|
2712
2756
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
2713
2757
|
e.preventDefault();
|
|
2714
|
-
if (!disabled && trim(value)) {
|
|
2758
|
+
if (!disabled && lodash.trim(value)) {
|
|
2715
2759
|
onSend();
|
|
2716
2760
|
}
|
|
2717
2761
|
}
|
|
@@ -2720,20 +2764,20 @@ var ChatInput = ({
|
|
|
2720
2764
|
Math.max(value.split("\n").length, 1),
|
|
2721
2765
|
maxRows
|
|
2722
2766
|
);
|
|
2723
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex items-end gap-2 ${className}`, children: [
|
|
2724
|
-
onAttachFile && /* @__PURE__ */ jsx(
|
|
2767
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex items-end gap-2 ${className}`, children: [
|
|
2768
|
+
onAttachFile && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2725
2769
|
Button,
|
|
2726
2770
|
{
|
|
2727
|
-
variant: ButtonVariant.Ghost,
|
|
2728
|
-
size: ButtonSize.Icon,
|
|
2771
|
+
variant: uikitContracts.ButtonVariant.Ghost,
|
|
2772
|
+
size: uikitContracts.ButtonSize.Icon,
|
|
2729
2773
|
onClick: onAttachFile,
|
|
2730
2774
|
disabled,
|
|
2731
2775
|
className: "flex-shrink-0",
|
|
2732
2776
|
"aria-label": "Attach file",
|
|
2733
|
-
children: /* @__PURE__ */ jsx(Paperclip, { size: 20 })
|
|
2777
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Paperclip, { size: 20 })
|
|
2734
2778
|
}
|
|
2735
2779
|
),
|
|
2736
|
-
/* @__PURE__ */ jsx(
|
|
2780
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2737
2781
|
"textarea",
|
|
2738
2782
|
{
|
|
2739
2783
|
value,
|
|
@@ -2745,14 +2789,14 @@ var ChatInput = ({
|
|
|
2745
2789
|
className: "flex-1 resize-none rounded-lg border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"
|
|
2746
2790
|
}
|
|
2747
2791
|
),
|
|
2748
|
-
/* @__PURE__ */ jsx(
|
|
2792
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2749
2793
|
Button,
|
|
2750
2794
|
{
|
|
2751
2795
|
onClick: onSend,
|
|
2752
|
-
disabled: disabled || !trim(value),
|
|
2796
|
+
disabled: disabled || !lodash.trim(value),
|
|
2753
2797
|
className: "flex-shrink-0",
|
|
2754
2798
|
"aria-label": "Send message",
|
|
2755
|
-
children: /* @__PURE__ */ jsx(Send, { size: 20 })
|
|
2799
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Send, { size: 20 })
|
|
2756
2800
|
}
|
|
2757
2801
|
)
|
|
2758
2802
|
] });
|
|
@@ -2769,38 +2813,38 @@ var ThreadList = ({
|
|
|
2769
2813
|
className = ""
|
|
2770
2814
|
}) => {
|
|
2771
2815
|
if (loading) {
|
|
2772
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex flex-col h-full ${className}`, children: [
|
|
2773
|
-
/* @__PURE__ */ jsxs("div", { className: "p-4 border-b", children: [
|
|
2774
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-full mb-3" }),
|
|
2775
|
-
/* @__PURE__ */ jsx(Skeleton, { className: "h-10 w-full" })
|
|
2816
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-col h-full ${className}`, children: [
|
|
2817
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 border-b", children: [
|
|
2818
|
+
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-8 w-full mb-3" }),
|
|
2819
|
+
/* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-10 w-full" })
|
|
2776
2820
|
] }),
|
|
2777
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto p-2", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ jsx(Skeleton, { className: "h-16 w-full mb-2" }, i)) })
|
|
2821
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto p-2", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-16 w-full mb-2" }, i)) })
|
|
2778
2822
|
] });
|
|
2779
2823
|
}
|
|
2780
|
-
return /* @__PURE__ */ jsxs("div", { className: `flex flex-col h-full ${className}`, children: [
|
|
2781
|
-
/* @__PURE__ */ jsxs("div", { className: "p-4 border-b", children: [
|
|
2782
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-3", children: [
|
|
2783
|
-
/* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: "Recent Chats" }),
|
|
2784
|
-
/* @__PURE__ */ jsx(
|
|
2824
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-col h-full ${className}`, children: [
|
|
2825
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-4 border-b", children: [
|
|
2826
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-3", children: [
|
|
2827
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold", children: "Recent Chats" }),
|
|
2828
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2785
2829
|
Button,
|
|
2786
2830
|
{
|
|
2787
|
-
variant: ButtonVariant.Ghost,
|
|
2788
|
-
size: ButtonSize.Icon,
|
|
2831
|
+
variant: uikitContracts.ButtonVariant.Ghost,
|
|
2832
|
+
size: uikitContracts.ButtonSize.Icon,
|
|
2789
2833
|
onClick: onNewThread,
|
|
2790
2834
|
"aria-label": "New chat",
|
|
2791
|
-
children: /* @__PURE__ */ jsx(Plus, { size: 16 })
|
|
2835
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { size: 16 })
|
|
2792
2836
|
}
|
|
2793
2837
|
)
|
|
2794
2838
|
] }),
|
|
2795
|
-
onSearchChange && /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
2796
|
-
/* @__PURE__ */ jsx(
|
|
2797
|
-
Search,
|
|
2839
|
+
onSearchChange && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
2840
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2841
|
+
lucideReact.Search,
|
|
2798
2842
|
{
|
|
2799
2843
|
size: 16,
|
|
2800
2844
|
className: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground"
|
|
2801
2845
|
}
|
|
2802
2846
|
),
|
|
2803
|
-
/* @__PURE__ */ jsx(
|
|
2847
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2804
2848
|
"input",
|
|
2805
2849
|
{
|
|
2806
2850
|
type: "text",
|
|
@@ -2812,20 +2856,20 @@ var ThreadList = ({
|
|
|
2812
2856
|
)
|
|
2813
2857
|
] })
|
|
2814
2858
|
] }),
|
|
2815
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: threads.length === 0 ? /* @__PURE__ */ jsx("div", { className: "p-4 text-center text-muted-foreground text-sm", children: "No chats yet. Start a new conversation!" }) : threads.map((thread) => /* @__PURE__ */ jsx(
|
|
2859
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children: threads.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4 text-center text-muted-foreground text-sm", children: "No chats yet. Start a new conversation!" }) : threads.map((thread) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2816
2860
|
"div",
|
|
2817
2861
|
{
|
|
2818
2862
|
onClick: () => onThreadSelect(thread.id),
|
|
2819
2863
|
className: `p-3 border-b cursor-pointer transition-colors hover:bg-muted/50 ${selectedThreadId === thread.id ? "bg-muted" : ""}`,
|
|
2820
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
2821
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2822
|
-
/* @__PURE__ */ jsxs("h3", { className: "font-medium text-sm truncate mb-1", children: [
|
|
2864
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
2865
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
2866
|
+
/* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "font-medium text-sm truncate mb-1", children: [
|
|
2823
2867
|
thread.title,
|
|
2824
|
-
thread.isTemporary && /* @__PURE__ */ jsx("span", { className: "ml-2 text-xs text-muted-foreground", children: "(Temporary)" })
|
|
2868
|
+
thread.isTemporary && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2 text-xs text-muted-foreground", children: "(Temporary)" })
|
|
2825
2869
|
] }),
|
|
2826
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground truncate", children: thread.preview })
|
|
2870
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground truncate", children: thread.preview })
|
|
2827
2871
|
] }),
|
|
2828
|
-
onDeleteThread && /* @__PURE__ */ jsx(
|
|
2872
|
+
onDeleteThread && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2829
2873
|
"button",
|
|
2830
2874
|
{
|
|
2831
2875
|
onClick: (e) => {
|
|
@@ -2834,7 +2878,7 @@ var ThreadList = ({
|
|
|
2834
2878
|
},
|
|
2835
2879
|
className: "p-1 opacity-0 group-hover:opacity-100 hover:bg-destructive/10 rounded transition-opacity text-muted-foreground hover:text-destructive",
|
|
2836
2880
|
"aria-label": "Delete thread",
|
|
2837
|
-
children: /* @__PURE__ */ jsxs(
|
|
2881
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2838
2882
|
"svg",
|
|
2839
2883
|
{
|
|
2840
2884
|
width: "14",
|
|
@@ -2846,8 +2890,8 @@ var ThreadList = ({
|
|
|
2846
2890
|
strokeLinecap: "round",
|
|
2847
2891
|
strokeLinejoin: "round",
|
|
2848
2892
|
children: [
|
|
2849
|
-
/* @__PURE__ */ jsx("polyline", { points: "3 6 5 6 21 6" }),
|
|
2850
|
-
/* @__PURE__ */ jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
2893
|
+
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "3 6 5 6 21 6" }),
|
|
2894
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
2851
2895
|
]
|
|
2852
2896
|
}
|
|
2853
2897
|
)
|
|
@@ -2861,7 +2905,7 @@ var ThreadList = ({
|
|
|
2861
2905
|
};
|
|
2862
2906
|
var MENU_ICON_ID = "menu";
|
|
2863
2907
|
var MenuIcon = ({ className = "" }) => {
|
|
2864
|
-
return /* @__PURE__ */ jsxs(
|
|
2908
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2865
2909
|
"svg",
|
|
2866
2910
|
{
|
|
2867
2911
|
className,
|
|
@@ -2874,16 +2918,16 @@ var MenuIcon = ({ className = "" }) => {
|
|
|
2874
2918
|
strokeLinecap: "round",
|
|
2875
2919
|
strokeLinejoin: "round",
|
|
2876
2920
|
children: [
|
|
2877
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
2878
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
2879
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
|
2921
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
2922
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
2923
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
|
2880
2924
|
]
|
|
2881
2925
|
}
|
|
2882
2926
|
);
|
|
2883
2927
|
};
|
|
2884
2928
|
var CLOSE_ICON_ID = "close";
|
|
2885
2929
|
var CloseIcon = ({ className = "" }) => {
|
|
2886
|
-
return /* @__PURE__ */ jsxs(
|
|
2930
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2887
2931
|
"svg",
|
|
2888
2932
|
{
|
|
2889
2933
|
className,
|
|
@@ -2896,8 +2940,8 @@ var CloseIcon = ({ className = "" }) => {
|
|
|
2896
2940
|
strokeLinecap: "round",
|
|
2897
2941
|
strokeLinejoin: "round",
|
|
2898
2942
|
children: [
|
|
2899
|
-
/* @__PURE__ */ jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
2900
|
-
/* @__PURE__ */ jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
2943
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
2944
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
2901
2945
|
]
|
|
2902
2946
|
}
|
|
2903
2947
|
);
|
|
@@ -2970,6 +3014,386 @@ var applyTheme = (theme, themeName) => {
|
|
|
2970
3014
|
}
|
|
2971
3015
|
};
|
|
2972
3016
|
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
3017
|
+
Object.defineProperty(exports, "ButtonSize", {
|
|
3018
|
+
enumerable: true,
|
|
3019
|
+
get: function () { return uikitContracts.ButtonSize; }
|
|
3020
|
+
});
|
|
3021
|
+
Object.defineProperty(exports, "ButtonVariant", {
|
|
3022
|
+
enumerable: true,
|
|
3023
|
+
get: function () { return uikitContracts.ButtonVariant; }
|
|
3024
|
+
});
|
|
3025
|
+
Object.defineProperty(exports, "IconButtonSize", {
|
|
3026
|
+
enumerable: true,
|
|
3027
|
+
get: function () { return uikitContracts.IconButtonSize; }
|
|
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
|
+
});
|
|
3209
|
+
exports.Accordion = Accordion;
|
|
3210
|
+
exports.AccordionContent = AccordionContent;
|
|
3211
|
+
exports.AccordionItem = AccordionItem;
|
|
3212
|
+
exports.AccordionTrigger = AccordionTrigger;
|
|
3213
|
+
exports.AspectRatio = AspectRatio;
|
|
3214
|
+
exports.Avatar = Avatar;
|
|
3215
|
+
exports.AvatarFallback = AvatarFallback;
|
|
3216
|
+
exports.AvatarImage = AvatarImage;
|
|
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;
|
|
3225
|
+
exports.Button = Button;
|
|
3226
|
+
exports.CLOSE_ICON_ID = CLOSE_ICON_ID;
|
|
3227
|
+
exports.Card = Card;
|
|
3228
|
+
exports.CardContent = CardContent;
|
|
3229
|
+
exports.CardDescription = CardDescription;
|
|
3230
|
+
exports.CardFooter = CardFooter;
|
|
3231
|
+
exports.CardHeader = CardHeader;
|
|
3232
|
+
exports.CardTitle = CardTitle;
|
|
3233
|
+
exports.Carousel = Carousel;
|
|
3234
|
+
exports.CarouselContent = CarouselContent;
|
|
3235
|
+
exports.CarouselItem = CarouselItem;
|
|
3236
|
+
exports.CarouselNext = CarouselNext;
|
|
3237
|
+
exports.CarouselPrevious = CarouselPrevious;
|
|
3238
|
+
exports.ChartContainer = ChartContainer;
|
|
3239
|
+
exports.ChartLegendContent = ChartLegendContent;
|
|
3240
|
+
exports.ChartTooltipContent = ChartTooltipContent;
|
|
3241
|
+
exports.ChatInput = ChatInput;
|
|
3242
|
+
exports.Checkbox = Checkbox;
|
|
3243
|
+
exports.CloseIcon = CloseIcon;
|
|
3244
|
+
exports.Collapsible = Collapsible;
|
|
3245
|
+
exports.CollapsibleContent = CollapsibleContent2;
|
|
3246
|
+
exports.CollapsibleTrigger = CollapsibleTrigger2;
|
|
3247
|
+
exports.ContextMenu = ContextMenu;
|
|
3248
|
+
exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem;
|
|
3249
|
+
exports.ContextMenuContent = ContextMenuContent;
|
|
3250
|
+
exports.ContextMenuGroup = ContextMenuGroup;
|
|
3251
|
+
exports.ContextMenuItem = ContextMenuItem;
|
|
3252
|
+
exports.ContextMenuLabel = ContextMenuLabel;
|
|
3253
|
+
exports.ContextMenuPortal = ContextMenuPortal;
|
|
3254
|
+
exports.ContextMenuRadioGroup = ContextMenuRadioGroup;
|
|
3255
|
+
exports.ContextMenuRadioItem = ContextMenuRadioItem;
|
|
3256
|
+
exports.ContextMenuSeparator = ContextMenuSeparator;
|
|
3257
|
+
exports.ContextMenuShortcut = ContextMenuShortcut;
|
|
3258
|
+
exports.ContextMenuSub = ContextMenuSub;
|
|
3259
|
+
exports.ContextMenuSubContent = ContextMenuSubContent;
|
|
3260
|
+
exports.ContextMenuSubTrigger = ContextMenuSubTrigger;
|
|
3261
|
+
exports.ContextMenuTrigger = ContextMenuTrigger;
|
|
3262
|
+
exports.Dialog = Dialog;
|
|
3263
|
+
exports.DialogClose = DialogClose;
|
|
3264
|
+
exports.DialogContent = DialogContent;
|
|
3265
|
+
exports.DialogDescription = DialogDescription;
|
|
3266
|
+
exports.DialogFooter = DialogFooter;
|
|
3267
|
+
exports.DialogHeader = DialogHeader;
|
|
3268
|
+
exports.DialogOverlay = DialogOverlay;
|
|
3269
|
+
exports.DialogPortal = DialogPortal;
|
|
3270
|
+
exports.DialogTitle = DialogTitle;
|
|
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;
|
|
3282
|
+
exports.DropdownButton = DropdownButton;
|
|
3283
|
+
exports.DropdownMenu = DropdownMenu;
|
|
3284
|
+
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
3285
|
+
exports.DropdownMenuContent = DropdownMenuContent;
|
|
3286
|
+
exports.DropdownMenuGroup = DropdownMenuGroup;
|
|
3287
|
+
exports.DropdownMenuItem = DropdownMenuItem;
|
|
3288
|
+
exports.DropdownMenuLabel = DropdownMenuLabel;
|
|
3289
|
+
exports.DropdownMenuPortal = DropdownMenuPortal;
|
|
3290
|
+
exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
|
|
3291
|
+
exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
|
|
3292
|
+
exports.DropdownMenuSeparator = DropdownMenuSeparator;
|
|
3293
|
+
exports.DropdownMenuShortcut = DropdownMenuShortcut;
|
|
3294
|
+
exports.DropdownMenuSub = DropdownMenuSub;
|
|
3295
|
+
exports.DropdownMenuSubContent = DropdownMenuSubContent;
|
|
3296
|
+
exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
|
|
3297
|
+
exports.DropdownMenuTrigger = DropdownMenuTrigger;
|
|
3298
|
+
exports.Header = Header;
|
|
3299
|
+
exports.HoverCard = HoverCard;
|
|
3300
|
+
exports.HoverCardContent = HoverCardContent;
|
|
3301
|
+
exports.HoverCardTrigger = HoverCardTrigger;
|
|
3302
|
+
exports.IconButton = IconButton;
|
|
3303
|
+
exports.Input = Input;
|
|
3304
|
+
exports.MENU_ICON_ID = MENU_ICON_ID;
|
|
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;
|
|
3322
|
+
exports.MessageBubble = MessageBubble;
|
|
3323
|
+
exports.MessageType = MessageType;
|
|
3324
|
+
exports.NavigationMenu = NavigationMenu;
|
|
3325
|
+
exports.NavigationMenuContent = NavigationMenuContent;
|
|
3326
|
+
exports.NavigationMenuIndicator = NavigationMenuIndicator;
|
|
3327
|
+
exports.NavigationMenuItem = NavigationMenuItem;
|
|
3328
|
+
exports.NavigationMenuLink = NavigationMenuLink;
|
|
3329
|
+
exports.NavigationMenuList = NavigationMenuList;
|
|
3330
|
+
exports.NavigationMenuTrigger = NavigationMenuTrigger;
|
|
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;
|
|
3339
|
+
exports.Popover = Popover;
|
|
3340
|
+
exports.PopoverAnchor = PopoverAnchor;
|
|
3341
|
+
exports.PopoverContent = PopoverContent;
|
|
3342
|
+
exports.PopoverTrigger = PopoverTrigger;
|
|
3343
|
+
exports.Progress = Progress;
|
|
3344
|
+
exports.ResizableHandle = ResizableHandle;
|
|
3345
|
+
exports.ResizablePanel = ResizablePanel;
|
|
3346
|
+
exports.ResizablePanelGroup = ResizablePanelGroup;
|
|
3347
|
+
exports.ScrollArea = ScrollArea;
|
|
3348
|
+
exports.ScrollBar = ScrollBar;
|
|
3349
|
+
exports.Select = Select;
|
|
3350
|
+
exports.SelectContent = SelectContent;
|
|
3351
|
+
exports.SelectGroup = SelectGroup;
|
|
3352
|
+
exports.SelectItem = SelectItem;
|
|
3353
|
+
exports.SelectLabel = SelectLabel;
|
|
3354
|
+
exports.SelectScrollDownButton = SelectScrollDownButton;
|
|
3355
|
+
exports.SelectScrollUpButton = SelectScrollUpButton;
|
|
3356
|
+
exports.SelectSeparator = SelectSeparator;
|
|
3357
|
+
exports.SelectTrigger = SelectTrigger;
|
|
3358
|
+
exports.SelectValue = SelectValue;
|
|
3359
|
+
exports.Separator = Separator2;
|
|
3360
|
+
exports.Sheet = Sheet;
|
|
3361
|
+
exports.SheetClose = SheetClose;
|
|
3362
|
+
exports.SheetContent = SheetContent;
|
|
3363
|
+
exports.SheetDescription = SheetDescription;
|
|
3364
|
+
exports.SheetFooter = SheetFooter;
|
|
3365
|
+
exports.SheetHeader = SheetHeader;
|
|
3366
|
+
exports.SheetOverlay = SheetOverlay;
|
|
3367
|
+
exports.SheetPortal = SheetPortal;
|
|
3368
|
+
exports.SheetTitle = SheetTitle;
|
|
3369
|
+
exports.SheetTrigger = SheetTrigger;
|
|
3370
|
+
exports.Sidebar = Sidebar;
|
|
3371
|
+
exports.SidebarContent = SidebarContent;
|
|
3372
|
+
exports.SidebarHeader = SidebarHeader;
|
|
3373
|
+
exports.SidebarMenu = SidebarMenu;
|
|
3374
|
+
exports.SidebarMenuButton = SidebarMenuButton;
|
|
3375
|
+
exports.SidebarMenuIcon = SidebarMenuIcon;
|
|
3376
|
+
exports.SidebarMenuItem = SidebarMenuItem;
|
|
3377
|
+
exports.SidebarMenuLabel = SidebarMenuLabel;
|
|
3378
|
+
exports.Skeleton = Skeleton;
|
|
3379
|
+
exports.Slider = Slider;
|
|
3380
|
+
exports.SliderRange = SliderRange;
|
|
3381
|
+
exports.SliderThumb = SliderThumb;
|
|
3382
|
+
exports.SliderTrack = SliderTrack;
|
|
3383
|
+
exports.Spinner = Spinner;
|
|
3384
|
+
exports.Switch = Switch;
|
|
3385
|
+
exports.Tabs = Tabs;
|
|
3386
|
+
exports.TabsContent = TabsContent;
|
|
3387
|
+
exports.TabsList = TabsList;
|
|
3388
|
+
exports.TabsTrigger = TabsTrigger;
|
|
3389
|
+
exports.Textarea = Textarea;
|
|
3390
|
+
exports.ThreadList = ThreadList;
|
|
3391
|
+
exports.Tooltip = Tooltip;
|
|
3392
|
+
exports.TooltipContent = TooltipContent;
|
|
3393
|
+
exports.TooltipProvider = TooltipProvider;
|
|
3394
|
+
exports.TooltipTrigger = TooltipTrigger;
|
|
3395
|
+
exports.UserInfo = UserInfo;
|
|
3396
|
+
exports.applyTheme = applyTheme;
|
|
3397
|
+
exports.badgeVariants = badgeVariants;
|
|
3398
|
+
//# sourceMappingURL=index.cjs.map
|
|
3399
|
+
//# sourceMappingURL=index.cjs.map
|