@zealicsolutions/web-ui 0.3.35 → 0.3.36
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 +5 -1
- package/dist/cjs/src/containers/DynamicContentContainer.d.ts +9 -0
- package/dist/cjs/src/containers/OrganismItem.d.ts +5 -3
- package/dist/cjs/src/containers/index.d.ts +1 -0
- package/dist/cjs/src/containers/mock-data.d.ts +3 -1
- package/dist/cjs/src/containers/styles.d.ts +1 -0
- package/dist/cjs/src/containers/types/types.d.ts +7 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/Container.d.ts +5 -1
- package/dist/esm/src/containers/DynamicContentContainer.d.ts +9 -0
- package/dist/esm/src/containers/OrganismItem.d.ts +5 -3
- package/dist/esm/src/containers/index.d.ts +1 -0
- package/dist/esm/src/containers/mock-data.d.ts +3 -1
- package/dist/esm/src/containers/styles.d.ts +1 -0
- package/dist/esm/src/containers/types/types.d.ts +7 -2
- package/dist/index.d.ts +26 -7
- package/package.json +1 -1
@@ -2,12 +2,14 @@
|
|
2
2
|
import { ContainerComponentProps, ContainerProps } from 'containers';
|
3
3
|
export declare const Container: ({ children, wide, compact, type, props, id, }: Partial<{
|
4
4
|
type: import("containers").ContainerType;
|
5
|
+
containerTemplateType: "row_content_container";
|
5
6
|
wide: Partial<{
|
6
7
|
containerStyle: import("styled-components").CSSProperties;
|
7
8
|
containerProps: Partial<{
|
8
9
|
position: import("containers").ContainerPositionType;
|
9
10
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
10
11
|
cornerRadius: number;
|
12
|
+
gap: import("theme").SizesTypes;
|
11
13
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
12
14
|
formProps: import("containers").FormContainerProps;
|
13
15
|
formStepProps: import("containers").FormStepContainerProps;
|
@@ -19,6 +21,7 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
|
|
19
21
|
position: import("containers").ContainerPositionType;
|
20
22
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
21
23
|
cornerRadius: number;
|
24
|
+
gap: import("theme").SizesTypes;
|
22
25
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
23
26
|
formProps: import("containers").FormContainerProps;
|
24
27
|
formStepProps: import("containers").FormStepContainerProps;
|
@@ -28,6 +31,7 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
|
|
28
31
|
position: import("containers").ContainerPositionType;
|
29
32
|
scrollBehaviour: import("containers").ContainerScrollBehaviourType;
|
30
33
|
cornerRadius: number;
|
34
|
+
gap: import("theme").SizesTypes;
|
31
35
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
32
36
|
formProps: import("containers").FormContainerProps;
|
33
37
|
formStepProps: import("containers").FormStepContainerProps;
|
@@ -37,4 +41,4 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
|
|
37
41
|
} & {
|
38
42
|
id: string;
|
39
43
|
}) => JSX.Element;
|
40
|
-
export declare const ContainerComponent: (
|
44
|
+
export declare const ContainerComponent: (props: ContainerComponentProps) => JSX.Element | null;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Molecule } from 'containers/types/moleculeTypes';
|
3
|
+
import { ContainerComponentProps } from 'containers/types/types';
|
4
|
+
declare type DynamicContentContainerProps = {
|
5
|
+
container: ContainerComponentProps;
|
6
|
+
dynamicOrganisms?: (ContainerComponentProps | Molecule)[];
|
7
|
+
};
|
8
|
+
export declare const DynamicContentContainer: ({ dynamicOrganisms, container, }: DynamicContentContainerProps) => JSX.Element | null;
|
9
|
+
export {};
|
@@ -1,7 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { ContainerComponentProps, Molecule } from 'containers';
|
3
3
|
import { TabGroupProps } from 'molecules';
|
4
|
-
export declare
|
4
|
+
export declare type OrganismItemProps = {
|
5
5
|
item: ContainerComponentProps | Molecule;
|
6
|
-
tabsProps?: Pick<TabGroupProps
|
7
|
-
|
6
|
+
tabsProps?: Pick<TabGroupProps, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
7
|
+
dynamicOrganisms?: (ContainerComponentProps | Molecule)[];
|
8
|
+
};
|
9
|
+
export declare const OrganismItem: ({ item, tabsProps, dynamicOrganisms }: OrganismItemProps) => JSX.Element | null;
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import { ContainerComponentProps } from 'containers';
|
1
|
+
import { ContainerComponentProps, Molecule } from 'containers';
|
2
2
|
export declare const sliderContainerProps: ContainerComponentProps;
|
3
3
|
export declare const formContainerProps: ContainerComponentProps;
|
4
|
+
export declare const dynamicOrganisms: (ContainerComponentProps | Molecule)[];
|
5
|
+
export declare const dynamicContainerMock: ContainerComponentProps;
|
4
6
|
export declare const columnContainerProps: ContainerComponentProps;
|
5
7
|
export declare const formBuilderData: ContainerComponentProps;
|
@@ -4,6 +4,7 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
|
|
4
4
|
position: import("containers/types/types").ContainerPositionType;
|
5
5
|
scrollBehaviour: import("containers/types/types").ContainerScrollBehaviourType;
|
6
6
|
cornerRadius: number;
|
7
|
+
gap: import("..").SizesTypes;
|
7
8
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
8
9
|
formProps: import("containers/types/types").FormContainerProps;
|
9
10
|
formStepProps: import("containers/types/types").FormStepContainerProps;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TabGroupProps } from 'molecules';
|
2
2
|
import { PropsWithChildren } from 'react';
|
3
|
-
import { CSSProperties } from 'styled-components';
|
4
3
|
import { ValidationMode } from 'react-hook-form';
|
4
|
+
import { CSSProperties } from 'styled-components';
|
5
|
+
import { SizesTypes } from 'theme';
|
5
6
|
import type { AnyObject, Nullable, StylesType } from 'typescript';
|
6
7
|
import { Molecule } from './moleculeTypes';
|
7
|
-
export declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step';
|
8
|
+
export declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
|
9
|
+
export declare type ContainerTemplateType = 'row_content_container';
|
8
10
|
export declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
|
9
11
|
export declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
10
12
|
export declare type FormStepContainerProps = {
|
@@ -19,6 +21,7 @@ export declare type ContainerPropsType = Partial<{
|
|
19
21
|
position: ContainerPositionType;
|
20
22
|
scrollBehaviour: ContainerScrollBehaviourType;
|
21
23
|
cornerRadius: number;
|
24
|
+
gap: SizesTypes;
|
22
25
|
styles: StylesType;
|
23
26
|
formProps: FormContainerProps;
|
24
27
|
formStepProps: FormStepContainerProps;
|
@@ -29,6 +32,7 @@ export declare type AdditionalContainerProps = Partial<{
|
|
29
32
|
}>;
|
30
33
|
export declare type ContainerProps = PropsWithChildren<Partial<{
|
31
34
|
type: ContainerType;
|
35
|
+
containerTemplateType: ContainerTemplateType;
|
32
36
|
wide: AdditionalContainerProps;
|
33
37
|
compact: AdditionalContainerProps;
|
34
38
|
props: ContainerPropsType;
|
@@ -47,6 +51,7 @@ export declare type ContainerComponentProps = {
|
|
47
51
|
metadata?: AnyObject;
|
48
52
|
attributes?: AnyObject;
|
49
53
|
containerLibraryId?: string;
|
54
|
+
dynamicOrganisms?: (ContainerComponentProps | Molecule)[];
|
50
55
|
};
|
51
56
|
export declare type CriteriaType = 'operator' | 'condition';
|
52
57
|
export declare type ConditionCriteria = {
|