Releases: wojtekmaj/react-time-picker
Releases · wojtekmaj/react-time-picker
v2.8.0
What's new?
- You can now attach event props (
onClick
,onKeyDown
...) directly to React-Time-Picker root. - Updated documentation to make it clear how to remove
clockIcon
andclearIcon
.
What's changed?
- Auto resizing input fields mechanism has been improved.
Bug fixes
- Removed needless update when the user clicked somewhere on the screen while the calendar in React-Time-Picker was closed.
v2.7.2
v2.7.1
v2.7.0
What's new?
- Added
disableClock
flag that, well, disables clock (#9, #10). Thanks, @twinraven!
Bug fixes
- Fix min/max values not properly applied to MinuteInput, SecondInput.
- Fix an issue with validating forms when minTime was more detailed than the user could choose (e.g.
minTime="23:41:20"
andmaxDetail="hour"
).
v2.6.0
What's changed?
- React-Time-Picker now uses
get-user-locale
to get user's locale data. This should be more reliable, especially on macOS/iOS prior to 10.2.
v2.5.2
What's changed?
- Clearing inputs manually will call
onChange
withnull
value, just like clearing it with clear button does.
Bug fixes
- Fixed AM/PM dropdown not appearing on some locales (e.g. en-AU).
- Fixed native input (not visible for most users, stays hidden; it's there for accessibility purposes) treating time as UTC, instead of local user's time.
- Fixed native input allowing to change seconds if maxDetail was set to minute.
v2.5.1
v2.5.0
All dependencies have been updated and new Airbnb ESLint rules have been enforced.
What's new?
- Added support for 12-hour clock on supported locales (#3).
Bug fixes
- Fixed font in default styling not properly inherited
- Fixed potential issues with displaying inputs on locales largely different from American/European, like
zh-CN
.
v2.4.2
Updated react-lifecycles-compat to the newest version. There are no user- or developer-facing changes.
Bug fixes
- Fixed TimeInput not working properly on older (<16.3) versions of React.
v2.4.1
Emergency update to fix common issues that were caused by breaking changes introduced in React 16.4.0.
What's new?
- You can now hide
clearIcon
andclockIcon
by setting them explicitly tonull
.
Bug fixes
- Fixed clock appearing behind the date picker in specific situation where two time pickers were placed one below the other.