@angular/material-experimental 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 (453) hide show
  1. package/_index.scss +3 -0
  2. package/column-resize/_column-resize-theme.scss +15 -17
  3. package/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
  4. package/column-resize/column-resize-directives/column-resize.d.ts +1 -1
  5. package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +1 -1
  6. package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +1 -1
  7. package/column-resize/overlay-handle.d.ts +1 -1
  8. package/column-resize/resizable-directives/default-enabled-resizable.d.ts +1 -1
  9. package/column-resize/resizable-directives/resizable.d.ts +1 -1
  10. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  11. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  12. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  13. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  14. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  15. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  16. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  17. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  18. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  19. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
  20. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +6 -5
  21. package/esm2020/mdc-autocomplete/autocomplete.mjs +5 -5
  22. package/esm2020/mdc-autocomplete/module.mjs +5 -5
  23. package/esm2020/mdc-button/button-base.mjs +8 -8
  24. package/esm2020/mdc-button/button.mjs +9 -9
  25. package/esm2020/mdc-button/fab.mjs +17 -17
  26. package/esm2020/mdc-button/icon-button.mjs +9 -9
  27. package/esm2020/mdc-button/module.mjs +5 -5
  28. package/esm2020/mdc-card/card.mjs +44 -44
  29. package/esm2020/mdc-card/module.mjs +5 -5
  30. package/esm2020/mdc-checkbox/checkbox.mjs +10 -5
  31. package/esm2020/mdc-checkbox/module.mjs +5 -5
  32. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +3 -2
  33. package/esm2020/mdc-chips/chip-action.mjs +6 -5
  34. package/esm2020/mdc-chips/chip-edit-input.mjs +5 -5
  35. package/esm2020/mdc-chips/chip-grid.mjs +35 -14
  36. package/esm2020/mdc-chips/chip-icons.mjs +10 -10
  37. package/esm2020/mdc-chips/chip-input.mjs +8 -4
  38. package/esm2020/mdc-chips/chip-listbox.mjs +8 -11
  39. package/esm2020/mdc-chips/chip-option.mjs +8 -8
  40. package/esm2020/mdc-chips/chip-row.mjs +5 -5
  41. package/esm2020/mdc-chips/chip-set.mjs +13 -15
  42. package/esm2020/mdc-chips/chip-text-control.mjs +1 -1
  43. package/esm2020/mdc-chips/chip.mjs +8 -8
  44. package/esm2020/mdc-chips/module.mjs +5 -5
  45. package/esm2020/mdc-chips/testing/public-api.mjs +2 -1
  46. package/esm2020/mdc-core/option/index.mjs +5 -5
  47. package/esm2020/mdc-core/option/optgroup.mjs +5 -5
  48. package/esm2020/mdc-core/option/option.mjs +5 -5
  49. package/esm2020/mdc-dialog/dialog-container.mjs +7 -8
  50. package/esm2020/mdc-dialog/dialog-content-directives.mjs +27 -15
  51. package/esm2020/mdc-dialog/dialog.mjs +10 -5
  52. package/esm2020/mdc-dialog/module.mjs +5 -5
  53. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +45 -0
  54. package/esm2020/mdc-dialog/testing/public-api.mjs +2 -1
  55. package/esm2020/mdc-form-field/directives/error.mjs +4 -4
  56. package/esm2020/mdc-form-field/directives/floating-label.mjs +5 -10
  57. package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
  58. package/esm2020/mdc-form-field/directives/label.mjs +4 -4
  59. package/esm2020/mdc-form-field/directives/line-ripple.mjs +4 -4
  60. package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
  61. package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
  62. package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
  63. package/esm2020/mdc-form-field/form-field.mjs +59 -47
  64. package/esm2020/mdc-form-field/module.mjs +5 -5
  65. package/esm2020/mdc-form-field/testing/public-api.mjs +4 -4
  66. package/esm2020/mdc-input/input.mjs +4 -4
  67. package/esm2020/mdc-input/module.mjs +5 -5
  68. package/esm2020/mdc-list/action-list.mjs +6 -6
  69. package/esm2020/mdc-list/interactive-list-base.mjs +5 -5
  70. package/esm2020/mdc-list/list-base.mjs +7 -7
  71. package/esm2020/mdc-list/list-item-sections.mjs +19 -19
  72. package/esm2020/mdc-list/list-option.mjs +9 -9
  73. package/esm2020/mdc-list/list.mjs +21 -9
  74. package/esm2020/mdc-list/module.mjs +5 -5
  75. package/esm2020/mdc-list/nav-list.mjs +5 -5
  76. package/esm2020/mdc-list/selection-list.mjs +6 -6
  77. package/esm2020/mdc-list/subheader.mjs +4 -4
  78. package/esm2020/mdc-menu/directives.mjs +7 -7
  79. package/esm2020/mdc-menu/menu-item.mjs +6 -6
  80. package/esm2020/mdc-menu/menu.mjs +9 -9
  81. package/esm2020/mdc-menu/module.mjs +5 -5
  82. package/esm2020/mdc-paginator/module.mjs +5 -5
  83. package/esm2020/mdc-paginator/paginator.mjs +10 -10
  84. package/esm2020/mdc-paginator/public-api.mjs +1 -1
  85. package/esm2020/mdc-progress-bar/module.mjs +5 -5
  86. package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
  87. package/esm2020/mdc-progress-spinner/module.mjs +5 -5
  88. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +8 -5
  89. package/esm2020/mdc-radio/module.mjs +5 -5
  90. package/esm2020/mdc-radio/radio.mjs +9 -8
  91. package/esm2020/mdc-radio/testing/radio-harness.mjs +3 -2
  92. package/esm2020/mdc-select/module.mjs +5 -5
  93. package/esm2020/mdc-select/select.mjs +11 -12
  94. package/esm2020/mdc-slide-toggle/module.mjs +5 -5
  95. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +6 -5
  96. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -2
  97. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
  98. package/esm2020/mdc-slider/module.mjs +5 -5
  99. package/esm2020/mdc-slider/slider.mjs +53 -24
  100. package/esm2020/mdc-snack-bar/module.mjs +5 -5
  101. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +8 -8
  102. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +37 -25
  103. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
  104. package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
  105. package/esm2020/mdc-table/cell.mjs +22 -22
  106. package/esm2020/mdc-table/module.mjs +5 -5
  107. package/esm2020/mdc-table/row.mjs +22 -22
  108. package/esm2020/mdc-table/table.mjs +9 -9
  109. package/esm2020/mdc-table/text-column.mjs +5 -5
  110. package/esm2020/mdc-tabs/ink-bar.mjs +4 -2
  111. package/esm2020/mdc-tabs/module.mjs +5 -5
  112. package/esm2020/mdc-tabs/tab-body.mjs +8 -8
  113. package/esm2020/mdc-tabs/tab-content.mjs +4 -4
  114. package/esm2020/mdc-tabs/tab-group.mjs +25 -13
  115. package/esm2020/mdc-tabs/tab-header.mjs +5 -5
  116. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
  117. package/esm2020/mdc-tabs/tab-label.mjs +4 -4
  118. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +29 -12
  119. package/esm2020/mdc-tabs/tab.mjs +4 -4
  120. package/esm2020/mdc-tooltip/module.mjs +5 -5
  121. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -1
  122. package/esm2020/mdc-tooltip/tooltip.mjs +31 -15
  123. package/esm2020/menubar/menubar-item.mjs +20 -6
  124. package/esm2020/menubar/menubar-module.mjs +6 -6
  125. package/esm2020/menubar/menubar.mjs +11 -14
  126. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  127. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  128. package/esm2020/popover-edit/table-directives.mjs +13 -13
  129. package/esm2020/selection/row-selection.mjs +4 -4
  130. package/esm2020/selection/select-all.mjs +4 -4
  131. package/esm2020/selection/selection-column.mjs +8 -8
  132. package/esm2020/selection/selection-module.mjs +5 -5
  133. package/esm2020/selection/selection-toggle.mjs +4 -4
  134. package/esm2020/selection/selection.mjs +4 -4
  135. package/esm2020/version.mjs +1 -1
  136. package/fesm2015/column-resize.mjs +36 -36
  137. package/fesm2015/column-resize.mjs.map +1 -1
  138. package/fesm2015/material-experimental.mjs +1 -1
  139. package/fesm2015/material-experimental.mjs.map +1 -1
  140. package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
  141. package/fesm2015/mdc-autocomplete.mjs +16 -15
  142. package/fesm2015/mdc-autocomplete.mjs.map +1 -1
  143. package/fesm2015/mdc-button/testing.mjs.map +1 -1
  144. package/fesm2015/mdc-button.mjs +43 -43
  145. package/fesm2015/mdc-button.mjs.map +1 -1
  146. package/fesm2015/mdc-card/testing.mjs.map +1 -1
  147. package/fesm2015/mdc-card.mjs +47 -47
  148. package/fesm2015/mdc-card.mjs.map +1 -1
  149. package/fesm2015/mdc-checkbox/testing.mjs +2 -1
  150. package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
  151. package/fesm2015/mdc-checkbox.mjs +13 -8
  152. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  153. package/fesm2015/mdc-chips/testing.mjs +2 -2
  154. package/fesm2015/mdc-chips/testing.mjs.map +1 -1
  155. package/fesm2015/mdc-chips.mjs +96 -76
  156. package/fesm2015/mdc-chips.mjs.map +1 -1
  157. package/fesm2015/mdc-core/testing.mjs.map +1 -1
  158. package/fesm2015/mdc-core.mjs +12 -12
  159. package/fesm2015/mdc-core.mjs.map +1 -1
  160. package/fesm2015/mdc-dialog/testing.mjs +44 -2
  161. package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
  162. package/fesm2015/mdc-dialog.mjs +45 -29
  163. package/fesm2015/mdc-dialog.mjs.map +1 -1
  164. package/fesm2015/mdc-form-field/testing.mjs +1 -1
  165. package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
  166. package/fesm2015/mdc-form-field.mjs +84 -77
  167. package/fesm2015/mdc-form-field.mjs.map +1 -1
  168. package/fesm2015/mdc-input/testing.mjs.map +1 -1
  169. package/fesm2015/mdc-input.mjs +7 -7
  170. package/fesm2015/mdc-input.mjs.map +1 -1
  171. package/fesm2015/mdc-list/testing.mjs.map +1 -1
  172. package/fesm2015/mdc-list.mjs +74 -63
  173. package/fesm2015/mdc-list.mjs.map +1 -1
  174. package/fesm2015/mdc-menu/testing.mjs.map +1 -1
  175. package/fesm2015/mdc-menu.mjs +21 -21
  176. package/fesm2015/mdc-menu.mjs.map +1 -1
  177. package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
  178. package/fesm2015/mdc-paginator.mjs +13 -13
  179. package/fesm2015/mdc-paginator.mjs.map +1 -1
  180. package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
  181. package/fesm2015/mdc-progress-bar.mjs +11 -8
  182. package/fesm2015/mdc-progress-bar.mjs.map +1 -1
  183. package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
  184. package/fesm2015/mdc-progress-spinner.mjs +11 -8
  185. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  186. package/fesm2015/mdc-radio/testing.mjs +2 -1
  187. package/fesm2015/mdc-radio/testing.mjs.map +1 -1
  188. package/fesm2015/mdc-radio.mjs +12 -11
  189. package/fesm2015/mdc-radio.mjs.map +1 -1
  190. package/fesm2015/mdc-select/testing.mjs.map +1 -1
  191. package/fesm2015/mdc-select.mjs +14 -15
  192. package/fesm2015/mdc-select.mjs.map +1 -1
  193. package/fesm2015/mdc-slide-toggle/testing.mjs +3 -1
  194. package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
  195. package/fesm2015/mdc-slide-toggle.mjs +9 -8
  196. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  197. package/fesm2015/mdc-slider/testing.mjs.map +1 -1
  198. package/fesm2015/mdc-slider.mjs +70 -30
  199. package/fesm2015/mdc-slider.mjs.map +1 -1
  200. package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
  201. package/fesm2015/mdc-snack-bar.mjs +62 -50
  202. package/fesm2015/mdc-snack-bar.mjs.map +1 -1
  203. package/fesm2015/mdc-table/testing.mjs.map +1 -1
  204. package/fesm2015/mdc-table.mjs +58 -58
  205. package/fesm2015/mdc-table.mjs.map +1 -1
  206. package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
  207. package/fesm2015/mdc-tabs.mjs +77 -46
  208. package/fesm2015/mdc-tabs.mjs.map +1 -1
  209. package/fesm2015/mdc-tooltip/testing.mjs +3 -0
  210. package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
  211. package/fesm2015/mdc-tooltip.mjs +60 -41
  212. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  213. package/fesm2015/menubar.mjs +32 -20
  214. package/fesm2015/menubar.mjs.map +1 -1
  215. package/fesm2015/popover-edit.mjs +25 -25
  216. package/fesm2015/popover-edit.mjs.map +1 -1
  217. package/fesm2015/selection.mjs +24 -24
  218. package/fesm2015/selection.mjs.map +1 -1
  219. package/fesm2020/column-resize.mjs +36 -36
  220. package/fesm2020/column-resize.mjs.map +1 -1
  221. package/fesm2020/material-experimental.mjs +1 -1
  222. package/fesm2020/material-experimental.mjs.map +1 -1
  223. package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
  224. package/fesm2020/mdc-autocomplete.mjs +16 -15
  225. package/fesm2020/mdc-autocomplete.mjs.map +1 -1
  226. package/fesm2020/mdc-button/testing.mjs.map +1 -1
  227. package/fesm2020/mdc-button.mjs +43 -43
  228. package/fesm2020/mdc-button.mjs.map +1 -1
  229. package/fesm2020/mdc-card/testing.mjs.map +1 -1
  230. package/fesm2020/mdc-card.mjs +47 -47
  231. package/fesm2020/mdc-card.mjs.map +1 -1
  232. package/fesm2020/mdc-checkbox/testing.mjs +2 -1
  233. package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
  234. package/fesm2020/mdc-checkbox.mjs +13 -8
  235. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  236. package/fesm2020/mdc-chips/testing.mjs +1 -1
  237. package/fesm2020/mdc-chips/testing.mjs.map +1 -1
  238. package/fesm2020/mdc-chips.mjs +96 -76
  239. package/fesm2020/mdc-chips.mjs.map +1 -1
  240. package/fesm2020/mdc-core/testing.mjs.map +1 -1
  241. package/fesm2020/mdc-core.mjs +12 -12
  242. package/fesm2020/mdc-core.mjs.map +1 -1
  243. package/fesm2020/mdc-dialog/testing.mjs +44 -2
  244. package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
  245. package/fesm2020/mdc-dialog.mjs +45 -29
  246. package/fesm2020/mdc-dialog.mjs.map +1 -1
  247. package/fesm2020/mdc-form-field/testing.mjs +1 -1
  248. package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
  249. package/fesm2020/mdc-form-field.mjs +83 -76
  250. package/fesm2020/mdc-form-field.mjs.map +1 -1
  251. package/fesm2020/mdc-input/testing.mjs.map +1 -1
  252. package/fesm2020/mdc-input.mjs +7 -7
  253. package/fesm2020/mdc-input.mjs.map +1 -1
  254. package/fesm2020/mdc-list/testing.mjs.map +1 -1
  255. package/fesm2020/mdc-list.mjs +74 -63
  256. package/fesm2020/mdc-list.mjs.map +1 -1
  257. package/fesm2020/mdc-menu/testing.mjs.map +1 -1
  258. package/fesm2020/mdc-menu.mjs +21 -21
  259. package/fesm2020/mdc-menu.mjs.map +1 -1
  260. package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
  261. package/fesm2020/mdc-paginator.mjs +13 -13
  262. package/fesm2020/mdc-paginator.mjs.map +1 -1
  263. package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
  264. package/fesm2020/mdc-progress-bar.mjs +11 -8
  265. package/fesm2020/mdc-progress-bar.mjs.map +1 -1
  266. package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
  267. package/fesm2020/mdc-progress-spinner.mjs +11 -8
  268. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  269. package/fesm2020/mdc-radio/testing.mjs +2 -1
  270. package/fesm2020/mdc-radio/testing.mjs.map +1 -1
  271. package/fesm2020/mdc-radio.mjs +12 -11
  272. package/fesm2020/mdc-radio.mjs.map +1 -1
  273. package/fesm2020/mdc-select/testing.mjs.map +1 -1
  274. package/fesm2020/mdc-select.mjs +14 -15
  275. package/fesm2020/mdc-select.mjs.map +1 -1
  276. package/fesm2020/mdc-slide-toggle/testing.mjs +3 -1
  277. package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
  278. package/fesm2020/mdc-slide-toggle.mjs +9 -8
  279. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  280. package/fesm2020/mdc-slider/testing.mjs.map +1 -1
  281. package/fesm2020/mdc-slider.mjs +59 -29
  282. package/fesm2020/mdc-slider.mjs.map +1 -1
  283. package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
  284. package/fesm2020/mdc-snack-bar.mjs +62 -50
  285. package/fesm2020/mdc-snack-bar.mjs.map +1 -1
  286. package/fesm2020/mdc-table/testing.mjs.map +1 -1
  287. package/fesm2020/mdc-table.mjs +58 -58
  288. package/fesm2020/mdc-table.mjs.map +1 -1
  289. package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
  290. package/fesm2020/mdc-tabs.mjs +77 -46
  291. package/fesm2020/mdc-tabs.mjs.map +1 -1
  292. package/fesm2020/mdc-tooltip/testing.mjs +3 -0
  293. package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
  294. package/fesm2020/mdc-tooltip.mjs +57 -40
  295. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  296. package/fesm2020/menubar.mjs +31 -20
  297. package/fesm2020/menubar.mjs.map +1 -1
  298. package/fesm2020/popover-edit.mjs +25 -25
  299. package/fesm2020/popover-edit.mjs.map +1 -1
  300. package/fesm2020/selection.mjs +24 -24
  301. package/fesm2020/selection.mjs.map +1 -1
  302. package/mdc-autocomplete/_autocomplete-theme.scss +10 -10
  303. package/mdc-autocomplete/autocomplete-origin.d.ts +1 -1
  304. package/mdc-autocomplete/autocomplete-trigger.d.ts +1 -1
  305. package/mdc-autocomplete/autocomplete.d.ts +1 -1
  306. package/mdc-button/_button-base.scss +4 -3
  307. package/mdc-button/_button-theme-private.scss +0 -1
  308. package/mdc-button/_button-theme.scss +16 -13
  309. package/mdc-button/_fab-theme.scss +10 -10
  310. package/mdc-button/_icon-button-theme.scss +13 -12
  311. package/mdc-button/button-base.d.ts +2 -2
  312. package/mdc-button/button.d.ts +2 -2
  313. package/mdc-button/fab.d.ts +4 -4
  314. package/mdc-button/icon-button.d.ts +2 -2
  315. package/mdc-card/_card-theme.scss +11 -11
  316. package/mdc-card/card.d.ts +14 -14
  317. package/mdc-checkbox/_checkbox-theme.scss +16 -17
  318. package/mdc-checkbox/checkbox.d.ts +1 -1
  319. package/mdc-chips/_chips-theme.scss +20 -15
  320. package/mdc-chips/chip-action.d.ts +2 -2
  321. package/mdc-chips/chip-edit-input.d.ts +1 -1
  322. package/mdc-chips/chip-grid.d.ts +23 -6
  323. package/mdc-chips/chip-icons.d.ts +3 -3
  324. package/mdc-chips/chip-input.d.ts +6 -6
  325. package/mdc-chips/chip-listbox.d.ts +2 -3
  326. package/mdc-chips/chip-option.d.ts +1 -1
  327. package/mdc-chips/chip-row.d.ts +1 -1
  328. package/mdc-chips/chip-set.d.ts +4 -4
  329. package/mdc-chips/chip-text-control.d.ts +2 -0
  330. package/mdc-chips/chip.d.ts +1 -1
  331. package/mdc-chips/testing/public-api.d.ts +1 -0
  332. package/mdc-color/_all-color.scss +4 -3
  333. package/mdc-core/_core-theme.scss +23 -11
  334. package/mdc-core/option/_optgroup-theme.scss +11 -11
  335. package/mdc-core/option/_option-theme.scss +11 -11
  336. package/mdc-core/option/optgroup.d.ts +1 -1
  337. package/mdc-core/option/option.d.ts +1 -1
  338. package/mdc-density/_all-density.scss +4 -3
  339. package/mdc-dialog/_dialog-theme.scss +49 -13
  340. package/mdc-dialog/dialog-container.d.ts +1 -1
  341. package/mdc-dialog/dialog-content-directives.d.ts +8 -4
  342. package/mdc-dialog/dialog.d.ts +6 -1
  343. package/mdc-dialog/testing/dialog-opener.d.ts +18 -0
  344. package/mdc-dialog/testing/public-api.d.ts +1 -0
  345. package/mdc-form-field/_form-field-density.scss +6 -5
  346. package/mdc-form-field/_form-field-focus-overlay.scss +2 -2
  347. package/mdc-form-field/_form-field-high-contrast.scss +17 -8
  348. package/mdc-form-field/_form-field-native-select.scss +5 -4
  349. package/mdc-form-field/_form-field-subscript.scss +5 -3
  350. package/mdc-form-field/_form-field-theme.scss +17 -17
  351. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +2 -2
  352. package/mdc-form-field/directives/error.d.ts +1 -1
  353. package/mdc-form-field/directives/floating-label.d.ts +1 -3
  354. package/mdc-form-field/directives/hint.d.ts +1 -1
  355. package/mdc-form-field/directives/label.d.ts +1 -1
  356. package/mdc-form-field/directives/line-ripple.d.ts +1 -1
  357. package/mdc-form-field/directives/notched-outline.d.ts +1 -1
  358. package/mdc-form-field/directives/prefix.d.ts +1 -1
  359. package/mdc-form-field/directives/suffix.d.ts +1 -1
  360. package/mdc-form-field/form-field.d.ts +24 -12
  361. package/mdc-form-field/testing/public-api.d.ts +1 -1
  362. package/mdc-helpers/_focus-indicators-theme.scss +6 -6
  363. package/mdc-helpers/_focus-indicators.scss +2 -2
  364. package/mdc-helpers/_mdc-helpers.scss +13 -16
  365. package/mdc-input/_input-theme.scss +10 -10
  366. package/mdc-input/input.d.ts +1 -1
  367. package/mdc-list/_interactive-list-theme.scss +2 -2
  368. package/mdc-list/_list-theme.scss +22 -15
  369. package/mdc-list/action-list.d.ts +1 -1
  370. package/mdc-list/interactive-list-base.d.ts +1 -1
  371. package/mdc-list/list-base.d.ts +2 -2
  372. package/mdc-list/list-item-sections.d.ts +6 -6
  373. package/mdc-list/list-option.d.ts +1 -1
  374. package/mdc-list/list.d.ts +6 -2
  375. package/mdc-list/nav-list.d.ts +1 -1
  376. package/mdc-list/selection-list.d.ts +1 -1
  377. package/mdc-list/subheader.d.ts +1 -1
  378. package/mdc-menu/_menu-theme.scss +10 -10
  379. package/mdc-menu/directives.d.ts +2 -2
  380. package/mdc-menu/menu-item.d.ts +1 -1
  381. package/mdc-menu/menu.d.ts +2 -2
  382. package/mdc-paginator/_paginator-theme.scss +20 -23
  383. package/mdc-paginator/paginator.d.ts +1 -1
  384. package/mdc-paginator/public-api.d.ts +1 -1
  385. package/mdc-progress-bar/_progress-bar-theme.scss +8 -7
  386. package/mdc-progress-bar/progress-bar.d.ts +1 -1
  387. package/mdc-progress-spinner/_progress-spinner-theme.scss +8 -7
  388. package/mdc-progress-spinner/progress-spinner.d.ts +1 -1
  389. package/mdc-radio/_radio-theme.scss +16 -16
  390. package/mdc-radio/radio.d.ts +2 -2
  391. package/mdc-select/_select-theme.scss +11 -11
  392. package/mdc-select/select.d.ts +2 -2
  393. package/mdc-slide-toggle/_slide-toggle-theme.scss +14 -15
  394. package/mdc-slide-toggle/slide-toggle.d.ts +1 -1
  395. package/mdc-slider/_slider-theme.scss +11 -12
  396. package/mdc-slider/slider.d.ts +9 -3
  397. package/mdc-snack-bar/_snack-bar-theme.scss +11 -11
  398. package/mdc-snack-bar/simple-snack-bar.d.ts +1 -1
  399. package/mdc-snack-bar/snack-bar-container.d.ts +5 -4
  400. package/mdc-snack-bar/snack-bar-content.d.ts +3 -3
  401. package/mdc-table/_table-theme.scss +14 -21
  402. package/mdc-table/cell.d.ts +7 -7
  403. package/mdc-table/row.d.ts +7 -7
  404. package/mdc-table/table.d.ts +2 -2
  405. package/mdc-table/text-column.d.ts +1 -1
  406. package/mdc-tabs/_tabs-common.scss +14 -4
  407. package/mdc-tabs/_tabs-theme.scss +14 -14
  408. package/mdc-tabs/ink-bar.d.ts +1 -1
  409. package/mdc-tabs/tab-body.d.ts +2 -2
  410. package/mdc-tabs/tab-content.d.ts +1 -1
  411. package/mdc-tabs/tab-group.d.ts +5 -1
  412. package/mdc-tabs/tab-header.d.ts +1 -1
  413. package/mdc-tabs/tab-label-wrapper.d.ts +1 -1
  414. package/mdc-tabs/tab-label.d.ts +1 -1
  415. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +10 -5
  416. package/mdc-tabs/tab.d.ts +1 -1
  417. package/mdc-theming/_all-theme.scss +3 -2
  418. package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
  419. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  420. package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
  421. package/mdc-theming/prebuilt/purple-green.css +1 -1
  422. package/mdc-tooltip/_tooltip-theme.scss +12 -13
  423. package/mdc-tooltip/testing/tooltip-harness.d.ts +3 -0
  424. package/mdc-tooltip/tooltip.d.ts +8 -4
  425. package/mdc-typography/_all-typography.scss +5 -5
  426. package/menubar/menubar-item.d.ts +3 -2
  427. package/menubar/menubar-module.d.ts +1 -1
  428. package/menubar/menubar.d.ts +2 -2
  429. package/package.json +56 -18
  430. package/popover-edit/_popover-edit-theme.scss +23 -26
  431. package/popover-edit/lens-directives.d.ts +3 -3
  432. package/popover-edit/table-directives.d.ts +4 -4
  433. package/selection/_selection.scss +3 -3
  434. package/selection/row-selection.d.ts +1 -1
  435. package/selection/select-all.d.ts +1 -1
  436. package/selection/selection-column.d.ts +1 -1
  437. package/selection/selection-toggle.d.ts +1 -1
  438. package/selection/selection.d.ts +1 -1
  439. package/esm2020/mdc-sidenav/index.mjs +0 -9
  440. package/esm2020/mdc-sidenav/mdc-sidenav_public_index.mjs +0 -5
  441. package/esm2020/mdc-sidenav/module.mjs +0 -23
  442. package/esm2020/mdc-sidenav/public-api.mjs +0 -9
  443. package/fesm2015/mdc-sidenav.mjs +0 -46
  444. package/fesm2015/mdc-sidenav.mjs.map +0 -1
  445. package/fesm2020/mdc-sidenav.mjs +0 -46
  446. package/fesm2020/mdc-sidenav.mjs.map +0 -1
  447. package/mdc-sidenav/_sidenav-theme.import.scss +0 -5
  448. package/mdc-sidenav/_sidenav-theme.scss +0 -28
  449. package/mdc-sidenav/index.d.ts +0 -8
  450. package/mdc-sidenav/mdc-sidenav_public_index.d.ts +0 -4
  451. package/mdc-sidenav/module.d.ts +0 -7
  452. package/mdc-sidenav/package.json +0 -9
  453. package/mdc-sidenav/public-api.d.ts +0 -8
