@angular/material 14.0.0-next.1 → 14.0.0-next.12

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 (603) hide show
  1. package/_index.scss +20 -1
  2. package/autocomplete/autocomplete-origin.d.ts +2 -2
  3. package/autocomplete/autocomplete-trigger.d.ts +16 -5
  4. package/autocomplete/autocomplete.d.ts +8 -2
  5. package/badge/_badge-theme.scss +11 -2
  6. package/badge/badge.d.ts +1 -1
  7. package/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  8. package/button/button.d.ts +2 -2
  9. package/button-toggle/_button-toggle-theme.scss +14 -2
  10. package/button-toggle/button-toggle.d.ts +2 -2
  11. package/card/card.d.ts +14 -14
  12. package/checkbox/_checkbox-theme.scss +1 -1
  13. package/checkbox/checkbox-required-validator.d.ts +1 -1
  14. package/checkbox/checkbox.d.ts +2 -2
  15. package/checkbox/testing/checkbox-harness-filters.d.ts +2 -0
  16. package/chips/chip-input.d.ts +3 -6
  17. package/chips/chip-list.d.ts +21 -6
  18. package/chips/chip.d.ts +7 -7
  19. package/core/_core.scss +5 -7
  20. package/core/common-behaviors/error-state.d.ts +1 -2
  21. package/core/datetime/index.d.ts +1 -2
  22. package/core/line/line.d.ts +1 -1
  23. package/core/option/optgroup.d.ts +2 -2
  24. package/core/option/option.d.ts +2 -2
  25. package/core/ripple/_ripple.scss +2 -2
  26. package/core/ripple/index.d.ts +1 -2
  27. package/core/ripple/ripple-ref.d.ts +2 -1
  28. package/core/ripple/ripple-renderer.d.ts +16 -3
  29. package/core/ripple/ripple.d.ts +1 -1
  30. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -1
  31. package/core/style/_menu-common.scss +3 -2
  32. package/core/style/_vendor-prefixes.scss +1 -17
  33. package/core/theming/_theming.scss +10 -1
  34. package/core/typography/_typography.scss +51 -14
  35. package/datepicker/calendar-body.d.ts +34 -4
  36. package/datepicker/calendar.d.ts +2 -2
  37. package/datepicker/date-range-input-parts.d.ts +7 -4
  38. package/datepicker/date-range-input.d.ts +1 -1
  39. package/datepicker/date-range-picker.d.ts +1 -1
  40. package/datepicker/datepicker-actions.d.ts +3 -3
  41. package/datepicker/datepicker-base.d.ts +4 -2
  42. package/datepicker/datepicker-input-base.d.ts +1 -1
  43. package/datepicker/datepicker-input.d.ts +1 -1
  44. package/datepicker/datepicker-toggle.d.ts +2 -2
  45. package/datepicker/datepicker.d.ts +1 -1
  46. package/datepicker/month-view.d.ts +19 -1
  47. package/datepicker/multi-year-view.d.ts +19 -1
  48. package/datepicker/year-view.d.ts +19 -1
  49. package/dialog/dialog-animations.d.ts +10 -0
  50. package/dialog/dialog-config.d.ts +12 -1
  51. package/dialog/dialog-container.d.ts +14 -6
  52. package/dialog/dialog-content-directives.d.ts +8 -4
  53. package/dialog/dialog.d.ts +13 -7
  54. package/dialog/public-api.d.ts +1 -1
  55. package/dialog/testing/dialog-opener.d.ts +33 -0
  56. package/dialog/testing/public-api.d.ts +1 -0
  57. package/divider/divider.d.ts +1 -1
  58. package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
  59. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  60. package/esm2020/autocomplete/autocomplete-trigger.mjs +102 -50
  61. package/esm2020/autocomplete/autocomplete.mjs +19 -9
  62. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +7 -1
  63. package/esm2020/badge/badge-module.mjs +5 -5
  64. package/esm2020/badge/badge.mjs +4 -4
  65. package/esm2020/bottom-sheet/bottom-sheet-animations.mjs +10 -4
  66. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +12 -7
  67. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  68. package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
  69. package/esm2020/button/button-module.mjs +5 -5
  70. package/esm2020/button/button.mjs +10 -10
  71. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  72. package/esm2020/button-toggle/button-toggle.mjs +8 -8
  73. package/esm2020/card/card-module.mjs +5 -5
  74. package/esm2020/card/card.mjs +44 -44
  75. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  76. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  77. package/esm2020/checkbox/checkbox.mjs +12 -8
  78. package/esm2020/checkbox/testing/checkbox-harness-filters.mjs +1 -1
  79. package/esm2020/checkbox/testing/checkbox-harness.mjs +3 -2
  80. package/esm2020/chips/chip-input.mjs +4 -4
  81. package/esm2020/chips/chip-list.mjs +34 -9
  82. package/esm2020/chips/chip.mjs +20 -17
  83. package/esm2020/chips/chips-module.mjs +5 -5
  84. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  85. package/esm2020/core/common-behaviors/error-state.mjs +1 -8
  86. package/esm2020/core/datetime/index.mjs +9 -11
  87. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  88. package/esm2020/core/error/error-options.mjs +7 -7
  89. package/esm2020/core/line/line.mjs +8 -8
  90. package/esm2020/core/option/index.mjs +5 -5
  91. package/esm2020/core/option/optgroup.mjs +8 -8
  92. package/esm2020/core/option/option.mjs +10 -10
  93. package/esm2020/core/ripple/index.mjs +6 -7
  94. package/esm2020/core/ripple/ripple-ref.mjs +5 -2
  95. package/esm2020/core/ripple/ripple-renderer.mjs +112 -54
  96. package/esm2020/core/ripple/ripple.mjs +4 -4
  97. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  98. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  99. package/esm2020/core/version.mjs +1 -1
  100. package/esm2020/datepicker/calendar-body.mjs +57 -12
  101. package/esm2020/datepicker/calendar.mjs +27 -16
  102. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  103. package/esm2020/datepicker/date-range-input.mjs +6 -6
  104. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  105. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  106. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  107. package/esm2020/datepicker/datepicker-actions.mjs +12 -12
  108. package/esm2020/datepicker/datepicker-base.mjs +12 -20
  109. package/esm2020/datepicker/datepicker-input-base.mjs +12 -7
  110. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  111. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  112. package/esm2020/datepicker/datepicker-module.mjs +5 -5
  113. package/esm2020/datepicker/datepicker-toggle.mjs +10 -10
  114. package/esm2020/datepicker/datepicker.mjs +4 -4
  115. package/esm2020/datepicker/month-view.mjs +38 -11
  116. package/esm2020/datepicker/multi-year-view.mjs +42 -10
  117. package/esm2020/datepicker/year-view.mjs +41 -10
  118. package/esm2020/dialog/dialog-animations.mjs +17 -4
  119. package/esm2020/dialog/dialog-config.mjs +8 -1
  120. package/esm2020/dialog/dialog-container.mjs +44 -26
  121. package/esm2020/dialog/dialog-content-directives.mjs +31 -15
  122. package/esm2020/dialog/dialog-module.mjs +5 -5
  123. package/esm2020/dialog/dialog.mjs +24 -40
  124. package/esm2020/dialog/public-api.mjs +2 -2
  125. package/esm2020/dialog/testing/dialog-opener.mjs +67 -0
  126. package/esm2020/dialog/testing/public-api.mjs +2 -1
  127. package/esm2020/divider/divider-module.mjs +5 -5
  128. package/esm2020/divider/divider.mjs +5 -5
  129. package/esm2020/expansion/accordion.mjs +4 -4
  130. package/esm2020/expansion/expansion-module.mjs +5 -5
  131. package/esm2020/expansion/expansion-panel-base.mjs +14 -0
  132. package/esm2020/expansion/expansion-panel-content.mjs +14 -7
  133. package/esm2020/expansion/expansion-panel-header.mjs +11 -11
  134. package/esm2020/expansion/expansion-panel.mjs +13 -10
  135. package/esm2020/expansion/public-api.mjs +2 -1
  136. package/esm2020/form-field/error.mjs +4 -4
  137. package/esm2020/form-field/form-field-control.mjs +4 -4
  138. package/esm2020/form-field/form-field-module.mjs +5 -5
  139. package/esm2020/form-field/form-field.mjs +22 -14
  140. package/esm2020/form-field/hint.mjs +4 -4
  141. package/esm2020/form-field/label.mjs +4 -4
  142. package/esm2020/form-field/placeholder.mjs +4 -4
  143. package/esm2020/form-field/prefix.mjs +4 -4
  144. package/esm2020/form-field/suffix.mjs +4 -4
  145. package/esm2020/form-field/testing/public-api.mjs +4 -4
  146. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  147. package/esm2020/grid-list/grid-list.mjs +6 -6
  148. package/esm2020/grid-list/grid-tile.mjs +17 -17
  149. package/esm2020/icon/icon-module.mjs +5 -5
  150. package/esm2020/icon/icon-registry.mjs +12 -14
  151. package/esm2020/icon/icon.mjs +31 -28
  152. package/esm2020/icon/testing/fake-icon-registry.mjs +9 -9
  153. package/esm2020/input/input-module.mjs +5 -5
  154. package/esm2020/input/input.mjs +41 -24
  155. package/esm2020/list/list-module.mjs +5 -5
  156. package/esm2020/list/list.mjs +21 -23
  157. package/esm2020/list/selection-list.mjs +15 -38
  158. package/esm2020/list/testing/list-item-harness-base.mjs +1 -9
  159. package/esm2020/menu/menu-content.mjs +7 -7
  160. package/esm2020/menu/menu-errors.mjs +1 -12
  161. package/esm2020/menu/menu-item.mjs +10 -6
  162. package/esm2020/menu/menu-module.mjs +5 -5
  163. package/esm2020/menu/menu-trigger.mjs +73 -66
  164. package/esm2020/menu/menu.mjs +35 -14
  165. package/esm2020/paginator/paginator-intl.mjs +4 -4
  166. package/esm2020/paginator/paginator-module.mjs +5 -5
  167. package/esm2020/paginator/paginator.mjs +17 -13
  168. package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
  169. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  170. package/esm2020/progress-bar/progress-bar.mjs +8 -5
  171. package/esm2020/progress-spinner/progress-spinner-module.mjs +8 -8
  172. package/esm2020/progress-spinner/progress-spinner.mjs +14 -51
  173. package/esm2020/progress-spinner/public-api.mjs +10 -2
  174. package/esm2020/radio/radio-module.mjs +5 -5
  175. package/esm2020/radio/radio.mjs +42 -14
  176. package/esm2020/radio/testing/radio-harness-filters.mjs +1 -1
  177. package/esm2020/radio/testing/radio-harness.mjs +3 -2
  178. package/esm2020/select/select-module.mjs +5 -5
  179. package/esm2020/select/select.mjs +68 -30
  180. package/esm2020/sidenav/drawer.mjs +19 -14
  181. package/esm2020/sidenav/sidenav-module.mjs +7 -8
  182. package/esm2020/sidenav/sidenav.mjs +12 -12
  183. package/esm2020/slide-toggle/slide-toggle-module.mjs +9 -9
  184. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  185. package/esm2020/slide-toggle/slide-toggle.mjs +6 -5
  186. package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
  187. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +4 -2
  188. package/esm2020/slider/slider-module.mjs +5 -5
  189. package/esm2020/slider/slider.mjs +5 -5
  190. package/esm2020/snack-bar/simple-snack-bar.mjs +7 -7
  191. package/esm2020/snack-bar/snack-bar-container.mjs +24 -18
  192. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  193. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  194. package/esm2020/sort/sort-header-intl.mjs +4 -4
  195. package/esm2020/sort/sort-header.mjs +16 -8
  196. package/esm2020/sort/sort-module.mjs +5 -5
  197. package/esm2020/sort/sort.mjs +4 -4
  198. package/esm2020/stepper/public-api.mjs +2 -2
  199. package/esm2020/stepper/step-content.mjs +4 -4
  200. package/esm2020/stepper/step-header.mjs +8 -8
  201. package/esm2020/stepper/step-label.mjs +4 -4
  202. package/esm2020/stepper/stepper-animations.mjs +9 -3
  203. package/esm2020/stepper/stepper-button.mjs +7 -7
  204. package/esm2020/stepper/stepper-icon.mjs +4 -4
  205. package/esm2020/stepper/stepper-intl.mjs +4 -4
  206. package/esm2020/stepper/stepper-module.mjs +6 -10
  207. package/esm2020/stepper/stepper.mjs +42 -66
  208. package/esm2020/table/cell.mjs +22 -22
  209. package/esm2020/table/row.mjs +22 -22
  210. package/esm2020/table/table-module.mjs +5 -5
  211. package/esm2020/table/table.mjs +9 -9
  212. package/esm2020/table/text-column.mjs +5 -5
  213. package/esm2020/tabs/ink-bar.mjs +11 -22
  214. package/esm2020/tabs/paginated-tab-header.mjs +27 -13
  215. package/esm2020/tabs/tab-body.mjs +11 -11
  216. package/esm2020/tabs/tab-content.mjs +4 -4
  217. package/esm2020/tabs/tab-group.mjs +59 -18
  218. package/esm2020/tabs/tab-header.mjs +8 -8
  219. package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
  220. package/esm2020/tabs/tab-label.mjs +4 -4
  221. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +18 -18
  222. package/esm2020/tabs/tab.mjs +4 -4
  223. package/esm2020/tabs/tabs-module.mjs +5 -5
  224. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  225. package/esm2020/toolbar/toolbar.mjs +8 -8
  226. package/esm2020/tooltip/testing/tooltip-harness.mjs +12 -7
  227. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  228. package/esm2020/tooltip/tooltip.mjs +126 -51
  229. package/esm2020/tree/node.mjs +10 -10
  230. package/esm2020/tree/outlet.mjs +4 -4
  231. package/esm2020/tree/padding.mjs +4 -4
  232. package/esm2020/tree/toggle.mjs +4 -4
  233. package/esm2020/tree/tree-module.mjs +5 -5
  234. package/esm2020/tree/tree.mjs +5 -5
  235. package/expansion/accordion.d.ts +1 -1
  236. package/expansion/expansion-panel-base.d.ts +22 -0
  237. package/expansion/expansion-panel-content.d.ts +5 -3
  238. package/expansion/expansion-panel-header.d.ts +3 -3
  239. package/expansion/expansion-panel.d.ts +2 -2
  240. package/expansion/public-api.d.ts +1 -0
  241. package/fesm2015/autocomplete/testing.mjs +6 -0
  242. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  243. package/fesm2015/autocomplete.mjs +131 -68
  244. package/fesm2015/autocomplete.mjs.map +1 -1
  245. package/fesm2015/badge/testing.mjs.map +1 -1
  246. package/fesm2015/badge.mjs +7 -7
  247. package/fesm2015/badge.mjs.map +1 -1
  248. package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
  249. package/fesm2015/bottom-sheet.mjs +27 -16
  250. package/fesm2015/bottom-sheet.mjs.map +1 -1
  251. package/fesm2015/button/testing.mjs.map +1 -1
  252. package/fesm2015/button-toggle/testing.mjs.map +1 -1
  253. package/fesm2015/button-toggle.mjs +11 -11
  254. package/fesm2015/button-toggle.mjs.map +1 -1
  255. package/fesm2015/button.mjs +13 -13
  256. package/fesm2015/button.mjs.map +1 -1
  257. package/fesm2015/card/testing.mjs.map +1 -1
  258. package/fesm2015/card.mjs +47 -47
  259. package/fesm2015/card.mjs.map +1 -1
  260. package/fesm2015/checkbox/testing.mjs +2 -1
  261. package/fesm2015/checkbox/testing.mjs.map +1 -1
  262. package/fesm2015/checkbox.mjs +22 -18
  263. package/fesm2015/checkbox.mjs.map +1 -1
  264. package/fesm2015/chips/testing.mjs.map +1 -1
  265. package/fesm2015/chips.mjs +59 -31
  266. package/fesm2015/chips.mjs.map +1 -1
  267. package/fesm2015/core/testing.mjs.map +1 -1
  268. package/fesm2015/core.mjs +181 -126
  269. package/fesm2015/core.mjs.map +1 -1
  270. package/fesm2015/datepicker/testing.mjs.map +1 -1
  271. package/fesm2015/datepicker.mjs +273 -130
  272. package/fesm2015/datepicker.mjs.map +1 -1
  273. package/fesm2015/dialog/testing.mjs +65 -2
  274. package/fesm2015/dialog/testing.mjs.map +1 -1
  275. package/fesm2015/dialog.mjs +144 -106
  276. package/fesm2015/dialog.mjs.map +1 -1
  277. package/fesm2015/divider/testing.mjs.map +1 -1
  278. package/fesm2015/divider.mjs +8 -8
  279. package/fesm2015/divider.mjs.map +1 -1
  280. package/fesm2015/expansion/testing.mjs.map +1 -1
  281. package/fesm2015/expansion.mjs +56 -33
  282. package/fesm2015/expansion.mjs.map +1 -1
  283. package/fesm2015/form-field/testing/control.mjs.map +1 -1
  284. package/fesm2015/form-field/testing.mjs +1 -1
  285. package/fesm2015/form-field/testing.mjs.map +1 -1
  286. package/fesm2015/form-field.mjs +47 -38
  287. package/fesm2015/form-field.mjs.map +1 -1
  288. package/fesm2015/grid-list/testing.mjs.map +1 -1
  289. package/fesm2015/grid-list.mjs +25 -25
  290. package/fesm2015/grid-list.mjs.map +1 -1
  291. package/fesm2015/icon/testing.mjs +8 -8
  292. package/fesm2015/icon/testing.mjs.map +1 -1
  293. package/fesm2015/icon.mjs +45 -44
  294. package/fesm2015/icon.mjs.map +1 -1
  295. package/fesm2015/input/testing.mjs.map +1 -1
  296. package/fesm2015/input.mjs +45 -28
  297. package/fesm2015/input.mjs.map +1 -1
  298. package/fesm2015/list/testing.mjs +0 -10
  299. package/fesm2015/list/testing.mjs.map +1 -1
  300. package/fesm2015/list.mjs +41 -67
  301. package/fesm2015/list.mjs.map +1 -1
  302. package/fesm2015/material.mjs.map +1 -1
  303. package/fesm2015/menu/testing.mjs.map +1 -1
  304. package/fesm2015/menu.mjs +126 -101
  305. package/fesm2015/menu.mjs.map +1 -1
  306. package/fesm2015/paginator/testing.mjs +14 -0
  307. package/fesm2015/paginator/testing.mjs.map +1 -1
  308. package/fesm2015/paginator.mjs +23 -19
  309. package/fesm2015/paginator.mjs.map +1 -1
  310. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  311. package/fesm2015/progress-bar.mjs +11 -8
  312. package/fesm2015/progress-bar.mjs.map +1 -1
  313. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  314. package/fesm2015/progress-spinner.mjs +31 -63
  315. package/fesm2015/progress-spinner.mjs.map +1 -1
  316. package/fesm2015/radio/testing.mjs +2 -1
  317. package/fesm2015/radio/testing.mjs.map +1 -1
  318. package/fesm2015/radio.mjs +46 -17
  319. package/fesm2015/radio.mjs.map +1 -1
  320. package/fesm2015/select/testing.mjs.map +1 -1
  321. package/fesm2015/select.mjs +72 -34
  322. package/fesm2015/select.mjs.map +1 -1
  323. package/fesm2015/sidenav/testing.mjs.map +1 -1
  324. package/fesm2015/sidenav.mjs +36 -32
  325. package/fesm2015/sidenav.mjs.map +1 -1
  326. package/fesm2015/slide-toggle/testing.mjs +3 -1
  327. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  328. package/fesm2015/slide-toggle.mjs +16 -15
  329. package/fesm2015/slide-toggle.mjs.map +1 -1
  330. package/fesm2015/slider/testing.mjs.map +1 -1
  331. package/fesm2015/slider.mjs +8 -8
  332. package/fesm2015/slider.mjs.map +1 -1
  333. package/fesm2015/snack-bar/testing.mjs.map +1 -1
  334. package/fesm2015/snack-bar.mjs +39 -33
  335. package/fesm2015/snack-bar.mjs.map +1 -1
  336. package/fesm2015/sort/testing.mjs.map +1 -1
  337. package/fesm2015/sort.mjs +128 -120
  338. package/fesm2015/sort.mjs.map +1 -1
  339. package/fesm2015/stepper/testing.mjs.map +1 -1
  340. package/fesm2015/stepper.mjs +75 -96
  341. package/fesm2015/stepper.mjs.map +1 -1
  342. package/fesm2015/table/testing.mjs.map +1 -1
  343. package/fesm2015/table.mjs +58 -58
  344. package/fesm2015/table.mjs.map +1 -1
  345. package/fesm2015/tabs/testing.mjs.map +1 -1
  346. package/fesm2015/tabs.mjs +139 -95
  347. package/fesm2015/tabs.mjs.map +1 -1
  348. package/fesm2015/toolbar/testing.mjs.map +1 -1
  349. package/fesm2015/toolbar.mjs +11 -11
  350. package/fesm2015/toolbar.mjs.map +1 -1
  351. package/fesm2015/tooltip/testing.mjs +11 -8
  352. package/fesm2015/tooltip/testing.mjs.map +1 -1
  353. package/fesm2015/tooltip.mjs +154 -79
  354. package/fesm2015/tooltip.mjs.map +1 -1
  355. package/fesm2015/tree/testing.mjs.map +1 -1
  356. package/fesm2015/tree.mjs +26 -26
  357. package/fesm2015/tree.mjs.map +1 -1
  358. package/fesm2020/autocomplete/testing.mjs +6 -0
  359. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  360. package/fesm2020/autocomplete.mjs +130 -68
  361. package/fesm2020/autocomplete.mjs.map +1 -1
  362. package/fesm2020/badge/testing.mjs.map +1 -1
  363. package/fesm2020/badge.mjs +7 -7
  364. package/fesm2020/badge.mjs.map +1 -1
  365. package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
  366. package/fesm2020/bottom-sheet.mjs +27 -16
  367. package/fesm2020/bottom-sheet.mjs.map +1 -1
  368. package/fesm2020/button/testing.mjs.map +1 -1
  369. package/fesm2020/button-toggle/testing.mjs.map +1 -1
  370. package/fesm2020/button-toggle.mjs +11 -11
  371. package/fesm2020/button-toggle.mjs.map +1 -1
  372. package/fesm2020/button.mjs +13 -13
  373. package/fesm2020/button.mjs.map +1 -1
  374. package/fesm2020/card/testing.mjs.map +1 -1
  375. package/fesm2020/card.mjs +47 -47
  376. package/fesm2020/card.mjs.map +1 -1
  377. package/fesm2020/checkbox/testing.mjs +2 -1
  378. package/fesm2020/checkbox/testing.mjs.map +1 -1
  379. package/fesm2020/checkbox.mjs +22 -18
  380. package/fesm2020/checkbox.mjs.map +1 -1
  381. package/fesm2020/chips/testing.mjs.map +1 -1
  382. package/fesm2020/chips.mjs +59 -31
  383. package/fesm2020/chips.mjs.map +1 -1
  384. package/fesm2020/core/testing.mjs.map +1 -1
  385. package/fesm2020/core.mjs +180 -126
  386. package/fesm2020/core.mjs.map +1 -1
  387. package/fesm2020/datepicker/testing.mjs.map +1 -1
  388. package/fesm2020/datepicker.mjs +273 -130
  389. package/fesm2020/datepicker.mjs.map +1 -1
  390. package/fesm2020/dialog/testing.mjs +65 -1
  391. package/fesm2020/dialog/testing.mjs.map +1 -1
  392. package/fesm2020/dialog.mjs +143 -106
  393. package/fesm2020/dialog.mjs.map +1 -1
  394. package/fesm2020/divider/testing.mjs.map +1 -1
  395. package/fesm2020/divider.mjs +8 -8
  396. package/fesm2020/divider.mjs.map +1 -1
  397. package/fesm2020/expansion/testing.mjs.map +1 -1
  398. package/fesm2020/expansion.mjs +54 -33
  399. package/fesm2020/expansion.mjs.map +1 -1
  400. package/fesm2020/form-field/testing/control.mjs.map +1 -1
  401. package/fesm2020/form-field/testing.mjs +1 -1
  402. package/fesm2020/form-field/testing.mjs.map +1 -1
  403. package/fesm2020/form-field.mjs +46 -38
  404. package/fesm2020/form-field.mjs.map +1 -1
  405. package/fesm2020/grid-list/testing.mjs.map +1 -1
  406. package/fesm2020/grid-list.mjs +25 -25
  407. package/fesm2020/grid-list.mjs.map +1 -1
  408. package/fesm2020/icon/testing.mjs +8 -8
  409. package/fesm2020/icon/testing.mjs.map +1 -1
  410. package/fesm2020/icon.mjs +45 -44
  411. package/fesm2020/icon.mjs.map +1 -1
  412. package/fesm2020/input/testing.mjs.map +1 -1
  413. package/fesm2020/input.mjs +44 -27
  414. package/fesm2020/input.mjs.map +1 -1
  415. package/fesm2020/list/testing.mjs +0 -8
  416. package/fesm2020/list/testing.mjs.map +1 -1
  417. package/fesm2020/list.mjs +38 -63
  418. package/fesm2020/list.mjs.map +1 -1
  419. package/fesm2020/material.mjs.map +1 -1
  420. package/fesm2020/menu/testing.mjs.map +1 -1
  421. package/fesm2020/menu.mjs +122 -101
  422. package/fesm2020/menu.mjs.map +1 -1
  423. package/fesm2020/paginator/testing.mjs +10 -0
  424. package/fesm2020/paginator/testing.mjs.map +1 -1
  425. package/fesm2020/paginator.mjs +23 -19
  426. package/fesm2020/paginator.mjs.map +1 -1
  427. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  428. package/fesm2020/progress-bar.mjs +11 -8
  429. package/fesm2020/progress-bar.mjs.map +1 -1
  430. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  431. package/fesm2020/progress-spinner.mjs +31 -61
  432. package/fesm2020/progress-spinner.mjs.map +1 -1
  433. package/fesm2020/radio/testing.mjs +2 -1
  434. package/fesm2020/radio/testing.mjs.map +1 -1
  435. package/fesm2020/radio.mjs +45 -17
  436. package/fesm2020/radio.mjs.map +1 -1
  437. package/fesm2020/select/testing.mjs.map +1 -1
  438. package/fesm2020/select.mjs +72 -34
  439. package/fesm2020/select.mjs.map +1 -1
  440. package/fesm2020/sidenav/testing.mjs.map +1 -1
  441. package/fesm2020/sidenav.mjs +36 -32
  442. package/fesm2020/sidenav.mjs.map +1 -1
  443. package/fesm2020/slide-toggle/testing.mjs +3 -1
  444. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  445. package/fesm2020/slide-toggle.mjs +16 -15
  446. package/fesm2020/slide-toggle.mjs.map +1 -1
  447. package/fesm2020/slider/testing.mjs.map +1 -1
  448. package/fesm2020/slider.mjs +8 -8
  449. package/fesm2020/slider.mjs.map +1 -1
  450. package/fesm2020/snack-bar/testing.mjs.map +1 -1
  451. package/fesm2020/snack-bar.mjs +39 -33
  452. package/fesm2020/snack-bar.mjs.map +1 -1
  453. package/fesm2020/sort/testing.mjs.map +1 -1
  454. package/fesm2020/sort.mjs +24 -16
  455. package/fesm2020/sort.mjs.map +1 -1
  456. package/fesm2020/stepper/testing.mjs.map +1 -1
  457. package/fesm2020/stepper.mjs +75 -96
  458. package/fesm2020/stepper.mjs.map +1 -1
  459. package/fesm2020/table/testing.mjs.map +1 -1
  460. package/fesm2020/table.mjs +58 -58
  461. package/fesm2020/table.mjs.map +1 -1
  462. package/fesm2020/tabs/testing.mjs.map +1 -1
  463. package/fesm2020/tabs.mjs +138 -95
  464. package/fesm2020/tabs.mjs.map +1 -1
  465. package/fesm2020/toolbar/testing.mjs.map +1 -1
  466. package/fesm2020/toolbar.mjs +11 -11
  467. package/fesm2020/toolbar.mjs.map +1 -1
  468. package/fesm2020/tooltip/testing.mjs +11 -6
  469. package/fesm2020/tooltip/testing.mjs.map +1 -1
  470. package/fesm2020/tooltip.mjs +147 -71
  471. package/fesm2020/tooltip.mjs.map +1 -1
  472. package/fesm2020/tree/testing.mjs.map +1 -1
  473. package/fesm2020/tree.mjs +26 -26
  474. package/fesm2020/tree.mjs.map +1 -1
  475. package/form-field/error.d.ts +1 -1
  476. package/form-field/form-field-control.d.ts +4 -4
  477. package/form-field/form-field.d.ts +16 -9
  478. package/form-field/hint.d.ts +1 -1
  479. package/form-field/label.d.ts +1 -1
  480. package/form-field/placeholder.d.ts +1 -1
  481. package/form-field/prefix.d.ts +1 -1
  482. package/form-field/suffix.d.ts +1 -1
  483. package/form-field/testing/public-api.d.ts +1 -1
  484. package/grid-list/grid-list.d.ts +1 -1
  485. package/grid-list/grid-tile.d.ts +5 -5
  486. package/icon/icon-registry.d.ts +7 -9
  487. package/icon/icon.d.ts +13 -4
  488. package/icon/testing/fake-icon-registry.d.ts +1 -1
  489. package/input/input.d.ts +13 -2
  490. package/list/list.d.ts +6 -6
  491. package/list/selection-list.d.ts +5 -22
  492. package/list/testing/list-item-harness-base.d.ts +1 -7
  493. package/menu/menu-content.d.ts +2 -2
  494. package/menu/menu-errors.d.ts +0 -5
  495. package/menu/menu-item.d.ts +4 -3
  496. package/menu/menu-trigger.d.ts +23 -13
  497. package/menu/menu.d.ts +9 -4
  498. package/package.json +7 -7
  499. package/paginator/paginator.d.ts +13 -2
  500. package/paginator/testing/paginator-harness.d.ts +3 -0
  501. package/prebuilt-themes/deeppurple-amber.css +1 -1
  502. package/prebuilt-themes/indigo-pink.css +1 -1
  503. package/prebuilt-themes/pink-bluegrey.css +1 -1
  504. package/prebuilt-themes/purple-green.css +1 -1
  505. package/progress-bar/progress-bar.d.ts +1 -1
  506. package/progress-spinner/progress-spinner-module.d.ts +1 -1
  507. package/progress-spinner/progress-spinner.d.ts +4 -19
  508. package/progress-spinner/public-api.d.ts +8 -1
  509. package/radio/radio.d.ts +11 -6
  510. package/radio/testing/radio-harness-filters.d.ts +2 -0
  511. package/schematics/collection.json +4 -2
  512. package/schematics/migration.json +5 -0
  513. package/schematics/ng-add/fonts/material-fonts.js +4 -13
  514. package/schematics/ng-add/fonts/material-fonts.mjs +4 -13
  515. package/schematics/ng-add/index.js +2 -2
  516. package/schematics/ng-add/index.mjs +2 -2
  517. package/schematics/ng-add/schema.d.ts +2 -2
  518. package/schematics/ng-add/schema.js +1 -1
  519. package/schematics/ng-add/schema.json +29 -9
  520. package/schematics/ng-add/schema.mjs +1 -1
  521. package/schematics/ng-add/setup-project.js +16 -23
  522. package/schematics/ng-add/setup-project.mjs +16 -23
  523. package/schematics/ng-add/theming/theming.js +28 -39
  524. package/schematics/ng-add/theming/theming.mjs +28 -39
  525. package/schematics/ng-generate/address-form/index.js +5 -14
  526. package/schematics/ng-generate/address-form/index.mjs +5 -14
  527. package/schematics/ng-generate/address-form/schema.json +1 -1
  528. package/schematics/ng-generate/dashboard/index.js +5 -14
  529. package/schematics/ng-generate/dashboard/index.mjs +5 -14
  530. package/schematics/ng-generate/dashboard/schema.json +1 -1
  531. package/schematics/ng-generate/navigation/index.js +5 -14
  532. package/schematics/ng-generate/navigation/index.mjs +5 -14
  533. package/schematics/ng-generate/navigation/schema.json +1 -1
  534. package/schematics/ng-generate/table/index.js +5 -14
  535. package/schematics/ng-generate/table/index.mjs +5 -14
  536. package/schematics/ng-generate/table/schema.json +1 -1
  537. package/schematics/ng-generate/tree/index.js +5 -14
  538. package/schematics/ng-generate/tree/index.mjs +5 -14
  539. package/schematics/ng-generate/tree/schema.json +1 -1
  540. package/schematics/ng-update/data/constructor-checks.js +11 -1
  541. package/schematics/ng-update/data/constructor-checks.mjs +11 -1
  542. package/schematics/ng-update/data/css-selectors.js +7 -1
  543. package/schematics/ng-update/data/css-selectors.mjs +7 -1
  544. package/schematics/ng-update/data/index.js +6 -2
  545. package/schematics/ng-update/data/index.mjs +6 -2
  546. package/schematics/ng-update/index.d.ts +2 -0
  547. package/schematics/ng-update/index.js +7 -2
  548. package/schematics/ng-update/index.mjs +7 -2
  549. package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
  550. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +8 -8
  551. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +8 -8
  552. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +14 -23
  553. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +14 -23
  554. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +3 -15
  555. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +3 -15
  556. package/schematics/ng-update/migrations/theming-api-v12/migration.js +5 -5
  557. package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +5 -5
  558. package/schematics/tsconfig.json +1 -4
  559. package/select/select.d.ts +27 -6
  560. package/sidenav/drawer.d.ts +3 -3
  561. package/sidenav/sidenav-module.d.ts +2 -3
  562. package/sidenav/sidenav.d.ts +3 -3
  563. package/slide-toggle/slide-toggle-required-validator.d.ts +1 -1
  564. package/slide-toggle/slide-toggle.d.ts +1 -1
  565. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +4 -0
  566. package/slider/slider.d.ts +1 -1
  567. package/snack-bar/simple-snack-bar.d.ts +1 -1
  568. package/snack-bar/snack-bar-container.d.ts +1 -1
  569. package/snack-bar/snack-bar.d.ts +1 -1
  570. package/sort/sort-header.d.ts +6 -6
  571. package/sort/sort.d.ts +7 -3
  572. package/stepper/public-api.d.ts +1 -1
  573. package/stepper/step-content.d.ts +1 -1
  574. package/stepper/step-header.d.ts +1 -1
  575. package/stepper/step-label.d.ts +1 -1
  576. package/stepper/stepper-animations.d.ts +2 -0
  577. package/stepper/stepper-button.d.ts +2 -2
  578. package/stepper/stepper-icon.d.ts +1 -1
  579. package/stepper/stepper-module.d.ts +1 -1
  580. package/stepper/stepper.d.ts +16 -39
  581. package/table/cell.d.ts +7 -7
  582. package/table/row.d.ts +7 -7
  583. package/table/table.d.ts +2 -2
  584. package/table/text-column.d.ts +1 -1
  585. package/tabs/_tabs-common.scss +6 -5
  586. package/tabs/ink-bar.d.ts +1 -6
  587. package/tabs/paginated-tab-header.d.ts +5 -3
  588. package/tabs/tab-body.d.ts +3 -3
  589. package/tabs/tab-content.d.ts +1 -1
  590. package/tabs/tab-group.d.ts +11 -5
  591. package/tabs/tab-header.d.ts +2 -2
  592. package/tabs/tab-label-wrapper.d.ts +1 -1
  593. package/tabs/tab-label.d.ts +1 -1
  594. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -5
  595. package/tabs/tab.d.ts +1 -1
  596. package/toolbar/toolbar.d.ts +2 -2
  597. package/tooltip/testing/tooltip-harness.d.ts +6 -0
  598. package/tooltip/tooltip.d.ts +40 -12
  599. package/tree/node.d.ts +3 -3
  600. package/tree/outlet.d.ts +1 -1
  601. package/tree/padding.d.ts +1 -1
  602. package/tree/toggle.d.ts +1 -1
  603. package/tree/tree.d.ts +1 -1
