@angular/cdk 15.1.0-next.1 → 15.1.0-rc.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.
Files changed (185) hide show
  1. package/LICENSE +1 -1
  2. package/esm2020/a11y/a11y-module.mjs +5 -5
  3. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  4. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +7 -7
  5. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  6. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  7. package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
  8. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  9. package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
  10. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  11. package/esm2020/a11y/live-announcer/live-announcer.mjs +7 -7
  12. package/esm2020/accordion/accordion-item.mjs +4 -4
  13. package/esm2020/accordion/accordion-module.mjs +5 -5
  14. package/esm2020/accordion/accordion.mjs +4 -4
  15. package/esm2020/bidi/bidi-module.mjs +5 -5
  16. package/esm2020/bidi/dir.mjs +4 -4
  17. package/esm2020/bidi/directionality.mjs +4 -4
  18. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  19. package/esm2020/clipboard/clipboard.mjs +4 -4
  20. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  21. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  22. package/esm2020/dialog/dialog-container.mjs +4 -4
  23. package/esm2020/dialog/dialog-module.mjs +5 -5
  24. package/esm2020/dialog/dialog.mjs +4 -4
  25. package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
  26. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  27. package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
  28. package/esm2020/drag-drop/directives/drag.mjs +4 -4
  29. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  30. package/esm2020/drag-drop/directives/drop-list.mjs +4 -4
  31. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  32. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  33. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  34. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  35. package/esm2020/layout/layout-module.mjs +5 -5
  36. package/esm2020/layout/media-matcher.mjs +4 -4
  37. package/esm2020/listbox/listbox-module.mjs +7 -7
  38. package/esm2020/listbox/listbox.mjs +9 -7
  39. package/esm2020/menu/context-menu-trigger.mjs +7 -7
  40. package/esm2020/menu/menu-aim.mjs +7 -7
  41. package/esm2020/menu/menu-bar.mjs +4 -4
  42. package/esm2020/menu/menu-base.mjs +4 -4
  43. package/esm2020/menu/menu-group.mjs +4 -4
  44. package/esm2020/menu/menu-item-checkbox.mjs +4 -4
  45. package/esm2020/menu/menu-item-radio.mjs +4 -4
  46. package/esm2020/menu/menu-item-selectable.mjs +4 -4
  47. package/esm2020/menu/menu-item.mjs +15 -9
  48. package/esm2020/menu/menu-module.mjs +5 -5
  49. package/esm2020/menu/menu-stack.mjs +4 -4
  50. package/esm2020/menu/menu-trigger-base.mjs +4 -4
  51. package/esm2020/menu/menu-trigger.mjs +16 -11
  52. package/esm2020/menu/menu.mjs +4 -4
  53. package/esm2020/observers/observe-content.mjs +14 -14
  54. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  55. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  56. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  57. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  58. package/esm2020/overlay/overlay-container.mjs +4 -4
  59. package/esm2020/overlay/overlay-directives.mjs +9 -7
  60. package/esm2020/overlay/overlay-module.mjs +6 -7
  61. package/esm2020/overlay/overlay.mjs +4 -4
  62. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  63. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  64. package/esm2020/platform/platform-module.mjs +5 -5
  65. package/esm2020/platform/platform.mjs +4 -4
  66. package/esm2020/portal/portal-directives.mjs +17 -17
  67. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +5 -4
  68. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  69. package/esm2020/scrolling/scrollable.mjs +5 -4
  70. package/esm2020/scrolling/scrolling-module.mjs +19 -16
  71. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  72. package/esm2020/scrolling/virtual-for-of.mjs +5 -4
  73. package/esm2020/scrolling/virtual-scroll-viewport.mjs +5 -5
  74. package/esm2020/scrolling/virtual-scrollable-element.mjs +5 -4
  75. package/esm2020/scrolling/virtual-scrollable-window.mjs +5 -4
  76. package/esm2020/scrolling/virtual-scrollable.mjs +4 -4
  77. package/esm2020/stepper/step-header.mjs +4 -4
  78. package/esm2020/stepper/step-label.mjs +4 -4
  79. package/esm2020/stepper/stepper-button.mjs +7 -7
  80. package/esm2020/stepper/stepper-module.mjs +5 -5
  81. package/esm2020/stepper/stepper.mjs +8 -8
  82. package/esm2020/table/cell.mjs +22 -22
  83. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  84. package/esm2020/table/row.mjs +28 -28
  85. package/esm2020/table/table-module.mjs +5 -5
  86. package/esm2020/table/table.mjs +19 -19
  87. package/esm2020/table/text-column.mjs +4 -4
  88. package/esm2020/text-field/autofill.mjs +7 -7
  89. package/esm2020/text-field/autosize.mjs +4 -4
  90. package/esm2020/text-field/text-field-module.mjs +5 -5
  91. package/esm2020/tree/nested-node.mjs +4 -4
  92. package/esm2020/tree/node.mjs +4 -4
  93. package/esm2020/tree/outlet.mjs +4 -4
  94. package/esm2020/tree/padding.mjs +4 -4
  95. package/esm2020/tree/toggle.mjs +4 -4
  96. package/esm2020/tree/tree-module.mjs +5 -5
  97. package/esm2020/tree/tree.mjs +7 -7
  98. package/esm2020/version.mjs +1 -1
  99. package/fesm2015/a11y.mjs +40 -40
  100. package/fesm2015/a11y.mjs.map +1 -1
  101. package/fesm2015/accordion.mjs +10 -10
  102. package/fesm2015/accordion.mjs.map +1 -1
  103. package/fesm2015/bidi.mjs +10 -10
  104. package/fesm2015/bidi.mjs.map +1 -1
  105. package/fesm2015/cdk.mjs +1 -1
  106. package/fesm2015/cdk.mjs.map +1 -1
  107. package/fesm2015/clipboard.mjs +10 -10
  108. package/fesm2015/clipboard.mjs.map +1 -1
  109. package/fesm2015/collections.mjs +3 -3
  110. package/fesm2015/collections.mjs.map +1 -1
  111. package/fesm2015/dialog.mjs +10 -10
  112. package/fesm2015/dialog.mjs.map +1 -1
  113. package/fesm2015/drag-drop.mjs +28 -28
  114. package/fesm2015/drag-drop.mjs.map +1 -1
  115. package/fesm2015/layout.mjs +10 -10
  116. package/fesm2015/layout.mjs.map +1 -1
  117. package/fesm2015/listbox.mjs +14 -12
  118. package/fesm2015/listbox.mjs.map +1 -1
  119. package/fesm2015/menu.mjs +71 -62
  120. package/fesm2015/menu.mjs.map +1 -1
  121. package/fesm2015/observers.mjs +13 -13
  122. package/fesm2015/observers.mjs.map +1 -1
  123. package/fesm2015/overlay.mjs +37 -36
  124. package/fesm2015/overlay.mjs.map +1 -1
  125. package/fesm2015/platform.mjs +7 -7
  126. package/fesm2015/platform.mjs.map +1 -1
  127. package/fesm2015/portal.mjs +16 -16
  128. package/fesm2015/portal.mjs.map +1 -1
  129. package/fesm2015/scrolling.mjs +51 -43
  130. package/fesm2015/scrolling.mjs.map +1 -1
  131. package/fesm2015/stepper.mjs +23 -23
  132. package/fesm2015/stepper.mjs.map +1 -1
  133. package/fesm2015/table.mjs +76 -76
  134. package/fesm2015/table.mjs.map +1 -1
  135. package/fesm2015/text-field.mjs +13 -13
  136. package/fesm2015/text-field.mjs.map +1 -1
  137. package/fesm2015/tree.mjs +25 -25
  138. package/fesm2015/tree.mjs.map +1 -1
  139. package/fesm2020/a11y.mjs +40 -40
  140. package/fesm2020/a11y.mjs.map +1 -1
  141. package/fesm2020/accordion.mjs +10 -10
  142. package/fesm2020/accordion.mjs.map +1 -1
  143. package/fesm2020/bidi.mjs +10 -10
  144. package/fesm2020/bidi.mjs.map +1 -1
  145. package/fesm2020/cdk.mjs +1 -1
  146. package/fesm2020/cdk.mjs.map +1 -1
  147. package/fesm2020/clipboard.mjs +10 -10
  148. package/fesm2020/clipboard.mjs.map +1 -1
  149. package/fesm2020/collections.mjs +3 -3
  150. package/fesm2020/collections.mjs.map +1 -1
  151. package/fesm2020/dialog.mjs +10 -10
  152. package/fesm2020/dialog.mjs.map +1 -1
  153. package/fesm2020/drag-drop.mjs +28 -28
  154. package/fesm2020/drag-drop.mjs.map +1 -1
  155. package/fesm2020/layout.mjs +10 -10
  156. package/fesm2020/layout.mjs.map +1 -1
  157. package/fesm2020/listbox.mjs +14 -12
  158. package/fesm2020/listbox.mjs.map +1 -1
  159. package/fesm2020/menu.mjs +71 -62
  160. package/fesm2020/menu.mjs.map +1 -1
  161. package/fesm2020/observers.mjs +13 -13
  162. package/fesm2020/observers.mjs.map +1 -1
  163. package/fesm2020/overlay.mjs +37 -36
  164. package/fesm2020/overlay.mjs.map +1 -1
  165. package/fesm2020/platform.mjs +7 -7
  166. package/fesm2020/platform.mjs.map +1 -1
  167. package/fesm2020/portal.mjs +16 -16
  168. package/fesm2020/portal.mjs.map +1 -1
  169. package/fesm2020/scrolling.mjs +51 -43
  170. package/fesm2020/scrolling.mjs.map +1 -1
  171. package/fesm2020/stepper.mjs +23 -23
  172. package/fesm2020/stepper.mjs.map +1 -1
  173. package/fesm2020/table.mjs +76 -76
  174. package/fesm2020/table.mjs.map +1 -1
  175. package/fesm2020/text-field.mjs +13 -13
  176. package/fesm2020/text-field.mjs.map +1 -1
  177. package/fesm2020/tree.mjs +25 -25
  178. package/fesm2020/tree.mjs.map +1 -1
  179. package/listbox/index.d.ts +3 -3
  180. package/menu/index.d.ts +7 -8
  181. package/overlay/index.d.ts +7 -7
  182. package/package.json +3 -3
  183. package/schematics/ng-add/index.js +1 -1
  184. package/schematics/ng-add/index.mjs +1 -1
  185. package/scrolling/index.d.ts +19 -19
