@ariakit/react-core 0.3.1 → 0.3.3

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 (485) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/cjs/__chunks/{ZPTFLDSU.cjs → 2FBFVNEX.cjs} +7 -7
  3. package/cjs/__chunks/{OX7M6AXH.cjs → 2U6ETSVZ.cjs} +2 -2
  4. package/cjs/__chunks/{7F6H5HXC.cjs → 32BSJR36.cjs} +2 -2
  5. package/cjs/__chunks/{BPMML63M.cjs → 3MYGLY4O.cjs} +4 -4
  6. package/cjs/__chunks/{J63NAJOO.cjs → 45OYD4CU.cjs} +4 -4
  7. package/cjs/__chunks/{BPPAZUXP.cjs → 4WUYORFX.cjs} +2 -2
  8. package/cjs/__chunks/{4HKELPDA.cjs → 64S5KX7F.cjs} +6 -6
  9. package/cjs/__chunks/{EQEXTQQ6.cjs → 6G334OGZ.cjs} +5 -5
  10. package/cjs/__chunks/{V37GXOUJ.cjs → BMAPXRQV.cjs} +4 -4
  11. package/cjs/__chunks/{HYYXXXEK.cjs → BSOHJE7R.cjs} +2 -2
  12. package/cjs/__chunks/{INDMFBTS.cjs → COHI5HTS.cjs} +17 -16
  13. package/cjs/__chunks/{G33PRHOG.cjs → D3SPQ2OY.cjs} +10 -10
  14. package/cjs/__chunks/{DPLHWKRP.cjs → DFFFHQVQ.cjs} +3 -3
  15. package/cjs/__chunks/{NBCR3CLP.cjs → F4RJLWZG.cjs} +3 -3
  16. package/cjs/__chunks/{NPDPNCSD.cjs → FXRXBA2Y.cjs} +2 -2
  17. package/cjs/__chunks/{2C7LUQOS.cjs → G2U3D7Y6.cjs} +2 -2
  18. package/cjs/__chunks/{GBOZYA5C.cjs → H562FOJ4.cjs} +4 -4
  19. package/cjs/__chunks/{X3UARAKT.cjs → HADU3YYR.cjs} +2 -2
  20. package/cjs/__chunks/{C47ZNHA6.cjs → HIGZ476M.cjs} +7 -7
  21. package/cjs/__chunks/{6MLKTO2T.cjs → HRUFFILM.cjs} +7 -7
  22. package/cjs/__chunks/{2VQBXUAI.cjs → IK6X277S.cjs} +2 -2
  23. package/cjs/__chunks/{OAQQQ7LS.cjs → J72SOT4S.cjs} +8 -7
  24. package/cjs/__chunks/{FWCQCCG3.cjs → JDIVO6OK.cjs} +12 -12
  25. package/cjs/__chunks/{U33H4JTD.cjs → JQKZHT3K.cjs} +6 -6
  26. package/cjs/__chunks/{GCTYF2Y6.cjs → K5M7LOPE.cjs} +3 -3
  27. package/cjs/__chunks/{ZQTMT453.cjs → KMOIJMBF.cjs} +2 -2
  28. package/cjs/__chunks/{ZJ4ICN62.cjs → L4TB7MRW.cjs} +4 -4
  29. package/cjs/__chunks/{B4KDFSF3.cjs → LQZ6USCZ.cjs} +2 -2
  30. package/cjs/__chunks/{SL7OXEFQ.cjs → MITXZOVW.cjs} +8 -8
  31. package/cjs/__chunks/{B3TGB2C3.cjs → NPP6EMNE.cjs} +7 -7
  32. package/cjs/__chunks/{SKVJLFWS.cjs → O7UGQ5NR.cjs} +7 -7
  33. package/cjs/__chunks/{HDYD5S2P.cjs → ORDLD4QX.cjs} +3 -3
  34. package/cjs/__chunks/{ZEASCR4B.cjs → PQU457XU.cjs} +49 -23
  35. package/cjs/__chunks/{JKMBJCXA.cjs → QK4GI6B3.cjs} +7 -12
  36. package/cjs/__chunks/{WRVKUV4V.cjs → RSJXW4HU.cjs} +7 -7
  37. package/cjs/__chunks/{6BAHKJ5K.cjs → RWS2MAR2.cjs} +0 -7
  38. package/cjs/__chunks/{JNVNPB37.cjs → RXP7Z4XR.cjs} +2 -2
  39. package/cjs/__chunks/{6G5GJF5Q.cjs → SELCJFCB.cjs} +2 -2
  40. package/cjs/__chunks/TLA46MN6.cjs +79 -0
  41. package/cjs/__chunks/{I63PYP2U.cjs → UHRHLHM2.cjs} +4 -3
  42. package/cjs/__chunks/{LCKU3TYW.cjs → VI6T32XI.cjs} +12 -2
  43. package/cjs/__chunks/{PHDU6PLM.cjs → WUQKDMC4.cjs} +2 -2
  44. package/cjs/__chunks/{J77SNKFZ.cjs → Y66YQJ4L.cjs} +4 -4
  45. package/cjs/__chunks/{P2EILHN6.cjs → Z6EBOLR5.cjs} +5 -5
  46. package/cjs/__chunks/{27A4YAUB.cjs → ZA36X7UQ.cjs} +4 -4
  47. package/cjs/__chunks/{DNFCOHE4.cjs → ZKEGT5BQ.cjs} +2 -2
  48. package/cjs/__chunks/{2FEEKOTF.cjs → ZL7HIJU2.cjs} +2 -2
  49. package/cjs/__chunks/{S4UMINQJ.cjs → ZZHSM37C.cjs} +2 -2
  50. package/cjs/button/button.cjs +4 -4
  51. package/cjs/checkbox/checkbox-provider.cjs +3 -3
  52. package/cjs/checkbox/checkbox-store.cjs +3 -3
  53. package/cjs/checkbox/checkbox.cjs +5 -5
  54. package/cjs/checkbox/checkbox.d.ts +12 -9
  55. package/cjs/collection/collection-provider.cjs +3 -3
  56. package/cjs/collection/collection-renderer.cjs +3 -3
  57. package/cjs/collection/collection-store.cjs +3 -3
  58. package/cjs/collection/collection.d.ts +5 -1
  59. package/cjs/combobox/combobox-cancel.cjs +4 -4
  60. package/cjs/combobox/combobox-cancel.d.ts +14 -9
  61. package/cjs/combobox/combobox-disclosure.cjs +6 -6
  62. package/cjs/combobox/combobox-disclosure.d.ts +14 -9
  63. package/cjs/combobox/combobox-group-label.d.ts +16 -11
  64. package/cjs/combobox/combobox-group.d.ts +16 -11
  65. package/cjs/combobox/combobox-item-value.d.ts +14 -10
  66. package/cjs/combobox/combobox-item.cjs +5 -5
  67. package/cjs/combobox/combobox-item.d.ts +45 -20
  68. package/cjs/combobox/combobox-list.cjs +3 -3
  69. package/cjs/combobox/combobox-list.d.ts +17 -10
  70. package/cjs/combobox/combobox-popover.cjs +15 -15
  71. package/cjs/combobox/combobox-popover.d.ts +8 -7
  72. package/cjs/combobox/combobox-provider.cjs +8 -8
  73. package/cjs/combobox/combobox-row.d.ts +21 -16
  74. package/cjs/combobox/combobox-separator.d.ts +15 -10
  75. package/cjs/combobox/combobox-store.cjs +8 -8
  76. package/cjs/combobox/combobox-store.d.ts +9 -4
  77. package/cjs/combobox/combobox.cjs +3 -3
  78. package/cjs/combobox/combobox.d.ts +55 -36
  79. package/cjs/command/command.cjs +3 -3
  80. package/cjs/composite/composite-container.cjs +3 -3
  81. package/cjs/composite/composite-item.cjs +5 -5
  82. package/cjs/composite/composite-overflow-disclosure.cjs +10 -10
  83. package/cjs/composite/composite-overflow-store.cjs +6 -6
  84. package/cjs/composite/composite-overflow.cjs +13 -13
  85. package/cjs/composite/composite-provider.cjs +4 -4
  86. package/cjs/composite/composite-renderer.cjs +4 -4
  87. package/cjs/composite/composite-store.cjs +4 -4
  88. package/cjs/composite/composite-typeahead.d.ts +0 -4
  89. package/cjs/composite/composite.cjs +3 -3
  90. package/cjs/dialog/dialog-backdrop.cjs +6 -6
  91. package/cjs/dialog/dialog-disclosure.cjs +6 -6
  92. package/cjs/dialog/dialog-dismiss.cjs +5 -5
  93. package/cjs/dialog/dialog-provider.cjs +4 -4
  94. package/cjs/dialog/dialog-store.cjs +4 -4
  95. package/cjs/dialog/dialog.cjs +12 -12
  96. package/cjs/dialog/dialog.d.ts +25 -11
  97. package/cjs/dialog/utils/disable-accessibility-tree-outside.cjs +3 -3
  98. package/cjs/dialog/utils/disable-accessibility-tree-outside.d.ts +1 -1
  99. package/cjs/dialog/utils/disable-tree.cjs +14 -0
  100. package/cjs/dialog/utils/disable-tree.d.ts +5 -0
  101. package/cjs/dialog/utils/mark-tree-outside.cjs +3 -3
  102. package/cjs/dialog/utils/mark-tree-outside.d.ts +1 -1
  103. package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +4 -4
  104. package/cjs/dialog/utils/use-nested-dialogs.cjs +2 -2
  105. package/cjs/dialog/utils/walk-tree-outside.cjs +5 -2
  106. package/cjs/dialog/utils/walk-tree-outside.d.ts +3 -2
  107. package/cjs/disclosure/disclosure-content.d.ts +9 -4
  108. package/cjs/disclosure/disclosure-provider.cjs +3 -3
  109. package/cjs/disclosure/disclosure-store.cjs +3 -3
  110. package/cjs/disclosure/disclosure-store.d.ts +1 -2
  111. package/cjs/disclosure/disclosure.cjs +5 -5
  112. package/cjs/disclosure/disclosure.d.ts +13 -6
  113. package/cjs/focusable/focusable.cjs +2 -2
  114. package/cjs/form/form-checkbox.cjs +7 -7
  115. package/cjs/form/form-checkbox.d.ts +5 -1
  116. package/cjs/form/form-description.d.ts +10 -3
  117. package/cjs/form/form-error.d.ts +10 -3
  118. package/cjs/form/form-field.d.ts +17 -9
  119. package/cjs/form/form-group-label.d.ts +7 -4
  120. package/cjs/form/form-group.d.ts +5 -2
  121. package/cjs/form/form-input.cjs +2 -2
  122. package/cjs/form/form-input.d.ts +9 -4
  123. package/cjs/form/form-label.d.ts +10 -3
  124. package/cjs/form/form-provider.cjs +4 -4
  125. package/cjs/form/form-push.cjs +4 -4
  126. package/cjs/form/form-push.d.ts +5 -2
  127. package/cjs/form/form-radio-group.d.ts +5 -1
  128. package/cjs/form/form-radio.cjs +6 -6
  129. package/cjs/form/form-radio.d.ts +5 -1
  130. package/cjs/form/form-remove.cjs +4 -4
  131. package/cjs/form/form-remove.d.ts +5 -2
  132. package/cjs/form/form-reset.cjs +4 -4
  133. package/cjs/form/form-reset.d.ts +6 -2
  134. package/cjs/form/form-store.cjs +4 -4
  135. package/cjs/form/form-store.d.ts +5 -1
  136. package/cjs/form/form-submit.cjs +4 -4
  137. package/cjs/form/form-submit.d.ts +5 -2
  138. package/cjs/form/form.d.ts +5 -1
  139. package/cjs/hovercard/hovercard-anchor.cjs +3 -3
  140. package/cjs/hovercard/hovercard-anchor.d.ts +11 -5
  141. package/cjs/hovercard/hovercard-arrow.d.ts +13 -8
  142. package/cjs/hovercard/hovercard-description.d.ts +14 -9
  143. package/cjs/hovercard/hovercard-disclosure.cjs +6 -6
  144. package/cjs/hovercard/hovercard-disclosure.d.ts +14 -8
  145. package/cjs/hovercard/hovercard-dismiss.cjs +7 -7
  146. package/cjs/hovercard/hovercard-dismiss.d.ts +11 -6
  147. package/cjs/hovercard/hovercard-heading.d.ts +14 -9
  148. package/cjs/hovercard/hovercard-provider.cjs +6 -6
  149. package/cjs/hovercard/hovercard-store.cjs +6 -6
  150. package/cjs/hovercard/hovercard-store.d.ts +1 -0
  151. package/cjs/hovercard/hovercard.cjs +14 -14
  152. package/cjs/hovercard/hovercard.d.ts +11 -5
  153. package/cjs/menu/menu-arrow.d.ts +11 -7
  154. package/cjs/menu/menu-bar-provider.cjs +5 -5
  155. package/cjs/menu/menu-bar-store.cjs +5 -5
  156. package/cjs/menu/menu-bar.cjs +3 -3
  157. package/cjs/menu/menu-bar.d.ts +23 -22
  158. package/cjs/menu/menu-button-arrow.d.ts +16 -11
  159. package/cjs/menu/menu-button.cjs +14 -12
  160. package/cjs/menu/menu-button.d.ts +19 -11
  161. package/cjs/menu/menu-description.d.ts +13 -8
  162. package/cjs/menu/menu-dismiss.cjs +7 -7
  163. package/cjs/menu/menu-dismiss.d.ts +10 -6
  164. package/cjs/menu/menu-group-label.d.ts +15 -10
  165. package/cjs/menu/menu-group.d.ts +15 -10
  166. package/cjs/menu/menu-heading.d.ts +10 -6
  167. package/cjs/menu/menu-item-check.d.ts +15 -15
  168. package/cjs/menu/menu-item-checkbox.cjs +10 -10
  169. package/cjs/menu/menu-item-checkbox.d.ts +13 -8
  170. package/cjs/menu/menu-item-radio.cjs +8 -8
  171. package/cjs/menu/menu-item-radio.d.ts +18 -13
  172. package/cjs/menu/menu-item.cjs +6 -6
  173. package/cjs/menu/menu-item.d.ts +16 -9
  174. package/cjs/menu/menu-list.cjs +5 -5
  175. package/cjs/menu/menu-list.d.ts +12 -7
  176. package/cjs/menu/menu-provider.cjs +9 -9
  177. package/cjs/menu/menu-separator.d.ts +14 -10
  178. package/cjs/menu/menu-store.cjs +9 -9
  179. package/cjs/menu/menu-store.d.ts +15 -15
  180. package/cjs/menu/menu.cjs +34 -46
  181. package/cjs/menu/menu.d.ts +7 -6
  182. package/cjs/popover/popover-anchor.d.ts +9 -4
  183. package/cjs/popover/popover-arrow.d.ts +14 -8
  184. package/cjs/popover/popover-description.d.ts +13 -8
  185. package/cjs/popover/popover-disclosure-arrow.d.ts +18 -10
  186. package/cjs/popover/popover-disclosure.cjs +7 -7
  187. package/cjs/popover/popover-disclosure.d.ts +4 -3
  188. package/cjs/popover/popover-dismiss.cjs +6 -6
  189. package/cjs/popover/popover-dismiss.d.ts +13 -7
  190. package/cjs/popover/popover-heading.d.ts +14 -8
  191. package/cjs/popover/popover-provider.cjs +5 -5
  192. package/cjs/popover/popover-store.cjs +5 -5
  193. package/cjs/popover/popover.cjs +13 -13
  194. package/cjs/popover/popover.d.ts +13 -9
  195. package/cjs/portal/portal.d.ts +17 -6
  196. package/cjs/radio/radio-group.cjs +3 -3
  197. package/cjs/radio/radio-group.d.ts +5 -1
  198. package/cjs/radio/radio-provider.cjs +5 -5
  199. package/cjs/radio/radio-store.cjs +5 -5
  200. package/cjs/radio/radio-store.d.ts +0 -5
  201. package/cjs/radio/radio.cjs +6 -6
  202. package/cjs/radio/radio.d.ts +6 -2
  203. package/cjs/select/select-arrow.d.ts +17 -12
  204. package/cjs/select/select-group-label.d.ts +21 -16
  205. package/cjs/select/select-group.d.ts +16 -11
  206. package/cjs/select/select-item-check.d.ts +22 -16
  207. package/cjs/select/select-item.cjs +5 -5
  208. package/cjs/select/select-item.d.ts +51 -24
  209. package/cjs/select/select-label.d.ts +18 -14
  210. package/cjs/select/select-list.cjs +4 -4
  211. package/cjs/select/select-list.d.ts +26 -16
  212. package/cjs/select/select-popover.cjs +16 -16
  213. package/cjs/select/select-popover.d.ts +11 -10
  214. package/cjs/select/select-provider.cjs +8 -8
  215. package/cjs/select/select-renderer.cjs +7 -7
  216. package/cjs/select/select-row.d.ts +20 -15
  217. package/cjs/select/select-separator.d.ts +16 -11
  218. package/cjs/select/select-store.cjs +8 -8
  219. package/cjs/select/select-store.d.ts +2 -6
  220. package/cjs/select/select.cjs +7 -7
  221. package/cjs/select/select.d.ts +39 -17
  222. package/cjs/tab/tab-list.cjs +3 -3
  223. package/cjs/tab/tab-panel.cjs +5 -5
  224. package/cjs/tab/tab-provider.cjs +5 -5
  225. package/cjs/tab/tab-store.cjs +5 -5
  226. package/cjs/tab/tab.cjs +5 -5
  227. package/cjs/toolbar/toolbar-container.cjs +8 -8
  228. package/cjs/toolbar/toolbar-input.cjs +6 -6
  229. package/cjs/toolbar/toolbar-item.cjs +6 -6
  230. package/cjs/toolbar/toolbar-provider.cjs +5 -5
  231. package/cjs/toolbar/toolbar-store.cjs +5 -5
  232. package/cjs/toolbar/toolbar.cjs +8 -8
  233. package/cjs/tooltip/tooltip-anchor.cjs +3 -3
  234. package/cjs/tooltip/tooltip-provider.cjs +7 -7
  235. package/cjs/tooltip/tooltip-store.cjs +7 -7
  236. package/cjs/tooltip/tooltip.cjs +14 -14
  237. package/cjs/tsconfig.build.tsbuildinfo +1 -1
  238. package/cjs/utils/store.cjs +2 -2
  239. package/dialog/utils/disable-tree/package.json +8 -0
  240. package/esm/__chunks/{EKIHOHWR.js → 26JVBZKI.js} +2 -2
  241. package/esm/__chunks/{3HFOFZP4.js → 2EIZAZYB.js} +1 -1
  242. package/esm/__chunks/{TQ2YQL6O.js → 3HY5ZQT3.js} +11 -1
  243. package/esm/__chunks/{FBTQUSIH.js → 3T4UFIWO.js} +2 -2
  244. package/esm/__chunks/{XXO3VVQU.js → 4LP74VAP.js} +4 -3
  245. package/esm/__chunks/{IZ6ZARCP.js → 4LQJSTB3.js} +1 -1
  246. package/esm/__chunks/{YJPXO6F5.js → 4VQSZLZX.js} +1 -1
  247. package/esm/__chunks/{72OJKUSZ.js → 54J7EHCU.js} +2 -2
  248. package/esm/__chunks/{HYNMOU7J.js → 56TAEBRJ.js} +1 -1
  249. package/esm/__chunks/{AYWP3ZW6.js → 5QIDAYL3.js} +1 -1
  250. package/esm/__chunks/{HJHTMRDC.js → 727IWAR7.js} +2 -2
  251. package/esm/__chunks/{HAVCR65N.js → 7LB47D2O.js} +1 -1
  252. package/esm/__chunks/{X5VV5CBA.js → 7VWXICM7.js} +3 -3
  253. package/esm/__chunks/{E6GADH6Y.js → BWOZSOC7.js} +3 -3
  254. package/esm/__chunks/{NWDF5QDV.js → C6MBVGZ2.js} +1 -1
  255. package/esm/__chunks/{R3N4R7UZ.js → CSCFKBRS.js} +3 -3
  256. package/esm/__chunks/{QPWEKAWF.js → D2BRO4YW.js} +1 -1
  257. package/esm/__chunks/{KZMKUBQH.js → D6CHFQY5.js} +1 -1
  258. package/esm/__chunks/{VDTDCNMP.js → DA5VDN5G.js} +2 -2
  259. package/esm/__chunks/{VPTWELSR.js → DHSMOVCA.js} +2 -2
  260. package/esm/__chunks/{HCTAKPNS.js → DJUMA466.js} +2 -2
  261. package/esm/__chunks/{XEZV3AK4.js → DO6GQUCF.js} +2 -2
  262. package/esm/__chunks/{QJMIKN5O.js → DX7BNVVX.js} +1 -1
  263. package/esm/__chunks/{XASENZA4.js → EGOOWJGN.js} +16 -15
  264. package/esm/__chunks/{WGAKICTY.js → EZ23JQKA.js} +2 -2
  265. package/esm/__chunks/{KGDYSCOM.js → FRKOFFMT.js} +6 -11
  266. package/esm/__chunks/{HGW6FZYU.js → G4QRTAYK.js} +2 -2
  267. package/esm/__chunks/{D5TF3EQR.js → GD5ZDP5D.js} +1 -1
  268. package/esm/__chunks/{PLOINBVB.js → HWJ7DGMR.js} +0 -7
  269. package/esm/__chunks/{NRLOAE2I.js → IAA7Y45N.js} +2 -2
  270. package/esm/__chunks/{MA5WD4CD.js → JE342XIS.js} +2 -2
  271. package/esm/__chunks/{35WVCYXU.js → KIYX5CLX.js} +2 -2
  272. package/esm/__chunks/{54DCICBS.js → KXTLHNBI.js} +1 -1
  273. package/esm/__chunks/{RVGVDX6B.js → MNVQ65E5.js} +1 -1
  274. package/esm/__chunks/{C5JX5C3O.js → NQQVRTV2.js} +2 -2
  275. package/esm/__chunks/{6LKB3PXM.js → O2VZZF7T.js} +3 -3
  276. package/esm/__chunks/{R4FKKQYI.js → OJDCQDIL.js} +2 -2
  277. package/esm/__chunks/{7AFOF5E7.js → R6PKH666.js} +1 -1
  278. package/esm/__chunks/{MXSIXS3C.js → SUD3LBWB.js} +1 -1
  279. package/esm/__chunks/{4JNX5L5C.js → T5VBGHBO.js} +1 -1
  280. package/esm/__chunks/{RJEKIG5Y.js → TWMREEKC.js} +1 -1
  281. package/esm/__chunks/VRCYQ6JX.js +79 -0
  282. package/esm/__chunks/{HMYMEP6U.js → W5ZMSHVN.js} +1 -1
  283. package/esm/__chunks/{RA2AAYOC.js → X6F6ND2A.js} +4 -3
  284. package/esm/__chunks/{LND6SMHN.js → XBIFFFUN.js} +1 -1
  285. package/esm/__chunks/{4WK6LN27.js → XQCQJGZ3.js} +2 -2
  286. package/esm/__chunks/{CJPLAYFB.js → YGEFENKI.js} +44 -18
  287. package/esm/__chunks/{K6BB6DTS.js → YI522MHJ.js} +2 -2
  288. package/esm/button/button.js +3 -3
  289. package/esm/checkbox/checkbox-provider.js +2 -2
  290. package/esm/checkbox/checkbox-store.js +2 -2
  291. package/esm/checkbox/checkbox.d.ts +12 -9
  292. package/esm/checkbox/checkbox.js +4 -4
  293. package/esm/collection/collection-provider.js +2 -2
  294. package/esm/collection/collection-renderer.js +2 -2
  295. package/esm/collection/collection-store.js +2 -2
  296. package/esm/collection/collection.d.ts +5 -1
  297. package/esm/combobox/combobox-cancel.d.ts +14 -9
  298. package/esm/combobox/combobox-cancel.js +3 -3
  299. package/esm/combobox/combobox-disclosure.d.ts +14 -9
  300. package/esm/combobox/combobox-disclosure.js +5 -5
  301. package/esm/combobox/combobox-group-label.d.ts +16 -11
  302. package/esm/combobox/combobox-group.d.ts +16 -11
  303. package/esm/combobox/combobox-item-value.d.ts +14 -10
  304. package/esm/combobox/combobox-item.d.ts +45 -20
  305. package/esm/combobox/combobox-item.js +4 -4
  306. package/esm/combobox/combobox-list.d.ts +17 -10
  307. package/esm/combobox/combobox-list.js +2 -2
  308. package/esm/combobox/combobox-popover.d.ts +8 -7
  309. package/esm/combobox/combobox-popover.js +13 -13
  310. package/esm/combobox/combobox-provider.js +7 -7
  311. package/esm/combobox/combobox-row.d.ts +21 -16
  312. package/esm/combobox/combobox-separator.d.ts +15 -10
  313. package/esm/combobox/combobox-store.d.ts +9 -4
  314. package/esm/combobox/combobox-store.js +7 -7
  315. package/esm/combobox/combobox.d.ts +55 -36
  316. package/esm/combobox/combobox.js +2 -2
  317. package/esm/command/command.js +2 -2
  318. package/esm/composite/composite-container.js +2 -2
  319. package/esm/composite/composite-item.js +4 -4
  320. package/esm/composite/composite-overflow-disclosure.js +8 -8
  321. package/esm/composite/composite-overflow-store.js +4 -4
  322. package/esm/composite/composite-overflow.js +12 -12
  323. package/esm/composite/composite-provider.js +3 -3
  324. package/esm/composite/composite-renderer.js +3 -3
  325. package/esm/composite/composite-store.js +3 -3
  326. package/esm/composite/composite-typeahead.d.ts +0 -4
  327. package/esm/composite/composite.js +2 -2
  328. package/esm/dialog/dialog-backdrop.js +5 -5
  329. package/esm/dialog/dialog-disclosure.js +5 -5
  330. package/esm/dialog/dialog-dismiss.js +4 -4
  331. package/esm/dialog/dialog-provider.js +3 -3
  332. package/esm/dialog/dialog-store.js +3 -3
  333. package/esm/dialog/dialog.d.ts +25 -11
  334. package/esm/dialog/dialog.js +11 -11
  335. package/esm/dialog/utils/disable-accessibility-tree-outside.d.ts +1 -1
  336. package/esm/dialog/utils/disable-accessibility-tree-outside.js +2 -2
  337. package/esm/dialog/utils/disable-tree.d.ts +5 -0
  338. package/esm/dialog/utils/{disable-tree-outside.js → disable-tree.js} +5 -3
  339. package/esm/dialog/utils/mark-tree-outside.d.ts +1 -1
  340. package/esm/dialog/utils/mark-tree-outside.js +2 -2
  341. package/esm/dialog/utils/use-hide-on-interact-outside.js +3 -3
  342. package/esm/dialog/utils/use-nested-dialogs.js +1 -1
  343. package/esm/dialog/utils/walk-tree-outside.d.ts +3 -2
  344. package/esm/dialog/utils/walk-tree-outside.js +4 -1
  345. package/esm/disclosure/disclosure-content.d.ts +9 -4
  346. package/esm/disclosure/disclosure-provider.js +2 -2
  347. package/esm/disclosure/disclosure-store.d.ts +1 -2
  348. package/esm/disclosure/disclosure-store.js +2 -2
  349. package/esm/disclosure/disclosure.d.ts +13 -6
  350. package/esm/disclosure/disclosure.js +4 -4
  351. package/esm/focusable/focusable.js +1 -1
  352. package/esm/form/form-checkbox.d.ts +5 -1
  353. package/esm/form/form-checkbox.js +5 -5
  354. package/esm/form/form-description.d.ts +10 -3
  355. package/esm/form/form-error.d.ts +10 -3
  356. package/esm/form/form-field.d.ts +17 -9
  357. package/esm/form/form-group-label.d.ts +7 -4
  358. package/esm/form/form-group.d.ts +5 -2
  359. package/esm/form/form-input.d.ts +9 -4
  360. package/esm/form/form-input.js +1 -1
  361. package/esm/form/form-label.d.ts +10 -3
  362. package/esm/form/form-provider.js +3 -3
  363. package/esm/form/form-push.d.ts +5 -2
  364. package/esm/form/form-push.js +3 -3
  365. package/esm/form/form-radio-group.d.ts +5 -1
  366. package/esm/form/form-radio.d.ts +5 -1
  367. package/esm/form/form-radio.js +5 -5
  368. package/esm/form/form-remove.d.ts +5 -2
  369. package/esm/form/form-remove.js +3 -3
  370. package/esm/form/form-reset.d.ts +6 -2
  371. package/esm/form/form-reset.js +3 -3
  372. package/esm/form/form-store.d.ts +5 -1
  373. package/esm/form/form-store.js +3 -3
  374. package/esm/form/form-submit.d.ts +5 -2
  375. package/esm/form/form-submit.js +3 -3
  376. package/esm/form/form.d.ts +5 -1
  377. package/esm/hovercard/hovercard-anchor.d.ts +11 -5
  378. package/esm/hovercard/hovercard-anchor.js +2 -2
  379. package/esm/hovercard/hovercard-arrow.d.ts +13 -8
  380. package/esm/hovercard/hovercard-description.d.ts +14 -9
  381. package/esm/hovercard/hovercard-disclosure.d.ts +14 -8
  382. package/esm/hovercard/hovercard-disclosure.js +5 -5
  383. package/esm/hovercard/hovercard-dismiss.d.ts +11 -6
  384. package/esm/hovercard/hovercard-dismiss.js +6 -6
  385. package/esm/hovercard/hovercard-heading.d.ts +14 -9
  386. package/esm/hovercard/hovercard-provider.js +5 -5
  387. package/esm/hovercard/hovercard-store.d.ts +1 -0
  388. package/esm/hovercard/hovercard-store.js +5 -5
  389. package/esm/hovercard/hovercard.d.ts +11 -5
  390. package/esm/hovercard/hovercard.js +13 -13
  391. package/esm/menu/menu-arrow.d.ts +11 -7
  392. package/esm/menu/menu-bar-provider.js +4 -4
  393. package/esm/menu/menu-bar-store.js +4 -4
  394. package/esm/menu/menu-bar.d.ts +23 -22
  395. package/esm/menu/menu-bar.js +2 -2
  396. package/esm/menu/menu-button-arrow.d.ts +16 -11
  397. package/esm/menu/menu-button.d.ts +19 -11
  398. package/esm/menu/menu-button.js +11 -9
  399. package/esm/menu/menu-description.d.ts +13 -8
  400. package/esm/menu/menu-dismiss.d.ts +10 -6
  401. package/esm/menu/menu-dismiss.js +6 -6
  402. package/esm/menu/menu-group-label.d.ts +15 -10
  403. package/esm/menu/menu-group.d.ts +15 -10
  404. package/esm/menu/menu-heading.d.ts +10 -6
  405. package/esm/menu/menu-item-check.d.ts +15 -15
  406. package/esm/menu/menu-item-checkbox.d.ts +13 -8
  407. package/esm/menu/menu-item-checkbox.js +7 -7
  408. package/esm/menu/menu-item-radio.d.ts +18 -13
  409. package/esm/menu/menu-item-radio.js +6 -6
  410. package/esm/menu/menu-item.d.ts +16 -9
  411. package/esm/menu/menu-item.js +5 -5
  412. package/esm/menu/menu-list.d.ts +12 -7
  413. package/esm/menu/menu-list.js +4 -4
  414. package/esm/menu/menu-provider.js +8 -8
  415. package/esm/menu/menu-separator.d.ts +14 -10
  416. package/esm/menu/menu-store.d.ts +15 -15
  417. package/esm/menu/menu-store.js +8 -8
  418. package/esm/menu/menu.d.ts +7 -6
  419. package/esm/menu/menu.js +33 -45
  420. package/esm/popover/popover-anchor.d.ts +9 -4
  421. package/esm/popover/popover-arrow.d.ts +14 -8
  422. package/esm/popover/popover-description.d.ts +13 -8
  423. package/esm/popover/popover-disclosure-arrow.d.ts +18 -10
  424. package/esm/popover/popover-disclosure.d.ts +4 -3
  425. package/esm/popover/popover-disclosure.js +6 -6
  426. package/esm/popover/popover-dismiss.d.ts +13 -7
  427. package/esm/popover/popover-dismiss.js +5 -5
  428. package/esm/popover/popover-heading.d.ts +14 -8
  429. package/esm/popover/popover-provider.js +4 -4
  430. package/esm/popover/popover-store.js +4 -4
  431. package/esm/popover/popover.d.ts +13 -9
  432. package/esm/popover/popover.js +12 -12
  433. package/esm/portal/portal.d.ts +17 -6
  434. package/esm/radio/radio-group.d.ts +5 -1
  435. package/esm/radio/radio-group.js +2 -2
  436. package/esm/radio/radio-provider.js +4 -4
  437. package/esm/radio/radio-store.d.ts +0 -5
  438. package/esm/radio/radio-store.js +4 -4
  439. package/esm/radio/radio.d.ts +6 -2
  440. package/esm/radio/radio.js +5 -5
  441. package/esm/select/select-arrow.d.ts +17 -12
  442. package/esm/select/select-group-label.d.ts +21 -16
  443. package/esm/select/select-group.d.ts +16 -11
  444. package/esm/select/select-item-check.d.ts +22 -16
  445. package/esm/select/select-item.d.ts +51 -24
  446. package/esm/select/select-item.js +4 -4
  447. package/esm/select/select-label.d.ts +18 -14
  448. package/esm/select/select-list.d.ts +26 -16
  449. package/esm/select/select-list.js +3 -3
  450. package/esm/select/select-popover.d.ts +11 -10
  451. package/esm/select/select-popover.js +14 -14
  452. package/esm/select/select-provider.js +7 -7
  453. package/esm/select/select-renderer.js +3 -3
  454. package/esm/select/select-row.d.ts +20 -15
  455. package/esm/select/select-separator.d.ts +16 -11
  456. package/esm/select/select-store.d.ts +2 -6
  457. package/esm/select/select-store.js +7 -7
  458. package/esm/select/select.d.ts +39 -17
  459. package/esm/select/select.js +6 -6
  460. package/esm/tab/tab-list.js +2 -2
  461. package/esm/tab/tab-panel.js +3 -3
  462. package/esm/tab/tab-provider.js +4 -4
  463. package/esm/tab/tab-store.js +4 -4
  464. package/esm/tab/tab.js +4 -4
  465. package/esm/toolbar/toolbar-container.js +6 -6
  466. package/esm/toolbar/toolbar-input.js +5 -5
  467. package/esm/toolbar/toolbar-item.js +5 -5
  468. package/esm/toolbar/toolbar-provider.js +4 -4
  469. package/esm/toolbar/toolbar-store.js +4 -4
  470. package/esm/toolbar/toolbar.js +6 -6
  471. package/esm/tooltip/tooltip-anchor.js +2 -2
  472. package/esm/tooltip/tooltip-provider.js +6 -6
  473. package/esm/tooltip/tooltip-store.js +6 -6
  474. package/esm/tooltip/tooltip.js +13 -13
  475. package/esm/tsconfig.build.tsbuildinfo +1 -1
  476. package/esm/utils/store.js +1 -1
  477. package/package.json +5 -5
  478. package/cjs/__chunks/PD5YFDLO.cjs +0 -41
  479. package/cjs/dialog/utils/disable-tree-outside.cjs +0 -12
  480. package/cjs/dialog/utils/disable-tree-outside.d.ts +0 -3
  481. package/dialog/utils/disable-tree-outside/package.json +0 -8
  482. package/esm/__chunks/5M4ITSXL.js +0 -41
  483. package/esm/dialog/utils/disable-tree-outside.d.ts +0 -3
  484. package/cjs/__chunks/{BFLDQF3L.cjs → GQAB4M3B.cjs} +3 -3
  485. package/esm/__chunks/{M4OAD5XF.js → YTHH33BK.js} +3 -3
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _ZQTMT453cjs = require('../__chunks/ZQTMT453.cjs');
3
+ var _KMOIJMBFcjs = require('../__chunks/KMOIJMBF.cjs');
4
4
 