@@ -1,13 +1,13 @@
1
- @use '@material/chips/chip' as mdc-chip;
1
+ @use '@angular/material' as mat;
2
2
  @use '@material/chips/chip-theme' as mdc-chip-theme;
3
3
  @use '@material/chips/chip-set' as mdc-chip-set;
4
4
  @use '@material/theme/theme-color' as mdc-theme-color;
5
5
  @use '@material/theme/color-palette' as mdc-color-palette;
6
+ @use '@material/typography' as mdc-typography;
6
7
  @use 'sass:color';
7
8
  @use 'sass:map';
9
+
8
10
  @use '../mdc-helpers/mdc-helpers';
9
- @use '../../material/core/typography/typography';
10
- @use '../../material/core/theming/theming';
11
11
 
12
12
  // Customizes the appearance of a chip. Note that ideally we would be doing this using the
13
13
  // `theme-styles` mixin, however it has the following problems:
@@ -32,8 +32,8 @@
32
32
  }
33
33
 
34
34
  @mixin _colored-chip($palette) {
35
- $background: theming.get-color-from-palette($palette);
36
- $foreground: theming.get-color-from-palette($palette, default-contrast);
35
+ $background: mat.get-color-from-palette($palette);
36
+ $foreground: mat.get-color-from-palette($palette, default-contrast);
37
37
 
38
38
  &.mat-mdc-chip-selected,
39
39
  &.mat-mdc-chip-highlighted {
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  @mixin color($config-or-theme) {
45
- $config: theming.get-color-config($config-or-theme);
45
+ $config: mat.get-color-config($config-or-theme);
46
46
  $primary: map.get($config, primary);
47
47
  $accent: map.get($config, accent);
48
48
  $warn: map.get($config, warn);
@@ -76,27 +76,32 @@
76
76
  }
77
77
 
78
78
  @mixin typography($config-or-theme) {
79
- $config: typography.private-typography-to-2018-config(
80
- theming.get-typography-config($config-or-theme));
79
+ $config: mat.private-typography-to-2018-config(
80
+ mat.get-typography-config($config-or-theme));
81
81
  @include mdc-chip-set.core-styles($query: mdc-helpers.$mat-typography-styles-query);
82
82
  @include mdc-helpers.mat-using-mdc-typography($config) {
83
- @include mdc-chip.without-ripple-styles($query: mdc-helpers.$mat-typography-styles-query);
83
+ // Note that we don't go through MDC's typography mixin, because it assigns the styles to
84
+ // an inner element which makes it difficult for clients to customize. Instead we apply the
85
+ // same styles ourselves to the root.
86
+ .mat-mdc-standard-chip {
87
+ @include mdc-typography.typography(body2, $query: mdc-helpers.$mat-typography-styles-query);
88
+ }
84
89
  }
85
90
  }
86
91
 
87
92
  @mixin density($config-or-theme) {
88
- $density-scale: theming.get-density-config($config-or-theme);
93
+ $density-scale: mat.get-density-config($config-or-theme);
89
94
  .mat-mdc-chip {
90
95
  @include mdc-chip-theme.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
91
96
  }
92
97
  }
93
98
 
94
99
  @mixin theme($theme-or-color-config) {
95
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
96
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-chips') {
97
- $color: theming.get-color-config($theme);
98
- $density: theming.get-density-config($theme);
99
- $typography: theming.get-typography-config($theme);
100
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
101
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-chips') {
102
+ $color: mat.get-color-config($theme);
103
+ $density: mat.get-density-config($theme);
104
+ $typography: mat.get-typography-config($theme);
100
105
 
101
106
  @if $color != null {
102
107
  @include color($color);
@@ -24,7 +24,7 @@ export declare class MatChipAction extends _MatChipActionMixinBase implements Af
24
24
  private _adapter;
25
25
  /** Whether the action is interactive. */
26
26
  isInteractive: boolean;
27
- _handleClick(_event: MouseEvent): void;
27
+ _handleClick(event: MouseEvent): void;
28
28
  _handleKeydown(event: KeyboardEvent): void;
29
29
  protected _createFoundation(adapter: MDCChipActionAdapter): MDCChipActionFoundation;
30
30
  constructor(_elementRef: ElementRef, _document: any, _changeDetectorRef: ChangeDetectorRef);
@@ -35,6 +35,6 @@ export declare class MatChipAction extends _MatChipActionMixinBase implements Af
35
35
  _getFoundation(): MDCChipActionFoundation;
36
36
  _updateTabindex(value: number): void;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "isInteractive": "isInteractive"; }, {}, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "isInteractive": "isInteractive"; }, {}, never, never, false>;
39
39
  }
40
40
  export {};
@@ -21,5 +21,5 @@ export declare class MatChipEditInput {
21
21
  getValue(): string;
22
22
  private _moveCursorToEndOfInput;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEditInput, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never, never, false>;
25
25
  }
@@ -12,7 +12,7 @@ import { CanUpdateErrorState, ErrorStateMatcher } from '@angular/material-experi
12
12
  import { MatFormFieldControl } from '@angular/material-experimental/mdc-form-field';
13
13
  import { LiveAnnouncer } from '@angular/cdk/a11y';
14
14
  import { MatChipTextControl } from './chip-text-control';
15
- import { Observable } from 'rxjs';
15
+ import { Observable, Subject } from 'rxjs';
16
16
  import { MatChipEvent } from './chip';
17
17
  import { MatChipRow } from './chip-row';
18
18
  import { MatChipSet } from './chip-set';
@@ -37,10 +37,24 @@ declare class MatChipGridBase extends MatChipSet {
37
37
  _defaultErrorStateMatcher: ErrorStateMatcher;
38
38
  _parentForm: NgForm;
39
39
  _parentFormGroup: FormGroupDirective;
40
- /** @docs-private */
40
+ /**
41
+ * Form control bound to the component.
42
+ * Implemented as part of `MatFormFieldControl`.
43
+ * @docs-private
44
+ */
41
45
  ngControl: NgControl;
46
+ /**
47
+ * Emits whenever the component state changes and should cause the parent
48
+ * form-field to update. Implemented as part of `MatFormFieldControl`.
49
+ * @docs-private
50
+ */
51
+ readonly stateChanges: Subject<void>;
42
52
  constructor(liveAnnouncer: LiveAnnouncer, document: any, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, _defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective,
43
- /** @docs-private */
53
+ /**
54
+ * Form control bound to the component.
55
+ * Implemented as part of `MatFormFieldControl`.
56
+ * @docs-private
57
+ */
44
58
  ngControl: NgControl);
45
59
  }
46
60
  declare const _MatChipGridMixinBase: import("@angular/material-experimental/mdc-core")._Constructor<CanUpdateErrorState> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanUpdateErrorState> & typeof MatChipGridBase;
@@ -56,6 +70,11 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
56
70
  readonly controlType: string;
57
71
  /** The chip input to add more chips */
58
72
  protected _chipInput: MatChipTextControl;
73
+ protected _defaultRole: string;
74
+ /**
75
+ * List of element ids to propagate to the chipInput's aria-describedby attribute.
76
+ */
77
+ private _ariaDescribedbyIds;
59
78
  /**
60
79
  * Function when touched. Set as part of ControlValueAccessor implementation.
61
80
  * @docs-private
@@ -82,8 +101,6 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
82
101
  * @docs-private
83
102
  */
84
103
  get empty(): boolean;
85
- /** The ARIA role applied to the chip grid. */
86
- get role(): string | null;
87
104
  /**
88
105
  * Implemented as part of MatFormFieldControl.
89
106
  * @docs-private
@@ -189,6 +206,6 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
189
206
  */
190
207
  private _updateFocusForDestroyedChips;
191
208
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, null, null, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
192
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "tabIndex": "tabIndex"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "value": "value"; "errorStateMatcher": "errorStateMatcher"; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"]>;
209
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "tabIndex": "tabIndex"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "value": "value"; "errorStateMatcher": "errorStateMatcher"; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], false>;
193
210
  }
