Skip to content

Latest commit

 

History

History
156 lines (80 loc) · 7.24 KB

File metadata and controls

156 lines (80 loc) · 7.24 KB

wc-datepicker

0.13.0

Minor Changes

  • #72 c4c2c92 Thanks @Sqrrl! - Add selection-mode prop with support for 'single' | 'range' | 'multiple'.

    • New 'multiple' mode allows toggling any number of non-consecutive dates; selectDate emits an ascending-sorted array of ISO strings.
    • New dateSelected, dateDeselected and datesSelected labels are announced by screen readers in 'multiple' mode. datesSelected supports a {count} placeholder.
    • aria-multiselectable is now true in both 'range' and 'multiple' mode.
    • Changing selection-mode at runtime clears the current selection and emits selectDate with undefined.

    Note: The range prop is deprecated. Use selection-mode="range" instead. range still works but is ignored when selection-mode is set.

0.12.0

Minor Changes

  • #75 eea4f33 Thanks @Sqrrl! - Disable the year stepper and month options according to the min-date and max-date attributes

0.11.0

Minor Changes

  • #68 8ad11c5 Thanks @babielmam! - Add slots for buttons' content (customizability)

    Note: The undocumented props todayButtonContent and clearButtonContent have been removed in favor of the new slots.

  • #67 dabc33e Thanks @babielmam! - Add property to shift focus to start or end of week instead of month, when pressing Home or End (accessibility)

Patch Changes

0.10.0

Minor Changes

0.9.5

Patch Changes

  • c84161a Thanks @Sqrrl! - Fix selection of overflow dates via click

  • 3ed811e Thanks @Sqrrl! - Remove name attributes from navigational month and year inputs

0.9.4

Patch Changes

0.9.3

Patch Changes

  • 9ea45dd Thanks @Sqrrl! - Let screen readers announce the year when navigating date cells; fix an issue causing VoiceOver to not announce the currently selected date when focused.

0.9.2

Patch Changes

  • b0b86c1 Thanks @Sqrrl! - Fix an issue preventing a user to change the month or year

0.9.1

Patch Changes

  • #47 bae1ce1 Thanks @Sqrrl! - Make sure the calendar can retrieve focus, even if the current date is disabled.

0.9.0

Minor Changes

0.8.1

Patch Changes

  • efdbea4 Thanks @Sqrrl! - Limit weekday labels to 3 characters to prevent overflow

0.8.0

Minor Changes

0.7.0

Minor Changes

  • c75cb2b Thanks @ilarne! - Add aria-current="date" to current date's cell.

0.6.0

Minor Changes

Patch Changes

0.5.3

Patch Changes

  • e21bea2 Thanks @Sqrrl! - Fix an issue causing months to be skipped when navigating

0.5.2

Patch Changes

  • c157337 Thanks @Sqrrl! - Prevent input of years <0 or >9999 (fixes #13)

0.5.1

Patch Changes

0.5.0

Minor Changes

  • a318e39 Thanks @Sqrrl! - Add classes to mark start and end dates of a range selection

0.4.0

Minor Changes

0.3.0

Minor Changes

0.2.0

Minor Changes

0.1.0

Minor Changes