5
5
 
6
6
  var _ZBG4TGVLcjs = require('../__chunks/ZBG4TGVL.cjs');
7
- require('../__chunks/NPDPNCSD.cjs');
7
+ require('../__chunks/FXRXBA2Y.cjs');
8
8
  require('../__chunks/H7R5D2FR.cjs');
9
9
  require('../__chunks/NHZBX2RS.cjs');
10
10
  require('../__chunks/AKOG5S2T.cjs');
11
11
  require('../__chunks/W6ZRSMO5.cjs');
12
12
  require('../__chunks/A2NMYLCG.cjs');
13
- require('../__chunks/BFLDQF3L.cjs');
13
+ require('../__chunks/GQAB4M3B.cjs');
14
14
  require('../__chunks/LHHW5ZQP.cjs');
15
15
 
16
16
 
@@ -81,7 +81,7 @@ var useComboboxCancel = _Z5PUIG6Acjs.createHook.call(void 0,
81
81
  }, props), {
82
82
  onClick
83
83
  });
84
- props = _ZQTMT453cjs.useButton.call(void 0, props);
84
+ props = _KMOIJMBFcjs.useButton.call(void 0, props);
85
85
  return props;
86
86
  }
87
87
  );
@@ -19,20 +19,25 @@ export declare const useComboboxCancel: import("../utils/types.js").Hook<Combobo
19
19
  * @see https://ariakit.org/components/combobox
