UNPKG

1.69 kBJavaScriptView Raw
1"use strict";
2var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3 if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4 return cooked;
5};
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.animations = exports.rotate360 = void 0;
8var styled_components_1 = require("styled-components");
9var fadeIn = styled_components_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n"], ["\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n"])));
10var fadeOut = styled_components_1.keyframes(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n"], ["\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n"])));
11exports.rotate360 = styled_components_1.keyframes(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n 0% {transform: rotate(0deg)}\n 100% {transform: rotate(360deg)}\n"], ["\n 0% {transform: rotate(0deg)}\n 100% {transform: rotate(360deg)}\n"])));
12exports.animations = styled_components_1.css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n\t.fadeIn {\n\t\tanimation: ", ";\n\t}\n\n\t.fadeOut {\n\t\tanimation: ", ";\n\t}\n\n\t.animated.faster {\n\t\tanimation-duration: 500ms;\n\t}\n"], ["\n\t.fadeIn {\n\t\tanimation: ", ";\n\t}\n\n\t.fadeOut {\n\t\tanimation: ", ";\n\t}\n\n\t.animated.faster {\n\t\tanimation-duration: 500ms;\n\t}\n"])), fadeIn, fadeOut);
13var templateObject_1, templateObject_2, templateObject_3, templateObject_4;