@ariakit/react-core 0.3.3 → 0.3.4

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 (306) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/cjs/__chunks/{JDIVO6OK.cjs → 232HWSNY.cjs} +12 -12
  3. package/cjs/__chunks/{H562FOJ4.cjs → 2H4Y2NEY.cjs} +4 -4
  4. package/cjs/__chunks/{VI6T32XI.cjs → 35G5ZXPH.cjs} +2 -2
  5. package/cjs/__chunks/{JQKZHT3K.cjs → 3DILH277.cjs} +6 -6
  6. package/cjs/__chunks/{NPP6EMNE.cjs → 4QHHTATP.cjs} +7 -7
  7. package/cjs/__chunks/{L4TB7MRW.cjs → 5ZP4D2SQ.cjs} +4 -4
  8. package/cjs/__chunks/{O7UGQ5NR.cjs → 6UYPIKG4.cjs} +8 -8
  9. package/cjs/__chunks/{K5M7LOPE.cjs → 76UBACFC.cjs} +3 -3
  10. package/cjs/__chunks/{2FBFVNEX.cjs → CAKLNUKE.cjs} +7 -7
  11. package/cjs/__chunks/{RSJXW4HU.cjs → DYNIQRKI.cjs} +7 -7
  12. package/cjs/__chunks/{ZZHSM37C.cjs → EMNY7J2W.cjs} +2 -2
  13. package/cjs/__chunks/{UHRHLHM2.cjs → EVNF7KMT.cjs} +3 -36
  14. package/cjs/__chunks/{KMOIJMBF.cjs → EZKYHQVF.cjs} +2 -2
  15. package/cjs/__chunks/{D3SPQ2OY.cjs → GUWJ7VTO.cjs} +10 -10
  16. package/cjs/__chunks/{64S5KX7F.cjs → GWFSX7RQ.cjs} +6 -6
  17. package/cjs/__chunks/{ZL7HIJU2.cjs → GZMKQINI.cjs} +2 -2
  18. package/cjs/__chunks/{HRUFFILM.cjs → HSOKUBYY.cjs} +5 -5
  19. package/cjs/__chunks/{FXRXBA2Y.cjs → HWZH54NB.cjs} +1 -0
  20. package/cjs/__chunks/{4WUYORFX.cjs → J37FS72U.cjs} +2 -2
  21. package/cjs/__chunks/{5E5FKYEO.cjs → L2VQ4YLN.cjs} +18 -1
  22. package/cjs/__chunks/{32BSJR36.cjs → LCC3WQBM.cjs} +2 -2
  23. package/cjs/__chunks/{Z6EBOLR5.cjs → O6SYRTZH.cjs} +5 -5
  24. package/cjs/__chunks/{G2U3D7Y6.cjs → OOFSNUBV.cjs} +2 -2
  25. package/cjs/__chunks/{J72SOT4S.cjs → QBOBT66Y.cjs} +8 -8
  26. package/cjs/__chunks/{PQU457XU.cjs → QFGI3BJE.cjs} +68 -45
  27. package/cjs/__chunks/{2U6ETSVZ.cjs → QMFZ4CLT.cjs} +2 -2
  28. package/cjs/__chunks/{45OYD4CU.cjs → R7CSCUVW.cjs} +4 -4
  29. package/cjs/__chunks/{HIGZ476M.cjs → RU4K4ZH6.cjs} +7 -7
  30. package/cjs/__chunks/{Y66YQJ4L.cjs → SE2X2FG7.cjs} +4 -4
  31. package/cjs/__chunks/{LQZ6USCZ.cjs → T222USYS.cjs} +35 -35
  32. package/cjs/__chunks/{BMAPXRQV.cjs → TYMYFAUI.cjs} +4 -4
  33. package/cjs/__chunks/{ZKEGT5BQ.cjs → UK2DHDQU.cjs} +2 -2
  34. package/cjs/__chunks/{MITXZOVW.cjs → VAF2GKYW.cjs} +8 -8
  35. package/cjs/__chunks/{WUQKDMC4.cjs → VAY4A33A.cjs} +10 -6
  36. package/cjs/__chunks/{RXP7Z4XR.cjs → VGU6RMHO.cjs} +2 -2
  37. package/cjs/__chunks/{ZA36X7UQ.cjs → VVU2UQJ2.cjs} +4 -4
  38. package/cjs/__chunks/{6G334OGZ.cjs → YCBMXOIO.cjs} +5 -5
  39. package/cjs/__chunks/{IK6X277S.cjs → YLOTLD6S.cjs} +2 -2
  40. package/cjs/__chunks/{ORDLD4QX.cjs → ZIEW4CQO.cjs} +3 -3
  41. package/cjs/__chunks/{HADU3YYR.cjs → ZQZC54NS.cjs} +2 -2
  42. package/cjs/__chunks/{3MYGLY4O.cjs → ZZZ5MQHA.cjs} +4 -4
  43. package/cjs/button/button.cjs +3 -3
  44. package/cjs/checkbox/checkbox-provider.cjs +3 -3
  45. package/cjs/checkbox/checkbox-store.cjs +3 -3
  46. package/cjs/checkbox/checkbox.cjs +4 -4
  47. package/cjs/collection/collection-provider.cjs +3 -3
  48. package/cjs/collection/collection-renderer.cjs +3 -3
  49. package/cjs/collection/collection-renderer.d.ts +53 -53
  50. package/cjs/collection/collection-store.cjs +3 -3
  51. package/cjs/combobox/combobox-cancel.cjs +3 -3
  52. package/cjs/combobox/combobox-disclosure.cjs +5 -5
  53. package/cjs/combobox/combobox-item.cjs +4 -4
  54. package/cjs/combobox/combobox-list.cjs +4 -3
  55. package/cjs/combobox/combobox-popover.cjs +17 -13
  56. package/cjs/combobox/combobox-provider.cjs +8 -8
  57. package/cjs/combobox/combobox-store.cjs +8 -8
  58. package/cjs/combobox/combobox.cjs +4 -2
  59. package/cjs/command/command.cjs +2 -2
  60. package/cjs/composite/composite-container.cjs +3 -3
  61. package/cjs/composite/composite-item.cjs +4 -4
  62. package/cjs/composite/composite-overflow-disclosure.cjs +9 -9
  63. package/cjs/composite/composite-overflow-store.cjs +6 -6
  64. package/cjs/composite/composite-overflow.cjs +8 -7
  65. package/cjs/composite/composite-provider.cjs +4 -4
  66. package/cjs/composite/composite-renderer.cjs +4 -4
  67. package/cjs/composite/composite-renderer.d.ts +53 -53
  68. package/cjs/composite/composite-store.cjs +4 -4
  69. package/cjs/dialog/dialog-backdrop.cjs +5 -5
  70. package/cjs/dialog/dialog-disclosure.cjs +5 -5
  71. package/cjs/dialog/dialog-dismiss.cjs +4 -4
  72. package/cjs/dialog/dialog-provider.cjs +4 -4
  73. package/cjs/dialog/dialog-store.cjs +4 -4
  74. package/cjs/dialog/dialog.cjs +9 -6
  75. package/cjs/dialog/dialog.d.ts +58 -3
  76. package/cjs/disclosure/disclosure-content.cjs +3 -2
  77. package/cjs/disclosure/disclosure-content.d.ts +14 -0
  78. package/cjs/disclosure/disclosure-provider.cjs +3 -3
  79. package/cjs/disclosure/disclosure-store.cjs +3 -3
  80. package/cjs/disclosure/disclosure.cjs +4 -4
  81. package/cjs/focusable/focusable.d.ts +2 -0
  82. package/cjs/form/form-checkbox.cjs +6 -6
  83. package/cjs/form/form-provider.cjs +4 -4
  84. package/cjs/form/form-push.cjs +3 -3
  85. package/cjs/form/form-radio.cjs +5 -5
  86. package/cjs/form/form-remove.cjs +3 -3
  87. package/cjs/form/form-reset.cjs +3 -3
  88. package/cjs/form/form-store.cjs +4 -4
  89. package/cjs/form/form-submit.cjs +3 -3
  90. package/cjs/hovercard/hovercard-disclosure.cjs +5 -5
  91. package/cjs/hovercard/hovercard-dismiss.cjs +6 -6
  92. package/cjs/hovercard/hovercard-provider.cjs +6 -6
  93. package/cjs/hovercard/hovercard-store.cjs +6 -6
  94. package/cjs/hovercard/hovercard.cjs +9 -8
  95. package/cjs/menu/menu-bar-provider.cjs +5 -5
  96. package/cjs/menu/menu-bar-store.cjs +5 -5
  97. package/cjs/menu/menu-button.cjs +8 -8
  98. package/cjs/menu/menu-dismiss.cjs +6 -6
  99. package/cjs/menu/menu-item-checkbox.cjs +9 -9
  100. package/cjs/menu/menu-item-radio.cjs +7 -7
  101. package/cjs/menu/menu-item.cjs +5 -5
  102. package/cjs/menu/menu-list.cjs +4 -4
  103. package/cjs/menu/menu-provider.cjs +9 -9
  104. package/cjs/menu/menu-store.cjs +9 -9
  105. package/cjs/menu/menu.cjs +21 -15
  106. package/cjs/menu/menu.d.ts +2 -2
  107. package/cjs/popover/popover-disclosure.cjs +6 -6
  108. package/cjs/popover/popover-dismiss.cjs +5 -5
  109. package/cjs/popover/popover-provider.cjs +5 -5
  110. package/cjs/popover/popover-store.cjs +5 -5
  111. package/cjs/popover/popover.cjs +8 -7
  112. package/cjs/radio/radio-provider.cjs +5 -5
  113. package/cjs/radio/radio-store.cjs +5 -5
  114. package/cjs/radio/radio.cjs +5 -5
  115. package/cjs/select/select-arrow.d.ts +1 -1
  116. package/cjs/select/select-group-label.d.ts +1 -1
  117. package/cjs/select/select-group.d.ts +1 -1
  118. package/cjs/select/select-item-check.d.ts +1 -1
  119. package/cjs/select/select-item.cjs +4 -4
  120. package/cjs/select/select-list.cjs +4 -3
  121. package/cjs/select/select-popover.cjs +19 -13
  122. package/cjs/select/select-provider.cjs +8 -8
  123. package/cjs/select/select-renderer.cjs +7 -7
  124. package/cjs/select/select-store.cjs +8 -8
  125. package/cjs/select/select.cjs +6 -6
  126. package/cjs/tab/tab-list.d.ts +14 -9
  127. package/cjs/tab/tab-panel.cjs +5 -5
  128. package/cjs/tab/tab-panel.d.ts +15 -10
  129. package/cjs/tab/tab-provider.cjs +5 -5
  130. package/cjs/tab/tab-store.cjs +5 -5
  131. package/cjs/tab/tab-store.d.ts +0 -7
  132. package/cjs/tab/tab.cjs +4 -4
  133. package/cjs/tab/tab.d.ts +13 -10
  134. package/cjs/toolbar/toolbar-container.cjs +7 -7
  135. package/cjs/toolbar/toolbar-container.d.ts +3 -4
  136. package/cjs/toolbar/toolbar-input.cjs +5 -5
  137. package/cjs/toolbar/toolbar-input.d.ts +3 -4
  138. package/cjs/toolbar/toolbar-item.cjs +5 -5
  139. package/cjs/toolbar/toolbar-item.d.ts +7 -5
  140. package/cjs/toolbar/toolbar-provider.cjs +5 -5
  141. package/cjs/toolbar/toolbar-separator.d.ts +7 -5
  142. package/cjs/toolbar/toolbar-store.cjs +5 -5
  143. package/cjs/toolbar/toolbar.cjs +5 -5
  144. package/cjs/toolbar/toolbar.d.ts +8 -3
  145. package/cjs/tooltip/tooltip-anchor.d.ts +13 -8
  146. package/cjs/tooltip/tooltip-arrow.d.ts +16 -10
  147. package/cjs/tooltip/tooltip-provider.cjs +7 -7
  148. package/cjs/tooltip/tooltip-store.cjs +7 -7
  149. package/cjs/tooltip/tooltip.cjs +18 -12
  150. package/cjs/tooltip/tooltip.d.ts +10 -5
  151. package/cjs/tsconfig.build.tsbuildinfo +1 -1
  152. package/cjs/utils/store.cjs +2 -2
  153. package/cjs/utils/system.d.ts +2 -2
  154. package/esm/__chunks/{DA5VDN5G.js → 2BTPJSKW.js} +2 -2
  155. package/esm/__chunks/{2EIZAZYB.js → 2FIUKXIM.js} +1 -1
  156. package/esm/__chunks/{D6CHFQY5.js → 2Q7ASGJM.js} +1 -1
  157. package/esm/__chunks/{DX7BNVVX.js → 3FLPLDNL.js} +1 -1
  158. package/esm/__chunks/{W5ZMSHVN.js → 3KBWC7LF.js} +1 -1
  159. package/esm/__chunks/{X6F6ND2A.js → 3X3TLUHU.js} +3 -3
  160. package/esm/__chunks/{3HY5ZQT3.js → 5EAW3TWZ.js} +1 -1
  161. package/esm/__chunks/{CSCFKBRS.js → 6F7MKZK2.js} +3 -3
  162. package/esm/__chunks/{JE342XIS.js → 6W46XYWY.js} +2 -2
  163. package/esm/__chunks/{DHSMOVCA.js → AE5ABTKC.js} +2 -2
  164. package/esm/__chunks/{XBIFFFUN.js → CAIAWNDV.js} +1 -0
  165. package/esm/__chunks/{NQQVRTV2.js → DCODCZJS.js} +3 -3
  166. package/esm/__chunks/{OJDCQDIL.js → DE62M4L2.js} +2 -2
  167. package/esm/__chunks/{O2VZZF7T.js → DLZTS5NV.js} +3 -3
  168. package/esm/__chunks/{GD5ZDP5D.js → E3ZC4HKO.js} +1 -1
  169. package/esm/__chunks/{4VQSZLZX.js → F7UYWUBJ.js} +34 -34
  170. package/esm/__chunks/{MNVQ65E5.js → H3CXUGYG.js} +9 -5
  171. package/esm/__chunks/{XQCQJGZ3.js → HUAF5DID.js} +2 -2
  172. package/esm/__chunks/{SUD3LBWB.js → HXYXHHNW.js} +1 -1
  173. package/esm/__chunks/{3T4UFIWO.js → I6Y4PDFW.js} +2 -2
  174. package/esm/__chunks/{YI522MHJ.js → IADMQBOS.js} +2 -2
  175. package/esm/__chunks/{54J7EHCU.js → IQXVWBXC.js} +2 -2
  176. package/esm/__chunks/{DJUMA466.js → IZFXPXHG.js} +2 -2
  177. package/esm/__chunks/{G4QRTAYK.js → J2AZPLFF.js} +2 -2
  178. package/esm/__chunks/{26JVBZKI.js → JRZOTPWS.js} +2 -2
  179. package/esm/__chunks/{3D7ZB3CS.js → KK6NPMOP.js} +18 -1
  180. package/esm/__chunks/{TWMREEKC.js → LBTB6WEV.js} +1 -1
  181. package/esm/__chunks/{727IWAR7.js → LFLKMTFW.js} +2 -2
  182. package/esm/__chunks/{R6PKH666.js → LRDCOOWL.js} +1 -1
  183. package/esm/__chunks/{IAA7Y45N.js → NXB7YL3C.js} +2 -2
  184. package/esm/__chunks/{KIYX5CLX.js → OAQFZVKH.js} +2 -2
  185. package/esm/__chunks/{BWOZSOC7.js → OD3JT64N.js} +1 -1
  186. package/esm/__chunks/{5QIDAYL3.js → OQUFN5QO.js} +1 -1
  187. package/esm/__chunks/{DO6GQUCF.js → QTZ67ALK.js} +2 -2
  188. package/esm/__chunks/{D2BRO4YW.js → TONP6TZ5.js} +1 -1
  189. package/esm/__chunks/{YGEFENKI.js → UXIMR4AS.js} +65 -42
  190. package/esm/__chunks/{4LP74VAP.js → WHAB4XD6.js} +3 -36
  191. package/esm/__chunks/{T5VBGHBO.js → WNHMGHG5.js} +1 -1
  192. package/esm/__chunks/{EZ23JQKA.js → WRZGD4DH.js} +2 -2
  193. package/esm/__chunks/{C6MBVGZ2.js → YS46MLTR.js} +1 -1
  194. package/esm/__chunks/{4LQJSTB3.js → ZYB5SMUW.js} +1 -1
  195. package/esm/button/button.js +2 -2
  196. package/esm/checkbox/checkbox-provider.js +2 -2
  197. package/esm/checkbox/checkbox-store.js +2 -2
  198. package/esm/checkbox/checkbox.js +3 -3
  199. package/esm/collection/collection-provider.js +2 -2
  200. package/esm/collection/collection-renderer.d.ts +53 -53
  201. package/esm/collection/collection-renderer.js +2 -2
  202. package/esm/collection/collection-store.js +2 -2
  203. package/esm/combobox/combobox-cancel.js +2 -2
  204. package/esm/combobox/combobox-disclosure.js +4 -4
  205. package/esm/combobox/combobox-item.js +3 -3
  206. package/esm/combobox/combobox-list.js +3 -2
  207. package/esm/combobox/combobox-popover.js +15 -11
  208. package/esm/combobox/combobox-provider.js +7 -7
  209. package/esm/combobox/combobox-store.js +7 -7
  210. package/esm/combobox/combobox.js +4 -2
  211. package/esm/command/command.js +1 -1
  212. package/esm/composite/composite-container.js +2 -2
  213. package/esm/composite/composite-item.js +3 -3
  214. package/esm/composite/composite-overflow-disclosure.js +7 -7
  215. package/esm/composite/composite-overflow-store.js +4 -4
  216. package/esm/composite/composite-overflow.js +7 -6
  217. package/esm/composite/composite-provider.js +3 -3
  218. package/esm/composite/composite-renderer.d.ts +53 -53
  219. package/esm/composite/composite-renderer.js +3 -3
  220. package/esm/composite/composite-store.js +3 -3
  221. package/esm/dialog/dialog-backdrop.js +4 -4
  222. package/esm/dialog/dialog-disclosure.js +4 -4
  223. package/esm/dialog/dialog-dismiss.js +3 -3
  224. package/esm/dialog/dialog-provider.js +3 -3
  225. package/esm/dialog/dialog-store.js +3 -3
  226. package/esm/dialog/dialog.d.ts +58 -3
  227. package/esm/dialog/dialog.js +8 -5
  228. package/esm/disclosure/disclosure-content.d.ts +14 -0
  229. package/esm/disclosure/disclosure-content.js +2 -1
  230. package/esm/disclosure/disclosure-provider.js +2 -2
  231. package/esm/disclosure/disclosure-store.js +2 -2
  232. package/esm/disclosure/disclosure.js +3 -3
  233. package/esm/focusable/focusable.d.ts +2 -0
  234. package/esm/form/form-checkbox.js +4 -4
  235. package/esm/form/form-provider.js +3 -3
  236. package/esm/form/form-push.js +2 -2
  237. package/esm/form/form-radio.js +4 -4
  238. package/esm/form/form-remove.js +2 -2
  239. package/esm/form/form-reset.js +2 -2
  240. package/esm/form/form-store.js +3 -3
  241. package/esm/form/form-submit.js +2 -2
  242. package/esm/hovercard/hovercard-disclosure.js +4 -4
  243. package/esm/hovercard/hovercard-dismiss.js +5 -5
  244. package/esm/hovercard/hovercard-provider.js +5 -5
  245. package/esm/hovercard/hovercard-store.js +5 -5
  246. package/esm/hovercard/hovercard.js +8 -7
  247. package/esm/menu/menu-bar-provider.js +4 -4
  248. package/esm/menu/menu-bar-store.js +4 -4
  249. package/esm/menu/menu-button.js +6 -6
  250. package/esm/menu/menu-dismiss.js +5 -5
  251. package/esm/menu/menu-item-checkbox.js +6 -6
  252. package/esm/menu/menu-item-radio.js +5 -5
  253. package/esm/menu/menu-item.js +4 -4
  254. package/esm/menu/menu-list.js +3 -3
  255. package/esm/menu/menu-provider.js +8 -8
  256. package/esm/menu/menu-store.js +8 -8
  257. package/esm/menu/menu.d.ts +2 -2
  258. package/esm/menu/menu.js +19 -13
  259. package/esm/popover/popover-disclosure.js +5 -5
  260. package/esm/popover/popover-dismiss.js +4 -4
  261. package/esm/popover/popover-provider.js +4 -4
  262. package/esm/popover/popover-store.js +4 -4
  263. package/esm/popover/popover.js +7 -6
  264. package/esm/radio/radio-provider.js +4 -4
  265. package/esm/radio/radio-store.js +4 -4
  266. package/esm/radio/radio.js +4 -4
  267. package/esm/select/select-arrow.d.ts +1 -1
  268. package/esm/select/select-group-label.d.ts +1 -1
  269. package/esm/select/select-group.d.ts +1 -1
  270. package/esm/select/select-item-check.d.ts +1 -1
  271. package/esm/select/select-item.js +3 -3
  272. package/esm/select/select-list.js +3 -2
  273. package/esm/select/select-popover.js +17 -11
  274. package/esm/select/select-provider.js +7 -7
  275. package/esm/select/select-renderer.js +3 -3
  276. package/esm/select/select-store.js +7 -7
  277. package/esm/select/select.js +5 -5
  278. package/esm/tab/tab-list.d.ts +14 -9
  279. package/esm/tab/tab-panel.d.ts +15 -10
  280. package/esm/tab/tab-panel.js +3 -3
  281. package/esm/tab/tab-provider.js +4 -4
  282. package/esm/tab/tab-store.d.ts +0 -7
  283. package/esm/tab/tab-store.js +4 -4
  284. package/esm/tab/tab.d.ts +13 -10
  285. package/esm/tab/tab.js +3 -3
  286. package/esm/toolbar/toolbar-container.d.ts +3 -4
  287. package/esm/toolbar/toolbar-container.js +5 -5
  288. package/esm/toolbar/toolbar-input.d.ts +3 -4
  289. package/esm/toolbar/toolbar-input.js +4 -4
  290. package/esm/toolbar/toolbar-item.d.ts +7 -5
  291. package/esm/toolbar/toolbar-item.js +4 -4
  292. package/esm/toolbar/toolbar-provider.js +4 -4
  293. package/esm/toolbar/toolbar-separator.d.ts +7 -5
  294. package/esm/toolbar/toolbar-store.js +4 -4
  295. package/esm/toolbar/toolbar.d.ts +8 -3
  296. package/esm/toolbar/toolbar.js +4 -4
  297. package/esm/tooltip/tooltip-anchor.d.ts +13 -8
  298. package/esm/tooltip/tooltip-arrow.d.ts +16 -10
  299. package/esm/tooltip/tooltip-provider.js +6 -6
  300. package/esm/tooltip/tooltip-store.js +6 -6
  301. package/esm/tooltip/tooltip.d.ts +10 -5
  302. package/esm/tooltip/tooltip.js +17 -11
  303. package/esm/tsconfig.build.tsbuildinfo +1 -1
  304. package/esm/utils/store.js +1 -1
  305. package/esm/utils/system.d.ts +2 -2
  306. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DialogBackdrop