20
20
  * @example
21
21
  * ```jsx
22
- * const combobox = useComboboxStore();
23
- * <Combobox store={combobox} />
24
- * <ComboboxCancel store={combobox} />
25
- * <ComboboxPopover store={combobox}>
26
- * <ComboboxItem value="Item 1" />
27
- * <ComboboxItem value="Item 2" />
28
- * <ComboboxItem value="Item 3" />
29
- * </ComboboxPopover>
22
+ * <ComboboxProvider>
23
+ * <Combobox />
24
+ * <ComboboxCancel />
25
+ * <ComboboxPopover>
26
+ * <ComboboxItem value="Apple" />
27
+ * <ComboboxItem value="Banana" />
28
+ * <ComboboxItem value="Orange" />
29
+ * </ComboboxPopover>
30
+ * </ComboboxProvider>
30
31
  * ```
31
32
  */
32
33
  export declare const ComboboxCancel: import("../utils/types.js").Component<ComboboxCancelOptions<"button">>;
33
34
  export interface ComboboxCancelOptions<T extends As = "button"> extends ButtonOptions<T> {
34
35
  /**
35
- * Object returned by the `useComboboxStore` hook.
36
+ * Object returned by the
37
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
38
+ * hook. If not provided, the closest
39
+ * [`ComboboxProvider`](https://ariakit.org/reference/combobox-provider)
40
+ * component's context will be used.
36
41
  */
37
42
  store?: ComboboxStore;
38
43
  }
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _LCKU3TYWcjs = require('../__chunks/LCKU3TYW.cjs');
4
- require('../__chunks/JNVNPB37.cjs');
5
- require('../__chunks/ZQTMT453.cjs');
3
+ var _VI6T32XIcjs = require('../__chunks/VI6T32XI.cjs');
4
+ require('../__chunks/RXP7Z4XR.cjs');
5
+ require('../__chunks/KMOIJMBF.cjs');
6
6
 
