@scbt-ecom/ui 0.33.1 → 0.33.2
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/ui.js +16 -11
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +79 -75
- package/dist/widget.js.map +1 -1
- package/dist/widgets/advantages/Advantages.d.ts +2 -1
- package/dist/widgets/banner/Banner.d.ts +3 -4
- package/dist/widgets/banner/ui/banners/BannerImageFull.d.ts +1 -1
- package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export interface AdvantageClasses {
|
|
|
7
7
|
}
|
|
8
8
|
export interface AdvantagesProps {
|
|
9
9
|
advantagesList: AdvantageItem[];
|
|
10
|
+
variant: 'threeCards' | 'fourCards';
|
|
10
11
|
classes?: AdvantageClasses;
|
|
11
12
|
}
|
|
12
|
-
export declare const Advantages: ({ advantagesList, classes }: AdvantagesProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Advantages: ({ variant, advantagesList, classes }: AdvantagesProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { AdvantageClasses } from '../advantages/Advantages
|
|
3
|
-
import {
|
|
4
|
-
import { BannerClasses, ButtonsConfig } from './model/types.ts';
|
|
2
|
+
import { AdvantageClasses, AdvantagesProps } from '../advantages/Advantages';
|
|
3
|
+
import { BannerClasses, ButtonsConfig } from './model/types';
|
|
5
4
|
export interface BannerProps {
|
|
6
5
|
headTitle: string | ReactElement;
|
|
7
6
|
subtitle: string | ReactElement;
|
|
@@ -12,7 +11,7 @@ export interface BannerProps {
|
|
|
12
11
|
type?: string;
|
|
13
12
|
};
|
|
14
13
|
buttonsConfig: ButtonsConfig;
|
|
15
|
-
|
|
14
|
+
advantagesConfig?: AdvantagesProps;
|
|
16
15
|
classes?: BannerClasses & {
|
|
17
16
|
advantages?: AdvantageClasses;
|
|
18
17
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BannerProps } from '../../..';
|
|
2
|
-
export declare const BannerImageFull: ({ headTitle, subtitle, buttonsConfig,
|
|
2
|
+
export declare const BannerImageFull: ({ headTitle, subtitle, buttonsConfig, advantagesConfig, classes, img, imgSets }: Omit<BannerProps, "bannerVariant">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BannerProps } from '../../..';
|
|
2
|
-
export declare const BannerWithSeparateImg: ({ headTitle, subtitle, buttonsConfig,
|
|
2
|
+
export declare const BannerWithSeparateImg: ({ headTitle, subtitle, buttonsConfig, advantagesConfig, classes, img, imgSets }: Omit<BannerProps, "bannerVariant">) => import("react/jsx-runtime").JSX.Element;
|