@zealicsolutions/web-ui 0.3.41 → 0.3.42
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/Container.d.ts +9 -5
- package/dist/cjs/src/containers/mock-data.d.ts +5 -0
- package/dist/cjs/src/containers/styles.d.ts +6 -2
- package/dist/cjs/src/containers/types/types.d.ts +3 -1
- package/dist/cjs/src/molecules/Consent/Consent.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/Container.d.ts +9 -5
- package/dist/esm/src/containers/mock-data.d.ts +5 -0
- package/dist/esm/src/containers/styles.d.ts +6 -2
- package/dist/esm/src/containers/types/types.d.ts +3 -1
- package/dist/esm/src/molecules/Consent/Consent.d.ts +1 -1
- package/dist/index.d.ts +29 -20
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { ContainerComponentProps, ContainerProps } from 'containers';
|
3
|
-
export declare const Container: ({ children, wide, compact, type, props, id, }: Partial<{
|
3
|
+
export declare const Container: ({ children, wide, compact, type, props, id, metadata, }: Partial<{
|
4
4
|
type: import("containers").ContainerType;
|
5
5
|
containerTemplateType: "row_content_container";
|
6
6
|
wide: Partial<{
|
@@ -8,12 +8,13 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
|
|
8
8
|
containerProps: Partial<{
|
9
9
|
position: import("containers").ContainerPositionType;
|
10
10
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
11
|
-
cornerRadius: number;
|
11
|
+
cornerRadius: number | import("theme").SizesTypes;
|
12
12
|
gap: import("theme").SizesTypes;
|
13
13
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
14
14
|
formProps: import("containers").FormContainerProps;
|
15
15
|
formStepProps: import("containers").FormStepContainerProps;
|
16
16
|
padding: import("containers").Padding;
|
17
|
+
border: string;
|
17
18
|
}>;
|
18
19
|
}>;
|
19
20
|
compact: Partial<{
|
@@ -21,27 +22,30 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
|
|
21
22
|
containerProps: Partial<{
|
22
23
|
position: import("containers").ContainerPositionType;
|
23
24
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
24
|
-
cornerRadius: number;
|
25
|
+
cornerRadius: number | import("theme").SizesTypes;
|
25
26
|
gap: import("theme").SizesTypes;
|
26
27
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
27
28
|
formProps: import("containers").FormContainerProps;
|
28
29
|
formStepProps: import("containers").FormStepContainerProps;
|
29
30
|
padding: import("containers").Padding;
|
31
|
+
border: string;
|
30
32
|
}>;
|
31
33
|
}>;
|
32
34
|
props: Partial<{
|
33
35
|
position: import("containers").ContainerPositionType;
|
34
36
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
35
|
-
cornerRadius: number;
|
37
|
+
cornerRadius: number | import("theme").SizesTypes;
|
36
38
|
gap: import("theme").SizesTypes;
|
37
39
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
38
40
|
formProps: import("containers").FormContainerProps;
|
39
41
|
formStepProps: import("containers").FormStepContainerProps;
|
40
42
|
padding: import("containers").Padding;
|
43
|
+
border: string;
|
41
44
|
}>;
|
45
|
+
metadata: import("../typescript").AnyObject;
|
42
46
|
}> & {
|
43
47
|
children?: import("react").ReactNode;
|
44
48
|
} & {
|
45
49
|
id: string;
|
46
50
|
}) => JSX.Element;
|
47
|
-
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, }: ContainerComponentProps) => JSX.Element | null;
|
51
|
+
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, }: ContainerComponentProps) => JSX.Element | null;
|
@@ -6,3 +6,8 @@ export declare const dynamicContainerMock: ContainerComponentProps;
|
|
6
6
|
export declare const columnContainerProps: ContainerComponentProps;
|
7
7
|
export declare const formBuilderData: ContainerComponentProps;
|
8
8
|
export declare const rowContainer: ContainerComponentProps;
|
9
|
+
export declare const rowRepeaterContainer: ContainerComponentProps;
|
10
|
+
export declare const rowRepeaterContainerSingle: ContainerComponentProps;
|
11
|
+
export declare const columnRepeaterContainer: ContainerComponentProps;
|
12
|
+
export declare const outlinedColumnContainer: ContainerComponentProps;
|
13
|
+
export declare const headerContainer: ContainerComponentProps;
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import { ContainerProps } from 'containers/types/types';
|
2
|
+
import { SizesTypes } from 'theme';
|
3
|
+
import { AnyObject } from '../typescript';
|
2
4
|
export declare const ContainerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Pick<ContainerProps, "type"> & {
|
3
5
|
containerProps?: Partial<{
|
4
6
|
position: import("containers/types/types").ContainerPositionType;
|
5
7
|
scrollBehaviour: import("containers/types/types").ContainerScrollBehaviourType;
|
6
|
-
cornerRadius: number;
|
7
|
-
gap:
|
8
|
+
cornerRadius: number | SizesTypes;
|
9
|
+
gap: SizesTypes;
|
8
10
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
9
11
|
formProps: import("containers/types/types").FormContainerProps;
|
10
12
|
formStepProps: import("containers/types/types").FormStepContainerProps;
|
11
13
|
padding: import("containers/types/types").Padding;
|
14
|
+
border: string;
|
12
15
|
}> | undefined;
|
16
|
+
metadata?: AnyObject | undefined;
|
13
17
|
}, never>;
|
@@ -22,12 +22,13 @@ export declare type Padding = Record<PaddingVariants, SizesTypes | string> | Siz
|
|
22
22
|
export declare type ContainerPropsType = Partial<{
|
23
23
|
position: ContainerPositionType;
|
24
24
|
scrollBehaviour: ContainerScrollBehaviourType;
|
25
|
-
cornerRadius: number;
|
25
|
+
cornerRadius: SizesTypes | number;
|
26
26
|
gap: SizesTypes;
|
27
27
|
styles: StylesType;
|
28
28
|
formProps: FormContainerProps;
|
29
29
|
formStepProps: FormStepContainerProps;
|
30
30
|
padding: Padding;
|
31
|
+
border: string;
|
31
32
|
}>;
|
32
33
|
export declare type AdditionalContainerProps = Partial<{
|
33
34
|
containerStyle: CSSProperties;
|
@@ -39,6 +40,7 @@ export declare type ContainerProps = PropsWithChildren<Partial<{
|
|
39
40
|
wide: AdditionalContainerProps;
|
40
41
|
compact: AdditionalContainerProps;
|
41
42
|
props: ContainerPropsType;
|
43
|
+
metadata: AnyObject;
|
42
44
|
}>>;
|
43
45
|
export declare type ContainerComponentProps = {
|
44
46
|
id: string;
|
@@ -10,7 +10,7 @@ export declare type Consent = {
|
|
10
10
|
acknowledgment: CustomDescendant[];
|
11
11
|
methodOfCapture: ConsentCaptureMethod;
|
12
12
|
description: string;
|
13
|
-
language:
|
13
|
+
language: string;
|
14
14
|
expiration: string;
|
15
15
|
confirmationButtonText: string;
|
16
16
|
rejectionButtonText: string;
|