@angular/material 19.0.0-next.1 → 19.0.0-next.10

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 (831) hide show
  1. package/_index.scss +6 -6
  2. package/autocomplete/_autocomplete-theme.scss +37 -24
  3. package/autocomplete/index.d.ts +5 -15
  4. package/badge/_badge-theme.scss +38 -24
  5. package/badge/index.d.ts +3 -7
  6. package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
  7. package/bottom-sheet/index.d.ts +5 -15
  8. package/button/_button-base.scss +2 -2
  9. package/button/_button-theme.scss +229 -105
  10. package/button/_fab-theme.scss +95 -44
  11. package/button/_icon-button-theme.scss +38 -25
  12. package/button/index.d.ts +24 -36
  13. package/button-toggle/_button-toggle-theme.scss +62 -37
  14. package/button-toggle/index.d.ts +5 -8
  15. package/card/_card-theme.scss +79 -38
  16. package/card/index.d.ts +2 -2
  17. package/checkbox/_checkbox-common.scss +4 -4
  18. package/checkbox/_checkbox-theme.scss +16 -10
  19. package/checkbox/index.d.ts +16 -14
  20. package/chips/_chips-theme.scss +64 -30
  21. package/chips/index.d.ts +19 -35
  22. package/core/_core-theme.scss +59 -55
  23. package/core/_core.scss +17 -14
  24. package/core/focus-indicators/_private.scss +21 -82
  25. package/core/index.d.ts +116 -200
  26. package/core/option/_optgroup-theme.scss +29 -18
  27. package/core/option/_option-theme.scss +34 -21
  28. package/core/ripple/_ripple-theme.scss +33 -21
  29. package/core/ripple/_ripple.scss +1 -1
  30. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +49 -23
  31. package/core/style/_elevation.scss +1 -1
  32. package/core/style/_menu-common.scss +1 -1
  33. package/core/style/_sass-utils.scss +4 -0
  34. package/core/theming/_all-theme.scss +3 -0
  35. package/core/theming/_config-validation.scss +4 -4
  36. package/core/theming/_definition.scss +12 -2
  37. package/core/theming/_palettes.scss +132 -45
  38. package/core/tokens/_density.scss +1 -0
  39. package/core/tokens/_m3-system.scss +162 -36
  40. package/core/tokens/_token-utils.scss +91 -34
  41. package/core/tokens/m2/_index.scss +2 -0
  42. package/core/tokens/m2/mat/_badge.scss +12 -3
  43. package/core/tokens/m2/mat/_timepicker.scss +44 -0
  44. package/core/tokens/m2/mdc/_radio.scss +1 -1
  45. package/core/tokens/m3/_index.scss +2 -0
  46. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
  47. package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
  48. package/core/tokens/m3/mat/_badge.scss +3 -0
  49. package/core/tokens/m3/mat/_sidenav.scss +0 -1
  50. package/core/tokens/m3/mat/_timepicker.scss +22 -0
  51. package/core/typography/_all-typography.scss +2 -0
  52. package/datepicker/_datepicker-theme.scss +53 -32
  53. package/datepicker/index.d.ts +45 -71
  54. package/dialog/_dialog-theme.scss +46 -23
  55. package/dialog/index.d.ts +16 -37
  56. package/dialog/testing/index.d.ts +1 -1
  57. package/divider/_divider-theme.scss +28 -17
  58. package/expansion/_expansion-theme.scss +36 -24
  59. package/expansion/index.d.ts +9 -13
  60. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  61. package/fesm2022/autocomplete.mjs +43 -75
  62. package/fesm2022/autocomplete.mjs.map +1 -1
  63. package/fesm2022/badge/testing.mjs.map +1 -1
  64. package/fesm2022/badge.mjs +24 -31
  65. package/fesm2022/badge.mjs.map +1 -1
  66. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  67. package/fesm2022/bottom-sheet.mjs +26 -41
  68. package/fesm2022/bottom-sheet.mjs.map +1 -1
  69. package/fesm2022/button/testing.mjs.map +1 -1
  70. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  71. package/fesm2022/button-toggle.mjs +30 -45
  72. package/fesm2022/button-toggle.mjs.map +1 -1
  73. package/fesm2022/button.mjs +79 -157
  74. package/fesm2022/button.mjs.map +1 -1
  75. package/fesm2022/card/testing.mjs.map +1 -1
  76. package/fesm2022/card.mjs +53 -68
  77. package/fesm2022/card.mjs.map +1 -1
  78. package/fesm2022/checkbox/testing.mjs.map +1 -1
  79. package/fesm2022/checkbox.mjs +41 -44
  80. package/fesm2022/checkbox.mjs.map +1 -1
  81. package/fesm2022/chips/testing.mjs.map +1 -1
  82. package/fesm2022/chips.mjs +131 -184
  83. package/fesm2022/chips.mjs.map +1 -1
  84. package/fesm2022/core/testing.mjs.map +1 -1
  85. package/fesm2022/core.mjs +370 -411
  86. package/fesm2022/core.mjs.map +1 -1
  87. package/fesm2022/datepicker/testing.mjs.map +1 -1
  88. package/fesm2022/datepicker.mjs +208 -349
  89. package/fesm2022/datepicker.mjs.map +1 -1
  90. package/fesm2022/dialog/testing.mjs +3 -4
  91. package/fesm2022/dialog/testing.mjs.map +1 -1
  92. package/fesm2022/dialog.mjs +50 -113
  93. package/fesm2022/dialog.mjs.map +1 -1
  94. package/fesm2022/divider/testing.mjs.map +1 -1
  95. package/fesm2022/divider.mjs +8 -8
  96. package/fesm2022/divider.mjs.map +1 -1
  97. package/fesm2022/expansion/testing.mjs.map +1 -1
  98. package/fesm2022/expansion.mjs +60 -98
  99. package/fesm2022/expansion.mjs.map +1 -1
  100. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  101. package/fesm2022/form-field/testing.mjs.map +1 -1
  102. package/fesm2022/form-field.mjs +91 -102
  103. package/fesm2022/form-field.mjs.map +1 -1
  104. package/fesm2022/grid-list/testing.mjs.map +1 -1
  105. package/fesm2022/grid-list.mjs +39 -49
  106. package/fesm2022/grid-list.mjs.map +1 -1
  107. package/fesm2022/icon/testing.mjs +7 -7
  108. package/fesm2022/icon/testing.mjs.map +1 -1
  109. package/fesm2022/icon.mjs +22 -31
  110. package/fesm2022/icon.mjs.map +1 -1
  111. package/fesm2022/input/testing.mjs.map +1 -1
  112. package/fesm2022/input.mjs +58 -59
  113. package/fesm2022/input.mjs.map +1 -1
  114. package/fesm2022/list/testing.mjs.map +1 -1
  115. package/fesm2022/list.mjs +112 -158
  116. package/fesm2022/list.mjs.map +1 -1
  117. package/fesm2022/material.mjs.map +1 -1
  118. package/fesm2022/menu/testing.mjs.map +1 -1
  119. package/fesm2022/menu.mjs +69 -118
  120. package/fesm2022/menu.mjs.map +1 -1
  121. package/fesm2022/paginator/testing.mjs +2 -2
  122. package/fesm2022/paginator/testing.mjs.map +1 -1
  123. package/fesm2022/paginator.mjs +11 -11
  124. package/fesm2022/paginator.mjs.map +1 -1
  125. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  126. package/fesm2022/progress-bar.mjs +19 -26
  127. package/fesm2022/progress-bar.mjs.map +1 -1
  128. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  129. package/fesm2022/progress-spinner.mjs +15 -21
  130. package/fesm2022/progress-spinner.mjs.map +1 -1
  131. package/fesm2022/radio/testing.mjs.map +1 -1
  132. package/fesm2022/radio.mjs +33 -45
  133. package/fesm2022/radio.mjs.map +1 -1
  134. package/fesm2022/select/testing.mjs.map +1 -1
  135. package/fesm2022/select.mjs +36 -69
  136. package/fesm2022/select.mjs.map +1 -1
  137. package/fesm2022/sidenav/testing.mjs.map +1 -1
  138. package/fesm2022/sidenav.mjs +72 -94
  139. package/fesm2022/sidenav.mjs.map +1 -1
  140. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  141. package/fesm2022/slide-toggle.mjs +31 -38
  142. package/fesm2022/slide-toggle.mjs.map +1 -1
  143. package/fesm2022/slider/testing.mjs.map +1 -1
  144. package/fesm2022/slider.mjs +66 -74
  145. package/fesm2022/slider.mjs.map +1 -1
  146. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  147. package/fesm2022/snack-bar.mjs +52 -68
  148. package/fesm2022/snack-bar.mjs.map +1 -1
  149. package/fesm2022/sort/testing.mjs.map +1 -1
  150. package/fesm2022/sort.mjs +34 -52
  151. package/fesm2022/sort.mjs.map +1 -1
  152. package/fesm2022/stepper/testing.mjs.map +1 -1
  153. package/fesm2022/stepper.mjs +63 -77
  154. package/fesm2022/stepper.mjs.map +1 -1
  155. package/fesm2022/table/testing.mjs.map +1 -1
  156. package/fesm2022/table.mjs +59 -75
  157. package/fesm2022/table.mjs.map +1 -1
  158. package/fesm2022/tabs/testing.mjs.map +1 -1
  159. package/fesm2022/tabs.mjs +140 -199
  160. package/fesm2022/tabs.mjs.map +1 -1
  161. package/fesm2022/timepicker/testing.mjs +196 -0
  162. package/fesm2022/timepicker/testing.mjs.map +1 -0
  163. package/fesm2022/timepicker.mjs +842 -0
  164. package/fesm2022/timepicker.mjs.map +1 -0
  165. package/fesm2022/toolbar/testing.mjs.map +1 -1
  166. package/fesm2022/toolbar.mjs +18 -23
  167. package/fesm2022/toolbar.mjs.map +1 -1
  168. package/fesm2022/tooltip/testing.mjs.map +1 -1
  169. package/fesm2022/tooltip.mjs +69 -75
  170. package/fesm2022/tooltip.mjs.map +1 -1
  171. package/fesm2022/tree/testing.mjs.map +1 -1
  172. package/fesm2022/tree.mjs +36 -69
  173. package/fesm2022/tree.mjs.map +1 -1
  174. package/form-field/_form-field-high-contrast.scss +4 -4
  175. package/form-field/_form-field-theme.scss +114 -61
  176. package/form-field/_mdc-text-field-structure.scss +51 -49
  177. package/form-field/index.d.ts +13 -25
  178. package/grid-list/_grid-list-theme.scss +25 -15
  179. package/grid-list/index.d.ts +6 -8
  180. package/icon/_icon-theme.scss +22 -14
  181. package/icon/index.d.ts +3 -3
  182. package/input/_input-theme.scss +18 -11
  183. package/input/index.d.ts +6 -8
  184. package/list/_list-inherited-structure.scss +1 -13
  185. package/list/_list-item-hcm-indicator.scss +1 -1
  186. package/list/_list-theme.scss +89 -47
  187. package/list/index.d.ts +10 -14
  188. package/menu/_menu-theme.scss +33 -21
  189. package/menu/index.d.ts +15 -50
  190. package/package.json +10 -146
  191. package/paginator/_paginator-theme.scss +39 -23
  192. package/prebuilt-themes/azure-blue.css +1 -1
  193. package/prebuilt-themes/cyan-orange.css +1 -1
  194. package/prebuilt-themes/deeppurple-amber.css +1 -1
  195. package/prebuilt-themes/indigo-pink.css +1 -1
  196. package/prebuilt-themes/magenta-violet.css +1 -1
  197. package/prebuilt-themes/pink-bluegrey.css +1 -1
  198. package/prebuilt-themes/purple-green.css +1 -1
  199. package/prebuilt-themes/rose-red.css +1 -1
  200. package/progress-bar/_progress-bar-theme.scss +20 -16
  201. package/progress-bar/index.d.ts +3 -5
  202. package/progress-spinner/_progress-spinner-theme.scss +41 -25
  203. package/progress-spinner/index.d.ts +2 -2
  204. package/radio/_radio-theme.scss +60 -32
  205. package/radio/index.d.ts +5 -8
  206. package/schematics/collection.json +3 -3
  207. package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
  208. package/schematics/ng-add/fonts/material-fonts.js +2 -2
  209. package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
  210. package/schematics/ng-add/index.d.ts +1 -1
  211. package/schematics/ng-add/index.js +3 -3
  212. package/schematics/ng-add/index.mjs +3 -3
  213. package/schematics/ng-add/package-config.d.ts +1 -1
  214. package/schematics/ng-add/package-config.js +2 -2
  215. package/schematics/ng-add/package-config.mjs +2 -2
  216. package/schematics/ng-add/schema.d.ts +1 -1
  217. package/schematics/ng-add/schema.js +2 -2
  218. package/schematics/ng-add/schema.mjs +2 -2
  219. package/schematics/ng-add/setup-project.d.ts +1 -1
  220. package/schematics/ng-add/setup-project.js +3 -3
  221. package/schematics/ng-add/setup-project.mjs +3 -3
  222. package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
  223. package/schematics/ng-add/theming/create-custom-theme.js +2 -7
  224. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -7
  225. package/schematics/ng-add/theming/theming.d.ts +1 -1
  226. package/schematics/ng-add/theming/theming.js +2 -2
  227. package/schematics/ng-add/theming/theming.mjs +2 -2
  228. package/schematics/ng-generate/address-form/index.d.ts +1 -1
  229. package/schematics/ng-generate/address-form/index.js +2 -2
  230. package/schematics/ng-generate/address-form/index.mjs +2 -2
  231. package/schematics/ng-generate/address-form/schema.d.ts +1 -1
  232. package/schematics/ng-generate/address-form/schema.js +2 -2
  233. package/schematics/ng-generate/address-form/schema.mjs +2 -2
  234. package/schematics/ng-generate/dashboard/index.d.ts +1 -1
  235. package/schematics/ng-generate/dashboard/index.js +2 -2
  236. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  237. package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
  238. package/schematics/ng-generate/dashboard/schema.js +2 -2
  239. package/schematics/ng-generate/dashboard/schema.mjs +2 -2
  240. package/schematics/ng-generate/navigation/index.d.ts +1 -1
  241. package/schematics/ng-generate/navigation/index.js +2 -2
  242. package/schematics/ng-generate/navigation/index.mjs +2 -2
  243. package/schematics/ng-generate/navigation/schema.d.ts +1 -1
  244. package/schematics/ng-generate/navigation/schema.js +2 -2
  245. package/schematics/ng-generate/navigation/schema.mjs +2 -2
  246. package/schematics/ng-generate/table/index.d.ts +1 -1
  247. package/schematics/ng-generate/table/index.js +2 -2
  248. package/schematics/ng-generate/table/index.mjs +2 -2
  249. package/schematics/ng-generate/table/schema.d.ts +1 -1
  250. package/schematics/ng-generate/table/schema.js +2 -2
  251. package/schematics/ng-generate/table/schema.mjs +2 -2
  252. package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +481 -289
  253. package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
  254. package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
  255. package/schematics/ng-generate/tree/index.d.ts +1 -1
  256. package/schematics/ng-generate/tree/index.js +2 -2
  257. package/schematics/ng-generate/tree/index.mjs +2 -2
  258. package/schematics/ng-generate/tree/schema.d.ts +1 -1
  259. package/schematics/ng-generate/tree/schema.js +2 -2
  260. package/schematics/ng-generate/tree/schema.mjs +2 -2
  261. package/schematics/ng-update/index_bundled.js +6518 -2
  262. package/schematics/ng-update/index_bundled.js.map +4 -4
  263. package/select/_select-theme.scss +38 -25
  264. package/select/index.d.ts +4 -14
  265. package/sidenav/_sidenav-theme.scss +28 -17
  266. package/sidenav/index.d.ts +7 -17
  267. package/slide-toggle/_slide-toggle-theme.scss +52 -28
  268. package/slide-toggle/index.d.ts +2 -2
  269. package/slider/_slider-theme.scss +62 -38
  270. package/slider/index.d.ts +8 -8
  271. package/snack-bar/_snack-bar-theme.scss +29 -17
  272. package/snack-bar/index.d.ts +6 -22
  273. package/sort/_sort-theme.scss +33 -21
  274. package/sort/index.d.ts +4 -20
  275. package/stepper/_stepper-theme.scss +40 -27
  276. package/stepper/index.d.ts +6 -13
  277. package/table/_table-theme.scss +36 -23
  278. package/tabs/_tabs-common.scss +2 -2
  279. package/tabs/_tabs-theme.scss +97 -50
  280. package/tabs/index.d.ts +28 -35
  281. package/timepicker/_timepicker-theme.scss +124 -0
  282. package/timepicker/index.d.ts +297 -0
  283. package/timepicker/testing/index.d.ts +113 -0
  284. package/toolbar/_toolbar-theme.scss +35 -22
  285. package/toolbar/index.d.ts +3 -4
  286. package/tooltip/_tooltip-theme.scss +18 -15
  287. package/tooltip/index.d.ts +5 -12
  288. package/tree/_tree-theme.scss +33 -21
  289. package/tree/index.d.ts +5 -18
  290. package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
  291. package/core/focus-indicators/_focus-indicators.scss +0 -6
  292. package/esm2022/autocomplete/animations.mjs +0 -24
  293. package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
  294. package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
  295. package/esm2022/autocomplete/autocomplete.mjs +0 -238
  296. package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
  297. package/esm2022/autocomplete/index.mjs +0 -9
  298. package/esm2022/autocomplete/module.mjs +0 -61
  299. package/esm2022/autocomplete/public-api.mjs +0 -14
  300. package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  301. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
  302. package/esm2022/autocomplete/testing/index.mjs +0 -9
  303. package/esm2022/autocomplete/testing/public-api.mjs +0 -10
  304. package/esm2022/badge/badge-module.mjs +0 -27
  305. package/esm2022/badge/badge.mjs +0 -288
  306. package/esm2022/badge/badge_public_index.mjs +0 -5
  307. package/esm2022/badge/index.mjs +0 -9
  308. package/esm2022/badge/public-api.mjs +0 -10
  309. package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
  310. package/esm2022/badge/testing/badge-harness.mjs +0 -71
  311. package/esm2022/badge/testing/index.mjs +0 -9
  312. package/esm2022/badge/testing/public-api.mjs +0 -10
  313. package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
  314. package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
  315. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
  316. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
  317. package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
  318. package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
  319. package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
  320. package/esm2022/bottom-sheet/index.mjs +0 -9
  321. package/esm2022/bottom-sheet/public-api.mjs +0 -14
  322. package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
  323. package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
  324. package/esm2022/bottom-sheet/testing/index.mjs +0 -9
  325. package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
  326. package/esm2022/button/button-base.mjs +0 -230
  327. package/esm2022/button/button.mjs +0 -67
  328. package/esm2022/button/button_public_index.mjs +0 -5
  329. package/esm2022/button/fab.mjs +0 -166
  330. package/esm2022/button/icon-button.mjs +0 -56
  331. package/esm2022/button/index.mjs +0 -9
  332. package/esm2022/button/module.mjs +0 -65
  333. package/esm2022/button/public-api.mjs +0 -13
  334. package/esm2022/button/testing/button-harness-filters.mjs +0 -9
  335. package/esm2022/button/testing/button-harness.mjs +0 -80
  336. package/esm2022/button/testing/index.mjs +0 -9
  337. package/esm2022/button/testing/public-api.mjs +0 -10
  338. package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
  339. package/esm2022/button-toggle/button-toggle.mjs +0 -651
  340. package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
  341. package/esm2022/button-toggle/index.mjs +0 -9
  342. package/esm2022/button-toggle/public-api.mjs +0 -10
  343. package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
  344. package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
  345. package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
  346. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
  347. package/esm2022/button-toggle/testing/index.mjs +0 -9
  348. package/esm2022/button-toggle/testing/public-api.mjs +0 -12
  349. package/esm2022/card/card.mjs +0 -273
  350. package/esm2022/card/card_public_index.mjs +0 -5
  351. package/esm2022/card/index.mjs +0 -9
  352. package/esm2022/card/module.mjs +0 -67
  353. package/esm2022/card/public-api.mjs +0 -10
  354. package/esm2022/card/testing/card-harness-filters.mjs +0 -9
  355. package/esm2022/card/testing/card-harness.mjs +0 -50
  356. package/esm2022/card/testing/index.mjs +0 -9
  357. package/esm2022/card/testing/public-api.mjs +0 -10
  358. package/esm2022/checkbox/checkbox-config.mjs +0 -22
  359. package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
  360. package/esm2022/checkbox/checkbox.mjs +0 -443
  361. package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
  362. package/esm2022/checkbox/index.mjs +0 -9
  363. package/esm2022/checkbox/module.mjs +0 -41
  364. package/esm2022/checkbox/public-api.mjs +0 -12
  365. package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
  366. package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
  367. package/esm2022/checkbox/testing/index.mjs +0 -9
  368. package/esm2022/checkbox/testing/public-api.mjs +0 -9
  369. package/esm2022/chips/chip-action.mjs +0 -113
  370. package/esm2022/chips/chip-edit-input.mjs +0 -61
  371. package/esm2022/chips/chip-grid.mjs +0 -420
  372. package/esm2022/chips/chip-icons.mjs +0 -107
  373. package/esm2022/chips/chip-input.mjs +0 -192
  374. package/esm2022/chips/chip-listbox.mjs +0 -369
  375. package/esm2022/chips/chip-option.mjs +0 -190
  376. package/esm2022/chips/chip-row.mjs +0 -173
  377. package/esm2022/chips/chip-set.mjs +0 -283
  378. package/esm2022/chips/chip-text-control.mjs +0 -9
  379. package/esm2022/chips/chip.mjs +0 -322
  380. package/esm2022/chips/chips_public_index.mjs +0 -5
  381. package/esm2022/chips/index.mjs +0 -9
  382. package/esm2022/chips/module.mjs +0 -85
  383. package/esm2022/chips/public-api.mjs +0 -20
  384. package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
  385. package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
  386. package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
  387. package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
  388. package/esm2022/chips/testing/chip-harness.mjs +0 -62
  389. package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
  390. package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
  391. package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
  392. package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
  393. package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
  394. package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
  395. package/esm2022/chips/testing/index.mjs +0 -9
  396. package/esm2022/chips/testing/public-api.mjs +0 -19
  397. package/esm2022/chips/tokens.mjs +0 -39
  398. package/esm2022/core/animation/animation.mjs +0 -21
  399. package/esm2022/core/common-behaviors/color.mjs +0 -33
  400. package/esm2022/core/common-behaviors/common-module.mjs +0 -127
  401. package/esm2022/core/common-behaviors/constructor.mjs +0 -9
  402. package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
  403. package/esm2022/core/common-behaviors/disabled.mjs +0 -23
  404. package/esm2022/core/common-behaviors/error-state.mjs +0 -66
  405. package/esm2022/core/common-behaviors/index.mjs +0 -15
  406. package/esm2022/core/common-behaviors/initialized.mjs +0 -62
  407. package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
  408. package/esm2022/core/core_public_index.mjs +0 -5
  409. package/esm2022/core/datetime/date-adapter.mjs +0 -109
  410. package/esm2022/core/datetime/date-formats.mjs +0 -10
  411. package/esm2022/core/datetime/index.mjs +0 -46
  412. package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
  413. package/esm2022/core/datetime/native-date-formats.mjs +0 -19
  414. package/esm2022/core/error/error-options.mjs +0 -33
  415. package/esm2022/core/index.mjs +0 -9
  416. package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
  417. package/esm2022/core/line/line.mjs +0 -64
  418. package/esm2022/core/option/index.mjs +0 -30
  419. package/esm2022/core/option/optgroup.mjs +0 -71
  420. package/esm2022/core/option/option-parent.mjs +0 -13
  421. package/esm2022/core/option/option.mjs +0 -283
  422. package/esm2022/core/private/index.mjs +0 -9
  423. package/esm2022/core/private/ripple-loader.mjs +0 -160
  424. package/esm2022/core/public-api.mjs +0 -19
  425. package/esm2022/core/ripple/index.mjs +0 -27
  426. package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
  427. package/esm2022/core/ripple/ripple-ref.mjs +0 -39
  428. package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
  429. package/esm2022/core/ripple/ripple.mjs +0 -156
  430. package/esm2022/core/selection/index.mjs +0 -10
  431. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
  432. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
  433. package/esm2022/core/testing/index.mjs +0 -9
  434. package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
  435. package/esm2022/core/testing/optgroup-harness.mjs +0 -43
  436. package/esm2022/core/testing/option-harness-filters.mjs +0 -9
  437. package/esm2022/core/testing/option-harness.mjs +0 -53
  438. package/esm2022/core/testing/public-api.mjs +0 -12
  439. package/esm2022/core/version.mjs +0 -11
  440. package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
  441. package/esm2022/datepicker/calendar-body.mjs +0 -509
  442. package/esm2022/datepicker/calendar.mjs +0 -426
  443. package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
  444. package/esm2022/datepicker/date-range-input.mjs +0 -369
  445. package/esm2022/datepicker/date-range-picker.mjs +0 -51
  446. package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
  447. package/esm2022/datepicker/date-selection-model.mjs +0 -188
  448. package/esm2022/datepicker/datepicker-actions.mjs +0 -91
  449. package/esm2022/datepicker/datepicker-animations.mjs +0 -35
  450. package/esm2022/datepicker/datepicker-base.mjs +0 -609
  451. package/esm2022/datepicker/datepicker-errors.mjs +0 -14
  452. package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
  453. package/esm2022/datepicker/datepicker-input.mjs +0 -200
  454. package/esm2022/datepicker/datepicker-intl.mjs +0 -69
  455. package/esm2022/datepicker/datepicker-module.mjs +0 -138
  456. package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
  457. package/esm2022/datepicker/datepicker.mjs +0 -38
  458. package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
  459. package/esm2022/datepicker/index.mjs +0 -9
  460. package/esm2022/datepicker/month-view.mjs +0 -460
  461. package/esm2022/datepicker/multi-year-view.mjs +0 -330
  462. package/esm2022/datepicker/public-api.mjs +0 -27
  463. package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
  464. package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
  465. package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
  466. package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
  467. package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
  468. package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
  469. package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
  470. package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
  471. package/esm2022/datepicker/testing/index.mjs +0 -9
  472. package/esm2022/datepicker/testing/public-api.mjs +0 -14
  473. package/esm2022/datepicker/year-view.mjs +0 -324
  474. package/esm2022/dialog/dialog-animations.mjs +0 -38
  475. package/esm2022/dialog/dialog-config.mjs +0 -59
  476. package/esm2022/dialog/dialog-container.mjs +0 -253
  477. package/esm2022/dialog/dialog-content-directives.mjs +0 -212
  478. package/esm2022/dialog/dialog-ref.mjs +0 -177
  479. package/esm2022/dialog/dialog.mjs +0 -212
  480. package/esm2022/dialog/dialog_public_index.mjs +0 -5
  481. package/esm2022/dialog/index.mjs +0 -9
  482. package/esm2022/dialog/module.mjs +0 -45
  483. package/esm2022/dialog/public-api.mjs +0 -15
  484. package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
  485. package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
  486. package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
  487. package/esm2022/dialog/testing/index.mjs +0 -10
  488. package/esm2022/dialog/testing/public-api.mjs +0 -10
  489. package/esm2022/divider/divider-module.mjs +0 -24
  490. package/esm2022/divider/divider.mjs +0 -48
  491. package/esm2022/divider/divider_public_index.mjs +0 -5
  492. package/esm2022/divider/index.mjs +0 -9
  493. package/esm2022/divider/public-api.mjs +0 -10
  494. package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
  495. package/esm2022/divider/testing/divider-harness.mjs +0 -22
  496. package/esm2022/divider/testing/index.mjs +0 -9
  497. package/esm2022/divider/testing/public-api.mjs +0 -10
  498. package/esm2022/expansion/accordion-base.mjs +0 -14
  499. package/esm2022/expansion/accordion.mjs +0 -96
  500. package/esm2022/expansion/expansion-animations.mjs +0 -51
  501. package/esm2022/expansion/expansion-module.mjs +0 -65
  502. package/esm2022/expansion/expansion-panel-base.mjs +0 -14
  503. package/esm2022/expansion/expansion-panel-content.mjs +0 -35
  504. package/esm2022/expansion/expansion-panel-header.mjs +0 -218
  505. package/esm2022/expansion/expansion-panel.mjs +0 -211
  506. package/esm2022/expansion/expansion_public_index.mjs +0 -5
  507. package/esm2022/expansion/index.mjs +0 -9
  508. package/esm2022/expansion/public-api.mjs +0 -16
  509. package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
  510. package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
  511. package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
  512. package/esm2022/expansion/testing/index.mjs +0 -9
  513. package/esm2022/expansion/testing/public-api.mjs +0 -11
  514. package/esm2022/form-field/directives/error.mjs +0 -48
  515. package/esm2022/form-field/directives/floating-label.mjs +0 -135
  516. package/esm2022/form-field/directives/hint.mjs +0 -40
  517. package/esm2022/form-field/directives/label.mjs +0 -22
  518. package/esm2022/form-field/directives/line-ripple.mjs +0 -60
  519. package/esm2022/form-field/directives/notched-outline.mjs +0 -66
  520. package/esm2022/form-field/directives/prefix.mjs +0 -38
  521. package/esm2022/form-field/directives/suffix.mjs +0 -38
  522. package/esm2022/form-field/form-field-animations.mjs +0 -24
  523. package/esm2022/form-field/form-field-control.mjs +0 -11
  524. package/esm2022/form-field/form-field-errors.mjs +0 -20
  525. package/esm2022/form-field/form-field.mjs +0 -620
  526. package/esm2022/form-field/form-field_public_index.mjs +0 -5
  527. package/esm2022/form-field/index.mjs +0 -9
  528. package/esm2022/form-field/module.mjs +0 -51
  529. package/esm2022/form-field/public-api.mjs +0 -18
  530. package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
  531. package/esm2022/form-field/testing/control/index.mjs +0 -9
  532. package/esm2022/form-field/testing/error-harness.mjs +0 -29
  533. package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
  534. package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
  535. package/esm2022/form-field/testing/index.mjs +0 -9
  536. package/esm2022/form-field/testing/public-api.mjs +0 -15
  537. package/esm2022/grid-list/grid-list-base.mjs +0 -14
  538. package/esm2022/grid-list/grid-list-module.mjs +0 -59
  539. package/esm2022/grid-list/grid-list.mjs +0 -146
  540. package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
  541. package/esm2022/grid-list/grid-tile.mjs +0 -128
  542. package/esm2022/grid-list/index.mjs +0 -9
  543. package/esm2022/grid-list/public-api.mjs +0 -14
  544. package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
  545. package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
  546. package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
  547. package/esm2022/grid-list/testing/index.mjs +0 -9
  548. package/esm2022/grid-list/testing/public-api.mjs +0 -11
  549. package/esm2022/grid-list/tile-coordinator.mjs +0 -145
  550. package/esm2022/grid-list/tile-styler.mjs +0 -231
  551. package/esm2022/icon/fake-svgs.mjs +0 -62
  552. package/esm2022/icon/icon-module.mjs +0 -24
  553. package/esm2022/icon/icon-registry.mjs +0 -592
  554. package/esm2022/icon/icon.mjs +0 -379
  555. package/esm2022/icon/icon_public_index.mjs +0 -5
  556. package/esm2022/icon/index.mjs +0 -9
  557. package/esm2022/icon/public-api.mjs +0 -11
  558. package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
  559. package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
  560. package/esm2022/icon/testing/icon-harness.mjs +0 -60
  561. package/esm2022/icon/testing/index.mjs +0 -9
  562. package/esm2022/icon/testing/public-api.mjs +0 -11
  563. package/esm2022/icon/testing/testing_public_index.mjs +0 -5
  564. package/esm2022/icon/trusted-types.mjs +0 -43
  565. package/esm2022/index.mjs +0 -14
  566. package/esm2022/input/index.mjs +0 -9
  567. package/esm2022/input/input-errors.mjs +0 -12
  568. package/esm2022/input/input-value-accessor.mjs +0 -16
  569. package/esm2022/input/input.mjs +0 -524
  570. package/esm2022/input/input_public_index.mjs +0 -5
  571. package/esm2022/input/module.mjs +0 -26
  572. package/esm2022/input/public-api.mjs +0 -14
  573. package/esm2022/input/testing/index.mjs +0 -9
  574. package/esm2022/input/testing/input-harness-filters.mjs +0 -9
  575. package/esm2022/input/testing/input-harness.mjs +0 -119
  576. package/esm2022/input/testing/native-option-harness.mjs +0 -42
  577. package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
  578. package/esm2022/input/testing/native-select-harness.mjs +0 -79
  579. package/esm2022/input/testing/public-api.mjs +0 -13
  580. package/esm2022/list/action-list.mjs +0 -31
  581. package/esm2022/list/index.mjs +0 -9
  582. package/esm2022/list/list-base.mjs +0 -284
  583. package/esm2022/list/list-item-sections.mjs +0 -144
  584. package/esm2022/list/list-module.mjs +0 -97
  585. package/esm2022/list/list-option-types.mjs +0 -16
  586. package/esm2022/list/list-option.mjs +0 -295
  587. package/esm2022/list/list.mjs +0 -103
  588. package/esm2022/list/list_public_index.mjs +0 -5
  589. package/esm2022/list/nav-list.mjs +0 -37
  590. package/esm2022/list/public-api.mjs +0 -18
  591. package/esm2022/list/selection-list.mjs +0 -391
  592. package/esm2022/list/subheader.mjs +0 -28
  593. package/esm2022/list/testing/action-list-harness.mjs +0 -59
  594. package/esm2022/list/testing/index.mjs +0 -9
  595. package/esm2022/list/testing/list-harness-base.mjs +0 -95
  596. package/esm2022/list/testing/list-harness-filters.mjs +0 -9
  597. package/esm2022/list/testing/list-harness.mjs +0 -41
  598. package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
  599. package/esm2022/list/testing/nav-list-harness.mjs +0 -69
  600. package/esm2022/list/testing/public-api.mjs +0 -14
  601. package/esm2022/list/testing/selection-list-harness.mjs +0 -122
  602. package/esm2022/list/tokens.mjs +0 -11
  603. package/esm2022/menu/index.mjs +0 -9
  604. package/esm2022/menu/menu-animations.mjs +0 -61
  605. package/esm2022/menu/menu-content.mjs +0 -87
  606. package/esm2022/menu/menu-errors.mjs +0 -35
  607. package/esm2022/menu/menu-item.mjs +0 -148
  608. package/esm2022/menu/menu-panel.mjs +0 -14
  609. package/esm2022/menu/menu-positions.mjs +0 -9
  610. package/esm2022/menu/menu-trigger.mjs +0 -542
  611. package/esm2022/menu/menu.mjs +0 -405
  612. package/esm2022/menu/menu_public_index.mjs +0 -5
  613. package/esm2022/menu/module.mjs +0 -63
  614. package/esm2022/menu/public-api.mjs +0 -16
  615. package/esm2022/menu/testing/index.mjs +0 -9
  616. package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
  617. package/esm2022/menu/testing/menu-harness.mjs +0 -166
  618. package/esm2022/menu/testing/public-api.mjs +0 -10
  619. package/esm2022/paginator/index.mjs +0 -9
  620. package/esm2022/paginator/module.mjs +0 -28
  621. package/esm2022/paginator/paginator-intl.mjs +0 -62
  622. package/esm2022/paginator/paginator.mjs +0 -266
  623. package/esm2022/paginator/paginator_public_index.mjs +0 -5
  624. package/esm2022/paginator/public-api.mjs +0 -11
  625. package/esm2022/paginator/testing/index.mjs +0 -9
  626. package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
  627. package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
  628. package/esm2022/paginator/testing/public-api.mjs +0 -10
  629. package/esm2022/progress-bar/index.mjs +0 -9
  630. package/esm2022/progress-bar/module.mjs +0 -24
  631. package/esm2022/progress-bar/progress-bar.mjs +0 -181
  632. package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
  633. package/esm2022/progress-bar/public-api.mjs +0 -10
  634. package/esm2022/progress-bar/testing/index.mjs +0 -9
  635. package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
  636. package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
  637. package/esm2022/progress-bar/testing/public-api.mjs +0 -10
  638. package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
  639. package/esm2022/progress-spinner/index.mjs +0 -9
  640. package/esm2022/progress-spinner/module.mjs +0 -25
  641. package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
  642. package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
  643. package/esm2022/progress-spinner/public-api.mjs +0 -10
  644. package/esm2022/progress-spinner/testing/index.mjs +0 -9
  645. package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
  646. package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  647. package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
  648. package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
  649. package/esm2022/radio/index.mjs +0 -9
  650. package/esm2022/radio/module.mjs +0 -25
  651. package/esm2022/radio/public-api.mjs +0 -10
  652. package/esm2022/radio/radio.mjs +0 -680
  653. package/esm2022/radio/radio_public_index.mjs +0 -5
  654. package/esm2022/radio/testing/index.mjs +0 -9
  655. package/esm2022/radio/testing/public-api.mjs +0 -10
  656. package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
  657. package/esm2022/radio/testing/radio-harness.mjs +0 -228
  658. package/esm2022/select/index.mjs +0 -9
  659. package/esm2022/select/module.mjs +0 -59
  660. package/esm2022/select/public-api.mjs +0 -15
  661. package/esm2022/select/select-animations.mjs +0 -38
  662. package/esm2022/select/select-errors.mjs +0 -35
  663. package/esm2022/select/select.mjs +0 -1160
  664. package/esm2022/select/select_public_index.mjs +0 -5
  665. package/esm2022/select/testing/index.mjs +0 -9
  666. package/esm2022/select/testing/public-api.mjs +0 -10
  667. package/esm2022/select/testing/select-harness-filters.mjs +0 -9
  668. package/esm2022/select/testing/select-harness.mjs +0 -129
  669. package/esm2022/sidenav/drawer-animations.mjs +0 -33
  670. package/esm2022/sidenav/drawer.mjs +0 -863
  671. package/esm2022/sidenav/index.mjs +0 -9
  672. package/esm2022/sidenav/public-api.mjs +0 -12
  673. package/esm2022/sidenav/sidenav-module.mjs +0 -60
  674. package/esm2022/sidenav/sidenav.mjs +0 -148
  675. package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
  676. package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
  677. package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
  678. package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
  679. package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
  680. package/esm2022/sidenav/testing/index.mjs +0 -9
  681. package/esm2022/sidenav/testing/public-api.mjs +0 -15
  682. package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
  683. package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
  684. package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
  685. package/esm2022/slide-toggle/index.mjs +0 -9
  686. package/esm2022/slide-toggle/module.mjs +0 -41
  687. package/esm2022/slide-toggle/public-api.mjs +0 -12
  688. package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
  689. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
  690. package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
  691. package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
  692. package/esm2022/slide-toggle/testing/index.mjs +0 -9
  693. package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
  694. package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
  695. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
  696. package/esm2022/slider/index.mjs +0 -9
  697. package/esm2022/slider/module.mjs +0 -39
  698. package/esm2022/slider/public-api.mjs +0 -13
  699. package/esm2022/slider/slider-input.mjs +0 -701
  700. package/esm2022/slider/slider-interface.mjs +0 -56
  701. package/esm2022/slider/slider-thumb.mjs +0 -231
  702. package/esm2022/slider/slider.mjs +0 -746
  703. package/esm2022/slider/slider_public_index.mjs +0 -5
  704. package/esm2022/slider/testing/index.mjs +0 -9
  705. package/esm2022/slider/testing/public-api.mjs +0 -11
  706. package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
  707. package/esm2022/slider/testing/slider-harness.mjs +0 -67
  708. package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
  709. package/esm2022/snack-bar/index.mjs +0 -9
  710. package/esm2022/snack-bar/module.mjs +0 -47
  711. package/esm2022/snack-bar/public-api.mjs +0 -16
  712. package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
  713. package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
  714. package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
  715. package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
  716. package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
  717. package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
  718. package/esm2022/snack-bar/snack-bar.mjs +0 -267
  719. package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
  720. package/esm2022/snack-bar/testing/index.mjs +0 -9
  721. package/esm2022/snack-bar/testing/public-api.mjs +0 -10
  722. package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
  723. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
  724. package/esm2022/sort/index.mjs +0 -9
  725. package/esm2022/sort/public-api.mjs +0 -14
  726. package/esm2022/sort/sort-animations.mjs +0 -69
  727. package/esm2022/sort/sort-direction.mjs +0 -9
  728. package/esm2022/sort/sort-errors.mjs +0 -24
  729. package/esm2022/sort/sort-header-intl.mjs +0 -41
  730. package/esm2022/sort/sort-header.mjs +0 -317
  731. package/esm2022/sort/sort-module.mjs +0 -27
  732. package/esm2022/sort/sort.mjs +0 -155
  733. package/esm2022/sort/sort_public_index.mjs +0 -5
  734. package/esm2022/sort/testing/index.mjs +0 -9
  735. package/esm2022/sort/testing/public-api.mjs +0 -11
  736. package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
  737. package/esm2022/sort/testing/sort-harness.mjs +0 -36
  738. package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
  739. package/esm2022/stepper/index.mjs +0 -9
  740. package/esm2022/stepper/public-api.mjs +0 -17
  741. package/esm2022/stepper/step-content.mjs +0 -27
  742. package/esm2022/stepper/step-header.mjs +0 -105
  743. package/esm2022/stepper/step-label.mjs +0 -22
  744. package/esm2022/stepper/stepper-animations.mjs +0 -47
  745. package/esm2022/stepper/stepper-button.mjs +0 -43
  746. package/esm2022/stepper/stepper-icon.mjs +0 -30
  747. package/esm2022/stepper/stepper-intl.mjs +0 -43
  748. package/esm2022/stepper/stepper-module.mjs +0 -88
  749. package/esm2022/stepper/stepper.mjs +0 -205
  750. package/esm2022/stepper/stepper_public_index.mjs +0 -5
  751. package/esm2022/stepper/testing/index.mjs +0 -9
  752. package/esm2022/stepper/testing/public-api.mjs +0 -12
  753. package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
  754. package/esm2022/stepper/testing/step-harness.mjs +0 -90
  755. package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
  756. package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
  757. package/esm2022/table/cell.mjs +0 -147
  758. package/esm2022/table/index.mjs +0 -9
  759. package/esm2022/table/module.mjs +0 -93
  760. package/esm2022/table/public-api.mjs +0 -14
  761. package/esm2022/table/row.mjs +0 -163
  762. package/esm2022/table/table-data-source.mjs +0 -317
  763. package/esm2022/table/table.mjs +0 -122
  764. package/esm2022/table/table_public_index.mjs +0 -5
  765. package/esm2022/table/testing/cell-harness.mjs +0 -77
  766. package/esm2022/table/testing/index.mjs +0 -9
  767. package/esm2022/table/testing/public-api.mjs +0 -12
  768. package/esm2022/table/testing/row-harness.mjs +0 -84
  769. package/esm2022/table/testing/table-harness-filters.mjs +0 -2
  770. package/esm2022/table/testing/table-harness.mjs +0 -86
  771. package/esm2022/table/text-column.mjs +0 -60
  772. package/esm2022/tabs/index.mjs +0 -9
  773. package/esm2022/tabs/ink-bar.mjs +0 -149
  774. package/esm2022/tabs/module.mjs +0 -60
  775. package/esm2022/tabs/paginated-tab-header.mjs +0 -539
  776. package/esm2022/tabs/public-api.mjs +0 -21
  777. package/esm2022/tabs/tab-body.mjs +0 -199
  778. package/esm2022/tabs/tab-config.mjs +0 -11
  779. package/esm2022/tabs/tab-content.mjs +0 -32
  780. package/esm2022/tabs/tab-group.mjs +0 -469
  781. package/esm2022/tabs/tab-header.mjs +0 -86
  782. package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
  783. package/esm2022/tabs/tab-label.mjs +0 -44
  784. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
  785. package/esm2022/tabs/tab.mjs +0 -128
  786. package/esm2022/tabs/tabs-animations.mjs +0 -45
  787. package/esm2022/tabs/tabs_public_index.mjs +0 -5
  788. package/esm2022/tabs/testing/index.mjs +0 -9
  789. package/esm2022/tabs/testing/public-api.mjs +0 -13
  790. package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
  791. package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
  792. package/esm2022/tabs/testing/tab-harness.mjs +0 -66
  793. package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
  794. package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
  795. package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
  796. package/esm2022/toolbar/index.mjs +0 -9
  797. package/esm2022/toolbar/public-api.mjs +0 -10
  798. package/esm2022/toolbar/testing/index.mjs +0 -9
  799. package/esm2022/toolbar/testing/public-api.mjs +0 -10
  800. package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
  801. package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
  802. package/esm2022/toolbar/toolbar-module.mjs +0 -24
  803. package/esm2022/toolbar/toolbar.mjs +0 -84
  804. package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
  805. package/esm2022/tooltip/index.mjs +0 -9
  806. package/esm2022/tooltip/module.mjs +0 -29
  807. package/esm2022/tooltip/public-api.mjs +0 -11
  808. package/esm2022/tooltip/testing/index.mjs +0 -9
  809. package/esm2022/tooltip/testing/public-api.mjs +0 -10
  810. package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
  811. package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
  812. package/esm2022/tooltip/tooltip-animations.mjs +0 -24
  813. package/esm2022/tooltip/tooltip.mjs +0 -920
  814. package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
  815. package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
  816. package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
  817. package/esm2022/tree/index.mjs +0 -9
  818. package/esm2022/tree/node.mjs +0 -220
  819. package/esm2022/tree/outlet.mjs +0 -46
  820. package/esm2022/tree/padding.mjs +0 -46
  821. package/esm2022/tree/public-api.mjs +0 -16
  822. package/esm2022/tree/testing/index.mjs +0 -9
  823. package/esm2022/tree/testing/node-harness.mjs +0 -73
  824. package/esm2022/tree/testing/public-api.mjs +0 -11
  825. package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
  826. package/esm2022/tree/testing/tree-harness.mjs +0 -123
  827. package/esm2022/tree/toggle.mjs +0 -27
  828. package/esm2022/tree/tree-module.mjs +0 -50
  829. package/esm2022/tree/tree.mjs +0 -34
  830. package/esm2022/tree/tree_public_index.mjs +0 -5
  831. package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
