@angular/material 19.2.0-next.1 → 19.2.0-next.3

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 (102) hide show
  1. package/bottom-sheet/index.d.ts +18 -8
  2. package/button/_button-base.scss +4 -4
  3. package/checkbox/_checkbox-common.scss +38 -25
  4. package/chips/index.d.ts +0 -2
  5. package/core/index.d.ts +1 -0
  6. package/datepicker/index.d.ts +3 -3
  7. package/dialog/index.d.ts +10 -3
  8. package/expansion/index.d.ts +7 -4
  9. package/fesm2022/autocomplete.mjs +13 -13
  10. package/fesm2022/autocomplete.mjs.map +1 -1
  11. package/fesm2022/badge.mjs +10 -10
  12. package/fesm2022/badge.mjs.map +1 -1
  13. package/fesm2022/bottom-sheet/testing.mjs +1 -1
  14. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  15. package/fesm2022/bottom-sheet.mjs +138 -50
  16. package/fesm2022/bottom-sheet.mjs.map +1 -1
  17. package/fesm2022/button-toggle.mjs +14 -14
  18. package/fesm2022/button-toggle.mjs.map +1 -1
  19. package/fesm2022/button.mjs +42 -42
  20. package/fesm2022/button.mjs.map +1 -1
  21. package/fesm2022/card.mjs +46 -46
  22. package/fesm2022/card.mjs.map +1 -1
  23. package/fesm2022/checkbox.mjs +16 -16
  24. package/fesm2022/checkbox.mjs.map +1 -1
  25. package/fesm2022/chips.mjs +52 -53
  26. package/fesm2022/chips.mjs.map +1 -1
  27. package/fesm2022/core.mjs +74 -76
  28. package/fesm2022/core.mjs.map +1 -1
  29. package/fesm2022/datepicker.mjs +205 -131
  30. package/fesm2022/datepicker.mjs.map +1 -1
  31. package/fesm2022/dialog.mjs +123 -43
  32. package/fesm2022/dialog.mjs.map +1 -1
  33. package/fesm2022/divider.mjs +7 -7
  34. package/fesm2022/divider.mjs.map +1 -1
  35. package/fesm2022/expansion.mjs +97 -41
  36. package/fesm2022/expansion.mjs.map +1 -1
  37. package/fesm2022/form-field.mjs +68 -43
  38. package/fesm2022/form-field.mjs.map +1 -1
  39. package/fesm2022/grid-list.mjs +22 -22
  40. package/fesm2022/grid-list.mjs.map +1 -1
  41. package/fesm2022/icon/testing.mjs +7 -7
  42. package/fesm2022/icon/testing.mjs.map +1 -1
  43. package/fesm2022/icon.mjs +10 -10
  44. package/fesm2022/icon.mjs.map +1 -1
  45. package/fesm2022/input.mjs +7 -7
  46. package/fesm2022/input.mjs.map +1 -1
  47. package/fesm2022/list.mjs +51 -51
  48. package/fesm2022/list.mjs.map +1 -1
  49. package/fesm2022/menu.mjs +111 -51
  50. package/fesm2022/menu.mjs.map +1 -1
  51. package/fesm2022/paginator.mjs +10 -10
  52. package/fesm2022/paginator.mjs.map +1 -1
  53. package/fesm2022/progress-bar.mjs +7 -7
  54. package/fesm2022/progress-bar.mjs.map +1 -1
  55. package/fesm2022/progress-spinner.mjs +7 -7
  56. package/fesm2022/progress-spinner.mjs.map +1 -1
  57. package/fesm2022/radio.mjs +10 -10
  58. package/fesm2022/radio.mjs.map +1 -1
  59. package/fesm2022/select.mjs +174 -69
  60. package/fesm2022/select.mjs.map +1 -1
  61. package/fesm2022/sidenav.mjs +94 -44
  62. package/fesm2022/sidenav.mjs.map +1 -1
  63. package/fesm2022/slide-toggle.mjs +14 -14
  64. package/fesm2022/slide-toggle.mjs.map +1 -1
  65. package/fesm2022/slider.mjs +16 -16
  66. package/fesm2022/slider.mjs.map +1 -1
  67. package/fesm2022/snack-bar.mjs +179 -91
  68. package/fesm2022/snack-bar.mjs.map +1 -1
  69. package/fesm2022/sort.mjs +299 -56
  70. package/fesm2022/sort.mjs.map +1 -1
  71. package/fesm2022/stepper.mjs +169 -60
  72. package/fesm2022/stepper.mjs.map +1 -1
  73. package/fesm2022/table.mjs +55 -55
  74. package/fesm2022/table.mjs.map +1 -1
  75. package/fesm2022/tabs.mjs +171 -73
  76. package/fesm2022/tabs.mjs.map +1 -1
  77. package/fesm2022/timepicker.mjs +36 -43
  78. package/fesm2022/timepicker.mjs.map +1 -1
  79. package/fesm2022/toolbar.mjs +10 -10
  80. package/fesm2022/toolbar.mjs.map +1 -1
  81. package/fesm2022/tooltip.mjs +46 -19
  82. package/fesm2022/tooltip.mjs.map +1 -1
  83. package/fesm2022/tree.mjs +25 -25
  84. package/fesm2022/tree.mjs.map +1 -1
  85. package/form-field/index.d.ts +1 -2
  86. package/menu/index.d.ts +5 -10
  87. package/package.json +2 -2
  88. package/schematics/ng-add/index.js +1 -1
  89. package/schematics/ng-add/index.mjs +1 -1
  90. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
  91. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
  92. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
  93. package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
  94. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +2 -2
  95. package/select/index.d.ts +12 -11
  96. package/sidenav/index.d.ts +1 -2
  97. package/snack-bar/index.d.ts +9 -8
  98. package/sort/index.d.ts +6 -7
  99. package/stepper/index.d.ts +2 -3
  100. package/tabs/index.d.ts +1 -2
  101. package/timepicker/index.d.ts +4 -1
  102. package/tooltip/index.d.ts +1 -2
