@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,10 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import SearchResultDetail from './SearchResultDetail';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof SearchResultDetail;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './textButton.scss';
|
|
4
|
-
export interface TextButtonProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
/**
|
|
10
|
-
* Whether to inverse the colours
|
|
11
|
-
*/
|
|
12
|
-
inverse?: boolean;
|
|
13
|
-
label: string;
|
|
14
|
-
/**
|
|
15
|
-
* Handler to use if it's a <button />
|
|
16
|
-
*/
|
|
17
|
-
onClick?: () => void;
|
|
18
|
-
url?: string;
|
|
19
|
-
externalLink?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the button has a background color or is hollow
|
|
22
|
-
*/
|
|
23
|
-
hollow?: boolean;
|
|
24
|
-
/** Whether the button is max-width:fit-content or full-width */
|
|
25
|
-
buttonModifier?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the button is used as a submit button in a form
|
|
28
|
-
*/
|
|
29
|
-
isSubmit?: boolean;
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
}
|
|
32
|
-
export default function TextButton({ theme, inverse, label, onClick, url, externalLink, hollow, isSubmit, disabled }: TextButtonProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TextButton from './TextButton';
|
|
3
|
-
import './textButton.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof TextButton;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
export declare const DarkFilled: Story;
|
|
12
|
-
export declare const DarkHollow: Story;
|
|
13
|
-
export declare const Light: Story;
|
|
14
|
-
export declare const LightHollow: Story;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { MouseEventHandler, ReactElement } from 'react';
|
|
2
|
-
import { IconType } from '../Icons/Icons';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './textButtonWithIcon.scss';
|
|
5
|
-
export interface TextButtonWithIconProps {
|
|
6
|
-
/**
|
|
7
|
-
* The theme to use
|
|
8
|
-
*/
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
/**
|
|
11
|
-
* The id & one trust element to add for One Trust cookie settings button */
|
|
12
|
-
id?: string;
|
|
13
|
-
oneTrustElement?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Whether to inverse the colours
|
|
16
|
-
*/
|
|
17
|
-
inverse?: boolean;
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* Handler to use if it's a <button />
|
|
21
|
-
*/
|
|
22
|
-
onClick?: MouseEventHandler;
|
|
23
|
-
url?: string;
|
|
24
|
-
externalLink?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the button has a background color or is hollow
|
|
27
|
-
*/
|
|
28
|
-
hollow?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Whether the button is used as a submit button in a form
|
|
31
|
-
*/
|
|
32
|
-
isSubmit?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* The icon to be used
|
|
35
|
-
*/
|
|
36
|
-
icon: IconType;
|
|
37
|
-
/**
|
|
38
|
-
* The icon to be used
|
|
39
|
-
*/
|
|
40
|
-
iconPosition?: 'left' | 'right';
|
|
41
|
-
}
|
|
42
|
-
export default function TextButtonWithIcon({ theme, id, inverse, label, onClick, url, externalLink, hollow, isSubmit, icon, iconPosition, oneTrustElement }: TextButtonWithIconProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import TextButtonWithIcon from './TextButtonWithIcon';
|
|
3
|
-
import './textButtonWithIcon.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof TextButtonWithIcon;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
export declare const DarkFilled: Story;
|
|
12
|
-
export declare const DarkHollow: Story;
|
|
13
|
-
export declare const Light: Story;
|
|
14
|
-
export declare const LightHollow: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './video.scss';
|
|
4
|
-
export interface VideoProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
id?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
autoPlay?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export default function Video({ theme, id, url, autoPlay }: VideoProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import Video from './Video';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Video;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
backgrounds: {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof Video>;
|
|
15
|
-
export declare const Dark: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import './videoPlaceholder.scss';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
export interface VideoPlaceholderProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
imageSrc: {
|
|
7
|
-
small?: string;
|
|
8
|
-
medium?: string;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
onClick: () => void;
|
|
12
|
-
}
|
|
13
|
-
export default function VideoPlaceholder({ theme, imageSrc, onClick }: VideoPlaceholderProps): ReactElement;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import VideoPlaceholder from './VideoPlaceholder';
|
|
3
|
-
declare const meta: Meta<typeof VideoPlaceholder>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof VideoPlaceholder>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './accordionItem.scss';
|
|
4
|
-
import { CardModuleCardProps } from '../CardModuleCard/CardModuleCard';
|
|
5
|
-
export interface AccordionItemProps {
|
|
6
|
-
key?: number;
|
|
7
|
-
title: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
theme: ThemeProps;
|
|
10
|
-
inverse?: boolean;
|
|
11
|
-
titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | undefined;
|
|
12
|
-
openByDefault?: boolean;
|
|
13
|
-
cards?: CardModuleCardProps[];
|
|
14
|
-
primaryButton?: {
|
|
15
|
-
text: string;
|
|
16
|
-
url: string;
|
|
17
|
-
};
|
|
18
|
-
secondaryButton?: {
|
|
19
|
-
text: string;
|
|
20
|
-
url: string;
|
|
21
|
-
};
|
|
22
|
-
link?: {
|
|
23
|
-
text: string;
|
|
24
|
-
url: string;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export default function AccordionItem({ theme, title, text, inverse, titleTag, cards, openByDefault, primaryButton, secondaryButton, link }: AccordionItemProps): ReactElement;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import type { StoryObj } from '@storybook/react';
|
|
3
|
-
import AccordionItem from './AccordionItem';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof AccordionItem;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof AccordionItem>;
|
|
16
|
-
export declare const Light: Story;
|
|
17
|
-
export declare const Dark: Story;
|
|
18
|
-
export declare const Stacked: () => ReactElement;
|
|
19
|
-
export declare const GridModules: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './campusSelector.scss';
|
|
4
|
-
interface CampusSelectorProps {
|
|
5
|
-
/**
|
|
6
|
-
* The theme to use
|
|
7
|
-
*/
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
active: 'uk' | 'dubai';
|
|
10
|
-
ukUrl: string;
|
|
11
|
-
dubaiUrl: string;
|
|
12
|
-
mobile: boolean;
|
|
13
|
-
}
|
|
14
|
-
export default function CampusSelector({ active, theme, ukUrl, dubaiUrl, mobile }: CampusSelectorProps): ReactElement;
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CampusSelector from './CampusSelector';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CampusSelector;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof CampusSelector>;
|
|
10
|
-
export declare const Mobile: Story;
|
|
11
|
-
export declare const Desktop: Story;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import { LinkWithArrowProps } from '../../atoms/LinkWithArrow/LinkWithArrow';
|
|
4
|
-
import './cardFact.scss';
|
|
5
|
-
export interface CardFactProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
stat: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
source?: string;
|
|
11
|
-
link?: LinkWithArrowProps;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Primary UI component for user interaction
|
|
15
|
-
*/
|
|
16
|
-
export default function CardFact({ theme, inverse, stat, description, source, link }: CardFactProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardFact from './CardFact';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardFact;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardFact>;
|
|
13
|
-
export declare const CardFactExampleLight: Story;
|
|
14
|
-
export declare const CardFactExampleDark: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React, { KeyboardEvent } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardFeatured.scss';
|
|
5
|
-
export interface CardFeaturedProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
imagePrimary: ImageProps;
|
|
9
|
-
imageSecondary: ImageProps;
|
|
10
|
-
imageTertiary: ImageProps;
|
|
11
|
-
categoryLabel: string;
|
|
12
|
-
slideTitle: string;
|
|
13
|
-
subTitle: string;
|
|
14
|
-
introText: string;
|
|
15
|
-
link: string;
|
|
16
|
-
linkText: string;
|
|
17
|
-
cardOrder?: number;
|
|
18
|
-
activeVariant?: string;
|
|
19
|
-
leftInitialPositionTablet?: string;
|
|
20
|
-
rightInitialPositionTablet?: string;
|
|
21
|
-
leftInitialPositionDesktop?: string;
|
|
22
|
-
rightInitialPositionDesktop?: string;
|
|
23
|
-
isMobile?: boolean;
|
|
24
|
-
isTablet?: boolean;
|
|
25
|
-
onKeyDown?: (e: KeyboardEvent<Element>) => void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Primary UI component for user interaction
|
|
29
|
-
*/
|
|
30
|
-
type CardRef = HTMLDivElement | null;
|
|
31
|
-
export declare const CardFeatured: React.ForwardRefExoticComponent<CardFeaturedProps & React.RefAttributes<CardRef>>;
|
|
32
|
-
export default CardFeatured;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { StoryObj } from '@storybook/react';
|
|
3
|
-
import CardFeatured from './CardFeatured';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<import("./CardFeatured").CardFeaturedProps & React.RefAttributes<HTMLDivElement | null>>;
|
|
7
|
-
tags: string[];
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof CardFeatured>;
|
|
11
|
-
export declare const Light: Story;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const variantSecondaryImageTablet: {
|
|
2
|
-
first: {
|
|
3
|
-
top: string;
|
|
4
|
-
};
|
|
5
|
-
second: {
|
|
6
|
-
top: string;
|
|
7
|
-
};
|
|
8
|
-
third: {
|
|
9
|
-
top: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const variantTertiaryImageTablet: {
|
|
13
|
-
first: {
|
|
14
|
-
bottom: string;
|
|
15
|
-
};
|
|
16
|
-
second: {
|
|
17
|
-
bottom: string;
|
|
18
|
-
};
|
|
19
|
-
third: {
|
|
20
|
-
bottom: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const variantSecondaryImageDesktop: {
|
|
24
|
-
first: {
|
|
25
|
-
top: string;
|
|
26
|
-
};
|
|
27
|
-
second: {
|
|
28
|
-
top: string;
|
|
29
|
-
};
|
|
30
|
-
third: {
|
|
31
|
-
top: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare const variantTertiaryImageDesktop: {
|
|
35
|
-
first: {
|
|
36
|
-
bottom: string;
|
|
37
|
-
};
|
|
38
|
-
second: {
|
|
39
|
-
bottom: string;
|
|
40
|
-
};
|
|
41
|
-
third: {
|
|
42
|
-
bottom: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardFeaturedNews.scss';
|
|
5
|
-
export interface CardFeaturedNewsProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image?: ImageProps;
|
|
9
|
-
tag?: string;
|
|
10
|
-
title: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
href: string;
|
|
13
|
-
publishDate?: string;
|
|
14
|
-
authorString?: string;
|
|
15
|
-
location?: string;
|
|
16
|
-
copy?: string;
|
|
17
|
-
isPrimary?: boolean;
|
|
18
|
-
titleTag: 'h2' | 'h3' | 'h4';
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Primary UI component for user interaction
|
|
22
|
-
*/
|
|
23
|
-
export default function CardFeaturedNews({ theme, inverse, image, title, href, publishDate, copy, isPrimary, titleTag }: CardFeaturedNewsProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardFeaturedNews from './CardFeaturedNews';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardFeaturedNews;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardFeaturedNews>;
|
|
13
|
-
export declare const FeaturedNewsCardExample: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardImage.scss';
|
|
5
|
-
export interface CardImageProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image: ImageProps;
|
|
9
|
-
imageCaption?: string;
|
|
10
|
-
imageCredit?: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Primary UI component for user interaction
|
|
14
|
-
*/
|
|
15
|
-
export default function CardImage({ theme, inverse, image, imageCaption, imageCredit }: CardImageProps): ReactElement;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardImage from './CardImage';
|
|
3
|
-
import './cardImage.scss';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof CardImage;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
backgrounds: {
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof CardImage>;
|
|
16
|
-
export declare const Default: Story;
|
|
17
|
-
export declare const Dark: Story;
|
|
18
|
-
export declare const Light: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardMenu.scss';
|
|
5
|
-
export interface CardMenuProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image: ImageProps;
|
|
9
|
-
tag: string;
|
|
10
|
-
title: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
href: string;
|
|
13
|
-
linkText?: string;
|
|
14
|
-
type: 'primary' | 'secondary';
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Primary UI component for user interaction
|
|
18
|
-
*/
|
|
19
|
-
export default function CardMenu({ theme, inverse, image, tag, title, href, linkText, description, type }: CardMenuProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardMenu from './CardMenu';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardMenu;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardMenu>;
|
|
13
|
-
export declare const Primary: Story;
|
|
14
|
-
export declare const Secondary: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ThemeProps } from '../../../themeProps';
|
|
3
|
-
import './cardModuleCard.scss';
|
|
4
|
-
export interface CardModuleCardProps {
|
|
5
|
-
theme: ThemeProps;
|
|
6
|
-
title: string;
|
|
7
|
-
creditCount?: string;
|
|
8
|
-
href: string;
|
|
9
|
-
titleTag?: 'h2' | 'h3';
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Primary UI component for user interaction
|
|
13
|
-
*/
|
|
14
|
-
export default function CardModuleCard({ theme, title, creditCount, href, titleTag }: CardModuleCardProps): ReactElement;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardModuleCard from './CardModuleCard';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardModuleCard;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardModuleCard>;
|
|
13
|
-
export declare const Example: Story;
|
|
14
|
-
export declare const WithoutCreditCount: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardNews.scss';
|
|
5
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
6
|
-
export interface CardNewsProps {
|
|
7
|
-
theme: ThemeProps;
|
|
8
|
-
inverse?: boolean;
|
|
9
|
-
image: ImageProps;
|
|
10
|
-
tag: string;
|
|
11
|
-
title: string;
|
|
12
|
-
href: string;
|
|
13
|
-
publishDate: string;
|
|
14
|
-
titleTag: HeadingProps['htmlTag'];
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Primary UI component for user interaction
|
|
18
|
-
*/
|
|
19
|
-
export default function CardNews({ theme, inverse, image, tag, title, href, publishDate, titleTag }: CardNewsProps): ReactElement;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardNews from './CardNews';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardNews;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardNews>;
|
|
13
|
-
export declare const Light: Story;
|
|
14
|
-
export declare const LightH3Title: Story;
|
|
15
|
-
export declare const LightH4Title: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardProfile.scss';
|
|
5
|
-
export interface CardProfileProps {
|
|
6
|
-
theme: ThemeProps;
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
image: ImageProps;
|
|
9
|
-
name: string;
|
|
10
|
-
courseTitle: string;
|
|
11
|
-
copy: string;
|
|
12
|
-
href: string;
|
|
13
|
-
titleTag?: 'h2' | 'h3';
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Primary UI component for user interaction
|
|
17
|
-
*/
|
|
18
|
-
export default function CardProfile({ theme, inverse, image, name, courseTitle, href, copy, titleTag }: CardProfileProps): ReactElement;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardProfile from './CardProfile';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardProfile;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardProfile>;
|
|
13
|
-
export declare const ExampleSingleCard: Story;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ImageProps } from '../../atoms/Image/Image';
|
|
3
|
-
import { ThemeProps } from '../../../themeProps';
|
|
4
|
-
import './cardPromo.scss';
|
|
5
|
-
import { HeadingProps } from '../../atoms/Heading/Heading';
|
|
6
|
-
import { CalendarGraphicProps } from '../../atoms/CalendarGraphic/CalendarGraphic';
|
|
7
|
-
export interface CardPromoProps {
|
|
8
|
-
theme: ThemeProps;
|
|
9
|
-
inverse?: boolean;
|
|
10
|
-
image?: ImageProps;
|
|
11
|
-
tag?: string;
|
|
12
|
-
title: string;
|
|
13
|
-
subtitle?: string;
|
|
14
|
-
href: string;
|
|
15
|
-
publishDate?: string;
|
|
16
|
-
eventTime?: string;
|
|
17
|
-
authorString?: string;
|
|
18
|
-
readingTime?: string;
|
|
19
|
-
studyLevel?: string;
|
|
20
|
-
topic?: string;
|
|
21
|
-
location?: string;
|
|
22
|
-
copy?: string;
|
|
23
|
-
isSingle?: boolean;
|
|
24
|
-
titleTag: HeadingProps['htmlTag'];
|
|
25
|
-
cardCopyIsRichText?: boolean;
|
|
26
|
-
eventStatus?: CalendarGraphicProps['status'];
|
|
27
|
-
eventDay?: CalendarGraphicProps['day'];
|
|
28
|
-
eventMonth?: CalendarGraphicProps['month'];
|
|
29
|
-
inStoryCarousel?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Primary UI component for user interaction
|
|
33
|
-
*/
|
|
34
|
-
export default function CardPromo({ theme, inverse, image, tag, title, subtitle, href, publishDate, authorString, readingTime, location, copy, isSingle, titleTag, cardCopyIsRichText, eventTime, eventStatus, eventDay, eventMonth, inStoryCarousel }: CardPromoProps): ReactElement;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
import CardPromo from './CardPromo';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof CardPromo;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof CardPromo>;
|
|
13
|
-
export declare const SinglePromoCardLight: Story;
|
|
14
|
-
export declare const SinglePromoCardDark: Story;
|
|
15
|
-
export declare const SinglePromoCardLightRichTextCopy: Story;
|
|
16
|
-
export declare const SinglePromoCardDarkRichTextCopy: Story;
|
|
17
|
-
export declare const CardNoImage: Story;
|
|
18
|
-
export declare const OneOfManyPromoCards: Story;
|
|
19
|
-
export declare const EventPromoCardUpcomingExample: Story;
|
|
20
|
-
export declare const EventPromoCardRecordedExample: Story;
|
|
21
|
-
export declare const EventPromoCardMoreDatesExample: Story;
|