react-aria-components 1.5.0 → 1.6.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 (403) hide show
  1. package/dist/Autocomplete.main.js +80 -0
  2. package/dist/Autocomplete.main.js.map +1 -0
  3. package/dist/Autocomplete.mjs +68 -0
  4. package/dist/Autocomplete.module.js +68 -0
  5. package/dist/Autocomplete.module.js.map +1 -0
  6. package/dist/Breadcrumbs.main.js +2 -5
  7. package/dist/Breadcrumbs.main.js.map +1 -1
  8. package/dist/Breadcrumbs.mjs +3 -6
  9. package/dist/Breadcrumbs.module.js +3 -6
  10. package/dist/Breadcrumbs.module.js.map +1 -1
  11. package/dist/Button.main.js +5 -5
  12. package/dist/Button.main.js.map +1 -1
  13. package/dist/Button.mjs +5 -5
  14. package/dist/Button.module.js +5 -5
  15. package/dist/Button.module.js.map +1 -1
  16. package/dist/Calendar.main.js +29 -28
  17. package/dist/Calendar.main.js.map +1 -1
  18. package/dist/Calendar.mjs +30 -29
  19. package/dist/Calendar.module.js +30 -29
  20. package/dist/Calendar.module.js.map +1 -1
  21. package/dist/Checkbox.main.js +5 -12
  22. package/dist/Checkbox.main.js.map +1 -1
  23. package/dist/Checkbox.mjs +6 -13
  24. package/dist/Checkbox.module.js +6 -13
  25. package/dist/Checkbox.module.js.map +1 -1
  26. package/dist/ColorArea.main.js +2 -5
  27. package/dist/ColorArea.main.js.map +1 -1
  28. package/dist/ColorArea.mjs +3 -6
  29. package/dist/ColorArea.module.js +3 -6
  30. package/dist/ColorArea.module.js.map +1 -1
  31. package/dist/ColorField.main.js +2 -5
  32. package/dist/ColorField.main.js.map +1 -1
  33. package/dist/ColorField.mjs +2 -5
  34. package/dist/ColorField.module.js +2 -5
  35. package/dist/ColorField.module.js.map +1 -1
  36. package/dist/ColorSlider.main.js +2 -5
  37. package/dist/ColorSlider.main.js.map +1 -1
  38. package/dist/ColorSlider.mjs +2 -5
  39. package/dist/ColorSlider.module.js +2 -5
  40. package/dist/ColorSlider.module.js.map +1 -1
  41. package/dist/ColorSwatch.main.js +2 -5
  42. package/dist/ColorSwatch.main.js.map +1 -1
  43. package/dist/ColorSwatch.mjs +2 -5
  44. package/dist/ColorSwatch.module.js +2 -5
  45. package/dist/ColorSwatch.module.js.map +1 -1
  46. package/dist/ColorSwatchPicker.main.js +4 -8
  47. package/dist/ColorSwatchPicker.main.js.map +1 -1
  48. package/dist/ColorSwatchPicker.mjs +5 -9
  49. package/dist/ColorSwatchPicker.module.js +5 -9
  50. package/dist/ColorSwatchPicker.module.js.map +1 -1
  51. package/dist/ColorThumb.main.js +2 -5
  52. package/dist/ColorThumb.main.js.map +1 -1
  53. package/dist/ColorThumb.mjs +3 -6
  54. package/dist/ColorThumb.module.js +3 -6
  55. package/dist/ColorThumb.module.js.map +1 -1
  56. package/dist/ColorWheel.main.js +5 -11
  57. package/dist/ColorWheel.main.js.map +1 -1
  58. package/dist/ColorWheel.mjs +6 -12
  59. package/dist/ColorWheel.module.js +6 -12
  60. package/dist/ColorWheel.module.js.map +1 -1
  61. package/dist/ComboBox.main.js +2 -5
  62. package/dist/ComboBox.main.js.map +1 -1
  63. package/dist/ComboBox.mjs +3 -6
  64. package/dist/ComboBox.module.js +3 -6
  65. package/dist/ComboBox.module.js.map +1 -1
  66. package/dist/DateField.main.js +8 -23
  67. package/dist/DateField.main.js.map +1 -1
  68. package/dist/DateField.mjs +9 -24
  69. package/dist/DateField.module.js +9 -24
  70. package/dist/DateField.module.js.map +1 -1
  71. package/dist/DatePicker.main.js +4 -11
  72. package/dist/DatePicker.main.js.map +1 -1
  73. package/dist/DatePicker.mjs +5 -12
  74. package/dist/DatePicker.module.js +5 -12
  75. package/dist/DatePicker.module.js.map +1 -1
  76. package/dist/Dialog.main.js +2 -5
  77. package/dist/Dialog.main.js.map +1 -1
  78. package/dist/Dialog.mjs +3 -6
  79. package/dist/Dialog.module.js +3 -6
  80. package/dist/Dialog.module.js.map +1 -1
  81. package/dist/Disclosure.main.js +6 -16
  82. package/dist/Disclosure.main.js.map +1 -1
  83. package/dist/Disclosure.mjs +6 -16
  84. package/dist/Disclosure.module.js +6 -16
  85. package/dist/Disclosure.module.js.map +1 -1
  86. package/dist/DragAndDrop.main.js +2 -5
  87. package/dist/DragAndDrop.main.js.map +1 -1
  88. package/dist/DragAndDrop.mjs +3 -6
  89. package/dist/DragAndDrop.module.js +3 -6
  90. package/dist/DragAndDrop.module.js.map +1 -1
  91. package/dist/DropZone.main.js +2 -5
  92. package/dist/DropZone.main.js.map +1 -1
  93. package/dist/DropZone.mjs +3 -6
  94. package/dist/DropZone.module.js +3 -6
  95. package/dist/DropZone.module.js.map +1 -1
  96. package/dist/FieldError.main.js +2 -5
  97. package/dist/FieldError.main.js.map +1 -1
  98. package/dist/FieldError.mjs +3 -6
  99. package/dist/FieldError.module.js +3 -6
  100. package/dist/FieldError.module.js.map +1 -1
  101. package/dist/FileTrigger.main.js +2 -5
  102. package/dist/FileTrigger.main.js.map +1 -1
  103. package/dist/FileTrigger.mjs +2 -5
  104. package/dist/FileTrigger.module.js +2 -5
  105. package/dist/FileTrigger.module.js.map +1 -1
  106. package/dist/Form.main.js +2 -6
  107. package/dist/Form.main.js.map +1 -1
  108. package/dist/Form.mjs +2 -6
  109. package/dist/Form.module.js +2 -6
  110. package/dist/Form.module.js.map +1 -1
  111. package/dist/GridList.main.js +2 -6
  112. package/dist/GridList.main.js.map +1 -1
  113. package/dist/GridList.mjs +3 -7
  114. package/dist/GridList.module.js +3 -7
  115. package/dist/GridList.module.js.map +1 -1
  116. package/dist/Group.main.js +2 -5
  117. package/dist/Group.main.js.map +1 -1
  118. package/dist/Group.mjs +2 -5
  119. package/dist/Group.module.js +2 -5
  120. package/dist/Group.module.js.map +1 -1
  121. package/dist/Heading.main.js +2 -3
  122. package/dist/Heading.main.js.map +1 -1
  123. package/dist/Heading.mjs +2 -3
  124. package/dist/Heading.module.js +2 -3
  125. package/dist/Heading.module.js.map +1 -1
  126. package/dist/Input.main.js +2 -5
  127. package/dist/Input.main.js.map +1 -1
  128. package/dist/Input.mjs +2 -5
  129. package/dist/Input.module.js +2 -5
  130. package/dist/Input.module.js.map +1 -1
  131. package/dist/Keyboard.main.js +2 -3
  132. package/dist/Keyboard.main.js.map +1 -1
  133. package/dist/Keyboard.mjs +2 -3
  134. package/dist/Keyboard.module.js +2 -3
  135. package/dist/Keyboard.module.js.map +1 -1
  136. package/dist/Label.main.js +2 -3
  137. package/dist/Label.main.js.map +1 -1
  138. package/dist/Label.mjs +2 -3
  139. package/dist/Label.module.js +2 -3
  140. package/dist/Label.module.js.map +1 -1
  141. package/dist/Link.main.js +2 -6
  142. package/dist/Link.main.js.map +1 -1
  143. package/dist/Link.mjs +2 -6
  144. package/dist/Link.module.js +2 -6
  145. package/dist/Link.module.js.map +1 -1
  146. package/dist/ListBox.main.js +22 -11
  147. package/dist/ListBox.main.js.map +1 -1
  148. package/dist/ListBox.mjs +24 -13
  149. package/dist/ListBox.module.js +24 -13
  150. package/dist/ListBox.module.js.map +1 -1
  151. package/dist/Menu.main.js +21 -13
  152. package/dist/Menu.main.js.map +1 -1
  153. package/dist/Menu.mjs +23 -15
  154. package/dist/Menu.module.js +23 -15
  155. package/dist/Menu.module.js.map +1 -1
  156. package/dist/Meter.main.js +2 -5
  157. package/dist/Meter.main.js.map +1 -1
  158. package/dist/Meter.mjs +2 -5
  159. package/dist/Meter.module.js +2 -5
  160. package/dist/Meter.module.js.map +1 -1
  161. package/dist/Modal.main.js +7 -10
  162. package/dist/Modal.main.js.map +1 -1
  163. package/dist/Modal.mjs +10 -13
  164. package/dist/Modal.module.js +10 -13
  165. package/dist/Modal.module.js.map +1 -1
  166. package/dist/NumberField.main.js +2 -5
  167. package/dist/NumberField.main.js.map +1 -1
  168. package/dist/NumberField.mjs +3 -6
  169. package/dist/NumberField.module.js +3 -6
  170. package/dist/NumberField.module.js.map +1 -1
  171. package/dist/OverlayArrow.main.js +2 -6
  172. package/dist/OverlayArrow.main.js.map +1 -1
  173. package/dist/OverlayArrow.mjs +2 -6
  174. package/dist/OverlayArrow.module.js +2 -6
  175. package/dist/OverlayArrow.module.js.map +1 -1
  176. package/dist/Popover.main.js +4 -7
  177. package/dist/Popover.main.js.map +1 -1
  178. package/dist/Popover.mjs +7 -10
  179. package/dist/Popover.module.js +7 -10
  180. package/dist/Popover.module.js.map +1 -1
  181. package/dist/ProgressBar.main.js +2 -6
  182. package/dist/ProgressBar.main.js.map +1 -1
  183. package/dist/ProgressBar.mjs +2 -6
  184. package/dist/ProgressBar.module.js +2 -6
  185. package/dist/ProgressBar.module.js.map +1 -1
  186. package/dist/RadioGroup.main.js +4 -10
  187. package/dist/RadioGroup.main.js.map +1 -1
  188. package/dist/RadioGroup.mjs +4 -10
  189. package/dist/RadioGroup.module.js +4 -10
  190. package/dist/RadioGroup.module.js.map +1 -1
  191. package/dist/SearchField.main.js +6 -8
  192. package/dist/SearchField.main.js.map +1 -1
  193. package/dist/SearchField.mjs +8 -10
  194. package/dist/SearchField.module.js +8 -10
  195. package/dist/SearchField.module.js.map +1 -1
  196. package/dist/Select.main.js +6 -12
  197. package/dist/Select.main.js.map +1 -1
  198. package/dist/Select.mjs +7 -13
  199. package/dist/Select.module.js +7 -13
  200. package/dist/Select.module.js.map +1 -1
  201. package/dist/Slider.main.js +8 -20
  202. package/dist/Slider.main.js.map +1 -1
  203. package/dist/Slider.mjs +9 -21
  204. package/dist/Slider.module.js +9 -21
  205. package/dist/Slider.module.js.map +1 -1
  206. package/dist/Switch.main.js +2 -5
  207. package/dist/Switch.main.js.map +1 -1
  208. package/dist/Switch.mjs +2 -5
  209. package/dist/Switch.module.js +2 -5
  210. package/dist/Switch.module.js.map +1 -1
  211. package/dist/Table.main.js +6 -12
  212. package/dist/Table.main.js.map +1 -1
  213. package/dist/Table.mjs +7 -13
  214. package/dist/Table.module.js +7 -13
  215. package/dist/Table.module.js.map +1 -1
  216. package/dist/Tabs.main.js +9 -17
  217. package/dist/Tabs.main.js.map +1 -1
  218. package/dist/Tabs.mjs +11 -19
  219. package/dist/Tabs.module.js +11 -19
  220. package/dist/Tabs.module.js.map +1 -1
  221. package/dist/TagGroup.main.js +4 -10
  222. package/dist/TagGroup.main.js.map +1 -1
  223. package/dist/TagGroup.mjs +5 -11
  224. package/dist/TagGroup.module.js +5 -11
  225. package/dist/TagGroup.module.js.map +1 -1
  226. package/dist/Text.main.js +2 -3
  227. package/dist/Text.main.js.map +1 -1
  228. package/dist/Text.mjs +2 -3
  229. package/dist/Text.module.js +2 -3
  230. package/dist/Text.module.js.map +1 -1
  231. package/dist/TextArea.main.js +2 -5
  232. package/dist/TextArea.main.js.map +1 -1
  233. package/dist/TextArea.mjs +2 -5
  234. package/dist/TextArea.module.js +2 -5
  235. package/dist/TextArea.module.js.map +1 -1
  236. package/dist/TextField.main.js +9 -9
  237. package/dist/TextField.main.js.map +1 -1
  238. package/dist/TextField.mjs +11 -11
  239. package/dist/TextField.module.js +11 -11
  240. package/dist/TextField.module.js.map +1 -1
  241. package/dist/ToggleButton.main.js +2 -5
  242. package/dist/ToggleButton.main.js.map +1 -1
  243. package/dist/ToggleButton.mjs +3 -6
  244. package/dist/ToggleButton.module.js +3 -6
  245. package/dist/ToggleButton.module.js.map +1 -1
  246. package/dist/ToggleButtonGroup.main.js +2 -5
  247. package/dist/ToggleButtonGroup.main.js.map +1 -1
  248. package/dist/ToggleButtonGroup.mjs +2 -5
  249. package/dist/ToggleButtonGroup.module.js +2 -5
  250. package/dist/ToggleButtonGroup.module.js.map +1 -1
  251. package/dist/Toolbar.main.js +2 -6
  252. package/dist/Toolbar.main.js.map +1 -1
  253. package/dist/Toolbar.mjs +2 -6
  254. package/dist/Toolbar.module.js +2 -6
  255. package/dist/Toolbar.module.js.map +1 -1
  256. package/dist/Tooltip.main.js +4 -7
  257. package/dist/Tooltip.main.js.map +1 -1
  258. package/dist/Tooltip.mjs +7 -10
  259. package/dist/Tooltip.module.js +7 -10
  260. package/dist/Tooltip.module.js.map +1 -1
  261. package/dist/Tree.main.js +2 -6
  262. package/dist/Tree.main.js.map +1 -1
  263. package/dist/Tree.mjs +3 -7
  264. package/dist/Tree.module.js +3 -7
  265. package/dist/Tree.module.js.map +1 -1
  266. package/dist/import.mjs +4 -2
  267. package/dist/main.js +6 -0
  268. package/dist/main.js.map +1 -1
  269. package/dist/module.js +4 -2
  270. package/dist/module.js.map +1 -1
  271. package/dist/types.d.ts +230 -220
  272. package/dist/types.d.ts.map +1 -1
  273. package/dist/utils.main.js +0 -61
  274. package/dist/utils.main.js.map +1 -1
  275. package/dist/utils.mjs +1 -60
  276. package/dist/utils.module.js +1 -60
  277. package/dist/utils.module.js.map +1 -1
  278. package/i18n/ar-AE.js +1 -1
  279. package/i18n/ar-AE.mjs +1 -1
  280. package/i18n/bg-BG.js +1 -1
  281. package/i18n/bg-BG.mjs +1 -1
  282. package/i18n/cs-CZ.js +1 -1
  283. package/i18n/cs-CZ.mjs +1 -1
  284. package/i18n/da-DK.js +1 -1
  285. package/i18n/da-DK.mjs +1 -1
  286. package/i18n/de-DE.js +1 -1
  287. package/i18n/de-DE.mjs +1 -1
  288. package/i18n/el-GR.js +1 -1
  289. package/i18n/el-GR.mjs +1 -1
  290. package/i18n/en-US.js +1 -1
  291. package/i18n/en-US.mjs +1 -1
  292. package/i18n/es-ES.js +1 -1
  293. package/i18n/es-ES.mjs +1 -1
  294. package/i18n/et-EE.js +1 -1
  295. package/i18n/et-EE.mjs +1 -1
  296. package/i18n/fi-FI.js +1 -1
  297. package/i18n/fi-FI.mjs +1 -1
  298. package/i18n/fr-FR.js +1 -1
  299. package/i18n/fr-FR.mjs +1 -1
  300. package/i18n/he-IL.js +1 -1
  301. package/i18n/he-IL.mjs +1 -1
  302. package/i18n/hr-HR.js +1 -1
  303. package/i18n/hr-HR.mjs +1 -1
  304. package/i18n/hu-HU.js +1 -1
  305. package/i18n/hu-HU.mjs +1 -1
  306. package/i18n/index.js +1 -1
  307. package/i18n/index.mjs +1 -1
  308. package/i18n/it-IT.js +1 -1
  309. package/i18n/it-IT.mjs +1 -1
  310. package/i18n/ja-JP.js +1 -1
  311. package/i18n/ja-JP.mjs +1 -1
  312. package/i18n/ko-KR.js +1 -1
  313. package/i18n/ko-KR.mjs +1 -1
  314. package/i18n/lt-LT.js +1 -1
  315. package/i18n/lt-LT.mjs +1 -1
  316. package/i18n/lv-LV.js +1 -1
  317. package/i18n/lv-LV.mjs +1 -1
  318. package/i18n/nb-NO.js +1 -1
  319. package/i18n/nb-NO.mjs +1 -1
  320. package/i18n/nl-NL.js +1 -1
  321. package/i18n/nl-NL.mjs +1 -1
  322. package/i18n/pl-PL.js +1 -1
  323. package/i18n/pl-PL.mjs +1 -1
  324. package/i18n/pt-BR.js +1 -1
  325. package/i18n/pt-BR.mjs +1 -1
  326. package/i18n/pt-PT.js +1 -1
  327. package/i18n/pt-PT.mjs +1 -1
  328. package/i18n/ro-RO.js +1 -1
  329. package/i18n/ro-RO.mjs +1 -1
  330. package/i18n/ru-RU.js +1 -1
  331. package/i18n/ru-RU.mjs +1 -1
  332. package/i18n/sk-SK.js +1 -1
  333. package/i18n/sk-SK.mjs +1 -1
  334. package/i18n/sl-SI.js +1 -1
  335. package/i18n/sl-SI.mjs +1 -1
  336. package/i18n/sr-SP.js +1 -1
  337. package/i18n/sr-SP.mjs +1 -1
  338. package/i18n/sv-SE.js +1 -1
  339. package/i18n/sv-SE.mjs +1 -1
  340. package/i18n/tr-TR.js +1 -1
  341. package/i18n/tr-TR.mjs +1 -1
  342. package/i18n/uk-UA.js +1 -1
  343. package/i18n/uk-UA.mjs +1 -1
  344. package/i18n/zh-CN.js +1 -1
  345. package/i18n/zh-CN.mjs +1 -1
  346. package/i18n/zh-TW.js +1 -1
  347. package/i18n/zh-TW.mjs +1 -1
  348. package/package.json +30 -28
  349. package/src/Autocomplete.tsx +71 -0
  350. package/src/Breadcrumbs.tsx +5 -8
  351. package/src/Button.tsx +8 -8
  352. package/src/Calendar.tsx +35 -39
  353. package/src/Checkbox.tsx +11 -17
  354. package/src/ColorArea.tsx +5 -8
  355. package/src/ColorField.tsx +5 -8
  356. package/src/ColorSlider.tsx +5 -8
  357. package/src/ColorSwatch.tsx +5 -8
  358. package/src/ColorSwatchPicker.tsx +7 -13
  359. package/src/ColorThumb.tsx +5 -8
  360. package/src/ColorWheel.tsx +10 -16
  361. package/src/ComboBox.tsx +5 -8
  362. package/src/DateField.tsx +21 -33
  363. package/src/DatePicker.tsx +9 -15
  364. package/src/Dialog.tsx +5 -8
  365. package/src/Disclosure.tsx +16 -25
  366. package/src/DragAndDrop.tsx +5 -8
  367. package/src/DropZone.tsx +5 -8
  368. package/src/FieldError.tsx +5 -8
  369. package/src/FileTrigger.tsx +5 -8
  370. package/src/Form.tsx +6 -9
  371. package/src/GridList.tsx +6 -9
  372. package/src/Group.tsx +5 -8
  373. package/src/Heading.tsx +2 -5
  374. package/src/Input.tsx +5 -8
  375. package/src/Keyboard.tsx +2 -5
  376. package/src/Label.tsx +2 -5
  377. package/src/Link.tsx +6 -9
  378. package/src/ListBox.tsx +16 -15
  379. package/src/Menu.tsx +20 -19
  380. package/src/Meter.tsx +5 -8
  381. package/src/Modal.tsx +7 -10
  382. package/src/NumberField.tsx +5 -8
  383. package/src/OverlayArrow.tsx +6 -9
  384. package/src/Popover.tsx +7 -10
  385. package/src/ProgressBar.tsx +6 -9
  386. package/src/RadioGroup.tsx +10 -16
  387. package/src/SearchField.tsx +9 -11
  388. package/src/Select.tsx +12 -17
  389. package/src/Slider.tsx +20 -32
  390. package/src/Switch.tsx +5 -8
  391. package/src/Table.tsx +10 -19
  392. package/src/Tabs.tsx +18 -25
  393. package/src/TagGroup.tsx +8 -14
  394. package/src/Text.tsx +2 -5
  395. package/src/TextArea.tsx +5 -7
  396. package/src/TextField.tsx +11 -13
  397. package/src/ToggleButton.tsx +5 -8
  398. package/src/ToggleButtonGroup.tsx +5 -8
  399. package/src/Toolbar.tsx +6 -9
  400. package/src/Tooltip.tsx +7 -10
  401. package/src/Tree.tsx +6 -9
  402. package/src/index.ts +3 -1
  403. package/src/utils.tsx +0 -71