3
- } from "./IAA7Y45N.js";
3
+ } from "./NXB7YL3C.js";
4
4
  import {
5
5
  useNestedDialogs
6
6
  } from "./HWJ7DGMR.js";
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  isHidden,
41
41
  useDisclosureContent
42
- } from "./3D7ZB3CS.js";
42
+ } from "./KK6NPMOP.js";
43
43
  import {
44
44
  DialogDescriptionContext,
45
45
  DialogHeadingContext,
@@ -54,6 +54,12 @@ import {
54
54
  createElement,
55
55
  createHook
56
56
  } from "./CFEUKV6C.js";
57
+ import {
58
+ useDialogStore
59
+ } from "./IZFXPXHG.js";
60
+ import {
61
+ useStoreState
62
+ } from "./WHAB4XD6.js";
57
63
  import {
58
64
  useBooleanEvent,
59
65
  useEvent,
@@ -87,7 +93,7 @@ import {
87
93
  getFirstTabbableIn,
88
94
  isFocusable
89
95
  } from "@ariakit/core/utils/focus";
90
- import { chain, invariant } from "@ariakit/core/utils/misc";
96
+ import { chain } from "@ariakit/core/utils/misc";
91
97
  import { isSafari } from "@ariakit/core/utils/platform";
92
98
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
93
99
  var isSafariBrowser = isSafari();
@@ -114,7 +120,9 @@ function getElementFromProp(prop, focusable = false) {
114
120
  var useDialog = createHook(
115
121
  (_a) => {
116
122
  var _b = _a, {
117
- store,
123
+ store: storeProp,
124
+ open: openProp,
125
+ onClose,
118
126
  focusable = true,
119
127
  modal = true,
120
128
  portal = !!modal,
@@ -127,9 +135,12 @@ var useDialog = createHook(
127
135
  autoFocusOnShow = true,
128
136
  autoFocusOnHide = true,
129
137
  initialFocus,
130
- finalFocus
138
+ finalFocus,
139
+ unmountOnHide
131
140
  } = _b, props = __objRest(_b, [
132
141
  "store",
142
+ "open",
143
+ "onClose",
133
144
  "focusable",
134
145
  "modal",
135
146
  "portal",
@@ -142,15 +153,30 @@ var useDialog = createHook(
142
153
  "autoFocusOnShow",
143
154
  "autoFocusOnHide",
144
155
  "initialFocus",
145
- "finalFocus"
156
+ "finalFocus",
157
+ "unmountOnHide"
146
158
  ]);
147
159
  const context = useDialogProviderContext();
148
- store = store || context;
149
- invariant(
150
- store,
151
- process.env.NODE_ENV !== "production" && "Dialog must receive a `store` prop or be wrapped in a DialogProvider component."
152
- );
153
160
  const ref = useRef(null);
161
+ const store = useDialogStore({
162
+ store: storeProp || context,
163
+ open: openProp,
164
+ setOpen(open2) {
165
+ if (open2)
166
+ return;
167
+ const dialog = ref.current;
168
+ if (!dialog)
169
+ return;
170
+ const event = new Event("close", { bubbles: false, cancelable: true });
171
+ if (onClose) {
172
+ dialog.addEventListener("close", onClose, { once: true });
173
+ }
174
+ dialog.dispatchEvent(event);
175
+ if (!event.defaultPrevented)
176
+ return;
177
+ store.setOpen(true);
178
+ }
179
+ });
154
180
  const { portalRef, domReady } = usePortalRef(portal, props.portalRef);
155
181
  const preserveTabOrderProp = props.preserveTabOrder;
156
182
  const preserveTabOrder = store.useState(
@@ -178,8 +204,6 @@ var useDialog = createHook(
178
204
  useSafeLayoutEffect(() => {
179
205
  if (!open)
180
206
  return;
181
- if (!store)
182
- return;
183
207
  const dialog = ref.current;
184
208
  const activeElement = getActiveElement(dialog, true);
185
209
  if (!activeElement)
@@ -192,8 +216,6 @@ var useDialog = createHook(
192
216
  }, [store, open]);
193
217
  if (isSafariBrowser) {
194
218
  useEffect(() => {
195
- if (!store)
196
- return;
197
219
  if (!mounted)
198
220
  return;
199
221
  const { disclosureElement } = store.getState();
@@ -228,8 +250,6 @@ var useDialog = createHook(
228
250
  // disable pointer events because it's just for screen readers.
229
251
  portal && preserveTabOrder && isSafari();
230
252
  useEffect(() => {
231
- if (!store)
232
- return;
233
253
  if (!mounted)
234
254
  return;
235
255
  if (!domReady)
@@ -256,25 +276,20 @@ var useDialog = createHook(
256
276
  return;
257
277
  return disableTree(dialog);
258
278
  }, [open, mounted, domReady]);
279
+ const canTakeTreeSnapshot = open && domReady;
259
280
  useSafeLayoutEffect(() => {
260
281
  if (!id)
261
282
  return;
262
- if (!open)
263
- return;
264
- if (!domReady)
283
+ if (!canTakeTreeSnapshot)
265
284
  return;
266
285
  const dialog = ref.current;
267
286
  return createWalkTreeSnapshot(id, [dialog]);
268
- }, [id, open, domReady]);
287
+ }, [id, canTakeTreeSnapshot]);
269
288
  const getPersistentElementsProp = useEvent(getPersistentElements);
270
289
  useSafeLayoutEffect(() => {
271
290
  if (!id)
272
291
  return;
273
- if (!store)
274
- return;
275
- if (!domReady)
276
- return;
277
- if (!open)
292
+ if (!canTakeTreeSnapshot)
278
293
  return;
279
294
  const { disclosureElement } = store.getState();
280
295
  const dialog = ref.current;
@@ -300,8 +315,7 @@ var useDialog = createHook(
300
315
  }, [
301
316
  id,
302
317
  store,
303
- domReady,
304
- open,
318
+ canTakeTreeSnapshot,
305
319
  getPersistentElementsProp,
306
320
  nestedDialogs,
307
321
  shouldDisableAccessibilityTree,
@@ -362,11 +376,7 @@ var useDialog = createHook(
362
376
  }, [open]);
363
377
  const focusOnHide = useCallback(
364
378
  (dialog, retry = true) => {
365
- if (!store)
366
- return;
367
- const { open: open2, disclosureElement } = store.getState();
368
- if (open2)
369
- return;
379
+ const { disclosureElement } = store.getState();
370
380
  if (isAlreadyFocusingAnotherElement(dialog))
371
381
  return;
372
382
  let element = getElementFromProp(finalFocus) || disclosureElement;
@@ -411,7 +421,7 @@ var useDialog = createHook(
411
421
  return;
412
422
  const dialog = ref.current;
413
423
  focusOnHide(dialog);
414
- }, [open, hasOpened, mayAutoFocusOnHide, focusOnHide]);
424
+ }, [open, hasOpened, domReady, mayAutoFocusOnHide, focusOnHide]);
415
425
  useEffect(() => {
416
426
  if (!hasOpened)
417
427
  return;
@@ -431,8 +441,6 @@ var useDialog = createHook(
431
441
  return;
432
442
  if (event.defaultPrevented)
433
443
  return;
434
- if (!store)
435
- return;
436
444
  const dialog = ref.current;
437
445
  if (!dialog)
438
446
  return;
@@ -471,8 +479,6 @@ var useDialog = createHook(
471
479
  props = useWrapElement(
472
480
  props,
473
481
  (element) => {
474
- if (!store)
475
- return element;
476
482
  if (!backdrop)
477
483
  return element;
478
484
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -517,15 +523,32 @@ var useDialog = createHook(
517
523
  return props;
518
524
  }
519
525
  );
520
- var Dialog = createComponent((props) => {
521
- const htmlProps = useDialog(props);
522
- return createElement("div", htmlProps);
523
- });
526
+ function createDialogComponent(Component, useProviderContext = useDialogProviderContext) {
527
+ return createComponent((props) => {
528
+ const context = useProviderContext();
529
+ const store = props.store || context;
530
+ const mounted = useStoreState(
531
+ store,
532
+ (state) => !props.unmountOnHide || (state == null ? void 0 : state.mounted) || !!props.open
533
+ );
534
+ if (!mounted)
535
+ return null;
536
+ return /* @__PURE__ */ jsx(Component, __spreadValues({}, props));
537
+ });
538
+ }
539
+ var Dialog = createDialogComponent(
540
+ createComponent((props) => {
541
+ const htmlProps = useDialog(props);
542
+ return createElement("div", htmlProps);
543
+ }),
544
+ useDialogProviderContext
545
+ );
524
546
  if (process.env.NODE_ENV !== "production") {
525
547
  Dialog.displayName = "Dialog";
526
548
  }
527
549
 
528
550
  export {
529
551
  useDialog,
552
+ createDialogComponent,
530
553
  Dialog
531
554
  };
@@ -12,34 +12,10 @@ import {
12
12
  import * as React from "react";
13
13
  import { hasOwnProperty, identity } from "@ariakit/core/utils/misc";
14
14
  import { init, subscribe, sync } from "@ariakit/core/utils/store";
15
- import { flushSync } from "react-dom";
16
15
  import useSyncExternalStoreExports from "use-sync-external-store/shim/index.js";
17
16
  var { useSyncExternalStore } = useSyncExternalStoreExports;
18
17
  var noopSubscribe = () => () => {
19
18
  };
20
- var inFlushSyncContext = false;
21
- function safeFlushSync(fn, canFlushSync = true) {
22
- if (inFlushSyncContext || !canFlushSync) {
23
- fn();
24
- return;
25
- }
26
- inFlushSyncContext = true;
27
- const originalError = console.error;
28
- if (process.env.NODE_ENV !== "production") {
29
- console.error = (...data) => {
30
- if (typeof data[0] === "string" && data[0].startsWith("Warning: flushSync")) {
31
- return;
32
- }
33
- originalError(...data);
34
- };
35
- }
36
- try {
37
- flushSync(fn);
38
- } finally {
39
- console.error = originalError;
40
- inFlushSyncContext = false;
41
- }
42
- }
43
19
  function useStoreState(store, keyOrSelector = identity) {
44
20
  const storeSubscribe = React.useCallback(
45
21
  (callback) => {
@@ -71,10 +47,6 @@ function useStoreProps(store, props, key, setKey) {
71
47
  const propsRef = useLiveRef({ value, setValue });
72
48
  const canSyncValue = React.useRef(true);
73
49
  useSafeLayoutEffect(() => {
74
- let canFlushSync = false;
75
- queueMicrotask(() => {
76
- canFlushSync = true;
77
- });
78
50
  return sync(store, [key], (state, prev) => {
79
51
  const { value: value2, setValue: setValue2 } = propsRef.current;
80
52
  if (!setValue2)
@@ -83,13 +55,8 @@ function useStoreProps(store, props, key, setKey) {
83
55
  return;
84
56
  if (state[key] === value2)
85
57
  return;
86
- if (!canFlushSync) {
87
- canSyncValue.current = false;
88
- queueMicrotask(() => {
89
- canSyncValue.current = true;
90
- });
91
- }
92
- safeFlushSync(() => setValue2(state[key]), canFlushSync);
58
+ canSyncValue.current = false;
59
+ setValue2(state[key]);
93
60
  });
94
61
  }, [store, key]);
95
62
  useSafeLayoutEffect(() => {
@@ -101,7 +68,7 @@ function useStoreProps(store, props, key, setKey) {
101
68
  return;
102
69
  store.setState(key, value);
103
70
  });
104
- }, [store, key, value]);
71
+ });
105
72
  }
106
73
  function useStore(createStore, props) {
107
74
  const [store, setStore] = React.useState(() => createStore(props));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDialogDismiss
3
- } from "./W5ZMSHVN.js";
3
+ } from "./3KBWC7LF.js";
4
4
  import {
5
5
  usePopoverScopedContext
6
6
  } from "./547DFODS.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useCollectionStoreProps
3
- } from "./C6MBVGZ2.js";
3
+ } from "./YS46MLTR.js";
4
4
  import {
5
5
  useStore,
6
6
  useStoreProps
7
- } from "./4LP74VAP.js";
7
+ } from "./WHAB4XD6.js";
8
8
 
9
9
  // src/composite/composite-store.ts
10
10
  import * as Core from "@ariakit/core/composite/composite-store";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useStore,
3
3
  useStoreProps
4
- } from "./4LP74VAP.js";
4
+ } from "./WHAB4XD6.js";
5
5
  import {
6
6
  useUpdateEffect
7
7
  } from "./J7Q2EO23.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./CFEUKV6C.js";
12
12
  import {
13
13
  useStoreState
14
- } from "./4LP74VAP.js";
14
+ } from "./WHAB4XD6.js";
15
15
  import {
16
16
  useEvent,
17
17
  useMergeRefs
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Button,
3
3
  useButton
4
- } from "../__chunks/D2BRO4YW.js";
5
- import "../__chunks/XBIFFFUN.js";
4
+ } from "../__chunks/TONP6TZ5.js";
5
+ import "../__chunks/CAIAWNDV.js";
6
6
  import "../__chunks/YTHH33BK.js";
7
7
  import "../__chunks/BMLNRUFQ.js";
8
8
  import "../__chunks/CFEUKV6C.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useCheckboxStore
3
- } from "../__chunks/D6CHFQY5.js";
3
+ } from "../__chunks/2Q7ASGJM.js";
4
4
  import {
5
5
  CheckboxContextProvider
6
6
  } from "../__chunks/ICL2YIES.js";
7
7
  import "../__chunks/CFEUKV6C.js";
8
- import "../__chunks/4LP74VAP.js";
8
+ import "../__chunks/WHAB4XD6.js";
9
9
  import "../__chunks/J7Q2EO23.js";
10
10
  import "../__chunks/CP3U4HPL.js";
11
11
  import "../__chunks/PNRLI7OV.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useCheckboxStore,
3
3
  useCheckboxStoreProps
4
- } from "../__chunks/D6CHFQY5.js";
5
- import "../__chunks/4LP74VAP.js";
4
+ } from "../__chunks/2Q7ASGJM.js";
5
+ import "../__chunks/WHAB4XD6.js";
6
6
  import "../__chunks/J7Q2EO23.js";
7
7
  import "../__chunks/CP3U4HPL.js";
8
8
  import "../__chunks/PNRLI7OV.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Checkbox,
3
3
  useCheckbox
4
- } from "../__chunks/G4QRTAYK.js";
4
+ } from "../__chunks/J2AZPLFF.js";
5
5
  import "../__chunks/ICL2YIES.js";
6
6
  import "../__chunks/M5KYRTQG.js";
7
- import "../__chunks/XBIFFFUN.js";
7
+ import "../__chunks/CAIAWNDV.js";
8
8
  import "../__chunks/YTHH33BK.js";
9
9
  import "../__chunks/BMLNRUFQ.js";
10
10
  import "../__chunks/CFEUKV6C.js";
11
- import "../__chunks/4LP74VAP.js";
11
+ import "../__chunks/WHAB4XD6.js";
12
12
  import "../__chunks/J7Q2EO23.js";
13
13
  import "../__chunks/CP3U4HPL.js";
14
14
  import "../__chunks/PNRLI7OV.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useCollectionStore
3
- } from "../__chunks/C6MBVGZ2.js";
3
+ } from "../__chunks/YS46MLTR.js";
4
4
  import {
5
5
  CollectionContextProvider
6
6
  } from "../__chunks/74KKBFVP.js";
7
7
  import "../__chunks/CFEUKV6C.js";
8
- import "../__chunks/4LP74VAP.js";
8
+ import "../__chunks/WHAB4XD6.js";
9
9
  import "../__chunks/J7Q2EO23.js";
10
10
  import "../__chunks/CP3U4HPL.js";
11
11
  import "../__chunks/PNRLI7OV.js";
@@ -96,59 +96,59 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
96
96
  unselectable?: "on" | "off" | undefined;
97
97
  inputMode?: "search" | "none" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
98
98
  is?: string | undefined;
99
- 'aria-activedescendant'?: string | undefined;
100
- 'aria-atomic'?: (boolean | "false" | "true") | undefined;
101
- 'aria-autocomplete'?: "both" | "none" | "inline" | "list" | undefined;
102
- 'aria-braillelabel'?: string | undefined;
103
- 'aria-brailleroledescription'?: string | undefined;
104
- 'aria-busy'?: (boolean | "false" | "true") | undefined;
105
- 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
106
- 'aria-colcount'?: number | undefined;
107
- 'aria-colindex'?: number | undefined;
108
- 'aria-colindextext'?: string | undefined;
109
- 'aria-colspan'?: number | undefined;
110
- 'aria-controls'?: string | undefined;
111
- 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
112
- 'aria-describedby'?: string | undefined;
113
- 'aria-description'?: string | undefined;
114
- 'aria-details'?: string | undefined;
115
- 'aria-disabled'?: (boolean | "false" | "true") | undefined;
116
- 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
117
- 'aria-errormessage'?: string | undefined;
118
- 'aria-expanded'?: (boolean | "false" | "true") | undefined;
119
- 'aria-flowto'?: string | undefined;
120
- 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
121
- 'aria-haspopup'?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
122
- 'aria-hidden'?: (boolean | "false" | "true") | undefined;
123
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
124
- 'aria-keyshortcuts'?: string | undefined;
125
- 'aria-label'?: string | undefined;
126
- 'aria-labelledby'?: string | undefined;
127
- 'aria-level'?: number | undefined;
128
- 'aria-live'?: "off" | "assertive" | "polite" | undefined;
129
- 'aria-modal'?: (boolean | "false" | "true") | undefined;
130
- 'aria-multiline'?: (boolean | "false" | "true") | undefined;
131
- 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
132
- 'aria-orientation'?: "horizontal" | "vertical" | undefined;
133
- 'aria-owns'?: string | undefined;
134
- 'aria-placeholder'?: string | undefined;
135
- 'aria-posinset'?: number | undefined;
136
- 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
137
- 'aria-readonly'?: (boolean | "false" | "true") | undefined;
138
- 'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
139
- 'aria-required'?: (boolean | "false" | "true") | undefined;
140
- 'aria-roledescription'?: string | undefined;
141
- 'aria-rowcount'?: number | undefined;
142
- 'aria-rowindex'?: number | undefined;
143
- 'aria-rowindextext'?: string | undefined;
144
- 'aria-rowspan'?: number | undefined;
145
- 'aria-selected'?: (boolean | "false" | "true") | undefined;
146
- 'aria-setsize'?: number | undefined;
147
- 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
148
- 'aria-valuemax'?: number | undefined;
149
- 'aria-valuemin'?: number | undefined;
150
- 'aria-valuenow'?: number | undefined;
151
- 'aria-valuetext'?: string | undefined;
99
+ "aria-activedescendant"?: string | undefined;
100
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
101
+ "aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
102
+ "aria-braillelabel"?: string | undefined;
103
+ "aria-brailleroledescription"?: string | undefined;
104
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
105
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
106
+ "aria-colcount"?: number | undefined;
107
+ "aria-colindex"?: number | undefined;
108
+ "aria-colindextext"?: string | undefined;
109
+ "aria-colspan"?: number | undefined;
110
+ "aria-controls"?: string | undefined;
111
+ "aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
112
+ "aria-describedby"?: string | undefined;
113
+ "aria-description"?: string | undefined;
114
+ "aria-details"?: string | undefined;
115
+ "aria-disabled"?: (boolean | "false" | "true") | undefined;
116
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
117
+ "aria-errormessage"?: string | undefined;
118
+ "aria-expanded"?: (boolean | "false" | "true") | undefined;
119
+ "aria-flowto"?: string | undefined;
120
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
121
+ "aria-haspopup"?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
122
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
123
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
124
+ "aria-keyshortcuts"?: string | undefined;
125
+ "aria-label"?: string | undefined;
126
+ "aria-labelledby"?: string | undefined;
127
+ "aria-level"?: number | undefined;
128
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
129
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
130
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
131
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
132
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
133
+ "aria-owns"?: string | undefined;
134
+ "aria-placeholder"?: string | undefined;
135
+ "aria-posinset"?: number | undefined;
136
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
137
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
138
+ "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
139
+ "aria-required"?: (boolean | "false" | "true") | undefined;
140
+ "aria-roledescription"?: string | undefined;
141
+ "aria-rowcount"?: number | undefined;
142
+ "aria-rowindex"?: number | undefined;
143
+ "aria-rowindextext"?: string | undefined;
144
+ "aria-rowspan"?: number | undefined;
145
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
146
+ "aria-setsize"?: number | undefined;
147
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
148
+ "aria-valuemax"?: number | undefined;
149
+ "aria-valuemin"?: number | undefined;
150
+ "aria-valuenow"?: number | undefined;
151
+ "aria-valuetext"?: string | undefined;
152
152
  dangerouslySetInnerHTML?: {
153
153
  __html: string | TrustedHTML;
154
154
  } | undefined;
@@ -3,10 +3,10 @@ import {
3
3
  getCollectionRendererItem,
4
4
  getCollectionRendererItemId,
5
5
  useCollectionRenderer
6
- } from "../__chunks/2EIZAZYB.js";
6
+ } from "../__chunks/2FIUKXIM.js";
7
7
  import "../__chunks/74KKBFVP.js";
8
8
  import "../__chunks/CFEUKV6C.js";
9
- import "../__chunks/4LP74VAP.js";
9
+ import "../__chunks/WHAB4XD6.js";
10
10
  import "../__chunks/J7Q2EO23.js";
11
11
  import "../__chunks/CP3U4HPL.js";
12
12
  import "../__chunks/PNRLI7OV.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  useCollectionStore,
3
3
  useCollectionStoreProps
4
- } from "../__chunks/C6MBVGZ2.js";
5
- import "../__chunks/4LP74VAP.js";
4
+ } from "../__chunks/YS46MLTR.js";
5
+ import "../__chunks/WHAB4XD6.js";
6
6
  import "../__chunks/J7Q2EO23.js";
7
7
  import "../__chunks/CP3U4HPL.js";
8
8
  import "../__chunks/PNRLI7OV.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useButton
3
- } from "../__chunks/D2BRO4YW.js";
3
+ } from "../__chunks/TONP6TZ5.js";
4
4
  import {
5
5
  useComboboxProviderContext
6
6
  } from "../__chunks/QP4RN5UY.js";
