@angular/material 21.0.0-next.0 → 21.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 (394) hide show
  1. package/_index.scss +1 -1
  2. package/core/focus-indicators/_private.scss +16 -0
  3. package/core/tokens/_classes.scss +150 -167
  4. package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
  5. package/core/tokens/m2/_md-sys-color.scss +28 -19
  6. package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
  7. package/core/tokens/m3/_md-sys-color.scss +5 -31
  8. package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
  9. package/core/tokens/m3/_md-sys-typescale.scss +2 -16
  10. package/fesm2022/{animation.mjs → _animation-chunk.mjs} +2 -23
  11. package/fesm2022/_animation-chunk.mjs.map +1 -0
  12. package/fesm2022/{date-formats.mjs → _date-formats-chunk.mjs} +3 -11
  13. package/fesm2022/_date-formats-chunk.mjs.map +1 -0
  14. package/fesm2022/{date-range-input-harness.mjs → _date-range-input-harness-chunk.mjs} +1 -1
  15. package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
  16. package/fesm2022/{error-options.mjs → _error-options-chunk.mjs} +7 -7
  17. package/fesm2022/_error-options-chunk.mjs.map +1 -0
  18. package/fesm2022/{error-state.mjs → _error-state-chunk.mjs} +1 -1
  19. package/fesm2022/_error-state-chunk.mjs.map +1 -0
  20. package/fesm2022/_form-field-chunk.mjs +1114 -0
  21. package/fesm2022/_form-field-chunk.mjs.map +1 -0
  22. package/fesm2022/{icon-button.mjs → _icon-button-chunk.mjs} +10 -10
  23. package/fesm2022/_icon-button-chunk.mjs.map +1 -0
  24. package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +6 -33
  25. package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
  26. package/fesm2022/{input-harness.mjs → _input-harness-chunk.mjs} +1 -1
  27. package/fesm2022/_input-harness-chunk.mjs.map +1 -0
  28. package/fesm2022/{input-value-accessor.mjs → _input-value-accessor-chunk.mjs} +1 -1
  29. package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
  30. package/fesm2022/{internal-form-field.mjs → _internal-form-field-chunk.mjs} +4 -4
  31. package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
  32. package/fesm2022/{line.mjs → _line-chunk.mjs} +11 -11
  33. package/fesm2022/_line-chunk.mjs.map +1 -0
  34. package/fesm2022/{option.mjs → _option-chunk.mjs} +11 -11
  35. package/fesm2022/_option-chunk.mjs.map +1 -0
  36. package/fesm2022/{option-harness.mjs → _option-harness-chunk.mjs} +1 -1
  37. package/fesm2022/_option-harness-chunk.mjs.map +1 -0
  38. package/fesm2022/_option-module-chunk.mjs +22 -0
  39. package/fesm2022/_option-module-chunk.mjs.map +1 -0
  40. package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +5 -5
  41. package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
  42. package/fesm2022/_pseudo-checkbox-module-chunk.mjs +20 -0
  43. package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
  44. package/fesm2022/{public-api.mjs → _public-api-chunk.mjs} +1 -1
  45. package/fesm2022/_public-api-chunk.mjs.map +1 -0
  46. package/fesm2022/{ripple.mjs → _ripple-chunk.mjs} +10 -10
  47. package/fesm2022/_ripple-chunk.mjs.map +1 -0
  48. package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +6 -6
  49. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
  50. package/fesm2022/_ripple-module-chunk.mjs +20 -0
  51. package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
  52. package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +4 -4
  53. package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
  54. package/fesm2022/{tooltip-module.mjs → _tooltip-chunk.mjs} +18 -61
  55. package/fesm2022/_tooltip-chunk.mjs.map +1 -0
  56. package/fesm2022/{autocomplete/testing.mjs → autocomplete-testing.mjs} +3 -3
  57. package/fesm2022/autocomplete-testing.mjs.map +1 -0
  58. package/fesm2022/autocomplete.mjs +32 -64
  59. package/fesm2022/autocomplete.mjs.map +1 -1
  60. package/fesm2022/{badge/testing.mjs → badge-testing.mjs} +1 -1
  61. package/fesm2022/badge-testing.mjs.map +1 -0
  62. package/fesm2022/badge.mjs +14 -15
  63. package/fesm2022/badge.mjs.map +1 -1
  64. package/fesm2022/{bottom-sheet/testing.mjs → bottom-sheet-testing.mjs} +1 -1
  65. package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
  66. package/fesm2022/bottom-sheet.mjs +20 -98
  67. package/fesm2022/bottom-sheet.mjs.map +1 -1
  68. package/fesm2022/{button/testing.mjs → button-testing.mjs} +6 -2
  69. package/fesm2022/button-testing.mjs.map +1 -0
  70. package/fesm2022/{button-toggle/testing.mjs → button-toggle-testing.mjs} +1 -1
  71. package/fesm2022/button-toggle-testing.mjs.map +1 -0
  72. package/fesm2022/button-toggle.mjs +24 -33
  73. package/fesm2022/button-toggle.mjs.map +1 -1
  74. package/fesm2022/button.mjs +32 -54
  75. package/fesm2022/button.mjs.map +1 -1
  76. package/fesm2022/{card/testing.mjs → card-testing.mjs} +1 -1
  77. package/fesm2022/card-testing.mjs.map +1 -0
  78. package/fesm2022/card.mjs +50 -52
  79. package/fesm2022/card.mjs.map +1 -1
  80. package/fesm2022/{checkbox/testing.mjs → checkbox-testing.mjs} +1 -1
  81. package/fesm2022/checkbox-testing.mjs.map +1 -0
  82. package/fesm2022/checkbox.mjs +26 -36
  83. package/fesm2022/checkbox.mjs.map +1 -1
  84. package/fesm2022/{chips/testing.mjs → chips-testing.mjs} +1 -7
  85. package/fesm2022/chips-testing.mjs.map +1 -0
  86. package/fesm2022/chips.mjs +158 -126
  87. package/fesm2022/chips.mjs.map +1 -1
  88. package/fesm2022/{core/testing.mjs → core-testing.mjs} +2 -2
  89. package/fesm2022/core-testing.mjs.map +1 -0
  90. package/fesm2022/core.mjs +28 -35
  91. package/fesm2022/core.mjs.map +1 -1
  92. package/fesm2022/{datepicker/testing.mjs → datepicker-testing.mjs} +3 -3
  93. package/fesm2022/datepicker-testing.mjs.map +1 -0
  94. package/fesm2022/datepicker.mjs +193 -346
  95. package/fesm2022/datepicker.mjs.map +1 -1
  96. package/fesm2022/{dialog/testing.mjs → dialog-testing.mjs} +7 -8
  97. package/fesm2022/dialog-testing.mjs.map +1 -0
  98. package/fesm2022/dialog.mjs +882 -115
  99. package/fesm2022/dialog.mjs.map +1 -1
  100. package/fesm2022/{divider/testing.mjs → divider-testing.mjs} +1 -1
  101. package/fesm2022/divider-testing.mjs.map +1 -0
  102. package/fesm2022/divider.mjs +10 -12
  103. package/fesm2022/divider.mjs.map +1 -1
  104. package/fesm2022/{expansion/testing.mjs → expansion-testing.mjs} +1 -1
  105. package/fesm2022/expansion-testing.mjs.map +1 -0
  106. package/fesm2022/expansion.mjs +33 -137
  107. package/fesm2022/expansion.mjs.map +1 -1
  108. package/fesm2022/{form-field/testing/control.mjs → form-field-testing-control.mjs} +1 -1
  109. package/fesm2022/form-field-testing-control.mjs.map +1 -0
  110. package/fesm2022/{form-field/testing.mjs → form-field-testing.mjs} +5 -5
  111. package/fesm2022/form-field-testing.mjs.map +1 -0
  112. package/fesm2022/form-field.mjs +20 -51
  113. package/fesm2022/form-field.mjs.map +1 -1
  114. package/fesm2022/{grid-list/testing.mjs → grid-list-testing.mjs} +2 -2
  115. package/fesm2022/grid-list-testing.mjs.map +1 -0
  116. package/fesm2022/grid-list.mjs +30 -35
  117. package/fesm2022/grid-list.mjs.map +1 -1
  118. package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +9 -9
  119. package/fesm2022/icon-testing.mjs.map +1 -0
  120. package/fesm2022/icon.mjs +22 -30
  121. package/fesm2022/icon.mjs.map +1 -1
  122. package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
  123. package/fesm2022/input-testing.mjs.map +1 -0
  124. package/fesm2022/input.mjs +17 -18
  125. package/fesm2022/input.mjs.map +1 -1
  126. package/fesm2022/{list/testing.mjs → list-testing.mjs} +2 -2
  127. package/fesm2022/list-testing.mjs.map +1 -0
  128. package/fesm2022/list.mjs +63 -64
  129. package/fesm2022/list.mjs.map +1 -1
  130. package/fesm2022/material.mjs.map +1 -1
  131. package/fesm2022/{menu/testing.mjs → menu-testing.mjs} +1 -1
  132. package/fesm2022/menu-testing.mjs.map +1 -0
  133. package/fesm2022/menu.mjs +45 -193
  134. package/fesm2022/menu.mjs.map +1 -1
  135. package/fesm2022/{paginator/testing.mjs → paginator-testing.mjs} +2 -2
  136. package/fesm2022/paginator-testing.mjs.map +1 -0
  137. package/fesm2022/paginator.mjs +31 -51
  138. package/fesm2022/paginator.mjs.map +1 -1
  139. package/fesm2022/{progress-bar/testing.mjs → progress-bar-testing.mjs} +1 -1
  140. package/fesm2022/progress-bar-testing.mjs.map +1 -0
  141. package/fesm2022/progress-bar.mjs +24 -29
  142. package/fesm2022/progress-bar.mjs.map +1 -1
  143. package/fesm2022/{progress-spinner/testing.mjs → progress-spinner-testing.mjs} +1 -1
  144. package/fesm2022/progress-spinner-testing.mjs.map +1 -0
  145. package/fesm2022/progress-spinner.mjs +12 -22
  146. package/fesm2022/progress-spinner.mjs.map +1 -1
  147. package/fesm2022/{radio/testing.mjs → radio-testing.mjs} +1 -1
  148. package/fesm2022/radio-testing.mjs.map +1 -0
  149. package/fesm2022/radio.mjs +23 -32
  150. package/fesm2022/radio.mjs.map +1 -1
  151. package/fesm2022/{select/testing.mjs → select-testing.mjs} +1 -1
  152. package/fesm2022/select-testing.mjs.map +1 -0
  153. package/fesm2022/select.mjs +1299 -96
  154. package/fesm2022/select.mjs.map +1 -1
  155. package/fesm2022/{sidenav/testing.mjs → sidenav-testing.mjs} +1 -1
  156. package/fesm2022/sidenav-testing.mjs.map +1 -0
  157. package/fesm2022/sidenav.mjs +30 -120
  158. package/fesm2022/sidenav.mjs.map +1 -1
  159. package/fesm2022/{slide-toggle/testing.mjs → slide-toggle-testing.mjs} +1 -1
  160. package/fesm2022/slide-toggle-testing.mjs.map +1 -0
  161. package/fesm2022/slide-toggle.mjs +14 -15
  162. package/fesm2022/slide-toggle.mjs.map +1 -1
  163. package/fesm2022/{slider/testing.mjs → slider-testing.mjs} +1 -1
  164. package/fesm2022/slider-testing.mjs.map +1 -0
  165. package/fesm2022/slider.mjs +24 -38
  166. package/fesm2022/slider.mjs.map +1 -1
  167. package/fesm2022/{snack-bar/testing.mjs → snack-bar-testing.mjs} +1 -1
  168. package/fesm2022/snack-bar-testing.mjs.map +1 -0
  169. package/fesm2022/snack-bar.mjs +34 -128
  170. package/fesm2022/snack-bar.mjs.map +1 -1
  171. package/fesm2022/{sort/testing.mjs → sort-testing.mjs} +1 -1
  172. package/fesm2022/sort-testing.mjs.map +1 -0
  173. package/fesm2022/sort.mjs +26 -351
  174. package/fesm2022/sort.mjs.map +1 -1
  175. package/fesm2022/{stepper/testing.mjs → stepper-testing.mjs} +3 -2
  176. package/fesm2022/stepper-testing.mjs.map +1 -0
  177. package/fesm2022/stepper.mjs +46 -219
  178. package/fesm2022/stepper.mjs.map +1 -1
  179. package/fesm2022/{table/testing.mjs → table-testing.mjs} +36 -4
  180. package/fesm2022/table-testing.mjs.map +1 -0
  181. package/fesm2022/table.mjs +66 -63
  182. package/fesm2022/table.mjs.map +1 -1
  183. package/fesm2022/{tabs/testing.mjs → tabs-testing.mjs} +1 -1
  184. package/fesm2022/tabs-testing.mjs.map +1 -0
  185. package/fesm2022/tabs.mjs +68 -222
  186. package/fesm2022/tabs.mjs.map +1 -1
  187. package/fesm2022/{timepicker/testing.mjs → timepicker-testing.mjs} +2 -2
  188. package/fesm2022/timepicker-testing.mjs.map +1 -0
  189. package/fesm2022/timepicker.mjs +40 -34
  190. package/fesm2022/timepicker.mjs.map +1 -1
  191. package/fesm2022/{toolbar/testing.mjs → toolbar-testing.mjs} +1 -1
  192. package/fesm2022/toolbar-testing.mjs.map +1 -0
  193. package/fesm2022/toolbar.mjs +13 -15
  194. package/fesm2022/toolbar.mjs.map +1 -1
  195. package/fesm2022/{tooltip/testing.mjs → tooltip-testing.mjs} +1 -1
  196. package/fesm2022/tooltip-testing.mjs.map +1 -0
  197. package/fesm2022/tooltip.mjs +22 -54
  198. package/fesm2022/tooltip.mjs.map +1 -1
  199. package/fesm2022/{tree/testing.mjs → tree-testing.mjs} +1 -1
  200. package/fesm2022/tree-testing.mjs.map +1 -0
  201. package/fesm2022/tree.mjs +29 -31
  202. package/fesm2022/tree.mjs.map +1 -1
  203. package/package.json +115 -114
  204. package/prebuilt-themes/deeppurple-amber.css +1 -1
  205. package/prebuilt-themes/indigo-pink.css +1 -1
  206. package/prebuilt-themes/pink-bluegrey.css +1 -1
  207. package/prebuilt-themes/purple-green.css +1 -1
  208. package/schematics/ng-add/index.js +1 -1
  209. package/schematics/ng-update/index_bundled.js +7 -3
  210. package/schematics/ng-update/index_bundled.js.map +1 -1
  211. package/slider/_m2-slider.scss +1 -0
  212. package/slider/_m3-slider.scss +5 -2
  213. package/{badge.d.d.ts → types/_badge-chunk.d.ts} +1 -1
  214. package/{button-toggle.d.d.ts → types/_button-toggle-chunk.d.ts} +1 -7
  215. package/{date-adapter.d.d.ts → types/_date-adapter-chunk.d.ts} +1 -7
  216. package/{form-field.d.d.ts → types/_form-field-chunk.d.ts} +2 -2
  217. package/{form-field-module.d.d.ts → types/_form-field-module-chunk.d.ts} +4 -4
  218. package/{icon-module.d.d.ts → types/_icon-module-chunk.d.ts} +4 -10
  219. package/{icon-registry.d.d.ts → types/_icon-registry-chunk.d.ts} +2 -18
  220. package/{line.d.d.ts → types/_line-chunk.d.ts} +2 -2
  221. package/types/_option-module-chunk.d.ts +13 -0
  222. package/{paginator.d.d.ts → types/_paginator-chunk.d.ts} +4 -20
  223. package/{progress-spinner.d.d.ts → types/_progress-spinner-chunk.d.ts} +4 -10
  224. package/{pseudo-checkbox-module.d.d.ts → types/_pseudo-checkbox-module-chunk.d.ts} +2 -2
  225. package/{ripple.d.d.ts → types/_ripple-chunk.d.ts} +3 -3
  226. package/{ripple-module.d.d.ts → types/_ripple-module-chunk.d.ts} +3 -3
  227. package/{sort.d.d.ts → types/_sort-chunk.d.ts} +1 -1
  228. package/{autocomplete/testing/index.d.ts → types/autocomplete-testing.d.ts} +2 -2
  229. package/{autocomplete/index.d.ts → types/autocomplete.d.ts} +10 -33
  230. package/{badge/testing/index.d.ts → types/badge-testing.d.ts} +2 -2
  231. package/types/badge.d.ts +14 -0
  232. package/{bottom-sheet/index.d.ts → types/bottom-sheet.d.ts} +10 -14
  233. package/{button/testing/index.d.ts → types/button-testing.d.ts} +2 -0
  234. package/{button-toggle/testing/index.d.ts → types/button-toggle-testing.d.ts} +1 -1
  235. package/types/button-toggle.d.ts +16 -0
  236. package/{button/index.d.ts → types/button.d.ts} +7 -14
  237. package/{card/index.d.ts → types/card.d.ts} +2 -3
  238. package/{checkbox/index.d.ts → types/checkbox.d.ts} +4 -11
  239. package/{chips/index.d.ts → types/chips.d.ts} +74 -68
  240. package/{core/testing/index.d.ts → types/core-testing.d.ts} +1 -1
  241. package/{core/index.d.ts → types/core.d.ts} +14 -41
  242. package/{datepicker/testing/index.d.ts → types/datepicker-testing.d.ts} +2 -2
  243. package/{datepicker/index.d.ts → types/datepicker.d.ts} +48 -101
  244. package/{dialog/testing/index.d.ts → types/dialog-testing.d.ts} +1 -1
  245. package/{dialog/index.d.ts → types/dialog.d.ts} +9 -32
  246. package/{divider/index.d.ts → types/divider.d.ts} +2 -3
  247. package/{expansion/index.d.ts → types/expansion.d.ts} +5 -41
  248. package/{form-field/testing/control/index.d.ts → types/form-field-testing-control.d.ts} +1 -1
  249. package/{form-field/testing/index.d.ts → types/form-field-testing.d.ts} +4 -4
  250. package/{form-field/index.d.ts → types/form-field.d.ts} +6 -17
  251. package/{grid-list/index.d.ts → types/grid-list.d.ts} +3 -4
  252. package/{icon/testing/index.d.ts → types/icon-testing.d.ts} +1 -1
  253. package/types/icon.d.ts +8 -0
  254. package/{input/testing/index.d.ts → types/input-testing.d.ts} +2 -2
  255. package/{input/index.d.ts → types/input.d.ts} +10 -11
  256. package/{list/testing/index.d.ts → types/list-testing.d.ts} +2 -2
  257. package/{list/index.d.ts → types/list.d.ts} +10 -11
  258. package/{menu/index.d.ts → types/menu.d.ts} +7 -48
  259. package/{paginator/testing/index.d.ts → types/paginator-testing.d.ts} +1 -1
  260. package/types/paginator.d.ts +35 -0
  261. package/{progress-bar/index.d.ts → types/progress-bar.d.ts} +4 -11
  262. package/{progress-spinner/testing/index.d.ts → types/progress-spinner-testing.d.ts} +2 -2
  263. package/{progress-spinner/index.d.ts → types/progress-spinner.d.ts} +5 -6
  264. package/{radio/index.d.ts → types/radio.d.ts} +6 -13
  265. package/{select-module.d.d.ts → types/select.d.ts} +19 -26
  266. package/{sidenav/index.d.ts → types/sidenav.d.ts} +4 -21
  267. package/{slide-toggle/index.d.ts → types/slide-toggle.d.ts} +3 -4
  268. package/{slider/index.d.ts → types/slider.d.ts} +5 -5
  269. package/{snack-bar/index.d.ts → types/snack-bar.d.ts} +9 -25
  270. package/{sort/testing/index.d.ts → types/sort-testing.d.ts} +1 -1
  271. package/{sort/index.d.ts → types/sort.d.ts} +8 -40
  272. package/{stepper/index.d.ts → types/stepper.d.ts} +11 -39
  273. package/{table/testing/index.d.ts → types/table-testing.d.ts} +27 -1
  274. package/{table/index.d.ts → types/table.d.ts} +11 -11
  275. package/{tabs/index.d.ts → types/tabs.d.ts} +6 -22
  276. package/{timepicker/testing/index.d.ts → types/timepicker-testing.d.ts} +1 -1
  277. package/{timepicker/index.d.ts → types/timepicker.d.ts} +151 -130
  278. package/{toolbar/index.d.ts → types/toolbar.d.ts} +2 -3
  279. package/{tooltip-module.d.d.ts → types/tooltip.d.ts} +7 -29
  280. package/{tree/index.d.ts → types/tree.d.ts} +2 -3
  281. package/badge/index.d.ts +0 -15
  282. package/button-toggle/index.d.ts +0 -17
  283. package/common-module.d.d.ts +0 -44
  284. package/fesm2022/animation.mjs.map +0 -1
  285. package/fesm2022/autocomplete/testing.mjs.map +0 -1
  286. package/fesm2022/badge/testing.mjs.map +0 -1
  287. package/fesm2022/bottom-sheet/testing.mjs.map +0 -1
  288. package/fesm2022/button/testing.mjs.map +0 -1
  289. package/fesm2022/button-toggle/testing.mjs.map +0 -1
  290. package/fesm2022/card/testing.mjs.map +0 -1
  291. package/fesm2022/checkbox/testing.mjs.map +0 -1
  292. package/fesm2022/chips/testing.mjs.map +0 -1
  293. package/fesm2022/common-module.mjs +0 -42
  294. package/fesm2022/common-module.mjs.map +0 -1
  295. package/fesm2022/core/testing.mjs.map +0 -1
  296. package/fesm2022/date-formats.mjs.map +0 -1
  297. package/fesm2022/date-range-input-harness.mjs.map +0 -1
  298. package/fesm2022/datepicker/testing.mjs.map +0 -1
  299. package/fesm2022/dialog/testing.mjs.map +0 -1
  300. package/fesm2022/dialog-module.mjs +0 -891
  301. package/fesm2022/dialog-module.mjs.map +0 -1
  302. package/fesm2022/divider/testing.mjs.map +0 -1
  303. package/fesm2022/error-options.mjs.map +0 -1
  304. package/fesm2022/error-state.mjs.map +0 -1
  305. package/fesm2022/expansion/testing.mjs.map +0 -1
  306. package/fesm2022/form-field/testing/control.mjs.map +0 -1
  307. package/fesm2022/form-field/testing.mjs.map +0 -1
  308. package/fesm2022/form-field-module.mjs +0 -39
  309. package/fesm2022/form-field-module.mjs.map +0 -1
  310. package/fesm2022/form-field2.mjs +0 -1114
  311. package/fesm2022/form-field2.mjs.map +0 -1
  312. package/fesm2022/grid-list/testing.mjs.map +0 -1
  313. package/fesm2022/icon/testing.mjs.map +0 -1
  314. package/fesm2022/icon-button.mjs.map +0 -1
  315. package/fesm2022/icon-registry.mjs.map +0 -1
  316. package/fesm2022/input/testing.mjs.map +0 -1
  317. package/fesm2022/input-harness.mjs.map +0 -1
  318. package/fesm2022/input-value-accessor.mjs.map +0 -1
  319. package/fesm2022/internal-form-field.mjs.map +0 -1
  320. package/fesm2022/line.mjs.map +0 -1
  321. package/fesm2022/list/testing.mjs.map +0 -1
  322. package/fesm2022/menu/testing.mjs.map +0 -1
  323. package/fesm2022/option-harness.mjs.map +0 -1
  324. package/fesm2022/option-module.mjs +0 -22
  325. package/fesm2022/option-module.mjs.map +0 -1
  326. package/fesm2022/option.mjs.map +0 -1
  327. package/fesm2022/paginator/testing.mjs.map +0 -1
  328. package/fesm2022/progress-bar/testing.mjs.map +0 -1
  329. package/fesm2022/progress-spinner/testing.mjs.map +0 -1
  330. package/fesm2022/pseudo-checkbox-module.mjs +0 -20
  331. package/fesm2022/pseudo-checkbox-module.mjs.map +0 -1
  332. package/fesm2022/pseudo-checkbox.mjs.map +0 -1
  333. package/fesm2022/public-api.mjs.map +0 -1
  334. package/fesm2022/radio/testing.mjs.map +0 -1
  335. package/fesm2022/ripple-loader.mjs.map +0 -1
  336. package/fesm2022/ripple-module.mjs +0 -20
  337. package/fesm2022/ripple-module.mjs.map +0 -1
  338. package/fesm2022/ripple.mjs.map +0 -1
  339. package/fesm2022/select/testing.mjs.map +0 -1
  340. package/fesm2022/select-module.mjs +0 -1318
  341. package/fesm2022/select-module.mjs.map +0 -1
  342. package/fesm2022/sidenav/testing.mjs.map +0 -1
  343. package/fesm2022/slide-toggle/testing.mjs.map +0 -1
  344. package/fesm2022/slider/testing.mjs.map +0 -1
  345. package/fesm2022/snack-bar/testing.mjs.map +0 -1
  346. package/fesm2022/sort/testing.mjs.map +0 -1
  347. package/fesm2022/stepper/testing.mjs.map +0 -1
  348. package/fesm2022/structural-styles.mjs.map +0 -1
  349. package/fesm2022/table/testing.mjs.map +0 -1
  350. package/fesm2022/tabs/testing.mjs.map +0 -1
  351. package/fesm2022/timepicker/testing.mjs.map +0 -1
  352. package/fesm2022/toolbar/testing.mjs.map +0 -1
  353. package/fesm2022/tooltip/testing.mjs.map +0 -1
  354. package/fesm2022/tooltip-module.mjs.map +0 -1
  355. package/fesm2022/tree/testing.mjs.map +0 -1
  356. package/icon/index.d.ts +0 -9
  357. package/option-module.d.d.ts +0 -13
  358. package/paginator/index.d.ts +0 -36
  359. package/select/index.d.ts +0 -38
  360. package/tooltip/index.d.ts +0 -21
  361. /package/{date-range-input-harness.d.d.ts → types/_date-range-input-harness-chunk.d.ts} +0 -0
  362. /package/{dialog.d.d.ts → types/_dialog-chunk.d.ts} +0 -0
  363. /package/{error-options.d.d.ts → types/_error-options-chunk.d.ts} +0 -0
  364. /package/{form-field-control.d.d.ts → types/_form-field-control-chunk.d.ts} +0 -0
  365. /package/{form-field-control-harness.d.d.ts → types/_form-field-control-harness-chunk.d.ts} +0 -0
  366. /package/{input-harness.d.d.ts → types/_input-harness-chunk.d.ts} +0 -0
  367. /package/{list-option-types.d.d.ts → types/_list-option-types-chunk.d.ts} +0 -0
  368. /package/{option.d.d.ts → types/_option-chunk.d.ts} +0 -0
  369. /package/{option-harness.d.d.ts → types/_option-harness-chunk.d.ts} +0 -0
  370. /package/{option-parent.d.d.ts → types/_option-parent-chunk.d.ts} +0 -0
  371. /package/{palette.d.d.ts → types/_palette-chunk.d.ts} +0 -0
  372. /package/{ripple-loader.d.d.ts → types/_ripple-loader-chunk.d.ts} +0 -0
  373. /package/{sort-direction.d.d.ts → types/_sort-direction-chunk.d.ts} +0 -0
  374. /package/{bottom-sheet/testing/index.d.ts → types/bottom-sheet-testing.d.ts} +0 -0
  375. /package/{card/testing/index.d.ts → types/card-testing.d.ts} +0 -0
  376. /package/{checkbox/testing/index.d.ts → types/checkbox-testing.d.ts} +0 -0
  377. /package/{chips/testing/index.d.ts → types/chips-testing.d.ts} +0 -0
  378. /package/{divider/testing/index.d.ts → types/divider-testing.d.ts} +0 -0
  379. /package/{expansion/testing/index.d.ts → types/expansion-testing.d.ts} +0 -0
  380. /package/{grid-list/testing/index.d.ts → types/grid-list-testing.d.ts} +0 -0
  381. /package/{index.d.ts → types/material.d.ts} +0 -0
  382. /package/{menu/testing/index.d.ts → types/menu-testing.d.ts} +0 -0
  383. /package/{progress-bar/testing/index.d.ts → types/progress-bar-testing.d.ts} +0 -0
  384. /package/{radio/testing/index.d.ts → types/radio-testing.d.ts} +0 -0
  385. /package/{select/testing/index.d.ts → types/select-testing.d.ts} +0 -0
  386. /package/{sidenav/testing/index.d.ts → types/sidenav-testing.d.ts} +0 -0
  387. /package/{slide-toggle/testing/index.d.ts → types/slide-toggle-testing.d.ts} +0 -0
  388. /package/{slider/testing/index.d.ts → types/slider-testing.d.ts} +0 -0
  389. /package/{snack-bar/testing/index.d.ts → types/snack-bar-testing.d.ts} +0 -0
  390. /package/{stepper/testing/index.d.ts → types/stepper-testing.d.ts} +0 -0
  391. /package/{tabs/testing/index.d.ts → types/tabs-testing.d.ts} +0 -0
  392. /package/{toolbar/testing/index.d.ts → types/toolbar-testing.d.ts} +0 -0
  393. /package/{tooltip/testing/index.d.ts → types/tooltip-testing.d.ts} +0 -0
  394. /package/{tree/testing/index.d.ts → types/tree-testing.d.ts} +0 -0