@@ -1,5 +1,3 @@
1
- import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
2
- import { AnimationTriggerMetadata } from '@angular/animations';
3
1
  import { CdkDialogContainer } from '@angular/cdk/dialog';
4
2
  import { ComponentRef } from '@angular/core';
5
3
  import { ComponentType } from '@angular/cdk/portal';
@@ -69,9 +67,13 @@ export declare class MatBottomSheet implements OnDestroy {
69
67
  static ɵprov: i0.ɵɵInjectableDeclaration<MatBottomSheet>;
70
68
  }
71
69
 
72
- /** Animations used by the Material bottom sheet. */
70
+ /**
71
+ * Animations used by the Material bottom sheet.
72
+ * @deprecated No longer used. Will be removed.
73
+ * @breaking-change 21.0.0
74
+ */
73
75
  export declare const matBottomSheetAnimations: {
74
- readonly bottomSheetState: AnimationTriggerMetadata;
76
+ readonly bottomSheetState: any;
75
77
  };
76
78
 
77
79
  /**
@@ -94,7 +96,11 @@ export declare class MatBottomSheetConfig<D = any> {
94
96
  disableClose?: boolean;
95
97
  /** Aria label to assign to the bottom sheet element. */
96
98
  ariaLabel?: string | null;
97
- /** Whether this is a modal bottom sheet. Used to set the `aria-modal` attribute. */
99
+ /**
100
+ * Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
101
+ * because it can interfere with other overlay-based components (e.g. `mat-select`) and because
102
+ * it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
103
+ */
98
104
  ariaModal?: boolean;
99
105
  /**
100
106
  * Whether the bottom sheet should close when the user goes backwards/forwards in history.
@@ -129,10 +135,14 @@ export declare class MatBottomSheetConfig<D = any> {
129
135
  */
