@angular/material 20.2.0-next.1 → 20.2.0-next.3

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 (295) hide show
  1. package/_index.scss +2 -2
  2. package/autocomplete/index.d.ts +7 -7
  3. package/autocomplete/testing/index.d.ts +1 -1
  4. package/badge/index.d.ts +4 -4
  5. package/badge/testing/index.d.ts +2 -2
  6. package/{badge.d-Cn81aRz4.d.ts → badge.d.d.ts} +3 -3
  7. package/bottom-sheet/index.d.ts +1 -1
  8. package/button/index.d.ts +5 -5
  9. package/button-toggle/index.d.ts +5 -5
  10. package/button-toggle/testing/index.d.ts +1 -1
  11. package/{button-toggle.d-B_G01PhW.d.ts → button-toggle.d.d.ts} +2 -2
  12. package/card/index.d.ts +1 -1
  13. package/checkbox/index.d.ts +2 -2
  14. package/chips/index.d.ts +8 -6
  15. package/{common-module.d-C8xzHJDr.d.ts → common-module.d.d.ts} +2 -2
  16. package/core/index.d.ts +14 -14
  17. package/core/testing/index.d.ts +1 -1
  18. package/core/theming/_m2-inspection.scss +6 -6
  19. package/core/tokens/{_m3-system.scss → _system.scss} +86 -1
  20. package/core/tokens/m2/_md-sys-color.scss +64 -73
  21. package/core/tokens/m2/_md-sys-elevation.scss +6 -12
  22. package/core/tokens/m2/_md-sys-motion.scss +26 -32
  23. package/core/tokens/m2/_md-sys-shape.scss +12 -18
  24. package/core/tokens/m2/_md-sys-state.scss +1 -8
  25. package/core/tokens/m3/_md-sys-color.scss +0 -12
  26. package/{date-adapter.d-CtKXIxk0.d.ts → date-adapter.d.d.ts} +1 -1
  27. package/{date-range-input-harness.d-CJ4r85Uf.d.ts → date-range-input-harness.d.d.ts} +6 -4
  28. package/datepicker/index.d.ts +8 -8
  29. package/datepicker/testing/index.d.ts +2 -2
  30. package/dialog/index.d.ts +3 -3
  31. package/dialog/testing/index.d.ts +1 -1
  32. package/{dialog.d-hlN3f-Hk.d.ts → dialog.d.d.ts} +2 -2
  33. package/divider/index.d.ts +1 -1
  34. package/{error-options.d-CGdTZUYk.d.ts → error-options.d.d.ts} +1 -1
  35. package/expansion/index.d.ts +1 -1
  36. package/fesm2022/{animation-ChQ1vjiF.mjs → animation.mjs} +2 -2
  37. package/fesm2022/animation.mjs.map +1 -0
  38. package/fesm2022/autocomplete/testing.mjs +1 -1
  39. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  40. package/fesm2022/autocomplete.mjs +25 -25
  41. package/fesm2022/autocomplete.mjs.map +1 -1
  42. package/fesm2022/badge/testing.mjs.map +1 -1
  43. package/fesm2022/badge.mjs +12 -12
  44. package/fesm2022/badge.mjs.map +1 -1
  45. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  46. package/fesm2022/bottom-sheet.mjs +12 -12
  47. package/fesm2022/bottom-sheet.mjs.map +1 -1
  48. package/fesm2022/button/testing.mjs.map +1 -1
  49. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  50. package/fesm2022/button-toggle.mjs +18 -18
  51. package/fesm2022/button-toggle.mjs.map +1 -1
  52. package/fesm2022/button.mjs +21 -21
  53. package/fesm2022/button.mjs.map +1 -1
  54. package/fesm2022/card/testing.mjs.map +1 -1
  55. package/fesm2022/card.mjs +47 -47
  56. package/fesm2022/card.mjs.map +1 -1
  57. package/fesm2022/checkbox/testing.mjs.map +1 -1
  58. package/fesm2022/checkbox.mjs +12 -12
  59. package/fesm2022/checkbox.mjs.map +1 -1
  60. package/fesm2022/chips/testing.mjs.map +1 -1
  61. package/fesm2022/chips.mjs +67 -55
  62. package/fesm2022/chips.mjs.map +1 -1
  63. package/fesm2022/{common-module-Ckwlusp6.mjs → common-module.mjs} +6 -6
  64. package/fesm2022/common-module.mjs.map +1 -0
  65. package/fesm2022/core/testing.mjs +1 -1
  66. package/fesm2022/core/testing.mjs.map +1 -1
  67. package/fesm2022/core.mjs +28 -28
  68. package/fesm2022/core.mjs.map +1 -1
  69. package/fesm2022/{date-formats-K6TQue-Y.mjs → date-formats.mjs} +2 -2
  70. package/fesm2022/date-formats.mjs.map +1 -0
  71. package/fesm2022/{date-range-input-harness-DEyfkeOs.mjs → date-range-input-harness.mjs} +17 -11
  72. package/fesm2022/date-range-input-harness.mjs.map +1 -0
  73. package/fesm2022/datepicker/testing.mjs +2 -2
  74. package/fesm2022/datepicker/testing.mjs.map +1 -1
  75. package/fesm2022/datepicker.mjs +94 -94
  76. package/fesm2022/datepicker.mjs.map +1 -1
  77. package/fesm2022/dialog/testing.mjs +3 -3
  78. package/fesm2022/dialog/testing.mjs.map +1 -1
  79. package/fesm2022/{module-BVI4kAmT.mjs → dialog-module.mjs} +29 -29
  80. package/fesm2022/dialog-module.mjs.map +1 -0
  81. package/fesm2022/dialog.mjs +3 -3
  82. package/fesm2022/dialog.mjs.map +1 -1
  83. package/fesm2022/divider/testing.mjs.map +1 -1
  84. package/fesm2022/divider.mjs +8 -8
  85. package/fesm2022/divider.mjs.map +1 -1
  86. package/fesm2022/{error-options-DasykDPK.mjs → error-options.mjs} +8 -8
  87. package/fesm2022/error-options.mjs.map +1 -0
  88. package/fesm2022/{error-state-Dtb1IHM-.mjs → error-state.mjs} +2 -2
  89. package/fesm2022/error-state.mjs.map +1 -0
  90. package/fesm2022/expansion/testing.mjs.map +1 -1
  91. package/fesm2022/expansion.mjs +28 -28
  92. package/fesm2022/expansion.mjs.map +1 -1
  93. package/fesm2022/form-field/testing/control.mjs +13 -8
  94. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  95. package/fesm2022/form-field/testing.mjs +2 -2
  96. package/fesm2022/form-field/testing.mjs.map +1 -1
  97. package/fesm2022/{module-Bww_vjaX.mjs → form-field-module.mjs} +8 -8
  98. package/fesm2022/form-field-module.mjs.map +1 -0
  99. package/fesm2022/form-field.mjs +4 -4
  100. package/fesm2022/form-field.mjs.map +1 -1
  101. package/fesm2022/{form-field-Ce1YJL9K.mjs → form-field2.mjs} +41 -37
  102. package/fesm2022/form-field2.mjs.map +1 -0
  103. package/fesm2022/grid-list/testing.mjs +1 -1
  104. package/fesm2022/grid-list/testing.mjs.map +1 -1
  105. package/fesm2022/grid-list.mjs +26 -26
  106. package/fesm2022/grid-list.mjs.map +1 -1
  107. package/fesm2022/icon/testing.mjs +8 -8
  108. package/fesm2022/icon/testing.mjs.map +1 -1
  109. package/fesm2022/{icon-button-CfB6KH_E.mjs → icon-button.mjs} +11 -11
  110. package/fesm2022/icon-button.mjs.map +1 -0
  111. package/fesm2022/{icon-registry-CLBDUSOu.mjs → icon-registry.mjs} +5 -5
  112. package/fesm2022/icon-registry.mjs.map +1 -0
  113. package/fesm2022/icon.mjs +10 -10
  114. package/fesm2022/icon.mjs.map +1 -1
  115. package/fesm2022/input/testing.mjs +1 -1
  116. package/fesm2022/input/testing.mjs.map +1 -1
  117. package/fesm2022/{input-harness-C5Msdc4-.mjs → input-harness.mjs} +2 -2
  118. package/fesm2022/input-harness.mjs.map +1 -0
  119. package/fesm2022/{input-value-accessor-D1GvPuqO.mjs → input-value-accessor.mjs} +2 -2
  120. package/fesm2022/input-value-accessor.mjs.map +1 -0
  121. package/fesm2022/input.mjs +15 -15
  122. package/fesm2022/input.mjs.map +1 -1
  123. package/fesm2022/{internal-form-field-C-QWn7el.mjs → internal-form-field.mjs} +5 -5
  124. package/fesm2022/internal-form-field.mjs.map +1 -0
  125. package/fesm2022/{line-B0IgETj1.mjs → line.mjs} +10 -10
  126. package/fesm2022/line.mjs.map +1 -0
  127. package/fesm2022/list/testing.mjs.map +1 -1
  128. package/fesm2022/list.mjs +58 -58
  129. package/fesm2022/list.mjs.map +1 -1
  130. package/fesm2022/material.mjs.map +1 -1
  131. package/fesm2022/menu/testing.mjs.map +1 -1
  132. package/fesm2022/menu.mjs +27 -27
  133. package/fesm2022/menu.mjs.map +1 -1
  134. package/fesm2022/{option-harness-BFcc-M_4.mjs → option-harness.mjs} +2 -2
  135. package/fesm2022/option-harness.mjs.map +1 -0
  136. package/fesm2022/{index-CAi4o7I5.mjs → option-module.mjs} +10 -10
  137. package/fesm2022/option-module.mjs.map +1 -0
  138. package/fesm2022/{option-_yFTwxlw.mjs → option.mjs} +11 -11
  139. package/fesm2022/option.mjs.map +1 -0
  140. package/fesm2022/paginator/testing.mjs.map +1 -1
  141. package/fesm2022/paginator.mjs +27 -27
  142. package/fesm2022/paginator.mjs.map +1 -1
  143. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  144. package/fesm2022/progress-bar.mjs +9 -9
  145. package/fesm2022/progress-bar.mjs.map +1 -1
  146. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  147. package/fesm2022/progress-spinner.mjs +9 -9
  148. package/fesm2022/progress-spinner.mjs.map +1 -1
  149. package/fesm2022/{pseudo-checkbox-module-BwXRv-p0.mjs → pseudo-checkbox-module.mjs} +8 -8
  150. package/fesm2022/pseudo-checkbox-module.mjs.map +1 -0
  151. package/fesm2022/{pseudo-checkbox-CJSCiP0Y.mjs → pseudo-checkbox.mjs} +6 -6
  152. package/fesm2022/pseudo-checkbox.mjs.map +1 -0
  153. package/fesm2022/{public-api-BoO5eSq-.mjs → public-api.mjs} +2 -2
  154. package/fesm2022/public-api.mjs.map +1 -0
  155. package/fesm2022/radio/testing.mjs.map +1 -1
  156. package/fesm2022/radio.mjs +17 -17
  157. package/fesm2022/radio.mjs.map +1 -1
  158. package/fesm2022/{ripple-loader-B_67UOY7.mjs → ripple-loader.mjs} +7 -7
  159. package/fesm2022/ripple-loader.mjs.map +1 -0
  160. package/fesm2022/{index-rIXEckYE.mjs → ripple-module.mjs} +8 -8
  161. package/fesm2022/ripple-module.mjs.map +1 -0
  162. package/fesm2022/{ripple-DToxr3s4.mjs → ripple.mjs} +9 -9
  163. package/fesm2022/ripple.mjs.map +1 -0
  164. package/fesm2022/select/testing.mjs.map +1 -1
  165. package/fesm2022/{module-BpF6A05B.mjs → select-module.mjs} +20 -20
  166. package/fesm2022/select-module.mjs.map +1 -0
  167. package/fesm2022/select.mjs +14 -14
  168. package/fesm2022/select.mjs.map +1 -1
  169. package/fesm2022/sidenav/testing.mjs.map +1 -1
  170. package/fesm2022/sidenav.mjs +24 -24
  171. package/fesm2022/sidenav.mjs.map +1 -1
  172. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  173. package/fesm2022/slide-toggle.mjs +12 -12
  174. package/fesm2022/slide-toggle.mjs.map +1 -1
  175. package/fesm2022/slider/testing.mjs.map +1 -1
  176. package/fesm2022/slider.mjs +32 -22
  177. package/fesm2022/slider.mjs.map +1 -1
  178. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  179. package/fesm2022/snack-bar.mjs +29 -29
  180. package/fesm2022/snack-bar.mjs.map +1 -1
  181. package/fesm2022/sort/testing.mjs.map +1 -1
  182. package/fesm2022/sort.mjs +16 -16
  183. package/fesm2022/sort.mjs.map +1 -1
  184. package/fesm2022/stepper/testing.mjs.map +1 -1
  185. package/fesm2022/stepper.mjs +38 -38
  186. package/fesm2022/stepper.mjs.map +1 -1
  187. package/fesm2022/{structural-styles-wmZbw0XJ.mjs → structural-styles.mjs} +5 -5
  188. package/fesm2022/structural-styles.mjs.map +1 -0
  189. package/fesm2022/table/testing.mjs.map +1 -1
  190. package/fesm2022/table.mjs +56 -60
  191. package/fesm2022/table.mjs.map +1 -1
  192. package/fesm2022/tabs/testing.mjs.map +1 -1
  193. package/fesm2022/tabs.mjs +47 -47
  194. package/fesm2022/tabs.mjs.map +1 -1
  195. package/fesm2022/timepicker/testing.mjs +1 -1
  196. package/fesm2022/timepicker/testing.mjs.map +1 -1
  197. package/fesm2022/timepicker.mjs +23 -23
  198. package/fesm2022/timepicker.mjs.map +1 -1
  199. package/fesm2022/toolbar/testing.mjs.map +1 -1
  200. package/fesm2022/toolbar.mjs +11 -11
  201. package/fesm2022/toolbar.mjs.map +1 -1
  202. package/fesm2022/tooltip/testing.mjs.map +1 -1
  203. package/fesm2022/{module-X8APgGCS.mjs → tooltip-module.mjs} +14 -14
  204. package/fesm2022/tooltip-module.mjs.map +1 -0
  205. package/fesm2022/tooltip.mjs +3 -3
  206. package/fesm2022/tooltip.mjs.map +1 -1
  207. package/fesm2022/tree/testing.mjs.map +1 -1
  208. package/fesm2022/tree.mjs +26 -26
  209. package/fesm2022/tree.mjs.map +1 -1
  210. package/form-field/index.d.ts +5 -5
  211. package/form-field/testing/control/index.d.ts +1 -1
  212. package/form-field/testing/index.d.ts +3 -3
  213. package/{form-field-control-harness.d-BLvFBy6v.d.ts → form-field-control-harness.d.d.ts} +5 -3
  214. package/{form-field-control.d-DvB4ZVlf.d.ts → form-field-control.d.d.ts} +1 -1
  215. package/{module.d-DZ2PGGPh.d.ts → form-field-module.d.d.ts} +3 -3
  216. package/{form-field.d-e195lFUo.d.ts → form-field.d.d.ts} +5 -5
  217. package/grid-list/index.d.ts +2 -2
  218. package/icon/index.d.ts +4 -4
  219. package/icon/testing/index.d.ts +1 -1
  220. package/{icon-module.d-COXCrhrh.d.ts → icon-module.d.d.ts} +4 -4
  221. package/{icon-registry.d-BVwP8t9_.d.ts → icon-registry.d.d.ts} +2 -2
  222. package/input/index.d.ts +8 -8
  223. package/input/testing/index.d.ts +2 -2
  224. package/{input-harness.d-DVI6ttzl.d.ts → input-harness.d.d.ts} +2 -2
  225. package/{line.d-C-QdueRc.d.ts → line.d.d.ts} +2 -2
  226. package/list/index.d.ts +6 -6
  227. package/list/testing/index.d.ts +1 -1
  228. package/{list-option-types.d-77dQtwu8.d.ts → list-option-types.d.d.ts} +1 -1
  229. package/menu/index.d.ts +3 -3
  230. package/{option-harness.d-IqsW95GR.d.ts → option-harness.d.d.ts} +2 -2
  231. package/{index.d-DAhBYbjm.d.ts → option-module.d.d.ts} +5 -5
  232. package/{option-parent.d-CnYuuMkO.d.ts → option-parent.d.d.ts} +2 -2
  233. package/{option.d-BcvS44bt.d.ts → option.d.d.ts} +1 -1
  234. package/package.json +2 -2
  235. package/paginator/index.d.ts +16 -16
  236. package/{paginator.d-Zo1cMMo4.d.ts → paginator.d.d.ts} +4 -4
  237. package/{palette.d-BSSFKjO6.d.ts → palette.d.d.ts} +1 -1
  238. package/progress-bar/index.d.ts +2 -2
  239. package/progress-spinner/index.d.ts +4 -4
  240. package/progress-spinner/testing/index.d.ts +2 -2
  241. package/{progress-spinner.d-Lfz4Wh5x.d.ts → progress-spinner.d.d.ts} +3 -3
  242. package/{pseudo-checkbox-module.d-BHmTZ10P.d.ts → pseudo-checkbox-module.d.d.ts} +3 -3
  243. package/radio/index.d.ts +4 -4
  244. package/{ripple-loader.d-9me-KFSi.d.ts → ripple-loader.d.d.ts} +1 -1
  245. package/{index.d-C5neTPvr.d.ts → ripple-module.d.d.ts} +3 -3
  246. package/{ripple.d-BT30YVLB.d.ts → ripple.d.d.ts} +2 -2
  247. package/schematics/ng-add/index.js +1 -1
  248. package/schematics/ng-add/theming/create-custom-theme.js +7 -1
  249. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -1
  250. package/select/index.d.ts +12 -12
  251. package/{module.d-gWBlTHnh.d.ts → select-module.d.d.ts} +9 -9
  252. package/sidenav/index.d.ts +1 -1
  253. package/slide-toggle/index.d.ts +2 -2
  254. package/slider/index.d.ts +7 -5
  255. package/snack-bar/index.d.ts +5 -5
  256. package/sort/index.d.ts +4 -4
  257. package/sort/testing/index.d.ts +1 -1
  258. package/{sort-direction.d-CF7VUsH-.d.ts → sort-direction.d.d.ts} +1 -1
  259. package/{sort.d-i-bF_IaU.d.ts → sort.d.d.ts} +3 -3
  260. package/stepper/index.d.ts +6 -6
  261. package/table/index.d.ts +9 -9
  262. package/tabs/index.d.ts +3 -3
  263. package/timepicker/index.d.ts +2 -2
  264. package/timepicker/testing/index.d.ts +1 -1
  265. package/toolbar/index.d.ts +1 -1
  266. package/tooltip/index.d.ts +2 -2
  267. package/{module.d-m-qXd3m8.d.ts → tooltip-module.d.d.ts} +3 -3
  268. package/tree/index.d.ts +1 -1
  269. package/fesm2022/animation-ChQ1vjiF.mjs.map +0 -1
  270. package/fesm2022/common-module-Ckwlusp6.mjs.map +0 -1
  271. package/fesm2022/date-formats-K6TQue-Y.mjs.map +0 -1
  272. package/fesm2022/date-range-input-harness-DEyfkeOs.mjs.map +0 -1
  273. package/fesm2022/error-options-DasykDPK.mjs.map +0 -1
  274. package/fesm2022/error-state-Dtb1IHM-.mjs.map +0 -1
  275. package/fesm2022/form-field-Ce1YJL9K.mjs.map +0 -1
  276. package/fesm2022/icon-button-CfB6KH_E.mjs.map +0 -1
  277. package/fesm2022/icon-registry-CLBDUSOu.mjs.map +0 -1
  278. package/fesm2022/index-CAi4o7I5.mjs.map +0 -1
  279. package/fesm2022/index-rIXEckYE.mjs.map +0 -1
  280. package/fesm2022/input-harness-C5Msdc4-.mjs.map +0 -1
  281. package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +0 -1
  282. package/fesm2022/internal-form-field-C-QWn7el.mjs.map +0 -1
  283. package/fesm2022/line-B0IgETj1.mjs.map +0 -1
  284. package/fesm2022/module-BVI4kAmT.mjs.map +0 -1
  285. package/fesm2022/module-BpF6A05B.mjs.map +0 -1
  286. package/fesm2022/module-Bww_vjaX.mjs.map +0 -1
  287. package/fesm2022/module-X8APgGCS.mjs.map +0 -1
  288. package/fesm2022/option-_yFTwxlw.mjs.map +0 -1
  289. package/fesm2022/option-harness-BFcc-M_4.mjs.map +0 -1
  290. package/fesm2022/pseudo-checkbox-CJSCiP0Y.mjs.map +0 -1
  291. package/fesm2022/pseudo-checkbox-module-BwXRv-p0.mjs.map +0 -1
  292. package/fesm2022/public-api-BoO5eSq-.mjs.map +0 -1
  293. package/fesm2022/ripple-DToxr3s4.mjs.map +0 -1
  294. package/fesm2022/ripple-loader-B_67UOY7.mjs.map +0 -1
  295. package/fesm2022/structural-styles-wmZbw0XJ.mjs.map +0 -1
