@zealicsolutions/web-ui 0.3.48 → 0.3.50

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
1
  import { ContainerComponentProps } from 'containers/types/types';
2
2
  import { Dispatch, SetStateAction } from 'react';
3
3
  import { AnyObject } from 'typescript';
4
- export declare type OrganismItemWithActiveChildrenProps = {
4
+ export declare type FormOrganismItemProps = {
5
5
  item: ContainerComponentProps;
6
6
  activeChildrenIds: string[];
7
7
  formData?: AnyObject;
8
8
  setFormData?: Dispatch<SetStateAction<AnyObject>>;
9
9
  };
10
- export declare const OrganismItemWithActiveChildren: ({ formData, setFormData, ...props }: OrganismItemWithActiveChildrenProps) => JSX.Element | null;
10
+ export declare const FormOrganismItem: ({ formData, setFormData, ...props }: FormOrganismItemProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
1
  export { useCheckCondition } from './useCheckCondition';
2
2
  export { useSetFormData } from './useSetFormData';
3
+ export { useFormOrganismItem } from './useFormOrganismItem';
@@ -0,0 +1,3 @@
1
+ import { FormOrganismItemProps } from 'containers/FormOrganismItem';
2
+ import { ContainerComponentProps } from 'containers/types/types';
3
+ export declare const useFormOrganismItem: ({ item, activeChildrenIds }: FormOrganismItemProps) => ContainerComponentProps | undefined;
@@ -3,4 +3,4 @@ export * from './types/types';
3
3
  export * from './types/moleculeTypes';
4
4
  export * from './styles';
5
5
  export * from './OrganismItem';
6
- export { OrganismItemWithActiveChildren } from './OrganismItemWithActiveChildren';
6
+ export { FormOrganismItem } from './FormOrganismItem';
@@ -211,6 +211,7 @@ export interface ConsentFieldMolecule extends BaseMolecule {
211
211
  consent: Consent;
212
212
  required: BooleanAttributes;
213
213
  }>;
214
+ conditionConfig: ConditionConfigAttributes;
214
215
  }>;
215
216
  }
216
217
  export interface LinkMolecule extends BaseMolecule {
@@ -1,3 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ConsentFieldMolecule } from 'containers';
3
- export declare const ConsentMolecule: (attributes: ConsentFieldMolecule['attributes']) => JSX.Element | null;
3
+ import { AnyObject } from 'typescript';
4
+ declare type ConsentMoleculeProps = {
5
+ attributes: ConsentFieldMolecule['attributes'];
6
+ formData?: AnyObject;
7
+ };
8
+ export declare const ConsentMolecule: ({ attributes, formData }: ConsentMoleculeProps) => JSX.Element | null;
9
+ export {};