Releases: zendeskgarden/react-components
v6.9.2
v7.1.3
v7.1.3 (2019-11-27)
π New Feature
modals
- #547 Allow the portal container to be passed in as a prop (@luis-almeida)
Committers: 1
- Luis Almeida (@luis-almeida)
v7.1.2
v7.1.2 (2019-11-26)
π± Internal
- Other
- #537 chore(deps): update dependency chalk to v3 (@renovate[bot])
- #538 chore(deps): update dependency commander to v4 (@renovate[bot])
- #539 chore(deps): update dependency eslint-plugin-jest to v23 (@renovate[bot])
- #543 chore(deps): update dependency core-js to v3.4.2 (@renovate[bot])
datepickers
,dropdowns
- #534 chore(deps): update non-major shared dependencies (@renovate[bot])
avatars
,breadcrumbs
,buttons
,chrome
,datepickers
,dropdowns
,forms
,grid
,modals
,notifications
,pagination
,tables
,tabs
,tags
,tooltips
- #535 fix(deps): update non-major package dependencies (@renovate[bot])
Committers: 0
v7.1.1
v7.1.1 (2019-11-13)
π Bug Fix
datepickers
forms
π Documentation
Committers: 1
- Austin Green (@austin94)
v7.1.0
v7.1.0 (2019-11-06)
π New Feature
π Bug Fix
datepickers
,dropdowns
dropdowns
datepickers
buttons
π Documentation
Committers: 1
- Austin Green (@austin94)
v7.0.2
v7.0.2 (2019-10-30)
π± Internal
- Other
- #501 chore(deps): update non-major shared dependencies (@renovate[bot])
avatars
,breadcrumbs
,buttons
,chrome
,datepickers
,dropdowns
,forms
,grid
,modals
,notifications
,pagination
,tables
,tabs
,tags
,tooltips
- #502 fix(deps): update non-major package dependencies (@renovate[bot])
Committers: 0
v7.0.1
v6.9.1
v7.0.0
v7.0.0 (2019-10-17)
π₯ Breaking Change
buttons
,chrome
,modals
,pagination
,selection
,tabs
,tooltips
breadcrumbs
,buttons
,chrome
,modals
,pagination
,tabs
,tooltips
autocomplete
,checkboxes
,menus
,radios
,ranges
,select
,textfields
,toggles
,utilities
loaders
π± Internal
.template
,avatars
,breadcrumbs
,buttons
,chrome
,datepickers
,dropdowns
,forms
,grid
,loaders
,modals
,notifications
,pagination
,selection
,tables
,tabs
,tags
,tooltips
,typography
- Other
- #493 chore(deps): bump lodash.template from 4.4.0 to 4.5.0 in /examples/codesandbox/garden-create-react-app (@dependabot[bot])
- #494 chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 in /examples/codesandbox/garden-create-react-app (@dependabot[bot])
modals
- #475 fix(deps): update dependency tabbable to v4 (@renovate[bot])
loaders
- #473 fix(deps): update dependency polished to v3 (@renovate[bot])
datepickers
,dropdowns
,tooltips
buttons
,modals
,selection
,tables
Breaking Changes
react-loaders
- The
Dots
andSpinner
components no longer accept avelocity
prop- To customize the speed of the animation use the
duration
prop to provide the time in MS.
- To customize the speed of the animation use the
react-pagination
- The
focusedKey
prop is no longer accepted- This state is no longer controllable
- The
onStateChange
prop is no longer accepted- Use the
onChange
prop to receivecurrentPage
updates.
- Use the
react-tabs
- The
selectedKey
prop has been renamed toselectedItem
- This API now aligns with other components
- All
<TabPanel>
components now require anitem
prop instead of akey
prop- Previously we used the
key
attribute to uniquely identify each tab - This created confusion as
key
is also a reserved prop name in React
- Previously we used the
- The
onStateChange
prop is no longer valid- Use the
onChange
prop to receiveselectedItem
updates
- Use the
Removal of deprecated packages
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-dropdowns
package
- Migrate to the
@zendeskgarden/react-checkboxes
- Migrate to the
@zendeskgarden/react-forms
package
- Migrate to the
@zendeskgarden/react-menus
- Migrate to the
@zendeskgarden/react-dropdowns
package @zendeskgarden/react-radios
- Migrate to the
@zendeskgarden/react-forms
package
- Migrate to the
@zendeskgarden/react-ranges
- Migrate to the
@zendeskgarden/react-forms
package
- Migrate to the
@zendeskgarden/react-select
- Migrate to the
@zendeskgarden/react-dropdowns
package
- Migrate to the
@zendeskgarden/react-textfields
- Migrate to the
@zendeskgarden/react-forms
package
- Migrate to the
@zendeskgarden/react-toggles
- Migrate to the
@zendeskgarden/react-forms
package
- Migrate to the
Removal of deprecated Render-Prop Containers
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.
Migration Steps
- Upgrade all Garden React dependencies to their latest
v6.x
version - 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.x
version - Update any
react-tabs
,react-pagination
, andreact-loaders
usages 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.