- add
config
api - add
suppress
option
- add a close button
- upgrade dev dependencies
- support zmgr for proper z-indexing
- proper handle invalid input
- add
mode
with following mode supported:in-place
: default value. widget is inserted afterhost
.out-place
: widget is inserted underdocument.body
.fixed
: widget is inserted underdocument.body
, with fixed position style.
- support
container
option for customized modal window.
- support
fixed
option for fixed mode. fixed mode is automatically enabled if no host provided.
- even if
count-scroll = false
we should still consider scroll position to keep picker in viewport as possible.
- support
change
event when value changed.
- update widget based on initial value of host if available
- add
isOn
API for checking if dialog is active or not - handle key event only if dialog is on
- separate toggling code into standalone
toggle
api - show local timezone offset in host
- update ui also when hour / minute change
- fix bug: hour / minute don't work
- support enter / escape to close
- let dialog be mutual exclusive
- fix bug: incorrect position when scrolling if scroll element is outside the absolute / relative positioned element.
- tweak layout
- add simple theme
- init release