File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ ng_module(
12
12
deps = [
13
13
"//src/cdk/bidi" ,
14
14
"//src/cdk/overlay" ,
15
+ "//src/material/button" ,
15
16
"//src/material/core" ,
16
17
"//src/material/icon" ,
17
- "//src/material/legacy-button" ,
18
- "//src/material/legacy-list" ,
18
+ "//src/material/list" ,
19
19
"//src/material/sidenav" ,
20
20
"//src/material/toolbar" ,
21
21
"@npm//@angular/router" ,
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
import { Component } from '@angular/core' ;
10
- import { MatLegacyButtonModule } from '@angular/material/legacy- button' ;
10
+ import { MatButtonModule } from '@angular/material/button' ;
11
11
import { RouterModule } from '@angular/router' ;
12
12
13
13
@Component ( {
@@ -18,6 +18,6 @@ import {RouterModule} from '@angular/router';
18
18
` ,
19
19
host : { 'class' : 'mat-typography' } ,
20
20
standalone : true ,
21
- imports : [ MatLegacyButtonModule , RouterModule ] ,
21
+ imports : [ MatButtonModule , RouterModule ] ,
22
22
} )
23
23
export class DevApp404 { }
Original file line number Diff line number Diff line change 44
44
</ button >
45
45
< div class ="demo-toolbar ">
46
46
< h1 > Angular Material Demos</ h1 >
47
- < div >
47
+ < div class =" demo-config-buttons " >
48
48
< button mat-icon-button (click) ="toggleFullscreen() " title ="Toggle fullscreen ">
49
49
< mat-icon > fullscreen</ mat-icon >
50
50
</ button >
Original file line number Diff line number Diff line change 18
18
min-width : 15vw ;
19
19
position : fixed ;
20
20
21
- .mat-button {
21
+ .mat-mdc- button {
22
22
width : 100% ;
23
23
position : relative ;
24
24
bottom : 0 ;
@@ -69,3 +69,12 @@ body {
69
69
// Removes extra space on top of toolbar on IE.
70
70
display : block ;
71
71
}
72
+
73
+ .demo-config-buttons {
74
+ display : flex ;
75
+ align-items : center ;
76
+
77
+ .mat-mdc-button-base {
78
+ --mdc-text-button-label-text-color : inherit ;
79
+ }
80
+ }
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import {DevAppDirectionality} from './dev-app-directionality';
13
13
import { DevAppRippleOptions } from './ripple-options' ;
14
14
import { CommonModule , DOCUMENT } from '@angular/common' ;
15
15
import { MatSidenavModule } from '@angular/material/sidenav' ;
16
- import { MatLegacyListModule } from '@angular/material/legacy- list' ;
17
- import { MatLegacyButtonModule } from '@angular/material/legacy- button' ;
16
+ import { MatListModule } from '@angular/material/list' ;
17
+ import { MatButtonModule } from '@angular/material/button' ;
18
18
import { RouterModule } from '@angular/router' ;
19
19
import { MatIconModule } from '@angular/material/icon' ;
20
20
import { MatToolbarModule } from '@angular/material/toolbar' ;
@@ -32,9 +32,9 @@ export const ANIMATIONS_STORAGE_KEY = 'ANGULAR_COMPONENTS_ANIMATIONS_DISABLED';
32
32
standalone : true ,
33
33
imports : [
34
34
CommonModule ,
35
- MatLegacyButtonModule ,
35
+ MatButtonModule ,
36
36
MatIconModule ,
37
- MatLegacyListModule ,
37
+ MatListModule ,
38
38
MatSidenavModule ,
39
39
MatToolbarModule ,
40
40
RouterModule ,
You can’t perform that action at this time.
0 commit comments