130
136
  export declare class MatBottomSheetContainer extends CdkDialogContainer implements OnDestroy {
131
137
  private _breakpointSubscription;
138
+ protected _animationsDisabled: boolean;
132
139
  /** The state of the bottom sheet animations. */
133
140
  _animationState: 'void' | 'visible' | 'hidden';
134
141
  /** Emits whenever the state of the animation changes. */
135
- _animationStateChanged: EventEmitter<AnimationEvent_2>;
142
+ _animationStateChanged: EventEmitter<{
143
+ toState: "visible" | "hidden";
144
+ phase: "start" | "done";
145
+ }>;
136
146
  /** Whether the component has been destroyed. */
137
147
  private _destroyed;
138
148
  constructor(...args: unknown[]);
@@ -141,8 +151,8 @@ export declare class MatBottomSheetContainer extends CdkDialogContainer implemen
141
151
  /** Begin animation of the bottom sheet exiting from view. */
142
152
  exit(): void;
143
153
  ngOnDestroy(): void;
144
- _onAnimationDone(event: AnimationEvent_2): void;
145
- _onAnimationStart(event: AnimationEvent_2): void;
154
+ private _simulateAnimation;
155
+ protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
146
156
  protected _captureInitialFocus(): void;
147
157
  static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
148
158
  static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
@@ -52,7 +52,7 @@
52
52
  @include layout-common.fill();
53
53
  }
54
54
 
55
- &:focus .mat-focus-indicator::before {
55
+ &:focus > .mat-focus-indicator::before {
56
56
  content: '';
57
57
  }
58
58
  }
@@ -71,19 +71,19 @@
71
71
  @include token-utils.create-token-slot(background-color, disabled-state-layer-color);
72
72
  }
73
73
 
74
- &:hover .mat-mdc-button-persistent-ripple::before {
74
+ &:hover > .mat-mdc-button-persistent-ripple::before {
75
75
  @include token-utils.create-token-slot(opacity, hover-state-layer-opacity);
76
76
  }
77
77
 
78
78
  &.cdk-program-focused,
79
79
  &.cdk-keyboard-focused,
80
80
  &.mat-mdc-button-disabled-interactive:focus {
81
- .mat-mdc-button-persistent-ripple::before {
81
+ > .mat-mdc-button-persistent-ripple::before {
82
82
  @include token-utils.create-token-slot(opacity, focus-state-layer-opacity);
83
83
  }
84
84
  }
85
85
 
86
- &:active .mat-mdc-button-persistent-ripple::before {
86
+ &:active > .mat-mdc-button-persistent-ripple::before {
87
87
  @include token-utils.create-token-slot(opacity, pressed-state-layer-opacity);
88
88
  }
89
89
  }
@@ -119,15 +119,17 @@ $_fallback-size: 40px;
119
119
  border-color: transparent;
120
120
  }
121
121
 
122
- .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
122
+ // stylelint-disable selector-combinator-space-before
123
+ .mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background,
123
124
  .mdc-checkbox:hover
124
- .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
125
+ > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background {
125
126
  @include token-utils.create-token-slot(border-color, unselected-hover-icon-color);
126
127
  background-color: transparent;
127
128
  }
129
+ // stylelint-enable selector-combinator-space-before
128
130
 
129
- .mdc-checkbox:hover .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
130
- .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
131
+ .mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,
132
+ .mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
131
133
  @include token-utils.create-token-slot(border-color, selected-hover-icon-color);
132
134
  @include token-utils.create-token-slot(background-color, selected-hover-icon-color);
133
135
  }
@@ -147,7 +149,7 @@ $_fallback-size: 40px;
147
149
 
148
150
  // Needs extra specificity to override the focus, hover, active states.
