Releases: material-components/material-web
Releases Β· material-components/material-web
v2.4.1
v2.4.0
v2.3.0
2.3.0 (2025-03-26)
Features
- button: add download filename support for link buttons (4098832)
- button: rename attribute downloadFilename to download (8aefe19)
- chip: add download attribute to assist chip (902a84f)
- icon-button: add download attribute (9e84130)
- menu: add menu padding tokens (767d1f1)
- text-field: add showPicker method (bad490c)
Bug Fixes
- catalog: add hyphen to md-evelated-button attribute (ac9b14a)
- iconbutton: href will respond to touch target (ea1134a)
- labs: add mixinCustomStateSet() for :state() compatibility (045fe94)
- listitem: click() from listItemRoot (1c60e56)
- menu: export CloseReason (29d6763)
- select: missing accessible label (1bdcbd3)
v2.2.0
2.2.0 (2024-09-17)
Features
- field,textfield: add
containerslot for custom background content (44c13cd)
Bug Fixes
- checkbox: add override to symbol properties (a9ee4f5)
- remove the input entirely and replace it with a touch target (cf84a27)
- remove unnecessary css variable prefixes (5044e6e)
- Replace aria-hidden attribute with inert attribute in <md-radio> component (192f17e)
- Set touch target to
display: none(a696121)
v2.1.0
v2.0.0
2.0.0 (2024-07-23)
β BREAKING CHANGES
- tokens: Sass component tokens, such as
tokens.md-comp-checkbox-values(), returnvar(--md-<component>, <value>)instead of just the CSS value. Use$exclude-custom-properties: trueto remove them. querySelectorfor[role]and[aria-*]attributes may no longer work. See@material/web/migrations/v2/README.mdand@material/web/migrations/v2/query-selector-aria.ts.
Features
- button: add
soft-disabledattribute for focusable disabled buttons (48124ba) - check for server before creating treewalker from document (0d50ed9)
- chips: add label slot (7ec70c4)
- chips: add new
soft-disabledattribute for focusable disabled chips (750b886) - iconbutton: add
soft-disabledattribute for focusable disabled icon buttons (281c092)
Bug Fixes
v1.5.1
v1.5.0
v1.4.1
v1.4.0
1.4.0 (2024-03-21)
Features
- menu: add
no-navigation-wrapto fix select accessibility (c6ffd70) - typography: add
@material/web/typography/md-typescaleclasses (36dd77e)
Bug Fixes
- button,fab,chips,labs: text-transform inherits through shadow root (758e615)
- elevation: expose md-elevation
::partin all components (b74e3dd) - elevation: limit elevation transition to box-shadow and opacity (34c0a67)
- publish
.cssfiles for[@import](https://github.com/import)-ing (cde649c) - rename internal
<styles>.css.jsto<styles>.css(c35bad0) - switch: reflect
selectedstate in input event (8d201e0) - tabs: default
scroll-behavior: smoothnot working (274ce3e), closes #5497 - textfield: no longer inherits
text-alignfrom parents (668f0ee), closes #5509 - typography: rename md-typescale.js to md-typescale-styles.js (1e47fd7)
- use explicit
CSSResult[]types for static styles (ce41b7b)