@ariakit/react-core 0.3.11 → 0.3.13

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 (750) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/cjs/__chunks/{LICANQTI.cjs → 25ZFPUHH.cjs} +2 -2
  3. package/cjs/__chunks/{LFHNPG2L.cjs → 2FTVUUOK.cjs} +2 -2
  4. package/cjs/__chunks/{7ZVTEFD7.cjs → 2IMEEJHG.cjs} +2 -2
  5. package/cjs/__chunks/{KQUC6RXT.cjs → 2UEWAQWG.cjs} +4 -4
  6. package/cjs/__chunks/{WWU35JDJ.cjs → 3XQOWQTT.cjs} +7 -7
  7. package/cjs/__chunks/{TGTVGYEZ.cjs → 4KFTI2WW.cjs} +2 -2
  8. package/cjs/__chunks/{Y22E2GCT.cjs → 4VMHQGZH.cjs} +6 -6
  9. package/cjs/__chunks/{T5G6DLC6.cjs → 6LVRCU4J.cjs} +2 -2
  10. package/cjs/__chunks/{FQZOOWMH.cjs → 6PUZ4NWR.cjs} +2 -2
  11. package/cjs/__chunks/{RV3PHHWM.cjs → 6ZZYUFPW.cjs} +1 -1
  12. package/cjs/__chunks/{DKOWT2IJ.cjs → CDNJPIEG.cjs} +3 -3
  13. package/cjs/__chunks/{47RLIVET.cjs → CFKRWKZR.cjs} +10 -10
  14. package/cjs/__chunks/{V6LYK7WK.cjs → CGIHR7QS.cjs} +7 -7
  15. package/cjs/__chunks/{NVHGMKAE.cjs → CIZTEPFO.cjs} +3 -3
  16. package/cjs/__chunks/{UXFBTIBY.cjs → ER5DEJFH.cjs} +2 -2
  17. package/cjs/__chunks/{7KFYPSJO.cjs → EUHOCOY2.cjs} +4 -4
  18. package/cjs/__chunks/{36QK2QLE.cjs → FGHQW2WS.cjs} +16 -16
  19. package/cjs/__chunks/{XAYQLYTN.cjs → GGMSVQ4G.cjs} +6 -6
  20. package/cjs/__chunks/{7EEAHTIW.cjs → GMQZGKGV.cjs} +2 -2
  21. package/cjs/__chunks/{3RUODFRU.cjs → GSETTLOU.cjs} +15 -15
  22. package/cjs/__chunks/{APFV5PTX.cjs → HQEKHRPP.cjs} +4 -4
  23. package/cjs/__chunks/{2GETDAIQ.cjs → ITQETTAV.cjs} +5 -5
  24. package/cjs/__chunks/{EGAIDKB5.cjs → JAQJG42R.cjs} +5 -5
  25. package/cjs/__chunks/{NY3D6JQT.cjs → JFNPRZX3.cjs} +2 -2
  26. package/cjs/__chunks/{VQJ44BSY.cjs → JQS6X2I5.cjs} +4 -4
  27. package/cjs/__chunks/{IGTX5NFA.cjs → KIDFNQ4E.cjs} +4 -4
  28. package/cjs/__chunks/{N6CR2VNN.cjs → LUL2YWZ3.cjs} +12 -12
  29. package/cjs/__chunks/{NVRUQ5V7.cjs → LY6FB2NE.cjs} +7 -7
  30. package/cjs/__chunks/{IAYTETYN.cjs → MMRX6FNS.cjs} +4 -4
  31. package/cjs/__chunks/{VCDQISP7.cjs → N3XK7EAH.cjs} +7 -7
  32. package/cjs/__chunks/{QCG6J6X5.cjs → NLVGDNPE.cjs} +2 -2
  33. package/cjs/__chunks/{PSR537T6.cjs → NONPPWSF.cjs} +8 -8
  34. package/cjs/__chunks/{7BPAESN3.cjs → NRGWVSB5.cjs} +5 -5
  35. package/cjs/__chunks/{QLRXXIBY.cjs → ODJ76C5W.cjs} +7 -7
  36. package/cjs/__chunks/{B233QVZE.cjs → OLOZ5JT2.cjs} +0 -5
  37. package/cjs/__chunks/{DAJUUBUI.cjs → OSTQZD2E.cjs} +2 -2
  38. package/cjs/__chunks/{XDTEICF5.cjs → OZ4FTKEH.cjs} +7 -7
  39. package/cjs/__chunks/{63WKH5OP.cjs → PJ646MI7.cjs} +10 -10
  40. package/cjs/__chunks/{BKU5STIE.cjs → QSU3WKMW.cjs} +4 -4
  41. package/cjs/__chunks/{RM2WCNSU.cjs → R7ERL264.cjs} +19 -20
  42. package/cjs/__chunks/{5UTRYT6E.cjs → REJALU3P.cjs} +2 -2
  43. package/cjs/__chunks/{VQHA56HB.cjs → T7WLYFYV.cjs} +2 -2
  44. package/cjs/__chunks/{LO3RECOD.cjs → UPU6KE6C.cjs} +4 -4
  45. package/cjs/__chunks/{EWKBICMP.cjs → VKHTDADA.cjs} +5 -5
  46. package/cjs/__chunks/{VSDH37LI.cjs → VPQQSYH7.cjs} +3 -3
  47. package/cjs/__chunks/{Z3GCTNW4.cjs → VUEWHLYH.cjs} +1 -1
  48. package/cjs/__chunks/{HRKRTCJC.cjs → W5LJEMLB.cjs} +4 -4
  49. package/cjs/__chunks/{RTT4XR27.cjs → WZ3DRKGP.cjs} +4 -4
  50. package/cjs/__chunks/{FM5S6RAD.cjs → XW252ITL.cjs} +2 -2
  51. package/cjs/__chunks/{TD5MOASJ.cjs → YPVQYY4J.cjs} +2 -2
  52. package/cjs/button/button.cjs +4 -4
  53. package/cjs/button/button.d.cts +1 -1
  54. package/cjs/button/button.d.ts +1 -1
  55. package/cjs/checkbox/checkbox-check.d.cts +17 -9
  56. package/cjs/checkbox/checkbox-check.d.ts +17 -9
  57. package/cjs/checkbox/checkbox-provider.cjs +4 -4
  58. package/cjs/checkbox/checkbox-provider.d.cts +4 -2
  59. package/cjs/checkbox/checkbox-provider.d.ts +4 -2
  60. package/cjs/checkbox/checkbox-store.cjs +3 -3
  61. package/cjs/checkbox/checkbox-store.d.cts +5 -3
  62. package/cjs/checkbox/checkbox-store.d.ts +5 -3
  63. package/cjs/checkbox/checkbox.cjs +5 -5
  64. package/cjs/checkbox/checkbox.d.cts +14 -9
  65. package/cjs/checkbox/checkbox.d.ts +14 -9
  66. package/cjs/collection/collection-item.d.cts +31 -10
  67. package/cjs/collection/collection-item.d.ts +31 -10
  68. package/cjs/collection/collection-provider.cjs +3 -3
  69. package/cjs/collection/collection-provider.d.cts +2 -1
  70. package/cjs/collection/collection-provider.d.ts +2 -1
  71. package/cjs/collection/collection-renderer.cjs +3 -3
  72. package/cjs/collection/collection-renderer.d.cts +1 -1
  73. package/cjs/collection/collection-renderer.d.ts +1 -1
  74. package/cjs/collection/collection-store.cjs +3 -3
  75. package/cjs/collection/collection-store.d.cts +6 -3
  76. package/cjs/collection/collection-store.d.ts +6 -3
  77. package/cjs/collection/collection.d.cts +4 -3
  78. package/cjs/collection/collection.d.ts +4 -3
  79. package/cjs/combobox/combobox-cancel.cjs +4 -4
  80. package/cjs/combobox/combobox-cancel.d.cts +3 -2
  81. package/cjs/combobox/combobox-cancel.d.ts +3 -2
  82. package/cjs/combobox/combobox-disclosure.cjs +6 -6
  83. package/cjs/combobox/combobox-disclosure.d.cts +7 -2
  84. package/cjs/combobox/combobox-disclosure.d.ts +7 -2
  85. package/cjs/combobox/combobox-group-label.d.cts +4 -4
  86. package/cjs/combobox/combobox-group-label.d.ts +4 -4
  87. package/cjs/combobox/combobox-group.d.cts +7 -3
  88. package/cjs/combobox/combobox-group.d.ts +7 -3
  89. package/cjs/combobox/combobox-item-check.d.cts +9 -16
  90. package/cjs/combobox/combobox-item-check.d.ts +9 -16
  91. package/cjs/combobox/combobox-item-value.d.cts +13 -8
  92. package/cjs/combobox/combobox-item-value.d.ts +13 -8
  93. package/cjs/combobox/combobox-item.cjs +6 -6
  94. package/cjs/combobox/combobox-item.d.cts +11 -9
  95. package/cjs/combobox/combobox-item.d.ts +11 -9
  96. package/cjs/combobox/combobox-list.cjs +5 -5
  97. package/cjs/combobox/combobox-list.d.cts +1 -4
  98. package/cjs/combobox/combobox-list.d.ts +1 -4
  99. package/cjs/combobox/combobox-popover.cjs +15 -15
  100. package/cjs/combobox/combobox-popover.d.cts +2 -3
  101. package/cjs/combobox/combobox-popover.d.ts +2 -3
  102. package/cjs/combobox/combobox-provider.cjs +8 -8
  103. package/cjs/combobox/combobox-provider.d.cts +2 -1
  104. package/cjs/combobox/combobox-provider.d.ts +2 -1
  105. package/cjs/combobox/combobox-row.d.cts +6 -3
  106. package/cjs/combobox/combobox-row.d.ts +6 -3
  107. package/cjs/combobox/combobox-separator.d.cts +4 -3
  108. package/cjs/combobox/combobox-separator.d.ts +4 -3
  109. package/cjs/combobox/combobox-store.cjs +8 -8
  110. package/cjs/combobox/combobox-store.d.cts +11 -7
  111. package/cjs/combobox/combobox-store.d.ts +11 -7
  112. package/cjs/combobox/combobox.cjs +10 -8
  113. package/cjs/combobox/combobox.d.cts +48 -33
  114. package/cjs/combobox/combobox.d.ts +48 -33
  115. package/cjs/command/command.cjs +3 -3
  116. package/cjs/command/command.d.cts +1 -1
  117. package/cjs/command/command.d.ts +1 -1
  118. package/cjs/composite/composite-container.cjs +4 -4
  119. package/cjs/composite/composite-container.d.cts +18 -11
  120. package/cjs/composite/composite-container.d.ts +18 -11
  121. package/cjs/composite/composite-group-label.d.cts +18 -13
  122. package/cjs/composite/composite-group-label.d.ts +18 -13
  123. package/cjs/composite/composite-group.d.cts +20 -12
  124. package/cjs/composite/composite-group.d.ts +20 -12
  125. package/cjs/composite/composite-hover.d.cts +19 -8
  126. package/cjs/composite/composite-hover.d.ts +19 -8
  127. package/cjs/composite/composite-input.cjs +3 -3
  128. package/cjs/composite/composite-input.d.cts +15 -9
  129. package/cjs/composite/composite-input.d.ts +15 -9
  130. package/cjs/composite/composite-item.cjs +6 -6
  131. package/cjs/composite/composite-item.d.cts +49 -9
  132. package/cjs/composite/composite-item.d.ts +49 -9
  133. package/cjs/composite/composite-overflow-disclosure.cjs +11 -11
  134. package/cjs/composite/composite-overflow-store.cjs +6 -6
  135. package/cjs/composite/composite-overflow.cjs +12 -12
  136. package/cjs/composite/composite-provider.cjs +4 -4
  137. package/cjs/composite/composite-provider.d.cts +2 -1
  138. package/cjs/composite/composite-provider.d.ts +2 -1
  139. package/cjs/composite/composite-renderer.cjs +4 -4
  140. package/cjs/composite/composite-renderer.d.cts +1 -1
  141. package/cjs/composite/composite-renderer.d.ts +1 -1
  142. package/cjs/composite/composite-row.d.cts +26 -19
  143. package/cjs/composite/composite-row.d.ts +26 -19
  144. package/cjs/composite/composite-separator.d.cts +23 -10
  145. package/cjs/composite/composite-separator.d.ts +23 -10
  146. package/cjs/composite/composite-store.cjs +4 -4
  147. package/cjs/composite/composite-store.d.cts +9 -6
  148. package/cjs/composite/composite-store.d.ts +9 -6
  149. package/cjs/composite/composite-typeahead.cjs +3 -3
  150. package/cjs/composite/composite-typeahead.d.cts +20 -8
  151. package/cjs/composite/composite-typeahead.d.ts +20 -8
  152. package/cjs/composite/composite.cjs +4 -4
  153. package/cjs/composite/composite.d.cts +65 -10
  154. package/cjs/composite/composite.d.ts +65 -10
  155. package/cjs/composite/utils.cjs +2 -2
  156. package/cjs/dialog/dialog-backdrop.cjs +5 -5
  157. package/cjs/dialog/dialog-disclosure.cjs +6 -6
  158. package/cjs/dialog/dialog-disclosure.d.cts +2 -1
  159. package/cjs/dialog/dialog-disclosure.d.ts +2 -1
  160. package/cjs/dialog/dialog-dismiss.cjs +5 -5
  161. package/cjs/dialog/dialog-dismiss.d.cts +2 -1
  162. package/cjs/dialog/dialog-dismiss.d.ts +2 -1
  163. package/cjs/dialog/dialog-provider.cjs +4 -4
  164. package/cjs/dialog/dialog-provider.d.cts +2 -1
  165. package/cjs/dialog/dialog-provider.d.ts +2 -1
  166. package/cjs/dialog/dialog-store.cjs +4 -4
  167. package/cjs/dialog/dialog-store.d.cts +3 -1
  168. package/cjs/dialog/dialog-store.d.ts +3 -1
  169. package/cjs/dialog/dialog.cjs +11 -11
  170. package/cjs/dialog/dialog.d.cts +52 -20
  171. package/cjs/dialog/dialog.d.ts +52 -20
  172. package/cjs/dialog/utils/disable-tree.cjs +3 -3
  173. package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +1 -1
  174. package/cjs/disclosure/disclosure-content.cjs +3 -3
  175. package/cjs/disclosure/disclosure-content.d.cts +6 -5
  176. package/cjs/disclosure/disclosure-content.d.ts +6 -5
  177. package/cjs/disclosure/disclosure-provider.cjs +3 -3
  178. package/cjs/disclosure/disclosure-provider.d.cts +2 -1
  179. package/cjs/disclosure/disclosure-provider.d.ts +2 -1
  180. package/cjs/disclosure/disclosure-store.cjs +3 -3
  181. package/cjs/disclosure/disclosure-store.d.cts +9 -7
  182. package/cjs/disclosure/disclosure-store.d.ts +9 -7
  183. package/cjs/disclosure/disclosure.cjs +5 -5
  184. package/cjs/disclosure/disclosure.d.cts +3 -2
  185. package/cjs/disclosure/disclosure.d.ts +3 -2
  186. package/cjs/focus-trap/focus-trap-region.d.cts +4 -2
  187. package/cjs/focus-trap/focus-trap-region.d.ts +4 -2
  188. package/cjs/focusable/focusable-container.d.cts +7 -5
  189. package/cjs/focusable/focusable-container.d.ts +7 -5
  190. package/cjs/focusable/focusable.cjs +2 -2
  191. package/cjs/focusable/focusable.d.cts +12 -2
  192. package/cjs/focusable/focusable.d.ts +12 -2
  193. package/cjs/form/form-checkbox.cjs +10 -10
  194. package/cjs/form/form-checkbox.d.cts +6 -4
  195. package/cjs/form/form-checkbox.d.ts +6 -4
  196. package/cjs/form/form-control.cjs +16 -0
  197. package/cjs/form/form-control.d.cts +93 -0
  198. package/cjs/form/form-control.d.ts +93 -0
  199. package/cjs/form/form-description.d.cts +14 -3
  200. package/cjs/form/form-description.d.ts +14 -3
  201. package/cjs/form/form-error.d.cts +11 -4
  202. package/cjs/form/form-error.d.ts +11 -4
  203. package/cjs/form/form-field.cjs +19 -4
  204. package/cjs/form/form-field.d.cts +16 -30
  205. package/cjs/form/form-field.d.ts +16 -30
  206. package/cjs/form/form-group-label.d.cts +6 -4
  207. package/cjs/form/form-group-label.d.ts +6 -4
  208. package/cjs/form/form-group.d.cts +6 -2
  209. package/cjs/form/form-group.d.ts +6 -2
  210. package/cjs/form/form-input.cjs +4 -4
  211. package/cjs/form/form-input.d.cts +7 -6
  212. package/cjs/form/form-input.d.ts +7 -6
  213. package/cjs/form/form-label.d.cts +18 -7
  214. package/cjs/form/form-label.d.ts +18 -7
  215. package/cjs/form/form-provider.cjs +4 -4
  216. package/cjs/form/form-provider.d.cts +2 -1
  217. package/cjs/form/form-provider.d.ts +2 -1
  218. package/cjs/form/form-push.cjs +4 -4
  219. package/cjs/form/form-push.d.cts +17 -3
  220. package/cjs/form/form-push.d.ts +17 -3
  221. package/cjs/form/form-radio-group.d.cts +7 -2
  222. package/cjs/form/form-radio-group.d.ts +7 -2
  223. package/cjs/form/form-radio.cjs +9 -9
  224. package/cjs/form/form-radio.d.cts +8 -4
  225. package/cjs/form/form-radio.d.ts +8 -4
  226. package/cjs/form/form-remove.cjs +4 -4
  227. package/cjs/form/form-remove.d.cts +17 -2
  228. package/cjs/form/form-remove.d.ts +17 -2
  229. package/cjs/form/form-reset.cjs +4 -4
  230. package/cjs/form/form-reset.d.cts +5 -2
  231. package/cjs/form/form-reset.d.ts +5 -2
  232. package/cjs/form/form-store.cjs +4 -4
  233. package/cjs/form/form-store.d.cts +31 -14
  234. package/cjs/form/form-store.d.ts +31 -14
  235. package/cjs/form/form-submit.cjs +4 -4
  236. package/cjs/form/form-submit.d.cts +8 -2
  237. package/cjs/form/form-submit.d.ts +8 -2
  238. package/cjs/form/form.d.cts +37 -11
  239. package/cjs/form/form.d.ts +37 -11
  240. package/cjs/group/group-label.d.cts +3 -2
  241. package/cjs/group/group-label.d.ts +3 -2
  242. package/cjs/group/group.d.cts +3 -1
  243. package/cjs/group/group.d.ts +3 -1
  244. package/cjs/heading/heading-level.d.cts +4 -2
  245. package/cjs/heading/heading-level.d.ts +4 -2
  246. package/cjs/heading/heading.d.cts +4 -3
  247. package/cjs/heading/heading.d.ts +4 -3
  248. package/cjs/hovercard/hovercard-anchor.cjs +3 -3
  249. package/cjs/hovercard/hovercard-anchor.d.cts +5 -2
  250. package/cjs/hovercard/hovercard-anchor.d.ts +5 -2
  251. package/cjs/hovercard/hovercard-arrow.d.cts +4 -2
  252. package/cjs/hovercard/hovercard-arrow.d.ts +4 -2
  253. package/cjs/hovercard/hovercard-description.d.cts +2 -2
  254. package/cjs/hovercard/hovercard-description.d.ts +2 -2
  255. package/cjs/hovercard/hovercard-disclosure.cjs +6 -6
  256. package/cjs/hovercard/hovercard-disclosure.d.cts +1 -1
  257. package/cjs/hovercard/hovercard-disclosure.d.ts +1 -1
  258. package/cjs/hovercard/hovercard-dismiss.cjs +7 -7
  259. package/cjs/hovercard/hovercard-dismiss.d.cts +3 -2
  260. package/cjs/hovercard/hovercard-dismiss.d.ts +3 -2
  261. package/cjs/hovercard/hovercard-heading.d.cts +2 -2
  262. package/cjs/hovercard/hovercard-heading.d.ts +2 -2
  263. package/cjs/hovercard/hovercard-provider.cjs +6 -6
  264. package/cjs/hovercard/hovercard-provider.d.cts +2 -1
  265. package/cjs/hovercard/hovercard-provider.d.ts +2 -1
  266. package/cjs/hovercard/hovercard-store.cjs +6 -6
  267. package/cjs/hovercard/hovercard-store.d.cts +2 -1
  268. package/cjs/hovercard/hovercard-store.d.ts +2 -1
  269. package/cjs/hovercard/hovercard.cjs +13 -13
  270. package/cjs/hovercard/hovercard.d.cts +20 -8
  271. package/cjs/hovercard/hovercard.d.ts +20 -8
  272. package/cjs/menu/menu-arrow.d.cts +4 -2
  273. package/cjs/menu/menu-arrow.d.ts +4 -2
  274. package/cjs/menu/menu-bar-provider.cjs +6 -6
  275. package/cjs/menu/menu-bar-store.cjs +6 -6
  276. package/cjs/menu/menu-bar.cjs +9 -9
  277. package/cjs/menu/menu-bar.d.cts +1 -2
  278. package/cjs/menu/menu-bar.d.ts +1 -2
  279. package/cjs/menu/menu-button-arrow.d.cts +9 -4
  280. package/cjs/menu/menu-button-arrow.d.ts +9 -4
  281. package/cjs/menu/menu-button.cjs +14 -14
  282. package/cjs/menu/menu-button.d.cts +8 -7
  283. package/cjs/menu/menu-button.d.ts +8 -7
  284. package/cjs/menu/menu-description.d.cts +2 -2
  285. package/cjs/menu/menu-description.d.ts +2 -2
  286. package/cjs/menu/menu-dismiss.cjs +7 -7
  287. package/cjs/menu/menu-dismiss.d.cts +3 -2
  288. package/cjs/menu/menu-dismiss.d.ts +3 -2
  289. package/cjs/menu/menu-group-label.d.cts +4 -4
  290. package/cjs/menu/menu-group-label.d.ts +4 -4
  291. package/cjs/menu/menu-group.d.cts +5 -2
  292. package/cjs/menu/menu-group.d.ts +5 -2
  293. package/cjs/menu/menu-heading.d.cts +3 -2
  294. package/cjs/menu/menu-heading.d.ts +3 -2
  295. package/cjs/menu/menu-item-check.d.cts +10 -18
  296. package/cjs/menu/menu-item-check.d.ts +10 -18
  297. package/cjs/menu/menu-item-checkbox.cjs +12 -12
  298. package/cjs/menu/menu-item-checkbox.d.cts +38 -6
  299. package/cjs/menu/menu-item-checkbox.d.ts +38 -6
  300. package/cjs/menu/menu-item-radio.cjs +9 -9
  301. package/cjs/menu/menu-item-radio.d.cts +21 -9
  302. package/cjs/menu/menu-item-radio.d.ts +21 -9
  303. package/cjs/menu/menu-item.cjs +7 -7
  304. package/cjs/menu/menu-item.d.cts +10 -11
  305. package/cjs/menu/menu-item.d.ts +10 -11
  306. package/cjs/menu/menu-list.cjs +8 -8
  307. package/cjs/menu/menu-list.d.cts +7 -2
  308. package/cjs/menu/menu-list.d.ts +7 -2
  309. package/cjs/menu/menu-provider.cjs +9 -9
  310. package/cjs/menu/menu-provider.d.cts +2 -1
  311. package/cjs/menu/menu-provider.d.ts +2 -1
  312. package/cjs/menu/menu-separator.d.cts +5 -2
  313. package/cjs/menu/menu-separator.d.ts +5 -2
  314. package/cjs/menu/menu-store.cjs +9 -9
  315. package/cjs/menu/menu-store.d.cts +18 -7
  316. package/cjs/menu/menu-store.d.ts +18 -7
  317. package/cjs/menu/menu.cjs +21 -21
  318. package/cjs/menu/menu.d.cts +8 -2
  319. package/cjs/menu/menu.d.ts +8 -2
  320. package/cjs/menubar/menubar-provider.cjs +6 -6
  321. package/cjs/menubar/menubar-provider.d.cts +2 -1
  322. package/cjs/menubar/menubar-provider.d.ts +2 -1
  323. package/cjs/menubar/menubar-store.cjs +5 -5
  324. package/cjs/menubar/menubar-store.d.cts +3 -1
  325. package/cjs/menubar/menubar-store.d.ts +3 -1
  326. package/cjs/menubar/menubar.cjs +9 -9
  327. package/cjs/menubar/menubar.d.cts +3 -2
  328. package/cjs/menubar/menubar.d.ts +3 -2
  329. package/cjs/popover/popover-anchor.d.cts +4 -3
  330. package/cjs/popover/popover-anchor.d.ts +4 -3
  331. package/cjs/popover/popover-arrow.d.cts +6 -2
  332. package/cjs/popover/popover-arrow.d.ts +6 -2
  333. package/cjs/popover/popover-description.d.cts +1 -1
  334. package/cjs/popover/popover-description.d.ts +1 -1
  335. package/cjs/popover/popover-disclosure-arrow.d.cts +6 -4
  336. package/cjs/popover/popover-disclosure-arrow.d.ts +6 -4
  337. package/cjs/popover/popover-disclosure.cjs +7 -7
  338. package/cjs/popover/popover-disclosure.d.cts +3 -2
  339. package/cjs/popover/popover-disclosure.d.ts +3 -2
  340. package/cjs/popover/popover-dismiss.cjs +6 -6
  341. package/cjs/popover/popover-dismiss.d.cts +1 -1
  342. package/cjs/popover/popover-dismiss.d.ts +1 -1
  343. package/cjs/popover/popover-heading.d.cts +1 -1
  344. package/cjs/popover/popover-heading.d.ts +1 -1
  345. package/cjs/popover/popover-provider.cjs +5 -5
  346. package/cjs/popover/popover-provider.d.cts +2 -1
  347. package/cjs/popover/popover-provider.d.ts +2 -1
  348. package/cjs/popover/popover-store.cjs +5 -5
  349. package/cjs/popover/popover-store.d.cts +2 -1
  350. package/cjs/popover/popover-store.d.ts +2 -1
  351. package/cjs/popover/popover.cjs +12 -12
  352. package/cjs/popover/popover.d.cts +8 -3
  353. package/cjs/popover/popover.d.ts +8 -3
  354. package/cjs/portal/portal.d.cts +18 -1
  355. package/cjs/portal/portal.d.ts +18 -1
  356. package/cjs/radio/radio-group.cjs +4 -4
  357. package/cjs/radio/radio-group.d.cts +8 -6
  358. package/cjs/radio/radio-group.d.ts +8 -6
  359. package/cjs/radio/radio-provider.cjs +5 -5
  360. package/cjs/radio/radio-provider.d.cts +2 -1
  361. package/cjs/radio/radio-provider.d.ts +2 -1
  362. package/cjs/radio/radio-store.cjs +5 -5
  363. package/cjs/radio/radio-store.d.cts +6 -2
  364. package/cjs/radio/radio-store.d.ts +6 -2
  365. package/cjs/radio/radio.cjs +7 -7
  366. package/cjs/radio/radio.d.cts +21 -13
  367. package/cjs/radio/radio.d.ts +21 -13
  368. package/cjs/role/role.d.cts +3 -3
  369. package/cjs/role/role.d.ts +3 -3
  370. package/cjs/select/select-group-label.d.cts +2 -2
  371. package/cjs/select/select-group-label.d.ts +2 -2
  372. package/cjs/select/select-group.d.cts +4 -1
  373. package/cjs/select/select-group.d.ts +4 -1
  374. package/cjs/select/select-item-check.d.cts +9 -15
  375. package/cjs/select/select-item-check.d.ts +9 -15
  376. package/cjs/select/select-item.cjs +6 -6
  377. package/cjs/select/select-item.d.cts +1 -5
  378. package/cjs/select/select-item.d.ts +1 -5
  379. package/cjs/select/select-list.cjs +8 -8
  380. package/cjs/select/select-list.d.cts +7 -4
  381. package/cjs/select/select-list.d.ts +7 -4
  382. package/cjs/select/select-popover.cjs +18 -18
  383. package/cjs/select/select-provider.cjs +8 -8
  384. package/cjs/select/select-provider.d.cts +2 -1
  385. package/cjs/select/select-provider.d.ts +2 -1
  386. package/cjs/select/select-renderer.cjs +7 -7
  387. package/cjs/select/select-renderer.d.cts +1 -1
  388. package/cjs/select/select-renderer.d.ts +1 -1
  389. package/cjs/select/select-row.d.cts +4 -1
  390. package/cjs/select/select-row.d.ts +4 -1
  391. package/cjs/select/select-separator.d.cts +2 -1
  392. package/cjs/select/select-separator.d.ts +2 -1
  393. package/cjs/select/select-store.cjs +8 -8
  394. package/cjs/select/select-store.d.cts +17 -10
  395. package/cjs/select/select-store.d.ts +17 -10
  396. package/cjs/select/select.cjs +19 -17
  397. package/cjs/select/select.d.cts +25 -15
  398. package/cjs/select/select.d.ts +25 -15
  399. package/cjs/tab/tab-list.cjs +4 -4
  400. package/cjs/tab/tab-list.d.cts +2 -1
  401. package/cjs/tab/tab-list.d.ts +2 -1
  402. package/cjs/tab/tab-panel.cjs +7 -7
  403. package/cjs/tab/tab-panel.d.cts +20 -3
  404. package/cjs/tab/tab-panel.d.ts +20 -3
  405. package/cjs/tab/tab-provider.cjs +5 -5
  406. package/cjs/tab/tab-provider.d.cts +1 -1
  407. package/cjs/tab/tab-provider.d.ts +1 -1
  408. package/cjs/tab/tab-store.cjs +5 -5
  409. package/cjs/tab/tab-store.d.cts +9 -3
  410. package/cjs/tab/tab-store.d.ts +9 -3
  411. package/cjs/tab/tab.cjs +6 -6
  412. package/cjs/tab/tab.d.cts +2 -2
  413. package/cjs/tab/tab.d.ts +2 -2
  414. package/cjs/toolbar/toolbar-container.cjs +9 -9
  415. package/cjs/toolbar/toolbar-container.d.cts +1 -1
  416. package/cjs/toolbar/toolbar-container.d.ts +1 -1
  417. package/cjs/toolbar/toolbar-input.cjs +9 -9
  418. package/cjs/toolbar/toolbar-input.d.cts +2 -1
  419. package/cjs/toolbar/toolbar-input.d.ts +2 -1
  420. package/cjs/toolbar/toolbar-item.cjs +7 -7
  421. package/cjs/toolbar/toolbar-item.d.cts +2 -1
  422. package/cjs/toolbar/toolbar-item.d.ts +2 -1
  423. package/cjs/toolbar/toolbar-provider.cjs +5 -5
  424. package/cjs/toolbar/toolbar-provider.d.cts +2 -1
  425. package/cjs/toolbar/toolbar-provider.d.ts +2 -1
  426. package/cjs/toolbar/toolbar-separator.d.cts +2 -1
  427. package/cjs/toolbar/toolbar-separator.d.ts +2 -1
  428. package/cjs/toolbar/toolbar-store.cjs +5 -5
  429. package/cjs/toolbar/toolbar-store.d.cts +3 -1
  430. package/cjs/toolbar/toolbar-store.d.ts +3 -1
  431. package/cjs/toolbar/toolbar.cjs +9 -9
  432. package/cjs/tooltip/tooltip-anchor.cjs +3 -3
  433. package/cjs/tooltip/tooltip-anchor.d.cts +3 -3
  434. package/cjs/tooltip/tooltip-anchor.d.ts +3 -3
  435. package/cjs/tooltip/tooltip-arrow.d.cts +1 -1
  436. package/cjs/tooltip/tooltip-arrow.d.ts +1 -1
  437. package/cjs/tooltip/tooltip-provider.cjs +7 -7
  438. package/cjs/tooltip/tooltip-provider.d.cts +2 -1
  439. package/cjs/tooltip/tooltip-provider.d.ts +2 -1
  440. package/cjs/tooltip/tooltip-store.cjs +7 -7
  441. package/cjs/tooltip/tooltip-store.d.cts +3 -1
  442. package/cjs/tooltip/tooltip-store.d.ts +3 -1
  443. package/cjs/tooltip/tooltip.cjs +14 -14
  444. package/cjs/tooltip/tooltip.d.cts +3 -1
  445. package/cjs/tooltip/tooltip.d.ts +3 -1
  446. package/cjs/utils/store.cjs +2 -2
  447. package/esm/__chunks/{57KNUQTI.js → 2P5JZHCE.js} +5 -6
  448. package/esm/__chunks/{IXZMWLUE.js → 2QMN5E6B.js} +2 -2
  449. package/esm/__chunks/{HBGJOTTX.js → 346FK57L.js} +1 -1
  450. package/esm/__chunks/{6QXBPV75.js → 3IEDWLST.js} +1 -1
  451. package/esm/__chunks/{FS2EVEJO.js → 4GO43MST.js} +8 -8
  452. package/esm/__chunks/{GD2VG2KJ.js → 4HD64GHO.js} +1 -1
  453. package/esm/__chunks/{CVFC2LN3.js → 53AZXSRJ.js} +2 -2
  454. package/esm/__chunks/{KK7H3W2B.js → 54DTKZT5.js} +1 -1
  455. package/esm/__chunks/{A6ER4BO6.js → 7GBW5FLS.js} +2 -2
  456. package/esm/__chunks/{SXPADS2D.js → A2OYJMGS.js} +1 -1
  457. package/esm/__chunks/{QUPVK46L.js → BPNXFCFY.js} +2 -2
  458. package/esm/__chunks/{NWCBQ4CV.js → BVNGIDQK.js} +1 -1
  459. package/esm/__chunks/{KOKHD3Z3.js → CLE7NTOY.js} +1 -1
  460. package/esm/__chunks/{BHEJ6NUH.js → CM2MGWJJ.js} +1 -1
  461. package/esm/__chunks/{LZUSNDXA.js → CQMDBRG5.js} +2 -2
  462. package/esm/__chunks/{W2TTCKOE.js → E7J4UKND.js} +1 -1
  463. package/esm/__chunks/{4OZYHFMH.js → EKQEJRUF.js} +0 -5
  464. package/esm/__chunks/{WEU2EOWJ.js → EWG7ZSIX.js} +3 -3
  465. package/esm/__chunks/{DYLO4TTE.js → FMVHAVXA.js} +3 -3
  466. package/esm/__chunks/{6H3EJNCE.js → H5L25YOA.js} +2 -2
  467. package/esm/__chunks/{NKXUN25E.js → H67RUTIW.js} +1 -1
  468. package/esm/__chunks/{7X4DYKYU.js → HKLZHXNQ.js} +1 -1
  469. package/esm/__chunks/{FWQLUQ4T.js → HVBNG5AF.js} +2 -2
  470. package/esm/__chunks/{UP4ONTQS.js → I4Q3C2VT.js} +1 -1
  471. package/esm/__chunks/{VZOR43YE.js → IMEG7JN4.js} +2 -2
  472. package/esm/__chunks/{VDNZBO4W.js → JH4A3V7P.js} +1 -1
  473. package/esm/__chunks/{IIVLUKKG.js → JIZ5C2JK.js} +1 -1
  474. package/esm/__chunks/{6L5IUFNE.js → KSKI4NLV.js} +2 -2
  475. package/esm/__chunks/{QCIQ4F64.js → LEIRFLRL.js} +2 -2
  476. package/esm/__chunks/{57VLL43X.js → LWHPHW7Q.js} +2 -2
  477. package/esm/__chunks/{EENTNM7A.js → MG4P3223.js} +2 -2
  478. package/esm/__chunks/{F6PRXTDU.js → O4GQD6D6.js} +1 -1
  479. package/esm/__chunks/{7D63S66W.js → OYQPK2TA.js} +3 -3
  480. package/esm/__chunks/{4ZEZYKUR.js → PHR7QED4.js} +1 -1
  481. package/esm/__chunks/{H3TG2CZP.js → PUBUTPR6.js} +1 -1
  482. package/esm/__chunks/{XCRWZKAW.js → RIL2SEAH.js} +1 -1
  483. package/esm/__chunks/{SMM5JVLC.js → SFCBA2JZ.js} +1 -1
  484. package/esm/__chunks/{PDVJHECS.js → SNX6RSV7.js} +9 -9
  485. package/esm/__chunks/{5L7XBKAC.js → SS66VZAQ.js} +2 -2
  486. package/esm/__chunks/{FGMA3QUS.js → ST3UVMBD.js} +1 -1
  487. package/esm/__chunks/{DKALGMO6.js → U5OL5Z27.js} +2 -2
  488. package/esm/__chunks/{7R5VX7DV.js → VR7H4JAI.js} +2 -2
  489. package/esm/__chunks/{R2WNOXYG.js → W7TET3D7.js} +3 -3
  490. package/esm/__chunks/{DENCHBDS.js → WVGRWYXJ.js} +4 -4
  491. package/esm/__chunks/{NYD53BDE.js → XJXP7ZSQ.js} +3 -3
  492. package/esm/__chunks/{HDMIVTNE.js → Y6GYTNQ2.js} +1 -1
  493. package/esm/__chunks/{7SHHFY4P.js → ZICNKKFD.js} +2 -2
  494. package/esm/__chunks/{EZTAZGGV.js → ZKJ2WLF7.js} +3 -3
  495. package/esm/__chunks/{6SB7F42L.js → ZSELSBRM.js} +2 -2
  496. package/esm/__chunks/{A3PM2ZVJ.js → ZU7LQC5V.js} +2 -2
  497. package/esm/button/button.d.ts +1 -1
  498. package/esm/button/button.js +3 -3
  499. package/esm/checkbox/checkbox-check.d.ts +17 -9
  500. package/esm/checkbox/checkbox-provider.d.ts +4 -2
  501. package/esm/checkbox/checkbox-provider.js +4 -4
  502. package/esm/checkbox/checkbox-store.d.ts +5 -3
  503. package/esm/checkbox/checkbox-store.js +2 -2
  504. package/esm/checkbox/checkbox.d.ts +14 -9
  505. package/esm/checkbox/checkbox.js +4 -4
  506. package/esm/collection/collection-item.d.ts +31 -10
  507. package/esm/collection/collection-provider.d.ts +2 -1
  508. package/esm/collection/collection-provider.js +2 -2
  509. package/esm/collection/collection-renderer.d.ts +1 -1
  510. package/esm/collection/collection-renderer.js +2 -2
  511. package/esm/collection/collection-store.d.ts +6 -3
  512. package/esm/collection/collection-store.js +2 -2
  513. package/esm/collection/collection.d.ts +4 -3
  514. package/esm/combobox/combobox-cancel.d.ts +3 -2
  515. package/esm/combobox/combobox-cancel.js +3 -3
  516. package/esm/combobox/combobox-disclosure.d.ts +7 -2
  517. package/esm/combobox/combobox-disclosure.js +5 -5
  518. package/esm/combobox/combobox-group-label.d.ts +4 -4
  519. package/esm/combobox/combobox-group.d.ts +7 -3
  520. package/esm/combobox/combobox-item-check.d.ts +9 -16
  521. package/esm/combobox/combobox-item-value.d.ts +13 -8
  522. package/esm/combobox/combobox-item.d.ts +11 -9
  523. package/esm/combobox/combobox-item.js +5 -5
  524. package/esm/combobox/combobox-list.d.ts +1 -4
  525. package/esm/combobox/combobox-list.js +4 -4
  526. package/esm/combobox/combobox-popover.d.ts +2 -3
  527. package/esm/combobox/combobox-popover.js +12 -12
  528. package/esm/combobox/combobox-provider.d.ts +2 -1
  529. package/esm/combobox/combobox-provider.js +7 -7
  530. package/esm/combobox/combobox-row.d.ts +6 -3
  531. package/esm/combobox/combobox-separator.d.ts +4 -3
  532. package/esm/combobox/combobox-store.d.ts +11 -7
  533. package/esm/combobox/combobox-store.js +7 -7
  534. package/esm/combobox/combobox.d.ts +48 -33
  535. package/esm/combobox/combobox.js +9 -7
  536. package/esm/command/command.d.ts +1 -1
  537. package/esm/command/command.js +2 -2
  538. package/esm/composite/composite-container.d.ts +18 -11
  539. package/esm/composite/composite-container.js +3 -3
  540. package/esm/composite/composite-group-label.d.ts +18 -13
  541. package/esm/composite/composite-group.d.ts +20 -12
  542. package/esm/composite/composite-hover.d.ts +19 -8
  543. package/esm/composite/composite-input.d.ts +15 -9
  544. package/esm/composite/composite-input.js +2 -2
  545. package/esm/composite/composite-item.d.ts +49 -9
  546. package/esm/composite/composite-item.js +5 -5
  547. package/esm/composite/composite-overflow-disclosure.js +9 -9
  548. package/esm/composite/composite-overflow-store.js +4 -4
  549. package/esm/composite/composite-overflow.js +11 -11
  550. package/esm/composite/composite-provider.d.ts +2 -1
  551. package/esm/composite/composite-provider.js +3 -3
  552. package/esm/composite/composite-renderer.d.ts +1 -1
  553. package/esm/composite/composite-renderer.js +3 -3
  554. package/esm/composite/composite-row.d.ts +26 -19
  555. package/esm/composite/composite-separator.d.ts +23 -10
  556. package/esm/composite/composite-store.d.ts +9 -6
  557. package/esm/composite/composite-store.js +3 -3
  558. package/esm/composite/composite-typeahead.d.ts +20 -8
  559. package/esm/composite/composite-typeahead.js +2 -2
  560. package/esm/composite/composite.d.ts +65 -10
  561. package/esm/composite/composite.js +3 -3
  562. package/esm/composite/utils.js +1 -1
  563. package/esm/dialog/dialog-backdrop.js +4 -4
  564. package/esm/dialog/dialog-disclosure.d.ts +2 -1
  565. package/esm/dialog/dialog-disclosure.js +5 -5
  566. package/esm/dialog/dialog-dismiss.d.ts +2 -1
  567. package/esm/dialog/dialog-dismiss.js +4 -4
  568. package/esm/dialog/dialog-provider.d.ts +2 -1
  569. package/esm/dialog/dialog-provider.js +3 -3
  570. package/esm/dialog/dialog-store.d.ts +3 -1
  571. package/esm/dialog/dialog-store.js +3 -3
  572. package/esm/dialog/dialog.d.ts +52 -20
  573. package/esm/dialog/dialog.js +10 -10
  574. package/esm/dialog/utils/disable-tree.js +2 -2
  575. package/esm/dialog/utils/use-hide-on-interact-outside.js +1 -1
  576. package/esm/disclosure/disclosure-content.d.ts +6 -5
  577. package/esm/disclosure/disclosure-content.js +2 -2
  578. package/esm/disclosure/disclosure-provider.d.ts +2 -1
  579. package/esm/disclosure/disclosure-provider.js +2 -2
  580. package/esm/disclosure/disclosure-store.d.ts +9 -7
  581. package/esm/disclosure/disclosure-store.js +2 -2
  582. package/esm/disclosure/disclosure.d.ts +3 -2
  583. package/esm/disclosure/disclosure.js +4 -4
  584. package/esm/focus-trap/focus-trap-region.d.ts +4 -2
  585. package/esm/focusable/focusable-container.d.ts +7 -5
  586. package/esm/focusable/focusable.d.ts +12 -2
  587. package/esm/focusable/focusable.js +1 -1
  588. package/esm/form/form-checkbox.d.ts +6 -4
  589. package/esm/form/form-checkbox.js +10 -10
  590. package/esm/form/form-control.d.ts +93 -0
  591. package/esm/form/form-control.js +16 -0
  592. package/esm/form/form-description.d.ts +14 -3
  593. package/esm/form/form-error.d.ts +11 -4
  594. package/esm/form/form-field.d.ts +16 -30
  595. package/esm/form/form-field.js +19 -4
  596. package/esm/form/form-group-label.d.ts +6 -4
  597. package/esm/form/form-group.d.ts +6 -2
  598. package/esm/form/form-input.d.ts +7 -6
  599. package/esm/form/form-input.js +4 -4
  600. package/esm/form/form-label.d.ts +18 -7
  601. package/esm/form/form-provider.d.ts +2 -1
  602. package/esm/form/form-provider.js +3 -3
  603. package/esm/form/form-push.d.ts +17 -3
  604. package/esm/form/form-push.js +3 -3
  605. package/esm/form/form-radio-group.d.ts +7 -2
  606. package/esm/form/form-radio.d.ts +8 -4
  607. package/esm/form/form-radio.js +9 -9
  608. package/esm/form/form-remove.d.ts +17 -2
  609. package/esm/form/form-remove.js +3 -3
  610. package/esm/form/form-reset.d.ts +5 -2
  611. package/esm/form/form-reset.js +3 -3
  612. package/esm/form/form-store.d.ts +31 -14
  613. package/esm/form/form-store.js +3 -3
  614. package/esm/form/form-submit.d.ts +8 -2
  615. package/esm/form/form-submit.js +3 -3
  616. package/esm/form/form.d.ts +37 -11
  617. package/esm/group/group-label.d.ts +3 -2
  618. package/esm/group/group.d.ts +3 -1
  619. package/esm/heading/heading-level.d.ts +4 -2
  620. package/esm/heading/heading.d.ts +4 -3
  621. package/esm/hovercard/hovercard-anchor.d.ts +5 -2
  622. package/esm/hovercard/hovercard-anchor.js +2 -2
  623. package/esm/hovercard/hovercard-arrow.d.ts +4 -2
  624. package/esm/hovercard/hovercard-description.d.ts +2 -2
  625. package/esm/hovercard/hovercard-disclosure.d.ts +1 -1
  626. package/esm/hovercard/hovercard-disclosure.js +5 -5
  627. package/esm/hovercard/hovercard-dismiss.d.ts +3 -2
  628. package/esm/hovercard/hovercard-dismiss.js +6 -6
  629. package/esm/hovercard/hovercard-heading.d.ts +2 -2
  630. package/esm/hovercard/hovercard-provider.d.ts +2 -1
  631. package/esm/hovercard/hovercard-provider.js +5 -5
  632. package/esm/hovercard/hovercard-store.d.ts +2 -1
  633. package/esm/hovercard/hovercard-store.js +5 -5
  634. package/esm/hovercard/hovercard.d.ts +20 -8
  635. package/esm/hovercard/hovercard.js +12 -12
  636. package/esm/menu/menu-arrow.d.ts +4 -2
  637. package/esm/menu/menu-bar-provider.js +5 -5
  638. package/esm/menu/menu-bar-store.js +4 -4
  639. package/esm/menu/menu-bar.d.ts +1 -2
  640. package/esm/menu/menu-bar.js +8 -8
  641. package/esm/menu/menu-button-arrow.d.ts +9 -4
  642. package/esm/menu/menu-button.d.ts +8 -7
  643. package/esm/menu/menu-button.js +10 -10
  644. package/esm/menu/menu-description.d.ts +2 -2
  645. package/esm/menu/menu-dismiss.d.ts +3 -2
  646. package/esm/menu/menu-dismiss.js +6 -6
  647. package/esm/menu/menu-group-label.d.ts +4 -4
  648. package/esm/menu/menu-group.d.ts +5 -2
  649. package/esm/menu/menu-heading.d.ts +3 -2
  650. package/esm/menu/menu-item-check.d.ts +10 -18
  651. package/esm/menu/menu-item-checkbox.d.ts +38 -6
  652. package/esm/menu/menu-item-checkbox.js +10 -10
  653. package/esm/menu/menu-item-radio.d.ts +21 -9
  654. package/esm/menu/menu-item-radio.js +7 -7
  655. package/esm/menu/menu-item.d.ts +10 -11
  656. package/esm/menu/menu-item.js +6 -6
  657. package/esm/menu/menu-list.d.ts +7 -2
  658. package/esm/menu/menu-list.js +7 -7
  659. package/esm/menu/menu-provider.d.ts +2 -1
  660. package/esm/menu/menu-provider.js +8 -8
  661. package/esm/menu/menu-separator.d.ts +5 -2
  662. package/esm/menu/menu-store.d.ts +18 -7
  663. package/esm/menu/menu-store.js +8 -8
  664. package/esm/menu/menu.d.ts +8 -2
  665. package/esm/menu/menu.js +16 -16
  666. package/esm/menubar/menubar-provider.d.ts +2 -1
  667. package/esm/menubar/menubar-provider.js +5 -5
  668. package/esm/menubar/menubar-store.d.ts +3 -1
  669. package/esm/menubar/menubar-store.js +4 -4
  670. package/esm/menubar/menubar.d.ts +3 -2
  671. package/esm/menubar/menubar.js +8 -8
  672. package/esm/popover/popover-anchor.d.ts +4 -3
  673. package/esm/popover/popover-arrow.d.ts +6 -2
  674. package/esm/popover/popover-description.d.ts +1 -1
  675. package/esm/popover/popover-disclosure-arrow.d.ts +6 -4
  676. package/esm/popover/popover-disclosure.d.ts +3 -2
  677. package/esm/popover/popover-disclosure.js +6 -6
  678. package/esm/popover/popover-dismiss.d.ts +1 -1
  679. package/esm/popover/popover-dismiss.js +5 -5
  680. package/esm/popover/popover-heading.d.ts +1 -1
  681. package/esm/popover/popover-provider.d.ts +2 -1
  682. package/esm/popover/popover-provider.js +4 -4
  683. package/esm/popover/popover-store.d.ts +2 -1
  684. package/esm/popover/popover-store.js +4 -4
  685. package/esm/popover/popover.d.ts +8 -3
  686. package/esm/popover/popover.js +11 -11
  687. package/esm/portal/portal.d.ts +18 -1
  688. package/esm/radio/radio-group.d.ts +8 -6
  689. package/esm/radio/radio-group.js +3 -3
  690. package/esm/radio/radio-provider.d.ts +2 -1
  691. package/esm/radio/radio-provider.js +4 -4
  692. package/esm/radio/radio-store.d.ts +6 -2
  693. package/esm/radio/radio-store.js +4 -4
  694. package/esm/radio/radio.d.ts +21 -13
  695. package/esm/radio/radio.js +6 -6
  696. package/esm/role/role.d.ts +3 -3
  697. package/esm/select/select-group-label.d.ts +2 -2
  698. package/esm/select/select-group.d.ts +4 -1
  699. package/esm/select/select-item-check.d.ts +9 -15
  700. package/esm/select/select-item.d.ts +1 -5
  701. package/esm/select/select-item.js +5 -5
  702. package/esm/select/select-list.d.ts +7 -4
  703. package/esm/select/select-list.js +7 -7
  704. package/esm/select/select-popover.js +15 -15
  705. package/esm/select/select-provider.d.ts +2 -1
  706. package/esm/select/select-provider.js +7 -7
  707. package/esm/select/select-renderer.d.ts +1 -1
  708. package/esm/select/select-renderer.js +3 -3
  709. package/esm/select/select-row.d.ts +4 -1
  710. package/esm/select/select-separator.d.ts +2 -1
  711. package/esm/select/select-store.d.ts +17 -10
  712. package/esm/select/select-store.js +7 -7
  713. package/esm/select/select.d.ts +25 -15
  714. package/esm/select/select.js +17 -15
  715. package/esm/tab/tab-list.d.ts +2 -1
  716. package/esm/tab/tab-list.js +3 -3
  717. package/esm/tab/tab-panel.d.ts +20 -3
  718. package/esm/tab/tab-panel.js +4 -4
  719. package/esm/tab/tab-provider.d.ts +1 -1
  720. package/esm/tab/tab-provider.js +4 -4
  721. package/esm/tab/tab-store.d.ts +9 -3
  722. package/esm/tab/tab-store.js +4 -4
  723. package/esm/tab/tab.d.ts +2 -2
  724. package/esm/tab/tab.js +5 -5
  725. package/esm/toolbar/toolbar-container.d.ts +1 -1
  726. package/esm/toolbar/toolbar-container.js +7 -7
  727. package/esm/toolbar/toolbar-input.d.ts +2 -1
  728. package/esm/toolbar/toolbar-input.js +7 -7
  729. package/esm/toolbar/toolbar-item.d.ts +2 -1
  730. package/esm/toolbar/toolbar-item.js +6 -6
  731. package/esm/toolbar/toolbar-provider.d.ts +2 -1
  732. package/esm/toolbar/toolbar-provider.js +4 -4
  733. package/esm/toolbar/toolbar-separator.d.ts +2 -1
  734. package/esm/toolbar/toolbar-store.d.ts +3 -1
  735. package/esm/toolbar/toolbar-store.js +4 -4
  736. package/esm/toolbar/toolbar.js +7 -7
  737. package/esm/tooltip/tooltip-anchor.d.ts +3 -3
  738. package/esm/tooltip/tooltip-anchor.js +2 -2
  739. package/esm/tooltip/tooltip-arrow.d.ts +1 -1
  740. package/esm/tooltip/tooltip-provider.d.ts +2 -1
  741. package/esm/tooltip/tooltip-provider.js +6 -6
  742. package/esm/tooltip/tooltip-store.d.ts +3 -1
  743. package/esm/tooltip/tooltip-store.js +6 -6
  744. package/esm/tooltip/tooltip.d.ts +3 -1
  745. package/esm/tooltip/tooltip.js +12 -12
  746. package/esm/utils/store.js +1 -1
  747. package/form/form-control/package.json +8 -0
  748. package/package.json +9 -2
  749. package/cjs/__chunks/{NKR65BKC.cjs → KSPMHEYZ.cjs} +3 -3
  750. package/esm/__chunks/{CLF4PQ7T.js → TQYOGOE2.js} +3 -3
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ComboboxList,
4
4
  useComboboxList
