@angular/material 19.0.0-next.9 → 19.0.0-rc.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.
- package/autocomplete/_autocomplete-theme.scss +8 -4
- package/autocomplete/index.d.ts +5 -6
- package/badge/_badge-theme.scss +10 -6
- package/badge/index.d.ts +1 -2
- package/bottom-sheet/_bottom-sheet-theme.scss +8 -4
- package/button/_button-theme.scss +10 -6
- package/button/_fab-theme.scss +10 -6
- package/button/_icon-button-theme.scss +8 -4
- package/button/index.d.ts +1 -1
- package/button-toggle/_button-toggle-theme.scss +11 -6
- package/button-toggle/index.d.ts +2 -1
- package/card/_card-theme.scss +8 -4
- package/card/index.d.ts +2 -3
- package/checkbox/_checkbox-theme.scss +10 -6
- package/chips/_chips-theme.scss +10 -6
- package/core/_core-theme.scss +4 -7
- package/core/_core.scss +2 -5
- package/core/m2/_theming.scss +2 -1
- package/core/option/_optgroup-theme.scss +8 -4
- package/core/option/_option-theme.scss +10 -6
- package/core/ripple/_ripple-theme.scss +8 -4
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +10 -6
- package/core/theming/_config-validation.scss +4 -4
- package/core/theming/_definition.scss +12 -2
- package/core/theming/_theming.scss +2 -1
- package/core/tokens/_m3-system.scss +55 -39
- package/core/tokens/_m3-tokens.scss +3 -3
- package/core/tokens/_token-definition.scss +4 -3
- package/core/tokens/m2/mat/_badge.scss +1 -1
- package/core/tokens/m2/mat/_datepicker.scss +1 -1
- package/core/tokens/m2/mat/_menu.scss +5 -3
- package/core/tokens/m2/mat/_sort.scss +1 -1
- package/core/tokens/m3/mat/_menu.scss +6 -3
- package/core/tokens/m3/mdc/_filled-text-field.scss +9 -11
- package/datepicker/_datepicker-theme.scss +10 -6
- package/datepicker/index.d.ts +36 -37
- package/dialog/_dialog-theme.scss +8 -4
- package/dialog/index.d.ts +1 -0
- package/divider/_divider-theme.scss +8 -4
- package/expansion/_expansion-theme.scss +8 -4
- package/fesm2022/autocomplete/testing.mjs +2 -5
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +225 -151
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs +2 -5
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +45 -36
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +79 -57
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +2 -2
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs +4 -7
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +84 -47
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +98 -71
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs +3 -6
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +53 -55
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +4 -7
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +105 -63
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs +11 -14
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +317 -268
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs +5 -11
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +237 -187
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs +13 -22
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +821 -568
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +15 -9
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +221 -153
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +9 -11
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs +7 -10
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +85 -76
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +12 -15
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +179 -126
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +11 -17
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +72 -50
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +8 -8
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +65 -45
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs +3 -3
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +104 -72
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +21 -38
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +191 -180
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +3 -6
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +178 -168
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +10 -13
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +84 -59
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +35 -34
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +27 -13
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +6 -12
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +123 -88
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +6 -9
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +220 -182
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +6 -6
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +132 -119
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +3 -6
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +78 -49
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs +2 -2
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +260 -190
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +4 -7
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +141 -107
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs +3 -6
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +93 -72
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs +4 -4
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +143 -105
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs +13 -25
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +182 -177
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs +5 -5
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +326 -247
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +7 -16
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +157 -153
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs +2 -5
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +25 -15
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs +6 -9
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +96 -72
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs +3 -6
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +56 -54
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +9 -5
- package/form-field/index.d.ts +9 -9
- package/grid-list/_grid-list-theme.scss +8 -4
- package/icon/_icon-theme.scss +10 -6
- package/input/_input-theme.scss +8 -4
- package/list/_list-theme.scss +8 -4
- package/list/index.d.ts +20 -21
- package/menu/_menu-theme.scss +8 -4
- package/menu/index.d.ts +15 -17
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +8 -4
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +11 -9
- package/progress-spinner/_progress-spinner-theme.scss +11 -9
- package/progress-spinner/index.d.ts +3 -4
- package/radio/_radio-theme.scss +10 -6
- package/radio/index.d.ts +2 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +1 -6
- package/schematics/ng-add/theming/create-custom-theme.mjs +1 -6
- package/schematics/ng-generate/theme-color/index_bundled.js +35 -9
- package/schematics/ng-generate/theme-color/index_bundled.js.map +2 -2
- package/schematics/ng-update/index_bundled.js +6 -1
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/_select-theme.scss +10 -6
- package/select/index.d.ts +7 -7
- package/sidenav/_sidenav-theme.scss +8 -4
- package/slide-toggle/_slide-toggle-theme.scss +10 -6
- package/slider/_slider-theme.scss +10 -6
- package/snack-bar/_snack-bar-theme.scss +10 -6
- package/sort/_sort-theme.scss +8 -4
- package/stepper/_stepper-theme.scss +10 -6
- package/stepper/index.d.ts +14 -15
- package/table/_table-theme.scss +8 -4
- package/tabs/_tabs-theme.scss +10 -6
- package/timepicker/_timepicker-theme.scss +10 -6
- package/toolbar/_toolbar-theme.scss +10 -6
- package/tooltip/_tooltip-theme.scss +8 -4
- package/tooltip/index.d.ts +5 -6
- package/tree/_tree-theme.scss +8 -4
package/form-field/index.d.ts
CHANGED
|
@@ -7,8 +7,7 @@ import { BooleanInput } from '@angular/cdk/coercion';
|
|
|
7
7
|
import { ElementRef } from '@angular/core';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
9
|
import * as i1 from '@angular/material/core';
|
|
10
|
-
import * as i2 from '@angular/
|
|
11
|
-
import * as i3 from '@angular/cdk/observers';
|
|
10
|
+
import * as i2 from '@angular/cdk/observers';
|
|
12
11
|
import { InjectionToken } from '@angular/core';
|
|
13
12
|
import { NgControl } from '@angular/forms';
|
|
14
13
|
import { Observable } from 'rxjs';
|
|
@@ -35,7 +34,7 @@ export declare function getMatFormFieldMissingControlError(): Error;
|
|
|
35
34
|
/** @docs-private */
|
|
36
35
|
export declare function getMatFormFieldPlaceholderConflictError(): Error;
|
|
37
36
|
|
|
38
|
-
declare namespace
|
|
37
|
+
declare namespace i3 {
|
|
39
38
|
export {
|
|
40
39
|
FloatLabelType,
|
|
41
40
|
MatFormFieldAppearance,
|
|
@@ -47,33 +46,33 @@ declare namespace i4 {
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
declare namespace
|
|
49
|
+
declare namespace i4 {
|
|
51
50
|
export {
|
|
52
51
|
MatLabel
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
declare namespace
|
|
55
|
+
declare namespace i5 {
|
|
57
56
|
export {
|
|
58
57
|
MAT_ERROR,
|
|
59
58
|
MatError
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
declare namespace
|
|
62
|
+
declare namespace i6 {
|
|
64
63
|
export {
|
|
65
64
|
MatHint
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
declare namespace
|
|
68
|
+
declare namespace i7 {
|
|
70
69
|
export {
|
|
71
70
|
MAT_PREFIX,
|
|
72
71
|
MatPrefix
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
|
|
76
|
-
declare namespace
|
|
75
|
+
declare namespace i8 {
|
|
77
76
|
export {
|
|
78
77
|
MAT_SUFFIX,
|
|
79
78
|
MatSuffix
|
|
@@ -128,6 +127,7 @@ export declare class MatFormField implements FloatingLabelParent, AfterContentIn
|
|
|
128
127
|
private _changeDetectorRef;
|
|
129
128
|
private _dir;
|
|
130
129
|
private _platform;
|
|
130
|
+
private _idGenerator;
|
|
131
131
|
private _defaults;
|
|
132
132
|
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
133
133
|
_textField: ElementRef<HTMLElement>;
|
|
@@ -458,7 +458,7 @@ declare class MatFormFieldLineRipple implements OnDestroy {
|
|
|
458
458
|
|
|
459
459
|
export declare class MatFormFieldModule {
|
|
460
460
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldModule, never>;
|
|
461
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, never, [typeof i1.MatCommonModule, typeof i2.
|
|
461
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, never, [typeof i1.MatCommonModule, typeof i2.ObserversModule, typeof i3.MatFormField, typeof i4.MatLabel, typeof i5.MatError, typeof i6.MatHint, typeof i7.MatPrefix, typeof i8.MatSuffix], [typeof i3.MatFormField, typeof i4.MatLabel, typeof i6.MatHint, typeof i5.MatError, typeof i7.MatPrefix, typeof i8.MatSuffix, typeof i1.MatCommonModule]>;
|
|
462
462
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatFormFieldModule>;
|
|
463
463
|
}
|
|
464
464
|
|
|
@@ -42,16 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
/// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
|
|
46
|
+
@function _define-overrides() {
|
|
47
|
+
@return (
|
|
48
48
|
(
|
|
49
49
|
namespace: tokens-mat-grid-list.$prefix,
|
|
50
50
|
tokens: tokens-mat-grid-list.get-token-slots(),
|
|
51
|
-
)
|
|
51
|
+
),
|
|
52
52
|
);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
@mixin overrides($tokens: ()) {
|
|
56
|
+
@include token-utils.batch-create-token-values($tokens, _define-overrides()...);
|
|
57
|
+
}
|
|
58
|
+
|
|
55
59
|
@mixin theme($theme) {
|
|
56
60
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-grid-list') {
|
|
57
61
|
@if inspection.get-theme-version($theme) == 1 {
|
package/icon/_icon-theme.scss
CHANGED
|
@@ -71,18 +71,22 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
///
|
|
75
|
-
|
|
76
|
-
@
|
|
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):
|
package/input/_input-theme.scss
CHANGED
|
@@ -32,16 +32,20 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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 {
|
package/list/_list-theme.scss
CHANGED
|
@@ -204,9 +204,9 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
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
|
|
9
|
-
import * as i2 from '@angular/
|
|
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
|
|
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
|
|
31
|
+
declare namespace i4 {
|
|
44
32
|
export {
|
|
45
33
|
MatActionList
|
|
46
34
|
}
|
|
47
35
|
}
|
|
48
36
|
|
|
49
|
-
declare namespace
|
|
37
|
+
declare namespace i5 {
|
|
50
38
|
export {
|
|
51
39
|
MAT_NAV_LIST,
|
|
52
40
|
MatNavList
|
|
53
41
|
}
|
|
54
42
|
}
|
|
55
43
|
|
|
56
|
-
declare namespace
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
package/menu/_menu-theme.scss
CHANGED
|
@@ -53,16 +53,20 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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/
|
|
11
|
-
import * as i2 from '@angular/
|
|
12
|
-
import * as
|
|
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
|
|
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
|
|
40
|
+
declare namespace i4 {
|
|
42
41
|
export {
|
|
43
42
|
MatMenuItem
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
|
|
47
|
-
declare namespace
|
|
46
|
+
declare namespace i5 {
|
|
48
47
|
export {
|
|
49
48
|
MAT_MENU_CONTENT,
|
|
50
49
|
MatMenuContent
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
declare namespace
|
|
53
|
+
declare namespace i6 {
|
|
55
54
|
export {
|
|
56
55
|
MAT_MENU_SCROLL_STRATEGY_FACTORY,
|
|
57
56
|
MAT_MENU_SCROLL_STRATEGY,
|
|
@@ -100,9 +99,6 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
100
99
|
private _xPosition;
|
|
101
100
|
private _yPosition;
|
|
102
101
|
private _firstItemFocusRef?;
|
|
103
|
-
private _previousElevation;
|
|
104
|
-
private _elevationPrefix;
|
|
105
|
-
private _baseElevation;
|
|
106
102
|
/** All items inside the menu. Includes items nested inside another menu. */
|
|
107
103
|
_allItems: QueryList<MatMenuItem>;
|
|
108
104
|
/** Only the direct descendant menu items. */
|
|
@@ -208,10 +204,10 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
208
204
|
*/
|
|
209
205
|
resetActiveItem(): void;
|
|
210
206
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @
|
|
207
|
+
* @deprecated No longer used and will be removed.
|
|
208
|
+
* @breaking-change 21.0.0
|
|
213
209
|
*/
|
|
214
|
-
setElevation(
|
|
210
|
+
setElevation(_depth: number): void;
|
|
215
211
|
/**
|
|
216
212
|
* Adds classes to the menu panel based on its position. Can be used by
|
|
217
213
|
* consumers to add specific styling based on the position.
|
|
@@ -344,7 +340,7 @@ export declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDe
|
|
|
344
340
|
|
|
345
341
|
export declare class MatMenuModule {
|
|
346
342
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuModule, never>;
|
|
347
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, never, [typeof i1.
|
|
343
|
+
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
344
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuModule>;
|
|
349
345
|
}
|
|
350
346
|
|
|
@@ -363,6 +359,10 @@ export declare interface MatMenuPanel<T = any> {
|
|
|
363
359
|
focusFirstItem: (origin?: FocusOrigin) => void;
|
|
364
360
|
resetActiveItem: () => void;
|
|
365
361
|
setPositionClasses?: (x: MenuPositionX, y: MenuPositionY) => void;
|
|
362
|
+
/**
|
|
363
|
+
* @deprecated No longer used and will be removed.
|
|
364
|
+
* @breaking-change 21.0.0
|
|
365
|
+
*/
|
|
366
366
|
setElevation?(depth: number): void;
|
|
367
367
|
lazyContent?: MatMenuContent;
|
|
368
368
|
backdropClass?: string;
|
|
@@ -479,8 +479,6 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
479
479
|
* the menu was opened via the keyboard.
|
|
480
480
|
*/
|
|
481
481
|
private _initMenu;
|
|
482
|
-
/** Updates the menu elevation based on the amount of parent menus that it has. */
|
|
483
|
-
private _setMenuElevation;
|
|
484
482
|
private _setIsMenuOpen;
|
|
485
483
|
/**
|
|
486
484
|
* This method creates the overlay from the provided menu's template and saves its
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "19.0.0-
|
|
3
|
+
"version": "19.0.0-rc.1",
|
|
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-
|
|
357
|
+
"@angular/cdk": "19.0.0-rc.1",
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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 {
|