@ark-ui/solid 5.25.1 → 5.26.0

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.
Files changed (105) hide show
  1. package/dist/chunk/{CH3GLCFX.js → 32EVBYDL.js} +1 -1
  2. package/dist/chunk/{23B5B3VX.jsx → 4WB67STQ.jsx} +1 -1
  3. package/dist/chunk/{RMND72NW.js → 5YW6MRNT.js} +1 -1
  4. package/dist/chunk/{KYRUJHLK.js → 7JN4LQUU.js} +1 -1
  5. package/dist/chunk/{ZYGTO3AY.js → AMNLZAAM.js} +1 -1
  6. package/dist/chunk/{YL3RNWHK.jsx → B52HQAYI.jsx} +1 -1
  7. package/dist/chunk/{3DSCTOOH.js → BTB7GNM5.js} +1 -1
  8. package/dist/chunk/{STPRTN7P.js → E7OCYTQK.js} +1 -1
  9. package/dist/chunk/{SLQO5NYP.jsx → ELOWJYIF.jsx} +1 -1
  10. package/dist/chunk/{VJY6HKZZ.jsx → EZY7GKXA.jsx} +1 -1
  11. package/dist/chunk/{LC5AV5KP.jsx → FCPJ3RNY.jsx} +1 -1
  12. package/dist/chunk/{BH37SJGO.jsx → FLNIMVCM.jsx} +4 -4
  13. package/dist/chunk/{TM2GVE66.js → FSWHKOUJ.js} +1 -1
  14. package/dist/chunk/{F2QWYZEN.js → GYSTTEHB.js} +1 -1
  15. package/dist/chunk/{PKGJ2YMV.js → JDIMSSD7.js} +5 -1
  16. package/dist/chunk/{RRMUJHF3.js → JUN7WBUJ.js} +1 -1
  17. package/dist/chunk/{2Y27RT46.jsx → LUYWTVT2.jsx} +1 -1
  18. package/dist/chunk/{H5NQWWX6.jsx → MTKWTKSJ.jsx} +1 -1
  19. package/dist/chunk/{KSGKEG2Q.js → O7E5IIY5.js} +10 -3
  20. package/dist/chunk/{5Y4OZGVJ.jsx → OQS7GY5L.jsx} +1 -1
  21. package/dist/chunk/{OD2K6HNA.jsx → OX46DSZG.jsx} +22 -7
  22. package/dist/chunk/{W43ULPH7.js → PKE2IAZR.js} +1 -1
  23. package/dist/chunk/{MEW6C2CB.js → PPO5Y7EZ.js} +1 -1
  24. package/dist/chunk/{2LPJGLTN.jsx → QFNXMCYK.jsx} +1 -0
  25. package/dist/chunk/{RFNTSH5G.js → RDBBPPKH.js} +1 -1
  26. package/dist/chunk/{E6W66E2W.js → RQQ2HX5E.js} +1 -1
  27. package/dist/chunk/{56OOJF3B.js → SALTGWUI.js} +1 -1
  28. package/dist/chunk/{UEHKUIGJ.js → SAQ5ZJYG.js} +1 -1
  29. package/dist/chunk/{2VUM665L.jsx → SDGVKFY2.jsx} +2 -0
  30. package/dist/chunk/{CTWE2FJ6.jsx → SHJYZHXV.jsx} +1 -1
  31. package/dist/chunk/{YSJMQYTR.jsx → SKABWRW2.jsx} +1 -1
  32. package/dist/chunk/{V3Y4REDM.jsx → SNBGNSXC.jsx} +1 -1
  33. package/dist/chunk/{QJ2E7QNC.jsx → UQ24SGE2.jsx} +1 -1
  34. package/dist/chunk/{EKMENCH5.jsx → UVYKW576.jsx} +1 -1
  35. package/dist/chunk/{5EZRD32D.jsx → VFKDKUO2.jsx} +1 -1
  36. package/dist/chunk/{6UPLMXM2.js → XZGVIXTK.js} +1 -1
  37. package/dist/chunk/{RUQHUQAF.js → YWE3F6BH.js} +1 -1
  38. package/dist/chunk/{VA3VRJ56.jsx → ZHZ6OA3V.jsx} +5 -1
  39. package/dist/components/accordion/index.js +1 -1
  40. package/dist/components/accordion/index.jsx +2 -2
  41. package/dist/components/anatomy.js +13 -13
  42. package/dist/components/anatomy.jsx +28 -28
  43. package/dist/components/bottom-sheet/index.d.ts +1 -1
  44. package/dist/components/bottom-sheet/index.js +1 -1
  45. package/dist/components/bottom-sheet/index.jsx +2 -2
  46. package/dist/components/collapsible/index.js +1 -1
  47. package/dist/components/collapsible/index.jsx +1 -1
  48. package/dist/components/color-picker/index.d.ts +1 -1
  49. package/dist/components/color-picker/index.js +1 -1
  50. package/dist/components/color-picker/index.jsx +2 -2
  51. package/dist/components/combobox/index.d.ts +5 -4
  52. package/dist/components/combobox/index.js +1 -1
  53. package/dist/components/combobox/index.jsx +6 -6
  54. package/dist/components/date-picker/index.d.ts +1 -1
  55. package/dist/components/date-picker/index.js +1 -1
  56. package/dist/components/date-picker/index.jsx +2 -2
  57. package/dist/components/dialog/index.d.ts +1 -1
  58. package/dist/components/dialog/index.js +1 -1
  59. package/dist/components/dialog/index.jsx +2 -2
  60. package/dist/components/floating-panel/index.d.ts +1 -1
  61. package/dist/components/floating-panel/index.js +1 -1
  62. package/dist/components/floating-panel/index.jsx +2 -2
  63. package/dist/components/hover-card/index.d.ts +1 -1
  64. package/dist/components/hover-card/index.js +1 -1
  65. package/dist/components/hover-card/index.jsx +2 -2
  66. package/dist/components/index.d.ts +8 -8
  67. package/dist/components/index.js +43 -43
  68. package/dist/components/index.jsx +226 -224
  69. package/dist/components/json-tree-view/index.d.ts +1 -1
  70. package/dist/components/json-tree-view/index.js +1 -1
  71. package/dist/components/json-tree-view/index.jsx +4 -4
  72. package/dist/components/listbox/index.d.ts +6 -5
  73. package/dist/components/listbox/index.jsx +1 -1
  74. package/dist/components/menu/index.d.ts +1 -1
  75. package/dist/components/menu/index.js +1 -1
  76. package/dist/components/menu/index.jsx +2 -2
  77. package/dist/components/pagination/index.d.ts +4 -3
  78. package/dist/components/pagination/index.js +1 -1
  79. package/dist/components/pagination/index.jsx +1 -1
  80. package/dist/components/popover/index.d.ts +1 -1
  81. package/dist/components/popover/index.js +1 -1
  82. package/dist/components/popover/index.jsx +2 -2
  83. package/dist/components/presence/index.d.ts +2 -2
  84. package/dist/components/presence/index.js +1 -1
  85. package/dist/components/presence/index.jsx +1 -1
  86. package/dist/components/select/index.d.ts +6 -5
  87. package/dist/components/select/index.js +1 -1
  88. package/dist/components/select/index.jsx +6 -6
  89. package/dist/components/tabs/index.js +1 -1
  90. package/dist/components/tabs/index.jsx +2 -2
  91. package/dist/components/tooltip/index.d.ts +1 -1
  92. package/dist/components/tooltip/index.js +1 -1
  93. package/dist/components/tooltip/index.jsx +2 -2
  94. package/dist/components/tour/index.d.ts +1 -1
  95. package/dist/components/tour/index.js +1 -1
  96. package/dist/components/tour/index.jsx +2 -2
  97. package/dist/components/tree-view/index.d.ts +16 -6
  98. package/dist/components/tree-view/index.js +1 -1
  99. package/dist/components/tree-view/index.jsx +6 -4
  100. package/dist/index.d.ts +8 -8
  101. package/dist/index.js +43 -43
  102. package/dist/index.jsx +226 -224
  103. package/dist/{tree-view-tree-Bsm9ZNuk.d.ts → tree-view-tree-BEAzL2YS.d.ts} +3 -2
  104. package/dist/{use-presence-CT1xpuuo.d.ts → use-presence-DZuLEWMI.d.ts} +1 -1
  105. package/package.json +73 -72
