Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular/cdk

Package Overview
Dependencies
Maintainers
2
Versions
512
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/cdk - npm Package Versions

1
52

19.0.0-next.1

Diff

Changelog

Source

19.0.0-next.1 "plastic-moose" (2024-08-22)

Breaking Changes

multiple

    • In order for Material to be compatible with recent changes in Sass and upcoming changes in the CSS standard, tokens are now emitted in-place, rather the being hoisted to the top of the selector. As a result, some token overrides might not apply anymore. This is relevant primarily for the cases like @include mat.button-theme($theme); --mat-button-color: red;. It can be resolved by wrapping the overrides with & {}, for example @include mat.button-theme($theme); & { --mat-button-color: red; }.

material

| Commit | Type | Description | | -- | -- | -- | | 1abb484aa7 | feat | input: add the ability to interact with disabled inputs (#29574) | | 7cf8c6c464 | fix | datepicker: calendar font tokens not being picked up (#29610) | | 4f2bc4da78 | fix | icon: update error message for missing HttpClient (#29589) | | adf413670f | fix | menu: inconsistent layout of submenu icon (#29603) | | 357f6f27a5 | fix | tabs: switch pagination to not use native buttons (#29605) |

cdk

| Commit | Type | Description | | -- | -- | -- | | 04ce4d2648 | fix | drag-drop: preview positioned incorrectly when RTL is set on the body (#29606) |

multiple

| Commit | Type | Description | | -- | -- | -- | | 01711b1804 | fix | account for mixed declarations in latest Sass version (#29596) | | cb1450fc76 | fix | change fallbacks to use m3 (#29528) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.1"></a>

google-wombot
published 18.2.1 •

Changelog

Source

18.2.1 "plastic-panda" (2024-08-22)

cdk

| Commit | Type | Description | | -- | -- | -- | | 3a2d13e2e4 | fix | drag-drop: preview positioned incorrectly when RTL is set on the body (#29606) |

material

| Commit | Type | Description | | -- | -- | -- | | bad94fda58 | fix | datepicker: calendar font tokens not being picked up (#29610) (#29615) | | c4c62b8549 | fix | icon: update error message for missing HttpClient (#29589) | | b2a32e9898 | fix | menu: inconsistent layout of submenu icon (#29603) | | 5f0c89030e | fix | tabs: switch pagination to not use native buttons (#29605) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.0.0-next.0"></a>

google-wombot
published 19.0.0-next.0 •

Changelog

Source

19.0.0-next.0 "yttrium-igloo" (2024-08-14)

cdk

| Commit | Type | Description | | -- | -- | -- | | bd84c2a67 | fix | tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.2.0"></a>

google-wombot
published 18.2.0 •

Changelog

Source

18.2.0 "technetium-tapas" (2024-08-14)

Deprecations

material

  • Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.

    • BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
    • CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
    • MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
    • MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.

    Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are not expandable by default. Provide isExpandable to override default behavior.

  • Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.

    • MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
    • MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
    • MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
    • LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.

    Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.

    Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy

  • disabled renamed to isDisabled.

    • CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled

material

| Commit | Type | Description | | -- | -- | -- | | ddc307e28 | feat | button-toggle: allow disabled buttons to be interactive (#29550) | | 841760101 | feat | checkbox: add the ability to interact with disabled checkboxes (#29474) | | 0af3b6175 | feat | radio: add the ability to interact with disabled radio buttons (#29490) | | 4292e1b3a | feat | slide-toggle: add the ability to interact with disabled toggle (#29502) | | a018fb0ee | feat | tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#29467) | | aaf0d5156 | fix | checkbox: account for disabledInteractive in harness | | d22a24d66 | fix | list: checkmark not visible in high contrast mode (#29546) | | a259b016b | fix | radio: account for disabledInteractive in harness | | fd47a0e60 | fix | radio: avoid error if destroyed quickly (#29507) | | 08d2e3e69 | fix | slide-toggle: account for disabledInteractive in harness | | fd416a30e | fix | tooltip: remove aria-describedby when disabled (#29520) | | ff36c80f9 | fix | tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#29062) | | 1f992d06c | fix | tree: aria-expanded attribute should not appear in the leaf node (#29273) |

cdk

| Commit | Type | Description | | -- | -- | -- | | b2c051d2c | feat | drag-drop: add input to specify dragged item scale (#29392) |

multiple

| Commit | Type | Description | | -- | -- | -- | | db5b8dc29 | feat | fallback to system level variables (#29480) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.5"></a>

google-wombot
published 18.1.5 •

Changelog

Source

18.1.5 "ruthenium-roulette" (2024-08-14)

material

| Commit | Type | Description | | -- | -- | -- | | b2e728db9 | fix | form-field: update state if control changes (#29573) | | 1c438b312 | fix | schematics: Generate more accurate tonal palettes for M3 schematic (#29536) | | 838d1a45a | fix | tabs: allow for tablist aria-label and aria-labelledby to be set (#29562) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.4"></a>

google-wombot
published 18.2.0-rc.0 •

google-wombot
published 18.1.4 •

Changelog

Source

18.1.4 "pewter-polka" (2024-08-07)

material

| Commit | Type | Description | | -- | -- | -- | | 2b5ae8c0ed | fix | chips: missing tokens in M3 (#29531) | | b98432839e | fix | sidenav: disable focus trap while closed (#29548) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.3"></a>

google-wombot
published 18.2.0-next.3 •

google-wombot
published 18.1.3 •

Changelog

Source

18.1.3 "plastic-beach" (2024-07-31)

cdk

| Commit | Type | Description | | -- | -- | -- | | 2c76917779 | fix | coercion: Return undefined when the fallback value is undefined (#29491) |

material

| Commit | Type | Description | | -- | -- | -- | | caf4b61ead | fix | chips: remove tab-index attribute from mat-chip host (#29436) | | 913267c0b1 | fix | core: custom system-level variable prefix not used in some mixins (#29513) | | 70048ef226 | fix | dialog: invalid font-family declaration (#29516) | | d7d82e1455 | fix | slide-toggle: don't trigger active state for entire container (#29514) | | d237e7d2c7 | fix | slide-toggle: remove divs from button (#29485) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.1.2"></a>

google-wombot
published 18.2.0-next.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc