@vuer-ai/vuer-uikit 0.0.52 → 0.0.53
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-2HAD7VLJ.js → chunk-57AHWBIP.js} +1 -1
- package/dist/{chunk-L3SCK2WT.js → chunk-5EUKKR3Z.js} +2 -2
- package/dist/{chunk-HJMRCBDG.mjs → chunk-6Y3BHHH7.mjs} +3 -2
- package/dist/{chunk-VWYDSID4.js → chunk-PONCZ3TF.js} +3 -2
- package/dist/{chunk-ECWK3POQ.mjs → chunk-VWZFOSYU.mjs} +1 -1
- package/dist/{chunk-VSGVRZLH.mjs → chunk-YP4XKYIP.mjs} +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/ui/index.js +6 -6
- package/dist/ui/index.mjs +3 -3
- 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/version-badge.js +2 -2
- package/dist/ui/version-badge.mjs +1 -1
- package/package.json +1 -1
- package/src/ui/tree-view-v2.tsx +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPONCZ3TF_js = require('./chunk-PONCZ3TF.js');
|
|
4
4
|
var chunkER6XHUS7_js = require('./chunk-ER6XHUS7.js');
|
|
5
5
|
var chunk7KYAICHB_js = require('./chunk-7KYAICHB.js');
|
|
6
6
|
var lucideReact = require('lucide-react');
|
|
@@ -510,7 +510,7 @@ function Timeline({
|
|
|
510
510
|
}, [viewStart, viewDuration, updateCursor]);
|
|
511
511
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-bg-primary text-text-primary border-line-secondary/20 rounded-uk-md mx-auto w-full max-w-7xl overflow-hidden border font-sans shadow-[0_4px_16px_0_var(--color-shadow-secondary)]", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-[minmax(300px,30%)_1fr]", children: [
|
|
512
512
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
513
|
-
|
|
513
|
+
chunkPONCZ3TF_js.TreeView,
|
|
514
514
|
{
|
|
515
515
|
data,
|
|
516
516
|
getIcon,
|
|
@@ -185,12 +185,13 @@ function TreeView({
|
|
|
185
185
|
{
|
|
186
186
|
className: cn(
|
|
187
187
|
"group relative flex h-[32px] items-center",
|
|
188
|
+
isSelectable && "rounded-uk-md",
|
|
188
189
|
!item.disable && "cursor-pointer",
|
|
189
190
|
hoveredId === item.id && !item.disable && "bg-bg-secondary",
|
|
190
191
|
isSelectable && selectedItemId === item.id && "bg-brand-primary text-text-withbg"
|
|
191
192
|
),
|
|
192
|
-
onMouseEnter: () =>
|
|
193
|
-
onMouseLeave: () =>
|
|
193
|
+
onMouseEnter: () => onItemHover == null ? void 0 : onItemHover(item.id),
|
|
194
|
+
onMouseLeave: () => onItemHover == null ? void 0 : onItemHover(null),
|
|
194
195
|
onClick: () => !item.disable && handleItemSelect(item.id),
|
|
195
196
|
children: [
|
|
196
197
|
/* @__PURE__ */ jsxs("div", { className: "absolute top-0 left-[-0.28rem] z-0 flex h-full items-center", children: [
|
|
@@ -187,12 +187,13 @@ function TreeView({
|
|
|
187
187
|
{
|
|
188
188
|
className: chunk7KYAICHB_js.cn(
|
|
189
189
|
"group relative flex h-[32px] items-center",
|
|
190
|
+
isSelectable && "rounded-uk-md",
|
|
190
191
|
!item.disable && "cursor-pointer",
|
|
191
192
|
hoveredId === item.id && !item.disable && "bg-bg-secondary",
|
|
192
193
|
isSelectable && selectedItemId === item.id && "bg-brand-primary text-text-withbg"
|
|
193
194
|
),
|
|
194
|
-
onMouseEnter: () =>
|
|
195
|
-
onMouseLeave: () =>
|
|
195
|
+
onMouseEnter: () => onItemHover == null ? void 0 : onItemHover(item.id),
|
|
196
|
+
onMouseLeave: () => onItemHover == null ? void 0 : onItemHover(null),
|
|
196
197
|
onClick: () => !item.disable && handleItemSelect(item.id),
|
|
197
198
|
children: [
|
|
198
199
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-0 left-[-0.28rem] z-0 flex h-full items-center", children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeView } from './chunk-
|
|
1
|
+
import { TreeView } from './chunk-6Y3BHHH7.mjs';
|
|
2
2
|
import { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './chunk-TCN3UDQE.mjs';
|
|
3
3
|
import { cn } from './chunk-WM2VP7MI.mjs';
|
|
4
4
|
import { Magnet, ChevronLeft, ChevronRight } from 'lucide-react';
|
package/dist/index.js
CHANGED
|
@@ -24,15 +24,15 @@ var chunk6TMEH2MB_js = require('./chunk-6TMEH2MB.js');
|
|
|
24
24
|
var chunkFSFUZ7Y6_js = require('./chunk-FSFUZ7Y6.js');
|
|
25
25
|
var chunkEAN5SZYQ_js = require('./chunk-EAN5SZYQ.js');
|
|
26
26
|
var chunkEOTROHFU_js = require('./chunk-EOTROHFU.js');
|
|
27
|
-
var
|
|
27
|
+
var chunk57AHWBIP_js = require('./chunk-57AHWBIP.js');
|
|
28
28
|
var chunkWRF3C24J_js = require('./chunk-WRF3C24J.js');
|
|
29
29
|
var chunk4HJQPZQ2_js = require('./chunk-4HJQPZQ2.js');
|
|
30
30
|
var chunkUGCFQYE2_js = require('./chunk-UGCFQYE2.js');
|
|
31
31
|
require('./chunk-QPQSH53G.js');
|
|
32
32
|
var chunkJ2ZRCEKZ_js = require('./chunk-J2ZRCEKZ.js');
|
|
33
33
|
var chunkRFFQCDHN_js = require('./chunk-RFFQCDHN.js');
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var chunk5EUKKR3Z_js = require('./chunk-5EUKKR3Z.js');
|
|
35
|
+
var chunkPONCZ3TF_js = require('./chunk-PONCZ3TF.js');
|
|
36
36
|
var chunkER6XHUS7_js = require('./chunk-ER6XHUS7.js');
|
|
37
37
|
var chunkQJR6MCTR_js = require('./chunk-QJR6MCTR.js');
|
|
38
38
|
var chunkLF2XWR4S_js = require('./chunk-LF2XWR4S.js');
|
|
@@ -171,7 +171,7 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "VersionBadge", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunk57AHWBIP_js.VersionBadge; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "createSelectable", {
|
|
177
177
|
enumerable: true,
|
|
@@ -291,11 +291,11 @@ Object.defineProperty(exports, "Switch", {
|
|
|
291
291
|
});
|
|
292
292
|
Object.defineProperty(exports, "Timeline", {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunk5EUKKR3Z_js.Timeline; }
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "TreeViewV2", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkPONCZ3TF_js.TreeView; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "Tooltip", {
|
|
301
301
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -22,15 +22,15 @@ export { NumberInput } from './chunk-QD6L25T6.mjs';
|
|
|
22
22
|
export { ToggleGroup, ToggleGroupItem } from './chunk-G6CSH3FC.mjs';
|
|
23
23
|
export { Toggle, toggleVariants } from './chunk-K6R7H7R2.mjs';
|
|
24
24
|
export { TreeView } from './chunk-DDG2W6BX.mjs';
|
|
25
|
-
export { VersionBadge } from './chunk-
|
|
25
|
+
export { VersionBadge } from './chunk-YP4XKYIP.mjs';
|
|
26
26
|
export { createSelectable } from './chunk-TVKPO5VK.mjs';
|
|
27
27
|
export { DragSelectProvider, useDragSelectContext } from './chunk-JBQP2CBI.mjs';
|
|
28
28
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './chunk-SG2PPP7N.mjs';
|
|
29
29
|
import './chunk-N6DZ364I.mjs';
|
|
30
30
|
export { Slider } from './chunk-47WYS4WO.mjs';
|
|
31
31
|
export { Switch } from './chunk-SWGYWILR.mjs';
|
|
32
|
-
export { Timeline } from './chunk-
|
|
33
|
-
export { TreeView as TreeViewV2 } from './chunk-
|
|
32
|
+
export { Timeline } from './chunk-VWZFOSYU.mjs';
|
|
33
|
+
export { TreeView as TreeViewV2 } from './chunk-6Y3BHHH7.mjs';
|
|
34
34
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-TCN3UDQE.mjs';
|
|
35
35
|
export { Toaster, toast } from './chunk-EAZQH4IX.mjs';
|
|
36
36
|
export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from './chunk-GL6WU4QP.mjs';
|
package/dist/ui/index.js
CHANGED
|
@@ -24,15 +24,15 @@ var chunk6TMEH2MB_js = require('../chunk-6TMEH2MB.js');
|
|
|
24
24
|
var chunkFSFUZ7Y6_js = require('../chunk-FSFUZ7Y6.js');
|
|
25
25
|
var chunkEAN5SZYQ_js = require('../chunk-EAN5SZYQ.js');
|
|
26
26
|
var chunkEOTROHFU_js = require('../chunk-EOTROHFU.js');
|
|
27
|
-
var
|
|
27
|
+
var chunk57AHWBIP_js = require('../chunk-57AHWBIP.js');
|
|
28
28
|
var chunkWRF3C24J_js = require('../chunk-WRF3C24J.js');
|
|
29
29
|
var chunk4HJQPZQ2_js = require('../chunk-4HJQPZQ2.js');
|
|
30
30
|
var chunkUGCFQYE2_js = require('../chunk-UGCFQYE2.js');
|
|
31
31
|
require('../chunk-QPQSH53G.js');
|
|
32
32
|
var chunkJ2ZRCEKZ_js = require('../chunk-J2ZRCEKZ.js');
|
|
33
33
|
var chunkRFFQCDHN_js = require('../chunk-RFFQCDHN.js');
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var chunk5EUKKR3Z_js = require('../chunk-5EUKKR3Z.js');
|
|
35
|
+
var chunkPONCZ3TF_js = require('../chunk-PONCZ3TF.js');
|
|
36
36
|
var chunkER6XHUS7_js = require('../chunk-ER6XHUS7.js');
|
|
37
37
|
var chunkQJR6MCTR_js = require('../chunk-QJR6MCTR.js');
|
|
38
38
|
var chunkLF2XWR4S_js = require('../chunk-LF2XWR4S.js');
|
|
@@ -166,7 +166,7 @@ Object.defineProperty(exports, "TreeView", {
|
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "VersionBadge", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk57AHWBIP_js.VersionBadge; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "createSelectable", {
|
|
172
172
|
enumerable: true,
|
|
@@ -286,11 +286,11 @@ Object.defineProperty(exports, "Switch", {
|
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "Timeline", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunk5EUKKR3Z_js.Timeline; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "TreeViewV2", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkPONCZ3TF_js.TreeView; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "Tooltip", {
|
|
296
296
|
enumerable: true,
|
package/dist/ui/index.mjs
CHANGED
|
@@ -22,15 +22,15 @@ export { NumberInput } from '../chunk-QD6L25T6.mjs';
|
|
|
22
22
|
export { ToggleGroup, ToggleGroupItem } from '../chunk-G6CSH3FC.mjs';
|
|
23
23
|
export { Toggle, toggleVariants } from '../chunk-K6R7H7R2.mjs';
|
|
24
24
|
export { TreeView } from '../chunk-DDG2W6BX.mjs';
|
|
25
|
-
export { VersionBadge } from '../chunk-
|
|
25
|
+
export { VersionBadge } from '../chunk-YP4XKYIP.mjs';
|
|
26
26
|
export { createSelectable } from '../chunk-TVKPO5VK.mjs';
|
|
27
27
|
export { DragSelectProvider, useDragSelectContext } from '../chunk-JBQP2CBI.mjs';
|
|
28
28
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from '../chunk-SG2PPP7N.mjs';
|
|
29
29
|
import '../chunk-N6DZ364I.mjs';
|
|
30
30
|
export { Slider } from '../chunk-47WYS4WO.mjs';
|
|
31
31
|
export { Switch } from '../chunk-SWGYWILR.mjs';
|
|
32
|
-
export { Timeline } from '../chunk-
|
|
33
|
-
export { TreeView as TreeViewV2 } from '../chunk-
|
|
32
|
+
export { Timeline } from '../chunk-VWZFOSYU.mjs';
|
|
33
|
+
export { TreeView as TreeViewV2 } from '../chunk-6Y3BHHH7.mjs';
|
|
34
34
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../chunk-TCN3UDQE.mjs';
|
|
35
35
|
export { Toaster, toast } from '../chunk-EAZQH4IX.mjs';
|
|
36
36
|
export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from '../chunk-GL6WU4QP.mjs';
|
package/dist/ui/timeline.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunk5EUKKR3Z_js = require('../chunk-5EUKKR3Z.js');
|
|
4
|
+
require('../chunk-PONCZ3TF.js');
|
|
5
5
|
require('../chunk-ER6XHUS7.js');
|
|
6
6
|
require('../chunk-UBVYEZI3.js');
|
|
7
7
|
require('../chunk-W3APG27Q.js');
|
|
@@ -15,5 +15,5 @@ require('../chunk-7KYAICHB.js');
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "Timeline", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk5EUKKR3Z_js.Timeline; }
|
|
19
19
|
});
|
package/dist/ui/timeline.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Timeline } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Timeline } from '../chunk-VWZFOSYU.mjs';
|
|
2
|
+
import '../chunk-6Y3BHHH7.mjs';
|
|
3
3
|
import '../chunk-TCN3UDQE.mjs';
|
|
4
4
|
import '../chunk-AYKQVWMR.mjs';
|
|
5
5
|
import '../chunk-PR4VD5F2.mjs';
|
package/dist/ui/tree-view-v2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPONCZ3TF_js = require('../chunk-PONCZ3TF.js');
|
|
4
4
|
require('../chunk-ER6XHUS7.js');
|
|
5
5
|
require('../chunk-UBVYEZI3.js');
|
|
6
6
|
require('../chunk-W3APG27Q.js');
|
|
@@ -14,5 +14,5 @@ require('../chunk-7KYAICHB.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "TreeViewV2", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPONCZ3TF_js.TreeView; }
|
|
18
18
|
});
|
package/dist/ui/tree-view-v2.mjs
CHANGED
package/dist/ui/version-badge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk57AHWBIP_js = require('../chunk-57AHWBIP.js');
|
|
4
4
|
require('../chunk-ILJK43VJ.js');
|
|
5
5
|
require('../chunk-UBVYEZI3.js');
|
|
6
6
|
require('../chunk-W3APG27Q.js');
|
|
@@ -14,5 +14,5 @@ require('../chunk-7KYAICHB.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "VersionBadge", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk57AHWBIP_js.VersionBadge; }
|
|
18
18
|
});
|
package/package.json
CHANGED
package/src/ui/tree-view-v2.tsx
CHANGED
|
@@ -253,12 +253,13 @@ function TreeView<T extends TreeDataItem>({
|
|
|
253
253
|
key={item.id}
|
|
254
254
|
className={cn(
|
|
255
255
|
"group relative flex h-[32px] items-center",
|
|
256
|
+
isSelectable && "rounded-uk-md",
|
|
256
257
|
!item.disable && "cursor-pointer",
|
|
257
258
|
hoveredId === item.id && !item.disable && "bg-bg-secondary",
|
|
258
259
|
isSelectable && selectedItemId === item.id && "bg-brand-primary text-text-withbg",
|
|
259
260
|
)}
|
|
260
|
-
onMouseEnter={() =>
|
|
261
|
-
onMouseLeave={() =>
|
|
261
|
+
onMouseEnter={() => onItemHover?.(item.id)}
|
|
262
|
+
onMouseLeave={() => onItemHover?.(null)}
|
|
262
263
|
onClick={() => !item.disable && handleItemSelect(item.id)}
|
|
263
264
|
>
|
|
264
265
|
{/* Guide Lines */}
|