@angular/material 15.2.0-next.3 → 15.2.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 (510) hide show
  1. package/chips/index.d.ts +2 -0
  2. package/core/theming/_theming.scss +22 -1
  3. package/core/tokens/_token-utils.scss +80 -0
  4. package/core/tokens/m2/mdc/_list.scss +220 -0
  5. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  6. package/esm2020/autocomplete/autocomplete-trigger.mjs +7 -7
  7. package/esm2020/autocomplete/autocomplete.mjs +7 -7
  8. package/esm2020/autocomplete/module.mjs +5 -5
  9. package/esm2020/badge/badge-module.mjs +5 -5
  10. package/esm2020/badge/badge.mjs +4 -4
  11. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
  12. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  13. package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
  14. package/esm2020/button/button-base.mjs +7 -7
  15. package/esm2020/button/button.mjs +7 -7
  16. package/esm2020/button/fab.mjs +13 -13
  17. package/esm2020/button/icon-button.mjs +7 -7
  18. package/esm2020/button/module.mjs +5 -5
  19. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  20. package/esm2020/button-toggle/button-toggle.mjs +7 -7
  21. package/esm2020/card/card.mjs +43 -43
  22. package/esm2020/card/module.mjs +5 -5
  23. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  24. package/esm2020/checkbox/checkbox.mjs +7 -7
  25. package/esm2020/checkbox/module.mjs +9 -9
  26. package/esm2020/chips/chip-action.mjs +6 -5
  27. package/esm2020/chips/chip-edit-input.mjs +4 -4
  28. package/esm2020/chips/chip-grid.mjs +4 -4
  29. package/esm2020/chips/chip-icons.mjs +10 -10
  30. package/esm2020/chips/chip-input.mjs +4 -4
  31. package/esm2020/chips/chip-listbox.mjs +4 -4
  32. package/esm2020/chips/chip-option.mjs +4 -4
  33. package/esm2020/chips/chip-row.mjs +4 -4
  34. package/esm2020/chips/chip-set.mjs +4 -4
  35. package/esm2020/chips/chip.mjs +4 -4
  36. package/esm2020/chips/module.mjs +5 -5
  37. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  38. package/esm2020/core/datetime/index.mjs +9 -9
  39. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  40. package/esm2020/core/error/error-options.mjs +7 -7
  41. package/esm2020/core/line/line.mjs +8 -8
  42. package/esm2020/core/option/index.mjs +5 -5
  43. package/esm2020/core/option/optgroup.mjs +7 -7
  44. package/esm2020/core/option/option.mjs +7 -7
  45. package/esm2020/core/ripple/index.mjs +5 -5
  46. package/esm2020/core/ripple/ripple.mjs +4 -4
  47. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  48. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  49. package/esm2020/core/version.mjs +1 -1
  50. package/esm2020/datepicker/calendar-body.mjs +4 -4
  51. package/esm2020/datepicker/calendar.mjs +7 -7
  52. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  53. package/esm2020/datepicker/date-range-input.mjs +4 -4
  54. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  55. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  56. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  57. package/esm2020/datepicker/datepicker-actions.mjs +10 -10
  58. package/esm2020/datepicker/datepicker-base.mjs +7 -7
  59. package/esm2020/datepicker/datepicker-input-base.mjs +4 -4
  60. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  61. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  62. package/esm2020/datepicker/datepicker-module.mjs +5 -5
  63. package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
  64. package/esm2020/datepicker/datepicker.mjs +4 -4
  65. package/esm2020/datepicker/month-view.mjs +4 -4
  66. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  67. package/esm2020/datepicker/year-view.mjs +4 -4
  68. package/esm2020/dialog/dialog-container.mjs +7 -7
  69. package/esm2020/dialog/dialog-content-directives.mjs +13 -13
  70. package/esm2020/dialog/dialog.mjs +7 -7
  71. package/esm2020/dialog/module.mjs +5 -5
  72. package/esm2020/divider/divider-module.mjs +5 -5
  73. package/esm2020/divider/divider.mjs +4 -4
  74. package/esm2020/expansion/accordion.mjs +4 -4
  75. package/esm2020/expansion/expansion-module.mjs +5 -5
  76. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  77. package/esm2020/expansion/expansion-panel-header.mjs +10 -10
  78. package/esm2020/expansion/expansion-panel.mjs +7 -7
  79. package/esm2020/form-field/directives/error.mjs +4 -4
  80. package/esm2020/form-field/directives/floating-label.mjs +4 -4
  81. package/esm2020/form-field/directives/hint.mjs +4 -4
  82. package/esm2020/form-field/directives/label.mjs +4 -4
  83. package/esm2020/form-field/directives/line-ripple.mjs +4 -4
  84. package/esm2020/form-field/directives/notched-outline.mjs +4 -4
  85. package/esm2020/form-field/directives/prefix.mjs +4 -4
  86. package/esm2020/form-field/directives/suffix.mjs +4 -4
  87. package/esm2020/form-field/form-field-control.mjs +4 -4
  88. package/esm2020/form-field/form-field.mjs +4 -4
  89. package/esm2020/form-field/module.mjs +5 -5
  90. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  91. package/esm2020/grid-list/grid-list.mjs +4 -4
  92. package/esm2020/grid-list/grid-tile.mjs +16 -16
  93. package/esm2020/icon/icon-module.mjs +5 -5
  94. package/esm2020/icon/icon-registry.mjs +4 -4
  95. package/esm2020/icon/icon.mjs +4 -4
  96. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  97. package/esm2020/input/input.mjs +4 -4
  98. package/esm2020/input/module.mjs +5 -5
  99. package/esm2020/legacy-autocomplete/autocomplete-module.mjs +5 -5
  100. package/esm2020/legacy-autocomplete/autocomplete-origin.mjs +4 -4
  101. package/esm2020/legacy-autocomplete/autocomplete-trigger.mjs +4 -4
  102. package/esm2020/legacy-autocomplete/autocomplete.mjs +4 -4
  103. package/esm2020/legacy-button/button-module.mjs +5 -5
  104. package/esm2020/legacy-button/button.mjs +7 -7
  105. package/esm2020/legacy-card/card-module.mjs +5 -5
  106. package/esm2020/legacy-card/card.mjs +43 -43
  107. package/esm2020/legacy-checkbox/checkbox-module.mjs +5 -5
  108. package/esm2020/legacy-checkbox/checkbox.mjs +4 -4
  109. package/esm2020/legacy-chips/chip-input.mjs +4 -4
  110. package/esm2020/legacy-chips/chip-list.mjs +4 -4
  111. package/esm2020/legacy-chips/chip.mjs +13 -13
  112. package/esm2020/legacy-chips/chips-module.mjs +5 -5
  113. package/esm2020/legacy-core/option/index.mjs +5 -5
  114. package/esm2020/legacy-core/option/optgroup.mjs +4 -4
  115. package/esm2020/legacy-core/option/option.mjs +4 -4
  116. package/esm2020/legacy-dialog/dialog-container.mjs +4 -4
  117. package/esm2020/legacy-dialog/dialog-content-directives.mjs +13 -13
  118. package/esm2020/legacy-dialog/dialog-module.mjs +5 -5
  119. package/esm2020/legacy-dialog/dialog.mjs +4 -4
  120. package/esm2020/legacy-form-field/error.mjs +4 -4
  121. package/esm2020/legacy-form-field/form-field-module.mjs +5 -5
  122. package/esm2020/legacy-form-field/form-field.mjs +4 -4
  123. package/esm2020/legacy-form-field/hint.mjs +4 -4
  124. package/esm2020/legacy-form-field/label.mjs +4 -4
  125. package/esm2020/legacy-form-field/placeholder.mjs +4 -4
  126. package/esm2020/legacy-form-field/prefix.mjs +4 -4
  127. package/esm2020/legacy-form-field/suffix.mjs +4 -4
  128. package/esm2020/legacy-input/input-module.mjs +5 -5
  129. package/esm2020/legacy-input/input.mjs +4 -4
  130. package/esm2020/legacy-list/list-module.mjs +5 -5
  131. package/esm2020/legacy-list/list.mjs +19 -19
  132. package/esm2020/legacy-list/selection-list.mjs +7 -7
  133. package/esm2020/legacy-menu/menu-content.mjs +4 -4
  134. package/esm2020/legacy-menu/menu-item.mjs +4 -4
  135. package/esm2020/legacy-menu/menu-module.mjs +5 -5
  136. package/esm2020/legacy-menu/menu-trigger.mjs +4 -4
  137. package/esm2020/legacy-menu/menu.mjs +4 -4
  138. package/esm2020/legacy-paginator/paginator-module.mjs +5 -5
  139. package/esm2020/legacy-paginator/paginator.mjs +4 -4
  140. package/esm2020/legacy-progress-bar/progress-bar-module.mjs +5 -5
  141. package/esm2020/legacy-progress-bar/progress-bar.mjs +4 -4
  142. package/esm2020/legacy-progress-spinner/progress-spinner-module.mjs +5 -5
  143. package/esm2020/legacy-progress-spinner/progress-spinner.mjs +4 -4
  144. package/esm2020/legacy-radio/radio-module.mjs +5 -5
  145. package/esm2020/legacy-radio/radio.mjs +7 -7
  146. package/esm2020/legacy-select/select-module.mjs +5 -5
  147. package/esm2020/legacy-select/select.mjs +7 -7
  148. package/esm2020/legacy-select/testing/select-harness-filters.mjs +1 -1
  149. package/esm2020/legacy-select/testing/select-harness.mjs +4 -2
  150. package/esm2020/legacy-slide-toggle/slide-toggle-module.mjs +5 -5
  151. package/esm2020/legacy-slide-toggle/slide-toggle.mjs +4 -4
  152. package/esm2020/legacy-slider/slider-module.mjs +5 -5
  153. package/esm2020/legacy-slider/slider.mjs +4 -4
  154. package/esm2020/legacy-snack-bar/simple-snack-bar.mjs +4 -4
  155. package/esm2020/legacy-snack-bar/snack-bar-container.mjs +4 -4
  156. package/esm2020/legacy-snack-bar/snack-bar-module.mjs +5 -5
  157. package/esm2020/legacy-snack-bar/snack-bar.mjs +4 -4
  158. package/esm2020/legacy-table/cell.mjs +22 -22
  159. package/esm2020/legacy-table/row.mjs +22 -22
  160. package/esm2020/legacy-table/table-module.mjs +5 -5
  161. package/esm2020/legacy-table/table.mjs +7 -7
  162. package/esm2020/legacy-table/text-column.mjs +4 -4
  163. package/esm2020/legacy-tabs/ink-bar.mjs +4 -4
  164. package/esm2020/legacy-tabs/tab-body.mjs +7 -7
  165. package/esm2020/legacy-tabs/tab-content.mjs +4 -4
  166. package/esm2020/legacy-tabs/tab-group.mjs +4 -4
  167. package/esm2020/legacy-tabs/tab-header.mjs +4 -4
  168. package/esm2020/legacy-tabs/tab-label-wrapper.mjs +4 -4
  169. package/esm2020/legacy-tabs/tab-label.mjs +4 -4
  170. package/esm2020/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
  171. package/esm2020/legacy-tabs/tab.mjs +4 -4
  172. package/esm2020/legacy-tabs/tabs-module.mjs +5 -5
  173. package/esm2020/legacy-tooltip/tooltip-module.mjs +5 -5
  174. package/esm2020/legacy-tooltip/tooltip.mjs +7 -7
  175. package/esm2020/list/action-list.mjs +5 -5
  176. package/esm2020/list/list-base.mjs +7 -7
  177. package/esm2020/list/list-item-sections.mjs +19 -19
  178. package/esm2020/list/list-module.mjs +5 -5
  179. package/esm2020/list/list-option.mjs +4 -4
  180. package/esm2020/list/list.mjs +8 -8
  181. package/esm2020/list/nav-list.mjs +5 -5
  182. package/esm2020/list/selection-list.mjs +6 -6
  183. package/esm2020/list/subheader.mjs +4 -4
  184. package/esm2020/menu/menu-content.mjs +7 -7
  185. package/esm2020/menu/menu-item.mjs +4 -4
  186. package/esm2020/menu/menu-trigger.mjs +7 -7
  187. package/esm2020/menu/menu.mjs +7 -7
  188. package/esm2020/menu/module.mjs +5 -5
  189. package/esm2020/paginator/module.mjs +5 -5
  190. package/esm2020/paginator/paginator-intl.mjs +4 -4
  191. package/esm2020/paginator/paginator.mjs +7 -7
  192. package/esm2020/progress-bar/module.mjs +5 -5
  193. package/esm2020/progress-bar/progress-bar.mjs +4 -4
  194. package/esm2020/progress-spinner/module.mjs +5 -5
  195. package/esm2020/progress-spinner/progress-spinner.mjs +4 -4
  196. package/esm2020/radio/module.mjs +5 -5
  197. package/esm2020/radio/radio.mjs +23 -14
  198. package/esm2020/select/module.mjs +5 -5
  199. package/esm2020/select/select.mjs +10 -10
  200. package/esm2020/select/testing/select-harness-filters.mjs +1 -1
  201. package/esm2020/select/testing/select-harness.mjs +4 -2
  202. package/esm2020/sidenav/drawer.mjs +10 -10
  203. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  204. package/esm2020/sidenav/sidenav.mjs +10 -10
  205. package/esm2020/slide-toggle/module.mjs +9 -9
  206. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  207. package/esm2020/slide-toggle/slide-toggle.mjs +7 -7
  208. package/esm2020/slider/module.mjs +5 -5
  209. package/esm2020/slider/slider-input.mjs +8 -8
  210. package/esm2020/slider/slider-thumb.mjs +4 -4
  211. package/esm2020/slider/slider.mjs +4 -4
  212. package/esm2020/snack-bar/module.mjs +5 -5
  213. package/esm2020/snack-bar/simple-snack-bar.mjs +4 -4
  214. package/esm2020/snack-bar/snack-bar-container.mjs +7 -7
  215. package/esm2020/snack-bar/snack-bar-content.mjs +10 -10
  216. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  217. package/esm2020/sort/sort-header-intl.mjs +4 -4
  218. package/esm2020/sort/sort-header.mjs +4 -4
  219. package/esm2020/sort/sort-module.mjs +5 -5
  220. package/esm2020/sort/sort.mjs +4 -4
  221. package/esm2020/stepper/step-content.mjs +4 -4
  222. package/esm2020/stepper/step-header.mjs +4 -4
  223. package/esm2020/stepper/step-label.mjs +4 -4
  224. package/esm2020/stepper/stepper-button.mjs +7 -7
  225. package/esm2020/stepper/stepper-icon.mjs +4 -4
  226. package/esm2020/stepper/stepper-intl.mjs +4 -4
  227. package/esm2020/stepper/stepper-module.mjs +5 -5
  228. package/esm2020/stepper/stepper.mjs +7 -7
  229. package/esm2020/table/cell.mjs +22 -22
  230. package/esm2020/table/module.mjs +5 -5
  231. package/esm2020/table/row.mjs +22 -22
  232. package/esm2020/table/table.mjs +7 -7
  233. package/esm2020/table/text-column.mjs +4 -4
  234. package/esm2020/tabs/module.mjs +5 -5
  235. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  236. package/esm2020/tabs/tab-body.mjs +10 -10
  237. package/esm2020/tabs/tab-content.mjs +4 -4
  238. package/esm2020/tabs/tab-group.mjs +7 -7
  239. package/esm2020/tabs/tab-header.mjs +7 -7
  240. package/esm2020/tabs/tab-label-wrapper.mjs +7 -7
  241. package/esm2020/tabs/tab-label.mjs +4 -4
  242. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +16 -16
  243. package/esm2020/tabs/tab.mjs +7 -7
  244. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  245. package/esm2020/toolbar/toolbar.mjs +7 -7
  246. package/esm2020/tooltip/module.mjs +5 -5
  247. package/esm2020/tooltip/tooltip.mjs +13 -13
  248. package/esm2020/tree/node.mjs +10 -10
  249. package/esm2020/tree/outlet.mjs +4 -4
  250. package/esm2020/tree/padding.mjs +4 -4
  251. package/esm2020/tree/toggle.mjs +4 -4
  252. package/esm2020/tree/tree-module.mjs +5 -5
  253. package/esm2020/tree/tree.mjs +4 -4
  254. package/fesm2015/autocomplete.mjs +22 -22
  255. package/fesm2015/autocomplete.mjs.map +1 -1
  256. package/fesm2015/badge.mjs +7 -7
  257. package/fesm2015/badge.mjs.map +1 -1
  258. package/fesm2015/bottom-sheet.mjs +10 -10
  259. package/fesm2015/bottom-sheet.mjs.map +1 -1
  260. package/fesm2015/button-toggle.mjs +10 -10
  261. package/fesm2015/button-toggle.mjs.map +1 -1
  262. package/fesm2015/button.mjs +34 -34
  263. package/fesm2015/button.mjs.map +1 -1
  264. package/fesm2015/card.mjs +46 -46
  265. package/fesm2015/card.mjs.map +1 -1
  266. package/fesm2015/checkbox.mjs +17 -17
  267. package/fesm2015/checkbox.mjs.map +1 -1
  268. package/fesm2015/chips.mjs +42 -41
  269. package/fesm2015/chips.mjs.map +1 -1
  270. package/fesm2015/core.mjs +59 -59
  271. package/fesm2015/core.mjs.map +1 -1
  272. package/fesm2015/datepicker.mjs +82 -82
  273. package/fesm2015/datepicker.mjs.map +1 -1
  274. package/fesm2015/dialog.mjs +28 -28
  275. package/fesm2015/dialog.mjs.map +1 -1
  276. package/fesm2015/divider.mjs +7 -7
  277. package/fesm2015/divider.mjs.map +1 -1
  278. package/fesm2015/expansion.mjs +25 -25
  279. package/fesm2015/expansion.mjs.map +1 -1
  280. package/fesm2015/form-field.mjs +34 -34
  281. package/fesm2015/form-field.mjs.map +1 -1
  282. package/fesm2015/grid-list.mjs +22 -22
  283. package/fesm2015/grid-list.mjs.map +1 -1
  284. package/fesm2015/icon/testing.mjs +7 -7
  285. package/fesm2015/icon/testing.mjs.map +1 -1
  286. package/fesm2015/icon.mjs +10 -10
  287. package/fesm2015/icon.mjs.map +1 -1
  288. package/fesm2015/input.mjs +7 -7
  289. package/fesm2015/input.mjs.map +1 -1
  290. package/fesm2015/legacy-autocomplete.mjs +13 -13
  291. package/fesm2015/legacy-autocomplete.mjs.map +1 -1
  292. package/fesm2015/legacy-button.mjs +10 -10
  293. package/fesm2015/legacy-button.mjs.map +1 -1
  294. package/fesm2015/legacy-card.mjs +46 -46
  295. package/fesm2015/legacy-card.mjs.map +1 -1
  296. package/fesm2015/legacy-checkbox.mjs +7 -7
  297. package/fesm2015/legacy-checkbox.mjs.map +1 -1
  298. package/fesm2015/legacy-chips.mjs +22 -22
  299. package/fesm2015/legacy-chips.mjs.map +1 -1
  300. package/fesm2015/legacy-core.mjs +10 -10
  301. package/fesm2015/legacy-core.mjs.map +1 -1
  302. package/fesm2015/legacy-dialog.mjs +22 -22
  303. package/fesm2015/legacy-dialog.mjs.map +1 -1
  304. package/fesm2015/legacy-form-field.mjs +25 -25
  305. package/fesm2015/legacy-form-field.mjs.map +1 -1
  306. package/fesm2015/legacy-input.mjs +7 -7
  307. package/fesm2015/legacy-input.mjs.map +1 -1
  308. package/fesm2015/legacy-list.mjs +28 -28
  309. package/fesm2015/legacy-list.mjs.map +1 -1
  310. package/fesm2015/legacy-menu.mjs +16 -16
  311. package/fesm2015/legacy-menu.mjs.map +1 -1
  312. package/fesm2015/legacy-paginator.mjs +7 -7
  313. package/fesm2015/legacy-paginator.mjs.map +1 -1
  314. package/fesm2015/legacy-progress-bar.mjs +7 -7
  315. package/fesm2015/legacy-progress-bar.mjs.map +1 -1
  316. package/fesm2015/legacy-progress-spinner.mjs +7 -7
  317. package/fesm2015/legacy-progress-spinner.mjs.map +1 -1
  318. package/fesm2015/legacy-radio.mjs +10 -10
  319. package/fesm2015/legacy-radio.mjs.map +1 -1
  320. package/fesm2015/legacy-select/testing.mjs +4 -8
  321. package/fesm2015/legacy-select/testing.mjs.map +1 -1
  322. package/fesm2015/legacy-select.mjs +10 -10
  323. package/fesm2015/legacy-select.mjs.map +1 -1
  324. package/fesm2015/legacy-slide-toggle.mjs +7 -7
  325. package/fesm2015/legacy-slide-toggle.mjs.map +1 -1
  326. package/fesm2015/legacy-slider.mjs +7 -7
  327. package/fesm2015/legacy-slider.mjs.map +1 -1
  328. package/fesm2015/legacy-snack-bar.mjs +13 -13
  329. package/fesm2015/legacy-snack-bar.mjs.map +1 -1
  330. package/fesm2015/legacy-table.mjs +55 -55
  331. package/fesm2015/legacy-table.mjs.map +1 -1
  332. package/fesm2015/legacy-tabs.mjs +40 -40
  333. package/fesm2015/legacy-tabs.mjs.map +1 -1
  334. package/fesm2015/legacy-tooltip.mjs +10 -10
  335. package/fesm2015/legacy-tooltip.mjs.map +1 -1
  336. package/fesm2015/list.mjs +54 -54
  337. package/fesm2015/list.mjs.map +1 -1
  338. package/fesm2015/menu.mjs +25 -25
  339. package/fesm2015/menu.mjs.map +1 -1
  340. package/fesm2015/paginator.mjs +13 -13
  341. package/fesm2015/paginator.mjs.map +1 -1
  342. package/fesm2015/progress-bar.mjs +7 -7
  343. package/fesm2015/progress-bar.mjs.map +1 -1
  344. package/fesm2015/progress-spinner.mjs +7 -7
  345. package/fesm2015/progress-spinner.mjs.map +1 -1
  346. package/fesm2015/radio.mjs +26 -17
  347. package/fesm2015/radio.mjs.map +1 -1
  348. package/fesm2015/select/testing.mjs +3 -1
  349. package/fesm2015/select/testing.mjs.map +1 -1
  350. package/fesm2015/select.mjs +13 -13
  351. package/fesm2015/select.mjs.map +1 -1
  352. package/fesm2015/sidenav.mjs +22 -22
  353. package/fesm2015/sidenav.mjs.map +1 -1
  354. package/fesm2015/slide-toggle.mjs +17 -17
  355. package/fesm2015/slide-toggle.mjs.map +1 -1
  356. package/fesm2015/slider.mjs +17 -17
  357. package/fesm2015/slider.mjs.map +1 -1
  358. package/fesm2015/snack-bar.mjs +28 -28
  359. package/fesm2015/snack-bar.mjs.map +1 -1
  360. package/fesm2015/sort.mjs +13 -13
  361. package/fesm2015/sort.mjs.map +1 -1
  362. package/fesm2015/stepper.mjs +31 -31
  363. package/fesm2015/stepper.mjs.map +1 -1
  364. package/fesm2015/table.mjs +55 -55
  365. package/fesm2015/table.mjs.map +1 -1
  366. package/fesm2015/tabs.mjs +61 -61
  367. package/fesm2015/tabs.mjs.map +1 -1
  368. package/fesm2015/toolbar.mjs +10 -10
  369. package/fesm2015/toolbar.mjs.map +1 -1
  370. package/fesm2015/tooltip.mjs +16 -16
  371. package/fesm2015/tooltip.mjs.map +1 -1
  372. package/fesm2015/tree.mjs +25 -25
  373. package/fesm2015/tree.mjs.map +1 -1
  374. package/fesm2020/autocomplete.mjs +22 -22
  375. package/fesm2020/autocomplete.mjs.map +1 -1
  376. package/fesm2020/badge.mjs +7 -7
  377. package/fesm2020/badge.mjs.map +1 -1
  378. package/fesm2020/bottom-sheet.mjs +10 -10
  379. package/fesm2020/bottom-sheet.mjs.map +1 -1
  380. package/fesm2020/button-toggle.mjs +10 -10
  381. package/fesm2020/button-toggle.mjs.map +1 -1
  382. package/fesm2020/button.mjs +34 -34
  383. package/fesm2020/button.mjs.map +1 -1
  384. package/fesm2020/card.mjs +46 -46
  385. package/fesm2020/card.mjs.map +1 -1
  386. package/fesm2020/checkbox.mjs +17 -17
  387. package/fesm2020/checkbox.mjs.map +1 -1
  388. package/fesm2020/chips.mjs +42 -41
  389. package/fesm2020/chips.mjs.map +1 -1
  390. package/fesm2020/core.mjs +59 -59
  391. package/fesm2020/core.mjs.map +1 -1
  392. package/fesm2020/datepicker.mjs +82 -82
  393. package/fesm2020/datepicker.mjs.map +1 -1
  394. package/fesm2020/dialog.mjs +28 -28
  395. package/fesm2020/dialog.mjs.map +1 -1
  396. package/fesm2020/divider.mjs +7 -7
  397. package/fesm2020/divider.mjs.map +1 -1
  398. package/fesm2020/expansion.mjs +25 -25
  399. package/fesm2020/expansion.mjs.map +1 -1
  400. package/fesm2020/form-field.mjs +34 -34
  401. package/fesm2020/form-field.mjs.map +1 -1
  402. package/fesm2020/grid-list.mjs +22 -22
  403. package/fesm2020/grid-list.mjs.map +1 -1
  404. package/fesm2020/icon/testing.mjs +7 -7
  405. package/fesm2020/icon/testing.mjs.map +1 -1
  406. package/fesm2020/icon.mjs +10 -10
  407. package/fesm2020/icon.mjs.map +1 -1
  408. package/fesm2020/input.mjs +7 -7
  409. package/fesm2020/input.mjs.map +1 -1
  410. package/fesm2020/legacy-autocomplete.mjs +13 -13
  411. package/fesm2020/legacy-autocomplete.mjs.map +1 -1
  412. package/fesm2020/legacy-button.mjs +10 -10
  413. package/fesm2020/legacy-button.mjs.map +1 -1
  414. package/fesm2020/legacy-card.mjs +46 -46
  415. package/fesm2020/legacy-card.mjs.map +1 -1
  416. package/fesm2020/legacy-checkbox.mjs +7 -7
  417. package/fesm2020/legacy-checkbox.mjs.map +1 -1
  418. package/fesm2020/legacy-chips.mjs +22 -22
  419. package/fesm2020/legacy-chips.mjs.map +1 -1
  420. package/fesm2020/legacy-core.mjs +10 -10
  421. package/fesm2020/legacy-core.mjs.map +1 -1
  422. package/fesm2020/legacy-dialog.mjs +22 -22
  423. package/fesm2020/legacy-dialog.mjs.map +1 -1
  424. package/fesm2020/legacy-form-field.mjs +25 -25
  425. package/fesm2020/legacy-form-field.mjs.map +1 -1
  426. package/fesm2020/legacy-input.mjs +7 -7
  427. package/fesm2020/legacy-input.mjs.map +1 -1
  428. package/fesm2020/legacy-list.mjs +28 -28
  429. package/fesm2020/legacy-list.mjs.map +1 -1
  430. package/fesm2020/legacy-menu.mjs +16 -16
  431. package/fesm2020/legacy-menu.mjs.map +1 -1
  432. package/fesm2020/legacy-paginator.mjs +7 -7
  433. package/fesm2020/legacy-paginator.mjs.map +1 -1
  434. package/fesm2020/legacy-progress-bar.mjs +7 -7
  435. package/fesm2020/legacy-progress-bar.mjs.map +1 -1
  436. package/fesm2020/legacy-progress-spinner.mjs +7 -7
  437. package/fesm2020/legacy-progress-spinner.mjs.map +1 -1
  438. package/fesm2020/legacy-radio.mjs +10 -10
  439. package/fesm2020/legacy-radio.mjs.map +1 -1
  440. package/fesm2020/legacy-select/testing.mjs +3 -1
  441. package/fesm2020/legacy-select/testing.mjs.map +1 -1
  442. package/fesm2020/legacy-select.mjs +10 -10
  443. package/fesm2020/legacy-select.mjs.map +1 -1
  444. package/fesm2020/legacy-slide-toggle.mjs +7 -7
  445. package/fesm2020/legacy-slide-toggle.mjs.map +1 -1
  446. package/fesm2020/legacy-slider.mjs +7 -7
  447. package/fesm2020/legacy-slider.mjs.map +1 -1
  448. package/fesm2020/legacy-snack-bar.mjs +13 -13
  449. package/fesm2020/legacy-snack-bar.mjs.map +1 -1
  450. package/fesm2020/legacy-table.mjs +55 -55
  451. package/fesm2020/legacy-table.mjs.map +1 -1
  452. package/fesm2020/legacy-tabs.mjs +40 -40
  453. package/fesm2020/legacy-tabs.mjs.map +1 -1
  454. package/fesm2020/legacy-tooltip.mjs +10 -10
  455. package/fesm2020/legacy-tooltip.mjs.map +1 -1
  456. package/fesm2020/list.mjs +54 -54
  457. package/fesm2020/list.mjs.map +1 -1
  458. package/fesm2020/menu.mjs +25 -25
  459. package/fesm2020/menu.mjs.map +1 -1
  460. package/fesm2020/paginator.mjs +13 -13
  461. package/fesm2020/paginator.mjs.map +1 -1
  462. package/fesm2020/progress-bar.mjs +7 -7
  463. package/fesm2020/progress-bar.mjs.map +1 -1
  464. package/fesm2020/progress-spinner.mjs +7 -7
  465. package/fesm2020/progress-spinner.mjs.map +1 -1
  466. package/fesm2020/radio.mjs +26 -17
  467. package/fesm2020/radio.mjs.map +1 -1
  468. package/fesm2020/select/testing.mjs +3 -1
  469. package/fesm2020/select/testing.mjs.map +1 -1
  470. package/fesm2020/select.mjs +13 -13
  471. package/fesm2020/select.mjs.map +1 -1
  472. package/fesm2020/sidenav.mjs +22 -22
  473. package/fesm2020/sidenav.mjs.map +1 -1
  474. package/fesm2020/slide-toggle.mjs +17 -17
  475. package/fesm2020/slide-toggle.mjs.map +1 -1
  476. package/fesm2020/slider.mjs +17 -17
  477. package/fesm2020/slider.mjs.map +1 -1
  478. package/fesm2020/snack-bar.mjs +28 -28
  479. package/fesm2020/snack-bar.mjs.map +1 -1
  480. package/fesm2020/sort.mjs +13 -13
  481. package/fesm2020/sort.mjs.map +1 -1
  482. package/fesm2020/stepper.mjs +31 -31
  483. package/fesm2020/stepper.mjs.map +1 -1
  484. package/fesm2020/table.mjs +55 -55
  485. package/fesm2020/table.mjs.map +1 -1
  486. package/fesm2020/tabs.mjs +61 -61
  487. package/fesm2020/tabs.mjs.map +1 -1
  488. package/fesm2020/toolbar.mjs +10 -10
  489. package/fesm2020/toolbar.mjs.map +1 -1
  490. package/fesm2020/tooltip.mjs +16 -16
  491. package/fesm2020/tooltip.mjs.map +1 -1
  492. package/fesm2020/tree.mjs +25 -25
  493. package/fesm2020/tree.mjs.map +1 -1
  494. package/legacy-select/testing/index.d.ts +2 -0
  495. package/list/_list-option-theme.scss +0 -18
  496. package/list/_list-theme.import.scss +0 -2
  497. package/list/_list-theme.scss +72 -23
  498. package/package.json +6 -6
  499. package/prebuilt-themes/deeppurple-amber.css +1 -1
  500. package/prebuilt-themes/indigo-pink.css +1 -1
  501. package/prebuilt-themes/pink-bluegrey.css +1 -1
  502. package/prebuilt-themes/purple-green.css +1 -1
  503. package/radio/index.d.ts +2 -0
  504. package/schematics/ng-add/index.js +1 -1
  505. package/schematics/ng-add/index.mjs +1 -1
  506. package/schematics/ng-generate/mdc-migration/index_bundled.js +14 -13
  507. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  508. package/select/testing/index.d.ts +2 -0
  509. package/list/_interactive-list-theme.import.scss +0 -1
  510. package/list/_interactive-list-theme.scss +0 -40
