@ark-ui/solid 5.30.0 → 5.32.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 (284) hide show
  1. package/dist/{checkbox.anatomy-CuzDSmDj.d.ts → checkbox.anatomy-YlC7nNXs.d.ts} +1 -1
  2. package/dist/chunk/{G2THT6E6.js → 25QG5G6C.js} +22 -17
  3. package/dist/chunk/{Z5ZRFFPU.js → 37BRFTCN.js} +2 -2
  4. package/dist/chunk/{TWZUCWKG.js → 3EUGCOMV.js} +3 -3
  5. package/dist/chunk/{5QLLQM7E.js → 3P5T77QU.js} +6 -5
  6. package/dist/chunk/{G7BHQPOC.js → 3WVUTGI5.js} +1 -1
  7. package/dist/chunk/{VDRVAOKQ.js → 5ATP7B75.js} +4 -4
  8. package/dist/chunk/5BSMJBO7.jsx +136 -0
  9. package/dist/chunk/{GCEYGQPA.jsx → 5GO6NUQR.jsx} +16 -13
  10. package/dist/chunk/{ZYFWVVTC.js → 5IIB2LYP.js} +83 -23
  11. package/dist/chunk/{BX734ZD7.js → 5V7JAJ5W.js} +5 -4
  12. package/dist/chunk/{76KFR2EJ.jsx → 5ZAKDNMV.jsx} +6 -6
  13. package/dist/chunk/{UHWLTCQZ.jsx → 65QK7XXR.jsx} +6 -3
  14. package/dist/chunk/{UDBRICA6.js → 6C2FCXTS.js} +3 -3
  15. package/dist/chunk/{HVXJLFJY.jsx → 6FX4SECK.jsx} +6 -6
  16. package/dist/chunk/{DBNXBHAT.js → 6QV6SS6W.js} +4 -4
  17. package/dist/chunk/{DH3KPRGA.jsx → 77IURBLR.jsx} +9 -6
  18. package/dist/chunk/{OF7DNWIQ.jsx → 7YVDASKP.jsx} +5 -5
  19. package/dist/chunk/{J5ODILBT.jsx → 7Z6YKSMY.jsx} +15 -13
  20. package/dist/chunk/{6QF5SDIE.jsx → 7ZEKGJLZ.jsx} +9 -7
  21. package/dist/chunk/{AH5KB6LR.js → A5BBGDPW.js} +4 -4
  22. package/dist/chunk/{RYD4Z3LT.jsx → ABFLCPUB.jsx} +5 -5
  23. package/dist/chunk/{SZNFUIJQ.jsx → ACLCLMIV.jsx} +6 -6
  24. package/dist/chunk/{NHEM6XZR.jsx → AIK4SKXT.jsx} +7 -7
  25. package/dist/chunk/{P2OA7NSB.js → BGKLKY77.js} +3 -3
  26. package/dist/chunk/BTUFV5YJ.jsx +306 -0
  27. package/dist/chunk/{VRCOVKZM.jsx → BUMQJLFN.jsx} +9 -7
  28. package/dist/chunk/{3BRVNFB3.js → BVQ6NO6X.js} +30 -33
  29. package/dist/chunk/{K32NALIW.js → CBYVQ7YD.js} +3 -3
  30. package/dist/chunk/{2JSSDQEE.jsx → CC4VXMN5.jsx} +6 -6
  31. package/dist/chunk/{IYZ6XUM5.js → CXS7DDU2.js} +2 -2
  32. package/dist/chunk/{HWHAUHQ5.jsx → DGI75TEJ.jsx} +6 -6
  33. package/dist/chunk/{FDGWBBJ3.jsx → DYFALYJE.jsx} +4 -4
  34. package/dist/chunk/{RRFWSRAD.jsx → E54U43LI.jsx} +77 -14
  35. package/dist/chunk/{RVOPDSQY.js → EM5SH6A3.js} +12 -1
  36. package/dist/chunk/{6UXNGS66.jsx → EQKTJ63X.jsx} +1 -1
  37. package/dist/chunk/{OVPRCDDL.jsx → ESQ2KC4M.jsx} +7 -6
  38. package/dist/chunk/{IGSOSLB3.jsx → G7XBXLRA.jsx} +6 -6
  39. package/dist/chunk/{XH4Y4U2G.jsx → GSOOONDM.jsx} +5 -5
  40. package/dist/chunk/{UOOMXEJO.jsx → GYKEGNPI.jsx} +5 -5
  41. package/dist/chunk/{CGW54HAQ.jsx → HDGILMRT.jsx} +4 -1
  42. package/dist/chunk/{WUBTAV2O.js → HFIUYKXK.js} +5 -5
  43. package/dist/chunk/{K3TLO6S6.js → HJJ6M6JE.js} +3 -3
  44. package/dist/chunk/{W7YDKZGP.js → HKJ2U4GE.js} +4 -4
  45. package/dist/chunk/{P7BXFWK5.js → HMG7R2BF.js} +40 -38
  46. package/dist/chunk/{JFOWNFC7.jsx → HOPBYFHD.jsx} +20 -3
  47. package/dist/chunk/{NZQO4OJP.jsx → HSKAUH3N.jsx} +16 -13
  48. package/dist/chunk/{JLPPHEZV.js → HUB2Z2WJ.js} +3 -3
  49. package/dist/chunk/{B7OY6YTK.js → IKIPTYFY.js} +3 -3
  50. package/dist/chunk/{XXP27BHC.jsx → IPJK2PWY.jsx} +5 -5
  51. package/dist/chunk/{O5M2FPMH.js → IRBAVIVZ.js} +5 -4
  52. package/dist/chunk/{23JPD2DE.js → J6D7JUCJ.js} +2 -5
  53. package/dist/chunk/{FW6EZLZL.js → JBLHW7IM.js} +4 -29
  54. package/dist/chunk/{HI7OENS5.js → JLP6NZTO.js} +29 -6
  55. package/dist/chunk/{TP32AKQX.js → JR3CTJ4R.js} +4 -4
  56. package/dist/chunk/KWLZPDF4.jsx +6 -0
  57. package/dist/chunk/{4EK6Z2KK.js → KXKOMCVA.js} +2 -2
  58. package/dist/chunk/{CGB5YI3F.jsx → LBXPKVCB.jsx} +1 -1
  59. package/dist/chunk/LRDE5RNI.js +239 -0
  60. package/dist/chunk/{XNAQLSZW.jsx → M2R7NELL.jsx} +5 -5
  61. package/dist/chunk/{DR7CHNBO.jsx → MLPK6MO2.jsx} +5 -5
  62. package/dist/chunk/{KEZ2WH2A.jsx → MU5CM6ZP.jsx} +5 -5
  63. package/dist/chunk/{HYQNCIWP.js → N2ACHFKW.js} +3 -3
  64. package/dist/chunk/NEU4F4NG.jsx +52 -0
  65. package/dist/chunk/NJVZNV63.js +121 -0
  66. package/dist/chunk/{W33NQFXF.js → NMS6DWX3.js} +5 -4
  67. package/dist/chunk/{UMVZZL45.js → NMYA3JZ5.js} +1 -1
  68. package/dist/chunk/{S7F5ETXJ.js → NTHXB7S3.js} +5 -4
  69. package/dist/chunk/{2P5Y3YCK.jsx → OEGORBLT.jsx} +1 -47
  70. package/dist/chunk/{QGXWXVZ5.js → ONLLL7WZ.js} +4 -4
  71. package/dist/chunk/{4A6UNZ4T.jsx → ONZ5KPSW.jsx} +5 -5
  72. package/dist/chunk/ORFQCCEF.js +7 -0
  73. package/dist/chunk/{AQ27SOWE.jsx → ORZMPJPC.jsx} +5 -5
  74. package/dist/chunk/{VVD4LKC6.jsx → OWH3LOUE.jsx} +4 -1
  75. package/dist/chunk/{MNZUELWU.jsx → P466TCYN.jsx} +9 -7
  76. package/dist/chunk/{NPSTVZUG.jsx → P7K6CA55.jsx} +7 -6
  77. package/dist/chunk/{YENHTIT6.js → PDHNW6SC.js} +5 -4
  78. package/dist/chunk/{Z4EBWHQF.js → PEIMGDXM.js} +4 -4
  79. package/dist/chunk/{JRY66LXS.jsx → PKRIUPWN.jsx} +6 -6
  80. package/dist/chunk/{7HLG62OR.jsx → PPH4D7AF.jsx} +7 -7
  81. package/dist/chunk/{3WOFDSWV.jsx → PSH3YKBU.jsx} +4 -4
  82. package/dist/chunk/{UXUJ2LD6.js → PSO6FY3T.js} +5 -4
  83. package/dist/chunk/{FXYVJXLF.jsx → PWV2MRRH.jsx} +5 -5
  84. package/dist/chunk/{2V2P2JZV.js → QC2RXUV4.js} +12 -9
  85. package/dist/chunk/{372PVMNT.js → QUQ6VBQO.js} +4 -4
  86. package/dist/chunk/{UTULIPW7.js → RDZRRODO.js} +4 -4
  87. package/dist/chunk/{2BFJIRAK.js → RJPVNWZG.js} +5 -4
  88. package/dist/chunk/{SYNEPEHD.js → RL5TZPAG.js} +3 -3
  89. package/dist/chunk/{VH6MDPEX.jsx → RNGP6PKE.jsx} +6 -6
  90. package/dist/chunk/{F7OI3RZ3.js → RSDHPGPT.js} +46 -19
  91. package/dist/chunk/RT4GKNE7.js +1 -0
  92. package/dist/chunk/{ORJXW4SC.jsx → RVP446XN.jsx} +38 -18
  93. package/dist/chunk/{GBGTOFYC.js → S3VN2YFH.js} +2 -2
  94. package/dist/chunk/{B434DN6B.js → SCCZRXWX.js} +3 -3
  95. package/dist/chunk/{CCK5XI24.jsx → SCJBXRUZ.jsx} +9 -7
  96. package/dist/chunk/{2MDYHAEL.js → SU6SNXFK.js} +7 -6
  97. package/dist/chunk/{SH4J3NPA.jsx → TD72MSSI.jsx} +5 -5
  98. package/dist/chunk/{QTWOIUHU.jsx → TG3BV4FJ.jsx} +9 -9
  99. package/dist/chunk/{IEJ4RWIV.jsx → TPTP4FRI.jsx} +9 -7
  100. package/dist/chunk/{5RT2MFUK.jsx → TYHUUGLH.jsx} +3 -3
  101. package/dist/chunk/{WT5KEZUJ.js → UJ4FU6HV.js} +8 -12
  102. package/dist/chunk/{VIKFXGE5.jsx → V62PHVT3.jsx} +6 -6
  103. package/dist/chunk/{LNZGGTI5.js → VIERJSCF.js} +4 -4
  104. package/dist/chunk/{HCQSZULR.js → WGHZEJIT.js} +6 -5
  105. package/dist/chunk/{FDE3GI6Q.js → WLWKI62C.js} +6 -5
  106. package/dist/chunk/{RSWPJEWK.js → WTS7KK6L.js} +4 -4
  107. package/dist/chunk/{GCQCOMQH.js → WX3PPB36.js} +3 -3
  108. package/dist/chunk/{LQGHLGPW.jsx → WZBYH43M.jsx} +1 -1
  109. package/dist/chunk/X22PRPOR.js +31 -0
  110. package/dist/chunk/{JNBFQ7ZP.jsx → X63FZDID.jsx} +15 -13
  111. package/dist/chunk/{FKF6FOYL.jsx → XLKDWQZ2.jsx} +9 -7
  112. package/dist/chunk/{QARPXWDS.js → XNIXPFXJ.js} +2 -2
  113. package/dist/chunk/{HNIBOZUS.jsx → XRBGB3XP.jsx} +41 -11
  114. package/dist/chunk/XVU3GCCX.jsx +9 -0
  115. package/dist/chunk/{6HVSV6OM.js → YA3LD5QR.js} +1 -1
  116. package/dist/chunk/{CNHYYRWI.jsx → YLT3EBQZ.jsx} +9 -7
  117. package/dist/chunk/{7B5HD3HF.js → YVERN3NM.js} +3 -3
  118. package/dist/chunk/{2S7Z6JX4.jsx → YW4KS3S5.jsx} +6 -6
  119. package/dist/chunk/{52VYWTHF.js → YXEZ562D.js} +5 -5
  120. package/dist/chunk/{JEKNEIFC.jsx → Z253N6GA.jsx} +5 -5
  121. package/dist/chunk/{Z5L7ULFZ.js → ZJOFPTIM.js} +3 -3
  122. package/dist/chunk/{3ZDGZCBV.jsx → ZLSYUPYN.jsx} +15 -11
  123. package/dist/chunk/{J6B3R7PY.jsx → ZOCG4ZHL.jsx} +5 -5
  124. package/dist/{color-picker.anatomy-CMDtAoEh.d.ts → color-picker.anatomy-Dxw1DJ2S.d.ts} +1 -1
  125. package/dist/{combobox.anatomy-DBsVyPqM.d.ts → combobox.anatomy-5H6l0CJs.d.ts} +1 -1
  126. package/dist/components/accordion/index.js +1 -1
  127. package/dist/components/accordion/index.jsx +6 -6
  128. package/dist/components/anatomy.d.ts +10 -9
  129. package/dist/components/anatomy.js +20 -19
  130. package/dist/components/anatomy.jsx +58 -54
  131. package/dist/components/angle-slider/index.js +1 -1
  132. package/dist/components/angle-slider/index.jsx +4 -4
  133. package/dist/components/avatar/index.js +1 -1
  134. package/dist/components/avatar/index.jsx +4 -4
  135. package/dist/components/carousel/index.js +1 -1
  136. package/dist/components/carousel/index.jsx +4 -4
  137. package/dist/components/checkbox/index.d.ts +5 -1
  138. package/dist/components/checkbox/index.js +1 -1
  139. package/dist/components/checkbox/index.jsx +7 -7
  140. package/dist/components/clipboard/index.js +1 -1
  141. package/dist/components/clipboard/index.jsx +4 -4
  142. package/dist/components/collapsible/index.js +1 -1
  143. package/dist/components/collapsible/index.jsx +5 -5
  144. package/dist/components/color-picker/index.d.ts +1 -1
  145. package/dist/components/color-picker/index.js +1 -1
  146. package/dist/components/color-picker/index.jsx +9 -8
  147. package/dist/components/combobox/index.d.ts +1 -1
  148. package/dist/components/combobox/index.js +1 -1
  149. package/dist/components/combobox/index.jsx +9 -8
  150. package/dist/components/date-picker/index.d.ts +50 -5
  151. package/dist/components/date-picker/index.js +2 -2
  152. package/dist/components/date-picker/index.jsx +14 -7
  153. package/dist/components/dialog/index.js +1 -1
  154. package/dist/components/dialog/index.jsx +7 -6
  155. package/dist/components/download-trigger/index.js +1 -1
  156. package/dist/components/download-trigger/index.jsx +4 -4
  157. package/dist/components/drawer/index.d.ts +121 -0
  158. package/dist/components/drawer/index.js +2 -0
  159. package/dist/components/drawer/index.jsx +56 -0
  160. package/dist/components/editable/index.js +1 -1
  161. package/dist/components/editable/index.jsx +7 -7
  162. package/dist/components/field/index.d.ts +1 -1
  163. package/dist/components/field/index.js +1 -1
  164. package/dist/components/field/index.jsx +6 -6
  165. package/dist/components/fieldset/index.d.ts +1 -1
  166. package/dist/components/fieldset/index.js +1 -1
  167. package/dist/components/fieldset/index.jsx +5 -5
  168. package/dist/components/file-upload/index.js +1 -1
  169. package/dist/components/file-upload/index.jsx +7 -7
  170. package/dist/components/floating-panel/index.js +1 -1
  171. package/dist/components/floating-panel/index.jsx +7 -6
  172. package/dist/components/format/index.js +1 -1
  173. package/dist/components/format/index.jsx +4 -3
  174. package/dist/components/frame/index.js +1 -1
  175. package/dist/components/frame/index.jsx +4 -3
  176. package/dist/components/highlight/index.js +1 -1
  177. package/dist/components/highlight/index.jsx +2 -1
  178. package/dist/components/hover-card/index.js +1 -1
  179. package/dist/components/hover-card/index.jsx +7 -6
  180. package/dist/components/image-cropper/index.js +1 -1
  181. package/dist/components/image-cropper/index.jsx +4 -4
  182. package/dist/components/index.d.ts +16 -14
  183. package/dist/components/index.js +77 -74
  184. package/dist/components/index.jsx +582 -538
  185. package/dist/components/json-tree-view/index.d.ts +16 -13
  186. package/dist/components/json-tree-view/index.js +1 -1
  187. package/dist/components/json-tree-view/index.jsx +7 -7
  188. package/dist/components/listbox/index.d.ts +1 -1
  189. package/dist/components/listbox/index.js +1 -1
  190. package/dist/components/listbox/index.jsx +4 -4
  191. package/dist/components/marquee/index.js +1 -1
  192. package/dist/components/marquee/index.jsx +4 -4
  193. package/dist/components/menu/index.js +1 -1
  194. package/dist/components/menu/index.jsx +7 -6
  195. package/dist/components/navigation-menu/index.d.ts +1 -1
  196. package/dist/components/navigation-menu/index.js +26 -20
  197. package/dist/components/navigation-menu/index.jsx +28 -15
  198. package/dist/components/number-input/index.js +1 -1
  199. package/dist/components/number-input/index.jsx +7 -7
  200. package/dist/components/pagination/index.js +1 -1
  201. package/dist/components/pagination/index.jsx +4 -4
  202. package/dist/components/password-input/index.js +1 -1
  203. package/dist/components/password-input/index.jsx +7 -7
  204. package/dist/components/pin-input/index.js +1 -1
  205. package/dist/components/pin-input/index.jsx +7 -7
  206. package/dist/components/popover/index.js +1 -1
  207. package/dist/components/popover/index.jsx +7 -6
  208. package/dist/components/presence/index.js +2 -1
  209. package/dist/components/presence/index.jsx +5 -3
  210. package/dist/components/progress/index.js +1 -1
  211. package/dist/components/progress/index.jsx +4 -4
  212. package/dist/components/qr-code/index.js +1 -1
  213. package/dist/components/qr-code/index.jsx +4 -4
  214. package/dist/components/radio-group/index.js +1 -1
  215. package/dist/components/radio-group/index.jsx +6 -6
  216. package/dist/components/rating-group/index.js +1 -1
  217. package/dist/components/rating-group/index.jsx +7 -7
  218. package/dist/components/scroll-area/index.js +1 -1
  219. package/dist/components/scroll-area/index.jsx +4 -4
  220. package/dist/components/segment-group/index.js +1 -1
  221. package/dist/components/segment-group/index.jsx +4 -4
  222. package/dist/components/select/index.js +1 -1
  223. package/dist/components/select/index.jsx +9 -8
  224. package/dist/components/signature-pad/index.js +1 -1
  225. package/dist/components/signature-pad/index.jsx +7 -7
  226. package/dist/components/slider/index.js +1 -1
  227. package/dist/components/slider/index.jsx +4 -4
  228. package/dist/components/splitter/index.js +1 -1
  229. package/dist/components/splitter/index.jsx +4 -4
  230. package/dist/components/steps/index.js +1 -1
  231. package/dist/components/steps/index.jsx +4 -4
  232. package/dist/components/swap/index.d.ts +74 -0
  233. package/dist/components/swap/index.js +2 -0
  234. package/dist/components/swap/index.jsx +28 -0
  235. package/dist/components/switch/index.js +1 -1
  236. package/dist/components/switch/index.jsx +7 -7
  237. package/dist/components/tabs/index.js +1 -1
  238. package/dist/components/tabs/index.jsx +7 -6
  239. package/dist/components/tags-input/index.js +1 -1
  240. package/dist/components/tags-input/index.jsx +7 -7
  241. package/dist/components/timer/index.js +1 -1
  242. package/dist/components/timer/index.jsx +4 -4
  243. package/dist/components/toast/index.js +1 -1
  244. package/dist/components/toast/index.jsx +4 -4
  245. package/dist/components/toggle/index.js +1 -1
  246. package/dist/components/toggle/index.jsx +1 -1
  247. package/dist/components/toggle-group/index.js +1 -1
  248. package/dist/components/toggle-group/index.jsx +4 -4
  249. package/dist/components/tooltip/index.js +1 -1
  250. package/dist/components/tooltip/index.jsx +7 -6
  251. package/dist/components/tour/index.d.ts +10 -4
  252. package/dist/components/tour/index.js +1 -1
  253. package/dist/components/tour/index.jsx +17 -8
  254. package/dist/components/tree-view/index.js +1 -1
  255. package/dist/components/tree-view/index.jsx +6 -6
  256. package/dist/date-picker.anatomy-DMDOrz3v.d.ts +5 -0
  257. package/dist/field.anatomy-BA_rbPae.d.ts +5 -0
  258. package/dist/{fieldset.anatomy-BHBXaVuM.d.ts → fieldset.anatomy-ByHwSFid.d.ts} +1 -1
  259. package/dist/index.d.ts +18 -15
  260. package/dist/index.js +79 -76
  261. package/dist/index.jsx +586 -540
  262. package/dist/{listbox.anatomy-CuSvGz29.d.ts → listbox.anatomy-ogRrsXMY.d.ts} +1 -1
  263. package/dist/providers/environment/index.js +1 -1
  264. package/dist/providers/environment/index.jsx +2 -1
  265. package/dist/providers/index.d.ts +3 -1
  266. package/dist/providers/index.js +2 -2
  267. package/dist/providers/index.jsx +5 -2
  268. package/dist/providers/locale/index.d.ts +10 -1
  269. package/dist/providers/locale/index.js +1 -1
  270. package/dist/providers/locale/index.jsx +4 -1
  271. package/dist/swap.anatomy-BTCTOTbL.d.ts +5 -0
  272. package/dist/{tour.anatomy-BwE3XSIU.d.ts → tour.anatomy-B2Ub0NWQ.d.ts} +1 -1
  273. package/package.json +81 -79
  274. package/dist/chunk/2R6SK2X3.js +0 -1
  275. package/dist/chunk/M3S2UEA7.js +0 -178
  276. package/dist/chunk/UOTT3RUB.jsx +0 -231
  277. package/dist/chunk/WMZBRARY.jsx +0 -6
  278. package/dist/components/bottom-sheet/index.d.ts +0 -92
  279. package/dist/components/bottom-sheet/index.js +0 -2
  280. package/dist/components/bottom-sheet/index.jsx +0 -45
  281. package/dist/date-picker.anatomy-C7QaSOwg.d.ts +0 -5
  282. package/dist/field.anatomy-BkeW0gbI.d.ts +0 -5
  283. /package/dist/chunk/{PJLQLDQ3.js → PMEYD5LG.js} +0 -0
  284. /package/dist/chunk/{EDXDNGEO.jsx → S6EAXNU4.jsx} +0 -0