package/chips/index.d.ts CHANGED
@@ -2,31 +2,23 @@ import { AfterContentInit } from '@angular/core';
2
2
  import { AfterViewInit } from '@angular/core';
3
3
  import { ChangeDetectorRef } from '@angular/core';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
- import { Directionality } from '@angular/cdk/bidi';
6
5
  import { DoCheck } from '@angular/core';
7
6
  import { ElementRef } from '@angular/core';
8
7
  import { ErrorStateMatcher } from '@angular/material/core';
9
8
  import { EventEmitter } from '@angular/core';
10
9
  import { FocusKeyManager } from '@angular/cdk/a11y';
11
- import { FocusMonitor } from '@angular/cdk/a11y';
12
- import { FormGroupDirective } from '@angular/forms';
13
10
  import * as i0 from '@angular/core';
14
11
  import * as i1 from '@angular/material/core';
15
12
  import { InjectionToken } from '@angular/core';
16
13
  import { Injector } from '@angular/core';
17
- import { MatFormField } from '@angular/material/form-field';
18
14
  import { MatFormFieldControl } from '@angular/material/form-field';
19
- import { MatRipple } from '@angular/material/core';
20
- import { MatRippleLoader } from '@angular/material/core';
21
15
  import { NgControl } from '@angular/forms';
