@angular/material 21.0.0-next.0 → 21.0.0-next.2

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 (200) hide show
  1. package/_index.scss +1 -1
  2. package/autocomplete/index.d.ts +1 -23
  3. package/bottom-sheet/index.d.ts +1 -10
  4. package/button/index.d.ts +1 -7
  5. package/button-toggle/index.d.ts +1 -1
  6. package/button-toggle.d.d.ts +1 -7
  7. package/checkbox/index.d.ts +1 -7
  8. package/chips/_m3-chip.scss +5 -2
  9. package/chips/index.d.ts +19 -18
  10. package/core/index.d.ts +1 -1
  11. package/core/tokens/_classes.scss +40 -38
  12. package/date-adapter.d.d.ts +1 -7
  13. package/datepicker/index.d.ts +2 -55
  14. package/dialog/index.d.ts +1 -23
  15. package/expansion/index.d.ts +1 -36
  16. package/fesm2022/animation.mjs.map +1 -1
  17. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  18. package/fesm2022/autocomplete.mjs +17 -45
  19. package/fesm2022/autocomplete.mjs.map +1 -1
  20. package/fesm2022/badge/testing.mjs.map +1 -1
  21. package/fesm2022/badge.mjs +10 -10
  22. package/fesm2022/badge.mjs.map +1 -1
  23. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  24. package/fesm2022/bottom-sheet.mjs +11 -92
  25. package/fesm2022/bottom-sheet.mjs.map +1 -1
  26. package/fesm2022/button/testing.mjs.map +1 -1
  27. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  28. package/fesm2022/button-toggle.mjs +15 -23
  29. package/fesm2022/button-toggle.mjs.map +1 -1
  30. package/fesm2022/button.mjs +19 -27
  31. package/fesm2022/button.mjs.map +1 -1
  32. package/fesm2022/card/testing.mjs.map +1 -1
  33. package/fesm2022/card.mjs +46 -46
  34. package/fesm2022/card.mjs.map +1 -1
  35. package/fesm2022/checkbox/testing.mjs.map +1 -1
  36. package/fesm2022/checkbox.mjs +17 -26
  37. package/fesm2022/checkbox.mjs.map +1 -1
  38. package/fesm2022/chips/testing.mjs.map +1 -1
  39. package/fesm2022/chips.mjs +123 -111
  40. package/fesm2022/chips.mjs.map +1 -1
  41. package/fesm2022/common-module.mjs +4 -4
  42. package/fesm2022/common-module.mjs.map +1 -1
  43. package/fesm2022/core/testing.mjs.map +1 -1
  44. package/fesm2022/core.mjs +12 -13
  45. package/fesm2022/core.mjs.map +1 -1
  46. package/fesm2022/date-formats.mjs +2 -10
  47. package/fesm2022/date-formats.mjs.map +1 -1
  48. package/fesm2022/date-range-input-harness.mjs.map +1 -1
  49. package/fesm2022/datepicker/testing.mjs.map +1 -1
  50. package/fesm2022/datepicker.mjs +109 -260
  51. package/fesm2022/datepicker.mjs.map +1 -1
  52. package/fesm2022/dialog/testing.mjs +5 -5
  53. package/fesm2022/dialog/testing.mjs.map +1 -1
  54. package/fesm2022/dialog.mjs +882 -114
  55. package/fesm2022/dialog.mjs.map +1 -1
  56. package/fesm2022/divider/testing.mjs.map +1 -1
  57. package/fesm2022/divider.mjs +7 -7
  58. package/fesm2022/divider.mjs.map +1 -1
  59. package/fesm2022/error-options.mjs +6 -6
  60. package/fesm2022/error-options.mjs.map +1 -1
  61. package/fesm2022/error-state.mjs.map +1 -1
  62. package/fesm2022/expansion/testing.mjs.map +1 -1
  63. package/fesm2022/expansion.mjs +26 -128
  64. package/fesm2022/expansion.mjs.map +1 -1
  65. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  66. package/fesm2022/form-field/testing.mjs.map +1 -1
  67. package/fesm2022/form-field.mjs +37 -49
  68. package/fesm2022/form-field.mjs.map +1 -1
  69. package/fesm2022/form-field2.mjs +30 -30
  70. package/fesm2022/form-field2.mjs.map +1 -1
  71. package/fesm2022/grid-list/testing.mjs.map +1 -1
  72. package/fesm2022/grid-list.mjs +22 -22
  73. package/fesm2022/grid-list.mjs.map +1 -1
  74. package/fesm2022/icon/testing.mjs +7 -7
  75. package/fesm2022/icon/testing.mjs.map +1 -1
  76. package/fesm2022/icon-button.mjs +6 -6
  77. package/fesm2022/icon-button.mjs.map +1 -1
  78. package/fesm2022/icon-registry.mjs +5 -32
  79. package/fesm2022/icon-registry.mjs.map +1 -1
  80. package/fesm2022/icon.mjs +18 -24
  81. package/fesm2022/icon.mjs.map +1 -1
  82. package/fesm2022/input/testing.mjs.map +1 -1
  83. package/fesm2022/input-harness.mjs.map +1 -1
  84. package/fesm2022/input-value-accessor.mjs.map +1 -1
  85. package/fesm2022/input.mjs +8 -8
  86. package/fesm2022/input.mjs.map +1 -1
  87. package/fesm2022/internal-form-field.mjs +3 -3
  88. package/fesm2022/internal-form-field.mjs.map +1 -1
  89. package/fesm2022/line.mjs +7 -7
  90. package/fesm2022/line.mjs.map +1 -1
  91. package/fesm2022/list/testing.mjs.map +1 -1
  92. package/fesm2022/list.mjs +49 -49
  93. package/fesm2022/list.mjs.map +1 -1
  94. package/fesm2022/material.mjs.map +1 -1
  95. package/fesm2022/menu/testing.mjs.map +1 -1
  96. package/fesm2022/menu.mjs +26 -173
  97. package/fesm2022/menu.mjs.map +1 -1
  98. package/fesm2022/option-harness.mjs.map +1 -1
  99. package/fesm2022/option-module.mjs +4 -4
  100. package/fesm2022/option-module.mjs.map +1 -1
  101. package/fesm2022/option.mjs +6 -6
  102. package/fesm2022/option.mjs.map +1 -1
  103. package/fesm2022/paginator/testing.mjs.map +1 -1
  104. package/fesm2022/paginator.mjs +18 -37
  105. package/fesm2022/paginator.mjs.map +1 -1
  106. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  107. package/fesm2022/progress-bar.mjs +20 -23
  108. package/fesm2022/progress-bar.mjs.map +1 -1
  109. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  110. package/fesm2022/progress-spinner.mjs +9 -17
  111. package/fesm2022/progress-spinner.mjs.map +1 -1
  112. package/fesm2022/pseudo-checkbox-module.mjs +4 -4
  113. package/fesm2022/pseudo-checkbox-module.mjs.map +1 -1
  114. package/fesm2022/pseudo-checkbox.mjs +3 -3
  115. package/fesm2022/pseudo-checkbox.mjs.map +1 -1
  116. package/fesm2022/public-api.mjs.map +1 -1
  117. package/fesm2022/radio/testing.mjs.map +1 -1
  118. package/fesm2022/radio.mjs +14 -22
  119. package/fesm2022/radio.mjs.map +1 -1
  120. package/fesm2022/ripple-loader.mjs +3 -3
  121. package/fesm2022/ripple-loader.mjs.map +1 -1
  122. package/fesm2022/ripple-module.mjs +4 -4
  123. package/fesm2022/ripple-module.mjs.map +1 -1
  124. package/fesm2022/ripple.mjs +8 -8
  125. package/fesm2022/ripple.mjs.map +1 -1
  126. package/fesm2022/select/testing.mjs.map +1 -1
  127. package/fesm2022/select.mjs +1293 -90
  128. package/fesm2022/select.mjs.map +1 -1
  129. package/fesm2022/sidenav/testing.mjs.map +1 -1
  130. package/fesm2022/sidenav.mjs +24 -110
  131. package/fesm2022/sidenav.mjs.map +1 -1
  132. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  133. package/fesm2022/slide-toggle.mjs +7 -7
  134. package/fesm2022/slide-toggle.mjs.map +1 -1
  135. package/fesm2022/slider/testing.mjs.map +1 -1
  136. package/fesm2022/slider.mjs +16 -16
  137. package/fesm2022/slider.mjs.map +1 -1
  138. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  139. package/fesm2022/snack-bar.mjs +24 -102
  140. package/fesm2022/snack-bar.mjs.map +1 -1
  141. package/fesm2022/sort/testing.mjs.map +1 -1
  142. package/fesm2022/sort.mjs +20 -344
  143. package/fesm2022/sort.mjs.map +1 -1
  144. package/fesm2022/stepper/testing.mjs.map +1 -1
  145. package/fesm2022/stepper.mjs +34 -201
  146. package/fesm2022/stepper.mjs.map +1 -1
  147. package/fesm2022/structural-styles.mjs +3 -3
  148. package/fesm2022/structural-styles.mjs.map +1 -1
  149. package/fesm2022/table/testing.mjs.map +1 -1
  150. package/fesm2022/table.mjs +55 -55
  151. package/fesm2022/table.mjs.map +1 -1
  152. package/fesm2022/tabs/testing.mjs.map +1 -1
  153. package/fesm2022/tabs.mjs +51 -196
  154. package/fesm2022/tabs.mjs.map +1 -1
  155. package/fesm2022/timepicker/testing.mjs.map +1 -1
  156. package/fesm2022/timepicker.mjs +13 -13
  157. package/fesm2022/timepicker.mjs.map +1 -1
  158. package/fesm2022/toolbar/testing.mjs.map +1 -1
  159. package/fesm2022/toolbar.mjs +10 -10
  160. package/fesm2022/toolbar.mjs.map +1 -1
  161. package/fesm2022/tooltip/testing.mjs.map +1 -1
  162. package/fesm2022/tooltip.mjs +21 -52
  163. package/fesm2022/tooltip.mjs.map +1 -1
  164. package/fesm2022/{tooltip-module.mjs → tooltip2.mjs} +17 -60
  165. package/fesm2022/tooltip2.mjs.map +1 -0
  166. package/fesm2022/tree/testing.mjs.map +1 -1
  167. package/fesm2022/tree.mjs +25 -25
  168. package/fesm2022/tree.mjs.map +1 -1
  169. package/form-field/index.d.ts +1 -11
  170. package/icon/index.d.ts +2 -2
  171. package/icon-module.d.d.ts +1 -7
  172. package/icon-registry.d.d.ts +2 -18
  173. package/menu/index.d.ts +1 -42
  174. package/package.json +2 -2
  175. package/paginator/index.d.ts +3 -3
  176. package/paginator.d.d.ts +2 -18
  177. package/progress-bar/index.d.ts +1 -7
  178. package/progress-spinner/index.d.ts +1 -1
  179. package/progress-spinner.d.d.ts +3 -9
  180. package/radio/index.d.ts +1 -7
  181. package/ripple.d.d.ts +3 -3
  182. package/schematics/ng-add/index.js +1 -1
  183. package/schematics/ng-update/index_bundled.js +7 -3
  184. package/schematics/ng-update/index_bundled.js.map +1 -1
  185. package/select/index.d.ts +439 -27
  186. package/sidenav/index.d.ts +1 -17
  187. package/snack-bar/index.d.ts +1 -17
  188. package/sort/index.d.ts +2 -33
  189. package/stepper/index.d.ts +2 -29
  190. package/tabs/index.d.ts +1 -18
  191. package/tooltip/index.d.ts +302 -16
  192. package/fesm2022/dialog-module.mjs +0 -891
  193. package/fesm2022/dialog-module.mjs.map +0 -1
  194. package/fesm2022/form-field-module.mjs +0 -39
  195. package/fesm2022/form-field-module.mjs.map +0 -1
  196. package/fesm2022/select-module.mjs +0 -1318
  197. package/fesm2022/select-module.mjs.map +0 -1
  198. package/fesm2022/tooltip-module.mjs.map +0 -1
  199. package/select-module.d.d.ts +0 -456
  200. package/tooltip-module.d.d.ts +0 -329
@@ -119,7 +119,8 @@ var require_data = __commonJS({
119
119
  "src/material/schematics/ng-update/data/index.js"(exports2) {
120
120
  "use strict";
121
121
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
122
- if (k2 === void 0) k2 = k;
122
+ if (k2 === void 0)
123
+ k2 = k;
123
124
  var desc = Object.getOwnPropertyDescriptor(m, k);
124
125
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
125
126
  desc = { enumerable: true, get: function() {
@@ -128,11 +129,14 @@ var require_data = __commonJS({
128
129
  }
129
130
  Object.defineProperty(o, k2, desc);
130
131
  } : function(o, m, k, k2) {
131
- if (k2 === void 0) k2 = k;
132
+ if (k2 === void 0)
133
+ k2 = k;
132
134
  o[k2] = m[k];
133
135
  });
134
136
  var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
135
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
137
+ for (var p in m)
138
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p))
139
+ __createBinding(exports3, m, p);
136
140
  };
137
141
  Object.defineProperty(exports2, "__esModule", { value: true });
138
142
  __exportStar(require_attribute_selectors(), exports2);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["data/attribute-selectors.ts", "data/class-names.ts", "data/constructor-checks.ts", "data/css-selectors.ts", "data/css-tokens.ts", "data/element-selectors.ts", "data/input-names.ts", "data/method-call-checks.ts", "data/output-names.ts", "data/property-names.ts", "data/symbol-removal.ts", "data/index.ts", "upgrade-data.ts", "index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAUa,IAAAA,SAAA,qBAAmE,CAAA;;;;;;;;;;ACAnE,IAAAC,SAAA,aAAmD,CAAA;;;;;;;;;;ACKnD,IAAAC,SAAA,oBAAkE,CAAA;;;;;;;;;;ACclE,IAAAC,SAAA,eAAwD,CAAA;;;;;;;;;;ACAxD,IAAAC,SAAA,YAAkD,CAAA;;;;;;;;;;ACnBlD,IAAAC,SAAA,mBAA+D,CAAA;;;;;;;;;;ACA/D,IAAAC,SAAA,aAAmD,CAAA;;;;;;;;;;ACAnD,IAAAC,SAAA,mBAA0D,CAAA;;;;;;;;;;ACA1D,IAAAC,SAAA,cAAqD,CAAA;;;;;;;;;;ACArD,IAAAC,SAAA,gBAAyD,CAAA;;;;;;;;;;ACAzD,IAAAC,SAAA,gBAA0D,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACFvE,iBAAA,+BAAAC,QAAA;AACA,iBAAA,uBAAAA,QAAA;AACA,iBAAA,8BAAAA,QAAA;AACA,iBAAA,yBAAAA,QAAA;AACA,iBAAA,sBAAAA,QAAA;AACA,iBAAA,6BAAAA,QAAA;AACA,iBAAA,uBAAAA,QAAA;AACA,iBAAA,8BAAAA,QAAA;AACA,iBAAA,wBAAAA,QAAA;AACA,iBAAA,0BAAAA,QAAA;AACA,iBAAA,0BAAAA,QAAA;;;;;;;;;;ACTA,QAAA,SAAA;AAea,IAAAC,SAAA,sBAAmC;MAC9C,oBAAA,OAAA;MACA,YAAA,OAAA;MACA,mBAAA,OAAA;MACA,cAAA,OAAA;MACA,WAAA,OAAA;MACA,kBAAA,OAAA;MACA,YAAA,OAAA;MACA,kBAAA,OAAA;MACA,aAAA,OAAA;MACA,eAAA,OAAA;MACA,eAAA,OAAA;;;;;;;ACfF,QAAA,cAAA;AAZA,IAAA,eAAA,QAAA,4BAAA;AACA,IAAA,eAAA,QAAA,yBAAA;AAMA,IAAA,iBAAA;AAEA,IAAM,qBAAgD,CAAA;AAGtD,SAAgB,cAAW;AACzB,UAAO,GAAA,aAAA,OAAM;KACX,GAAA,aAAA,8BAA6B,aAAA,cAAc,KAAK,oBAAoB,eAAA,mBAAmB;GACxF;AACH;",
4
+ "mappings": ";;;;;;;;;;;;AAUa,IAAAA,SAAA,qBAAmE,CAAA;;;;;;;;;;ACAnE,IAAAC,SAAA,aAAmD,CAAA;;;;;;;;;;ACKnD,IAAAC,SAAA,oBAAkE,CAAA;;;;;;;;;;ACclE,IAAAC,SAAA,eAAwD,CAAA;;;;;;;;;;ACAxD,IAAAC,SAAA,YAAkD,CAAA;;;;;;;;;;ACnBlD,IAAAC,SAAA,mBAA+D,CAAA;;;;;;;;;;ACA/D,IAAAC,SAAA,aAAmD,CAAA;;;;;;;;;;ACAnD,IAAAC,SAAA,mBAA0D,CAAA;;;;;;;;;;ACA1D,IAAAC,SAAA,cAAqD,CAAA;;;;;;;;;;ACArD,IAAAC,SAAA,gBAAyD,CAAA;;;;;;;;;;ACAzD,IAAAC,SAAA,gBAA0D,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACFvE,iBAAA,+BAAAC,QAAA;AACA,iBAAA,uBAAAA,QAAA;AACA,iBAAA,8BAAAA,QAAA;AACA,iBAAA,yBAAAA,QAAA;AACA,iBAAA,sBAAAA,QAAA;AACA,iBAAA,6BAAAA,QAAA;AACA,iBAAA,uBAAAA,QAAA;AACA,iBAAA,8BAAAA,QAAA;AACA,iBAAA,wBAAAA,QAAA;AACA,iBAAA,0BAAAA,QAAA;AACA,iBAAA,0BAAAA,QAAA;;;;;;;;;;ACTA,QAAA,SAAA;AAea,IAAAC,SAAA,sBAAmC;MAC9C,oBAAA,OAAA;MACA,YAAA,OAAA;MACA,mBAAA,OAAA;MACA,cAAA,OAAA;MACA,WAAA,OAAA;MACA,kBAAA,OAAA;MACA,YAAA,OAAA;MACA,kBAAA,OAAA;MACA,aAAA,OAAA;MACA,eAAA,OAAA;MACA,eAAA,OAAA;;;;;;;ACfF,QAAA,cAAA;AAZA,IAAA,eAAA,QAAA,4BAAA;AACA,IAAA,eAAA,QAAA,yBAAA;AAMA,IAAA,iBAAA;AAEA,IAAM,qBAAgD,CAAA;AAGtD,SAAgB,cAAW;AACzB,UAAO,GAAA,aAAA,OAAM;KACX,GAAA,aAAA,8BAA6B,aAAA,cAAc,KAAK,oBAAoB,eAAA,mBAAmB;GACxF;AACH;",
5
5
  "names": ["exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports", "exports"]
6
6
  }
package/select/index.d.ts CHANGED
@@ -1,38 +1,450 @@
1
- export { MAT_SELECT_CONFIG, MAT_SELECT_SCROLL_STRATEGY, MAT_SELECT_SCROLL_STRATEGY_PROVIDER, MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY, MAT_SELECT_TRIGGER, MatSelect, MatSelectChange, MatSelectConfig, MatSelectModule, MatSelectTrigger } from '../select-module.d.js';
2
- export { MatOptgroup, MatOption } from '../option.d.js';
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ChangeDetectorRef, ElementRef, QueryList, EventEmitter, SimpleChanges } from '@angular/core';
3
+ import * as i2 from '@angular/cdk/overlay';
4
+ import { ScrollStrategy, ConnectedPosition, CdkOverlayOrigin, CdkConnectedOverlay } from '@angular/cdk/overlay';
5
+ import { MatOptionModule } from '../option-module.d.js';
6
+ import { MatCommonModule } from '../common-module.d.js';
7
+ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
8
+ import { SelectionModel } from '@angular/cdk/collections';
9
+ import * as i5 from '@angular/cdk/scrolling';
10
+ import { ViewportRuler } from '@angular/cdk/scrolling';
11
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
12
+ import { Subject, Observable } from 'rxjs';
13
+ import { ErrorStateMatcher } from '../error-options.d.js';
14
+ import { MatOption, MatOptgroup, MatOptionSelectionChange } from '../option.d.js';
15
+ import { MatFormField } from '../form-field.d.js';
16
+ export { MatError, MatHint, MatPrefix, MatSuffix } from '../form-field.d.js';
17
+ import { MatFormFieldControl } from '../form-field-control.d.js';
18
+ import { MatFormFieldModule } from '../form-field-module.d.js';
3
19
  export { MatLabel } from '../form-field-module.d.js';
