@uob-web-and-digital/component-library 0.0.50 → 0.0.52
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/molecules/ListingResultCard/Cards/CourseCard.d.ts +5 -5
- package/dist/components/molecules/ListingResultCard/Cards/EventCard.d.ts +3 -3
- package/dist/components/organisms/Accordion/defaultProps.d.ts +1 -0
- package/dist/components/organisms/QuoteBlock/QuoteBlock.d.ts +2 -1
- package/dist/components/organisms/QuoteBlock/defatultProps.d.ts +1 -0
- package/dist/components/organisms/RichText/defaultProps.d.ts +2 -0
- package/dist/index.d.ts +8 -7
- package/dist/main.css +1 -1
- package/dist/main.js +2 -2
- package/dist/module.js +2 -2
- package/package.json +1 -1
|
@@ -10,12 +10,12 @@ export interface CourseCardProps {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
supervisors?: string;
|
|
12
12
|
department?: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
academicLevel?: string;
|
|
14
|
+
studyPattern?: string;
|
|
15
|
+
courseVariation?: string;
|
|
16
16
|
qualification?: string;
|
|
17
|
-
|
|
17
|
+
campus?: string;
|
|
18
18
|
fundingType?: string;
|
|
19
19
|
showCategory?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export default function CourseCard({ theme, type, image, title, url, description, supervisors, department,
|
|
21
|
+
export default function CourseCard({ theme, type, image, title, url, description, supervisors, department, academicLevel, studyPattern, fundingType, courseVariation, qualification, campus, showCategory }: CourseCardProps): ReactElement;
|
|
@@ -9,9 +9,9 @@ export interface EventCardProps {
|
|
|
9
9
|
url: string;
|
|
10
10
|
description?: string;
|
|
11
11
|
date: string;
|
|
12
|
-
time
|
|
13
|
-
|
|
12
|
+
time?: string;
|
|
13
|
+
deliveryFormat?: string;
|
|
14
14
|
location?: string;
|
|
15
15
|
showCategory?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export default function EventCard({ theme, type, image, title, url, description, date, time, location,
|
|
17
|
+
export default function EventCard({ theme, type, image, title, url, description, date, time, location, deliveryFormat, showCategory }: EventCardProps): ReactElement;
|
|
@@ -14,6 +14,7 @@ export interface QuoteBlockProps extends HeadingProps {
|
|
|
14
14
|
quoteeProfileImage?: string;
|
|
15
15
|
quoteeProfileImageAltText?: string;
|
|
16
16
|
cta?: LinkProps;
|
|
17
|
+
fullWidth?: boolean;
|
|
17
18
|
}
|
|
18
|
-
export default function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta }: QuoteBlockProps): ReactElement;
|
|
19
|
+
export default function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth }: QuoteBlockProps): ReactElement;
|
|
19
20
|
export {};
|
|
@@ -3,3 +3,5 @@ export declare const richTextProps: RichTextProps;
|
|
|
3
3
|
export declare const newsArticleRichText: RichTextProps;
|
|
4
4
|
export declare const newsArticleRichTextBullets: RichTextProps;
|
|
5
5
|
export declare const richTextAccommodation: RichTextProps;
|
|
6
|
+
export declare const richTextCourseDeliveryBeforeTopics: RichTextProps;
|
|
7
|
+
export declare const richTextCourseDeliveryAfterTopics: RichTextProps;
|
package/dist/index.d.ts
CHANGED
|
@@ -737,8 +737,9 @@ interface QuoteBlockProps extends HeadingProps {
|
|
|
737
737
|
quoteeProfileImage?: string;
|
|
738
738
|
quoteeProfileImageAltText?: string;
|
|
739
739
|
cta?: LinkProps;
|
|
740
|
+
fullWidth?: boolean;
|
|
740
741
|
}
|
|
741
|
-
declare function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta }: QuoteBlockProps): ReactElement;
|
|
742
|
+
declare function QuoteBlock({ theme, inverse, title, description, cite, role, quote, quoteeProfileImage, quoteeProfileImageAltText, cta, fullWidth }: QuoteBlockProps): ReactElement;
|
|
742
743
|
|
|
743
744
|
interface VideoEmbedProps {
|
|
744
745
|
theme: ThemeProps;
|
|
@@ -896,11 +897,11 @@ interface CourseCardProps {
|
|
|
896
897
|
description?: string;
|
|
897
898
|
supervisors?: string;
|
|
898
899
|
department?: string;
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
900
|
+
academicLevel?: string;
|
|
901
|
+
studyPattern?: string;
|
|
902
|
+
courseVariation?: string;
|
|
902
903
|
qualification?: string;
|
|
903
|
-
|
|
904
|
+
campus?: string;
|
|
904
905
|
fundingType?: string;
|
|
905
906
|
showCategory?: boolean;
|
|
906
907
|
}
|
|
@@ -913,8 +914,8 @@ interface EventCardProps {
|
|
|
913
914
|
url: string;
|
|
914
915
|
description?: string;
|
|
915
916
|
date: string;
|
|
916
|
-
time
|
|
917
|
-
|
|
917
|
+
time?: string;
|
|
918
|
+
deliveryFormat?: string;
|
|
918
919
|
location?: string;
|
|
919
920
|
showCategory?: boolean;
|
|
920
921
|
}
|