22
- import { NgForm } from '@angular/forms';
23
16
  import { NgZone } from '@angular/core';
24
17
  import { Observable } from 'rxjs';
25
18
  import { OnChanges } from '@angular/core';
26
19
  import { OnDestroy } from '@angular/core';
27
20
  import { OnInit } from '@angular/core';
28
21
  import { QueryList } from '@angular/core';
29
- import { RippleGlobalOptions } from '@angular/material/core';
30
22
  import { Subject } from 'rxjs';
31
23
 
32
24
  declare namespace i10 {
@@ -144,7 +136,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
144
136
  _elementRef: ElementRef<HTMLElement>;
145
137
  protected _ngZone: NgZone;
146
138
  private _focusMonitor;
147
- private _globalRippleOptions?;
139
+ private _globalRippleOptions;
148
140
  protected _document: Document;
149
141
  /** Emits when the chip is focused. */
150
142
  readonly _onFocus: Subject<MatChipEvent>;
@@ -177,6 +169,8 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
177
169
  ariaDescription: string | null;
178
170
  /** Id of a span that contains this chip's aria description. */
179
171
  _ariaDescriptionId: string;
172
+ /** Whether the chip list is disabled. */
173
+ _chipListDisabled: boolean;
180
174
  private _textElement;
181
175
  /**
182
176
  * The value of the chip. Defaults to the content inside
@@ -204,7 +198,9 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
204
198
  /** Whether the ripple effect is disabled or not. */
205
199
  disableRipple: boolean;
206
200
  /** Whether the chip is disabled. */
207
- disabled: boolean;
201
+ get disabled(): boolean;
202
+ set disabled(value: boolean);
203
+ private _disabled;
208
204
  /** Emitted when a chip is to be removed. */
209
205
  readonly removed: EventEmitter<MatChipEvent>;
210
206
  /** Emitted when the chip is destroyed. */
@@ -217,22 +213,15 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
217
213
  trailingIcon: MatChipTrailingIcon;
218
214
  /** The chip's trailing remove icon. */
219
215
  removeIcon: MatChipRemove;
220
- /**
221
- * Reference to the MatRipple instance of the chip.
222
- * @deprecated Considered an implementation detail. To be removed.
223
- * @breaking-change 17.0.0
224
- */
225
- get ripple(): MatRipple;
226
- set ripple(v: MatRipple);
227
216
  /** Action receiving the primary set of user interactions. */
228
217
  primaryAction: MatChipAction;
229
218
  /**
230
219
  * Handles the lazy creation of the MatChip ripple.
231
220
  * Used to improve initial load time of large applications.
232
221
  */
233
- _rippleLoader: MatRippleLoader;
222
+ private _rippleLoader;
234
223
  protected _injector: Injector;
235
- constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _focusMonitor: FocusMonitor, _document: any, animationMode?: string, _globalRippleOptions?: RippleGlobalOptions | undefined);
224
+ constructor(...args: unknown[]);
236
225
  ngOnInit(): void;
