@angular/material 19.0.0-next.9 → 19.0.0-rc.0

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/autocomplete/_autocomplete-theme.scss +8 -4
  2. package/autocomplete/index.d.ts +5 -6
  3. package/badge/_badge-theme.scss +10 -6
  4. package/bottom-sheet/_bottom-sheet-theme.scss +8 -4
  5. package/button/_button-theme.scss +10 -6
  6. package/button/_fab-theme.scss +10 -6
  7. package/button/_icon-button-theme.scss +8 -4
  8. package/button/index.d.ts +1 -1
  9. package/button-toggle/_button-toggle-theme.scss +11 -6
  10. package/card/_card-theme.scss +8 -4
  11. package/card/index.d.ts +2 -3
  12. package/checkbox/_checkbox-theme.scss +10 -6
  13. package/chips/_chips-theme.scss +10 -6
  14. package/core/_core-theme.scss +4 -7
  15. package/core/_core.scss +2 -5
  16. package/core/option/_optgroup-theme.scss +8 -4
  17. package/core/option/_option-theme.scss +10 -6
  18. package/core/ripple/_ripple-theme.scss +8 -4
  19. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +10 -6
  20. package/core/theming/_config-validation.scss +4 -4
  21. package/core/theming/_definition.scss +12 -2
  22. package/core/tokens/_m3-system.scss +55 -39
  23. package/datepicker/_datepicker-theme.scss +10 -6
  24. package/datepicker/index.d.ts +32 -33
  25. package/dialog/_dialog-theme.scss +8 -4
  26. package/divider/_divider-theme.scss +8 -4
  27. package/expansion/_expansion-theme.scss +8 -4
  28. package/fesm2022/autocomplete/testing.mjs +2 -5
  29. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  30. package/fesm2022/autocomplete.mjs +220 -141
  31. package/fesm2022/autocomplete.mjs.map +1 -1
  32. package/fesm2022/badge/testing.mjs +2 -5
  33. package/fesm2022/badge/testing.mjs.map +1 -1
  34. package/fesm2022/badge.mjs +41 -30
  35. package/fesm2022/badge.mjs.map +1 -1
  36. package/fesm2022/bottom-sheet/testing.mjs +1 -1
  37. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  38. package/fesm2022/bottom-sheet.mjs +76 -54
  39. package/fesm2022/bottom-sheet.mjs.map +1 -1
  40. package/fesm2022/button/testing.mjs +2 -2
  41. package/fesm2022/button/testing.mjs.map +1 -1
  42. package/fesm2022/button-toggle/testing.mjs +4 -7
  43. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  44. package/fesm2022/button-toggle.mjs +78 -40
  45. package/fesm2022/button-toggle.mjs.map +1 -1
  46. package/fesm2022/button.mjs +87 -60
  47. package/fesm2022/button.mjs.map +1 -1
  48. package/fesm2022/card/testing.mjs +3 -6
  49. package/fesm2022/card/testing.mjs.map +1 -1
  50. package/fesm2022/card.mjs +38 -40
  51. package/fesm2022/card.mjs.map +1 -1
  52. package/fesm2022/checkbox/testing.mjs +4 -7
  53. package/fesm2022/checkbox/testing.mjs.map +1 -1
  54. package/fesm2022/checkbox.mjs +99 -56
  55. package/fesm2022/checkbox.mjs.map +1 -1
  56. package/fesm2022/chips/testing.mjs +11 -14
  57. package/fesm2022/chips/testing.mjs.map +1 -1
  58. package/fesm2022/chips.mjs +303 -251
  59. package/fesm2022/chips.mjs.map +1 -1
  60. package/fesm2022/core/testing.mjs +5 -11
  61. package/fesm2022/core/testing.mjs.map +1 -1
  62. package/fesm2022/core.mjs +217 -160
  63. package/fesm2022/core.mjs.map +1 -1
  64. package/fesm2022/datepicker/testing.mjs +13 -22
  65. package/fesm2022/datepicker/testing.mjs.map +1 -1
  66. package/fesm2022/datepicker.mjs +788 -533
  67. package/fesm2022/datepicker.mjs.map +1 -1
  68. package/fesm2022/dialog/testing.mjs +15 -9
  69. package/fesm2022/dialog/testing.mjs.map +1 -1
  70. package/fesm2022/dialog.mjs +210 -140
  71. package/fesm2022/dialog.mjs.map +1 -1
  72. package/fesm2022/divider/testing.mjs +1 -1
  73. package/fesm2022/divider/testing.mjs.map +1 -1
  74. package/fesm2022/divider.mjs +7 -9
  75. package/fesm2022/divider.mjs.map +1 -1
  76. package/fesm2022/expansion/testing.mjs +7 -10
  77. package/fesm2022/expansion/testing.mjs.map +1 -1
  78. package/fesm2022/expansion.mjs +76 -65
  79. package/fesm2022/expansion.mjs.map +1 -1
  80. package/fesm2022/form-field/testing.mjs +12 -15
  81. package/fesm2022/form-field/testing.mjs.map +1 -1
  82. package/fesm2022/form-field.mjs +165 -111
  83. package/fesm2022/form-field.mjs.map +1 -1
  84. package/fesm2022/grid-list/testing.mjs +11 -17
  85. package/fesm2022/grid-list/testing.mjs.map +1 -1
  86. package/fesm2022/grid-list.mjs +65 -43
  87. package/fesm2022/grid-list.mjs.map +1 -1
  88. package/fesm2022/icon/testing.mjs +6 -6
  89. package/fesm2022/icon/testing.mjs.map +1 -1
  90. package/fesm2022/icon.mjs +62 -42
  91. package/fesm2022/icon.mjs.map +1 -1
  92. package/fesm2022/input/testing.mjs +3 -3
  93. package/fesm2022/input/testing.mjs.map +1 -1
  94. package/fesm2022/input.mjs +101 -69
  95. package/fesm2022/input.mjs.map +1 -1
  96. package/fesm2022/list/testing.mjs +21 -38
  97. package/fesm2022/list/testing.mjs.map +1 -1
  98. package/fesm2022/list.mjs +175 -164
  99. package/fesm2022/list.mjs.map +1 -1
  100. package/fesm2022/menu/testing.mjs +3 -6
  101. package/fesm2022/menu/testing.mjs.map +1 -1
  102. package/fesm2022/menu.mjs +171 -118
  103. package/fesm2022/menu.mjs.map +1 -1
  104. package/fesm2022/paginator/testing.mjs +10 -13
  105. package/fesm2022/paginator/testing.mjs.map +1 -1
  106. package/fesm2022/paginator.mjs +79 -54
  107. package/fesm2022/paginator.mjs.map +1 -1
  108. package/fesm2022/progress-bar/testing.mjs +1 -1
  109. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  110. package/fesm2022/progress-bar.mjs +33 -32
  111. package/fesm2022/progress-bar.mjs.map +1 -1
  112. package/fesm2022/progress-spinner/testing.mjs +1 -1
  113. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  114. package/fesm2022/progress-spinner.mjs +25 -11
  115. package/fesm2022/progress-spinner.mjs.map +1 -1
  116. package/fesm2022/radio/testing.mjs +6 -12
  117. package/fesm2022/radio/testing.mjs.map +1 -1
  118. package/fesm2022/radio.mjs +119 -82
  119. package/fesm2022/radio.mjs.map +1 -1
  120. package/fesm2022/select/testing.mjs +6 -9
  121. package/fesm2022/select/testing.mjs.map +1 -1
  122. package/fesm2022/select.mjs +215 -177
  123. package/fesm2022/select.mjs.map +1 -1
  124. package/fesm2022/sidenav/testing.mjs +6 -6
  125. package/fesm2022/sidenav/testing.mjs.map +1 -1
  126. package/fesm2022/sidenav.mjs +125 -112
  127. package/fesm2022/sidenav.mjs.map +1 -1
  128. package/fesm2022/slide-toggle/testing.mjs +3 -6
  129. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  130. package/fesm2022/slide-toggle.mjs +72 -41
  131. package/fesm2022/slide-toggle.mjs.map +1 -1
  132. package/fesm2022/slider/testing.mjs +2 -2
  133. package/fesm2022/slider/testing.mjs.map +1 -1
  134. package/fesm2022/slider.mjs +255 -185
  135. package/fesm2022/slider.mjs.map +1 -1
  136. package/fesm2022/snack-bar/testing.mjs +4 -7
  137. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  138. package/fesm2022/snack-bar.mjs +133 -98
  139. package/fesm2022/snack-bar.mjs.map +1 -1
  140. package/fesm2022/sort/testing.mjs +3 -6
  141. package/fesm2022/sort/testing.mjs.map +1 -1
  142. package/fesm2022/sort.mjs +89 -68
  143. package/fesm2022/sort.mjs.map +1 -1
  144. package/fesm2022/stepper/testing.mjs +4 -4
  145. package/fesm2022/stepper/testing.mjs.map +1 -1
  146. package/fesm2022/stepper.mjs +133 -95
  147. package/fesm2022/stepper.mjs.map +1 -1
  148. package/fesm2022/table/testing.mjs +13 -25
  149. package/fesm2022/table/testing.mjs.map +1 -1
  150. package/fesm2022/table.mjs +164 -159
  151. package/fesm2022/table.mjs.map +1 -1
  152. package/fesm2022/tabs/testing.mjs +5 -5
  153. package/fesm2022/tabs/testing.mjs.map +1 -1
  154. package/fesm2022/tabs.mjs +308 -225
  155. package/fesm2022/tabs.mjs.map +1 -1
  156. package/fesm2022/timepicker/testing.mjs +7 -16
  157. package/fesm2022/timepicker/testing.mjs.map +1 -1
  158. package/fesm2022/timepicker.mjs +152 -146
  159. package/fesm2022/timepicker.mjs.map +1 -1
  160. package/fesm2022/toolbar/testing.mjs +2 -5
  161. package/fesm2022/toolbar/testing.mjs.map +1 -1
  162. package/fesm2022/toolbar.mjs +22 -12
  163. package/fesm2022/toolbar.mjs.map +1 -1
  164. package/fesm2022/tooltip/testing.mjs +6 -9
  165. package/fesm2022/tooltip/testing.mjs.map +1 -1
  166. package/fesm2022/tooltip.mjs +93 -69
  167. package/fesm2022/tooltip.mjs.map +1 -1
  168. package/fesm2022/tree/testing.mjs +3 -6
  169. package/fesm2022/tree/testing.mjs.map +1 -1
  170. package/fesm2022/tree.mjs +48 -46
  171. package/fesm2022/tree.mjs.map +1 -1
  172. package/form-field/_form-field-theme.scss +9 -5
  173. package/form-field/index.d.ts +8 -9
  174. package/grid-list/_grid-list-theme.scss +8 -4
  175. package/icon/_icon-theme.scss +10 -6
  176. package/input/_input-theme.scss +8 -4
  177. package/list/_list-theme.scss +8 -4
  178. package/list/index.d.ts +20 -21
  179. package/menu/_menu-theme.scss +8 -4
  180. package/menu/index.d.ts +8 -9
  181. package/package.json +2 -2
  182. package/paginator/_paginator-theme.scss +8 -4
  183. package/prebuilt-themes/azure-blue.css +1 -1
  184. package/prebuilt-themes/cyan-orange.css +1 -1
  185. package/prebuilt-themes/deeppurple-amber.css +1 -1
  186. package/prebuilt-themes/indigo-pink.css +1 -1
  187. package/prebuilt-themes/magenta-violet.css +1 -1
  188. package/prebuilt-themes/pink-bluegrey.css +1 -1
  189. package/prebuilt-themes/purple-green.css +1 -1
  190. package/prebuilt-themes/rose-red.css +1 -1
  191. package/progress-bar/_progress-bar-theme.scss +11 -9
  192. package/progress-spinner/_progress-spinner-theme.scss +11 -9
  193. package/progress-spinner/index.d.ts +3 -4
  194. package/radio/_radio-theme.scss +10 -6
  195. package/radio/index.d.ts +2 -3
  196. package/schematics/ng-add/index.js +1 -1
  197. package/schematics/ng-add/index.mjs +1 -1
  198. package/schematics/ng-add/theming/create-custom-theme.js +1 -6
  199. package/schematics/ng-add/theming/create-custom-theme.mjs +1 -6
  200. package/schematics/ng-generate/theme-color/index_bundled.js +35 -9
  201. package/schematics/ng-generate/theme-color/index_bundled.js.map +2 -2
  202. package/schematics/ng-update/index_bundled.js +6 -1
  203. package/schematics/ng-update/index_bundled.js.map +1 -1
  204. package/select/_select-theme.scss +10 -6
  205. package/select/index.d.ts +6 -7
  206. package/sidenav/_sidenav-theme.scss +8 -4
  207. package/slide-toggle/_slide-toggle-theme.scss +10 -6
  208. package/slider/_slider-theme.scss +10 -6
  209. package/snack-bar/_snack-bar-theme.scss +10 -6
  210. package/sort/_sort-theme.scss +8 -4
  211. package/stepper/_stepper-theme.scss +10 -6
  212. package/stepper/index.d.ts +14 -15
  213. package/table/_table-theme.scss +8 -4
  214. package/tabs/_tabs-theme.scss +10 -6
  215. package/timepicker/_timepicker-theme.scss +10 -6
  216. package/toolbar/_toolbar-theme.scss +10 -6
  217. package/tooltip/_tooltip-theme.scss +8 -4
  218. package/tooltip/index.d.ts +5 -6
  219. package/tree/_tree-theme.scss +8 -4
