@angular/material 20.0.4 → 20.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/_index.scss +0 -1
  2. package/autocomplete/_m2-autocomplete.scss +5 -15
  3. package/badge/_badge-theme.scss +2 -2
  4. package/badge/_m2-badge.scss +13 -34
  5. package/bottom-sheet/_m2-bottom-sheet.scss +6 -15
  6. package/button/_button-theme.scss +2 -2
  7. package/button/_fab-theme.scss +2 -2
  8. package/button/_icon-button-theme.scss +2 -2
  9. package/button/_m2-button.scss +83 -127
  10. package/button/_m2-fab.scss +40 -68
  11. package/button/_m2-icon-button.scss +18 -30
  12. package/button/testing/index.d.ts +0 -1
  13. package/button-toggle/_button-toggle-theme.scss +2 -1
  14. package/button-toggle/_m2-button-toggle.scss +24 -49
  15. package/card/_m2-card.scss +9 -18
  16. package/checkbox/_checkbox-theme.scss +4 -3
  17. package/checkbox/_m2-checkbox.scss +33 -62
  18. package/chips/_chips-theme.scss +7 -4
  19. package/chips/_m2-chip.scss +22 -47
  20. package/chips/index.d.ts +56 -4
  21. package/chips/testing/index.d.ts +23 -2
  22. package/core/_m2-app.scss +6 -19
  23. package/core/m2/_theming.scss +89 -79
  24. package/core/option/_m2-optgroup.scss +3 -13
  25. package/core/option/_m2-option.scss +14 -21
  26. package/core/option/_option-theme.scss +3 -3
  27. package/core/ripple/_m2-ripple.scss +5 -22
  28. package/core/selection/pseudo-checkbox/_m2-pseudo-checkbox.scss +11 -22
  29. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +3 -3
  30. package/core/style/_private.scss +6 -9
  31. package/core/style/_sass-utils.scss +0 -29
  32. package/core/tokens/_m2-utils.scss +10 -42
  33. package/{date-range-input-harness.d-CaEyN8dT.d.ts → date-range-input-harness.d-CJ4r85Uf.d.ts} +7 -4
  34. package/datepicker/_datepicker-theme.scss +16 -50
  35. package/datepicker/_m2-datepicker.scss +45 -137
  36. package/datepicker/testing/index.d.ts +3 -3
  37. package/dialog/_m2-dialog.scss +6 -25
  38. package/divider/_m2-divider.scss +3 -14
  39. package/expansion/_m2-expansion.scss +15 -25
  40. package/fesm2022/animation-DfMFjxHu.mjs.map +1 -1
  41. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  42. package/fesm2022/autocomplete.mjs +1 -1
  43. package/fesm2022/autocomplete.mjs.map +1 -1
  44. package/fesm2022/badge/testing.mjs.map +1 -1
  45. package/fesm2022/badge.mjs.map +1 -1
  46. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  47. package/fesm2022/bottom-sheet.mjs.map +1 -1
  48. package/fesm2022/button/testing.mjs +4 -7
  49. package/fesm2022/button/testing.mjs.map +1 -1
  50. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  51. package/fesm2022/button-toggle.mjs.map +1 -1
  52. package/fesm2022/button.mjs +2 -2
  53. package/fesm2022/button.mjs.map +1 -1
  54. package/fesm2022/card/testing.mjs.map +1 -1
  55. package/fesm2022/card.mjs.map +1 -1
  56. package/fesm2022/checkbox/testing.mjs.map +1 -1
  57. package/fesm2022/checkbox.mjs.map +1 -1
  58. package/fesm2022/chips/testing.mjs +26 -1
  59. package/fesm2022/chips/testing.mjs.map +1 -1
  60. package/fesm2022/chips.mjs +132 -14
  61. package/fesm2022/chips.mjs.map +1 -1
  62. package/fesm2022/common-module-cKSwHniA.mjs.map +1 -1
  63. package/fesm2022/core/testing.mjs.map +1 -1
  64. package/fesm2022/core.mjs +1 -1
  65. package/fesm2022/core.mjs.map +1 -1
  66. package/fesm2022/date-formats-K6TQue-Y.mjs.map +1 -1
  67. package/fesm2022/{date-range-input-harness-Bp1T4oUe.mjs → date-range-input-harness-DEyfkeOs.mjs} +32 -4
  68. package/fesm2022/date-range-input-harness-DEyfkeOs.mjs.map +1 -0
  69. package/fesm2022/datepicker/testing.mjs +3 -3
  70. package/fesm2022/datepicker/testing.mjs.map +1 -1
  71. package/fesm2022/datepicker.mjs +1 -1
  72. package/fesm2022/datepicker.mjs.map +1 -1
  73. package/fesm2022/dialog/testing.mjs.map +1 -1
  74. package/fesm2022/dialog.mjs.map +1 -1
  75. package/fesm2022/divider/testing.mjs.map +1 -1
  76. package/fesm2022/divider.mjs.map +1 -1
  77. package/fesm2022/error-options-DCNQlTOA.mjs.map +1 -1
  78. package/fesm2022/error-state-Dtb1IHM-.mjs.map +1 -1
  79. package/fesm2022/expansion/testing.mjs.map +1 -1
  80. package/fesm2022/expansion.mjs.map +1 -1
  81. package/fesm2022/form-field/testing/control.mjs +26 -1
  82. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  83. package/fesm2022/form-field/testing.mjs +4 -4
  84. package/fesm2022/form-field/testing.mjs.map +1 -1
  85. package/fesm2022/{form-field-CFbrnFED.mjs → form-field-C9DZXojn.mjs} +3 -3
  86. package/fesm2022/form-field-C9DZXojn.mjs.map +1 -0
  87. package/fesm2022/form-field.mjs +2 -2
  88. package/fesm2022/form-field.mjs.map +1 -1
  89. package/fesm2022/grid-list/testing.mjs.map +1 -1
  90. package/fesm2022/grid-list.mjs.map +1 -1
  91. package/fesm2022/icon/testing.mjs.map +1 -1
  92. package/fesm2022/icon-button-DxiIc1ex.mjs.map +1 -1
  93. package/fesm2022/icon-registry-CwOTJ7YM.mjs.map +1 -1
  94. package/fesm2022/icon.mjs.map +1 -1
  95. package/fesm2022/index-BFRo2fUq.mjs.map +1 -1
  96. package/fesm2022/index-DwiL-HGk.mjs.map +1 -1
  97. package/fesm2022/input/testing.mjs +7 -4
  98. package/fesm2022/input/testing.mjs.map +1 -1
  99. package/fesm2022/{input-harness-oQzj5EsQ.mjs → input-harness-C5Msdc4-.mjs} +6 -3
  100. package/fesm2022/input-harness-C5Msdc4-.mjs.map +1 -0
  101. package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +1 -1
  102. package/fesm2022/input.mjs +27 -3
  103. package/fesm2022/input.mjs.map +1 -1
  104. package/fesm2022/internal-form-field-D5iFxU6d.mjs.map +1 -1
  105. package/fesm2022/line-Bz5f9Cyx.mjs.map +1 -1
  106. package/fesm2022/list/testing.mjs.map +1 -1
  107. package/fesm2022/list.mjs.map +1 -1
  108. package/fesm2022/material.mjs.map +1 -1
  109. package/fesm2022/menu/testing.mjs.map +1 -1
  110. package/fesm2022/menu.mjs +11 -2
  111. package/fesm2022/menu.mjs.map +1 -1
  112. package/fesm2022/{module-B0CLRw5e.mjs → module-BDiw_nWS.mjs} +3 -3
  113. package/fesm2022/module-BDiw_nWS.mjs.map +1 -0
  114. package/fesm2022/module-CWxMD37a.mjs.map +1 -1
  115. package/fesm2022/module-Ce6F7TNm.mjs.map +1 -1
  116. package/fesm2022/{module-B62K-792.mjs → module-DzZHEh7B.mjs} +2 -2
  117. package/fesm2022/module-DzZHEh7B.mjs.map +1 -0
  118. package/fesm2022/option-BzhYL_xC.mjs.map +1 -1
  119. package/fesm2022/option-harness-BFcc-M_4.mjs.map +1 -1
  120. package/fesm2022/paginator/testing.mjs +2 -3
  121. package/fesm2022/paginator/testing.mjs.map +1 -1
  122. package/fesm2022/paginator.mjs +3 -3
  123. package/fesm2022/paginator.mjs.map +1 -1
  124. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  125. package/fesm2022/progress-bar.mjs.map +1 -1
  126. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  127. package/fesm2022/progress-spinner.mjs.map +1 -1
  128. package/fesm2022/pseudo-checkbox-DDmgx3P4.mjs.map +1 -1
  129. package/fesm2022/pseudo-checkbox-module-4F8Up4PL.mjs.map +1 -1
  130. package/fesm2022/public-api-BoO5eSq-.mjs.map +1 -1
  131. package/fesm2022/radio/testing.mjs.map +1 -1
  132. package/fesm2022/radio.mjs.map +1 -1
  133. package/fesm2022/ripple-BYgV4oZC.mjs.map +1 -1
  134. package/fesm2022/ripple-loader-BnMiRtmT.mjs.map +1 -1
  135. package/fesm2022/select/testing.mjs +8 -5
  136. package/fesm2022/select/testing.mjs.map +1 -1
  137. package/fesm2022/select.mjs +3 -3
  138. package/fesm2022/select.mjs.map +1 -1
  139. package/fesm2022/sidenav/testing.mjs.map +1 -1
  140. package/fesm2022/sidenav.mjs.map +1 -1
  141. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  142. package/fesm2022/slide-toggle.mjs.map +1 -1
  143. package/fesm2022/slider/testing.mjs.map +1 -1
  144. package/fesm2022/slider.mjs.map +1 -1
  145. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  146. package/fesm2022/snack-bar.mjs.map +1 -1
  147. package/fesm2022/sort/testing.mjs.map +1 -1
  148. package/fesm2022/sort.mjs.map +1 -1
  149. package/fesm2022/stepper/testing.mjs.map +1 -1
  150. package/fesm2022/stepper.mjs +2 -2
  151. package/fesm2022/stepper.mjs.map +1 -1
  152. package/fesm2022/structural-styles-CObeNzjn.mjs.map +1 -1
  153. package/fesm2022/table/testing.mjs.map +1 -1
  154. package/fesm2022/table.mjs.map +1 -1
  155. package/fesm2022/tabs/testing.mjs.map +1 -1
  156. package/fesm2022/tabs.mjs.map +1 -1
  157. package/fesm2022/timepicker/testing.mjs.map +1 -1
  158. package/fesm2022/timepicker.mjs +1 -1
  159. package/fesm2022/timepicker.mjs.map +1 -1
  160. package/fesm2022/toolbar/testing.mjs.map +1 -1
  161. package/fesm2022/toolbar.mjs.map +1 -1
  162. package/fesm2022/tooltip/testing.mjs.map +1 -1
  163. package/fesm2022/tooltip.mjs.map +1 -1
  164. package/fesm2022/tree/testing.mjs.map +1 -1
  165. package/fesm2022/tree.mjs.map +1 -1
  166. package/form-field/_form-field-theme.scss +2 -2
  167. package/form-field/_m2-form-field.scss +59 -93
  168. package/form-field/testing/control/index.d.ts +8 -5
  169. package/form-field/testing/index.d.ts +5 -5
  170. package/form-field-control-harness.d-BLvFBy6v.d.ts +18 -0
  171. package/grid-list/_m2-grid-list.scss +0 -13
  172. package/icon/_m2-icon.scss +0 -13
  173. package/input/index.d.ts +11 -0
  174. package/input/testing/index.d.ts +5 -4
  175. package/{input-harness.d-8fkAAbu2.d.ts → input-harness.d-DVI6ttzl.d.ts} +4 -4
  176. package/list/_list-theme.scss +10 -5
  177. package/list/_m2-list.scss +19 -37
  178. package/menu/_m2-menu.scss +12 -23
  179. package/menu/index.d.ts +2 -0
  180. package/package.json +6 -6
  181. package/paginator/_m2-paginator.scss +7 -18
  182. package/paginator/testing/index.d.ts +2 -3
  183. package/prebuilt-themes/deeppurple-amber.css +1 -1
  184. package/prebuilt-themes/indigo-pink.css +1 -1
  185. package/prebuilt-themes/pink-bluegrey.css +1 -1
  186. package/prebuilt-themes/purple-green.css +1 -1
  187. package/progress-bar/_m2-progress-bar.scss +11 -20
  188. package/progress-bar/_progress-bar-theme.scss +2 -2
  189. package/progress-spinner/_m2-progress-spinner.scss +7 -15
  190. package/progress-spinner/_progress-spinner-theme.scss +2 -2
  191. package/radio/_m2-radio.scss +21 -32
  192. package/radio/_radio-theme.scss +6 -3
  193. package/schematics/ng-add/index.js +2 -2
  194. package/select/_m2-select.scss +14 -36
  195. package/select/_select-theme.scss +6 -3
  196. package/select/testing/index.d.ts +5 -6
  197. package/sidenav/_m2-sidenav.scss +10 -20
  198. package/slide-toggle/_m2-slide-toggle.scss +13 -20
  199. package/slide-toggle/_slide-toggle-theme.scss +3 -2
  200. package/slider/_m2-slider.scss +27 -39
  201. package/slider/_slider-theme.scss +2 -2
  202. package/snack-bar/_m2-snack-bar.scss +5 -22
  203. package/sort/_m2-sort.scss +3 -33
  204. package/stepper/_m2-stepper.scss +23 -34
  205. package/stepper/_m3-stepper.scss +2 -2
  206. package/stepper/_stepper-theme.scss +2 -2
  207. package/table/_m2-table.scss +6 -17
  208. package/tabs/_m2-tabs.scss +19 -36
  209. package/tabs/_tabs-theme.scss +4 -4
  210. package/timepicker/_m2-timepicker.scss +5 -15
  211. package/toolbar/_m2-toolbar.scss +4 -15
  212. package/tooltip/_m2-tooltip.scss +4 -14
  213. package/tree/_m2-tree.scss +4 -16
  214. package/core/tokens/_m2-tokens.scss +0 -131
  215. package/fesm2022/date-range-input-harness-Bp1T4oUe.mjs.map +0 -1
  216. package/fesm2022/form-field-CFbrnFED.mjs.map +0 -1
  217. package/fesm2022/input-harness-oQzj5EsQ.mjs.map +0 -1
  218. package/fesm2022/module-B0CLRw5e.mjs.map +0 -1
  219. package/fesm2022/module-B62K-792.mjs.map +0 -1