@@ -11,8 +11,6 @@ import { ErrorStateMatcher } from '../error/error-options';
11
11
  import { AbstractConstructor, Constructor } from './constructor';
12
12
  /** @docs-private */
13
13
  export interface CanUpdateErrorState {
14
- /** Emits whenever the component state changes. */
15
- readonly stateChanges: Subject<void>;
16
14
  /** Updates the error state based on the provided error state matcher. */
17
15
  updateErrorState(): void;
18
16
  /** Whether the component is in an error state. */
@@ -27,6 +25,7 @@ export interface HasErrorState {
27
25
  _parentForm: NgForm;
28
26
  _defaultErrorStateMatcher: ErrorStateMatcher;
29
27
  ngControl: NgControl;
28
+ stateChanges: Subject<void>;
30
29
  }
31
30
  /**
32
31
  * Mixin to augment a directive with updateErrorState method.
@@ -1,12 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/cdk/platform";
3
2
  export * from './date-adapter';
4
3
  export * from './date-formats';
5
4
  export * from './native-date-adapter';
6
5
  export * from './native-date-formats';
7
6
  export declare class NativeDateModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never, [typeof i1.PlatformModule], never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never, never, never>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<NativeDateModule>;
11
10
  }
12
11
  export declare class MatNativeDateModule {
@@ -15,7 +15,7 @@ import * as i1 from "../common-behaviors/common-module";
15
15
  */
16
16
  export declare class MatLine {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MatLine, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never, never, false>;
19
19
  }
20
20
  /**
21
21
  * Helper that takes a query list of lines and sets the correct class on the host.
@@ -22,7 +22,7 @@ export declare class _MatOptgroupBase extends _MatOptgroupMixinBase implements C
22
22
  _inert: boolean;
23
23
  constructor(parent?: MatOptionParentComponent);
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptgroupBase, [{ optional: true; }]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never, never, false>;
26
26
  }
27
27
  /**
28
28
  * Injection token that can be used to reference instances of `MatOptgroup`. It serves as
@@ -35,6 +35,6 @@ export declare const MAT_OPTGROUP: InjectionToken<MatOptgroup>;
35
35
  */
36
36
  export declare class MatOptgroup extends _MatOptgroupBase {
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<MatOptgroup, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"], false>;
39
39
  }
40
40
  export {};
@@ -106,7 +106,7 @@ export declare class _MatOptionBase<T = any> implements FocusableOption, AfterVi
106
106
  /** Emits the selection change event. */
107
107
  private _emitSelectionChangeEvent;
108
108
  static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptionBase<any>, never>;
109
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase<any>, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never>;
109
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase<any>, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, never, false>;
110
110
  }
