v1.23.0

This release adds two new components to the library for multi-step processes: ProgressList and Wizard!

For a non-interactive overview, ProgressList shows users where they are in a process and which steps they’ve completed.

When steps need to be interactive, Wizard lets users navigate between steps they’ve already reached.

Choose a username and password.

For more precise input, Slider now supports editable values via a slotted NumberField.

GridList, Table, and Tree now support handle-only pointer dragging via pointerDragSource: 'handle' in drag and drop, leaving the rest of each item available for other interactions.

CharizardFire, Flying
BlastoiseWater
VenusaurGrass, Poison
PikachuElectric
Drop items here

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 - PR
  • Fix optimizeLocales.turbopack() return types so rules can be spread into Next.js NextConfig - @costajohnt - PR
  • Avoid an extra render on mount in useDescription for shared descriptions - @tabedzki - PR
  • Fix memory leak in runAfterTransition when CSS transitions are cancelled - @ali-idrizi - PR
  • Prevent import errors in environments where window.screen is unavailable - @jkugsiya - PR
  • Refactor shared layout types and DOM type guards, and add shadow-DOM-safe parent helpers and lint rules - @nwidynski - PR, PR, PR
  • Fix LiveAnnouncer clearing under Trusted Types - @okeken - PR

CheckboxGroup

  • Restore default selection on form reset when multiple checkboxes are selected - @Bhavani2016 - PR
  • Inherit validationBehavior on child Checkbox components - @mangeshraut712 - PR

Collections

  • Fix Home, End, PageUp, PageDown, and range selection keyboard shortcuts in useSelectableCollection - @snowystinger - PR
  • Cycle through matching options when typing repeated letters in type-ahead - @withlakshmanan - PR

ColorField

ComboBox

  • Improve VoiceOver announcements by limiting live regions to section changes - @gonzoblasco - PR
  • Fix keyboard navigation when the input and popover are in different shadow roots - @chirokas - PR
  • Don't commit value on blur when isReadOnly - @mangeshraut712 - PR
  • Prevent default browser behavior on Escape when closing the popover - @ayuxy027 - PR
  • Allow Cmd/Ctrl + A to select input text while a multi-select menu is open - @mangeshraut712 - PR

Date and Time

  • Fix useDateSegment crash in 12-hour locales without a day period - @mangeshraut712 - PR

DateField

  • Fix onKeyDown and onKeyUp event propagation in useDateField - @snowystinger - PR

DatePicker

  • Fix onKeyDown and onKeyUp event propagation in useDatePicker - @snowystinger - PR
  • Prevent default ArrowLeft and ArrowRight behavior when moving between segments - @snowystinger - PR

DateRangePicker

  • Fix onKeyDown and onKeyUp event propagation in useDateRangePicker - @snowystinger - PR
  • Prevent default ArrowLeft and ArrowRight behavior when moving between segments - @snowystinger - PR

Drag and Drop

  • Add pointerDragSource to useDragAndDrop to restrict pointer dragging to drag handles - @reidbarber - PR
  • Fix drop target calculations for horizontal virtualized lists in ListLayout - @nwidynski - PR

FocusScope

  • Allow restoreFocus to accept a ref or callback to customize where focus returns - @snowystinger - PR

Form

  • Prevent nested Forms from inheriting props from a parent Form - @UditDewan - PR

GridList

  • Add onFocus, onBlur, and onFocusChange props to GridListItem - @dagemawinegash - PR
  • Support handle-only pointer dragging via pointerDragSource: 'handle' - @reidbarber - PR
  • Preserve focus tracking when items load into a focused empty GridList - @minwookshin - PR

Interactions

  • Fix useHover getting stuck after touch interactions on hybrid touch/mouse devices - @reidbarber - PR
  • Prevent default Enter behavior on macOS in usePress (except Control + Enter) so menus like Select don't reopen on selection - @jsabutis - PR
  • Fix duplicate click events in usePress when pressing Space or Enter on native buttons and inputs - @snowystinger - PR
  • Fix onKeyDown and onKeyUp event propagation in useMenu - @snowystinger - PR
  • Add restoreFocus prop to Modal and ModalOverlay to customize or disable focus restoration - @snowystinger - PR

NumberField

  • Remove the signDisplay polyfill from NumberFormatter to support all native Intl.NumberFormat options - @UditDewan - PR
  • Preserve the numbering system in NumberParser for separator-only input - @adobe-ddavidso - PR
  • Fix native decimal and grouping separators in NumberParser for Sindhi and Arabic-digit locales - @itsrayeedscodespace - PR

Popover

  • Allow getTargetRect in useOverlayPosition to return read-only rectangles without mutating them - @minwookshin - PR
  • Add restoreFocus prop to customize or disable focus restoration - @snowystinger - PR
  • Let a standalone Popover's aria-label override its trigger label - @UditDewan - PR

PreviewTrigger

  • Allow Escape to close parent dialogs when the preview is closed - @arba-octo - PR

ProgressList

Select

  • Restore default selection on form reset for large lists (300+ items) without a name prop - @Bhavani2016 - PR
  • Remove unsupported excludeFromTabOrder prop from AriaSelectProps - @UditDewan - PR

Separator

  • Omit redundant role="separator" when rendering a default <hr> element - @okeken - PR

Sheet

  • Add restoreFocus prop to customize or disable focus restoration - @snowystinger - PR
  • Start the slide-in enter animation immediately without an offscreen delay - @georgereade - PR
  • Fix stacked Sheet backdrops flashing in Firefox when nested sheets open or close - @dagemawinegash - PR

Slider

  • Support editable Sliders - @reidbarber - PR, PR
  • Avoid duplicate onChange calls while dragging a controlled thumb within the same step - @isihussain - PR

Table

  • Add onFocus, onBlur, and onFocusChange props to Row - @dagemawinegash - PR
  • Support handle-only pointer dragging via pointerDragSource: 'handle' - @reidbarber - PR
  • Allow repeated-letter type-ahead to cycle through matching rows and wrap around at the end - @reidbarber - PR

Tabs

  • Fix TabPanel size measurement for nested content and stop size CSS variables from leaking into nested TabPanels - @jsabutis - PR
  • Extend ListKeyboardDelegate in TabsKeyboardDelegate - @nwidynski - PR

TokenField

  • Report every user caret movement through onChange - @UditDewan - PR
  • Prevent crash when moving the caret onto an empty trailing line - @maricastroc - PR

Toolbar

  • Scroll keyboard-focused items into view inside overflowing containers - @devteamaegis - PR
  • Keep focus on a clicked button instead of restoring focus to the previously focused item - @arba-octo - PR

Tree

  • Add onFocus, onBlur, and onFocusChange props to TreeItem - @bellussi1 - PR
  • Add support for Text with slot="description" in TreeItem - @minwookshin - PR
  • Support handle-only pointer dragging via pointerDragSource: 'handle' - @reidbarber - PR
  • Allow TreeItem with hasChildItems to expand before child rows are rendered - @SimenB - PR
  • Preserve focus tracking when items load into a focused empty Tree - @minwookshin - PR
  • Support falsy parent keys (such as 0 and "") in useTreeData updates - @raunakpandey1 - PR

Wizard

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