import { animate, style, transition, trigger } from "@angular/animations"; export const searchBarButtonOpacityAnimation = trigger('searchBarButtonOpacity', [ transition(':enter', [ style({ opacity: 0 }), animate( '200ms cubic-bezier(0.46, 0.03, 0.51, 0.95)', style({ opacity: 1 }) ), ]), transition(':leave', [ style({ opacity: 1 }), animate( '200ms cubic-bezier(0.46, 0.03, 0.51, 0.95)', style({ opacity: 0 }) ), ]), ]);