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:
11
libs/components/src/dialog/animations.ts
Normal file
11
libs/components/src/dialog/animations.ts
Normal 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" })),
|
||||
]),
|
||||
]),
|
||||
]);
|
||||
Reference in New Issue
Block a user