Skip to content

Releases: mskocik/svelty-picker

v4.1.2

23 Aug 16:01
Compare
Choose a tag to compare

Fixes

  • fixes date sorting in range picker mode for date formats (#124)

v4.1.1

23 Aug 11:33
Compare
Choose a tag to compare

Fixes:

  • add --sdt-header-color to : separating hours and minutes
  • add --sdt-color-time for better customization of hour/minute buttons

v4.1.0

22 Aug 12:32
Compare
Choose a tag to compare

New:

  • add new CSS properties as requested in #118
  • new locales: danish 🇩🇰 (da), swedish 🇸🇪 (sw) and turkish 🇹🇷 (tr)

✨ 4.0.0

24 Jul 11:44
Compare
Choose a tag to compare

🤩 Now with date-range!

New:

  • add date-range picker - can be enabled by setting isRange property
  • add displayFormat and displayFormatType properties to separately control visuals representation and real value (properties format, formatType)
  • timepicker - trigger change event only on click, not on mousemove
  • add slots
  • add prop disabledDatesFn to disable dates.
  • add prop manualInput to have ability to enter the date manually

Breaking changes:

  • rename autoclose to autocommit to better reflect functionality it provides. Because it's not only about closing popup.
  • removed positionFn property
  • removed clearToggle property (now this functionality - ability to clear the value is controlled by required property)
  • method to register component as custom element has changed from registerElement to registerSveltyPicker. Also arguments has changed
  • completely rewritten event system due collisions with date-range picker, meaning change event is dispatched when expected based on mode
  • removed getLastPickerPhase accessor due to rewritten event system
  • unify css variables, there was typo that some props started with --std instead of --sdt

Fixes:

  • keyboard navigation when minuteIncrement is not 1 (#72)
  • set hour only on mouse release (#58)
  • prevent dispatching change event repeatedly (#57)

v3.6.0

15 Jul 17:03
Compare
Choose a tag to compare

Updates

  • due to removal of event dispatching on mousemove (#57), change event is called only on click event

Fixes

  • properly handle mousemove event in timepicker (#58)

v3.5.3

13 Jul 17:44
Compare
Choose a tag to compare

Fixes

  • fix using time format without non-punctuation delimiter like hhii or HHii or HHii P or HHii p (#102)

v3.5.2

19 Jun 10:28
Compare
Choose a tag to compare

Fixes

  • fix published npm package from 3.5.1 (#101)

v3.5.0

05 May 18:50
Compare
Choose a tag to compare

New

  • Ability to get current mode (date | hour | minute). Useful in change handler (by @tbydza in #95)

Fixes

v3.4.6

30 Mar 08:12
Compare
Choose a tag to compare

Fixes

v3.4.4

15 Mar 20:26
da8a1f3
Compare
Choose a tag to compare

New:

Fixed