@entur/typography 1.6.10 → 1.6.11
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 +4 -0
- package/dist/BaseHeading.d.ts +1 -3
- package/dist/CodeText.d.ts +1 -3
- package/dist/EmphasizedText.d.ts +1 -3
- package/dist/Heading1.d.ts +1 -3
- package/dist/Heading2.d.ts +1 -3
- package/dist/Heading3.d.ts +1 -3
- package/dist/Heading4.d.ts +1 -3
- package/dist/Heading5.d.ts +1 -3
- package/dist/Heading6.d.ts +1 -3
- package/dist/Label.d.ts +1 -3
- package/dist/LeadParagraph.d.ts +1 -3
- package/dist/Link.d.ts +1 -3
- package/dist/Paragraph.d.ts +1 -3
- package/dist/PreformattedText.d.ts +1 -3
- package/dist/SmallText.d.ts +1 -3
- package/dist/StrongText.d.ts +1 -3
- package/dist/SubLabel.d.ts +1 -3
- package/dist/SubParagraph.d.ts +1 -3
- package/dist/typography.cjs.development.js +148 -104
- 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 +123 -82
- package/dist/typography.esm.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.10...@entur/typography@1.6.11) (2022-02-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/typography
|
|
9
|
+
|
|
6
10
|
## [1.6.10](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.9...@entur/typography@1.6.10) (2021-11-17)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/typography
|
package/dist/BaseHeading.d.ts
CHANGED
|
@@ -14,7 +14,5 @@ declare type BaseHeadingOwnProps = {
|
|
|
14
14
|
};
|
|
15
15
|
declare const defaultElement = "h1";
|
|
16
16
|
export declare type BaseHeadingProps<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<BaseHeadingOwnProps, T>;
|
|
17
|
-
export declare const BaseHeading: <E extends React.ElementType<any> = "h1">({ className, level, margin, as, ...rest }:
|
|
18
|
-
as?: E | undefined;
|
|
19
|
-
}) => JSX.Element;
|
|
17
|
+
export declare const BaseHeading: <E extends React.ElementType<any> = "h1">({ className, level, margin, as, ...rest }: BaseHeadingProps<E>) => JSX.Element;
|
|
20
18
|
export {};
|
package/dist/CodeText.d.ts
CHANGED
|
@@ -12,7 +12,5 @@ export declare type CodeTextOwnProps = {
|
|
|
12
12
|
};
|
|
13
13
|
export declare type CodeTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<CodeTextOwnProps, E>;
|
|
14
14
|
declare const defaultElement = "code";
|
|
15
|
-
export declare const CodeText: <E extends React.ElementType<any> = "code">({ className, as, ...rest }:
|
|
16
|
-
as?: E | undefined;
|
|
17
|
-
}) => JSX.Element;
|
|
15
|
+
export declare const CodeText: <E extends React.ElementType<any> = "code">({ className, as, ...rest }: CodeTextProps<E>) => JSX.Element;
|
|
18
16
|
export {};
|
package/dist/EmphasizedText.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type EmphasizedTextOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type EmphasizedTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<EmphasizedTextOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "em";
|
|
19
|
-
export declare const EmphasizedText: <E extends React.ElementType<any> = "em">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const EmphasizedText: <E extends React.ElementType<any> = "em">({ className, margin, as, ...rest }: EmphasizedTextProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading1.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading1OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
declare const defaultElement = "h1";
|
|
18
18
|
export declare type Heading1Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading1OwnProps, T>;
|
|
19
|
-
export declare const Heading1: <E extends React.ElementType<any> = "h1">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading1: <E extends React.ElementType<any> = "h1">({ margin, children, as, ...rest }: Heading1Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading2.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading2OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type Heading2Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading2OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h2";
|
|
19
|
-
export declare const Heading2: <E extends React.ElementType<any> = "h2">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading2: <E extends React.ElementType<any> = "h2">({ margin, children, as, ...rest }: Heading2Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading3.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading3OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type Heading3Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading3OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h3";
|
|
19
|
-
export declare const Heading3: <E extends React.ElementType<any> = "h3">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading3: <E extends React.ElementType<any> = "h3">({ margin, children, as, ...rest }: Heading3Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading4.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading4OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type Heading4Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading4OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h4";
|
|
19
|
-
export declare const Heading4: <E extends React.ElementType<any> = "h4">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading4: <E extends React.ElementType<any> = "h4">({ margin, children, as, ...rest }: Heading4Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading5.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading5OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type Heading5Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading5OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h5";
|
|
19
|
-
export declare const Heading5: <E extends React.ElementType<any> = "h5">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading5: <E extends React.ElementType<any> = "h5">({ margin, children, as, ...rest }: Heading5Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Heading6.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type Heading6OwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type Heading6Props<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<Heading6OwnProps, T>;
|
|
18
18
|
declare const defaultElement = "h6";
|
|
19
|
-
export declare const Heading6: <E extends React.ElementType<any> = "h6">({ margin, children, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Heading6: <E extends React.ElementType<any> = "h6">({ margin, children, as, ...rest }: Heading6Props<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Label.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type LabelOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type LabelProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LabelOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "label";
|
|
19
|
-
export declare const Label: <E extends React.ElementType<any> = "label">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Label: <E extends React.ElementType<any> = "label">({ className, margin, as, ...rest }: LabelProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/LeadParagraph.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type LeadParagraphOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type LeadParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LeadParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
|
-
export declare const LeadParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const LeadParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: LeadParagraphProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Link.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type LinkOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type LinkProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<LinkOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "a";
|
|
19
|
-
export declare const Link: <E extends React.ElementType<any> = "a">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Link: <E extends React.ElementType<any> = "a">({ className, margin, as, ...rest }: LinkProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/Paragraph.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type ParagraphOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type ParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<ParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
|
-
export declare const Paragraph: <E extends React.ElementType<any> = "p">({ margin, className, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const Paragraph: <E extends React.ElementType<any> = "p">({ margin, className, as, ...rest }: ParagraphProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
|
@@ -11,6 +11,4 @@ export declare type PreformattedTextOwnProps = {
|
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export declare type PreformattedTextProps<E extends React.ElementType> = PolymorphicPropsWithoutRef<PreformattedTextOwnProps, E>;
|
|
14
|
-
export declare const PreformattedText: <E extends React.ElementType<any> = "pre">({ className, as, ...rest }:
|
|
15
|
-
as?: E | undefined;
|
|
16
|
-
}) => JSX.Element;
|
|
14
|
+
export declare const PreformattedText: <E extends React.ElementType<any> = "pre">({ className, as, ...rest }: PreformattedTextProps<E>) => JSX.Element;
|
package/dist/SmallText.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type SmallTextOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type SmallTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SmallTextOwnProps, T>;
|
|
18
18
|
declare const defaultElement = "span";
|
|
19
|
-
export declare const SmallText: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const SmallText: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/StrongText.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type StrongTextOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type StrongTextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<StrongTextOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "strong";
|
|
19
|
-
export declare const StrongText: <E extends React.ElementType<any> = "strong">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const StrongText: <E extends React.ElementType<any> = "strong">({ className, margin, as, ...rest }: StrongTextProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/SubLabel.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type SubLabelOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type SubLabelProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SubLabelOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "span";
|
|
19
|
-
export declare const SubLabel: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const SubLabel: <E extends React.ElementType<any> = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|
package/dist/SubParagraph.d.ts
CHANGED
|
@@ -16,7 +16,5 @@ export declare type SubParagraphOwnProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare type SubParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicPropsWithoutRef<SubParagraphOwnProps, E>;
|
|
18
18
|
declare const defaultElement = "p";
|
|
19
|
-
export declare const SubParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }:
|
|
20
|
-
as?: E | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
19
|
+
export declare const SubParagraph: <E extends React.ElementType<any> = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
|
|
22
20
|
export {};
|