@@ -37,25 +37,30 @@
37
37
  .mat-accent {
38
38
  .mdc-list-item__start,
39
39
  .mdc-list-item__end {
40
- @include token-utils.create-token-values-mixed(m2-radio.get-color-tokens($theme, accent));
40
+ @include token-utils.create-token-values-mixed(
41
+ m2-radio.get-color-tokens($theme, secondary));
41
42
  }
42
43
  }
43
44
 
44
45
  .mat-warn {
45
46
  .mdc-list-item__start,
46
47
  .mdc-list-item__end {
47
- @include token-utils.create-token-values-mixed(m2-radio.get-color-tokens($theme, warn));
48
+ @include token-utils.create-token-values-mixed(
49
+ m2-radio.get-color-tokens($theme, error));
48
50
  }
49
51
  }
50
52
 
51
53
  .mat-mdc-list-option {
52
- @include token-utils.create-token-values-mixed(m2-checkbox.get-color-tokens($theme, primary));
54
+ @include token-utils.create-token-values-mixed(
55
+ m2-checkbox.get-color-tokens($theme, primary));
53
56
  }
54
57
  .mat-mdc-list-option.mat-accent {
55
- @include token-utils.create-token-values-mixed(m2-checkbox.get-color-tokens($theme, accent));
58
+ @include token-utils.create-token-values-mixed(
59
+ m2-checkbox.get-color-tokens($theme, secondary));
56
60
  }