111
111
  /**
112
112
  * Single option inside of a `<mat-select>` element.
@@ -114,7 +114,7 @@ export declare class _MatOptionBase<T = any> implements FocusableOption, AfterVi
114
114
  export declare class MatOption<T = any> extends _MatOptionBase<T> {
115
115
  constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatOptionParentComponent, group: MatOptgroup);
116
116
  static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"]>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"], false>;
118
118
  }
119
119
  /**
120
120
  * Counts the amount of option group labels that precede the specified option.
@@ -1,4 +1,4 @@
1
- @use '../../../cdk/a11y';
1
+ @use '@angular/cdk';
2
2
 
3
3
  @mixin ripple() {
4
4
  // The host element of an mat-ripple directive should always have a position of "absolute" or
@@ -36,7 +36,7 @@
36
36
  transform: scale3d(0, 0, 0);
37
37
 
38
38
  // In high contrast mode the ripple is opaque, causing it to obstruct the content.
39
- @include a11y.high-contrast(active, off) {
39
+ @include cdk.high-contrast(active, off) {
40
40
  display: none;
41
41
  }
42
42
  }
@@ -1,12 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ripple";
3
3
  import * as i2 from "../common-behaviors/common-module";
4
- import * as i3 from "@angular/cdk/platform";
5
4
  export * from './ripple';
6
5
  export * from './ripple-ref';
7
6
  export * from './ripple-renderer';
8
7
  export declare class MatRippleModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<MatRippleModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule, typeof i3.PlatformModule], [typeof i1.MatRipple, typeof i2.MatCommonModule]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule], [typeof i1.MatRipple, typeof i2.MatCommonModule]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
12
11
  }
@@ -39,6 +39,7 @@ export declare class RippleRef {
39
39
  element: HTMLElement;
40
40
  /** Ripple configuration used for the ripple. */