package/chips/index.d.ts CHANGED
@@ -252,6 +252,7 @@ declare class MatChipAction extends _MatChipActionMixinBase implements HasTabInd
252
252
  _handlePrimaryActionInteraction(): void;
253
253
  remove(): void;
254
254
  disabled: boolean;
255
+ _isEditing?: boolean;
255
256
  };
256
257
  /** Whether the action is interactive. */
257
258
  isInteractive: boolean;
@@ -277,6 +278,7 @@ declare class MatChipAction extends _MatChipActionMixinBase implements HasTabInd
277
278
  _handlePrimaryActionInteraction(): void;
278
279
  remove(): void;
279
280
  disabled: boolean;
281
+ _isEditing?: boolean;
280
282
  });
281
283
  focus(): void;
282
284
  _handleClick(event: MouseEvent): void;
@@ -1,5 +1,6 @@
1
1
  @use 'sass:list';
2
2
  @use 'sass:map';
3
+ @use 'sass:math';
3
4
  @use 'sass:meta';
4
5
  @use 'palette';
5
6
  @use '../density/private/compatibility';
@@ -466,7 +467,6 @@ $_emitted-density: () !default;
466
467
  ));
467
468
  }
468
469
 
469
-
470
470
  // Approximates an rgba color into a solid hex color, given a background color.
