
In addition to the above API changes, we also released the following improvements: This is exposed as data-invalid instead of data-validation-state as well.

All components with validation support moved from the validationState prop to the isInvalid prop.In addition, it does not include a element by default anymore. Breadcrumbs now uses the component instead of.
Framer motion animation examples full#
See the Styling section in each component’s documentation for the full list of supported states. Switching to data attributes for all states ensures API consistency and allows us to handle future ARIA pattern changes more easily without breaking your styles. Previously, some states were documented as ARIA attributes or native CSS pseudo classes, but this caused some confusion. All states are now exposed on DOM elements as data attributes.React Aria Components includes the following API changes:

It also includes fixes for an infinite resize loop bug in ButtonGroup, a press handling bug on certain Android devices, and new documentation for our pre-release components.Īs always, huge thanks to all of our contributors! Updates to React Aria Components # This release also deprecates the validationState prop in many components and replaces it with an isInvalid boolean prop. In this release, we’re moving React Aria Components from alpha to beta! With this milestone, we’ve made some API updates based on early feedback, introduced a new Tailwind CSS plugin, and updated the documentation with improved content and organization.
