Skip to content

20.0.0

Compare
Choose a tag to compare
@crisbeto crisbeto released this 28 May 15:59
· 156 commits to main since this release

cdk

Commit Description
feat - 06821d85a dialog: add closePredicate option
feat - cf619601a drag-drop: introduce resetToBoundary (#30436)
fix - 77c8534ff accordion: resolve changed after checked error
fix - 1167d0638 collections: breaking changes for v20
fix - 79e887219 dialog: breaking changes for v20
fix - a2ab84da1 dialog: provide proper shaped Directionality (#30898)
fix - b3e516f2d drag-drop: breaking changes for v20
fix - 69eedd75f drag-drop: incorrect type DragConstrainPosition (#30510)
fix - f9973ee23 overlay: use MutationObserver to detach overlay (#30703)
fix - 11599f808 portal: remove deprecated symbols (#30584)
fix - 87501e866 schematics: support project index file discovery for object-form and default (#30967)
fix - 8078efc21 table: breaking changes for v20
fix - 0f48b04dd table: move out unused style scheduler (#30963)
fix - 6ffe9c748 table: remove private symbols from public API (#30956)
perf - 08f4acfef overlay: add tree-shakeable alternatives for overlay APIs (#30904)

material

Commit Description
feat - fb81ab4f2 button: add support for tonal button (#30638)
feat - e79f60558 button: allow appearance to be set dynamically
feat - 663585a1c card: support filled variant (#29868)
feat - 82f0fa6fa core: handle prefers-reduced-motion automatically (#30796)
feat - 3daa36030 core: introduce custom token for controlling animations (#30749)
feat - 764a1ccd1 dialog: add closePredicate option
fix - 097f49d90 autocomplete: allow overlay backdrop by setting hasBackdrop option (#30631)
fix - 7d360ac77 button-toggle: changed after checked error when updating tabindex (#31172)
fix - 2c7199c02 button: align harness with new terminology
fix - 6a5943d8b button: combine MatButton and MatAnchor (#30492)
fix - 3aecb3521 button: tonal touch target token transgression (#30688)
fix - 77d6b69e7 checkbox: breaking changes for v20
fix - 907815dc5 checkbox: hardcode token renames (#30752)
fix - f01ac6e9c checkbox: resolve change after checked error
fix - aba4c4437 chips: chip input not showing placeholder (#30664)
fix - 33795a1a1 chips: implement disabledInteractive in chip input (#30665)
fix - 92bcc67c2 core: include density tokens in system theme (#30845)
fix - 5bc01c398 datepicker: resolve change after checked errors
fix - 227e83d24 dialog: breaking changes for v20
fix - a5aade2df form-field: preserve aria-describedby set externally across all form controls (#30699)
fix - ec538b598 form-field: use ResizeObserver for label offset calculation (#30702)
fix - d120f973f list: resolve changed after checked error
fix - fd162d201 schematics: add schematic to rename tokens (#31051)
fix - db090cac3 select: breaking changes for v20
fix - 688c430fe select: close panel on detach output event (#30634)
fix - 12f96e229 select: resolve change after checked errors
fix - 404868707 sidenav: resolve changed after checked error
fix - c6ad44c68 slide-toggle: breaking changes for v20
fix - d3a8c5b89 slide-toggle: opacity tokens not being used (#30946)
fix - 2d86ad441 slider: fix clobbered token for hover/focus/pressed (#30754)
fix - 0e985f2c6 slider: handle null values in slider input (#30621)
fix - 8b033742b snack-bar: change politeness level (#30851)
fix - 40d0ab4fc snack-bar: rename snackbar token prefix (#30750)
fix - 0cf6ba107 stepper: done icon tokens not emitted in M3 (#30996)
fix - e1f97f920 stepper: resolve changed after checked errors
fix - c63b1fe7b tabs: flicker when animationDuration is set to zero (#30966)
fix - 922c678c0 tabs: not emitting token in M3 (#31136)
fix - 1a800decc tabs: resolve change after checked errors
perf - 6c9678e69 form-field: set notch outline variable only on relevant element (#30955)
perf - 10a6ea493 form-field: split DOM accesses into read and write (#31086)

youtube-player

Commit Description
fix - 18ddea330 use safevalues (#30773)

cdk-experimental

Commit Description
feat - e456c751c listbox: add cdk-active class (#30932)
feat - 6ac4c1ae2 listbox: readonly mode (#30803)
feat - 96fa9fc55 popover-edit: Support skipping over annotated rows when the user moves focus up/down. (#30916)
feat - 025010b64 tabs: add cdk-active class and update example styles (#30950)
feat - 9a94bb76a tabs: support initial tab selection and add unit tests (#31023)
feat - 1833aa32e ui-patterns: add expansion behavior and refactor tabs (#30962)
feat - fc4699744 ui-patterns: listbox ui pattern (#30495)
feat - 9caed2a8a ui-patterns: tabs ui pattern (#30568)
fix - e0446ecfc listbox: change shift+nav behavior (#30854)
fix - 184ceee3a listbox: ignore spaces during typeahead (#30766)
fix - 44e9ccbf5 listbox: initial listbox focus state (#30764)
fix - a7df65f3e listbox: use meta as alternative to ctrl (#30852)
fix - 149fe6129 popover-edit: use MutationObserver to detect table rows (#30713)
fix - 16493ecab scrolling: Fix ExpressionChangedAfterItWasCheckedError (#31076)
fix - 0e391700c tabs: handle space and enter events (#30889)
fix - 2e34b20cb ui-patterns: add missing event handlers (#30786)
fix - 4bf3591c7 ui-patterns: add modifier checks for regexps (#30738)
fix - ae8f9dd28 ui-patterns: fix lint and build config (#30877)
fix - 10890983c ui-patterns: listbox pointer event handler (#30843)
fix - 7343657f5 ui-patterns: small fixes for internal compatibi… (#30625)

material-angular-io

Commit Description
fix - 3a1a0b368 streamline directive and component metadata handling in dgeni (#30661)

multiple

Commit Description
fix - e1cf2844f avoid repeating selectors in m3 themes (#30645)
fix - 3465f9271 ensure mat-option parents are the offsetParent (#30977)
fix - cb3b0a87a ensure re-exported module symbols can be imported (#30667)
fix - 590971359 remove backwards-compatibility code (#30747)
fix - cda5c8e68 remove remaining references to ComponentFactoryResolver (#30569)
fix - 5229fe0a0 rename hardcoded tokens that were renamed (#30807)
fix - 9bf4be9e2 rename token prefixes to match components (#30802)
fix - 32353fb3a resolve directive host binding issues (#30606)
fix - 48894ad55 use DI token for tag name (#30892)

Breaking Changes

material

    • ButtonVariant which is returned by MatButtonHarness.getVariant no longer includes the appearance of the button. Use MatButtonHarness.getAppearance instead.
  • tabindex values set as [attr.tabindex] set on a Material button might not work as expected. Use tabindex for static values, or [tabindex]/[tabIndex] for dynamic ones.
    • MAT_CHECKBOX_REQUIRED_VALIDATOR has been removed.
    • MAT_CHECKBOX_VALUE_ACCESSOR has been removed.
    • MatCheckboxRequiredValidator has been removed.
    • _MatCheckboxRequiredValidatorModule has been removed.
    • MAT_DIALOG_SCROLL_STRATEGY_PROVIDER has been removed.
    • MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY has been removed.
    • matSelectAnimations.transformPanelWrap has been removed.
    • MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR has been removed.
    • MAT_SLIDE_TOGGLE_VALUE_ACCESSOR has been removed.
    • MatSlideToggleRequiredValidator has been removed.
    • _MatSlideToggleRequiredValidatorModule has been removed.

cdk

    • SelectionModel.clear now returns a boolean.
    • SelectionModel.deselect now returns a boolean.
    • SelectionModel.select now returns a boolean.
    • SelectionModel.setSelection now returns a boolean.
    • SelectionModel.toggle now returns a boolean.
    • DIALOG_SCROLL_STRATEGY_PROVIDER has been removed.
    • DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY has been removed.
    • DragDropRegistry is no longer generic.
    • DragDropRegistry.scroll has been removed. Use the scrolled method instead.
    • DomPortalHost has been removed. Use DomPortalOutlet instead.
    • PortalInjector has been removed. Use Injector.create instead.
    • PortalHost has been removed. Use PortalOutlet instead.
    • BasePortalHost has been removed. Use BasePortalOutlet instead.
    • Constructor symbol has been removed.
    • CanStickCtor symbol has been removed.
    • mixinHasStickyInput has been removed. Implement the CanStick interface instead.
    • CanStick has been removed.
    • CDK_TABLE_TEMPLATE has been removed.
    • StickyDirection has been removed.
    • StickyStyler has been removed.

multiple

    • DialogConfig.componentFactoryResolver has been removed.
    • The constructor of DomPortalOutlet has changed.
    • ComponentPortal.componentFactoryResolver has been removed.
    • The constructor signature of ComponentPortal has changed.
    • MatDialogConfig.componentFactoryResolver has been removed.