@angular/material-experimental 14.0.0-next.0 → 14.0.0-next.11

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 (386) hide show
  1. package/_index.scss +3 -0
  2. package/column-resize/_column-resize-theme.scss +15 -17
  3. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  7. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  8. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  9. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  10. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  11. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  12. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
  13. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +6 -5
  14. package/esm2020/mdc-autocomplete/autocomplete.mjs +5 -5
  15. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  16. package/esm2020/mdc-button/button-base.mjs +8 -8
  17. package/esm2020/mdc-button/button.mjs +9 -9
  18. package/esm2020/mdc-button/fab.mjs +17 -17
  19. package/esm2020/mdc-button/icon-button.mjs +9 -9
  20. package/esm2020/mdc-button/module.mjs +5 -5
  21. package/esm2020/mdc-card/card.mjs +44 -44
  22. package/esm2020/mdc-card/module.mjs +5 -5
  23. package/esm2020/mdc-checkbox/checkbox.mjs +10 -5
  24. package/esm2020/mdc-checkbox/module.mjs +5 -5
  25. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +3 -2
  26. package/esm2020/mdc-chips/chip-action.mjs +6 -5
  27. package/esm2020/mdc-chips/chip-edit-input.mjs +5 -5
  28. package/esm2020/mdc-chips/chip-grid.mjs +35 -14
  29. package/esm2020/mdc-chips/chip-icons.mjs +10 -10
  30. package/esm2020/mdc-chips/chip-input.mjs +8 -4
  31. package/esm2020/mdc-chips/chip-listbox.mjs +8 -11
  32. package/esm2020/mdc-chips/chip-option.mjs +5 -5
  33. package/esm2020/mdc-chips/chip-row.mjs +5 -5
  34. package/esm2020/mdc-chips/chip-set.mjs +13 -15
  35. package/esm2020/mdc-chips/chip-text-control.mjs +1 -1
  36. package/esm2020/mdc-chips/chip.mjs +5 -5
  37. package/esm2020/mdc-chips/module.mjs +5 -5
  38. package/esm2020/mdc-chips/testing/public-api.mjs +2 -1
  39. package/esm2020/mdc-core/option/index.mjs +5 -5
  40. package/esm2020/mdc-core/option/optgroup.mjs +5 -5
  41. package/esm2020/mdc-core/option/option.mjs +5 -5
  42. package/esm2020/mdc-dialog/dialog-container.mjs +7 -8
  43. package/esm2020/mdc-dialog/dialog-content-directives.mjs +27 -15
  44. package/esm2020/mdc-dialog/dialog.mjs +10 -5
  45. package/esm2020/mdc-dialog/module.mjs +5 -5
  46. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +45 -0
  47. package/esm2020/mdc-dialog/testing/public-api.mjs +2 -1
  48. package/esm2020/mdc-form-field/directives/error.mjs +4 -4
  49. package/esm2020/mdc-form-field/directives/floating-label.mjs +5 -10
  50. package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
  51. package/esm2020/mdc-form-field/directives/label.mjs +4 -4
  52. package/esm2020/mdc-form-field/directives/line-ripple.mjs +4 -4
  53. package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
  54. package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
  55. package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
  56. package/esm2020/mdc-form-field/form-field.mjs +53 -41
  57. package/esm2020/mdc-form-field/module.mjs +5 -5
  58. package/esm2020/mdc-form-field/testing/public-api.mjs +4 -4
  59. package/esm2020/mdc-input/input.mjs +4 -4
  60. package/esm2020/mdc-input/module.mjs +5 -5
  61. package/esm2020/mdc-list/action-list.mjs +6 -6
  62. package/esm2020/mdc-list/interactive-list-base.mjs +5 -5
  63. package/esm2020/mdc-list/list-base.mjs +7 -7
  64. package/esm2020/mdc-list/list-item-sections.mjs +19 -19
  65. package/esm2020/mdc-list/list-option.mjs +7 -7
  66. package/esm2020/mdc-list/list.mjs +21 -9
  67. package/esm2020/mdc-list/module.mjs +5 -5
  68. package/esm2020/mdc-list/nav-list.mjs +5 -5
  69. package/esm2020/mdc-list/selection-list.mjs +6 -6
  70. package/esm2020/mdc-list/subheader.mjs +4 -4
  71. package/esm2020/mdc-menu/directives.mjs +7 -7
  72. package/esm2020/mdc-menu/menu-item.mjs +4 -4
  73. package/esm2020/mdc-menu/menu.mjs +9 -9
  74. package/esm2020/mdc-menu/module.mjs +5 -5
  75. package/esm2020/mdc-paginator/module.mjs +5 -5
  76. package/esm2020/mdc-paginator/paginator.mjs +5 -5
  77. package/esm2020/mdc-paginator/public-api.mjs +1 -1
  78. package/esm2020/mdc-progress-bar/module.mjs +5 -5
  79. package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
  80. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  81. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +8 -5
  82. package/esm2020/mdc-radio/module.mjs +5 -5
  83. package/esm2020/mdc-radio/radio.mjs +9 -8
  84. package/esm2020/mdc-radio/testing/radio-harness.mjs +3 -2
  85. package/esm2020/mdc-select/module.mjs +5 -5
  86. package/esm2020/mdc-select/select.mjs +9 -10
  87. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  88. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +6 -5
  89. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -2
  90. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
  91. package/esm2020/mdc-slider/module.mjs +5 -5
  92. package/esm2020/mdc-slider/slider.mjs +55 -26
  93. package/esm2020/mdc-snack-bar/module.mjs +5 -5
  94. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +5 -5
  95. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +18 -12
  96. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
  97. package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
  98. package/esm2020/mdc-table/cell.mjs +22 -22
  99. package/esm2020/mdc-table/module.mjs +5 -5
  100. package/esm2020/mdc-table/row.mjs +22 -22
  101. package/esm2020/mdc-table/table.mjs +9 -9
  102. package/esm2020/mdc-table/text-column.mjs +4 -4
  103. package/esm2020/mdc-tabs/ink-bar.mjs +4 -2
  104. package/esm2020/mdc-tabs/module.mjs +5 -5
  105. package/esm2020/mdc-tabs/tab-body.mjs +8 -8
  106. package/esm2020/mdc-tabs/tab-content.mjs +4 -4
  107. package/esm2020/mdc-tabs/tab-group.mjs +18 -6
  108. package/esm2020/mdc-tabs/tab-header.mjs +5 -5
  109. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
  110. package/esm2020/mdc-tabs/tab-label.mjs +4 -4
  111. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +29 -12
  112. package/esm2020/mdc-tabs/tab.mjs +4 -4
  113. package/esm2020/mdc-tooltip/module.mjs +5 -5
  114. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -1
  115. package/esm2020/mdc-tooltip/tooltip.mjs +31 -15
  116. package/esm2020/menubar/menubar-item.mjs +19 -5
  117. package/esm2020/menubar/menubar-module.mjs +5 -5
  118. package/esm2020/menubar/menubar.mjs +11 -14
  119. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  120. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  121. package/esm2020/popover-edit/table-directives.mjs +13 -13
  122. package/esm2020/selection/row-selection.mjs +4 -4
  123. package/esm2020/selection/select-all.mjs +4 -4
  124. package/esm2020/selection/selection-column.mjs +6 -6
  125. package/esm2020/selection/selection-module.mjs +5 -5
  126. package/esm2020/selection/selection-toggle.mjs +4 -4
  127. package/esm2020/selection/selection.mjs +4 -4
  128. package/esm2020/version.mjs +1 -1
  129. package/fesm2015/column-resize.mjs +36 -36
  130. package/fesm2015/column-resize.mjs.map +1 -1
  131. package/fesm2015/material-experimental.mjs +1 -1
  132. package/fesm2015/material-experimental.mjs.map +1 -1
  133. package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
  134. package/fesm2015/mdc-autocomplete.mjs +16 -15
  135. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  136. package/fesm2015/mdc-button/testing.mjs.map +1 -1
  137. package/fesm2015/mdc-button.mjs +43 -43
  138. package/fesm2015/mdc-button.mjs.map +1 -1
  139. package/fesm2015/mdc-card/testing.mjs.map +1 -1
  140. package/fesm2015/mdc-card.mjs +47 -47
  141. package/fesm2015/mdc-card.mjs.map +1 -1
  142. package/fesm2015/mdc-checkbox/testing.mjs +2 -1
  143. package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
  144. package/fesm2015/mdc-checkbox.mjs +13 -8
  145. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  146. package/fesm2015/mdc-chips/testing.mjs +2 -2
  147. package/fesm2015/mdc-chips/testing.mjs.map +1 -1
  148. package/fesm2015/mdc-chips.mjs +93 -73
  149. package/fesm2015/mdc-chips.mjs.map +1 -1
  150. package/fesm2015/mdc-core/testing.mjs.map +1 -1
  151. package/fesm2015/mdc-core.mjs +12 -12
  152. package/fesm2015/mdc-core.mjs.map +1 -1
  153. package/fesm2015/mdc-dialog/testing.mjs +44 -2
  154. package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
  155. package/fesm2015/mdc-dialog.mjs +45 -29
  156. package/fesm2015/mdc-dialog.mjs.map +1 -1
  157. package/fesm2015/mdc-form-field/testing.mjs +1 -1
  158. package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
  159. package/fesm2015/mdc-form-field.mjs +82 -75
  160. package/fesm2015/mdc-form-field.mjs.map +1 -1
  161. package/fesm2015/mdc-input/testing.mjs.map +1 -1
  162. package/fesm2015/mdc-input.mjs +7 -7
  163. package/fesm2015/mdc-input.mjs.map +1 -1
  164. package/fesm2015/mdc-list/testing.mjs.map +1 -1
  165. package/fesm2015/mdc-list.mjs +73 -62
  166. package/fesm2015/mdc-list.mjs.map +1 -1
  167. package/fesm2015/mdc-menu/testing.mjs.map +1 -1
  168. package/fesm2015/mdc-menu.mjs +20 -20
  169. package/fesm2015/mdc-menu.mjs.map +1 -1
  170. package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
  171. package/fesm2015/mdc-paginator.mjs +8 -8
  172. package/fesm2015/mdc-paginator.mjs.map +1 -1
  173. package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
  174. package/fesm2015/mdc-progress-bar.mjs +11 -8
  175. package/fesm2015/mdc-progress-bar.mjs.map +1 -1
  176. package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
  177. package/fesm2015/mdc-progress-spinner.mjs +11 -8
  178. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  179. package/fesm2015/mdc-radio/testing.mjs +2 -1
  180. package/fesm2015/mdc-radio/testing.mjs.map +1 -1
  181. package/fesm2015/mdc-radio.mjs +12 -11
  182. package/fesm2015/mdc-radio.mjs.map +1 -1
  183. package/fesm2015/mdc-select/testing.mjs.map +1 -1
  184. package/fesm2015/mdc-select.mjs +12 -13
  185. package/fesm2015/mdc-select.mjs.map +1 -1
  186. package/fesm2015/mdc-slide-toggle/testing.mjs +3 -1
  187. package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
  188. package/fesm2015/mdc-slide-toggle.mjs +9 -8
  189. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  190. package/fesm2015/mdc-slider/testing.mjs.map +1 -1
  191. package/fesm2015/mdc-slider.mjs +72 -32
  192. package/fesm2015/mdc-slider.mjs.map +1 -1
  193. package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
  194. package/fesm2015/mdc-snack-bar.mjs +37 -31
  195. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  196. package/fesm2015/mdc-table/testing.mjs.map +1 -1
  197. package/fesm2015/mdc-table.mjs +57 -57
  198. package/fesm2015/mdc-table.mjs.map +1 -1
  199. package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
  200. package/fesm2015/mdc-tabs.mjs +75 -44
  201. package/fesm2015/mdc-tabs.mjs.map +1 -1
  202. package/fesm2015/mdc-tooltip/testing.mjs +3 -0
  203. package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
  204. package/fesm2015/mdc-tooltip.mjs +60 -41
  205. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  206. package/fesm2015/menubar.mjs +32 -20
  207. package/fesm2015/menubar.mjs.map +1 -1
  208. package/fesm2015/popover-edit.mjs +25 -25
  209. package/fesm2015/popover-edit.mjs.map +1 -1
  210. package/fesm2015/selection.mjs +21 -21
  211. package/fesm2015/selection.mjs.map +1 -1
  212. package/fesm2020/column-resize.mjs +36 -36
  213. package/fesm2020/column-resize.mjs.map +1 -1
  214. package/fesm2020/material-experimental.mjs +1 -1
  215. package/fesm2020/material-experimental.mjs.map +1 -1
  216. package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
  217. package/fesm2020/mdc-autocomplete.mjs +16 -15
  218. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  219. package/fesm2020/mdc-button/testing.mjs.map +1 -1
  220. package/fesm2020/mdc-button.mjs +43 -43
  221. package/fesm2020/mdc-button.mjs.map +1 -1
  222. package/fesm2020/mdc-card/testing.mjs.map +1 -1
  223. package/fesm2020/mdc-card.mjs +47 -47
  224. package/fesm2020/mdc-card.mjs.map +1 -1
  225. package/fesm2020/mdc-checkbox/testing.mjs +2 -1
  226. package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
  227. package/fesm2020/mdc-checkbox.mjs +13 -8
  228. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  229. package/fesm2020/mdc-chips/testing.mjs +1 -1
  230. package/fesm2020/mdc-chips/testing.mjs.map +1 -1
  231. package/fesm2020/mdc-chips.mjs +93 -73
  232. package/fesm2020/mdc-chips.mjs.map +1 -1
  233. package/fesm2020/mdc-core/testing.mjs.map +1 -1
  234. package/fesm2020/mdc-core.mjs +12 -12
  235. package/fesm2020/mdc-core.mjs.map +1 -1
  236. package/fesm2020/mdc-dialog/testing.mjs +44 -2
  237. package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
  238. package/fesm2020/mdc-dialog.mjs +45 -29
  239. package/fesm2020/mdc-dialog.mjs.map +1 -1
  240. package/fesm2020/mdc-form-field/testing.mjs +1 -1
  241. package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
  242. package/fesm2020/mdc-form-field.mjs +81 -74
  243. package/fesm2020/mdc-form-field.mjs.map +1 -1
  244. package/fesm2020/mdc-input/testing.mjs.map +1 -1
  245. package/fesm2020/mdc-input.mjs +7 -7
  246. package/fesm2020/mdc-input.mjs.map +1 -1
  247. package/fesm2020/mdc-list/testing.mjs.map +1 -1
  248. package/fesm2020/mdc-list.mjs +73 -62
  249. package/fesm2020/mdc-list.mjs.map +1 -1
  250. package/fesm2020/mdc-menu/testing.mjs.map +1 -1
  251. package/fesm2020/mdc-menu.mjs +20 -20
  252. package/fesm2020/mdc-menu.mjs.map +1 -1
  253. package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
  254. package/fesm2020/mdc-paginator.mjs +8 -8
  255. package/fesm2020/mdc-paginator.mjs.map +1 -1
  256. package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
  257. package/fesm2020/mdc-progress-bar.mjs +11 -8
  258. package/fesm2020/mdc-progress-bar.mjs.map +1 -1
  259. package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
  260. package/fesm2020/mdc-progress-spinner.mjs +11 -8
  261. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  262. package/fesm2020/mdc-radio/testing.mjs +2 -1
  263. package/fesm2020/mdc-radio/testing.mjs.map +1 -1
  264. package/fesm2020/mdc-radio.mjs +12 -11
  265. package/fesm2020/mdc-radio.mjs.map +1 -1
  266. package/fesm2020/mdc-select/testing.mjs.map +1 -1
  267. package/fesm2020/mdc-select.mjs +12 -13
  268. package/fesm2020/mdc-select.mjs.map +1 -1
  269. package/fesm2020/mdc-slide-toggle/testing.mjs +3 -1
  270. package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
  271. package/fesm2020/mdc-slide-toggle.mjs +9 -8
  272. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  273. package/fesm2020/mdc-slider/testing.mjs.map +1 -1
  274. package/fesm2020/mdc-slider.mjs +61 -31
  275. package/fesm2020/mdc-slider.mjs.map +1 -1
  276. package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
  277. package/fesm2020/mdc-snack-bar.mjs +37 -31
  278. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  279. package/fesm2020/mdc-table/testing.mjs.map +1 -1
  280. package/fesm2020/mdc-table.mjs +57 -57
  281. package/fesm2020/mdc-table.mjs.map +1 -1
  282. package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
  283. package/fesm2020/mdc-tabs.mjs +75 -44
  284. package/fesm2020/mdc-tabs.mjs.map +1 -1
  285. package/fesm2020/mdc-tooltip/testing.mjs +3 -0
  286. package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
  287. package/fesm2020/mdc-tooltip.mjs +57 -40
  288. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  289. package/fesm2020/menubar.mjs +31 -20
  290. package/fesm2020/menubar.mjs.map +1 -1
  291. package/fesm2020/popover-edit.mjs +25 -25
  292. package/fesm2020/popover-edit.mjs.map +1 -1
  293. package/fesm2020/selection.mjs +21 -21
  294. package/fesm2020/selection.mjs.map +1 -1
  295. package/mdc-autocomplete/_autocomplete-theme.scss +10 -10
  296. package/mdc-button/_button-base.scss +4 -3
  297. package/mdc-button/_button-theme-private.scss +0 -1
  298. package/mdc-button/_button-theme.scss +22 -16
  299. package/mdc-button/_fab-theme.scss +10 -10
  300. package/mdc-button/_icon-button-theme.scss +13 -12
  301. package/mdc-card/_card-theme.scss +11 -11
  302. package/mdc-checkbox/_checkbox-private.scss +46 -0
  303. package/mdc-checkbox/_checkbox-theme.scss +20 -46
  304. package/mdc-chips/_chips-theme.scss +20 -15
  305. package/mdc-chips/chip-action.d.ts +1 -1
  306. package/mdc-chips/chip-grid.d.ts +22 -5
  307. package/mdc-chips/chip-input.d.ts +5 -5
  308. package/mdc-chips/chip-listbox.d.ts +1 -2
  309. package/mdc-chips/chip-set.d.ts +3 -3
  310. package/mdc-chips/chip-text-control.d.ts +2 -0
  311. package/mdc-chips/testing/public-api.d.ts +1 -0
  312. package/mdc-color/_all-color.scss +4 -3
  313. package/mdc-core/_core-theme.scss +23 -11
  314. package/mdc-core/option/_optgroup-theme.scss +11 -11
  315. package/mdc-core/option/_option-theme.scss +11 -11
  316. package/mdc-density/_all-density.scss +4 -3
  317. package/mdc-dialog/_dialog-theme.scss +49 -13
  318. package/mdc-dialog/dialog-content-directives.d.ts +5 -1
  319. package/mdc-dialog/dialog.d.ts +6 -1
  320. package/mdc-dialog/testing/dialog-opener.d.ts +18 -0
  321. package/mdc-dialog/testing/public-api.d.ts +1 -0
  322. package/mdc-form-field/_form-field-density.scss +6 -5
  323. package/mdc-form-field/_form-field-focus-overlay.scss +2 -2
  324. package/mdc-form-field/_form-field-high-contrast.scss +17 -8
  325. package/mdc-form-field/_form-field-native-select.scss +5 -4
  326. package/mdc-form-field/_form-field-subscript.scss +5 -3
  327. package/mdc-form-field/_form-field-theme.scss +17 -17
  328. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +2 -2
  329. package/mdc-form-field/directives/floating-label.d.ts +1 -3
  330. package/mdc-form-field/form-field.d.ts +23 -11
  331. package/mdc-form-field/testing/public-api.d.ts +1 -1
  332. package/mdc-helpers/_focus-indicators-theme.scss +6 -6
  333. package/mdc-helpers/_focus-indicators.scss +2 -2
  334. package/mdc-helpers/_mdc-helpers.scss +13 -16
  335. package/mdc-input/_input-theme.scss +10 -10
  336. package/mdc-list/_interactive-list-theme.scss +2 -2
  337. package/mdc-list/_list-option-theme.scss +3 -3
  338. package/mdc-list/_list-option-trailing-avatar-compat.scss +18 -13
  339. package/mdc-list/_list-theme.scss +33 -25
  340. package/mdc-list/list.d.ts +5 -1
  341. package/mdc-menu/_menu-theme.scss +10 -10
  342. package/mdc-menu/menu.d.ts +1 -1
  343. package/mdc-paginator/_paginator-theme.scss +20 -23
  344. package/mdc-paginator/public-api.d.ts +1 -1
  345. package/mdc-progress-bar/_progress-bar-theme.scss +8 -7
  346. package/mdc-progress-spinner/_progress-spinner-theme.scss +8 -7
  347. package/mdc-radio/_radio-theme.scss +16 -16
  348. package/mdc-select/_select-theme.scss +11 -11
  349. package/mdc-slide-toggle/_slide-toggle-theme.scss +14 -15
  350. package/mdc-slider/_slider-theme.scss +11 -12
  351. package/mdc-slider/slider.d.ts +6 -0
  352. package/mdc-snack-bar/_snack-bar-theme.scss +11 -11
  353. package/mdc-table/_table-theme.scss +14 -21
  354. package/mdc-tabs/_tabs-common.scss +14 -4
  355. package/mdc-tabs/_tabs-theme.scss +14 -14
  356. package/mdc-tabs/ink-bar.d.ts +1 -1
  357. package/mdc-tabs/tab-group.d.ts +5 -1
  358. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +8 -3
  359. package/mdc-theming/_all-theme.scss +3 -2
  360. package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
  361. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  362. package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
  363. package/mdc-theming/prebuilt/purple-green.css +1 -1
  364. package/mdc-tooltip/_tooltip-theme.scss +12 -13
  365. package/mdc-tooltip/testing/tooltip-harness.d.ts +3 -0
  366. package/mdc-tooltip/tooltip.d.ts +6 -2
  367. package/mdc-typography/_all-typography.scss +5 -5
  368. package/menubar/menubar-item.d.ts +1 -0
  369. package/package.json +55 -17
  370. package/popover-edit/_popover-edit-theme.scss +23 -26
  371. package/selection/_selection.scss +3 -3
  372. package/esm2020/mdc-sidenav/index.mjs +0 -9
  373. package/esm2020/mdc-sidenav/mdc-sidenav_public_index.mjs +0 -5
  374. package/esm2020/mdc-sidenav/module.mjs +0 -23
  375. package/esm2020/mdc-sidenav/public-api.mjs +0 -9
  376. package/fesm2015/mdc-sidenav.mjs +0 -46
  377. package/fesm2015/mdc-sidenav.mjs.map +0 -1
  378. package/fesm2020/mdc-sidenav.mjs +0 -46
  379. package/fesm2020/mdc-sidenav.mjs.map +0 -1
  380. package/mdc-sidenav/_sidenav-theme.import.scss +0 -5
  381. package/mdc-sidenav/_sidenav-theme.scss +0 -28
  382. package/mdc-sidenav/index.d.ts +0 -8
  383. package/mdc-sidenav/mdc-sidenav_public_index.d.ts +0 -4
  384. package/mdc-sidenav/module.d.ts +0 -7
  385. package/mdc-sidenav/package.json +0 -9
  386. package/mdc-sidenav/public-api.d.ts +0 -8
