@angular/cdk 22.2.0-rc.0 → 22.2.1

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 (51) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +22 -22
  2. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  3. package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
  4. package/fesm2022/_directionality-chunk.mjs +3 -3
  5. package/fesm2022/_focus-monitor-chunk.mjs +9 -9
  6. package/fesm2022/_id-generator-chunk.mjs +3 -3
  7. package/fesm2022/_overlay-module-chunk.mjs +60 -51
  8. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  9. package/fesm2022/_platform-chunk.mjs +3 -3
  10. package/fesm2022/_style-loader-chunk.mjs +3 -3
  11. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  12. package/fesm2022/a11y.mjs +9 -9
  13. package/fesm2022/accordion.mjs +10 -10
  14. package/fesm2022/accordion.mjs.map +1 -1
  15. package/fesm2022/bidi.mjs +7 -7
  16. package/fesm2022/cdk.mjs +1 -1
  17. package/fesm2022/cdk.mjs.map +1 -1
  18. package/fesm2022/clipboard.mjs +10 -10
  19. package/fesm2022/dialog.mjs +10 -10
  20. package/fesm2022/dialog.mjs.map +1 -1
  21. package/fesm2022/drag-drop.mjs +32 -32
  22. package/fesm2022/drag-drop.mjs.map +1 -1
  23. package/fesm2022/layout.mjs +4 -4
  24. package/fesm2022/listbox.mjs +10 -10
  25. package/fesm2022/listbox.mjs.map +1 -1
  26. package/fesm2022/menu.mjs +49 -49
  27. package/fesm2022/menu.mjs.map +1 -1
  28. package/fesm2022/observers-private.mjs +3 -3
  29. package/fesm2022/observers.mjs +13 -13
  30. package/fesm2022/observers.mjs.map +1 -1
  31. package/fesm2022/overlay.mjs +4 -4
  32. package/fesm2022/platform.mjs +4 -4
  33. package/fesm2022/portal.mjs +10 -10
  34. package/fesm2022/portal.mjs.map +1 -1
  35. package/fesm2022/private.mjs +3 -3
  36. package/fesm2022/private.mjs.map +1 -1
  37. package/fesm2022/scrolling.mjs +35 -35
  38. package/fesm2022/scrolling.mjs.map +1 -1
  39. package/fesm2022/stepper.mjs +22 -22
  40. package/fesm2022/stepper.mjs.map +1 -1
  41. package/fesm2022/table.mjs +73 -73
  42. package/fesm2022/table.mjs.map +1 -1
  43. package/fesm2022/text-field.mjs +16 -16
  44. package/fesm2022/text-field.mjs.map +1 -1
  45. package/fesm2022/tree.mjs +25 -25
  46. package/fesm2022/tree.mjs.map +1 -1
  47. package/package.json +5 -5
  48. package/schematics/ng-add/index.js +1 -1
  49. package/types/_overlay-module-chunk.d.ts +16 -12
  50. package/types/dialog.d.ts +3 -7
  51. package/types/overlay.d.ts +1 -1
@@ -78,7 +78,7 @@ class InputModalityDetector {
78
78
  }
79
79
  static ɵfac = i0.ɵɵngDeclareFactory({
80
80
  minVersion: "12.0.0",
81
- version: "22.2.0-next.7",
81
+ version: "22.2.0",
82
82
  ngImport: i0,
83
83
  type: InputModalityDetector,
84
84
  deps: [],
@@ -86,14 +86,14 @@ class InputModalityDetector {
86
86
  });
87
87
  static ɵprov = i0.ɵɵngDeclareService({
88
88
  minVersion: "22.0.0",
89
- version: "22.2.0-next.7",
89
+ version: "22.2.0",
90
90
  ngImport: i0,
91
91
  type: InputModalityDetector
92
92
  });
93
93
  }