@@ -4,6 +4,9 @@ import {
4
4
  import {
5
5
  runIfFn
6
6
  } from "./KGOB2IMX.jsx";
7
+ import {
8
+ ark
9
+ } from "./UFYZ7HLU.jsx";
7
10
 
8
11
  // src/components/highlight/highlight.tsx
9
12
  import { For, Show } from "solid-js";
@@ -30,7 +33,7 @@ var Highlight = (props) => {
30
33
  const chunks = useHighlight(highlightProps);
31
34
  return <For each={chunks()}>
32
35
  {(chunk) => <Show when={chunk.match} fallback={chunk.text}>
33
- <mark {...localProps}>{chunk.text}</mark>
36
+ <ark.mark {...localProps}>{chunk.text}</ark.mark>
34
37
  </Show>}
35
38
  </For>;
36
39
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
2
  PresenceProvider,
3
3
  splitPresenceProps,
4
- usePresence,
5
4
  usePresenceContext
6
- } from "./2P5Y3YCK.jsx";
5
+ } from "./NEU4F4NG.jsx";
6
+ import {
7
+ usePresence
8
+ } from "./OEGORBLT.jsx";
7
9
  import {
8
10
  composeRefs
9
11
  } from "./PT2CJE3O.jsx";
@@ -15,18 +17,18 @@ import {
15
17
  import {
16
18
  createSplitProps
17
19
  } from "./6WEDGJKQ.jsx";
18
- import {
19
- ark
20
- } from "./UFYZ7HLU.jsx";
21
20
  import {
22
21
  useEnvironmentContext
23
- } from "./CGW54HAQ.jsx";
22
+ } from "./HDGILMRT.jsx";
24
23
  import {
25
24
  useLocaleContext
26
- } from "./JFOWNFC7.jsx";
25
+ } from "./HOPBYFHD.jsx";
27
26
  import {
28
27
  runIfFn
29
28
  } from "./KGOB2IMX.jsx";
