github material-components/material-web v0.9.0

latest releases: v1.4.1, v1.4.0, v1.3.0...
4 years ago

Added

  • Implemented mwc-dialog
  • mwc-textfield.layout method.

Changed

  • BREAKING: Added custom .focus() and .blur() functions to mwc-button
    that cause the button to ripple as when tab focusing.
  • BREAKING: mwc-textfield's custom .focus() function will now call
    .focus() on the native internal input causing the caret to appear instead of
    just forcing focus styles to appear.
  • BREAKING: mwc-textfield's custom .blur() function will now call
    .blur() on the native internal input instead of just forcing focus styles to
    disapprear.
  • BREAKING mwc-base/base-element no longer exports any of the
    lit-element or lit-html APIs (e.g. LitElement, customElement,
    classMap). Users should import directly from the lit-element and
    lit-html modules instead.
  • BREAKING mwc-textfield and mwc-textarea will now update their .value
    on the native input's input event instead of change.

Fixed

  • <mwc-drawer> can now be used with Rollup (via version bump to pick up
    WICG/inert#135).
  • <mwc-textfield> and <mwc-textarea> will now have the same height between
    their filled and outlined variants with helper text on older browsers.
  • mwc-textfield[required] and mwc-textarea[required] will now have their
    required asterisk colored correctly when customized.
  • <mwc-textfield> and <mwc-textarea> can now have basic usability in IE.
  • mwc-textarea[disabled][outlined] will no longer have a filled-in background
    as is per material spec.
  • mwc-textarea[disabled]label="string!"][value="string!"] will now float the
    label to the correct spot.

Don't miss a new material-web release

NewReleases is sending notifications on new releases.