@@ -83,18 +83,22 @@
83
83
  }
84
84
  }
85
85
 
86
- /// Outputs the CSS variable values for the given tokens.
87
- /// @param {Map} $tokens The token values to emit.
88
- @mixin overrides($tokens: ()) {
89
- @include token-utils.batch-create-token-values(
90
- $tokens,
86
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
87
+ @function _define-overrides() {
88
+ @return (
91
89
  (
92
90
  namespace: tokens-mat-select.$prefix,
93
91
  tokens: tokens-mat-select.get-token-slots(),
94
- )
92
+ ),
95
93
  );
96
94
  }
97
95
 
96
+ /// Outputs the CSS variable values for the given tokens.
97
+ /// @param {Map} $tokens The token values to emit.
98
+ @mixin overrides($tokens: ()) {
99
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
100
+ }
101
+
98
102
  /// Outputs all (base, color, typography, and density) theme styles for the mat-icon.
99
103
  /// @param {Map} $theme The theme to generate styles for.
100
104
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
package/select/index.d.ts CHANGED
@@ -11,11 +11,10 @@ import { ElementRef } from '@angular/core';
11
11
  import { ErrorStateMatcher } from '@angular/material/core';
12
12
  import { EventEmitter } from '@angular/core';
13
13
  import * as i0 from '@angular/core';
14
- import * as i1 from '@angular/common';
15
- import * as i2 from '@angular/cdk/overlay';
16
- import * as i3 from '@angular/material/core';
17
- import * as i5 from '@angular/cdk/scrolling';
18
- import * as i6 from '@angular/material/form-field';
14
+ import * as i1 from '@angular/cdk/overlay';
15
+ import * as i2 from '@angular/material/core';
16
+ import * as i4 from '@angular/cdk/scrolling';
17
+ import * as i5 from '@angular/material/form-field';
19
18
  import { InjectionToken } from '@angular/core';
20
19
  import { MatError } from '@angular/material/form-field';
21
20
  import { MatFormField } from '@angular/material/form-field';
@@ -40,7 +39,7 @@ import { SimpleChanges } from '@angular/core';
40
39
  import { Subject } from 'rxjs';
41
40
  import { ViewportRuler } from '@angular/cdk/scrolling';
42
41
 
43
- declare namespace i4 {
42
+ declare namespace i3 {
44
43
  export {
45
44
  MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY,
46
45
  MAT_SELECT_SCROLL_STRATEGY,
@@ -486,7 +485,7 @@ export declare interface MatSelectConfig {
486
485
 
487
486
  export declare class MatSelectModule {
488
487
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
489
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.MatOptionModule, typeof i3.MatCommonModule, typeof i4.MatSelect, typeof i4.MatSelectTrigger], [typeof i5.CdkScrollableModule, typeof i6.MatFormFieldModule, typeof i4.MatSelect, typeof i4.MatSelectTrigger, typeof i3.MatOptionModule, typeof i3.MatCommonModule]>;
488
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, never, [typeof i1.OverlayModule, typeof i2.MatOptionModule, typeof i2.MatCommonModule, typeof i3.MatSelect, typeof i3.MatSelectTrigger], [typeof i4.CdkScrollableModule, typeof i5.MatFormFieldModule, typeof i3.MatSelect, typeof i3.MatSelectTrigger, typeof i2.MatOptionModule, typeof i2.MatCommonModule]>;
490
489
  static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
491
490
  }
492
491
 
@@ -46,16 +46,20 @@
46
46
  }
47
47
  }
48
48
 
49
- @mixin overrides($tokens: ()) {
50
- @include token-utils.batch-create-token-values(
51
- $tokens,
49
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
50
+ @function _define-overrides() {
51
+ @return (
52
52
  (
53
53
  namespace: tokens-mat-sidenav.$prefix,
54
54
  tokens: tokens-mat-sidenav.get-token-slots(),
55
- )
55
+ ),
56
56
  );
57
57
  }
58
58
 
59
+ @mixin overrides($tokens: ()) {
60
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
61
+ }
62
+
59
63
  @mixin theme($theme) {
60
64
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-sidenav') {
61
65
  @if inspection.get-theme-version($theme) == 1 {
@@ -126,11 +126,9 @@
126
126
  }
127
127
  }
128
128
 
129
- /// Outputs the CSS variable values for the given tokens.
130
- /// @param {Map} $tokens The token values to emit.
131
- @mixin overrides($tokens: ()) {
132
- @include token-utils.batch-create-token-values(
133
- $tokens,
129
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
130
+ @function _define-overrides() {
131
+ @return (
134
132
  (
135
133
  namespace: tokens-mat-switch.$prefix,
136
134
  tokens: tokens-mat-switch.get-token-slots(),
@@ -138,10 +136,16 @@
138
136
  (
139
137
  namespace: tokens-mdc-switch.$prefix,
140
138
  tokens: tokens-mdc-switch.get-token-slots(),
141
- )
139
+ ),
142
140
  );
143
141
  }
144
142
 
143
+ /// Outputs the CSS variable values for the given tokens.
144
+ /// @param {Map} $tokens The token values to emit.
145
+ @mixin overrides($tokens: ()) {
146
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
147
+ }
148
+
145
149
  /// Outputs all (base, color, typography, and density) theme styles for the mat-icon.
146
150
  /// @param {Map} $theme The theme to generate styles for.
147
151
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -101,11 +101,9 @@
101
101
  }
102
102
  }
103
103
 
104
- /// Outputs the CSS variable values for the given tokens.
105
- /// @param {Map} $tokens The token values to emit.
106
- @mixin overrides($tokens: ()) {
107
- @include token-utils.batch-create-token-values(
108
- $tokens,
104
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
105
+ @function _define-overrides() {
106
+ @return (
109
107
  (
110
108
  namespace: tokens-mat-slider.$prefix,
111
109
  tokens: tokens-mat-slider.get-token-slots(),
@@ -113,10 +111,16 @@
113
111
  (
114
112
  namespace: tokens-mdc-slider.$prefix,
115
113
  tokens: tokens-mdc-slider.get-token-slots(),
116
- )
114
+ ),
117
115
  );
118
116
  }
119
117
 
118
+ /// Outputs the CSS variable values for the given tokens.
119
+ /// @param {Map} $tokens The token values to emit.
120
+ @mixin overrides($tokens: ()) {
121
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
122
+ }
123
+
120
124
  /// Outputs all (base, color, typography, and density) theme styles for the mat-option.
121
125
  /// @param {Map} $theme The theme to generate styles for.
122
126
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -55,11 +55,9 @@
55
55
  @mixin density($theme) {
56
56
  }
57
57
 
58
- /// Outputs the CSS variable values for the given tokens.
59
- /// @param {Map} $tokens The token values to emit.
60
- @mixin overrides($tokens: ()) {
61
- @include token-utils.batch-create-token-values(
62
- $tokens,
58
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
59
+ @function _define-overrides() {
60
+ @return (
63
61
  (
64
62
  namespace: tokens-mdc-snack-bar.$prefix,
65
63
  tokens: tokens-mdc-snack-bar.get-token-slots(),
@@ -67,10 +65,16 @@
67
65
  (
68
66
  namespace: tokens-mat-snack-bar.$prefix,
69
67
  tokens: tokens-mat-snack-bar.get-token-slots(),
70
- )
68
+ ),
71
69
  );
72
70
  }
73
71
 
72
+ /// Outputs the CSS variable values for the given tokens.
73
+ /// @param {Map} $tokens The token values to emit.
74
+ @mixin overrides($tokens: ()) {
75
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
76
+ }
77
+
74
78
  @mixin theme($theme) {
75
79
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-snack-bar') {
76
80
  @if inspection.get-theme-version($theme) == 1 {
@@ -53,16 +53,20 @@
53
53
  }
54
54
  }
55
55
 
56
- @mixin overrides($tokens: ()) {
57
- @include token-utils.batch-create-token-values(
58
- $tokens,
56
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
57
+ @function _define-overrides() {
58
+ @return (
59
59
  (
60
60
  namespace: tokens-mat-sort.$prefix,
61
61
  tokens: tokens-mat-sort.get-token-slots(),
62
- )
62
+ ),
63
63
  );
64
64
  }
65
65
 
66
+ @mixin overrides($tokens: ()) {
67
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
68
+ }
69
+
66
70
  @mixin theme($theme) {
67
71
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-sort') {
68
72
  @if inspection.get-theme-version($theme) == 1 {
@@ -78,18 +78,22 @@
78
78
  }
79
79
  }
80
80
 
81
- /// Outputs the CSS variable values for the given tokens.
82
- /// @param {Map} $tokens The token values to emit.
83
- @mixin overrides($tokens: ()) {
84
- @include token-utils.batch-create-token-values(
85
- $tokens,
81
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
82
+ @function _define-overrides() {
83
+ @return (
86
84
  (
87
85
  namespace: tokens-mat-stepper.$prefix,
88
86
  tokens: tokens-mat-stepper.get-token-slots(),
89
- )
87
+ ),
90
88
  );
91
89
  }
92
90
 
91
+ /// Outputs the CSS variable values for the given tokens.
92
+ /// @param {Map} $tokens The token values to emit.
93
+ @mixin overrides($tokens: ()) {
94
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
95
+ }
96
+
93
97
  /// Outputs all (base, color, typography, and density) theme styles for mat-stepper.
94
98
  /// @param {Map} $theme The theme to generate color styles for.
95
99
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -15,10 +15,9 @@ import { FocusOrigin } from '@angular/cdk/a11y';
15
15
  import { FormGroupDirective } from '@angular/forms';
16
16
  import * as i0 from '@angular/core';
17
17
  import * as i1 from '@angular/material/core';
18
- import * as i2 from '@angular/common';
19
- import * as i3 from '@angular/cdk/portal';
20
- import * as i4 from '@angular/cdk/stepper';
21
- import * as i5 from '@angular/material/icon';
18
+ import * as i2 from '@angular/cdk/portal';
19
+ import * as i3 from '@angular/cdk/stepper';
20
+ import * as i4 from '@angular/material/icon';
22
21
  import { NgForm } from '@angular/forms';
23
22
  import { OnDestroy } from '@angular/core';
24
23
  import { Optional } from '@angular/core';
@@ -32,40 +31,40 @@ import { ThemePalette } from '@angular/material/core';
32
31
 
33
32
  declare namespace i10 {
34
33
  export {
35
- MatStepperIconContext,
36
- MatStepperIcon
34
+ MatStepContent
37
35
  }
38
36
  }
39
37
 
40
- declare namespace i11 {
38
+ declare namespace i5 {
41
39
  export {
42
- MatStepContent
40
+ MatStep,
41
+ MatStepper
43
42
  }
44
43
  }
45
44
 
46
45
  declare namespace i6 {
47
46
  export {
48
- MatStep,
49
- MatStepper
47
+ MatStepLabel
50
48
  }
51
49
  }
52
50
 
53
51
  declare namespace i7 {
54
52
  export {
55
- MatStepLabel
53
+ MatStepperNext,
54
+ MatStepperPrevious
56
55
  }
57
56
  }
58
57
 
59
58
  declare namespace i8 {
60
59
  export {
61
- MatStepperNext,
62
- MatStepperPrevious
60
+ MatStepHeader
63
61
  }
64
62
  }
65
63
 
66
64
  declare namespace i9 {
67
65
  export {
68
- MatStepHeader
66
+ MatStepperIconContext,
67
+ MatStepperIcon
69
68
  }
70
69
  }
71
70
 
@@ -269,7 +268,7 @@ export declare class MatStepperIntl {
269
268
 
270
269
  export declare class MatStepperModule {
271
270
  static ɵfac: i0.ɵɵFactoryDeclaration<MatStepperModule, never>;
272
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatStepperModule, never, [typeof i1.MatCommonModule, typeof i2.CommonModule, typeof i3.PortalModule, typeof i4.CdkStepperModule, typeof i5.MatIconModule, typeof i1.MatRippleModule, typeof i6.MatStep, typeof i7.MatStepLabel, typeof i6.MatStepper, typeof i8.MatStepperNext, typeof i8.MatStepperPrevious, typeof i9.MatStepHeader, typeof i10.MatStepperIcon, typeof i11.MatStepContent], [typeof i1.MatCommonModule, typeof i6.MatStep, typeof i7.MatStepLabel, typeof i6.MatStepper, typeof i8.MatStepperNext, typeof i8.MatStepperPrevious, typeof i9.MatStepHeader, typeof i10.MatStepperIcon, typeof i11.MatStepContent]>;
271
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatStepperModule, never, [typeof i1.MatCommonModule, typeof i2.PortalModule, typeof i3.CdkStepperModule, typeof i4.MatIconModule, typeof i1.MatRippleModule, typeof i5.MatStep, typeof i6.MatStepLabel, typeof i5.MatStepper, typeof i7.MatStepperNext, typeof i7.MatStepperPrevious, typeof i8.MatStepHeader, typeof i9.MatStepperIcon, typeof i10.MatStepContent], [typeof i1.MatCommonModule, typeof i5.MatStep, typeof i6.MatStepLabel, typeof i5.MatStepper, typeof i7.MatStepperNext, typeof i7.MatStepperPrevious, typeof i8.MatStepHeader, typeof i9.MatStepperIcon, typeof i10.MatStepContent]>;
273
272
  static ɵinj: i0.ɵɵInjectorDeclaration<MatStepperModule>;
274
273
  }
275
274
 
@@ -59,16 +59,20 @@
59
59
  }
60
60
  }
61
61
 
62
- @mixin overrides($tokens: ()) {
63
- @include token-utils.batch-create-token-values(
64
- $tokens,
62
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
63
+ @function _define-overrides() {
64
+ @return (
65
65
  (
66
66
  namespace: tokens-mat-table.$prefix,
67
67
  tokens: tokens-mat-table.get-token-slots(),
68
- )
68
+ ),
69
69
  );
70
70
  }
71
71
 
72
+ @mixin overrides($tokens: ()) {
73
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
74
+ }
75
+
72
76
  @mixin theme($theme) {
73
77
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-table') {
74
78
  @if inspection.get-theme-version($theme) == 1 {
@@ -149,16 +149,14 @@
149
149
  }
150
150
  }
151
151
 
152
- /// Outputs the CSS variable values for the given tokens.
153
- /// @param {Map} $tokens The token values to emit.
154
- @mixin overrides($tokens: ()) {
152
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
153
+ @function _define-overrides() {
155
154
  $tab-tokens: tokens-mdc-secondary-navigation-tab.get-token-slots();
156
155
  $tab-indicator-tokens: tokens-mdc-tab-indicator.get-token-slots();
157
156
  $tab-header-tokens: tokens-mat-tab-header.get-token-slots();
158
157
  $tab-header-with-background-tokens: tokens-mat-tab-header-with-background.get-token-slots();
159
158
 
160
- @include token-utils.batch-create-token-values(
161
- $tokens,
159
+ @return (
162
160
  (
163
161
  namespace: tokens-mdc-secondary-navigation-tab.$prefix,
164
162
  tokens: $tab-tokens,
@@ -174,10 +172,16 @@
174
172
  (
175
173
  namespace: tokens-mat-tab-header-with-background.$prefix,
176
174
  tokens: $tab-header-with-background-tokens,
177
- )
175
+ ),
178
176
  );
179
177
  }
180
178
 
179
+ /// Outputs the CSS variable values for the given tokens.
180
+ /// @param {Map} $tokens The token values to emit.
181
+ @mixin overrides($tokens: ()) {
182
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
183
+ }
184
+
181
185
  /// Outputs all (base, color, typography, and density) theme styles for the mat-tab.
182
186
  /// @param {Map} $theme The theme to generate styles for.
183
187
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -71,18 +71,22 @@
71
71
  }
72
72
  }
73
73
 
74
- /// Outputs the CSS variable values for the given tokens.
75
- /// @param {Map} $tokens The token values to emit.
76
- @mixin overrides($tokens: ()) {
77
- @include token-utils.batch-create-token-values(
78
- $tokens,
74
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
75
+ @function _define-overrides() {
76
+ @return (
79
77
  (
80
78
  namespace: tokens-mat-timepicker.$prefix,
81
79
  tokens: tokens-mat-timepicker.get-token-slots(),
82
- )
80
+ ),
83
81
  );
84
82
  }
85
83
 
84
+ /// Outputs the CSS variable values for the given tokens.
85
+ /// @param {Map} $tokens The token values to emit.
86
+ @mixin overrides($tokens: ()) {
87
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
88
+ }
89
+
86
90
  /// Outputs all (base, color, typography, and density) theme styles for the mat-timepicker.
87
91
  /// @param {Map} $theme The theme to generate styles for.
88
92
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -76,18 +76,22 @@
76
76
  }
77
77
  }
78
78
 
79
- /// Outputs the CSS variable values for the given tokens.
80
- /// @param {Map} $tokens The token values to emit.
81
- @mixin overrides($tokens: ()) {
82
- @include token-utils.batch-create-token-values(
83
- $tokens,
79
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
80
+ @function _define-overrides() {
81
+ @return (
84
82
  (
85
83
  namespace: tokens-mat-toolbar.$prefix,
86
84
  tokens: tokens-mat-toolbar.get-token-slots(),
87
- )
85
+ ),
88
86
  );
89
87
  }
90
88
 
89
+ /// Outputs the CSS variable values for the given tokens.
90
+ /// @param {Map} $tokens The token values to emit.
91
+ @mixin overrides($tokens: ()) {
92
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
93
+ }
94
+
91
95
  @mixin theme($theme) {
92
96
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-toolbar') {
93
97
  @if inspection.get-theme-version($theme) == 1 {
@@ -59,16 +59,20 @@
59
59
  }
60
60
  }
61
61
 
62
- @mixin overrides($tokens: ()) {
63
- @include token-utils.batch-create-token-values(
64
- $tokens,
62
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
63
+ @function _define-overrides() {
64
+ @return (
65
65
  (
66
66
  namespace: tokens-mdc-plain-tooltip.$prefix,
67
67
  tokens: tokens-mdc-plain-tooltip.get-token-slots(),
68
- )
68
+ ),
69
69
  );
70
70
  }
71
71
 
72
+ @mixin overrides($tokens: ()) {
73
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
74
+ }
75
+
72
76
  @mixin theme($theme) {
73
77
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-tooltip') {
74
78
  @if inspection.get-theme-version($theme) == 1 {
@@ -6,10 +6,9 @@ import { Directionality } from '@angular/cdk/bidi';
6
6
  import { ElementRef } from '@angular/core';
7
7
  import * as i0 from '@angular/core';
8
8
  import * as i1 from '@angular/cdk/a11y';
9
- import * as i2 from '@angular/common';
10
- import * as i3 from '@angular/cdk/overlay';
11
- import * as i4 from '@angular/material/core';
12
- import * as i6 from '@angular/cdk/scrolling';
9
+ import * as i2 from '@angular/cdk/overlay';
10
+ import * as i3 from '@angular/material/core';
11
+ import * as i5 from '@angular/cdk/scrolling';
13
12
  import { InjectionToken } from '@angular/core';
14
13
  import { NumberInput } from '@angular/cdk/coercion';
15
14
  import { Observable } from 'rxjs';
@@ -26,7 +25,7 @@ import { ScrollStrategy } from '@angular/cdk/overlay';
26
25
  */
27
26
  export declare function getMatTooltipInvalidPositionError(position: string): Error;
28
27
 
29
- declare namespace i5 {
28
+ declare namespace i4 {
30
29
  export {
31
30
  getMatTooltipInvalidPositionError,
32
31
  MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY,
@@ -253,7 +252,7 @@ export declare interface MatTooltipDefaultOptions {
253
252
 
254
253
  export declare class MatTooltipModule {
255
254
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltipModule, never>;
256
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatCommonModule, typeof i5.MatTooltip, typeof i5.TooltipComponent], [typeof i5.MatTooltip, typeof i5.TooltipComponent, typeof i4.MatCommonModule, typeof i6.CdkScrollableModule]>;
255
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof i3.MatCommonModule, typeof i4.MatTooltip, typeof i4.TooltipComponent], [typeof i4.MatTooltip, typeof i4.TooltipComponent, typeof i3.MatCommonModule, typeof i5.CdkScrollableModule]>;
257
256
  static ɵinj: i0.ɵɵInjectorDeclaration<MatTooltipModule>;
258
257
  }
259
258
 
@@ -58,16 +58,20 @@
58
58
  }
59
59
  }
60
60
 
61
- @mixin overrides($tokens: ()) {
62
- @include token-utils.batch-create-token-values(
63
- $tokens,
61
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
62
+ @function _define-overrides() {
63
+ @return (
64
64
  (
65
65
  namespace: tokens-mat-tree.$prefix,
66
66
  tokens: tokens-mat-tree.get-token-slots(),
67
- )
67
+ ),
68
68
  );
69
69
  }
70
70
 
71
+ @mixin overrides($tokens: ()) {
72
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
73
+ }
74
+
71
75
  @mixin theme($theme) {
72
76
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-tree') {
73
77
  @if inspection.get-theme-version($theme) == 1 {