@@ -6,7 +6,7 @@ import { Directionality } from '@angular/cdk/bidi';
6
6
  import { DoCheck } from '@angular/core';
7
7
  import { ElementRef } from '@angular/core';
8
8
  import * as i0 from '@angular/core';
9
- import * as i7 from '@angular/cdk/bidi';
9
+ import * as i2 from '@angular/cdk/bidi';
10
10
  import { InjectionToken } from '@angular/core';
11
11
  import { IterableDiffers } from '@angular/core';
12
12
  import { ListRange } from '@angular/cdk/collections';
@@ -52,7 +52,7 @@ export declare class CdkFixedSizeVirtualScroll implements OnChanges {
52
52
  _scrollStrategy: FixedSizeVirtualScrollStrategy;
53
53
  ngOnChanges(): void;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkFixedSizeVirtualScroll, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFixedSizeVirtualScroll, "cdk-virtual-scroll-viewport[itemSize]", never, { "itemSize": "itemSize"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; }, {}, never, never, false, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkFixedSizeVirtualScroll, "cdk-virtual-scroll-viewport[itemSize]", never, { "itemSize": "itemSize"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; }, {}, never, never, true, never>;
56
56
  }
57
57
 
58
58
  /**
@@ -95,12 +95,12 @@ export declare class CdkScrollable implements OnInit, OnDestroy {
95
95
  */
96
96
  measureScrollOffset(from: 'top' | 'left' | 'right' | 'bottom' | 'start' | 'end'): number;
97
97
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkScrollable, [null, null, null, { optional: true; }]>;
98
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkScrollable, "[cdk-scrollable], [cdkScrollable]", never, {}, {}, never, never, false, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkScrollable, "[cdk-scrollable], [cdkScrollable]", never, {}, {}, never, never, true, never>;
99
99
  }
100
100
 
101
101
  export declare class CdkScrollableModule {
102
102
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkScrollableModule, never>;
103
- static ɵmod: i0.ɵɵNgModuleDeclaration<CdkScrollableModule, [typeof i1.CdkScrollable], never, [typeof i1.CdkScrollable]>;
103
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CdkScrollableModule, never, [typeof i1.CdkScrollable], [typeof i1.CdkScrollable]>;
104
104
  static ɵinj: i0.ɵɵInjectorDeclaration<CdkScrollableModule>;
105
105
  }
106
106
 
@@ -186,7 +186,7 @@ export declare class CdkVirtualForOf<T> implements CdkVirtualScrollRepeater<T>,
186
186
  private _updateComputedContextProperties;
187
187
  private _getEmbeddedViewArgs;
188
188
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualForOf<any>, [null, null, null, null, { skipSelf: true; }, null]>;
189
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualForOf<any>, "[cdkVirtualFor][cdkVirtualForOf]", never, { "cdkVirtualForOf": "cdkVirtualForOf"; "cdkVirtualForTrackBy": "cdkVirtualForTrackBy"; "cdkVirtualForTemplate": "cdkVirtualForTemplate"; "cdkVirtualForTemplateCacheSize": "cdkVirtualForTemplateCacheSize"; }, {}, never, never, false, never>;
189
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualForOf<any>, "[cdkVirtualFor][cdkVirtualForOf]", never, { "cdkVirtualForOf": "cdkVirtualForOf"; "cdkVirtualForTrackBy": "cdkVirtualForTrackBy"; "cdkVirtualForTemplate": "cdkVirtualForTemplate"; "cdkVirtualForTemplateCacheSize": "cdkVirtualForTemplateCacheSize"; }, {}, never, never, true, never>;
190
190
  }
