@blateral/b.kit 1.21.1 → 2.0.0-beta.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/base/Grid.d.ts +21 -1
- package/lib/components/base/Grid.d.ts.map +1 -1
- package/lib/components/base/Section.d.ts.map +1 -1
- package/lib/components/base/Wrapper.d.ts +1 -0
- package/lib/components/base/Wrapper.d.ts.map +1 -1
- package/lib/components/base/icons/socials/Instagram.d.ts.map +1 -1
- package/lib/components/blocks/Actions.d.ts +6 -1
- package/lib/components/blocks/Actions.d.ts.map +1 -1
- package/lib/components/blocks/CookieConsent.d.ts +3 -3
- package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
- package/lib/components/blocks/Fact.d.ts +4 -4
- package/lib/components/blocks/Fact.d.ts.map +1 -1
- package/lib/components/blocks/Feature.d.ts +15 -7
- package/lib/components/blocks/Feature.d.ts.map +1 -1
- package/lib/components/blocks/Image.d.ts +37 -0
- package/lib/components/blocks/Image.d.ts.map +1 -1
- package/lib/components/blocks/IntroBlock.d.ts +13 -1
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
- package/lib/components/blocks/NewsCard.d.ts.map +1 -1
- package/lib/components/blocks/PriceTag.d.ts +4 -3
- package/lib/components/blocks/PriceTag.d.ts.map +1 -1
- package/lib/components/blocks/PromotionCard.d.ts +17 -3
- package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
- package/lib/components/blocks/Title.d.ts.map +1 -1
- package/lib/components/blocks/VideoBlock.d.ts +23 -0
- package/lib/components/blocks/VideoBlock.d.ts.map +1 -0
- package/lib/components/blocks/VideoCard.d.ts.map +1 -1
- package/lib/components/buttons/Button.d.ts +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/buttons/Pointer.d.ts.map +1 -1
- package/lib/components/debug/DebugLines.d.ts +4 -0
- package/lib/components/debug/DebugLines.d.ts.map +1 -0
- package/lib/components/fields/CompactForm.d.ts +1 -2
- package/lib/components/fields/CompactForm.d.ts.map +1 -1
- package/lib/components/sections/Accordion.d.ts +58 -60
- package/lib/components/sections/Accordion.d.ts.map +1 -1
- package/lib/components/sections/Article.d.ts +60 -47
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CallToAction.d.ts +77 -55
- package/lib/components/sections/CallToAction.d.ts.map +1 -1
- package/lib/components/sections/ComparisonSlider.d.ts +38 -47
- package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
- package/lib/components/sections/CrossPromotion.d.ts +52 -51
- package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
- package/lib/components/sections/DynamicForm.d.ts +38 -47
- package/lib/components/sections/DynamicForm.d.ts.map +1 -1
- package/lib/components/sections/FactGrid.d.ts +46 -47
- package/lib/components/sections/FactGrid.d.ts.map +1 -1
- package/lib/components/sections/FactList.d.ts +53 -56
- package/lib/components/sections/FactList.d.ts.map +1 -1
- package/lib/components/sections/FeatureList.d.ts +45 -48
- package/lib/components/sections/FeatureList.d.ts.map +1 -1
- package/lib/components/sections/Footer.d.ts +38 -47
- package/lib/components/sections/Footer.d.ts.map +1 -1
- package/lib/components/sections/Form.d.ts +38 -47
- package/lib/components/sections/Form.d.ts.map +1 -1
- package/lib/components/sections/Gallery.d.ts +38 -47
- package/lib/components/sections/Gallery.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts +84 -55
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +61 -50
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Map.d.ts +38 -47
- package/lib/components/sections/Map.d.ts.map +1 -1
- package/lib/components/sections/NumberList.d.ts +38 -47
- package/lib/components/sections/NumberList.d.ts.map +1 -1
- package/lib/components/sections/Poster.d.ts +38 -47
- package/lib/components/sections/Poster.d.ts.map +1 -1
- package/lib/components/sections/PriceList.d.ts +50 -56
- package/lib/components/sections/PriceList.d.ts.map +1 -1
- package/lib/components/sections/PriceTable.d.ts +47 -48
- package/lib/components/sections/PriceTable.d.ts.map +1 -1
- package/lib/components/sections/Quicknav.d.ts +38 -47
- package/lib/components/sections/Quicknav.d.ts.map +1 -1
- package/lib/components/sections/Quote.d.ts +48 -47
- package/lib/components/sections/Quote.d.ts.map +1 -1
- package/lib/components/sections/SocialNav.d.ts +38 -47
- package/lib/components/sections/SocialNav.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts +54 -58
- package/lib/components/sections/SocialWall.d.ts.map +1 -1
- package/lib/components/sections/Table.d.ts +39 -48
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts +83 -59
- package/lib/components/sections/Teaser.d.ts.map +1 -1
- package/lib/components/sections/TeaserWide.d.ts +79 -59
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/components/sections/Timeline.d.ts +38 -47
- package/lib/components/sections/Timeline.d.ts.map +1 -1
- package/lib/components/sections/Video.d.ts +38 -47
- package/lib/components/sections/Video.d.ts.map +1 -1
- package/lib/components/sections/carousel/FeatureCarousel.d.ts +38 -47
- package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/ImageCarousel.d.ts +38 -47
- package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts +40 -49
- package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts +38 -47
- package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
- package/lib/components/sections/header/Header.d.ts +38 -47
- package/lib/components/sections/header/Header.d.ts.map +1 -1
- package/lib/components/sections/navigation/Navigation.d.ts +2 -2
- package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/lib/components/sections/navigation/remastered/NavBar.d.ts +14 -0
- package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +1 -0
- package/lib/components/sections/navigation/remastered/Navigation.d.ts +15 -0
- package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +1 -0
- package/lib/components/sections/news/NewsAuthorCard.d.ts +38 -47
- package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/lib/components/sections/news/NewsFooter.d.ts +38 -47
- package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/lib/components/sections/news/NewsImages.d.ts +38 -47
- package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
- package/lib/components/sections/news/NewsIntro.d.ts +38 -47
- package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/lib/components/sections/news/NewsList.d.ts +38 -47
- package/lib/components/sections/news/NewsList.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +38 -47
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/news/NewsTable.d.ts +38 -47
- package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
- package/lib/components/sections/news/NewsText.d.ts +38 -47
- package/lib/components/sections/news/NewsText.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +38 -47
- package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/lib/components/typography/Callout.d.ts +1 -1
- package/lib/components/typography/Callout.d.ts.map +1 -1
- package/lib/components/typography/Copy.d.ts +3 -2
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/components/typography/Heading.d.ts +2 -2
- package/lib/components/typography/Heading.d.ts.map +1 -1
- package/lib/components/typography/Link.d.ts +6 -4
- package/lib/components/typography/Link.d.ts.map +1 -1
- package/lib/index.d.ts +6 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +2 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/LibThemeProvider.d.ts +8 -2
- package/lib/utils/LibThemeProvider.d.ts.map +1 -1
- package/lib/utils/styles.d.ts +44 -6
- package/lib/utils/styles.d.ts.map +1 -1
- package/lib/utils/usePageScroll.d.ts +23 -0
- package/lib/utils/usePageScroll.d.ts.map +1 -0
- package/package.json +5 -5
- package/lib/components/sections/CallToActionDouble.d.ts +0 -396
- package/lib/components/sections/CallToActionDouble.d.ts.map +0 -1
|
@@ -3,7 +3,7 @@ import { DefaultTheme } from 'styled-components';
|
|
|
3
3
|
declare type RecursivePartial<T> = {
|
|
4
4
|
[P in keyof T]?: RecursivePartial<T[P]>;
|
|
5
5
|
};
|
|
6
|
-
export declare type
|
|
6
|
+
export declare type ThemeMods = RecursivePartial<DefaultTheme>;
|
|
7
7
|
/**
|
|
8
8
|
* Combining Theme objects
|
|
9
9
|
* @param target Result theme object
|
|
@@ -11,10 +11,16 @@ export declare type Theme = RecursivePartial<DefaultTheme>;
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const assignTo: <T extends DefaultTheme | RecursivePartial<DefaultTheme>>(target: T, source?: RecursivePartial<DefaultTheme> | undefined) => T;
|
|
13
13
|
export declare const LibThemeProvider: FC<{
|
|
14
|
-
theme?:
|
|
14
|
+
theme?: ThemeMods;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const modifyTheme: (activeTheme?: DefaultTheme | undefined, modifications?: RecursivePartial<DefaultTheme> | undefined) => DefaultTheme;
|
|
17
|
+
export declare const useLibTheme: () => {
|
|
18
|
+
colors: import("./styles").Colors;
|
|
19
|
+
fonts: import("./styles").Fonts;
|
|
20
|
+
globals: import("./styles").GlobalSettings;
|
|
21
|
+
};
|
|
17
22
|
export declare const withLibTheme: <P extends Record<string, unknown>>(Component: React.ComponentType<P>) => React.FC<P & {
|
|
23
|
+
/** Component specific theme properties that overrides global theme settings */
|
|
18
24
|
theme?: RecursivePartial<DefaultTheme> | undefined;
|
|
19
25
|
}>;
|
|
20
26
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAU9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAQvB,CAAC;AAEF,eAAO,MAAM,YAAY;IAKb,+EAA+E;;EAatF,CAAC"}
|
package/lib/utils/styles.d.ts
CHANGED
|
@@ -12,13 +12,47 @@ export declare const spacings: {
|
|
|
12
12
|
};
|
|
13
13
|
/***** Range Helper *****/
|
|
14
14
|
export declare const getSizeByRange: (range: [number, number]) => string;
|
|
15
|
-
export declare const withRange: (range: [number, number], property: string) =>
|
|
15
|
+
export declare const withRange: (range: [number, number?], property: string) => "" | import("styled-components").FlattenSimpleInterpolation;
|
|
16
16
|
/**
|
|
17
17
|
* Generate css attributes to style text color with plain color or gradient
|
|
18
18
|
* @param fallbackColor
|
|
19
19
|
* @param gradient
|
|
20
20
|
*/
|
|
21
21
|
export declare const styleTextColor: (fallbackColor?: string | undefined, gradient?: string | undefined) => import("styled-components").FlattenSimpleInterpolation;
|
|
22
|
+
/***** New Color Types *****/
|
|
23
|
+
interface NewColorOptions {
|
|
24
|
+
default: string;
|
|
25
|
+
inverted: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type NewColorOptionsType = keyof NewColorOptions;
|
|
28
|
+
export interface NewColors {
|
|
29
|
+
text: {
|
|
30
|
+
default: string;
|
|
31
|
+
inverted: string;
|
|
32
|
+
error: string;
|
|
33
|
+
heading: string;
|
|
34
|
+
headingInverted: string;
|
|
35
|
+
copy: string;
|
|
36
|
+
copyInverted: string;
|
|
37
|
+
};
|
|
38
|
+
sectionBg: {
|
|
39
|
+
light: string;
|
|
40
|
+
medium: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
};
|
|
43
|
+
elementBg: {
|
|
44
|
+
light: string;
|
|
45
|
+
lightHover: string;
|
|
46
|
+
medium: string;
|
|
47
|
+
mediumHover: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
darkHover: string;
|
|
50
|
+
};
|
|
51
|
+
primary: NewColorOptions;
|
|
52
|
+
secondary: NewColorOptions;
|
|
53
|
+
error: string;
|
|
54
|
+
}
|
|
55
|
+
export declare type NewColorType = keyof NewColors;
|
|
22
56
|
/***** Color Types *****/
|
|
23
57
|
interface ColorOptions {
|
|
24
58
|
light: string;
|
|
@@ -32,8 +66,8 @@ export interface Colors {
|
|
|
32
66
|
mono: ColorOptions;
|
|
33
67
|
primary: ColorOptions;
|
|
34
68
|
secondary: ColorOptions;
|
|
35
|
-
tertiary: ColorOptions;
|
|
36
69
|
error: string;
|
|
70
|
+
new: NewColors;
|
|
37
71
|
}
|
|
38
72
|
export declare type ColorType = keyof Colors;
|
|
39
73
|
/***** Font Types *****/
|
|
@@ -43,7 +77,7 @@ export interface FontProps {
|
|
|
43
77
|
style?: string;
|
|
44
78
|
lineHeight?: string;
|
|
45
79
|
letterSpacing?: string;
|
|
46
|
-
size: [number, number];
|
|
80
|
+
size: [number, number?];
|
|
47
81
|
textTransform?: string;
|
|
48
82
|
color?: string;
|
|
49
83
|
colorInverted?: string;
|
|
@@ -66,7 +100,6 @@ export interface Fonts {
|
|
|
66
100
|
'heading-2': FontProps;
|
|
67
101
|
'heading-3': FontProps;
|
|
68
102
|
'heading-4': FontProps;
|
|
69
|
-
label: FontOptions;
|
|
70
103
|
callout: FontOptions;
|
|
71
104
|
}
|
|
72
105
|
export declare type FontType = keyof Fonts;
|
|
@@ -93,6 +126,11 @@ export interface GlobalSettings {
|
|
|
93
126
|
edgeRadius: string | null;
|
|
94
127
|
/** Customnize gradient for all text on image background gradients */
|
|
95
128
|
imageTextGradient: string;
|
|
129
|
+
/** Show placeholder background unitl image has been loaded */
|
|
130
|
+
imagePlaceholderBg: {
|
|
131
|
+
default: string;
|
|
132
|
+
inverted: string;
|
|
133
|
+
};
|
|
96
134
|
/** Date and Time Formats for all news sections */
|
|
97
135
|
newsDateFormat: string;
|
|
98
136
|
newsTimeFormat: string;
|
|
@@ -103,10 +141,10 @@ export interface GlobalSettings {
|
|
|
103
141
|
};
|
|
104
142
|
}
|
|
105
143
|
/***** Theme Helper *****/
|
|
106
|
-
export declare const
|
|
144
|
+
export declare const baseTheme: DefaultTheme;
|
|
107
145
|
export declare const getTheme: (theme?: DefaultTheme | undefined) => GlobalSettings | DefaultTheme;
|
|
108
146
|
export declare const getColors: (theme?: DefaultTheme | undefined) => Colors;
|
|
109
147
|
export declare const getFonts: (theme?: DefaultTheme | undefined) => Fonts;
|
|
110
|
-
export declare const
|
|
148
|
+
export declare const getGlobals: (theme?: DefaultTheme | undefined) => GlobalSettings;
|
|
111
149
|
export {};
|
|
112
150
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,oBAAY,cAAc,GACpB,OAAO,GACP,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,CAAC;AAEjB,eAAO,MAAM,EAAE,EAAE;KAAG,GAAG,IAAI,OAAO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BAAiB,EAAE,MAAM,CAAC;QAC1B,8DAA8D;QAC9D,kBAAkB,EAAE;YAChB,OAAO,EAAE,MAAM,CAAC;YAChB,QAAQ,EAAE,MAAM,CAAC;SACpB,CAAC;QACF,kDAAkD;QAClD,cAAc,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;QAC3B,4CAA4C;QAC5C,mBAAmB,EAAE,IAAI,GAAG,IAAI,CAAC;QACjC,oBAAoB,EAAE,MAAM,CAAC;KAChC,CAAC;CACL;AAqCD,0BAA0B;AAC1B,eAAO,MAAM,SAAS,EAAE,YAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ,qEAEpB,CAAC;AAEF,eAAO,MAAM,SAAS,8CAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,6CAIpB,CAAC;AAEF,eAAO,MAAM,UAAU,sDAEtB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum PageScrollDirection {
|
|
2
|
+
UP = 0,
|
|
3
|
+
DOWN = 1
|
|
4
|
+
}
|
|
5
|
+
interface ScrollSettings {
|
|
6
|
+
/** Direction state change delay in pixels */
|
|
7
|
+
directionOffset?: {
|
|
8
|
+
up?: number;
|
|
9
|
+
down?: number;
|
|
10
|
+
};
|
|
11
|
+
/** Set top offset area */
|
|
12
|
+
offset?: number;
|
|
13
|
+
/** On leave top offset callback */
|
|
14
|
+
onLeftOffset?: (dir: PageScrollDirection) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const usePageScroll: (settings?: ScrollSettings | undefined) => {
|
|
17
|
+
isTop: boolean;
|
|
18
|
+
scrollDirection: PageScrollDirection;
|
|
19
|
+
isInOffset: boolean;
|
|
20
|
+
leftOffsetFromTop: boolean;
|
|
21
|
+
};
|
|
22
|
+
export default usePageScroll;
|
|
23
|
+
//# sourceMappingURL=usePageScroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePageScroll.d.ts","sourceRoot":"","sources":["../../src/utils/usePageScroll.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB;IAC3B,EAAE,IAAA;IACF,IAAI,IAAA;CACP;AAED,UAAU,cAAc;IACpB,6CAA6C;IAC7C,eAAe,CAAC,EAAE;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACrD;AAED,QAAA,MAAM,aAAa;;;;;CAgGlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blateral/b.kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.es.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@rollup/plugin-babel": "^5.3.0",
|
|
38
38
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
39
39
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
40
|
-
"@storybook/addon-a11y": "^6.4.
|
|
41
|
-
"@storybook/addon-essentials": "^6.4.
|
|
42
|
-
"@storybook/react": "6.4.
|
|
40
|
+
"@storybook/addon-a11y": "^6.4.19",
|
|
41
|
+
"@storybook/addon-essentials": "^6.4.19",
|
|
42
|
+
"@storybook/react": "6.4.19",
|
|
43
43
|
"@storybook/storybook-deployer": "^2.8.7",
|
|
44
|
-
"@storybook/theming": "^6.4.
|
|
44
|
+
"@storybook/theming": "^6.4.19",
|
|
45
45
|
"@types/react": "^17.0.0",
|
|
46
46
|
"@types/react-datepicker": "4.3.4",
|
|
47
47
|
"@types/react-dom": "^17.0.0",
|
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
import { HeadlineTag } from "../typography/Heading";
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export interface ContactBoxProps {
|
|
4
|
-
isInverted?: boolean;
|
|
5
|
-
name?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
addresses?: {
|
|
8
|
-
decorator?: React.ReactNode;
|
|
9
|
-
label: string;
|
|
10
|
-
}[];
|
|
11
|
-
avatar?: {
|
|
12
|
-
src: string;
|
|
13
|
-
alt: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const CallToActionDoubleComponent: React.FC<{
|
|
17
|
-
bgMode?: "full" | "inverted" | undefined;
|
|
18
|
-
title?: string | undefined;
|
|
19
|
-
titleAs?: HeadlineTag | undefined;
|
|
20
|
-
superTitle?: string | undefined;
|
|
21
|
-
superTitleAs?: HeadlineTag | undefined;
|
|
22
|
-
text?: string | undefined;
|
|
23
|
-
contact?: ContactBoxProps | undefined;
|
|
24
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
25
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
26
|
-
column?: {
|
|
27
|
-
title?: string | undefined;
|
|
28
|
-
titleAs?: HeadlineTag | undefined;
|
|
29
|
-
superTitle?: string | undefined;
|
|
30
|
-
superTitleAs?: HeadlineTag | undefined;
|
|
31
|
-
text?: string | undefined;
|
|
32
|
-
contact?: ContactBoxProps | undefined;
|
|
33
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
34
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
}>;
|
|
37
|
-
declare const _default: React.FC<{
|
|
38
|
-
bgMode?: "full" | "inverted" | undefined;
|
|
39
|
-
title?: string | undefined;
|
|
40
|
-
titleAs?: HeadlineTag | undefined;
|
|
41
|
-
superTitle?: string | undefined;
|
|
42
|
-
superTitleAs?: HeadlineTag | undefined;
|
|
43
|
-
text?: string | undefined;
|
|
44
|
-
contact?: ContactBoxProps | undefined;
|
|
45
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
46
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
47
|
-
column?: {
|
|
48
|
-
title?: string | undefined;
|
|
49
|
-
titleAs?: HeadlineTag | undefined;
|
|
50
|
-
superTitle?: string | undefined;
|
|
51
|
-
superTitleAs?: HeadlineTag | undefined;
|
|
52
|
-
text?: string | undefined;
|
|
53
|
-
contact?: ContactBoxProps | undefined;
|
|
54
|
-
primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
55
|
-
secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
} & {
|
|
58
|
-
theme?: {
|
|
59
|
-
colors?: {
|
|
60
|
-
dark?: string | undefined;
|
|
61
|
-
light?: string | undefined;
|
|
62
|
-
mono?: {
|
|
63
|
-
light?: string | undefined;
|
|
64
|
-
medium?: string | undefined;
|
|
65
|
-
dark?: string | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
primary?: {
|
|
68
|
-
light?: string | undefined;
|
|
69
|
-
medium?: string | undefined;
|
|
70
|
-
dark?: string | undefined;
|
|
71
|
-
} | undefined;
|
|
72
|
-
secondary?: {
|
|
73
|
-
light?: string | undefined;
|
|
74
|
-
medium?: string | undefined;
|
|
75
|
-
dark?: string | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
tertiary?: {
|
|
78
|
-
light?: string | undefined;
|
|
79
|
-
medium?: string | undefined;
|
|
80
|
-
dark?: string | undefined;
|
|
81
|
-
} | undefined;
|
|
82
|
-
error?: string | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
fonts?: {
|
|
85
|
-
base?: {
|
|
86
|
-
family?: string | undefined;
|
|
87
|
-
weight?: string | undefined;
|
|
88
|
-
style?: string | undefined;
|
|
89
|
-
lineHeight?: string | undefined;
|
|
90
|
-
letterSpacing?: string | undefined;
|
|
91
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
92
|
-
textTransform?: string | undefined;
|
|
93
|
-
color?: string | undefined;
|
|
94
|
-
colorInverted?: string | undefined;
|
|
95
|
-
colorGradient?: string | undefined;
|
|
96
|
-
colorGradientInverted?: string | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
types?: {
|
|
99
|
-
copy?: {
|
|
100
|
-
small?: {
|
|
101
|
-
family?: string | undefined;
|
|
102
|
-
weight?: string | undefined;
|
|
103
|
-
style?: string | undefined;
|
|
104
|
-
lineHeight?: string | undefined;
|
|
105
|
-
letterSpacing?: string | undefined;
|
|
106
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
107
|
-
textTransform?: string | undefined;
|
|
108
|
-
color?: string | undefined;
|
|
109
|
-
colorInverted?: string | undefined;
|
|
110
|
-
colorGradient?: string | undefined;
|
|
111
|
-
colorGradientInverted?: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
medium?: {
|
|
114
|
-
family?: string | undefined;
|
|
115
|
-
weight?: string | undefined;
|
|
116
|
-
style?: string | undefined;
|
|
117
|
-
lineHeight?: string | undefined;
|
|
118
|
-
letterSpacing?: string | undefined;
|
|
119
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
120
|
-
textTransform?: string | undefined;
|
|
121
|
-
color?: string | undefined;
|
|
122
|
-
colorInverted?: string | undefined;
|
|
123
|
-
colorGradient?: string | undefined;
|
|
124
|
-
colorGradientInverted?: string | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
big?: {
|
|
127
|
-
family?: string | undefined;
|
|
128
|
-
weight?: string | undefined;
|
|
129
|
-
style?: string | undefined;
|
|
130
|
-
lineHeight?: string | undefined;
|
|
131
|
-
letterSpacing?: string | undefined;
|
|
132
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
133
|
-
textTransform?: string | undefined;
|
|
134
|
-
color?: string | undefined;
|
|
135
|
-
colorInverted?: string | undefined;
|
|
136
|
-
colorGradient?: string | undefined;
|
|
137
|
-
colorGradientInverted?: string | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
'copy-i'?: {
|
|
141
|
-
small?: {
|
|
142
|
-
family?: string | undefined;
|
|
143
|
-
weight?: string | undefined;
|
|
144
|
-
style?: string | undefined;
|
|
145
|
-
lineHeight?: string | undefined;
|
|
146
|
-
letterSpacing?: string | undefined;
|
|
147
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
148
|
-
textTransform?: string | undefined;
|
|
149
|
-
color?: string | undefined;
|
|
150
|
-
colorInverted?: string | undefined;
|
|
151
|
-
colorGradient?: string | undefined;
|
|
152
|
-
colorGradientInverted?: string | undefined;
|
|
153
|
-
} | undefined;
|
|
154
|
-
medium?: {
|
|
155
|
-
family?: string | undefined;
|
|
156
|
-
weight?: string | undefined;
|
|
157
|
-
style?: string | undefined;
|
|
158
|
-
lineHeight?: string | undefined;
|
|
159
|
-
letterSpacing?: string | undefined;
|
|
160
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
161
|
-
textTransform?: string | undefined;
|
|
162
|
-
color?: string | undefined;
|
|
163
|
-
colorInverted?: string | undefined;
|
|
164
|
-
colorGradient?: string | undefined;
|
|
165
|
-
colorGradientInverted?: string | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
big?: {
|
|
168
|
-
family?: string | undefined;
|
|
169
|
-
weight?: string | undefined;
|
|
170
|
-
style?: string | undefined;
|
|
171
|
-
lineHeight?: string | undefined;
|
|
172
|
-
letterSpacing?: string | undefined;
|
|
173
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
174
|
-
textTransform?: string | undefined;
|
|
175
|
-
color?: string | undefined;
|
|
176
|
-
colorInverted?: string | undefined;
|
|
177
|
-
colorGradient?: string | undefined;
|
|
178
|
-
colorGradientInverted?: string | undefined;
|
|
179
|
-
} | undefined;
|
|
180
|
-
} | undefined;
|
|
181
|
-
'copy-b'?: {
|
|
182
|
-
small?: {
|
|
183
|
-
family?: string | undefined;
|
|
184
|
-
weight?: string | undefined;
|
|
185
|
-
style?: string | undefined;
|
|
186
|
-
lineHeight?: string | undefined;
|
|
187
|
-
letterSpacing?: string | undefined;
|
|
188
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
189
|
-
textTransform?: string | undefined;
|
|
190
|
-
color?: string | undefined;
|
|
191
|
-
colorInverted?: string | undefined;
|
|
192
|
-
colorGradient?: string | undefined;
|
|
193
|
-
colorGradientInverted?: string | undefined;
|
|
194
|
-
} | undefined;
|
|
195
|
-
medium?: {
|
|
196
|
-
family?: string | undefined;
|
|
197
|
-
weight?: string | undefined;
|
|
198
|
-
style?: string | undefined;
|
|
199
|
-
lineHeight?: string | undefined;
|
|
200
|
-
letterSpacing?: string | undefined;
|
|
201
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
202
|
-
textTransform?: string | undefined;
|
|
203
|
-
color?: string | undefined;
|
|
204
|
-
colorInverted?: string | undefined;
|
|
205
|
-
colorGradient?: string | undefined;
|
|
206
|
-
colorGradientInverted?: string | undefined;
|
|
207
|
-
} | undefined;
|
|
208
|
-
big?: {
|
|
209
|
-
family?: string | undefined;
|
|
210
|
-
weight?: string | undefined;
|
|
211
|
-
style?: string | undefined;
|
|
212
|
-
lineHeight?: string | undefined;
|
|
213
|
-
letterSpacing?: string | undefined;
|
|
214
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
215
|
-
textTransform?: string | undefined;
|
|
216
|
-
color?: string | undefined;
|
|
217
|
-
colorInverted?: string | undefined;
|
|
218
|
-
colorGradient?: string | undefined;
|
|
219
|
-
colorGradientInverted?: string | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
} | undefined;
|
|
222
|
-
super?: {
|
|
223
|
-
family?: string | undefined;
|
|
224
|
-
weight?: string | undefined;
|
|
225
|
-
style?: string | undefined;
|
|
226
|
-
lineHeight?: string | undefined;
|
|
227
|
-
letterSpacing?: string | undefined;
|
|
228
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
229
|
-
textTransform?: string | undefined;
|
|
230
|
-
color?: string | undefined;
|
|
231
|
-
colorInverted?: string | undefined;
|
|
232
|
-
colorGradient?: string | undefined;
|
|
233
|
-
colorGradientInverted?: string | undefined;
|
|
234
|
-
} | undefined;
|
|
235
|
-
'heading-1'?: {
|
|
236
|
-
family?: string | undefined;
|
|
237
|
-
weight?: string | undefined;
|
|
238
|
-
style?: string | undefined;
|
|
239
|
-
lineHeight?: string | undefined;
|
|
240
|
-
letterSpacing?: string | undefined;
|
|
241
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
242
|
-
textTransform?: string | undefined;
|
|
243
|
-
color?: string | undefined;
|
|
244
|
-
colorInverted?: string | undefined;
|
|
245
|
-
colorGradient?: string | undefined;
|
|
246
|
-
colorGradientInverted?: string | undefined;
|
|
247
|
-
} | undefined;
|
|
248
|
-
'heading-2'?: {
|
|
249
|
-
family?: string | undefined;
|
|
250
|
-
weight?: string | undefined;
|
|
251
|
-
style?: string | undefined;
|
|
252
|
-
lineHeight?: string | undefined;
|
|
253
|
-
letterSpacing?: string | undefined;
|
|
254
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
255
|
-
textTransform?: string | undefined;
|
|
256
|
-
color?: string | undefined;
|
|
257
|
-
colorInverted?: string | undefined;
|
|
258
|
-
colorGradient?: string | undefined;
|
|
259
|
-
colorGradientInverted?: string | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
'heading-3'?: {
|
|
262
|
-
family?: string | undefined;
|
|
263
|
-
weight?: string | undefined;
|
|
264
|
-
style?: string | undefined;
|
|
265
|
-
lineHeight?: string | undefined;
|
|
266
|
-
letterSpacing?: string | undefined;
|
|
267
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
268
|
-
textTransform?: string | undefined;
|
|
269
|
-
color?: string | undefined;
|
|
270
|
-
colorInverted?: string | undefined;
|
|
271
|
-
colorGradient?: string | undefined;
|
|
272
|
-
colorGradientInverted?: string | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
'heading-4'?: {
|
|
275
|
-
family?: string | undefined;
|
|
276
|
-
weight?: string | undefined;
|
|
277
|
-
style?: string | undefined;
|
|
278
|
-
lineHeight?: string | undefined;
|
|
279
|
-
letterSpacing?: string | undefined;
|
|
280
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
281
|
-
textTransform?: string | undefined;
|
|
282
|
-
color?: string | undefined;
|
|
283
|
-
colorInverted?: string | undefined;
|
|
284
|
-
colorGradient?: string | undefined;
|
|
285
|
-
colorGradientInverted?: string | undefined;
|
|
286
|
-
} | undefined;
|
|
287
|
-
label?: {
|
|
288
|
-
small?: {
|
|
289
|
-
family?: string | undefined;
|
|
290
|
-
weight?: string | undefined;
|
|
291
|
-
style?: string | undefined;
|
|
292
|
-
lineHeight?: string | undefined;
|
|
293
|
-
letterSpacing?: string | undefined;
|
|
294
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
295
|
-
textTransform?: string | undefined;
|
|
296
|
-
color?: string | undefined;
|
|
297
|
-
colorInverted?: string | undefined;
|
|
298
|
-
colorGradient?: string | undefined;
|
|
299
|
-
colorGradientInverted?: string | undefined;
|
|
300
|
-
} | undefined;
|
|
301
|
-
medium?: {
|
|
302
|
-
family?: string | undefined;
|
|
303
|
-
weight?: string | undefined;
|
|
304
|
-
style?: string | undefined;
|
|
305
|
-
lineHeight?: string | undefined;
|
|
306
|
-
letterSpacing?: string | undefined;
|
|
307
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
308
|
-
textTransform?: string | undefined;
|
|
309
|
-
color?: string | undefined;
|
|
310
|
-
colorInverted?: string | undefined;
|
|
311
|
-
colorGradient?: string | undefined;
|
|
312
|
-
colorGradientInverted?: string | undefined;
|
|
313
|
-
} | undefined;
|
|
314
|
-
big?: {
|
|
315
|
-
family?: string | undefined;
|
|
316
|
-
weight?: string | undefined;
|
|
317
|
-
style?: string | undefined;
|
|
318
|
-
lineHeight?: string | undefined;
|
|
319
|
-
letterSpacing?: string | undefined;
|
|
320
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
321
|
-
textTransform?: string | undefined;
|
|
322
|
-
color?: string | undefined;
|
|
323
|
-
colorInverted?: string | undefined;
|
|
324
|
-
colorGradient?: string | undefined;
|
|
325
|
-
colorGradientInverted?: string | undefined;
|
|
326
|
-
} | undefined;
|
|
327
|
-
} | undefined;
|
|
328
|
-
callout?: {
|
|
329
|
-
small?: {
|
|
330
|
-
family?: string | undefined;
|
|
331
|
-
weight?: string | undefined;
|
|
332
|
-
style?: string | undefined;
|
|
333
|
-
lineHeight?: string | undefined;
|
|
334
|
-
letterSpacing?: string | undefined;
|
|
335
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
336
|
-
textTransform?: string | undefined;
|
|
337
|
-
color?: string | undefined;
|
|
338
|
-
colorInverted?: string | undefined;
|
|
339
|
-
colorGradient?: string | undefined;
|
|
340
|
-
colorGradientInverted?: string | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
medium?: {
|
|
343
|
-
family?: string | undefined;
|
|
344
|
-
weight?: string | undefined;
|
|
345
|
-
style?: string | undefined;
|
|
346
|
-
lineHeight?: string | undefined;
|
|
347
|
-
letterSpacing?: string | undefined;
|
|
348
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
349
|
-
textTransform?: string | undefined;
|
|
350
|
-
color?: string | undefined;
|
|
351
|
-
colorInverted?: string | undefined;
|
|
352
|
-
colorGradient?: string | undefined;
|
|
353
|
-
colorGradientInverted?: string | undefined;
|
|
354
|
-
} | undefined;
|
|
355
|
-
big?: {
|
|
356
|
-
family?: string | undefined;
|
|
357
|
-
weight?: string | undefined;
|
|
358
|
-
style?: string | undefined;
|
|
359
|
-
lineHeight?: string | undefined;
|
|
360
|
-
letterSpacing?: string | undefined;
|
|
361
|
-
size?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
362
|
-
textTransform?: string | undefined;
|
|
363
|
-
color?: string | undefined;
|
|
364
|
-
colorInverted?: string | undefined;
|
|
365
|
-
colorGradient?: string | undefined;
|
|
366
|
-
colorGradientInverted?: string | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
} | undefined;
|
|
371
|
-
globalSettings?: {
|
|
372
|
-
sections?: {
|
|
373
|
-
seperation?: {
|
|
374
|
-
forcePadding?: boolean | undefined;
|
|
375
|
-
padding?: {
|
|
376
|
-
default?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
377
|
-
stackable?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
378
|
-
} | undefined;
|
|
379
|
-
margin?: {
|
|
380
|
-
default?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
381
|
-
stackable?: [(number | undefined)?, (number | undefined)?] | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
edgeRadius?: (string | null) | undefined;
|
|
385
|
-
imageTextGradient?: string | undefined;
|
|
386
|
-
newsDateFormat?: string | undefined;
|
|
387
|
-
newsTimeFormat?: string | undefined;
|
|
388
|
-
newsLocaleKey?: ("de" | "en") | undefined;
|
|
389
|
-
datepickerLocaleKey?: ("de" | "en") | undefined;
|
|
390
|
-
datepickerDateFormat?: string | undefined;
|
|
391
|
-
} | undefined;
|
|
392
|
-
} | undefined;
|
|
393
|
-
} | undefined;
|
|
394
|
-
}>;
|
|
395
|
-
export default _default;
|
|
396
|
-
//# sourceMappingURL=CallToActionDouble.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CallToActionDouble.d.ts","sourceRoot":"","sources":["../../../src/components/sections/CallToActionDouble.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,8BAAsC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8I/B,MAAM,WAAW,eAAe;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7D,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACzC;AAgND,eAAO,MAAM,2BAA2B;;;;;;;;2DAxHM,MAAM,SAAS;6DACb,MAAM,SAAS;;;;;;;;+DASb,MAAM,SAAS;iEACb,MAAM,SAAS;;EA6GN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAC9D,wBAAgD"}
|