@angular/cdk 19.2.0-next.2 → 19.2.0-next.4
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/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/overlay.mjs +57 -68
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/table.mjs +13 -14
- package/fesm2022/table.mjs.map +1 -1
- package/overlay/index.d.ts +1 -6
- package/package.json +6 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
package/overlay/index.d.ts
CHANGED
|
@@ -908,16 +908,13 @@ export declare class OverlayRef implements PortalOutlet {
|
|
|
908
908
|
private _animationsDisabled;
|
|
909
909
|
private _injector;
|
|
910
910
|
private _renderer;
|
|
911
|
-
private _backdropElement;
|
|
912
|
-
private _backdropTimeout;
|
|
913
911
|
private readonly _backdropClick;
|
|
914
912
|
private readonly _attachments;
|
|
915
913
|
private readonly _detachments;
|
|
916
914
|
private _positionStrategy;
|
|
917
915
|
private _scrollStrategy;
|
|
918
916
|
private _locationChanges;
|
|
919
|
-
private
|
|
920
|
-
private _cleanupBackdropTransitionEnd;
|
|
917
|
+
private _backdropRef;
|
|
921
918
|
/**
|
|
922
919
|
* Reference to the parent of the `_host` at the time it was detached. Used to restore
|
|
923
920
|
* the `_host` to its original position in the DOM when it gets re-attached.
|
|
@@ -1008,8 +1005,6 @@ export declare class OverlayRef implements PortalOutlet {
|
|
|
1008
1005
|
private _detachContentWhenEmpty;
|
|
1009
1006
|
/** Disposes of a scroll strategy. */
|
|
1010
1007
|
private _disposeScrollStrategy;
|
|
1011
|
-
/** Removes a backdrop element from the DOM. */
|
|
1012
|
-
private _disposeBackdrop;
|
|
1013
1008
|
}
|
|
1014
1009
|
|
|
1015
1010
|
/** Size properties for an overlay. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk",
|
|
3
|
-
"version": "19.2.0-next.
|
|
3
|
+
"version": "19.2.0-next.4",
|
|
4
4
|
"description": "Angular Material Component Development Kit",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -170,7 +170,11 @@
|
|
|
170
170
|
},
|
|
171
171
|
"schematics": "./schematics/collection.json",
|
|
172
172
|
"ng-update": {
|
|
173
|
-
"migrations": "./schematics/migration.json"
|
|
173
|
+
"migrations": "./schematics/migration.json",
|
|
174
|
+
"packageGroup": [
|
|
175
|
+
"@angular/material",
|
|
176
|
+
"@angular/cdk"
|
|
177
|
+
]
|
|
174
178
|
},
|
|
175
179
|
"sideEffects": false,
|
|
176
180
|
"module": "./fesm2022/cdk.mjs",
|
|
@@ -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.2.0-next.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.0-next.4`);
|
|
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.2.0-next.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.0-next.4`);
|
|
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());
|
|
@@ -13,8 +13,8 @@ import { <% if(standalone) { %>CdkDrag, CdkDropList, <% } %>CdkDragDrop, moveIte
|
|
|
13
13
|
styleUrl: './<%= dasherize(name) %>.component.<%= style %>'<% } %><% if(!!viewEncapsulation) { %>,
|
|
14
14
|
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
|
|
15
15
|
changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %><% if(standalone) { %>,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imports: [CdkDrag, CdkDropList]<% } else { %>,
|
|
17
|
+
standalone: false<% } %>
|
|
18
18
|
})
|
|
19
19
|
export class <%= classify(name) %>Component {
|
|
20
20
|
todo = [
|