191
191
 
192
192
  /** The context for an item rendered by `CdkVirtualForOf` */
@@ -237,7 +237,7 @@ export declare class CdkVirtualScrollableElement extends CdkVirtualScrollable {
237
237
  constructor(elementRef: ElementRef, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir: Directionality);
238
238
  measureBoundingClientRectWithScrollOffset(from: 'left' | 'top' | 'right' | 'bottom'): number;
239
239
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollableElement, [null, null, null, { optional: true; }]>;
240
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableElement, "[cdkVirtualScrollingElement]", never, {}, {}, never, never, false, never>;
240
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableElement, "[cdkVirtualScrollingElement]", never, {}, {}, never, never, true, never>;
241
241
  }
242
242
 
243
243
  /**
@@ -248,7 +248,7 @@ export declare class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
248
248
  constructor(scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir: Directionality);
249
249
  measureBoundingClientRectWithScrollOffset(from: 'left' | 'top' | 'right' | 'bottom'): number;
250
250
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollableWindow, [null, null, { optional: true; }]>;
251
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableWindow, "cdk-virtual-scroll-viewport[scrollWindow]", never, {}, {}, never, never, false, never>;
251
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualScrollableWindow, "cdk-virtual-scroll-viewport[scrollWindow]", never, {}, {}, never, never, true, never>;
252
252
  }
253
253
 
254
254
  /**
@@ -394,7 +394,7 @@ export declare class CdkVirtualScrollViewport extends CdkVirtualScrollable imple
394
394
  /** Calculates the `style.width` and `style.height` for the spacer element. */