4
- export { MatError, MatFormField, MatHint, MatPrefix, MatSuffix } from '../form-field.d.js';
5
- import '@angular/core';
6
- import '@angular/cdk/overlay';
7
- import '../option-module.d.js';
8
20
  import '../ripple-module.d.js';
9
- import '../common-module.d.js';
10
- import '@angular/cdk/bidi';
11
21
  import '../ripple.d.js';
12
22
  import '@angular/cdk/platform';
13
23
  import '../pseudo-checkbox-module.d.js';
14
- import '@angular/cdk/a11y';
15
- import '@angular/cdk/collections';
16
- import '@angular/cdk/scrolling';
17
- import '@angular/forms';
18
- import 'rxjs';
19
- import '../error-options.d.js';
20
- import '../form-field-control.d.js';
21
- import '@angular/cdk/observers';
24
+ import '@angular/cdk/bidi';
22
25
  import '@angular/cdk/coercion';
23
26
  import '../palette.d.js';
27
+ import '@angular/cdk/observers';
24
28
 
29
+ /** Injection token that determines the scroll handling while a select is open. */
30
+ declare const MAT_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
31
+ /** Object that can be used to configure the default options for the select module. */
32
+ interface MatSelectConfig {
33
+ /** Whether option centering should be disabled. */
34
+ disableOptionCentering?: boolean;
35
+ /** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
36
+ typeaheadDebounceInterval?: number;
37
+ /** Class or list of classes to be applied to the menu's overlay panel. */
38
+ overlayPanelClass?: string | string[];
39
+ /** Whether icon indicators should be hidden for single-selection. */
40
+ hideSingleSelectionIndicator?: boolean;
41
+ /**
42
+ * Width of the panel. If set to `auto`, the panel will match the trigger width.
43
+ * If set to null or an empty string, the panel will grow to match the longest option's text.
44
+ */
45
+ panelWidth?: string | number | null;
46
+ /**
47
+ * Whether nullable options can be selected by default.
48
+ * See `MatSelect.canSelectNullableOptions` for more information.
49
+ */
50
+ canSelectNullableOptions?: boolean;
51
+ }
52
+ /** Injection token that can be used to provide the default options the select module. */
53
+ declare const MAT_SELECT_CONFIG: InjectionToken<MatSelectConfig>;
25
54
  /**
26
- * The following are all the animations for the mat-select component, with each
27
- * const containing the metadata for one animation.
28
- *
29
- * The values below match the implementation of the AngularJS Material mat-select animation.
30
- * @docs-private
31
- * @deprecated No longer used, will be removed.
32
- * @breaking-change 21.0.0
55
+ * Injection token that can be used to reference instances of `MatSelectTrigger`. It serves as
56
+ * alternative token to the actual `MatSelectTrigger` class which could cause unnecessary
57
+ * retention of the class and its directive metadata.
33
58
  */
