@angular/cdk 21.2.1 → 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.
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/dialog.mjs +1 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/table.mjs +5 -5
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tree.mjs +1 -1
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/types/_a11y-module-chunk.d.ts +1 -1
- package/types/_overlay-module-chunk.d.ts +1 -1
- package/types/accordion.d.ts +2 -4
- package/types/drag-drop.d.ts +1 -1
- package/types/menu.d.ts +1 -1
- 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.
|
|
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.
|
|
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 */
|
package/types/accordion.d.ts
CHANGED
|
@@ -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>;
|
package/types/drag-drop.d.ts
CHANGED
|
@@ -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. */
|