@uob-web-and-digital/component-library 0.0.98 → 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 {};
|