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