Releases: wojtekmaj/react-time-picker
Releases · wojtekmaj/react-time-picker
v6.1.0
v6.0.4
v6.0.3
v6.0.2
v6.0.1
v6.0.0
This is one of the biggest update - for React-Time-Picker and for me personally. React-Time-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 259 unit tests we have, please let me know. I hope you will like it.
❗️ = breaking change
What's new?
- Converted package to TypeScript (#285).
- Rewritten package using React Hooks (#284).
- Added named export support.
- Added support for
id
prop. - Added support for passing
clearIcon
andclockIcon
as React functions (e.g.clearIcon={MyIcon}
).
What's changed?
- ❗️ React-Time-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-Clock to 4.2.0.
v5.2.0
What's new?
- Added support for
data-testid
prop. - Increased compatibility with Deno (replaced
typeof window …
checks withtypeof 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 time picker sometimes showing on Safari.
v5.1.0
v5.0.0
❗️ = breaking change
What's new?
- Improved Preact compatibility.
- Added support for
portalContainer
prop.
What's changed?
❗️ React-Time-Picker no longer supports React versions lower than 16.8.
Bug fixes
- Fixed inputs sometimes not properly sized until focused.
- Fixed memory leak when calling getFormatter.
- Fixed jumping between fields using arrow keys not working on AM/PM dropdown