5
- } from "../__chunks/DKALGMO6.js";
5
+ } from "../__chunks/U5OL5Z27.js";
6
6
  import "../__chunks/W76OTZCC.js";
7
7
  import "../__chunks/IB7YUKH5.js";
8
8
  import "../__chunks/4UUKJZ4V.js";
9
- import "../__chunks/KOKHD3Z3.js";
9
+ import "../__chunks/CLE7NTOY.js";
10
10
  import "../__chunks/7H5KSHHF.js";
11
11
  import "../__chunks/G6BJYYBK.js";
12
12
  import "../__chunks/OAYFXAQ2.js";
13
- import "../__chunks/KK7H3W2B.js";
13
+ import "../__chunks/54DTKZT5.js";
14
14
  import "../__chunks/SHA3WOPI.js";
15
15
  import "../__chunks/3ORBWXWF.js";
16
- import "../__chunks/4OZYHFMH.js";
16
+ import "../__chunks/EKQEJRUF.js";
17
17
  import "../__chunks/6O5OEQGF.js";
18
18
  import "../__chunks/XM66DUTO.js";
19
19
  import "../__chunks/4R3V3JGP.js";
@@ -19,11 +19,10 @@ export declare const useComboboxPopover: import("../utils/types.js").Hook<Combob
19
19
  /**
20
20
  * Renders a combobox popover. The `role` prop is set to `listbox` by default,
21
21
  * but can be overriden by any other valid combobox popup role (`listbox`,
22
- * `menu`, `tree`, `grid` or `dialog`). The `aria-labelledby` prop is set to the
23
- * combobox input element's `id` by default.
22
+ * `menu`, `tree`, `grid` or `dialog`).
24
23
  * @see https://ariakit.org/components/combobox
25
24
  * @example
26
- * ```jsx
25
+ * ```jsx {3-7}
27
26
  * <ComboboxProvider>
28
27
  * <Combobox />
29
28
  * <ComboboxPopover>
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useComboboxList
4
- } from "../__chunks/DKALGMO6.js";
4
+ } from "../__chunks/U5OL5Z27.js";
5
5
  import {
6
6
  useComboboxProviderContext
7
7
  } from "../__chunks/W76OTZCC.js";
@@ -9,12 +9,12 @@ import "../__chunks/IB7YUKH5.js";
9
9
  import "../__chunks/4UUKJZ4V.js";
10
10
  import {
11
11
  usePopover
12
- } from "../__chunks/SXPADS2D.js";
12
+ } from "../__chunks/A2OYJMGS.js";
13
13
  import {
14
14
  createDialogComponent
15
- } from "../__chunks/PDVJHECS.js";
16
- import "../__chunks/57VLL43X.js";
17
- import "../__chunks/CLF4PQ7T.js";
15
+ } from "../__chunks/SNX6RSV7.js";
16
+ import "../__chunks/LWHPHW7Q.js";
17
+ import "../__chunks/TQYOGOE2.js";
18
18
  import "../__chunks/BULCTPRV.js";
19
19
  import "../__chunks/6BJGLK2C.js";
20
20
  import "../__chunks/CS347UVZ.js";
@@ -22,11 +22,11 @@ import "../__chunks/IUB2BTEK.js";
22
22
  import "../__chunks/XHJGS6Z5.js";
23
23
  import "../__chunks/TL67WVI6.js";
24
24
  import "../__chunks/MKDDWKFK.js";
25
+ import "../__chunks/72E5EPFF.js";
25
26
  import "../__chunks/OOBDFMJL.js";
27
+ import "../__chunks/X6WIMZJE.js";
26
28
  import "../__chunks/677M2CI3.js";
27
29
  import "../__chunks/6GXEOXGT.js";
28
- import "../__chunks/72E5EPFF.js";
29
- import "../__chunks/X6WIMZJE.js";
30
30
  import "../__chunks/HPP6CWMY.js";
31
31
  import "../__chunks/UYRJLDVS.js";
32
32
  import "../__chunks/JPXNJYSO.js";
@@ -34,11 +34,11 @@ import "../__chunks/CHKJ74UC.js";
34
34
  import "../__chunks/7452U3HH.js";
35
35
  import "../__chunks/XPF5GU3Q.js";
36
36
  import "../__chunks/FSFPRQFR.js";
37
- import "../__chunks/KOKHD3Z3.js";
37
+ import "../__chunks/CLE7NTOY.js";
38
38
  import "../__chunks/7H5KSHHF.js";
39
39
  import "../__chunks/G6BJYYBK.js";
40
40
  import "../__chunks/OAYFXAQ2.js";
41
- import "../__chunks/KK7H3W2B.js";
41
+ import "../__chunks/54DTKZT5.js";
42
42
  import "../__chunks/SHA3WOPI.js";
43
43
  import "../__chunks/BG6HZDS7.js";
44
44
  import {
@@ -46,9 +46,9 @@ import {
46
46
  createElement,
47
47
  createHook
48
48
  } from "../__chunks/3ORBWXWF.js";
49
- import "../__chunks/6SB7F42L.js";
50
- import "../__chunks/SMM5JVLC.js";
51
- import "../__chunks/4OZYHFMH.js";
49
+ import "../__chunks/ZSELSBRM.js";
50
+ import "../__chunks/SFCBA2JZ.js";
51
+ import "../__chunks/EKQEJRUF.js";
52
52
  import "../__chunks/6O5OEQGF.js";
53
53
  import "../__chunks/XM66DUTO.js";
54
54
  import {
@@ -3,7 +3,8 @@ import type { PickRequired } from "@ariakit/core/utils/types";
3
3
  import type { ComboboxStoreProps, ComboboxStoreSelectedValue } from "./combobox-store.js";
4
4
  type Value = ComboboxStoreSelectedValue;
5
5
  /**
6
- * Provides a combobox store to Combobox components.
6
+ * Provides a combobox store that controls the state of
7
+ * [Combobox](https://ariakit.org/components/combobox) components.
7
8
  * @see https://ariakit.org/components/combobox
8
9
  * @example
9
10
  * ```jsx
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import {
3
3
  useComboboxStore
4
- } from "../__chunks/EZTAZGGV.js";
4
+ } from "../__chunks/ZKJ2WLF7.js";
5
5
  import {
6
6
  ComboboxContextProvider
7
7
  } from "../__chunks/W76OTZCC.js";
8
- import "../__chunks/A6ER4BO6.js";
9
- import "../__chunks/HDMIVTNE.js";
8
+ import "../__chunks/7GBW5FLS.js";
9
+ import "../__chunks/Y6GYTNQ2.js";
10
10
  import "../__chunks/IB7YUKH5.js";
11
11
  import "../__chunks/4UUKJZ4V.js";
12
12
  import "../__chunks/7H5KSHHF.js";
13
13
  import "../__chunks/G6BJYYBK.js";
14
14
  import "../__chunks/OAYFXAQ2.js";
15
15
  import "../__chunks/3ORBWXWF.js";
16
- import "../__chunks/EENTNM7A.js";
17
- import "../__chunks/6SB7F42L.js";
18
- import "../__chunks/SMM5JVLC.js";
19
- import "../__chunks/4OZYHFMH.js";
16
+ import "../__chunks/MG4P3223.js";
17
+ import "../__chunks/ZSELSBRM.js";
18
+ import "../__chunks/SFCBA2JZ.js";
19
+ import "../__chunks/EKQEJRUF.js";
20
20
  import "../__chunks/6O5OEQGF.js";
21
21
  import "../__chunks/XM66DUTO.js";
22
22
  import "../__chunks/4R3V3JGP.js";
@@ -19,10 +19,13 @@ import type { ComboboxStore } from "./combobox-store.js";
19
19
  */
