@angular/cdk 17.2.0 → 17.3.0-next.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/esm2022/listbox/listbox.mjs +1 -1
- package/esm2022/overlay/overlay-directives.mjs +4 -3
- package/esm2022/overlay/position/flexible-connected-position-strategy.mjs +23 -6
- package/esm2022/version.mjs +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/overlay.mjs +25 -7
- package/fesm2022/overlay.mjs.map +1 -1
- package/listbox/index.d.ts +1 -1
- package/overlay/index.d.ts +3 -0
- package/package.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/listbox/index.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ export declare class CdkOption<T = unknown> implements ListKeyManagerOption, Hig
|
|
|
279
279
|
* The text used to locate this item during listbox typeahead. If not specified,
|
|
280
280
|
* the `textContent` of the item will be used.
|
|
281
281
|
*/
|
|
282
|
-
typeaheadLabel: string;
|
|
282
|
+
typeaheadLabel: string | null;
|
|
283
283
|
/** Whether this option is disabled. */
|
|
284
284
|
get disabled(): boolean;
|
|
285
285
|
set disabled(value: boolean);
|
package/overlay/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
|
|
|
101
101
|
private _position;
|
|
102
102
|
private _scrollStrategyFactory;
|
|
103
103
|
private _disposeOnNavigation;
|
|
104
|
+
private _ngZone;
|
|
104
105
|
/** Origin for the connected overlay. */
|
|
105
106
|
origin: CdkOverlayOrigin | FlexibleConnectedPositionStrategyOrigin;
|
|
106
107
|
/** Registered connected position pairs. */
|
|
@@ -347,6 +348,8 @@ export declare class FlexibleConnectedPositionStrategy implements PositionStrate
|
|
|
347
348
|
private _boundingBox;
|
|
348
349
|
/** The last position to have been calculated as the best fit position. */
|
|
349
350
|
private _lastPosition;
|
|
351
|
+
/** The last calculated scroll visibility. Only tracked */
|
|
352
|
+
private _lastScrollVisibility;
|
|
350
353
|
/** Subject that emits whenever the position changes. */
|
|
351
354
|
private readonly _positionChanges;
|
|
352
355
|
/** Subscription to viewport size changes. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0-next.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": "^17.0.0 || ^18.0.0",
|
|
206
|
-
"@angular/common": "^17.0.0 || ^18.0.0",
|
|
205
|
+
"@angular/core": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
|
|
206
|
+
"@angular/common": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.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', `~17.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~17.3.0-next.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', `~17.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~17.3.0-next.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());
|