@uob-web-and-digital/component-library 2.24.0 → 2.24.1
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.
|
@@ -8,6 +8,7 @@ export interface StandardListingFilterProps {
|
|
|
8
8
|
listingGroups: ListingGroup[];
|
|
9
9
|
onClearFilters: () => void;
|
|
10
10
|
onViewResults?: () => void;
|
|
11
|
+
viewResultsLabel?: string;
|
|
11
12
|
}
|
|
12
13
|
type ListingGroup = DateProps | RadioProps | CheckboxProps | SelectProps;
|
|
13
14
|
export interface RadioProps {
|
|
@@ -49,5 +50,5 @@ export interface SelectProps extends FilterAccordionSelectProps {
|
|
|
49
50
|
name: string;
|
|
50
51
|
id: string;
|
|
51
52
|
}
|
|
52
|
-
export default function StandardListingFilter({ theme, heading, listingGroups, onClearFilters, onViewResults }: StandardListingFilterProps): ReactElement;
|
|
53
|
+
export default function StandardListingFilter({ theme, heading, listingGroups, onClearFilters, onViewResults, viewResultsLabel }: StandardListingFilterProps): ReactElement;
|
|
53
54
|
export {};
|
|
@@ -4,4 +4,5 @@ declare const meta: Meta<typeof StandardListingFilter>;
|
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof StandardListingFilter>;
|
|
6
6
|
export declare const CoursesFilter: Story;
|
|
7
|
+
export declare const CoursesFilterViewResultsLabelAdjusted: Story;
|
|
7
8
|
export declare const EventsFilter: Story;
|