package/dist/types.d.ts CHANGED
@@ -1,11 +1,13 @@
1
- import { RefObject, DOMProps as _DOMProps1, ValidationResult, HoverEvents as _HoverEvents1, InputDOMProps, CollectionBase, DropTargetDelegate, ItemDropTarget, Key, LayoutDelegate, DraggableCollectionProps, DroppableCollectionProps, LinkDOMProps, AriaLabelingProps, ValueBase, MultipleSelection, Node as _Node1, Orientation as _Orientation2, DisabledBehavior as _DisabledBehavior1, Expandable } from "@react-types/shared";
2
- import React, { Context, CSSProperties, ForwardedRef, JSX, ReactNode, UIEvent, HTMLAttributes, LabelHTMLAttributes, InputHTMLAttributes, OutputHTMLAttributes, ReactElement, TextareaHTMLAttributes } from "react";
1
+ import { RefObject, DOMProps as _DOMProps1, ValidationResult, HoverEvents as _HoverEvents1, InputDOMProps, AriaLabelingProps, CollectionBase, DropTargetDelegate, ItemDropTarget, Key, LayoutDelegate, DraggableCollectionProps, DroppableCollectionProps, LinkDOMProps, ValueBase, MultipleSelection, Node as _Node1, Orientation as _Orientation2, DisabledBehavior as _DisabledBehavior1, Expandable } from "@react-types/shared";
2
+ import React, { Context, CSSProperties, ForwardedRef, JSX, ReactNode, UIEvent, HTMLAttributes, LabelHTMLAttributes, InputHTMLAttributes, OutputHTMLAttributes, TextareaHTMLAttributes, ReactElement } from "react";
3
3
  import { FormProps as _FormProps1 } from "@react-types/form";
