@angular/cdk 14.1.0-next.2 → 14.1.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/a11y/index.d.ts +14 -8
- package/bidi/index.d.ts +1 -1
- package/clipboard/index.d.ts +2 -2
- package/collections/index.d.ts +28 -7
- package/drag-drop/index.d.ts +2 -2
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +45 -4
- package/esm2020/a11y/live-announcer/live-announcer.mjs +1 -1
- package/esm2020/bidi/dir-document-token.mjs +2 -2
- package/esm2020/clipboard/pending-copy.mjs +5 -3
- package/esm2020/collections/selection-model.mjs +41 -8
- package/esm2020/drag-drop/directives/drag.mjs +1 -1
- package/esm2020/drag-drop/drag-drop-registry.mjs +2 -2
- package/esm2020/drag-drop/drag-ref.mjs +2 -2
- package/esm2020/drag-drop/sorting/single-axis-sort-strategy.mjs +2 -2
- package/esm2020/menu/menu-item-radio.mjs +2 -2
- package/esm2020/overlay/overlay-config.mjs +2 -2
- package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +6 -6
- package/esm2020/scrolling/scroll-dispatcher.mjs +2 -2
- package/esm2020/stepper/stepper.mjs +3 -3
- package/esm2020/table/sticky-position-listener.mjs +1 -1
- package/esm2020/table/table-errors.mjs +2 -2
- package/esm2020/table/table.mjs +3 -3
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +44 -3
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/bidi.mjs +1 -1
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -1
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +4 -2
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/collections.mjs +40 -7
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +3 -3
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/menu.mjs +1 -1
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/overlay.mjs +6 -6
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +1 -1
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +2 -2
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +3 -3
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2020/a11y.mjs +44 -3
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/bidi.mjs +1 -1
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -1
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +4 -2
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/collections.mjs +40 -7
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +3 -3
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/menu.mjs +1 -1
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/overlay.mjs +6 -6
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +1 -1
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +2 -2
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +3 -3
- package/fesm2020/table.mjs.map +1 -1
- package/menu/index.d.ts +1 -1
- package/overlay/index.d.ts +3 -3
- 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 +1 -1
- package/table/index.d.ts +4 -4
package/menu/index.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ export declare class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
365
365
|
export declare class CdkMenuItemRadio extends CdkMenuItemSelectable implements OnDestroy {
|
|
366
366
|
/** The unique selection dispatcher for this radio's `CdkMenuGroup`. */
|
|
367
367
|
private readonly _selectionDispatcher;
|
|
368
|
-
/** An ID to identify this radio item to the `
|
|
368
|
+
/** An ID to identify this radio item to the `UniqueSelectionDispatcher`. */
|
|
369
369
|
private _id;
|
|
370
370
|
/** Function to unregister the selection dispatcher */
|
|
371
371
|
private _removeDispatcherListener;
|
package/overlay/index.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ export declare class FlexibleConnectedPositionStrategy implements PositionStrate
|
|
|
377
377
|
* The selection of a position goes as follows:
|
|
378
378
|
* - If any positions fit completely within the viewport as-is,
|
|
379
379
|
* choose the first position that does so.
|
|
380
|
-
* - If flexible dimensions are enabled and at least one
|
|
380
|
+
* - If flexible dimensions are enabled and at least one satisfies the given minimum width/height,
|
|
381
381
|
* choose the position with the greatest available size modified by the positions' weight.
|
|
382
382
|
* - If pushing is enabled, take the position that went off-screen the least and push it
|
|
383
383
|
* on-screen.
|
|
@@ -470,7 +470,7 @@ export declare class FlexibleConnectedPositionStrategy implements PositionStrate
|
|
|
470
470
|
private _canFitWithFlexibleDimensions;
|
|
471
471
|
/**
|
|
472
472
|
* Gets the point at which the overlay can be "pushed" on-screen. If the overlay is larger than
|
|
473
|
-
* the viewport, the top-left corner will be pushed on-screen (with overflow
|
|
473
|
+
* the viewport, the top-left corner will be pushed on-screen (with overflow occurring on the
|
|
474
474
|
* right and bottom).
|
|
475
475
|
*
|
|
476
476
|
* @param start Starting point from which the overlay is pushed.
|
|
@@ -497,7 +497,7 @@ export declare class FlexibleConnectedPositionStrategy implements PositionStrate
|
|
|
497
497
|
private _calculateBoundingBoxRect;
|
|
498
498
|
/**
|
|
499
499
|
* Sets the position and size of the overlay's sizing wrapper. The wrapper is positioned on the
|
|
500
|
-
* origin's connection point and
|
|
500
|
+
* origin's connection point and stretches to the bounds of the viewport.
|
|
501
501
|
*
|
|
502
502
|
* @param origin The point on the origin element where the overlay is connected.
|
|
503
503
|
* @param position The position preference
|
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', `~14.0.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~14.0.6`);
|
|
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', `~14.0.
|
|
31
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~14.0.6`);
|
|
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
|
@@ -561,7 +561,7 @@ export declare class ScrollDispatcher implements OnDestroy {
|
|
|
561
561
|
*/
|
|
562
562
|
register(scrollable: CdkScrollable): void;
|
|
563
563
|
/**
|
|
564
|
-
*
|
|
564
|
+
* De-registers a Scrollable reference and unsubscribes from its scroll event observable.
|
|
565
565
|
* @param scrollable Scrollable instance to be deregistered.
|
|
566
566
|
*/
|
|
567
567
|
deregister(scrollable: CdkScrollable): void;
|
package/table/index.d.ts
CHANGED
|
@@ -499,12 +499,12 @@ export declare class CdkTable<T> implements AfterContentChecked, CollectionViewe
|
|
|
499
499
|
*/
|
|
500
500
|
private _stickyStyler;
|
|
501
501
|
/**
|
|
502
|
-
* CSS class added to any row or cell that has sticky positioning applied. May be
|
|
502
|
+
* CSS class added to any row or cell that has sticky positioning applied. May be overridden by
|
|
503
503
|
* table subclasses.
|
|
504
504
|
*/
|
|
505
505
|
protected stickyCssClass: string;
|
|
506
506
|
/**
|
|
507
|
-
* Whether to manually add
|
|
507
|
+
* Whether to manually add position: sticky to all sticky cell elements. Not needed if
|
|
508
508
|
* the position is set in a selector associated with the value of stickyCssClass. May be
|
|
509
509
|
* overridden by table subclasses
|
|
510
510
|
*/
|
|
@@ -984,7 +984,7 @@ export declare class NoDataRowOutlet implements RowOutlet {
|
|
|
984
984
|
* is false, there is only one template per data object). For each pair of data object and row
|
|
985
985
|
* template, a `RenderRow` is added to the list of rows to render. If the data object and row
|
|
986
986
|
* template pair has already been rendered, the previously used `RenderRow` is added; else a new
|
|
987
|
-
* `RenderRow` is * created. Once the list is complete and all data objects have been
|
|
987
|
+
* `RenderRow` is * created. Once the list is complete and all data objects have been iterated
|
|
988
988
|
* through, a diff is performed to determine the changes that need to be made to the rendered rows.
|
|
989
989
|
*
|
|
990
990
|
* @docs-private
|
|
@@ -1030,7 +1030,7 @@ export declare type StickyOffset = number | null | undefined;
|
|
|
1030
1030
|
|
|
1031
1031
|
/**
|
|
1032
1032
|
* If provided, CdkTable will call the methods below when it updates the size/
|
|
1033
|
-
*
|
|
1033
|
+
* position/etc of its sticky rows and columns.
|
|
1034
1034
|
*/
|
|
1035
1035
|
export declare interface StickyPositioningListener {
|
|
1036
1036
|
/** Called when CdkTable updates its sticky start columns. */
|