@blateral/b.kit 2.0.0-beta.25.9 → 2.0.0-beta.26.0
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/lib/components/blocks/IntroBlock.d.ts +8 -0
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
- package/lib/components/blocks/Title.d.ts +6 -0
- package/lib/components/blocks/Title.d.ts.map +1 -1
- package/lib/components/buttons/Button.d.ts.map +1 -1
- package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
- package/lib/components/sections/Article.d.ts +5 -0
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CallToAction.d.ts +14 -0
- package/lib/components/sections/CallToAction.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +12 -2
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts.map +1 -1
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { FontOptions } from "../../utils/styles";
|
|
3
|
+
import { TitleSize } from "./Title";
|
|
2
4
|
import { CopyType } from "../typography/Copy";
|
|
3
5
|
import { HeadlineTag } from "../typography/Heading";
|
|
4
6
|
import { ImageProps } from './Image';
|
|
@@ -11,6 +13,8 @@ declare const IntroBlock: React.FC<{
|
|
|
11
13
|
title?: string;
|
|
12
14
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
13
15
|
titleAs?: HeadlineTag;
|
|
16
|
+
/** Main title size */
|
|
17
|
+
titleSize?: TitleSize;
|
|
14
18
|
/** Superior title that stands above main title */
|
|
15
19
|
superTitle?: string;
|
|
16
20
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
@@ -21,6 +25,8 @@ declare const IntroBlock: React.FC<{
|
|
|
21
25
|
image?: ImageProps;
|
|
22
26
|
/** Copy type of intro text (limits richtext capabilites on textType == copy-b or copy-i) */
|
|
23
27
|
textType?: CopyType;
|
|
28
|
+
/** Copy size of intro text */
|
|
29
|
+
textSize?: keyof FontOptions;
|
|
24
30
|
/** Function to inject custom primary button */
|
|
25
31
|
primaryAction?: (isInverted?: boolean) => React.ReactNode;
|
|
26
32
|
/** Function to inject custom secondary button */
|
|
@@ -35,6 +41,8 @@ declare const IntroBlock: React.FC<{
|
|
|
35
41
|
clampText?: boolean;
|
|
36
42
|
/** Limit lines of text. Cut of with elipsis */
|
|
37
43
|
maxTextLines?: number;
|
|
44
|
+
/** Main title hyphens */
|
|
45
|
+
titleHyphens?: boolean;
|
|
38
46
|
className?: string;
|
|
39
47
|
}>;
|
|
40
48
|
export default IntroBlock;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntroBlock.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/IntroBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IntroBlock.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/IntroBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAgB,WAAW,EAAE,2BAAqB;AAEzD,OAAc,EAAE,SAAS,EAAE,gBAAgC;AAC3D,OAAa,EAAE,QAAQ,EAAE,2BAAmC;AAE5D,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAc,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA4F5C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IACvB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,GAAG,YAAY,CAAC;IAEhC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAE/C,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+CAA+C;IAC/C,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB,sBAAsB;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gDAAgD;IAChD,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,+CAA+C;IAC/C,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,WAAW,CAAC;IAE7B,+CAA+C;IAC/C,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE1D,iDAAiD;IACjD,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE5D,8BAA8B;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,yBAAyB;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAsFA,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { HeadlineTag } from "../typography/Heading";
|
|
3
|
+
import { FontType } from "../../utils/styles";
|
|
4
|
+
export declare type TitleSize = Extract<FontType, 'heading-1' | 'heading-2'>;
|
|
3
5
|
declare const Title: FC<{
|
|
4
6
|
/**
|
|
5
7
|
* Text color mode mostly background dependent.
|
|
@@ -14,10 +16,14 @@ declare const Title: FC<{
|
|
|
14
16
|
title?: string;
|
|
15
17
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
16
18
|
titleAs?: HeadlineTag;
|
|
19
|
+
/** Style type of main title */
|
|
20
|
+
titleSize?: TitleSize;
|
|
17
21
|
/** Clamp lines of text to specific number */
|
|
18
22
|
maxLines?: number;
|
|
19
23
|
/** Center texts */
|
|
20
24
|
isCentered?: boolean;
|
|
25
|
+
/** Enable titel text hypens */
|
|
26
|
+
titleHyphens?: boolean;
|
|
21
27
|
className?: string;
|
|
22
28
|
}>;
|
|
23
29
|
export default Title;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/Title.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAgB,EAAE,WAAW,EAAE,8BAAsC;
|
|
1
|
+
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/Title.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAgB,EAAE,WAAW,EAAE,8BAAsC;AACrE,OAAO,EAAE,QAAQ,EAAY,2BAAqB;AAyClD,oBAAY,SAAS,GAAG,OAAO,CAAC,QAAQ,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;AAErE,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC;IACZ;;;SAGK;IACL,SAAS,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IAE/C,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gDAAgD;IAChD,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+CAA+C;IAC/C,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mBAAmB;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CA8CA,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2I1B,UAAU,KAAK;IACX,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,oBAAY,QAAQ,GAAG,KAAK,GAAG;IAC3B,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACnE,CAAC;AAEF,oBAAY,SAAS,GAAG,KAAK,GAAG;IAC5B,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;;;;;;;AAmFF,wBAA0D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGhost.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/ButtonGhost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonGhost.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/ButtonGhost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwH/B,UAAU,KAAK;IACX,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,oBAAY,QAAQ,GAAG,KAAK,GAAG;IAC3B,EAAE,CAAC,EAAE,QAAQ,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACnE,CAAC;AAEF,oBAAY,SAAS,GAAG,KAAK,GAAG;IAC5B,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;;;;;;;AAmFF,wBAA+D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { TitleSize } from "../blocks/Title";
|
|
2
3
|
import { HeadlineTag } from "../typography/Heading";
|
|
3
4
|
export declare const ArticleComponent: React.FC<{
|
|
4
5
|
/** ID value for targeting section with anchor hashes */
|
|
@@ -7,6 +8,8 @@ export declare const ArticleComponent: React.FC<{
|
|
|
7
8
|
title?: string | undefined;
|
|
8
9
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
9
10
|
titleAs?: HeadlineTag | undefined;
|
|
11
|
+
/** Main title size */
|
|
12
|
+
titleSize?: TitleSize | undefined;
|
|
10
13
|
/** Superior title that stands above main title */
|
|
11
14
|
superTitle?: string | undefined;
|
|
12
15
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
@@ -33,6 +36,8 @@ declare const _default: React.FC<{
|
|
|
33
36
|
title?: string | undefined;
|
|
34
37
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
35
38
|
titleAs?: HeadlineTag | undefined;
|
|
39
|
+
/** Main title size */
|
|
40
|
+
titleSize?: TitleSize | undefined;
|
|
36
41
|
/** Superior title that stands above main title */
|
|
37
42
|
superTitle?: string | undefined;
|
|
38
43
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Article.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Article.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Article.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Article.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAc,EAAE,SAAS,EAAE,wBAAgC;AAK3D,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAgJ5D,eAAO,MAAM,gBAAgB;IAzHzB,wDAAwD;;IAExD,sBAAsB;;IAEtB,+CAA+C;;IAE/C,sBAAsB;;IAEtB,kDAAkD;;IAElD,gDAAgD;;IAEhD,0EAA0E;;IAE1E,4BAA4B;;IAE5B,qDAAqD;;IAErD,wDAAwD;;IAGxD,yBAAyB;;IAGzB,+CAA+C;2DACL,MAAM,SAAS;IACzD,iDAAiD;6DACL,MAAM,SAAS;EA8FxB,CAAC;;IAzHpC,wDAAwD;;IAExD,sBAAsB;;IAEtB,+CAA+C;;IAE/C,sBAAsB;;IAEtB,kDAAkD;;IAElD,gDAAgD;;IAEhD,0EAA0E;;IAE1E,4BAA4B;;IAE5B,qDAAqD;;IAErD,wDAAwD;;IAGxD,yBAAyB;;IAGzB,+CAA+C;;IAE/C,iDAAiD;;;;;AAgGrD,wBAAqC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
+
import { FontOptions } from "../../utils/styles";
|
|
2
3
|
import { HeadlineTag } from "../typography/Heading";
|
|
4
|
+
import { TitleSize } from "../blocks/Title";
|
|
3
5
|
export interface ContactBoxProps {
|
|
4
6
|
isInverted?: boolean;
|
|
5
7
|
description?: string;
|
|
@@ -15,12 +17,16 @@ export declare const CallToAction: FC<{
|
|
|
15
17
|
title?: string;
|
|
16
18
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
17
19
|
titleAs?: HeadlineTag;
|
|
20
|
+
/** Main title size */
|
|
21
|
+
titleSize?: TitleSize;
|
|
18
22
|
/** Superior title that stands above main title */
|
|
19
23
|
superTitle?: string;
|
|
20
24
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
21
25
|
superTitleAs?: HeadlineTag;
|
|
22
26
|
/** Bold text underneath the title (limited richtext capabilites) */
|
|
23
27
|
text?: string;
|
|
28
|
+
/** Main text size */
|
|
29
|
+
textSize?: keyof FontOptions;
|
|
24
30
|
/** Props for contact area */
|
|
25
31
|
contact?: ContactBoxProps;
|
|
26
32
|
/** Show Newsletter defined by inject function newsFormMain. Only visible if React node is defined! */
|
|
@@ -43,12 +49,16 @@ export declare const CallToActionComponent: React.FC<{
|
|
|
43
49
|
title?: string | undefined;
|
|
44
50
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
45
51
|
titleAs?: HeadlineTag | undefined;
|
|
52
|
+
/** Main title size */
|
|
53
|
+
titleSize?: TitleSize | undefined;
|
|
46
54
|
/** Superior title that stands above main title */
|
|
47
55
|
superTitle?: string | undefined;
|
|
48
56
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
49
57
|
superTitleAs?: HeadlineTag | undefined;
|
|
50
58
|
/** Bold text underneath the title (limited richtext capabilites) */
|
|
51
59
|
text?: string | undefined;
|
|
60
|
+
/** Main text size */
|
|
61
|
+
textSize?: keyof FontOptions | undefined;
|
|
52
62
|
/** Props for contact area */
|
|
53
63
|
contact?: ContactBoxProps | undefined;
|
|
54
64
|
/** Show Newsletter defined by inject function newsFormMain. Only visible if React node is defined! */
|
|
@@ -71,12 +81,16 @@ declare const _default: React.FC<{
|
|
|
71
81
|
title?: string | undefined;
|
|
72
82
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
73
83
|
titleAs?: HeadlineTag | undefined;
|
|
84
|
+
/** Main title size */
|
|
85
|
+
titleSize?: TitleSize | undefined;
|
|
74
86
|
/** Superior title that stands above main title */
|
|
75
87
|
superTitle?: string | undefined;
|
|
76
88
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
77
89
|
superTitleAs?: HeadlineTag | undefined;
|
|
78
90
|
/** Bold text underneath the title (limited richtext capabilites) */
|
|
79
91
|
text?: string | undefined;
|
|
92
|
+
/** Main text size */
|
|
93
|
+
textSize?: keyof FontOptions | undefined;
|
|
80
94
|
/** Props for contact area */
|
|
81
95
|
contact?: ContactBoxProps | undefined;
|
|
82
96
|
/** Show Newsletter defined by inject function newsFormMain. Only visible if React node is defined! */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CallToAction.d.ts","sourceRoot":"","sources":["../../../src/components/sections/CallToAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CallToAction.d.ts","sourceRoot":"","sources":["../../../src/components/sections/CallToAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAG9C,OAAO,EACH,WAAW,EAKd,2BAAqB;AAItB,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAK5D,OAAO,EAAE,SAAS,EAAE,wBAAgC;AAiFpD,MAAM,WAAW,eAAe;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzC;AAsFD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC;IAC1B,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,sBAAsB;IACtB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,WAAW,CAAC;IAC7B,6BAA6B;IAC7B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,sGAAsG;IACtG,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oDAAoD;IACpD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAE7B,+CAA+C;IAC/C,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,iDAAiD;IACjD,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC5D,yCAAyC;IACzC,YAAY,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;CAC5D,CAsEA,CAAC;AAEF,eAAO,MAAM,qBAAqB;IAxG9B,wDAAwD;;IAExD,sBAAsB;;IAEtB,+CAA+C;;IAE/C,sBAAsB;;IAEtB,kDAAkD;;IAElD,gDAAgD;;IAEhD,oEAAoE;;IAEpE,qBAAqB;;IAErB,6BAA6B;;IAE7B,sGAAsG;;IAEtG,oDAAoD;YAC5C,MAAM,SAAS;IAEvB,yBAAyB;;IAGzB,+CAA+C;2DACL,MAAM,SAAS;IACzD,iDAAiD;6DACL,MAAM,SAAS;IAC3D,yCAAyC;0DACA,MAAM,SAAS;EAyEX,CAAC;;IAxG9C,wDAAwD;;IAExD,sBAAsB;;IAEtB,+CAA+C;;IAE/C,sBAAsB;;IAEtB,kDAAkD;;IAElD,gDAAgD;;IAEhD,oEAAoE;;IAEpE,qBAAqB;;IAErB,6BAA6B;;IAE7B,sGAAsG;;IAEtG,oDAAoD;;IAGpD,yBAAyB;;IAGzB,+CAA+C;;IAE/C,iDAAiD;;IAEjD,yCAAyC;;;;;AA2E7C,wBAA0C"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { HeadlineTag } from "../typography/Heading";
|
|
3
3
|
import { ImageProps } from "../blocks/Image";
|
|
4
|
+
import { FontOptions } from "../../utils/styles";
|
|
5
|
+
import { TitleSize } from "../blocks/Title";
|
|
4
6
|
export declare const IntroComponent: React.FC<{
|
|
5
7
|
/** ID value for targeting section with anchor hashes */
|
|
6
8
|
anchorId?: string | undefined;
|
|
@@ -8,12 +10,16 @@ export declare const IntroComponent: React.FC<{
|
|
|
8
10
|
title?: string | undefined;
|
|
9
11
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
10
12
|
titleAs?: HeadlineTag | undefined;
|
|
13
|
+
/** Main title style */
|
|
14
|
+
titleSize?: TitleSize | undefined;
|
|
11
15
|
/** Superior title that stands above main title */
|
|
12
16
|
superTitle?: string | undefined;
|
|
13
17
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
14
18
|
superTitleAs?: HeadlineTag | undefined;
|
|
15
|
-
/**
|
|
19
|
+
/** Main text (richtext) */
|
|
16
20
|
text?: string | undefined;
|
|
21
|
+
/** Main text size */
|
|
22
|
+
textSize?: keyof FontOptions | undefined;
|
|
17
23
|
/** Images for different screen sizes. coverSpace defaults to true */
|
|
18
24
|
image?: ImageProps | undefined;
|
|
19
25
|
/** Function to inject custom primary button */
|
|
@@ -37,12 +43,16 @@ declare const _default: React.FC<{
|
|
|
37
43
|
title?: string | undefined;
|
|
38
44
|
/** Main title HTML tag type (h2, h3, h4...) */
|
|
39
45
|
titleAs?: HeadlineTag | undefined;
|
|
46
|
+
/** Main title style */
|
|
47
|
+
titleSize?: TitleSize | undefined;
|
|
40
48
|
/** Superior title that stands above main title */
|
|
41
49
|
superTitle?: string | undefined;
|
|
42
50
|
/** Superior title HTML tag type (h3, h4 ...) */
|
|
43
51
|
superTitleAs?: HeadlineTag | undefined;
|
|
44
|
-
/**
|
|
52
|
+
/** Main text (richtext) */
|
|
45
53
|
text?: string | undefined;
|
|
54
|
+
/** Main text size */
|
|
55
|
+
textSize?: keyof FontOptions | undefined;
|
|
46
56
|
/** Images for different screen sizes. coverSpace defaults to true */
|
|
47
57
|
image?: ImageProps | undefined;
|
|
48
58
|
/** Function to inject custom primary button */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Intro.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Intro.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAE5D,OAAO,EAAE,UAAU,EAAE,wBAAgC;
|
|
1
|
+
{"version":3,"file":"Intro.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Intro.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAE5D,OAAO,EAAE,UAAU,EAAE,wBAAgC;AACrD,OAAO,EAAE,WAAW,EAAE,2BAAqB;AAC3C,OAAO,EAAE,SAAS,EAAE,wBAAgC;AA8GpD,eAAO,MAAM,cAAc;IA3GvB,wDAAwD;;IAGxD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,uBAAuB;;IAGvB,kDAAkD;;IAGlD,gDAAgD;;IAGhD,4BAA4B;;IAG5B,qBAAqB;;IAGrB,qEAAqE;;IAGrE,+CAA+C;2DACL,MAAM,SAAS;IAEzD,iDAAiD;6DACL,MAAM,SAAS;IAE3D,8BAA8B;;IAG9B,oDAAoD;;IAGpD,iDAAiD;;IAGjD,yBAAyB;;;EAiEM,CAAC;;IA3GhC,wDAAwD;;IAGxD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,uBAAuB;;IAGvB,kDAAkD;;IAGlD,gDAAgD;;IAGhD,4BAA4B;;IAG5B,qBAAqB;;IAGrB,qEAAqE;;IAGrE,+CAA+C;;IAG/C,iDAAiD;;IAGjD,8BAA8B;;IAG9B,oDAAoD;;IAGpD,iDAAiD;;IAGjD,yBAAyB;;;;;;AAkE7B,wBAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Teaser.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Teaser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAc,EAAE,UAAU,EAAE,wBAAgC;AAG5D,OAAgB,EAAE,MAAM,EAAE,wBAAgC;AAU1D,OAAmB,EAAE,iBAAiB,EAAE,6BAAqC;
|
|
1
|
+
{"version":3,"file":"Teaser.d.ts","sourceRoot":"","sources":["../../../src/components/sections/Teaser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAc,EAAE,UAAU,EAAE,wBAAgC;AAG5D,OAAgB,EAAE,MAAM,EAAE,wBAAgC;AAU1D,OAAmB,EAAE,iBAAiB,EAAE,6BAAqC;AAoR7E,eAAO,MAAM,iBAAiB,+HAI3B,MAAM,GAAG,SAoBX,CAAC;AAEF,eAAO,MAAM,eAAe;IAjOxB,wDAAwD;;IAGxD,oCAAoC;;IAGpC,kDAAkD;;IAGlD,gDAAgD;;IAGhD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,wCAAwC;;IAGxC;;;OAGG;;cAEO,MAAM,EAAE;;;IAIlB,iDAAiD;;IAGjD,oBAAoB;;IAGpB,yBAAyB;;IAGzB,+CAA+C;2DACL,MAAM,SAAS;IAEzD,iDAAiD;6DACL,MAAM,SAAS;EAsL1B,CAAC;;IAjOlC,wDAAwD;;IAGxD,oCAAoC;;IAGpC,kDAAkD;;IAGlD,gDAAgD;;IAGhD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,wCAAwC;;IAGxC;;;OAGG;;;;;IAMH,iDAAiD;;IAGjD,oBAAoB;;IAGpB,yBAAyB;;IAGzB,+CAA+C;;IAG/C,iDAAiD;;;;;AAwLrD,wBAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeaserWide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/TeaserWide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAc,EAAE,UAAU,EAAE,wBAAgC;AAO5D,OAAmB,EAAE,iBAAiB,EAAE,6BAAqC;
|
|
1
|
+
{"version":3,"file":"TeaserWide.d.ts","sourceRoot":"","sources":["../../../src/components/sections/TeaserWide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAc,EAAE,UAAU,EAAE,wBAAgC;AAO5D,OAAmB,EAAE,iBAAiB,EAAE,6BAAqC;AAgW7E,eAAO,MAAM,mBAAmB;IArL5B,wDAAwD;;IAGxD,oCAAoC;;IAGpC,kDAAkD;;IAGlD,gDAAgD;;IAGhD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,wCAAwC;;IAGxC;;;OAGG;;cAEO,MAAM,EAAE;;;IAIlB,oBAAoB;;IAGpB,yBAAyB;;IAGzB,+CAA+C;2DACL,MAAM,SAAS;IAEzD,iDAAiD;6DACL,MAAM,SAAS;EA6IlB,CAAC;;IArL1C,wDAAwD;;IAGxD,oCAAoC;;IAGpC,kDAAkD;;IAGlD,gDAAgD;;IAGhD,sBAAsB;;IAGtB,+CAA+C;;IAG/C,wCAAwC;;IAGxC;;;OAGG;;;;;IAMH,oBAAoB;;IAGpB,yBAAyB;;IAGzB,+CAA+C;;IAG/C,iDAAiD;;;;;AA+IrD,wBAAwC"}
|