license import { animate , state , style , transition , trigger , AnimationTriggerMetadata , } from '@angular/animations' ; docs-private export const matTabsAnimations = { /** Animation translates a tab along the X axis. */ translateTab : trigger ( 'translateTab' , [ state ( 'center, void, left-origin-center, right-origin-center' , style ( { transform : 'none' } ) ) , state ( 'left' , style ( { transform : 'translate3d(-100%, 0, 0)' , minHeight : '1px' } ) ) , state ( 'right' , style ( { transform : 'translate3d(100%, 0, 0)' , minHeight : '1px' } ) ) , transition ( '* => left, * => right, left => center, right => center' , animate ( '{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)' ) ) , transition ( 'void => left-origin-center' , [ style ( { transform : 'translate3d(-100%, 0, 0)' } ) , animate ( '{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)' ) ] ) , transition ( 'void => right-origin-center' , [ style ( { transform : 'translate3d(100%, 0, 0)' } ) , animate ( '{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)' ) ] ) ] ) } ;