@vuer-ai/vuer-uikit 0.0.83 → 0.0.84

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.
@@ -9,7 +9,7 @@ var chunkYXFHJKNW_cjs = require('./chunk-YXFHJKNW.cjs');
9
9
  var chunk5MNZYCN2_cjs = require('./chunk-5MNZYCN2.cjs');
10
10
  var chunkZ6UDRPC2_cjs = require('./chunk-Z6UDRPC2.cjs');
11
11
  var chunkDFJQXQ7Q_cjs = require('./chunk-DFJQXQ7Q.cjs');
12
- var chunk5XETLNUY_cjs = require('./chunk-5XETLNUY.cjs');
12
+ var chunk5MIKF753_cjs = require('./chunk-5MIKF753.cjs');
13
13
  var chunkSYXRPCBO_cjs = require('./chunk-SYXRPCBO.cjs');
14
14
  var chunk2J75MYQA_cjs = require('./chunk-2J75MYQA.cjs');
15
15
  var chunkLP3AGGRK_cjs = require('./chunk-LP3AGGRK.cjs');
@@ -44,23 +44,11 @@ function Waterfall({
44
44
  const internalTimelineState = chunkWJL5HMO6_cjs.useTimelineState(logData);
45
45
  const hoveredId = externalHoveredId ?? internalTimelineState.hoveredId;
46
46
  const setHoveredId = externalOnItemHover ?? internalTimelineState.setHoveredId;
47
- const {
48
- visibleData,
49
- expandedItems,
50
- toggleItem,
51
- hasDescendants,
52
- dataWithMeta
53
- } = chunkSYXRPCBO_cjs.useTreeState({
47
+ const { visibleData, expandedItems, toggleItem, hasDescendants, dataWithMeta } = chunkSYXRPCBO_cjs.useTreeState({
54
48
  data: logData,
55
49
  defaultExpanded: true
56
50
  });
57
- const {
58
- filteredData,
59
- searchResultsCount,
60
- isRegexValid,
61
- renderLabel,
62
- hasActiveSearch
63
- } = chunkSYXRPCBO_cjs.useTreeSearch({
51
+ const { filteredData, searchResultsCount, isRegexValid, renderLabel, hasActiveSearch } = chunkSYXRPCBO_cjs.useTreeSearch({
64
52
  data: logData,
65
53
  searchQuery,
66
54
  isCaseSensitive,
@@ -94,7 +82,9 @@ function Waterfall({
94
82
  "div",
95
83
  {
96
84
  className: chunkOHIB3TEN_cjs.cn(
97
- "bg-bg-primary text-text-primary rounded-uk-md border-line-primary/50 mx-auto flex w-full flex-col overflow-hidden border font-sans shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
85
+ "bg-bg-primary text-text-primary rounded-uk-md border-line-primary/50",
86
+ "mx-auto flex w-full flex-col overflow-hidden border font-sans",
87
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
98
88
  className
99
89
  ),
100
90
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex h-full flex-row items-stretch", children: [
@@ -119,7 +109,7 @@ function Waterfall({
119
109
  }
120
110
  ),
121
111
  /* @__PURE__ */ jsxRuntime.jsx(chunkVBBJSIY7_cjs.SyncScroll, { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
122
- chunk5XETLNUY_cjs.TreeView,
112
+ chunk5MIKF753_cjs.TreeView,
123
113
  {
124
114
  data: hasActiveSearch ? dataWithMeta.filter((item) => filteredData.some((f) => f.id === item.id)) : visibleData,
125
115
  getIcon,
@@ -7,7 +7,7 @@ import { TimelineProcessBar } from './chunk-CO6EASQO.mjs';
7
7
  import { LeftWedge, RightWedge } from './chunk-IR334P7F.mjs';
8
8
  import { WheelZoomContext } from './chunk-CIPI2V54.mjs';
9
9
  import { TreeSearchBar } from './chunk-556XSWKR.mjs';
10
- import { TreeView } from './chunk-32727EKD.mjs';
10
+ import { TreeView } from './chunk-7VYMOW2I.mjs';
11
11
  import { useTreeState, useTreeSearch } from './chunk-BWBBQCG2.mjs';
12
12
  import { CursorOverlay } from './chunk-SA5WKLYB.mjs';
13
13
  import { NavigationControls } from './chunk-5EXV5EWF.mjs';
@@ -42,23 +42,11 @@ function Waterfall({
42
42
  const internalTimelineState = useTimelineState(logData);
43
43
  const hoveredId = externalHoveredId ?? internalTimelineState.hoveredId;
44
44
  const setHoveredId = externalOnItemHover ?? internalTimelineState.setHoveredId;
45
- const {
46
- visibleData,
47
- expandedItems,
48
- toggleItem,
49
- hasDescendants,
50
- dataWithMeta
51
- } = useTreeState({
45
+ const { visibleData, expandedItems, toggleItem, hasDescendants, dataWithMeta } = useTreeState({
52
46
  data: logData,
53
47
  defaultExpanded: true
54
48
  });
55
- const {
56
- filteredData,
57
- searchResultsCount,
58
- isRegexValid,
59
- renderLabel,
60
- hasActiveSearch
61
- } = useTreeSearch({
49
+ const { filteredData, searchResultsCount, isRegexValid, renderLabel, hasActiveSearch } = useTreeSearch({
62
50
  data: logData,
63
51
  searchQuery,
64
52
  isCaseSensitive,
@@ -92,7 +80,9 @@ function Waterfall({
92
80
  "div",
93
81
  {
94
82
  className: cn(
95
- "bg-bg-primary text-text-primary rounded-uk-md border-line-primary/50 mx-auto flex w-full flex-col overflow-hidden border font-sans shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
83
+ "bg-bg-primary text-text-primary rounded-uk-md border-line-primary/50",
84
+ "mx-auto flex w-full flex-col overflow-hidden border font-sans",
85
+ "shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
96
86
  className
97
87
  ),
98
88
  children: /* @__PURE__ */ jsxs("div", { className: "relative flex h-full flex-row items-stretch", children: [
@@ -46,7 +46,7 @@ function TreeEntryItem({
46
46
  isSelectable,
47
47
  selectedItemId,
48
48
  onSelectChange,
49
- expandedItems = /* @__PURE__ */ new Set(),
49
+ expandedItems,
50
50
  toggleItem = () => {
51
51
  },
52
52
  hideExpand = false,
@@ -127,7 +127,7 @@ function TreeEntryItem({
127
127
  {
128
128
  className: chunkOHIB3TEN_cjs.cn(
129
129
  "size-4 transition-transform",
130
- expandedItems && !expandedItems.has(item.id) && "-rotate-90",
130
+ expandedItems && !expandedItems?.has(item.id) && "-rotate-90",
131
131
  item.disable && "text-icon-tertiary"
132
132
  )
133
133
  }
@@ -141,7 +141,7 @@ function TreeEntryItem({
141
141
  "flex size-4 items-center justify-center",
142
142
  item.disable && "text-icon-tertiary"
143
143
  ),
144
- children: getIcon(item)
144
+ children: getIcon(item, expandedItems?.has?.(item.id))
145
145
  }
146
146
  )
147
147
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex size-4 items-center justify-center", children: [
@@ -158,7 +158,7 @@ function TreeEntryItem({
158
158
  {
159
159
  className: chunkOHIB3TEN_cjs.cn(
160
160
  "size-4 transition-transform",
161
- expandedItems && !expandedItems.has(item.id) && "-rotate-90",
161
+ expandedItems && !expandedItems?.has(item.id) && "-rotate-90",
162
162
  item.disable && "text-icon-tertiary"
163
163
  )
164
164
  }
@@ -173,7 +173,7 @@ function TreeEntryItem({
173
173
  item.isCollapsible && "group-hover:opacity-0",
174
174
  item.disable && "text-icon-tertiary"
175
175
  ),
176
- children: getIcon(item)
176
+ children: getIcon(item, expandedItems?.has(item.id))
177
177
  }
178
178
  )
179
179
  ] }),
@@ -44,7 +44,7 @@ function TreeEntryItem({
44
44
  isSelectable,
45
45
  selectedItemId,
46
46
  onSelectChange,
47
- expandedItems = /* @__PURE__ */ new Set(),
47
+ expandedItems,
48
48
  toggleItem = () => {
49
49
  },
50
50
  hideExpand = false,
@@ -125,7 +125,7 @@ function TreeEntryItem({
125
125
  {
126
126
  className: cn(
127
127
  "size-4 transition-transform",
128
- expandedItems && !expandedItems.has(item.id) && "-rotate-90",
128
+ expandedItems && !expandedItems?.has(item.id) && "-rotate-90",
129
129
  item.disable && "text-icon-tertiary"
130
130
  )
131
131
  }
@@ -139,7 +139,7 @@ function TreeEntryItem({
139
139
  "flex size-4 items-center justify-center",
140
140
  item.disable && "text-icon-tertiary"
141
141
  ),
142
- children: getIcon(item)
142
+ children: getIcon(item, expandedItems?.has?.(item.id))
143
143
  }
144
144
  )
145
145
  ] }) : /* @__PURE__ */ jsxs("div", { className: "relative flex size-4 items-center justify-center", children: [
@@ -156,7 +156,7 @@ function TreeEntryItem({
156
156
  {
157
157
  className: cn(
158
158
  "size-4 transition-transform",
159
- expandedItems && !expandedItems.has(item.id) && "-rotate-90",
159
+ expandedItems && !expandedItems?.has(item.id) && "-rotate-90",
160
160
  item.disable && "text-icon-tertiary"
161
161
  )
162
162
  }
@@ -171,7 +171,7 @@ function TreeEntryItem({
171
171
  item.isCollapsible && "group-hover:opacity-0",
172
172
  item.disable && "text-icon-tertiary"
173
173
  ),
174
- children: getIcon(item)
174
+ children: getIcon(item, expandedItems?.has(item.id))
175
175
  }
176
176
  )
177
177
  ] }),
@@ -2,9 +2,9 @@ import { cn } from './chunk-HMN4IKTG.mjs';
2
2
  import { GitBranch } from 'lucide-react';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
 
5
- var PACKAGE_VERSION = "0.0.83" ;
5
+ var PACKAGE_VERSION = "0.0.84" ;
6
6
  var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
7
- var GIT_HASH = "857f7d9" ;
7
+ var GIT_HASH = "a811324" ;
8
8
  function PackageBadge({
9
9
  className,
10
10
  packageName,
@@ -4,9 +4,9 @@ var chunkOHIB3TEN_cjs = require('./chunk-OHIB3TEN.cjs');
4
4
  var lucideReact = require('lucide-react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
7
- var PACKAGE_VERSION = "0.0.83" ;
7
+ var PACKAGE_VERSION = "0.0.84" ;
8
8
  var PACKAGE_NAME = "@vuer-ai/vuer-uikit" ;
9
- var GIT_HASH = "857f7d9" ;
9
+ var GIT_HASH = "a811324" ;
10
10
  function PackageBadge({
11
11
  className,
12
12
  packageName,
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('./chunk-KFPS5CCR.cjs');
4
- var chunkHQOMRRJK_cjs = require('./chunk-HQOMRRJK.cjs');
4
+ var chunk2ZBQXVNV_cjs = require('./chunk-2ZBQXVNV.cjs');
5
5
  require('./chunk-WJL5HMO6.cjs');
6
6
  require('./chunk-RJ7I6ZQK.cjs');
7
7
  require('./chunk-6TSA7KXX.cjs');
@@ -13,7 +13,7 @@ require('./chunk-Z6UDRPC2.cjs');
13
13
  require('./chunk-YJ6X6T5K.cjs');
14
14
  require('./chunk-G5NT42YF.cjs');
15
15
  var chunkDFJQXQ7Q_cjs = require('./chunk-DFJQXQ7Q.cjs');
16
- var chunk5XETLNUY_cjs = require('./chunk-5XETLNUY.cjs');
16
+ var chunk5MIKF753_cjs = require('./chunk-5MIKF753.cjs');
17
17
  var chunkSYXRPCBO_cjs = require('./chunk-SYXRPCBO.cjs');
18
18
  require('./chunk-VOTZLQ6J.cjs');
19
19
  require('./chunk-2J75MYQA.cjs');
@@ -81,7 +81,7 @@ var chunkNQVD3ZW4_cjs = require('./chunk-NQVD3ZW4.cjs');
81
81
  var chunkLPVBUX2J_cjs = require('./chunk-LPVBUX2J.cjs');
82
82
  var chunk76V4RD4V_cjs = require('./chunk-76V4RD4V.cjs');
83
83
  var chunkZAP4EHBO_cjs = require('./chunk-ZAP4EHBO.cjs');
84
- var chunkK5UG7IIX_cjs = require('./chunk-K5UG7IIX.cjs');
84
+ var chunkWMYO3VA4_cjs = require('./chunk-WMYO3VA4.cjs');
85
85
  var chunkGWIACOMY_cjs = require('./chunk-GWIACOMY.cjs');
86
86
  var chunkIJGCH57E_cjs = require('./chunk-IJGCH57E.cjs');
87
87
  var chunk62VCQ2SU_cjs = require('./chunk-62VCQ2SU.cjs');
@@ -116,7 +116,7 @@ require('./chunk-P6DICGAV.cjs');
116
116
 
117
117
  Object.defineProperty(exports, "Waterfall", {
118
118
  enumerable: true,
119
- get: function () { return chunkHQOMRRJK_cjs.Waterfall; }
119
+ get: function () { return chunk2ZBQXVNV_cjs.Waterfall; }
120
120
  });
121
121
  Object.defineProperty(exports, "TreeSearchBar", {
122
122
  enumerable: true,
@@ -124,11 +124,11 @@ Object.defineProperty(exports, "TreeSearchBar", {
124
124
  });
125
125
  Object.defineProperty(exports, "TreeEntryItem", {
126
126
  enumerable: true,
127
- get: function () { return chunk5XETLNUY_cjs.TreeEntryItem; }
127
+ get: function () { return chunk5MIKF753_cjs.TreeEntryItem; }
128
128
  });
129
129
  Object.defineProperty(exports, "TreeView", {
130
130
  enumerable: true,
131
- get: function () { return chunk5XETLNUY_cjs.TreeView; }
131
+ get: function () { return chunk5MIKF753_cjs.TreeView; }
132
132
  });
133
133
  Object.defineProperty(exports, "useTreeSearch", {
134
134
  enumerable: true,
@@ -824,19 +824,19 @@ Object.defineProperty(exports, "PaginationPrevious", {
824
824
  });
825
825
  Object.defineProperty(exports, "GIT_HASH", {
826
826
  enumerable: true,
827
- get: function () { return chunkK5UG7IIX_cjs.GIT_HASH; }
827
+ get: function () { return chunkWMYO3VA4_cjs.GIT_HASH; }
828
828
  });
829
829
  Object.defineProperty(exports, "PACKAGE_VERSION", {
830
830
  enumerable: true,
831
- get: function () { return chunkK5UG7IIX_cjs.PACKAGE_VERSION; }
831
+ get: function () { return chunkWMYO3VA4_cjs.PACKAGE_VERSION; }
832
832
  });
833
833
  Object.defineProperty(exports, "PackageBadge", {
834
834
  enumerable: true,
835
- get: function () { return chunkK5UG7IIX_cjs.PackageBadge; }
835
+ get: function () { return chunkWMYO3VA4_cjs.PackageBadge; }
836
836
  });
837
837
  Object.defineProperty(exports, "UIKitBadge", {
838
838
  enumerable: true,
839
- get: function () { return chunkK5UG7IIX_cjs.UIKitBadge; }
839
+ get: function () { return chunkWMYO3VA4_cjs.UIKitBadge; }
840
840
  });
841
841
  Object.defineProperty(exports, "Avatar", {
842
842
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import './chunk-G3EIVAVR.mjs';
2
- export { Waterfall } from './chunk-I7A2XEYW.mjs';
2
+ export { Waterfall } from './chunk-3M2Y6VIW.mjs';
3
3
  import './chunk-JWKOW2OV.mjs';
4
4
  import './chunk-VPQ5SSY3.mjs';
5
5
  import './chunk-K22BEXUA.mjs';
@@ -11,7 +11,7 @@ import './chunk-CIPI2V54.mjs';
11
11
  import './chunk-WPDU2YYR.mjs';
12
12
  import './chunk-HVVT3D2T.mjs';
13
13
  export { TreeSearchBar } from './chunk-556XSWKR.mjs';
14
- export { TreeEntryItem, TreeView } from './chunk-32727EKD.mjs';
14
+ export { TreeEntryItem, TreeView } from './chunk-7VYMOW2I.mjs';
15
15
  export { useTreeSearch, useTreeState } from './chunk-BWBBQCG2.mjs';
16
16
  import './chunk-HTAFERCZ.mjs';
17
17
  import './chunk-SA5WKLYB.mjs';
@@ -79,7 +79,7 @@ export { Layout } from './chunk-BGYHKHMQ.mjs';
79
79
  export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from './chunk-3THWK3HB.mjs';
80
80
  export { Navigation } from './chunk-LG3PNH2P.mjs';
81
81
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './chunk-NTGUD2JN.mjs';
82
- export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from './chunk-M5JT3JME.mjs';
82
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from './chunk-OZPCCMGQ.mjs';
83
83
  export { Avatar, AvatarFallback, AvatarFallbackRoot, AvatarFallbackSSR, AvatarGroup, AvatarImage, AvatarImageFallback, AvatarImageRoot, AvatarRoot, AvatarSSRFallback } from './chunk-NO35POZW.mjs';
84
84
  export { Badge, badgeVariants } from './chunk-SUSABE24.mjs';
85
85
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-D3IW2NW6.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkK5UG7IIX_cjs = require('../chunk-K5UG7IIX.cjs');
3
+ var chunkWMYO3VA4_cjs = require('../chunk-WMYO3VA4.cjs');
4
4
  require('../chunk-QN4N4I3Z.cjs');
5
5
  require('../chunk-Q7E73DVJ.cjs');
6
6
  require('../chunk-JR4TVE43.cjs');
@@ -16,17 +16,17 @@ require('../chunk-OHIB3TEN.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "GIT_HASH", {
18
18
  enumerable: true,
19
- get: function () { return chunkK5UG7IIX_cjs.GIT_HASH; }
19
+ get: function () { return chunkWMYO3VA4_cjs.GIT_HASH; }
20
20
  });
21
21
  Object.defineProperty(exports, "PACKAGE_VERSION", {
22
22
  enumerable: true,
23
- get: function () { return chunkK5UG7IIX_cjs.PACKAGE_VERSION; }
23
+ get: function () { return chunkWMYO3VA4_cjs.PACKAGE_VERSION; }
24
24
  });
25
25
  Object.defineProperty(exports, "PackageBadge", {
26
26
  enumerable: true,
27
- get: function () { return chunkK5UG7IIX_cjs.PackageBadge; }
27
+ get: function () { return chunkWMYO3VA4_cjs.PackageBadge; }
28
28
  });
29
29
  Object.defineProperty(exports, "UIKitBadge", {
30
30
  enumerable: true,
31
- get: function () { return chunkK5UG7IIX_cjs.UIKitBadge; }
31
+ get: function () { return chunkWMYO3VA4_cjs.UIKitBadge; }
32
32
  });
@@ -1,4 +1,4 @@
1
- export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-M5JT3JME.mjs';
1
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-OZPCCMGQ.mjs';
2
2
  import '../chunk-F7ZHPSLA.mjs';
3
3
  import '../chunk-3QT5VABC.mjs';
4
4
  import '../chunk-XHJDRQD7.mjs';
@@ -5,7 +5,7 @@ import { ComponentProps } from 'react';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
7
  variant?: "default" | "secondary" | "destructive" | "success" | "warning" | null | undefined;
8
- type?: "circle" | "default" | "dot" | null | undefined;
8
+ type?: "default" | "circle" | "dot" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare function Badge({ className, variant, type, asChild, ...props }: ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
11
11
  asChild?: boolean;
@@ -5,7 +5,7 @@ import { ComponentProps } from 'react';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
7
  variant?: "default" | "secondary" | "destructive" | "success" | "warning" | null | undefined;
8
- type?: "circle" | "default" | "dot" | null | undefined;
8
+ type?: "default" | "circle" | "dot" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare function Badge({ className, variant, type, asChild, ...props }: ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
11
11
  asChild?: boolean;
package/dist/ui/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-KFPS5CCR.cjs');
4
- var chunkHQOMRRJK_cjs = require('../chunk-HQOMRRJK.cjs');
4
+ var chunk2ZBQXVNV_cjs = require('../chunk-2ZBQXVNV.cjs');
5
5
  require('../chunk-WJL5HMO6.cjs');
6
6
  require('../chunk-RJ7I6ZQK.cjs');
7
7
  require('../chunk-6TSA7KXX.cjs');
@@ -13,7 +13,7 @@ require('../chunk-Z6UDRPC2.cjs');
13
13
  require('../chunk-YJ6X6T5K.cjs');
14
14
  require('../chunk-G5NT42YF.cjs');
15
15
  var chunkDFJQXQ7Q_cjs = require('../chunk-DFJQXQ7Q.cjs');
16
- var chunk5XETLNUY_cjs = require('../chunk-5XETLNUY.cjs');
16
+ var chunk5MIKF753_cjs = require('../chunk-5MIKF753.cjs');
17
17
  var chunkSYXRPCBO_cjs = require('../chunk-SYXRPCBO.cjs');
18
18
  require('../chunk-VOTZLQ6J.cjs');
19
19
  require('../chunk-2J75MYQA.cjs');
@@ -81,7 +81,7 @@ var chunkNQVD3ZW4_cjs = require('../chunk-NQVD3ZW4.cjs');
81
81
  var chunkLPVBUX2J_cjs = require('../chunk-LPVBUX2J.cjs');
82
82
  var chunk76V4RD4V_cjs = require('../chunk-76V4RD4V.cjs');
83
83
  var chunkZAP4EHBO_cjs = require('../chunk-ZAP4EHBO.cjs');
84
- var chunkK5UG7IIX_cjs = require('../chunk-K5UG7IIX.cjs');
84
+ var chunkWMYO3VA4_cjs = require('../chunk-WMYO3VA4.cjs');
85
85
  var chunkGWIACOMY_cjs = require('../chunk-GWIACOMY.cjs');
86
86
  var chunkIJGCH57E_cjs = require('../chunk-IJGCH57E.cjs');
87
87
  var chunk62VCQ2SU_cjs = require('../chunk-62VCQ2SU.cjs');
@@ -111,7 +111,7 @@ require('../chunk-OHIB3TEN.cjs');
111
111
 
112
112
  Object.defineProperty(exports, "Waterfall", {
113
113
  enumerable: true,
114
- get: function () { return chunkHQOMRRJK_cjs.Waterfall; }
114
+ get: function () { return chunk2ZBQXVNV_cjs.Waterfall; }
115
115
  });
116
116
  Object.defineProperty(exports, "TreeSearchBar", {
117
117
  enumerable: true,
@@ -119,11 +119,11 @@ Object.defineProperty(exports, "TreeSearchBar", {
119
119
  });
120
120
  Object.defineProperty(exports, "TreeEntryItem", {
121
121
  enumerable: true,
122
- get: function () { return chunk5XETLNUY_cjs.TreeEntryItem; }
122
+ get: function () { return chunk5MIKF753_cjs.TreeEntryItem; }
123
123
  });
124
124
  Object.defineProperty(exports, "TreeView", {
125
125
  enumerable: true,
126
- get: function () { return chunk5XETLNUY_cjs.TreeView; }
126
+ get: function () { return chunk5MIKF753_cjs.TreeView; }
127
127
  });
128
128
  Object.defineProperty(exports, "useTreeSearch", {
129
129
  enumerable: true,
@@ -819,19 +819,19 @@ Object.defineProperty(exports, "PaginationPrevious", {
819
819
  });
820
820
  Object.defineProperty(exports, "GIT_HASH", {
821
821
  enumerable: true,
822
- get: function () { return chunkK5UG7IIX_cjs.GIT_HASH; }
822
+ get: function () { return chunkWMYO3VA4_cjs.GIT_HASH; }
823
823
  });
824
824
  Object.defineProperty(exports, "PACKAGE_VERSION", {
825
825
  enumerable: true,
826
- get: function () { return chunkK5UG7IIX_cjs.PACKAGE_VERSION; }
826
+ get: function () { return chunkWMYO3VA4_cjs.PACKAGE_VERSION; }
827
827
  });
828
828
  Object.defineProperty(exports, "PackageBadge", {
829
829
  enumerable: true,
830
- get: function () { return chunkK5UG7IIX_cjs.PackageBadge; }
830
+ get: function () { return chunkWMYO3VA4_cjs.PackageBadge; }
831
831
  });
832
832
  Object.defineProperty(exports, "UIKitBadge", {
833
833
  enumerable: true,
834
- get: function () { return chunkK5UG7IIX_cjs.UIKitBadge; }
834
+ get: function () { return chunkWMYO3VA4_cjs.UIKitBadge; }
835
835
  });
836
836
  Object.defineProperty(exports, "Avatar", {
837
837
  enumerable: true,
package/dist/ui/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import '../chunk-G3EIVAVR.mjs';
2
- export { Waterfall } from '../chunk-I7A2XEYW.mjs';
2
+ export { Waterfall } from '../chunk-3M2Y6VIW.mjs';
3
3
  import '../chunk-JWKOW2OV.mjs';
4
4
  import '../chunk-VPQ5SSY3.mjs';
5
5
  import '../chunk-K22BEXUA.mjs';
@@ -11,7 +11,7 @@ import '../chunk-CIPI2V54.mjs';
11
11
  import '../chunk-WPDU2YYR.mjs';
12
12
  import '../chunk-HVVT3D2T.mjs';
13
13
  export { TreeSearchBar } from '../chunk-556XSWKR.mjs';
14
- export { TreeEntryItem, TreeView } from '../chunk-32727EKD.mjs';
14
+ export { TreeEntryItem, TreeView } from '../chunk-7VYMOW2I.mjs';
15
15
  export { useTreeSearch, useTreeState } from '../chunk-BWBBQCG2.mjs';
16
16
  import '../chunk-HTAFERCZ.mjs';
17
17
  import '../chunk-SA5WKLYB.mjs';
@@ -79,7 +79,7 @@ export { Layout } from '../chunk-BGYHKHMQ.mjs';
79
79
  export { Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from '../chunk-3THWK3HB.mjs';
80
80
  export { Navigation } from '../chunk-LG3PNH2P.mjs';
81
81
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../chunk-NTGUD2JN.mjs';
82
- export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-M5JT3JME.mjs';
82
+ export { GIT_HASH, PACKAGE_VERSION, PackageBadge, UIKitBadge } from '../chunk-OZPCCMGQ.mjs';
83
83
  export { Avatar, AvatarFallback, AvatarFallbackRoot, AvatarFallbackSSR, AvatarGroup, AvatarImage, AvatarImageFallback, AvatarImageRoot, AvatarRoot, AvatarSSRFallback } from '../chunk-NO35POZW.mjs';
84
84
  export { Badge, badgeVariants } from '../chunk-SUSABE24.mjs';
85
85
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-D3IW2NW6.mjs';
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "error" | "disabled" | "default" | null | undefined;
7
+ state?: "default" | "disabled" | "error" | null | undefined;
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -4,7 +4,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const inputRootVariants: (props?: ({
7
- state?: "error" | "disabled" | "default" | null | undefined;
7
+ state?: "default" | "disabled" | "error" | null | undefined;
8
8
  size?: "sm" | "md" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface InputRootProps extends Omit<ComponentProps<"input">, "size">, VariantProps<typeof inputRootVariants> {
@@ -21,7 +21,7 @@ declare function SelectGroup({ className, ...props }: ComponentProps<typeof Sele
21
21
  */
22
22
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
23
23
  declare const selectTriggerVariants: (props?: ({
24
- state?: "error" | "disabled" | "default" | null | undefined;
24
+ state?: "default" | "disabled" | "error" | null | undefined;
25
25
  size?: "sm" | "md" | "lg" | null | undefined;
26
26
  font?: "standard" | "mono" | null | undefined;
27
27
  align?: "left" | "right" | "center" | null | undefined;
@@ -21,7 +21,7 @@ declare function SelectGroup({ className, ...props }: ComponentProps<typeof Sele
21
21
  */
22
22
  declare function SelectValue({ ...props }: ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
23
23
  declare const selectTriggerVariants: (props?: ({
24
- state?: "error" | "disabled" | "default" | null | undefined;
24
+ state?: "default" | "disabled" | "error" | null | undefined;
25
25
  size?: "sm" | "md" | "lg" | null | undefined;
26
26
  font?: "standard" | "mono" | null | undefined;
27
27
  align?: "left" | "right" | "center" | null | undefined;
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "error" | "default" | null | undefined;
7
+ state?: "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  import { ComponentProps } from 'react';
5
5
 
6
6
  declare const textareaVariants: (props?: ({
7
- state?: "error" | "default" | null | undefined;
7
+ state?: "default" | "error" | null | undefined;
8
8
  size?: "base" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface TextareaProps extends ComponentProps<"textarea">, VariantProps<typeof textareaVariants> {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk5XETLNUY_cjs = require('../../chunk-5XETLNUY.cjs');
3
+ var chunk5MIKF753_cjs = require('../../chunk-5MIKF753.cjs');
4
4
  require('../../chunk-QN4N4I3Z.cjs');
5
5
  require('../../chunk-Q7E73DVJ.cjs');
6
6
  require('../../chunk-JR4TVE43.cjs');
@@ -16,9 +16,9 @@ require('../../chunk-OHIB3TEN.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "TreeEntryItem", {
18
18
  enumerable: true,
19
- get: function () { return chunk5XETLNUY_cjs.TreeEntryItem; }
19
+ get: function () { return chunk5MIKF753_cjs.TreeEntryItem; }
20
20
  });
21
21
  Object.defineProperty(exports, "TreeView", {
22
22
  enumerable: true,
23
- get: function () { return chunk5XETLNUY_cjs.TreeView; }
23
+ get: function () { return chunk5MIKF753_cjs.TreeView; }
24
24
  });
@@ -7,9 +7,9 @@ import { TreeDataItem, TreeDataItemWithMeta } from './types.cjs';
7
7
  */
8
8
  type TreeViewProps<T extends TreeDataItem> = {
9
9
  data: TreeDataItemWithMeta<T>[];
10
- getIcon: (item: T) => ReactNode;
11
- expandedItems: Set<string>;
12
- onToggleItem: (id: string) => void;
10
+ getIcon: (item: T, expanded?: boolean) => ReactNode;
11
+ expandedItems?: Set<string>;
12
+ onToggleItem?: (id: string) => void;
13
13
  onItemHover?: (id: string | null) => void;
14
14
  hoveredId?: string | null;
15
15
  isSelectable?: boolean;
@@ -40,7 +40,7 @@ declare function TreeEntryItem<T extends TreeDataItem>({ item, hoveredId, onItem
40
40
  toggleItem?: (id: string) => void;
41
41
  hideExpand?: boolean;
42
42
  hasDescendants?: (id: string) => boolean;
43
- getIcon?: (item: T) => ReactNode;
43
+ getIcon?: (item: T, expanded?: boolean) => ReactNode;
44
44
  renderLabel?: (label: string, itemId: string) => ReactNode;
45
45
  dataWithMeta?: TreeDataItemWithMeta<T>[];
46
46
  }): react_jsx_runtime.JSX.Element;
@@ -7,9 +7,9 @@ import { TreeDataItem, TreeDataItemWithMeta } from './types.js';
7
7
  */
8
8
  type TreeViewProps<T extends TreeDataItem> = {
9
9
  data: TreeDataItemWithMeta<T>[];
10
- getIcon: (item: T) => ReactNode;
11
- expandedItems: Set<string>;
12
- onToggleItem: (id: string) => void;
10
+ getIcon: (item: T, expanded?: boolean) => ReactNode;
11
+ expandedItems?: Set<string>;
12
+ onToggleItem?: (id: string) => void;
13
13
  onItemHover?: (id: string | null) => void;
14
14
  hoveredId?: string | null;
15
15
  isSelectable?: boolean;
@@ -40,7 +40,7 @@ declare function TreeEntryItem<T extends TreeDataItem>({ item, hoveredId, onItem
40
40
  toggleItem?: (id: string) => void;
41
41
  hideExpand?: boolean;
42
42
  hasDescendants?: (id: string) => boolean;
43
- getIcon?: (item: T) => ReactNode;
43
+ getIcon?: (item: T, expanded?: boolean) => ReactNode;
44
44
  renderLabel?: (label: string, itemId: string) => ReactNode;
45
45
  dataWithMeta?: TreeDataItemWithMeta<T>[];
46
46
  }): react_jsx_runtime.JSX.Element;
@@ -1,4 +1,4 @@
1
- export { TreeEntryItem, TreeView } from '../../chunk-32727EKD.mjs';
1
+ export { TreeEntryItem, TreeView } from '../../chunk-7VYMOW2I.mjs';
2
2
  import '../../chunk-F7ZHPSLA.mjs';
3
3
  import '../../chunk-3QT5VABC.mjs';
4
4
  import '../../chunk-XHJDRQD7.mjs';
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('../../chunk-G5NT42YF.cjs');
4
4
  var chunkDFJQXQ7Q_cjs = require('../../chunk-DFJQXQ7Q.cjs');
5
- var chunk5XETLNUY_cjs = require('../../chunk-5XETLNUY.cjs');
5
+ var chunk5MIKF753_cjs = require('../../chunk-5MIKF753.cjs');
6
6
  var chunkSYXRPCBO_cjs = require('../../chunk-SYXRPCBO.cjs');
7
7
  require('../../chunk-VOTZLQ6J.cjs');
8
8
  require('../../chunk-LCCNBVKZ.cjs');
@@ -26,11 +26,11 @@ Object.defineProperty(exports, "TreeSearchBar", {
26
26
  });
27
27
  Object.defineProperty(exports, "TreeEntryItem", {
28
28
  enumerable: true,
29
- get: function () { return chunk5XETLNUY_cjs.TreeEntryItem; }
29
+ get: function () { return chunk5MIKF753_cjs.TreeEntryItem; }
30
30
  });
31
31
  Object.defineProperty(exports, "TreeView", {
32
32
  enumerable: true,
33
- get: function () { return chunk5XETLNUY_cjs.TreeView; }
33
+ get: function () { return chunk5MIKF753_cjs.TreeView; }
34
34
  });
35
35
  Object.defineProperty(exports, "useTreeSearch", {
36
36
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  import '../../chunk-HVVT3D2T.mjs';
2
2
  export { TreeSearchBar } from '../../chunk-556XSWKR.mjs';
3
- export { TreeEntryItem, TreeView } from '../../chunk-32727EKD.mjs';
3
+ export { TreeEntryItem, TreeView } from '../../chunk-7VYMOW2I.mjs';
4
4
  export { useTreeSearch, useTreeState } from '../../chunk-BWBBQCG2.mjs';
5
5
  import '../../chunk-HTAFERCZ.mjs';
6
6
  import '../../chunk-PCSY5IJ2.mjs';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkHQOMRRJK_cjs = require('../../chunk-HQOMRRJK.cjs');
3
+ var chunk2ZBQXVNV_cjs = require('../../chunk-2ZBQXVNV.cjs');
4
4
  require('../../chunk-WJL5HMO6.cjs');
5
5
  require('../../chunk-RJ7I6ZQK.cjs');
6
6
  require('../../chunk-6TSA7KXX.cjs');
@@ -12,7 +12,7 @@ require('../../chunk-Z6UDRPC2.cjs');
12
12
  require('../../chunk-YJ6X6T5K.cjs');
13
13
  require('../../chunk-G5NT42YF.cjs');
14
14
  require('../../chunk-DFJQXQ7Q.cjs');
15
- require('../../chunk-5XETLNUY.cjs');
15
+ require('../../chunk-5MIKF753.cjs');
16
16
  require('../../chunk-SYXRPCBO.cjs');
17
17
  require('../../chunk-VOTZLQ6J.cjs');
18
18
  require('../../chunk-2J75MYQA.cjs');
@@ -38,7 +38,7 @@ require('../../chunk-OHIB3TEN.cjs');
38
38
 
39
39
  Object.defineProperty(exports, "Waterfall", {
40
40
  enumerable: true,
41
- get: function () { return chunkHQOMRRJK_cjs.Waterfall; }
41
+ get: function () { return chunk2ZBQXVNV_cjs.Waterfall; }
42
42
  });
43
43
  Object.defineProperty(exports, "TOTAL_DURATION", {
44
44
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { Waterfall } from '../../chunk-I7A2XEYW.mjs';
1
+ export { Waterfall } from '../../chunk-3M2Y6VIW.mjs';
2
2
  import '../../chunk-JWKOW2OV.mjs';
3
3
  import '../../chunk-VPQ5SSY3.mjs';
4
4
  import '../../chunk-K22BEXUA.mjs';
@@ -10,7 +10,7 @@ import '../../chunk-CIPI2V54.mjs';
10
10
  import '../../chunk-WPDU2YYR.mjs';
11
11
  import '../../chunk-HVVT3D2T.mjs';
12
12
  import '../../chunk-556XSWKR.mjs';
13
- import '../../chunk-32727EKD.mjs';
13
+ import '../../chunk-7VYMOW2I.mjs';
14
14
  import '../../chunk-BWBBQCG2.mjs';
15
15
  import '../../chunk-HTAFERCZ.mjs';
16
16
  import '../../chunk-SA5WKLYB.mjs';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuer-ai/vuer-uikit",
3
3
  "author": "Ge Yang",
4
- "version": "0.0.83",
4
+ "version": "0.0.84",
5
5
  "files": [
6
6
  "/dist"
7
7
  ],