@angular/cdk 21.2.2 → 21.3.0-next.0

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 (65) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +22 -22
  2. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  3. package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
  4. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  5. package/fesm2022/_directionality-chunk.mjs +3 -3
  6. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  7. package/fesm2022/_focus-monitor-chunk.mjs +9 -9
  8. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  9. package/fesm2022/_id-generator-chunk.mjs +3 -3
  10. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  11. package/fesm2022/_overlay-module-chunk.mjs +34 -34
  12. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  13. package/fesm2022/_platform-chunk.mjs +3 -3
  14. package/fesm2022/_platform-chunk.mjs.map +1 -1
  15. package/fesm2022/_style-loader-chunk.mjs +3 -3
  16. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  17. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  18. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  19. package/fesm2022/a11y.mjs +9 -9
  20. package/fesm2022/a11y.mjs.map +1 -1
  21. package/fesm2022/accordion.mjs +10 -10
  22. package/fesm2022/accordion.mjs.map +1 -1
  23. package/fesm2022/bidi.mjs +7 -7
  24. package/fesm2022/cdk.mjs +1 -1
  25. package/fesm2022/cdk.mjs.map +1 -1
  26. package/fesm2022/clipboard.mjs +10 -10
  27. package/fesm2022/clipboard.mjs.map +1 -1
  28. package/fesm2022/dialog.mjs +12 -12
  29. package/fesm2022/dialog.mjs.map +1 -1
  30. package/fesm2022/drag-drop.mjs +31 -31
  31. package/fesm2022/drag-drop.mjs.map +1 -1
  32. package/fesm2022/layout.mjs +4 -4
  33. package/fesm2022/listbox.mjs +10 -10
  34. package/fesm2022/listbox.mjs.map +1 -1
  35. package/fesm2022/menu.mjs +49 -49
  36. package/fesm2022/menu.mjs.map +1 -1
  37. package/fesm2022/observers-private.mjs +3 -3
  38. package/fesm2022/observers-private.mjs.map +1 -1
  39. package/fesm2022/observers.mjs +13 -13
  40. package/fesm2022/observers.mjs.map +1 -1
  41. package/fesm2022/overlay.mjs +3 -3
  42. package/fesm2022/overlay.mjs.map +1 -1
  43. package/fesm2022/platform.mjs +4 -4
  44. package/fesm2022/portal.mjs +10 -10
  45. package/fesm2022/portal.mjs.map +1 -1
  46. package/fesm2022/private.mjs +3 -3
  47. package/fesm2022/private.mjs.map +1 -1
  48. package/fesm2022/scrolling.mjs +35 -35
  49. package/fesm2022/scrolling.mjs.map +1 -1
  50. package/fesm2022/stepper.mjs +22 -22
  51. package/fesm2022/stepper.mjs.map +1 -1
  52. package/fesm2022/table.mjs +83 -83
  53. package/fesm2022/table.mjs.map +1 -1
  54. package/fesm2022/text-field.mjs +16 -16
  55. package/fesm2022/text-field.mjs.map +1 -1
  56. package/fesm2022/tree.mjs +27 -27
  57. package/fesm2022/tree.mjs.map +1 -1
  58. package/package.json +4 -4
  59. package/schematics/ng-add/index.js +1 -1
  60. package/types/_a11y-module-chunk.d.ts +1 -1
  61. package/types/_overlay-module-chunk.d.ts +1 -1
  62. package/types/accordion.d.ts +2 -4
  63. package/types/drag-drop.d.ts +1 -1
  64. package/types/menu.d.ts +1 -1
  65. package/types/table.d.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "21.2.2",
3
+ "version": "21.3.0-next.0",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,9 +158,9 @@
158
158
  }
159
159
  },
160
160
  "peerDependencies": {
161
- "@angular/core": "^21.0.0 || ^22.0.0",
162
- "@angular/common": "^21.0.0 || ^22.0.0",
163
- "@angular/platform-browser": "^21.0.0 || ^22.0.0",
161
+ "@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
162
+ "@angular/common": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
163
+ "@angular/platform-browser": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
164
164
  "rxjs": "^6.5.3 || ^7.4.0"
165
165
  },
