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

Commit 31e34b1

Browse files
committed
chore(package): Publish Angular MDC v0.41.2
1 parent 2d3bcea commit 31e34b1

File tree

11 files changed

+28
-37
lines changed

11 files changed

+28
-37
lines changed

demos/app-layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</mdc-top-app-bar-row>
1414
</mdc-top-app-bar>
1515

16-
<mdc-drawer class="demo-drawer" #appdrawer="mdcDrawer" open [drawer]="isScreenSmall() ? 'modal' : 'dismissible'" mdcTopAppBarFixedAdjust>
16+
<mdc-drawer class="demo-drawer" #appdrawer="mdcDrawer" [open]="!isScreenSmall()" [drawer]="isScreenSmall() ? 'modal' : 'dismissible'" mdcTopAppBarFixedAdjust>
1717
<mdc-drawer-content>
1818
<mdc-list useActivatedClass>
1919
<mdc-list-item [routerLink]="['home']" routerLinkActive #rlaHome="routerLinkActive">Home</mdc-list-item>

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>References</h2>
1212
</li>
1313
</ul>
1414
<h2>Import</h2>
15-
<p class="docs-api-module-import"><![CDATA[import { MdcDialogModule } from '@angular-mdc/web';]]></p>
15+
<pre><code highlight code="import { MdcDialogModule } from '@angular-mdc/web';"></code></pre>
1616

1717
<h2>Design & API Documentation</h2>
1818
<div class="docs-api">
@@ -35,8 +35,6 @@ <h2>Design & API Documentation</h2>
3535
<tbody>
3636
<tr>
3737
<td>
38-
open(myDialogComponent)
39-
4038
<pre><code highlight code="
4139
open(myDialogComponent, {
4240
id?: string,
@@ -209,7 +207,7 @@ <h2>Design & API Documentation</h2>
209207
<table>
210208
<tbody>
211209
<tr>
212-
<td>Optional. Any element within a dialog may include the <code class="docs-markdown-code">mdcDialogAction</code> directive.</td>
210+
<td>Optional. Any element within a dialog may include the <pre class="docs-markdown-code">mdcDialogAction</pre> directive.</td>
213211
</tr>
214212
</tbody>
215213
</table>
@@ -241,7 +239,7 @@ <h3 class="demo-content__headline">Dialog service</h3>
241239
<button mdc-button (click)="openSimple()">Simple</button>
242240
<button mdc-button (click)="openConfirmation()">Confirmation</button>
243241
<button mdc-button (click)="openScrollable(true)">Scrollable</button>
244-
<button mdc-button (click)="openForm(true)">Form inputs</button>
242+
<button mdc-button (click)="openForm()">Form</button>
245243
</div>
246244
</div>
247245

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<mdc-text-field formControlName="last" label="Last name" outlined required></mdc-text-field>
1313
<p mdcTextFieldHelperText persistent validation>*Required</p>
1414
</mdc-form-field>
15-
<div class="demo-layout__row--no-wrap">
15+
<div class="demo-layout__row">
1616
<mdc-form-field>
1717
<mdc-text-field formControlName="middle" label="Middle name" outlined></mdc-text-field>
1818
</mdc-form-field>

demos/components/snackbar-demo/snackbar-demo.html

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>References</h2>
1212
</li>
1313
</ul>
1414
<h2>Import</h2>
15-
<p class="docs-api-module-import"><![CDATA[import { MdcSnackbarModule } from '@angular-mdc/web';]]></p>
15+
<pre><code highlight code="import { MdcSnackbarModule } from '@angular-mdc/web';"></code></pre>
1616

1717
<h2>Design & API Documentation</h2>
1818
<div class="docs-api">
@@ -45,24 +45,18 @@ <h2>Design & API Documentation</h2>
4545
<td>Show snackbar message and action.</td>
4646
</tr>
4747
<tr>
48-
<td><pre><![CDATA[show(
48+
<td><pre><code highlight code="show(
4949
message: string,
5050
action: string,
5151
{
52-
config
53-
})
54-
]]></pre></td>
55-
<td>
56-
<pre><![CDATA[config {
57-
timeout?: number = 2750;
58-
actionHandler?: Function;
59-
multiline?: boolean = false;
60-
actionOnBottom?: boolean = false;
61-
align?: string = 'center';
62-
dismissOnAction?: boolean = true;
63-
focusAction?: boolean = false;
64-
}]]></pre>
65-
</td>
52+
timeout?: number = 2750;
53+
actionHandler?: Function;
54+
multiline?: boolean = false;
55+
actionOnBottom?: boolean = false;
56+
align?: string = 'center';
57+
dismissOnAction?: boolean = true;
58+
focusAction?: boolean = false;
59+
});"></code></pre></td>
6660
</tr>
6761
<tr>
6862
<td>afterDismiss</td>

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">
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.41.1</span>
10+
<span class="demo-landing__version">v0.41.2</span>
1111
</div>

demos/sass/_demo.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@
5252
.demo-page {
5353
padding-left: 10px;
5454
padding-bottom: 45px;
55+
max-width: calc(70% - 17rem);
56+
57+
@media (max-width: 1239px) {
58+
max-width: calc(100% - 1rem);
59+
}
5560
}
5661

5762
.demo-content {
5863
border: 1px solid rgba(0, 0, 0, .15);
5964
border-radius: .75rem;
6065
margin: 1.5rem;
6166
padding: 1rem;
62-
max-width: calc(70% - 17rem);
63-
64-
@media (max-width: 1239px) {
65-
max-width: calc(100% - 3rem);
66-
}
6767

6868
&__headline {
6969
@include mdc-typography(headline6);

demos/sass/_dialog.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.test-dialog--form {
22
@include mdc-dialog-min-width(580px);
3-
@include mdc-dialog-max-height(650px, 5px);
3+
4+
@media (max-width: 1239px) {
5+
@include mdc-dialog-min-width(280px);
6+
}
47
}

demos/sass/_tabs.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//
2-
// Tabs
3-
//
4-
51
.demo-scrolling-tabs__row {
62
display: flex;
73
flex-wrap: nowrap;

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.41.1",
11+
"version": "0.41.2",
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.41.1",
10+
"version": "0.41.2",
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.41.1"
25+
"@angular-mdc/theme": "0.41.2"
2626
},
2727
"peerDependencies": {
2828
"@angular/core": "0.0.0-NG",

0 commit comments

Comments
 (0)