7
- import "../__chunks/XBIFFFUN.js";
7
+ import "../__chunks/CAIAWNDV.js";
8
8
  import "../__chunks/5C7J4IAS.js";
9
9
  import "../__chunks/74KKBFVP.js";
10
10
  import "../__chunks/547DFODS.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useDialogDisclosure
3
- } from "../__chunks/3HY5ZQT3.js";
4
- import "../__chunks/R6PKH666.js";
5
- import "../__chunks/D2BRO4YW.js";
3
+ } from "../__chunks/5EAW3TWZ.js";
4
+ import "../__chunks/LRDCOOWL.js";
5
+ import "../__chunks/TONP6TZ5.js";
6
6
  import {
7
7
  useComboboxProviderContext
8
8
  } from "../__chunks/QP4RN5UY.js";
9
- import "../__chunks/XBIFFFUN.js";
9
+ import "../__chunks/CAIAWNDV.js";
10
10
  import "../__chunks/5C7J4IAS.js";
11
11
  import "../__chunks/74KKBFVP.js";
12
12
  import "../__chunks/547DFODS.js";
@@ -7,8 +7,8 @@ import {
7
7
  } from "../__chunks/QP4RN5UY.js";
8
8
  import {
9
9
  useCompositeItem
10
- } from "../__chunks/54J7EHCU.js";
11
- import "../__chunks/XBIFFFUN.js";
10
+ } from "../__chunks/IQXVWBXC.js";
11
+ import "../__chunks/CAIAWNDV.js";
12
12
  import "../__chunks/XIA3HAXM.js";
