These are chat archives for angular/material

10th
Aug 2018
S E R A Y A
@takahser
Aug 10 2018 01:57

When using Angular Material with Angular Universal, I get a lot of warnings of this type:

WARNING in ./src/app/manage/users/manage-users.component.ngfactory.js
46:479-518 "export 'MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS' (imported as 'i3') was not found in '@angular/material/progress-spinner'

WARNING in ./node_modules/@angular/material/menu/typings/index.ngfactory.js
49:191-198 "export 'ɵf24' (imported as 'i1') was not found in '@angular/material/menu'

It happens both with the most recent versions (Angular & Angular Material 6.4.3) as well as the one I previously used (Angular & Angular Material 6.0.9)

whenever I use a <mat-menu> or <mat-spinner> in my markup, this warning would appear
hence, I got like 20 of those
codymikol
@codymikol
Aug 10 2018 02:03
You should check out the material2 channel, this is for angular 1.x
S E R A Y A
@takahser
Aug 10 2018 02:14
oh i see, thanks!
Brian A.
@brjadams
Aug 10 2018 02:51
anyone pushed an observable to the CDK data table? I'm having trouble getting that to work as a data source
codymikol
@codymikol
Aug 10 2018 02:52
You should check out the material2 channel, this is for angular 1.x
Brian A.
@brjadams
Aug 10 2018 02:52
oh.
Steve Mbiele
@fastboyz_gitlab
Aug 10 2018 19:49
hi
i am havin a little issue with applying a dark theme
my style sheet looks like this:
@import '~@angular/material/theming';
@include mat-core();
$primary: mat-palette($mat-red);
$accent:  mat-palette($mat-green, A200, A100, A400);
$theme: mat-dark-theme($primary, $accent);
@include angular-material-theme($theme);
html, body { height: 100%; }
body { margin: 0; font-family: 'Roboto', sans-serif; }
but my page is still white, and all the controls also became light
Steve Mbiele
@fastboyz_gitlab
Aug 10 2018 19:54
like so
Can someone please tell me if I am doing something wrong?
codymikol
@codymikol
Aug 10 2018 21:05
You should check out the material2 channel, this is for angular 1.x