@@ -1,8 +1,9 @@
1
+ @use '@angular/material' as mat;
1
2
  @use '@material/theme/theme-color' as mdc-theme-color;
2
3
  @use '@material/linear-progress' as mdc-linear-progress;
3
4
  @use 'sass:color';
5
+
4
6
  @use '../mdc-helpers/mdc-helpers';
5
- @use '../../material/core/theming/theming';
6
7
 
7
8
  @mixin _palette-styles($color) {
8
9
  // TODO(crisbeto): the buffer color should come from somewhere in MDC, however at the time of
@@ -16,7 +17,7 @@
16
17
  }
17
18
 
18
19
  @mixin color($config-or-theme) {
19
- $config: theming.get-color-config($config-or-theme);
20
+ $config: mat.get-color-config($config-or-theme);
20
21
  @include mdc-helpers.mat-using-mdc-theme($config) {
21
22
  .mat-mdc-progress-bar {
22
23
  @include _palette-styles(primary);
@@ -37,11 +38,11 @@
37
38
  @mixin density($config-or-theme) {}
38
39
 
39
40
  @mixin theme($theme-or-color-config) {
40
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
41
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-bar') {
42
- $color: theming.get-color-config($theme);
43
- $density: theming.get-density-config($theme);
44
- $typography: theming.get-typography-config($theme);
41
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
42
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-bar') {
43
+ $color: mat.get-color-config($theme);
44
+ $density: mat.get-density-config($theme);
45
+ $typography: mat.get-typography-config($theme);
45
46
 
46
47
  @if $color != null {
47
48
  @include color($color);
@@ -1,13 +1,14 @@
1
+ @use '@angular/material' as mat;
1
2
  @use '@material/circular-progress' as mdc-circular-progress;
3
+
2
4
  @use '../mdc-helpers/mdc-helpers';
3
- @use '../../material/core/theming/theming';
4
5
 
5
6
  @mixin _palette-styles($color) {
6
7
  @include mdc-circular-progress.color($color, $query: mdc-helpers.$mat-theme-styles-query);
7
8
  }
8
9
 
9
10
  @mixin color($config-or-theme) {
10
- $config: theming.get-color-config($config-or-theme);
11
+ $config: mat.get-color-config($config-or-theme);
11
12
  @include mdc-helpers.mat-using-mdc-theme($config) {
12
13
  .mat-mdc-progress-spinner {
13
14
  @include _palette-styles(primary);
@@ -28,11 +29,11 @@
28
29
  @mixin density($config-or-theme) {}
29
30
 
30
31
  @mixin theme($theme-or-color-config) {
31
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
32
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-spinner') {
33
- $color: theming.get-color-config($theme);
34
- $density: theming.get-density-config($theme);
35
- $typography: theming.get-typography-config($theme);
32
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
33
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-spinner') {
34
+ $color: mat.get-color-config($theme);
35
+ $density: mat.get-density-config($theme);
36
+ $typography: mat.get-typography-config($theme);
36
37
 
37
38
  @if $color != null {
38
39
  @include color($color);
@@ -1,11 +1,10 @@
1
1
  @use 'sass:map';
2
+ @use '@angular/material' as mat;
2
3
  @use '@material/theme/theme-color' as mdc-theme-color;
3
4
  @use '@material/radio/radio-theme' as mdc-radio-theme;
4
5
  @use '@material/radio/radio' as mdc-radio;
5
6
  @use '@material/form-field' as mdc-form-field;
6
7
  @use '../mdc-helpers/mdc-helpers';
7
- @use '../../material/core/typography/typography';
8
- @use '../../material/core/theming/theming';
9
8
 
10
9
  @mixin _color-palette($color-palette) {
11
10
  @include mdc-radio-theme.theme((
@@ -15,15 +14,14 @@
15
14
  selected-pressed-icon-color: $color-palette,
16
15
  ));
17
16
 
18
- // TODO(crisbeto): this should be included by MDC's `theme-styles`, but it isn't currently.
19
- @include mdc-radio-theme.focus-indicator-color($color-palette);
17
+ --mat-mdc-radio-checked-ripple-color: #{$color-palette};
20
18
  }
21
19
 
22
20
  @mixin color($config-or-theme) {
23
- $config: theming.get-color-config($config-or-theme);
24
- $primary: theming.get-color-from-palette(map.get($config, primary));
25
- $accent: theming.get-color-from-palette(map.get($config, accent));
26
- $warn: theming.get-color-from-palette(map.get($config, warn));
21
+ $config: mat.get-color-config($config-or-theme);
22
+ $primary: mat.get-color-from-palette(map.get($config, primary));
23
+ $accent: mat.get-color-from-palette(map.get($config, accent));
24
+ $warn: mat.get-color-from-palette(map.get($config, warn));
27
25
 
28
26
  @include mdc-helpers.mat-using-mdc-theme($config) {
29
27
  $on-surface: rgba(mdc-theme-color.$on-surface, 0.54);
@@ -41,6 +39,8 @@
41
39
  unselected-pressed-icon-color: $on-surface,
42
40
  ));
43
41
 
42
+ --mat-mdc-radio-ripple-color: #{mdc-theme-color.prop-value(on-surface)};
43
+
44
44
  &.mat-primary {
45
45
  @include _color-palette($primary);
46
46
  }
@@ -57,8 +57,8 @@
57
57
  }
58
58
 
59
59
  @mixin typography($config-or-theme) {
60
- $config: typography.private-typography-to-2018-config(
61
- theming.get-typography-config($config-or-theme));
60
+ $config: mat.private-typography-to-2018-config(
61
+ mat.get-typography-config($config-or-theme));
62
62
  @include mdc-helpers.mat-using-mdc-typography($config) {
63
63
  @include mdc-radio.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
64
64
  @include mdc-form-field.core-styles($query: mdc-helpers.$mat-typography-styles-query);
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  @mixin density($config-or-theme) {
69
- $density-scale: theming.get-density-config($config-or-theme);
69
+ $density-scale: mat.get-density-config($config-or-theme);
70
70
  .mat-mdc-radio-button .mdc-radio {
71
71
  @include mdc-radio-theme.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
72
72
  }
@@ -79,11 +79,11 @@
79
79
  }
80
80
 
81
81
  @mixin theme($theme-or-color-config) {
82
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
83
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-radio') {
84
- $color: theming.get-color-config($theme);
85
- $density: theming.get-density-config($theme);
86
- $typography: theming.get-typography-config($theme);
82
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
83
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-radio') {
84
+ $color: mat.get-color-config($theme);
85
+ $density: mat.get-density-config($theme);
86
+ $typography: mat.get-typography-config($theme);
87
87
 
88
88
  @if $color != null {
89
89
  @include color($color);
@@ -1,10 +1,10 @@
1
+ @use '@angular/material' as mat;
1
2
  @use '@material/theme/theme-color' as mdc-theme-color;
2
3
  @use '@material/menu-surface' as mdc-menu-surface;
3
4
  @use '@material/list/evolution-mixins' as mdc-list;
4
5
  @use '@material/typography' as mdc-typography;
6
+
5
7
  @use '../mdc-helpers/mdc-helpers';
6
- @use '../../material/core/typography/typography';
7
- @use '../../material/core/theming/theming';
8
8
 
9
9
  // Gets the color to use for some text that is highlighted while a select has focus.
10
10
  @function _get-mdc-focused-text-color($palette) {
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  @mixin color($config-or-theme) {
15
- $config: theming.get-color-config($config-or-theme);
15
+ $config: mat.get-color-config($config-or-theme);
16
16
 
17
17
  @include mdc-helpers.mat-using-mdc-theme($config) {
18
18
  $disabled-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
@@ -62,8 +62,8 @@
62
62
  }
63
63
 
64
64
  @mixin typography($config-or-theme) {
65
- $config: typography.private-typography-to-2018-config(
66
- theming.get-typography-config($config-or-theme));
65
+ $config: mat.private-typography-to-2018-config(
66
+ mat.get-typography-config($config-or-theme));
67
67
  @include mdc-helpers.mat-using-mdc-typography($config) {
68
68
  @include mdc-menu-surface.core-styles(mdc-helpers.$mat-typography-styles-query);
69
69
 
@@ -71,7 +71,7 @@
71
71
  @include mdc-list.list-base(mdc-helpers.$mat-typography-styles-query);
72
72
  }
73
73
 
74
- .mat-mdc-select-value {
74
+ .mat-mdc-select {
75
75
  @include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query);
76
76
  }
77
77
  }
@@ -80,11 +80,11 @@
80
80
  @mixin density($config-or-theme) {}
81
81
 
82
82
  @mixin theme($theme-or-color-config) {
83
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
84
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-select') {
85
- $color: theming.get-color-config($theme);
86
- $density: theming.get-density-config($theme);
87
- $typography: theming.get-typography-config($theme);
83
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
84
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-select') {
85
+ $color: mat.get-color-config($theme);
86
+ $density: mat.get-density-config($theme);
87
+ $typography: mat.get-typography-config($theme);
88
88
 
89
89
  @if $color != null {
90
90
  @include color($color);
@@ -1,12 +1,11 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:color';
3
+ @use '@angular/material' as mat;
3
4
  @use '@material/switch/switch-theme' as mdc-switch-theme;
4
5
  @use '@material/theme/color-palette' as mdc-color-palette;
5
6
  @use '@material/form-field' as mdc-form-field;
7
+
6
8
  @use '../mdc-helpers/mdc-helpers';
7
- @use '../../material/core/typography/typography';
8
- @use '../../material/core/theming/theming';
9
- @use '../../material/core/theming/palette';
10
9
 
11
10
  // Generates all color mapping for the properties that only change based on the theme.
12
11
  @function _get-theme-base-map($is-dark) {
@@ -70,10 +69,10 @@
70
69
  }
71
70
 
72
71
  @mixin color($config-or-theme) {
73
- $config: theming.get-color-config($config-or-theme);
74
- $primary: theming.get-color-from-palette(map.get($config, primary));
75
- $accent: theming.get-color-from-palette(map.get($config, accent));
76
- $warn: theming.get-color-from-palette(map.get($config, warn));
72
+ $config: mat.get-color-config($config-or-theme);
73
+ $primary: mat.get-color-from-palette(map.get($config, primary));
74
+ $accent: mat.get-color-from-palette(map.get($config, accent));
75
+ $warn: mat.get-color-from-palette(map.get($config, warn));
77
76
  $is-dark: map.get($config, is-dark);
78
77
 
79
78
  @include mdc-helpers.mat-using-mdc-theme($config) {
@@ -99,27 +98,27 @@
99
98
  }
100
99
 
101
100
  @mixin typography($config-or-theme) {
102
- $config: typography.private-typography-to-2018-config(
103
- theming.get-typography-config($config-or-theme));
101
+ $config: mat.private-typography-to-2018-config(
102
+ mat.get-typography-config($config-or-theme));
104
103
  @include mdc-helpers.mat-using-mdc-typography($config) {
105
104
  @include mdc-form-field.core-styles($query: mdc-helpers.$mat-typography-styles-query);
106
105
  }
107
106
  }
108
107
 
109
108
  @mixin density($config-or-theme) {
110
- $density-scale: theming.get-density-config($config-or-theme);
109
+ $density-scale: mat.get-density-config($config-or-theme);
111
110
  .mat-mdc-slide-toggle {
112
111
  @include mdc-switch-theme.theme(mdc-switch-theme.density($density-scale));
113
112
  }
114
113
  }
115
114
 
116
115
  @mixin theme($theme-or-color-config) {
117
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
116
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
118
117
 
119
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-slide-toggle') {
120
- $color: theming.get-color-config($theme);
121
- $density: theming.get-density-config($theme);
122
- $typography: theming.get-typography-config($theme);
118
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-slide-toggle') {
119
+ $color: mat.get-color-config($theme);
120
+ $density: mat.get-density-config($theme);
121
+ $typography: mat.get-typography-config($theme);
123
122
 
124
123
  @if $color != null {
125
124
  @include color($color);
@@ -1,15 +1,14 @@
1
1
  @use 'sass:map';
2
2
 
3
+ @use '@angular/material' as mat;
3
4
  @use '@material/slider/slider' as mdc-slider;
4
5
  @use '@material/slider/slider-theme';
5
6
  @use '@material/theme/variables' as theme-variables;
7
+
6
8
  @use '../mdc-helpers/mdc-helpers';
7
- @use '../../material/core/typography/typography';
8
- @use '../../material/core/ripple/ripple-theme';
9
- @use '../../material/core/theming/theming';
10
9
 
11
10
  @mixin color($config-or-theme) {
12
- $config: theming.get-color-config($config-or-theme);
11
+ $config: mat.get-color-config($config-or-theme);
13
12
  @include mdc-helpers.mat-using-mdc-theme($config) {
14
13
  @include mdc-slider.without-ripple($query: mdc-helpers.$mat-theme-styles-query);
15
14
 
@@ -47,8 +46,8 @@
47
46
  }
48
47
 
49
48
  @mixin typography($config-or-theme) {
50
- $config: typography.private-typography-to-2018-config(
51
- theming.get-typography-config($config-or-theme));
49
+ $config: mat.private-typography-to-2018-config(
50
+ mat.get-typography-config($config-or-theme));
52
51
  @include mdc-helpers.mat-using-mdc-typography($config) {
53
52
  @include mdc-slider.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
54
53
  }
@@ -57,11 +56,11 @@
57
56
  @mixin density($config-or-theme) {}
58
57
 
59
58
  @mixin theme($theme-or-color-config) {
60
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
61
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-slider') {
62
- $color: theming.get-color-config($theme);
63
- $density: theming.get-density-config($theme);
64
- $typography: theming.get-typography-config($theme);
59
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
60
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-slider') {
61
+ $color: mat.get-color-config($theme);
62
+ $density: mat.get-density-config($theme);
63
+ $typography: mat.get-typography-config($theme);
65
64
 
66
65
  @if $color != null {
67
66
  @include color($color);
@@ -112,7 +111,7 @@
112
111
  $query: mdc-helpers.$mat-theme-styles-query
113
112
  );
114
113
  $ripple-color: map.get(theme-variables.$property-values, $color);
115
- @include ripple-theme.color((
114
+ @include mat.ripple-color((
116
115
  foreground: (
117
116
  base: $ripple-color
118
117
  ),
@@ -296,6 +296,10 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
296
296
  private _SUPPORTS_POINTER_EVENTS;
297
297
  /** Subscription to changes to the directionality (LTR / RTL) context for the application. */
298
298
  private _dirChangeSubscription;
299
+ /** Observer used to monitor size changes in the slider. */
300
+ private _resizeObserver;
301
+ /** Timeout used to debounce resize listeners. */
302
+ private _resizeTimer;
299
303
  constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _platform: Platform, _globalChangeAndInputListener: GlobalChangeAndInputListener<'input' | 'change'>, document: any, _dir: Directionality, _globalRippleOptions?: RippleGlobalOptions | undefined, animationMode?: string);
300
304
  ngAfterViewInit(): void;
301
305
  ngOnDestroy(): void;
@@ -361,6 +365,8 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
361
365
  _getTickMarkClass(tickMark: TickMark): string;
362
366
  /** Whether the slider thumb ripples should be disabled. */
363
367
  _isRippleDisabled(): boolean;
368
+ /** Starts observing and updating the slider if the host changes its size. */
369
+ private _observeHostResize;
364
370
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
365
371
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "color": "color"; "disableRipple": "disableRipple"; "disabled": "disabled"; "discrete": "discrete"; "showTickMarks": "showTickMarks"; "min": "min"; "max": "max"; "step": "step"; "displayWith": "displayWith"; }, {}, ["_inputs"], ["*"]>;
366
372
  }
@@ -1,13 +1,13 @@
1
+ @use '@angular/material' as mat;
1
2
  @use '@material/theme/theme-color' as mdc-theme-color;
2
3
  @use '@material/snackbar' as mdc-snackbar;
3
4
  @use 'sass:color';
4
5
  @use 'sass:map';
6
+
5
7
  @use '../mdc-helpers/mdc-helpers';
6
- @use '../../material/core/typography/typography';
7
- @use '../../material/core/theming/theming';
8
8
 
9
9
  @mixin color($config-or-theme) {
10
- $config: theming.get-color-config($config-or-theme);
10
+ $config: mat.get-color-config($config-or-theme);
11
11
 
12
12
  $orig-fill-color: mdc-snackbar.$fill-color;
13
13
  $orig-label-ink-color: mdc-snackbar.$label-ink-color;
@@ -41,7 +41,7 @@
41
41
  .mat-mdc-simple-snack-bar .mat-mdc-snack-bar-actions .mdc-snackbar__action.mdc-snackbar__action {
42
42
  $is-dark-theme: map.get($config, is-dark);
43
43
  $accent: map.get($config, accent);
44
- color: if($is-dark-theme, inherit, theming.get-color-from-palette($accent, text));
44
+ color: if($is-dark-theme, inherit, mat.get-color-from-palette($accent, text));
45
45
 
46
46
  .mat-ripple-element {
47
47
  background-color: currentColor;
@@ -51,8 +51,8 @@
51
51
  }
52
52
 
53
53
  @mixin typography($config-or-theme) {
54
- $config: typography.private-typography-to-2018-config(
55
- theming.get-typography-config($config-or-theme));
54
+ $config: mat.private-typography-to-2018-config(
55
+ mat.get-typography-config($config-or-theme));
56
56
  @include mdc-helpers.mat-using-mdc-typography($config) {
57
57
  @include mdc-snackbar.core-styles($query: mdc-helpers.$mat-typography-styles-query);
58
58
  }
@@ -61,11 +61,11 @@
61
61
  @mixin density($config-or-theme) {}
62
62
 
63
63
  @mixin theme($theme-or-color-config) {
64
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
65
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-snack-bar') {
66
- $color: theming.get-color-config($theme);
67
- $density: theming.get-density-config($theme);
68
- $typography: theming.get-typography-config($theme);
64
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
65
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-snack-bar') {
66
+ $color: mat.get-color-config($theme);
67
+ $density: mat.get-density-config($theme);
68
+ $typography: mat.get-typography-config($theme);
69
69
 
70
70
  @if $color != null {
71
71
  @include color($color);
@@ -1,13 +1,13 @@
1
1
  @use 'sass:map';
2
+ @use '@angular/material' as mat;
2
3
  @use '@material/theme/theme-color' as mdc-theme-color;
3
4
  @use '@material/data-table/data-table' as mdc-data-table;
4
5
  @use '@material/data-table' as mdc-data-table-theme;
6
+
5
7
  @use '../mdc-helpers/mdc-helpers';
6
- @use '../../material/core/typography/typography';
7
- @use '../../material/core/theming/theming';
8
8
 
9
9
  @mixin color($config-or-theme) {
10
- $config: theming.get-color-config($config-or-theme);
10
+ $config: mat.get-color-config($config-or-theme);
11
11
  // Save original values of MDC global variables. We need to save these so we can restore the
12
12
  // variables to their original values and prevent unintended side effects from using this mixin.
13
13
  $orig-selected-row-fill-color: mdc-data-table-theme.$selected-row-fill-color;
@@ -15,8 +15,6 @@
15
15
  $orig-row-hover-fill-color: mdc-data-table-theme.$row-hover-fill-color;
16
16
  $orig-header-row-text-color: mdc-data-table-theme.$header-row-text-color;
17
17
  $orig-row-text-color: mdc-data-table-theme.$row-text-color;
18
- $orig-sort-icon-color: mdc-data-table-theme.$sort-icon-color;
19
- $orig-sort-icon-active-color: mdc-data-table-theme.$sort-icon-active-color;
20
18
  $orig-stroke-color: mdc-data-table-theme.$stroke-color;
21
19
 
22
20
  @include mdc-helpers.mat-using-mdc-theme($config) {
@@ -25,12 +23,9 @@
25
23
  mdc-data-table-theme.$row-hover-fill-color: rgba(mdc-theme-color.prop-value(on-surface), 0.04);
26
24
  mdc-data-table-theme.$header-row-text-color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
27
25
  mdc-data-table-theme.$row-text-color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
28
- mdc-data-table-theme.$sort-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.6);
29
- mdc-data-table-theme.$sort-icon-active-color:
30
- rgba(mdc-theme-color.prop-value(on-surface), 0.87);
31
26
  mdc-data-table-theme.$stroke-color: rgba(mdc-theme-color.prop-value(on-surface), 0.12);
32
27
 
33
- @include mdc-data-table.core-styles($query: mdc-helpers.$mat-theme-styles-query);
28
+ @include mdc-data-table.table-styles($query: mdc-helpers.$mat-theme-styles-query);
34
29
  }
35
30
 
36
31
  // Restore original values of MDC global variables.
@@ -39,26 +34,24 @@
39
34
  mdc-data-table-theme.$row-hover-fill-color: $orig-row-hover-fill-color;
40
35
  mdc-data-table-theme.$header-row-text-color: $orig-header-row-text-color;
41
36
  mdc-data-table-theme.$row-text-color: $orig-row-text-color;
42
- mdc-data-table-theme.$sort-icon-color: $orig-sort-icon-color;
43
- mdc-data-table-theme.$sort-icon-active-color: $orig-sort-icon-active-color;
44
37
  mdc-data-table-theme.$stroke-color: $orig-stroke-color;
45
38
 
46
39
  .mat-mdc-table {
47
40
  $background: map.get($config, background);
48
- background: theming.get-color-from-palette($background, 'card');
41
+ background: mat.get-color-from-palette($background, 'card');
49
42
  }
50
43
  }
51
44
 
52
45
  @mixin typography($config-or-theme) {
53
- $config: typography.private-typography-to-2018-config(
54
- theming.get-typography-config($config-or-theme));
46
+ $config: mat.private-typography-to-2018-config(
47
+ mat.get-typography-config($config-or-theme));
55
48
  @include mdc-helpers.mat-using-mdc-typography($config) {
56
- @include mdc-data-table.core-styles($query: mdc-helpers.$mat-typography-styles-query);
49
+ @include mdc-data-table.table-styles($query: mdc-helpers.$mat-typography-styles-query);
57
50
  }
58
51
  }
59
52
 
60
53
  @mixin density($config-or-theme) {
61
- $density-scale: theming.get-density-config($config-or-theme);
54
+ $density-scale: mat.get-density-config($config-or-theme);
62
55
  .mat-mdc-table {
63
56
  @include mdc-data-table-theme.density($density-scale,
64
57
  $query: mdc-helpers.$mat-base-styles-query);
@@ -66,11 +59,11 @@
66
59
  }
67
60
 
68
61
  @mixin theme($theme-or-color-config) {
69
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
70
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-table') {
71
- $color: theming.get-color-config($theme);
72
- $density: theming.get-density-config($theme);
73
- $typography: theming.get-typography-config($theme);
62
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
63
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-table') {
64
+ $color: mat.get-color-config($theme);
65
+ $density: mat.get-density-config($theme);
66
+ $typography: mat.get-typography-config($theme);
74
67
 
75
68
  @if $color != null {
76
69
  @include color($color);
@@ -1,9 +1,10 @@
1
+ @use '@angular/cdk';
2
+ @use '@angular/material' as mat;
1
3
  @use '@material/ripple' as mdc-ripple;
2
4
  @use '@material/tab' as mdc-tab;
3
5
  @use '@material/tab-indicator' as mdc-tab-indicator;
4
6
  @use 'sass:map';
5
- @use '../../material/core/style/vendor-prefixes';
6
- @use '../../cdk/a11y';
7
+
7
8
  @use '../mdc-helpers/mdc-helpers';
8
9
 
9
10
  $mat-tab-animation-duration: 500ms !default;
@@ -71,7 +72,7 @@ $mat-tab-animation-duration: 500ms !default;
71
72
 
72
73
  // The usual focus indication is color-based so it won't show up in
73
74
  // high contrast mode. Add an outline which is a bit more visible.
74
- @include a11y.high-contrast {
75
+ @include cdk.high-contrast {
75
76
  $outline-width: 2px;
76
77
  outline: dotted $outline-width;
77
78
  outline-offset: -$outline-width; // Not supported on IE, but looks better everywhere else.
@@ -94,7 +95,7 @@ $mat-tab-animation-duration: 500ms !default;
94
95
  }
95
96
 
96
97
  .mat-mdc-tab-header-pagination {
97
- @include vendor-prefixes.user-select(none);
98
+ @include mat.private-user-select(none);
98
99
  position: relative;
99
100
  display: none;
100
101
  justify-content: center;
@@ -104,6 +105,15 @@ $mat-tab-animation-duration: 500ms !default;
104
105
  z-index: 2;
105
106
  -webkit-tap-highlight-color: transparent;
106
107
  touch-action: none;
108
+ box-sizing: content-box;
109
+ background: none;
110
+ border: none;
111
+ outline: 0;
112
+ padding: 0;
113
+
114
+ &::-moz-focus-inner {
115
+ border: 0;
116
+ }
107
117
 
108
118
  .mat-ripple-element {
109
119
  opacity: map.get(mdc-ripple.$dark-ink-opacities, press);
@@ -1,4 +1,5 @@
1
1
  @use 'sass:map';
2
+ @use '@angular/material' as mat;
2
3
  @use '@material/theme/theme-color' as mdc-theme-color;
3
4
  @use '@material/theme/theme' as mdc-theme;
4
5
  @use '@material/tab-indicator' as mdc-tab-indicator;
@@ -6,15 +7,14 @@
6
7
  @use '@material/tab' as mdc-tab;
7
8
  @use '@material/tab/mixins' as mdc-tab-mixins;
8
9
  @use '@material/tab-bar' as mdc-tab-bar;
10
+
9
11
  @use '../mdc-helpers/mdc-helpers';
10
- @use '../../material/core/typography/typography';
11
- @use '../../material/core/theming/theming';
12
12
 
13
13
  @mixin color($config-or-theme) {
14
- $config: theming.get-color-config($config-or-theme);
15
- $primary: theming.get-color-from-palette(map.get($config, primary));
16
- $accent: theming.get-color-from-palette(map.get($config, accent));
17
- $warn: theming.get-color-from-palette(map.get($config, warn));
14
+ $config: mat.get-color-config($config-or-theme);
15
+ $primary: mat.get-color-from-palette(map.get($config, primary));
16
+ $accent: mat.get-color-from-palette(map.get($config, accent));
17
+ $warn: mat.get-color-from-palette(map.get($config, warn));
18
18
 
19
19
  @include mdc-helpers.mat-using-mdc-theme($config) {
20
20
  .mat-mdc-tab, .mat-mdc-tab-link {
@@ -110,8 +110,8 @@
110
110
  }
111
111
 
112
112
  @mixin typography($config-or-theme) {
113
- $config: typography.private-typography-to-2018-config(
114
- theming.get-typography-config($config-or-theme));
113
+ $config: mat.private-typography-to-2018-config(
114
+ mat.get-typography-config($config-or-theme));
115
115
  @include mdc-helpers.mat-using-mdc-typography($config) {
116
116
  @include mdc-tab.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
117
117
  @include mdc-tab-indicator.core-styles($query: mdc-helpers.$mat-typography-styles-query);
@@ -119,18 +119,18 @@
119
119
  }
120
120
 
121
121
  @mixin density($config-or-theme) {
122
- $density-scale: theming.get-density-config($config-or-theme);
122
+ $density-scale: mat.get-density-config($config-or-theme);
123
123
  .mat-mdc-tab-header {
124
124
  @include mdc-tab-bar.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
125
125
  }
126
126
  }
127
127
 
128
128
  @mixin theme($theme-or-color-config) {
129
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
130
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-tabs') {
131
- $color: theming.get-color-config($theme);
132
- $density: theming.get-density-config($theme);
133
- $typography: theming.get-typography-config($theme);
129
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
130
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-tabs') {
131
+ $color: mat.get-color-config($theme);
132
+ $density: mat.get-density-config($theme);
133
+ $typography: mat.get-typography-config($theme);
134
134
 
135
135
  @if $color != null {
136
136
  @include color($color);
@@ -47,7 +47,7 @@ export declare class MatInkBarFoundation {
47
47
  /** Removes the ink bar from the current item. */
48
48
  deactivate(): void;
49
49
  /** Gets the ClientRect of the ink bar. */
50
- computeContentClientRect(): ClientRect;
50
+ computeContentClientRect(): DOMRect;
51
51
  /** Initializes the foundation. */
52
52
  init(): void;
53
53
  /** Destroys the foundation. */
@@ -24,7 +24,11 @@ export declare class MatTabGroup extends _MatTabGroupBase {
24
24
  get fitInkBarToContent(): boolean;
25
25
  set fitInkBarToContent(v: BooleanInput);
26
26
  private _fitInkBarToContent;
27
+ /** Whether tabs should be stretched to fill the header. */
28
+ get stretchTabs(): boolean;
29
+ set stretchTabs(v: BooleanInput);
30
+ private _stretchTabs;
27
31
  constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, animationMode?: string);
28
32
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_allTabs"], never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; "stretchTabs": "mat-stretch-tabs"; }, {}, ["_allTabs"], never>;
30
34
  }