@angular/material 18.0.0-next.5 → 18.0.0-next.6

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 (296) hide show
  1. package/_index.scss +67 -60
  2. package/autocomplete/_autocomplete-theme.scss +7 -0
  3. package/badge/_badge-theme.scss +9 -0
  4. package/bottom-sheet/_bottom-sheet-theme.scss +7 -0
  5. package/button/_button-theme.scss +25 -0
  6. package/button/_fab-theme.scss +13 -0
  7. package/button/_icon-button-theme.scss +8 -0
  8. package/button-toggle/_button-toggle-theme.scss +12 -0
  9. package/card/_card-theme.scss +9 -0
  10. package/checkbox/_checkbox-theme.scss +2 -4
  11. package/chips/_chips-theme.scss +10 -0
  12. package/core/_core-theme.scss +17 -0
  13. package/core/m2/_index.scss +52 -0
  14. package/core/m2/_theming.scss +295 -0
  15. package/core/{typography/_property-getters.scss → m2/_typography-utils.scss} +14 -0
  16. package/core/{typography/_definition.scss → m2/_typography.scss} +1 -1
  17. package/core/option/_optgroup-theme.scss +7 -0
  18. package/core/option/_option-theme.scss +9 -0
  19. package/core/ripple/_ripple-theme.scss +7 -0
  20. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +13 -0
  21. package/core/style/_sass-utils.scss +14 -1
  22. package/core/theming/_color-api-backwards-compatibility.scss +128 -0
  23. package/core/theming/_config-validation.scss +173 -0
  24. package/core/theming/_definition.scss +113 -0
  25. package/core/theming/_m2-inspection.scss +23 -22
  26. package/core/theming/_palettes.scss +947 -0
  27. package/core/theming/_theming-deprecated.scss +9 -9
  28. package/core/theming/_theming.scss +73 -339
  29. package/core/tokens/_custom-tokens.scss +1918 -0
  30. package/core/tokens/_density.scss +191 -0
  31. package/core/tokens/_format-tokens.scss +5 -0
  32. package/core/tokens/_m3-tokens.scss +1252 -0
  33. package/core/tokens/_token-utils.scss +32 -46
  34. package/core/tokens/m2/mat/_chip.scss +3 -3
  35. package/core/tokens/m2/mat/_form-field.scss +3 -3
  36. package/core/tokens/m2/mdc/_checkbox.scss +3 -2
  37. package/core/tokens/m2/mdc/_chip.scss +3 -3
  38. package/core/tokens/m2/mdc/_radio.scss +3 -2
  39. package/core/typography/_all-typography.scss +3 -2
  40. package/core/typography/_typography-utils.scss +0 -26
  41. package/core/typography/_typography.scss +0 -2
  42. package/core/typography/_versioning.scss +3 -3
  43. package/datepicker/_datepicker-theme.scss +9 -0
  44. package/datepicker/index.d.ts +5 -0
  45. package/dialog/_dialog-theme.scss +8 -0
  46. package/divider/_divider-theme.scss +7 -0
  47. package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
  48. package/esm2022/autocomplete/autocomplete-trigger.mjs +3 -3
  49. package/esm2022/autocomplete/autocomplete.mjs +3 -3
  50. package/esm2022/autocomplete/module.mjs +4 -4
  51. package/esm2022/badge/badge-module.mjs +4 -4
  52. package/esm2022/badge/badge.mjs +6 -6
  53. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +3 -3
  54. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
  55. package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
  56. package/esm2022/button/button-base.mjs +6 -6
  57. package/esm2022/button/button.mjs +6 -6
  58. package/esm2022/button/fab.mjs +12 -12
  59. package/esm2022/button/icon-button.mjs +6 -6
  60. package/esm2022/button/module.mjs +4 -4
  61. package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
  62. package/esm2022/button-toggle/button-toggle.mjs +6 -6
  63. package/esm2022/card/card.mjs +42 -42
  64. package/esm2022/card/module.mjs +4 -4
  65. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  66. package/esm2022/checkbox/checkbox.mjs +3 -3
  67. package/esm2022/checkbox/module.mjs +8 -8
  68. package/esm2022/chips/chip-action.mjs +3 -3
  69. package/esm2022/chips/chip-edit-input.mjs +3 -3
  70. package/esm2022/chips/chip-grid.mjs +3 -3
  71. package/esm2022/chips/chip-icons.mjs +9 -9
  72. package/esm2022/chips/chip-input.mjs +3 -3
  73. package/esm2022/chips/chip-listbox.mjs +3 -3
  74. package/esm2022/chips/chip-option.mjs +3 -3
  75. package/esm2022/chips/chip-row.mjs +3 -3
  76. package/esm2022/chips/chip-set.mjs +3 -3
  77. package/esm2022/chips/chip.mjs +3 -3
  78. package/esm2022/chips/module.mjs +4 -4
  79. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  80. package/esm2022/core/datetime/index.mjs +8 -8
  81. package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
  82. package/esm2022/core/error/error-options.mjs +6 -6
  83. package/esm2022/core/internal-form-field/internal-form-field.mjs +3 -3
  84. package/esm2022/core/line/line.mjs +7 -7
  85. package/esm2022/core/option/index.mjs +4 -4
  86. package/esm2022/core/option/optgroup.mjs +3 -3
  87. package/esm2022/core/option/option.mjs +3 -3
  88. package/esm2022/core/private/ripple-loader.mjs +3 -3
  89. package/esm2022/core/ripple/index.mjs +4 -4
  90. package/esm2022/core/ripple/ripple.mjs +3 -3
  91. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  92. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  93. package/esm2022/core/version.mjs +1 -1
  94. package/esm2022/datepicker/calendar-body.mjs +3 -3
  95. package/esm2022/datepicker/calendar.mjs +6 -6
  96. package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
  97. package/esm2022/datepicker/date-range-input.mjs +9 -4
  98. package/esm2022/datepicker/date-range-picker.mjs +3 -3
  99. package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
  100. package/esm2022/datepicker/date-selection-model.mjs +9 -9
  101. package/esm2022/datepicker/datepicker-actions.mjs +9 -9
  102. package/esm2022/datepicker/datepicker-base.mjs +6 -6
  103. package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
  104. package/esm2022/datepicker/datepicker-input.mjs +3 -3
  105. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  106. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  107. package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
  108. package/esm2022/datepicker/datepicker.mjs +3 -3
  109. package/esm2022/datepicker/month-view.mjs +3 -3
  110. package/esm2022/datepicker/multi-year-view.mjs +3 -3
  111. package/esm2022/datepicker/year-view.mjs +3 -3
  112. package/esm2022/dialog/dialog-container.mjs +3 -3
  113. package/esm2022/dialog/dialog-content-directives.mjs +15 -15
  114. package/esm2022/dialog/dialog.mjs +3 -3
  115. package/esm2022/dialog/module.mjs +4 -4
  116. package/esm2022/divider/divider-module.mjs +4 -4
  117. package/esm2022/divider/divider.mjs +3 -3
  118. package/esm2022/expansion/accordion.mjs +3 -3
  119. package/esm2022/expansion/expansion-module.mjs +4 -4
  120. package/esm2022/expansion/expansion-panel-content.mjs +3 -3
  121. package/esm2022/expansion/expansion-panel-header.mjs +9 -9
  122. package/esm2022/expansion/expansion-panel.mjs +6 -6
  123. package/esm2022/form-field/directives/error.mjs +3 -3
  124. package/esm2022/form-field/directives/floating-label.mjs +3 -3
  125. package/esm2022/form-field/directives/hint.mjs +3 -3
  126. package/esm2022/form-field/directives/label.mjs +3 -3
  127. package/esm2022/form-field/directives/line-ripple.mjs +3 -3
  128. package/esm2022/form-field/directives/notched-outline.mjs +3 -3
  129. package/esm2022/form-field/directives/prefix.mjs +3 -3
  130. package/esm2022/form-field/directives/suffix.mjs +3 -3
  131. package/esm2022/form-field/form-field-control.mjs +4 -4
  132. package/esm2022/form-field/form-field.mjs +6 -6
  133. package/esm2022/form-field/module.mjs +4 -4
  134. package/esm2022/grid-list/grid-list-module.mjs +4 -4
  135. package/esm2022/grid-list/grid-list.mjs +3 -3
  136. package/esm2022/grid-list/grid-tile.mjs +15 -15
  137. package/esm2022/icon/icon-module.mjs +4 -4
  138. package/esm2022/icon/icon-registry.mjs +3 -3
  139. package/esm2022/icon/icon.mjs +3 -3
  140. package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
  141. package/esm2022/input/input.mjs +3 -3
  142. package/esm2022/input/module.mjs +4 -4
  143. package/esm2022/list/action-list.mjs +3 -3
  144. package/esm2022/list/list-base.mjs +6 -6
  145. package/esm2022/list/list-item-sections.mjs +18 -18
  146. package/esm2022/list/list-module.mjs +4 -4
  147. package/esm2022/list/list-option.mjs +3 -3
  148. package/esm2022/list/list.mjs +6 -6
  149. package/esm2022/list/nav-list.mjs +3 -3
  150. package/esm2022/list/selection-list.mjs +3 -3
  151. package/esm2022/list/subheader.mjs +3 -3
  152. package/esm2022/menu/menu-content.mjs +3 -3
  153. package/esm2022/menu/menu-item.mjs +3 -3
  154. package/esm2022/menu/menu-trigger.mjs +3 -3
  155. package/esm2022/menu/menu.mjs +3 -3
  156. package/esm2022/menu/module.mjs +4 -4
  157. package/esm2022/paginator/module.mjs +4 -4
  158. package/esm2022/paginator/paginator-intl.mjs +3 -3
  159. package/esm2022/paginator/paginator.mjs +3 -3
  160. package/esm2022/progress-bar/module.mjs +4 -4
  161. package/esm2022/progress-bar/progress-bar.mjs +5 -5
  162. package/esm2022/progress-spinner/module.mjs +4 -4
  163. package/esm2022/progress-spinner/progress-spinner.mjs +3 -3
  164. package/esm2022/radio/module.mjs +4 -4
  165. package/esm2022/radio/radio.mjs +6 -6
  166. package/esm2022/select/module.mjs +4 -4
  167. package/esm2022/select/select.mjs +12 -7
  168. package/esm2022/sidenav/drawer.mjs +9 -9
  169. package/esm2022/sidenav/sidenav-module.mjs +4 -4
  170. package/esm2022/sidenav/sidenav.mjs +9 -9
  171. package/esm2022/slide-toggle/module.mjs +8 -8
  172. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  173. package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
  174. package/esm2022/slider/module.mjs +4 -4
  175. package/esm2022/slider/slider-input.mjs +6 -6
  176. package/esm2022/slider/slider-thumb.mjs +3 -3
  177. package/esm2022/slider/slider.mjs +3 -3
  178. package/esm2022/snack-bar/module.mjs +4 -4
  179. package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
  180. package/esm2022/snack-bar/snack-bar-container.mjs +3 -3
  181. package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
  182. package/esm2022/snack-bar/snack-bar.mjs +3 -3
  183. package/esm2022/sort/sort-header-intl.mjs +3 -3
  184. package/esm2022/sort/sort-header.mjs +3 -3
  185. package/esm2022/sort/sort-module.mjs +4 -4
  186. package/esm2022/sort/sort.mjs +3 -3
  187. package/esm2022/stepper/step-content.mjs +3 -3
  188. package/esm2022/stepper/step-header.mjs +3 -3
  189. package/esm2022/stepper/step-label.mjs +3 -3
  190. package/esm2022/stepper/stepper-button.mjs +6 -6
  191. package/esm2022/stepper/stepper-icon.mjs +3 -3
  192. package/esm2022/stepper/stepper-intl.mjs +3 -3
  193. package/esm2022/stepper/stepper-module.mjs +4 -4
  194. package/esm2022/stepper/stepper.mjs +6 -6
  195. package/esm2022/table/cell.mjs +21 -21
  196. package/esm2022/table/module.mjs +4 -4
  197. package/esm2022/table/row.mjs +21 -21
  198. package/esm2022/table/table.mjs +6 -6
  199. package/esm2022/table/text-column.mjs +3 -3
  200. package/esm2022/tabs/ink-bar.mjs +3 -3
  201. package/esm2022/tabs/module.mjs +4 -4
  202. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  203. package/esm2022/tabs/tab-body.mjs +6 -6
  204. package/esm2022/tabs/tab-content.mjs +3 -3
  205. package/esm2022/tabs/tab-group.mjs +3 -3
  206. package/esm2022/tabs/tab-header.mjs +3 -3
  207. package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
  208. package/esm2022/tabs/tab-label.mjs +3 -3
  209. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  210. package/esm2022/tabs/tab.mjs +3 -3
  211. package/esm2022/toolbar/toolbar-module.mjs +4 -4
  212. package/esm2022/toolbar/toolbar.mjs +6 -6
  213. package/esm2022/tooltip/module.mjs +4 -4
  214. package/esm2022/tooltip/tooltip.mjs +6 -6
  215. package/esm2022/tree/node.mjs +9 -9
  216. package/esm2022/tree/outlet.mjs +3 -3
  217. package/esm2022/tree/padding.mjs +3 -3
  218. package/esm2022/tree/toggle.mjs +3 -3
  219. package/esm2022/tree/tree-module.mjs +4 -4
  220. package/esm2022/tree/tree.mjs +3 -3
  221. package/expansion/_expansion-theme.scss +7 -0
  222. package/fesm2022/autocomplete.mjs +13 -13
  223. package/fesm2022/badge.mjs +10 -10
  224. package/fesm2022/bottom-sheet.mjs +10 -10
  225. package/fesm2022/button-toggle.mjs +10 -10
  226. package/fesm2022/button.mjs +34 -34
  227. package/fesm2022/card.mjs +46 -46
  228. package/fesm2022/checkbox.mjs +14 -14
  229. package/fesm2022/chips.mjs +40 -40
  230. package/fesm2022/core.mjs +59 -59
  231. package/fesm2022/core.mjs.map +1 -1
  232. package/fesm2022/datepicker.mjs +87 -82
  233. package/fesm2022/datepicker.mjs.map +1 -1
  234. package/fesm2022/dialog.mjs +25 -25
  235. package/fesm2022/divider.mjs +7 -7
  236. package/fesm2022/expansion.mjs +25 -25
  237. package/fesm2022/form-field.mjs +36 -36
  238. package/fesm2022/form-field.mjs.map +1 -1
  239. package/fesm2022/grid-list.mjs +22 -22
  240. package/fesm2022/icon/testing.mjs +7 -7
  241. package/fesm2022/icon.mjs +10 -10
  242. package/fesm2022/input.mjs +7 -7
  243. package/fesm2022/list.mjs +49 -49
  244. package/fesm2022/menu.mjs +16 -16
  245. package/fesm2022/paginator.mjs +10 -10
  246. package/fesm2022/progress-bar.mjs +8 -8
  247. package/fesm2022/progress-bar.mjs.map +1 -1
  248. package/fesm2022/progress-spinner.mjs +7 -7
  249. package/fesm2022/radio.mjs +10 -10
  250. package/fesm2022/select.mjs +15 -10
  251. package/fesm2022/select.mjs.map +1 -1
  252. package/fesm2022/sidenav.mjs +22 -22
  253. package/fesm2022/slide-toggle.mjs +14 -14
  254. package/fesm2022/slider.mjs +16 -16
  255. package/fesm2022/snack-bar.mjs +22 -22
  256. package/fesm2022/sort.mjs +13 -13
  257. package/fesm2022/stepper.mjs +31 -31
  258. package/fesm2022/table.mjs +55 -55
  259. package/fesm2022/tabs.mjs +43 -43
  260. package/fesm2022/toolbar.mjs +10 -10
  261. package/fesm2022/tooltip.mjs +10 -10
  262. package/fesm2022/tree.mjs +25 -25
  263. package/form-field/_form-field-theme.scss +15 -0
  264. package/form-field/index.d.ts +6 -0
  265. package/grid-list/_grid-list-theme.scss +7 -0
  266. package/icon/_icon-theme.scss +9 -0
  267. package/input/_input-theme.scss +8 -0
  268. package/list/_list-theme.scss +8 -0
  269. package/menu/_menu-theme.scss +7 -0
  270. package/package.json +3 -2
  271. package/paginator/_paginator-theme.scss +7 -0
  272. package/progress-bar/_progress-bar-theme.scss +11 -0
  273. package/progress-spinner/_progress-spinner-theme.scss +11 -0
  274. package/radio/_radio-theme.scss +10 -0
  275. package/schematics/ng-add/index.js +1 -1
  276. package/schematics/ng-add/index.mjs +1 -1
  277. package/schematics/ng-add/theming/create-custom-theme.js +5 -6
  278. package/schematics/ng-add/theming/create-custom-theme.mjs +5 -6
  279. package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
  280. package/schematics/ng-generate/m3-theme/index_bundled.js.map +1 -1
  281. package/schematics/ng-update/index_bundled.js +215 -1
  282. package/schematics/ng-update/index_bundled.js.map +4 -4
  283. package/select/_select-theme.scss +9 -0
  284. package/select/index.d.ts +5 -0
  285. package/sidenav/_sidenav-theme.scss +7 -0
  286. package/slide-toggle/_slide-toggle-theme.scss +11 -0
  287. package/slider/_slider-theme.scss +10 -0
  288. package/snack-bar/_snack-bar-theme.scss +10 -0
  289. package/sort/_sort-theme.scss +7 -0
  290. package/stepper/_stepper-theme.scss +9 -0
  291. package/table/_table-theme.scss +7 -0
  292. package/tabs/_tabs-theme.scss +20 -0
  293. package/toolbar/_toolbar-theme.scss +9 -0
  294. package/tooltip/_tooltip-theme.scss +8 -0
  295. package/tree/_tree-theme.scss +7 -0
  296. /package/core/{theming → m2}/_palette.scss +0 -0
