@angular/material 14.0.0-next.8 → 14.0.0-rc.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 (953) hide show
  1. package/_index.scss +20 -1
  2. package/autocomplete/index.d.ts +436 -6
  3. package/autocomplete/testing/index.d.ts +71 -8
  4. package/badge/_badge-theme.scss +3 -2
  5. package/badge/index.d.ts +107 -8
  6. package/badge/testing/index.d.ts +36 -8
  7. package/bottom-sheet/index.d.ts +199 -6
  8. package/bottom-sheet/testing/index.d.ts +27 -8
  9. package/button/index.d.ts +77 -6
  10. package/button/testing/index.d.ts +44 -8
  11. package/button-toggle/index.d.ts +245 -6
  12. package/button-toggle/testing/index.d.ts +91 -8
  13. package/card/index.d.ts +165 -5
  14. package/card/testing/index.d.ts +44 -8
  15. package/checkbox/index.d.ts +277 -6
  16. package/checkbox/testing/index.d.ts +91 -8
  17. package/chips/index.d.ts +650 -5
  18. package/chips/testing/index.d.ts +256 -8
  19. package/core/_core.scss +5 -7
  20. package/core/index.d.ts +1079 -5
  21. package/core/ripple/_ripple.scss +2 -2
  22. package/core/style/_menu-common.scss +3 -2
  23. package/core/style/_private.scss +5 -14
  24. package/core/style/_vendor-prefixes.scss +1 -1
  25. package/core/testing/index.d.ts +64 -8
  26. package/core/theming/_theming.scss +2 -2
  27. package/core/typography/_typography.scss +51 -14
  28. package/datepicker/index.d.ts +1782 -6
  29. package/datepicker/testing/index.d.ts +307 -8
  30. package/dialog/index.d.ts +489 -6
  31. package/dialog/testing/index.d.ts +97 -8
  32. package/divider/index.d.ts +30 -8
  33. package/divider/testing/index.d.ts +16 -8
  34. package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
  35. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  36. package/esm2020/autocomplete/autocomplete-trigger.mjs +26 -13
  37. package/esm2020/autocomplete/autocomplete.mjs +9 -9
  38. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +5 -1
  39. package/esm2020/badge/badge-module.mjs +5 -5
  40. package/esm2020/badge/badge.mjs +4 -4
  41. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +24 -176
  42. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +7 -7
  43. package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +34 -34
  44. package/esm2020/bottom-sheet/bottom-sheet.mjs +30 -89
  45. package/esm2020/button/button-module.mjs +5 -5
  46. package/esm2020/button/button.mjs +9 -9
  47. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  48. package/esm2020/button-toggle/button-toggle.mjs +8 -8
  49. package/esm2020/card/card-module.mjs +5 -5
  50. package/esm2020/card/card.mjs +44 -44
  51. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  52. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  53. package/esm2020/checkbox/checkbox.mjs +151 -133
  54. package/esm2020/chips/chip-input.mjs +4 -4
  55. package/esm2020/chips/chip-list.mjs +5 -5
  56. package/esm2020/chips/chip.mjs +15 -16
  57. package/esm2020/chips/chips-module.mjs +6 -6
  58. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  59. package/esm2020/core/common-behaviors/error-state.mjs +1 -1
  60. package/esm2020/core/datetime/index.mjs +9 -9
  61. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  62. package/esm2020/core/error/error-options.mjs +7 -7
  63. package/esm2020/core/line/line.mjs +8 -8
  64. package/esm2020/core/option/index.mjs +5 -5
  65. package/esm2020/core/option/optgroup.mjs +8 -8
  66. package/esm2020/core/option/option.mjs +10 -10
  67. package/esm2020/core/ripple/index.mjs +5 -5
  68. package/esm2020/core/ripple/ripple-ref.mjs +2 -2
  69. package/esm2020/core/ripple/ripple-renderer.mjs +36 -19
  70. package/esm2020/core/ripple/ripple.mjs +4 -4
  71. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  72. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  73. package/esm2020/core/version.mjs +1 -1
  74. package/esm2020/datepicker/calendar-body.mjs +5 -5
  75. package/esm2020/datepicker/calendar.mjs +26 -15
  76. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  77. package/esm2020/datepicker/date-range-input.mjs +6 -6
  78. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  79. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  80. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  81. package/esm2020/datepicker/datepicker-actions.mjs +12 -12
  82. package/esm2020/datepicker/datepicker-base.mjs +11 -11
  83. package/esm2020/datepicker/datepicker-input-base.mjs +6 -7
  84. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  85. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  86. package/esm2020/datepicker/datepicker-module.mjs +10 -12
  87. package/esm2020/datepicker/datepicker-toggle.mjs +10 -10
  88. package/esm2020/datepicker/datepicker.mjs +4 -4
  89. package/esm2020/datepicker/month-view.mjs +6 -6
  90. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  91. package/esm2020/datepicker/testing/calendar-harness.mjs +4 -4
  92. package/esm2020/datepicker/year-view.mjs +4 -4
  93. package/esm2020/dialog/dialog-config.mjs +1 -1
  94. package/esm2020/dialog/dialog-container.mjs +42 -220
  95. package/esm2020/dialog/dialog-content-directives.mjs +14 -14
  96. package/esm2020/dialog/dialog-module.mjs +8 -7
  97. package/esm2020/dialog/dialog-ref.mjs +28 -60
  98. package/esm2020/dialog/dialog.mjs +74 -197
  99. package/esm2020/dialog/testing/dialog-harness.mjs +4 -4
  100. package/esm2020/divider/divider-module.mjs +5 -5
  101. package/esm2020/divider/divider.mjs +5 -5
  102. package/esm2020/expansion/accordion.mjs +4 -4
  103. package/esm2020/expansion/expansion-module.mjs +5 -5
  104. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  105. package/esm2020/expansion/expansion-panel-header.mjs +11 -11
  106. package/esm2020/expansion/expansion-panel.mjs +9 -9
  107. package/esm2020/expansion/testing/expansion-harness.mjs +6 -6
  108. package/esm2020/form-field/error.mjs +4 -4
  109. package/esm2020/form-field/form-field-control.mjs +4 -4
  110. package/esm2020/form-field/form-field-module.mjs +5 -5
  111. package/esm2020/form-field/form-field.mjs +5 -5
  112. package/esm2020/form-field/hint.mjs +4 -4
  113. package/esm2020/form-field/label.mjs +4 -4
  114. package/esm2020/form-field/placeholder.mjs +4 -4
  115. package/esm2020/form-field/prefix.mjs +4 -4
  116. package/esm2020/form-field/suffix.mjs +4 -4
  117. package/esm2020/form-field/testing/public-api.mjs +4 -4
  118. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  119. package/esm2020/grid-list/grid-list.mjs +6 -6
  120. package/esm2020/grid-list/grid-tile.mjs +17 -17
  121. package/esm2020/grid-list/testing/grid-tile-harness.mjs +3 -3
  122. package/esm2020/icon/icon-module.mjs +5 -5
  123. package/esm2020/icon/icon-registry.mjs +4 -4
  124. package/esm2020/icon/icon.mjs +5 -5
  125. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  126. package/esm2020/icon/testing/icon-harness.mjs +3 -3
  127. package/esm2020/input/input-module.mjs +5 -5
  128. package/esm2020/input/input.mjs +4 -4
  129. package/esm2020/list/list-module.mjs +5 -5
  130. package/esm2020/list/list.mjs +21 -21
  131. package/esm2020/list/selection-list.mjs +9 -9
  132. package/esm2020/menu/menu-content.mjs +7 -7
  133. package/esm2020/menu/menu-item.mjs +6 -6
  134. package/esm2020/menu/menu-module.mjs +5 -5
  135. package/esm2020/menu/menu-trigger.mjs +7 -7
  136. package/esm2020/menu/menu.mjs +28 -40
  137. package/esm2020/paginator/paginator-intl.mjs +4 -4
  138. package/esm2020/paginator/paginator-module.mjs +5 -5
  139. package/esm2020/paginator/paginator.mjs +13 -13
  140. package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
  141. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  142. package/esm2020/progress-bar/progress-bar.mjs +8 -5
  143. package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
  144. package/esm2020/progress-spinner/progress-spinner.mjs +5 -5
  145. package/esm2020/radio/radio-module.mjs +5 -5
  146. package/esm2020/radio/radio.mjs +42 -14
  147. package/esm2020/select/select-module.mjs +5 -5
  148. package/esm2020/select/select.mjs +25 -18
  149. package/esm2020/sidenav/drawer.mjs +12 -12
  150. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  151. package/esm2020/sidenav/sidenav.mjs +12 -12
  152. package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
  153. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  154. package/esm2020/slide-toggle/slide-toggle.mjs +89 -77
  155. package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
  156. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +3 -2
  157. package/esm2020/slider/slider-module.mjs +5 -5
  158. package/esm2020/slider/slider.mjs +5 -5
  159. package/esm2020/snack-bar/simple-snack-bar.mjs +7 -7
  160. package/esm2020/snack-bar/snack-bar-container.mjs +24 -18
  161. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  162. package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
  163. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  164. package/esm2020/sort/sort-header-intl.mjs +4 -4
  165. package/esm2020/sort/sort-header.mjs +5 -5
  166. package/esm2020/sort/sort-module.mjs +5 -5
  167. package/esm2020/sort/sort.mjs +4 -4
  168. package/esm2020/stepper/step-content.mjs +4 -4
  169. package/esm2020/stepper/step-header.mjs +8 -8
  170. package/esm2020/stepper/step-label.mjs +4 -4
  171. package/esm2020/stepper/stepper-button.mjs +7 -7
  172. package/esm2020/stepper/stepper-icon.mjs +4 -4
  173. package/esm2020/stepper/stepper-intl.mjs +4 -4
  174. package/esm2020/stepper/stepper-module.mjs +11 -13
  175. package/esm2020/stepper/stepper.mjs +11 -11
  176. package/esm2020/stepper/testing/stepper-harness.mjs +3 -3
  177. package/esm2020/table/cell.mjs +22 -22
  178. package/esm2020/table/row.mjs +22 -22
  179. package/esm2020/table/table-data-source.mjs +1 -1
  180. package/esm2020/table/table-module.mjs +5 -5
  181. package/esm2020/table/table.mjs +9 -9
  182. package/esm2020/table/text-column.mjs +5 -5
  183. package/esm2020/tabs/ink-bar.mjs +4 -4
  184. package/esm2020/tabs/paginated-tab-header.mjs +34 -8
  185. package/esm2020/tabs/tab-body.mjs +11 -11
  186. package/esm2020/tabs/tab-content.mjs +4 -4
  187. package/esm2020/tabs/tab-group.mjs +35 -18
  188. package/esm2020/tabs/tab-header.mjs +8 -8
  189. package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
  190. package/esm2020/tabs/tab-label.mjs +4 -4
  191. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -17
  192. package/esm2020/tabs/tab.mjs +4 -4
  193. package/esm2020/tabs/tabs-module.mjs +10 -12
  194. package/esm2020/toolbar/testing/toolbar-harness.mjs +2 -2
  195. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  196. package/esm2020/toolbar/toolbar.mjs +8 -8
  197. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  198. package/esm2020/tooltip/tooltip.mjs +14 -14
  199. package/esm2020/tree/node.mjs +10 -10
  200. package/esm2020/tree/outlet.mjs +4 -4
  201. package/esm2020/tree/padding.mjs +4 -4
  202. package/esm2020/tree/toggle.mjs +4 -4
  203. package/esm2020/tree/tree-module.mjs +5 -5
  204. package/esm2020/tree/tree.mjs +5 -5
  205. package/expansion/index.d.ts +343 -5
  206. package/expansion/testing/index.d.ts +106 -8
  207. package/fesm2015/autocomplete/testing.mjs +6 -0
  208. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  209. package/fesm2015/autocomplete.mjs +43 -30
  210. package/fesm2015/autocomplete.mjs.map +1 -1
  211. package/fesm2015/badge.mjs +7 -7
  212. package/fesm2015/badge.mjs.map +1 -1
  213. package/fesm2015/bottom-sheet.mjs +126 -344
  214. package/fesm2015/bottom-sheet.mjs.map +1 -1
  215. package/fesm2015/button-toggle.mjs +11 -11
  216. package/fesm2015/button-toggle.mjs.map +1 -1
  217. package/fesm2015/button.mjs +12 -12
  218. package/fesm2015/button.mjs.map +1 -1
  219. package/fesm2015/card.mjs +47 -47
  220. package/fesm2015/card.mjs.map +1 -1
  221. package/fesm2015/checkbox.mjs +164 -146
  222. package/fesm2015/checkbox.mjs.map +1 -1
  223. package/fesm2015/chips.mjs +26 -27
  224. package/fesm2015/chips.mjs.map +1 -1
  225. package/fesm2015/core.mjs +99 -81
  226. package/fesm2015/core.mjs.map +1 -1
  227. package/fesm2015/datepicker/testing.mjs +3 -3
  228. package/fesm2015/datepicker/testing.mjs.map +1 -1
  229. package/fesm2015/datepicker.mjs +111 -103
  230. package/fesm2015/datepicker.mjs.map +1 -1
  231. package/fesm2015/dialog/testing.mjs +3 -3
  232. package/fesm2015/dialog/testing.mjs.map +1 -1
  233. package/fesm2015/dialog.mjs +152 -490
  234. package/fesm2015/dialog.mjs.map +1 -1
  235. package/fesm2015/divider.mjs +8 -8
  236. package/fesm2015/divider.mjs.map +1 -1
  237. package/fesm2015/expansion/testing.mjs +5 -5
  238. package/fesm2015/expansion/testing.mjs.map +1 -1
  239. package/fesm2015/expansion.mjs +28 -28
  240. package/fesm2015/expansion.mjs.map +1 -1
  241. package/fesm2015/form-field/testing.mjs +1 -1
  242. package/fesm2015/form-field/testing.mjs.map +1 -1
  243. package/fesm2015/form-field.mjs +29 -29
  244. package/fesm2015/form-field.mjs.map +1 -1
  245. package/fesm2015/grid-list/testing.mjs +2 -2
  246. package/fesm2015/grid-list/testing.mjs.map +1 -1
  247. package/fesm2015/grid-list.mjs +25 -25
  248. package/fesm2015/grid-list.mjs.map +1 -1
  249. package/fesm2015/icon/testing.mjs +9 -9
  250. package/fesm2015/icon/testing.mjs.map +1 -1
  251. package/fesm2015/icon.mjs +11 -11
  252. package/fesm2015/icon.mjs.map +1 -1
  253. package/fesm2015/input.mjs +7 -7
  254. package/fesm2015/input.mjs.map +1 -1
  255. package/fesm2015/list.mjs +32 -32
  256. package/fesm2015/list.mjs.map +1 -1
  257. package/fesm2015/menu.mjs +48 -60
  258. package/fesm2015/menu.mjs.map +1 -1
  259. package/fesm2015/paginator/testing.mjs +14 -0
  260. package/fesm2015/paginator/testing.mjs.map +1 -1
  261. package/fesm2015/paginator.mjs +19 -19
  262. package/fesm2015/paginator.mjs.map +1 -1
  263. package/fesm2015/progress-bar.mjs +11 -8
  264. package/fesm2015/progress-bar.mjs.map +1 -1
  265. package/fesm2015/progress-spinner.mjs +8 -8
  266. package/fesm2015/progress-spinner.mjs.map +1 -1
  267. package/fesm2015/radio.mjs +46 -17
  268. package/fesm2015/radio.mjs.map +1 -1
  269. package/fesm2015/select.mjs +29 -22
  270. package/fesm2015/select.mjs.map +1 -1
  271. package/fesm2015/sidenav.mjs +26 -26
  272. package/fesm2015/sidenav.mjs.map +1 -1
  273. package/fesm2015/slide-toggle/testing.mjs +2 -1
  274. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  275. package/fesm2015/slide-toggle.mjs +103 -93
  276. package/fesm2015/slide-toggle.mjs.map +1 -1
  277. package/fesm2015/slider.mjs +8 -8
  278. package/fesm2015/slider.mjs.map +1 -1
  279. package/fesm2015/snack-bar.mjs +40 -35
  280. package/fesm2015/snack-bar.mjs.map +1 -1
  281. package/fesm2015/sort.mjs +14 -14
  282. package/fesm2015/sort.mjs.map +1 -1
  283. package/fesm2015/stepper/testing.mjs +2 -2
  284. package/fesm2015/stepper/testing.mjs.map +1 -1
  285. package/fesm2015/stepper.mjs +42 -44
  286. package/fesm2015/stepper.mjs.map +1 -1
  287. package/fesm2015/table.mjs +58 -58
  288. package/fesm2015/table.mjs.map +1 -1
  289. package/fesm2015/tabs.mjs +120 -78
  290. package/fesm2015/tabs.mjs.map +1 -1
  291. package/fesm2015/toolbar/testing.mjs +1 -1
  292. package/fesm2015/toolbar/testing.mjs.map +1 -1
  293. package/fesm2015/toolbar.mjs +11 -11
  294. package/fesm2015/toolbar.mjs.map +1 -1
  295. package/fesm2015/tooltip.mjs +17 -17
  296. package/fesm2015/tooltip.mjs.map +1 -1
  297. package/fesm2015/tree.mjs +26 -26
  298. package/fesm2015/tree.mjs.map +1 -1
  299. package/fesm2020/autocomplete/testing.mjs +4 -0
  300. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  301. package/fesm2020/autocomplete.mjs +43 -30
  302. package/fesm2020/autocomplete.mjs.map +1 -1
  303. package/fesm2020/badge.mjs +7 -7
  304. package/fesm2020/badge.mjs.map +1 -1
  305. package/fesm2020/bottom-sheet.mjs +133 -343
  306. package/fesm2020/bottom-sheet.mjs.map +1 -1
  307. package/fesm2020/button-toggle.mjs +11 -11
  308. package/fesm2020/button-toggle.mjs.map +1 -1
  309. package/fesm2020/button.mjs +12 -12
  310. package/fesm2020/button.mjs.map +1 -1
  311. package/fesm2020/card.mjs +47 -47
  312. package/fesm2020/card.mjs.map +1 -1
  313. package/fesm2020/checkbox.mjs +162 -144
  314. package/fesm2020/checkbox.mjs.map +1 -1
  315. package/fesm2020/chips.mjs +26 -27
  316. package/fesm2020/chips.mjs.map +1 -1
  317. package/fesm2020/core.mjs +98 -81
  318. package/fesm2020/core.mjs.map +1 -1
  319. package/fesm2020/datepicker/testing.mjs +3 -3
  320. package/fesm2020/datepicker/testing.mjs.map +1 -1
  321. package/fesm2020/datepicker.mjs +111 -103
  322. package/fesm2020/datepicker.mjs.map +1 -1
  323. package/fesm2020/dialog/testing.mjs +3 -3
  324. package/fesm2020/dialog/testing.mjs.map +1 -1
  325. package/fesm2020/dialog.mjs +155 -489
  326. package/fesm2020/dialog.mjs.map +1 -1
  327. package/fesm2020/divider.mjs +8 -8
  328. package/fesm2020/divider.mjs.map +1 -1
  329. package/fesm2020/expansion/testing.mjs +5 -5
  330. package/fesm2020/expansion/testing.mjs.map +1 -1
  331. package/fesm2020/expansion.mjs +28 -28
  332. package/fesm2020/expansion.mjs.map +1 -1
  333. package/fesm2020/form-field/testing.mjs +1 -1
  334. package/fesm2020/form-field/testing.mjs.map +1 -1
  335. package/fesm2020/form-field.mjs +29 -29
  336. package/fesm2020/form-field.mjs.map +1 -1
  337. package/fesm2020/grid-list/testing.mjs +2 -2
  338. package/fesm2020/grid-list/testing.mjs.map +1 -1
  339. package/fesm2020/grid-list.mjs +25 -25
  340. package/fesm2020/grid-list.mjs.map +1 -1
  341. package/fesm2020/icon/testing.mjs +9 -9
  342. package/fesm2020/icon/testing.mjs.map +1 -1
  343. package/fesm2020/icon.mjs +11 -11
  344. package/fesm2020/icon.mjs.map +1 -1
  345. package/fesm2020/input.mjs +7 -7
  346. package/fesm2020/input.mjs.map +1 -1
  347. package/fesm2020/list.mjs +32 -32
  348. package/fesm2020/list.mjs.map +1 -1
  349. package/fesm2020/menu.mjs +48 -60
  350. package/fesm2020/menu.mjs.map +1 -1
  351. package/fesm2020/paginator/testing.mjs +10 -0
  352. package/fesm2020/paginator/testing.mjs.map +1 -1
  353. package/fesm2020/paginator.mjs +19 -19
  354. package/fesm2020/paginator.mjs.map +1 -1
  355. package/fesm2020/progress-bar.mjs +11 -8
  356. package/fesm2020/progress-bar.mjs.map +1 -1
  357. package/fesm2020/progress-spinner.mjs +8 -8
  358. package/fesm2020/progress-spinner.mjs.map +1 -1
  359. package/fesm2020/radio.mjs +45 -17
  360. package/fesm2020/radio.mjs.map +1 -1
  361. package/fesm2020/select.mjs +29 -22
  362. package/fesm2020/select.mjs.map +1 -1
  363. package/fesm2020/sidenav.mjs +26 -26
  364. package/fesm2020/sidenav.mjs.map +1 -1
  365. package/fesm2020/slide-toggle/testing.mjs +2 -1
  366. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  367. package/fesm2020/slide-toggle.mjs +103 -93
  368. package/fesm2020/slide-toggle.mjs.map +1 -1
  369. package/fesm2020/slider.mjs +8 -8
  370. package/fesm2020/slider.mjs.map +1 -1
  371. package/fesm2020/snack-bar.mjs +40 -35
  372. package/fesm2020/snack-bar.mjs.map +1 -1
  373. package/fesm2020/sort.mjs +14 -14
  374. package/fesm2020/sort.mjs.map +1 -1
  375. package/fesm2020/stepper/testing.mjs +2 -2
  376. package/fesm2020/stepper/testing.mjs.map +1 -1
  377. package/fesm2020/stepper.mjs +42 -44
  378. package/fesm2020/stepper.mjs.map +1 -1
  379. package/fesm2020/table.mjs +58 -58
  380. package/fesm2020/table.mjs.map +1 -1
  381. package/fesm2020/tabs.mjs +119 -78
  382. package/fesm2020/tabs.mjs.map +1 -1
  383. package/fesm2020/toolbar/testing.mjs +1 -1
  384. package/fesm2020/toolbar/testing.mjs.map +1 -1
  385. package/fesm2020/toolbar.mjs +11 -11
  386. package/fesm2020/toolbar.mjs.map +1 -1
  387. package/fesm2020/tooltip.mjs +17 -17
  388. package/fesm2020/tooltip.mjs.map +1 -1
  389. package/fesm2020/tree.mjs +26 -26
  390. package/fesm2020/tree.mjs.map +1 -1
  391. package/form-field/index.d.ts +401 -5
  392. package/form-field/testing/control/index.d.ts +8 -6
  393. package/form-field/testing/index.d.ts +127 -8
  394. package/grid-list/index.d.ts +232 -5
  395. package/grid-list/testing/index.d.ts +86 -8
  396. package/icon/index.d.ts +443 -5
  397. package/icon/testing/index.d.ts +81 -6
  398. package/index.d.ts +3 -7
  399. package/input/index.d.ts +209 -6
  400. package/input/testing/index.d.ts +129 -8
  401. package/list/index.d.ts +369 -6
  402. package/list/testing/index.d.ts +329 -6
  403. package/menu/index.d.ts +613 -6
  404. package/menu/testing/index.d.ts +115 -8
  405. package/package.json +38 -38
  406. package/paginator/index.d.ts +224 -6
  407. package/paginator/testing/index.d.ts +65 -8
  408. package/prebuilt-themes/deeppurple-amber.css +1 -1
  409. package/prebuilt-themes/indigo-pink.css +1 -1
  410. package/prebuilt-themes/pink-bluegrey.css +1 -1
  411. package/prebuilt-themes/purple-green.css +1 -1
  412. package/progress-bar/index.d.ts +147 -6
  413. package/progress-bar/testing/index.d.ts +26 -8
  414. package/progress-spinner/index.d.ts +138 -6
  415. package/progress-spinner/testing/index.d.ts +27 -8
  416. package/radio/index.d.ts +305 -6
  417. package/radio/testing/index.d.ts +130 -8
  418. package/schematics/ng-add/index.js +1 -1
  419. package/schematics/ng-add/index.mjs +1 -1
  420. package/schematics/ng-add/setup-project.js +59 -18
  421. package/schematics/ng-add/setup-project.mjs +59 -18
  422. package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
  423. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +5 -5
  424. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +5 -5
  425. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +22 -22
  426. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +22 -22
  427. package/select/index.d.ts +534 -5
  428. package/select/testing/index.d.ts +79 -8
  429. package/sidenav/index.d.ts +395 -5
  430. package/sidenav/testing/index.d.ts +124 -6
  431. package/slide-toggle/index.d.ts +186 -5
  432. package/slide-toggle/testing/index.d.ts +77 -8
  433. package/slider/index.d.ts +289 -6
  434. package/slider/testing/index.d.ts +60 -8
  435. package/snack-bar/index.d.ts +372 -6
  436. package/snack-bar/testing/index.d.ts +72 -8
  437. package/sort/index.d.ts +326 -5
  438. package/sort/testing/index.d.ts +50 -8
  439. package/stepper/index.d.ts +288 -6
  440. package/stepper/testing/index.d.ts +142 -6
  441. package/table/index.d.ts +382 -5
  442. package/table/testing/index.d.ts +178 -8
  443. package/tabs/_tabs-common.scss +6 -5
  444. package/tabs/index.d.ts +965 -5
  445. package/tabs/testing/index.d.ts +153 -8
  446. package/toolbar/index.d.ts +56 -6
  447. package/toolbar/testing/index.d.ts +35 -8
  448. package/tooltip/index.d.ts +362 -5
  449. package/tooltip/testing/index.d.ts +42 -8
  450. package/tree/index.d.ts +243 -5
  451. package/tree/testing/index.d.ts +122 -8
  452. package/autocomplete/autocomplete-module.d.ts +0 -13
  453. package/autocomplete/autocomplete-origin.d.ts +0 -27
  454. package/autocomplete/autocomplete-trigger.d.ts +0 -211
  455. package/autocomplete/autocomplete.d.ts +0 -150
  456. package/autocomplete/autocomplete_public_index.d.ts +0 -4
  457. package/autocomplete/package.json +0 -9
  458. package/autocomplete/public-api.d.ts +0 -11
  459. package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  460. package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
  461. package/autocomplete/testing/package.json +0 -9
  462. package/autocomplete/testing/public-api.d.ts +0 -9
  463. package/badge/badge-module.d.ts +0 -9
  464. package/badge/badge.d.ts +0 -86
  465. package/badge/badge_public_index.d.ts +0 -4
  466. package/badge/package.json +0 -9
  467. package/badge/public-api.d.ts +0 -9
  468. package/badge/testing/badge-harness-filters.d.ts +0 -11
  469. package/badge/testing/badge-harness.d.ts +0 -34
  470. package/badge/testing/package.json +0 -9
  471. package/badge/testing/public-api.d.ts +0 -9
  472. package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
  473. package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
  474. package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
  475. package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
  476. package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
  477. package/bottom-sheet/bottom-sheet.d.ts +0 -59
  478. package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
  479. package/bottom-sheet/package.json +0 -9
  480. package/bottom-sheet/public-api.d.ts +0 -13
  481. package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
  482. package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
  483. package/bottom-sheet/testing/package.json +0 -9
  484. package/bottom-sheet/testing/public-api.d.ts +0 -9
  485. package/button/button-module.d.ts +0 -8
  486. package/button/button.d.ts +0 -58
  487. package/button/button_public_index.d.ts +0 -4
  488. package/button/package.json +0 -9
  489. package/button/public-api.d.ts +0 -9
  490. package/button/testing/button-harness-filters.d.ts +0 -13
  491. package/button/testing/button-harness.d.ts +0 -41
  492. package/button/testing/package.json +0 -9
  493. package/button/testing/public-api.d.ts +0 -9
  494. package/button-toggle/button-toggle-module.d.ts +0 -8
  495. package/button-toggle/button-toggle.d.ts +0 -212
  496. package/button-toggle/button-toggle_public_index.d.ts +0 -4
  497. package/button-toggle/package.json +0 -9
  498. package/button-toggle/public-api.d.ts +0 -9
  499. package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
  500. package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
  501. package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
  502. package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
  503. package/button-toggle/testing/package.json +0 -9
  504. package/button-toggle/testing/public-api.d.ts +0 -11
  505. package/card/card-module.d.ts +0 -8
  506. package/card/card.d.ts +0 -126
  507. package/card/card_public_index.d.ts +0 -4
  508. package/card/package.json +0 -9
  509. package/card/public-api.d.ts +0 -9
  510. package/card/testing/card-harness-filters.d.ts +0 -17
  511. package/card/testing/card-harness.d.ts +0 -36
  512. package/card/testing/package.json +0 -9
  513. package/card/testing/public-api.d.ts +0 -9
  514. package/checkbox/checkbox-config.d.ts +0 -28
  515. package/checkbox/checkbox-module.d.ts +0 -16
  516. package/checkbox/checkbox-required-validator.d.ts +0 -20
  517. package/checkbox/checkbox.d.ts +0 -166
  518. package/checkbox/checkbox_public_index.d.ts +0 -4
  519. package/checkbox/package.json +0 -9
  520. package/checkbox/public-api.d.ts +0 -11
  521. package/checkbox/testing/checkbox-harness-filters.d.ts +0 -17
  522. package/checkbox/testing/checkbox-harness.d.ts +0 -81
  523. package/checkbox/testing/package.json +0 -9
  524. package/checkbox/testing/public-api.d.ts +0 -9
  525. package/chips/chip-default-options.d.ts +0 -15
  526. package/chips/chip-input.d.ts +0 -91
  527. package/chips/chip-list.d.ts +0 -289
  528. package/chips/chip-text-control.d.ts +0 -20
  529. package/chips/chip.d.ts +0 -210
  530. package/chips/chips-module.d.ts +0 -10
  531. package/chips/chips_public_index.d.ts +0 -4
  532. package/chips/package.json +0 -9
  533. package/chips/public-api.d.ts +0 -12
  534. package/chips/testing/chip-avatar-harness.d.ts +0 -20
  535. package/chips/testing/chip-harness-filters.d.ts +0 -43
  536. package/chips/testing/chip-harness.d.ts +0 -63
  537. package/chips/testing/chip-input-harness.d.ts +0 -47
  538. package/chips/testing/chip-list-harness.d.ts +0 -54
  539. package/chips/testing/chip-listbox-harness.d.ts +0 -34
  540. package/chips/testing/chip-option-harness.d.ts +0 -29
  541. package/chips/testing/chip-remove-harness.d.ts +0 -22
  542. package/chips/testing/package.json +0 -9
  543. package/chips/testing/public-api.d.ts +0 -14
  544. package/core/animation/animation.d.ts +0 -20
  545. package/core/common-behaviors/color.d.ts +0 -26
  546. package/core/common-behaviors/common-module.d.ts +0 -44
  547. package/core/common-behaviors/constructor.d.ts +0 -14
  548. package/core/common-behaviors/disable-ripple.d.ts +0 -17
  549. package/core/common-behaviors/disabled.d.ts +0 -17
  550. package/core/common-behaviors/error-state.d.ts +0 -35
  551. package/core/common-behaviors/index.d.ts +0 -15
  552. package/core/common-behaviors/initialized.d.ts +0 -30
  553. package/core/common-behaviors/tabindex.d.ts +0 -20
  554. package/core/core_public_index.d.ts +0 -4
  555. package/core/datetime/date-adapter.d.ts +0 -215
  556. package/core/datetime/date-formats.d.ts +0 -21
  557. package/core/datetime/index.d.ts +0 -15
  558. package/core/datetime/native-date-adapter.d.ts +0 -74
  559. package/core/datetime/native-date-formats.d.ts +0 -9
  560. package/core/error/error-options.d.ts +0 -14
  561. package/core/line/line.d.ts +0 -29
  562. package/core/option/index.d.ts +0 -15
  563. package/core/option/optgroup.d.ts +0 -40
  564. package/core/option/option-parent.d.ts +0 -22
  565. package/core/option/option.d.ts +0 -135
  566. package/core/package.json +0 -9
  567. package/core/public-api.d.ts +0 -16
  568. package/core/ripple/index.d.ts +0 -11
  569. package/core/ripple/ripple-ref.d.ts +0 -54
  570. package/core/ripple/ripple-renderer.d.ts +0 -99
  571. package/core/ripple/ripple.d.ts +0 -113
  572. package/core/selection/index.d.ts +0 -9
  573. package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
  574. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
  575. package/core/testing/optgroup-harness-filters.d.ts +0 -11
  576. package/core/testing/optgroup-harness.d.ts +0 -33
  577. package/core/testing/option-harness-filters.d.ts +0 -12
  578. package/core/testing/option-harness.d.ts +0 -35
  579. package/core/testing/package.json +0 -9
  580. package/core/testing/public-api.d.ts +0 -11
  581. package/core/version.d.ts +0 -10
  582. package/datepicker/calendar-body.d.ts +0 -176
  583. package/datepicker/calendar.d.ts +0 -156
  584. package/datepicker/date-range-input-parts.d.ts +0 -108
  585. package/datepicker/date-range-input.d.ts +0 -133
  586. package/datepicker/date-range-picker.d.ts +0 -17
  587. package/datepicker/date-range-selection-strategy.d.ts +0 -48
  588. package/datepicker/date-selection-model.d.ts +0 -139
  589. package/datepicker/datepicker-actions.d.ts +0 -40
  590. package/datepicker/datepicker-animations.d.ts +0 -16
  591. package/datepicker/datepicker-base.d.ts +0 -272
  592. package/datepicker/datepicker-errors.d.ts +0 -9
  593. package/datepicker/datepicker-input-base.d.ts +0 -136
  594. package/datepicker/datepicker-input.d.ts +0 -67
  595. package/datepicker/datepicker-intl.d.ts +0 -36
  596. package/datepicker/datepicker-module.d.ts +0 -26
  597. package/datepicker/datepicker-toggle.d.ts +0 -47
  598. package/datepicker/datepicker.d.ts +0 -7
  599. package/datepicker/datepicker_public_index.d.ts +0 -4
  600. package/datepicker/month-view.d.ts +0 -139
  601. package/datepicker/multi-year-view.d.ts +0 -103
  602. package/datepicker/package.json +0 -9
  603. package/datepicker/public-api.d.ts +0 -26
  604. package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
  605. package/datepicker/testing/calendar-harness.d.ts +0 -53
  606. package/datepicker/testing/date-range-input-harness.d.ts +0 -59
  607. package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
  608. package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
  609. package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
  610. package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
  611. package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
  612. package/datepicker/testing/package.json +0 -9
  613. package/datepicker/testing/public-api.d.ts +0 -13
  614. package/datepicker/year-view.d.ts +0 -114
  615. package/dialog/dialog-animations.d.ts +0 -25
  616. package/dialog/dialog-config.d.ts +0 -100
  617. package/dialog/dialog-container.d.ts +0 -133
  618. package/dialog/dialog-content-directives.d.ts +0 -76
  619. package/dialog/dialog-module.d.ts +0 -11
  620. package/dialog/dialog-ref.d.ts +0 -101
  621. package/dialog/dialog.d.ts +0 -154
  622. package/dialog/dialog_public_index.d.ts +0 -4
  623. package/dialog/package.json +0 -9
  624. package/dialog/public-api.d.ts +0 -14
  625. package/dialog/testing/dialog-harness-filters.d.ts +0 -11
  626. package/dialog/testing/dialog-harness.d.ts +0 -58
  627. package/dialog/testing/dialog-opener.d.ts +0 -33
  628. package/dialog/testing/package.json +0 -9
  629. package/dialog/testing/public-api.d.ts +0 -10
  630. package/divider/divider-module.d.ts +0 -8
  631. package/divider/divider.d.ts +0 -14
  632. package/divider/divider_public_index.d.ts +0 -4
  633. package/divider/package.json +0 -9
  634. package/divider/public-api.d.ts +0 -9
  635. package/divider/testing/divider-harness-filters.d.ts +0 -10
  636. package/divider/testing/divider-harness.d.ts +0 -16
  637. package/divider/testing/package.json +0 -9
  638. package/divider/testing/public-api.d.ts +0 -9
  639. package/expansion/accordion-base.d.ts +0 -34
  640. package/expansion/accordion.d.ts +0 -45
  641. package/expansion/expansion-animations.d.ts +0 -36
  642. package/expansion/expansion-module.d.ts +0 -14
  643. package/expansion/expansion-panel-base.d.ts +0 -22
  644. package/expansion/expansion-panel-content.d.ts +0 -21
  645. package/expansion/expansion-panel-header.d.ts +0 -83
  646. package/expansion/expansion-panel.d.ts +0 -96
  647. package/expansion/expansion_public_index.d.ts +0 -4
  648. package/expansion/package.json +0 -9
  649. package/expansion/public-api.d.ts +0 -15
  650. package/expansion/testing/accordion-harness.d.ts +0 -25
  651. package/expansion/testing/expansion-harness-filters.d.ts +0 -17
  652. package/expansion/testing/expansion-harness.d.ts +0 -79
  653. package/expansion/testing/package.json +0 -9
  654. package/expansion/testing/public-api.d.ts +0 -10
  655. package/form-field/error.d.ts +0 -22
  656. package/form-field/form-field-animations.d.ts +0 -15
  657. package/form-field/form-field-control.d.ts +0 -60
  658. package/form-field/form-field-errors.d.ts +0 -13
  659. package/form-field/form-field-module.d.ts +0 -16
  660. package/form-field/form-field.d.ts +0 -189
  661. package/form-field/form-field_public_index.d.ts +0 -4
  662. package/form-field/hint.d.ts +0 -27
  663. package/form-field/label.d.ts +0 -6
  664. package/form-field/package.json +0 -9
  665. package/form-field/placeholder.d.ts +0 -11
  666. package/form-field/prefix.d.ts +0 -20
  667. package/form-field/public-api.d.ts +0 -18
  668. package/form-field/suffix.d.ts +0 -20
  669. package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
  670. package/form-field/testing/control/package.json +0 -9
  671. package/form-field/testing/form-field-harness-filters.d.ts +0 -15
  672. package/form-field/testing/form-field-harness.d.ts +0 -114
  673. package/form-field/testing/package.json +0 -9
  674. package/form-field/testing/public-api.d.ts +0 -10
  675. package/grid-list/grid-list-base.d.ts +0 -22
  676. package/grid-list/grid-list-module.d.ts +0 -9
  677. package/grid-list/grid-list.d.ts +0 -63
  678. package/grid-list/grid-list_public_index.d.ts +0 -4
  679. package/grid-list/grid-tile.d.ts +0 -64
  680. package/grid-list/package.json +0 -9
  681. package/grid-list/public-api.d.ts +0 -12
  682. package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
  683. package/grid-list/testing/grid-list-harness.d.ts +0 -41
  684. package/grid-list/testing/grid-tile-harness.d.ts +0 -43
  685. package/grid-list/testing/package.json +0 -9
  686. package/grid-list/testing/public-api.d.ts +0 -10
  687. package/grid-list/tile-coordinator.d.ts +0 -79
  688. package/grid-list/tile-styler.d.ts +0 -134
  689. package/icon/fake-svgs.d.ts +0 -23
  690. package/icon/icon-module.d.ts +0 -8
  691. package/icon/icon-registry.d.ts +0 -262
  692. package/icon/icon.d.ts +0 -147
  693. package/icon/icon_public_index.d.ts +0 -4
  694. package/icon/package.json +0 -9
  695. package/icon/public-api.d.ts +0 -10
  696. package/icon/testing/fake-icon-registry.d.ts +0 -46
  697. package/icon/testing/icon-harness-filters.d.ts +0 -22
  698. package/icon/testing/icon-harness.d.ts +0 -29
  699. package/icon/testing/package.json +0 -9
  700. package/icon/testing/public-api.d.ts +0 -10
  701. package/icon/testing/testing_public_index.d.ts +0 -4
  702. package/icon/trusted-types.d.ts +0 -37
  703. package/input/input-errors.d.ts +0 -9
  704. package/input/input-module.d.ts +0 -10
  705. package/input/input-value-accessor.d.ts +0 -17
  706. package/input/input.d.ts +0 -174
  707. package/input/input_public_index.d.ts +0 -4
  708. package/input/package.json +0 -9
  709. package/input/public-api.d.ts +0 -11
  710. package/input/testing/input-harness-filters.d.ts +0 -15
  711. package/input/testing/input-harness.d.ts +0 -57
  712. package/input/testing/native-option-harness.d.ts +0 -29
  713. package/input/testing/native-select-harness-filters.d.ts +0 -17
  714. package/input/testing/native-select-harness.d.ts +0 -45
  715. package/input/testing/package.json +0 -9
  716. package/input/testing/public-api.d.ts +0 -12
  717. package/list/list-module.d.ts +0 -11
  718. package/list/list.d.ts +0 -99
  719. package/list/list_public_index.d.ts +0 -4
  720. package/list/package.json +0 -9
  721. package/list/public-api.d.ts +0 -10
  722. package/list/selection-list.d.ts +0 -226
  723. package/list/testing/action-list-harness.d.ts +0 -44
  724. package/list/testing/list-harness-base.d.ts +0 -100
  725. package/list/testing/list-harness-filters.d.ts +0 -32
  726. package/list/testing/list-harness.d.ts +0 -36
  727. package/list/testing/list-item-harness-base.d.ts +0 -48
  728. package/list/testing/nav-list-harness.d.ts +0 -46
  729. package/list/testing/package.json +0 -9
  730. package/list/testing/public-api.d.ts +0 -13
  731. package/list/testing/selection-list-harness.d.ts +0 -74
  732. package/menu/menu-animations.d.ts +0 -30
  733. package/menu/menu-content.d.ts +0 -47
  734. package/menu/menu-errors.d.ts +0 -25
  735. package/menu/menu-item.d.ts +0 -61
  736. package/menu/menu-module.d.ts +0 -14
  737. package/menu/menu-panel.d.ts +0 -49
  738. package/menu/menu-positions.d.ts +0 -9
  739. package/menu/menu-trigger.d.ts +0 -180
  740. package/menu/menu.d.ts +0 -207
  741. package/menu/menu_public_index.d.ts +0 -4
  742. package/menu/package.json +0 -9
  743. package/menu/public-api.d.ts +0 -15
  744. package/menu/testing/menu-harness-filters.d.ts +0 -20
  745. package/menu/testing/menu-harness.d.ts +0 -98
  746. package/menu/testing/package.json +0 -9
  747. package/menu/testing/public-api.d.ts +0 -9
  748. package/paginator/package.json +0 -9
  749. package/paginator/paginator-intl.d.ts +0 -43
  750. package/paginator/paginator-module.d.ts +0 -12
  751. package/paginator/paginator.d.ts +0 -157
  752. package/paginator/paginator_public_index.d.ts +0 -4
  753. package/paginator/public-api.d.ts +0 -10
  754. package/paginator/testing/package.json +0 -9
  755. package/paginator/testing/paginator-harness-filters.d.ts +0 -11
  756. package/paginator/testing/paginator-harness.d.ts +0 -58
  757. package/paginator/testing/public-api.d.ts +0 -9
  758. package/progress-bar/package.json +0 -9
  759. package/progress-bar/progress-bar-module.d.ts +0 -9
  760. package/progress-bar/progress-bar.d.ts +0 -116
  761. package/progress-bar/progress-bar_public_index.d.ts +0 -4
  762. package/progress-bar/public-api.d.ts +0 -9
  763. package/progress-bar/testing/package.json +0 -9
  764. package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
  765. package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
  766. package/progress-bar/testing/public-api.d.ts +0 -9
  767. package/progress-spinner/package.json +0 -9
  768. package/progress-spinner/progress-spinner-module.d.ts +0 -9
  769. package/progress-spinner/progress-spinner.d.ts +0 -107
  770. package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
  771. package/progress-spinner/public-api.d.ts +0 -16
  772. package/progress-spinner/testing/package.json +0 -9
  773. package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
  774. package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  775. package/progress-spinner/testing/public-api.d.ts +0 -9
  776. package/radio/package.json +0 -9
  777. package/radio/public-api.d.ts +0 -9
  778. package/radio/radio-module.d.ts +0 -8
  779. package/radio/radio.d.ts +0 -260
  780. package/radio/radio_public_index.d.ts +0 -4
  781. package/radio/testing/package.json +0 -9
  782. package/radio/testing/public-api.d.ts +0 -9
  783. package/radio/testing/radio-harness-filters.d.ts +0 -22
  784. package/radio/testing/radio-harness.d.ts +0 -111
  785. package/select/package.json +0 -9
  786. package/select/public-api.d.ts +0 -10
  787. package/select/select-animations.d.ts +0 -19
  788. package/select/select-errors.d.ts +0 -26
  789. package/select/select-module.d.ts +0 -12
  790. package/select/select.d.ts +0 -452
  791. package/select/select_public_index.d.ts +0 -4
  792. package/select/testing/package.json +0 -9
  793. package/select/testing/public-api.d.ts +0 -9
  794. package/select/testing/select-harness-filters.d.ts +0 -11
  795. package/select/testing/select-harness.d.ts +0 -73
  796. package/sidenav/drawer-animations.d.ts +0 -15
  797. package/sidenav/drawer.d.ts +0 -299
  798. package/sidenav/package.json +0 -9
  799. package/sidenav/public-api.d.ts +0 -11
  800. package/sidenav/sidenav-module.d.ts +0 -11
  801. package/sidenav/sidenav.d.ts +0 -45
  802. package/sidenav/sidenav_public_index.d.ts +0 -4
  803. package/sidenav/testing/drawer-container-harness.d.ts +0 -30
  804. package/sidenav/testing/drawer-content-harness.d.ts +0 -21
  805. package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
  806. package/sidenav/testing/drawer-harness.d.ts +0 -33
  807. package/sidenav/testing/package.json +0 -9
  808. package/sidenav/testing/public-api.d.ts +0 -14
  809. package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
  810. package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
  811. package/sidenav/testing/sidenav-harness.d.ts +0 -24
  812. package/slide-toggle/package.json +0 -9
  813. package/slide-toggle/public-api.d.ts +0 -11
  814. package/slide-toggle/slide-toggle-config.d.ts +0 -18
  815. package/slide-toggle/slide-toggle-module.d.ts +0 -16
  816. package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
  817. package/slide-toggle/slide-toggle.d.ts +0 -109
  818. package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
  819. package/slide-toggle/testing/package.json +0 -9
  820. package/slide-toggle/testing/public-api.d.ts +0 -9
  821. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -17
  822. package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
  823. package/slider/package.json +0 -9
  824. package/slider/public-api.d.ts +0 -9
  825. package/slider/slider-module.d.ts +0 -9
  826. package/slider/slider.d.ts +0 -267
  827. package/slider/slider_public_index.d.ts +0 -4
  828. package/slider/testing/package.json +0 -9
  829. package/slider/testing/public-api.d.ts +0 -9
  830. package/slider/testing/slider-harness-filters.d.ts +0 -11
  831. package/slider/testing/slider-harness.d.ts +0 -59
  832. package/snack-bar/package.json +0 -9
  833. package/snack-bar/public-api.d.ts +0 -14
  834. package/snack-bar/simple-snack-bar.d.ts +0 -33
  835. package/snack-bar/snack-bar-animations.d.ts +0 -15
  836. package/snack-bar/snack-bar-config.d.ts +0 -45
  837. package/snack-bar/snack-bar-container.d.ts +0 -101
  838. package/snack-bar/snack-bar-module.d.ts +0 -13
  839. package/snack-bar/snack-bar-ref.d.ts +0 -64
  840. package/snack-bar/snack-bar.d.ts +0 -107
  841. package/snack-bar/snack-bar_public_index.d.ts +0 -4
  842. package/snack-bar/testing/package.json +0 -9
  843. package/snack-bar/testing/public-api.d.ts +0 -9
  844. package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
  845. package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
  846. package/sort/package.json +0 -9
  847. package/sort/public-api.d.ts +0 -13
  848. package/sort/sort-animations.d.ts +0 -20
  849. package/sort/sort-direction.d.ts +0 -8
  850. package/sort/sort-errors.d.ts +0 -15
  851. package/sort/sort-header-intl.d.ts +0 -31
  852. package/sort/sort-header.d.ts +0 -166
  853. package/sort/sort-module.d.ts +0 -10
  854. package/sort/sort.d.ts +0 -93
  855. package/sort/sort_public_index.d.ts +0 -4
  856. package/sort/testing/package.json +0 -9
  857. package/sort/testing/public-api.d.ts +0 -10
  858. package/sort/testing/sort-harness-filters.d.ts +0 -15
  859. package/sort/testing/sort-harness.d.ts +0 -24
  860. package/sort/testing/sort-header-harness.d.ts +0 -30
  861. package/stepper/package.json +0 -9
  862. package/stepper/public-api.d.ts +0 -17
  863. package/stepper/step-content.d.ts +0 -18
  864. package/stepper/step-header.d.ts +0 -66
  865. package/stepper/step-label.d.ts +0 -6
  866. package/stepper/stepper-animations.d.ts +0 -18
  867. package/stepper/stepper-button.d.ts +0 -19
  868. package/stepper/stepper-icon.d.ts +0 -30
  869. package/stepper/stepper-intl.d.ts +0 -34
  870. package/stepper/stepper-module.d.ts +0 -18
  871. package/stepper/stepper.d.ts +0 -80
  872. package/stepper/stepper_public_index.d.ts +0 -4
  873. package/stepper/testing/package.json +0 -9
  874. package/stepper/testing/public-api.d.ts +0 -11
  875. package/stepper/testing/step-harness-filters.d.ts +0 -37
  876. package/stepper/testing/step-harness.d.ts +0 -52
  877. package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
  878. package/stepper/testing/stepper-harness.d.ts +0 -35
  879. package/table/cell.d.ts +0 -59
  880. package/table/package.json +0 -9
  881. package/table/public-api.d.ts +0 -13
  882. package/table/row.d.ts +0 -55
  883. package/table/table-data-source.d.ts +0 -169
  884. package/table/table-module.d.ts +0 -12
  885. package/table/table.d.ts +0 -28
  886. package/table/table_public_index.d.ts +0 -4
  887. package/table/testing/cell-harness.d.ts +0 -49
  888. package/table/testing/package.json +0 -9
  889. package/table/testing/public-api.d.ts +0 -11
  890. package/table/testing/row-harness.d.ts +0 -66
  891. package/table/testing/table-harness-filters.d.ts +0 -21
  892. package/table/testing/table-harness.d.ts +0 -58
  893. package/table/text-column.d.ts +0 -22
  894. package/tabs/ink-bar.d.ts +0 -49
  895. package/tabs/package.json +0 -9
  896. package/tabs/paginated-tab-header.d.ts +0 -196
  897. package/tabs/public-api.d.ts +0 -20
  898. package/tabs/tab-body.d.ts +0 -116
  899. package/tabs/tab-config.d.ts +0 -35
  900. package/tabs/tab-content.d.ts +0 -22
  901. package/tabs/tab-group.d.ts +0 -181
  902. package/tabs/tab-header.d.ts +0 -49
  903. package/tabs/tab-label-wrapper.d.ts +0 -29
  904. package/tabs/tab-label.d.ts +0 -28
  905. package/tabs/tab-nav-bar/index.d.ts +0 -8
  906. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
  907. package/tabs/tab.d.ts +0 -89
  908. package/tabs/tabs-animations.d.ts +0 -15
  909. package/tabs/tabs-module.d.ts +0 -20
  910. package/tabs/tabs_public_index.d.ts +0 -4
  911. package/tabs/testing/package.json +0 -9
  912. package/tabs/testing/public-api.d.ts +0 -12
  913. package/tabs/testing/tab-group-harness.d.ts +0 -35
  914. package/tabs/testing/tab-harness-filters.d.ts +0 -29
  915. package/tabs/testing/tab-harness.d.ts +0 -38
  916. package/tabs/testing/tab-link-harness.d.ts +0 -29
  917. package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  918. package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  919. package/toolbar/package.json +0 -9
  920. package/toolbar/public-api.d.ts +0 -9
  921. package/toolbar/testing/package.json +0 -9
  922. package/toolbar/testing/public-api.d.ts +0 -9
  923. package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
  924. package/toolbar/testing/toolbar-harness.d.ts +0 -31
  925. package/toolbar/toolbar-module.d.ts +0 -8
  926. package/toolbar/toolbar.d.ts +0 -41
  927. package/toolbar/toolbar_public_index.d.ts +0 -4
  928. package/tooltip/package.json +0 -9
  929. package/tooltip/public-api.d.ts +0 -10
  930. package/tooltip/testing/package.json +0 -9
  931. package/tooltip/testing/public-api.d.ts +0 -9
  932. package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
  933. package/tooltip/testing/tooltip-harness.d.ts +0 -38
  934. package/tooltip/tooltip-animations.d.ts +0 -15
  935. package/tooltip/tooltip-module.d.ts +0 -12
  936. package/tooltip/tooltip.d.ts +0 -299
  937. package/tooltip/tooltip_public_index.d.ts +0 -4
  938. package/tree/data-source/flat-data-source.d.ts +0 -83
  939. package/tree/data-source/nested-data-source.d.ts +0 -25
  940. package/tree/node.d.ts +0 -53
  941. package/tree/outlet.d.ts +0 -21
  942. package/tree/package.json +0 -9
  943. package/tree/padding.d.ts +0 -23
  944. package/tree/public-api.d.ts +0 -15
  945. package/tree/testing/node-harness.d.ts +0 -35
  946. package/tree/testing/package.json +0 -9
  947. package/tree/testing/public-api.d.ts +0 -10
  948. package/tree/testing/tree-harness-filters.d.ts +0 -22
  949. package/tree/testing/tree-harness.d.ts +0 -79
  950. package/tree/toggle.d.ts +0 -16
  951. package/tree/tree-module.d.ts +0 -13
  952. package/tree/tree.d.ts +0 -18
  953. package/tree/tree_public_index.d.ts +0 -4
