@angular/material 20.0.0-next.1 → 20.0.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 (265) hide show
  1. package/autocomplete/_autocomplete-theme.scss +4 -4
  2. package/autocomplete/index.d.ts +9 -4
  3. package/badge/_badge-theme.scss +5 -5
  4. package/badge/index.d.ts +2 -2
  5. package/badge/testing/index.d.ts +1 -1
  6. package/{badge.d-49a8a74b.d.ts → badge.d-d42103d0.d.ts} +1 -1
  7. package/bottom-sheet/_bottom-sheet-theme.scss +3 -3
  8. package/bottom-sheet/index.d.ts +1 -0
  9. package/button/_button-theme.scss +84 -32
  10. package/button/_fab-theme.scss +13 -13
  11. package/button/_icon-button-theme.scss +5 -5
  12. package/button/index.d.ts +4 -4
  13. package/button/testing/index.d.ts +9 -2
  14. package/button-toggle/_button-toggle-theme.scss +8 -8
  15. package/button-toggle/index.d.ts +4 -4
  16. package/button-toggle/testing/index.d.ts +1 -1
  17. package/{button-toggle.d-edc8acff.d.ts → button-toggle.d-e3ddc80f.d.ts} +1 -1
  18. package/card/_card-theme.scss +12 -12
  19. package/checkbox/_checkbox-theme.scss +10 -10
  20. package/checkbox/index.d.ts +1 -1
  21. package/chips/_chips-theme.scss +14 -14
  22. package/chips/index.d.ts +13 -3
  23. package/core/_core-theme.scss +2 -2
  24. package/core/index.d.ts +11 -6
  25. package/core/option/_optgroup-theme.scss +2 -2
  26. package/core/option/_option-theme.scss +4 -4
  27. package/core/ripple/_ripple-theme.scss +3 -3
  28. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +4 -4
  29. package/core/theming/_color-api-backwards-compatibility.scss +19 -8
  30. package/core/tokens/_density.scss +3 -0
  31. package/core/tokens/_token-definition.scss +1 -2
  32. package/core/tokens/_token-utils.scss +20 -5
  33. package/core/tokens/m2/_index.scss +2 -0
  34. package/core/tokens/m2/mat/_tonal-button.scss +110 -0
  35. package/core/tokens/m3/_index.scss +2 -0
  36. package/core/tokens/m3/definitions/_index.scss +1 -1
  37. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
  38. package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
  39. package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
  40. package/core/tokens/m3/mat/_tonal-button.scss +101 -0
  41. package/datepicker/_datepicker-theme.scss +8 -7
  42. package/datepicker/index.d.ts +5 -4
  43. package/dialog/_dialog-theme.scss +6 -6
  44. package/dialog/index.d.ts +2 -2
  45. package/dialog/testing/index.d.ts +1 -1
  46. package/{dialog.d-57867441.d.ts → dialog.d-4ffbd89c.d.ts} +1 -1
  47. package/divider/_divider-theme.scss +2 -2
  48. package/expansion/_expansion-theme.scss +4 -4
  49. package/fesm2022/animation-5f89c9a6.mjs +33 -0
  50. package/fesm2022/animation-5f89c9a6.mjs.map +1 -0
  51. package/fesm2022/autocomplete/testing.mjs +2 -2
  52. package/fesm2022/autocomplete.mjs +16 -10
  53. package/fesm2022/autocomplete.mjs.map +1 -1
  54. package/fesm2022/badge.mjs +5 -4
  55. package/fesm2022/badge.mjs.map +1 -1
  56. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  57. package/fesm2022/bottom-sheet.mjs +5 -2
  58. package/fesm2022/bottom-sheet.mjs.map +1 -1
  59. package/fesm2022/button/testing.mjs +34 -15
  60. package/fesm2022/button/testing.mjs.map +1 -1
  61. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  62. package/fesm2022/button-toggle.mjs +7 -6
  63. package/fesm2022/button-toggle.mjs.map +1 -1
  64. package/fesm2022/button.mjs +6 -5
  65. package/fesm2022/button.mjs.map +1 -1
  66. package/fesm2022/card/testing.mjs.map +1 -1
  67. package/fesm2022/checkbox/testing.mjs.map +1 -1
  68. package/fesm2022/checkbox.mjs +7 -6
  69. package/fesm2022/checkbox.mjs.map +1 -1
  70. package/fesm2022/chips/testing.mjs +7 -1
  71. package/fesm2022/chips/testing.mjs.map +1 -1
  72. package/fesm2022/chips.mjs +32 -16
  73. package/fesm2022/chips.mjs.map +1 -1
  74. package/fesm2022/core/testing.mjs +2 -2
  75. package/fesm2022/core.mjs +10 -31
  76. package/fesm2022/core.mjs.map +1 -1
  77. package/fesm2022/{date-range-input-harness-ee47cdb0.mjs → date-range-input-harness-3718a667.mjs} +2 -2
  78. package/fesm2022/date-range-input-harness-3718a667.mjs.map +1 -0
  79. package/fesm2022/datepicker/testing.mjs +3 -3
  80. package/fesm2022/datepicker/testing.mjs.map +1 -1
  81. package/fesm2022/datepicker.mjs +17 -14
  82. package/fesm2022/datepicker.mjs.map +1 -1
  83. package/fesm2022/dialog/testing.mjs +2 -1
  84. package/fesm2022/dialog/testing.mjs.map +1 -1
  85. package/fesm2022/dialog.mjs +2 -1
  86. package/fesm2022/dialog.mjs.map +1 -1
  87. package/fesm2022/divider/testing.mjs +1 -1
  88. package/fesm2022/{divider-harness-3394f29a.mjs → divider-harness-8099453f.mjs} +1 -1
  89. package/fesm2022/divider-harness-8099453f.mjs.map +1 -0
  90. package/fesm2022/expansion/testing.mjs.map +1 -1
  91. package/fesm2022/expansion.mjs +3 -2
  92. package/fesm2022/expansion.mjs.map +1 -1
  93. package/fesm2022/form-field/testing/control.mjs +1 -1
  94. package/fesm2022/form-field/testing.mjs +6 -6
  95. package/fesm2022/form-field/testing.mjs.map +1 -1
  96. package/fesm2022/{form-field-6d755764.mjs → form-field-8a19bb72.mjs} +4 -4
  97. package/fesm2022/form-field-8a19bb72.mjs.map +1 -0
  98. package/fesm2022/{form-field-control-harness-af6fd278.mjs → form-field-control-harness-efefd4cf.mjs} +1 -1
  99. package/fesm2022/form-field-control-harness-efefd4cf.mjs.map +1 -0
  100. package/fesm2022/form-field.mjs +3 -2
  101. package/fesm2022/form-field.mjs.map +1 -1
  102. package/fesm2022/grid-list/testing.mjs.map +1 -1
  103. package/fesm2022/icon-button-b4a4e8c0.mjs +212 -0
  104. package/fesm2022/icon-button-b4a4e8c0.mjs.map +1 -0
  105. package/fesm2022/{index-1763d3a6.mjs → index-26a22e6d.mjs} +4 -4
  106. package/fesm2022/{index-1763d3a6.mjs.map → index-26a22e6d.mjs.map} +1 -1
  107. package/fesm2022/{index-4bc1d6d3.mjs → index-8309af79.mjs} +2 -2
  108. package/fesm2022/{index-4bc1d6d3.mjs.map → index-8309af79.mjs.map} +1 -1
  109. package/fesm2022/input/testing.mjs +2 -2
  110. package/fesm2022/input/testing.mjs.map +1 -1
  111. package/fesm2022/{input-harness-ed59decc.mjs → input-harness-e68bb132.mjs} +2 -2
  112. package/fesm2022/input-harness-e68bb132.mjs.map +1 -0
  113. package/fesm2022/input.mjs +4 -3
  114. package/fesm2022/input.mjs.map +1 -1
  115. package/fesm2022/list/testing.mjs +1 -1
  116. package/fesm2022/list/testing.mjs.map +1 -1
  117. package/fesm2022/list.mjs +7 -8
  118. package/fesm2022/list.mjs.map +1 -1
  119. package/fesm2022/menu/testing.mjs.map +1 -1
  120. package/fesm2022/menu.mjs +7 -5
  121. package/fesm2022/menu.mjs.map +1 -1
  122. package/fesm2022/{module-d757bba0.mjs → module-47679371.mjs} +2 -2
  123. package/fesm2022/{module-d757bba0.mjs.map → module-47679371.mjs.map} +1 -1
  124. package/fesm2022/{module-47e3be58.mjs → module-4a8034fc.mjs} +7 -7
  125. package/fesm2022/module-4a8034fc.mjs.map +1 -0
  126. package/fesm2022/{module-3bf2775f.mjs → module-57e0986f.mjs} +10 -9
  127. package/fesm2022/module-57e0986f.mjs.map +1 -0
  128. package/fesm2022/module-5a2afb59.mjs +214 -0
  129. package/fesm2022/module-5a2afb59.mjs.map +1 -0
  130. package/fesm2022/{module-a5f9ab72.mjs → module-5f02bfe9.mjs} +10 -6
  131. package/fesm2022/module-5f02bfe9.mjs.map +1 -0
  132. package/fesm2022/{optgroup-harness-5e66b138.mjs → optgroup-harness-d5cf72ed.mjs} +2 -2
  133. package/fesm2022/optgroup-harness-d5cf72ed.mjs.map +1 -0
  134. package/fesm2022/{option-07c3c660.mjs → option-636f0562.mjs} +3 -3
  135. package/fesm2022/{option-07c3c660.mjs.map → option-636f0562.mjs.map} +1 -1
  136. package/fesm2022/{option-harness-3b7c1106.mjs → option-harness-b4971f41.mjs} +1 -1
  137. package/fesm2022/option-harness-b4971f41.mjs.map +1 -0
  138. package/fesm2022/paginator/testing.mjs +4 -4
  139. package/fesm2022/paginator/testing.mjs.map +1 -1
  140. package/fesm2022/paginator.mjs +16 -15
  141. package/fesm2022/paginator.mjs.map +1 -1
  142. package/fesm2022/progress-bar.mjs +3 -4
  143. package/fesm2022/progress-bar.mjs.map +1 -1
  144. package/fesm2022/progress-spinner.mjs +3 -4
  145. package/fesm2022/progress-spinner.mjs.map +1 -1
  146. package/fesm2022/{pseudo-checkbox-af5a4ea4.mjs → pseudo-checkbox-0115d33e.mjs} +6 -5
  147. package/fesm2022/pseudo-checkbox-0115d33e.mjs.map +1 -0
  148. package/fesm2022/{pseudo-checkbox-module-216fae38.mjs → pseudo-checkbox-module-89d964bd.mjs} +2 -2
  149. package/fesm2022/{pseudo-checkbox-module-216fae38.mjs.map → pseudo-checkbox-module-89d964bd.mjs.map} +1 -1
  150. package/fesm2022/radio/testing.mjs.map +1 -1
  151. package/fesm2022/radio.mjs +5 -6
  152. package/fesm2022/radio.mjs.map +1 -1
  153. package/fesm2022/{ripple-9939d1f5.mjs → ripple-c405b061.mjs} +5 -4
  154. package/fesm2022/{ripple-9939d1f5.mjs.map → ripple-c405b061.mjs.map} +1 -1
  155. package/fesm2022/{ripple-loader-f2078c66.mjs → ripple-loader-37620555.mjs} +10 -10
  156. package/fesm2022/ripple-loader-37620555.mjs.map +1 -0
  157. package/fesm2022/select/testing.mjs +4 -4
  158. package/fesm2022/{select-harness-8c55824d.mjs → select-harness-30466074.mjs} +4 -4
  159. package/fesm2022/select-harness-30466074.mjs.map +1 -0
  160. package/fesm2022/select.mjs +10 -9
  161. package/fesm2022/select.mjs.map +1 -1
  162. package/fesm2022/sidenav/testing.mjs.map +1 -1
  163. package/fesm2022/sidenav.mjs +4 -3
  164. package/fesm2022/sidenav.mjs.map +1 -1
  165. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  166. package/fesm2022/slide-toggle.mjs +4 -5
  167. package/fesm2022/slide-toggle.mjs.map +1 -1
  168. package/fesm2022/slider/testing.mjs.map +1 -1
  169. package/fesm2022/slider.mjs +10 -8
  170. package/fesm2022/slider.mjs.map +1 -1
  171. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  172. package/fesm2022/snack-bar.mjs +12 -9
  173. package/fesm2022/snack-bar.mjs.map +1 -1
  174. package/fesm2022/sort/testing.mjs.map +1 -1
  175. package/fesm2022/sort.mjs +5 -4
  176. package/fesm2022/sort.mjs.map +1 -1
  177. package/fesm2022/stepper/testing.mjs.map +1 -1
  178. package/fesm2022/stepper.mjs +7 -6
  179. package/fesm2022/stepper.mjs.map +1 -1
  180. package/fesm2022/table/testing.mjs.map +1 -1
  181. package/fesm2022/tabs/testing.mjs.map +1 -1
  182. package/fesm2022/tabs.mjs +15 -22
  183. package/fesm2022/tabs.mjs.map +1 -1
  184. package/fesm2022/timepicker/testing.mjs +1 -1
  185. package/fesm2022/timepicker/testing.mjs.map +1 -1
  186. package/fesm2022/timepicker.mjs +20 -15
  187. package/fesm2022/timepicker.mjs.map +1 -1
  188. package/fesm2022/toolbar/testing.mjs.map +1 -1
  189. package/fesm2022/tooltip/testing.mjs.map +1 -1
  190. package/fesm2022/tooltip.mjs +2 -1
  191. package/fesm2022/tooltip.mjs.map +1 -1
  192. package/fesm2022/tree/testing.mjs.map +1 -1
  193. package/form-field/_form-field-theme.scss +16 -16
  194. package/grid-list/_grid-list-theme.scss +1 -1
  195. package/icon/_icon-theme.scss +2 -2
  196. package/{index.d-0536b706.d.ts → index.d-cc6e48d4.d.ts} +1 -1
  197. package/{index.d-37e31cd3.d.ts → index.d-d77f0821.d.ts} +2 -2
  198. package/list/_list-theme.scss +15 -15
  199. package/list/index.d.ts +3 -3
  200. package/menu/_menu-theme.scss +3 -3
  201. package/menu/index.d.ts +3 -2
  202. package/{module.d-74a721b9.d.ts → module.d-9a0cb968.d.ts} +1 -0
  203. package/{module.d-ba05faa6.d.ts → module.d-a23953f5.d.ts} +1 -1
  204. package/{module.d-18a67f56.d.ts → module.d-d86ca350.d.ts} +35 -28
  205. package/package.json +2 -2
  206. package/paginator/_paginator-theme.scss +3 -3
  207. package/paginator/index.d.ts +8 -8
  208. package/prebuilt-themes/deeppurple-amber.css +1 -1
  209. package/prebuilt-themes/indigo-pink.css +1 -1
  210. package/prebuilt-themes/pink-bluegrey.css +1 -1
  211. package/prebuilt-themes/purple-green.css +1 -1
  212. package/progress-bar/_progress-bar-theme.scss +2 -2
  213. package/progress-bar/index.d.ts +0 -1
  214. package/progress-spinner/_progress-spinner-theme.scss +4 -4
  215. package/{pseudo-checkbox-module.d-3abc0461.d.ts → pseudo-checkbox-module.d-d21de92b.d.ts} +1 -1
  216. package/radio/_radio-theme.scss +12 -12
  217. package/radio/index.d.ts +2 -2
  218. package/{ripple-loader.d-8aac2988.d.ts → ripple-loader.d-e5ac6c14.d.ts} +1 -1
  219. package/{ripple.d-2fb57d04.d.ts → ripple.d-f2cd74cf.d.ts} +1 -1
  220. package/schematics/ng-add/index.js +1 -1
  221. package/schematics/ng-add/index.mjs +1 -1
  222. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  223. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  224. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  225. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  226. package/select/_select-theme.scss +6 -6
  227. package/select/index.d.ts +5 -5
  228. package/sidenav/_sidenav-theme.scss +2 -2
  229. package/sidenav/index.d.ts +1 -1
  230. package/slide-toggle/_slide-toggle-theme.scss +10 -10
  231. package/slider/_slider-theme.scss +10 -10
  232. package/slider/index.d.ts +2 -2
  233. package/snack-bar/_snack-bar-theme.scss +4 -4
  234. package/snack-bar/index.d.ts +5 -4
  235. package/sort/_sort-theme.scss +3 -3
  236. package/sort/index.d.ts +1 -1
  237. package/stepper/_stepper-theme.scss +5 -5
  238. package/stepper/index.d.ts +3 -3
  239. package/table/_table-theme.scss +4 -4
  240. package/tabs/_tabs-theme.scss +16 -16
  241. package/tabs/index.d.ts +4 -4
  242. package/timepicker/_timepicker-theme.scss +4 -4
  243. package/timepicker/index.d.ts +0 -1
  244. package/toolbar/_toolbar-theme.scss +4 -4
  245. package/tooltip/_tooltip-theme.scss +4 -4
  246. package/tooltip/index.d.ts +1 -1
  247. package/tree/_tree-theme.scss +3 -3
  248. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +0 -1
  249. package/fesm2022/divider-harness-3394f29a.mjs.map +0 -1
  250. package/fesm2022/form-field-6d755764.mjs.map +0 -1
  251. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +0 -1
  252. package/fesm2022/icon-button-47f1b5d9.mjs +0 -248
  253. package/fesm2022/icon-button-47f1b5d9.mjs.map +0 -1
  254. package/fesm2022/input-harness-ed59decc.mjs.map +0 -1
  255. package/fesm2022/module-3bf2775f.mjs.map +0 -1
  256. package/fesm2022/module-47e3be58.mjs.map +0 -1
  257. package/fesm2022/module-a5f9ab72.mjs.map +0 -1
  258. package/fesm2022/module-df9f7af3.mjs +0 -152
  259. package/fesm2022/module-df9f7af3.mjs.map +0 -1
  260. package/fesm2022/optgroup-harness-5e66b138.mjs.map +0 -1
  261. package/fesm2022/option-harness-3b7c1106.mjs.map +0 -1
  262. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +0 -1
  263. package/fesm2022/ripple-loader-f2078c66.mjs.map +0 -1
  264. package/fesm2022/select-harness-8c55824d.mjs.map +0 -1
  265. /package/core/tokens/m3/definitions/{unused/_md-comp-filled-tonal-button.scss → _md-comp-filled-tonal-button.scss} +0 -0
