@angular/material 12.0.6 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/autocomplete/autocomplete.d.ts +4 -4
  2. package/autocomplete/index.metadata.json +1 -1
  3. package/badge/_badge-theme.scss +7 -6
  4. package/badge/badge.d.ts +5 -5
  5. package/badge/index.metadata.json +1 -1
  6. package/bundles/material-autocomplete-testing.umd.js +14 -11
  7. package/bundles/material-autocomplete-testing.umd.js.map +1 -1
  8. package/bundles/material-autocomplete.umd.js +18 -16
  9. package/bundles/material-autocomplete.umd.js.map +1 -1
  10. package/bundles/material-badge-testing.umd.js +14 -11
  11. package/bundles/material-badge-testing.umd.js.map +1 -1
  12. package/bundles/material-badge.umd.js +19 -17
  13. package/bundles/material-badge.umd.js.map +1 -1
  14. package/bundles/material-bottom-sheet-testing.umd.js +14 -11
  15. package/bundles/material-bottom-sheet-testing.umd.js.map +1 -1
  16. package/bundles/material-bottom-sheet.umd.js +14 -11
  17. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  18. package/bundles/material-button-testing.umd.js +14 -11
  19. package/bundles/material-button-testing.umd.js.map +1 -1
  20. package/bundles/material-button-toggle-testing.umd.js +14 -11
  21. package/bundles/material-button-toggle-testing.umd.js.map +1 -1
  22. package/bundles/material-button-toggle.umd.js +19 -17
  23. package/bundles/material-button-toggle.umd.js.map +1 -1
  24. package/bundles/material-button.umd.js +19 -18
  25. package/bundles/material-button.umd.js.map +1 -1
  26. package/bundles/material-card-testing.umd.js +14 -11
  27. package/bundles/material-card-testing.umd.js.map +1 -1
  28. package/bundles/material-checkbox-testing.umd.js +14 -11
  29. package/bundles/material-checkbox-testing.umd.js.map +1 -1
  30. package/bundles/material-checkbox.umd.js +19 -17
  31. package/bundles/material-checkbox.umd.js.map +1 -1
  32. package/bundles/material-chips-testing.umd.js +14 -11
  33. package/bundles/material-chips-testing.umd.js.map +1 -1
  34. package/bundles/material-chips.umd.js +19 -17
  35. package/bundles/material-chips.umd.js.map +1 -1
  36. package/bundles/material-core-testing.umd.js +14 -11
  37. package/bundles/material-core-testing.umd.js.map +1 -1
  38. package/bundles/material-core.umd.js +20 -18
  39. package/bundles/material-core.umd.js.map +1 -1
  40. package/bundles/material-datepicker-testing.umd.js +14 -11
  41. package/bundles/material-datepicker-testing.umd.js.map +1 -1
  42. package/bundles/material-datepicker.umd.js +21 -21
  43. package/bundles/material-datepicker.umd.js.map +1 -1
  44. package/bundles/material-dialog-testing.umd.js +14 -11
  45. package/bundles/material-dialog-testing.umd.js.map +1 -1
  46. package/bundles/material-dialog.umd.js +23 -12
  47. package/bundles/material-dialog.umd.js.map +1 -1
  48. package/bundles/material-divider-testing.umd.js +14 -11
  49. package/bundles/material-divider-testing.umd.js.map +1 -1
  50. package/bundles/material-expansion-testing.umd.js +14 -11
  51. package/bundles/material-expansion-testing.umd.js.map +1 -1
  52. package/bundles/material-expansion.umd.js +42 -33
  53. package/bundles/material-expansion.umd.js.map +1 -1
  54. package/bundles/material-form-field-testing-control.umd.js +14 -11
  55. package/bundles/material-form-field-testing-control.umd.js.map +1 -1
  56. package/bundles/material-form-field-testing.umd.js +14 -11
  57. package/bundles/material-form-field-testing.umd.js.map +1 -1
  58. package/bundles/material-form-field.umd.js +20 -22
  59. package/bundles/material-form-field.umd.js.map +1 -1
  60. package/bundles/material-grid-list-testing.umd.js +14 -11
  61. package/bundles/material-grid-list-testing.umd.js.map +1 -1
  62. package/bundles/material-grid-list.umd.js +16 -15
  63. package/bundles/material-grid-list.umd.js.map +1 -1
  64. package/bundles/material-icon-testing.umd.js +14 -11
  65. package/bundles/material-icon-testing.umd.js.map +1 -1
  66. package/bundles/material-icon.umd.js +19 -17
  67. package/bundles/material-icon.umd.js.map +1 -1
  68. package/bundles/material-input-testing.umd.js +14 -11
  69. package/bundles/material-input-testing.umd.js.map +1 -1
  70. package/bundles/material-input.umd.js +20 -17
  71. package/bundles/material-input.umd.js.map +1 -1
  72. package/bundles/material-list-testing.umd.js +14 -11
  73. package/bundles/material-list-testing.umd.js.map +1 -1
  74. package/bundles/material-list.umd.js +34 -35
  75. package/bundles/material-list.umd.js.map +1 -1
  76. package/bundles/material-menu-testing.umd.js +14 -11
  77. package/bundles/material-menu-testing.umd.js.map +1 -1
  78. package/bundles/material-menu.umd.js +29 -26
  79. package/bundles/material-menu.umd.js.map +1 -1
  80. package/bundles/material-paginator-testing.umd.js +14 -11
  81. package/bundles/material-paginator-testing.umd.js.map +1 -1
  82. package/bundles/material-paginator.umd.js +19 -17
  83. package/bundles/material-paginator.umd.js.map +1 -1
  84. package/bundles/material-progress-bar-testing.umd.js +14 -11
  85. package/bundles/material-progress-bar-testing.umd.js.map +1 -1
  86. package/bundles/material-progress-bar.umd.js +19 -17
  87. package/bundles/material-progress-bar.umd.js.map +1 -1
  88. package/bundles/material-progress-spinner-testing.umd.js +14 -11
  89. package/bundles/material-progress-spinner-testing.umd.js.map +1 -1
  90. package/bundles/material-progress-spinner.umd.js +19 -17
  91. package/bundles/material-progress-spinner.umd.js.map +1 -1
  92. package/bundles/material-radio-testing.umd.js +14 -11
  93. package/bundles/material-radio-testing.umd.js.map +1 -1
  94. package/bundles/material-radio.umd.js +16 -13
  95. package/bundles/material-radio.umd.js.map +1 -1
  96. package/bundles/material-select-testing.umd.js +14 -11
  97. package/bundles/material-select-testing.umd.js.map +1 -1
  98. package/bundles/material-select.umd.js +18 -16
  99. package/bundles/material-select.umd.js.map +1 -1
  100. package/bundles/material-sidenav-testing.umd.js +14 -11
  101. package/bundles/material-sidenav-testing.umd.js.map +1 -1
  102. package/bundles/material-sidenav.umd.js +14 -11
  103. package/bundles/material-sidenav.umd.js.map +1 -1
  104. package/bundles/material-slide-toggle-testing.umd.js +14 -11
  105. package/bundles/material-slide-toggle-testing.umd.js.map +1 -1
  106. package/bundles/material-slide-toggle.umd.js +19 -17
  107. package/bundles/material-slide-toggle.umd.js.map +1 -1
  108. package/bundles/material-slider-testing.umd.js +14 -11
  109. package/bundles/material-slider-testing.umd.js.map +1 -1
  110. package/bundles/material-slider.umd.js +108 -57
  111. package/bundles/material-slider.umd.js.map +1 -1
  112. package/bundles/material-snack-bar-testing.umd.js +14 -11
  113. package/bundles/material-snack-bar-testing.umd.js.map +1 -1
  114. package/bundles/material-snack-bar.umd.js +14 -11
  115. package/bundles/material-snack-bar.umd.js.map +1 -1
  116. package/bundles/material-sort-testing.umd.js +14 -11
  117. package/bundles/material-sort-testing.umd.js.map +1 -1
  118. package/bundles/material-sort.umd.js +24 -23
  119. package/bundles/material-sort.umd.js.map +1 -1
  120. package/bundles/material-stepper-testing.umd.js +14 -11
  121. package/bundles/material-stepper-testing.umd.js.map +1 -1
  122. package/bundles/material-stepper.umd.js +17 -15
  123. package/bundles/material-stepper.umd.js.map +1 -1
  124. package/bundles/material-table-testing.umd.js +14 -11
  125. package/bundles/material-table-testing.umd.js.map +1 -1
  126. package/bundles/material-table.umd.js +14 -11
  127. package/bundles/material-table.umd.js.map +1 -1
  128. package/bundles/material-tabs-testing.umd.js +14 -11
  129. package/bundles/material-tabs-testing.umd.js.map +1 -1
  130. package/bundles/material-tabs.umd.js +53 -36
  131. package/bundles/material-tabs.umd.js.map +1 -1
  132. package/bundles/material-toolbar-testing.umd.js +14 -11
  133. package/bundles/material-toolbar-testing.umd.js.map +1 -1
  134. package/bundles/material-toolbar.umd.js +19 -17
  135. package/bundles/material-toolbar.umd.js.map +1 -1
  136. package/bundles/material-tooltip-testing.umd.js +14 -11
  137. package/bundles/material-tooltip-testing.umd.js.map +1 -1
  138. package/bundles/material-tooltip.umd.js +14 -11
  139. package/bundles/material-tooltip.umd.js.map +1 -1
  140. package/bundles/material-tree-testing.umd.js +14 -11
  141. package/bundles/material-tree-testing.umd.js.map +1 -1
  142. package/bundles/material-tree.umd.js +16 -13
  143. package/bundles/material-tree.umd.js.map +1 -1
  144. package/button/button.d.ts +7 -8
  145. package/button/index.metadata.json +1 -1
  146. package/button-toggle/button-toggle.d.ts +5 -5
  147. package/button-toggle/index.metadata.json +1 -1
  148. package/checkbox/checkbox.d.ts +7 -7
  149. package/checkbox/index.metadata.json +1 -1
  150. package/chips/chip-list.d.ts +11 -13
  151. package/chips/chip.d.ts +2 -2
  152. package/chips/index.metadata.json +1 -1
  153. package/core/common-behaviors/color.d.ts +5 -1
  154. package/core/common-behaviors/disable-ripple.d.ts +5 -1
  155. package/core/common-behaviors/disabled.d.ts +5 -1
  156. package/core/common-behaviors/error-state.d.ts +5 -1
  157. package/core/common-behaviors/initialized.d.ts +5 -1
  158. package/core/common-behaviors/tabindex.d.ts +5 -1
  159. package/core/focus-indicators/_focus-indicators-theme.scss +9 -35
  160. package/core/index.metadata.json +1 -1
  161. package/core/option/optgroup.d.ts +4 -4
  162. package/core/style/_menu-common.scss +2 -1
  163. package/core/style/_private.scss +27 -0
  164. package/core/style/_vendor-prefixes.scss +10 -0
  165. package/core/typography/_typography-utils.scss +4 -2
  166. package/datepicker/date-range-input-parts.d.ts +2 -2
  167. package/datepicker/datepicker-base.d.ts +7 -7
  168. package/datepicker/index.metadata.json +1 -1
  169. package/dialog/dialog-content-directives.d.ts +13 -1
  170. package/dialog/dialog-ref.d.ts +4 -1
  171. package/dialog/index.metadata.json +1 -1
  172. package/esm2015/autocomplete/autocomplete.js +3 -4
  173. package/esm2015/badge/badge.js +4 -5
  174. package/esm2015/button/button.js +4 -6
  175. package/esm2015/button-toggle/button-toggle.js +4 -5
  176. package/esm2015/checkbox/checkbox.js +4 -5
  177. package/esm2015/chips/chip-list.js +4 -5
  178. package/esm2015/chips/chip.js +1 -1
  179. package/esm2015/core/common-behaviors/color.js +1 -1
  180. package/esm2015/core/common-behaviors/common-module.js +1 -1
  181. package/esm2015/core/common-behaviors/disable-ripple.js +1 -1
  182. package/esm2015/core/common-behaviors/disabled.js +1 -1
  183. package/esm2015/core/common-behaviors/error-state.js +1 -1
  184. package/esm2015/core/common-behaviors/initialized.js +1 -1
  185. package/esm2015/core/common-behaviors/tabindex.js +1 -1
  186. package/esm2015/core/option/optgroup.js +3 -4
  187. package/esm2015/core/version.js +1 -1
  188. package/esm2015/datepicker/date-range-input-parts.js +2 -4
  189. package/esm2015/datepicker/date-range-input.js +1 -1
  190. package/esm2015/datepicker/datepicker-base.js +4 -5
  191. package/esm2015/dialog/dialog-content-directives.js +7 -1
  192. package/esm2015/dialog/dialog-ref.js +4 -2
  193. package/esm2015/expansion/expansion-panel-header.js +16 -6
  194. package/esm2015/form-field/form-field.js +5 -10
  195. package/esm2015/icon/icon.js +4 -5
  196. package/esm2015/input/input.js +5 -5
  197. package/esm2015/list/list.js +7 -9
  198. package/esm2015/list/selection-list.js +7 -9
  199. package/esm2015/menu/menu-item.js +4 -5
  200. package/esm2015/menu/menu.js +8 -9
  201. package/esm2015/paginator/paginator.js +4 -5
  202. package/esm2015/progress-bar/progress-bar.js +4 -5
  203. package/esm2015/progress-spinner/progress-spinner.js +4 -5
  204. package/esm2015/radio/radio.js +3 -3
  205. package/esm2015/select/select.js +3 -4
  206. package/esm2015/slide-toggle/slide-toggle.js +4 -5
  207. package/esm2015/slider/slider.js +93 -45
  208. package/esm2015/sort/sort-header.js +4 -5
  209. package/esm2015/sort/sort.js +4 -5
  210. package/esm2015/stepper/public-api.js +1 -1
  211. package/esm2015/stepper/step-header.js +4 -5
  212. package/esm2015/tabs/tab-config.js +1 -1
  213. package/esm2015/tabs/tab-group.js +18 -6
  214. package/esm2015/tabs/tab-label-wrapper.js +4 -5
  215. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +3 -4
  216. package/esm2015/tabs/tab.js +4 -5
  217. package/esm2015/toolbar/toolbar.js +4 -5
  218. package/esm2015/tree/node.js +3 -3
  219. package/expansion/expansion-panel-header.d.ts +11 -2
  220. package/expansion/index.metadata.json +1 -1
  221. package/fesm2015/autocomplete.js +2 -3
  222. package/fesm2015/autocomplete.js.map +1 -1
  223. package/fesm2015/badge.js +3 -4
  224. package/fesm2015/badge.js.map +1 -1
  225. package/fesm2015/button-toggle.js +3 -4
  226. package/fesm2015/button-toggle.js.map +1 -1
  227. package/fesm2015/button.js +3 -5
  228. package/fesm2015/button.js.map +1 -1
  229. package/fesm2015/checkbox.js +3 -4
  230. package/fesm2015/checkbox.js.map +1 -1
  231. package/fesm2015/chips.js +3 -4
  232. package/fesm2015/chips.js.map +1 -1
  233. package/fesm2015/core.js +4 -5
  234. package/fesm2015/core.js.map +1 -1
  235. package/fesm2015/datepicker.js +5 -8
  236. package/fesm2015/datepicker.js.map +1 -1
  237. package/fesm2015/dialog.js +9 -1
  238. package/fesm2015/dialog.js.map +1 -1
  239. package/fesm2015/expansion.js +15 -6
  240. package/fesm2015/expansion.js.map +1 -1
  241. package/fesm2015/form-field.js +4 -9
  242. package/fesm2015/form-field.js.map +1 -1
  243. package/fesm2015/icon.js +3 -4
  244. package/fesm2015/icon.js.map +1 -1
  245. package/fesm2015/input.js +4 -4
  246. package/fesm2015/input.js.map +1 -1
  247. package/fesm2015/list.js +12 -16
  248. package/fesm2015/list.js.map +1 -1
  249. package/fesm2015/menu.js +10 -12
  250. package/fesm2015/menu.js.map +1 -1
  251. package/fesm2015/paginator.js +3 -4
  252. package/fesm2015/paginator.js.map +1 -1
  253. package/fesm2015/progress-bar.js +3 -4
  254. package/fesm2015/progress-bar.js.map +1 -1
  255. package/fesm2015/progress-spinner.js +3 -4
  256. package/fesm2015/progress-spinner.js.map +1 -1
  257. package/fesm2015/radio.js +2 -2
  258. package/fesm2015/radio.js.map +1 -1
  259. package/fesm2015/select.js +2 -3
  260. package/fesm2015/select.js.map +1 -1
  261. package/fesm2015/slide-toggle.js +3 -4
  262. package/fesm2015/slide-toggle.js.map +1 -1
  263. package/fesm2015/slider.js +92 -44
  264. package/fesm2015/slider.js.map +1 -1
  265. package/fesm2015/sort.js +6 -8
  266. package/fesm2015/sort.js.map +1 -1
  267. package/fesm2015/stepper.js +3 -4
  268. package/fesm2015/stepper.js.map +1 -1
  269. package/fesm2015/tabs.js +25 -16
  270. package/fesm2015/tabs.js.map +1 -1
  271. package/fesm2015/toolbar.js +3 -4
  272. package/fesm2015/toolbar.js.map +1 -1
  273. package/fesm2015/tree.js +2 -2
  274. package/fesm2015/tree.js.map +1 -1
  275. package/form-field/_form-field-fill-theme.scss +2 -1
  276. package/form-field/_form-field-legacy-theme.scss +5 -4
  277. package/form-field/_form-field-outline-theme.scss +3 -2
  278. package/form-field/_form-field-theme.scss +4 -3
  279. package/form-field/form-field.d.ts +7 -11
  280. package/form-field/index.metadata.json +1 -1
  281. package/icon/icon.d.ts +7 -7
  282. package/icon/index.metadata.json +1 -1
  283. package/input/_input-theme.scss +2 -1
  284. package/input/index.metadata.json +1 -1
  285. package/input/input.d.ts +13 -13
  286. package/list/index.metadata.json +1 -1
  287. package/list/list.d.ts +9 -9
  288. package/list/selection-list.d.ts +9 -9
  289. package/menu/index.metadata.json +1 -1
  290. package/menu/menu-item.d.ts +5 -5
  291. package/menu/menu.d.ts +4 -0
  292. package/package.json +3 -3
  293. package/paginator/index.metadata.json +1 -1
  294. package/paginator/paginator.d.ts +4 -4
  295. package/progress-bar/index.metadata.json +1 -1
  296. package/progress-bar/progress-bar.d.ts +7 -7
  297. package/progress-spinner/index.metadata.json +1 -1
  298. package/progress-spinner/progress-spinner.d.ts +7 -7
  299. package/radio/index.metadata.json +1 -1
  300. package/radio/radio.d.ts +2 -2
  301. package/schematics/ng-add/index.js +1 -1
  302. package/schematics/ng-add/index.mjs +1 -1
  303. package/schematics/ng-update/migrations/theming-api-v12/config.js +4 -1
  304. package/schematics/ng-update/migrations/theming-api-v12/config.mjs +4 -1
  305. package/schematics/ng-update/migrations/theming-api-v12/migration.d.ts +9 -1
  306. package/schematics/ng-update/migrations/theming-api-v12/migration.js +40 -36
  307. package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +40 -36
  308. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.js +2 -2
  309. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.mjs +2 -2
  310. package/select/index.metadata.json +1 -1
  311. package/select/select.d.ts +10 -10
  312. package/slide-toggle/index.metadata.json +1 -1
  313. package/slide-toggle/slide-toggle.d.ts +7 -7
  314. package/slider/index.metadata.json +1 -1
  315. package/slider/slider.d.ts +17 -9
  316. package/sort/index.metadata.json +1 -1
  317. package/sort/sort-header.d.ts +5 -5
  318. package/sort/sort.d.ts +5 -5
  319. package/stepper/_stepper-theme.scss +4 -3
  320. package/stepper/index.metadata.json +1 -1
  321. package/stepper/public-api.d.ts +1 -1
  322. package/stepper/step-header.d.ts +9 -7
  323. package/tabs/index.metadata.json +1 -1
  324. package/tabs/tab-config.d.ts +2 -0
  325. package/tabs/tab-group.d.ts +16 -6
  326. package/tabs/tab-label-wrapper.d.ts +5 -5
  327. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -4
  328. package/tabs/tab.d.ts +5 -5
  329. package/toolbar/index.metadata.json +1 -1
  330. package/toolbar/toolbar.d.ts +7 -7
  331. package/tooltip/_tooltip-theme.scss +3 -2
  332. package/tree/index.metadata.json +1 -1
  333. package/tree/node.d.ts +3 -3
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import { BooleanInput } from '@angular/cdk/coercion';
9
9
  import { InjectionToken } from '@angular/core';