7
7
 
8
8
  var _ZBG4TGVLcjs = require('../__chunks/ZBG4TGVL.cjs');
9
- require('../__chunks/NPDPNCSD.cjs');
9
+ require('../__chunks/FXRXBA2Y.cjs');
10
10
  require('../__chunks/H7R5D2FR.cjs');
11
11
  require('../__chunks/NHZBX2RS.cjs');
12
12
  require('../__chunks/AKOG5S2T.cjs');
13
13
  require('../__chunks/W6ZRSMO5.cjs');
14
14
  require('../__chunks/A2NMYLCG.cjs');
15
- require('../__chunks/BFLDQF3L.cjs');
15
+ require('../__chunks/GQAB4M3B.cjs');
16
16
  require('../__chunks/LHHW5ZQP.cjs');
17
17
 
18
18
 
@@ -85,7 +85,7 @@ var useComboboxDisclosure = _Z5PUIG6Acjs.createHook.call(void 0,
85
85
  onMouseDown,
86
86
  onClick
87
87
  });
88
- props = _LCKU3TYWcjs.useDialogDisclosure.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
88
+ props = _VI6T32XIcjs.useDialogDisclosure.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
89
89
  return props;
90
90
  }
91
91
  );
@@ -25,20 +25,25 @@ export declare const useComboboxDisclosure: import("../utils/types.js").Hook<Com
25
25
  * @see https://ariakit.org/components/combobox