57
61
  .mat-mdc-list-option.mat-warn {
58
- @include token-utils.create-token-values-mixed(m2-checkbox.get-color-tokens($theme, warn));
62
+ @include token-utils.create-token-values-mixed(
63
+ m2-checkbox.get-color-tokens($theme, error));
59
64
  }
60
65
 
61
66
  // There is no token for activated color on nav list.
@@ -1,7 +1,6 @@
1
- @use '../core/tokens/m2-utils';
2
- @use '../core/style/sass-utils';
3
1
  @use '../core/theming/inspection';
4
2
  @use 'sass:map';
3
+ @use '../core/tokens/m2-utils';
5
4
 
6
5
  // Tokens that can't be configured through Angular Material's current theming API,
7
6
  // but may be in a future version of the theming API.
@@ -27,32 +26,26 @@
27
26
 
28
27
  // Tokens that can be configured through Angular Material's color theming API.
29
28
  @function get-color-tokens($theme) {
30
- $is-dark: inspection.get-theme-type($theme) == dark;
31
- $foreground-base: inspection.get-theme-color($theme, foreground, base);
32
- $foreground-text: inspection.get-theme-color($theme, foreground, text);
33
- $foreground-secondary-text: inspection.get-theme-color($theme, foreground, secondary-text);
34
- $foreground-hint-text: inspection.get-theme-color($theme, foreground, hint-text);
35
- $text-icon-on-background: sass-utils.safe-color-change(
36
- $foreground-base, $alpha: if($is-dark, 0.5, 0.38));
29
+ $system: m2-utils.get-system($theme);
37
30
 
38
31
  @return (
39
- list-list-item-label-text-color: $foreground-text,
40
- list-list-item-supporting-text-color: $foreground-secondary-text,
41
- list-list-item-leading-icon-color: $text-icon-on-background,
42
- list-list-item-trailing-supporting-text-color: $foreground-hint-text,
43
- list-list-item-trailing-icon-color: $text-icon-on-background,
44
- list-list-item-selected-trailing-icon-color: $text-icon-on-background,
45
- list-list-item-disabled-label-text-color: $foreground-base,
46
- list-list-item-disabled-leading-icon-color: $foreground-base,
47
- list-list-item-disabled-trailing-icon-color: $foreground-base,
48
- list-list-item-hover-label-text-color: $foreground-text,
49
- list-list-item-hover-leading-icon-color: $text-icon-on-background,
50
- list-list-item-hover-state-layer-color: $foreground-base,
51
- list-list-item-hover-state-layer-opacity: if($is-dark, 0.08, 0.04),
52
- list-list-item-hover-trailing-icon-color: $text-icon-on-background,
53
- list-list-item-focus-label-text-color: $foreground-text,
54
- list-list-item-focus-state-layer-color: $foreground-base,
55
- list-list-item-focus-state-layer-opacity: if($is-dark, 0.24, 0.12),
32
+ list-list-item-label-text-color: map.get($system, on-surface),
33
+ list-list-item-supporting-text-color: map.get($system, on-surface-variant),
34
+ list-list-item-leading-icon-color: map.get($system, on-surface-variant),
35
+ list-list-item-trailing-supporting-text-color: map.get($system, on-surface-variant),
36
+ list-list-item-trailing-icon-color: map.get($system, on-surface-variant),
37
+ list-list-item-selected-trailing-icon-color: map.get($system, on-surface-variant),
38
+ list-list-item-disabled-label-text-color: map.get($system, on-surface),
39
+ list-list-item-disabled-leading-icon-color: map.get($system, on-surface),
40
+ list-list-item-disabled-trailing-icon-color: map.get($system, on-surface),
41
+ list-list-item-hover-label-text-color: map.get($system, on-surface),
42
+ list-list-item-hover-leading-icon-color: map.get($system, on-surface-variant),
43
+ list-list-item-hover-state-layer-color: map.get($system, on-surface),
44
+ list-list-item-hover-state-layer-opacity: map.get($system, hover-state-layer-opacity),
45
+ list-list-item-hover-trailing-icon-color: map.get($system, on-surface-variant),
46
+ list-list-item-focus-label-text-color: map.get($system, on-surface),
47
+ list-list-item-focus-state-layer-color: map.get($system, on-surface),
48
+ list-list-item-focus-state-layer-opacity: map.get($system, focus-state-layer-opacity),
56
49
  );
57
50
  }
