Releases: wojtekmaj/react-date-picker
Releases · wojtekmaj/react-date-picker
v6.8.0
What's new?
- New option
showLeadingZeros
enables you to, well, show leading zeros. - Various performance and architecture optimizations.
Bug fixes
- Fixed MonthInput allowing to enter values larger than allowed in some scenarios.
- Fixed React warning shown when erased input value.
- Fixed an edge case when rendering two date pickers in different locales would cause the second date picker to overwrite locale settings of the first one.
v6.7.0
What's new?
- Added Sample TypeScript project. Thanks, @kapke!
- React-Date-Picker's TypeScript types are now inherited from React-Calendar, and thus it's no longer needed to be updated to support new versions of React-Calendar.
- Thanks to a recent React-Calendar update you can now pass custom date formatters for month, month & year and weekday name using
formatMonth
,formatMonthYear
andformatShortWeekday
props respectively (#41).
v6.6.2
v6.6.0
What's new?
- Compiled files are now placed in a standard
./dist
category. - Improved input scaling when using non-standard font sizes.
- Added unit tests for keyboard navigation.
- Various code optimizations:
- Improved mounting performance.
- Removed unused pieces of code.
- Sample and Test suites are now using Parcel for bundling.
- Updated development platform:
- Updated Jest to version 22.
- Replaced
babel-preset-es2015
withbabel-preset-env
.
Bug fixes
- Fixed minor errors in unit tests
- Fixed minor errors in documentation
v6.5.2
What's new?
- Updated TypeScript definitions to include new features of React-Calendar.
- Updated dependencies.
v6.5.1
Bug fixes
- Fixed type clash between React-Calendar and React-Date-Picker (wojtekmaj/react-calendar#19). Thanks, @archer87pl!
v6.5.0
What's new?
- You can now pass dates as strings. Be careful though; while non-ISO formats may be resolved correctly, some browsers may fail to do so (#26).
- You can customize calendar icon by passing
calendarIcon
prop. See documentation for more details. - There's now a clear button. Just like calendar icon, you can customize it by passing
clearIcon
prop (#28).
v6.4.0
What's new?
- You can use
required
prop to set an input field as required. Note: Previously all fields were required by default. If you want to keep your fields required, you now need to explicitly do so (#16). - Input fields now have placeholders.
- You can now navigate between fields using left arrow and right arrow, on top key matching date separator.
- If the user leaves the input in invalid state, React-Date-Picker will now reset to the last valid value.
Bug fixes
- Fixed an issue where DatePicker placed in a small container could render too small container for React-Calendar.
- Fixed an issue where typing the date using keyboard from scratch would allow dates like 31.02.2017 or even 99.02.2017 to be passed (they would change to 03.03.2017 and 10.05.2017 respectively). Now input is validated live as the user types in all the values.
v6.3.3
v6.3.2
What's new?
- Updated documentation to reflect new functionalities of React-Calendar dependency.