@angular/material 19.0.0-next.3 → 19.0.0-next.5
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/index.d.ts +5 -15
- package/badge/index.d.ts +3 -7
- package/bottom-sheet/index.d.ts +5 -15
- package/button/index.d.ts +20 -24
- package/button-toggle/index.d.ts +5 -8
- package/card/index.d.ts +2 -2
- package/checkbox/index.d.ts +16 -7
- package/chips/index.d.ts +13 -24
- package/core/_core-theme.scss +0 -22
- package/core/index.d.ts +30 -34
- package/core/tokens/m3/mat/_badge.scss +3 -3
- package/datepicker/index.d.ts +44 -70
- package/dialog/index.d.ts +10 -34
- package/dialog/testing/index.d.ts +1 -1
- package/expansion/index.d.ts +9 -13
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +42 -72
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +22 -29
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +25 -40
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +26 -42
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +68 -137
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +50 -54
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +38 -39
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +93 -144
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +102 -215
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +192 -328
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -3
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +47 -105
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +54 -89
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +89 -93
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +35 -42
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +20 -29
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +29 -53
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +106 -145
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +63 -111
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +18 -25
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +14 -20
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +29 -42
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +34 -66
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +67 -87
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +26 -34
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +61 -69
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +49 -62
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +30 -49
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +56 -68
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +119 -174
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +17 -21
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +53 -67
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +35 -62
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_mdc-text-field-structure.scss +49 -47
- package/form-field/index.d.ts +12 -24
- package/grid-list/index.d.ts +6 -8
- package/icon/index.d.ts +2 -2
- package/input/index.d.ts +3 -7
- package/list/_list-inherited-structure.scss +1 -13
- package/list/index.d.ts +10 -14
- package/menu/index.d.ts +15 -49
- package/package.json +2 -2
- 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/index.d.ts +3 -5
- package/progress-spinner/index.d.ts +2 -2
- package/radio/index.d.ts +5 -8
- package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
- package/schematics/ng-add/fonts/material-fonts.js +2 -2
- package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.d.ts +1 -1
- package/schematics/ng-add/package-config.js +2 -2
- package/schematics/ng-add/package-config.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.js +2 -2
- package/schematics/ng-add/schema.mjs +2 -2
- package/schematics/ng-add/setup-project.d.ts +1 -1
- package/schematics/ng-add/setup-project.js +3 -3
- package/schematics/ng-add/setup-project.mjs +3 -3
- package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +2 -2
- package/schematics/ng-add/theming/create-custom-theme.mjs +2 -2
- package/schematics/ng-add/theming/theming.d.ts +1 -1
- package/schematics/ng-add/theming/theming.js +2 -2
- package/schematics/ng-add/theming/theming.mjs +2 -2
- package/schematics/ng-generate/address-form/index.d.ts +1 -1
- package/schematics/ng-generate/address-form/index.js +2 -2
- package/schematics/ng-generate/address-form/index.mjs +2 -2
- package/schematics/ng-generate/address-form/schema.d.ts +1 -1
- package/schematics/ng-generate/address-form/schema.js +2 -2
- package/schematics/ng-generate/address-form/schema.mjs +2 -2
- package/schematics/ng-generate/dashboard/index.d.ts +1 -1
- package/schematics/ng-generate/dashboard/index.js +2 -2
- package/schematics/ng-generate/dashboard/index.mjs +2 -2
- package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
- package/schematics/ng-generate/dashboard/schema.js +2 -2
- package/schematics/ng-generate/dashboard/schema.mjs +2 -2
- package/schematics/ng-generate/m3-theme/index_bundled.js +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +1 -1
- package/schematics/ng-generate/navigation/index.d.ts +1 -1
- package/schematics/ng-generate/navigation/index.js +2 -2
- package/schematics/ng-generate/navigation/index.mjs +2 -2
- package/schematics/ng-generate/navigation/schema.d.ts +1 -1
- package/schematics/ng-generate/navigation/schema.js +2 -2
- package/schematics/ng-generate/navigation/schema.mjs +2 -2
- package/schematics/ng-generate/table/index.d.ts +1 -1
- package/schematics/ng-generate/table/index.js +2 -2
- package/schematics/ng-generate/table/index.mjs +2 -2
- package/schematics/ng-generate/table/schema.d.ts +1 -1
- package/schematics/ng-generate/table/schema.js +2 -2
- package/schematics/ng-generate/table/schema.mjs +2 -2
- package/schematics/ng-generate/tree/index.d.ts +1 -1
- package/schematics/ng-generate/tree/index.js +2 -2
- package/schematics/ng-generate/tree/index.mjs +2 -2
- package/schematics/ng-generate/tree/schema.d.ts +1 -1
- package/schematics/ng-generate/tree/schema.js +2 -2
- package/schematics/ng-generate/tree/schema.mjs +2 -2
- package/schematics/ng-update/index_bundled.js +1 -1
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +4 -14
- package/sidenav/index.d.ts +7 -17
- package/slide-toggle/index.d.ts +2 -2
- package/slider/index.d.ts +8 -8
- package/snack-bar/index.d.ts +6 -22
- package/sort/index.d.ts +4 -20
- package/stepper/index.d.ts +6 -13
- package/tabs/index.d.ts +21 -32
- package/toolbar/index.d.ts +3 -4
- package/tooltip/index.d.ts +5 -12
- package/tree/index.d.ts +5 -18
package/form-field/index.d.ts
CHANGED
|
@@ -4,8 +4,6 @@ import { AfterContentInit } from '@angular/core';
|
|
|
4
4
|
import { AfterViewInit } from '@angular/core';
|
|
5
5
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
6
6
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
8
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
9
7
|
import { ElementRef } from '@angular/core';
|
|
10
8
|
import * as i0 from '@angular/core';
|
|
11
9
|
import * as i1 from '@angular/material/core';
|
|
@@ -13,10 +11,8 @@ import * as i2 from '@angular/common';
|
|
|
13
11
|
import * as i3 from '@angular/cdk/observers';
|
|
14
12
|
import { InjectionToken } from '@angular/core';
|
|
15
13
|
import { NgControl } from '@angular/forms';
|
|
16
|
-
import { NgZone } from '@angular/core';
|
|
17
14
|
import { Observable } from 'rxjs';
|
|
18
15
|
import { OnDestroy } from '@angular/core';
|
|
19
|
-
import { Platform } from '@angular/cdk/platform';
|
|
20
16
|
import { QueryList } from '@angular/core';
|
|
21
17
|
import { Signal } from '@angular/core';
|
|
22
18
|
import { ThemePalette } from '@angular/material/core';
|
|
@@ -121,22 +117,24 @@ export declare const MAT_SUFFIX: InjectionToken<MatSuffix>;
|
|
|
121
117
|
/** Single error message to be shown underneath the form-field. */
|
|
122
118
|
export declare class MatError {
|
|
123
119
|
id: string;
|
|
124
|
-
constructor(
|
|
125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatError,
|
|
120
|
+
constructor(...args: unknown[]);
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatError, never>;
|
|
126
122
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatError, "mat-error, [matError]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
127
123
|
}
|
|
128
124
|
|
|
129
125
|
/** Container for form controls that applies Material Design styling and behavior. */
|
|
130
126
|
export declare class MatFormField implements FloatingLabelParent, AfterContentInit, AfterContentChecked, AfterViewInit, OnDestroy {
|
|
131
|
-
_elementRef: ElementRef
|
|
127
|
+
_elementRef: ElementRef<any>;
|
|
132
128
|
private _changeDetectorRef;
|
|
133
129
|
private _dir;
|
|
134
130
|
private _platform;
|
|
135
|
-
private _defaults
|
|
136
|
-
_animationMode
|
|
131
|
+
private _defaults;
|
|
132
|
+
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
137
133
|
_textField: ElementRef<HTMLElement>;
|
|
138
134
|
_iconPrefixContainer: ElementRef<HTMLElement>;
|
|
139
135
|
_textPrefixContainer: ElementRef<HTMLElement>;
|
|
136
|
+
_iconSuffixContainer: ElementRef<HTMLElement>;
|
|
137
|
+
_textSuffixContainer: ElementRef<HTMLElement>;
|
|
140
138
|
_floatingLabel: MatFormFieldFloatingLabel | undefined;
|
|
141
139
|
_notchedOutline: MatFormFieldNotchedOutline | undefined;
|
|
142
140
|
_lineRipple: MatFormFieldLineRipple | undefined;
|
|
@@ -197,17 +195,7 @@ export declare class MatFormField implements FloatingLabelParent, AfterContentIn
|
|
|
197
195
|
private _stateChanges;
|
|
198
196
|
private _valueChanges;
|
|
199
197
|
private _injector;
|
|
200
|
-
constructor(
|
|
201
|
-
/**
|
|
202
|
-
* @deprecated not needed, to be removed.
|
|
203
|
-
* @breaking-change 19.0.0 remove this param
|
|
204
|
-
*/
|
|
205
|
-
_unusedNgZone: NgZone, _dir: Directionality, _platform: Platform, _defaults?: MatFormFieldDefaultOptions | undefined, _animationMode?: string | undefined,
|
|
206
|
-
/**
|
|
207
|
-
* @deprecated not needed, to be removed.
|
|
208
|
-
* @breaking-change 17.0.0 remove this param
|
|
209
|
-
*/
|
|
210
|
-
_unusedDocument?: any);
|
|
198
|
+
constructor(...args: unknown[]);
|
|
211
199
|
ngAfterViewInit(): void;
|
|
212
200
|
ngAfterContentInit(): void;
|
|
213
201
|
ngAfterContentChecked(): void;
|
|
@@ -295,7 +283,7 @@ export declare class MatFormField implements FloatingLabelParent, AfterContentIn
|
|
|
295
283
|
private _updateOutlineLabelOffset;
|
|
296
284
|
/** Checks whether the form field is attached to the DOM. */
|
|
297
285
|
private _isAttachedToDom;
|
|
298
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField,
|
|
286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, never>;
|
|
299
287
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "color": { "alias": "color"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "hintLabel": { "alias": "hintLabel"; "required": false; }; }, {}, ["_labelChild", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error, [matError]", "mat-hint:not([align='end'])", "mat-hint[align='end']"], true, never>;
|
|
300
288
|
}
|
|
301
289
|
|
|
@@ -435,7 +423,7 @@ declare class MatFormFieldFloatingLabel implements OnDestroy {
|
|
|
435
423
|
private _parent;
|
|
436
424
|
/** The current resize event subscription. */
|
|
437
425
|
private _resizeSubscription;
|
|
438
|
-
constructor(
|
|
426
|
+
constructor(...args: unknown[]);
|
|
439
427
|
ngOnDestroy(): void;
|
|
440
428
|
/** Gets the width of the label. Used for the outline notch. */
|
|
441
429
|
getWidth(): number;
|
|
@@ -459,7 +447,7 @@ declare class MatFormFieldFloatingLabel implements OnDestroy {
|
|
|
459
447
|
*/
|
|
460
448
|
declare class MatFormFieldLineRipple implements OnDestroy {
|
|
461
449
|
private _elementRef;
|
|
462
|
-
constructor(
|
|
450
|
+
constructor(...args: unknown[]);
|
|
463
451
|
activate(): void;
|
|
464
452
|
deactivate(): void;
|
|
465
453
|
private _handleTransitionEnd;
|
|
@@ -486,7 +474,7 @@ declare class MatFormFieldNotchedOutline implements AfterViewInit {
|
|
|
486
474
|
/** Whether the notch should be opened. */
|
|
487
475
|
open: boolean;
|
|
488
476
|
_notch: ElementRef;
|
|
489
|
-
constructor(
|
|
477
|
+
constructor(...args: unknown[]);
|
|
490
478
|
ngAfterViewInit(): void;
|
|
491
479
|
_setNotchWidth(labelWidth: number): void;
|
|
492
480
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldNotchedOutline, never>;
|
package/grid-list/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { AfterContentChecked } from '@angular/core';
|
|
2
2
|
import { AfterContentInit } from '@angular/core';
|
|
3
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
4
|
-
import { ElementRef } from '@angular/core';
|
|
5
3
|
import * as i0 from '@angular/core';
|
|
6
4
|
import * as i1 from '@angular/material/core';
|
|
7
5
|
import { MatLine } from '@angular/material/core';
|
|
@@ -54,7 +52,7 @@ export declare class MatGridList implements MatGridListBase, OnInit, AfterConten
|
|
|
54
52
|
private _tileStyler;
|
|
55
53
|
/** Query list of tiles that are being rendered. */
|
|
56
54
|
_tiles: QueryList<MatGridTile>;
|
|
57
|
-
constructor(
|
|
55
|
+
constructor(...args: unknown[]);
|
|
58
56
|
/** Amount of columns in the grid list. */
|
|
59
57
|
get cols(): number;
|
|
60
58
|
set cols(value: NumberInput);
|
|
@@ -80,7 +78,7 @@ export declare class MatGridList implements MatGridListBase, OnInit, AfterConten
|
|
|
80
78
|
private _layoutTiles;
|
|
81
79
|
/** Sets style on the main grid-list element, given the style name and value. */
|
|
82
80
|
_setListStyle(style: [string, string | null] | null): void;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridList,
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridList, never>;
|
|
84
82
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatGridList, "mat-grid-list", ["matGridList"], { "cols": { "alias": "cols"; "required": false; }; "gutterSize": { "alias": "gutterSize"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; }, {}, ["_tiles"], ["*"], true, never>;
|
|
85
83
|
}
|
|
86
84
|
|
|
@@ -102,10 +100,10 @@ export declare class MatGridListModule {
|
|
|
102
100
|
|
|
103
101
|
export declare class MatGridTile {
|
|
104
102
|
private _element;
|
|
105
|
-
_gridList?: MatGridListBase | undefined;
|
|
103
|
+
_gridList?: MatGridListBase | null | undefined;
|
|
106
104
|
_rowspan: number;
|
|
107
105
|
_colspan: number;
|
|
108
|
-
constructor(
|
|
106
|
+
constructor(...args: unknown[]);
|
|
109
107
|
/** Amount of rows that the grid tile takes up. */
|
|
110
108
|
get rowspan(): number;
|
|
111
109
|
set rowspan(value: NumberInput);
|
|
@@ -117,7 +115,7 @@ export declare class MatGridTile {
|
|
|
117
115
|
* "Changed after checked" errors that would occur with HostBinding.
|
|
118
116
|
*/
|
|
119
117
|
_setStyle(property: string, value: any): void;
|
|
120
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridTile,
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridTile, never>;
|
|
121
119
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatGridTile, "mat-grid-tile", ["matGridTile"], { "rowspan": { "alias": "rowspan"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
122
120
|
}
|
|
123
121
|
|
|
@@ -142,7 +140,7 @@ export declare class MatGridTileHeaderCssMatStyler {
|
|
|
142
140
|
export declare class MatGridTileText implements AfterContentInit {
|
|
143
141
|
private _element;
|
|
144
142
|
_lines: QueryList<MatLine>;
|
|
145
|
-
constructor(
|
|
143
|
+
constructor(...args: unknown[]);
|
|
146
144
|
ngAfterContentInit(): void;
|
|
147
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatGridTileText, never>;
|
|
148
146
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatGridTileText, "mat-grid-tile-header, mat-grid-tile-footer", never, {}, {}, ["_lines"], ["[mat-grid-avatar], [matGridAvatar]", "[mat-line], [matLine]", "*"], true, never>;
|
package/icon/index.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
|
|
|
165
165
|
private _elementsWithExternalReferences?;
|
|
166
166
|
/** Subscription to the current in-progress SVG icon request. */
|
|
167
167
|
private _currentIconFetch;
|
|
168
|
-
constructor(
|
|
168
|
+
constructor(...args: unknown[]);
|
|
169
169
|
/**
|
|
170
170
|
* Splits an svgIcon binding value into its icon set and icon name components.
|
|
171
171
|
* Returns a 2-element array of [(icon set), (icon name)].
|
|
@@ -206,7 +206,7 @@ export declare class MatIcon implements OnInit, AfterViewChecked, OnDestroy {
|
|
|
206
206
|
private _cacheChildrenWithExternalReferences;
|
|
207
207
|
/** Sets a new SVG icon with a particular name. */
|
|
208
208
|
private _updateSvgIcon;
|
|
209
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIcon,
|
|
209
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatIcon, never>;
|
|
210
210
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatIcon, "mat-icon", ["matIcon"], { "color": { "alias": "color"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "fontIcon": { "alias": "fontIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
211
211
|
static ngAcceptInputType_inline: unknown;
|
|
212
212
|
}
|
package/input/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
|
-
import { AutofillMonitor } from '@angular/cdk/text-field';
|
|
3
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
3
|
import { DoCheck } from '@angular/core';
|
|
5
4
|
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
7
|
-
import { FormGroupDirective } from '@angular/forms';
|
|
8
6
|
import * as i0 from '@angular/core';
|
|
9
7
|
import * as i1 from '@angular/material/core';
|
|
10
8
|
import * as i2 from '@angular/material/form-field';
|
|
@@ -18,8 +16,6 @@ import { MatLabel } from '@angular/material/form-field';
|
|
|
18
16
|
import { MatPrefix } from '@angular/material/form-field';
|
|
19
17
|
import { MatSuffix } from '@angular/material/form-field';
|
|
20
18
|
import { NgControl } from '@angular/forms';
|
|
21
|
-
import { NgForm } from '@angular/forms';
|
|
22
|
-
import { NgZone } from '@angular/core';
|
|
23
19
|
import { OnChanges } from '@angular/core';
|
|
24
20
|
import { OnDestroy } from '@angular/core';
|
|
25
21
|
import { Platform } from '@angular/cdk/platform';
|
|
@@ -62,7 +58,7 @@ export declare class MatInput implements MatFormFieldControl<any>, OnChanges, On
|
|
|
62
58
|
ngControl: NgControl;
|
|
63
59
|
private _autofillMonitor;
|
|
64
60
|
private _ngZone;
|
|
65
|
-
protected _formField?: MatFormField | undefined;
|
|
61
|
+
protected _formField?: MatFormField | null | undefined;
|
|
66
62
|
protected _uid: string;
|
|
67
63
|
protected _previousNativeValue: any;
|
|
68
64
|
private _inputValueAccessor;
|
|
@@ -157,7 +153,7 @@ export declare class MatInput implements MatFormFieldControl<any>, OnChanges, On
|
|
|
157
153
|
get errorState(): boolean;
|
|
158
154
|
set errorState(value: boolean);
|
|
159
155
|
protected _neverEmptyInputTypes: string[];
|
|
160
|
-
constructor(
|
|
156
|
+
constructor(...args: unknown[]);
|
|
161
157
|
ngAfterViewInit(): void;
|
|
162
158
|
ngOnChanges(): void;
|
|
163
159
|
ngOnDestroy(): void;
|
|
@@ -216,7 +212,7 @@ export declare class MatInput implements MatFormFieldControl<any>, OnChanges, On
|
|
|
216
212
|
private _ensureWheelDefaultBehavior;
|
|
217
213
|
/** Gets the value to set on the `readonly` attribute. */
|
|
218
214
|
protected _getReadonlyAttribute(): string | null;
|
|
219
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatInput,
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatInput, never>;
|
|
220
216
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInput, "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", ["matInput"], { "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "userAriaDescribedBy": { "alias": "aria-describedby"; "required": false; }; "value": { "alias": "value"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; }, {}, never, never, true, never>;
|
|
221
217
|
static ngAcceptInputType_disabledInteractive: unknown;
|
|
222
218
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '@angular/cdk';
|
|
2
1
|
@use '../core/style/vendor-prefixes';
|
|
3
2
|
@use '../core/tokens/m2/mdc/list' as tokens-mdc-list;
|
|
4
3
|
@use '../core/tokens/token-utils';
|
|
@@ -94,6 +93,7 @@
|
|
|
94
93
|
}
|
|
95
94
|
}
|
|
96
95
|
|
|
96
|
+
// Not used in Material, but some internal tests seem to depend on it.
|
|
97
97
|
&.mdc-list-item--selected::before,
|
|
98
98
|
&.mdc-list-item--selected:focus::before,
|
|
99
99
|
&:not(.mdc-list-item--selected):focus::before {
|
|
@@ -103,20 +103,8 @@
|
|
|
103
103
|
height: 100%;
|
|
104
104
|
top: 0;
|
|
105
105
|
left: 0;
|
|
106
|
-
border: 1px solid transparent;
|
|
107
|
-
border-radius: inherit;
|
|
108
106
|
content: '';
|
|
109
107
|
pointer-events: none;
|
|
110
|
-
|
|
111
|
-
@include cdk.high-contrast {
|
|
112
|
-
border-color: CanvasText;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&.mdc-list-item--selected:focus::before,
|
|
117
|
-
&.mdc-list-item--selected::before {
|
|
118
|
-
border-width: 3px;
|
|
119
|
-
border-style: double;
|
|
120
108
|
}
|
|
121
109
|
}
|
|
122
110
|
|
package/list/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
4
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
4
|
import { ElementRef } from '@angular/core';
|
|
6
5
|
import { EventEmitter } from '@angular/core';
|
|
@@ -14,7 +13,6 @@ import { NgZone } from '@angular/core';
|
|
|
14
13
|
import { OnChanges } from '@angular/core';
|
|
15
14
|
import { OnDestroy } from '@angular/core';
|
|
16
15
|
import { OnInit } from '@angular/core';
|
|
17
|
-
import { Platform } from '@angular/cdk/platform';
|
|
18
16
|
import { QueryList } from '@angular/core';
|
|
19
17
|
import { RippleConfig } from '@angular/material/core';
|
|
20
18
|
import { RippleGlobalOptions } from '@angular/material/core';
|
|
@@ -150,14 +148,13 @@ export declare class MatListItem extends MatListItemBase {
|
|
|
150
148
|
get activated(): boolean;
|
|
151
149
|
set activated(activated: boolean);
|
|
152
150
|
_activated: boolean;
|
|
153
|
-
constructor(element: ElementRef, ngZone: NgZone, listBase: MatListBase | null, platform: Platform, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
154
151
|
/**
|
|
155
152
|
* Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
|
|
156
153
|
* Otherwise, return `null`. This method is safe to use with server-side rendering.
|
|
157
154
|
*/
|
|
158
155
|
_getAriaCurrent(): string | null;
|
|
159
156
|
protected _hasBothLeadingAndTrailing(): boolean;
|
|
160
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem,
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, never>;
|
|
161
158
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": { "alias": "activated"; "required": false; }; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], true, never>;
|
|
162
159
|
}
|
|
163
160
|
|
|
@@ -229,7 +226,7 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
|
|
|
229
226
|
* @docs-private
|
|
230
227
|
*/
|
|
231
228
|
get rippleDisabled(): boolean;
|
|
232
|
-
constructor(
|
|
229
|
+
constructor(...args: unknown[]);
|
|
233
230
|
ngAfterViewInit(): void;
|
|
234
231
|
ngOnDestroy(): void;
|
|
235
232
|
/** Whether the list item has icons or avatars. */
|
|
@@ -263,7 +260,7 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
|
|
|
263
260
|
private _inferLinesFromContent;
|
|
264
261
|
/** Checks whether the list item has unscoped text content. */
|
|
265
262
|
private _checkDomForUnscopedTextContent;
|
|
266
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemBase,
|
|
263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemBase, never>;
|
|
267
264
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "lines": { "alias": "lines"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["_avatars", "_icons"], never, true, never>;
|
|
268
265
|
}
|
|
269
266
|
|
|
@@ -276,10 +273,10 @@ declare abstract class MatListItemBase implements AfterViewInit, OnDestroy, Ripp
|
|
|
276
273
|
* correct MDC class to position the icon/avatar on the opposite side.
|
|
277
274
|
*/
|
|
278
275
|
export declare class _MatListItemGraphicBase {
|
|
279
|
-
_listOption: ListOption;
|
|
280
|
-
constructor(
|
|
276
|
+
_listOption: ListOption | null;
|
|
277
|
+
constructor(...args: unknown[]);
|
|
281
278
|
_isAlignedAtStart(): boolean;
|
|
282
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase,
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, never>;
|
|
283
280
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, true, never>;
|
|
284
281
|
}
|
|
285
282
|
|
|
@@ -301,7 +298,7 @@ export declare class MatListItemIcon extends _MatListItemGraphicBase {
|
|
|
301
298
|
*/
|
|
302
299
|
export declare class MatListItemLine {
|
|
303
300
|
_elementRef: ElementRef<HTMLElement>;
|
|
304
|
-
constructor(
|
|
301
|
+
constructor(...args: unknown[]);
|
|
305
302
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
|
|
306
303
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, true, never>;
|
|
307
304
|
}
|
|
@@ -325,7 +322,7 @@ export declare class MatListItemMeta {
|
|
|
325
322
|
*/
|
|
326
323
|
export declare class MatListItemTitle {
|
|
327
324
|
_elementRef: ElementRef<HTMLElement>;
|
|
328
|
-
constructor(
|
|
325
|
+
constructor(...args: unknown[]);
|
|
329
326
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
|
|
330
327
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, true, never>;
|
|
331
328
|
}
|
|
@@ -381,7 +378,6 @@ export declare class MatListOption extends MatListItemBase implements ListOption
|
|
|
381
378
|
* clear the value of `selected` in the first cycle.
|
|
382
379
|
*/
|
|
383
380
|
private _inputsInitialized;
|
|
384
|
-
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, _selectionList: SelectionList, platform: Platform, _changeDetectorRef: ChangeDetectorRef, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
385
381
|
ngOnInit(): void;
|
|
386
382
|
ngOnDestroy(): void;
|
|
387
383
|
/** Toggles the selection state of the option. */
|
|
@@ -417,7 +413,7 @@ export declare class MatListOption extends MatListItemBase implements ListOption
|
|
|
417
413
|
/** Sets the tabindex of the list option. */
|
|
418
414
|
_setTabindex(value: number): void;
|
|
419
415
|
protected _hasBothLeadingAndTrailing(): boolean;
|
|
420
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListOption,
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatListOption, never>;
|
|
421
417
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "togglePosition": { "alias": "togglePosition"; "required": false; }; "checkboxPosition": { "alias": "checkboxPosition"; "required": false; }; "color": { "alias": "color"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"], true, never>;
|
|
422
418
|
}
|
|
423
419
|
|
|
@@ -488,7 +484,7 @@ export declare class MatSelectionList extends MatListBase implements SelectionLi
|
|
|
488
484
|
/** View to model callback that should be called if the list or its options lost focus. */
|
|
489
485
|
_onTouched: () => void;
|
|
490
486
|
private readonly _changeDetectorRef;
|
|
491
|
-
constructor(
|
|
487
|
+
constructor(...args: unknown[]);
|
|
492
488
|
ngAfterViewInit(): void;
|
|
493
489
|
ngOnChanges(changes: SimpleChanges): void;
|
|
494
490
|
ngOnDestroy(): void;
|
package/menu/index.d.ts
CHANGED
|
@@ -2,15 +2,9 @@ import { AfterContentInit } from '@angular/core';
|
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
3
|
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
4
4
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
5
|
-
import { ApplicationRef } from '@angular/core';
|
|
6
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { ComponentFactoryResolver } from '@angular/core';
|
|
8
5
|
import { Direction } from '@angular/cdk/bidi';
|
|
9
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { ElementRef } from '@angular/core';
|
|
11
6
|
import { EventEmitter } from '@angular/core';
|
|
12
7
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
13
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
14
8
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
15
9
|
import * as i0 from '@angular/core';
|
|
16
10
|
import * as i1 from '@angular/common';
|
|
@@ -18,8 +12,6 @@ import * as i2 from '@angular/material/core';
|
|
|
18
12
|
import * as i3 from '@angular/cdk/overlay';
|
|
19
13
|
import * as i8 from '@angular/cdk/scrolling';
|
|
20
14
|
import { InjectionToken } from '@angular/core';
|
|
21
|
-
import { Injector } from '@angular/core';
|
|
22
|
-
import { NgZone } from '@angular/core';
|
|
23
15
|
import { Observable } from 'rxjs';
|
|
24
16
|
import { OnDestroy } from '@angular/core';
|
|
25
17
|
import { OnInit } from '@angular/core';
|
|
@@ -28,7 +20,6 @@ import { QueryList } from '@angular/core';
|
|
|
28
20
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
29
21
|
import { Subject } from 'rxjs';
|
|
30
22
|
import { TemplateRef } from '@angular/core';
|
|
31
|
-
import { ViewContainerRef } from '@angular/core';
|
|
32
23
|
|
|
33
24
|
/**
|
|
34
25
|
* @deprecated
|
|
@@ -104,7 +95,7 @@ export declare const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
104
95
|
|
|
105
96
|
export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuItem>, OnInit, OnDestroy {
|
|
106
97
|
private _elementRef;
|
|
107
|
-
private _changeDetectorRef
|
|
98
|
+
private _changeDetectorRef;
|
|
108
99
|
private _keyManager;
|
|
109
100
|
private _xPosition;
|
|
110
101
|
private _yPosition;
|
|
@@ -190,12 +181,7 @@ export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuIt
|
|
|
190
181
|
readonly close: EventEmitter<MenuCloseReason>;
|
|
191
182
|
readonly panelId: string;
|
|
192
183
|
private _injector;
|
|
193
|
-
constructor(
|
|
194
|
-
/**
|
|
195
|
-
* @deprecated `_changeDetectorRef` to become a required parameter.
|
|
196
|
-
* @breaking-change 15.0.0
|
|
197
|
-
*/
|
|
198
|
-
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions, changeDetectorRef?: ChangeDetectorRef);
|
|
184
|
+
constructor(...args: unknown[]);
|
|
199
185
|
ngOnInit(): void;
|
|
200
186
|
ngAfterContentInit(): void;
|
|
201
187
|
ngOnDestroy(): void;
|
|
@@ -273,17 +259,12 @@ export declare class MatMenuContent implements OnDestroy {
|
|
|
273
259
|
private _injector;
|
|
274
260
|
private _viewContainerRef;
|
|
275
261
|
private _document;
|
|
276
|
-
private _changeDetectorRef
|
|
262
|
+
private _changeDetectorRef;
|
|
277
263
|
private _portal;
|
|
278
264
|
private _outlet;
|
|
279
265
|
/** Emits when the menu content has been attached. */
|
|
280
266
|
readonly _attached: Subject<void>;
|
|
281
|
-
constructor(
|
|
282
|
-
/**
|
|
283
|
-
* @deprecated `changeDetectorRef` is now a required parameter.
|
|
284
|
-
* @breaking-change 9.0.0
|
|
285
|
-
*/
|
|
286
|
-
constructor(template: TemplateRef<any>, componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, viewContainerRef: ViewContainerRef, document: any, changeDetectorRef?: ChangeDetectorRef);
|
|
267
|
+
constructor(...args: unknown[]);
|
|
287
268
|
/**
|
|
288
269
|
* Attaches the content with a particular context.
|
|
289
270
|
* @docs-private
|
|
@@ -320,10 +301,10 @@ export declare interface MatMenuDefaultOptions {
|
|
|
320
301
|
*/
|
|
321
302
|
export declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDestroy {
|
|
322
303
|
private _elementRef;
|
|
323
|
-
private _document
|
|
324
|
-
private _focusMonitor
|
|
325
|
-
_parentMenu?: MatMenuPanel<MatMenuItem> | undefined;
|
|
326
|
-
private _changeDetectorRef
|
|
304
|
+
private _document;
|
|
305
|
+
private _focusMonitor;
|
|
306
|
+
_parentMenu?: MatMenuPanel<MatMenuItem> | null | undefined;
|
|
307
|
+
private _changeDetectorRef;
|
|
327
308
|
/** ARIA role for the menu item. */
|
|
328
309
|
role: 'menuitem' | 'menuitemradio' | 'menuitemcheckbox';
|
|
329
310
|
/** Whether the menu item is disabled. */
|
|
@@ -338,12 +319,7 @@ export declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDe
|
|
|
338
319
|
_highlighted: boolean;
|
|
339
320
|
/** Whether the menu item acts as a trigger for a sub-menu. */
|
|
340
321
|
_triggersSubmenu: boolean;
|
|
341
|
-
constructor(
|
|
342
|
-
/**
|
|
343
|
-
* @deprecated `document`, `changeDetectorRef` and `focusMonitor` to become required.
|
|
344
|
-
* @breaking-change 12.0.0
|
|
345
|
-
*/
|
|
346
|
-
constructor(elementRef: ElementRef<HTMLElement>, document?: any, focusMonitor?: FocusMonitor, parentMenu?: MatMenuPanel<MatMenuItem>, changeDetectorRef?: ChangeDetectorRef);
|
|
322
|
+
constructor(...args: unknown[]);
|
|
347
323
|
/** Focuses the menu item. */
|
|
348
324
|
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
349
325
|
ngAfterViewInit(): void;
|
|
@@ -361,7 +337,7 @@ export declare class MatMenuItem implements FocusableOption, AfterViewInit, OnDe
|
|
|
361
337
|
_setHighlighted(isHighlighted: boolean): void;
|
|
362
338
|
_setTriggersSubmenu(triggersSubmenu: boolean): void;
|
|
363
339
|
_hasFocus(): boolean;
|
|
364
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuItem,
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuItem, never>;
|
|
365
341
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuItem, "[mat-menu-item]", ["matMenuItem"], { "role": { "alias": "role"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, never, ["mat-icon, [matMenuItemIcon]", "*"], true, never>;
|
|
366
342
|
static ngAcceptInputType_disabled: unknown;
|
|
367
343
|
static ngAcceptInputType_disableRipple: unknown;
|
|
@@ -414,15 +390,15 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
414
390
|
private _menuItemInstance;
|
|
415
391
|
private _dir;
|
|
416
392
|
private _focusMonitor;
|
|
417
|
-
private _ngZone
|
|
393
|
+
private _ngZone;
|
|
394
|
+
private _scrollStrategy;
|
|
395
|
+
private _changeDetectorRef;
|
|
418
396
|
private _portal;
|
|
419
397
|
private _overlayRef;
|
|
420
398
|
private _menuOpen;
|
|
421
399
|
private _closingActionsSubscription;
|
|
422
400
|
private _hoverSubscription;
|
|
423
401
|
private _menuCloseSubscription;
|
|
424
|
-
private _scrollStrategy;
|
|
425
|
-
private _changeDetectorRef;
|
|
426
402
|
/**
|
|
427
403
|
* We're specifically looking for a `MatMenu` here since the generic `MatMenuPanel`
|
|
428
404
|
* interface lacks some functionality around nested menus and animations.
|
|
@@ -473,17 +449,7 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
473
449
|
* @breaking-change 8.0.0
|
|
474
450
|
*/
|
|
475
451
|
readonly onMenuClose: EventEmitter<void>;
|
|
476
|
-
constructor(
|
|
477
|
-
/**
|
|
478
|
-
* @deprecated `focusMonitor` will become a required parameter.
|
|
479
|
-
* @breaking-change 8.0.0
|
|
480
|
-
*/
|
|
481
|
-
constructor(overlay: Overlay, element: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef, scrollStrategy: any, parentMenu: MatMenuPanel, menuItemInstance: MatMenuItem, dir: Directionality, focusMonitor?: FocusMonitor | null);
|
|
482
|
-
/**
|
|
483
|
-
* @deprecated `ngZone` will become a required parameter.
|
|
484
|
-
* @breaking-change 15.0.0
|
|
485
|
-
*/
|
|
486
|
-
constructor(overlay: Overlay, element: ElementRef<HTMLElement>, viewContainerRef: ViewContainerRef, scrollStrategy: any, parentMenu: MatMenuPanel, menuItemInstance: MatMenuItem, dir: Directionality, focusMonitor: FocusMonitor);
|
|
452
|
+
constructor(...args: unknown[]);
|
|
487
453
|
ngAfterContentInit(): void;
|
|
488
454
|
ngOnDestroy(): void;
|
|
489
455
|
/** Whether the menu is open. */
|
|
@@ -551,7 +517,7 @@ export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
|
551
517
|
private _handleHover;
|
|
552
518
|
/** Gets the portal that should be attached to the overlay. */
|
|
553
519
|
private _getPortal;
|
|
554
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger,
|
|
520
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger, never>;
|
|
555
521
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], { "_deprecatedMatMenuTriggerFor": { "alias": "mat-menu-trigger-for"; "required": false; }; "menu": { "alias": "matMenuTriggerFor"; "required": false; }; "menuData": { "alias": "matMenuTriggerData"; "required": false; }; "restoreFocus": { "alias": "matMenuTriggerRestoreFocus"; "required": false; }; }, { "menuOpened": "menuOpened"; "onMenuOpen": "onMenuOpen"; "menuClosed": "menuClosed"; "onMenuClose": "onMenuClose"; }, never, never, true, never>;
|
|
556
522
|
}
|
|
557
523
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.5",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
},
|
|
347
347
|
"peerDependencies": {
|
|
348
348
|
"@angular/animations": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
349
|
-
"@angular/cdk": "19.0.0-next.
|
|
349
|
+
"@angular/cdk": "19.0.0-next.5",
|
|
350
350
|
"@angular/core": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
351
351
|
"@angular/common": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|
|
352
352
|
"@angular/forms": "^19.0.0-0 || ^19.1.0-0 || ^19.2.0-0 || ^19.3.0-0 || ^20.0.0-0",
|