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

@ndla/core

Package Overview
Dependencies
Maintainers
7
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 2.3.6 to 3.0.0

20

es/typography.js

@@ -1,8 +0,20 @@

import { css } from '@emotion/core';
import { css } from '@emotion/react';
import fonts from './fonts';
import colors from './colors';
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,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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltc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umHeaderUppercase = /*#__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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */"));
var smallHeading =
/*#__PURE__*/
/*#__PURE__*/
css(fonts.sizes(14, 1.1), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;" + (process.env.NODE_ENV === "production" ? "" : ";label:smallHeading;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:smallHeading;");
var smallerHeadingUppercase =
/*#__PURE__*/
/*#__PURE__*/
css(fonts.sizes('18px', '26px'), ";font-weight:", fonts.weight.normal, ";color:", colors.text.light, ";text-transform:uppercase;margin:0 0 ", spacing.normal, " 0;" + (process.env.NODE_ENV === "production" ? "" : ";label:smallerHeadingUppercase;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2Z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9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:smallerHeadingUppercase;");
var mediumHeaderUppercase =
/*#__PURE__*/
/*#__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), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:mediumHeaderUppercase;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IGZvbnRzIGZyb20gJy4vZm9udHMnO1xuaW1wb3J0IGNvbG9ycyBmcm9tICcuL2NvbG9ycyc7XG5pbXBvcnQgc3BhY2luZyBmcm9tICcuL3NwYWNpbmcnO1xuXG5jb25zdCBzbWFsbEhlYWRpbmcgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoMTQsIDEuMSl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuYDtcblxuY29uc3Qgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoJzE4cHgnLCAnMjZweCcpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgbWFyZ2luOiAwIDAgJHtzcGFjaW5nLm5vcm1hbH0gMDtcbmA7XG5cbmNvbnN0IG1lZGl1bUhlYWRlclVwcGVyY2FzZSA9IGNzc2BcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQucHJpbWFyeX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ib2xkfTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgcGFkZGluZy1yaWdodDogJHtzcGFjaW5nLnNtYWxsfTtcbiAgbWFyZ2luOiAwO1xuICAke2ZvbnRzLnNpemVzKDIwLCAxLjEpfTtcbmA7XG5cbmNvbnN0IHR5cG9ncmFwaHkgPSB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHR5cG9ncmFwaHk7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:mediumHeaderUppercase;");
var typography = {

@@ -9,0 +21,0 @@ smallHeading: smallHeading,

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

var _core = require("@emotion/core");
var _react = require("@emotion/react");

@@ -19,5 +19,17 @@ var _fonts = _interopRequireDefault(require("./fonts"));

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,eyJ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pbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5jb25zdCB0eXBvZ3JhcGh5ID0ge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuXG5leHBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCBmb250cyBmcm9tICcuL2ZvbnRzJztcbmltcG9ydCBjb2xvcnMgZnJvbSAnLi9jb2xvcnMnO1xuaW1wb3J0IHNwYWNpbmcgZnJvbSAnLi9zcGFjaW5nJztcblxuY29uc3Qgc21hbGxIZWFkaW5nID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKDE0LCAxLjEpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbmA7XG5cbmNvbnN0IHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlID0gY3NzYFxuICAke2ZvbnRzLnNpemVzKCcxOHB4JywgJzI2cHgnKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIG1hcmdpbjogMCAwICR7c3BhY2luZy5ub3JtYWx9IDA7XG5gO1xuXG5jb25zdCBtZWRpdW1IZWFkZXJVcHBlcmNhc2UgPSBjc3NgXG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LnByaW1hcnl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQuYm9sZH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIHBhZGRpbmctcmlnaHQ6ICR7c3BhY2luZy5zbWFsbH07XG4gIG1hcmdpbjogMDtcbiAgJHtmb250cy5zaXplcygyMCwgMS4xKX07XG5gO1xuXG5jb25zdCB0eXBvZ3JhcGh5ID0ge1xuICBzbWFsbEhlYWRpbmcsXG4gIHNtYWxsZXJIZWFkaW5nVXBwZXJjYXNlLFxuICBtZWRpdW1IZWFkZXJVcHBlcmNhc2UsXG59O1xuXG5leHBvcnQgZGVmYXVsdCB0eXBvZ3JhcGh5O1xuIl19 */"));
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rp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ZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */"));
var smallHeading =
/*#__PURE__*/
/*#__PURE__*/
(0, _react.css)(_fonts["default"].sizes(14, 1.1), ";font-weight:", _fonts["default"].weight.normal, ";color:", _colors["default"].text.light, ";text-transform:uppercase;" + (process.env.NODE_ENV === "production" ? "" : ";label:smallHeading;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3dCIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:smallHeading;");
var smallerHeadingUppercase =
/*#__PURE__*/
/*#__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;" + (process.env.NODE_ENV === "production" ? "" : ";label:smallerHeadingUppercase;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWW1DIiwiZmlsZSI6InR5cG9ncmFwaHkudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZm9udHMgZnJvbSAnLi9mb250cyc7XG5pbXBvcnQgY29sb3JzIGZyb20gJy4vY29sb3JzJztcbmltcG9ydCBzcGFjaW5nIGZyb20gJy4vc3BhY2luZyc7XG5cbmNvbnN0IHNtYWxsSGVhZGluZyA9IGNzc2BcbiAgJHtmb250cy5zaXplcygxNCwgMS4xKX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ub3JtYWx9O1xuICBjb2xvcjogJHtjb2xvcnMudGV4dC5saWdodH07XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5gO1xuXG5jb25zdCBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSA9IGNzc2BcbiAgJHtmb250cy5zaXplcygnMThweCcsICcyNnB4Jyl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBtYXJnaW46IDAgMCAke3NwYWNpbmcubm9ybWFsfSAwO1xuYDtcblxuY29uc3QgbWVkaXVtSGVhZGVyVXBwZXJjYXNlID0gY3NzYFxuICBjb2xvcjogJHtjb2xvcnMudGV4dC5wcmltYXJ5fTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0LmJvbGR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBwYWRkaW5nLXJpZ2h0OiAke3NwYWNpbmcuc21hbGx9O1xuICBtYXJnaW46IDA7XG4gICR7Zm9udHMuc2l6ZXMoMjAsIDEuMSl9O1xuYDtcblxuY29uc3QgdHlwb2dyYXBoeSA9IHtcbiAgc21hbGxIZWFkaW5nLFxuICBzbWFsbGVySGVhZGluZ1VwcGVyY2FzZSxcbiAgbWVkaXVtSGVhZGVyVXBwZXJjYXNlLFxufTtcblxuZXhwb3J0IGRlZmF1bHQgdHlwb2dyYXBoeTtcbiJdfQ== */", process.env.NODE_ENV === "production" ? "" : ";label:smallerHeadingUppercase;");
var mediumHeaderUppercase =
/*#__PURE__*/
/*#__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), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:mediumHeaderUppercase;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cG9ncmFwaHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JpQyIsImZpbGUiOiJ0eXBvZ3JhcGh5LnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IGZvbnRzIGZyb20gJy4vZm9udHMnO1xuaW1wb3J0IGNvbG9ycyBmcm9tICcuL2NvbG9ycyc7XG5pbXBvcnQgc3BhY2luZyBmcm9tICcuL3NwYWNpbmcnO1xuXG5jb25zdCBzbWFsbEhlYWRpbmcgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoMTQsIDEuMSl9O1xuICBmb250LXdlaWdodDogJHtmb250cy53ZWlnaHQubm9ybWFsfTtcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQubGlnaHR9O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuYDtcblxuY29uc3Qgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UgPSBjc3NgXG4gICR7Zm9udHMuc2l6ZXMoJzE4cHgnLCAnMjZweCcpfTtcbiAgZm9udC13ZWlnaHQ6ICR7Zm9udHMud2VpZ2h0Lm5vcm1hbH07XG4gIGNvbG9yOiAke2NvbG9ycy50ZXh0LmxpZ2h0fTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgbWFyZ2luOiAwIDAgJHtzcGFjaW5nLm5vcm1hbH0gMDtcbmA7XG5cbmNvbnN0IG1lZGl1bUhlYWRlclVwcGVyY2FzZSA9IGNzc2BcbiAgY29sb3I6ICR7Y29sb3JzLnRleHQucHJpbWFyeX07XG4gIGZvbnQtd2VpZ2h0OiAke2ZvbnRzLndlaWdodC5ib2xkfTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbiAgcGFkZGluZy1yaWdodDogJHtzcGFjaW5nLnNtYWxsfTtcbiAgbWFyZ2luOiAwO1xuICAke2ZvbnRzLnNpemVzKDIwLCAxLjEpfTtcbmA7XG5cbmNvbnN0IHR5cG9ncmFwaHkgPSB7XG4gIHNtYWxsSGVhZGluZyxcbiAgc21hbGxlckhlYWRpbmdVcHBlcmNhc2UsXG4gIG1lZGl1bUhlYWRlclVwcGVyY2FzZSxcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHR5cG9ncmFwaHk7XG4iXX0= */", process.env.NODE_ENV === "production" ? "" : ";label:mediumHeaderUppercase;");
var typography = {

@@ -24,0 +36,0 @@ smallHeading: smallHeading,

6

package.json
{
"name": "@ndla/core",
"version": "2.3.6",
"version": "3.0.0",
"description": "UI component library for NDLA.",

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

"peerDependencies": {
"@emotion/core": "^10.0.9"
"@emotion/react": "^11.10.4"
},

@@ -41,3 +41,3 @@ "publishConfig": {

},
"gitHead": "2c5d6b7038c442a871b4cd69247d243cadd129da"
"gitHead": "7f4578ae15653f2f6a1efde17d24991e77f026bc"
}
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