@angular/material 14.0.0-next.7 → 14.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (963) 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 +266 -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 +246 -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 -17
  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 +38 -20
  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 +12 -7
  42. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  43. package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
  44. package/esm2020/button/button-module.mjs +5 -5
  45. package/esm2020/button/button.mjs +9 -9
  46. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  47. package/esm2020/button-toggle/button-toggle.mjs +8 -8
  48. package/esm2020/card/card-module.mjs +5 -5
  49. package/esm2020/card/card.mjs +44 -44
  50. package/esm2020/checkbox/checkbox-module.mjs +9 -9
  51. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  52. package/esm2020/checkbox/checkbox.mjs +23 -21
  53. package/esm2020/checkbox/testing/checkbox-harness-filters.mjs +1 -1
  54. package/esm2020/checkbox/testing/checkbox-harness.mjs +3 -2
  55. package/esm2020/chips/chip-input.mjs +4 -4
  56. package/esm2020/chips/chip-list.mjs +5 -5
  57. package/esm2020/chips/chip.mjs +15 -16
  58. package/esm2020/chips/chips-module.mjs +6 -6
  59. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  60. package/esm2020/core/common-behaviors/error-state.mjs +1 -1
  61. package/esm2020/core/datetime/index.mjs +9 -9
  62. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  63. package/esm2020/core/error/error-options.mjs +7 -7
  64. package/esm2020/core/line/line.mjs +8 -8
  65. package/esm2020/core/option/index.mjs +5 -5
  66. package/esm2020/core/option/optgroup.mjs +8 -8
  67. package/esm2020/core/option/option.mjs +10 -10
  68. package/esm2020/core/ripple/index.mjs +5 -5
  69. package/esm2020/core/ripple/ripple-ref.mjs +2 -2
  70. package/esm2020/core/ripple/ripple-renderer.mjs +36 -19
  71. package/esm2020/core/ripple/ripple.mjs +4 -4
  72. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  73. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  74. package/esm2020/core/version.mjs +1 -1
  75. package/esm2020/datepicker/calendar-body.mjs +5 -5
  76. package/esm2020/datepicker/calendar.mjs +26 -15
  77. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  78. package/esm2020/datepicker/date-range-input.mjs +6 -6
  79. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  80. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  81. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  82. package/esm2020/datepicker/datepicker-actions.mjs +12 -12
  83. package/esm2020/datepicker/datepicker-base.mjs +11 -11
  84. package/esm2020/datepicker/datepicker-input-base.mjs +6 -7
  85. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  86. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  87. package/esm2020/datepicker/datepicker-module.mjs +10 -12
  88. package/esm2020/datepicker/datepicker-toggle.mjs +10 -10
  89. package/esm2020/datepicker/datepicker.mjs +4 -4
  90. package/esm2020/datepicker/month-view.mjs +6 -6
  91. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  92. package/esm2020/datepicker/testing/calendar-harness.mjs +4 -4
  93. package/esm2020/datepicker/year-view.mjs +4 -4
  94. package/esm2020/dialog/dialog-config.mjs +1 -1
  95. package/esm2020/dialog/dialog-container.mjs +42 -215
  96. package/esm2020/dialog/dialog-content-directives.mjs +14 -14
  97. package/esm2020/dialog/dialog-module.mjs +8 -7
  98. package/esm2020/dialog/dialog-ref.mjs +28 -60
  99. package/esm2020/dialog/dialog.mjs +74 -197
  100. package/esm2020/dialog/testing/dialog-harness.mjs +4 -4
  101. package/esm2020/divider/divider-module.mjs +5 -5
  102. package/esm2020/divider/divider.mjs +5 -5
  103. package/esm2020/expansion/accordion.mjs +4 -4
  104. package/esm2020/expansion/expansion-module.mjs +5 -5
  105. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  106. package/esm2020/expansion/expansion-panel-header.mjs +11 -11
  107. package/esm2020/expansion/expansion-panel.mjs +9 -9
  108. package/esm2020/expansion/testing/expansion-harness.mjs +6 -6
  109. package/esm2020/form-field/error.mjs +4 -4
  110. package/esm2020/form-field/form-field-control.mjs +4 -4
  111. package/esm2020/form-field/form-field-module.mjs +5 -5
  112. package/esm2020/form-field/form-field.mjs +11 -8
  113. package/esm2020/form-field/hint.mjs +4 -4
  114. package/esm2020/form-field/label.mjs +4 -4
  115. package/esm2020/form-field/placeholder.mjs +4 -4
  116. package/esm2020/form-field/prefix.mjs +4 -4
  117. package/esm2020/form-field/suffix.mjs +4 -4
  118. package/esm2020/form-field/testing/public-api.mjs +4 -4
  119. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  120. package/esm2020/grid-list/grid-list.mjs +6 -6
  121. package/esm2020/grid-list/grid-tile.mjs +17 -17
  122. package/esm2020/grid-list/testing/grid-tile-harness.mjs +3 -3
  123. package/esm2020/icon/icon-module.mjs +5 -5
  124. package/esm2020/icon/icon-registry.mjs +4 -4
  125. package/esm2020/icon/icon.mjs +5 -12
  126. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  127. package/esm2020/icon/testing/icon-harness.mjs +3 -3
  128. package/esm2020/input/input-module.mjs +5 -5
  129. package/esm2020/input/input.mjs +29 -22
  130. package/esm2020/list/list-module.mjs +5 -5
  131. package/esm2020/list/list.mjs +21 -21
  132. package/esm2020/list/selection-list.mjs +9 -9
  133. package/esm2020/menu/menu-content.mjs +7 -7
  134. package/esm2020/menu/menu-item.mjs +6 -6
  135. package/esm2020/menu/menu-module.mjs +5 -5
  136. package/esm2020/menu/menu-trigger.mjs +7 -7
  137. package/esm2020/menu/menu.mjs +28 -40
  138. package/esm2020/paginator/paginator-intl.mjs +4 -4
  139. package/esm2020/paginator/paginator-module.mjs +5 -5
  140. package/esm2020/paginator/paginator.mjs +13 -13
  141. package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
  142. package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
  143. package/esm2020/progress-bar/progress-bar.mjs +8 -5
  144. package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
  145. package/esm2020/progress-spinner/progress-spinner.mjs +5 -5
  146. package/esm2020/radio/radio-module.mjs +5 -5
  147. package/esm2020/radio/radio.mjs +42 -14
  148. package/esm2020/radio/testing/radio-harness-filters.mjs +1 -1
  149. package/esm2020/radio/testing/radio-harness.mjs +3 -2
  150. package/esm2020/select/select-module.mjs +5 -5
  151. package/esm2020/select/select.mjs +44 -28
  152. package/esm2020/sidenav/drawer.mjs +19 -14
  153. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  154. package/esm2020/sidenav/sidenav.mjs +12 -12
  155. package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
  156. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  157. package/esm2020/slide-toggle/slide-toggle.mjs +5 -5
  158. package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
  159. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +4 -2
  160. package/esm2020/slider/slider-module.mjs +5 -5
  161. package/esm2020/slider/slider.mjs +5 -5
  162. package/esm2020/snack-bar/simple-snack-bar.mjs +7 -7
  163. package/esm2020/snack-bar/snack-bar-container.mjs +24 -18
  164. package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
  165. package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
  166. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  167. package/esm2020/sort/sort-header-intl.mjs +4 -4
  168. package/esm2020/sort/sort-header.mjs +5 -5
  169. package/esm2020/sort/sort-module.mjs +5 -5
  170. package/esm2020/sort/sort.mjs +4 -4
  171. package/esm2020/stepper/step-content.mjs +4 -4
  172. package/esm2020/stepper/step-header.mjs +8 -8
  173. package/esm2020/stepper/step-label.mjs +4 -4
  174. package/esm2020/stepper/stepper-button.mjs +7 -7
  175. package/esm2020/stepper/stepper-icon.mjs +4 -4
  176. package/esm2020/stepper/stepper-intl.mjs +4 -4
  177. package/esm2020/stepper/stepper-module.mjs +11 -13
  178. package/esm2020/stepper/stepper.mjs +11 -11
  179. package/esm2020/stepper/testing/stepper-harness.mjs +3 -3
  180. package/esm2020/table/cell.mjs +22 -22
  181. package/esm2020/table/row.mjs +22 -22
  182. package/esm2020/table/table-data-source.mjs +1 -1
  183. package/esm2020/table/table-module.mjs +5 -5
  184. package/esm2020/table/table.mjs +9 -9
  185. package/esm2020/table/text-column.mjs +5 -5
  186. package/esm2020/tabs/ink-bar.mjs +4 -4
  187. package/esm2020/tabs/paginated-tab-header.mjs +11 -5
  188. package/esm2020/tabs/tab-body.mjs +11 -11
  189. package/esm2020/tabs/tab-content.mjs +4 -4
  190. package/esm2020/tabs/tab-group.mjs +35 -18
  191. package/esm2020/tabs/tab-header.mjs +8 -8
  192. package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
  193. package/esm2020/tabs/tab-label.mjs +4 -4
  194. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +17 -17
  195. package/esm2020/tabs/tab.mjs +4 -4
  196. package/esm2020/tabs/tabs-module.mjs +10 -12
  197. package/esm2020/toolbar/testing/toolbar-harness.mjs +2 -2
  198. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  199. package/esm2020/toolbar/toolbar.mjs +8 -8
  200. package/esm2020/tooltip/tooltip-module.mjs +5 -5
  201. package/esm2020/tooltip/tooltip.mjs +14 -14
  202. package/esm2020/tree/node.mjs +10 -10
  203. package/esm2020/tree/outlet.mjs +4 -4
  204. package/esm2020/tree/padding.mjs +4 -4
  205. package/esm2020/tree/toggle.mjs +4 -4
  206. package/esm2020/tree/tree-module.mjs +5 -5
  207. package/esm2020/tree/tree.mjs +5 -5
  208. package/expansion/index.d.ts +343 -5
  209. package/expansion/testing/index.d.ts +106 -8
  210. package/fesm2015/autocomplete/testing.mjs +6 -0
  211. package/fesm2015/autocomplete/testing.mjs.map +1 -1
  212. package/fesm2015/autocomplete.mjs +55 -37
  213. package/fesm2015/autocomplete.mjs.map +1 -1
  214. package/fesm2015/badge.mjs +7 -7
  215. package/fesm2015/badge.mjs.map +1 -1
  216. package/fesm2015/bottom-sheet.mjs +18 -13
  217. package/fesm2015/bottom-sheet.mjs.map +1 -1
  218. package/fesm2015/button-toggle.mjs +11 -11
  219. package/fesm2015/button-toggle.mjs.map +1 -1
  220. package/fesm2015/button.mjs +12 -12
  221. package/fesm2015/button.mjs.map +1 -1
  222. package/fesm2015/card.mjs +47 -47
  223. package/fesm2015/card.mjs.map +1 -1
  224. package/fesm2015/checkbox/testing.mjs +2 -1
  225. package/fesm2015/checkbox/testing.mjs.map +1 -1
  226. package/fesm2015/checkbox.mjs +33 -31
  227. package/fesm2015/checkbox.mjs.map +1 -1
  228. package/fesm2015/chips.mjs +26 -27
  229. package/fesm2015/chips.mjs.map +1 -1
  230. package/fesm2015/core.mjs +99 -81
  231. package/fesm2015/core.mjs.map +1 -1
  232. package/fesm2015/datepicker/testing.mjs +3 -3
  233. package/fesm2015/datepicker/testing.mjs.map +1 -1
  234. package/fesm2015/datepicker.mjs +111 -103
  235. package/fesm2015/datepicker.mjs.map +1 -1
  236. package/fesm2015/dialog/testing.mjs +3 -3
  237. package/fesm2015/dialog/testing.mjs.map +1 -1
  238. package/fesm2015/dialog.mjs +152 -485
  239. package/fesm2015/dialog.mjs.map +1 -1
  240. package/fesm2015/divider.mjs +8 -8
  241. package/fesm2015/divider.mjs.map +1 -1
  242. package/fesm2015/expansion/testing.mjs +5 -5
  243. package/fesm2015/expansion/testing.mjs.map +1 -1
  244. package/fesm2015/expansion.mjs +28 -28
  245. package/fesm2015/expansion.mjs.map +1 -1
  246. package/fesm2015/form-field/testing.mjs +1 -1
  247. package/fesm2015/form-field/testing.mjs.map +1 -1
  248. package/fesm2015/form-field.mjs +35 -32
  249. package/fesm2015/form-field.mjs.map +1 -1
  250. package/fesm2015/grid-list/testing.mjs +2 -2
  251. package/fesm2015/grid-list/testing.mjs.map +1 -1
  252. package/fesm2015/grid-list.mjs +25 -25
  253. package/fesm2015/grid-list.mjs.map +1 -1
  254. package/fesm2015/icon/testing.mjs +9 -9
  255. package/fesm2015/icon/testing.mjs.map +1 -1
  256. package/fesm2015/icon.mjs +11 -18
  257. package/fesm2015/icon.mjs.map +1 -1
  258. package/fesm2015/input.mjs +33 -26
  259. package/fesm2015/input.mjs.map +1 -1
  260. package/fesm2015/list.mjs +32 -32
  261. package/fesm2015/list.mjs.map +1 -1
  262. package/fesm2015/menu.mjs +48 -60
  263. package/fesm2015/menu.mjs.map +1 -1
  264. package/fesm2015/paginator/testing.mjs +14 -0
  265. package/fesm2015/paginator/testing.mjs.map +1 -1
  266. package/fesm2015/paginator.mjs +19 -19
  267. package/fesm2015/paginator.mjs.map +1 -1
  268. package/fesm2015/progress-bar.mjs +11 -8
  269. package/fesm2015/progress-bar.mjs.map +1 -1
  270. package/fesm2015/progress-spinner.mjs +8 -8
  271. package/fesm2015/progress-spinner.mjs.map +1 -1
  272. package/fesm2015/radio/testing.mjs +2 -1
  273. package/fesm2015/radio/testing.mjs.map +1 -1
  274. package/fesm2015/radio.mjs +46 -17
  275. package/fesm2015/radio.mjs.map +1 -1
  276. package/fesm2015/select.mjs +48 -32
  277. package/fesm2015/select.mjs.map +1 -1
  278. package/fesm2015/sidenav.mjs +33 -28
  279. package/fesm2015/sidenav.mjs.map +1 -1
  280. package/fesm2015/slide-toggle/testing.mjs +3 -1
  281. package/fesm2015/slide-toggle/testing.mjs.map +1 -1
  282. package/fesm2015/slide-toggle.mjs +18 -20
  283. package/fesm2015/slide-toggle.mjs.map +1 -1
  284. package/fesm2015/slider.mjs +8 -8
  285. package/fesm2015/slider.mjs.map +1 -1
  286. package/fesm2015/snack-bar.mjs +40 -35
  287. package/fesm2015/snack-bar.mjs.map +1 -1
  288. package/fesm2015/sort.mjs +14 -14
  289. package/fesm2015/sort.mjs.map +1 -1
  290. package/fesm2015/stepper/testing.mjs +2 -2
  291. package/fesm2015/stepper/testing.mjs.map +1 -1
  292. package/fesm2015/stepper.mjs +42 -44
  293. package/fesm2015/stepper.mjs.map +1 -1
  294. package/fesm2015/table.mjs +58 -58
  295. package/fesm2015/table.mjs.map +1 -1
  296. package/fesm2015/tabs.mjs +97 -75
  297. package/fesm2015/tabs.mjs.map +1 -1
  298. package/fesm2015/toolbar/testing.mjs +1 -1
  299. package/fesm2015/toolbar/testing.mjs.map +1 -1
  300. package/fesm2015/toolbar.mjs +11 -11
  301. package/fesm2015/toolbar.mjs.map +1 -1
  302. package/fesm2015/tooltip.mjs +17 -17
  303. package/fesm2015/tooltip.mjs.map +1 -1
  304. package/fesm2015/tree.mjs +26 -26
  305. package/fesm2015/tree.mjs.map +1 -1
  306. package/fesm2020/autocomplete/testing.mjs +4 -0
  307. package/fesm2020/autocomplete/testing.mjs.map +1 -1
  308. package/fesm2020/autocomplete.mjs +55 -37
  309. package/fesm2020/autocomplete.mjs.map +1 -1
  310. package/fesm2020/badge.mjs +7 -7
  311. package/fesm2020/badge.mjs.map +1 -1
  312. package/fesm2020/bottom-sheet.mjs +18 -13
  313. package/fesm2020/bottom-sheet.mjs.map +1 -1
  314. package/fesm2020/button-toggle.mjs +11 -11
  315. package/fesm2020/button-toggle.mjs.map +1 -1
  316. package/fesm2020/button.mjs +12 -12
  317. package/fesm2020/button.mjs.map +1 -1
  318. package/fesm2020/card.mjs +47 -47
  319. package/fesm2020/card.mjs.map +1 -1
  320. package/fesm2020/checkbox/testing.mjs +2 -1
  321. package/fesm2020/checkbox/testing.mjs.map +1 -1
  322. package/fesm2020/checkbox.mjs +33 -31
  323. package/fesm2020/checkbox.mjs.map +1 -1
  324. package/fesm2020/chips.mjs +26 -27
  325. package/fesm2020/chips.mjs.map +1 -1
  326. package/fesm2020/core.mjs +98 -81
  327. package/fesm2020/core.mjs.map +1 -1
  328. package/fesm2020/datepicker/testing.mjs +3 -3
  329. package/fesm2020/datepicker/testing.mjs.map +1 -1
  330. package/fesm2020/datepicker.mjs +111 -103
  331. package/fesm2020/datepicker.mjs.map +1 -1
  332. package/fesm2020/dialog/testing.mjs +3 -3
  333. package/fesm2020/dialog/testing.mjs.map +1 -1
  334. package/fesm2020/dialog.mjs +155 -484
  335. package/fesm2020/dialog.mjs.map +1 -1
  336. package/fesm2020/divider.mjs +8 -8
  337. package/fesm2020/divider.mjs.map +1 -1
  338. package/fesm2020/expansion/testing.mjs +5 -5
  339. package/fesm2020/expansion/testing.mjs.map +1 -1
  340. package/fesm2020/expansion.mjs +28 -28
  341. package/fesm2020/expansion.mjs.map +1 -1
  342. package/fesm2020/form-field/testing.mjs +1 -1
  343. package/fesm2020/form-field/testing.mjs.map +1 -1
  344. package/fesm2020/form-field.mjs +35 -32
  345. package/fesm2020/form-field.mjs.map +1 -1
  346. package/fesm2020/grid-list/testing.mjs +2 -2
  347. package/fesm2020/grid-list/testing.mjs.map +1 -1
  348. package/fesm2020/grid-list.mjs +25 -25
  349. package/fesm2020/grid-list.mjs.map +1 -1
  350. package/fesm2020/icon/testing.mjs +9 -9
  351. package/fesm2020/icon/testing.mjs.map +1 -1
  352. package/fesm2020/icon.mjs +11 -18
  353. package/fesm2020/icon.mjs.map +1 -1
  354. package/fesm2020/input.mjs +32 -25
  355. package/fesm2020/input.mjs.map +1 -1
  356. package/fesm2020/list.mjs +32 -32
  357. package/fesm2020/list.mjs.map +1 -1
  358. package/fesm2020/menu.mjs +48 -60
  359. package/fesm2020/menu.mjs.map +1 -1
  360. package/fesm2020/paginator/testing.mjs +10 -0
  361. package/fesm2020/paginator/testing.mjs.map +1 -1
  362. package/fesm2020/paginator.mjs +19 -19
  363. package/fesm2020/paginator.mjs.map +1 -1
  364. package/fesm2020/progress-bar.mjs +11 -8
  365. package/fesm2020/progress-bar.mjs.map +1 -1
  366. package/fesm2020/progress-spinner.mjs +8 -8
  367. package/fesm2020/progress-spinner.mjs.map +1 -1
  368. package/fesm2020/radio/testing.mjs +2 -1
  369. package/fesm2020/radio/testing.mjs.map +1 -1
  370. package/fesm2020/radio.mjs +45 -17
  371. package/fesm2020/radio.mjs.map +1 -1
  372. package/fesm2020/select.mjs +48 -32
  373. package/fesm2020/select.mjs.map +1 -1
  374. package/fesm2020/sidenav.mjs +33 -28
  375. package/fesm2020/sidenav.mjs.map +1 -1
  376. package/fesm2020/slide-toggle/testing.mjs +3 -1
  377. package/fesm2020/slide-toggle/testing.mjs.map +1 -1
  378. package/fesm2020/slide-toggle.mjs +18 -20
  379. package/fesm2020/slide-toggle.mjs.map +1 -1
  380. package/fesm2020/slider.mjs +8 -8
  381. package/fesm2020/slider.mjs.map +1 -1
  382. package/fesm2020/snack-bar.mjs +40 -35
  383. package/fesm2020/snack-bar.mjs.map +1 -1
  384. package/fesm2020/sort.mjs +14 -14
  385. package/fesm2020/sort.mjs.map +1 -1
  386. package/fesm2020/stepper/testing.mjs +2 -2
  387. package/fesm2020/stepper/testing.mjs.map +1 -1
  388. package/fesm2020/stepper.mjs +42 -44
  389. package/fesm2020/stepper.mjs.map +1 -1
  390. package/fesm2020/table.mjs +58 -58
  391. package/fesm2020/table.mjs.map +1 -1
  392. package/fesm2020/tabs.mjs +96 -75
  393. package/fesm2020/tabs.mjs.map +1 -1
  394. package/fesm2020/toolbar/testing.mjs +1 -1
  395. package/fesm2020/toolbar/testing.mjs.map +1 -1
  396. package/fesm2020/toolbar.mjs +11 -11
  397. package/fesm2020/toolbar.mjs.map +1 -1
  398. package/fesm2020/tooltip.mjs +17 -17
  399. package/fesm2020/tooltip.mjs.map +1 -1
  400. package/fesm2020/tree.mjs +26 -26
  401. package/fesm2020/tree.mjs.map +1 -1
  402. package/form-field/index.d.ts +401 -5
  403. package/form-field/testing/control/index.d.ts +8 -6
  404. package/form-field/testing/index.d.ts +127 -8
  405. package/grid-list/index.d.ts +232 -5
  406. package/grid-list/testing/index.d.ts +86 -8
  407. package/icon/index.d.ts +443 -5
  408. package/icon/testing/index.d.ts +81 -6
  409. package/index.d.ts +3 -7
  410. package/input/index.d.ts +209 -6
  411. package/input/testing/index.d.ts +129 -8
  412. package/list/index.d.ts +369 -6
  413. package/list/testing/index.d.ts +329 -6
  414. package/menu/index.d.ts +613 -6
  415. package/menu/testing/index.d.ts +115 -8
  416. package/package.json +38 -38
  417. package/paginator/index.d.ts +224 -6
  418. package/paginator/testing/index.d.ts +65 -8
  419. package/prebuilt-themes/deeppurple-amber.css +1 -1
  420. package/prebuilt-themes/indigo-pink.css +1 -1
  421. package/prebuilt-themes/pink-bluegrey.css +1 -1
  422. package/prebuilt-themes/purple-green.css +1 -1
  423. package/progress-bar/index.d.ts +147 -6
  424. package/progress-bar/testing/index.d.ts +26 -8
  425. package/progress-spinner/index.d.ts +138 -6
  426. package/progress-spinner/testing/index.d.ts +27 -8
  427. package/radio/index.d.ts +305 -6
  428. package/radio/testing/index.d.ts +130 -8
  429. package/schematics/collection.json +4 -2
  430. package/schematics/ng-add/index.js +1 -1
  431. package/schematics/ng-add/index.mjs +1 -1
  432. package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
  433. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +5 -5
  434. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +5 -5
  435. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +23 -32
  436. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +23 -32
  437. package/select/index.d.ts +534 -5
  438. package/select/testing/index.d.ts +79 -8
  439. package/sidenav/index.d.ts +395 -5
  440. package/sidenav/testing/index.d.ts +124 -6
  441. package/slide-toggle/index.d.ts +173 -5
  442. package/slide-toggle/testing/index.d.ts +77 -8
  443. package/slider/index.d.ts +289 -6
  444. package/slider/testing/index.d.ts +60 -8
  445. package/snack-bar/index.d.ts +372 -6
  446. package/snack-bar/testing/index.d.ts +72 -8
  447. package/sort/index.d.ts +326 -5
  448. package/sort/testing/index.d.ts +50 -8
  449. package/stepper/index.d.ts +288 -6
  450. package/stepper/testing/index.d.ts +142 -6
  451. package/table/index.d.ts +382 -5
  452. package/table/testing/index.d.ts +178 -8
  453. package/tabs/_tabs-common.scss +6 -5
  454. package/tabs/index.d.ts +963 -5
  455. package/tabs/testing/index.d.ts +153 -8
  456. package/toolbar/index.d.ts +56 -6
  457. package/toolbar/testing/index.d.ts +35 -8
  458. package/tooltip/index.d.ts +362 -5
  459. package/tooltip/testing/index.d.ts +42 -8
  460. package/tree/index.d.ts +243 -5
  461. package/tree/testing/index.d.ts +122 -8
  462. package/autocomplete/autocomplete-module.d.ts +0 -13
  463. package/autocomplete/autocomplete-origin.d.ts +0 -27
  464. package/autocomplete/autocomplete-trigger.d.ts +0 -211
  465. package/autocomplete/autocomplete.d.ts +0 -150
  466. package/autocomplete/autocomplete_public_index.d.ts +0 -4
  467. package/autocomplete/package.json +0 -9
  468. package/autocomplete/public-api.d.ts +0 -11
  469. package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
  470. package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
  471. package/autocomplete/testing/package.json +0 -9
  472. package/autocomplete/testing/public-api.d.ts +0 -9
  473. package/badge/badge-module.d.ts +0 -9
  474. package/badge/badge.d.ts +0 -86
  475. package/badge/badge_public_index.d.ts +0 -4
  476. package/badge/package.json +0 -9
  477. package/badge/public-api.d.ts +0 -9
  478. package/badge/testing/badge-harness-filters.d.ts +0 -11
  479. package/badge/testing/badge-harness.d.ts +0 -34
  480. package/badge/testing/package.json +0 -9
  481. package/badge/testing/public-api.d.ts +0 -9
  482. package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
  483. package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
  484. package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
  485. package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
  486. package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
  487. package/bottom-sheet/bottom-sheet.d.ts +0 -59
  488. package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
  489. package/bottom-sheet/package.json +0 -9
  490. package/bottom-sheet/public-api.d.ts +0 -13
  491. package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
  492. package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
  493. package/bottom-sheet/testing/package.json +0 -9
  494. package/bottom-sheet/testing/public-api.d.ts +0 -9
  495. package/button/button-module.d.ts +0 -8
  496. package/button/button.d.ts +0 -58
  497. package/button/button_public_index.d.ts +0 -4
  498. package/button/package.json +0 -9
  499. package/button/public-api.d.ts +0 -9
  500. package/button/testing/button-harness-filters.d.ts +0 -13
  501. package/button/testing/button-harness.d.ts +0 -41
  502. package/button/testing/package.json +0 -9
  503. package/button/testing/public-api.d.ts +0 -9
  504. package/button-toggle/button-toggle-module.d.ts +0 -8
  505. package/button-toggle/button-toggle.d.ts +0 -212
  506. package/button-toggle/button-toggle_public_index.d.ts +0 -4
  507. package/button-toggle/package.json +0 -9
  508. package/button-toggle/public-api.d.ts +0 -9
  509. package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
  510. package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
  511. package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
  512. package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
  513. package/button-toggle/testing/package.json +0 -9
  514. package/button-toggle/testing/public-api.d.ts +0 -11
  515. package/card/card-module.d.ts +0 -8
  516. package/card/card.d.ts +0 -126
  517. package/card/card_public_index.d.ts +0 -4
  518. package/card/package.json +0 -9
  519. package/card/public-api.d.ts +0 -9
  520. package/card/testing/card-harness-filters.d.ts +0 -17
  521. package/card/testing/card-harness.d.ts +0 -36
  522. package/card/testing/package.json +0 -9
  523. package/card/testing/public-api.d.ts +0 -9
  524. package/checkbox/checkbox-config.d.ts +0 -28
  525. package/checkbox/checkbox-module.d.ts +0 -16
  526. package/checkbox/checkbox-required-validator.d.ts +0 -20
  527. package/checkbox/checkbox.d.ts +0 -166
  528. package/checkbox/checkbox_public_index.d.ts +0 -4
  529. package/checkbox/package.json +0 -9
  530. package/checkbox/public-api.d.ts +0 -11
  531. package/checkbox/testing/checkbox-harness-filters.d.ts +0 -15
  532. package/checkbox/testing/checkbox-harness.d.ts +0 -81
  533. package/checkbox/testing/package.json +0 -9
  534. package/checkbox/testing/public-api.d.ts +0 -9
  535. package/chips/chip-default-options.d.ts +0 -15
  536. package/chips/chip-input.d.ts +0 -91
  537. package/chips/chip-list.d.ts +0 -289
  538. package/chips/chip-text-control.d.ts +0 -20
  539. package/chips/chip.d.ts +0 -210
  540. package/chips/chips-module.d.ts +0 -10
  541. package/chips/chips_public_index.d.ts +0 -4
  542. package/chips/package.json +0 -9
  543. package/chips/public-api.d.ts +0 -12
  544. package/chips/testing/chip-avatar-harness.d.ts +0 -20
  545. package/chips/testing/chip-harness-filters.d.ts +0 -43
  546. package/chips/testing/chip-harness.d.ts +0 -63
  547. package/chips/testing/chip-input-harness.d.ts +0 -47
  548. package/chips/testing/chip-list-harness.d.ts +0 -54
  549. package/chips/testing/chip-listbox-harness.d.ts +0 -34
  550. package/chips/testing/chip-option-harness.d.ts +0 -29
  551. package/chips/testing/chip-remove-harness.d.ts +0 -22
  552. package/chips/testing/package.json +0 -9
  553. package/chips/testing/public-api.d.ts +0 -14
  554. package/core/animation/animation.d.ts +0 -20
  555. package/core/common-behaviors/color.d.ts +0 -26
  556. package/core/common-behaviors/common-module.d.ts +0 -44
  557. package/core/common-behaviors/constructor.d.ts +0 -14
  558. package/core/common-behaviors/disable-ripple.d.ts +0 -17
  559. package/core/common-behaviors/disabled.d.ts +0 -17
  560. package/core/common-behaviors/error-state.d.ts +0 -35
  561. package/core/common-behaviors/index.d.ts +0 -15
  562. package/core/common-behaviors/initialized.d.ts +0 -30
  563. package/core/common-behaviors/tabindex.d.ts +0 -20
  564. package/core/core_public_index.d.ts +0 -4
  565. package/core/datetime/date-adapter.d.ts +0 -215
  566. package/core/datetime/date-formats.d.ts +0 -21
  567. package/core/datetime/index.d.ts +0 -15
  568. package/core/datetime/native-date-adapter.d.ts +0 -74
  569. package/core/datetime/native-date-formats.d.ts +0 -9
  570. package/core/error/error-options.d.ts +0 -14
  571. package/core/line/line.d.ts +0 -29
  572. package/core/option/index.d.ts +0 -15
  573. package/core/option/optgroup.d.ts +0 -40
  574. package/core/option/option-parent.d.ts +0 -22
  575. package/core/option/option.d.ts +0 -135
  576. package/core/package.json +0 -9
  577. package/core/public-api.d.ts +0 -16
  578. package/core/ripple/index.d.ts +0 -11
  579. package/core/ripple/ripple-ref.d.ts +0 -54
  580. package/core/ripple/ripple-renderer.d.ts +0 -99
  581. package/core/ripple/ripple.d.ts +0 -113
  582. package/core/selection/index.d.ts +0 -9
  583. package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
  584. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
  585. package/core/testing/optgroup-harness-filters.d.ts +0 -11
  586. package/core/testing/optgroup-harness.d.ts +0 -33
  587. package/core/testing/option-harness-filters.d.ts +0 -12
  588. package/core/testing/option-harness.d.ts +0 -35
  589. package/core/testing/package.json +0 -9
  590. package/core/testing/public-api.d.ts +0 -11
  591. package/core/version.d.ts +0 -10
  592. package/datepicker/calendar-body.d.ts +0 -176
  593. package/datepicker/calendar.d.ts +0 -156
  594. package/datepicker/date-range-input-parts.d.ts +0 -108
  595. package/datepicker/date-range-input.d.ts +0 -133
  596. package/datepicker/date-range-picker.d.ts +0 -17
  597. package/datepicker/date-range-selection-strategy.d.ts +0 -48
  598. package/datepicker/date-selection-model.d.ts +0 -139
  599. package/datepicker/datepicker-actions.d.ts +0 -40
  600. package/datepicker/datepicker-animations.d.ts +0 -16
  601. package/datepicker/datepicker-base.d.ts +0 -272
  602. package/datepicker/datepicker-errors.d.ts +0 -9
  603. package/datepicker/datepicker-input-base.d.ts +0 -136
  604. package/datepicker/datepicker-input.d.ts +0 -67
  605. package/datepicker/datepicker-intl.d.ts +0 -36
  606. package/datepicker/datepicker-module.d.ts +0 -26
  607. package/datepicker/datepicker-toggle.d.ts +0 -47
  608. package/datepicker/datepicker.d.ts +0 -7
  609. package/datepicker/datepicker_public_index.d.ts +0 -4
  610. package/datepicker/month-view.d.ts +0 -139
  611. package/datepicker/multi-year-view.d.ts +0 -103
  612. package/datepicker/package.json +0 -9
  613. package/datepicker/public-api.d.ts +0 -26
  614. package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
  615. package/datepicker/testing/calendar-harness.d.ts +0 -53
  616. package/datepicker/testing/date-range-input-harness.d.ts +0 -59
  617. package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
  618. package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
  619. package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
  620. package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
  621. package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
  622. package/datepicker/testing/package.json +0 -9
  623. package/datepicker/testing/public-api.d.ts +0 -13
  624. package/datepicker/year-view.d.ts +0 -114
  625. package/dialog/dialog-animations.d.ts +0 -25
  626. package/dialog/dialog-config.d.ts +0 -100
  627. package/dialog/dialog-container.d.ts +0 -133
  628. package/dialog/dialog-content-directives.d.ts +0 -76
  629. package/dialog/dialog-module.d.ts +0 -11
  630. package/dialog/dialog-ref.d.ts +0 -101
  631. package/dialog/dialog.d.ts +0 -154
  632. package/dialog/dialog_public_index.d.ts +0 -4
  633. package/dialog/package.json +0 -9
  634. package/dialog/public-api.d.ts +0 -14
  635. package/dialog/testing/dialog-harness-filters.d.ts +0 -11
  636. package/dialog/testing/dialog-harness.d.ts +0 -58
  637. package/dialog/testing/dialog-opener.d.ts +0 -33
  638. package/dialog/testing/package.json +0 -9
  639. package/dialog/testing/public-api.d.ts +0 -10
  640. package/divider/divider-module.d.ts +0 -8
  641. package/divider/divider.d.ts +0 -14
  642. package/divider/divider_public_index.d.ts +0 -4
  643. package/divider/package.json +0 -9
  644. package/divider/public-api.d.ts +0 -9
  645. package/divider/testing/divider-harness-filters.d.ts +0 -10
  646. package/divider/testing/divider-harness.d.ts +0 -16
  647. package/divider/testing/package.json +0 -9
  648. package/divider/testing/public-api.d.ts +0 -9
  649. package/expansion/accordion-base.d.ts +0 -34
  650. package/expansion/accordion.d.ts +0 -45
  651. package/expansion/expansion-animations.d.ts +0 -36
  652. package/expansion/expansion-module.d.ts +0 -14
  653. package/expansion/expansion-panel-base.d.ts +0 -22
  654. package/expansion/expansion-panel-content.d.ts +0 -21
  655. package/expansion/expansion-panel-header.d.ts +0 -83
  656. package/expansion/expansion-panel.d.ts +0 -96
  657. package/expansion/expansion_public_index.d.ts +0 -4
  658. package/expansion/package.json +0 -9
  659. package/expansion/public-api.d.ts +0 -15
  660. package/expansion/testing/accordion-harness.d.ts +0 -25
  661. package/expansion/testing/expansion-harness-filters.d.ts +0 -17
  662. package/expansion/testing/expansion-harness.d.ts +0 -79
  663. package/expansion/testing/package.json +0 -9
  664. package/expansion/testing/public-api.d.ts +0 -10
  665. package/form-field/error.d.ts +0 -22
  666. package/form-field/form-field-animations.d.ts +0 -15
  667. package/form-field/form-field-control.d.ts +0 -60
  668. package/form-field/form-field-errors.d.ts +0 -13
  669. package/form-field/form-field-module.d.ts +0 -16
  670. package/form-field/form-field.d.ts +0 -186
  671. package/form-field/form-field_public_index.d.ts +0 -4
  672. package/form-field/hint.d.ts +0 -27
  673. package/form-field/label.d.ts +0 -6
  674. package/form-field/package.json +0 -9
  675. package/form-field/placeholder.d.ts +0 -11
  676. package/form-field/prefix.d.ts +0 -20
  677. package/form-field/public-api.d.ts +0 -18
  678. package/form-field/suffix.d.ts +0 -20
  679. package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
  680. package/form-field/testing/control/package.json +0 -9
  681. package/form-field/testing/form-field-harness-filters.d.ts +0 -15
  682. package/form-field/testing/form-field-harness.d.ts +0 -114
  683. package/form-field/testing/package.json +0 -9
  684. package/form-field/testing/public-api.d.ts +0 -10
  685. package/grid-list/grid-list-base.d.ts +0 -22
  686. package/grid-list/grid-list-module.d.ts +0 -9
  687. package/grid-list/grid-list.d.ts +0 -63
  688. package/grid-list/grid-list_public_index.d.ts +0 -4
  689. package/grid-list/grid-tile.d.ts +0 -64
  690. package/grid-list/package.json +0 -9
  691. package/grid-list/public-api.d.ts +0 -12
  692. package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
  693. package/grid-list/testing/grid-list-harness.d.ts +0 -41
  694. package/grid-list/testing/grid-tile-harness.d.ts +0 -43
  695. package/grid-list/testing/package.json +0 -9
  696. package/grid-list/testing/public-api.d.ts +0 -10
  697. package/grid-list/tile-coordinator.d.ts +0 -79
  698. package/grid-list/tile-styler.d.ts +0 -134
  699. package/icon/fake-svgs.d.ts +0 -23
  700. package/icon/icon-module.d.ts +0 -8
  701. package/icon/icon-registry.d.ts +0 -262
  702. package/icon/icon.d.ts +0 -147
  703. package/icon/icon_public_index.d.ts +0 -4
  704. package/icon/package.json +0 -9
  705. package/icon/public-api.d.ts +0 -10
  706. package/icon/testing/fake-icon-registry.d.ts +0 -46
  707. package/icon/testing/icon-harness-filters.d.ts +0 -22
  708. package/icon/testing/icon-harness.d.ts +0 -29
  709. package/icon/testing/package.json +0 -9
  710. package/icon/testing/public-api.d.ts +0 -10
  711. package/icon/testing/testing_public_index.d.ts +0 -4
  712. package/icon/trusted-types.d.ts +0 -37
  713. package/input/input-errors.d.ts +0 -9
  714. package/input/input-module.d.ts +0 -10
  715. package/input/input-value-accessor.d.ts +0 -17
  716. package/input/input.d.ts +0 -173
  717. package/input/input_public_index.d.ts +0 -4
  718. package/input/package.json +0 -9
  719. package/input/public-api.d.ts +0 -11
  720. package/input/testing/input-harness-filters.d.ts +0 -15
  721. package/input/testing/input-harness.d.ts +0 -57
  722. package/input/testing/native-option-harness.d.ts +0 -29
  723. package/input/testing/native-select-harness-filters.d.ts +0 -17
  724. package/input/testing/native-select-harness.d.ts +0 -45
  725. package/input/testing/package.json +0 -9
  726. package/input/testing/public-api.d.ts +0 -12
  727. package/list/list-module.d.ts +0 -11
  728. package/list/list.d.ts +0 -99
  729. package/list/list_public_index.d.ts +0 -4
  730. package/list/package.json +0 -9
  731. package/list/public-api.d.ts +0 -10
  732. package/list/selection-list.d.ts +0 -226
  733. package/list/testing/action-list-harness.d.ts +0 -44
  734. package/list/testing/list-harness-base.d.ts +0 -100
  735. package/list/testing/list-harness-filters.d.ts +0 -32
  736. package/list/testing/list-harness.d.ts +0 -36
  737. package/list/testing/list-item-harness-base.d.ts +0 -48
  738. package/list/testing/nav-list-harness.d.ts +0 -46
  739. package/list/testing/package.json +0 -9
  740. package/list/testing/public-api.d.ts +0 -13
  741. package/list/testing/selection-list-harness.d.ts +0 -74
  742. package/menu/menu-animations.d.ts +0 -30
  743. package/menu/menu-content.d.ts +0 -47
  744. package/menu/menu-errors.d.ts +0 -25
  745. package/menu/menu-item.d.ts +0 -61
  746. package/menu/menu-module.d.ts +0 -14
  747. package/menu/menu-panel.d.ts +0 -49
  748. package/menu/menu-positions.d.ts +0 -9
  749. package/menu/menu-trigger.d.ts +0 -180
  750. package/menu/menu.d.ts +0 -207
  751. package/menu/menu_public_index.d.ts +0 -4
  752. package/menu/package.json +0 -9
  753. package/menu/public-api.d.ts +0 -15
  754. package/menu/testing/menu-harness-filters.d.ts +0 -20
  755. package/menu/testing/menu-harness.d.ts +0 -98
  756. package/menu/testing/package.json +0 -9
  757. package/menu/testing/public-api.d.ts +0 -9
  758. package/paginator/package.json +0 -9
  759. package/paginator/paginator-intl.d.ts +0 -43
  760. package/paginator/paginator-module.d.ts +0 -12
  761. package/paginator/paginator.d.ts +0 -157
  762. package/paginator/paginator_public_index.d.ts +0 -4
  763. package/paginator/public-api.d.ts +0 -10
  764. package/paginator/testing/package.json +0 -9
  765. package/paginator/testing/paginator-harness-filters.d.ts +0 -11
  766. package/paginator/testing/paginator-harness.d.ts +0 -58
  767. package/paginator/testing/public-api.d.ts +0 -9
  768. package/progress-bar/package.json +0 -9
  769. package/progress-bar/progress-bar-module.d.ts +0 -9
  770. package/progress-bar/progress-bar.d.ts +0 -116
  771. package/progress-bar/progress-bar_public_index.d.ts +0 -4
  772. package/progress-bar/public-api.d.ts +0 -9
  773. package/progress-bar/testing/package.json +0 -9
  774. package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
  775. package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
  776. package/progress-bar/testing/public-api.d.ts +0 -9
  777. package/progress-spinner/package.json +0 -9
  778. package/progress-spinner/progress-spinner-module.d.ts +0 -9
  779. package/progress-spinner/progress-spinner.d.ts +0 -107
  780. package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
  781. package/progress-spinner/public-api.d.ts +0 -16
  782. package/progress-spinner/testing/package.json +0 -9
  783. package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
  784. package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
  785. package/progress-spinner/testing/public-api.d.ts +0 -9
  786. package/radio/package.json +0 -9
  787. package/radio/public-api.d.ts +0 -9
  788. package/radio/radio-module.d.ts +0 -8
  789. package/radio/radio.d.ts +0 -260
  790. package/radio/radio_public_index.d.ts +0 -4
  791. package/radio/testing/package.json +0 -9
  792. package/radio/testing/public-api.d.ts +0 -9
  793. package/radio/testing/radio-harness-filters.d.ts +0 -20
  794. package/radio/testing/radio-harness.d.ts +0 -111
  795. package/select/package.json +0 -9
  796. package/select/public-api.d.ts +0 -10
  797. package/select/select-animations.d.ts +0 -19
  798. package/select/select-errors.d.ts +0 -26
  799. package/select/select-module.d.ts +0 -12
  800. package/select/select.d.ts +0 -450
  801. package/select/select_public_index.d.ts +0 -4
  802. package/select/testing/package.json +0 -9
  803. package/select/testing/public-api.d.ts +0 -9
  804. package/select/testing/select-harness-filters.d.ts +0 -11
  805. package/select/testing/select-harness.d.ts +0 -73
  806. package/sidenav/drawer-animations.d.ts +0 -15
  807. package/sidenav/drawer.d.ts +0 -299
  808. package/sidenav/package.json +0 -9
  809. package/sidenav/public-api.d.ts +0 -11
  810. package/sidenav/sidenav-module.d.ts +0 -11
  811. package/sidenav/sidenav.d.ts +0 -45
  812. package/sidenav/sidenav_public_index.d.ts +0 -4
  813. package/sidenav/testing/drawer-container-harness.d.ts +0 -30
  814. package/sidenav/testing/drawer-content-harness.d.ts +0 -21
  815. package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
  816. package/sidenav/testing/drawer-harness.d.ts +0 -33
  817. package/sidenav/testing/package.json +0 -9
  818. package/sidenav/testing/public-api.d.ts +0 -14
  819. package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
  820. package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
  821. package/sidenav/testing/sidenav-harness.d.ts +0 -24
  822. package/slide-toggle/package.json +0 -9
  823. package/slide-toggle/public-api.d.ts +0 -11
  824. package/slide-toggle/slide-toggle-config.d.ts +0 -18
  825. package/slide-toggle/slide-toggle-module.d.ts +0 -16
  826. package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
  827. package/slide-toggle/slide-toggle.d.ts +0 -109
  828. package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
  829. package/slide-toggle/testing/package.json +0 -9
  830. package/slide-toggle/testing/public-api.d.ts +0 -9
  831. package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -15
  832. package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
  833. package/slider/package.json +0 -9
  834. package/slider/public-api.d.ts +0 -9
  835. package/slider/slider-module.d.ts +0 -9
  836. package/slider/slider.d.ts +0 -267
  837. package/slider/slider_public_index.d.ts +0 -4
  838. package/slider/testing/package.json +0 -9
  839. package/slider/testing/public-api.d.ts +0 -9
  840. package/slider/testing/slider-harness-filters.d.ts +0 -11
  841. package/slider/testing/slider-harness.d.ts +0 -59
  842. package/snack-bar/package.json +0 -9
  843. package/snack-bar/public-api.d.ts +0 -14
  844. package/snack-bar/simple-snack-bar.d.ts +0 -33
  845. package/snack-bar/snack-bar-animations.d.ts +0 -15
  846. package/snack-bar/snack-bar-config.d.ts +0 -45
  847. package/snack-bar/snack-bar-container.d.ts +0 -101
  848. package/snack-bar/snack-bar-module.d.ts +0 -13
  849. package/snack-bar/snack-bar-ref.d.ts +0 -64
  850. package/snack-bar/snack-bar.d.ts +0 -107
  851. package/snack-bar/snack-bar_public_index.d.ts +0 -4
  852. package/snack-bar/testing/package.json +0 -9
  853. package/snack-bar/testing/public-api.d.ts +0 -9
  854. package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
  855. package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
  856. package/sort/package.json +0 -9
  857. package/sort/public-api.d.ts +0 -13
  858. package/sort/sort-animations.d.ts +0 -20
  859. package/sort/sort-direction.d.ts +0 -8
  860. package/sort/sort-errors.d.ts +0 -15
  861. package/sort/sort-header-intl.d.ts +0 -31
  862. package/sort/sort-header.d.ts +0 -166
  863. package/sort/sort-module.d.ts +0 -10
  864. package/sort/sort.d.ts +0 -93
  865. package/sort/sort_public_index.d.ts +0 -4
  866. package/sort/testing/package.json +0 -9
  867. package/sort/testing/public-api.d.ts +0 -10
  868. package/sort/testing/sort-harness-filters.d.ts +0 -15
  869. package/sort/testing/sort-harness.d.ts +0 -24
  870. package/sort/testing/sort-header-harness.d.ts +0 -30
  871. package/stepper/package.json +0 -9
  872. package/stepper/public-api.d.ts +0 -17
  873. package/stepper/step-content.d.ts +0 -18
  874. package/stepper/step-header.d.ts +0 -66
  875. package/stepper/step-label.d.ts +0 -6
  876. package/stepper/stepper-animations.d.ts +0 -18
  877. package/stepper/stepper-button.d.ts +0 -19
  878. package/stepper/stepper-icon.d.ts +0 -30
  879. package/stepper/stepper-intl.d.ts +0 -34
  880. package/stepper/stepper-module.d.ts +0 -18
  881. package/stepper/stepper.d.ts +0 -80
  882. package/stepper/stepper_public_index.d.ts +0 -4
  883. package/stepper/testing/package.json +0 -9
  884. package/stepper/testing/public-api.d.ts +0 -11
  885. package/stepper/testing/step-harness-filters.d.ts +0 -37
  886. package/stepper/testing/step-harness.d.ts +0 -52
  887. package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
  888. package/stepper/testing/stepper-harness.d.ts +0 -35
  889. package/table/cell.d.ts +0 -59
  890. package/table/package.json +0 -9
  891. package/table/public-api.d.ts +0 -13
  892. package/table/row.d.ts +0 -55
  893. package/table/table-data-source.d.ts +0 -169
  894. package/table/table-module.d.ts +0 -12
  895. package/table/table.d.ts +0 -28
  896. package/table/table_public_index.d.ts +0 -4
  897. package/table/testing/cell-harness.d.ts +0 -49
  898. package/table/testing/package.json +0 -9
  899. package/table/testing/public-api.d.ts +0 -11
  900. package/table/testing/row-harness.d.ts +0 -66
  901. package/table/testing/table-harness-filters.d.ts +0 -21
  902. package/table/testing/table-harness.d.ts +0 -58
  903. package/table/text-column.d.ts +0 -22
  904. package/tabs/ink-bar.d.ts +0 -49
  905. package/tabs/package.json +0 -9
  906. package/tabs/paginated-tab-header.d.ts +0 -196
  907. package/tabs/public-api.d.ts +0 -20
  908. package/tabs/tab-body.d.ts +0 -116
  909. package/tabs/tab-config.d.ts +0 -35
  910. package/tabs/tab-content.d.ts +0 -22
  911. package/tabs/tab-group.d.ts +0 -181
  912. package/tabs/tab-header.d.ts +0 -49
  913. package/tabs/tab-label-wrapper.d.ts +0 -29
  914. package/tabs/tab-label.d.ts +0 -28
  915. package/tabs/tab-nav-bar/index.d.ts +0 -8
  916. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
  917. package/tabs/tab.d.ts +0 -89
  918. package/tabs/tabs-animations.d.ts +0 -15
  919. package/tabs/tabs-module.d.ts +0 -20
  920. package/tabs/tabs_public_index.d.ts +0 -4
  921. package/tabs/testing/package.json +0 -9
  922. package/tabs/testing/public-api.d.ts +0 -12
  923. package/tabs/testing/tab-group-harness.d.ts +0 -35
  924. package/tabs/testing/tab-harness-filters.d.ts +0 -29
  925. package/tabs/testing/tab-harness.d.ts +0 -38
  926. package/tabs/testing/tab-link-harness.d.ts +0 -29
  927. package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
  928. package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
  929. package/toolbar/package.json +0 -9
  930. package/toolbar/public-api.d.ts +0 -9
  931. package/toolbar/testing/package.json +0 -9
  932. package/toolbar/testing/public-api.d.ts +0 -9
  933. package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
  934. package/toolbar/testing/toolbar-harness.d.ts +0 -31
  935. package/toolbar/toolbar-module.d.ts +0 -8
  936. package/toolbar/toolbar.d.ts +0 -41
  937. package/toolbar/toolbar_public_index.d.ts +0 -4
  938. package/tooltip/package.json +0 -9
  939. package/tooltip/public-api.d.ts +0 -10
  940. package/tooltip/testing/package.json +0 -9
  941. package/tooltip/testing/public-api.d.ts +0 -9
  942. package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
  943. package/tooltip/testing/tooltip-harness.d.ts +0 -38
  944. package/tooltip/tooltip-animations.d.ts +0 -15
  945. package/tooltip/tooltip-module.d.ts +0 -12
  946. package/tooltip/tooltip.d.ts +0 -299
  947. package/tooltip/tooltip_public_index.d.ts +0 -4
  948. package/tree/data-source/flat-data-source.d.ts +0 -83
  949. package/tree/data-source/nested-data-source.d.ts +0 -25
  950. package/tree/node.d.ts +0 -53
  951. package/tree/outlet.d.ts +0 -21
  952. package/tree/package.json +0 -9
  953. package/tree/padding.d.ts +0 -23
  954. package/tree/public-api.d.ts +0 -15
  955. package/tree/testing/node-harness.d.ts +0 -35
  956. package/tree/testing/package.json +0 -9
  957. package/tree/testing/public-api.d.ts +0 -10
  958. package/tree/testing/tree-harness-filters.d.ts +0 -22
  959. package/tree/testing/tree-harness.d.ts +0 -79
  960. package/tree/toggle.d.ts +0 -16
  961. package/tree/tree-module.d.ts +0 -13
  962. package/tree/tree.d.ts +0 -18
  963. package/tree/tree_public_index.d.ts +0 -4
