Skip to content

Releases: wojtekmaj/react-datetime-picker

v4.2.0

18 Jan 08:00
fca0ce4
Compare
Choose a tag to compare

What's new?

  • Added support for data-testid prop.
  • Increased compatibility with Deno (replaced typeof window … checks with typeof document … checks).

What's changed?

  • Replaced Less with CSS. Don't worry - the CSS produced didn't change, we just have one less tool in our stack.

Bug fixes

  • Fixed "Warning: useLayoutEffect does nothing on the server" warning when using SSR (see: wojtekmaj/react-daterange-picker#152).
  • Fixed divider and leading zero positioning.
  • Fixed native calendar and time picker sometimes showing on Safari.

v4.1.1

09 Nov 12:31
3be42c5
Compare
Choose a tag to compare

Bug fixes

  • Fixed widgets unnecessarily rendered when another widget was toggled.
  • Fixed Calendar closing on click without selecting value when rendered in a portal (#191).

v4.1.0

08 Nov 11:19
dfe17fe
Compare
Choose a tag to compare

What's changed?

  • Updated React-Calendar to 4.0.0.
  • Updated React-Clock to 4.0.0.
  • Updated React-Date-Picker to 9.1.0.
  • Updated React-Time-Picker to 5.1.0.
  • Replaced merge-class-names with clsx.

v4.0.1

19 Sep 12:29
7b9bdf2
Compare
Choose a tag to compare

Bug fixes

  • Fixed .react-datetime-picker--open class not toggled on widget open (#190).

v4.0.0

14 Sep 10:06
2c272ac
Compare
Choose a tag to compare

❗️ = breaking change

What's new?

  • Improved Preact compatibility.
  • Added support for portalContainer prop.

What's changed?

❗️ React-DateTime-Picker no longer supports React versions lower than 16.8.

Bug fixes

  • Fixed inputs sometimes not properly sized until focused.
  • Fixed Calendar closing on value selection even if closeCalendar was set to false.
  • Fixed memory leak when calling getFormatter.

v3.5.0

04 Feb 12:11
d2cf042
Compare
Choose a tag to compare

What's new?

  • Added support for React 18.
  • Default to current year if year input is missing (#145).
  • Widgets now close when Escape key is pressed.

What's changed?

  • Improved performance of date formatters.

Bug fixes

  • Fixes styles not reset on widgets close.

v3.4.3

23 Nov 20:18
1ef4bcf
Compare
Choose a tag to compare

Bug fixes

v3.4.2

09 Oct 06:47
2e337d7
Compare
Choose a tag to compare

Bug fixes

  • Fix crash after make-event-props update.

v3.4.1

27 Sep 09:42
6f989d7
Compare
Choose a tag to compare

Bug fixes

  • Fixed widgets opening behind dropdowns (#166).
  • Fixed autoselect on focus not working on Internet Explorer 11.
  • Fixed typing over values not working on Internet Explorer 11.

v3.4.0

13 Aug 11:58
210e9a4
Compare
Choose a tag to compare

What's new?

  • Added support for closing widgets in shadow DOM. Thanks, @jorrit!

What's changed?

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