UNPKG

@hhgtech/hhg-components

Version:
104 lines (91 loc) 1.75 kB
'use strict'; var react = require('@emotion/react'); const slideInUp = react.keyframes ` from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `; const slideInDown = react.keyframes ` from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `; const slideInLeft = react.keyframes ` from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `; const slideInRight = react.keyframes ` from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } `; const slideOutDown = react.keyframes ` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(0, 100%, 0); } `; const slideOutLeft = react.keyframes ` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(-100%, 0, 0); } `; const slideOutRight = react.keyframes ` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(100%, 0, 0); } `; const slideOutUp = react.keyframes ` from { transform: translate3d(0, 0, 0); } to { visibility: hidden; transform: translate3d(0, -100%, 0); } `; const fadeIn = react.keyframes ` from { opacity: 0; } to { opacity: 1; } `; exports.fadeIn = fadeIn; exports.slideInDown = slideInDown; exports.slideInLeft = slideInLeft; exports.slideInRight = slideInRight; exports.slideInUp = slideInUp; exports.slideOutDown = slideOutDown; exports.slideOutLeft = slideOutLeft; exports.slideOutRight = slideOutRight; exports.slideOutUp = slideOutUp;