4
- import { AriaCheckboxGroupProps, AriaCheckboxProps, HoverEvents, AriaSliderProps, AriaSliderThumbProps, Orientation, AriaLinkOptions, AriaBreadcrumbsProps, AriaProgressBarProps, AriaButtonProps, AriaCalendarProps, AriaRangeCalendarProps, DateValue, DropIndicatorProps as _DropIndicatorProps1, DraggableCollectionOptions, DraggableItemProps, DraggableItemResult, DragItem, DragPreview, DropIndicatorAria, DroppableCollectionOptions, DroppableCollectionResult, DroppableItemOptions, DroppableItemResult, DropTarget, DropTargetDelegate as _DropTargetDelegate1, ListDropTargetDelegate, SeparatorProps as _SeparatorProps1, AriaListBoxProps, HoverProps, PlacementAxis, AriaPopoverProps, PositionProps, AriaMenuProps, AriaDialogProps, AriaComboBoxProps, AriaDateFieldProps, AriaTimeFieldProps, TimeValue, AriaDatePickerProps, AriaDateRangePickerProps, DropOptions, AriaGridListProps, AriaMeterProps, AriaModalOverlayProps, AriaNumberFieldProps, AriaRadioGroupProps, AriaRadioProps, AriaSearchFieldProps, AriaSelectProps, AriaSwitchProps, Key as _Key1, AriaTabListProps, AriaTabPanelProps, AriaTagGroupProps, AriaTextFieldProps, AriaToggleButtonGroupProps, AriaToggleButtonProps, AriaPositionProps, Placement } from "react-aria";
5
- import { CheckboxGroupState, SliderState, Collection, Node, SelectionBehavior, SelectionMode, SectionProps as _SectionProps1, CalendarState, RangeCalendarState, DraggableCollectionState, DraggableCollectionStateOptions, DroppableCollectionState, DroppableCollectionStateOptions, ListState, Orientation as _Orientation1, OverlayTriggerProps, MenuTriggerProps as _MenuTriggerProps1, TreeState, OverlayTriggerState, ComboBoxState, DateFieldState, DateSegmentType, DateSegment as _DateSegment1, TimeFieldState, DatePickerState, DatePickerStateOptions, DateRangePickerState, DateRangePickerStateOptions, NumberFieldState, RadioGroupState, SearchFieldState, SelectState, ToggleState, DisabledBehavior, SortDirection, TableState, TabListState, ToggleGroupState, TooltipTriggerProps, TooltipTriggerState } from "react-stately";
4
+ import { AriaCheckboxGroupProps, AriaCheckboxProps, HoverEvents, AriaSliderProps, AriaSliderThumbProps, Orientation, AriaProgressBarProps, AriaButtonProps, HoverProps, AriaSearchFieldProps, AriaTextFieldProps, AriaLinkOptions, AriaBreadcrumbsProps, AriaCalendarProps, AriaRangeCalendarProps, DateValue, DropIndicatorProps as _DropIndicatorProps1, DraggableCollectionOptions, DraggableItemProps, DraggableItemResult, DragItem, DragPreview, DropIndicatorAria, DroppableCollectionOptions, DroppableCollectionResult, DroppableItemOptions, DroppableItemResult, DropTarget, DropTargetDelegate as _DropTargetDelegate1, ListDropTargetDelegate, SeparatorProps as _SeparatorProps1, AriaListBoxProps, PlacementAxis, AriaPopoverProps, PositionProps, AriaMenuProps, AriaDialogProps, AriaComboBoxProps, AriaDateFieldProps, AriaTimeFieldProps, TimeValue, AriaDatePickerProps, AriaDateRangePickerProps, DropOptions, AriaGridListProps, AriaMeterProps, AriaModalOverlayProps, AriaNumberFieldProps, AriaRadioGroupProps, AriaRadioProps, AriaSelectProps, AriaSwitchProps, Key as _Key1, AriaTabListProps, AriaTabPanelProps, AriaTagGroupProps, AriaToggleButtonGroupProps, AriaToggleButtonProps, AriaPositionProps, Placement } from "react-aria";
5
+ import { CheckboxGroupState, SliderState, SearchFieldState, Collection, Node, SelectionBehavior, SelectionMode, SectionProps as _SectionProps1, CalendarState, RangeCalendarState, DraggableCollectionState, DraggableCollectionStateOptions, DroppableCollectionState, DroppableCollectionStateOptions, ListState, Orientation as _Orientation1, OverlayTriggerProps, MenuTriggerProps as _MenuTriggerProps1, TreeState, OverlayTriggerState, ComboBoxState, DateFieldState, DateSegmentType, DateSegment as _DateSegment1, TimeFieldState, DatePickerState, DatePickerStateOptions, DateRangePickerState, DateRangePickerStateOptions, NumberFieldState, RadioGroupState, SelectState, ToggleState, DisabledBehavior, SortDirection, TableState, TabListState, ToggleGroupState, TooltipTriggerProps, TooltipTriggerState } from "react-stately";
6
6
  import { Color, AriaColorAreaProps, ColorChannel, ColorSpace, AriaColorSliderProps } from "@react-types/color";
