v0.23.0
[v0.23.0] - 2021-09-13
This is the last Lit 1 release. Future releases will be using Lit 2.0.0
Changed
switch- BREAKING: Moved old switch implementation to
@material/mwc-switch/deprecated - BREAKING: Updated switch to new Material Design spec
- Selected and unselected states now have icons
- Switch uses "primary" theme color instead of "secondary"
- New custom properties have been introduced
- BREAKING:
checkedrenamed toselected - BREAKING: No longer dispatches a
changeevent (useclickevents) - Added form support
- BREAKING: Moved old switch implementation to
Fixed
- all
- Fixed inconsistent import styles for
@material/mwc-rippleand
@material/mwc-iconto reduce duplicate registration errors for those
elements in certain environments. - Updated webcomponents polyfills to 2.6.x
- Fixed inconsistent import styles for
elevation-overlay- Fixed invalid
mainandmodulefields inpackage.json.
- Fixed invalid
icon-button- Fixed missing dependency on
@material/mwc-base.
- Fixed missing dependency on
icon-button-toggle- Fixed missing dependency on
lit-html.
- Fixed missing dependency on
menu- Fixed noninteractive ignoring
--mdc-menu-item-height
- Fixed noninteractive ignoring
textarea- Text direction follows CSS direction
textfield- Text direction follows CSS direction
Added
button- Add
ariaHasPopupproperty
- Add
icon-button- Add
ariaHasPopupproperty
- Add
menu- Add
innerAriaLabelproperty
- Add
- BREAKING:
slider- Initial implementation of Material 2 slider
- Implementation is vastly different from M1 slider
listSelectedEvent,SingleSelectedEvent,MultiSelectedEventnow exported frommwc-list-baseandmwc-listfiles