@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;
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable,
10
10
  import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
11
11
  import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
12
12
  import * as containers from 'containers';
13
- import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ProcessStep as ProcessStep$1, MetadataType as MetadataType$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
13
+ import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
14
14
  import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
15
15
  import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
16
16
  import * as atoms from 'atoms';
@@ -1502,6 +1502,8 @@ declare type ConfigurationItem = {
1502
1502
  entity: 'container' | 'molecule';
1503
1503
  entityId: string;
1504
1504
  organismId: string;
1505
+ entityType: MoleculeTypes$1 | ContainerType$1;
1506
+ entityMetadata?: MetadataType$1;
1505
1507
  };
1506
1508
  declare type OrganismContextProviderProps = PropsWithChildren<{
1507
1509
  organismId: string;
@@ -1757,7 +1759,7 @@ declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeadi
1757
1759
  declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
1758
1760
  declare type DrawerProps = DrawerProps$1 & {
1759
1761
  anchor: Anchor;
1760
- padding?: SizesTypes$2 | number;
1762
+ padding?: SizesTypes$2 | number | string;
1761
1763
  height?: number | string;
1762
1764
  width?: number | string;
1763
1765
  withCloseIcon?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.191",
3
+ "version": "0.3.193",
4
4
  "testVersion": "0.3.184",
5
5
  "repository": {
6
6
  "type": "git",