Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 347477c

Browse files
committed
chore(package): Publish Angular MDC v0.40.1
1 parent 1a77566 commit 347477c

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

demos/components/dialog-demo/dialog-demo.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,14 @@ <h3 class="demo-content__headline">Sharing data with the Dialog component</h3>
286286
<pre>
287287
<![CDATA[
288288
import { Component, Inject } from '@angular/core';
289-
import { MdcDialogRef } from '@angular-mdc/web';
289+
import { MdcDialogRef, MDC_DIALOG_DATA } from '@angular-mdc/web';
290290
@Component({
291291
// ...
292292
})
293293
export class YourDialog {
294-
constructor(public dialogRef: MdcDialogRef<YourDialog>) {
295-
userName: string = this.dialogRef.data.userName;
294+
constructor(public dialogRef: MdcDialogRef<YourDialog>,
295+
@Inject(MDC_DIALOG_DATA) public data: DialogData) {
296+
userName: string = data.name;
296297
}
297298
}]]>
298299
</pre>

demos/home/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ <h4 class="demo-landing__label">for Angular</h4>
77
<div class="demo-layout__column demo-layout--center demo-landing__secondary">
88
<p class="demo-landing__subtitle">A faithful and accurate representation of Material Design.</p>
99
<button raised secondary mdc-button [routerLink]="['/getting-started']">Get Started</button>
10-
<span class="demo-landing__version">v0.40.0</span>
10+
<span class="demo-landing__version">v0.40.1</span>
1111
</div>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/trimox/angular-mdc-web.git"
99
},
1010
"license": "MIT",
11-
"version": "0.40.0",
11+
"version": "0.40.1",
1212
"engines": {
1313
"node": ">= 9.11.1"
1414
},

packages/material-components-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git",
88
"url": "https://github.com/trimox/angular-mdc-web.git"
99
},
10-
"version": "0.40.0",
10+
"version": "0.40.1",
1111
"license": "MIT",
1212
"keywords": [
1313
"angular-mdc",

packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"typings": "./web.d.ts",
2323
"private": false,
2424
"dependencies": {
25-
"@angular-mdc/theme": "0.40.0"
25+
"@angular-mdc/theme": "0.40.1"
2626
},
2727
"peerDependencies": {
2828
"@angular/core": "0.0.0-NG",

0 commit comments

Comments
 (0)