41
41
  config: RippleConfig;
42
+ _animationForciblyDisabledThroughCss: boolean;
42
43
  /** Current state of the ripple. */
43
44
  state: RippleState;
44
45
  constructor(_renderer: {
@@ -47,7 +48,7 @@ export declare class RippleRef {
47
48
  /** Reference to the ripple HTML element. */
48
49
  element: HTMLElement,
49
50
  /** Ripple configuration used for the ripple. */
50
- config: RippleConfig);
51
+ config: RippleConfig, _animationForciblyDisabledThroughCss?: boolean);
51
52
  /** Fades out the ripple element. */
52
53
  fadeOut(): void;
53
54
  }
@@ -43,7 +43,12 @@ export declare class RippleRenderer implements EventListenerObject {
43
43
  private _triggerElement;
44
44
  /** Whether the pointer is currently down or not. */
45
45
  private _isPointerDown;
46
- /** Set of currently active ripple references. */
46
+ /**
47
+ * Map of currently active ripple references.
48
+ * The ripple reference is mapped to its element event listeners.
49
+ * The reason why `| null` is used is that event listeners are added only
50
+ * when the condition is truthy (see the `_startFadeOutTransition` method).
51
+ */
47
52
  private _activeRipples;
48
53
  /** Latest non-persistent ripple that was triggered. */
49
54
  private _mostRecentTransientRipple;
@@ -77,16 +82,24 @@ export declare class RippleRenderer implements EventListenerObject {
77
82
  * @docs-private
78
83
  */
79
84
  handleEvent(event: Event): void;
85
+ /** Method that will be called if the fade-in or fade-in transition completed. */
86
+ private _finishRippleTransition;
87
+ /**
88
+ * Starts the fade-out transition of the given ripple if it's not persistent and the pointer
89
+ * is not held down anymore.
90
+ */
91
+ private _startFadeOutTransition;
92
+ /** Destroys the given ripple by removing it from the DOM and updating its state. */
93
+ private _destroyRipple;
80
94
  /** Function being called whenever the trigger is being pressed using mouse. */
81
95
  private _onMousedown;
82
96
  /** Function being called whenever the trigger is being pressed using touch. */
83
97
  private _onTouchStart;
84
98
  /** Function being called whenever the trigger is being released. */
85
99
  private _onPointerUp;
86
- /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
87
- private _runTimeoutOutsideZone;
88
100
  /** Registers event listeners for a given list of events. */
89
101
  private _registerEvents;
102
+ private _getActiveRipples;
90
103
  /** Removes previously registered event listeners from the trigger element. */
91
104
  _removeTriggerEvents(): void;
92
105
  }
@@ -109,5 +109,5 @@ export declare class MatRipple implements OnInit, OnDestroy, RippleTarget {
109
109
  */
110
110
  launch(x: number, y: number, config?: RippleConfig): RippleRef;
111
111
  static ɵfac: i0.ɵɵFactoryDeclaration<MatRipple, [null, null, null, { optional: true; }, { optional: true; }]>;
112
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatRipple, "[mat-ripple], [matRipple]", ["matRipple"], { "color": "matRippleColor"; "unbounded": "matRippleUnbounded"; "centered": "matRippleCentered"; "radius": "matRippleRadius"; "animation": "matRippleAnimation"; "disabled": "matRippleDisabled"; "trigger": "matRippleTrigger"; }, {}, never>;
112
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatRipple, "[mat-ripple], [matRipple]", ["matRipple"], { "color": "matRippleColor"; "unbounded": "matRippleUnbounded"; "centered": "matRippleCentered"; "radius": "matRippleRadius"; "animation": "matRippleAnimation"; "disabled": "matRippleDisabled"; "trigger": "matRippleTrigger"; }, {}, never, never, false>;
113
113
  }
@@ -25,5 +25,5 @@ export declare class MatPseudoCheckbox {
25
25
  disabled: boolean;
26
26
  constructor(_animationMode?: string | undefined);
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MatPseudoCheckbox, [{ optional: true; }]>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": "state"; "disabled": "disabled"; }, {}, never, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": "state"; "disabled": "disabled"; }, {}, never, never, false>;
29
29
  }
