@zealicsolutions/web-ui 0.3.51 → 0.3.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { LinkVariant, SelectOption } from 'atoms';
2
- import { AdditionalTabContainerProps, ButtonProps, CheckboxFieldProps, Consent, ImageProps, InputFieldProps, LinkProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
2
+ import { AdditionalTabContainerProps, ButtonProps, CheckboxFieldProps, ConsentProps, ImageProps, InputFieldProps, LinkProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
3
3
  import { Dispatch, SetStateAction } from 'react';
4
4
  import { UseFormReturn } from 'react-hook-form';
5
5
  import type { AnyObject, Nullable, StrictUnion, StylesType } from 'typescript';
@@ -208,7 +208,7 @@ export interface ConsentFieldMolecule extends BaseMolecule {
208
208
  attributes: Partial<{
209
209
  consent: Partial<{
210
210
  attributeType: 'consent';
211
- consent: Consent;
211
+ consent: ConsentProps;
212
212
  required: BooleanAttributes;
213
213
  }>;
214
214
  conditionConfig: ConditionConfigAttributes;
@@ -20,6 +20,6 @@ export declare type InputFieldProps = Partial<{
20
20
  formData: AnyObject;
21
21
  }>;
22
22
  declare type ReturnValueType = Record<FormStateType, string>;
23
- export declare const getMockValueForSuccessAndFormatError: (type: InputFieldTypes) => ReturnValueType;
23
+ export declare const getMockValueForSuccessState: (type: InputFieldTypes) => ReturnValueType;
24
24
  export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, }: InputFieldProps) => JSX.Element | null;
25
25
  export {};