- The
DotsandSpinnercomponents no longer accept avelocityprop- To customize the speed of the animation use the
durationprop to provide the time in MS.
- To customize the speed of the animation use the
- The
focusedKeyprop is no longer accepted- This state is no longer controllable
- The
onStateChangeprop is no longer accepted- Use the
onChangeprop to receivecurrentPageupdates.
- Use the
- The
selectedKeyprop has been renamed toselectedItem- This API now aligns with other components
- All
<TabPanel>components now require anitemprop instead of akeyprop- Previously we used the
keyattribute to uniquely identify each tab - This created confusion as
keyis also a reserved prop name in React
- Previously we used the
- The
onStateChangeprop is no longer valid- Use the
onChangeprop to receiveselectedItemupdates
- Use the
The following deprecated packages have been removed from the repository and will not be upgraded to v7:
@zendeskgarden/react-autocomplete- Migrate to the
@zendeskgarden/react-dropdownspackage
- Migrate to the
@zendeskgarden/react-checkboxes- Migrate to the
@zendeskgarden/react-formspackage
- Migrate to the
@zendeskgarden/react-menus- Migrate to the
@zendeskgarden/react-dropdownspackage @zendeskgarden/react-radios- Migrate to the
@zendeskgarden/react-formspackage
- Migrate to the
@zendeskgarden/react-ranges- Migrate to the
@zendeskgarden/react-formspackage
- Migrate to the
@zendeskgarden/react-select- Migrate to the
@zendeskgarden/react-dropdownspackage
- Migrate to the
@zendeskgarden/react-textfields- Migrate to the
@zendeskgarden/react-formspackage
- Migrate to the
@zendeskgarden/react-toggles- Migrate to the
@zendeskgarden/react-formspackage
- Migrate to the
In previous versions we have included render-prop containers for the common UX patterns provided in our components. To help make these assets more flexible, we have created a new repository react-containers.
In v7 all render-prop containers (*Container) has been moved to standalone packages.
These containers are now available as standard React Hooks as well as render-props.
- Upgrade all Garden React dependencies to their latest
v6.xversion - Check your console and testing environments to see if any deprecation warnings can be seen
- Remove any usages of deprecated packages and containers
- Upgrade all Garden React dependencies to their latest
v7.xversion - Update any
react-tabs,react-pagination, andreact-loadersusages affected by the breaking changes listed above
For this breaking change we were able to allow an open range for our peer dependency of react-theming to allow v6 and v7 versions.
This allows you to upgrade each package individually if necessary, ending with react-theming.
If you have any questions about this process please open an issue.