@ndla/core
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -120,3 +120,3 @@ var brandLight = '#ceddea'; | ||
background: { | ||
"default": '#ffffff' /* old: EFF0F2 (gray) */, | ||
default: '#ffffff' /* old: EFF0F2 (gray) */, | ||
dark: '#e6e6e6', | ||
@@ -123,0 +123,0 @@ darker: '#ccc', |
@@ -7,4 +7,4 @@ var misc = { | ||
transition: { | ||
"default": 'all .2s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
"long": 'all .5s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
default: 'all .2s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
long: 'all .5s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
cubicBezier: 'cubic-bezier(0.17, 0.04, 0.03, 0.94)' | ||
@@ -11,0 +11,0 @@ }, |
@@ -6,5 +6,5 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var _spacing = _interopRequireDefault(require("./spacing")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var DURATION_DEFAULT = '400ms'; | ||
@@ -19,21 +19,21 @@ var animations = { | ||
fadeInLeftFromZero: function fadeInLeftFromZero(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n width: 0;\n height: 0;\n overflow: hidden;\n animation-name: fadeInLeft;\n animation-fill-mode: forwards;\n @keyframes fadeInLeft {\n 0% {\n transform: translateX(-").concat(_spacing["default"].small, ");\n opacity: 0;\n width: inherit;\n overflow: inherit;\n height: inherit;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n width: inherit;\n overflow: inherit;\n height: inherit;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n width: 0;\n height: 0;\n overflow: hidden;\n animation-name: fadeInLeft;\n animation-fill-mode: forwards;\n @keyframes fadeInLeft {\n 0% {\n transform: translateX(-").concat(_spacing.default.small, ");\n opacity: 0;\n width: inherit;\n overflow: inherit;\n height: inherit;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n width: inherit;\n overflow: inherit;\n height: inherit;\n }\n }"); | ||
}, | ||
fadeInLeft: function fadeInLeft(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInLeft;\n @keyframes fadeInLeft {\n 0% {\n transform: translateX(-").concat(_spacing["default"].small, ");\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInLeft;\n @keyframes fadeInLeft {\n 0% {\n transform: translateX(-").concat(_spacing.default.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeOutLeft: function fadeOutLeft(duration) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutLeft;\n @keyframes fadeOutLeft {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n transform: translateX(").concat(_spacing["default"].small, ");\n opacity: 0;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutLeft;\n @keyframes fadeOutLeft {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n 100% {\n transform: translateX(").concat(_spacing.default.small, ");\n opacity: 0;\n }\n }"); | ||
}, | ||
fadeInBottom: function fadeInBottom(duration, distance) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInBottom;\n @keyframes fadeInBottom {\n 0% {\n transform: translateY(").concat(distance || _spacing["default"].small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInBottom;\n @keyframes fadeInBottom {\n 0% {\n transform: translateY(").concat(distance || _spacing.default.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeOutBottom: function fadeOutBottom(duration, distance) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutBottom;\n @keyframes fadeOutBottom {\n 0% {\n transform: translateY(0);\n opacity: 1;\n }\n 100% {\n transform: translateY(").concat(distance || _spacing["default"].small, ");\n opacity: 0;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutBottom;\n @keyframes fadeOutBottom {\n 0% {\n transform: translateY(0);\n opacity: 1;\n }\n 100% {\n transform: translateY(").concat(distance || _spacing.default.small, ");\n opacity: 0;\n }\n }"); | ||
}, | ||
fadeInTop: function fadeInTop(duration, distance) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInTop;\n @keyframes fadeInTop {\n 0% {\n transform: translateY(-").concat(distance || _spacing["default"].small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeInTop;\n @keyframes fadeInTop {\n 0% {\n transform: translateY(-").concat(distance || _spacing.default.small, ");\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }"); | ||
}, | ||
fadeOutTop: function fadeOutTop(duration, distance) { | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutTop;\n @keyframes fadeOutTop {\n 0% {\n transform: translateY(").concat(distance || _spacing["default"].small, ");\n opacity: 1;\n }\n 100% {\n transform: translateY(0);\n opacity: 0;\n }\n }"); | ||
return "\n animation-duration: ".concat(duration || DURATION_DEFAULT, ";\n animation-name: fadeOutTop;\n @keyframes fadeOutTop {\n 0% {\n transform: translateY(").concat(distance || _spacing.default.small, ");\n opacity: 1;\n }\n 100% {\n transform: translateY(0);\n opacity: 0;\n }\n }"); | ||
}, | ||
@@ -58,2 +58,2 @@ fadeInScaled: function fadeInScaled(duration) { | ||
var _default = animations; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var breakpoints = { | ||
@@ -18,2 +18,2 @@ mobile: '20em', | ||
var _default = breakpoints; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var brandLight = '#ceddea'; | ||
@@ -127,3 +127,3 @@ var brandLightest = '#F0F6FB'; | ||
background: { | ||
"default": '#ffffff' /* old: EFF0F2 (gray) */, | ||
default: '#ffffff' /* old: EFF0F2 (gray) */, | ||
dark: '#e6e6e6', | ||
@@ -137,2 +137,2 @@ darker: '#ccc', | ||
var _default = colors; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var baseFontSizeUnit = 18; | ||
@@ -34,2 +34,2 @@ var baseLineHeightUnit = 24; | ||
var _default = fonts; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -10,3 +10,3 @@ "use strict"; | ||
get: function get() { | ||
return _animations["default"]; | ||
return _animations.default; | ||
} | ||
@@ -17,3 +17,3 @@ }); | ||
get: function get() { | ||
return _breakpoints["default"]; | ||
return _breakpoints.default; | ||
} | ||
@@ -24,3 +24,3 @@ }); | ||
get: function get() { | ||
return _colors["default"]; | ||
return _colors.default; | ||
} | ||
@@ -31,3 +31,3 @@ }); | ||
get: function get() { | ||
return _fonts["default"]; | ||
return _fonts.default; | ||
} | ||
@@ -38,3 +38,3 @@ }); | ||
get: function get() { | ||
return _misc["default"]; | ||
return _misc.default; | ||
} | ||
@@ -45,3 +45,3 @@ }); | ||
get: function get() { | ||
return _mq["default"]; | ||
return _mq.default; | ||
} | ||
@@ -52,3 +52,3 @@ }); | ||
get: function get() { | ||
return _shadows["default"]; | ||
return _shadows.default; | ||
} | ||
@@ -59,3 +59,3 @@ }); | ||
get: function get() { | ||
return _spacing["default"]; | ||
return _spacing.default; | ||
} | ||
@@ -72,3 +72,3 @@ }); | ||
get: function get() { | ||
return _typography["default"]; | ||
return _typography.default; | ||
} | ||
@@ -79,3 +79,3 @@ }); | ||
get: function get() { | ||
return _utils["default"]; | ||
return _utils.default; | ||
} | ||
@@ -94,3 +94,3 @@ }); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var misc = { | ||
@@ -14,4 +14,4 @@ maxTextWidth: '700px', | ||
transition: { | ||
"default": 'all .2s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
"long": 'all .5s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
default: 'all .2s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
long: 'all .5s cubic-bezier(0.17, 0.04, 0.03, 0.94)', | ||
cubicBezier: 'cubic-bezier(0.17, 0.04, 0.03, 0.94)' | ||
@@ -22,2 +22,2 @@ }, | ||
var _default = misc; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var mq = { | ||
@@ -16,2 +16,2 @@ range: function range(_ref) { | ||
var _default = mq; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var shadows = { | ||
@@ -13,2 +13,2 @@ searchHeader: '0 0 30px rgba(39,39,40, .2)', | ||
var _default = shadows; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.spacingUnit = exports["default"] = void 0; | ||
exports.spacingUnit = exports.default = void 0; | ||
var spacingUnit = 24; | ||
@@ -21,2 +21,2 @@ exports.spacingUnit = spacingUnit; | ||
var _default = spacing; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var _react = require("@emotion/react"); | ||
@@ -12,6 +12,6 @@ var _fonts = _interopRequireDefault(require("./fonts")); | ||
var _spacing = _interopRequireDefault(require("./spacing")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var smallHeading = /*#__PURE__*/(0, _react.css)(_fonts["default"].sizes(14, 1.1), ";font-weight:", _fonts["default"].weight.normal, ";color:", _colors["default"].text.light, ";text-transform:uppercase;;label:smallHeading;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */")); | ||
var smallerHeadingUppercase = /*#__PURE__*/(0, _react.css)(_fonts["default"].sizes('18px', '26px'), ";font-weight:", _fonts["default"].weight.normal, ";color:", _colors["default"].text.light, ";text-transform:uppercase;margin:0 0 ", _spacing["default"].normal, " 0;;label:smallerHeadingUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb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umHeaderUppercase = /*#__PURE__*/(0, _react.css)("color:", _colors["default"].text.primary, ";font-weight:", _fonts["default"].weight.bold, ";text-transform:uppercase;padding-right:", _spacing["default"].small, ";margin:0;", _fonts["default"].sizes(20, 1.1), ";;label:mediumHeaderUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IGZvbnRzIGZyb20gJy4vZm9udHMnO1xuaW1wb3J0IGNvbG9ycyBmcm9tICcuL2NvbG9ycyc7XG5pbXBvcnQgc3BhY2luZyBmcm9tICcuL3NwYWNpbmcnO1xuXG5jb25zdCBzbWFsbEhlYWRpbmcgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoMTQsIDEuMSl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuYDtcblxuY29uc3Qgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoJzE4cHgnLCAnMjZweCcpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgbWFyZ2luOiAwIDAgJHtzcGFjaW5nLm5vcm1hbH0gMDtcbmA7XG5cbmNvbnN0IG1lZGl1bUhlYWRlclVwcGVyY2FzZSA9IGNzc2BcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQucHJpbWFyeX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ib2xkfTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgcGFkZGluZy1yaWdodDogJHtzcGFjaW5nLnNtYWxsfTtcbiAgbWFyZ2luOiAwO1xuICAke2ZvbnRzLnNpemVzKDIwLCAxLjEpfTtcbmA7XG5cbmNvbnN0IHR5cG9ncmFwaHkgPSB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHR5cG9ncmFwaHk7XG4iXX0= */")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var smallHeading = /*#__PURE__*/(0, _react.css)(_fonts.default.sizes(14, 1.1), ";font-weight:", _fonts.default.weight.normal, ";color:", _colors.default.text.light, ";text-transform:uppercase;;label:smallHeading;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */")); | ||
var smallerHeadingUppercase = /*#__PURE__*/(0, _react.css)(_fonts.default.sizes('18px', '26px'), ";font-weight:", _fonts.default.weight.normal, ";color:", _colors.default.text.light, ";text-transform:uppercase;margin:0 0 ", _spacing.default.normal, " 0;;label:smallerHeadingUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# s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bGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */")); | ||
var mediumHeaderUppercase = /*#__PURE__*/(0, _react.css)("color:", _colors.default.text.primary, ";font-weight:", _fonts.default.weight.bold, ";text-transform:uppercase;padding-right:", _spacing.default.small, ";margin:0;", _fonts.default.sizes(20, 1.1), ";;label:mediumHeaderUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IGZvbnRzIGZyb20gJy4vZm9udHMnO1xuaW1wb3J0IGNvbG9ycyBmcm9tICcuL2NvbG9ycyc7XG5pbXBvcnQgc3BhY2luZyBmcm9tICcuL3NwYWNpbmcnO1xuXG5jb25zdCBzbWFsbEhlYWRpbmcgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoMTQsIDEuMSl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuYDtcblxuY29uc3Qgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoJzE4cHgnLCAnMjZweCcpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgbWFyZ2luOiAwIDAgJHtzcGFjaW5nLm5vcm1hbH0gMDtcbmA7XG5cbmNvbnN0IG1lZGl1bUhlYWRlclVwcGVyY2FzZSA9IGNzc2BcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQucHJpbWFyeX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ib2xkfTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgcGFkZGluZy1yaWdodDogJHtzcGFjaW5nLnNtYWxsfTtcbiAgbWFyZ2luOiAwO1xuICAke2ZvbnRzLnNpemVzKDIwLCAxLjEpfTtcbmA7XG5cbmNvbnN0IHR5cG9ncmFwaHkgPSB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHR5cG9ncmFwaHk7XG4iXX0= */")); | ||
var typography = { | ||
@@ -23,2 +23,2 @@ smallHeading: smallHeading, | ||
var _default = typography; | ||
exports["default"] = _default; | ||
exports.default = _default; |
@@ -6,6 +6,6 @@ "use strict"; | ||
}); | ||
exports["default"] = void 0; | ||
exports.default = void 0; | ||
var _colors = _interopRequireDefault(require("./colors")); | ||
var _spacing = _interopRequireDefault(require("./spacing")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
@@ -22,6 +22,6 @@ * Copyright (c) 2019-present, NDLA. | ||
visuallyHidden: "\n margin: -1px;\n padding: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n clip: rect(0, 0, 0, 0);\n position: absolute;\n", | ||
scrollbar: "\n ::-webkit-scrollbar {\n width: ".concat(_spacing["default"].small, ";\n }\n ::-webkit-scrollbar-thumb {\n border: 4px solid transparent;\n border-radius: 14px;\n background-clip: padding-box;\n padding: 0 4px;\n background-color: ").concat(_colors["default"].brand.neutral7, ";\n }\n "), | ||
scrollbar: "\n ::-webkit-scrollbar {\n width: ".concat(_spacing.default.small, ";\n }\n ::-webkit-scrollbar-thumb {\n border: 4px solid transparent;\n border-radius: 14px;\n background-clip: padding-box;\n padding: 0 4px;\n background-color: ").concat(_colors.default.brand.neutral7, ";\n }\n "), | ||
labelHidden: "\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n " | ||
}; | ||
var _default = utils; | ||
exports["default"] = _default; | ||
exports.default = _default; |
{ | ||
"name": "@ndla/core", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "UI component library for NDLA.", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "1fa31ba26d4b1cc78663fa125892215c37078f94" | ||
"gitHead": "d5b859163608f1921fa425b333d5bbdd898c64d1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
118028
70