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

Commit 6682ca8

Browse files
committed
chore(package): Publish Angular MDC v0.43.5
1 parent ac1e52f commit 6682ca8

File tree

11 files changed

+750
-639
lines changed

11 files changed

+750
-639
lines changed

demos/package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,34 @@
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
7+
"start:prod": "ng serve --prod",
78
"build": "ng build",
89
"build:aot": "ng build --prod --aot",
910
"lint": "ng lint"
1011
},
1112
"private": true,
1213
"dependencies": {
13-
"@angular/common": "~7.2.0",
14-
"@angular/compiler": "~7.2.0",
15-
"@angular/core": "~7.2.0",
16-
"@angular/forms": "~7.2.0",
17-
"@angular/platform-browser": "~7.2.0",
18-
"@angular/platform-browser-dynamic": "~7.2.0",
19-
"@angular/router": "~7.2.0",
20-
"core-js": "^2.6.1",
14+
"@angular/common": "~7.2.2",
15+
"@angular/compiler": "~7.2.2",
16+
"@angular/core": "~7.2.2",
17+
"@angular/forms": "~7.2.2",
18+
"@angular/platform-browser": "~7.2.2",
19+
"@angular/platform-browser-dynamic": "~7.2.2",
20+
"@angular/router": "~7.2.2",
21+
"core-js": "^2.6.3",
2122
"rxjs": "~6.3.3",
2223
"tslib": "^1.9.3",
23-
"zone.js": "~0.8.26"
24+
"zone.js": "~0.8.29"
2425
},
2526
"devDependencies": {
26-
"@angular-devkit/build-angular": "~0.12.1",
27-
"@angular/cli": "~7.2.1",
28-
"@angular/compiler-cli": "~7.2.0",
27+
"@angular-devkit/build-angular": "^0.12.3",
28+
"@angular/cli": "^7.2.3",
29+
"@angular/compiler-cli": "~7.2.2",
2930
"@types/node": "^10.12.17",
3031
"highlight.js": "^9.13.1",
31-
"ngx-highlightjs": "^3.0.0",
32-
"ts-node": "~7.0.1",
32+
"ngx-highlightjs": "^3.0.1",
33+
"ts-node": "~8.0.1",
3334
"tslint": "~5.12.0",
34-
"typescript": "~3.2.2"
35+
"typescript": "~3.2.4"
3536
}
36-
}
37+
}

demos/src/app/components/list-demo/api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ <h4 mdcSubtitle2>Properties</h4>
171171

