@angular/material-experimental 14.2.2 → 15.0.0-next.1

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 (624) hide show
  1. package/_index.scss +0 -69
  2. package/column-resize/index.d.ts +7 -7
  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/menubar/menubar-item.mjs +4 -4
  13. package/esm2020/menubar/menubar-module.mjs +5 -5
  14. package/esm2020/menubar/menubar.mjs +4 -4
  15. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  16. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  17. package/esm2020/popover-edit/table-directives.mjs +13 -13
  18. package/esm2020/selection/row-selection.mjs +4 -4
  19. package/esm2020/selection/select-all.mjs +4 -4
  20. package/esm2020/selection/selection-column.mjs +12 -12
  21. package/esm2020/selection/selection-module.mjs +8 -8
  22. package/esm2020/selection/selection-toggle.mjs +4 -4
  23. package/esm2020/selection/selection.mjs +4 -4
  24. package/esm2020/version.mjs +1 -1
  25. package/fesm2015/column-resize.mjs +36 -36
  26. package/fesm2015/column-resize.mjs.map +1 -1
  27. package/fesm2015/material-experimental.mjs +1 -1
  28. package/fesm2015/material-experimental.mjs.map +1 -1
  29. package/fesm2015/menubar.mjs +10 -10
  30. package/fesm2015/menubar.mjs.map +1 -1
  31. package/fesm2015/popover-edit.mjs +25 -25
  32. package/fesm2015/popover-edit.mjs.map +1 -1
  33. package/fesm2015/selection.mjs +29 -29
  34. package/fesm2015/selection.mjs.map +1 -1
  35. package/fesm2020/column-resize.mjs +36 -36
  36. package/fesm2020/column-resize.mjs.map +1 -1
  37. package/fesm2020/material-experimental.mjs +1 -1
  38. package/fesm2020/material-experimental.mjs.map +1 -1
  39. package/fesm2020/menubar.mjs +10 -10
  40. package/fesm2020/menubar.mjs.map +1 -1
  41. package/fesm2020/popover-edit.mjs +25 -25
  42. package/fesm2020/popover-edit.mjs.map +1 -1
  43. package/fesm2020/selection.mjs +29 -29
  44. package/fesm2020/selection.mjs.map +1 -1
  45. package/menubar/index.d.ts +2 -2
  46. package/package.json +55 -422
  47. package/popover-edit/index.d.ts +7 -7
  48. package/selection/index.d.ts +9 -9
  49. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  50. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  51. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  52. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  53. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  54. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  55. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  56. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  57. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  58. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  59. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  60. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  61. package/esm2020/mdc-button/button-base.mjs +0 -152
  62. package/esm2020/mdc-button/button.mjs +0 -69
  63. package/esm2020/mdc-button/fab.mjs +0 -175
  64. package/esm2020/mdc-button/icon-button.mjs +0 -57
  65. package/esm2020/mdc-button/index.mjs +0 -9
  66. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  67. package/esm2020/mdc-button/module.mjs +0 -61
  68. package/esm2020/mdc-button/public-api.mjs +0 -12
  69. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  70. package/esm2020/mdc-button/testing/index.mjs +0 -9
  71. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  72. package/esm2020/mdc-card/card.mjs +0 -261
  73. package/esm2020/mdc-card/index.mjs +0 -9
  74. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  75. package/esm2020/mdc-card/module.mjs +0 -68
  76. package/esm2020/mdc-card/public-api.mjs +0 -10
  77. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  78. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  79. package/esm2020/mdc-card/testing/index.mjs +0 -9
  80. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  81. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  82. package/esm2020/mdc-checkbox/index.mjs +0 -9
  83. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  84. package/esm2020/mdc-checkbox/module.mjs +0 -26
  85. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  86. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  87. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  88. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  89. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  90. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  91. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  92. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  93. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  94. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  95. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  96. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  97. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  98. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  99. package/esm2020/mdc-chips/chip.mjs +0 -287
  100. package/esm2020/mdc-chips/index.mjs +0 -9
  101. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  102. package/esm2020/mdc-chips/module.mjs +0 -87
  103. package/esm2020/mdc-chips/public-api.mjs +0 -20
  104. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  105. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  106. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  107. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  108. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  109. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  110. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  111. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  112. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  113. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  114. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  115. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  116. package/esm2020/mdc-chips/tokens.mjs +0 -33
  117. package/esm2020/mdc-core/index.mjs +0 -9
  118. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  119. package/esm2020/mdc-core/option/index.mjs +0 -30
  120. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  121. package/esm2020/mdc-core/option/option.mjs +0 -52
  122. package/esm2020/mdc-core/public-api.mjs +0 -10
  123. package/esm2020/mdc-core/testing/index.mjs +0 -9
  124. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  125. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  126. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  127. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  128. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  129. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  130. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  131. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  132. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  133. package/esm2020/mdc-dialog/index.mjs +0 -9
  134. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  135. package/esm2020/mdc-dialog/module.mjs +0 -53
  136. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  137. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  138. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  139. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  140. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  141. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  142. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  143. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  144. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  145. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  146. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  147. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  148. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  149. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  150. package/esm2020/mdc-form-field/index.mjs +0 -9
  151. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  152. package/esm2020/mdc-form-field/module.mjs +0 -53
  153. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  154. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  155. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  156. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  157. package/esm2020/mdc-input/index.mjs +0 -9
  158. package/esm2020/mdc-input/input.mjs +0 -55
  159. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  160. package/esm2020/mdc-input/module.mjs +0 -27
  161. package/esm2020/mdc-input/public-api.mjs +0 -11
  162. package/esm2020/mdc-input/testing/index.mjs +0 -9
  163. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  164. package/esm2020/mdc-list/action-list.mjs +0 -31
  165. package/esm2020/mdc-list/index.mjs +0 -9
  166. package/esm2020/mdc-list/list-base.mjs +0 -272
  167. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  168. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  169. package/esm2020/mdc-list/list-option.mjs +0 -253
  170. package/esm2020/mdc-list/list.mjs +0 -82
  171. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  172. package/esm2020/mdc-list/module.mjs +0 -98
  173. package/esm2020/mdc-list/nav-list.mjs +0 -31
  174. package/esm2020/mdc-list/public-api.mjs +0 -18
  175. package/esm2020/mdc-list/selection-list.mjs +0 -338
  176. package/esm2020/mdc-list/subheader.mjs +0 -27
  177. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  178. package/esm2020/mdc-list/testing/index.mjs +0 -9
  179. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  180. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  181. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  182. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  183. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  184. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  185. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  186. package/esm2020/mdc-menu/directives.mjs +0 -38
  187. package/esm2020/mdc-menu/index.mjs +0 -9
  188. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  189. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  190. package/esm2020/mdc-menu/menu.mjs +0 -43
  191. package/esm2020/mdc-menu/module.mjs +0 -44
  192. package/esm2020/mdc-menu/public-api.mjs +0 -13
  193. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  194. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  195. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  196. package/esm2020/mdc-paginator/index.mjs +0 -9
  197. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  198. package/esm2020/mdc-paginator/module.mjs +0 -30
  199. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  200. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  201. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  202. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  203. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  204. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  205. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  206. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  207. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  208. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  209. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  210. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  211. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  212. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  213. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  214. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  215. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  216. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  217. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  218. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  219. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  220. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  221. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  222. package/esm2020/mdc-radio/index.mjs +0 -9
  223. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  224. package/esm2020/mdc-radio/module.mjs +0 -26
  225. package/esm2020/mdc-radio/public-api.mjs +0 -11
  226. package/esm2020/mdc-radio/radio.mjs +0 -111
  227. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  228. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  229. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  230. package/esm2020/mdc-select/index.mjs +0 -9
  231. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  232. package/esm2020/mdc-select/module.mjs +0 -46
  233. package/esm2020/mdc-select/public-api.mjs +0 -12
  234. package/esm2020/mdc-select/select-animations.mjs +0 -38
  235. package/esm2020/mdc-select/select-errors.mjs +0 -35
  236. package/esm2020/mdc-select/select.mjs +0 -172
  237. package/esm2020/mdc-select/testing/index.mjs +0 -9
  238. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  239. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  240. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  241. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  242. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  243. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  244. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  245. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  246. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  247. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  248. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  249. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  250. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  251. package/esm2020/mdc-slider/index.mjs +0 -9
  252. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  253. package/esm2020/mdc-slider/module.mjs +0 -26
  254. package/esm2020/mdc-slider/public-api.mjs +0 -10
  255. package/esm2020/mdc-slider/slider.mjs +0 -1094
  256. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  257. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  258. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  259. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  260. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  261. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  262. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  263. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  264. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  265. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  266. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  267. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  268. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  269. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  270. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  271. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  272. package/esm2020/mdc-table/cell.mjs +0 -141
  273. package/esm2020/mdc-table/index.mjs +0 -9
  274. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  275. package/esm2020/mdc-table/module.mjs +0 -94
  276. package/esm2020/mdc-table/public-api.mjs +0 -14
  277. package/esm2020/mdc-table/row.mjs +0 -143
  278. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  279. package/esm2020/mdc-table/table.mjs +0 -74
  280. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  281. package/esm2020/mdc-table/testing/index.mjs +0 -9
  282. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  283. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  284. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  285. package/esm2020/mdc-table/text-column.mjs +0 -58
  286. package/esm2020/mdc-tabs/index.mjs +0 -9
  287. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  288. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  289. package/esm2020/mdc-tabs/module.mjs +0 -93
  290. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  291. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  292. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  293. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  294. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  295. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  296. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  297. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  298. package/esm2020/mdc-tabs/tab.mjs +0 -34
  299. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  300. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  301. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  302. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  303. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  304. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  305. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  306. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  307. package/esm2020/mdc-tooltip/index.mjs +0 -9
  308. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  309. package/esm2020/mdc-tooltip/module.mjs +0 -31
  310. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  311. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  312. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  313. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  314. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  315. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  316. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  317. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  318. package/fesm2015/mdc-autocomplete.mjs +0 -196
  319. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  320. package/fesm2015/mdc-button/testing.mjs +0 -75
  321. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  322. package/fesm2015/mdc-button.mjs +0 -490
  323. package/fesm2015/mdc-button.mjs.map +0 -1
  324. package/fesm2015/mdc-card/testing.mjs +0 -63
  325. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  326. package/fesm2015/mdc-card.mjs +0 -351
  327. package/fesm2015/mdc-card.mjs.map +0 -1
  328. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  329. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  330. package/fesm2015/mdc-checkbox.mjs +0 -142
  331. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  332. package/fesm2015/mdc-chips/testing.mjs +0 -394
  333. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  334. package/fesm2015/mdc-chips.mjs +0 -2169
  335. package/fesm2015/mdc-chips.mjs.map +0 -1
  336. package/fesm2015/mdc-core/testing.mjs +0 -118
  337. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  338. package/fesm2015/mdc-core.mjs +0 -141
  339. package/fesm2015/mdc-core.mjs.map +0 -1
  340. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  341. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  342. package/fesm2015/mdc-dialog.mjs +0 -500
  343. package/fesm2015/mdc-dialog.mjs.map +0 -1
  344. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  345. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  346. package/fesm2015/mdc-form-field.mjs +0 -1018
  347. package/fesm2015/mdc-form-field.mjs.map +0 -1
  348. package/fesm2015/mdc-input/testing.mjs +0 -18
  349. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  350. package/fesm2015/mdc-input.mjs +0 -103
  351. package/fesm2015/mdc-input.mjs.map +0 -1
  352. package/fesm2015/mdc-list/testing.mjs +0 -574
  353. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  354. package/fesm2015/mdc-list.mjs +0 -1264
  355. package/fesm2015/mdc-list.mjs.map +0 -1
  356. package/fesm2015/mdc-menu/testing.mjs +0 -59
  357. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  358. package/fesm2015/mdc-menu.mjs +0 -174
  359. package/fesm2015/mdc-menu.mjs.map +0 -1
  360. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  361. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  362. package/fesm2015/mdc-paginator.mjs +0 -100
  363. package/fesm2015/mdc-paginator.mjs.map +0 -1
  364. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  365. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  366. package/fesm2015/mdc-progress-bar.mjs +0 -198
  367. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  368. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  369. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  370. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  371. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  372. package/fesm2015/mdc-radio/testing.mjs +0 -63
  373. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  374. package/fesm2015/mdc-radio.mjs +0 -155
  375. package/fesm2015/mdc-radio.mjs.map +0 -1
  376. package/fesm2015/mdc-select/testing.mjs +0 -48
  377. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  378. package/fesm2015/mdc-select.mjs +0 -273
  379. package/fesm2015/mdc-select.mjs.map +0 -1
  380. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  381. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  382. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  383. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  384. package/fesm2015/mdc-slider/testing.mjs +0 -199
  385. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  386. package/fesm2015/mdc-slider.mjs +0 -1212
  387. package/fesm2015/mdc-slider.mjs.map +0 -1
  388. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  389. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  390. package/fesm2015/mdc-snack-bar.mjs +0 -229
  391. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  392. package/fesm2015/mdc-table/testing.mjs +0 -158
  393. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  394. package/fesm2015/mdc-table.mjs +0 -540
  395. package/fesm2015/mdc-table.mjs.map +0 -1
  396. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  397. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  398. package/fesm2015/mdc-tabs.mjs +0 -737
  399. package/fesm2015/mdc-tabs.mjs.map +0 -1
  400. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  401. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  402. package/fesm2015/mdc-tooltip.mjs +0 -206
  403. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  404. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  405. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  406. package/fesm2020/mdc-autocomplete.mjs +0 -196
  407. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  408. package/fesm2020/mdc-button/testing.mjs +0 -69
  409. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  410. package/fesm2020/mdc-button.mjs +0 -510
  411. package/fesm2020/mdc-button.mjs.map +0 -1
  412. package/fesm2020/mdc-card/testing.mjs +0 -69
  413. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  414. package/fesm2020/mdc-card.mjs +0 -349
  415. package/fesm2020/mdc-card.mjs.map +0 -1
  416. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  417. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  418. package/fesm2020/mdc-checkbox.mjs +0 -139
  419. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  420. package/fesm2020/mdc-chips/testing.mjs +0 -395
  421. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  422. package/fesm2020/mdc-chips.mjs +0 -2161
  423. package/fesm2020/mdc-chips.mjs.map +0 -1
  424. package/fesm2020/mdc-core/testing.mjs +0 -129
  425. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  426. package/fesm2020/mdc-core.mjs +0 -139
  427. package/fesm2020/mdc-core.mjs.map +0 -1
  428. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  429. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  430. package/fesm2020/mdc-dialog.mjs +0 -499
  431. package/fesm2020/mdc-dialog.mjs.map +0 -1
  432. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  433. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  434. package/fesm2020/mdc-form-field.mjs +0 -1014
  435. package/fesm2020/mdc-form-field.mjs.map +0 -1
  436. package/fesm2020/mdc-input/testing.mjs +0 -18
  437. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  438. package/fesm2020/mdc-input.mjs +0 -103
  439. package/fesm2020/mdc-input.mjs.map +0 -1
  440. package/fesm2020/mdc-list/testing.mjs +0 -544
  441. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  442. package/fesm2020/mdc-list.mjs +0 -1260
  443. package/fesm2020/mdc-list.mjs.map +0 -1
  444. package/fesm2020/mdc-menu/testing.mjs +0 -65
  445. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  446. package/fesm2020/mdc-menu.mjs +0 -172
  447. package/fesm2020/mdc-menu.mjs.map +0 -1
  448. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  449. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  450. package/fesm2020/mdc-paginator.mjs +0 -98
  451. package/fesm2020/mdc-paginator.mjs.map +0 -1
  452. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  453. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  454. package/fesm2020/mdc-progress-bar.mjs +0 -196
  455. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  456. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  457. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  458. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  459. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  460. package/fesm2020/mdc-radio/testing.mjs +0 -69
  461. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  462. package/fesm2020/mdc-radio.mjs +0 -153
  463. package/fesm2020/mdc-radio.mjs.map +0 -1
  464. package/fesm2020/mdc-select/testing.mjs +0 -56
  465. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  466. package/fesm2020/mdc-select.mjs +0 -273
  467. package/fesm2020/mdc-select.mjs.map +0 -1
  468. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  469. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  470. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  471. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  472. package/fesm2020/mdc-slider/testing.mjs +0 -172
  473. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  474. package/fesm2020/mdc-slider.mjs +0 -1191
  475. package/fesm2020/mdc-slider.mjs.map +0 -1
  476. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  477. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  478. package/fesm2020/mdc-snack-bar.mjs +0 -232
  479. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  480. package/fesm2020/mdc-table/testing.mjs +0 -158
  481. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  482. package/fesm2020/mdc-table.mjs +0 -539
  483. package/fesm2020/mdc-table.mjs.map +0 -1
  484. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  485. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  486. package/fesm2020/mdc-tabs.mjs +0 -723
  487. package/fesm2020/mdc-tabs.mjs.map +0 -1
  488. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  489. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  490. package/fesm2020/mdc-tooltip.mjs +0 -202
  491. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  492. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  493. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  494. package/mdc-autocomplete/index.d.ts +0 -97
  495. package/mdc-autocomplete/testing/index.d.ts +0 -32
  496. package/mdc-button/_button-base.import.scss +0 -4
  497. package/mdc-button/_button-base.scss +0 -95
  498. package/mdc-button/_button-theme-private.scss +0 -62
  499. package/mdc-button/_button-theme.import.scss +0 -16
  500. package/mdc-button/_button-theme.scss +0 -224
  501. package/mdc-button/_fab-theme.scss +0 -90
  502. package/mdc-button/_icon-button-theme.scss +0 -76
  503. package/mdc-button/index.d.ts +0 -216
  504. package/mdc-button/testing/index.d.ts +0 -41
  505. package/mdc-card/_card-theme.import.scss +0 -7
  506. package/mdc-card/_card-theme.scss +0 -74
  507. package/mdc-card/index.d.ts +0 -194
  508. package/mdc-card/testing/index.d.ts +0 -44
  509. package/mdc-checkbox/_checkbox-private.scss +0 -53
  510. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  511. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  512. package/mdc-checkbox/index.d.ts +0 -87
  513. package/mdc-checkbox/testing/index.d.ts +0 -28
  514. package/mdc-chips/_chips-theme.import.scss +0 -8
  515. package/mdc-chips/_chips-theme.scss +0 -117
  516. package/mdc-chips/index.d.ts +0 -979
  517. package/mdc-chips/testing/index.d.ts +0 -232
  518. package/mdc-core/_core-theme.import.scss +0 -10
  519. package/mdc-core/_core-theme.scss +0 -78
  520. package/mdc-core/_elevation.scss +0 -38
  521. package/mdc-core/color/_all-color.scss +0 -25
  522. package/mdc-core/density/_all-density.scss +0 -25
  523. package/mdc-core/index.d.ts +0 -206
  524. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  525. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  526. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  527. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  528. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  529. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  530. package/mdc-core/option/_optgroup-theme.scss +0 -44
  531. package/mdc-core/option/_option-theme.import.scss +0 -7
  532. package/mdc-core/option/_option-theme.scss +0 -87
  533. package/mdc-core/testing/index.d.ts +0 -64
  534. package/mdc-core/theming/_all-theme.scss +0 -61
  535. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  536. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  537. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  538. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  539. package/mdc-core/typography/_all-typography.scss +0 -99
  540. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  541. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  542. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  543. package/mdc-dialog/_dialog-theme.scss +0 -78
  544. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  545. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  546. package/mdc-dialog/index.d.ts +0 -217
  547. package/mdc-dialog/testing/index.d.ts +0 -47
  548. package/mdc-form-field/_form-field-density.scss +0 -119
  549. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  550. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  551. package/mdc-form-field/_form-field-native-select.scss +0 -133
  552. package/mdc-form-field/_form-field-sizing.scss +0 -40
  553. package/mdc-form-field/_form-field-subscript.scss +0 -83
  554. package/mdc-form-field/_form-field-theme.scss +0 -148
  555. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  556. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  557. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  558. package/mdc-form-field/index.d.ts +0 -431
  559. package/mdc-form-field/testing/index.d.ts +0 -48
  560. package/mdc-input/_input-theme.import.scss +0 -5
  561. package/mdc-input/_input-theme.scss +0 -35
  562. package/mdc-input/index.d.ts +0 -30
  563. package/mdc-input/testing/index.d.ts +0 -20
  564. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  565. package/mdc-list/_interactive-list-theme.scss +0 -40
  566. package/mdc-list/_list-option-theme.import.scss +0 -13
  567. package/mdc-list/_list-option-theme.scss +0 -28
  568. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  569. package/mdc-list/_list-theme.import.scss +0 -17
  570. package/mdc-list/_list-theme.scss +0 -81
  571. package/mdc-list/index.d.ts +0 -534
  572. package/mdc-list/testing/index.d.ts +0 -372
  573. package/mdc-menu/_menu-theme.import.scss +0 -5
  574. package/mdc-menu/_menu-theme.scss +0 -88
  575. package/mdc-menu/index.d.ts +0 -110
  576. package/mdc-menu/testing/index.d.ts +0 -38
  577. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  578. package/mdc-paginator/_paginator-theme.scss +0 -106
  579. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  580. package/mdc-paginator/_paginator-variables.scss +0 -13
  581. package/mdc-paginator/index.d.ts +0 -72
  582. package/mdc-paginator/testing/index.d.ts +0 -30
  583. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  584. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  585. package/mdc-progress-bar/index.d.ts +0 -98
  586. package/mdc-progress-bar/testing/index.d.ts +0 -24
  587. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  588. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  589. package/mdc-progress-spinner/index.d.ts +0 -90
  590. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  591. package/mdc-radio/_radio-theme.import.scss +0 -7
  592. package/mdc-radio/_radio-theme.scss +0 -110
  593. package/mdc-radio/index.d.ts +0 -72
  594. package/mdc-radio/testing/index.d.ts +0 -43
  595. package/mdc-select/_select-theme.import.scss +0 -10
  596. package/mdc-select/_select-theme.scss +0 -100
  597. package/mdc-select/index.d.ts +0 -111
  598. package/mdc-select/testing/index.d.ts +0 -28
  599. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  600. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  601. package/mdc-slide-toggle/index.d.ts +0 -83
  602. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  603. package/mdc-slider/_slider-theme.import.scss +0 -5
  604. package/mdc-slider/_slider-theme.scss +0 -125
  605. package/mdc-slider/index.d.ts +0 -435
  606. package/mdc-slider/testing/index.d.ts +0 -92
  607. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  608. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  609. package/mdc-snack-bar/index.d.ts +0 -136
  610. package/mdc-snack-bar/testing/index.d.ts +0 -23
  611. package/mdc-table/_table-theme.import.scss +0 -11
  612. package/mdc-table/_table-theme.scss +0 -78
  613. package/mdc-table/index.d.ts +0 -238
  614. package/mdc-table/testing/index.d.ts +0 -118
  615. package/mdc-tabs/_tabs-common.import.scss +0 -14
  616. package/mdc-tabs/_tabs-common.scss +0 -196
  617. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  618. package/mdc-tabs/_tabs-theme.scss +0 -146
  619. package/mdc-tabs/index.d.ts +0 -307
  620. package/mdc-tabs/testing/index.d.ts +0 -151
  621. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  622. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  623. package/mdc-tooltip/index.d.ts +0 -118
  624. package/mdc-tooltip/testing/index.d.ts +0 -26