29
+ import {
30
+ ark
31
+ } from "./UFYZ7HLU.jsx";
30
32
  import {
31
33
  createContext
32
34
  } from "./UZJJWJQM.jsx";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./7HLG62OR.jsx";
3
+ } from "./PPH4D7AF.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- ark
9
- } from "./UFYZ7HLU.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
- } from "./CGW54HAQ.jsx";
9
+ } from "./HDGILMRT.jsx";
13
10
  import {
14
11
  useLocaleContext
15
- } from "./JFOWNFC7.jsx";
12
+ } from "./HOPBYFHD.jsx";
16
13
  import {
17
14
  runIfFn
18
15
  } from "./KGOB2IMX.jsx";
16
+ import {
17
+ ark
18
+ } from "./UFYZ7HLU.jsx";
19
19
  import {
20
20
  createContext
21
21
  } from "./UZJJWJQM.jsx";
@@ -200,6 +200,7 @@ var TagsInputRoot = (props) => {
200
200
  "onPointerDownOutside",
201
201
  "onValueChange",
202
202
  "onValueInvalid",
203
+ "placeholder",
203
204
  "readOnly",
204
205
  "required",
205
206
  "translations",
@@ -1,9 +1,10 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './FW6EZLZL.js';
1
+ import { usePresenceContext, splitPresenceProps, PresenceProvider } from './JBLHW7IM.js';
2
+ import { usePresence } from './X22PRPOR.js';
2
3
  import { createSplitProps } from './ZMHI4GDJ.js';
3
- import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
- import { useLocaleContext } from './RVOPDSQY.js';
4
+ import { useLocaleContext } from './EM5SH6A3.js';
5
+ import { useEnvironmentContext } from './3P5T77QU.js';
6
6
  import { runIfFn } from './DT73WLR4.js';
7
+ import { ark } from './EPLBB4QN.js';
7
8
  import { createContext } from './THN5C4U6.js';
8
9
  import { __export } from './ESLJRKWD.js';
9
10
  import { createComponent } from 'solid-js/web';
@@ -1,9 +1,9 @@
1
- import { useFieldContext } from './GBGTOFYC.js';
1
+ import { useFieldContext } from './S3VN2YFH.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
- import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
- import { useLocaleContext } from './RVOPDSQY.js';
3
+ import { useLocaleContext } from './EM5SH6A3.js';
4
+ import { useEnvironmentContext } from './3P5T77QU.js';
6
5
  import { runIfFn } from './DT73WLR4.js';
6
+ import { ark } from './EPLBB4QN.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./7HLG62OR.jsx";
3
+ } from "./PPH4D7AF.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- ark
9
- } from "./UFYZ7HLU.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
- } from "./CGW54HAQ.jsx";
9
+ } from "./HDGILMRT.jsx";
13
10
  import {
14
11
  useLocaleContext
15
- } from "./JFOWNFC7.jsx";
12
+ } from "./HOPBYFHD.jsx";
16
13
  import {
17
14
  runIfFn
18
15
  } from "./KGOB2IMX.jsx";