package/_index.scss CHANGED
@@ -20,7 +20,7 @@
20
20
  @forward 'core/tokens/system' show system-level-colors,
21
21
  system-level-typography, system-level-elevation, system-level-shape,
22
22
  system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
23
- @forward 'core/tokens/classes' show utility-classes;
23
+ @forward 'core/tokens/classes' show system-classes;
24
24
 
25
25
  // Private/Internal
26
26
  @forward './core/density/private/all-density' show all-component-densities;
@@ -86,6 +86,10 @@ $default-border-radius: 4px;
86
86
  $config: map.merge($default-config, $config);
87
87
 
88
88
  @include _customize-focus-indicators($config);
89
+
90
+ // Strong focus indicators currently need chip labels to have overflow visible.
91
+ // TODO(b/446709063) revisit the structure to find a way to remove this dependency.
92
+ @include _chip-label-overflow-visible();
89
93
  }
90
94
 
91
95
  @mixin strong-focus-indicators-color($theme-or-color) {
@@ -108,3 +112,15 @@ $default-border-radius: 4px;
108
112
  }
109
113
  }
110
114
  }
115
+
116
+ @mixin _chip-label-overflow-visible {
117
+ .mat-mdc-standard-chip {
118
+ // MDC sets `overflow: hidden` on these elements in order to truncate the text. This conflicts
119
+ // with how we structure and style the strong focus indicators so we need to override it.
120
+ .mdc-evolution-chip__cell--primary,
121
+ .mdc-evolution-chip__action--primary,
122
+ .mat-mdc-chip-action-label {
123
+ overflow: visible;
124
+ }
125
+ }
126
+ }
@@ -1,143 +1,117 @@
1
- // Utility classes that can be used to style elements with the most commonly used tokens in
2
- // Material Design. Includes color, typography, elevation, and shape.
3
- // This API is experimental and may not release. Implemented for prototyping and testing.
4
- // Use caution depending on this.
5
- @mixin utility-classes() {
1
+ // Utility classes that can be used to style elements with the most commonly used system tokens in
2
+ // Material Design. Includes color, typography, elevation, state, and shape.
3
+ @mixin system-classes() {
6
4
 
7
5
  // ***********************************************************************************************
8
- // Background
6
+ // Background - Applies background colors defined by Material Design.
7
+ // See https://m3.material.io/styles/color/roles for detailed guidance.
9
8
  // ***********************************************************************************************
10
9
 
11
- // Styles an element with a primary color background and applies an accessible contrasting
12
- // color for text and icons. Use for key components across the UI, such as buttons that
13
- // have greater importance on the page. In Angular Material, this is used for the selected
14
- // date in a datepicker, the handle of a slider, and the background of a checkbox.
10
+ // Styles an element with a primary color background. Use for key components across the UI, such
11
+ // as buttons that have greater importance on the page. In Angular Material, this is used for the
12
+ // selected date in a datepicker, the handle of a slider, and the background of a checkbox.
15
13
  .mat-bg-primary {
16
14
  background-color: var(--mat-sys-primary);
17
- color: var(--mat-sys-on-primary);
18
15
  }
19
16
 
20
- // Styles an element with a primary container color background and applies an accessible
21
- // contrasting color for text and icons. Use for filling components that should stand out
22
- // on a surface. In Angular Material, this is used for
23
- // the container of a floating action button.
17
+ // Styles an element with a primary container color background. Use for filling components that
18
+ // should stand out on a surface. In Angular Material, this is used for the container of a
19
+ // floating action button.
24
20
  .mat-bg-primary-container {
25
21
  background-color: var(--mat-sys-primary-container);
26
- color: var(--mat-sys-on-primary-container);
27
22
  }
28
23
 
29
- // Styles an element with a secondary color background and applies an accessible contrasting
30
- // color for text and icons. Use for less prominent components in the UI that have a different
31
- // color scheme than the primary.
24
+ // Styles an element with a secondary color background. Use for less prominent components in the
25
+ // UI that have a different color scheme than the primary.
32
26
  .mat-bg-secondary {
33
27
  background-color: var(--mat-sys-secondary);
34
- color: var(--mat-sys-on-secondary);
35
28
  }
36
29
 
37
- // Styles an element with a secondary container color background and applies an accessible
38
- // contrasting color for text and icons. Use for components that need less emphasis than
39
- // secondary, such as filter chips. In Angular Material, this is used for selected items
40
- // in a list and the container of a tonal button.
30
+ // Styles an element with a secondary container color background. Use for components that need
31
+ // less emphasis than secondary, such as filter chips. In Angular Material, this is used for
32
+ // selected items in a list and the container of a tonal button.
41
33
  .mat-bg-secondary-container {
42
34
  background-color: var(--mat-sys-secondary-container);
43
- color: var(--mat-sys-on-secondary-container);
44
35
  }
45
36
 
46
- // Styles an element with an error color background and applies an accessible contrasting
47
- // color for text and icons. Use for indicating an error state, such as an invalid text field, or
48
- // for the background of an important notification. In Angular Material, this is used for the
49
- // background of a badge.
37
+ // Styles an element with an error color background. Use for indicating an error state, such as
38
+ // an invalid text field, or for the background of an important notification. In Angular
39
+ // Material, this is used for the background of a badge.
50
40
  .mat-bg-error {
51
41
  background-color: var(--mat-sys-error);
52
- color: var(--mat-sys-on-error);
53
42
  }
54
43
 
55
- // Styles an element with an error container color background and applies an accessible
56
- // contrasting color for text and icons. Use for components that need less emphasis than
57
- // error, such as a container for error text.
44
+ // Styles an element with an error container color background. Use for components that need less
45
+ // emphasis than error, such as a container for error text.
58
46
  .mat-bg-error-container {
59
47
  background-color: var(--mat-sys-error-container);
60
- color: var(--mat-sys-on-error-container);
61
48
  }
62
49
 
63
- // Styles an element with a surface color background and applies an accessible contrasting
64
- // color for text and icons. Use for general surfaces of components. In Angular Material, this is
65
- // used for the background of many components, like tables, dialogs, menus, and toolbars.
50
+ // Styles an element with a surface color background. Use for general surfaces of components. In
51
+ // Angular Material, this is used for the background of many components, like tables, dialogs,
52
+ // menus, and toolbars.
66
53
  .mat-bg-surface {
67
54
  background-color: var(--mat-sys-surface);
68
- color: var(--mat-sys-on-surface);
69
55
  }
70
56
 
71
- // Styles an element with a surface variant color background and applies an accessible
72
- // contrasting color for text and icons. Use for surfaces that need to stand out from the
73
- // main surface color. In Angular Material, this is used for the background of a filled
74
- // form field and the track of a progress bar.
57
+ // Styles an element with a surface variant color background. Use for surfaces that need to stand
58
+ // out from the main surface color. In Angular Material, this is used for the background of a
59
+ // filled form field and the track of a progress bar.
75
60
  .mat-bg-surface-variant {
76
61
  background-color: var(--mat-sys-surface-variant);
77
- color: var(--mat-sys-on-surface-variant);
78
62
  }
79
63
 
80
- // Styles an element with the "highest" surface container color background and applies an
81
- // accessible contrasting color for text and icons. Use for surfaces that need the most
82
- // emphasis against the main surface color. In Angular Material, this is used for the
83
- // background of a filled card.
64
+ // Styles an element with the "highest" surface container color background. Use for surfaces that
65
+ // need the most emphasis against the main surface color. In Angular Material, this is used for
66
+ // the background of a filled card.
84
67
  .mat-bg-surface-container-highest {
85
68
  background-color: var(--mat-sys-surface-container-highest);
86
- color: var(--mat-sys-on-surface);
87
69
  }
88
70
 
89
- // Styles an element with a "high" surface container color background and applies an accessible
90
- // contrasting color for text and icons. Use for surfaces that need more emphasis against
91
- // the main surface color. In Angular Material, this is used for the background of a datepicker.
71
+ // Styles an element with a "high" surface container color background. Use for surfaces that need
72
+ // more emphasis against the main surface color. In Angular Material, this is used for the
73
+ // background of a datepicker.
92
74
  .mat-bg-surface-container-high {
93
75
  background-color: var(--mat-sys-surface-container-high);
94
- color: var(--mat-sys-on-surface);
95
76
  }
96
77
 
97
- // Styles an element with a surface container color background and applies an accessible
98
- // contrasting color for text and icons. Use for surfaces that need to stand out from the
99
- // main surface color. In Angular Material, this is used for the background of a menu.
78
+ // Styles an element with a surface container color background. Use for surfaces that need to
79
+ // stand out from the main surface color. In Angular Material, this is used for the background
80
+ // of a menu.
100
81
  .mat-bg-surface-container {
101
82
  background-color: var(--mat-sys-surface-container);
102
- color: var(--mat-sys-on-surface);
103
83
  }
104
84
 
105
- // Styles an element with a "low" surface container color background and applies an accessible
106
- // contrasting color for text and icons. Use for surfaces that need less emphasis against
107
- // the main surface color. In Angular Material, this is used for the background of a bottom sheet.
85
+ // Styles an element with a "low" surface container color background. Use for surfaces that need
86
+ // less emphasis against the main surface color. In Angular Material, this is used for the
87
+ // background of a bottom sheet.
108
88
  .mat-bg-surface-container-low {
109
89
  background-color: var(--mat-sys-surface-container-low);
110
- color: var(--mat-sys-on-surface);
111
90
  }
112
91
 
113
- // Styles an element with the "lowest" surface container color background and applies an
114
- // accessible contrasting color for text and icons. Use for surfaces that need the least
115
- // emphasis against the main surface color.
92
+ // Styles an element with the "lowest" surface container color background. Use for surfaces that
93
+ // need the least emphasis against the main surface color.
116
94
  .mat-bg-surface-container-lowest {
117
95
  background-color: var(--mat-sys-surface-container-lowest);
118
- color: var(--mat-sys-on-surface);
119
96
  }
120
97
 
121
- // Styles an element with an inverse surface color background and applies an accessible
122
- // contrasting color for text and icons. Use for making elements stand out against the
123
- // default color scheme. Good for temporary notifications. In Angular Material, this is used for
124
- // the background of a snackbar and a tooltip.
98
+ // Styles an element with an inverse surface color background. Use for making elements stand out
99
+ // against the default color scheme. Good for temporary notifications. In Angular Material, this
100
+ // is used for the background of a snackbar and a tooltip.
125
101
  .mat-bg-inverse-surface {
126
102
  background-color: var(--mat-sys-inverse-surface);
127
- color: var(--mat-sys-inverse-on-surface);
128
103
  }
129
104
 
130
- // Styles an element with a disabled color background and applies an accessible contrasting
131
- // color for text and icons. Use for disabled components. In Angular Material, this is used
132
- // for components generally filled with the primary color but are currently disabled.
105
+ // Styles an element with a disabled color background. Use for disabled components. In Angular
106
+ // Material, this is used for components generally filled with the primary color but are
107
+ // currently disabled.
133
108
  .mat-bg-disabled {
134
- color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
135
109
  background-color: color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent);
136
110
  }
137
111
 
138
112
 
139
113
  // ***********************************************************************************************
140
- // Text
114
+ // Text - Apply colors to text
141
115
  // ***********************************************************************************************
142
116
 
143
117
  // Styles the text of an element with the primary color. Use for text that needs to stand out.
@@ -146,8 +120,7 @@
146
120
  color: var(--mat-sys-primary);
147
121
  }
