Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ndla/core

Package Overview
Dependencies
Maintainers
8
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.6.34 to 0.6.35

5

es/animations.js
import spacing from './spacing';
var DURATION_DEFAULT = '400ms';
export default {
var animations = {
durations: {

@@ -47,2 +47,3 @@ superFast: '100ms',

}
};
};
export default animations;

@@ -7,3 +7,3 @@ var brandLight = '#ceddea';

var brandYellow = '#fde74c';
export default {
var colors = {
/**

@@ -124,2 +124,3 @@ * NDLA Brand colors

}
};
};
export default colors;

@@ -20,3 +20,3 @@ var baseFontSizeUnit = 18;

export default {
var fonts = {
sans: "'Source Sans Pro',Helvetica,Arial,STKaiti,'华文楷体',KaiTi,SimKai,'楷体',KaiU,DFKai-SB,'標楷體',SongTi,'宋体',sans-serif",

@@ -31,2 +31,3 @@ serif: "'Source Serif Pro',Times,STKaiti,'华文楷体',KaiTi,SimKai,'楷体',KaiU,DFKai-SB,'標楷體',SongTi,'宋体',serif",

sizes: sizes
};
};
export default fonts;

@@ -1,2 +0,2 @@

export default {
var misc = {
maxTextWidth: '700px',

@@ -12,2 +12,3 @@ borderRadius: '4px',

textLinkBoxShadow: 'inset 0 -1px'
};
};
export default misc;
import facepaint from 'facepaint';
import breakpoints from './breakpoints';
export default {
var mq = {
tablet: facepaint(["@media (min-width: ".concat(breakpoints.tablet, ")")]),

@@ -12,2 +12,3 @@ desktop: facepaint(["@media (min-width: ".concat(breakpoints.desktop, ")")]),

}
};
};
export default mq;

@@ -1,4 +0,5 @@

export default {
var shadows = {
searchHeader: '0 0 30px rgba(39,39,40, .2)',
levitate1: '0 0 19px rgba(0, 0, 0, 0.2)'
};
};
export default shadows;
var spacingUnit = 26;
export default {
var spacing = {
xxsmall: "".concat(spacingUnit / 6, "px"),

@@ -11,2 +11,3 @@ xsmall: "".concat(spacingUnit / 4, "px"),

spacingUnit: spacingUnit
};
};
export default spacing;

11

es/typography.js

@@ -5,9 +5,10 @@ import { css } from '@emotion/core';

import spacing from './spacing';
var smallHeading = /*#__PURE__*/css(fonts.sizes(14, 1.1), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;;label:smallHeading;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG4iXX0= */"));
var smallerHeadingUppercase = /*#__PURE__*/css(fonts.sizes('18px', '26px'), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;margin:0 0 ", spacing.normal, " 0;;label:smallerHeadingUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG4iXX0= */"));
var mediumHeaderUppercase = /*#__PURE__*/css("color:", colors.text.primary, ";font-weight:", fonts.weight.bold, ";text-transform:uppercase;padding-right:", spacing.small, ";margin:0;", fonts.sizes(20, 1.1), ";;label:mediumHeaderUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZ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tYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuIl19 */"));
export default {
var smallHeading = /*#__PURE__*/css(fonts.sizes(14, 1.1), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;;label:smallHeading;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5jb25zdCB0eXBvZ3JhcGh5ID0ge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuXG5leHBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
var smallerHeadingUppercase = /*#__PURE__*/css(fonts.sizes('18px', '26px'), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;margin:0 0 ", spacing.normal, " 0;;label:smallerHeadingUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5jb25zdCB0eXBvZ3JhcGh5ID0ge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuXG5leHBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
var mediumHeaderUppercase = /*#__PURE__*/css("color:", colors.text.primary, ";font-weight:", fonts.weight.bold, ";text-transform:uppercase;padding-right:", spacing.small, ";margin:0;", fonts.sizes(20, 1.1), ";;label:mediumHeaderUppercase;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2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7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */"));
var typography = {
smallHeading: smallHeading,
smallerHeadingUppercase: smallerHeadingUppercase,
mediumHeaderUppercase: mediumHeaderUppercase
};
};
export default typography;

@@ -1,3 +0,4 @@

export default {
var utils = {
restoreOutline: "\n outline: 1px dotted #212121;\n outline: -webkit-focus-ring-color auto 5px;\n"
};
};
export default utils;

@@ -1,2 +0,2 @@

declare const _default: {
declare const animations: {
durations: {

@@ -21,2 +21,2 @@ superFast: string;

};
export default _default;
export default animations;

@@ -13,3 +13,3 @@ "use strict";

var DURATION_DEFAULT = '400ms';
var _default = {
var animations = {
durations: {

@@ -59,2 +59,3 @@ superFast: '100ms',

};
var _default = animations;
exports["default"] = _default;

@@ -1,2 +0,2 @@

declare const _default: {
declare const colors: {
/**

@@ -111,2 +111,2 @@ * NDLA Brand colors

};
export default _default;
export default colors;

@@ -13,3 +13,3 @@ "use strict";

var brandYellow = '#fde74c';
var _default = {
var colors = {
/**

@@ -131,2 +131,3 @@ * NDLA Brand colors

};
var _default = colors;
exports["default"] = _default;

@@ -5,3 +5,3 @@ /**

declare function sizes(fontSize: string | number, lineHeight?: string | number): string;
declare const _default: {
declare const fonts: {
sans: string;

@@ -17,2 +17,2 @@ serif: string;

};
export default _default;
export default fonts;

@@ -26,3 +26,3 @@ "use strict";

var _default = {
var fonts = {
sans: "'Source Sans Pro',Helvetica,Arial,STKaiti,'华文楷体',KaiTi,SimKai,'楷体',KaiU,DFKai-SB,'標楷體',SongTi,'宋体',sans-serif",

@@ -38,2 +38,3 @@ serif: "'Source Serif Pro',Times,STKaiti,'华文楷体',KaiTi,SimKai,'楷体',KaiU,DFKai-SB,'標楷體',SongTi,'宋体',serif",

};
var _default = fonts;
exports["default"] = _default;

@@ -1,2 +0,2 @@

declare const _default: {
declare const misc: {
maxTextWidth: string;

@@ -13,2 +13,2 @@ borderRadius: string;

};
export default _default;
export default misc;

@@ -7,3 +7,3 @@ "use strict";

exports["default"] = void 0;
var _default = {
var misc = {
maxTextWidth: '700px',

@@ -20,2 +20,3 @@ borderRadius: '4px',

};
var _default = misc;
exports["default"] = _default;

@@ -1,6 +0,6 @@

/// <reference path="../types/facepaint.d.ts" />
declare const _default: {
tablet: import("facepaint").DynamicStyleFunction;
desktop: import("facepaint").DynamicStyleFunction;
mobile: import("facepaint").DynamicStyleFunction;
import facepaint from 'facepaint';
declare const mq: {
tablet: facepaint.DynamicStyleFunction;
desktop: facepaint.DynamicStyleFunction;
mobile: facepaint.DynamicStyleFunction;
range: ({ from, until }: {

@@ -11,2 +11,2 @@ from?: string | undefined;

};
export default _default;
export default mq;

@@ -14,3 +14,3 @@ "use strict";

var _default = {
var mq = {
tablet: (0, _facepaint["default"])(["@media (min-width: ".concat(_breakpoints["default"].tablet, ")")]),

@@ -25,2 +25,3 @@ desktop: (0, _facepaint["default"])(["@media (min-width: ".concat(_breakpoints["default"].desktop, ")")]),

};
var _default = mq;
exports["default"] = _default;

@@ -1,5 +0,5 @@

declare const _default: {
declare const shadows: {
searchHeader: string;
levitate1: string;
};
export default _default;
export default shadows;

@@ -7,6 +7,7 @@ "use strict";

exports["default"] = void 0;
var _default = {
var shadows = {
searchHeader: '0 0 30px rgba(39,39,40, .2)',
levitate1: '0 0 19px rgba(0, 0, 0, 0.2)'
};
var _default = shadows;
exports["default"] = _default;

@@ -1,2 +0,2 @@

declare const _default: {
declare const spacing: {
xxsmall: string;

@@ -11,2 +11,2 @@ xsmall: string;

};
export default _default;
export default spacing;

@@ -8,3 +8,3 @@ "use strict";

var spacingUnit = 26;
var _default = {
var spacing = {
xxsmall: "".concat(spacingUnit / 6, "px"),

@@ -19,2 +19,3 @@ xsmall: "".concat(spacingUnit / 4, "px"),

};
var _default = spacing;
exports["default"] = _default;

@@ -1,2 +0,2 @@

declare const _default: {
declare const typography: {
smallHeading: import("@emotion/utils").SerializedStyles;

@@ -6,2 +6,2 @@ smallerHeadingUppercase: import("@emotion/utils").SerializedStyles;

};
export default _default;
export default typography;

@@ -18,6 +18,6 @@ "use strict";

var smallHeading = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG4iXX0= */"));
var smallerHeadingUppercase = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5leHBvcnQgZGVmYXVsdCB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG4iXX0= */"));
var mediumHeaderUppercase = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuZXhwb3J0IGRlZmF1bHQge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuIl19 */"));
var _default = {
var smallHeading = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5jb25zdCB0eXBvZ3JhcGh5ID0ge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuXG5leHBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
var smallerHeadingUppercase = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9j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HBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
var mediumHeaderUppercase = /*#__PURE__*/(0, _core.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */"));
var typography = {
smallHeading: smallHeading,

@@ -27,2 +27,3 @@ smallerHeadingUppercase: smallerHeadingUppercase,

};
var _default = typography;
exports["default"] = _default;

@@ -1,4 +0,4 @@

declare const _default: {
declare const utils: {
restoreOutline: string;
};
export default _default;
export default utils;

@@ -7,5 +7,6 @@ "use strict";

exports["default"] = void 0;
var _default = {
var utils = {
restoreOutline: "\n outline: 1px dotted #212121;\n outline: -webkit-focus-ring-color auto 5px;\n"
};
var _default = utils;
exports["default"] = _default;
{
"name": "@ndla/core",
"version": "0.6.34",
"version": "0.6.35",
"description": "UI component library for NDLA.",

@@ -38,3 +38,3 @@ "license": "GPL-3.0",

},
"gitHead": "24d899b8c2ebd0df23362a4359721307ba95dad6"
"gitHead": "a29a4127e296c13f524fdfe999bbfae91448f21e"
}

Sorry, the diff of this file is not supported yet

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