@@ -5,14 +5,14 @@
5
5
  @use '@material/theme/theme' as mdc-theme;
6
6
  @use '@material/theme/keys' as mdc-keys;
7
7
  @use '../style/sass-utils';
8
- @use '../theming/palette';
9
- @use '../theming/theming';
10
- @use '../typography/typography';
8
+ @use '../m2/palette' as m2-palette;
9
+ @use '../m2/theming' as m2-theming;
10
+ @use '../m2/typography' as m2-typography;
11
11
 
12
12
  // Indicates whether we're building internally. Used for backwards compatibility.
13
13
  $private-is-internal-build: false;
14
14
 
15
- $_placeholder-color-palette: theming.define-palette(palette.$red-palette);
15
+ $_placeholder-color-palette: m2-theming.define-palette(m2-palette.$red-palette);
16
16
 
17
17
  // Placeholder color config that can be passed to token getter functions when generating token
18
18
  // slots.
@@ -21,11 +21,11 @@ $placeholder-color-config: (
21
21
  accent: $_placeholder-color-palette,
22
22
  warn: $_placeholder-color-palette,
23
23
  is-dark: false,
24
- foreground: palette.$light-theme-foreground-palette,
25
- background: palette.$light-theme-background-palette,
24
+ foreground: m2-palette.$light-theme-foreground-palette,
25
+ background: m2-palette.$light-theme-background-palette,
26
26
  );