package/_index.scss CHANGED
@@ -14,6 +14,25 @@
14
14
  @forward './core/typography/typography-utils' show typography-level,
15
15
  font-size, line-height, font-weight, letter-spacing, font-family, font-shorthand;
16
16
 
17
+ // Private/Internal
18
+ @forward './core/density/private/all-density' as private-* show private-all-component-densities;
19
+ @forward './core/theming/theming' show private-check-duplicate-theme-styles,
20
+ private-legacy-get-theme, private-is-theme-object;
21
+ @forward './core/style/layout-common' as private-* show private-fill;
22
+ @forward './core/style/private' show private-theme-elevation, private-animation-noop;
23
+ @forward './core/style/vendor-prefixes' as private-* show private-user-select,
24
+ private-position-sticky, private-color-adjust;
25
+ @forward './core/theming/palette' as private-* show $private-dark-primary-text,
26
+ $private-dark-disabled-text;
27
+ @forward './core/style/variables' as private-* show $private-swift-ease-in-duration,
28
+ $private-swift-ease-in-timing-function, $private-swift-ease-out-timing-function,
29
+ $private-ease-in-out-curve-function, $private-swift-ease-out-duration, $private-xsmall;
30
+ @forward './core/typography/typography' show private-typography-to-2014-config,
31
+ private-typography-to-2018-config;
32
+ @forward './table/table-flex-styles' show private-table-flex-styles;
33
+ @forward './core/style/menu-common' as private-menu-common-*;
34
+ @forward './core/style/button-common' as private-button-common-*;
35
+
17
36
  // Structural
