@uob-web-and-digital/component-library 0.0.98 → 0.0.100
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/CardPromo/CardPromo.d.ts +2 -1
- package/dist/components/molecules/FilterAccordion/FilterAccordion.d.ts +3 -1
- package/dist/components/organisms/StandardListingFilter/StandardListingFilter.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/main.css +1 -1
- package/dist/main.js +2 -2
- package/dist/module.js +3 -3
- package/package.json +1 -1
|
@@ -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 {};
|
|
@@ -21,6 +21,7 @@ export interface RadioProps {
|
|
|
21
21
|
}>;
|
|
22
22
|
onChange?: (e: ChangeEvent) => void;
|
|
23
23
|
defaultValue?: string;
|
|
24
|
+
showMoreText?: string;
|
|
24
25
|
}
|
|
25
26
|
export interface CheckboxProps {
|
|
26
27
|
type: 'checkbox';
|
|
@@ -33,6 +34,7 @@ export interface CheckboxProps {
|
|
|
33
34
|
}>;
|
|
34
35
|
onChange?: (e: ChangeEvent) => void;
|
|
35
36
|
defaultValues?: string[];
|
|
37
|
+
showMoreText?: string;
|
|
36
38
|
}
|
|
37
39
|
export interface DateProps {
|
|
38
40
|
type: 'date';
|
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;
|
|
@@ -1533,6 +1534,7 @@ interface RadioProps {
|
|
|
1533
1534
|
}>;
|
|
1534
1535
|
onChange?: (e: ChangeEvent) => void;
|
|
1535
1536
|
defaultValue?: string;
|
|
1537
|
+
showMoreText?: string;
|
|
1536
1538
|
}
|
|
1537
1539
|
interface CheckboxProps {
|
|
1538
1540
|
type: 'checkbox';
|
|
@@ -1545,6 +1547,7 @@ interface CheckboxProps {
|
|
|
1545
1547
|
}>;
|
|
1546
1548
|
onChange?: (e: ChangeEvent) => void;
|
|
1547
1549
|
defaultValues?: string[];
|
|
1550
|
+
showMoreText?: string;
|
|
1548
1551
|
}
|
|
1549
1552
|
interface DateProps {
|
|
1550
1553
|
type: 'date';
|