@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,22 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardPromoProfile.scss';
|
|
5
|
-
import { SearchResultDetailProps } from '../../atoms/SearchResultDetail/SearchResultDetail';
|
|
6
|
-
export interface CardPromoProfileProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
image: ImageProps;
|
|
10
|
-
name: string;
|
|
11
|
-
jobTitle: string;
|
|
12
|
-
department: string;
|
|
13
|
-
copy: string;
|
|
14
|
-
href: string;
|
|
15
|
-
isSingle?: boolean;
|
|
16
|
-
details?: Omit<SearchResultDetailProps, 'theme'>[];
|
|
17
|
-
titleTag: 'h2' | 'h3' | 'h4';
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Primary UI component for user interaction
|
|
21
|
-
*/
|
|
22
|
-
export default function CardPromoProfile({ theme, inverse, image, name, jobTitle, department, href, copy, isSingle, titleTag, details }: CardPromoProfileProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardPromoProfile from './CardPromoProfile';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardPromoProfile;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardPromoProfile>;
|
|
13
|
-
export declare const CardPromoProfileSingle: Story;
|
|
14
|
-
export declare const CardPromoProfileSingleDark: Story;
|
|
15
|
-
export declare const CardPromoProfileMultiple: Story;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import { TextButtonProps } from '../../atoms/TextButton/TextButton';
|
|
5
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
6
|
-
import './cardPromoSignpost.scss';
|
|
7
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
8
|
-
export interface CardPromoSignpostProps {
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
inverse?: boolean;
|
|
11
|
-
image?: ImageProps;
|
|
12
|
-
imageOrientation?: 'left' | 'right';
|
|
13
|
-
tag?: string;
|
|
14
|
-
title?: string;
|
|
15
|
-
subtitle?: string;
|
|
16
|
-
publishDate?: string;
|
|
17
|
-
authorString?: string;
|
|
18
|
-
location?: string;
|
|
19
|
-
copy?: string;
|
|
20
|
-
cardCopyIsRichText?: boolean;
|
|
21
|
-
isSingle?: boolean;
|
|
22
|
-
buttonPrimary?: TextButtonProps;
|
|
23
|
-
buttonSecondary?: TextButtonProps;
|
|
24
|
-
link?: LinkWithArrowProps;
|
|
25
|
-
titleTag: HeadingProps['htmlTag'];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Primary UI component for user interaction
|
|
29
|
-
*/
|
|
30
|
-
export default function CardPromoSignpost({ theme, inverse, image, tag, title, subtitle, publishDate, authorString, location, copy, isSingle, cardCopyIsRichText, buttonPrimary, buttonSecondary, link, imageOrientation, titleTag }: CardPromoSignpostProps): ReactElement;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardPromoSignpost from './CardPromoSignpost';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardPromoSignpost;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardPromoSignpost>;
|
|
13
|
-
export declare const SinglePromoSignpostCardLight: Story;
|
|
14
|
-
export declare const SinglePromoSignpostCardsDarkRightImage: Story;
|
|
15
|
-
export declare const SinglePromoSignpostCardLightNoTitle: Story;
|
|
16
|
-
export declare const OneOfManyPromoSignpostCardsDark: Story;
|
|
17
|
-
export declare const SinglePromoSignpostCardsDarkRightImageH4Title: Story;
|
|
18
|
-
export declare const ImageWithTextExampleWithMultiCopyParagraphs: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardPromoVideo.scss';
|
|
5
|
-
export interface CardPromoVideoProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
href: string;
|
|
11
|
-
publishDate?: string;
|
|
12
|
-
videoLength?: string;
|
|
13
|
-
copy?: string;
|
|
14
|
-
isSingle?: boolean;
|
|
15
|
-
titleTag: 'h2' | 'h3';
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Primary UI component for user interaction
|
|
19
|
-
*/
|
|
20
|
-
export default function CardPromoVideo({ theme, inverse, image, title, publishDate, videoLength, copy, isSingle, href, titleTag }: CardPromoVideoProps): ReactElement;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardPromoVideo from './CardPromoVideo';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardPromoVideo;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardPromoVideo>;
|
|
13
|
-
export declare const SinglePromoVideoCardDark: Story;
|
|
14
|
-
export declare const SinglePromoVideoCardLight: Story;
|
|
15
|
-
export declare const OneOfManyPromoVideoCardsDark: Story;
|
|
16
|
-
export declare const OneOfManyPromoVideoCardsLight: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './cardRelatedCourse.scss';
|
|
4
|
-
export interface CardRelatedProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
inverse?: boolean;
|
|
7
|
-
title: string;
|
|
8
|
-
subtitle: string;
|
|
9
|
-
href: string;
|
|
10
|
-
titleTag?: 'h2' | 'h3';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Primary UI component for user interaction
|
|
14
|
-
*/
|
|
15
|
-
export default function CardRelated({ theme, inverse, title, subtitle, href, titleTag }: CardRelatedProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardRelatedCourse from './CardRelatedCourse';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardRelatedCourse;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardRelatedCourse>;
|
|
13
|
-
export declare const Example: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
4
|
-
import './cardResearchStory.scss';
|
|
5
|
-
export interface CardResearchStoryProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
title: string;
|
|
9
|
-
author: string;
|
|
10
|
-
copy: string;
|
|
11
|
-
href: string;
|
|
12
|
-
date?: string;
|
|
13
|
-
titleTag?: HeadingProps['htmlTag'];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Primary UI component for user interaction
|
|
17
|
-
*/
|
|
18
|
-
export default function CardResearchStory({ theme, inverse, title, author, href, copy, date, titleTag }: CardResearchStoryProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardResearchStory from './CardResearchStory';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardResearchStory;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardResearchStory>;
|
|
13
|
-
export declare const ExampleCardResearchStory: Story;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './cardScholarship.scss';
|
|
4
|
-
export interface ScholarshipProps {
|
|
5
|
-
awardType: string;
|
|
6
|
-
value: string;
|
|
7
|
-
deadline: string;
|
|
8
|
-
}
|
|
9
|
-
export interface CardScholarshipProps {
|
|
10
|
-
theme: ThemeProps;
|
|
11
|
-
inverse?: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
copy: string;
|
|
14
|
-
href: string;
|
|
15
|
-
scholarshipDetails: ScholarshipProps;
|
|
16
|
-
titleTag?: 'h2' | 'h3';
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Primary UI component for user interaction
|
|
20
|
-
*/
|
|
21
|
-
export default function CardScholarship({ theme, inverse, title, href, copy, scholarshipDetails, titleTag }: CardScholarshipProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardScholarship from './CardScholarship';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardScholarship;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardScholarship>;
|
|
13
|
-
export declare const ExampleScholarshipCard: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardStaff.scss';
|
|
5
|
-
export interface CardStaffProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image: ImageProps;
|
|
9
|
-
name: string;
|
|
10
|
-
jobTitle: string;
|
|
11
|
-
department: string;
|
|
12
|
-
copy: string;
|
|
13
|
-
href: string;
|
|
14
|
-
isSingle?: boolean;
|
|
15
|
-
phone?: string;
|
|
16
|
-
email?: string;
|
|
17
|
-
titleTag?: 'h2' | 'h3';
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Primary UI component for user interaction
|
|
21
|
-
*/
|
|
22
|
-
export default function CardStaff({ theme, inverse, image, name, jobTitle, department, href, copy, phone, email, isSingle, titleTag }: CardStaffProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardStaff from './CardStaff';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardStaff;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardStaff>;
|
|
13
|
-
export declare const ExampleSingleCard: Story;
|
|
14
|
-
export declare const OneOfManyStaffCards: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardVideo.scss';
|
|
5
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
6
|
-
export interface CardVideoProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
image: ImageProps;
|
|
10
|
-
title: string;
|
|
11
|
-
youtubeId: string;
|
|
12
|
-
buttonLabel: string;
|
|
13
|
-
titleTag: HeadingProps['htmlTag'];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Primary UI component for user interaction
|
|
17
|
-
*/
|
|
18
|
-
export default function CardVideo({ theme, inverse, image, title, youtubeId, buttonLabel, titleTag }: CardVideoProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardVideo from './CardVideo';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardVideo;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardVideo>;
|
|
13
|
-
export declare const Dark: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './carouselNav.scss';
|
|
4
|
-
interface CarouselNavProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
inverse?: boolean;
|
|
7
|
-
totalNumber: number;
|
|
8
|
-
currentNumber: number;
|
|
9
|
-
onClickPrev: () => void;
|
|
10
|
-
onClickNext: () => void;
|
|
11
|
-
prevButtonDisabled: boolean;
|
|
12
|
-
nextButtonDisabled: boolean;
|
|
13
|
-
carouselId: string;
|
|
14
|
-
showNumbers?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export default function CarouselNav({ theme, inverse, totalNumber, currentNumber, onClickNext, onClickPrev, prevButtonDisabled, nextButtonDisabled, carouselId, showNumbers }: CarouselNavProps): ReactElement;
|
|
17
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CarouselNav from './CarouselNav';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CarouselNav;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof CarouselNav>;
|
|
10
|
-
export declare const CarouselNavLight: Story;
|
|
11
|
-
export declare const CarouselNavDark: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CheckboxProps } from '../../atoms/Checkbox/Checkbox';
|
|
4
|
-
import { RadioButtonProps } from '../../atoms/RadioButton/RadioButton';
|
|
5
|
-
import './filterAccordion.scss';
|
|
6
|
-
export type FilterAccordionProps = CheckboxAccordionProps | RadioButtonAccordionProps;
|
|
7
|
-
interface CheckboxAccordionProps {
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
heading: string;
|
|
10
|
-
type: 'checkbox';
|
|
11
|
-
inputs?: Omit<CheckboxProps, 'theme'>[];
|
|
12
|
-
selectProps?: null;
|
|
13
|
-
showMoreText?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the accordion is open or closed by default
|
|
16
|
-
*/
|
|
17
|
-
defaultIsOpen?: boolean;
|
|
18
|
-
}
|
|
19
|
-
interface RadioButtonAccordionProps {
|
|
20
|
-
theme: ThemeProps;
|
|
21
|
-
heading: string;
|
|
22
|
-
type: 'radio';
|
|
23
|
-
inputs?: Omit<RadioButtonProps, 'theme'>[];
|
|
24
|
-
selectProps?: null;
|
|
25
|
-
showMoreText?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the accordion is open or closed by default
|
|
28
|
-
*/
|
|
29
|
-
defaultIsOpen?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export default function FilterAccordion({ theme, heading, type, inputs, defaultIsOpen, showMoreText }: FilterAccordionProps): ReactElement;
|
|
32
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import FilterAccordion from './FilterAccordion';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof FilterAccordion;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof FilterAccordion>;
|
|
10
|
-
export declare const RadioButtons: Story;
|
|
11
|
-
export declare const Checkboxes: Story;
|
|
12
|
-
export declare const CheckboxesExpandable: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { FormSelectProps } from '../../atoms/FormSelect/FormSelect';
|
|
4
|
-
import './filterAccordionSelect.scss';
|
|
5
|
-
export type FilterAccordionSelectProps = {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
heading: string;
|
|
8
|
-
selectContent: Omit<FormSelectProps, 'theme'>;
|
|
9
|
-
/**
|
|
10
|
-
* Whether the accordion is open or closed by default
|
|
11
|
-
*/
|
|
12
|
-
defaultIsOpen?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export default function FilterAccordionSelect({ theme, heading, selectContent, defaultIsOpen }: FilterAccordionSelectProps): ReactElement;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import FilterAccordionSelect from './FilterAccordionSelect';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof FilterAccordionSelect;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof FilterAccordionSelect>;
|
|
10
|
-
export declare const Select: Story;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './fullModal.scss';
|
|
4
|
-
export interface FullModalProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
/**
|
|
10
|
-
* Whether to inverse the colours
|
|
11
|
-
*/
|
|
12
|
-
inverse?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Contents of the modal
|
|
15
|
-
*/
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Handler for closing the modal
|
|
19
|
-
*/
|
|
20
|
-
closeModal: () => void;
|
|
21
|
-
/**
|
|
22
|
-
* Pass in the is open state
|
|
23
|
-
*/
|
|
24
|
-
isOpen: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the modal should be placed in the centre
|
|
27
|
-
*/
|
|
28
|
-
centred?: boolean;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Primary UI component for user interaction
|
|
32
|
-
*/
|
|
33
|
-
export declare const FullModal: ({ theme, isOpen, closeModal, children, centred }: FullModalProps) => ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { IconType } from '../../atoms/Icons/Icons';
|
|
4
|
-
import './genericDetail.scss';
|
|
5
|
-
import { LinkWithIconProps } from '../../atoms/LinkWithIcon/LinkWithIcon';
|
|
6
|
-
export interface GenericDetailProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
iconType: IconType;
|
|
9
|
-
title: string;
|
|
10
|
-
valueLabel?: string;
|
|
11
|
-
value: string;
|
|
12
|
-
scrollToSectionLink?: LinkWithIconProps;
|
|
13
|
-
}
|
|
14
|
-
export default function GenericDetail({ iconType, title, valueLabel, value, scrollToSectionLink, theme }: GenericDetailProps): ReactElement;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import GenericDetail from './GenericDetail';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof GenericDetail;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const WithValueLabel: Story;
|
|
12
|
-
export declare const WithValueLabelAndSectionLink: Story;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
4
|
-
import { HeadingProps as HeadingElementProps } from '../../atoms/Heading/Heading';
|
|
5
|
-
import './heading.scss';
|
|
6
|
-
type LinkProps = Omit<LinkWithArrowProps, 'theme' | 'inverse'>;
|
|
7
|
-
export interface HeadingProps {
|
|
8
|
-
/**
|
|
9
|
-
* The theme to use
|
|
10
|
-
*/
|
|
11
|
-
theme: ThemeProps;
|
|
12
|
-
/**
|
|
13
|
-
* Whether to inverse the colours
|
|
14
|
-
*/
|
|
15
|
-
inverse?: boolean;
|
|
16
|
-
htmlTag?: HeadingElementProps['htmlTag'];
|
|
17
|
-
title?: string;
|
|
18
|
-
description?: string | ReactElement;
|
|
19
|
-
linkProps?: LinkProps;
|
|
20
|
-
fullWidth?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export default function Heading({ title, description, linkProps, theme, inverse, fullWidth, htmlTag }: HeadingProps): ReactElement | null;
|
|
23
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Heading from './Heading';
|
|
3
|
-
import './heading.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof Heading;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof Heading>;
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
export declare const HeadingDescriptionChildren: Story;
|
|
18
|
-
export declare const Dark: Story;
|
|
19
|
-
export declare const Light: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import type { HeadingProps } from '../Heading';
|
|
3
|
-
type HeadingDescriptionProps = {
|
|
4
|
-
description: HeadingProps['description'];
|
|
5
|
-
inverse: HeadingProps['inverse'];
|
|
6
|
-
};
|
|
7
|
-
export default function HeadingDescription({ description, inverse }: HeadingDescriptionProps): ReactElement | null;
|
|
8
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { TextButtonProps } from '../../atoms/TextButton/TextButton';
|
|
4
|
-
import { LocationSelectorProps } from '../LocationSelector/LocationSelector';
|
|
5
|
-
import './inPageNavigationLinks.scss';
|
|
6
|
-
export interface InPageNavLinkProps {
|
|
7
|
-
url: string;
|
|
8
|
-
title: string;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export type InPageNavigationLinksProps = {
|
|
12
|
-
theme: ThemeProps;
|
|
13
|
-
heading?: string;
|
|
14
|
-
links: InPageNavLinkProps[];
|
|
15
|
-
buttonLinks?: Omit<TextButtonProps, 'theme'>[];
|
|
16
|
-
locationDetails?: LocationSelectorProps;
|
|
17
|
-
};
|
|
18
|
-
export default function InPageNavigationLinks({ theme, heading, links, buttonLinks, locationDetails }: InPageNavigationLinksProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import InPageNavigationLinks from './InPageNavigationLinks';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof InPageNavigationLinks;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Example: Story;
|
|
14
|
-
export declare const WithExternalOnClick: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './listTable.scss';
|
|
4
|
-
export interface ListTableProps {
|
|
5
|
-
theme?: ThemeProps;
|
|
6
|
-
listItems?: string[];
|
|
7
|
-
}
|
|
8
|
-
export default function ListTable({ theme, listItems }: ListTableProps): ReactElement;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ListTable from './ListTable';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ListTable;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../../atoms/Image/Image';
|
|
3
|
-
import { SearchResultDetailProps } from '../../../atoms/SearchResultDetail/SearchResultDetail';
|
|
4
|
-
import { ThemeProps } from '../../../../themeProps';
|
|
5
|
-
export interface AccomodationCardProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
type: 'accomodation';
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
url: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
13
|
-
showCategory?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export default function AccomodationCard({ theme, type, image, title, url, description, details, showCategory }: AccomodationCardProps): ReactElement;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../../atoms/Image/Image';
|
|
3
|
-
import { SearchResultDetailProps } from '../../../atoms/SearchResultDetail/SearchResultDetail';
|
|
4
|
-
import { ThemeProps } from '../../../../themeProps';
|
|
5
|
-
export interface CourseCardProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
type: 'course';
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
titleTag?: string;
|
|
11
|
-
url: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
supervisors?: string;
|
|
14
|
-
department?: string;
|
|
15
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
16
|
-
showCategory?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export default function CourseCard({ theme, type, image, title, titleTag, url, description, supervisors, department, details, showCategory }: CourseCardProps): ReactElement;
|