@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,13 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { TextButtonWithIconProps } from '../../atoms/TextButtonWithIcon/TextButtonWithIcon';
|
|
4
|
-
import { TextButtonProps } from '../../atoms/TextButton/TextButton';
|
|
5
|
-
import './singleButton.scss';
|
|
6
|
-
export interface SingleButtonProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
includeIcon: boolean;
|
|
10
|
-
link: TextButtonWithIconProps | TextButtonProps;
|
|
11
|
-
fullWidth?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export default function SingleButton({ theme, inverse, includeIcon, link, fullWidth }: SingleButtonProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import SingleButton from './SingleButton';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof SingleButton;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const DarkWithIcon: Story;
|
|
11
|
-
export declare const LightWithIcon: Story;
|
|
12
|
-
export declare const DarkNoIcon: Story;
|
|
13
|
-
export declare const LightNoIcon: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import './SkipToContent.scss';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
export interface SkipToContentProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
}
|
|
7
|
-
export default function SkipToContent({ theme }: SkipToContentProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import SkipToContent from './SkipToContent';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof SkipToContent;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof SkipToContent>;
|
|
15
|
-
export declare const Default: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CardStaffProps } from '../../molecules/CardStaff/CardStaff';
|
|
4
|
-
import { CardPromoProfileProps } from '../../molecules/CardPromoProfile/CardPromoProfile';
|
|
5
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
6
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
7
|
-
import './staffListingCarousel.scss';
|
|
8
|
-
export interface StaffListingCarouselProps {
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
inverse?: boolean;
|
|
11
|
-
fullWidth?: boolean;
|
|
12
|
-
heading: string;
|
|
13
|
-
cards: CardStaffProps[] | CardPromoProfileProps[];
|
|
14
|
-
headingStyle?: 'news' | null;
|
|
15
|
-
singleLink: LinkWithArrowProps;
|
|
16
|
-
titleTag?: HeadingProps['htmlTag'];
|
|
17
|
-
useCarousel?: boolean;
|
|
18
|
-
cardType?: 'staff' | 'promo-profile';
|
|
19
|
-
}
|
|
20
|
-
export default function StaffListingCarousel({ theme, inverse, fullWidth, heading, headingStyle, cards, singleLink, titleTag, useCarousel, cardType }: StaffListingCarouselProps): ReactElement;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import StaffListingCarousel from './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 ExampleThreeOrMoreStaff: Story;
|
|
11
|
-
export declare const ExampleThreeOrMoreStaffDark: Story;
|
|
12
|
-
export declare const ExampleWithNewsStyleHeading: Story;
|
|
13
|
-
export declare const ExampleOneStaff: Story;
|
|
14
|
-
export declare const ExampleTwoStaff: Story;
|
|
15
|
-
export declare const ExampleThreeStaffNoCarousel: Story;
|
|
16
|
-
export declare const ExampleTwoStaffNoCarousel: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StaffListingCarouselProps } from './StaffListingCarousel';
|
|
2
|
-
import { CardPromoProfileProps } from '../../molecules/CardPromoProfile/CardPromoProfile';
|
|
3
|
-
export declare const staffListingCarouselProps: StaffListingCarouselProps;
|
|
4
|
-
export declare const newsStaffListingCarouselProps: StaffListingCarouselProps;
|
|
5
|
-
export declare const staffListingEventsProps: StaffListingCarouselProps;
|
|
6
|
-
export declare const profileCards: CardPromoProfileProps[];
|
|
7
|
-
export declare const profileCardsDark: CardPromoProfileProps[];
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, ReactElement } from 'react';
|
|
2
|
-
import { FilterAccordionSelectProps } from '../../molecules/FilterAccordionSelect/FilterAccordionSelect';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './standardListingFilter.scss';
|
|
5
|
-
export interface StandardListingFilterProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
heading: string;
|
|
8
|
-
listingGroups: ListingGroup[];
|
|
9
|
-
onClearFilters: () => void;
|
|
10
|
-
onViewResults?: () => void;
|
|
11
|
-
}
|
|
12
|
-
type ListingGroup = DateProps | RadioProps | CheckboxProps | SelectProps;
|
|
13
|
-
export interface RadioProps {
|
|
14
|
-
type: 'radio';
|
|
15
|
-
heading: string;
|
|
16
|
-
name: string;
|
|
17
|
-
inputs: Array<{
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
id: string;
|
|
21
|
-
}>;
|
|
22
|
-
onChange?: (e: ChangeEvent) => void;
|
|
23
|
-
defaultValue?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface CheckboxProps {
|
|
26
|
-
type: 'checkbox';
|
|
27
|
-
heading: string;
|
|
28
|
-
name: string;
|
|
29
|
-
inputs: Array<{
|
|
30
|
-
value: string;
|
|
31
|
-
label: string;
|
|
32
|
-
id: string;
|
|
33
|
-
}>;
|
|
34
|
-
onChange?: (e: ChangeEvent) => void;
|
|
35
|
-
defaultValues?: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface DateProps {
|
|
38
|
-
type: 'date';
|
|
39
|
-
name: string;
|
|
40
|
-
label: string;
|
|
41
|
-
id: string;
|
|
42
|
-
onChange?: (e: ChangeEvent) => void;
|
|
43
|
-
defaultValue?: string;
|
|
44
|
-
}
|
|
45
|
-
export interface SelectProps extends FilterAccordionSelectProps {
|
|
46
|
-
type: 'select';
|
|
47
|
-
onChange?: (e: ChangeEvent) => void;
|
|
48
|
-
defaultValue?: string;
|
|
49
|
-
name: string;
|
|
50
|
-
id: string;
|
|
51
|
-
}
|
|
52
|
-
export default function StandardListingFilter({ theme, heading, listingGroups, onClearFilters, onViewResults }: StandardListingFilterProps): ReactElement;
|
|
53
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import StandardListingFilter from './StandardListingFilter';
|
|
3
|
-
declare const meta: Meta<typeof StandardListingFilter>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof StandardListingFilter>;
|
|
6
|
-
export declare const CoursesFilter: Story;
|
|
7
|
-
export declare const EventsFilter: Story;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { TabItemProps } from '../../molecules/Tab/TabItemProps';
|
|
4
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
5
|
-
import './tabsBlock.scss';
|
|
6
|
-
export interface TabsBlockProps {
|
|
7
|
-
/**
|
|
8
|
-
* The theme to use
|
|
9
|
-
*/
|
|
10
|
-
theme: ThemeProps;
|
|
11
|
-
/**
|
|
12
|
-
* Whether to invert the colours
|
|
13
|
-
*/
|
|
14
|
-
inverse?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Optional title of the component
|
|
17
|
-
*/
|
|
18
|
-
title?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Optional description of the component
|
|
21
|
-
*/
|
|
22
|
-
description?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The tab items properties
|
|
25
|
-
*/
|
|
26
|
-
tabItems: TabItemProps[];
|
|
27
|
-
/**
|
|
28
|
-
* The fullWidth version of this component is used for in study pages
|
|
29
|
-
*/
|
|
30
|
-
fullWidth?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* heading tag options
|
|
33
|
-
*/
|
|
34
|
-
htmlTag?: HeadingProps['htmlTag'];
|
|
35
|
-
/**
|
|
36
|
-
* FIXME - when the mixd storybook is no longer used
|
|
37
|
-
* use CSS rules instead of these spacing props
|
|
38
|
-
*/
|
|
39
|
-
removeBottomPadding?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* a unique name to help identify the tab block on a page with multiple tab blocks
|
|
42
|
-
*/
|
|
43
|
-
name?: string;
|
|
44
|
-
/**
|
|
45
|
-
* if enabled this will add a hash value to the URL to aid navigation and linking
|
|
46
|
-
* e.g. if you name the block modules and each tab is name term-[1,2,3] etc
|
|
47
|
-
* a hash of '#modules-term-1' will be added to the URL when the user clicks a tab or
|
|
48
|
-
* navigates a tab using the keyboard
|
|
49
|
-
*/
|
|
50
|
-
enableHashNavigation?: boolean;
|
|
51
|
-
}
|
|
52
|
-
export default function TabsBlock({ theme, inverse, title, description, tabItems, fullWidth, htmlTag, removeBottomPadding, name, enableHashNavigation }: TabsBlockProps): ReactElement | null;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TabsBlock from './TabsBlock';
|
|
3
|
-
import './tabsBlock.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof TabsBlock;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof TabsBlock>;
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
export declare const LightOrInverse: Story;
|
|
18
|
-
export declare const WithHashNavigation: Story;
|
|
19
|
-
export declare const WithoutHeadingOrDescription: Story;
|
|
20
|
-
export declare const WithoutDescription: Story;
|
|
21
|
-
export declare const OneButton: Story;
|
|
22
|
-
export declare const WithOptionalLink: Story;
|
|
23
|
-
export declare const ButtonsWithLongText: Story;
|
|
24
|
-
export declare const TabsBlockForCourseModules: Story;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './textWithBackground.scss';
|
|
4
|
-
export interface TextWithBackgroundProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
/**
|
|
10
|
-
* Whether to inverse the colours
|
|
11
|
-
*/
|
|
12
|
-
inverse?: boolean;
|
|
13
|
-
headingLevel: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
14
|
-
headingText: string;
|
|
15
|
-
text: string;
|
|
16
|
-
url?: string;
|
|
17
|
-
linkTitle?: string;
|
|
18
|
-
externalLink?: boolean;
|
|
19
|
-
linkStyle?: 'primary' | 'secondary' | 'paragraph-link';
|
|
20
|
-
fullWidth?: boolean;
|
|
21
|
-
removeBottomPadding?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export default function TextWithBackground({ text, theme, inverse, headingLevel, headingText, url, linkTitle, externalLink, linkStyle, fullWidth, removeBottomPadding }: TextWithBackgroundProps): ReactElement;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TextWithBackground from './TextWithBackground';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof TextWithBackground;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof TextWithBackground>;
|
|
15
|
-
export declare const DarkWithPrimaryButton: Story;
|
|
16
|
-
export declare const DarkWithSecondaryButton: Story;
|
|
17
|
-
export declare const DarkWithParagraphLink: Story;
|
|
18
|
-
export declare const DarkNoLink: Story;
|
|
19
|
-
export declare const LightWithPrimaryButton: Story;
|
|
20
|
-
export declare const LightWithSecondaryButton: Story;
|
|
21
|
-
export declare const LightWithParagraphLink: Story;
|
|
22
|
-
export declare const LightNoLink: Story;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TextWithBackgroundProps } from './TextWithBackground';
|
|
2
|
-
export declare const accommodationGuarantee: TextWithBackgroundProps;
|
|
3
|
-
export declare const contactUsProps: TextWithBackgroundProps;
|
|
4
|
-
export declare const textWithBackgroundApplicationProcessProps: TextWithBackgroundProps;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './topicSelector.scss';
|
|
4
|
-
import { PillProps } from '../../atoms/Pill/Pill';
|
|
5
|
-
export interface TopicSelectorProps {
|
|
6
|
-
/**
|
|
7
|
-
* The theme to use
|
|
8
|
-
*/
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
/**
|
|
11
|
-
* The pills to display the list
|
|
12
|
-
*/
|
|
13
|
-
topics: Omit<PillProps, 'theme'>[];
|
|
14
|
-
titleTag: 'h2' | 'h3';
|
|
15
|
-
heading: string;
|
|
16
|
-
}
|
|
17
|
-
export default function TopicSelector({ topics, theme, titleTag, heading }: TopicSelectorProps): ReactElement | null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TopicSelector from './TopicSelector';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof TopicSelector;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Example: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './twoColumnWrapper.scss';
|
|
4
|
-
export interface TwoColumnWrapperProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
firstColumn: ReactNode;
|
|
10
|
-
secondColumn?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export default function TwoColumnWrapper({ theme, firstColumn, secondColumn }: TwoColumnWrapperProps): ReactElement;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TwoColumnWrapper from './TwoColumnWrapper';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof TwoColumnWrapper;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof TwoColumnWrapper>;
|
|
15
|
-
export declare const Default: Story;
|
|
16
|
-
export declare const NoUnibuddyPresent: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CardVideoProps } from '../../molecules/CardVideo/CardVideo';
|
|
4
|
-
import './videoCardComponent.scss';
|
|
5
|
-
export interface VideoCardComponentProps {
|
|
6
|
-
/**
|
|
7
|
-
* The theme to use
|
|
8
|
-
*/
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
title: string;
|
|
11
|
-
linkUrl?: string;
|
|
12
|
-
linkText?: string;
|
|
13
|
-
externalLink?: boolean;
|
|
14
|
-
tag?: string;
|
|
15
|
-
cards: [CardVideoProps, CardVideoProps, CardVideoProps];
|
|
16
|
-
}
|
|
17
|
-
export default function VideoCardComponent({ theme, tag, title, linkUrl, linkText, externalLink, cards }: VideoCardComponentProps): ReactElement | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import VideoCardComponent from './VideoCardComponent';
|
|
3
|
-
declare const meta: Meta<typeof VideoCardComponent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof VideoCardComponent>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
4
|
-
import './videoEmbed.scss';
|
|
5
|
-
export interface VideoEmbedProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
videoId?: string;
|
|
9
|
-
videoUrl?: string;
|
|
10
|
-
audioDescribedVideoId?: string;
|
|
11
|
-
audioDescribedVideoUrl?: string;
|
|
12
|
-
imageSrc: {
|
|
13
|
-
small?: string;
|
|
14
|
-
medium?: string;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
heading?: Omit<HeadingProps, 'theme' | 'inverse'>;
|
|
18
|
-
transcript?: string;
|
|
19
|
-
fullWidth?: boolean;
|
|
20
|
-
videoCaption?: string;
|
|
21
|
-
videoCredit?: string;
|
|
22
|
-
}
|
|
23
|
-
export default function VideoEmbed({ theme, inverse, imageSrc, videoUrl, videoId, heading, audioDescribedVideoId, audioDescribedVideoUrl, transcript, fullWidth, videoCaption, videoCredit }: VideoEmbedProps): ReactElement;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import VideoEmbed from './VideoEmbed';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof VideoEmbed;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof VideoEmbed>;
|
|
15
|
-
export declare const Dark: Story;
|
|
16
|
-
export declare const Light: Story;
|
|
17
|
-
export declare const FullWidth: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useBreakpoint(breakpointWidth?: string, boolean?: boolean): boolean;
|
package/dist/index.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import './base.scss';
|
|
2
|
-
import Accordion, { AccordionProps } from './components/organisms/Accordion/Accordion';
|
|
3
|
-
import AcreditationPromotion, { AccreditationPromotionProps } from './components/organisms/AccreditationPromotion/AccreditationPromotion';
|
|
4
|
-
import AlertBanner, { AlertBannerProps } from './components/organisms/AlertBanner/AlertBanner';
|
|
5
|
-
import AnchorTarget, { AnchorTargetProps } from './components/organisms/AnchorTarget/AnchorTarget';
|
|
6
|
-
import Breadcrumbs, { BreadcrumbsProps } from './components/organisms/Breadcrumbs/Breadcrumbs';
|
|
7
|
-
import Carousel, { CarouselProps } from './components/organisms/Carousel/Carousel';
|
|
8
|
-
import CardProfile, { CardProfileProps } from './components/molecules/CardProfile/CardProfile';
|
|
9
|
-
import CentreWrapper, { CenterWrapperProps } from './components/organisms/CentreWrapper/CentreWrapper';
|
|
10
|
-
import ClearingBanner, { ClearingBannerProps } from './components/organisms/ClearingBanner/ClearingBanner';
|
|
11
|
-
import CourseDeliveryPills, { CourseDeliveryPillsProps } from './components/organisms/CourseDeliveryPills/CourseDeliveryPills';
|
|
12
|
-
import CTAComponent, { CTAComponentProps } from './components/organisms/CTAComponent/CTAComponent';
|
|
13
|
-
import EmbedWrapper, { EmbedWrapperProps } from './components/organisms/EmbedWrapper/EmbedWrapper';
|
|
14
|
-
import FactBoxes, { FactBoxesProps } from './components/organisms/FactBoxes/FactBoxes';
|
|
15
|
-
import FeaturedContent, { FeaturedContentProps } from './components/organisms/FeaturedContent/FeaturedContent';
|
|
16
|
-
import FeaturedSignpost, { FeaturedSignpostProps } from './components/organisms/FeaturedSignpost/FeaturedSignpost';
|
|
17
|
-
import FeaturedVideo, { FeaturedVideoProps } from './components/organisms/FeaturedVideo/FeaturedVideo';
|
|
18
|
-
import FiveArticlesGrid, { FiveArticlesGridProps } from './components/organisms/FiveArticlesGrid/FiveArticlesGrid';
|
|
19
|
-
import Footer, { FooterProps } from './components/organisms/Footer/Footer';
|
|
20
|
-
import GenericDetailSection, { GenericDetailSectionProps } from './components/organisms/GenericDetailSection/GenericDetailSection';
|
|
21
|
-
import GeneralSearchFilter, { GeneralSearchFilterProps } from './components/organisms/GeneralSearchFilter/GeneralSearchFilter';
|
|
22
|
-
import { Header, HeaderProps } from './components/organisms/Header/Header';
|
|
23
|
-
import Heading, { HeadingProps } from './components/molecules/Heading/Heading';
|
|
24
|
-
import Hero, { HeroProps } from './components/organisms/Hero/Hero';
|
|
25
|
-
import HeroArticle, { HeroArticleProps } from './components/organisms/HeroArticle/HeroArticle';
|
|
26
|
-
import HeroCourses, { HeroCoursesProps } from './components/organisms/HeroCourses/HeroCourses';
|
|
27
|
-
import HeroCarousel, { HeroCarouselProps } from './components/organisms/HeroCarousel/HeroCarousel';
|
|
28
|
-
import ImageBlock, { ImageBlockProps } from './components/organisms/ImageBlock/ImageBlock';
|
|
29
|
-
import ImageCarousel, { ImageCarouselProps } from './components/organisms/ImageCarousel/ImageCarousel';
|
|
30
|
-
import InPageNavigation, { InPageNavigationProps } from './components/organisms/InPageNavigation/InPageNavigation';
|
|
31
|
-
import IntroText, { IntroTextProps } from './components/organisms/IntroText/IntroText';
|
|
32
|
-
import LeadNewsArticles, { LeadNewsArticlesProps } from './components/organisms/LeadNewsArticles/LeadNewsArticles';
|
|
33
|
-
import ListingFilterWrapper, { ListingFilterWrapperProps } from './components/organisms/ListingFilterWrapper/ListingFilterWrapper';
|
|
34
|
-
import ListingResults, { ListingResultsProps } from './components/organisms/ListingResults/ListingResults';
|
|
35
|
-
import ListingResultsCount, { ListingResultsCountProps } from './components/organisms/ListingResultsCount/ListingResultsCount';
|
|
36
|
-
import ListTable, { ListTableProps } from './components/molecules/ListTable/ListTable';
|
|
37
|
-
import MainWrapper, { MainWrapperProps } from './components/atoms/MainWrapper/MainWrapper';
|
|
38
|
-
import NewsArticlesPromoBlock, { NewsArticlesPromoBlockProps } from './components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock';
|
|
39
|
-
import Pagination, { PaginationProps } from './components/organisms/Pagination/Pagination';
|
|
40
|
-
import PromoBlock, { PromoBlockProps } from './components/organisms/PromoBlock/PromoBlock';
|
|
41
|
-
import PromoBlockGrid from './components/organisms/PromoBlockGrid/PromoBlockGrid';
|
|
42
|
-
import QuoteBlock, { QuoteBlockProps } from './components/organisms/QuoteBlock/QuoteBlock';
|
|
43
|
-
import RelatedCourses, { RelatedCoursesProps } from './components/organisms/RelatedCourses/RelatedCourses';
|
|
44
|
-
import RichText, { RichTextProps } from './components/organisms/RichText/RichText';
|
|
45
|
-
import ScholarshipCarousel, { ScholarshipCarouselProps } from './components/organisms/ScholarshipCarousel/ScholarshipCarousel';
|
|
46
|
-
import SearchCourses, { SearchCoursesProps } from './components/organisms/SearchCourses/SearchCourses';
|
|
47
|
-
import StaffListingCarousel, { StaffListingCarouselProps } from './components/organisms/StaffListingCarousel/StaffListingCarousel';
|
|
48
|
-
import SidebarWrapper, { SidebarWrapperProps } from './components/organisms/SidebarWrapper/SidebarWrapper';
|
|
49
|
-
import SignPost, { SignPostProps } from './components/organisms/SignPost/SignPost';
|
|
50
|
-
import SingleButton, { SingleButtonProps } from './components/organisms/SingleButton/SingleButton';
|
|
51
|
-
import SkipToContent, { SkipToContentProps } from './components/organisms/SkipToContent/SkipToContent';
|
|
52
|
-
import TabsBlock, { TabsBlockProps } from './components/organisms/TabsBlock/TabsBlock';
|
|
53
|
-
import TextWithBackground, { TextWithBackgroundProps } from './components/organisms/TextWithBackground/TextWithBackground';
|
|
54
|
-
import TopicSelector, { TopicSelectorProps } from './components/organisms/TopicSelector/TopicSelector';
|
|
55
|
-
import StandardListingFilter, { StandardListingFilterProps } from './components/organisms/StandardListingFilter/StandardListingFilter';
|
|
56
|
-
import VideoCardComponent, { VideoCardComponentProps } from './components/organisms/VideoCardComponent/VideoCardComponent';
|
|
57
|
-
import VideoEmbed, { VideoEmbedProps } from './components/organisms/VideoEmbed/VideoEmbed';
|
|
58
|
-
import LocationSelector, { LocationSelectorProps } from './components/molecules/LocationSelector/LocationSelector';
|
|
59
|
-
import ResearchStoryCarousel, { ResearchStoryCarouselProps } from './components/organisms/ResearchStoryCarousel/ResearchStoryCarousel';
|
|
60
|
-
import ScrollableTable, { ScrollableTableProps, ScrollableTableCategory } from './components/organisms/ScrollableTable/ScrollableTable';
|
|
61
|
-
import ModalCTA, { ModalCTAProps } from './components/organisms/ModalCTA/ModalCTA';
|
|
62
|
-
import ModuleCardGroup, { ModuleCardGroupProps } from './components/organisms/ModuleCardGroup/ModuleCardGroup';
|
|
63
|
-
import LocationSection, { LocationSectionProps } from './components/organisms/LocationSection/LocationSection';
|
|
64
|
-
import HeroProfile, { HeroProfileProps } from './components/organisms/HeroProfile/HeroProfile';
|
|
65
|
-
import TwoColumnWrapper, { TwoColumnWrapperProps } from './components/organisms/TwoColumnWrapper/TwoColumnWrapper';
|
|
66
|
-
import { FormSelectProps, SelectOptionsProps } from './components/atoms/FormSelect/FormSelect';
|
|
67
|
-
import CardPromoProfile, { CardPromoProfileProps } from './components/molecules/CardPromoProfile/CardPromoProfile';
|
|
68
|
-
import CardStaff, { CardStaffProps } from './components/molecules/CardStaff/CardStaff';
|
|
69
|
-
export type { AccordionProps, AccreditationPromotionProps, AlertBannerProps, AnchorTargetProps, BreadcrumbsProps, CarouselProps, CardProfileProps, CardStaffProps, CenterWrapperProps, ClearingBannerProps, CourseDeliveryPillsProps, CTAComponentProps, EmbedWrapperProps, FactBoxesProps, FeaturedContentProps, FeaturedSignpostProps, FeaturedVideoProps, FiveArticlesGridProps, FooterProps, FormSelectProps, GenericDetailSectionProps, GeneralSearchFilterProps, HeaderProps, HeadingProps, HeroProps, HeroArticleProps, HeroCarouselProps, HeroCoursesProps, HeroProfileProps, ImageBlockProps, ImageCarouselProps, InPageNavigationProps, IntroTextProps, LeadNewsArticlesProps, ListingFilterWrapperProps, ListingResultsProps, ListingResultsCountProps, ListTableProps, LocationSelectorProps, MainWrapperProps, ModuleCardGroupProps, NewsArticlesPromoBlockProps, PaginationProps, PromoBlockProps, QuoteBlockProps, RelatedCoursesProps, ResearchStoryCarouselProps, RichTextProps, ScholarshipCarouselProps, SearchCoursesProps, SelectOptionsProps, StaffListingCarouselProps, SidebarWrapperProps, SignPostProps, SingleButtonProps, SkipToContentProps, TabsBlockProps, TextWithBackgroundProps, TwoColumnWrapperProps, TopicSelectorProps, StandardListingFilterProps, VideoCardComponentProps, VideoEmbedProps, ScrollableTableProps, ScrollableTableCategory, ModalCTAProps, LocationSectionProps, CardPromoProfileProps };
|
|
70
|
-
export { Accordion, AcreditationPromotion, AlertBanner, AnchorTarget, Breadcrumbs, Carousel, CardProfile, CardStaff, CentreWrapper, ClearingBanner, CourseDeliveryPills, CTAComponent, EmbedWrapper, FactBoxes, FeaturedContent, FeaturedSignpost, FeaturedVideo, FiveArticlesGrid, Footer, GeneralSearchFilter, GenericDetailSection, Header, Heading, Hero, HeroArticle, HeroCarousel, HeroCourses, HeroProfile, ImageBlock, ImageCarousel, InPageNavigation, IntroText, LeadNewsArticles, ListingFilterWrapper, ListingResults, ListingResultsCount, ListTable, LocationSelector, MainWrapper, ModuleCardGroup, NewsArticlesPromoBlock, Pagination, PromoBlock, PromoBlockGrid, QuoteBlock, RelatedCourses, ResearchStoryCarousel, RichText, ScholarshipCarousel, SearchCourses, SidebarWrapper, SignPost, SingleButton, SkipToContent, StaffListingCarousel, StandardListingFilter, TabsBlock, TextWithBackground, TopicSelector, TwoColumnWrapper, VideoCardComponent, VideoEmbed, ScrollableTable, ModalCTA, LocationSection, CardPromoProfile };
|