@angular/material-experimental 14.2.1 → 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 (590) hide show
  1. package/_index.scss +0 -69
  2. package/esm2020/selection/selection-column.mjs +11 -11
  3. package/esm2020/selection/selection-module.mjs +5 -5
  4. package/esm2020/version.mjs +1 -1
  5. package/fesm2015/material-experimental.mjs +1 -1
  6. package/fesm2015/material-experimental.mjs.map +1 -1
  7. package/fesm2015/selection.mjs +13 -13
  8. package/fesm2015/selection.mjs.map +1 -1
  9. package/fesm2020/material-experimental.mjs +1 -1
  10. package/fesm2020/material-experimental.mjs.map +1 -1
  11. package/fesm2020/selection.mjs +13 -13
  12. package/fesm2020/selection.mjs.map +1 -1
  13. package/package.json +55 -422
  14. package/selection/index.d.ts +4 -4
  15. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  16. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  17. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  18. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  19. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  20. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  21. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  22. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  23. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  24. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  25. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  26. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  27. package/esm2020/mdc-button/button-base.mjs +0 -152
  28. package/esm2020/mdc-button/button.mjs +0 -69
  29. package/esm2020/mdc-button/fab.mjs +0 -175
  30. package/esm2020/mdc-button/icon-button.mjs +0 -57
  31. package/esm2020/mdc-button/index.mjs +0 -9
  32. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  33. package/esm2020/mdc-button/module.mjs +0 -61
  34. package/esm2020/mdc-button/public-api.mjs +0 -12
  35. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  36. package/esm2020/mdc-button/testing/index.mjs +0 -9
  37. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  38. package/esm2020/mdc-card/card.mjs +0 -261
  39. package/esm2020/mdc-card/index.mjs +0 -9
  40. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  41. package/esm2020/mdc-card/module.mjs +0 -68
  42. package/esm2020/mdc-card/public-api.mjs +0 -10
  43. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  44. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  45. package/esm2020/mdc-card/testing/index.mjs +0 -9
  46. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  47. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  48. package/esm2020/mdc-checkbox/index.mjs +0 -9
  49. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  50. package/esm2020/mdc-checkbox/module.mjs +0 -26
  51. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  52. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  53. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  54. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  55. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  56. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  57. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  58. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  59. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  60. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  61. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  62. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  63. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  64. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  65. package/esm2020/mdc-chips/chip.mjs +0 -287
  66. package/esm2020/mdc-chips/index.mjs +0 -9
  67. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  68. package/esm2020/mdc-chips/module.mjs +0 -87
  69. package/esm2020/mdc-chips/public-api.mjs +0 -20
  70. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  71. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  72. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  73. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  74. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  75. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  76. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  77. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  78. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  79. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  80. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  81. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  82. package/esm2020/mdc-chips/tokens.mjs +0 -33
  83. package/esm2020/mdc-core/index.mjs +0 -9
  84. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  85. package/esm2020/mdc-core/option/index.mjs +0 -30
  86. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  87. package/esm2020/mdc-core/option/option.mjs +0 -52
  88. package/esm2020/mdc-core/public-api.mjs +0 -10
  89. package/esm2020/mdc-core/testing/index.mjs +0 -9
  90. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  91. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  92. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  93. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  94. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  95. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  96. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  97. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  98. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  99. package/esm2020/mdc-dialog/index.mjs +0 -9
  100. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  101. package/esm2020/mdc-dialog/module.mjs +0 -53
  102. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  103. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  104. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  105. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  106. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  107. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  108. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  109. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  110. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  111. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  112. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  113. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  114. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  115. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  116. package/esm2020/mdc-form-field/index.mjs +0 -9
  117. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  118. package/esm2020/mdc-form-field/module.mjs +0 -53
  119. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  120. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  121. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  122. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  123. package/esm2020/mdc-input/index.mjs +0 -9
  124. package/esm2020/mdc-input/input.mjs +0 -55
  125. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  126. package/esm2020/mdc-input/module.mjs +0 -27
  127. package/esm2020/mdc-input/public-api.mjs +0 -11
  128. package/esm2020/mdc-input/testing/index.mjs +0 -9
  129. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  130. package/esm2020/mdc-list/action-list.mjs +0 -31
  131. package/esm2020/mdc-list/index.mjs +0 -9
  132. package/esm2020/mdc-list/list-base.mjs +0 -272
  133. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  134. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  135. package/esm2020/mdc-list/list-option.mjs +0 -253
  136. package/esm2020/mdc-list/list.mjs +0 -82
  137. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  138. package/esm2020/mdc-list/module.mjs +0 -98
  139. package/esm2020/mdc-list/nav-list.mjs +0 -31
  140. package/esm2020/mdc-list/public-api.mjs +0 -18
  141. package/esm2020/mdc-list/selection-list.mjs +0 -338
  142. package/esm2020/mdc-list/subheader.mjs +0 -27
  143. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  144. package/esm2020/mdc-list/testing/index.mjs +0 -9
  145. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  146. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  147. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  148. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  149. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  150. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  151. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  152. package/esm2020/mdc-menu/directives.mjs +0 -38
  153. package/esm2020/mdc-menu/index.mjs +0 -9
  154. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  155. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  156. package/esm2020/mdc-menu/menu.mjs +0 -43
  157. package/esm2020/mdc-menu/module.mjs +0 -44
  158. package/esm2020/mdc-menu/public-api.mjs +0 -13
  159. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  160. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  161. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  162. package/esm2020/mdc-paginator/index.mjs +0 -9
  163. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  164. package/esm2020/mdc-paginator/module.mjs +0 -30
  165. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  166. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  167. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  168. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  169. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  170. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  171. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  172. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  173. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  174. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  175. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  176. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  177. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  178. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  179. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  180. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  181. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  182. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  183. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  184. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  185. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  186. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  187. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  188. package/esm2020/mdc-radio/index.mjs +0 -9
  189. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  190. package/esm2020/mdc-radio/module.mjs +0 -26
  191. package/esm2020/mdc-radio/public-api.mjs +0 -11
  192. package/esm2020/mdc-radio/radio.mjs +0 -111
  193. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  194. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  195. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  196. package/esm2020/mdc-select/index.mjs +0 -9
  197. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  198. package/esm2020/mdc-select/module.mjs +0 -46
  199. package/esm2020/mdc-select/public-api.mjs +0 -12
  200. package/esm2020/mdc-select/select-animations.mjs +0 -38
  201. package/esm2020/mdc-select/select-errors.mjs +0 -35
  202. package/esm2020/mdc-select/select.mjs +0 -172
  203. package/esm2020/mdc-select/testing/index.mjs +0 -9
  204. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  205. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  206. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  207. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  208. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  209. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  210. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  211. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  212. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  213. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  214. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  215. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  216. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  217. package/esm2020/mdc-slider/index.mjs +0 -9
  218. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  219. package/esm2020/mdc-slider/module.mjs +0 -26
  220. package/esm2020/mdc-slider/public-api.mjs +0 -10
  221. package/esm2020/mdc-slider/slider.mjs +0 -1094
  222. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  223. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  224. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  225. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  226. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  227. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  228. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  229. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  230. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  231. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  232. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  233. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  234. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  235. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  236. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  237. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  238. package/esm2020/mdc-table/cell.mjs +0 -141
  239. package/esm2020/mdc-table/index.mjs +0 -9
  240. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  241. package/esm2020/mdc-table/module.mjs +0 -94
  242. package/esm2020/mdc-table/public-api.mjs +0 -14
  243. package/esm2020/mdc-table/row.mjs +0 -143
  244. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  245. package/esm2020/mdc-table/table.mjs +0 -74
  246. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  247. package/esm2020/mdc-table/testing/index.mjs +0 -9
  248. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  249. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  250. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  251. package/esm2020/mdc-table/text-column.mjs +0 -58
  252. package/esm2020/mdc-tabs/index.mjs +0 -9
  253. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  254. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  255. package/esm2020/mdc-tabs/module.mjs +0 -93
  256. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  257. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  258. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  259. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  260. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  261. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  262. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  263. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  264. package/esm2020/mdc-tabs/tab.mjs +0 -34
  265. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  266. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  267. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  268. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  269. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  270. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  271. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  272. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  273. package/esm2020/mdc-tooltip/index.mjs +0 -9
  274. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  275. package/esm2020/mdc-tooltip/module.mjs +0 -31
  276. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  277. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  278. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  279. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  280. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  281. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  282. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  283. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  284. package/fesm2015/mdc-autocomplete.mjs +0 -196
  285. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  286. package/fesm2015/mdc-button/testing.mjs +0 -75
  287. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  288. package/fesm2015/mdc-button.mjs +0 -490
  289. package/fesm2015/mdc-button.mjs.map +0 -1
  290. package/fesm2015/mdc-card/testing.mjs +0 -63
  291. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  292. package/fesm2015/mdc-card.mjs +0 -351
  293. package/fesm2015/mdc-card.mjs.map +0 -1
  294. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  295. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  296. package/fesm2015/mdc-checkbox.mjs +0 -142
  297. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  298. package/fesm2015/mdc-chips/testing.mjs +0 -394
  299. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  300. package/fesm2015/mdc-chips.mjs +0 -2169
  301. package/fesm2015/mdc-chips.mjs.map +0 -1
  302. package/fesm2015/mdc-core/testing.mjs +0 -118
  303. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  304. package/fesm2015/mdc-core.mjs +0 -141
  305. package/fesm2015/mdc-core.mjs.map +0 -1
  306. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  307. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  308. package/fesm2015/mdc-dialog.mjs +0 -500
  309. package/fesm2015/mdc-dialog.mjs.map +0 -1
  310. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  311. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  312. package/fesm2015/mdc-form-field.mjs +0 -1018
  313. package/fesm2015/mdc-form-field.mjs.map +0 -1
  314. package/fesm2015/mdc-input/testing.mjs +0 -18
  315. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  316. package/fesm2015/mdc-input.mjs +0 -103
  317. package/fesm2015/mdc-input.mjs.map +0 -1
  318. package/fesm2015/mdc-list/testing.mjs +0 -574
  319. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  320. package/fesm2015/mdc-list.mjs +0 -1264
  321. package/fesm2015/mdc-list.mjs.map +0 -1
  322. package/fesm2015/mdc-menu/testing.mjs +0 -59
  323. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  324. package/fesm2015/mdc-menu.mjs +0 -174
  325. package/fesm2015/mdc-menu.mjs.map +0 -1
  326. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  327. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  328. package/fesm2015/mdc-paginator.mjs +0 -100
  329. package/fesm2015/mdc-paginator.mjs.map +0 -1
  330. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  331. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  332. package/fesm2015/mdc-progress-bar.mjs +0 -198
  333. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  334. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  335. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  336. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  337. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  338. package/fesm2015/mdc-radio/testing.mjs +0 -63
  339. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  340. package/fesm2015/mdc-radio.mjs +0 -155
  341. package/fesm2015/mdc-radio.mjs.map +0 -1
  342. package/fesm2015/mdc-select/testing.mjs +0 -48
  343. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  344. package/fesm2015/mdc-select.mjs +0 -273
  345. package/fesm2015/mdc-select.mjs.map +0 -1
  346. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  347. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  348. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  349. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  350. package/fesm2015/mdc-slider/testing.mjs +0 -199
  351. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  352. package/fesm2015/mdc-slider.mjs +0 -1212
  353. package/fesm2015/mdc-slider.mjs.map +0 -1
  354. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  355. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  356. package/fesm2015/mdc-snack-bar.mjs +0 -229
  357. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  358. package/fesm2015/mdc-table/testing.mjs +0 -158
  359. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  360. package/fesm2015/mdc-table.mjs +0 -540
  361. package/fesm2015/mdc-table.mjs.map +0 -1
  362. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  363. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  364. package/fesm2015/mdc-tabs.mjs +0 -737
  365. package/fesm2015/mdc-tabs.mjs.map +0 -1
  366. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  367. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  368. package/fesm2015/mdc-tooltip.mjs +0 -206
  369. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  370. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  371. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  372. package/fesm2020/mdc-autocomplete.mjs +0 -196
  373. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  374. package/fesm2020/mdc-button/testing.mjs +0 -69
  375. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  376. package/fesm2020/mdc-button.mjs +0 -510
  377. package/fesm2020/mdc-button.mjs.map +0 -1
  378. package/fesm2020/mdc-card/testing.mjs +0 -69
  379. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  380. package/fesm2020/mdc-card.mjs +0 -349
  381. package/fesm2020/mdc-card.mjs.map +0 -1
  382. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  383. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  384. package/fesm2020/mdc-checkbox.mjs +0 -139
  385. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  386. package/fesm2020/mdc-chips/testing.mjs +0 -395
  387. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  388. package/fesm2020/mdc-chips.mjs +0 -2161
  389. package/fesm2020/mdc-chips.mjs.map +0 -1
  390. package/fesm2020/mdc-core/testing.mjs +0 -129
  391. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  392. package/fesm2020/mdc-core.mjs +0 -139
  393. package/fesm2020/mdc-core.mjs.map +0 -1
  394. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  395. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  396. package/fesm2020/mdc-dialog.mjs +0 -499
  397. package/fesm2020/mdc-dialog.mjs.map +0 -1
  398. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  399. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  400. package/fesm2020/mdc-form-field.mjs +0 -1014
  401. package/fesm2020/mdc-form-field.mjs.map +0 -1
  402. package/fesm2020/mdc-input/testing.mjs +0 -18
  403. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  404. package/fesm2020/mdc-input.mjs +0 -103
  405. package/fesm2020/mdc-input.mjs.map +0 -1
  406. package/fesm2020/mdc-list/testing.mjs +0 -544
  407. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  408. package/fesm2020/mdc-list.mjs +0 -1260
  409. package/fesm2020/mdc-list.mjs.map +0 -1
  410. package/fesm2020/mdc-menu/testing.mjs +0 -65
  411. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  412. package/fesm2020/mdc-menu.mjs +0 -172
  413. package/fesm2020/mdc-menu.mjs.map +0 -1
  414. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  415. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  416. package/fesm2020/mdc-paginator.mjs +0 -98
  417. package/fesm2020/mdc-paginator.mjs.map +0 -1
  418. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  419. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  420. package/fesm2020/mdc-progress-bar.mjs +0 -196
  421. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  422. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  423. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  424. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  425. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  426. package/fesm2020/mdc-radio/testing.mjs +0 -69
  427. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  428. package/fesm2020/mdc-radio.mjs +0 -153
  429. package/fesm2020/mdc-radio.mjs.map +0 -1
  430. package/fesm2020/mdc-select/testing.mjs +0 -56
  431. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  432. package/fesm2020/mdc-select.mjs +0 -273
  433. package/fesm2020/mdc-select.mjs.map +0 -1
  434. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  435. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  436. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  437. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  438. package/fesm2020/mdc-slider/testing.mjs +0 -172
  439. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  440. package/fesm2020/mdc-slider.mjs +0 -1191
  441. package/fesm2020/mdc-slider.mjs.map +0 -1
  442. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  443. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  444. package/fesm2020/mdc-snack-bar.mjs +0 -232
  445. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  446. package/fesm2020/mdc-table/testing.mjs +0 -158
  447. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  448. package/fesm2020/mdc-table.mjs +0 -539
  449. package/fesm2020/mdc-table.mjs.map +0 -1
  450. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  451. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  452. package/fesm2020/mdc-tabs.mjs +0 -723
  453. package/fesm2020/mdc-tabs.mjs.map +0 -1
  454. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  455. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  456. package/fesm2020/mdc-tooltip.mjs +0 -202
  457. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  458. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  459. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  460. package/mdc-autocomplete/index.d.ts +0 -97
  461. package/mdc-autocomplete/testing/index.d.ts +0 -32
  462. package/mdc-button/_button-base.import.scss +0 -4
  463. package/mdc-button/_button-base.scss +0 -95
  464. package/mdc-button/_button-theme-private.scss +0 -62
  465. package/mdc-button/_button-theme.import.scss +0 -16
  466. package/mdc-button/_button-theme.scss +0 -224
  467. package/mdc-button/_fab-theme.scss +0 -90
  468. package/mdc-button/_icon-button-theme.scss +0 -76
  469. package/mdc-button/index.d.ts +0 -216
  470. package/mdc-button/testing/index.d.ts +0 -41
  471. package/mdc-card/_card-theme.import.scss +0 -7
  472. package/mdc-card/_card-theme.scss +0 -74
  473. package/mdc-card/index.d.ts +0 -194
  474. package/mdc-card/testing/index.d.ts +0 -44
  475. package/mdc-checkbox/_checkbox-private.scss +0 -53
  476. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  477. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  478. package/mdc-checkbox/index.d.ts +0 -87
  479. package/mdc-checkbox/testing/index.d.ts +0 -28
  480. package/mdc-chips/_chips-theme.import.scss +0 -8
  481. package/mdc-chips/_chips-theme.scss +0 -117
  482. package/mdc-chips/index.d.ts +0 -979
  483. package/mdc-chips/testing/index.d.ts +0 -232
  484. package/mdc-core/_core-theme.import.scss +0 -10
  485. package/mdc-core/_core-theme.scss +0 -78
  486. package/mdc-core/_elevation.scss +0 -38
  487. package/mdc-core/color/_all-color.scss +0 -25
  488. package/mdc-core/density/_all-density.scss +0 -25
  489. package/mdc-core/index.d.ts +0 -206
  490. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  491. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  492. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  493. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  494. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  495. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  496. package/mdc-core/option/_optgroup-theme.scss +0 -44
  497. package/mdc-core/option/_option-theme.import.scss +0 -7
  498. package/mdc-core/option/_option-theme.scss +0 -87
  499. package/mdc-core/testing/index.d.ts +0 -64
  500. package/mdc-core/theming/_all-theme.scss +0 -61
  501. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  502. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  503. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  504. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  505. package/mdc-core/typography/_all-typography.scss +0 -99
  506. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  507. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  508. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  509. package/mdc-dialog/_dialog-theme.scss +0 -78
  510. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  511. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  512. package/mdc-dialog/index.d.ts +0 -217
  513. package/mdc-dialog/testing/index.d.ts +0 -47
  514. package/mdc-form-field/_form-field-density.scss +0 -119
  515. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  516. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  517. package/mdc-form-field/_form-field-native-select.scss +0 -133
  518. package/mdc-form-field/_form-field-sizing.scss +0 -40
  519. package/mdc-form-field/_form-field-subscript.scss +0 -83
  520. package/mdc-form-field/_form-field-theme.scss +0 -148
  521. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  522. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  523. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  524. package/mdc-form-field/index.d.ts +0 -431
  525. package/mdc-form-field/testing/index.d.ts +0 -48
  526. package/mdc-input/_input-theme.import.scss +0 -5
  527. package/mdc-input/_input-theme.scss +0 -35
  528. package/mdc-input/index.d.ts +0 -30
  529. package/mdc-input/testing/index.d.ts +0 -20
  530. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  531. package/mdc-list/_interactive-list-theme.scss +0 -40
  532. package/mdc-list/_list-option-theme.import.scss +0 -13
  533. package/mdc-list/_list-option-theme.scss +0 -28
  534. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  535. package/mdc-list/_list-theme.import.scss +0 -17
  536. package/mdc-list/_list-theme.scss +0 -81
  537. package/mdc-list/index.d.ts +0 -534
  538. package/mdc-list/testing/index.d.ts +0 -372
  539. package/mdc-menu/_menu-theme.import.scss +0 -5
  540. package/mdc-menu/_menu-theme.scss +0 -88
  541. package/mdc-menu/index.d.ts +0 -110
  542. package/mdc-menu/testing/index.d.ts +0 -38
  543. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  544. package/mdc-paginator/_paginator-theme.scss +0 -106
  545. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  546. package/mdc-paginator/_paginator-variables.scss +0 -13
  547. package/mdc-paginator/index.d.ts +0 -72
  548. package/mdc-paginator/testing/index.d.ts +0 -30
  549. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  550. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  551. package/mdc-progress-bar/index.d.ts +0 -98
  552. package/mdc-progress-bar/testing/index.d.ts +0 -24
  553. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  554. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  555. package/mdc-progress-spinner/index.d.ts +0 -90
  556. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  557. package/mdc-radio/_radio-theme.import.scss +0 -7
  558. package/mdc-radio/_radio-theme.scss +0 -110
  559. package/mdc-radio/index.d.ts +0 -72
  560. package/mdc-radio/testing/index.d.ts +0 -43
  561. package/mdc-select/_select-theme.import.scss +0 -10
  562. package/mdc-select/_select-theme.scss +0 -100
  563. package/mdc-select/index.d.ts +0 -111
  564. package/mdc-select/testing/index.d.ts +0 -28
  565. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  566. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  567. package/mdc-slide-toggle/index.d.ts +0 -83
  568. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  569. package/mdc-slider/_slider-theme.import.scss +0 -5
  570. package/mdc-slider/_slider-theme.scss +0 -125
  571. package/mdc-slider/index.d.ts +0 -435
  572. package/mdc-slider/testing/index.d.ts +0 -92
  573. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  574. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  575. package/mdc-snack-bar/index.d.ts +0 -136
  576. package/mdc-snack-bar/testing/index.d.ts +0 -23
  577. package/mdc-table/_table-theme.import.scss +0 -11
  578. package/mdc-table/_table-theme.scss +0 -78
  579. package/mdc-table/index.d.ts +0 -238
  580. package/mdc-table/testing/index.d.ts +0 -118
  581. package/mdc-tabs/_tabs-common.import.scss +0 -14
  582. package/mdc-tabs/_tabs-common.scss +0 -196
  583. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  584. package/mdc-tabs/_tabs-theme.scss +0 -146
  585. package/mdc-tabs/index.d.ts +0 -307
  586. package/mdc-tabs/testing/index.d.ts +0 -151
  587. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  588. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  589. package/mdc-tooltip/index.d.ts +0 -118
  590. package/mdc-tooltip/testing/index.d.ts +0 -26