27
27
 
28
- $_placeholder-typography-level-config: typography.typography-config-level-from-mdc(body1);
28
+ $_placeholder-typography-level-config: m2-typography.typography-config-level-from-mdc(body1);
29
29
 
30
30
  // Placeholder typography config that can be passed to token getter functions when generating token
31
31
  // slots.
@@ -214,35 +214,39 @@ $_component-prefix: null;
214
214
  @return if($emit-overrides-only, $overrides, map.merge($values, $overrides));
215
215
  }
216
216
 
217
- /// Emits new token values for the given tokens.
218
- /// Verifies that the tokens passed in are valid tokens.
217
+ /// Emits new token values for the given token overrides.
218
+ /// Verifies that the overrides passed in are valid tokens.
219
219
  /// New token values are emitted under the current selector or root.
220
- @mixin batch-create-token-values(
221
- $tokens: (),
222
- $mat-prefix: '',
223
- $mdc-prefix: '',
224
- $mat-tokens: (),
225
- $mdc-tokens: ()
226
- ) {
227
- $custom-mat-tokens: ();
228
- $custom-mdc-tokens: ();
220
+ @mixin batch-create-token-values($overrides: (), $token-maps...) {
221
+ @include _validate-token-overrides($overrides, $token-maps);
229
222
 
230
- $mat-token-names: map.keys($mat-tokens);
231
- $mdc-token-names: map.keys($mdc-tokens);
232
- $valid-token-names: _get-valid-token-names($mat-tokens, $mdc-tokens);
223
+ @each $token-map in $token-maps {
224
+ $prefix: map.get($token-map, prefix);
225
+ $tokens: map.get($token-map, tokens);
233
226
 
234
- @each $name, $value in $tokens {
235
- $is-mat-token: list.index($mat-token-names, $name) != null;
236
- $is-mdc-token: list.index($mdc-token-names, $name) != null;
227
+ @each $name, $value in $tokens {
228
+ $tokens: map.set($tokens, $name, map.get($overrides, $name));
229
+ }
237
230
 
238
- @if ($is-mat-token) {
239
- $custom-mat-tokens: map.set($custom-mat-tokens, $name, $value);
231
+ @include sass-utils.current-selector-or-root() {
232
+ @include create-token-values($prefix, $tokens);
240
233
  }
234
+ }
235
+ }
236
+
237
+ /// Verifies that the token overrides exist and are used in one of the given token maps.
238
+ @mixin _validate-token-overrides($overrides: (), $token-maps) {
239
+ $valid-token-names: ();
241
240
 
242
- @if ($is-mdc-token) {
243
- $custom-mdc-tokens: map.set($custom-mdc-tokens, $name, $value);
241
+ @each $token-map in $token-maps {
242
+ @each $name, $value in map.get($token-map, tokens) {
243
+ @if ($value != null and list.index($valid-token-names, $name) == null) {
244
+ $valid-token-names: list.append($valid-token-names, $name);
245
+ }
244
246
  }
247
+ }
245
248
 
249
+ @each $name in map.keys($overrides) {
246
250
  @if (list.index($valid-token-names, $name) == null) {
247
251
  @error (
248
252
  'Invalid token: "' + $name + '"'
@@ -250,22 +254,4 @@ $_component-prefix: null;
250
254
  );
251
255
  }
252
256
  }
253
-
254
- @include sass-utils.current-selector-or-root() {
255
- @include create-token-values($mat-prefix, $custom-mat-tokens);
256
- @include create-token-values($mdc-prefix, $custom-mdc-tokens);
257
- }
258
- }
259
-
260
- /// Returns the union of token names whose values are not null.
261
- @function _get-valid-token-names($mat-tokens, $mdc-tokens) {
262
- $mat-and-mdc-tokens: map.merge($mat-tokens, $mdc-tokens);
263
-
264
- @each $name, $value in $mat-and-mdc-tokens {
265
- @if ($value == null) {
266
- $mat-and-mdc-tokens: map.remove($mat-and-mdc-tokens, $name);
267
- }
268
- }
269
-
270
- @return map.keys($mat-and-mdc-tokens);
271
257
  }
@@ -2,7 +2,7 @@
2
2
  @use '../../token-utils';
3
3
  @use '../../../theming/inspection';
4
4
  @use '../../../style/sass-utils';
5
- @use '../../../theming/palette';
5
+ @use '../../../m2/palette' as m2-palette;
6
6
 
7
7
  // The prefix used to generate the fully qualified name for tokens in this file.
8
8
  $prefix: (mat, chip);
@@ -26,8 +26,8 @@ $prefix: (mat, chip);
26
26
  $foreground: null;
27
27
  @if $palette-name == null {
28
28
  $is-dark: inspection.get-theme-type($theme) == dark;
29
- $grey-50: map.get(palette.$grey-palette, 50);
30
- $grey-900: map.get(palette.$grey-palette, 900);
29
+ $grey-50: map.get(m2-palette.$grey-palette, 50);
30
+ $grey-900: map.get(m2-palette.$grey-palette, 900);
31
31
  $foreground: if($is-dark, $grey-50, $grey-900);
32
32
  }
33
33
  @else {
@@ -6,7 +6,7 @@
6
6
  @use '../../../style/sass-utils';
7
7
  @use '../../../theming/theming';
8
8
  @use '../../../theming/inspection';
9
- @use '../../../theming/palette';
9
+ @use '../../../m2/palette' as m2-palette;
10
10
 
11
11
  // The prefix used to generate the fully qualified name for tokens in this file.
12
12
  $prefix: (mat, form-field);
@@ -34,10 +34,10 @@ $prefix: (mat, form-field);
34
34
  // always on a white background inside the dropdown, causing them to blend in.
35
35
  // Since we can't change background of the dropdown, we need to explicitly
36
36
  // reset the color of the options to something dark.
37
- select-option-text-color: if($is-dark, palette.$dark-primary-text, inherit),
37
+ select-option-text-color: if($is-dark, m2-palette.$dark-primary-text, inherit),
38
38
  // Note the spelling of the `GrayText` here which is a system color. See:
39
39
  // https://developer.mozilla.org/en-US/docs/Web/CSS/system-color
40
- select-disabled-option-text-color: if($is-dark, palette.$dark-disabled-text, GrayText),
40
+ select-disabled-option-text-color: if($is-dark, m2-palette.$dark-disabled-text, GrayText),
41
41
 
42
42
  // These tokens are necessary for M3. MDC has them built in already, but:
43
43
  // 1. They are too specific, breaking a lot of internal clients.
@@ -1,5 +1,6 @@
1
1
  @use 'sass:map';
2
- @use '../../../theming/palette';
2
+ @use '../../../m2/palette' as m2-palette;
3
+ @use '../../../m2/theming' as m2-theming;
3
4
  @use '../../../theming/theming';
4
5
  @use '../../../theming/inspection';
5
6
  @use '../../../style/sass-utils';
@@ -51,7 +52,7 @@ $prefix: (mdc, checkbox);
51
52
  $border-color: sass-utils.safe-color-change(
52
53
  inspection.get-theme-color($theme, foreground, base), $alpha: 0.54);
53
54
  $active-border-color:
54
- theming.get-color-from-palette(palette.$gray-palette, if($is-dark, 200, 900));
55
+ m2-theming.get-color-from-palette(m2-palette.$gray-palette, if($is-dark, 200, 900));
55
56
  $selected-checkmark-color: null;
56
57
 
57
58
  // Ideally we would derive all values directly from the theme, but it causes a lot of regressions
@@ -5,7 +5,7 @@
5
5
  @use '../../../style/sass-utils';
6
6
  @use '../../../theming/theming';
7
7
  @use '../../../theming/inspection';
8
- @use '../../../theming/palette';
8
+ @use '../../../m2/palette' as m2-palette;
9
9
 
10
10
  // The prefix used to generate the fully qualified name for tokens in this file.
11
11
  $prefix: (mdc, chip);
@@ -224,8 +224,8 @@ $prefix: (mdc, chip);
224
224
 
225
225
  @if $palette-name == null {
226
226
  $is-dark: inspection.get-theme-type($theme) == dark;
227
- $grey-50: map.get(palette.$grey-palette, 50);
228
- $grey-900: map.get(palette.$grey-palette, 900);
227
+ $grey-50: map.get(m2-palette.$grey-palette, 50);
228
+ $grey-900: map.get(m2-palette.$grey-palette, 900);
229
229
  $foreground: if($is-dark, $grey-50, $grey-900);
230
230
 
231
231
  $surface: inspection.get-theme-color($theme, background, card);
@@ -1,5 +1,6 @@
1
1
  @use 'sass:map';
2
- @use '../../../theming/palette';
2
+ @use '../../../m2/palette' as m2-palette;
3
+ @use '../../../m2/theming' as m2-theming;
3
4
  @use '../../../theming/theming';
4
5
  @use '../../../theming/inspection';
5
6
  @use '../../../style/sass-utils';
@@ -45,7 +46,7 @@ $prefix: (mdc, radio);
45
46
  @function get-color-tokens($theme, $palette-name: accent) {
46
47
  $is-dark: inspection.get-theme-type($theme) == dark;
47
48
  $palette-color: inspection.get-theme-color($theme, $palette-name, default);
48
- $icon-color: theming.get-color-from-palette(palette.$gray-palette, if($is-dark, 200, 900));
49
+ $icon-color: m2-theming.get-color-from-palette(m2-palette.$gray-palette, if($is-dark, 200, 900));
49
50
 
50
51
  @return (
51
52
  disabled-selected-icon-color: inspection.get-theme-color($theme, foreground, icon, 1),
@@ -1,4 +1,5 @@
1
1
  @use './typography';
2
+ @use '../m2/typography' as m2-typography;
2
3
  @use '../../autocomplete/autocomplete-theme';
3
4
  @use '../../badge/badge-theme';
4
5
  @use '../../bottom-sheet/bottom-sheet-theme';
@@ -40,9 +41,9 @@
40
41
 
41
42
  // Includes all of the typographic styles.
42
43
  @mixin all-component-typographies($theme: null) {
43
- // If no actual color configuration has been specified, create a default one.
44
+ // If no actual typography configuration has been specified, create a default one.
44
45
  @if not inspection.theme-has($theme, typography) {
45
- $theme: typography.define-typography-config();
46
+ $theme: m2-typography.define-typography-config();
46
47
  }
47
48
 
48
49
  // TODO: COMP-309: Do not use individual mixins. Instead, use the all-theme mixin and only
@@ -1,10 +1,4 @@
1
1
  @use 'sass:list';
2
- @use 'sass:math';
3
- @use './property-getters';
4
-
5
- // Property getters live in their own file to avoid circular dependencies, but we re-export them
6
- // here so that historical imports from this file continue to work without needing to be updated.
7
- @forward './property-getters';
8
2
 
9
3
  /// Outputs the shorthand `font` CSS property, based on a set of typography values. Falls back to
10
4
  /// the individual properties if a value that isn't allowed in the shorthand is passed in.
@@ -35,23 +29,3 @@
35
29
  font: $font-weight list.slash($font-size, $line-height) $font-family;
36
30
  }
37
31
  }
38
-
39
- /// Emits CSS styles for the given typography level.
40
- /// @param {Map} $config A typography config.
41
- /// @param {Map} $level A typography level.
42
- @mixin typography-level($config, $level) {
43
- // we deliberately do not use the font shorthand here because it overrides
44
- // certain font properties that can't be configured in the current typography
45
- // config, e.g. the font-variant-caps or font-feature-settings property
46
- font-size: property-getters.font-size($config, $level);
47
- font-weight: property-getters.font-weight($config, $level);
48
- line-height: property-getters.line-height($config, $level);
49
- font-family: property-getters.font-family($config, $level);
50
- letter-spacing: property-getters.letter-spacing($config, $level);
51
- }
52
-
53
- /// Coerce a value to `em` if it is a unitless number, otherwise returns
54
- /// the value provided.
55
- @function private-coerce-unitless-to-em($value) {
56
- @return if(math.is-unitless($value), 1em * $value, $value);
57
- }
@@ -3,12 +3,10 @@
3
3
  @use 'sass:string';
4
4
  @use 'typography-utils';
5
5
  @use '../theming/inspection';
6
- @use './versioning';
7
6
 
8
7
  // Definition and versioning functions live in their own files to avoid circular dependencies, but
9
8
  // we re-export them here so that historical imports from this file continue to work without needing
10
9
  // to be updated.
11
- @forward './definition';
12
10
  @forward './versioning';
13
11
 
14
12
  @mixin typography-hierarchy($theme, $selector: '.mat-typography', $back-compat: false) {
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use './definition';
2
+ @use '../m2/typography' as m2-typography;
3
3
 
4
4
  // Whether a config is for the Material Design 2018 typography system.
5
5
  @function private-typography-is-2018-config($config) {
@@ -44,7 +44,7 @@
44
44
  $non-null-args: map.merge($non-null-args, ($key: $value));
45
45
  }
46
46
  }
47
- @return definition.define-legacy-typography-config($non-null-args...);
47
+ @return m2-typography.define-legacy-typography-config($non-null-args...);
48
48
  }
49
49
  @return $config;
50
50
  }
@@ -83,7 +83,7 @@
83
83
  button: map.get($config, button),
84
84
  caption: map.get($config, caption),
85
85
  overline: if(map.get($config, overline), map.get($config, overline),
86
- definition.define-typography-level(12px, 32px, 500)
86
+ m2-typography.define-typography-level(12px, 32px, 500)
87
87
  )
88
88
  );
89
89
  }
@@ -134,6 +134,15 @@ $calendar-weekday-table-font-size: 11px !default;
134
134
  }
135
135
  }
136
136
 
137
+ /// Outputs the CSS variable values for the given tokens.
138
+ /// @param {Map} $tokens The token values to emit.
139
+ @mixin overrides($tokens: ()) {
140
+ @include token-utils.batch-create-token-values(
141
+ $tokens,
142
+ (prefix: tokens-mat-datepicker.$prefix, tokens: tokens-mat-datepicker.get-token-slots()),
143
+ );
144
+ }
145
+
137
146
  /// Outputs all (base, color, typography, and density) theme styles for the mat-datepicker.
138
147
  /// @param {Map} $theme The theme to generate styles for.
139
148
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -1264,6 +1264,11 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
1264
1264
  ngControl: NgControl | null;
1265
1265
  /** Emits when the input's state has changed. */
1266
1266
  readonly stateChanges: Subject<void>;
1267
+ /**
1268
+ * Disable the automatic labeling to avoid issues like #27241.
1269
+ * @docs-private
1270
+ */
1271
+ readonly disableAutomaticLabeling = true;
1267
1272
  constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, control: ControlContainer, _dateAdapter: DateAdapter<D>, _formField?: _MatFormFieldPartial | undefined);
