@vuer-ai/vuer-uikit 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GM6ZAFCM.mjs → chunk-2QJF6YMB.mjs} +5 -15
- package/dist/{chunk-OLIRY7YF.mjs → chunk-47WYS4WO.mjs} +107 -109
- package/dist/{chunk-MP3L7ZVI.mjs → chunk-56JBJR5O.mjs} +64 -42
- package/dist/{chunk-AQWYFBXL.js → chunk-CCNGF3D2.js} +1 -4
- package/dist/{chunk-DNDWCHEB.js → chunk-CZBGKVGH.js} +93 -35
- package/dist/{chunk-MFQ3ZHFJ.mjs → chunk-D6KVE3E3.mjs} +28 -43
- package/dist/{chunk-B4C6WQKH.js → chunk-EW34OO4H.js} +63 -41
- package/dist/{chunk-FA7B4T24.mjs → chunk-EXM36UYZ.mjs} +2 -16
- package/dist/{chunk-WU66I4PW.mjs → chunk-HQX4LDOI.mjs} +71 -35
- package/dist/{chunk-EAZWH4U4.js → chunk-J2ZRCEKZ.js} +107 -109
- package/dist/{chunk-JBUN2HUK.mjs → chunk-JCUMV4F7.mjs} +1 -4
- package/dist/{chunk-OE5HF5A6.mjs → chunk-LD654LL2.mjs} +4 -4
- package/dist/{chunk-XSREJYEX.js → chunk-LKFZSASJ.js} +28 -43
- package/dist/{chunk-S7UWM46Z.mjs → chunk-MFXAWZIK.mjs} +15 -15
- package/dist/{chunk-V2DDMNVD.js → chunk-NC6NIC5C.js} +16 -16
- package/dist/{chunk-Y4EFNE6Q.mjs → chunk-NKNUMZJL.mjs} +22 -14
- package/dist/{chunk-6CABRTQF.js → chunk-PBQSATSN.js} +71 -35
- package/dist/{chunk-2EMN6VM2.js → chunk-QF5IKMHU.js} +5 -15
- package/dist/{chunk-F4BR4V3S.mjs → chunk-QUTY5MFV.mjs} +1 -1
- package/dist/{chunk-IEA6DQ7J.js → chunk-R3SHGA4V.js} +22 -14
- package/dist/{chunk-HUHNQPQH.js → chunk-RRP5SWCP.js} +1 -1
- package/dist/{chunk-F2S3PF25.mjs → chunk-SHQFIJDC.mjs} +11 -9
- package/dist/{chunk-OCNRBXK4.mjs → chunk-TZLILQLV.mjs} +73 -36
- package/dist/{chunk-6VRLWVXF.mjs → chunk-VN2N7EAO.mjs} +2 -2
- package/dist/{chunk-PKDNA72Q.js → chunk-W3AIC7FW.js} +2 -16
- package/dist/{chunk-HTU7SD4O.js → chunk-WCK3EIS2.js} +4 -4
- package/dist/{chunk-QPGCDLOI.js → chunk-X2LJ5T2W.js} +11 -9
- package/dist/{chunk-XLIICBKP.js → chunk-XWC6N2UQ.js} +4 -4
- package/dist/highlight-cursor/enhanced-components.js +8 -8
- package/dist/highlight-cursor/enhanced-components.mjs +3 -3
- package/dist/highlight-cursor/index.js +8 -8
- package/dist/highlight-cursor/index.mjs +3 -3
- package/dist/index.js +163 -79
- package/dist/index.mjs +14 -14
- package/dist/ui/collapsible.js +4 -4
- package/dist/ui/collapsible.mjs +1 -1
- package/dist/ui/dropdown.js +16 -16
- package/dist/ui/dropdown.mjs +1 -1
- package/dist/ui/index.js +157 -73
- package/dist/ui/index.mjs +13 -13
- package/dist/ui/input-numbers.js +2 -2
- package/dist/ui/input-numbers.mjs +1 -1
- package/dist/ui/modal.js +11 -11
- package/dist/ui/modal.mjs +1 -1
- package/dist/ui/popover.js +5 -5
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/select.js +95 -11
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/sheet.js +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/slider.js +2 -2
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/tabs.js +5 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/timeline.js +3 -3
- package/dist/ui/timeline.mjs +2 -2
- package/dist/ui/tree-view-v2.js +2 -2
- package/dist/ui/tree-view-v2.mjs +1 -1
- package/dist/ui/tree-view.js +2 -2
- package/dist/ui/tree-view.mjs +1 -1
- package/dist/ui/version-badge.js +2 -2
- package/dist/ui/version-badge.mjs +1 -1
- package/package.json +1 -1
- package/src/hooks/useDocument.tsx +3 -3
- package/src/hooks/useWindow.tsx +3 -3
- package/src/index.css +1 -1
- package/src/ui/collapsible.tsx +16 -7
- package/src/ui/dropdown.tsx +65 -40
- package/src/ui/input-numbers.tsx +84 -37
- package/src/ui/modal.tsx +2 -10
- package/src/ui/popover.tsx +1 -4
- package/src/ui/sheet.tsx +9 -20
- package/src/ui/slider.tsx +97 -98
- package/src/ui/tabs.tsx +2 -10
- package/src/ui/timeline.tsx +15 -15
- package/src/ui/tree-view-v2.tsx +4 -4
- package/src/ui/tree-view.tsx +8 -2
|
@@ -34,7 +34,10 @@ function SelectFallback({ ...props }) {
|
|
|
34
34
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "select", ...props });
|
|
35
35
|
}
|
|
36
36
|
var Select = chunkQG7ZF6TO_js.createClientOnlyComponent(SelectRoot, SelectFallback);
|
|
37
|
-
function SelectGroupRoot({
|
|
37
|
+
function SelectGroupRoot({
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}) {
|
|
38
41
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
42
|
SelectPrimitive__namespace.Group,
|
|
40
43
|
{
|
|
@@ -45,14 +48,7 @@ function SelectGroupRoot({ className, ...props }) {
|
|
|
45
48
|
);
|
|
46
49
|
}
|
|
47
50
|
function SelectGroupFallback({ className, ...props }) {
|
|
48
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
"data-slot": "select-group",
|
|
52
|
-
className: chunk7KYAICHB_js.cn("space-y-xs", className),
|
|
53
|
-
...props
|
|
54
|
-
}
|
|
55
|
-
);
|
|
51
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "select-group", className: chunk7KYAICHB_js.cn("space-y-xs", className), ...props });
|
|
56
52
|
}
|
|
57
53
|
var SelectGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(SelectGroupRoot, SelectGroupFallback);
|
|
58
54
|
function SelectValueRoot({ ...props }) {
|
|
@@ -209,11 +205,7 @@ function SelectContentRoot({
|
|
|
209
205
|
}
|
|
210
206
|
) });
|
|
211
207
|
}
|
|
212
|
-
function SelectContentFallback({
|
|
213
|
-
className,
|
|
214
|
-
children,
|
|
215
|
-
...props
|
|
216
|
-
}) {
|
|
208
|
+
function SelectContentFallback({ className, children, ...props }) {
|
|
217
209
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
218
210
|
"div",
|
|
219
211
|
{
|
|
@@ -238,7 +230,10 @@ function SelectContentFallback({
|
|
|
238
230
|
);
|
|
239
231
|
}
|
|
240
232
|
var SelectContent = chunkQG7ZF6TO_js.createClientOnlyComponent(SelectContentRoot, SelectContentFallback);
|
|
241
|
-
function SelectLabelRoot({
|
|
233
|
+
function SelectLabelRoot({
|
|
234
|
+
className,
|
|
235
|
+
...props
|
|
236
|
+
}) {
|
|
242
237
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
243
238
|
SelectPrimitive__namespace.Label,
|
|
244
239
|
{
|
|
@@ -259,7 +254,14 @@ function SelectLabelFallback({ className, ...props }) {
|
|
|
259
254
|
);
|
|
260
255
|
}
|
|
261
256
|
var SelectLabel = chunkQG7ZF6TO_js.createClientOnlyComponent(SelectLabelRoot, SelectLabelFallback);
|
|
262
|
-
function SelectItemRoot({
|
|
257
|
+
function SelectItemRoot({
|
|
258
|
+
className,
|
|
259
|
+
children,
|
|
260
|
+
prefix,
|
|
261
|
+
suffix,
|
|
262
|
+
disabled,
|
|
263
|
+
...props
|
|
264
|
+
}) {
|
|
263
265
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
264
266
|
SelectPrimitive__namespace.Item,
|
|
265
267
|
{
|
|
@@ -332,7 +334,16 @@ function SelectItemRoot({ className, children, prefix, suffix, disabled, ...prop
|
|
|
332
334
|
}
|
|
333
335
|
);
|
|
334
336
|
}
|
|
335
|
-
function SelectItemFallback({
|
|
337
|
+
function SelectItemFallback({
|
|
338
|
+
className,
|
|
339
|
+
children,
|
|
340
|
+
prefix,
|
|
341
|
+
suffix,
|
|
342
|
+
disabled,
|
|
343
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
344
|
+
value,
|
|
345
|
+
...props
|
|
346
|
+
}) {
|
|
336
347
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
337
348
|
"div",
|
|
338
349
|
{
|
|
@@ -352,15 +363,41 @@ function SelectItemFallback({ className, children, prefix, suffix, disabled, ...
|
|
|
352
363
|
"text-uk-xs",
|
|
353
364
|
"outline-hidden",
|
|
354
365
|
"select-none",
|
|
355
|
-
"focus:bg-bg-secondary"
|
|
366
|
+
"focus:bg-bg-secondary",
|
|
367
|
+
disabled && "text-bg-quaternary pointer-events-none"
|
|
356
368
|
],
|
|
357
369
|
className
|
|
358
370
|
),
|
|
359
371
|
...props,
|
|
360
372
|
children: [
|
|
361
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
373
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
+
"p",
|
|
375
|
+
{
|
|
376
|
+
className: chunk7KYAICHB_js.cn([
|
|
377
|
+
"text-text-tertiary",
|
|
378
|
+
"flex",
|
|
379
|
+
"shrink-0",
|
|
380
|
+
"gap-0.5",
|
|
381
|
+
disabled && "text-bg-quaternary"
|
|
382
|
+
]),
|
|
383
|
+
children: prefix
|
|
384
|
+
}
|
|
385
|
+
),
|
|
362
386
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children }),
|
|
363
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
387
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
388
|
+
"p",
|
|
389
|
+
{
|
|
390
|
+
className: chunk7KYAICHB_js.cn(
|
|
391
|
+
"text-text-tertiary",
|
|
392
|
+
"ml-auto",
|
|
393
|
+
"flex",
|
|
394
|
+
"shrink-0",
|
|
395
|
+
"gap-0.5",
|
|
396
|
+
disabled && "text-bg-quaternary"
|
|
397
|
+
),
|
|
398
|
+
children: suffix
|
|
399
|
+
}
|
|
400
|
+
)
|
|
364
401
|
]
|
|
365
402
|
}
|
|
366
403
|
);
|
|
@@ -379,10 +416,7 @@ function SelectSeparatorRoot({
|
|
|
379
416
|
}
|
|
380
417
|
);
|
|
381
418
|
}
|
|
382
|
-
function SelectSeparatorFallback({
|
|
383
|
-
className,
|
|
384
|
-
...props
|
|
385
|
-
}) {
|
|
419
|
+
function SelectSeparatorFallback({ className, ...props }) {
|
|
386
420
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
387
421
|
"div",
|
|
388
422
|
{
|
|
@@ -392,7 +426,10 @@ function SelectSeparatorFallback({
|
|
|
392
426
|
}
|
|
393
427
|
);
|
|
394
428
|
}
|
|
395
|
-
var SelectSeparator = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
429
|
+
var SelectSeparator = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
430
|
+
SelectSeparatorRoot,
|
|
431
|
+
SelectSeparatorFallback
|
|
432
|
+
);
|
|
396
433
|
function SelectScrollUpButtonRoot({
|
|
397
434
|
className,
|
|
398
435
|
...props
|
|
@@ -407,10 +444,7 @@ function SelectScrollUpButtonRoot({
|
|
|
407
444
|
}
|
|
408
445
|
);
|
|
409
446
|
}
|
|
410
|
-
function SelectScrollUpButtonFallback({
|
|
411
|
-
className,
|
|
412
|
-
...props
|
|
413
|
-
}) {
|
|
447
|
+
function SelectScrollUpButtonFallback({ className, ...props }) {
|
|
414
448
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
415
449
|
"div",
|
|
416
450
|
{
|
|
@@ -421,7 +455,10 @@ function SelectScrollUpButtonFallback({
|
|
|
421
455
|
}
|
|
422
456
|
);
|
|
423
457
|
}
|
|
424
|
-
var SelectScrollUpButton = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
458
|
+
var SelectScrollUpButton = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
459
|
+
SelectScrollUpButtonRoot,
|
|
460
|
+
SelectScrollUpButtonFallback
|
|
461
|
+
);
|
|
425
462
|
function SelectScrollDownButtonRoot({
|
|
426
463
|
className,
|
|
427
464
|
...props
|
|
@@ -436,10 +473,7 @@ function SelectScrollDownButtonRoot({
|
|
|
436
473
|
}
|
|
437
474
|
);
|
|
438
475
|
}
|
|
439
|
-
function SelectScrollDownButtonFallback({
|
|
440
|
-
className,
|
|
441
|
-
...props
|
|
442
|
-
}) {
|
|
476
|
+
function SelectScrollDownButtonFallback({ className, ...props }) {
|
|
443
477
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
444
478
|
"div",
|
|
445
479
|
{
|
|
@@ -450,15 +484,39 @@ function SelectScrollDownButtonFallback({
|
|
|
450
484
|
}
|
|
451
485
|
);
|
|
452
486
|
}
|
|
453
|
-
var SelectScrollDownButton = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
487
|
+
var SelectScrollDownButton = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
488
|
+
SelectScrollDownButtonRoot,
|
|
489
|
+
SelectScrollDownButtonFallback
|
|
490
|
+
);
|
|
454
491
|
|
|
455
492
|
exports.Select = Select;
|
|
456
493
|
exports.SelectContent = SelectContent;
|
|
494
|
+
exports.SelectContentFallback = SelectContentFallback;
|
|
495
|
+
exports.SelectContentRoot = SelectContentRoot;
|
|
496
|
+
exports.SelectFallback = SelectFallback;
|
|
457
497
|
exports.SelectGroup = SelectGroup;
|
|
498
|
+
exports.SelectGroupFallback = SelectGroupFallback;
|
|
499
|
+
exports.SelectGroupRoot = SelectGroupRoot;
|
|
458
500
|
exports.SelectItem = SelectItem;
|
|
501
|
+
exports.SelectItemFallback = SelectItemFallback;
|
|
502
|
+
exports.SelectItemRoot = SelectItemRoot;
|
|
459
503
|
exports.SelectLabel = SelectLabel;
|
|
504
|
+
exports.SelectLabelFallback = SelectLabelFallback;
|
|
505
|
+
exports.SelectLabelRoot = SelectLabelRoot;
|
|
506
|
+
exports.SelectRoot = SelectRoot;
|
|
460
507
|
exports.SelectScrollDownButton = SelectScrollDownButton;
|
|
508
|
+
exports.SelectScrollDownButtonFallback = SelectScrollDownButtonFallback;
|
|
509
|
+
exports.SelectScrollDownButtonRoot = SelectScrollDownButtonRoot;
|
|
461
510
|
exports.SelectScrollUpButton = SelectScrollUpButton;
|
|
511
|
+
exports.SelectScrollUpButtonFallback = SelectScrollUpButtonFallback;
|
|
512
|
+
exports.SelectScrollUpButtonRoot = SelectScrollUpButtonRoot;
|
|
462
513
|
exports.SelectSeparator = SelectSeparator;
|
|
514
|
+
exports.SelectSeparatorFallback = SelectSeparatorFallback;
|
|
515
|
+
exports.SelectSeparatorRoot = SelectSeparatorRoot;
|
|
463
516
|
exports.SelectTrigger = SelectTrigger;
|
|
517
|
+
exports.SelectTriggerFallback = SelectTriggerFallback;
|
|
518
|
+
exports.SelectTriggerRoot = SelectTriggerRoot;
|
|
464
519
|
exports.SelectValue = SelectValue;
|
|
520
|
+
exports.SelectValueFallback = SelectValueFallback;
|
|
521
|
+
exports.SelectValueRoot = SelectValueRoot;
|
|
522
|
+
exports.selectTriggerVariants = selectTriggerVariants;
|
|
@@ -48,14 +48,7 @@ function ModalOverlayRoot({ className, ...props }) {
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
function ModalOverlayFallback({ className, ...props }) {
|
|
51
|
-
return /* @__PURE__ */ jsx(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
"data-slot": "modal-overlay",
|
|
55
|
-
className: cn(modalOverlayVariants(), className),
|
|
56
|
-
...props
|
|
57
|
-
}
|
|
58
|
-
);
|
|
51
|
+
return /* @__PURE__ */ jsx("div", { "data-slot": "modal-overlay", className: cn(modalOverlayVariants(), className), ...props });
|
|
59
52
|
}
|
|
60
53
|
var ModalOverlay = createClientOnlyComponent(ModalOverlayRoot, ModalOverlayFallback);
|
|
61
54
|
var modalContentVariants = cva([
|
|
@@ -133,41 +126,33 @@ function ModalContentFallback({
|
|
|
133
126
|
showCloseButton = true,
|
|
134
127
|
...props
|
|
135
128
|
}) {
|
|
136
|
-
return /* @__PURE__ */ jsxs(
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/* @__PURE__ */ jsx(XIcon, {}),
|
|
164
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
)
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
);
|
|
129
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "modal-content", className: cn(modalContentVariants(), className), ...props, children: [
|
|
130
|
+
children,
|
|
131
|
+
showCloseButton && /* @__PURE__ */ jsxs(
|
|
132
|
+
"button",
|
|
133
|
+
{
|
|
134
|
+
"data-slot": "modal-close",
|
|
135
|
+
className: cn(
|
|
136
|
+
"absolute",
|
|
137
|
+
"right-[16px]",
|
|
138
|
+
"top-[16px]",
|
|
139
|
+
"w-[16px]",
|
|
140
|
+
"h-[16px]",
|
|
141
|
+
"rounded-uk-sm",
|
|
142
|
+
"cursor-pointer",
|
|
143
|
+
"hover:text-icon-highlight",
|
|
144
|
+
"text-icon-primary",
|
|
145
|
+
"flex",
|
|
146
|
+
"items-center",
|
|
147
|
+
"justify-center"
|
|
148
|
+
),
|
|
149
|
+
children: [
|
|
150
|
+
/* @__PURE__ */ jsx(XIcon, {}),
|
|
151
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
] });
|
|
171
156
|
}
|
|
172
157
|
var ModalContent = createClientOnlyComponent(ModalContentRoot, ModalContentFallback);
|
|
173
158
|
function ModalHeader({ className, ...props }) {
|
|
@@ -39,8 +39,13 @@ function DropdownMenuPortalRoot({ ...props }) {
|
|
|
39
39
|
function DropdownMenuPortalFallback({ children }) {
|
|
40
40
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-portal", children });
|
|
41
41
|
}
|
|
42
|
-
var DropdownMenuPortal = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
43
|
-
|
|
42
|
+
var DropdownMenuPortal = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
43
|
+
DropdownMenuPortalRoot,
|
|
44
|
+
DropdownMenuPortalFallback
|
|
45
|
+
);
|
|
46
|
+
function DropdownMenuTriggerRoot({
|
|
47
|
+
...props
|
|
48
|
+
}) {
|
|
44
49
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
45
50
|
DropdownMenuPrimitive__namespace.Trigger,
|
|
46
51
|
{
|
|
@@ -50,17 +55,28 @@ function DropdownMenuTriggerRoot({ ...props }) {
|
|
|
50
55
|
}
|
|
51
56
|
);
|
|
52
57
|
}
|
|
53
|
-
function DropdownMenuTriggerFallback({
|
|
58
|
+
function DropdownMenuTriggerFallback({
|
|
59
|
+
asChild,
|
|
60
|
+
children,
|
|
61
|
+
...props
|
|
62
|
+
}) {
|
|
63
|
+
if (asChild) {
|
|
64
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
65
|
+
}
|
|
54
66
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55
67
|
"button",
|
|
56
68
|
{
|
|
57
69
|
"data-slot": "dropdown-menu-trigger",
|
|
58
70
|
className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
|
|
59
|
-
...props
|
|
71
|
+
...props,
|
|
72
|
+
children
|
|
60
73
|
}
|
|
61
74
|
);
|
|
62
75
|
}
|
|
63
|
-
var DropdownMenuTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
76
|
+
var DropdownMenuTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
77
|
+
DropdownMenuTriggerRoot,
|
|
78
|
+
DropdownMenuTriggerFallback
|
|
79
|
+
);
|
|
64
80
|
function DropdownMenuContentRoot({
|
|
65
81
|
className,
|
|
66
82
|
sideOffset = 4,
|
|
@@ -102,10 +118,7 @@ function DropdownMenuContentRoot({
|
|
|
102
118
|
}
|
|
103
119
|
) });
|
|
104
120
|
}
|
|
105
|
-
function DropdownMenuContentFallback({
|
|
106
|
-
className,
|
|
107
|
-
...props
|
|
108
|
-
}) {
|
|
121
|
+
function DropdownMenuContentFallback({ className, ...props }) {
|
|
109
122
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
110
123
|
"div",
|
|
111
124
|
{
|
|
@@ -129,7 +142,10 @@ function DropdownMenuContentFallback({
|
|
|
129
142
|
}
|
|
130
143
|
);
|
|
131
144
|
}
|
|
132
|
-
var DropdownMenuContent = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
145
|
+
var DropdownMenuContent = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
146
|
+
DropdownMenuContentRoot,
|
|
147
|
+
DropdownMenuContentFallback
|
|
148
|
+
);
|
|
133
149
|
function DropdownMenuGroupRoot({
|
|
134
150
|
className,
|
|
135
151
|
...props
|
|
@@ -143,20 +159,13 @@ function DropdownMenuGroupRoot({
|
|
|
143
159
|
}
|
|
144
160
|
);
|
|
145
161
|
}
|
|
146
|
-
function DropdownMenuGroupFallback({
|
|
147
|
-
className,
|
|
148
|
-
...props
|
|
149
|
-
}) {
|
|
150
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
151
|
-
"div",
|
|
152
|
-
{
|
|
153
|
-
"data-slot": "dropdown-menu-group",
|
|
154
|
-
className: chunk7KYAICHB_js.cn("space-y-xs", className),
|
|
155
|
-
...props
|
|
156
|
-
}
|
|
157
|
-
);
|
|
162
|
+
function DropdownMenuGroupFallback({ className, ...props }) {
|
|
163
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-group", className: chunk7KYAICHB_js.cn("space-y-xs", className), ...props });
|
|
158
164
|
}
|
|
159
|
-
var DropdownMenuGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
165
|
+
var DropdownMenuGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
166
|
+
DropdownMenuGroupRoot,
|
|
167
|
+
DropdownMenuGroupFallback
|
|
168
|
+
);
|
|
160
169
|
function DropdownMenuItemRoot({
|
|
161
170
|
className,
|
|
162
171
|
inset,
|
|
@@ -335,18 +344,22 @@ function DropdownMenuCheckboxItemFallback({
|
|
|
335
344
|
}
|
|
336
345
|
);
|
|
337
346
|
}
|
|
338
|
-
var DropdownMenuCheckboxItem = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
347
|
+
var DropdownMenuCheckboxItem = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
348
|
+
DropdownMenuCheckboxItemRoot,
|
|
349
|
+
DropdownMenuCheckboxItemFallback
|
|
350
|
+
);
|
|
339
351
|
function DropdownMenuRadioGroupRoot({
|
|
340
352
|
...props
|
|
341
353
|
}) {
|
|
342
354
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
|
|
343
355
|
}
|
|
344
|
-
function DropdownMenuRadioGroupFallback({
|
|
345
|
-
...props
|
|
346
|
-
}) {
|
|
356
|
+
function DropdownMenuRadioGroupFallback({ ...props }) {
|
|
347
357
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-radio-group", ...props });
|
|
348
358
|
}
|
|
349
|
-
var DropdownMenuRadioGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
359
|
+
var DropdownMenuRadioGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
360
|
+
DropdownMenuRadioGroupRoot,
|
|
361
|
+
DropdownMenuRadioGroupFallback
|
|
362
|
+
);
|
|
350
363
|
function DropdownMenuRadioItemRoot({
|
|
351
364
|
className,
|
|
352
365
|
children,
|
|
@@ -434,7 +447,10 @@ function DropdownMenuRadioItemFallback({
|
|
|
434
447
|
}
|
|
435
448
|
);
|
|
436
449
|
}
|
|
437
|
-
var DropdownMenuRadioItem = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
450
|
+
var DropdownMenuRadioItem = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
451
|
+
DropdownMenuRadioItemRoot,
|
|
452
|
+
DropdownMenuRadioItemFallback
|
|
453
|
+
);
|
|
438
454
|
function DropdownMenuLabelRoot({
|
|
439
455
|
className,
|
|
440
456
|
inset,
|
|
@@ -465,7 +481,10 @@ function DropdownMenuLabelFallback({
|
|
|
465
481
|
}
|
|
466
482
|
);
|
|
467
483
|
}
|
|
468
|
-
var DropdownMenuLabel = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
484
|
+
var DropdownMenuLabel = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
485
|
+
DropdownMenuLabelRoot,
|
|
486
|
+
DropdownMenuLabelFallback
|
|
487
|
+
);
|
|
469
488
|
function DropdownMenuSeparatorRoot({
|
|
470
489
|
className,
|
|
471
490
|
...props
|
|
@@ -479,10 +498,7 @@ function DropdownMenuSeparatorRoot({
|
|
|
479
498
|
}
|
|
480
499
|
);
|
|
481
500
|
}
|
|
482
|
-
function DropdownMenuSeparatorFallback({
|
|
483
|
-
className,
|
|
484
|
-
...props
|
|
485
|
-
}) {
|
|
501
|
+
function DropdownMenuSeparatorFallback({ className, ...props }) {
|
|
486
502
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
487
503
|
"div",
|
|
488
504
|
{
|
|
@@ -492,7 +508,10 @@ function DropdownMenuSeparatorFallback({
|
|
|
492
508
|
}
|
|
493
509
|
);
|
|
494
510
|
}
|
|
495
|
-
var DropdownMenuSeparator = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
511
|
+
var DropdownMenuSeparator = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
512
|
+
DropdownMenuSeparatorRoot,
|
|
513
|
+
DropdownMenuSeparatorFallback
|
|
514
|
+
);
|
|
496
515
|
function DropdownMenuShortcut({ className, ...props }) {
|
|
497
516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
498
517
|
"span",
|
|
@@ -598,7 +617,10 @@ function DropdownMenuSubTriggerFallback({
|
|
|
598
617
|
}
|
|
599
618
|
);
|
|
600
619
|
}
|
|
601
|
-
var DropdownMenuSubTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
620
|
+
var DropdownMenuSubTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
621
|
+
DropdownMenuSubTriggerRoot,
|
|
622
|
+
DropdownMenuSubTriggerFallback
|
|
623
|
+
);
|
|
602
624
|
function DropdownMenuSubContentRoot({
|
|
603
625
|
className,
|
|
604
626
|
...props
|
|
@@ -636,10 +658,7 @@ function DropdownMenuSubContentRoot({
|
|
|
636
658
|
}
|
|
637
659
|
);
|
|
638
660
|
}
|
|
639
|
-
function DropdownMenuSubContentFallback({
|
|
640
|
-
className,
|
|
641
|
-
...props
|
|
642
|
-
}) {
|
|
661
|
+
function DropdownMenuSubContentFallback({ className, ...props }) {
|
|
643
662
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
644
663
|
"div",
|
|
645
664
|
{
|
|
@@ -661,7 +680,10 @@ function DropdownMenuSubContentFallback({
|
|
|
661
680
|
}
|
|
662
681
|
);
|
|
663
682
|
}
|
|
664
|
-
var DropdownMenuSubContent = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
683
|
+
var DropdownMenuSubContent = chunkQG7ZF6TO_js.createClientOnlyComponent(
|
|
684
|
+
DropdownMenuSubContentRoot,
|
|
685
|
+
DropdownMenuSubContentFallback
|
|
686
|
+
);
|
|
665
687
|
|
|
666
688
|
exports.DropdownMenu = DropdownMenu;
|
|
667
689
|
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
@@ -25,14 +25,7 @@ function TabsRoot({ className, size = "base", ...props }) {
|
|
|
25
25
|
) });
|
|
26
26
|
}
|
|
27
27
|
function TabsFallback({ className, size = "base", ...props }) {
|
|
28
|
-
return /* @__PURE__ */ jsx(TabsContext.Provider, { value: { size }, children: /* @__PURE__ */ jsx(
|
|
29
|
-
"div",
|
|
30
|
-
{
|
|
31
|
-
"data-slot": "tabs",
|
|
32
|
-
className: cn("flex w-full flex-col", className),
|
|
33
|
-
...props
|
|
34
|
-
}
|
|
35
|
-
) });
|
|
28
|
+
return /* @__PURE__ */ jsx(TabsContext.Provider, { value: { size }, children: /* @__PURE__ */ jsx("div", { "data-slot": "tabs", className: cn("flex w-full flex-col", className), ...props }) });
|
|
36
29
|
}
|
|
37
30
|
var Tabs = createClientOnlyComponent(TabsRoot, TabsFallback);
|
|
38
31
|
var tabsListVariants = cva(["inline-flex", "items-center", "justify-center"], {
|
|
@@ -142,14 +135,7 @@ function TabsContentRoot({ className, ...props }) {
|
|
|
142
135
|
);
|
|
143
136
|
}
|
|
144
137
|
function TabsContentFallback({ className, ...props }) {
|
|
145
|
-
return /* @__PURE__ */ jsx(
|
|
146
|
-
"div",
|
|
147
|
-
{
|
|
148
|
-
"data-slot": "tabs-content",
|
|
149
|
-
className: cn("flex-1 outline-none", className),
|
|
150
|
-
...props
|
|
151
|
-
}
|
|
152
|
-
);
|
|
138
|
+
return /* @__PURE__ */ jsx("div", { "data-slot": "tabs-content", className: cn("flex-1 outline-none", className), ...props });
|
|
153
139
|
}
|
|
154
140
|
var TabsContent = createClientOnlyComponent(TabsContentRoot, TabsContentFallback);
|
|
155
141
|
|