Skip to content

Commit 5e3d782

Browse files
committed
mdc migration
1 parent 140b700 commit 5e3d782

32 files changed

Lines changed: 340 additions & 532 deletions

package-lock.json

Lines changed: 293 additions & 495 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import { DataService } from './data.service';
1010
import { Router, NavigationEnd } from '@angular/router';
1111
import { Helpers } from './helpers';
12-
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
12+
import { MatSnackBar } from '@angular/material/snack-bar';
1313
import { SwUpdate, SwPush } from '@angular/service-worker';
1414
import { environment } from '../environments/environment';
1515
import { INotification } from './interfaces';

src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { FormsModule } from "@angular/forms";
99
import { RouterModule } from "@angular/router";
1010
import { RouteReuseStrategy } from "@angular/router";
1111
import { LayoutModule } from "@angular/cdk/layout";
12-
import { MatLegacyTabsModule as MatTabsModule } from "@angular/material/legacy-tabs";
12+
import { MatTabsModule } from "@angular/material/tabs";
1313

1414
// Basic app imports
1515
import { AppComponent } from "./app.component";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
13
mat-card {
24
background-color: transparent;
35
}

src/app/card/communitypost-card/communitypost-card.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit, Input, ChangeDetectorRef } from '@angular/core';
2-
import { MatLegacyDialog as MatDialog, MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
2+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
33
import { Router } from '@angular/router';
44
import { API } from '../../../api';
55
import { environment } from '../../../environments/environment';

src/app/card/event-card/event-card.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
13
mat-card {
24
background-color: transparent;
35
}

src/app/card/interest-card/interest-card.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
13
mat-card {
24
background-color: transparent;
35
}

src/app/card/interest-card/interest-card.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IInterest } from '../../interfaces';
33
import { DataService } from '../../data.service';
44
import { UserDetailsComponent } from '../../page/user-details/user-details.component';
55
import { ActivatedRoute, Router } from '@angular/router';
6-
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
6+
import { MatSnackBar } from '@angular/material/snack-bar';
77

88
@Component({
99
selector: 'app-interest-card',

src/app/card/post-card/post-card.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
13
mat-card {
24
background-color: transparent;
35
}

src/app/card/user-card/user-card.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
13
mat-card {
24
background-color: transparent;
35
}

0 commit comments

Comments
 (0)