10
- import { CanDisable, CanDisableCtor } from '../common-behaviors/disabled';
10
+ import { CanDisable } from '../common-behaviors/disabled';
11
11
  import { MatOptionParentComponent } from './option-parent';
12
12
  /** @docs-private */
13
- declare class MatOptgroupBase {
14
- }
15
- declare const _MatOptgroupMixinBase: CanDisableCtor & typeof MatOptgroupBase;
13
+ declare const _MatOptgroupMixinBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & {
14
+ new (): {};
15
+ };
16
16
  export declare class _MatOptgroupBase extends _MatOptgroupMixinBase implements CanDisable {
17
17
  /** Label for the option group. */
18
18
  label: string;
@@ -1,3 +1,4 @@
1
+ @use './private';
1
2
  @use './list-common';
2
3
  @use './layout-common';
3
4
 
@@ -63,7 +64,7 @@ $icon-margin: 16px !default;
63
64
 
64
65
  // Renders a triangle to indicate that the menu item will open a sub-menu.
65
66
  &::after {
66
- $size: $triangle-height / 2;
67
+ $size: private.private-div($triangle-height, 2);
67
68
 
68
69
  width: 0;
69
70
  height: 0;
@@ -1,4 +1,7 @@
1
1
  @use 'sass:map';
2
+ @use 'sass:math';
3
+ @use 'sass:meta';
4
+ @use 'sass:list';
2
5
  @use './elevation';
3
6
 
4
7
  @mixin private-theme-elevation($zValue, $config, $opacity: elevation.$opacity) {
@@ -39,3 +42,27 @@
39
42
  @content;
40
43
  }
41
44
  }
45
+
46
+ // Private polyfill for the `math.div` function from Sass to be used until we can update the
47
+ // minimum required Sass version to 1.34.0 or above.
48
+ // TODO(crisbeto): replace with `math.div` eventually.
49
+ @function private-div($a, $b) {
50
+ @if (meta.function-exists('div', 'math')) {
51
+ @return math.div($a, $b);
52
+ }
53
+ @else {
54
+ @return $a / $b;
55
+ }
56
+ }
57
+
58
+ // Private polyfill for the `list.slash` function from Sass to be used until we can update the
59
+ // minimum required Sass version to 1.34.0 or above.
60
+ // TODO(crisbeto): replace with `list.slash` eventually.
61
+ @function private-slash($a, $b) {
62
+ @if (meta.function-exists('slash', 'list')) {
63
+ @return list.slash($a, $b);
64
+ }
65
+ @else {
66
+ @return #{$a}#{' / '}#{$b};
67
+ }
68
+ }
@@ -43,4 +43,14 @@
43
43
  position: -webkit-sticky #{if($important, '!important', '')};
44
44
  position: sticky #{if($important, '!important', '')};
45
45
  }