20
20
  export declare const useComboboxRow: import("../utils/types.js").Hook<ComboboxRowOptions<"div">>;
21
21
  /**
22
- * Renders a combobox row.
22
+ * Renders a combobox row that allows two-dimensional arrow key navigation.
23
+ * [`ComboboxItem`](https://ariakit.org/reference/combobox-item) elements
24
+ * wrapped within this component will automatically receive a
25
+ * [`rowId`](https://ariakit.org/reference/combobox-item#rowid) prop.
23
26
  * @see https://ariakit.org/components/combobox
24
27
  * @example
25
- * ```jsx
28
+ * ```jsx {4-13}
26
29
  * <ComboboxProvider>
27
30
  * <Combobox />
28
31
  * <ComboboxPopover>
@@ -45,7 +48,7 @@ export interface ComboboxRowOptions<T extends As = "div"> extends CompositeRowOp
45
48
  /**
46
49
  * Object returned by the
47
50
  * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
48
- * hook. If not provided, the parent
51
+ * hook. If not provided, the closest
49
52
  * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
50
53
  * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
51
54
  * components' context will be used.
@@ -18,10 +18,11 @@ import type { ComboboxStore } from "./combobox-store.js";
18
18
  */
19
19
  export declare const useComboboxSeparator: import("../utils/types.js").Hook<ComboboxSeparatorOptions<"hr">>;
