Releases: material-components/material-web
Releases Β· material-components/material-web
Release list
v2.5.0
2.5.0 (2026-07-14)
Features
- add custom-elements.json manifest (68d3b89)
- export CSSStyleSheet as default from CSSResult-in-js files (1cbfc75)
- labs: add badge utility classes to component (b4af72e)
- labs: add card utility class component (0c8986c)
- labs: add checkbox utility class component (81807b2)
- labs: add container slot support for card (ed72d96)
- labs: add container slot support for expressive button (d59dd9d)
- labs: add divider utility class component (593705e)
- labs: add expressive button utility class component (b39e13e)
- labs: add expressive fab utility class component (c86e3a2)
- labs: add expressive icon component (b8cba86)
- labs: add expressive list utility class component (33d8df2)
- labs: add expressive menu utility class component (95dd57c)
- labs: add expressive split button (3758f46)
- labs: add expressive system stylesheets (7baa861)
- labs: add icon button utility class component (3400f36)
- labs: add Material for Tailwind theme stylesheet (917e080)
- labs: add radio utility class component (d37988b)
- labs: add spacing system stylesheet (026f39d)
- labs: add switch utility class component (f6c1871)
- labs: change form-submitter to a behavior mixin (5a9f7da)
- labs: change form-submitter to a behavior mixin (4142a69)
- labs: remove elevation from button when its outline is hidden (bbdba3b)
- list,menu: support styling
gapon items (3302730) - sass-ext: add
@material/web/sass/exthelper utilities (dd87fd2)
Bug Fixes
- button,iconbutton: use form-associated mixin behavior (082faad)
- button: touch target not covering tall container height (fd17013)
- field: prevent NaN transforms when element is hidden (590ae99)
- iconbutton: use event dispatch hooks for toggle clicks (9538d26)
- labs:
<md-icon>not working whenmd-icon.cssnot imported (f7fd08c) - remove internal
*-styles.jsgenerated files (7bf4a7e) - select: stale tabindex caused incorrect typeahead value changes (e16e2f6), closes #5913
- slider: prevent internal selection and a frozen knob. (46fc0ea)
- switch: gray overlay when disabled on Firefox v150 (3b431c9)
- tokens: add expressive token versions (9779099)
- tokens: add readme for the
@material/web/tokens/versionsfolder (a7ba471)
Reverts
- "feat(labs): change form-submitter to a behavior mixin" (38724b9)
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)