149
151
  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive {
150
- .mdc-checkbox:hover .mdc-checkbox__native-control ~ .mdc-checkbox__background,
152
+ .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background,
151
153
  .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background,
152
154
  .mdc-checkbox__background {
153
155
  @include token-utils.create-token-slot(border-color, disabled-unselected-icon-color);
@@ -306,31 +308,31 @@ $_fallback-size: 40px;
306
308
  transition: border-color $_transition-duration $_enter-curve,
307
309
  background-color $_transition-duration $_enter-curve;
308
310
 
309
- .mdc-checkbox__checkmark-path {
311
+ > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path {
310
312
  stroke-dashoffset: 0;
311
313
  }
312
314
  }
313
315
 
314
316
  .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background {
315
- .mdc-checkbox__checkmark {
317
+ > .mdc-checkbox__checkmark {
316
318
  transition: opacity $_transition-duration * 2 $_enter-curve,
317
319
  transform $_transition-duration * 2 $_enter-curve;
318
320
  opacity: 1;
319
321
  }
320
322
 
321
- .mdc-checkbox__mixedmark {
323
+ > .mdc-checkbox__mixedmark {
322
324
  transform: scaleX(1) rotate(-45deg);
323
325
  }
324
326
  }
325
327
  .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background {
326
- .mdc-checkbox__checkmark {
328
+ > .mdc-checkbox__checkmark {
327
329
  transform: rotate(45deg);
328
330
  opacity: 0;
329
331
  transition: opacity $_transition-duration $_exit-curve,
330
332
  transform $_transition-duration $_exit-curve;
331
333
  }
332
334
 
333
- .mdc-checkbox__mixedmark {
335
+ > .mdc-checkbox__mixedmark {
334
336
  transform: scaleX(1) rotate(0deg);
335
337
  opacity: 1;
336
338
  }
@@ -445,11 +447,22 @@ $_fallback-size: 40px;
445
447
 
446
448
  // Conditionally disables the animations of the checkbox.
447
449
  @mixin checkbox-noop-animations() {
448
- &._mat-animation-noopable .mdc-checkbox {
449
- *, *::before {
450
- transition: none !important;
451
- animation: none !important;
452
- }
450
+ &._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox {
451
+ @include checkbox-noop-animations-internal;
452
+ }
453
+ }
454
+
455
+ @mixin checkbox-noop-animations-internal() {
456
+ > .mat-mdc-checkbox-touch-target,
457
+ > .mdc-checkbox__native-control,
458
+ > .mdc-checkbox__ripple,
459
+ > .mat-mdc-checkbox-ripple::before,
460
+ > .mdc-checkbox__background,
461
+ > .mdc-checkbox__background > .mdc-checkbox__checkmark,
462
+ > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path,
463
+ > .mdc-checkbox__background > .mdc-checkbox__mixedmark {
464
+ transition: none !important;
465
+ animation: none !important;
453
466
  }
454
467
  }
455
468
 
@@ -457,7 +470,7 @@ $_fallback-size: 40px;
457
470
  // MDC expects `.mdc-checkbox__ripple::before` to be the state layer, but we use
458
471
  // `.mdc-checkbox__ripple` instead, so we emit the state layer slots ourselves.
459
472
  &:hover {
460
- .mdc-checkbox__ripple {
473
+ > .mdc-checkbox__ripple {
461
474
  @include token-utils.create-token-slot(opacity, unselected-hover-state-layer-opacity);
462
475
  @include token-utils.create-token-slot(
463
476
  background-color,
@@ -465,7 +478,7 @@ $_fallback-size: 40px;
465
478
  );
466
479
  }
467
480
 
468
- .mat-mdc-checkbox-ripple .mat-ripple-element {
481
+ > .mat-mdc-checkbox-ripple > .mat-ripple-element {
469
482
  @include token-utils.create-token-slot(
470
483
  background-color,
471
484
  unselected-hover-state-layer-color
@@ -474,7 +487,7 @@ $_fallback-size: 40px;
474
487
  }
475
488
 
476
489
  .mdc-checkbox__native-control:focus {
477
- & ~ .mdc-checkbox__ripple {
490
+ & + .mdc-checkbox__ripple {
478
491
  @include token-utils.create-token-slot(opacity, unselected-focus-state-layer-opacity);
479
492
  @include token-utils.create-token-slot(
480
493
  background-color,
@@ -490,8 +503,8 @@ $_fallback-size: 40px;
490
503
  }
491
504
  }
492
505
 
493
- &:active .mdc-checkbox__native-control {
494
- & ~ .mdc-checkbox__ripple {
506
+ &:active > .mdc-checkbox__native-control {
507
+ & + .mdc-checkbox__ripple {
495
508
  @include token-utils.create-token-slot(opacity, unselected-pressed-state-layer-opacity);
496
509
  @include token-utils.create-token-slot(
497
510
  background-color,
@@ -508,7 +521,7 @@ $_fallback-size: 40px;
508
521
  }
509
522
 
510
523
  &:hover .mdc-checkbox__native-control:checked {
511
- & ~ .mdc-checkbox__ripple {
524
+ & + .mdc-checkbox__ripple {
512
525
  @include token-utils.create-token-slot(opacity, selected-hover-state-layer-opacity);
513
526
  @include token-utils.create-token-slot(
514
527
  background-color,
@@ -525,7 +538,7 @@ $_fallback-size: 40px;
525
538
  }
526
539
 
527
540
  .mdc-checkbox__native-control:focus:checked {
528
- & ~ .mdc-checkbox__ripple {
541
+ & + .mdc-checkbox__ripple {
529
542
  @include token-utils.create-token-slot(opacity, selected-focus-state-layer-opacity);
530
543
  @include token-utils.create-token-slot(
531
544
  background-color,
@@ -541,8 +554,8 @@ $_fallback-size: 40px;
541
554
  }
542
555
  }
543
556
 
544
- &:active .mdc-checkbox__native-control:checked {
545
- & ~ .mdc-checkbox__ripple {
557
+ &:active > .mdc-checkbox__native-control:checked {
558
+ & + .mdc-checkbox__ripple {
546
559
  @include token-utils.create-token-slot(opacity, selected-pressed-state-layer-opacity);
547
560
  @include token-utils.create-token-slot(
548
561
  background-color,
@@ -561,7 +574,7 @@ $_fallback-size: 40px;
561
574
  // Needs extra specificity to override the focus, hover, active states.
562
575
  .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive & {
563
576
  .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element,
564
- .mdc-checkbox__native-control ~ .mdc-checkbox__ripple {
577
+ .mdc-checkbox__native-control + .mdc-checkbox__ripple {
565
578
  @include token-utils.create-token-slot(
566
579
  background-color,
567
580
  unselected-hover-state-layer-color
package/chips/index.d.ts CHANGED
@@ -600,8 +600,6 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
600
600
  */
601
601
  _onChange: (value: any) => void;
602
602
  protected _defaultRole: string;
603
- /** Value that was assigned before the listbox was initialized. */
604
- private _pendingInitialValue;
605
603
  /** Default chip options. */
606
604
  private _defaultOptions;
607
605
  /** Whether the user should be allowed to select multiple chips. */
package/core/index.d.ts CHANGED
@@ -794,6 +794,7 @@ export declare class MatRippleLoader implements OnDestroy {
794
794
  private _platform;
795
795
  private _ngZone;
796
796
  private _injector;
797
+ private _eventCleanups;
797
798
  private _hosts;
798
799
  constructor();
799
800
  ngOnDestroy(): void;
@@ -2,7 +2,6 @@ import { AbstractControl } from '@angular/forms';
2
2
  import { AfterContentInit } from '@angular/core';
3
3
  import { AfterViewChecked } from '@angular/core';
4
4
  import { AfterViewInit } from '@angular/core';
5
- import { AnimationTriggerMetadata } from '@angular/animations';
6
5
  import { ChangeDetectorRef } from '@angular/core';
7
6
  import { ComponentType } from '@angular/cdk/portal';
8
7
  import { ControlValueAccessor } from '@angular/forms';
@@ -385,6 +384,7 @@ export declare class MatCalendarBody<D = any> implements OnChanges, OnDestroy, A
385
384
  private _ngZone;
386
385
  private _platform;
387
386
  private _intl;
387
+ private _eventCleanups;
388
388
  /**
389
389
  * Used to skip the next focus event when rendering the preview range.
390
390
  * We need a flag like this, because some browsers fire focus events asynchronously.
@@ -663,8 +663,8 @@ export declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
663
663
  * @breaking-change 21.0.0
664
664
  */
665
665
  export declare const matDatepickerAnimations: {
666
- readonly transformPanel: AnimationTriggerMetadata;
667
- readonly fadeInCalendar: AnimationTriggerMetadata;
666
+ readonly transformPanel: any;
667
+ readonly fadeInCalendar: any;
668
668
  };
669
669
 
670
670
  /** Button that will close the datepicker and assign the current selection to the data model. */
package/dialog/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
1
  import { CdkDialogContainer } from '@angular/cdk/dialog';
3
2
  import { ComponentPortal } from '@angular/cdk/portal';
4
3
  import { ComponentRef } from '@angular/core';
@@ -43,6 +42,8 @@ export declare function _closeDialogVia<R>(ref: MatDialogRef<R>, interactionType
43
42
  /**
44
43
  * Default parameters for the animation for backwards compatibility.
45
44
  * @docs-private
45
+ * @deprecated Will stop being exported.
46
+ * @breaking-change 21.0.0
46
47
  */
47
48
  export declare const _defaultParams: {
48
49
  params: {
@@ -193,9 +194,11 @@ export declare class MatDialogActions extends MatDialogLayoutSection {
193
194
  /**
194
195
  * Animations used by MatDialog.
195
196
  * @docs-private
197
+ * @deprecated No longer used, will be removed.
198
+ * @breaking-change 21.0.0
196
199
  */
197
200
  export declare const matDialogAnimations: {
198
- readonly dialogContainer: AnimationTriggerMetadata;
201
+ readonly dialogContainer: any;
199
202
  };
200
203
 
201
204
  /**
@@ -272,7 +275,11 @@ export declare class MatDialogConfig<D = any> {
272
275
  ariaLabelledBy?: string | null;
273
276
  /** Aria label to assign to the dialog element. */
274
277
  ariaLabel?: string | null;
275
- /** Whether this is a modal dialog. Used to set the `aria-modal` attribute. */
278
+ /**
279
+ * Whether this is a modal dialog. Used to set the `aria-modal` attribute. Off by default,
280
+ * because it can interfere with other overlay-based components (e.g. `mat-select`) and because
281
+ * it is redundant since the dialog marks all outside content as `aria-hidden` anyway.
282
+ */
276
283
  ariaModal?: boolean;
277
284
  /**
278
285
  * Where the dialog should focus on open.
@@ -1,6 +1,5 @@
1
1
  import { AfterContentInit } from '@angular/core';
2
2
  import { AfterViewInit } from '@angular/core';
3
- import { AnimationTriggerMetadata } from '@angular/animations';
4
3
  import { CdkAccordion } from '@angular/cdk/accordion';
5
4
  import { CdkAccordionItem } from '@angular/cdk/accordion';
6
5
  import { ElementRef } from '@angular/core';
@@ -20,7 +19,11 @@ import { Subject } from 'rxjs';
20
19
  import { TemplatePortal } from '@angular/cdk/portal';
21
20
  import { TemplateRef } from '@angular/core';
22
21
 
23
- /** Time and timing curve for expansion panel animations. */
22
+ /**
23
+ * Time and timing curve for expansion panel animations.
24
+ * @deprecated No longer used. Will be removed.
25
+ * @breaking-change 21.0.0
26
+ */
24
27
  export declare const EXPANSION_PANEL_ANIMATION_TIMING = "225ms cubic-bezier(0.4,0.0,0.2,1)";
25
28
 
26
29
  declare namespace i4 {
@@ -151,8 +154,8 @@ export declare type MatAccordionTogglePosition = 'before' | 'after';
151
154
  * @breaking-change 21.0.0
152
155
  */
153
156
  export declare const matExpansionAnimations: {
154
- readonly indicatorRotate: AnimationTriggerMetadata;
155
- readonly bodyExpansion: AnimationTriggerMetadata;
157
+ readonly indicatorRotate: any;
158
+ readonly bodyExpansion: any;
156
159
  };
157
160
 
158
161
  export declare class MatExpansionModule {
@@ -223,10 +223,10 @@ class MatAutocomplete {
223
223
  _skipPredicate() {
224
224
  return false;
225
225
  }
226
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
227
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.0-rc.0", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
226
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
227
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.3", type: MatAutocomplete, isStandalone: true, selector: "mat-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", disableRipple: ["disableRipple", "disableRipple", booleanAttribute], classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "options", predicate: MatOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["matAutocomplete"], ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [class]=\"_classList\"\n [class.mat-mdc-autocomplete-visible]=\"showPanel\"\n [class.mat-mdc-autocomplete-hidden]=\"!showPanel\"\n [class.mat-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\n [class.mat-primary]=\"_color === 'primary'\"\n [class.mat-accent]=\"_color === 'accent'\"\n [class.mat-warn]=\"_color === 'warn'\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: ["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
228
228
  }
229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocomplete, decorators: [{
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocomplete, decorators: [{
230
230
  type: Component,
231
231
  args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
232
232
  'class': 'mat-mdc-autocomplete',
@@ -288,10 +288,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ng
288
288
  class MatAutocompleteOrigin {
289
289
  elementRef = inject(ElementRef);
290
290
  constructor() { }
291
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
292
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0-rc.0", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
291
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteOrigin, deps: [], target: i0.ɵɵFactoryTarget.Directive });
292
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.3", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 });
293
293
  }
294
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
295
295
  type: Directive,
296
296
  args: [{
297
297
  selector: '[matAutocompleteOrigin]',
@@ -1135,10 +1135,10 @@ class MatAutocompleteTrigger {
1135
1135
  this._trackedModal = null;
1136
1136
  }
1137
1137
  }
1138
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1139
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0-rc.0", type: MatAutocompleteTrigger, isStandalone: true, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: { autocomplete: ["matAutocomplete", "autocomplete"], position: ["matAutocompletePosition", "position"], connectedTo: ["matAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["matAutocompleteDisabled", "autocompleteDisabled", booleanAttribute] }, host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-controls": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-mdc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesOnChanges: true, ngImport: i0 });
1138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1139
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.3", type: MatAutocompleteTrigger, isStandalone: true, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: { autocomplete: ["matAutocomplete", "autocomplete"], position: ["matAutocompletePosition", "position"], connectedTo: ["matAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["matAutocompleteDisabled", "autocompleteDisabled", booleanAttribute] }, host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-controls": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-mdc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesOnChanges: true, ngImport: i0 });
1140
1140
  }
1141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
1141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
1142
1142
  type: Directive,
1143
1143
  args: [{
1144
1144
  selector: `input[matAutocomplete], textarea[matAutocomplete]`,
@@ -1180,8 +1180,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ng
1180
1180
  }] } });
1181
1181
 
1182
1182
  class MatAutocompleteModule {
1183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1184
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
1183
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1184
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
1185
1185
  MatOptionModule,
1186
1186
  MatCommonModule,
1187
1187
  MatAutocomplete,
@@ -1192,13 +1192,13 @@ class MatAutocompleteModule {
1192
1192
  MatCommonModule,
1193
1193
  MatAutocompleteTrigger,
1194
1194
  MatAutocompleteOrigin] });
1195
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
1195
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
1196
1196
  MatOptionModule,
1197
1197
  MatCommonModule, CdkScrollableModule,
1198
1198
  MatOptionModule,
1199
1199
  MatCommonModule] });
1200
1200
  }
1201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-rc.0", ngImport: i0, type: MatAutocompleteModule, decorators: [{
1201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.3", ngImport: i0, type: MatAutocompleteModule, decorators: [{
1202
1202
  type: NgModule,
1203
1203
  args: [{
1204
1204
  imports: [