20
20
  /**
21
- * Renders a separator element for combobox items
21
+ * Renders a divider between
22
+ * [`ComboboxItem`](https://ariakit.org/reference/combobox-item) elements.
22
23
  * @see https://ariakit.org/components/combobox
23
24
  * @example
24
- * ```jsx
25
+ * ```jsx {5}
25
26
  * <ComboboxProvider>
26
27
  * <Combobox />
27
28
  * <ComboboxPopover>
@@ -38,7 +39,7 @@ export interface ComboboxSeparatorOptions<T extends As = "hr"> extends Composite
38
39
  /**
39
40
  * Object returned by the
40
41
  * [`useComboboxStore`](https://ariakit.org/reference/use-combobox-store)
41
- * hook. If not provided, the parent
42
+ * hook. If not provided, the closest
42
43
  * [`ComboboxList`](https://ariakit.org/reference/combobox-list) or
43
44
  * [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
44
45
  * components' context will be used.
@@ -5,17 +5,21 @@ import type { PopoverStoreFunctions, PopoverStoreOptions, PopoverStoreState } fr
5
5
  import type { Store } from "../utils/store.js";
6
6
  export declare function useComboboxStoreProps<T extends Core.ComboboxStore>(store: T, update: () => void, props: ComboboxStoreProps): T;
7
7
  /**
8
- * Creates a combobox store.
8
+ * Creates a combobox store to control the state of
9
+ * [Combobox](https://ariakit.org/components/combobox) components.
9
10
  * @see https://ariakit.org/components/combobox
10
11
  * @example
11
12
  * ```jsx
12
13
  * const combobox = useComboboxStore();
13
- * <Combobox store={combobox} />
14
- * <ComboboxPopover store={combobox}>
15
- * <ComboboxItem value="Apple" />
16
- * <ComboboxItem value="Banana" />
17
- * <ComboboxItem value="Orange" />
18
- * </ComboboxPopover>
14
+ *
15
+ * <ComboboxProvider store={combobox}>
16
+ * <Combobox />
17
+ * <ComboboxPopover>
18
+ * <ComboboxItem value="Apple" />
19
+ * <ComboboxItem value="Banana" />
20
+ * <ComboboxItem value="Orange" />
21
+ * </ComboboxPopover>
22
+ * </ComboboxProvider>
19
23
  * ```
20
24
  */