@@ -1,4 +1,5 @@
1
- @use '../../../cdk/a11y';
1
+ @use '@angular/cdk';
2
+
2
3
  @use './list-common';
3
4
  @use './layout-common';
4
5
 
@@ -84,7 +85,7 @@ $icon-margin: 16px !default;
84
85
  }
85
86
 
86
87
  // Fix for Chromium-based browsers blending in the `currentColor` with the background.
87
- @include a11y.high-contrast(active, off) {
88
+ @include cdk.high-contrast(active, off) {
88
89
  fill: CanvasText;
89
90
  }
90
91
  }
@@ -1,7 +1,6 @@
1
1
  // stylelint-disable material/no-prefixes
2
2
  @mixin user-select($value) {
3
3
  -webkit-user-select: $value;
4
- -moz-user-select: $value;
5
4
  user-select: $value;
6
5
  }
7
6
 
@@ -25,27 +24,12 @@
25
24
  }
26
25
  }
27
26
 
28
- @mixin cursor-grab {
29
- cursor: -webkit-grab;
30
- cursor: grab;
31
- }
32
-
33
- @mixin cursor-grabbing {
34
- cursor: -webkit-grabbing;
35
- cursor: grabbing;
36
- }
37
-
38
27
  @mixin backface-visibility($value) {
39
28
  -webkit-backface-visibility: $value;
40
29
  backface-visibility: $value;
41
30
  }