194
211
  export {};
@@ -21,7 +21,7 @@ export declare const MAT_CHIP_AVATAR: InjectionToken<MatChipAvatar>;
21
21
  */
22
22
  export declare class MatChipAvatar {
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAvatar, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, false>;
25
25
  }
26
26
  /**
27
27
  * Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
@@ -41,7 +41,7 @@ export declare class MatChipTrailingIcon extends MatChipAction {
41
41
  isInteractive: boolean;
42
42
  protected _createFoundation(adapter: MDCChipActionAdapter): MDCChipTrailingActionFoundation;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
44
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never>;
44
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, false>;
45
45
  }
46
46
  /**
47
47
  * Injection token that can be used to reference instances of `MatChipRemove`. It serves as
@@ -69,5 +69,5 @@ export declare class MatChipRemove extends MatChipAction {
69
69
  _handleClick(event: MouseEvent): void;
70
70
  _handleKeydown(event: KeyboardEvent): void;
71
71
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never>;
72
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never, never, false>;
73
73
  }
@@ -22,11 +22,8 @@ export interface MatChipInputEvent {
22
22
  input: HTMLInputElement;
23
23
  /** The value of the input. */
24
24
  value: string;
25
- /**
26
- * Reference to the chip input that emitted the event.
27
- * @breaking-change 13.0.0 This property will be made required.
28
- */
29
- chipInput?: MatChipInput;
25
+ /** Reference to the chip input that emitted the event. */
26
+ chipInput: MatChipInput;
30
27
  }