148
122
 
149
- // Styles the text of an element with the secondary color. Use for text that needs less emphasis
150
- // than primary text.
123
+ // Styles the text of an element with the secondary color. Use for text that needs to stand out.
151
124
  .mat-text-secondary {
152
125
  color: var(--mat-sys-secondary);
153
126
  }
@@ -159,19 +132,69 @@
159
132
  }
160
133
 
161
134
  // Styles the text of an element with the disabled color. Use for text in disabled components.
162
- // In Angular Material this is used to show text is disabled, generally on a "surface" background.
163
135
  .mat-text-disabled {
164
136
  color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
165
137
  }
166
138
 
139
+ // Styles the text of an element with the on-surface-variant color. Use for text that should have
140
+ // a lower emphasis than the surrounding text. This can include subheading, captions, and hint
141
+ // text.
142
+ .mat-text-on-surface-variant {
143
+ color: var(--mat-sys-on-surface-variant);
144
+ }
145
+
146
+ // Styles the text of an element with a color that contrasts well against a primary background.
147
+ .mat-text-on-primary {
148
+ color: var(--mat-sys-on-primary);
149
+ }
150
+
151
+ // Styles the text of an element with a color that contrasts well against a primary-container
152
+ // background.
153
+ .mat-text-on-primary-container {
154
+ color: var(--mat-sys-on-primary-container);
155
+ }
156
+
157
+ // Styles the text of an element with a color that contrasts well against a secondary background.
158
+ .mat-text-on-secondary {
159
+ color: var(--mat-sys-on-secondary);
160
+ }
161
+
162
+ // Styles the text of an element with a color that contrasts well against a secondary-container
163
+ // background.
164
+ .mat-text-on-secondary-container {
165
+ color: var(--mat-sys-on-secondary-container);
166
+ }
167
+
168
+ // Styles the text of an element with a color that contrasts well against an error background.
169
+ .mat-text-on-error {
170
+ color: var(--mat-sys-on-error);
171
+ }
172
+
173
+ // Styles the text of an element with a color that contrasts well against an error-container
174
+ // background.
175
+ .mat-text-on-error-container {
176
+ color: var(--mat-sys-on-error-container);
177
+ }
178
+
179
+ // Styles the text of an element with a color that contrasts well against a surface background.
180
+ .mat-text-on-surface {
181
+ color: var(--mat-sys-on-surface);
182
+ }
183
+
184
+ // Styles the text of an element with a color that contrasts well against an inverse-surface
185
+ // background.
186
+ .mat-text-inverse-on-surface {
187
+ color: var(--mat-sys-inverse-on-surface);
188
+ }
167
189
 
