Skip to content

Releases: zendeskgarden/react-components

v7.1.2

26 Nov 20:27
Compare
Choose a tag to compare

v7.1.2 (2019-11-26)

🌱 Internal

  • Other
  • datepickers, dropdowns
  • avatars, breadcrumbs, buttons, chrome, datepickers, dropdowns, forms, grid, modals, notifications, pagination, tables, tabs, tags, tooltips

Committers: 0

v7.1.1

14 Nov 01:08
Compare
Choose a tag to compare

v7.1.1 (2019-11-13)

πŸ› Bug Fix

  • datepickers
    • #517 fix(datepickers): allow controlled value to update internal state (@austin94)
  • forms
    • #516 fix(forms): allow MultiThumbRange to position correctly in Edge and IE11 (@austin94)

πŸ“ Documentation

  • tables
    • #518 chore(docs): remove invalid prop from table docs (@austin94)

Committers: 1

v7.1.0

06 Nov 19:49
Compare
Choose a tag to compare

v7.1.0 (2019-11-06)

πŸš€ New Feature

  • dropdowns
    • #511 feat(dropdowns): add inputRef prop to Autocomplete and Multiselect (@austin94)

πŸ› Bug Fix

  • datepickers, dropdowns
  • dropdowns
    • #512 fix(dropdowns): allow inline style to override Menu width (@austin94)
  • datepickers
  • buttons
    • #510 fix(buttons): remove invalid disabled prop from Anchor (@austin94)

πŸ“ Documentation

  • dropdowns
    • #509 chore(docs): remove invalid advanced dropdown example (@austin94)

Committers: 1

v7.0.2

30 Oct 16:31
Compare
Choose a tag to compare

v7.0.2 (2019-10-30)

🌱 Internal

  • Other
  • avatars, breadcrumbs, buttons, chrome, datepickers, dropdowns, forms, grid, modals, notifications, pagination, tables, tabs, tags, tooltips

Committers: 0

v7.0.1

22 Oct 21:30
Compare
Choose a tag to compare

v7.0.1 (2019-10-22)

πŸ› Bug Fix

  • buttons
    • #498 fix(buttons): allow buttons to control type attribute (@austin94)

πŸ“ Documentation

  • #496 chore(internal): upgrade Garden examples to v7 (@austin94)

Committers: 1

v6.9.1

22 Oct 22:00
Compare
Choose a tag to compare

v6.9.1 (2019-10-22)

πŸ› Bug Fix

  • buttons
    • #499 fix(buttons): allow buttons to control type attribute (#498) [BACKPORT v6] (@austin94)

Committers: 1

v7.0.0

17 Oct 22:23
Compare
Choose a tag to compare

v7.0.0 (2019-10-17)

πŸ’₯ Breaking Change

  • buttons, chrome, modals, pagination, selection, tabs, tooltips
    • #486 chore(internal): deprecated react-selection and migrate Tabs and Pagination components BREAKING (@austin94)
  • breadcrumbs, buttons, chrome, modals, pagination, tabs, tooltips
    • #485 chore(internal): remove all deprecated render-prop containers BREAKING (@austin94)
  • autocomplete, checkboxes, menus, radios, ranges, select, textfields, toggles, utilities
    • #484 chore(internal): remove all deprecated packages BREAKING (@austin94)
  • loaders
    • #491 feat(loaders): deprecate ScheduleContainer BREAKING (@austin94)

🌱 Internal

  • .template, avatars, breadcrumbs, buttons, chrome, datepickers, dropdowns, forms, grid, loaders, modals, notifications, pagination, selection, tables, tabs, tags, tooltips, typography
    • #495 chore(deps): upgrade react-theming peerDependencies to allow v7 (@austin94)
  • 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
  • loaders
  • datepickers, dropdowns, tooltips
    • #487 chore(internal): update react-popper dependencies (@austin94)
  • buttons, modals, selection, tables
    • #490 chore(deps): update dom-helpers (@hzhu)

Breaking Changes

react-loaders

  • The Dots and Spinner components no longer accept a velocity prop
    • To customize the speed of the animation use the duration prop to provide the time in MS.

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 receive currentPage updates.

react-tabs

  • The selectedKey prop has been renamed to selectedItem
    • This API now aligns with other components
  • All <TabPanel> components now require an item prop instead of a key 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
  • The onStateChange prop is no longer valid
    • Use the onChange prop to receive selectedItem updates

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
  • @zendeskgarden/react-checkboxes
    • Migrate to the @zendeskgarden/react-forms package
  • @zendeskgarden/react-menus
  • Migrate to the @zendeskgarden/react-dropdowns package
  • @zendeskgarden/react-radios
    • Migrate to the @zendeskgarden/react-forms package
  • @zendeskgarden/react-ranges
    • Migrate to the @zendeskgarden/react-forms package
  • @zendeskgarden/react-select
    • Migrate to the @zendeskgarden/react-dropdowns package
  • @zendeskgarden/react-textfields
    • Migrate to the @zendeskgarden/react-forms package
  • @zendeskgarden/react-toggles
    • Migrate to the @zendeskgarden/react-forms package

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, and react-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.

Committers: 2

v6.9.0

16 Oct 23:35
Compare
Choose a tag to compare

v6.9.0 (2019-10-16)

🌱 Internal

  • buttons, chrome, forms
    • #489 chore(internal): upgrade @zendeskgarden/container-keyboardfocus (@austin94)
  • buttons, chrome
    • #482 feat(buttons|chrome): upgrade to useKeyboardFocus() hook (@austin94)

Committers: 1

v6.8.1

11 Oct 21:50
Compare
Choose a tag to compare

v6.8.1 (2019-10-11)

πŸ› Bug Fix

  • datepickers
    • #481 fix(datepicker): ensure mouse events are propagated correctly (@austin94)
  • forms
    • #480 fix(forms): allow MediaInput to receive all possible ref values (@austin94)

Committers: 1

v6.8.0

09 Oct 20:08
Compare
Choose a tag to compare

v6.8.0 (2019-10-09)

πŸš€ New Feature

  • forms, loaders, ranges, typography
    • #463 feat(forms): deprecate react-ranges and migrate components to react-forms (@austin94)
  • loaders

🌱 Internal

  • modals, pagination, tables, tags
    • #479 chore(selection): remove usages of react-selection KEY_CODES and composeEventHandlers (@austin94)

Committers: 2