package/_index.scss CHANGED
@@ -17,9 +17,9 @@
17
17
  @forward './core/theming/theming' as private-* show private-clamp-density;
18
18
  @forward './core/typography/typography' show typography-hierarchy;
19
19
  @forward './core/typography/typography-utils' show font-shorthand;
20
- @forward './core/tokens/m3-system' show system-level-colors,
20
+ @forward 'core/tokens/system' show system-level-colors,
21
21
  system-level-typography, system-level-elevation, system-level-shape,
22
- system-level-motion, system-level-state, theme, theme-overrides;
22
+ system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
23
23
 
24
24
  // Private/Internal
25
25
  @forward './core/density/private/all-density' show all-component-densities;
@@ -2,18 +2,18 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, AfterContentInit, OnDestroy, TemplateRef, ElementRef, QueryList, EventEmitter, AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import * as i2 from '@angular/cdk/overlay';
4
4
  import { ScrollStrategy } from '@angular/cdk/overlay';
5
- import { M as MatOptionModule } from '../index.d-DAhBYbjm.js';
6
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
7
- import { T as ThemePalette } from '../palette.d-BSSFKjO6.js';
8
- import { M as MatOption, a as MatOptgroup, b as MatOptionSelectionChange } from '../option.d-BcvS44bt.js';
5
+ import { MatOptionModule } from '../option-module.d.js';
6
+ import { MatCommonModule } from '../common-module.d.js';
7
+ import { ThemePalette } from '../palette.d.js';
8
+ import { MatOption, MatOptgroup, MatOptionSelectionChange } from '../option.d.js';
9
9
  import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
