14.0.0 "cotton-peanut" (2022-06-02)
Breaking Changes
material
MatChipInputEvent.chipInput
is now a required property.- Previously the
mixinErrorState
mixin function defined
a class member forstateChanges
. This is no longer the case, and consumers
need to provide thestateChanges
class member themselves. -
mat-list-item-avatar
CSS class has been renamed tomat-list-item-with-avatar
.MatSelectionListChange.option
has been removed. UseMatSelectionListChange.options
instead.MatSelectionList.tabIndex
input has been removed.tabIndex
parameter of theMatSelectionList
constructor has been removed._focusMonitor
parameter of theMatSelectionList
constructor is now required.getHarnessLoaderForContent
has been removed from the various test item harnesses. UsegetChildLoader(MatListItemSection.CONTENT)
instead.
-
CdkStepper._orientation
has been removed. UseCdkStepper.orientation
instead.- The
_document
parameter from theCdkStepper
constructor has been removed. - The
_document
parameter from theMatStepper
constructor has been removed. MatVerticalStepper
has been removed. UseMatStepper
instead.MatHorizontalStepper
has been removed. UseMatStepper
instead.
cdk
- The deprecated
angular/cdk/testing/protractor
entry-point has been removed.
Deprecations
material
mat.define-dark-theme
no longer accepts$primary
,$accent
and$warn
.
Pass a single config map instead.mat.define-light-theme
no longer accepts$primary
,$accent
and$warn
.
Pass a single config map instead.- Custom Material themes should no longer access
primary
,accent
,warn
,
is-dark
,foreground
andbackground
from the theme map, but instead use the actualcolor
configuration (mat.get-color-config($theme)
). - Passing a color configuration directly to a
-theme
mixin
is not supported. Pass the theme container object instead or use the dedicated
-color
mixins.
material-experimental
Commit | Description |
---|---|
mdc-dialog: switch to new theming api (#23620) | |
mdc-dialog: switch to new theming api (#23620) (#24521) | |
mdc-list: add support for marking the act… (#24433) | |
mdc-tabs: default to stretched tabs (#23406) | |
mdc-core: avoid style conflicts between MDC list and MDC option | |
mdc-dialog: expose dialog-legacy-padding mixin
| |
mdc-dialog: implement delayFocusTrap option (#24727) | |
mdc-dialog: reduce amount of generated CSS | |
mdc-form-field: incorrect alignment with border-box alignment (#24222) | |
mdc-list: avoid style conflicts with MDC list | |
mdc-tabs: CSS applied to wrong element when preserveContent is enabled (#24346) |
cdk-experimental
Commit | Description |
---|---|
combobox: glue together combobox and listbox with DI instead of a panel directive (#24637) | |
menu: allow configuration of typeahead and menu position (#24600) | |
menu: Use DI instead of CdkMenuPanel to connect menus (#24558) | |
menu: API, code, and docs cleanup pass (#24745) | |
menu: close standalone menu when focus leaves | |
menu: don't steal focus on hover | |
menu: fix issue where left/right on standalone menu closes it (#24696) | |
menu: move shared menu logic to base class (#24645) | |
menu: refocus trigger after closeAll | |
menu: simplify radio and checkbox item APIs (#24720) | |
menu: stop inline menu triggers capturing focus |
google-maps
Commit | Description |
---|---|
error when minified through closure (#24897) |
material
Commit | Description |
---|---|
autocomplete: add clear method to test harness (#24752) | |
autocomplete: add the ability to auto-select the active option while navigating (#20699) | |
autocomplete: test harness should throw when options are requested but panel is closed (#24494) | |
chips: update chip-list describedby to match input (#24292) | |
dialog: add support for explicit injector (#24580) | |
dialog: add the ability to control the animation duration (#13466) | |
form-field: add color to default options (#24438) (#24440) | |
icon: add default options (#23638) | |
icon: allow multiple classes in setDefaultFontSetClass (#10484) | |
menu: allow for menu to be conditionally removed from trigger (#24437) | |
paginator: Add isNextPageEnabled and isPreviousPageEnabled methods to MatPaginatorHarness (#24784)
| |
paginator: add input for configuring the underlying select (#13705) | |
progress-spinner: add color to default options (#24356) | |
schematics: add option not to include animations module in ng-add (#22559) | |
select: allow user-defined aria-describedby (#24644) | |
slide-toggle: Add disabled predicate to MatSlideToggleHarness (#24761)
| |
sort: default arrow position in MatSortDefaultOptions (#23609) | |
stepper: add input for controlling the animation duration (#17133) | |
stepper: add the ability to control the position of the header in a horizontal stepper (#15509) | |
tabs: add the ability to keep content inside the DOM while off-screen (#20393) | |
tabs: add the ability to keep content inside the DOM while off-screen (#24299) | |
tabs: Throw error in MDC tabs if [tabPanel] input is not provided (#24517) | |
autocomplete: always emit closed event (#24642) | |
card: use more specific selector for divider override (#23531) | |
card: use more specific selector for divider override (#23531) | |
chips: allow for role to be overwritten on chip list and chip (#15794) | |
chips: Make MatChipInputEvent.chipInput required. (#23692)
| |
core: noop animations not applying to selector lists (#24904) | |
core: resolve memory leak by removing event listeners from the ripple element (#24663) | |
core: ripples not being clipped on safari in shadow dom (#24029) | |
core: ripples persisting when container is removed from DOM while fading-in (#24482) | |
datepicker: expose datepicker-date-range-colors mixin
| |
datepicker: fix failing unit test in multiyear view (#24418) | |
datepicker: update active date on focusing a cell (#24384) | |
dialog: provide defaults for dialog animation (#24591) | |
dialog: Use align as @Input() in MatDialogActions (#24328)
| |
dialog: use quoted keys in the animation state object (#24594) | |
expansion: picking up lazy content from child component (#14477) | |
icon: clip overflowing icon elements (#12429) | |
input: preserve native placeholder on non-legacy appearances (#20936) | |
menu: account for menu padding different from the default (#16169) | |
menu: use narrower value for aria-haspopup on trigger element (#15219) | |
schematics: remove usages of deprecated defaultProject option (#24641) | |
schematics: support standalone components in ng-add (#24931) | |
schematics: use workingDirectory smart provider in path option
| |
table: accessibility improvements on table examples | |
tabs: allow coercing of booleans for all inputs (#24377) | |
core: deprecate legacy theming API (#24835) | |
core: no longer define stateChanges in mixinErrorState (#22875)
| |
list: remove deprecated APIs for version 13 (#23327) | |
stepper: remove deprecated APIs for version 13 (#23328) |
cdk
Commit | Description |
---|---|
a11y: add input to control the duration of the aria live directive (#15275) | |
a11y: HighContrastModeDetector need not support IE11 (#24462)
| |
dialog: move experimental CDK dialog into stable (#24804) | |
drag-drop: adding method to set drag position (#24769) | |
drag-drop: expose native event objects in custom events (#17077) | |
menu: move experimental CDK menu into stable (#24826) | |
overlay: add start and end positions to GlobalPositionStrategy (#12007) | |
portal: allow specifying injector for template portal (#24554) | |
table: allow text column to be centered (#24133) | |
testing: add methods getOptionalHarness and hasHarness (#24355)
| |
a11y: ensure that aria describer ID is unique (#24982) | |
dialog: add container structural styles (#24905) | |
menu: allow scrolling while menu is open | |
menu: update docs to reflect current implementation and add (#24884) | |
overlay: disable backdrop animation when noop animations are enabled (#24687) | |
schematics: remove instanceof check since it was always false when checking if a directory exists (#24999) | |
schematics: use workingDirectory smart provider in path option
| |
a11y: avoid triggering change detection if there are no subscribers to stream (#15077) | |
testing: remove deprecated protractor harness environment (#24304) |
multiple
Commit | Description |
---|---|
Add a harness filter option for checked checkboxes, radios, and slide-toggles (#24625) | |
enable easy extension of harnesses (#24878) |
ripple
Commit | Description |
---|---|
not fading out on touch devices (#12488) |
Special Thanks
Alan Agius, Amy Sorto, Andrew Seguin, Arthur Ming, Artur Androsovych, Diego Bonura, Jean-Philippe, Jeremy Elbourn, Jeri Peier, Joey Perrott, Kristiyan Kostadinov, Mario Härtwig, Martin Forstner, Miles Malerba, Paul Gschwendtner, Richie Foreman, Robin (Robert) Thomas, Ruslan Lekhman, Victor Vieira, Wagner Maciel, Zach Arend, Zack Elliott, dobrevad, peinearydevelopment, renovate[bot] and tomicarsk6