* 'multiline-maxlength-fix' of https://github.com/SimonSelg/react-toolbox:
feat(dist): add newest build
doc(input): add note about handleChange implementation
fix(input): don't remove the maxLenght attribute from inputs
feat(input): prevent insertion of characters if maxLength is reached
fix(input): always recalculate size
feat(input): set the default row amount for multiline inputs to 1
feat(input): implement maxLength in js rather then using the maxlength prop of the input field
refactor(input): move autoresize to didUpdate
fix(input): only remove resize event listerner if it exists
docs(input): fix multiline example and add maxLength to it
fix(multiline input): autoresize after initial render too
Previously we'd let the user insert a character, and then, if the resulting string was to long remove it again (through onChange). That creates unnessesary DOM modifications and store updates, and more importantly, diverges from the behavior of the native maxlength attribute of <textarea>.
Now we prevent the characters from beeing inserted in the first place if the length reaches maxlenght.
* dev:
Get rid of jsx extensions 🔮
Fix linter error for layouts
Fix#407Fix#425Fix#442
Fix checking if key exists in Autocomplete
Remove App from components index
Add inputClassName prop to DatePicker and TimePicker
Adapt pickers to calculate position with scroll
Update linting
Remove unneeded App
Refactor Overlay into two components and make activable components render only when needed
Use sass lint
Lint spec files
Bugfix: style for svg icons in button
Reduce list unneeded markup
Update documentation dependencies
Update dependencies, linter and rules
updates package.json to work with react 15
Make drawer compliant with material design guidelines.
For an
<Input type="number" label="label text"/>
the label would overlay the value when it was set to 0 (the integer)
since the checking logic checked for javascript "trueishness".
Now the check is explicit against null, undefined, empty string and NaN.