@@ -1,217 +0,0 @@
1
- import { AutoFocusTarget } from '@angular/material/dialog';
2
- import { DialogPosition } from '@angular/material/dialog';
3
- import { DialogRole } from '@angular/material/dialog';
4
- import { ElementRef } from '@angular/core';
5
- import { FocusMonitor } from '@angular/cdk/a11y';
6
- import { FocusTrapFactory } from '@angular/cdk/a11y';
7
- import * as i0 from '@angular/core';
8
- import * as i3 from '@angular/cdk/dialog';
9
- import * as i4 from '@angular/cdk/overlay';
10
- import * as i5 from '@angular/cdk/portal';
11
- import * as i6 from '@angular/material-experimental/mdc-core';
12
- import { InjectionToken } from '@angular/core';
13
- import { Injector } from '@angular/core';
14
- import { InteractivityChecker } from '@angular/cdk/a11y';
15
- import { Location as Location_2 } from '@angular/common';
16
- import { MAT_DIALOG_SCROLL_STRATEGY_FACTORY } from '@angular/material/dialog';
17
- import { matDialogAnimations } from '@angular/material/dialog';
18
- import { _MatDialogBase } from '@angular/material/dialog';
19
- import { MatDialogConfig } from '@angular/material/dialog';
20
- import { _MatDialogContainerBase } from '@angular/material/dialog';
21
- import { MatDialogRef as MatDialogRef_2 } from '@angular/material/dialog';
22
- import { MatDialogState } from '@angular/material/dialog';
23
- import { NgZone } from '@angular/core';
24
- import { OnChanges } from '@angular/core';
25
- import { OnDestroy } from '@angular/core';
26
- import { OnInit } from '@angular/core';
27
- import { Overlay } from '@angular/cdk/overlay';
28
- import { OverlayContainer } from '@angular/cdk/overlay';
29
- import { OverlayRef } from '@angular/cdk/overlay';
30
- import { ScrollStrategy } from '@angular/cdk/overlay';
31
- import { SimpleChanges } from '@angular/core';
32
-
33
- export { AutoFocusTarget }
34
-
35
- export { DialogPosition }
36
-
37
- export { DialogRole }
38
-
39
- declare namespace i1 {
40
- export {
41
- MatDialogContainer
42
- }
43
- }
44
-
45
- declare namespace i2 {
46
- export {
47
- MatDialogClose,
48
- MatDialogTitle,
49
- MatDialogContent,
50
- MatDialogActions
51
- }
52
- }
53
-
54
- /** Injection token that can be used to access the data that was passed in to a dialog. */
55
- export declare const MAT_DIALOG_DATA: InjectionToken<any>;
56
-
57
- /** Injection token that can be used to specify default dialog options. */
58
- export declare const MAT_DIALOG_DEFAULT_OPTIONS: InjectionToken<MatDialogConfig<any>>;
59
-
60
- /** Injection token that determines the scroll handling while the dialog is open. */
61
- export declare const MAT_DIALOG_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
62
-
63
- export { MAT_DIALOG_SCROLL_STRATEGY_FACTORY }
64
-
65
- /** @docs-private */
66
- export declare const MAT_DIALOG_SCROLL_STRATEGY_PROVIDER: {
67
- provide: InjectionToken<() => ScrollStrategy>;
68
- deps: (typeof Overlay)[];
69
- useFactory: typeof MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
70
- };
71
-
72
- /** @docs-private */
73
- export declare function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
74
-
75
- /**
76
- * Service to open Material Design modal dialogs.
77
- */
78
- export declare class MatDialog extends _MatDialogBase<MatDialogContainer> {
79
- constructor(overlay: Overlay, injector: Injector,
80
- /**
81
- * @deprecated `_location` parameter to be removed.
82
- * @breaking-change 10.0.0
83
- */
84
- location: Location_2, defaultOptions: MatDialogConfig, scrollStrategy: any, parentDialog: MatDialog,
85
- /**
86
- * @deprecated No longer used. To be removed.
87
- * @breaking-change 15.0.0
88
- */
89
- overlayContainer: OverlayContainer,
90
- /**
91
- * @deprecated No longer used. To be removed.
92
- * @breaking-change 14.0.0
93
- */
94
- animationMode?: 'NoopAnimations' | 'BrowserAnimations');
95
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
96
- static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
97
- }
98
-
99
- /**
100
- * Container for the bottom action buttons in a dialog.
101
- * Stays fixed to the bottom when scrolling.
102
- */
103
- export declare class MatDialogActions {
104
- /**
105
- * Horizontal alignment of action buttons.
106
- */
107
- align?: 'start' | 'center' | 'end';
108
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
109
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, { "align": "align"; }, {}, never, never, false>;
110
- }
111
-
112
- export { matDialogAnimations }
113
-
114
- /**
115
- * Button that will close the current dialog.
116
- */
117
- export declare class MatDialogClose implements OnInit, OnChanges {
118
- dialogRef: MatDialogRef<any>;
119
- private _elementRef;
120
- private _dialog;
121
- /** Screen-reader label for the button. */
122
- ariaLabel: string;
123
- /** Default to "button" to prevents accidental form submits. */
124
- type: 'submit' | 'button' | 'reset';
125
- /** Dialog close input. */
126
- dialogResult: any;
127
- _matDialogClose: any;
128
- constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
129
- ngOnInit(): void;
130
- ngOnChanges(changes: SimpleChanges): void;
131
- _onButtonClick(event: MouseEvent): void;
132
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
133
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "mat-dialog-close"; "_matDialogClose": "matDialogClose"; }, {}, never, never, false>;
134
- }
135
-
136
- export { MatDialogConfig }
137
-
138
- /**
139
- * Internal component that wraps user-provided dialog content in a MDC dialog.
140
- * @docs-private
141
- */
142
- export declare class MatDialogContainer extends _MatDialogContainerBase implements OnDestroy {
143
- private _animationMode?;
144
- /** Whether animations are enabled. */
145
- _animationsEnabled: boolean;
146
- /** Host element of the dialog container component. */
147
- private _hostElement;
148
- /** Duration of the dialog open animation. */
149
- private _openAnimationDuration;
150
- /** Duration of the dialog close animation. */
151
- private _closeAnimationDuration;
152
- /** Current timer for dialog animations. */
153
- private _animationTimer;
154
- constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, document: any, dialogConfig: MatDialogConfig, checker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, _animationMode?: string | undefined, focusMonitor?: FocusMonitor);
155
- protected _contentAttached(): void;
156
- ngOnDestroy(): void;
157
- /** Starts the dialog open animation if enabled. */
158
- private _startOpenAnimation;
159
- /**
160
- * Starts the exit animation of the dialog if enabled. This method is
161
- * called by the dialog ref.
162
- */
163
- _startExitAnimation(): void;
164
- /**
165
- * Completes the dialog open by clearing potential animation classes, trapping
166
- * focus and emitting an opened event.
167
- */
168
- private _finishDialogOpen;
169
- /**
170
- * Completes the dialog close by clearing potential animation classes, restoring
171
- * focus and emitting a closed event.
172
- */
173
- private _finishDialogClose;
174
- /** Clears all dialog animation classes. */
175
- private _clearAnimationClasses;
176
- private _waitForAnimationToComplete;
177
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, { optional: true; }, null, null, null, null, { optional: true; }, null]>;
178
- static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, false>;
179
- }
180
-
181
- /**
182
- * Scrollable content container of a dialog.
183
- */
184
- export declare class MatDialogContent {
185
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContent, never>;
186
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogContent, "[mat-dialog-content], mat-dialog-content, [matDialogContent]", never, {}, {}, never, never, false>;
187
- }
188
-
189
- export declare class MatDialogModule {
190
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogModule, never>;
191
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatDialogModule, [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogActions, typeof i2.MatDialogContent], [typeof i3.DialogModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.MatCommonModule], [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogContent, typeof i2.MatDialogActions, typeof i6.MatCommonModule]>;
192
- static ɵinj: i0.ɵɵInjectorDeclaration<MatDialogModule>;
193
- }
194
-
195
- /**
196
- * Reference to a dialog opened via the MatDialog service.
197
- */
198
- export declare class MatDialogRef<T, R = any> extends MatDialogRef_2<T, R> {
199
- }
200
-
201
- export { MatDialogState }
202
-
203
- /**
204
- * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
205
- */
206
- export declare class MatDialogTitle implements OnInit {
207
- private _dialogRef;
208
- private _elementRef;
209
- private _dialog;
210
- id: string;
211
- constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
212
- ngOnInit(): void;
213
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogTitle, [{ optional: true; }, null, null]>;
214
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogTitle, "[mat-dialog-title], [matDialogTitle]", ["matDialogTitle"], { "id": "id"; }, {}, never, never, false>;
215
- }
216
-
217
- export { }
@@ -1,47 +0,0 @@
1
- import { AsyncFactoryFn } from '@angular/cdk/testing';
2
- import { ComponentHarnessConstructor } from '@angular/cdk/testing';
3
- import { ComponentType } from '@angular/cdk/overlay';
4
- import { DialogHarnessFilters } from '@angular/material/dialog/testing';
5
- import { HarnessPredicate } from '@angular/cdk/testing';
6
- import { MatDialog } from '@angular/material-experimental/mdc-dialog';
7
- import { MatDialogConfig } from '@angular/material-experimental/mdc-dialog';
8
- import { MatDialogContainer } from '@angular/material-experimental/mdc-dialog';
9
- import { _MatDialogHarnessBase } from '@angular/material/dialog/testing';
10
- import { _MatTestDialogOpenerBase } from '@angular/material/dialog/testing';
11
- import { TestElement } from '@angular/cdk/testing';
12
-
13
- export { DialogHarnessFilters }
14
-
15
- /** Harness for interacting with a standard `MatDialog` in tests. */
16
- export declare class MatDialogHarness extends _MatDialogHarnessBase {
17
- /** The selector for the host element of a `MatDialog` instance. */
18
- static hostSelector: string;
19
- /**
20
- * Gets a `HarnessPredicate` that can be used to search for a dialog with specific attributes.
21
- * @param options Options for filtering which dialog instances are considered a match.
22
- * @return a `HarnessPredicate` configured with the given options.
23
- */
24
- static with<T extends MatDialogHarness>(this: ComponentHarnessConstructor<T>, options?: DialogHarnessFilters): HarnessPredicate<T>;
25
- protected _title: AsyncFactoryFn<TestElement | null>;
26
- protected _content: AsyncFactoryFn<TestElement | null>;
27
- protected _actions: AsyncFactoryFn<TestElement | null>;
28
- }
29
-
30
- /** Selectors for different sections of the mat-dialog that can contain user content. */
31
- export declare const enum MatDialogSection {
32
- TITLE = ".mat-mdc-dialog-title",
33
- CONTENT = ".mat-mdc-dialog-content",
34
- ACTIONS = ".mat-mdc-dialog-actions"
35
- }
36
-
37
- /** Test component that immediately opens a dialog when bootstrapped. */
38
- export declare class MatTestDialogOpener<T = unknown, R = unknown> extends _MatTestDialogOpenerBase<MatDialogContainer, T, R> {
39
- constructor(dialog: MatDialog);
40
- /** Static method that prepares this class to open the provided component. */
41
- static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
42
- }
43
-
44
- export declare class MatTestDialogOpenerModule {
45
- }
46
-
47
- export { }
@@ -1,119 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:math';
3
- @use '@angular/material' as mat;
4
- @use '@material/density' as mdc-density;
5
- @use '@material/textfield' as mdc-textfield;
6
-
7
- @use './form-field-sizing';
8
-
9
- // Mixin that sets the vertical spacing for the infix container of filled form fields.
10
- // We need to apply spacing to the infix container because we removed the input padding
11
- // provided by MDC in order to support arbitrary form-field controls.
12
- @mixin _infix-vertical-spacing-filled($with-label-padding, $no-label-padding) {
13
- .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
14
- padding-top: map.get($with-label-padding, top);
15
- padding-bottom: map.get($with-label-padding, bottom);
16
- }
17
-
18
- .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)
19
- .mat-mdc-form-field-infix {
20
- padding-top: map.get($no-label-padding, top);
21
- padding-bottom: map.get($no-label-padding, bottom);
22
- }
23
- }
24
-
25
- // Mixin that sets the vertical spacing for the infix container of outlined form fields.
26
- // We need to apply spacing to the infix container because we removed the input padding
27
- // provided by MDC in order to support arbitrary form-field controls.
28
- @mixin _infix-vertical-spacing-outlined($padding) {
29
- .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
30
- padding-top: map.get($padding, top);
31
- padding-bottom: map.get($padding, bottom);
32
- }
33
- }
34
-
35
- // Mixin that includes the density styles for form fields. MDC provides their own density
36
- // styles for MDC text-field which we cannot use. MDC relies on input elements to stretch
37
- // vertically when the height is reduced as per density scale. This doesn't work for our
38
- // form field since we support custom form field controls without a fixed height. Instead, we
39
- // provide spacing that makes arbitrary controls align as specified in the Material Design
40
- // specification. In order to support density, we need to adjust the vertical spacing to be
41
- // based on the density scale.
42
- @mixin private-form-field-density($config-or-theme) {
43
- $density-scale: mat.get-density-config($config-or-theme);
44
- // Height of the form field that is based on the current density scale.
45
- $height: mdc-density.prop-value(
46
- $density-config: mdc-textfield.$density-config,
47
- $density-scale: $density-scale,
48
- $property-name: height,
49
- );
50
-
51
- // Whether floating labels for filled form fields should be hidden. MDC hides the label in
52
- // their density styles when the height decreases too much. We match their density styles.
53
- $hide-filled-floating-label: $height < mdc-textfield.$minimum-height-for-filled-label;
54
- // We computed the desired height of the form-field using the density configuration. The
55
- // spec only describes vertical spacing/alignment in non-dense mode. This means that we
56
- // cannot update the spacing to explicit numbers based on the density scale. Instead, we
57
- // determine the height reduction and equally subtract it from the default `top` and `bottom`
58
- // padding that is provided by the Material Design specification.
59
- $vertical-deduction: math.div(mdc-textfield.$height - $height, 2);
60
- // Map that describes the padding for form-fields with label.
61
- $with-label-padding: (
62
- top: form-field-sizing.$mat-form-field-with-label-input-padding-top - $vertical-deduction,
63
- bottom: form-field-sizing.$mat-form-field-with-label-input-padding-bottom - $vertical-deduction,
64
- );
65
- // Map that describes the padding for form-fields without label.
66
- $no-label-padding: (
67
- top: form-field-sizing.$mat-form-field-no-label-padding-top - $vertical-deduction,
68
- bottom: form-field-sizing.$mat-form-field-no-label-padding-bottom - $vertical-deduction,
69
- );
70
-
71
- // We add a minimum height to the infix container in order to ensure that custom controls have
72
- // the same default vertical space as text-field inputs (with respect to the vertical padding).
73
- .mat-mdc-form-field-infix {
74
- min-height: $height;
75
- }
76
-
77
- // By default, MDC aligns the label using percentage. This will be overwritten based
78
- // on whether a textarea is used. This is not possible in our implementation of the
79
- // form-field because we do not know what type of form-field control is set up. Hence
80
- // we always use a fixed position for the label. This does not have any implications.
81
- .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-floating-label {
82
- top: math.div($height, 2);
83
- }
84
-
85
- // For the outline appearance, we re-create the active floating label transform. This is
86
- // necessary because the transform for docked floating labels can be updated to account for
87
- // the width of prefix container.
88
- .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded
89
- .mdc-floating-label--float-above {
90
- --mat-mdc-form-field-label-transform: translateY(
91
- -#{mdc-textfield.get-outlined-label-position-y($height)})
92
- scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
93
- transform: var(--mat-mdc-form-field-label-transform);
94
- }
95
-
96
- // Add vertical spacing to the infix to ensure that outlined form fields have their controls
97
- // aligned as if there is no label. This is done similarly in MDC and is specified in the
98
- // Material Design specification. Outline form fields position the control as if there is no
99
- // label. This is because the label overflows the form-field and doesn't need space at the top.
100
- @include _infix-vertical-spacing-outlined($no-label-padding);
101
-
102
- // MDC hides labels for filled form fields when the form field height decreases. We match
103
- // this behavior in our custom density styles.
104
- @if $hide-filled-floating-label {
105
- // Update the spacing for filled form fields to account for the hidden floating label.
106
- @include _infix-vertical-spacing-filled(
107
- $no-label-padding, $no-label-padding);
108
- .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
109
- display: none;
110
- }
111
- }
112
- @else {
113
- // By default, filled form fields align their controls differently based on whether there
114
- // is a label or not. MDC does this too, but we cannot rely on their styles as we support
115
- // arbitrary form field controls and MDC only applies their spacing to the `<input>` elements.
116
- @include _infix-vertical-spacing-filled(
117
- $with-label-padding, $no-label-padding);
118
- }
119
- }
@@ -1,34 +0,0 @@
1
- @use '@angular/material' as mat;
2
- @use '@material/ripple/functions' as mdc-ripple-functions;
3
- @use '@material/textfield' as mdc-textfield;
4
-
5
- // MDC text-field uses `@material/ripple` in order to show a focus and hover effect for
6
- // text-fields. This is unnecessary because the ripples bring in a lot of unnecessary
7
- // styles and runtime code while the actual goal for the text-field is simply showing a
8
- // focus and hover effect. The ripples will unnecessarily provide CSS selectors and JS
9
- // runtime code for launching interaction ripples at pointer location. This is not needed
10
- // for the text-field, so we create our own minimal focus overlay styles. Our focus overlay
11
- // uses the exact same logic to compute the colors as in the default MDC text-field ripples.
12
- @mixin private-form-field-focus-overlay() {
13
- .mat-mdc-form-field-focus-overlay {
14
- @include mat.private-fill;
15
- opacity: 0;
16
- }
17
- }
18
-
19
- @mixin private-form-field-focus-overlay-color() {
20
- $focus-opacity: mdc-ripple-functions.states-opacity(mdc-textfield.$ink-color, focus);
21
- $hover-opacity: mdc-ripple-functions.states-opacity(mdc-textfield.$ink-color, hover);
22
-
23
- .mat-mdc-form-field-focus-overlay {
24
- background-color: mdc-textfield.$ink-color;
25
- }
26
-
27
- .mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay {
28
- opacity: $hover-opacity;
29
- }
30
-
31
- .mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
32
- opacity: $focus-opacity;
33
- }
34
- }
@@ -1,39 +0,0 @@
1
- @use '@angular/cdk';
2
-
3
- @mixin private-form-field-high-contrast() {
4
- $focus-indicator-width: 3px;
5
- $focus-indicator-style: dashed;
6
-
7
- .mat-form-field-appearance-fill {
8
- // The outline of the `fill` appearance is achieved through a background color
9
- // which won't be visible in high contrast mode. Add an outline to replace it.
10
- .mat-mdc-text-field-wrapper {
11
- @include cdk.high-contrast(active, off) {
12
- outline: solid 1px;
13
- }
14
- }
15
-
16
- // Use GreyText for the disabled outline color which will account for the user's configuration.
17
- &.mat-form-field-disabled .mat-mdc-text-field-wrapper {
18
- @include cdk.high-contrast(active, off) {
19
- outline-color: GrayText;
20
- }
21
- }
22
- }
23
-
24
- // If a form field with fill appearance is focused, update the outline to be
25
- // dashed and thicker to indicate focus.
26
- .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {
27
- @include cdk.high-contrast(active, off) {
28
- outline: $focus-indicator-style $focus-indicator-width;
29
- }
30
- }
31
-
32
- // For form fields with outline appearance, we show a dashed thick border on top
33
- // of the solid notched-outline border to indicate focus.
34
- .mat-mdc-form-field.mat-focused .mdc-notched-outline {
35
- @include cdk.high-contrast(active, off) {
36
- border: $focus-indicator-style $focus-indicator-width;
37
- }
38
- }
39
- }
@@ -1,133 +0,0 @@
1
- @use 'sass:map';
2
- @use 'sass:math';
3
- @use '@angular/material' as mat;
4
- @use '@material/theme/theme-color' as mdc-theme-color;
5
-
6
- @use '../mdc-core/mdc-helpers/mdc-helpers';
7
-
8
- // Width of the Material Design form-field select arrow.
9
- $mat-form-field-select-arrow-width: 10px;
10
- // Height of the Material Design form-field select arrow.
11
- $mat-form-field-select-arrow-height: 5px;
12
- // Horizontal padding that needs to be applied to the native select in an form-field so
13
- // that the absolute positioned arrow does not overlap the select content.
14
- $mat-form-field-select-horizontal-end-padding: $mat-form-field-select-arrow-width + 5px;
15
-
16
- // Mixin that creates styles for native select controls in a form-field.
17
- @mixin private-form-field-native-select() {
18
- // Remove the native select down arrow and ensure that the native appearance
19
- // does not conflict with the form-field. e.g. Focus indication of the native
20
- // select is undesired since we handle focus as part of the form-field.
21
- select.mat-mdc-form-field-input-control {
22
- -moz-appearance: none;
23
- -webkit-appearance: none;
24
- background-color: transparent;
25
- display: inline-flex;
26
- box-sizing: border-box;
27
-
28
- // By default the cursor does not change when hovering over a select. We want to
29
- // change this for non-disabled select elements so that it's more obvious that the
30
- // control can be clicked.
31
- &:not(:disabled) {
32
- cursor: pointer;
33
- }
34
- }
35
-
36
- // Native select elements with the `matInput` directive should have Material Design
37
- // styling. This means that we add an arrow to the form-field that is based on the
38
- // Material Design specification. We achieve this by adding a pseudo element to the
39
- // form-field infix.
40
- .mat-mdc-form-field-type-mat-native-select {
41
- .mat-mdc-form-field-infix::after {
42
- content: '';
43
- width: 0;
44
- height: 0;
45
- border-left: math.div($mat-form-field-select-arrow-width, 2) solid transparent;
46
- border-right: math.div($mat-form-field-select-arrow-width, 2) solid transparent;
47
- border-top: $mat-form-field-select-arrow-height solid;
48
- position: absolute;
49
- right: 0;
50
-
51
- // Make the arrow non-clickable so the user can click on the form control under it.
52
- pointer-events: none;
53
-
54
- [dir='rtl'] & {
55
- right: auto;
56
- left: 0;
57
- }
58
- }
59
-
60
- // Add padding on the end of the native select so that the content does not
61
- // overlap with the Material Design arrow.
62
- .mat-mdc-form-field-input-control {
63
- padding-right: $mat-form-field-select-horizontal-end-padding;
64
- [dir='rtl'] & {
65
- padding-right: 0;
66
- padding-left: $mat-form-field-select-horizontal-end-padding;
67
- }
68
- }
69
- }
70
- }
71
-
72
- // Gets the color to use for some text that is highlighted while a select has focus.
73
- @function _get-focused-arrow-color($palette) {
74
- @return rgba(mdc-theme-color.prop-value($palette), 0.87);
75
- }
76
-
77
- @mixin private-form-field-native-select-color($config) {
78
- @include mdc-helpers.mat-using-mdc-theme($config) {
79
- // These values are taken from the MDC select implementation:
80
- // https://github.com/material-components/material-components-web/blob/master/packages/mdc-select/_select-theme.scss
81
- $dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.54);
82
- $disabled-dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
83
-
84
- select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) {
85
- // On dark themes we set the native `select` color to some shade of white,
86
- // however the color propagates to all of the `option` elements, which are
87
- // always on a white background inside the dropdown, causing them to blend in.
88
- // Since we can't change background of the dropdown, we need to explicitly
89
- // reset the color of the options to something dark.
90
- @if (map.get($config, is-dark)) {
91
- option {
92
- color: mat.$private-dark-primary-text;
93
- }
94
-
95
- option:disabled {
96
- color: mat.$private-dark-disabled-text;
97
- }
98
- }
99
- }
100
-
101
- .mat-mdc-form-field-type-mat-native-select {
102
- .mat-mdc-form-field-infix::after {
103
- color: $dropdown-icon-color;
104
- }
105
-
106
- &.mat-focused {
107
- &.mat-primary {
108
- .mat-mdc-form-field-infix::after {
109
- color: _get-focused-arrow-color(primary);
110
- }
111
- }
112
-
113
- &.mat-accent {
114
- .mat-mdc-form-field-infix::after {
115
- color: _get-focused-arrow-color(secondary);
116
- }
117
- }
118
-
119
- &.mat-warn {
120
- .mat-mdc-form-field-infix::after {
121
- color: _get-focused-arrow-color(error);
122
- }
123
- }
124
- }
125
-
126
- &.mat-form-field-disabled {
127
- .mat-mdc-form-field-infix::after {
128
- color: $disabled-dropdown-icon-color;
129
- }
130
- }
131
- }
132
- }
133
- }
@@ -1,40 +0,0 @@
1
- // Top spacing of the form-field outline. MDC does not have a variable for this
2
- // and just hard-codes it into their styles.
3
- $mat-form-field-outline-top-spacing: 12px;
4
-
5
- // Infix stretches to fit the container, but naturally wants to be this wide. We set
6
- // this in order to have a a consistent natural size for the various types of controls
7
- // that can go in a form field.
8
- $mat-form-field-default-infix-width: 180px !default;
9
-
10
- // Minimum amount of space between start and end hints in the subscript. MDC does not
11
- // have built-in support for hints.
12
- $mat-form-field-hint-min-space: 1em !default;
13
-
14
- // Vertical spacing of the text-field if there is no label. MDC hard-codes the spacing
15
- // into their styles, but their spacing variables would not work for our form-field
16
- // structure anyway. This is because MDC's input elements are larger than the text, and
17
- // their padding variables are calculated with respect to the vertical empty space of the
18
- // inputs. We take the explicit numbers provided by the Material Design specification.
19
- // https://material.io/components/text-fields/#specs
20
-
21
- // Vertical spacing of the text-field if there is a label. MDC hard-codes the spacing into
22
- // their styles, but their spacing variables would not work for our form-field structure anyway.
23
- // This is because MDC's alignment depends on the input element to expand to full infix height.
24
- // We allow for arbitrary form controls and support dynamic height, so we manage the control
25
- // infix alignment through padding on the infix that works for any control. We manually measure
26
- // spacing as provided by the Material Design specification. The outlined dimensions in the
27
- // spec section do not match with the text fields shown in the overview or the ones implemented
28
- // by MDC. Note that we need to account for the input box offset. See above for more context.
29
- $mat-form-field-with-label-input-padding-top: 24px;
30
- $mat-form-field-with-label-input-padding-bottom: 8px;
31
-
32
- // Vertical spacing of the text-field if there is no label. We manually measure the
33
- // spacing in the specs. See comment above for padding for text fields with label. The
34
- // same reasoning applies to the padding for text fields without label.
35
- $mat-form-field-no-label-padding-bottom: 16px;
36
- $mat-form-field-no-label-padding-top: 16px;
37
-
38
- // The amount of padding between the icon prefix/suffix and the infix.
39
- // This assumes that the icon will be a 24px square with 12px padding.
40
- $mat-form-field-icon-prefix-infix-padding: 4px;