Socket
Socket
Sign inDemoInstall

@entur/typography

Package Overview
Dependencies
Maintainers
13
Versions
136
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 1.7.6 to 1.7.7

4

dist/BaseHeading.d.ts
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
declare type BaseHeadingOwnProps = {
type BaseHeadingOwnProps = {
/** HTML-elementet eller React-komponenten som rendres */

@@ -16,4 +16,4 @@ as: string | React.ElementType;

declare const defaultElement = "h1";
export declare type BaseHeadingProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;
export type BaseHeadingProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;
export declare const BaseHeading: <E extends React.ElementType<any> = "h1">({ className, level, margin, as, ...rest }: BaseHeadingProps<E>) => JSX.Element;
export {};
import React from 'react';
declare type BlockquoteProps = {
type BlockquoteProps = {
/** Ekstra klassenavn */

@@ -7,3 +7,3 @@ className?: string;

export declare const Blockquote: React.FunctionComponent<BlockquoteProps>;
declare type BlockquoteFooterProps = {
type BlockquoteFooterProps = {
/** Ekstra klassenavn */

@@ -10,0 +10,0 @@ className?: string;

import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type CodeTextOwnProps = {
export type CodeTextOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -13,5 +13,5 @@ * @default "code"

};
export declare type CodeTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, CodeTextOwnProps>;
export type CodeTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, CodeTextOwnProps>;
declare const defaultElement = "code";
export declare const CodeText: <E extends React.ElementType<any> = "code">({ className, as, ...rest }: CodeTextProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type EmphasizedTextOwnProps = {
export type EmphasizedTextOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "em"

};
export declare type EmphasizedTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, EmphasizedTextOwnProps>;
export type EmphasizedTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, EmphasizedTextOwnProps>;
declare const defaultElement = "em";
export declare const EmphasizedText: <E extends React.ElementType<any> = "em">({ className, margin, as, ...rest }: EmphasizedTextProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading1OwnProps = {
export type Heading1OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -18,4 +18,4 @@ * @default "h1"

declare const defaultElement = "h1";
export declare type Heading1Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading1OwnProps>;
export type Heading1Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading1OwnProps>;
export declare const Heading1: <E extends React.ElementType<any> = "h1">({ margin, children, as, ...rest }: Heading1Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading2OwnProps = {
export type Heading2OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "h2"

};
export declare type Heading2Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading2OwnProps>;
export type Heading2Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading2OwnProps>;
declare const defaultElement = "h2";
export declare const Heading2: <E extends React.ElementType<any> = "h2">({ margin, children, as, ...rest }: Heading2Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading3OwnProps = {
export type Heading3OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "h3"

};
export declare type Heading3Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading3OwnProps>;
export type Heading3Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading3OwnProps>;
declare const defaultElement = "h3";
export declare const Heading3: <E extends React.ElementType<any> = "h3">({ margin, children, as, ...rest }: Heading3Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading4OwnProps = {
export type Heading4OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "h4"

};
export declare type Heading4Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading4OwnProps>;
export type Heading4Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading4OwnProps>;
declare const defaultElement = "h4";
export declare const Heading4: <E extends React.ElementType<any> = "h4">({ margin, children, as, ...rest }: Heading4Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading5OwnProps = {
export type Heading5OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "h5"

};
export declare type Heading5Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading5OwnProps>;
export type Heading5Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading5OwnProps>;
declare const defaultElement = "h5";
export declare const Heading5: <E extends React.ElementType<any> = "h5">({ margin, children, as, ...rest }: Heading5Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type Heading6OwnProps = {
export type Heading6OwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "h6"

};
export declare type Heading6Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading6OwnProps>;
export type Heading6Props<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, Heading6OwnProps>;
declare const defaultElement = "h6";
export declare const Heading6: <E extends React.ElementType<any> = "h6">({ margin, children, as, ...rest }: Heading6Props<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type LabelOwnProps = {
export type LabelOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "label"

};
export declare type LabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LabelOwnProps>;
export type LabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LabelOwnProps>;
declare const defaultElement = "label";
export declare const Label: <E extends React.ElementType<any> = "label">({ className, margin, as, ...rest }: LabelProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type LeadParagraphOwnProps = {
export type LeadParagraphOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "p"

};
export declare type LeadParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LeadParagraphOwnProps>;
export type LeadParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LeadParagraphOwnProps>;
declare const defaultElement = "p";
export declare const LeadParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: LeadParagraphProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type LinkOwnProps = {
export type LinkOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "a"

};
export declare type LinkProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LinkOwnProps>;
export type LinkProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, LinkOwnProps>;
declare const defaultElement = "a";
export declare const Link: <E extends React.ElementType<any> = "a">({ className, margin, as, ...rest }: LinkProps<E>) => JSX.Element;
export {};
import React from 'react';
export declare type ListItemProps = {
export type ListItemProps = {
/** Ekstra klassenavn */

@@ -4,0 +4,0 @@ className?: string;

import React from 'react';
export declare type NumberedListProps = {
export type NumberedListProps = {
/** Ekstra klassenavn */

@@ -4,0 +4,0 @@ className?: string;

import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type ParagraphOwnProps = {
export type ParagraphOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "p"

};
export declare type ParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, ParagraphOwnProps>;
export type ParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, ParagraphOwnProps>;
declare const defaultElement = "p";
export declare const Paragraph: <E extends React.ElementType<any> = "p">({ margin, className, as, ...rest }: ParagraphProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type PreformattedTextOwnProps = {
export type PreformattedTextOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -13,3 +13,3 @@ * @default "pre"

};
export declare type PreformattedTextProps<T extends React.ElementType> = PolymorphicComponentProps<T, PreformattedTextOwnProps>;
export type PreformattedTextProps<T extends React.ElementType> = PolymorphicComponentProps<T, PreformattedTextOwnProps>;
export declare const PreformattedText: <E extends React.ElementType<any> = "pre">({ className, as, ...rest }: PreformattedTextProps<E>) => JSX.Element;
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type SmallTextOwnProps = {
export type SmallTextOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "span"

};
export declare type SmallTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SmallTextOwnProps>;
export type SmallTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SmallTextOwnProps>;
declare const defaultElement = "span";
export declare const SmallText: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type StrongTextOwnProps = {
export type StrongTextOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "strong"

};
export declare type StrongTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, StrongTextOwnProps>;
export type StrongTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, StrongTextOwnProps>;
declare const defaultElement = "strong";
export declare const StrongText: <E extends React.ElementType<any> = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type SubLabelOwnProps = {
export type SubLabelOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "span"

};
export declare type SubLabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubLabelOwnProps>;
export type SubLabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubLabelOwnProps>;
declare const defaultElement = "span";
export declare const SubLabel: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
export {};
import React from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export declare type SubParagraphOwnProps = {
export type SubParagraphOwnProps = {
/** HTML-elementet eller React-komponenten som rendres

@@ -17,5 +17,5 @@ * @default "p"

};
export declare type SubParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubParagraphOwnProps>;
export type SubParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubParagraphOwnProps>;
declare const defaultElement = "p";
export declare const SubParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
export {};

@@ -15,6 +15,5 @@ 'use strict';

function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
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)

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@entur/utils"),a=require("react"),t=require("classnames");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(a),s=r(t);function l(){return l=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(this,arguments)}function o(e,a){if(null==e)return{};var t,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)a.indexOf(t=s[r])>=0||(n[t]=e[t]);return n}var m=["className"],i=["className"],d=["className","as"],c=["className","margin","as"],u=["className","level","margin","as"],g=function(e){var a,t=e.className,r=e.level,m=e.margin,i=e.as,d=o(e,u),c="eds-h"+r;return n.default.createElement(i||"h1",l({className:s.default(c,(a={},a[c+"--margin-top"]="top"===m,a[c+"--margin-bottom"]="bottom"===m,a[c+"--margin-none"]="none"===m,a),t)},d))},p=["margin","children","as"],f=["margin","children","as"],b=["margin","children","as"],h=["margin","children","as"],v=["margin","children","as"],N=["margin","children","as"],x=["className","margin","as"],E=["className","margin","as"],y=["className","margin","as"],k=["className","margin","as"],q=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,k);return n.default.createElement(i||"strong",l({className:s.default("eds-strong-text",(a={},a["eds-strong-text--margin-top"]="top"===m,a["eds-strong-text--margin-bottom"]="bottom"===m,a["eds-strong-text--margin-none"]="none"===m,a),t)},d))},L=["children","className","title"],H=["className","type"],O=["margin","className","as"],P=["className","as"],_=["className","margin","as"],j=["className","margin","as"],z=["className","margin","as"],S=["className"];e.warnAboutMissingStyles("typography"),exports.Blockquote=function(e){var a=e.className,t=o(e,m);return n.default.createElement("blockquote",l({className:s.default("eds-blockquote",a)},t))},exports.BlockquoteFooter=function(e){var a=e.className,t=o(e,i);return n.default.createElement("footer",l({className:s.default("eds-blockquote__footer",a)},t))},exports.CodeText=function(e){var a=e.className,t=e.as,r=o(e,d);return n.default.createElement(t||"code",l({className:s.default("eds-code-text",a)},r))},exports.EmphasizedText=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,c);return n.default.createElement(i||"em",l({className:s.default("eds-emphasized-text",(a={},a["eds-emphasized-text--margin-top"]="top"===m,a["eds-emphasized-text--margin-bottom"]="bottom"===m,a["eds-emphasized-text--margin-none"]="none"===m,a),t)},d))},exports.Heading1=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,p);return n.default.createElement(g,l({as:s||"h1",margin:t},m,{level:1}),r)},exports.Heading2=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,f);return n.default.createElement(g,l({as:s||"h2",margin:t},m,{level:2}),r)},exports.Heading3=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,b);return n.default.createElement(g,l({as:s||"h3",margin:t},m,{level:3}),r)},exports.Heading4=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,h);return n.default.createElement(g,l({as:s||"h4",margin:t},m,{level:4}),r)},exports.Heading5=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,v);return n.default.createElement(g,l({as:s||"h5",margin:t},m,{level:5}),r)},exports.Heading6=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,N);return n.default.createElement(g,l({as:s||"h6",margin:t},m,{level:6}),r)},exports.Label=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,x);return n.default.createElement(i||"label",l({className:s.default("eds-label",(a={},a["eds-label--margin-top"]="top"===m,a["eds-label--margin-bottom"]="bottom"===m,a["eds-label--margin-none"]="none"===m,a),t)},d))},exports.LeadParagraph=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,E);return n.default.createElement(i||"p",l({className:s.default("eds-lead-paragraph",(a={},a["eds-lead-paragraph--margin-top"]="top"===m,a["eds-lead-paragraph--margin-bottom"]="bottom"===m,a["eds-lead-paragraph--margin-none"]="none"===m,a),t)},d))},exports.Link=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,y);return n.default.createElement(i||"a",l({className:s.default("eds-link",(a={},a["eds-link--margin-top"]="top"===m,a["eds-link--margin-bottom"]="bottom"===m,a["eds-link--margin-none"]="none"===m,a),t)},d))},exports.ListItem=function(e){var a=e.children,t=e.className,r=e.title,m=o(e,L);return n.default.createElement("li",l({className:s.default("eds-list-item",t)},m),r&&n.default.createElement(q,{className:"eds-list-item__title"},r),a)},exports.NumberedList=function(e){var a,t=e.className,r=e.type,m=void 0===r?"1":r,i=o(e,H);return n.default.createElement("ol",l({className:s.default("eds-numbered-list",(a={},a["eds-numbered-list--type-"+m]=m,a),t),type:m},i))},exports.Paragraph=function(e){var a=e.margin,t=void 0===a?"bottom":a,r=e.className,m=e.as,i=o(e,O);return n.default.createElement(m||"p",l({className:s.default("eds-paragraph",{"eds-paragraph--margin-bottom":"bottom"===t,"eds-paragraph--margin-none":"none"===t},r)},i))},exports.PreformattedText=function(e){var a=e.className,t=e.as,r=o(e,P);return n.default.createElement(t||"pre",l({className:s.default("eds-preformatted-text",a)},r))},exports.SmallText=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,_);return n.default.createElement(i||"span",l({className:s.default("eds-small-text",(a={},a["eds-small-text--margin-top"]="top"===m,a["eds-small-text--margin-bottom"]="bottom"===m,a["eds-small-text--margin-none"]="none"===m,a),t)},d))},exports.StrongText=q,exports.SubLabel=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,j);return n.default.createElement(i||"span",l({className:s.default("eds-sub-label",(a={},a["eds-sub-label--margin-top"]="top"===m,a["eds-sub-label--margin-bottom"]="bottom"===m,a["eds-sub-label--margin-none"]="none"===m,a),t)},d))},exports.SubParagraph=function(e){var a,t=e.className,r=e.margin,m=e.as,i=o(e,z);return n.default.createElement(m||"p",l({className:s.default("eds-sub-paragraph",(a={},a["eds-sub-paragraph--margin-top"]="top"===r,a["eds-sub-paragraph--margin-bottom"]="bottom"===r,a["eds-sub-paragraph--margin-none"]="none"===r,a),t)},i))},exports.UnorderedList=function(e){var a=e.className,t=o(e,S);return n.default.createElement("ul",l({className:s.default("eds-unordered-list",a)},t))};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@entur/utils"),a=require("react"),t=require("classnames");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(a),s=r(t);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(this,arguments)}function o(e,a){if(null==e)return{};var t,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)a.indexOf(t=s[r])>=0||(n[t]=e[t]);return n}var m=["className"],i=["className"],d=["className","as"],c=["className","margin","as"],u=["className","level","margin","as"],g=function(e){var a,t=e.className,r=e.level,m=e.margin,i=e.as,d=o(e,u),c="eds-h"+r;return n.default.createElement(i||"h1",l({className:s.default(c,(a={},a[c+"--margin-top"]="top"===m,a[c+"--margin-bottom"]="bottom"===m,a[c+"--margin-none"]="none"===m,a),t)},d))},p=["margin","children","as"],f=["margin","children","as"],b=["margin","children","as"],h=["margin","children","as"],v=["margin","children","as"],N=["margin","children","as"],x=["className","margin","as"],E=["className","margin","as"],y=["className","margin","as"],k=["className","margin","as"],q=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,k);return n.default.createElement(i||"strong",l({className:s.default("eds-strong-text",(a={},a["eds-strong-text--margin-top"]="top"===m,a["eds-strong-text--margin-bottom"]="bottom"===m,a["eds-strong-text--margin-none"]="none"===m,a),t)},d))},L=["children","className","title"],O=["className","type"],j=["margin","className","as"],H=["className","as"],P=["className","margin","as"],_=["className","margin","as"],z=["className","margin","as"],S=["className"];e.warnAboutMissingStyles("typography"),exports.Blockquote=function(e){var a=e.className,t=o(e,m);return n.default.createElement("blockquote",l({className:s.default("eds-blockquote",a)},t))},exports.BlockquoteFooter=function(e){var a=e.className,t=o(e,i);return n.default.createElement("footer",l({className:s.default("eds-blockquote__footer",a)},t))},exports.CodeText=function(e){var a=e.className,t=e.as,r=o(e,d);return n.default.createElement(t||"code",l({className:s.default("eds-code-text",a)},r))},exports.EmphasizedText=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,c);return n.default.createElement(i||"em",l({className:s.default("eds-emphasized-text",(a={},a["eds-emphasized-text--margin-top"]="top"===m,a["eds-emphasized-text--margin-bottom"]="bottom"===m,a["eds-emphasized-text--margin-none"]="none"===m,a),t)},d))},exports.Heading1=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,p);return n.default.createElement(g,l({as:s||"h1",margin:t},m,{level:1}),r)},exports.Heading2=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,f);return n.default.createElement(g,l({as:s||"h2",margin:t},m,{level:2}),r)},exports.Heading3=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,b);return n.default.createElement(g,l({as:s||"h3",margin:t},m,{level:3}),r)},exports.Heading4=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,h);return n.default.createElement(g,l({as:s||"h4",margin:t},m,{level:4}),r)},exports.Heading5=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,v);return n.default.createElement(g,l({as:s||"h5",margin:t},m,{level:5}),r)},exports.Heading6=function(e){var a=e.margin,t=void 0===a?"both":a,r=e.children,s=e.as,m=o(e,N);return n.default.createElement(g,l({as:s||"h6",margin:t},m,{level:6}),r)},exports.Label=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,x);return n.default.createElement(i||"label",l({className:s.default("eds-label",(a={},a["eds-label--margin-top"]="top"===m,a["eds-label--margin-bottom"]="bottom"===m,a["eds-label--margin-none"]="none"===m,a),t)},d))},exports.LeadParagraph=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,E);return n.default.createElement(i||"p",l({className:s.default("eds-lead-paragraph",(a={},a["eds-lead-paragraph--margin-top"]="top"===m,a["eds-lead-paragraph--margin-bottom"]="bottom"===m,a["eds-lead-paragraph--margin-none"]="none"===m,a),t)},d))},exports.Link=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,y);return n.default.createElement(i||"a",l({className:s.default("eds-link",(a={},a["eds-link--margin-top"]="top"===m,a["eds-link--margin-bottom"]="bottom"===m,a["eds-link--margin-none"]="none"===m,a),t)},d))},exports.ListItem=function(e){var a=e.children,t=e.className,r=e.title,m=o(e,L);return n.default.createElement("li",l({className:s.default("eds-list-item",t)},m),r&&n.default.createElement(q,{className:"eds-list-item__title"},r),a)},exports.NumberedList=function(e){var a,t=e.className,r=e.type,m=void 0===r?"1":r,i=o(e,O);return n.default.createElement("ol",l({className:s.default("eds-numbered-list",(a={},a["eds-numbered-list--type-"+m]=m,a),t),type:m},i))},exports.Paragraph=function(e){var a=e.margin,t=void 0===a?"bottom":a,r=e.className,m=e.as,i=o(e,j);return n.default.createElement(m||"p",l({className:s.default("eds-paragraph",{"eds-paragraph--margin-bottom":"bottom"===t,"eds-paragraph--margin-none":"none"===t},r)},i))},exports.PreformattedText=function(e){var a=e.className,t=e.as,r=o(e,H);return n.default.createElement(t||"pre",l({className:s.default("eds-preformatted-text",a)},r))},exports.SmallText=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,P);return n.default.createElement(i||"span",l({className:s.default("eds-small-text",(a={},a["eds-small-text--margin-top"]="top"===m,a["eds-small-text--margin-bottom"]="bottom"===m,a["eds-small-text--margin-none"]="none"===m,a),t)},d))},exports.StrongText=q,exports.SubLabel=function(e){var a,t=e.className,r=e.margin,m=void 0===r?"both":r,i=e.as,d=o(e,_);return n.default.createElement(i||"span",l({className:s.default("eds-sub-label",(a={},a["eds-sub-label--margin-top"]="top"===m,a["eds-sub-label--margin-bottom"]="bottom"===m,a["eds-sub-label--margin-none"]="none"===m,a),t)},d))},exports.SubParagraph=function(e){var a,t=e.className,r=e.margin,m=e.as,i=o(e,z);return n.default.createElement(m||"p",l({className:s.default("eds-sub-paragraph",(a={},a["eds-sub-paragraph--margin-top"]="top"===r,a["eds-sub-paragraph--margin-bottom"]="bottom"===r,a["eds-sub-paragraph--margin-none"]="none"===r,a),t)},i))},exports.UnorderedList=function(e){var a=e.className,t=o(e,S);return n.default.createElement("ul",l({className:s.default("eds-unordered-list",a)},t))};
//# sourceMappingURL=typography.cjs.production.min.js.map

@@ -6,6 +6,5 @@ import { warnAboutMissingStyles } from '@entur/utils';

function _extends() {
_extends = Object.assign || function (target) {
_extends = Object.assign ? Object.assign.bind() : function (target) {
for (var i = 1; i < arguments.length; i++) {
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)

import React from 'react';
export declare type UnorderedListProps = {
export type UnorderedListProps = {
/** Ekstra klassenavn */

@@ -4,0 +4,0 @@ className?: string;

{
"name": "@entur/typography",
"version": "1.7.6",
"version": "1.7.7",
"license": "SEE LICENSE IN README.md",

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

"dependencies": {
"@entur/utils": "^0.5.1",
"@entur/utils": "^0.5.2",
"classnames": "^2.3.1",

@@ -36,5 +36,5 @@ "normalize-scss": "^7.0.1"

"devDependencies": {
"@entur/tokens": "^3.4.5"
"@entur/tokens": "^3.5.0"
},
"gitHead": "224040bb9f98c2c8975ce76f0786265c9e3459e2"
"gitHead": "30b38034aaafba9fb308fb3d8c8bfaab9608d720"
}

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

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