Releases: material-components/material-web
Releases · material-components/material-web
v1.0.0-pre.10
1.0.0-pre.10 (2023-06-05)
⚠ BREAKING CHANGES
- ripple: Remove ripple directives and attach like focus rings (parent,
for
attribute, or with.attach()
- all: Remove any -focus-state-layer- custom properties (they don't do anything)
- ripple: Set
border-radius: 50%
and removeunbounded
attribute
Features
- add labs and internal folders for non-client code (4b0c98c)
- button: adds
type
property to support form submit and reset (545ce0d) - ripple: add semantic and imperative attaching (d65327d)
- slider: add full form association support (ae70f1e)
- textfield: add form association support (e842f79)
Bug Fixes
- all: remove focus state layer tokens (933fc2e)
- focus: split attachable logic into separate controller (fbd680a)
- radio: checked styles not displaying (8fb5cd8), closes #4347
- ripple: remove ripple directive (33daf19)
- ripple: remove unbounded (b69e242)
- ripple: restrict manually controllable methods (ea2f04a)
- ripple: wrong start point for pressing unbounded ripples (88b5cfe)
- select: inherit width of the host (086565c)
- slider: improve step support for non-integer values and stepping from min (68c2721)
- slider: prevent lower handle moving beyond upper and visa versa (f9da935)
- slider: renames
withTickMarks
totickmarks
andwithLabel
tolabeled
(0e94e28) - ssr: make "for" attribute watcher SSR compatible (f47bdc3)
Miscellaneous Chores
- update next version (25ee94b)
v1.0.0-pre.9
1.0.0-pre.9 (2023-05-25)
⚠ BREAKING CHANGES
- ripple: Use
border-radius
instead of--md-ripple-shape
- focus: inward focus rings must be specified with
inward
rather than a negative offset. - textfield: Explicit "defaultValue" has been removed. Set the 'value' attribute to communicate a default value for resetting (similar to native )
- iconbutton: font icons require using directly
Features
- checkbox: add full form association support (a61f79c)
- chips: add input chips (d029b63)
- chips: add removable filter chips (748d70e)
- iconbutton: add disabled container opacity tokens (d84d48c)
- iconbutton: add disabled-icon-opacity token (7403ce1)
- listitem: add noninteractive to list item (57f7ae2)
- radio: add full form association support (9dc8613)
- slider: adds explicit multi-value support via range=true, valueStart, valueEnd (7ab37e4)
- switch: add disabled handle opacity tokens (c623c94)
- switch: add disabled icon opacity tokens (61550d2)
- switch: add disabled track tokens (a2045f5)
- switch: add full form association support (921a905)
- tabs: adds tabs and tab element (cbb24df)
- tabs: improves support for dynamically adding/removing tabs (dd5f3f0)
Bug Fixes
- button: theme mixin not validating (c566a64)
- chips: add touch target (55c9701)
- chips: incorrect shape custom property names (6fa8243)
- demo: fix demos in internal catalog and fix some broken stories in catalog (2c5e2b9)
- focus: corrected outward/inward animations (26d69c2)
- formAssociated being stripped from closure (c1ba0fb)
- ripple: remove shape token and will-change (a6c988b)
- switch: add missing tokens (b1e9c4a)
- tabs: adds a11y roles for tablist/tab (0da80a0)
- tabs: high contrast and reduced motion styling; improve tab marshaling (6116c34)
- textfield: remove defaultValue (2317c5a)
Miscellaneous Chores
- update next version (8d31bd9)
Code Refactoring
- iconbutton: remove <md-icon> (ec47f9b)
v1.0.0-pre.8
1.0.0-pre.8 (2023-05-08)
Features
- focus: improve usability (34d8db0)
Bug Fixes
- checkbox: incorrect logical shape var names (c2ca4f8)
- checkbox: support logical shapes (e62b16b)
- chips: incorrect shape custom property names (7ce0e25)
- focus: control not working when
for
reflects as empty (f83db36) - focus: update focus-ring tokens (5934de0)
- listitem: hide android tap color since we have ripple (0d3d032)
- menu: fix submenu closing when already opened and all menus closing when hovering over menuitem (f6d72f9)
- ripple: ensure ripple occurs when a keyboard generated click happens after a pointer click (016b851)
- slider: disabled slider no longer displays pressed handle color when pressed (4c229d9)
- testing: don't fire focus events twice (04d3496)
- tokens: bugs with component values() functions (beb5f81)
Miscellaneous Chores
v1.0.0-pre.7
1.0.0-pre.7 (2023-04-24)
⚠ BREAKING CHANGES
- button: remove label property
Features
- aria: add aria delegation (e0bbe38)
- chips: add filter chips (ae91366)
- circular-progress: adds screenshot tests for circular-progress element (e4a29c6)
- linear-progress: adds linear-progress element (1c7fcf3)
- linear-progress: adds linear-progress screenshot tests (212601d)
- select: implement select (9c202f5)
Bug Fixes
- actionelement: remove actionelement (b7af8ec)
- button: closure conformance issue (9e23477)
- button: fix template typo (a44bc3a)
- button: remove label property (e398099)
- chips: remove flat prefixes (4fa83bf)
- dialog: fixes #4080: corrects dialog fullscreen height (b3a6dac)
- elevation: tidy up tokens and update roadmap (301eb9a)
- icon: hide font ligature overflowing text (2eb914e)
- listitem: border-radius token affects ripple and focus-ring (c738f92)
- menu,list: new sys token mismatch between menu and list (55df403)
- menu: submenus will open correctly on click (9d7b291)
- navigationtab: remove actionelement (6da677f)
- remove @ariaProperty decorator (7b52c45)
- remove role attribute from elements (0a35ff5)
- segmentedbutton: remove actionelement (9442df8)
- slider: ensure scrolling is prevented on mobile browsers (743451b)
- slider: fixes #4061 and reduce use of private custom properties (9312a24)
- slider: fixes label focus and ranged handle dragging on Safari (72b48da)
- slider: fixes ripple hover state after interaction on Firefox (356d1bc)
- ssr: try to remove event listener calls on server (5e1fe1c)
- testing: remove unnecessary type def (5553da3)
Miscellaneous Chores
- update next version (c9f2f7d)
v1.0.0-pre.6
1.0.0-pre.6 (2023-04-10)
⚠ BREAKING CHANGES
- elevation: remove elevation surfaces
- iconbutton: rename selected aria label property, add documentation
- elevation: remove surface for tonal surface update
- iconbutton: combine button, link, and toggle variants into single components
- button: merge standard and link buttons
Features
- all: use system typography tokens in components (1bc73d2)
- circular-progress: adds circular-progress element (3adab6a)
- focus: export the keydown handler (d7fdfda)
- focus: implement focus ring animation (85232d5)
- iconbutton: combine button, link, and toggle variants into single components (0aa39e8)
- iconbutton: rename selected aria label property, add documentation (5d3af37)
- list,menu: implement forced colors (712aab3)
- tokens: generate v0.170 (2b9daea)
- tokens: generate v0.172 (189ef06)
- typography: add system custom properties for typography (bcfed09)
Bug Fixes
- button: incorrect theme custom properties (2c1c80d), closes #4095
- button: merge standard and link buttons (acfdbb4)
- button: tonal surface update (50157e6)
- checkbox: tonal surface update (7279356)
- chips: tonal surface update (60ef2ab)
- complete tonal surface update (7368e2a)
- dialog: tonal surface update (c64f416)
- elevation: remove elevation surfaces (d801a5f)
- fab: tonal surface update (92a9071)
- iconbutton: tonal surface update (52b45f1)
- list: fix strong focus first keyboard nav (6398186)
- menu: close menu on focusout and make it configurable (3445b63)
- menu: properly implement selected state (bfa1bec)
- menu: tonal surface update (7ccc21e)
- navigationbar: tonal surface update (ebe666e)
- navigationbar: tonal surface update (a5fe8f3)
- navigationdrawer: tonal surface update (4f9df51)
- radio: tonal surface update (b5065a6)
- ripple: tonal surface update (f08a9db)
- slider: tonal surface update (9a020b9)
- switch: tonal surface update (6ccc759)
- textfield: tonal surface update (f15d8ca)
Miscellaneous Chores
v1.0.0-pre.5
1.0.0-pre.5 (2023-03-21)
⚠ BREAKING CHANGES
- remove old menusurface, autocomplete, and tokens v0.160
- fab: remove disabled state
- iconbutton: properly size iconbutton to 40x40
- focus: refactor focus ring to better match component shape
Features
- button: add label slot (24298e6)
- chips: add basic assist chip (27762d8)
- chips: add disabled styles (324e856)
- chips: add focus ring (9eb861f)
- chips: add icon support (7e02a15)
- chips: add link chips (06bdb86)
- chips: add ripple (9582e00)
- chips: add suggestion chips (f3fe55e)
- field,menu: create a surface client rect api for positioning (533ae6c)
- icon: add icon documentation (912d66e)
- list-item: expose / override host focus (d005d72)
- list: add spacing tokens and inherit min-width (35147b2)
- menu: prepare menu to support md-select (193b220)
Bug Fixes
- button: enable separate color and opacity tokens (f90aab2)
- button: text button background not transparent (6700947)
- dialog: incorrect elevation layering (028e44e)
- elevation: disable pointer-events (6155278)
- fab: remove disabled state (c368e7d), closes #4045
- focus: refactor focus ring to better match component shape (61ff279)
- iconbutton: allow icon button to be asymmetrically sized (8a37ce2)
- iconbutton: properly size iconbutton to 40x40 (567d340)
- menu: flatten submenu slot query (ddac76e)
- menu: incorrect elevation (427d33d)
- testing: token tests not working in Safari Chrome (618a505)
- tokens: add override files for all tokens (2623c1d)
Miscellaneous Chores
v1.0.0-pre.4
1.0.0-pre.4 (2023-03-08)
⚠ BREAKING CHANGES
- icon,iconbutton,list: use material symbols for icons
Features
Bug Fixes
- all: update non-menu components to v0.161 (828d7ae)
- icon,iconbutton,list: use material symbols for icons (232982e)
- icon: mark icon and icon button as beta (ff3d379)
- text-field: apply suffix-color and icon size tokens (a969fda)
- text-field: remove indicator expansion animation (d755d10)
- textfield: outlined label jumping horizontally with leading icon (c98f5e0)
- update license year and holder (510a867), closes #3073
Miscellaneous Chores
v1.0.0-pre.3
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
andsupporting-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
andsupporting-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
- update next version (77b4864)
v1.0.0-pre.2
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
- update next version (a539286)
Code Refactoring
v1.0.0-pre.1
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
- update next version (ea33cb8)