May 19, 2023 Release

In this release, we are moving TagGroup and Column Resizing to GA. We have also been making many improvements and bug fixes to the new React Aria Components we announced last release. We have also added the much asked for Search to our docs. We hope this will aid in discoverability for our components and hooks.

As always, thanks to all of our contributors for helping to make this release possible! Special shoutout to @auskast for an extensive PR to help us improve our React Aria Components.

New Components/Features#


TagGroup API update#

This last release of TagGroup required a breaking change to our pre-release in order to support future features more easily. Please see the details below on breaking changes.

  • The onRemove callback prop now accepts a Set<Key> instead of a single Key. ** Add link to docs
  • RemovedlabelProps of a Tag from needing to be a separate element, and just uses the tag itself in the aria-labelledby of the remove button.
  • Removed Spectrum specific props from TagGroup hooks in React Aria.
  • Users no longer need to pass onRemove from useTagGroup to useTag.
  • Removed allowsRemoval prop and instead infer this from onRemove being present or not.
  • Removes TagKeyboardDelegate and adds an orientation option to ListKeyboardDelegate instead, along with support for shouldFocusWrap in arrow left/right.
  • Removed @react-stately/tag package as functionality is covered by the @react-stately/list package.

Enhancements#


Fixes#


  • Fix refs on Link and ability to prevent link navigation - @snowystinger - PR
  • Update ColorField and NumberField validation to prevent invalid characters - @snowystinger - PR
  • Fix Table select-all error when triggered twice with keyboard - @tianenpang - PR
  • Merge UNSAFE_className in Date and Tag components to fix order - @akash1412 - PR
  • Improve useRestoreFocus logic to fix focus issues with ComboBox trigger - @boutahlilsoufiane - PR
  • Fix ComboBox border and background colors in Windows High Contrast Mode - @jcpengy10 - PR
  • Improve TableView DnD style specificity - @reidbarber - PR

Docs#


Under construction#


Fixes to pre-released components are listed below. Please feel free to try them out, and report any issues you encounter.

  • React Aria Components (Alpha)

  • Add className prop to TableHeader - @akash1412 - PR

  • Fix(#4369): Fix children renderProps for react-aria-components - @auskast - PR

  • Adding DropIndicatorProps to RAC export - @LFDanLu - PR

  • RAC: Allow form attributes in Button - @reidbarber - PR

  • Fix react 18 animation flicker - @snowystinger - PR

  • RAC Select: propagate placeholder to Button label - @reidbarber - PR

  • Fix RAC collections in React canary versions - @devongovett - PR

  • Remove extraneous children set on Selects button context - @LFDanLu - PR

  • Fix Infinite rendering in RAC ComboBox/Select with renderProps - @LFDanLu - PR

  • Add support for refs to collection components - @devongovett - PR

  • Ensure collections update when descendants re-render - @devongovett - PR

  • Fix RAC collections in React canary versions - @devongovett - PR

Released packages#