@@ -56,7 +56,7 @@ var usePagination = (props) => {
56
56
 
57
57
  // src/components/pagination/pagination-root.tsx
58
58
  var PaginationRoot = (props) => {
59
- const [usePaginationProps, localProps] = createSplitProps()(props, ["count", "defaultPage", "defaultPageSize", "id", "ids", "onPageChange", "onPageSizeChange", "page", "pageSize", "siblingCount", "translations", "type"]);
59
+ const [usePaginationProps, localProps] = createSplitProps()(props, ["count", "defaultPage", "defaultPageSize", "getPageUrl", "id", "ids", "onPageChange", "onPageSizeChange", "page", "pageSize", "siblingCount", "translations", "type"]);
60
60
  const api = usePagination(usePaginationProps);
61
61
  const mergedProps = mergeProps(() => api().getRootProps(), localProps);
62
62
  return createComponent(PaginationProvider, {
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -1,4 +1,4 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { useEnvironmentContext } from './QM3ROTYU.js';
@@ -1,4 +1,4 @@
1
- import { usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -1,4 +1,4 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  useFieldContext
9
9
  } from "./7SG5GQHN.jsx";
@@ -1,4 +1,4 @@
1
- import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { usePresence, splitPresenceProps, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { tourAnatomy } from './NYBIYPS4.js';
4
4
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './QFAL6GWC.js';
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -2,13 +2,13 @@ import {
2
2
  tree_view_exports,
3
3
  useTreeView,
4
4
  useTreeViewContext
5
- } from "./OD2K6HNA.jsx";
6
- import {
7
- createTreeCollection
8
- } from "./EFII6TXL.jsx";
5
+ } from "./OX46DSZG.jsx";
9
6
  import {
10
7
  createSplitProps
11
8
  } from "./6WEDGJKQ.jsx";
9
+ import {
10
+ createTreeCollection
11
+ } from "./EFII6TXL.jsx";
12
12
  import {
13
13
  createContext
14
14
  } from "./TVCIHLER.jsx";
@@ -1,4 +1,4 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -1,4 +1,4 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -27,10 +27,14 @@ var usePresence = (props) => {
27
27
  const present = api().present;
28
28
  if (present) setWasEverPresent(true);
29
29
  });
30
+ const setNode = (node) => {
31
+ if (!node) return;
32
+ service.send({ type: "NODE.SET", node });
33
+ };
30
34
  return createMemo(() => ({
31
35
  unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
32
36
  present: api().present,
33
- ref: api().setNode,
37
+ ref: setNode,
34
38
  presenceProps: {
35
39
  hidden: !api().present,
36
40
  "data-state": api().skip && localProps.skipAnimationOnMount ? void 0 : localProps.present ? "open" : "closed"
@@ -1,4 +1,4 @@
1
- import { useCollapsibleContext, collapsible_exports } from './E6W66E2W.js';
1
+ import { useCollapsibleContext, collapsible_exports } from './RQQ2HX5E.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  RenderStrategyProvider,
9
9
  splitRenderStrategyProps,
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  useFieldContext
9
9
  } from "./7SG5GQHN.jsx";
@@ -1,4 +1,4 @@
1
- import { collapsible_exports } from './E6W66E2W.js';
1
+ import { collapsible_exports } from './RQQ2HX5E.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -134,6 +134,12 @@ var TreeViewNodeCheckboxIndicator = (props) => {
134
134
  }
135
135
  return props.fallback;
136
136
  };
137
+ var TreeViewNodeRenameInput = (props) => {
138
+ const treeView2 = useTreeViewContext();
139
+ const nodeProps = useTreeViewNodePropsContext();
140
+ const mergedProps = mergeProps(() => treeView2().getNodeRenameInputProps(nodeProps), props);
141
+ return createComponent(ark.input, mergedProps);
142
+ };
137
143
 
138
144
  // src/components/tree-view/tree-view-node-context.ts
139
145
  var TreeViewNodeContext = (props) => props.children(useTreeViewNodeContext());
@@ -170,7 +176,7 @@ var useTreeView = (props) => {
170
176
  // src/components/tree-view/tree-view-root.tsx
171
177
  var TreeViewRoot = (props) => {
172
178
  const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
173
- const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onSelectionChange", "selectedValue", "selectionMode", "typeahead"]);
179
+ const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, ["canRename", "checkedValue", "collection", "defaultCheckedValue", "defaultExpandedValue", "defaultFocusedValue", "defaultSelectedValue", "expandedValue", "expandOnClick", "focusedValue", "id", "ids", "loadChildren", "onBeforeRename", "onCheckedChange", "onExpandedChange", "onFocusChange", "onLoadChildrenComplete", "onLoadChildrenError", "onRenameComplete", "onRenameStart", "onSelectionChange", "selectedValue", "selectionMode", "typeahead"]);
174
180
  const treeView2 = useTreeView(useTreeViewProps);
175
181
  const mergedProps = mergeProps(() => treeView2().getRootProps(), localProps);
176
182
  return createComponent(TreeViewProvider, {
@@ -228,9 +234,10 @@ __export(tree_view_exports, {
228
234
  NodeCheckboxIndicator: () => TreeViewNodeCheckboxIndicator,
229
235
  NodeContext: () => TreeViewNodeContext,
230
236
  NodeProvider: () => TreeViewNodeProvider,
237
+ NodeRenameInput: () => TreeViewNodeRenameInput,
231
238
  Root: () => TreeViewRoot,
232
239
  RootProvider: () => TreeViewRootProvider,
233
240
  Tree: () => TreeViewTree
234
241
  });
235
242
 
236
- export { TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewRoot, TreeViewRootProvider, TreeViewTree, tree_view_exports, useTreeView, useTreeViewContext, useTreeViewNodeContext };
243
+ export { TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewContext, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNodeCheckbox, TreeViewNodeCheckboxIndicator, TreeViewNodeContext, TreeViewNodeProvider, TreeViewNodeRenameInput, TreeViewRoot, TreeViewRootProvider, TreeViewTree, tree_view_exports, useTreeView, useTreeViewContext, useTreeViewNodeContext };
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  RenderStrategyProvider,
9
9
  splitRenderStrategyProps,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  collapsible_exports
3
- } from "./2VUM665L.jsx";
3
+ } from "./SDGVKFY2.jsx";
4
4
  import {
5
5
  RenderStrategyProvider,
6
6
  splitRenderStrategyProps,
@@ -188,6 +188,15 @@ var TreeViewNodeCheckboxIndicator = (props) => {
188
188
  return props.fallback;
189
189
  };
190
190
 
191
+ // src/components/tree-view/tree-view-node-rename-input.tsx
192
+ import { mergeProps as mergeProps13 } from "@zag-js/solid";
193
+ var TreeViewNodeRenameInput = (props) => {
194
+ const treeView2 = useTreeViewContext();
195
+ const nodeProps = useTreeViewNodePropsContext();
196
+ const mergedProps = mergeProps13(() => treeView2().getNodeRenameInputProps(nodeProps), props);
197
+ return <ark.input {...mergedProps} />;
198
+ };
199
+
191
200
  // src/components/tree-view/tree-view-node-context.ts
192
201
  var TreeViewNodeContext = (props) => props.children(useTreeViewNodeContext());
193
202
 
@@ -203,7 +212,7 @@ function TreeViewNodeProvider(props) {
203
212
  }
204
213
 
205
214
  // src/components/tree-view/tree-view-root.tsx
206
- import { mergeProps as mergeProps13 } from "@zag-js/solid";
215
+ import { mergeProps as mergeProps14 } from "@zag-js/solid";
207
216
 
208
217
  // src/components/tree-view/use-tree-view.ts
209
218
  import { normalizeProps, useMachine } from "@zag-js/solid";
@@ -227,6 +236,7 @@ var useTreeView = (props) => {
227
236
  var TreeViewRoot = (props) => {
228
237
  const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
229
238
  const [useTreeViewProps, localProps] = createSplitProps()(treeViewProps, [
239
+ "canRename",
230
240
  "checkedValue",
231
241
  "collection",
232
242
  "defaultCheckedValue",
@@ -239,18 +249,21 @@ var TreeViewRoot = (props) => {
239
249
  "id",
240
250
  "ids",
241
251
  "loadChildren",
252
+ "onBeforeRename",
242
253
  "onCheckedChange",
243
254
  "onExpandedChange",
244
255
  "onFocusChange",
245
256
  "onLoadChildrenComplete",
246
257
  "onLoadChildrenError",
258
+ "onRenameComplete",
259
+ "onRenameStart",
247
260
  "onSelectionChange",
248
261
  "selectedValue",
249
262
  "selectionMode",
250
263
  "typeahead"
251
264
  ]);
252
265
  const treeView2 = useTreeView(useTreeViewProps);
253
- const mergedProps = mergeProps13(() => treeView2().getRootProps(), localProps);
266
+ const mergedProps = mergeProps14(() => treeView2().getRootProps(), localProps);
254
267
  return <TreeViewProvider value={treeView2}>
255
268
  <RenderStrategyProvider value={renderStrategyProps}>
256
269
  <ark.div {...mergedProps} />
@@ -259,11 +272,11 @@ var TreeViewRoot = (props) => {
259
272
  };
260
273
 
261
274
  // src/components/tree-view/tree-view-root-provider.tsx
262
- import { mergeProps as mergeProps14 } from "@zag-js/solid";
275
+ import { mergeProps as mergeProps15 } from "@zag-js/solid";
263
276
  var TreeViewRootProvider = (props) => {
264
277
  const [renderStrategyProps, treeViewProps] = splitRenderStrategyProps(props);
265
278
  const [{ value: treeView2 }, localProps] = createSplitProps()(treeViewProps, ["value"]);
266
- const mergedProps = mergeProps14(() => treeView2().getRootProps(), localProps);
279
+ const mergedProps = mergeProps15(() => treeView2().getRootProps(), localProps);
267
280
  return <TreeViewProvider value={treeView2}>
268
281
  <RenderStrategyProvider value={renderStrategyProps}>
269
282
  <ark.div {...mergedProps} />
@@ -272,10 +285,10 @@ var TreeViewRootProvider = (props) => {
272
285
  };
273
286
 
274
287
  // src/components/tree-view/tree-view-tree.tsx
275
- import { mergeProps as mergeProps15 } from "@zag-js/solid";
288
+ import { mergeProps as mergeProps16 } from "@zag-js/solid";
276
289
  var TreeViewTree = (props) => {
277
290
  const treeView2 = useTreeViewContext();
278
- const mergedProps = mergeProps15(() => treeView2().getTreeProps(), props);
291
+ const mergedProps = mergeProps16(() => treeView2().getTreeProps(), props);
279
292
  return <ark.div {...mergedProps} />;
280
293
  };
281
294
 
@@ -298,6 +311,7 @@ __export(tree_view_exports, {
298
311
  NodeCheckboxIndicator: () => TreeViewNodeCheckboxIndicator,
299
312
  NodeContext: () => TreeViewNodeContext,
300
313
  NodeProvider: () => TreeViewNodeProvider,
314
+ NodeRenameInput: () => TreeViewNodeRenameInput,
301
315
  Root: () => TreeViewRoot,
302
316
  RootProvider: () => TreeViewRootProvider,
303
317
  Tree: () => TreeViewTree
@@ -320,6 +334,7 @@ export {
320
334
  TreeViewLabel,
321
335
  TreeViewNodeCheckbox,
322
336
  TreeViewNodeCheckboxIndicator,
337
+ TreeViewNodeRenameInput,
323
338
  TreeViewNodeContext,
324
339
  TreeViewNodeProvider,
325
340
  useTreeView,
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -1,4 +1,4 @@
1
- import { useTreeViewContext, tree_view_exports, useTreeView } from './KSGKEG2Q.js';
1
+ import { useTreeViewContext, tree_view_exports, useTreeView } from './O7E5IIY5.js';
2
2
  import { createTreeCollection } from './APULXWCH.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { createContext } from './TROPIN4C.js';
@@ -90,6 +90,7 @@ var PaginationRoot = (props) => {
90
90
  "count",
91
91
  "defaultPage",
92
92
  "defaultPageSize",
93
+ "getPageUrl",
93
94
  "id",
94
95
  "ids",
95
96
  "onPageChange",
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { useFieldContext } from './XVLA2LIV.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { colorPickerAnatomy } from './7ANKVUWM.js';
@@ -59,7 +59,7 @@ var useCollapsible = (props = {}) => {
59
59
 
60
60
  // src/components/collapsible/collapsible-root.tsx
61
61
  var CollapsibleRoot = (props) => {
62
- const [useCollapsibleProps, localProps] = createSplitProps()(props, ["defaultOpen", "disabled", "id", "ids", "lazyMount", "onExitComplete", "onOpenChange", "open", "unmountOnExit"]);
62
+ const [useCollapsibleProps, localProps] = createSplitProps()(props, ["collapsedHeight", "collapsedWidth", "defaultOpen", "disabled", "id", "ids", "lazyMount", "onExitComplete", "onOpenChange", "open", "unmountOnExit"]);
63
63
  const api = useCollapsible(useCollapsibleProps);
64
64
  const mergedProps = mergeProps(() => api().getRootProps(), localProps);
65
65
  return createComponent(CollapsibleProvider, {
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { useFieldContext } from './XVLA2LIV.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { comboboxAnatomy } from './POIATK64.js';
@@ -1,4 +1,4 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './PKGJ2YMV.js';
1
+ import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
@@ -79,6 +79,8 @@ var useCollapsible = (props = {}) => {
79
79
  // src/components/collapsible/collapsible-root.tsx
80
80
  var CollapsibleRoot = (props) => {
81
81
  const [useCollapsibleProps, localProps] = createSplitProps()(props, [
82
+ "collapsedHeight",
83
+ "collapsedWidth",
82
84
  "defaultOpen",
83
85
  "disabled",
84
86
  "id",
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  createSplitProps
9
9
  } from "./6WEDGJKQ.jsx";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PresenceProvider,
3
3
  usePresence
4
- } from "./VA3VRJ56.jsx";
4
+ } from "./ZHZ6OA3V.jsx";
5
5
  import {
6
6
  RenderStrategyProvider,
7
7
  splitRenderStrategyProps,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  collapsible_exports,
3
3
  useCollapsibleContext
4
- } from "./2VUM665L.jsx";
4
+ } from "./SDGVKFY2.jsx";
5
5
  import {
6
6
  RenderStrategyProvider,
7
7
  splitRenderStrategyProps,
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  composeRefs
9
9
  } from "./PT2CJE3O.jsx";
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  useFieldContext
9
9
  } from "./7SG5GQHN.jsx";
@@ -3,7 +3,7 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./VA3VRJ56.jsx";
6
+ } from "./ZHZ6OA3V.jsx";
7
7
  import {
8
8
  RenderStrategyProvider,
9
9
  splitRenderStrategyProps,
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { datePickerAnatomy } from './6HVSV6OM.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -1,4 +1,4 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './PKGJ2YMV.js';
1
+ import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './JDIMSSD7.js';
2
2
  import { useFieldContext } from './XVLA2LIV.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
@@ -44,10 +44,14 @@ var usePresence = (props) => {
44
44
  const present = api().present;
45
45
  if (present) setWasEverPresent(true);
46
46
  });
47
+ const setNode = (node) => {
48
+ if (!node) return;
49
+ service.send({ type: "NODE.SET", node });
50
+ };
47
51
  return createMemo(() => ({
48
52
  unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
49
53
  present: api().present,
50
- ref: api().setNode,
54
+ ref: setNode,
51
55
  presenceProps: {
52
56
  hidden: !api().present,
53
57
  "data-state": api().skip && localProps.skipAnimationOnMount ? void 0 : localProps.present ? "open" : "closed"
@@ -1,2 +1,2 @@
1
- export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/RRMUJHF3.js';
1
+ export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/JUN7WBUJ.js';
2
2
  export { anatomy as accordionAnatomy } from '../../chunk/PB2JIZF3.js';
@@ -11,8 +11,8 @@ import {
11
11
  useAccordion,
12
12
  useAccordionContext,
13
13
  useAccordionItemContext
14
- } from "../../chunk/V3Y4REDM.jsx";
15
- import "../../chunk/2VUM665L.jsx";
14
+ } from "../../chunk/SNBGNSXC.jsx";
15
+ import "../../chunk/SDGVKFY2.jsx";
16
16
  import "../../chunk/NEBB7COJ.jsx";
17
17
  import "../../chunk/6WEDGJKQ.jsx";
18
18
  import "../../chunk/ODQYYKL5.jsx";
@@ -1,46 +1,46 @@
1
- export { toggleAnatomy } from '../chunk/SFRXWD47.js';
2
1
  export { anatomy as toggleGroupAnatomy } from '../chunk/3PQKB7JL.js';
2
+ export { anatomy as toastAnatomy } from '../chunk/MBCVM3KL.js';
3
3
  export { anatomy as tooltipAnatomy } from '../chunk/2QIJEKZE.js';
4
4
  export { tourAnatomy } from '../chunk/NYBIYPS4.js';
5
- export { anatomy as sliderAnatomy } from '../chunk/PC36Y6WZ.js';
6
5
  export { anatomy as splitterAnatomy } from '../chunk/BNHBX4H3.js';
7
- export { anatomy as switchAnatomy } from '../chunk/OJQQDBG3.js';
6
+ export { anatomy as sliderAnatomy } from '../chunk/PC36Y6WZ.js';
8
7
  export { anatomy as stepsAnatomy } from '../chunk/KN55GBHY.js';
9
8
  export { anatomy as tabsAnatomy } from '../chunk/6TAVRECK.js';
9
+ export { anatomy as switchAnatomy } from '../chunk/OJQQDBG3.js';
10
10
  export { anatomy as tagsInputAnatomy } from '../chunk/YJODW6F4.js';
11
11
  export { anatomy as timerAnatomy } from '../chunk/A42OP6DG.js';
12
- export { anatomy as toastAnatomy } from '../chunk/MBCVM3KL.js';
13
- export { anatomy as progressAnatomy } from '../chunk/GJWOK4FU.js';
12
+ export { toggleAnatomy } from '../chunk/SFRXWD47.js';
14
13
  export { anatomy as qrCodeAnatomy } from '../chunk/QGELD777.js';
15
- export { anatomy as ratingGroupAnatomy } from '../chunk/KKVVL7G7.js';
14
+ export { anatomy as progressAnatomy } from '../chunk/GJWOK4FU.js';
16
15
  export { anatomy as radioGroupAnatomy } from '../chunk/7BD55LQZ.js';
16
+ export { anatomy as ratingGroupAnatomy } from '../chunk/KKVVL7G7.js';
17
17
  export { anatomy as scrollAreaAnatomy } from '../chunk/JWEOE6CF.js';
18
18
  export { segmentGroupAnatomy } from '../chunk/JHQYEBNS.js';
19
19
  export { anatomy as signaturePadAnatomy } from '../chunk/764Z3BY5.js';
20
20
  export { anatomy as selectAnatomy } from '../chunk/NY6K5EF2.js';
21
+ export { anatomy as numberInputAnatomy } from '../chunk/NS5ADIQR.js';
21
22
  export { listboxAnatomy } from '../chunk/3I7TGCD3.js';
22
- export { anatomy as menuAnatomy } from '../chunk/EJIFXSNU.js';
23
23
  export { anatomy as paginationAnatomy } from '../chunk/GFN5RE7J.js';
24
- export { anatomy as numberInputAnatomy } from '../chunk/NS5ADIQR.js';
25
- export { anatomy as passwordInputAnatomy } from '../chunk/4N4QYAZL.js';
24
+ export { anatomy as menuAnatomy } from '../chunk/EJIFXSNU.js';
26
25
  export { anatomy as pinInputAnatomy } from '../chunk/KTJSC5UU.js';
26
+ export { anatomy as passwordInputAnatomy } from '../chunk/4N4QYAZL.js';
27
27
  export { anatomy as popoverAnatomy } from '../chunk/RA5M6G52.js';
28
28
  export { anatomy as fileUploadAnatomy } from '../chunk/6ZYXYM4Y.js';
29
+ export { anatomy as floatingPanelAnatomy } from '../chunk/7ENGUGCM.js';
29
30
  export { anatomy as hoverCardAnatomy } from '../chunk/J2L2RHHK.js';
30
31
  export { anatomy as treeViewAnatomy } from '../chunk/QFI45UIA.js';
31
- export { colorPickerAnatomy } from '../chunk/7ANKVUWM.js';
32
- export { comboboxAnatomy } from '../chunk/POIATK64.js';
33
32
  export { anatomy as dialogAnatomy } from '../chunk/AMS6WBXV.js';
33
+ export { comboboxAnatomy } from '../chunk/POIATK64.js';
34
34
  export { datePickerAnatomy } from '../chunk/6HVSV6OM.js';
35
+ export { colorPickerAnatomy } from '../chunk/7ANKVUWM.js';
35
36
  export { anatomy as editableAnatomy } from '../chunk/T4TXUFN5.js';
36
- export { anatomy as floatingPanelAnatomy } from '../chunk/7ENGUGCM.js';
37
37
  export { anatomy as avatarAnatomy } from '../chunk/YOEDWE3L.js';
38
38
  export { anatomy as bottomSheetAnatomy } from '../chunk/2R6SK2X3.js';
39
+ export { anatomy as carouselAnatomy } from '../chunk/4EHDEDQ4.js';
39
40
  export { checkboxAnatomy } from '../chunk/G5RHOVDI.js';
40
41
  export { fieldAnatomy } from '../chunk/DAGJUXUK.js';
41
42
  export { fieldsetAnatomy } from '../chunk/FCMJTSIR.js';
42
43
  export { anatomy as clipboardAnatomy } from '../chunk/RT7IPDCG.js';
43
- export { anatomy as carouselAnatomy } from '../chunk/4EHDEDQ4.js';
44
44
  export { anatomy as accordionAnatomy } from '../chunk/PB2JIZF3.js';
45
45
  export { anatomy as collapsibleAnatomy } from '../chunk/O4XIKULN.js';
46
46
  export { anatomy as angleSliderAnatomy } from '../chunk/32UGE3KC.js';