10
10
  import { ControlValueAccessor } from '@angular/forms';
11
11
  import { Observable } from 'rxjs';
12
12
  import * as i5 from '@angular/cdk/scrolling';
13
- import '../index.d-C5neTPvr.js';
14
- import '../ripple.d-BT30YVLB.js';
13
+ import '../ripple-module.d.js';
14
+ import '../ripple.d.js';
15
15
  import '@angular/cdk/platform';
16
- import '../pseudo-checkbox-module.d-BHmTZ10P.js';
16
+ import '../pseudo-checkbox-module.d.js';
17
17
  import '@angular/cdk/bidi';
18
18
 
19
19
  /** Event object that is emitted when an autocomplete option is selected. */
@@ -1,5 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
2
- import { O as OptionHarnessFilters, M as MatOptionHarness } from '../../option-harness.d-IqsW95GR.js';
2
+ import { OptionHarnessFilters, MatOptionHarness } from '../../option-harness.d.js';
3
3
  import { OptgroupHarnessFilters, MatOptgroupHarness } from '../../core/testing/index.js';
4
4
 
5
5
  /** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */
package/badge/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import * as i1 from '@angular/cdk/a11y';
3
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
4
- import { M as MatBadge, _ as _MatBadgeStyleLoader } from '../badge.d-Cn81aRz4.js';
5
- export { a as MatBadgePosition, b as MatBadgeSize } from '../badge.d-Cn81aRz4.js';
3
+ import { MatCommonModule } from '../common-module.d.js';
4
+ import { MatBadge, _MatBadgeStyleLoader } from '../badge.d.js';
5
+ export { MatBadgePosition, MatBadgeSize } from '../badge.d.js';
6
6
  import '@angular/cdk/bidi';
