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

@entur/typography

Package Overview
Dependencies
Maintainers
13
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/typography - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

dist/typography/src/BaseHeading.d.ts

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.7.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.2...@entur/typography@0.7.3) (2020-01-14)
**Note:** Version bump only for package @entur/typography
## [0.7.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.1...@entur/typography@0.7.2) (2020-01-13)

@@ -8,0 +12,0 @@

65

dist/typography.cjs.development.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var utils = require('@entur/utils');
var _objectWithoutProperties = _interopDefault(require('@babel/runtime/helpers/objectWithoutProperties'));
var React = _interopDefault(require('react'));
var classNames = _interopDefault(require('classnames'));
var _defineProperty = _interopDefault(require('@babel/runtime/helpers/defineProperty'));
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
var CodeText = function CodeText(_ref) {

@@ -15,3 +30,3 @@ var _ref$as = _ref.as,

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -27,3 +42,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -43,7 +58,7 @@ return React.createElement(Element, Object.assign({

margin = _ref.margin,
rest = _objectWithoutProperties(_ref, ["as", "className", "level", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className", "level", "margin"]);
var baseClass = "eds-h".concat(level);
var baseClass = "eds-h" + level;
return React.createElement(Element, Object.assign({
className: classNames(baseClass, (_classNames = {}, _defineProperty(_classNames, "".concat(baseClass, "--margin-top"), margin === 'top'), _defineProperty(_classNames, "".concat(baseClass, "--margin-bottom"), margin === 'bottom'), _defineProperty(_classNames, "".concat(baseClass, "--margin-none"), margin === 'none'), _classNames), className)
className: classNames(baseClass, (_classNames = {}, _classNames[baseClass + "--margin-top"] = margin === 'top', _classNames[baseClass + "--margin-bottom"] = margin === 'bottom', _classNames[baseClass + "--margin-none"] = margin === 'none', _classNames), className)
}, rest));

@@ -57,3 +72,3 @@ };

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -73,3 +88,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -89,3 +104,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -105,3 +120,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -121,3 +136,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -137,3 +152,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -152,3 +167,3 @@ return React.createElement(BaseHeading, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -164,3 +179,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -176,3 +191,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -188,3 +203,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -200,3 +215,3 @@ return React.createElement(Element, Object.assign({

title = _ref.title,
rest = _objectWithoutProperties(_ref, ["children", "className", "title"]);
rest = _objectWithoutPropertiesLoose(_ref, ["children", "className", "title"]);

@@ -212,3 +227,3 @@ return React.createElement("li", Object.assign({

var className = _ref.className,
rest = _objectWithoutProperties(_ref, ["className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["className"]);

@@ -224,3 +239,3 @@ return React.createElement("ol", Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -236,3 +251,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -248,3 +263,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -260,3 +275,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -272,3 +287,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -282,3 +297,3 @@ return React.createElement(Element, Object.assign({

var className = _ref.className,
rest = _objectWithoutProperties(_ref, ["className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["className"]);

@@ -285,0 +300,0 @@ return React.createElement("ul", Object.assign({

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

"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var a=require("@entur/utils"),s=e(require("@babel/runtime/helpers/objectWithoutProperties")),t=e(require("react")),r=e(require("classnames")),n=e(require("@babel/runtime/helpers/defineProperty")),i=function(e){var a,i=e.as,c=void 0===i?"h1":i,l=e.className,m=e.level,o=e.margin,d=s(e,["as","className","level","margin"]),u="eds-h".concat(m);return t.createElement(c,Object.assign({className:r(u,(a={},n(a,"".concat(u,"--margin-top"),"top"===o),n(a,"".concat(u,"--margin-bottom"),"bottom"===o),n(a,"".concat(u,"--margin-none"),"none"===o),a),l)},d))},c=function(e){var a=e.as,n=void 0===a?"strong":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-strong-text",i)},c))};a.warnAboutMissingStyles("typography"),exports.CodeText=function(e){var a=e.as,n=void 0===a?"code":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-code-text",i)},c))},exports.EmphasizedText=function(e){var a=e.as,n=void 0===a?"em":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-emphasized-text",i)},c))},exports.Heading1=function(e){var a=e.as,r=void 0===a?"h1":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:1}))},exports.Heading2=function(e){var a=e.as,r=void 0===a?"h2":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:2}))},exports.Heading3=function(e){var a=e.as,r=void 0===a?"h3":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:3}))},exports.Heading4=function(e){var a=e.as,r=void 0===a?"h4":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:4}))},exports.Heading5=function(e){var a=e.as,r=void 0===a?"h5":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:5}))},exports.Heading6=function(e){var a=e.as,r=void 0===a?"h6":a,n=e.margin,c=void 0===n?"both":n,l=s(e,["as","margin"]);return t.createElement(i,Object.assign({as:r,margin:c},l,{level:6}))},exports.Label=function(e){var a=e.as,n=void 0===a?"label":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-label",i)},c))},exports.LeadParagraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-lead-paragraph",i)},c))},exports.Link=function(e){var a=e.as,n=void 0===a?"a":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-link",i)},c))},exports.ListItem=function(e){var a=e.children,n=e.className,i=e.title,l=s(e,["children","className","title"]);return t.createElement("li",Object.assign({className:r("eds-list-item",n)},l),i&&t.createElement(c,{className:"eds-list-item__title"},i),a)},exports.NumberedList=function(e){var a=e.className,n=s(e,["className"]);return t.createElement("ol",Object.assign({className:r("eds-numbered-list",a)},n))},exports.Paragraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-paragraph",i)},c))},exports.PreformattedText=function(e){var a=e.as,n=void 0===a?"pre":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-preformatted-text",i)},c))},exports.SmallText=function(e){var a=e.as,n=void 0===a?"span":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-small-text",i)},c))},exports.StrongText=c,exports.SubLabel=function(e){var a=e.as,n=void 0===a?"span":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-sub-label",i)},c))},exports.SubParagraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=s(e,["as","className"]);return t.createElement(n,Object.assign({className:r("eds-sub-paragraph",i)},c))},exports.UnorderedList=function(e){var a=e.className,n=s(e,["className"]);return t.createElement("ul",Object.assign({className:r("eds-unordered-list",a)},n))};
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var a=require("@entur/utils"),s=e(require("react")),t=e(require("classnames"));function r(e,a){if(null==e)return{};var s,t,r={},n=Object.keys(e);for(t=0;t<n.length;t++)a.indexOf(s=n[t])>=0||(r[s]=e[s]);return r}var n=function(e){var a,n=e.as,i=void 0===n?"h1":n,c=e.className,l=e.level,m=e.margin,o=r(e,["as","className","level","margin"]),d="eds-h"+l;return s.createElement(i,Object.assign({className:t(d,(a={},a[d+"--margin-top"]="top"===m,a[d+"--margin-bottom"]="bottom"===m,a[d+"--margin-none"]="none"===m,a),c)},o))},i=function(e){var a=e.as,n=void 0===a?"strong":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-strong-text",i)},c))};a.warnAboutMissingStyles("typography"),exports.CodeText=function(e){var a=e.as,n=void 0===a?"code":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-code-text",i)},c))},exports.EmphasizedText=function(e){var a=e.as,n=void 0===a?"em":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-emphasized-text",i)},c))},exports.Heading1=function(e){var a=e.as,t=void 0===a?"h1":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:1}))},exports.Heading2=function(e){var a=e.as,t=void 0===a?"h2":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:2}))},exports.Heading3=function(e){var a=e.as,t=void 0===a?"h3":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:3}))},exports.Heading4=function(e){var a=e.as,t=void 0===a?"h4":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:4}))},exports.Heading5=function(e){var a=e.as,t=void 0===a?"h5":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:5}))},exports.Heading6=function(e){var a=e.as,t=void 0===a?"h6":a,i=e.margin,c=void 0===i?"both":i,l=r(e,["as","margin"]);return s.createElement(n,Object.assign({as:t,margin:c},l,{level:6}))},exports.Label=function(e){var a=e.as,n=void 0===a?"label":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-label",i)},c))},exports.LeadParagraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-lead-paragraph",i)},c))},exports.Link=function(e){var a=e.as,n=void 0===a?"a":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-link",i)},c))},exports.ListItem=function(e){var a=e.children,n=e.className,c=e.title,l=r(e,["children","className","title"]);return s.createElement("li",Object.assign({className:t("eds-list-item",n)},l),c&&s.createElement(i,{className:"eds-list-item__title"},c),a)},exports.NumberedList=function(e){var a=e.className,n=r(e,["className"]);return s.createElement("ol",Object.assign({className:t("eds-numbered-list",a)},n))},exports.Paragraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-paragraph",i)},c))},exports.PreformattedText=function(e){var a=e.as,n=void 0===a?"pre":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-preformatted-text",i)},c))},exports.SmallText=function(e){var a=e.as,n=void 0===a?"span":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-small-text",i)},c))},exports.StrongText=i,exports.SubLabel=function(e){var a=e.as,n=void 0===a?"span":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-sub-label",i)},c))},exports.SubParagraph=function(e){var a=e.as,n=void 0===a?"p":a,i=e.className,c=r(e,["as","className"]);return s.createElement(n,Object.assign({className:t("eds-sub-paragraph",i)},c))},exports.UnorderedList=function(e){var a=e.className,n=r(e,["className"]);return s.createElement("ul",Object.assign({className:t("eds-unordered-list",a)},n))};
//# sourceMappingURL=typography.cjs.production.min.js.map
import { warnAboutMissingStyles } from '@entur/utils';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
import React from 'react';
import classNames from 'classnames';
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
var CodeText = function CodeText(_ref) {

@@ -11,3 +24,3 @@ var _ref$as = _ref.as,

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -23,3 +36,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -39,7 +52,7 @@ return React.createElement(Element, Object.assign({

margin = _ref.margin,
rest = _objectWithoutProperties(_ref, ["as", "className", "level", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className", "level", "margin"]);
var baseClass = "eds-h".concat(level);
var baseClass = "eds-h" + level;
return React.createElement(Element, Object.assign({
className: classNames(baseClass, (_classNames = {}, _defineProperty(_classNames, "".concat(baseClass, "--margin-top"), margin === 'top'), _defineProperty(_classNames, "".concat(baseClass, "--margin-bottom"), margin === 'bottom'), _defineProperty(_classNames, "".concat(baseClass, "--margin-none"), margin === 'none'), _classNames), className)
className: classNames(baseClass, (_classNames = {}, _classNames[baseClass + "--margin-top"] = margin === 'top', _classNames[baseClass + "--margin-bottom"] = margin === 'bottom', _classNames[baseClass + "--margin-none"] = margin === 'none', _classNames), className)
}, rest));

@@ -53,3 +66,3 @@ };

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -69,3 +82,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -85,3 +98,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -101,3 +114,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -117,3 +130,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -133,3 +146,3 @@ return React.createElement(BaseHeading, Object.assign({

margin = _ref$margin === void 0 ? 'both' : _ref$margin,
rest = _objectWithoutProperties(_ref, ["as", "margin"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "margin"]);

@@ -148,3 +161,3 @@ return React.createElement(BaseHeading, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -160,3 +173,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -172,3 +185,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -184,3 +197,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -196,3 +209,3 @@ return React.createElement(Element, Object.assign({

title = _ref.title,
rest = _objectWithoutProperties(_ref, ["children", "className", "title"]);
rest = _objectWithoutPropertiesLoose(_ref, ["children", "className", "title"]);

@@ -208,3 +221,3 @@ return React.createElement("li", Object.assign({

var className = _ref.className,
rest = _objectWithoutProperties(_ref, ["className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["className"]);

@@ -220,3 +233,3 @@ return React.createElement("ol", Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -232,3 +245,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -244,3 +257,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -256,3 +269,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -268,3 +281,3 @@ return React.createElement(Element, Object.assign({

className = _ref.className,
rest = _objectWithoutProperties(_ref, ["as", "className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["as", "className"]);

@@ -278,3 +291,3 @@ return React.createElement(Element, Object.assign({

var className = _ref.className,
rest = _objectWithoutProperties(_ref, ["className"]);
rest = _objectWithoutPropertiesLoose(_ref, ["className"]);

@@ -281,0 +294,0 @@ return React.createElement("ul", Object.assign({

{
"name": "@entur/typography",
"version": "0.7.2",
"version": "0.7.3",
"license": "EUPL-1.2",

@@ -30,3 +30,3 @@ "main": "dist/index.js",

"dependencies": {
"@entur/utils": "^0.2.0",
"@entur/utils": "^0.2.1",
"@types/classnames": "^2.2.9",

@@ -37,5 +37,5 @@ "classnames": "^2.2.6",

"devDependencies": {
"@entur/tokens": "^1.1.1"
"@entur/tokens": "^1.1.2"
},
"gitHead": "af54ee3149f8b3867555d5fdd68699821d5b8fae"
"gitHead": "424f5b8ed5df86c1332f683d13a3ef59efc977ba"
}

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

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