@angular/cdk 16.2.0-next.5 → 16.2.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/dialog/index.d.ts +5 -0
- package/esm2022/dialog/dialog-ref.mjs +1 -1
- package/esm2022/dialog/dialog.mjs +2 -1
- package/esm2022/menu/menu-item.mjs +10 -2
- package/esm2022/menu/menu-trigger.mjs +10 -2
- package/esm2022/version.mjs +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/dialog.mjs +1 -0
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/menu.mjs +17 -3
- package/fesm2022/menu.mjs.map +1 -1
- package/menu/index.d.ts +2 -0
- package/package.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/menu/index.d.ts
CHANGED
|
@@ -240,6 +240,7 @@ export declare class CdkMenuItem implements FocusableOption, FocusableElement, T
|
|
|
240
240
|
protected readonly _dir: Directionality | null;
|
|
241
241
|
readonly _elementRef: ElementRef<HTMLElement>;
|
|
242
242
|
protected _ngZone: NgZone;
|
|
243
|
+
private readonly _inputModalityDetector;
|
|
243
244
|
/** The menu aim service used by this menu. */
|
|
244
245
|
private readonly _menuAim;
|
|
245
246
|
/** The stack of menus this menu belongs to. */
|
|
@@ -414,6 +415,7 @@ export declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnDest
|
|
|
414
415
|
private readonly _elementRef;
|
|
415
416
|
private readonly _overlay;
|
|
416
417
|
private readonly _ngZone;
|
|
418
|
+
private readonly _inputModalityDetector;
|
|
417
419
|
private readonly _directionality;
|
|
418
420
|
/** The parent menu this trigger belongs to. */
|
|
419
421
|
private readonly _parentMenu;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk",
|
|
3
|
-
"version": "16.2.0
|
|
3
|
+
"version": "16.2.0",
|
|
4
4
|
"description": "Angular Material Component Development Kit",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -202,8 +202,8 @@
|
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
"peerDependencies": {
|
|
205
|
-
"@angular/core": "^16.0.0
|
|
206
|
-
"@angular/common": "^16.0.0
|
|
205
|
+
"@angular/core": "^16.0.0 || ^17.0.0",
|
|
206
|
+
"@angular/common": "^16.0.0 || ^17.0.0",
|
|
207
207
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
208
208
|
},
|
|
209
209
|
"dependencies": {
|
|
@@ -28,7 +28,7 @@ function default_1() {
|
|
|
28
28
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
29
29
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
30
30
|
// dependencies in new CLI projects.
|
|
31
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0`);
|
|
32
32
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
33
33
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
34
34
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
@@ -28,7 +28,7 @@ function default_1() {
|
|
|
28
28
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
29
29
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
30
30
|
// dependencies in new CLI projects.
|
|
31
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0`);
|
|
32
32
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
33
33
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
34
34
|
context.addTask(new tasks_1.NodePackageInstallTask());
|