26
26
  * @example
27
27
  * ```jsx
28
- * const combobox = useComboboxStore();
29
- * <Combobox store={combobox} />
30
- * <ComboboxDisclosure store={combobox} />
31
- * <ComboboxPopover store={combobox}>
32
- * <ComboboxItem value="Item 1" />
33
- * <ComboboxItem value="Item 2" />
34
- * <ComboboxItem value="Item 3" />
35
- * </ComboboxPopover>
28
+ * <ComboboxProvider>
29
+ * <Combobox />
30
+ * <ComboboxDisclosure />
31
+ * <ComboboxPopover>
32
+ * <ComboboxItem value="Apple" />
33
+ * <ComboboxItem value="Banana" />
34
+ * <ComboboxItem value="Orange" />
35
+ * </ComboboxPopover>
36
+ * </ComboboxProvider>
36
37
  * ```
37
38
  */
38
39
  export declare const ComboboxDisclosure: import("../utils/types.js").Component<ComboboxDisclosureOptions<"button">>;
39
40
  export interface ComboboxDisclosureOptions<T extends As = "button"> extends DialogDisclosureOptions<T> {
40
41
  /**
41
- * Object returned by the `useComboboxStore` hook.
42
+ * Object returned by the
43
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
44
+ * hook. If not provided, the closest
45
+ * [`ComboboxProvider`](https://ariakit.org/reference/combobox-provider)
46
+ * component's context will be used.
42
47
  */
43
48
  store?: ComboboxStore;
44
49
  }
