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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/_index.scss +0 -69
  2. package/column-resize/index.d.ts +7 -7
  3. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  7. package/esm2020/column-resize/column-resize-module.mjs +13 -13
  8. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  9. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
  10. package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
  11. package/esm2020/column-resize/resize-strategy.mjs +4 -4
  12. package/esm2020/menubar/menubar-item.mjs +4 -4
  13. package/esm2020/menubar/menubar-module.mjs +5 -5
  14. package/esm2020/menubar/menubar.mjs +4 -4
  15. package/esm2020/popover-edit/lens-directives.mjs +10 -10
  16. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  17. package/esm2020/popover-edit/table-directives.mjs +13 -13
  18. package/esm2020/selection/row-selection.mjs +4 -4
  19. package/esm2020/selection/select-all.mjs +4 -4
  20. package/esm2020/selection/selection-column.mjs +12 -12
  21. package/esm2020/selection/selection-module.mjs +8 -8
  22. package/esm2020/selection/selection-toggle.mjs +4 -4
  23. package/esm2020/selection/selection.mjs +4 -4
  24. package/esm2020/version.mjs +1 -1
  25. package/fesm2015/column-resize.mjs +36 -36
  26. package/fesm2015/column-resize.mjs.map +1 -1
  27. package/fesm2015/material-experimental.mjs +1 -1
  28. package/fesm2015/material-experimental.mjs.map +1 -1
  29. package/fesm2015/menubar.mjs +10 -10
  30. package/fesm2015/menubar.mjs.map +1 -1
  31. package/fesm2015/popover-edit.mjs +25 -25
  32. package/fesm2015/popover-edit.mjs.map +1 -1
  33. package/fesm2015/selection.mjs +29 -29
  34. package/fesm2015/selection.mjs.map +1 -1
  35. package/fesm2020/column-resize.mjs +36 -36
  36. package/fesm2020/column-resize.mjs.map +1 -1
  37. package/fesm2020/material-experimental.mjs +1 -1
  38. package/fesm2020/material-experimental.mjs.map +1 -1
  39. package/fesm2020/menubar.mjs +10 -10
  40. package/fesm2020/menubar.mjs.map +1 -1
  41. package/fesm2020/popover-edit.mjs +25 -25
  42. package/fesm2020/popover-edit.mjs.map +1 -1
  43. package/fesm2020/selection.mjs +29 -29
  44. package/fesm2020/selection.mjs.map +1 -1
  45. package/menubar/index.d.ts +2 -2
  46. package/package.json +55 -422
  47. package/popover-edit/index.d.ts +7 -7
  48. package/selection/index.d.ts +9 -9
  49. package/esm2020/mdc-autocomplete/animations.mjs +0 -25
  50. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
  51. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
  52. package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
  53. package/esm2020/mdc-autocomplete/index.mjs +0 -9
  54. package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
  55. package/esm2020/mdc-autocomplete/module.mjs +0 -46
  56. package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
  57. package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  58. package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
  59. package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
  60. package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
  61. package/esm2020/mdc-button/button-base.mjs +0 -152
  62. package/esm2020/mdc-button/button.mjs +0 -69
  63. package/esm2020/mdc-button/fab.mjs +0 -175
  64. package/esm2020/mdc-button/icon-button.mjs +0 -57
  65. package/esm2020/mdc-button/index.mjs +0 -9
  66. package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
  67. package/esm2020/mdc-button/module.mjs +0 -61
  68. package/esm2020/mdc-button/public-api.mjs +0 -12
  69. package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
  70. package/esm2020/mdc-button/testing/index.mjs +0 -9
  71. package/esm2020/mdc-button/testing/public-api.mjs +0 -9
  72. package/esm2020/mdc-card/card.mjs +0 -261
  73. package/esm2020/mdc-card/index.mjs +0 -9
  74. package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
  75. package/esm2020/mdc-card/module.mjs +0 -68
  76. package/esm2020/mdc-card/public-api.mjs +0 -10
  77. package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
  78. package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
  79. package/esm2020/mdc-card/testing/index.mjs +0 -9
  80. package/esm2020/mdc-card/testing/public-api.mjs +0 -10
  81. package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
  82. package/esm2020/mdc-checkbox/index.mjs +0 -9
  83. package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
  84. package/esm2020/mdc-checkbox/module.mjs +0 -26
  85. package/esm2020/mdc-checkbox/public-api.mjs +0 -11
  86. package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
  87. package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
  88. package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
  89. package/esm2020/mdc-chips/chip-action.mjs +0 -90
  90. package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
  91. package/esm2020/mdc-chips/chip-grid.mjs +0 -407
  92. package/esm2020/mdc-chips/chip-icons.mjs +0 -110
  93. package/esm2020/mdc-chips/chip-input.mjs +0 -212
  94. package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
  95. package/esm2020/mdc-chips/chip-option.mjs +0 -160
  96. package/esm2020/mdc-chips/chip-row.mjs +0 -176
  97. package/esm2020/mdc-chips/chip-set.mjs +0 -271
  98. package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
  99. package/esm2020/mdc-chips/chip.mjs +0 -287
  100. package/esm2020/mdc-chips/index.mjs +0 -9
  101. package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
  102. package/esm2020/mdc-chips/module.mjs +0 -87
  103. package/esm2020/mdc-chips/public-api.mjs +0 -20
  104. package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
  105. package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
  106. package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
  107. package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
  108. package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
  109. package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
  110. package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
  111. package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
  112. package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
  113. package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
  114. package/esm2020/mdc-chips/testing/index.mjs +0 -9
  115. package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
  116. package/esm2020/mdc-chips/tokens.mjs +0 -33
  117. package/esm2020/mdc-core/index.mjs +0 -9
  118. package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
  119. package/esm2020/mdc-core/option/index.mjs +0 -30
  120. package/esm2020/mdc-core/option/optgroup.mjs +0 -46
  121. package/esm2020/mdc-core/option/option.mjs +0 -52
  122. package/esm2020/mdc-core/public-api.mjs +0 -10
  123. package/esm2020/mdc-core/testing/index.mjs +0 -9
  124. package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
  125. package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
  126. package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
  127. package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
  128. package/esm2020/mdc-core/testing/public-api.mjs +0 -12
  129. package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
  130. package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
  131. package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
  132. package/esm2020/mdc-dialog/dialog.mjs +0 -82
  133. package/esm2020/mdc-dialog/index.mjs +0 -9
  134. package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
  135. package/esm2020/mdc-dialog/module.mjs +0 -53
  136. package/esm2020/mdc-dialog/public-api.mjs +0 -14
  137. package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
  138. package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
  139. package/esm2020/mdc-dialog/testing/index.mjs +0 -9
  140. package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
  141. package/esm2020/mdc-form-field/directives/error.mjs +0 -47
  142. package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
  143. package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
  144. package/esm2020/mdc-form-field/directives/label.mjs +0 -21
  145. package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
  146. package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
  147. package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
  148. package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
  149. package/esm2020/mdc-form-field/form-field.mjs +0 -608
  150. package/esm2020/mdc-form-field/index.mjs +0 -9
  151. package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
  152. package/esm2020/mdc-form-field/module.mjs +0 -53
  153. package/esm2020/mdc-form-field/public-api.mjs +0 -16
  154. package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
  155. package/esm2020/mdc-form-field/testing/index.mjs +0 -9
  156. package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
  157. package/esm2020/mdc-input/index.mjs +0 -9
  158. package/esm2020/mdc-input/input.mjs +0 -55
  159. package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
  160. package/esm2020/mdc-input/module.mjs +0 -27
  161. package/esm2020/mdc-input/public-api.mjs +0 -11
  162. package/esm2020/mdc-input/testing/index.mjs +0 -9
  163. package/esm2020/mdc-input/testing/public-api.mjs +0 -9
  164. package/esm2020/mdc-list/action-list.mjs +0 -31
  165. package/esm2020/mdc-list/index.mjs +0 -9
  166. package/esm2020/mdc-list/list-base.mjs +0 -272
  167. package/esm2020/mdc-list/list-item-sections.mjs +0 -138
  168. package/esm2020/mdc-list/list-option-types.mjs +0 -16
  169. package/esm2020/mdc-list/list-option.mjs +0 -253
  170. package/esm2020/mdc-list/list.mjs +0 -82
  171. package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
  172. package/esm2020/mdc-list/module.mjs +0 -98
  173. package/esm2020/mdc-list/nav-list.mjs +0 -31
  174. package/esm2020/mdc-list/public-api.mjs +0 -18
  175. package/esm2020/mdc-list/selection-list.mjs +0 -338
  176. package/esm2020/mdc-list/subheader.mjs +0 -27
  177. package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
  178. package/esm2020/mdc-list/testing/index.mjs +0 -9
  179. package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
  180. package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
  181. package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
  182. package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
  183. package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
  184. package/esm2020/mdc-list/testing/public-api.mjs +0 -14
  185. package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
  186. package/esm2020/mdc-menu/directives.mjs +0 -38
  187. package/esm2020/mdc-menu/index.mjs +0 -9
  188. package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
  189. package/esm2020/mdc-menu/menu-item.mjs +0 -36
  190. package/esm2020/mdc-menu/menu.mjs +0 -43
  191. package/esm2020/mdc-menu/module.mjs +0 -44
  192. package/esm2020/mdc-menu/public-api.mjs +0 -13
  193. package/esm2020/mdc-menu/testing/index.mjs +0 -9
  194. package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
  195. package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
  196. package/esm2020/mdc-paginator/index.mjs +0 -9
  197. package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
  198. package/esm2020/mdc-paginator/module.mjs +0 -30
  199. package/esm2020/mdc-paginator/paginator.mjs +0 -48
  200. package/esm2020/mdc-paginator/public-api.mjs +0 -11
  201. package/esm2020/mdc-paginator/testing/index.mjs +0 -9
  202. package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
  203. package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
  204. package/esm2020/mdc-progress-bar/index.mjs +0 -9
  205. package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
  206. package/esm2020/mdc-progress-bar/module.mjs +0 -24
  207. package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
  208. package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
  209. package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
  210. package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
  211. package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
  212. package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
  213. package/esm2020/mdc-progress-spinner/index.mjs +0 -9
  214. package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
  215. package/esm2020/mdc-progress-spinner/module.mjs +0 -26
  216. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
  217. package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
  218. package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
  219. package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  220. package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
  221. package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
  222. package/esm2020/mdc-radio/index.mjs +0 -9
  223. package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
  224. package/esm2020/mdc-radio/module.mjs +0 -26
  225. package/esm2020/mdc-radio/public-api.mjs +0 -11
  226. package/esm2020/mdc-radio/radio.mjs +0 -111
  227. package/esm2020/mdc-radio/testing/index.mjs +0 -9
  228. package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
  229. package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
  230. package/esm2020/mdc-select/index.mjs +0 -9
  231. package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
  232. package/esm2020/mdc-select/module.mjs +0 -46
  233. package/esm2020/mdc-select/public-api.mjs +0 -12
  234. package/esm2020/mdc-select/select-animations.mjs +0 -38
  235. package/esm2020/mdc-select/select-errors.mjs +0 -35
  236. package/esm2020/mdc-select/select.mjs +0 -172
  237. package/esm2020/mdc-select/testing/index.mjs +0 -9
  238. package/esm2020/mdc-select/testing/public-api.mjs +0 -10
  239. package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
  240. package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
  241. package/esm2020/mdc-slide-toggle/index.mjs +0 -9
  242. package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
  243. package/esm2020/mdc-slide-toggle/module.mjs +0 -27
  244. package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
  245. package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
  246. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
  247. package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
  248. package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
  249. package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
  250. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
  251. package/esm2020/mdc-slider/index.mjs +0 -9
  252. package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
  253. package/esm2020/mdc-slider/module.mjs +0 -26
  254. package/esm2020/mdc-slider/public-api.mjs +0 -10
  255. package/esm2020/mdc-slider/slider.mjs +0 -1094
  256. package/esm2020/mdc-slider/testing/index.mjs +0 -9
  257. package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
  258. package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
  259. package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
  260. package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
  261. package/esm2020/mdc-snack-bar/index.mjs +0 -9
  262. package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
  263. package/esm2020/mdc-snack-bar/module.mjs +0 -51
  264. package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
  265. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
  266. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
  267. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
  268. package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
  269. package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
  270. package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
  271. package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
  272. package/esm2020/mdc-table/cell.mjs +0 -141
  273. package/esm2020/mdc-table/index.mjs +0 -9
  274. package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
  275. package/esm2020/mdc-table/module.mjs +0 -94
  276. package/esm2020/mdc-table/public-api.mjs +0 -14
  277. package/esm2020/mdc-table/row.mjs +0 -143
  278. package/esm2020/mdc-table/table-data-source.mjs +0 -24
  279. package/esm2020/mdc-table/table.mjs +0 -74
  280. package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
  281. package/esm2020/mdc-table/testing/index.mjs +0 -9
  282. package/esm2020/mdc-table/testing/public-api.mjs +0 -11
  283. package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
  284. package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
  285. package/esm2020/mdc-table/text-column.mjs +0 -58
  286. package/esm2020/mdc-tabs/index.mjs +0 -9
  287. package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
  288. package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
  289. package/esm2020/mdc-tabs/module.mjs +0 -93
  290. package/esm2020/mdc-tabs/public-api.mjs +0 -19
  291. package/esm2020/mdc-tabs/tab-body.mjs +0 -60
  292. package/esm2020/mdc-tabs/tab-content.mjs +0 -20
  293. package/esm2020/mdc-tabs/tab-group.mjs +0 -98
  294. package/esm2020/mdc-tabs/tab-header.mjs +0 -73
  295. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
  296. package/esm2020/mdc-tabs/tab-label.mjs +0 -22
  297. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
  298. package/esm2020/mdc-tabs/tab.mjs +0 -34
  299. package/esm2020/mdc-tabs/testing/index.mjs +0 -9
  300. package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
  301. package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
  302. package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
  303. package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
  304. package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
  305. package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
  306. package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
  307. package/esm2020/mdc-tooltip/index.mjs +0 -9
  308. package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
  309. package/esm2020/mdc-tooltip/module.mjs +0 -31
  310. package/esm2020/mdc-tooltip/public-api.mjs +0 -12
  311. package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
  312. package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
  313. package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
  314. package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
  315. package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
  316. package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
  317. package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
  318. package/fesm2015/mdc-autocomplete.mjs +0 -196
  319. package/fesm2015/mdc-autocomplete.mjs.map +0 -1
  320. package/fesm2015/mdc-button/testing.mjs +0 -75
  321. package/fesm2015/mdc-button/testing.mjs.map +0 -1
  322. package/fesm2015/mdc-button.mjs +0 -490
  323. package/fesm2015/mdc-button.mjs.map +0 -1
  324. package/fesm2015/mdc-card/testing.mjs +0 -63
  325. package/fesm2015/mdc-card/testing.mjs.map +0 -1
  326. package/fesm2015/mdc-card.mjs +0 -351
  327. package/fesm2015/mdc-card.mjs.map +0 -1
  328. package/fesm2015/mdc-checkbox/testing.mjs +0 -56
  329. package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
  330. package/fesm2015/mdc-checkbox.mjs +0 -142
  331. package/fesm2015/mdc-checkbox.mjs.map +0 -1
  332. package/fesm2015/mdc-chips/testing.mjs +0 -394
  333. package/fesm2015/mdc-chips/testing.mjs.map +0 -1
  334. package/fesm2015/mdc-chips.mjs +0 -2169
  335. package/fesm2015/mdc-chips.mjs.map +0 -1
  336. package/fesm2015/mdc-core/testing.mjs +0 -118
  337. package/fesm2015/mdc-core/testing.mjs.map +0 -1
  338. package/fesm2015/mdc-core.mjs +0 -141
  339. package/fesm2015/mdc-core.mjs.map +0 -1
  340. package/fesm2015/mdc-dialog/testing.mjs +0 -90
  341. package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
  342. package/fesm2015/mdc-dialog.mjs +0 -500
  343. package/fesm2015/mdc-dialog.mjs.map +0 -1
  344. package/fesm2015/mdc-form-field/testing.mjs +0 -78
  345. package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
  346. package/fesm2015/mdc-form-field.mjs +0 -1018
  347. package/fesm2015/mdc-form-field.mjs.map +0 -1
  348. package/fesm2015/mdc-input/testing.mjs +0 -18
  349. package/fesm2015/mdc-input/testing.mjs.map +0 -1
  350. package/fesm2015/mdc-input.mjs +0 -103
  351. package/fesm2015/mdc-input.mjs.map +0 -1
  352. package/fesm2015/mdc-list/testing.mjs +0 -574
  353. package/fesm2015/mdc-list/testing.mjs.map +0 -1
  354. package/fesm2015/mdc-list.mjs +0 -1264
  355. package/fesm2015/mdc-list.mjs.map +0 -1
  356. package/fesm2015/mdc-menu/testing.mjs +0 -59
  357. package/fesm2015/mdc-menu/testing.mjs.map +0 -1
  358. package/fesm2015/mdc-menu.mjs +0 -174
  359. package/fesm2015/mdc-menu.mjs.map +0 -1
  360. package/fesm2015/mdc-paginator/testing.mjs +0 -55
  361. package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
  362. package/fesm2015/mdc-paginator.mjs +0 -100
  363. package/fesm2015/mdc-paginator.mjs.map +0 -1
  364. package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
  365. package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
  366. package/fesm2015/mdc-progress-bar.mjs +0 -198
  367. package/fesm2015/mdc-progress-bar.mjs.map +0 -1
  368. package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
  369. package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
  370. package/fesm2015/mdc-progress-spinner.mjs +0 -200
  371. package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
  372. package/fesm2015/mdc-radio/testing.mjs +0 -63
  373. package/fesm2015/mdc-radio/testing.mjs.map +0 -1
  374. package/fesm2015/mdc-radio.mjs +0 -155
  375. package/fesm2015/mdc-radio.mjs.map +0 -1
  376. package/fesm2015/mdc-select/testing.mjs +0 -48
  377. package/fesm2015/mdc-select/testing.mjs.map +0 -1
  378. package/fesm2015/mdc-select.mjs +0 -273
  379. package/fesm2015/mdc-select.mjs.map +0 -1
  380. package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
  381. package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
  382. package/fesm2015/mdc-slide-toggle.mjs +0 -159
  383. package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
  384. package/fesm2015/mdc-slider/testing.mjs +0 -199
  385. package/fesm2015/mdc-slider/testing.mjs.map +0 -1
  386. package/fesm2015/mdc-slider.mjs +0 -1212
  387. package/fesm2015/mdc-slider.mjs.map +0 -1
  388. package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
  389. package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
  390. package/fesm2015/mdc-snack-bar.mjs +0 -229
  391. package/fesm2015/mdc-snack-bar.mjs.map +0 -1
  392. package/fesm2015/mdc-table/testing.mjs +0 -158
  393. package/fesm2015/mdc-table/testing.mjs.map +0 -1
  394. package/fesm2015/mdc-table.mjs +0 -540
  395. package/fesm2015/mdc-table.mjs.map +0 -1
  396. package/fesm2015/mdc-tabs/testing.mjs +0 -273
  397. package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
  398. package/fesm2015/mdc-tabs.mjs +0 -737
  399. package/fesm2015/mdc-tabs.mjs.map +0 -1
  400. package/fesm2015/mdc-tooltip/testing.mjs +0 -49
  401. package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
  402. package/fesm2015/mdc-tooltip.mjs +0 -206
  403. package/fesm2015/mdc-tooltip.mjs.map +0 -1
  404. package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
  405. package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
  406. package/fesm2020/mdc-autocomplete.mjs +0 -196
  407. package/fesm2020/mdc-autocomplete.mjs.map +0 -1
  408. package/fesm2020/mdc-button/testing.mjs +0 -69
  409. package/fesm2020/mdc-button/testing.mjs.map +0 -1
  410. package/fesm2020/mdc-button.mjs +0 -510
  411. package/fesm2020/mdc-button.mjs.map +0 -1
  412. package/fesm2020/mdc-card/testing.mjs +0 -69
  413. package/fesm2020/mdc-card/testing.mjs.map +0 -1
  414. package/fesm2020/mdc-card.mjs +0 -349
  415. package/fesm2020/mdc-card.mjs.map +0 -1
  416. package/fesm2020/mdc-checkbox/testing.mjs +0 -60
  417. package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
  418. package/fesm2020/mdc-checkbox.mjs +0 -139
  419. package/fesm2020/mdc-checkbox.mjs.map +0 -1
  420. package/fesm2020/mdc-chips/testing.mjs +0 -395
  421. package/fesm2020/mdc-chips/testing.mjs.map +0 -1
  422. package/fesm2020/mdc-chips.mjs +0 -2161
  423. package/fesm2020/mdc-chips.mjs.map +0 -1
  424. package/fesm2020/mdc-core/testing.mjs +0 -129
  425. package/fesm2020/mdc-core/testing.mjs.map +0 -1
  426. package/fesm2020/mdc-core.mjs +0 -139
  427. package/fesm2020/mdc-core.mjs.map +0 -1
  428. package/fesm2020/mdc-dialog/testing.mjs +0 -90
  429. package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
  430. package/fesm2020/mdc-dialog.mjs +0 -499
  431. package/fesm2020/mdc-dialog.mjs.map +0 -1
  432. package/fesm2020/mdc-form-field/testing.mjs +0 -78
  433. package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
  434. package/fesm2020/mdc-form-field.mjs +0 -1014
  435. package/fesm2020/mdc-form-field.mjs.map +0 -1
  436. package/fesm2020/mdc-input/testing.mjs +0 -18
  437. package/fesm2020/mdc-input/testing.mjs.map +0 -1
  438. package/fesm2020/mdc-input.mjs +0 -103
  439. package/fesm2020/mdc-input.mjs.map +0 -1
  440. package/fesm2020/mdc-list/testing.mjs +0 -544
  441. package/fesm2020/mdc-list/testing.mjs.map +0 -1
  442. package/fesm2020/mdc-list.mjs +0 -1260
  443. package/fesm2020/mdc-list.mjs.map +0 -1
  444. package/fesm2020/mdc-menu/testing.mjs +0 -65
  445. package/fesm2020/mdc-menu/testing.mjs.map +0 -1
  446. package/fesm2020/mdc-menu.mjs +0 -172
  447. package/fesm2020/mdc-menu.mjs.map +0 -1
  448. package/fesm2020/mdc-paginator/testing.mjs +0 -55
  449. package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
  450. package/fesm2020/mdc-paginator.mjs +0 -98
  451. package/fesm2020/mdc-paginator.mjs.map +0 -1
  452. package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
  453. package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
  454. package/fesm2020/mdc-progress-bar.mjs +0 -196
  455. package/fesm2020/mdc-progress-bar.mjs.map +0 -1
  456. package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
  457. package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
  458. package/fesm2020/mdc-progress-spinner.mjs +0 -197
  459. package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
  460. package/fesm2020/mdc-radio/testing.mjs +0 -69
  461. package/fesm2020/mdc-radio/testing.mjs.map +0 -1
  462. package/fesm2020/mdc-radio.mjs +0 -153
  463. package/fesm2020/mdc-radio.mjs.map +0 -1
  464. package/fesm2020/mdc-select/testing.mjs +0 -56
  465. package/fesm2020/mdc-select/testing.mjs.map +0 -1
  466. package/fesm2020/mdc-select.mjs +0 -273
  467. package/fesm2020/mdc-select.mjs.map +0 -1
  468. package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
  469. package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
  470. package/fesm2020/mdc-slide-toggle.mjs +0 -157
  471. package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
  472. package/fesm2020/mdc-slider/testing.mjs +0 -172
  473. package/fesm2020/mdc-slider/testing.mjs.map +0 -1
  474. package/fesm2020/mdc-slider.mjs +0 -1191
  475. package/fesm2020/mdc-slider.mjs.map +0 -1
  476. package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
  477. package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
  478. package/fesm2020/mdc-snack-bar.mjs +0 -232
  479. package/fesm2020/mdc-snack-bar.mjs.map +0 -1
  480. package/fesm2020/mdc-table/testing.mjs +0 -158
  481. package/fesm2020/mdc-table/testing.mjs.map +0 -1
  482. package/fesm2020/mdc-table.mjs +0 -539
  483. package/fesm2020/mdc-table.mjs.map +0 -1
  484. package/fesm2020/mdc-tabs/testing.mjs +0 -265
  485. package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
  486. package/fesm2020/mdc-tabs.mjs +0 -723
  487. package/fesm2020/mdc-tabs.mjs.map +0 -1
  488. package/fesm2020/mdc-tooltip/testing.mjs +0 -49
  489. package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
  490. package/fesm2020/mdc-tooltip.mjs +0 -202
  491. package/fesm2020/mdc-tooltip.mjs.map +0 -1
  492. package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
  493. package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
  494. package/mdc-autocomplete/index.d.ts +0 -97
  495. package/mdc-autocomplete/testing/index.d.ts +0 -32
  496. package/mdc-button/_button-base.import.scss +0 -4
  497. package/mdc-button/_button-base.scss +0 -95
  498. package/mdc-button/_button-theme-private.scss +0 -62
  499. package/mdc-button/_button-theme.import.scss +0 -16
  500. package/mdc-button/_button-theme.scss +0 -224
  501. package/mdc-button/_fab-theme.scss +0 -90
  502. package/mdc-button/_icon-button-theme.scss +0 -76
  503. package/mdc-button/index.d.ts +0 -216
  504. package/mdc-button/testing/index.d.ts +0 -41
  505. package/mdc-card/_card-theme.import.scss +0 -7
  506. package/mdc-card/_card-theme.scss +0 -74
  507. package/mdc-card/index.d.ts +0 -194
  508. package/mdc-card/testing/index.d.ts +0 -44
  509. package/mdc-checkbox/_checkbox-private.scss +0 -53
  510. package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
  511. package/mdc-checkbox/_checkbox-theme.scss +0 -122
  512. package/mdc-checkbox/index.d.ts +0 -87
  513. package/mdc-checkbox/testing/index.d.ts +0 -28
  514. package/mdc-chips/_chips-theme.import.scss +0 -8
  515. package/mdc-chips/_chips-theme.scss +0 -117
  516. package/mdc-chips/index.d.ts +0 -979
  517. package/mdc-chips/testing/index.d.ts +0 -232
  518. package/mdc-core/_core-theme.import.scss +0 -10
  519. package/mdc-core/_core-theme.scss +0 -78
  520. package/mdc-core/_elevation.scss +0 -38
  521. package/mdc-core/color/_all-color.scss +0 -25
  522. package/mdc-core/density/_all-density.scss +0 -25
  523. package/mdc-core/index.d.ts +0 -206
  524. package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
  525. package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
  526. package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
  527. package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
  528. package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
  529. package/mdc-core/option/_optgroup-theme.import.scss +0 -7
  530. package/mdc-core/option/_optgroup-theme.scss +0 -44
  531. package/mdc-core/option/_option-theme.import.scss +0 -7
  532. package/mdc-core/option/_option-theme.scss +0 -87
  533. package/mdc-core/testing/index.d.ts +0 -64
  534. package/mdc-core/theming/_all-theme.scss +0 -61
  535. package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
  536. package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
  537. package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
  538. package/mdc-core/theming/prebuilt/purple-green.css +0 -1
  539. package/mdc-core/typography/_all-typography.scss +0 -99
  540. package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
  541. package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
  542. package/mdc-dialog/_dialog-theme.import.scss +0 -5
  543. package/mdc-dialog/_dialog-theme.scss +0 -78
  544. package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  545. package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
  546. package/mdc-dialog/index.d.ts +0 -217
  547. package/mdc-dialog/testing/index.d.ts +0 -47
  548. package/mdc-form-field/_form-field-density.scss +0 -119
  549. package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
  550. package/mdc-form-field/_form-field-high-contrast.scss +0 -39
  551. package/mdc-form-field/_form-field-native-select.scss +0 -133
  552. package/mdc-form-field/_form-field-sizing.scss +0 -40
  553. package/mdc-form-field/_form-field-subscript.scss +0 -83
  554. package/mdc-form-field/_form-field-theme.scss +0 -148
  555. package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
  556. package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  557. package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
  558. package/mdc-form-field/index.d.ts +0 -431
  559. package/mdc-form-field/testing/index.d.ts +0 -48
  560. package/mdc-input/_input-theme.import.scss +0 -5
  561. package/mdc-input/_input-theme.scss +0 -35
  562. package/mdc-input/index.d.ts +0 -30
  563. package/mdc-input/testing/index.d.ts +0 -20
  564. package/mdc-list/_interactive-list-theme.import.scss +0 -5
  565. package/mdc-list/_interactive-list-theme.scss +0 -40
  566. package/mdc-list/_list-option-theme.import.scss +0 -13
  567. package/mdc-list/_list-option-theme.scss +0 -28
  568. package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
  569. package/mdc-list/_list-theme.import.scss +0 -17
  570. package/mdc-list/_list-theme.scss +0 -81
  571. package/mdc-list/index.d.ts +0 -534
  572. package/mdc-list/testing/index.d.ts +0 -372
  573. package/mdc-menu/_menu-theme.import.scss +0 -5
  574. package/mdc-menu/_menu-theme.scss +0 -88
  575. package/mdc-menu/index.d.ts +0 -110
  576. package/mdc-menu/testing/index.d.ts +0 -38
  577. package/mdc-paginator/_paginator-theme.import.scss +0 -9
  578. package/mdc-paginator/_paginator-theme.scss +0 -106
  579. package/mdc-paginator/_paginator-variables.import.scss +0 -1
  580. package/mdc-paginator/_paginator-variables.scss +0 -13
  581. package/mdc-paginator/index.d.ts +0 -72
  582. package/mdc-paginator/testing/index.d.ts +0 -30
  583. package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
  584. package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
  585. package/mdc-progress-bar/index.d.ts +0 -98
  586. package/mdc-progress-bar/testing/index.d.ts +0 -24
  587. package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
  588. package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
  589. package/mdc-progress-spinner/index.d.ts +0 -90
  590. package/mdc-progress-spinner/testing/index.d.ts +0 -26
  591. package/mdc-radio/_radio-theme.import.scss +0 -7
  592. package/mdc-radio/_radio-theme.scss +0 -110
  593. package/mdc-radio/index.d.ts +0 -72
  594. package/mdc-radio/testing/index.d.ts +0 -43
  595. package/mdc-select/_select-theme.import.scss +0 -10
  596. package/mdc-select/_select-theme.scss +0 -100
  597. package/mdc-select/index.d.ts +0 -111
  598. package/mdc-select/testing/index.d.ts +0 -28
  599. package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  600. package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
  601. package/mdc-slide-toggle/index.d.ts +0 -83
  602. package/mdc-slide-toggle/testing/index.d.ts +0 -27
  603. package/mdc-slider/_slider-theme.import.scss +0 -5
  604. package/mdc-slider/_slider-theme.scss +0 -125
  605. package/mdc-slider/index.d.ts +0 -435
  606. package/mdc-slider/testing/index.d.ts +0 -92
  607. package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
  608. package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
  609. package/mdc-snack-bar/index.d.ts +0 -136
  610. package/mdc-snack-bar/testing/index.d.ts +0 -23
  611. package/mdc-table/_table-theme.import.scss +0 -11
  612. package/mdc-table/_table-theme.scss +0 -78
  613. package/mdc-table/index.d.ts +0 -238
  614. package/mdc-table/testing/index.d.ts +0 -118
  615. package/mdc-tabs/_tabs-common.import.scss +0 -14
  616. package/mdc-tabs/_tabs-common.scss +0 -196
  617. package/mdc-tabs/_tabs-theme.import.scss +0 -8
  618. package/mdc-tabs/_tabs-theme.scss +0 -146
  619. package/mdc-tabs/index.d.ts +0 -307
  620. package/mdc-tabs/testing/index.d.ts +0 -151
  621. package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
  622. package/mdc-tooltip/_tooltip-theme.scss +0 -49
  623. package/mdc-tooltip/index.d.ts +0 -118
  624. package/mdc-tooltip/testing/index.d.ts +0 -26
