@angular/cdk 18.2.0 → 18.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ function default_1() {
29
29
  // In order to align the CDK version with other Angular dependencies that are setup by
30
30
  // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
31
31
  // dependencies in new CLI projects.
32
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~18.2.0`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~18.2.2`);
33
33
  // Add a task to run the package manager. This is necessary because we updated the
34
34
  // workspace "package.json" file and we want lock files to reflect the new version range.
35
35
  context.addTask(new tasks_1.NodePackageInstallTask());
@@ -29,7 +29,7 @@ function default_1() {
29
29
  // In order to align the CDK version with other Angular dependencies that are setup by
30
30
  // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
31
31
  // dependencies in new CLI projects.
32
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~18.2.0`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~18.2.2`);
33
33
  // Add a task to run the package manager. This is necessary because we updated the
34
34
  // workspace "package.json" file and we want lock files to reflect the new version range.
35
35
  context.addTask(new tasks_1.NodePackageInstallTask());
package/tree/index.d.ts CHANGED
@@ -212,7 +212,7 @@ export declare class CdkTree<T, K = T> implements AfterContentChecked, AfterCont
212
212
  /** The key manager for this tree. Handles focus and activation based on user keyboard input. */
213
213
  _keyManager: TreeKeyManagerStrategy<CdkTreeNode<T, K>>;
214
214
  private _viewInit;
215
- constructor(_differs: IterableDiffers, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality);
215
+ constructor(_differs: IterableDiffers, _changeDetectorRef: ChangeDetectorRef);
216
216
  ngAfterContentInit(): void;
217
217
  ngAfterContentChecked(): void;
218
218
  ngOnDestroy(): void;
@@ -425,6 +425,7 @@ export declare class CdkTreeNode<T, K = T> implements OnDestroy, OnInit, TreeKey
425
425
  /** Emits when the node's data has changed. */
426
426
  readonly _dataChanges: Subject<void>;
427
427
  private _inputIsExpandable;
428
+ private _inputIsExpanded;
428
429
  /**
429
430
  * Flag used to determine whether or not we should be focusing the actual element based on
430
431
  * some user interaction (click or focus). On click, we don't forcibly focus the element
@@ -475,6 +476,8 @@ export declare class CdkTreeNode<T, K = T> implements OnDestroy, OnInit, TreeKey
475
476
  collapse(): void;
476
477
  /** Expands this data node. Implemented for TreeKeyManagerItem. */
477
478
  expand(): void;
479
+ /** Makes the node focusable. Implemented for TreeKeyManagerItem. */
480
+ makeFocusable(): void;
478
481
  _focusItem(): void;
479
482
  _setActiveItem(): void;
480
483
  _emitExpansionState(expanded: boolean): void;