Skip to content

Commit

Permalink
Remove deprecated util. (#61116)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniGuardiola authored Apr 30, 2024
1 parent d055083 commit bff764b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import styled from '@emotion/styled';
*/
import { Flex } from '../../flex';
import UnitControl from '../../unit-control';
import { COLORS, CONFIG, reduceMotion } from '../../utils';
import { COLORS, CONFIG } from '../../utils';
import type { FocalPointPickerControlsProps } from '../types';
import { INITIAL_BOUNDS } from '../utils';

Expand Down Expand Up @@ -106,10 +106,11 @@ export const GridView = styled.div`
position: absolute;
top: 50%;
transform: translate3d( -50%, -50%, 0 );
transition: opacity 100ms linear;
z-index: 1;
${ reduceMotion( 'transition' ) }
@media not ( prefers-reduced-motion ) {
transition: opacity 100ms linear;
}
opacity: ${ ( { showOverlay }: { showOverlay?: boolean } ) =>
showOverlay ? 1 : 0 };
Expand Down

0 comments on commit bff764b

Please sign in to comment.