Repository navigation
chore: nov release notes #11028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+483
−0
Merged
chore: nov release notes #11028
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b4c7ffd
chore: nov release notes
yihuiliao 736186d
add commits
yihuiliao ca2c495
Merge branch 'main' into nov-release-notes
yihuiliao 181e664
update review comments
yihuiliao fdcaf01
add commits
yihuiliao 219b241
Merge branch 'main' into nov-release-notes
yihuiliao 7bbef8e
examples
yihuiliao b88e812
update dates
yihuiliao 8489869
Add versions
devongovett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
267 changes: 267 additions & 0 deletions
267
packages/dev/s2-docs/pages/react-aria/releases/v1-23-0.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,267 @@ | ||
| {/* Copyright 2026 Adobe. All rights reserved. | ||
| This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. You may obtain a copy | ||
| of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| Unless required by applicable law or agreed to in writing, software distributed under | ||
| the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
| OF ANY KIND, either express or implied. See the License for the specific language | ||
| governing permissions and limitations under the License. */} | ||
|
|
||
| import {InstallCommand} from '../../../src/InstallCommand'; | ||
|
|
||
| import {Layout} from '../../../src/Layout'; | ||
| export default Layout; | ||
|
|
||
| import docs from 'docs:@react-spectrum/s2'; | ||
|
|
||
| export const hideNav = true; | ||
| export const section = 'Releases'; | ||
| export const tags = ['release', 'React Aria']; | ||
| export const date = 'December 2, 2026'; | ||
| export const title = 'v1.23.0'; | ||
| export const description = 'This release adds editable Slider values, handle-only drag and drop for collections, focus events for collection items, and many bug fixes.'; | ||
| export const isSubpage = true; | ||
|
|
||
| # v1.23.0 | ||
|
|
||
| This release adds two new components to the library for multi-step processes: [ProgressList](../ProgressList) and [Wizard](../Wizard)! | ||
|
|
||
| For a non-interactive overview, ProgressList shows users where they are in a process and which steps they’ve completed. | ||
|
|
||
| ```tsx render hideCode | ||
| "use client"; | ||
| import {ProgressList, ProgressListItem} from 'vanilla-starter/ProgressList'; | ||
|
|
||
| <ProgressList aria-label="Checkout" selectedKey="payment"> | ||
| <ProgressListItem id="cart">Cart</ProgressListItem> | ||
| <ProgressListItem id="shipping">Shipping</ProgressListItem> | ||
| <ProgressListItem id="payment">Payment</ProgressListItem> | ||
| <ProgressListItem id="review">Review</ProgressListItem> | ||
| </ProgressList> | ||
| ``` | ||
|
|
||
| When steps need to be interactive, Wizard lets users navigate between steps they’ve already reached. | ||
|
|
||
| ```tsx render hideCode | ||
| "use client"; | ||
| import {Wizard, WizardStepList, WizardStep, WizardPanels, WizardPanel, WizardButtons} from 'vanilla-starter/Wizard'; | ||
|
|
||
| let steps = [ | ||
| {id: 'account', label: 'Account', content: 'Choose a username and password.'}, | ||
| {id: 'profile', label: 'Profile', content: 'Add a photo and a short bio.'}, | ||
| {id: 'settings', label: 'Settings', content: 'Choose which notifications you receive.'}, | ||
| {id: 'confirm', label: 'Confirm', content: 'Check your details, then create your account.'} | ||
| ]; | ||
|
|
||
| <Wizard> | ||
| <WizardStepList aria-label="Sign up" items={steps}> | ||
| {step => <WizardStep>{step.label}</WizardStep>} | ||
| </WizardStepList> | ||
| <WizardPanels items={steps}> | ||
| {step => <WizardPanel>{step.content}</WizardPanel>} | ||
| </WizardPanels> | ||
| <WizardButtons /> | ||
| </Wizard> | ||
| ``` | ||
|
|
||
| For more precise input, [Slider](../Slider#editable) now supports editable values via a slotted NumberField. | ||
|
|
||
| ```tsx render hideCode | ||
| "use client"; | ||
| import {Input, NumberField, Slider, SliderFill, SliderThumb, SliderTrack} from 'react-aria-components'; | ||
| import {Label} from 'vanilla-starter/Form'; | ||
| import 'vanilla-starter/Slider.css'; | ||
|
|
||
| <Slider | ||
| defaultValue={0.5} | ||
| maxValue={1} | ||
| step={0.01} | ||
| formatOptions={{style: 'percent'}}> | ||
| <Label>Opacity</Label> | ||
| <SliderTrack> | ||
| <div className="track inset"> | ||
| <SliderFill /> | ||
| </div> | ||
| <SliderThumb className="react-aria-SliderThumb indicator" /> | ||
| </SliderTrack> | ||
| <NumberField slot="0"> | ||
| <Input className="react-aria-Input inset" /> | ||
| </NumberField> | ||
| </Slider> | ||
| ``` | ||
|
|
||
| [GridList](../GridList#drag-and-drop), [Table](../Table#drag-and-drop), and [Tree](../Tree#drag-and-drop) now support handle-only pointer dragging via `pointerDragSource: 'handle'` in [drag and drop](../dnd#drag-handle), leaving the rest of each item available for other interactions. | ||
|
|
||
| <ExampleSwitcher type="component" examples={['GridList', 'Table', 'Tree']}> | ||
|
|
||
| ```tsx render hideCode dir="react-aria/releases" files={['packages/dev/s2-docs/pages/react-aria/PokemonCOMPONENT.tsx', 'packages/dev/s2-docs/pages/react-aria/DroppableCOMPONENT.tsx']} | ||
| "use client"; | ||
| import {useDragAndDrop} from 'react-aria-components/useDragAndDrop'; | ||
| import {PokemonCOMPONENT, Pokemon} from '../PokemonCOMPONENT'; | ||
| import {DroppableCOMPONENT} from '../DroppableCOMPONENT'; | ||
|
|
||
| function DraggableCOMPONENT() { | ||
| let {dragAndDropHooks} = useDragAndDrop({ | ||
| getItems(keys, items: Pokemon[]) { | ||
| return items.map(item => ({ | ||
| 'text/plain': item.name, | ||
| 'pokemon': JSON.stringify(item) | ||
| })); | ||
| }, | ||
| pointerDragSource: 'handle' | ||
| }); | ||
|
|
||
| return <PokemonCOMPONENT dragAndDropHooks={dragAndDropHooks} />; | ||
| } | ||
|
|
||
| <div style={{display: 'flex', gap: 12, flexWrap: 'wrap', width: '100%', justifyContent: 'center'}}> | ||
| <DraggableCOMPONENT /> | ||
| <DroppableCOMPONENT /> | ||
| </div> | ||
| ``` | ||
|
|
||
| </ExampleSwitcher> | ||
|
|
||
| Other highlights include focus events for collection items, description slot support for TreeItem, and numerous bug fixes across components and hooks. | ||
|
|
||
| As always, many thanks to all of our contributors! | ||
|
|
||
| ## Changelog | ||
|
|
||
| ### General Changes | ||
| - Declare `@types/react` as an optional peer dependency for better TypeScript resolution in pnpm workspaces - [@Sophran-fbj](https://github.com/Sophran-fbj) - [PR](https://github.com/adobe/react-spectrum/pull/10953) | ||
| - Fix `optimizeLocales.turbopack()` return types so rules can be spread into Next.js `NextConfig` - [@costajohnt](https://github.com/costajohnt) - [PR](https://github.com/adobe/react-spectrum/pull/10889) | ||
| - Avoid an extra render on mount in `useDescription` for shared descriptions - [@tabedzki](https://github.com/tabedzki) - [PR](https://github.com/adobe/react-spectrum/pull/10754) | ||
| - Fix memory leak in `runAfterTransition` when CSS transitions are cancelled - [@ali-idrizi](https://github.com/ali-idrizi) - [PR](https://github.com/adobe/react-spectrum/pull/10730) | ||
| - Prevent import errors in environments where `window.screen` is unavailable - [@jkugsiya](https://github.com/jkugsiya) - [PR](https://github.com/adobe/react-spectrum/pull/10774) | ||
| - Refactor shared layout types and DOM type guards, and add shadow-DOM-safe parent helpers and lint rules - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/10831), [PR](https://github.com/adobe/react-spectrum/pull/10832), [PR](https://github.com/adobe/react-spectrum/pull/10834) | ||
| - Fix `LiveAnnouncer` clearing under Trusted Types - [@okeken](https://github.com/okeken) - [PR](https://github.com/adobe/react-spectrum/pull/11013) | ||
|
|
||
| ### CheckboxGroup | ||
| - Restore default selection on form reset when multiple checkboxes are selected - [@Bhavani2016](https://github.com/Bhavani2016) - [PR](https://github.com/adobe/react-spectrum/pull/10686) | ||
| - Inherit `validationBehavior` on child Checkbox components - [@mangeshraut712](https://github.com/mangeshraut712) - [PR](https://github.com/adobe/react-spectrum/pull/10860) | ||
|
|
||
| ### Collections | ||
| - Fix <Keyboard>Home</Keyboard>, <Keyboard>End</Keyboard>, <Keyboard>PageUp</Keyboard>, <Keyboard>PageDown</Keyboard>, and range selection keyboard shortcuts in `useSelectableCollection` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10728) | ||
| - Cycle through matching options when typing repeated letters in type-ahead - [@withlakshmanan](https://github.com/withlakshmanan) - [PR](https://github.com/adobe/react-spectrum/pull/10006) | ||
|
|
||
| ### ColorField | ||
| - Inherit `validationBehavior` from a parent Form - [@mangeshraut712](https://github.com/mangeshraut712) - [PR](https://github.com/adobe/react-spectrum/pull/10863) | ||
|
|
||
| ### ComboBox | ||
| - Improve VoiceOver announcements by limiting live regions to section changes - [@gonzoblasco](https://github.com/gonzoblasco) - [PR](https://github.com/adobe/react-spectrum/pull/10503) | ||
| - Fix keyboard navigation when the input and popover are in different shadow roots - [@chirokas](https://github.com/chirokas) - [PR](https://github.com/adobe/react-spectrum/pull/10631) | ||
| - Don't commit value on blur when `isReadOnly` - [@mangeshraut712](https://github.com/mangeshraut712) - [PR](https://github.com/adobe/react-spectrum/pull/10869) | ||
| - Prevent default browser behavior on <Keyboard>Escape</Keyboard> when closing the popover - [@ayuxy027](https://github.com/ayuxy027) - [PR](https://github.com/adobe/react-spectrum/pull/10883) | ||
| - Allow <Keyboard>Cmd</Keyboard>/<Keyboard>Ctrl</Keyboard> + <Keyboard>A</Keyboard> to select input text while a multi-select menu is open - [@mangeshraut712](https://github.com/mangeshraut712) - [PR](https://github.com/adobe/react-spectrum/pull/10868) | ||
|
|
||
| ### Date and Time | ||
| - Fix `useDateSegment` crash in 12-hour locales without a day period - [@mangeshraut712](https://github.com/mangeshraut712) - [PR](https://github.com/adobe/react-spectrum/pull/10842) | ||
|
|
||
| ### DateField | ||
| - Fix `onKeyDown` and `onKeyUp` event propagation in `useDateField` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10745) | ||
|
|
||
| ### DatePicker | ||
| - Fix `onKeyDown` and `onKeyUp` event propagation in `useDatePicker` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10745) | ||
| - Prevent default <Keyboard>ArrowLeft</Keyboard> and <Keyboard>ArrowRight</Keyboard> behavior when moving between segments - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10728) | ||
|
|
||
| ### DateRangePicker | ||
| - Fix `onKeyDown` and `onKeyUp` event propagation in `useDateRangePicker` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10745) | ||
| - Prevent default <Keyboard>ArrowLeft</Keyboard> and <Keyboard>ArrowRight</Keyboard> behavior when moving between segments - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10728) | ||
|
|
||
| ### Drag and Drop | ||
| - Add `pointerDragSource` to `useDragAndDrop` to restrict pointer dragging to drag handles - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10738) | ||
| - Fix drop target calculations for horizontal virtualized lists in `ListLayout` - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/10699) | ||
|
|
||
| ### FocusScope | ||
| - Allow `restoreFocus` to accept a ref or callback to customize where focus returns - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10962) | ||
|
|
||
| ### Form | ||
| - Prevent nested Forms from inheriting props from a parent Form - [@UditDewan](https://github.com/UditDewan) - [PR](https://github.com/adobe/react-spectrum/pull/10746) | ||
|
|
||
| ### GridList | ||
| - Add `onFocus`, `onBlur`, and `onFocusChange` props to GridListItem - [@dagemawinegash](https://github.com/dagemawinegash) - [PR](https://github.com/adobe/react-spectrum/pull/10822) | ||
| - Support handle-only pointer dragging via `pointerDragSource: 'handle'` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10738) | ||
| - Preserve focus tracking when items load into a focused empty GridList - [@minwookshin](https://github.com/minwookshin) - [PR](https://github.com/adobe/react-spectrum/pull/10689) | ||
|
|
||
| ### Interactions | ||
| - Fix `useHover` getting stuck after touch interactions on hybrid touch/mouse devices - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10824) | ||
| - Prevent default <Keyboard>Enter</Keyboard> behavior on macOS in `usePress` (except <Keyboard>Control</Keyboard> + <Keyboard>Enter</Keyboard>) so menus like Select don't reopen on selection - [@jsabutis](https://github.com/jsabutis) - [PR](https://github.com/adobe/react-spectrum/pull/10820) | ||
| - Fix duplicate click events in `usePress` when pressing <Keyboard>Space</Keyboard> or <Keyboard>Enter</Keyboard> on native buttons and inputs - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10840) | ||
|
|
||
| ### Menu | ||
| - Fix `onKeyDown` and `onKeyUp` event propagation in `useMenu` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10745) | ||
|
|
||
| ### Modal | ||
| - Add `restoreFocus` prop to Modal and ModalOverlay to customize or disable focus restoration - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10962) | ||
|
|
||
| ### NumberField | ||
| - Remove the `signDisplay` polyfill from `NumberFormatter` to support all native `Intl.NumberFormat` options - [@UditDewan](https://github.com/UditDewan) - [PR](https://github.com/adobe/react-spectrum/pull/10780) | ||
| - Preserve the numbering system in `NumberParser` for separator-only input - [@adobe-ddavidso](https://github.com/adobe-ddavidso) - [PR](https://github.com/adobe/react-spectrum/pull/10876) | ||
| - Fix native decimal and grouping separators in `NumberParser` for Sindhi and Arabic-digit locales - [@itsrayeedscodespace](https://github.com/itsrayeedscodespace) - [PR](https://github.com/adobe/react-spectrum/pull/10939) | ||
|
|
||
| ### Popover | ||
| - Allow `getTargetRect` in `useOverlayPosition` to return read-only rectangles without mutating them - [@minwookshin](https://github.com/minwookshin) - [PR](https://github.com/adobe/react-spectrum/pull/10716) | ||
| - Add `restoreFocus` prop to customize or disable focus restoration - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10962) | ||
| - Let a standalone Popover's `aria-label` override its trigger label - [@UditDewan](https://github.com/UditDewan) - [PR](https://github.com/adobe/react-spectrum/pull/10789) | ||
|
|
||
| ### PreviewTrigger | ||
| - Allow <Keyboard>Escape</Keyboard> to close parent dialogs when the preview is closed - [@arba-octo](https://github.com/arba-octo) - [PR](https://github.com/adobe/react-spectrum/pull/10921) | ||
|
|
||
| ### ProgressList | ||
| - Add ProgressList component - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10794) | ||
|
|
||
| ### Select | ||
| - Restore default selection on form reset for large lists (300+ items) without a `name` prop - [@Bhavani2016](https://github.com/Bhavani2016) - [PR](https://github.com/adobe/react-spectrum/pull/10695) | ||
| - Remove unsupported `excludeFromTabOrder` prop from `AriaSelectProps` - [@UditDewan](https://github.com/UditDewan) - [PR](https://github.com/adobe/react-spectrum/pull/10790) | ||
|
|
||
| ### Separator | ||
| - Omit redundant `role="separator"` when rendering a default `<hr>` element - [@okeken](https://github.com/okeken) - [PR](https://github.com/adobe/react-spectrum/pull/10946) | ||
|
|
||
| ### Sheet | ||
| - Add `restoreFocus` prop to customize or disable focus restoration - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10962) | ||
| - Start the slide-in enter animation immediately without an offscreen delay - [@georgereade](https://github.com/georgereade) - [PR](https://github.com/adobe/react-spectrum/pull/10815) | ||
| - Fix stacked Sheet backdrops flashing in Firefox when nested sheets open or close - [@dagemawinegash](https://github.com/dagemawinegash) - [PR](https://github.com/adobe/react-spectrum/pull/10933) | ||
|
|
||
| ### Slider | ||
| - Support editable Sliders - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10978), [PR](https://github.com/adobe/react-spectrum/pull/11066) | ||
| - Avoid duplicate `onChange` calls while dragging a controlled thumb within the same step - [@isihussain](https://github.com/isihussain) - [PR](https://github.com/adobe/react-spectrum/pull/10952) | ||
|
|
||
| ### Table | ||
| - Add `onFocus`, `onBlur`, and `onFocusChange` props to Row - [@dagemawinegash](https://github.com/dagemawinegash) - [PR](https://github.com/adobe/react-spectrum/pull/10857) | ||
| - Support handle-only pointer dragging via `pointerDragSource: 'handle'` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10738) | ||
| - Allow repeated-letter type-ahead to cycle through matching rows and wrap around at the end - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/11057) | ||
|
|
||
| ### Tabs | ||
| - Fix TabPanel size measurement for nested content and stop size CSS variables from leaking into nested TabPanels - [@jsabutis](https://github.com/jsabutis) - [PR](https://github.com/adobe/react-spectrum/pull/10819) | ||
| - Extend `ListKeyboardDelegate` in `TabsKeyboardDelegate` - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/11018) | ||
|
|
||
| ### TokenField | ||
| - Report every user caret movement through `onChange` - [@UditDewan](https://github.com/UditDewan) - [PR](https://github.com/adobe/react-spectrum/pull/10766) | ||
| - Prevent crash when moving the caret onto an empty trailing line - [@maricastroc](https://github.com/maricastroc) - [PR](https://github.com/adobe/react-spectrum/pull/10763) | ||
|
|
||
| ### Toolbar | ||
| - Scroll keyboard-focused items into view inside overflowing containers - [@devteamaegis](https://github.com/devteamaegis) - [PR](https://github.com/adobe/react-spectrum/pull/10712) | ||
| - Keep focus on a clicked button instead of restoring focus to the previously focused item - [@arba-octo](https://github.com/arba-octo) - [PR](https://github.com/adobe/react-spectrum/pull/10938) | ||
|
|
||
| ### Tree | ||
| - Add `onFocus`, `onBlur`, and `onFocusChange` props to TreeItem - [@bellussi1](https://github.com/bellussi1) - [PR](https://github.com/adobe/react-spectrum/pull/10993) | ||
| - Add support for Text with `slot="description"` in TreeItem - [@minwookshin](https://github.com/minwookshin) - [PR](https://github.com/adobe/react-spectrum/pull/10710) | ||
| - Support handle-only pointer dragging via `pointerDragSource: 'handle'` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/10738) | ||
| - Allow TreeItem with `hasChildItems` to expand before child rows are rendered - [@SimenB](https://github.com/SimenB) - [PR](https://github.com/adobe/react-spectrum/pull/10799) | ||
| - Preserve focus tracking when items load into a focused empty Tree - [@minwookshin](https://github.com/minwookshin) - [PR](https://github.com/adobe/react-spectrum/pull/10689) | ||
| - Support falsy parent keys (such as `0` and `""`) in `useTreeData` updates - [@raunakpandey1](https://github.com/raunakpandey1) - [PR](https://github.com/adobe/react-spectrum/pull/10908) | ||
|
|
||
| ### Wizard | ||
| - Add Wizard component - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/10794) | ||
|
|
||
| ## Released packages | ||
|
|
||
| ``` | ||
| - @internationalized/number@3.6.10 | ||
| - @react-types/shared@3.37.1 | ||
| - @react-aria/optimize-locales-plugin@2.1.1 | ||
| - react-aria@3.54.0 | ||
| - react-aria-components@1.23.0 | ||
| - react-stately@3.52.0 | ||
| ``` | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add wizard/steplist once merged