172172
<div class="docs-api">
173173
<h3 mdcHeadline6>MdcListItemGraphic</h3>
174-
Optional. the first tile in the row (in LTR languages, the first column of
174+
Optional. The first tile in the row (in LTR languages, the first column of
175175
the list item). Typically an icon or
176176
image.
177177
<p>
@@ -183,7 +183,7 @@ <h3 mdcHeadline6>MdcListItemGraphic</h3>
183183

184184
<div class="docs-api">
185185
<h3 mdcHeadline6>MdcListItemMeta</h3>
186-
Optional. the last tile in the row (in LTR languages, the last column of the
186+
Optional. The last tile in the row (in LTR languages, the last column of the
187187
list item). Typically small text, icon.
188188
or image.
189189
<p>

demos/src/app/components/list-demo/examples.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,28 @@ <h3 class="demo-content__headline">Leading and Trailing Icon</h3>
215215
<example-viewer [example]="exampleLeadingAndTrailingIcon"></example-viewer>
216216
</div>
217217

218+
<div class="demo-content">
219+
<h3 class="demo-content__headline">Two-Line with Leading and Trailing Icon and Divider</h3>
220+
<mdc-list avatar twoLine>
221+
<mdc-list-item>
222+
<mdc-icon mdcListItemGraphic>folder</mdc-icon>
223+
<mdc-list-item-text secondaryText="Secondary text">Single-line item</mdc-list-item-text>
224+
<mdc-icon mdcListItemMeta>info</mdc-icon>
225+
</mdc-list-item>
226+
<mdc-list-item>
227+
<mdc-icon mdcListItemGraphic>folder</mdc-icon>
228+
<mdc-list-item-text secondaryText="Secondary text">Single-line item</mdc-list-item-text>
229+
<mdc-icon mdcListItemMeta>info</mdc-icon>
230+
</mdc-list-item>
231+
<mdc-list-item>
232+
<mdc-icon mdcListItemGraphic>folder</mdc-icon>
233+
<mdc-list-item-text secondaryText="Secondary text">Single-line item</mdc-list-item-text>
234+
<mdc-icon mdcListItemMeta>info</mdc-icon>
235+
</mdc-list-item>
236+
</mdc-list>
237+
<example-viewer [example]="exampleTwoLine"></example-viewer>
238+
</div>
239+
218240
<div class="demo-content">
219241
<h3 class="demo-content__headline">List with Leading Checkbox</h3>
220242
<mdc-list>

demos/src/app/getting-started/getting-started.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<div class="demo-panel-content">
22
<div class="demo-panel-transition">
3-
<h1>Getting started</h1>
3+
<h1 class="demo-panel-title">Getting started</h1>
44
<p>For help getting started with a new Angular app, check out the <a href="https://cli.angular.io/"
55
target="_blank" rel="noopener">Angular CLI</a>.</p>
66
<p>For existing apps, follow these steps to begin using Angular MDC.</p>
7-
<h2>Step 1: Install Angular MDC</h2>
7+
<h2 class="demo-panel-references">Step 1: Install Angular MDC</h2>
88
<h4>npm</h4>
99
<pre><code highlight="npm i @angular-mdc/web"></code></pre>
1010

1111
<h4>yarn</h4>
1212
<pre><code highlight="yarn add @angular-mdc/web"></code></pre>
1313

1414

15-
<h2>Step 2: Use Roboto font</h2>
15+
<h2 class="demo-panel-references">Step 2: Use Roboto font</h2>
1616
To get started, first include the Roboto font with the 300, 400 and 500
1717
weights.
1818
You can host it yourself or include it from <a href="https://fonts.google.com/"
1919
target="_blank" rel="noopener">Google Fonts:</a>
2020

2121
<pre><code [highlight]="robotoLink"></code></pre>
2222

23-
<h2>Step 3 (optional): Add Material Icons</h2>
23+
<h2 class="demo-panel-references">Step 3 (optional): Add Material Icons</h2>
2424
If you want to use the <code>mdc-icon</code> component with the official
2525
Material Design Icons, load the icon font in your index.html:
2626

@@ -31,12 +31,12 @@ <h2>Step 3 (optional): Add Material Icons</h2>
3131
Note that mdc-icon supports any font or svg icons; using Material Icons is
3232
one of many options.
3333

34-
<h2>Step 4: Import MDC Sass</h2>
34+
<h2 class="demo-panel-references">Step 4: Import MDC Sass</h2>
3535
In styles.scss add the following:
3636

3737
<pre><code [highlight]="sassHelp"></code></pre>
3838

39-
<h2>Step 5: Import component modules</h2>
39+
<h2 class="demo-panel-references">Step 5: Import component modules</h2>
4040
Now just import the NgModule for each component you want to use.
4141
<pre><code highlight="import {
4242
MdcFabModule,

demos/src/styles/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
.demo-panel-title {
8484
@include mdc-typography(headline4);
8585

86-
margin: 24px 16px 16px 0;
86+
margin: 16px 16px 16px 0;
8787
line-height: 1.25;
8888
padding-bottom: .3em;
8989
border-bottom: 1px solid #eaecef;

demos/src/styles/_text-field.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
.mdc-text-field-helper-text:not(.mdc-text-field-helper-text--persistent),
9898
.mdc-select-helper-text:not(.mdc-select-helper-text--persistent) {
99-
margin-bottom: 11px;
99+
margin-bottom: 9px;
100100
}
101101
}
102102
}

0 commit comments

Comments
 (0)