1268
1273
  /**
1269
1274
  * Implemented as a part of `MatFormFieldControl`.
@@ -56,6 +56,14 @@
56
56
  @else {}
57
57
  }
58
58
 
59
+ @mixin overrides($tokens: ()) {
60
+ @include token-utils.batch-create-token-values(
61
+ $tokens,
62
+ (prefix: tokens-mdc-dialog.$prefix, tokens: tokens-mdc-dialog.get-token-slots()),
63
+ (prefix: tokens-mat-dialog.$prefix, tokens: tokens-mat-dialog.get-token-slots()),
64
+ );
65
+ }
66
+
59
67
  @mixin theme($theme) {
60
68
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-dialog') {
61
69
  @if inspection.get-theme-version($theme) == 1 {
@@ -44,6 +44,13 @@
44
44
  @else {}
45
45
  }
46
46
 
47
+ @mixin overrides($tokens: ()) {
48
+ @include token-utils.batch-create-token-values(
49
+ $tokens,
50
+ (prefix: tokens-mat-divider.$prefix, tokens: tokens-mat-divider.get-token-slots()),
51
+ );
52
+ }
53
+
47
54
  @mixin theme($theme) {
48
55
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-divider') {
49
56
  @if inspection.get-theme-version($theme) == 1 {
@@ -17,10 +17,10 @@ export class MatAutocompleteOrigin {
17
17
  elementRef) {
18
18
  this.elementRef = elementRef;
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
21
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
24
24
  type: Directive,
25
25
  args: [{
26
26
  selector: '[matAutocompleteOrigin]',
@@ -806,10 +806,10 @@ export class MatAutocompleteTrigger {
806
806
  this._trackedModal = null;
807
807
  }
808
808
  }
809
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
810
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", 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 }); }
809
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteTrigger, deps: [{ token: i0.ElementRef }, { token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
810
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", 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 }); }
811
811
  }
812
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
812
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
813
813
  type: Directive,
814
814
  args: [{
815
815
  selector: `input[matAutocomplete], textarea[matAutocomplete]`,
@@ -175,10 +175,10 @@ export class MatAutocomplete {
175
175
  _skipPredicate() {
176
176
  return false;
177
177
  }
178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
179
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-next.1", 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-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 [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\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);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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}mat-autocomplete{display:none}"], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocomplete, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
179
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-next.5", 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-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 [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n (@panelAnimation.done)=\"_animationDone.next($event)\"\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);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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}mat-autocomplete{display:none}"], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocomplete, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocomplete, decorators: [{
182
182
  type: Component,
183
183
  args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', host: {
184
184
  'class': 'mat-mdc-autocomplete',
@@ -15,8 +15,8 @@ import { MatAutocompleteTrigger, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVID
15
15
  import { MatAutocompleteOrigin } from './autocomplete-origin';
16
16
  import * as i0 from "@angular/core";
17
17
  export class MatAutocompleteModule {
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteModule, imports: [OverlayModule,
20
20
  MatOptionModule,
21
21
  MatCommonModule,
22
22
  CommonModule,
@@ -28,14 +28,14 @@ export class MatAutocompleteModule {
28
28
  MatCommonModule,
29
29
  MatAutocompleteTrigger,
30
30
  MatAutocompleteOrigin] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
31
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule,
32
32
  MatOptionModule,
33
33
  MatCommonModule,
34
34
  CommonModule, CdkScrollableModule,
35
35
  MatOptionModule,
36
36
  MatCommonModule] }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatAutocompleteModule, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatAutocompleteModule, decorators: [{
39
39
  type: NgModule,
40
40
  args: [{
41
41
  imports: [
@@ -11,11 +11,11 @@ import { A11yModule } from '@angular/cdk/a11y';
11
11
  import { MatBadge, _MatBadgeStyleLoader } from './badge';
12
12
  import * as i0 from "@angular/core";
13
13
  export class MatBadgeModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatBadge, _MatBadgeStyleLoader], exports: [MatBadge, MatCommonModule] }); }
16
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatCommonModule] }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatBadge, _MatBadgeStyleLoader], exports: [MatBadge, MatCommonModule] }); }
16
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadgeModule, imports: [A11yModule, MatCommonModule, MatCommonModule] }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadgeModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadgeModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  // Note: we _shouldn't_ have to import `_MatBadgeStyleLoader`,
@@ -19,10 +19,10 @@ const badgeApps = new Set();
19
19
  * @docs-private
20
20
  */
