@ariakit/react-core 0.3.14 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (974) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/cjs/__chunks/2CZCHCJM.cjs +29 -0
  3. package/cjs/__chunks/{I2KHXDVL.cjs → 2FVHSC23.cjs} +14 -16
  4. package/cjs/__chunks/{RNGIWUQW.cjs → 3PW624M3.cjs} +11 -13
  5. package/cjs/__chunks/{HEEQY4DZ.cjs → 43LZBXXJ.cjs} +5 -5
  6. package/cjs/__chunks/47V4ED4R.cjs +45 -0
  7. package/cjs/__chunks/{T4KYZJUY.cjs → 4ITCBJNT.cjs} +8 -9
  8. package/cjs/__chunks/{KSPMHEYZ.cjs → 4OFNVXGN.cjs} +16 -5
  9. package/cjs/__chunks/{CGIHR7QS.cjs → 4R64K3WW.cjs} +19 -14
  10. package/cjs/__chunks/{UZNYSPKP.cjs → 4XFLDG56.cjs} +5 -5
  11. package/cjs/__chunks/{Z3GCTNW4.cjs → 5QD55NKL.cjs} +40 -36
  12. package/cjs/__chunks/5SRODZ4B.cjs +37 -0
  13. package/cjs/__chunks/5W6JBMZ4.cjs +40 -0
  14. package/cjs/__chunks/{LY6FB2NE.cjs → 6772TC3F.cjs} +9 -8
  15. package/cjs/__chunks/{WZ3DRKGP.cjs → 6RCPYDT6.cjs} +13 -18
  16. package/cjs/__chunks/6U7MUWYL.cjs +37 -0
  17. package/cjs/__chunks/7UBOHCYJ.cjs +78 -0
  18. package/cjs/__chunks/{W5LJEMLB.cjs → AD7LA3CE.cjs} +2 -2
  19. package/cjs/__chunks/AIKNQVVL.cjs +44 -0
  20. package/cjs/__chunks/{XW252ITL.cjs → ANKK6ORZ.cjs} +27 -29
  21. package/cjs/__chunks/BBRNIJWO.cjs +276 -0
  22. package/cjs/__chunks/BIK2473Z.cjs +37 -0
  23. package/cjs/__chunks/BTE5YB27.cjs +31 -0
  24. package/cjs/__chunks/{6LVRCU4J.cjs → C6G4FIVI.cjs} +6 -5
  25. package/cjs/__chunks/CL7FRJUH.cjs +31 -0
  26. package/cjs/__chunks/{4VMHQGZH.cjs → DCVHQ3MN.cjs} +2 -3
  27. package/cjs/__chunks/{FROYTN4B.cjs → F6NX4XH2.cjs} +5 -5
  28. package/cjs/__chunks/{QOD2KY3N.cjs → FG4Y7VYM.cjs} +6 -8
  29. package/cjs/__chunks/{UVBBMANL.cjs → FNVFJ5AF.cjs} +5 -5
  30. package/cjs/__chunks/{OZ4FTKEH.cjs → G5BGNCVU.cjs} +2 -3
  31. package/cjs/__chunks/{7LBZXSLY.cjs → GAHLF3OI.cjs} +5 -5
  32. package/cjs/__chunks/GMXGH5P5.cjs +45 -0
  33. package/cjs/__chunks/{NRGWVSB5.cjs → GOS3JJKQ.cjs} +2 -3
  34. package/cjs/__chunks/{NGEKJJDH.cjs → HD6KOF3G.cjs} +12 -12
  35. package/cjs/__chunks/HQKST6ZJ.cjs +40 -0
  36. package/cjs/__chunks/HSQMZHBZ.cjs +25 -0
  37. package/cjs/__chunks/I5SQKHRZ.cjs +186 -0
  38. package/cjs/__chunks/{OUEE5HOS.cjs → ID5QP4WT.cjs} +15 -19
  39. package/cjs/__chunks/IGGDPRFD.cjs +44 -0
  40. package/cjs/__chunks/{IPYAEPOT.cjs → JAG4YGQZ.cjs} +16 -13
  41. package/cjs/__chunks/JFOUIQSF.cjs +193 -0
  42. package/cjs/__chunks/{LFHNPG2L.cjs → JH5Y3M4V.cjs} +10 -12
  43. package/cjs/__chunks/JOJAOQVQ.cjs +27 -0
  44. package/cjs/__chunks/{QCG6J6X5.cjs → K5V42RR6.cjs} +12 -16
  45. package/cjs/__chunks/{AZV52Y77.cjs → LTCHZ5L3.cjs} +9 -11
  46. package/cjs/__chunks/{7ZVTEFD7.cjs → LTD4F7TZ.cjs} +10 -12
  47. package/cjs/__chunks/M327EENO.cjs +27 -0
  48. package/cjs/__chunks/{3W6FH6JK.cjs → M5PQIWTW.cjs} +5 -5
  49. package/cjs/__chunks/{NNINKJTT.cjs → MLHQHZEA.cjs} +22 -18
  50. package/cjs/__chunks/MMDU7VRJ.cjs +52 -0
  51. package/cjs/__chunks/{H6OLBVHA.cjs → NCXCQQBN.cjs} +11 -13
  52. package/cjs/__chunks/O2WTAUCQ.cjs +43 -0
  53. package/cjs/__chunks/{3QW6ELTG.cjs → O45NLQRZ.cjs} +8 -10
  54. package/cjs/__chunks/{3WCBE6SU.cjs → OBT2YMBC.cjs} +6 -6
  55. package/cjs/__chunks/OEWIM6B2.cjs +25 -0
  56. package/cjs/__chunks/{63UPRTFZ.cjs → OIGGI6DI.cjs} +2 -2
  57. package/cjs/__chunks/{F2A2ZQDB.cjs → OLPMMKKO.cjs} +5 -5
  58. package/cjs/__chunks/{CFKRWKZR.cjs → OUHSDH5B.cjs} +6 -4
  59. package/cjs/__chunks/{BBS4RP44.cjs → OUTZPTLJ.cjs} +16 -15
  60. package/cjs/__chunks/PR3MIXQD.cjs +64 -0
  61. package/cjs/__chunks/{N3XK7EAH.cjs → PTCYSU6G.cjs} +15 -14
  62. package/cjs/__chunks/{DTEFSZZZ.cjs → PVRCH7FU.cjs} +10 -12
  63. package/cjs/__chunks/{RNZNGEL4.cjs → Q67LZMDT.cjs} +7 -54
  64. package/cjs/__chunks/{BZTDJIVT.cjs → Q6CVYJBO.cjs} +2 -2
  65. package/cjs/__chunks/{JAQJG42R.cjs → QJZAESAR.cjs} +1 -1
  66. package/cjs/__chunks/{IO6J4PAN.cjs → QWP2WC6E.cjs} +23 -21
  67. package/cjs/__chunks/{I65V32V2.cjs → R3OO4M3N.cjs} +5 -5
  68. package/cjs/__chunks/RGJCGG4P.cjs +170 -0
  69. package/cjs/__chunks/{GJX4AG2L.cjs → RYQJ4G5H.cjs} +10 -12
  70. package/cjs/__chunks/{LAUATD5O.cjs → SFDUOV6F.cjs} +15 -12
  71. package/cjs/__chunks/{2WCJJQSK.cjs → STYNL4LL.cjs} +6 -6
  72. package/cjs/__chunks/T32XRZLL.cjs +87 -0
  73. package/cjs/__chunks/TTVVUWIY.cjs +37 -0
  74. package/cjs/__chunks/{M5JJ43AT.cjs → V7ENWBON.cjs} +5 -5
  75. package/cjs/__chunks/{XA62Y24Z.cjs → VJIEWS6G.cjs} +15 -17
  76. package/cjs/__chunks/{LYIGAIJF.cjs → VNRUW2L6.cjs} +5 -5
  77. package/cjs/__chunks/{ZWICHV7O.cjs → WUK3NG7Y.cjs} +15 -17
  78. package/cjs/__chunks/XAEBGC7D.cjs +51 -0
  79. package/cjs/__chunks/{NONPPWSF.cjs → XPNDTO4N.cjs} +11 -6
  80. package/cjs/__chunks/{S6UU7NA4.cjs → XRJBC7H7.cjs} +2 -2
  81. package/cjs/__chunks/XSRQB4KO.cjs +131 -0
  82. package/cjs/__chunks/{R5A2WTWB.cjs → XWCNZ2IP.cjs} +11 -15
  83. package/cjs/__chunks/{T7WLYFYV.cjs → YDATFQCD.cjs} +2 -2
  84. package/cjs/__chunks/{TGTVGYEZ.cjs → YEAKVHCK.cjs} +44 -50
  85. package/cjs/__chunks/YHNU4DBC.cjs +527 -0
  86. package/cjs/__chunks/{DAJUUBUI.cjs → ZMTZTMRS.cjs} +11 -13
  87. package/cjs/button/button.cjs +5 -5
  88. package/cjs/button/button.d.cts +10 -5
  89. package/cjs/button/button.d.ts +10 -5
  90. package/cjs/checkbox/checkbox-check.cjs +3 -3
  91. package/cjs/checkbox/checkbox-check.d.cts +9 -5
  92. package/cjs/checkbox/checkbox-check.d.ts +9 -5
  93. package/cjs/checkbox/checkbox-context.cjs +3 -3
  94. package/cjs/checkbox/checkbox-provider.cjs +3 -3
  95. package/cjs/checkbox/checkbox.cjs +6 -6
  96. package/cjs/checkbox/checkbox.d.cts +11 -8
  97. package/cjs/checkbox/checkbox.d.ts +11 -8
  98. package/cjs/collection/collection-context.cjs +3 -3
  99. package/cjs/collection/collection-item.cjs +4 -4
  100. package/cjs/collection/collection-item.d.cts +9 -5
  101. package/cjs/collection/collection-item.d.ts +9 -5
  102. package/cjs/collection/collection-provider.cjs +3 -3
  103. package/cjs/collection/collection-renderer.cjs +4 -4
  104. package/cjs/collection/collection-renderer.d.cts +11 -9
  105. package/cjs/collection/collection-renderer.d.ts +11 -9
  106. package/cjs/collection/collection.cjs +11 -12
  107. package/cjs/collection/collection.d.cts +9 -5
  108. package/cjs/collection/collection.d.ts +9 -5
  109. package/cjs/combobox/combobox-cancel.cjs +19 -23
  110. package/cjs/combobox/combobox-cancel.d.cts +9 -5
  111. package/cjs/combobox/combobox-cancel.d.ts +9 -5
  112. package/cjs/combobox/combobox-context.cjs +8 -8
  113. package/cjs/combobox/combobox-disclosure.cjs +56 -62
  114. package/cjs/combobox/combobox-disclosure.d.cts +9 -5
  115. package/cjs/combobox/combobox-disclosure.d.ts +9 -5
  116. package/cjs/combobox/combobox-group-label.cjs +12 -18
  117. package/cjs/combobox/combobox-group-label.d.cts +9 -5
  118. package/cjs/combobox/combobox-group-label.d.ts +9 -5
  119. package/cjs/combobox/combobox-group.cjs +16 -18
  120. package/cjs/combobox/combobox-group.d.cts +9 -5
  121. package/cjs/combobox/combobox-group.d.ts +9 -5
  122. package/cjs/combobox/combobox-item-check.cjs +20 -26
  123. package/cjs/combobox/combobox-item-check.d.cts +9 -5
  124. package/cjs/combobox/combobox-item-check.d.ts +9 -5
  125. package/cjs/combobox/combobox-item-value.cjs +38 -40
  126. package/cjs/combobox/combobox-item-value.d.cts +9 -5
  127. package/cjs/combobox/combobox-item-value.d.ts +9 -5
  128. package/cjs/combobox/combobox-item.cjs +24 -25
  129. package/cjs/combobox/combobox-item.d.cts +9 -6
  130. package/cjs/combobox/combobox-item.d.ts +9 -6
  131. package/cjs/combobox/combobox-label.cjs +17 -18
  132. package/cjs/combobox/combobox-label.d.cts +9 -5
  133. package/cjs/combobox/combobox-label.d.ts +9 -5
  134. package/cjs/combobox/combobox-list.cjs +10 -12
  135. package/cjs/combobox/combobox-list.d.cts +9 -6
  136. package/cjs/combobox/combobox-list.d.ts +9 -6
  137. package/cjs/combobox/combobox-popover.cjs +31 -33
  138. package/cjs/combobox/combobox-popover.d.cts +9 -5
  139. package/cjs/combobox/combobox-popover.d.ts +9 -5
  140. package/cjs/combobox/combobox-provider.cjs +13 -13
  141. package/cjs/combobox/combobox-row.cjs +15 -17
  142. package/cjs/combobox/combobox-row.d.cts +9 -5
  143. package/cjs/combobox/combobox-row.d.ts +9 -5
  144. package/cjs/combobox/combobox-separator.cjs +25 -31
  145. package/cjs/combobox/combobox-separator.d.cts +13 -5
  146. package/cjs/combobox/combobox-separator.d.ts +13 -5
  147. package/cjs/combobox/combobox-store.cjs +5 -5
  148. package/cjs/combobox/combobox-store.d.cts +7 -5
  149. package/cjs/combobox/combobox-store.d.ts +7 -5
  150. package/cjs/combobox/combobox.cjs +55 -61
  151. package/cjs/combobox/combobox.d.cts +9 -6
  152. package/cjs/combobox/combobox.d.ts +9 -6
  153. package/cjs/command/command.cjs +4 -4
  154. package/cjs/command/command.d.cts +9 -5
  155. package/cjs/command/command.d.ts +9 -5
  156. package/cjs/composite/composite-container.cjs +5 -5
  157. package/cjs/composite/composite-container.d.cts +9 -5
  158. package/cjs/composite/composite-container.d.ts +9 -5
  159. package/cjs/composite/composite-context.cjs +4 -4
  160. package/cjs/composite/composite-group-label.cjs +4 -4
  161. package/cjs/composite/composite-group-label.d.cts +9 -5
  162. package/cjs/composite/composite-group-label.d.ts +9 -5
  163. package/cjs/composite/composite-group.cjs +4 -4
  164. package/cjs/composite/composite-group.d.cts +9 -5
  165. package/cjs/composite/composite-group.d.ts +9 -5
  166. package/cjs/composite/composite-hover.cjs +5 -5
  167. package/cjs/composite/composite-hover.d.cts +9 -6
  168. package/cjs/composite/composite-hover.d.ts +9 -6
  169. package/cjs/composite/composite-input.cjs +3 -3
  170. package/cjs/composite/composite-input.d.cts +9 -5
  171. package/cjs/composite/composite-input.d.ts +9 -5
  172. package/cjs/composite/composite-item.cjs +8 -8
  173. package/cjs/composite/composite-item.d.cts +9 -6
  174. package/cjs/composite/composite-item.d.ts +9 -6
  175. package/cjs/composite/composite-overflow-disclosure.cjs +25 -25
  176. package/cjs/composite/composite-overflow-disclosure.d.cts +9 -5
  177. package/cjs/composite/composite-overflow-disclosure.d.ts +9 -5
  178. package/cjs/composite/composite-overflow-store.cjs +4 -4
  179. package/cjs/composite/composite-overflow-store.d.cts +7 -5
  180. package/cjs/composite/composite-overflow-store.d.ts +7 -5
  181. package/cjs/composite/composite-overflow.cjs +58 -72
  182. package/cjs/composite/composite-overflow.d.cts +9 -5
  183. package/cjs/composite/composite-overflow.d.ts +9 -5
  184. package/cjs/composite/composite-provider.cjs +4 -4
  185. package/cjs/composite/composite-renderer.cjs +6 -6
  186. package/cjs/composite/composite-renderer.d.cts +9 -5
  187. package/cjs/composite/composite-renderer.d.ts +9 -5
  188. package/cjs/composite/composite-row.cjs +5 -5
  189. package/cjs/composite/composite-row.d.cts +9 -5
  190. package/cjs/composite/composite-row.d.ts +9 -5
  191. package/cjs/composite/composite-separator.cjs +6 -6
  192. package/cjs/composite/composite-separator.d.cts +9 -5
  193. package/cjs/composite/composite-separator.d.ts +9 -5
  194. package/cjs/composite/composite-typeahead.cjs +5 -5
  195. package/cjs/composite/composite-typeahead.d.cts +9 -5
  196. package/cjs/composite/composite-typeahead.d.ts +9 -5
  197. package/cjs/composite/composite.cjs +6 -6
  198. package/cjs/composite/composite.d.cts +9 -6
  199. package/cjs/composite/composite.d.ts +9 -6
  200. package/cjs/dialog/dialog-backdrop.cjs +8 -8
  201. package/cjs/dialog/dialog-backdrop.d.cts +2 -2
  202. package/cjs/dialog/dialog-backdrop.d.ts +2 -2
  203. package/cjs/dialog/dialog-context.cjs +4 -4
  204. package/cjs/dialog/dialog-description.cjs +5 -5
  205. package/cjs/dialog/dialog-description.d.cts +9 -5
  206. package/cjs/dialog/dialog-description.d.ts +9 -5
  207. package/cjs/dialog/dialog-disclosure.cjs +9 -9
  208. package/cjs/dialog/dialog-disclosure.d.cts +9 -5
  209. package/cjs/dialog/dialog-disclosure.d.ts +9 -5
  210. package/cjs/dialog/dialog-dismiss.cjs +8 -8
  211. package/cjs/dialog/dialog-dismiss.d.cts +9 -5
  212. package/cjs/dialog/dialog-dismiss.d.ts +9 -5
  213. package/cjs/dialog/dialog-heading.cjs +6 -6
  214. package/cjs/dialog/dialog-heading.d.cts +9 -5
  215. package/cjs/dialog/dialog-heading.d.ts +9 -5
  216. package/cjs/dialog/dialog-provider.cjs +7 -7
  217. package/cjs/dialog/dialog-store.cjs +3 -3
  218. package/cjs/dialog/dialog-store.d.cts +7 -5
  219. package/cjs/dialog/dialog-store.d.ts +7 -5
  220. package/cjs/dialog/dialog.cjs +16 -16
  221. package/cjs/dialog/dialog.d.cts +10 -15
  222. package/cjs/dialog/dialog.d.ts +10 -15
  223. package/cjs/dialog/utils/disable-tree.cjs +2 -2
  224. package/cjs/disclosure/disclosure-content.cjs +5 -5
  225. package/cjs/disclosure/disclosure-content.d.cts +9 -5
  226. package/cjs/disclosure/disclosure-content.d.ts +9 -5
  227. package/cjs/disclosure/disclosure-context.cjs +3 -3
  228. package/cjs/disclosure/disclosure-provider.cjs +5 -5
  229. package/cjs/disclosure/disclosure-store.cjs +2 -2
  230. package/cjs/disclosure/disclosure-store.d.cts +14 -4
  231. package/cjs/disclosure/disclosure-store.d.ts +14 -4
  232. package/cjs/disclosure/disclosure.cjs +7 -7
  233. package/cjs/disclosure/disclosure.d.cts +9 -6
  234. package/cjs/disclosure/disclosure.d.ts +9 -6
  235. package/cjs/focus-trap/focus-trap-region.cjs +13 -16
  236. package/cjs/focus-trap/focus-trap-region.d.cts +9 -5
  237. package/cjs/focus-trap/focus-trap-region.d.ts +9 -5
  238. package/cjs/focus-trap/focus-trap.cjs +4 -4
  239. package/cjs/focus-trap/focus-trap.d.cts +9 -5
  240. package/cjs/focus-trap/focus-trap.d.ts +9 -5
  241. package/cjs/focusable/focusable-container.cjs +3 -3
  242. package/cjs/focusable/focusable-container.d.cts +10 -6
  243. package/cjs/focusable/focusable-container.d.ts +10 -6
  244. package/cjs/focusable/focusable.cjs +3 -3
  245. package/cjs/focusable/focusable.d.cts +13 -10
  246. package/cjs/focusable/focusable.d.ts +13 -10
  247. package/cjs/form/form-checkbox.cjs +33 -22
  248. package/cjs/form/form-checkbox.d.cts +9 -5
  249. package/cjs/form/form-checkbox.d.ts +9 -5
  250. package/cjs/form/form-context.cjs +4 -4
  251. package/cjs/form/form-control.cjs +6 -6
  252. package/cjs/form/form-control.d.cts +9 -6
  253. package/cjs/form/form-control.d.ts +9 -6
  254. package/cjs/form/form-description.cjs +23 -16
  255. package/cjs/form/form-description.d.cts +9 -5
  256. package/cjs/form/form-description.d.ts +9 -5
  257. package/cjs/form/form-error.cjs +25 -16
  258. package/cjs/form/form-error.d.cts +9 -5
  259. package/cjs/form/form-error.d.ts +9 -5
  260. package/cjs/form/form-field.cjs +18 -15
  261. package/cjs/form/form-field.d.cts +9 -5
  262. package/cjs/form/form-field.d.ts +9 -5
  263. package/cjs/form/form-group-label.cjs +10 -14
  264. package/cjs/form/form-group-label.d.cts +9 -5
  265. package/cjs/form/form-group-label.d.ts +9 -5
  266. package/cjs/form/form-group.cjs +4 -4
  267. package/cjs/form/form-group.d.cts +9 -5
  268. package/cjs/form/form-group.d.ts +9 -5
  269. package/cjs/form/form-input.cjs +19 -18
  270. package/cjs/form/form-input.d.cts +9 -5
  271. package/cjs/form/form-input.d.ts +9 -5
  272. package/cjs/form/form-label.cjs +25 -16
  273. package/cjs/form/form-label.d.cts +9 -5
  274. package/cjs/form/form-label.d.ts +9 -5
  275. package/cjs/form/form-provider.cjs +4 -4
  276. package/cjs/form/form-push.cjs +15 -17
  277. package/cjs/form/form-push.d.cts +9 -5
  278. package/cjs/form/form-push.d.ts +9 -5
  279. package/cjs/form/form-radio-group.cjs +11 -15
  280. package/cjs/form/form-radio-group.d.cts +9 -5
  281. package/cjs/form/form-radio-group.d.ts +9 -5
  282. package/cjs/form/form-radio.cjs +24 -23
  283. package/cjs/form/form-radio.d.cts +9 -5
  284. package/cjs/form/form-radio.d.ts +9 -5
  285. package/cjs/form/form-remove.cjs +24 -16
  286. package/cjs/form/form-remove.d.cts +9 -5
  287. package/cjs/form/form-remove.d.ts +9 -5
  288. package/cjs/form/form-reset.cjs +13 -15
  289. package/cjs/form/form-reset.d.cts +9 -5
  290. package/cjs/form/form-reset.d.ts +9 -5
  291. package/cjs/form/form-submit.cjs +13 -15
  292. package/cjs/form/form-submit.d.cts +9 -5
  293. package/cjs/form/form-submit.d.ts +9 -5
  294. package/cjs/form/form.cjs +117 -121
  295. package/cjs/form/form.d.cts +9 -5
  296. package/cjs/form/form.d.ts +9 -5
  297. package/cjs/group/group-label.cjs +3 -3
  298. package/cjs/group/group-label.d.cts +10 -5
  299. package/cjs/group/group-label.d.ts +10 -5
  300. package/cjs/group/group.cjs +3 -3
  301. package/cjs/group/group.d.cts +9 -5
  302. package/cjs/group/group.d.ts +9 -5
  303. package/cjs/heading/heading-level.d.cts +2 -2
  304. package/cjs/heading/heading-level.d.ts +2 -2
  305. package/cjs/heading/heading.cjs +3 -3
  306. package/cjs/heading/heading.d.cts +9 -5
  307. package/cjs/heading/heading.d.ts +9 -5
  308. package/cjs/hovercard/hovercard-anchor.cjs +8 -8
  309. package/cjs/hovercard/hovercard-anchor.d.cts +9 -6
  310. package/cjs/hovercard/hovercard-anchor.d.ts +9 -6
  311. package/cjs/hovercard/hovercard-arrow.cjs +15 -19
  312. package/cjs/hovercard/hovercard-arrow.d.cts +9 -5
  313. package/cjs/hovercard/hovercard-arrow.d.ts +9 -5
  314. package/cjs/hovercard/hovercard-context.cjs +6 -6
  315. package/cjs/hovercard/hovercard-description.cjs +7 -7
  316. package/cjs/hovercard/hovercard-description.d.cts +9 -5
  317. package/cjs/hovercard/hovercard-description.d.ts +9 -5
  318. package/cjs/hovercard/hovercard-disclosure.cjs +103 -109
  319. package/cjs/hovercard/hovercard-disclosure.d.cts +9 -5
  320. package/cjs/hovercard/hovercard-disclosure.d.ts +9 -5
  321. package/cjs/hovercard/hovercard-dismiss.cjs +12 -12
  322. package/cjs/hovercard/hovercard-dismiss.d.cts +9 -5
  323. package/cjs/hovercard/hovercard-dismiss.d.ts +9 -5
  324. package/cjs/hovercard/hovercard-heading.cjs +8 -8
  325. package/cjs/hovercard/hovercard-heading.d.cts +9 -5
  326. package/cjs/hovercard/hovercard-heading.d.ts +9 -5
  327. package/cjs/hovercard/hovercard-provider.cjs +11 -11
  328. package/cjs/hovercard/hovercard-store.cjs +5 -5
  329. package/cjs/hovercard/hovercard-store.d.cts +7 -5
  330. package/cjs/hovercard/hovercard-store.d.ts +7 -5
  331. package/cjs/hovercard/hovercard.cjs +20 -20
  332. package/cjs/hovercard/hovercard.d.cts +9 -5
  333. package/cjs/hovercard/hovercard.d.ts +9 -5
  334. package/cjs/menu/menu-arrow.cjs +17 -19
  335. package/cjs/menu/menu-arrow.d.cts +9 -5
  336. package/cjs/menu/menu-arrow.d.ts +9 -5
  337. package/cjs/menu/menu-bar-provider.cjs +15 -6
  338. package/cjs/menu/menu-bar-store.cjs +9 -0
  339. package/cjs/menu/menu-bar.cjs +24 -15
  340. package/cjs/menu/menu-bar.d.cts +9 -5
  341. package/cjs/menu/menu-bar.d.ts +9 -5
  342. package/cjs/menu/menu-button-arrow.cjs +19 -23
  343. package/cjs/menu/menu-button-arrow.d.cts +9 -5
  344. package/cjs/menu/menu-button-arrow.d.ts +9 -5
  345. package/cjs/menu/menu-button.cjs +41 -33
  346. package/cjs/menu/menu-button.d.cts +9 -5
  347. package/cjs/menu/menu-button.d.ts +9 -5
  348. package/cjs/menu/menu-context.cjs +10 -10
  349. package/cjs/menu/menu-description.cjs +14 -18
  350. package/cjs/menu/menu-description.d.cts +9 -5
  351. package/cjs/menu/menu-description.d.ts +9 -5
  352. package/cjs/menu/menu-dismiss.cjs +24 -26
  353. package/cjs/menu/menu-dismiss.d.cts +9 -5
  354. package/cjs/menu/menu-dismiss.d.ts +9 -5
  355. package/cjs/menu/menu-group-label.cjs +12 -14
  356. package/cjs/menu/menu-group-label.d.cts +9 -5
  357. package/cjs/menu/menu-group-label.d.ts +9 -5
  358. package/cjs/menu/menu-group.cjs +12 -12
  359. package/cjs/menu/menu-group.d.cts +9 -5
  360. package/cjs/menu/menu-group.d.ts +9 -5
  361. package/cjs/menu/menu-heading.cjs +16 -16
  362. package/cjs/menu/menu-heading.d.cts +9 -5
  363. package/cjs/menu/menu-heading.d.ts +9 -5
  364. package/cjs/menu/menu-item-check.cjs +17 -19
  365. package/cjs/menu/menu-item-check.d.cts +9 -5
  366. package/cjs/menu/menu-item-check.d.ts +9 -5
  367. package/cjs/menu/menu-item-checkbox.cjs +28 -29
  368. package/cjs/menu/menu-item-checkbox.d.cts +9 -5
  369. package/cjs/menu/menu-item-checkbox.d.ts +9 -5
  370. package/cjs/menu/menu-item-radio.cjs +30 -31
  371. package/cjs/menu/menu-item-radio.d.cts +9 -5
  372. package/cjs/menu/menu-item-radio.d.ts +9 -5
  373. package/cjs/menu/menu-item.cjs +16 -16
  374. package/cjs/menu/menu-item.d.cts +9 -6
  375. package/cjs/menu/menu-item.d.ts +9 -6
  376. package/cjs/menu/menu-list.cjs +15 -15
  377. package/cjs/menu/menu-list.d.cts +9 -5
  378. package/cjs/menu/menu-list.d.ts +9 -5
  379. package/cjs/menu/menu-provider.cjs +17 -17
  380. package/cjs/menu/menu-separator.cjs +18 -20
  381. package/cjs/menu/menu-separator.d.cts +9 -5
  382. package/cjs/menu/menu-separator.d.ts +9 -5
  383. package/cjs/menu/menu-store.cjs +16 -16
  384. package/cjs/menu/menu-store.d.cts +6 -4
  385. package/cjs/menu/menu-store.d.ts +6 -4
  386. package/cjs/menu/menu.cjs +178 -181
  387. package/cjs/menu/menu.d.cts +9 -5
  388. package/cjs/menu/menu.d.ts +9 -5
  389. package/cjs/menubar/menubar-context.cjs +5 -5
  390. package/cjs/menubar/menubar-provider.cjs +6 -6
  391. package/cjs/menubar/menubar.cjs +8 -8
  392. package/cjs/menubar/menubar.d.cts +9 -5
  393. package/cjs/menubar/menubar.d.ts +9 -5
  394. package/cjs/popover/popover-anchor.cjs +6 -6
  395. package/cjs/popover/popover-anchor.d.cts +9 -5
  396. package/cjs/popover/popover-anchor.d.ts +9 -5
  397. package/cjs/popover/popover-arrow.cjs +6 -6
  398. package/cjs/popover/popover-arrow.d.cts +9 -5
  399. package/cjs/popover/popover-arrow.d.ts +9 -5
  400. package/cjs/popover/popover-context.cjs +5 -5
  401. package/cjs/popover/popover-description.cjs +6 -6
  402. package/cjs/popover/popover-description.d.cts +9 -5
  403. package/cjs/popover/popover-description.d.ts +9 -5
  404. package/cjs/popover/popover-disclosure-arrow.cjs +6 -6
  405. package/cjs/popover/popover-disclosure-arrow.d.cts +9 -5
  406. package/cjs/popover/popover-disclosure-arrow.d.ts +9 -5
  407. package/cjs/popover/popover-disclosure.cjs +12 -12
  408. package/cjs/popover/popover-disclosure.d.cts +9 -5
  409. package/cjs/popover/popover-disclosure.d.ts +9 -5
  410. package/cjs/popover/popover-dismiss.cjs +10 -10
  411. package/cjs/popover/popover-dismiss.d.cts +9 -5
  412. package/cjs/popover/popover-dismiss.d.ts +9 -5
  413. package/cjs/popover/popover-heading.cjs +7 -7
  414. package/cjs/popover/popover-heading.d.cts +9 -5
  415. package/cjs/popover/popover-heading.d.ts +9 -5
  416. package/cjs/popover/popover-provider.cjs +9 -9
  417. package/cjs/popover/popover-store.cjs +4 -4
  418. package/cjs/popover/popover-store.d.cts +7 -5
  419. package/cjs/popover/popover-store.d.ts +7 -5
  420. package/cjs/popover/popover.cjs +18 -18
  421. package/cjs/popover/popover.d.cts +8 -6
  422. package/cjs/popover/popover.d.ts +8 -6
  423. package/cjs/portal/portal.cjs +5 -5
  424. package/cjs/portal/portal.d.cts +9 -6
  425. package/cjs/portal/portal.d.ts +9 -6
  426. package/cjs/radio/radio-context.cjs +5 -5
  427. package/cjs/radio/radio-group.cjs +14 -16
  428. package/cjs/radio/radio-group.d.cts +9 -5
  429. package/cjs/radio/radio-group.d.ts +9 -5
  430. package/cjs/radio/radio-provider.cjs +5 -5
  431. package/cjs/radio/radio.cjs +10 -10
  432. package/cjs/radio/radio.d.cts +11 -7
  433. package/cjs/radio/radio.d.ts +11 -7
  434. package/cjs/role/role.cjs +3 -3
  435. package/cjs/role/role.d.cts +10 -6
  436. package/cjs/role/role.d.ts +10 -6
  437. package/cjs/select/select-arrow.cjs +10 -10
  438. package/cjs/select/select-arrow.d.cts +9 -5
  439. package/cjs/select/select-arrow.d.ts +9 -5
  440. package/cjs/select/select-context.cjs +8 -8
  441. package/cjs/select/select-group-label.cjs +11 -15
  442. package/cjs/select/select-group-label.d.cts +9 -5
  443. package/cjs/select/select-group-label.d.ts +9 -5
  444. package/cjs/select/select-group.cjs +12 -12
  445. package/cjs/select/select-group.d.cts +9 -5
  446. package/cjs/select/select-group.d.ts +9 -5
  447. package/cjs/select/select-item-check.cjs +17 -21
  448. package/cjs/select/select-item-check.d.cts +9 -5
  449. package/cjs/select/select-item-check.d.ts +9 -5
  450. package/cjs/select/select-item.cjs +27 -26
  451. package/cjs/select/select-item.d.cts +9 -6
  452. package/cjs/select/select-item.d.ts +9 -6
  453. package/cjs/select/select-label.cjs +19 -18
  454. package/cjs/select/select-label.d.cts +9 -5
  455. package/cjs/select/select-label.d.ts +9 -5
  456. package/cjs/select/select-list.cjs +13 -13
  457. package/cjs/select/select-list.d.cts +9 -6
  458. package/cjs/select/select-list.d.ts +9 -6
  459. package/cjs/select/select-popover.cjs +33 -35
  460. package/cjs/select/select-popover.d.cts +9 -5
  461. package/cjs/select/select-popover.d.ts +9 -5
  462. package/cjs/select/select-provider.cjs +14 -14
  463. package/cjs/select/select-renderer.cjs +15 -14
  464. package/cjs/select/select-renderer.d.cts +4 -2
  465. package/cjs/select/select-renderer.d.ts +4 -2
  466. package/cjs/select/select-row.cjs +15 -17
  467. package/cjs/select/select-row.d.cts +9 -5
  468. package/cjs/select/select-row.d.ts +9 -5
  469. package/cjs/select/select-separator.cjs +18 -22
  470. package/cjs/select/select-separator.d.cts +12 -5
  471. package/cjs/select/select-separator.d.ts +12 -5
  472. package/cjs/select/select-store.cjs +12 -12
  473. package/cjs/select/select-store.d.cts +6 -4
  474. package/cjs/select/select-store.d.ts +6 -4
  475. package/cjs/select/select.cjs +228 -234
  476. package/cjs/select/select.d.cts +9 -6
  477. package/cjs/select/select.d.ts +9 -6
  478. package/cjs/separator/separator.cjs +3 -3
  479. package/cjs/separator/separator.d.cts +9 -5
  480. package/cjs/separator/separator.d.ts +9 -5
  481. package/cjs/tab/tab-context.cjs +5 -5
  482. package/cjs/tab/tab-list.cjs +34 -34
  483. package/cjs/tab/tab-list.d.cts +9 -5
  484. package/cjs/tab/tab-list.d.ts +9 -5
  485. package/cjs/tab/tab-panel.cjs +30 -24
  486. package/cjs/tab/tab-panel.d.cts +9 -5
  487. package/cjs/tab/tab-panel.d.ts +9 -5
  488. package/cjs/tab/tab-provider.cjs +5 -5
  489. package/cjs/tab/tab.cjs +74 -75
  490. package/cjs/tab/tab.d.cts +9 -5
  491. package/cjs/tab/tab.d.ts +9 -5
  492. package/cjs/toolbar/toolbar-container.cjs +21 -22
  493. package/cjs/toolbar/toolbar-container.d.cts +9 -5
  494. package/cjs/toolbar/toolbar-container.d.ts +9 -5
  495. package/cjs/toolbar/toolbar-context.cjs +5 -5
  496. package/cjs/toolbar/toolbar-input.cjs +21 -22
  497. package/cjs/toolbar/toolbar-input.d.cts +9 -5
  498. package/cjs/toolbar/toolbar-input.d.ts +9 -5
  499. package/cjs/toolbar/toolbar-item.cjs +10 -10
  500. package/cjs/toolbar/toolbar-item.d.cts +9 -5
  501. package/cjs/toolbar/toolbar-item.d.ts +9 -5
  502. package/cjs/toolbar/toolbar-provider.cjs +5 -5
  503. package/cjs/toolbar/toolbar-separator.cjs +15 -19
  504. package/cjs/toolbar/toolbar-separator.d.cts +9 -5
  505. package/cjs/toolbar/toolbar-separator.d.ts +9 -5
  506. package/cjs/toolbar/toolbar.cjs +14 -16
  507. package/cjs/toolbar/toolbar.d.cts +9 -5
  508. package/cjs/toolbar/toolbar.d.ts +9 -5
  509. package/cjs/tooltip/tooltip-anchor.cjs +17 -20
  510. package/cjs/tooltip/tooltip-anchor.d.cts +14 -5
  511. package/cjs/tooltip/tooltip-anchor.d.ts +14 -5
  512. package/cjs/tooltip/tooltip-arrow.cjs +14 -16
  513. package/cjs/tooltip/tooltip-arrow.d.cts +9 -5
  514. package/cjs/tooltip/tooltip-arrow.d.ts +9 -5
  515. package/cjs/tooltip/tooltip-context.cjs +7 -7
  516. package/cjs/tooltip/tooltip-provider.cjs +13 -13
  517. package/cjs/tooltip/tooltip-store.cjs +6 -6
  518. package/cjs/tooltip/tooltip-store.d.cts +7 -5
  519. package/cjs/tooltip/tooltip-store.d.ts +7 -5
  520. package/cjs/tooltip/tooltip.cjs +31 -33
  521. package/cjs/tooltip/tooltip.d.cts +14 -5
  522. package/cjs/tooltip/tooltip.d.ts +14 -5
  523. package/cjs/utils/system.cjs +2 -6
  524. package/cjs/utils/system.d.cts +6 -65
  525. package/cjs/utils/system.d.ts +6 -65
  526. package/cjs/utils/types.d.cts +30 -53
  527. package/cjs/utils/types.d.ts +30 -53
  528. package/cjs/visually-hidden/visually-hidden.cjs +3 -3
  529. package/cjs/visually-hidden/visually-hidden.d.cts +10 -5
  530. package/cjs/visually-hidden/visually-hidden.d.ts +10 -5
  531. package/esm/__chunks/{BNUFNEVY.js → 2O7COXT7.js} +10 -12
  532. package/esm/__chunks/{SOK7T35T.js → 2OCM6QMR.js} +2 -2
  533. package/esm/__chunks/{4B73HROV.js → 32VQXIYR.js} +2 -2
  534. package/esm/__chunks/{IB7YUKH5.js → 3D6OCOHF.js} +2 -2
  535. package/esm/__chunks/{MNFF5YOJ.js → 3OMHZVJD.js} +2 -2
  536. package/esm/__chunks/{3AHQ6JCP.js → 3PDOEITM.js} +16 -15
  537. package/esm/__chunks/{3ORBWXWF.js → 5M6RSQEC.js} +6 -53
  538. package/esm/__chunks/{NUNVG4IK.js → 6PC3IJNK.js} +9 -11
  539. package/esm/__chunks/{7QTPYGNZ.js → 6WQW7ZIA.js} +9 -11
  540. package/esm/__chunks/7HFLDZTS.js +51 -0
  541. package/esm/__chunks/{UH3I23HL.js → 7YKLTEOQ.js} +12 -16
  542. package/esm/__chunks/A3BKKI3B.js +44 -0
  543. package/esm/__chunks/{MW2F7SEA.js → BX7FFG2R.js} +9 -10
  544. package/esm/__chunks/{FSFPRQFR.js → CBTO7DFZ.js} +16 -13
  545. package/esm/__chunks/{LWHPHW7Q.js → CJ6B7ETA.js} +10 -15
  546. package/esm/__chunks/CK3UW3AQ.js +276 -0
  547. package/esm/__chunks/{FGMA3QUS.js → CQJLVEBA.js} +11 -15
  548. package/esm/__chunks/CWDOOAGR.js +45 -0
  549. package/esm/__chunks/DMSZFK7W.js +131 -0
  550. package/esm/__chunks/{XHRZYRZ5.js → E47ASM2Y.js} +9 -11
  551. package/esm/__chunks/{ZU7LQC5V.js → E5E7G32I.js} +2 -3
  552. package/esm/__chunks/ED7XMMMU.js +29 -0
  553. package/esm/__chunks/{VPR2WHQV.js → EUN6HFWO.js} +1 -1
  554. package/esm/__chunks/{F6PRXTDU.js → FY6FFKYI.js} +11 -15
  555. package/esm/__chunks/{NKXUN25E.js → G77JJQ4O.js} +9 -11
  556. package/esm/__chunks/G7KEAOBE.js +25 -0
  557. package/esm/__chunks/{V4ZFXDFK.js → GEIG6TES.js} +2 -2
  558. package/esm/__chunks/{SU2GU5JB.js → GYVFAVAN.js} +11 -13
  559. package/esm/__chunks/HA4U57LH.js +78 -0
  560. package/esm/__chunks/{SFCBA2JZ.js → HZJ2XALY.js} +1 -1
  561. package/esm/__chunks/{ZSELSBRM.js → I62TROYO.js} +1 -1
  562. package/esm/__chunks/IBZ5GRML.js +27 -0
  563. package/esm/__chunks/ID4VKXL5.js +52 -0
  564. package/esm/__chunks/IFT5JEUU.js +40 -0
  565. package/esm/__chunks/{YGMEBI3A.js → IG6NVGLB.js} +4 -4
  566. package/esm/__chunks/IKU53XMZ.js +44 -0
  567. package/esm/__chunks/{Y6467XPW.js → IU2VX2AY.js} +19 -15
  568. package/esm/__chunks/{OAYFXAQ2.js → J55AVALY.js} +1 -1
  569. package/esm/__chunks/{P5SOPKIM.js → K3QOUHVI.js} +8 -10
  570. package/esm/__chunks/{IRX7SFUJ.js → KMWSQ7OZ.js} +11 -15
  571. package/esm/__chunks/{7NHUGSTF.js → KTPXKSJN.js} +13 -12
  572. package/esm/__chunks/KTZEHGAP.js +186 -0
  573. package/esm/__chunks/{4UUKJZ4V.js → MADQZZRL.js} +1 -1
  574. package/esm/__chunks/{XJXP7ZSQ.js → MAMNGFY7.js} +16 -11
  575. package/esm/__chunks/{7X4DYKYU.js → NIWODFOI.js} +43 -49
  576. package/esm/__chunks/{JCH6MLL2.js → NLT7LY5Y.js} +8 -10
  577. package/esm/__chunks/{H3TG2CZP.js → NNMCIH2I.js} +11 -15
  578. package/esm/__chunks/{TQYOGOE2.js → NOYDL3YS.js} +16 -5
  579. package/esm/__chunks/P3YRKQQJ.js +25 -0
  580. package/esm/__chunks/{I4Q3C2VT.js → PW2PHOSG.js} +28 -30
  581. package/esm/__chunks/RZWNNUWF.js +64 -0
  582. package/esm/__chunks/{UK7JL7PY.js → S7DYINJG.js} +9 -11
  583. package/esm/__chunks/{YZEJGRDQ.js → SDQLXKEV.js} +7 -9
  584. package/esm/__chunks/SOGTNTQC.js +193 -0
  585. package/esm/__chunks/{4GO43MST.js → SP3GKE3F.js} +13 -12
  586. package/esm/__chunks/SSK5L4K7.js +527 -0
  587. package/esm/__chunks/{FMVHAVXA.js → SVBVYDIK.js} +10 -5
  588. package/esm/__chunks/{7H5KSHHF.js → TE637IA7.js} +2 -2
  589. package/esm/__chunks/TH2YTBRW.js +45 -0
  590. package/esm/__chunks/{5HVNGX6D.js → TKSBJDO3.js} +3 -3
  591. package/esm/__chunks/{BHEJ6NUH.js → TNUQLYBS.js} +9 -11
  592. package/esm/__chunks/{ZEXNX5JH.js → TTFA75QD.js} +13 -54
  593. package/esm/__chunks/{TI7CMBHW.js → TWDHCE7Y.js} +2 -2
  594. package/esm/__chunks/{HHNFDKU2.js → TZP63GN5.js} +11 -13
  595. package/esm/__chunks/{ULAW5PPH.js → UFM3D5TN.js} +10 -12
  596. package/esm/__chunks/{W76OTZCC.js → UNDSQXBK.js} +3 -3
  597. package/esm/__chunks/{KSKI4NLV.js → UPJMZO6L.js} +5 -4
  598. package/esm/__chunks/{ZKJ2WLF7.js → URCSOWGR.js} +6 -4
  599. package/esm/__chunks/{4HD64GHO.js → UZMGSJE4.js} +4 -3
  600. package/esm/__chunks/{KK7H3W2B.js → VA234QKF.js} +43 -39
  601. package/esm/__chunks/{KA4GX64Z.js → VBF5EZBB.js} +2 -2
  602. package/esm/__chunks/{QZLXIDNP.js → VVLSOSIG.js} +19 -17
  603. package/esm/__chunks/WCIYB4YS.js +37 -0
  604. package/esm/__chunks/WKBVQ2CE.js +170 -0
  605. package/esm/__chunks/{2QMN5E6B.js → WKII7I2E.js} +2 -3
  606. package/esm/__chunks/WKWX2XLD.js +43 -0
  607. package/esm/__chunks/{G6ONQ5EH.js → WL6TTPTB.js} +16 -13
  608. package/esm/__chunks/{QWSZGSIG.js → WWVP4SPG.js} +10 -12
  609. package/esm/__chunks/{MG4P3223.js → XWCFCD3Q.js} +2 -3
  610. package/esm/__chunks/{G6BJYYBK.js → XXVAHUAO.js} +2 -2
  611. package/esm/__chunks/{RIL2SEAH.js → Y44K72CZ.js} +1 -1
  612. package/esm/__chunks/{NWCBQ4CV.js → ZF6ZK5BT.js} +11 -13
  613. package/esm/__chunks/{636A7WVS.js → ZO6PSJHJ.js} +10 -14
  614. package/esm/__chunks/{XEV62JUQ.js → ZVFJIYOE.js} +2 -2
  615. package/esm/__chunks/ZXBIDNZ3.js +27 -0
  616. package/esm/button/button.d.ts +10 -5
  617. package/esm/button/button.js +4 -4
  618. package/esm/checkbox/checkbox-check.d.ts +9 -5
  619. package/esm/checkbox/checkbox-check.js +2 -2
  620. package/esm/checkbox/checkbox-context.js +2 -2
  621. package/esm/checkbox/checkbox-provider.js +2 -2
  622. package/esm/checkbox/checkbox.d.ts +11 -8
  623. package/esm/checkbox/checkbox.js +5 -5
  624. package/esm/collection/collection-context.js +2 -2
  625. package/esm/collection/collection-item.d.ts +9 -5
  626. package/esm/collection/collection-item.js +3 -3
  627. package/esm/collection/collection-provider.js +2 -2
  628. package/esm/collection/collection-renderer.d.ts +11 -9
  629. package/esm/collection/collection-renderer.js +3 -3
  630. package/esm/collection/collection.d.ts +9 -5
  631. package/esm/collection/collection.js +10 -11
  632. package/esm/combobox/combobox-cancel.d.ts +9 -5
  633. package/esm/combobox/combobox-cancel.js +18 -22
  634. package/esm/combobox/combobox-context.js +7 -7
  635. package/esm/combobox/combobox-disclosure.d.ts +9 -5
  636. package/esm/combobox/combobox-disclosure.js +56 -62
  637. package/esm/combobox/combobox-group-label.d.ts +9 -5
  638. package/esm/combobox/combobox-group-label.js +14 -20
  639. package/esm/combobox/combobox-group.d.ts +9 -5
  640. package/esm/combobox/combobox-group.js +15 -17
  641. package/esm/combobox/combobox-item-check.d.ts +9 -5
  642. package/esm/combobox/combobox-item-check.js +22 -28
  643. package/esm/combobox/combobox-item-value.d.ts +9 -5
  644. package/esm/combobox/combobox-item-value.js +41 -43
  645. package/esm/combobox/combobox-item.d.ts +9 -6
  646. package/esm/combobox/combobox-item.js +20 -21
  647. package/esm/combobox/combobox-label.d.ts +9 -5
  648. package/esm/combobox/combobox-label.js +17 -18
  649. package/esm/combobox/combobox-list.d.ts +9 -6
  650. package/esm/combobox/combobox-list.js +9 -11
  651. package/esm/combobox/combobox-popover.d.ts +9 -5
  652. package/esm/combobox/combobox-popover.js +27 -29
  653. package/esm/combobox/combobox-provider.js +11 -11
  654. package/esm/combobox/combobox-row.d.ts +9 -5
  655. package/esm/combobox/combobox-row.js +14 -16
  656. package/esm/combobox/combobox-separator.d.ts +13 -5
  657. package/esm/combobox/combobox-separator.js +27 -33
  658. package/esm/combobox/combobox-store.d.ts +7 -5
  659. package/esm/combobox/combobox-store.js +4 -4
  660. package/esm/combobox/combobox.d.ts +9 -6
  661. package/esm/combobox/combobox.js +53 -59
  662. package/esm/command/command.d.ts +9 -5
  663. package/esm/command/command.js +3 -3
  664. package/esm/composite/composite-container.d.ts +9 -5
  665. package/esm/composite/composite-container.js +4 -4
  666. package/esm/composite/composite-context.js +3 -3
  667. package/esm/composite/composite-group-label.d.ts +9 -5
  668. package/esm/composite/composite-group-label.js +3 -3
  669. package/esm/composite/composite-group.d.ts +9 -5
  670. package/esm/composite/composite-group.js +3 -3
  671. package/esm/composite/composite-hover.d.ts +9 -6
  672. package/esm/composite/composite-hover.js +4 -4
  673. package/esm/composite/composite-input.d.ts +9 -5
  674. package/esm/composite/composite-input.js +2 -2
  675. package/esm/composite/composite-item.d.ts +9 -6
  676. package/esm/composite/composite-item.js +7 -7
  677. package/esm/composite/composite-overflow-disclosure.d.ts +9 -5
  678. package/esm/composite/composite-overflow-disclosure.js +25 -25
  679. package/esm/composite/composite-overflow-store.d.ts +7 -5
  680. package/esm/composite/composite-overflow-store.js +3 -3
  681. package/esm/composite/composite-overflow.d.ts +9 -5
  682. package/esm/composite/composite-overflow.js +60 -74
  683. package/esm/composite/composite-provider.js +3 -3
  684. package/esm/composite/composite-renderer.d.ts +9 -5
  685. package/esm/composite/composite-renderer.js +5 -5
  686. package/esm/composite/composite-row.d.ts +9 -5
  687. package/esm/composite/composite-row.js +4 -4
  688. package/esm/composite/composite-separator.d.ts +9 -5
  689. package/esm/composite/composite-separator.js +5 -5
  690. package/esm/composite/composite-typeahead.d.ts +9 -5
  691. package/esm/composite/composite-typeahead.js +4 -4
  692. package/esm/composite/composite.d.ts +9 -6
  693. package/esm/composite/composite.js +5 -5
  694. package/esm/dialog/dialog-backdrop.d.ts +2 -2
  695. package/esm/dialog/dialog-backdrop.js +7 -7
  696. package/esm/dialog/dialog-context.js +3 -3
  697. package/esm/dialog/dialog-description.d.ts +9 -5
  698. package/esm/dialog/dialog-description.js +4 -4
  699. package/esm/dialog/dialog-disclosure.d.ts +9 -5
  700. package/esm/dialog/dialog-disclosure.js +8 -8
  701. package/esm/dialog/dialog-dismiss.d.ts +9 -5
  702. package/esm/dialog/dialog-dismiss.js +7 -7
  703. package/esm/dialog/dialog-heading.d.ts +9 -5
  704. package/esm/dialog/dialog-heading.js +5 -5
  705. package/esm/dialog/dialog-provider.js +5 -5
  706. package/esm/dialog/dialog-store.d.ts +7 -5
  707. package/esm/dialog/dialog-store.js +2 -2
  708. package/esm/dialog/dialog.d.ts +10 -15
  709. package/esm/dialog/dialog.js +15 -15
  710. package/esm/dialog/utils/disable-tree.js +1 -1
  711. package/esm/disclosure/disclosure-content.d.ts +9 -5
  712. package/esm/disclosure/disclosure-content.js +4 -4
  713. package/esm/disclosure/disclosure-context.js +2 -2
  714. package/esm/disclosure/disclosure-provider.js +3 -3
  715. package/esm/disclosure/disclosure-store.d.ts +14 -4
  716. package/esm/disclosure/disclosure-store.js +1 -1
  717. package/esm/disclosure/disclosure.d.ts +9 -6
  718. package/esm/disclosure/disclosure.js +6 -6
  719. package/esm/focus-trap/focus-trap-region.d.ts +9 -5
  720. package/esm/focus-trap/focus-trap-region.js +13 -16
  721. package/esm/focus-trap/focus-trap.d.ts +9 -5
  722. package/esm/focus-trap/focus-trap.js +3 -3
  723. package/esm/focusable/focusable-container.d.ts +10 -6
  724. package/esm/focusable/focusable-container.js +2 -2
  725. package/esm/focusable/focusable.d.ts +13 -10
  726. package/esm/focusable/focusable.js +2 -2
  727. package/esm/form/form-checkbox.d.ts +9 -5
  728. package/esm/form/form-checkbox.js +30 -19
  729. package/esm/form/form-context.js +3 -3
  730. package/esm/form/form-control.d.ts +9 -6
  731. package/esm/form/form-control.js +5 -5
  732. package/esm/form/form-description.d.ts +9 -5
  733. package/esm/form/form-description.js +21 -14
  734. package/esm/form/form-error.d.ts +9 -5
  735. package/esm/form/form-error.js +23 -14
  736. package/esm/form/form-field.d.ts +9 -5
  737. package/esm/form/form-field.js +19 -16
  738. package/esm/form/form-group-label.d.ts +9 -5
  739. package/esm/form/form-group-label.js +10 -14
  740. package/esm/form/form-group.d.ts +9 -5
  741. package/esm/form/form-group.js +3 -3
  742. package/esm/form/form-input.d.ts +9 -5
  743. package/esm/form/form-input.js +16 -15
  744. package/esm/form/form-label.d.ts +9 -5
  745. package/esm/form/form-label.js +23 -14
  746. package/esm/form/form-provider.js +3 -3
  747. package/esm/form/form-push.d.ts +9 -5
  748. package/esm/form/form-push.js +13 -15
  749. package/esm/form/form-radio-group.d.ts +9 -5
  750. package/esm/form/form-radio-group.js +11 -15
  751. package/esm/form/form-radio.d.ts +9 -5
  752. package/esm/form/form-radio.js +21 -20
  753. package/esm/form/form-remove.d.ts +9 -5
  754. package/esm/form/form-remove.js +23 -15
  755. package/esm/form/form-reset.d.ts +9 -5
  756. package/esm/form/form-reset.js +12 -14
  757. package/esm/form/form-submit.d.ts +9 -5
  758. package/esm/form/form-submit.js +12 -14
  759. package/esm/form/form.d.ts +9 -5
  760. package/esm/form/form.js +119 -123
  761. package/esm/group/group-label.d.ts +10 -5
  762. package/esm/group/group-label.js +2 -2
  763. package/esm/group/group.d.ts +9 -5
  764. package/esm/group/group.js +2 -2
  765. package/esm/heading/heading-level.d.ts +2 -2
  766. package/esm/heading/heading.d.ts +9 -5
  767. package/esm/heading/heading.js +2 -2
  768. package/esm/hovercard/hovercard-anchor.d.ts +9 -6
  769. package/esm/hovercard/hovercard-anchor.js +7 -7
  770. package/esm/hovercard/hovercard-arrow.d.ts +9 -5
  771. package/esm/hovercard/hovercard-arrow.js +14 -18
  772. package/esm/hovercard/hovercard-context.js +5 -5
  773. package/esm/hovercard/hovercard-description.d.ts +9 -5
  774. package/esm/hovercard/hovercard-description.js +6 -6
  775. package/esm/hovercard/hovercard-disclosure.d.ts +9 -5
  776. package/esm/hovercard/hovercard-disclosure.js +105 -111
  777. package/esm/hovercard/hovercard-dismiss.d.ts +9 -5
  778. package/esm/hovercard/hovercard-dismiss.js +11 -11
  779. package/esm/hovercard/hovercard-heading.d.ts +9 -5
  780. package/esm/hovercard/hovercard-heading.js +7 -7
  781. package/esm/hovercard/hovercard-provider.js +9 -9
  782. package/esm/hovercard/hovercard-store.d.ts +7 -5
  783. package/esm/hovercard/hovercard-store.js +4 -4
  784. package/esm/hovercard/hovercard.d.ts +9 -5
  785. package/esm/hovercard/hovercard.js +19 -19
  786. package/esm/menu/menu-arrow.d.ts +9 -5
  787. package/esm/menu/menu-arrow.js +16 -18
  788. package/esm/menu/menu-bar-provider.js +14 -5
  789. package/esm/menu/menu-bar-store.js +9 -0
  790. package/esm/menu/menu-bar.d.ts +9 -5
  791. package/esm/menu/menu-bar.js +26 -17
  792. package/esm/menu/menu-button-arrow.d.ts +9 -5
  793. package/esm/menu/menu-button-arrow.js +18 -22
  794. package/esm/menu/menu-button.d.ts +9 -5
  795. package/esm/menu/menu-button.js +36 -28
  796. package/esm/menu/menu-context.js +9 -9
  797. package/esm/menu/menu-description.d.ts +9 -5
  798. package/esm/menu/menu-description.js +14 -18
  799. package/esm/menu/menu-dismiss.d.ts +9 -5
  800. package/esm/menu/menu-dismiss.js +21 -23
  801. package/esm/menu/menu-group-label.d.ts +9 -5
  802. package/esm/menu/menu-group-label.js +14 -16
  803. package/esm/menu/menu-group.d.ts +9 -5
  804. package/esm/menu/menu-group.js +14 -14
  805. package/esm/menu/menu-heading.d.ts +9 -5
  806. package/esm/menu/menu-heading.js +18 -18
  807. package/esm/menu/menu-item-check.d.ts +9 -5
  808. package/esm/menu/menu-item-check.js +16 -18
  809. package/esm/menu/menu-item-checkbox.d.ts +9 -5
  810. package/esm/menu/menu-item-checkbox.js +25 -26
  811. package/esm/menu/menu-item-radio.d.ts +9 -5
  812. package/esm/menu/menu-item-radio.js +26 -27
  813. package/esm/menu/menu-item.d.ts +9 -6
  814. package/esm/menu/menu-item.js +15 -15
  815. package/esm/menu/menu-list.d.ts +9 -5
  816. package/esm/menu/menu-list.js +14 -14
  817. package/esm/menu/menu-provider.js +15 -15
  818. package/esm/menu/menu-separator.d.ts +9 -5
  819. package/esm/menu/menu-separator.js +17 -19
  820. package/esm/menu/menu-store.d.ts +6 -4
  821. package/esm/menu/menu-store.js +15 -15
  822. package/esm/menu/menu.d.ts +9 -5
  823. package/esm/menu/menu.js +178 -181
  824. package/esm/menubar/menubar-context.js +4 -4
  825. package/esm/menubar/menubar-provider.js +5 -5
  826. package/esm/menubar/menubar.d.ts +9 -5
  827. package/esm/menubar/menubar.js +7 -7
  828. package/esm/popover/popover-anchor.d.ts +9 -5
  829. package/esm/popover/popover-anchor.js +5 -5
  830. package/esm/popover/popover-arrow.d.ts +9 -5
  831. package/esm/popover/popover-arrow.js +5 -5
  832. package/esm/popover/popover-context.js +4 -4
  833. package/esm/popover/popover-description.d.ts +9 -5
  834. package/esm/popover/popover-description.js +5 -5
  835. package/esm/popover/popover-disclosure-arrow.d.ts +9 -5
  836. package/esm/popover/popover-disclosure-arrow.js +5 -5
  837. package/esm/popover/popover-disclosure.d.ts +9 -5
  838. package/esm/popover/popover-disclosure.js +11 -11
  839. package/esm/popover/popover-dismiss.d.ts +9 -5
  840. package/esm/popover/popover-dismiss.js +9 -9
  841. package/esm/popover/popover-heading.d.ts +9 -5
  842. package/esm/popover/popover-heading.js +6 -6
  843. package/esm/popover/popover-provider.js +7 -7
  844. package/esm/popover/popover-store.d.ts +7 -5
  845. package/esm/popover/popover-store.js +3 -3
  846. package/esm/popover/popover.d.ts +8 -6
  847. package/esm/popover/popover.js +17 -17
  848. package/esm/portal/portal.d.ts +9 -6
  849. package/esm/portal/portal.js +4 -4
  850. package/esm/radio/radio-context.js +4 -4
  851. package/esm/radio/radio-group.d.ts +9 -5
  852. package/esm/radio/radio-group.js +12 -14
  853. package/esm/radio/radio-provider.js +4 -4
  854. package/esm/radio/radio.d.ts +11 -7
  855. package/esm/radio/radio.js +9 -9
  856. package/esm/role/role.d.ts +10 -6
  857. package/esm/role/role.js +2 -2
  858. package/esm/select/select-arrow.d.ts +9 -5
  859. package/esm/select/select-arrow.js +9 -9
  860. package/esm/select/select-context.js +7 -7
  861. package/esm/select/select-group-label.d.ts +9 -5
  862. package/esm/select/select-group-label.js +11 -15
  863. package/esm/select/select-group.d.ts +9 -5
  864. package/esm/select/select-group.js +14 -14
  865. package/esm/select/select-item-check.d.ts +9 -5
  866. package/esm/select/select-item-check.js +16 -20
  867. package/esm/select/select-item.d.ts +9 -6
  868. package/esm/select/select-item.js +23 -22
  869. package/esm/select/select-label.d.ts +9 -5
  870. package/esm/select/select-label.js +19 -18
  871. package/esm/select/select-list.d.ts +9 -6
  872. package/esm/select/select-list.js +12 -12
  873. package/esm/select/select-popover.d.ts +9 -5
  874. package/esm/select/select-popover.js +29 -31
  875. package/esm/select/select-provider.js +12 -12
  876. package/esm/select/select-renderer.d.ts +4 -2
  877. package/esm/select/select-renderer.js +11 -10
  878. package/esm/select/select-row.d.ts +9 -5
  879. package/esm/select/select-row.js +14 -16
  880. package/esm/select/select-separator.d.ts +12 -5
  881. package/esm/select/select-separator.js +17 -21
  882. package/esm/select/select-store.d.ts +6 -4
  883. package/esm/select/select-store.js +11 -11
  884. package/esm/select/select.d.ts +9 -6
  885. package/esm/select/select.js +230 -236
  886. package/esm/separator/separator.d.ts +9 -5
  887. package/esm/separator/separator.js +2 -2
  888. package/esm/tab/tab-context.js +4 -4
  889. package/esm/tab/tab-list.d.ts +9 -5
  890. package/esm/tab/tab-list.js +36 -36
  891. package/esm/tab/tab-panel.d.ts +9 -5
  892. package/esm/tab/tab-panel.js +25 -19
  893. package/esm/tab/tab-provider.js +4 -4
  894. package/esm/tab/tab.d.ts +9 -5
  895. package/esm/tab/tab.js +75 -76
  896. package/esm/toolbar/toolbar-container.d.ts +9 -5
  897. package/esm/toolbar/toolbar-container.js +18 -19
  898. package/esm/toolbar/toolbar-context.js +4 -4
  899. package/esm/toolbar/toolbar-input.d.ts +9 -5
  900. package/esm/toolbar/toolbar-input.js +18 -19
  901. package/esm/toolbar/toolbar-item.d.ts +9 -5
  902. package/esm/toolbar/toolbar-item.js +9 -9
  903. package/esm/toolbar/toolbar-provider.js +4 -4
  904. package/esm/toolbar/toolbar-separator.d.ts +9 -5
  905. package/esm/toolbar/toolbar-separator.js +14 -18
  906. package/esm/toolbar/toolbar.d.ts +9 -5
  907. package/esm/toolbar/toolbar.js +12 -14
  908. package/esm/tooltip/tooltip-anchor.d.ts +14 -5
  909. package/esm/tooltip/tooltip-anchor.js +16 -19
  910. package/esm/tooltip/tooltip-arrow.d.ts +9 -5
  911. package/esm/tooltip/tooltip-arrow.js +13 -15
  912. package/esm/tooltip/tooltip-context.js +6 -6
  913. package/esm/tooltip/tooltip-provider.js +11 -11
  914. package/esm/tooltip/tooltip-store.d.ts +7 -5
  915. package/esm/tooltip/tooltip-store.js +5 -5
  916. package/esm/tooltip/tooltip.d.ts +14 -5
  917. package/esm/tooltip/tooltip.js +27 -29
  918. package/esm/utils/system.d.ts +6 -65
  919. package/esm/utils/system.js +1 -5
  920. package/esm/utils/types.d.ts +30 -53
  921. package/esm/visually-hidden/visually-hidden.d.ts +10 -5
  922. package/esm/visually-hidden/visually-hidden.js +2 -2
  923. package/package.json +2 -2
  924. package/cjs/__chunks/23HLSVKM.cjs +0 -39
  925. package/cjs/__chunks/2KDFQUU7.cjs +0 -35
  926. package/cjs/__chunks/5UTRYT6E.cjs +0 -52
  927. package/cjs/__chunks/62JWM3VQ.cjs +0 -49
  928. package/cjs/__chunks/65LGW5LY.cjs +0 -285
  929. package/cjs/__chunks/6PUZ4NWR.cjs +0 -137
  930. package/cjs/__chunks/7566TIRW.cjs +0 -43
  931. package/cjs/__chunks/ACTXAOA6.cjs +0 -29
  932. package/cjs/__chunks/D4TG5DM4.cjs +0 -128
  933. package/cjs/__chunks/F34KLJKG.cjs +0 -50
  934. package/cjs/__chunks/G2ZXRZ2R.cjs +0 -155
  935. package/cjs/__chunks/JQS6X2I5.cjs +0 -189
  936. package/cjs/__chunks/KQN7YDDZ.cjs +0 -39
  937. package/cjs/__chunks/KRB7URW5.cjs +0 -31
  938. package/cjs/__chunks/KSAZE5E2.cjs +0 -44
  939. package/cjs/__chunks/LICANQTI.cjs +0 -70
  940. package/cjs/__chunks/NY3D6JQT.cjs +0 -41
  941. package/cjs/__chunks/QQCFY3MB.cjs +0 -44
  942. package/cjs/__chunks/R66IWXK6.cjs +0 -42
  943. package/cjs/__chunks/TK6GOI2V.cjs +0 -51
  944. package/cjs/__chunks/TUDQDX77.cjs +0 -35
  945. package/cjs/__chunks/UKXZY6PK.cjs +0 -33
  946. package/cjs/__chunks/UXFBTIBY.cjs +0 -41
  947. package/cjs/__chunks/VIUIA2WF.cjs +0 -29
  948. package/cjs/__chunks/VJES6KQ3.cjs +0 -31
  949. package/cjs/__chunks/XB3G2EO2.cjs +0 -43
  950. package/cjs/__chunks/YPVQYY4J.cjs +0 -156
  951. package/cjs/__chunks/YU7XEYUJ.cjs +0 -80
  952. package/cjs/__chunks/ZL5DC555.cjs +0 -539
  953. package/esm/__chunks/346FK57L.js +0 -137
  954. package/esm/__chunks/4CK3XZ4H.js +0 -31
  955. package/esm/__chunks/4ZEZYKUR.js +0 -70
  956. package/esm/__chunks/5LK2LG7Q.js +0 -35
  957. package/esm/__chunks/6N2ESJUH.js +0 -31
  958. package/esm/__chunks/ANIYCUCU.js +0 -29
  959. package/esm/__chunks/BG6HZDS7.js +0 -42
  960. package/esm/__chunks/CHKJ74UC.js +0 -43
  961. package/esm/__chunks/CLE7NTOY.js +0 -156
  962. package/esm/__chunks/DIP7XAI7.js +0 -49
  963. package/esm/__chunks/ENRQQ6LK.js +0 -50
  964. package/esm/__chunks/HPP6CWMY.js +0 -43
  965. package/esm/__chunks/IMEG7JN4.js +0 -189
  966. package/esm/__chunks/JHO32H4J.js +0 -80
  967. package/esm/__chunks/JL6IRDFK.js +0 -155
  968. package/esm/__chunks/JPXNJYSO.js +0 -285
  969. package/esm/__chunks/NERBASET.js +0 -539
  970. package/esm/__chunks/NT7GEZQU.js +0 -44
  971. package/esm/__chunks/P4FX6ZFL.js +0 -51
  972. package/esm/__chunks/R2QZ3KXH.js +0 -44
  973. package/esm/__chunks/RJDEYIKS.js +0 -29
  974. package/esm/__chunks/VDNZBO4W.js +0 -52
