@scbt-ecom/ui 0.152.2 → 0.152.4
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/lib/widgets/banner/Banner.js.map +1 -1
- package/dist/lib/widgets/errorPage/ErrorPage.js.map +1 -1
- package/dist/lib/widgets/infoBlock/ui/RootContent.js.map +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/shared/types/shared-types.d.ts +1 -1
- package/dist/types/lib/widgets/banner/Banner.d.ts +2 -2
- package/dist/types/lib/widgets/errorPage/ErrorPage.d.ts +2 -2
- package/dist/types/lib/widgets/infoBlock/ui/RootContent.d.ts +2 -2
- package/dist/types/lib/widgets/longBanner/LongBanner.d.ts +4 -3
- package/dist/types/lib/widgets/model/helpers.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,14 +2,14 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { BannerClasses, ButtonsConfig } from './model';
|
|
3
3
|
import { AdvantageClasses, AdvantagesProps } from './ui/banners/ui';
|
|
4
4
|
import { BackgroundBannerColors } from '../../shared/constants';
|
|
5
|
-
import {
|
|
5
|
+
import { ImagesPrimitive } from '../../shared/types/shared-types';
|
|
6
6
|
export interface BannerProps {
|
|
7
7
|
headTitle: string | ReactElement;
|
|
8
8
|
subtitle: string | ReactElement;
|
|
9
9
|
buttonsConfig: ButtonsConfig;
|
|
10
10
|
advantages?: AdvantagesProps;
|
|
11
11
|
variant?: 'separateImg' | 'fullImg';
|
|
12
|
-
images:
|
|
12
|
+
images: ImagesPrimitive;
|
|
13
13
|
backgroundColor?: BackgroundBannerColors;
|
|
14
14
|
classes?: BannerClasses & {
|
|
15
15
|
advantages?: AdvantageClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BackgroundBannerColors } from '../../shared/constants';
|
|
2
2
|
import { ButtonWithHandlersProps } from '../buttonWithHandlers';
|
|
3
3
|
import { TextContainerProps } from './ui/TextContainer';
|
|
4
|
-
import {
|
|
4
|
+
import { ImagesPrimitive } from '../../shared/types/shared-types';
|
|
5
5
|
import { CustomLinkProps } from '../../shared/ui';
|
|
6
6
|
export interface ErrorPageProps extends TextContainerProps {
|
|
7
7
|
buttonProps: ButtonWithHandlersProps;
|
|
8
8
|
links: CustomLinkProps[];
|
|
9
|
-
images:
|
|
9
|
+
images: ImagesPrimitive;
|
|
10
10
|
backgroundColor?: BackgroundBannerColors;
|
|
11
11
|
}
|
|
12
12
|
export declare const ErrorPage: ({ errorText, title, subtitle, buttonProps, links, images, backgroundColor }: ErrorPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ImagesPrimitive } from '../../../shared/types/shared-types';
|
|
2
2
|
import { ButtonWithHandlersProps } from '../../buttonWithHandlers';
|
|
3
3
|
import { LinksListClasses, LinksListProps } from './LinksList';
|
|
4
4
|
export type RootContentClasses = {
|
|
@@ -15,7 +15,7 @@ export interface RootContentProps extends Omit<LinksListProps, 'classes'> {
|
|
|
15
15
|
heading: string;
|
|
16
16
|
description?: string;
|
|
17
17
|
buttonsGroup?: ButtonWithHandlersProps[];
|
|
18
|
-
images:
|
|
18
|
+
images: ImagesPrimitive;
|
|
19
19
|
classes?: RootContentClasses;
|
|
20
20
|
}
|
|
21
21
|
export declare const RootContent: ({ heading, buttonsGroup, description, images, linksList, classes }: RootContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ImagesPrimitive } from '../../shared/types/shared-types';
|
|
3
|
+
import { ButtonConfig, Details, LongBannerClasses, LongBannerConfig } from './model/types';
|
|
3
4
|
export interface LongBannerProps<Enabled extends boolean> extends LongBannerConfig {
|
|
4
5
|
headline: string | ReactElement;
|
|
5
6
|
details: Details<Enabled>[];
|
|
6
7
|
intent?: 'twoItems' | 'fourItems';
|
|
7
8
|
buttonConfig?: ButtonConfig;
|
|
8
|
-
|
|
9
|
+
images: ImagesPrimitive;
|
|
9
10
|
backgroundColor?: string;
|
|
10
11
|
classes?: LongBannerClasses;
|
|
11
12
|
}
|
|
12
|
-
export declare const LongBanner: <Enabled extends boolean>({ headline, buttonConfig, intent, details,
|
|
13
|
+
export declare const LongBanner: <Enabled extends boolean>({ headline, buttonConfig, intent, details, images, backgroundColor, classes }: LongBannerProps<Enabled>) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default LongBanner;
|
|
@@ -8,7 +8,7 @@ export declare const WIDGET_LIST_MAP: {
|
|
|
8
8
|
readonly formDialog: import('react').LazyExoticComponent<(<AType extends import('../dynamicFormDialog/model').ApprovementType, AuthType extends import('../dynamicForm/model').AuthMode>({ fields, title, approvement, submitProps, dialogId, classes, auth, buttonGroup, ssoAuthorizationTop, ...props }: import('../dynamicFormDialog/DynamicFormDialog').DynamicFormDialogProps<AType, AuthType>) => import("react/jsx-runtime").JSX.Element)>;
|
|
9
9
|
readonly stepper: import('react').LazyExoticComponent<(<WithImages extends boolean>({ steppers, headline, classes }: import('..').StepperProps<WithImages>) => import("react/jsx-runtime").JSX.Element)>;
|
|
10
10
|
readonly benefit: import('react').LazyExoticComponent<({ headline, details, variant, classes }: import('..').BenefitProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
readonly longBanner: import('react').LazyExoticComponent<(<Enabled extends boolean>({ headline, buttonConfig, intent, details,
|
|
11
|
+
readonly longBanner: import('react').LazyExoticComponent<(<Enabled extends boolean>({ headline, buttonConfig, intent, details, images, backgroundColor, classes }: import('..').LongBannerProps<Enabled>) => import("react/jsx-runtime").JSX.Element)>;
|
|
12
12
|
readonly usefulInfo: import('react').LazyExoticComponent<({ headline, tabs, classes, accordionsConfig }: import('..').UsefulInfoProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
13
13
|
readonly interLinking: import('react').LazyExoticComponent<({ variant, details, headline, mobileAccordionProps, rootAccordionProps, classes, defaultOpen }: import('..').InterLinkingProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
readonly footer: import('react').LazyExoticComponent<(<Enabled extends boolean>({ socialsLinks, phones, ligal, copyright, classes, details, siteMap }: import('..').FooterProps<Enabled>) => import("react/jsx-runtime").JSX.Element)>;
|