21
21
  export class _MatBadgeStyleLoader {
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: _MatBadgeStyleLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.1", type: _MatBadgeStyleLoader, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: _MatBadgeStyleLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.5", type: _MatBadgeStyleLoader, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: _MatBadgeStyleLoader, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: _MatBadgeStyleLoader, decorators: [{
26
26
  type: Component,
27
27
  args: [{ standalone: true, encapsulation: ViewEncapsulation.None, template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"] }]
28
28
  }] });
@@ -240,10 +240,10 @@ export class MatBadge {
240
240
  }
241
241
  }
242
242
  }
243
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadge, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.AriaDescriber }, { token: i0.Renderer2 }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
244
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: MatBadge, isStandalone: true, selector: "[matBadge]", inputs: { color: ["matBadgeColor", "color"], overlap: ["matBadgeOverlap", "overlap", booleanAttribute], disabled: ["matBadgeDisabled", "disabled", booleanAttribute], position: ["matBadgePosition", "position"], content: ["matBadge", "content"], description: ["matBadgeDescription", "description"], size: ["matBadgeSize", "size"], hidden: ["matBadgeHidden", "hidden", booleanAttribute] }, host: { properties: { "class.mat-badge-overlap": "overlap", "class.mat-badge-above": "isAbove()", "class.mat-badge-below": "!isAbove()", "class.mat-badge-before": "!isAfter()", "class.mat-badge-after": "isAfter()", "class.mat-badge-small": "size === \"small\"", "class.mat-badge-medium": "size === \"medium\"", "class.mat-badge-large": "size === \"large\"", "class.mat-badge-hidden": "hidden || !content", "class.mat-badge-disabled": "disabled" }, classAttribute: "mat-badge" }, ngImport: i0 }); }
243
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadge, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.AriaDescriber }, { token: i0.Renderer2 }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
244
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: MatBadge, isStandalone: true, selector: "[matBadge]", inputs: { color: ["matBadgeColor", "color"], overlap: ["matBadgeOverlap", "overlap", booleanAttribute], disabled: ["matBadgeDisabled", "disabled", booleanAttribute], position: ["matBadgePosition", "position"], content: ["matBadge", "content"], description: ["matBadgeDescription", "description"], size: ["matBadgeSize", "size"], hidden: ["matBadgeHidden", "hidden", booleanAttribute] }, host: { properties: { "class.mat-badge-overlap": "overlap", "class.mat-badge-above": "isAbove()", "class.mat-badge-below": "!isAbove()", "class.mat-badge-before": "!isAfter()", "class.mat-badge-after": "isAfter()", "class.mat-badge-small": "size === \"small\"", "class.mat-badge-medium": "size === \"medium\"", "class.mat-badge-large": "size === \"large\"", "class.mat-badge-hidden": "hidden || !content", "class.mat-badge-disabled": "disabled" }, classAttribute: "mat-badge" }, ngImport: i0 }); }
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBadge, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBadge, decorators: [{
247
247
  type: Directive,
248
248
  args: [{
249
249
  selector: '[matBadge]',
@@ -62,10 +62,10 @@ export class MatBottomSheetContainer extends CdkDialogContainer {
62
62
  _toggleClass(cssClass, add) {
63
63
  this._elementRef.nativeElement.classList.toggle(cssClass, add);
64
64
  }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i3.OverlayRef }, { token: i4.BreakpointObserver }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
66
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.1", type: MatBottomSheetContainer, isStandalone: true, selector: "mat-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@state.start": "_onAnimationStart($event)", "@state.done": "_onAnimationDone($event)" }, properties: { "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-label": "_config.ariaLabel", "@state": "_animationState" }, classAttribute: "mat-bottom-sheet-container" }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: [".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [matBottomSheetAnimations.bottomSheetState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetContainer, deps: [{ token: i0.ElementRef }, { token: i1.FocusTrapFactory }, { token: DOCUMENT, optional: true }, { token: i2.DialogConfig }, { token: i1.InteractivityChecker }, { token: i0.NgZone }, { token: i3.OverlayRef }, { token: i4.BreakpointObserver }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component }); }
66
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.5", type: MatBottomSheetContainer, isStandalone: true, selector: "mat-bottom-sheet-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@state.start": "_onAnimationStart($event)", "@state.done": "_onAnimationDone($event)" }, properties: { "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-label": "_config.ariaLabel", "@state": "_animationState" }, classAttribute: "mat-bottom-sheet-container" }, usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\r\n", styles: [".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [matBottomSheetAnimations.bottomSheetState], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetContainer, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetContainer, decorators: [{
69
69
  type: Component,
70
70
  args: [{ selector: 'mat-bottom-sheet-container', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, animations: [matBottomSheetAnimations.bottomSheetState], host: {
71
71
  'class': 'mat-bottom-sheet-container',
@@ -13,11 +13,11 @@ import { MatBottomSheetContainer } from './bottom-sheet-container';
13
13
  import { MatBottomSheet } from './bottom-sheet';
14
14
  import * as i0 from "@angular/core";
15
15
  export class MatBottomSheetModule {
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer], exports: [MatBottomSheetContainer, MatCommonModule] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, providers: [MatBottomSheet], imports: [DialogModule, MatCommonModule, PortalModule, MatCommonModule] }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetModule, imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer], exports: [MatBottomSheetContainer, MatCommonModule] }); }
18
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetModule, providers: [MatBottomSheet], imports: [DialogModule, MatCommonModule, PortalModule, MatCommonModule] }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheetModule, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheetModule, decorators: [{
21
21
  type: NgModule,
22
22
  args: [{
23
23
  imports: [DialogModule, MatCommonModule, PortalModule, MatBottomSheetContainer],
@@ -96,10 +96,10 @@ export class MatBottomSheet {
96
96
  this._bottomSheetRefAtThisLevel.dismiss();
97
97
  }
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: MatBottomSheet, optional: true, skipSelf: true }, { token: MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
100
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, providedIn: 'root' }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheet, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: MatBottomSheet, optional: true, skipSelf: true }, { token: MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
100
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheet, providedIn: 'root' }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MatBottomSheet, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MatBottomSheet, decorators: [{
103
103
  type: Injectable,
104
104
  args: [{ providedIn: 'root' }]
105
105
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }, { type: MatBottomSheet, decorators: [{