[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:
checked
renamed toselected
- BREAKING: No longer dispatches a
change
event (useclick
events) - Added form support
- BREAKING: Moved old switch implementation to
Fixed
- all
- Fixed inconsistent import styles for
@material/mwc-ripple
and
@material/mwc-icon
to 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
main
andmodule
fields 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
ariaHasPopup
property
- Add
icon-button
- Add
ariaHasPopup
property
- Add
menu
- Add
innerAriaLabel
property
- Add
- BREAKING:
slider
- Initial implementation of Material 2 slider
- Implementation is vastly different from M1 slider
list
SelectedEvent
,SingleSelectedEvent
,MultiSelectedEvent
now exported frommwc-list-base
andmwc-list
files