@angular/material 16.2.2 → 17.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/_index.scss +21 -65
  2. package/autocomplete/index.d.ts +40 -71
  3. package/autocomplete/testing/index.d.ts +5 -23
  4. package/button/_button-base.scss +3 -3
  5. package/button/_button-theme-private.scss +3 -2
  6. package/button/_button-theme.scss +18 -25
  7. package/button/_fab-theme.scss +42 -48
  8. package/button/_icon-button-theme.scss +19 -26
  9. package/button/index.d.ts +22 -31
  10. package/card/_card-theme.scss +82 -51
  11. package/checkbox/_checkbox-theme.scss +72 -54
  12. package/checkbox/index.d.ts +22 -42
  13. package/checkbox/testing/index.d.ts +6 -12
  14. package/core/_core-theme.scss +24 -39
  15. package/core/index.d.ts +17 -28
  16. package/core/mdc-helpers/_mdc-helpers.scss +19 -22
  17. package/core/option/_optgroup-theme.scss +13 -23
  18. package/core/option/_option-theme.scss +23 -37
  19. package/core/ripple/_ripple-theme.scss +6 -10
  20. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +17 -24
  21. package/core/style/_private.scss +3 -3
  22. package/core/style/_sass-utils.scss +7 -0
  23. package/core/style/_validation.scss +43 -0
  24. package/core/theming/_inspection.scss +256 -0
  25. package/core/theming/_m2-inspection.scss +211 -0
  26. package/core/theming/_theming.scss +169 -16
  27. package/core/tokens/m2/mat/_card.scss +15 -21
  28. package/core/tokens/m2/mat/_form-field.scss +48 -19
  29. package/core/tokens/m2/mat/_optgroup.scss +12 -17
  30. package/core/tokens/m2/mat/_option.scss +16 -28
  31. package/core/tokens/m2/mat/_paginator.scss +16 -18
  32. package/core/tokens/m2/mat/_radio.scss +7 -10
  33. package/core/tokens/m2/mat/_slide-toggle.scss +9 -17
  34. package/core/tokens/m2/mat/_slider.scss +43 -0
  35. package/core/tokens/m2/mdc/_checkbox.scss +21 -20
  36. package/core/tokens/m2/mdc/_elevated-card.scss +6 -9
  37. package/core/tokens/m2/mdc/_extended-fab.scss +8 -17
  38. package/core/tokens/m2/mdc/_fab.scss +6 -7
  39. package/core/tokens/m2/mdc/_filled-text-field.scss +17 -23
  40. package/core/tokens/m2/mdc/_icon-button.scss +1 -1
  41. package/core/tokens/m2/mdc/_linear-progress.scss +9 -10
  42. package/core/tokens/m2/mdc/_list.scss +44 -42
  43. package/core/tokens/m2/mdc/_outlined-card.scss +7 -10
  44. package/core/tokens/m2/mdc/_outlined-text-field.scss +15 -21
  45. package/core/tokens/m2/mdc/_radio.scss +11 -11
  46. package/core/tokens/m2/mdc/_slider.scss +147 -0
  47. package/core/tokens/m2/mdc/_switch.scss +16 -19
  48. package/core/typography/_definition.scss +258 -0
  49. package/core/typography/_property-getters.scss +63 -0
  50. package/core/typography/_typography-utils.scss +9 -69
  51. package/core/typography/_typography.scss +10 -343
  52. package/core/typography/_versioning.scss +86 -0
  53. package/dialog/_dialog-theme.scss +10 -0
  54. package/dialog/index.d.ts +44 -86
  55. package/dialog/testing/index.d.ts +6 -18
  56. package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
  57. package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
  58. package/esm2022/autocomplete/autocomplete.mjs +58 -71
  59. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
  60. package/esm2022/button/button-base.mjs +32 -27
  61. package/esm2022/button/button.mjs +6 -6
  62. package/esm2022/button/fab.mjs +25 -33
  63. package/esm2022/button/icon-button.mjs +6 -6
  64. package/esm2022/button/testing/button-harness.mjs +3 -3
  65. package/esm2022/card/card.mjs +2 -2
  66. package/esm2022/checkbox/checkbox.mjs +72 -79
  67. package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
  68. package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
  69. package/esm2022/core/option/optgroup.mjs +19 -26
  70. package/esm2022/core/option/option.mjs +25 -35
  71. package/esm2022/core/version.mjs +1 -1
  72. package/esm2022/datepicker/calendar.mjs +1 -1
  73. package/esm2022/datepicker/datepicker-base.mjs +2 -2
  74. package/esm2022/datepicker/datepicker-toggle.mjs +1 -1
  75. package/esm2022/dialog/dialog-container.mjs +52 -77
  76. package/esm2022/dialog/dialog-ref.mjs +1 -1
  77. package/esm2022/dialog/dialog.mjs +16 -46
  78. package/esm2022/dialog/public-api.mjs +2 -2
  79. package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
  80. package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
  81. package/esm2022/dialog/testing/index.mjs +2 -2
  82. package/esm2022/form-field/form-field.mjs +3 -3
  83. package/esm2022/form-field/testing/error-harness.mjs +10 -12
  84. package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
  85. package/esm2022/list/action-list.mjs +2 -2
  86. package/esm2022/list/list.mjs +2 -2
  87. package/esm2022/list/nav-list.mjs +2 -2
  88. package/esm2022/list/selection-list.mjs +2 -2
  89. package/esm2022/menu/menu-content.mjs +9 -16
  90. package/esm2022/menu/menu-trigger.mjs +14 -25
  91. package/esm2022/menu/menu.mjs +15 -29
  92. package/esm2022/menu/public-api.mjs +3 -3
  93. package/esm2022/menu/testing/menu-harness.mjs +29 -43
  94. package/esm2022/paginator/paginator.mjs +24 -38
  95. package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
  96. package/esm2022/progress-bar/progress-bar.mjs +2 -2
  97. package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
  98. package/esm2022/radio/radio.mjs +58 -83
  99. package/esm2022/radio/testing/radio-harness.mjs +31 -38
  100. package/esm2022/select/select.mjs +194 -212
  101. package/esm2022/select/testing/select-harness.mjs +18 -23
  102. package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
  103. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
  104. package/esm2022/slider/slider.mjs +2 -2
  105. package/esm2022/snack-bar/simple-snack-bar.mjs +1 -1
  106. package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
  107. package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
  108. package/esm2022/snack-bar/snack-bar.mjs +11 -25
  109. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
  110. package/esm2022/table/table-data-source.mjs +15 -18
  111. package/esm2022/table/testing/cell-harness.mjs +4 -4
  112. package/esm2022/table/testing/row-harness.mjs +4 -4
  113. package/esm2022/table/testing/table-harness.mjs +22 -24
  114. package/esm2022/tabs/public-api.mjs +7 -8
  115. package/esm2022/tabs/tab-body.mjs +13 -29
  116. package/esm2022/tabs/tab-group.mjs +55 -79
  117. package/esm2022/tabs/tab-header.mjs +13 -34
  118. package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
  119. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
  120. package/esm2022/tabs/tab.mjs +25 -37
  121. package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
  122. package/esm2022/tooltip/tooltip.mjs +68 -101
  123. package/fesm2022/autocomplete/testing.mjs +20 -33
  124. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  125. package/fesm2022/autocomplete.mjs +96 -126
  126. package/fesm2022/autocomplete.mjs.map +1 -1
  127. package/fesm2022/button/testing.mjs +2 -2
  128. package/fesm2022/button/testing.mjs.map +1 -1
  129. package/fesm2022/button.mjs +61 -63
  130. package/fesm2022/button.mjs.map +1 -1
  131. package/fesm2022/card.mjs +2 -2
  132. package/fesm2022/card.mjs.map +1 -1
  133. package/fesm2022/checkbox/testing.mjs +41 -36
  134. package/fesm2022/checkbox/testing.mjs.map +1 -1
  135. package/fesm2022/checkbox.mjs +72 -79
  136. package/fesm2022/checkbox.mjs.map +1 -1
  137. package/fesm2022/core.mjs +49 -61
  138. package/fesm2022/core.mjs.map +1 -1
  139. package/fesm2022/datepicker.mjs +3 -3
  140. package/fesm2022/datepicker.mjs.map +1 -1
  141. package/fesm2022/dialog/testing.mjs +30 -43
  142. package/fesm2022/dialog/testing.mjs.map +1 -1
  143. package/fesm2022/dialog.mjs +67 -122
  144. package/fesm2022/dialog.mjs.map +1 -1
  145. package/fesm2022/form-field/testing.mjs +54 -59
  146. package/fesm2022/form-field/testing.mjs.map +1 -1
  147. package/fesm2022/form-field.mjs +2 -2
  148. package/fesm2022/form-field.mjs.map +1 -1
  149. package/fesm2022/list.mjs +8 -8
  150. package/fesm2022/list.mjs.map +1 -1
  151. package/fesm2022/menu/testing.mjs +30 -44
  152. package/fesm2022/menu/testing.mjs.map +1 -1
  153. package/fesm2022/menu.mjs +34 -66
  154. package/fesm2022/menu.mjs.map +1 -1
  155. package/fesm2022/paginator/testing.mjs +25 -27
  156. package/fesm2022/paginator/testing.mjs.map +1 -1
  157. package/fesm2022/paginator.mjs +24 -38
  158. package/fesm2022/paginator.mjs.map +1 -1
  159. package/fesm2022/progress-bar.mjs +2 -2
  160. package/fesm2022/progress-bar.mjs.map +1 -1
  161. package/fesm2022/progress-spinner.mjs +2 -2
  162. package/fesm2022/progress-spinner.mjs.map +1 -1
  163. package/fesm2022/radio/testing.mjs +31 -38
  164. package/fesm2022/radio/testing.mjs.map +1 -1
  165. package/fesm2022/radio.mjs +59 -84
  166. package/fesm2022/radio.mjs.map +1 -1
  167. package/fesm2022/select/testing.mjs +18 -23
  168. package/fesm2022/select/testing.mjs.map +1 -1
  169. package/fesm2022/select.mjs +196 -214
  170. package/fesm2022/select.mjs.map +1 -1
  171. package/fesm2022/slide-toggle/testing.mjs +33 -40
  172. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  173. package/fesm2022/slide-toggle.mjs +43 -53
  174. package/fesm2022/slide-toggle.mjs.map +1 -1
  175. package/fesm2022/slider.mjs +2 -2
  176. package/fesm2022/slider.mjs.map +1 -1
  177. package/fesm2022/snack-bar/testing.mjs +19 -32
  178. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  179. package/fesm2022/snack-bar.mjs +27 -56
  180. package/fesm2022/snack-bar.mjs.map +1 -1
  181. package/fesm2022/table/testing.mjs +28 -30
  182. package/fesm2022/table/testing.mjs.map +1 -1
  183. package/fesm2022/table.mjs +15 -18
  184. package/fesm2022/table.mjs.map +1 -1
  185. package/fesm2022/tabs.mjs +234 -368
  186. package/fesm2022/tabs.mjs.map +1 -1
  187. package/fesm2022/tooltip/testing.mjs +21 -23
  188. package/fesm2022/tooltip/testing.mjs.map +1 -1
  189. package/fesm2022/tooltip.mjs +69 -102
  190. package/fesm2022/tooltip.mjs.map +1 -1
  191. package/form-field/_form-field-density.scss +3 -4
  192. package/form-field/_form-field-focus-overlay.scss +13 -18
  193. package/form-field/_form-field-native-select.scss +30 -67
  194. package/form-field/_form-field-subscript.scss +4 -8
  195. package/form-field/_form-field-theme.scss +33 -76
  196. package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
  197. package/form-field/testing/index.d.ts +14 -44
  198. package/input/_input-theme.scss +11 -23
  199. package/list/_list-theme.scss +34 -40
  200. package/menu/index.d.ts +22 -44
  201. package/menu/testing/index.d.ts +6 -23
  202. package/package.json +7 -286
  203. package/paginator/_paginator-theme.scss +15 -24
  204. package/paginator/index.d.ts +6 -22
  205. package/paginator/testing/index.d.ts +9 -22
  206. package/prebuilt-themes/deeppurple-amber.css +1 -1
  207. package/prebuilt-themes/indigo-pink.css +1 -1
  208. package/prebuilt-themes/pink-bluegrey.css +1 -1
  209. package/prebuilt-themes/purple-green.css +1 -1
  210. package/progress-bar/_progress-bar-theme.scss +25 -23
  211. package/progress-spinner/_progress-spinner-theme.scss +14 -3
  212. package/radio/_radio-theme.scss +23 -38
  213. package/radio/index.d.ts +22 -45
  214. package/radio/testing/index.d.ts +7 -23
  215. package/schematics/migration.json +4 -4
  216. package/schematics/ng-add/index.js +2 -2
  217. package/schematics/ng-add/index.mjs +2 -2
  218. package/schematics/ng-update/index_bundled.js +4 -4
  219. package/schematics/ng-update/index_bundled.js.map +1 -1
  220. package/select/index.d.ts +47 -68
  221. package/select/testing/index.d.ts +9 -22
  222. package/slide-toggle/_slide-toggle-theme.scss +23 -40
  223. package/slide-toggle/index.d.ts +17 -27
  224. package/slide-toggle/testing/index.d.ts +6 -13
  225. package/slider/_slider-theme.scss +65 -82
  226. package/snack-bar/_snack-bar-theme.scss +10 -2
  227. package/snack-bar/index.d.ts +40 -62
  228. package/snack-bar/testing/index.d.ts +5 -20
  229. package/table/index.d.ts +2 -31
  230. package/table/testing/index.d.ts +17 -34
  231. package/tabs/index.d.ts +60 -144
  232. package/tooltip/_tooltip-theme.scss +12 -3
  233. package/tooltip/index.d.ts +26 -49
  234. package/tooltip/testing/index.d.ts +7 -17
  235. package/_theming.scss +0 -43
  236. package/_token-theming.scss +0 -2
  237. package/autocomplete/_autocomplete-theme.import.scss +0 -1
  238. package/badge/_badge-legacy-index.scss +0 -3
  239. package/badge/_badge-theme.import.scss +0 -11
  240. package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
  241. package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
  242. package/button/_button-base.import.scss +0 -4
  243. package/button/_button-theme.import.scss +0 -13
  244. package/button-toggle/_button-toggle-legacy-index.scss +0 -2
  245. package/button-toggle/_button-toggle-theme.import.scss +0 -15
  246. package/button-toggle/_button-toggle-variables.import.scss +0 -1
  247. package/button-toggle/_button-toggle-variables.scss +0 -16
  248. package/card/_card-theme.import.scss +0 -3
  249. package/checkbox/_checkbox-theme.import.scss +0 -10
  250. package/chips/_chips-theme.import.scss +0 -4
  251. package/core/_core-legacy-index.scss +0 -16
  252. package/core/_core.import.scss +0 -60
  253. package/core/color/_all-color.import.scss +0 -53
  254. package/core/color/_color-legacy-index.scss +0 -1
  255. package/core/density/private/_all-density.import.scss +0 -15
  256. package/core/density/private/_compatibility.import.scss +0 -4
  257. package/core/density/private/_density-legacy-index.scss +0 -5
  258. package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
  259. package/core/focus-indicators/_focus-indicators.import.scss +0 -23
  260. package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
  261. package/core/option/_optgroup-theme.import.scss +0 -4
  262. package/core/option/_option-legacy-index.scss +0 -5
  263. package/core/option/_option-theme.import.scss +0 -4
  264. package/core/ripple/_ripple-legacy-index.scss +0 -3
  265. package/core/ripple/_ripple.import.scss +0 -20
  266. package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
  267. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
  268. package/core/style/_button-common.import.scss +0 -4
  269. package/core/style/_checkbox-common.import.scss +0 -11
  270. package/core/style/_elevation.import.scss +0 -17
  271. package/core/style/_form-common.import.scss +0 -16
  272. package/core/style/_layout-common.import.scss +0 -1
  273. package/core/style/_list-common.import.scss +0 -2
  274. package/core/style/_menu-common.import.scss +0 -18
  275. package/core/style/_private.import.scss +0 -15
  276. package/core/style/_style-legacy-index.scss +0 -24
  277. package/core/style/_variables.import.scss +0 -8
  278. package/core/style/_vendor-prefixes.import.scss +0 -1
  279. package/core/theming/_all-theme.import.scss +0 -86
  280. package/core/theming/_palette.import.scss +0 -12
  281. package/core/theming/_theming-legacy-index.scss +0 -22
  282. package/core/theming/_theming.import.scss +0 -24
  283. package/core/typography/_all-typography.import.scss +0 -76
  284. package/core/typography/_typography-legacy-index.scss +0 -18
  285. package/core/typography/_typography-utils.import.scss +0 -9
  286. package/core/typography/_typography.import.scss +0 -14
  287. package/datepicker/_datepicker-legacy-index.scss +0 -9
  288. package/datepicker/_datepicker-theme.import.scss +0 -17
  289. package/dialog/_dialog-legacy-padding.import.scss +0 -1
  290. package/dialog/_dialog-theme.import.scss +0 -1
  291. package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  292. package/divider/_divider-legacy-index.scss +0 -3
  293. package/divider/_divider-offset.import.scss +0 -1
  294. package/divider/_divider-theme.import.scss +0 -6
  295. package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
  296. package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
  297. package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
  298. package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
  299. package/esm2022/legacy-autocomplete/index.mjs +0 -9
  300. package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
  301. package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
  302. package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  303. package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
  304. package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
  305. package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
  306. package/esm2022/legacy-button/button-module.mjs +0 -29
  307. package/esm2022/legacy-button/button.mjs +0 -177
  308. package/esm2022/legacy-button/index.mjs +0 -9
  309. package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
  310. package/esm2022/legacy-button/public-api.mjs +0 -10
  311. package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
  312. package/esm2022/legacy-button/testing/index.mjs +0 -9
  313. package/esm2022/legacy-button/testing/public-api.mjs +0 -9
  314. package/esm2022/legacy-card/card-module.mjs +0 -87
  315. package/esm2022/legacy-card/card.mjs +0 -276
  316. package/esm2022/legacy-card/index.mjs +0 -9
  317. package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
  318. package/esm2022/legacy-card/public-api.mjs +0 -10
  319. package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
  320. package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
  321. package/esm2022/legacy-card/testing/index.mjs +0 -9
  322. package/esm2022/legacy-card/testing/public-api.mjs +0 -9
  323. package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
  324. package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
  325. package/esm2022/legacy-checkbox/index.mjs +0 -9
  326. package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
  327. package/esm2022/legacy-checkbox/public-api.mjs +0 -36
  328. package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
  329. package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
  330. package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
  331. package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
  332. package/esm2022/legacy-chips/chip-input.mjs +0 -198
  333. package/esm2022/legacy-chips/chip-list.mjs +0 -718
  334. package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
  335. package/esm2022/legacy-chips/chip.mjs +0 -445
  336. package/esm2022/legacy-chips/chips-module.mjs +0 -68
  337. package/esm2022/legacy-chips/index.mjs +0 -9
  338. package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
  339. package/esm2022/legacy-chips/public-api.mjs +0 -13
  340. package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
  341. package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
  342. package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
  343. package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
  344. package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
  345. package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
  346. package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
  347. package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
  348. package/esm2022/legacy-chips/testing/index.mjs +0 -9
  349. package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
  350. package/esm2022/legacy-core/index.mjs +0 -9
  351. package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
  352. package/esm2022/legacy-core/option/index.mjs +0 -69
  353. package/esm2022/legacy-core/option/optgroup.mjs +0 -30
  354. package/esm2022/legacy-core/option/option.mjs +0 -54
  355. package/esm2022/legacy-core/public-api.mjs +0 -170
  356. package/esm2022/legacy-core/testing/index.mjs +0 -9
  357. package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
  358. package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
  359. package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
  360. package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
  361. package/esm2022/legacy-core/testing/public-api.mjs +0 -12
  362. package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
  363. package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
  364. package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
  365. package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -209
  366. package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
  367. package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
  368. package/esm2022/legacy-dialog/dialog.mjs +0 -106
  369. package/esm2022/legacy-dialog/index.mjs +0 -9
  370. package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
  371. package/esm2022/legacy-dialog/public-api.mjs +0 -40
  372. package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
  373. package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
  374. package/esm2022/legacy-dialog/testing/index.mjs +0 -9
  375. package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
  376. package/esm2022/legacy-form-field/error.mjs +0 -46
  377. package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
  378. package/esm2022/legacy-form-field/form-field.mjs +0 -530
  379. package/esm2022/legacy-form-field/hint.mjs +0 -56
  380. package/esm2022/legacy-form-field/index.mjs +0 -9
  381. package/esm2022/legacy-form-field/label.mjs +0 -25
  382. package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
  383. package/esm2022/legacy-form-field/placeholder.mjs +0 -26
  384. package/esm2022/legacy-form-field/prefix.mjs +0 -27
  385. package/esm2022/legacy-form-field/public-api.mjs +0 -62
  386. package/esm2022/legacy-form-field/suffix.mjs +0 -27
  387. package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
  388. package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
  389. package/esm2022/legacy-form-field/testing/index.mjs +0 -9
  390. package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
  391. package/esm2022/legacy-input/index.mjs +0 -9
  392. package/esm2022/legacy-input/input-module.mjs +0 -45
  393. package/esm2022/legacy-input/input.mjs +0 -62
  394. package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
  395. package/esm2022/legacy-input/public-api.mjs +0 -21
  396. package/esm2022/legacy-input/testing/index.mjs +0 -9
  397. package/esm2022/legacy-input/testing/public-api.mjs +0 -24
  398. package/esm2022/legacy-list/index.mjs +0 -9
  399. package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
  400. package/esm2022/legacy-list/list-module.mjs +0 -75
  401. package/esm2022/legacy-list/list.mjs +0 -223
  402. package/esm2022/legacy-list/public-api.mjs +0 -22
  403. package/esm2022/legacy-list/selection-list.mjs +0 -619
  404. package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
  405. package/esm2022/legacy-list/testing/index.mjs +0 -9
  406. package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
  407. package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
  408. package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
  409. package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
  410. package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
  411. package/esm2022/legacy-list/testing/public-api.mjs +0 -12
  412. package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
  413. package/esm2022/legacy-menu/index.mjs +0 -9
  414. package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
  415. package/esm2022/legacy-menu/menu-content.mjs +0 -27
  416. package/esm2022/legacy-menu/menu-item.mjs +0 -41
  417. package/esm2022/legacy-menu/menu-module.mjs +0 -50
  418. package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
  419. package/esm2022/legacy-menu/menu.mjs +0 -40
  420. package/esm2022/legacy-menu/public-api.mjs +0 -49
  421. package/esm2022/legacy-menu/testing/index.mjs +0 -9
  422. package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
  423. package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
  424. package/esm2022/legacy-paginator/index.mjs +0 -9
  425. package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
  426. package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
  427. package/esm2022/legacy-paginator/paginator.mjs +0 -53
  428. package/esm2022/legacy-paginator/public-api.mjs +0 -36
  429. package/esm2022/legacy-paginator/testing/index.mjs +0 -9
  430. package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
  431. package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
  432. package/esm2022/legacy-progress-bar/index.mjs +0 -9
  433. package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
  434. package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
  435. package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
  436. package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
  437. package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
  438. package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
  439. package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
  440. package/esm2022/legacy-progress-spinner/index.mjs +0 -9
  441. package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
  442. package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
  443. package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
  444. package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
  445. package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
  446. package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
  447. package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
  448. package/esm2022/legacy-radio/index.mjs +0 -9
  449. package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
  450. package/esm2022/legacy-radio/public-api.mjs +0 -31
  451. package/esm2022/legacy-radio/radio-module.mjs +0 -29
  452. package/esm2022/legacy-radio/radio.mjs +0 -112
  453. package/esm2022/legacy-radio/testing/index.mjs +0 -9
  454. package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
  455. package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
  456. package/esm2022/legacy-select/index.mjs +0 -9
  457. package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
  458. package/esm2022/legacy-select/public-api.mjs +0 -37
  459. package/esm2022/legacy-select/select-animations.mjs +0 -56
  460. package/esm2022/legacy-select/select-errors.mjs +0 -39
  461. package/esm2022/legacy-select/select-module.mjs +0 -51
  462. package/esm2022/legacy-select/select.mjs +0 -447
  463. package/esm2022/legacy-select/testing/index.mjs +0 -9
  464. package/esm2022/legacy-select/testing/public-api.mjs +0 -9
  465. package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
  466. package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
  467. package/esm2022/legacy-slide-toggle/index.mjs +0 -9
  468. package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
  469. package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
  470. package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
  471. package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
  472. package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
  473. package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
  474. package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
  475. package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
  476. package/esm2022/legacy-slider/index.mjs +0 -9
  477. package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
  478. package/esm2022/legacy-slider/public-api.mjs +0 -10
  479. package/esm2022/legacy-slider/slider-module.mjs +0 -30
  480. package/esm2022/legacy-slider/slider.mjs +0 -847
  481. package/esm2022/legacy-slider/testing/index.mjs +0 -9
  482. package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
  483. package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
  484. package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
  485. package/esm2022/legacy-snack-bar/index.mjs +0 -9
  486. package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
  487. package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
  488. package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
  489. package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
  490. package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
  491. package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
  492. package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
  493. package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
  494. package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
  495. package/esm2022/legacy-table/cell.mjs +0 -163
  496. package/esm2022/legacy-table/index.mjs +0 -9
  497. package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
  498. package/esm2022/legacy-table/public-api.mjs +0 -20
  499. package/esm2022/legacy-table/row.mjs +0 -165
  500. package/esm2022/legacy-table/table-data-source.mjs +0 -27
  501. package/esm2022/legacy-table/table-module.mjs +0 -98
  502. package/esm2022/legacy-table/table.mjs +0 -72
  503. package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
  504. package/esm2022/legacy-table/testing/index.mjs +0 -9
  505. package/esm2022/legacy-table/testing/public-api.mjs +0 -27
  506. package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
  507. package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
  508. package/esm2022/legacy-table/text-column.mjs +0 -65
  509. package/esm2022/legacy-tabs/index.mjs +0 -9
  510. package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
  511. package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
  512. package/esm2022/legacy-tabs/public-api.mjs +0 -94
  513. package/esm2022/legacy-tabs/tab-body.mjs +0 -64
  514. package/esm2022/legacy-tabs/tab-content.mjs +0 -27
  515. package/esm2022/legacy-tabs/tab-group.mjs +0 -72
  516. package/esm2022/legacy-tabs/tab-header.mjs +0 -75
  517. package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
  518. package/esm2022/legacy-tabs/tab-label.mjs +0 -27
  519. package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
  520. package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
  521. package/esm2022/legacy-tabs/tab.mjs +0 -46
  522. package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
  523. package/esm2022/legacy-tabs/testing/index.mjs +0 -9
  524. package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
  525. package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
  526. package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
  527. package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
  528. package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
  529. package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
  530. package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
  531. package/esm2022/legacy-tooltip/index.mjs +0 -9
  532. package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
  533. package/esm2022/legacy-tooltip/public-api.mjs +0 -47
  534. package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
  535. package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
  536. package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
  537. package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
  538. package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
  539. package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
  540. package/expansion/_expansion-legacy-index.scss +0 -2
  541. package/expansion/_expansion-theme.import.scss +0 -12
  542. package/expansion/_expansion-variables.import.scss +0 -1
  543. package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
  544. package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
  545. package/fesm2022/legacy-autocomplete.mjs +0 -146
  546. package/fesm2022/legacy-autocomplete.mjs.map +0 -1
  547. package/fesm2022/legacy-button/testing.mjs +0 -78
  548. package/fesm2022/legacy-button/testing.mjs.map +0 -1
  549. package/fesm2022/legacy-button.mjs +0 -194
  550. package/fesm2022/legacy-button.mjs.map +0 -1
  551. package/fesm2022/legacy-card/testing.mjs +0 -43
  552. package/fesm2022/legacy-card/testing.mjs.map +0 -1
  553. package/fesm2022/legacy-card.mjs +0 -353
  554. package/fesm2022/legacy-card.mjs.map +0 -1
  555. package/fesm2022/legacy-checkbox/testing.mjs +0 -42
  556. package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
  557. package/fesm2022/legacy-checkbox.mjs +0 -157
  558. package/fesm2022/legacy-checkbox.mjs.map +0 -1
  559. package/fesm2022/legacy-chips/testing.mjs +0 -365
  560. package/fesm2022/legacy-chips/testing.mjs.map +0 -1
  561. package/fesm2022/legacy-chips.mjs +0 -1399
  562. package/fesm2022/legacy-chips.mjs.map +0 -1
  563. package/fesm2022/legacy-core/testing.mjs +0 -92
  564. package/fesm2022/legacy-core/testing.mjs.map +0 -1
  565. package/fesm2022/legacy-core.mjs +0 -92
  566. package/fesm2022/legacy-core.mjs.map +0 -1
  567. package/fesm2022/legacy-dialog/testing.mjs +0 -80
  568. package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
  569. package/fesm2022/legacy-dialog.mjs +0 -449
  570. package/fesm2022/legacy-dialog.mjs.map +0 -1
  571. package/fesm2022/legacy-form-field/testing.mjs +0 -87
  572. package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
  573. package/fesm2022/legacy-form-field.mjs +0 -726
  574. package/fesm2022/legacy-form-field.mjs.map +0 -1
  575. package/fesm2022/legacy-input/testing.mjs +0 -2
  576. package/fesm2022/legacy-input/testing.mjs.map +0 -1
  577. package/fesm2022/legacy-input.mjs +0 -97
  578. package/fesm2022/legacy-input.mjs.map +0 -1
  579. package/fesm2022/legacy-list/testing.mjs +0 -436
  580. package/fesm2022/legacy-list/testing.mjs.map +0 -1
  581. package/fesm2022/legacy-list.mjs +0 -891
  582. package/fesm2022/legacy-list.mjs.map +0 -1
  583. package/fesm2022/legacy-menu/testing.mjs +0 -52
  584. package/fesm2022/legacy-menu/testing.mjs.map +0 -1
  585. package/fesm2022/legacy-menu.mjs +0 -145
  586. package/fesm2022/legacy-menu.mjs.map +0 -1
  587. package/fesm2022/legacy-paginator/testing.mjs +0 -38
  588. package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
  589. package/fesm2022/legacy-paginator.mjs +0 -92
  590. package/fesm2022/legacy-paginator.mjs.map +0 -1
  591. package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
  592. package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
  593. package/fesm2022/legacy-progress-bar.mjs +0 -210
  594. package/fesm2022/legacy-progress-bar.mjs.map +0 -1
  595. package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
  596. package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
  597. package/fesm2022/legacy-progress-spinner.mjs +0 -312
  598. package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
  599. package/fesm2022/legacy-radio/testing.mjs +0 -54
  600. package/fesm2022/legacy-radio/testing.mjs.map +0 -1
  601. package/fesm2022/legacy-radio.mjs +0 -130
  602. package/fesm2022/legacy-radio.mjs.map +0 -1
  603. package/fesm2022/legacy-select/testing.mjs +0 -32
  604. package/fesm2022/legacy-select/testing.mjs.map +0 -1
  605. package/fesm2022/legacy-select.mjs +0 -541
  606. package/fesm2022/legacy-select.mjs.map +0 -1
  607. package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
  608. package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
  609. package/fesm2022/legacy-slide-toggle.mjs +0 -177
  610. package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
  611. package/fesm2022/legacy-slider/testing.mjs +0 -118
  612. package/fesm2022/legacy-slider/testing.mjs.map +0 -1
  613. package/fesm2022/legacy-slider.mjs +0 -863
  614. package/fesm2022/legacy-slider.mjs.map +0 -1
  615. package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
  616. package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
  617. package/fesm2022/legacy-snack-bar.mjs +0 -128
  618. package/fesm2022/legacy-snack-bar.mjs.map +0 -1
  619. package/fesm2022/legacy-table/testing.mjs +0 -150
  620. package/fesm2022/legacy-table/testing.mjs.map +0 -1
  621. package/fesm2022/legacy-table.mjs +0 -538
  622. package/fesm2022/legacy-table.mjs.map +0 -1
  623. package/fesm2022/legacy-tabs/testing.mjs +0 -239
  624. package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
  625. package/fesm2022/legacy-tabs.mjs +0 -549
  626. package/fesm2022/legacy-tabs.mjs.map +0 -1
  627. package/fesm2022/legacy-tooltip/testing.mjs +0 -31
  628. package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
  629. package/fesm2022/legacy-tooltip.mjs +0 -148
  630. package/fesm2022/legacy-tooltip.mjs.map +0 -1
  631. package/form-field/_form-field-theme.import.scss +0 -29
  632. package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
  633. package/grid-list/_grid-list-legacy-index.scss +0 -2
  634. package/grid-list/_grid-list-theme.import.scss +0 -10
  635. package/icon/_icon-legacy-index.scss +0 -2
  636. package/icon/_icon-theme.import.scss +0 -5
  637. package/input/_input-theme.import.scss +0 -1
  638. package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
  639. package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
  640. package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
  641. package/legacy-autocomplete/index.d.ts +0 -115
  642. package/legacy-autocomplete/testing/index.d.ts +0 -41
  643. package/legacy-button/_button-base.import.scss +0 -21
  644. package/legacy-button/_button-base.scss +0 -114
  645. package/legacy-button/_button-legacy-index.scss +0 -22
  646. package/legacy-button/_button-theme.import.scss +0 -11
  647. package/legacy-button/_button-theme.scss +0 -223
  648. package/legacy-button/index.d.ts +0 -87
  649. package/legacy-button/testing/index.d.ts +0 -49
  650. package/legacy-card/_card-legacy-index.scss +0 -2
  651. package/legacy-card/_card-theme.import.scss +0 -10
  652. package/legacy-card/_card-theme.scss +0 -78
  653. package/legacy-card/index.d.ts +0 -201
  654. package/legacy-card/testing/index.d.ts +0 -56
  655. package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
  656. package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
  657. package/legacy-checkbox/_checkbox-theme.scss +0 -138
  658. package/legacy-checkbox/index.d.ts +0 -116
  659. package/legacy-checkbox/testing/index.d.ts +0 -30
  660. package/legacy-chips/_chips-legacy-index.scss +0 -7
  661. package/legacy-chips/_chips-theme.import.scss +0 -14
  662. package/legacy-chips/_chips-theme.scss +0 -133
  663. package/legacy-chips/index.d.ts +0 -705
  664. package/legacy-chips/testing/index.d.ts +0 -316
  665. package/legacy-core/_core-theme.scss +0 -65
  666. package/legacy-core/_core.import.scss +0 -5
  667. package/legacy-core/_core.scss +0 -18
  668. package/legacy-core/color/_all-color.import.scss +0 -4
  669. package/legacy-core/color/_all-color.scss +0 -28
  670. package/legacy-core/density/private/_all-density.import.scss +0 -3
  671. package/legacy-core/density/private/_all-density.scss +0 -46
  672. package/legacy-core/density/private/_compatibility.import.scss +0 -4
  673. package/legacy-core/density/private/_compatibility.scss +0 -74
  674. package/legacy-core/index.d.ts +0 -218
  675. package/legacy-core/option/_optgroup-theme.import.scss +0 -27
  676. package/legacy-core/option/_optgroup-theme.scss +0 -52
  677. package/legacy-core/option/_option-legacy-index.scss +0 -5
  678. package/legacy-core/option/_option-theme.import.scss +0 -27
  679. package/legacy-core/option/_option-theme.scss +0 -86
  680. package/legacy-core/testing/index.d.ts +0 -80
  681. package/legacy-core/theming/_all-theme.import.scss +0 -3
  682. package/legacy-core/theming/_all-theme.scss +0 -89
  683. package/legacy-core/typography/_all-typography.import.scss +0 -4
  684. package/legacy-core/typography/_all-typography.scss +0 -105
  685. package/legacy-dialog/_dialog-legacy-index.scss +0 -2
  686. package/legacy-dialog/_dialog-theme.import.scss +0 -10
  687. package/legacy-dialog/_dialog-theme.scss +0 -53
  688. package/legacy-dialog/index.d.ts +0 -271
  689. package/legacy-dialog/testing/index.d.ts +0 -63
  690. package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
  691. package/legacy-form-field/_form-field-fill-theme.scss +0 -136
  692. package/legacy-form-field/_form-field-legacy-index.scss +0 -29
  693. package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
  694. package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
  695. package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
  696. package/legacy-form-field/_form-field-outline-theme.scss +0 -167
  697. package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
  698. package/legacy-form-field/_form-field-standard-theme.scss +0 -55
  699. package/legacy-form-field/_form-field-theme.import.scss +0 -29
  700. package/legacy-form-field/_form-field-theme.scss +0 -278
  701. package/legacy-form-field/index.d.ts +0 -370
  702. package/legacy-form-field/testing/index.d.ts +0 -76
  703. package/legacy-input/_input-legacy-index.scss +0 -2
  704. package/legacy-input/_input-theme.import.scss +0 -11
  705. package/legacy-input/_input-theme.scss +0 -115
  706. package/legacy-input/index.d.ts +0 -41
  707. package/legacy-input/testing/index.d.ts +0 -20
  708. package/legacy-list/_list-legacy-index.scss +0 -2
  709. package/legacy-list/_list-theme.import.scss +0 -10
  710. package/legacy-list/_list-theme.scss +0 -124
  711. package/legacy-list/index.d.ts +0 -396
  712. package/legacy-list/testing/index.d.ts +0 -419
  713. package/legacy-menu/_menu-legacy-index.scss +0 -2
  714. package/legacy-menu/_menu-theme.import.scss +0 -10
  715. package/legacy-menu/_menu-theme.scss +0 -84
  716. package/legacy-menu/index.d.ts +0 -127
  717. package/legacy-menu/testing/index.d.ts +0 -47
  718. package/legacy-paginator/_paginator-legacy-index.scss +0 -2
  719. package/legacy-paginator/_paginator-theme.import.scss +0 -11
  720. package/legacy-paginator/_paginator-theme.scss +0 -92
  721. package/legacy-paginator/_paginator-variables.import.scss +0 -1
  722. package/legacy-paginator/_paginator-variables.scss +0 -13
  723. package/legacy-paginator/index.d.ts +0 -87
  724. package/legacy-paginator/testing/index.d.ts +0 -36
  725. package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
  726. package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
  727. package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
  728. package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
  729. package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
  730. package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
  731. package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
  732. package/legacy-progress-bar/index.d.ts +0 -131
  733. package/legacy-progress-bar/testing/index.d.ts +0 -28
  734. package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
  735. package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
  736. package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
  737. package/legacy-progress-spinner/index.d.ts +0 -129
  738. package/legacy-progress-spinner/testing/index.d.ts +0 -29
  739. package/legacy-radio/_radio-legacy-index.scss +0 -2
  740. package/legacy-radio/_radio-theme.import.scss +0 -8
  741. package/legacy-radio/_radio-theme.scss +0 -104
  742. package/legacy-radio/index.d.ts +0 -75
  743. package/legacy-radio/testing/index.d.ts +0 -50
  744. package/legacy-select/_select-legacy-index.scss +0 -2
  745. package/legacy-select/_select-theme.import.scss +0 -11
  746. package/legacy-select/_select-theme.scss +0 -107
  747. package/legacy-select/index.d.ts +0 -230
  748. package/legacy-select/testing/index.d.ts +0 -38
  749. package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
  750. package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  751. package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
  752. package/legacy-slide-toggle/index.d.ts +0 -113
  753. package/legacy-slide-toggle/testing/index.d.ts +0 -34
  754. package/legacy-slider/_slider-legacy-index.scss +0 -3
  755. package/legacy-slider/_slider-theme.import.scss +0 -8
  756. package/legacy-slider/_slider-theme.scss +0 -210
  757. package/legacy-slider/index.d.ts +0 -303
  758. package/legacy-slider/testing/index.d.ts +0 -68
  759. package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
  760. package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
  761. package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
  762. package/legacy-snack-bar/index.d.ts +0 -118
  763. package/legacy-snack-bar/testing/index.d.ts +0 -28
  764. package/legacy-table/_table-legacy-index.scss +0 -3
  765. package/legacy-table/_table-theme.import.scss +0 -8
  766. package/legacy-table/_table-theme.scss +0 -78
  767. package/legacy-table/index.d.ts +0 -298
  768. package/legacy-table/testing/index.d.ts +0 -149
  769. package/legacy-tabs/_tabs-common.import.scss +0 -11
  770. package/legacy-tabs/_tabs-common.scss +0 -173
  771. package/legacy-tabs/_tabs-legacy-index.scss +0 -6
  772. package/legacy-tabs/_tabs-theme.import.scss +0 -9
  773. package/legacy-tabs/_tabs-theme.scss +0 -188
  774. package/legacy-tabs/index.d.ts +0 -338
  775. package/legacy-tabs/testing/index.d.ts +0 -195
  776. package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
  777. package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
  778. package/legacy-tooltip/_tooltip-theme.scss +0 -67
  779. package/legacy-tooltip/index.d.ts +0 -117
  780. package/legacy-tooltip/testing/index.d.ts +0 -30
  781. package/list/_list-theme.import.scss +0 -1
  782. package/menu/_menu-theme.import.scss +0 -2
  783. package/paginator/_paginator-theme.import.scss +0 -6
  784. package/paginator/_paginator-variables.import.scss +0 -1
  785. package/paginator/_paginator-variables.scss +0 -15
  786. package/progress-bar/_progress-bar-theme.import.scss +0 -3
  787. package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
  788. package/radio/_radio-theme.import.scss +0 -4
  789. package/select/_select-theme.import.scss +0 -7
  790. package/sidenav/_sidenav-legacy-index.scss +0 -2
  791. package/sidenav/_sidenav-theme.import.scss +0 -8
  792. package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
  793. package/slider/_slider-theme.import.scss +0 -2
  794. package/snack-bar/_snack-bar-theme.import.scss +0 -5
  795. package/sort/_sort-legacy-index.scss +0 -2
  796. package/sort/_sort-theme.import.scss +0 -5
  797. package/stepper/_stepper-legacy-index.scss +0 -7
  798. package/stepper/_stepper-theme.import.scss +0 -16
  799. package/stepper/_stepper-variables.import.scss +0 -6
  800. package/table/_table-flex-styles.import.scss +0 -1
  801. package/table/_table-theme.import.scss +0 -8
  802. package/tabs/_tabs-common.import.scss +0 -11
  803. package/tabs/_tabs-theme.import.scss +0 -5
  804. package/toolbar/_toolbar-legacy-index.scss +0 -4
  805. package/toolbar/_toolbar-theme.import.scss +0 -14
  806. package/toolbar/_toolbar-variables.import.scss +0 -1
  807. package/tooltip/_tooltip-theme.import.scss +0 -2
  808. package/tree/_tree-legacy-index.scss +0 -2
  809. package/tree/_tree-theme.import.scss +0 -9
  810. package/tree/_tree-variables.import.scss +0 -1
