@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,247 @@
1
+ import { _AbstractConstructor } from '@angular/material/core';
2
+ import { AfterContentInit } from '@angular/core';
3
+ import { AfterViewInit } from '@angular/core';
4
+ import { BooleanInput } from '@angular/cdk/coercion';
5
+ import { CanDisableRipple } from '@angular/material/core';
6
+ import { ChangeDetectorRef } from '@angular/core';
7
+ import { _Constructor } from '@angular/material/core';
8
+ import { ControlValueAccessor } from '@angular/forms';
9
+ import { ElementRef } from '@angular/core';
10
+ import { EventEmitter } from '@angular/core';
11
+ import { FocusMonitor } from '@angular/cdk/a11y';
12
+ import * as i0 from '@angular/core';
13
+ import * as i2 from '@angular/material/core';
14
+ import { InjectionToken } from '@angular/core';
15
+ import { OnDestroy } from '@angular/core';
16
+ import { OnInit } from '@angular/core';
17
+ import { QueryList } from '@angular/core';
18
+
19
+ declare namespace i1 {
20
+ export {
21
+ ToggleType,
22
+ MatButtonToggleAppearance,
23
+ MatButtonToggleDefaultOptions,
24
+ MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS,
25
+ MAT_BUTTON_TOGGLE_GROUP,
26
+ MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR,
27
+ MatButtonToggleChange,
28
+ MatButtonToggleGroup,
29
+ MatButtonToggle
30
+ }
31
+ }
32
+
1
33
  /**
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
34
+ * Injection token that can be used to configure the
35
+ * default options for all button toggles within an app.
7
36
  */
