@angular/cdk 14.0.3 → 14.0.6

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.
Files changed (68) hide show
  1. package/a11y/index.d.ts +14 -8
  2. package/bidi/index.d.ts +1 -1
  3. package/clipboard/index.d.ts +2 -2
  4. package/drag-drop/index.d.ts +2 -2
  5. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +45 -4
  6. package/esm2020/a11y/live-announcer/live-announcer.mjs +1 -1
  7. package/esm2020/bidi/dir-document-token.mjs +2 -2
  8. package/esm2020/clipboard/pending-copy.mjs +5 -3
  9. package/esm2020/drag-drop/directives/drag.mjs +1 -1
  10. package/esm2020/drag-drop/drag-drop-registry.mjs +2 -2
  11. package/esm2020/drag-drop/drag-ref.mjs +2 -2
  12. package/esm2020/drag-drop/sorting/single-axis-sort-strategy.mjs +2 -2
  13. package/esm2020/menu/menu-item-radio.mjs +2 -2
  14. package/esm2020/overlay/overlay-config.mjs +2 -2
  15. package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +6 -6
  16. package/esm2020/scrolling/scroll-dispatcher.mjs +2 -2
  17. package/esm2020/stepper/stepper.mjs +3 -3
  18. package/esm2020/table/sticky-position-listener.mjs +1 -1
  19. package/esm2020/table/table-errors.mjs +2 -2
  20. package/esm2020/table/table.mjs +3 -3
  21. package/esm2020/version.mjs +1 -1
  22. package/fesm2015/a11y.mjs +44 -3
  23. package/fesm2015/a11y.mjs.map +1 -1
  24. package/fesm2015/bidi.mjs +1 -1
  25. package/fesm2015/bidi.mjs.map +1 -1
  26. package/fesm2015/cdk.mjs +1 -1
  27. package/fesm2015/cdk.mjs.map +1 -1
  28. package/fesm2015/clipboard.mjs +4 -2
  29. package/fesm2015/clipboard.mjs.map +1 -1
  30. package/fesm2015/drag-drop.mjs +3 -3
  31. package/fesm2015/drag-drop.mjs.map +1 -1
  32. package/fesm2015/menu.mjs +1 -1
  33. package/fesm2015/menu.mjs.map +1 -1
  34. package/fesm2015/overlay.mjs +6 -6
  35. package/fesm2015/overlay.mjs.map +1 -1
  36. package/fesm2015/scrolling.mjs +1 -1
  37. package/fesm2015/scrolling.mjs.map +1 -1
  38. package/fesm2015/stepper.mjs +2 -2
  39. package/fesm2015/stepper.mjs.map +1 -1
  40. package/fesm2015/table.mjs +3 -3
  41. package/fesm2015/table.mjs.map +1 -1
  42. package/fesm2020/a11y.mjs +44 -3
  43. package/fesm2020/a11y.mjs.map +1 -1
  44. package/fesm2020/bidi.mjs +1 -1
  45. package/fesm2020/bidi.mjs.map +1 -1
  46. package/fesm2020/cdk.mjs +1 -1
  47. package/fesm2020/cdk.mjs.map +1 -1
  48. package/fesm2020/clipboard.mjs +4 -2
  49. package/fesm2020/clipboard.mjs.map +1 -1
  50. package/fesm2020/drag-drop.mjs +3 -3
  51. package/fesm2020/drag-drop.mjs.map +1 -1
  52. package/fesm2020/menu.mjs +1 -1
  53. package/fesm2020/menu.mjs.map +1 -1
  54. package/fesm2020/overlay.mjs +6 -6
  55. package/fesm2020/overlay.mjs.map +1 -1
  56. package/fesm2020/scrolling.mjs +1 -1
  57. package/fesm2020/scrolling.mjs.map +1 -1
  58. package/fesm2020/stepper.mjs +2 -2
  59. package/fesm2020/stepper.mjs.map +1 -1
  60. package/fesm2020/table.mjs +3 -3
  61. package/fesm2020/table.mjs.map +1 -1
  62. package/menu/index.d.ts +1 -1
  63. package/overlay/index.d.ts +3 -3
  64. package/package.json +1 -1
  65. package/schematics/ng-add/index.js +1 -1
  66. package/schematics/ng-add/index.mjs +1 -1
  67. package/scrolling/index.d.ts +1 -1
  68. 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 `UniqueSelectionDisptcher`. */
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;
@@ -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 satifies the given minimum width/height,
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 occuring on the
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 stetches to the bounds of the viewport.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "14.0.3",
3
+ "version": "14.0.6",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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.3`);
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.3`);
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());
@@ -500,7 +500,7 @@ export declare class ScrollDispatcher implements OnDestroy {
500
500
  */
501
501
  register(scrollable: CdkScrollable): void;
502
502
  /**
503
- * Deregisters a Scrollable reference and unsubscribes from its scroll event observable.
503
+ * De-registers a Scrollable reference and unsubscribes from its scroll event observable.
504
504
  * @param scrollable Scrollable instance to be deregistered.
505
505
  */
506
506
  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 overriden by
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 positon: sticky to all sticky cell elements. Not needed if
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 itereated
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
- * postion/etc of its sticky rows and columns.
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. */