@entur/typography 1.7.1-RC.0 → 1.7.1-RC.2
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.
- package/CHANGELOG.md +8 -0
- package/dist/BaseHeading.d.ts +2 -2
- package/dist/Blockquote.d.ts +2 -2
- package/dist/CodeText.d.ts +2 -2
- package/dist/EmphasizedText.d.ts +2 -2
- package/dist/Heading1.d.ts +2 -2
- package/dist/Heading2.d.ts +2 -2
- package/dist/Heading3.d.ts +2 -2
- package/dist/Heading4.d.ts +2 -2
- package/dist/Heading5.d.ts +2 -2
- package/dist/Heading6.d.ts +2 -2
- package/dist/Label.d.ts +2 -2
- package/dist/LeadParagraph.d.ts +2 -2
- package/dist/Link.d.ts +2 -2
- package/dist/ListItem.d.ts +1 -1
- package/dist/NumberedList.d.ts +1 -1
- package/dist/Paragraph.d.ts +2 -2
- package/dist/PreformattedText.d.ts +2 -2
- package/dist/SmallText.d.ts +2 -2
- package/dist/StrongText.d.ts +2 -2
- package/dist/SubLabel.d.ts +2 -2
- package/dist/SubParagraph.d.ts +2 -2
- package/dist/UnorderedList.d.ts +1 -1
- package/dist/styles.css +4 -24
- package/dist/typography.cjs.development.js +78 -117
- package/dist/typography.cjs.development.js.map +1 -1
- package/dist/typography.cjs.production.min.js +1 -1
- package/dist/typography.cjs.production.min.js.map +1 -1
- package/dist/typography.esm.js +78 -117
- package/dist/typography.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.7.1-RC.2](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.1-RC.1...@entur/typography@1.7.1-RC.2) (2022-11-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/typography
|
|
9
|
+
|
|
10
|
+
## [1.7.1-RC.1](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.1-RC.0...@entur/typography@1.7.1-RC.1) (2022-11-21)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/typography
|
|
13
|
+
|
|
6
14
|
## [1.7.1-RC.0](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.7.1-alpha.1...@entur/typography@1.7.1-RC.0) (2022-11-21)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @entur/typography
|
package/dist/BaseHeading.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
|
|
3
|
+
type BaseHeadingOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres */
|
|
5
5
|
as: string | React.ElementType;
|
|
6
6
|
/** Ekstra klassenavn */
|
|
@@ -13,6 +13,6 @@ declare type BaseHeadingOwnProps = {
|
|
|
13
13
|
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
14
14
|
};
|
|
15
15
|
declare const defaultElement = "h1";
|
|
16
|
-
export
|
|
16
|
+
export type BaseHeadingProps<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<BaseHeadingOwnProps, T>;
|
|
17
17
|
export declare const BaseHeading: <E extends React.ElementType<any> = "h1">({ className, level, margin, as, ...rest }: BaseHeadingProps<E>) => JSX.Element;
|
|
18
18
|
export {};
|
package/dist/Blockquote.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type BlockquoteProps = {
|
|
3
3
|
/** Ekstra klassenavn */
|
|
4
4
|
className?: string;
|
|
5
5
|
} & React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>;
|
|
6
6
|
export declare const Blockquote: React.FunctionComponent<BlockquoteProps>;
|
|
7
|
-
|
|
7
|
+
type BlockquoteFooterProps = {
|
|
8
8
|
/** Ekstra klassenavn */
|
|
9
9
|
className?: string;
|
|
10
10
|
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
package/dist/CodeText.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type CodeTextOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "code"
|
|
6
6
|
*/
|
|
@@ -10,7 +10,7 @@ export declare type CodeTextOwnProps = {
|
|
|
10
10
|
/** Innholdet */
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type CodeTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<CodeTextOwnProps, E>;
|
|
14
14
|
declare const defaultElement = "code";
|
|
15
15
|
export declare const CodeText: <E extends React.ElementType<any> = "code">({ className, as, ...rest }: CodeTextProps<E>) => JSX.Element;
|
|
16
16
|
export {};
|
package/dist/EmphasizedText.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type EmphasizedTextOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "em"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type EmphasizedTextOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type EmphasizedTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<EmphasizedTextOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "em";
|
|
19
19
|
export declare const EmphasizedText: <E extends React.ElementType<any> = "em">({ className, margin, as, ...rest }: EmphasizedTextProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading1.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading1OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h1"
|
|
6
6
|
*/
|
|
@@ -15,6 +15,6 @@ export declare type Heading1OwnProps = {
|
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
17
|
declare const defaultElement = "h1";
|
|
18
|
-
export
|
|
18
|
+
export type Heading1Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading1OwnProps, T>;
|
|
19
19
|
export declare const Heading1: <E extends React.ElementType<any> = "h1">({ margin, children, as, ...rest }: Heading1Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading2.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading2OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h2"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type Heading2OwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Heading2Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading2OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h2";
|
|
19
19
|
export declare const Heading2: <E extends React.ElementType<any> = "h2">({ margin, children, as, ...rest }: Heading2Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading3.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading3OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h3"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type Heading3OwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Heading3Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading3OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h3";
|
|
19
19
|
export declare const Heading3: <E extends React.ElementType<any> = "h3">({ margin, children, as, ...rest }: Heading3Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading4.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading4OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h4"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type Heading4OwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Heading4Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading4OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h4";
|
|
19
19
|
export declare const Heading4: <E extends React.ElementType<any> = "h4">({ margin, children, as, ...rest }: Heading4Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading5.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading5OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h5"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type Heading5OwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Heading5Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading5OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h5";
|
|
19
19
|
export declare const Heading5: <E extends React.ElementType<any> = "h5">({ margin, children, as, ...rest }: Heading5Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Heading6.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type Heading6OwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "h6"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type Heading6OwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Heading6Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading6OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h6";
|
|
19
19
|
export declare const Heading6: <E extends React.ElementType<any> = "h6">({ margin, children, as, ...rest }: Heading6Props<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Label.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type LabelOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "label"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type LabelOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type LabelProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LabelOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "label";
|
|
19
19
|
export declare const Label: <E extends React.ElementType<any> = "label">({ className, margin, as, ...rest }: LabelProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/LeadParagraph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type LeadParagraphOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "p"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type LeadParagraphOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type LeadParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LeadParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
19
|
export declare const LeadParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: LeadParagraphProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/Link.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type LinkOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "a"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type LinkOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type LinkProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LinkOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "a";
|
|
19
19
|
export declare const Link: <E extends React.ElementType<any> = "a">({ className, margin, as, ...rest }: LinkProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/ListItem.d.ts
CHANGED
package/dist/NumberedList.d.ts
CHANGED
package/dist/Paragraph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type ParagraphOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "p"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type ParagraphOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'bottom' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type ParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<ParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
19
|
export declare const Paragraph: <E extends React.ElementType<any> = "p">({ margin, className, as, ...rest }: ParagraphProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type PreformattedTextOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "pre"
|
|
6
6
|
*/
|
|
@@ -10,5 +10,5 @@ export declare type PreformattedTextOwnProps = {
|
|
|
10
10
|
/** Innholdet */
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type PreformattedTextProps<E extends React.ElementType> = PolymorphicPropsWithoutRef<PreformattedTextOwnProps, E>;
|
|
14
14
|
export declare const PreformattedText: <E extends React.ElementType<any> = "pre">({ className, as, ...rest }: PreformattedTextProps<E>) => JSX.Element;
|
package/dist/SmallText.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type SmallTextOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "span"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type SmallTextOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type SmallTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SmallTextOwnProps, T>;
|
|
18
18
|
declare const defaultElement = "span";
|
|
19
19
|
export declare const SmallText: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/StrongText.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type StrongTextOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "strong"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type StrongTextOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type StrongTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<StrongTextOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "strong";
|
|
19
19
|
export declare const StrongText: <E extends React.ElementType<any> = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/SubLabel.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type SubLabelOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "span"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type SubLabelOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type SubLabelProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SubLabelOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "span";
|
|
19
19
|
export declare const SubLabel: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/SubParagraph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PolymorphicPropsWithoutRef } from '@entur/utils';
|
|
3
|
-
export
|
|
3
|
+
export type SubParagraphOwnProps = {
|
|
4
4
|
/** HTML-elementet eller React-komponenten som rendres
|
|
5
5
|
* @default "p"
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type SubParagraphOwnProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
margin?: 'top' | 'bottom' | 'both' | 'none';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type SubParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SubParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
19
|
export declare const SubParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
|
|
20
20
|
export {};
|
package/dist/UnorderedList.d.ts
CHANGED
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* DO NOT CHANGE!*/
|
|
2
3
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
4
|
/* DO NOT CHANGE!*/
|
|
@@ -76,12 +77,10 @@
|
|
|
76
77
|
"Helvetica Neue", sans-serif;
|
|
77
78
|
}
|
|
78
79
|
html {
|
|
79
|
-
background-color: #ffffff;
|
|
80
80
|
background-color: #ffffff;
|
|
81
81
|
background-color: var(--primary-background-color);
|
|
82
82
|
box-sizing: border-box;
|
|
83
83
|
color: #181c56;
|
|
84
|
-
color: #181c56;
|
|
85
84
|
color: var(--primary-text-color);
|
|
86
85
|
font-family: "Nationale", Arial, "Gotham Rounded", -apple-system,
|
|
87
86
|
BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
|
|
@@ -260,20 +259,11 @@ html {
|
|
|
260
259
|
background-position: 0 100%;
|
|
261
260
|
}
|
|
262
261
|
.eds-link:hover {
|
|
263
|
-
|
|
264
|
-
animation: eds-link-underline 0.3s ease-in;
|
|
262
|
+
animation: eds-link-underline 0.3s ease-in;
|
|
265
263
|
}
|
|
266
264
|
.eds-contrast .eds-link {
|
|
267
265
|
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
268
266
|
}
|
|
269
|
-
@-webkit-keyframes eds-link-underline {
|
|
270
|
-
from {
|
|
271
|
-
background-size: 0% 0.125rem;
|
|
272
|
-
}
|
|
273
|
-
to {
|
|
274
|
-
background-size: 100% 0.125rem;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
267
|
@keyframes eds-link-underline {
|
|
278
268
|
from {
|
|
279
269
|
background-size: 0% 0.125rem;
|
|
@@ -299,7 +289,6 @@ html {
|
|
|
299
289
|
|
|
300
290
|
.eds-label,
|
|
301
291
|
.eds-sub-label {
|
|
302
|
-
color: #656782;
|
|
303
292
|
color: #656782;
|
|
304
293
|
color: var(--primary-label-color);
|
|
305
294
|
}
|
|
@@ -431,7 +420,7 @@ html {
|
|
|
431
420
|
margin: none;
|
|
432
421
|
}
|
|
433
422
|
|
|
434
|
-
.eds-blockquote
|
|
423
|
+
.eds-blockquote {
|
|
435
424
|
border-left: 0.25rem solid #babbcf;
|
|
436
425
|
font-family: inherit;
|
|
437
426
|
font-size: 1.25rem;
|
|
@@ -440,7 +429,7 @@ html {
|
|
|
440
429
|
padding: 0.5rem;
|
|
441
430
|
padding-left: 2rem;
|
|
442
431
|
}
|
|
443
|
-
.eds-
|
|
432
|
+
.eds-blockquote __footer {
|
|
444
433
|
font-size: 0.875rem;
|
|
445
434
|
line-height: 1.375rem;
|
|
446
435
|
letter-spacing: 1px;
|
|
@@ -501,15 +490,6 @@ html {
|
|
|
501
490
|
margin-bottom: 0;
|
|
502
491
|
}
|
|
503
492
|
|
|
504
|
-
@-webkit-keyframes lineExpand {
|
|
505
|
-
0% {
|
|
506
|
-
width: 0;
|
|
507
|
-
}
|
|
508
|
-
100% {
|
|
509
|
-
width: 100%;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
493
|
@keyframes lineExpand {
|
|
514
494
|
0% {
|
|
515
495
|
width: 0;
|