94
94
  i0.ɵɵngDeclareClassMetadata({
95
95
  minVersion: "12.0.0",
96
- version: "22.2.0-next.7",
96
+ version: "22.2.0",
97
97
  ngImport: i0,
98
98
  type: InputModalityDetector,
99
99
  decorators: [{
@@ -333,7 +333,7 @@ class FocusMonitor {
333
333
  }
334
334
  static ɵfac = i0.ɵɵngDeclareFactory({
335
335
  minVersion: "12.0.0",
336
- version: "22.2.0-next.7",
336
+ version: "22.2.0",
337
337
  ngImport: i0,
338
338
  type: FocusMonitor,
339
339
  deps: [],
@@ -341,14 +341,14 @@ class FocusMonitor {
341
341
  });
342
342
  static ɵprov = i0.ɵɵngDeclareService({
343
343
  minVersion: "22.0.0",
344
- version: "22.2.0-next.7",
344
+ version: "22.2.0",
345
345
  ngImport: i0,
346
346
  type: FocusMonitor
347
347
  });
348
348
  }
349
349
  i0.ɵɵngDeclareClassMetadata({
350
350
  minVersion: "12.0.0",
351
- version: "22.2.0-next.7",
351
+ version: "22.2.0",
352
352
  ngImport: i0,
353
353
  type: FocusMonitor,
354
354
  decorators: [{
@@ -378,7 +378,7 @@ class CdkMonitorFocus {
378
378
  }
379
379
  static ɵfac = i0.ɵɵngDeclareFactory({
380
380
  minVersion: "12.0.0",
381
- version: "22.2.0-next.7",
381
+ version: "22.2.0",
382
382
  ngImport: i0,
383
383
  type: CdkMonitorFocus,
384
384
  deps: [],
@@ -386,7 +386,7 @@ class CdkMonitorFocus {
386
386
  });
387
387
  static ɵdir = i0.ɵɵngDeclareDirective({
388
388
  minVersion: "14.0.0",
389
- version: "22.2.0-next.7",
389
+ version: "22.2.0",
390
390
  type: CdkMonitorFocus,
391
391
  isStandalone: true,
392
392
  selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]",
@@ -399,7 +399,7 @@ class CdkMonitorFocus {
399
399
  }
400
400
  i0.ɵɵngDeclareClassMetadata({
401
401
  minVersion: "12.0.0",
402
- version: "22.2.0-next.7",
402
+ version: "22.2.0",
403
403
  ngImport: i0,
404
404
  type: CdkMonitorFocus,
405
405
  decorators: [{
@@ -20,7 +20,7 @@ class _IdGenerator {
20
20
  }
21
21
  static ɵfac = i0.ɵɵngDeclareFactory({
22
22
  minVersion: "12.0.0",
23
- version: "22.2.0-next.7",
23
+ version: "22.2.0",
24
24
  ngImport: i0,
25
25
  type: _IdGenerator,
26
26
  deps: [],
@@ -28,14 +28,14 @@ class _IdGenerator {
28
28
  });
29
29
  static ɵprov = i0.ɵɵngDeclareService({
30
30
  minVersion: "22.0.0",
31
- version: "22.2.0-next.7",
31
+ version: "22.2.0",
32
32
  ngImport: i0,
33
33
  type: _IdGenerator
34
34
  });
35
35
  }
36
36
  i0.ɵɵngDeclareClassMetadata({
37
37
  minVersion: "12.0.0",
38
- version: "22.2.0-next.7",
38
+ version: "22.2.0",
39
39
  ngImport: i0,
40
40
  type: _IdGenerator,
41
41
  decorators: [{
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { DOCUMENT, NgZone, inject, Injector, Service, RendererFactory2, ViewEncapsulation, Component, afterNextRender, ElementRef, InjectionToken, ApplicationRef, Renderer2, ANIMATION_MODULE_TYPE, EnvironmentInjector, EventEmitter, TemplateRef, ViewContainerRef, booleanAttribute, Directive, Output, Input, NgModule } from '@angular/core';
2
+ import { DOCUMENT, NgZone, inject, Injector, Service, RendererFactory2, ViewEncapsulation, Component, untracked, afterNextRender, signal, ElementRef, InjectionToken, ApplicationRef, Renderer2, ANIMATION_MODULE_TYPE, EnvironmentInjector, EventEmitter, TemplateRef, ViewContainerRef, booleanAttribute, Directive, Output, Input, NgModule } from '@angular/core';
3
3
  import { Location } from '@angular/common';
4
4
  import { Platform } from './_platform-chunk.mjs';
5
5
  import { _getEventTarget } from './_shadow-dom-chunk.mjs';
@@ -244,7 +244,7 @@ class ScrollStrategyOptions {
244
244
  reposition = config => createRepositionScrollStrategy(this._injector, config);
245
245
  static ɵfac = i0.ɵɵngDeclareFactory({
246
246
  minVersion: "12.0.0",
247
- version: "22.2.0-next.7",
247
+ version: "22.2.0",
248
248
  ngImport: i0,
249
249
  type: ScrollStrategyOptions,
250
250
  deps: [],
@@ -252,14 +252,14 @@ class ScrollStrategyOptions {
252
252
  });
253
253
  static ɵprov = i0.ɵɵngDeclareService({
254
254
  minVersion: "22.0.0",
255
- version: "22.2.0-next.7",
255
+ version: "22.2.0",
256
256
  ngImport: i0,
257
257
  type: ScrollStrategyOptions
258
258
  });
259
259
  }
260
260
  i0.ɵɵngDeclareClassMetadata({
261
261
  minVersion: "12.0.0",
262
- version: "22.2.0-next.7",
262
+ version: "22.2.0",
263
263
  ngImport: i0,
264
264
  type: ScrollStrategyOptions,
265
265
  decorators: [{
@@ -370,7 +370,7 @@ class BaseOverlayDispatcher {
370
370
  }
371
371
  static ɵfac = i0.ɵɵngDeclareFactory({
372
372
  minVersion: "12.0.0",
373
- version: "22.2.0-next.7",
373
+ version: "22.2.0",
374
374
  ngImport: i0,
375
375
  type: BaseOverlayDispatcher,
376
376
  deps: [],
@@ -378,14 +378,14 @@ class BaseOverlayDispatcher {
378
378
  });
379
379
  static ɵprov = i0.ɵɵngDeclareService({
380
380
  minVersion: "22.0.0",
381
- version: "22.2.0-next.7",
381
+ version: "22.2.0",
382
382
  ngImport: i0,
383
383
  type: BaseOverlayDispatcher
384
384
  });
385
385
  }
386
386
  i0.ɵɵngDeclareClassMetadata({
387
387
  minVersion: "12.0.0",
388
- version: "22.2.0-next.7",
388
+ version: "22.2.0",
389
389
  ngImport: i0,
390
390
  type: BaseOverlayDispatcher,
391
391
  decorators: [{
@@ -424,7 +424,7 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
424
424
  };
425
425
  static ɵfac = i0.ɵɵngDeclareFactory({
426
426
  minVersion: "12.0.0",
427
- version: "22.2.0-next.7",
427
+ version: "22.2.0",
428
428
  ngImport: i0,
429
429
  type: OverlayKeyboardDispatcher,
430
430
  deps: [],
@@ -432,14 +432,14 @@ class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
432
432
  });
433
433
  static ɵprov = i0.ɵɵngDeclareService({
434
434
  minVersion: "22.0.0",
435
- version: "22.2.0-next.7",
435
+ version: "22.2.0",
436
436
  ngImport: i0,
437
437
  type: OverlayKeyboardDispatcher
438
438
  });
439
439
  }
440
440
  i0.ɵɵngDeclareClassMetadata({
441
441
  minVersion: "12.0.0",
442
- version: "22.2.0-next.7",
442
+ version: "22.2.0",
443
443
  ngImport: i0,
444
444
  type: OverlayKeyboardDispatcher,
445
445
  decorators: [{
@@ -509,7 +509,7 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
509
509
  };
510
510
  static ɵfac = i0.ɵɵngDeclareFactory({
511
511
  minVersion: "12.0.0",
512
- version: "22.2.0-next.7",
512
+ version: "22.2.0",
513
513
  ngImport: i0,
514
514
  type: OverlayOutsideClickDispatcher,
515
515
  deps: [],
@@ -517,14 +517,14 @@ class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
517
517
  });
518
518
  static ɵprov = i0.ɵɵngDeclareService({
519
519
  minVersion: "22.0.0",
520
- version: "22.2.0-next.7",
520
+ version: "22.2.0",
521
521
  ngImport: i0,
522
522
  type: OverlayOutsideClickDispatcher
523
523
  });
524
524
  }
525
525
  i0.ɵɵngDeclareClassMetadata({
526
526
  minVersion: "12.0.0",
527
- version: "22.2.0-next.7",
527
+ version: "22.2.0",
528
528
  ngImport: i0,
529
529
  type: OverlayOutsideClickDispatcher,
530
530
  decorators: [{
@@ -546,7 +546,7 @@ function containsPierceShadowDom(parent, child) {
546
546
  class _CdkOverlayStyleLoader {
547
547
  static ɵfac = i0.ɵɵngDeclareFactory({
548
548
  minVersion: "12.0.0",
549
- version: "22.2.0-next.7",
549
+ version: "22.2.0",
550
550
  ngImport: i0,
551
551
  type: _CdkOverlayStyleLoader,
552
552
  deps: [],
@@ -554,7 +554,7 @@ class _CdkOverlayStyleLoader {
554
554
  });
555
555
  static ɵcmp = i0.ɵɵngDeclareComponent({
556
556
  minVersion: "14.0.0",
557
- version: "22.2.0-next.7",
557
+ version: "22.2.0",
558
558
  type: _CdkOverlayStyleLoader,
559
559
  isStandalone: true,
560
560
  selector: "ng-component",
@@ -572,7 +572,7 @@ class _CdkOverlayStyleLoader {
572
572
  }
573
573
  i0.ɵɵngDeclareClassMetadata({
574
574
  minVersion: "12.0.0",
575
- version: "22.2.0-next.7",
575
+ version: "22.2.0",
576
576
  ngImport: i0,
577
577
  type: _CdkOverlayStyleLoader,
578
578
  decorators: [{
@@ -625,7 +625,7 @@ class OverlayContainer {
625
625
  }
626
626
  static ɵfac = i0.ɵɵngDeclareFactory({
627
627
  minVersion: "12.0.0",
628
- version: "22.2.0-next.7",
628
+ version: "22.2.0",
629
629
  ngImport: i0,
630
630
  type: OverlayContainer,
631
631
  deps: [],
@@ -633,14 +633,14 @@ class OverlayContainer {
633
633
  });
634
634
  static ɵprov = i0.ɵɵngDeclareService({
635
635
  minVersion: "22.0.0",
636
- version: "22.2.0-next.7",
636
+ version: "22.2.0",
637
637
  ngImport: i0,
638
638
  type: OverlayContainer
639
639
  });
640
640
  }
641
641
  i0.ɵɵngDeclareClassMetadata({
642
642
  minVersion: "12.0.0",
643
- version: "22.2.0-next.7",
643
+ version: "22.2.0",
644
644
  ngImport: i0,
645
645
  type: OverlayContainer,
646
646
  decorators: [{
@@ -685,10 +685,10 @@ class BackdropRef {
685
685
  function isElement(value) {
686
686
  return value && value.nodeType === 1;
687
687
  }
688
- const attachedOverlays = new Set();
689
- function getAttachedOverlays() {
690
- return Array.from(attachedOverlays);
691
- }
688
+ const attachedOverlaysInternal = signal([], ...(ngDevMode ? [{
689
+ debugName: "attachedOverlaysInternal"
690
+ }] : []));
691
+ attachedOverlaysInternal.asReadonly();
692
692
  class OverlayRef {
693
693
  _portalOutlet;
694
694
  _host;
@@ -707,7 +707,7 @@ class OverlayRef {
707
707
  _detachments = new Subject();
708
708
  _positionStrategy;
709
709
  _scrollStrategy;
710
- _locationChanges = Subscription.EMPTY;
710
+ _locationChanges;
711
711
  _backdropRef = null;
712
712
  _detachContentMutationObserver;
713
713
  _detachContentAfterRenderRef;
@@ -757,7 +757,9 @@ class OverlayRef {
757
757
  this._updateStackingOrder();
758
758
  this._updateElementSize();
759
759
  this._updateElementDirection();
760
- attachedOverlays.add(this);
760
+ untracked(() => {
761
+ attachedOverlaysInternal.update(prev => prev.includes(this) ? prev : [...prev, this]);
762
+ });
761
763
  if (this._scrollStrategy) {
762
764
  this._scrollStrategy.enable();
763
765
  }
@@ -779,8 +781,11 @@ class OverlayRef {
779
781
  this._attachments.next();
780
782
  this._completeDetachContent();
781
783
  this._keyboardDispatcher.add(this);
782
- if (this._config.disposeOnNavigation) {
783
- this._locationChanges = this._location.subscribe(() => this.dispose());
784
+ if (this._config.disposeOnNavigation === true || this._config.disposeOnNavigation === 'pop-state') {
785
+ const subscription = this._location.subscribe(() => this.dispose());
786
+ this._locationChanges = () => subscription.unsubscribe();
787
+ } else if (this._config.disposeOnNavigation === 'url-change') {
788
+ this._locationChanges = this._location.onUrlChange(() => this.dispose());
784
789
  }
785
790
  this._outsideClickDispatcher.add(this);
786
791
  if (typeof attachResult?.onDestroy === 'function') {
@@ -809,9 +814,11 @@ class OverlayRef {
809
814
  this._completeDetachContent();
810
815
  this._keyboardDispatcher.remove(this);
811
816
  this._detachContentWhenEmpty();
812
- this._locationChanges.unsubscribe();
817
+ this._locationChanges?.();
813
818
  this._outsideClickDispatcher.remove(this);
814
- attachedOverlays.delete(this);
819
+ untracked(() => {
820
+ attachedOverlaysInternal.update(prev => prev.filter(o => o !== this));
821
+ });
815
822
  return detachmentResult;
816
823
  }
817
824
  dispose() {
@@ -824,7 +831,7 @@ class OverlayRef {
824
831
  }
825
832
  this._disposeScrollStrategy();
826
833
  this._backdropRef?.dispose();
827
- this._locationChanges.unsubscribe();
834
+ this._locationChanges?.();
828
835
  this._keyboardDispatcher.remove(this);
829
836
  this._portalOutlet.dispose();
830
837
  this._attachments.complete();
@@ -841,7 +848,9 @@ class OverlayRef {
841
848
  this._detachments.complete();
842
849
  this._completeDetachContent();
843
850
  this._disposed = true;
844
- attachedOverlays.delete(this);
851
+ untracked(() => {
852
+ attachedOverlaysInternal.update(prev => prev.filter(o => o !== this));
853
+ });
845
854
  }
846
855
  hasAttached() {
847
856
  return this._portalOutlet.hasAttached();
@@ -1773,7 +1782,7 @@ class FlexibleConnectedPositionStrategy {
1773
1782
  }
1774
1783
  function extendStyles(destination, source) {
1775
1784
  for (let key in source) {
1776
- if (source.hasOwnProperty(key)) {
1785
+ if (Object.hasOwn(source, key)) {
1777
1786
  destination[key] = source[key];
1778
1787
  }
1779
1788
  }
@@ -2015,7 +2024,7 @@ class OverlayPositionBuilder {
2015
2024
  }
2016
2025
  static ɵfac = i0.ɵɵngDeclareFactory({
2017
2026
  minVersion: "12.0.0",
2018
- version: "22.2.0-next.7",
2027
+ version: "22.2.0",
2019
2028
  ngImport: i0,
2020
2029
  type: OverlayPositionBuilder,
2021
2030
  deps: [],
@@ -2023,14 +2032,14 @@ class OverlayPositionBuilder {
2023
2032
  });
2024
2033
  static ɵprov = i0.ɵɵngDeclareService({
2025
2034
  minVersion: "22.0.0",
2026
- version: "22.2.0-next.7",
2035
+ version: "22.2.0",
2027
2036
  ngImport: i0,
2028
2037
  type: OverlayPositionBuilder
2029
2038
  });
2030
2039
  }
2031
2040
  i0.ɵɵngDeclareClassMetadata({
2032
2041
  minVersion: "12.0.0",
2033
- version: "22.2.0-next.7",
2042
+ version: "22.2.0",
2034
2043
  ngImport: i0,
2035
2044
  type: OverlayPositionBuilder,
2036
2045
  decorators: [{
@@ -2092,7 +2101,7 @@ class Overlay {
2092
2101
  }
2093
2102
  static ɵfac = i0.ɵɵngDeclareFactory({
2094
2103
  minVersion: "12.0.0",
2095
- version: "22.2.0-next.7",
2104
+ version: "22.2.0",
2096
2105
  ngImport: i0,
2097
2106
  type: Overlay,
2098
2107
  deps: [],
@@ -2100,14 +2109,14 @@ class Overlay {
2100
2109
  });
2101
2110
  static ɵprov = i0.ɵɵngDeclareService({
2102
2111
  minVersion: "22.0.0",
2103
- version: "22.2.0-next.7",
2112
+ version: "22.2.0",
2104
2113
  ngImport: i0,
2105
2114
  type: Overlay
2106
2115
  });
2107
2116
  }
2108
2117
  i0.ɵɵngDeclareClassMetadata({
2109
2118
  minVersion: "12.0.0",
2110
- version: "22.2.0-next.7",
2119
+ version: "22.2.0",
2111
2120
  ngImport: i0,
2112
2121
  type: Overlay,
2113
2122
  decorators: [{
@@ -2147,7 +2156,7 @@ class CdkOverlayOrigin {
2147
2156
  elementRef = inject(ElementRef);
2148
2157
  static ɵfac = i0.ɵɵngDeclareFactory({
2149
2158
  minVersion: "12.0.0",
2150
- version: "22.2.0-next.7",
2159
+ version: "22.2.0",
2151
2160
  ngImport: i0,
2152
2161
  type: CdkOverlayOrigin,
2153
2162
  deps: [],
@@ -2155,7 +2164,7 @@ class CdkOverlayOrigin {
2155
2164
  });
2156
2165
  static ɵdir = i0.ɵɵngDeclareDirective({
2157
2166
  minVersion: "14.0.0",
2158
- version: "22.2.0-next.7",
2167
+ version: "22.2.0",
2159
2168
  type: CdkOverlayOrigin,
2160
2169
  isStandalone: true,
2161
2170
  selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",
@@ -2165,7 +2174,7 @@ class CdkOverlayOrigin {
2165
2174
  }
2166
2175
  i0.ɵɵngDeclareClassMetadata({
2167
2176
  minVersion: "12.0.0",
2168
- version: "22.2.0-next.7",
2177
+ version: "22.2.0",
2169
2178
  ngImport: i0,
2170
2179
  type: CdkOverlayOrigin,
2171
2180
  decorators: [{
@@ -2442,7 +2451,7 @@ class CdkConnectedOverlay {
2442
2451
  }
2443
2452
  static ɵfac = i0.ɵɵngDeclareFactory({
2444
2453
  minVersion: "12.0.0",
2445
- version: "22.2.0-next.7",
2454
+ version: "22.2.0",
2446
2455
  ngImport: i0,
2447
2456
  type: CdkConnectedOverlay,
2448
2457
  deps: [],
@@ -2450,7 +2459,7 @@ class CdkConnectedOverlay {
2450
2459
  });
2451
2460
  static ɵdir = i0.ɵɵngDeclareDirective({
2452
2461
  minVersion: "16.1.0",
2453
- version: "22.2.0-next.7",
2462
+ version: "22.2.0",
2454
2463
  type: CdkConnectedOverlay,
2455
2464
  isStandalone: true,
2456
2465
  selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",
@@ -2476,7 +2485,7 @@ class CdkConnectedOverlay {
2476
2485
  flexibleDimensions: ["cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions", booleanAttribute],
2477
2486
  growAfterOpen: ["cdkConnectedOverlayGrowAfterOpen", "growAfterOpen", booleanAttribute],
2478
2487
  push: ["cdkConnectedOverlayPush", "push", booleanAttribute],
2479
- disposeOnNavigation: ["cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", booleanAttribute],
2488
+ disposeOnNavigation: ["cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", value => value === 'url-change' || value === 'pop-state' ? value : booleanAttribute(value)],
2480
2489
  usePopover: ["cdkConnectedOverlayUsePopover", "usePopover"],
2481
2490
  matchWidth: ["cdkConnectedOverlayMatchWidth", "matchWidth", booleanAttribute],
2482
2491
  _config: ["cdkConnectedOverlay", "_config"]
@@ -2496,7 +2505,7 @@ class CdkConnectedOverlay {
2496
2505
  }
2497
2506
  i0.ɵɵngDeclareClassMetadata({
2498
2507
  minVersion: "12.0.0",
2499
- version: "22.2.0-next.7",
2508
+ version: "22.2.0",
2500
2509
  ngImport: i0,
2501
2510
  type: CdkConnectedOverlay,
2502
2511
  decorators: [{
@@ -2611,7 +2620,7 @@ i0.ɵɵngDeclareClassMetadata({
2611
2620
  type: Input,
2612
2621
  args: [{
2613
2622
  alias: 'cdkConnectedOverlayDisposeOnNavigation',
2614
- transform: booleanAttribute
2623
+ transform: value => value === 'url-change' || value === 'pop-state' ? value : booleanAttribute(value)
2615
2624
  }]
2616
2625
  }],
2617
2626
  usePopover: [{
@@ -2655,7 +2664,7 @@ i0.ɵɵngDeclareClassMetadata({
2655
2664
  class OverlayModule {
2656
2665
  static ɵfac = i0.ɵɵngDeclareFactory({
2657
2666
  minVersion: "12.0.0",
2658
- version: "22.2.0-next.7",
2667
+ version: "22.2.0",
2659
2668
  ngImport: i0,
2660
2669
  type: OverlayModule,
2661
2670
  deps: [],
@@ -2663,7 +2672,7 @@ class OverlayModule {
2663
2672
  });
2664
2673
  static ɵmod = i0.ɵɵngDeclareNgModule({
2665
2674
  minVersion: "14.0.0",
2666
- version: "22.2.0-next.7",
2675
+ version: "22.2.0",
2667
2676
  ngImport: i0,
2668
2677
  type: OverlayModule,
2669
2678
  imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin],
@@ -2671,7 +2680,7 @@ class OverlayModule {
2671
2680
  });
2672
2681
  static ɵinj = i0.ɵɵngDeclareInjector({
2673
2682
  minVersion: "12.0.0",
2674
- version: "22.2.0-next.7",
2683
+ version: "22.2.0",
2675
2684
  ngImport: i0,
2676
2685
  type: OverlayModule,
2677
2686
  providers: [Overlay],
@@ -2680,7 +2689,7 @@ class OverlayModule {
2680
2689
  }
2681
2690
  i0.ɵɵngDeclareClassMetadata({
2682
2691
  minVersion: "12.0.0",
2683
- version: "22.2.0-next.7",
2692
+ version: "22.2.0",
2684
2693
  ngImport: i0,
2685
2694
  type: OverlayModule,
2686
2695
  decorators: [{
@@ -2693,5 +2702,5 @@ i0.ɵɵngDeclareClassMetadata({
2693
2702
  }]
2694
2703
  });
2695
2704
 
2696
- export { BlockScrollStrategy, CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, GlobalPositionStrategy, NoopScrollStrategy, OVERLAY_DEFAULT_CONFIG, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, createBlockScrollStrategy, createCloseScrollStrategy, createFlexibleConnectedPositionStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy, getAttachedOverlays, validateHorizontalPosition, validateVerticalPosition };
2705
+ export { BlockScrollStrategy, CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, GlobalPositionStrategy, NoopScrollStrategy, OVERLAY_DEFAULT_CONFIG, Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, createBlockScrollStrategy, createCloseScrollStrategy, createFlexibleConnectedPositionStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy, validateHorizontalPosition, validateVerticalPosition };
2697
2706
  //# sourceMappingURL=_overlay-module-chunk.mjs.map