@ark-ui/solid 4.10.1 → 5.0.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 (255) hide show
  1. package/README.md +6 -9
  2. package/dist/chunk/{E72NMPSK.jsx → 2FYSIKNK.jsx} +5 -13
  3. package/dist/chunk/{2ILK4IFM.jsx → 2TEQVFZN.jsx} +16 -28
  4. package/dist/chunk/{2H4WHODR.js → 3CUJRNYI.js} +7 -10
  5. package/dist/chunk/{MRQ2UYM4.jsx → 3VB4UGEY.jsx} +8 -10
  6. package/dist/chunk/{ATMUKDFF.js → 44YJVOL2.js} +8 -10
  7. package/dist/chunk/{RVUYRERH.jsx → 4D76BVTD.jsx} +35 -17
  8. package/dist/chunk/{VARNCRUN.js → 4E5OPUFZ.js} +16 -18
  9. package/dist/chunk/{5JS7LFUQ.js → 4GOBFWQB.js} +9 -8
  10. package/dist/chunk/{RAEDLHD3.js → 55NHLACH.js} +11 -14
  11. package/dist/chunk/{2HTNQLGP.jsx → 676ULDTZ.jsx} +9 -13
  12. package/dist/chunk/{U7SPBSDD.jsx → 6AKFQH4M.jsx} +8 -13
  13. package/dist/chunk/{QODB3C3M.js → 6MQ6S5JP.js} +8 -5
  14. package/dist/chunk/{CIPYIXIW.js → 6NMPU3T3.js} +8 -10
  15. package/dist/chunk/{FNEB2RAF.js → 6VITT55B.js} +9 -10
  16. package/dist/chunk/{SBPY26HV.jsx → 7AJYNPOZ.jsx} +8 -11
  17. package/dist/chunk/{EHJDQTTW.jsx → 7IAJIOJR.jsx} +3 -16
  18. package/dist/chunk/{UGKLUHKU.js → A4HLKXDW.js} +8 -11
  19. package/dist/chunk/{3LRXHWW2.js → A6LAAZDX.js} +32 -27
  20. package/dist/chunk/{LVPQ6GR4.js → AIQ2GVFX.js} +6 -7
  21. package/dist/chunk/{JVXNYKNA.js → ANDTZLCB.js} +8 -10
  22. package/dist/chunk/{5O4RWSWO.jsx → BPYAMTER.jsx} +6 -4
  23. package/dist/chunk/{AIQFNVCU.jsx → BTPWLTJU.jsx} +9 -18
  24. package/dist/chunk/{22UQ4DZC.js → C4WAO4VB.js} +9 -10
  25. package/dist/chunk/{2W32Z6JZ.js → DBAO7VQW.js} +9 -10
  26. package/dist/chunk/{5SRZ3YYC.js → DEA5DIWS.js} +7 -8
  27. package/dist/chunk/{SUVE6C6L.jsx → DH5DKFFF.jsx} +17 -35
  28. package/dist/chunk/{TMUQ6SLE.jsx → DS2MX7YY.jsx} +8 -11
  29. package/dist/chunk/{34OZO53S.js → DVI7TRLG.js} +9 -12
  30. package/dist/chunk/{AWO62YTJ.js → E2TLJMGI.js} +15 -17
  31. package/dist/chunk/{H4RSHLA7.jsx → EH5LPBSV.jsx} +9 -13
  32. package/dist/chunk/{F3QPTRGW.jsx → EIGYBOW2.jsx} +27 -34
  33. package/dist/chunk/{HU7FZMJI.jsx → ENXUS2WG.jsx} +9 -14
  34. package/dist/chunk/{NDY7YFV2.js → EUXWRO3A.js} +16 -17
  35. package/dist/chunk/{K54W24N6.jsx → FHWNUAQM.jsx} +10 -15
  36. package/dist/chunk/{MJNR43Q5.js → FX6TOMB3.js} +14 -25
  37. package/dist/chunk/{DUYGPLFV.js → GUQTNAZU.js} +9 -10
  38. package/dist/chunk/{B7LE23PE.jsx → H5QZC4VW.jsx} +9 -13
  39. package/dist/chunk/{NK4T7LIZ.jsx → H7SWP54F.jsx} +7 -11
  40. package/dist/chunk/{M2FICVVI.js → HQEG6EKY.js} +9 -11
  41. package/dist/chunk/{U3XJZI3X.jsx → I4VF53LH.jsx} +15 -25
  42. package/dist/chunk/{FDN5MSFM.js → JOWPVE6E.js} +8 -9
  43. package/dist/chunk/{SN5TXTB6.jsx → JZ7ZQZT4.jsx} +17 -54
  44. package/dist/chunk/{632HFNZF.js → KMFRZGLF.js} +36 -15
  45. package/dist/chunk/{GZVCPLKK.jsx → KQ4BIFPS.jsx} +9 -10
  46. package/dist/chunk/{XCNALQF7.js → LFWIA7VB.js} +11 -14
  47. package/dist/chunk/{7BGOIKYK.jsx → LKOJO4VB.jsx} +17 -31
  48. package/dist/chunk/{5XD5ZSBX.js → M2C67TPA.js} +13 -17
  49. package/dist/chunk/{2GATVLPK.js → M63JXHU4.js} +7 -8
  50. package/dist/chunk/MOG4V2NQ.jsx +15 -0
  51. package/dist/chunk/{XUVXUPEH.js → MZD7ZKWI.js} +2 -7
  52. package/dist/chunk/{YCYZZGN2.jsx → NCURFCYQ.jsx} +9 -8
  53. package/dist/chunk/{5ONYCKM3.jsx → NEBB7COJ.jsx} +1 -1
  54. package/dist/chunk/{Q7NPTAJI.js → NNZQ2FQW.js} +8 -9
  55. package/dist/chunk/{FS3LMJ37.jsx → O5AHG7DQ.jsx} +16 -19
  56. package/dist/chunk/{6YQ3EF2J.js → O62NKGT4.js} +9 -11
  57. package/dist/chunk/{2J42A7KM.js → OA5UZFKE.js} +2 -2
  58. package/dist/chunk/{CPMYIT5J.jsx → OAH52ZNM.jsx} +11 -12
  59. package/dist/chunk/OAPCRIL5.js +8 -0
  60. package/dist/chunk/{T4NRAKVA.jsx → OEZAIQU2.jsx} +9 -10
  61. package/dist/chunk/{YV5BACLX.js → OIGKROX4.js} +9 -9
  62. package/dist/chunk/{IQJBNZOX.jsx → PES3MXH3.jsx} +8 -6
  63. package/dist/chunk/{3V3HI6QW.js → PJNGX4UT.js} +9 -8
  64. package/dist/chunk/{3HMZSTYX.js → PL4PGQFF.js} +8 -10
  65. package/dist/chunk/{RH2PDRKN.jsx → POFK2TVP.jsx} +8 -9
  66. package/dist/chunk/{HWL7X2QR.jsx → PVOFTEOB.jsx} +21 -40
  67. package/dist/chunk/{HPDOBQ3V.js → QEMQBM6W.js} +1 -1
  68. package/dist/chunk/{L7OSYHVR.js → QFAL6GWC.js} +1 -1
  69. package/dist/chunk/{QA6ZMN5Y.js → QKFZ3XTM.js} +14 -28
  70. package/dist/chunk/{IZC6PKGT.jsx → QZQUUXCF.jsx} +10 -14
  71. package/dist/chunk/{DUDD2T7G.js → R6Q7TUSQ.js} +8 -11
  72. package/dist/chunk/{3QQZKR3F.jsx → RCXMZN3G.jsx} +1 -1
  73. package/dist/chunk/{N73ADPX5.jsx → RG3IJESS.jsx} +46 -78
  74. package/dist/chunk/{SWUA2VFC.js → SAI3RCJY.js} +7 -10
  75. package/dist/chunk/{ZC6KWJ4T.jsx → SBKJA5N2.jsx} +7 -12
  76. package/dist/chunk/{RZBYC7DR.jsx → SBLZHOW2.jsx} +3 -12
  77. package/dist/chunk/SDD2HKR3.js +71 -0
  78. package/dist/chunk/{WIVXL7HJ.jsx → SL2ZPLSH.jsx} +9 -13
  79. package/dist/chunk/{XTV6ZFAA.js → SRPSYZUL.js} +7 -8
  80. package/dist/chunk/{DOPROT6M.jsx → SWZSXMPJ.jsx} +10 -8
  81. package/dist/chunk/{BY62F4IV.jsx → TEZHN26Z.jsx} +8 -11
  82. package/dist/chunk/{5EVN6V64.js → TMTD3AUG.js} +12 -15
  83. package/dist/chunk/{I5UG2QUO.js → TROPIN4C.js} +1 -7
  84. package/dist/chunk/{NMGUCD2L.jsx → TVCIHLER.jsx} +2 -11
  85. package/dist/chunk/{5CYHETDY.js → UIAQFG6P.js} +7 -7
  86. package/dist/chunk/{2NEVBQW4.jsx → USV2CYTP.jsx} +9 -9
  87. package/dist/chunk/{GXWVYON6.js → V2YBSJKS.js} +8 -10
  88. package/dist/chunk/{WQQVH7YG.jsx → VLUE7XIS.jsx} +34 -19
  89. package/dist/chunk/{TC2QHQ47.jsx → WPEIDU6T.jsx} +17 -42
  90. package/dist/chunk/{LCESUDZB.js → WRLQ7Y6E.js} +5 -13
  91. package/dist/chunk/{7KPVYYFT.js → WT3OTYHP.js} +27 -11
  92. package/dist/chunk/{IOTZAUDA.jsx → WUTUKX4C.jsx} +1 -1
  93. package/dist/chunk/{34JAVC2R.jsx → WZ7FNJXM.jsx} +11 -15
  94. package/dist/chunk/X34KVQNW.js +1 -1
  95. package/dist/chunk/{MSHQY44G.jsx → XHA6B6L2.jsx} +23 -23
  96. package/dist/chunk/{CQN5S4C3.jsx → XNZ7GOP4.jsx} +15 -24
  97. package/dist/chunk/{MYMGOYXH.js → XR4WJDUT.js} +2 -2
  98. package/dist/chunk/{SJSLQDBZ.jsx → YE6V66JY.jsx} +10 -18
  99. package/dist/chunk/{W43X4SNE.js → YS6KIHEB.js} +6 -6
  100. package/dist/chunk/{FVMQXW27.jsx → ZOMTU4P2.jsx} +12 -22
  101. package/dist/components/accordion/index.d.ts +2 -7
  102. package/dist/components/accordion/index.js +1 -1
  103. package/dist/components/accordion/index.jsx +7 -8
  104. package/dist/components/avatar/index.d.ts +2 -2
  105. package/dist/components/avatar/index.js +1 -1
  106. package/dist/components/avatar/index.jsx +5 -6
  107. package/dist/components/carousel/index.d.ts +3 -8
  108. package/dist/components/carousel/index.js +1 -1
  109. package/dist/components/carousel/index.jsx +5 -6
  110. package/dist/components/checkbox/index.d.ts +3 -8
  111. package/dist/components/checkbox/index.js +1 -1
  112. package/dist/components/checkbox/index.jsx +8 -9
  113. package/dist/components/clipboard/index.d.ts +2 -2
  114. package/dist/components/clipboard/index.js +1 -1
  115. package/dist/components/clipboard/index.jsx +5 -6
  116. package/dist/components/collapsible/index.d.ts +2 -7
  117. package/dist/components/collapsible/index.js +1 -1
  118. package/dist/components/collapsible/index.jsx +6 -7
  119. package/dist/components/collection.d.ts +3 -3
  120. package/dist/components/collection.js +1 -1
  121. package/dist/components/collection.jsx +1 -1
  122. package/dist/components/color-picker/index.d.ts +4 -14
  123. package/dist/components/color-picker/index.js +1 -1
  124. package/dist/components/color-picker/index.jsx +10 -10
  125. package/dist/components/combobox/index.d.ts +3 -13
  126. package/dist/components/combobox/index.js +2 -2
  127. package/dist/components/combobox/index.jsx +12 -12
  128. package/dist/components/date-picker/index.d.ts +8 -20
  129. package/dist/components/date-picker/index.js +1 -1
  130. package/dist/components/date-picker/index.jsx +7 -8
  131. package/dist/components/dialog/index.d.ts +3 -8
  132. package/dist/components/dialog/index.js +1 -1
  133. package/dist/components/dialog/index.jsx +7 -8
  134. package/dist/components/editable/index.d.ts +2 -12
  135. package/dist/components/editable/index.js +1 -1
  136. package/dist/components/editable/index.jsx +8 -8
  137. package/dist/components/field/index.d.ts +3 -2
  138. package/dist/components/field/index.js +1 -1
  139. package/dist/components/field/index.jsx +4 -3
  140. package/dist/components/fieldset/index.d.ts +2 -2
  141. package/dist/components/fieldset/index.js +1 -1
  142. package/dist/components/fieldset/index.jsx +2 -2
  143. package/dist/components/file-upload/index.d.ts +6 -6
  144. package/dist/components/file-upload/index.js +1 -1
  145. package/dist/components/file-upload/index.jsx +8 -8
  146. package/dist/components/focus-trap/index.d.ts +1 -1
  147. package/dist/components/format/index.js +1 -1
  148. package/dist/components/format/index.jsx +4 -5
  149. package/dist/components/frame/index.js +1 -1
  150. package/dist/components/frame/index.jsx +4 -5
  151. package/dist/components/hover-card/index.d.ts +3 -8
  152. package/dist/components/hover-card/index.js +1 -1
  153. package/dist/components/hover-card/index.jsx +7 -8
  154. package/dist/components/index.d.ts +2 -1
  155. package/dist/components/index.js +45 -45
  156. package/dist/components/index.jsx +325 -327
  157. package/dist/components/menu/index.d.ts +4 -9
  158. package/dist/components/menu/index.js +1 -1
  159. package/dist/components/menu/index.jsx +7 -8
  160. package/dist/components/number-input/index.d.ts +2 -7
  161. package/dist/components/number-input/index.js +1 -1
  162. package/dist/components/number-input/index.jsx +8 -8
  163. package/dist/components/pagination/index.d.ts +2 -7
  164. package/dist/components/pagination/index.js +1 -1
  165. package/dist/components/pagination/index.jsx +5 -6
  166. package/dist/components/pin-input/index.d.ts +2 -7
  167. package/dist/components/pin-input/index.js +1 -1
  168. package/dist/components/pin-input/index.jsx +8 -8
  169. package/dist/components/popover/index.d.ts +3 -8
  170. package/dist/components/popover/index.js +1 -1
  171. package/dist/components/popover/index.jsx +7 -8
  172. package/dist/components/presence/index.d.ts +2 -2
  173. package/dist/components/presence/index.js +1 -1
  174. package/dist/components/presence/index.jsx +3 -3
  175. package/dist/components/progress/index.d.ts +2 -7
  176. package/dist/components/progress/index.js +1 -1
  177. package/dist/components/progress/index.jsx +5 -6
  178. package/dist/components/qr-code/index.d.ts +2 -7
  179. package/dist/components/qr-code/index.js +1 -1
  180. package/dist/components/qr-code/index.jsx +5 -6
  181. package/dist/components/radio-group/index.d.ts +2 -7
  182. package/dist/components/radio-group/index.js +1 -1
  183. package/dist/components/radio-group/index.jsx +5 -6
  184. package/dist/components/rating-group/index.d.ts +5 -10
  185. package/dist/components/rating-group/index.js +1 -1
  186. package/dist/components/rating-group/index.jsx +8 -8
  187. package/dist/components/segment-group/index.d.ts +3 -8
  188. package/dist/components/segment-group/index.js +1 -1
  189. package/dist/components/segment-group/index.jsx +5 -6
  190. package/dist/components/select/index.d.ts +3 -13
  191. package/dist/components/select/index.js +2 -2
  192. package/dist/components/select/index.jsx +12 -12
  193. package/dist/components/signature-pad/index.d.ts +2 -2
  194. package/dist/components/signature-pad/index.js +1 -1
  195. package/dist/components/signature-pad/index.jsx +8 -8
  196. package/dist/components/slider/index.d.ts +3 -8
  197. package/dist/components/slider/index.js +1 -1
  198. package/dist/components/slider/index.jsx +5 -6
  199. package/dist/components/splitter/index.d.ts +3 -8
  200. package/dist/components/splitter/index.js +1 -1
  201. package/dist/components/splitter/index.jsx +5 -6
  202. package/dist/components/steps/index.d.ts +6 -10
  203. package/dist/components/steps/index.js +1 -1
  204. package/dist/components/steps/index.jsx +5 -6
  205. package/dist/components/switch/index.d.ts +2 -7
  206. package/dist/components/switch/index.js +1 -1
  207. package/dist/components/switch/index.jsx +8 -8
  208. package/dist/components/tabs/index.d.ts +2 -7
  209. package/dist/components/tabs/index.js +1 -1
  210. package/dist/components/tabs/index.jsx +7 -8
  211. package/dist/components/tags-input/index.d.ts +2 -7
  212. package/dist/components/tags-input/index.js +1 -1
  213. package/dist/components/tags-input/index.jsx +8 -8
  214. package/dist/components/time-picker/index.d.ts +3 -13
  215. package/dist/components/time-picker/index.js +1 -1
  216. package/dist/components/time-picker/index.jsx +7 -8
  217. package/dist/components/timer/index.d.ts +2 -2
  218. package/dist/components/timer/index.js +1 -1
  219. package/dist/components/timer/index.jsx +5 -6
  220. package/dist/components/toast/index.d.ts +6 -7
  221. package/dist/components/toast/index.js +1 -1
  222. package/dist/components/toast/index.jsx +5 -2
  223. package/dist/components/toggle/index.d.ts +5 -34
  224. package/dist/components/toggle/index.js +1 -1
  225. package/dist/components/toggle/index.jsx +2 -4
  226. package/dist/components/toggle-group/index.d.ts +3 -8
  227. package/dist/components/toggle-group/index.js +1 -1
  228. package/dist/components/toggle-group/index.jsx +5 -6
  229. package/dist/components/tooltip/index.d.ts +3 -8
  230. package/dist/components/tooltip/index.js +1 -1
  231. package/dist/components/tooltip/index.jsx +7 -8
  232. package/dist/components/tour/index.d.ts +6 -6
  233. package/dist/components/tour/index.js +1 -1
  234. package/dist/components/tour/index.jsx +7 -8
  235. package/dist/components/tree-view/index.d.ts +6 -16
  236. package/dist/components/tree-view/index.js +2 -2
  237. package/dist/components/tree-view/index.jsx +9 -10
  238. package/dist/index.d.ts +2 -1
  239. package/dist/index.js +47 -47
  240. package/dist/index.jsx +325 -327
  241. package/dist/providers/environment/index.js +1 -1
  242. package/dist/providers/environment/index.jsx +2 -3
  243. package/dist/providers/index.js +2 -2
  244. package/dist/providers/index.jsx +3 -4
  245. package/dist/providers/locale/index.js +1 -1
  246. package/dist/providers/locale/index.jsx +2 -2
  247. package/dist/{use-presence-Ct1onT3-.d.ts → use-presence-C07V_WCb.d.ts} +1 -1
  248. package/package.json +76 -83
  249. package/dist/chunk/52WUF3CY.jsx +0 -26
  250. package/dist/chunk/BSPFGETO.js +0 -21
  251. package/dist/chunk/CTTG4GSG.js +0 -30
  252. package/dist/chunk/DT73WLR4.js +0 -5
  253. package/dist/chunk/JHG4EID2.jsx +0 -233
  254. package/dist/chunk/KGOB2IMX.jsx +0 -7
  255. package/dist/chunk/MV3KTL7M.js +0 -107
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  collapsible_exports,
3
3
  useCollapsibleContext