@@ -1,8 +1,404 @@
1
+ import { _AbstractConstructor } from '@angular/material/core';
2
+ import { AbstractControlDirective } from '@angular/forms';
3
+ import { AfterContentChecked } from '@angular/core';
4
+ import { AfterContentInit } from '@angular/core';
5
+ import { AfterViewInit } from '@angular/core';
6
+ import { AnimationTriggerMetadata } from '@angular/animations';
7
+ import { BooleanInput } from '@angular/cdk/coercion';
8
+ import { CanColor } from '@angular/material/core';
9
+ import { ChangeDetectorRef } from '@angular/core';
10
+ import { _Constructor } from '@angular/material/core';
11
+ import { Directionality } from '@angular/cdk/bidi';
12
+ import { ElementRef } from '@angular/core';
13
+ import * as i0 from '@angular/core';
14
+ import * as i10 from '@angular/cdk/observers';
15
+ import * as i8 from '@angular/common';
16
+ import * as i9 from '@angular/material/core';
17
+ import { InjectionToken } from '@angular/core';
18
+ import { NgControl } from '@angular/forms';
19
+ import { NgZone } from '@angular/core';
20
+ import { Observable } from 'rxjs';
21
+ import { OnDestroy } from '@angular/core';
22
+ import { Platform } from '@angular/cdk/platform';
23
+ import { QueryList } from '@angular/core';
24
+ import { ThemePalette } from '@angular/material/core';
25
+
26
+ /** Possible values for the "floatLabel" form field input. */
27
+ export declare type FloatLabelType = 'always' | 'never' | 'auto';
28
+
29
+ /** @docs-private */
30
+ export declare function getMatFormFieldDuplicatedHintError(align: string): Error;
31
+
32
+ /** @docs-private */
33
+ export declare function getMatFormFieldMissingControlError(): Error;
34
+
35
+
36
+ /** @docs-private */
37
+ export declare function getMatFormFieldPlaceholderConflictError(): Error;
38
+
39
+ declare namespace i1 {
40
+ export {
41
+ MAT_ERROR,
42
+ MatError
43
+ }
44
+ }
45
+
46
+ declare namespace i2 {
47
+ export {
48
+ MatFormFieldAppearance,
49
+ FloatLabelType,
50
+ MatFormFieldDefaultOptions,
51
+ MAT_FORM_FIELD_DEFAULT_OPTIONS,
52
+ MAT_FORM_FIELD,
53
+ MatFormField
54
+ }
55
+ }
56
+
57
+ declare namespace i3 {
58
+ export {
59
+ _MAT_HINT,
60
+ MatHint
61
+ }
62
+ }
63
+
64
+ declare namespace i4 {
65
+ export {
66
+ MatLabel
67
+ }
68
+ }
69
+
70
+ declare namespace i5 {
71
+ export {
72
+ MatPlaceholder
73
+ }
74
+ }
75
+
76
+ declare namespace i6 {
77
+ export {
78
+ MAT_PREFIX,
79
+ MatPrefix
80
+ }
81
+ }
82
+
83
+ declare namespace i7 {
84
+ export {
85
+ MAT_SUFFIX,
86
+ MatSuffix
87
+ }
88
+ }
89
+
1
90
  /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
