Skip to content

Releases: material-components/material-web

v1.0.0-pre.3

22 Feb 21:11

Choose a tag to compare

1.0.0-pre.3 (2023-02-22)

⚠ BREAKING CHANGES

  • slider: fix ripple end hover state when leaving handle
  • controller: fix label activation utility on slotted elements
  • dialog: fix exception when opening when compiled with advanced closure settings
  • ripple: rename press methods to event handlers
  • ripple: rename focus methods to event handlers
  • ripple: rename hover methods to event handlers
  • navigation,badge: migrate to -text-type tokens
  • fab: move to label-text-type token, shape corners
  • segementedbutton: move to label-text-type token
  • list,menu: move to -text-type tokens
  • dialog: migrate to header-type and supporting-text-type tokens
  • button: replace label-text-* tokens with label-text-type
  • field & dependents: convert to use text-type tokens
  • all: checkbox container-width/height tokens have been renamed to container-size
  • ripple: remove "state-layer" from token names
  • all: use shape.resolve-tokens and remove shape.resolve-theme

Features

  • shape, string-ext: Allow shape corners to fall back to a single custom property (1afd925)
  • slider: adds slider element (f0f5ae5)
  • tokens: generate v0.160 (20de321)
  • typography: implement resolve-tokens function to use -text-type (1550e8e)

Bug Fixes

  • all: update tokens to 0.160 (9025af3)
  • all: use shape.resolve-tokens and remove shape.resolve-theme (44a8d74)
  • button: replace label-text-* tokens with label-text-type (69f9a17)
  • controller: fix label activation utility on slotted elements (8b58f98)
  • dialog: fix exception when opening when compiled with advanced closure settings (c63a1d9)
  • dialog: migrate to header-type and supporting-text-type tokens (66948a4)
  • docs: fix documentation to show using -type tokens (c955055)
  • fab: move to label-text-type token, shape corners (8c01aee)
  • field & dependents: convert to use text-type tokens (cc5a7db)
  • list,menu: move to -text-type tokens (45a6d45)
  • navigation,badge: migrate to -text-type tokens (7b86677)
  • ripple: remove "state-layer" from token names (ff84a66)
  • ripple: rename focus methods to event handlers (6e97717)
  • ripple: rename hover methods to event handlers (cde7ca0)
  • ripple: rename press methods to event handlers (0cc7d29)
  • segementedbutton: move to label-text-type token (bd125fe)
  • slider: fix ripple end hover state when leaving handle (535d889)
  • slider: use label-label-text-type font token (ad889ea)
  • testing: convert test-table to use -type tokens (2046401)
  • testing: remove header-cell-text-tracking (43ce8c1)
  • typograph: remove typography resolver (2a8ba18)

Miscellaneous Chores

v1.0.0-pre.2

08 Feb 20:10

Choose a tag to compare

1.0.0-pre.2 (2023-02-06)

⚠ BREAKING CHANGES

  • iconbutton: Make a few API improvements
  • textfield: remove container-height token
  • iconbutton: normalize toggle variant API with regular icon button
  • iconbutton: remove icon properties, use slots instead

Features

  • divider: add divider component (9431c16)
  • menu,list: expose menu theme mixins and remove divider (e15c4b8)
  • tokens: generate tokens v0.152 (c61f46c)