46
+
47
+ @mixin private-color-adjust($value) {
48
+ -webkit-print-color-adjust: $value;
49
+ color-adjust: $value;
50
+ }
51
+
52
+ @mixin private-background-clip($value) {
53
+ -webkit-background-clip: $value;
54
+ background-clip: $value;
55
+ }
46
56
  // stylelint-enable
@@ -1,6 +1,8 @@
1
+ @use 'sass:list';
1
2
  @use 'sass:map';
2
3
  @use 'sass:meta';
3
4
  @use 'sass:string';
5
+ @use '../style/private';
4
6
 
5
7
 
6
8
  // Utility for fetching a nested value from a typography config.
@@ -76,9 +78,9 @@
76
78
  }
77
79
  @else {
78
80
  // Otherwise use the shorthand `font`, because it's the least amount of bytes. Note
79
- // that we need to use interpolation for `font-size/line-height` in order to prevent
81
+ // that we need to use `list.slash` for `font-size/line-height` in order to prevent
80
82
  // Sass from dividing the two values.
81
- font: $font-weight #{$font-size}/#{$line-height} $font-family;
83
+ font: $font-weight private.private-slash($font-size, $line-height) $font-family;
82
84
  }
83
85
  }
84
86
 
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { ElementRef, InjectionToken, OnInit, Injector, DoCheck } from '@angular/core';
9
9
  import { NgForm, FormGroupDirective, NgControl, ValidatorFn } from '@angular/forms';
