@uob-web-and-digital/component-library 2.10.0 → 2.11.0
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/atoms/TextButtonWithIcon/TextButtonWithIcon.stories.d.ts +4 -0
- package/dist/components/organisms/GenericDetailSection/GenericDetailSection.d.ts +2 -1
- package/dist/components/organisms/SingleButton/SingleButton.stories.d.ts +2 -0
- package/dist/main.css +1 -1
- package/dist/main.js +5 -5
- package/dist/module.js +5 -5
- package/package.json +1 -1
|
@@ -12,3 +12,7 @@ export declare const DarkFilled: Story;
|
|
|
12
12
|
export declare const DarkHollow: Story;
|
|
13
13
|
export declare const Light: Story;
|
|
14
14
|
export declare const LightHollow: Story;
|
|
15
|
+
export declare const WithExternalLink: Story;
|
|
16
|
+
export declare const WithArrowDownIcon: Story;
|
|
17
|
+
export declare const WithArrowDownIconHollow: Story;
|
|
18
|
+
export declare const WithArrowDownIconLight: Story;
|
|
@@ -3,10 +3,11 @@ import { ThemeProps } from '../../../themeProps';
|
|
|
3
3
|
import { GenericDetailProps } from '../../molecules/GenericDetail/GenericDetail';
|
|
4
4
|
import { TextButtonProps } from '../../atoms/TextButton/TextButton';
|
|
5
5
|
import './genericDetailSection.scss';
|
|
6
|
+
import { TextButtonWithIconProps } from '../../atoms/TextButtonWithIcon/TextButtonWithIcon';
|
|
6
7
|
export interface GenericDetailSectionProps {
|
|
7
8
|
theme: ThemeProps;
|
|
8
9
|
title: string;
|
|
9
10
|
detailColumns: Omit<GenericDetailProps, 'theme'>[][];
|
|
10
|
-
buttons?: TextButtonProps[];
|
|
11
|
+
buttons?: (TextButtonProps | TextButtonWithIconProps)[];
|
|
11
12
|
}
|
|
12
13
|
export default function GenericDetailSection({ theme, title, detailColumns, buttons }: GenericDetailSectionProps): ReactElement;
|