Skip to content

Releases: wojtekmaj/react-date-picker

v6.8.0

04 Feb 12:14
Compare
Choose a tag to compare

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

13 Jan 15:58
Compare
Choose a tag to compare

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 and formatShortWeekday props respectively (#41).

v6.6.2

06 Jan 10:56
Compare
Choose a tag to compare

What's new?

  • Update typings to allow seting calendarIcon and clearIcon in TypeScript. Thanks, @kapke!
  • You can now set a custom name using name prop. Default name remains "date" (#35).

Bug fixes

  • Minor accessibility fix in Test suite.

v6.6.0

27 Dec 08:41
Compare
Choose a tag to compare

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 with babel-preset-env.

Bug fixes

  • Fixed minor errors in unit tests
  • Fixed minor errors in documentation

v6.5.2

16 Dec 19:42
Compare
Choose a tag to compare

What's new?

  • Updated TypeScript definitions to include new features of React-Calendar.
  • Updated dependencies.

v6.5.1

15 Dec 17:01
Compare
Choose a tag to compare

Bug fixes

v6.5.0

10 Dec 20:32
Compare
Choose a tag to compare

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

02 Dec 16:32
Compare
Choose a tag to compare

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

02 Dec 14:38
Compare
Choose a tag to compare

Bug fixes

  • Fixed an issue that could have prevented DateInput from properly rendering all inputs on some locales (#23).
  • Fixed minor errors in documentation.

v6.3.2

28 Nov 20:34
Compare
Choose a tag to compare

What's new?