@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.
Files changed (148) hide show
  1. package/lib/components/base/Grid.d.ts +21 -1
  2. package/lib/components/base/Grid.d.ts.map +1 -1
  3. package/lib/components/base/Section.d.ts.map +1 -1
  4. package/lib/components/base/Wrapper.d.ts +1 -0
  5. package/lib/components/base/Wrapper.d.ts.map +1 -1
  6. package/lib/components/base/icons/socials/Instagram.d.ts.map +1 -1
  7. package/lib/components/blocks/Actions.d.ts +6 -1
  8. package/lib/components/blocks/Actions.d.ts.map +1 -1
  9. package/lib/components/blocks/CookieConsent.d.ts +3 -3
  10. package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
  11. package/lib/components/blocks/Fact.d.ts +4 -4
  12. package/lib/components/blocks/Fact.d.ts.map +1 -1
  13. package/lib/components/blocks/Feature.d.ts +15 -7
  14. package/lib/components/blocks/Feature.d.ts.map +1 -1
  15. package/lib/components/blocks/Image.d.ts +37 -0
  16. package/lib/components/blocks/Image.d.ts.map +1 -1
  17. package/lib/components/blocks/IntroBlock.d.ts +13 -1
  18. package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
  19. package/lib/components/blocks/NewsCard.d.ts.map +1 -1
  20. package/lib/components/blocks/PriceTag.d.ts +4 -3
  21. package/lib/components/blocks/PriceTag.d.ts.map +1 -1
  22. package/lib/components/blocks/PromotionCard.d.ts +17 -3
  23. package/lib/components/blocks/PromotionCard.d.ts.map +1 -1
  24. package/lib/components/blocks/Title.d.ts.map +1 -1
  25. package/lib/components/blocks/VideoBlock.d.ts +23 -0
  26. package/lib/components/blocks/VideoBlock.d.ts.map +1 -0
  27. package/lib/components/blocks/VideoCard.d.ts.map +1 -1
  28. package/lib/components/buttons/Button.d.ts +1 -1
  29. package/lib/components/buttons/Button.d.ts.map +1 -1
  30. package/lib/components/buttons/ButtonGhost.d.ts.map +1 -1
  31. package/lib/components/buttons/Pointer.d.ts.map +1 -1
  32. package/lib/components/debug/DebugLines.d.ts +4 -0
  33. package/lib/components/debug/DebugLines.d.ts.map +1 -0
  34. package/lib/components/fields/CompactForm.d.ts +1 -2
  35. package/lib/components/fields/CompactForm.d.ts.map +1 -1
  36. package/lib/components/sections/Accordion.d.ts +58 -60
  37. package/lib/components/sections/Accordion.d.ts.map +1 -1
  38. package/lib/components/sections/Article.d.ts +60 -47
  39. package/lib/components/sections/Article.d.ts.map +1 -1
  40. package/lib/components/sections/CallToAction.d.ts +77 -55
  41. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  42. package/lib/components/sections/ComparisonSlider.d.ts +38 -47
  43. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  44. package/lib/components/sections/CrossPromotion.d.ts +52 -51
  45. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  46. package/lib/components/sections/DynamicForm.d.ts +38 -47
  47. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  48. package/lib/components/sections/FactGrid.d.ts +46 -47
  49. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  50. package/lib/components/sections/FactList.d.ts +53 -56
  51. package/lib/components/sections/FactList.d.ts.map +1 -1
  52. package/lib/components/sections/FeatureList.d.ts +45 -48
  53. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  54. package/lib/components/sections/Footer.d.ts +38 -47
  55. package/lib/components/sections/Footer.d.ts.map +1 -1
  56. package/lib/components/sections/Form.d.ts +38 -47
  57. package/lib/components/sections/Form.d.ts.map +1 -1
  58. package/lib/components/sections/Gallery.d.ts +38 -47
  59. package/lib/components/sections/Gallery.d.ts.map +1 -1
  60. package/lib/components/sections/IconList.d.ts +84 -55
  61. package/lib/components/sections/IconList.d.ts.map +1 -1
  62. package/lib/components/sections/Intro.d.ts +61 -50
  63. package/lib/components/sections/Intro.d.ts.map +1 -1
  64. package/lib/components/sections/Map.d.ts +38 -47
  65. package/lib/components/sections/Map.d.ts.map +1 -1
  66. package/lib/components/sections/NumberList.d.ts +38 -47
  67. package/lib/components/sections/NumberList.d.ts.map +1 -1
  68. package/lib/components/sections/Poster.d.ts +38 -47
  69. package/lib/components/sections/Poster.d.ts.map +1 -1
  70. package/lib/components/sections/PriceList.d.ts +50 -56
  71. package/lib/components/sections/PriceList.d.ts.map +1 -1
  72. package/lib/components/sections/PriceTable.d.ts +47 -48
  73. package/lib/components/sections/PriceTable.d.ts.map +1 -1
  74. package/lib/components/sections/Quicknav.d.ts +38 -47
  75. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  76. package/lib/components/sections/Quote.d.ts +48 -47
  77. package/lib/components/sections/Quote.d.ts.map +1 -1
  78. package/lib/components/sections/SocialNav.d.ts +38 -47
  79. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  80. package/lib/components/sections/SocialWall.d.ts +54 -58
  81. package/lib/components/sections/SocialWall.d.ts.map +1 -1
  82. package/lib/components/sections/Table.d.ts +39 -48
  83. package/lib/components/sections/Table.d.ts.map +1 -1
  84. package/lib/components/sections/Teaser.d.ts +83 -59
  85. package/lib/components/sections/Teaser.d.ts.map +1 -1
  86. package/lib/components/sections/TeaserWide.d.ts +79 -59
  87. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  88. package/lib/components/sections/Timeline.d.ts +38 -47
  89. package/lib/components/sections/Timeline.d.ts.map +1 -1
  90. package/lib/components/sections/Video.d.ts +38 -47
  91. package/lib/components/sections/Video.d.ts.map +1 -1
  92. package/lib/components/sections/carousel/FeatureCarousel.d.ts +38 -47
  93. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  94. package/lib/components/sections/carousel/ImageCarousel.d.ts +38 -47
  95. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  96. package/lib/components/sections/carousel/PromotionCarousel.d.ts +40 -49
  97. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  98. package/lib/components/sections/carousel/VideoCarousel.d.ts +38 -47
  99. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  100. package/lib/components/sections/header/Header.d.ts +38 -47
  101. package/lib/components/sections/header/Header.d.ts.map +1 -1
  102. package/lib/components/sections/navigation/Navigation.d.ts +2 -2
  103. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  104. package/lib/components/sections/navigation/remastered/NavBar.d.ts +14 -0
  105. package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +1 -0
  106. package/lib/components/sections/navigation/remastered/Navigation.d.ts +15 -0
  107. package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +1 -0
  108. package/lib/components/sections/news/NewsAuthorCard.d.ts +38 -47
  109. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  110. package/lib/components/sections/news/NewsFooter.d.ts +38 -47
  111. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  112. package/lib/components/sections/news/NewsImages.d.ts +38 -47
  113. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  114. package/lib/components/sections/news/NewsIntro.d.ts +38 -47
  115. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  116. package/lib/components/sections/news/NewsList.d.ts +38 -47
  117. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  118. package/lib/components/sections/news/NewsOverview.d.ts +38 -47
  119. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  120. package/lib/components/sections/news/NewsTable.d.ts +38 -47
  121. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  122. package/lib/components/sections/news/NewsText.d.ts +38 -47
  123. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  124. package/lib/components/sections/news/NewsVideo.d.ts +38 -47
  125. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  126. package/lib/components/typography/Callout.d.ts +1 -1
  127. package/lib/components/typography/Callout.d.ts.map +1 -1
  128. package/lib/components/typography/Copy.d.ts +3 -2
  129. package/lib/components/typography/Copy.d.ts.map +1 -1
  130. package/lib/components/typography/Heading.d.ts +2 -2
  131. package/lib/components/typography/Heading.d.ts.map +1 -1
  132. package/lib/components/typography/Link.d.ts +6 -4
  133. package/lib/components/typography/Link.d.ts.map +1 -1
  134. package/lib/index.d.ts +6 -7
  135. package/lib/index.d.ts.map +1 -1
  136. package/lib/index.es.js +2 -2
  137. package/lib/index.es.js.map +1 -1
  138. package/lib/index.js +1 -1
  139. package/lib/index.js.map +1 -1
  140. package/lib/utils/LibThemeProvider.d.ts +8 -2
  141. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  142. package/lib/utils/styles.d.ts +44 -6
  143. package/lib/utils/styles.d.ts.map +1 -1
  144. package/lib/utils/usePageScroll.d.ts +23 -0
  145. package/lib/utils/usePageScroll.d.ts.map +1 -0
  146. package/package.json +5 -5
  147. package/lib/components/sections/CallToActionDouble.d.ts +0 -396
  148. 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 Theme = RecursivePartial<DefaultTheme>;
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?: 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":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAI9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,KAAK,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCnD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,YAAY;;EAexB,CAAC"}
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"}
@@ -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) => 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 getBaseTheme: () => DefaultTheme;
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 getGlobalSettings: (theme?: DefaultTheme | undefined) => GlobalSettings;
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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AC,MAAM,EAAE,MAAM,CAAC,CAAC;aAC/B,CAAC;YACF,MAAM,EAAE;gBACJ,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;gBAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;aAC/B,CAAC;SACL,CAAC;QAEF,qCAAqC;QACrC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,qEAAqE;QACrE,iBAAiB,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": "1.21.1",
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.17",
41
- "@storybook/addon-essentials": "^6.4.13",
42
- "@storybook/react": "6.4.13",
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.13",
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"}