Releases: wojtekmaj/react-time-picker
Releases · wojtekmaj/react-time-picker
v3.6.0
What's new?
- Added support for
aria-label
s on each input and button. More on that in README. - Automatically jump to the next input if the user can't enter any more digits (#15, #29).
What's changed?
- Documentation should now be easier to read thanks to improved clarity and default values column.
- Optimized the number of listeners attached by React-Time-Picker.
- Added more unit tests.
Bug fixes
- Fixed AM/PM not selectable in some locales using Arabic numerals (#25).
- Fixed a warning on
amPm
mistakenly required when there is a possibility of it being null ifvalue
is null too (#31). - Fixed Clock not closing in some cases on mobile Safari. Thanks, @victor-cordova!
- Fixed input value selection immediately un-selecting on non-Chromium versions of Microsoft Edge (#37).
- Fixed default icon styling affecting custom icons by changing their
fill
properties.
v3.5.2
What's changed?
- Whitespace in dividers is now automatically preserved.
- Simplified some internal methods.
- Added more unit tests.
Bug fixes
- Fixed AM minTime/maxTime taken into account when picking PM time and vice versa in 12-hour mode.
- Fixed users not being able to enter e.g. 2 PM if minTime was set to 12 PM in 12-hour mode.
v3.5.1
v3.5.0
What's new?
- Added support for
format
prop which allows to overwrite default time format determined either fromlocale
prop or automatically. See README for details.
Bug fixes
- Fixed issues where iterating an HTMLCollection would cause issues in older versions of Edge and IE (#135). Thanks, @mathieumg!
- Fixed jumping to previous/next input not working if leading zeros were present
v3.4.0
v3.3.0
v3.2.0
What's new?
- Added support for non-latin locales.
What's changed?
- React-Time-Picker now uses Babel 7 for compilation.
- Using Parcel, if you decide for whatever reason to import from
src
directory instead of defaultdist
, Parcel will properly recognize it and use proper Babel configuration.
Bug fixes
- Disabled autocomplete on all input fields.
v3.1.1
v3.1.0
What's new?
- Brand input rendering algorithm was implemented. It should be more reliable, especially for
zh-CN
locale.
What's changed?
- Clock widget will no longer close automatically on any value change.
Bug fixes
- Fixed clock widget not closing when input was blurred using the keyboard.
v3.0.0
See Upgrade guide from version 2.x to 3.x.
What's new?
- Inputs now automatically select on focus.
- Leading zeros are now wrapped in a
<span />
element withreact-time-picker__inputGroup__leadingZero
class name for easier styling. - Internal changes in
TimeInput
component that will allow for more refined styling of React-Time-Picker along with React-DateTime-Picker and React-TimeRange-Picker.
Bug fixes
- Fixed input height that could be off by 2 pixels on some devices.