@angular/cdk 22.2.0 → 22.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.
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 +58 -46
  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 +31 -31
  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 +3 -3
  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 +15 -9
  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,7 +685,10 @@ class BackdropRef {
685
685
  function isElement(value) {
686
686
  return value && value.nodeType === 1;
687
687
  }
688
- const attachedOverlays = new Set();
688
+ const attachedOverlaysInternal = signal([], ...(ngDevMode ? [{
689
+ debugName: "attachedOverlaysInternal"
690
+ }] : []));
691
+ attachedOverlaysInternal.asReadonly();
689
692
  class OverlayRef {
690
693
  _portalOutlet;
691
694
  _host;
@@ -704,7 +707,7 @@ class OverlayRef {
704
707
  _detachments = new Subject();
705
708
  _positionStrategy;
706
709
  _scrollStrategy;
707
- _locationChanges = Subscription.EMPTY;
710
+ _locationChanges;
708
711
  _backdropRef = null;
709
712
  _detachContentMutationObserver;
710
713
  _detachContentAfterRenderRef;
@@ -754,7 +757,9 @@ class OverlayRef {
754
757
  this._updateStackingOrder();
755
758
  this._updateElementSize();
756
759
  this._updateElementDirection();
757
- attachedOverlays.add(this);
760
+ untracked(() => {
761
+ attachedOverlaysInternal.update(prev => prev.includes(this) ? prev : [...prev, this]);
762
+ });
758
763
  if (this._scrollStrategy) {
759
764
  this._scrollStrategy.enable();
760
765
  }
@@ -776,8 +781,11 @@ class OverlayRef {
776
781
  this._attachments.next();
777
782
  this._completeDetachContent();
778
783
  this._keyboardDispatcher.add(this);
779
- if (this._config.disposeOnNavigation) {
780
- 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());
781
789
  }
782
790
  this._outsideClickDispatcher.add(this);
783
791
  if (typeof attachResult?.onDestroy === 'function') {
@@ -806,9 +814,11 @@ class OverlayRef {
806
814
  this._completeDetachContent();
807
815
  this._keyboardDispatcher.remove(this);
808
816
  this._detachContentWhenEmpty();
809
- this._locationChanges.unsubscribe();
817
+ this._locationChanges?.();
810
818
  this._outsideClickDispatcher.remove(this);
811
- attachedOverlays.delete(this);
819
+ untracked(() => {
820
+ attachedOverlaysInternal.update(prev => prev.filter(o => o !== this));
821
+ });
812
822
  return detachmentResult;
813
823
  }
814
824
  dispose() {
@@ -821,7 +831,7 @@ class OverlayRef {
821
831
  }
822
832
  this._disposeScrollStrategy();
823
833
  this._backdropRef?.dispose();
824
- this._locationChanges.unsubscribe();
834
+ this._locationChanges?.();
825
835
  this._keyboardDispatcher.remove(this);
826
836
  this._portalOutlet.dispose();
827
837
  this._attachments.complete();
@@ -838,7 +848,9 @@ class OverlayRef {
838
848
  this._detachments.complete();
839
849
  this._completeDetachContent();
840
850
  this._disposed = true;
841
- attachedOverlays.delete(this);
851
+ untracked(() => {
852
+ attachedOverlaysInternal.update(prev => prev.filter(o => o !== this));
853
+ });
842
854
  }
843
855
  hasAttached() {
844
856
  return this._portalOutlet.hasAttached();
@@ -2012,7 +2024,7 @@ class OverlayPositionBuilder {
2012
2024
  }
2013
2025
  static ɵfac = i0.ɵɵngDeclareFactory({
2014
2026
  minVersion: "12.0.0",
2015
- version: "22.2.0-next.7",
2027
+ version: "22.2.0",
2016
2028
  ngImport: i0,
2017
2029
  type: OverlayPositionBuilder,
2018
2030
  deps: [],
@@ -2020,14 +2032,14 @@ class OverlayPositionBuilder {
2020
2032
  });
2021
2033
  static ɵprov = i0.ɵɵngDeclareService({
2022
2034
  minVersion: "22.0.0",
2023
- version: "22.2.0-next.7",
2035
+ version: "22.2.0",
2024
2036
  ngImport: i0,
2025
2037
  type: OverlayPositionBuilder
2026
2038
  });
2027
2039
  }
2028
2040
  i0.ɵɵngDeclareClassMetadata({
2029
2041
  minVersion: "12.0.0",
2030
- version: "22.2.0-next.7",
2042
+ version: "22.2.0",
2031
2043
  ngImport: i0,
2032
2044
  type: OverlayPositionBuilder,
2033
2045
  decorators: [{
@@ -2089,7 +2101,7 @@ class Overlay {
2089
2101
  }
2090
2102
  static ɵfac = i0.ɵɵngDeclareFactory({
2091
2103
  minVersion: "12.0.0",
2092
- version: "22.2.0-next.7",
2104
+ version: "22.2.0",
2093
2105
  ngImport: i0,
2094
2106
  type: Overlay,
2095
2107
  deps: [],
@@ -2097,14 +2109,14 @@ class Overlay {
2097
2109
  });
2098
2110
  static ɵprov = i0.ɵɵngDeclareService({
2099
2111
  minVersion: "22.0.0",
2100
- version: "22.2.0-next.7",
2112
+ version: "22.2.0",
2101
2113
  ngImport: i0,
2102
2114
  type: Overlay
2103
2115
  });
2104
2116
  }
2105
2117
  i0.ɵɵngDeclareClassMetadata({
2106
2118
  minVersion: "12.0.0",
2107
- version: "22.2.0-next.7",
2119
+ version: "22.2.0",
2108
2120
  ngImport: i0,
2109
2121
  type: Overlay,
2110
2122
  decorators: [{
@@ -2144,7 +2156,7 @@ class CdkOverlayOrigin {
2144
2156
  elementRef = inject(ElementRef);
2145
2157
  static ɵfac = i0.ɵɵngDeclareFactory({
2146
2158
  minVersion: "12.0.0",
2147
- version: "22.2.0-next.7",
2159
+ version: "22.2.0",
2148
2160
  ngImport: i0,
2149
2161
  type: CdkOverlayOrigin,
2150
2162
  deps: [],
@@ -2152,7 +2164,7 @@ class CdkOverlayOrigin {
2152
2164
  });
2153
2165
  static ɵdir = i0.ɵɵngDeclareDirective({
2154
2166
  minVersion: "14.0.0",
2155
- version: "22.2.0-next.7",
2167
+ version: "22.2.0",
2156
2168
  type: CdkOverlayOrigin,
2157
2169
  isStandalone: true,
2158
2170
  selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",
@@ -2162,7 +2174,7 @@ class CdkOverlayOrigin {
2162
2174
  }
2163
2175
  i0.ɵɵngDeclareClassMetadata({
2164
2176
  minVersion: "12.0.0",
2165
- version: "22.2.0-next.7",
2177
+ version: "22.2.0",
2166
2178
  ngImport: i0,
2167
2179
  type: CdkOverlayOrigin,
2168
2180
  decorators: [{
@@ -2439,7 +2451,7 @@ class CdkConnectedOverlay {
2439
2451
  }
2440
2452
  static ɵfac = i0.ɵɵngDeclareFactory({
2441
2453
  minVersion: "12.0.0",
2442
- version: "22.2.0-next.7",
2454
+ version: "22.2.0",
2443
2455
  ngImport: i0,
2444
2456
  type: CdkConnectedOverlay,
2445
2457
  deps: [],
@@ -2447,7 +2459,7 @@ class CdkConnectedOverlay {
2447
2459
  });
2448
2460
  static ɵdir = i0.ɵɵngDeclareDirective({
2449
2461
  minVersion: "16.1.0",
2450
- version: "22.2.0-next.7",
2462
+ version: "22.2.0",
2451
2463
  type: CdkConnectedOverlay,
2452
2464
  isStandalone: true,
2453
2465
  selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",
@@ -2473,7 +2485,7 @@ class CdkConnectedOverlay {
2473
2485
  flexibleDimensions: ["cdkConnectedOverlayFlexibleDimensions", "flexibleDimensions", booleanAttribute],
2474
2486
  growAfterOpen: ["cdkConnectedOverlayGrowAfterOpen", "growAfterOpen", booleanAttribute],
2475
2487
  push: ["cdkConnectedOverlayPush", "push", booleanAttribute],
2476
- disposeOnNavigation: ["cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", booleanAttribute],
2488
+ disposeOnNavigation: ["cdkConnectedOverlayDisposeOnNavigation", "disposeOnNavigation", value => value === 'url-change' || value === 'pop-state' ? value : booleanAttribute(value)],
2477
2489
  usePopover: ["cdkConnectedOverlayUsePopover", "usePopover"],
2478
2490
  matchWidth: ["cdkConnectedOverlayMatchWidth", "matchWidth", booleanAttribute],
2479
2491
  _config: ["cdkConnectedOverlay", "_config"]
@@ -2493,7 +2505,7 @@ class CdkConnectedOverlay {
2493
2505
  }
2494
2506
  i0.ɵɵngDeclareClassMetadata({
2495
2507
  minVersion: "12.0.0",
2496
- version: "22.2.0-next.7",
2508
+ version: "22.2.0",
2497
2509
  ngImport: i0,
2498
2510
  type: CdkConnectedOverlay,
2499
2511
  decorators: [{
@@ -2608,7 +2620,7 @@ i0.ɵɵngDeclareClassMetadata({
2608
2620
  type: Input,
2609
2621
  args: [{
2610
2622
  alias: 'cdkConnectedOverlayDisposeOnNavigation',
2611
- transform: booleanAttribute
2623
+ transform: value => value === 'url-change' || value === 'pop-state' ? value : booleanAttribute(value)
2612
2624
  }]
2613
2625
  }],
2614
2626
  usePopover: [{
@@ -2652,7 +2664,7 @@ i0.ɵɵngDeclareClassMetadata({
2652
2664
  class OverlayModule {
2653
2665
  static ɵfac = i0.ɵɵngDeclareFactory({
2654
2666
  minVersion: "12.0.0",
2655
- version: "22.2.0-next.7",
2667
+ version: "22.2.0",
2656
2668
  ngImport: i0,
2657
2669
  type: OverlayModule,
2658
2670
  deps: [],
@@ -2660,7 +2672,7 @@ class OverlayModule {
2660
2672
  });
2661
2673
  static ɵmod = i0.ɵɵngDeclareNgModule({
2662
2674
  minVersion: "14.0.0",
2663
- version: "22.2.0-next.7",
2675
+ version: "22.2.0",
2664
2676
  ngImport: i0,
2665
2677
  type: OverlayModule,
2666
2678
  imports: [BidiModule, PortalModule, ScrollingModule, CdkConnectedOverlay, CdkOverlayOrigin],
@@ -2668,7 +2680,7 @@ class OverlayModule {
2668
2680
  });
2669
2681
  static ɵinj = i0.ɵɵngDeclareInjector({
2670
2682
  minVersion: "12.0.0",
2671
- version: "22.2.0-next.7",
2683
+ version: "22.2.0",
2672
2684
  ngImport: i0,
2673
2685
  type: OverlayModule,
2674
2686
  providers: [Overlay],
@@ -2677,7 +2689,7 @@ class OverlayModule {
2677
2689
  }
2678
2690
  i0.ɵɵngDeclareClassMetadata({
2679
2691
  minVersion: "12.0.0",
2680
- version: "22.2.0-next.7",
2692
+ version: "22.2.0",
2681
2693
  ngImport: i0,
2682
2694
  type: OverlayModule,
2683
2695
  decorators: [{