@angular/cdk 18.0.0-next.2 → 18.0.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/drag-drop/drag-ref.mjs +7 -3
- package/esm2022/layout/media-matcher.mjs +2 -2
- package/esm2022/scrolling/virtual-scroll-viewport.mjs +24 -17
- package/esm2022/version.mjs +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +6 -2
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs +1 -1
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +22 -15
- package/fesm2022/scrolling.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/scrolling/index.d.ts +2 -0
|
@@ -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', `~18.0.0-next.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~18.0.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());
|
package/scrolling/index.d.ts
CHANGED
|
@@ -318,6 +318,8 @@ export declare class CdkVirtualScrollViewport extends CdkVirtualScrollable imple
|
|
|
318
318
|
private _runAfterChangeDetection;
|
|
319
319
|
/** Subscription to changes in the viewport size. */
|
|
320
320
|
private _viewportChanges;
|
|
321
|
+
private _injector;
|
|
322
|
+
private _isDestroyed;
|
|
321
323
|
constructor(elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, _scrollStrategy: VirtualScrollStrategy, dir: Directionality, scrollDispatcher: ScrollDispatcher, viewportRuler: ViewportRuler, scrollable: CdkVirtualScrollable);
|
|
322
324
|
ngOnInit(): void;
|
|
323
325
|
ngOnDestroy(): void;
|