471
471
  @function private-rgba-to-hex($color, $background-color) {
472
472
  // We convert the rgba color into a solid one by taking the opacity from the rgba
@@ -474,3 +474,24 @@ $_emitted-density: () !default;
474
474
  // into foreground when mixing the colors together.
475
475
  @return mix($background-color, rgba($color, 1), (1 - opacity($color)) * 100%);
476
476
  }
477
+
478
+ // Clamps the density scale to a number between the given min and max.
479
+ // 'minimum' and 'maximum' are converted to the given min or max number respectively.
480
+ @function clamp-density($density-scale, $min, $max: 0) {
481
+ @if $density-scale == minimum {
482
+ @return $min;
483
+ }
484
+ @if $density-scale == maximum {
485
+ @return $max;
486
+ }
487
+ @if meta.type-of($density-scale) != 'number' or not math.is-unitless($density-scale) {
488
+ @return 0;
489
+ }
490
+ @if $density-scale < $min {
491
+ @return $min;
492
+ }
493
+ @if $density-scale > $max {
494
+ @return $max;
495
+ }
496
+ @return $density-scale;
497
+ }
@@ -0,0 +1,80 @@
1
+ @use 'sass:map';
2
+ @use '@material/theme/custom-properties' as mdc-custom-properties;
3
+ @use '@material/theme/theme' as mdc-theme;
4
+ @use '../mdc-helpers/mdc-helpers';
5
+ @use '../theming/palette';
6
+ @use '../theming/theming';
7
+
8
+ $_placeholder-color-palette: theming.define-palette(palette.$red-palette);
9
+
10
+ // Placeholder color config that can be passed to token getter functions when generating token
11
+ // slots.
12
+ $placeholder-color-config: (
13
+ primary: $_placeholder-color-palette,
14
+ accent: $_placeholder-color-palette,
15
+ warn: $_placeholder-color-palette,
16
+ is-dark: false,
17
+ foreground: palette.$light-theme-foreground-palette,
18
+ background: palette.$light-theme-background-palette,
19
+ );
20
+
21
+ $_placeholder-typography-level-config: mdc-helpers.typography-config-level-from-mdc(body1);
22
+
23
+ // Placeholder typography config that can be passed to token getter functions when generating token
24
+ // slots.
25
+ $placeholder-typography-config: (
26
+ font-family: Roboto,
27
+ headline-1: $_placeholder-typography-level-config,
28
+ headline-2: $_placeholder-typography-level-config,
29
+ headline-3: $_placeholder-typography-level-config,
30
+ headline-4: $_placeholder-typography-level-config,
31
+ headline-5: $_placeholder-typography-level-config,
32
+ headline-6: $_placeholder-typography-level-config,
33
+ subtitle-1: $_placeholder-typography-level-config,
34
+ subtitle-2: $_placeholder-typography-level-config,
35
+ body-1: $_placeholder-typography-level-config,
36
+ body-2: $_placeholder-typography-level-config,
37
+ caption: $_placeholder-typography-level-config,
38
+ button: $_placeholder-typography-level-config,
39
+ overline: $_placeholder-typography-level-config,
40
+ );
41
+
42
+ // Placeholder density config that can be passed to token getter functions when generating token
43
+ // slots.
44
+ $placeholder-density-config: 0;
45
+
46
+ $_tokens: null;
47
+ $_component-prefix: null;
48
+
49
+ @mixin _configure-token-prefix($first, $rest...) {
50
+ $_component-prefix: '' !global;
51
+ @each $item in $rest {
52
+ $_component-prefix:
53
+ if($_component-prefix == '', $item, '#{$_component-prefix}-#{$item}') !global;
54
+ }
55
+ @include mdc-custom-properties.configure($varname-prefix: $first) {
56
+ @content;
57
+ }
58
+ $_component-prefix: null !global;
59
+ }
60
+
61
+ // Sets the token prefix and map to use when creating token slots.
62
+ @mixin use-tokens($prefix, $tokens) {
63
+ $_tokens: $tokens !global;
64
+ @include _configure-token-prefix($prefix...) {
65
+ @content;
66
+ }
67
+ $_tokens: null !global;
68
+ }
69
+
70
+ // Emits a slot for the given token, provided that it has a non-null value in the token map passed
71
+ // to `use-tokens`.
72
+ @mixin create-token-slot($property, $token) {
73
+ @if $_component-prefix == null or $_tokens == null {
74
+ @error '`create-token-slot` must be used within `use-tokens`';
75
+ }
76
+ @if map.get($_tokens, $token) != null {
77
+ $value: mdc-custom-properties.create('#{$_component-prefix}-#{$token}');
78
+ @include mdc-theme.property($property, $value);
79
+ }
80
+ }
@@ -0,0 +1,220 @@
1
+ @use 'sass:map';
2
+ @use '../../../theming/theming';
3
+ @use '../../../typography/typography-utils';
4
+ @use '../../token-utils';
5
+
6
+ // The prefix used to generate the fully qualified name for tokens in this file.
7
+ $prefix: (mdc, list);
8
+
9
+ // Tokens that can't be configured through Angular Material's current theming API,
10
+ // but may be in a future version of the theming API.
11
+ //
12
+ // Tokens that are available in MDC, but not used in Angular Material should be mapped to `null`.
13
+ // `null` indicates that we are intentionally choosing not to emit a slot or value for the token in
14
+ // our CSS.
15
+ @function get-unthemable-tokens() {
16
+ @return (
17
+ // Border radius of list items.
18
+ list-item-container-shape: 0,
19
+ // Border radius of the list item's leading avatar.
20
+ list-item-leading-avatar-shape: 50%,
21
+ // Background color of list items.
22
+ list-item-container-color: transparent,
23
+ // Background color of list items when selected.
24
+ list-item-selected-container-color: transparent,
25
+ // Background color of the list item's leading avatar.
26
+ list-item-leading-avatar-color: transparent,
27
+ // Height & width of the list item's leading icon.
28
+ list-item-leading-icon-size: 24px,
29
+ // Height & width of the list item's leading avatar.
30
+ list-item-leading-avatar-size: 40px,
31
+ // Height & width of the list item's trailing icon.
32
+ list-item-trailing-icon-size: 24px,
33
+ // Color of the list item's overlay when the item is disabled.
34
+ list-item-disabled-state-layer-color: transparent,
35
+ // Opacity of the list item's overlay when the item is disabled.
36
+ list-item-disabled-state-layer-opacity: 0,
37
+ // Opacity of the list item's primary & supporting text when the item is disabled.
38
+ list-item-disabled-label-text-opacity: 0.38,
39
+ // Opacity of the list item's leading icon when the item is disabled.
40
+ list-item-disabled-leading-icon-opacity: 0.38,
41
+ // Opacity of the list item's trailing icon when the item is disabled.
42
+ list-item-disabled-trailing-icon-opacity: 0.38,
43
+ // =============================================================================================
44
+ // = TOKENS NOT USED IN ANGULAR MATERIAL =
45
+ // =============================================================================================
46
+ // Overline not implemented in Angular Material.
47
+ // TODO(mmalerba): Consider implementing in the future.
48
+ list-item-overline-color: null,
49
+ list-item-overline-font: null,
50
+ list-item-overline-line-height: null,
51
+ list-item-overline-size: null,
52
+ list-item-overline-tracking: null,
53
+ list-item-overline-weight: null,
54
+ // Leading video not implemented in Angular Material.
55
+ // TODO(mmalerba): Consider implementing in the future.
56
+ list-item-leading-video-shape: null,
57
+ list-item-leading-video-width: null,
58
+ list-item-leading-video-height: null,
59
+ // Leading image not implemented in Angular Material.
60
+ // TODO(mmalerba): Consider implementing in the future.
61
+ list-item-leading-image-width: null,
62
+ list-item-leading-image-height: null,
63
+ list-item-leading-image-shape: null,
64
+ // List divider is not implemented in Angular Material.
65
+ // TODO(mmalerba): Maybe mat-divider should be based on these tokens?
66
+ divider-color: null,
67
+ divider-height: null,
68
+ // Redundant since it is always overridden by one- two- or three- line tokens, omitted to save
69
+ // bytes.
70
+ list-item-container-height: null,
71
+ // MDC does not seem to emit any CSS variables for these tokens, may be use in the future.
72
+ // TODO(mmalerba): Discuss with MDC if these should be added.
73
+ list-item-container-elevation: null,
74
+ list-item-leading-avatar-label-color: null,
75
+ list-item-leading-avatar-label-font: null,
76
+ list-item-leading-avatar-label-line-height: null,
77
+ list-item-leading-avatar-label-size: null,
78
+ list-item-leading-avatar-label-tracking: null,
79
+ list-item-leading-avatar-label-weight: null,
80
+ list-item-unselected-trailing-icon-color: null,
81
+ );
82
+ }
83
+
84
+ // Tokens that can be configured through Angular Material's color theming API.
85
+ @function get-color-tokens($config) {
86
+ $foreground: map.get($config, foreground);
87
+ $is-dark: map.get($config, is-dark);
88
+ $foreground-base: theming.get-color-from-palette($foreground, base);
89
+ $text-icon-on-background:
90
+ theming.get-color-from-palette($foreground, base, if($is-dark, 0.5, 0.38));
91
+
92
+ @return (
93
+ // Text color of the list item primary text.
94
+ list-item-label-text-color: theming.get-color-from-palette($foreground, text),
95
+ // Text color of the list item supporting text.
96
+ list-item-supporting-text-color: theming.get-color-from-palette($foreground, secondary-text),
97
+ // Color of the list item's leading icon.
98
+ list-item-leading-icon-color: $text-icon-on-background,
99
+ // Text color of the list item's trailing text.
100
+ list-item-trailing-supporting-text-color: theming.get-color-from-palette(
101
+ $foreground, hint-text),
102
+ // Color of the list item's trailing icon.
103
+ list-item-trailing-icon-color: $text-icon-on-background,
104
+ // Color of the list item's trailing icon when the item is selected.
105
+ list-item-selected-trailing-icon-color: $text-icon-on-background,
106
+ // Text color of the list item's primary text when the item is disabled.
107
+ list-item-disabled-label-text-color: theming.get-color-from-palette($foreground, base),
108
+ // Color of the list item's leading icon when the item is disabled.
109
+ list-item-disabled-leading-icon-color: theming.get-color-from-palette($foreground, base),
110
+ // Color of the list item's trailing icon when the item is disabled.
111
+ list-item-disabled-trailing-icon-color: theming.get-color-from-palette($foreground, base),
112
+ // Color of the list item's primary text when the item is being hovered.
113
+ list-item-hover-label-text-color: theming.get-color-from-palette($foreground, text),
114
+ // Color of the list item's leading icon when the item is being hovered.
115
+ list-item-hover-leading-icon-color: $text-icon-on-background,
116
+ // Color of the list item's trailing icon when the item is being hovered.
117
+ list-item-hover-trailing-icon-color: $text-icon-on-background,
118
+ // Color of the list item's primary text when the item is focused.
119
+ list-item-focus-label-text-color: theming.get-color-from-palette($foreground, text),
120
+ // Color of the list item's overlay when the item is hovered.
121
+ list-item-hover-state-layer-color: theming.get-color-from-palette($foreground, base),
122
+ // Opacity of the list item's overlay when the item is hovered.
123
+ list-item-hover-state-layer-opacity: if($is-dark, 0.08, 0.04),
124
+ // Color of the list item's overlay when the item is focused.
125
+ list-item-focus-state-layer-color: theming.get-color-from-palette($foreground, base),
126
+ // Opacity of the list item's overlay when the item is focused.
127
+ list-item-focus-state-layer-opacity: if($is-dark, 0.24, 0.12),
128
+ );
129
+ }
130
+
131
+ // Tokens that can be configured through Angular Material's typography theming API.
132
+ @function get-typography-tokens($config) {
133
+ @return (
134
+ // Font family of the list item primary text.
135
+ list-item-label-text-font: typography-utils.font-family($config, body-1)
136
+ or typography-utils.font-family($config),
137
+ // Line height of the list item primary text.
138
+ list-item-label-text-line-height: typography-utils.line-height($config, body-1),
139
+ // Font size of the list item primary text.
140
+ list-item-label-text-size: typography-utils.font-size($config, body-1),
141
+ // Letter spacing of the list item primary text.
142
+ list-item-label-text-tracking: typography-utils.letter-spacing($config, body-1),
143
+ // Font weight of the list item primary text.
144
+ list-item-label-text-weight: typography-utils.font-weight($config, body-1),
145
+ // Font family of the list item supporting text.
146
+ list-item-supporting-text-font: typography-utils.font-family($config, body-2)
147
+ or typography-utils.font-family($config),
148
+ // Line height of the list item supporting text.
149
+ list-item-supporting-text-line-height: typography-utils.line-height($config, body-2),
150
+ // Font size of the list item supporting text.
151
+ list-item-supporting-text-size: typography-utils.font-size($config, body-2),
152
+ // Letter spacing of the list item supporting text.
153
+ list-item-supporting-text-tracking: typography-utils.letter-spacing($config, body-2),
154
+ // Font weight of the list item supporting text.
155
+ list-item-supporting-text-weight: typography-utils.font-weight($config, body-2),
156
+ // Font family of the list item's trailing text.
157
+ list-item-trailing-supporting-text-font: typography-utils.font-family($config, caption)
158
+ or typography-utils.font-family($config),
159
+ // Line height of the list item's trailing text.
160
+ list-item-trailing-supporting-text-line-height: typography-utils.line-height(
161
+ $config, caption),
162
+ // Font size of the list item's trailing text.
163
+ list-item-trailing-supporting-text-size: typography-utils.font-size($config, caption),
164
+ // Letter spacing color of the list item's trailing text.
165
+ list-item-trailing-supporting-text-tracking: typography-utils.letter-spacing(
166
+ $config, caption),
167
+ // Font weight of the list item's trailing text.
168
+ list-item-trailing-supporting-text-weight: typography-utils.font-weight($config, caption),
169
+ );
170
+ }
171
+
172
+ // Tokens that can be configured through Angular Material's density theming API.
173
+ @function get-density-tokens($config) {
174
+ $scale: theming.clamp-density($config, -5);
175
+
176
+ @return (
177
+ // Height of one line list items.
178
+ list-item-one-line-container-height: map.get((
179
+ 0: 48px,
180
+ -1: 44px,
181
+ -2: 40px,
182
+ -3: 36px,
183
+ -4: 32px,
184
+ -5: 24px,
185
+ ), $scale),
186
+ // Height of two line list items.
187
+ list-item-two-line-container-height: map.get((
188
+ 0: 64px,
189
+ -1: 60px,
190
+ -2: 56px,
191
+ -3: 52px,
192
+ -4: 48px,
193
+ -5: 48px,
194
+ ), $scale),
195
+ // Height of three line list items.
196
+ list-item-three-line-container-height: map.get((
197
+ 0: 88px,
198
+ -1: 84px,
199
+ -2: 80px,
200
+ -3: 76px,
201
+ -4: 72px,
202
+ -5: 56px,
203
+ ), $scale),
204
+ );
205
+ }
206
+
207
+ // Combines the tokens generated by the above functions into a single map with placeholder values.
208
+ // This is used to create token slots.
209
+ @function get-token-slots() {
210
+ @return map.merge(
211
+ get-unthemable-tokens(),
212
+ map.merge(
213
+ get-color-tokens(token-utils.$placeholder-color-config),
214
+ map.merge(
215
+ get-typography-tokens(token-utils.$placeholder-typography-config),
216
+ get-density-tokens(token-utils.$placeholder-density-config)
217
+ )
218
+ )
219
+ );
220
+ }
@@ -15,9 +15,9 @@ export class _MatAutocompleteOriginBase {
15
15
  this.elementRef = elementRef;
16
16
  }