@@ -21,22 +21,27 @@ export declare const useComboboxGroupLabel: import("../utils/types.js").Hook<Com
21
21
  * @see https://ariakit.org/components/combobox
22
22
  * @example
23
23
  * ```jsx
24
- * const combobox = useComboboxStore();
25
- * <Combobox store={combobox} />
26
- * <ComboboxPopover store={combobox}>
27
- * <ComboboxGroup>
28
- * <ComboboxGroupLabel>Label</ComboboxGroupLabel>
29
- * <ComboboxItem value="Item 1" />
30
- * <ComboboxItem value="Item 2" />
31
- * </ComboboxGroup>
32
- * </ComboboxPopover>
24
+ * <ComboboxProvider>
25
+ * <Combobox />
26
+ * <ComboboxPopover>
27
+ * <ComboboxGroup>
28
+ * <ComboboxGroupLabel>Fruits</ComboboxGroupLabel>
29
+ * <ComboboxItem value="Apple" />
30
+ * <ComboboxItem value="Banana" />
31
+ * </ComboboxGroup>
32
+ * </ComboboxPopover>
33
+ * </ComboboxProvider>
33
34
  * ```
34
35
  */
35
36
  export declare const ComboboxGroupLabel: import("../utils/types.js").Component<ComboboxGroupLabelOptions<"div">>;
36
37
  export interface ComboboxGroupLabelOptions<T extends As = "div"> extends CompositeGroupLabelOptions<T> {
37
38
  /**
38
- * Object returned by the `useComboboxStore` hook. If not provided, the parent
39
- * `ComboboxList` or `ComboboxPopover` components' context will be used.
39
+ * Object returned by the
40
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
41
+ * hook. If not provided, the parent
42
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
43
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
44
+ * components' context will be used.
40
45
  */
41
46
  store?: ComboboxStore;
42
47
  }
@@ -24,22 +24,27 @@ export declare const useComboboxGroup: import("../utils/types.js").Hook<Combobox
24
24
  * @see https://ariakit.org/components/combobox
25
25
  * @example
26
26
  * ```jsx
27
- * const combobox = useComboboxStore();
28
- * <Combobox store={store} />
29
- * <ComboboxPopover store={store}>
30
- * <ComboboxGroup>
31
- * <ComboboxGroupLabel>Label</ComboboxGroupLabel>
32
- * <ComboboxItem value="Item 1" />
33
- * <ComboboxItem value="Item 2" />
34
- * </ComboboxGroup>
35
- * </ComboboxPopover>
27
+ * <ComboboxProvider>
28
+ * <Combobox />
29
+ * <ComboboxPopover>
30
+ * <ComboboxGroup>
31
+ * <ComboboxGroupLabel>Fruits</ComboboxGroupLabel>
32
+ * <ComboboxItem value="Apple" />
33
+ * <ComboboxItem value="Banana" />
34
+ * </ComboboxGroup>
35
+ * </ComboboxPopover>
36
+ * </ComboboxProvider>
36
37
  * ```
37
38
  */
38
39
  export declare const ComboboxGroup: import("../utils/types.js").Component<ComboboxGroupOptions<"div">>;
39
40
  export interface ComboboxGroupOptions<T extends As = "div"> extends CompositeGroupOptions<T> {
40
41
  /**
41
- * Object returned by the `useComboboxStore` hook. If not provided, the parent
42
- * `ComboboxList` or `ComboboxPopover` components' context will be used.
42
+ * Object returned by the
43
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
44
+ * hook. If not provided, the parent
45
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
46
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
47
+ * components' context will be used.
43
48
  */
44
49
  store?: ComboboxStore;
45
50
  }
@@ -30,14 +30,14 @@ export declare const useComboboxItemValue: import("../utils/types.js").Hook<Comb
30
30
  * @see https://ariakit.org/components/combobox
31
31
  * @example
32
32
  * ```jsx
33
- * const combobox = useComboboxStore({ value: "p" });
34
- *
35
- * <Combobox store={combobox} />
36
- * <ComboboxPopover store={combobox}>
37
- * <ComboboxItem value="Apple">
38
- * <ComboboxItemValue />
39
- * </ComboboxItem>
40
- * </ComboboxPopover>
33
+ * <ComboboxProvider value="p">
34
+ * <Combobox />
35
+ * <ComboboxPopover>
36
+ * <ComboboxItem value="Apple">
37
+ * <ComboboxItemValue />
38
+ * </ComboboxItem>
39
+ * </ComboboxPopover>
40
+ * </ComboboxProvider>
41
41
  *
42
42
  * // The Apple item will have a value element that looks like this:
43
43
  * <span>
@@ -51,8 +51,12 @@ export declare const useComboboxItemValue: import("../utils/types.js").Hook<Comb
51
51
  export declare const ComboboxItemValue: import("../utils/types.js").Component<ComboboxItemValueOptions<"span">>;
52
52
  export interface ComboboxItemValueOptions<T extends As = "span"> extends Options<T> {
53
53
  /**
54
- * Object returned by the `useComboboxStore` hook. If not provided, the parent
55
- * `ComboboxList` or `ComboboxPopover` components' context will be used.
54
+ * Object returned by the
55
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
56
+ * hook. If not provided, the parent
57
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
58
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
59
+ * components' context will be used.
56
60
  */
57
61
  store?: ComboboxStore;
58
62
  /**
@@ -7,8 +7,8 @@ var _LPFT4ZFHcjs = require('../__chunks/LPFT4ZFH.cjs');
7
7
  var _ZBG4TGVLcjs = require('../__chunks/ZBG4TGVL.cjs');
8
8
 
9
9
 
10
- var _G33PRHOGcjs = require('../__chunks/G33PRHOG.cjs');
11
- require('../__chunks/NPDPNCSD.cjs');
10
+ var _D3SPQ2OYcjs = require('../__chunks/D3SPQ2OY.cjs');
11
+ require('../__chunks/FXRXBA2Y.cjs');
12
12
  require('../__chunks/FMI5QF7N.cjs');
13
13
  require('../__chunks/KLZID3QO.cjs');
14
14
  require('../__chunks/H7R5D2FR.cjs');
@@ -16,14 +16,14 @@ require('../__chunks/NHZBX2RS.cjs');
16
16
  require('../__chunks/AKOG5S2T.cjs');
17
17
  require('../__chunks/W6ZRSMO5.cjs');
18
18
  require('../__chunks/A2NMYLCG.cjs');
19
- require('../__chunks/BFLDQF3L.cjs');
19
+ require('../__chunks/GQAB4M3B.cjs');
20
20
  require('../__chunks/LHHW5ZQP.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
25
  var _Z5PUIG6Acjs = require('../__chunks/Z5PUIG6A.cjs');
26
- require('../__chunks/I63PYP2U.cjs');
26
+ require('../__chunks/UHRHLHM2.cjs');
27
27
 
28
28
 
29
29
 
@@ -129,7 +129,7 @@ var useComboboxItem = _Z5PUIG6Acjs.createHook.call(void 0,
129
129
  onKeyDown
130
130
  });
131
131
  const moveOnKeyPressProp = _5WLTMVVQcjs.useBooleanEvent.call(void 0, moveOnKeyPress);
132
- props = _G33PRHOGcjs.useCompositeItem.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
132
+ props = _D3SPQ2OYcjs.useCompositeItem.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
133
133
  store
134
134
  }, props), {
135
135
  getItem,
@@ -16,42 +16,67 @@ import type { ComboboxStore } from "./combobox-store.js";
16
16
  */
17
17
  export declare const useComboboxItem: import("../utils/types.js").Hook<ComboboxItemOptions<"div">>;
18
18
  /**
19
- * Renders a combobox item inside a combobox list or popover. The `role` prop
20
- * will be automatically set based on the `ComboboxList` or `ComboboxPopover`
21
- * own `role` prop. For example, if the `ComboboxPopover` component's `role`
22
- * prop is set to `listbox` (default), the `ComboboxItem` `role` will be set to
23
- * `option`. By default, the `value` prop will be rendered as the children, but
24
- * this can be overriden.
19
+ * Renders a combobox item inside a
20
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
21
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
22
+ * components. The `role` prop will be automatically set based on the list's own
23
+ * `role` prop. For example, if the list `role` is set to `listbox` (default),
24
+ * the `ComboboxItem` `role` will be set to `option`.
25
+ *
26
+ * By default, the
27
+ * [`value`](https://ariakit.org/reference/combobox-item#value) prop will be
28
+ * rendered as the children, but this can be overriden.
25
29
  * @see https://ariakit.org/components/combobox
26
30
  * @example
27
31
  * ```jsx
