@vuer-ai/vuer-uikit 0.0.28 → 0.0.30
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-N3VYENST.js → chunk-2EMN6VM2.js} +89 -14
- package/dist/{chunk-SBHPTJE4.mjs → chunk-4F2GSF2T.mjs} +1 -1
- package/dist/{chunk-ZT6G7STM.mjs → chunk-4HURANFT.mjs} +1 -1
- package/dist/{chunk-KMIPKXV2.mjs → chunk-4X4OZQHW.mjs} +2 -2
- package/dist/{chunk-NP6VNT23.js → chunk-4ZJRDAXG.js} +4 -4
- package/dist/{chunk-BAAW5VSE.js → chunk-6C6V7VLS.js} +14 -14
- package/dist/{chunk-GGMVWSL5.js → chunk-6CABRTQF.js} +8 -8
- package/dist/{chunk-HT37IGEB.mjs → chunk-6VRLWVXF.mjs} +5 -5
- package/dist/{chunk-XXWQ4RVP.js → chunk-7KYAICHB.js} +1 -1
- package/dist/{chunk-QEY7BWIR.js → chunk-AKBWNVRH.js} +2 -2
- package/dist/{chunk-IGBWUFZL.js → chunk-AQWYFBXL.js} +39 -5
- package/dist/{chunk-S3TZN6HZ.js → chunk-B4C6WQKH.js} +330 -25
- package/dist/{chunk-VAXIFFOT.js → chunk-BXYVNNXU.js} +4 -4
- package/dist/{chunk-LLXRJYQB.mjs → chunk-CBNIBUFP.mjs} +1 -1
- package/dist/{chunk-NQRO3NQX.js → chunk-DNDWCHEB.js} +186 -22
- package/dist/{chunk-JSMQMGST.js → chunk-EAN5SZYQ.js} +20 -3
- package/dist/{chunk-PIR7EZC6.js → chunk-EAZWH4U4.js} +88 -7
- package/dist/{chunk-5ZZC23M7.mjs → chunk-EL4FTB5J.mjs} +1 -1
- package/dist/{chunk-KJV7RR25.js → chunk-ER6XHUS7.js} +2 -2
- package/dist/chunk-F2S3PF25.mjs +42 -0
- package/dist/{chunk-7LDFQGYF.mjs → chunk-F4BR4V3S.mjs} +2 -2
- package/dist/{chunk-QPQFG2DZ.mjs → chunk-FA7B4T24.mjs} +54 -5
- package/dist/{chunk-SAM2YZFC.js → chunk-FSFUZ7Y6.js} +70 -7
- package/dist/chunk-G6CSH3FC.mjs +137 -0
- package/dist/{chunk-AAIXMQCG.mjs → chunk-GM6ZAFCM.mjs} +82 -7
- package/dist/chunk-HTU7SD4O.js +21 -0
- package/dist/{chunk-Z3LP6DAV.js → chunk-HUHNQPQH.js} +3 -3
- package/dist/{chunk-JOTWPUPW.mjs → chunk-I5UCKLLT.mjs} +1 -1
- package/dist/{chunk-XPPJVYYS.js → chunk-IEA6DQ7J.js} +46 -10
- package/dist/{chunk-EFIRD3FN.js → chunk-ILJK43VJ.js} +2 -2
- package/dist/{chunk-GXZZGOXX.mjs → chunk-IWH3T7TD.mjs} +1 -1
- package/dist/{chunk-WO3WHXDP.mjs → chunk-IZCHLZ4H.mjs} +1 -1
- package/dist/{chunk-BOPZFNFS.mjs → chunk-JBUN2HUK.mjs} +38 -4
- package/dist/{chunk-5F36YBKG.js → chunk-JWFD5H5L.js} +7 -7
- package/dist/{chunk-66FC5NST.mjs → chunk-K6R7H7R2.mjs} +19 -2
- package/dist/{chunk-5OUTEHVX.js → chunk-KCA5PXNO.js} +2 -2
- package/dist/{chunk-XUKMVPUD.js → chunk-KDRYDUQT.js} +2 -2
- package/dist/{chunk-ZX6K2A3O.js → chunk-KIENXCE4.js} +1 -1
- package/dist/{chunk-35CM7HPZ.mjs → chunk-MFQ3ZHFJ.mjs} +106 -8
- package/dist/{chunk-VKGXNTK2.mjs → chunk-MP3L7ZVI.mjs} +320 -15
- package/dist/{chunk-DDOX4EEM.mjs → chunk-MWJQTO2F.mjs} +1 -1
- package/dist/{chunk-OOI3SJDU.mjs → chunk-NSN3O6CZ.mjs} +1 -1
- package/dist/chunk-OASPTOVZ.js +16 -0
- package/dist/{chunk-4F3R5V3E.mjs → chunk-OCNRBXK4.mjs} +175 -11
- package/dist/{chunk-DD7FIYSP.mjs → chunk-OE5HF5A6.mjs} +2 -2
- package/dist/{chunk-T3VSSE2L.mjs → chunk-OLIRY7YF.mjs} +83 -2
- package/dist/{chunk-Y5I2GI4V.js → chunk-P6K4746M.js} +2 -2
- package/dist/{chunk-6SRDWLQJ.js → chunk-PKDNA72Q.js} +58 -9
- package/dist/chunk-PR4VD5F2.mjs +14 -0
- package/dist/{chunk-FV2TIL2G.js → chunk-PVQWUU6F.js} +8 -8
- package/dist/chunk-PY5KHH5C.js +108 -0
- package/dist/chunk-QG5Z4C65.mjs +14 -0
- package/dist/{chunk-7DRJLKR6.js → chunk-QG7ZF6TO.js} +1 -1
- package/dist/chunk-QPGCDLOI.js +66 -0
- package/dist/{chunk-H5P4IX7R.js → chunk-RFFQCDHN.js} +44 -4
- package/dist/{chunk-U5U7B7ZI.mjs → chunk-RMAMN6FL.mjs} +1 -1
- package/dist/{chunk-6YJ6IBWC.mjs → chunk-S7UWM46Z.mjs} +3 -3
- package/dist/{chunk-JAMJUXBY.mjs → chunk-SWGYWILR.mjs} +42 -2
- package/dist/{chunk-6SBHQBFL.mjs → chunk-TCN3UDQE.mjs} +1 -1
- package/dist/{chunk-Q42CNAC4.js → chunk-V2DDMNVD.js} +18 -18
- package/dist/chunk-W3APG27Q.js +16 -0
- package/dist/{chunk-KTNZSZ5Y.mjs → chunk-WM2VP7MI.mjs} +1 -1
- package/dist/{chunk-H2VZHFP6.mjs → chunk-WSQ2D6H6.mjs} +1 -1
- package/dist/{chunk-XADXCP5Z.mjs → chunk-WU66I4PW.mjs} +3 -3
- package/dist/chunk-X4FMXFT3.mjs +86 -0
- package/dist/{chunk-TOXM5BPM.js → chunk-XLIICBKP.js} +18 -18
- package/dist/{chunk-YLYNNT5Q.js → chunk-XSREJYEX.js} +113 -15
- package/dist/{chunk-YGIU2WQY.mjs → chunk-Y4EFNE6Q.mjs} +39 -3
- package/dist/highlight-cursor/cursor-provider.js +3 -3
- package/dist/highlight-cursor/cursor-provider.mjs +2 -2
- package/dist/highlight-cursor/enhanced-components.js +17 -15
- package/dist/highlight-cursor/enhanced-components.mjs +12 -10
- package/dist/highlight-cursor/index.js +19 -17
- package/dist/highlight-cursor/index.mjs +13 -11
- package/dist/{utils/client-only.js → hooks/clientOnly.js} +5 -5
- package/dist/{utils/client-only.mjs → hooks/clientOnly.mjs} +1 -1
- package/dist/hooks/cn.js +10 -0
- package/dist/hooks/cn.mjs +1 -0
- package/dist/hooks/index.js +43 -0
- package/dist/hooks/index.mjs +6 -0
- package/dist/hooks/useDocument.js +10 -0
- package/dist/hooks/useDocument.mjs +1 -0
- package/dist/hooks/useLocalStorage.js +10 -0
- package/dist/hooks/useLocalStorage.mjs +1 -0
- package/dist/hooks/useWindow.js +10 -0
- package/dist/hooks/useWindow.mjs +1 -0
- package/dist/index.js +239 -229
- package/dist/index.mjs +36 -34
- package/dist/ui/avatar.js +17 -15
- package/dist/ui/avatar.mjs +7 -5
- package/dist/ui/badge.js +9 -7
- package/dist/ui/badge.mjs +7 -5
- package/dist/ui/button.js +8 -6
- package/dist/ui/button.mjs +7 -5
- package/dist/ui/card.js +14 -12
- package/dist/ui/card.mjs +7 -5
- package/dist/ui/checkbox.js +8 -6
- package/dist/ui/checkbox.mjs +7 -5
- package/dist/ui/collapsible.js +10 -8
- package/dist/ui/collapsible.mjs +7 -5
- package/dist/ui/drawer.js +17 -15
- package/dist/ui/drawer.mjs +7 -5
- package/dist/ui/dropdown.js +22 -20
- package/dist/ui/dropdown.mjs +7 -5
- package/dist/ui/index.js +212 -210
- package/dist/ui/index.mjs +34 -32
- package/dist/ui/input-numbers.js +9 -7
- package/dist/ui/input-numbers.mjs +8 -6
- package/dist/ui/input.js +9 -7
- package/dist/ui/input.mjs +7 -5
- package/dist/ui/layout.js +8 -6
- package/dist/ui/layout.mjs +7 -5
- package/dist/ui/modal.js +17 -15
- package/dist/ui/modal.mjs +7 -5
- package/dist/ui/popover.js +11 -9
- package/dist/ui/popover.mjs +7 -5
- package/dist/ui/radio-group.js +9 -7
- package/dist/ui/radio-group.mjs +7 -5
- package/dist/ui/select.js +17 -15
- package/dist/ui/select.mjs +7 -5
- package/dist/ui/sheet.js +15 -10
- package/dist/ui/sheet.mjs +7 -2
- package/dist/ui/slider.js +8 -6
- package/dist/ui/slider.mjs +7 -5
- package/dist/ui/switch.js +8 -6
- package/dist/ui/switch.mjs +7 -5
- package/dist/ui/tabs.js +11 -9
- package/dist/ui/tabs.mjs +7 -5
- package/dist/ui/textarea.js +8 -6
- package/dist/ui/textarea.mjs +7 -5
- package/dist/ui/timeline.js +10 -8
- package/dist/ui/timeline.mjs +9 -7
- package/dist/ui/toggle-group.js +10 -8
- package/dist/ui/toggle-group.mjs +8 -6
- package/dist/ui/toggle.js +9 -7
- package/dist/ui/toggle.mjs +7 -5
- package/dist/ui/tooltip.js +11 -9
- package/dist/ui/tooltip.mjs +7 -5
- package/dist/ui/tree-view-v2.js +9 -7
- package/dist/ui/tree-view-v2.mjs +8 -6
- package/dist/ui/tree-view.js +8 -6
- package/dist/ui/tree-view.mjs +7 -5
- package/dist/ui/version-badge.js +9 -7
- package/dist/ui/version-badge.mjs +8 -6
- package/package.json +1 -1
- package/src/highlight-cursor/cursor-provider.tsx +1 -1
- package/src/{utils/client-only.ts → hooks/clientOnly.tsx} +6 -6
- package/src/hooks/index.ts +5 -0
- package/src/hooks/useDocument.tsx +13 -0
- package/src/hooks/useWindow.tsx +13 -0
- package/src/index.ts +1 -1
- package/src/ui/avatar.tsx +1 -1
- package/src/ui/badge.tsx +1 -1
- package/src/ui/button.tsx +1 -1
- package/src/ui/card.tsx +1 -1
- package/src/ui/checkbox.tsx +76 -78
- package/src/ui/collapsible.tsx +46 -25
- package/src/ui/drawer.tsx +1 -1
- package/src/ui/dropdown.tsx +347 -15
- package/src/ui/input-numbers.tsx +2 -2
- package/src/ui/input.tsx +1 -1
- package/src/ui/layout.tsx +1 -1
- package/src/ui/modal.tsx +112 -8
- package/src/ui/popover.tsx +42 -4
- package/src/ui/radio-group.tsx +1 -1
- package/src/ui/select.tsx +229 -26
- package/src/ui/sheet.tsx +94 -7
- package/src/ui/slider.tsx +81 -2
- package/src/ui/switch.tsx +40 -2
- package/src/ui/tabs.tsx +61 -5
- package/src/ui/textarea.tsx +1 -1
- package/src/ui/timeline.tsx +1 -1
- package/src/ui/toggle-group.tsx +72 -3
- package/src/ui/toggle.tsx +19 -2
- package/src/ui/tooltip.tsx +1 -1
- package/src/ui/tree-view-v2.tsx +1 -1
- package/src/ui/tree-view.tsx +54 -3
- package/dist/chunk-2JCULHBM.js +0 -58
- package/dist/chunk-2TXGBB33.js +0 -21
- package/dist/chunk-2WJW572X.mjs +0 -74
- package/dist/chunk-5CENHVP3.js +0 -111
- package/dist/chunk-D6HWHISR.mjs +0 -89
- package/dist/chunk-FRT225GK.mjs +0 -34
- package/dist/highlight-cursor/cursor-context.d.mts +0 -7
- package/dist/highlight-cursor/cursor-context.d.ts +0 -7
- package/dist/highlight-cursor/cursor-provider.d.mts +0 -7
- package/dist/highlight-cursor/cursor-provider.d.ts +0 -7
- package/dist/highlight-cursor/enhanced-components.d.mts +0 -20
- package/dist/highlight-cursor/enhanced-components.d.ts +0 -20
- package/dist/highlight-cursor/index.d.mts +0 -16
- package/dist/highlight-cursor/index.d.ts +0 -16
- package/dist/highlight-cursor/tabs-cursor-context.d.mts +0 -14
- package/dist/highlight-cursor/tabs-cursor-context.d.ts +0 -14
- package/dist/highlight-cursor/types.d.mts +0 -39
- package/dist/highlight-cursor/types.d.ts +0 -39
- package/dist/highlight-cursor/with-cursor.d.mts +0 -7
- package/dist/highlight-cursor/with-cursor.d.ts +0 -7
- package/dist/index.d.mts +0 -60
- package/dist/index.d.ts +0 -60
- package/dist/styles/theme.d.mts +0 -2
- package/dist/styles/theme.d.ts +0 -2
- package/dist/styles/toast.d.mts +0 -2
- package/dist/styles/toast.d.ts +0 -2
- package/dist/styles/variables.d.mts +0 -2
- package/dist/styles/variables.d.ts +0 -2
- package/dist/ui/avatar.d.mts +0 -29
- package/dist/ui/avatar.d.ts +0 -29
- package/dist/ui/badge.d.mts +0 -14
- package/dist/ui/badge.d.ts +0 -14
- package/dist/ui/button.d.mts +0 -16
- package/dist/ui/button.d.ts +0 -16
- package/dist/ui/card.d.mts +0 -12
- package/dist/ui/card.d.ts +0 -12
- package/dist/ui/checkbox.d.mts +0 -11
- package/dist/ui/checkbox.d.ts +0 -11
- package/dist/ui/collapsible.d.mts +0 -9
- package/dist/ui/collapsible.d.ts +0 -9
- package/dist/ui/drawer.d.mts +0 -16
- package/dist/ui/drawer.d.ts +0 -16
- package/dist/ui/dropdown.d.mts +0 -28
- package/dist/ui/dropdown.d.ts +0 -28
- package/dist/ui/index.d.mts +0 -51
- package/dist/ui/index.d.ts +0 -51
- package/dist/ui/input-numbers.d.mts +0 -14
- package/dist/ui/input-numbers.d.ts +0 -14
- package/dist/ui/input.d.mts +0 -22
- package/dist/ui/input.d.ts +0 -22
- package/dist/ui/layout.d.mts +0 -12
- package/dist/ui/layout.d.ts +0 -12
- package/dist/ui/modal.d.mts +0 -28
- package/dist/ui/modal.d.ts +0 -28
- package/dist/ui/popover.d.mts +0 -10
- package/dist/ui/popover.d.ts +0 -10
- package/dist/ui/radio-group.d.mts +0 -8
- package/dist/ui/radio-group.d.ts +0 -8
- package/dist/ui/select.d.mts +0 -28
- package/dist/ui/select.d.ts +0 -28
- package/dist/ui/sheet.d.mts +0 -16
- package/dist/ui/sheet.d.ts +0 -16
- package/dist/ui/slider.d.mts +0 -10
- package/dist/ui/slider.d.ts +0 -10
- package/dist/ui/switch.d.mts +0 -7
- package/dist/ui/switch.d.ts +0 -7
- package/dist/ui/tabs.d.mts +0 -16
- package/dist/ui/tabs.d.ts +0 -16
- package/dist/ui/textarea.d.mts +0 -16
- package/dist/ui/textarea.d.ts +0 -16
- package/dist/ui/theme/ThemeProvider.d.mts +0 -8
- package/dist/ui/theme/ThemeProvider.d.ts +0 -8
- package/dist/ui/theme/index.d.mts +0 -5
- package/dist/ui/theme/index.d.ts +0 -5
- package/dist/ui/theme/themeScript.d.mts +0 -19
- package/dist/ui/theme/themeScript.d.ts +0 -19
- package/dist/ui/theme/types.d.mts +0 -47
- package/dist/ui/theme/types.d.ts +0 -47
- package/dist/ui/timeline.d.mts +0 -36
- package/dist/ui/timeline.d.ts +0 -36
- package/dist/ui/toast.d.mts +0 -7
- package/dist/ui/toast.d.ts +0 -7
- package/dist/ui/toggle-group.d.mts +0 -12
- package/dist/ui/toggle-group.d.ts +0 -12
- package/dist/ui/toggle.d.mts +0 -13
- package/dist/ui/toggle.d.ts +0 -13
- package/dist/ui/tooltip.d.mts +0 -10
- package/dist/ui/tooltip.d.ts +0 -10
- package/dist/ui/tree-view-v2.d.mts +0 -25
- package/dist/ui/tree-view-v2.d.ts +0 -25
- package/dist/ui/tree-view.d.mts +0 -28
- package/dist/ui/tree-view.d.ts +0 -28
- package/dist/ui/version-badge.d.mts +0 -26
- package/dist/ui/version-badge.d.ts +0 -26
- package/dist/utils/client-only.d.mts +0 -27
- package/dist/utils/client-only.d.ts +0 -27
- package/dist/utils/cn.d.mts +0 -5
- package/dist/utils/cn.d.ts +0 -5
- package/dist/utils/cn.js +0 -10
- package/dist/utils/cn.mjs +0 -1
- package/dist/utils/index.d.mts +0 -5
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.js +0 -33
- package/dist/utils/index.mjs +0 -4
- package/dist/utils/use-local-storage.d.mts +0 -3
- package/dist/utils/use-local-storage.d.ts +0 -3
- package/dist/utils/use-local-storage.js +0 -10
- package/dist/utils/use-local-storage.mjs +0 -1
- package/src/utils/index.ts +0 -3
- /package/dist/{chunk-CMYR6AOY.mjs → chunk-LXDQ4KMN.mjs} +0 -0
- /package/dist/{chunk-IJ7QXNIJ.js → chunk-T4N7UHZ7.js} +0 -0
- /package/src/{utils → hooks}/cn.ts +0 -0
- /package/src/{utils/use-local-storage.ts → hooks/useLocalStorage.ts} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQG7ZF6TO_js = require('./chunk-QG7ZF6TO.js');
|
|
4
|
+
var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
|
|
4
5
|
var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
5
6
|
var lucideReact = require('lucide-react');
|
|
6
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -25,13 +26,21 @@ function _interopNamespace(e) {
|
|
|
25
26
|
|
|
26
27
|
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
27
28
|
|
|
28
|
-
function
|
|
29
|
+
function DropdownMenuRoot({ ...props }) {
|
|
29
30
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Root, { "data-slot": "dropdown-menu", ...props });
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function DropdownMenuFallback({ ...props }) {
|
|
33
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu", ...props });
|
|
34
|
+
}
|
|
35
|
+
var DropdownMenu = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuRoot, DropdownMenuFallback);
|
|
36
|
+
function DropdownMenuPortalRoot({ ...props }) {
|
|
32
37
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { "data-slot": "dropdown-menu-portal", ...props });
|
|
33
38
|
}
|
|
34
|
-
function
|
|
39
|
+
function DropdownMenuPortalFallback({ children }) {
|
|
40
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-portal", children });
|
|
41
|
+
}
|
|
42
|
+
var DropdownMenuPortal = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuPortalRoot, DropdownMenuPortalFallback);
|
|
43
|
+
function DropdownMenuTriggerRoot({ ...props }) {
|
|
35
44
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36
45
|
DropdownMenuPrimitive__namespace.Trigger,
|
|
37
46
|
{
|
|
@@ -41,7 +50,18 @@ function DropdownMenuTrigger({ ...props }) {
|
|
|
41
50
|
}
|
|
42
51
|
);
|
|
43
52
|
}
|
|
44
|
-
function
|
|
53
|
+
function DropdownMenuTriggerFallback({ asChild, ...props }) {
|
|
54
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55
|
+
"button",
|
|
56
|
+
{
|
|
57
|
+
"data-slot": "dropdown-menu-trigger",
|
|
58
|
+
className: "text-text-primary hover:text-text-highlight disabled:text-text-tertiary active:text-text-secondary",
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
var DropdownMenuTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuTriggerRoot, DropdownMenuTriggerFallback);
|
|
64
|
+
function DropdownMenuContentRoot({
|
|
45
65
|
className,
|
|
46
66
|
sideOffset = 4,
|
|
47
67
|
...props
|
|
@@ -51,7 +71,7 @@ function DropdownMenuContent({
|
|
|
51
71
|
{
|
|
52
72
|
"data-slot": "dropdown-menu-content",
|
|
53
73
|
sideOffset,
|
|
54
|
-
className:
|
|
74
|
+
className: chunk7KYAICHB_js.cn(
|
|
55
75
|
[
|
|
56
76
|
"bg-bg-primary",
|
|
57
77
|
"p-md",
|
|
@@ -82,7 +102,35 @@ function DropdownMenuContent({
|
|
|
82
102
|
}
|
|
83
103
|
) });
|
|
84
104
|
}
|
|
85
|
-
function
|
|
105
|
+
function DropdownMenuContentFallback({
|
|
106
|
+
className,
|
|
107
|
+
...props
|
|
108
|
+
}) {
|
|
109
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
110
|
+
"div",
|
|
111
|
+
{
|
|
112
|
+
"data-slot": "dropdown-menu-content",
|
|
113
|
+
className: chunk7KYAICHB_js.cn(
|
|
114
|
+
[
|
|
115
|
+
"bg-bg-primary",
|
|
116
|
+
"p-md",
|
|
117
|
+
"relative",
|
|
118
|
+
"z-50",
|
|
119
|
+
"min-w-[8rem]",
|
|
120
|
+
"overflow-x-hidden",
|
|
121
|
+
"overflow-y-auto",
|
|
122
|
+
"rounded-uk-md",
|
|
123
|
+
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
124
|
+
"liquid:liquid-bg"
|
|
125
|
+
],
|
|
126
|
+
className
|
|
127
|
+
),
|
|
128
|
+
...props
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
var DropdownMenuContent = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuContentRoot, DropdownMenuContentFallback);
|
|
133
|
+
function DropdownMenuGroupRoot({
|
|
86
134
|
className,
|
|
87
135
|
...props
|
|
88
136
|
}) {
|
|
@@ -90,12 +138,26 @@ function DropdownMenuGroup({
|
|
|
90
138
|
DropdownMenuPrimitive__namespace.Group,
|
|
91
139
|
{
|
|
92
140
|
"data-slot": "dropdown-menu-group",
|
|
93
|
-
className:
|
|
141
|
+
className: chunk7KYAICHB_js.cn("space-y-xs", className),
|
|
142
|
+
...props
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
}
|
|
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),
|
|
94
155
|
...props
|
|
95
156
|
}
|
|
96
157
|
);
|
|
97
158
|
}
|
|
98
|
-
|
|
159
|
+
var DropdownMenuGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuGroupRoot, DropdownMenuGroupFallback);
|
|
160
|
+
function DropdownMenuItemRoot({
|
|
99
161
|
className,
|
|
100
162
|
inset,
|
|
101
163
|
variant = "default",
|
|
@@ -107,7 +169,7 @@ function DropdownMenuItem({
|
|
|
107
169
|
"data-slot": "dropdown-menu-item",
|
|
108
170
|
"data-inset": inset,
|
|
109
171
|
"data-variant": variant,
|
|
110
|
-
className:
|
|
172
|
+
className: chunk7KYAICHB_js.cn(
|
|
111
173
|
[
|
|
112
174
|
"w-full",
|
|
113
175
|
"flex",
|
|
@@ -139,7 +201,51 @@ function DropdownMenuItem({
|
|
|
139
201
|
}
|
|
140
202
|
);
|
|
141
203
|
}
|
|
142
|
-
function
|
|
204
|
+
function DropdownMenuItemFallback({
|
|
205
|
+
className,
|
|
206
|
+
inset,
|
|
207
|
+
variant = "default",
|
|
208
|
+
asChild,
|
|
209
|
+
...props
|
|
210
|
+
}) {
|
|
211
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
212
|
+
"div",
|
|
213
|
+
{
|
|
214
|
+
"data-slot": "dropdown-menu-item",
|
|
215
|
+
"data-inset": inset,
|
|
216
|
+
"data-variant": variant,
|
|
217
|
+
className: chunk7KYAICHB_js.cn(
|
|
218
|
+
[
|
|
219
|
+
"w-full",
|
|
220
|
+
"flex",
|
|
221
|
+
"gap-md",
|
|
222
|
+
"items-center",
|
|
223
|
+
"pr-md",
|
|
224
|
+
"pl-[calc(var(--spacing-md)*2)]",
|
|
225
|
+
"py-xs",
|
|
226
|
+
"mb-xs",
|
|
227
|
+
"last:mb-0",
|
|
228
|
+
"relative",
|
|
229
|
+
"cursor-default",
|
|
230
|
+
"rounded-uk-xs",
|
|
231
|
+
"text-uk-xs",
|
|
232
|
+
"leading-uk-xs",
|
|
233
|
+
"outline-hidden",
|
|
234
|
+
"select-none",
|
|
235
|
+
"hover:bg-bg-tertiary",
|
|
236
|
+
"[&_svg]:pointer-events-none",
|
|
237
|
+
"[&_svg]:shrink-0",
|
|
238
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
239
|
+
"[&_svg:not([class*='text-'])]:text-muted-foreground"
|
|
240
|
+
],
|
|
241
|
+
className
|
|
242
|
+
),
|
|
243
|
+
...props
|
|
244
|
+
}
|
|
245
|
+
);
|
|
246
|
+
}
|
|
247
|
+
var DropdownMenuItem = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuItemRoot, DropdownMenuItemFallback);
|
|
248
|
+
function DropdownMenuCheckboxItemRoot({
|
|
143
249
|
className,
|
|
144
250
|
children,
|
|
145
251
|
checked,
|
|
@@ -149,7 +255,7 @@ function DropdownMenuCheckboxItem({
|
|
|
149
255
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
150
256
|
{
|
|
151
257
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
152
|
-
className:
|
|
258
|
+
className: chunk7KYAICHB_js.cn(
|
|
153
259
|
[
|
|
154
260
|
"w-full",
|
|
155
261
|
"flex",
|
|
@@ -185,12 +291,63 @@ function DropdownMenuCheckboxItem({
|
|
|
185
291
|
}
|
|
186
292
|
);
|
|
187
293
|
}
|
|
188
|
-
function
|
|
294
|
+
function DropdownMenuCheckboxItemFallback({
|
|
295
|
+
className,
|
|
296
|
+
children,
|
|
297
|
+
checked,
|
|
298
|
+
asChild,
|
|
299
|
+
...props
|
|
300
|
+
}) {
|
|
301
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
302
|
+
"div",
|
|
303
|
+
{
|
|
304
|
+
"data-slot": "dropdown-menu-checkbox-item",
|
|
305
|
+
className: chunk7KYAICHB_js.cn(
|
|
306
|
+
[
|
|
307
|
+
"w-full",
|
|
308
|
+
"flex",
|
|
309
|
+
"gap-md",
|
|
310
|
+
"items-center",
|
|
311
|
+
"pr-md",
|
|
312
|
+
"pl-[calc(var(--spacing-xl)*1.8)]",
|
|
313
|
+
"py-xs",
|
|
314
|
+
"mb-xs",
|
|
315
|
+
"last:mb-0",
|
|
316
|
+
"relative",
|
|
317
|
+
"cursor-default",
|
|
318
|
+
"rounded-uk-xs",
|
|
319
|
+
"text-uk-xs",
|
|
320
|
+
"leading-uk-xs",
|
|
321
|
+
"outline-hidden",
|
|
322
|
+
"select-none",
|
|
323
|
+
"hover:bg-bg-tertiary",
|
|
324
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
325
|
+
"[&_svg]:pointer-events-none",
|
|
326
|
+
"[&_svg]:shrink-0"
|
|
327
|
+
],
|
|
328
|
+
className
|
|
329
|
+
),
|
|
330
|
+
...props,
|
|
331
|
+
children: [
|
|
332
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: checked && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4" }) }),
|
|
333
|
+
children
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
var DropdownMenuCheckboxItem = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuCheckboxItemRoot, DropdownMenuCheckboxItemFallback);
|
|
339
|
+
function DropdownMenuRadioGroupRoot({
|
|
189
340
|
...props
|
|
190
341
|
}) {
|
|
191
342
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
|
|
192
343
|
}
|
|
193
|
-
function
|
|
344
|
+
function DropdownMenuRadioGroupFallback({
|
|
345
|
+
...props
|
|
346
|
+
}) {
|
|
347
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-radio-group", ...props });
|
|
348
|
+
}
|
|
349
|
+
var DropdownMenuRadioGroup = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuRadioGroupRoot, DropdownMenuRadioGroupFallback);
|
|
350
|
+
function DropdownMenuRadioItemRoot({
|
|
194
351
|
className,
|
|
195
352
|
children,
|
|
196
353
|
...props
|
|
@@ -199,7 +356,7 @@ function DropdownMenuRadioItem({
|
|
|
199
356
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
200
357
|
{
|
|
201
358
|
"data-slot": "dropdown-menu-radio-item",
|
|
202
|
-
className:
|
|
359
|
+
className: chunk7KYAICHB_js.cn(
|
|
203
360
|
[
|
|
204
361
|
"w-full",
|
|
205
362
|
"hover:bg-bg-tertiary",
|
|
@@ -234,7 +391,51 @@ function DropdownMenuRadioItem({
|
|
|
234
391
|
}
|
|
235
392
|
);
|
|
236
393
|
}
|
|
237
|
-
function
|
|
394
|
+
function DropdownMenuRadioItemFallback({
|
|
395
|
+
className,
|
|
396
|
+
children,
|
|
397
|
+
asChild,
|
|
398
|
+
...props
|
|
399
|
+
}) {
|
|
400
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
401
|
+
"div",
|
|
402
|
+
{
|
|
403
|
+
"data-slot": "dropdown-menu-radio-item",
|
|
404
|
+
className: chunk7KYAICHB_js.cn(
|
|
405
|
+
[
|
|
406
|
+
"w-full",
|
|
407
|
+
"hover:bg-bg-tertiary",
|
|
408
|
+
"outline-hidden",
|
|
409
|
+
"relative",
|
|
410
|
+
"flex",
|
|
411
|
+
"cursor-default",
|
|
412
|
+
"select-none",
|
|
413
|
+
"items-center",
|
|
414
|
+
"gap-md",
|
|
415
|
+
"rounded-uk-xs",
|
|
416
|
+
"py-xs",
|
|
417
|
+
"pl-[calc(var(--spacing-xl)*1.8)]",
|
|
418
|
+
"pr-md",
|
|
419
|
+
"mb-xs",
|
|
420
|
+
"last:mb-0",
|
|
421
|
+
"text-uk-xs",
|
|
422
|
+
"leading-uk-xs",
|
|
423
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
424
|
+
"[&_svg]:pointer-events-none",
|
|
425
|
+
"[&_svg]:shrink-0"
|
|
426
|
+
],
|
|
427
|
+
className
|
|
428
|
+
),
|
|
429
|
+
...props,
|
|
430
|
+
children: [
|
|
431
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleIcon, { className: "size-2 fill-current" }) }),
|
|
432
|
+
children
|
|
433
|
+
]
|
|
434
|
+
}
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
var DropdownMenuRadioItem = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuRadioItemRoot, DropdownMenuRadioItemFallback);
|
|
438
|
+
function DropdownMenuLabelRoot({
|
|
238
439
|
className,
|
|
239
440
|
inset,
|
|
240
441
|
...props
|
|
@@ -244,12 +445,28 @@ function DropdownMenuLabel({
|
|
|
244
445
|
{
|
|
245
446
|
"data-slot": "dropdown-menu-label",
|
|
246
447
|
"data-inset": inset,
|
|
247
|
-
className:
|
|
448
|
+
className: chunk7KYAICHB_js.cn("text-text-secondary text-uk-xs leading-uk-xs px-2 py-1.5", className),
|
|
248
449
|
...props
|
|
249
450
|
}
|
|
250
451
|
);
|
|
251
452
|
}
|
|
252
|
-
function
|
|
453
|
+
function DropdownMenuLabelFallback({
|
|
454
|
+
className,
|
|
455
|
+
inset,
|
|
456
|
+
...props
|
|
457
|
+
}) {
|
|
458
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
459
|
+
"div",
|
|
460
|
+
{
|
|
461
|
+
"data-slot": "dropdown-menu-label",
|
|
462
|
+
"data-inset": inset,
|
|
463
|
+
className: chunk7KYAICHB_js.cn("text-text-secondary text-uk-xs leading-uk-xs px-2 py-1.5", className),
|
|
464
|
+
...props
|
|
465
|
+
}
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
var DropdownMenuLabel = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuLabelRoot, DropdownMenuLabelFallback);
|
|
469
|
+
function DropdownMenuSeparatorRoot({
|
|
253
470
|
className,
|
|
254
471
|
...props
|
|
255
472
|
}) {
|
|
@@ -257,25 +474,43 @@ function DropdownMenuSeparator({
|
|
|
257
474
|
DropdownMenuPrimitive__namespace.Separator,
|
|
258
475
|
{
|
|
259
476
|
"data-slot": "dropdown-menu-separator",
|
|
260
|
-
className:
|
|
477
|
+
className: chunk7KYAICHB_js.cn("bg-line-primary my-lg pointer-events-none -mx-1 h-px", className),
|
|
261
478
|
...props
|
|
262
479
|
}
|
|
263
480
|
);
|
|
264
481
|
}
|
|
482
|
+
function DropdownMenuSeparatorFallback({
|
|
483
|
+
className,
|
|
484
|
+
...props
|
|
485
|
+
}) {
|
|
486
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
487
|
+
"div",
|
|
488
|
+
{
|
|
489
|
+
"data-slot": "dropdown-menu-separator",
|
|
490
|
+
className: chunk7KYAICHB_js.cn("bg-line-primary my-lg pointer-events-none -mx-1 h-px", className),
|
|
491
|
+
...props
|
|
492
|
+
}
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
var DropdownMenuSeparator = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuSeparatorRoot, DropdownMenuSeparatorFallback);
|
|
265
496
|
function DropdownMenuShortcut({ className, ...props }) {
|
|
266
497
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
267
498
|
"span",
|
|
268
499
|
{
|
|
269
500
|
"data-slot": "dropdown-menu-shortcut",
|
|
270
|
-
className:
|
|
501
|
+
className: chunk7KYAICHB_js.cn("text-text-tertiary text-uk-xs leading-uk-xs ml-auto", className),
|
|
271
502
|
...props
|
|
272
503
|
}
|
|
273
504
|
);
|
|
274
505
|
}
|
|
275
|
-
function
|
|
506
|
+
function DropdownMenuSubRoot({ ...props }) {
|
|
276
507
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Sub, { "data-slot": "dropdown-menu-sub", ...props });
|
|
277
508
|
}
|
|
278
|
-
function
|
|
509
|
+
function DropdownMenuSubFallback({ ...props }) {
|
|
510
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "dropdown-menu-sub", ...props });
|
|
511
|
+
}
|
|
512
|
+
var DropdownMenuSub = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuSubRoot, DropdownMenuSubFallback);
|
|
513
|
+
function DropdownMenuSubTriggerRoot({
|
|
279
514
|
className,
|
|
280
515
|
inset,
|
|
281
516
|
children,
|
|
@@ -286,7 +521,7 @@ function DropdownMenuSubTrigger({
|
|
|
286
521
|
{
|
|
287
522
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
288
523
|
"data-inset": inset,
|
|
289
|
-
className:
|
|
524
|
+
className: chunk7KYAICHB_js.cn(
|
|
290
525
|
"w-full",
|
|
291
526
|
"flex",
|
|
292
527
|
"gap-md",
|
|
@@ -320,7 +555,51 @@ function DropdownMenuSubTrigger({
|
|
|
320
555
|
}
|
|
321
556
|
);
|
|
322
557
|
}
|
|
323
|
-
function
|
|
558
|
+
function DropdownMenuSubTriggerFallback({
|
|
559
|
+
className,
|
|
560
|
+
inset,
|
|
561
|
+
children,
|
|
562
|
+
asChild,
|
|
563
|
+
...props
|
|
564
|
+
}) {
|
|
565
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
566
|
+
"div",
|
|
567
|
+
{
|
|
568
|
+
"data-slot": "dropdown-menu-sub-trigger",
|
|
569
|
+
"data-inset": inset,
|
|
570
|
+
className: chunk7KYAICHB_js.cn(
|
|
571
|
+
"w-full",
|
|
572
|
+
"flex",
|
|
573
|
+
"gap-md",
|
|
574
|
+
"items-center",
|
|
575
|
+
"pr-md",
|
|
576
|
+
"pl-[calc(var(--spacing-md)*2)]",
|
|
577
|
+
"py-xs",
|
|
578
|
+
"mb-xs",
|
|
579
|
+
"relative",
|
|
580
|
+
"cursor-default",
|
|
581
|
+
"rounded-uk-xs",
|
|
582
|
+
"text-uk-xs",
|
|
583
|
+
"leading-uk-xs",
|
|
584
|
+
"outline-hidden",
|
|
585
|
+
"select-none",
|
|
586
|
+
"hover:bg-bg-tertiary",
|
|
587
|
+
"[&_svg]:pointer-events-none",
|
|
588
|
+
"[&_svg]:shrink-0",
|
|
589
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
590
|
+
"[&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
591
|
+
className
|
|
592
|
+
),
|
|
593
|
+
...props,
|
|
594
|
+
children: [
|
|
595
|
+
children,
|
|
596
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRightIcon, { className: "ml-auto size-4" })
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
var DropdownMenuSubTrigger = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuSubTriggerRoot, DropdownMenuSubTriggerFallback);
|
|
602
|
+
function DropdownMenuSubContentRoot({
|
|
324
603
|
className,
|
|
325
604
|
...props
|
|
326
605
|
}) {
|
|
@@ -328,7 +607,7 @@ function DropdownMenuSubContent({
|
|
|
328
607
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
329
608
|
{
|
|
330
609
|
"data-slot": "dropdown-menu-sub-content",
|
|
331
|
-
className:
|
|
610
|
+
className: chunk7KYAICHB_js.cn(
|
|
332
611
|
"bg-bg-primary",
|
|
333
612
|
"p-md",
|
|
334
613
|
"data-[state=open]:animate-in",
|
|
@@ -357,6 +636,32 @@ function DropdownMenuSubContent({
|
|
|
357
636
|
}
|
|
358
637
|
);
|
|
359
638
|
}
|
|
639
|
+
function DropdownMenuSubContentFallback({
|
|
640
|
+
className,
|
|
641
|
+
...props
|
|
642
|
+
}) {
|
|
643
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
644
|
+
"div",
|
|
645
|
+
{
|
|
646
|
+
"data-slot": "dropdown-menu-sub-content",
|
|
647
|
+
className: chunk7KYAICHB_js.cn(
|
|
648
|
+
"bg-bg-primary",
|
|
649
|
+
"p-md",
|
|
650
|
+
"relative",
|
|
651
|
+
"z-50",
|
|
652
|
+
"min-w-[8rem]",
|
|
653
|
+
"overflow-x-hidden",
|
|
654
|
+
"overflow-y-auto",
|
|
655
|
+
"rounded-uk-md",
|
|
656
|
+
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
657
|
+
"liquid:liquid-bg",
|
|
658
|
+
className
|
|
659
|
+
),
|
|
660
|
+
...props
|
|
661
|
+
}
|
|
662
|
+
);
|
|
663
|
+
}
|
|
664
|
+
var DropdownMenuSubContent = chunkQG7ZF6TO_js.createClientOnlyComponent(DropdownMenuSubContentRoot, DropdownMenuSubContentFallback);
|
|
360
665
|
|
|
361
666
|
exports.DropdownMenu = DropdownMenu;
|
|
362
667
|
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
|
|
4
4
|
var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ function RadioGroup({ className, ...props }) {
|
|
|
29
29
|
RadioGroupPrimitive__namespace.Root,
|
|
30
30
|
{
|
|
31
31
|
"data-slot": "radio-group",
|
|
32
|
-
className:
|
|
32
|
+
className: chunk7KYAICHB_js.cn("grid gap-2", className),
|
|
33
33
|
...props
|
|
34
34
|
}
|
|
35
35
|
);
|
|
@@ -39,7 +39,7 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
39
39
|
RadioGroupPrimitive__namespace.Item,
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "radio-group-item",
|
|
42
|
-
className:
|
|
42
|
+
className: chunk7KYAICHB_js.cn(
|
|
43
43
|
"group",
|
|
44
44
|
"w-[16px]",
|
|
45
45
|
"h-[16px]",
|
|
@@ -62,7 +62,7 @@ function RadioGroupItem({ className, ...props }) {
|
|
|
62
62
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
63
63
|
"div",
|
|
64
64
|
{
|
|
65
|
-
className:
|
|
65
|
+
className: chunk7KYAICHB_js.cn(
|
|
66
66
|
"absolute",
|
|
67
67
|
"inset-0",
|
|
68
68
|
"m-auto",
|