@ndla/core
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -15,3 +15,12 @@ import spacing from './spacing'; | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInBottom;\n @keyframes fadeInBottom {\n 0% {\n transform: translateY(").concat(spacing.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeInScaled: function fadeInScaled(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInScaled;\n @keyframes fadeInScaled {\n 0% {\n transform: scale(0.5);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeOut: function fadeOut(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOut;\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }"); | ||
}, | ||
fadeIn: function fadeIn(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOut;\n @keyframes fadeOut {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }"); | ||
} | ||
}; |
@@ -26,3 +26,12 @@ "use strict"; | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInBottom;\n @keyframes fadeInBottom {\n 0% {\n transform: translateY(").concat(_spacing2.default.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeInScaled: function fadeInScaled(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInScaled;\n @keyframes fadeInScaled {\n 0% {\n transform: scale(0.5);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeOut: function fadeOut(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOut;\n @keyframes fadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }"); | ||
}, | ||
fadeIn: function fadeIn(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOut;\n @keyframes fadeOut {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }"); | ||
} | ||
}; |
{ | ||
"name": "@ndla/core", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "UI component library for NDLA.", | ||
@@ -31,3 +31,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "a56d9c5a7f76a201f5848081b6df0a8b79e2fd1f" | ||
"gitHead": "756cfb97b56cd28b58cc4b9d08a9a701ac2cf0ec" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
500
91149
59