7
- import '../palette.d-BSSFKjO6.js';
7
+ import '../palette.d.js';
8
8
 
9
9
  declare class MatBadgeModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeModule, never>;
@@ -1,7 +1,7 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
- import { a as MatBadgePosition, b as MatBadgeSize } from '../../badge.d-Cn81aRz4.js';
2
+ import { MatBadgePosition, MatBadgeSize } from '../../badge.d.js';
3
3
  import '@angular/core';
4
- import '../../palette.d-BSSFKjO6.js';
4
+ import '../../palette.d.js';
5
5
 
6
6
  interface BadgeHarnessFilters extends BaseHarnessFilters {
7
7
  text?: string | RegExp;
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, OnDestroy } from '@angular/core';
3
- import { T as ThemePalette } from './palette.d-BSSFKjO6.js';
3
+ import { ThemePalette } from './palette.d.js';
4
4
 
5
5
  /** Allowed position options for matBadgePosition */
6
6
  type MatBadgePosition = 'above after' | 'above before' | 'below before' | 'below after' | 'before' | 'after' | 'above' | 'below';
@@ -95,5 +95,5 @@ declare class MatBadge implements OnInit, OnDestroy {
95
95
  static ngAcceptInputType_hidden: unknown;
96
96
  }
97
97
 
