@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
@@ -1,6 +1,7 @@
1
1
  import { composeRefs } from './ROP6QZQ7.js';
2
- import { EnvironmentProvider } from './5QLLQM7E.js';
3
- import { createComponent, template, use, spread, insert, Portal } from 'solid-js/web';
2
+ import { EnvironmentProvider } from './3P5T77QU.js';
3
+ import { ark } from './EPLBB4QN.js';
4
+ import { createComponent, mergeProps, Portal } from 'solid-js/web';
4
5
  import { splitProps, createMemo, createSignal, createEffect, onCleanup, Show } from 'solid-js';
5
6
 
6
7
  var FrameContent = (props) => {
@@ -19,7 +20,6 @@ var FrameContent = (props) => {
19
20
  };
20
21
 
21
22
  // src/components/frame/frame.tsx
22
- var _tmpl$ = /* @__PURE__ */ template(`<iframe>`);
23
23
  var resetStyle = "<style>*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }</style>";
24
24
  var initialSrcDoc = `<html><head>${resetStyle}</head><body><div class="frame-root"></div></body></html>`;
25
25
  function getMountNode(frame) {
@@ -69,49 +69,51 @@ var Frame = (props) => {
69
69
  return createComponent(EnvironmentProvider, {
70
70
  value: () => frameRef()?.contentDocument ?? document,
71
71
  get children() {
72
- var _el$ = _tmpl$();
73
- var _ref$ = composeRefs(setFrameRef, localProps.ref);
74
- typeof _ref$ === "function" && use(_ref$, _el$);
75
- spread(_el$, localProps, false, true);
76
- insert(_el$, createComponent(Show, {
77
- get when() {
78
- return mountNode();
72
+ return createComponent(ark.iframe, mergeProps(localProps, {
73
+ ref(r$) {
74
+ var _ref$ = composeRefs(setFrameRef, localProps.ref);
75
+ typeof _ref$ === "function" && _ref$(r$);
79
76
  },
80
- children: (node) => createComponent(Portal, {
81
- get mount() {
82
- return node();
83
- },
84
- get children() {
85
- return createComponent(FrameContent, {
86
- get onMount() {
87
- return frameProps.onMount;
88
- },
89
- get onUnmount() {
90
- return frameProps.onUnmount;
77
+ get children() {
78
+ return [createComponent(Show, {
79
+ get when() {
80
+ return mountNode();
81
+ },
82
+ children: (node) => createComponent(Portal, {
83
+ get mount() {
84
+ return node();
91
85
  },
92
86
  get children() {
93
- return frameProps.children;
87
+ return createComponent(FrameContent, {
88
+ get onMount() {
89
+ return frameProps.onMount;
90
+ },
91
+ get onUnmount() {
92
+ return frameProps.onUnmount;
93
+ },
94
+ get children() {
95
+ return frameProps.children;
96
+ }
97
+ });
94
98
  }
95
- });
96
- }
97
- })
98
- }), null);
99
- insert(_el$, createComponent(Show, {
100
- get when() {
101
- return mountNode();
102
- },
103
- get children() {
104
- return createComponent(Portal, {
105
- get mount() {
106
- return frameRef().contentDocument.head;
99
+ })
100
+ }), createComponent(Show, {
101
+ get when() {
102
+ return mountNode();
107
103
  },
108
104
  get children() {
109
- return frameProps.head;
105
+ return createComponent(Portal, {
106
+ get mount() {
107
+ return frameRef().contentDocument.head;
108
+ },
109
+ get children() {
110
+ return frameProps.head;
111
+ }
112
+ });
110
113
  }
111
- });
114
+ })];
112
115
  }
113
- }), null);
114
- return _el$;
116
+ }));
115
117
  }
116
118
  });
117
119
  };
@@ -1,3 +1,6 @@
1
+ import {
2
+ runIfFn
3
+ } from "./KGOB2IMX.jsx";
1
4
  import {
2
5
  createContext
3
6
  } from "./UZJJWJQM.jsx";
@@ -37,18 +40,32 @@ function useCollator(props = {}) {
37
40
  });
38
41
  }
39
42
 
43
+ // src/providers/locale/use-date-formatter.ts
44
+ import { DateFormatter } from "@internationalized/date";
45
+ import { createMemo as createMemo3 } from "solid-js";
46
+ function useDateFormatter(props = {}) {
47
+ const env = useLocaleContext();
48
+ return createMemo3(() => {
49
+ const resolvedProps = runIfFn(props);
50
+ const locale = resolvedProps.locale ?? env().locale;
51
+ const { locale: _, ...options } = resolvedProps;
52
+ return new DateFormatter(locale, options);
53
+ });
54
+ }
55
+
40
56
  // src/providers/locale/use-filter.ts
41
57
  import { createFilter } from "@zag-js/i18n-utils";
42
- import { createMemo as createMemo3 } from "solid-js";
58
+ import { createMemo as createMemo4 } from "solid-js";
43
59
  function useFilter(props) {
44
60
  const env = useLocaleContext();
45
- const locale = createMemo3(() => props.locale ?? env().locale);
46
- return createMemo3(() => createFilter({ ...props, locale: locale() }));
61
+ const locale = createMemo4(() => props.locale ?? env().locale);
62
+ return createMemo4(() => createFilter({ ...props, locale: locale() }));
47
63
  }
48
64
 
49
65
  export {
50
66
  useLocaleContext,
51
67
  LocaleProvider,
52
68
  useCollator,
69
+ useDateFormatter,
53
70
  useFilter
54
71
  };
@@ -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";
@@ -145,16 +145,19 @@ import { For, Show } from "solid-js";
145
145
  var SignaturePadSegment = (props) => {
146
146
  const signaturePad2 = useSignaturePadContext();
147
147
  const mergedProps = mergeProps8(() => signaturePad2().getSegmentProps(), props);
148
- return <ark.svg {...mergedProps}>
149
- <title>Signature</title>
150
- <For each={signaturePad2().paths}>{(path) => <path {...signaturePad2().getSegmentPathProps({ path })} />}</For>
148
+ return (
149
+ // biome-ignore lint/a11y/noSvgWithoutTitle: <ark.title> is used here
150
+ <ark.svg {...mergedProps}>
151
+ <ark.title>Signature</ark.title>
152
+ <For each={signaturePad2().paths}>{(path) => <ark.path {...signaturePad2().getSegmentPathProps({ path })} />}</For>
151
153
  <Show when={signaturePad2().currentPath}>
152
154
  {
153
- /* @ts-expect-error */
154
- }
155
- <path {...signaturePad2().getSegmentPathProps({ path: signaturePad2().currentPath })} />
155
+ /* @ts-expect-error */
156
+ }
157
+ <ark.path {...signaturePad2().getSegmentPathProps({ path: signaturePad2().currentPath })} />
156
158
  </Show>
157
- </ark.svg>;
159
+ </ark.svg>
160
+ );
158
161
  };
159
162
 
160
163
  // src/components/signature-pad/signature-pad.ts
@@ -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';
@@ -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';
@@ -4,18 +4,18 @@ import {
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,11 +1,12 @@
1
- import { usePresence, PresenceProvider } from './FW6EZLZL.js';
1
+ import { PresenceProvider } from './JBLHW7IM.js';
2
+ import { usePresence } from './X22PRPOR.js';
2
3
  import { composeRefs } from './ROP6QZQ7.js';
3
4
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './GUFIKGZ6.js';
4
5
  import { createSplitProps } from './ZMHI4GDJ.js';
5
- import { ark } from './EPLBB4QN.js';
6
- import { useEnvironmentContext } from './5QLLQM7E.js';
7
- import { useLocaleContext } from './RVOPDSQY.js';
6
+ import { useLocaleContext } from './EM5SH6A3.js';
7
+ import { useEnvironmentContext } from './3P5T77QU.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
+ import { ark } from './EPLBB4QN.js';
9
10
  import { createContext } from './THN5C4U6.js';
10
11
  import { __export } from './ESLJRKWD.js';
11
12
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -3,7 +3,7 @@ import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
4
  import { createContext } from './THN5C4U6.js';
5
5
  import { __export } from './ESLJRKWD.js';
6
- import { createComponent, mergeProps as mergeProps$1, template, spread } from 'solid-js/web';
6
+ import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
7
7
  import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
8
8
  import { splitProps, Show, createMemo } from 'solid-js';
9
9
  import * as toggle from '@zag-js/toggle';
@@ -51,7 +51,6 @@ function useToggle(props) {
51
51
  }
52
52
 
53
53
  // src/components/toggle/toggle-root.tsx
54
- var _tmpl$ = /* @__PURE__ */ template(`<button>`);
55
54
  var ToggleRoot = (props) => {
56
55
  const [useToggleProps, localProps] = createSplitProps()(props, ["pressed", "defaultPressed", "disabled", "onPressedChange"]);
57
56
  const toggle2 = useToggle(useToggleProps);
@@ -59,9 +58,7 @@ var ToggleRoot = (props) => {
59
58
  return createComponent(ToggleProvider, {
60
59
  value: toggle2,
61
60
  get children() {
62
- var _el$ = _tmpl$();
63
- spread(_el$, mergedProps, false, false);
64
- return _el$;
61
+ return createComponent(ark.button, mergedProps);
65
62
  }
66
63
  });
67
64
  };
@@ -1,13 +1,11 @@
1
+ import { usePresence } from './X22PRPOR.js';
1
2
  import { composeRefs } from './ROP6QZQ7.js';
2
- import { splitRenderStrategyProps } from './GUFIKGZ6.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { runIfFn } from './DT73WLR4.js';
6
5
  import { createContext } from './THN5C4U6.js';
7
6
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
8
- import { useMachine, normalizeProps, mergeProps } from '@zag-js/solid';
9
- import { createSignal, createMemo, createEffect, Show } from 'solid-js';
10
- import * as presence from '@zag-js/presence';
7
+ import { mergeProps } from '@zag-js/solid';
8
+ import { Show } from 'solid-js';
11
9
 
12
10
  // src/components/presence/split-presence-props.ts
13
11
  var splitPresenceProps = (props) => createSplitProps()(props, [
@@ -18,29 +16,6 @@ var splitPresenceProps = (props) => createSplitProps()(props, [
18
16
  "skipAnimationOnMount",
19
17
  "unmountOnExit"
20
18
  ]);
21
- var usePresence = (props) => {
22
- const [renderStrategyProps, localProps] = splitRenderStrategyProps(runIfFn(props));
23
- const [wasEverPresent, setWasEverPresent] = createSignal(false);
24
- const service = useMachine(presence.machine, props);
25
- const api = createMemo(() => presence.connect(service, normalizeProps));
26
- createEffect(() => {
27
- const present = api().present;
28
- if (present) setWasEverPresent(true);
29
- });
30
- const setNode = (node) => {
31
- if (!node) return;
32
- service.send({ type: "NODE.SET", node });
33
- };
34
- return createMemo(() => ({
35
- unmounted: !api().present && !wasEverPresent() && renderStrategyProps.lazyMount || renderStrategyProps.unmountOnExit && !api().present && wasEverPresent(),
36
- present: api().present,
37
- ref: setNode,
38
- presenceProps: {
39
- hidden: !api().present,
40
- "data-state": api().skip && localProps.skipAnimationOnMount ? void 0 : localProps.present ? "open" : "closed"
41
- }
42
- }));
43
- };
44
19
 
45
20
  // src/components/presence/presence.tsx
46
21
  var Presence = (props) => {
@@ -70,4 +45,4 @@ var [PresenceProvider, usePresenceContext] = createContext({
70
45
  providerName: "<PresenceProvider />"
71
46
  });
72
47
 
73
- export { Presence, PresenceProvider, splitPresenceProps, usePresence, usePresenceContext };
48
+ export { Presence, PresenceProvider, splitPresenceProps, usePresenceContext };
@@ -1,18 +1,41 @@
1
- import { usePresence, splitPresenceProps, 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 { tourAnatomy } from './NYBIYPS4.js';
4
5
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './GUFIKGZ6.js';
5
6
  import { createSplitProps } from './ZMHI4GDJ.js';
6
- import { ark } from './EPLBB4QN.js';
7
- import { useEnvironmentContext } from './5QLLQM7E.js';
8
- import { useLocaleContext } from './RVOPDSQY.js';
7
+ import { useLocaleContext } from './EM5SH6A3.js';
8
+ import { useEnvironmentContext } from './3P5T77QU.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
+ import { ark } from './EPLBB4QN.js';
10
11
  import { createContext } from './THN5C4U6.js';
11
12
  import { __export } from './ESLJRKWD.js';
13
+ import * as tour from '@zag-js/tour';
14
+ export { waitForElement, waitForElementValue, waitForPromise } from '@zag-js/tour';
12
15
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
13
16
  import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
14
17
  import { Show, createUniqueId, createMemo } from 'solid-js';
15
- import * as tour from '@zag-js/tour';
18
+
19
+ // src/components/tour/wait-for-event.ts
20
+ function waitForEvent(target, event, options) {
21
+ let cleanup;
22
+ const { predicate, ...listenerOptions } = options ?? {};
23
+ const promise = new Promise((resolve) => {
24
+ const element = target?.();
25
+ if (!element) {
26
+ return;
27
+ }
28
+ const handler = (e) => {
29
+ if (!predicate || predicate(element)) {
30
+ resolve(e);
31
+ cleanup?.();
32
+ }
33
+ };
34
+ element.addEventListener(event, handler, listenerOptions);
35
+ cleanup = () => element.removeEventListener(event, handler, listenerOptions);
36
+ });
37
+ return [promise, () => cleanup?.()];
38
+ }
16
39
 
17
40
  // src/components/tour/use-tour-context.ts
18
41
  var [TourProvider, useTourContext] = createContext({
@@ -234,4 +257,4 @@ __export(tour_exports, {
234
257
  Title: () => TourTitle
235
258
  });
236
259
 
237
- export { TourActionTrigger, TourActions, TourArrow, TourArrowTip, TourBackdrop, TourCloseTrigger, TourContent, TourContext, TourControl, TourDescription, TourPositioner, TourProgressText, TourRoot, TourSpotlight, TourTitle, tour_exports, useTour, useTourContext };
260
+ export { TourActionTrigger, TourActions, TourArrow, TourArrowTip, TourBackdrop, TourCloseTrigger, TourContent, TourContext, TourControl, TourDescription, TourPositioner, TourProgressText, TourRoot, TourSpotlight, TourTitle, tour_exports, useTour, useTourContext, waitForEvent };
@@ -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';
@@ -0,0 +1,6 @@
1
+ // src/components/drawer/drawer.anatomy.ts
2
+ import { anatomy } from "@zag-js/drawer";
3
+
4
+ export {
5
+ anatomy
6
+ };
@@ -1,7 +1,7 @@
1
1
  import { createSplitProps } from './ZMHI4GDJ.js';
2
- import { ark } from './EPLBB4QN.js';
3
- import { useEnvironmentContext } from './5QLLQM7E.js';
2
+ import { useEnvironmentContext } from './3P5T77QU.js';
4
3
  import { runIfFn } from './DT73WLR4.js';
4
+ import { ark } from './EPLBB4QN.js';
5
5
  import { createContext } from './THN5C4U6.js';
6
6
  import { __export } from './ESLJRKWD.js';
7
7
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useLocaleContext
3
- } from "./JFOWNFC7.jsx";
3
+ } from "./HOPBYFHD.jsx";
4
4
  import {
5
5
  __export
6
6
  } from "./7IUG3E2V.jsx";