16
+ import {
17
+ ark
18
+ } from "./UFYZ7HLU.jsx";
19
19
  import {
20
20
  createContext
21
21
  } from "./UZJJWJQM.jsx";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useFieldsetContext
3
- } from "./NHEM6XZR.jsx";
4
- import {
5
- parts
6
- } from "./6P2AQNUE.jsx";
3
+ } from "./AIK4SKXT.jsx";
7
4
  import {
8
5
  composeRefs
9
6
  } from "./PT2CJE3O.jsx";
7
+ import {
8
+ parts
9
+ } from "./6P2AQNUE.jsx";
10
10
  import {
11
11
  createSplitProps
12
12
  } from "./6WEDGJKQ.jsx";
13
+ import {
14
+ useEnvironmentContext
15
+ } from "./HDGILMRT.jsx";
13
16
  import {
14
17
  ark
15
18
  } from "./UFYZ7HLU.jsx";
16
- import {
17
- useEnvironmentContext
18
- } from "./CGW54HAQ.jsx";
19
19
  import {
20
20
  createContext
21
21
  } from "./UZJJWJQM.jsx";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createSplitProps
3
3
  } from "./6WEDGJKQ.jsx";
4
- import {
5
- ark
6
- } from "./UFYZ7HLU.jsx";
7
4
  import {
8
5
  useEnvironmentContext
9
- } from "./CGW54HAQ.jsx";
6
+ } from "./HDGILMRT.jsx";
10
7
  import {
11
8
  runIfFn
12
9
  } from "./KGOB2IMX.jsx";
