@uob-web-and-digital/component-library 2.7.1 → 2.7.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/README.md +111 -111
- package/package.json +121 -121
- package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.d.ts +0 -10
- package/dist/components/atoms/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -11
- package/dist/components/atoms/CalendarGraphic/CalendarGraphic.d.ts +0 -10
- package/dist/components/atoms/CalendarGraphic/CalendarGraphic.stories.d.ts +0 -12
- package/dist/components/atoms/CampusSelectorLink/CampusSelectorLink.d.ts +0 -17
- package/dist/components/atoms/CampusSelectorLink/CampusSelectorLink.stories.d.ts +0 -11
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -13
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -10
- package/dist/components/atoms/CourseDeliveryPill/CourseDeliveryPill.d.ts +0 -10
- package/dist/components/atoms/CourseDeliveryPill/CourseDeliveryPill.stories.d.ts +0 -11
- package/dist/components/atoms/CourseIcon/CourseIcon.d.ts +0 -11
- package/dist/components/atoms/CourseIcon/CourseIcon.stories.d.ts +0 -12
- package/dist/components/atoms/DateInput/DateInput.d.ts +0 -12
- package/dist/components/atoms/DateInput/DateInput.stories.d.ts +0 -6
- package/dist/components/atoms/ExampleTheming/ExampleTheming.d.ts +0 -17
- package/dist/components/atoms/ExampleTheming/ExampleTheming.stories.d.ts +0 -12
- package/dist/components/atoms/FormInput/FormInput.d.ts +0 -23
- package/dist/components/atoms/FormInput/FormInput.stories.d.ts +0 -11
- package/dist/components/atoms/FormInput/defaultProps.d.ts +0 -2
- package/dist/components/atoms/FormSelect/FormSelect.d.ts +0 -23
- package/dist/components/atoms/FormSelect/FormSelect.stories.d.ts +0 -12
- package/dist/components/atoms/FormSelect/defaultProps.d.ts +0 -2
- package/dist/components/atoms/Heading/Heading.d.ts +0 -7
- package/dist/components/atoms/Heading/Heading.stories.d.ts +0 -12
- package/dist/components/atoms/IconButton/IconButton.d.ts +0 -20
- package/dist/components/atoms/IconButton/IconButton.stories.d.ts +0 -29
- package/dist/components/atoms/IconButton/defaultProps.d.ts +0 -12
- package/dist/components/atoms/IconControl/IconControl.d.ts +0 -17
- package/dist/components/atoms/IconControl/IconControl.stories.d.ts +0 -13
- package/dist/components/atoms/IconControl/defaultProps.d.ts +0 -3
- package/dist/components/atoms/Icons/Icons.d.ts +0 -18
- package/dist/components/atoms/Icons/Icons.stories.d.ts +0 -12
- package/dist/components/atoms/Image/Image.d.ts +0 -16
- package/dist/components/atoms/LinkStandard/LinkStandard.d.ts +0 -11
- package/dist/components/atoms/LinkStandard/LinkStandard.stories.d.ts +0 -11
- package/dist/components/atoms/LinkWithArrow/LinkWithArrow.d.ts +0 -19
- package/dist/components/atoms/LinkWithArrow/LinkWithArrow.stories.d.ts +0 -13
- package/dist/components/atoms/LinkWithIcon/LinkWithIcon.d.ts +0 -16
- package/dist/components/atoms/LinkWithIcon/LinkWithIcon.stories.d.ts +0 -11
- package/dist/components/atoms/LogoLink/LogoLink.d.ts +0 -13
- package/dist/components/atoms/LogoLink/LogoLink.stories.d.ts +0 -13
- package/dist/components/atoms/LogoLink/defaultProps.d.ts +0 -2
- package/dist/components/atoms/MainWrapper/MainWrapper.d.ts +0 -4
- package/dist/components/atoms/NavLink/NavLink.d.ts +0 -14
- package/dist/components/atoms/NavLink/NavLink.stories.d.ts +0 -18
- package/dist/components/atoms/PageLink/PageLink.d.ts +0 -18
- package/dist/components/atoms/PageLink/PageLink.stories.d.ts +0 -18
- package/dist/components/atoms/ParagraphLink/ParagraphLink.d.ts +0 -17
- package/dist/components/atoms/ParagraphLink/ParagraphLink.stories.d.ts +0 -11
- package/dist/components/atoms/Parallax/Parallax.d.ts +0 -7
- package/dist/components/atoms/Pill/Pill.d.ts +0 -13
- package/dist/components/atoms/Pill/Pill.stories.d.ts +0 -11
- package/dist/components/atoms/RadioButton/RadioButton.d.ts +0 -13
- package/dist/components/atoms/RadioButton/RadioButton.stories.d.ts +0 -10
- package/dist/components/atoms/ReverseLinkWithArrow/ReverseLinkWithArrow.d.ts +0 -19
- package/dist/components/atoms/ReverseLinkWithArrow/ReverseLinkWithArrow.stories.d.ts +0 -13
- package/dist/components/atoms/SearchResultDetail/SearchResultDetail.d.ts +0 -12
- package/dist/components/atoms/SearchResultDetail/SearchResultDetail.stories.d.ts +0 -10
- package/dist/components/atoms/TextButton/TextButton.d.ts +0 -32
- package/dist/components/atoms/TextButton/TextButton.stories.d.ts +0 -14
- package/dist/components/atoms/TextButtonWithIcon/TextButtonWithIcon.d.ts +0 -42
- package/dist/components/atoms/TextButtonWithIcon/TextButtonWithIcon.stories.d.ts +0 -14
- package/dist/components/atoms/Video/Video.d.ts +0 -10
- package/dist/components/atoms/Video/Video.stories.d.ts +0 -15
- package/dist/components/atoms/Video/defaultProps.d.ts +0 -2
- package/dist/components/atoms/VideoPlaceholder/VideoPlaceholder.d.ts +0 -13
- package/dist/components/atoms/VideoPlaceholder/VideoPlaceholder.stories.d.ts +0 -6
- package/dist/components/atoms/VideoPlaceholder/defaultProps.d.ts +0 -2
- package/dist/components/molecules/AccordionItem/AccordionItem.d.ts +0 -27
- package/dist/components/molecules/AccordionItem/AccordionItem.stories.d.ts +0 -19
- package/dist/components/molecules/CampusSelector/CampusSelector.d.ts +0 -15
- package/dist/components/molecules/CampusSelector/CampusSelector.stories.d.ts +0 -11
- package/dist/components/molecules/CardFact/CardFact.d.ts +0 -16
- package/dist/components/molecules/CardFact/CardFact.stories.d.ts +0 -14
- package/dist/components/molecules/CardFeatured/CardFeatured.d.ts +0 -32
- package/dist/components/molecules/CardFeatured/CardFeatured.stories.d.ts +0 -11
- package/dist/components/molecules/CardFeatured/animationVariants.d.ts +0 -44
- package/dist/components/molecules/CardFeatured/defaultProps.d.ts +0 -2
- package/dist/components/molecules/CardFeaturedNews/CardFeaturedNews.d.ts +0 -23
- package/dist/components/molecules/CardFeaturedNews/CardFeaturedNews.stories.d.ts +0 -13
- package/dist/components/molecules/CardImage/CardImage.d.ts +0 -15
- package/dist/components/molecules/CardImage/CardImage.stories.d.ts +0 -18
- package/dist/components/molecules/CardImage/defaultProps.d.ts +0 -2
- package/dist/components/molecules/CardMenu/CardMenu.d.ts +0 -19
- package/dist/components/molecules/CardMenu/CardMenu.stories.d.ts +0 -14
- package/dist/components/molecules/CardModuleCard/CardModuleCard.d.ts +0 -14
- package/dist/components/molecules/CardModuleCard/CardModuleCard.stories.d.ts +0 -14
- package/dist/components/molecules/CardNews/CardNews.d.ts +0 -19
- package/dist/components/molecules/CardNews/CardNews.stories.d.ts +0 -15
- package/dist/components/molecules/CardNews/defaultProps.d.ts +0 -2
- package/dist/components/molecules/CardProfile/CardProfile.d.ts +0 -18
- package/dist/components/molecules/CardProfile/CardProfile.stories.d.ts +0 -13
- package/dist/components/molecules/CardPromo/CardPromo.d.ts +0 -34
- package/dist/components/molecules/CardPromo/CardPromo.stories.d.ts +0 -21
- package/dist/components/molecules/CardPromoProfile/CardPromoProfile.d.ts +0 -22
- package/dist/components/molecules/CardPromoProfile/CardPromoProfile.stories.d.ts +0 -15
- package/dist/components/molecules/CardPromoSignpost/CardPromoSignpost.d.ts +0 -30
- package/dist/components/molecules/CardPromoSignpost/CardPromoSignpost.stories.d.ts +0 -18
- package/dist/components/molecules/CardPromoVideo/CardPromoVideo.d.ts +0 -20
- package/dist/components/molecules/CardPromoVideo/CardPromoVideo.stories.d.ts +0 -16
- package/dist/components/molecules/CardRelatedCourse/CardRelatedCourse.d.ts +0 -15
- package/dist/components/molecules/CardRelatedCourse/CardRelatedCourse.stories.d.ts +0 -13
- package/dist/components/molecules/CardResearchStory/CardResearchStory.d.ts +0 -18
- package/dist/components/molecules/CardResearchStory/CardResearchStory.stories.d.ts +0 -13
- package/dist/components/molecules/CardScholarship/CardScholarship.d.ts +0 -21
- package/dist/components/molecules/CardScholarship/CardScholarship.stories.d.ts +0 -13
- package/dist/components/molecules/CardStaff/CardStaff.d.ts +0 -22
- package/dist/components/molecules/CardStaff/CardStaff.stories.d.ts +0 -14
- package/dist/components/molecules/CardVideo/CardVideo.d.ts +0 -18
- package/dist/components/molecules/CardVideo/CardVideo.stories.d.ts +0 -13
- package/dist/components/molecules/CarouselNav/CarouselNav.d.ts +0 -17
- package/dist/components/molecules/CarouselNav/CarouselNav.stories.d.ts +0 -11
- package/dist/components/molecules/FilterAccordion/FilterAccordion.d.ts +0 -32
- package/dist/components/molecules/FilterAccordion/FilterAccordion.stories.d.ts +0 -12
- package/dist/components/molecules/FilterAccordion/defaultProps.d.ts +0 -3
- package/dist/components/molecules/FilterAccordionSelect/FilterAccordionSelect.d.ts +0 -14
- package/dist/components/molecules/FilterAccordionSelect/FilterAccordionSelect.stories.d.ts +0 -10
- package/dist/components/molecules/FilterAccordionSelect/defaultProps.d.ts +0 -2
- package/dist/components/molecules/FullModal/FullModal.d.ts +0 -33
- package/dist/components/molecules/GenericDetail/GenericDetail.d.ts +0 -14
- package/dist/components/molecules/GenericDetail/GenericDetail.stories.d.ts +0 -12
- package/dist/components/molecules/Heading/Heading.d.ts +0 -23
- package/dist/components/molecules/Heading/Heading.stories.d.ts +0 -19
- package/dist/components/molecules/Heading/components/HeadingDescription.d.ts +0 -8
- package/dist/components/molecules/Heading/defaultProps.d.ts +0 -2
- package/dist/components/molecules/InPageNavigationLinks/InPageNavigationLinks.d.ts +0 -18
- package/dist/components/molecules/InPageNavigationLinks/InPageNavigationLinks.stories.d.ts +0 -14
- package/dist/components/molecules/InPageNavigationLinks/defaultProps.d.ts +0 -3
- package/dist/components/molecules/ListTable/ListTable.d.ts +0 -8
- package/dist/components/molecules/ListTable/ListTable.stories.d.ts +0 -10
- package/dist/components/molecules/ListingResultCard/Cards/AccomodationCard.d.ts +0 -15
- package/dist/components/molecules/ListingResultCard/Cards/CourseCard.d.ts +0 -18
- package/dist/components/molecules/ListingResultCard/Cards/EventCard.d.ts +0 -19
- package/dist/components/molecules/ListingResultCard/Cards/NewsCard.d.ts +0 -16
- package/dist/components/molecules/ListingResultCard/Cards/PageCard.d.ts +0 -13
- package/dist/components/molecules/ListingResultCard/Cards/ProfileCard.d.ts +0 -17
- package/dist/components/molecules/ListingResultCard/Cards/StaffCard.d.ts +0 -17
- package/dist/components/molecules/ListingResultCard/ListingResultCard.d.ts +0 -11
- package/dist/components/molecules/ListingResultCard/ListingResultCard.stories.d.ts +0 -20
- package/dist/components/molecules/ListingResultCard/defaultProps.d.ts +0 -15
- package/dist/components/molecules/LocationSelector/LocationSelector.d.ts +0 -14
- package/dist/components/molecules/LocationSelector/LocationSelector.stories.d.ts +0 -15
- package/dist/components/molecules/LocationSelector/defaultProps.d.ts +0 -2
- package/dist/components/molecules/ModalCTAButton/ModalCTAButton.d.ts +0 -11
- package/dist/components/molecules/ModalCTAButton/ModalCTAButton.stories.d.ts +0 -10
- package/dist/components/molecules/ModalCTAButton/defaultProps.d.ts +0 -2
- package/dist/components/molecules/MostReadNews/MostReadNews.d.ts +0 -12
- package/dist/components/molecules/MostReadNews/MostReadNews.stories.d.ts +0 -10
- package/dist/components/molecules/MostReadNews/defaultProps.d.ts +0 -2
- package/dist/components/molecules/PaginationNumbers/PaginationNumbers.d.ts +0 -9
- package/dist/components/molecules/PaginationNumbers/PaginationNumbers.stories.d.ts +0 -12
- package/dist/components/molecules/SearchResultDetailList/SearchResultDetailList.d.ts +0 -11
- package/dist/components/molecules/SearchResultDetailList/SearchResultDetailList.stories.d.ts +0 -10
- package/dist/components/molecules/SearchResultDetailList/defaultProps.d.ts +0 -2
- package/dist/components/molecules/ShareButtons/ShareButtons.d.ts +0 -11
- package/dist/components/molecules/ShareButtons/ShareButtons.stories.d.ts +0 -11
- package/dist/components/molecules/ShareButtons/defaultProps.d.ts +0 -2
- package/dist/components/molecules/Tab/Tab.d.ts +0 -53
- package/dist/components/molecules/Tab/TabItemProps.d.ts +0 -21
- package/dist/components/molecules/Tab/tabsUtils.d.ts +0 -1
- package/dist/components/molecules/TabList/TabsList.d.ts +0 -17
- package/dist/components/molecules/TabPanel/TabPanel.d.ts +0 -34
- package/dist/components/molecules/VideoWithPlaceholder/VideoWithPlaceholder.d.ts +0 -14
- package/dist/components/molecules/VideoWithPlaceholder/VideoWithPlaceholder.stories.d.ts +0 -6
- package/dist/components/molecules/VideoWithPlaceholder/defaultProps.d.ts +0 -2
- package/dist/components/molecules/Wysiwyg/Wysiwyg.d.ts +0 -9
- package/dist/components/molecules/Wysiwyg/Wysiwyg.stories.d.ts +0 -11
- package/dist/components/molecules/Wysiwyg/defaultProps.d.ts +0 -2
- package/dist/components/organisms/Accordion/Accordion.d.ts +0 -14
- package/dist/components/organisms/Accordion/accordion.stories.d.ts +0 -13
- package/dist/components/organisms/Accordion/defaultProps.d.ts +0 -5
- package/dist/components/organisms/AccreditationPromotion/AccreditationPromotion.d.ts +0 -22
- package/dist/components/organisms/AccreditationPromotion/AccreditationPromotion.stories.d.ts +0 -11
- package/dist/components/organisms/AccreditationPromotion/defaultProps.d.ts +0 -2
- package/dist/components/organisms/AlertBanner/AlertBanner.d.ts +0 -11
- package/dist/components/organisms/AlertBanner/AlertBanner.stories.d.ts +0 -15
- package/dist/components/organisms/AlertBanner/defaultProps.d.ts +0 -2
- package/dist/components/organisms/AnchorTarget/AnchorTarget.d.ts +0 -11
- package/dist/components/organisms/AnchorTarget/AnchorTarget.stories.d.ts +0 -15
- package/dist/components/organisms/Breadcrumbs/Breadcrumbs.d.ts +0 -18
- package/dist/components/organisms/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -11
- package/dist/components/organisms/Breadcrumbs/defaultProps.d.ts +0 -2
- package/dist/components/organisms/CTAComponent/CTAComponent.d.ts +0 -24
- package/dist/components/organisms/CTAComponent/CTAComponent.stories.d.ts +0 -14
- package/dist/components/organisms/CTAComponent/defaultProps.d.ts +0 -4
- package/dist/components/organisms/Carousel/Carousel.d.ts +0 -29
- package/dist/components/organisms/Carousel/Carousel.stories.d.ts +0 -12
- package/dist/components/organisms/Carousel/defaultProps.d.ts +0 -7
- package/dist/components/organisms/CentreWrapper/CentreWrapper.d.ts +0 -11
- package/dist/components/organisms/CentreWrapper/CentreWrapper.stories.d.ts +0 -15
- package/dist/components/organisms/ClearingBanner/ClearingBanner.d.ts +0 -13
- package/dist/components/organisms/ClearingBanner/ClearingBanner.stories.d.ts +0 -10
- package/dist/components/organisms/ClearingBanner/defaultProps.d.ts +0 -2
- package/dist/components/organisms/CourseDeliveryPills/CourseDeliveryPills.d.ts +0 -9
- package/dist/components/organisms/CourseDeliveryPills/CourseDeliveryPills.stories.d.ts +0 -10
- package/dist/components/organisms/CourseDeliveryPills/defaultProps.d.ts +0 -2
- package/dist/components/organisms/EmbedWrapper/EmbedWrapper.d.ts +0 -20
- package/dist/components/organisms/EmbedWrapper/EmbedWrapper.stories.d.ts +0 -11
- package/dist/components/organisms/FactBoxes/FactBoxes.d.ts +0 -10
- package/dist/components/organisms/FactBoxes/FactBoxes.stories.d.ts +0 -16
- package/dist/components/organisms/FactBoxes/defaultProps.d.ts +0 -4
- package/dist/components/organisms/FeaturedContent/FeaturedContent.d.ts +0 -15
- package/dist/components/organisms/FeaturedContent/FeaturedContent.stories.d.ts +0 -11
- package/dist/components/organisms/FeaturedContent/defaultProps.d.ts +0 -2
- package/dist/components/organisms/FeaturedSignpost/FeaturedSignpost.d.ts +0 -27
- package/dist/components/organisms/FeaturedSignpost/FeaturedSignpost.stories.d.ts +0 -13
- package/dist/components/organisms/FeaturedSignpost/animationProperties.d.ts +0 -104
- package/dist/components/organisms/FeaturedSignpost/components/LinesOfIntent.d.ts +0 -8
- package/dist/components/organisms/FeaturedSignpost/components/SignpostImage.d.ts +0 -14
- package/dist/components/organisms/FeaturedSignpost/defaultProps.d.ts +0 -3
- package/dist/components/organisms/FeaturedVideo/FeaturedVideo.d.ts +0 -18
- package/dist/components/organisms/FeaturedVideo/FeaturedVideo.stories.d.ts +0 -6
- package/dist/components/organisms/FeaturedVideo/defaultProps.d.ts +0 -2
- package/dist/components/organisms/FiveArticlesGrid/FiveArticlesGrid.d.ts +0 -11
- package/dist/components/organisms/FiveArticlesGrid/FiveArticlesGrid.stories.d.ts +0 -10
- package/dist/components/organisms/FiveArticlesGrid/defaultProps.d.ts +0 -2
- package/dist/components/organisms/Footer/Footer.d.ts +0 -28
- package/dist/components/organisms/Footer/Footer.stories.d.ts +0 -14
- package/dist/components/organisms/Footer/defaultProps.d.ts +0 -8
- package/dist/components/organisms/GeneralSearchFilter/GeneralSearchFilter.d.ts +0 -31
- package/dist/components/organisms/GeneralSearchFilter/GeneralSearchFilter.stories.d.ts +0 -7
- package/dist/components/organisms/GeneralSearchFilter/defaultProps.d.ts +0 -2
- package/dist/components/organisms/GenericDetailSection/GenericDetailSection.d.ts +0 -12
- package/dist/components/organisms/GenericDetailSection/GenericDetailSection.stories.d.ts +0 -13
- package/dist/components/organisms/GenericDetailSection/defaultProps.d.ts +0 -5
- package/dist/components/organisms/Header/Header.d.ts +0 -30
- package/dist/components/organisms/Header/Header.stories.d.ts +0 -12
- package/dist/components/organisms/Header/components/MainMenu.d.ts +0 -12
- package/dist/components/organisms/Header/components/NestedMenu.d.ts +0 -11
- package/dist/components/organisms/Header/components/SearchMenu.d.ts +0 -45
- package/dist/components/organisms/Header/defaultProps.d.ts +0 -12
- package/dist/components/organisms/Header/types.d.ts +0 -13
- package/dist/components/organisms/Hero/Hero.d.ts +0 -44
- package/dist/components/organisms/Hero/Hero.stories.d.ts +0 -17
- package/dist/components/organisms/Hero/components/LinesOfIntent.d.ts +0 -7
- package/dist/components/organisms/Hero/components/PolygonImage.d.ts +0 -16
- package/dist/components/organisms/Hero/defaultProps.d.ts +0 -7
- package/dist/components/organisms/HeroArticle/HeroArticle.d.ts +0 -22
- package/dist/components/organisms/HeroArticle/HeroArticle.stories.d.ts +0 -10
- package/dist/components/organisms/HeroArticle/defaultProps.d.ts +0 -2
- package/dist/components/organisms/HeroCarousel/HeroCarousel.d.ts +0 -28
- package/dist/components/organisms/HeroCarousel/HeroCarousel.stories.d.ts +0 -11
- package/dist/components/organisms/HeroCarousel/animationVariants.d.ts +0 -177
- package/dist/components/organisms/HeroCarousel/components/HeroCardContent.d.ts +0 -17
- package/dist/components/organisms/HeroCarousel/components/HeroImage.d.ts +0 -15
- package/dist/components/organisms/HeroCarousel/components/LinesOfIntent.d.ts +0 -8
- package/dist/components/organisms/HeroCarousel/defaultProps.d.ts +0 -2
- package/dist/components/organisms/HeroCourses/HeroCourses.d.ts +0 -35
- package/dist/components/organisms/HeroCourses/HeroCourses.stories.d.ts +0 -14
- package/dist/components/organisms/HeroCourses/components/CourseTile.d.ts +0 -8
- package/dist/components/organisms/HeroCourses/components/CourseTileRanking.d.ts +0 -9
- package/dist/components/organisms/HeroCourses/components/CourseTileSelect.d.ts +0 -7
- package/dist/components/organisms/HeroCourses/components/tileLinkClickHandler.d.ts +0 -3
- package/dist/components/organisms/HeroCourses/defaultProps.d.ts +0 -43
- package/dist/components/organisms/HeroProfile/HeroProfile.d.ts +0 -28
- package/dist/components/organisms/HeroProfile/HeroProfile.stories.d.ts +0 -13
- package/dist/components/organisms/HeroProfile/defaultProps.d.ts +0 -5
- package/dist/components/organisms/ImageBlock/ImageBlock.d.ts +0 -10
- package/dist/components/organisms/ImageBlock/ImageBlock.stories.d.ts +0 -24
- package/dist/components/organisms/ImageBlock/defaultProps.d.ts +0 -3
- package/dist/components/organisms/ImageCarousel/ImageCarousel.d.ts +0 -10
- package/dist/components/organisms/ImageCarousel/ImageCarousel.stories.d.ts +0 -13
- package/dist/components/organisms/ImageCarousel/defaultProps.d.ts +0 -3
- package/dist/components/organisms/InPageNavigation/InPageNavigation.d.ts +0 -11
- package/dist/components/organisms/InPageNavigation/InPageNavigation.stories.d.ts +0 -11
- package/dist/components/organisms/InPageNavigation/defaultProps.d.ts +0 -2
- package/dist/components/organisms/IntroText/IntroText.d.ts +0 -22
- package/dist/components/organisms/IntroText/IntroText.stories.d.ts +0 -17
- package/dist/components/organisms/IntroText/defaultProps.d.ts +0 -2
- package/dist/components/organisms/LeadNewsArticles/LeadNewsArticles.d.ts +0 -12
- package/dist/components/organisms/LeadNewsArticles/LeadNewsArticles.stories.d.ts +0 -10
- package/dist/components/organisms/LeadNewsArticles/defaultProps.d.ts +0 -2
- package/dist/components/organisms/ListingFilterWrapper/ListingFilterWrapper.d.ts +0 -10
- package/dist/components/organisms/ListingFilterWrapper/ListingFilterWrapper.stories.d.ts +0 -6
- package/dist/components/organisms/ListingResults/ListingResults.d.ts +0 -19
- package/dist/components/organisms/ListingResults/ListingResults.stories.d.ts +0 -15
- package/dist/components/organisms/ListingResults/defaultProps.d.ts +0 -8
- package/dist/components/organisms/ListingResultsCount/ListingResultsCount.d.ts +0 -8
- package/dist/components/organisms/ListingResultsCount/ListingResultsCount.stories.d.ts +0 -15
- package/dist/components/organisms/LocationSection/LocationSection.d.ts +0 -18
- package/dist/components/organisms/LocationSection/LocationSection.stories.d.ts +0 -13
- package/dist/components/organisms/LocationSection/defaultProps.d.ts +0 -2
- package/dist/components/organisms/ModalCTA/ModalCTA.d.ts +0 -16
- package/dist/components/organisms/ModalCTA/ModalCTA.stories.d.ts +0 -12
- package/dist/components/organisms/ModalCTA/defaultProps.d.ts +0 -2
- package/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.d.ts +0 -10
- package/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.stories.d.ts +0 -14
- package/dist/components/organisms/ModuleCardGroup/defaultProps.d.ts +0 -2
- package/dist/components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock.d.ts +0 -12
- package/dist/components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock.stories.d.ts +0 -11
- package/dist/components/organisms/NewsArticlesPromoBlock/defaultProps.d.ts +0 -3
- package/dist/components/organisms/Pagination/Pagination.d.ts +0 -10
- package/dist/components/organisms/Pagination/Pagination.stories.d.ts +0 -12
- package/dist/components/organisms/ProfileCarousel/ProfileCarousel.stories.d.ts +0 -13
- package/dist/components/organisms/PromoBlock/PromoBlock.d.ts +0 -70
- package/dist/components/organisms/PromoBlock/PromoBlock.stories.d.ts +0 -36
- package/dist/components/organisms/PromoBlock/defaultProps.d.ts +0 -17
- package/dist/components/organisms/PromoBlockGrid/PromoBlockGrid.d.ts +0 -46
- package/dist/components/organisms/PromoBlockGrid/PromoBlockGrid.stories.d.ts +0 -17
- package/dist/components/organisms/PromoBlockGrid/defaultProps.d.ts +0 -3
- package/dist/components/organisms/QuoteBlock/QuoteBlock.d.ts +0 -20
- package/dist/components/organisms/QuoteBlock/QuoteBlock.stories.d.ts +0 -19
- package/dist/components/organisms/QuoteBlock/defaultProps.d.ts +0 -6
- package/dist/components/organisms/RelatedCourses/RelatedCourses.d.ts +0 -18
- package/dist/components/organisms/RelatedCourses/RelatedCourses.stories.d.ts +0 -16
- package/dist/components/organisms/RelatedCourses/defaultProps.d.ts +0 -2
- package/dist/components/organisms/ResearchStoryCarousel/ResearchStoryCarousel.d.ts +0 -17
- package/dist/components/organisms/ResearchStoryCarousel/ResearchStoryCarousel.stories.d.ts +0 -10
- package/dist/components/organisms/ResearchStoryCarousel/defaultProps.d.ts +0 -2
- package/dist/components/organisms/RichText/RichText.d.ts +0 -20
- package/dist/components/organisms/RichText/RichText.stories.d.ts +0 -18
- package/dist/components/organisms/RichText/defaultProps.d.ts +0 -13
- package/dist/components/organisms/ScholarshipCarousel/ScholarshipCarousel.d.ts +0 -13
- package/dist/components/organisms/ScholarshipCarousel/ScholarshipCarousel.stories.d.ts +0 -12
- package/dist/components/organisms/ScholarshipCarousel/defaultProps.d.ts +0 -2
- package/dist/components/organisms/ScrollableTable/ScrollableTable.d.ts +0 -12
- package/dist/components/organisms/ScrollableTable/ScrollableTable.stories.d.ts +0 -24
- package/dist/components/organisms/ScrollableTable/defaultProps.d.ts +0 -6
- package/dist/components/organisms/SearchCourses/SearchCourses.d.ts +0 -79
- package/dist/components/organisms/SearchCourses/SearchCourses.stories.d.ts +0 -20
- package/dist/components/organisms/SearchCourses/defaultProps.d.ts +0 -4
- package/dist/components/organisms/SidebarWrapper/SidebarWrapper.d.ts +0 -12
- package/dist/components/organisms/SidebarWrapper/SidebarWrapper.stories.d.ts +0 -15
- package/dist/components/organisms/SignPost/SignPost.d.ts +0 -35
- package/dist/components/organisms/SignPost/SignPost.stories.d.ts +0 -19
- package/dist/components/organisms/SignPost/defaultProps.d.ts +0 -3
- package/dist/components/organisms/SingleButton/SingleButton.d.ts +0 -13
- package/dist/components/organisms/SingleButton/SingleButton.stories.d.ts +0 -13
- package/dist/components/organisms/SingleButton/defaultProps.d.ts +0 -2
- package/dist/components/organisms/SkipToContent/SkipToContent.d.ts +0 -7
- package/dist/components/organisms/SkipToContent/SkipToContent.stories.d.ts +0 -15
- package/dist/components/organisms/StaffListingCarousel/StaffListingCarousel.d.ts +0 -20
- package/dist/components/organisms/StaffListingCarousel/StaffListingCarousel.stories.d.ts +0 -16
- package/dist/components/organisms/StaffListingCarousel/defaultProps.d.ts +0 -7
- package/dist/components/organisms/StandardListingFilter/StandardListingFilter.d.ts +0 -53
- package/dist/components/organisms/StandardListingFilter/StandardListingFilter.stories.d.ts +0 -7
- package/dist/components/organisms/StandardListingFilter/defaultProps.d.ts +0 -3
- package/dist/components/organisms/TabsBlock/TabsBlock.d.ts +0 -52
- package/dist/components/organisms/TabsBlock/TabsBlock.stories.d.ts +0 -24
- package/dist/components/organisms/TabsBlock/defaultProps.d.ts +0 -4
- package/dist/components/organisms/TextWithBackground/TextWithBackground.d.ts +0 -23
- package/dist/components/organisms/TextWithBackground/TextWithBackground.stories.d.ts +0 -22
- package/dist/components/organisms/TextWithBackground/defaultProps.d.ts +0 -4
- package/dist/components/organisms/TopicSelector/TopicSelector.d.ts +0 -17
- package/dist/components/organisms/TopicSelector/TopicSelector.stories.d.ts +0 -10
- package/dist/components/organisms/TopicSelector/defaultProps.d.ts +0 -2
- package/dist/components/organisms/TwoColumnWrapper/TwoColumnWrapper.d.ts +0 -12
- package/dist/components/organisms/TwoColumnWrapper/TwoColumnWrapper.stories.d.ts +0 -16
- package/dist/components/organisms/VideoCardComponent/VideoCardComponent.d.ts +0 -17
- package/dist/components/organisms/VideoCardComponent/VideoCardComponent.stories.d.ts +0 -6
- package/dist/components/organisms/VideoCardComponent/defaultProps.d.ts +0 -2
- package/dist/components/organisms/VideoEmbed/VideoEmbed.d.ts +0 -23
- package/dist/components/organisms/VideoEmbed/VideoEmbed.stories.d.ts +0 -17
- package/dist/components/organisms/VideoEmbed/defaultProps.d.ts +0 -2
- package/dist/hooks/mediaHook.d.ts +0 -1
- package/dist/hooks/useFocusTrap.d.ts +0 -5
- package/dist/hooks/useOnClickOutside.d.ts +0 -2
- package/dist/hooks/useScrollDirection.d.ts +0 -3
- package/dist/index.d.ts +0 -70
- package/dist/main.css +0 -1
- package/dist/main.js +0 -23
- package/dist/module.js +0 -23
- package/dist/themeProps.d.ts +0 -1
- package/dist/utils/ariaCarousel.d.ts +0 -29
- package/dist/utils/getFocusableTreeWalker.d.ts +0 -32
- package/dist/utils/util.d.ts +0 -3
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import HeroCourses from './HeroCourses';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof HeroCourses;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof HeroCourses>;
|
|
10
|
-
export declare const CoursesHeroSixColumnDesktop: Story;
|
|
11
|
-
export declare const CoursesHeroFiveColumnDesktop: Story;
|
|
12
|
-
export declare const CoursesHeroPostGraduate: Story;
|
|
13
|
-
export declare const CoursesHeroFourColumnDesktop: Story;
|
|
14
|
-
export declare const CoursesHeroApplyNowWithOnClick: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { LinkWithIconProps } from '../../../atoms/LinkWithIcon/LinkWithIcon';
|
|
3
|
-
export interface CourseTileProps {
|
|
4
|
-
title: string;
|
|
5
|
-
value: string;
|
|
6
|
-
link?: LinkWithIconProps;
|
|
7
|
-
}
|
|
8
|
-
export default function CourseTile({ title, value, link }: CourseTileProps): ReactElement;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { LinkWithIconProps } from '../../../atoms/LinkWithIcon/LinkWithIcon';
|
|
3
|
-
export interface CourseTileRankingProps {
|
|
4
|
-
title: string;
|
|
5
|
-
rank: string;
|
|
6
|
-
rankText: string;
|
|
7
|
-
link?: LinkWithIconProps;
|
|
8
|
-
}
|
|
9
|
-
export default function CourseTileRanking({ title, rank, rankText, link }: CourseTileRankingProps): ReactElement;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { FormSelectProps } from '../../../atoms/FormSelect/FormSelect';
|
|
3
|
-
export interface CourseTileSelectProps {
|
|
4
|
-
title: string;
|
|
5
|
-
selectProps: FormSelectProps;
|
|
6
|
-
}
|
|
7
|
-
export default function CourseTileSelect({ title, selectProps }: CourseTileSelectProps): ReactElement;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { HeroCoursesProps } from './HeroCourses';
|
|
2
|
-
export declare const heroCoursesProps: HeroCoursesProps;
|
|
3
|
-
export declare const heroCoursesAnchorsProps: HeroCoursesProps;
|
|
4
|
-
export declare const ranking: import("./components/CourseTileRanking").CourseTileRankingProps | undefined, heroCoursesNoRankingProps: {
|
|
5
|
-
theme: import("../../../themeProps").ThemeProps;
|
|
6
|
-
inverse?: boolean | undefined;
|
|
7
|
-
title: string;
|
|
8
|
-
titleTag?: "h1" | "h2" | "h3" | "h4" | "h5" | undefined;
|
|
9
|
-
awardShort: string;
|
|
10
|
-
links?: Omit<import("../../atoms/TextButton/TextButton").TextButtonProps, "theme">[] | undefined;
|
|
11
|
-
heroType: "UG" | "UG Dubai" | "PGT Dubai" | "Other";
|
|
12
|
-
award: import("./components/CourseTile").CourseTileProps;
|
|
13
|
-
yearOfEntry?: import("./components/CourseTileSelect").CourseTileSelectProps | undefined;
|
|
14
|
-
startDate?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
15
|
-
campus?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
16
|
-
duration: import("./components/CourseTile").CourseTileProps;
|
|
17
|
-
entryRequirements: import("./components/CourseTile").CourseTileProps;
|
|
18
|
-
fees: import("./components/CourseTile").CourseTileProps;
|
|
19
|
-
ucas?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
20
|
-
deliveryFormat?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
21
|
-
locationDetails?: import("../../..").LocationSelectorProps | undefined;
|
|
22
|
-
modalCTA?: import("../../molecules/ModalCTAButton/ModalCTAButton").ModalCTAButtonProps | undefined;
|
|
23
|
-
};
|
|
24
|
-
export declare const deliveryFormat: import("./components/CourseTile").CourseTileProps | undefined, heroCoursesNoRankingNoDeliveryFormat: {
|
|
25
|
-
theme: import("../../../themeProps").ThemeProps;
|
|
26
|
-
inverse?: boolean | undefined;
|
|
27
|
-
title: string;
|
|
28
|
-
titleTag?: "h1" | "h2" | "h3" | "h4" | "h5" | undefined;
|
|
29
|
-
awardShort: string;
|
|
30
|
-
links?: Omit<import("../../atoms/TextButton/TextButton").TextButtonProps, "theme">[] | undefined;
|
|
31
|
-
heroType: "UG" | "UG Dubai" | "PGT Dubai" | "Other";
|
|
32
|
-
award: import("./components/CourseTile").CourseTileProps;
|
|
33
|
-
yearOfEntry?: import("./components/CourseTileSelect").CourseTileSelectProps | undefined;
|
|
34
|
-
startDate?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
35
|
-
campus?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
36
|
-
duration: import("./components/CourseTile").CourseTileProps;
|
|
37
|
-
entryRequirements: import("./components/CourseTile").CourseTileProps;
|
|
38
|
-
fees: import("./components/CourseTile").CourseTileProps;
|
|
39
|
-
ucas?: import("./components/CourseTile").CourseTileProps | undefined;
|
|
40
|
-
locationDetails?: import("../../..").LocationSelectorProps | undefined;
|
|
41
|
-
modalCTA?: import("../../molecules/ModalCTAButton/ModalCTAButton").ModalCTAButtonProps | undefined;
|
|
42
|
-
};
|
|
43
|
-
export declare const heroCoursesPGProps: HeroCoursesProps;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './heroProfile.scss';
|
|
4
|
-
export interface HeroProfileProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
inverse: boolean;
|
|
10
|
-
studentName: string;
|
|
11
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4';
|
|
12
|
-
image: {
|
|
13
|
-
src: {
|
|
14
|
-
small?: string;
|
|
15
|
-
medium?: string;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
alt: string;
|
|
19
|
-
fetchPriority?: React.ImgHTMLAttributes<HTMLImageElement>['fetchPriority'];
|
|
20
|
-
};
|
|
21
|
-
studentStatus?: string;
|
|
22
|
-
courseName?: string;
|
|
23
|
-
courseDetails?: string[];
|
|
24
|
-
studyLevel?: string;
|
|
25
|
-
homeCountry?: string;
|
|
26
|
-
studentIntro?: string;
|
|
27
|
-
}
|
|
28
|
-
export default function HeroProfile({ theme, studentName, studentStatus, courseName, courseDetails, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import HeroProfile from './HeroProfile';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof HeroProfile;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof HeroProfile>;
|
|
10
|
-
export declare const AlternativeCourseName: Story;
|
|
11
|
-
export declare const OneCourse: Story;
|
|
12
|
-
export declare const TwoCourses: Story;
|
|
13
|
-
export declare const ThreeCourses: Story;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HeroProfileProps } from './HeroProfile';
|
|
2
|
-
export declare const heroProfileProps: HeroProfileProps;
|
|
3
|
-
export declare const heroProfilePropsOneCourse: HeroProfileProps;
|
|
4
|
-
export declare const heroProfilePropsTwoCourses: HeroProfileProps;
|
|
5
|
-
export declare const heroProfilePropsThreeCourses: HeroProfileProps;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import './imageBlock.scss';
|
|
3
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
4
|
-
import { CardImageProps } from '../../molecules/CardImage/CardImage';
|
|
5
|
-
export interface ImageBlockProps extends HeadingProps {
|
|
6
|
-
fullWidth: boolean;
|
|
7
|
-
makeHeadingFullWidth?: boolean;
|
|
8
|
-
images?: Omit<CardImageProps, 'theme' | 'inverse'>[];
|
|
9
|
-
}
|
|
10
|
-
export default function ImageBlock({ theme, inverse, title, description, linkProps, fullWidth, makeHeadingFullWidth, images, htmlTag }: ImageBlockProps): ReactElement | null;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ImageBlock from './ImageBlock';
|
|
3
|
-
import './imageBlock.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof ImageBlock;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof ImageBlock>;
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
export declare const Dark: Story;
|
|
18
|
-
export declare const Light: Story;
|
|
19
|
-
export declare const OneImageFullWidth: Story;
|
|
20
|
-
export declare const TwoImagesFullWidth: Story;
|
|
21
|
-
export declare const OneImage: Story;
|
|
22
|
-
export declare const TwoImages: Story;
|
|
23
|
-
export declare const NoImages: Story;
|
|
24
|
-
export declare const OneImageNoHeading: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import './imageCarousel.scss';
|
|
3
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
4
|
-
import { CardImageProps } from '../../molecules/CardImage/CardImage';
|
|
5
|
-
export interface ImageCarouselProps extends HeadingProps {
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
widerImage: boolean;
|
|
8
|
-
images: CardImageProps[];
|
|
9
|
-
}
|
|
10
|
-
export default function ImageCarousel({ theme, inverse, title, description, linkProps, fullWidth, widerImage, images, htmlTag }: ImageCarouselProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ImageCarousel from './ImageCarousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ImageCarousel;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Dark: Story;
|
|
11
|
-
export declare const DarkWiderImage: Story;
|
|
12
|
-
export declare const Light: Story;
|
|
13
|
-
export declare const LightWiderImage: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './inPageNavigation.scss';
|
|
4
|
-
import { InPageNavigationLinksProps } from '../../molecules/InPageNavigationLinks/InPageNavigationLinks';
|
|
5
|
-
export interface InPageNavigationProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
expandableHeader?: string;
|
|
9
|
-
links: InPageNavigationLinksProps;
|
|
10
|
-
}
|
|
11
|
-
export default function InPageNavigation({ theme, inverse, links, expandableHeader }: InPageNavigationProps): ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import InPageNavigation from './InPageNavigation';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof InPageNavigation;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Dark: Story;
|
|
11
|
-
export declare const Light: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './introText.scss';
|
|
4
|
-
export interface IntroTextProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
/**
|
|
10
|
-
* Whether to inverse the colours
|
|
11
|
-
*/
|
|
12
|
-
inverse?: boolean;
|
|
13
|
-
fullWidth?: boolean;
|
|
14
|
-
text: string;
|
|
15
|
-
/**
|
|
16
|
-
* FIXME - when the mixd storybook is no longer used
|
|
17
|
-
* use CSS rules instead of these spacing props
|
|
18
|
-
*/
|
|
19
|
-
removeBottomPadding?: boolean;
|
|
20
|
-
removeTopPadding?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export default function IntroText({ text, theme, inverse, fullWidth, removeBottomPadding, removeTopPadding }: IntroTextProps): ReactElement;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import IntroText from './IntroText';
|
|
3
|
-
import './introText.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof IntroText;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof IntroText>;
|
|
16
|
-
export declare const Dark: Story;
|
|
17
|
-
export declare const Light: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CardFeaturedNewsProps } from '../../molecules/CardFeaturedNews/CardFeaturedNews';
|
|
4
|
-
import { MostReadNewsProps } from '../../molecules/MostReadNews/MostReadNews';
|
|
5
|
-
import './leadNewsArticles.scss';
|
|
6
|
-
export interface LeadNewsArticlesProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
featuredArticle: CardFeaturedNewsProps;
|
|
9
|
-
otherLeadArticles: Omit<CardFeaturedNewsProps, 'theme'>[];
|
|
10
|
-
mostReadNews: MostReadNewsProps;
|
|
11
|
-
}
|
|
12
|
-
export default function LeadNewsArticles({ theme, featuredArticle, otherLeadArticles, mostReadNews }: LeadNewsArticlesProps): ReactElement;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import LeadNewsArticles from './LeadNewsArticles';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof LeadNewsArticles;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Example: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './listingFilterWrapper.scss';
|
|
4
|
-
export interface ListingFilterWrapperProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
showFilterButtonLabel: string;
|
|
7
|
-
numSelected?: number;
|
|
8
|
-
filterElement: ReactElement;
|
|
9
|
-
}
|
|
10
|
-
export default function ListingFilterWrapper({ theme, showFilterButtonLabel, numSelected, filterElement }: ListingFilterWrapperProps): ReactElement;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import ListingFilterWrapper from './ListingFilterWrapper';
|
|
3
|
-
declare const meta: Meta<typeof ListingFilterWrapper>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ListingFilterWrapper>;
|
|
6
|
-
export declare const GeneralSearch: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { AccomodationCardProps } from '../../molecules/ListingResultCard/Cards/AccomodationCard';
|
|
3
|
-
import { CourseCardProps } from '../../molecules/ListingResultCard/Cards/CourseCard';
|
|
4
|
-
import { EventCardProps } from '../../molecules/ListingResultCard/Cards/EventCard';
|
|
5
|
-
import { NewsCardProps } from '../../molecules/ListingResultCard/Cards/NewsCard';
|
|
6
|
-
import { PageCardProps } from '../../molecules/ListingResultCard/Cards/PageCard';
|
|
7
|
-
import { StaffCardProps } from '../../molecules/ListingResultCard/Cards/StaffCard';
|
|
8
|
-
import { ThemeProps } from '../../../themeProps';
|
|
9
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
10
|
-
import { ProfileCardProps } from '../../molecules/ListingResultCard/Cards/ProfileCard';
|
|
11
|
-
type CardProps = Omit<AccomodationCardProps, 'showCategory' | 'theme'> | Omit<CourseCardProps, 'showCategory' | 'theme'> | Omit<EventCardProps, 'showCategory' | 'theme'> | Omit<NewsCardProps, 'showCategory' | 'theme'> | Omit<PageCardProps, 'showCategory' | 'theme'> | Omit<StaffCardProps, 'showCategory' | 'theme'> | Omit<ProfileCardProps, 'showCategory' | 'theme'>;
|
|
12
|
-
export interface ListingResultsProps {
|
|
13
|
-
theme: ThemeProps;
|
|
14
|
-
showCategory?: boolean;
|
|
15
|
-
cards: CardProps[];
|
|
16
|
-
headingInfo?: HeadingProps;
|
|
17
|
-
}
|
|
18
|
-
export default function ListingResults({ theme, showCategory, cards, headingInfo }: ListingResultsProps): ReactElement;
|
|
19
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ListingResults from './ListingResults';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ListingResults;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof ListingResults>;
|
|
10
|
-
export declare const SiteGlobal: Story;
|
|
11
|
-
export declare const Events: Story;
|
|
12
|
-
export declare const Courses: Story;
|
|
13
|
-
export declare const News: Story;
|
|
14
|
-
export declare const Staff: Story;
|
|
15
|
-
export declare const Accomodation: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ListingResultsProps } from './ListingResults';
|
|
2
|
-
export declare const globalSearchProps: ListingResultsProps;
|
|
3
|
-
export declare const eventsProps: ListingResultsProps;
|
|
4
|
-
export declare const eventsPropsCourses: ListingResultsProps;
|
|
5
|
-
export declare const staffProps: ListingResultsProps;
|
|
6
|
-
export declare const newsProps: ListingResultsProps;
|
|
7
|
-
export declare const courseProps: ListingResultsProps;
|
|
8
|
-
export declare const accomodationProps: ListingResultsProps;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './listingResultsCount.scss';
|
|
4
|
-
export interface ListingResultsCountProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
count: number;
|
|
7
|
-
}
|
|
8
|
-
export default function ListingResultsCount({ count, theme }: ListingResultsCountProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ListingResultsCount from './ListingResultsCount';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ListingResultsCount;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof ListingResultsCount>;
|
|
15
|
-
export declare const Default: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { GenericDetailProps } from '../../molecules/GenericDetail/GenericDetail';
|
|
4
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
5
|
-
import './LocationSection.scss';
|
|
6
|
-
export interface LocationSectionProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
embedChildren: ReactNode;
|
|
9
|
-
googleMapLink: string;
|
|
10
|
-
address: string[];
|
|
11
|
-
services?: Omit<GenericDetailProps, 'theme'>[];
|
|
12
|
-
link?: LinkWithArrowProps;
|
|
13
|
-
/**
|
|
14
|
-
* Optional titleTag of the component
|
|
15
|
-
*/
|
|
16
|
-
titleTag?: 'h2' | 'h3';
|
|
17
|
-
}
|
|
18
|
-
export default function LocationSection({ theme, embedChildren, googleMapLink, address, services, link, titleTag }: LocationSectionProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import LocationSection from './LocationSection';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof LocationSection;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const WithOptionalLink: Story;
|
|
12
|
-
export declare const NoServices: Story;
|
|
13
|
-
export declare const NoLink: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
4
|
-
import './modalCTA.scss';
|
|
5
|
-
export interface ModalCTAProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
heading: string;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
description?: string;
|
|
10
|
-
buttonLabel: string;
|
|
11
|
-
/** Whether the button is max-width:fit-content or full-width */
|
|
12
|
-
buttonModifier?: boolean;
|
|
13
|
-
modalChildren: ReactNode;
|
|
14
|
-
htmlTag?: HeadingProps['htmlTag'];
|
|
15
|
-
}
|
|
16
|
-
export default function ModalCTA({ theme, heading, inverse, description, buttonLabel, buttonModifier, modalChildren, htmlTag }: ModalCTAProps): ReactElement;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ModalCTA from './ModalCTA';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ModalCTA;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Dark: Story;
|
|
11
|
-
export declare const Light: Story;
|
|
12
|
-
export declare const ModifiedButton: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { CardModuleCardProps } from '../../molecules/CardModuleCard/CardModuleCard';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './moduleCardGroup.scss';
|
|
5
|
-
export interface ModuleCardGroupProps {
|
|
6
|
-
theme?: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
cards: CardModuleCardProps | CardModuleCardProps[];
|
|
9
|
-
}
|
|
10
|
-
export default function ModuleCardGroup({ theme, inverse, cards }: ModuleCardGroupProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ModuleCardGroup from './ModuleCardGroup';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ModuleCardGroup;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Light: Story;
|
|
11
|
-
export declare const Dark: Story;
|
|
12
|
-
export declare const OneCard: Story;
|
|
13
|
-
export declare const TwoCards: Story;
|
|
14
|
-
export declare const TenCards: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CardFeaturedNewsProps } from '../../molecules/CardFeaturedNews/CardFeaturedNews';
|
|
4
|
-
import { CardPromoVideoProps } from '../../molecules/CardPromoVideo/CardPromoVideo';
|
|
5
|
-
import './newsArticlesPromoBlock.scss';
|
|
6
|
-
export interface NewsArticlesPromoBlockProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
heading: string;
|
|
9
|
-
cards: CardFeaturedNewsProps[] | CardPromoVideoProps[];
|
|
10
|
-
cardType?: 'featured-news' | 'promo-video';
|
|
11
|
-
}
|
|
12
|
-
export default function NewsArticlesPromoBlock({ theme, heading, cards, cardType }: NewsArticlesPromoBlockProps): ReactElement;
|
package/dist/components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock.stories.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import NewsArticlesPromoBlock from './NewsArticlesPromoBlock';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NewsArticlesPromoBlock;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const FeaturedNewsExample: Story;
|
|
11
|
-
export declare const VideoCardExample: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './pagination.scss';
|
|
4
|
-
export interface PaginationProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
numOfPages: number;
|
|
7
|
-
onClick: (pageNumber: number) => void;
|
|
8
|
-
currentPage: number;
|
|
9
|
-
}
|
|
10
|
-
export default function Pagination({ theme, numOfPages, onClick, currentPage }: PaginationProps): ReactElement;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import Pagination from './Pagination';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Pagination;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
export declare const FourPages: () => ReactElement;
|
|
10
|
-
export declare const SevenPages: () => ReactElement;
|
|
11
|
-
export declare const TenPages: () => ReactElement;
|
|
12
|
-
export declare const TwentyPages: () => ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import StaffListingCarousel from '../StaffListingCarousel/StaffListingCarousel';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof StaffListingCarousel;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const ExampleThreeOrMoreProfiles: Story;
|
|
11
|
-
export declare const ExampleOneProfile: Story;
|
|
12
|
-
export declare const ExampleThreeProfilesNoCarousel: Story;
|
|
13
|
-
export declare const ExampleThreeOrMoreProfilesDark: Story;
|