168
190
  // ***********************************************************************************************
169
- // Font
191
+ // Font - Apply typography styles
192
+ // See https://m3.material.io/styles/typography/applying-type for guidance.
170
193
  // ***********************************************************************************************
171
194
 
172
195
  // Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
173
196
  // Material, this is used for the subscript text in a form field and the text in a paginator.
174
- .mat-font-body-small {
197
+ .mat-font-body-sm {
175
198
  font: var(--mat-sys-body-small);
176
199
  letter-spacing: var(--mat-sys-body-small-tracking);
177
200
  }
@@ -179,7 +202,7 @@
179
202
  // Sets the font to the body medium typeface. Use for medium body text, this is the default
180
203
  // body font. In Angular Material, this is used for the text in a table row and the supporting
181
204
  // text in a dialog.
182
- .mat-font-body-medium {
205
+ .mat-font-body-md {
183
206
  font: var(--mat-sys-body-medium);
184
207
  letter-spacing: var(--mat-sys-body-medium-tracking);
185
208
  }
@@ -187,54 +210,74 @@
187
210
  // Sets the font to the body large typeface. Use for large body text, such as an introductory
188
211
  // paragraph. In Angular Material, this is used for the text in a list item and the text in a
189
212
  // select trigger.
190
- .mat-font-body-large {
213
+ .mat-font-body-lg {
191
214
  font: var(--mat-sys-body-large);
192
215
  letter-spacing: var(--mat-sys-body-large-tracking);
193
216
  }
194
217
 
195
218
  // Sets the font to the display small typeface. Use for small display text, such as a date.
196
- .mat-font-display-small {
219
+ .mat-font-display-sm {
197
220
  font: var(--mat-sys-display-small);
198
221
  letter-spacing: var(--mat-sys-display-small-tracking);
199
222
  }
200
223
 
201
224
  // Sets the font to the display medium typeface. Use for medium display text, such as a hero
202
225
  // title.
203
- .mat-font-display-medium {
226
+ .mat-font-display-md {
204
227
  font: var(--mat-sys-display-medium);
205
228
  letter-spacing: var(--mat-sys-display-medium-tracking);
206
229
  }
207
230
 
208
231
  // Sets the font to the display large typeface. Use for large display text, such as a hero title.
209
- .mat-font-display-large {
232
+ .mat-font-display-lg {
210
233
  font: var(--mat-sys-display-large);
211
234
  letter-spacing: var(--mat-sys-display-large-tracking);
212
235
  }
213
236
 
214
237
  // Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
215
238
  // Angular Material, this is used for the headline in a dialog.
216
- .mat-font-headline-small {
239
+ .mat-font-headline-sm {
217
240
  font: var(--mat-sys-headline-small);
218
241
  letter-spacing: var(--mat-sys-headline-small-tracking);
219
242
  }
220
243
 
221
244
  // Sets the font to the headline medium typeface. Use for medium headlines, such as a section
222
245
  // title.
223
- .mat-font-headline-medium {
246
+ .mat-font-headline-md {
224
247
  font: var(--mat-sys-headline-medium);
225
248
  letter-spacing: var(--mat-sys-headline-medium-tracking);
226
249
  }
227
250
 
228
251
  // Sets the font to the headline large typeface. Use for large headlines, such as a page title on
229
252
  // a large screen.
230
- .mat-font-headline-large {
253
+ .mat-font-headline-lg {
231
254
  font: var(--mat-sys-headline-large);
232
255
  letter-spacing: var(--mat-sys-headline-large-tracking);
233
256
  }
234
257
 
258
+ // Sets the font to the label small typeface. Use for small labels, such as text in a badge.
259
+ .mat-font-label-sm {
260
+ font: var(--mat-sys-label-small);
261
+ letter-spacing: var(--mat-sys-label-small-tracking);
262
+ }
263
+
264
+ // Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this
265
+ // is used for the slider label.
266
+ .mat-font-label-md {
267
+ font: var(--mat-sys-label-medium);
268
+ letter-spacing: var(--mat-sys-label-medium-tracking);
269
+ }
270
+
271
+ // Sets the font to the label large typeface. Use for large labels. In Angular Material, this is
272
+ // used for buttons, chips, and menu labels.
273
+ .mat-font-label-lg {
274
+ font: var(--mat-sys-label-large);
275
+ letter-spacing: var(--mat-sys-label-large-tracking);
276
+ }
277
+
235
278
  // Sets the font to the title small typeface. Use for small titles, such as a card title. In
236
279
  // Angular Material, this is used for the header of a table and the label of an option group.
237
- .mat-font-title-small {
280
+ .mat-font-title-sm {
238
281
  font: var(--mat-sys-title-small);
239
282
  letter-spacing: var(--mat-sys-title-small-tracking);
240
283
  }
@@ -242,7 +285,7 @@
242
285
  // Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
243
286
  // or the primary text in a list item. In Angular Material, this is used for the subtitle
244
287
  // of a card and the header of an expansion panel.
245
- .mat-font-title-medium {
288
+ .mat-font-title-md {
246
289
  font: var(--mat-sys-title-medium);
247
290
  letter-spacing: var(--mat-sys-title-medium-tracking);
248
291
  }
@@ -250,45 +293,46 @@
250
293
  // Sets the font to the title large typeface. Use for large titles, such as a page title on a
251
294
  // small screen. In Angular Material, this is used for the title of a card and the title of a
252
295
  // toolbar.
253
- .mat-font-title-large {
296
+ .mat-font-title-lg {
254
297
  font: var(--mat-sys-title-large);
255
298
  letter-spacing: var(--mat-sys-title-large-tracking);
256
299
  }
257
300
 
258
301
 
259
302
  // ***********************************************************************************************
260
- // Corner
303
+ // Corner - Apply varying amounts of a border radius
304
+ // See https://m3.material.io/styles/shape/corner-radius-scale for guidance.
261
305
  // ***********************************************************************************************
262
306
 
263
307
  // Sets the border radius to extra small. Use for components that need a small amount of rounding,
264
308
  // such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
265
- .mat-corner-extra-small {
309
+ .mat-corner-xs {
266
310
  border-radius: var(--mat-sys-corner-extra-small);
267
311
  }
268
312
 
269
313
  // Sets the border radius to small. Use for components that need a small amount of rounding, such
270
314
  // as a text field.
271
- .mat-corner-small {
315
+ .mat-corner-sm {
272
316
  border-radius: var(--mat-sys-corner-small);
273
317
  }
274
318
 
275
319
  // Sets the border radius to medium. Use for components that need a medium amount of rounding,
276
320
  // such as a button. In Angular Material, this is used for the shape of a card.
277
- .mat-corner-medium {
321
+ .mat-corner-md {
278
322
  border-radius: var(--mat-sys-corner-medium);
279
323
  }
280
324
 
281
325
  // Sets the border radius to large. Use for components that need a large amount of rounding, such
282
326
  // as a card. In Angular Material, this is used for the shape of a floating action button and a
283
327
  // datepicker.
284
- .mat-corner-large {
328
+ .mat-corner-lg {
285
329
  border-radius: var(--mat-sys-corner-large);
286
330
  }
287
331
 
288
332
  // Sets the border radius to extra large. Use for components that need a large amount of
289
333
  // rounding. In Angular Material, this is used for the shape of a button toggle and the shape of
290
334
  // a dialog.
291
- .mat-corner-extra-large {
335
+ .mat-corner-xl {
292
336
  border-radius: var(--mat-sys-corner-extra-large);
293
337
  }
294
338
 
@@ -300,116 +344,55 @@
300
344
 
301
345
 
302
346
  // ***********************************************************************************************
303
- // Border
347
+ // Border - Applies a 1px solid border
304
348
  // ***********************************************************************************************
305
349
 
306
350
  // Adds an outline to an element. Use for components that need a visible boundary. In Angular
307
351
  // Material, this is used for the outline of an outlined button.
308
- .mat-outline {
352
+ .mat-border {
309
353
  border: 1px solid var(--mat-sys-outline);
310
354
  }
311
355
 
312
356
  // Adds a less prominent outline to an element. Use for components that need a less obvious
313
357
  // boundary. In Angular Material, this is used for the outline of an outlined card and the color
314
358
  // of the divider
315
- .mat-outline-variant {
359
+ .mat-border-subtle {
316
360
  border: 1px solid var(--mat-sys-outline-variant);
317
361
  }
318
362
 
319
-
320
- // ***********************************************************************************************
321
- // State
322
- // ***********************************************************************************************
323
-
324
- // Adds hover, focus, and active states to an element by applying varying shades of the surface
325
- // color. Use for interactive components that are not based on a primary color.
326
- .mat-stateful {
327
- &:hover {
328
- background: color-mix(
329
- in srgb,
330
- var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
331
- transparent
332
- );
333
- }
334
-
335
- &:focus {
336
- background: color-mix(
337
- in srgb,
338
- var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
339
- transparent
340
- );
341
- }
342
-
343
- &:active {
344
- background: color-mix(
345
- in srgb,
346
- var(--mat-sys-on-surface) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
347
- transparent
348
- );
349
- }
350
- }
351
-
352
- // Adds hover, focus, and active states to an element by applying varying shades of the primary
353
- // color. Use for interactive components that are not based on a primary color.
354
- .mat-stateful-primary {
355
- &:hover {
356
- background: color-mix(
357
- in srgb,
358
- var(--mat-sys-primary) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
359
- transparent
360
- );
361
- }
362
-
363
- &:focus {
364
- background: color-mix(
365
- in srgb,
366
- var(--mat-sys-primary) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
367
- transparent
368
- );
369
- }
370
-
371
- &:active {
372
- background: color-mix(
373
- in srgb,
374
- var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
375
- transparent
376
- );
377
- }
378
- }
379
-
380
-
381
363
  // ***********************************************************************************************
382
- // Elevation
364
+ // Shadow - Applies elevation levels through box-shadow
365
+ // See https://m3.material.io/styles/elevation/applying-elevation for guidance.
383
366
  // ***********************************************************************************************
384
367
 
385
368
  // Use to slightly raise the appearance of a surface. In Angular Material, this is used for the
386
369
  // elevation of an elevated card and the handle of a slider.
387
- .mat-shadow-level-1 {
370
+ .mat-shadow-1 {
388
371
  box-shadow: var(--mat-sys-level1);
389
372
  }
390
373
 
391
374
  // Use to raise the appearance of a surface. In Angular Material, this is used for the
392
375
  // elevation of a menu and a select panel.
393
- .mat-shadow-level-2 {
376
+ .mat-shadow-2 {
394
377
  box-shadow: var(--mat-sys-level2);
395
378
  }
396
379
 
397
380
  // Used to raise the appearance of a surface. In Angular Material, this is used for the elevation
398
381
  // of a floating action button.
399
- .mat-shadow-level-3 {
382
+ .mat-shadow-3 {
400
383
  box-shadow: var(--mat-sys-level3);
401
384
  }
402
385
 
403
386
  // Used to raise the appearance of a surface. This is generally reserved for elevation changes
404
387
  // due to interaction like focus and hover. In Angular Material, this is used for the elevation
405
388
  // of a hovered floating action button.
406
- .mat-shadow-level-4 {
389
+ .mat-shadow-4 {
407
390
  box-shadow: var(--mat-sys-level4);
408
391
  }
409
392
 
410
393
  // Used to greatly raise the appearance of a surface. This is generally reserved for elevation
411
394
  // changes due to interaction like focus and hover.
412
- .mat-shadow-level-5 {
395
+ .mat-shadow-5 {
413
396
  box-shadow: var(--mat-sys-level5);
414
397
  }
415
398
  }
@@ -0,0 +1,11 @@
1
+ // Dark system color values that are google3-internal and diverge from the
2
+ // external Material Design spec.
3
+ @function values-dark($palettes) {
4
+ @return ();
5
+ }
6
+
7
+ // Light system color values that are google3-internal and diverge from the
8
+ // external Material Design spec.
9
+ @function values-light($palettes) {
10
+ @return ();
11
+ }