@uob-web-and-digital/component-library 2.7.4 → 2.7.6

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.
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { ThemeProps } from '../../../themeProps';
3
3
  import './icons.scss';
4
- export type IconType = 'twitter' | 'facebook' | 'wechat' | 'weibo' | 'youtube' | 'instagram' | 'linkedin' | 'tiktok' | 'chevron-down' | 'chevron-right' | 'arrow-right' | 'arrow-right-large' | 'location' | 'hamburger' | 'cross' | 'slim-cross' | 'arrow-left' | 'search' | 'arrow-down' | 'play' | 'person' | 'people' | 'computer' | 'book' | 'mortar-board' | 'document' | 'briefcase' | 'notepad' | 'external' | 'clearing-tick' | 'phone' | 'email' | 'quote-marks' | 'calendar' | 'clock' | 'internet' | 'slim-location' | 'bathroom' | 'catering' | 'pound' | 'scroll' | 'settings' | 'rocket' | 'staggered-arrow' | 'segmented-pie-chart' | 'home' | 'domain' | 'note-add' | 'flight' | 'one' | 'two' | 'one-two-three' | 'camping' | 'groups' | 'bed' | 'restaurant' | 'success' | 'award_star' | 'warning-light' | 'warning-dark' | 'information' | 'star' | 'menu' | 'co-present' | 'assignment-add' | 'cast-for-education' | 'live-tv' | 'supervisor-account' | 'experiment' | 'footprint' | 'flag' | 'chat' | 'payments' | 'award-star';
4
+ export type IconType = 'twitter' | 'facebook' | 'wechat' | 'weibo' | 'youtube' | 'rednote' | 'instagram' | 'linkedin' | 'tiktok' | 'chevron-down' | 'chevron-right' | 'arrow-right' | 'arrow-right-large' | 'location' | 'hamburger' | 'cross' | 'slim-cross' | 'arrow-left' | 'search' | 'arrow-down' | 'play' | 'person' | 'people' | 'computer' | 'book' | 'mortar-board' | 'document' | 'briefcase' | 'notepad' | 'external' | 'clearing-tick' | 'phone' | 'email' | 'quote-marks' | 'calendar' | 'clock' | 'internet' | 'slim-location' | 'bathroom' | 'catering' | 'pound' | 'scroll' | 'settings' | 'rocket' | 'staggered-arrow' | 'segmented-pie-chart' | 'home' | 'domain' | 'note-add' | 'flight' | 'one' | 'two' | 'one-two-three' | 'camping' | 'groups' | 'bed' | 'restaurant' | 'success' | 'award_star' | 'warning-light' | 'warning-dark' | 'information' | 'star' | 'menu' | 'co-present' | 'assignment-add' | 'cast-for-education' | 'live-tv' | 'supervisor-account' | 'experiment' | 'footprint' | 'flag' | 'chat' | 'payments' | 'award-star';
5
5
  export type IconProps = {
6
6
  /**
7
7
  * The theme to use
@@ -3,7 +3,8 @@ import { ImageProps } from '../../../atoms/Image/Image';
3
3
  import { SearchResultDetailProps } from '../../../atoms/SearchResultDetail/SearchResultDetail';
4
4
  import { ThemeProps } from '../../../../themeProps';
5
5
  import { HeadingProps } from '../../../atoms/Heading/Heading';
6
- export interface EventCardProps {
6
+ import { ListingResultCardsSharedProps } from './ListingResultCardsSharedProps';
7
+ export interface EventCardProps extends ListingResultCardsSharedProps {
7
8
  theme: ThemeProps;
8
9
  inverse?: boolean;
9
10
  type: 'event';
@@ -16,4 +17,4 @@ export interface EventCardProps {
16
17
  cardDescriptionIsRichText?: boolean;
17
18
  titleTag: HeadingProps['htmlTag'];
18
19
  }
19
- export default function EventCard({ theme, inverse, type, image, title, url, description, details, showCategory, cardDescriptionIsRichText, titleTag }: EventCardProps): ReactElement;
20
+ export default function EventCard({ theme, inverse, type, image, title, url, description, details, showCategory, cardDescriptionIsRichText, titleTag, eventStatus }: EventCardProps): ReactElement;
@@ -0,0 +1,4 @@
1
+ import { CalendarGraphicProps } from '../../../atoms/CalendarGraphic/CalendarGraphic';
2
+ export interface ListingResultCardsSharedProps {
3
+ eventStatus?: CalendarGraphicProps['status'];
4
+ }
@@ -12,6 +12,7 @@ export declare const PageCardNoImage: Story;
12
12
  export declare const EventCard: Story;
13
13
  export declare const EventCardRichText: Story;
14
14
  export declare const EventCardH3Title: Story;
15
+ export declare const EventCardMoreDatesAvailable: Story;
15
16
  export declare const StaffCard: Story;
16
17
  export declare const NewsCard: Story;
17
18
  export declare const AccomodationCard: Story;
@@ -8,6 +8,7 @@ import { ProfileCardProps } from './Cards/ProfileCard';
8
8
  export declare const pageCardProps: PageCardProps;
9
9
  export declare const eventCardProps: EventCardProps;
10
10
  export declare const eventCardRichTextProps: EventCardProps;
11
+ export declare const eventCardMoreDateAvailableProps: EventCardProps;
11
12
  export declare const staffCardProps: StaffCardProps;
12
13
  export declare const newsCardProps: NewsCardProps;
13
14
  export declare const accomodationCardProps: AccomodationCardProps;
@@ -9,6 +9,7 @@ export default meta;
9
9
  type Story = StoryObj<typeof ListingResults>;
10
10
  export declare const SiteGlobal: Story;
11
11
  export declare const Events: Story;
12
+ export declare const EventsMoreDatesAvailable: Story;
12
13
  export declare const Courses: Story;
13
14
  export declare const News: Story;
14
15
  export declare const Staff: Story;
@@ -1,6 +1,7 @@
1
1
  import { ListingResultsProps } from './ListingResults';
2
2
  export declare const globalSearchProps: ListingResultsProps;
3
3
  export declare const eventsProps: ListingResultsProps;
4
+ export declare const eventsMoreDatesAvailable: ListingResultsProps;
4
5
  export declare const eventsPropsCourses: ListingResultsProps;
5
6
  export declare const staffProps: ListingResultsProps;
6
7
  export declare const newsProps: ListingResultsProps;