8
- export * from './public-api';
37
+ export declare const MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatButtonToggleDefaultOptions>;
38
+
39
+ /**
40
+ * Injection token that can be used to reference instances of `MatButtonToggleGroup`.
41
+ * It serves as alternative token to the actual `MatButtonToggleGroup` class which
42
+ * could cause unnecessary retention of the class and its component metadata.
43
+ */
44
+ export declare const MAT_BUTTON_TOGGLE_GROUP: InjectionToken<MatButtonToggleGroup>;
45
+
46
+ /**
47
+ * Provider Expression that allows mat-button-toggle-group to register as a ControlValueAccessor.
48
+ * This allows it to support [(ngModel)].
49
+ * @docs-private
50
+ */
51
+ export declare const MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: any;
52
+
53
+ /** Single button inside of a toggle group. */
54
+ export declare class MatButtonToggle extends _MatButtonToggleBase implements OnInit, AfterViewInit, CanDisableRipple, OnDestroy {
55
+ private _changeDetectorRef;
56
+ private _elementRef;
57
+ private _focusMonitor;
58
+ private _isSingleSelector;
59
+ private _checked;
60
+ /**
61
+ * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
62
+ * take precedence so this may be omitted.
63
+ */
64
+ ariaLabel: string;
65
+ /**
66
+ * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
67
+ */
68
+ ariaLabelledby: string | null;
69
+ /** Underlying native `button` element. */
70
+ _buttonElement: ElementRef<HTMLButtonElement>;
71
+ /** The parent button toggle group (exclusive selection). Optional. */
72
+ buttonToggleGroup: MatButtonToggleGroup;
73
+ /** Unique ID for the underlying `button` element. */
74
+ get buttonId(): string;
75
+ /** The unique ID for this button toggle. */
76
+ id: string;
77
+ /** HTML's 'name' attribute used to group radios for unique selection. */
78
+ name: string;
79
+ /** MatButtonToggleGroup reads this to assign its own value. */
80
+ value: any;
81
+ /** Tabindex for the toggle. */
82
+ tabIndex: number | null;
83
+ /** The appearance style of the button. */
84
+ get appearance(): MatButtonToggleAppearance;
85
+ set appearance(value: MatButtonToggleAppearance);
86
+ private _appearance;
87
+ /** Whether the button is checked. */
88
+ get checked(): boolean;
89
+ set checked(value: BooleanInput);
90
+ /** Whether the button is disabled. */
91
+ get disabled(): boolean;
92
+ set disabled(value: BooleanInput);
93
+ private _disabled;
94
+ /** Event emitted when the group value changes. */
95
+ readonly change: EventEmitter<MatButtonToggleChange>;
96
+ constructor(toggleGroup: MatButtonToggleGroup, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _focusMonitor: FocusMonitor, defaultTabIndex: string, defaultOptions?: MatButtonToggleDefaultOptions);
97
+ ngOnInit(): void;
98
+ ngAfterViewInit(): void;
99
+ ngOnDestroy(): void;
100
+ /** Focuses the button. */
101
+ focus(options?: FocusOptions): void;
102
+ /** Checks the button toggle due to an interaction with the underlying native button. */
103
+ _onButtonClick(): void;
104
+ /**
105
+ * Marks the button toggle as needing checking for change detection.
106
+ * This method is exposed because the parent button toggle group will directly
107
+ * update bound properties of the radio button.
108
+ */
109
+ _markForCheck(): void;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, [{ optional: true; }, null, null, null, { attribute: "tabindex"; }, { optional: true; }]>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonToggle, "mat-button-toggle", ["matButtonToggle"], { "disableRipple": "disableRipple"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "id": "id"; "name": "name"; "value": "value"; "tabIndex": "tabIndex"; "appearance": "appearance"; "checked": "checked"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"], false>;
112
+ }
113
+
114
+ /** Possible appearance styles for the button toggle. */
115
+ export declare type MatButtonToggleAppearance = 'legacy' | 'standard';
116
+
117
+ /** @docs-private */
118
+ declare const _MatButtonToggleBase: _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & {
119
+ new (): {};
120
+ };
121
+
122
+ /** Change event object emitted by MatButtonToggle. */
123
+ export declare class MatButtonToggleChange {
124
+ /** The MatButtonToggle that emits the event. */
125
+ source: MatButtonToggle;
126
+ /** The value assigned to the MatButtonToggle. */
127
+ value: any;
128
+ constructor(
129
+ /** The MatButtonToggle that emits the event. */
130
+ source: MatButtonToggle,
131
+ /** The value assigned to the MatButtonToggle. */
132
+ value: any);
133
+ }
134
+
135
+ /**
136
+ * Represents the default options for the button toggle that can be configured
137
+ * using the `MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS` injection token.
138
+ */
139
+ export declare interface MatButtonToggleDefaultOptions {
140
+ /**
141
+ * Default appearance to be used by button toggles. Can be overridden by explicitly
142
+ * setting an appearance on a button toggle or group.
143
+ */
144
+ appearance?: MatButtonToggleAppearance;
145
+ }
146
+
147
+ /** Exclusive selection button toggle group that behaves like a radio-button group. */
148
+ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnInit, AfterContentInit {
149
+ private _changeDetector;
150
+ private _vertical;
151
+ private _multiple;
152
+ private _disabled;
153
+ private _selectionModel;
154
+ /**
155
+ * Reference to the raw value that the consumer tried to assign. The real
156
+ * value will exclude any values from this one that don't correspond to a
157
+ * toggle. Useful for the cases where the value is assigned before the toggles
158
+ * have been initialized or at the same that they're being swapped out.
159
+ */
160
+ private _rawValue;
161
+ /**
162
+ * The method to be called in order to update ngModel.
163
+ * Now `ngModel` binding is not supported in multiple selection mode.
164
+ */
165
+ _controlValueAccessorChangeFn: (value: any) => void;
166
+ /** onTouch function registered via registerOnTouch (ControlValueAccessor). */
167
+ _onTouched: () => any;
168
+ /** Child button toggle buttons. */
169
+ _buttonToggles: QueryList<MatButtonToggle>;
170
+ /** The appearance for all the buttons in the group. */
171
+ appearance: MatButtonToggleAppearance;
172
+ /** `name` attribute for the underlying `input` element. */
173
+ get name(): string;
174
+ set name(value: string);
175
+ private _name;
176
+ /** Whether the toggle group is vertical. */
177
+ get vertical(): boolean;
178
+ set vertical(value: BooleanInput);
179
+ /** Value of the toggle group. */
180
+ get value(): any;
181
+ set value(newValue: any);
182
+ /**
183
+ * Event that emits whenever the value of the group changes.
184
+ * Used to facilitate two-way data binding.
185
+ * @docs-private
186
+ */
187
+ readonly valueChange: EventEmitter<any>;
188
+ /** Selected button toggles in the group. */
189
+ get selected(): MatButtonToggle | MatButtonToggle[];
190
+ /** Whether multiple button toggles can be selected. */
191
+ get multiple(): boolean;
192
+ set multiple(value: BooleanInput);
193
+ /** Whether multiple button toggle group is disabled. */
194
+ get disabled(): boolean;
195
+ set disabled(value: BooleanInput);
196
+ /** Event emitted when the group's value changes. */
197
+ readonly change: EventEmitter<MatButtonToggleChange>;
198
+ constructor(_changeDetector: ChangeDetectorRef, defaultOptions?: MatButtonToggleDefaultOptions);
199
+ ngOnInit(): void;
200
+ ngAfterContentInit(): void;
201
+ /**
202
+ * Sets the model value. Implemented as part of ControlValueAccessor.
203
+ * @param value Value to be set to the model.
204
+ */
205
+ writeValue(value: any): void;
206
+ registerOnChange(fn: (value: any) => void): void;
207
+ registerOnTouched(fn: any): void;
208
+ setDisabledState(isDisabled: boolean): void;
209
+ /** Dispatch change event with current selection and group value. */
210
+ _emitChangeEvent(): void;
211
+ /**
212
+ * Syncs a button toggle's selected state with the model value.
213
+ * @param toggle Toggle to be synced.
214
+ * @param select Whether the toggle should be selected.
215
+ * @param isUserInput Whether the change was a result of a user interaction.
216
+ * @param deferEvents Whether to defer emitting the change events.
217
+ */
218
+ _syncButtonToggle(toggle: MatButtonToggle, select: boolean, isUserInput?: boolean, deferEvents?: boolean): void;
219
+ /** Checks whether a button toggle is selected. */
220
+ _isSelected(toggle: MatButtonToggle): boolean;
221
+ /** Determines whether a button toggle should be checked on init. */
222
+ _isPrechecked(toggle: MatButtonToggle): boolean;
223
+ /** Updates the selection state of the toggles in the group based on a value. */
224
+ private _setSelectionByValue;
225
+ /** Clears the selected toggles. */
226
+ private _clearSelection;
227
+ /** Selects a value if there's a toggle that corresponds to it. */
228
+ private _selectValue;
229
+ /** Syncs up the group's value with the model and emits the change event. */
230
+ private _updateModelValue;
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, [null, { optional: true; }]>;
232
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleGroup, "mat-button-toggle-group", ["matButtonToggleGroup"], { "appearance": "appearance"; "name": "name"; "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"], never, false>;
233
+ }
234
+
235
+ export declare class MatButtonToggleModule {
236
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleModule, never>;
237
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonToggleModule, [typeof i1.MatButtonToggleGroup, typeof i1.MatButtonToggle], [typeof i2.MatCommonModule, typeof i2.MatRippleModule], [typeof i2.MatCommonModule, typeof i1.MatButtonToggleGroup, typeof i1.MatButtonToggle]>;
238
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonToggleModule>;
239
+ }
240
+
241
+ /**
242
+ * @deprecated No longer used.
243
+ * @breaking-change 11.0.0
244
+ */
245
+ export declare type ToggleType = 'checkbox' | 'radio';
246
+
247
+ export { }
@@ -1,8 +1,91 @@
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 { BaseHarnessFilters } from '@angular/cdk/testing';
2
+ import { ComponentHarness } from '@angular/cdk/testing';
3
+ import { HarnessPredicate } from '@angular/cdk/testing';
4
+ import { MatButtonToggleAppearance } from '@angular/material/button-toggle';
5
+
6
+ /** Criteria that can be used to filter a list of `MatButtonToggleGroupHarness` instances. */
7
+ export declare interface ButtonToggleGroupHarnessFilters extends BaseHarnessFilters {
8
+ }
9
+
10
+ /** Criteria that can be used to filter a list of `MatButtonToggleHarness` instances. */
11
+ export declare interface ButtonToggleHarnessFilters extends BaseHarnessFilters {
12
+ /** Only find instances whose text matches the given value. */
13
+ text?: string | RegExp;
14
+ /** Only find instances whose name matches the given value. */
15
+ name?: string | RegExp;
16
+ /** Only find instances that are checked. */
17
+ checked?: boolean;
18
+ }
19
+
20
+ /** Harness for interacting with a standard mat-button-toggle in tests. */
21
+ export declare class MatButtonToggleGroupHarness extends ComponentHarness {
22
+ /** The selector for the host element of a `MatButton` instance. */
23
+ static hostSelector: string;
24
+ /**
25
+ * Gets a `HarnessPredicate` that can be used to search for a `MatButtonToggleGroupHarness`
26
+ * that meets certain criteria.
27
+ * @param options Options for filtering which button toggle instances are considered a match.
28
+ * @return a `HarnessPredicate` configured with the given options.
29
+ */
30
+ static with(options?: ButtonToggleGroupHarnessFilters): HarnessPredicate<MatButtonToggleGroupHarness>;
31
+ /**
32
+ * Gets the button toggles that are inside the group.
33
+ * @param filter Optionally filters which toggles are included.
34
+ */
35
+ getToggles(filter?: ButtonToggleHarnessFilters): Promise<MatButtonToggleHarness[]>;
36
+ /** Gets whether the button toggle group is disabled. */
37
+ isDisabled(): Promise<boolean>;
38
+ /** Gets whether the button toggle group is laid out vertically. */
39
+ isVertical(): Promise<boolean>;
40
+ /** Gets the appearance that the group is using. */
41
+ getAppearance(): Promise<MatButtonToggleAppearance>;
42
+ }
43
+
44
+ /** Harness for interacting with a standard mat-button-toggle in tests. */
45
+ export declare class MatButtonToggleHarness extends ComponentHarness {
46
+ /** The selector for the host element of a `MatButton` instance. */
47
+ static hostSelector: string;
48
+ private _label;
49
+ private _button;
50
+ /**
51
+ * Gets a `HarnessPredicate` that can be used to search for a `MatButtonToggleHarness` that meets
52
+ * certain criteria.
53
+ * @param options Options for filtering which button toggle instances are considered a match.
54
+ * @return a `HarnessPredicate` configured with the given options.
55
+ */
56
+ static with(options?: ButtonToggleHarnessFilters): HarnessPredicate<MatButtonToggleHarness>;
57
+ /** Gets a boolean promise indicating if the button toggle is checked. */
58
+ isChecked(): Promise<boolean>;
59
+ /** Gets a boolean promise indicating if the button toggle is disabled. */
60
+ isDisabled(): Promise<boolean>;
61
+ /** Gets a promise for the button toggle's name. */
62
+ getName(): Promise<string | null>;
63
+ /** Gets a promise for the button toggle's aria-label. */
64
+ getAriaLabel(): Promise<string | null>;
65
+ /** Gets a promise for the button toggles's aria-labelledby. */
66
+ getAriaLabelledby(): Promise<string | null>;
67
+ /** Gets a promise for the button toggle's text. */
68
+ getText(): Promise<string>;
69
+ /** Gets the appearance that the button toggle is using. */
70
+ getAppearance(): Promise<MatButtonToggleAppearance>;
71
+ /** Focuses the toggle. */
72
+ focus(): Promise<void>;
73
+ /** Blurs the toggle. */
74
+ blur(): Promise<void>;
75
+ /** Whether the toggle is focused. */
76
+ isFocused(): Promise<boolean>;
77
+ /** Toggle the checked state of the buttons toggle. */
78
+ toggle(): Promise<void>;
79
+ /**
80
+ * Puts the button toggle in a checked state by toggling it if it's
81
+ * currently unchecked, or doing nothing if it is already checked.
82
+ */
83
+ check(): Promise<void>;
84
+ /**
85
+ * Puts the button toggle in an unchecked state by toggling it if it's
86
+ * currently checked, or doing nothing if it's already unchecked.
87
+ */
88
+ uncheck(): Promise<void>;
89
+ }
90
+
91
+ export { }
package/card/index.d.ts CHANGED
@@ -1,8 +1,168 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i2 from '@angular/material/core';
3
+
4
+ declare namespace i1 {
5
+ export {
6
+ MatCardContent,
7
+ MatCardTitle,
8
+ MatCardSubtitle,
9
+ MatCardActions,
10
+ MatCardFooter,
11
+ MatCardImage,
12
+ MatCardSmImage,
13
+ MatCardMdImage,
14
+ MatCardLgImage,
15
+ MatCardXlImage,
16
+ MatCardAvatar,
17
+ MatCard,
18
+ MatCardHeader,
19
+ MatCardTitleGroup
20
+ }
21
+ }
22
+
1
23
  /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
24
+ * A basic content container component that adds the styles of a Material design card.
4
25
  *
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
26
+ * While this component can be used alone, it also provides a number
27
+ * of preset styles for common card sections, including:
28
+ * - mat-card-title
29
+ * - mat-card-subtitle
30
+ * - mat-card-content
31
+ * - mat-card-actions
32
+ * - mat-card-footer
7
33
  */
8
- export * from './public-api';
34
+ export declare class MatCard {
35
+ _animationMode?: string | undefined;
36
+ constructor(_animationMode?: string | undefined);
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCard, [{ optional: true; }]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], {}, {}, never, ["*", "mat-card-footer"], false>;
39
+ }
40
+
41
+ /**
42
+ * Action section of a card, needed as it's used as a selector in the API.
43
+ * @docs-private
44
+ */
45
+ export declare class MatCardActions {
46
+ /** Position of the actions inside the card. */
47
+ align: 'start' | 'end';
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardActions, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": "align"; }, {}, never, never, false>;
50
+ }
51
+
52
+ /**
53
+ * Avatar image used in a card, needed to add the mat- CSS styling.
54
+ * @docs-private
55
+ */
56
+ export declare class MatCardAvatar {
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardAvatar, never>;
58
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardAvatar, "[mat-card-avatar], [matCardAvatar]", never, {}, {}, never, never, false>;
59
+ }
60
+
61
+ /**
62
+ * Content of a card, needed as it's used as a selector in the API.
63
+ * @docs-private
64
+ */
65
+ export declare class MatCardContent {
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardContent, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardContent, "mat-card-content, [mat-card-content], [matCardContent]", never, {}, {}, never, never, false>;
68
+ }
69
+
70
+ /**
71
+ * Footer of a card, needed as it's used as a selector in the API.
72
+ * @docs-private
73
+ */
74
+ export declare class MatCardFooter {
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardFooter, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardFooter, "mat-card-footer", never, {}, {}, never, never, false>;
77
+ }
78
+
79
+ /**
80
+ * Component intended to be used within the `<mat-card>` component. It adds styles for a
81
+ * preset header section (i.e. a title, subtitle, and avatar layout).
82
+ * @docs-private
83
+ */
84
+ export declare class MatCardHeader {
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardHeader, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCardHeader, "mat-card-header", never, {}, {}, never, ["[mat-card-avatar], [matCardAvatar]", "mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "*"], false>;
87
+ }
88
+
89
+ /**
90
+ * Image used in a card, needed to add the mat- CSS styling.
91
+ * @docs-private
92
+ */
93
+ export declare class MatCardImage {
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardImage, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardImage, "[mat-card-image], [matCardImage]", never, {}, {}, never, never, false>;
96
+ }
97
+
98
+ /**
99
+ * Image used in a card, needed to add the mat- CSS styling.
100
+ * @docs-private
101
+ */
102
+ export declare class MatCardLgImage {
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardLgImage, never>;
104
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never, never, false>;
105
+ }
106
+
107
+ /**
108
+ * Image used in a card, needed to add the mat- CSS styling.
109
+ * @docs-private
110
+ */
111
+ export declare class MatCardMdImage {
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardMdImage, never>;
113
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardMdImage, "[mat-card-md-image], [matCardImageMedium]", never, {}, {}, never, never, false>;
114
+ }
115
+
116
+ export declare class MatCardModule {
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardModule, never>;
118
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, [typeof i1.MatCard, typeof i1.MatCardHeader, typeof i1.MatCardTitleGroup, typeof i1.MatCardContent, typeof i1.MatCardTitle, typeof i1.MatCardSubtitle, typeof i1.MatCardActions, typeof i1.MatCardFooter, typeof i1.MatCardSmImage, typeof i1.MatCardMdImage, typeof i1.MatCardLgImage, typeof i1.MatCardImage, typeof i1.MatCardXlImage, typeof i1.MatCardAvatar], [typeof i2.MatCommonModule], [typeof i1.MatCard, typeof i1.MatCardHeader, typeof i1.MatCardTitleGroup, typeof i1.MatCardContent, typeof i1.MatCardTitle, typeof i1.MatCardSubtitle, typeof i1.MatCardActions, typeof i1.MatCardFooter, typeof i1.MatCardSmImage, typeof i1.MatCardMdImage, typeof i1.MatCardLgImage, typeof i1.MatCardImage, typeof i1.MatCardXlImage, typeof i1.MatCardAvatar, typeof i2.MatCommonModule]>;
119
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
120
+ }
121
+
122
+ /**
123
+ * Image used in a card, needed to add the mat- CSS styling.
124
+ * @docs-private
125
+ */
126
+ export declare class MatCardSmImage {
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSmImage, never>;
128
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never, never, false>;
129
+ }
130
+
131
+ /**
132
+ * Sub-title of a card, needed as it's used as a selector in the API.
133
+ * @docs-private
134
+ */
135
+ export declare class MatCardSubtitle {
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSubtitle, never>;
137
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never, never, false>;
138
+ }
139
+
140
+ /**
141
+ * Title of a card, needed as it's used as a selector in the API.
142
+ * @docs-private
143
+ */
144
+ export declare class MatCardTitle {
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitle, never>;
146
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never, never, false>;
147
+ }
148
+
149
+ /**
150
+ * Component intended to be used within the `<mat-card>` component. It adds styles for a preset
151
+ * layout that groups an image with a title section.
152
+ * @docs-private
153
+ */
154
+ export declare class MatCardTitleGroup {
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitleGroup, never>;
156
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCardTitleGroup, "mat-card-title-group", never, {}, {}, never, ["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "img", "*"], false>;
157
+ }
158
+
159
+ /**
160
+ * Large image used in a card, needed to add the mat- CSS styling.
161
+ * @docs-private
162
+ */
163
+ export declare class MatCardXlImage {
164
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCardXlImage, never>;
165
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardXlImage, "[mat-card-xl-image], [matCardImageXLarge]", never, {}, {}, never, never, false>;
166
+ }
167
+
168
+ export { }
@@ -1,8 +1,44 @@
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 { BaseHarnessFilters } from '@angular/cdk/testing';
2
+ import { ContentContainerComponentHarness } from '@angular/cdk/testing';
3
+ import { HarnessPredicate } from '@angular/cdk/testing';
4
+
5
+ /** A set of criteria that can be used to filter a list of `MatCardHarness` instances. */
6
+ export declare interface CardHarnessFilters extends BaseHarnessFilters {
7
+ /** Only find instances whose text matches the given value. */
8
+ text?: string | RegExp;
9
+ /** Only find instances whose title matches the given value. */
10
+ title?: string | RegExp;
11
+ /** Only find instances whose subtitle matches the given value. */
12
+ subtitle?: string | RegExp;
13
+ }
14
+
15
+ /** Harness for interacting with a standard mat-card in tests. */
16
+ export declare class MatCardHarness extends ContentContainerComponentHarness<MatCardSection> {
17
+ /** The selector for the host element of a `MatCard` instance. */
18
+ static hostSelector: string;
19
+ /**
20
+ * Gets a `HarnessPredicate` that can be used to search for a `MatCardHarness` that meets
21
+ * certain criteria.
22
+ * @param options Options for filtering which card instances are considered a match.
23
+ * @return a `HarnessPredicate` configured with the given options.
24
+ */
25
+ static with(options?: CardHarnessFilters): HarnessPredicate<MatCardHarness>;
26
+ private _title;
27
+ private _subtitle;
28
+ /** Gets all of the card's content as text. */
29
+ getText(): Promise<string>;
30
+ /** Gets the cards's title text. */
31
+ getTitleText(): Promise<string>;
32
+ /** Gets the cards's subtitle text. */
33
+ getSubtitleText(): Promise<string>;
34
+ }
35
+
36
+ /** Selectors for different sections of the mat-card that can container user content. */
37
+ export declare const enum MatCardSection {
38
+ HEADER = ".mat-card-header",
39
+ CONTENT = ".mat-card-content",
40
+ ACTIONS = ".mat-card-actions",
41
+ FOOTER = ".mat-card-footer"
42
+ }
43
+
44
+ export { }