28
- * const combobox = useComboboxStore();
29
- * <Combobox store={combobox} />
30
- * <ComboboxPopover store={combobox}>
31
- * <ComboboxItem value="Item 1" />
32
- * <ComboboxItem value="Item 2" />
33
- * <ComboboxItem value="Item 3" />
34
- * </ComboboxPopover>
32
+ * <ComboboxProvider>
33
+ * <Combobox />
34
+ * <ComboboxPopover>
35
+ * <ComboboxItem value="Apple" />
36
+ * <ComboboxItem value="Banana" />
37
+ * <ComboboxItem value="Orange" />
38
+ * </ComboboxPopover>
39
+ * </ComboboxProvider>
35
40
  * ```
36
41
  */
37
42
  export declare const ComboboxItem: import("../utils/types.js").Component<ComboboxItemOptions<"div">>;
38
43
  export interface ComboboxItemOptions<T extends As = "div"> extends CompositeItemOptions<T>, CompositeHoverOptions<T> {
39
44
  /**
40
- * Object returned by the `useComboboxStore` hook. If not provided, the parent
41
- * `ComboboxList` or `ComboboxPopover` components' context will be used.
45
+ * Object returned by the
46
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
47
+ * hook. If not provided, the parent
48
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
49
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
50
+ * components' context will be used.
42
51
  */
43
52
  store?: ComboboxStore;
44
53
  /**
45
54
  * The value of the item. This will be rendered as the children by default.
46
- * - If `setValueOnClick` is set to `true`, this will be the value of the
47
- * combobox input when the user clicks on this item.
48
- * - If the `autoComplete` prop on the `Combobox` component is set to `both`
49
- * or `inline`, this will be the value of the combobox input when the
50
- * combobox loses focus.
55
+ * - If
56
+ * [`setValueOnClick`](https://ariakit.org/reference/combobox-item#setvalueonclick)
57
+ * is set to `true`, this will be the value of the combobox input when the
58
+ * user clicks on this item.
59
+ * - If the
60
+ * [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete)
61
+ * prop on the [`Combobox`](https://ariakit.org/reference/combobox)
62
+ * component is set to `both` or `inline`, this will be the value of the
63
+ * combobox input when the combobox loses focus.
64
+ *
65
+ * Live examples:
66
+ * - [Animated Combobox](https://ariakit.org/examples/combobox-animated)
67
+ * - [ComboboxCancel](https://ariakit.org/examples/combobox-cancel)
68
+ * - [ComboboxDisclosure](https://ariakit.org/examples/combobox-disclosure)
69
+ * - [Combobox filtering](https://ariakit.org/examples/combobox-filtering)
70
+ * - [ComboboxGroup](https://ariakit.org/examples/combobox-group)
71
+ * - [Textarea with inline
72
+ * Combobox](https://ariakit.org/examples/combobox-textarea)
51
73
  */
52
74
  value?: string;
53
75
  /**
54
76
  * Whether to hide the combobox when this item is clicked.
77
+ *
78
+ * Live examples:
79
+ * - [Combobox with links](https://ariakit.org/examples/combobox-links)
55
80
  * @default true
56
81
  */
57
82
  hideOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _7F6H5HXCcjs = require('../__chunks/7F6H5HXC.cjs');
4
+ var _32BSJR36cjs = require('../__chunks/32BSJR36.cjs');
5
5
  require('../__chunks/ZBG4TGVL.cjs');
6
6
  require('../__chunks/H7R5D2FR.cjs');
7
7
  require('../__chunks/NHZBX2RS.cjs');
@@ -9,7 +9,7 @@ require('../__chunks/5E5FKYEO.cjs');
9
9
  require('../__chunks/AKOG5S2T.cjs');
10
10
  require('../__chunks/W6ZRSMO5.cjs');
11
11
  require('../__chunks/A2NMYLCG.cjs');
12
- require('../__chunks/BFLDQF3L.cjs');
12
+ require('../__chunks/GQAB4M3B.cjs');
13
13
  require('../__chunks/LHHW5ZQP.cjs');
14
14
  require('../__chunks/Z5PUIG6A.cjs');
15
15
  require('../__chunks/5WLTMVVQ.cjs');
@@ -18,4 +18,4 @@ require('../__chunks/72I2GWXF.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.ComboboxList = _7F6H5HXCcjs.ComboboxList; exports.useComboboxList = _7F6H5HXCcjs.useComboboxList;
21
+ exports.ComboboxList = _32BSJR36cjs.ComboboxList; exports.useComboboxList = _32BSJR36cjs.useComboboxList;
@@ -20,24 +20,31 @@ export declare const useComboboxList: import("../utils/types.js").Hook<ComboboxL
20
20
  /**
21
21
  * Renders a combobox list. The `role` prop is set to `listbox` by default, but
22
22
  * can be overriden by any other valid combobox popup role (`listbox`, `menu`,
23
- * `tree`, `grid` or `dialog`). The `aria-labelledby` prop is set to the
24
- * combobox input element's `id` by default.
23
+ * `tree`, `grid` or `dialog`).
24
+ *
25
+ * The `aria-labelledby` prop is set to the combobox input element's `id` by
26
+ * default.
25
27
  * @see https://ariakit.org/components/combobox
26
28
  * @example
27
29
  * ```jsx