17
17
  }
18
- _MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: _MatAutocompleteOriginBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- _MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0", type: _MatAutocompleteOriginBase, ngImport: i0 });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: _MatAutocompleteOriginBase, decorators: [{
18
+ _MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: _MatAutocompleteOriginBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
19
+ _MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-rc.0", type: _MatAutocompleteOriginBase, ngImport: i0 });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: _MatAutocompleteOriginBase, decorators: [{
21
21
  type: Directive
22
22
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
23
23
  /**
@@ -26,13 +26,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
26
26
  */
27
27
  export class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
28
28
  }
29
- MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: MatAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
30
- MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0", type: MatAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
29
+ MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
30
+ MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.0-rc.0", type: MatAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0-rc.0", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
32
32
  type: Directive,
33
33
  args: [{
34
34
  selector: '[matAutocompleteOrigin]',
35
35
  exportAs: 'matAutocompleteOrigin',
36
36
  }]
37
37
  }] });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLW9yaWdpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC9hdXRvY29tcGxldGUvYXV0b2NvbXBsZXRlLW9yaWdpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFFcEQsa0ZBQWtGO0FBRWxGLE1BQU0sT0FBZ0IsMEJBQTBCO0lBQzlDO0lBQ0Usa0VBQWtFO0lBQzNELFVBQW1DO1FBQW5DLGVBQVUsR0FBVixVQUFVLENBQXlCO0lBQ3pDLENBQUM7O3VIQUpnQiwwQkFBMEI7MkdBQTFCLDBCQUEwQjsyRkFBMUIsMEJBQTBCO2tCQUQvQyxTQUFTOztBQVFWOzs7R0FHRztBQUtILE1BQU0sT0FBTyxxQkFBc0IsU0FBUSwwQkFBMEI7O2tIQUF4RCxxQkFBcUI7c0dBQXJCLHFCQUFxQjsyRkFBckIscUJBQXFCO2tCQUpqQyxTQUFTO21CQUFDO29CQU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