Releases: wojtekmaj/react-date-picker
Releases · wojtekmaj/react-date-picker
v7.4.0
v7.3.0
v7.2.0
Note: Please be advised that an minor breaking change was introduced in the new React-Calendar version, so if you used formatMonth, formatMonthYear or formatShortWeekday props from React-Calendar, you may need to adjust function arguments according to the updated documentation.
What's new?
- Added support for non-latin locales (#119). Thanks, @aghoneim92!
What's changed?
- React-Date-Picker now uses Babel 7 for compilation (#106).
- Using Parcel, if you decide for whatever reason to import from
srcdirectory instead of defaultdist, Parcel will properly recognize it and use proper Babel configuration.
Bug fixes
- Disabled autocomplete on all input fields (#129).
- Fixed a crash when
nulllocaleprop was passed.
v7.1.1
v7.1.0
What's new?
- Brand new input rendering algorithm was implemented. It should be more reliable, especially for
zh-CNlocale.
What's changed?
- Calendar widget will no longer close automatically on any value change.
Bug fixes
- Fixed calendar widget not closing when input was blurred using the keyboard.
v7.0.0
See Upgrade guide from version 6.x to 7.x.
What's new?
- Inputs now automatically select on focus.
- Leading zeros are now wrapped in a
<span />element withreact-date-picker__inputGroup__leadingZeroclass name for easier styling. - Internal changes in
DateInputcomponent that will allow for more refined styling of React-Date-Picker along with React-DateTime-Picker and React-DateRange-Picker.
What's changed?
- Year input placeholder is now
----instead of--.
Bug fixes
- Fixed input height that could be off by 2 pixels on some devices.
v6.13.0
What's new?
- You can now attach event props (
onClick,onKeyDown...) directly to React-Date-Picker root. - Updated documentation to make it clear how to remove
calendarIconandclearIcon(#98). - Typings for
react-date-picker/dist/entry.nostylehave been added (#104). Thanks, @ericdemo07!
What's changed?
- Auto resizing input fields mechanism has been improved.
Bug fixes
- Removed needless update when the user clicked somewhere on the screen while the calendar in React-Date-Picker was closed.
v6.12.1
What's changed?
- Updated all dependencies.
Bug fixes
- Fixed the date being wrongly formatted on IE11 in
zh-CNlocale (#99). - Updated
react-calendardependency which fixes crash on IE11. - Updated
get-user-localedependency which fixes uncaught error on IE11 caused by Array.prototype.includes not being implemented.
v6.12.0
What's new?
- React-Calendar was updated to 2.17.0 with tons of fixes and new features. Most importantly, Arabic and Hebrew calendars were added.
What's changed?
- React-Date-Picker now uses
get-user-localeto get user's locale data. This should be more reliable, especially on macOS/iOS prior to 10.2.
v6.11.3
What's changed?
- Clearing inputs manually will call
onChangewithnullvalue, just like clearing it with clear button does.
Bug fixes
- Fixed React-Date-Picker allowing the user to go beyond maximum date supported in JavaScript.
- Fixed native input (not visible for most users, stays hidden; it's there for accessibility purposes) treating as UTC, instead of local user's time.
- Fixed clearing native input causing a crash.