@city-of-helsinki/react-helsinki-headless-cms 3.0.0-rc.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +21 -0
- package/dist/README.md +442 -0
- package/dist/__generated__-mcycL1jB.d.ts +7192 -0
- package/dist/apollo.d.ts +168 -0
- package/dist/apollo.js +194 -0
- package/dist/apollo.js.map +1 -0
- package/dist/archiveSearchPageContent.module-DmpLBZP5.js +4078 -0
- package/dist/archiveSearchPageContent.module-DmpLBZP5.js.map +1 -0
- package/dist/cjs/apollo.js +227 -0
- package/dist/cjs/apollo.js.map +1 -0
- package/dist/cjs/archiveSearchPageContent.module-Hcb4WVMf.js +4143 -0
- package/dist/cjs/archiveSearchPageContent.module-Hcb4WVMf.js.map +1 -0
- package/dist/cjs/defaultConfig-dV2AVA5S.js +19908 -0
- package/dist/cjs/defaultConfig-dV2AVA5S.js.map +1 -0
- package/dist/cjs/index-Eg-NhhyT.js +799 -0
- package/dist/cjs/index-Eg-NhhyT.js.map +1 -0
- package/dist/cjs/index.js +439 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/jest-setup.d.ts +1 -0
- package/dist/cjs/nextjs.js +74 -0
- package/dist/cjs/nextjs.js.map +1 -0
- package/dist/cjs/src/apollo/apollo-custom-template.stories.d.ts +12 -0
- package/dist/cjs/src/apollo/apollo.stories.d.ts +24 -0
- package/dist/cjs/src/apollo/index.d.ts +17 -0
- package/dist/cjs/src/apollo/navigation/Navigation.d.ts +13 -0
- package/dist/cjs/src/apollo/navigation/__tests__/Navigation.test.d.ts +1 -0
- package/dist/cjs/src/apollo/notification/Notification.d.ts +4 -0
- package/dist/cjs/src/apollo/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/cjs/src/apollo/page/ApolloPageContextProvider.d.ts +5 -0
- package/dist/cjs/src/apollo/page/Page.d.ts +14 -0
- package/dist/cjs/src/apollo/page/apolloPageContext.d.ts +13 -0
- package/dist/cjs/src/apollo/page/useApolloPageContext.d.ts +4 -0
- package/dist/cjs/src/apollo/pageContent/PageContent.d.ts +9 -0
- package/dist/cjs/src/apollo/pageWithTemplateContent/PageWithTemplateContent.d.ts +14 -0
- package/dist/cjs/src/common/components/container/Container.d.ts +13 -0
- package/dist/cjs/src/common/components/grid/Grid.d.ts +16 -0
- package/dist/cjs/src/common/components/grid/Grid.stories.d.ts +8 -0
- package/dist/cjs/src/common/components/htmlToReact/HtmlToReact.d.ts +38 -0
- package/dist/cjs/src/common/components/htmlToReact/HtmlToReact.stories.d.ts +13 -0
- package/dist/cjs/src/common/components/htmlToReact/__tests__/HtmlToReact.tests.d.ts +1 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/DefaultH2.d.ts +4 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/DefaultP.d.ts +4 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/IframeForEmbeddedMedia.d.ts +6 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/index.d.ts +3 -0
- package/dist/cjs/src/common/components/icons/index.d.ts +5 -0
- package/dist/cjs/src/common/components/list/List.d.ts +13 -0
- package/dist/cjs/src/common/components/list/List.stories.d.ts +13 -0
- package/dist/cjs/src/common/components/tag/Tag.d.ts +26 -0
- package/dist/cjs/src/common/components/tag/Tag.stories.d.ts +80 -0
- package/dist/cjs/src/common/components/tag/__tests__/Tag.test.d.ts +1 -0
- package/dist/cjs/src/common/components/tag/tagThemes.d.ts +3 -0
- package/dist/cjs/src/common/components/text/Text.d.ts +27 -0
- package/dist/cjs/src/common/components/text/Text.stories.d.ts +14 -0
- package/dist/cjs/src/common/constants.d.ts +2 -0
- package/dist/cjs/src/common/eventsService/__generated__.d.ts +1420 -0
- package/dist/cjs/src/common/eventsService/events.d.ts +12 -0
- package/dist/cjs/src/common/eventsService/types.d.ts +2 -0
- package/dist/cjs/src/common/eventsService/utils.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/__generated__.d.ts +20878 -0
- package/dist/cjs/src/common/headlessService/article.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/articles.d.ts +17 -0
- package/dist/cjs/src/common/headlessService/categories.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/category.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/constants.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/landingPage.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/languages.d.ts +8 -0
- package/dist/cjs/src/common/headlessService/makeQueryWithApolloClientFromConfig.d.ts +12 -0
- package/dist/cjs/src/common/headlessService/menu.d.ts +10 -0
- package/dist/cjs/src/common/headlessService/notification.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/page.d.ts +8 -0
- package/dist/cjs/src/common/headlessService/pageByTemplate.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/pages.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/tag.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/tags.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/types.d.ts +17 -0
- package/dist/cjs/src/common/headlessService/utils.d.ts +909 -0
- package/dist/cjs/src/common/utils/customRender.d.ts +4 -0
- package/dist/cjs/src/common/utils/dates.d.ts +20 -0
- package/dist/cjs/src/common/utils/getIsValidHttpUrl.d.ts +5 -0
- package/dist/cjs/src/common/utils/hash.d.ts +1 -0
- package/dist/cjs/src/common/utils/makeLocaleStorageValue.d.ts +6 -0
- package/dist/cjs/src/common/utils/testImage.d.ts +9 -0
- package/dist/cjs/src/common/venuesService/__generated__.d.ts +254 -0
- package/dist/cjs/src/common/venuesService/makeQueryWithVenuesApolloClientFromConfig.d.ts +7 -0
- package/dist/cjs/src/common/venuesService/types.d.ts +2 -0
- package/dist/cjs/src/constants.d.ts +5 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchivePageMeta.d.ts +13 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchiveSearchPage.d.ts +16 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchiveSearchPage.stories.d.ts +50 -0
- package/dist/cjs/src/core/archiveSearchPageContent/ArchiveSearchPageContent.d.ts +92 -0
- package/dist/cjs/src/core/button/LoadingButton.d.ts +8 -0
- package/dist/cjs/src/core/card/Card.d.ts +102 -0
- package/dist/cjs/src/core/card/Card.stories.d.ts +99 -0
- package/dist/cjs/src/core/card/LargeCard.d.ts +68 -0
- package/dist/cjs/src/core/card/LargeCard.stories.d.ts +16 -0
- package/dist/cjs/src/core/cardsList/CardsList.d.ts +16 -0
- package/dist/cjs/src/core/cardsList/CardsList.stories.d.ts +22 -0
- package/dist/cjs/src/core/carousel/Carousel.d.ts +3 -0
- package/dist/cjs/src/core/carousel/Carousel.stories.d.ts +34 -0
- package/dist/cjs/src/core/carousel/__tests__/Carousel.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/CarouselSlideButton.d.ts +3 -0
- package/dist/cjs/src/core/carousel/components/CarouselSlider.d.ts +3 -0
- package/dist/cjs/src/core/carousel/components/CarouselSliderDot.d.ts +2 -0
- package/dist/cjs/src/core/carousel/components/CarouselSliderPage.d.ts +5 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSlideButton.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSlider.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSliderDot.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSliderPage.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/constants.d.ts +20 -0
- package/dist/cjs/src/core/carousel/context/CarouselContext.d.ts +4 -0
- package/dist/cjs/src/core/carousel/context/CarouselContextProvider.d.ts +7 -0
- package/dist/cjs/src/core/carousel/types.d.ts +147 -0
- package/dist/cjs/src/core/carousel/utils/utils.d.ts +27 -0
- package/dist/cjs/src/core/collection/Collection.d.ts +102 -0
- package/dist/cjs/src/core/collection/Collection.stories.d.ts +48 -0
- package/dist/cjs/src/core/collection/__tests__/Collection.test.d.ts +1 -0
- package/dist/cjs/src/core/collection/constants.d.ts +1 -0
- package/dist/cjs/src/core/collection/types.d.ts +28 -0
- package/dist/cjs/src/core/collection/utils.d.ts +36 -0
- package/dist/cjs/src/core/configProvider/ConfigProvider.d.ts +13 -0
- package/dist/cjs/src/core/configProvider/configContext.d.ts +130 -0
- package/dist/cjs/src/core/configProvider/defaultConfig.d.ts +61 -0
- package/dist/cjs/src/core/configProvider/useApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/configProvider/useConfig.d.ts +2 -0
- package/dist/cjs/src/core/configProvider/useEventsApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/configProvider/useHeadlessCmsLink.d.ts +2 -0
- package/dist/cjs/src/core/configProvider/useVenuesApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/contentContainer/ContentContainer.d.ts +12 -0
- package/dist/cjs/src/core/contentContainer/ContentContainer.stories.d.ts +8 -0
- package/dist/cjs/src/core/hero/Hero.d.ts +33 -0
- package/dist/cjs/src/core/hero/Hero.stories.d.ts +23 -0
- package/dist/cjs/src/core/hooks/useResolveImageUrl.d.ts +6 -0
- package/dist/cjs/src/core/image/BackgroundImage.d.ts +20 -0
- package/dist/cjs/src/core/image/Image.d.ts +24 -0
- package/dist/cjs/src/core/image/__tests__/BackgroundImage.test.d.ts +1 -0
- package/dist/cjs/src/core/image/__tests__/Image.test.d.ts +1 -0
- package/dist/cjs/src/core/imageGallery/ImageGallery.d.ts +25 -0
- package/dist/cjs/src/core/imageGallery/ImageGalleryContext.d.ts +32 -0
- package/dist/cjs/src/core/imageGallery/ImageGalleryProvider.d.ts +10 -0
- package/dist/cjs/src/core/imageGallery/ImageItem.d.ts +26 -0
- package/dist/cjs/src/core/imageGallery/ImagesGrid.d.ts +26 -0
- package/dist/cjs/src/core/imageGallery/Lightbox.d.ts +24 -0
- package/dist/cjs/src/core/imageGallery/types.d.ts +6 -0
- package/dist/cjs/src/core/imageGallery/useImageGalleryContext.d.ts +1 -0
- package/dist/cjs/src/core/index.d.ts +43 -0
- package/dist/cjs/src/core/language/__tests__/languageSorter.test.d.ts +1 -0
- package/dist/cjs/src/core/language/constants.d.ts +6 -0
- package/dist/cjs/src/core/language/findLanguage.d.ts +10 -0
- package/dist/cjs/src/core/language/index.d.ts +6 -0
- package/dist/cjs/src/core/language/languageSorter.d.ts +4 -0
- package/dist/cjs/src/core/language/toPrimaryLanguageOption.d.ts +5 -0
- package/dist/cjs/src/core/language/typeGuards.d.ts +3 -0
- package/dist/cjs/src/core/language/types.d.ts +5 -0
- package/dist/cjs/src/core/link/Link.d.ts +44 -0
- package/dist/cjs/src/core/link/Link.stories.d.ts +33 -0
- package/dist/cjs/src/core/link/LinkBase.d.ts +106 -0
- package/dist/cjs/src/core/link/SecondaryLink.d.ts +3 -0
- package/dist/cjs/src/core/link/__tests__/Link.test.d.ts +1 -0
- package/dist/cjs/src/core/linkBox/Link.stories.d.ts +23 -0
- package/dist/cjs/src/core/linkBox/LinkBox.d.ts +20 -0
- package/dist/cjs/src/core/navigation/Navigation.d.ts +15 -0
- package/dist/cjs/src/core/notification/Notification.d.ts +9 -0
- package/dist/cjs/src/core/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/cjs/src/core/notification/utils/getIsNotificationActive.d.ts +2 -0
- package/dist/cjs/src/core/notification/utils/getNotificationHash.d.ts +2 -0
- package/dist/cjs/src/core/page/Page.d.ts +9 -0
- package/dist/cjs/src/core/page/Page.stories.d.ts +40 -0
- package/dist/cjs/src/core/pageContent/PageContent.d.ts +11 -0
- package/dist/cjs/src/core/pageContent/PageContent.stories.d.ts +1146 -0
- package/dist/cjs/src/core/pageContent/PageContentBreadcrumb.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/PageContentLayout.d.ts +16 -0
- package/dist/cjs/src/core/pageContent/PageMainContent.d.ts +11 -0
- package/dist/cjs/src/core/pageContent/__tests__/Page.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContent/meta/PageMeta.d.ts +9 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarCardsList.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContent.d.ts +15 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContentCard.d.ts +12 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContentLinkList.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarPostListItem.d.ts +8 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/__tests__/SidebarContent.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContent/types.d.ts +36 -0
- package/dist/cjs/src/core/pageContent/utils.d.ts +28 -0
- package/dist/cjs/src/core/pageContextProvider/PageContext.d.ts +6 -0
- package/dist/cjs/src/core/pageContextProvider/PageContextProvider.d.ts +6 -0
- package/dist/cjs/src/core/pageContextProvider/__tests__/PageContextProvider.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContextProvider/usePageContext.d.ts +1 -0
- package/dist/cjs/src/core/pageModules/CardModule/CardModule.d.ts +3 -0
- package/dist/cjs/src/core/pageModules/CardModule/CardModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/CardsModule/CardsModule.d.ts +17 -0
- package/dist/cjs/src/core/pageModules/CardsModule/CardsModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/CardsModule/Icon.d.ts +6 -0
- package/dist/cjs/src/core/pageModules/CardsModule/SimpleCard.d.ts +13 -0
- package/dist/cjs/src/core/pageModules/ContentModule/ContentModule.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/ContentModule/ContentModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.d.ts +3 -0
- package/dist/cjs/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/StepsModule/StepsModule.d.ts +14 -0
- package/dist/cjs/src/core/pageModules/StepsModule/StepsModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/constants.d.ts +1 -0
- package/dist/cjs/src/core/pageSection/PageSection.d.ts +32 -0
- package/dist/cjs/src/core/pageSection/PageSection.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageSection/__tests__/PageSection.test.d.ts +1 -0
- package/dist/cjs/src/core/storyContainer/StoryContainer.d.ts +6 -0
- package/dist/cjs/src/core/translation/__tests__/getTranslationWithFallback.test.d.ts +1 -0
- package/dist/cjs/src/core/translation/constants.d.ts +12 -0
- package/dist/cjs/src/core/translation/getTranslationWithFallback.d.ts +4 -0
- package/dist/cjs/src/core/translation/types.d.ts +8 -0
- package/dist/cjs/src/core/translation/useTranslationWithFallback.d.ts +4 -0
- package/dist/cjs/src/core/utils/__tests__/findAllElementsOfType.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/__tests__/getChildrenByType.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/__tests__/recursiveMap.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/createHashKey.d.ts +1 -0
- package/dist/cjs/src/core/utils/findAllElementsOfType.d.ts +5 -0
- package/dist/cjs/src/core/utils/getChildrenByType.d.ts +18 -0
- package/dist/cjs/src/core/utils/isTrustedOrigin.d.ts +1 -0
- package/dist/cjs/src/core/utils/recursiveMap.d.ts +15 -0
- package/dist/cjs/src/core/utils/string.d.ts +27 -0
- package/dist/cjs/src/core/utils/validateTrustedOriginsFormat.d.ts +1 -0
- package/dist/cjs/src/linkedEvents/utils/normalizeKey.d.ts +10 -0
- package/dist/cjs/src/linkedEvents/utils/normalizeKeys.d.ts +28 -0
- package/dist/cjs/src/mocks/handlers.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/languages.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/menu.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/notification.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/page.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/linkedEvents/eventList.d.ts +242 -0
- package/dist/cjs/src/mocks/queries/linkedEvents/eventsByIds.d.ts +224 -0
- package/dist/cjs/src/mocks/responses/linkedEvents/eventMocks.d.ts +1112 -0
- package/dist/cjs/src/mocks/server.d.ts +1 -0
- package/dist/cjs/src/nextjs/getLanguageStaticProps.d.ts +3 -0
- package/dist/cjs/src/nextjs/getMenuStaticProps.d.ts +7 -0
- package/dist/cjs/src/nextjs/getPageStaticProps.d.ts +7 -0
- package/dist/cjs/src/nextjs/index.d.ts +3 -0
- package/dist/cjs/src/storybook-common/HelmetWrapper.d.ts +4 -0
- package/dist/cjs/src/storybook-common/constants.d.ts +9 -0
- package/dist/cjs/src/storybook-common/useCmsEndpointConfig.d.ts +3 -0
- package/dist/cjs/src/tests/apolloConfig.d.ts +2 -0
- package/dist/cjs/src/tests/hideConsoleMessages.d.ts +11 -0
- package/dist/configContext-BjJVyERb.d.ts +791 -0
- package/dist/defaultConfig-B0wJw6Kr.js +19810 -0
- package/dist/defaultConfig-B0wJw6Kr.js.map +1 -0
- package/dist/index-B0pDvzoV.js +2 -0
- package/dist/index-B0pDvzoV.js.map +1 -0
- package/dist/index.d.ts +1432 -0
- package/dist/index.js +333 -0
- package/dist/index.js.map +1 -0
- package/dist/jest-setup.d.ts +1 -0
- package/dist/nextjs.d.ts +17 -0
- package/dist/nextjs.js +70 -0
- package/dist/nextjs.js.map +1 -0
- package/dist/package.json +182 -0
- package/dist/src/apollo/apollo-custom-template.stories.d.ts +12 -0
- package/dist/src/apollo/apollo.stories.d.ts +24 -0
- package/dist/src/apollo/index.d.ts +17 -0
- package/dist/src/apollo/navigation/Navigation.d.ts +13 -0
- package/dist/src/apollo/navigation/__tests__/Navigation.test.d.ts +1 -0
- package/dist/src/apollo/notification/Notification.d.ts +4 -0
- package/dist/src/apollo/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/src/apollo/page/ApolloPageContextProvider.d.ts +5 -0
- package/dist/src/apollo/page/Page.d.ts +14 -0
- package/dist/src/apollo/page/apolloPageContext.d.ts +13 -0
- package/dist/src/apollo/page/useApolloPageContext.d.ts +4 -0
- package/dist/src/apollo/pageContent/PageContent.d.ts +9 -0
- package/dist/src/apollo/pageWithTemplateContent/PageWithTemplateContent.d.ts +14 -0
- package/dist/src/common/components/container/Container.d.ts +13 -0
- package/dist/src/common/components/grid/Grid.d.ts +16 -0
- package/dist/src/common/components/grid/Grid.stories.d.ts +8 -0
- package/dist/src/common/components/htmlToReact/HtmlToReact.d.ts +38 -0
- package/dist/src/common/components/htmlToReact/HtmlToReact.stories.d.ts +13 -0
- package/dist/src/common/components/htmlToReact/__tests__/HtmlToReact.tests.d.ts +1 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/DefaultH2.d.ts +4 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/DefaultP.d.ts +4 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/IframeForEmbeddedMedia.d.ts +6 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/index.d.ts +3 -0
- package/dist/src/common/components/icons/index.d.ts +5 -0
- package/dist/src/common/components/list/List.d.ts +13 -0
- package/dist/src/common/components/list/List.stories.d.ts +13 -0
- package/dist/src/common/components/tag/Tag.d.ts +26 -0
- package/dist/src/common/components/tag/Tag.stories.d.ts +80 -0
- package/dist/src/common/components/tag/__tests__/Tag.test.d.ts +1 -0
- package/dist/src/common/components/tag/tagThemes.d.ts +3 -0
- package/dist/src/common/components/text/Text.d.ts +27 -0
- package/dist/src/common/components/text/Text.stories.d.ts +14 -0
- package/dist/src/common/constants.d.ts +2 -0
- package/dist/src/common/eventsService/__generated__.d.ts +1420 -0
- package/dist/src/common/eventsService/events.d.ts +12 -0
- package/dist/src/common/eventsService/types.d.ts +2 -0
- package/dist/src/common/eventsService/utils.d.ts +7 -0
- package/dist/src/common/headlessService/__generated__.d.ts +20878 -0
- package/dist/src/common/headlessService/article.d.ts +7 -0
- package/dist/src/common/headlessService/articles.d.ts +17 -0
- package/dist/src/common/headlessService/categories.d.ts +13 -0
- package/dist/src/common/headlessService/category.d.ts +9 -0
- package/dist/src/common/headlessService/constants.d.ts +7 -0
- package/dist/src/common/headlessService/landingPage.d.ts +9 -0
- package/dist/src/common/headlessService/languages.d.ts +8 -0
- package/dist/src/common/headlessService/makeQueryWithApolloClientFromConfig.d.ts +12 -0
- package/dist/src/common/headlessService/menu.d.ts +10 -0
- package/dist/src/common/headlessService/notification.d.ts +7 -0
- package/dist/src/common/headlessService/page.d.ts +8 -0
- package/dist/src/common/headlessService/pageByTemplate.d.ts +9 -0
- package/dist/src/common/headlessService/pages.d.ts +13 -0
- package/dist/src/common/headlessService/tag.d.ts +9 -0
- package/dist/src/common/headlessService/tags.d.ts +13 -0
- package/dist/src/common/headlessService/types.d.ts +17 -0
- package/dist/src/common/headlessService/utils.d.ts +909 -0
- package/dist/src/common/utils/customRender.d.ts +4 -0
- package/dist/src/common/utils/dates.d.ts +20 -0
- package/dist/src/common/utils/getIsValidHttpUrl.d.ts +5 -0
- package/dist/src/common/utils/hash.d.ts +1 -0
- package/dist/src/common/utils/makeLocaleStorageValue.d.ts +6 -0
- package/dist/src/common/utils/testImage.d.ts +9 -0
- package/dist/src/common/venuesService/__generated__.d.ts +254 -0
- package/dist/src/common/venuesService/makeQueryWithVenuesApolloClientFromConfig.d.ts +7 -0
- package/dist/src/common/venuesService/types.d.ts +2 -0
- package/dist/src/constants.d.ts +5 -0
- package/dist/src/core/archiveSearchPage/ArchivePageMeta.d.ts +13 -0
- package/dist/src/core/archiveSearchPage/ArchiveSearchPage.d.ts +16 -0
- package/dist/src/core/archiveSearchPage/ArchiveSearchPage.stories.d.ts +50 -0
- package/dist/src/core/archiveSearchPageContent/ArchiveSearchPageContent.d.ts +92 -0
- package/dist/src/core/button/LoadingButton.d.ts +8 -0
- package/dist/src/core/card/Card.d.ts +102 -0
- package/dist/src/core/card/Card.stories.d.ts +99 -0
- package/dist/src/core/card/LargeCard.d.ts +68 -0
- package/dist/src/core/card/LargeCard.stories.d.ts +16 -0
- package/dist/src/core/cardsList/CardsList.d.ts +16 -0
- package/dist/src/core/cardsList/CardsList.stories.d.ts +22 -0
- package/dist/src/core/carousel/Carousel.d.ts +3 -0
- package/dist/src/core/carousel/Carousel.stories.d.ts +34 -0
- package/dist/src/core/carousel/__tests__/Carousel.test.d.ts +1 -0
- package/dist/src/core/carousel/components/CarouselSlideButton.d.ts +3 -0
- package/dist/src/core/carousel/components/CarouselSlider.d.ts +3 -0
- package/dist/src/core/carousel/components/CarouselSliderDot.d.ts +2 -0
- package/dist/src/core/carousel/components/CarouselSliderPage.d.ts +5 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSlideButton.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSlider.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSliderDot.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSliderPage.test.d.ts +1 -0
- package/dist/src/core/carousel/constants.d.ts +20 -0
- package/dist/src/core/carousel/context/CarouselContext.d.ts +4 -0
- package/dist/src/core/carousel/context/CarouselContextProvider.d.ts +7 -0
- package/dist/src/core/carousel/types.d.ts +147 -0
- package/dist/src/core/carousel/utils/utils.d.ts +27 -0
- package/dist/src/core/collection/Collection.d.ts +102 -0
- package/dist/src/core/collection/Collection.stories.d.ts +48 -0
- package/dist/src/core/collection/__tests__/Collection.test.d.ts +1 -0
- package/dist/src/core/collection/constants.d.ts +1 -0
- package/dist/src/core/collection/types.d.ts +28 -0
- package/dist/src/core/collection/utils.d.ts +36 -0
- package/dist/src/core/configProvider/ConfigProvider.d.ts +13 -0
- package/dist/src/core/configProvider/configContext.d.ts +130 -0
- package/dist/src/core/configProvider/defaultConfig.d.ts +61 -0
- package/dist/src/core/configProvider/useApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/configProvider/useConfig.d.ts +2 -0
- package/dist/src/core/configProvider/useEventsApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/configProvider/useHeadlessCmsLink.d.ts +2 -0
- package/dist/src/core/configProvider/useVenuesApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/contentContainer/ContentContainer.d.ts +12 -0
- package/dist/src/core/contentContainer/ContentContainer.stories.d.ts +8 -0
- package/dist/src/core/hero/Hero.d.ts +33 -0
- package/dist/src/core/hero/Hero.stories.d.ts +23 -0
- package/dist/src/core/hooks/useResolveImageUrl.d.ts +6 -0
- package/dist/src/core/image/BackgroundImage.d.ts +20 -0
- package/dist/src/core/image/Image.d.ts +24 -0
- package/dist/src/core/image/__tests__/BackgroundImage.test.d.ts +1 -0
- package/dist/src/core/image/__tests__/Image.test.d.ts +1 -0
- package/dist/src/core/imageGallery/ImageGallery.d.ts +25 -0
- package/dist/src/core/imageGallery/ImageGalleryContext.d.ts +32 -0
- package/dist/src/core/imageGallery/ImageGalleryProvider.d.ts +10 -0
- package/dist/src/core/imageGallery/ImageItem.d.ts +26 -0
- package/dist/src/core/imageGallery/ImagesGrid.d.ts +26 -0
- package/dist/src/core/imageGallery/Lightbox.d.ts +24 -0
- package/dist/src/core/imageGallery/types.d.ts +6 -0
- package/dist/src/core/imageGallery/useImageGalleryContext.d.ts +1 -0
- package/dist/src/core/index.d.ts +43 -0
- package/dist/src/core/language/__tests__/languageSorter.test.d.ts +1 -0
- package/dist/src/core/language/constants.d.ts +6 -0
- package/dist/src/core/language/findLanguage.d.ts +10 -0
- package/dist/src/core/language/index.d.ts +6 -0
- package/dist/src/core/language/languageSorter.d.ts +4 -0
- package/dist/src/core/language/toPrimaryLanguageOption.d.ts +5 -0
- package/dist/src/core/language/typeGuards.d.ts +3 -0
- package/dist/src/core/language/types.d.ts +5 -0
- package/dist/src/core/link/Link.d.ts +44 -0
- package/dist/src/core/link/Link.stories.d.ts +33 -0
- package/dist/src/core/link/LinkBase.d.ts +106 -0
- package/dist/src/core/link/SecondaryLink.d.ts +3 -0
- package/dist/src/core/link/__tests__/Link.test.d.ts +1 -0
- package/dist/src/core/linkBox/Link.stories.d.ts +23 -0
- package/dist/src/core/linkBox/LinkBox.d.ts +20 -0
- package/dist/src/core/navigation/Navigation.d.ts +15 -0
- package/dist/src/core/notification/Notification.d.ts +9 -0
- package/dist/src/core/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/src/core/notification/utils/getIsNotificationActive.d.ts +2 -0
- package/dist/src/core/notification/utils/getNotificationHash.d.ts +2 -0
- package/dist/src/core/page/Page.d.ts +9 -0
- package/dist/src/core/page/Page.stories.d.ts +40 -0
- package/dist/src/core/pageContent/PageContent.d.ts +11 -0
- package/dist/src/core/pageContent/PageContent.stories.d.ts +1146 -0
- package/dist/src/core/pageContent/PageContentBreadcrumb.d.ts +5 -0
- package/dist/src/core/pageContent/PageContentLayout.d.ts +16 -0
- package/dist/src/core/pageContent/PageMainContent.d.ts +11 -0
- package/dist/src/core/pageContent/__tests__/Page.test.d.ts +1 -0
- package/dist/src/core/pageContent/meta/PageMeta.d.ts +9 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarCardsList.d.ts +5 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContent.d.ts +15 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContentCard.d.ts +12 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContentLinkList.d.ts +5 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarPostListItem.d.ts +8 -0
- package/dist/src/core/pageContent/sidebarContent/__tests__/SidebarContent.test.d.ts +1 -0
- package/dist/src/core/pageContent/types.d.ts +36 -0
- package/dist/src/core/pageContent/utils.d.ts +28 -0
- package/dist/src/core/pageContextProvider/PageContext.d.ts +6 -0
- package/dist/src/core/pageContextProvider/PageContextProvider.d.ts +6 -0
- package/dist/src/core/pageContextProvider/__tests__/PageContextProvider.test.d.ts +1 -0
- package/dist/src/core/pageContextProvider/usePageContext.d.ts +1 -0
- package/dist/src/core/pageModules/CardModule/CardModule.d.ts +3 -0
- package/dist/src/core/pageModules/CardModule/CardModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/CardsModule/CardsModule.d.ts +17 -0
- package/dist/src/core/pageModules/CardsModule/CardsModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/CardsModule/Icon.d.ts +6 -0
- package/dist/src/core/pageModules/CardsModule/SimpleCard.d.ts +13 -0
- package/dist/src/core/pageModules/ContentModule/ContentModule.d.ts +7 -0
- package/dist/src/core/pageModules/ContentModule/ContentModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.d.ts +3 -0
- package/dist/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.d.ts +7 -0
- package/dist/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/StepsModule/StepsModule.d.ts +14 -0
- package/dist/src/core/pageModules/StepsModule/StepsModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/constants.d.ts +1 -0
- package/dist/src/core/pageSection/PageSection.d.ts +32 -0
- package/dist/src/core/pageSection/PageSection.stories.d.ts +7 -0
- package/dist/src/core/pageSection/__tests__/PageSection.test.d.ts +1 -0
- package/dist/src/core/storyContainer/StoryContainer.d.ts +6 -0
- package/dist/src/core/translation/__tests__/getTranslationWithFallback.test.d.ts +1 -0
- package/dist/src/core/translation/constants.d.ts +12 -0
- package/dist/src/core/translation/getTranslationWithFallback.d.ts +4 -0
- package/dist/src/core/translation/types.d.ts +8 -0
- package/dist/src/core/translation/useTranslationWithFallback.d.ts +4 -0
- package/dist/src/core/utils/__tests__/findAllElementsOfType.test.d.ts +1 -0
- package/dist/src/core/utils/__tests__/getChildrenByType.test.d.ts +1 -0
- package/dist/src/core/utils/__tests__/recursiveMap.test.d.ts +1 -0
- package/dist/src/core/utils/createHashKey.d.ts +1 -0
- package/dist/src/core/utils/findAllElementsOfType.d.ts +5 -0
- package/dist/src/core/utils/getChildrenByType.d.ts +18 -0
- package/dist/src/core/utils/isTrustedOrigin.d.ts +1 -0
- package/dist/src/core/utils/recursiveMap.d.ts +15 -0
- package/dist/src/core/utils/string.d.ts +27 -0
- package/dist/src/core/utils/validateTrustedOriginsFormat.d.ts +1 -0
- package/dist/src/linkedEvents/utils/normalizeKey.d.ts +10 -0
- package/dist/src/linkedEvents/utils/normalizeKeys.d.ts +28 -0
- package/dist/src/mocks/handlers.d.ts +1 -0
- package/dist/src/mocks/queries/cms/languages.d.ts +1 -0
- package/dist/src/mocks/queries/cms/menu.d.ts +1 -0
- package/dist/src/mocks/queries/cms/notification.d.ts +1 -0
- package/dist/src/mocks/queries/cms/page.d.ts +1 -0
- package/dist/src/mocks/queries/linkedEvents/eventList.d.ts +242 -0
- package/dist/src/mocks/queries/linkedEvents/eventsByIds.d.ts +224 -0
- package/dist/src/mocks/responses/linkedEvents/eventMocks.d.ts +1112 -0
- package/dist/src/mocks/server.d.ts +1 -0
- package/dist/src/nextjs/getLanguageStaticProps.d.ts +3 -0
- package/dist/src/nextjs/getMenuStaticProps.d.ts +7 -0
- package/dist/src/nextjs/getPageStaticProps.d.ts +7 -0
- package/dist/src/nextjs/index.d.ts +3 -0
- package/dist/src/storybook-common/HelmetWrapper.d.ts +4 -0
- package/dist/src/storybook-common/constants.d.ts +9 -0
- package/dist/src/storybook-common/useCmsEndpointConfig.d.ts +3 -0
- package/dist/src/tests/apolloConfig.d.ts +2 -0
- package/dist/src/tests/hideConsoleMessages.d.ts +11 -0
- package/package.json +2 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { RenderOptions } from '@testing-library/react';
|
|
3
|
+
import type { Config } from '../../core';
|
|
4
|
+
export declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, "wrapper">, config?: Partial<Config>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {dateTime} dateTime - the date to format to 'd.M.yyyy, HH:mm'.
|
|
3
|
+
* @return {string} - Formatted date.
|
|
4
|
+
*/
|
|
5
|
+
export declare const formatDateTime: (dateTime: Date) => string;
|
|
6
|
+
/**
|
|
7
|
+
* @param {dateTime} dateTime -the date to format to 'd.M.yyyy'.
|
|
8
|
+
* @return {string} - Formatted date.
|
|
9
|
+
*/
|
|
10
|
+
export declare const formatDate: (dateTime: Date) => string;
|
|
11
|
+
/**
|
|
12
|
+
* @param {dateTime} dateTime - date as string to format to 'd.M.yyyy'.
|
|
13
|
+
* @return {string} - Formatted date.
|
|
14
|
+
*/
|
|
15
|
+
export declare const formatDateFromString: (dateTime: string) => string;
|
|
16
|
+
/**
|
|
17
|
+
* @param {dateTime} dateTime - date as string to format to 'd.M.yyyy, HH:mm'.
|
|
18
|
+
* @return {string} - Formatted date.
|
|
19
|
+
*/
|
|
20
|
+
export declare const formatDateTimeFromString: (dateTime: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function hash(str: string, seed?: number): number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests if an image at a given URL loads successfully,
|
|
3
|
+
* using AbortController for clean event listener management.
|
|
4
|
+
*
|
|
5
|
+
* @param {string} [url] - The URL of the image to test.
|
|
6
|
+
* @return {Promise<void>} - A promise that resolves if the image loads, and rejects otherwise.
|
|
7
|
+
*/
|
|
8
|
+
declare const testImage: (url?: string) => Promise<void>;
|
|
9
|
+
export default testImage;
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import * as Apollo from '@apollo/client';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
24
|
+
export type Scalars = {
|
|
25
|
+
ID: {
|
|
26
|
+
input: string;
|
|
27
|
+
output: string;
|
|
28
|
+
};
|
|
29
|
+
String: {
|
|
30
|
+
input: string;
|
|
31
|
+
output: string;
|
|
32
|
+
};
|
|
33
|
+
Boolean: {
|
|
34
|
+
input: boolean;
|
|
35
|
+
output: boolean;
|
|
36
|
+
};
|
|
37
|
+
Int: {
|
|
38
|
+
input: number;
|
|
39
|
+
output: number;
|
|
40
|
+
};
|
|
41
|
+
Float: {
|
|
42
|
+
input: number;
|
|
43
|
+
output: number;
|
|
44
|
+
};
|
|
45
|
+
_Any: {
|
|
46
|
+
input: any;
|
|
47
|
+
output: any;
|
|
48
|
+
};
|
|
49
|
+
federation__FieldSet: {
|
|
50
|
+
input: any;
|
|
51
|
+
output: any;
|
|
52
|
+
};
|
|
53
|
+
link__Import: {
|
|
54
|
+
input: any;
|
|
55
|
+
output: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export type AccessibilitySentences = {
|
|
59
|
+
__typename?: 'AccessibilitySentences';
|
|
60
|
+
groupName?: Maybe<Scalars['String']['output']>;
|
|
61
|
+
sentences?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
62
|
+
};
|
|
63
|
+
export type Ontology = {
|
|
64
|
+
__typename?: 'Ontology';
|
|
65
|
+
id?: Maybe<Scalars['Int']['output']>;
|
|
66
|
+
label?: Maybe<Scalars['String']['output']>;
|
|
67
|
+
};
|
|
68
|
+
export type OpeningHour = {
|
|
69
|
+
__typename?: 'OpeningHour';
|
|
70
|
+
date: Scalars['String']['output'];
|
|
71
|
+
times: Array<Time>;
|
|
72
|
+
};
|
|
73
|
+
export type Point = {
|
|
74
|
+
__typename?: 'Point';
|
|
75
|
+
coordinates: Array<Scalars['Float']['output']>;
|
|
76
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
77
|
+
};
|
|
78
|
+
export type Query = {
|
|
79
|
+
__typename?: 'Query';
|
|
80
|
+
_service: _Service;
|
|
81
|
+
venue: Venue;
|
|
82
|
+
venuesByIds: Array<Venue>;
|
|
83
|
+
};
|
|
84
|
+
export type QueryVenueArgs = {
|
|
85
|
+
id: Scalars['ID']['input'];
|
|
86
|
+
};
|
|
87
|
+
export type QueryVenuesByIdsArgs = {
|
|
88
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
89
|
+
};
|
|
90
|
+
export declare enum ResourceState {
|
|
91
|
+
Closed = "closed",
|
|
92
|
+
EnterOnly = "enter_only",
|
|
93
|
+
ExitOnly = "exit_only",
|
|
94
|
+
Open = "open",
|
|
95
|
+
OpenAndReservable = "open_and_reservable",
|
|
96
|
+
SelfService = "self_service",
|
|
97
|
+
Undefined = "undefined",
|
|
98
|
+
WeatherPermitting = "weather_permitting",
|
|
99
|
+
WithKey = "with_key",
|
|
100
|
+
WithKeyAndReservation = "with_key_and_reservation",
|
|
101
|
+
WithReservation = "with_reservation"
|
|
102
|
+
}
|
|
103
|
+
export type Time = {
|
|
104
|
+
__typename?: 'Time';
|
|
105
|
+
description: Scalars['String']['output'];
|
|
106
|
+
endTime: Scalars['String']['output'];
|
|
107
|
+
endTimeOnNextDay: Scalars['Boolean']['output'];
|
|
108
|
+
fullDay: Scalars['Boolean']['output'];
|
|
109
|
+
name: Scalars['String']['output'];
|
|
110
|
+
periods: Array<Scalars['Int']['output']>;
|
|
111
|
+
resourceState: ResourceState;
|
|
112
|
+
startTime: Scalars['String']['output'];
|
|
113
|
+
};
|
|
114
|
+
export type Venue = {
|
|
115
|
+
__typename?: 'Venue';
|
|
116
|
+
accessibilitySentences: Array<Maybe<AccessibilitySentences>>;
|
|
117
|
+
addressLocality?: Maybe<Scalars['String']['output']>;
|
|
118
|
+
addressPostalFull?: Maybe<Scalars['String']['output']>;
|
|
119
|
+
connections: Array<Maybe<VenueConnection>>;
|
|
120
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
121
|
+
department?: Maybe<VenueDepartment>;
|
|
122
|
+
departmentId?: Maybe<Scalars['ID']['output']>;
|
|
123
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
displayedServiceOwner?: Maybe<Scalars['String']['output']>;
|
|
125
|
+
displayedServiceOwnerType?: Maybe<Scalars['String']['output']>;
|
|
126
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
127
|
+
id: Scalars['String']['output'];
|
|
128
|
+
image?: Maybe<Scalars['String']['output']>;
|
|
129
|
+
infoUrl?: Maybe<Scalars['String']['output']>;
|
|
130
|
+
isOpen?: Maybe<Scalars['Boolean']['output']>;
|
|
131
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
132
|
+
ontologyTree: Array<Maybe<Ontology>>;
|
|
133
|
+
ontologyWords: Array<Maybe<Ontology>>;
|
|
134
|
+
openingHours?: Maybe<Array<OpeningHour>>;
|
|
135
|
+
organization?: Maybe<VenueDepartment>;
|
|
136
|
+
organizationId?: Maybe<Scalars['ID']['output']>;
|
|
137
|
+
position?: Maybe<Point>;
|
|
138
|
+
postalCode?: Maybe<Scalars['String']['output']>;
|
|
139
|
+
providerType?: Maybe<Scalars['String']['output']>;
|
|
140
|
+
shortDescription?: Maybe<Scalars['String']['output']>;
|
|
141
|
+
streetAddress?: Maybe<Scalars['String']['output']>;
|
|
142
|
+
telephone?: Maybe<Scalars['String']['output']>;
|
|
143
|
+
};
|
|
144
|
+
export type VenueConnection = {
|
|
145
|
+
__typename?: 'VenueConnection';
|
|
146
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
147
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
148
|
+
sectionType?: Maybe<Scalars['String']['output']>;
|
|
149
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
150
|
+
};
|
|
151
|
+
export type VenueDepartment = {
|
|
152
|
+
__typename?: 'VenueDepartment';
|
|
153
|
+
abbreviation?: Maybe<Scalars['String']['output']>;
|
|
154
|
+
addressCity?: Maybe<Scalars['String']['output']>;
|
|
155
|
+
addressPostalFull?: Maybe<Scalars['String']['output']>;
|
|
156
|
+
addressZip?: Maybe<Scalars['String']['output']>;
|
|
157
|
+
businessId?: Maybe<Scalars['String']['output']>;
|
|
158
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
159
|
+
hierarchyLevel?: Maybe<Scalars['Int']['output']>;
|
|
160
|
+
id: Scalars['ID']['output'];
|
|
161
|
+
municipalityCode?: Maybe<Scalars['Int']['output']>;
|
|
162
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
oid?: Maybe<Scalars['ID']['output']>;
|
|
164
|
+
organizationId?: Maybe<Scalars['ID']['output']>;
|
|
165
|
+
organizationType?: Maybe<Scalars['String']['output']>;
|
|
166
|
+
parentId?: Maybe<Scalars['ID']['output']>;
|
|
167
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
168
|
+
streetAddress?: Maybe<Scalars['String']['output']>;
|
|
169
|
+
www?: Maybe<Scalars['String']['output']>;
|
|
170
|
+
};
|
|
171
|
+
export type _Service = {
|
|
172
|
+
__typename?: '_Service';
|
|
173
|
+
sdl?: Maybe<Scalars['String']['output']>;
|
|
174
|
+
};
|
|
175
|
+
export declare enum Link__Purpose {
|
|
176
|
+
/** `EXECUTION` features provide metadata necessary for operation execution. */
|
|
177
|
+
Execution = "EXECUTION",
|
|
178
|
+
/** `SECURITY` features provide metadata necessary to securely resolve fields. */
|
|
179
|
+
Security = "SECURITY"
|
|
180
|
+
}
|
|
181
|
+
export type ListVenueFragment = {
|
|
182
|
+
__typename?: 'Venue';
|
|
183
|
+
description?: string | null;
|
|
184
|
+
id: string;
|
|
185
|
+
image?: string | null;
|
|
186
|
+
name?: string | null;
|
|
187
|
+
streetAddress?: string | null;
|
|
188
|
+
addressLocality?: string | null;
|
|
189
|
+
providerType?: string | null;
|
|
190
|
+
displayedServiceOwnerType?: string | null;
|
|
191
|
+
ontologyWords: Array<{
|
|
192
|
+
__typename?: 'Ontology';
|
|
193
|
+
id?: number | null;
|
|
194
|
+
label?: string | null;
|
|
195
|
+
} | null>;
|
|
196
|
+
};
|
|
197
|
+
export type VenuesByIdsQueryVariables = Exact<{
|
|
198
|
+
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
199
|
+
}>;
|
|
200
|
+
export type VenuesByIdsQuery = {
|
|
201
|
+
__typename?: 'Query';
|
|
202
|
+
venuesByIds: Array<{
|
|
203
|
+
__typename?: 'Venue';
|
|
204
|
+
description?: string | null;
|
|
205
|
+
id: string;
|
|
206
|
+
image?: string | null;
|
|
207
|
+
name?: string | null;
|
|
208
|
+
streetAddress?: string | null;
|
|
209
|
+
addressLocality?: string | null;
|
|
210
|
+
providerType?: string | null;
|
|
211
|
+
displayedServiceOwnerType?: string | null;
|
|
212
|
+
ontologyWords: Array<{
|
|
213
|
+
__typename?: 'Ontology';
|
|
214
|
+
id?: number | null;
|
|
215
|
+
label?: string | null;
|
|
216
|
+
} | null>;
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
export declare const ListVenueFragmentDoc: Apollo.DocumentNode;
|
|
220
|
+
export declare const VenuesByIdsDocument: Apollo.DocumentNode;
|
|
221
|
+
/**
|
|
222
|
+
* __useVenuesByIdsQuery__
|
|
223
|
+
*
|
|
224
|
+
* To run a query within a React component, call `useVenuesByIdsQuery` and pass it any options that fit your needs.
|
|
225
|
+
* When your component renders, `useVenuesByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
226
|
+
* you can use to render your UI.
|
|
227
|
+
*
|
|
228
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* const { data, loading, error } = useVenuesByIdsQuery({
|
|
232
|
+
* variables: {
|
|
233
|
+
* ids: // value for 'ids'
|
|
234
|
+
* },
|
|
235
|
+
* });
|
|
236
|
+
*/
|
|
237
|
+
export declare function useVenuesByIdsQuery(baseOptions: Apollo.QueryHookOptions<VenuesByIdsQuery, VenuesByIdsQueryVariables> & ({
|
|
238
|
+
variables: VenuesByIdsQueryVariables;
|
|
239
|
+
skip?: boolean;
|
|
240
|
+
} | {
|
|
241
|
+
skip: boolean;
|
|
242
|
+
})): Apollo.InteropQueryResult<VenuesByIdsQuery, Exact<{
|
|
243
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
244
|
+
}>>;
|
|
245
|
+
export declare function useVenuesByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<VenuesByIdsQuery, VenuesByIdsQueryVariables>): Apollo.LazyQueryResultTuple<VenuesByIdsQuery, Exact<{
|
|
246
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
247
|
+
}>>;
|
|
248
|
+
export declare function useVenuesByIdsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<VenuesByIdsQuery, VenuesByIdsQueryVariables>): Apollo.UseSuspenseQueryResult<VenuesByIdsQuery | undefined, Exact<{
|
|
249
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
250
|
+
}>>;
|
|
251
|
+
export type VenuesByIdsQueryHookResult = ReturnType<typeof useVenuesByIdsQuery>;
|
|
252
|
+
export type VenuesByIdsLazyQueryHookResult = ReturnType<typeof useVenuesByIdsLazyQuery>;
|
|
253
|
+
export type VenuesByIdsSuspenseQueryHookResult = ReturnType<typeof useVenuesByIdsSuspenseQuery>;
|
|
254
|
+
export type VenuesByIdsQueryResult = Apollo.QueryResult<VenuesByIdsQuery, VenuesByIdsQueryVariables>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Apollo from '@apollo/client';
|
|
2
|
+
type Modify<T, R> = Omit<T, keyof R> & R;
|
|
3
|
+
type UseQuery<Q, V extends Apollo.OperationVariables> = (baseOptions?: Modify<Apollo.QueryHookOptions<Q, V>, {
|
|
4
|
+
client?: Apollo.ApolloClient<Apollo.NormalizedCacheObject> | 'disabled';
|
|
5
|
+
}>) => Apollo.QueryResult<Q, V>;
|
|
6
|
+
export default function makeQueryWithVenuesApolloClientFromConfig<Q, V extends Apollo.OperationVariables>(useQuery: UseQuery<Q, V>): (baseOptions?: Apollo.QueryHookOptions<Q, V>) => Apollo.QueryResult<Q, V>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const CMS_GRAPHQL_ENDPOINT: string;
|
|
2
|
+
export declare const EVENTS_PROXY_ENDPOINT: string;
|
|
3
|
+
export declare const LINKED_EVENTS_ENDPOINT: string;
|
|
4
|
+
export declare const DEFAULT_LOCALE = "fi";
|
|
5
|
+
export declare const RANDOM_CONTENT = "\nLorem Ipsum is simply dummy text of the printing and typesetting industry.\nLorem Ipsum has been the industrys standard dummy text ever since the\n1500s, when an unknown printer took a galley of type and scrambled it to\nmake a type specimen book. It has survived not only five centuries, but\nalso the leap into electronic typesetting, remaining essentially\nunchanged. It was popularised in the 1960s with the release of Letraset\nsheets containing Lorem Ipsum passages, and more recently with desktop\npublishing software like Aldus PageMaker including versions of Lorem\nIpsum.";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type BasicMetaProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Archive page meta title tag contents.
|
|
5
|
+
*/
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Archive page meta description tag contents.
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
};
|
|
12
|
+
declare function BasicMeta({ title, description }: BasicMetaProps): React.JSX.Element | null;
|
|
13
|
+
export default BasicMeta;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ArchiveSearchPageProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Navigation component for the archive search page.
|
|
5
|
+
*/
|
|
6
|
+
navigation: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
*Content component for the archive search page.
|
|
9
|
+
*/
|
|
10
|
+
content: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Footer component for the archive search page.
|
|
13
|
+
*/
|
|
14
|
+
footer: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare function ArchivePage({ navigation, content, footer, }: ArchiveSearchPageProps): React.JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SearchPageContent as ArchiveSearchPageContent } from '../archiveSearchPageContent/ArchiveSearchPageContent';
|
|
3
|
+
import { Navigation } from '../navigation/Navigation';
|
|
4
|
+
import { ArchivePage as ArchiveSearchPage } from './ArchiveSearchPage';
|
|
5
|
+
import { Card } from '../card/Card';
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: typeof ArchiveSearchPage;
|
|
9
|
+
subcomponents: {
|
|
10
|
+
ArchiveSearchPageContent: typeof ArchiveSearchPageContent;
|
|
11
|
+
Navigation: typeof Navigation;
|
|
12
|
+
Card: typeof Card;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
navigation: {
|
|
16
|
+
control: false;
|
|
17
|
+
};
|
|
18
|
+
content: {
|
|
19
|
+
control: false;
|
|
20
|
+
};
|
|
21
|
+
footer: {
|
|
22
|
+
control: false;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const ArchiveSearchPageWithArticles: {
|
|
28
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./ArchiveSearchPage").ArchiveSearchPageProps>;
|
|
29
|
+
args: {
|
|
30
|
+
navigation: React.JSX.Element;
|
|
31
|
+
content: React.JSX.Element;
|
|
32
|
+
footer: React.JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const ArchiveSearchPageWithPages: {
|
|
36
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./ArchiveSearchPage").ArchiveSearchPageProps>;
|
|
37
|
+
args: {
|
|
38
|
+
navigation: React.JSX.Element;
|
|
39
|
+
content: React.JSX.Element;
|
|
40
|
+
footer: React.JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const ArchiveSearchPageWithPageSubPages: {
|
|
44
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./ArchiveSearchPage").ArchiveSearchPageProps>;
|
|
45
|
+
args: {
|
|
46
|
+
navigation: React.JSX.Element;
|
|
47
|
+
content: React.JSX.Element;
|
|
48
|
+
footer: React.JSX.Element;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Card } from '../card/Card';
|
|
3
|
+
import { LargeCard } from '../card/LargeCard';
|
|
4
|
+
import type { Config } from '../configProvider/configContext';
|
|
5
|
+
import type { CollectionItemType } from '../collection/types';
|
|
6
|
+
import type { ArticleType, PageType, SearchTag } from '../../common/headlessService/types';
|
|
7
|
+
import type { BreadcrumbUnionType } from '../pageContent/types';
|
|
8
|
+
export declare function SearchForm({ archiveSearch, handleSearch, handleChange, searchText, }: {
|
|
9
|
+
archiveSearch: Config['copy']['archiveSearch'];
|
|
10
|
+
handleSearch: (e: React.FormEvent) => void;
|
|
11
|
+
handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
searchText: string;
|
|
13
|
+
}): React.JSX.Element;
|
|
14
|
+
export declare function SearchTags({ tags, currentTags, hasClearSearch, handleTagClick, handleClearSearch, clearAllText, }: {
|
|
15
|
+
tags: SearchTag[];
|
|
16
|
+
currentTags: SearchTag[];
|
|
17
|
+
hasClearSearch: boolean;
|
|
18
|
+
handleTagClick: (tag: SearchTag) => () => void;
|
|
19
|
+
handleClearSearch: () => void;
|
|
20
|
+
clearAllText: string;
|
|
21
|
+
}): React.JSX.Element;
|
|
22
|
+
export interface SearchPageContentProps {
|
|
23
|
+
/**
|
|
24
|
+
* Page object from wordpress headless cms.
|
|
25
|
+
*/
|
|
26
|
+
page?: PageType | ArticleType;
|
|
27
|
+
/**
|
|
28
|
+
* Breadcrumbs object from wordpress headless cms.
|
|
29
|
+
*/
|
|
30
|
+
breadcrumbs?: BreadcrumbUnionType | ((page?: PageType | ArticleType) => BreadcrumbUnionType);
|
|
31
|
+
/**
|
|
32
|
+
* Custom content react components to be dispayed on the page.
|
|
33
|
+
*/
|
|
34
|
+
customContent?: string | JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* Archive collection items..
|
|
37
|
+
*/
|
|
38
|
+
items?: CollectionItemType[];
|
|
39
|
+
/**
|
|
40
|
+
* Boolean indicating whether the page is loading.
|
|
41
|
+
*/
|
|
42
|
+
isLoading?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Boolean indicating whether the collection has more items.
|
|
45
|
+
*/
|
|
46
|
+
hasMore?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Boolean indicating whether no results found for the collection items.
|
|
49
|
+
*/
|
|
50
|
+
noResults?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Additional classname for the SearchPageContent.
|
|
53
|
+
*/
|
|
54
|
+
className?: string;
|
|
55
|
+
/**
|
|
56
|
+
* All tags collection for the page content.
|
|
57
|
+
*/
|
|
58
|
+
tags?: SearchTag[];
|
|
59
|
+
/**
|
|
60
|
+
* Applied search tags collection for the page content.
|
|
61
|
+
*/
|
|
62
|
+
currentTags?: SearchTag[];
|
|
63
|
+
/**
|
|
64
|
+
* Boolean indicating whether the tag should update on change.
|
|
65
|
+
*/
|
|
66
|
+
withQuery?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* If true then current search text is updated on change.
|
|
69
|
+
*/
|
|
70
|
+
currentText?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Boolean indicating whether the first search item should be rendered as a large card.
|
|
73
|
+
*/
|
|
74
|
+
largeFirstItem?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Search button click handler.
|
|
77
|
+
*/
|
|
78
|
+
onSearch?: (freeSearch: string, tags: SearchTag[]) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Load more button click handler.
|
|
81
|
+
*/
|
|
82
|
+
onLoadMore?: () => void;
|
|
83
|
+
/**
|
|
84
|
+
* Custom renderer for the large card.
|
|
85
|
+
*/
|
|
86
|
+
createLargeCard?: (item: CollectionItemType, index?: number) => React.ReactElement<typeof LargeCard>;
|
|
87
|
+
createCard?: (item: CollectionItemType, index?: number) => React.ReactElement<typeof Card>;
|
|
88
|
+
}
|
|
89
|
+
export declare const defaultLargeCard: (item: CollectionItemType, index?: number) => React.JSX.Element;
|
|
90
|
+
export declare const defaultCreateCard: (item: CollectionItemType, index?: number) => React.JSX.Element;
|
|
91
|
+
export declare function ArchiveCollection({ items, createLargeCard, createCard, largeFirstItem, }: Partial<SearchPageContentProps>): React.JSX.Element | null;
|
|
92
|
+
export declare function SearchPageContent(props: SearchPageContentProps): React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ButtonProps } from 'hds-react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type LoadingButtonProps = Omit<ButtonProps, 'iconStart' | 'variant'> & {
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
loadingText?: React.ReactNode & string;
|
|
6
|
+
};
|
|
7
|
+
export declare function LoadingButton({ children, isLoading, loadingText, ...rest }: LoadingButtonProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CardDirection = 'fixed-horisontal' | 'fixed-vertical' | 'responsive' | 'responsive-reverse';
|
|
3
|
+
export type CardAlignment = 'left' | 'right' | 'center-left' | 'center-right' | 'delimited-left' | 'delimited-right';
|
|
4
|
+
export type CardProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Card id.
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Card container aria-label.
|
|
11
|
+
*/
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Additional classname for the card.
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Card image url.
|
|
19
|
+
*/
|
|
20
|
+
imageUrl?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Card image label.
|
|
23
|
+
*/
|
|
24
|
+
imageLabel?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Card title.
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Boolean indicating whether the styling applied for the title with icon layout.
|
|
31
|
+
*/
|
|
32
|
+
withTitleIcon?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Card title icon.
|
|
35
|
+
*/
|
|
36
|
+
titleIcon?: React.ReactNode | string;
|
|
37
|
+
/**
|
|
38
|
+
* Card subtitle.
|
|
39
|
+
*/
|
|
40
|
+
subTitle?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Card main text contents.
|
|
43
|
+
*/
|
|
44
|
+
text?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Card custom content (component) below the main text.
|
|
47
|
+
*/
|
|
48
|
+
customContent?: React.ReactNode | string;
|
|
49
|
+
/**
|
|
50
|
+
* Boolean indicating whether the link arrow icon is shown.
|
|
51
|
+
*/
|
|
52
|
+
hasLink?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* If true, show link arrow icon label.
|
|
55
|
+
*/
|
|
56
|
+
linkArrowLabel?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Card link url.
|
|
59
|
+
*/
|
|
60
|
+
url?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Boolean indicating whether the border styles should be applied to the Card.
|
|
63
|
+
*/
|
|
64
|
+
withBorder?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Boolean indicating whether the shadow styles should be applied to the Card.
|
|
67
|
+
*/
|
|
68
|
+
withShadow?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Boolean which defines the Card content direction.
|
|
71
|
+
*/
|
|
72
|
+
direction?: CardDirection;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the Card text and custon content alignement inside the Card.
|
|
75
|
+
*/
|
|
76
|
+
alignment?: CardAlignment;
|
|
77
|
+
/**
|
|
78
|
+
* Boolean indicating whether the text content is clamped in the Card.
|
|
79
|
+
*/
|
|
80
|
+
clampText?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Boolean indicating whether the Card link opens in new tab.
|
|
83
|
+
*/
|
|
84
|
+
openLinkInNewTab?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Custom css properties for the Card container
|
|
87
|
+
*/
|
|
88
|
+
style?: React.CSSProperties;
|
|
89
|
+
/**
|
|
90
|
+
* Backgroud color of the Card
|
|
91
|
+
*/
|
|
92
|
+
backgroundColor?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Defines the width ratio for the text and image element in the card. Primary is wider.
|
|
95
|
+
*/
|
|
96
|
+
primaryContent?: 'image' | 'text';
|
|
97
|
+
/**
|
|
98
|
+
* Boolean indicating whether flex attribute should be added to the container of the link.
|
|
99
|
+
*/
|
|
100
|
+
flex?: boolean;
|
|
101
|
+
};
|
|
102
|
+
export declare function Card(props: CardProps): React.JSX.Element;
|