source: trip-planner-front/node_modules/@angular/material/esm2015/dialog/dialog-animations.js@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 3.9 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 MatDialog.
11 * @docs-private
12 */
13export const matDialogAnimations = {
14 /** Animation that is applied on the dialog container by default. */
15 dialogContainer: trigger('dialogContainer', [
16 // Note: The `enter` animation transitions to `transform: none`, because for some reason
17 // specifying the transform explicitly, causes IE both to blur the dialog content and
18 // decimate the animation performance. Leaving it as `none` solves both issues.
19 state('void, exit', style({ opacity: 0, transform: 'scale(0.7)' })),
20 state('enter', style({ transform: 'none' })),
21 transition('* => enter', animate('150ms cubic-bezier(0, 0, 0.2, 1)', style({ transform: 'none', opacity: 1 }))),
22 transition('* => void, * => exit', animate('75ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ opacity: 0 }))),
23 ])
24};
25//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWFuaW1hdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvZGlhbG9nL2RpYWxvZy1hbmltYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUNILE9BQU8sRUFDTCxPQUFPLEVBQ1AsS0FBSyxFQUNMLEtBQUssRUFDTCxVQUFVLEVBQ1YsT0FBTyxHQUVSLE1BQU0scUJBQXFCLENBQUM7QUFFN0I7OztHQUdHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBRTVCO0lBQ0Ysb0VBQW9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