|
| 1 | +{/* Copyright 2025 Adobe. All rights reserved. |
| 2 | +This file is licensed to you under the Apache License, Version 2.0 (the "License"); |
| 3 | +you may not use this file except in compliance with the License. You may obtain a copy |
| 4 | +of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 5 | +Unless required by applicable law or agreed to in writing, software distributed under |
| 6 | +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS |
| 7 | +OF ANY KIND, either express or implied. See the License for the specific language |
| 8 | +governing permissions and limitations under the License. */} |
| 9 | + |
| 10 | +import {BlogPostLayout, Hero, Image} from '@react-spectrum/docs'; |
| 11 | +export default BlogPostLayout; |
| 12 | + |
| 13 | +--- |
| 14 | +description: Happy summer! This release adds support for async loading and infinite scrolling, improves form integration and drag and drop interactions, and adds support for additional DOM events and attributes. |
| 15 | + |
| 16 | +date: 2025-07-22 |
| 17 | +--- |
| 18 | + |
| 19 | +# July 22, 2025 Release |
| 20 | + |
| 21 | +Happy summer! This release adds support for async loading and infinite scrolling, improves form integration and drag and drop interactions, and adds support for additional DOM events and attributes. |
| 22 | + |
| 23 | +The new LoadMoreItem components supported in [ListBox](../react-aria/ListBox.html#asynchronous-loading), [GridList](../react-aria/GridList.html#asynchronous-loading), [Table](../react-aria/Table.html#asynchronous-loading), and [Tree](../react-aria/Tree.html#asynchronous-loading) enables infinite scrolling. These trigger the loading of additional pages of items and display a loading spinner. Multiple LoadMoreItems can be rendered within a collection too, enabling loading multiple levels of a tree or sections of data from different APIs. |
| 24 | + |
| 25 | +We've also opened up the React Aria Components API to pass through more DOM events and attributes. This improves integration with other libraries, for example making it possible to use another library's menu with a React Aria button. |
| 26 | + |
| 27 | +As always, thanks so much to everyone who contributed to this release! |
| 28 | + |
| 29 | +## Enhancements |
| 30 | + |
| 31 | +* AlertDialog |
| 32 | + * Add default `data-testid` to Spectrum AlertDialog buttons - [@snow893](https://github.com/snow893) - [PR](https://github.com/adobe/react-spectrum/pull/8370) |
| 33 | +* Drag and Drop |
| 34 | + * Add support for custom drag preview pointer offset - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8445) |
| 35 | +* Forms |
| 36 | + * Add support for form autocomplete to React Aria DateField and DatePicker - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7773) |
| 37 | + * Add support for automatic reset after React 19 form actions - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8444) |
| 38 | + * Support associating components with external forms - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8411) |
| 39 | +* Select |
| 40 | + * Add `hiddenSelectProps` to `useSelect` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8490) |
| 41 | +* Tag |
| 42 | + * Add `escapeKeyBehavior` prop to React Aria TagGroup - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8399) |
| 43 | +* TextField |
| 44 | + * Provide `GroupContext` in React Aria TextField - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8415) |
| 45 | + * Add proper ARIA labeling to Spectrum validation icon - [@razvanborsan](https://github.com/razvanborsan) - [PR](https://github.com/adobe/react-spectrum/pull/8429), [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8435) |
| 46 | +* Toast |
| 47 | + * Add default `data-testid` to Spectrum `Toast` buttons - [@snow893](https://github.com/snow893) - [PR](https://github.com/adobe/react-spectrum/pull/8408) |
| 48 | +* Tree |
| 49 | + * Support multi-level asynchronous loading - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8349) |
| 50 | +* Miscellaneous |
| 51 | + * Pass through more DOM events and attributes - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8327), [PR](https://github.com/adobe/react-spectrum/pull/8525) |
| 52 | + * Use `inert` instead of `aria-hidden` in `ariaHideOutside` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8372), [PR](https://github.com/adobe/react-spectrum/pull/8560) - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8581) |
| 53 | + * Pass `crossOrigin` prop in Spectrum Image - [@mofojed](https://github.com/mofojed) - [PR](https://github.com/adobe/react-spectrum/pull/8532) |
| 54 | + |
| 55 | +## Fixes |
| 56 | + |
| 57 | +* CardView |
| 58 | + * Fix A11y warning on Spectrum CardView - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8496) |
| 59 | +* Drag and Drop |
| 60 | + * Fix React 19 StrictMode drag and drop bug - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8562) |
| 61 | +* Date/Time |
| 62 | + * Disallow focus of calendar cells outside the month - [@Persists](https://github.com/Persists) - [PR](https://github.com/adobe/react-spectrum/pull/8129) |
| 63 | + * Fix `setValue` to work when DateField is empty - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8417) |
| 64 | + * Ignore typing leading zeros in DateField segments - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8447), [PR](https://github.com/adobe/react-spectrum/pull/8549) |
| 65 | +* FileTrigger |
| 66 | + * `acceptedFileTypes` accepts a readonly array in FileTrigger - [@lixiaoyan](https://github.com/lixiaoyan) - [PR](https://github.com/adobe/react-spectrum/pull/8477) |
| 67 | +* ListView |
| 68 | + * Fix Badge text color inside Spectrum ListView - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8449) |
| 69 | +* Menu |
| 70 | + * Fix text alignment for Spectrum Keyboard component - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8486) |
| 71 | +* Modals |
| 72 | + * Warn users of correct state usage for modals - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8495) |
| 73 | +* NumberField |
| 74 | + * Support full width characters in NumberField (e.g. Japanese IME) - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8418) |
| 75 | + * Ensure NumberField validation displays correct errors in React 19 - [@chirokas](https://github.com/chirokas) - [PR](https://github.com/adobe/react-spectrum/pull/8491) |
| 76 | + * Round to correct precision when step uses exponential notation - [@lucasweng](https://github.com/lucasweng) - [PR](https://github.com/adobe/react-spectrum/pull/8290) |
| 77 | +* RadioGroup |
| 78 | + * Fix `RadioGroup` keyboard navigation in `FocusScope` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8488) |
| 79 | +* Select/Picker |
| 80 | + * Allow `selectedKey={null}` to clear value in `HiddenSelect` - [@chirokas](https://github.com/chirokas) - [PR](https://github.com/adobe/react-spectrum/pull/8330) |
| 81 | + * Fix `HiddenSelect` causing page scrolling - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8579) |
| 82 | + * Fix keyboard selection in `Select` typeahead when options include spaces - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8497) |
| 83 | + * Prevent form submission when required `Select` has more than 300 options - [@lucasweng](https://github.com/lucasweng) - [PR](https://github.com/adobe/react-spectrum/pull/8280) |
| 84 | +* Tabs |
| 85 | + * Fix wrapping with vertical `TabList` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8602) |
| 86 | + * Match id type in `Tab` and `TabPanel` - [@kidonng](https://github.com/kidonng) - [PR](https://github.com/adobe/react-spectrum/pull/8423) |
| 87 | +* TableView |
| 88 | + * Ensure the `renderEmptyState` in Spectrum `IllustratedMessage` is properly displayed in `TableView` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8416) |
| 89 | + * Prevent `TableView` from jumping to the top during asynchronous load - [@obreitwi](https://github.com/obreitwi) - [PR](https://github.com/adobe/react-spectrum/pull/8133) |
| 90 | +* Miscellaneous |
| 91 | + * Include missing `page.css.map` in published npm package - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8414) |
| 92 | + * Check user agent brands - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8458) |
| 93 | + * Fix `Rect` intersection check so that users don't need to provide Virtualizer mocks for tests - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8396) |
| 94 | + * Fix `createLeafComponent` ref typing - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/8507) |
| 95 | + * Add permission element to focusable elements list - [@gabrielchl](https://github.com/gabrielchl) - [PR](https://github.com/adobe/react-spectrum/pull/8356) |
| 96 | + * Minimize unnecessary global events in `useHover` - [@qmhc](https://github.com/qmhc) - [PR](https://github.com/adobe/react-spectrum/pull/8483) |
| 97 | + * Do not dispatch `loadMore` if hook is still in loading state - [@jluyau](https://github.com/jluyau) = [PR](https://github.com/adobe/react-spectrum/pull/8571) |
| 98 | + |
| 99 | +## Docs |
| 100 | + |
| 101 | +* Remove duplicate "color" in `ColorWheelRenderProps` comment - [@GuiEpi](https://github.com/GuiEpi) - [PR](https://github.com/adobe/react-spectrum/pull/8465) |
| 102 | +* Fix `Calendar` example - [@chirokas](https://github.com/chirokas) - [PR](https://github.com/adobe/react-spectrum/pull/8529) |
| 103 | +* Use `lucide-react` for React Aria example's icons - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8516) |
| 104 | +* Fix TanStack Router example - [@brmzkw](https://github.com/brmzkw) - [PR](https://github.com/adobe/react-spectrum/pull/8404) |
| 105 | +* Fix checkbox in dark mode in the Tailwind Starter - [@tomer-yechiel](https://github.com/tomer-yechiel) - [PR](https://github.com/adobe/react-spectrum/pull/8379) |
| 106 | + |
| 107 | +## Under Construction |
| 108 | + |
| 109 | +* Autocomplete |
| 110 | + * Clear Autocomplete virtualFocus upon paste/undo/redo and other focus fixes - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/8438) |
| 111 | +* Tree: |
| 112 | + * Support virtualized Tree drag and drop - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8526), [PR](https://github.com/adobe/react-spectrum/pull/8550), [PR](https://github.com/adobe/react-spectrum/pull/8427) |
| 113 | + * Fix dragging a root item after itself - [@chirokas](https://github.com/chirokas) - [PR](https://github.com/adobe/react-spectrum/pull/8436) |
| 114 | + * Fix reordering top-level items via drag and drop - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/8563) |
| 115 | + |
| 116 | + |
| 117 | +## Released packages |
| 118 | + |
| 119 | +``` |
| 120 | + |
| 121 | + - @internationalized/[email protected] |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + - @react-spectrum/[email protected] |
| 176 | + - @react-spectrum/[email protected] |
| 177 | + - @react-spectrum/[email protected] |
| 178 | + - @react-spectrum/[email protected] |
| 179 | + - @react-spectrum/[email protected] |
| 180 | + - @react-spectrum/[email protected] |
| 181 | + - @react-spectrum/[email protected] |
| 182 | + - @react-spectrum/[email protected] |
| 183 | + - @react-spectrum/[email protected] |
| 184 | + - @react-spectrum/[email protected] |
| 185 | + - @react-spectrum/[email protected] |
| 186 | + - @react-spectrum/[email protected] |
| 187 | + - @react-spectrum/[email protected] |
| 188 | + - @react-spectrum/[email protected] |
| 189 | + - @react-spectrum/[email protected] |
| 190 | + - @react-spectrum/[email protected] |
| 191 | + - @react-spectrum/[email protected] |
| 192 | + - @react-spectrum/[email protected] |
| 193 | + - @react-spectrum/[email protected] |
| 194 | + - @react-spectrum/[email protected] |
| 195 | + - @react-spectrum/[email protected] |
| 196 | + - @react-spectrum/[email protected] |
| 197 | + - @react-spectrum/[email protected] |
| 198 | + - @react-spectrum/[email protected] |
| 199 | + - @react-spectrum/[email protected] |
| 200 | + - @react-spectrum/[email protected] |
| 201 | + - @react-spectrum/[email protected] |
| 202 | + - @react-spectrum/[email protected] |
| 203 | + - @react-spectrum/[email protected] |
| 204 | + - @react-spectrum/[email protected] |
| 205 | + - @react-spectrum/[email protected] |
| 206 | + - @react-spectrum/[email protected] |
| 207 | + - @react-spectrum/[email protected] |
| 208 | + - @react-spectrum/[email protected] |
| 209 | + - @react-spectrum/[email protected] |
| 210 | + - @react-spectrum/[email protected] |
| 211 | + - @react-spectrum/[email protected] |
| 212 | + - @react-spectrum/[email protected] |
| 213 | + - @react-spectrum/[email protected] |
| 214 | + - @react-spectrum/[email protected] |
| 215 | + - @react-spectrum/[email protected] |
| 216 | + - @react-spectrum/[email protected] |
| 217 | + - @react-spectrum/[email protected] |
| 218 | + - @react-spectrum/[email protected] |
| 219 | + - @react-spectrum/[email protected] |
| 220 | + - @react-spectrum/[email protected] |
| 221 | + - @react-spectrum/[email protected] |
| 222 | + - @react-spectrum/[email protected] |
| 223 | + - @react-spectrum/[email protected] |
| 224 | + - @react-spectrum/[email protected] |
| 225 | + - @react-spectrum/[email protected] |
| 226 | + - @react-spectrum/[email protected] |
| 227 | + - @react-spectrum/[email protected] |
| 228 | + - @react-spectrum/[email protected] |
| 229 | + - @react-spectrum/[email protected] |
| 230 | + - @react-spectrum/[email protected] |
| 231 | + - @react-spectrum/[email protected] |
| 232 | + - @react-spectrum/[email protected] |
| 233 | + - @react-spectrum/[email protected] |
| 234 | + - @react-spectrum/[email protected] |
| 235 | + - @react-spectrum/[email protected] |
| 236 | + - @react-spectrum/[email protected] |
| 237 | + - @react-stately/[email protected] |
| 238 | + - @react-stately/[email protected] |
| 239 | + - @react-stately/[email protected] |
| 240 | + - @react-stately/[email protected] |
| 241 | + - @react-stately/[email protected] |
| 242 | + - @react-stately/[email protected] |
| 243 | + - @react-stately/[email protected] |
| 244 | + - @react-stately/[email protected] |
| 245 | + - @react-stately/[email protected] |
| 246 | + - @react-stately/[email protected] |
| 247 | + - @react-stately/[email protected] |
| 248 | + - @react-stately/[email protected] |
| 249 | + - @react-stately/[email protected] |
| 250 | + - @react-stately/[email protected] |
| 251 | + - @react-stately/[email protected] |
| 252 | + - @react-stately/[email protected] |
| 253 | + - @react-stately/[email protected] |
| 254 | + - @react-stately/[email protected] |
| 255 | + - @react-stately/[email protected] |
| 256 | + - @react-stately/[email protected] |
| 257 | + - @react-stately/[email protected] |
| 258 | + - @react-stately/[email protected] |
| 259 | + - @react-stately/[email protected] |
| 260 | + - @react-stately/[email protected] |
| 261 | + - @react-stately/[email protected] |
| 262 | + - @react-stately/[email protected] |
| 263 | + - @react-stately/[email protected] |
| 264 | + - @react-stately/[email protected] |
| 265 | + - @react-stately/[email protected] |
| 266 | + - @react-stately/[email protected] |
| 267 | + - @react-stately/[email protected] |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + - @spectrum-icons/[email protected] |
| 315 | + - @spectrum-icons/[email protected] |
| 316 | + - @spectrum-icons/[email protected] |
| 317 | + - @spectrum-icons/[email protected] |
| 318 | + - @spectrum-icons/[email protected] |
| 319 | + - @react-spectrum/[email protected] |
| 320 | + - @react-spectrum/[email protected] |
| 321 | + |
| 322 | + - @react-spectrum/[email protected] |
| 323 | + - @react-spectrum/[email protected] |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | +``` |
0 commit comments