31
28
  /**
32
29
  * Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
@@ -37,6 +34,8 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
37
34
  private _defaultOptions;
38
35
  /** Used to prevent focus moving to chips while user is holding backspace */
39
36
  private _focusLastChipOnBackspace;
37
+ /** Value for ariaDescribedby property */
38
+ _ariaDescribedby?: string;
40
39
  /** Whether the control is focused. */
41
40
  focused: boolean;
42
41
  _chipGrid: MatChipGrid;
@@ -88,8 +87,9 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
88
87
  focus(): void;
89
88
  /** Clears the input */
90
89
  clear(): void;
90
+ setDescribedByIds(ids: string[]): void;
91
91
  /** Checks whether a keycode is one of the configured separators. */
92
92
  private _isSeparatorKey;
93
93
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
94
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never>;
94
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, false>;
95
95
  }
@@ -46,8 +46,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
46
46
  * @docs-private
47
47
  */
48
48
  _onChange: (value: any) => void;
49
- /** The ARIA role applied to the chip listbox. */
50
- get role(): string | null;
49
+ protected _defaultRole: string;
51
50
  /** Whether the user should be allowed to select multiple chips. */
52
51
  get multiple(): boolean;
53
52
  set multiple(value: BooleanInput);
@@ -149,5 +148,5 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
149
148
  */