237
226
  ngAfterViewInit(): void;
238
227
  ngAfterContentInit(): void;
@@ -260,7 +249,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
260
249
  _handlePrimaryActionInteraction(): void;
261
250
  /** Starts the focus monitoring process on the chip. */
262
251
  private _monitorFocus;
263
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
252
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, never>;
264
253
  static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon", "_allLeadingIcons", "_allTrailingIcons", "_allRemoveIcons"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
265
254
  static ngAcceptInputType_removable: unknown;
266
255
  static ngAcceptInputType_highlighted: unknown;
@@ -302,12 +291,7 @@ declare class MatChipAction {
302
291
  * Determine the value of the tabindex attribute for this chip action.
303
292
  */
304
293
  protected _getTabindex(): string | null;
305
- constructor(_elementRef: ElementRef<HTMLElement>, _parentChip: {
306
- _handlePrimaryActionInteraction(): void;
307
- remove(): void;
308
- disabled: boolean;
309
- _isEditing?: boolean;
310
- });
294
+ constructor(...args: unknown[]);
311
295
  focus(): void;
312
296
  _handleClick(event: MouseEvent): void;
313
297
  _handleKeydown(event: KeyboardEvent): void;
@@ -336,7 +320,7 @@ export declare interface MatChipEditedEvent extends MatChipEvent {
336
320
  export declare class MatChipEditInput {
337
321
  private readonly _elementRef;
338
322
  private readonly _document;
339
- constructor(_elementRef: ElementRef, _document: any);
323
+ constructor(...args: unknown[]);
340
324
  initialize(initialValue: string): void;
341
325
  getNativeElement(): HTMLElement;
342
326
  setValue(value: string): void;
@@ -448,7 +432,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
448
432
  /** Whether the chip grid is in an error state. */
449
433
  get errorState(): boolean;
450
434
  set errorState(value: boolean);
451
- constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, ngControl: NgControl);
435
+ constructor(...args: unknown[]);
452
436
  ngAfterContentInit(): void;
453
437
  ngAfterViewInit(): void;
454
438
  ngDoCheck(): void;
@@ -507,7 +491,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
507
491
  private _propagateChanges;
508
492
  /** Mark the field as touched */
509
493
  private _markAsTouched;
510
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
494
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, never>;
511
495
  static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], true, never>;
512
496
  static ngAcceptInputType_disabled: unknown;
513
497
  static ngAcceptInputType_required: unknown;
@@ -562,7 +546,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
562
546
  get empty(): boolean;
563
547
  /** The native input element to which this directive is attached. */
564
548
  readonly inputElement: HTMLInputElement;
565
- constructor(_elementRef: ElementRef<HTMLInputElement>, defaultOptions: MatChipsDefaultOptions, formField?: MatFormField);
549
+ constructor(...args: unknown[]);
566
550
  ngOnChanges(): void;
567
551
  ngOnDestroy(): void;
568
552
  /** Utility method to make host definition/tests more clear. */
@@ -580,7 +564,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
580
564
  setDescribedByIds(ids: string[]): void;
581
565
  /** Checks whether a keycode is one of the configured separators. */
582
566
  private _isSeparatorKey;
583
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
567
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
584
568
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
585
569
  static ngAcceptInputType_addOnBlur: unknown;
586
570
  static ngAcceptInputType_disabled: unknown;
@@ -843,7 +827,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
843
827
  /** The projected chip edit input. */
844
828
  contentEditInput?: MatChipEditInput;
845
829
  _isEditing: boolean;
846
- constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef, ngZone: NgZone, focusMonitor: FocusMonitor, _document: any, animationMode?: string, globalRippleOptions?: RippleGlobalOptions, tabIndex?: string);
830
+ constructor(...args: unknown[]);
847
831
  _hasTrailingIcon(): boolean;