34
- declare const matSelectAnimations: {
35
- readonly transformPanel: any;
36
- };
59
+ declare const MAT_SELECT_TRIGGER: InjectionToken<MatSelectTrigger>;
60
+ /** Change event object that is emitted when the select value has changed. */
61
+ declare class MatSelectChange<T = any> {
62
+ /** Reference to the select that emitted the change event. */
63
+ source: MatSelect;
64
+ /** Current value of the select that emitted the event. */
65
+ value: T;
66
+ constructor(
67
+ /** Reference to the select that emitted the change event. */
68
+ source: MatSelect,
69
+ /** Current value of the select that emitted the event. */
70
+ value: T);
71
+ }
72
+ declare class MatSelect implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, MatFormFieldControl<any> {
73
+ protected _viewportRuler: ViewportRuler;
74
+ protected _changeDetectorRef: ChangeDetectorRef;
75
+ readonly _elementRef: ElementRef<any>;
76
+ private _dir;
77
+ private _idGenerator;
78
+ private _renderer;
79
+ protected _parentFormField: MatFormField | null;
80
+ ngControl: NgControl;
81
+ private _liveAnnouncer;
82
+ protected _defaultOptions: MatSelectConfig | null;
83
+ protected _animationsDisabled: boolean;
84
+ private _initialized;
85
+ private _cleanupDetach;
86
+ /** All of the defined select options. */
87
+ options: QueryList<MatOption>;
88
+ /** All of the defined groups of options. */
89
+ optionGroups: QueryList<MatOptgroup>;
90
+ /** User-supplied override of the trigger element. */
91
+ customTrigger: MatSelectTrigger;
92
+ /**
93
+ * This position config ensures that the top "start" corner of the overlay
94
+ * is aligned with with the top "start" of the origin by default (overlapping
95
+ * the trigger completely). If the panel cannot fit below the trigger, it
96
+ * will fall back to a position above the trigger.
97
+ */
98
+ _positions: ConnectedPosition[];
99
+ /** Scrolls a particular option into the view. */
100
+ _scrollOptionIntoView(index: number): void;
101
+ /** Called when the panel has been opened and the overlay has settled on its final position. */
102
+ private _positioningSettled;
103
+ /** Creates a change event object that should be emitted by the select. */
104
+ private _getChangeEvent;
105
+ /** Factory function used to create a scroll strategy for this select. */
106
+ private _scrollStrategyFactory;
107
+ /** Whether or not the overlay panel is open. */
108
+ private _panelOpen;
109
+ /** Comparison function to specify which option is displayed. Defaults to object equality. */
110
+ private _compareWith;
111
+ /** Unique id for this input. */
112
+ private _uid;
113
+ /** Current `aria-labelledby` value for the select trigger. */
114
+ private _triggerAriaLabelledBy;
115
+ /**
116
+ * Keeps track of the previous form control assigned to the select.
117
+ * Used to detect if it has changed.
118
+ */
119
+ private _previousControl;
120
+ /** Emits whenever the component is destroyed. */
121
+ protected readonly _destroy: Subject<void>;
122
+ /** Tracks the error state of the select. */
123
+ private _errorStateTracker;
124
+ /**
125
+ * Emits whenever the component state changes and should cause the parent
126
+ * form-field to update. Implemented as part of `MatFormFieldControl`.
127
+ * @docs-private
128
+ */
129
+ readonly stateChanges: Subject<void>;
130
+ /**
131
+ * Disable the automatic labeling to avoid issues like #27241.
132
+ * @docs-private
133
+ */
134
+ readonly disableAutomaticLabeling = true;
135
+ /**
136
+ * Implemented as part of MatFormFieldControl.
137
+ * @docs-private
138
+ */
139
+ userAriaDescribedBy: string;
140
+ /** Deals with the selection logic. */
141
+ _selectionModel: SelectionModel<MatOption>;
142
+ /** Manages keyboard events for options in the panel. */
143
+ _keyManager: ActiveDescendantKeyManager<MatOption>;
144
+ /** Ideal origin for the overlay panel. */
145
+ _preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
146
+ /** Width of the overlay panel. */
147
+ _overlayWidth: string | number;
148
+ /** `View -> model callback called when value changes` */
149
+ _onChange: (value: any) => void;
150
+ /** `View -> model callback called when select has been touched` */
151
+ _onTouched: () => void;
152
+ /** ID for the DOM node containing the select's value. */
153
+ _valueId: string;
154
+ /** Strategy that will be used to handle scrolling while the select panel is open. */
155
+ _scrollStrategy: ScrollStrategy;
156
+ _overlayPanelClass: string | string[];
157
+ /** Whether the select is focused. */
158
+ get focused(): boolean;
159
+ private _focused;
160
+ /** A name for this control that can be used by `mat-form-field`. */
161
+ controlType: string;
162
+ /** Trigger that opens the select. */
163
+ trigger: ElementRef;
164
+ /** Panel containing the select options. */
165
+ panel: ElementRef;
166
+ /** Overlay pane containing the options. */
167
+ protected _overlayDir: CdkConnectedOverlay;
168
+ /** Classes to be passed to the select panel. Supports the same syntax as `ngClass`. */
169
+ panelClass: string | string[] | Set<string> | {
170
+ [key: string]: any;
171
+ };
172
+ /** Whether the select is disabled. */
173
+ disabled: boolean;
174
+ /** Whether ripples in the select are disabled. */
175
+ get disableRipple(): boolean;
176
+ set disableRipple(value: boolean);
177
+ private _disableRipple;
178
+ /** Tab index of the select. */
179
+ tabIndex: number;
180
+ /** Whether checkmark indicator for single-selection options is hidden. */
181
+ get hideSingleSelectionIndicator(): boolean;
182
+ set hideSingleSelectionIndicator(value: boolean);
183
+ private _hideSingleSelectionIndicator;
184
+ /** Placeholder to be shown if no value has been selected. */
185
+ get placeholder(): string;
186
+ set placeholder(value: string);
187
+ private _placeholder;
188
+ /** Whether the component is required. */
189
+ get required(): boolean;
190
+ set required(value: boolean);
191
+ private _required;
192
+ /** Whether the user should be allowed to select multiple options. */
193
+ get multiple(): boolean;
194
+ set multiple(value: boolean);
195
+ private _multiple;
196
+ /** Whether to center the active option over the trigger. */
197
+ disableOptionCentering: boolean;
198
+ /**
199
+ * Function to compare the option values with the selected values. The first argument
200
+ * is a value from an option. The second is a value from the selection. A boolean
201
+ * should be returned.
202
+ */
203
+ get compareWith(): (o1: any, o2: any) => boolean;
204
+ set compareWith(fn: (o1: any, o2: any) => boolean);
205
+ /** Value of the select control. */
206
+ get value(): any;
207
+ set value(newValue: any);
208
+ private _value;
209
+ /** Aria label of the select. */
210
+ ariaLabel: string;
211
+ /** Input that can be used to specify the `aria-labelledby` attribute. */
212
+ ariaLabelledby: string;
213
+ /** Object used to control when error messages are shown. */
214
+ get errorStateMatcher(): ErrorStateMatcher;
215
+ set errorStateMatcher(value: ErrorStateMatcher);
216
+ /** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
217
+ typeaheadDebounceInterval: number;
218
+ /**
219
+ * Function used to sort the values in a select in multiple mode.
220
+ * Follows the same logic as `Array.prototype.sort`.
221
+ */
222
+ sortComparator: (a: MatOption, b: MatOption, options: MatOption[]) => number;
223
+ /** Unique id of the element. */
224
+ get id(): string;
225
+ set id(value: string);
226
+ private _id;
227
+ /** Whether the select is in an error state. */
228
+ get errorState(): boolean;
229
+ set errorState(value: boolean);
230
+ /**
231
+ * Width of the panel. If set to `auto`, the panel will match the trigger width.
232
+ * If set to null or an empty string, the panel will grow to match the longest option's text.
233
+ */
234
+ panelWidth: string | number | null;
235
+ /**
236
+ * By default selecting an option with a `null` or `undefined` value will reset the select's
237
+ * value. Enable this option if the reset behavior doesn't match your requirements and instead
238
+ * the nullable options should become selected. The value of this input can be controlled app-wide
239
+ * using the `MAT_SELECT_CONFIG` injection token.
240
+ */
241
+ canSelectNullableOptions: boolean;
242
+ /** Combined stream of all of the child options' change events. */
243
+ readonly optionSelectionChanges: Observable<MatOptionSelectionChange>;
244
+ /** Event emitted when the select panel has been toggled. */
245
+ readonly openedChange: EventEmitter<boolean>;
246
+ /** Event emitted when the select has been opened. */
247
+ readonly _openedStream: Observable<void>;
248
+ /** Event emitted when the select has been closed. */
249
+ readonly _closedStream: Observable<void>;
250
+ /** Event emitted when the selected value has been changed by the user. */
251
+ readonly selectionChange: EventEmitter<MatSelectChange<any>>;
252
+ /**
253
+ * Event that emits whenever the raw value of the select changes. This is here primarily
254
+ * to facilitate the two-way binding for the `value` input.
255
+ * @docs-private
256
+ */
257
+ readonly valueChange: EventEmitter<any>;
258
+ constructor(...args: unknown[]);
259
+ ngOnInit(): void;
260
+ ngAfterContentInit(): void;
261
+ ngDoCheck(): void;
262
+ ngOnChanges(changes: SimpleChanges): void;
263
+ ngOnDestroy(): void;
264
+ /** Toggles the overlay panel open or closed. */
265
+ toggle(): void;
266
+ /** Opens the overlay panel. */
267
+ open(): void;
268
+ /**
269
+ * Track which modal we have modified the `aria-owns` attribute of. When the combobox trigger is
270
+ * inside an aria-modal, we apply aria-owns to the parent modal with the `id` of the options
271
+ * panel. Track the modal we have changed so we can undo the changes on destroy.
272
+ */
273
+ private _trackedModal;
274
+ /**
275
+ * If the autocomplete trigger is inside of an `aria-modal` element, connect
276
+ * that modal to the options panel with `aria-owns`.
277
+ *
278
+ * For some browser + screen reader combinations, when navigation is inside
279
+ * of an `aria-modal` element, the screen reader treats everything outside
280
+ * of that modal as hidden or invisible.
281
+ *
282
+ * This causes a problem when the combobox trigger is _inside_ of a modal, because the
283
+ * options panel is rendered _outside_ of that modal, preventing screen reader navigation
284
+ * from reaching the panel.
285
+ *
286
+ * We can work around this issue by applying `aria-owns` to the modal with the `id` of
287
+ * the options panel. This effectively communicates to assistive technology that the
288
+ * options panel is part of the same interaction as the modal.
289
+ *
290
+ * At time of this writing, this issue is present in VoiceOver.
291
+ * See https://github.com/angular/components/issues/20694
292
+ */
293
+ private _applyModalPanelOwnership;
294
+ /** Clears the reference to the listbox overlay element from the modal it was added to. */
295
+ private _clearFromModal;
296
+ /** Closes the overlay panel and focuses the host element. */
297
+ close(): void;
298
+ /** Triggers the exit animation and detaches the overlay at the end. */
299
+ private _exitAndDetach;
300
+ /** Detaches the current overlay directive. */
301
+ private _detachOverlay;
302
+ /**
303
+ * Sets the select's value. Part of the ControlValueAccessor interface
304
+ * required to integrate with Angular's core forms API.
305
+ *
306
+ * @param value New value to be written to the model.
307
+ */
308
+ writeValue(value: any): void;
309
+ /**
310
+ * Saves a callback function to be invoked when the select's value
311
+ * changes from user input. Part of the ControlValueAccessor interface
312
+ * required to integrate with Angular's core forms API.
313
+ *
314
+ * @param fn Callback to be triggered when the value changes.
315
+ */
316
+ registerOnChange(fn: (value: any) => void): void;
317
+ /**
318
+ * Saves a callback function to be invoked when the select is blurred
319
+ * by the user. Part of the ControlValueAccessor interface required
320
+ * to integrate with Angular's core forms API.
321
+ *
322
+ * @param fn Callback to be triggered when the component has been touched.
323
+ */
324
+ registerOnTouched(fn: () => {}): void;
325
+ /**
326
+ * Disables the select. Part of the ControlValueAccessor interface required
327
+ * to integrate with Angular's core forms API.
328
+ *
329
+ * @param isDisabled Sets whether the component is disabled.
330
+ */
331
+ setDisabledState(isDisabled: boolean): void;
332
+ /** Whether or not the overlay panel is open. */
333
+ get panelOpen(): boolean;
334
+ /** The currently selected option. */
335
+ get selected(): MatOption | MatOption[];
336
+ /** The value displayed in the trigger. */
337
+ get triggerValue(): string;
338
+ /** Refreshes the error state of the select. */
339
+ updateErrorState(): void;
340
+ /** Whether the element is in RTL mode. */
341
+ _isRtl(): boolean;
342
+ /** Handles all keydown events on the select. */
343
+ _handleKeydown(event: KeyboardEvent): void;
344
+ /** Handles keyboard events while the select is closed. */
345
+ private _handleClosedKeydown;
346
+ /** Handles keyboard events when the selected is open. */
347
+ private _handleOpenKeydown;
348
+ /** Handles keyboard events coming from the overlay. */
349
+ protected _handleOverlayKeydown(event: KeyboardEvent): void;
350
+ _onFocus(): void;
351
+ /**
352
+ * Calls the touched callback only if the panel is closed. Otherwise, the trigger will
353
+ * "blur" to the panel when it opens, causing a false positive.
354
+ */
355
+ _onBlur(): void;
356
+ /** Returns the theme to be used on the panel. */
357
+ _getPanelTheme(): string;
358
+ /** Whether the select has a value. */
359
+ get empty(): boolean;
360
+ private _initializeSelection;
361
+ /**
362
+ * Sets the selected option based on a value. If no option can be
363
+ * found with the designated value, the select trigger is cleared.
364
+ */
365
+ private _setSelectionByValue;
366
+ /**
367
+ * Finds and selects and option based on its value.
368
+ * @returns Option that has the corresponding value.
369
+ */
370
+ private _selectOptionByValue;
371
+ /** Assigns a specific value to the select. Returns whether the value has changed. */
372
+ private _assignValue;
373
+ private _skipPredicate;
374
+ /** Gets how wide the overlay panel should be. */
375
+ private _getOverlayWidth;
376
+ /** Syncs the parent state with the individual options. */
377
+ _syncParentProperties(): void;
378
+ /** Sets up a key manager to listen to keyboard events on the overlay panel. */
379
+ private _initKeyManager;
380
+ /** Drops current option subscriptions and IDs and resets from scratch. */
381
+ private _resetOptions;
382
+ /** Invoked when an option is clicked. */
383
+ private _onSelect;
384
+ /** Sorts the selected values in the selected based on their order in the panel. */
385
+ private _sortValues;
386
+ /** Emits change event to set the model value. */
387
+ private _propagateChanges;
388
+ /**
389
+ * Highlights the selected item. If no option is selected, it will highlight
390
+ * the first *enabled* option.
391
+ */
392
+ private _highlightCorrectOption;
393
+ /** Whether the panel is allowed to open. */
394
+ protected _canOpen(): boolean;
395
+ /** Focuses the select element. */
396
+ focus(options?: FocusOptions): void;
397
+ /** Gets the aria-labelledby for the select panel. */
398
+ _getPanelAriaLabelledby(): string | null;
399
+ /** Determines the `aria-activedescendant` to be set on the host. */
400
+ _getAriaActiveDescendant(): string | null;
401
+ /** Gets the aria-labelledby of the select component trigger. */
402
+ private _getTriggerAriaLabelledby;
403
+ /**
404
+ * Implemented as part of MatFormFieldControl.
405
+ * @docs-private
406
+ */
407
+ get describedByIds(): string[];
408
+ /**
409
+ * Implemented as part of MatFormFieldControl.
410
+ * @docs-private
411
+ */
412
+ setDescribedByIds(ids: string[]): void;
413
+ /**
414
+ * Implemented as part of MatFormFieldControl.
415
+ * @docs-private
416
+ */
417
+ onContainerClick(): void;
418
+ /**
419
+ * Implemented as part of MatFormFieldControl.
420
+ * @docs-private
421
+ */
422
+ get shouldLabelFloat(): boolean;
423
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
424
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disableOptionCentering": { "alias": "disableOptionCentering"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "typeaheadDebounceInterval": { "alias": "typeaheadDebounceInterval"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "canSelectNullableOptions": { "alias": "canSelectNullableOptions"; "required": false; }; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "_closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], true, never>;
425
+ static ngAcceptInputType_disabled: unknown;
426
+ static ngAcceptInputType_disableRipple: unknown;
427
+ static ngAcceptInputType_tabIndex: unknown;
428
+ static ngAcceptInputType_hideSingleSelectionIndicator: unknown;
429
+ static ngAcceptInputType_required: unknown;
430
+ static ngAcceptInputType_multiple: unknown;
431
+ static ngAcceptInputType_disableOptionCentering: unknown;
432
+ static ngAcceptInputType_typeaheadDebounceInterval: unknown;
433
+ static ngAcceptInputType_canSelectNullableOptions: unknown;
434
+ }
435
+ /**
436
+ * Allows the user to customize the trigger that is displayed when the select has a value.
437
+ */
438
+ declare class MatSelectTrigger {
439
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectTrigger, never>;
440
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectTrigger, "mat-select-trigger", never, {}, {}, never, never, true, never>;
441
+ }
442
+
443
+ declare class MatSelectModule {
444
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
445
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, never, [typeof i2.OverlayModule, typeof MatOptionModule, typeof MatCommonModule, typeof MatSelect, typeof MatSelectTrigger], [typeof i5.CdkScrollableModule, typeof MatFormFieldModule, typeof MatSelect, typeof MatSelectTrigger, typeof MatOptionModule, typeof MatCommonModule]>;
446
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
447
+ }
37
448
 
