Socket
Socket
Sign inDemoInstall

@ndla/core

Package Overview
Dependencies
Maintainers
5
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/core - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

es/utils.js

3

es/animations.js

@@ -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 }");
}
};

3

es/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc