@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.
- package/dist/components/ContextProvider/ContextProvider.d.ts +8 -0
- package/dist/components/ContextProvider/index.d.ts +1 -0
- package/dist/components/CreditsAvailableBadge/CreditsAvailableBadge.d.ts +8 -0
- package/dist/components/CreditsAvailableBadge/index.d.ts +2 -0
- package/dist/components/CreditsAvailableBadge/messages.de.d.ts +7 -0
- package/dist/components/CreditsAvailableBadge/messages.en.d.ts +7 -0
- package/dist/components/FullScreenImage/FullScreenImage.d.ts +9 -0
- package/dist/components/FullScreenImage/ZoomableImage.d.ts +8 -0
- package/dist/components/FullScreenImage/index.d.ts +2 -0
- package/dist/components/MinimalProviders/MinimalProviders.d.ts +7 -0
- package/dist/components/MinimalProviders/index.d.ts +2 -0
- package/dist/components/SEOTags/SEOTags.d.ts +14 -0
- package/dist/components/SEOTags/index.d.ts +1 -0
- package/dist/components/SliceRenderer/SliceRenderer.d.ts +19 -0
- package/dist/components/SliceRenderer/index.d.ts +1 -0
- package/dist/components/StrapiLinkButton/StrapiLinkButton.d.ts +18 -0
- package/dist/components/StrapiLinkButton/index.d.ts +2 -0
- package/dist/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.d.ts +7 -0
- package/dist/components/StrapiLinkButtonWithIcon/index.d.ts +2 -0
- package/dist/components/portfolio/Contact/Contact.d.ts +10 -0
- package/dist/components/portfolio/Contact/index.d.ts +2 -0
- package/dist/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.d.ts +6 -0
- package/dist/components/portfolio/DocumentsDownloadList/index.d.ts +2 -0
- package/dist/components/portfolio/DocumentsDownloadList/messages.de.d.ts +5 -0
- package/dist/components/portfolio/DocumentsDownloadList/messages.en.d.ts +5 -0
- package/dist/components/portfolio/ProjectInfo/ProjectInfo.d.ts +18 -0
- package/dist/components/portfolio/ProjectInfo/index.d.ts +2 -0
- package/dist/components/portfolio/ProjectInfo/messages.de.d.ts +15 -0
- package/dist/components/portfolio/ProjectInfo/messages.en.d.ts +15 -0
- package/dist/components/portfolio/SmallCheckout/SmallCheckout.d.ts +14 -0
- package/dist/components/portfolio/SmallCheckout/index.d.ts +2 -0
- package/dist/components/portfolio/SmallCheckout/messages.de.d.ts +16 -0
- package/dist/components/portfolio/SmallCheckout/messages.en.d.ts +16 -0
- package/dist/constants/animations.d.ts +1 -0
- package/dist/constants/api.d.ts +3 -0
- package/dist/constants/breakpoints.d.ts +8 -0
- package/dist/constants/domain.d.ts +2 -0
- package/dist/constants/fontCustomizations.d.ts +6 -0
- package/dist/constants/formatter.d.ts +6 -0
- package/dist/constants/globalStyle.d.ts +1 -0
- package/dist/constants/mapbox.d.ts +17 -0
- package/dist/constants/metadata.d.ts +2 -0
- package/dist/constants/sectionsConfig.d.ts +5 -0
- package/dist/constants/strapi.d.ts +1 -0
- package/dist/icons/LinkedInIcon.d.ts +3 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +8 -0
- package/dist/models/BBox.d.ts +2 -0
- package/dist/models/CreditsAvailableState.d.ts +7 -0
- package/dist/models/HeaderType.d.ts +5 -0
- package/dist/models/Image.d.ts +5 -0
- package/dist/models/Locale.d.ts +2 -0
- package/dist/models/PageMetadata.d.ts +9 -0
- package/dist/models/PageProps.d.ts +21 -0
- package/dist/models/PortfolioProject.d.ts +7 -0
- package/dist/models/forms/CheckoutForm.d.ts +4 -0
- package/dist/models/fpm/FPMProject.d.ts +37 -0
- package/dist/models/fpm/Issuer.d.ts +6 -0
- package/dist/models/strapi/IStrapi.d.ts +4 -0
- package/dist/models/strapi/IStrapiData.d.ts +5 -0
- package/dist/models/strapi/IStrapiResponse.d.ts +13 -0
- package/dist/models/strapi/StrapiAuthor.d.ts +10 -0
- package/dist/models/strapi/StrapiAvatarWithName.d.ts +8 -0
- package/dist/models/strapi/StrapiBanner.d.ts +9 -0
- package/dist/models/strapi/StrapiBlogPost.d.ts +25 -0
- package/dist/models/strapi/StrapiBlogPostProps.d.ts +6 -0
- package/dist/models/strapi/StrapiButtonWithVariant.d.ts +6 -0
- package/dist/models/strapi/StrapiCategory.d.ts +8 -0
- package/dist/models/strapi/StrapiContactArea.d.ts +10 -0
- package/dist/models/strapi/StrapiCustomerStory.d.ts +21 -0
- package/dist/models/strapi/StrapiCustomerStoryProps.d.ts +6 -0
- package/dist/models/strapi/StrapiDefaultHeader.d.ts +6 -0
- package/dist/models/strapi/StrapiGlobal.d.ts +26 -0
- package/dist/models/strapi/StrapiGlossaryItem.d.ts +6 -0
- package/dist/models/strapi/StrapiHeroCard.d.ts +13 -0
- package/dist/models/strapi/StrapiImage.d.ts +10 -0
- package/dist/models/strapi/StrapiImageFormat.d.ts +12 -0
- package/dist/models/strapi/StrapiImageWithLink.d.ts +6 -0
- package/dist/models/strapi/StrapiLink.d.ts +11 -0
- package/dist/models/strapi/StrapiLinkList.d.ts +7 -0
- package/dist/models/strapi/StrapiLinkPage.d.ts +10 -0
- package/dist/models/strapi/StrapiLinkWithIcon.d.ts +7 -0
- package/dist/models/strapi/StrapiLocalization.d.ts +7 -0
- package/dist/models/strapi/StrapiMedia.d.ts +27 -0
- package/dist/models/strapi/StrapiMetadata.d.ts +13 -0
- package/dist/models/strapi/StrapiNavMenu.d.ts +13 -0
- package/dist/models/strapi/StrapiPage.d.ts +17 -0
- package/dist/models/strapi/StrapiPageProps.d.ts +6 -0
- package/dist/models/strapi/StrapiPortfolio.d.ts +10 -0
- package/dist/models/strapi/StrapiPortfolioCard.d.ts +15 -0
- package/dist/models/strapi/StrapiProject.d.ts +23 -0
- package/dist/models/strapi/StrapiProjectCard.d.ts +18 -0
- package/dist/models/strapi/StrapiProjectProps.d.ts +6 -0
- package/dist/models/strapi/StrapiQuoteCard.d.ts +7 -0
- package/dist/models/strapi/StrapiShapesCard.d.ts +11 -0
- package/dist/models/strapi/StrapiTextCardWithIcons.d.ts +8 -0
- package/dist/models/strapi/StrapiTopBanner.d.ts +7 -0
- package/dist/rootMessages.de.d.ts +58 -0
- package/dist/rootMessages.en.d.ts +58 -0
- package/dist/slices/Blog/Blog.d.ts +10 -0
- package/dist/slices/Blog/index.d.ts +2 -0
- package/dist/slices/Blog/styles.d.ts +7 -0
- package/dist/slices/BlogCards/BlogCards.d.ts +18 -0
- package/dist/slices/BlogCards/index.d.ts +2 -0
- package/dist/slices/Comparison/Comparison.d.ts +33 -0
- package/dist/slices/Comparison/Icon.d.ts +7 -0
- package/dist/slices/Comparison/index.d.ts +2 -0
- package/dist/slices/Comparison/messages.de.d.ts +4 -0
- package/dist/slices/Comparison/messages.en.d.ts +4 -0
- package/dist/slices/Cta/Cta.d.ts +26 -0
- package/dist/slices/Cta/index.d.ts +2 -0
- package/dist/slices/Cta/messages.de.d.ts +5 -0
- package/dist/slices/Cta/messages.en.d.ts +5 -0
- package/dist/slices/CtaOnly/CtaOnly.d.ts +8 -0
- package/dist/slices/CtaOnly/index.d.ts +2 -0
- package/dist/slices/CustomerStories/CustomerStories.d.ts +10 -0
- package/dist/slices/CustomerStories/index.d.ts +2 -0
- package/dist/slices/CustomerStories/messages.de.d.ts +4 -0
- package/dist/slices/CustomerStories/messages.en.d.ts +4 -0
- package/dist/slices/Facts/Facts.d.ts +16 -0
- package/dist/slices/Facts/index.d.ts +2 -0
- package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.d.ts +10 -0
- package/dist/slices/FullWidthHighlightQuote/index.d.ts +2 -0
- package/dist/slices/FullWidthImage/FullWidthImage.d.ts +11 -0
- package/dist/slices/FullWidthImage/index.d.ts +2 -0
- package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.d.ts +12 -0
- package/dist/slices/FullWidthImageSlider/index.d.ts +2 -0
- package/dist/slices/FullWidthImageSlider/styles.d.ts +291 -0
- package/dist/slices/FullWidthImageSlider/utils.d.ts +1 -0
- package/dist/slices/FullWidthImageSlider/utils.test.d.ts +1 -0
- package/dist/slices/Glossary/Glossary.d.ts +9 -0
- package/dist/slices/Glossary/index.d.ts +2 -0
- package/dist/slices/Glossary/messages.de.d.ts +6 -0
- package/dist/slices/Glossary/messages.en.d.ts +6 -0
- package/dist/slices/Hero/Hero.d.ts +17 -0
- package/dist/slices/Hero/index.d.ts +2 -0
- package/dist/slices/IconGrid/IconGrid.d.ts +18 -0
- package/dist/slices/IconGrid/index.d.ts +2 -0
- package/dist/slices/ImageGrid/ImageGrid.d.ts +18 -0
- package/dist/slices/ImageGrid/index.d.ts +2 -0
- package/dist/slices/ImageTextSequence/ImageTextSequence.d.ts +19 -0
- package/dist/slices/ImageTextSequence/index.d.ts +2 -0
- package/dist/slices/LeftTextRightCard/LeftTextRightCard.d.ts +17 -0
- package/dist/slices/LeftTextRightCard/index.d.ts +2 -0
- package/dist/slices/LinkCardsGrid/LinkCardsGrid.d.ts +18 -0
- package/dist/slices/LinkCardsGrid/index.d.ts +2 -0
- package/dist/slices/LogoGridWithText/LogoGridWithText.d.ts +12 -0
- package/dist/slices/LogoGridWithText/index.d.ts +2 -0
- package/dist/slices/MapHero/MapHero.d.ts +15 -0
- package/dist/slices/MapHero/index.d.ts +2 -0
- package/dist/slices/MapHero/styles.d.ts +16 -0
- package/dist/slices/ProjectFacts/ProjectFacts.d.ts +34 -0
- package/dist/slices/ProjectFacts/index.d.ts +2 -0
- package/dist/slices/ProjectFacts/messages.de.d.ts +5 -0
- package/dist/slices/ProjectFacts/messages.en.d.ts +5 -0
- package/dist/slices/ProjectsGrid/ProjectsGrid.d.ts +8 -0
- package/dist/slices/ProjectsGrid/index.d.ts +2 -0
- package/dist/slices/ProjectsMap/MapMarker.d.ts +11 -0
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts +16 -0
- package/dist/slices/ProjectsMap/index.d.ts +2 -0
- package/dist/slices/ProjectsMap/mapboxStyle.d.ts +2 -0
- package/dist/slices/ProjectsMap/messages.de.d.ts +4 -0
- package/dist/slices/ProjectsMap/messages.en.d.ts +4 -0
- package/dist/slices/QAndA/QAndA.d.ts +43 -0
- package/dist/slices/QAndA/index.d.ts +2 -0
- package/dist/slices/QuoteCards/QuoteCards.d.ts +15 -0
- package/dist/slices/QuoteCards/index.d.ts +2 -0
- package/dist/slices/RichTextSection/RichTextSection.d.ts +7 -0
- package/dist/slices/RichTextSection/index.d.ts +2 -0
- package/dist/slices/ShopCheckout/ShopCheckout.d.ts +16 -0
- package/dist/slices/ShopCheckout/index.d.ts +2 -0
- package/dist/slices/ShopCheckout/messages.de.d.ts +15 -0
- package/dist/slices/ShopCheckout/messages.en.d.ts +15 -0
- package/dist/slices/SideBySideImages/SideBySideImages.d.ts +12 -0
- package/dist/slices/SideBySideImages/index.d.ts +2 -0
- package/dist/slices/SmallHero/SmallHero.d.ts +20 -0
- package/dist/slices/SmallHero/index.d.ts +2 -0
- package/dist/slices/Steps/Steps.d.ts +19 -0
- package/dist/slices/Steps/index.d.ts +2 -0
- package/dist/slices/TextCardGrid/TextCardGrid.d.ts +20 -0
- package/dist/slices/TextCardGrid/index.d.ts +2 -0
- package/dist/slices/TextCarousel/TextCarousel.d.ts +13 -0
- package/dist/slices/TextCarousel/index.d.ts +2 -0
- package/dist/slices/TextCarousel/styles.d.ts +282 -0
- package/dist/slices/TextWithCard/TextWithCard.d.ts +20 -0
- package/dist/slices/TextWithCard/index.d.ts +2 -0
- package/dist/slices/TextWithTextCards/TextWithTextCards.d.ts +15 -0
- package/dist/slices/TextWithTextCards/index.d.ts +2 -0
- package/dist/slices/Video/Video.d.ts +10 -0
- package/dist/slices/Video/index.d.ts +2 -0
- package/dist/strapi-slices.cjs.development.js +4874 -0
- package/dist/strapi-slices.cjs.development.js.map +1 -0
- package/dist/strapi-slices.cjs.production.min.js +2 -0
- package/dist/strapi-slices.cjs.production.min.js.map +1 -0
- package/dist/strapi-slices.esm.js +4853 -0
- package/dist/strapi-slices.esm.js.map +1 -0
- package/dist/test/defaultMocks/next.d.ts +2 -0
- package/dist/test/integrationMocks/fpmProjectMock.d.ts +3 -0
- package/dist/test/mocks/getStaticPropsContext.d.ts +3 -0
- package/dist/test/mocks/portfolioProjectMock.d.ts +3 -0
- package/dist/test/setupTests.d.ts +1 -0
- package/dist/test/storybookMocks/storybookMedia.d.ts +1 -0
- package/dist/test/storybookMocks/storybookStrapiMedia.d.ts +8 -0
- package/dist/test/strapiMocks/minimalGlobalData.d.ts +4 -0
- package/dist/test/strapiMocks/strapiAvatarWithName.d.ts +12 -0
- package/dist/test/strapiMocks/strapiBlogPost.d.ts +3 -0
- package/dist/test/strapiMocks/strapiContact.d.ts +2 -0
- package/dist/test/strapiMocks/strapiCustomerStory.d.ts +3 -0
- package/dist/test/strapiMocks/strapiHeroCard.d.ts +2 -0
- package/dist/test/strapiMocks/strapiLinkPage.d.ts +3 -0
- package/dist/test/strapiMocks/strapiMedia.d.ts +3 -0
- package/dist/test/strapiMocks/strapiMetadata.d.ts +2 -0
- package/dist/test/strapiMocks/strapiPage.d.ts +3 -0
- package/dist/test/strapiMocks/strapiPortfolioCard.d.ts +2 -0
- package/dist/test/strapiMocks/strapiPortfolioMock.d.ts +3 -0
- package/dist/test/strapiMocks/strapiProject.d.ts +3 -0
- package/dist/test/strapiMocks/strapiProjectCard.d.ts +2 -0
- package/dist/test/strapiMocks/strapiQuoteCard.d.ts +2 -0
- package/dist/test/testUtils.d.ts +6 -0
- package/dist/unit.messages.de.d.ts +5 -0
- package/dist/unit.messages.en.d.ts +5 -0
- package/dist/utils/convertAreaM2ToHa.d.ts +2 -0
- package/dist/utils/convertAreaM2ToHa.test.d.ts +1 -0
- package/dist/utils/convertCo2AmountKgToTons.d.ts +2 -0
- package/dist/utils/convertToKebabCase.d.ts +2 -0
- package/dist/utils/convertToKebabCase.test.d.ts +1 -0
- package/dist/utils/getTimeSpanInYears.d.ts +2 -0
- package/dist/utils/getTimeSpanInYears.test.d.ts +1 -0
- package/dist/utils/mergeBoundingBoxes.d.ts +3 -0
- package/dist/utils/mergeBoundingBoxes.test.d.ts +1 -0
- package/dist/utils/mergeDeep.d.ts +12 -0
- package/dist/utils/mergeGlobalAndStrapiBlogPostData.d.ts +5 -0
- package/dist/utils/mergeGlobalAndStrapiBlogPostData.test.d.ts +1 -0
- package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.d.ts +4 -0
- package/dist/utils/mergeGlobalAndStrapiCustomerStoryData.test.d.ts +1 -0
- package/dist/utils/mergeGlobalAndStrapiPageData.d.ts +5 -0
- package/dist/utils/mergeGlobalAndStrapiPageData.test.d.ts +1 -0
- package/dist/utils/mergeGlobalAndStrapiProjectData.d.ts +5 -0
- package/dist/utils/mergeGlobalAndStrapiProjectData.test.d.ts +1 -0
- package/dist/utils/openHubSpotChat.d.ts +2 -0
- package/dist/utils/strapiLinkUrl.d.ts +3 -0
- package/dist/utils/strapiLinkUrl.test.d.ts +1 -0
- package/dist/utils/strapiMediaUrl.d.ts +5 -0
- package/dist/utils/strapiMediaUrl.test.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/portfolio/SmallCheckout/SmallCheckout.tsx +14 -15
- 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,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,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,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,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,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,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,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,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,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,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,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,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,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,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 {};
|