@treely/strapi-slices 1.0.1 → 1.0.2
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 +3 -2
- package/dist/components/FullScreenImage/FullScreenImage.d.ts +3 -2
- package/dist/components/FullScreenImage/ZoomableImage.d.ts +3 -2
- package/dist/components/MinimalProviders/MinimalProviders.d.ts +2 -2
- package/dist/components/SliceRenderer/SliceRenderer.d.ts +7 -5
- package/dist/components/StrapiLinkButton/StrapiLinkButton.d.ts +2 -2
- package/dist/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.d.ts +2 -2
- package/dist/components/portfolio/Contact/Contact.d.ts +3 -3
- package/dist/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.d.ts +2 -2
- package/dist/components/portfolio/ProjectInfo/ProjectInfo.d.ts +2 -2
- package/dist/components/portfolio/SmallCheckout/SmallCheckout.d.ts +3 -2
- package/dist/icons/LinkedInIcon.d.ts +2 -1
- package/dist/slices/Blog/Blog.d.ts +3 -3
- package/dist/slices/Blog/styles.d.ts +4 -6
- package/dist/slices/BlogCards/BlogCards.d.ts +6 -6
- package/dist/slices/Comparison/Comparison.d.ts +3 -3
- package/dist/slices/Cta/Cta.d.ts +3 -3
- package/dist/slices/CtaOnly/CtaOnly.d.ts +2 -2
- package/dist/slices/CustomerStories/CustomerStories.d.ts +2 -2
- package/dist/slices/Facts/Facts.d.ts +2 -2
- package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.d.ts +2 -2
- package/dist/slices/FullWidthImage/FullWidthImage.d.ts +3 -3
- package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.d.ts +2 -2
- package/dist/slices/FullWidthImageSlider/styles.d.ts +10 -15
- package/dist/slices/FullWidthImageSlider/utils.test.d.ts +1 -0
- package/dist/slices/Glossary/Glossary.d.ts +3 -3
- package/dist/slices/Hero/Hero.d.ts +4 -4
- package/dist/slices/IconGrid/IconGrid.d.ts +3 -3
- package/dist/slices/ImageGrid/ImageGrid.d.ts +4 -4
- package/dist/slices/ImageTextSequence/ImageTextSequence.d.ts +4 -4
- package/dist/slices/LeftTextRightCard/LeftTextRightCard.d.ts +4 -4
- package/dist/slices/LinkCardsGrid/LinkCardsGrid.d.ts +2 -2
- package/dist/slices/LogoGridWithText/LogoGridWithText.d.ts +3 -3
- package/dist/slices/MapHero/MapHero.d.ts +3 -3
- package/dist/slices/MapHero/styles.d.ts +10 -15
- package/dist/slices/ProjectFacts/ProjectFacts.d.ts +4 -4
- package/dist/slices/ProjectsGrid/ProjectsGrid.d.ts +2 -2
- package/dist/slices/ProjectsMap/MapMarker.d.ts +3 -2
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts +2 -3
- package/dist/slices/ProjectsMap/mapboxStyle.d.ts +2 -0
- package/dist/slices/QAndA/QAndA.d.ts +3 -3
- package/dist/slices/QuoteCards/QuoteCards.d.ts +5 -5
- package/dist/slices/RichTextSection/RichTextSection.d.ts +1 -1
- package/dist/slices/SideBySideImages/SideBySideImages.d.ts +2 -2
- package/dist/slices/SmallHero/SmallHero.d.ts +3 -3
- package/dist/slices/Steps/Steps.d.ts +4 -4
- package/dist/slices/TextCardGrid/TextCardGrid.d.ts +4 -4
- package/dist/slices/TextCarousel/TextCarousel.d.ts +4 -4
- package/dist/slices/TextCarousel/styles.d.ts +6 -9
- package/dist/slices/TextWithCard/TextWithCard.d.ts +3 -3
- package/dist/slices/TextWithTextCards/TextWithTextCards.d.ts +5 -5
- package/dist/slices/Video/Video.d.ts +1 -1
- package/dist/strapi-slices.cjs.development.js +4617 -201
- package/dist/strapi-slices.cjs.development.js.map +1 -1
- package/dist/strapi-slices.cjs.production.min.js +1 -1
- package/dist/strapi-slices.cjs.production.min.js.map +1 -1
- package/dist/strapi-slices.esm.js +4606 -201
- package/dist/strapi-slices.esm.js.map +1 -1
- package/dist/test/integrationMocks/fpmProjectMock.d.ts +1 -1
- package/dist/test/mocks/portfolioProjectMock.d.ts +1 -1
- package/dist/test/storybookMocks/storybookStrapiMedia.d.ts +2 -2
- package/dist/test/strapiMocks/minimalGlobalData.d.ts +2 -2
- package/dist/test/strapiMocks/strapiBlogPost.d.ts +2 -2
- package/dist/test/strapiMocks/strapiContact.d.ts +1 -1
- package/dist/test/strapiMocks/strapiCustomerStory.d.ts +2 -2
- package/dist/test/strapiMocks/strapiHeroCard.d.ts +1 -1
- package/dist/test/strapiMocks/strapiLinkPage.d.ts +2 -2
- package/dist/test/strapiMocks/strapiMedia.d.ts +2 -2
- package/dist/test/strapiMocks/strapiMetadata.d.ts +1 -1
- package/dist/test/strapiMocks/strapiPage.d.ts +2 -2
- package/dist/test/strapiMocks/strapiPortfolioCard.d.ts +1 -1
- package/dist/test/strapiMocks/strapiPortfolioMock.d.ts +2 -2
- package/dist/test/strapiMocks/strapiProject.d.ts +2 -2
- package/dist/test/strapiMocks/strapiProjectCard.d.ts +1 -1
- package/dist/test/strapiMocks/strapiQuoteCard.d.ts +1 -1
- package/dist/utils/convertAreaM2ToHa.test.d.ts +1 -0
- package/dist/utils/convertToKebabCase.test.d.ts +1 -0
- package/dist/utils/getTimeSpanInYears.test.d.ts +1 -0
- package/dist/utils/mergeBoundingBoxes.d.ts +1 -1
- package/dist/utils/mergeBoundingBoxes.test.d.ts +1 -0
- package/dist/utils/strapiLinkUrl.d.ts +1 -1
- package/dist/utils/strapiLinkUrl.test.d.ts +1 -0
- package/dist/utils/strapiMediaUrl.d.ts +3 -3
- package/dist/utils/strapiMediaUrl.test.d.ts +1 -0
- package/package.json +7 -4
- package/src/components/ContextProvider/ContextProvider.tsx +40 -0
- package/src/components/ContextProvider/index.ts +1 -0
- package/src/components/CreditsAvailableBadge/CreditsAvailableBadge.test.tsx +3 -2
- package/src/components/CreditsAvailableBadge/CreditsAvailableBadge.tsx +4 -3
- package/src/components/FullScreenImage/FullScreenImage.test.tsx +3 -2
- package/src/components/FullScreenImage/FullScreenImage.tsx +2 -2
- package/src/components/FullScreenImage/ZoomableImage.tsx +2 -2
- package/src/components/MinimalProviders/MinimalProviders.tsx +4 -3
- package/src/components/SliceRenderer/SliceRenderer.test.tsx +2 -1
- package/src/components/SliceRenderer/SliceRenderer.tsx +45 -40
- package/src/components/StrapiLinkButton/StrapiLinkButton.test.tsx +2 -1
- package/src/components/StrapiLinkButton/StrapiLinkButton.tsx +10 -13
- package/src/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.test.tsx +2 -1
- package/src/components/StrapiLinkButtonWithIcon/StrapiLinkButtonWithIcon.tsx +3 -2
- package/src/components/portfolio/Contact/Contact.test.tsx +4 -3
- package/src/components/portfolio/Contact/Contact.tsx +5 -4
- package/src/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.test.tsx +2 -1
- package/src/components/portfolio/DocumentsDownloadList/DocumentsDownloadList.tsx +7 -4
- package/src/components/portfolio/ProjectInfo/ProjectInfo.test.tsx +3 -2
- package/src/components/portfolio/ProjectInfo/ProjectInfo.tsx +10 -9
- package/src/components/portfolio/SmallCheckout/SmallCheckout.test.tsx +2 -1
- package/src/components/portfolio/SmallCheckout/SmallCheckout.tsx +35 -32
- package/src/constants/globalStyle.ts +4 -0
- package/src/icons/LinkedInIcon.tsx +2 -0
- package/src/rootMessages.de.ts +12 -12
- package/src/rootMessages.en.ts +12 -12
- package/src/slices/Blog/Blog.test.tsx +5 -4
- package/src/slices/Blog/Blog.tsx +63 -65
- package/src/slices/Blog/styles.ts +8 -4
- package/src/slices/BlogCards/BlogCards.stories.tsx +5 -4
- package/src/slices/BlogCards/BlogCards.test.tsx +5 -4
- package/src/slices/BlogCards/BlogCards.tsx +67 -70
- package/src/slices/Comparison/Comparison.stories.tsx +3 -2
- package/src/slices/Comparison/Comparison.test.tsx +4 -3
- package/src/slices/Comparison/Comparison.tsx +8 -7
- package/src/slices/Comparison/Icon.test.tsx +3 -2
- package/src/slices/Comparison/Icon.tsx +1 -0
- package/src/slices/Cta/Cta.stories.tsx +3 -2
- package/src/slices/Cta/Cta.test.tsx +4 -3
- package/src/slices/Cta/Cta.tsx +8 -7
- package/src/slices/CtaOnly/CtaOnly.stories.tsx +2 -1
- package/src/slices/CtaOnly/CtaOnly.test.tsx +2 -1
- package/src/slices/CtaOnly/CtaOnly.tsx +3 -2
- package/src/slices/CustomerStories/CustomerStories.stories.tsx +3 -2
- package/src/slices/CustomerStories/CustomerStories.test.tsx +4 -3
- package/src/slices/CustomerStories/CustomerStories.tsx +64 -59
- package/src/slices/Facts/Facts.stories.tsx +2 -1
- package/src/slices/Facts/Facts.test.tsx +2 -1
- package/src/slices/Facts/Facts.tsx +3 -2
- package/src/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.stories.tsx +3 -2
- package/src/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.test.tsx +3 -2
- package/src/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.tsx +3 -2
- package/src/slices/FullWidthImage/FullWidthImage.stories.tsx +3 -2
- package/src/slices/FullWidthImage/FullWidthImage.test.tsx +3 -2
- package/src/slices/FullWidthImage/FullWidthImage.tsx +10 -9
- package/src/slices/FullWidthImageSlider/FullWidthImageSlider.stories.tsx +3 -2
- package/src/slices/FullWidthImageSlider/FullWidthImageSlider.test.tsx +3 -2
- package/src/slices/FullWidthImageSlider/FullWidthImageSlider.tsx +5 -5
- package/src/slices/FullWidthImageSlider/styles.ts +11 -8
- package/src/slices/Glossary/Glossary.stories.tsx +2 -1
- package/src/slices/Glossary/Glossary.test.tsx +2 -2
- package/src/slices/Glossary/Glossary.tsx +6 -6
- package/src/slices/Hero/Hero.stories.tsx +3 -2
- package/src/slices/Hero/Hero.test.tsx +3 -2
- package/src/slices/Hero/Hero.tsx +38 -14
- package/src/slices/IconGrid/IconGrid.stories.tsx +3 -2
- package/src/slices/IconGrid/IconGrid.test.tsx +3 -2
- package/src/slices/IconGrid/IconGrid.tsx +18 -9
- package/src/slices/ImageGrid/ImageGrid.stories.tsx +4 -3
- package/src/slices/ImageGrid/ImageGrid.test.tsx +3 -2
- package/src/slices/ImageGrid/ImageGrid.tsx +12 -9
- package/src/slices/ImageTextSequence/ImageTextSequence.stories.tsx +3 -2
- package/src/slices/ImageTextSequence/ImageTextSequence.test.tsx +3 -2
- package/src/slices/ImageTextSequence/ImageTextSequence.tsx +28 -19
- package/src/slices/LeftTextRightCard/LeftTextRightCard.stories.tsx +3 -2
- package/src/slices/LeftTextRightCard/LeftTextRightCard.test.tsx +3 -2
- package/src/slices/LeftTextRightCard/LeftTextRightCard.tsx +7 -6
- package/src/slices/LinkCardsGrid/LinkCardsGrid.stories.tsx +2 -1
- package/src/slices/LinkCardsGrid/LinkCardsGrid.test.tsx +2 -1
- package/src/slices/LinkCardsGrid/LinkCardsGrid.tsx +45 -43
- package/src/slices/LogoGridWithText/LogoGridWithText.stories.tsx +3 -2
- package/src/slices/LogoGridWithText/LogoGridWithText.test.tsx +3 -2
- package/src/slices/LogoGridWithText/LogoGridWithText.tsx +8 -8
- package/src/slices/MapHero/MapHero.stories.tsx +3 -2
- package/src/slices/MapHero/MapHero.test.tsx +3 -2
- package/src/slices/MapHero/MapHero.tsx +6 -5
- package/src/slices/MapHero/styles.ts +7 -6
- package/src/slices/ProjectFacts/ProjectFacts.stories.tsx +4 -3
- package/src/slices/ProjectFacts/ProjectFacts.test.tsx +3 -2
- package/src/slices/ProjectFacts/ProjectFacts.tsx +8 -7
- package/src/slices/ProjectsGrid/ProjectsGrid.stories.tsx +4 -3
- package/src/slices/ProjectsGrid/ProjectsGrid.test.tsx +3 -2
- package/src/slices/ProjectsGrid/ProjectsGrid.tsx +4 -3
- package/src/slices/ProjectsMap/MapMarker.test.tsx +3 -2
- package/src/slices/ProjectsMap/MapMarker.tsx +6 -4
- package/src/slices/ProjectsMap/ProjectsMap.stories.tsx +4 -3
- package/src/slices/ProjectsMap/ProjectsMap.test.tsx +4 -3
- package/src/slices/ProjectsMap/ProjectsMap.tsx +49 -38
- package/src/slices/ProjectsMap/mapboxStyle.ts +670 -0
- package/src/slices/QAndA/QAndA.stories.tsx +3 -2
- package/src/slices/QAndA/QAndA.test.tsx +3 -2
- package/src/slices/QAndA/QAndA.tsx +7 -6
- package/src/slices/QuoteCards/QuoteCards.stories.tsx +3 -2
- package/src/slices/QuoteCards/QuoteCards.test.tsx +5 -4
- package/src/slices/QuoteCards/QuoteCards.tsx +15 -13
- package/src/slices/RichTextSection/RichTextSection.stories.tsx +2 -1
- package/src/slices/RichTextSection/RichTextSection.test.tsx +2 -1
- package/src/slices/RichTextSection/RichTextSection.tsx +1 -0
- package/src/slices/ShopCheckout/ShopCheckout.stories.tsx +1 -0
- package/src/slices/ShopCheckout/ShopCheckout.test.tsx +3 -2
- package/src/slices/ShopCheckout/ShopCheckout.tsx +36 -29
- package/src/slices/SideBySideImages/SideBySideImages.stories.tsx +3 -2
- package/src/slices/SideBySideImages/SideBySideImages.test.tsx +3 -2
- package/src/slices/SideBySideImages/SideBySideImages.tsx +3 -2
- package/src/slices/SmallHero/SmallHero.stories.tsx +3 -2
- package/src/slices/SmallHero/SmallHero.test.tsx +3 -2
- package/src/slices/SmallHero/SmallHero.tsx +14 -7
- package/src/slices/Steps/Steps.stories.tsx +3 -2
- package/src/slices/Steps/Steps.test.tsx +3 -2
- package/src/slices/Steps/Steps.tsx +46 -26
- package/src/slices/TextCardGrid/TextCardGrid.stories.tsx +3 -2
- package/src/slices/TextCardGrid/TextCardGrid.test.tsx +3 -2
- package/src/slices/TextCardGrid/TextCardGrid.tsx +6 -5
- package/src/slices/TextCarousel/TextCarousel.stories.tsx +3 -2
- package/src/slices/TextCarousel/TextCarousel.test.tsx +4 -3
- package/src/slices/TextCarousel/TextCarousel.tsx +6 -6
- package/src/slices/TextCarousel/styles.ts +9 -6
- package/src/slices/TextWithCard/TextWithCard.stories.tsx +3 -2
- package/src/slices/TextWithCard/TextWithCard.test.tsx +3 -2
- package/src/slices/TextWithCard/TextWithCard.tsx +5 -4
- package/src/slices/TextWithTextCards/TextWithTextCards.stories.tsx +3 -2
- package/src/slices/TextWithTextCards/TextWithTextCards.test.tsx +4 -3
- package/src/slices/TextWithTextCards/TextWithTextCards.tsx +22 -11
- package/src/slices/Video/Video.stories.tsx +2 -1
- package/src/slices/Video/Video.test.tsx +2 -1
- package/src/slices/Video/Video.tsx +1 -0
- package/src/test/integrationMocks/fpmProjectMock.ts +1 -1
- package/src/test/mocks/portfolioProjectMock.ts +3 -3
- package/src/test/storybookMocks/storybookStrapiMedia.ts +2 -2
- package/src/test/strapiMocks/minimalGlobalData.ts +2 -2
- package/src/test/strapiMocks/strapiBlogPost.ts +2 -2
- package/src/test/strapiMocks/strapiContact.ts +1 -1
- package/src/test/strapiMocks/strapiCustomerStory.ts +2 -2
- package/src/test/strapiMocks/strapiHeroCard.ts +1 -1
- package/src/test/strapiMocks/strapiLinkPage.ts +2 -2
- package/src/test/strapiMocks/strapiMedia.ts +2 -2
- package/src/test/strapiMocks/strapiMetadata.ts +1 -1
- package/src/test/strapiMocks/strapiPage.ts +2 -2
- package/src/test/strapiMocks/strapiPortfolioCard.ts +1 -1
- package/src/test/strapiMocks/strapiPortfolioMock.ts +2 -2
- package/src/test/strapiMocks/strapiProject.ts +3 -3
- package/src/test/strapiMocks/strapiProjectCard.ts +1 -1
- package/src/test/strapiMocks/strapiQuoteCard.ts +1 -1
- package/src/test/testUtils.tsx +3 -3
- package/src/utils/mergeBoundingBoxes.ts +1 -1
- package/src/utils/strapiLinkUrl.test.ts +1 -1
- package/src/utils/strapiLinkUrl.ts +1 -1
- package/src/utils/strapiMediaUrl.test.ts +2 -2
- package/src/utils/strapiMediaUrl.ts +4 -4
- package/dist/slices/BlogCards/BlogCards.stories.d.ts +0 -5
- package/dist/slices/Comparison/Comparison.stories.d.ts +0 -6
- package/dist/slices/Cta/Cta.stories.d.ts +0 -9
- package/dist/slices/CtaOnly/CtaOnly.stories.d.ts +0 -3
- package/dist/slices/CustomerStories/CustomerStories.stories.d.ts +0 -3
- package/dist/slices/Facts/Facts.stories.d.ts +0 -7
- package/dist/slices/FullWidthHighlightQuote/FullWidthHighlightQuote.stories.d.ts +0 -4
- package/dist/slices/FullWidthImage/FullWidthImage.stories.d.ts +0 -5
- package/dist/slices/FullWidthImage/styles.d.ts +0 -5
- package/dist/slices/FullWidthImageSlider/FullWidthImageSlider.stories.d.ts +0 -3
- package/dist/slices/Glossary/Glossary.stories.d.ts +0 -3
- package/dist/slices/Hero/Hero.stories.d.ts +0 -9
- package/dist/slices/Hero/styles.d.ts +0 -17
- package/dist/slices/IconGrid/IconGrid.stories.d.ts +0 -5
- package/dist/slices/IconGrid/styles.d.ts +0 -9
- package/dist/slices/ImageGrid/ImageGrid.stories.d.ts +0 -5
- package/dist/slices/ImageGrid/styles.d.ts +0 -5
- package/dist/slices/ImageTextSequence/ImageTextSequence.stories.d.ts +0 -7
- package/dist/slices/ImageTextSequence/styles.d.ts +0 -13
- package/dist/slices/LeftTextRightCard/LeftTextRightCard.stories.d.ts +0 -8
- package/dist/slices/LinkCardsGrid/LinkCardsGrid.stories.d.ts +0 -5
- package/dist/slices/LogoGridWithText/LogoGridWithText.stories.d.ts +0 -6
- package/dist/slices/LogoGridWithText/styles.d.ts +0 -5
- package/dist/slices/MapHero/MapHero.stories.d.ts +0 -8
- package/dist/slices/ProjectFacts/ProjectFacts.stories.d.ts +0 -6
- package/dist/slices/ProjectsGrid/ProjectsGrid.stories.d.ts +0 -3
- package/dist/slices/ProjectsMap/ProjectsMap.stories.d.ts +0 -6
- package/dist/slices/QAndA/QAndA.stories.d.ts +0 -7
- package/dist/slices/QuoteCards/QuoteCards.stories.d.ts +0 -8
- package/dist/slices/QuoteCards/styles.d.ts +0 -13
- package/dist/slices/RichTextSection/RichTextSection.stories.d.ts +0 -3
- package/dist/slices/ShopCheckout/ShopCheckout.stories.d.ts +0 -7
- package/dist/slices/SideBySideImages/SideBySideImages.stories.d.ts +0 -3
- package/dist/slices/SmallHero/SmallHero.stories.d.ts +0 -11
- package/dist/slices/SmallHero/styles.d.ts +0 -9
- package/dist/slices/Steps/Steps.stories.d.ts +0 -7
- package/dist/slices/Steps/styles.d.ts +0 -25
- package/dist/slices/TextCardGrid/TextCardGrid.stories.d.ts +0 -8
- package/dist/slices/TextCarousel/TextCarousel.stories.d.ts +0 -6
- package/dist/slices/TextWithCard/TextWithCard.stories.d.ts +0 -9
- package/dist/slices/TextWithTextCards/TextWithTextCards.stories.d.ts +0 -7
- package/dist/slices/TextWithTextCards/styles.d.ts +0 -5
- package/dist/slices/Video/Video.stories.d.ts +0 -3
- package/src/slices/FullWidthImage/styles.ts +0 -17
- package/src/slices/Hero/styles.ts +0 -52
- package/src/slices/IconGrid/styles.ts +0 -21
- package/src/slices/ImageGrid/styles.ts +0 -12
- package/src/slices/ImageTextSequence/styles.ts +0 -33
- package/src/slices/LogoGridWithText/styles.ts +0 -13
- package/src/slices/QuoteCards/styles.ts +0 -17
- package/src/slices/SmallHero/styles.ts +0 -39
- package/src/slices/Steps/styles.ts +0 -64
- package/src/slices/TextWithTextCards/styles.ts +0 -26
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Locale from '../../models/Locale';
|
|
3
|
+
export declare const IntlContext: React.Context<import("react-intl").IntlShape>;
|
|
4
|
+
export interface ContextProviderProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
locale: Locale;
|
|
7
|
+
}
|
|
8
|
+
export declare const ContextProvider: React.FC<ContextProviderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContextProvider, IntlContext } from './ContextProvider';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import CreditsAvailableState from '../../models/CreditsAvailableState';
|
|
2
3
|
export interface CreditsAvailableBadgeProps {
|
|
3
4
|
status: CreditsAvailableState;
|
|
4
5
|
href?: string;
|
|
5
6
|
}
|
|
6
|
-
declare const CreditsAvailableBadge: ({ status, href, }: CreditsAvailableBadgeProps) =>
|
|
7
|
+
declare const CreditsAvailableBadge: ({ status, href, }: CreditsAvailableBadgeProps) => React.JSX.Element;
|
|
7
8
|
export default CreditsAvailableBadge;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
2
3
|
export interface FullScreenImageProps {
|
|
3
4
|
images: StrapiImage[];
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
onClose: () => void;
|
|
6
7
|
openIndex?: number;
|
|
7
8
|
}
|
|
8
|
-
export declare const FullScreenImage: ({ images, isOpen, onClose, openIndex, }: FullScreenImageProps) =>
|
|
9
|
+
export declare const FullScreenImage: ({ images, isOpen, onClose, openIndex, }: FullScreenImageProps) => React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import StrapiImage from '
|
|
1
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface ZoomableImageProps {
|
|
3
4
|
image: StrapiImage;
|
|
4
5
|
zoom?: number;
|
|
5
6
|
}
|
|
6
|
-
declare const ZoomableImage: ({ image, zoom }: ZoomableImageProps) =>
|
|
7
|
+
declare const ZoomableImage: ({ image, zoom }: ZoomableImageProps) => React.JSX.Element;
|
|
7
8
|
export default ZoomableImage;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface MinimalProvidersProps {
|
|
3
3
|
locale: string;
|
|
4
4
|
children: JSX.Element | JSX.Element[];
|
|
5
5
|
}
|
|
6
|
-
declare const MinimalProviders: ({ children, locale }: MinimalProvidersProps) =>
|
|
6
|
+
declare const MinimalProviders: ({ children, locale }: MinimalProvidersProps) => React.JSX.Element;
|
|
7
7
|
export default MinimalProviders;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import StrapiBlogPost from '
|
|
3
|
-
import IStrapiData from '
|
|
4
|
-
import PortfolioProject from '
|
|
5
|
-
import StrapiCustomerStory from '
|
|
2
|
+
import StrapiBlogPost from '../../models/strapi/StrapiBlogPost';
|
|
3
|
+
import IStrapiData from '../../models/strapi/IStrapiData';
|
|
4
|
+
import PortfolioProject from '../../models/PortfolioProject';
|
|
5
|
+
import StrapiCustomerStory from '../../models/strapi/StrapiCustomerStory';
|
|
6
|
+
import Locale from '../../models/Locale';
|
|
6
7
|
export interface SliceRendererProps {
|
|
7
8
|
slices: any;
|
|
8
9
|
blogPosts: IStrapiData<StrapiBlogPost>[];
|
|
9
10
|
projects: PortfolioProject[];
|
|
10
11
|
customerStories: IStrapiData<StrapiCustomerStory>[];
|
|
12
|
+
locale?: Locale;
|
|
11
13
|
}
|
|
12
|
-
export declare const SliceRenderer: ({ slices, blogPosts, projects, customerStories, }: SliceRendererProps) => JSX.Element;
|
|
14
|
+
export declare const SliceRenderer: ({ slices, blogPosts, projects, customerStories, locale, }: SliceRendererProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
3
3
|
export interface StrapiLinkButtonProps {
|
|
4
4
|
link: StrapiLink;
|
|
5
5
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiLinkWithIcon from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiLinkWithIcon from '../../models/strapi/StrapiLinkWithIcon';
|
|
3
3
|
import { StrapiLinkButtonProps } from '../StrapiLinkButton/StrapiLinkButton';
|
|
4
4
|
export interface StrapiLinkButtonWithIconProps extends Omit<StrapiLinkButtonProps, 'link'> {
|
|
5
5
|
link: StrapiLinkWithIcon;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImage from '
|
|
3
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../../models/strapi/StrapiImage';
|
|
3
|
+
import StrapiLink from '../../../models/strapi/StrapiLink';
|
|
4
4
|
export interface ContactProps {
|
|
5
5
|
avatar?: StrapiImage;
|
|
6
6
|
title?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import PortfolioProject from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PortfolioProject from '../../../models/PortfolioProject';
|
|
3
3
|
export interface ProjectInfoProps {
|
|
4
4
|
project: PortfolioProject;
|
|
5
5
|
subtitles: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiLink from '../../../models/strapi/StrapiLink';
|
|
2
3
|
export interface SmallCheckoutProps {
|
|
3
4
|
batchId: string;
|
|
4
5
|
pricePerKg: number;
|
|
@@ -9,5 +10,5 @@ export interface SmallCheckoutProps {
|
|
|
9
10
|
subtitle?: string;
|
|
10
11
|
button?: StrapiLink;
|
|
11
12
|
}
|
|
12
|
-
declare const SmallCheckout: ({ pricePerKg, currency, batchId, initialContributionValue, checkoutText, title, subtitle, button, }: SmallCheckoutProps) =>
|
|
13
|
+
declare const SmallCheckout: ({ pricePerKg, currency, batchId, initialContributionValue, checkoutText, title, subtitle, button, }: SmallCheckoutProps) => React.JSX.Element;
|
|
13
14
|
export default SmallCheckout;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiBlogPost from '
|
|
3
|
-
import IStrapiData from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiBlogPost from '../../models/strapi/StrapiBlogPost';
|
|
3
|
+
import IStrapiData from '../../models/strapi/IStrapiData';
|
|
4
4
|
export interface BlogProps {
|
|
5
5
|
slice: {
|
|
6
6
|
blog_posts: IStrapiData<StrapiBlogPost>[];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const BlogItemContainer: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
export declare const BlogItemContainer: import("@emotion/styled").StyledComponent<import("@chakra-ui/system/dist/system.types").MergeWithAs<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, any, import("@chakra-ui/layout/dist/link").LinkProps, import("@chakra-ui/system/dist/system.types").As> & {
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const ImageContainer: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
export declare const ImageContainer: 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> & {
|
|
7
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
}, {}, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiBlogPost from '
|
|
3
|
-
import IStrapiData from '
|
|
4
|
-
import StrapiCategory from '
|
|
5
|
-
import IStrapi from '
|
|
6
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiBlogPost from '../../models/strapi/StrapiBlogPost';
|
|
3
|
+
import IStrapiData from '../../models/strapi/IStrapiData';
|
|
4
|
+
import StrapiCategory from '../../models/strapi/StrapiCategory';
|
|
5
|
+
import IStrapi from '../../models/strapi/IStrapi';
|
|
6
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
7
7
|
export interface BlogCardsProps {
|
|
8
8
|
slice: {
|
|
9
9
|
tagline: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImage from '
|
|
3
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
3
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
4
4
|
export interface ComparisonProps {
|
|
5
5
|
slice: {
|
|
6
6
|
title?: string;
|
package/dist/slices/Cta/Cta.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiButtonWithVariant from '
|
|
3
|
-
import StrapiImage from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiButtonWithVariant from '../../models/strapi/StrapiButtonWithVariant';
|
|
3
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
4
4
|
type Variant = 'gray' | 'green' | 'white';
|
|
5
5
|
export interface CtaProps {
|
|
6
6
|
slice: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import IStrapiData from '
|
|
3
|
-
import StrapiCustomerStory from '
|
|
2
|
+
import IStrapiData from '../../models/strapi/IStrapiData';
|
|
3
|
+
import StrapiCustomerStory from '../../models/strapi/StrapiCustomerStory';
|
|
4
4
|
export interface CustomerStoriesProps {
|
|
5
5
|
slice: {
|
|
6
6
|
customer_stories: IStrapiData<StrapiCustomerStory>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiAvatarWithName from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiAvatarWithName from '../../models/strapi/StrapiAvatarWithName';
|
|
3
3
|
export interface FullWidthHighlightQuoteProps {
|
|
4
4
|
slice: {
|
|
5
5
|
tagline?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiDefaultHeader from '
|
|
3
|
-
import StrapiImage from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
|
|
3
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
4
4
|
interface FullWidthImageSlice extends StrapiDefaultHeader {
|
|
5
5
|
image: StrapiImage;
|
|
6
6
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
|
-
export declare const SliderContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
export declare const SliderContainer: 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> & {
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
}, {}, {}>;
|
|
7
6
|
interface ButtonsContainerProps {
|
|
8
7
|
show: boolean;
|
|
9
8
|
}
|
|
10
|
-
export declare const ButtonsContainer: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
export declare const ButtonsContainer: 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> & {
|
|
11
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
|
|
13
|
-
} & ButtonsContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
}) & ButtonsContainerProps, {}, {}>;
|
|
14
12
|
interface SliderInnerContainerProps {
|
|
15
13
|
imageCount: number;
|
|
16
14
|
}
|
|
@@ -27,7 +25,7 @@ export declare const SliderInnerContainer: import("@emotion/styled").StyledCompo
|
|
|
27
25
|
accessKey?: string | undefined;
|
|
28
26
|
autoFocus?: boolean | undefined;
|
|
29
27
|
className?: string | undefined;
|
|
30
|
-
contentEditable?:
|
|
28
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
31
29
|
contextMenu?: string | undefined;
|
|
32
30
|
dir?: string | undefined;
|
|
33
31
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -65,7 +63,7 @@ export declare const SliderInnerContainer: import("@emotion/styled").StyledCompo
|
|
|
65
63
|
is?: string | undefined;
|
|
66
64
|
"aria-activedescendant"?: string | undefined;
|
|
67
65
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
68
|
-
"aria-autocomplete"?: "
|
|
66
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
69
67
|
"aria-braillelabel"?: string | undefined;
|
|
70
68
|
"aria-brailleroledescription"?: string | undefined;
|
|
71
69
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -116,7 +114,6 @@ export declare const SliderInnerContainer: import("@emotion/styled").StyledCompo
|
|
|
116
114
|
"aria-valuemin"?: number | undefined;
|
|
117
115
|
"aria-valuenow"?: number | undefined;
|
|
118
116
|
"aria-valuetext"?: string | undefined;
|
|
119
|
-
children?: import("react").ReactNode;
|
|
120
117
|
dangerouslySetInnerHTML?: {
|
|
121
118
|
__html: string | TrustedHTML;
|
|
122
119
|
} | undefined;
|
|
@@ -281,15 +278,13 @@ export declare const SliderInnerContainer: import("@emotion/styled").StyledCompo
|
|
|
281
278
|
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
282
279
|
theme?: import("@emotion/react").Theme | undefined;
|
|
283
280
|
} & SliderInnerContainerProps, {}, {}>;
|
|
284
|
-
export declare const ItemContainer: import("@emotion/styled").StyledComponent<{
|
|
281
|
+
export declare const ItemContainer: 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> & {
|
|
285
282
|
theme?: import("@emotion/react").Theme | undefined;
|
|
286
|
-
|
|
287
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
283
|
+
}, {}, {}>;
|
|
288
284
|
interface ImageContainerProps {
|
|
289
285
|
aspectRatio: number;
|
|
290
286
|
}
|
|
291
|
-
export declare const ImageContainer: import("@emotion/styled").StyledComponent<{
|
|
287
|
+
export declare const ImageContainer: 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> & {
|
|
292
288
|
theme?: import("@emotion/react").Theme | undefined;
|
|
293
|
-
|
|
294
|
-
} & ImageContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
289
|
+
}) & ImageContainerProps, {}, {}>;
|
|
295
290
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import IStrapiData from '
|
|
3
|
-
import StrapiGlossaryItem from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import IStrapiData from '../../models/strapi/IStrapiData';
|
|
3
|
+
import StrapiGlossaryItem from '../../models/strapi/StrapiGlossaryItem';
|
|
4
4
|
export interface GlossaryProps {
|
|
5
5
|
slice: {
|
|
6
6
|
glossary_items: IStrapiData<StrapiGlossaryItem>[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImage from '
|
|
3
|
-
import StrapiLink from '
|
|
4
|
-
import StrapiButtonWithVariant from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
3
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
4
|
+
import StrapiButtonWithVariant from '../../models/strapi/StrapiButtonWithVariant';
|
|
5
5
|
export interface HeroProps {
|
|
6
6
|
slice: {
|
|
7
7
|
tagline?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImage from '
|
|
3
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
3
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
4
4
|
export interface IconGridProps {
|
|
5
5
|
slice: {
|
|
6
6
|
tagline?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiDefaultHeader from '
|
|
3
|
-
import StrapiImage from '
|
|
4
|
-
import StrapiLinkWithIcon from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiDefaultHeader from '../../models/strapi/StrapiDefaultHeader';
|
|
3
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
4
|
+
import StrapiLinkWithIcon from '../../models/strapi/StrapiLinkWithIcon';
|
|
5
5
|
interface ImageGridSlice extends StrapiDefaultHeader {
|
|
6
6
|
images: {
|
|
7
7
|
id: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiDefaultHeader from '
|
|
3
|
-
import StrapiImage from '
|
|
4
|
-
import StrapiLink from '
|
|
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
5
|
interface ImageTextSequenceSlice extends StrapiDefaultHeader {
|
|
6
6
|
imageTextRows: {
|
|
7
7
|
id: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiPortfolioCard from '
|
|
3
|
-
import StrapiDefaultHeader from '
|
|
4
|
-
import StrapiLink from '
|
|
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
5
|
interface LeftTextRightCardSlice extends StrapiDefaultHeader {
|
|
6
6
|
checkMarkLabels?: {
|
|
7
7
|
id: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImageWithLink from '
|
|
3
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImageWithLink from '../../models/strapi/StrapiImageWithLink';
|
|
3
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
4
4
|
export interface LogoGridWithTextProps {
|
|
5
5
|
slice: {
|
|
6
6
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiImage from '
|
|
3
|
-
import StrapiLink from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiImage from '../../models/strapi/StrapiImage';
|
|
3
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
4
4
|
export interface MapHeroProps {
|
|
5
5
|
slice: {
|
|
6
6
|
tagline?: string;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const MapHeroContainer: import("@emotion/styled").StyledComponent<{
|
|
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
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const MapHeroTextContainer: import("@emotion/styled").StyledComponent<{
|
|
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> & {
|
|
7
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const ShapeContainer: import("@emotion/styled").StyledComponent<{
|
|
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> & {
|
|
11
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const MapContainer: import("@emotion/styled").StyledComponent<{
|
|
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> & {
|
|
15
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export declare const MapGradient: import("@emotion/styled").StyledComponent<{
|
|
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> & {
|
|
19
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
|
|
21
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
+
}, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiLink from '
|
|
3
|
-
import PortfolioProject from '
|
|
4
|
-
import StrapiImage from '
|
|
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
5
|
export interface ProjectFactsProps {
|
|
6
6
|
project?: PortfolioProject;
|
|
7
7
|
slice: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiProjectCard from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiProjectCard from '../../models/strapi/StrapiProjectCard';
|
|
3
3
|
export interface ProjectsGridProps {
|
|
4
4
|
slice: {
|
|
5
5
|
projects: StrapiProjectCard[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import CreditsAvailableState from '../../models/CreditsAvailableState';
|
|
2
3
|
export interface MapMarkerProps {
|
|
3
4
|
title: string;
|
|
4
5
|
isPublic?: boolean;
|
|
@@ -6,5 +7,5 @@ export interface MapMarkerProps {
|
|
|
6
7
|
slug?: string;
|
|
7
8
|
creditsAvailable?: CreditsAvailableState;
|
|
8
9
|
}
|
|
9
|
-
declare const MapMarker: ({ title, projectDeveloper, slug, creditsAvailable, isPublic, }: MapMarkerProps) =>
|
|
10
|
+
declare const MapMarker: ({ title, projectDeveloper, slug, creditsAvailable, isPublic, }: MapMarkerProps) => React.JSX.Element;
|
|
10
11
|
export default MapMarker;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import PortfolioProject from '
|
|
3
|
-
import 'mapbox-gl/dist/mapbox-gl.css';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PortfolioProject from '../../models/PortfolioProject';
|
|
4
3
|
export interface ProjectsMapProps {
|
|
5
4
|
slice: {
|
|
6
5
|
tagline?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiLink from '
|
|
3
|
-
import StrapiHeroCard from '
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StrapiLink from '../../models/strapi/StrapiLink';
|
|
3
|
+
import StrapiHeroCard from '../../models/strapi/StrapiHeroCard';
|
|
4
4
|
declare const VARIANTS: {
|
|
5
5
|
gray: {
|
|
6
6
|
backgroundColor: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import StrapiDefaultHeader from '
|
|
3
|
-
import StrapiQuoteCard from '
|
|
4
|
-
import StrapiHeroCard from '
|
|
5
|
-
import StrapiImage from '
|
|
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
6
|
interface QuoteCardsSlice extends StrapiDefaultHeader {
|
|
7
7
|
cards: StrapiQuoteCard[];
|
|
8
8
|
shapes?: StrapiImage[];
|