18
37
  @forward './core/core' show core;
19
38
  @forward './core/ripple/ripple' show ripple;
@@ -49,7 +68,7 @@
49
68
  checkbox-typography;
50
69
  @forward './chips/chips-theme' as chips-* show chips-theme, chips-color, chips-typography;
51
70
  @forward './datepicker/datepicker-theme' as datepicker-* show datepicker-theme, datepicker-color,
52
- datepicker-typography;
71
+ datepicker-typography, datepicker-date-range-colors;
53
72
  @forward './dialog/dialog-theme' as dialog-* show dialog-theme, dialog-color, dialog-typography;
54
73
  @forward './divider/divider-theme' as divider-* show divider-theme, divider-color,
55
74
  divider-typography;
@@ -1,8 +1,438 @@
1
+ import { _AbstractConstructor } from '@angular/material/core';
2
+ import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
3
+ import { AfterContentInit } from '@angular/core';
4
+ import { AfterViewInit } from '@angular/core';
5
+ import { BooleanInput } from '@angular/cdk/coercion';
6
+ import { CanDisableRipple } from '@angular/material/core';
7
+ import { ChangeDetectorRef } from '@angular/core';
8
+ import { _Constructor } from '@angular/material/core';
9
+ import { ControlValueAccessor } from '@angular/forms';
10
+ import { Directionality } from '@angular/cdk/bidi';
11
+ import { ElementRef } from '@angular/core';
12
+ import { EventEmitter } from '@angular/core';
13
+ import * as i0 from '@angular/core';
14
+ import * as i4 from '@angular/cdk/overlay';
15
+ import * as i5 from '@angular/material/core';
16
+ import * as i6 from '@angular/common';
17
+ import * as i7 from '@angular/cdk/scrolling';
18
+ import { InjectionToken } from '@angular/core';
19
+ import { MatFormField } from '@angular/material/form-field';
20
+ import { MatOptgroup } from '@angular/material/core';
21
+ import { _MatOptgroupBase } from '@angular/material/core';
22
+ import { MatOption } from '@angular/material/core';
23
+ import { _MatOptionBase } from '@angular/material/core';
24
+ import { MatOptionSelectionChange } from '@angular/material/core';
25
+ import { NgZone } from '@angular/core';
26
+ import { Observable } from 'rxjs';
27
+ import { OnChanges } from '@angular/core';
28
+ import { OnDestroy } from '@angular/core';
29
+ import { Overlay } from '@angular/cdk/overlay';
30
+ import { Platform } from '@angular/cdk/platform';
31
+ import { QueryList } from '@angular/core';
32
+ import { ScrollStrategy } from '@angular/cdk/overlay';
33
+ import { SimpleChanges } from '@angular/core';
34
+ import { TemplateRef } from '@angular/core';
35
+ import { ViewContainerRef } from '@angular/core';
36
+ import { ViewportRuler } from '@angular/cdk/scrolling';
37
+
1
38
  /**
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
39
+ * Creates an error to be thrown when attempting to use an autocomplete trigger without a panel.
40
+ * @docs-private
7
41
  */
