@vuer-ai/vuer-uikit 0.0.31 → 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-ALTGL7MF.mjs → chunk-56JBJR5O.mjs} +7 -2
- package/dist/{chunk-Q73WG234.js → chunk-EW34OO4H.js} +6 -1
- package/dist/{chunk-MGHV5V6D.mjs → chunk-QUTY5MFV.mjs} +1 -1
- package/dist/{chunk-X5JZF4L3.js → chunk-RRP5SWCP.js} +1 -1
- package/dist/index.js +18 -18
- package/dist/index.mjs +2 -2
- package/dist/ui/dropdown.js +16 -16
- package/dist/ui/dropdown.mjs +1 -1
- package/dist/ui/index.js +18 -18
- package/dist/ui/index.mjs +2 -2
- package/dist/ui/version-badge.js +2 -2
- package/dist/ui/version-badge.mjs +1 -1
- package/package.json +1 -1
- package/src/ui/dropdown.tsx +8 -1
|
@@ -2,7 +2,7 @@ import { createClientOnlyComponent } from './chunk-4F2GSF2T.mjs';
|
|
|
2
2
|
import { cn } from './chunk-WM2VP7MI.mjs';
|
|
3
3
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
4
|
import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
|
|
5
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
function DropdownMenuRoot({ ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
@@ -35,14 +35,19 @@ function DropdownMenuTriggerRoot({
|
|
|
35
35
|
}
|
|
36
36
|
function DropdownMenuTriggerFallback({
|
|
37
37
|
asChild,
|
|
38
|
+
children,
|
|
38
39
|
...props
|
|
39
40
|
}) {
|
|
41
|
+
if (asChild) {
|
|
42
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
43
|
+
}
|
|
40
44
|
return /* @__PURE__ */ jsx(
|
|
41
45
|
"button",
|
|
42
46
|
{
|
|
43
47
|
"data-slot": "dropdown-menu-trigger",
|
|
44
48
|
className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
|
|
45
|
-
...props
|
|
49
|
+
...props,
|
|
50
|
+
children
|
|
46
51
|
}
|
|
47
52
|
);
|
|
48
53
|
}
|
|
@@ -57,14 +57,19 @@ function DropdownMenuTriggerRoot({
|
|
|
57
57
|
}
|
|
58
58
|
function DropdownMenuTriggerFallback({
|
|
59
59
|
asChild,
|
|
60
|
+
children,
|
|
60
61
|
...props
|
|
61
62
|
}) {
|
|
63
|
+
if (asChild) {
|
|
64
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
65
|
+
}
|
|
62
66
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
63
67
|
"button",
|
|
64
68
|
{
|
|
65
69
|
"data-slot": "dropdown-menu-trigger",
|
|
66
70
|
className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
|
|
67
|
-
...props
|
|
71
|
+
...props,
|
|
72
|
+
children
|
|
68
73
|
}
|
|
69
74
|
);
|
|
70
75
|
}
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var chunkQJR6MCTR_js = require('./chunk-QJR6MCTR.js');
|
|
|
6
6
|
var chunkFSFUZ7Y6_js = require('./chunk-FSFUZ7Y6.js');
|
|
7
7
|
var chunkEAN5SZYQ_js = require('./chunk-EAN5SZYQ.js');
|
|
8
8
|
var chunkR3SHGA4V_js = require('./chunk-R3SHGA4V.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkRRP5SWCP_js = require('./chunk-RRP5SWCP.js');
|
|
10
10
|
var chunk3ZFILFNB_js = require('./chunk-3ZFILFNB.js');
|
|
11
11
|
var chunkEMHRYI5O_js = require('./chunk-EMHRYI5O.js');
|
|
12
12
|
var chunkBXYVNNXU_js = require('./chunk-BXYVNNXU.js');
|
|
@@ -17,7 +17,7 @@ var chunkNC6NIC5C_js = require('./chunk-NC6NIC5C.js');
|
|
|
17
17
|
var chunkXWC6N2UQ_js = require('./chunk-XWC6N2UQ.js');
|
|
18
18
|
var chunkER6XHUS7_js = require('./chunk-ER6XHUS7.js');
|
|
19
19
|
var chunkJWFD5H5L_js = require('./chunk-JWFD5H5L.js');
|
|
20
|
-
var
|
|
20
|
+
var chunkEW34OO4H_js = require('./chunk-EW34OO4H.js');
|
|
21
21
|
var chunkPBQSATSN_js = require('./chunk-PBQSATSN.js');
|
|
22
22
|
var chunkP6K4746M_js = require('./chunk-P6K4746M.js');
|
|
23
23
|
var chunkLKFZSASJ_js = require('./chunk-LKFZSASJ.js');
|
|
@@ -77,7 +77,7 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "VersionBadge", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkRRP5SWCP_js.VersionBadge; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
83
83
|
enumerable: true,
|
|
@@ -205,63 +205,63 @@ Object.defineProperty(exports, "DrawerTrigger", {
|
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenu; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuCheckboxItem; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuContent; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuGroup; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuItem; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuLabel; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuPortal; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioGroup; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioItem; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSeparator; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuShortcut; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSub; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubContent; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubTrigger; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuTrigger; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "InputNumbers", {
|
|
267
267
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export { Toaster, toast } from './chunk-EAZQH4IX.mjs';
|
|
|
4
4
|
export { ToggleGroup, ToggleGroupItem } from './chunk-G6CSH3FC.mjs';
|
|
5
5
|
export { Toggle, toggleVariants } from './chunk-K6R7H7R2.mjs';
|
|
6
6
|
export { TreeView } from './chunk-NKNUMZJL.mjs';
|
|
7
|
-
export { VersionBadge } from './chunk-
|
|
7
|
+
export { VersionBadge } from './chunk-QUTY5MFV.mjs';
|
|
8
8
|
export { ThemeProvider, useTheme } from './chunk-4QERYDMC.mjs';
|
|
9
9
|
export { ThemeScript } from './chunk-YIBD2FEV.mjs';
|
|
10
10
|
export { RadioGroup, RadioGroupItem } from './chunk-EL4FTB5J.mjs';
|
|
@@ -15,7 +15,7 @@ export { Timeline } from './chunk-MFXAWZIK.mjs';
|
|
|
15
15
|
export { TreeView as TreeViewV2 } from './chunk-LD654LL2.mjs';
|
|
16
16
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-TCN3UDQE.mjs';
|
|
17
17
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-RMAMN6FL.mjs';
|
|
18
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-
|
|
18
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-56JBJR5O.mjs';
|
|
19
19
|
export { InputNumbers } from './chunk-HQX4LDOI.mjs';
|
|
20
20
|
export { Layout } from './chunk-CBNIBUFP.mjs';
|
|
21
21
|
export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from './chunk-D6KVE3E3.mjs';
|
package/dist/ui/dropdown.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEW34OO4H_js = require('../chunk-EW34OO4H.js');
|
|
4
4
|
require('../chunk-T4N7UHZ7.js');
|
|
5
5
|
require('../chunk-QG7ZF6TO.js');
|
|
6
6
|
require('../chunk-OASPTOVZ.js');
|
|
@@ -12,61 +12,61 @@ require('../chunk-7KYAICHB.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenu; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuCheckboxItem; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuContent; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuGroup; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuItem; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuLabel; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuPortal; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioGroup; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioItem; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSeparator; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuShortcut; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSub; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubContent; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubTrigger; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuTrigger; }
|
|
72
72
|
});
|
package/dist/ui/dropdown.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-
|
|
1
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-56JBJR5O.mjs';
|
|
2
2
|
import '../chunk-LXDQ4KMN.mjs';
|
|
3
3
|
import '../chunk-4F2GSF2T.mjs';
|
|
4
4
|
import '../chunk-QG5Z4C65.mjs';
|
package/dist/ui/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var chunkQJR6MCTR_js = require('../chunk-QJR6MCTR.js');
|
|
|
6
6
|
var chunkFSFUZ7Y6_js = require('../chunk-FSFUZ7Y6.js');
|
|
7
7
|
var chunkEAN5SZYQ_js = require('../chunk-EAN5SZYQ.js');
|
|
8
8
|
var chunkR3SHGA4V_js = require('../chunk-R3SHGA4V.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkRRP5SWCP_js = require('../chunk-RRP5SWCP.js');
|
|
10
10
|
var chunk3ZFILFNB_js = require('../chunk-3ZFILFNB.js');
|
|
11
11
|
var chunkEMHRYI5O_js = require('../chunk-EMHRYI5O.js');
|
|
12
12
|
var chunkBXYVNNXU_js = require('../chunk-BXYVNNXU.js');
|
|
@@ -17,7 +17,7 @@ var chunkNC6NIC5C_js = require('../chunk-NC6NIC5C.js');
|
|
|
17
17
|
var chunkXWC6N2UQ_js = require('../chunk-XWC6N2UQ.js');
|
|
18
18
|
var chunkER6XHUS7_js = require('../chunk-ER6XHUS7.js');
|
|
19
19
|
var chunkJWFD5H5L_js = require('../chunk-JWFD5H5L.js');
|
|
20
|
-
var
|
|
20
|
+
var chunkEW34OO4H_js = require('../chunk-EW34OO4H.js');
|
|
21
21
|
var chunkPBQSATSN_js = require('../chunk-PBQSATSN.js');
|
|
22
22
|
var chunkP6K4746M_js = require('../chunk-P6K4746M.js');
|
|
23
23
|
var chunkLKFZSASJ_js = require('../chunk-LKFZSASJ.js');
|
|
@@ -72,7 +72,7 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "VersionBadge", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkRRP5SWCP_js.VersionBadge; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
78
78
|
enumerable: true,
|
|
@@ -200,63 +200,63 @@ Object.defineProperty(exports, "DrawerTrigger", {
|
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenu; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuCheckboxItem; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuContent; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuGroup; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuItem; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuLabel; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuPortal; }
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioGroup; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuRadioItem; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
238
238
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSeparator; }
|
|
240
240
|
});
|
|
241
241
|
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
242
242
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuShortcut; }
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSub; }
|
|
248
248
|
});
|
|
249
249
|
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
250
250
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubContent; }
|
|
252
252
|
});
|
|
253
253
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
254
254
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuSubTrigger; }
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkEW34OO4H_js.DropdownMenuTrigger; }
|
|
260
260
|
});
|
|
261
261
|
Object.defineProperty(exports, "InputNumbers", {
|
|
262
262
|
enumerable: true,
|
package/dist/ui/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export { Toaster, toast } from '../chunk-EAZQH4IX.mjs';
|
|
|
4
4
|
export { ToggleGroup, ToggleGroupItem } from '../chunk-G6CSH3FC.mjs';
|
|
5
5
|
export { Toggle, toggleVariants } from '../chunk-K6R7H7R2.mjs';
|
|
6
6
|
export { TreeView } from '../chunk-NKNUMZJL.mjs';
|
|
7
|
-
export { VersionBadge } from '../chunk-
|
|
7
|
+
export { VersionBadge } from '../chunk-QUTY5MFV.mjs';
|
|
8
8
|
export { ThemeProvider, useTheme } from '../chunk-4QERYDMC.mjs';
|
|
9
9
|
export { ThemeScript } from '../chunk-YIBD2FEV.mjs';
|
|
10
10
|
export { RadioGroup, RadioGroupItem } from '../chunk-EL4FTB5J.mjs';
|
|
@@ -15,7 +15,7 @@ export { Timeline } from '../chunk-MFXAWZIK.mjs';
|
|
|
15
15
|
export { TreeView as TreeViewV2 } from '../chunk-LD654LL2.mjs';
|
|
16
16
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../chunk-TCN3UDQE.mjs';
|
|
17
17
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from '../chunk-RMAMN6FL.mjs';
|
|
18
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-
|
|
18
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-56JBJR5O.mjs';
|
|
19
19
|
export { InputNumbers } from '../chunk-HQX4LDOI.mjs';
|
|
20
20
|
export { Layout } from '../chunk-CBNIBUFP.mjs';
|
|
21
21
|
export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from '../chunk-D6KVE3E3.mjs';
|
package/dist/ui/version-badge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRRP5SWCP_js = require('../chunk-RRP5SWCP.js');
|
|
4
4
|
require('../chunk-ILJK43VJ.js');
|
|
5
5
|
require('../chunk-T4N7UHZ7.js');
|
|
6
6
|
require('../chunk-QG7ZF6TO.js');
|
|
@@ -13,5 +13,5 @@ require('../chunk-7KYAICHB.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "VersionBadge", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkRRP5SWCP_js.VersionBadge; }
|
|
17
17
|
});
|
package/package.json
CHANGED
package/src/ui/dropdown.tsx
CHANGED
|
@@ -41,14 +41,21 @@ function DropdownMenuTriggerRoot({
|
|
|
41
41
|
|
|
42
42
|
function DropdownMenuTriggerFallback({
|
|
43
43
|
asChild,
|
|
44
|
+
children,
|
|
44
45
|
...props
|
|
45
46
|
}: ComponentProps<"button"> & { asChild?: boolean }) {
|
|
47
|
+
if (asChild) {
|
|
48
|
+
return <>{children}</>;
|
|
49
|
+
}
|
|
50
|
+
|
|
46
51
|
return (
|
|
47
52
|
<button
|
|
48
53
|
data-slot="dropdown-menu-trigger"
|
|
49
54
|
className="text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary"
|
|
50
55
|
{...props}
|
|
51
|
-
|
|
56
|
+
>
|
|
57
|
+
{children}
|
|
58
|
+
</button>
|
|
52
59
|
);
|
|
53
60
|
}
|
|
54
61
|
|