98
- export { MatBadge as M, _MatBadgeStyleLoader as _ };
99
- export type { MatBadgePosition as a, MatBadgeSize as b };
98
+ export { MatBadge, _MatBadgeStyleLoader };
99
+ export type { MatBadgePosition, MatBadgeSize };
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnDestroy, EventEmitter, InjectionToken, ViewContainerRef, ComponentRef, TemplateRef } from '@angular/core';
3
3
  import * as i1 from '@angular/cdk/dialog';
4
4
  import { CdkDialogContainer, DialogRef } from '@angular/cdk/dialog';
5
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
5
+ import { MatCommonModule } from '../common-module.d.js';
6
6
  import * as i3 from '@angular/cdk/portal';
7
7
  import { ComponentType } from '@angular/cdk/portal';
8
8
  import { Direction } from '@angular/cdk/bidi';
package/button/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { FocusOrigin } from '@angular/cdk/a11y';
2
2
  import * as i0 from '@angular/core';
3
3
  import { InjectionToken, AfterViewInit, OnDestroy, ElementRef, NgZone } from '@angular/core';
4
- import { T as ThemePalette } from '../palette.d-BSSFKjO6.js';
5
- import { M as MatRippleLoader } from '../ripple-loader.d-9me-KFSi.js';
6
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
7
- import { M as MatRippleModule } from '../index.d-C5neTPvr.js';
4
+ import { ThemePalette } from '../palette.d.js';
5
+ import { MatRippleLoader } from '../ripple-loader.d.js';
6
+ import { MatCommonModule } from '../common-module.d.js';
7
+ import { MatRippleModule } from '../ripple-module.d.js';
8
8
  import '@angular/cdk/bidi';
9
- import '../ripple.d-BT30YVLB.js';
9
+ import '../ripple.d.js';
10
10
  import '@angular/cdk/platform';
11
11
 
12
12
  /**
@@ -1,11 +1,11 @@
1
- import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-B_G01PhW.js';
2
- export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, T as ToggleType } from '../button-toggle.d-B_G01PhW.js';
1
+ import { MatButtonToggleGroup, MatButtonToggle } from '../button-toggle.d.js';
2
+ export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggleAppearance, MatButtonToggleChange, MatButtonToggleDefaultOptions, ToggleType } from '../button-toggle.d.js';
3
3
  import * as i0 from '@angular/core';
4
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
5
- import { M as MatRippleModule } from '../index.d-C5neTPvr.js';
4
+ import { MatCommonModule } from '../common-module.d.js';
5
+ import { MatRippleModule } from '../ripple-module.d.js';
6
6
  import '@angular/cdk/bidi';
7
7
  import '@angular/forms';
8
- import '../ripple.d-BT30YVLB.js';
8
+ import '../ripple.d.js';
9
9
  import '@angular/cdk/platform';
10
10
 
11
11
  declare class MatButtonToggleModule {
@@ -1,5 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
- import { b as MatButtonToggleAppearance } from '../../button-toggle.d-B_G01PhW.js';
2
+ import { MatButtonToggleAppearance } from '../../button-toggle.d.js';
3
3
  import '@angular/cdk/bidi';
4
4
  import '@angular/core';
5
5
  import '@angular/forms';
@@ -254,5 +254,5 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
254
254
  static ngAcceptInputType_disabledInteractive: unknown;
255
255
  }
256
256
 
257
- export { MatButtonToggleGroup as M, MatButtonToggle as a, MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS as d, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY as e, MAT_BUTTON_TOGGLE_GROUP as f, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR as g, MatButtonToggleChange as h };
258
- export type { ToggleType as T, MatButtonToggleAppearance as b, MatButtonToggleDefaultOptions as c };
257
+ export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggle, MatButtonToggleChange, MatButtonToggleGroup };
258
+ export type { MatButtonToggleAppearance, MatButtonToggleDefaultOptions, ToggleType };
package/card/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken } from '@angular/core';
3
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
3
+ import { MatCommonModule } from '../common-module.d.js';
4
4
  import '@angular/cdk/bidi';
5
5
 
6
6
  type MatCardAppearance = 'outlined' | 'raised' | 'filled';
@@ -2,8 +2,8 @@ import { FocusableOption } from '@angular/cdk/a11y';
2
2
  import * as i0 from '@angular/core';
3
3
  import { AfterViewInit, OnChanges, ElementRef, EventEmitter, SimpleChanges, InjectionToken } from '@angular/core';
4
4
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
5
- import { T as ThemePalette } from '../palette.d-BSSFKjO6.js';
6
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
5
+ import { ThemePalette } from '../palette.d.js';
6
+ import { MatCommonModule } from '../common-module.d.js';
7
7
  import '@angular/cdk/bidi';
8
8
 
9
9
  /**
package/chips/index.d.ts CHANGED
@@ -3,12 +3,12 @@ import { ElementRef, OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy
3
3
  import { Subject, Observable } from 'rxjs';
4
4
  import { FocusKeyManager } from '@angular/cdk/a11y';
5
5
  import { ControlValueAccessor, NgControl } from '@angular/forms';
6
- import { E as ErrorStateMatcher } from '../error-options.d-CGdTZUYk.js';
7
- import { M as MatFormFieldControl } from '../form-field-control.d-DvB4ZVlf.js';
8
- import { M as MatCommonModule } from '../common-module.d-C8xzHJDr.js';
9
- import { M as MatRippleModule } from '../index.d-C5neTPvr.js';
6
+ import { ErrorStateMatcher } from '../error-options.d.js';
7
+ import { MatFormFieldControl } from '../form-field-control.d.js';
8
+ import { MatCommonModule } from '../common-module.d.js';
9
+ import { MatRippleModule } from '../ripple-module.d.js';
10
10
  import '@angular/cdk/bidi';
11
- import '../ripple.d-BT30YVLB.js';
11
+ import '../ripple.d.js';
12
12
  import '@angular/cdk/platform';
13
13
 
14
14
  /**
@@ -39,7 +39,7 @@ declare class MatChipAction {
39
39
  /**
40
40
  * Private API to allow focusing this chip when it is disabled.
41
41
  */
42
- private _allowFocusWhenDisabled;
42
+ _allowFocusWhenDisabled: boolean;
43
43
  /**
44
44
  * Determine the value of the disabled attribute for this chip action.
45
45
  */
@@ -175,6 +175,8 @@ declare class MatChip implements OnInit, AfterViewInit, AfterContentInit, DoChec
175
175
  _ariaDescriptionId: string;
