@zealicsolutions/web-ui 0.3.37 → 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,6 +37,7 @@ 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;
@@ -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;
@@ -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;