@@ -1,5 +1,8 @@
1
- import type { As, Options, Props } from "../utils/types.js";
1
+ import type { ElementType } from "react";
2
+ import type { Options, Props } from "../utils/types.js";
2
3
  import type { CheckboxStore } from "./checkbox-store.js";
4
+ declare const TagName = "span";
5
+ type TagName = typeof TagName;
3
6
  /**
4
7
  * Returns props to create a `CheckboxCheck` component, that's usually rendered
5
8
  * inside a `Checkbox` component.
@@ -10,7 +13,7 @@ import type { CheckboxStore } from "./checkbox-store.js";
10
13
  * <Role {...props} />
11
14
  * ```
12
15
  */
13
- export declare const useCheckboxCheck: import("../utils/types.js").Hook<CheckboxCheckOptions<"span">>;
16
+ export declare const useCheckboxCheck: import("../utils/types.js").Hook<"span", CheckboxCheckOptions<"span">>;
14
17
  /**
15
18
  * Renders a checkmark icon when the
16
19
  * [`checked`](https://ariakit.org/reference/checkbox-check#checked) prop is
@@ -26,8 +29,8 @@ export declare const useCheckboxCheck: import("../utils/types.js").Hook<Checkbox
26
29
  * <CheckboxCheck checked />
27
30
  * ```
28
31
  */