21
25
  export declare function useComboboxStore<T extends ComboboxStoreSelectedValue = ComboboxStoreSelectedValue>(props: PickRequired<ComboboxStoreProps<T>, "selectedValue" | "defaultSelectedValue">): ComboboxStore<T>;
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  useComboboxStore,
4
4
  useComboboxStoreProps
5
- } from "../__chunks/EZTAZGGV.js";
6
- import "../__chunks/A6ER4BO6.js";
7
- import "../__chunks/HDMIVTNE.js";
8
- import "../__chunks/EENTNM7A.js";
9
- import "../__chunks/6SB7F42L.js";
10
- import "../__chunks/SMM5JVLC.js";
11
- import "../__chunks/4OZYHFMH.js";
5
+ } from "../__chunks/ZKJ2WLF7.js";
6
+ import "../__chunks/7GBW5FLS.js";
7
+ import "../__chunks/Y6GYTNQ2.js";
8
+ import "../__chunks/MG4P3223.js";
9
+ import "../__chunks/ZSELSBRM.js";
10
+ import "../__chunks/SFCBA2JZ.js";
11
+ import "../__chunks/EKQEJRUF.js";
12
12
  import "../__chunks/6O5OEQGF.js";
13
13
  import "../__chunks/XM66DUTO.js";