10
- import { CanUpdateErrorState, CanUpdateErrorStateCtor, DateAdapter, MatDateFormats, ErrorStateMatcher } from '@angular/material/core';
10
+ import { CanUpdateErrorState, DateAdapter, MatDateFormats, ErrorStateMatcher } from '@angular/material/core';
11
11
  import { BooleanInput } from '@angular/cdk/coercion';
12
12
  import { MatDatepickerInputBase, DateFilterFn } from './datepicker-input-base';
13
13
  import { DateRange, DateSelectionModelChange } from './date-selection-model';
@@ -71,7 +71,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
71
71
  protected _shouldHandleChangeEvent({ source }: DateSelectionModelChange<DateRange<D>>): boolean;
72
72
  protected _assignValueProgrammatically(value: D | null): void;
73
73
  }
74
- declare const _MatDateRangeInputBase: CanUpdateErrorStateCtor & typeof MatDateRangeInputPartBase;
74
+ declare const _MatDateRangeInputBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanUpdateErrorState> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanUpdateErrorState> & typeof MatDateRangeInputPartBase;
75
75
  /** Input for entering the start date in a `mat-date-range-input`. */
76
76
  export declare class MatStartDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState, DoCheck, OnInit {
77
77
  /** Validator that checks that the start date isn't after the end date. */
@@ -10,7 +10,7 @@ import { BooleanInput } from '@angular/cdk/coercion';
10
10
  import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
11
11
  import { ComponentType, TemplatePortal } from '@angular/cdk/portal';
12
12
  import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy, ViewContainerRef, ChangeDetectorRef, OnChanges, SimpleChanges, OnInit } from '@angular/core';