58
51
 
@@ -121,14 +114,3 @@
121
114
  ), $scale),
122
115
  );
123
116
  }
124
-
125
- // Combines the tokens generated by the above functions into a single map with placeholder values.
126
- // This is used to create token slots.
127
- @function get-token-slots() {
128
- @return sass-utils.deep-merge-all(
129
- get-unthemable-tokens(),
130
- get-color-tokens(m2-utils.$placeholder-color-config),
131
- get-typography-tokens(m2-utils.$placeholder-typography-config),
132
- get-density-tokens(m2-utils.$placeholder-density-config)
133
- );
134
- }
@@ -1,7 +1,8 @@
1
- @use '../core/tokens/m2-utils';
2
1
  @use '../core/theming/inspection';
3
- @use '../core/style/sass-utils';
4
2
  @use '../core/style/elevation';
3
+ @use 'sass:map';
4
+ @use '../core/tokens/m2-utils';
5
+ @use '../core/tokens/m3-utils';
5
6
 
6
7
  // Tokens that can't be configured through Angular Material's current theming API,
7
8
  // but may be in a future version of the theming API.
@@ -25,18 +26,17 @@
25
26
 
26
27
  // Tokens that can be configured through Angular Material's color theming API.
27
28
  @function get-color-tokens($theme) {
28
- $is-dark: inspection.get-theme-type($theme) == dark;
29
- $active-state-layer-color: inspection.get-theme-color($theme, foreground, base,
30
- if($is-dark, 0.08, 0.04));
31
- $text-color: inspection.get-theme-color($theme, foreground, text);
29
+ $system: m2-utils.get-system($theme);
32
30
 
33
31
  @return (
34
- menu-item-label-text-color: $text-color,
35
- menu-item-icon-color: $text-color,
36
- menu-item-hover-state-layer-color: $active-state-layer-color,
37
- menu-item-focus-state-layer-color: $active-state-layer-color,
38
- menu-container-color: inspection.get-theme-color($theme, background, card),
39
- menu-divider-color: inspection.get-theme-color($theme, foreground, divider),
32
+ menu-item-label-text-color: map.get($system, on-surface),
33
+ menu-item-icon-color: map.get($system, on-surface),
34
+ menu-item-hover-state-layer-color: m3-utils.color-with-opacity(
35
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
36
+ menu-item-focus-state-layer-color: m3-utils.color-with-opacity(
37
+ map.get($system, on-surface), map.get($system, focus-state-layer-opacity)),
38
+ menu-container-color: map.get($system, surface),
39
+ menu-divider-color: map.get($system, outline),
40
40
  );
41
41
  }
42
42
 
@@ -55,14 +55,3 @@
55
55
  @function get-density-tokens($theme) {
56
56
  @return ();
57
57
  }
58
-
59
- // Combines the tokens generated by the above functions into a single map with placeholder values.
60
- // This is used to create token slots.
61
- @function get-token-slots() {
62
- @return sass-utils.deep-merge-all(
63
- get-unthemable-tokens(),
64
- get-color-tokens(m2-utils.$placeholder-color-config),
65
- get-typography-tokens(m2-utils.$placeholder-typography-config),
66
- get-density-tokens(m2-utils.$placeholder-density-config)
67
- );
68
- }
package/menu/index.d.ts CHANGED
@@ -404,6 +404,8 @@ declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
404
404
  toggleMenu(): void;
405
405
  /** Opens the menu. */
406
406
  openMenu(): void;
407
+ /** Internal method to open menu providing option to auto focus on first item. */
408
+ private _openMenu;
407
409
  /** Closes the menu. */
408
410
  closeMenu(): void;
409
411
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/material",
3
- "version": "20.0.4",
3
+ "version": "20.1.0-next.1",
4
4
  "description": "Angular Material",
5
5
  "repository": {
6
6
  "type": "git",
@@ -353,11 +353,11 @@
353
353
  }
354
354
  },
