Skip to content

v5.0.0

Compare
Choose a tag to compare
@wojtekmaj wojtekmaj released this 04 Apr 10:22
· 222 commits to main since this release
c7692a2

This is one of the biggest update - for React-DateTimeRange-Picker and for me personally. React-DateTimeRange-Picker has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through dozens of unit tests we have, please let me know. I hope you will like it.

❗️ = breaking change

What's new?

  • Converted package to TypeScript (#193).
  • Rewritten package using React Hooks (#192).
  • Added named export support.
  • Added support for id prop.
  • Added support for passing clearIcon, calendarIcon and clockIcon as React functions (e.g. clearIcon={MyIcon}).

What's changed?

  • ❗️ React-DateTimeRange-Picker no longer imports its styles by default. If you want to continue to use them, import them separately as instructed in README.
  • Updated React-DateTime-Picker to 5.0.0.
  • Updated React-Calendar to 4.2.0.
  • Updated React-Clock to 4.2.0.