13
13
  import "../__chunks/OXPV2NBK.js";
14
14
  import "../__chunks/5C7J4IAS.js";
@@ -23,7 +23,7 @@ import {
23
23
  createHook,
24
24
  createMemoComponent
25
25
  } from "../__chunks/CFEUKV6C.js";
26
- import "../__chunks/4LP74VAP.js";
26
+ import "../__chunks/WHAB4XD6.js";
27
27
  import {
28
28
  useBooleanEvent,
29
29
  useEvent,
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  ComboboxList,
3
3
  useComboboxList
4
- } from "../__chunks/GD5ZDP5D.js";
4
+ } from "../__chunks/E3ZC4HKO.js";
5
5
  import "../__chunks/QP4RN5UY.js";
6
6
  import "../__chunks/5C7J4IAS.js";
7
7
  import "../__chunks/74KKBFVP.js";
8
- import "../__chunks/3D7ZB3CS.js";
8
+ import "../__chunks/KK6NPMOP.js";
9
9
  import "../__chunks/547DFODS.js";
10
10
  import "../__chunks/5YYGDU4E.js";
11
11
  import "../__chunks/56KWVYDN.js";
12
12
  import "../__chunks/YTHH33BK.js";
13
13
  import "../__chunks/BMLNRUFQ.js";
14
14
  import "../__chunks/CFEUKV6C.js";
15
+ import "../__chunks/WHAB4XD6.js";
15
16
  import "../__chunks/J7Q2EO23.js";
16
17
  import "../__chunks/CP3U4HPL.js";
17
18
  import "../__chunks/PNRLI7OV.js";