Releases: wojtekmaj/react-date-picker
Releases · wojtekmaj/react-date-picker
v8.0.0
❗️ = breaking change
What's new?
- Updated React-Calendar to v3.0.0 (#238). This will reduce your bundle size and allow access to new exciting functions.
- Added
closeCalendarprop which, when set tofalse, will overwrite default behavior of Calendar closing on value selection. - Added support for handling dates in year < 1000 (#240).
What's changed?
- ❗️ React-Date-Picker no longer supports React versions lower than 16.3 (#182).
- Typings were updated to add missing props (#223, #227). Thanks, @ismaeliberal!
Bug fixes
- Fixed native form validation triggered on input.
v7.10.0
What's new?
- You can no longer enter numbers longer than maximum number (e.g. if maximum year is 2019, you can't enter 12345) (#187).
What's changed?
- Default styling was slightly changed to prevent React-Date-Picker from shrinking too much & to expand it correctly when
widthCSS is applied to.react-date-picker.
Bug fixes
- Fix focus not jumping to the next field if e.g.
"01"was entered in day field (#219).
v7.9.0
What's new?
- Added support for
autoFocusprop. More details in README (#208).
What's changed?
- Remove
role="presentation"from DateInput which may have caused accessibility issues. Thanks, @emilyuhde! - React-Date-Picker no longer relies on React-Calendar with date calculations. Instead, they both use common shared library: @wojtekmaj/date-utils (#204).
- Implemented optimizations which should decrease build size (#202).
v7.8.2
v7.8.1
v7.8.0
v7.7.0
v7.6.0
What's new?
- Added support for
aria-labels on each input and button. More on that in README (#125). - Added support for
MMM(short month) andMMMM(long month) informatprop (#83, #172). - Automatically jump to the next input if the user can't enter any more digits (#128, #165).
What's changed?
- Documentation should now be easier to read thanks to improved clarity and default values column (#159). Thanks, @iamdevlinph!
- Optimized the number of listeners attached by React-Date-Picker.
- Added more unit tests.
Bug fixes
- Fixed Calendar not closing in some cases on mobile Safari. Thanks, @victor-cordova!
- Fixed input value selection immediately un-selecting on non-Chromium versions of Microsoft Edge.
- Fixed default icon styling affecting custom icons by changing their
fillproperties (#169). - Added missing
formatprop to TypeScript typings (#166). Thanks, @cvuorinen!
v7.5.1
v7.5.0
What's new?
- Added support for
formatprop which allows to overwrite default date format determined either fromlocaleprop or automatically. See README for details (#40).
Bug fixes
- Fixed issues where iterating an HTMLCollection would cause issues in older versions of Edge and IE (#135). Thanks, @mathieumg!
- Fixed jumping to previous/next input not working if leading zeros were present