@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,19 +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
|
-
import { HeadingProps } from '../../../atoms/Heading/Heading';
|
|
6
|
-
export interface EventCardProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
type: 'event';
|
|
10
|
-
image?: ImageProps;
|
|
11
|
-
title: string;
|
|
12
|
-
url: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
15
|
-
showCategory?: boolean;
|
|
16
|
-
cardDescriptionIsRichText?: boolean;
|
|
17
|
-
titleTag: HeadingProps['htmlTag'];
|
|
18
|
-
}
|
|
19
|
-
export default function EventCard({ theme, inverse, type, image, title, url, description, details, showCategory, cardDescriptionIsRichText, titleTag }: EventCardProps): ReactElement;
|
|
@@ -1,16 +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 NewsCardProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
type: 'news';
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
url: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
author?: string;
|
|
13
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
14
|
-
showCategory?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export default function NewsCard({ theme, type, image, title, url, description, author, details, showCategory }: NewsCardProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../../themeProps';
|
|
3
|
-
import { ImageProps } from '../../../atoms/Image/Image';
|
|
4
|
-
export interface PageCardProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
type: 'page';
|
|
7
|
-
image?: ImageProps;
|
|
8
|
-
title: string;
|
|
9
|
-
url: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
showCategory?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export default function PageCard({ image, title, url, description }: PageCardProps): ReactElement;
|
|
@@ -1,17 +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 ProfileCardProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
type: 'profile';
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
url: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
jobTitle?: string;
|
|
13
|
-
department?: string;
|
|
14
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
15
|
-
showCategory?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export default function ProfileCard({ theme, image, title, url, description, jobTitle, department, details }: ProfileCardProps): ReactElement;
|
|
@@ -1,17 +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 StaffCardProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
type: 'staff';
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
title: string;
|
|
10
|
-
url: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
jobTitle?: string;
|
|
13
|
-
department?: string;
|
|
14
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
15
|
-
showCategory?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export default function StaffCard({ theme, type, image, title, url, description, jobTitle, department, details, showCategory }: StaffCardProps): ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { AccomodationCardProps } from './Cards/AccomodationCard';
|
|
3
|
-
import { CourseCardProps } from './Cards/CourseCard';
|
|
4
|
-
import { EventCardProps } from './Cards/EventCard';
|
|
5
|
-
import { NewsCardProps } from './Cards/NewsCard';
|
|
6
|
-
import { PageCardProps } from './Cards/PageCard';
|
|
7
|
-
import { StaffCardProps } from './Cards/StaffCard';
|
|
8
|
-
import './listingResultCard.scss';
|
|
9
|
-
import { ProfileCardProps } from './Cards/ProfileCard';
|
|
10
|
-
export type ListingResultCardProps = AccomodationCardProps | CourseCardProps | EventCardProps | NewsCardProps | PageCardProps | StaffCardProps | ProfileCardProps;
|
|
11
|
-
export default function ListingResultCard(props: ListingResultCardProps): ReactElement;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ListingResultCard from './ListingResultCard';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ListingResultCard;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof ListingResultCard>;
|
|
10
|
-
export declare const PageCard: Story;
|
|
11
|
-
export declare const PageCardNoImage: Story;
|
|
12
|
-
export declare const EventCard: Story;
|
|
13
|
-
export declare const EventCardRichText: Story;
|
|
14
|
-
export declare const EventCardH3Title: Story;
|
|
15
|
-
export declare const StaffCard: Story;
|
|
16
|
-
export declare const NewsCard: Story;
|
|
17
|
-
export declare const AccomodationCard: Story;
|
|
18
|
-
export declare const CourseCard: Story;
|
|
19
|
-
export declare const CourseCardH3Title: Story;
|
|
20
|
-
export declare const ProfileCard: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PageCardProps } from './Cards/PageCard';
|
|
2
|
-
import { EventCardProps } from './Cards/EventCard';
|
|
3
|
-
import { StaffCardProps } from './Cards/StaffCard';
|
|
4
|
-
import { NewsCardProps } from './Cards/NewsCard';
|
|
5
|
-
import { AccomodationCardProps } from './Cards/AccomodationCard';
|
|
6
|
-
import { CourseCardProps } from './Cards/CourseCard';
|
|
7
|
-
import { ProfileCardProps } from './Cards/ProfileCard';
|
|
8
|
-
export declare const pageCardProps: PageCardProps;
|
|
9
|
-
export declare const eventCardProps: EventCardProps;
|
|
10
|
-
export declare const eventCardRichTextProps: EventCardProps;
|
|
11
|
-
export declare const staffCardProps: StaffCardProps;
|
|
12
|
-
export declare const newsCardProps: NewsCardProps;
|
|
13
|
-
export declare const accomodationCardProps: AccomodationCardProps;
|
|
14
|
-
export declare const courseCardProps: CourseCardProps;
|
|
15
|
-
export declare const profileCardProps: ProfileCardProps;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { FormSelectProps } from '../../atoms/FormSelect/FormSelect';
|
|
4
|
-
import './locationSelector.scss';
|
|
5
|
-
export interface LocationSelectorProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
topPadding?: boolean;
|
|
9
|
-
selectorProps: FormSelectProps;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Primary UI component for user interaction
|
|
13
|
-
*/
|
|
14
|
-
export default function LocationSelector({ theme, inverse, topPadding, selectorProps }: LocationSelectorProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import LocationSelector from './LocationSelector';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof LocationSelector;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof LocationSelector>;
|
|
13
|
-
export declare const LocationSelectorExampleLight: Story;
|
|
14
|
-
export declare const LocationSelectorExampleDark: Story;
|
|
15
|
-
export declare const LocationSelectorExampleLightWithTopMargin: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './modalCTAButton.scss';
|
|
4
|
-
export interface ModalCTAButtonProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
inverse?: boolean;
|
|
7
|
-
buttonLabel: string;
|
|
8
|
-
hollow?: boolean;
|
|
9
|
-
modalChildren: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export default function ModalButtonCTA({ theme, inverse, buttonLabel, hollow, modalChildren }: ModalCTAButtonProps): ReactElement;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ModalCTAButton from './ModalCTAButton';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ModalCTAButton;
|
|
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 } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { CardFeaturedNewsProps } from '../CardFeaturedNews/CardFeaturedNews';
|
|
4
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
5
|
-
import './mostReadNews.scss';
|
|
6
|
-
export interface MostReadNewsProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
heading: string;
|
|
9
|
-
cards: Omit<CardFeaturedNewsProps, 'theme'>[];
|
|
10
|
-
link?: LinkWithArrowProps;
|
|
11
|
-
}
|
|
12
|
-
export default function MostReadNews({ theme, heading, cards, link }: MostReadNewsProps): ReactElement;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import MostReadNews from './MostReadNews';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof MostReadNews;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Example: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
export interface PaginationNumbersProps {
|
|
4
|
-
theme: ThemeProps;
|
|
5
|
-
numOfPages: number;
|
|
6
|
-
onClick: (pageNumber: number) => void;
|
|
7
|
-
currentPage: number;
|
|
8
|
-
}
|
|
9
|
-
export default function PaginationNumbers({ theme, numOfPages, onClick, currentPage }: PaginationNumbersProps): ReactElement;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import PaginationNumbers from './PaginationNumbers';
|
|
3
|
-
import '../../organisms/Pagination/pagination.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof PaginationNumbers;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
export declare const FourItems: () => ReactElement;
|
|
11
|
-
export declare const SixItems: () => ReactElement;
|
|
12
|
-
export declare const SevenItems: () => ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { SearchResultDetailProps } from '../../atoms/SearchResultDetail/SearchResultDetail';
|
|
4
|
-
import './searchResultDetailList.scss';
|
|
5
|
-
export interface SearchResultDetailListProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
details: Omit<SearchResultDetailProps, 'theme'>[];
|
|
9
|
-
verticalDetails?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export default function SearchResultDetailList({ theme, inverse, details, verticalDetails }: SearchResultDetailListProps): ReactElement;
|
package/dist/components/molecules/SearchResultDetailList/SearchResultDetailList.stories.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import SearchResultDetailList from './SearchResultDetailList';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof SearchResultDetailList;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { IconButtonProps } from '../../atoms/IconButton/IconButton';
|
|
4
|
-
import './shareButtons.scss';
|
|
5
|
-
export interface ShareButtonsProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
label?: string;
|
|
9
|
-
icons: IconButtonProps[];
|
|
10
|
-
}
|
|
11
|
-
export default function ShareButtons({ theme, inverse, label, icons }: ShareButtonsProps): ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import ShareButtons from './ShareButtons';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof ShareButtons;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const ExampleLight: Story;
|
|
11
|
-
export declare const ExampleDark: Story;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement, KeyboardEvent } from 'react';
|
|
2
|
-
import { TabItemProps } from './TabItemProps';
|
|
3
|
-
import './tab.scss';
|
|
4
|
-
export interface TabProps {
|
|
5
|
-
/**
|
|
6
|
-
* The tab list id
|
|
7
|
-
*/
|
|
8
|
-
id: number;
|
|
9
|
-
/**
|
|
10
|
-
* The theme to use
|
|
11
|
-
*/
|
|
12
|
-
theme?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Whether to invert the colours
|
|
15
|
-
*/
|
|
16
|
-
inverse?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* The tab items properties
|
|
19
|
-
*/
|
|
20
|
-
tabItem: TabItemProps;
|
|
21
|
-
/**
|
|
22
|
-
* Is the tab active
|
|
23
|
-
*/
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Does the tab have the focus state
|
|
27
|
-
*/
|
|
28
|
-
hasFocus: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* if enabled this will add a hash value to the URL to aid navigation and linking
|
|
31
|
-
* e.g. if you name the block modules and each tab is name term-[1,2,3] etc
|
|
32
|
-
* a hash of '#modules-term-1' will be added to the URL when the user clicks a tab or
|
|
33
|
-
* navigates a tab using the keyboard
|
|
34
|
-
*/
|
|
35
|
-
enableHashNavigation?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* If used, the name of the parent tabs block
|
|
38
|
-
*/
|
|
39
|
-
tabsBlockName?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The ref for the top of the tab list
|
|
42
|
-
*/
|
|
43
|
-
tabListTopRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
44
|
-
/**
|
|
45
|
-
* The method to handle a mouse click on the tab
|
|
46
|
-
*/
|
|
47
|
-
handleClick: (event: React.MouseEvent, activeTabId: number) => void;
|
|
48
|
-
/**
|
|
49
|
-
* The method to handle keyboard navigation events
|
|
50
|
-
*/
|
|
51
|
-
handleKeyboardNavigation: (e: KeyboardEvent) => void;
|
|
52
|
-
}
|
|
53
|
-
export default function Tab({ id, theme, inverse, tabItem, isActive, hasFocus, tabsBlockName, handleClick, handleKeyboardNavigation: handleKeyboardNavigation }: TabProps): ReactElement | null;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AccordionItemProps } from '../AccordionItem/AccordionItem';
|
|
2
|
-
import { CardModuleCardProps } from '../CardModuleCard/CardModuleCard';
|
|
3
|
-
export interface TabItemProps {
|
|
4
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | undefined;
|
|
5
|
-
cards?: CardModuleCardProps[];
|
|
6
|
-
title: string;
|
|
7
|
-
content?: string;
|
|
8
|
-
accordionItems?: AccordionItemProps[];
|
|
9
|
-
primaryButton?: {
|
|
10
|
-
text: string;
|
|
11
|
-
url: string;
|
|
12
|
-
};
|
|
13
|
-
secondaryButton?: {
|
|
14
|
-
text: string;
|
|
15
|
-
url: string;
|
|
16
|
-
};
|
|
17
|
-
link?: {
|
|
18
|
-
text: string;
|
|
19
|
-
url: string;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function formatTabName(tabsBlockName: string, tabTitle: string): string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import './tabsList.scss';
|
|
3
|
-
export interface TabListProps {
|
|
4
|
-
/**
|
|
5
|
-
* The theme to use
|
|
6
|
-
*/
|
|
7
|
-
theme?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Whether to invert the colours
|
|
10
|
-
*/
|
|
11
|
-
inverse?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The child components to display in the list
|
|
14
|
-
*/
|
|
15
|
-
children?: ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export default function TabList({ children, theme, inverse }: TabListProps): ReactElement | null;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import './tabPanel.scss';
|
|
3
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
4
|
-
export interface TabPanelProps {
|
|
5
|
-
/**
|
|
6
|
-
* The tab title
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* The html tag to be applied to the title
|
|
11
|
-
*/
|
|
12
|
-
htmlTag?: HeadingProps['htmlTag'] | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* The theme to use
|
|
15
|
-
*/
|
|
16
|
-
theme?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Whether to invert the colours
|
|
19
|
-
*/
|
|
20
|
-
inverse?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Is the panel active
|
|
23
|
-
*/
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* If used, the name of the parent tabs block
|
|
27
|
-
*/
|
|
28
|
-
tabsBlockName?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The child components to show in the panel
|
|
31
|
-
*/
|
|
32
|
-
children: ReactNode;
|
|
33
|
-
}
|
|
34
|
-
export default function TabPanel({ title, htmlTag, theme, inverse, isActive, children, tabsBlockName }: TabPanelProps): ReactElement | null;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './videoWithPlaceholder.scss';
|
|
4
|
-
export interface VideoWithPlaceholderProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
videoId?: string;
|
|
7
|
-
videoUrl?: string;
|
|
8
|
-
imageSrc: {
|
|
9
|
-
small?: string;
|
|
10
|
-
medium?: string;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default function VideoWithPlaceholder({ theme, imageSrc, videoUrl, videoId }: VideoWithPlaceholderProps): ReactElement;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import VideoWithPlaceholder from './VideoWithPlaceholder';
|
|
3
|
-
declare const meta: Meta<typeof VideoWithPlaceholder>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof VideoWithPlaceholder>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './wysiwyg.scss';
|
|
4
|
-
export interface WysiwygProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
inverse?: boolean;
|
|
7
|
-
text: string;
|
|
8
|
-
}
|
|
9
|
-
export default function Wysiwyg({ theme, inverse, text }: WysiwygProps): ReactElement;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Wysiwyg from './Wysiwyg';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Wysiwyg;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Dark: Story;
|
|
11
|
-
export declare const Light: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { AccordionItemProps } from '../../molecules/AccordionItem/AccordionItem';
|
|
4
|
-
import './accordion.scss';
|
|
5
|
-
import { HeadingProps } from '../../molecules/Heading/Heading';
|
|
6
|
-
import { TabItemProps } from '../../molecules/Tab/TabItemProps';
|
|
7
|
-
export interface AccordionProps {
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
inverse?: boolean;
|
|
10
|
-
heading?: Omit<HeadingProps, 'theme' | 'inverse'>;
|
|
11
|
-
accordionItems: AccordionItemProps[] | TabItemProps[];
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export default function Accordion({ theme, inverse, heading, accordionItems, fullWidth }: AccordionProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Accordion from './Accordion';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Accordion;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const Light: Story;
|
|
12
|
-
export declare const Dark: Story;
|
|
13
|
-
export declare const AccordionForCourseModules: Story;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AccordionProps } from './Accordion';
|
|
2
|
-
export declare const accordionProps: AccordionProps;
|
|
3
|
-
export declare const accordionPropsEditorNotes: AccordionProps;
|
|
4
|
-
export declare const accordionPropsModules: AccordionProps;
|
|
5
|
-
export declare const accordionPropsScholarshipsAward: AccordionProps;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
4
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
5
|
-
import './accreditationPromotion.scss';
|
|
6
|
-
interface Accreditation {
|
|
7
|
-
text: string;
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
}
|
|
10
|
-
export interface AccreditationPromotionProps {
|
|
11
|
-
theme: ThemeProps;
|
|
12
|
-
heading?: string;
|
|
13
|
-
htmlTag: HeadingProps['htmlTag'];
|
|
14
|
-
intro?: string;
|
|
15
|
-
accreditations: Accreditation[];
|
|
16
|
-
/**
|
|
17
|
-
* The fullWidth version of this component is used for in study pages
|
|
18
|
-
*/
|
|
19
|
-
fullWidth?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export default function AcreditationPromotion({ theme, heading, intro, accreditations, htmlTag, fullWidth }: AccreditationPromotionProps): ReactElement;
|
|
22
|
-
export {};
|
package/dist/components/organisms/AccreditationPromotion/AccreditationPromotion.stories.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import AccreditationPromotion from './AccreditationPromotion';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof AccreditationPromotion;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Example: Story;
|
|
11
|
-
export declare const ExampleNoHeading: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { RichTextProps } from '../RichText/RichText';
|
|
4
|
-
import './alertBanner.scss';
|
|
5
|
-
export interface AlertBannerProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
richText: RichTextProps;
|
|
9
|
-
type: 'warning' | 'success' | 'information';
|
|
10
|
-
}
|
|
11
|
-
export default function AlertBanner({ theme, inverse, type, richText }: AlertBannerProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import AlertBanner from './AlertBanner';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof AlertBanner;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const DarkWarning: Story;
|
|
11
|
-
export declare const DarkInformation: Story;
|
|
12
|
-
export declare const DarkSuccess: Story;
|
|
13
|
-
export declare const LightWarning: Story;
|
|
14
|
-
export declare const LightInformation: Story;
|
|
15
|
-
export declare const LightSuccess: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './anchorTarget.scss';
|
|
4
|
-
export interface AnchorTargetProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
inverse?: boolean;
|
|
7
|
-
targetLabel: string;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
includeDivider?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export default function AnchorTarget({ theme, inverse, includeDivider, targetLabel, children }: AnchorTargetProps): ReactElement;
|