Bug Fixes

  • all: remove [@requirecss](https://github.com/requirecss) comments (80590ae)
  • forms: fix form association for switch, checkbox, and radio, including label activation (1ddba0c)
  • switch: update to latest animations, and implement sizing tokens (9e9bf84)

Miscellaneous Chores

Code Refactoring

  • iconbutton: Make a few API improvements (c72e7fd)
  • iconbutton: normalize toggle variant API with regular icon button (31391eb)
  • iconbutton: remove icon properties, use slots instead (36f1a1a)
  • textfield: remove container-height token (1d81416)

v1.0.0-pre.1

10 Jan 00:01

Choose a tag to compare

1.0.0-pre.1 (2023-01-09)

⚠ BREAKING CHANGES

  • button: Remove icon property from Button, require slotted icons

Bug Fixes

  • button: remove icon property from Button, require slotted icons (d3b517a)
  • icon, iconbutton: Cleanup styling (12c9364)
  • icon: Remove fixed left-to-right direction to fix RTL styling (5a27f05)
  • radio: update motion to current spec (95897b3)

Miscellaneous Chores

v1.0.0-pre.0

09 Jan 19:03

Choose a tag to compare

1.0.0-pre.0 (2023-01-09)

⚠ BREAKING CHANGES

  • focus-ring, button: Button shape properties are now of the form --md-text-button-container-shape-start-start
  • formfield: Removed Formfield. The element can now be used, e.g. <label>Checkbox <md-checkbox></md-checkbox></label>.
  • checkbox: Removed reducedTouchTarget. Instead, set the width and height on the checkbox.

Features

  • add _focus-ring.scss partial to expose theming the focus ring (c47f800)
  • add filled-tonal-icon-button sass partial (30d9c33)
  • add more detail to error message on sass color function. (c293a8d)
  • all: Implement stubs for lit-localize support (e72ca03)
  • autocomplete: Add base render functions (c289678)
  • autocomplete: Add example in demo on how to filter items (75d6b82)
  • autocomplete: Add filled autocomplete theming api support (ef9bdd1)
  • autocomplete: Add keyboard support (d2ea3ce)
  • autocomplete: Add opening and closing upon interaction (530b6d3)
  • autocomplete: Create autocomplete item and connect action to fill value (c3aa552)
  • autocomplete: Create MdAutocompleteList to unset min-width. (e77d472)
  • autocomplete: Create MdAutocompleteSurface to adjust width (cc4603e)
  • button: Add outlines in high contrast mode (HCM) to Button (9ec33ba)
  • checkbox: Checkbox now supports form submission and label activation by using FormController and setting formAssociated. (7b84fca)
  • checkbox: refactor and simplify rendering/style logic (27f7ea8)
  • controller: add label activation support to FormController (4e3054b)
  • controller: add stringConverter for empty reflecting attributes (2a0d563)
  • elevation: create md-elevation component (9eb7bf0)
  • field: add leading/trailing content styles (dc7d949)
  • focus-ring, button: Match focus ring shape to button shape (7fad3a5)
  • form-field: Added theme styles to form field (17075f4)
  • icon-button: Implement isRTL helper library, and refactor icon-button to use it. (5dd43fa)
  • iconbutton: Add internal linkAttributes (10cf00b)
  • icon: Implement tokens for md-icon (0327283)
  • list-item: Added isActive() method to check active status and minor fixes to keyboard navigation (9f410f6)
  • list: Add basic keyboard navigation to M3 list (ee35bfe)
  • list: Add component styles to match spec layout (a6ddbaa)
  • list: Add customizable aria-label/role attributes to list, and customizable role to list item. (8f63406)
  • list: Add list elevation overlay and overlay color/opacity to theme API. (ebb9a4b)
  • list: Add listId property (78f125d)
  • list: Add ripple to M3 list (4d292f4)
  • list: Add support for aria active descendant, id (d9b1deb)
  • list: Add support for fetching list items. (4b79baa)
  • list: Added aria-checked attribute support to list item. (2c06c2e)
  • list: Added avatar web component to list (899a4e6)
  • list: Added focus ring to list item (2d2b3bb)
  • list: Added image web component to list (4587cbc)
  • list: Added list divider web component (d2a1b2e)
  • list: Added options list to M3 list (74704d7)
  • list: Added soy template annotations for image classes slot (c277252)
  • list: Added test harnesses to list (bf29bc3)
  • list: Added video web component to list (261b6ef)
  • list: Created a separate style module for icon web component in list (e64cdbe)
  • menu: Add aria-label support in menu, and set role=menu/menuitem for menu and menu item components. (7e35820)
  • menu: Add initial menu base component class. (60c4a41)
  • menu: Add menu button component. This manages focus automatically on menu open, setting focus to menu item (rather than menu root) if the menu open originated from a keyboard event. (a29ac8b)
  • menu: Add menu foundation/adapter and Sass (forked from MDC). (de29937)
  • menu: Fix menu closing on menu item click. (d37e23d)
  • menu: Implement menu theming API. Use menu surface/list/list item theme() mixins to style subcomponents. (f305806)
  • menusurface: Add flipMenuHorizontally property, add unit tests. (884c3a2)
  • menusurface: Add menu surface theming API. (5e70115)
  • menusurface: Add menusurface class (forked from MWC/MDC). (5f51f26)
  • radio: change SingleSelectionController to a ReactiveController (b0e87c5)
  • ripple: Create a ripple directive ([6746d0f](https://github.com/material-components/material-web/commit/...
Read more

v0.27.0

12 Aug 20:09

Choose a tag to compare

  • Select
    • refactor to make easier to subclass
  • Menu
    • refactor to make easier to subclass
  • MenuSurface
    • refactor to make easier to subclass

v0.26.1

09 May 20:34

Choose a tag to compare

Fixed

  • Add .js to import paths

v0.26.0

03 May 17:34

Choose a tag to compare

Changed

  • all
    • Upgrade typescript to 4.4.4

Fixed

  • linear-progress, circular-progress
    • Fix update typing to use PropertyValues

v0.25.3

21 Oct 17:57

Choose a tag to compare

chore(iconbutton): Modify link icon button syntax.

PiperOrigin-RevId: 404792275

v0.25.2

11 Oct 23:20

Choose a tag to compare

Fixed

  • textfield
    • Change typing of step attribute to String to allow step="any" declaratively.

Added

  • formfield
    • Forward click() calls to slotted element

v0.25.1

21 Sep 03:14

Choose a tag to compare

[v0.25.1] - 2021-09-20

Changed

  • all
    • BREAKING:BUILD underlying Lit 1 libraries updated to Lit 2
    • This may break certain builds that are transitively relying on Lit 1
    • If your Lit 1 components break due to this, make sure your package.json
      explicitly includes the latest Lit 1 versions of lit-html and lit-element
      or deduplicate your versions of Lit 1 with your bundler
    • If you wish to revert to Lit 1, please revert to version ~0.23.0

[v0.25.0] - 2021-09-20

npm error mid publish

[v0.24.0] - 2021-09-20

null version. accidentally polluted tag.