Skip to content

Releases: wojtekmaj/react-date-picker

v7.9.0

28 Nov 20:30
Compare
Choose a tag to compare

What's new?

  • Added support for autoFocus prop. 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

19 Sep 18:13
1c09450
Compare
Choose a tag to compare

Bug fixes

  • Fixed month dropdown not accepting monthPlaceholder prop properly (#188). Thanks, @linusmarco!
  • Fixed checking if font was loaded if no font was given (#193).

v7.8.1

01 Aug 17:23
24a2419
Compare
Choose a tag to compare

Bug fixes

  • Fixed inputs not being measured again after font load .
  • Fixed some unit tests being unnecessarily parsed by Babel for distribution.

v7.8.0

30 Jul 10:34
5244d3e
Compare
Choose a tag to compare

What's new?

  • You can replace default placeholders (--) with custom ones using dayPlaceholder, monthPlaceholder, yearPlaceholder props.

v7.7.0

12 Jul 01:32
9b441ac
Compare
Choose a tag to compare

What's new?

  • You can now disable the calendar using disableCalendar prop.

v7.6.0

10 Jul 23:05
7a55e90
Compare
Choose a tag to compare

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) and MMMM (long month) in format prop (#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 fill properties (#169).
  • Added missing format prop to TypeScript typings (#166). Thanks, @cvuorinen!

v7.5.1

02 May 13:17
Compare
Choose a tag to compare

What's changed?

  • Whitespace in dividers is now automatically preserved.
  • Simplified some internal methods.
  • Added more unit tests.

v7.5.0

31 Mar 11:04
Compare
Choose a tag to compare

What's new?

  • Added support for format prop which allows to overwrite default date format determined either from locale prop 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

v7.4.0

23 Mar 07:52
Compare
Choose a tag to compare

What's new?

  • Added support for onCalendarOpen and onCalendarClose props (#140).

v7.3.0

03 Mar 15:08
Compare
Choose a tag to compare

What's new?

  • Implemented React-Fit, a smarter system measuring where the Calendar should be placed. React-Fit will check for collisions with the nearest scrollable container (unlike previously, hardcoded document.body) on both axis (unlike previously, just on Y axis).