@angular/cdk 16.2.0-next.2 → 16.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/esm2022/clipboard/pending-copy.mjs +4 -2
- package/esm2022/menu/event-detection.mjs +28 -0
- package/esm2022/menu/menu-item.mjs +6 -14
- package/esm2022/menu/menu-trigger.mjs +6 -10
- package/esm2022/version.mjs +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +3 -1
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/menu.mjs +30 -22
- package/fesm2022/menu.mjs.map +1 -1
- package/menu/index.d.ts +0 -4
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/menu/index.d.ts
CHANGED
|
@@ -238,7 +238,6 @@ export declare class CdkMenuGroup {
|
|
|
238
238
|
*/
|
|
239
239
|
export declare class CdkMenuItem implements FocusableOption, FocusableElement, Toggler, OnDestroy {
|
|
240
240
|
protected readonly _dir: Directionality | null;
|
|
241
|
-
private readonly _inputModalityDetector;
|
|
242
241
|
readonly _elementRef: ElementRef<HTMLElement>;
|
|
243
242
|
protected _ngZone: NgZone;
|
|
244
243
|
/** The menu aim service used by this menu. */
|
|
@@ -312,8 +311,6 @@ export declare class CdkMenuItem implements FocusableOption, FocusableElement, T
|
|
|
312
311
|
* @param event the keyboard event to handle
|
|
313
312
|
*/
|
|
314
313
|
_onKeydown(event: KeyboardEvent): void;
|
|
315
|
-
/** Handles clicks on the menu item. */
|
|
316
|
-
_handleClick(): void;
|
|
317
314
|
/** Whether this menu item is standalone or within a menu or menu bar. */
|
|
318
315
|
private _isStandaloneItem;
|
|
319
316
|
/**
|
|
@@ -418,7 +415,6 @@ export declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnDest
|
|
|
418
415
|
private readonly _overlay;
|
|
419
416
|
private readonly _ngZone;
|
|
420
417
|
private readonly _directionality;
|
|
421
|
-
private readonly _inputModalityDetector;
|
|
422
418
|
/** The parent menu this trigger belongs to. */
|
|
423
419
|
private readonly _parentMenu;
|
|
424
420
|
/** The menu aim service used by this menu. */
|
package/package.json
CHANGED
|
@@ -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-next.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0-next.4`);
|
|
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-next.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~16.2.0-next.4`);
|
|
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());
|