848
832
  /** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
849
833
  _handleFocus(): void;
@@ -857,7 +841,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
857
841
  * two values is guaranteed to be defined.
858
842
  */
859
843
  private _getEditInput;
860
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
844
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, never>;
861
845
  static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "editable": { "alias": "editable"; "required": false; }; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "[matChipEditInput]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
862
846
  }
863
847
 
@@ -927,7 +911,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
927
911
  _chips: QueryList<MatChip>;
928
912
  /** Flat list of all the actions contained within the chips. */
929
913
  _chipActions: QueryList<MatChipAction>;
930
- constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality);
914
+ constructor(...args: unknown[]);
931
915
  ngAfterViewInit(): void;
932
916
  ngOnDestroy(): void;
933
917
  /** Checks whether any of the chips is focused. */
@@ -974,7 +958,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
974
958
  * if the currently-focused chip is destroyed.
975
959
  */
976
960
  private _redirectDestroyedChipFocus;
977
- static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, [null, null, { optional: true; }]>;
961
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
978
962
  static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["_chips"], ["*"], true, never>;
979
963
  static ngAcceptInputType_disabled: unknown;
980
964
  static ngAcceptInputType_tabIndex: unknown;
@@ -15,53 +15,36 @@
15
15
  @use './tokens/m2/mat/full-pseudo-checkbox' as tokens-mat-full-pseudo-checkbox;
