Skip to content

Releases: wojtekmaj/react-time-picker

v7.0.0

30 Apr 09:18
ae6fa89
Compare
Choose a tag to compare

❗️ = breaking change

What's new?

  • Added support for React 19.

What's changed?

  • ❗️ New JSX transform is now required. Most likely, you’re already using it, but if you’re not, you’ll need to enable it by following the instructions in the linked blog post.
  • ❗️ propTypes were removed. If you’re using propTypes, we recommend migrating to TypeScript or another type-checking solution.
  • ❗️ Props intended for consumption by React-Clock should now be passed via the clockProps prop. This change was made to avoid conflicts with React-Time-Picker's own props and to make customization easier.

Bug fixes

v6.6.0

09 Dec 21:29
d0ec9c3
Compare
Choose a tag to compare

What's new?

  • Improved developer experience by moving prop documentation to JSDoc. This means that you can now see descriptions, default values, and examples for all props in your IDE.
  • Improved documentation.

v6.5.2

18 Oct 13:15
ed58113
Compare
Choose a tag to compare

What's new?

v6.5.1

28 Sep 10:44
9a0711e
Compare
Choose a tag to compare

Bug fixes

  • Fixed "Failed prop type: TimePicker: prop type portalContainer is invalid" error when using server-side rendering.

v6.5.0

28 Jul 06:46
799845f
Compare
Choose a tag to compare

What's new?

  • Added module format-agnostic exports for internals used by other packages.

Bug fixes

  • Fixed "ReferenceError: HTMLElement is not defined" error when using server-side rendering.

v6.4.1

27 Jul 21:32
df2f9f7
Compare
Choose a tag to compare

Bug fixes

  • Fixed backwards compatibility with legacy module resolution.

v6.4.0

27 Jul 21:26
0e76e71
Compare
Choose a tag to compare

What's new?

  • Added support for native ESM modules (#317).

What's changed?

  • Improved propTypes.
  • Improved TypeScript types.

Bug fixes

  • Fixed propTypes declared twice in every declaration file.

v6.3.0

21 Jul 19:25
5d355f6
Compare
Choose a tag to compare

What's new?

  • Improved RSC compatibility. You no longer need to add 'use client'; to the parent component for this component to work.

Bug fixes

  • @types/react and @types/react-dom are now optional peerDependencies, which eliminates errors caused by duplicate typings.

v6.2.1

16 Jul 08:22
9bd7bf2
Compare
Choose a tag to compare

What's changed?

  • Updated clsx dependency to 2.0.0 to enable ESM support in the near future.

v6.2.0

22 May 17:41
db0a23c
Compare
Choose a tag to compare

What's new?

  • TimePickerProps type is now exported for your convenience.
  • Added support for onInvalidChange prop.

Bug fixes

  • Fixed types for onChange and onFocus props.