10
+ import {
11
+ ark
12
+ } from "./UFYZ7HLU.jsx";
13
13
  import {
14
14
  createContext
15
15
  } from "./UZJJWJQM.jsx";
@@ -1,10 +1,11 @@
1
- import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './FW6EZLZL.js';
1
+ import { usePresenceContext, splitPresenceProps, PresenceProvider } from './JBLHW7IM.js';
2
+ import { usePresence } from './X22PRPOR.js';
2
3
  import { composeRefs } from './ROP6QZQ7.js';
3
4
  import { createSplitProps } from './ZMHI4GDJ.js';
4
- import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './5QLLQM7E.js';
6
- import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useLocaleContext } from './EM5SH6A3.js';
6
+ import { useEnvironmentContext } from './3P5T77QU.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
+ import { ark } from './EPLBB4QN.js';
8
9
  import { createContext } from './THN5C4U6.js';
9
10
  import { __export } from './ESLJRKWD.js';
10
11
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  createSplitProps
3
3
  } from "./6WEDGJKQ.jsx";
4
- import {
5
- ark
6
- } from "./UFYZ7HLU.jsx";
7
4
  import {
8
5
  useEnvironmentContext
9
- } from "./CGW54HAQ.jsx";
6
+ } from "./HDGILMRT.jsx";
10
7
  import {
11
8
  useLocaleContext
12
- } from "./JFOWNFC7.jsx";
9
+ } from "./HOPBYFHD.jsx";
13
10
  import {
14
11
  runIfFn
15
12
  } from "./KGOB2IMX.jsx";
13
+ import {
14
+ ark
15
+ } from "./UFYZ7HLU.jsx";
16
16
  import {
17
17
  createContext
18
18
  } from "./UZJJWJQM.jsx";
@@ -1,11 +1,11 @@
1
- import { useFieldContext } from './GBGTOFYC.js';
2
- import { useFieldsetContext } from './Z5ZRFFPU.js';
1
+ import { useFieldContext } from './S3VN2YFH.js';
2
+ import { useFieldsetContext } from './37BRFTCN.js';
3
3
  import { checkboxAnatomy } from './G5RHOVDI.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
- import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './5QLLQM7E.js';
7
- import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useLocaleContext } from './EM5SH6A3.js';
6
+ import { useEnvironmentContext } from './3P5T77QU.js';
8
7
  import { runIfFn } from './DT73WLR4.js';
8
+ import { ark } from './EPLBB4QN.js';
9
9
  import { createContext } from './THN5C4U6.js';