package/select/index.d.ts CHANGED
@@ -31,7 +31,6 @@ import { MatFormField } from '@angular/material/form-field';
31
31
  import { MatFormFieldControl } from '@angular/material/form-field';
32
32
  import { MatOptgroup } from '@angular/material/core';
33
33
  import { MatOption } from '@angular/material/core';
34
- import { _MatOptionBase } from '@angular/material/core';
35
34
  import { MatOptionSelectionChange } from '@angular/material/core';
36
35
  import { NgControl } from '@angular/forms';
37
36
  import { NgForm } from '@angular/forms';
@@ -58,9 +57,8 @@ declare namespace i1 {
58
57
  MAT_SELECT_SCROLL_STRATEGY_PROVIDER,
59
58
  MAT_SELECT_TRIGGER,
60
59
  MatSelectChange,
61
- _MatSelectBase,
62
- MatSelectTrigger,
63
- MatSelect
60
+ MatSelect,
61
+ MatSelectTrigger
64
62
  }
65
63
  }
66
64
 
@@ -87,59 +85,7 @@ export declare function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Ove
87
85
  */
88
86
  export declare const MAT_SELECT_TRIGGER: InjectionToken<MatSelectTrigger>;
89
87
 
90
- export declare class MatSelect extends _MatSelectBase<MatSelectChange> implements OnInit {
91
- options: QueryList<MatOption>;
92
- optionGroups: QueryList<MatOptgroup>;
93
- customTrigger: MatSelectTrigger;
94
- /**
95
- * Width of the panel. If set to `auto`, the panel will match the trigger width.
96
- * If set to null or an empty string, the panel will grow to match the longest option's text.
97
- */
98
- panelWidth: string | number | null;
99
- _positions: ConnectedPosition[];
100
- /** Ideal origin for the overlay panel. */
101
- _preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
102
- /** Width of the overlay panel. */
103
- _overlayWidth: string | number;
104
- get shouldLabelFloat(): boolean;
105
- ngOnInit(): void;
106
- open(): void;
107
- close(): void;
108
- /** Scrolls the active option into view. */
109
- protected _scrollOptionIntoView(index: number): void;
110
- protected _positioningSettled(): void;
111
- protected _getChangeEvent(value: any): MatSelectChange;
112
- /** Gets how wide the overlay panel should be. */
113
- private _getOverlayWidth;
114
- /** Whether checkmark indicator for single-selection options is hidden. */
115
- get hideSingleSelectionIndicator(): boolean;
116
- set hideSingleSelectionIndicator(value: BooleanInput);
117
- private _hideSingleSelectionIndicator;
118
- /** Syncs the parent state with the individual options. */
119
- _syncParentProperties(): void;
120
- protected _skipPredicate: (option: MatOption) => boolean;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; }, {}, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false, never>;
123
- }
124
-
125
- /**
126
- * The following are all the animations for the mat-select component, with each
127
- * const containing the metadata for one animation.
128
- *
129
- * The values below match the implementation of the AngularJS Material mat-select animation.
130
- * @docs-private
131
- */
132
- export declare const matSelectAnimations: {
133
- /**
134
- * @deprecated No longer being used. To be removed.
135
- * @breaking-change 12.0.0
136
- */
137
- readonly transformPanelWrap: AnimationTriggerMetadata;
138
- readonly transformPanel: AnimationTriggerMetadata;
139
- };
140
-
141
- /** Base class with all of the `MatSelect` functionality. */
142
- export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, CanDisable, HasTabIndex, MatFormFieldControl<any>, CanUpdateErrorState, CanDisableRipple {
88
+ export declare class MatSelect extends _MatSelectMixinBase implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, CanDisable, HasTabIndex, MatFormFieldControl<any>, CanUpdateErrorState, CanDisableRipple {
143
89
  protected _viewportRuler: ViewportRuler;
144
90
  protected _changeDetectorRef: ChangeDetectorRef;
145
91
  protected _ngZone: NgZone;
@@ -148,24 +94,24 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
148
94
  private _liveAnnouncer;
149
95
  protected _defaultOptions?: MatSelectConfig | undefined;
150
96
  /** All of the defined select options. */
151
- abstract options: QueryList<_MatOptionBase>;
97
+ options: QueryList<MatOption>;
152
98
  /** All of the defined groups of options. */
153
- abstract optionGroups: QueryList<MatOptgroup>;
99
+ optionGroups: QueryList<MatOptgroup>;
154
100
  /** User-supplied override of the trigger element. */
155
- abstract customTrigger: {};
101
+ customTrigger: MatSelectTrigger;
156
102
  /**
157
103
  * This position config ensures that the top "start" corner of the overlay
158
104
  * is aligned with with the top "start" of the origin by default (overlapping
159
105
  * the trigger completely). If the panel cannot fit below the trigger, it
160
106
  * will fall back to a position above the trigger.
161
107
  */
162
- abstract _positions: ConnectedPosition[];
108
+ _positions: ConnectedPosition[];
163
109
  /** Scrolls a particular option into the view. */
164
- protected abstract _scrollOptionIntoView(index: number): void;
110
+ _scrollOptionIntoView(index: number): void;
165
111
  /** Called when the panel has been opened and the overlay has settled on its final position. */
166
- protected abstract _positioningSettled(): void;
112
+ private _positioningSettled;
167
113
  /** Creates a change event object that should be emitted by the select. */
168
- protected abstract _getChangeEvent(value: any): C;
114
+ private _getChangeEvent;
169
115
  /** Factory function used to create a scroll strategy for this select. */
170
116
  private _scrollStrategyFactory;
171
117
  /** Whether or not the overlay panel is open. */
@@ -192,6 +138,10 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
192
138
  _selectionModel: SelectionModel<MatOption>;
193
139
  /** Manages keyboard events for options in the panel. */
194
140
  _keyManager: ActiveDescendantKeyManager<MatOption>;
141
+ /** Ideal origin for the overlay panel. */
142
+ _preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
143
+ /** Width of the overlay panel. */
144
+ _overlayWidth: string | number;
195
145
  /** `View -> model callback called when value changes` */
196
146
  _onChange: (value: any) => void;
197
147
  /** `View -> model callback called when select has been touched` */
@@ -218,6 +168,10 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
218
168
  panelClass: string | string[] | Set<string> | {
219
169
  [key: string]: any;
220
170
  };
171
+ /** Whether checkmark indicator for single-selection options is hidden. */
172
+ get hideSingleSelectionIndicator(): boolean;
173
+ set hideSingleSelectionIndicator(value: BooleanInput);
174
+ private _hideSingleSelectionIndicator;
221
175
  /** Placeholder to be shown if no value has been selected. */
222
176
  get placeholder(): string;
223
177
  set placeholder(value: string);
@@ -264,6 +218,11 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
264
218
  get id(): string;
265
219
  set id(value: string);
266
220
  private _id;
221
+ /**
222
+ * Width of the panel. If set to `auto`, the panel will match the trigger width.
223
+ * If set to null or an empty string, the panel will grow to match the longest option's text.
224
+ */
225
+ panelWidth: string | number | null;
267
226
  /** Combined stream of all of the child options' change events. */
268
227
  readonly optionSelectionChanges: Observable<MatOptionSelectionChange>;
269
228
  /** Event emitted when the select panel has been toggled. */
@@ -273,7 +232,7 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
273
232
  /** Event emitted when the select has been closed. */
274
233
  readonly _closedStream: Observable<void>;
275
234
  /** Event emitted when the selected value has been changed by the user. */
276
- readonly selectionChange: EventEmitter<C>;
235
+ readonly selectionChange: EventEmitter<MatSelectChange>;
277
236
  /**
278
237
  * Event that emits whenever the raw value of the select changes. This is here primarily
279
238
  * to facilitate the two-way binding for the `value` input.
@@ -391,7 +350,11 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
391
350
  private _selectOptionByValue;
392
351
  /** Assigns a specific value to the select. Returns whether the value has changed. */
393
352
  private _assignValue;
394
- protected _skipPredicate(item: MatOption): boolean;
353
+ private _skipPredicate;
354
+ /** Gets how wide the overlay panel should be. */
355
+ private _getOverlayWidth;
356
+ /** Syncs the parent state with the individual options. */
357
+ _syncParentProperties(): void;
395
358
  /** Sets up a key manager to listen to keyboard events on the overlay panel. */
396
359
  private _initKeyManager;
397
360
  /** Drops current option subscriptions and IDs and resets from scratch. */
@@ -434,10 +397,26 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
434
397
  * @docs-private
435
398
  */
436
399
  get shouldLabelFloat(): boolean;
437
- static ɵfac: i0.ɵɵFactoryDeclaration<_MatSelectBase<any>, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
438
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatSelectBase<any>, never, never, { "userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disableOptionCentering": { "alias": "disableOptionCentering"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "typeaheadDebounceInterval": { "alias": "typeaheadDebounceInterval"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "_closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, never, never, false, never>;
400
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
401
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disableOptionCentering": { "alias": "disableOptionCentering"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "typeaheadDebounceInterval": { "alias": "typeaheadDebounceInterval"; "required": false; }; "sortComparator": { "alias": "sortComparator"; "required": false; }; "id": { "alias": "id"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "_closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false, never>;
439
402
  }
440
403
 
404
+ /**
405
+ * The following are all the animations for the mat-select component, with each
406
+ * const containing the metadata for one animation.
407
+ *
408
+ * The values below match the implementation of the AngularJS Material mat-select animation.
409
+ * @docs-private
410
+ */
411
+ export declare const matSelectAnimations: {
412
+ /**
413
+ * @deprecated No longer being used. To be removed.
414
+ * @breaking-change 12.0.0
415
+ */
416
+ readonly transformPanelWrap: AnimationTriggerMetadata;
417
+ readonly transformPanel: AnimationTriggerMetadata;
418
+ };
419
+
441
420
  /** Change event object that is emitted when the select value has changed. */
442
421
  export declare class MatSelectChange {
443
422
  /** Reference to the select that emitted the change event. */
@@ -1,5 +1,4 @@
1
1
  import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- import { ComponentHarness } from '@angular/cdk/testing';
3
2
  import { ComponentHarnessConstructor } from '@angular/cdk/testing';
4
3
  import { HarnessPredicate } from '@angular/cdk/testing';
5
4
  import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
@@ -9,31 +8,19 @@ import { OptgroupHarnessFilters } from '@angular/material/core/testing';
9
8
  import { OptionHarnessFilters } from '@angular/material/core/testing';
10
9
 
11
10
  /** Harness for interacting with an MDC-based mat-select in tests. */
12
- export declare class MatSelectHarness extends _MatSelectHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
11
+ export declare class MatSelectHarness extends MatFormFieldControlHarness {
13
12
  static hostSelector: string;
14
- protected _prefix: string;
15
- protected _optionClass: typeof MatOptionHarness;
16
- protected _optionGroupClass: typeof MatOptgroupHarness;
13
+ private _prefix;
14
+ private _optionClass;
15
+ private _optionGroupClass;
16
+ private _documentRootLocator;
17
+ private _backdrop;
17
18
  /**
18
19
  * Gets a `HarnessPredicate` that can be used to search for a select with specific attributes.
19
20
  * @param options Options for filtering which select instances are considered a match.
20
21
  * @return a `HarnessPredicate` configured with the given options.
21
22
  */
22
23
  static with<T extends MatSelectHarness>(this: ComponentHarnessConstructor<T>, options?: SelectHarnessFilters): HarnessPredicate<T>;
23
- }
24
-
25
- export declare abstract class _MatSelectHarnessBase<OptionType extends ComponentHarnessConstructor<Option> & {
26
- with: (options?: OptionFilters) => HarnessPredicate<Option>;
27
- }, Option extends ComponentHarness & {
28
- click(): Promise<void>;
29
- }, OptionFilters extends BaseHarnessFilters, OptionGroupType extends ComponentHarnessConstructor<OptionGroup> & {
30
- with: (options?: OptionGroupFilters) => HarnessPredicate<OptionGroup>;
31
- }, OptionGroup extends ComponentHarness, OptionGroupFilters extends BaseHarnessFilters> extends MatFormFieldControlHarness {
32
- protected abstract _prefix: string;
33
- protected abstract _optionClass: OptionType;
34
- protected abstract _optionGroupClass: OptionGroupType;
35
- private _documentRootLocator;
36
- private _backdrop;
37
24
  /** Gets a boolean promise indicating if the select is disabled. */
38
25
  isDisabled(): Promise<boolean>;
39
26
  /** Gets a boolean promise indicating if the select is valid. */
@@ -53,9 +40,9 @@ export declare abstract class _MatSelectHarnessBase<OptionType extends Component
53
40
  /** Whether the select is focused. */
54
41
  isFocused(): Promise<boolean>;
55
42
  /** Gets the options inside the select panel. */
56
- getOptions(filter?: Omit<OptionFilters, 'ancestor'>): Promise<Option[]>;
43
+ getOptions(filter?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]>;
57
44
  /** Gets the groups of options inside the panel. */
58
- getOptionGroups(filter?: Omit<OptionGroupFilters, 'ancestor'>): Promise<OptionGroup[]>;
45
+ getOptionGroups(filter?: Omit<OptgroupHarnessFilters, 'ancestor'>): Promise<MatOptgroupHarness[]>;
59
46
  /** Gets whether the select is open. */
60
47
  isOpen(): Promise<boolean>;
61
48
  /** Opens the select's panel. */
@@ -64,7 +51,7 @@ export declare abstract class _MatSelectHarnessBase<OptionType extends Component
64
51
  * Clicks the options that match the passed-in filter. If the select is in multi-selection
65
52
  * mode all options will be clicked, otherwise the harness will pick the first matching option.
66
53
  */
67
- clickOptions(filter?: OptionFilters): Promise<void>;
54
+ clickOptions(filter?: OptionHarnessFilters): Promise<void>;
68
55
  /** Closes the select's panel. */
69
56
  close(): Promise<void>;
70
57
  /** Gets the selector that should be used to find this select's panel. */
@@ -1,24 +1,18 @@
1
- @use 'sass:map';
2
1
  @use '@material/switch/switch-theme' as mdc-switch-theme;
3
2
  @use '@material/form-field' as mdc-form-field;
4
3
  @use '../core/theming/theming';
4
+ @use '../core/theming/inspection';
5
5
  @use '../core/mdc-helpers/mdc-helpers';
6
6
  @use '../core/typography/typography';
7
7
  @use '../core/tokens/m2/mdc/switch' as m2-mdc-switch;
8
8
  @use '../core/tokens/m2/mat/slide-toggle' as m2-mat-slide-toggle;
9
9
  @use '../core/tokens/token-utils';
10
10
 
11
- @mixin color($config-or-theme) {
12
- $config: theming.get-color-config($config-or-theme);
13
- $primary: map.get($config, primary);
14
- $accent: map.get($config, accent);
15
- $warn: map.get($config, warn);
16
- $is-dark: map.get($config, is-dark);
17
- $foreground: map.get($config, foreground);
11
+ @mixin color($theme) {
12
+ $is-dark: inspection.get-theme-type($theme) == dark;
13
+ $mdc-switch-color-tokens: m2-mdc-switch.get-color-tokens($theme);
18
14
 
19
- $mdc-switch-color-tokens: m2-mdc-switch.get-color-tokens($config);
20
-
21
- @include mdc-helpers.using-mdc-theme($config) {
15
+ @include mdc-helpers.using-mdc-theme($theme) {
22
16
  // Add values for MDC slide toggles tokens
23
17
  .mat-mdc-slide-toggle {
24
18
  @include mdc-form-field.core-styles($query: mdc-helpers.$mdc-theme-styles-query);
@@ -26,32 +20,26 @@
26
20
 
27
21
  // MDC should set the disabled color on the label, but doesn't, so we do it here instead.
28
22
  .mdc-switch--disabled + label {
29
- color: theming.get-color-from-palette($foreground, disabled-text);
23
+ color: inspection.get-theme-color($theme, foreground, disabled-text);
30
24
  }
31
25
 
32
26
  // Change the color palette related tokens to accent or warn if applicable
33
27
  &.mat-accent {
34
- @include mdc-switch-theme.theme(m2-mdc-switch.private-get-color-palette-color-tokens(
35
- map.get($config, accent),
36
- map.get($config, is-dark)
37
- ));
28
+ @include mdc-switch-theme.theme(
29
+ m2-mdc-switch.private-get-color-palette-color-tokens($theme, accent));
38
30
  }
39
31
 
40
32
  &.mat-warn {
41
- @include mdc-switch-theme.theme(m2-mdc-switch.private-get-color-palette-color-tokens(
42
- map.get($config, warn),
43
- map.get($config, is-dark)
44
- ));
33
+ @include mdc-switch-theme.theme(
34
+ m2-mdc-switch.private-get-color-palette-color-tokens($theme, warn));
45
35
  }
46
36
  }
47
37
  }
48
38
  }
49
39
 
50
- @mixin typography($config-or-theme) {
51
- $config: typography.private-typography-to-2018-config(
52
- theming.get-typography-config($config-or-theme));
53
- $mdc-switch-typography-tokens: m2-mdc-switch.get-typography-tokens($config);
54
- $mat-slide-toggle-typography-tokens: m2-mat-slide-toggle.get-typography-tokens($config);
40
+ @mixin typography($theme) {
41
+ $mdc-switch-typography-tokens: m2-mdc-switch.get-typography-tokens($theme);
42
+ $mat-slide-toggle-typography-tokens: m2-mat-slide-toggle.get-typography-tokens($theme);
55
43
 
56
44
  //Add values for MDC slide toggle tokens
57
45
  .mat-mdc-slide-toggle {
@@ -64,29 +52,24 @@
64
52
  }
65
53
  }
66
54
 
67
- @mixin density($config-or-theme) {
68
- $density-scale: theming.get-density-config($config-or-theme);
55
+ @mixin density($theme) {
56
+ $density-scale: inspection.get-theme-density($theme);
57
+
69
58
  .mat-mdc-slide-toggle {
70
59
  @include mdc-switch-theme.theme(mdc-switch-theme.density($density-scale));
71
60
  }
72
61
  }
73
62
 
74
- @mixin theme($theme-or-color-config) {
75
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
76
-
63
+ @mixin theme($theme) {
77
64
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-slide-toggle') {
78
- $color: theming.get-color-config($theme);
79
- $density: theming.get-density-config($theme);
80
- $typography: theming.get-typography-config($theme);
81
-
82
- @if $color != null {
83
- @include color($color);
65
+ @if inspection.theme-has($theme, color) {
66
+ @include color($theme);
84
67
  }
85
- @if $density != null {
86
- @include density($density);
68
+ @if inspection.theme-has($theme, density) {
69
+ @include density($theme);
87
70
  }
88
- @if $typography != null {
89
- @include typography($typography);
71
+ @if inspection.theme-has($theme, typography) {
72
+ @include typography($theme);
90
73
  }
91
74
  }
92
75
  }
@@ -11,7 +11,6 @@ import { ControlValueAccessor } from '@angular/forms';
11
11
  import { ElementRef } from '@angular/core';
12
12
  import { EventEmitter } from '@angular/core';
13
13
  import { FocusMonitor } from '@angular/cdk/a11y';
14
- import { FocusOrigin } from '@angular/cdk/a11y';
15
14
  import { HasTabIndex } from '@angular/material/core';
16
15
  import * as i0 from '@angular/core';
17
16
  import * as i3 from '@angular/material/core';
@@ -33,7 +32,6 @@ declare namespace i2 {
33
32
  export {
34
33
  MAT_SLIDE_TOGGLE_VALUE_ACCESSOR,
35
34
  MatSlideToggleChange,
36
- _MatSlideToggleBase,
37
35
  MatSlideToggle
38
36
  }
39
37
  }
@@ -50,35 +48,24 @@ export declare const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR: {
50
48
  multi: boolean;
51
49
  };
52
50
 
53
- export declare class MatSlideToggle extends _MatSlideToggleBase<MatSlideToggleChange> {
51
+ export declare class MatSlideToggle extends _MatSlideToggleMixinBase implements OnDestroy, AfterContentInit, ControlValueAccessor, CanDisable, CanColor, HasTabIndex, CanDisableRipple {
52
+ protected _focusMonitor: FocusMonitor;
53
+ protected _changeDetectorRef: ChangeDetectorRef;
54
+ defaults: MatSlideToggleDefaultOptions;
55
+ private _onChange;
56
+ private _onTouched;
57
+ private _uniqueId;
58
+ private _required;
59
+ private _checked;
60
+ private _createChangeEvent;
54
61
  /** Unique ID for the label element. */
55
62
  _labelId: string;
56
63
  /** Returns the unique id for the visual hidden button. */
57
64
  get buttonId(): string;
58
65
  /** Reference to the MDC switch element. */
59
66
  _switchElement: ElementRef<HTMLElement>;
60
- constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, changeDetectorRef: ChangeDetectorRef, tabIndex: string, defaults: MatSlideToggleDefaultOptions, animationMode?: string);
61
- /** Method being called whenever the underlying button is clicked. */
62
- _handleClick(): void;
63
67
  /** Focuses the slide-toggle. */
64
68
  focus(): void;
65
- protected _createChangeEvent(isChecked: boolean): MatSlideToggleChange;
66
- _getAriaLabelledBy(): string | null;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], false, never>;
69
- }
70
-
71
- export declare abstract class _MatSlideToggleBase<T> extends _MatSlideToggleMixinBase implements OnDestroy, AfterContentInit, ControlValueAccessor, CanDisable, CanColor, HasTabIndex, CanDisableRipple {
72
- protected _focusMonitor: FocusMonitor;
73
- protected _changeDetectorRef: ChangeDetectorRef;
74
- defaults: MatSlideToggleDefaultOptions;
75
- protected _onChange: (_: any) => void;
76
- private _onTouched;
77
- protected _uniqueId: string;
78
- private _required;
79
- private _checked;
80
- protected abstract _createChangeEvent(isChecked: boolean): T;
81
- abstract focus(options?: FocusOptions, origin?: FocusOrigin): void;
82
69
  /** Whether noop animations are enabled. */
83
70
  _noopAnimations: boolean;
84
71
  /** Whether the slide toggle is currently focused. */
@@ -106,7 +93,7 @@ export declare abstract class _MatSlideToggleBase<T> extends _MatSlideToggleMixi
106
93
  set hideIcon(value: BooleanInput);
107
94
  private _hideIcon;
108
95
  /** An event will be dispatched each time the slide-toggle changes its value. */
109
- readonly change: EventEmitter<T>;
96
+ readonly change: EventEmitter<MatSlideToggleChange>;
110
97
  /**
111
98
  * An event will be dispatched each time the slide-toggle input is toggled.
112
99
  * This event is always emitted when the user toggles the slide toggle, but this does not mean
@@ -115,7 +102,7 @@ export declare abstract class _MatSlideToggleBase<T> extends _MatSlideToggleMixi
115
102
  readonly toggleChange: EventEmitter<void>;
116
103
  /** Returns the unique id for the visual hidden input. */
117
104
  get inputId(): string;
118
- constructor(elementRef: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, tabIndex: string, defaults: MatSlideToggleDefaultOptions, animationMode: string | undefined, idPrefix: string);
105
+ constructor(elementRef: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, tabIndex: string, defaults: MatSlideToggleDefaultOptions, animationMode?: string);
119
106
  ngAfterContentInit(): void;
120
107
  ngOnDestroy(): void;
121
108
  /** Implemented as part of ControlValueAccessor. */
@@ -132,8 +119,11 @@ export declare abstract class _MatSlideToggleBase<T> extends _MatSlideToggleMixi
132
119
  * Emits a change event on the `change` output. Also notifies the FormControl about the change.
133
120
  */
134
121
  protected _emitChangeEvent(): void;
135
- static ɵfac: i0.ɵɵFactoryDeclaration<_MatSlideToggleBase<any>, never>;
136
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MatSlideToggleBase<any>, never, never, { "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "hideIcon": { "alias": "hideIcon"; "required": false; }; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, never, false, never>;
122
+ /** Method being called whenever the underlying button is clicked. */
123
+ _handleClick(): void;
124
+ _getAriaLabelledBy(): string | null;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
126
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "color": { "alias": "color"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "hideIcon": { "alias": "hideIcon"; "required": false; }; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, ["*"], false, never>;
137
127
  }
138
128
 
139
129
  /** Change event object emitted by a slide toggle. */
@@ -5,9 +5,10 @@ import { ComponentHarnessConstructor } from '@angular/cdk/testing';
5
5
  import { HarnessPredicate } from '@angular/cdk/testing';
6
6
  import { TestElement } from '@angular/cdk/testing';
7
7
 
8
- /** Harness for interacting with a MDC-based mat-slide-toggle in tests. */
9
- export declare class MatSlideToggleHarness extends _MatSlideToggleHarnessBase {
10
- protected _nativeElement: AsyncFactoryFn<TestElement>;
8
+ /** Harness for interacting with a mat-slide-toggle in tests. */
9
+ export declare class MatSlideToggleHarness extends ComponentHarness {
10
+ private _label;
11
+ _nativeElement: AsyncFactoryFn<TestElement>;
11
12
  static hostSelector: string;
12
13
  /**
13
14
  * Gets a `HarnessPredicate` that can be used to search for a slide-toggle w/ specific attributes.
@@ -17,18 +18,10 @@ export declare class MatSlideToggleHarness extends _MatSlideToggleHarnessBase {
17
18
  * @return a `HarnessPredicate` configured with the given options.
18
19
  */
19
20
  static with<T extends MatSlideToggleHarness>(this: ComponentHarnessConstructor<T>, options?: SlideToggleHarnessFilters): HarnessPredicate<T>;
20
- toggle(): Promise<void>;
21
- isRequired(): Promise<boolean>;
22
- isChecked(): Promise<boolean>;
23
- }
24
-
25
- export declare abstract class _MatSlideToggleHarnessBase extends ComponentHarness {
26
- private _label;
27
- protected abstract _nativeElement: AsyncFactoryFn<TestElement>;
28
21
  /** Toggle the checked state of the slide-toggle. */
29
- abstract toggle(): Promise<void>;
22
+ toggle(): Promise<void>;
30
23
  /** Whether the slide-toggle is checked. */
31
- abstract isChecked(): Promise<boolean>;
24
+ isChecked(): Promise<boolean>;
32
25
  /** Whether the slide-toggle is disabled. */
33
26
  isDisabled(): Promise<boolean>;
34
27
  /** Whether the slide-toggle is required. */