Skip to content

Releases: wojtekmaj/react-daterange-picker

v3.3.1

27 Sep 09:40
e60b80c
Compare
Choose a tag to compare

Bug fixes

  • Fixed Calendar opening behind month dropdown.
  • Fixed autoselect on focus not working on Internet Explorer 11.
  • Fixed typing over values not working on Internet Explorer 11.

v3.3.0

13 Aug 12:35
58548cc
Compare
Choose a tag to compare

What's new?

  • Added support for closing calendar in shadow DOM (#101, #102). Thanks, @jorrit!

What's changed?

  • Refactored handling internal refs in DateInput to use React.createRef.

v3.2.0

28 May 15:54
029abe6
Compare
Choose a tag to compare

What's new?

  • Added support for openCalendarOnFocus prop (#86, #95).

v3.1.0

10 Mar 18:50
f3fb47f
Compare
Choose a tag to compare

What's new?

  • Updated React-Date-Picker.

Bug fixes

  • Fixed double leading zeros displayed if the user typed leading zero themselves (#54).

v3.0.1

29 Jan 19:19
18600f3
Compare
Choose a tag to compare

What's changed?

  • Updated React-Calendar and React-Date-Picker.

Bug fixes

  • Fix crash on IE 11 caused by passing date to Date constructor.
  • Fixed default min date to be 0001-01-01 local time, not UTC time.

v3.0.0

30 Apr 21:29
0c791ee
Compare
Choose a tag to compare

❗️ = breaking change

What's new?

  • Updated React-Calendar to v3.0.0. This will reduce your bundle size and allow access to new exciting functions.
  • Updated React-Date-Picker to v8.0.0.
  • Added closeCalendar prop which, when set to false, will overwrite default behavior of Calendar closing on value selection (#62).
  • Added rangeDivider prop which you may use to overwrite default divider between the two dates (#48).
  • Added support for handling dates in year < 1000.

What's changed?

  • ❗️ React-DateRange-Picker no longer supports React versions lower than 16.3.

Bug fixes

  • Fixed native form validation triggered on input.
  • Disallowed non-numeric characters from being entered in number field.

v2.5.0

28 Nov 21:27
Compare
Choose a tag to compare

What's new?

  • Added support for autoFocus prop. More details in README.

What's changed?

  • Remove role="presentation" from DateInput which may have caused accessibility issues. Thanks, @emilyuhde!
  • React-DateRange-Picker no longer relies on React-Calendar with date calculations. Instead, they both use common shared library: @wojtekmaj/date-utils (#45).
  • Implemented optimizations which should decrease build size.

Bug fixes

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

v2.4.0

30 Jul 10:36
62d5ac3
Compare
Choose a tag to compare

What's new?

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

v2.3.0

14 Jul 05:44
954cb9e
Compare
Choose a tag to compare

What's new?

  • Added support for aria-labels on each input and button. More on that in README.
  • Added support for MMM (short month) and MMMM (long month) in format prop.
  • Automatically jump to the next input if the user can't enter any more digits.
  • You can now disable the calendar using disableCalendar prop.

What's changed?

  • Documentation should now be easier to read thanks to improved clarity and default values column.
  • Optimized the number of listeners attached by React-DateRange-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.

v2.2.0

22 Apr 18:10
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 (#23).
  • Added support for onCalendarOpen and onCalendarClose props (#12).