16
16
  @use './tokens/m2/mat/minimal-pseudo-checkbox' as tokens-mat-minimal-pseudo-checkbox;
17
17
 
18
- $_has-inserted-loaded-marker: false;
19
-
20
- @mixin _theme-loaded-marker {
21
- @if not $_has-inserted-loaded-marker {
22
- $_has-inserted-loaded-marker: true !global;
23
-
24
- // Marker that is used to determine whether the user has added a theme to their page.
25
- // Needs to be generated at the root, because themes may be nested inside classes.
26
- @at-root {
27
- .mat-theme-loaded-marker {
28
- display: none;
29
- }
30
- }
31
- }
32
- }
33
-
34
18
  @mixin base($theme) {
35
19
  @if inspection.get-theme-version($theme) == 1 {
36
20
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
37
- }
38
- @else {
21
+ } @else {
39
22
  @include ripple-theme.base($theme);
40
23
  @include option-theme.base($theme);
41
24
  @include optgroup-theme.base($theme);
42
25
  @include pseudo-checkbox-theme.base($theme);
43
26
  @include sass-utils.current-selector-or-root() {
44
- @include token-utils.create-token-values(tokens-mat-app.$prefix,
45
- tokens-mat-app.get-unthemable-tokens());
27
+ @include token-utils.create-token-values(
28
+ tokens-mat-app.$prefix,
29
+ tokens-mat-app.get-unthemable-tokens()
30
+ );
46
31
  }
47
32
  }
48
-
49
- // The marker is a concrete style no matter which Material version we're targeting.
50
- @include _theme-loaded-marker;
51
33
  }
