@angular/material-experimental 14.2.0-rc.0 → 15.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. package/_index.scss +0 -69
  2. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  3. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
  4. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
  6. package/esm2020/column-resize/column-resize-module.mjs +12 -12
  7. package/esm2020/column-resize/overlay-handle.mjs +3 -3
  8. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
  9. package/esm2020/column-resize/resizable-directives/resizable.mjs +3 -3
  10. package/esm2020/column-resize/resize-strategy.mjs +3 -3
  11. package/esm2020/menubar/menubar-item.mjs +3 -3
  12. package/esm2020/menubar/menubar-module.mjs +4 -4
  13. package/esm2020/menubar/menubar.mjs +3 -3
  14. package/esm2020/popover-edit/lens-directives.mjs +9 -9
  15. package/esm2020/popover-edit/popover-edit-module.mjs +4 -4
  16. package/esm2020/popover-edit/table-directives.mjs +12 -12
  17. package/esm2020/selection/row-selection.mjs +3 -3
  18. package/esm2020/selection/select-all.mjs +3 -3
  19. package/esm2020/selection/selection-column.mjs +12 -12
  20. package/esm2020/selection/selection-module.mjs +8 -8
  21. package/esm2020/selection/selection-toggle.mjs +3 -3
  22. package/esm2020/selection/selection.mjs +3 -3
  23. package/esm2020/version.mjs +1 -1
  24. package/fesm2015/column-resize.mjs +36 -36
  25. package/fesm2015/material-experimental.mjs +1 -1
  26. package/fesm2015/material-experimental.mjs.map +1 -1
  27. package/fesm2015/menubar.mjs +10 -10
  28. package/fesm2015/popover-edit.mjs +25 -25
  29. package/fesm2015/selection.mjs +29 -29
  30. package/fesm2015/selection.mjs.map +1 -1
  31. package/fesm2020/column-resize.mjs +36 -36
  32. package/fesm2020/material-experimental.mjs +1 -1
  33. package/fesm2020/material-experimental.mjs.map +1 -1
  34. package/fesm2020/menubar.mjs +10 -10
  35. package/fesm2020/popover-edit.mjs +25 -25
  36. package/fesm2020/selection.mjs +29 -29
  37. package/fesm2020/selection.mjs.map +1 -1
  38. package/package.json +55 -422
  39. package/selection/index.d.ts +4 -4
  40. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  41. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  42. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  43. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  44. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  45. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  46. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  47. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  48. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  49. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  50. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  51. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  52. package/esm2020/mdc-button/button-base.mjs +0 -152
  53. package/esm2020/mdc-button/button.mjs +0 -69
  54. package/esm2020/mdc-button/fab.mjs +0 -175
  55. package/esm2020/mdc-button/icon-button.mjs +0 -57
  56. package/esm2020/mdc-button/index.mjs +0 -9
  57. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  58. package/esm2020/mdc-button/module.mjs +0 -61
  59. package/esm2020/mdc-button/public-api.mjs +0 -12
  60. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  61. package/esm2020/mdc-button/testing/index.mjs +0 -9
  62. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  63. package/esm2020/mdc-card/card.mjs +0 -261
  64. package/esm2020/mdc-card/index.mjs +0 -9
  65. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  66. package/esm2020/mdc-card/module.mjs +0 -68
  67. package/esm2020/mdc-card/public-api.mjs +0 -10
  68. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  69. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  70. package/esm2020/mdc-card/testing/index.mjs +0 -9
  71. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  72. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  73. package/esm2020/mdc-checkbox/index.mjs +0 -9
  74. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  75. package/esm2020/mdc-checkbox/module.mjs +0 -26
  76. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  77. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  78. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  79. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  80. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  81. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  82. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  83. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  84. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  85. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  86. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  87. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  88. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  89. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  90. package/esm2020/mdc-chips/chip.mjs +0 -287
  91. package/esm2020/mdc-chips/index.mjs +0 -9
  92. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  93. package/esm2020/mdc-chips/module.mjs +0 -87
  94. package/esm2020/mdc-chips/public-api.mjs +0 -20
  95. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  96. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  97. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  98. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  99. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  100. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  101. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  102. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  103. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  104. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  105. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  106. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  107. package/esm2020/mdc-chips/tokens.mjs +0 -33
  108. package/esm2020/mdc-core/index.mjs +0 -9
  109. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  110. package/esm2020/mdc-core/option/index.mjs +0 -30
  111. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  112. package/esm2020/mdc-core/option/option.mjs +0 -52
  113. package/esm2020/mdc-core/public-api.mjs +0 -10
  114. package/esm2020/mdc-core/testing/index.mjs +0 -9
  115. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  116. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  117. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  118. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  119. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  120. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  121. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  122. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  123. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  124. package/esm2020/mdc-dialog/index.mjs +0 -9
  125. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  126. package/esm2020/mdc-dialog/module.mjs +0 -53
  127. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  128. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  129. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  130. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  131. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  132. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  133. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  134. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  135. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  136. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  137. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  138. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  139. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  140. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  141. package/esm2020/mdc-form-field/index.mjs +0 -9
  142. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  143. package/esm2020/mdc-form-field/module.mjs +0 -53
  144. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  145. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  146. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  147. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  148. package/esm2020/mdc-input/index.mjs +0 -9
  149. package/esm2020/mdc-input/input.mjs +0 -55
  150. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  151. package/esm2020/mdc-input/module.mjs +0 -27
  152. package/esm2020/mdc-input/public-api.mjs +0 -11
  153. package/esm2020/mdc-input/testing/index.mjs +0 -9
  154. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  155. package/esm2020/mdc-list/action-list.mjs +0 -31
  156. package/esm2020/mdc-list/index.mjs +0 -9
  157. package/esm2020/mdc-list/list-base.mjs +0 -272
  158. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  159. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  160. package/esm2020/mdc-list/list-option.mjs +0 -253
  161. package/esm2020/mdc-list/list.mjs +0 -82
  162. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  163. package/esm2020/mdc-list/module.mjs +0 -98
  164. package/esm2020/mdc-list/nav-list.mjs +0 -31
  165. package/esm2020/mdc-list/public-api.mjs +0 -18
  166. package/esm2020/mdc-list/selection-list.mjs +0 -338
  167. package/esm2020/mdc-list/subheader.mjs +0 -27
  168. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  169. package/esm2020/mdc-list/testing/index.mjs +0 -9
  170. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  171. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  172. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  173. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  174. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  175. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  176. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  177. package/esm2020/mdc-menu/directives.mjs +0 -38
  178. package/esm2020/mdc-menu/index.mjs +0 -9
  179. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  180. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  181. package/esm2020/mdc-menu/menu.mjs +0 -43
  182. package/esm2020/mdc-menu/module.mjs +0 -44
  183. package/esm2020/mdc-menu/public-api.mjs +0 -13
  184. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  185. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  186. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  187. package/esm2020/mdc-paginator/index.mjs +0 -9
  188. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  189. package/esm2020/mdc-paginator/module.mjs +0 -30
  190. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  191. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  192. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  193. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  194. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  195. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  196. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  197. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  198. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  199. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  200. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  201. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  202. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  203. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  204. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  205. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  206. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  207. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  208. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  209. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  210. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  211. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  212. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  213. package/esm2020/mdc-radio/index.mjs +0 -9
  214. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  215. package/esm2020/mdc-radio/module.mjs +0 -26
  216. package/esm2020/mdc-radio/public-api.mjs +0 -11
  217. package/esm2020/mdc-radio/radio.mjs +0 -111
  218. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  219. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  220. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  221. package/esm2020/mdc-select/index.mjs +0 -9
  222. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  223. package/esm2020/mdc-select/module.mjs +0 -46
  224. package/esm2020/mdc-select/public-api.mjs +0 -12
  225. package/esm2020/mdc-select/select-animations.mjs +0 -38
  226. package/esm2020/mdc-select/select-errors.mjs +0 -35
  227. package/esm2020/mdc-select/select.mjs +0 -172
  228. package/esm2020/mdc-select/testing/index.mjs +0 -9
  229. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  230. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  231. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  232. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  233. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  234. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  235. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  236. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  237. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  238. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  239. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  240. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  241. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  242. package/esm2020/mdc-slider/index.mjs +0 -9
  243. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  244. package/esm2020/mdc-slider/module.mjs +0 -26
  245. package/esm2020/mdc-slider/public-api.mjs +0 -10
  246. package/esm2020/mdc-slider/slider.mjs +0 -1094
  247. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  248. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  249. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  250. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  251. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  252. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  253. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  254. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  255. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  256. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  257. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  258. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  259. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  260. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  261. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  262. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  263. package/esm2020/mdc-table/cell.mjs +0 -141
  264. package/esm2020/mdc-table/index.mjs +0 -9
  265. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  266. package/esm2020/mdc-table/module.mjs +0 -94
  267. package/esm2020/mdc-table/public-api.mjs +0 -14
  268. package/esm2020/mdc-table/row.mjs +0 -143
  269. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  270. package/esm2020/mdc-table/table.mjs +0 -74
  271. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  272. package/esm2020/mdc-table/testing/index.mjs +0 -9
  273. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  274. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  275. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  276. package/esm2020/mdc-table/text-column.mjs +0 -58
  277. package/esm2020/mdc-tabs/index.mjs +0 -9
  278. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  279. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  280. package/esm2020/mdc-tabs/module.mjs +0 -93
  281. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  282. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  283. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  284. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  285. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  286. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  287. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  288. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  289. package/esm2020/mdc-tabs/tab.mjs +0 -34
  290. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  291. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  292. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  293. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  294. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  295. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  296. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  297. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  298. package/esm2020/mdc-tooltip/index.mjs +0 -9
  299. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  300. package/esm2020/mdc-tooltip/module.mjs +0 -31
  301. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  302. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  303. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  304. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  305. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  306. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  307. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  308. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  309. package/fesm2015/mdc-autocomplete.mjs +0 -196
  310. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  311. package/fesm2015/mdc-button/testing.mjs +0 -75
  312. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  313. package/fesm2015/mdc-button.mjs +0 -490
  314. package/fesm2015/mdc-button.mjs.map +0 -1
  315. package/fesm2015/mdc-card/testing.mjs +0 -63
  316. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  317. package/fesm2015/mdc-card.mjs +0 -351
  318. package/fesm2015/mdc-card.mjs.map +0 -1
  319. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  320. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  321. package/fesm2015/mdc-checkbox.mjs +0 -142
  322. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  323. package/fesm2015/mdc-chips/testing.mjs +0 -394
  324. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  325. package/fesm2015/mdc-chips.mjs +0 -2169
  326. package/fesm2015/mdc-chips.mjs.map +0 -1
  327. package/fesm2015/mdc-core/testing.mjs +0 -118
  328. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  329. package/fesm2015/mdc-core.mjs +0 -141
  330. package/fesm2015/mdc-core.mjs.map +0 -1
  331. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  332. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  333. package/fesm2015/mdc-dialog.mjs +0 -500
  334. package/fesm2015/mdc-dialog.mjs.map +0 -1
  335. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  336. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  337. package/fesm2015/mdc-form-field.mjs +0 -1018
  338. package/fesm2015/mdc-form-field.mjs.map +0 -1
  339. package/fesm2015/mdc-input/testing.mjs +0 -18
  340. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  341. package/fesm2015/mdc-input.mjs +0 -103
  342. package/fesm2015/mdc-input.mjs.map +0 -1
  343. package/fesm2015/mdc-list/testing.mjs +0 -574
  344. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  345. package/fesm2015/mdc-list.mjs +0 -1264
  346. package/fesm2015/mdc-list.mjs.map +0 -1
  347. package/fesm2015/mdc-menu/testing.mjs +0 -59
  348. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  349. package/fesm2015/mdc-menu.mjs +0 -174
  350. package/fesm2015/mdc-menu.mjs.map +0 -1
  351. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  352. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  353. package/fesm2015/mdc-paginator.mjs +0 -100
  354. package/fesm2015/mdc-paginator.mjs.map +0 -1
  355. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  356. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  357. package/fesm2015/mdc-progress-bar.mjs +0 -198
  358. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  359. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  360. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  361. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  362. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  363. package/fesm2015/mdc-radio/testing.mjs +0 -63
  364. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  365. package/fesm2015/mdc-radio.mjs +0 -155
  366. package/fesm2015/mdc-radio.mjs.map +0 -1
  367. package/fesm2015/mdc-select/testing.mjs +0 -48
  368. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  369. package/fesm2015/mdc-select.mjs +0 -273
  370. package/fesm2015/mdc-select.mjs.map +0 -1
  371. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  372. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  373. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  374. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  375. package/fesm2015/mdc-slider/testing.mjs +0 -199
  376. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  377. package/fesm2015/mdc-slider.mjs +0 -1212
  378. package/fesm2015/mdc-slider.mjs.map +0 -1
  379. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  380. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  381. package/fesm2015/mdc-snack-bar.mjs +0 -229
  382. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  383. package/fesm2015/mdc-table/testing.mjs +0 -158
  384. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  385. package/fesm2015/mdc-table.mjs +0 -540
  386. package/fesm2015/mdc-table.mjs.map +0 -1
  387. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  388. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  389. package/fesm2015/mdc-tabs.mjs +0 -737
  390. package/fesm2015/mdc-tabs.mjs.map +0 -1
  391. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  392. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  393. package/fesm2015/mdc-tooltip.mjs +0 -206
  394. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  395. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  396. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  397. package/fesm2020/mdc-autocomplete.mjs +0 -196
  398. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  399. package/fesm2020/mdc-button/testing.mjs +0 -69
  400. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  401. package/fesm2020/mdc-button.mjs +0 -510
  402. package/fesm2020/mdc-button.mjs.map +0 -1
  403. package/fesm2020/mdc-card/testing.mjs +0 -69
  404. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  405. package/fesm2020/mdc-card.mjs +0 -349
  406. package/fesm2020/mdc-card.mjs.map +0 -1
  407. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  408. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  409. package/fesm2020/mdc-checkbox.mjs +0 -139
  410. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  411. package/fesm2020/mdc-chips/testing.mjs +0 -395
  412. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  413. package/fesm2020/mdc-chips.mjs +0 -2161
  414. package/fesm2020/mdc-chips.mjs.map +0 -1
  415. package/fesm2020/mdc-core/testing.mjs +0 -129
  416. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  417. package/fesm2020/mdc-core.mjs +0 -139
  418. package/fesm2020/mdc-core.mjs.map +0 -1
  419. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  420. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  421. package/fesm2020/mdc-dialog.mjs +0 -499
  422. package/fesm2020/mdc-dialog.mjs.map +0 -1
  423. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  424. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  425. package/fesm2020/mdc-form-field.mjs +0 -1014
  426. package/fesm2020/mdc-form-field.mjs.map +0 -1
  427. package/fesm2020/mdc-input/testing.mjs +0 -18
  428. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  429. package/fesm2020/mdc-input.mjs +0 -103
  430. package/fesm2020/mdc-input.mjs.map +0 -1
  431. package/fesm2020/mdc-list/testing.mjs +0 -544
  432. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  433. package/fesm2020/mdc-list.mjs +0 -1260
  434. package/fesm2020/mdc-list.mjs.map +0 -1
  435. package/fesm2020/mdc-menu/testing.mjs +0 -65
  436. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  437. package/fesm2020/mdc-menu.mjs +0 -172
  438. package/fesm2020/mdc-menu.mjs.map +0 -1
  439. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  440. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  441. package/fesm2020/mdc-paginator.mjs +0 -98
  442. package/fesm2020/mdc-paginator.mjs.map +0 -1
  443. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  444. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  445. package/fesm2020/mdc-progress-bar.mjs +0 -196
  446. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  447. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  448. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  449. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  450. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  451. package/fesm2020/mdc-radio/testing.mjs +0 -69
  452. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  453. package/fesm2020/mdc-radio.mjs +0 -153
  454. package/fesm2020/mdc-radio.mjs.map +0 -1
  455. package/fesm2020/mdc-select/testing.mjs +0 -56
  456. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  457. package/fesm2020/mdc-select.mjs +0 -273
  458. package/fesm2020/mdc-select.mjs.map +0 -1
  459. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  460. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  461. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  462. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  463. package/fesm2020/mdc-slider/testing.mjs +0 -172
  464. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  465. package/fesm2020/mdc-slider.mjs +0 -1191
  466. package/fesm2020/mdc-slider.mjs.map +0 -1
  467. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  468. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  469. package/fesm2020/mdc-snack-bar.mjs +0 -232
  470. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  471. package/fesm2020/mdc-table/testing.mjs +0 -158
  472. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  473. package/fesm2020/mdc-table.mjs +0 -539
  474. package/fesm2020/mdc-table.mjs.map +0 -1
  475. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  476. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  477. package/fesm2020/mdc-tabs.mjs +0 -723
  478. package/fesm2020/mdc-tabs.mjs.map +0 -1
  479. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  480. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  481. package/fesm2020/mdc-tooltip.mjs +0 -202
  482. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  483. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  484. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  485. package/mdc-autocomplete/index.d.ts +0 -97
  486. package/mdc-autocomplete/testing/index.d.ts +0 -32
  487. package/mdc-button/_button-base.import.scss +0 -4
  488. package/mdc-button/_button-base.scss +0 -95
  489. package/mdc-button/_button-theme-private.scss +0 -62
  490. package/mdc-button/_button-theme.import.scss +0 -16
  491. package/mdc-button/_button-theme.scss +0 -224
  492. package/mdc-button/_fab-theme.scss +0 -90
  493. package/mdc-button/_icon-button-theme.scss +0 -76
  494. package/mdc-button/index.d.ts +0 -216
  495. package/mdc-button/testing/index.d.ts +0 -41
  496. package/mdc-card/_card-theme.import.scss +0 -7
  497. package/mdc-card/_card-theme.scss +0 -74
  498. package/mdc-card/index.d.ts +0 -194
  499. package/mdc-card/testing/index.d.ts +0 -44
  500. package/mdc-checkbox/_checkbox-private.scss +0 -53
  501. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  502. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  503. package/mdc-checkbox/index.d.ts +0 -87
  504. package/mdc-checkbox/testing/index.d.ts +0 -28
  505. package/mdc-chips/_chips-theme.import.scss +0 -8
  506. package/mdc-chips/_chips-theme.scss +0 -117
  507. package/mdc-chips/index.d.ts +0 -979
  508. package/mdc-chips/testing/index.d.ts +0 -232
  509. package/mdc-core/_core-theme.import.scss +0 -10
  510. package/mdc-core/_core-theme.scss +0 -78
  511. package/mdc-core/_elevation.scss +0 -38
  512. package/mdc-core/color/_all-color.scss +0 -25
  513. package/mdc-core/density/_all-density.scss +0 -25
  514. package/mdc-core/index.d.ts +0 -206
  515. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  516. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  517. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  518. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  519. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  520. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  521. package/mdc-core/option/_optgroup-theme.scss +0 -44
  522. package/mdc-core/option/_option-theme.import.scss +0 -7
  523. package/mdc-core/option/_option-theme.scss +0 -87
  524. package/mdc-core/testing/index.d.ts +0 -64
  525. package/mdc-core/theming/_all-theme.scss +0 -61
  526. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  527. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  528. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  529. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  530. package/mdc-core/typography/_all-typography.scss +0 -99
  531. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  532. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  533. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  534. package/mdc-dialog/_dialog-theme.scss +0 -78
  535. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  536. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  537. package/mdc-dialog/index.d.ts +0 -217
  538. package/mdc-dialog/testing/index.d.ts +0 -47
  539. package/mdc-form-field/_form-field-density.scss +0 -119
  540. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  541. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  542. package/mdc-form-field/_form-field-native-select.scss +0 -133
  543. package/mdc-form-field/_form-field-sizing.scss +0 -40
  544. package/mdc-form-field/_form-field-subscript.scss +0 -83
  545. package/mdc-form-field/_form-field-theme.scss +0 -148
  546. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  547. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  548. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  549. package/mdc-form-field/index.d.ts +0 -431
  550. package/mdc-form-field/testing/index.d.ts +0 -48
  551. package/mdc-input/_input-theme.import.scss +0 -5
  552. package/mdc-input/_input-theme.scss +0 -35
  553. package/mdc-input/index.d.ts +0 -30
  554. package/mdc-input/testing/index.d.ts +0 -20
  555. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  556. package/mdc-list/_interactive-list-theme.scss +0 -40
  557. package/mdc-list/_list-option-theme.import.scss +0 -13
  558. package/mdc-list/_list-option-theme.scss +0 -28
  559. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  560. package/mdc-list/_list-theme.import.scss +0 -17
  561. package/mdc-list/_list-theme.scss +0 -81
  562. package/mdc-list/index.d.ts +0 -534
  563. package/mdc-list/testing/index.d.ts +0 -372
  564. package/mdc-menu/_menu-theme.import.scss +0 -5
  565. package/mdc-menu/_menu-theme.scss +0 -88
  566. package/mdc-menu/index.d.ts +0 -110
  567. package/mdc-menu/testing/index.d.ts +0 -38
  568. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  569. package/mdc-paginator/_paginator-theme.scss +0 -106
  570. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  571. package/mdc-paginator/_paginator-variables.scss +0 -13
  572. package/mdc-paginator/index.d.ts +0 -72
  573. package/mdc-paginator/testing/index.d.ts +0 -30
  574. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  575. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  576. package/mdc-progress-bar/index.d.ts +0 -98
  577. package/mdc-progress-bar/testing/index.d.ts +0 -24
  578. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  579. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  580. package/mdc-progress-spinner/index.d.ts +0 -90
  581. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  582. package/mdc-radio/_radio-theme.import.scss +0 -7
  583. package/mdc-radio/_radio-theme.scss +0 -110
  584. package/mdc-radio/index.d.ts +0 -72
  585. package/mdc-radio/testing/index.d.ts +0 -43
  586. package/mdc-select/_select-theme.import.scss +0 -10
  587. package/mdc-select/_select-theme.scss +0 -100
  588. package/mdc-select/index.d.ts +0 -111
  589. package/mdc-select/testing/index.d.ts +0 -28
  590. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  591. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  592. package/mdc-slide-toggle/index.d.ts +0 -83
  593. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  594. package/mdc-slider/_slider-theme.import.scss +0 -5
  595. package/mdc-slider/_slider-theme.scss +0 -125
  596. package/mdc-slider/index.d.ts +0 -435
  597. package/mdc-slider/testing/index.d.ts +0 -92
  598. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  599. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  600. package/mdc-snack-bar/index.d.ts +0 -136
  601. package/mdc-snack-bar/testing/index.d.ts +0 -23
  602. package/mdc-table/_table-theme.import.scss +0 -11
  603. package/mdc-table/_table-theme.scss +0 -78
  604. package/mdc-table/index.d.ts +0 -238
  605. package/mdc-table/testing/index.d.ts +0 -118
  606. package/mdc-tabs/_tabs-common.import.scss +0 -14
  607. package/mdc-tabs/_tabs-common.scss +0 -196
  608. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  609. package/mdc-tabs/_tabs-theme.scss +0 -146
  610. package/mdc-tabs/index.d.ts +0 -307
  611. package/mdc-tabs/testing/index.d.ts +0 -151
  612. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  613. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  614. package/mdc-tooltip/index.d.ts +0 -118
  615. 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
- }