14
14
  import "../__chunks/4R3V3JGP.js";
@@ -21,10 +21,10 @@ import type { ComboboxStore, ComboboxStoreState } from "./combobox-store.js";
21
21
  */
22
22
  export declare const useCombobox: import("../utils/types.js").Hook<ComboboxOptions<"input">>;
23
23
  /**
24
- * Renders a combobox input.
24
+ * Renders a combobox input element that can be used to filter a list of items.
25
25
  * @see https://ariakit.org/components/combobox
26
26
  * @example
27
- * ```jsx
27
+ * ```jsx {2}
28
28
  * <ComboboxProvider>
29
29
  * <Combobox />
30
30
  * <ComboboxPopover>
@@ -46,9 +46,9 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
46
46
  */
47
47
  store?: ComboboxStore;
48
48
  /**
49
- * Whether the first item will be automatically selected when the combobox
50
- * input value changes. When it's set to `true`, the exact behavior will
51
- * depend on the value of
49
+ * Whether the first enabled item will be automatically selected when the
50
+ * combobox input value changes. When it's set to `true`, the exact behavior
51
+ * will depend on the value of the
52
52
  * [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete) prop:
53
53
  * - If [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete)
54
54
  * is `both` or `inline`, the first item is automatically focused when the
@@ -58,6 +58,10 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
58
58
  * is `list` or `none`, the first item is automatically focused when the
59
59
  * popup opens, but the input value doesn't change.
60
60
  *
61
+ * To change which item is auto selected, use the
62
+ * [`getAutoSelectId`](https://ariakit.org/reference/combobox#getautoselectid)
63
+ * prop.
64
+ *
61
65
  * Live examples:
62
66
  * - [Combobox with integrated
63
67
  * filter](https://ariakit.org/examples/combobox-filtering-integrated)
@@ -78,6 +82,9 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
78
82
  *
79
83
  * By default, the first enabled item is auto selected. This function is handy
80
84
  * if you prefer a different item to be auto selected.
85
+ *
86
+ * Live examples:
87
+ * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
81
88
  * @example
82
89
  * ```jsx
83
90
  * <Combobox
@@ -103,22 +110,22 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
103
110
  * This prop is based on the standard
104
111
  * [`aria-autocomplete`](https://w3c.github.io/aria/#aria-autocomplete)
105
112
  * attribute, accepting the same values:
106
- * - `both`: indicates that the items will be filtered based on
113
+ * - `list` (default): indicates that the items will be dynamically rendered
114
+ * based on [`value`](https://ariakit.org/reference/combobox-provider#value)
115
+ * and the input value will _not_ change based on the active item. The
116
+ * filtering logic must be implemented by the consumer of this component.
117
+ * - `inline`: indicates that the items are static, that is, they won't be
118
+ * filtered, but the input value will temporarily change based on the active
119
+ * item. Ariakit will automatically provide the inline autocompletion
120
+ * behavior.
121
+ * - `both`: indicates that the items will be dynamically rendered based on
107
122
  * [`value`](https://ariakit.org/reference/combobox-provider#value) and the
108
123
  * input value will temporarily change based on the active item. The
109
124
  * filtering logic must be implemented by the consumer of this component,
110
125
  * whereas Ariakit will automatically provide the inline autocompletion
111
126
  * behavior.
112
- * - `list` (default): indicates that the items will be filtered based on
113
- * [`value`](https://ariakit.org/reference/combobox-provider#value) and the
114
- * input value will NOT change based on the active item. The filtering logic
115
- * must be implemented by the consumer of this component.
116
- * - `inline`: indicates that the items are static, that is, they won't be
117
- * filtered, but the input value will temporarily change based on the active
118
- * item. Ariakit will automatically provide the inline autocompletion
119
- * behavior
120
- * - `none`: the items are static and the input value will NOT change based on
121
- * the active item.
127
+ * - `none`: the items are static and the input value will _not_ change based
128
+ * on the active item.
122
129
  *
123
130
  * Live examples:
124
131
  * - [ComboboxGroup](https://ariakit.org/examples/combobox-group)
@@ -126,8 +133,9 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
126
133
  */