42
31
 
43
- @mixin position-sticky($important: false) {
44
- position: -webkit-sticky #{if($important, '!important', '')};
45
- position: sticky #{if($important, '!important', '')};
46
- }
47
-
48
- @mixin private-color-adjust($value) {
32
+ @mixin color-adjust($value) {
49
33
  -webkit-print-color-adjust: $value;
50
34
  color-adjust: $value;
51
35
  }
@@ -74,7 +74,7 @@ $_emitted-density: () !default;
74
74
 
75
75
  /// Gets a color from a theme palette (the output of mat-palette).
76
76
  /// The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
77
- /// hues (default, lighter, darker), or any of the aforementioned prefixed with "-contrast".
77
+ /// hues (default, lighter, darker), or any of the aforementioned suffixed with "-contrast".
78
78
  ///
79
79
  /// @param {Map} $palette The palette from which to extract a color.
80
80
  /// @param {String | Number} $hue The hue from the palette to use. If this is a value between 0
@@ -437,3 +437,12 @@ $_emitted-density: () !default;
437
437
  color: $theme-or-color-config
438
438
  ));
439
439
  }
440
+
441
+
442
+ // Approximates an rgba color into a solid hex color, given a background color.
443
+ @function private-rgba-to-hex($color, $background-color) {
444
+ // We convert the rgba color into a solid one by taking the opacity from the rgba
445
+ // value and using it to determine the percentage of the background to put
446
+ // into foreground when mixing the colors together.
447
+ @return mix($background-color, rgba($color, 1), (1 - opacity($color)) * 100%);
448
+ }
@@ -8,7 +8,7 @@
8
8
  /// @param {String | Number} $font-weight The font-weight for this level.
9
9
  /// @param {String} $font-family The font-family for this level.
10
10
  /// @param {String} $letter-spacing The letter-spacing for this level.
