@entur/typography 1.7.5 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"typography.esm.js","sources":["../src/Blockquote.tsx","../src/CodeText.tsx","../src/EmphasizedText.tsx","../src/BaseHeading.tsx","../src/Heading1.tsx","../src/Heading2.tsx","../src/Heading3.tsx","../src/Heading4.tsx","../src/Heading5.tsx","../src/Heading6.tsx","../src/Label.tsx","../src/LeadParagraph.tsx","../src/Link.tsx","../src/StrongText.tsx","../src/ListItem.tsx","../src/NumberedList.tsx","../src/Paragraph.tsx","../src/PreformattedText.tsx","../src/SmallText.tsx","../src/SubLabel.tsx","../src/SubParagraph.tsx","../src/UnorderedList.tsx","../src/index.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\n\ntype BlockquoteProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<\n React.BlockquoteHTMLAttributes<HTMLElement>,\n HTMLElement\n>;\n\nexport const Blockquote: React.FunctionComponent<BlockquoteProps> = ({\n className,\n ...rest\n}) => {\n return (\n <blockquote className={classNames('eds-blockquote', className)} {...rest} />\n );\n};\n\ntype BlockquoteFooterProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;\n\nexport const BlockquoteFooter: React.FunctionComponent<BlockquoteFooterProps> =\n ({ className, ...rest }) => {\n return (\n <footer\n className={classNames('eds-blockquote__footer', className)}\n {...rest}\n />\n );\n };\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type CodeTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"code\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type CodeTextProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, CodeTextOwnProps>;\n\nconst defaultElement = 'code';\n\nexport const CodeText = <E extends React.ElementType = typeof defaultElement>({\n className,\n as,\n ...rest\n}: CodeTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element className={classNames('eds-code-text', className)} {...rest} />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type EmphasizedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"em\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type EmphasizedTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, EmphasizedTextOwnProps>;\n\nconst defaultElement = 'em';\n\nexport const EmphasizedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: EmphasizedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-emphasized-text',\n {\n [`eds-emphasized-text--margin-top`]: margin === 'top',\n [`eds-emphasized-text--margin-bottom`]: margin === 'bottom',\n [`eds-emphasized-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\ntype BaseHeadingOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres */\n as: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer */\n margin: 'top' | 'bottom' | 'both' | 'none';\n /** Nivået på overskriften */\n level: 1 | 2 | 3 | 4 | 5 | 6;\n};\nconst defaultElement = 'h1';\n\nexport type BaseHeadingProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;\n\nexport const BaseHeading = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n level,\n margin,\n as,\n ...rest\n}: BaseHeadingProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n const baseClass = `eds-h${level}`;\n return (\n <Element\n className={classNames(\n baseClass,\n {\n [`${baseClass}--margin-top`]: margin === 'top',\n [`${baseClass}--margin-bottom`]: margin === 'bottom',\n [`${baseClass}--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading1OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h1\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nconst defaultElement = 'h1';\n\nexport type Heading1Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading1OwnProps>;\n\nexport const Heading1 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading1Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={1}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading2OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h2\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading2Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading2OwnProps>;\n\nconst defaultElement = 'h2';\n\nexport const Heading2 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading2Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={2}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading3OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h3\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading3Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading3OwnProps>;\n\nconst defaultElement = 'h3';\n\nexport const Heading3 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading3Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={3}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading4OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h4\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading4Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading4OwnProps>;\n\nconst defaultElement = 'h4';\nexport const Heading4 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading4Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={4}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading5OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h5\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading5Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading5OwnProps>;\n\nconst defaultElement = 'h5';\n\nexport const Heading5 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading5Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={5}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading6OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h6\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading6Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading6OwnProps>;\n\nconst defaultElement = 'h6';\n\nexport const Heading6 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading6Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={6}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"label\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LabelOwnProps>;\n\nconst defaultElement = 'label';\n\nexport const Label = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-label',\n {\n [`eds-label--margin-top`]: margin === 'top',\n [`eds-label--margin-bottom`]: margin === 'bottom',\n [`eds-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LeadParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LeadParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, LeadParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const LeadParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LeadParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-lead-paragraph',\n {\n [`eds-lead-paragraph--margin-top`]: margin === 'top',\n [`eds-lead-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-lead-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LinkOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"a\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LinkProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LinkOwnProps>;\n\nconst defaultElement = 'a';\n\nexport const Link = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LinkProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-link',\n {\n [`eds-link--margin-top`]: margin === 'top',\n [`eds-link--margin-bottom`]: margin === 'bottom',\n [`eds-link--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type StrongTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"strong\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type StrongTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, StrongTextOwnProps>;\n\nconst defaultElement = 'strong';\n\nexport const StrongText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: StrongTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-strong-text',\n {\n [`eds-strong-text--margin-top`]: margin === 'top',\n [`eds-strong-text--margin-bottom`]: margin === 'bottom',\n [`eds-strong-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { StrongText } from './StrongText';\n\nexport type ListItemProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Tittel */\n title?: React.ReactNode;\n [key: string]: any;\n};\n\nexport const ListItem: React.FC<ListItemProps> = ({\n children,\n className,\n title,\n ...rest\n}) => (\n <li className={classNames('eds-list-item', className)} {...rest}>\n {title && <StrongText className=\"eds-list-item__title\">{title}</StrongText>}\n {children}\n </li>\n);\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type NumberedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.OlHTMLAttributes<HTMLOListElement>;\n\nexport const NumberedList: React.FC<NumberedListProps> = ({\n className,\n type = '1',\n ...rest\n}) => (\n <ol\n className={classNames(\n 'eds-numbered-list',\n { [`eds-numbered-list--type-${type}`]: type },\n className,\n )}\n type={type}\n {...rest}\n />\n);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type ParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"bottom\"\n */\n margin?: 'bottom' | 'none';\n};\n\nexport type ParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, ParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const Paragraph = <E extends React.ElementType = typeof defaultElement>({\n margin = 'bottom',\n className,\n as,\n ...rest\n}: ParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-paragraph',\n {\n 'eds-paragraph--margin-bottom': margin === 'bottom',\n 'eds-paragraph--margin-none': margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type PreformattedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"pre\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type PreformattedTextProps<T extends React.ElementType> =\n PolymorphicComponentProps<T, PreformattedTextOwnProps>;\n\nconst defaultElement = 'pre';\n\nexport const PreformattedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n as,\n ...rest\n}: PreformattedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames('eds-preformatted-text', className)}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SmallTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SmallTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SmallTextOwnProps>;\nconst defaultElement = 'span';\n\nexport const SmallText = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SmallTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-small-text',\n {\n [`eds-small-text--margin-top`]: margin === 'top',\n [`eds-small-text--margin-bottom`]: margin === 'bottom',\n [`eds-small-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubLabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubLabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, SubLabelOwnProps>;\n\nconst defaultElement = 'span';\n\nexport const SubLabel = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SubLabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-label',\n {\n [`eds-sub-label--margin-top`]: margin === 'top',\n [`eds-sub-label--margin-bottom`]: margin === 'bottom',\n [`eds-sub-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SubParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const SubParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin,\n as,\n ...rest\n}: SubParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-paragraph',\n {\n [`eds-sub-paragraph--margin-top`]: margin === 'top',\n [`eds-sub-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-sub-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type UnorderedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.DetailedHTMLProps<\n React.HTMLAttributes<HTMLUListElement>,\n HTMLUListElement\n>;\n\nexport const UnorderedList: React.FC<UnorderedListProps> = ({\n className,\n ...rest\n}) => <ul className={classNames('eds-unordered-list', className)} {...rest} />;\n","import { warnAboutMissingStyles } from '@entur/utils';\nimport './index.scss';\n\nwarnAboutMissingStyles('typography');\n\nexport * from './Blockquote';\nexport * from './CodeText';\nexport * from './EmphasizedText';\nexport * from './Heading1';\nexport * from './Heading2';\nexport * from './Heading3';\nexport * from './Heading4';\nexport * from './Heading5';\nexport * from './Heading6';\nexport * from './Label';\nexport * from './LeadParagraph';\nexport * from './Link';\nexport * from './ListItem';\nexport * from './NumberedList';\nexport * from './Paragraph';\nexport * from './PreformattedText';\nexport * from './SmallText';\nexport * from './StrongText';\nexport * from './SubLabel';\nexport * from './SubParagraph';\nexport * from './UnorderedList';\n"],"names":["Blockquote","className","rest","React","classNames","BlockquoteFooter","defaultElement","CodeText","as","Element","EmphasizedText","margin","BaseHeading","level","baseClass","Heading1","children","Heading2","Heading3","Heading4","Heading5","Heading6","Label","LeadParagraph","Link","StrongText","ListItem","title","NumberedList","type","Paragraph","PreformattedText","SmallText","SubLabel","SubParagraph","UnorderedList","warnAboutMissingStyles"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWaA,UAAU,GAA6C,SAAvDA,UAAuD;MAClEC,iBAAAA;MACGC;;AAEH,SACEC,mBAAA,aAAA;AAAYF,IAAAA,SAAS,EAAEG,UAAU,CAAC,gBAAD,EAAmBH,SAAnB;AAAjC,KAAoEC,IAApE,EADF;AAGD;IAOYG,gBAAgB,GAC3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CACnB,mBADmB,oEAGkBO,MAAM,KAAK,KAH7B,oDAIqBA,MAAM,KAAK,QAJhC,kDAKmBA,MAAM,KAAK,MAL9B,gBAOnBV,SAPmB;AADvB,KAUMC,IAVN,EADF;AAcD;;;ICnCYiC,aAAa,GAAiC,SAA9CA,aAA8C;AAAA,MACzDlC,SADyD,QACzDA,SADyD;AAAA,MAEtDC,IAFsD;;AAAA,SAGrDC,mBAAA,KAAA;AAAIF,IAAAA,SAAS,EAAEG,UAAU,CAAC,oBAAD,EAAuBH,SAAvB;AAAzB,KAAgEC,IAAhE,EAHqD;AAAA;;ACV3DkC,sBAAsB,CAAC,YAAD,CAAtB;;;;"}
1
+ {"version":3,"file":"typography.esm.js","sources":["../src/Blockquote.tsx","../src/CodeText.tsx","../src/EmphasizedText.tsx","../src/BaseHeading.tsx","../src/Heading1.tsx","../src/Heading2.tsx","../src/Heading3.tsx","../src/Heading4.tsx","../src/Heading5.tsx","../src/Heading6.tsx","../src/Label.tsx","../src/LeadParagraph.tsx","../src/Link.tsx","../src/StrongText.tsx","../src/ListItem.tsx","../src/NumberedList.tsx","../src/Paragraph.tsx","../src/PreformattedText.tsx","../src/SmallText.tsx","../src/SubLabel.tsx","../src/SubParagraph.tsx","../src/UnorderedList.tsx","../src/index.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\n\ntype BlockquoteProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<\n React.BlockquoteHTMLAttributes<HTMLElement>,\n HTMLElement\n>;\n\nexport const Blockquote: React.FunctionComponent<BlockquoteProps> = ({\n className,\n ...rest\n}) => {\n return (\n <blockquote className={classNames('eds-blockquote', className)} {...rest} />\n );\n};\n\ntype BlockquoteFooterProps = {\n /** Ekstra klassenavn */\n className?: string;\n} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;\n\nexport const BlockquoteFooter: React.FunctionComponent<BlockquoteFooterProps> =\n ({ className, ...rest }) => {\n return (\n <footer\n className={classNames('eds-blockquote__footer', className)}\n {...rest}\n />\n );\n };\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type CodeTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"code\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type CodeTextProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, CodeTextOwnProps>;\n\nconst defaultElement = 'code';\n\nexport const CodeText = <E extends React.ElementType = typeof defaultElement>({\n className,\n as,\n ...rest\n}: CodeTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element className={classNames('eds-code-text', className)} {...rest} />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type EmphasizedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"em\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type EmphasizedTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, EmphasizedTextOwnProps>;\n\nconst defaultElement = 'em';\n\nexport const EmphasizedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: EmphasizedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-emphasized-text',\n {\n [`eds-emphasized-text--margin-top`]: margin === 'top',\n [`eds-emphasized-text--margin-bottom`]: margin === 'bottom',\n [`eds-emphasized-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\ntype BaseHeadingOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres */\n as: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer */\n margin: 'top' | 'bottom' | 'both' | 'none';\n /** Nivået på overskriften */\n level: 1 | 2 | 3 | 4 | 5 | 6;\n};\nconst defaultElement = 'h1';\n\nexport type BaseHeadingProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, BaseHeadingOwnProps>;\n\nexport const BaseHeading = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n level,\n margin,\n as,\n ...rest\n}: BaseHeadingProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n const baseClass = `eds-h${level}`;\n return (\n <Element\n className={classNames(\n baseClass,\n {\n [`${baseClass}--margin-top`]: margin === 'top',\n [`${baseClass}--margin-bottom`]: margin === 'bottom',\n [`${baseClass}--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading1OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h1\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nconst defaultElement = 'h1';\n\nexport type Heading1Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading1OwnProps>;\n\nexport const Heading1 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading1Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={1}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading2OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h2\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading2Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading2OwnProps>;\n\nconst defaultElement = 'h2';\n\nexport const Heading2 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading2Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={2}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading3OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h3\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading3Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading3OwnProps>;\n\nconst defaultElement = 'h3';\n\nexport const Heading3 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading3Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={3}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading4OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h4\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading4Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading4OwnProps>;\n\nconst defaultElement = 'h4';\nexport const Heading4 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading4Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={4}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading5OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h5\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading5Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading5OwnProps>;\n\nconst defaultElement = 'h5';\n\nexport const Heading5 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading5Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={5}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport { BaseHeading } from './BaseHeading';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type Heading6OwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"h6\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type Heading6Props<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, Heading6OwnProps>;\n\nconst defaultElement = 'h6';\n\nexport const Heading6 = <E extends React.ElementType = typeof defaultElement>({\n margin = 'both',\n children,\n as,\n ...rest\n}: Heading6Props<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <BaseHeading as={Element} margin={margin} {...rest} level={6}>\n {children}\n </BaseHeading>\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"label\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LabelOwnProps>;\n\nconst defaultElement = 'label';\n\nexport const Label = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-label',\n {\n [`eds-label--margin-top`]: margin === 'top',\n [`eds-label--margin-bottom`]: margin === 'bottom',\n [`eds-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LeadParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LeadParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, LeadParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const LeadParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LeadParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-lead-paragraph',\n {\n [`eds-lead-paragraph--margin-top`]: margin === 'top',\n [`eds-lead-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-lead-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type LinkOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"a\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type LinkProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, LinkOwnProps>;\n\nconst defaultElement = 'a';\n\nexport const Link = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: LinkProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-link',\n {\n [`eds-link--margin-top`]: margin === 'top',\n [`eds-link--margin-bottom`]: margin === 'bottom',\n [`eds-link--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type StrongTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"strong\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type StrongTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, StrongTextOwnProps>;\n\nconst defaultElement = 'strong';\n\nexport const StrongText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin = 'both',\n as,\n ...rest\n}: StrongTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-strong-text',\n {\n [`eds-strong-text--margin-top`]: margin === 'top',\n [`eds-strong-text--margin-bottom`]: margin === 'bottom',\n [`eds-strong-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { StrongText } from './StrongText';\n\nexport type ListItemProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Tittel */\n title?: React.ReactNode;\n [key: string]: any;\n};\n\nexport const ListItem: React.FC<ListItemProps> = ({\n children,\n className,\n title,\n ...rest\n}) => (\n <li className={classNames('eds-list-item', className)} {...rest}>\n {title && <StrongText className=\"eds-list-item__title\">{title}</StrongText>}\n {children}\n </li>\n);\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type NumberedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.OlHTMLAttributes<HTMLOListElement>;\n\nexport const NumberedList: React.FC<NumberedListProps> = ({\n className,\n type = '1',\n ...rest\n}) => (\n <ol\n className={classNames(\n 'eds-numbered-list',\n { [`eds-numbered-list--type-${type}`]: type },\n className,\n )}\n type={type}\n {...rest}\n />\n);\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type ParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"bottom\"\n */\n margin?: 'bottom' | 'none';\n};\n\nexport type ParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, ParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const Paragraph = <E extends React.ElementType = typeof defaultElement>({\n margin = 'bottom',\n className,\n as,\n ...rest\n}: ParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-paragraph',\n {\n 'eds-paragraph--margin-bottom': margin === 'bottom',\n 'eds-paragraph--margin-none': margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type PreformattedTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"pre\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n};\n\nexport type PreformattedTextProps<T extends React.ElementType> =\n PolymorphicComponentProps<T, PreformattedTextOwnProps>;\n\nconst defaultElement = 'pre';\n\nexport const PreformattedText = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n as,\n ...rest\n}: PreformattedTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames('eds-preformatted-text', className)}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SmallTextOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SmallTextProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SmallTextOwnProps>;\nconst defaultElement = 'span';\n\nexport const SmallText = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SmallTextProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-small-text',\n {\n [`eds-small-text--margin-top`]: margin === 'top',\n [`eds-small-text--margin-bottom`]: margin === 'bottom',\n [`eds-small-text--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubLabelOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"span\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubLabelProps<T extends React.ElementType = typeof defaultElement> =\n PolymorphicComponentProps<T, SubLabelOwnProps>;\n\nconst defaultElement = 'span';\n\nexport const SubLabel = <E extends React.ElementType = typeof defaultElement>({\n className,\n margin = 'both',\n as,\n ...rest\n}: SubLabelProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-label',\n {\n [`eds-sub-label--margin-top`]: margin === 'top',\n [`eds-sub-label--margin-bottom`]: margin === 'bottom',\n [`eds-sub-label--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport { PolymorphicComponentProps } from '@entur/utils';\n\nexport type SubParagraphOwnProps = {\n /** HTML-elementet eller React-komponenten som rendres\n * @default \"p\"\n */\n as?: string | React.ElementType;\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n /** Hvor du vil ha marginer\n * @default \"both\"\n */\n margin?: 'top' | 'bottom' | 'both' | 'none';\n};\n\nexport type SubParagraphProps<\n T extends React.ElementType = typeof defaultElement,\n> = PolymorphicComponentProps<T, SubParagraphOwnProps>;\n\nconst defaultElement = 'p';\n\nexport const SubParagraph = <\n E extends React.ElementType = typeof defaultElement,\n>({\n className,\n margin,\n as,\n ...rest\n}: SubParagraphProps<E>): JSX.Element => {\n const Element: React.ElementType = as || defaultElement;\n return (\n <Element\n className={classNames(\n 'eds-sub-paragraph',\n {\n [`eds-sub-paragraph--margin-top`]: margin === 'top',\n [`eds-sub-paragraph--margin-bottom`]: margin === 'bottom',\n [`eds-sub-paragraph--margin-none`]: margin === 'none',\n },\n className,\n )}\n {...rest}\n />\n );\n};\n","import React from 'react';\nimport classNames from 'classnames';\n\nexport type UnorderedListProps = {\n /** Ekstra klassenavn */\n className?: string;\n /** Innholdet */\n children: React.ReactNode;\n} & React.DetailedHTMLProps<\n React.HTMLAttributes<HTMLUListElement>,\n HTMLUListElement\n>;\n\nexport const UnorderedList: React.FC<UnorderedListProps> = ({\n className,\n ...rest\n}) => <ul className={classNames('eds-unordered-list', className)} {...rest} />;\n","import { warnAboutMissingStyles } from '@entur/utils';\nimport './index.scss';\n\nwarnAboutMissingStyles('typography');\n\nexport * from './Blockquote';\nexport * from './CodeText';\nexport * from './EmphasizedText';\nexport * from './Heading1';\nexport * from './Heading2';\nexport * from './Heading3';\nexport * from './Heading4';\nexport * from './Heading5';\nexport * from './Heading6';\nexport * from './Label';\nexport * from './LeadParagraph';\nexport * from './Link';\nexport * from './ListItem';\nexport * from './NumberedList';\nexport * from './Paragraph';\nexport * from './PreformattedText';\nexport * from './SmallText';\nexport * from './StrongText';\nexport * from './SubLabel';\nexport * from './SubParagraph';\nexport * from './UnorderedList';\n"],"names":["Blockquote","className","rest","_excluded","React","createElement","classNames","BlockquoteFooter","defaultElement","CodeText","as","Element","EmphasizedText","margin","BaseHeading","level","baseClass","Heading1","children","Heading2","Heading3","Heading4","Heading5","Heading6","Label","LeadParagraph","Link","StrongText","ListItem","title","NumberedList","type","Paragraph","P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JtCnC,SAAS,QAATA,SAAS;AACTY,IAAAA,MAAM,QAANA,MAAM;AACNH,IAAAA,EAAE,QAAFA,EAAE;IACCR,IAAI,GAAA,6BAAA,CAAA,IAAA,EAAAC,WAAA,CAAA,CAAA;AAEP,EAAA,IAAMQ,OAAO,GAAsBD,EAAE,IAAIF,cAAc,CAAA;AACvD,EAAA,OACEJ,oBAACO,OAAO,EAAA,QAAA,CAAA;AACNV,IAAAA,SAAS,EAAEK,UAAU,CACnB,mBAAmB,GAAA,WAAA,GAAA,EAAA,EAAA,WAAA,CAAA,+BAAA,CAAA,GAEkBO,MAAM,KAAK,KAAK,EACbA,WAAAA,CAAAA,kCAAAA,CAAAA,GAAAA,MAAM,KAAK,QAAQ,EAAA,WAAA,CAAA,gCAAA,CAAA,GACrBA,MAAM,KAAK,MAAM,gBAEvDZ,SAAS,CAAA;AACV,GAAA,EACGC,IAAI,CACR,CAAA,CAAA;AAEN;;;ACnCamC,IAAAA,aAAa,GAAiC,SAA9CA,aAAa,CAAA,IAAA,EAAA;EAAA,IACxBpC,SAAS,QAATA,SAAS;IACNC,IAAI,GAAA,6BAAA,CAAA,IAAA,EAAA,SAAA,CAAA,CAAA;AAAA,EAAA,OACHE,KAAI,CAAAC,aAAA,CAAA,IAAA,EAAA,QAAA,CAAA;AAAAJ,IAAAA,SAAS,EAAEK,UAAU,CAAC,oBAAoB,EAAEL,SAAS,CAAA;AAAC,GAAA,EAAMC,IAAI,CAAI,CAAA,CAAA;AAAA;;ACb9EoC,sBAAsB,CAAC,YAAY,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/typography",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/typography.esm.js",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "build": "dts build && cp -r fonts dist/fonts",
21
21
  "test": "dts test",
22
- "lint": "dts lint",
22
+ "lint": "dts lint src",
23
23
  "start": "dts watch --noClean"
24
24
  },
25
25
  "peerDependencies": {
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/utils": "^0.5.0",
30
+ "@entur/utils": "^0.5.2",
31
31
  "classnames": "^2.3.1",
32
32
  "normalize-scss": "^7.0.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@entur/tokens": "^3.4.4"
35
+ "@entur/tokens": "^3.5.0"
36
36
  },
37
- "gitHead": "36772ae4f2d8375622acff19736c07d15435cb95"
37
+ "gitHead": "30b38034aaafba9fb308fb3d8c8bfaab9608d720"
38
38
  }
package/CHANGELOG.md DELETED
@@ -1,367 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [1.7.4](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.3...@entur/typography@1.7.4) (2023-01-19)
7
-
8
- ### Performance Improvements
9
-
10
- - **packages:** remove all referenves to react-polymorphic-types npm-package ([e47a304](https://bitbucket.org/enturas/design-system/commits/e47a304d87eb77adae5dd002e89f03026c7eadce))
11
-
12
- ## [1.7.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.0...@entur/typography@1.7.3) (2022-12-09)
13
-
14
- **Note:** Version bump only for package @entur/typography
15
-
16
- ## [1.7.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.1...@entur/typography@1.7.2) (2022-11-24)
17
-
18
- **Note:** Version bump only for package @entur/typography
19
-
20
- ## [1.7.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.0...@entur/typography@1.7.1) (2022-10-31)
21
-
22
- **Note:** Version bump only for package @entur/typography
23
-
24
- ## [1.6.17](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.16...@entur/typography@1.6.17) (2022-08-31)
25
-
26
- **Note:** Version bump only for package @entur/typography
27
-
28
- ## [1.6.16](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.15...@entur/typography@1.6.16) (2022-08-24)
29
-
30
- **Note:** Version bump only for package @entur/typography
31
-
32
- ## [1.6.15](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.14...@entur/typography@1.6.15) (2022-08-09)
33
-
34
- **Note:** Version bump only for package @entur/typography
35
-
36
- ## [1.6.14](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.13...@entur/typography@1.6.14) (2022-06-02)
37
-
38
- **Note:** Version bump only for package @entur/typography
39
-
40
- ## [1.6.13](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.12...@entur/typography@1.6.13) (2022-05-13)
41
-
42
- ### Bug Fixes
43
-
44
- - **text elements:** fix margin prop values being overwritten be default value for margin on all text ([ce7b980](https://bitbucket.org/enturas/design-system/commits/ce7b980a0bb874dbcaa46c9ceb0cfdb7b5ef8f5a))
45
-
46
- ## [1.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.11...@entur/typography@1.6.12) (2022-04-27)
47
-
48
- **Note:** Version bump only for package @entur/typography
49
-
50
- ## [1.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.10...@entur/typography@1.6.11) (2022-02-09)
51
-
52
- **Note:** Version bump only for package @entur/typography
53
-
54
- ## [1.6.10](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.9...@entur/typography@1.6.10) (2021-11-17)
55
-
56
- **Note:** Version bump only for package @entur/typography
57
-
58
- ## [1.6.9](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.8...@entur/typography@1.6.9) (2021-09-23)
59
-
60
- **Note:** Version bump only for package @entur/typography
61
-
62
- ## [1.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.7...@entur/typography@1.6.8) (2021-09-07)
63
-
64
- ### Bug Fixes
65
-
66
- - fix lint warnings and improve typings ([cc3d14c](https://bitbucket.org/enturas/design-system/commits/cc3d14c279d3cf82361ab49d04be5d0dd53675ed))
67
- - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
68
-
69
- ## [1.6.7](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.6...@entur/typography@1.6.7) (2021-06-25)
70
-
71
- ### Bug Fixes
72
-
73
- - update dependencies ([8c7faed](https://bitbucket.org/enturas/design-system/commits/8c7faedd80b03e66b2946fcd7c504b582dd5e099))
74
-
75
- ## [1.6.6](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.5...@entur/typography@1.6.6) (2021-04-23)
76
-
77
- ### Bug Fixes
78
-
79
- - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
80
-
81
- ## [1.6.5](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.4...@entur/typography@1.6.5) (2021-03-02)
82
-
83
- ### Bug Fixes
84
-
85
- - updated styling for preformatted and code text ([e4db06b](https://bitbucket.org/enturas/design-system/commits/e4db06b135d90e5f337d252edc4654db8bb9565e))
86
-
87
- ## [1.6.4](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.3...@entur/typography@1.6.4) (2021-02-17)
88
-
89
- ### Bug Fixes
90
-
91
- - **polymorphism:** update polymorphism dependency ([dc4c31d](https://bitbucket.org/enturas/design-system/commits/dc4c31d8e891a46c1f0c1fbd0a6a026c1638accc))
92
- - update to improved polymorphism dependency ([d7d4bbe](https://bitbucket.org/enturas/design-system/commits/d7d4bbe471a526cbdd3c9829ebb54bbcc850aae8))
93
-
94
- ## [1.6.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.2...@entur/typography@1.6.3) (2021-01-20)
95
-
96
- **Note:** Version bump only for package @entur/typography
97
-
98
- ## [1.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.1...@entur/typography@1.6.2) (2021-01-13)
99
-
100
- ### Bug Fixes
101
-
102
- - transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
103
-
104
- ## [1.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.0...@entur/typography@1.6.1) (2021-01-05)
105
-
106
- ### Bug Fixes
107
-
108
- - **heading 3-5:** fix wrong html element for headings ([905d947](https://bitbucket.org/enturas/design-system/commits/905d9474dc19edea4f83cd3d5b02c1e02693c1ae))
109
-
110
- # [1.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.5.0...@entur/typography@1.6.0) (2020-12-04)
111
-
112
- ### Features
113
-
114
- - **typography:** add support for polymorphic component typings ([12f52e9](https://bitbucket.org/enturas/design-system/commits/12f52e937bc02d8cf9566162df96bec739c1b724))
115
-
116
- # [1.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.4.1...@entur/typography@1.5.0) (2020-10-23)
117
-
118
- ### Features
119
-
120
- - **numbered list:** support prop \`type\` found on html-ol elements ([173eaa0](https://bitbucket.org/enturas/design-system/commits/173eaa020f204bfb35954b90ec577a3e203a2073))
121
-
122
- ## [1.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.4.0...@entur/typography@1.4.1) (2020-10-09)
123
-
124
- ### Bug Fixes
125
-
126
- - **unordered list:** add new list item styling ([f12383f](https://bitbucket.org/enturas/design-system/commits/f12383fb2835e2089517476efa6b5f36f0932ebe))
127
-
128
- # [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.3.0...@entur/typography@1.4.0) (2020-09-14)
129
-
130
- ### Features
131
-
132
- - **typography:** add margin prop for all typography components ([0d78a21](https://bitbucket.org/enturas/design-system/commits/0d78a216e09bab2b2802dfd8a6023c1ef73cbedf))
133
-
134
- # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.2.3...@entur/typography@1.3.0) (2020-09-02)
135
-
136
- ### Features
137
-
138
- - **heading4 to 6:** increase font size on heading 4 to 6 ([a84479c](https://bitbucket.org/enturas/design-system/commits/a84479c849ac0458a3cc26b4460e871f6df532fa))
139
-
140
- ## [1.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.2.2...@entur/typography@1.2.3) (2020-08-19)
141
-
142
- ### Bug Fixes
143
-
144
- - **numbered list:** new styling for numbered lists ([0011f35](https://bitbucket.org/enturas/design-system/commits/0011f355039f6e1562eec2bf4a91979fb9482ca2))
145
-
146
- ## [1.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.2.1...@entur/typography@1.2.2) (2020-08-11)
147
-
148
- **Note:** Version bump only for package @entur/typography
149
-
150
- ## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.2.0...@entur/typography@1.2.1) (2020-07-03)
151
-
152
- **Note:** Version bump only for package @entur/typography
153
-
154
- # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.8...@entur/typography@1.2.0) (2020-06-17)
155
-
156
- ### Bug Fixes
157
-
158
- - fix styling of link underline ([76a29d9](https://bitbucket.org/enturas/design-system/commits/76a29d92ee9099aba7457a8f845b254434d01ad5))
159
-
160
- ### Features
161
-
162
- - add blockquote and blockquote footer component ([b0c4b10](https://bitbucket.org/enturas/design-system/commits/b0c4b1097c6ed6911f5d0d1a82dbba1de21e4c0c))
163
-
164
- ## [1.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.7...@entur/typography@1.1.8) (2020-05-27)
165
-
166
- **Note:** Version bump only for package @entur/typography
167
-
168
- ## [1.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.6...@entur/typography@1.1.7) (2020-05-26)
169
-
170
- ### Bug Fixes
171
-
172
- - fix timing for link underline animation ([c8c3df5](https://bitbucket.org/enturas/design-system/commits/c8c3df57553e77898b3935ccb42bc22c36a6b0d1))
173
-
174
- ## [1.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.5...@entur/typography@1.1.6) (2020-05-20)
175
-
176
- ### Bug Fixes
177
-
178
- - fix underline bug for link ([634950e](https://bitbucket.org/enturas/design-system/commits/634950e4879c3623e5a92a6c3fa4b5fb2250226f))
179
-
180
- ## [1.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.4...@entur/typography@1.1.5) (2020-04-27)
181
-
182
- ### Bug Fixes
183
-
184
- - restyle link underline, with hover animation ([4f103c3](https://bitbucket.org/enturas/design-system/commits/4f103c3a78a0913cd0c22f4a3c1c76173fd9e16d))
185
-
186
- ## [1.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.3...@entur/typography@1.1.4) (2020-04-23)
187
-
188
- ### Bug Fixes
189
-
190
- - update link with new focus styling ([a95361f](https://bitbucket.org/enturas/design-system/commits/a95361fe075b9fa8e7f7af7ed0fcc03dd7eed3d7))
191
-
192
- ## [1.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.2...@entur/typography@1.1.3) (2020-03-20)
193
-
194
- **Note:** Version bump only for package @entur/typography
195
-
196
- ## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.1...@entur/typography@1.1.2) (2020-03-18)
197
-
198
- **Note:** Version bump only for package @entur/typography
199
-
200
- ## [1.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.1.0...@entur/typography@1.1.1) (2020-02-20)
201
-
202
- ### Bug Fixes
203
-
204
- - readjusting typography for small surfaces ([033ecaa](https://bitbucket.org/enturas/design-system/commits/033ecaad78be039b0290dbacba80604b502cd4cd))
205
-
206
- # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.0.3...@entur/typography@1.1.0) (2020-02-14)
207
-
208
- ### Bug Fixes
209
-
210
- - fix typo in fonts import ([f2430ab](https://bitbucket.org/enturas/design-system/commits/f2430abf8a2cc0e1def2dabd85068cf511236ba7))
211
- - update fonts with new entur watermarked fonts ([97de7b7](https://bitbucket.org/enturas/design-system/commits/97de7b761ea044faafc8efc8f423bee92e94b279))
212
-
213
- ### Features
214
-
215
- - **fonts:** include web fonts in the typography package directly ([5043c27](https://bitbucket.org/enturas/design-system/commits/5043c27e88fc943d14b2950ac28d86b64eec819c))
216
-
217
- ### Reverts
218
-
219
- - revert config changes ([53076fd](https://bitbucket.org/enturas/design-system/commits/53076fd1ef1c02bbd1c426a172562091b585c88d))
220
-
221
- ## [1.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.0.2...@entur/typography@1.0.3) (2020-02-10)
222
-
223
- ### Bug Fixes
224
-
225
- - better font sizes for smaller screens ([721fe06](https://bitbucket.org/enturas/design-system/commits/721fe062652df71c6520acd58a839310b2a4807f))
226
- - update colors for preformatted and code text ([846d144](https://bitbucket.org/enturas/design-system/commits/846d144df0402bbc27bfd6997aba2db59303c85d))
227
-
228
- ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.0.1...@entur/typography@1.0.2) (2020-02-05)
229
-
230
- ### Bug Fixes
231
-
232
- - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
233
-
234
- ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.0.0...@entur/typography@1.0.1) (2020-01-28)
235
-
236
- **Note:** Version bump only for package @entur/typography
237
-
238
- # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.4...@entur/typography@1.0.0) (2020-01-27)
239
-
240
- ### Bug Fixes
241
-
242
- - add marigin prop for paragraph component ([c7c932a](https://bitbucket.org/enturas/design-system/commits/c7c932ac057e9c393200b6f84093ea62966fa6bd))
243
- - ensure proper usage of margin props for paragraph ([c3fd065](https://bitbucket.org/enturas/design-system/commits/c3fd06501973537c5b6318cdd6a6090f88bce33d))
244
- - updating margins for header and paragraph components ([a7cc7a0](https://bitbucket.org/enturas/design-system/commits/a7cc7a0cb15100613e4edca89fa18424c59d7987))
245
- - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
246
- - updating marigins for all typography components ([29e9a27](https://bitbucket.org/enturas/design-system/commits/29e9a273c6c45a7a417f59b59e9ec91971d72e8a))
247
-
248
- ### BREAKING CHANGES
249
-
250
- - as some typography components now have either removed or added marign,
251
- if these have been used directly in components or other places where
252
- their margins were used for styling purposes, you may experience issues
253
- with this. So doublecheck your usage of Heading1-6 and Paragraph in places
254
- where their margins may be interferring
255
-
256
- ## [0.7.4](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.3...@entur/typography@0.7.4) (2020-01-20)
257
-
258
- ### Bug Fixes
259
-
260
- - fixing use of fallback font, and adding font family as css variable ([a4d28c4](https://bitbucket.org/enturas/design-system/commits/a4d28c42768a2b8d6faee4565a9fe6b9be7034f9))
261
-
262
- ## [0.7.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.2...@entur/typography@0.7.3) (2020-01-14)
263
-
264
- **Note:** Version bump only for package @entur/typography
265
-
266
- ## [0.7.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.1...@entur/typography@0.7.2) (2020-01-13)
267
-
268
- ### Bug Fixes
269
-
270
- - **Typography:** added var() ([02ea259](https://bitbucket.org/enturas/design-system/commits/02ea2594c9064484eebb06529887c4e34c8479c7))
271
- - **Typography:** switched color: inherit with css prop ([ccd3a04](https://bitbucket.org/enturas/design-system/commits/ccd3a046b78be146f1b136211f4a3e92c7e31df9))
272
-
273
- ## [0.7.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.7.0...@entur/typography@0.7.1) (2020-01-08)
274
-
275
- ### Bug Fixes
276
-
277
- - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
278
-
279
- # [0.7.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.6.1...@entur/typography@0.7.0) (2020-01-06)
280
-
281
- ### Bug Fixes
282
-
283
- - new styling for preformatted and code text ([c929097](https://bitbucket.org/enturas/design-system/commits/c9290975269797e8080362336b9d2cac65e028e9))
284
-
285
- ### Features
286
-
287
- - **UnorderedList, NumberedList, ListItem:** add new list components ([96de00e](https://bitbucket.org/enturas/design-system/commits/96de00e21d852702e1ab23d388a807d5ad035580))
288
-
289
- ## [0.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.6.0...@entur/typography@0.6.1) (2019-12-10)
290
-
291
- ### Bug Fixes
292
-
293
- - fixing the api for the margin-prop, used in headers ([85e04d3](https://bitbucket.org/enturas/design-system/commits/85e04d3db248a66ec6b05ad85ba02ef7438f76e8))
294
-
295
- # [0.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.5.0...@entur/typography@0.6.0) (2019-11-29)
296
-
297
- ### Features
298
-
299
- - **Heading1-6:** add margin prop to all headings ([a167485](https://bitbucket.org/enturas/design-system/commits/a1674852143e8a99bff7c2dbebf20ff09aeea977))
300
-
301
- # [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.5...@entur/typography@0.5.0) (2019-11-22)
302
-
303
- ### Features
304
-
305
- - **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
306
-
307
- ## [0.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.4...@entur/typography@0.4.5) (2019-11-18)
308
-
309
- ### Bug Fixes
310
-
311
- - add custom styles for h6 headings ([4f8e643](https://bitbucket.org/enturas/design-system/commits/4f8e6433f05f51f3db3c2be2b6aeb08b52d94931))
312
- - **type:** fix broken types due to duplicate declarations ([01e4e21](https://bitbucket.org/enturas/design-system/commits/01e4e215c57b3a812c79d69ded2834401c35d4fe))
313
-
314
- ## [0.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.3...@entur/typography@0.4.4) (2019-11-14)
315
-
316
- ### Bug Fixes
317
-
318
- - fix lint errors ([8539282](https://bitbucket.org/enturas/design-system/commits/8539282c04b01cc1459109cbc9c4111dfcdaa5f4))
319
- - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
320
- - **headings:** skip setting horizontal margins for headings ([a94f54a](https://bitbucket.org/enturas/design-system/commits/a94f54a92a65f2939438c6a8f8be895bd64a99d2))
321
-
322
- ## [0.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.2...@entur/typography@0.4.3) (2019-11-07)
323
-
324
- ### Bug Fixes
325
-
326
- - fix issue where fallback font was used ([8c31176](https://bitbucket.org/enturas/design-system/commits/8c31176ded49432692820d6cbcfcf07d784e88fc))
327
-
328
- ## [0.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.1...@entur/typography@0.4.2) (2019-11-06)
329
-
330
- ### Bug Fixes
331
-
332
- - **CodeText:** add border to inline code text component ([83b76ae](https://bitbucket.org/enturas/design-system/commits/83b76aefce6c8972208cae8652b89ae84c763b12))
333
- - **PreformattedText:** add border ([8bc0b47](https://bitbucket.org/enturas/design-system/commits/8bc0b477b7a213f87aa1af169d6fa48363514419))
334
-
335
- ## [0.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.4.0...@entur/typography@0.4.1) (2019-10-30)
336
-
337
- ### Bug Fixes
338
-
339
- - migrate to latest version of space tokens ([4330496](https://bitbucket.org/enturas/design-system/commits/4330496e269bf628f7b9b7aec75f704800201101))
340
- - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
341
- - **Link:** let links inherit the font-size ([83a2db5](https://bitbucket.org/enturas/design-system/commits/83a2db57c52c466f5c97d1a8f41d6315eb496bb1))
342
-
343
- # [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.3.0...@entur/typography@0.4.0) (2019-10-22)
344
-
345
- ### Features
346
-
347
- - **docs:** added install and import code examples for components ([3947218](https://bitbucket.org/enturas/design-system/commits/394721862f307913a7e553ee9266ad335bb98d7d))
348
- - **small typography:** added Small typography and documentation ([f2c6a0a](https://bitbucket.org/enturas/design-system/commits/f2c6a0a108b177efad32ca0fec0733a2072bd9d1))
349
- - **typography:** add new component - CodeText ([474721d](https://bitbucket.org/enturas/design-system/commits/474721dac9ca84b0d1ecfb7a93ad339ba0653184))
350
-
351
- # [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@0.2.0...@entur/typography@0.3.0) (2019-10-07)
352
-
353
- ### Bug Fixes
354
-
355
- - **typography:** add wildcard type definition to all typography types ([b2ebb9e](https://bitbucket.org/enturas/design-system/commits/b2ebb9e))
356
-
357
- ### Features
358
-
359
- - **typography:** add LeadParagraph component ([64a4352](https://bitbucket.org/enturas/design-system/commits/64a4352))
360
- - **typography:** add new component \`PreformattedText\` ([6e8dc24](https://bitbucket.org/enturas/design-system/commits/6e8dc24))
361
-
362
- # 0.2.0 (2019-09-25)
363
-
364
- ### Features
365
-
366
- - **typography:** add new package typography ([dca4b0c](https://bitbucket.org/enturas/design-system/commits/dca4b0c))
367
- - **typography:** implement a basic typography package ([a1da1ae](https://bitbucket.org/enturas/design-system/commits/a1da1ae))