@uob-web-and-digital/component-library 0.0.97 → 0.0.99

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.
@@ -12,6 +12,7 @@ export interface CardPromoProps {
12
12
  subtitle?: string;
13
13
  href: string;
14
14
  publishDate?: string;
15
+ eventTime?: string;
15
16
  authorString?: string;
16
17
  readingTime?: string;
17
18
  studyLevel?: string;
@@ -25,4 +26,4 @@ export interface CardPromoProps {
25
26
  /**
26
27
  * Primary UI component for user interaction
27
28
  */
28
- export default function CardPromo({ theme, inverse, image, tag, title, subtitle, href, publishDate, authorString, readingTime, location, copy, isSingle, titleTag, cardCopyIsRichText }: CardPromoProps): ReactElement;
29
+ export default function CardPromo({ theme, inverse, image, tag, title, subtitle, href, publishDate, authorString, readingTime, location, copy, isSingle, titleTag, cardCopyIsRichText, eventTime }: CardPromoProps): ReactElement;
@@ -10,6 +10,7 @@ interface CheckboxAccordionProps {
10
10
  type: 'checkbox';
11
11
  inputs?: Omit<CheckboxProps, 'theme'>[];
12
12
  selectProps?: null;
13
+ showMoreText?: string;
13
14
  /**
14
15
  * Whether the accordion is open or closed by default
15
16
  */
@@ -21,10 +22,11 @@ interface RadioButtonAccordionProps {
21
22
  type: 'radio';
22
23
  inputs?: Omit<RadioButtonProps, 'theme'>[];
23
24
  selectProps?: null;
25
+ showMoreText?: string;
24
26
  /**
25
27
  * Whether the accordion is open or closed by default
26
28
  */
27
29
  defaultIsOpen?: boolean;
28
30
  }
29
- export default function FilterAccordion({ theme, heading, type, inputs, defaultIsOpen }: FilterAccordionProps): ReactElement;
31
+ export default function FilterAccordion({ theme, heading, type, inputs, defaultIsOpen, showMoreText }: FilterAccordionProps): ReactElement;
30
32
  export {};
package/dist/index.d.ts CHANGED
@@ -201,6 +201,7 @@ interface CardPromoProps {
201
201
  subtitle?: string;
202
202
  href: string;
203
203
  publishDate?: string;
204
+ eventTime?: string;
204
205
  authorString?: string;
205
206
  readingTime?: string;
206
207
  studyLevel?: string;
@@ -1642,4 +1643,38 @@ interface LocationSectionProps {
1642
1643
  }
1643
1644
  declare function LocationSection({ theme, embedChildren, googleMapLink, address, services }: LocationSectionProps): ReactElement;
1644
1645
 
1645
- export { Accordion, type AccordionProps, type AccreditationPromotionProps, AcreditationPromotion, AlertBanner, type AlertBannerProps, AnchorTarget, type AnchorTargetProps, Breadcrumbs, type BreadcrumbsProps, CTAComponent, type CTAComponentProps, CardProfile, type CardProfileProps, Carousel, type CarouselProps, type CenterWrapperProps, CenterWrapper as CentreWrapper, ClearingBanner, type ClearingBannerProps, CourseDeliveryPills, type CourseDeliveryPillsProps, EmbedWrapper, type EmbedWrapperProps, FactBoxes, type FactBoxesProps, FeaturedContent, type FeaturedContentProps, FeaturedSignpost, type FeaturedSignpostProps, FeaturedVideo, type FeaturedVideoProps, FiveArticlesGrid, type FiveArticlesGridProps, Footer, type FooterProps, GeneralSearchFilter, type GeneralSearchFilterProps, GenericDetailSection, type GenericDetailSectionProps, Header, type HeaderProps, Hero, HeroArticle, type HeroArticleProps, HeroCarousel, type HeroCarouselProps, HeroCourses, type HeroCoursesProps, type HeroProps, ImageBlock, type ImageBlockProps, ImageCarousel, type ImageCarouselProps, InPageNavigation, type InPageNavigationProps, IntroText, type IntroTextProps, LeadNewsArticles, type LeadNewsArticlesProps, ListingFilterWrapper, type ListingFilterWrapperProps, ListingResults, ListingResultsCount, type ListingResultsCountProps, type ListingResultsProps, LocationSection, type LocationSectionProps, LocationSelector, type LocationSelectorProps, MainWrapper, type MainWrapperProps, ModalCTA, type ModalCTAProps, NewsArticlesPromoBlock, type NewsArticlesPromoBlockProps, Pagination, type PaginationProps, PromoBlock, PromoBlockGrid, type PromoBlockProps$1 as PromoBlockProps, QuoteBlock, type QuoteBlockProps, RelatedCourses, type RelatedCoursesProps, ResearchStoryCarousel, type ResearchStoryCarouselProps, RichText, type RichTextProps, ScrollableTable, ScrollableTableCategory, type ScrollableTableProps, SearchCourses, type SearchCoursesProps, SidebarWrapper, type SidebarWrapperProps, SignPost, type SignPostProps, SingleButton, type SingleButtonProps, SkipToContent, type SkipToContentProps, StaffListingCarousel, type StaffListingCarouselProps, StandardListingFilter, type StandardListingFilterProps, TabsBlock, type TabsBlockProps, TextWithBackground, type TextWithBackgroundProps, TopicSelector, type TopicSelectorProps, VideoCardComponent, type VideoCardComponentProps, VideoEmbed, type VideoEmbedProps };
1646
+ interface HeroProfileProps {
1647
+ /**
1648
+ * The theme to use
1649
+ */
1650
+ theme: ThemeProps;
1651
+ inverse: boolean;
1652
+ studentName: string;
1653
+ titleTag?: 'h1' | 'h2' | 'h3' | 'h4';
1654
+ image: {
1655
+ src: {
1656
+ small?: string;
1657
+ medium?: string;
1658
+ default: string;
1659
+ };
1660
+ alt: string;
1661
+ };
1662
+ studentStatus?: string;
1663
+ courseName?: string;
1664
+ studyLevel?: string;
1665
+ homeCountry?: string;
1666
+ studentIntro?: string;
1667
+ }
1668
+ declare function HeroProfile({ theme, studentName, studentStatus, courseName, studyLevel, titleTag, homeCountry, studentIntro, image, inverse }: HeroProfileProps): ReactElement | null;
1669
+
1670
+ interface TwoColumnWrapperProps {
1671
+ /**
1672
+ * The theme to use
1673
+ */
1674
+ theme: ThemeProps;
1675
+ firstColumn: ReactNode;
1676
+ secondColumn?: ReactNode;
1677
+ }
1678
+ declare function TwoColumnWrapper({ theme, firstColumn, secondColumn }: TwoColumnWrapperProps): ReactElement;
1679
+
1680
+ export { Accordion, type AccordionProps, type AccreditationPromotionProps, AcreditationPromotion, AlertBanner, type AlertBannerProps, AnchorTarget, type AnchorTargetProps, Breadcrumbs, type BreadcrumbsProps, CTAComponent, type CTAComponentProps, CardProfile, type CardProfileProps, Carousel, type CarouselProps, type CenterWrapperProps, CenterWrapper as CentreWrapper, ClearingBanner, type ClearingBannerProps, CourseDeliveryPills, type CourseDeliveryPillsProps, EmbedWrapper, type EmbedWrapperProps, FactBoxes, type FactBoxesProps, FeaturedContent, type FeaturedContentProps, FeaturedSignpost, type FeaturedSignpostProps, FeaturedVideo, type FeaturedVideoProps, FiveArticlesGrid, type FiveArticlesGridProps, Footer, type FooterProps, GeneralSearchFilter, type GeneralSearchFilterProps, GenericDetailSection, type GenericDetailSectionProps, Header, type HeaderProps, Hero, HeroArticle, type HeroArticleProps, HeroCarousel, type HeroCarouselProps, HeroCourses, type HeroCoursesProps, HeroProfile, type HeroProfileProps, type HeroProps, ImageBlock, type ImageBlockProps, ImageCarousel, type ImageCarouselProps, InPageNavigation, type InPageNavigationProps, IntroText, type IntroTextProps, LeadNewsArticles, type LeadNewsArticlesProps, ListingFilterWrapper, type ListingFilterWrapperProps, ListingResults, ListingResultsCount, type ListingResultsCountProps, type ListingResultsProps, LocationSection, type LocationSectionProps, LocationSelector, type LocationSelectorProps, MainWrapper, type MainWrapperProps, ModalCTA, type ModalCTAProps, NewsArticlesPromoBlock, type NewsArticlesPromoBlockProps, Pagination, type PaginationProps, PromoBlock, PromoBlockGrid, type PromoBlockProps$1 as PromoBlockProps, QuoteBlock, type QuoteBlockProps, RelatedCourses, type RelatedCoursesProps, ResearchStoryCarousel, type ResearchStoryCarouselProps, RichText, type RichTextProps, ScrollableTable, ScrollableTableCategory, type ScrollableTableProps, SearchCourses, type SearchCoursesProps, SidebarWrapper, type SidebarWrapperProps, SignPost, type SignPostProps, SingleButton, type SingleButtonProps, SkipToContent, type SkipToContentProps, StaffListingCarousel, type StaffListingCarouselProps, StandardListingFilter, type StandardListingFilterProps, TabsBlock, type TabsBlockProps, TextWithBackground, type TextWithBackgroundProps, TopicSelector, type TopicSelectorProps, TwoColumnWrapper, type TwoColumnWrapperProps, VideoCardComponent, type VideoCardComponentProps, VideoEmbed, type VideoEmbedProps };