150
149
  private _updateFocusForDestroyedChips;
151
150
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, never>;
152
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "tabIndex": "tabIndex"; "multiple": "multiple"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "compareWith": "compareWith"; "required": "required"; "value": "value"; }, { "change": "change"; }, ["_chips"], ["*"]>;
151
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "tabIndex": "tabIndex"; "multiple": "multiple"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "compareWith": "compareWith"; "required": "required"; "value": "value"; }, { "change": "change"; }, ["_chips"], ["*"], false>;
153
152
  }
@@ -77,5 +77,5 @@ export declare class MatChipOption extends MatChip implements OnInit, AfterViewI
77
77
  _hasLeadingGraphic(): import("@angular/material-experimental/mdc-chips").MatChipAvatar;
78
78
  private _setSelectedState;
79
79
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, mat-chip-option", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selectable": "selectable"; "selected": "selected"; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, mat-chip-option", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selectable": "selectable"; "selected": "selected"; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
81
81
  }
@@ -58,5 +58,5 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
58
58
  */
59
59
  private _getEditInput;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, mat-basic-chip-row", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "editable": "editable"; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "*", "[matChipEditInput]", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, mat-basic-chip-row", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "editable": "editable"; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "*", "[matChipEditInput]", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
62
62
  }
@@ -42,6 +42,8 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
42
42
  protected _chipSetFoundation: MDCChipSetFoundation;
