Skip to content

Commit 708b3a2

Browse files
committed
feat(package): enhanced the animations of the auth providers component
1 parent 27b7704 commit 708b3a2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/module/components/providers/auth.providers.component.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
Microsoft
4949
</button>
5050
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Yahoo)"
51+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
5152
mat-button
5253
[ngClass.xs]="{'space-full-xs':true}"
5354
(click)="authProcess.signInWith(authProvider.Yahoo)">
@@ -230,36 +231,42 @@
230231
[fxLayout]="layout"
231232
[fxLayoutAlign]="layout == 'row' ? 'space-around center' : 'stretch'">
232233
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Google)"
234+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
233235
mat-fab
234236
class="google-raised"
235237
(click)="authProcess.signInWith(authProvider.Google)">
236238
<mat-icon svgIcon="google"></mat-icon>
237239
</button>
238240
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Facebook)"
241+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
239242
mat-fab
240243
class="facebook-raised"
241244
(click)="authProcess.signInWith(authProvider.Facebook)">
242245
<mat-icon svgIcon="facebook"></mat-icon>
243246
</button>
244247
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Twitter)"
248+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
245249
mat-fab
246250
class="twitter-raised"
247251
(click)="authProcess.signInWith(authProvider.Twitter)">
248252
<mat-icon svgIcon="twitter"></mat-icon>
249253
</button>
250254
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Github)"
255+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
251256
mat-fab
252257
class="github-raised"
253258
(click)="authProcess.signInWith(authProvider.Github)">
254259
<mat-icon svgIcon="github"></mat-icon>
255260
</button>
256261
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Microsoft)"
262+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
257263
mat-fab
258264
class="microsoft"
259265
(click)="authProcess.signInWith(authProvider.Microsoft)">
260266
<mat-icon svgIcon="microsoft"></mat-icon>
261267
</button>
262268
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Yahoo)"
269+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
263270
mat-fab
264271
class="yahoo-raised"
265272
(click)="authProcess.signInWith(authProvider.Yahoo)">
@@ -274,37 +281,43 @@
274281
fxLayoutAlign.xs="center center"
275282
[fxLayoutAlign]="layout == 'row' ? 'space-around center' : 'stretch'">
276283
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Google)"
284+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
277285
mat-mini-fab
278286
class="google-raised"
279287
fxFlexAlign="center"
280288
(click)="authProcess.signInWith(authProvider.Google)">
281289
<mat-icon svgIcon="google"></mat-icon>
282290
</button>
283291
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Facebook)"
292+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
284293
mat-mini-fab
285294
class="facebook-raised"
286295
(click)="authProcess.signInWith(authProvider.Facebook)">
287296
<mat-icon svgIcon="facebook"></mat-icon>
288297
</button>
289298
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Twitter)"
299+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
290300
mat-mini-fab
291301
class="twitter-raised"
292302
(click)="authProcess.signInWith(authProvider.Twitter)">
293303
<mat-icon svgIcon="twitter" class="icon-white"></mat-icon>
294304
</button>
295305
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Github)"
306+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
296307
mat-mini-fab
297308
class="github-raised"
298309
(click)="authProcess.signInWith(authProvider.Github)">
299310
<mat-icon svgIcon="github"></mat-icon>
300311
</button>
301312
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Microsoft)"
313+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
302314
mat-mini-fab
303315
class="microsoft"
304316
(click)="authProcess.signInWith(authProvider.Microsoft)">
305317
<mat-icon svgIcon="microsoft"></mat-icon>
306318
</button>
307319
<button *ngIf="providers === authProvider.ALL || providers.includes(authProvider.Yahoo)"
320+
[@animate]="{value:'*',params:{duration:'300ms',y:'100px'}}"
308321
mat-mini-fab
309322
class="yahoo-raised"
310323
(click)="authProcess.signInWith(authProvider.Yahoo)">

0 commit comments

Comments
 (0)