@entur/typography
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -18,3 +18,2 @@ 'use strict'; | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
@@ -26,9 +25,6 @@ if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose(source, excluded) { | ||
@@ -39,3 +35,2 @@ if (source == null) return {}; | ||
var key, i; | ||
for (i = 0; i < sourceKeys.length; i++) { | ||
@@ -46,3 +41,2 @@ key = sourceKeys[i]; | ||
} | ||
return target; | ||
@@ -52,7 +46,6 @@ } | ||
var _excluded$l = ["className"], | ||
_excluded2 = ["className"]; | ||
_excluded2 = ["className"]; | ||
var Blockquote = function Blockquote(_ref) { | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$l); | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$l); | ||
return React__default["default"].createElement("blockquote", _extends({ | ||
@@ -64,4 +57,3 @@ className: classNames__default["default"]('eds-blockquote', className) | ||
var className = _ref2.className, | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
return React__default["default"].createElement("footer", _extends({ | ||
@@ -76,5 +68,4 @@ className: classNames__default["default"]('eds-blockquote__footer', className) | ||
var className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$k); | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$k); | ||
var Element = as || defaultElement$h; | ||
@@ -90,9 +81,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$j); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$j); | ||
var Element = as || defaultElement$g; | ||
@@ -108,9 +97,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
level = _ref.level, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$i); | ||
level = _ref.level, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$i); | ||
var Element = as || defaultElement$f; | ||
@@ -127,7 +114,6 @@ var baseClass = "eds-h" + level; | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$h); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$h); | ||
var Element = as || defaultElement$e; | ||
@@ -146,7 +132,6 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$g); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$g); | ||
var Element = as || defaultElement$d; | ||
@@ -165,7 +150,6 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$f); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$f); | ||
var Element = as || defaultElement$c; | ||
@@ -184,7 +168,6 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$e); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$e); | ||
var Element = as || defaultElement$b; | ||
@@ -203,7 +186,6 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$d); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$d); | ||
var Element = as || defaultElement$a; | ||
@@ -222,7 +204,6 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c); | ||
var Element = as || defaultElement$9; | ||
@@ -241,9 +222,7 @@ return React__default["default"].createElement(BaseHeading, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$b); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$b); | ||
var Element = as || defaultElement$8; | ||
@@ -259,9 +238,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$a); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$a); | ||
var Element = as || defaultElement$7; | ||
@@ -277,9 +254,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$9); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$9); | ||
var Element = as || defaultElement$6; | ||
@@ -295,9 +270,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8); | ||
var Element = as || defaultElement$5; | ||
@@ -312,6 +285,5 @@ return React__default["default"].createElement(Element, _extends({ | ||
var children = _ref.children, | ||
className = _ref.className, | ||
title = _ref.title, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7); | ||
className = _ref.className, | ||
title = _ref.title, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7); | ||
return React__default["default"].createElement("li", _extends({ | ||
@@ -327,8 +299,6 @@ className: classNames__default["default"]('eds-list-item', className) | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$type = _ref.type, | ||
type = _ref$type === void 0 ? '1' : _ref$type, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$6); | ||
_ref$type = _ref.type, | ||
type = _ref$type === void 0 ? '1' : _ref$type, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$6); | ||
return React__default["default"].createElement("ol", _extends({ | ||
@@ -344,7 +314,6 @@ className: classNames__default["default"]('eds-numbered-list', (_classNames = {}, _classNames["eds-numbered-list--type-" + type] = type, _classNames), className), | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'bottom' : _ref$margin, | ||
className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$5); | ||
margin = _ref$margin === void 0 ? 'bottom' : _ref$margin, | ||
className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$5); | ||
var Element = as || defaultElement$4; | ||
@@ -363,5 +332,4 @@ return React__default["default"].createElement(Element, _extends({ | ||
var className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4); | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4); | ||
var Element = as || defaultElement$3; | ||
@@ -377,9 +345,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3); | ||
var Element = as || defaultElement$2; | ||
@@ -395,9 +361,7 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
var Element = as || defaultElement$1; | ||
@@ -413,8 +377,6 @@ return React__default["default"].createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
var Element = as || defaultElement; | ||
@@ -429,4 +391,3 @@ return React__default["default"].createElement(Element, _extends({ | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return React__default["default"].createElement("ul", _extends({ | ||
@@ -433,0 +394,0 @@ className: classNames__default["default"]('eds-unordered-list', className) |
@@ -9,3 +9,2 @@ import { warnAboutMissingStyles } from '@entur/utils'; | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
@@ -17,9 +16,6 @@ if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
function _objectWithoutPropertiesLoose(source, excluded) { | ||
@@ -30,3 +26,2 @@ if (source == null) return {}; | ||
var key, i; | ||
for (i = 0; i < sourceKeys.length; i++) { | ||
@@ -37,3 +32,2 @@ key = sourceKeys[i]; | ||
} | ||
return target; | ||
@@ -43,7 +37,6 @@ } | ||
var _excluded$l = ["className"], | ||
_excluded2 = ["className"]; | ||
_excluded2 = ["className"]; | ||
var Blockquote = function Blockquote(_ref) { | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$l); | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$l); | ||
return React.createElement("blockquote", _extends({ | ||
@@ -55,4 +48,3 @@ className: classNames('eds-blockquote', className) | ||
var className = _ref2.className, | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2); | ||
return React.createElement("footer", _extends({ | ||
@@ -67,5 +59,4 @@ className: classNames('eds-blockquote__footer', className) | ||
var className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$k); | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$k); | ||
var Element = as || defaultElement$h; | ||
@@ -81,9 +72,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$j); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$j); | ||
var Element = as || defaultElement$g; | ||
@@ -99,9 +88,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
level = _ref.level, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$i); | ||
level = _ref.level, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$i); | ||
var Element = as || defaultElement$f; | ||
@@ -118,7 +105,6 @@ var baseClass = "eds-h" + level; | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$h); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$h); | ||
var Element = as || defaultElement$e; | ||
@@ -137,7 +123,6 @@ return React.createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$g); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$g); | ||
var Element = as || defaultElement$d; | ||
@@ -156,7 +141,6 @@ return React.createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$f); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$f); | ||
var Element = as || defaultElement$c; | ||
@@ -175,7 +159,6 @@ return React.createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$e); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$e); | ||
var Element = as || defaultElement$b; | ||
@@ -194,7 +177,6 @@ return React.createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$d); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$d); | ||
var Element = as || defaultElement$a; | ||
@@ -213,7 +195,6 @@ return React.createElement(BaseHeading, _extends({ | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c); | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
children = _ref.children, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c); | ||
var Element = as || defaultElement$9; | ||
@@ -232,9 +213,7 @@ return React.createElement(BaseHeading, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$b); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$b); | ||
var Element = as || defaultElement$8; | ||
@@ -250,9 +229,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$a); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$a); | ||
var Element = as || defaultElement$7; | ||
@@ -268,9 +245,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$9); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$9); | ||
var Element = as || defaultElement$6; | ||
@@ -286,9 +261,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8); | ||
var Element = as || defaultElement$5; | ||
@@ -303,6 +276,5 @@ return React.createElement(Element, _extends({ | ||
var children = _ref.children, | ||
className = _ref.className, | ||
title = _ref.title, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7); | ||
className = _ref.className, | ||
title = _ref.title, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7); | ||
return React.createElement("li", _extends({ | ||
@@ -318,8 +290,6 @@ className: classNames('eds-list-item', className) | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$type = _ref.type, | ||
type = _ref$type === void 0 ? '1' : _ref$type, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$6); | ||
_ref$type = _ref.type, | ||
type = _ref$type === void 0 ? '1' : _ref$type, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$6); | ||
return React.createElement("ol", _extends({ | ||
@@ -335,7 +305,6 @@ className: classNames('eds-numbered-list', (_classNames = {}, _classNames["eds-numbered-list--type-" + type] = type, _classNames), className), | ||
var _ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'bottom' : _ref$margin, | ||
className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$5); | ||
margin = _ref$margin === void 0 ? 'bottom' : _ref$margin, | ||
className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$5); | ||
var Element = as || defaultElement$4; | ||
@@ -354,5 +323,4 @@ return React.createElement(Element, _extends({ | ||
var className = _ref.className, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4); | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4); | ||
var Element = as || defaultElement$3; | ||
@@ -368,9 +336,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3); | ||
var Element = as || defaultElement$2; | ||
@@ -386,9 +352,7 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
_ref$margin = _ref.margin, | ||
margin = _ref$margin === void 0 ? 'both' : _ref$margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
var Element = as || defaultElement$1; | ||
@@ -404,8 +368,6 @@ return React.createElement(Element, _extends({ | ||
var _classNames; | ||
var className = _ref.className, | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
margin = _ref.margin, | ||
as = _ref.as, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
var Element = as || defaultElement; | ||
@@ -420,4 +382,3 @@ return React.createElement(Element, _extends({ | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return React.createElement("ul", _extends({ | ||
@@ -424,0 +385,0 @@ className: classNames('eds-unordered-list', className) |
{ | ||
"name": "@entur/typography", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"license": "SEE LICENSE IN README.md", | ||
@@ -20,6 +20,6 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"build": "dts build && cp -r fonts dist/fonts", | ||
"test": "dts test --env=jsdom", | ||
"lint": "dts lint", | ||
"start": "dts watch --noClean" | ||
"build": "yarn run dts build && cp -r fonts dist/fonts", | ||
"test": "yarn run dts test --env=jsdom", | ||
"lint": "yarn run dts lint", | ||
"start": "yarn run dts watch --noClean" | ||
}, | ||
@@ -31,3 +31,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@entur/utils": "^0.4.6", | ||
"@entur/utils": "^0.4.7", | ||
"classnames": "^2.3.1", | ||
@@ -37,5 +37,10 @@ "normalize-scss": "^7.0.1" | ||
"devDependencies": { | ||
"@entur/tokens": "^3.4.1" | ||
"@entur/tokens": "^3.4.2", | ||
"dts-cli": "^1.1.6", | ||
"jest": "^27.0.0", | ||
"jest-watch-typeahead": "^2.2.0", | ||
"ts-jest": "^27.0.0", | ||
"typescript": "^4.8.0" | ||
}, | ||
"gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7" | ||
"gitHead": "8915b1630bd936740ba9a4a88883f3432948a80e" | ||
} |
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
2030019
6
58
1631
Updated@entur/utils@^0.4.7