11
- /// @returns {Map} A map representing the definition of this typpographic level.
11
+ /// @returns {Map} A map representing the definition of this typographic level.
12
12
  @function define-typography-level(
13
13
  $font-size,
14
14
  $line-height: $font-size,
@@ -183,22 +183,41 @@
183
183
  @mixin typography-hierarchy($config-or-theme, $selector: '.mat-typography') {
184
184
  $config: private-typography-to-2014-config(theming.get-typography-config($config-or-theme));
185
185
 
186
- .mat-h1, .mat-headline, #{$selector} h1 {
186
+ // Note that it seems redundant to prefix the class rules with the `$selector`, however it's
187
+ // necessary if we want to allow people to overwrite the tag selectors. This is due to
188
+ // selectors like `#{$selector} h1` being more specific than ones like `.mat-title`.
189
+ .mat-h1,
190
+ .mat-headline,
191
+ #{$selector} .mat-h1,
192
+ #{$selector} .mat-headline,
193
+ #{$selector} h1 {
187
194
  @include typography-utils.typography-level($config, headline);
188
195
  margin: 0 0 16px;
189
196
  }
190
197
 
191
- .mat-h2, .mat-title, #{$selector} h2 {
198
+ .mat-h2,
199
+ .mat-title,
200
+ #{$selector} .mat-h2,
201
+ #{$selector} .mat-title,
202
+ #{$selector} h2 {
192
203
  @include typography-utils.typography-level($config, title);
193
204
  margin: 0 0 16px;
194
205
  }
195
206
 
196
- .mat-h3, .mat-subheading-2, #{$selector} h3 {
207
+ .mat-h3,
208
+ .mat-subheading-2,
209
+ #{$selector} .mat-h3,
210
+ #{$selector} .mat-subheading-2,
211
+ #{$selector} h3 {
197
212
  @include typography-utils.typography-level($config, subheading-2);
198
213
  margin: 0 0 16px;
199
214
  }
200
215
 
201
- .mat-h4, .mat-subheading-1, #{$selector} h4 {
216
+ .mat-h4,
217
+ .mat-subheading-1,
218
+ #{$selector} .mat-h4,
219
+ #{$selector} .mat-subheading-1,
220
+ #{$selector} h4 {
202
221
  @include typography-utils.typography-level($config, subheading-1);
203
222
  margin: 0 0 16px;
204
223
  }
@@ -206,7 +225,9 @@
206
225
  // Note: the spec doesn't have anything that would correspond to h5 and h6, but we add these for
207
226
  // consistency. The font sizes come from the Chrome user agent styles which have h5 at 0.83em
208
227
  // and h6 at 0.67em.
209
- .mat-h5, #{$selector} h5 {
228
+ .mat-h5,
229
+ #{$selector} .mat-h5,
230
+ #{$selector} h5 {
210
231
  @include typography-utils.font-shorthand(
211
232
  // calc is used here to support css variables
212
233
  calc(#{typography-utils.font-size($config, body-1)} * 0.83),
@@ -218,7 +239,9 @@
218
239
  margin: 0 0 12px;
219
240
  }
220
241
 
221
- .mat-h6, #{$selector} h6 {
242
+ .mat-h6,
243
+ #{$selector} .mat-h6,
244
+ #{$selector} h6 {
222
245
  @include typography-utils.font-shorthand(
223
246
  // calc is used here to support css variables
224
247
  calc(#{typography-utils.font-size($config, body-1)} * 0.67),
@@ -230,11 +253,18 @@
230
253
  margin: 0 0 12px;
231
254
  }
232
255
 
233
- .mat-body-strong, .mat-body-2 {
256
+ .mat-body-strong,
257
+ .mat-body-2,
258
+ #{$selector} .mat-body-strong,
259
+ #{$selector} .mat-body-2 {
234
260
  @include typography-utils.typography-level($config, body-2);
235
261
  }
236
262
 
237
- .mat-body, .mat-body-1, #{$selector} {
263
+ .mat-body,
264
+ .mat-body-1,
265
+ #{$selector} .mat-body,
266
+ #{$selector} .mat-body-1,
267
+ #{$selector} {
238
268
  @include typography-utils.typography-level($config, body-1);
239
269
 
240
270
  p {
@@ -242,26 +272,33 @@
242
272
  }
243
273
  }
244
274
 
245
- .mat-small, .mat-caption {
275
+ .mat-small,
276
+ .mat-caption,
277
+ #{$selector} .mat-small,
278
+ #{$selector} .mat-caption {
246
279
  @include typography-utils.typography-level($config, caption);
247
280
  }
248
281
 
249
- .mat-display-4, #{$selector} .mat-display-4 {
282
+ .mat-display-4,
283
+ #{$selector} .mat-display-4 {
250
284
  @include typography-utils.typography-level($config, display-4);
251
285
  margin: 0 0 56px;
252
286
  }
253
287
 
254
- .mat-display-3, #{$selector} .mat-display-3 {
288
+ .mat-display-3,
289
+ #{$selector} .mat-display-3 {
255
290
  @include typography-utils.typography-level($config, display-3);
256
291
  margin: 0 0 64px;
257
292
  }
258
293
 
259
- .mat-display-2, #{$selector} .mat-display-2 {
294
+ .mat-display-2,
295
+ #{$selector} .mat-display-2 {
260
296
  @include typography-utils.typography-level($config, display-2);
261
297
  margin: 0 0 64px;
262
298
  }
263
299
 
264
- .mat-display-1, #{$selector} .mat-display-1 {
300
+ .mat-display-1,
301
+ #{$selector} .mat-display-1 {
265
302
  @include typography-utils.typography-level($config, display-1);
266
303
  margin: 0 0 64px;
267
304
  }
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
8
+ import { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy, AfterViewChecked } from '@angular/core';
9
9
  import * as i0 from "@angular/core";
10
10
  /** Extra CSS classes that can be associated with a calendar cell. */