28
- * const combobox = useComboboxStore();
29
- * <Combobox store={combobox} />
30
- * <ComboboxList store={combobox}>
31
- * <ComboboxItem value="Item 1" />
32
- * <ComboboxItem value="Item 2" />
33
- * <ComboboxItem value="Item 3" />
34
- * </ComboboxList>
30
+ * <ComboboxProvider>
31
+ * <Combobox />
32
+ * <ComboboxList>
33
+ * <ComboboxItem value="Apple" />
34
+ * <ComboboxItem value="Banana" />
35
+ * <ComboboxItem value="Orange" />
36
+ * </ComboboxList>
37
+ * </ComboboxProvider>
35
38
  * ```
36
39
  */
37
40
  export declare const ComboboxList: import("../utils/types.js").Component<ComboboxListOptions<"div">>;
38
41
  export interface ComboboxListOptions<T extends As = "div"> extends FocusableOptions<T>, Pick<DisclosureContentOptions, "alwaysVisible"> {
39
42
  /**
40
- * Object returned by the `useComboboxStore` hook.
43
+ * Object returned by the
44
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
45
+ * hook. If not provided, the closest
46
+ * [`ComboboxProvider`](https://ariakit.org/reference/combobox-provider)
47
+ * component's context will be used.
41
48
  */
42
49
  store?: ComboboxStore;
43
50
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _7F6H5HXCcjs = require('../__chunks/7F6H5HXC.cjs');
3
+ var _32BSJR36cjs = require('../__chunks/32BSJR36.cjs');
4
4
 
5
5
 
6
6
  var _ZBG4TGVLcjs = require('../__chunks/ZBG4TGVL.cjs');
@@ -8,18 +8,18 @@ require('../__chunks/H7R5D2FR.cjs');
8
8
  require('../__chunks/NHZBX2RS.cjs');
9
9
 
10
10
 
11
- var _PHDU6PLMcjs = require('../__chunks/PHDU6PLM.cjs');
12
- require('../__chunks/ZEASCR4B.cjs');
13
- require('../__chunks/J63NAJOO.cjs');
14
- require('../__chunks/6BAHKJ5K.cjs');
15
- require('../__chunks/DPLHWKRP.cjs');
11
+ var _WUQKDMC4cjs = require('../__chunks/WUQKDMC4.cjs');
12
+ require('../__chunks/PQU457XU.cjs');
13
+ require('../__chunks/45OYD4CU.cjs');
14
+ require('../__chunks/RWS2MAR2.cjs');
15
+ require('../__chunks/DFFFHQVQ.cjs');
16
16
  require('../__chunks/W32FX7DM.cjs');
17
- require('../__chunks/JKMBJCXA.cjs');
18
- require('../__chunks/INDMFBTS.cjs');
19
- require('../__chunks/NBCR3CLP.cjs');
17
+ require('../__chunks/QK4GI6B3.cjs');
18
+ require('../__chunks/COHI5HTS.cjs');
19
+ require('../__chunks/F4RJLWZG.cjs');
20
20
  require('../__chunks/56NPFF7P.cjs');
21
21
  require('../__chunks/Z3TLXRS7.cjs');
22
- require('../__chunks/PD5YFDLO.cjs');
22
+ require('../__chunks/TLA46MN6.cjs');
23
23
  require('../__chunks/X2GXTE3P.cjs');
24
24
  require('../__chunks/VTRMALP6.cjs');
25
25
  require('../__chunks/BWQVQDGC.cjs');
@@ -35,7 +35,7 @@ require('../__chunks/5E5FKYEO.cjs');
35
35
  require('../__chunks/AKOG5S2T.cjs');
36
36
  require('../__chunks/W6ZRSMO5.cjs');
37
37
  require('../__chunks/A2NMYLCG.cjs');
38
- require('../__chunks/BFLDQF3L.cjs');
38
+ require('../__chunks/GQAB4M3B.cjs');
39
39
  require('../__chunks/LHHW5ZQP.cjs');
40
40
  require('../__chunks/KSFAO77E.cjs');
41
41
 
@@ -43,8 +43,8 @@ require('../__chunks/KSFAO77E.cjs');
43
43
 
44
44
 
45
45
  var _Z5PUIG6Acjs = require('../__chunks/Z5PUIG6A.cjs');
46
- require('../__chunks/6MLKTO2T.cjs');
47
- require('../__chunks/I63PYP2U.cjs');
46
+ require('../__chunks/HRUFFILM.cjs');
47
+ require('../__chunks/UHRHLHM2.cjs');
48
48
  require('../__chunks/5WLTMVVQ.cjs');
49
49
  require('../__chunks/7WUTS26Y.cjs');
50
50
 
@@ -87,8 +87,8 @@ var useComboboxPopover = _Z5PUIG6Acjs.createHook.call(void 0,
87
87
  process.env.NODE_ENV !== "production" && "ComboboxPopover must receive a `store` prop or be wrapped in a ComboboxProvider component."
88
88
  );
89
89
  const baseElement = store.useState("baseElement");
90
- props = _7F6H5HXCcjs.useComboboxList.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store, alwaysVisible }, props));
91
- props = _PHDU6PLMcjs.usePopover.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
90
+ props = _32BSJR36cjs.useComboboxList.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store, alwaysVisible }, props));
91
+ props = _WUQKDMC4cjs.usePopover.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
92
92
  store,
93
93
  alwaysVisible,
94
94
  autoFocusOnShow: false,
@@ -24,13 +24,14 @@ export declare const useComboboxPopover: import("../utils/types.js").Hook<Combob
24
24
  * @see https://ariakit.org/components/combobox
25
25
  * @example
26
26
  * ```jsx
27
- * const combobox = useComboboxStore();
28
- * <Combobox store={combobox} />
29
- * <ComboboxPopover store={combobox}>
30
- * <ComboboxItem value="Item 1" />
31
- * <ComboboxItem value="Item 2" />
32
- * <ComboboxItem value="Item 3" />
33
- * </ComboboxPopover>
27
+ * <ComboboxProvider>
28
+ * <Combobox />
29
+ * <ComboboxPopover>
30
+ * <ComboboxItem value="Apple" />
31
+ * <ComboboxItem value="Banana" />
32
+ * <ComboboxItem value="Orange" />
33
+ * </ComboboxPopover>
34
+ * </ComboboxProvider>
34
35
  * ```
35
36
  */
36
37
  export declare const ComboboxPopover: import("../utils/types.js").Component<ComboboxPopoverOptions<"div">>;
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _SL7OXEFQcjs = require('../__chunks/SL7OXEFQ.cjs');
3
+ var _MITXZOVWcjs = require('../__chunks/MITXZOVW.cjs');
4
4
 
5
5
 
6
6
  var _ZBG4TGVLcjs = require('../__chunks/ZBG4TGVL.cjs');
7
- require('../__chunks/FWCQCCG3.cjs');
8
- require('../__chunks/GCTYF2Y6.cjs');
7
+ require('../__chunks/JDIVO6OK.cjs');
8
+ require('../__chunks/K5M7LOPE.cjs');
9
9
  require('../__chunks/H7R5D2FR.cjs');
10
10
  require('../__chunks/NHZBX2RS.cjs');
11
11
  require('../__chunks/AKOG5S2T.cjs');
12
12
  require('../__chunks/W6ZRSMO5.cjs');
13
13
  require('../__chunks/A2NMYLCG.cjs');
14
14
  require('../__chunks/Z5PUIG6A.cjs');
15
- require('../__chunks/P2EILHN6.cjs');
16
- require('../__chunks/BPMML63M.cjs');
17
- require('../__chunks/6MLKTO2T.cjs');
18
- require('../__chunks/I63PYP2U.cjs');
15
+ require('../__chunks/Z6EBOLR5.cjs');
16
+ require('../__chunks/3MYGLY4O.cjs');
17
+ require('../__chunks/HRUFFILM.cjs');
18
+ require('../__chunks/UHRHLHM2.cjs');
19
19
  require('../__chunks/5WLTMVVQ.cjs');
20
20
  require('../__chunks/7WUTS26Y.cjs');
21
21
  require('../__chunks/72I2GWXF.cjs');
@@ -23,7 +23,7 @@ require('../__chunks/72I2GWXF.cjs');
23
23
  // src/combobox/combobox-provider.tsx
24
24
  var _jsxruntime = require('react/jsx-runtime');
25
25
  function ComboboxProvider(props = {}) {
26
- const store = _SL7OXEFQcjs.useComboboxStore.call(void 0, props);
26
+ const store = _MITXZOVWcjs.useComboboxStore.call(void 0, props);
27
27
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ZBG4TGVLcjs.ComboboxContextProvider, { value: store, children: props.children });
28
28
  }
29
29
 
@@ -23,27 +23,32 @@ export declare const useComboboxRow: import("../utils/types.js").Hook<ComboboxRo
23
23
  * @see https://ariakit.org/components/combobox
24
24
  * @example
25
25
  * ```jsx
26
- * const combobox = useComboboxStore();
27
- * <Combobox store={combobox} />
28
- * <ComboboxPopover store={combobox}>
29
- * <ComboboxRow>
30
- * <ComboboxItem value="Item 1.1" />
31
- * <ComboboxItem value="Item 1.2" />
32
- * <ComboboxItem value="Item 1.3" />
33
- * </ComboboxRow>
34
- * <ComboboxRow>
35
- * <ComboboxItem value="Item 2.1" />
36
- * <ComboboxItem value="Item 2.2" />
37
- * <ComboboxItem value="Item 2.3" />
38
- * </ComboboxRow>
39
- * </ComboboxPopover>
26
+ * <ComboboxProvider>
27
+ * <Combobox />
28
+ * <ComboboxPopover>
29
+ * <ComboboxRow>
30
+ * <ComboboxItem value="Item 1.1" />
31
+ * <ComboboxItem value="Item 1.2" />
32
+ * <ComboboxItem value="Item 1.3" />
33
+ * </ComboboxRow>
34
+ * <ComboboxRow>
35
+ * <ComboboxItem value="Item 2.1" />
36
+ * <ComboboxItem value="Item 2.2" />
37
+ * <ComboboxItem value="Item 2.3" />
38
+ * </ComboboxRow>
39
+ * </ComboboxPopover>
40
+ * </ComboboxProvider>
40
41
  * ```
41
42
  */
42
43
  export declare const ComboboxRow: import("../utils/types.js").Component<ComboboxRowOptions<"div">>;
43
44
  export interface ComboboxRowOptions<T extends As = "div"> extends CompositeRowOptions<T> {
44
45
  /**
45
- * Object returned by the `useComboboxStore` hook. If not provided, the parent
46
- * `ComboboxList` or `ComboboxPopover` components' context will be used.
46
+ * Object returned by the
47
+ * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
48
+ * hook. If not provided, the parent
49
+ * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
50
+ * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
51
+ * components' context will be used.
47
52
  */
48
53
  store?: ComboboxStore;
49
54
  }