Releases: material-components/material-web
Releases Β· material-components/material-web
v1.0.0-pre.13
1.0.0-pre.13 (2023-07-10)
β BREAKING CHANGES
- segmentedbutton: remove with-* token prefixes
- button: remove with-* prefix from tokens
- dialog: remove with-icon prefix from with-icon-icon-color and with-icon-icon-size
- textfield: remove autocomplete-specific features for now
Features
- field: add supporting/error text logic (b4b3e67)
Bug Fixes
- button: remove with-* prefix from tokens (25be982)
- dialog: fire a change event when using arrow keys. (65d31a6)
- dialog: fix two close icons in demo (dc0ac97)
- dialog: remove with-icon prefix from with-icon-icon-color and with-icon-icon-size (1893e08)
- dialog: use dialog-action and dialog-focus in demo (332836c)
- segmentedbutton: remove with-* token prefixes (cc786d1)
- supported tokens were not being verified (2922914)
- tab: add closure conformance types (d80b7b5)
- textfield: make label strict string type (6762b00)
- textfield: remove autocomplete-specific features for now (8fee0a7)
Miscellaneous Chores
- update next version (b1077d8)
v1.0.0-pre.12
1.0.0-pre.12 (2023-06-28)
β BREAKING CHANGES
- button: remove unnecessary property preventClickDefault
- slider: change compound attribute names to kebab-case
- iconbutton: rename attribute flipiconinrtl to flip-icon-in-rtl
- menu: rename typeaheadBufferDelay and list-tab-index for consistency
- select: change compound attribute names to kebab-case
- dialog: change compound attribute names to kebab-case
- list: change compound attribute names to kebab-case
- field: change compound attribute names to kebab-case
- button: normalize compound properties to have kebab-cased attributes
- textfield: compound properties should have kebab-case attributes
- tabs: change compound attribute names to kebab case
- switch: change showonlyselectedicon to show-only-selected-icon
Features
- chips: add high contrast support (950cd4f)
- dialog: redispatch the native cancel event (826262f), closes #1583
- fab: add label only mode (0fd4f45)
- fab: set aria hidden on the icon slot if element has aria-label or label (fb4d9c8)
- list,menu: expose activate next and prev items (30937ac)
Bug Fixes
- button: normalize compound properties to have kebab-cased attributes (1a6fc29)
- button: remove unnecessary property preventClickDefault (9244524)
- chips: incorrect input leading icon color (b13271b)
- chips: incorrect rtl up/down behavior and add unit tests (2cd235d)
- dialog: change compound attribute names to kebab-case (82d17ca)
- dialog: focus before animation to fix a11y (61e5e87)
- field: change compound attribute names to kebab-case (2937aef)
- iconbutton: rename attribute flipiconinrtl to flip-icon-in-rtl (a5e4354)
- labs: compound properties should have kebab-case attributes (28f897b)
- list: change compound attribute names to kebab-case (0e3fe72)
- menu: close menu when escape is pressed on list root (d5035db)
- menu: rename typeaheadBufferDelay and list-tab-index for consistency (3f22ed0)
- repo: remove "." from workspace config (d436c8f)
- select: change compound attribute names to kebab-case (224a73b)
- select: fixed menu select not 100% window width (a968759)
- slider: change compound attribute names to kebab-case (83d9ede)
- switch: change showonlyselectedicon to show-only-selected-icon (a8e489e)
- tabs: change compound attribute names to kebab case (a9d030a)
- textfield: compound properties should have kebab-case attributes (34dfcb4)
- wireit sass watch memory leak (8b1507e)
Miscellaneous Chores
v1.0.0-pre.11
1.0.0-pre.11 (2023-06-16)
Features
- chips: add basic chip set component (919a9d3)
- chips: add multi-action chip navigation (2444734)
- chips: add scrolling chip set example (938bf38)
- chips: add single select filter chip set (f8bb2f1)
- list: expose list item role (2be1b78)
Bug Fixes
- chips: add aria grid/listbox models to chip set (fcdb126)
- chips: misaligned trailing action ripple (9c0336a)
- chips: remove selected event from input chips (a33fcbb)
- slider: default values to between min and max to better match native input (2ef3606)
- slider: fix slider focus ring inheritance weakness (e44c903)
- testing: use sys-color-* theming for dark mode tests (b1172d8)
Miscellaneous Chores
- update next version (3d7612e)
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,
forattribute, or with.attach() - all: Remove any -focus-state-layer- custom properties (they don't do anything)
- ripple: Set
border-radius: 50%and removeunboundedattribute
Features
- add labs and internal folders for non-client code (4b0c98c)
- button: adds
typeproperty 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
withTickMarkstotickmarksandwithLabeltolabeled(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-radiusinstead of--md-ripple-shape - focus: inward focus rings must be specified with
inwardrather 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
forreflects 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