@@ -15,11 +15,11 @@
15
15
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
16
16
  } @else {
17
17
  @include sass-utils.current-selector-or-root() {
18
- @include token-utils.create-token-values(
18
+ @include token-utils.create-token-values-mixed(
19
19
  tokens-mat-legacy-button-toggle.$prefix,
20
20
  tokens-mat-legacy-button-toggle.get-unthemable-tokens()
21
21
  );
22
- @include token-utils.create-token-values(
22
+ @include token-utils.create-token-values-mixed(
23
23
  tokens-mat-standard-button-toggle.$prefix,
24
24
  tokens-mat-standard-button-toggle.get-unthemable-tokens()
25
25
  );
@@ -37,11 +37,11 @@
37
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
38
38
  } @else {
39
39
  @include sass-utils.current-selector-or-root() {
40
- @include token-utils.create-token-values(
40
+ @include token-utils.create-token-values-mixed(
41
41
  tokens-mat-legacy-button-toggle.$prefix,
42
42
  tokens-mat-legacy-button-toggle.get-color-tokens($theme)
43
43
  );
44
- @include token-utils.create-token-values(
44
+ @include token-utils.create-token-values-mixed(
45
45
  tokens-mat-standard-button-toggle.$prefix,
46
46
  tokens-mat-standard-button-toggle.get-color-tokens($theme)
47
47
  );
@@ -56,11 +56,11 @@
56
56
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
57
57
  } @else {
58
58
  @include sass-utils.current-selector-or-root() {
59
- @include token-utils.create-token-values(
59
+ @include token-utils.create-token-values-mixed(
60
60
  tokens-mat-legacy-button-toggle.$prefix,
61
61
  tokens-mat-legacy-button-toggle.get-typography-tokens($theme)
62
62
  );
63
- @include token-utils.create-token-values(
63
+ @include token-utils.create-token-values-mixed(
64
64
  tokens-mat-standard-button-toggle.$prefix,
65
65
  tokens-mat-standard-button-toggle.get-typography-tokens($theme)
66
66
  );
@@ -75,11 +75,11 @@
75
75
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
76
76
  } @else {
77
77
  @include sass-utils.current-selector-or-root() {
78
- @include token-utils.create-token-values(
78
+ @include token-utils.create-token-values-mixed(
79
79
  tokens-mat-legacy-button-toggle.$prefix,
80
80
  tokens-mat-legacy-button-toggle.get-density-tokens($theme)
81
81
  );
82
- @include token-utils.create-token-values(
82
+ @include token-utils.create-token-values-mixed(
83
83
  tokens-mat-standard-button-toggle.$prefix,
84
84
  tokens-mat-standard-button-toggle.get-density-tokens($theme)
85
85
  );
@@ -1,11 +1,11 @@
1
- import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-edc8acff.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, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-edc8acff.js';
1
+ import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-e3ddc80f.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, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-e3ddc80f.js';
3
3
  import * as i0 from '@angular/core';
4
4
  import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
5
- import { M as MatRippleModule } from '../index.d-0536b706.js';
5
+ import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
6
6
  import '@angular/cdk/bidi';
7
7
  import '@angular/forms';
8
- import '../ripple.d-2fb57d04.js';
8
+ import '../ripple.d-f2cd74cf.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-edc8acff.js';
2
+ import { b as MatButtonToggleAppearance } from '../../button-toggle.d-e3ddc80f.js';
3
3
  import '@angular/cdk/bidi';
4
4
  import '@angular/core';
5
5
  import '@angular/forms';
@@ -182,7 +182,7 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
182
182
  private _elementRef;
183
183
  private _focusMonitor;
184
184
  private _idGenerator;
185
- private _animationMode;
185
+ private _animationDisabled;
186
186
  private _checked;
187
187
  /**
188
188
  * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
@@ -14,15 +14,15 @@
14
14
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
15
15
  } @else {
16
16
  @include sass-utils.current-selector-or-root() {
17
- @include token-utils.create-token-values(
17
+ @include token-utils.create-token-values-mixed(
18
18
  tokens-mdc-elevated-card.$prefix,
19
19
  tokens-mdc-elevated-card.get-unthemable-tokens()
20
20
  );
21
- @include token-utils.create-token-values(
21
+ @include token-utils.create-token-values-mixed(
22
22
  tokens-mdc-outlined-card.$prefix,
23
23
  tokens-mdc-outlined-card.get-unthemable-tokens()
24
24
  );
25
- @include token-utils.create-token-values(
25
+ @include token-utils.create-token-values-mixed(
26
26
  tokens-mat-card.$prefix,
27
27
  tokens-mat-card.get-unthemable-tokens()
28
28
  );
@@ -35,15 +35,15 @@
35
35
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
36
36
  } @else {
37
37
  @include sass-utils.current-selector-or-root() {
38
- @include token-utils.create-token-values(
38
+ @include token-utils.create-token-values-mixed(
39
39
  tokens-mdc-elevated-card.$prefix,
40
40
  tokens-mdc-elevated-card.get-color-tokens($theme)
41
41
  );
42
- @include token-utils.create-token-values(
42
+ @include token-utils.create-token-values-mixed(
43
43
  tokens-mdc-outlined-card.$prefix,
44
44
  tokens-mdc-outlined-card.get-color-tokens($theme)
45
45
  );
46
- @include token-utils.create-token-values(
46
+ @include token-utils.create-token-values-mixed(
47
47
  tokens-mat-card.$prefix,
48
48
  tokens-mat-card.get-color-tokens($theme)
49
49
  );
@@ -56,15 +56,15 @@
56
56
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
57
57
  } @else {
58
58
  @include sass-utils.current-selector-or-root() {
59
- @include token-utils.create-token-values(
59
+ @include token-utils.create-token-values-mixed(
60
60
  tokens-mdc-elevated-card.$prefix,
61
61
  tokens-mdc-elevated-card.get-typography-tokens($theme)
62
62
  );
63
- @include token-utils.create-token-values(
63
+ @include token-utils.create-token-values-mixed(
64
64
  tokens-mdc-outlined-card.$prefix,
65
65
  tokens-mdc-outlined-card.get-typography-tokens($theme)
66
66
  );
67
- @include token-utils.create-token-values(
67
+ @include token-utils.create-token-values-mixed(
68
68
  tokens-mat-card.$prefix,
69
69
  tokens-mat-card.get-typography-tokens($theme)
70
70
  );
@@ -77,15 +77,15 @@
77
77
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
78
78
  } @else {
79
79
  @include sass-utils.current-selector-or-root() {
80
- @include token-utils.create-token-values(
80
+ @include token-utils.create-token-values-mixed(
81
81
  tokens-mdc-elevated-card.$prefix,
82
82
  tokens-mdc-elevated-card.get-density-tokens($theme)
83
83
  );
84
- @include token-utils.create-token-values(
84
+ @include token-utils.create-token-values-mixed(
85
85
  tokens-mdc-outlined-card.$prefix,
86
86
  tokens-mdc-outlined-card.get-density-tokens($theme)
87
87
  );
88
- @include token-utils.create-token-values(
88
+ @include token-utils.create-token-values-mixed(
89
89
  tokens-mat-card.$prefix,
90
90
  tokens-mat-card.get-density-tokens($theme)
91
91
  );
@@ -15,11 +15,11 @@
15
15
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
16
16
  } @else {
17
17
  @include sass-utils.current-selector-or-root() {
18
- @include token-utils.create-token-values(
18
+ @include token-utils.create-token-values-mixed(
19
19
  tokens-mdc-checkbox.$prefix,
20
20
  tokens-mdc-checkbox.get-unthemable-tokens()
21
21
  );
22
- @include token-utils.create-token-values(
22
+ @include token-utils.create-token-values-mixed(
23
23
  tokens-mat-checkbox.$prefix,
24
24
  tokens-mat-checkbox.get-unthemable-tokens()
25
25
  );
@@ -37,11 +37,11 @@
37
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
38
38
  } @else {
39
39
  @include sass-utils.current-selector-or-root() {
40
- @include token-utils.create-token-values(
40
+ @include token-utils.create-token-values-mixed(
41
41
  tokens-mdc-checkbox.$prefix,
42
42
  tokens-mdc-checkbox.get-color-tokens($theme)
43
43
  );
44
- @include token-utils.create-token-values(
44
+ @include token-utils.create-token-values-mixed(
45
45
  tokens-mat-checkbox.$prefix,
46
46
  tokens-mat-checkbox.get-color-tokens($theme)
47
47
  );
@@ -49,14 +49,14 @@
49
49
 
50
50
  .mat-mdc-checkbox {
51
51
  &.mat-primary {
52
- @include token-utils.create-token-values(
52
+ @include token-utils.create-token-values-mixed(
53
53
  tokens-mdc-checkbox.$prefix,
54
54
  tokens-mdc-checkbox.get-color-tokens($theme, primary)
55
55
  );
56
56
  }
57
57
 
58
58
  &.mat-warn {
59
- @include token-utils.create-token-values(
59
+ @include token-utils.create-token-values-mixed(
60
60
  tokens-mdc-checkbox.$prefix,
61
61
  tokens-mdc-checkbox.get-color-tokens($theme, warn)
62
62
  );
@@ -72,11 +72,11 @@
72
72
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
73
73
  } @else {
74
74
  @include sass-utils.current-selector-or-root() {
75
- @include token-utils.create-token-values(
75
+ @include token-utils.create-token-values-mixed(
76
76
  tokens-mdc-checkbox.$prefix,
77
77
  tokens-mdc-checkbox.get-typography-tokens($theme)
78
78
  );
79
- @include token-utils.create-token-values(
79
+ @include token-utils.create-token-values-mixed(
80
80
  tokens-mat-checkbox.$prefix,
81
81
  tokens-mat-checkbox.get-typography-tokens($theme)
82
82
  );
@@ -93,11 +93,11 @@
93
93
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
94
94
  } @else {
95
95
  @include sass-utils.current-selector-or-root() {
96
- @include token-utils.create-token-values(
96
+ @include token-utils.create-token-values-mixed(
97
97
  tokens-mdc-checkbox.$prefix,
98
98
  tokens-mdc-checkbox.get-density-tokens($theme)
99
99
  );
100
- @include token-utils.create-token-values(
100
+ @include token-utils.create-token-values-mixed(
101
101
  tokens-mat-checkbox.$prefix,
102
102
  tokens-mat-checkbox.get-density-tokens($theme)
103
103
  );
@@ -31,7 +31,7 @@ declare class MatCheckbox implements AfterViewInit, OnChanges, ControlValueAcces
31
31
  _elementRef: ElementRef<HTMLElement>;
32
32
  private _changeDetectorRef;
33
33
  private _ngZone;
34
- _animationMode?: "NoopAnimations" | "BrowserAnimations" | null | undefined;
34
+ private _animationsDisabled;
35
35
  private _options;
36
36
  /** Focuses the checkbox. */
37
37
  focus(): void;
@@ -15,11 +15,11 @@
15
15
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
16
16
  } @else {
17
17
  .mat-mdc-standard-chip {
18
- @include token-utils.create-token-values(
18
+ @include token-utils.create-token-values-mixed(
19
19
  tokens-mdc-chip.$prefix,
20
20
  tokens-mdc-chip.get-unthemable-tokens()
21
21
  );
22
- @include token-utils.create-token-values(
22
+ @include token-utils.create-token-values-mixed(
23
23
  tokens-mat-chip.$prefix,
24
24
  tokens-mat-chip.get-unthemable-tokens()
25
25
  );
@@ -37,11 +37,11 @@
37
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
38
38
  } @else {
39
39
  .mat-mdc-standard-chip {
40
- @include token-utils.create-token-values(
40
+ @include token-utils.create-token-values-mixed(
41
41
  tokens-mdc-chip.$prefix,
42
42
  tokens-mdc-chip.get-color-tokens($theme)
43
43
  );
44
- @include token-utils.create-token-values(
44
+ @include token-utils.create-token-values-mixed(
45
45
  tokens-mat-chip.$prefix,
46
46
  tokens-mat-chip.get-color-tokens($theme)
47
47
  );
@@ -49,33 +49,33 @@
49
49
  &.mat-mdc-chip-selected,
50
50
  &.mat-mdc-chip-highlighted {
51
51
  &.mat-primary {
52
- @include token-utils.create-token-values(
52
+ @include token-utils.create-token-values-mixed(
53
53
  tokens-mdc-chip.$prefix,
54
54
  tokens-mdc-chip.get-color-tokens($theme, primary)
55
55
  );
56
- @include token-utils.create-token-values(
56
+ @include token-utils.create-token-values-mixed(
57
57
  tokens-mat-chip.$prefix,
58
58
  tokens-mat-chip.get-color-tokens($theme, primary)
59
59
  );
60
60
  }
61
61
 
62
62
  &.mat-accent {
63
- @include token-utils.create-token-values(
63
+ @include token-utils.create-token-values-mixed(
64
64
  tokens-mdc-chip.$prefix,
65
65
  tokens-mdc-chip.get-color-tokens($theme, accent)
66
66
  );
67
- @include token-utils.create-token-values(
67
+ @include token-utils.create-token-values-mixed(
68
68
  tokens-mat-chip.$prefix,
69
69
  tokens-mat-chip.get-color-tokens($theme, accent)
70
70
  );
71
71
  }
72
72
 
73
73
  &.mat-warn {
74
- @include token-utils.create-token-values(
74
+ @include token-utils.create-token-values-mixed(
75
75
  tokens-mdc-chip.$prefix,
76
76
  tokens-mdc-chip.get-color-tokens($theme, warn)
77
77
  );
78
- @include token-utils.create-token-values(
78
+ @include token-utils.create-token-values-mixed(
79
79
  tokens-mat-chip.$prefix,
80
80
  tokens-mat-chip.get-color-tokens($theme, warn)
81
81
  );
@@ -92,11 +92,11 @@
92
92
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
93
93
  } @else {
94
94
  .mat-mdc-standard-chip {
95
- @include token-utils.create-token-values(
95
+ @include token-utils.create-token-values-mixed(
96
96
  tokens-mdc-chip.$prefix,
97
97
  tokens-mdc-chip.get-typography-tokens($theme)
98
98
  );
99
- @include token-utils.create-token-values(
99
+ @include token-utils.create-token-values-mixed(
100
100
  tokens-mat-chip.$prefix,
101
101
  tokens-mat-chip.get-typography-tokens($theme)
102
102
  );
@@ -111,11 +111,11 @@
111
111
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
112
112
  } @else {
113
113
  .mat-mdc-chip.mat-mdc-standard-chip {
114
- @include token-utils.create-token-values(
114
+ @include token-utils.create-token-values-mixed(
115
115
  tokens-mdc-chip.$prefix,
116
116
  tokens-mdc-chip.get-density-tokens($theme)
117
117
  );
118
- @include token-utils.create-token-values(
118
+ @include token-utils.create-token-values-mixed(
119
119
  tokens-mat-chip.$prefix,
120
120
  tokens-mat-chip.get-density-tokens($theme)
121
121
  );
package/chips/index.d.ts CHANGED
@@ -6,9 +6,9 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
6
6
  import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
7
7
  import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
8
8
  import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
9
- import { M as MatRippleModule } from '../index.d-0536b706.js';
9
+ import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
10
10
  import '@angular/cdk/bidi';
11
- import '../ripple.d-2fb57d04.js';
11
+ import '../ripple.d-f2cd74cf.js';
12
12
  import '@angular/cdk/platform';
13
13
 
14
14
  /**
@@ -837,6 +837,10 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
837
837
  get disabled(): boolean;
838
838
  set disabled(value: boolean);
839
839
  private _disabled;
840
+ /** Whether the input is readonly. */
841
+ readonly: boolean;
842
+ /** Whether the input should remain interactive when it is disabled. */
843
+ disabledInteractive: boolean;
840
844
  /** Whether the input is empty. */
841
845
  get empty(): boolean;
842
846
  /** The native input element to which this directive is attached. */
@@ -859,10 +863,14 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
859
863
  setDescribedByIds(ids: string[]): void;
860
864
  /** Checks whether a keycode is one of the configured separators. */
861
865
  private _isSeparatorKey;
866
+ /** Gets the value to set on the `readonly` attribute. */
867
+ protected _getReadonlyAttribute(): string | null;
862
868
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
863
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
869
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabledInteractive": { "alias": "matChipInputDisabledInteractive"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
864
870
  static ngAcceptInputType_addOnBlur: unknown;
865
871
  static ngAcceptInputType_disabled: unknown;
872
+ static ngAcceptInputType_readonly: unknown;
873
+ static ngAcceptInputType_disabledInteractive: unknown;
866
874
  }
867
875
 
868
876
  declare class MatChipsModule {
@@ -877,6 +885,8 @@ interface MatChipsDefaultOptions {
877
885
  separatorKeyCodes: readonly number[] | ReadonlySet<number>;
878
886
  /** Whether icon indicators should be hidden for single-selection. */
879
887
  hideSingleSelectionIndicator?: boolean;
888
+ /** Whether the chip input should be interactive while disabled by default. */
889
+ inputDisabledInteractive?: boolean;
880
890
  }
881
891
  /** Injection token to be used to override the default options for the chips module. */
882
892
  declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
@@ -24,7 +24,7 @@
24
24
  @include optgroup-theme.base($theme);
25
25
  @include pseudo-checkbox-theme.base($theme);
26
26
  @include sass-utils.current-selector-or-root() {
27
- @include token-utils.create-token-values(
27
+ @include token-utils.create-token-values-mixed(
28
28
  tokens-mat-app.$prefix,
29
29
  tokens-mat-app.get-unthemable-tokens()
30
30
  );
@@ -41,7 +41,7 @@
41
41
  @include optgroup-theme.color($theme);
42
42
  @include pseudo-checkbox-theme.color($theme);
43
43
  @include sass-utils.current-selector-or-root() {
44
- @include token-utils.create-token-values(
44
+ @include token-utils.create-token-values-mixed(
45
45
  tokens-mat-app.$prefix,
46
46
  tokens-mat-app.get-color-tokens($theme)
47
47
  );
package/core/index.d.ts CHANGED
@@ -7,15 +7,15 @@ import { Subject } from 'rxjs';
7
7
  import { E as ErrorStateMatcher$1 } from '../error-options.d-448d9046.js';
8
8
  export { E as ErrorStateMatcher, S as ShowOnDirtyErrorStateMatcher } from '../error-options.d-448d9046.js';
9
9
  export { M as MatLine, a as MatLineModule, s as setLines } from '../line.d-570a2537.js';
10
- export { M as MatOptionModule } from '../index.d-37e31cd3.js';
11
- export { M as MatRippleLoader } from '../ripple-loader.d-8aac2988.js';
12
- export { M as MatRippleModule } from '../index.d-0536b706.js';
13
- export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-3abc0461.js';
10
+ export { M as MatOptionModule } from '../index.d-d77f0821.js';
11
+ export { M as MatRippleLoader } from '../ripple-loader.d-e5ac6c14.js';
12
+ export { M as MatRippleModule } from '../index.d-cc6e48d4.js';
13
+ export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-d21de92b.js';
14
14
  import { D as DateAdapter } from '../date-adapter.d-c6835d41.js';
15
15
  export { D as DateAdapter, M as MAT_DATE_LOCALE, a as MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d-c6835d41.js';
16
16
  export { d as MAT_OPTGROUP, a as MatOptgroup, M as MatOption, b as MatOptionSelectionChange, _ as _countGroupLabelsBeforeOption, c as _getOptionScrollPosition } from '../option.d-6f493d78.js';
17
17
  export { a as MAT_OPTION_PARENT_COMPONENT, M as MatOptionParentComponent } from '../option-parent.d-559ad5c5.js';
18
- export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-2fb57d04.js';
18
+ export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-f2cd74cf.js';
19
19
  import '@angular/cdk/bidi';
20
20
  import '@angular/cdk/a11y';
21
21
  import '@angular/cdk/platform';
@@ -44,6 +44,11 @@ declare class AnimationDurations {
44
44
  static ENTERING: string;
45
45
  static EXITING: string;
46
46
  }
47
+ /**
48
+ * Returns whether animations have been disabled by DI. Must be called in a DI context.
49
+ * @docs-private
50
+ */
51
+ declare function _animationsDisabled(): boolean;
47
52
 
48
53
  interface ErrorStateMatcher extends ErrorStateMatcher$1 {
49
54
  }
@@ -191,4 +196,4 @@ declare class _MatInternalFormField {
191
196
  static ɵcmp: i0.ɵɵComponentDeclaration<_MatInternalFormField, "div[mat-internal-form-field]", never, { "labelPosition": { "alias": "labelPosition"; "required": true; }; }, {}, never, ["*"], true, never>;
192
197
  }
193
198
 
194
- export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, provideNativeDateAdapter };
199
+ export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, _animationsDisabled, provideNativeDateAdapter };
@@ -19,7 +19,7 @@
19
19
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
20
20
  } @else {
21
21
  @include sass-utils.current-selector-or-root() {
22
- @include token-utils.create-token-values(
22
+ @include token-utils.create-token-values-mixed(
23
23
  tokens-mat-optgroup.$prefix,
24
24
  tokens-mat-optgroup.get-color-tokens($theme)
25
25
  );
@@ -32,7 +32,7 @@
32
32
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
33
33
  } @else {
34
34
  @include sass-utils.current-selector-or-root() {
35
- @include token-utils.create-token-values(
35
+ @include token-utils.create-token-values-mixed(
36
36
  tokens-mat-optgroup.$prefix,
37
37
  tokens-mat-optgroup.get-typography-tokens($theme)
38
38
  );
@@ -26,21 +26,21 @@
26
26
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
27
27
  } @else {
28
28
  @include sass-utils.current-selector-or-root() {
29
- @include token-utils.create-token-values(
29
+ @include token-utils.create-token-values-mixed(
30
30
  tokens-mat-option.$prefix,
31
31
  tokens-mat-option.get-color-tokens($theme)
32
32
  );
33
33
  }
34
34
 
35
35
  .mat-accent {
36
- @include token-utils.create-token-values(
36
+ @include token-utils.create-token-values-mixed(
37
37
  tokens-mat-option.$prefix,
38
38
  tokens-mat-option.get-color-tokens($theme, accent)
39
39
  );
40
40
  }
41
41
 
42
42
  .mat-warn {
43
- @include token-utils.create-token-values(
43
+ @include token-utils.create-token-values-mixed(
44
44
  tokens-mat-option.$prefix,
45
45
  tokens-mat-option.get-color-tokens($theme, warn)
46
46
  );
@@ -55,7 +55,7 @@
55
55
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
56
56
  } @else {
57
57
  @include sass-utils.current-selector-or-root() {
58
- @include token-utils.create-token-values(
58
+ @include token-utils.create-token-values-mixed(
59
59
  tokens-mat-option.$prefix,
60
60
  tokens-mat-option.get-typography-tokens($theme)
61
61
  );
@@ -18,7 +18,7 @@
18
18
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
19
19
  } @else {
20
20
  @include sass-utils.current-selector-or-root() {
21
- @include token-utils.create-token-values(
21
+ @include token-utils.create-token-values-mixed(
22
22
  tokens-mat-ripple.$prefix,
23
23
  tokens-mat-ripple.get-color-tokens($theme)
24
24
  );
@@ -31,7 +31,7 @@
31
31
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
32
32
  } @else {
33
33
  @include sass-utils.current-selector-or-root() {
34
- @include token-utils.create-token-values(
34
+ @include token-utils.create-token-values-mixed(
35
35
  tokens-mat-ripple.$prefix,
36
36
  tokens-mat-ripple.get-typography-tokens($theme)
37
37
  );
@@ -44,7 +44,7 @@
44
44
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
45
45
  } @else {
46
46
  @include sass-utils.current-selector-or-root() {
47
- @include token-utils.create-token-values(
47
+ @include token-utils.create-token-values-mixed(
48
48
  tokens-mat-ripple.$prefix,
49
49
  tokens-mat-ripple.get-density-tokens($theme)
50
50
  );
@@ -8,11 +8,11 @@
8
8
 
9
9
  @mixin _palette-styles($theme, $palette-name) {
10
10
  @include sass-utils.current-selector-or-root() {
11
- @include token-utils.create-token-values(
11
+ @include token-utils.create-token-values-mixed(
12
12
  tokens-mat-full-pseudo-checkbox.$prefix,
13
13
  tokens-mat-full-pseudo-checkbox.get-color-tokens($theme, $palette-name)
14
14
  );
15
- @include token-utils.create-token-values(
15
+ @include token-utils.create-token-values-mixed(
16
16
  tokens-mat-minimal-pseudo-checkbox.$prefix,
17
17
  tokens-mat-minimal-pseudo-checkbox.get-color-tokens($theme, $palette-name)
18
18
  );
@@ -33,11 +33,11 @@
33
33
  tokens-mat-minimal-pseudo-checkbox.$prefix,
34
34
  $options...
35
35
  );
36
- @include token-utils.create-token-values(
36
+ @include token-utils.create-token-values-mixed(
37
37
  tokens-mat-full-pseudo-checkbox.$prefix,
38
38
  $mat-full-pseudo-checkbox-tokens
39
39
  );
40
- @include token-utils.create-token-values(
40
+ @include token-utils.create-token-values-mixed(
41
41
  tokens-mat-minimal-pseudo-checkbox.$prefix,
42
42
  $mat-minimal-pseudo-checkbox-tokens
43
43
  );
@@ -23,7 +23,7 @@
23
23
  // from the bundle.
24
24
  $_overrides-only: true;
25
25
 
26
- @mixin color-variant-styles($theme, $color-variant) {
26
+ @mixin _color-variant-styles($theme, $color-variant) {
27
27
  $primary-options: (color-variant: $color-variant, emit-overrides-only: $_overrides-only);
28
28
 
29
29
  // Some components use the secondary color rather than primary color for `.mat-primary`.
@@ -33,10 +33,21 @@ $_overrides-only: true;
33
33
  emit-overrides-only: $_overrides-only
34
34
  );
35
35
 
36
- @include option-theme.color($theme, $secondary-options...);
37
- @include progress-spinner-theme.color($theme, $primary-options...);
38
- @include pseudo-checkbox-theme.color($theme, $primary-options...);
39
- @include stepper-theme.color($theme, $primary-options...);
36
+ & {
37
+ @include option-theme.color($theme, $secondary-options...);
38
+ }
39
+
40
+ & {
41
+ @include progress-spinner-theme.color($theme, $primary-options...);
42
+ }
43
+
44
+ & {
45
+ @include pseudo-checkbox-theme.color($theme, $primary-options...);
46
+ }
47
+
48
+ & {
49
+ @include stepper-theme.color($theme, $primary-options...);
50
+ }
40
51
 
41
52
  &.mat-icon {
42
53
  @include icon-theme.color($theme, $primary-options...);
@@ -105,7 +116,7 @@ $_overrides-only: true;
105
116
 
106
117
  @mixin color-variants-backwards-compatibility($theme) {
107
118
  .mat-primary {
108
- @include color-variant-styles($theme, primary);
119
+ @include _color-variant-styles($theme, primary);
109
120
  }
110
121
  .mat-badge {
111
122
  @include badge-theme.color($theme, $color-variant: primary,
@@ -113,7 +124,7 @@ $_overrides-only: true;
113
124
  }
114
125
 
115
126
  .mat-accent {
116
- @include color-variant-styles($theme, tertiary);
127
+ @include _color-variant-styles($theme, tertiary);
117
128
  }
118
129
  .mat-badge-accent {
119
130
  @include badge-theme.color($theme, $color-variant: tertiary,
@@ -121,7 +132,7 @@ $_overrides-only: true;
121
132
  }
122
133
 
123
134
  .mat-warn {
124
- @include color-variant-styles($theme, error);
135
+ @include _color-variant-styles($theme, error);
125
136
  }
126
137
  .mat-badge-warn {
127
138
  @include badge-theme.color($theme, $color-variant: error,
@@ -38,6 +38,9 @@ $_density-tokens: (
38
38
  (mdc, filled-button): (
39
39
  container-height: (40px, 36px, 32px, 28px),
40
40
  ),
41
+ (mat, tonal-button): (
42
+ container-height: (40px, 36px, 32px, 28px),
43
+ ),
41
44
  (mdc, outlined-button): (
42
45
  container-height: (40px, 36px, 32px, 28px),
43
46
  ),
@@ -173,8 +173,7 @@ $_system-fallbacks: null;
173
173
  @if(meta.type-of($color) == 'color') {
174
174
  $result: map.remove($result, $opacity-key);
175
175
  $result: map.set($result, $color-key, rgba($color, $opacity));
176
- }
177
- @else if($color != null) {
176
+ } @else if($color != null) {
178
177
  $result: map.remove($result, $opacity-key);
179
178
  $combined-color: #{color-mix(in srgb, #{$color} #{($opacity * 100) + '%'}, transparent)};
180
179
  $result: map.set($result, $color-key, $combined-color);