npm @angular/cdk 22.0.0

3 hours ago

aria

Commit Description
feat - d91f46b4c accordion: introduce accordion harness (#33046)
feat - e3d84f2e0 combobox: add test harnesses (#33194)
feat - 0ca47b4a0 combobox: migrate simple-combobox directly into primary entrypoints (#33206)
feat - 6ec07bc0c grid: add test harnesses (#33081)
feat - 1885d3534 listbox: introduce listbox harness (#33064)
feat - 75fae5275 menu: introduce menu harness (#33067)
feat - c25e6252e tabs: add test harnesses (#33079)
feat - a49508bac toolbar: add test harnesses (#33068)
feat - 30f223972 tree: add test harnesses (#33066)
fix - 91a4932f6 combobox: increases autocomplete demo's placeholder text c… (#33084)
fix - 218a77cf9 combobox: separates placeholder prefixes (#33163)
fix - ce1d9a728 menu: allow menu item role override (#33264)
fix - 196b7064d menu: defer menu item focus in case menus in cdk overlay (#33258)
fix - 6443b79f9 menu: unable to set softDisabled (#33265)

cdk

Commit Description
feat - 1a5d5d101 dialog: add the ability to pass bindings
feat - 24115c021 portal: add directives support to ComponentPortal (#33142)
fix - 7426334c5 a11y: breaking changes for v22
fix - 81c6bbd89 drag-drop: breaking changes for v22
fix - ffb23f6f8 menu: breaking changes for v22
fix - 4c298970e scrolling: make it easier to provide custom scrollable (#33269)
fix - aa42b7798 table: expose rendered rows (#33304)

material

Commit Description
feat - 867ba993b bottom-sheet: add the ability to pass bindings
feat - b4a89d599 button: Add support for showing a progress indicator inside the button (#32698)
feat - a46b0a1d4 core: add mixins for Material Design typography (#32959)
feat - bf3596b53 dialog: add the ability to pass bindings
feat - 85c16fe4b tabs: add support for separate tab animation durations (#32869)
fix - 440cb1606 autocomplete: remove modal workaround
fix - 21f8bbbf2 badge: allow badge defaults to be configured (#33312)
fix - 07c2d002d core: address sass compiler warnings (#33040)
fix - add8f16c0 list: breaking changes for v22
fix - 31904510b menu: close menu when cleared from trigger (#33306)
fix - 9d73c98b5 menu: missing panelClass getter (#33191)
fix - 348c3c89d select: remove modal workaround
fix - f1a435508 sidenav: handle mixed sidenav and drawer (#33274)
fix - c31619852 sidenav: mark content as inert while open
fix - a4d92c5fc sidenav: more robust reset logic for inert attribute (#33257)
fix - c2f1c5b03 sidenav: query not resolving
fix - 75718e4fb sort: breaking changes for v22
fix - 6ed6218c4 tabs: incorrect animation variable name (#32941)

google-maps

Commit Description
feat - e44ff8318 Add support for the gmp-click event (#33147)
fix - b8201edee deprecate heatmap layer (#33208)

multiple

Commit Description
fix - 6cb6b5ee1 make more public APIs readonly (#33071)
fix - a88904279 prevent form submissions in aria directives (#33297)
fix - bb4f8ec50 re-export collection util (#33171)
fix - 84f2afd24 remove developer preview tag from aria (#33232)
fix - ce4c2c0a1 remove empty constructors (#33048)
fix - 936f1148b use eager change detection
refactor - 94a50a25f rename values to value for signal forms compatibility (#33012)

Breaking Changes

material

    • MatListOption.checkboxPosition has been removed. use togglePosition instead.
    • MatListOptionCheckboxPosition has been renamed to MatListOptionTogglePosition.
    • ArrowViewState has been removed.
    • ArrowViewStateTransition has been removed.

cdk

    • CDK_DESCRIBEDBY_HOST_ATTRIBUTE has been removed.
    • CDK_DESCRIBEDBY_ID_PREFIX has been removed.
    • The injector parameter of the ConfigurableFocusTrap and FocusTrap constructors is now required.
    • The boolean parameter of ConfigurableFocusTrapFactory.create has been replaced with a config object.
    • MESSAGES_CONTAINER_ID has been removed.
    • The event parameter of DropListRef.drop is now required.
    • ContextMenuTracker has been renamed to MenuTracker.

aria

  • The legacy combobox and autocomplete implementations have been removed. Use the new standalone combobox instead.

    • feat(aria/combobox): promote simple-combobox to stable un-prefixed combobox
    • Relocates public, private, and example directories to clean combobox entry points.
    • Renames internal layout symbols, selectors, and uppercase tokens (SIMPLE_COMBOBOX_POPUP -> COMBOBOX_POPUP).
    • Establishes full documentation extraction parity with the json_api Bazel rule target.
    • Standardizes the accompanying toolbar component showcase into the clean aria-toolbar path.
    • Re-routes dev-app navigation links and migrates public API golden records.
  • SimpleCombobox has been promoted to Combobox. All simple-combobox prefixed symbols, selectors, and tokens have been renamed to use the combobox prefix.

    • refactor(aria/combobox): relocate and restructure autocomplete and toolbar examples
      Relocate the autocomplete examples to src/components-examples/aria/autocomplete and toolbar examples to src/components-examples/aria/toolbar.
    • Restore naming continuity with the historical codebase by stripping redundant prefixes from example filenames and component selectors.
    • Sync dev-app preview routing layout paths and strict Bazel target dependency links.

multiple

    • A bunch of constructors that with rest arguments have been removed. If you were extending Material/CDK components, you may have to update your super calls accordingly.
  • Renames the values input/model to value in Combobox, Listbox, Tree, Menu, Toolbar, and Select. Users must update their templates to use the value property instead of values.

    • refactor(multiple): update api goldens

Don't miss a new cdk release

NewReleases is sending notifications on new releases.