Releases: mskocik/svelty-picker
Releases Β· mskocik/svelty-picker
v5.2.0
v5.1.1
v5.1.0
v5.0.0
New
- add hour only mode (
hourModeprop) (#136) (#140) by @dreinert1994 - add thai πΉπ (
th) i18n (#139) - add
dateChangeevent on change with additional details.
Breaking changes
- change CSS properties. Completely refactored and unified, with cleaner description. Refer to Theme page for current props (#137). Huge thanks to @Mero-Plaform for it.
Fixes
- apply
todayBtnClassesandclearBtnClassestoOKandCancelbuttons as well (#132) - properly init
valuefrominitialDatedate prop
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
β¨ 4.0.0
π€© Now with date-range!
New:
- add date-range picker - can be enabled by setting
isRangeproperty - add
displayFormatanddisplayFormatTypeproperties to separately control visuals representation and real value (propertiesformat,formatType) - timepicker - trigger
changeevent only on click, not on mousemove - add slots
- add prop
disabledDatesFnto disable dates. - add prop
manualInputto have ability to enter the date manually
Breaking changes:
- rename
autoclosetoautocommitto better reflect functionality it provides. Because it's not only about closing popup. - removed
positionFnproperty - removed
clearToggleproperty (now this functionality - ability to clear the value is controlled byrequiredproperty) - method to register component as custom element has changed from
registerElementtoregisterSveltyPicker. Also arguments has changed - completely rewritten event system due collisions with date-range picker, meaning
changeevent is dispatched when expected based onmode - removed
getLastPickerPhaseaccessor due to rewritten event system - unify css variables, there was typo that some props started with
--stdinstead of--sdt