4
- } from "./B7LE23PE.jsx";
4
+ } from "./H5QZC4VW.jsx";
5
5
  import {
6
6
  RenderStrategyProvider,
7
7
  splitRenderStrategyProps,
8
8
  useRenderStrategyContext
9
- } from "./5ONYCKM3.jsx";
9
+ } from "./NEBB7COJ.jsx";
10
10
  import {
11
11
  createSplitProps
12
12
  } from "./6WEDGJKQ.jsx";
@@ -15,13 +15,13 @@ import {
15
15
  } from "./UFYZ7HLU.jsx";
16
16
  import {
17
17
  useEnvironmentContext
18
- } from "./5O4RWSWO.jsx";
18
+ } from "./BPYAMTER.jsx";
19
19
  import {
20
20
  useLocaleContext
21
- } from "./3QQZKR3F.jsx";
21
+ } from "./RCXMZN3G.jsx";
22
22
  import {
23
23
  createContext
24
- } from "./NMGUCD2L.jsx";
24
+ } from "./TVCIHLER.jsx";
25
25
  import {
26
26
  __export
27
27
  } from "./7IUG3E2V.jsx";
@@ -80,10 +80,7 @@ var AccordionItemContent = (props) => {
80
80
  const itemProps = useAccordionItemPropsContext();
81
81
  const itemContentProps = createMemo2(() => {
82
82
  const contentProps = accordion2().getItemContentProps(itemProps);
83
- const [, ownProps] = splitVisibilityProps(contentProps, [
84
- "hidden",
85
- "data-state"
86
- ]);
83
+ const [, ownProps] = splitVisibilityProps(contentProps, ["hidden", "data-state"]);
87
84
  return ownProps;
88
85
  });
89
86
  const mergedProps = mergeProps2(() => itemContentProps(), props);
@@ -125,17 +122,14 @@ var useAccordion = (props = {}) => {
125
122
  const id = createUniqueId();
126
123
  const locale = useLocaleContext();
127
124
  const environment = useEnvironmentContext();
128
- const context = createMemo3(() => ({
125
+ const machineProps = createMemo3(() => ({
129
126
  id,
130
127
  dir: locale().dir,
131
- value: props.defaultValue,
132
128
  getRootNode: environment().getRootNode,
133
129
  ...props
134
130
  }));
135
- const [state, send] = useMachine(accordion.machine(context()), {
136
- context
137
- });
138
- return createMemo3(() => accordion.connect(state, send, normalizeProps));
131
+ const service = useMachine(accordion.machine, machineProps);
132
+ return createMemo3(() => accordion.connect(service, normalizeProps));
139
133
  };
140
134
 
141
135
  // src/components/accordion/accordion-root.tsx
@@ -166,9 +160,7 @@ var AccordionRoot = (props) => {
166
160
  import { mergeProps as mergeProps6 } from "@zag-js/solid";
167
161
  var AccordionRootProvider = (props) => {
168
162
  const [renderStrategyProps, accordionProps] = splitRenderStrategyProps(props);
169
- const [{ value: accordion2 }, localProps] = createSplitProps()(accordionProps, [
170
- "value"
171
- ]);
163
+ const [{ value: accordion2 }, localProps] = createSplitProps()(accordionProps, ["value"]);
172
164
  const mergedProps = mergeProps6(() => accordion2().getRootProps(), localProps);
173
165
  return <AccordionProvider value={accordion2}>
174
166
  <RenderStrategyProvider value={renderStrategyProps}>
@@ -1,8 +1,8 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
2
  import { ark } from './EPLBB4QN.js';
3
- import { useEnvironmentContext } from './QODB3C3M.js';
4
- import { useLocaleContext } from './HPDOBQ3V.js';
5
- import { createContext } from './I5UG2QUO.js';
3
+ import { useEnvironmentContext } from './6MQ6S5JP.js';
4
+ import { useLocaleContext } from './QEMQBM6W.js';
5
+ import { createContext } from './TROPIN4C.js';
6
6
  import { __export } from './ESLJRKWD.js';
7
7
  import { createComponent } from 'solid-js/web';
8
8
  import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
@@ -32,14 +32,14 @@ var useAvatar = (props = {}) => {
32
32
  const locale = useLocaleContext();
33
33
  const environment = useEnvironmentContext();
34
34
  const id = createUniqueId();
35
- const context = createMemo(() => ({
35
+ const machineProps = createMemo(() => ({
36
36
  id,
37
37
  dir: locale().dir,
38
38
  getRootNode: environment().getRootNode,
39
39
  ...props
40
40
  }));
41
- const [state, send] = useMachine(avatar.machine(context()), { context });
42
- return createMemo(() => avatar.connect(state, send, normalizeProps));
41
+ const service = useMachine(avatar.machine, machineProps);
42
+ return createMemo(() => avatar.connect(service, normalizeProps));
43
43
  };
44
44
 
45
45
  // src/components/avatar/avatar-root.tsx
@@ -3,12 +3,12 @@ import {
3
3
  splitPresenceProps,
4
4
  usePresence,
5
5
  usePresenceContext
6
- } from "./E72NMPSK.jsx";
6
+ } from "./2FYSIKNK.jsx";
7
7
  import {
8
8
  RenderStrategyProvider,
9
9
  splitRenderStrategyProps,
10
10
  useRenderStrategyContext
11
- } from "./5ONYCKM3.jsx";
11
+ } from "./NEBB7COJ.jsx";
12
12
  import {
13
13
  createSplitProps
14
14
  } from "./6WEDGJKQ.jsx";
@@ -17,13 +17,13 @@ import {
17
17
  } from "./UFYZ7HLU.jsx";
18
18
  import {
19
19
  useEnvironmentContext
20
- } from "./5O4RWSWO.jsx";
20
+ } from "./BPYAMTER.jsx";
21
21
  import {
22
22
  useLocaleContext
23
- } from "./3QQZKR3F.jsx";
23
+ } from "./RCXMZN3G.jsx";
24
24
  import {
25
25
  createContext
26
- } from "./NMGUCD2L.jsx";
26
+ } from "./TVCIHLER.jsx";
27
27
  import {
28
28
  __export
29
29
  } from "./7IUG3E2V.jsx";
@@ -39,14 +39,10 @@ var [TourProvider, useTourContext] = createContext({
39
39
 
40
40
  // src/components/tour/tour-action-trigger.tsx
41
41
  var TourActionTrigger = (props) => {
42
- const [actionTriggerProps, localProps] = createSplitProps()(props, [
43
- "action"
44
- ]);
42
+ const [actionTriggerProps, localProps] = createSplitProps()(props, ["action"]);
45
43
  const tour2 = useTourContext();
46
44
  const mergedProps = mergeProps(() => tour2().getActionTriggerProps(actionTriggerProps), localProps);
47
- return <ark.button {...mergedProps}>
48
- {mergedProps.children || actionTriggerProps.action.label}
49
- </ark.button>;
45
+ return <ark.button {...mergedProps}>{mergedProps.children || actionTriggerProps.action.label}</ark.button>;
50
46
  };
51
47
 
52
48
  // src/components/tour/tour-actions.tsx
@@ -157,9 +153,7 @@ import { mergeProps as mergeProps10 } from "@zag-js/solid";
157
153
  var TourProgressText = (props) => {
158
154
  const tour2 = useTourContext();
159
155
  const mergedProps = mergeProps10(() => tour2().getProgressTextProps(), props);
160
- return <ark.div {...mergedProps}>
161
- {mergedProps.children || tour2().getProgressText()}
162
- </ark.div>;
156
+ return <ark.div {...mergedProps}>{mergedProps.children || tour2().getProgressText()}</ark.div>;
163
157
  };
164
158
 
165
159
  // src/components/tour/tour-root.tsx
@@ -167,9 +161,7 @@ import { mergeProps as mergeProps11 } from "@zag-js/solid";
167
161
  var TourRoot = (props) => {
168
162
  const [presenceProps, rootProps] = splitPresenceProps(props);
169
163
  const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
170
- const presence = usePresence(
171
- mergeProps11(presenceProps, () => ({ present: rootProps.tour().open }))
172
- );
164
+ const presence = usePresence(mergeProps11(presenceProps, () => ({ present: rootProps.tour().open })));
173
165
  return <TourProvider value={rootProps.tour}>
174
166
  <RenderStrategyProvider value={renderStrategyProps}>
175
167
  <PresenceProvider value={presence}>{rootProps.children}</PresenceProvider>
@@ -210,16 +202,14 @@ var useTour = (props = {}) => {
210
202
  const id = createUniqueId();
211
203
  const locale = useLocaleContext();
212
204
  const environment = useEnvironmentContext();
213
- const context = createMemo(() => ({
205
+ const machineProps = createMemo(() => ({
214
206
  id,
215
207
  dir: locale().dir,
216
208
  getRootNode: environment().getRootNode,
217
209
  ...props
218
210
  }));
219
- const [state, send] = useMachine(tour.machine(context()), {
220
- context
221
- });
222
- return createMemo(() => tour.connect(state, send, normalizeProps));
211
+ const service = useMachine(tour.machine, machineProps);
212
+ return createMemo(() => tour.connect(service, normalizeProps));
223
213
  };
224
214
 
225
215
  // src/components/tour/tour.ts
@@ -5,15 +5,10 @@ import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { PropTypes } from '@zag-js/solid';
7
7
  import { O as Optional } from '../../types-B277wCdv.js';
8
- import { PolymorphicProps, HTMLProps } from '../factory.js';
8
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
  import { R as RenderStrategyProps } from '../../render-strategy-B5MqQP3X.js';
10
10
 
11
- interface UseAccordionProps extends Optional<Omit<accordion$1.Context, 'dir' | 'getRootNode'>, 'id'> {
12
- /**
13
- * The initial value of the accordion when it is first rendered.
14
- * Use when you do not need to control the state of the color picker.
15
- */
16
- defaultValue?: accordion$1.Context['value'];
11
+ interface UseAccordionProps extends Optional<Omit<accordion$1.Props, 'dir' | 'getRootNode'>, 'id'> {
17
12
  }
18
13
  interface UseAccordionReturn extends Accessor<accordion$1.Api<PropTypes>> {
19
14
  }
@@ -1 +1 @@
1
- export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/34OZO53S.js';
1
+ export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/DVI7TRLG.js';
@@ -12,16 +12,15 @@ import {
12
12
  useAccordion,
13
13
  useAccordionContext,
14
14
  useAccordionItemContext
15
- } from "../../chunk/SJSLQDBZ.jsx";
16
- import "../../chunk/B7LE23PE.jsx";
17
- import "../../chunk/5ONYCKM3.jsx";
15
+ } from "../../chunk/YE6V66JY.jsx";
16
+ import "../../chunk/H5QZC4VW.jsx";
17
+ import "../../chunk/NEBB7COJ.jsx";
18
18
  import "../../chunk/6WEDGJKQ.jsx";
19
- import "../../chunk/ODQYYKL5.jsx";
20
19
  import "../../chunk/UFYZ7HLU.jsx";
21
- import "../../chunk/5O4RWSWO.jsx";
22
- import "../../chunk/KGOB2IMX.jsx";
23
- import "../../chunk/3QQZKR3F.jsx";
24
- import "../../chunk/NMGUCD2L.jsx";
20
+ import "../../chunk/ODQYYKL5.jsx";
21
+ import "../../chunk/BPYAMTER.jsx";
22
+ import "../../chunk/RCXMZN3G.jsx";
23
+ import "../../chunk/TVCIHLER.jsx";
25
24
  import "../../chunk/7IUG3E2V.jsx";
26
25
  export {
27
26
  accordion_exports as Accordion,
@@ -5,9 +5,9 @@ import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { PropTypes } from '@zag-js/solid';
7
7
  import { O as Optional } from '../../types-B277wCdv.js';
8
- import { PolymorphicProps, HTMLProps } from '../factory.js';
8
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
 
10
- interface UseAvatarProps extends Optional<Omit<avatar$1.Context, 'dir' | 'getRootNode'>, 'id'> {
10
+ interface UseAvatarProps extends Optional<Omit<avatar$1.Props, 'dir' | 'getRootNode'>, 'id'> {
11
11
  }
12
12
  interface UseAvatarReturn extends Accessor<avatar$1.Api<PropTypes>> {
13
13
  }
@@ -1 +1 @@
1
- export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/W43X4SNE.js';
1
+ export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/YS6KIHEB.js';
@@ -8,14 +8,13 @@ import {
8
8
  avatar_exports,
9
9
  useAvatar,
10
10
  useAvatarContext
11
- } from "../../chunk/NK4T7LIZ.jsx";
11
+ } from "../../chunk/H7SWP54F.jsx";
12
12
  import "../../chunk/6WEDGJKQ.jsx";
13
- import "../../chunk/ODQYYKL5.jsx";
14
13
  import "../../chunk/UFYZ7HLU.jsx";
15
- import "../../chunk/5O4RWSWO.jsx";
16
- import "../../chunk/KGOB2IMX.jsx";
17
- import "../../chunk/3QQZKR3F.jsx";
18
- import "../../chunk/NMGUCD2L.jsx";
14
+ import "../../chunk/ODQYYKL5.jsx";
15
+ import "../../chunk/BPYAMTER.jsx";
16
+ import "../../chunk/RCXMZN3G.jsx";
17
+ import "../../chunk/TVCIHLER.jsx";
19
18
  import "../../chunk/7IUG3E2V.jsx";
20
19
  export {
21
20
  avatar_exports as Avatar,
@@ -3,7 +3,7 @@ import { IndicatorProps, ItemProps, AutoplayStatusDetails, DragStatusDetails, Pa
3
3
  export { AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails as CarouselDragStatusDetails, PageChangeDetails as CarouselPageChangeDetails, anatomy as carouselAnatomy } from '@zag-js/carousel';
4
4
  import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
- import { PolymorphicProps, HTMLProps } from '../factory.js';
6
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
7
7
  import { PropTypes } from '@zag-js/solid';
8
8
  import { O as Optional } from '../../types-B277wCdv.js';
9
9
 
@@ -13,16 +13,11 @@ interface CarouselAutoplayTriggerProps extends HTMLProps<'button'>, CarouselAuto
13
13
  }
14
14
  declare const CarouselAutoplayTrigger: (props: CarouselAutoplayTriggerProps) => solid_js.JSX.Element;
15
15
 
16
- interface UseCarouselProps extends Optional<Omit<carousel$1.Context, 'dir' | 'getRootNode'>, 'id'> {
17
- /**
18
- * The initial page of the carousel when it is first rendered.
19
- * Use this when you do not need to control the state of the carousel.
20
- */
21
- defaultPage?: carousel$1.Context['page'];
16
+ interface UseCarouselProps extends Optional<Omit<carousel$1.Props, 'dir' | 'getRootNode'>, 'id'> {
22
17
  }
23
18
  interface UseCarouselReturn extends Accessor<carousel$1.Api<PropTypes>> {
24
19
  }
25
- declare const useCarousel: (props?: UseCarouselProps) => UseCarouselReturn;
20
+ declare const useCarousel: (props: UseCarouselProps) => UseCarouselReturn;
26
21
 
27
22
  interface UseCarouselContext extends UseCarouselReturn {
28
23
  }
@@ -1 +1 @@
1
- export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/Q7NPTAJI.js';
1
+ export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/NNZQ2FQW.js';
@@ -14,14 +14,13 @@ import {
14
14
  carousel_exports,
15
15
  useCarousel,
16
16
  useCarouselContext
17
- } from "../../chunk/2HTNQLGP.jsx";
17
+ } from "../../chunk/676ULDTZ.jsx";
18
18
  import "../../chunk/6WEDGJKQ.jsx";
19
- import "../../chunk/ODQYYKL5.jsx";
20
19
  import "../../chunk/UFYZ7HLU.jsx";
21
- import "../../chunk/5O4RWSWO.jsx";
22
- import "../../chunk/KGOB2IMX.jsx";
23
- import "../../chunk/3QQZKR3F.jsx";
24
- import "../../chunk/NMGUCD2L.jsx";
20
+ import "../../chunk/ODQYYKL5.jsx";
21
+ import "../../chunk/BPYAMTER.jsx";
22
+ import "../../chunk/RCXMZN3G.jsx";
23
+ import "../../chunk/TVCIHLER.jsx";
25
24
  import "../../chunk/7IUG3E2V.jsx";
26
25
  export {
27
26
  carousel_exports as Carousel,
@@ -5,15 +5,10 @@ import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { PropTypes } from '@zag-js/solid';
7
7
  import { O as Optional } from '../../types-B277wCdv.js';
8
- import { PolymorphicProps, HTMLProps } from '../factory.js';
8
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
  import * as _zag_js_anatomy from '@zag-js/anatomy';
10
10
 
11
- interface UseCheckboxProps extends Optional<Omit<checkbox$1.Context, 'dir' | 'getRootNode'>, 'id'> {
12
- /**
13
- * The checked state of the checkbox when it is first rendered.
14
- * Use this when you do not need to control the state of the checkbox.
15
- */
16
- defaultChecked?: checkbox$1.Context['checked'];
11
+ interface UseCheckboxProps extends Optional<Omit<checkbox$1.Props, 'dir' | 'getRootNode'>, 'id'> {
17
12
  }
18
13
  interface UseCheckboxReturn extends Accessor<checkbox$1.Api<PropTypes>> {
19
14
  }
@@ -131,7 +126,7 @@ interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProp
131
126
  }
132
127
  declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js.JSX.Element;
133
128
 
134
- declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
129
+ declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "group" | "indicator" | "control">;
135
130
 
136
131
  interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {
137
132
  }
@@ -1 +1 @@
1
- export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/7KPVYYFT.js';
1
+ export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext } from '../../chunk/WT3OTYHP.js';
@@ -13,17 +13,16 @@ import {
13
13
  useCheckboxContext,
14
14
  useCheckboxGroup,
15
15
  useCheckboxGroupContext
16
- } from "../../chunk/RVUYRERH.jsx";
17
- import "../../chunk/52WUF3CY.jsx";
18
- import "../../chunk/MSHQY44G.jsx";
19
- import "../../chunk/RZBYC7DR.jsx";
16
+ } from "../../chunk/4D76BVTD.jsx";
17
+ import "../../chunk/XHA6B6L2.jsx";
18
+ import "../../chunk/SBLZHOW2.jsx";
19
+ import "../../chunk/DOBZPYAN.jsx";
20
20
  import "../../chunk/6WEDGJKQ.jsx";
21
- import "../../chunk/ODQYYKL5.jsx";
22
21
  import "../../chunk/UFYZ7HLU.jsx";
23
- import "../../chunk/5O4RWSWO.jsx";
24
- import "../../chunk/KGOB2IMX.jsx";
25
- import "../../chunk/3QQZKR3F.jsx";
26
- import "../../chunk/NMGUCD2L.jsx";
22
+ import "../../chunk/ODQYYKL5.jsx";
23
+ import "../../chunk/BPYAMTER.jsx";
24
+ import "../../chunk/RCXMZN3G.jsx";
25
+ import "../../chunk/TVCIHLER.jsx";
27
26
  import "../../chunk/7IUG3E2V.jsx";
28
27
  export {
29
28
  checkbox_exports as Checkbox,
@@ -5,9 +5,9 @@ import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
6
  import { PropTypes } from '@zag-js/solid';
7
7
  import { O as Optional } from '../../types-B277wCdv.js';
8
- import { PolymorphicProps, HTMLProps } from '../factory.js';
8
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
9
9
 
10
- interface UseClipboardProps extends Optional<Omit<clipboard$1.Context, 'dir' | 'getRootNode'>, 'id'> {
10
+ interface UseClipboardProps extends Optional<Omit<clipboard$1.Props, 'dir' | 'getRootNode'>, 'id'> {
11
11
  }
12
12
  interface UseClipboardReturn extends Accessor<clipboard$1.Api<PropTypes>> {
13
13
  }
@@ -1 +1 @@
1
- export { clipboard_exports as Clipboard, ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, anatomy as clipboardAnatomy, useClipboard, useClipboardContext } from '../../chunk/5CYHETDY.js';
1
+ export { clipboard_exports as Clipboard, ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, anatomy as clipboardAnatomy, useClipboard, useClipboardContext } from '../../chunk/UIAQFG6P.js';
@@ -12,14 +12,13 @@ import {
12
12
  clipboard_exports,
13
13
  useClipboard,
14
14
  useClipboardContext
15
- } from "../../chunk/IQJBNZOX.jsx";
15
+ } from "../../chunk/PES3MXH3.jsx";
16
16
  import "../../chunk/6WEDGJKQ.jsx";
17
- import "../../chunk/ODQYYKL5.jsx";
18
17
  import "../../chunk/UFYZ7HLU.jsx";
19
- import "../../chunk/5O4RWSWO.jsx";
20
- import "../../chunk/KGOB2IMX.jsx";
21
- import "../../chunk/3QQZKR3F.jsx";
22
- import "../../chunk/NMGUCD2L.jsx";
18
+ import "../../chunk/ODQYYKL5.jsx";
19
+ import "../../chunk/BPYAMTER.jsx";
20
+ import "../../chunk/RCXMZN3G.jsx";
21
+ import "../../chunk/TVCIHLER.jsx";
23
22
  import "../../chunk/7IUG3E2V.jsx";
24
23
  export {
25
24
  clipboard_exports as Clipboard,
@@ -3,7 +3,7 @@ import { OpenChangeDetails } from '@zag-js/collapsible';
3
3
  export { OpenChangeDetails as CollapsibleOpenChangeDetails, anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
4
4
  import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
- import { PolymorphicProps, HTMLProps } from '../factory.js';
6
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
7
7
  import { PropTypes } from '@zag-js/solid';
8
8
  import { O as Optional } from '../../types-B277wCdv.js';
9
9
  import { R as RenderStrategyProps } from '../../render-strategy-B5MqQP3X.js';
@@ -14,12 +14,7 @@ interface CollapsibleContentProps extends HTMLProps<'div'>, CollapsibleContentBa
14
14
  }
15
15
  declare const CollapsibleContent: (props: CollapsibleContentProps) => solid_js.JSX.Element;
16
16
 
17
- interface UseCollapsibleProps extends Optional<Omit<collapsible$1.Context, 'dir' | 'getRootNode' | 'open.controlled'>, 'id'>, RenderStrategyProps {
18
- /**
19
- * The initial open state of the collapsible when it is first rendered.
20
- * Use when you do not need to control its open state.
21
- */
22
- defaultOpen?: collapsible$1.Context['open'];
17
+ interface UseCollapsibleProps extends Optional<Omit<collapsible$1.Props, 'dir' | 'getRootNode'>, 'id'>, RenderStrategyProps {
23
18
  }
24
19
  interface UseCollapsibleReturn extends Accessor<collapsible$1.Api<PropTypes> & {
25
20
  /**
@@ -1 +1 @@
1
- export { collapsible_exports as Collapsible, CollapsibleContent, CollapsibleContext, CollapsibleRoot, CollapsibleRootProvider, CollapsibleTrigger, anatomy as collapsibleAnatomy, useCollapsible, useCollapsibleContext } from '../../chunk/3HMZSTYX.js';
1
+ export { collapsible_exports as Collapsible, CollapsibleContent, CollapsibleContext, CollapsibleRoot, CollapsibleRootProvider, CollapsibleTrigger, anatomy as collapsibleAnatomy, useCollapsible, useCollapsibleContext } from '../../chunk/PL4PGQFF.js';
@@ -8,15 +8,14 @@ import {
8
8
  collapsible_exports,
9
9
  useCollapsible,
10
10
  useCollapsibleContext
11
- } from "../../chunk/B7LE23PE.jsx";
12
- import "../../chunk/5ONYCKM3.jsx";
11
+ } from "../../chunk/H5QZC4VW.jsx";
12
+ import "../../chunk/NEBB7COJ.jsx";
13
13
  import "../../chunk/6WEDGJKQ.jsx";
14
- import "../../chunk/ODQYYKL5.jsx";
15
14
  import "../../chunk/UFYZ7HLU.jsx";
16
- import "../../chunk/5O4RWSWO.jsx";
17
- import "../../chunk/KGOB2IMX.jsx";
18
- import "../../chunk/3QQZKR3F.jsx";
19
- import "../../chunk/NMGUCD2L.jsx";
15
+ import "../../chunk/ODQYYKL5.jsx";
16
+ import "../../chunk/BPYAMTER.jsx";
17
+ import "../../chunk/RCXMZN3G.jsx";
18
+ import "../../chunk/TVCIHLER.jsx";
20
19
  import "../../chunk/7IUG3E2V.jsx";
21
20
  export {
22
21
  collapsible_exports as Collapsible,
@@ -1,9 +1,9 @@
1
- import { CollectionOptions, ListCollection, TreeCollectionOptions, TreeCollection, FilePathTreeNode } from '@zag-js/collection';
1
+ import { CollectionItem, CollectionOptions, ListCollection, TreeCollection, FilePathTreeNode, TreeNode, TreeCollectionOptions } from '@zag-js/collection';
2
2
  export { CollectionItem, ListCollection, TreeCollection, TreeNode } from '@zag-js/collection';
3
3
 
4
- declare const createListCollection: <T extends unknown>(options: CollectionOptions<T>) => ListCollection<T>;
4
+ declare const createListCollection: <T extends CollectionItem>(options: CollectionOptions<T>) => ListCollection<T>;
5
5
 
6
- declare const createTreeCollection: <T extends unknown>(options: TreeCollectionOptions<T>) => TreeCollection<T>;
6
+ declare const createTreeCollection: <T extends TreeNode>(options: TreeCollectionOptions<T>) => TreeCollection<T>;
7
7
  declare const createFileTreeCollection: (paths: string[]) => TreeCollection<FilePathTreeNode>;
8
8
 
9
9
  export { createFileTreeCollection, createListCollection, createTreeCollection };
@@ -1 +1 @@
1
- export { createFileTreeCollection, createListCollection, createTreeCollection } from '../chunk/CTTG4GSG.js';
1
+ export { createFileTreeCollection, createListCollection, createTreeCollection } from '../chunk/OAPCRIL5.js';
@@ -2,7 +2,7 @@ import {
2
2
  createFileTreeCollection,
3
3
  createListCollection,
4
4
  createTreeCollection
5
- } from "../chunk/JHG4EID2.jsx";
5
+ } from "../chunk/MOG4V2NQ.jsx";
6
6
  import "../chunk/7IUG3E2V.jsx";
7
7
  export {
8
8
  createFileTreeCollection,
@@ -3,10 +3,10 @@ import { AreaProps, ChannelInputProps, ChannelProps, SwatchProps, SwatchTriggerP
3
3
  export { Color, ColorFormat as ColorPickerColorFormat, FormatChangeDetails as ColorPickerFormatChangeDetails, OpenChangeDetails as ColorPickerOpenChangeDetails, ValueChangeDetails as ColorPickerValueChangeDetails, parse as parseColor } from '@zag-js/color-picker';
4
4
  import * as solid_js from 'solid-js';
5
5
  import { Accessor, JSX } from 'solid-js';
6
- import { PolymorphicProps, HTMLProps } from '../factory.js';
6
+ import { HTMLProps, PolymorphicProps } from '../factory.js';
7
7
  import { PropTypes } from '@zag-js/solid';
8
8
  import { O as Optional, A as Assign } from '../../types-B277wCdv.js';
9
- import { U as UsePresenceProps } from '../../use-presence-Ct1onT3-.js';
9
+ import { U as UsePresenceProps } from '../../use-presence-C07V_WCb.js';
10
10
  import * as _zag_js_anatomy from '@zag-js/anatomy';
11
11
  import '@zag-js/presence';
12
12
  import '../../render-strategy-B5MqQP3X.js';
@@ -71,17 +71,7 @@ interface ColorPickerContentProps extends HTMLProps<'div'>, ColorPickerContentBa
71
71
  }
72
72
  declare const ColorPickerContent: (props: ColorPickerContentProps) => solid_js.JSX.Element;
73
73
 
74
- interface UseColorPickerProps extends Optional<Omit<colorPicker$1.Context, 'dir' | 'getRootNode' | 'open.controlled'>, 'id'> {
75
- /**
76
- * The initial open state of the color picker when it is first rendered.
77
- * Use when you do not need to control its open state.
78
- */
79
- defaultOpen?: colorPicker$1.Context['open'];
80
- /**
81
- * The initial value of the color picker when it is first rendered.
82
- * Use when you do not need to control the state of the color picker.
83
- */
84
- defaultValue?: colorPicker$1.Context['value'];
74
+ interface UseColorPickerProps extends Optional<Omit<colorPicker$1.Props, 'dir' | 'getRootNode'>, 'id'> {
85
75
  }
86
76
  interface UseColorPickerReturn extends Accessor<colorPicker$1.Api<PropTypes>> {
87
77
  }
@@ -212,7 +202,7 @@ interface ColorPickerViewProps extends HTMLProps<'div'>, ColorPickerViewBaseProp
212
202
  }
213
203
  declare const ColorPickerView: (props: ColorPickerViewProps) => solid_js.JSX.Element;
214
204
 
215
- declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "area" | "view" | "content" | "root" | "trigger" | "control" | "positioner" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
205
+ declare const colorPickerAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "area" | "view" | "content" | "trigger" | "control" | "positioner" | "formatSelect" | "areaThumb" | "channelInput" | "channelSliderTrack" | "channelSliderThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderValueText" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger">;
216
206
 
217
207
  declare const colorPicker_Color: typeof Color;
218
208
  declare const colorPicker_ColorFormat: typeof ColorFormat;
@@ -1 +1 @@
1
- export { color_picker_exports as ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderLabel, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerChannelSliderValueText, ColorPickerContent, ColorPickerContext, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerHiddenInput, ColorPickerLabel, ColorPickerPositioner, ColorPickerRoot, ColorPickerRootProvider, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueSwatch, ColorPickerValueText, ColorPickerView, colorPickerAnatomy, parse as parseColor, useColorPicker, useColorPickerContext } from '../../chunk/XCNALQF7.js';
1
+ export { color_picker_exports as ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderLabel, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerChannelSliderValueText, ColorPickerContent, ColorPickerContext, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerHiddenInput, ColorPickerLabel, ColorPickerPositioner, ColorPickerRoot, ColorPickerRootProvider, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueSwatch, ColorPickerValueText, ColorPickerView, colorPickerAnatomy, parse as parseColor, useColorPicker, useColorPickerContext } from '../../chunk/LFWIA7VB.js';
@@ -33,18 +33,18 @@ import {
33
33
  parse,
34
34
  useColorPicker,
35
35
  useColorPickerContext
36
- } from "../../chunk/N73ADPX5.jsx";
37
- import "../../chunk/MSHQY44G.jsx";
38
- import "../../chunk/RZBYC7DR.jsx";
39
- import "../../chunk/E72NMPSK.jsx";
40
- import "../../chunk/5ONYCKM3.jsx";
36
+ } from "../../chunk/RG3IJESS.jsx";
37
+ import "../../chunk/XHA6B6L2.jsx";
38
+ import "../../chunk/SBLZHOW2.jsx";
39
+ import "../../chunk/DOBZPYAN.jsx";
40
+ import "../../chunk/2FYSIKNK.jsx";
41
+ import "../../chunk/NEBB7COJ.jsx";
41
42
  import "../../chunk/6WEDGJKQ.jsx";
42
- import "../../chunk/ODQYYKL5.jsx";
43
43
  import "../../chunk/UFYZ7HLU.jsx";
44
- import "../../chunk/5O4RWSWO.jsx";
45
- import "../../chunk/KGOB2IMX.jsx";
46
- import "../../chunk/3QQZKR3F.jsx";
47
- import "../../chunk/NMGUCD2L.jsx";
44
+ import "../../chunk/ODQYYKL5.jsx";
45
+ import "../../chunk/BPYAMTER.jsx";
46
+ import "../../chunk/RCXMZN3G.jsx";
47
+ import "../../chunk/TVCIHLER.jsx";
48
48
  import "../../chunk/7IUG3E2V.jsx";
49
49
  export {
50
50
  color_picker_exports as ColorPicker,