@@ -1,83 +0,0 @@
1
-
2
- @use '@angular/material' as mat;
3
- @use '@material/textfield' as mdc-textfield;
4
- @use '@material/theme/theme' as mdc-theme;
5
- @use '@material/typography' as mdc-typography;
6
- @use '@material/textfield/variables' as mdc-textfield-variables;
7
-
8
- @use './form-field-sizing';
9
- @use '../mdc-core/mdc-helpers/mdc-helpers';
10
-
11
- @mixin private-form-field-subscript() {
12
- // Wrapper for the hints and error messages.
13
- .mat-mdc-form-field-subscript-wrapper {
14
- box-sizing: border-box;
15
- width: 100%;
16
- position: relative;
17
- }
18
-
19
- .mat-mdc-form-field-hint-wrapper,
20
- .mat-mdc-form-field-error-wrapper {
21
- position: absolute;
22
- top: 0;
23
- left: 0;
24
- right: 0;
25
- padding: 0 mdc-textfield-variables.$padding-horizontal;
26
- }
27
-
28
- .mat-mdc-form-field-subscript-dynamic-size {
29
- .mat-mdc-form-field-hint-wrapper,
30
- .mat-mdc-form-field-error-wrapper {
31
- position: static;
32
- }
33
- }
34
-
35
- .mat-mdc-form-field-bottom-align::before {
36
- content: '';
37
- display: inline-block;
38
- height: 16px;
39
- }
40
-
41
- .mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {
42
- content: unset;
43
- }
44
-
45
- .mat-mdc-form-field-hint-end {
46
- order: 1;
47
- }
48
-
49
- // Clears the floats on the hints. This is necessary for the hint animation to work.
50
- .mat-mdc-form-field-hint-wrapper {
51
- display: flex;
52
- }
53
-
54
- // Spacer used to make sure start and end hints have enough space between them.
55
- .mat-mdc-form-field-hint-spacer {
56
- flex: 1 0 form-field-sizing.$mat-form-field-hint-min-space;
57
- }
58
-
59
- // Single error message displayed beneath the form field underline.
60
- .mat-mdc-form-field-error {
61
- display: block;
62
- }
63
- }
64
-
65
- @mixin private-form-field-subscript-color() {
66
- // MDC does not have built-in error treatment.
67
- .mat-mdc-form-field-error {
68
- @include mdc-theme.prop(color, mdc-textfield.$error);
69
- }
70
- }
71
-
72
- // We need to define our own typography for the subscript because we don't include MDC's
73
- // helper text in our MDC based form field
74
- @mixin private-form-field-subscript-typography($config-or-theme) {
75
- $config: mat.get-typography-config($config-or-theme);
76
-
77
- // The subscript wrapper has a minimum height to avoid that the form-field
78
- // jumps when hints or errors are displayed.
79
- .mat-mdc-form-field-subscript-wrapper,
80
- .mat-mdc-form-field-bottom-align::before {
81
- @include mdc-typography.typography(caption, $query: mdc-helpers.$mat-typography-styles-query);
82
- }
83
- }
@@ -1,148 +0,0 @@
1
- @use '@angular/material' as mat;
2
- @use '@material/textfield' as mdc-textfield;
3
- @use '@material/floating-label' as mdc-floating-label;
4
- @use '@material/notched-outline' as mdc-notched-outline;
5
- @use '@material/line-ripple' as mdc-line-ripple;
6
- @use '@material/theme/theme-color' as mdc-theme-color;
7
- @use '@material/typography/typography' as mdc-typography;
8
-
9
- @use '../mdc-core/mdc-helpers/mdc-helpers';
10
- @use './form-field-density';
11
- @use './form-field-subscript';
12
- @use './form-field-focus-overlay';
13
- @use './form-field-native-select';
14
- @use './mdc-text-field-theme-variable-refresh';
15
-
16
-
17
- // Mixin that overwrites the default MDC text-field color styles to be based on
18
- // the given theme palette. The MDC text-field is styled using `primary` by default.
19
- @mixin _color-styles($palette-name,
20
- $query: mdc-helpers.$mat-theme-styles-query) {
21
- $orig-focused-label-color: mdc-textfield.$focused-label-color;
22
- mdc-textfield.$focused-label-color: rgba(mdc-theme-color.prop-value($palette-name), 0.87);
23
-
24
- @include mdc-textfield.caret-color($palette-name, $query);
25
- @include mdc-textfield.line-ripple-color($palette-name, $query);
26
-
27
- .mdc-text-field--focused {
28
- @include mdc-textfield.focused_($query);
29
- }
30
-
31
- .mdc-text-field--invalid {
32
- @include mdc-textfield.invalid_($query);
33
- }
34
-
35
- .mdc-text-field--outlined {
36
- @include mdc-textfield.focused-outline-color($palette-name, $query);
37
- }
38
-
39
- mdc-textfield.$focused-label-color: $orig-focused-label-color;
40
- }
41
-
42
- @mixin color($config-or-theme) {
43
- $config: mat.get-color-config($config-or-theme);
44
- @include mdc-helpers.mat-using-mdc-theme($config) {
45
- @include mdc-text-field-theme-variable-refresh.private-text-field-refresh-theme-variables() {
46
- @include mdc-textfield.without-ripple($query: mdc-helpers.$mat-theme-styles-query);
47
- @include mdc-floating-label.core-styles($query: mdc-helpers.$mat-theme-styles-query);
48
- @include mdc-notched-outline.core-styles($query: mdc-helpers.$mat-theme-styles-query);
49
- @include mdc-line-ripple.core-styles($query: mdc-helpers.$mat-theme-styles-query);
50
- @include form-field-subscript.private-form-field-subscript-color();
51
- @include form-field-focus-overlay.private-form-field-focus-overlay-color();
52
- @include form-field-native-select.private-form-field-native-select-color($config);
53
-
54
- .mat-mdc-form-field.mat-accent {
55
- @include _color-styles(secondary);
56
- }
57
-
58
- .mat-mdc-form-field.mat-warn {
59
- @include _color-styles(error);
60
- }
61
-
62
- // This fixes an issue where the notch appears to be thicker than the rest of the outline when
63
- // zoomed in on Chrome. The border inconsistency seems to be some kind of rendering artifact
64
- // that arises from a combination of the fact that the notch contains text, while the leading
65
- // and trailing outline do not, combined with the fact that the border is semi-transparent.
66
- // Experimentally, I discovered that adding a transparent left border fixes the inconsistency.
67
- // Note: class name is repeated to achieve sufficient specificity over the various MDC states.
68
- // (hover, focus, etc.)
69
- // TODO(mmalerba): port this fix into MDC
70
- .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field {
71
- &.mat-mdc-form-field .mdc-notched-outline__notch {
72
- border-left: 1px solid transparent;
73
- }
74
- }
75
-
76
- [dir='rtl'] {
77
- .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field {
78
- &.mat-mdc-form-field .mdc-notched-outline__notch {
79
- border-left: none;
80
- border-right: 1px solid transparent;
81
- }
82
- }
83
- }
84
- }
85
- }
86
- }
87
-
88
- @mixin typography($config-or-theme) {
89
- $config: mat.private-typography-to-2018-config(
90
- mat.get-typography-config($config-or-theme));
91
- @include mdc-helpers.mat-using-mdc-typography($config) {
92
- @include mdc-textfield.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
93
- @include mdc-floating-label.core-styles($query: mdc-helpers.$mat-typography-styles-query);
94
- @include mdc-notched-outline.core-styles($query: mdc-helpers.$mat-typography-styles-query);
95
- @include mdc-line-ripple.core-styles($query: mdc-helpers.$mat-typography-styles-query);
96
- @include form-field-subscript.private-form-field-subscript-typography($config);
97
-
98
- // MDC uses `subtitle1` for the input value, placeholder and floating label. The spec
99
- // shows `body1` for text fields though, so we manually override the typography.
100
- // Note: Form controls inherit the typography from the parent form field.
101
- .mat-mdc-form-field,
102
- .mat-mdc-floating-label {
103
- @include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query);
104
- }
105
-
106
- // Above, we updated the floating label to use the `body1` typography level. The MDC notched
107
- // outline overrides this accidentally (only when the label floats) to a `rem`-based value.
108
- // This results in different label widths when floated/docked and ultimately breaks the notch
109
- // width as it has been measured in the docked state (where `body1` is applied). We try to
110
- // unset these styles set by the `mdc-notched-outline`:
111
- // https://github.com/material-components/material-components-web/blob/master/packages/mdc-notched-outline/_mixins.scss#L272-L292.
112
- .mat-mdc-form-field .mdc-text-field--outlined {
113
- // For the non-upgraded notch label (i.e. when rendered on the server), also
114
- // use the correct `body1` typography level.
115
- .mdc-floating-label--float-above {
116
- font-size: calc(#{
117
- mdc-typography.get-size(body1)} * var(--mat-mdc-form-field-floating-label-scale, 0.75));
118
- }
119
- .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
120
- font-size: mdc-typography.get-size(body1);
121
- }
122
- }
123
- }
124
- }
125
-
126
- @mixin density($config-or-theme) {
127
- $density-scale: mat.get-density-config($config-or-theme);
128
- @include form-field-density.private-form-field-density($density-scale);
129
- }
130
-
131
- @mixin theme($theme-or-color-config) {
132
- $theme: mat.private-legacy-get-theme($theme-or-color-config);
133
- @include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-form-field') {
134
- $color: mat.get-color-config($theme);
135
- $density: mat.get-density-config($theme);
136
- $typography: mat.get-typography-config($theme);
137
-
138
- @if $color != null {
139
- @include color($color);
140
- }
141
- @if $density != null {
142
- @include density($density);
143
- }
144
- @if $typography != null {
145
- @include typography($typography);
146
- }
147
- }
148
- }
@@ -1,129 +0,0 @@
1
- @use '@material/textfield/variables' as mdc-textfield-variables;
2
-
3
- // Mixin that can be included to override the default MDC text-field
4
- // styles to fit our needs. See individual comments for context on why
5
- // certain MDC styles need to be modified.
6
- @mixin private-text-field-structure-overrides() {
7
- // Unset the border set by MDC. We move the border (which serves as the Material Design
8
- // text-field bottom line) into its own element. This is necessary because we want the
9
- // bottom-line to span across the whole form-field (including prefixes and suffixes). Also
10
- // we ensure that font styles are inherited for input elements. We do this because inputs by
11
- // default have explicit font styles from the user agent, and we set the desired font styles
12
- // in the parent `mat-form-field` element (for better custom form-field control support).
13
- // Note: We increase specificity here because the MDC textfield seems to override this,
14
- // depending on the CSS order, with an affix selector joint with the input.
15
- .mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {
16
- font: inherit;
17
- border: none;
18
- }
19
-
20
- // In order to ensure proper alignment of the floating label, we reset its line-height.
21
- // The line-height is not important as the element is absolutely positioned and only has one line
22
- // of text.
23
- .mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {
24
- line-height: normal;
25
- }
26
-
27
- // Reset the height that MDC sets on native input elements. We cannot rely on their
28
- // fixed height as we handle vertical spacing differently. MDC sets a fixed height for
29
- // inputs and modifies the baseline so that the textfield matches the spec. This does
30
- // not work for us since we support arbitrary form field controls which don't necessarily
31
- // use an `input` element. We organize the vertical spacing on the infix container.
32
- .mdc-text-field--no-label:not(.mdc-text-field--textarea)
33
- .mat-mdc-form-field-input-control.mdc-text-field__input,
34
- .mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {
35
- height: auto;
36
- }
37
-
38
- // Color inputs are a special case, because setting their height to
39
- // `auto` will collapse them. The height value is an arbitrary number
40
- // which was extracted from the user agent styles of Chrome and Firefox.
41
- .mat-mdc-text-field-wrapper
42
- .mat-mdc-form-field-input-control.mdc-text-field__input[type='color'] {
43
- height: 23px;
44
- }
45
-
46
- // Root element of the mdc-text-field. As explained in the height overwrites above, MDC
47
- // sets a default height on the text-field root element. This is not desired since we
48
- // want the element to be able to expand as needed.
49
- .mat-mdc-text-field-wrapper {
50
- height: auto;
51
- flex: auto;
52
- }
53
-
54
- // The icon prefix/suffix is closer to the edge of the form-field than the infix is in a
55
- // form-field with no prefix/suffix. Therefore the standard padding has to be removed when showing
56
- // an icon prefix or suffix. We can't rely on MDC's styles for this because we use a different
57
- // structure for our form-field in order to support arbitrary height input elements.
58
- .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
59
- padding-left: 0;
60
- }
61
- .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
62
- padding-right: 0;
63
- }
64
- [dir='rtl'] {
65
- // Undo the above padding removals which only apply in LTR languages.
66
- .mat-mdc-text-field-wrapper {
67
- padding-left: mdc-textfield-variables.$padding-horizontal;
68
- padding-right: mdc-textfield-variables.$padding-horizontal;
69
- }
70
- // ...and apply the correct padding resets for RTL languages.
71
- .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
72
- padding-left: 0;
73
- }
74
- .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
75
- padding-right: 0;
76
- }
77
- }
78
-
79
- // The default MDC text-field implementation does not support labels which always float.
80
- // MDC only renders the placeholder if the input is focused. We extend this to show the
81
- // placeholder if the form-field label is set to always float.
82
- // TODO(devversion): consider getting a mixin or variables for this (currently not available).
83
- // Stylelint no-prefixes rule disabled because MDC text-field only uses "::placeholder" too.
84
- // stylelint-disable-next-line material/no-prefixes
85
- .mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {
86
- transition-delay: 40ms;
87
- transition-duration: 110ms;
88
- opacity: 1;
89
- }
90
-
91
- // Since we moved the horizontal spacing from the input to the form-field flex container
92
- // and the MDC floating label tries to account for the horizontal spacing, we need to reset
93
- // the shifting since there is no padding the label needs to account for. Note that we do not
94
- // want do this for labels in the notched-outline since MDC keeps those labels relative to
95
- // the notched outline container, and already applies a specific horizontal spacing which
96
- // we do not want to overwrite. *Note*: We need to have increased specificity for this
97
- // override because the `right` property will be set with higher specificity in RTL mode.
98
- .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {
99
- left: auto;
100
- right: auto;
101
- }
102
-
103
- // MDC sets the input elements in outline appearance to "display: flex". There seems to
104
- // be no particular reason why this is needed. We set it to "inline-block", as it otherwise
105
- // could shift the baseline.
106
- .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {
107
- display: inline-block;
108
- }
109
-
110
- // As mentioned in the override before, MDC aligns the label using percentage. This means that
111
- // MDC tries to offset the label when the parent element changes in the notched-outline. For
112
- // example, the outline stroke width changes on focus. Since we updated the label to use a fixed
113
- // position, we don't need the vertical offsetting (that will shift the label incorrectly now).
114
- // Note: Increased specificity needed here since MDC overwrites the padding on `:focus`.
115
- .mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {
116
- padding-top: 0;
117
- }
118
-
119
- // Unset the baseline adjustment styles that are applied to the `.mdc-text-field` before
120
- // pseudo element. We control the vertical alignment of form field controls using infix
121
- // spacing since we support custom form-field controls. Those don't necessarily have an
122
- // explicit height that matches with the Material Design specification. If the height isn't
123
- // explicitly set to a specific value by MDC, the control will not align correctly vertically.
124
- // e.g. No vertical spacing to the bottom-line if the control is too large.
125
- .mat-mdc-text-field-wrapper::before {
126
- content: none;
127
- }
128
-
129
- }
@@ -1,36 +0,0 @@
1
- // MDCs default textarea styles cannot be used because they only apply if a special
2
- // class is applied to the "mdc-text-field" wrapper. Since we cannot know whether the
3
- // registered form-field control is a textarea and MDC by default does not have styles
4
- // for textareas in the fill appearance, we add our own minimal textarea styles
5
- // which are scoped to the actual textarea element (i.e. not require a class in the
6
- // text-field wrapper) and integrate better with the any configured appearance.
7
-
8
- // Mixin that can be included to override the default MDC text-field styles
9
- // to properly support textareas.
10
- @mixin private-text-field-textarea-overrides() {
11
- // Ensures that textarea elements inside of the form-field have proper vertical spacing
12
- // to account for the floating label. Also ensures that there is no vertical text overflow.
13
- // **Note**: Before changing this selector, make sure the `cdk-textarea-autosize` class is
14
- // still able to override the `resize` property to `none`.
15
- .mat-mdc-form-field-textarea-control {
16
- // Set the vertical alignment for textareas inside form fields to be the middle. This
17
- // ensures that textareas do not stretch the infix container vertically without having
18
- // multiple rows of text. See: https://github.com/angular/components/pull/22089.
19
- vertical-align: middle;
20
- // Textareas by default also allow users to resize the textarea horizontally. This
21
- // causes the textarea to overflow the form-field. We only allow vertical resizing.
22
- resize: vertical;
23
- box-sizing: border-box;
24
- height: auto;
25
- // Using padding for textareas causes a bad user experience because the text outside
26
- // of the text box will overflow vertically. Also, the vertical spacing for controls
27
- // is set through the infix container to allow for arbitrary form-field controls.
28
- margin: 0;
29
- padding: 0;
30
- border: none;
31
-
32
- // By default IE always renders scrollbars on textarea.
33
- // This brings it in line with other browsers.
34
- overflow: auto;
35
- }
36
- }
@@ -1,63 +0,0 @@
1
- @use '@material/textfield' as mdc-textfield;
2
- @use '@material/theme/variables' as mdc-theme-variables;
3
- @use 'sass:color';
4
-
5
- // Mixin that refreshes the MDC text-field theming variables. This mixin should be used when
6
- // the base MDC theming variables have been explicitly updated, but the component specific
7
- // theming-based variables are still based on the old MDC base theming variables. The mixin
8
- // restores the previous values for the variables to avoid unexpected global side effects.
9
- @mixin private-text-field-refresh-theme-variables() {
10
- $_disabled-border: mdc-textfield.$disabled-border;
11
- mdc-textfield.$disabled-border: rgba(mdc-theme-variables.prop-value(on-surface), 0.06);
12
- $_bottom-line-hover: mdc-textfield.$bottom-line-hover;
13
- mdc-textfield.$bottom-line-hover: rgba(mdc-theme-variables.prop-value(on-surface), 0.87);
14
- $_bottom-line-idle: mdc-textfield.$bottom-line-idle;
15
- mdc-textfield.$bottom-line-idle: rgba(mdc-theme-variables.prop-value(on-surface), 0.42);
16
- $_label: mdc-textfield.$label;
17
- mdc-textfield.$label: rgba(mdc-theme-variables.prop-value(on-surface), 0.6);
18
- $_ink-color: mdc-textfield.$ink-color;
19
- mdc-textfield.$ink-color: rgba(mdc-theme-variables.prop-value(on-surface), 0.87);
20
- $_focused-label-color: mdc-textfield.$focused-label-color;
21
- mdc-textfield.$focused-label-color: rgba(mdc-theme-variables.prop-value(primary), 0.87);
22
- $_placeholder-ink-color: mdc-textfield.$placeholder-ink-color;
23
- mdc-textfield.$placeholder-ink-color: rgba(mdc-theme-variables.prop-value(on-surface), 0.6);
24
- $_disabled-label-color: mdc-textfield.$disabled-label-color;
25
- mdc-textfield.$disabled-label-color: rgba(mdc-theme-variables.prop-value(on-surface), 0.38);
26
- $_disabled-ink-color: mdc-textfield.$disabled-ink-color;
27
- mdc-textfield.$disabled-ink-color: rgba(mdc-theme-variables.prop-value(on-surface), 0.38);
28
- $_disabled-placeholder-ink-color: mdc-textfield.$disabled-placeholder-ink-color;
29
- mdc-textfield.$disabled-placeholder-ink-color:
30
- rgba(mdc-theme-variables.prop-value(on-surface), 0.38);
31
- $_background: mdc-textfield.$background;
32
- mdc-textfield.$background: color.mix(mdc-theme-variables.prop-value(on-surface),
33
- mdc-theme-variables.prop-value(surface), 4%);
34
- $_disabled-background: mdc-textfield.$disabled-background;
35
- mdc-textfield.$disabled-background: color.mix(mdc-theme-variables.prop-value(on-surface),
36
- mdc-theme-variables.prop-value(surface), 2%);
37
- $_outlined-idle-border: mdc-textfield.$outlined-idle-border;
38
- mdc-textfield.$outlined-idle-border: rgba(mdc-theme-variables.prop-value(on-surface), 0.38);
39
- $_outlined-disabled-border: mdc-textfield.$outlined-disabled-border;
40
- mdc-textfield.$outlined-disabled-border: rgba(mdc-theme-variables.prop-value(on-surface), 0.06);
41
- $_outlined-hover-border: mdc-textfield.$outlined-hover-border;
42
- mdc-textfield.$outlined-hover-border: rgba(mdc-theme-variables.prop-value(on-surface), 0.87);
43
-
44
- // The content will be generated with the refreshed MDC text-field theming variables.
45
- @content;
46
-
47
- // Reset all variables to ensure that this mixin does not cause unexpected side effects.
48
- mdc-textfield.$disabled-border: $_disabled-border;
49
- mdc-textfield.$bottom-line-hover: $_bottom-line-hover;
50
- mdc-textfield.$bottom-line-idle: $_bottom-line-idle;
51
- mdc-textfield.$label: $_label;
52
- mdc-textfield.$ink-color: $_ink-color;
53
- mdc-textfield.$focused-label-color: $_focused-label-color;
54
- mdc-textfield.$placeholder-ink-color: $_placeholder-ink-color;
55
- mdc-textfield.$disabled-label-color: $_disabled-label-color;
56
- mdc-textfield.$disabled-ink-color: $_disabled-ink-color;
57
- mdc-textfield.$disabled-placeholder-ink-color: $_disabled-placeholder-ink-color;
58
- mdc-textfield.$background: $_background;
59
- mdc-textfield.$disabled-background: $_disabled-background;
60
- mdc-textfield.$outlined-idle-border: $_outlined-idle-border;
61
- mdc-textfield.$outlined-disabled-border: $_outlined-disabled-border;
62
- mdc-textfield.$outlined-hover-border: $_outlined-hover-border;
63
- }