build(aio): update to @angular/material@6.0.0-rc.1 (#23234)

PR Close #23234
This commit is contained in:
Igor Minar 2018-04-07 01:18:00 -07:00 committed by Jason Aden
parent 87e9f333d4
commit d35f84a167
4 changed files with 13 additions and 12 deletions

View File

@ -71,14 +71,14 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.0-rc.3", "@angular/animations": "^6.0.0-rc.3",
"@angular/cdk": "^5.2.4", "@angular/cdk": "^6.0.0-rc.1",
"@angular/common": "^6.0.0-rc.3", "@angular/common": "^6.0.0-rc.3",
"@angular/compiler": "^6.0.0-rc.3", "@angular/compiler": "^6.0.0-rc.3",
"@angular/core": "^6.0.0-rc.3", "@angular/core": "^6.0.0-rc.3",
"@angular/elements": "^6.0.0-rc.3", "@angular/elements": "^6.0.0-rc.3",
"@angular/forms": "^6.0.0-rc.3", "@angular/forms": "^6.0.0-rc.3",
"@angular/http": "^6.0.0-rc.3", "@angular/http": "^6.0.0-rc.3",
"@angular/material": "^5.2.4", "@angular/material": "^6.0.0-rc.1",
"@angular/platform-browser": "^6.0.0-rc.3", "@angular/platform-browser": "^6.0.0-rc.3",
"@angular/platform-browser-dynamic": "^6.0.0-rc.3", "@angular/platform-browser-dynamic": "^6.0.0-rc.3",
"@angular/platform-server": "^6.0.0-rc.3", "@angular/platform-server": "^6.0.0-rc.3",

View File

@ -3,7 +3,7 @@
"master": { "master": {
"uncompressed": { "uncompressed": {
"runtime": 2689, "runtime": 2689,
"main": 562050, "main": 474347,
"polyfills": 38587, "polyfills": 38587,
"prettify": 14886 "prettify": 14886
} }

View File

@ -1,4 +1,5 @@
import { InjectionToken, Inject, Injectable } from '@angular/core'; import { InjectionToken, Inject, Injectable, Optional } from '@angular/core';
import { DOCUMENT } from '@angular/common';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { MatIconRegistry } from '@angular/material/icon'; import { MatIconRegistry } from '@angular/material/icon';
import { HttpClient } from '@angular/common/http'; import { HttpClient } from '@angular/common/http';
@ -35,8 +36,8 @@ interface SvgIconMap {
export class CustomIconRegistry extends MatIconRegistry { export class CustomIconRegistry extends MatIconRegistry {
private preloadedSvgElements: SvgIconMap = {}; private preloadedSvgElements: SvgIconMap = {};
constructor(http: HttpClient, sanitizer: DomSanitizer, @Inject(SVG_ICONS) svgIcons: SvgIconInfo[]) { constructor(http: HttpClient, sanitizer: DomSanitizer, @Optional() @Inject(DOCUMENT) document, @Inject(SVG_ICONS) svgIcons: SvgIconInfo[]) {
super(http, sanitizer); super(http, sanitizer, document);
this.loadSvgElements(svgIcons); this.loadSvgElements(svgIcons);
} }

View File

@ -98,9 +98,9 @@
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"
"@angular/cdk@^5.2.4": "@angular/cdk@^6.0.0-rc.1":
version "5.2.4" version "6.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-5.2.4.tgz#c0a429a8710d8fedb157f546e21cb49d4335f7f7" resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-6.0.0-rc.1.tgz#f0b71280f6ef6d069722f94fecd51649684a7cfb"
dependencies: dependencies:
tslib "^1.7.1" tslib "^1.7.1"
@ -171,9 +171,9 @@
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"
"@angular/material@^5.2.4": "@angular/material@^6.0.0-rc.1":
version "5.2.4" version "6.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@angular/material/-/material-5.2.4.tgz#9e823798324283d23ea839156fac5bcb73443d55" resolved "https://registry.yarnpkg.com/@angular/material/-/material-6.0.0-rc.1.tgz#4f5d76aa6c1d34907027d0d410669f92490eef09"
dependencies: dependencies:
tslib "^1.7.1" tslib "^1.7.1"