13
- import { CanColor, CanColorCtor, DateAdapter, ThemePalette } from '@angular/material/core';
13
+ import { CanColor, DateAdapter, ThemePalette } from '@angular/material/core';
14
14
  import { Subject, Observable } from 'rxjs';
15
15
  import { MatCalendar, MatCalendarView } from './calendar';
16
16
  import { MatCalendarUserEvent, MatCalendarCellClassFunction } from './calendar-body';
@@ -33,11 +33,11 @@ export declare const MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
33
33
  useFactory: typeof MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY;
34
34
  };
35
35
  /** @docs-private */
36
- declare class MatDatepickerContentBase {
37
- _elementRef: ElementRef;
38
- constructor(_elementRef: ElementRef);
39
- }
40
- declare const _MatDatepickerContentMixinBase: CanColorCtor & typeof MatDatepickerContentBase;
36
+ declare const _MatDatepickerContentBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanColor> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanColor> & {
37
+ new (_elementRef: ElementRef): {
38
+ _elementRef: ElementRef;
39
+ };
40
+ };
41
41
  /**
42
42
  * Component used as the content for the datepicker overlay. We use this instead of using
43
43
  * MatCalendar directly as the content so we can control the initial focus. This also gives us a
@@ -45,7 +45,7 @@ declare const _MatDatepickerContentMixinBase: CanColorCtor & typeof MatDatepicke
45
45
  * future. (e.g. confirmation buttons).
46
46
  * @docs-private
47
47
  */
48
- export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>> extends _MatDatepickerContentMixinBase implements OnInit, AfterViewInit, OnDestroy, CanColor {
48
+ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>> extends _MatDatepickerContentBase implements OnInit, AfterViewInit, OnDestroy, CanColor {
49
49
  private _changeDetectorRef;
50
50
  private _globalModel;
51
51
  private _dateAdapter;