38
- export { matSelectAnimations };
449
+ export { MAT_SELECT_CONFIG, MAT_SELECT_SCROLL_STRATEGY, MAT_SELECT_TRIGGER, MatFormField, MatOptgroup, MatOption, MatSelect, MatSelectChange, MatSelectModule, MatSelectTrigger };
450
+ export type { MatSelectConfig };
@@ -21,12 +21,6 @@ type MatDrawerToggleResult = 'open' | 'close';
21
21
  type MatDrawerMode = 'over' | 'push' | 'side';
22
22
  /** Configures whether drawers should use auto sizing by default. */
23
23
  declare const MAT_DRAWER_DEFAULT_AUTOSIZE: InjectionToken<boolean>;
24
- /**
25
- * @docs-private
26
- * @deprecated No longer used, will be removed.
27
- * @breaking-change 21.0.0
28
- */
29
- declare function MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY(): boolean;
30
24
  declare class MatDrawerContent extends CdkScrollable implements AfterContentInit {
31
25
  private _platform;
32
26
  private _changeDetectorRef;
@@ -338,15 +332,5 @@ declare class MatSidenavModule {
338
332
  static ɵinj: i0.ɵɵInjectorDeclaration<MatSidenavModule>;
339
333
  }
340
334
 
341
- /**
342
- * Animations used by the Material drawers.
343
- * @docs-private
344
- * @deprecated No longer used, will be removed.
345
- * @breaking-change 21.0.0
346
- */
347
- declare const matDrawerAnimations: {
348
- readonly transformDrawer: any;
349
- };
350
-
351
- export { MAT_DRAWER_DEFAULT_AUTOSIZE, MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY, MatDrawer, MatDrawerContainer, MatDrawerContent, MatSidenav, MatSidenavContainer, MatSidenavContent, MatSidenavModule, matDrawerAnimations, throwMatDuplicatedDrawerError };
335
+ export { MAT_DRAWER_DEFAULT_AUTOSIZE, MatDrawer, MatDrawerContainer, MatDrawerContent, MatSidenav, MatSidenavContainer, MatSidenavContent, MatSidenavModule, throwMatDuplicatedDrawerError };
352
336
  export type { MatDrawerMode, MatDrawerToggleResult };
@@ -237,12 +237,6 @@ declare class MatSnackBarAction {
237
237
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarAction, "[matSnackBarAction]", never, {}, {}, never, never, true, never>;
238
238
  }
239
239
 
240
- /**
241
- * @docs-private
242
- * @deprecated No longer used, will be removed.
243
- * @breaking-change 21.0.0
244
- */
245
- declare function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY(): MatSnackBarConfig;
246
240
  /** Injection token that can be used to specify default snack bar. */
247
241
  declare const MAT_SNACK_BAR_DEFAULT_OPTIONS: InjectionToken<MatSnackBarConfig<any>>;
248
242
  /**
@@ -330,15 +324,5 @@ declare class MatSnackBarModule {
330
324
  static ɵinj: i0.ɵɵInjectorDeclaration<MatSnackBarModule>;
331
325
  }
332
326
 
333
- /**
334
- * Animations used by the Material snack bar.
335
- * @docs-private
336
- * @deprecated No longer used, will be removed.
337
- * @breaking-change 21.0.0
338
- */
339
- declare const matSnackBarAnimations: {
340
- readonly snackBarState: any;
341
- };
342
-
343
- export { MAT_SNACK_BAR_DATA, MAT_SNACK_BAR_DEFAULT_OPTIONS, MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY, MatSnackBar, MatSnackBarAction, MatSnackBarActions, MatSnackBarConfig, MatSnackBarContainer, MatSnackBarLabel, MatSnackBarModule, MatSnackBarRef, SimpleSnackBar, matSnackBarAnimations };
327
+ export { MAT_SNACK_BAR_DATA, MAT_SNACK_BAR_DEFAULT_OPTIONS, MatSnackBar, MatSnackBarAction, MatSnackBarActions, MatSnackBarConfig, MatSnackBarContainer, MatSnackBarLabel, MatSnackBarModule, MatSnackBarRef, SimpleSnackBar };
344
328
  export type { MatSnackBarDismiss, MatSnackBarHorizontalPosition, MatSnackBarVerticalPosition, TextOnlySnackBar };
package/sort/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Optional, OnDestroy, OnInit, AfterViewInit } from '@angular/core';
2
+ import { OnDestroy, OnInit, AfterViewInit } from '@angular/core';
3
3
  import { MatCommonModule } from '../common-module.d.js';
