github material-components/material-web v0.23.0

latest releases: v2.2.0, v2.1.0, v2.0.0...
3 years ago

[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 to selected
    • BREAKING: No longer dispatches a change event (use click events)
    • Added form support

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
  • elevation-overlay
    • Fixed invalid main and module fields in package.json.
  • icon-button
    • Fixed missing dependency on @material/mwc-base.
  • icon-button-toggle
    • Fixed missing dependency on lit-html.
  • menu
    • Fixed noninteractive ignoring --mdc-menu-item-height
  • textarea
    • Text direction follows CSS direction
  • textfield
    • Text direction follows CSS direction

Added

  • button
    • Add ariaHasPopup property
  • icon-button
    • Add ariaHasPopup property
  • menu
    • Add innerAriaLabel property
  • BREAKING: slider
    • Initial implementation of Material 2 slider
    • Implementation is vastly different from M1 slider
  • list
    • SelectedEvent, SingleSelectedEvent, MultiSelectedEvent now exported from mwc-list-base and mwc-list files

Don't miss a new material-web release

NewReleases is sending notifications on new releases.