@angular/material 6.4.2 → 6.4.7

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 (518) hide show
  1. package/_theming.scss +9 -5
  2. package/autocomplete/typings/autocomplete-trigger.d.ts +12 -1
  3. package/autocomplete/typings/autocomplete.d.ts +1 -1
  4. package/autocomplete/typings/index.d.ts +1 -1
  5. package/autocomplete/typings/index.metadata.json +1 -1
  6. package/badge/typings/badge.d.ts +6 -2
  7. package/badge/typings/index.metadata.json +1 -1
  8. package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
  9. package/bottom-sheet/typings/index.metadata.json +1 -1
  10. package/bundles/material-autocomplete.umd.js +33 -2
  11. package/bundles/material-autocomplete.umd.js.map +1 -1
  12. package/bundles/material-autocomplete.umd.min.js +1 -1
  13. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  14. package/bundles/material-badge.umd.js +6 -2
  15. package/bundles/material-badge.umd.js.map +1 -1
  16. package/bundles/material-badge.umd.min.js +1 -1
  17. package/bundles/material-badge.umd.min.js.map +1 -1
  18. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  19. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  20. package/bundles/material-button-toggle.umd.js +12 -3
  21. package/bundles/material-button-toggle.umd.js.map +1 -1
  22. package/bundles/material-button-toggle.umd.min.js +1 -1
  23. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  24. package/bundles/material-button.umd.js +2 -2
  25. package/bundles/material-button.umd.js.map +1 -1
  26. package/bundles/material-button.umd.min.js +1 -1
  27. package/bundles/material-button.umd.min.js.map +1 -1
  28. package/bundles/material-card.umd.js +1 -1
  29. package/bundles/material-card.umd.js.map +1 -1
  30. package/bundles/material-card.umd.min.js +1 -1
  31. package/bundles/material-card.umd.min.js.map +1 -1
  32. package/bundles/material-checkbox.umd.js +7 -1
  33. package/bundles/material-checkbox.umd.js.map +1 -1
  34. package/bundles/material-checkbox.umd.min.js +1 -1
  35. package/bundles/material-checkbox.umd.min.js.map +1 -1
  36. package/bundles/material-chips.umd.js +113 -94
  37. package/bundles/material-chips.umd.js.map +1 -1
  38. package/bundles/material-chips.umd.min.js +1 -1
  39. package/bundles/material-chips.umd.min.js.map +1 -1
  40. package/bundles/material-core.umd.js +13 -16
  41. package/bundles/material-core.umd.js.map +1 -1
  42. package/bundles/material-core.umd.min.js +2 -2
  43. package/bundles/material-core.umd.min.js.map +1 -1
  44. package/bundles/material-datepicker.umd.js +35 -38
  45. package/bundles/material-datepicker.umd.js.map +1 -1
  46. package/bundles/material-datepicker.umd.min.js +2 -2
  47. package/bundles/material-datepicker.umd.min.js.map +1 -1
  48. package/bundles/material-dialog.umd.js.map +1 -1
  49. package/bundles/material-dialog.umd.min.js.map +1 -1
  50. package/bundles/material-expansion.umd.js +200 -74
  51. package/bundles/material-expansion.umd.js.map +1 -1
  52. package/bundles/material-expansion.umd.min.js +1 -1
  53. package/bundles/material-expansion.umd.min.js.map +1 -1
  54. package/bundles/material-form-field.umd.js +62 -51
  55. package/bundles/material-form-field.umd.js.map +1 -1
  56. package/bundles/material-form-field.umd.min.js +1 -1
  57. package/bundles/material-form-field.umd.min.js.map +1 -1
  58. package/bundles/material-grid-list.umd.js +10 -34
  59. package/bundles/material-grid-list.umd.js.map +1 -1
  60. package/bundles/material-grid-list.umd.min.js +1 -1
  61. package/bundles/material-grid-list.umd.min.js.map +1 -1
  62. package/bundles/material-icon.umd.js.map +1 -1
  63. package/bundles/material-icon.umd.min.js.map +1 -1
  64. package/bundles/material-input.umd.js +13 -6
  65. package/bundles/material-input.umd.js.map +1 -1
  66. package/bundles/material-input.umd.min.js +1 -1
  67. package/bundles/material-input.umd.min.js.map +1 -1
  68. package/bundles/material-list.umd.js +12 -14
  69. package/bundles/material-list.umd.js.map +1 -1
  70. package/bundles/material-list.umd.min.js +5 -5
  71. package/bundles/material-list.umd.min.js.map +1 -1
  72. package/bundles/material-menu.umd.js +25 -16
  73. package/bundles/material-menu.umd.js.map +1 -1
  74. package/bundles/material-menu.umd.min.js +1 -1
  75. package/bundles/material-menu.umd.min.js.map +1 -1
  76. package/bundles/material-paginator.umd.js +1 -1
  77. package/bundles/material-paginator.umd.js.map +1 -1
  78. package/bundles/material-paginator.umd.min.js +1 -1
  79. package/bundles/material-paginator.umd.min.js.map +1 -1
  80. package/bundles/material-progress-bar.umd.js +29 -11
  81. package/bundles/material-progress-bar.umd.js.map +1 -1
  82. package/bundles/material-progress-bar.umd.min.js +1 -1
  83. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  84. package/bundles/material-radio.umd.js.map +1 -1
  85. package/bundles/material-radio.umd.min.js.map +1 -1
  86. package/bundles/material-select.umd.js +8 -3
  87. package/bundles/material-select.umd.js.map +1 -1
  88. package/bundles/material-select.umd.min.js +1 -1
  89. package/bundles/material-select.umd.min.js.map +1 -1
  90. package/bundles/material-sidenav.umd.js +5 -1
  91. package/bundles/material-sidenav.umd.js.map +1 -1
  92. package/bundles/material-sidenav.umd.min.js +1 -1
  93. package/bundles/material-sidenav.umd.min.js.map +1 -1
  94. package/bundles/material-slide-toggle.umd.js +8 -2
  95. package/bundles/material-slide-toggle.umd.js.map +1 -1
  96. package/bundles/material-slide-toggle.umd.min.js +1 -1
  97. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  98. package/bundles/material-slider.umd.js +1 -1
  99. package/bundles/material-slider.umd.js.map +1 -1
  100. package/bundles/material-slider.umd.min.js +1 -1
  101. package/bundles/material-slider.umd.min.js.map +1 -1
  102. package/bundles/material-snack-bar.umd.js +1 -1
  103. package/bundles/material-snack-bar.umd.js.map +1 -1
  104. package/bundles/material-snack-bar.umd.min.js +1 -1
  105. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  106. package/bundles/material-stepper.umd.js +30 -18
  107. package/bundles/material-stepper.umd.js.map +1 -1
  108. package/bundles/material-stepper.umd.min.js +1 -1
  109. package/bundles/material-stepper.umd.min.js.map +1 -1
  110. package/bundles/material-table.umd.js +31 -31
  111. package/bundles/material-table.umd.js.map +1 -1
  112. package/bundles/material-table.umd.min.js +1 -1
  113. package/bundles/material-table.umd.min.js.map +1 -1
  114. package/bundles/material-tabs.umd.js +38 -45
  115. package/bundles/material-tabs.umd.js.map +1 -1
  116. package/bundles/material-tabs.umd.min.js +2 -2
  117. package/bundles/material-tabs.umd.min.js.map +1 -1
  118. package/bundles/material-tooltip.umd.js +11 -11
  119. package/bundles/material-tooltip.umd.js.map +1 -1
  120. package/bundles/material-tooltip.umd.min.js +1 -1
  121. package/bundles/material-tooltip.umd.min.js.map +1 -1
  122. package/bundles/material-tree.umd.js +16 -4
  123. package/bundles/material-tree.umd.js.map +1 -1
  124. package/bundles/material-tree.umd.min.js +1 -1
  125. package/bundles/material-tree.umd.min.js.map +1 -1
  126. package/bundles/material.umd.js +692 -452
  127. package/bundles/material.umd.js.map +1 -1
  128. package/bundles/material.umd.min.js +21 -21
  129. package/bundles/material.umd.min.js.map +1 -1
  130. package/button/typings/index.metadata.json +1 -1
  131. package/button-toggle/typings/button-toggle.d.ts +4 -2
  132. package/button-toggle/typings/index.metadata.json +1 -1
  133. package/card/typings/index.metadata.json +1 -1
  134. package/checkbox/typings/checkbox.d.ts +2 -2
  135. package/checkbox/typings/index.metadata.json +1 -1
  136. package/chips/typings/chip-input.d.ts +9 -9
  137. package/chips/typings/chip-list.d.ts +12 -19
  138. package/chips/typings/chip.d.ts +3 -2
  139. package/chips/typings/index.metadata.json +1 -1
  140. package/core/typings/index.metadata.json +1 -1
  141. package/core/typings/line/line.d.ts +1 -1
  142. package/core/typings/option/option.d.ts +3 -4
  143. package/core/typings/ripple/ripple-renderer.d.ts +1 -1
  144. package/core/typings/ripple/ripple.d.ts +1 -1
  145. package/datepicker/typings/calendar-body.d.ts +1 -1
  146. package/datepicker/typings/datepicker-input.d.ts +3 -5
  147. package/datepicker/typings/datepicker-toggle.d.ts +3 -1
  148. package/datepicker/typings/datepicker.d.ts +1 -1
  149. package/datepicker/typings/index.metadata.json +1 -1
  150. package/dialog/typings/dialog-container.d.ts +1 -1
  151. package/dialog/typings/dialog-content-directives.d.ts +2 -2
  152. package/dialog/typings/index.metadata.json +1 -1
  153. package/esm2015/autocomplete.js +30 -2
  154. package/esm2015/autocomplete.js.map +1 -1
  155. package/esm2015/badge.js +8 -3
  156. package/esm2015/badge.js.map +1 -1
  157. package/esm2015/bottom-sheet.js.map +1 -1
  158. package/esm2015/button-toggle.js +14 -4
  159. package/esm2015/button-toggle.js.map +1 -1
  160. package/esm2015/button.js +2 -2
  161. package/esm2015/button.js.map +1 -1
  162. package/esm2015/card.js +1 -1
  163. package/esm2015/card.js.map +1 -1
  164. package/esm2015/checkbox.js +6 -1
  165. package/esm2015/checkbox.js.map +1 -1
  166. package/esm2015/chips.js +99 -76
  167. package/esm2015/chips.js.map +1 -1
  168. package/esm2015/core.js +10 -7
  169. package/esm2015/core.js.map +1 -1
  170. package/esm2015/datepicker.js +35 -30
  171. package/esm2015/datepicker.js.map +1 -1
  172. package/esm2015/dialog.js.map +1 -1
  173. package/esm2015/expansion.js +158 -66
  174. package/esm2015/expansion.js.map +1 -1
  175. package/esm2015/form-field.js +60 -49
  176. package/esm2015/form-field.js.map +1 -1
  177. package/esm2015/grid-list.js +7 -30
  178. package/esm2015/grid-list.js.map +1 -1
  179. package/esm2015/icon.js.map +1 -1
  180. package/esm2015/input.js +13 -7
  181. package/esm2015/input.js.map +1 -1
  182. package/esm2015/list.js +11 -13
  183. package/esm2015/list.js.map +1 -1
  184. package/esm2015/material.js +10 -10
  185. package/esm2015/material.js.map +1 -1
  186. package/esm2015/menu.js +18 -10
  187. package/esm2015/menu.js.map +1 -1
  188. package/esm2015/paginator.js +1 -1
  189. package/esm2015/paginator.js.map +1 -1
  190. package/esm2015/progress-bar.js +26 -7
  191. package/esm2015/progress-bar.js.map +1 -1
  192. package/esm2015/radio.js.map +1 -1
  193. package/esm2015/select.js +8 -3
  194. package/esm2015/select.js.map +1 -1
  195. package/esm2015/sidenav.js +5 -1
  196. package/esm2015/sidenav.js.map +1 -1
  197. package/esm2015/slide-toggle.js +7 -2
  198. package/esm2015/slide-toggle.js.map +1 -1
  199. package/esm2015/slider.js +1 -1
  200. package/esm2015/slider.js.map +1 -1
  201. package/esm2015/snack-bar.js +1 -1
  202. package/esm2015/snack-bar.js.map +1 -1
  203. package/esm2015/stepper.js +25 -21
  204. package/esm2015/stepper.js.map +1 -1
  205. package/esm2015/table.js +22 -32
  206. package/esm2015/table.js.map +1 -1
  207. package/esm2015/tabs.js +28 -41
  208. package/esm2015/tabs.js.map +1 -1
  209. package/esm2015/tooltip.js +9 -9
  210. package/esm2015/tooltip.js.map +1 -1
  211. package/esm2015/tree.js +13 -5
  212. package/esm2015/tree.js.map +1 -1
  213. package/esm5/autocomplete.es5.js +33 -2
  214. package/esm5/autocomplete.es5.js.map +1 -1
  215. package/esm5/badge.es5.js +7 -3
  216. package/esm5/badge.es5.js.map +1 -1
  217. package/esm5/bottom-sheet.es5.js.map +1 -1
  218. package/esm5/button-toggle.es5.js +13 -4
  219. package/esm5/button-toggle.es5.js.map +1 -1
  220. package/esm5/button.es5.js +2 -2
  221. package/esm5/button.es5.js.map +1 -1
  222. package/esm5/card.es5.js +1 -1
  223. package/esm5/card.es5.js.map +1 -1
  224. package/esm5/checkbox.es5.js +7 -1
  225. package/esm5/checkbox.es5.js.map +1 -1
  226. package/esm5/chips.es5.js +112 -93
  227. package/esm5/chips.es5.js.map +1 -1
  228. package/esm5/core.es5.js +10 -12
  229. package/esm5/core.es5.js.map +1 -1
  230. package/esm5/datepicker.es5.js +36 -39
  231. package/esm5/datepicker.es5.js.map +1 -1
  232. package/esm5/dialog.es5.js.map +1 -1
  233. package/esm5/expansion.es5.js +202 -78
  234. package/esm5/expansion.es5.js.map +1 -1
  235. package/esm5/form-field.es5.js +59 -47
  236. package/esm5/form-field.es5.js.map +1 -1
  237. package/esm5/grid-list.es5.js +7 -30
  238. package/esm5/grid-list.es5.js.map +1 -1
  239. package/esm5/icon.es5.js.map +1 -1
  240. package/esm5/input.es5.js +13 -7
  241. package/esm5/input.es5.js.map +1 -1
  242. package/esm5/list.es5.js +12 -14
  243. package/esm5/list.es5.js.map +1 -1
  244. package/esm5/material.es5.js +10 -10
  245. package/esm5/material.es5.js.map +1 -1
  246. package/esm5/menu.es5.js +17 -8
  247. package/esm5/menu.es5.js.map +1 -1
  248. package/esm5/paginator.es5.js +1 -1
  249. package/esm5/paginator.es5.js.map +1 -1
  250. package/esm5/progress-bar.es5.js +26 -10
  251. package/esm5/progress-bar.es5.js.map +1 -1
  252. package/esm5/radio.es5.js.map +1 -1
  253. package/esm5/select.es5.js +8 -3
  254. package/esm5/select.es5.js.map +1 -1
  255. package/esm5/sidenav.es5.js +5 -1
  256. package/esm5/sidenav.es5.js.map +1 -1
  257. package/esm5/slide-toggle.es5.js +8 -2
  258. package/esm5/slide-toggle.es5.js.map +1 -1
  259. package/esm5/slider.es5.js +1 -1
  260. package/esm5/slider.es5.js.map +1 -1
  261. package/esm5/snack-bar.es5.js +1 -1
  262. package/esm5/snack-bar.es5.js.map +1 -1
  263. package/esm5/stepper.es5.js +25 -17
  264. package/esm5/stepper.es5.js.map +1 -1
  265. package/esm5/table.es5.js +22 -30
  266. package/esm5/table.es5.js.map +1 -1
  267. package/esm5/tabs.es5.js +29 -36
  268. package/esm5/tabs.es5.js.map +1 -1
  269. package/esm5/tooltip.es5.js +11 -11
  270. package/esm5/tooltip.es5.js.map +1 -1
  271. package/esm5/tree.es5.js +13 -5
  272. package/esm5/tree.es5.js.map +1 -1
  273. package/expansion/typings/accordion-base.d.ts +30 -0
  274. package/expansion/typings/accordion.d.ts +18 -4
  275. package/expansion/typings/expansion-panel-header.d.ts +13 -2
  276. package/expansion/typings/expansion-panel.d.ts +10 -6
  277. package/expansion/typings/index.metadata.json +1 -1
  278. package/expansion/typings/public-api.d.ts +1 -0
  279. package/form-field/typings/form-field.d.ts +3 -5
  280. package/form-field/typings/index.metadata.json +1 -1
  281. package/grid-list/typings/grid-list.d.ts +1 -1
  282. package/grid-list/typings/grid-tile.d.ts +2 -2
  283. package/grid-list/typings/index.metadata.json +1 -1
  284. package/icon/typings/icon.d.ts +1 -1
  285. package/icon/typings/index.metadata.json +1 -1
  286. package/input/typings/autosize.d.ts +2 -1
  287. package/input/typings/index.metadata.json +1 -1
  288. package/input/typings/input.d.ts +2 -2
  289. package/list/typings/index.metadata.json +1 -1
  290. package/list/typings/list.d.ts +1 -1
  291. package/list/typings/selection-list.d.ts +4 -4
  292. package/menu/typings/index.d.ts +4 -4
  293. package/menu/typings/index.metadata.json +1 -1
  294. package/menu/typings/menu-content.d.ts +3 -0
  295. package/menu/typings/menu-directive.d.ts +1 -1
  296. package/menu/typings/menu-item.d.ts +1 -1
  297. package/menu/typings/menu-trigger.d.ts +1 -1
  298. package/package.json +7 -5
  299. package/paginator/typings/index.metadata.json +1 -1
  300. package/prebuilt-themes/deeppurple-amber.css +1 -1
  301. package/prebuilt-themes/indigo-pink.css +1 -1
  302. package/prebuilt-themes/pink-bluegrey.css +1 -1
  303. package/prebuilt-themes/purple-green.css +1 -1
  304. package/progress-bar/typings/index.metadata.json +1 -1
  305. package/progress-bar/typings/progress-bar.d.ts +17 -3
  306. package/radio/typings/radio.d.ts +1 -1
  307. package/sidenav/typings/drawer.d.ts +2 -2
  308. package/sidenav/typings/index.metadata.json +1 -1
  309. package/slide-toggle/typings/index.metadata.json +1 -1
  310. package/slide-toggle/typings/slide-toggle.d.ts +3 -3
  311. package/slider/typings/index.metadata.json +1 -1
  312. package/snack-bar/typings/index.metadata.json +1 -1
  313. package/snack-bar/typings/snack-bar-container.d.ts +1 -1
  314. package/stepper/typings/index.metadata.json +1 -1
  315. package/stepper/typings/step-header.d.ts +2 -2
  316. package/stepper/typings/step-label.d.ts +2 -10
  317. package/stepper/typings/stepper-button.d.ts +4 -2
  318. package/stepper/typings/stepper.d.ts +4 -3
  319. package/table/typings/cell.d.ts +8 -5
  320. package/table/typings/index.metadata.json +1 -1
  321. package/table/typings/row.d.ts +6 -3
  322. package/table/typings/table.d.ts +2 -8
  323. package/tabs/typings/index.d.ts +5 -5
  324. package/tabs/typings/index.metadata.json +1 -1
  325. package/tabs/typings/ink-bar.d.ts +1 -1
  326. package/tabs/typings/tab-body.d.ts +1 -1
  327. package/tabs/typings/tab-label.d.ts +2 -10
  328. package/tabs/typings/tab.d.ts +2 -4
  329. package/tooltip/typings/index.metadata.json +1 -1
  330. package/tooltip/typings/tooltip.d.ts +3 -3
  331. package/tree/typings/index.metadata.json +1 -1
  332. package/tree/typings/node.d.ts +6 -5
  333. package/tree/typings/padding.d.ts +2 -1
  334. package/tree/typings/toggle.d.ts +9 -1
  335. package/tree/typings/tree.d.ts +9 -1
  336. package/typings/autocomplete/autocomplete-trigger.d.ts +12 -1
  337. package/typings/autocomplete/autocomplete.d.ts +1 -1
  338. package/typings/autocomplete/index.d.ts +1 -1
  339. package/typings/autocomplete/index.metadata.json +1 -1
  340. package/typings/badge/badge.d.ts +6 -2
  341. package/typings/badge/index.metadata.json +1 -1
  342. package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  343. package/typings/bottom-sheet/index.metadata.json +1 -1
  344. package/typings/button/index.metadata.json +1 -1
  345. package/typings/button-toggle/button-toggle.d.ts +4 -2
  346. package/typings/button-toggle/index.metadata.json +1 -1
  347. package/typings/card/index.metadata.json +1 -1
  348. package/typings/checkbox/checkbox.d.ts +2 -2
  349. package/typings/checkbox/index.metadata.json +1 -1
  350. package/typings/chips/chip-input.d.ts +9 -9
  351. package/typings/chips/chip-list.d.ts +12 -19
  352. package/typings/chips/chip.d.ts +3 -2
  353. package/typings/chips/index.metadata.json +1 -1
  354. package/typings/core/index.metadata.json +1 -1
  355. package/typings/core/line/line.d.ts +1 -1
  356. package/typings/core/option/option.d.ts +3 -4
  357. package/typings/core/ripple/ripple-renderer.d.ts +1 -1
  358. package/typings/core/ripple/ripple.d.ts +1 -1
  359. package/typings/datepicker/calendar-body.d.ts +1 -1
  360. package/typings/datepicker/datepicker-input.d.ts +3 -5
  361. package/typings/datepicker/datepicker-toggle.d.ts +3 -1
  362. package/typings/datepicker/datepicker.d.ts +1 -1
  363. package/typings/datepicker/index.metadata.json +1 -1
  364. package/typings/dialog/dialog-container.d.ts +1 -1
  365. package/typings/dialog/dialog-content-directives.d.ts +2 -2
  366. package/typings/dialog/index.metadata.json +1 -1
  367. package/typings/esm5/autocomplete/autocomplete-trigger.d.ts +12 -1
  368. package/typings/esm5/autocomplete/autocomplete.d.ts +1 -1
  369. package/typings/esm5/autocomplete/index.d.ts +1 -1
  370. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  371. package/typings/esm5/badge/badge.d.ts +6 -2
  372. package/typings/esm5/badge/index.metadata.json +1 -1
  373. package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
  374. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  375. package/typings/esm5/button/index.metadata.json +1 -1
  376. package/typings/esm5/button-toggle/button-toggle.d.ts +4 -2
  377. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  378. package/typings/esm5/card/index.metadata.json +1 -1
  379. package/typings/esm5/checkbox/checkbox.d.ts +2 -2
  380. package/typings/esm5/checkbox/index.metadata.json +1 -1
  381. package/typings/esm5/chips/chip-input.d.ts +9 -9
  382. package/typings/esm5/chips/chip-list.d.ts +12 -19
  383. package/typings/esm5/chips/chip.d.ts +3 -2
  384. package/typings/esm5/chips/index.metadata.json +1 -1
  385. package/typings/esm5/core/index.metadata.json +1 -1
  386. package/typings/esm5/core/line/line.d.ts +1 -1
  387. package/typings/esm5/core/option/option.d.ts +3 -4
  388. package/typings/esm5/core/ripple/ripple-renderer.d.ts +1 -1
  389. package/typings/esm5/core/ripple/ripple.d.ts +1 -1
  390. package/typings/esm5/datepicker/calendar-body.d.ts +1 -1
  391. package/typings/esm5/datepicker/datepicker-input.d.ts +3 -5
  392. package/typings/esm5/datepicker/datepicker-toggle.d.ts +3 -1
  393. package/typings/esm5/datepicker/datepicker.d.ts +1 -1
  394. package/typings/esm5/datepicker/index.metadata.json +1 -1
  395. package/typings/esm5/dialog/dialog-container.d.ts +1 -1
  396. package/typings/esm5/dialog/dialog-content-directives.d.ts +2 -2
  397. package/typings/esm5/dialog/index.metadata.json +1 -1
  398. package/typings/esm5/expansion/accordion-base.d.ts +30 -0
  399. package/typings/esm5/expansion/accordion.d.ts +18 -4
  400. package/typings/esm5/expansion/expansion-panel-header.d.ts +13 -2
  401. package/typings/esm5/expansion/expansion-panel.d.ts +10 -6
  402. package/typings/esm5/expansion/index.metadata.json +1 -1
  403. package/typings/esm5/expansion/public-api.d.ts +1 -0
  404. package/typings/esm5/form-field/form-field.d.ts +3 -5
  405. package/typings/esm5/form-field/index.metadata.json +1 -1
  406. package/typings/esm5/grid-list/grid-list.d.ts +1 -1
  407. package/typings/esm5/grid-list/grid-tile.d.ts +2 -2
  408. package/typings/esm5/grid-list/index.metadata.json +1 -1
  409. package/typings/esm5/icon/icon.d.ts +1 -1
  410. package/typings/esm5/icon/index.metadata.json +1 -1
  411. package/typings/esm5/index.metadata.json +1 -1
  412. package/typings/esm5/input/autosize.d.ts +2 -1
  413. package/typings/esm5/input/index.metadata.json +1 -1
  414. package/typings/esm5/input/input.d.ts +2 -2
  415. package/typings/esm5/list/index.metadata.json +1 -1
  416. package/typings/esm5/list/list.d.ts +1 -1
  417. package/typings/esm5/list/selection-list.d.ts +4 -4
  418. package/typings/esm5/menu/index.d.ts +4 -4
  419. package/typings/esm5/menu/index.metadata.json +1 -1
  420. package/typings/esm5/menu/menu-content.d.ts +3 -0
  421. package/typings/esm5/menu/menu-directive.d.ts +1 -1
  422. package/typings/esm5/menu/menu-item.d.ts +1 -1
  423. package/typings/esm5/menu/menu-trigger.d.ts +1 -1
  424. package/typings/esm5/paginator/index.metadata.json +1 -1
  425. package/typings/esm5/progress-bar/index.metadata.json +1 -1
  426. package/typings/esm5/progress-bar/progress-bar.d.ts +17 -3
  427. package/typings/esm5/radio/radio.d.ts +1 -1
  428. package/typings/esm5/sidenav/drawer.d.ts +2 -2
  429. package/typings/esm5/sidenav/index.metadata.json +1 -1
  430. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  431. package/typings/esm5/slide-toggle/slide-toggle.d.ts +3 -3
  432. package/typings/esm5/slider/index.metadata.json +1 -1
  433. package/typings/esm5/snack-bar/index.metadata.json +1 -1
  434. package/typings/esm5/snack-bar/snack-bar-container.d.ts +1 -1
  435. package/typings/esm5/stepper/index.metadata.json +1 -1
  436. package/typings/esm5/stepper/step-header.d.ts +2 -2
  437. package/typings/esm5/stepper/step-label.d.ts +2 -10
  438. package/typings/esm5/stepper/stepper-button.d.ts +4 -2
  439. package/typings/esm5/stepper/stepper.d.ts +4 -3
  440. package/typings/esm5/table/cell.d.ts +8 -5
  441. package/typings/esm5/table/index.metadata.json +1 -1
  442. package/typings/esm5/table/row.d.ts +6 -3
  443. package/typings/esm5/table/table.d.ts +2 -8
  444. package/typings/esm5/tabs/index.d.ts +5 -5
  445. package/typings/esm5/tabs/index.metadata.json +1 -1
  446. package/typings/esm5/tabs/ink-bar.d.ts +1 -1
  447. package/typings/esm5/tabs/tab-body.d.ts +1 -1
  448. package/typings/esm5/tabs/tab-label.d.ts +2 -10
  449. package/typings/esm5/tabs/tab.d.ts +2 -4
  450. package/typings/esm5/tooltip/index.metadata.json +1 -1
  451. package/typings/esm5/tooltip/tooltip.d.ts +3 -3
  452. package/typings/esm5/tree/index.metadata.json +1 -1
  453. package/typings/esm5/tree/node.d.ts +6 -5
  454. package/typings/esm5/tree/padding.d.ts +2 -1
  455. package/typings/esm5/tree/toggle.d.ts +9 -1
  456. package/typings/esm5/tree/tree.d.ts +9 -1
  457. package/typings/expansion/accordion-base.d.ts +30 -0
  458. package/typings/expansion/accordion.d.ts +18 -4
  459. package/typings/expansion/expansion-panel-header.d.ts +13 -2
  460. package/typings/expansion/expansion-panel.d.ts +10 -6
  461. package/typings/expansion/index.metadata.json +1 -1
  462. package/typings/expansion/public-api.d.ts +1 -0
  463. package/typings/form-field/form-field.d.ts +3 -5
  464. package/typings/form-field/index.metadata.json +1 -1
  465. package/typings/grid-list/grid-list.d.ts +1 -1
  466. package/typings/grid-list/grid-tile.d.ts +2 -2
  467. package/typings/grid-list/index.metadata.json +1 -1
  468. package/typings/icon/icon.d.ts +1 -1
  469. package/typings/icon/index.metadata.json +1 -1
  470. package/typings/index.metadata.json +1 -1
  471. package/typings/input/autosize.d.ts +2 -1
  472. package/typings/input/index.metadata.json +1 -1
  473. package/typings/input/input.d.ts +2 -2
  474. package/typings/list/index.metadata.json +1 -1
  475. package/typings/list/list.d.ts +1 -1
  476. package/typings/list/selection-list.d.ts +4 -4
  477. package/typings/menu/index.d.ts +4 -4
  478. package/typings/menu/index.metadata.json +1 -1
  479. package/typings/menu/menu-content.d.ts +3 -0
  480. package/typings/menu/menu-directive.d.ts +1 -1
  481. package/typings/menu/menu-item.d.ts +1 -1
  482. package/typings/menu/menu-trigger.d.ts +1 -1
  483. package/typings/paginator/index.metadata.json +1 -1
  484. package/typings/progress-bar/index.metadata.json +1 -1
  485. package/typings/progress-bar/progress-bar.d.ts +17 -3
  486. package/typings/radio/radio.d.ts +1 -1
  487. package/typings/sidenav/drawer.d.ts +2 -2
  488. package/typings/sidenav/index.metadata.json +1 -1
  489. package/typings/slide-toggle/index.metadata.json +1 -1
  490. package/typings/slide-toggle/slide-toggle.d.ts +3 -3
  491. package/typings/slider/index.metadata.json +1 -1
  492. package/typings/snack-bar/index.metadata.json +1 -1
  493. package/typings/snack-bar/snack-bar-container.d.ts +1 -1
  494. package/typings/stepper/index.metadata.json +1 -1
  495. package/typings/stepper/step-header.d.ts +2 -2
  496. package/typings/stepper/step-label.d.ts +2 -10
  497. package/typings/stepper/stepper-button.d.ts +4 -2
  498. package/typings/stepper/stepper.d.ts +4 -3
  499. package/typings/table/cell.d.ts +8 -5
  500. package/typings/table/index.metadata.json +1 -1
  501. package/typings/table/row.d.ts +6 -3
  502. package/typings/table/table.d.ts +2 -8
  503. package/typings/tabs/index.d.ts +5 -5
  504. package/typings/tabs/index.metadata.json +1 -1
  505. package/typings/tabs/ink-bar.d.ts +1 -1
  506. package/typings/tabs/tab-body.d.ts +1 -1
  507. package/typings/tabs/tab-label.d.ts +2 -10
  508. package/typings/tabs/tab.d.ts +2 -4
  509. package/typings/tooltip/index.metadata.json +1 -1
  510. package/typings/tooltip/tooltip.d.ts +3 -3
  511. package/typings/tree/index.metadata.json +1 -1
  512. package/typings/tree/node.d.ts +6 -5
  513. package/typings/tree/padding.d.ts +2 -1
  514. package/typings/tree/toggle.d.ts +9 -1
  515. package/typings/tree/tree.d.ts +9 -1
  516. package/grid-list/typings/grid-list-measure.d.ts +0 -17
  517. package/typings/esm5/grid-list/grid-list-measure.d.ts +0 -17
  518. package/typings/grid-list/grid-list-measure.d.ts +0 -17