395
395
  private _calculateSpacerSize;
396
396
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualScrollViewport, [null, null, null, { optional: true; }, { optional: true; }, null, null, { optional: true; }]>;
397
- static ɵcmp: i0.ɵɵComponentDeclaration<CdkVirtualScrollViewport, "cdk-virtual-scroll-viewport", never, { "orientation": "orientation"; "appendOnly": "appendOnly"; }, { "scrolledIndexChange": "scrolledIndexChange"; }, never, ["*"], false, never>;
397
+ static ɵcmp: i0.ɵɵComponentDeclaration<CdkVirtualScrollViewport, "cdk-virtual-scroll-viewport", never, { "orientation": "orientation"; "appendOnly": "appendOnly"; }, { "scrolledIndexChange": "scrolledIndexChange"; }, never, ["*"], true, never>;
398
398
  }
399
399
 
400
400
  /** Time in ms to throttle the resize events by default. */
@@ -493,7 +493,13 @@ declare namespace i1 {
493
493
  }
494
494
  }
495
495
 
496
- declare namespace i2 {
496
+ declare namespace i3 {
497
+ export {
498
+ CdkVirtualScrollViewport
499
+ }
500
+ }
501
+
502
+ declare namespace i4 {
497
503
  export {
498
504
  _fixedSizeVirtualScrollStrategyFactory,
499
505
  FixedSizeVirtualScrollStrategy,
@@ -501,26 +507,20 @@ declare namespace i2 {
501
507
  }
502
508
  }
503
509
 
504
- declare namespace i3 {
510
+ declare namespace i5 {
505
511
  export {
506
512
  CdkVirtualForOfContext,
507
513
  CdkVirtualForOf
508
514
  }
509
515
  }
510
516
 
511
- declare namespace i4 {
512
- export {
513
- CdkVirtualScrollViewport
514
- }
515
- }
516
-
517
- declare namespace i5 {
517
+ declare namespace i6 {
518
518
  export {
519
519
  CdkVirtualScrollableWindow
520
520
  }
521
521
  }
522
522
 
523
- declare namespace i6 {
523
+ declare namespace i7 {
524
524
  export {
525
525
  CdkVirtualScrollableElement
526
526
  }
@@ -604,7 +604,7 @@ export declare class ScrollDispatcher implements OnDestroy {
604
604
  */
605
605
  export declare class ScrollingModule {
606
606
  static ɵfac: i0.ɵɵFactoryDeclaration<ScrollingModule, never>;
607
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollingModule, [typeof i2.CdkFixedSizeVirtualScroll, typeof i3.CdkVirtualForOf, typeof i4.CdkVirtualScrollViewport, typeof i5.CdkVirtualScrollableWindow, typeof i6.CdkVirtualScrollableElement], [typeof i7.BidiModule, typeof CdkScrollableModule], [typeof i7.BidiModule, typeof CdkScrollableModule, typeof i2.CdkFixedSizeVirtualScroll, typeof i3.CdkVirtualForOf, typeof i4.CdkVirtualScrollViewport, typeof i5.CdkVirtualScrollableWindow, typeof i6.CdkVirtualScrollableElement]>;
607
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollingModule, never, [typeof i2.BidiModule, typeof CdkScrollableModule, typeof i3.CdkVirtualScrollViewport, typeof i4.CdkFixedSizeVirtualScroll, typeof i5.CdkVirtualForOf, typeof i6.CdkVirtualScrollableWindow, typeof i7.CdkVirtualScrollableElement], [typeof i2.BidiModule, typeof CdkScrollableModule, typeof i4.CdkFixedSizeVirtualScroll, typeof i5.CdkVirtualForOf, typeof i3.CdkVirtualScrollViewport, typeof i6.CdkVirtualScrollableWindow, typeof i7.CdkVirtualScrollableElement]>;
608
608
  static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
609
609
  }
610
610