This repository has been archived by the owner on Dec 23, 2022. It is now read-only.
Releases: TeamWertarbyte/material-ui-chip-input
Releases Β· TeamWertarbyte/material-ui-chip-input
v1.0.0-beta.11
Changed
- Remove duplicate prop in TypeScript definitions #257
v1.0.0-beta.10
Thanks to the 2 contributors who made this release possible! π
Added
- Add a
alwaysShowPlaceholder
prop to show the placeholder even if there are already chips #107 #252 #253 @mrmello - Add a
inputValue
prop to make the text input for new chips controlled in order to apply custom validation or formatting logic while typing (see example) #211 #251 @JonathasRodrigues
v1.0.0-beta.9
Thanks to the 2 contributors who made this release possible. π
Added
- Add support for outlined and filled variants #236 #234 @neilpoulin
Changed
v1.0.0-beta.8
Thanks to the 1 contributor who made this release possible. π
Added
- Add TypeScript typings #233 #218 @pantharshit00
v1.0.0-beta.7
Thanks to the 1 contributor who made this release possible. π
And to those who reported bugs and provided motivation. π
Changed
- Fix underline not being red when the
error
prop is set totrue
#228 - Fix placeholder not being shown if the floating label is force-shrinked with
InputLabelProps={{ shrink: true }}
#223 - Fix add-on-blur autosuggest example #229
- Document the
InputProps
prop #222 @SurenAt93 - Add the chip input to our styleguide π #227
v1.0.0-beta.6
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
andhelperTextClassName
in favour ofInputLabelProps
andHelperTextProps
- 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, useevent.target.value
, just as with any input. - Don't spread unknown components to the root (
FormControl
) component and theInput
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 theInput
component
Changed
- Document all the props properly (should have done this earlier, sorry about that)
v1.0.0-beta.5
Thanks to the 3 contributors who made this release possible. π
Breaking changes
- Update to Material-UI 1.0.0-rc.0 (or later) #210 #213 @sulfurious
This will require you to update Material-UI from beta to the latest version, but you should do that anyway. The good news is that there won't be any breaking changes between rc.0 and 1.0.0 - The
clearOnBlur
prop was removed, useblurBehavior='clear'
instead