43
43
  /** Subject that emits when the component has been destroyed. */
44
44
  protected _destroyed: Subject<void>;
45
+ /** Role to use if it hasn't been overwritten by the user. */
46
+ protected _defaultRole: string;
45
47
  /** Combined stream of all of the child chips' remove events. */
46
48
  get chipDestroyedChanges(): Observable<MatChipEvent>;
47
49
  /**
@@ -49,8 +51,6 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
49
51
  * These methods are called by the chip set foundation.
50
52
  */
51
53
  protected _chipSetAdapter: MDCChipSetAdapter;
52
- /** The aria-describedby attribute on the chip list for improved a11y. */
53
- _ariaDescribedby: string;
54
54
  /**
55
55
  * Map from class to whether the class is enabled.
56
56
  * Enabled classes are set on the MDC chip-set div.
@@ -67,7 +67,7 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
67
67
  /** The ARIA role applied to the chip set. */
68
68
  get role(): string | null;
69
69
  set role(value: string | null);
70
- private _role;
70
+ private _explicitRole;
71
71
  /** Whether any of the chips inside of this chip-set has focus. */
72
72
  get focused(): boolean;
73
73
  /** The chips that are part of this chip set. */
@@ -108,6 +108,6 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
108
108
  private _handleChipInteraction;
109
109
  private _handleChipNavigation;