11
11
  export declare type MatCalendarCellCssClasses = string | string[] | Set<string> | {
@@ -36,7 +36,7 @@ export interface MatCalendarUserEvent<D> {
36
36
  * An internal component used to display calendar data in a table.
37
37
  * @docs-private
38
38
  */
39
- export declare class MatCalendarBody implements OnChanges, OnDestroy {
39
+ export declare class MatCalendarBody implements OnChanges, OnDestroy, AfterViewChecked {
40
40
  private _elementRef;
41
41
  private _ngZone;
42
42
  /**
@@ -44,6 +44,10 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
44
44
  * We need a flag like this, because some browsers fire focus events asynchronously.
45
45
  */
46
46
  private _skipNextFocus;
47
+ /**
48
+ * Used to focus the active cell after change detection has run.
49
+ */
50
+ private _focusActiveCellAfterViewChecked;
47
51
  /** The label for the table. (e.g. "Jan 2017"). */
48
52
  label: string;
49
53
  /** The cells to display in the table. */
@@ -60,6 +64,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
60
64
  numCols: number;
61
65
  /** The cell number of the active cell in the table. */
62
66
  activeCell: number;
67
+ ngAfterViewChecked(): void;
63
68
  /** Whether a range is being selected. */
64
69
  isRange: boolean;
65
70
  /**
@@ -79,6 +84,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
79
84
  readonly selectedValueChange: EventEmitter<MatCalendarUserEvent<number>>;
80
85
  /** Emits when the preview has changed as a result of a user action. */
81
86
  readonly previewChange: EventEmitter<MatCalendarUserEvent<MatCalendarCell<any> | null>>;
87
+ readonly activeDateChange: EventEmitter<MatCalendarUserEvent<number>>;
82
88
  /** The number of blank cells to put at the beginning for the first row. */
83
89
  _firstRowOffset: number;
84
90
  /** Padding for the individual date cells. */
@@ -88,14 +94,38 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
88
94
  constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
89
95
  /** Called when a cell is clicked. */
90
96
  _cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
97
+ _emitActiveDateChange(cell: MatCalendarCell, event: FocusEvent): void;
91
98
  /** Returns whether a cell should be marked as selected. */
92
99
  _isSelected(value: number): boolean;
93
100
  ngOnChanges(changes: SimpleChanges): void;
94
101
  ngOnDestroy(): void;
95
102
  /** Returns whether a cell is active. */
96
103
  _isActiveCell(rowIndex: number, colIndex: number): boolean;
97
- /** Focuses the active cell after the microtask queue is empty. */
104
+ /**
105
+ * Focuses the active cell after the microtask queue is empty.
106
+ *
107
+ * Adding a 0ms setTimeout seems to fix Voiceover losing focus when pressing PageUp/PageDown
108
+ * (issue #24330).
109
+ *
110
+ * Determined a 0ms by gradually increasing duration from 0 and testing two use cases with screen
111
+ * reader enabled:
112
+ *
113
+ * 1. Pressing PageUp/PageDown repeatedly with pausing between each key press.
114
+ * 2. Pressing and holding the PageDown key with repeated keys enabled.
115
+ *
116
+ * Test 1 worked roughly 95-99% of the time with 0ms and got a little bit better as the duration
117
+ * increased. Test 2 got slightly better until the duration was long enough to interfere with
118
+ * repeated keys. If the repeated key speed was faster than the timeout duration, then pressing
119
+ * and holding pagedown caused the entire page to scroll.
120
+ *
121
+ * Since repeated key speed can verify across machines, determined that any duration could
122
+ * potentially interfere with repeated keys. 0ms would be best because it almost entirely
123
+ * eliminates the focus being lost in Voiceover (#24330) without causing unintended side effects.
124
+ * Adding delay also complicates writing tests.
125
+ */
98
126
  _focusActiveCell(movePreview?: boolean): void;
127
+ /** Focuses the active cell after change detection has run and the microtask queue is empty. */
128
+ _scheduleFocusActiveCellAfterViewChecked(): void;
99
129
  /** Gets whether a value is the start of the main range. */
100
130
  _isRangeStart(value: number): boolean;
101
131
  /** Gets whether a value is the end of the main range. */
@@ -142,5 +172,5 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
142
172
  /** Finds the MatCalendarCell that corresponds to a DOM node. */
143
173
  private _getCellFromElement;
144
174
  static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarBody, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; }, never, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; "activeDateChange": "activeDateChange"; }, never, never, false>;
146
176
  }
@@ -49,7 +49,7 @@ export declare class MatCalendarHeader<D> {
49
49
  /** Whether the two dates represent the same view in the current view mode (month or year). */
50
50
  private _isSameView;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarHeader<any>, "mat-calendar-header", ["matCalendarHeader"], {}, {}, never, ["*"]>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarHeader<any>, "mat-calendar-header", ["matCalendarHeader"], {}, {}, never, ["*"], false>;
53
53
  }
54
54
  /** A calendar that is used as part of the datepicker. */
55
55
  export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDestroy, OnChanges {
@@ -152,5 +152,5 @@ export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecke
152
152
  /** Returns the component instance that corresponds to the current calendar view. */
153
153
  private _getCurrentViewComponent;
154
154
  static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendar<any>, [null, { optional: true; }, { optional: true; }, null]>;
155
- static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendar<any>, "mat-calendar", ["matCalendar"], { "headerComponent": "headerComponent"; "startAt": "startAt"; "startView": "startView"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never>;
155
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendar<any>, "mat-calendar", ["matCalendar"], { "headerComponent": "headerComponent"; "startAt": "startAt"; "startView": "startView"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never, false>;
156
156
  }
@@ -41,7 +41,10 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
41
41
  private _injector;
42
42
  _parentForm: NgForm;
43
43
  _parentFormGroup: FormGroupDirective;
44
- /** @docs-private */
44
+ /**
45
+ * Form control bound to this input part.
46
+ * @docs-private
47
+ */
45
48
  ngControl: NgControl;
46
49
  /** @docs-private */
47
50
  abstract updateErrorState(): void;
@@ -71,7 +74,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
71
74
  protected _shouldHandleChangeEvent({ source }: DateSelectionModelChange<DateRange<D>>): boolean;
72
75
  protected _assignValueProgrammatically(value: D | null): void;
73
76
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInputPartBase<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
74
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDateRangeInputPartBase<any>, never, never, {}, {}, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDateRangeInputPartBase<any>, never, never, {}, {}, never, never, false>;
75
78
  }
76
79
  declare const _MatDateRangeInputBase: import("@angular/material/core")._Constructor<CanUpdateErrorState> & import("@angular/material/core")._AbstractConstructor<CanUpdateErrorState> & typeof MatDateRangeInputPartBase;
77
80
  /** Input for entering the start date in a `mat-date-range-input`. */
@@ -87,7 +90,7 @@ export declare class MatStartDate<D> extends _MatDateRangeInputBase<D> implement
87
90
  /** Gets the value that should be used when mirroring the input's size. */
88
91
  getMirrorValue(): string;
89
92
  static ɵfac: i0.ɵɵFactoryDeclaration<MatStartDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
90
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatStartDate<any>, "input[matStartDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
93
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatStartDate<any>, "input[matStartDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
91
94
  }
92
95
  /** Input for entering the end date in a `mat-date-range-input`. */
93
96
  export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState {
@@ -100,6 +103,6 @@ export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements
100
103
  protected _assignValueToModel(value: D | null): void;
101
104
  _onKeydown(event: KeyboardEvent): void;
102
105
  static ɵfac: i0.ɵɵFactoryDeclaration<MatEndDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
103
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatEndDate<any>, "input[matEndDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatEndDate<any>, "input[matEndDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
104
107
  }
105
108
  export {};
@@ -129,5 +129,5 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
129
129
  /** Registers the current date selection model with the start/end inputs. */
130
130
  private _registerModel;
131
131
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, [null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
132
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"]>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"], false>;
133
133
  }
@@ -13,5 +13,5 @@ export interface MatDateRangePickerInput<D> extends MatDatepickerControl<D> {
13
13
  export declare class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerInput<D>, DateRange<D>, D> {
14
14
  protected _forwardContentValues(instance: MatDatepickerContent<DateRange<D>, D>): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangePicker<any>, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangePicker<any>, "mat-date-range-picker", ["matDateRangePicker"], {}, {}, never, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangePicker<any>, "mat-date-range-picker", ["matDateRangePicker"], {}, {}, never, never, false>;
17
17
  }
@@ -14,14 +14,14 @@ export declare class MatDatepickerApply {
14
14
  constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
15
15
  _applySelection(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerApply, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never, never, false>;
18
18
  }
19
19
  /** Button that will close the datepicker and discard the current selection. */
20
20
  export declare class MatDatepickerCancel {
21
21
  _datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>;
22
22
  constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerCancel, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never, never, false>;
25
25
  }
26
26
  /**
27
27
  * Container that can be used to project a row of action buttons
@@ -36,5 +36,5 @@ export declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
36
36
  ngAfterViewInit(): void;
37
37
  ngOnDestroy(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerActions, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerActions, "mat-datepicker-actions, mat-date-range-picker-actions", never, {}, {}, never, ["*"]>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerActions, "mat-datepicker-actions, mat-date-range-picker-actions", never, {}, {}, never, ["*"], false>;
40
40
  }
@@ -73,6 +73,8 @@ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>
73
73
  _closeButtonFocused: boolean;
74
74
  /** Portal with projected action buttons. */
75
75
  _actionsPortal: TemplatePortal | null;
76
+ /** Id of the label for the `role="dialog"` element. */
77
+ _dialogLabelId: string | null;
76
78
  constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _globalModel: MatDateSelectionModel<S, D>, _dateAdapter: DateAdapter<D>, _rangeSelectionStrategy: MatDateRangeSelectionStrategy<D>, intl: MatDatepickerIntl);
77
79
  ngOnInit(): void;
78
80
  ngAfterViewInit(): void;
@@ -83,7 +85,7 @@ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>
83
85
  /** Applies the current pending selection to the global model. */
84
86
  _applyPendingSelection(): void;
85
87
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerContent<any, any>, [null, null, null, null, { optional: true; }, null]>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerContent<any, any>, "mat-datepicker-content", ["matDatepickerContent"], { "color": "color"; }, {}, never, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerContent<any, any>, "mat-datepicker-content", ["matDatepickerContent"], { "color": "color"; }, {}, never, never, false>;
87
89
  }
88
90
  /** Form control that can be associated with a datepicker. */
89
91
  export interface MatDatepickerControl<D> {
@@ -265,6 +267,6 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
265
267
  /** Gets an observable that will emit when the overlay is supposed to be closed. */
266
268
  private _getCloseStream;
267
269
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerBase<any, any, any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
268
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never>;
270
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false>;
269
271
  }
270
272
  export {};
@@ -127,7 +127,7 @@ export declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromS
127
127
  /** Gets whether a value matches the current date filter. */
128
128
  _matchesFilter(value: D | null): boolean;
129
129
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerInputBase<any, any>, [null, { optional: true; }, { optional: true; }]>;
130
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInputBase<any, any>, never, never, { "value": "value"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
130
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInputBase<any, any>, never, never, { "value": "value"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
131
131
  }
132
132
  /**
133
133
  * Checks whether the `SimpleChanges` object from an `ngOnChanges`