355
355
  "peerDependencies": {
356
- "@angular/cdk": "20.0.4",
357
- "@angular/core": "^20.0.0 || ^21.0.0",
358
- "@angular/common": "^20.0.0 || ^21.0.0",
359
- "@angular/forms": "^20.0.0 || ^21.0.0",
360
- "@angular/platform-browser": "^20.0.0 || ^21.0.0",
356
+ "@angular/cdk": "20.1.0-next.1",
357
+ "@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
358
+ "@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
359
+ "@angular/forms": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
360
+ "@angular/platform-browser": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
361
361
  "rxjs": "^6.5.3 || ^7.4.0"
362
362
  },
363
363
  "dependencies": {
@@ -1,9 +1,9 @@
1
1
  @use 'sass:math';
2
2
  @use 'sass:map';
3
- @use '../core/tokens/m2-utils';
4
3
  @use '../core/theming/theming';
5
4
  @use '../core/theming/inspection';
6
- @use '../core/style/sass-utils';
5
+ @use '../core/tokens/m2-utils';
6
+ @use '../core/tokens/m3-utils';
7
7
 
8
8
  // Tokens that can't be configured through Angular Material's current theming API,
9
9
  // but may be in a future version of the theming API.
@@ -13,13 +13,13 @@
13
13
 
14
14
  // Tokens that can be configured through Angular Material's color theming API.
15
15
  @function get-color-tokens($theme) {
16
- $foreground-base: inspection.get-theme-color($theme, foreground, base);
16
+ $system: m2-utils.get-system($theme);
17
17
 
18
18
  @return (
19
- paginator-container-text-color: sass-utils.safe-color-change($foreground-base, $alpha: 0.87),
20
- paginator-container-background-color: inspection.get-theme-color($theme, background, card),
21
- paginator-enabled-icon-color: sass-utils.safe-color-change($foreground-base, $alpha: 0.54),
22
- paginator-disabled-icon-color: sass-utils.safe-color-change($foreground-base, $alpha: 0.12),
19
+ paginator-container-text-color: map.get($system, on-surface),
20
+ paginator-container-background-color: map.get($system, surface),
21
+ paginator-enabled-icon-color: map.get($system, on-surface-variant),
22
+ paginator-disabled-icon-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
23
23
  );
24
24
  }
25
25
 
@@ -74,14 +74,3 @@
74
74
  paginator-touch-target-display: if($density-scale < -2, none, block),
75
75
  );
76
76
  }
77
-
78
- // Combines the tokens generated by the above functions into a single map with placeholder values.
79
- // This is used to create token slots.
80
- @function get-token-slots() {
81
- @return sass-utils.deep-merge-all(
82
- get-unthemable-tokens(),
83
- get-color-tokens(m2-utils.$placeholder-color-config),
84
- get-typography-tokens(m2-utils.$placeholder-typography-config),
85
- get-density-tokens(m2-utils.$placeholder-density-config)
86
- );
87
- }
@@ -1,9 +1,8 @@
1
1
  import * as _angular_cdk_testing from '@angular/cdk/testing';
2
2
  import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
3
3
  import { MatSelectHarness } from '../../select/testing/index.js';
4
- import '../../option-harness.d-IqsW95GR.js';
5
- import '../../core/testing/index.js';
6
- import '../../form-field/testing/control/index.js';
4
+ import '@angular/material/core/testing';
5
+ import '@angular/material/form-field/testing/control';
7
6
 
8
7
  /** A set of criteria that can be used to filter a list of `MatPaginatorHarness` instances. */
9
8
  interface PaginatorHarnessFilters extends BaseHarnessFilters {