91
+ * Injection token that can be used to reference instances of `MatError`. It serves as
92
+ * alternative token to the actual `MatError` class which could cause unnecessary
93
+ * retention of the class and its directive metadata.
94
+ */
95
+ export declare const MAT_ERROR: InjectionToken<MatError>;
96
+
97
+ /**
98
+ * Injection token that can be used to inject an instances of `MatFormField`. It serves
99
+ * as alternative token to the actual `MatFormField` class which would cause unnecessary
100
+ * retention of the `MatFormField` class and its component metadata.
101
+ */
102
+ export declare const MAT_FORM_FIELD: InjectionToken<MatFormField>;
103
+
104
+ /**
105
+ * Injection token that can be used to configure the
106
+ * default options for all form field within an app.
107
+ */
108
+ export declare const MAT_FORM_FIELD_DEFAULT_OPTIONS: InjectionToken<MatFormFieldDefaultOptions>;
109
+
110
+ /**
111
+ * Injection token that can be used to reference instances of `MatHint`. It serves as
112
+ * alternative token to the actual `MatHint` class which could cause unnecessary
113
+ * retention of the class and its directive metadata.
4
114
  *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
115
+ * *Note*: This is not part of the public API as the MDC-based form-field will not
116
+ * need a lightweight token for `MatHint` and we want to reduce breaking changes.
117
+ */
118
+ export declare const _MAT_HINT: InjectionToken<MatHint>;
119
+
120
+ /**
121
+ * Injection token that can be used to reference instances of `MatPrefix`. It serves as
122
+ * alternative token to the actual `MatPrefix` class which could cause unnecessary
123
+ * retention of the class and its directive metadata.
124
+ */
125
+ export declare const MAT_PREFIX: InjectionToken<MatPrefix>;
126
+
127
+ /**
128
+ * Injection token that can be used to reference instances of `MatSuffix`. It serves as
129
+ * alternative token to the actual `MatSuffix` class which could cause unnecessary
130
+ * retention of the class and its directive metadata.
131
+ */
132
+ export declare const MAT_SUFFIX: InjectionToken<MatSuffix>;
133
+
134
+ /** Single error message to be shown underneath the form field. */
135
+ export declare class MatError {
136
+ id: string;
137
+ constructor(ariaLive: string, elementRef: ElementRef);
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatError, [{ attribute: "aria-live"; }, null]>;
139
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatError, "mat-error", never, { "id": "id"; }, {}, never, never, false>;
140
+ }
141
+
142
+ /** Container for form controls that applies Material Design styling and behavior. */
143
+ export declare class MatFormField extends _MatFormFieldBase implements AfterContentInit, AfterContentChecked, AfterViewInit, OnDestroy, CanColor {
144
+ private _changeDetectorRef;
145
+ private _dir;
146
+ private _defaults;
147
+ private _platform;
148
+ private _ngZone;
149
+ /**
150
+ * Whether the outline gap needs to be calculated
151
+ * immediately on the next change detection run.
152
+ */
153
+ private _outlineGapCalculationNeededImmediately;
154
+ /** Whether the outline gap needs to be calculated next time the zone has stabilized. */
155
+ private _outlineGapCalculationNeededOnStable;
156
+ private readonly _destroyed;
157
+ /** The form field appearance style. */
158
+ get appearance(): MatFormFieldAppearance;
159
+ set appearance(value: MatFormFieldAppearance);
160
+ _appearance: MatFormFieldAppearance;
161
+ /** Whether the required marker should be hidden. */
162
+ get hideRequiredMarker(): boolean;
163
+ set hideRequiredMarker(value: BooleanInput);
164
+ private _hideRequiredMarker;
165
+ /** Override for the logic that disables the label animation in certain cases. */
166
+ private _showAlwaysAnimate;
167
+ /** Whether the floating label should always float or not. */
168
+ _shouldAlwaysFloat(): boolean;
169
+ /** Whether the label can float or not. */
170
+ _canLabelFloat(): boolean;
171
+ /** State of the mat-hint and mat-error animations. */
172
+ _subscriptAnimationState: string;
173
+ /** Text for the form field hint. */
174
+ get hintLabel(): string;
175
+ set hintLabel(value: string);
176
+ private _hintLabel;
177
+ readonly _hintLabelId: string;
178
+ readonly _labelId: string;
179
+ /**
180
+ * Whether the label should always float, never float or float as the user types.
181
+ *
182
+ * Note: only the legacy appearance supports the `never` option. `never` was originally added as a
183
+ * way to make the floating label emulate the behavior of a standard input placeholder. However
184
+ * the form field now supports both floating labels and placeholders. Therefore in the non-legacy
185
+ * appearances the `never` option has been disabled in favor of just using the placeholder.
186
+ */
187
+ get floatLabel(): FloatLabelType;
188
+ set floatLabel(value: FloatLabelType);
189
+ private _floatLabel;
190
+ /** Whether the Angular animations are enabled. */
191
+ _animationsEnabled: boolean;
192
+ _connectionContainerRef: ElementRef;
193
+ _inputContainerRef: ElementRef;
194
+ private _label;
195
+ _controlNonStatic: MatFormFieldControl<any>;
196
+ _controlStatic: MatFormFieldControl<any>;
197
+ get _control(): MatFormFieldControl<any>;
198
+ set _control(value: MatFormFieldControl<any>);
199
+ private _explicitFormFieldControl;
200
+ _labelChildNonStatic: MatLabel;
201
+ _labelChildStatic: MatLabel;
202
+ _placeholderChild: MatPlaceholder;
203
+ _errorChildren: QueryList<MatError>;
204
+ _hintChildren: QueryList<MatHint>;
205
+ _prefixChildren: QueryList<MatPrefix>;
206
+ _suffixChildren: QueryList<MatSuffix>;
207
+ constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality, _defaults: MatFormFieldDefaultOptions, _platform: Platform, _ngZone: NgZone, _animationMode: string);
208
+ /**
209
+ * Gets the id of the label element. If no label is present, returns `null`.
210
+ */
211
+ getLabelId(): string | null;
212
+ /**
213
+ * Gets an ElementRef for the element that a overlay attached to the form field should be
214
+ * positioned relative to.
215
+ */
216
+ getConnectedOverlayOrigin(): ElementRef;
217
+ ngAfterContentInit(): void;
218
+ ngAfterContentChecked(): void;
219
+ ngAfterViewInit(): void;
220
+ ngOnDestroy(): void;
221
+ /**
222
+ * Determines whether a class from the AbstractControlDirective
223
+ * should be forwarded to the host element.
224
+ */
225
+ _shouldForward(prop: keyof AbstractControlDirective): boolean;
226
+ _hasPlaceholder(): boolean;
227
+ _hasLabel(): boolean;
228
+ _shouldLabelFloat(): boolean;
229
+ _hideControlPlaceholder(): boolean;
230
+ _hasFloatingLabel(): boolean;
231
+ /** Determines whether to display hints or errors. */
232
+ _getDisplayedMessages(): 'error' | 'hint';
233
+ /** Animates the placeholder up and locks it in position. */
234
+ _animateAndLockLabel(): void;
235
+ /**
236
+ * Ensure that there is only one placeholder (either `placeholder` attribute on the child control
237
+ * or child element with the `mat-placeholder` directive).
238
+ */
239
+ private _validatePlaceholders;
240
+ /** Does any extra processing that is required when handling the hints. */
241
+ private _processHints;
242
+ /**
243
+ * Ensure that there is a maximum of one of each `<mat-hint>` alignment specified, with the
244
+ * attribute being considered as `align="start"`.
245
+ */
246
+ private _validateHints;
247
+ /** Gets the default float label state. */
248
+ private _getDefaultFloatLabelState;
249
+ /**
250
+ * Sets the list of element IDs that describe the child control. This allows the control to update
251
+ * its `aria-describedby` attribute accordingly.
252
+ */
253
+ private _syncDescribedByIds;
254
+ /** Throws an error if the form field's control is missing. */
255
+ protected _validateControlChild(): void;
256
+ /**
257
+ * Updates the width and position of the gap in the outline. Only relevant for the outline
258
+ * appearance.
259
+ */
260
+ updateOutlineGap(): void;
261
+ /** Gets the start end of the rect considering the current directionality. */
262
+ private _getStartEnd;
263
+ /** Checks whether the form field is attached to the DOM. */
264
+ private _isAttachedToDOM;
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, [null, null, { optional: true; }, { optional: true; }, null, null, { optional: true; }]>;
266
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "color": "color"; "appearance": "appearance"; "hideRequiredMarker": "hideRequiredMarker"; "hintLabel": "hintLabel"; "floatLabel": "floatLabel"; }, {}, ["_controlNonStatic", "_controlStatic", "_labelChildNonStatic", "_labelChildStatic", "_placeholderChild", "_errorChildren", "_hintChildren", "_prefixChildren", "_suffixChildren"], ["[matPrefix]", "*", "mat-placeholder", "mat-label", "[matSuffix]", "mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']"], false>;
267
+ }
268
+
269
+ /**
270
+ * Animations used by the MatFormField.
271
+ * @docs-private
272
+ */
273
+ export declare const matFormFieldAnimations: {
274
+ readonly transitionMessages: AnimationTriggerMetadata;
275
+ };
276
+
277
+ /** Possible appearance styles for the form field. */
278
+ export declare type MatFormFieldAppearance = 'legacy' | 'standard' | 'fill' | 'outline';
279
+
280
+ /**
281
+ * Boilerplate for applying mixins to MatFormField.
282
+ * @docs-private
283
+ */
284
+ declare const _MatFormFieldBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & {
285
+ new (_elementRef: ElementRef): {
286
+ _elementRef: ElementRef;
287
+ };
288
+ };
289
+
290
+ /** An interface which allows a control to work inside of a `MatFormField`. */
291
+ export declare abstract class MatFormFieldControl<T> {
292
+ /** The value of the control. */
293
+ value: T | null;
294
+ /**
295
+ * Stream that emits whenever the state of the control changes such that the parent `MatFormField`
296
+ * needs to run change detection.
297
+ */
298
+ readonly stateChanges: Observable<void>;
299
+ /** The element ID for this control. */
300
+ readonly id: string;
301
+ /** The placeholder for this control. */
302
+ readonly placeholder: string;
303
+ /** Gets the AbstractControlDirective for this control. */
304
+ readonly ngControl: NgControl | AbstractControlDirective | null;
305
+ /** Whether the control is focused. */
306
+ readonly focused: boolean;
307
+ /** Whether the control is empty. */
308
+ readonly empty: boolean;
309
+ /** Whether the `MatFormField` label should try to float. */
310
+ readonly shouldLabelFloat: boolean;
311
+ /** Whether the control is required. */
312
+ readonly required: boolean;
313
+ /** Whether the control is disabled. */
314
+ readonly disabled: boolean;
315
+ /** Whether the control is in an error state. */
316
+ readonly errorState: boolean;
317
+ /**
318
+ * An optional name for the control type that can be used to distinguish `mat-form-field` elements
319
+ * based on their control type. The form field will add a class,
320
+ * `mat-form-field-type-{{controlType}}` to its root element.
321
+ */
322
+ readonly controlType?: string;
323
+ /**
324
+ * Whether the input is currently in an autofilled state. If property is not present on the
325
+ * control it is assumed to be false.
326
+ */
327
+ readonly autofilled?: boolean;
328
+ /**
329
+ * Value of `aria-describedby` that should be merged with the described-by ids
330
+ * which are set by the form-field.
331
+ */
332
+ readonly userAriaDescribedBy?: string;
333
+ /** Sets the list of element IDs that currently describe this control. */
334
+ abstract setDescribedByIds(ids: string[]): void;
335
+ /** Handles a click on the control's container. */
336
+ abstract onContainerClick(event: MouseEvent): void;
337
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldControl<any>, never>;
338
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldControl<any>, never, never, {}, {}, never, never, false>;
339
+ }
340
+
341
+ /**
342
+ * Represents the default options for the form field that can be configured
343
+ * using the `MAT_FORM_FIELD_DEFAULT_OPTIONS` injection token.
344
+ */
345
+ export declare interface MatFormFieldDefaultOptions {
346
+ /** Default form field appearance style. */
347
+ appearance?: MatFormFieldAppearance;
348
+ /** Default color of the form field. */
349
+ color?: ThemePalette;
350
+ /** Whether the required marker should be hidden by default. */
351
+ hideRequiredMarker?: boolean;
352
+ /**
353
+ * Whether the label for form fields should by default float `always`,
354
+ * `never`, or `auto` (only when necessary).
355
+ */
356
+ floatLabel?: FloatLabelType;
357
+ }
358
+
359
+ export declare class MatFormFieldModule {
360
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldModule, never>;
361
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, [typeof i1.MatError, typeof i2.MatFormField, typeof i3.MatHint, typeof i4.MatLabel, typeof i5.MatPlaceholder, typeof i6.MatPrefix, typeof i7.MatSuffix], [typeof i8.CommonModule, typeof i9.MatCommonModule, typeof i10.ObserversModule], [typeof i9.MatCommonModule, typeof i1.MatError, typeof i2.MatFormField, typeof i3.MatHint, typeof i4.MatLabel, typeof i5.MatPlaceholder, typeof i6.MatPrefix, typeof i7.MatSuffix]>;
362
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatFormFieldModule>;
363
+ }
364
+
365
+ /** Hint text to be shown underneath the form field control. */
366
+ export declare class MatHint {
367
+ /** Whether to align the hint label at the start or end of the line. */
368
+ align: 'start' | 'end';
369
+ /** Unique ID for the hint. Used for the aria-describedby on the form field control. */
370
+ id: string;
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatHint, never>;
372
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatHint, "mat-hint", never, { "align": "align"; "id": "id"; }, {}, never, never, false>;
373
+ }
374
+
375
+ /** The floating label for a `mat-form-field`. */
376
+ export declare class MatLabel {
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatLabel, never>;
378
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatLabel, "mat-label", never, {}, {}, never, never, false>;
379
+ }
380
+
381
+ /**
382
+ * The placeholder text for an `MatFormField`.
383
+ * @deprecated Use `<mat-label>` to specify the label and the `placeholder` attribute to specify the
384
+ * placeholder.
385
+ * @breaking-change 8.0.0
7
386
  */