110
110
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": "disabled"; "role": "role"; }, {}, ["_chips"], ["*"]>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": "disabled"; "role": "role"; }, {}, ["_chips"], ["*"], false>;
112
112
  }
113
113
  export {};
@@ -17,4 +17,6 @@ export interface MatChipTextControl {
17
17
  empty: boolean;
18
18
  /** Focuses the text control. */
19
19
  focus(): void;
20
+ /** Sets the list of ids the input is described by. */
21
+ setDescribedByIds(ids: string[]): void;
20
22
  }
@@ -134,6 +134,6 @@ export declare class MatChip extends _MatChipMixinBase implements AfterViewInit,
134
134
  private _handleTransitionend;
135
135
  private _handleAnimationend;
136
136
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
137
- static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, mat-chip", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "role": "role"; "id": "id"; "ariaLabel": "aria-label"; "disabled": "disabled"; "value": "value"; "removable": "removable"; "highlighted": "highlighted"; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, mat-chip", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "role": "role"; "id": "id"; "ariaLabel": "aria-label"; "disabled": "disabled"; "value": "value"; "removable": "removable"; "highlighted": "highlighted"; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], false>;
138
138
  }
139
139
  export {};
@@ -5,6 +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
+ export * from './chip-avatar-harness';
8
9
  export * from './chip-harness';
9
10
  export * from './chip-harness-filters';
10
11
  export * from './chip-input-harness';
@@ -1,11 +1,12 @@
1
+ @use '@angular/material' as mat;
2
+
1
3
  @use '../mdc-theming/all-theme';
2
- @use '../../material/core/theming/theming';
3
4
 
4
5
  @mixin all-mdc-component-colors($config-or-theme) {
5
6
  // In case a theme object has been passed instead of a configuration for
6
7
  // the color system, extract the color config from the theme object.
7
- $config: if(theming.private-is-theme-object($config-or-theme),
8
- theming.get-color-config($config-or-theme), $config-or-theme);
8
+ $config: if(mat.private-is-theme-object($config-or-theme),
9
+ mat.get-color-config($config-or-theme), $config-or-theme);
9
10
 
10
11
  @if $config == null {
11
12
  @error 'No color configuration specified.';
@@ -1,12 +1,13 @@
1
- @use '../../material/core/theming/theming';
2
- @use '../../material/core/typography/typography';
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
3
4
  @use './option/option-theme';
4
5
  @use './option/optgroup-theme';
5
6
  @use './elevation';
6
7
 
7
8
 
8
9
  @mixin color($config-or-theme) {
9
- $config: theming.get-color-config($config-or-theme);
10
+ $config: mat.get-color-config($config-or-theme);
10
11
 
11
12
  @include option-theme.color($config);
12
13
  @include optgroup-theme.color($config);
@@ -23,19 +24,30 @@
23
24
  @include elevation.private-theme-elevation($zValue, $config);
24
25
  }
25
26
  }
27
+
28
+ // Wrapper element that provides the theme background when the user's content isn't
29
+ // inside of a `mat-sidenav-container`. Note that we need to exclude the ampersand
30
+ // selector in case the mixin is included at the top level.
31
+ .mat-mdc-app-background#{if(&, ', &.mat-mdc-app-background', '')} {
32
+ $background: map.get($config, background);
33
+ $foreground: map.get($config, foreground);
34
+
35
+ background-color: mat.get-color-from-palette($background, background);
36
+ color: mat.get-color-from-palette($foreground, text);
37
+ }
26
38
  }
27
39
  }
28
40
 
29
41
  @mixin typography($config-or-theme) {
30
- $config: typography.private-typography-to-2018-config(
31
- theming.get-typography-config($config-or-theme));
42
+ $config: mat.private-typography-to-2018-config(
43
+ mat.get-typography-config($config-or-theme));
32
44
 
33
45
  @include option-theme.typography($config-or-theme);
34
46
  @include optgroup-theme.typography($config-or-theme);
35
47
  }
36
48
 