@@ -6,10 +6,10 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/cdk/keycodes'), require('@angular/cdk/platform'), require('@angular/core'), require('@angular/material/core'), require('rxjs'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk/collections'), require('@angular/forms'), require('@angular/material/form-field'), require('rxjs/operators')) :
10
- typeof define === 'function' && define.amd ? define('@angular/material/chips', ['exports', '@angular/cdk/coercion', '@angular/cdk/keycodes', '@angular/cdk/platform', '@angular/core', '@angular/material/core', 'rxjs', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk/collections', '@angular/forms', '@angular/material/form-field', 'rxjs/operators'], factory) :
11
- (factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.chips = {}),global.ng.cdk.coercion,global.ng.cdk.keycodes,global.ng.cdk.platform,global.ng.core,global.ng.material.core,global.rxjs,global.ng.cdk.a11y,global.ng.cdk.bidi,global.ng.cdk.collections,global.ng.forms,global.ng.material.formField,global.rxjs.operators));
12
- }(this, (function (exports,coercion,keycodes,platform,core,core$1,rxjs,a11y,bidi,collections,forms,formField,operators) { 'use strict';
9
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/cdk/keycodes'), require('@angular/cdk/platform'), require('@angular/core'), require('@angular/material/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk/collections'), require('@angular/forms'), require('@angular/material/form-field')) :
10
+ typeof define === 'function' && define.amd ? define('@angular/material/chips', ['exports', '@angular/cdk/coercion', '@angular/cdk/keycodes', '@angular/cdk/platform', '@angular/core', '@angular/material/core', 'rxjs', 'rxjs/operators', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk/collections', '@angular/forms', '@angular/material/form-field'], factory) :
11
+ (factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.chips = {}),global.ng.cdk.coercion,global.ng.cdk.keycodes,global.ng.cdk.platform,global.ng.core,global.ng.material.core,global.rxjs,global.rxjs.operators,global.ng.cdk.a11y,global.ng.cdk.bidi,global.ng.cdk.collections,global.ng.forms,global.ng.material.formField));
12
+ }(this, (function (exports,coercion,keycodes,platform,core,core$1,rxjs,operators,a11y,bidi,collections,forms,formField) { 'use strict';
13
13
 
14
14
  /*! *****************************************************************************
15
15
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -108,9 +108,10 @@ var MatChipTrailingIcon = /** @class */ (function () {
108
108
  */
109
109
  var MatChip = /** @class */ (function (_super) {
110
110
  __extends(MatChip, _super);
111
- function MatChip(_elementRef, ngZone, platform$$1, globalOptions) {
111
+ function MatChip(_elementRef, _ngZone, platform$$1, globalOptions) {
112
112
  var _this = _super.call(this, _elementRef) || this;
113
113
  _this._elementRef = _elementRef;
114
+ _this._ngZone = _ngZone;
114
115
  /**
115
116
  * Whether the ripples are globally disabled through the RippleGlobalOptions
116
117
  */
@@ -152,7 +153,7 @@ var MatChip = /** @class */ (function (_super) {
152
153
  */
153
154
  _this.removed = new core.EventEmitter();
154
155
  _this._addHostClassName();
155
- _this._chipRipple = new core$1.RippleRenderer(_this, ngZone, _elementRef, platform$$1);
156
+ _this._chipRipple = new core$1.RippleRenderer(_this, _ngZone, _elementRef, platform$$1);
156
157
  _this._chipRipple.setupTriggerEvents(_elementRef.nativeElement);
157
158
  if (globalOptions) {
158
159
  _this._ripplesGloballyDisabled = !!globalOptions.disabled;
@@ -469,8 +470,20 @@ var MatChip = /** @class */ (function (_super) {
469
470
  * @return {?}
470
471
  */
471
472
  function () {
472
- this._hasFocus = false;
473
- this._onBlur.next({ chip: this });
473
+ var _this = this;
474
+ // When animations are enabled, Angular may end up removing the chip from the DOM a little
475
+ // earlier than usual, causing it to be blurred and throwing off the logic in the chip list
476
+ // that moves focus not the next item. To work around the issue, we defer marking the chip
477
+ // as not focused until the next time the zone stabilizes.
478
+ this._ngZone.onStable
479
+ .asObservable()
480
+ .pipe(operators.take(1))
481
+ .subscribe(function () {
482
+ _this._ngZone.run(function () {
483
+ _this._hasFocus = false;
484
+ _this._onBlur.next({ chip: _this });
485
+ });
486
+ });
474
487
  };
475
488
  MatChip.decorators = [
476
489
  { type: core.Directive, args: [{
@@ -536,23 +549,31 @@ var MatChipRemove = /** @class */ (function () {
536
549
  /** Calls the parent chip's public `remove()` method if applicable. */
537
550
  /**
538
551
  * Calls the parent chip's public `remove()` method if applicable.
552
+ * @param {?} event
539
553
  * @return {?}
540
554
  */
541
555
  MatChipRemove.prototype._handleClick = /**
542
556
  * Calls the parent chip's public `remove()` method if applicable.
557
+ * @param {?} event
543
558
  * @return {?}
544
559
  */
545
- function () {
560
+ function (event) {
546
561
  if (this._parentChip.removable) {
547
562
  this._parentChip.remove();
548
563
  }
564
+ // We need to stop event propagation because otherwise the event will bubble up to the
565
+ // form field and cause the `onContainerClick` method to be invoked. This method would then
566
+ // reset the focused chip that has been focused after chip removal. Usually the parent
567
+ // the parent click listener of the `MatChip` would prevent propagation, but it can happen
568
+ // that the chip is being removed before the event bubbles up.
569
+ event.stopPropagation();
549
570
  };
550
571
  MatChipRemove.decorators = [
551
572
  { type: core.Directive, args: [{
552
573
  selector: '[matChipRemove]',
553
574
  host: {
554
575
  'class': 'mat-chip-remove mat-chip-trailing-icon',
555
- '(click)': '_handleClick()',
576
+ '(click)': '_handleClick($event)',
556
577
  }
557
578
  },] },
558
579
  ];
@@ -625,17 +646,15 @@ var MatChipList = /** @class */ (function (_super) {
625
646
  */
626
647
  _this.controlType = 'mat-chip-list';
627
648
  /**
628
- * When a chip is destroyed, we track the index so we can focus the appropriate next chip.
649
+ * When a chip is destroyed, we store the index of the destroyed chip until the chips
650
+ * query list notifies about the update. This is necessary because we cannot determine an
651
+ * appropriate chip that should receive focus until the array of chips updated completely.
629
652
  */
630
- _this._lastDestroyedIndex = null;
653
+ _this._lastDestroyedChipIndex = null;
631
654
  /**
632
- * Track which chips we're listening to for focus/destruction.
655
+ * Subject that emits when the component has been destroyed.
633
656
  */
634
- _this._chipSet = new WeakMap();
635
- /**
636
- * Subscription to tabbing out from the chip list.
637
- */
638
- _this._tabOutSubscription = rxjs.Subscription.EMPTY;
657
+ _this._destroyed = new rxjs.Subject();
639
658
  /**
640
659
  * Uid of the chip list
641
660
  */
@@ -866,7 +885,13 @@ var MatChipList = /** @class */ (function (_super) {
866
885
  * @param {?} value
867
886
  * @return {?}
868
887
  */
869
- function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
888
+ function (value) {
889
+ var _this = this;
890
+ this._disabled = coercion.coerceBooleanProperty(value);
891
+ if (this.chips) {
892
+ this.chips.forEach(function (chip) { return chip.disabled = _this._disabled; });
893
+ }
894
+ },
870
895
  enumerable: true,
871
896
  configurable: true
872
897
  });
@@ -965,12 +990,12 @@ var MatChipList = /** @class */ (function (_super) {
965
990
  .withHorizontalOrientation(this._dir ? this._dir.value : 'ltr');
966
991
  // Prevents the chip list from capturing focus and redirecting
967
992
  // it back to the first chip when the user tabs out.
968
- this._tabOutSubscription = this._keyManager.tabOut.subscribe(function () {
993
+ this._keyManager.tabOut.pipe(operators.takeUntil(this._destroyed)).subscribe(function () {
969
994
  _this._tabIndex = -1;
970
995
  setTimeout(function () { return _this._tabIndex = _this._userTabIndex || 0; });
971
996
  });
972
997
  // When the list changes, re-subscribe
973
- this._changeSubscription = this.chips.changes.pipe(operators.startWith(null)).subscribe(function () {
998
+ this.chips.changes.pipe(operators.startWith(null), operators.takeUntil(this._destroyed)).subscribe(function () {
974
999
  _this._resetChips();
975
1000
  // Reset chips selected/deselected status
976
1001
  // Reset chips selected/deselected status
@@ -1015,15 +1040,10 @@ var MatChipList = /** @class */ (function (_super) {
1015
1040
  * @return {?}
1016
1041
  */
1017
1042
  function () {
1018
- this._tabOutSubscription.unsubscribe();
1019
- if (this._changeSubscription) {
1020
- this._changeSubscription.unsubscribe();
1021
- }
1022
- if (this._chipRemoveSubscription) {
1023
- this._chipRemoveSubscription.unsubscribe();
1024
- }
1025
- this._dropSubscriptions();
1043
+ this._destroyed.next();
1044
+ this._destroyed.complete();
1026
1045
  this.stateChanges.complete();
1046
+ this._dropSubscriptions();
1027
1047
  };
1028
1048
  /** Associates an HTML input element with this chip list. */
1029
1049
  /**
@@ -1105,7 +1125,6 @@ var MatChipList = /** @class */ (function (_super) {
1105
1125
  */
1106
1126
  function (isDisabled) {
1107
1127
  this.disabled = isDisabled;
1108
- this._elementRef.nativeElement.disabled = isDisabled;
1109
1128
  this.stateChanges.next();
1110
1129
  };
1111
1130
  /**
@@ -1138,6 +1157,9 @@ var MatChipList = /** @class */ (function (_super) {
1138
1157
  * @return {?}
1139
1158
  */
1140
1159
  function () {
1160
+ if (this.disabled) {
1161
+ return;
1162
+ }
1141
1163
  // TODO: ARIA says this should focus the first `selected` chip if any are selected.
1142
1164
  // Focus on first element if there's no chipInput inside chip-list
1143
1165
  if (this._chipInput && this._chipInput.focused) {
@@ -1187,7 +1209,17 @@ var MatChipList = /** @class */ (function (_super) {
1187
1209
  event.preventDefault();
1188
1210
  }
1189
1211
  else if (target && target.classList.contains('mat-chip')) {
1190
- this._keyManager.onKeydown(event);
1212
+ if (event.keyCode === keycodes.HOME) {
1213
+ this._keyManager.setFirstItemActive();
1214
+ event.preventDefault();
1215
+ }
1216
+ else if (event.keyCode === keycodes.END) {
1217
+ this._keyManager.setLastItemActive();
1218
+ event.preventDefault();
1219
+ }
1220
+ else {
1221
+ this._keyManager.onKeydown(event);
1222
+ }
1191
1223
  this.stateChanges.next();
1192
1224
  }
1193
1225
  };
@@ -1207,73 +1239,25 @@ var MatChipList = /** @class */ (function (_super) {
1207
1239
  this._tabIndex = this._userTabIndex || (this.chips.length === 0 ? -1 : 0);
1208
1240
  };
1209
1241
  /**
1210
- * Update key manager's active item when chip is deleted.
1211
- * If the deleted chip is the last chip in chip list, focus the new last chip.
1212
- * Otherwise focus the next chip in the list.
1213
- * Save `_lastDestroyedIndex` so we can set the correct focus.
1214
- */
1215
- /**
1216
- * Update key manager's active item when chip is deleted.
1217
- * If the deleted chip is the last chip in chip list, focus the new last chip.
1218
- * Otherwise focus the next chip in the list.
1219
- * Save `_lastDestroyedIndex` so we can set the correct focus.
1220
- * @param {?} chip
1221
- * @return {?}
1222
- */
1223
- MatChipList.prototype._updateKeyManager = /**
1224
- * Update key manager's active item when chip is deleted.
1225
- * If the deleted chip is the last chip in chip list, focus the new last chip.
1226
- * Otherwise focus the next chip in the list.
1227
- * Save `_lastDestroyedIndex` so we can set the correct focus.
1228
- * @param {?} chip
1229
- * @return {?}
1230
- */
1231
- function (chip) {
1232
- var /** @type {?} */ chipIndex = this.chips.toArray().indexOf(chip);
1233
- if (this._isValidIndex(chipIndex)) {
1234
- if (chip._hasFocus) {
1235
- // Check whether the chip is not the last item
1236
- if (chipIndex < this.chips.length - 1) {
1237
- this._keyManager.setActiveItem(chipIndex);
1238
- }
1239
- else if (chipIndex - 1 >= 0) {
1240
- this._keyManager.setActiveItem(chipIndex - 1);
1241
- }
1242
- }
1243
- if (this._keyManager.activeItemIndex === chipIndex) {
1244
- this._lastDestroyedIndex = chipIndex;
1245
- }
1246
- }
1247
- };
1248
- /**
1249
- * Checks to see if a focus chip was recently destroyed so that we can refocus the next closest
1250
- * one.
1242
+ * If the amount of chips changed, we need to update the
1243
+ * key manager state and focus the next closest chip.
1251
1244
  */
1252
1245
  /**
1253
- * Checks to see if a focus chip was recently destroyed so that we can refocus the next closest
1254
- * one.
1246
+ * If the amount of chips changed, we need to update the
1247
+ * key manager state and focus the next closest chip.
1255
1248
  * @return {?}
1256
1249
  */
1257
1250
  MatChipList.prototype._updateFocusForDestroyedChips = /**
1258
- * Checks to see if a focus chip was recently destroyed so that we can refocus the next closest
1259
- * one.
1251
+ * If the amount of chips changed, we need to update the
1252
+ * key manager state and focus the next closest chip.
1260
1253
  * @return {?}
1261
1254
  */
1262
1255
  function () {
1263
- var /** @type {?} */ chipsArray = this.chips.toArray();
1264
- if (this._lastDestroyedIndex != null && chipsArray.length > 0 && (this.focused ||
1265
- (this._keyManager.activeItem && chipsArray.indexOf(this._keyManager.activeItem) === -1))) {
1266
- // Check whether the destroyed chip was the last item
1267
- var /** @type {?} */ newFocusIndex = Math.min(this._lastDestroyedIndex, chipsArray.length - 1);
1268
- this._keyManager.setActiveItem(newFocusIndex);
1269
- var /** @type {?} */ focusChip = this._keyManager.activeItem;
1270
- // Focus the chip
1271
- if (focusChip) {
1272
- focusChip.focus();
1273
- }
1256
+ if (this._lastDestroyedChipIndex != null && this.chips.length) {
1257
+ var /** @type {?} */ newChipIndex = Math.min(this._lastDestroyedChipIndex, this.chips.length - 1);
1258
+ this._keyManager.setActiveItem(newChipIndex);
1274
1259
  }
1275
- // Reset our destroyed index
1276
- this._lastDestroyedIndex = null;
1260
+ this._lastDestroyedChipIndex = null;
1277
1261
  };
1278
1262
  /**
1279
1263
  * Utility to ensure all indexes are valid.
@@ -1516,6 +1500,10 @@ var MatChipList = /** @class */ (function (_super) {
1516
1500
  this._chipSelectionSubscription.unsubscribe();
1517
1501
  this._chipSelectionSubscription = null;
1518
1502
  }
1503
+ if (this._chipRemoveSubscription) {
1504
+ this._chipRemoveSubscription.unsubscribe();
1505
+ this._chipRemoveSubscription = null;
1506
+ }
1519
1507
  };
1520
1508
  /**
1521
1509
  * Listens to user-generated selection events on each chip.
@@ -1575,7 +1563,14 @@ var MatChipList = /** @class */ (function (_super) {
1575
1563
  function () {
1576
1564
  var _this = this;
1577
1565
  this._chipRemoveSubscription = this.chipRemoveChanges.subscribe(function (event) {
1578
- _this._updateKeyManager(event.chip);
1566
+ var /** @type {?} */ chip = event.chip;
1567
+ var /** @type {?} */ chipIndex = _this.chips.toArray().indexOf(event.chip);
1568
+ // In case the chip that will be removed is currently focused, we temporarily store
1569
+ // the index in order to be able to determine an appropriate sibling chip that will
1570
+ // receive focus.
1571
+ if (_this._isValidIndex(chipIndex) && chip._hasFocus) {
1572
+ _this._lastDestroyedChipIndex = chipIndex;
1573
+ }
1579
1574
  });
1580
1575
  };
1581
1576
  MatChipList.decorators = [
@@ -1583,7 +1578,7 @@ var MatChipList = /** @class */ (function (_super) {
1583
1578
  template: "<div class=\"mat-chip-list-wrapper\"><ng-content></ng-content></div>",
1584
1579
  exportAs: 'matChipList',
1585
1580
  host: {
1586
- '[attr.tabindex]': '_tabIndex',
1581
+ '[attr.tabindex]': 'disabled ? null : _tabIndex',
1587
1582
  '[attr.aria-describedby]': '_ariaDescribedby || null',
1588
1583
  '[attr.aria-required]': 'required.toString()',
1589
1584
  '[attr.aria-disabled]': 'disabled.toString()',
@@ -1601,7 +1596,7 @@ var MatChipList = /** @class */ (function (_super) {
1601
1596
  '[id]': '_uid',
1602
1597
  },
1603
1598
  providers: [{ provide: formField.MatFormFieldControl, useExisting: MatChipList }],
1604
- styles: [".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:24px;align-items:center;cursor:default}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);outline:0}@media screen and (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:7px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:7px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:7px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:7px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:32px;height:32px;margin-right:8px;margin-left:0}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:0}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:7px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:7px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden}input.mat-chip-input{width:150px;margin:3px;flex:1 0 150px}"],
1599
+ styles: [".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:24px;align-items:center;cursor:default}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);outline:0}@media screen and (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:7px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:7px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:7px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:7px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:32px;height:32px;margin-right:8px;margin-left:0}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:0}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:7px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:7px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:3px;flex:1 0 150px}"],
1605
1600
  encapsulation: core.ViewEncapsulation.None,
1606
1601
  changeDetection: core.ChangeDetectionStrategy.OnPush
1607
1602
  },] },
@@ -1665,14 +1660,13 @@ var MatChipInput = /** @class */ (function () {
1665
1660
  this.chipEnd = new core.EventEmitter();
1666
1661
  /**
1667
1662
  * The input's placeholder text.
1668
- * @deprecated Bind to the `placeholder` attribute directly.
1669
- * \@breaking-change 7.0.0
1670
1663
  */
1671
1664
  this.placeholder = '';
1672
1665
  /**
1673
1666
  * Unique id for the input.
1674
1667
  */
1675
1668
  this.id = "mat-chip-list-input-" + nextUniqueId$1++;
1669
+ this._disabled = false;
1676
1670
  this._inputElement = /** @type {?} */ (this._elementRef.nativeElement);
1677
1671
  }
1678
1672
  Object.defineProperty(MatChipInput.prototype, "chipList", {
@@ -1704,6 +1698,20 @@ var MatChipInput = /** @class */ (function () {
1704
1698
  enumerable: true,
1705
1699
  configurable: true
1706
1700
  });
1701
+ Object.defineProperty(MatChipInput.prototype, "disabled", {
1702
+ get: /**
1703
+ * Whether the input is disabled.
1704
+ * @return {?}
1705
+ */
1706
+ function () { return this._disabled || (this._chipList && this._chipList.disabled); },
1707
+ set: /**
1708
+ * @param {?} value
1709
+ * @return {?}
1710
+ */
1711
+ function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
1712
+ enumerable: true,
1713
+ configurable: true
1714
+ });
1707
1715
  Object.defineProperty(MatChipInput.prototype, "empty", {
1708
1716
  /** Whether the input is empty. */
1709
1717
  get: /**
@@ -1714,6 +1722,15 @@ var MatChipInput = /** @class */ (function () {
1714
1722
  enumerable: true,
1715
1723
  configurable: true
1716
1724
  });
1725
+ /**
1726
+ * @return {?}
1727
+ */
1728
+ MatChipInput.prototype.ngOnChanges = /**
1729
+ * @return {?}
1730
+ */
1731
+ function () {
1732
+ this._chipList.stateChanges.next();
1733
+ };
1717
1734
  /** Utility method to make host definition/tests more clear. */
1718
1735
  /**
1719
1736
  * Utility method to make host definition/tests more clear.
@@ -1811,6 +1828,7 @@ var MatChipInput = /** @class */ (function () {
1811
1828
  '(focus)': '_focus()',
1812
1829
  '(input)': '_onInput()',
1813
1830
  '[id]': 'id',
1831
+ '[attr.disabled]': 'disabled || null',
1814
1832
  '[attr.placeholder]': 'placeholder || null',
1815
1833
  }
1816
1834
  },] },
@@ -1827,6 +1845,7 @@ var MatChipInput = /** @class */ (function () {
1827
1845
  "chipEnd": [{ type: core.Output, args: ['matChipInputTokenEnd',] },],
1828
1846
  "placeholder": [{ type: core.Input },],
1829
1847
  "id": [{ type: core.Input },],
1848
+ "disabled": [{ type: core.Input },],
1830
1849
  };
1831
1850
  return MatChipInput;
1832
1851
  }());