8
- export * from './public-api';
387
+ export declare class MatPlaceholder {
388
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPlaceholder, never>;
389
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatPlaceholder, "mat-placeholder", never, {}, {}, never, never, false>;
390
+ }
391
+
392
+ /** Prefix to be placed in front of the form field. */
393
+ export declare class MatPrefix {
394
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPrefix, never>;
395
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatPrefix, "[matPrefix]", never, {}, {}, never, never, false>;
396
+ }
397
+
398
+ /** Suffix to be placed at the end of the form field. */
399
+ export declare class MatSuffix {
400
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSuffix, never>;
401
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatSuffix, "[matSuffix]", never, {}, {}, never, never, false>;
402
+ }
403
+
404
+ export { }
@@ -1,8 +1,10 @@
1
+ import { ComponentHarness } from '@angular/cdk/testing';
2
+
1
3
  /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
4
+ * Base class for custom form-field control harnesses. Harnesses for
5
+ * custom controls with form-fields need to implement this interface.
7
6
  */
8
- export * from './form-field-control-harness';
7
+ export declare abstract class MatFormFieldControlHarness extends ComponentHarness {
8
+ }
9
+
10
+ export { }
@@ -1,8 +1,127 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- export * from './public-api';
1
+ import { AsyncFactoryFn } from '@angular/cdk/testing';
2
+ import { BaseHarnessFilters } from '@angular/cdk/testing';
3
+ import { ComponentHarness } from '@angular/cdk/testing';
4
+ import { ComponentHarnessConstructor } from '@angular/cdk/testing';
5
+ import { HarnessPredicate } from '@angular/cdk/testing';
6
+ import { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';
7
+ import { MatDateRangeInputHarness } from '@angular/material/datepicker/testing';
8
+ import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
9
+ import { MatInputHarness } from '@angular/material/input/testing';
10
+ import { MatSelectHarness } from '@angular/material/select/testing';
11
+ import { TestElement } from '@angular/cdk/testing';
12
+
13
+ /** Possible harnesses of controls which can be bound to a form-field. */
14
+ export declare type FormFieldControlHarness = MatInputHarness | MatSelectHarness | MatDatepickerInputHarness | MatDateRangeInputHarness;
15
+
16
+ /** A set of criteria that can be used to filter a list of `MatFormFieldHarness` instances. */
17
+ export declare interface FormFieldHarnessFilters extends BaseHarnessFilters {
18
+ /** Filters based on the text of the form field's floating label. */
19
+ floatingLabelText?: string | RegExp;
20
+ /** Filters based on whether the form field has error messages. */
21
+ hasErrors?: boolean;
22
+ }
23
+
24
+ export { MatFormFieldControlHarness }
25
+
26
+ /** Harness for interacting with a standard Material form-field's in tests. */
27
+ export declare class MatFormFieldHarness extends _MatFormFieldHarnessBase<FormFieldControlHarness> {
28
+ static hostSelector: string;
29
+ /**
30
+ * Gets a `HarnessPredicate` that can be used to search for a `MatFormFieldHarness` that meets
31
+ * certain criteria.
32
+ * @param options Options for filtering which form field instances are considered a match.
33
+ * @return a `HarnessPredicate` configured with the given options.
34
+ */
35
+ static with(options?: FormFieldHarnessFilters): HarnessPredicate<MatFormFieldHarness>;
36
+ protected _prefixContainer: AsyncFactoryFn<TestElement | null>;
37
+ protected _suffixContainer: AsyncFactoryFn<TestElement | null>;
38
+ protected _label: AsyncFactoryFn<TestElement | null>;
39
+ protected _errors: AsyncFactoryFn<TestElement[]>;
40
+ protected _hints: AsyncFactoryFn<TestElement[]>;
41
+ protected _inputControl: AsyncFactoryFn<MatInputHarness | null>;
42
+ protected _selectControl: AsyncFactoryFn<MatSelectHarness | null>;
43
+ protected _datepickerInputControl: AsyncFactoryFn<MatDatepickerInputHarness | null>;
44
+ protected _dateRangeInputControl: AsyncFactoryFn<MatDateRangeInputHarness | null>;
45
+ /** Gets the appearance of the form-field. */
46
+ getAppearance(): Promise<'legacy' | 'standard' | 'fill' | 'outline'>;
47
+ /** Whether the form-field has a label. */
48
+ hasLabel(): Promise<boolean>;
49
+ /** Whether the label is currently floating. */
50
+ isLabelFloating(): Promise<boolean>;
51
+ }
52
+
53
+ export declare abstract class _MatFormFieldHarnessBase<ControlHarness extends MatFormFieldControlHarness> extends ComponentHarness {
54
+ protected abstract _prefixContainer: AsyncFactoryFn<TestElement | null>;
55
+ protected abstract _suffixContainer: AsyncFactoryFn<TestElement | null>;
56
+ protected abstract _label: AsyncFactoryFn<TestElement | null>;
57
+ protected abstract _errors: AsyncFactoryFn<TestElement[]>;
58
+ protected abstract _hints: AsyncFactoryFn<TestElement[]>;
59
+ protected abstract _inputControl: AsyncFactoryFn<ControlHarness | null>;
60
+ protected abstract _selectControl: AsyncFactoryFn<ControlHarness | null>;
61
+ protected abstract _datepickerInputControl: AsyncFactoryFn<ControlHarness | null>;
62
+ protected abstract _dateRangeInputControl: AsyncFactoryFn<ControlHarness | null>;
63
+ /** Gets the appearance of the form-field. */
64
+ abstract getAppearance(): Promise<string>;
65
+ /** Whether the label is currently floating. */
66
+ abstract isLabelFloating(): Promise<boolean>;
67
+ /** Whether the form-field has a label. */
68
+ abstract hasLabel(): Promise<boolean>;
69
+ /** Gets the label of the form-field. */
70
+ getLabel(): Promise<string | null>;
71
+ /** Whether the form-field has errors. */
72
+ hasErrors(): Promise<boolean>;
73
+ /** Whether the form-field is disabled. */
74
+ isDisabled(): Promise<boolean>;
75
+ /** Whether the form-field is currently autofilled. */
76
+ isAutofilled(): Promise<boolean>;
77
+ /**
78
+ * Gets the harness of the control that is bound to the form-field. Only
79
+ * default controls such as "MatInputHarness" and "MatSelectHarness" are
80
+ * supported.
81
+ */
82
+ getControl(): Promise<ControlHarness | null>;
83
+ /**
84
+ * Gets the harness of the control that is bound to the form-field. Searches
85
+ * for a control that matches the specified harness type.
86
+ */
87
+ getControl<X extends MatFormFieldControlHarness>(type: ComponentHarnessConstructor<X>): Promise<X | null>;
88
+ /**
89
+ * Gets the harness of the control that is bound to the form-field. Searches
90
+ * for a control that matches the specified harness predicate.
91
+ */
92
+ getControl<X extends MatFormFieldControlHarness>(type: HarnessPredicate<X>): Promise<X | null>;
93
+ /** Gets the theme color of the form-field. */
94
+ getThemeColor(): Promise<'primary' | 'accent' | 'warn'>;
95
+ /** Gets error messages which are currently displayed in the form-field. */
96
+ getTextErrors(): Promise<string[]>;
97
+ /** Gets hint messages which are currently displayed in the form-field. */
98
+ getTextHints(): Promise<string[]>;
99
+ /** Gets the text inside the prefix element. */
100
+ getPrefixText(): Promise<string>;
101
+ /** Gets the text inside the suffix element. */
102
+ getSuffixText(): Promise<string>;
103
+ /**
104
+ * Whether the form control has been touched. Returns "null"
105
+ * if no form control is set up.
106
+ */
107
+ isControlTouched(): Promise<boolean | null>;
108
+ /**
109
+ * Whether the form control is dirty. Returns "null"
110
+ * if no form control is set up.
111
+ */
112
+ isControlDirty(): Promise<boolean | null>;
113
+ /**
114
+ * Whether the form control is valid. Returns "null"
115
+ * if no form control is set up.
116
+ */
117
+ isControlValid(): Promise<boolean | null>;
118
+ /**
119
+ * Whether the form control is pending validation. Returns "null"
120
+ * if no form control is set up.
121
+ */
122
+ isControlPending(): Promise<boolean | null>;
123
+ /** Checks whether the form-field control has set up a form control. */
124
+ private _hasFormControl;
125
+ }
126
+
127
+ export { }