✨ 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