@zealicsolutions/web-ui 0.3.36 → 0.3.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
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
+ padding: import("containers").Padding;
16
17
  }>;
17
18
  }>;
18
19
  compact: Partial<{
@@ -25,6 +26,7 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
25
26
  styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
26
27
  formProps: import("containers").FormContainerProps;
27
28
  formStepProps: import("containers").FormStepContainerProps;
29
+ padding: import("containers").Padding;
28
30
  }>;
29
31
  }>;
30
32
  props: Partial<{
@@ -35,10 +37,11 @@ export declare const Container: ({ children, wide, compact, type, props, id, }:
35
37
  styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
36
38
  formProps: import("containers").FormContainerProps;
37
39
  formStepProps: import("containers").FormStepContainerProps;
40
+ padding: import("containers").Padding;
38
41
  }>;
39
42
  }> & {
40
43
  children?: import("react").ReactNode;
41
44
  } & {
42
45
  id: string;
43
46
  }) => JSX.Element;
44
- export declare const ContainerComponent: (props: ContainerComponentProps) => JSX.Element | null;
47
+ export declare const ContainerComponent: ({ config, tabsProps, id, type, items, }: ContainerComponentProps) => JSX.Element | null;
@@ -4,6 +4,5 @@ import { TabGroupProps } from 'molecules';
4
4
  export declare type OrganismItemProps = {
5
5
  item: ContainerComponentProps | Molecule;
6
6
  tabsProps?: Pick<TabGroupProps, 'tabs' | 'activeTabKey' | 'onTabChange'>;
7
- dynamicOrganisms?: (ContainerComponentProps | Molecule)[];
8
7
  };
9
- export declare const OrganismItem: ({ item, tabsProps, dynamicOrganisms }: OrganismItemProps) => JSX.Element | null;
8
+ export declare const OrganismItem: ({ item, tabsProps }: OrganismItemProps) => JSX.Element | null;
@@ -1,2 +1,4 @@
1
- import { ContainerScrollBehaviourType } from 'containers/types/types';
1
+ import { ContainerScrollBehaviourType, Padding } from 'containers/types/types';
2
+ import { ThemeSizesType } from 'theme';
2
3
  export declare const getScrollBehaviour: (scrollBehaviour?: ContainerScrollBehaviourType) => "overflow-y: scroll" | "overflow-x: scroll" | "overflow: visible" | "overflow: unset";
4
+ export declare const getPadding: (padding: Padding, sizes: ThemeSizesType) => string;
@@ -3,4 +3,3 @@ export * from './types/types';
3
3
  export * from './types/moleculeTypes';
4
4
  export * from './styles';
5
5
  export * from './OrganismItem';
6
- export * from './DynamicContentContainer';
@@ -5,3 +5,4 @@ export declare const dynamicOrganisms: (ContainerComponentProps | Molecule)[];
5
5
  export declare const dynamicContainerMock: ContainerComponentProps;
6
6
  export declare const columnContainerProps: ContainerComponentProps;
7
7
  export declare const formBuilderData: ContainerComponentProps;
8
+ export declare const rowContainer: ContainerComponentProps;
@@ -8,5 +8,6 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
8
8
  styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
9
9
  formProps: import("containers/types/types").FormContainerProps;
10
10
  formStepProps: import("containers/types/types").FormStepContainerProps;
11
+ padding: import("containers/types/types").Padding;
11
12
  }> | undefined;
12
13
  }, never>;
@@ -17,6 +17,8 @@ export declare type FormStepContainerProps = {
17
17
  export declare type FormContainerProps = {
18
18
  mode: keyof ValidationMode;
19
19
  };
20
+ export declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
21
+ export declare type Padding = Record<PaddingVariants, SizesTypes | string> | SizesTypes | string;
20
22
  export declare type ContainerPropsType = Partial<{
21
23
  position: ContainerPositionType;
22
24
  scrollBehaviour: ContainerScrollBehaviourType;
@@ -25,6 +27,7 @@ export declare type ContainerPropsType = Partial<{
25
27
  styles: StylesType;
26
28
  formProps: FormContainerProps;
27
29
  formStepProps: FormStepContainerProps;
30
+ padding: Padding;
28
31
  }>;
29
32
  export declare type AdditionalContainerProps = Partial<{
30
33
  containerStyle: CSSProperties;
@@ -51,7 +54,6 @@ export declare type ContainerComponentProps = {
51
54
  metadata?: AnyObject;
52
55
  attributes?: AnyObject;
53
56
  containerLibraryId?: string;
54
- dynamicOrganisms?: (ContainerComponentProps | Molecule)[];
55
57
  };
56
58
  export declare type CriteriaType = 'operator' | 'condition';
57
59
  export declare type ConditionCriteria = {