10
10
  import { __export } from './ESLJRKWD.js';
11
11
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -61,9 +61,11 @@ function useCheckboxGroup(props = {}) {
61
61
  const toggleValue = (val) => {
62
62
  isChecked(val) ? removeValue(val) : addValue(val);
63
63
  };
64
+ const isAtMax = props.maxSelectedValues != null && value().length >= props.maxSelectedValues;
64
65
  const addValue = (val) => {
65
66
  if (!interactive()) return;
66
67
  if (isChecked(val)) return;
68
+ if (isAtMax) return;
67
69
  setValue(value().concat(val));
68
70
  };
69
71
  const removeValue = (val) => {
@@ -71,15 +73,16 @@ function useCheckboxGroup(props = {}) {
71
73
  setValue(value().filter((v) => String(v) !== String(val)));
72
74
  };
73
75
  const getItemProps = (itemProps) => {
76
+ const checked = itemProps.value != null ? isChecked(itemProps.value) : void 0;
74
77
  return {
75
- checked: itemProps.value != null ? isChecked(itemProps.value) : void 0,
78
+ checked,
76
79
  onCheckedChange() {
77
80
  if (itemProps.value != null) {
78
81
  toggleValue(itemProps.value);
79
82
  }
80
83
  },
81
84
  name: props.name,
82
- disabled: disabled(),
85
+ disabled: disabled() || isAtMax && !checked,
83
86
  readOnly: props.readOnly,
84
87
  invalid: invalid()
85
88
  };
@@ -108,7 +111,7 @@ var [CheckboxGroupContextProvider, useCheckboxGroupContext] = createContext({
108
111
 
109
112
  // src/components/checkbox/checkbox-group.tsx
110
113
  var CheckboxGroup = (props) => {
111
- const [checkboxGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "value", "onValueChange", "disabled", "invalid", "readOnly", "name"]);
114
+ const [checkboxGroupProps, localProps] = createSplitProps()(props, ["defaultValue", "value", "onValueChange", "disabled", "invalid", "readOnly", "name", "maxSelectedValues"]);
112
115
  const checkboxGroup = useCheckboxGroup(checkboxGroupProps);
113
116
  return createComponent(CheckboxGroupContextProvider, {
114
117
  value: checkboxGroup,
@@ -161,7 +164,7 @@ var useCheckbox = (ownProps = {}) => {
161
164
  const checkboxGroup = useCheckboxGroupContext();
162
165
  const props = createMemo(() => {
163
166
  const resolvedProps = runIfFn(ownProps);
164
- return mergeProps(resolvedProps, checkboxGroup?.().getItemProps({ value: resolvedProps.value }) ?? {});
167
+ return mergeProps(checkboxGroup?.().getItemProps({ value: resolvedProps.value }) ?? {}, resolvedProps);
165
168
  }, [ownProps, checkboxGroup]);
166
169
  const id = createUniqueId();
167
170
  const locale = useLocaleContext();
@@ -1,10 +1,10 @@
1
- import { useCollapsibleContext, collapsible_exports } from './TWZUCWKG.js';
1
+ import { useCollapsibleContext, collapsible_exports } from './3EUGCOMV.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
- import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './5QLLQM7E.js';
6
- import { useLocaleContext } from './RVOPDSQY.js';
4
+ import { useLocaleContext } from './EM5SH6A3.js';
5
+ import { useEnvironmentContext } from './3P5T77QU.js';
7
6
  import { runIfFn } from './DT73WLR4.js';
7
+ import { ark } from './EPLBB4QN.js';
8
8
  import { createContext } from './THN5C4U6.js';
9
9
  import { __export } from './ESLJRKWD.js';
10
10
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,9 +1,9 @@
1
- import { useFieldContext } from './GBGTOFYC.js';
1
+ import { useFieldContext } from './S3VN2YFH.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
- import { ark } from './EPLBB4QN.js';
4
- import { useEnvironmentContext } from './5QLLQM7E.js';
5
- import { useLocaleContext } from './RVOPDSQY.js';
3
+ import { useLocaleContext } from './EM5SH6A3.js';
4
+ import { useEnvironmentContext } from './3P5T77QU.js';
6
5
  import { runIfFn } from './DT73WLR4.js';
6
+ import { ark } from './EPLBB4QN.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,10 +1,11 @@
1
- import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './FW6EZLZL.js';
1
+ import { splitPresenceProps, PresenceProvider, usePresenceContext } from './JBLHW7IM.js';
2
+ import { usePresence } from './X22PRPOR.js';
2
3
  import { composeRefs } from './ROP6QZQ7.js';
3
4
  import { createSplitProps } from './ZMHI4GDJ.js';
4
- import { ark } from './EPLBB4QN.js';
5
- import { useEnvironmentContext } from './5QLLQM7E.js';
6
- import { useLocaleContext } from './RVOPDSQY.js';
5
+ import { useLocaleContext } from './EM5SH6A3.js';
6
+ import { useEnvironmentContext } from './3P5T77QU.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
+ import { ark } from './EPLBB4QN.js';
8
9
  import { createContext } from './THN5C4U6.js';
9
10
  import { __export } from './ESLJRKWD.js';
10
11
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,8 +1,8 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
- import { ark } from './EPLBB4QN.js';
3
- import { useEnvironmentContext } from './5QLLQM7E.js';
4
- import { useLocaleContext } from './RVOPDSQY.js';
2
+ import { useLocaleContext } from './EM5SH6A3.js';
3
+ import { useEnvironmentContext } from './3P5T77QU.js';
5
4
  import { runIfFn } from './DT73WLR4.js';
5
+ import { ark } from './EPLBB4QN.js';
6
6
  import { createContext } from './THN5C4U6.js';
7
7
  import { __export } from './ESLJRKWD.js';
8
8
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./7HLG62OR.jsx";
3
+ } from "./PPH4D7AF.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
7
- import {
8
- ark
9
- } from "./UFYZ7HLU.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
- } from "./CGW54HAQ.jsx";
9
+ } from "./HDGILMRT.jsx";
13
10
  import {
14
11
  useLocaleContext
15
- } from "./JFOWNFC7.jsx";
12
+ } from "./HOPBYFHD.jsx";
16
13
  import {
17
14
  runIfFn
18
15
  } from "./KGOB2IMX.jsx";
16
+ import {
17
+ ark
18
+ } from "./UFYZ7HLU.jsx";
19
19
  import {
20
20
  createContext
21
21
  } from "./UZJJWJQM.jsx";
@@ -1,10 +1,11 @@
1
- import { useTreeViewContext, tree_view_exports, useTreeView } from './AH5KB6LR.js';
1
+ import { useTreeViewContext, tree_view_exports, useTreeView } from './A5BBGDPW.js';
2
2
  import { createTreeCollection } from './APULXWCH.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
+ import { ark } from './EPLBB4QN.js';
4
5
  import { createContext } from './THN5C4U6.js';
5
6
  import { __export } from './ESLJRKWD.js';
6
- import { createComponent, mergeProps, Show, Index as Index$1, template, insert, memo, effect, setAttribute, Dynamic, untrack } from 'solid-js/web';
7
- import { getRootNode, nodeToString, nodeToValue, keyPathToKey, jsonNodeToElement, getAccessibleDescription } from '@zag-js/json-tree-utils';
7
+ import { createComponent, mergeProps, Show, Index as Index$1, memo, Dynamic, untrack } from 'solid-js/web';
8
+ import { nodeToString, nodeToValue, getRootNode, keyPathToKey, jsonNodeToElement, getAccessibleDescription } from '@zag-js/json-tree-utils';
8
9
  import { Index, splitProps, createMemo, For } from 'solid-js';
9
10
 
10
11
  // src/components/json-tree-view/get-branch-value.ts
@@ -62,23 +63,40 @@ var JsonTreeViewRoot = (props) => {
62
63
  });
63
64
  };
64
65
  var JsonTreeViewRootProvider = (props) => {
65
- return createComponent(tree_view_exports.RootProvider, mergeProps({
66
- "data-scope": "json-tree-view"
67
- }, props));
66
+ const [localProps, restProps] = splitProps(props, ["value"]);
67
+ const treeView = createMemo(() => {
68
+ const {
69
+ options: _,
70
+ ...rest
71
+ } = localProps.value();
72
+ return rest;
73
+ });
74
+ return createComponent(JsonTreeViewPropsProvider, {
75
+ get value() {
76
+ return localProps.value().options;
77
+ },
78
+ get children() {
79
+ return createComponent(tree_view_exports.RootProvider, mergeProps({
80
+ "data-scope": "json-tree-view",
81
+ value: treeView
82
+ }, restProps));
83
+ }
84
+ });
68
85
  };
69
- var _tmpl$ = /* @__PURE__ */ template(`<span data-kind=key>`);
70
- var _tmpl$2 = /* @__PURE__ */ template(`<span data-kind=colon>: `);
71
86
  var JsonTreeViewKeyNode = (props) => {
72
87
  const key = createMemo(() => keyPathToKey(props.node.keyPath));
73
- return [(() => {
74
- var _el$ = _tmpl$();
75
- insert(_el$, (() => {
76
- var _c$ = memo(() => !!props.showQuotes);
77
- return () => _c$() ? `"${key()}"` : key();
78
- })());
79
- effect(() => setAttribute(_el$, "data-non-enumerable", props.node.isNonEnumerable ? "" : void 0));
80
- return _el$;
81
- })(), _tmpl$2()];
88
+ return [createComponent(ark.span, {
89
+ "data-kind": "key",
90
+ get ["data-non-enumerable"]() {
91
+ return props.node.isNonEnumerable ? "" : void 0;
92
+ },
93
+ get children() {
94
+ return memo(() => !!props.showQuotes)() ? `"${key()}"` : key();
95
+ }
96
+ }), createComponent(ark.span, {
97
+ "data-kind": "colon",
98
+ children: ": "
99
+ })];
82
100
  };
83
101
  var JsonTreeViewValueNode = (props) => {
84
102
  if (props.node.type === "text") {
@@ -287,8 +305,16 @@ var JsonTreeViewTree = (props) => {
287
305
  }
288
306
  }));
289
307
  };
