github material-components/material-web v2.0.0

latest releases: v2.2.0, v2.1.0
one month ago

2.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • tokens: Sass component tokens, such as tokens.md-comp-checkbox-values(), return var(--md-<component>, <value>) instead of just the CSS value. Use $exclude-custom-properties: true to remove them.
  • querySelector for [role] and [aria-*] attributes may no longer work. See @material/web/migrations/v2/README.md and @material/web/migrations/v2/query-selector-aria.ts.

Features

  • button: add soft-disabled attribute for focusable disabled buttons (48124ba)
  • check for server before creating treewalker from document (0d50ed9)
  • chips: add label slot (7ec70c4)
  • chips: add new soft-disabled attribute for focusable disabled chips (750b886)
  • iconbutton: add soft-disabled attribute for focusable disabled icon buttons (281c092)

Bug Fixes

  • add typecast (1482bff)
  • aria-labels announcing twice with "group" on components (5df9410)
  • chips: add truncation support (713f0a8)
  • tokens: tokens.md-comp-*-values() include custom properties by default (55b4650)

Don't miss a new material-web release

NewReleases is sending notifications on new releases.