github material-components/material-web v0.15.0

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

Added

  • Added --mdc-menu-z-index to menu-surface
  • Added surface/on-surface theme properties for mwc-switch
  • Added overrides for ripple focus and hover opacities
    • --mdc-ripple-focus-opacity and --mdc-ripple-hover-opacity respectively
  • Added spaceBetween to mwc-formfield
  • Added activated and selected states for ripple
  • Added documentation for ripple
  • Prefix and suffix to mwc-textfield
  • mwc-formfield now has a nowrap property
  • mdc-button now has --mdc-shape-small for border radii
  • Added size property to mwc-textfield
  • mwc-fab now has a slot of icons
  • Added fullwidth property to mwc-select.
  • Added minLength to mwc-textfield

Changed

  • Refactor mwc-checkbox
    • Remove usage of MDCCheckboxFoundation
    • Replace ripple-directive with lazy mwc-ripple
  • Refactor mwc-button
    • Replace ripple-directive with lazy mwc-ripple
  • Refactor mwc-ripple
    • Normalized API to start${state} end${state} naming
  • BREAKING:VISUAL: mwc-list-item now internally uses mwc-ripple instead of styling ripple on host
  • mwc-menu's quick variant now opens synchronously
  • Convert to Sass modules
  • BREAKING removed textfield's character counter foundation directive
  • Refactor mwc-select
    • BREAKING:VISUAL internal structure of select anchor updated.
    • BREAKING naturalWidth property renamed to naturalMenuWidth for clarity.
    • BREAKING: --mdc-select-dropdown-icon-opacity and --mdc-select-disabled-dropdown-icon-opacity removed; opacity is now expressed in alpha channel of color.
    • BREAKING:VISUAL: Dropdown arrow icon motion updated.
    • BREAKING remove helperPersistent property; helper text now persistent by default if included.
  • Refactor snackbar to conform to other elements' .open .show() .close() APIs
    • BREAKING mwc-snackbar isOpen property is now called open
    • BREAKING mwc-snackbar open() method is now called show()
    • BREAKING mwc-snackbar's isOpen -> open property is now editable
  • Removed default slot from switch
  • mwc-select's button role changed to combobox

Fixed

  • Fix property renaming issues with Closure Compiler
    • Use RippleAPI interface between RippleHandlers and mwc-ripple
    • Use RippleInterface interface for ripple-directive
  • Fix regression in textfield line color custom properties
  • Fix infinite loop bug in mwc-tab-bar when activeIndex is set in first render
  • Fixed bug in mwc-slider where initializing min and max over 100 would not set correct bounds on UI.
  • Fixed " showing up in mwc-button when the ripple activates
  • Changing an invalid textfield's validation properties to valid values will update styles automatically

Don't miss a new material-web release

NewReleases is sending notifications on new releases.