diff --git a/CHANGELOG.md b/CHANGELOG.md index d9b2f4616..370a6fcfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ + +# [0.2.5](https://github.com/trimox/angular-mdc-web/compare/v0.2.4...v0.2.5) (2017-08-09) + + +### Bug Fixes + +* **fab:** Remove duplicate HostBinding ([#74](https://github.com/trimox/angular-mdc-web/issues/74)) ([dd3637f](https://github.com/trimox/angular-mdc-web/commit/dd3637f)) +* **textfield:** Fix Text Field boxes NgModule value accessor ([36ce97a](https://github.com/trimox/angular-mdc-web/commit/36ce97a)) +* **textfield:** Pre-filled Text Field uses floating label correctly ([bda0f9f](https://github.com/trimox/angular-mdc-web/commit/bda0f9f)) + + +### Features + +* **dialog:** Implement MDC Dialog ([#70](https://github.com/trimox/angular-mdc-web/issues/70)) ([31a278a](https://github.com/trimox/angular-mdc-web/commit/31a278a)) +* **list:** Add component selector option to mdc-list-item-secondary ([4b3a5bf](https://github.com/trimox/angular-mdc-web/commit/4b3a5bf)) +* **list:** Add component selector option to mdc-list-item-text ([9df6a4d](https://github.com/trimox/angular-mdc-web/commit/9df6a4d)) +* **package:** Update MDC dependency to v0.17.0 ([f9bab7a](https://github.com/trimox/angular-mdc-web/commit/f9bab7a)) +* **textfield:** Add 'aria-hidden' HostBinding to Helptext directive ([6545321](https://github.com/trimox/angular-mdc-web/commit/6545321)) +* **textfield:** Add [mdc-textfield-bottom-line] directive for Text Field boxes ([5f76809](https://github.com/trimox/angular-mdc-web/commit/5f76809)) +* **textfield:** Add [mdc-textfield-label] directive ([483fd98](https://github.com/trimox/angular-mdc-web/commit/483fd98)) +* **textfield:** Auto generate [id] if none supplied ([3c70203](https://github.com/trimox/angular-mdc-web/commit/3c70203)) + + + # [0.2.4](https://github.com/trimox/angular-mdc-web/compare/v0.2.3...v0.2.4) (2017-08-03) diff --git a/src/demo-app/components/dialog-demo/dialog-demo.component.html b/src/demo-app/components/dialog-demo/dialog-demo.component.html index b90d392ab..e22fc24e8 100644 --- a/src/demo-app/components/dialog-demo/dialog-demo.component.html +++ b/src/demo-app/components/dialog-demo/dialog-demo.component.html @@ -54,12 +54,37 @@

Dialog

+ + + + + + + + + + + + + + + + + + + + + + + + +
Directive
mdc-dialog-headerDefines the header content block.
mdc-dialog-header-titleA header title block.
mdc-dialog-body
mdc-dialog-footer
-Sample - Dialog +Dialog
<mdc-dialog #dialog>
   <mdc-dialog-header>
     <mdc-dialog-header-title>
@@ -70,13 +95,13 @@ 

Dialog

Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running. </mdc-dialog-body> <mdc-dialog-footer> - <button mdc-button mdc-dialog-button-cancel (click)="cancelDialog();">Decline</button> - <button mdc-button mdc-dialog-button-accept (click)="acceptDialog();">Accept</button> + <button mdc-button mdc-dialog-button-cancel>Decline</button> + <button mdc-button mdc-dialog-button-accept>Accept</button> </mdc-dialog-footer> </mdc-dialog>
-Sample - Scrolling Dialog +Scrolling Dialog
<mdc-dialog #dialogscroll>
   <mdc-dialog-header>
     <mdc-dialog-header-title>
@@ -99,8 +124,8 @@ 

Dialog

</mdc-list> </mdc-dialog-body> <mdc-dialog-footer> - <button mdc-button mdc-dialog-button-cancel (click)="cancelDialog();">Decline</button> - <button mdc-button mdc-dialog-button-accept (click)="acceptDialog();">Accept</button> + <button mdc-button mdc-dialog-button-cancel>Decline</button> + <button mdc-button mdc-dialog-button-accept>Accept</button> </mdc-dialog-footer> </mdc-dialog>
@@ -114,8 +139,8 @@

Dialog

Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running. - - + + @@ -141,8 +166,8 @@

Dialog

- - + +
diff --git a/src/demo-app/components/dialog-demo/dialog-demo.component.ts b/src/demo-app/components/dialog-demo/dialog-demo.component.ts index 9e5db4456..ff4f1fd90 100644 --- a/src/demo-app/components/dialog-demo/dialog-demo.component.ts +++ b/src/demo-app/components/dialog-demo/dialog-demo.component.ts @@ -17,12 +17,4 @@ export class DialogDemoComponent { showDialogScroll() { this.dialogScroll.show(); } - - acceptDialog() { - this.dialog.accept(); - } - - cancelDialog() { - this.dialog.cancel(); - } } diff --git a/src/demo-app/components/tab-demo/tab-demo.component.html b/src/demo-app/components/tab-demo/tab-demo.component.html index 225a86c59..766d09846 100644 --- a/src/demo-app/components/tab-demo/tab-demo.component.html +++ b/src/demo-app/components/tab-demo/tab-demo.component.html @@ -145,8 +145,7 @@

Tabs

-
-
+
Simple Tab Bar with text labels Home @@ -158,9 +157,8 @@

Tabs

<a mdc-tab href="#/tab-demo">Merchandise</a> <a mdc-tab href="#/tab-demo">About Us</a> </mdc-tab-bar> -
+ -
Tab Bar with icon labels @@ -184,9 +182,8 @@

Tabs

<mdc-tab-icon material-icon>person_pin</mdc-tab-icon> </mdc-tab> </mdc-tab-bar> -
+ -
Tab Bar with icon and text labels @@ -217,9 +214,7 @@

Tabs

</mdc-tab> </mdc-tab-bar> -
-
Accent Color Indicator @@ -249,9 +244,8 @@

Tabs

<mdc-tab-icon-text>Nearby</mdc-tab-icon-text> </a> </mdc-tab-bar> -
+ -
Dark Themed @@ -281,9 +275,9 @@

Tabs

<mdc-tab-icon-text>Nearby</mdc-tab-icon-text> </a> </mdc-tab-bar> -
+ -
+
Dynamic view switching {{tabLink.label}} @@ -299,8 +293,7 @@

Tabs

[routerLink]="[]">tabLink.label</a> </mdc-tab-bar> <router-outlet name="taboutlet"></router-outlet> - -
+
Tab Bar Scoller diff --git a/src/demo-app/components/textfield-demo/textfield-demo.component.html b/src/demo-app/components/textfield-demo/textfield-demo.component.html index 156bec72c..d779b67c0 100644 --- a/src/demo-app/components/textfield-demo/textfield-demo.component.html +++ b/src/demo-app/components/textfield-demo/textfield-demo.component.html @@ -144,17 +144,16 @@

Text Field

- - +

Username is required

- - - - + + + + @@ -174,7 +173,24 @@

Text Field

[validation]="true" [persistent]="false">Username is required</p>
- Textfield box + +
+Prefilled value +
+ +
+
+ +
+
+ +
<mdc-textfield type="password"
+  label="Password"
+  [required]="true"></mdc-textfield>
+
+
+ Text Field box + Use mdc-textfield-box
=4.0.0",