diff --git a/src/app/app.component.scss b/src/app/app.component.scss
index 92c9ce1..d826e30 100644
--- a/src/app/app.component.scss
+++ b/src/app/app.component.scss
@@ -3,7 +3,7 @@ https://github.com/jtangelder/sass-loader/issues/211 */
@import './variables';
// using Modernizer CSS classes to detect if browser supports the W3C Touch Events API
-:host-context(.mod-touchevents) [md-button]:hover::after, [md-icon-button]:hover::after {
+:host-context(.mod-touchevents) [mat-button]:hover::after, [mat-icon-button]:hover::after {
content: none;
}
diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts
index 4d96bcf..8b9073d 100644
--- a/src/app/app.component.spec.ts
+++ b/src/app/app.component.spec.ts
@@ -3,7 +3,7 @@ import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { ReactiveFormsModule } from '@angular/forms';
-import { MaterialModule } from '@angular/material';
+import { DktMaterialModule } from './dkt-material.module';
import { AppComponent } from './app.component';
import { DashboardComponent } from './features/dashboard.component';
@@ -17,7 +17,7 @@ describe('App Component', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [
- MaterialModule.forRoot(),
+ DktMaterialModule,
ReactiveFormsModule,
RouterTestingModule.withRoutes(routes),
StoreDevToolsModule
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index b438cfb..720ade8 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -1,7 +1,7 @@
import { Component, ViewEncapsulation, OnInit, OnDestroy, NgZone } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { UserLoginService, CognitoUtil } from './core/services';
-import { MdIconRegistry, MdSnackBar, MdSnackBarConfig } from '@angular/material';
+import { MatIconRegistry, MatSnackBar, MatSnackBarConfig } from '@angular/material';
import { DomSanitizer } from '@angular/platform-browser';
@Component({
@@ -18,25 +18,25 @@ export class AppComponent implements OnInit, OnDestroy {
constructor(
public route: ActivatedRoute,
public router: Router,
- private mdIconRegistry: MdIconRegistry,
+ private matIconRegistry: MatIconRegistry,
private sanitizer: DomSanitizer,
private ngZone: NgZone,
- public snackBar: MdSnackBar
+ public snackBar: MatSnackBar
) {
// Register custom DKT icons
- mdIconRegistry.addSvgIcon(
+ matIconRegistry.addSvgIcon(
'flow',
sanitizer.bypassSecurityTrustResourceUrl('/assets/icon/flow.svg')
);
- mdIconRegistry.addSvgIcon(
+ matIconRegistry.addSvgIcon(
'sort_asc',
sanitizer.bypassSecurityTrustResourceUrl('/assets/icon/sort_asc.svg')
);
- mdIconRegistry.addSvgIcon(
+ matIconRegistry.addSvgIcon(
'sort_desc',
sanitizer.bypassSecurityTrustResourceUrl('/assets/icon/sort_desc.svg')
);
- mdIconRegistry.addSvgIcon(
+ matIconRegistry.addSvgIcon(
'aws',
sanitizer.bypassSecurityTrustResourceUrl('/assets/icon/aws.svg')
);
@@ -51,7 +51,7 @@ export class AppComponent implements OnInit, OnDestroy {
}
showMessage(message: string, type: string = 'info') {
- let config = new MdSnackBarConfig();
+ let config = new MatSnackBarConfig();
config.duration = 2000;
config.extraClasses = [type];
this.snackBar.open(message, 'OK', config);
diff --git a/src/app/app.imports.ts b/src/app/app.imports.ts
index cd86c3e..2339932 100644
--- a/src/app/app.imports.ts
+++ b/src/app/app.imports.ts
@@ -1,10 +1,10 @@
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
-import { DynamicFormsCoreModule } from '@ng2-dynamic-forms/core';
-import { DynamicFormsMaterialUIModule } from '@ng2-dynamic-forms/ui-material';
+import { DynamicFormsCoreModule } from '@ng-dynamic-forms/core';
+import { DynamicFormsMaterialUIModule } from '@ng-dynamic-forms/ui-material';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
import { IdlePreload, IdlePreloadModule } from '@angularclass/idle-preload';
-import { MaterialModule } from '@angular/material';
+import { DktMaterialModule } from './dkt-material.module';
import { FlexLayoutModule } from '@angular/flex-layout';
import { EffectsModule } from '@ngrx/effects';
@@ -44,7 +44,7 @@ if (ENV === 'development' && !AOT &&
export const APP_IMPORTS = [
BrowserAnimationsModule,
EffectsModule.run(UserEffects),
- MaterialModule,
+ DktMaterialModule,
FlexLayoutModule,
FormsModule,
BrowserAnimationsModule,
diff --git a/src/app/core/components/account/account.component.html b/src/app/core/components/account/account.component.html
index c80a60f..fbe0c60 100644
--- a/src/app/core/components/account/account.component.html
+++ b/src/app/core/components/account/account.component.html
@@ -1,20 +1,20 @@
-
-
+
-
+
- account_circle
+ account_circle
{{getUsername()}}
- keyboard_arrow_down
+ keyboard_arrow_down
\ No newline at end of file
diff --git a/src/app/core/components/account/account.component.scss b/src/app/core/components/account/account.component.scss
index 89df6ff..7da7b18 100644
--- a/src/app/core/components/account/account.component.scss
+++ b/src/app/core/components/account/account.component.scss
@@ -1,3 +1,3 @@
-md-icon[aria-label="account_circle"] {
+mat-icon.account {
margin-right: 0.3rem;
}
\ No newline at end of file
diff --git a/src/app/core/components/confirm-sign-up/confirm-sign-up.component.html b/src/app/core/components/confirm-sign-up/confirm-sign-up.component.html
index 0b95244..8e62d69 100644
--- a/src/app/core/components/confirm-sign-up/confirm-sign-up.component.html
+++ b/src/app/core/components/confirm-sign-up/confirm-sign-up.component.html
@@ -1,12 +1,12 @@
Please check your e-mail and enter your registration code.
diff --git a/src/app/core/components/forgot-password/forgot-password.component.html b/src/app/core/components/forgot-password/forgot-password.component.html
index 5f6581d..074f805 100644
--- a/src/app/core/components/forgot-password/forgot-password.component.html
+++ b/src/app/core/components/forgot-password/forgot-password.component.html
@@ -1,17 +1,17 @@
Please enter the verification code below, along with the new password you would like to use.
diff --git a/src/app/core/components/google-signin/google-signin.component.html b/src/app/core/components/google-signin/google-signin.component.html
index e821ec9..8f4996f 100644
--- a/src/app/core/components/google-signin/google-signin.component.html
+++ b/src/app/core/components/google-signin/google-signin.component.html
@@ -1,4 +1,4 @@
-
-
+
+
{{action}} with Google
diff --git a/src/app/core/components/google-signin/google-signin.component.scss b/src/app/core/components/google-signin/google-signin.component.scss
index 68a65ff..4f4235e 100644
--- a/src/app/core/components/google-signin/google-signin.component.scss
+++ b/src/app/core/components/google-signin/google-signin.component.scss
@@ -1,5 +1,5 @@
#googleSignInBtn {
- md-icon {
+ mat-icon {
width: 20px;
height: 20px;
line-height: 20px;
diff --git a/src/app/core/components/google-signin/google-signin.component.ts b/src/app/core/components/google-signin/google-signin.component.ts
index 4f8cfe3..5afdfaf 100644
--- a/src/app/core/components/google-signin/google-signin.component.ts
+++ b/src/app/core/components/google-signin/google-signin.component.ts
@@ -1,6 +1,6 @@
import { Component, NgZone, Input, AfterViewInit } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
-import { MdIconRegistry } from '@angular/material';
+import { MatIconRegistry } from '@angular/material';
import { Router } from '@angular/router';
import { googleSignInConfig } from './../../config';
import { LoginUiState, UserLoginService } from './../../services';
@@ -18,12 +18,12 @@ export class GoogleSigninComponent implements AfterViewInit {
constructor(
public router: Router,
public zone: NgZone,
- private mdIconRegistry: MdIconRegistry,
+ private matIconRegistry: MatIconRegistry,
private sanitizer: DomSanitizer,
private loginUi: LoginUiState
) {
// Register "google" icon
- mdIconRegistry.addSvgIcon(
+ matIconRegistry.addSvgIcon(
'google',
sanitizer.bypassSecurityTrustResourceUrl('/assets/icon/google.svg')
);
diff --git a/src/app/core/components/loading-indicator/loading-indicator.component.html b/src/app/core/components/loading-indicator/loading-indicator.component.html
index 6590fef..8dcb2be 100644
--- a/src/app/core/components/loading-indicator/loading-indicator.component.html
+++ b/src/app/core/components/loading-indicator/loading-indicator.component.html
@@ -1,4 +1,4 @@
-
+
{{text}}
\ No newline at end of file
diff --git a/src/app/core/components/loading-indicator/loading-indicator.component.scss b/src/app/core/components/loading-indicator/loading-indicator.component.scss
index a2ded23..553da66 100644
--- a/src/app/core/components/loading-indicator/loading-indicator.component.scss
+++ b/src/app/core/components/loading-indicator/loading-indicator.component.scss
@@ -6,12 +6,6 @@
transform: translateX(-50%);
}
- md-spinner {
- display: inline-block;
- width: 20px!important;
- height: 20px!important;
- }
-
span {
margin-left:0.5rem;
color: #BDBDBD;
diff --git a/src/app/core/components/login/login.component.html b/src/app/core/components/login/login.component.html
index 5e23a8b..78434d6 100644
--- a/src/app/core/components/login/login.component.html
+++ b/src/app/core/components/login/login.component.html
@@ -1,6 +1,6 @@
-
-
+
+
{{ui.title}}
@@ -17,6 +17,6 @@ {{ui.title}}
-
-
+
+
diff --git a/src/app/core/components/login/login.component.scss b/src/app/core/components/login/login.component.scss
index 29f0bc9..80f4152 100644
--- a/src/app/core/components/login/login.component.scss
+++ b/src/app/core/components/login/login.component.scss
@@ -12,7 +12,7 @@ $text-color: #666;
height:100%;
animation: FadeIn 0.3s;
- md-card {
+ mat-card {
max-width: $width;
padding: $padding;
}
diff --git a/src/app/core/components/main-nav/main-nav.component.html b/src/app/core/components/main-nav/main-nav.component.html
index d1bada7..2c8602f 100644
--- a/src/app/core/components/main-nav/main-nav.component.html
+++ b/src/app/core/components/main-nav/main-nav.component.html
@@ -1,10 +1,10 @@
diff --git a/src/app/core/components/main-nav/main-nav.component.scss b/src/app/core/components/main-nav/main-nav.component.scss
index 0c39aef..c371177 100644
--- a/src/app/core/components/main-nav/main-nav.component.scss
+++ b/src/app/core/components/main-nav/main-nav.component.scss
@@ -35,7 +35,7 @@ https://github.com/jtangelder/sass-loader/issues/211 */
color:white;
}
- md-icon {
+ mat-icon {
margin-right:5px;
}
}
diff --git a/src/app/core/components/render/render.component.html b/src/app/core/components/render/render.component.html
index 9deb519..e10a01d 100644
--- a/src/app/core/components/render/render.component.html
+++ b/src/app/core/components/render/render.component.html
@@ -1,8 +1,8 @@