@ndla/core
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -12,3 +12,6 @@ import spacing from './spacing'; | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeIn;\n @keyframes fadeIn {\n 0% {\n transform: translateX(-").concat(spacing.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeInBottom: function fadeInBottom(duration) { | ||
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 }"); | ||
} | ||
}; |
@@ -8,2 +8,3 @@ export { default as breakpoints } from './breakpoints'; | ||
export { default as shadows } from './shadows'; | ||
export { default as animations } from './animations'; | ||
export { default as animations } from './animations'; | ||
export { default as utils } from './utils'; |
@@ -23,3 +23,6 @@ "use strict"; | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeIn;\n @keyframes fadeIn {\n 0% {\n transform: translateX(-").concat(_spacing2.default.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeInBottom: function fadeInBottom(duration) { | ||
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 }"); | ||
} | ||
}; |
@@ -79,2 +79,11 @@ "use strict"; | ||
var _utils = require("./utils"); | ||
Object.defineProperty(exports, "utils", { | ||
enumerable: true, | ||
get: function get() { | ||
return _interopRequireDefault(_utils).default; | ||
} | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "@ndla/core", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "UI component library for NDLA.", | ||
@@ -31,3 +31,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "87078d4b0363dc7cc8a45f5864b72fddef37256e" | ||
"gitHead": "f51bccb73b427f3fa96fb6df8f2d450a13fab3f9" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
59
446
89249
1