All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- added new value to the property
theme
calledm3
. Themem3
based on the new Material Design v3. Material Design 3 is still not release in offical version for WEB but you can use it if you want. There is new version of Material Design 3. If new version M3 will be released this design will get improve.
- changed invoke of
close()
method. These method has to invoke with double parenthesesclose()()
. The first parentheses doesn't have any parameters, the second has the same what had in the previous method.
- added
delayHandler
prop to avoid delay on buttons
- fixed problem with 0NaN error when using touch input. Thanks to @grizzlymannn
- changed logic about
hour
andminutes
. Previous version used divs as buttons, the current version is usinginputs
instead divs. - removed
preventDefault
option, to useeditable
option is enough to set this option totrue
- added
debounce
function to close/open timepicker
- fixed problem with
edtiable
options durning change hour/minutes on desktop/mobile
- fixed unnecessary change code to
disable Time
- fixed problem with
focusTrap
with React about eval error
- fixed problem with
minutes
option incurrentTime
- added
focusTrap
to turn off/on focus traping on picker. The default value is set to true - added possibility to open picker by click enter if input is focused
- fixed problem with
currentTime
about displaying wrong hour in the picker - fixed problem with
editable
option when switch during desktop/mobile options
- added
OptionTypes
to allows to import types from package
- added new
currentTime
option
- fixed landscape on the mobile view
- updated comments in code to methods/options to show properly descriptions in codes editors
- added new update method
- added new destroy method
- added new option
disabledTime
that allows to set to timepicker disabled time
- updated a methods open, close with new parameters and callbacks
- fixed problem with switchToMinutesAfterSelectHour option
- fixed problem with update event
- fixed problem with animation option name
- fixed problem with iconTemplete and iconTemplateMobile names
- fixed problem with switching mobile/desktop view
- fixed problem to set options with data-attributes
- changed option name from
selectLabelTime
tolabelTime
- added UMD version
- added new options
mobileTimeLabel
to change time label on mobile version
- Update README.md and links
- Fixed hand circle SCSS on the crane mode
- Fixed am/om SCSS on the crane mode
- Update typings, remove alomost all @ts-ignore and any types.
- Fixed scss with landscape version
- Fixed class active to hour/minutes
- Version 24h
- Input validation
- Change scss styles
- Update types
- Fixed problem with transition
- Added new option
animated
to turn on/off animations on picker on start/close. - Added new option
editable
to edit hour/minutes on the web mode. - Added new option
preventDefault
to turn on/off defaults events to clock face events.
- Change docs example
- Removed unnecessary option
inputTemplate
from options types.
- Fixed problem with events on remove
- Fixed problem with close event.
- Fixed problem with keyboard icon click on mobile.
- Everything was rewritten to TypeScript
- Fixed problems with move events on mobile.
- Fixed return values of
type
in the events
- Added the possibility to have multiple open elements on init