@uob-web-and-digital/component-library 2.0.0 → 2.3.0
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/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.d.ts +10 -0
- package/dist/components/organisms/ModuleCardGroup/ModuleCardGroup.stories.d.ts +14 -0
- package/dist/components/organisms/ModuleCardGroup/defaultProps.d.ts +2 -0
- package/dist/index.d.ts +4 -2
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/dist/module.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { CardModuleCardProps } from '../../molecules/CardModuleCard/CardModuleCard';
|
|
3
|
+
import { ThemeProps } from '../../../themeProps';
|
|
4
|
+
import './moduleCardGroup.scss';
|
|
5
|
+
export interface ModuleCardGroupProps {
|
|
6
|
+
theme?: ThemeProps;
|
|
7
|
+
inverse?: boolean;
|
|
8
|
+
cards: CardModuleCardProps | CardModuleCardProps[];
|
|
9
|
+
}
|
|
10
|
+
export default function ModuleCardGroup({ theme, inverse, cards }: ModuleCardGroupProps): ReactElement;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import ModuleCardGroup from './ModuleCardGroup';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ModuleCardGroup;
|
|
6
|
+
tags: string[];
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof meta>;
|
|
10
|
+
export declare const Light: Story;
|
|
11
|
+
export declare const Dark: Story;
|
|
12
|
+
export declare const OneCard: Story;
|
|
13
|
+
export declare const TwoCards: Story;
|
|
14
|
+
export declare const TenCards: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import LeadNewsArticles, { LeadNewsArticlesProps } from './components/organisms/
|
|
|
33
33
|
import ListingFilterWrapper, { ListingFilterWrapperProps } from './components/organisms/ListingFilterWrapper/ListingFilterWrapper';
|
|
34
34
|
import ListingResults, { ListingResultsProps } from './components/organisms/ListingResults/ListingResults';
|
|
35
35
|
import ListingResultsCount, { ListingResultsCountProps } from './components/organisms/ListingResultsCount/ListingResultsCount';
|
|
36
|
+
import ListTable, { ListTableProps } from './components/molecules/ListTable/ListTable';
|
|
36
37
|
import MainWrapper, { MainWrapperProps } from './components/atoms/MainWrapper/MainWrapper';
|
|
37
38
|
import NewsArticlesPromoBlock, { NewsArticlesPromoBlockProps } from './components/organisms/NewsArticlesPromoBlock/NewsArticlesPromoBlock';
|
|
38
39
|
import Pagination, { PaginationProps } from './components/organisms/Pagination/Pagination';
|
|
@@ -58,11 +59,12 @@ import LocationSelector, { LocationSelectorProps } from './components/molecules/
|
|
|
58
59
|
import ResearchStoryCarousel, { ResearchStoryCarouselProps } from './components/organisms/ResearchStoryCarousel/ResearchStoryCarousel';
|
|
59
60
|
import ScrollableTable, { ScrollableTableProps, ScrollableTableCategory } from './components/organisms/ScrollableTable/ScrollableTable';
|
|
60
61
|
import ModalCTA, { ModalCTAProps } from './components/organisms/ModalCTA/ModalCTA';
|
|
62
|
+
import ModuleCardGroup, { ModuleCardGroupProps } from './components/organisms/ModuleCardGroup/ModuleCardGroup';
|
|
61
63
|
import LocationSection, { LocationSectionProps } from './components/organisms/LocationSection/LocationSection';
|
|
62
64
|
import HeroProfile, { HeroProfileProps } from './components/organisms/HeroProfile/HeroProfile';
|
|
63
65
|
import TwoColumnWrapper, { TwoColumnWrapperProps } from './components/organisms/TwoColumnWrapper/TwoColumnWrapper';
|
|
64
66
|
import { FormSelectProps, SelectOptionsProps } from './components/atoms/FormSelect/FormSelect';
|
|
65
67
|
import CardPromoProfile, { CardPromoProfileProps } from './components/molecules/CardPromoProfile/CardPromoProfile';
|
|
66
68
|
import CardStaff, { CardStaffProps } from './components/molecules/CardStaff/CardStaff';
|
|
67
|
-
export type { AccordionProps, AccreditationPromotionProps, AlertBannerProps, AnchorTargetProps, BreadcrumbsProps, CarouselProps, CardProfileProps, CardStaffProps, CenterWrapperProps, ClearingBannerProps, CourseDeliveryPillsProps, CTAComponentProps, EmbedWrapperProps, FactBoxesProps, FeaturedContentProps, FeaturedSignpostProps, FeaturedVideoProps, FiveArticlesGridProps, FooterProps, FormSelectProps, GenericDetailSectionProps, GeneralSearchFilterProps, HeaderProps, HeadingProps, HeroProps, HeroArticleProps, HeroCarouselProps, HeroCoursesProps, HeroProfileProps, ImageBlockProps, ImageCarouselProps, InPageNavigationProps, IntroTextProps, LeadNewsArticlesProps, ListingFilterWrapperProps, ListingResultsProps, ListingResultsCountProps, LocationSelectorProps, MainWrapperProps, NewsArticlesPromoBlockProps, PaginationProps, PromoBlockProps, QuoteBlockProps, RelatedCoursesProps, ResearchStoryCarouselProps, RichTextProps, ScholarshipCarouselProps, SearchCoursesProps, SelectOptionsProps, StaffListingCarouselProps, SidebarWrapperProps, SignPostProps, SingleButtonProps, SkipToContentProps, TabsBlockProps, TextWithBackgroundProps, TwoColumnWrapperProps, TopicSelectorProps, StandardListingFilterProps, VideoCardComponentProps, VideoEmbedProps, ScrollableTableProps, ScrollableTableCategory, ModalCTAProps, LocationSectionProps, CardPromoProfileProps };
|
|
68
|
-
export { Accordion, AcreditationPromotion, AlertBanner, AnchorTarget, Breadcrumbs, Carousel, CardProfile, CardStaff, CentreWrapper, ClearingBanner, CourseDeliveryPills, CTAComponent, EmbedWrapper, FactBoxes, FeaturedContent, FeaturedSignpost, FeaturedVideo, FiveArticlesGrid, Footer, GeneralSearchFilter, GenericDetailSection, Header, Heading, Hero, HeroArticle, HeroCarousel, HeroCourses, HeroProfile, ImageBlock, ImageCarousel, InPageNavigation, IntroText, LeadNewsArticles, ListingFilterWrapper, ListingResults, ListingResultsCount, LocationSelector, MainWrapper, NewsArticlesPromoBlock, Pagination, PromoBlock, PromoBlockGrid, QuoteBlock, RelatedCourses, ResearchStoryCarousel, RichText, ScholarshipCarousel, SearchCourses, SidebarWrapper, SignPost, SingleButton, SkipToContent, StaffListingCarousel, StandardListingFilter, TabsBlock, TextWithBackground, TopicSelector, TwoColumnWrapper, VideoCardComponent, VideoEmbed, ScrollableTable, ModalCTA, LocationSection, CardPromoProfile };
|
|
69
|
+
export type { AccordionProps, AccreditationPromotionProps, AlertBannerProps, AnchorTargetProps, BreadcrumbsProps, CarouselProps, CardProfileProps, CardStaffProps, CenterWrapperProps, ClearingBannerProps, CourseDeliveryPillsProps, CTAComponentProps, EmbedWrapperProps, FactBoxesProps, FeaturedContentProps, FeaturedSignpostProps, FeaturedVideoProps, FiveArticlesGridProps, FooterProps, FormSelectProps, GenericDetailSectionProps, GeneralSearchFilterProps, HeaderProps, HeadingProps, HeroProps, HeroArticleProps, HeroCarouselProps, HeroCoursesProps, HeroProfileProps, ImageBlockProps, ImageCarouselProps, InPageNavigationProps, IntroTextProps, LeadNewsArticlesProps, ListingFilterWrapperProps, ListingResultsProps, ListingResultsCountProps, ListTableProps, LocationSelectorProps, MainWrapperProps, ModuleCardGroupProps, NewsArticlesPromoBlockProps, PaginationProps, PromoBlockProps, QuoteBlockProps, RelatedCoursesProps, ResearchStoryCarouselProps, RichTextProps, ScholarshipCarouselProps, SearchCoursesProps, SelectOptionsProps, StaffListingCarouselProps, SidebarWrapperProps, SignPostProps, SingleButtonProps, SkipToContentProps, TabsBlockProps, TextWithBackgroundProps, TwoColumnWrapperProps, TopicSelectorProps, StandardListingFilterProps, VideoCardComponentProps, VideoEmbedProps, ScrollableTableProps, ScrollableTableCategory, ModalCTAProps, LocationSectionProps, CardPromoProfileProps };
|
|
70
|
+
export { Accordion, AcreditationPromotion, AlertBanner, AnchorTarget, Breadcrumbs, Carousel, CardProfile, CardStaff, CentreWrapper, ClearingBanner, CourseDeliveryPills, CTAComponent, EmbedWrapper, FactBoxes, FeaturedContent, FeaturedSignpost, FeaturedVideo, FiveArticlesGrid, Footer, GeneralSearchFilter, GenericDetailSection, Header, Heading, Hero, HeroArticle, HeroCarousel, HeroCourses, HeroProfile, ImageBlock, ImageCarousel, InPageNavigation, IntroText, LeadNewsArticles, ListingFilterWrapper, ListingResults, ListingResultsCount, ListTable, LocationSelector, MainWrapper, ModuleCardGroup, NewsArticlesPromoBlock, Pagination, PromoBlock, PromoBlockGrid, QuoteBlock, RelatedCourses, ResearchStoryCarousel, RichText, ScholarshipCarousel, SearchCourses, SidebarWrapper, SignPost, SingleButton, SkipToContent, StaffListingCarousel, StandardListingFilter, TabsBlock, TextWithBackground, TopicSelector, TwoColumnWrapper, VideoCardComponent, VideoEmbed, ScrollableTable, ModalCTA, LocationSection, CardPromoProfile };
|