29
- export declare const CheckboxCheck: import("../utils/types.js").Component<CheckboxCheckOptions<"span">>;
30
- export interface CheckboxCheckOptions<T extends As = "span"> extends Options<T> {
32
+ export declare const CheckboxCheck: (props: CheckboxCheckProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
33
+ export interface CheckboxCheckOptions<_T extends ElementType = TagName> extends Options {
31
34
  /**
32
35
  * Object returned by the
33
36
  * [`useCheckboxStore`](https://ariakit.org/reference/use-checkbox-store)
@@ -45,4 +48,5 @@ export interface CheckboxCheckOptions<T extends As = "span"> extends Options<T>
45
48
  */
46
49
  checked?: boolean;
47
50
  }
48
- export type CheckboxCheckProps<T extends As = "span"> = Props<CheckboxCheckOptions<T>>;
51
+ export type CheckboxCheckProps<T extends ElementType = TagName> = Props<T, CheckboxCheckOptions<T>>;
52
+ export {};
@@ -1,5 +1,8 @@
1
- import type { As, Options, Props } from "../utils/types.js";
1
+ import type { ElementType } from "react";
2
+ import type { Options, Props } from "../utils/types.js";
2
3
  import type { CheckboxStore } from "./checkbox-store.js";
4
+ declare const TagName = "span";
5
+ type TagName = typeof TagName;
3
6
  /**
4
7
  * Returns props to create a `CheckboxCheck` component, that's usually rendered
5
8
  * inside a `Checkbox` component.
@@ -10,7 +13,7 @@ import type { CheckboxStore } from "./checkbox-store.js";
10
13
  * <Role {...props} />
11
14
  * ```
12
15
  */
13
- export declare const useCheckboxCheck: import("../utils/types.js").Hook<CheckboxCheckOptions<"span">>;
16
+ export declare const useCheckboxCheck: import("../utils/types.js").Hook<"span", CheckboxCheckOptions<"span">>;
14
17
  /**
15
18
  * Renders a checkmark icon when the
16
19
  * [`checked`](https://ariakit.org/reference/checkbox-check#checked) prop is
@@ -26,8 +29,8 @@ export declare const useCheckboxCheck: import("../utils/types.js").Hook<Checkbox
26
29
  * <CheckboxCheck checked />
27
30
  * ```
28
31
  */
29
- export declare const CheckboxCheck: import("../utils/types.js").Component<CheckboxCheckOptions<"span">>;
30
- export interface CheckboxCheckOptions<T extends As = "span"> extends Options<T> {
32
+ export declare const CheckboxCheck: (props: CheckboxCheckProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
33
+ export interface CheckboxCheckOptions<_T extends ElementType = TagName> extends Options {
31
34
  /**
32
35
  * Object returned by the
33
36
  * [`useCheckboxStore`](https://ariakit.org/reference/use-checkbox-store)
@@ -45,4 +48,5 @@ export interface CheckboxCheckOptions<T extends As = "span"> extends Options<T>
45
48
  */
46
49
  checked?: boolean;
47
50
  }
48
- export type CheckboxCheckProps<T extends As = "span"> = Props<CheckboxCheckOptions<T>>;
51
+ export type CheckboxCheckProps<T extends ElementType = TagName> = Props<T, CheckboxCheckOptions<T>>;
52
+ export {};
@@ -5,8 +5,8 @@
5
5
 
6
6
 
7
7
 
8
- var _63UPRTFZcjs = require('../__chunks/63UPRTFZ.cjs');
9
- require('../__chunks/RNZNGEL4.cjs');
8
+ var _OIGGI6DIcjs = require('../__chunks/OIGGI6DI.cjs');
9
+ require('../__chunks/Q67LZMDT.cjs');
10
10
  require('../__chunks/EO6LS72H.cjs');
11
11
  require('../__chunks/CJDHQUBR.cjs');
12
12
  require('../__chunks/AV6KTKLE.cjs');
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.CheckboxContextProvider = _63UPRTFZcjs.CheckboxContextProvider; exports.CheckboxScopedContextProvider = _63UPRTFZcjs.CheckboxScopedContextProvider; exports.useCheckboxContext = _63UPRTFZcjs.useCheckboxContext; exports.useCheckboxProviderContext = _63UPRTFZcjs.useCheckboxProviderContext; exports.useCheckboxScopedContext = _63UPRTFZcjs.useCheckboxScopedContext;
19
+ exports.CheckboxContextProvider = _OIGGI6DIcjs.CheckboxContextProvider; exports.CheckboxScopedContextProvider = _OIGGI6DIcjs.CheckboxScopedContextProvider; exports.useCheckboxContext = _OIGGI6DIcjs.useCheckboxContext; exports.useCheckboxProviderContext = _OIGGI6DIcjs.useCheckboxProviderContext; exports.useCheckboxScopedContext = _OIGGI6DIcjs.useCheckboxScopedContext;
@@ -4,8 +4,8 @@
4
4
  var _VPQQSYH7cjs = require('../__chunks/VPQQSYH7.cjs');
5
5
 
6
6
 
7
- var _63UPRTFZcjs = require('../__chunks/63UPRTFZ.cjs');
8
- require('../__chunks/RNZNGEL4.cjs');
7
+ var _OIGGI6DIcjs = require('../__chunks/OIGGI6DI.cjs');
8
+ require('../__chunks/Q67LZMDT.cjs');
9
9
  require('../__chunks/OLOZ5JT2.cjs');
10
10
  require('../__chunks/EO6LS72H.cjs');
11
11
  require('../__chunks/CJDHQUBR.cjs');
@@ -15,7 +15,7 @@ require('../__chunks/AV6KTKLE.cjs');
15
15
  var _jsxruntime = require('react/jsx-runtime');
16
16
  function CheckboxProvider(props = {}) {
17
17
  const store = _VPQQSYH7cjs.useCheckboxStore.call(void 0, props);
18
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _63UPRTFZcjs.CheckboxContextProvider, { value: store, children: props.children });
18
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _OIGGI6DIcjs.CheckboxContextProvider, { value: store, children: props.children });
19
19
  }
20
20
 
21
21
 
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _BBS4RP44cjs = require('../__chunks/BBS4RP44.cjs');
6
- require('../__chunks/63UPRTFZ.cjs');
5
+ var _OUTZPTLJcjs = require('../__chunks/OUTZPTLJ.cjs');
6
+ require('../__chunks/OIGGI6DI.cjs');
7
7
  require('../__chunks/ERFHNHON.cjs');
8
- require('../__chunks/DAJUUBUI.cjs');
9
- require('../__chunks/Z3GCTNW4.cjs');
8
+ require('../__chunks/ZMTZTMRS.cjs');
9
+ require('../__chunks/5QD55NKL.cjs');
10
10
  require('../__chunks/75KXQZJX.cjs');
11
- require('../__chunks/RNZNGEL4.cjs');
11
+ require('../__chunks/Q67LZMDT.cjs');
12
12
  require('../__chunks/OLOZ5JT2.cjs');
13
13
  require('../__chunks/EO6LS72H.cjs');
14
14
  require('../__chunks/CJDHQUBR.cjs');
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.Checkbox = _BBS4RP44cjs.Checkbox; exports.useCheckbox = _BBS4RP44cjs.useCheckbox;
19
+ exports.Checkbox = _OUTZPTLJcjs.Checkbox; exports.useCheckbox = _OUTZPTLJcjs.useCheckbox;
@@ -1,7 +1,9 @@
1
- import type { ChangeEvent, InputHTMLAttributes } from "react";
1
+ import type { ComponentPropsWithoutRef, ElementType } from "react";
2
2
  import type { CommandOptions } from "../command/command.js";
3
- import type { As, Props } from "../utils/types.js";
3
+ import type { Props } from "../utils/types.js";
4
4
  import type { CheckboxStore } from "./checkbox-store.js";
5
+ declare const TagName = "input";
6
+ type TagName = typeof TagName;
5
7
  /**
6
8
  * Returns props to create a `Checkbox` component. If the element is not a
7
9
  * native checkbox, the hook will return additional props to make sure it's
@@ -13,7 +15,7 @@ import type { CheckboxStore } from "./checkbox-store.js";
13
15
  * <Role {...props}>Accessible checkbox</Role>
14
16
  * ```
15
17
  */
16
- export declare const useCheckbox: import("../utils/types.js").Hook<CheckboxOptions<"input">>;
18
+ export declare const useCheckbox: import("../utils/types.js").Hook<"input", CheckboxOptions<"input">>;
17
19
  /**
18
20
  * Renders an accessible checkbox element. If the underlying element is not a
19
21
  * native checkbox, this component will pass additional attributes to make sure
@@ -24,8 +26,8 @@ export declare const useCheckbox: import("../utils/types.js").Hook<CheckboxOptio
24
26
  * <Checkbox render={<div />}>Accessible checkbox</Checkbox>
25
27
  * ```
26
28
  */
27
- export declare const Checkbox: import("../utils/types.js").Component<CheckboxOptions<"input">>;
28
- export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<T> {
29
+ export declare const Checkbox: (props: CheckboxProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
30
+ export interface CheckboxOptions<T extends ElementType = TagName> extends CommandOptions<T> {
29
31
  /**
30
32
  * Object returned by the
31
33
  * [`useCheckboxStore`](https://ariakit.org/reference/use-checkbox-store)
@@ -62,7 +64,7 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
62
64
  * </CheckboxProvider>
63
65
  * ```
64
66
  */
65
- value?: InputHTMLAttributes<HTMLInputElement>["value"];
67
+ value?: ComponentPropsWithoutRef<TagName>["value"];
66
68
  /**
67
69
  * The default checked state of the checkbox. This prop is ignored if the
68
70
  * [`checked`](https://ariakit.org/reference/checkbox#checked) or the
@@ -79,6 +81,7 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
79
81
  /**
80
82
  * A function that is called when the checkbox's checked state changes.
81
83
  */
82
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
84
+ onChange?: ComponentPropsWithoutRef<TagName>["onChange"];
83
85
  }
84
- export type CheckboxProps<T extends As = "input"> = Props<CheckboxOptions<T>>;
86
+ export type CheckboxProps<T extends ElementType = TagName> = Props<T, CheckboxOptions<T>>;
87
+ export {};
@@ -1,7 +1,9 @@
1
- import type { ChangeEvent, InputHTMLAttributes } from "react";
1
+ import type { ComponentPropsWithoutRef, ElementType } from "react";
2
2
  import type { CommandOptions } from "../command/command.js";
3
- import type { As, Props } from "../utils/types.js";
3
+ import type { Props } from "../utils/types.js";
4
4
  import type { CheckboxStore } from "./checkbox-store.js";
5
+ declare const TagName = "input";
6
+ type TagName = typeof TagName;
5
7
  /**
6
8
  * Returns props to create a `Checkbox` component. If the element is not a
7
9
  * native checkbox, the hook will return additional props to make sure it's
@@ -13,7 +15,7 @@ import type { CheckboxStore } from "./checkbox-store.js";
13
15
  * <Role {...props}>Accessible checkbox</Role>
14
16
  * ```
15
17
  */
16
- export declare const useCheckbox: import("../utils/types.js").Hook<CheckboxOptions<"input">>;
18
+ export declare const useCheckbox: import("../utils/types.js").Hook<"input", CheckboxOptions<"input">>;
17
19
  /**
18
20
  * Renders an accessible checkbox element. If the underlying element is not a
19
21
  * native checkbox, this component will pass additional attributes to make sure
@@ -24,8 +26,8 @@ export declare const useCheckbox: import("../utils/types.js").Hook<CheckboxOptio
24
26
  * <Checkbox render={<div />}>Accessible checkbox</Checkbox>
25
27
  * ```
26
28
  */
27
- export declare const Checkbox: import("../utils/types.js").Component<CheckboxOptions<"input">>;
28
- export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<T> {
29
+ export declare const Checkbox: (props: CheckboxProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
30
+ export interface CheckboxOptions<T extends ElementType = TagName> extends CommandOptions<T> {
29
31
  /**
30
32
  * Object returned by the
31
33
  * [`useCheckboxStore`](https://ariakit.org/reference/use-checkbox-store)
@@ -62,7 +64,7 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
62
64
  * </CheckboxProvider>
63
65
  * ```
64
66
  */
65
- value?: InputHTMLAttributes<HTMLInputElement>["value"];
67
+ value?: ComponentPropsWithoutRef<TagName>["value"];
66
68
  /**
67
69
  * The default checked state of the checkbox. This prop is ignored if the
68
70
  * [`checked`](https://ariakit.org/reference/checkbox#checked) or the
@@ -79,6 +81,7 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
79
81
  /**
80
82
  * A function that is called when the checkbox's checked state changes.
81
83
  */
82
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
84
+ onChange?: ComponentPropsWithoutRef<TagName>["onChange"];
83
85
  }
84
- export type CheckboxProps<T extends As = "input"> = Props<CheckboxOptions<T>>;
86
+ export type CheckboxProps<T extends ElementType = TagName> = Props<T, CheckboxOptions<T>>;
87
+ export {};
@@ -5,8 +5,8 @@
5
5
 
6
6
 
7
7
 
8
- var _BZTDJIVTcjs = require('../__chunks/BZTDJIVT.cjs');
9
- require('../__chunks/RNZNGEL4.cjs');
8
+ var _Q6CVYJBOcjs = require('../__chunks/Q6CVYJBO.cjs');
9
+ require('../__chunks/Q67LZMDT.cjs');
10
10
  require('../__chunks/EO6LS72H.cjs');
11
11
  require('../__chunks/CJDHQUBR.cjs');
12
12
  require('../__chunks/AV6KTKLE.cjs');
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.CollectionContextProvider = _BZTDJIVTcjs.CollectionContextProvider; exports.CollectionScopedContextProvider = _BZTDJIVTcjs.CollectionScopedContextProvider; exports.useCollectionContext = _BZTDJIVTcjs.useCollectionContext; exports.useCollectionProviderContext = _BZTDJIVTcjs.useCollectionProviderContext; exports.useCollectionScopedContext = _BZTDJIVTcjs.useCollectionScopedContext;
19
+ exports.CollectionContextProvider = _Q6CVYJBOcjs.CollectionContextProvider; exports.CollectionScopedContextProvider = _Q6CVYJBOcjs.CollectionScopedContextProvider; exports.useCollectionContext = _Q6CVYJBOcjs.useCollectionContext; exports.useCollectionProviderContext = _Q6CVYJBOcjs.useCollectionProviderContext; exports.useCollectionScopedContext = _Q6CVYJBOcjs.useCollectionScopedContext;
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _R5A2WTWBcjs = require('../__chunks/R5A2WTWB.cjs');
6
- require('../__chunks/BZTDJIVT.cjs');
7
- require('../__chunks/RNZNGEL4.cjs');
5
+ var _XWCNZ2IPcjs = require('../__chunks/XWCNZ2IP.cjs');
6
+ require('../__chunks/Q6CVYJBO.cjs');
7
+ require('../__chunks/Q67LZMDT.cjs');
8
8
  require('../__chunks/EO6LS72H.cjs');
9
9
  require('../__chunks/CJDHQUBR.cjs');
10
10
  require('../__chunks/AV6KTKLE.cjs');
11
11
 
12
12
 
13
13
 
14
- exports.CollectionItem = _R5A2WTWBcjs.CollectionItem; exports.useCollectionItem = _R5A2WTWBcjs.useCollectionItem;
14
+ exports.CollectionItem = _XWCNZ2IPcjs.CollectionItem; exports.useCollectionItem = _XWCNZ2IPcjs.useCollectionItem;
@@ -1,6 +1,9 @@
1
+ import type { ElementType } from "react";
1
2
  import type { CollectionStoreItem } from "@ariakit/core/collection/collection-store";
2
- import type { As, Options, Props } from "../utils/types.js";
3
+ import type { Options, Props } from "../utils/types.js";
3
4
  import type { CollectionStore } from "./collection-store.js";
5
+ declare const TagName = "div";
6
+ type TagName = typeof TagName;
4
7
  /**
5
8
  * Returns props to create a `CollectionItem` component. This hook will register
6
9
  * the item in the collection store. If this hook is used in a component that is
@@ -14,7 +17,7 @@ import type { CollectionStore } from "./collection-store.js";
14
17
  * <Role {...props}>Item</Role>
15
18
  * ```
16
19
  */
17
- export declare const useCollectionItem: import("../utils/types.js").Hook<CollectionItemOptions<"div">>;
20
+ export declare const useCollectionItem: import("../utils/types.js").Hook<"div", CollectionItemOptions<"div">>;
18
21
  /**
19
22
  * Renders an item in a collection. The collection store can be passed
20
23
  * explicitly through the
@@ -30,8 +33,8 @@ export declare const useCollectionItem: import("../utils/types.js").Hook<Collect
30
33
  * <CollectionItem store={store}>Item 3</CollectionItem>
31
34
  * ```
32
35
  */
33
- export declare const CollectionItem: import("../utils/types.js").Component<CollectionItemOptions<"div">>;
34
- export interface CollectionItemOptions<T extends As = "div"> extends Options<T> {
36
+ export declare const CollectionItem: (props: CollectionItemProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
37
+ export interface CollectionItemOptions<_T extends ElementType = TagName> extends Options {
35
38
  /**
36
39
  * Object returned by the
37
40
  * [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
@@ -73,4 +76,5 @@ export interface CollectionItemOptions<T extends As = "div"> extends Options<T>
73
76
  */
74
77
  getItem?: (props: CollectionStoreItem) => CollectionStoreItem;
75
78
  }
76
- export type CollectionItemProps<T extends As = "div"> = Props<CollectionItemOptions<T>>;
79
+ export type CollectionItemProps<T extends ElementType = TagName> = Props<T, CollectionItemOptions<T>>;
80
+ export {};
@@ -1,6 +1,9 @@
1
+ import type { ElementType } from "react";
1
2
  import type { CollectionStoreItem } from "@ariakit/core/collection/collection-store";
2
- import type { As, Options, Props } from "../utils/types.js";
3
+ import type { Options, Props } from "../utils/types.js";
3
4
  import type { CollectionStore } from "./collection-store.js";
5
+ declare const TagName = "div";
6
+ type TagName = typeof TagName;
4
7
  /**
5
8
  * Returns props to create a `CollectionItem` component. This hook will register
6
9
  * the item in the collection store. If this hook is used in a component that is
@@ -14,7 +17,7 @@ import type { CollectionStore } from "./collection-store.js";
14
17
  * <Role {...props}>Item</Role>
15
18
  * ```
16
19
  */
17
- export declare const useCollectionItem: import("../utils/types.js").Hook<CollectionItemOptions<"div">>;
20
+ export declare const useCollectionItem: import("../utils/types.js").Hook<"div", CollectionItemOptions<"div">>;
18
21
  /**
19
22
  * Renders an item in a collection. The collection store can be passed
20
23
  * explicitly through the
@@ -30,8 +33,8 @@ export declare const useCollectionItem: import("../utils/types.js").Hook<Collect
30
33
  * <CollectionItem store={store}>Item 3</CollectionItem>
31
34
  * ```
32
35
  */
33
- export declare const CollectionItem: import("../utils/types.js").Component<CollectionItemOptions<"div">>;
34
- export interface CollectionItemOptions<T extends As = "div"> extends Options<T> {
36
+ export declare const CollectionItem: (props: CollectionItemProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
37
+ export interface CollectionItemOptions<_T extends ElementType = TagName> extends Options {
35
38
  /**
36
39
  * Object returned by the
37
40
  * [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
@@ -73,4 +76,5 @@ export interface CollectionItemOptions<T extends As = "div"> extends Options<T>
73
76
  */
74
77
  getItem?: (props: CollectionStoreItem) => CollectionStoreItem;
75
78
  }
76
- export type CollectionItemProps<T extends As = "div"> = Props<CollectionItemOptions<T>>;
79
+ export type CollectionItemProps<T extends ElementType = TagName> = Props<T, CollectionItemOptions<T>>;
80
+ export {};
@@ -4,8 +4,8 @@
4
4
  var _CDNJPIEGcjs = require('../__chunks/CDNJPIEG.cjs');
5
5
 
6
6
 
7
- var _BZTDJIVTcjs = require('../__chunks/BZTDJIVT.cjs');
8
- require('../__chunks/RNZNGEL4.cjs');
7
+ var _Q6CVYJBOcjs = require('../__chunks/Q6CVYJBO.cjs');
8
+ require('../__chunks/Q67LZMDT.cjs');
9
9
  require('../__chunks/OLOZ5JT2.cjs');
10
10
  require('../__chunks/EO6LS72H.cjs');
11
11
  require('../__chunks/CJDHQUBR.cjs');
@@ -15,7 +15,7 @@ require('../__chunks/AV6KTKLE.cjs');
15
15
  var _jsxruntime = require('react/jsx-runtime');
16
16
  function CollectionProvider(props = {}) {
17
17
  const store = _CDNJPIEGcjs.useCollectionStore.call(void 0, props);
18
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _BZTDJIVTcjs.CollectionContextProvider, { value: store, children: props.children });
18
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Q6CVYJBOcjs.CollectionContextProvider, { value: store, children: props.children });
19
19
  }
20
20
 
21
21
 
@@ -4,9 +4,9 @@
4
4
 
5
5
 
6
6
 
7
- var _6LVRCU4Jcjs = require('../__chunks/6LVRCU4J.cjs');
8
- require('../__chunks/BZTDJIVT.cjs');
9
- require('../__chunks/RNZNGEL4.cjs');
7
+ var _C6G4FIVIcjs = require('../__chunks/C6G4FIVI.cjs');
8
+ require('../__chunks/Q6CVYJBO.cjs');
9
+ require('../__chunks/Q67LZMDT.cjs');
10
10
  require('../__chunks/OLOZ5JT2.cjs');
11
11
  require('../__chunks/EO6LS72H.cjs');
12
12
  require('../__chunks/CJDHQUBR.cjs');
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.CollectionRenderer = _6LVRCU4Jcjs.CollectionRenderer; exports.getCollectionRendererItem = _6LVRCU4Jcjs.getCollectionRendererItem; exports.getCollectionRendererItemId = _6LVRCU4Jcjs.getCollectionRendererItemId; exports.useCollectionRenderer = _6LVRCU4Jcjs.useCollectionRenderer;
19
+ exports.CollectionRenderer = _C6G4FIVIcjs.CollectionRenderer; exports.getCollectionRendererItem = _C6G4FIVIcjs.getCollectionRendererItem; exports.getCollectionRendererItemId = _C6G4FIVIcjs.getCollectionRendererItemId; exports.useCollectionRenderer = _C6G4FIVIcjs.useCollectionRenderer;
@@ -1,7 +1,9 @@
1
- import type { CSSProperties, ComponentPropsWithRef, ReactElement, ReactNode, RefCallback, RefObject } from "react";
1
+ import type { CSSProperties, ReactNode, RefCallback, RefObject } from "react";
2
2
  import type { AnyObject, BooleanOrCallback, EmptyObject } from "@ariakit/core/utils/types";
3
- import type { RenderProp } from "../utils/types.js";
3
+ import type { Options, Props } from "../utils/types.js";
4
4
  import type { CollectionStore, CollectionStoreItem } from "./collection-store.js";
5
+ declare const TagName = "div";
6
+ type TagName = typeof TagName;
5
7
  type NestedRendererItemProps = Pick<CollectionRendererOptions, "gap" | "orientation" | "itemSize" | "estimatedItemSize" | "padding" | "paddingStart" | "paddingEnd">;
6
8
  interface ItemObject extends AnyObject, NestedRendererItemProps {
7
9
  /**
@@ -46,6 +48,8 @@ declare function getItemId(item: Item, index: number, baseId?: string): string;
46
48
  declare function getItem<T extends Item = any>(items: Items<T>, index: number): RawItemProps<T> | null;
47
49
  export declare function useCollectionRenderer<T extends Item = any>({ store, items: itemsProp, initialItems, gap, itemSize, estimatedItemSize, overscan: overscanProp, orientation: orientationProp, padding, paddingStart, paddingEnd, persistentIndices, renderOnScroll, renderOnResize, children: renderItem, ...props }: CollectionRendererProps<T>): {
48
50
  children: ReactNode[];
51
+ wrapElement?: import("../utils/types.js").WrapElement | undefined;
52
+ render?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("../utils/types.js").RenderProp<import("react").HTMLAttributes<any> & import("react").RefAttributes<any>> | undefined;
49
53
  ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
50
54
  defaultChecked?: boolean | undefined;
51
55
  defaultValue?: string | number | readonly string[] | undefined;
@@ -93,7 +97,7 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
93
97
  results?: number | undefined;
94
98
  security?: string | undefined;
95
99
  unselectable?: "on" | "off" | undefined;
96
- inputMode?: "search" | "none" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
100
+ inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
97
101
  is?: string | undefined;
98
102
  "aria-activedescendant"?: string | undefined;
99
103
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
@@ -107,7 +111,7 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
107
111
  "aria-colindextext"?: string | undefined;
108
112
  "aria-colspan"?: number | undefined;
109
113
  "aria-controls"?: string | undefined;
110
- "aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
114
+ "aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "date" | "location" | undefined;
111
115
  "aria-describedby"?: string | undefined;
112
116
  "aria-description"?: string | undefined;
113
117
  "aria-details"?: string | undefined;
@@ -314,16 +318,15 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
314
318
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
315
319
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
316
320
  key?: import("react").Key | null | undefined;
317
- render?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | RenderProp | undefined;
318
321
  };
319
- export declare const CollectionRenderer: <T extends Item = any>(props: CollectionRendererProps<T>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
322
+ export declare const CollectionRenderer: <T extends Item = any>(props: CollectionRendererProps<T>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
320
323
  export declare const getCollectionRendererItem: typeof getItem;
321
324
  export declare const getCollectionRendererItemId: typeof getItemId;
322
325
  export type CollectionRendererItemObject = ItemObject;
323
326
  export type CollectionRendererItem = Item;
324
327
  export type CollectionRendererBaseItemProps = BaseItemProps;
325
328
  export type CollectionRendererItemProps<T extends Item, P extends BaseItemProps = BaseItemProps> = ItemProps<T, P>;
326
- export interface CollectionRendererOptions<T extends Item = any> {
329
+ export interface CollectionRendererOptions<T extends Item = any> extends Options {
327
330
  /**
328
331
  * Object returned by the
329
332
  * [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
@@ -441,8 +444,7 @@ export interface CollectionRendererOptions<T extends Item = any> {
441
444
  * renders the item.
442
445
  */
443
446
  children?: (item: ItemProps<T>) => ReactNode;
444
- render?: RenderProp | ReactElement;
445
447
  }
446
- export interface CollectionRendererProps<T extends Item = any> extends Omit<ComponentPropsWithRef<"div">, "children">, CollectionRendererOptions<T> {
448
+ export interface CollectionRendererProps<T extends Item = any> extends Props<TagName, CollectionRendererOptions<T>> {
447
449
  }
448
450
  export {};
@@ -1,7 +1,9 @@
1
- import type { CSSProperties, ComponentPropsWithRef, ReactElement, ReactNode, RefCallback, RefObject } from "react";
1
+ import type { CSSProperties, ReactNode, RefCallback, RefObject } from "react";
2
2
  import type { AnyObject, BooleanOrCallback, EmptyObject } from "@ariakit/core/utils/types";
3
- import type { RenderProp } from "../utils/types.js";
3
+ import type { Options, Props } from "../utils/types.js";
4
4
  import type { CollectionStore, CollectionStoreItem } from "./collection-store.js";
5
+ declare const TagName = "div";
6
+ type TagName = typeof TagName;
5
7
  type NestedRendererItemProps = Pick<CollectionRendererOptions, "gap" | "orientation" | "itemSize" | "estimatedItemSize" | "padding" | "paddingStart" | "paddingEnd">;
6
8
  interface ItemObject extends AnyObject, NestedRendererItemProps {
7
9
  /**
@@ -46,6 +48,8 @@ declare function getItemId(item: Item, index: number, baseId?: string): string;
46
48
  declare function getItem<T extends Item = any>(items: Items<T>, index: number): RawItemProps<T> | null;
47
49
  export declare function useCollectionRenderer<T extends Item = any>({ store, items: itemsProp, initialItems, gap, itemSize, estimatedItemSize, overscan: overscanProp, orientation: orientationProp, padding, paddingStart, paddingEnd, persistentIndices, renderOnScroll, renderOnResize, children: renderItem, ...props }: CollectionRendererProps<T>): {
48
50
  children: ReactNode[];
51
+ wrapElement?: import("../utils/types.js").WrapElement | undefined;
52
+ render?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("../utils/types.js").RenderProp<import("react").HTMLAttributes<any> & import("react").RefAttributes<any>> | undefined;
49
53
  ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
50
54
  defaultChecked?: boolean | undefined;
51
55
  defaultValue?: string | number | readonly string[] | undefined;
@@ -93,7 +97,7 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
93
97
  results?: number | undefined;
94
98
  security?: string | undefined;
95
99
  unselectable?: "on" | "off" | undefined;
96
- inputMode?: "search" | "none" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
100
+ inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
97
101
  is?: string | undefined;
98
102
  "aria-activedescendant"?: string | undefined;
99
103
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
@@ -107,7 +111,7 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
107
111
  "aria-colindextext"?: string | undefined;
108
112
  "aria-colspan"?: number | undefined;
109
113
  "aria-controls"?: string | undefined;
110
- "aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
114
+ "aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "date" | "location" | undefined;
111
115
  "aria-describedby"?: string | undefined;
112
116
  "aria-description"?: string | undefined;
113
117
  "aria-details"?: string | undefined;
@@ -314,16 +318,15 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
314
318
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
315
319
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
316
320
  key?: import("react").Key | null | undefined;
317
- render?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | RenderProp | undefined;
318
321
  };
319
- export declare const CollectionRenderer: <T extends Item = any>(props: CollectionRendererProps<T>) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
322
+ export declare const CollectionRenderer: <T extends Item = any>(props: CollectionRendererProps<T>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
320
323
  export declare const getCollectionRendererItem: typeof getItem;
321
324
  export declare const getCollectionRendererItemId: typeof getItemId;
322
325
  export type CollectionRendererItemObject = ItemObject;
323
326
  export type CollectionRendererItem = Item;
324
327
  export type CollectionRendererBaseItemProps = BaseItemProps;
325
328
  export type CollectionRendererItemProps<T extends Item, P extends BaseItemProps = BaseItemProps> = ItemProps<T, P>;
326
- export interface CollectionRendererOptions<T extends Item = any> {
329
+ export interface CollectionRendererOptions<T extends Item = any> extends Options {
327
330
  /**
328
331
  * Object returned by the
329
332
  * [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
@@ -441,8 +444,7 @@ export interface CollectionRendererOptions<T extends Item = any> {
441
444
  * renders the item.
442
445
  */
443
446
  children?: (item: ItemProps<T>) => ReactNode;
444
- render?: RenderProp | ReactElement;
445
447
  }
446
- export interface CollectionRendererProps<T extends Item = any> extends Omit<ComponentPropsWithRef<"div">, "children">, CollectionRendererOptions<T> {
448
+ export interface CollectionRendererProps<T extends Item = any> extends Props<TagName, CollectionRendererOptions<T>> {
447
449
  }
448
450
  export {};
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _BZTDJIVTcjs = require('../__chunks/BZTDJIVT.cjs');
5
+ var _Q6CVYJBOcjs = require('../__chunks/Q6CVYJBO.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _RNZNGEL4cjs = require('../__chunks/RNZNGEL4.cjs');
10
+ var _Q67LZMDTcjs = require('../__chunks/Q67LZMDT.cjs');
11
11
 
12
12
 
13
13
  var _EO6LS72Hcjs = require('../__chunks/EO6LS72H.cjs');
@@ -17,27 +17,26 @@ require('../__chunks/CJDHQUBR.cjs');
17
17
  var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
18
18
 
19
19
  // src/collection/collection.tsx
20
+ var _misc = require('@ariakit/core/utils/misc');
20
21
  var _jsxruntime = require('react/jsx-runtime');
21
- var useCollection = _RNZNGEL4cjs.createHook.call(void 0,
22
- (_a) => {
22
+ var TagName = "div";
23
+ var useCollection = _Q67LZMDTcjs.createHook.call(void 0,
24
+ function useCollection2(_a) {
23
25
  var _b = _a, { store } = _b, props = _AV6KTKLEcjs.__objRest.call(void 0, _b, ["store"]);
24
- const context = _BZTDJIVTcjs.useCollectionProviderContext.call(void 0, );
26
+ const context = _Q6CVYJBOcjs.useCollectionProviderContext.call(void 0, );
25
27
  store = store || context;
26
28
  props = _EO6LS72Hcjs.useWrapElement.call(void 0,
27
29
  props,
28
- (element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _BZTDJIVTcjs.CollectionScopedContextProvider, { value: store, children: element }),
30
+ (element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Q6CVYJBOcjs.CollectionScopedContextProvider, { value: store, children: element }),
29
31
  [store]
30
32
  );
31
- return props;
33
+ return _misc.removeUndefinedValues.call(void 0, props);
32
34
  }
33
35
  );
34
- var Collection = _RNZNGEL4cjs.createComponent.call(void 0, (props) => {
36
+ var Collection = _Q67LZMDTcjs.forwardRef.call(void 0, function Collection2(props) {
35
37
  const htmlProps = useCollection(props);
36
- return _RNZNGEL4cjs.createElement.call(void 0, "div", htmlProps);
38
+ return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
37
39
  });
38
- if (process.env.NODE_ENV !== "production") {
39
- Collection.displayName = "Collection";
40
- }
41
40
 
42
41
 
43
42
 
@@ -1,5 +1,8 @@
1
- import type { As, Options, Props } from "../utils/types.js";
1
+ import type { ElementType } from "react";
2
+ import type { Options, Props } from "../utils/types.js";
2
3
  import type { CollectionStore } from "./collection-store.js";
4
+ declare const TagName = "div";
5
+ type TagName = typeof TagName;
3
6
  /**
4
7
  * Returns props to create a `Collection` component. It receives the collection
5
8
  * store through the `store` prop and provides context for `CollectionItem`
@@ -16,7 +19,7 @@ import type { CollectionStore } from "./collection-store.js";
16
19
  * </Role>
17
20
  * ```
18
21
  */
19
- export declare const useCollection: import("../utils/types.js").Hook<CollectionOptions<"div">>;
22
+ export declare const useCollection: import("../utils/types.js").Hook<"div", CollectionOptions<"div">>;
20
23
  /**
21
24
  * Renders a simple wrapper for collection items. It accepts a collection store
22
25
  * through the [`store`](https://ariakit.org/reference/collection#store) prop
@@ -33,8 +36,8 @@ export declare const useCollection: import("../utils/types.js").Hook<CollectionO
33
36
  * </Collection>
34
37
  * ```
35
38
  */
36
- export declare const Collection: import("../utils/types.js").Component<CollectionOptions<"div">>;
37
- export interface CollectionOptions<T extends As = "div"> extends Options<T> {
39
+ export declare const Collection: (props: CollectionProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
40
+ export interface CollectionOptions<_T extends ElementType = TagName> extends Options {
38
41
  /**
39
42
  * Object returned by the
40
43
  * [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
@@ -44,4 +47,5 @@ export interface CollectionOptions<T extends As = "div"> extends Options<T> {
44
47
  */
45
48
  store?: CollectionStore;
46
49
  }
47
- export type CollectionProps<T extends As = "div"> = Props<CollectionOptions<T>>;
50
+ export type CollectionProps<T extends ElementType = TagName> = Props<T, CollectionOptions<T>>;
51
+ export {};