source: trip-planner-front/node_modules/@angular/material/esm2015/snack-bar/snack-bar-animations.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.2 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { animate, state, style, transition, trigger, } from '@angular/animations';
9/**
10 * Animations used by the Material snack bar.
11 * @docs-private
12 */
13export const matSnackBarAnimations = {
14 /** Animation that shows and hides a snack bar. */
15 snackBarState: trigger('state', [
16 state('void, hidden', style({
17 transform: 'scale(0.8)',
18 opacity: 0,
19 })),
20 state('visible', style({
21 transform: 'scale(1)',
22 opacity: 1,
23 })),
24 transition('* => visible', animate('150ms cubic-bezier(0, 0, 0.2, 1)')),
25 transition('* => void, * => hidden', animate('75ms cubic-bezier(0.4, 0.0, 1, 1)', style({
26 opacity: 0
27 }))),
28 ])
29};
30//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2stYmFyLWFuaW1hdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvc25hY2stYmFyL3NuYWNrLWJhci1hbmltYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUNILE9BQU8sRUFDTCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQUVSLE1BQU0scUJBQXFCLENBQUM7QUFFN0I7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBRTlCO0lBQ0Ysa0RBQWtEO0lBQ2xELGFBQWEsRUFBRSxPQUFPLENBQUMsT0FBTyxFQUFFO1FBQzlCLEtBQUssQ0FBQyxj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