@angular/cdk 21.0.0-next.3 → 21.0.0-next.5
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/menu.mjs +3 -5
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +3 -5
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/table.mjs +8 -2
- package/fesm2022/table.mjs.map +1 -1
- package/menu/index.d.ts +3 -5
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/table/index.d.ts +3 -1
- package/overlay/_index-deprecated.scss +0 -13
package/fesm2022/cdk.mjs
CHANGED
package/fesm2022/cdk.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('21.0.0-next.
|
|
1
|
+
{"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('21.0.0-next.5');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/menu.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, InjectionToken,
|
|
2
|
+
import { Directive, InjectionToken, inject, Injectable, Injector, ViewContainerRef, EventEmitter, NgZone, RendererFactory2, ElementRef, ChangeDetectorRef, Renderer2, booleanAttribute, Input, Output, QueryList, signal, computed, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { startWith, debounceTime, distinctUntilChanged, takeUntil, mergeMap, mapTo, mergeAll, switchMap, skipWhile, skip } from 'rxjs/operators';
|
|
4
4
|
import { UniqueSelectionDispatcher } from './unique-selection-dispatcher.mjs';
|
|
5
5
|
import { Subject, merge, partition } from 'rxjs';
|
|
@@ -64,14 +64,12 @@ const MENU_STACK = new InjectionToken('cdk-menu-stack');
|
|
|
64
64
|
/** Provider that provides the parent menu stack, or a new menu stack if there is no parent one. */
|
|
65
65
|
const PARENT_OR_NEW_MENU_STACK_PROVIDER = {
|
|
66
66
|
provide: MENU_STACK,
|
|
67
|
-
|
|
68
|
-
useFactory: (parentMenuStack) => parentMenuStack || new MenuStack(),
|
|
67
|
+
useFactory: () => inject(MENU_STACK, { optional: true, skipSelf: true }) || new MenuStack(),
|
|
69
68
|
};
|
|
70
69
|
/** Provider that provides the parent menu stack, or a new inline menu stack if there is no parent one. */
|
|
71
70
|
const PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER = (orientation) => ({
|
|
72
71
|
provide: MENU_STACK,
|
|
73
|
-
|
|
74
|
-
useFactory: (parentMenuStack) => parentMenuStack || MenuStack.inline(orientation),
|
|
72
|
+
useFactory: () => inject(MENU_STACK, { optional: true, skipSelf: true }) || MenuStack.inline(orientation),
|
|
75
73
|
});
|
|
76
74
|
/**
|
|
77
75
|
* MenuStack allows subscribers to listen for close events (when a MenuStackItem is popped off
|