license import { animate , state , style , transition , trigger , AnimationTriggerMetadata , } from '@angular/animations' ; docs-private export const matFormFieldAnimations = { /** Animation that transitions the form field's error and hint messages. */ transitionMessages : trigger ( 'transitionMessages' , [ state ( 'enter' , style ( { opacity : 1 , transform : 'translateY(0%)' } ) ) , transition ( 'void => enter' , [ style ( { opacity : 0 , transform : 'translateY(-100%)' } ) , animate ( '300ms cubic-bezier(0.55, 0, 0.55, 0.2)' ) , ] ) , ] ) } ;