4
4
  import { MatSortable, MatSort, SortHeaderArrowPosition } from '../sort.d.js';
5
5
  export { MAT_SORT_DEFAULT_OPTIONS, MatSortDefaultOptions, Sort } from '../sort.d.js';
@@ -20,22 +20,6 @@ declare class MatSortHeaderIntl {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSortHeaderIntl, never>;
21
21
  static ɵprov: i0.ɵɵInjectableDeclaration<MatSortHeaderIntl>;
22
22
  }
23
- /**
24
- * @docs-private
25
- * @deprecated No longer used, will be removed.
26
- * @breaking-change 21.0.0
27
- */
28
- declare function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl: MatSortHeaderIntl): MatSortHeaderIntl;
29
- /**
30
- * @docs-private
31
- * @deprecated No longer used, will be removed.
32
- * @breaking-change 21.0.0
33
- */
34
- declare const MAT_SORT_HEADER_INTL_PROVIDER: {
35
- provide: typeof MatSortHeaderIntl;
36
- deps: Optional[][];
37
- useFactory: typeof MAT_SORT_HEADER_INTL_PROVIDER_FACTORY;
38
- };
39
23
 
40
24
  /**
41
25
  * Valid positions for the arrow to be in for its opacity and translation. If the state is a
@@ -144,20 +128,5 @@ declare class MatSortModule {
144
128
  static ɵinj: i0.ɵɵInjectorDeclaration<MatSortModule>;
145
129
  }
146
130
 
147
- /**
148
- * Animations used by MatSort.
149
- * @docs-private
150
- * @deprecated No longer being used, to be removed.
151
- * @breaking-change 21.0.0
152
- */
153
- declare const matSortAnimations: {
154
- readonly indicator: any;
155
- readonly leftPointer: any;
156
- readonly rightPointer: any;
157
- readonly arrowOpacity: any;
158
- readonly arrowPosition: any;
159
- readonly allowChildren: any;
160
- };
161
-
162
- export { MAT_SORT_HEADER_INTL_PROVIDER, MAT_SORT_HEADER_INTL_PROVIDER_FACTORY, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule, MatSortable, SortDirection, SortHeaderArrowPosition, matSortAnimations };
131
+ export { MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule, MatSortable, SortDirection, SortHeaderArrowPosition };
163
132
  export type { ArrowViewState, ArrowViewStateTransition };