Skip to content

Commit bb52dd9

Browse files
committed
chore(release): bump version number to 2.7.1
1 parent 87cbc5c commit bb52dd9

File tree

11 files changed

+561
-524
lines changed

11 files changed

+561
-524
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.7.1](https://github.com/anthonynahas/ngx-auth-firebaseui/compare/v2.7.0...v2.7.1) (2019-05-15)
2+
3+
4+
15
# [2.7.0](https://github.com/anthonynahas/ngx-auth-firebaseui/compare/v2.6.0...v2.7.0) (2019-05-14)
26

37

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ class AppComponent {
578578
| messageOnAuthError | Input() | string | see the code -> | the message of the snackbar when the authentication process has failed
579579
| onSuccess | Output() | any | - | this will be fired when an authentication process was success. The authenticated user is emitted!
580580
| onError | Output() | any | - | this event will be fired when an error occurred during the authentication process! An error message is emitted!
581+
| onError | Output() | MatTabChangeEvent | - | output event is emitted when the active tab changes (signin, register and reset password tab)
581582

582583
if you prefer to customize the text of this component, check these inputs [here](https://ngx-auth-firebaseui.firebaseapp.com/i18n) that have been used for translations
583584

demo/.firebase/hosting.ZGlzdC9icm93c2Vy.cache

Lines changed: 484 additions & 484 deletions
Large diffs are not rendered by default.

demo/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@angular/platform-server": "^7.2.15",
4444
"@angular/router": "^7.2.15",
4545
"@angular/service-worker": "^7.2.15",
46-
"@ng-bootstrap/ng-bootstrap": "^4.1.2",
46+
"@ng-bootstrap/ng-bootstrap": "^4.1.3",
4747
"@ngx-translate/core": "^11.0.1",
4848
"@ngx-translate/http-loader": "^4.0.0",
4949
"angulartics2": "^7.5.2",

demo/src/app/home/home.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ <h1>ngx-auth-firebaseui</h1>
103103

104104
<mat-card-content>
105105
<ngx-auth-firebaseui (onSuccess)="printUser($event)"
106-
(onError)="printError($event)">
106+
(onError)="printError($event)"
107+
(selectedTabChange)="onTabChange($event)">
107108
</ngx-auth-firebaseui>
108109
</mat-card-content>
109110
</mat-card>

demo/src/app/home/home.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {Component, OnDestroy, OnInit, ViewEncapsulation} from '@angular/core';
22
import {Title} from '@angular/platform-browser';
33
import {AngularFireAuth} from '@angular/fire/auth';
44
import {AuthProvider, Theme} from 'ngx-auth-firebaseui';
5-
import {MatSnackBar} from '@angular/material';
5+
import {MatSnackBar, MatTabChangeEvent} from '@angular/material';
66
import {Router} from '@angular/router';
77
import {Subscription} from 'rxjs/internal/Subscription';
88

@@ -105,6 +105,10 @@ export class HomeComponent implements OnInit, OnDestroy {
105105
// this.snackbar.open(event.message, 'OK', {duration: 5000});
106106
}
107107

108+
onTabChange(event: MatTabChangeEvent) {
109+
console.log('on tab change: ', event);
110+
}
111+
108112
showMessage() {
109113
console.log('on show message');
110114
const snackbarReference = this.snackbar.open('onConfirmActionButtonClicked\'s event has been emitted', 'See more examples', {

package-lock.json

Lines changed: 25 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ngx-auth-firebaseui",
33
"description": "Open Source Library for Angular Web Apps to integrate a material user interface for firebase authentication",
4-
"version": "2.7.0",
4+
"version": "2.7.1",
55
"homepage": "https://github.com/anthonynahas/ngx-auth-firebaseui",
66
"author": {
77
"name": "anthonynahas",
@@ -79,7 +79,7 @@
7979
"@compodoc/gulp-compodoc": "^0.0.10",
8080
"@types/jasmine": "^3.3.12",
8181
"@types/jest": "^24.0.13",
82-
"@types/lodash": "^4.14.126",
82+
"@types/lodash": "^4.14.129",
8383
"@types/node": "^10.14.6",
8484
"angular-cli-ghpages": "^0.5.3",
8585
"angular2-template-loader": "0.6.2",
@@ -121,7 +121,7 @@
121121
"postcss-strip-inline-comments": "0.1.5",
122122
"pump": "^3.0.0",
123123
"raw-loader": "^1.0.0",
124-
"rollup": "^1.11.3",
124+
"rollup": "^1.12.0",
125125
"rollup-plugin-commonjs": "^9.2.2",
126126
"rollup-plugin-node-resolve": "^4.2.4",
127127
"rollup-plugin-sourcemaps": "0.4.2",
@@ -138,7 +138,7 @@
138138
"typescript": "~3.2.4",
139139
"webpack": "^4.31.0",
140140
"webpack-cli": "^3.3.2",
141-
"webpack-dev-middleware": "^3.6.1",
141+
"webpack-dev-middleware": "^3.7.0",
142142
"webpack-dev-server": "^3.3.1",
143143
"webpack-node-externals": "^1.7.2",
144144
"yargs": "^12.0.5",

src/module/components/ngx-auth-firebaseui/auth.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mat-tab-group [color]="color" [selectedIndex]="tabIndex">
1+
<mat-tab-group [color]="color" [selectedIndex]="tabIndex" (selectedTabChange)="onTabChange($event)">
22

33
<!--Sign in tab-->
44
<mat-tab [label]="signInTabText">
@@ -140,7 +140,7 @@
140140
<mat-icon matSuffix [color]="color">lock</mat-icon>
141141

142142
<mat-hint align="end" aria-live="polite">
143-
{{signUpFormGroup.value.password?.length}} / 25
143+
{{signUpFormGroup.value.password?.length}} / {{ passwordStrength.max }}
144144
</mat-hint>
145145

146146
<mat-error *ngIf="sigUpPasswordFormControl.hasError('required')" class="cut-text">
@@ -156,9 +156,9 @@
156156

157157
</mat-form-field>
158158

159-
<mat-password-strength
160-
[password]="signUpFormGroup.value.password"
161-
[externalError]="sigUpPasswordFormControl.dirty">
159+
<mat-password-strength #passwordStrength
160+
[password]="signUpFormGroup.value.password"
161+
[externalError]="sigUpPasswordFormControl.dirty">
162162
</mat-password-strength>
163163

164164
</div>
@@ -201,7 +201,7 @@
201201
</mat-tab>
202202

203203
<!--Reset password tab-->
204-
<mat-tab *ngIf="passwordResetWished" label="Reset Password">
204+
<mat-tab fxShow="passwordResetWished" label="Reset Password">
205205
<form [formGroup]="resetPasswordFormGroup" (ngSubmit)="resetPasswordFormGroup.valid && resetPassword()">
206206

207207
<mat-card>

0 commit comments

Comments
 (0)