@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
@@ -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-icon.$prefix,
81
79
  tokens: tokens-mat-icon.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-icon.
87
91
  /// @param {Map} $theme The theme to generate styles for.
88
92
  /// @param {ArgList} Additional optional arguments (only supported for M3 themes):
@@ -32,16 +32,20 @@
32
32
  }
33
33
  }
34
34
 
35
- @mixin overrides($tokens: ()) {
36
- @include token-utils.batch-create-token-values(
37
- $tokens,
35
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
36
+ @function _define-overrides() {
37
+ @return (
38
38
  (
39
39
  namespace: '',
40
40
  tokens: (),
41
- )
41
+ ),
42
42
  );
43
43
  }
44
44
 
45
+ @mixin overrides($tokens: ()) {
46
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
47
+ }
48
+
45
49
  @mixin theme($theme) {
46
50
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-input') {
47
51
  @if inspection.get-theme-version($theme) == 1 {
@@ -204,9 +204,9 @@
204
204
  }
205
205
  }
206
206
 
207
- @mixin overrides($tokens: ()) {
208
- @include token-utils.batch-create-token-values(
209
- $tokens,
207
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
208
+ @function _define-overrides() {
209
+ @return (
210
210
  (
211
211
  namespace: tokens-mat-list.$prefix,
212
212
  tokens: tokens-mat-list.get-token-slots(),
@@ -214,10 +214,14 @@
214
214
  (
215
215
  namespace: tokens-mdc-list.$prefix,
216
216
  tokens: tokens-mdc-list.get-token-slots(),
217
- )
217
+ ),
218
218
  );
219
219
  }
220
220
 
221
+ @mixin overrides($tokens: ()) {
222
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
223
+ }
224
+
221
225
  @mixin theme($theme) {
222
226
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-list') {
223
227
  @if inspection.get-theme-version($theme) == 1 {
package/list/index.d.ts CHANGED
@@ -5,9 +5,8 @@ import { ElementRef } from '@angular/core';
5
5
  import { EventEmitter } from '@angular/core';
6
6
  import * as i0 from '@angular/core';
7
7
  import * as i1 from '@angular/cdk/observers';
8
- import * as i11 from '@angular/material/divider';
9
- import * as i2 from '@angular/common';
10
- import * as i3 from '@angular/material/core';
8
+ import * as i10 from '@angular/material/divider';
9
+ import * as i2 from '@angular/material/core';
11
10
  import { InjectionToken } from '@angular/core';
12
11
  import { NgZone } from '@angular/core';
13
12
  import { OnChanges } from '@angular/core';
@@ -21,18 +20,7 @@ import { SelectionModel } from '@angular/cdk/collections';
21
20
  import { SimpleChanges } from '@angular/core';
22
21
  import { ThemePalette } from '@angular/material/core';
23
22
 
24
- declare namespace i10 {
25
- export {
26
- MatListItemTitle,
27
- MatListItemLine,
28
- MatListItemMeta,
29
- _MatListItemGraphicBase,
30
- MatListItemAvatar,
31
- MatListItemIcon
32
- }
33
- }
34
-
35
- declare namespace i4 {
23
+ declare namespace i3 {
36
24
  export {
37
25
  MAT_LIST,
38
26
  MatList,
@@ -40,20 +28,20 @@ declare namespace i4 {
40
28
  }
41
29
  }
42
30
 
43
- declare namespace i5 {
31
+ declare namespace i4 {
44
32
  export {
45
33
  MatActionList
46
34
  }
47
35
  }
48
36
 
49
- declare namespace i6 {
37
+ declare namespace i5 {
50
38
  export {
51
39
  MAT_NAV_LIST,
52
40
  MatNavList
53
41
  }
54
42
  }
55
43
 
56
- declare namespace i7 {
44
+ declare namespace i6 {
57
45
  export {
58
46
  MAT_SELECTION_LIST_VALUE_ACCESSOR,
59
47
  MatSelectionListChange,
@@ -61,7 +49,7 @@ declare namespace i7 {
61
49
  }
62
50
  }
63
51
 
64
- declare namespace i8 {
52
+ declare namespace i7 {
65
53
  export {
66
54
  SELECTION_LIST,
67
55
  SelectionList,
@@ -69,12 +57,23 @@ declare namespace i8 {
69
57
  }
70
58
  }
71
59
 
72
- declare namespace i9 {
60
+ declare namespace i8 {
73
61
  export {
74
62
  MatListSubheaderCssMatStyler
75
63
  }
76
64
  }
77
65
 
66
+ declare namespace i9 {
67
+ export {
68
+ MatListItemTitle,
69
+ MatListItemLine,
70
+ MatListItemMeta,
71
+ _MatListItemGraphicBase,
72
+ MatListItemAvatar,
73
+ MatListItemIcon
74
+ }
75
+ }
76
+
78
77
  /**
79
78
  * Interface describing a list option. This is used to avoid circular
80
79
  * dependencies between the list-option and the styler directives.
@@ -329,7 +328,7 @@ export declare class MatListItemTitle {
329
328
 
330
329
  export declare class MatListModule {
331
330
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListModule, never>;
332
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i1.ObserversModule, typeof i2.CommonModule, typeof i3.MatCommonModule, typeof i3.MatRippleModule, typeof i3.MatPseudoCheckboxModule, typeof i4.MatList, typeof i5.MatActionList, typeof i6.MatNavList, typeof i7.MatSelectionList, typeof i4.MatListItem, typeof i8.MatListOption, typeof i9.MatListSubheaderCssMatStyler, typeof i10.MatListItemAvatar, typeof i10.MatListItemIcon, typeof i10.MatListItemLine, typeof i10.MatListItemTitle, typeof i10.MatListItemMeta], [typeof i4.MatList, typeof i5.MatActionList, typeof i6.MatNavList, typeof i7.MatSelectionList, typeof i4.MatListItem, typeof i8.MatListOption, typeof i10.MatListItemAvatar, typeof i10.MatListItemIcon, typeof i9.MatListSubheaderCssMatStyler, typeof i11.MatDividerModule, typeof i10.MatListItemLine, typeof i10.MatListItemTitle, typeof i10.MatListItemMeta]>;
331
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, never, [typeof i1.ObserversModule, typeof i2.MatCommonModule, typeof i2.MatRippleModule, typeof i2.MatPseudoCheckboxModule, typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i8.MatListSubheaderCssMatStyler, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta], [typeof i3.MatList, typeof i4.MatActionList, typeof i5.MatNavList, typeof i6.MatSelectionList, typeof i3.MatListItem, typeof i7.MatListOption, typeof i9.MatListItemAvatar, typeof i9.MatListItemIcon, typeof i8.MatListSubheaderCssMatStyler, typeof i10.MatDividerModule, typeof i9.MatListItemLine, typeof i9.MatListItemTitle, typeof i9.MatListItemMeta]>;
333
332
  static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
334
333
  }
335
334
 
@@ -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-menu.$prefix,
61
61
  tokens: tokens-mat-menu.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-menu') {
68
72
  @if inspection.get-theme-version($theme) == 1 {
package/menu/index.d.ts CHANGED
@@ -7,10 +7,9 @@ import { EventEmitter } from '@angular/core';
7
7
  import { FocusableOption } from '@angular/cdk/a11y';
8
8
  import { FocusOrigin } from '@angular/cdk/a11y';
9
9
  import * as i0 from '@angular/core';
10
- import * as i1 from '@angular/common';
11
- import * as i2 from '@angular/material/core';
12
- import * as i3 from '@angular/cdk/overlay';
13
- import * as i8 from '@angular/cdk/scrolling';
10
+ import * as i1 from '@angular/material/core';
11
+ import * as i2 from '@angular/cdk/overlay';
12
+ import * as i7 from '@angular/cdk/scrolling';
14
13
  import { InjectionToken } from '@angular/core';
15
14
  import { Observable } from 'rxjs';
16
15
  import { OnDestroy } from '@angular/core';
@@ -28,7 +27,7 @@ import { TemplateRef } from '@angular/core';
28
27
  */
29
28
  export declare const fadeInItems: AnimationTriggerMetadata;
30
29
 
31
- declare namespace i4 {
30
+ declare namespace i3 {
32
31
  export {
33
32
  MAT_MENU_DEFAULT_OPTIONS_FACTORY,
34
33
  MenuCloseReason,
@@ -38,20 +37,20 @@ declare namespace i4 {
38
37
  }
39
38
  }
40
39
 
41
- declare namespace i5 {
40
+ declare namespace i4 {
42
41
  export {
43
42
  MatMenuItem
44
43
  }
45
44
  }
46
45
 
47
- declare namespace i6 {
46
+ declare namespace i5 {
48
47
  export {
49
48
  MAT_MENU_CONTENT,
50
49
  MatMenuContent
51
50
  }
52
51
  }
53
52
 
54
- declare namespace i7 {
53
+ declare namespace i6 {
55
54
  export {
56
55
  MAT_MENU_SCROLL_STRATEGY_FACTORY,
57
56
  MAT_MENU_SCROLL_STRATEGY,
@@ -344,7 +343,7 @@ export declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDe
344
343
 
345
344
  export declare class MatMenuModule {
346
345
  static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuModule, never>;
347
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.CommonModule, typeof i2.MatRippleModule, typeof i2.MatCommonModule, typeof i3.OverlayModule, typeof i4.MatMenu, typeof i5.MatMenuItem, typeof i6.MatMenuContent, typeof i7.MatMenuTrigger], [typeof i8.CdkScrollableModule, typeof i4.MatMenu, typeof i2.MatCommonModule, typeof i5.MatMenuItem, typeof i6.MatMenuContent, typeof i7.MatMenuTrigger]>;
346
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.MatRippleModule, typeof i1.MatCommonModule, typeof i2.OverlayModule, typeof i3.MatMenu, typeof i4.MatMenuItem, typeof i5.MatMenuContent, typeof i6.MatMenuTrigger], [typeof i7.CdkScrollableModule, typeof i3.MatMenu, typeof i1.MatCommonModule, typeof i4.MatMenuItem, typeof i5.MatMenuContent, typeof i6.MatMenuTrigger]>;
348
347
  static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuModule>;
349
348
  }
350
349
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/material",
3
- "version": "19.0.0-next.9",
3
+ "version": "19.0.0-rc.0",
4
4
  "description": "Angular Material",
5
5
  "repository": {
6
6
  "type": "git",
@@ -354,7 +354,7 @@
354
354
  },
355
355
  "peerDependencies": {
356
356
  "@angular/animations": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
357
- "@angular/cdk": "19.0.0-next.9",
357
+ "@angular/cdk": "19.0.0-rc.0",
358
358
  "@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
359
359
  "@angular/common": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
360
360
  "@angular/forms": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
@@ -62,16 +62,20 @@
62
62
  }
63
63
  }
64
64
 
65
- @mixin overrides($tokens: ()) {
66
- @include token-utils.batch-create-token-values(
67
- $tokens,
65
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
66
+ @function _define-overrides() {
67
+ @return (
68
68
  (
69
69
  namespace: tokens-mat-paginator.$prefix,
70
70
  tokens: tokens-mat-paginator.get-token-slots(),
71
- )
71
+ ),
72
72
  );
73
73
  }
74
74
 
75
+ @mixin overrides($tokens: ()) {
76
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
77
+ }
78
+
75
79
  @mixin theme($theme) {
76
80
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-paginator') {
77
81
  @if inspection.get-theme-version($theme) == 1 {