react-datetime-picker

A datetime picker for your React app.

MIT License

Downloads
325.9K
Stars
550
Committers
5
react-datetime-picker -

Published by wojtekmaj almost 2 years ago

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.
react-datetime-picker -

Published by wojtekmaj about 2 years ago

Bug fixes

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

Published by wojtekmaj about 2 years ago

❗️ = 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.
react-datetime-picker -

Published by wojtekmaj over 2 years ago

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.
react-datetime-picker -

Published by wojtekmaj almost 3 years ago

Bug fixes

react-datetime-picker -

Published by wojtekmaj about 3 years ago

Bug fixes

  • Fix crash after make-event-props update.
react-datetime-picker -

Published by wojtekmaj about 3 years ago

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.
react-datetime-picker -

Published by wojtekmaj about 3 years ago

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.
react-datetime-picker -

Published by wojtekmaj over 3 years ago

What's new?

  • Added support for openWidgetsOnFocus prop (#154).
react-datetime-picker -

Published by wojtekmaj over 3 years ago

Bug fixes

  • Fixed numbers being used instead of strings in internal input state resulting in PropTypes warning.
react-datetime-picker -

Published by wojtekmaj over 3 years ago

What's new?

  • Updated React-Date-Picker.
  • Updated React-Time-Picker.

Bug fixes

  • Fixed double leading zeros displayed if the user typed leading zero themselves (#84).
react-datetime-picker -

Published by wojtekmaj over 3 years ago

What's changed?

  • Updated React-Time-Picker to 4.1.0.
  • Updated React-Clock to 3.0.0 (#124).
react-datetime-picker -

Published by wojtekmaj over 3 years ago

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.
react-datetime-picker -

Published by wojtekmaj about 4 years ago

Bug fixes

  • Fixed workspaces warning when installing React-DateTime-Picker using yarn.
react-datetime-picker -

Published by wojtekmaj about 4 years ago

Bug fixes

  • Fixed Buddhist year not properly recognized in formatted date, thus displaying static "2560" text (#132).
  • Fixed native input min set to year 1821 (instead of 1) and max to 5760 (instead of 275760) (#133).
react-datetime-picker -

Published by wojtekmaj over 4 years ago

Bug fixes

  • Fixed React-Time-Picker pinned to v4.0.0
react-datetime-picker -

Published by wojtekmaj over 4 years ago

Bug fixes

  • Fixed support for handling dates in year < 1000.
react-datetime-picker -

Published by wojtekmaj over 4 years ago

❗️ = breaking change

What's new?

  • Added closeWidgets prop which, when set to false, will overwrite default behavior of Calendar or Clock closing on value selection.
  • Added support for handling dates in year < 1000.

What's changed?

  • ❗️ React-DateTime-Picker no longer supports React versions lower than 16.3 (#69).

Bug fixes

  • Fixed native form validation triggered on input.
react-datetime-picker -

Published by wojtekmaj almost 5 years ago

What's changed?

  • Default styling was slightly changed to prevent React-DateTime-Picker from shrinking too much & to expand it correctly when width CSS is applied to .react-datetime-picker.

Bug fixes

  • Fix focus not jumping to the next field if e.g. "01" was entered in day field (#87).
react-datetime-picker -

Published by wojtekmaj almost 5 years ago

What's new?

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

What's changed?

  • Remove role="presentation" from DateTimeInput which may have caused accessibility issues. Thanks, @emilyuhde!
  • React-DateTime-Picker no longer relies on React-Calendar with date calculations. Instead, they both use common shared library: @wojtekmaj/date-utils (#78).
  • 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.