1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[SM-303] feat: add fadeIn animation to bit-dialog (#4309)

This commit is contained in:
Will Martin
2023-01-11 10:47:43 -05:00
committed by GitHub
parent 4be2989fec
commit 794f1193db
5 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { style, animate, trigger, transition, group } from "@angular/animations";
export const fadeIn = trigger("fadeIn", [
transition(":enter", [
style({ opacity: 0, transform: "translateY(-50px)" }),
group([
animate("0.15s linear", style({ opacity: 1 })),
animate("0.3s ease-out", style({ transform: "none" })),
]),
]),
]);