37
49
  @mixin density($config-or-theme) {
38
- $density-scale: theming.get-density-config($config-or-theme);
50
+ $density-scale: mat.get-density-config($config-or-theme);
39
51
 
40
52
  @include option-theme.density($density-scale);
41
53
  @include optgroup-theme.density($density-scale);
@@ -43,15 +55,15 @@
43
55
 
44
56
  // Mixin that renders all of the core styles that depend on the theme.
45
57
  @mixin theme($theme-or-color-config) {
46
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
58
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
47
59
 
48
60
  // Wrap the sub-theme includes in the duplicate theme styles mixin. This ensures that
49
61
  // there won't be multiple warnings. e.g. if `mat-mdc-core-theme` reports a warning, then
50
62
  // the imported themes (such as `mat-ripple-theme`) should not report again.
51
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-core') {
52
- $color: theming.get-color-config($theme);
53
- $density: theming.get-density-config($theme);
54
- $typography: theming.get-typography-config($theme);
63
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-core') {
64
+ $color: mat.get-color-config($theme);
65
+ $density: mat.get-density-config($theme);
66
+ $typography: mat.get-typography-config($theme);
55
67
 
56
68
  @if $color != null {
57
69
  @include color($color);
@@ -1,10 +1,10 @@
1
1
  @use '@material/theme/theme' as mdc-theme;
2
+ @use '@angular/material' as mat;
3
+
2
4
  @use '../../mdc-helpers/mdc-helpers';
3
- @use '../../../material/core/theming/theming';
4
- @use '../../../material/core/typography/typography';
5
5
 
6
6
  @mixin color($config-or-theme) {
7
- $config: theming.get-color-config($config-or-theme);
7
+ $config: mat.get-color-config($config-or-theme);
8
8
 
9
9
  @include mdc-helpers.mat-using-mdc-theme($config) {
10
10
  .mat-mdc-optgroup-label {
@@ -16,20 +16,20 @@
16
16
  }
17
17
 
18
18
  @mixin typography($config-or-theme) {
19
- $config: typography.private-typography-to-2018-config(
20
- theming.get-typography-config($config-or-theme));
19
+ $config: mat.private-typography-to-2018-config(
20
+ mat.get-typography-config($config-or-theme));
21
21
  }
22
22
 
23
23
  @mixin density($config-or-theme) {
24
- $density-scale: theming.get-density-config($config-or-theme);
24
+ $density-scale: mat.get-density-config($config-or-theme);
25
25
  }
26
26
 
27
27
  @mixin theme($theme-or-color-config) {
28
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
29
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-optgroup') {
30
- $color: theming.get-color-config($theme);
31
- $density: theming.get-density-config($theme);
32
- $typography: theming.get-typography-config($theme);
28
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
29
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-optgroup') {
30
+ $color: mat.get-color-config($theme);
31
+ $density: mat.get-density-config($theme);
32
+ $typography: mat.get-typography-config($theme);
33
33
 
34
34
  @if $color != null {
35
35
  @include color($color);
@@ -3,12 +3,12 @@
3
3
  @use '@material/list/evolution-mixins' as mdc-list-mixins;
4
4
  @use '@material/typography' as mdc-typography;
5
5
  @use '@material/ripple' as mdc-ripple;
6
+ @use '@angular/material' as mat;
7
+
6
8
  @use '../../mdc-helpers/mdc-helpers';
7
- @use '../../../material/core/theming/theming';
8
- @use '../../../material/core/typography/typography';
9
9
 
10
10
  @mixin color($config-or-theme) {
11
- $config: theming.get-color-config($config-or-theme);
11
+ $config: mat.get-color-config($config-or-theme);
12
12
 
13
13
  @include mdc-helpers.mat-using-mdc-theme($config) {
14
14
  .mat-mdc-option {
@@ -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
 
57
57
  @include mdc-helpers.mat-using-mdc-typography($config) {
58
58
  // MDC uses the `subtitle1` level for list items, but
@@ -64,15 +64,15 @@
64
64
  }
65
65
 
66
66
  @mixin density($config-or-theme) {
67
- $density-scale: theming.get-density-config($config-or-theme);
67
+ $density-scale: mat.get-density-config($config-or-theme);
68
68
  }
69
69
 
70
70
  @mixin theme($theme-or-color-config) {
71
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
72
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-option') {
73
- $color: theming.get-color-config($theme);
74
- $density: theming.get-density-config($theme);
75
- $typography: theming.get-typography-config($theme);
71
+ $theme: mat.private-legacy-get-theme($theme-or-color-config);
72
+ @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-option') {
73
+ $color: mat.get-color-config($theme);
74
+ $density: mat.get-density-config($theme);
75
+ $typography: mat.get-typography-config($theme);
76
76
 
77
77
  @if $color != null {
78
78
  @include color($color);
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class MatOptgroup extends _MatOptgroupBase {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MatOptgroup, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"]>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"], false>;
9
9
  }
@@ -15,5 +15,5 @@ import * as i0 from "@angular/core";
15
15
  export declare class MatOption<T = any> extends _MatOptionBase<T> {
16
16
  constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatOptionParentComponent, group: MatOptgroup);
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"], false>;
19
19
  }
@@ -1,11 +1,12 @@
1
+ @use '@angular/material' as mat;
2
+
1
3
  @use '../mdc-theming/all-theme';
2
- @use '../../material/core/theming/theming';
3
4
 
4
5
  @mixin all-mdc-component-densities($config-or-theme) {
5
6
  // In case a theme object has been passed instead of a configuration for
6
7
  // the density system, extract the density config from the theme object.
7
- $config: if(theming.private-is-theme-object($config-or-theme),
8
- theming.get-density-config($config-or-theme), $config-or-theme);
8
+ $config: if(mat.private-is-theme-object($config-or-theme),
9
+ mat.get-density-config($config-or-theme), $config-or-theme);
9
10
 
10
11
  @if $config == null {
11
12
  @error 'No density configuration specified.';
@@ -1,33 +1,69 @@
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
1
3
  @use '@material/dialog' as mdc-dialog;
4
+ @use '@material/dialog/dialog-theme' as mdc-dialog-theme;
5
+ @use '@material/theme/theme-color' as mdc-theme-color;
6
+ @use '@material/typography' as mdc-typography;
7
+
2
8
  @use '../mdc-helpers/mdc-helpers';
3
- @use '../../material/core/typography/typography';
4
- @use '../../material/core/theming/theming';
5
9
 
6
10
  @mixin color($config-or-theme) {
7
- $config: theming.get-color-config($config-or-theme);
11
+ $config: mat.get-color-config($config-or-theme);
12
+
8
13
  @include mdc-helpers.mat-using-mdc-theme($config) {
9
- @include mdc-dialog.core-styles($query: mdc-helpers.$mat-theme-styles-query);
14
+ .mat-mdc-dialog-container {
15
+ $surface: mdc-theme-color.$surface;
16
+ $on-surface: mdc-theme-color.$on-surface;
17
+ $text-emphasis-high: mdc-theme-color.text-emphasis(high);
18
+ $text-emphasis-medium: mdc-theme-color.text-emphasis(medium);
19
+
20
+ @include mdc-dialog-theme.theme((
21
+ container-color: $surface,
22
+ container-elevation: 24,
23
+ container-shadow-color: $on-surface,
24
+ with-divider-divider-color: rgba($on-surface, mdc-dialog.$scroll-divider-opacity),
25
+ subhead-color: rgba($on-surface, $text-emphasis-high),
26
+ supporting-text-color: rgba($on-surface, $text-emphasis-medium),
27
+ ));
28
+ }
10
29
  }
11
30
  }
12
31
 
13
32
  @mixin typography($config-or-theme) {
14
- $config: typography.private-typography-to-2018-config(
15
- theming.get-typography-config($config-or-theme));
33
+ $config: mat.private-typography-to-2018-config(
34
+ mat.get-typography-config($config-or-theme));
16
35
  @include mdc-helpers.mat-using-mdc-typography($config) {
17
- @include mdc-dialog.core-styles($query: mdc-helpers.$mat-typography-styles-query);
36
+ .mat-mdc-dialog-container {
37
+ $styles: mdc-typography.$styles;
38
+ $headline6: map.get($styles, headline6);
39
+
40
+ @include mdc-dialog-theme.theme((
41
+ subhead-font: map.get($headline6, font-family),
42
+ subhead-line-height: map.get($styles, headline6, line-height),
43
+ subhead-size: map.get($styles, headline6, font-size),
44
+ subhead-weight: map.get($styles, headline6, font-weight),
45
+ subhead-tracking: map.get($styles, headline6, letter-spacing),
46
+
47
+ supporting-text-font: map.get($styles, body1, font-family),
48
+ supporting-text-line-height: map.get($styles, body1, line-height),
49
+ supporting-text-size: map.get($styles, body1, font-size),
50
+ supporting-text-weight: map.get($styles, body1, font-weight),
51
+ supporting-text-tracking: map.get($styles, body1, letter-spacing),
52
+ ));
53
+ }
18
54
  }
19
55
  }
20
56
 
21
57
  @mixin density($config-or-theme) {
22
- $density-scale: theming.get-density-config($config-or-theme);
58
+ $density-scale: mat.get-density-config($config-or-theme);
23
59
  }
24
60
 
25
61
  @mixin theme($theme-or-color-config) {
26
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
27
- @include theming.private-check-duplicate-theme-styles($theme, 'mat-mdc-dialog') {
28
- $color: theming.get-color-config($theme);
29
- $density: theming.get-density-config($theme);
30
- $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-dialog') {
64
+ $color: mat.get-color-config($theme);
65
+ $density: mat.get-density-config($theme);
66
+ $typography: mat.get-typography-config($theme);
31
67
 
32
68
  @if $color != null {
33
69
  @include color($color);
@@ -49,5 +49,5 @@ export declare class MatDialogContainer extends _MatDialogContainerBase implemen
49
49
  private _clearAnimationClasses;
50
50
  private _waitForAnimationToComplete;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, null, { optional: true; }, null, null, null, { optional: true; }, null]>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, false>;
53
53
  }