176
176
  /** Whether the chip list is disabled. */
177
177
  _chipListDisabled: boolean;
178
+ /** Whether the chip was focused when it was removed. */
179
+ _hadFocusOnRemove: boolean;
178
180
  private _textElement;
179
181
  /**
180
182
  * The value of the chip. Defaults to the content inside
@@ -40,5 +40,5 @@ declare class MatCommonModule {
40
40
  static ɵinj: i0.ɵɵInjectorDeclaration<MatCommonModule>;
41
41
  }
42
42
 
43
- export { MatCommonModule as M, MATERIAL_SANITY_CHECKS as a };
44
- export type { GranularSanityChecks as G, SanityChecks as S };
43
+ export { MATERIAL_SANITY_CHECKS, MatCommonModule };
44
+ export type { GranularSanityChecks, SanityChecks };
package/core/index.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Version, InjectionToken, Provider } from '@angular/core';
3
- export { G as GranularSanityChecks, a as MATERIAL_SANITY_CHECKS, M as MatCommonModule, S as SanityChecks } from '../common-module.d-C8xzHJDr.js';
4
- export { T as ThemePalette } from '../palette.d-BSSFKjO6.js';
3
+ export { GranularSanityChecks, MATERIAL_SANITY_CHECKS, MatCommonModule, SanityChecks } from '../common-module.d.js';
4
+ export { ThemePalette } from '../palette.d.js';
5
5
  import { NgControl, FormGroupDirective, NgForm } from '@angular/forms';
6
6
  import { Subject } from 'rxjs';
7
- import { E as ErrorStateMatcher$1 } from '../error-options.d-CGdTZUYk.js';
8
- export { S as ShowOnDirtyErrorStateMatcher } from '../error-options.d-CGdTZUYk.js';
9
- export { M as MatLine, a as MatLineModule, s as setLines } from '../line.d-C-QdueRc.js';
10
- export { M as MatOptionModule } from '../index.d-DAhBYbjm.js';
11
- export { M as MatRippleLoader } from '../ripple-loader.d-9me-KFSi.js';
12
- export { M as MatRippleModule } from '../index.d-C5neTPvr.js';
13
- export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-BHmTZ10P.js';
14
- import { D as DateAdapter } from '../date-adapter.d-CtKXIxk0.js';
15
- export { M as MAT_DATE_LOCALE, a as MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d-CtKXIxk0.js';
16
- export { d as MAT_OPTGROUP, a as MatOptgroup, M as MatOption, b as MatOptionSelectionChange, _ as _countGroupLabelsBeforeOption, c as _getOptionScrollPosition } from '../option.d-BcvS44bt.js';
17
- export { a as MAT_OPTION_PARENT_COMPONENT, M as MatOptionParentComponent } from '../option-parent.d-CnYuuMkO.js';
18
- export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, R as RippleGlobalOptions, h as RippleRef, a as RippleRenderer, e as RippleState, b as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-BT30YVLB.js';
7
+ import { ErrorStateMatcher as ErrorStateMatcher$1 } from '../error-options.d.js';
8
+ export { ShowOnDirtyErrorStateMatcher } from '../error-options.d.js';
9
+ export { MatLine, MatLineModule, setLines } from '../line.d.js';
10
+ export { MatOptionModule } from '../option-module.d.js';
11
+ export { MAT_OPTGROUP, MatOptgroup, MatOption, MatOptionSelectionChange, _countGroupLabelsBeforeOption, _getOptionScrollPosition } from '../option.d.js';
12
+ export { MAT_OPTION_PARENT_COMPONENT, MatOptionParentComponent } from '../option-parent.d.js';
13
+ export { MatRippleLoader } from '../ripple-loader.d.js';
14
+ export { MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleAnimationConfig, RippleConfig, RippleGlobalOptions, RippleRef, RippleRenderer, RippleState, RippleTarget, defaultRippleAnimationConfig } from '../ripple.d.js';
15
+ export { MatRippleModule } from '../ripple-module.d.js';
16
+ export { MatPseudoCheckbox, MatPseudoCheckboxModule, MatPseudoCheckboxState } from '../pseudo-checkbox-module.d.js';
17
+ import { DateAdapter } from '../date-adapter.d.js';
18
+ export { MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d.js';
19
19
  import '@angular/cdk/bidi';
20
20
  import '@angular/cdk/a11y';
21
21
  import '@angular/cdk/platform';
@@ -1,4 +1,4 @@
1
- import { O as OptionHarnessFilters, M as MatOptionHarness } from '../../option-harness.d-IqsW95GR.js';
1
+ import { OptionHarnessFilters, MatOptionHarness } from '../../option-harness.d.js';
2
2
  import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
3
3
 
4
4
  interface OptgroupHarnessFilters extends BaseHarnessFilters {
@@ -42,7 +42,7 @@ $_typography-keys: (
42
42
  $_typography-properties: (font, font-family, line-height, font-size, letter-spacing, font-weight);
43
43
 
44
44
  /// Gets the m2-config from the theme.
45
- @function _get-m2-config($theme) {
45
+ @function get-m2-config($theme) {
46
46
  // It is possible for a user to pass a "density theme" that is just a number.
47
47
  @if meta.type-of($theme) != 'map' {
48
48
  @return $theme;
@@ -89,7 +89,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
89
89
  /// @param {Map} $theme The theme
90
90
  /// @return {String} The type of theme (either `light` or `dark`).
91
91
  @function get-theme-type($theme) {
92
- $theme: _get-m2-config($theme);
92
+ $theme: get-m2-config($theme);
93
93
  @if not theme-has($theme, color) {
94
94
  @error 'Color information is not available on this theme.';
95
95
  }
@@ -112,7 +112,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
112
112
  /// @param {Number} $opacity The alpha channel value for the color.
113
113
  /// @return {Color} The requested theme color.
114
114
  @function get-theme-color($theme, $palette-name, $args...) {
115
- $theme: _get-m2-config($theme);
115
+ $theme: get-m2-config($theme);
116
116
  @if not theme-has($theme, color) {
117
117
  @error 'Color information is not available on this theme.';
118
118
  }
@@ -137,7 +137,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
137
137
  /// (font, font-family, font-size, font-weight, line-height, or letter-spacing).
138
138
  /// @return {*} The value of the requested font property.
139
139
  @function get-theme-typography($theme, $typescale, $property) {
140
- $theme: _get-m2-config($theme);
140
+ $theme: get-m2-config($theme);
141
141
  @if not theme-has($theme, typography) {
142
142
  @error 'Typography information is not available on this theme.';
143
143
  }
@@ -175,7 +175,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
175
175
  /// @param {Map} $theme The theme
176
176
  /// @return {Number} The density scale.
177
177
  @function get-theme-density($theme) {
178
- $theme: _get-m2-config($theme);
178
+ $theme: get-m2-config($theme);
179
179
  @if not theme-has($theme, density) {
180
180
  @error 'Density information is not available on this theme.';
181
181
  }
@@ -188,7 +188,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
188
188
  /// @param {String} $system The system to check
189
189
  /// @param {Boolean} Whether the theme has information about the system.
190
190
  @function theme-has($theme, $system) {
191
- $theme: _get-m2-config($theme);
191
+ $theme: get-m2-config($theme);
192
192
  @if $system == base {
193
193
  @return true;
194
194
  }
@@ -18,9 +18,13 @@
18
18
  @use '../style/elevation';
19
19
  @use '../theming/config-validation';
20
20
  @use '../theming/definition';
21
+ @use '../theming/inspection';
22
+ @use '../theming/m2-inspection';
21
23
  @use '../theming/palettes';
22
24
  @use '../style/sass-utils';
25
+ @use './m2';
23
26
  @use './m3';
27
+ @use 'sass:list';
24
28
  @use 'sass:map';
25
29
  @use 'sass:meta';
26
30
 
@@ -273,7 +277,6 @@
273
277
  $shadow-color: map.get(
274
278
  $theme, definition.$internals, palettes, neutral, 0);
275
279
 
276
-
277
280
  @include sass-utils.current-selector-or-root {
278
281
  @each $name, $value in m3.md-sys-elevation-values() {
279
282
  $level: map.get($overrides, $name) or $value;
@@ -307,3 +310,85 @@
307
310
  }
308
311
  @return $result;
309
312
  }
313
+
314
+ // Defines Angular Material system variables using M2 values provided by
315
+ // an M2 theme config created with `mat.m2-define-light-theme` or `mat.m2-define-dark-theme`.
316
+ //
317
+ // This enables applications to style custom components with system-level CSS
318
+ // variables instead of creating a separate component theme mixin that relies on
319
+ // the theme config.
320
+ //
321
+ // For example, use `var(--mat-sys-primary)` to get a theme's primary color instead of
322
+ // pulling it from the theme with `m2-get-color-from-palette($primary-palette, default)`.
323
+ //
324
+ // Unlike M3's `mat.theme()`, this mixin does not replace the need to call
325
+ // individual component theme mixins for Angular Material components.
326
+ @mixin m2-theme($theme-config, $overrides: ()) {
327
+ @if inspection.get-theme-version($theme-config) == 1 {
328
+ @error '`m2-theme` mixin should only be called for M2 theme ' +
329
+ 'configs created with define-light-theme or define-dark-theme';
330
+ }
331
+
332
+ // Check whether any override keys do not match keys in the theme
333
+ // config system map.
334
+ $invalid-keys: ();
335
+ $config-system: map.get($theme-config, _mat-system);
336
+ @each $key, $value in $overrides {
337
+ @if (not map.has-key($config-system, $key)) {
338
+ $invalid-keys: list.append($invalid-keys, $key);
339
+ }
340
+ }
341
+ @if (list.length($invalid-keys) > 0) {
342
+ @error 'The following overrides are not valid system variables: #{$invalid-keys}. ' +
343
+ 'Valid keys are: #{map.keys($config-system)}';
344
+ }
345
+
346
+ $config: m2-inspection.get-m2-config($theme-config);
347
+
348
+ $color: map.get($config, color);
349
+ @if (m2-inspection.theme-has($theme-config, color)) {
350
+ $system-colors: if(map.get($color, is-dark),
351
+ m2.md-sys-color-values-dark($color),
352
+ m2.md-sys-color-values-light($color),
353
+ );
354
+ @include _define-m2-system-vars($system-colors, $overrides);
355
+
356
+ $shadow: map.get($theme-config, _mat-system, shadow);
357
+ $system-elevations: ();
358
+ @each $name, $value in m2.md-sys-elevation-values() {
359
+ $level: map.get($overrides, $name) or $value;
360
+ $value: elevation.get-box-shadow($level, $shadow);
361
+ $system-elevations: map.set($system-elevations, $name, $value);
362
+ }
363
+ @include _define-m2-system-vars($system-elevations, $overrides);
364
+ }
365
+
366
+ $typography: map.get($config, typography);
367
+ @if ($typography) {
368
+ $system-typography: m2.md-sys-typescale-values($typography);
369
+ @include _define-m2-system-vars($system-typography, $overrides);
370
+ }
371
+
372
+ @include _define-m2-system-vars(m2.md-sys-shape-values(), $overrides);
373
+ @include _define-m2-system-vars(m2.md-sys-state-values(), $overrides);
374
+
375
+ // The icon button's color token is set to `inherit` for M2 and intended to display
376
+ // the color inherited from its parent element. This is crucial because it's unknown
377
+ // whether the icon button sits on a container with background like "surface" or "primary",
378
+ // where both may have different contrast colors like white or black.
379
+ // However, variables set to inherit AND define a fallback will always use the fallback,
380
+ // which is "on-surface-variant". This mixin now defines this value.
381
+ // To avoid this, and continue using `inherit` for the icon button color, set the color explicitly
382
+ // to the token without a fallback.
383
+ .mat-mdc-button-base.mat-mdc-icon-button:not(.mat-mdc-button-disabled) {
384
+ color: var(--mat-icon-button-icon-color);
385
+ }
386
+ }
387
+
388
+ @mixin _define-m2-system-vars($vars, $overrides) {
389
+ @include sass-utils.current-selector-or-root {
390
+ @each $name, $value in $vars {
391
+ --#{definition.$system-fallback-prefix}-#{$name}: #{map.get($overrides, $name) or $value};
392
+ }
393
+ }
394
+ }
@@ -1,8 +1,3 @@
1
- //
2
- // Design system display name: Material 3
3
- // Design system version: v0.161
4
- //
5
-
6
1
  @use 'sass:map';
7
2
  @use '../../m2/palette';
8
3
 
@@ -27,40 +22,38 @@
27
22
  inverse-on-surface: rgba(black, 0.87),
28
23
  outline: rgba(white, 0.12),
29
24
  outline-variant: rgba(white, 0.38),
30
-
31
- // TBD
32
- error-container: null,
33
- on-background: null,
34
- on-error-container: null,
35
- on-primary-container: null,
36
- on-primary-fixed: null,
37
- on-primary-fixed-variant: null,
38
- on-secondary-container: null,
39
- on-secondary-fixed: null,
40
- on-secondary-fixed-variant: null,
41
- on-tertiary: null,
42
- on-tertiary-container: null,
43
- on-tertiary-fixed: null,
44
- on-tertiary-fixed-variant: null,
45
- primary-container: null,
46
- primary-fixed: null,
47
- primary-fixed-dim: null,
48
- scrim: null,
49
- secondary-container: null,
50
- secondary-fixed: null,
51
- secondary-fixed-dim: null,
52
- surface-bright: null,
53
- surface-container: null,
54
- surface-container-high: null,
55
- surface-container-highest: null,
56
- surface-container-low: null,
57
- surface-container-lowest: null,
58
- surface-dim: null,
59
- surface-tint: null,
60
- tertiary: null,
61
- tertiary-container: null,
62
- tertiary-fixed: null,
63
- tertiary-fixed-dim: null,
25
+ error-container: map.get($palettes, warn, default),
26
+ on-background: white,
27
+ on-error-container: map.get($palettes, warn, default-contrast),
28
+ on-primary-container: map.get($palettes, primary, default-contrast),
29
+ on-primary-fixed: map.get($palettes, primary, default-contrast),
30
+ on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
31
+ on-secondary-container: map.get($palettes, accent, default-contrast),
32
+ on-secondary-fixed: map.get($palettes, accent, default-contrast),
33
+ on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
34
+ on-tertiary: map.get($palettes, accent, default-contrast),
35
+ on-tertiary-container: map.get($palettes, accent, default-contrast),
36
+ on-tertiary-fixed: map.get($palettes, accent, default-contrast),
37
+ on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
38
+ primary-container: map.get($palettes, primary, default),
39
+ primary-fixed: map.get($palettes, primary, default),
40
+ primary-fixed-dim: map.get($palettes, primary, default),
41
+ scrim: black,
42
+ secondary-container: map.get($palettes, accent, default),
43
+ secondary-fixed: map.get($palettes, accent, default),
44
+ secondary-fixed-dim: map.get($palettes, accent, default),
45
+ surface-bright: map.get(palette.$grey-palette, 800),
46
+ surface-container: map.get(palette.$grey-palette, 800),
47
+ surface-container-high: map.get(palette.$grey-palette, 800),
48
+ surface-container-highest: map.get(palette.$grey-palette, 800),
49
+ surface-container-low: map.get(palette.$grey-palette, 800),
50
+ surface-container-lowest: map.get(palette.$grey-palette, 800),
51
+ surface-dim: map.get(palette.$grey-palette, 800),
52
+ surface-tint: map.get(palette.$grey-palette, 800),
53
+ tertiary: map.get($palettes, accent, default),
54
+ tertiary-container: map.get($palettes, accent, default),
55
+ tertiary-fixed: map.get($palettes, accent, default),
56
+ tertiary-fixed-dim: map.get($palettes, accent, default),
64
57
  );
65
58
  }
66
59
 
@@ -85,39 +78,37 @@
85
78
  inverse-on-surface: white,
86
79
  outline: rgba(black, 0.12),
87
80
  outline-variant: rgba(black, 0.38),
88
-
89
- // TBD
90
- error-container: null,
91
- on-background: null,
92
- on-error-container: null,
93
- on-primary-container: null,
94
- on-primary-fixed: null,
95
- on-primary-fixed-variant: null,
96
- on-secondary-container: null,
97
- on-secondary-fixed: null,
98
- on-secondary-fixed-variant: null,
99
- on-tertiary: null,
100
- on-tertiary-container: null,
101
- on-tertiary-fixed: null,
102
- on-tertiary-fixed-variant: null,
103
- primary-container: null,
104
- primary-fixed: null,
105
- primary-fixed-dim: null,
106
- scrim: null,
107
- secondary-container: null,
108
- secondary-fixed: null,
109
- secondary-fixed-dim: null,
110
- surface-bright: null,
111
- surface-container: null,
112
- surface-container-high: null,
113
- surface-container-highest: null,
114
- surface-container-low: null,
115
- surface-container-lowest: null,
116
- surface-dim: null,
117
- surface-tint: null,
118
- tertiary: null,
119
- tertiary-container: null,
120
- tertiary-fixed: null,
121
- tertiary-fixed-dim: null,
81
+ error-container: map.get($palettes, warn, default),
82
+ on-background: rgba(black, 0.87),
83
+ on-error-container: map.get($palettes, warn, default-contrast),
84
+ on-primary-container: map.get($palettes, primary, default-contrast),
85
+ on-primary-fixed: map.get($palettes, primary, default-contrast),
86
+ on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
87
+ on-secondary-container: map.get($palettes, accent, default-contrast),
88
+ on-secondary-fixed: map.get($palettes, accent, default-contrast),
89
+ on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
90
+ on-tertiary: map.get($palettes, accent, default-contrast),
91
+ on-tertiary-container: map.get($palettes, accent, default-contrast),
92
+ on-tertiary-fixed: map.get($palettes, accent, default-contrast),
93
+ on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
94
+ primary-container: map.get($palettes, primary, default),
95
+ primary-fixed: map.get($palettes, primary, default),
96
+ primary-fixed-dim: map.get($palettes, primary, default),
97
+ scrim: black,
98
+ secondary-container: map.get($palettes, accent, default),
99
+ secondary-fixed: map.get($palettes, accent, default),
100
+ secondary-fixed-dim: map.get($palettes, accent, default),
101
+ surface-bright: white,
102
+ surface-container: white,
103
+ surface-container-high: white,
104
+ surface-container-highest: white,
105
+ surface-container-low: white,
106
+ surface-container-lowest: white,
107
+ surface-dim: white,
108
+ surface-tint: white,
109
+ tertiary: map.get($palettes, accent, default),
110
+ tertiary-container: map.get($palettes, accent, default),
111
+ tertiary-fixed: map.get($palettes, accent, default),
112
+ tertiary-fixed-dim: map.get($palettes, accent, default),
122
113
  );
123
114
  }
@@ -1,16 +1,10 @@
1
- //
2
- // Design system display name: Material 3
3
- // Design system version: v0.161
4
- //
5
-
6
1
  @function md-sys-elevation-values() {
7
2
  @return (
8
- // TBD
9
- level0: null,
10
- level1: null,
11
- level2: null,
12
- level3: null,
13
- level4: null,
14
- level5: null,
3
+ level0: 0,
4
+ level1: 1,
5
+ level2: 3,
6
+ level3: 6,
7
+ level4: 8,
8
+ level5: 12
15
9
  );
16
10
  }