166
166
  "dependencies": {
@@ -26,6 +26,6 @@ function default_1() {
26
26
  // In order to align the CDK version with other Angular dependencies that are setup by
27
27
  // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
28
28
  // dependencies in new CLI projects.
29
- return (0, utility_1.addDependency)('@angular/cdk', `~21.2.2`, { existing: utility_1.ExistingBehavior.Skip });
29
+ return (0, utility_1.addDependency)('@angular/cdk', `~21.3.0-next.0`, { existing: utility_1.ExistingBehavior.Skip });
30
30
  }
31
31
  //# sourceMappingURL=index.js.map
@@ -196,7 +196,7 @@ declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, Do
196
196
  ngOnDestroy(): void;
197
197
  ngAfterContentInit(): void;
198
198
  ngDoCheck(): void;
199
- ngOnChanges(changes: SimpleChanges): void;
199
+ ngOnChanges(changes: SimpleChanges<this>): void;
200
200
  private _captureFocus;
201
201
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocus, never>;
202
202
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { "enabled": { "alias": "cdkTrapFocus"; "required": false; }; "autoCapture": { "alias": "cdkTrapFocusAutoCapture"; "required": false; }; }, {}, never, never, true, never>;
@@ -878,7 +878,7 @@ declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
878
878
  /** The element's layout direction. */
879
879
  get dir(): Direction;
880
880
  ngOnDestroy(): void;
881
- ngOnChanges(changes: SimpleChanges): void;
881
+ ngOnChanges(changes: SimpleChanges<this>): void;
882
882
  /** Creates an overlay */
883
883
  private _createOverlay;
884
884
  /** Builds the overlay config based on the directive's inputs */
@@ -14,9 +14,7 @@ declare const CDK_ACCORDION: InjectionToken<CdkAccordion>;
14
14
  */
15
15
  declare class CdkAccordion implements OnDestroy, OnChanges {
16
16
  /** Emits when the state of the accordion changes */
17
- readonly _stateChanges: Subject<{
18
- [propName: string]: i0.SimpleChange<any>;
19
- }>;
17
+ readonly _stateChanges: Subject<SimpleChanges<this>>;
20
18
  /** Stream that emits true/false when openAll/closeAll is triggered. */
21
19
  readonly _openCloseAllActions: Subject<boolean>;
22
20
  /** A readonly id value to use for unique selection coordination. */
@@ -27,7 +25,7 @@ declare class CdkAccordion implements OnDestroy, OnChanges {
27
25
  openAll(): void;
28
26
  /** Closes all enabled accordion items. */
29
27
  closeAll(): void;
30
- ngOnChanges(changes: SimpleChanges): void;
28
+ ngOnChanges(changes: SimpleChanges<this>): void;
31
29
  ngOnDestroy(): void;
32
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordion, never>;
33
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordion, "cdk-accordion, [cdkAccordion]", ["cdkAccordion"], { "multi": { "alias": "multi"; "required": false; }; }, {}, never, never, true, never>;
@@ -755,7 +755,7 @@ declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
755
755
  */
756
756
  setFreeDragPosition(value: Point): void;
757
757
  ngAfterViewInit(): void;
758
- ngOnChanges(changes: SimpleChanges): void;
758
+ ngOnChanges(changes: SimpleChanges<this>): void;
759
759
  ngOnDestroy(): void;
760
760
  _addHandle(handle: CdkDragHandle): void;
761
761
  _removeHandle(handle: CdkDragHandle): void;
package/types/menu.d.ts CHANGED
@@ -395,7 +395,7 @@ declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnChanges, On
395
395
  * Get a reference to the rendered Menu if the Menu is open and rendered in the DOM.
396
396
  */
397
397
  getMenu(): Menu | undefined;
398
- ngOnChanges(changes: SimpleChanges): void;
398
+ ngOnChanges(changes: SimpleChanges<this>): void;
399
399
  ngOnDestroy(): void;
400
400
  /**
401
401
  * Handles keyboard events for the menu item.
package/types/table.d.ts CHANGED
@@ -164,7 +164,7 @@ declare abstract class BaseRowDef implements OnChanges {
164
164
  /** Differ used to check if any changes were made to the columns. */
165
165
  protected _columnsDiffer: IterableDiffer<any>;
166
166
  constructor(...args: unknown[]);
167
- ngOnChanges(changes: SimpleChanges): void;
167
+ ngOnChanges(changes: SimpleChanges<this>): void;
168
168
  /**
169
169
  * Returns the difference between the current columns and the columns from the last diff, or null
170
170
  * if there is no difference.
@@ -187,7 +187,7 @@ declare class CdkHeaderRowDef extends BaseRowDef implements CanStick, OnChanges
187
187
  set sticky(value: boolean);
188
188
  private _sticky;
189
189
  constructor(...args: unknown[]);
190
- ngOnChanges(changes: SimpleChanges): void;
190
+ ngOnChanges(changes: SimpleChanges<this>): void;
191
191
  /** Whether the sticky state has changed. */
192
192
  hasStickyChanged(): boolean;
193
193
  /** Resets the sticky changed state. */
@@ -208,7 +208,7 @@ declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnChanges
208
208
  set sticky(value: boolean);
209
209
  private _sticky;
210
210
  constructor(...args: unknown[]);
211
- ngOnChanges(changes: SimpleChanges): void;
211
+ ngOnChanges(changes: SimpleChanges<this>): void;
212
212
  /** Whether the sticky state has changed. */
213
213
  hasStickyChanged(): boolean;
214
214
  /** Resets the sticky changed state. */