8
- export * from './public-api';
42
+ export declare function getMatAutocompleteMissingPanelError(): Error;
43
+
44
+ declare namespace i1 {
45
+ export {
46
+ MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY,
47
+ MatAutocompleteSelectedEvent,
48
+ MatAutocompleteActivatedEvent,
49
+ MatAutocompleteDefaultOptions,
50
+ MAT_AUTOCOMPLETE_DEFAULT_OPTIONS,
51
+ _MatAutocompleteBase,
52
+ MatAutocomplete
53
+ }
54
+ }
55
+
56
+ declare namespace i2 {
57
+ export {
58
+ MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY,
59
+ getMatAutocompleteMissingPanelError,
60
+ MAT_AUTOCOMPLETE_SCROLL_STRATEGY,
61
+ MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER,
62
+ MAT_AUTOCOMPLETE_VALUE_ACCESSOR,
63
+ _MatAutocompleteTriggerBase,
64
+ MatAutocompleteTrigger
65
+ }
66
+ }
67
+
68
+ declare namespace i3 {
69
+ export {
70
+ _MatAutocompleteOriginBase,
71
+ MatAutocompleteOrigin
72
+ }
73
+ }
74
+
75
+ /** Injection token to be used to override the default options for `mat-autocomplete`. */
76
+ export declare const MAT_AUTOCOMPLETE_DEFAULT_OPTIONS: InjectionToken<MatAutocompleteDefaultOptions>;
77
+
78
+ /** @docs-private */
79
+ export declare function MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY(): MatAutocompleteDefaultOptions;
80
+
81
+ /** Injection token that determines the scroll handling while the autocomplete panel is open. */
82
+ export declare const MAT_AUTOCOMPLETE_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
83
+
84
+ /** @docs-private */
85
+ export declare function MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
86
+
87
+ /** @docs-private */
88
+ export declare const MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER: {
89
+ provide: InjectionToken<() => ScrollStrategy>;
90
+ deps: (typeof Overlay)[];
91
+ useFactory: typeof MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY;
92
+ };
93
+
94
+ /**
95
+ * Provider that allows the autocomplete to register as a ControlValueAccessor.
96
+ * @docs-private
97
+ */
98
+ export declare const MAT_AUTOCOMPLETE_VALUE_ACCESSOR: any;
99
+
100
+ export declare class MatAutocomplete extends _MatAutocompleteBase {
101
+ /** Reference to all option groups within the autocomplete. */
102
+ optionGroups: QueryList<MatOptgroup>;
103
+ /** Reference to all options within the autocomplete. */
104
+ options: QueryList<MatOption>;
105
+ protected _visibleClass: string;
106
+ protected _hiddenClass: string;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocomplete, never>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocomplete, "mat-autocomplete", ["matAutocomplete"], { "disableRipple": "disableRipple"; }, {}, ["optionGroups", "options"], ["*"], false>;
109
+ }
110
+
111
+ /** Event object that is emitted when an autocomplete option is activated. */
112
+ export declare interface MatAutocompleteActivatedEvent {
113
+ /** Reference to the autocomplete panel that emitted the event. */
114
+ source: _MatAutocompleteBase;
115
+ /** Option that was selected. */
116
+ option: _MatOptionBase | null;
117
+ }
118
+
119
+ /** Base class with all of the `MatAutocomplete` functionality. */
120
+ export declare abstract class _MatAutocompleteBase extends _MatAutocompleteMixinBase implements AfterContentInit, CanDisableRipple, OnDestroy {
121
+ private _changeDetectorRef;
122
+ private _elementRef;
123
+ private _activeOptionChanges;
124
+ /** Class to apply to the panel when it's visible. */
125
+ protected abstract _visibleClass: string;
126
+ /** Class to apply to the panel when it's hidden. */
127
+ protected abstract _hiddenClass: string;
128
+ /** Manages active item in option list based on key events. */
129
+ _keyManager: ActiveDescendantKeyManager<_MatOptionBase>;
130
+ /** Whether the autocomplete panel should be visible, depending on option length. */
131
+ showPanel: boolean;
132
+ /** Whether the autocomplete panel is open. */
133
+ get isOpen(): boolean;
134
+ _isOpen: boolean;
135
+ /** @docs-private */
136
+ template: TemplateRef<any>;
137
+ /** Element for the panel containing the autocomplete options. */
138
+ panel: ElementRef;
139
+ /** Reference to all options within the autocomplete. */
140
+ abstract options: QueryList<_MatOptionBase>;
141
+ /** Reference to all option groups within the autocomplete. */
142
+ abstract optionGroups: QueryList<_MatOptgroupBase>;
143
+ /** Aria label of the autocomplete. */
144
+ ariaLabel: string;
145
+ /** Input that can be used to specify the `aria-labelledby` attribute. */
146
+ ariaLabelledby: string;
147
+ /** Function that maps an option's control value to its display value in the trigger. */
148
+ displayWith: ((value: any) => string) | null;
149
+ /**
150
+ * Whether the first option should be highlighted when the autocomplete panel is opened.
151
+ * Can be configured globally through the `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS` token.
152
+ */
153
+ get autoActiveFirstOption(): boolean;
154
+ set autoActiveFirstOption(value: BooleanInput);
155
+ private _autoActiveFirstOption;
156
+ /** Whether the active option should be selected as the user is navigating. */
157
+ get autoSelectActiveOption(): boolean;
158
+ set autoSelectActiveOption(value: BooleanInput);
159
+ private _autoSelectActiveOption;
160
+ /**
161
+ * Specify the width of the autocomplete panel. Can be any CSS sizing value, otherwise it will
162
+ * match the width of its host.
163
+ */
164
+ panelWidth: string | number;
165
+ /** Event that is emitted whenever an option from the list is selected. */
166
+ readonly optionSelected: EventEmitter<MatAutocompleteSelectedEvent>;
167
+ /** Event that is emitted when the autocomplete panel is opened. */
168
+ readonly opened: EventEmitter<void>;
169
+ /** Event that is emitted when the autocomplete panel is closed. */
170
+ readonly closed: EventEmitter<void>;
171
+ /** Emits whenever an option is activated. */
172
+ readonly optionActivated: EventEmitter<MatAutocompleteActivatedEvent>;
173
+ /**
174
+ * Takes classes set on the host mat-autocomplete element and applies them to the panel
175
+ * inside the overlay container to allow for easy styling.
176
+ */
177
+ set classList(value: string | string[]);
178
+ _classList: {
179
+ [key: string]: boolean;
180
+ };
181
+ /** Unique ID to be used by autocomplete trigger's "aria-owns" property. */
182
+ id: string;
183
+ /**
184
+ * Tells any descendant `mat-optgroup` to use the inert a11y pattern.
185
+ * @docs-private
186
+ */
187
+ readonly inertGroups: boolean;
188
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, defaults: MatAutocompleteDefaultOptions, platform?: Platform);
189
+ ngAfterContentInit(): void;
190
+ ngOnDestroy(): void;
191
+ /**
192
+ * Sets the panel scrollTop. This allows us to manually scroll to display options
193
+ * above or below the fold, as they are not actually being focused when active.
194
+ */
195
+ _setScrollTop(scrollTop: number): void;
196
+ /** Returns the panel's scrollTop. */
197
+ _getScrollTop(): number;
198
+ /** Panel should hide itself when the option list is empty. */
199
+ _setVisibility(): void;
200
+ /** Emits the `select` event. */
201
+ _emitSelectEvent(option: _MatOptionBase): void;
202
+ /** Gets the aria-labelledby for the autocomplete panel. */
203
+ _getPanelAriaLabelledby(labelId: string | null): string | null;
204
+ /** Sets the autocomplete visibility classes on a classlist based on the panel is visible. */
205
+ private _setVisibilityClasses;
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteBase, never>;
207
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteBase, never, never, { "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "displayWith": "displayWith"; "autoActiveFirstOption": "autoActiveFirstOption"; "autoSelectActiveOption": "autoSelectActiveOption"; "panelWidth": "panelWidth"; "classList": "class"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; "optionActivated": "optionActivated"; }, never, never, false>;
208
+ }
209
+
210
+ /** Default `mat-autocomplete` options that can be overridden. */
211
+ export declare interface MatAutocompleteDefaultOptions {
212
+ /** Whether the first option should be highlighted when an autocomplete panel is opened. */
213
+ autoActiveFirstOption?: boolean;
214
+ /** Whether the active option should be selected as the user is navigating. */
215
+ autoSelectActiveOption?: boolean;
216
+ /** Class or list of classes to be applied to the autocomplete's overlay panel. */
217
+ overlayPanelClass?: string | string[];
218
+ }
219
+
220
+ /** @docs-private */
221
+ declare const _MatAutocompleteMixinBase: _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & {
222
+ new (): {};
223
+ };
224
+
225
+ export declare class MatAutocompleteModule {
226
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteModule, never>;
227
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatAutocompleteModule, [typeof i1.MatAutocomplete, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin], [typeof i4.OverlayModule, typeof i5.MatOptionModule, typeof i5.MatCommonModule, typeof i6.CommonModule], [typeof i1.MatAutocomplete, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin, typeof i7.CdkScrollableModule, typeof i5.MatOptionModule, typeof i5.MatCommonModule]>;
228
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatAutocompleteModule>;
229
+ }
230
+
231
+ /**
232
+ * Directive applied to an element to make it usable
233
+ * as a connection point for an autocomplete panel.
234
+ */
235
+ export declare class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
236
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteOrigin, never>;
237
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteOrigin, "[matAutocompleteOrigin]", ["matAutocompleteOrigin"], {}, {}, never, never, false>;
238
+ }
239
+
240
+ /** Base class containing all of the functionality for `MatAutocompleteOrigin`. */
241
+ export declare abstract class _MatAutocompleteOriginBase {
242
+ /** Reference to the element on which the directive is applied. */
243
+ elementRef: ElementRef<HTMLElement>;
244
+ constructor(
245
+ /** Reference to the element on which the directive is applied. */
246
+ elementRef: ElementRef<HTMLElement>);
247
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteOriginBase, never>;
248
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteOriginBase, never, never, {}, {}, never, never, false>;
249
+ }
250
+
251
+ /** Event object that is emitted when an autocomplete option is selected. */
252
+ export declare class MatAutocompleteSelectedEvent {
253
+ /** Reference to the autocomplete panel that emitted the event. */
254
+ source: _MatAutocompleteBase;
255
+ /** Option that was selected. */
256
+ option: _MatOptionBase;
257
+ constructor(
258
+ /** Reference to the autocomplete panel that emitted the event. */
259
+ source: _MatAutocompleteBase,
260
+ /** Option that was selected. */
261
+ option: _MatOptionBase);
262
+ }
263
+
264
+ export declare class MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {
265
+ protected _aboveClass: string;
266
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteTrigger, never>;
267
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], {}, {}, never, never, false>;
268
+ }
269
+
270
+ /** Base class with all of the `MatAutocompleteTrigger` functionality. */
271
+ export declare abstract class _MatAutocompleteTriggerBase implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
272
+ private _element;
273
+ private _overlay;
274
+ private _viewContainerRef;
275
+ private _zone;
276
+ private _changeDetectorRef;
277
+ private _dir;
278
+ private _formField;
279
+ private _document;
280
+ private _viewportRuler;
281
+ private _defaults?;
282
+ private _overlayRef;
283
+ private _portal;
284
+ private _componentDestroyed;
285
+ private _autocompleteDisabled;
286
+ private _scrollStrategy;
287
+ /** Old value of the native input. Used to work around issues with the `input` event on IE. */
288
+ private _previousValue;
289
+ /** Strategy that is used to position the panel. */
290
+ private _positionStrategy;
291
+ /** Whether or not the label state is being overridden. */
292
+ private _manuallyFloatingLabel;
293
+ /** The subscription for closing actions (some are bound to document). */
294
+ private _closingActionsSubscription;
295
+ /** Subscription to viewport size changes. */
296
+ private _viewportSubscription;
297
+ /**
298
+ * Whether the autocomplete can open the next time it is focused. Used to prevent a focused,
299
+ * closed autocomplete from being reopened if the user switches to another browser tab and then
300
+ * comes back.
301
+ */
302
+ private _canOpenOnNextFocus;
303
+ /** Value inside the input before we auto-selected an option. */
304
+ private _valueBeforeAutoSelection;
305
+ /**
306
+ * Current option that we have auto-selected as the user is navigating,
307
+ * but which hasn't been propagated to the model value yet.
308
+ */
309
+ private _pendingAutoselectedOption;
310
+ /** Stream of keyboard events that can close the panel. */
311
+ private readonly _closeKeyEventStream;
312
+ /**
313
+ * Event handler for when the window is blurred. Needs to be an
314
+ * arrow function in order to preserve the context.
315
+ */
316
+ private _windowBlurHandler;
317
+ /** `View -> model callback called when value changes` */
318
+ _onChange: (value: any) => void;
319
+ /** `View -> model callback called when autocomplete has been touched` */
320
+ _onTouched: () => void;
321
+ /** The autocomplete panel to be attached to this trigger. */
322
+ autocomplete: _MatAutocompleteBase;
323
+ /**
324
+ * Position of the autocomplete panel relative to the trigger element. A position of `auto`
325
+ * will render the panel underneath the trigger if there is enough space for it to fit in
326
+ * the viewport, otherwise the panel will be shown above it. If the position is set to
327
+ * `above` or `below`, the panel will always be shown above or below the trigger. no matter
328
+ * whether it fits completely in the viewport.
329
+ */
330
+ position: 'auto' | 'above' | 'below';
331
+ /**
332
+ * Reference relative to which to position the autocomplete panel.
333
+ * Defaults to the autocomplete trigger element.
334
+ */
335
+ connectedTo: _MatAutocompleteOriginBase;
336
+ /**
337
+ * `autocomplete` attribute to be set on the input element.
338
+ * @docs-private
339
+ */
340
+ autocompleteAttribute: string;
341
+ /**
342
+ * Whether the autocomplete is disabled. When disabled, the element will
343
+ * act as a regular input and the user won't be able to open the panel.
344
+ */
345
+ get autocompleteDisabled(): boolean;
346
+ set autocompleteDisabled(value: BooleanInput);
347
+ constructor(_element: ElementRef<HTMLInputElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _zone: NgZone, _changeDetectorRef: ChangeDetectorRef, scrollStrategy: any, _dir: Directionality, _formField: MatFormField, _document: any, _viewportRuler: ViewportRuler, _defaults?: MatAutocompleteDefaultOptions | undefined);
348
+ /** Class to apply to the panel when it's above the input. */
349
+ protected abstract _aboveClass: string;
350
+ ngAfterViewInit(): void;
351
+ ngOnChanges(changes: SimpleChanges): void;
352
+ ngOnDestroy(): void;
353
+ /** Whether or not the autocomplete panel is open. */
354
+ get panelOpen(): boolean;
355
+ private _overlayAttached;
356
+ /** Opens the autocomplete suggestion panel. */
357
+ openPanel(): void;
358
+ /** Closes the autocomplete suggestion panel. */
359
+ closePanel(): void;
360
+ /**
361
+ * Updates the position of the autocomplete suggestion panel to ensure that it fits all options
362
+ * within the viewport.
363
+ */
364
+ updatePosition(): void;
365
+ /**
366
+ * A stream of actions that should close the autocomplete panel, including
367
+ * when an option is selected, on blur, and when TAB is pressed.
368
+ */
369
+ get panelClosingActions(): Observable<MatOptionSelectionChange | null>;
370
+ /** Stream of changes to the selection state of the autocomplete options. */
371
+ readonly optionSelections: Observable<MatOptionSelectionChange>;
372
+ /** The currently active option, coerced to MatOption type. */
373
+ get activeOption(): _MatOptionBase | null;
374
+ /** Stream of clicks outside of the autocomplete panel. */
375
+ private _getOutsideClickStream;
376
+ writeValue(value: any): void;
377
+ registerOnChange(fn: (value: any) => {}): void;
378
+ registerOnTouched(fn: () => {}): void;
379
+ setDisabledState(isDisabled: boolean): void;
380
+ _handleKeydown(event: KeyboardEvent): void;
381
+ _handleInput(event: KeyboardEvent): void;
382
+ _handleFocus(): void;
383
+ _handleClick(): void;
384
+ /**
385
+ * In "auto" mode, the label will animate down as soon as focus is lost.
386
+ * This causes the value to jump when selecting an option with the mouse.
387
+ * This method manually floats the label until the panel can be closed.
388
+ * @param shouldAnimate Whether the label should be animated when it is floated.
389
+ */
390
+ private _floatLabel;
391
+ /** If the label has been manually elevated, return it to its normal state. */
392
+ private _resetLabel;
393
+ /**
394
+ * This method listens to a stream of panel closing actions and resets the
395
+ * stream every time the option list changes.
396
+ */
397
+ private _subscribeToClosingActions;
398
+ /** Destroys the autocomplete suggestion panel. */
399
+ private _destroyPanel;
400
+ private _assignOptionValue;
401
+ private _updateNativeInputValue;
402
+ /**
403
+ * This method closes the panel, and if a value is specified, also sets the associated
404
+ * control to that value. It will also mark the control as dirty if this interaction
405
+ * stemmed from the user.
406
+ */
407
+ private _setValueAndClose;
408
+ /**
409
+ * Clear any previous selected option and emit a selection change event for this option
410
+ */
411
+ private _clearPreviousSelectedOption;
412
+ private _attachOverlay;
413
+ private _getOverlayConfig;
414
+ private _getOverlayPosition;
415
+ /** Sets the positions on a position strategy based on the directive's input state. */
416
+ private _setStrategyPositions;
417
+ private _getConnectedElement;
418
+ private _getPanelWidth;
419
+ /** Returns the width of the input element, so the panel width can match it. */
420
+ private _getHostWidth;
421
+ /**
422
+ * Resets the active item to -1 so arrow events will activate the
423
+ * correct options, or to 0 if the consumer opted into it.
424
+ */
425
+ private _resetActiveItem;
426
+ /** Determines whether the panel can be opened. */
427
+ private _canOpen;
428
+ /** Use defaultView of injected document if available or fallback to global window reference */
429
+ private _getWindow;
430
+ /** Scrolls to a particular option in the list. */
431
+ private _scrollToOption;
432
+ /** Handles keyboard events coming from the overlay panel. */
433
+ private _handleOverlayEvents;
434
+ static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteTriggerBase, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null, { optional: true; }]>;
435
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteTriggerBase, never, never, { "autocomplete": "matAutocomplete"; "position": "matAutocompletePosition"; "connectedTo": "matAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "matAutocompleteDisabled"; }, {}, never, never, false>;
436
+ }
437
+
438
+ export { }
@@ -1,8 +1,71 @@
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 { ComponentHarnessConstructor } from '@angular/cdk/testing';
4
+ import { HarnessPredicate } from '@angular/cdk/testing';
5
+ import { MatOptgroupHarness } from '@angular/material/core/testing';
6
+ import { MatOptionHarness } from '@angular/material/core/testing';
7
+ import { OptgroupHarnessFilters } from '@angular/material/core/testing';
8
+ import { OptionHarnessFilters } from '@angular/material/core/testing';
9
+
10
+ /** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */
11
+ export declare interface AutocompleteHarnessFilters extends BaseHarnessFilters {
12
+ /** Only find instances whose associated input element matches the given value. */
13
+ value?: string | RegExp;
14
+ }
15
+
16
+ /** Harness for interacting with a standard mat-autocomplete in tests. */
17
+ export declare class MatAutocompleteHarness extends _MatAutocompleteHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
18
+ protected _prefix: string;
19
+ protected _optionClass: typeof MatOptionHarness;
20
+ protected _optionGroupClass: typeof MatOptgroupHarness;
21
+ /** The selector for the host element of a `MatAutocomplete` instance. */
22
+ static hostSelector: string;
23
+ /**
24
+ * Gets a `HarnessPredicate` that can be used to search for a `MatAutocompleteHarness` that meets
25
+ * certain criteria.
26
+ * @param options Options for filtering which autocomplete instances are considered a match.
27
+ * @return a `HarnessPredicate` configured with the given options.
28
+ */
29
+ static with(options?: AutocompleteHarnessFilters): HarnessPredicate<MatAutocompleteHarness>;
30
+ }
31
+
32
+ export declare abstract class _MatAutocompleteHarnessBase<OptionType extends ComponentHarnessConstructor<Option> & {
33
+ with: (options?: OptionFilters) => HarnessPredicate<Option>;
34
+ }, Option extends ComponentHarness & {
35
+ click(): Promise<void>;
36
+ }, OptionFilters extends BaseHarnessFilters, OptionGroupType extends ComponentHarnessConstructor<OptionGroup> & {
37
+ with: (options?: OptionGroupFilters) => HarnessPredicate<OptionGroup>;
38
+ }, OptionGroup extends ComponentHarness, OptionGroupFilters extends BaseHarnessFilters> extends ComponentHarness {
39
+ private _documentRootLocator;
40
+ protected abstract _prefix: string;
41
+ protected abstract _optionClass: OptionType;
42
+ protected abstract _optionGroupClass: OptionGroupType;
43
+ /** Gets the value of the autocomplete input. */
44
+ getValue(): Promise<string>;
45
+ /** Whether the autocomplete input is disabled. */
46
+ isDisabled(): Promise<boolean>;
47
+ /** Focuses the autocomplete input. */
48
+ focus(): Promise<void>;
49
+ /** Blurs the autocomplete input. */
50
+ blur(): Promise<void>;
51
+ /** Whether the autocomplete input is focused. */
52
+ isFocused(): Promise<boolean>;
53
+ /** Enters text into the autocomplete. */
54
+ enterText(value: string): Promise<void>;
55
+ /** Clears the input value. */
56
+ clear(): Promise<void>;
57
+ /** Gets the options inside the autocomplete panel. */
58
+ getOptions(filters?: Omit<OptionFilters, 'ancestor'>): Promise<Option[]>;
59
+ /** Gets the option groups inside the autocomplete panel. */
60
+ getOptionGroups(filters?: Omit<OptionGroupFilters, 'ancestor'>): Promise<OptionGroup[]>;
61
+ /** Selects the first option matching the given filters. */
62
+ selectOption(filters: OptionFilters): Promise<void>;
63
+ /** Whether the autocomplete is open. */
64
+ isOpen(): Promise<boolean>;
65
+ /** Gets the panel associated with this autocomplete trigger. */
66
+ private _getPanel;
67
+ /** Gets the selector that can be used to find the autocomplete trigger's panel. */
68
+ private _getPanelSelector;
69
+ }
70
+
71
+ export { }
@@ -5,10 +5,11 @@
5
5
  @use 'sass:map';
6
6
  @use 'sass:meta';
7
7
  @use 'sass:math';
8
+ @use '@angular/cdk';
9
+
8
10
  @use '../core/theming/theming';
9
11
  @use '../core/typography/typography';
10
12
  @use '../core/typography/typography-utils';
11
- @use '../../cdk/a11y';
12
13
 
13
14
  $font-size: 12px;
14
15
  $font-weight: 600;
@@ -166,7 +167,7 @@ $_badge-structure-emitted: false !default;
166
167
  color: theming.get-color-from-palette($primary, default-contrast);
167
168
  background: theming.get-color-from-palette($primary);
168
169
 
169
- @include a11y.high-contrast(active, off) {
170
+ @include cdk.high-contrast(active, off) {
170
171
  outline: solid 1px;
171
172
  border-radius: 0;
172
173
  }