Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

v1.0.0-beta.6

Pre-release
Pre-release

Choose a tag to compare

@leMaik leMaik released this 20 Jul 09:04
· 75 commits to master since this release

Thanks to the 2 contributors who made this release possible! πŸŽ‰

We're sorry about the two breaking changes, but one of the last betas before the stable 1.0.0 release of the chip input seems like a good time to do them.

Breaking changes

  • Drop labelClassName and helperTextClassName in favour of InputLabelProps and HelperTextProps
  • Call the onUpdateInput prop with the event instead of the input value to make integration with other libraries (e.g. react-autosuggest) easier and to make the API more consistent
    To get the input value, use event.target.value, just as with any input.
  • Don't spread unknown components to the root (FormControl) component and the Input component anymore (that was a bug, #216) but only spread them to the root component

Added

  • Add an example on how to use react-autosuggest with the chip input πŸŽ‰ @quorak @joserc87 #219 #214 #192
    You can see it in action in our storybook
  • Add a InputProps component to allow customizing the props of the Input component

Changed

  • Document all the props properly (should have done this earlier, sorry about that)