52
34
 
53
35
  @mixin color($theme) {
54
36
  @if inspection.get-theme-version($theme) == 1 {
55
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
56
- }
57
- @else {
38
+ } @else {
58
39
  @include ripple-theme.color($theme);
59
40
  @include option-theme.color($theme);
60
41
  @include optgroup-theme.color($theme);
61
42
  @include pseudo-checkbox-theme.color($theme);
62
43
  @include sass-utils.current-selector-or-root() {
63
- @include token-utils.create-token-values(tokens-mat-app.$prefix,
64
- tokens-mat-app.get-color-tokens($theme));
44
+ @include token-utils.create-token-values(
45
+ tokens-mat-app.$prefix,
46
+ tokens-mat-app.get-color-tokens($theme)
47
+ );
65
48
  }
66
49
  }
67
50
  }
@@ -69,8 +52,7 @@ $_has-inserted-loaded-marker: false;
69
52
  @mixin typography($theme) {
70
53
  @if inspection.get-theme-version($theme) == 1 {
71
54
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
72
- }
73
- @else {
55
+ } @else {
74
56
  @include option-theme.typography($theme);
75
57
  @include optgroup-theme.typography($theme);
76
58
  @include pseudo-checkbox-theme.typography($theme);
@@ -81,8 +63,7 @@ $_has-inserted-loaded-marker: false;
81
63
  @mixin density($theme) {
82
64
  @if inspection.get-theme-version($theme) == 1 {
83
65
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
84
- }
85
- @else {
66
+ } @else {
86
67
  @include option-theme.density($theme);
87
68
  @include optgroup-theme.density($theme);
88
69
  @include pseudo-checkbox-theme.density($theme);
@@ -90,23 +71,36 @@ $_has-inserted-loaded-marker: false;
90
71
  }
91
72
  }
92
73
 
93
- @mixin overrides($tokens: ()) {
74
+ @function _define-overrides() {
94
75
  $app-tokens: tokens-mat-app.get-token-slots();
95
76
  $ripple-tokens: tokens-mat-ripple.get-token-slots();
96
77
  $option-tokens: tokens-mat-option.get-token-slots();
78
+ $optgroup-tokens: tokens-mat-optgroup.get-token-slots();
97
79
  $full-pseudo-checkbox-tokens: tokens-mat-full-pseudo-checkbox.get-token-slots();
98
80
  $minimal-pseudo-checkbox-tokens: tokens-mat-minimal-pseudo-checkbox.get-token-slots();
99
81
 
100
- @include token-utils.batch-create-token-values(
101
- $tokens,
102
- (prefix: tokens-mat-app.$prefix, tokens: $app-tokens),
103
- (prefix: tokens-mat-ripple.$prefix, tokens: $ripple-tokens),
104
- (prefix: tokens-mat-option.$prefix, tokens: $option-tokens),
105
- (prefix: tokens-mat-full-pseudo-checkbox.$prefix, tokens: $full-pseudo-checkbox-tokens),
106
- (prefix: tokens-mat-minimal-pseudo-checkbox.$prefix, tokens: $minimal-pseudo-checkbox-tokens),
82
+ @return (
83
+ (namespace: tokens-mat-app.$prefix, tokens: $app-tokens, prefix: 'app-'),
84
+ (namespace: tokens-mat-ripple.$prefix, tokens: $ripple-tokens, prefix: 'ripple-'),
85
+ (namespace: tokens-mat-option.$prefix, tokens: $option-tokens, prefix: 'option-'),
86
+ (namespace: tokens-mat-optgroup.$prefix, tokens: $optgroup-tokens, prefix: 'optgroup-'),
87
+ (
88
+ namespace: tokens-mat-full-pseudo-checkbox.$prefix,
89
+ tokens: $full-pseudo-checkbox-tokens,
90
+ prefix: 'pseudo-checkbox-full-'
91
+ ),
92
+ (
93
+ namespace: tokens-mat-minimal-pseudo-checkbox.$prefix,
94
+ tokens: $minimal-pseudo-checkbox-tokens,
95
+ prefix: 'pseudo-checkbox-minimal-'
96
+ )
107
97
  );
108
98
  }
109
99
 
100
+ @mixin overrides($tokens: ()) {
101
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
102
+ }
103
+
110
104
  // Mixin that renders all of the core styles that depend on the theme.
111
105
  @mixin theme($theme, $options...) {
112
106
  // Wrap the sub-theme includes in the duplicate theme styles mixin. This ensures that
@@ -115,8 +109,7 @@ $_has-inserted-loaded-marker: false;
115
109
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-core') {
116
110
  @if inspection.get-theme-version($theme) == 1 {
117
111
  @include _theme-from-tokens(inspection.get-theme-tokens($theme), $options...);
118
- }
119
- @else {
112
+ } @else {
120
113
  @include base($theme);
121
114
  @if inspection.theme-has($theme, color) {
122
115
  @include color($theme);
@@ -129,30 +122,41 @@ $_has-inserted-loaded-marker: false;
129
122
  }
130
123
  }
131
124
  }
132
-
133
- // The marker is a concrete style no matter which Material version we're targeting.
134
- @include _theme-loaded-marker;
135
125
  }
136
126
 
137
127
  @mixin _theme-from-tokens($tokens, $options...) {
138
128
  @include validation.selector-defined(
139
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
129
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
130
+ );
140
131
  $mat-app-tokens: token-utils.get-tokens-for($tokens, tokens-mat-app.$prefix, $options...);
141
132
  $mat-ripple-tokens: token-utils.get-tokens-for($tokens, tokens-mat-ripple.$prefix, $options...);
142
133
  $mat-option-tokens: token-utils.get-tokens-for($tokens, tokens-mat-option.$prefix, $options...);
143
- $mat-optgroup-tokens:
144
- token-utils.get-tokens-for($tokens, tokens-mat-optgroup.$prefix, $options...);
145
- $mat-full-pseudo-checkbox-tokens: token-utils.get-tokens-for($tokens,
146
- tokens-mat-full-pseudo-checkbox.$prefix, $options...);
147
- $mat-minimal-pseudo-checkbox-tokens: token-utils.get-tokens-for($tokens,
148
- tokens-mat-minimal-pseudo-checkbox.$prefix, $options...);
134
+ $mat-optgroup-tokens: token-utils.get-tokens-for(
135
+ $tokens,
136
+ tokens-mat-optgroup.$prefix,
137
+ $options...
138
+ );
139
+ $mat-full-pseudo-checkbox-tokens: token-utils.get-tokens-for(
140
+ $tokens,
141
+ tokens-mat-full-pseudo-checkbox.$prefix,
142
+ $options...
143
+ );
144
+ $mat-minimal-pseudo-checkbox-tokens: token-utils.get-tokens-for(
145
+ $tokens,
146
+ tokens-mat-minimal-pseudo-checkbox.$prefix,
147
+ $options...
148
+ );
149
149
 
150
150
  @include token-utils.create-token-values(tokens-mat-app.$prefix, $mat-app-tokens);
151
151
  @include token-utils.create-token-values(tokens-mat-ripple.$prefix, $mat-ripple-tokens);
152
152
  @include token-utils.create-token-values(tokens-mat-option.$prefix, $mat-option-tokens);
153
153
  @include token-utils.create-token-values(tokens-mat-optgroup.$prefix, $mat-optgroup-tokens);
154
- @include token-utils.create-token-values(tokens-mat-full-pseudo-checkbox.$prefix,
155
- $mat-full-pseudo-checkbox-tokens);
156
- @include token-utils.create-token-values(tokens-mat-minimal-pseudo-checkbox.$prefix,
157
- $mat-minimal-pseudo-checkbox-tokens);
154
+ @include token-utils.create-token-values(
155
+ tokens-mat-full-pseudo-checkbox.$prefix,
156
+ $mat-full-pseudo-checkbox-tokens
157
+ );
158
+ @include token-utils.create-token-values(
159
+ tokens-mat-minimal-pseudo-checkbox.$prefix,
160
+ $mat-minimal-pseudo-checkbox-tokens
161
+ );
158
162
  }
package/core/_core.scss CHANGED
@@ -1,28 +1,21 @@
1
- @use '@angular/cdk';
2
1
  @use './tokens/m2/mat/app' as tokens-mat-app;
3
2
  @use './tokens/token-utils';
4
- @use './ripple/ripple';
5
3
  @use './style/elevation';
6
- @use './focus-indicators/private';
7
4
 
8
- // Mixin that renders all of the core styles that are not theme-dependent.
9
- @mixin core() {
5
+ /// @deprecated This mixin is a no-op and is going to be removed in v21.
6
+ @mixin core() {}
7
+
8
+ // Emits the mat-app-background CSS class. This predefined class sets the
9
+ // background color and text color of an element.
10
+ @mixin app-background() {
10
11
  // TODO: Move ripple styles to be dynamically loaded instead of in core.
11
12
  // This variable is used as a fallback for the ripple element's
12
13
  // background color. However, if it isn't defined anywhere, then MSS
13
14
  // complains in its verification stage.
14
15
  html {
15
- --mat-app-on-surface: initial;
16
+ --mat-sys-on-surface: initial;
16
17
  }
17
18
 
18
- @include ripple.ripple();
19
- @include cdk.a11y-visually-hidden();
20
- @include cdk.overlay();
21
- @include cdk.text-field-autosize();
22
- @include cdk.text-field-autofill();
23
- @include private.structural-styling('mat');
24
- @include private.structural-styling('mat-mdc');
25
-
26
19
  // Wrapper element that provides the theme background when the
27
20
  // user's content isn't inside of a `mat-sidenav-container`.
28
21
  @at-root {
@@ -32,7 +25,17 @@
32
25
  @include token-utils.create-token-slot(background-color, background-color, transparent);
33
26
  @include token-utils.create-token-slot(color, text-color, inherit);
34
27
  }
28
+ }
29
+ }
30
+ }
35
31
 
32
+ // Emits CSS classes for applying elevation. These classes follow the pattern
33
+ // mat-elevation-z#, where # is the elevation number you want, from 0 to 24.
34
+ // These predefined classes use the CSS box-shadow settings defined by the
35
+ // Material Design specification.
36
+ @mixin elevation-classes() {
37
+ @at-root {
38
+ @include token-utils.use-tokens(tokens-mat-app.$prefix, tokens-mat-app.get-token-slots()) {
36
39
  // Provides external CSS classes for each elevation value. Each CSS class is formatted as
37
40
  // `mat-elevation-z$z-value` where `$z-value` corresponds to the z-space to which the element
38
41
  // is elevated.
@@ -12,31 +12,19 @@ $default-border-color: transparent;
12
12
  $default-border-radius: 4px;
13
13
 
14
14
  // Mixin that renders the focus indicator structural styles.
15
- @mixin structural-styling($prefix) {
16
- .#{$prefix}-focus-indicator {
15
+ @mixin structural-styling() {
16
+ .mat-focus-indicator {
17
17
  position: relative;
18
18
 
19
19
  &::before {
20
20
  @include layout-common.fill();
21
21
  box-sizing: border-box;
22
22
  pointer-events: none;
23
- display: var(--#{$prefix}-focus-indicator-display, none); // Hide the indicator by default.
24
- border: var(
25
- --#{$prefix}-focus-indicator-border-width,
26
- #{$default-border-width}
27
- )
28
- var(
29
- --#{$prefix}-focus-indicator-border-style,
30
- #{$default-border-style}
31
- )
32
- var(
33
- --#{$prefix}-focus-indicator-border-color,
34
- #{$default-border-color}
35
- );
36
- border-radius: var(
37
- --#{$prefix}-focus-indicator-border-radius,
38
- #{$default-border-radius}
39
- );
23
+ display: var(--mat-focus-indicator-display, none); // Hide the indicator by default.
24
+ border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
25
+ border-style: var(--mat-focus-indicator-border-style, #{$default-border-style});
26
+ border-color: var(--mat-focus-indicator-border-color, #{$default-border-color});
27
+ border-radius: var(--mat-focus-indicator-border-radius, #{$default-border-radius});
40
28
  }
41
29
 
42
30
  // By default, render the focus indicator when the focus indicator host element takes focus.
@@ -47,8 +35,8 @@ $default-border-radius: 4px;
47
35
  }
48
36
 
49
37
  // Enable the indicator in high contrast mode.
50
- @include cdk.high-contrast(active, off) {
51
- @include customize-focus-indicators((display: block), $prefix);
38
+ @include cdk.high-contrast {
39
+ @include _customize-focus-indicators((display: block));
52
40
  }
53
41
  }
54
42
 
@@ -62,18 +50,18 @@ $default-border-radius: 4px;
62
50
  }
63
51
 
64
52
  // Mixin that dedups CSS variables for the strong-focus-indicators mixin.
65
- @mixin customize-focus-indicators($config, $prefix) {
53
+ @mixin _customize-focus-indicators($config) {
66
54
  $border-style: map.get($config, border-style);
67
55
  $border-width: map.get($config, border-width);
68
56
  $border-radius: map.get($config, border-radius);
69
57
  $border-color: map.get($config, border-color);
70
58
  $display: map.get($config, display);
71
59
  $map: (
72
- '#{$prefix}-focus-indicator-border-style': $border-style,
73
- '#{$prefix}-focus-indicator-border-width': $border-width,
74
- '#{$prefix}-focus-indicator-border-radius': $border-radius,
75
- '#{$prefix}-focus-indicator-border-color': $border-color,
76
- '#{$prefix}-focus-indicator-display': $display,
60
+ 'mat-focus-indicator-border-style': $border-style,
61
+ 'mat-focus-indicator-border-width': $border-width,
62
+ 'mat-focus-indicator-border-radius': $border-radius,
63
+ 'mat-focus-indicator-border-color': $border-color,
64
+ 'mat-focus-indicator-display': $display,
77
65
  );
78
66
 
79
67
  @if (&) {
@@ -91,48 +79,29 @@ $default-border-radius: 4px;
91
79
  @mixin strong-focus-indicators($config: ()) {
92
80
  // Default focus indicator config.
93
81
  $default-config: (
94
- border-color: black,
95
- display: block,
82
+ border-color: black,
83
+ display: block,
96
84
  );
97
85
 
98
86
  // Merge default config with user config.
99
87
  $config: map.merge($default-config, $config);
100
88
 
101
- @include customize-focus-indicators($config, 'mat');
102
- }
103
-
104
- @mixin mdc-strong-focus-indicators($config: ()) {
105
- // Default focus indicator config.
106
- $default-config: (
107
- border-color: black,
108
- display: block,
109
- );
110
-
111
- // Merge default config with user config.
112
- $config: map.merge($default-config, $config);
113
-
114
- @include customize-focus-indicators($config, 'mat-mdc');
89
+ @include _customize-focus-indicators($config);
115
90
  }
116
91
 
117
92
  @mixin strong-focus-indicators-color($theme-or-color) {
118
93
  @if meta.type-of($theme-or-color) == 'color' {
119
- @include customize-focus-indicators((
120
- border-color: $theme-or-color
121
- ), 'mat');
94
+ @include _customize-focus-indicators((border-color: $theme-or-color));
122
95
  }
123
96
  @else {
124
97
  $border-color: inspection.get-theme-color($theme-or-color, primary);
125
- @include customize-focus-indicators((
126
- border-color: $border-color
127
- ), 'mat');
98
+ @include _customize-focus-indicators((border-color: $border-color));
128
99
  }
129
100
  }
130
101
 
131
102
  @mixin strong-focus-indicators-theme($theme-or-color) {
132
103
  @if meta.type-of($theme-or-color) == 'color' {
133
- @include customize-focus-indicators((
134
- border-color: $theme-or-color
135
- ), 'mat');
104
+ @include _customize-focus-indicators((border-color: $theme-or-color));
136
105
  }
137
106
  @else {
138
107
  @include theming.private-check-duplicate-theme-styles($theme-or-color, 'mat-focus-indicators') {
@@ -142,33 +111,3 @@ $default-border-radius: 4px;
142
111
  }
143
112
  }
144
113
  }
145
-
146
- @mixin mdc-strong-focus-indicators-color($theme-or-color) {
147
- @if meta.type-of($theme-or-color) == 'color' {
148
- @include customize-focus-indicators((
149
- border-color: $theme-or-color
150
- ), 'mat-mdc');
151
- }
152
- @else {
153
- $border-color: inspection.get-theme-color($theme-or-color, primary);
154
- @include customize-focus-indicators((
155
- border-color: $border-color
156
- ), 'mat-mdc');
157
- }
158
- }
159
-
160
- @mixin mdc-strong-focus-indicators-theme($theme-or-color) {
161
- @if meta.type-of($theme-or-color) == 'color' {
162
- @include customize-focus-indicators((
163
- border-color: $theme-or-color
164
- ), 'mat-mdc');
165
- }
166
- @else {
167
- @include theming.private-check-duplicate-theme-styles(
168
- $theme-or-color, 'mat-mdc-focus-indicators') {
169
- @if inspection.theme-has($theme-or-color, color) {
170
- @include mdc-strong-focus-indicators-color($theme-or-color);
171
- }
172
- }
173
- }
174
- }