@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,231 +0,0 @@
1
- import {
2
- PresenceProvider,
3
- splitPresenceProps,
4
- usePresence,
5
- usePresenceContext
6
- } from "./2P5Y3YCK.jsx";
7
- import {
8
- composeRefs
9
- } from "./PT2CJE3O.jsx";
10
- import {
11
- RenderStrategyProvider,
12
- splitRenderStrategyProps,
13
- useRenderStrategyContext
14
- } from "./VNMGX67M.jsx";
15
- import {
16
- createSplitProps
17
- } from "./6WEDGJKQ.jsx";
18
- import {
19
- ark
20
- } from "./UFYZ7HLU.jsx";
21
- import {
22
- useEnvironmentContext
23
- } from "./CGW54HAQ.jsx";
24
- import {
25
- useLocaleContext
26
- } from "./JFOWNFC7.jsx";
27
- import {
28
- runIfFn
29
- } from "./KGOB2IMX.jsx";
30
- import {
31
- createContext
32
- } from "./UZJJWJQM.jsx";
33
- import {
34
- __export
35
- } from "./7IUG3E2V.jsx";
36
-
37
- // src/components/bottom-sheet/bottom-sheet-backdrop.tsx
38
- import { mergeProps } from "@zag-js/solid";
39
- import { Show } from "solid-js";
40
-
41
- // src/components/bottom-sheet/use-bottom-sheet-context.ts
42
- var [BottomSheetProvider, useBottomSheetContext] = createContext({
43
- hookName: "useBottomSheetContext",
44
- providerName: "<BottomSheetProvider />"
45
- });
46
-
47
- // src/components/bottom-sheet/bottom-sheet-backdrop.tsx
48
- var BottomSheetBackdrop = (props) => {
49
- const bottomSheet2 = useBottomSheetContext();
50
- const renderStrategyProps = useRenderStrategyContext();
51
- const presence = usePresence(mergeProps(renderStrategyProps, () => ({ present: bottomSheet2().open })));
52
- const mergedProps = mergeProps(
53
- () => bottomSheet2().getBackdropProps(),
54
- () => presence().presenceProps,
55
- props
56
- );
57
- return <Show when={!presence().unmounted}>
58
- <ark.div {...mergedProps} ref={composeRefs(presence().ref, props.ref)} />
59
- </Show>;
60
- };
61
-
62
- // src/components/bottom-sheet/bottom-sheet-close-trigger.tsx
63
- import { mergeProps as mergeProps2 } from "@zag-js/solid";
64
- var BottomSheetCloseTrigger = (props) => {
65
- const context = useBottomSheetContext();
66
- const mergedProps = mergeProps2(() => context().getCloseTriggerProps(), props);
67
- return <ark.button {...mergedProps} />;
68
- };
69
-
70
- // src/components/bottom-sheet/bottom-sheet-content.tsx
71
- import { mergeProps as mergeProps3 } from "@zag-js/solid";
72
- import { Show as Show2 } from "solid-js";
73
- var BottomSheetContent = (props) => {
74
- const [contentProps, localProps] = createSplitProps()(props, ["draggable"]);
75
- const bottomSheet2 = useBottomSheetContext();
76
- const presence = usePresenceContext();
77
- const mergedProps = mergeProps3(
78
- () => bottomSheet2().getContentProps({ draggable: true, ...contentProps }),
79
- () => presence().presenceProps,
80
- localProps
81
- );
82
- return <Show2 when={!presence().unmounted}>
83
- <ark.div {...mergedProps} ref={composeRefs(presence().ref, localProps.ref)} />
84
- </Show2>;
85
- };
86
-
87
- // src/components/bottom-sheet/bottom-sheet-context.tsx
88
- var BottomSheetContext = (props) => props.children(useBottomSheetContext());
89
-
90
- // src/components/bottom-sheet/bottom-sheet-grabber.tsx
91
- import { mergeProps as mergeProps4 } from "@zag-js/solid";
92
- var BottomSheetGrabber = (props) => {
93
- const bottomSheet2 = useBottomSheetContext();
94
- const mergedProps = mergeProps4(() => bottomSheet2().getGrabberProps(), props);
95
- return <ark.div {...mergedProps} />;
96
- };
97
-
98
- // src/components/bottom-sheet/bottom-sheet-grabber-indicator.tsx
99
- import { mergeProps as mergeProps5 } from "@zag-js/solid";
100
- var BottomSheetGrabberIndicator = (props) => {
101
- const bottomSheet2 = useBottomSheetContext();
102
- const mergedProps = mergeProps5(() => bottomSheet2().getGrabberIndicatorProps(), props);
103
- return <ark.div {...mergedProps} />;
104
- };
105
-
106
- // src/components/bottom-sheet/bottom-sheet-root.tsx
107
- import { mergeProps as mergeProps6 } from "@zag-js/solid";
108
-
109
- // src/components/bottom-sheet/use-bottom-sheet.ts
110
- import * as bottomSheet from "@zag-js/bottom-sheet";
111
- import { normalizeProps, useMachine } from "@zag-js/solid";
112
- import { createMemo, createUniqueId } from "solid-js";
113
- var useBottomSheet = (props) => {
114
- const locale = useLocaleContext();
115
- const environment = useEnvironmentContext();
116
- const id = createUniqueId();
117
- const machineProps = createMemo(() => ({
118
- id,
119
- dir: locale().dir,
120
- getRootNode: environment().getRootNode,
121
- ...runIfFn(props)
122
- }));
123
- const service = useMachine(bottomSheet.machine, machineProps);
124
- return createMemo(() => bottomSheet.connect(service, normalizeProps));
125
- };
126
-
127
- // src/components/bottom-sheet/bottom-sheet-root.tsx
128
- var BottomSheetRoot = (props) => {
129
- const [presenceProps, bottomSheetProps] = splitPresenceProps(props);
130
- const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
131
- const [useBottomSheetProps, localProps] = createSplitProps()(bottomSheetProps, [
132
- "id",
133
- "ids",
134
- "open",
135
- "defaultOpen",
136
- "onOpenChange",
137
- "closeOnInteractOutside",
138
- "closeOnEscape",
139
- "snapPoints",
140
- "swipeVelocityThreshold",
141
- "closeThreshold",
142
- "preventDragOnScroll",
143
- "activeSnapPoint",
144
- "defaultActiveSnapPoint",
145
- "onActiveSnapPointChange",
146
- "modal",
147
- "trapFocus",
148
- "restoreFocus",
149
- "preventScroll",
150
- "initialFocusEl",
151
- "finalFocusEl",
152
- "role",
153
- "onInteractOutside",
154
- "onEscapeKeyDown",
155
- "onPointerDownOutside",
156
- "onFocusOutside",
157
- "onRequestDismiss"
158
- ]);
159
- const bottomSheet2 = useBottomSheet(useBottomSheetProps);
160
- const presence = usePresence(mergeProps6(presenceProps, () => ({ present: bottomSheet2().open })));
161
- return <BottomSheetProvider value={bottomSheet2}>
162
- <RenderStrategyProvider value={renderStrategyProps}>
163
- <PresenceProvider value={presence}>{localProps.children}</PresenceProvider>
164
- </RenderStrategyProvider>
165
- </BottomSheetProvider>;
166
- };
167
-
168
- // src/components/bottom-sheet/bottom-sheet-root-provider.tsx
169
- import { mergeProps as mergeProps7 } from "@zag-js/solid";
170
- var BottomSheetRootProvider = (props) => {
171
- const [presenceProps, bottomSheetProps] = splitPresenceProps(props);
172
- const [renderStrategyProps] = splitRenderStrategyProps(presenceProps);
173
- const presence = usePresence(mergeProps7(() => ({ present: bottomSheetProps.value().open }), presenceProps));
174
- return <BottomSheetProvider value={bottomSheetProps.value}>
175
- <RenderStrategyProvider value={renderStrategyProps}>
176
- <PresenceProvider value={presence}>{bottomSheetProps.children}</PresenceProvider>
177
- </RenderStrategyProvider>
178
- </BottomSheetProvider>;
179
- };
180
-
181
- // src/components/bottom-sheet/bottom-sheet-title.tsx
182
- import { mergeProps as mergeProps8 } from "@zag-js/solid";
183
- var BottomSheetTitle = (props) => {
184
- const bottomSheet2 = useBottomSheetContext();
185
- const mergedProps = mergeProps8(() => bottomSheet2().getTitleProps(), props);
186
- return <ark.h2 {...mergedProps} />;
187
- };
188
-
189
- // src/components/bottom-sheet/bottom-sheet-trigger.tsx
190
- import { mergeProps as mergeProps9 } from "@zag-js/solid";
191
- var BottomSheetTrigger = (props) => {
192
- const bottomSheet2 = useBottomSheetContext();
193
- const presence = usePresenceContext();
194
- const mergedProps = mergeProps9(
195
- () => bottomSheet2().getTriggerProps(),
196
- () => ({ "aria-controls": presence().unmounted && null }),
197
- props
198
- );
199
- return <ark.button {...mergedProps} />;
200
- };
201
-
202
- // src/components/bottom-sheet/bottom-sheet.ts
203
- var bottom_sheet_exports = {};
204
- __export(bottom_sheet_exports, {
205
- Backdrop: () => BottomSheetBackdrop,
206
- CloseTrigger: () => BottomSheetCloseTrigger,
207
- Content: () => BottomSheetContent,
208
- Context: () => BottomSheetContext,
209
- Grabber: () => BottomSheetGrabber,
210
- GrabberIndicator: () => BottomSheetGrabberIndicator,
211
- Root: () => BottomSheetRoot,
212
- RootProvider: () => BottomSheetRootProvider,
213
- Title: () => BottomSheetTitle,
214
- Trigger: () => BottomSheetTrigger
215
- });
216
-
217
- export {
218
- useBottomSheetContext,
219
- BottomSheetBackdrop,
220
- BottomSheetCloseTrigger,
221
- BottomSheetContent,
222
- BottomSheetContext,
223
- BottomSheetGrabber,
224
- BottomSheetGrabberIndicator,
225
- useBottomSheet,
226
- BottomSheetRoot,
227
- BottomSheetRootProvider,
228
- BottomSheetTitle,
229
- BottomSheetTrigger,
230
- bottom_sheet_exports
231
- };
@@ -1,6 +0,0 @@
1
- // src/components/bottom-sheet/bottom-sheet.anatomy.ts
2
- import { anatomy } from "@zag-js/bottom-sheet";
3
-
4
- export {
5
- anatomy
6
- };
@@ -1,92 +0,0 @@
1
- import * as bottomSheet$1 from '@zag-js/bottom-sheet';
2
- import { ContentProps, OpenChangeDetails } from '@zag-js/bottom-sheet';
3
- export { OpenChangeDetails as BottomSheetOpenChangeDetails, anatomy as bottomSheetAnatomy } from '@zag-js/bottom-sheet';
4
- import * as solid_js from 'solid-js';
5
- import { Accessor, JSX } from 'solid-js';
6
- import { HTMLProps, PolymorphicProps } from '../factory.js';
7
- import { PropTypes } from '@zag-js/solid';
8
- import { O as Optional, M as MaybeAccessor } from '../../types-Sr_80hg9.js';
9
- import { U as UsePresenceProps } from '../../use-presence-DsfHkUSW.js';
10
- import '@zag-js/presence';
11
- import '../../render-strategy-B5MqQP3X.js';
12
-
13
- interface BottomSheetBackdropBaseProps extends PolymorphicProps<'div'> {
14
- }
15
- interface BottomSheetBackdropProps extends HTMLProps<'div'>, BottomSheetBackdropBaseProps {
16
- }
17
- declare const BottomSheetBackdrop: (props: BottomSheetBackdropProps) => solid_js.JSX.Element;
18
-
19
- interface BottomSheetCloseTriggerBaseProps extends PolymorphicProps<'button'> {
20
- }
21
- interface BottomSheetCloseTriggerProps extends HTMLProps<'button'>, BottomSheetCloseTriggerBaseProps {
22
- }
23
- declare const BottomSheetCloseTrigger: (props: BottomSheetCloseTriggerProps) => solid_js.JSX.Element;
24
-
25
- interface BottomSheetContentBaseProps extends PolymorphicProps<'div'>, ContentProps {
26
- }
27
- interface BottomSheetContentProps extends Omit<HTMLProps<'div'>, 'draggable'>, BottomSheetContentBaseProps {
28
- }
29
- declare const BottomSheetContent: (props: BottomSheetContentProps) => solid_js.JSX.Element;
30
-
31
- interface UseBottomSheetProps extends Optional<Omit<bottomSheet$1.Props, 'dir' | 'getRootNode'>, 'id'> {
32
- }
33
- interface UseBottomSheetReturn extends Accessor<bottomSheet$1.Api<PropTypes>> {
34
- }
35
- declare const useBottomSheet: (props?: MaybeAccessor<UseBottomSheetProps>) => UseBottomSheetReturn;
36
-
37
- interface UseBottomSheetContext extends UseBottomSheetReturn {
38
- }
39
- declare const useBottomSheetContext: () => UseBottomSheetContext;
40
-
41
- interface BottomSheetContextProps {
42
- children: (context: UseBottomSheetContext) => JSX.Element;
43
- }
44
- declare const BottomSheetContext: (props: BottomSheetContextProps) => JSX.Element;
45
-
46
- interface BottomSheetGrabberBaseProps extends PolymorphicProps<'div'> {
47
- }
48
- interface BottomSheetGrabberProps extends HTMLProps<'div'>, BottomSheetGrabberBaseProps {
49
- }
50
- declare const BottomSheetGrabber: (props: BottomSheetGrabberProps) => solid_js.JSX.Element;
51
-
52
- interface BottomSheetGrabberIndicatorBaseProps extends PolymorphicProps<'div'> {
53
- }
54
- interface BottomSheetGrabberIndicatorProps extends HTMLProps<'div'>, BottomSheetGrabberIndicatorBaseProps {
55
- }
56
- declare const BottomSheetGrabberIndicator: (props: BottomSheetGrabberIndicatorProps) => solid_js.JSX.Element;
57
-
58
- interface BottomSheetRootBaseProps extends UseBottomSheetProps, UsePresenceProps {
59
- }
60
- interface BottomSheetRootProps extends BottomSheetRootBaseProps {
61
- children?: JSX.Element;
62
- }
63
- declare const BottomSheetRoot: (props: BottomSheetRootProps) => JSX.Element;
64
-
65
- interface RootProviderProps {
66
- value: UseBottomSheetReturn;
67
- }
68
- interface BottomSheetRootProviderBaseProps extends RootProviderProps, UsePresenceProps {
69
- }
70
- interface BottomSheetRootProviderProps extends BottomSheetRootProviderBaseProps {
71
- children?: JSX.Element;
72
- }
73
- declare const BottomSheetRootProvider: (props: BottomSheetRootProviderProps) => JSX.Element;
74
-
75
- interface BottomSheetTitleBaseProps extends PolymorphicProps<'h2'> {
76
- }
77
- interface BottomSheetTitleProps extends HTMLProps<'h2'>, BottomSheetTitleBaseProps {
78
- }
79
- declare const BottomSheetTitle: (props: BottomSheetTitleProps) => solid_js.JSX.Element;
80
-
81
- interface BottomSheetTriggerBaseProps extends PolymorphicProps<'button'> {
82
- }
83
- interface BottomSheetTriggerProps extends HTMLProps<'button'>, BottomSheetTriggerBaseProps {
84
- }
85
- declare const BottomSheetTrigger: (props: BottomSheetTriggerProps) => solid_js.JSX.Element;
86
-
87
- declare const bottomSheet_OpenChangeDetails: typeof OpenChangeDetails;
88
- declare namespace bottomSheet {
89
- export { BottomSheetBackdrop as Backdrop, type BottomSheetBackdropBaseProps as BackdropBaseProps, type BottomSheetBackdropProps as BackdropProps, BottomSheetCloseTrigger as CloseTrigger, type BottomSheetCloseTriggerBaseProps as CloseTriggerBaseProps, type BottomSheetCloseTriggerProps as CloseTriggerProps, BottomSheetContent as Content, type BottomSheetContentBaseProps as ContentBaseProps, type BottomSheetContentProps as ContentProps, BottomSheetContext as Context, type BottomSheetContextProps as ContextProps, BottomSheetGrabber as Grabber, type BottomSheetGrabberBaseProps as GrabberBaseProps, BottomSheetGrabberIndicator as GrabberIndicator, type BottomSheetGrabberIndicatorBaseProps as GrabberIndicatorBaseProps, type BottomSheetGrabberIndicatorProps as GrabberIndicatorProps, type BottomSheetGrabberProps as GrabberProps, bottomSheet_OpenChangeDetails as OpenChangeDetails, BottomSheetRoot as Root, type BottomSheetRootBaseProps as RootBaseProps, type BottomSheetRootProps as RootProps, BottomSheetRootProvider as RootProvider, type BottomSheetRootProviderBaseProps as RootProviderBaseProps, type BottomSheetRootProviderProps as RootProviderProps, BottomSheetTitle as Title, type BottomSheetTitleBaseProps as TitleBaseProps, type BottomSheetTitleProps as TitleProps, BottomSheetTrigger as Trigger, type BottomSheetTriggerBaseProps as TriggerBaseProps, type BottomSheetTriggerProps as TriggerProps };
90
- }
91
-
92
- export { bottomSheet as BottomSheet, BottomSheetBackdrop, type BottomSheetBackdropBaseProps, type BottomSheetBackdropProps, BottomSheetCloseTrigger, type BottomSheetCloseTriggerBaseProps, type BottomSheetCloseTriggerProps, BottomSheetContent, type BottomSheetContentBaseProps, type BottomSheetContentProps, BottomSheetContext, type BottomSheetContextProps, BottomSheetGrabber, type BottomSheetGrabberBaseProps, BottomSheetGrabberIndicator, type BottomSheetGrabberIndicatorBaseProps, type BottomSheetGrabberIndicatorProps, type BottomSheetGrabberProps, BottomSheetRoot, type BottomSheetRootBaseProps, type BottomSheetRootProps, BottomSheetRootProvider, type BottomSheetRootProviderBaseProps, type BottomSheetRootProviderProps, BottomSheetTitle, type BottomSheetTitleBaseProps, type BottomSheetTitleProps, BottomSheetTrigger, type BottomSheetTriggerBaseProps, type BottomSheetTriggerProps, type UseBottomSheetContext, type UseBottomSheetProps, type UseBottomSheetReturn, useBottomSheet, useBottomSheetContext };
@@ -1,2 +0,0 @@
1
- export { bottom_sheet_exports as BottomSheet, BottomSheetBackdrop, BottomSheetCloseTrigger, BottomSheetContent, BottomSheetContext, BottomSheetGrabber, BottomSheetGrabberIndicator, BottomSheetRoot, BottomSheetRootProvider, BottomSheetTitle, BottomSheetTrigger, useBottomSheet, useBottomSheetContext } from '../../chunk/M3S2UEA7.js';
2
- export { anatomy as bottomSheetAnatomy } from '../../chunk/2R6SK2X3.js';
@@ -1,45 +0,0 @@
1
- import {
2
- BottomSheetBackdrop,
3
- BottomSheetCloseTrigger,
4
- BottomSheetContent,
5
- BottomSheetContext,
6
- BottomSheetGrabber,
7
- BottomSheetGrabberIndicator,
8
- BottomSheetRoot,
9
- BottomSheetRootProvider,
10
- BottomSheetTitle,
11
- BottomSheetTrigger,
12
- bottom_sheet_exports,
13
- useBottomSheet,
14
- useBottomSheetContext
15
- } from "../../chunk/UOTT3RUB.jsx";
16
- import "../../chunk/2P5Y3YCK.jsx";
17
- import "../../chunk/PT2CJE3O.jsx";
18
- import "../../chunk/VNMGX67M.jsx";
19
- import {
20
- anatomy
21
- } from "../../chunk/WMZBRARY.jsx";
22
- import "../../chunk/6WEDGJKQ.jsx";
23
- import "../../chunk/UFYZ7HLU.jsx";
24
- import "../../chunk/ODQYYKL5.jsx";
25
- import "../../chunk/CGW54HAQ.jsx";
26
- import "../../chunk/JFOWNFC7.jsx";
27
- import "../../chunk/KGOB2IMX.jsx";
28
- import "../../chunk/UZJJWJQM.jsx";
29
- import "../../chunk/7IUG3E2V.jsx";
30
- export {
31
- bottom_sheet_exports as BottomSheet,
32
- BottomSheetBackdrop,
33
- BottomSheetCloseTrigger,
34
- BottomSheetContent,
35
- BottomSheetContext,
36
- BottomSheetGrabber,
37
- BottomSheetGrabberIndicator,
38
- BottomSheetRoot,
39
- BottomSheetRootProvider,
40
- BottomSheetTitle,
41
- BottomSheetTrigger,
42
- anatomy as bottomSheetAnatomy,
43
- useBottomSheet,
44
- useBottomSheetContext
45
- };
@@ -1,5 +0,0 @@
1
- import * as _zag_js_anatomy from '@zag-js/anatomy';
2
-
3
- declare const datePickerAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "input" | "root" | "table" | "view" | "content" | "trigger" | "control" | "nextTrigger" | "prevTrigger" | "positioner" | "clearTrigger" | "tableHeader" | "tableBody" | "tableRow" | "viewTrigger" | "monthSelect" | "yearSelect" | "presetTrigger" | "rangeText" | "tableCell" | "tableCellTrigger" | "tableHead" | "viewControl">;
4
-
5
- export { datePickerAnatomy as d };
@@ -1,5 +0,0 @@
1
- import * as _zag_js_anatomy from '@zag-js/anatomy';
2
-
3
- declare const fieldAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "input" | "textarea" | "select" | "root" | "errorText" | "helperText" | "requiredIndicator">;
4
-
5
- export { fieldAnatomy as f };
File without changes
File without changes