web-components icon indicating copy to clipboard operation
web-components copied to clipboard

Reflect internal states in Date Picker's month calendar as part names

Open rolfsmeds opened this issue 2 years ago • 0 comments

Describe your motivation

The following states of the date part in vaadin-month-calendar are not targetable with the ::part() selector:

  • today
  • selected
  • disabled
  • focused

Describe the solution you'd like

Reflect these as dynamically applied part names.

Example: selected date in month calendar: Before: <td selected part="date">30</td> After: <td selected part="date selected">30</td> or <td selected part="date date-selected">30</td>, depending on how we choose to name state parts.

Describe alternatives you've considered

No response

Additional context

No response

rolfsmeds avatar Aug 04 '22 07:08 rolfsmeds