7
7
  import { ColorAreaState, ColorFieldState, ColorSliderState, ColorWheelState, Color as _Color1, ColorPickerState, ColorPickerProps as _ColorPickerProps1 } from "@react-stately/color";
8
8
  import { AriaColorFieldProps, AriaColorWheelOptions, AriaColorSwatchProps } from "@react-aria/color";
9
+ import { AriaAutocompleteProps } from "@react-aria/autocomplete";
10
+ import { AutocompleteState } from "@react-stately/autocomplete";
9
11
  import { CalendarDate, DateDuration } from "@internationalized/date";
10
12
  import { RootMenuTriggerState } from "@react-stately/menu";
11
13
  import { AriaDisclosureProps } from "@react-aria/disclosure";
@@ -207,15 +209,15 @@ export interface CheckboxRenderProps {
207
209
  }
208
210
  export const CheckboxGroupContext: React.Context<ContextValue<CheckboxGroupProps, HTMLDivElement>>;
209
211
  export const CheckboxGroupStateContext: React.Context<CheckboxGroupState | null>;
212
+ /**
213
+ * A checkbox group allows a user to select multiple items from a list of options.
214
+ */
215
+ export const CheckboxGroup: (props: CheckboxGroupProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
210
216
  /**
211
217
  * A checkbox allows a user to select multiple items from a list of individual items, or
212
218
  * to mark one individual item as selected.
213
219
  */
214
220
  export const Checkbox: (props: CheckboxProps & React.RefAttributes<HTMLLabelElement>) => React.ReactElement | null;
215
- /**
216
- * A checkbox group allows a user to select multiple items from a list of options.
217
- */
218
- export const CheckboxGroup: (props: CheckboxGroupProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
219
221
  export interface ColorThumbRenderProps {
220
222
  /**
221
223
  * The selected color, excluding the alpha channel.
@@ -499,6 +501,219 @@ export const ColorFieldContext: Context<ContextValue<ColorFieldProps, HTMLDivEle
499
501
  export const ColorSliderContext: Context<ContextValue<Partial<ColorSliderProps>, HTMLDivElement>>;
500
502
  export const ColorWheelContext: Context<ContextValue<Partial<ColorWheelProps>, HTMLDivElement>>;
501
503
  export const HeadingContext: Context<ContextValue<HeadingProps, HTMLHeadingElement>>;
504
+ export interface ProgressBarProps extends Omit<AriaProgressBarProps, 'label'>, RenderProps<ProgressBarRenderProps>, SlotProps {
505
+ }
506
+ export interface ProgressBarRenderProps {
507
+ /**
508
+ * The value as a percentage between the minimum and maximum.
509
+ */
510
+ percentage?: number;
511
+ /**
512
+ * A formatted version of the value.
513
+ * @selector [aria-valuetext]
514
+ */
515
+ valueText: string | undefined;
516
+ /**
517
+ * Whether the progress bar is indeterminate.
518
+ * @selector :not([aria-valuenow])
519
+ */
520
+ isIndeterminate: boolean;
521
+ }
522
+ export const ProgressBarContext: React.Context<ContextValue<ProgressBarProps, HTMLDivElement>>;
523
+ /**
524
+ * Progress bars show either determinate or indeterminate progress of an operation
525
+ * over time.
526
+ */
527
+ export const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
528
+ export interface ButtonRenderProps {
529
+ /**
530
+ * Whether the button is currently hovered with a mouse.
531
+ * @selector [data-hovered]
532
+ */
533
+ isHovered: boolean;
534
+ /**
535
+ * Whether the button is currently in a pressed state.
536
+ * @selector [data-pressed]
537
+ */
538
+ isPressed: boolean;
539
+ /**
540
+ * Whether the button is focused, either via a mouse or keyboard.
541
+ * @selector [data-focused]
542
+ */
543
+ isFocused: boolean;
544
+ /**
545
+ * Whether the button is keyboard focused.
546
+ * @selector [data-focus-visible]
547
+ */
548
+ isFocusVisible: boolean;
549
+ /**
550
+ * Whether the button is disabled.
551
+ * @selector [data-disabled]
552
+ */
553
+ isDisabled: boolean;
554
+ /**
555
+ * Whether the button is currently in a pending state.
556
+ * @selector [data-pending]
557
+ */
558
+ isPending: boolean;
559
+ }
560
+ export interface ButtonProps extends Omit<AriaButtonProps, 'children' | 'href' | 'target' | 'rel' | 'elementType'>, HoverEvents, SlotProps, RenderProps<ButtonRenderProps> {
561
+ /**
562
+ * The `<form>` element to associate the button with.
563
+ * The value of this attribute must be the id of a `<form>` in the same document.
564
+ */
565
+ form?: string;
566
+ /**
567
+ * The URL that processes the information submitted by the button.
568
+ * Overrides the action attribute of the button's form owner.
569
+ */
570
+ formAction?: string;
571
+ /** Indicates how to encode the form data that is submitted. */
572
+ formEncType?: string;
573
+ /** Indicates the HTTP method used to submit the form. */
574
+ formMethod?: string;
575
+ /** Indicates that the form is not to be validated when it is submitted. */
576
+ formNoValidate?: boolean;
577
+ /** Overrides the target attribute of the button's form owner. */
578
+ formTarget?: string;
579
+ /** Submitted as a pair with the button's value as part of the form data. */
580
+ name?: string;
581
+ /** The value associated with the button's name when it's submitted with the form data. */
582
+ value?: string;
583
+ /**
584
+ * Whether the button is in a pending state. This disables press and hover events
585
+ * while retaining focusability, and announces the pending state to screen readers.
586
+ */
587
+ isPending?: boolean;
588
+ }
589
+ interface ButtonContextValue extends ButtonProps {
590
+ isPressed?: boolean;
591
+ }
592
+ export const ButtonContext: React.Context<ContextValue<ButtonContextValue, HTMLButtonElement>>;
593
+ /**
594
+ * A button allows a user to perform an action, with mouse, touch, and keyboard interactions.
595
+ */
596
+ export const Button: (props: ButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
597
+ export interface GroupRenderProps {
598
+ /**
599
+ * Whether the group is currently hovered with a mouse.
600
+ * @selector [data-hovered]
601
+ */
602
+ isHovered: boolean;
603
+ /**
604
+ * Whether an element within the group is focused, either via a mouse or keyboard.
605
+ * @selector [data-focus-within]
606
+ */
607
+ isFocusWithin: boolean;
608
+ /**
609
+ * Whether an element within the group is keyboard focused.
610
+ * @selector [data-focus-visible]
611
+ */
612
+ isFocusVisible: boolean;
613
+ /**
614
+ * Whether the group is disabled.
615
+ * @selector [data-disabled]
616
+ */
617
+ isDisabled: boolean;
618
+ /**
619
+ * Whether the group is invalid.
620
+ * @selector [data-invalid]
621
+ */
622
+ isInvalid: boolean;
623
+ }
624
+ export interface GroupProps extends AriaLabelingProps, Omit<HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style' | 'role' | 'slot'>, _DOMProps1, HoverProps, RenderProps<GroupRenderProps>, SlotProps {
625
+ /** Whether the group is disabled. */
626
+ isDisabled?: boolean;
627
+ /** Whether the group is invalid. */
628
+ isInvalid?: boolean;
629
+ /**
630
+ * An accessibility role for the group. By default, this is set to `'group'`.
631
+ * Use `'region'` when the contents of the group is important enough to be
632
+ * included in the page table of contents. Use `'presentation'` if the group
633
+ * is visual only and does not represent a semantic grouping of controls.
634
+ * @default 'group'
635
+ */
636
+ role?: 'group' | 'region' | 'presentation';
637
+ }
638
+ export const GroupContext: React.Context<ContextValue<GroupProps, HTMLDivElement>>;
639
+ /**
640
+ * A group represents a set of related UI controls, and supports interactive states for styling.
641
+ */
642
+ export const Group: (props: GroupProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
643
+ export interface SearchFieldRenderProps {
644
+ /**
645
+ * Whether the search field is empty.
646
+ * @selector [data-empty]
647
+ */
648
+ isEmpty: boolean;
649
+ /**
650
+ * Whether the search field is disabled.
651
+ * @selector [data-disabled]
652
+ */
653
+ isDisabled: boolean;
654
+ /**
655
+ * Whether the search field is invalid.
656
+ * @selector [data-invalid]
657
+ */
658
+ isInvalid: boolean;
659
+ /**
660
+ * State of the search field.
661
+ */
662
+ state: SearchFieldState;
663
+ }
664
+ export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'label' | 'placeholder' | 'description' | 'errorMessage' | 'validationState' | 'validationBehavior'>, RACValidation, RenderProps<SearchFieldRenderProps>, SlotProps {
665
+ }
666
+ export const SearchFieldContext: React.Context<ContextValue<SearchFieldProps, HTMLDivElement>>;
667
+ /**
668
+ * A search field allows a user to enter and clear a search query.
669
+ */
670
+ export const SearchField: (props: SearchFieldProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
671
+ export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style'>, HoverEvents, StyleRenderProps<InputRenderProps> {
672
+ }
673
+ export const TextAreaContext: React.Context<ContextValue<TextAreaProps, HTMLTextAreaElement>>;
674
+ /**
675
+ * A textarea allows a user to input mult-line text.
676
+ */
677
+ export const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
678
+ export interface TextFieldRenderProps {
679
+ /**
680
+ * Whether the text field is disabled.
681
+ * @selector [data-disabled]
682
+ */
683
+ isDisabled: boolean;
684
+ /**
685
+ * Whether the value is invalid.
686
+ * @selector [data-invalid]
687
+ */
688
+ isInvalid: boolean;
689
+ /**
690
+ * Whether the text field is read only.
691
+ * @selector [data-readonly]
692
+ */
693
+ isReadOnly: boolean;
694
+ /**
695
+ * Whether the text field is required.
696
+ * @selector [data-required]
697
+ */
698
+ isRequired: boolean;
699
+ }
700
+ export interface TextFieldProps extends Omit<AriaTextFieldProps, 'label' | 'placeholder' | 'description' | 'errorMessage' | 'validationState' | 'validationBehavior'>, RACValidation, Omit<DOMProps, 'style' | 'className' | 'children'>, SlotProps, RenderProps<TextFieldRenderProps> {
701
+ /** Whether the value is invalid. */
702
+ isInvalid?: boolean;
703
+ }
704
+ export const TextFieldContext: React.Context<ContextValue<TextFieldProps, HTMLDivElement>>;
705
+ /**
706
+ * A text field allows a user to enter a plain text value with a keyboard.
707
+ */
708
+ export const TextField: (props: TextFieldProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
709
+ export interface AutocompleteProps extends AriaAutocompleteProps, SlotProps {
710
+ }
711
+ export const UNSTABLE_AutocompleteContext: React.Context<SlottedContextValue<AutocompleteProps>>;
712
+ export const UNSTABLE_AutocompleteStateContext: React.Context<AutocompleteState | null>;
713
+ /**
714
+ * A autocomplete combines a text input with a menu, allowing users to filter a list of options to items matching a query.
715
+ */
716
+ export function UNSTABLE_Autocomplete(props: AutocompleteProps): React.JSX.Element;
502
717
  interface CollectionProps<T> extends Omit<CollectionBase<T>, 'children'> {
503
718
  /** The contents of the collection. */
504
719
  children?: ReactNode | ((item: T) => ReactNode);
@@ -678,99 +893,6 @@ export interface BreadcrumbProps extends RenderProps<BreadcrumbRenderProps> {
678
893
  * A Breadcrumb represents an individual item in a `<Breadcrumbs>` list.
679
894
  */
680
895
  export const Breadcrumb: (props: BreadcrumbProps & React.RefAttributes<object>) => React.ReactElement | null;
681
- export interface ProgressBarProps extends Omit<AriaProgressBarProps, 'label'>, RenderProps<ProgressBarRenderProps>, SlotProps {
682
- }
683
- export interface ProgressBarRenderProps {
684
- /**
685
- * The value as a percentage between the minimum and maximum.
686
- */
687
- percentage?: number;
688
- /**
689
- * A formatted version of the value.
690
- * @selector [aria-valuetext]
691
- */
692
- valueText: string | undefined;
693
- /**
694
- * Whether the progress bar is indeterminate.
695
- * @selector :not([aria-valuenow])
696
- */
697
- isIndeterminate: boolean;
698
- }
699
- export const ProgressBarContext: React.Context<ContextValue<ProgressBarProps, HTMLDivElement>>;
700
- /**
701
- * Progress bars show either determinate or indeterminate progress of an operation
702
- * over time.
703
- */
704
- export const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
705
- export interface ButtonRenderProps {
706
- /**
707
- * Whether the button is currently hovered with a mouse.
708
- * @selector [data-hovered]
709
- */
710
- isHovered: boolean;
711
- /**
712
- * Whether the button is currently in a pressed state.
713
- * @selector [data-pressed]
714
- */
715
- isPressed: boolean;
716
- /**
717
- * Whether the button is focused, either via a mouse or keyboard.
718
- * @selector [data-focused]
719
- */
720
- isFocused: boolean;
721
- /**
722
- * Whether the button is keyboard focused.
723
- * @selector [data-focus-visible]
724
- */
725
- isFocusVisible: boolean;
726
- /**
727
- * Whether the button is disabled.
728
- * @selector [data-disabled]
729
- */
730
- isDisabled: boolean;
731
- /**
732
- * Whether the button is currently in a pending state.
733
- * @selector [data-pending]
734
- */
735
- isPending: boolean;
736
- }
737
- export interface ButtonProps extends Omit<AriaButtonProps, 'children' | 'href' | 'target' | 'rel' | 'elementType'>, HoverEvents, SlotProps, RenderProps<ButtonRenderProps> {
738
- /**
739
- * The `<form>` element to associate the button with.
740
- * The value of this attribute must be the id of a `<form>` in the same document.
741
- */
742
- form?: string;
743
- /**
744
- * The URL that processes the information submitted by the button.
745
- * Overrides the action attribute of the button's form owner.
746
- */
747
- formAction?: string;
748
- /** Indicates how to encode the form data that is submitted. */
749
- formEncType?: string;
750
- /** Indicates the HTTP method used to submit the form. */
751
- formMethod?: string;
752
- /** Indicates that the form is not to be validated when it is submitted. */
753
- formNoValidate?: boolean;
754
- /** Overrides the target attribute of the button's form owner. */
755
- formTarget?: string;
756
- /** Submitted as a pair with the button's value as part of the form data. */
757
- name?: string;
758
- /** The value associated with the button's name when it's submitted with the form data. */
759
- value?: string;
760
- /**
761
- * Whether the button is in a pending state. This disables press and hover events
762
- * while retaining focusability, and announces the pending state to screen readers.
763
- */
764
- isPending?: boolean;
765
- }
766
- interface ButtonContextValue extends ButtonProps {
767
- isPressed?: boolean;
768
- }
769
- export const ButtonContext: React.Context<ContextValue<ButtonContextValue, HTMLButtonElement>>;
770
- /**
771
- * A button allows a user to perform an action, with mouse, touch, and keyboard interactions.
772
- */
773
- export const Button: (props: ButtonProps & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
774
896
  export interface CalendarRenderProps {
775
897
  /**
776
898
  * Whether the calendar is disabled.
@@ -1139,7 +1261,7 @@ export const ColorSwatchPickerContext: React.Context<ContextValue<ColorSwatchPic
1139
1261
  /**
1140
1262
  * A ColorSwatchPicker displays a list of color swatches and allows a user to select one of them.
1141
1263
  */
1142
- export let ColorSwatchPicker: React.ForwardRefExoticComponent<ColorSwatchPickerProps & React.RefAttributes<HTMLDivElement>>;
1264
+ export const ColorSwatchPicker: React.ForwardRefExoticComponent<ColorSwatchPickerProps & React.RefAttributes<HTMLDivElement>>;
1143
1265
  export interface ColorSwatchPickerItemRenderProps extends Omit<ListBoxItemRenderProps, 'selectionMode' | 'selectionBehavior'> {
1144
1266
  /** The color of the swatch. */
1145
1267
  color: _Color1;
@@ -1150,7 +1272,7 @@ export interface ColorSwatchPickerItemProps extends RenderProps<ColorSwatchPicke
1150
1272
  /** Whether the color swatch is disabled. */
1151
1273
  isDisabled?: boolean;
1152
1274
  }
1153
- export let ColorSwatchPickerItem: React.ForwardRefExoticComponent<ColorSwatchPickerItemProps & React.RefAttributes<HTMLDivElement>>;
1275
+ export const ColorSwatchPickerItem: React.ForwardRefExoticComponent<ColorSwatchPickerItemProps & React.RefAttributes<HTMLDivElement>>;
1154
1276
  export interface ColorPickerRenderProps {
1155
1277
  /** The currently selected color. */
1156
1278
  color: Color;
@@ -1164,52 +1286,6 @@ export const ColorPickerStateContext: React.Context<ColorPickerState | null>;
1164
1286
  * It simplifies building color pickers with customizable layouts via composition.
1165
1287
  */
1166
1288
  export function ColorPicker(props: ColorPickerProps): React.JSX.Element;
1167
- export interface GroupRenderProps {
1168
- /**
1169
- * Whether the group is currently hovered with a mouse.
1170
- * @selector [data-hovered]
1171
- */
1172
- isHovered: boolean;
1173
- /**
1174
- * Whether an element within the group is focused, either via a mouse or keyboard.
1175
- * @selector [data-focus-within]
1176
- */
1177
- isFocusWithin: boolean;
1178
- /**
1179
- * Whether an element within the group is keyboard focused.
1180
- * @selector [data-focus-visible]
1181
- */
1182
- isFocusVisible: boolean;
1183
- /**
1184
- * Whether the group is disabled.
1185
- * @selector [data-disabled]
1186
- */
1187
- isDisabled: boolean;
1188
- /**
1189
- * Whether the group is invalid.
1190
- * @selector [data-invalid]
1191
- */
1192
- isInvalid: boolean;
1193
- }
1194
- export interface GroupProps extends AriaLabelingProps, Omit<HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style' | 'role' | 'slot'>, _DOMProps1, HoverProps, RenderProps<GroupRenderProps>, SlotProps {
1195
- /** Whether the group is disabled. */
1196
- isDisabled?: boolean;
1197
- /** Whether the group is invalid. */
1198
- isInvalid?: boolean;
1199
- /**
1200
- * An accessibility role for the group. By default, this is set to `'group'`.
1201
- * Use `'region'` when the contents of the group is important enough to be
1202
- * included in the page table of contents. Use `'presentation'` if the group
1203
- * is visual only and does not represent a semantic grouping of controls.
1204
- * @default 'group'
1205
- */
1206
- role?: 'group' | 'region' | 'presentation';
1207
- }
1208
- export const GroupContext: React.Context<ContextValue<GroupProps, HTMLDivElement>>;
1209
- /**
1210
- * A group represents a set of related UI controls, and supports interactive states for styling.
1211
- */
1212
- export const Group: (props: GroupProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
1213
1289
  export interface OverlayArrowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'style' | 'children'>, RenderProps<OverlayArrowRenderProps> {
1214
1290
  }
1215
1291
  export interface OverlayArrowRenderProps {
@@ -1633,6 +1709,10 @@ export interface DisclosureRenderProps {
1633
1709
  }
1634
1710
  export const DisclosureContext: React.Context<ContextValue<DisclosureProps, HTMLDivElement>>;
1635
1711
  export const DisclosureStateContext: React.Context<DisclosureState | null>;
1712
+ /**
1713
+ * A disclosure is a collapsible section of content. It is composed of a a header with a heading and trigger button, and a panel that contains the content.
1714
+ */
1715
+ export const Disclosure: (props: DisclosureProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
1636
1716
  export interface DisclosurePanelRenderProps {
1637
1717
  /**
1638
1718
  * Whether keyboard focus is within the disclosure panel.
@@ -1651,10 +1731,6 @@ export interface DisclosurePanelProps extends RenderProps<DisclosurePanelRenderP
1651
1731
  */
1652
1732
  children: ReactNode;
1653
1733
  }
1654
- /**
1655
- * A disclosure is a collapsible section of content. It is composed of a a header with a heading and trigger button, and a panel that contains the content.
1656
- */
1657
- export const Disclosure: (props: DisclosureProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
1658
1734
  /**
1659
1735
  * A DisclosurePanel provides the content for a disclosure.
1660
1736
  */
@@ -1973,34 +2049,6 @@ export const RadioGroup: (props: RadioGroupProps & React.RefAttributes<HTMLDivEl
1973
2049
  * A radio represents an individual option within a radio group.
1974
2050
  */
1975
2051
  export const Radio: (props: RadioProps & React.RefAttributes<HTMLLabelElement>) => React.ReactElement | null;
1976
- export interface SearchFieldRenderProps {
1977
- /**
1978
- * Whether the search field is empty.
1979
- * @selector [data-empty]
1980
- */
1981
- isEmpty: boolean;
1982
- /**
1983
- * Whether the search field is disabled.
1984
- * @selector [data-disabled]
1985
- */
1986
- isDisabled: boolean;
1987
- /**
1988
- * Whether the search field is invalid.
1989
- * @selector [data-invalid]
1990
- */
1991
- isInvalid: boolean;
1992
- /**
1993
- * State of the search field.
1994
- */
1995
- state: SearchFieldState;
1996
- }
1997
- export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'label' | 'placeholder' | 'description' | 'errorMessage' | 'validationState' | 'validationBehavior'>, RACValidation, RenderProps<SearchFieldRenderProps>, SlotProps {
1998
- }
1999
- export const SearchFieldContext: React.Context<ContextValue<SearchFieldProps, HTMLDivElement>>;
2000
- /**
2001
- * A search field allows a user to enter and clear a search query.
2002
- */
2003
- export const SearchField: (props: SearchFieldProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
2004
2052
  export interface SelectRenderProps {
2005
2053
  /**
2006
2054
  * Whether the select is focused, either via a mouse or keyboard.
@@ -2576,44 +2624,6 @@ export interface TagProps extends RenderProps<TagRenderProps>, LinkDOMProps, _Ho
2576
2624
  * A Tag is an individual item within a TagList.
2577
2625
  */
2578
2626
  export const Tag: (props: TagProps & React.RefAttributes<object>) => React.ReactElement | null;
2579
- export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className' | 'style'>, HoverEvents, StyleRenderProps<InputRenderProps> {
2580
- }
2581
- export const TextAreaContext: React.Context<ContextValue<TextAreaProps, HTMLTextAreaElement>>;
2582
- /**
2583
- * A textarea allows a user to input mult-line text.
2584
- */
2585
- export const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
2586
- export interface TextFieldRenderProps {
2587
- /**
2588
- * Whether the text field is disabled.
2589
- * @selector [data-disabled]
2590
- */
2591
- isDisabled: boolean;
2592
- /**
2593
- * Whether the value is invalid.
2594
- * @selector [data-invalid]
2595
- */
2596
- isInvalid: boolean;
2597
- /**
2598
- * Whether the text field is read only.
2599
- * @selector [data-readonly]
2600
- */
2601
- isReadOnly: boolean;
2602
- /**
2603
- * Whether the text field is required.
2604
- * @selector [data-required]
2605
- */
2606
- isRequired: boolean;
2607
- }
2608
- export interface TextFieldProps extends Omit<AriaTextFieldProps, 'label' | 'placeholder' | 'description' | 'errorMessage' | 'validationState' | 'validationBehavior'>, RACValidation, Omit<DOMProps, 'style' | 'className' | 'children'>, SlotProps, RenderProps<TextFieldRenderProps> {
2609
- /** Whether the value is invalid. */
2610
- isInvalid?: boolean;
2611
- }
2612
- export const TextFieldContext: React.Context<ContextValue<TextFieldProps, HTMLDivElement>>;
2613
- /**
2614
- * A text field allows a user to enter a plain text value with a keyboard.
2615
- */
2616
- export const TextField: (props: TextFieldProps & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
2617
2627
  export interface ToggleButtonGroupRenderProps {
2618
2628
  /**
2619
2629
  * Whether the toggle button group is disabled.
@@ -2813,7 +2823,7 @@ interface TreeLoaderProps extends RenderProps<TreeLoadingIndicatorRenderProps>,
2813
2823
  }
2814
2824
  export const UNSTABLE_TreeLoadingIndicator: <T extends object>(props: TreeLoaderProps & React.RefAttributes<T>) => React.ReactElement | null;
2815
2825
  export { Collection, createLeafComponent as UNSTABLE_createLeafComponent, createBranchComponent as UNSTABLE_createBranchComponent, CollectionBuilder as UNSTABLE_CollectionBuilder } from '@react-aria/collections';
2816
- export { DIRECTORY_DRAG_TYPE, isDirectoryDropItem, isFileDropItem, isTextDropItem, SSRProvider, RouterProvider, I18nProvider, useLocale } from 'react-aria';
2826
+ export { DIRECTORY_DRAG_TYPE, isDirectoryDropItem, isFileDropItem, isTextDropItem, SSRProvider, RouterProvider, I18nProvider, useLocale, useFilter } from 'react-aria';
2817
2827
  export { FormValidationContext } from 'react-stately';
2818
2828
  export { parseColor, getColorChannels } from '@react-stately/color';
2819
2829
  export { ListLayout as UNSTABLE_ListLayout, GridLayout as UNSTABLE_GridLayout } from '@react-stately/layout';