@@ -1,32 +0,0 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- import { ComponentHarnessConstructor } from '@angular/cdk/testing';
3
- import { HarnessPredicate } from '@angular/cdk/testing';
4
- import { _MatAutocompleteHarnessBase } from '@angular/material/autocomplete/testing';
5
- import { MatOptgroupHarness } from '@angular/material-experimental/mdc-core/testing';
6
- import { MatOptionHarness } from '@angular/material-experimental/mdc-core/testing';
7
- import { OptgroupHarnessFilters } from '@angular/material-experimental/mdc-core/testing';
8
- import { OptionHarnessFilters } from '@angular/material-experimental/mdc-core/testing';
9
-
10
- /** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */
11
- export declare interface AutocompleteHarnessFilters extends BaseHarnessFilters {
12
- /** Only find instances whose associated input element matches the given value. */
13
- value?: string | RegExp;
14
- }
15
-
16
- /** Harness for interacting with an MDC-based mat-autocomplete in tests. */
17
- export declare class MatAutocompleteHarness extends _MatAutocompleteHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
18
- protected _prefix: string;
19
- protected _optionClass: typeof MatOptionHarness;
20
- protected _optionGroupClass: typeof MatOptgroupHarness;
21
- /** The selector for the host element of a `MatAutocomplete` instance. */
22
- static hostSelector: string;
23
- /**
24
- * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific
25
- * attributes.
26
- * @param options Options for filtering which autocomplete instances are considered a match.
27
- * @return a `HarnessPredicate` configured with the given options.
28
- */
29
- static with<T extends MatAutocompleteHarness>(this: ComponentHarnessConstructor<T>, options?: AutocompleteHarnessFilters): HarnessPredicate<T>;
30
- }
31
-
32
- export { }
@@ -1,4 +0,0 @@
1
- @forward '../../material/core/style/layout-common.import';
2
- @forward 'button-base';
3
-
4
- @import '../../material/core/style/layout-common';
@@ -1,95 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '@material/touch-target' as mdc-touch-target;
4
-
5
- @use '../mdc-core/mdc-helpers/mdc-helpers';
6
-
7
- // Adds styles necessary to provide stateful interactions with the button. This includes providing
8
- // content for the state container's ::before and ::after so that they can be given a background
9
- // color and opacity for states like hover, active, and focus. Additionally, adds styles to the
10
- // ripple and state container so that they fill the button, match the border radius, and avoid
11
- // pointer events.
12
- @mixin mat-private-button-interactive() {
13
- // The ripple container should match the bounds of the entire button.
14
- .mat-mdc-button-ripple,
15
- .mat-mdc-button-persistent-ripple,
16
- .mat-mdc-button-persistent-ripple::before {
17
- @include mat.private-fill;
18
-
19
- // Disable pointer events for the ripple container and state overlay because the container
20
- // will overlay the user content and we don't want to disable mouse events on the user content.
21
- // Pointer events can be safely disabled because the ripple trigger element is the host element.
22
- pointer-events: none;
23
-
24
- // Inherit the border radius from the parent so that state overlay and ripples don't exceed the
25
- // parent button boundaries. Note that an inherited border radius does not work properly if
26
- // the actual button element does have a border because it causes the inner content to be
27
- // smaller. We have special logic for stroked buttons to handle this scenario.
28
- border-radius: inherit;
29
- }
30
-
31
- // We use ::before so that we can reuse some of MDC's theming.
32
- .mat-mdc-button-persistent-ripple::before {
33
- content: '';
34
- opacity: 0;
35
- background-color: var(--mat-mdc-button-persistent-ripple-color);
36
- }
37
-
38
- .mat-ripple-element {
39
- background-color: var(--mat-mdc-button-ripple-color);
40
- }
41
-
42
- // The content should appear over the state and ripple layers, otherwise they may adversely affect
43
- // the accessibility of the text content.
44
- .mdc-button__label {
45
- z-index: 1;
46
- }
47
-
48
- // The focus indicator should match the bounds of the entire button.
49
- .mat-mdc-focus-indicator {
50
- @include mat.private-fill();
51
- }
52
-
53
- &:focus .mat-mdc-focus-indicator::before {
54
- content: '';
55
- }
56
- }
57
-
58
- // MDC's disabled buttons define a default cursor with pointer-events none. However, they select
59
- // :disabled for this, which does not affect anchor tags.
60
- // TODO(andrewseguin): Discuss with the MDC team about a mixin we can call for applying this style,
61
- // and note that having pointer-events may have unintended side-effects, e.g. allowing the user
62
- // to click the target underneath the button.
63
- @mixin mat-private-button-disabled() {
64
- &[disabled] {
65
- cursor: default;
66
- pointer-events: none;
67
- @content;
68
- }
69
- }
70
-
71
- @mixin mat-private-button-touch-target($is-square) {
72
- // Element used to ensure that the button has a touch target that meets the required minimum.
73
- // Note that we use this, instead of MDC's built-in `mdc-button--touch` class, because the MDC
74
- // class is implemented as `margin-top: 6px; margin-bottom: 6px` on the host element which
75
- // goes against our rule of not having margins on the host node. Furthermore, having the margin on
76
- // the button itself would require us to wrap it in another div. See:
77
- // https://github.com/material-components/material-components-web/tree/master/packages/mdc-button#making-buttons-accessible
78
- .mat-mdc-button-touch-target {
79
- @include mdc-touch-target.touch-target(
80
- $set-width: $is-square,
81
- $query: mdc-helpers.$mat-base-styles-query);
82
- }
83
- }
84
-
85
- // Changes a button theme to exclude the ripple styles.
86
- @function mat-private-button-remove-ripple($theme) {
87
- @return map.merge($theme, (
88
- focus-state-layer-color: null,
89
- focus-state-layer-opacity: null,
90
- hover-state-layer-color: null,
91
- hover-state-layer-opacity: null,
92
- pressed-state-layer-color: null,
93
- pressed-state-layer-opacity: null,
94
- ));
95
- }
@@ -1,62 +0,0 @@
1
- @use 'sass:map';
2
- @use '@material/ripple/ripple-theme' as mdc-ripple-theme;
3
- @use '@material/theme/theme-color' as mdc-theme-color;
4
- @use '../mdc-core/mdc-helpers/mdc-helpers';
5
-
6
- @mixin _ripple-color($color) {
7
- --mat-mdc-button-persistent-ripple-color: #{$color};
8
- --mat-mdc-button-ripple-color: #{rgba($color, 0.1)};
9
- }
10
-
11
- @mixin ripple-theme-styles($config, $is-filled) {
12
- $opacities: if(map.get($config, is-dark),
13
- mdc-ripple-theme.$light-ink-opacities, mdc-ripple-theme.$dark-ink-opacities);
14
-
15
- // Ideally these styles would be structural, but MDC bases some of the opacities on the theme.
16
- &:hover .mat-mdc-button-persistent-ripple::before {
17
- opacity: map.get($opacities, hover);
18
- }
19
-
20
- &:focus .mat-mdc-button-persistent-ripple::before {
21
- opacity: map.get($opacities, focus);
22
- }
23
-
24
- &:active .mat-mdc-button-persistent-ripple::before {
25
- opacity: map.get($opacities, press);
26
- }
27
-
28
- @include _ripple-color(mdc-theme-color.prop-value(on-surface));
29
-
30
- &.mat-primary {
31
- @include _ripple-color(mdc-theme-color.prop-value(if($is-filled, on-primary, primary)));
32
- }
33
-
34
- &.mat-accent {
35
- @include _ripple-color(mdc-theme-color.prop-value(if($is-filled, on-secondary, secondary)));
36
- }
37
-
38
- &.mat-warn {
39
- @include _ripple-color(mdc-theme-color.prop-value(if($is-filled, on-error, error)));
40
- }
41
- }
42
-
43
- // Wraps the content style in a selector for the disabled state.
44
- // MDC adds theme color by using :not(:disabled), so just using [disabled] once will not
45
- // override this, neither will it apply to anchor tags. This needs to override the
46
- // previously set theme color, so it must be ordered after the theme styles.
47
- // TODO(andrewseguin): Discuss with the MDC team to see if we can avoid the :not(:disabled) by
48
- // manually styling disabled buttons with a [disabled] selector.
49
- @mixin apply-disabled-style() {
50
- &[disabled][disabled] {
51
- @content;
52
- }
53
- }
54
-
55
- // Hides the touch target on lower densities.
56
- @mixin touch-target-density($scale) {
57
- @include mdc-helpers.if-touch-targets-unsupported($scale) {
58
- .mat-mdc-button-touch-target {
59
- display: none;
60
- }
61
- }
62
- }
@@ -1,16 +0,0 @@
1
- @forward '../mdc-core/mdc-helpers/mdc-helpers.import';
2
- @forward '../../material/core/ripple/ripple.import';
3
- @forward '../mdc-core/mdc-helpers/mdc-helpers';
4
- @forward 'button-theme' hide color, density, theme, typography;
5
- @forward 'button-theme' as mat-mdc-* hide $mat-mdc-mat-button-state-target, mat-mdc-color,
6
- mat-mdc-density, mat-mdc-mat-button-apply-disabled-style, mat-mdc-mat-button-disabled-background,
7
- mat-mdc-mat-button-disabled-color, mat-mdc-mat-button-ripple-ink-color, mat-mdc-theme,
8
- mat-mdc-typography;
9
- @forward 'button-theme' as mat-mdc-button-* hide $mat-mdc-button-mat-button-state-target,
10
- mat-mdc-button-mat-button-apply-disabled-style, mat-mdc-button-mat-button-disabled-background,
11
- mat-mdc-button-mat-button-disabled-color, mat-mdc-button-mat-button-ripple-ink-color;
12
- @forward 'fab-theme' as mat-mdc-fab-*;
13
- @forward 'icon-button-theme' as mat-mdc-icon-button-*;
14
-
15
- @import '../../material/core/ripple/ripple';
16
- @import '../mdc-core/mdc-helpers/mdc-helpers';
@@ -1,224 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '@material/button/button' as mdc-button;
4
- @use '@material/button/button-theme' as mdc-button-theme;
5
- @use '@material/button/button-text-theme' as mdc-button-text-theme;
6
- @use '@material/button/button-filled-theme' as mdc-button-filled-theme;
7
- @use '@material/button/button-protected-theme' as mdc-button-protected-theme;
8
- @use '@material/button/button-outlined-theme' as mdc-button-outlined-theme;
9
- @use '@material/theme/theme-color' as mdc-theme-color;
10
-
11
- @use '../mdc-core/mdc-helpers/mdc-helpers';
12
- @use './button-theme-private';
13
-
14
- @mixin _button-variant($color) {
15
- @include mdc-button-text-theme.theme((
16
- label-text-color: $color,
17
- ));
18
- }
19
-
20
- @mixin _unelevated-button-variant($foreground, $background) {
21
- @include mdc-button-filled-theme.theme((
22
- container-color: $background,
23
- label-text-color: $foreground,
24
- ));
25
- }
26
-
27
- @mixin _raised-button-variant($foreground, $background) {
28
- @include mdc-button-protected-theme.theme((
29
- container-color: $background,
30
- label-text-color: $foreground,
31
- ));
32
- }
33
-
34
- @mixin _outlined-button-variant($color) {
35
- @include mdc-button-outlined-theme.theme((
36
- label-text-color: $color,
37
- ));
38
- }
39
-
40
- @mixin color($config-or-theme) {
41
- $config: mat.get-color-config($config-or-theme);
42
- @include mdc-helpers.mat-using-mdc-theme($config) {
43
- $is-dark: map.get($config, is-dark);
44
- $on-surface: mdc-theme-color.prop-value(on-surface);
45
- $surface: mdc-theme-color.prop-value(surface);
46
- $disabled-ink-color: rgba($on-surface, if($is-dark, 0.5, 0.38));
47
- $disabled-container-color: rgba($on-surface, 0.12);
48
- $primary: mdc-theme-color.prop-value(primary);
49
- $on-primary: mdc-theme-color.prop-value(on-primary);
50
- $secondary: mdc-theme-color.prop-value(secondary);
51
- $on-secondary: mdc-theme-color.prop-value(on-secondary);
52
- $error: mdc-theme-color.prop-value(error);
53
- $on-error: mdc-theme-color.prop-value(on-error);
54
-
55
- .mat-mdc-button {
56
- &.mat-unthemed {
57
- @include _button-variant($on-surface);
58
- }
59
-
60
- &.mat-primary {
61
- @include _button-variant($primary);
62
- }
63
-
64
- &.mat-accent {
65
- @include _button-variant($secondary);
66
- }
67
-
68
- &.mat-warn {
69
- @include _button-variant($error);
70
- }
71
-
72
- @include button-theme-private.apply-disabled-style() {
73
- @include mdc-button-text-theme.theme((
74
- // We need to pass both the disabled and enabled values, because the enabled
75
- // ones apply to anchors while the disabled ones are for buttons.
76
- disabled-label-text-color: $disabled-ink-color,
77
- label-text-color: $disabled-ink-color
78
- ));
79
- }
80
- }
81
-
82
- .mat-mdc-unelevated-button {
83
- &.mat-unthemed {
84
- @include _unelevated-button-variant($on-surface, $surface);
85
- }
86
-
87
- &.mat-primary {
88
- @include _unelevated-button-variant($on-primary, $primary);
89
- }
90
-
91
- &.mat-accent {
92
- @include _unelevated-button-variant($on-secondary, $secondary);
93
- }
94
-
95
- &.mat-warn {
96
- @include _unelevated-button-variant($on-error, $error);
97
- }
98
-
99
- @include button-theme-private.apply-disabled-style() {
100
- @include mdc-button-filled-theme.theme((
101
- // We need to pass both the disabled and enabled values, because the enabled
102
- // ones apply to anchors while the disabled ones are for buttons.
103
- disabled-container-color: $disabled-container-color,
104
- disabled-label-text-color: $disabled-ink-color,
105
- container-color: $disabled-container-color,
106
- label-text-color: $disabled-ink-color,
107
- ));
108
- }
109
- }
110
-
111
- .mat-mdc-raised-button {
112
- &.mat-unthemed {
113
- @include _raised-button-variant($on-surface, $surface);
114
- }
115
-
116
- &.mat-primary {
117
- @include _raised-button-variant($on-primary, $primary);
118
- }
119
-
120
- &.mat-accent {
121
- @include _raised-button-variant($on-secondary, $secondary);
122
- }
123
-
124
- &.mat-warn {
125
- @include _raised-button-variant($on-error, $error);
126
- }
127
-
128
- @include button-theme-private.apply-disabled-style() {
129
- @include mdc-button-protected-theme.theme((
130
- // We need to pass both the disabled and enabled values, because the enabled
131
- // ones apply to anchors while the disabled ones are for buttons.
132
- disabled-container-color: $disabled-container-color,
133
- disabled-label-text-color: $disabled-ink-color,
134
- container-color: $disabled-container-color,
135
- label-text-color: $disabled-ink-color,
136
- container-elevation: 0,
137
- ));
138
- }
139
- }
140
-
141
- .mat-mdc-outlined-button {
142
- @include mdc-button-outlined-theme.theme((
143
- outline-color: rgba(mdc-theme-color.prop-value(on-surface), 0.12)
144
- ));
145
-
146
- &.mat-unthemed {
147
- @include _outlined-button-variant($on-surface);
148
- }
149
-
150
- &.mat-primary {
151
- @include _outlined-button-variant($primary);
152
- }
153
-
154
- &.mat-accent {
155
- @include _outlined-button-variant($secondary);
156
- }
157
-
158
- &.mat-warn {
159
- @include _outlined-button-variant($error);
160
- }
161
-
162
- @include button-theme-private.apply-disabled-style() {
163
- @include mdc-button-outlined-theme.theme((
164
- // We need to pass both the disabled and enabled values, because the enabled
165
- // ones apply to anchors while the disabled ones are for buttons.
166
- label-text-color: $disabled-ink-color,
167
- disabled-label-text-color: $disabled-ink-color,
168
- outline-color: rgba($on-surface, 0.12),
169
- disabled-outline-color: rgba($on-surface, 0.12),
170
- ));
171
- }
172
- }
173
-
174
- // Ripple colors
175
- .mat-mdc-button, .mat-mdc-outlined-button {
176
- @include button-theme-private.ripple-theme-styles($config, false);
177
- }
178
-
179
- .mat-mdc-raised-button, .mat-mdc-unelevated-button {
180
- @include button-theme-private.ripple-theme-styles($config, true);
181
- }
182
- }
183
- }
184
-
185
- @mixin typography($config-or-theme) {
186
- $config: mat.private-typography-to-2018-config(
187
- mat.get-typography-config($config-or-theme));
188
- @include mdc-helpers.mat-using-mdc-typography($config) {
189
- @include mdc-button.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
190
- }
191
- }
192
-
193
- @mixin density($config-or-theme) {
194
- $density-scale: mat.get-density-config($config-or-theme);
195
- .mat-mdc-button,
196
- .mat-mdc-raised-button,
197
- .mat-mdc-unelevated-button,
198
- .mat-mdc-outlined-button {
199
- // Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
200
- &.mat-mdc-button-base {
201
- @include mdc-button-theme.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
202
- @include button-theme-private.touch-target-density($density-scale);
203
- }
204
- }
205
- }
206
-
207
- @mixin theme($theme-or-color-config) {
208
- $theme: mat.private-legacy-get-theme($theme-or-color-config);
209
- @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-button') {
210
- $color: mat.get-color-config($theme);
211
- $density: mat.get-density-config($theme);
212
- $typography: mat.get-typography-config($theme);
213
-
214
- @if $color != null {
215
- @include color($color);
216
- }
217
- @if $density != null {
218
- @include density($density);
219
- }
220
- @if $typography != null {
221
- @include typography($typography);
222
- }
223
- }
224
- }
@@ -1,90 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '@material/fab/fab' as mdc-fab;
4
- @use '@material/fab/fab-theme' as mdc-fab-theme;
5
- @use '@material/theme/theme-color' as mdc-theme-color;
6
-
7
- @use '../mdc-core/mdc-helpers/mdc-helpers';
8
- @use './button-theme-private';
9
-
10
- @mixin _fab-variant($foreground, $background) {
11
- @include mdc-fab-theme.theme((
12
- container-color: $background,
13
- icon-color: $foreground,
14
- ));
15
-
16
- --mat-mdc-fab-color: #{$foreground};
17
- }
18
-
19
- @mixin color($config-or-theme) {
20
- $config: mat.get-color-config($config-or-theme);
21
- @include mdc-helpers.mat-using-mdc-theme($config) {
22
- $on-surface: mdc-theme-color.prop-value(on-surface);
23
- $is-dark: map.get($config, is-dark);
24
-
25
- .mat-mdc-fab, .mat-mdc-mini-fab {
26
- @include button-theme-private.ripple-theme-styles($config, true);
27
-
28
- &.mat-unthemed {
29
- @include _fab-variant($on-surface, mdc-theme-color.prop-value(surface));
30
- }
31
-
32
- &.mat-primary {
33
- @include _fab-variant(
34
- mdc-theme-color.prop-value(on-primary),
35
- mdc-theme-color.prop-value(primary)
36
- );
37
- }
38
-
39
- &.mat-accent {
40
- @include _fab-variant(
41
- mdc-theme-color.prop-value(on-secondary),
42
- mdc-theme-color.prop-value(secondary)
43
- );
44
- }
45
-
46
- &.mat-warn {
47
- @include _fab-variant(
48
- mdc-theme-color.prop-value(on-error),
49
- mdc-theme-color.prop-value(error)
50
- );
51
- }
52
-
53
- @include button-theme-private.apply-disabled-style() {
54
- @include _fab-variant(
55
- rgba($on-surface, if(map.get($config, is-dark), 0.5, 0.38)),
56
- rgba($on-surface, 0.12)
57
- );
58
- }
59
- }
60
- }
61
- }
62
-
63
- @mixin typography($config-or-theme) {
64
- $config: mat.private-typography-to-2018-config(
65
- mat.get-typography-config($config-or-theme));
66
- @include mdc-helpers.mat-using-mdc-typography($config) {
67
- @include mdc-fab.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
68
- }
69
- }
70
-
71
- @mixin density($config-or-theme) {}
72
-
73
- @mixin theme($theme-or-color-config) {
74
- $theme: mat.private-legacy-get-theme($theme-or-color-config);
75
- @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-fab') {
76
- $color: mat.get-color-config($theme);
77
- $density: mat.get-density-config($theme);
78
- $typography: mat.get-typography-config($theme);
79
-
80
- @if $color != null {
81
- @include color($color);
82
- }
83
- @if $density != null {
84
- @include density($density);
85
- }
86
- @if $typography != null {
87
- @include typography($typography);
88
- }
89
- }
90
- }
@@ -1,76 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '@material/icon-button/mixins' as mdc-icon-button;
4
- @use '@material/icon-button/icon-button-theme' as mdc-icon-button-theme;
5
- @use '@material/theme/theme-color' as mdc-theme-color;
6
-
7
- @use '../mdc-core/mdc-helpers/mdc-helpers';
8
- @use './button-theme-private';
9
-
10
- @mixin color($config-or-theme) {
11
- $config: mat.get-color-config($config-or-theme);
12
- @include mdc-helpers.mat-using-mdc-theme($config) {
13
- $is-dark: map.get($config, is-dark);
14
- $on-surface: mdc-theme-color.prop-value(on-surface);
15
- $disabled-color: rgba($on-surface, if($is-dark, 0.5, 0.38));
16
-
17
- .mat-mdc-icon-button {
18
- @include button-theme-private.ripple-theme-styles($config, false);
19
-
20
- &.mat-primary {
21
- @include mdc-icon-button-theme.theme((icon-color: mdc-theme-color.prop-value(primary)));
22
- }
23
-
24
- &.mat-accent {
25
- @include mdc-icon-button-theme.theme((icon-color: mdc-theme-color.prop-value(secondary)));
26
- }
27
-
28
- &.mat-warn {
29
- @include mdc-icon-button-theme.theme((icon-color: (mdc-theme-color.prop-value(error))));
30
- }
31
-
32
- @include button-theme-private.apply-disabled-style() {
33
- @include mdc-icon-button-theme.theme((
34
- icon-color: $disabled-color,
35
- disabled-icon-color: $disabled-color,
36
- ));
37
- }
38
- }
39
- }
40
- }
41
-
42
- @mixin typography($config-or-theme) {
43
- $config: mat.private-typography-to-2018-config(
44
- mat.get-typography-config($config-or-theme));
45
- @include mdc-helpers.mat-using-mdc-typography($config) {
46
- @include mdc-icon-button.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
47
- }
48
- }
49
-
50
- @mixin density($config-or-theme) {
51
- $density-scale: mat.get-density-config($config-or-theme);
52
- // Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
53
- .mat-mdc-icon-button.mat-mdc-button-base {
54
- @include mdc-icon-button.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
55
- @include button-theme-private.touch-target-density($density-scale);
56
- }
57
- }
58
-
59
- @mixin theme($theme-or-color-config) {
60
- $theme: mat.private-legacy-get-theme($theme-or-color-config);
61
- @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-icon-button') {
62
- $color: mat.get-color-config($theme);
63
- $density: mat.get-density-config($theme);
64
- $typography: mat.get-typography-config($theme);
65
-
66
- @if $color != null {
67
- @include color($color);
68
- }
69
- @if $density != null {
70
- @include density($density);
71
- }
72
- @if $typography != null {
73
- @include typography($typography);
74
- }
75
- }
76
- }