@zealicsolutions/web-ui 0.3.191 → 0.3.193

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { Molecule } from 'containers';
2
2
  import { TabGroupProps } from 'molecules';
3
3
  import { ThemeColors } from 'theme';
4
- export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id, formData, setFormData, isMobile, metadata, }: Molecule & {
4
+ export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id, formData, setFormData, isMobile, metadata, ...rest }: Molecule & {
5
5
  tabsProps?: Pick<TabGroupProps<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
6
6
  isMobile?: boolean | undefined;
7
7
  }) => JSX.Element | null;
@@ -1,11 +1,13 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { ContainerComponentProps, Molecule } from 'containers';
2
+ import { ContainerComponentProps, ContainerType, MetadataType, Molecule, MoleculeTypes } from 'containers';
3
3
  import type { AnyObject } from 'typescript';
4
4
  import { PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
5
5
  export declare type ConfigurationItem = {
6
6
  entity: 'container' | 'molecule';
7
7
  entityId: string;
8
8
  organismId: string;
9
+ entityType: MoleculeTypes | ContainerType;
10
+ entityMetadata?: MetadataType;
9
11
  };
10
12
  export declare type OrganismContextProviderProps = PropsWithChildren<{
11
13
  organismId: string;
@@ -4,7 +4,7 @@ import { Drawer as DrawerComponent, DrawerProps as DrawerComponentProps } from '
4
4
  export declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
5
5
  export declare type DrawerProps = DrawerComponentProps & {
6
6
  anchor: Anchor;
7
- padding?: SizesTypes | number;
7
+ padding?: SizesTypes | number | string;
8
8
  height?: number | string;
9
9
  width?: number | string;
10
10
  withCloseIcon?: boolean;
@@ -12,7 +12,7 @@ export declare type DrawerProps = DrawerComponentProps & {
12
12
  };
13
13
  export declare const BaseDrawer: import("styled-components").StyledComponent<typeof DrawerComponent, import("styled-components").DefaultTheme, DrawerComponentProps & {
14
14
  anchor: Anchor;
15
- padding?: number | SizesTypes | undefined;
15
+ padding?: string | number | undefined;
16
16
  height?: string | number | undefined;
17
17
  width?: string | number | undefined;
18
18
  withCloseIcon?: boolean | undefined;