308
+ var splitJsonTreeViewProps2 = createSplitProps();
290
309
  var useJsonTreeView = (props) => {
291
- const [jsonProps, restProps] = splitProps(props, ["data", "defaultExpandedDepth"]);
310
+ const [jsonTreeProps, localProps] = splitJsonTreeViewProps2(props, [
311
+ "maxPreviewItems",
312
+ "collapseStringsAfterLength",
313
+ "quotesOnKeys",
314
+ "groupArraysAfterLength",
315
+ "showNonenumerable"
316
+ ]);
317
+ const [jsonProps, restProps] = splitProps(localProps, ["data", "defaultExpandedDepth"]);
292
318
  const collection = createMemo(() => {
293
319
  return createTreeCollection({
294
320
  nodeToValue: nodeToValue,
@@ -307,7 +333,8 @@ var useJsonTreeView = (props) => {
307
333
  typeahead: false
308
334
  };
309
335
  });
310
- return useTreeView(machineProps);
336
+ const treeView = useTreeView(machineProps);
337
+ return createMemo(() => ({ ...treeView(), options: jsonTreeProps }));
311
338
  };
312
339
 
313
340
  // src/components/json-tree-view/json-tree-view.tsx
@@ -0,0 +1 @@
1
+ export { anatomy } from '@zag-js/drawer';
@@ -2,13 +2,16 @@ import {
2
2
  tree_view_exports,
3
3
  useTreeView,
4
4
  useTreeViewContext
5
- } from "./HWHAUHQ5.jsx";
5
+ } from "./DGI75TEJ.jsx";
6
6
  import {
7
7
  createTreeCollection
8
8
  } from "./EFII6TXL.jsx";
9
9
  import {
10
10
  createSplitProps
11
11
  } from "./6WEDGJKQ.jsx";
12
+ import {
13
+ ark
14
+ } from "./UFYZ7HLU.jsx";
12
15
  import {
13
16
  createContext
14
17
  } from "./UZJJWJQM.jsx";
@@ -74,8 +77,16 @@ var JsonTreeViewRoot = (props) => {
74
77
  };
75
78
 
76
79
  // src/components/json-tree-view/json-tree-view-root-provider.tsx
80
+ import { createMemo as createMemo2, splitProps as splitProps2 } from "solid-js";
77
81
  var JsonTreeViewRootProvider = (props) => {
78
- return <tree_view_exports.RootProvider data-scope="json-tree-view" {...props} />;
82
+ const [localProps, restProps] = splitProps2(props, ["value"]);
83
+ const treeView = createMemo2(() => {
84
+ const { options: _, ...rest } = localProps.value();
85
+ return rest;
86
+ });
87
+ return <JsonTreeViewPropsProvider value={localProps.value().options}>
88
+ <tree_view_exports.RootProvider data-scope="json-tree-view" value={treeView} {...restProps} />
89
+ </JsonTreeViewPropsProvider>;
79
90
  };
80
91
 
81
92
  // src/components/json-tree-view/json-tree-view-tree.tsx
@@ -87,19 +98,19 @@ import {
87
98
  jsonNodeToElement,
88
99
  keyPathToKey as keyPathToKey2
89
100
  } from "@zag-js/json-tree-utils";
90
- import { createMemo as createMemo3 } from "solid-js";
101
+ import { createMemo as createMemo4 } from "solid-js";
91
102
  import { Index, Show } from "solid-js/web";
92
103
 
93
104
  // src/components/json-tree-view/json-tree-view-key-node.tsx
94
105
  import { keyPathToKey } from "@zag-js/json-tree-utils";
95
- import { createMemo as createMemo2 } from "solid-js";
106
+ import { createMemo as createMemo3 } from "solid-js";
96
107
  var JsonTreeViewKeyNode = (props) => {
97
- const key = createMemo2(() => keyPathToKey(props.node.keyPath));
108
+ const key = createMemo3(() => keyPathToKey(props.node.keyPath));
98
109
  return <>
99
- <span data-kind="key" data-non-enumerable={props.node.isNonEnumerable ? "" : void 0}>
110
+ <ark.span data-kind="key" data-non-enumerable={props.node.isNonEnumerable ? "" : void 0}>
100
111
  {props.showQuotes ? `"${key()}"` : key()}
101
- </span>
102
- <span data-kind="colon">: </span>
112
+ </ark.span>
113
+ <ark.span data-kind="colon">: </ark.span>
103
114
  </>;
104
115
  };
105
116
 
@@ -128,11 +139,11 @@ var scopeProps = {
128
139
  };
129
140
  function JsonTreeViewNode(props) {
130
141
  const tree = useTreeViewContext();
131
- const nodeState = createMemo3(() => tree().getNodeState({ node: props.node, indexPath: props.indexPath }));
142
+ const nodeState = createMemo4(() => tree().getNodeState({ node: props.node, indexPath: props.indexPath }));
132
143
  const options = useJsonTreeViewPropsContext();
133
- const key = createMemo3(() => keyPathToKey2(props.node.keyPath, { excludeRoot: true }));
134
- const valueNode = createMemo3(() => jsonNodeToElement(props.node, options));
135
- const nodeProps = createMemo3(() => {
144
+ const key = createMemo4(() => keyPathToKey2(props.node.keyPath, { excludeRoot: true }));
145
+ const valueNode = createMemo4(() => jsonNodeToElement(props.node, options));
146
+ const nodeProps = createMemo4(() => {
136
147
  const desc = getAccessibleDescription(props.node);
137
148
  const line = props.indexPath.reduce((acc, curr) => acc + curr, 1);
138
149
  const lineLength = props.indexPath.length - 1;
@@ -195,21 +206,29 @@ var JsonTreeViewTree = (props) => {
195
206
 
196
207
  // src/components/json-tree-view/use-json-tree-view.ts
197
208
  import { getRootNode as getRootNode2, nodeToString as nodeToString2, nodeToValue as nodeToValue2 } from "@zag-js/json-tree-utils";
198
- import { createMemo as createMemo4, splitProps as splitProps2 } from "solid-js";
209
+ import { createMemo as createMemo5, splitProps as splitProps3 } from "solid-js";
199
210
  import { untrack } from "solid-js/web";
211
+ var splitJsonTreeViewProps2 = createSplitProps();
200
212
  var useJsonTreeView = (props) => {
201
- const [jsonProps, restProps] = splitProps2(props, ["data", "defaultExpandedDepth"]);
202
- const collection = createMemo4(() => {
213
+ const [jsonTreeProps, localProps] = splitJsonTreeViewProps2(props, [
214
+ "maxPreviewItems",
215
+ "collapseStringsAfterLength",
216
+ "quotesOnKeys",
217
+ "groupArraysAfterLength",
218
+ "showNonenumerable"
219
+ ]);
220
+ const [jsonProps, restProps] = splitProps3(localProps, ["data", "defaultExpandedDepth"]);
221
+ const collection = createMemo5(() => {
203
222
  return createTreeCollection({
204
223
  nodeToValue: nodeToValue2,
205
224
  nodeToString: nodeToString2,
206
225
  rootNode: getRootNode2(jsonProps.data)
207
226
  });
208
227
  });
209
- const defaultExpandedValue = createMemo4(() => {
228
+ const defaultExpandedValue = createMemo5(() => {
210
229
  return jsonProps.defaultExpandedDepth != null ? getBranchValues(collection(), jsonProps.defaultExpandedDepth) : void 0;
211
230
  });
212
- const machineProps = createMemo4(() => {
231
+ const machineProps = createMemo5(() => {
213
232
  return {
214
233
  defaultExpandedValue: untrack(defaultExpandedValue),
215
234
  ...restProps,
@@ -217,7 +236,8 @@ var useJsonTreeView = (props) => {
217
236
  typeahead: false
218
237
  };
219
238
  });
220
- return useTreeView(machineProps);
239
+ const treeView = useTreeView(machineProps);
240
+ return createMemo5(() => ({ ...treeView(), options: jsonTreeProps }));
221
241
  };
222
242
 
223
243
  // src/components/json-tree-view/json-tree-view.tsx
@@ -1,9 +1,9 @@
1
- import { useFieldsetContext } from './Z5ZRFFPU.js';
1
+ import { useFieldsetContext } from './37BRFTCN.js';
2
2
  import { composeRefs } from './ROP6QZQ7.js';
3
3
  import { parts } from './DAGJUXUK.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
+ import { useEnvironmentContext } from './3P5T77QU.js';
5
6
  import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './5QLLQM7E.js';
7
7
  import { createContext } from './THN5C4U6.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,8 +1,8 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
- import { ark } from './EPLBB4QN.js';
3
- import { useEnvironmentContext } from './5QLLQM7E.js';
4
- import { useLocaleContext } from './RVOPDSQY.js';
2
+ import { useLocaleContext } from './EM5SH6A3.js';
3
+ import { useEnvironmentContext } from './3P5T77QU.js';
5
4
  import { runIfFn } from './DT73WLR4.js';
5
+ import { ark } from './EPLBB4QN.js';
6
6
  import { createContext } from './THN5C4U6.js';
7
7
  import { __export } from './ESLJRKWD.js';
8
8
  import { createComponent } from 'solid-js/web';