127
134
  autoComplete?: StringWithValue<Required<AriaAttributes>["aria-autocomplete"]>;
128
135
  /**
129
- * Whether the combobox list/popover should be shown when the input value is
130
- * changed.
136
+ * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
137
+ * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
138
+ * components should be shown when the input value changes.
131
139
  *
132
140
  * Live examples:
133
141
  * - [Textarea with inline
@@ -139,17 +147,6 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
139
147
  * ```
140
148
  */
141
149
  showOnChange?: BooleanOrCallback<ChangeEvent<HTMLElement>>;
142
- /**
143
- * Whether the combobox store value will be updated when the input value
144
- * changes. This is useful if you want to customize how the store value is
145
- * updated based on the input value.
146
- *
147
- * Live examples:
148
- * - [Textarea with inline
149
- * Combobox](https://ariakit.org/examples/combobox-textarea)
150
- * @default true
151
- */
152
- setValueOnChange?: BooleanOrCallback<ChangeEvent<HTMLElement>>;
153
150
  /**
154
151
  * Whether the [`ComboboxList`](https://ariakit.org/reference/combobox-list)
155
152
  * or [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover)
@@ -182,11 +179,29 @@ export interface ComboboxOptions<T extends As = "input"> extends CompositeOption
182
179
  */
183
180
  showOnKeyDown?: BooleanOrCallback<ReactKeyboardEvent<HTMLElement>>;
184
181
  /**
185
- * Whether the combobox store value will be updated when the combobox input
186
- * element gets clicked. This usually only applies when `autoComplete` is
182
+ * Whether the combobox
183
+ * [`value`](https://ariakit.org/reference/combobox-provider#value) state
184
+ * should be updated when the input value changes. This is useful if you want
185
+ * to customize how the store
186
+ * [`value`](https://ariakit.org/reference/combobox-provider#value) is updated
187
+ * based on the input element's value.
188
+ *
189
+ * Live examples:
190
+ * - [Textarea with inline
191
+ * Combobox](https://ariakit.org/examples/combobox-textarea)
192
+ * @default true
193
+ */
194
+ setValueOnChange?: BooleanOrCallback<ChangeEvent<HTMLElement>>;
195
+ /**
196
+ * Whether the combobox
197
+ * [`value`](https://ariakit.org/reference/combobox-provider#value) state
198
+ * should be updated when the combobox input element gets clicked. This
199
+ * usually only applies when
200
+ * [`autoComplete`](https://ariakit.org/reference/combobox#autocomplete) is
187
201
  * `both` or `inline`, because the input value will temporarily change based
188
- * on the active item and the store value will not be updated until the user
189
- * confirms the selection.
202
+ * on the active item and the store
203
+ * [`value`](https://ariakit.org/reference/combobox-provider#value) will not
204
+ * be updated until the user confirms the selection.
190
205
  * @default true
191
206
  */
192
207
  setValueOnClick?: BooleanOrCallback<MouseEvent<HTMLElement>>;
@@ -7,14 +7,14 @@ import {
7
7
  } from "../__chunks/W76OTZCC.js";
8
8
  import {
9
9
  useComposite
10
- } from "../__chunks/57KNUQTI.js";
11
- import "../__chunks/6QXBPV75.js";
10
+ } from "../__chunks/2P5JZHCE.js";
11
+ import "../__chunks/3IEDWLST.js";
12
12
  import "../__chunks/IB7YUKH5.js";
