@scbt-ecom/ui 0.11.1 → 0.12.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/README.md +1 -1
- package/dist/client.js +284 -275
- package/dist/client.js.map +1 -1
- package/dist/widgets/benefit/Benefit.d.ts +8 -3
- package/dist/widgets/benefit/ui/BenefitItem.d.ts +11 -3
- package/package.json +1 -1
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { Content } from './model/types';
|
|
3
|
+
export type IBenefitClasses = {
|
|
4
|
+
item?: string;
|
|
5
|
+
heading?: string;
|
|
6
|
+
grid?: string;
|
|
7
|
+
container?: string;
|
|
8
|
+
section?: string;
|
|
9
|
+
};
|
|
3
10
|
export interface IBenefitProps {
|
|
4
11
|
heading: string | ReactElement;
|
|
5
12
|
content: Content[];
|
|
6
|
-
classes?:
|
|
7
|
-
item?: string;
|
|
8
|
-
};
|
|
13
|
+
classes?: IBenefitClasses;
|
|
9
14
|
}
|
|
10
15
|
export declare const Benefit: ({ heading, content, classes }: IBenefitProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
+
export type IBenefitItemClasses = {
|
|
3
|
+
button?: string;
|
|
4
|
+
item?: string;
|
|
5
|
+
itemWrapper?: string;
|
|
6
|
+
itemTextContainer?: string;
|
|
7
|
+
itemDescription?: string;
|
|
8
|
+
img?: string;
|
|
9
|
+
imgWrapper?: string;
|
|
10
|
+
headingBenefitItem?: string;
|
|
11
|
+
};
|
|
2
12
|
interface IBenefitItemProps {
|
|
3
13
|
title: string;
|
|
4
14
|
description: string | ReactElement;
|
|
5
15
|
img?: string;
|
|
6
16
|
mobileImg?: boolean;
|
|
7
|
-
classes?:
|
|
8
|
-
item?: string;
|
|
9
|
-
};
|
|
17
|
+
classes?: IBenefitItemClasses;
|
|
10
18
|
index: number;
|
|
11
19
|
}
|
|
12
20
|
export declare const BenefitItem: ({ description, title, img, mobileImg, classes, index }: IBenefitItemProps) => import("react/jsx-runtime").JSX.Element;
|