Releases: gpietro/react-numpad
Releases · gpietro/react-numpad
v5.0.0 / 2019-07-04
Major changes
- Autopositioning: now when the NumPad is position outside the window, it will be autopositioned inside.
- Rewrite of the codebase with hooks 🤘
Bug fixes
- Fix positioning by removing the props globally from ThemeProvider.
- Fix sign when positive -0/+0
- Fix onoutsideclick validation value
- Fix useKeyboard hook
- Fix input disabled
Minor changes
- minor styling update
- removed react-icons
- Improve test coverage
- Add demo page in storybook
Release notes
Features:
- It's now possible to change the NumPad position with the following values for position: flex-start, center, flex-end
Release notes
New features
- Add date range validation with minDate, maxDate to NumPad.Calendar component as props.
Release notes
Add Calendar component.
It is now possible to have a input calendar with <NumPad.Calendar />
Release notes
Add defaultValue attribute.
Release notes
Bug fix:
- Custom child component did receive props on dom element, dateFormat and displayRule props didn't work.
Dependencies:
- Update to the latest version for all dependencies
- React starting from version 16.2.0 is required.