5
5
``` ts
6
6
7
7
import { ElementRef } from ' @angular/core' ;
8
- import { fadeInItems } from ' @angular/material/menu' ;
8
+ import { fadeInItems as fadeInLegacyItems } from ' @angular/material/menu' ;
9
9
import * as i0 from ' @angular/core' ;
10
10
import * as i5 from ' @angular/common' ;
11
11
import * as i6 from ' @angular/material/core' ;
12
12
import * as i7 from ' @angular/cdk/overlay' ;
13
13
import * as i8 from ' @angular/cdk/scrolling' ;
14
- import { MAT_MENU_CONTENT } from ' @angular/material/menu' ;
15
- import { MAT_MENU_DEFAULT_OPTIONS } from ' @angular/material/menu' ;
16
- import { MAT_MENU_PANEL } from ' @angular/material/menu' ;
17
- import { MAT_MENU_SCROLL_STRATEGY } from ' @angular/material/menu' ;
14
+ import { MenuPositionX as LegacyMenuPositionX } from ' @angular/material/menu' ;
15
+ import { MenuPositionY as LegacyMenuPositionY } from ' @angular/material/menu' ;
16
+ import { MAT_MENU_CONTENT as MAT_LEGACY_MENU_CONTENT } from ' @angular/material/menu' ;
17
+ import { MAT_MENU_DEFAULT_OPTIONS as MAT_LEGACY_MENU_DEFAULT_OPTIONS } from ' @angular/material/menu' ;
18
+ import { MAT_MENU_PANEL as MAT_LEGACY_MENU_PANEL } from ' @angular/material/menu' ;
19
+ import { MAT_MENU_SCROLL_STRATEGY as MAT_LEGACY_MENU_SCROLL_STRATEGY } from ' @angular/material/menu' ;
20
+ import { matMenuAnimations as matLegacyMenuAnimations } from ' @angular/material/menu' ;
21
+ import { MatMenuDefaultOptions as MatLegacyMenuDefaultOptions } from ' @angular/material/menu' ;
18
22
import { MatMenuPanel as MatLegacyMenuPanel } from ' @angular/material/menu' ;
19
- import { matMenuAnimations } from ' @angular/material/menu' ;
20
23
import { _MatMenuBase } from ' @angular/material/menu' ;
21
24
import { _MatMenuContentBase } from ' @angular/material/menu' ;
22
- import { MatMenuDefaultOptions } from ' @angular/material/menu' ;
23
25
import { MatMenuItem } from ' @angular/material/menu' ;
24
26
import { _MatMenuTriggerBase } from ' @angular/material/menu' ;
25
- import { MenuPositionX } from ' @angular/material/menu' ;
26
- import { MenuPositionY } from ' @angular/material/menu' ;
27
27
import { NgZone } from ' @angular/core' ;
28
- import { transformMenu } from ' @angular/material/menu' ;
28
+ import { transformMenu as transformLegacyMenu } from ' @angular/material/menu' ;
29
29
30
- export { fadeInItems }
30
+ export { fadeInLegacyItems }
31
31
32
- export { MAT_MENU_CONTENT }
32
+ export { LegacyMenuPositionX }
33
33
34
- export { MAT_MENU_DEFAULT_OPTIONS }
34
+ export { LegacyMenuPositionY }
35
35
36
- export { MAT_MENU_PANEL }
36
+ export { MAT_LEGACY_MENU_CONTENT }
37
37
38
- export { MAT_MENU_SCROLL_STRATEGY }
38
+ export { MAT_LEGACY_MENU_DEFAULT_OPTIONS }
39
+
40
+ export { MAT_LEGACY_MENU_PANEL }
41
+
42
+ export { MAT_LEGACY_MENU_SCROLL_STRATEGY }
39
43
40
44
// @public
41
45
export class MatLegacyMenu extends _MatMenuBase {
42
46
// @deprecated
43
- constructor (elementRef : ElementRef <HTMLElement >, ngZone : NgZone , defaultOptions : MatMenuDefaultOptions );
47
+ constructor (elementRef : ElementRef <HTMLElement >, ngZone : NgZone , defaultOptions : MatLegacyMenuDefaultOptions );
44
48
// (undocumented)
45
49
protected _baseElevation: number ;
46
50
// (undocumented)
@@ -51,6 +55,8 @@ export class MatLegacyMenu extends _MatMenuBase {
51
55
static ɵfac: i0 .ɵɵFactoryDeclaration <MatLegacyMenu , never >;
52
56
}
53
57
58
+ export { matLegacyMenuAnimations }
59
+
54
60
// @public
55
61
export class MatLegacyMenuContent extends _MatMenuContentBase {
56
62
// (undocumented)
@@ -59,6 +65,8 @@ export class MatLegacyMenuContent extends _MatMenuContentBase {
59
65
static ɵfac: i0 .ɵɵFactoryDeclaration <MatLegacyMenuContent , never >;
60
66
}
61
67
68
+ export { MatLegacyMenuDefaultOptions }
69
+
62
70
// @public
63
71
export class MatLegacyMenuItem extends MatMenuItem {
64
72
// (undocumented)
@@ -87,15 +95,7 @@ export class MatLegacyMenuTrigger extends _MatMenuTriggerBase {
87
95
static ɵfac: i0 .ɵɵFactoryDeclaration <MatLegacyMenuTrigger , never >;
88
96
}
89
97
90
- export { matMenuAnimations }
91
-
92
- export { MatMenuDefaultOptions }
93
-
94
- export { MenuPositionX }
95
-
96
- export { MenuPositionY }
97
-
98
- export { transformMenu }
98
+ export { transformLegacyMenu }
99
99
100
100
// (No @packageDocumentation comment for this package)
101
101
0 commit comments