@treely/strapi-slices 2.2.0 → 2.2.1

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 (247) hide show
  1. package/dist/components/ContextProvider/ContextProvider.d.ts +8 -0
  2. package/dist/components/ContextProvider/index.d.ts +1 -0
  3. package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts +8 -0
  4. package/dist/components/CreditsAvailableBadge/index.d.ts +2 -0
  5. package/dist/components/CreditsAvailableBadge/messages.de.d.ts +7 -0
  6. package/dist/components/CreditsAvailableBadge/messages.en.d.ts +7 -0
  7. package/dist/components/FullScreenImage/FullScreenImage.d.ts +9 -0
  8. package/dist/components/FullScreenImage/ZoomableImage.d.ts +8 -0
  9. package/dist/components/FullScreenImage/index.d.ts +2 -0
  10. package/dist/components/MinimalProviders/MinimalProviders.d.ts +7 -0
  11. package/dist/components/MinimalProviders/index.d.ts +2 -0
  12. package/dist/components/SEOTags/SEOTags.d.ts +14 -0
  13. package/dist/components/SEOTags/index.d.ts +1 -0
  14. package/dist/components/SliceRenderer/SliceRenderer.d.ts +19 -0
  15. package/dist/components/SliceRenderer/index.d.ts +1 -0
  16. package/dist/components/StrapiLinkButton/StrapiLinkButton.d.ts +18 -0
  17. package/dist/components/StrapiLinkButton/index.d.ts +2 -0
  18. package/dist/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.d.ts +7 -0
  19. package/dist/components/StrapiLinkButtonWithIcon/index.d.ts +2 -0
  20. package/dist/components/portfolio/Contact/Contact.d.ts +10 -0
  21. package/dist/components/portfolio/Contact/index.d.ts +2 -0
  22. package/dist/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.d.ts +6 -0
  23. package/dist/components/portfolio/DocumentsDownloadList/index.d.ts +2 -0
  24. package/dist/components/portfolio/DocumentsDownloadList/messages.de.d.ts +5 -0
  25. package/dist/components/portfolio/DocumentsDownloadList/messages.en.d.ts +5 -0
  26. package/dist/components/portfolio/ProjectInfo/ProjectInfo.d.ts +18 -0
  27. package/dist/components/portfolio/ProjectInfo/index.d.ts +2 -0
  28. package/dist/components/portfolio/ProjectInfo/messages.de.d.ts +15 -0
  29. package/dist/components/portfolio/ProjectInfo/messages.en.d.ts +15 -0
  30. package/dist/components/portfolio/SmallCheckout/SmallCheckout.d.ts +14 -0
  31. package/dist/components/portfolio/SmallCheckout/index.d.ts +2 -0
  32. package/dist/components/portfolio/SmallCheckout/messages.de.d.ts +16 -0
  33. package/dist/components/portfolio/SmallCheckout/messages.en.d.ts +16 -0
  34. package/dist/constants/animations.d.ts +1 -0
  35. package/dist/constants/api.d.ts +3 -0
  36. package/dist/constants/breakpoints.d.ts +8 -0
  37. package/dist/constants/domain.d.ts +2 -0
  38. package/dist/constants/fontCustomizations.d.ts +6 -0
  39. package/dist/constants/formatter.d.ts +6 -0
  40. package/dist/constants/globalStyle.d.ts +1 -0
  41. package/dist/constants/mapbox.d.ts +17 -0
  42. package/dist/constants/metadata.d.ts +2 -0
  43. package/dist/constants/sectionsConfig.d.ts +5 -0
  44. package/dist/constants/strapi.d.ts +1 -0
  45. package/dist/icons/LinkedInIcon.d.ts +3 -0
  46. package/dist/index.d.ts +52 -0
  47. package/dist/index.js +8 -0
  48. package/dist/models/BBox.d.ts +2 -0
  49. package/dist/models/CreditsAvailableState.d.ts +7 -0
  50. package/dist/models/HeaderType.d.ts +5 -0
  51. package/dist/models/Image.d.ts +5 -0
  52. package/dist/models/Locale.d.ts +2 -0
  53. package/dist/models/PageMetadata.d.ts +9 -0
  54. package/dist/models/PageProps.d.ts +21 -0
  55. package/dist/models/PortfolioProject.d.ts +7 -0
  56. package/dist/models/forms/CheckoutForm.d.ts +4 -0
  57. package/dist/models/fpm/FPMProject.d.ts +37 -0
  58. package/dist/models/fpm/Issuer.d.ts +6 -0
  59. package/dist/models/strapi/IStrapi.d.ts +4 -0
  60. package/dist/models/strapi/IStrapiData.d.ts +5 -0
  61. package/dist/models/strapi/IStrapiResponse.d.ts +13 -0
  62. package/dist/models/strapi/StrapiAuthor.d.ts +10 -0
  63. package/dist/models/strapi/StrapiAvatarWithName.d.ts +8 -0
  64. package/dist/models/strapi/StrapiBanner.d.ts +9 -0
  65. package/dist/models/strapi/StrapiBlogPost.d.ts +25 -0
  66. package/dist/models/strapi/StrapiBlogPostProps.d.ts +6 -0
  67. package/dist/models/strapi/StrapiButtonWithVariant.d.ts +6 -0
  68. package/dist/models/strapi/StrapiCategory.d.ts +8 -0
  69. package/dist/models/strapi/StrapiContactArea.d.ts +10 -0
  70. package/dist/models/strapi/StrapiCustomerStory.d.ts +21 -0
  71. package/dist/models/strapi/StrapiCustomerStoryProps.d.ts +6 -0
  72. package/dist/models/strapi/StrapiDefaultHeader.d.ts +6 -0
  73. package/dist/models/strapi/StrapiGlobal.d.ts +26 -0
  74. package/dist/models/strapi/StrapiGlossaryItem.d.ts +6 -0
  75. package/dist/models/strapi/StrapiHeroCard.d.ts +13 -0
  76. package/dist/models/strapi/StrapiImage.d.ts +10 -0
  77. package/dist/models/strapi/StrapiImageFormat.d.ts +12 -0
  78. package/dist/models/strapi/StrapiImageWithLink.d.ts +6 -0
  79. package/dist/models/strapi/StrapiLink.d.ts +11 -0
  80. package/dist/models/strapi/StrapiLinkList.d.ts +7 -0
  81. package/dist/models/strapi/StrapiLinkPage.d.ts +10 -0
  82. package/dist/models/strapi/StrapiLinkWithIcon.d.ts +7 -0
  83. package/dist/models/strapi/StrapiLocalization.d.ts +7 -0
  84. package/dist/models/strapi/StrapiMedia.d.ts +27 -0
  85. package/dist/models/strapi/StrapiMetadata.d.ts +13 -0
  86. package/dist/models/strapi/StrapiNavMenu.d.ts +13 -0
  87. package/dist/models/strapi/StrapiPage.d.ts +17 -0
  88. package/dist/models/strapi/StrapiPageProps.d.ts +6 -0
  89. package/dist/models/strapi/StrapiPortfolio.d.ts +10 -0
  90. package/dist/models/strapi/StrapiPortfolioCard.d.ts +15 -0
  91. package/dist/models/strapi/StrapiProject.d.ts +23 -0
  92. package/dist/models/strapi/StrapiProjectCard.d.ts +18 -0
  93. package/dist/models/strapi/StrapiProjectProps.d.ts +6 -0
  94. package/dist/models/strapi/StrapiQuoteCard.d.ts +7 -0
  95. package/dist/models/strapi/StrapiShapesCard.d.ts +11 -0
  96. package/dist/models/strapi/StrapiTextCardWithIcons.d.ts +8 -0
  97. package/dist/models/strapi/StrapiTopBanner.d.ts +7 -0
  98. package/dist/rootMessages.de.d.ts +58 -0
  99. package/dist/rootMessages.en.d.ts +58 -0
  100. package/dist/slices/Blog/Blog.d.ts +10 -0
  101. package/dist/slices/Blog/index.d.ts +2 -0
  102. package/dist/slices/Blog/styles.d.ts +7 -0
  103. package/dist/slices/BlogCards/BlogCards.d.ts +18 -0
  104. package/dist/slices/BlogCards/index.d.ts +2 -0
  105. package/dist/slices/Comparison/Comparison.d.ts +33 -0
  106. package/dist/slices/Comparison/Icon.d.ts +7 -0
  107. package/dist/slices/Comparison/index.d.ts +2 -0
  108. package/dist/slices/Comparison/messages.de.d.ts +4 -0
  109. package/dist/slices/Comparison/messages.en.d.ts +4 -0
  110. package/dist/slices/Cta/Cta.d.ts +26 -0
  111. package/dist/slices/Cta/index.d.ts +2 -0
  112. package/dist/slices/Cta/messages.de.d.ts +5 -0
  113. package/dist/slices/Cta/messages.en.d.ts +5 -0
  114. package/dist/slices/CtaOnly/CtaOnly.d.ts +8 -0
  115. package/dist/slices/CtaOnly/index.d.ts +2 -0
  116. package/dist/slices/CustomerStories/CustomerStories.d.ts +10 -0
  117. package/dist/slices/CustomerStories/index.d.ts +2 -0
  118. package/dist/slices/CustomerStories/messages.de.d.ts +4 -0
  119. package/dist/slices/CustomerStories/messages.en.d.ts +4 -0
  120. package/dist/slices/Facts/Facts.d.ts +16 -0
  121. package/dist/slices/Facts/index.d.ts +2 -0
  122. package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.d.ts +10 -0
  123. package/dist/slices/FullWidthHighlightQuote/index.d.ts +2 -0
  124. package/dist/slices/FullWidthImage/FullWidthImage.d.ts +11 -0
  125. package/dist/slices/FullWidthImage/index.d.ts +2 -0
  126. package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.d.ts +12 -0
  127. package/dist/slices/FullWidthImageSlider/index.d.ts +2 -0
  128. package/dist/slices/FullWidthImageSlider/styles.d.ts +291 -0
  129. package/dist/slices/FullWidthImageSlider/utils.d.ts +1 -0
  130. package/dist/slices/FullWidthImageSlider/utils.test.d.ts +1 -0
  131. package/dist/slices/Glossary/Glossary.d.ts +9 -0
  132. package/dist/slices/Glossary/index.d.ts +2 -0
  133. package/dist/slices/Glossary/messages.de.d.ts +6 -0
  134. package/dist/slices/Glossary/messages.en.d.ts +6 -0
  135. package/dist/slices/Hero/Hero.d.ts +17 -0
  136. package/dist/slices/Hero/index.d.ts +2 -0
  137. package/dist/slices/IconGrid/IconGrid.d.ts +18 -0
  138. package/dist/slices/IconGrid/index.d.ts +2 -0
  139. package/dist/slices/ImageGrid/ImageGrid.d.ts +18 -0
  140. package/dist/slices/ImageGrid/index.d.ts +2 -0
  141. package/dist/slices/ImageTextSequence/ImageTextSequence.d.ts +19 -0
  142. package/dist/slices/ImageTextSequence/index.d.ts +2 -0
  143. package/dist/slices/LeftTextRightCard/LeftTextRightCard.d.ts +17 -0
  144. package/dist/slices/LeftTextRightCard/index.d.ts +2 -0
  145. package/dist/slices/LinkCardsGrid/LinkCardsGrid.d.ts +18 -0
  146. package/dist/slices/LinkCardsGrid/index.d.ts +2 -0
  147. package/dist/slices/LogoGridWithText/LogoGridWithText.d.ts +12 -0
  148. package/dist/slices/LogoGridWithText/index.d.ts +2 -0
  149. package/dist/slices/MapHero/MapHero.d.ts +15 -0
  150. package/dist/slices/MapHero/index.d.ts +2 -0
  151. package/dist/slices/MapHero/styles.d.ts +16 -0
  152. package/dist/slices/ProjectFacts/ProjectFacts.d.ts +34 -0
  153. package/dist/slices/ProjectFacts/index.d.ts +2 -0
  154. package/dist/slices/ProjectFacts/messages.de.d.ts +5 -0
  155. package/dist/slices/ProjectFacts/messages.en.d.ts +5 -0
  156. package/dist/slices/ProjectsGrid/ProjectsGrid.d.ts +8 -0
  157. package/dist/slices/ProjectsGrid/index.d.ts +2 -0
  158. package/dist/slices/ProjectsMap/MapMarker.d.ts +11 -0
  159. package/dist/slices/ProjectsMap/ProjectsMap.d.ts +16 -0
  160. package/dist/slices/ProjectsMap/index.d.ts +2 -0
  161. package/dist/slices/ProjectsMap/mapboxStyle.d.ts +2 -0
  162. package/dist/slices/ProjectsMap/messages.de.d.ts +4 -0
  163. package/dist/slices/ProjectsMap/messages.en.d.ts +4 -0
  164. package/dist/slices/QAndA/QAndA.d.ts +43 -0
  165. package/dist/slices/QAndA/index.d.ts +2 -0
  166. package/dist/slices/QuoteCards/QuoteCards.d.ts +15 -0
  167. package/dist/slices/QuoteCards/index.d.ts +2 -0
  168. package/dist/slices/RichTextSection/RichTextSection.d.ts +7 -0
  169. package/dist/slices/RichTextSection/index.d.ts +2 -0
  170. package/dist/slices/ShopCheckout/ShopCheckout.d.ts +16 -0
  171. package/dist/slices/ShopCheckout/index.d.ts +2 -0
  172. package/dist/slices/ShopCheckout/messages.de.d.ts +15 -0
  173. package/dist/slices/ShopCheckout/messages.en.d.ts +15 -0
  174. package/dist/slices/SideBySideImages/SideBySideImages.d.ts +12 -0
  175. package/dist/slices/SideBySideImages/index.d.ts +2 -0
  176. package/dist/slices/SmallHero/SmallHero.d.ts +20 -0
  177. package/dist/slices/SmallHero/index.d.ts +2 -0
  178. package/dist/slices/Steps/Steps.d.ts +19 -0
  179. package/dist/slices/Steps/index.d.ts +2 -0
  180. package/dist/slices/TextCardGrid/TextCardGrid.d.ts +20 -0
  181. package/dist/slices/TextCardGrid/index.d.ts +2 -0
  182. package/dist/slices/TextCarousel/TextCarousel.d.ts +13 -0
  183. package/dist/slices/TextCarousel/index.d.ts +2 -0
  184. package/dist/slices/TextCarousel/styles.d.ts +282 -0
  185. package/dist/slices/TextWithCard/TextWithCard.d.ts +20 -0
  186. package/dist/slices/TextWithCard/index.d.ts +2 -0
  187. package/dist/slices/TextWithTextCards/TextWithTextCards.d.ts +15 -0
  188. package/dist/slices/TextWithTextCards/index.d.ts +2 -0
  189. package/dist/slices/Video/Video.d.ts +10 -0
  190. package/dist/slices/Video/index.d.ts +2 -0
  191. package/dist/strapi-slices.cjs.development.js +4874 -0
  192. package/dist/strapi-slices.cjs.development.js.map +1 -0
  193. package/dist/strapi-slices.cjs.production.min.js +2 -0
  194. package/dist/strapi-slices.cjs.production.min.js.map +1 -0
  195. package/dist/strapi-slices.esm.js +4853 -0
  196. package/dist/strapi-slices.esm.js.map +1 -0
  197. package/dist/test/defaultMocks/next.d.ts +2 -0
  198. package/dist/test/integrationMocks/fpmProjectMock.d.ts +3 -0
  199. package/dist/test/mocks/getStaticPropsContext.d.ts +3 -0
  200. package/dist/test/mocks/portfolioProjectMock.d.ts +3 -0
  201. package/dist/test/setupTests.d.ts +1 -0
  202. package/dist/test/storybookMocks/storybookMedia.d.ts +1 -0
  203. package/dist/test/storybookMocks/storybookStrapiMedia.d.ts +8 -0
  204. package/dist/test/strapiMocks/minimalGlobalData.d.ts +4 -0
  205. package/dist/test/strapiMocks/strapiAvatarWithName.d.ts +12 -0
  206. package/dist/test/strapiMocks/strapiBlogPost.d.ts +3 -0
  207. package/dist/test/strapiMocks/strapiContact.d.ts +2 -0
  208. package/dist/test/strapiMocks/strapiCustomerStory.d.ts +3 -0
  209. package/dist/test/strapiMocks/strapiHeroCard.d.ts +2 -0
  210. package/dist/test/strapiMocks/strapiLinkPage.d.ts +3 -0
  211. package/dist/test/strapiMocks/strapiMedia.d.ts +3 -0
  212. package/dist/test/strapiMocks/strapiMetadata.d.ts +2 -0
  213. package/dist/test/strapiMocks/strapiPage.d.ts +3 -0
  214. package/dist/test/strapiMocks/strapiPortfolioCard.d.ts +2 -0
  215. package/dist/test/strapiMocks/strapiPortfolioMock.d.ts +3 -0
  216. package/dist/test/strapiMocks/strapiProject.d.ts +3 -0
  217. package/dist/test/strapiMocks/strapiProjectCard.d.ts +2 -0
  218. package/dist/test/strapiMocks/strapiQuoteCard.d.ts +2 -0
  219. package/dist/test/testUtils.d.ts +6 -0
  220. package/dist/unit.messages.de.d.ts +5 -0
  221. package/dist/unit.messages.en.d.ts +5 -0
  222. package/dist/utils/convertAreaM2ToHa.d.ts +2 -0
  223. package/dist/utils/convertAreaM2ToHa.test.d.ts +1 -0
  224. package/dist/utils/convertCo2AmountKgToTons.d.ts +2 -0
  225. package/dist/utils/convertToKebabCase.d.ts +2 -0
  226. package/dist/utils/convertToKebabCase.test.d.ts +1 -0
  227. package/dist/utils/getTimeSpanInYears.d.ts +2 -0
  228. package/dist/utils/getTimeSpanInYears.test.d.ts +1 -0
  229. package/dist/utils/mergeBoundingBoxes.d.ts +3 -0
  230. package/dist/utils/mergeBoundingBoxes.test.d.ts +1 -0
  231. package/dist/utils/mergeDeep.d.ts +12 -0
  232. package/dist/utils/mergeGlobalAndStrapiBlogPostData.d.ts +5 -0
  233. package/dist/utils/mergeGlobalAndStrapiBlogPostData.test.d.ts +1 -0
  234. package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.d.ts +4 -0
  235. package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.test.d.ts +1 -0
  236. package/dist/utils/mergeGlobalAndStrapiPageData.d.ts +5 -0
  237. package/dist/utils/mergeGlobalAndStrapiPageData.test.d.ts +1 -0
  238. package/dist/utils/mergeGlobalAndStrapiProjectData.d.ts +5 -0
  239. package/dist/utils/mergeGlobalAndStrapiProjectData.test.d.ts +1 -0
  240. package/dist/utils/openHubSpotChat.d.ts +2 -0
  241. package/dist/utils/strapiLinkUrl.d.ts +3 -0
  242. package/dist/utils/strapiLinkUrl.test.d.ts +1 -0
  243. package/dist/utils/strapiMediaUrl.d.ts +5 -0
  244. package/dist/utils/strapiMediaUrl.test.d.ts +1 -0
  245. package/package.json +1 -1
  246. package/src/components/portfolio/SmallCheckout/SmallCheckout.tsx +14 -15
  247. package/src/slices/ProjectFacts/ProjectFacts.stories.tsx +53 -0
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
3
+ import StrapiImage from '../../models/strapi/StrapiImage';
4
+ import StrapiLink from '../../models/strapi/StrapiLink';
5
+ interface ImageTextSequenceSlice extends StrapiDefaultHeader {
6
+ imageTextRows: {
7
+ id: number;
8
+ title: string;
9
+ text: string;
10
+ button?: StrapiLink;
11
+ image: StrapiImage;
12
+ }[];
13
+ background?: boolean;
14
+ }
15
+ export interface ImageTextSequenceProps {
16
+ slice: ImageTextSequenceSlice;
17
+ }
18
+ export declare const ImageTextSequence: React.FC<ImageTextSequenceProps>;
19
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ImageTextSequence } from './ImageTextSequence';
2
+ export default ImageTextSequence;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import StrapiPortfolioCard from '../../models/strapi/StrapiPortfolioCard';
3
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
4
+ import StrapiLink from '../../models/strapi/StrapiLink';
5
+ interface LeftTextRightCardSlice extends StrapiDefaultHeader {
6
+ checkMarkLabels?: {
7
+ id: number;
8
+ text: string;
9
+ }[];
10
+ button?: StrapiLink;
11
+ card?: StrapiPortfolioCard;
12
+ }
13
+ export interface LeftTextRightCardProps {
14
+ slice: LeftTextRightCardSlice;
15
+ }
16
+ export declare const LeftTextRightCard: React.FC<LeftTextRightCardProps>;
17
+ export {};
@@ -0,0 +1,2 @@
1
+ import { LeftTextRightCard } from './LeftTextRightCard';
2
+ export default LeftTextRightCard;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import StrapiLink from '../../models/strapi/StrapiLink';
3
+ interface LinkCardsGridSlice {
4
+ tagline?: string;
5
+ title: string;
6
+ text?: string;
7
+ cards: {
8
+ id: number;
9
+ title: string;
10
+ text?: string;
11
+ link: StrapiLink;
12
+ }[];
13
+ }
14
+ export interface LinkCardsGridProps {
15
+ slice: LinkCardsGridSlice;
16
+ }
17
+ export declare const LinkCardsGrid: React.FC<LinkCardsGridProps>;
18
+ export {};
@@ -0,0 +1,2 @@
1
+ import { LinkCardsGrid } from './LinkCardsGrid';
2
+ export default LinkCardsGrid;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import StrapiImageWithLink from '../../models/strapi/StrapiImageWithLink';
3
+ import StrapiLink from '../../models/strapi/StrapiLink';
4
+ export interface LogoGridWithTextProps {
5
+ slice: {
6
+ title: string;
7
+ text: string;
8
+ button?: StrapiLink;
9
+ logos: StrapiImageWithLink[];
10
+ };
11
+ }
12
+ export declare const LogoGridWithText: React.FC<LogoGridWithTextProps>;
@@ -0,0 +1,2 @@
1
+ import { LogoGridWithText } from './LogoGridWithText';
2
+ export default LogoGridWithText;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import StrapiImage from '../../models/strapi/StrapiImage';
3
+ import StrapiLink from '../../models/strapi/StrapiLink';
4
+ export interface MapHeroProps {
5
+ slice: {
6
+ tagline?: string;
7
+ title: string;
8
+ subTitle?: string;
9
+ buttons?: StrapiLink[];
10
+ shape?: StrapiImage;
11
+ map: StrapiImage;
12
+ mobileMap: StrapiImage;
13
+ };
14
+ }
15
+ export declare const MapHero: React.FC<MapHeroProps>;
@@ -0,0 +1,2 @@
1
+ import { MapHero } from './MapHero';
2
+ export default MapHero;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ export declare const MapHeroContainer: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Omit<import("@chakra-ui/system/dist/system.types").ChakraProps, never>, import("@chakra-ui/system/dist/system.types").As> & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ }, {}, {}>;
5
+ export declare const MapHeroTextContainer: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Omit<import("@chakra-ui/system/dist/system.types").ChakraProps, never>, import("@chakra-ui/system/dist/system.types").As> & {
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ }, {}, {}>;
8
+ export declare const ShapeContainer: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Omit<import("@chakra-ui/system/dist/system.types").ChakraProps, never>, import("@chakra-ui/system/dist/system.types").As> & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ }, {}, {}>;
11
+ export declare const MapContainer: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Omit<import("@chakra-ui/system/dist/system.types").ChakraProps, never>, import("@chakra-ui/system/dist/system.types").As> & {
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ }, {}, {}>;
14
+ export declare const MapGradient: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Omit<import("@chakra-ui/system/dist/system.types").ChakraProps, never>, import("@chakra-ui/system/dist/system.types").As> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import StrapiLink from '../../models/strapi/StrapiLink';
3
+ import PortfolioProject from '../../models/PortfolioProject';
4
+ import StrapiImage from '../../models/strapi/StrapiImage';
5
+ export interface ProjectFactsProps {
6
+ project?: PortfolioProject;
7
+ slice: {
8
+ projectId: string;
9
+ batchId?: string;
10
+ currency?: 'EUR' | 'CHF';
11
+ pricePerKg?: number;
12
+ initialContributionValue?: number;
13
+ checkoutText?: string;
14
+ customTitle?: string;
15
+ customSubtitle?: string;
16
+ customButton?: StrapiLink;
17
+ documentUrls?: StrapiLink[];
18
+ areaSubtitle?: string;
19
+ locationSubtitle?: string;
20
+ startSubtitle?: string;
21
+ timeSpanSubtitle?: string;
22
+ projectTypeSubtitle?: string;
23
+ projectDeveloperSubtitle?: string;
24
+ verificationStandardSubtitle?: string;
25
+ forecastedAmountSubtitle?: string;
26
+ riskBufferSubtitle?: string;
27
+ buyCreditsSubtitle?: string;
28
+ contactTitle?: string;
29
+ contactText?: string;
30
+ contactButton?: StrapiLink;
31
+ contactAvatar?: StrapiImage;
32
+ };
33
+ }
34
+ export declare const ProjectFacts: React.FC<ProjectFactsProps>;
@@ -0,0 +1,2 @@
1
+ import { ProjectFacts } from './ProjectFacts';
2
+ export default ProjectFacts;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ 'sections.projectFacts.projectInfo.value': string;
3
+ 'projects.projectFacts.properties.area': string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ 'sections.projectFacts.projectInfo.value': string;
3
+ 'projects.projectFacts.properties.area': string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import StrapiProjectCard from '../../models/strapi/StrapiProjectCard';
3
+ export interface ProjectsGridProps {
4
+ slice: {
5
+ projects: StrapiProjectCard[];
6
+ };
7
+ }
8
+ export declare const ProjectsGrid: React.FC<ProjectsGridProps>;
@@ -0,0 +1,2 @@
1
+ import { ProjectsGrid } from './ProjectsGrid';
2
+ export default ProjectsGrid;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import CreditsAvailableState from '../../models/CreditsAvailableState';
3
+ export interface MapMarkerProps {
4
+ title: string;
5
+ isPublic?: boolean;
6
+ projectDeveloper?: string;
7
+ slug?: string;
8
+ creditsAvailable?: CreditsAvailableState;
9
+ }
10
+ declare const MapMarker: ({ title, projectDeveloper, slug, creditsAvailable, isPublic, }: MapMarkerProps) => React.JSX.Element;
11
+ export default MapMarker;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import PortfolioProject from '../../models/PortfolioProject';
3
+ export interface ProjectsMapProps {
4
+ slice: {
5
+ tagline?: string;
6
+ title?: string;
7
+ text?: string;
8
+ defaultCenterCoordinates?: {
9
+ latitude: number;
10
+ longitude: number;
11
+ };
12
+ defaultZoomLevel?: number;
13
+ };
14
+ projects: PortfolioProject[];
15
+ }
16
+ export declare const ProjectsMap: React.FC<ProjectsMapProps>;
@@ -0,0 +1,2 @@
1
+ import { ProjectsMap } from './ProjectsMap';
2
+ export default ProjectsMap;
@@ -0,0 +1,2 @@
1
+ declare const mapboxStyle: import("@emotion/utils").SerializedStyles;
2
+ export default mapboxStyle;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ 'sections.projectsMap.link.text': string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ 'sections.projectsMap.link.text': string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import StrapiLink from '../../models/strapi/StrapiLink';
3
+ import StrapiHeroCard from '../../models/strapi/StrapiHeroCard';
4
+ declare const VARIANTS: {
5
+ gray: {
6
+ backgroundColor: string;
7
+ tagLineColor: string;
8
+ textColor: string;
9
+ accordionVariant: string;
10
+ otherQuestionsBackground: string;
11
+ };
12
+ green: {
13
+ backgroundColor: string;
14
+ tagLineColor: string;
15
+ textColor: string;
16
+ accordionVariant: string;
17
+ otherQuestionsBackground: string;
18
+ };
19
+ white: {
20
+ backgroundColor: string;
21
+ tagLineColor: string;
22
+ textColor: string;
23
+ accordionVariant: string;
24
+ otherQuestionsBackground: string;
25
+ };
26
+ };
27
+ export interface QAndAProps {
28
+ slice: {
29
+ tagline: string;
30
+ title: string;
31
+ questionsAndAnswers: {
32
+ id: number;
33
+ key: string;
34
+ value: string;
35
+ }[];
36
+ otherQuestions: string;
37
+ button: StrapiLink;
38
+ hero?: StrapiHeroCard;
39
+ variant?: keyof typeof VARIANTS;
40
+ };
41
+ }
42
+ export declare const QAndA: React.FC<QAndAProps>;
43
+ export {};
@@ -0,0 +1,2 @@
1
+ import { QAndA } from './QAndA';
2
+ export default QAndA;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
3
+ import StrapiQuoteCard from '../../models/strapi/StrapiQuoteCard';
4
+ import StrapiHeroCard from '../../models/strapi/StrapiHeroCard';
5
+ import StrapiImage from '../../models/strapi/StrapiImage';
6
+ interface QuoteCardsSlice extends StrapiDefaultHeader {
7
+ cards: StrapiQuoteCard[];
8
+ shapes?: StrapiImage[];
9
+ hero?: StrapiHeroCard;
10
+ }
11
+ export interface QuoteCardsProps {
12
+ slice: QuoteCardsSlice;
13
+ }
14
+ export declare const QuoteCards: React.FC<QuoteCardsProps>;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import { QuoteCards } from './QuoteCards';
2
+ export default QuoteCards;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface RichTextSectionProps {
3
+ slice: {
4
+ content: string;
5
+ };
6
+ }
7
+ export declare const RichTextSection: React.FC<RichTextSectionProps>;
@@ -0,0 +1,2 @@
1
+ import { RichTextSection } from './RichTextSection';
2
+ export default RichTextSection;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ export interface ShopCheckoutProps {
3
+ slice: {
4
+ tagline?: string;
5
+ title: string;
6
+ text?: string;
7
+ badge?: string;
8
+ batchId: string;
9
+ pricePerKg: number;
10
+ couponId?: string;
11
+ initialContributionValue: number;
12
+ checkoutText: string;
13
+ currency: 'EUR' | 'CHF';
14
+ };
15
+ }
16
+ export declare const ShopCheckout: ({ slice }: ShopCheckoutProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ShopCheckout } from './ShopCheckout';
2
+ export default ShopCheckout;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ 'sections.shopCheckout.intro.price': string;
3
+ 'sections.shopCheckout.contributionValue.label.EUR': string;
4
+ 'sections.shopCheckout.contributionValue.label.CHF': string;
5
+ 'sections.shopCheckout.contributionValue.unit.EUR': string;
6
+ 'sections.shopCheckout.contributionValue.unit.CHF': string;
7
+ 'sections.shopCheckout.contributionValue.validation.empty': string;
8
+ 'sections.shopCheckout.contributionValue.validation.tooLow.EUR': string;
9
+ 'sections.shopCheckout.contributionValue.validation.tooLow.CHF': string;
10
+ 'sections.shopCheckout.contributionValue.validation.tooHigh': string;
11
+ 'sections.shopCheckout.summary.kg': string;
12
+ 'sections.shopCheckout.summary.price': string;
13
+ 'sections.shopCheckout.submit': string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ 'sections.shopCheckout.intro.price': string;
3
+ 'sections.shopCheckout.contributionValue.label.EUR': string;
4
+ 'sections.shopCheckout.contributionValue.label.CHF': string;
5
+ 'sections.shopCheckout.contributionValue.unit.EUR': string;
6
+ 'sections.shopCheckout.contributionValue.unit.CHF': string;
7
+ 'sections.shopCheckout.contributionValue.validation.empty': string;
8
+ 'sections.shopCheckout.contributionValue.validation.tooLow.EUR': string;
9
+ 'sections.shopCheckout.contributionValue.validation.tooLow.CHF': string;
10
+ 'sections.shopCheckout.contributionValue.validation.tooHigh': string;
11
+ 'sections.shopCheckout.summary.kg': string;
12
+ 'sections.shopCheckout.summary.price': string;
13
+ 'sections.shopCheckout.submit': string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import StrapiImage from '../../models/strapi/StrapiImage';
3
+ export interface SideBySideImagesProps {
4
+ slice: {
5
+ images: {
6
+ id: number;
7
+ caption: string;
8
+ img: StrapiImage;
9
+ }[];
10
+ };
11
+ }
12
+ export declare const SideBySideImages: React.FC<SideBySideImagesProps>;
@@ -0,0 +1,2 @@
1
+ import { SideBySideImages } from './SideBySideImages';
2
+ export default SideBySideImages;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import StrapiImage from '../../models/strapi/StrapiImage';
3
+ import StrapiLink from '../../models/strapi/StrapiLink';
4
+ export interface SmallHeroProps {
5
+ slice: {
6
+ tags?: {
7
+ id: number;
8
+ text: string;
9
+ colorScheme: string;
10
+ }[];
11
+ tagline?: string;
12
+ title: string;
13
+ subTitle?: string;
14
+ button?: StrapiLink;
15
+ image?: StrapiImage;
16
+ gradient?: boolean;
17
+ };
18
+ theme: 'dark' | 'light';
19
+ }
20
+ export declare const SmallHero: React.FC<SmallHeroProps>;
@@ -0,0 +1,2 @@
1
+ import { SmallHero } from './SmallHero';
2
+ export default SmallHero;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import StrapiShapesCard from '../../models/strapi/StrapiShapesCard';
3
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
4
+ import StrapiImage from '../../models/strapi/StrapiImage';
5
+ interface StepsSlice extends StrapiDefaultHeader {
6
+ steps: {
7
+ id: number;
8
+ step: number;
9
+ title: string;
10
+ text?: string;
11
+ }[];
12
+ image?: StrapiImage;
13
+ card?: StrapiShapesCard;
14
+ }
15
+ export interface StepsProps {
16
+ slice: StepsSlice;
17
+ }
18
+ export declare const Steps: React.FC<StepsProps>;
19
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Steps } from './Steps';
2
+ export default Steps;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
3
+ import StrapiImage from '../../models/strapi/StrapiImage';
4
+ import StrapiLink from '../../models/strapi/StrapiLink';
5
+ interface TextCardGridSlice extends StrapiDefaultHeader {
6
+ variant: 'shape' | 'image';
7
+ cards: {
8
+ id: number;
9
+ tagline?: string;
10
+ title: string;
11
+ text: string;
12
+ image: StrapiImage;
13
+ buttons?: StrapiLink[];
14
+ }[];
15
+ }
16
+ export interface TextCardGridProps {
17
+ slice: TextCardGridSlice;
18
+ }
19
+ export declare const TextCardGrid: React.FC<TextCardGridProps>;
20
+ export {};
@@ -0,0 +1,2 @@
1
+ import { TextCardGrid } from './TextCardGrid';
2
+ export default TextCardGrid;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
3
+ import StrapiLink from '../../models/strapi/StrapiLink';
4
+ import StrapiTextCardWithIcon from '../../models/strapi/StrapiTextCardWithIcons';
5
+ interface TextCarouselSlice extends StrapiDefaultHeader {
6
+ slides: StrapiTextCardWithIcon[];
7
+ button?: StrapiLink;
8
+ }
9
+ export interface TextCarouselProps {
10
+ slice: TextCarouselSlice;
11
+ }
12
+ export declare const TextCarousel: React.FC<TextCarouselProps>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import { TextCarousel } from './TextCarousel';
2
+ export default TextCarousel;