Skip to content

Commit df257c9

Browse files
committed
fix(package): updated the animations of ngx-auth-firebaseui
1 parent ad81691 commit df257c9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
- we just sent a verification mail (notably after sign up)
55
- we arrived from the guard after trying to access a protected route even though we are connected
66
-->
7-
<div fxLayout="row" fxLayoutAlign="center center" *ngIf="(config.guardProtectedRoutesUntilEmailIsVerified && !user.emailVerified) || (authProcess.emailConfirmationSent && !user.emailVerified); else signedInUser">
7+
<div *ngIf="(config.guardProtectedRoutesUntilEmailIsVerified && !user.emailVerified) || (authProcess.emailConfirmationSent && !user.emailVerified); else signedInUser"
8+
fxLayout="row" fxLayoutAlign="center center">
89
<ngx-auth-firebaseui-email-confirmation
910
[template]="verifyEmailTemplate"
1011
[email]="user.email"
@@ -42,10 +43,12 @@
4243
<mat-card>
4344
<mat-card-title>{{signInCardTitleText}}</mat-card-title>
4445
<mat-card-content>
45-
<form [formGroup]="signInFormGroup"
46+
<form [@animateStagger]="{ value: '50' }"
47+
[formGroup]="signInFormGroup"
4648
(ngSubmit)="signIn()">
4749
<div fxLayout="column" fxLayoutAlign="center">
48-
<mat-form-field [@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}" [appearance]="appearance">
50+
<mat-form-field [@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
51+
[appearance]="appearance">
4952
<mat-label>{{emailText}}</mat-label>
5053
<input matInput
5154
formControlName="email"
@@ -116,7 +119,7 @@
116119
<mat-card>
117120
<mat-card-title>{{registerCardTitleText}}</mat-card-title>
118121
<mat-card-content fxLayout="column" fxLayoutAlign="center">
119-
<form [@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
122+
<form [@animateStagger]="{ value: '50' }"
120123
[formGroup]="signUpFormGroup" (ngSubmit)="signUpFormGroup.valid &&
121124
processLegalSignUP(authProvider.EmailAndPassword)">
122125
<div fxLayout="column" fxLayoutAlign="center">
@@ -253,10 +256,13 @@
253256
<mat-icon>close</mat-icon>
254257
</button>
255258
</ng-template>
256-
<form [@animateStagger]="{ value: '50' }" [formGroup]="resetPasswordFormGroup" (ngSubmit)="resetPasswordFormGroup.valid && resetPassword()">
259+
<form [@animateStagger]="{ value: '50' }"
260+
[formGroup]="resetPasswordFormGroup"
261+
(ngSubmit)="resetPasswordFormGroup.valid && resetPassword()">
257262
<mat-card class="reset-password-card">
258263
<mat-card-content>
259-
<mat-form-field [@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}" class="full-width" [appearance]="appearance">
264+
<mat-form-field [@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}" class="full-width"
265+
[appearance]="appearance">
260266
<mat-label> {{ resetPasswordTabText }} </mat-label>
261267
<input matInput
262268
[title]="resetPasswordInputText"

0 commit comments

Comments
 (0)