13
13
  import "../__chunks/4UUKJZ4V.js";
14
14
  import "../__chunks/7H5KSHHF.js";
15
15
  import "../__chunks/G6BJYYBK.js";
16
16
  import "../__chunks/OAYFXAQ2.js";
17
- import "../__chunks/KK7H3W2B.js";
17
+ import "../__chunks/54DTKZT5.js";
18
18
  import "../__chunks/SHA3WOPI.js";
19
19
  import {
20
20
  createComponent,
@@ -240,11 +240,10 @@ var useCombobox = createHook(
240
240
  const resetValueOnSelect = store.useState("resetValueOnSelect");
241
241
  useUpdateEffect(() => {
242
242
  var _a2;
243
+ const canAutoSelect = canAutoSelectRef.current;
243
244
  if (!store)
244
245
  return;
245
- if (!autoSelect && !resetValueOnSelect)
246
- return;
247
- if (!canAutoSelectRef.current)
246
+ if ((!autoSelect || !canAutoSelect) && !resetValueOnSelect)
248
247
  return;
249
248
  const { baseElement, contentElement: contentElement2, activeId } = store.getState();
250
249
  if (baseElement && !hasFocus(baseElement))
@@ -254,7 +253,7 @@ var useCombobox = createHook(
254
253
  observer.observe(contentElement2, { attributeFilter: ["data-placing"] });
255
254
  return () => observer.disconnect();
256
255
  }
257
- if (autoSelect) {
256
+ if (autoSelect && canAutoSelect) {
258
257
  const userAutoSelectId = getAutoSelectIdProp(items);
259
258
  const autoSelectId = userAutoSelectId !== void 0 ? userAutoSelectId : store.first();
260
259
  autoSelectIdRef.current = autoSelectId;
@@ -371,6 +370,9 @@ var useCombobox = createHook(
371
370
  const onKeyDown = useEvent(
372
371
  (event) => {
373
372
  onKeyDownProp == null ? void 0 : onKeyDownProp(event);
373
+ if (!event.repeat) {
374
+ canAutoSelectRef.current = false;
375
+ }
374
376
  if (event.defaultPrevented)
375
377
  return;
376
378
  if (event.ctrlKey)
@@ -26,7 +26,7 @@ export declare const useCommand: import("../utils/types.js").Hook<CommandOptions
26
26
  * @see https://ariakit.org/components/command
27
27
  * @example
28
28
  * ```jsx
29
- * <Command render={<div />}>Accessible button</Command>
29
+ * <Command>Button</Command>
30
30
  * ```
31
31
  */
32
32
  export declare const Command: import("../utils/types.js").Component<CommandOptions<"button">>;
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  Command,
4
4
  useCommand
5
- } from "../__chunks/NWCBQ4CV.js";
6
- import "../__chunks/KK7H3W2B.js";
5
+ } from "../__chunks/BVNGIDQK.js";
6
+ import "../__chunks/54DTKZT5.js";
7
7
  import "../__chunks/SHA3WOPI.js";
8
8
  import "../__chunks/3ORBWXWF.js";
9
9
  import "../__chunks/6O5OEQGF.js";
@@ -20,24 +20,31 @@ import type { CompositeStore } from "./composite-store.js";
20
20
  export declare const useCompositeContainer: import("../utils/types.js").Hook<CompositeContainerOptions<"div">>;
21
21
  /**
22
22
  * Renders a container for interactive widgets inside composite items. This
23
- * should be used in conjunction with the `CompositeItem` component or a
24
- * component that uses `CompositeItem` underneath.
23
+ * should be used in conjunction with the
24
+ * [`CompositeItem`](https://ariakit.org/reference/composite-item) component or
25
+ * a component that uses
26
+ * [`CompositeItem`](https://ariakit.org/reference/composite-item) underneath.
25
27
  * @see https://ariakit.org/components/composite
26
28
  * @example
27
- * ```jsx
28
- * const composite = useCompositeStore();
29
- * <Composite store={composite}>
30
- * <CompositeItem render={<CompositeContainer />}>
31
- * <input type="text" />
32
- * </CompositeItem>
33
- * </Composite>
29
+ * ```jsx {3-5}
30
+ * <CompositeProvider>
31
+ * <Composite>
32
+ * <CompositeItem render={<CompositeContainer />}>
33
+ * <input type="text" />
34
+ * </CompositeItem>
35
+ * </Composite>
36
+ * </CompositeProvider>
34
37
  * ```
35
38
  */
36
39
  export declare const CompositeContainer: import("../utils/types.js").Component<CompositeContainerOptions<"div">>;
37
40
  export interface CompositeContainerOptions<T extends As = "div"> extends Options<T> {
38
41
  /**
39
- * Object returned by the `useCompositeStore` hook. If not provided, the
40
- * parent `Composite` component's context will be used.
42
+ * Object returned by the
43
+ * [`useCompositeStore`](https://ariakit.org/reference/use-composite-store)
44
+ * hook. If not provided, the closest
45
+ * [`Composite`](https://ariakit.org/reference/composite) or
46
+ * [`CompositeProvider`](https://ariakit.org/reference/composite-provider)
47
+ * components' context will be used.
41
48
  */
42
49
  store?: CompositeStore;
43
50
  }
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  CompositeContainer,
4
4
  useCompositeContainer
5
- } from "../__chunks/VZOR43YE.js";
6
- import "../__chunks/6QXBPV75.js";
5
+ } from "../__chunks/IMEG7JN4.js";
6
+ import "../__chunks/3IEDWLST.js";
7
7
  import "../__chunks/IB7YUKH5.js";
8
8
  import "../__chunks/4UUKJZ4V.js";
9
9
  import "../__chunks/3ORBWXWF.js";
10
- import "../__chunks/4OZYHFMH.js";
10
+ import "../__chunks/EKQEJRUF.js";
11
11
  import "../__chunks/6O5OEQGF.js";
12
12
  import "../__chunks/XM66DUTO.js";
13
13
  import "../__chunks/4R3V3JGP.js";
@@ -16,26 +16,31 @@ import type { CompositeStore } from "./composite-store.js";
16
16
  export declare const useCompositeGroupLabel: import("../utils/types.js").Hook<CompositeGroupLabelOptions<"div">>;
17
17
  /**
18
18
  * Renders a label in a composite group. This component must be wrapped with
19
- * `CompositeGroup` so the `aria-labelledby` prop is properly set on the
20
- * composite group element.
19
+ * [`CompositeGroup`](https://ariakit.org/reference/composite-group) so the
20
+ * `aria-labelledby` prop is properly set on the group element.
21
21
  * @see https://ariakit.org/components/composite
22
22
  * @example
23
- * ```jsx
24
- * const composite = useCompositeStore();
25
- * <Composite store={composite}>
26
- * <CompositeGroup>
27
- * <CompositeGroupLabel>Label</CompositeGroupLabel>
28
- * <CompositeItem>Item 1</CompositeItem>
29
- * <CompositeItem>Item 2</CompositeItem>
30
- * </CompositeGroup>
31
- * </Composite>
23
+ * ```jsx {4}
24
+ * <CompositeProvider>
25
+ * <Composite>
26
+ * <CompositeGroup>
27
+ * <CompositeGroupLabel>Label</CompositeGroupLabel>
28
+ * <CompositeItem>Item 1</CompositeItem>
29
+ * <CompositeItem>Item 2</CompositeItem>
30
+ * </CompositeGroup>
31
+ * </Composite>
32
+ * </CompositeProvider>
32
33
  * ```
33
34
  */
34
35
  export declare const CompositeGroupLabel: import("../utils/types.js").Component<CompositeGroupLabelOptions<"div">>;
35
36
  export interface CompositeGroupLabelOptions<T extends As = "div"> extends GroupLabelOptions<T> {
36
37
  /**
37
- * Object returned by the `useCompositeStore` hook. If not provided, the
38
- * parent `Composite` component's context will be used.
38
+ * Object returned by the
39
+ * [`useCompositeStore`](https://ariakit.org/reference/use-composite-store)
40
+ * hook. If not provided, the closest
41
+ * [`Composite`](https://ariakit.org/reference/composite) or
42
+ * [`CompositeProvider`](https://ariakit.org/reference/composite-provider)
43
+ * components' context will be used.
39
44
  */
40
45
  store?: CompositeStore;
41
46
  }
@@ -19,25 +19,33 @@ import type { CompositeStore } from "./composite-store.js";
19
19
  */
20
20
  export declare const useCompositeGroup: import("../utils/types.js").Hook<CompositeGroupOptions<"div">>;
21
21
  /**
22
- * Renders a group element for composite items.
22
+ * Renders a group element for composite items. The
23
+ * [`CompositeGroupLabel`](https://ariakit.org/reference/composite-group-label)
24
+ * component can be used inside this component so the `aria-labelledby` prop is
25
+ * properly set on the group element.
23
26
  * @see https://ariakit.org/components/composite
24
27
  * @example
25
- * ```jsx
26
- * const composite = useCompositeStore();
27
- * <Composite store={composite}>
28
- * <CompositeGroup>
29
- * <CompositeGroupLabel>Label</CompositeGroupLabel>
30
- * <CompositeItem>Item 1</CompositeItem>
31
- * <CompositeItem>Item 2</CompositeItem>
32
- * </CompositeGroup>
33
- * </Composite>
28
+ * ```jsx {3-7}
29
+ * <CompositeProvider>
30
+ * <Composite>
31
+ * <CompositeGroup>
32
+ * <CompositeGroupLabel>Label</CompositeGroupLabel>
33
+ * <CompositeItem>Item 1</CompositeItem>
34
+ * <CompositeItem>Item 2</CompositeItem>
35
+ * </CompositeGroup>
36
+ * </Composite>
37
+ * </CompositeProvider>
34
38
  * ```
35
39
  */
36
40
  export declare const CompositeGroup: import("../utils/types.js").Component<CompositeGroupOptions<"div">>;
37
41
  export interface CompositeGroupOptions<T extends As = "div"> extends GroupOptions<T> {
38
42
  /**
39
- * Object returned by the `useCompositeStore` hook. If not provided, the
40
- * parent `Composite` component's context will be used.
43
+ * Object returned by the
44
+ * [`useCompositeStore`](https://ariakit.org/reference/use-composite-store)
45
+ * hook. If not provided, the closest
46
+ * [`Composite`](https://ariakit.org/reference/composite) or
47
+ * [`CompositeProvider`](https://ariakit.org/reference/composite-provider)
48
+ * components' context will be used.
41
49
  */
42
50
  store?: CompositeStore;
43
51
  }