@uob-web-and-digital/component-library 2.16.0 → 2.16.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.
@@ -27,8 +27,9 @@ export interface CardPromoProps {
27
27
  eventDay?: CalendarGraphicProps['day'];
28
28
  eventMonth?: CalendarGraphicProps['month'];
29
29
  inStoryCarousel?: boolean;
30
+ imageHeight?: 'default' | 'desktop-smaller';
30
31
  }
31
32
  /**
32
33
  * Primary UI component for user interaction
33
34
  */
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;
35
+ export default function CardPromo({ theme, inverse, image, tag, title, subtitle, href, publishDate, authorString, readingTime, location, copy, isSingle, titleTag, cardCopyIsRichText, eventTime, eventStatus, eventDay, eventMonth, inStoryCarousel, imageHeight }: CardPromoProps): ReactElement;
@@ -66,5 +66,6 @@ export interface PromoBlockProps {
66
66
  showFilters?: boolean;
67
67
  firstFilterSelect?: FormSelectProps;
68
68
  secondFilterSelect?: FormSelectProps;
69
+ imageHeight?: CardPromoProps['imageHeight'];
69
70
  }
70
- export default function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, fullWidthTitle, showFilters, firstFilterSelect, secondFilterSelect }: PromoBlockProps): ReactElement | null;
71
+ export default function PromoBlock({ theme, inverse, type, title, description, link, cards, imageOrientation, titleTag, cardTitleTag, cardCopyIsRichText, fullWidth, fullWidthTitle, showFilters, firstFilterSelect, secondFilterSelect, imageHeight }: PromoBlockProps): ReactElement | null;
@@ -16,6 +16,7 @@ type Story = StoryObj<typeof PromoBlock>;
16
16
  export declare const PromoBlockOneCardOnly: Story;
17
17
  export declare const PromoBlockTwoCardsOnly: Story;
18
18
  export declare const PromoBlockThreeCardsOnly: Story;
19
+ export declare const PromoBlockThreeCardsOnlyDesktopSmaller: Story;
19
20
  export declare const PromoBlockFourCardsPlus: Story;
20
21
  export declare const PromoBlockThreeEventCardsOnly: Story;
21
22
  export declare const PromoBlockFourCardsPlusDark: Story;