@angular/cdk 19.1.3 → 19.2.0-next.1

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.
Files changed (51) hide show
  1. package/a11y/index.d.ts +4 -2
  2. package/dialog/index.d.ts +1 -5
  3. package/fesm2022/a11y.mjs +43 -43
  4. package/fesm2022/a11y.mjs.map +1 -1
  5. package/fesm2022/accordion.mjs +10 -10
  6. package/fesm2022/accordion.mjs.map +1 -1
  7. package/fesm2022/bidi.mjs +10 -10
  8. package/fesm2022/bidi.mjs.map +1 -1
  9. package/fesm2022/cdk.mjs +1 -1
  10. package/fesm2022/cdk.mjs.map +1 -1
  11. package/fesm2022/clipboard.mjs +10 -10
  12. package/fesm2022/clipboard.mjs.map +1 -1
  13. package/fesm2022/collections.mjs +3 -3
  14. package/fesm2022/collections.mjs.map +1 -1
  15. package/fesm2022/dialog.mjs +12 -16
  16. package/fesm2022/dialog.mjs.map +1 -1
  17. package/fesm2022/drag-drop.mjs +31 -31
  18. package/fesm2022/drag-drop.mjs.map +1 -1
  19. package/fesm2022/layout.mjs +10 -10
  20. package/fesm2022/layout.mjs.map +1 -1
  21. package/fesm2022/listbox.mjs +10 -10
  22. package/fesm2022/listbox.mjs.map +1 -1
  23. package/fesm2022/menu.mjs +49 -49
  24. package/fesm2022/menu.mjs.map +1 -1
  25. package/fesm2022/observers/private.mjs +3 -3
  26. package/fesm2022/observers/private.mjs.map +1 -1
  27. package/fesm2022/observers.mjs +13 -13
  28. package/fesm2022/observers.mjs.map +1 -1
  29. package/fesm2022/overlay.mjs +37 -37
  30. package/fesm2022/overlay.mjs.map +1 -1
  31. package/fesm2022/platform.mjs +7 -7
  32. package/fesm2022/platform.mjs.map +1 -1
  33. package/fesm2022/portal.mjs +16 -16
  34. package/fesm2022/portal.mjs.map +1 -1
  35. package/fesm2022/private.mjs +6 -6
  36. package/fesm2022/private.mjs.map +1 -1
  37. package/fesm2022/scrolling.mjs +35 -35
  38. package/fesm2022/scrolling.mjs.map +1 -1
  39. package/fesm2022/stepper.mjs +22 -22
  40. package/fesm2022/stepper.mjs.map +1 -1
  41. package/fesm2022/table.mjs +77 -77
  42. package/fesm2022/table.mjs.map +1 -1
  43. package/fesm2022/text-field.mjs +25 -28
  44. package/fesm2022/text-field.mjs.map +1 -1
  45. package/fesm2022/tree.mjs +25 -25
  46. package/fesm2022/tree.mjs.map +1 -1
  47. package/package.json +3 -3
  48. package/platform/index.d.ts +2 -8
  49. package/schematics/ng-add/index.js +1 -1
  50. package/schematics/ng-add/index.mjs +1 -1
  51. package/stepper/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "19.1.3",
3
+ "version": "19.2.0-next.1",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,8 +158,8 @@
158
158
  }
159
159
  },
160
160
  "peerDependencies": {
161
- "@angular/core": "^19.0.0 || ^20.0.0",
162
- "@angular/common": "^19.0.0 || ^20.0.0",
161
+ "@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
162
+ "@angular/common": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
163
163
  "rxjs": "^6.5.3 || ^7.4.0"
164
164
  },
165
165
  "dependencies": {
@@ -1,4 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
+ import { ListenerOptions } from '@angular/core';
2
3
  import { Renderer2 } from '@angular/core';
3
4
 
4
5
  /**
@@ -7,7 +8,7 @@ import { Renderer2 } from '@angular/core';
7
8
  * after 19.1 and during the v19 period we support any 19.x version.
8
9
  * @docs-private
9
10
  */
10
- export declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options: _ListenerOptions): () => void;
11
+ export declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options: ListenerOptions): () => void;
11
12
 
12
13
  /** Gets the target of an event while accounting for Shadow DOM. */
13
14
  export declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
@@ -35,13 +36,6 @@ export declare function getSupportedInputTypes(): Set<string>;
35
36
  /** Gets whether the code is currently running in a test environment. */
36
37
  export declare function _isTestEnvironment(): boolean;
37
38
 
38
- /** Options when binding events manually. */
39
- export declare interface _ListenerOptions {
40
- capture?: boolean;
41
- once?: boolean;
42
- passive?: boolean;
43
- }
44
-
45
39
  /**
46
40
  * Normalizes an `AddEventListener` object to something that can be passed
47
41
  * to `addEventListener` on any browser, no matter whether it supports the
@@ -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', `~19.1.3`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.0-next.1`);
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', `~19.1.3`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.0-next.1`);
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());
@@ -94,7 +94,7 @@ export declare class CdkStepLabel {
94
94
  export declare class CdkStepper implements AfterContentInit, AfterViewInit, OnDestroy {
95
95
  private _dir;
96
96
  private _changeDetectorRef;
97
- private _elementRef;
97
+ protected _elementRef: ElementRef<HTMLElement>;
98
98
  /** Emits when the component is destroyed. */
99
99
  protected readonly _destroyed: Subject<void>;
100
100
  /** Used for managing keyboard focus. */