@zealicsolutions/web-ui 0.3.60 → 0.3.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -213,6 +213,11 @@ export interface ConsentFieldMolecule extends BaseMolecule {
213
213
  }>;
214
214
  conditionConfig: ConditionConfigAttributes;
215
215
  }>;
216
+ config: {
217
+ props: Partial<{
218
+ state: 'field_error';
219
+ }>;
220
+ };
216
221
  }
217
222
  export interface LinkMolecule extends BaseMolecule {
218
223
  type: 'link';
@@ -3,7 +3,8 @@ import { ConsentFieldMolecule } from 'containers';
3
3
  import { AnyObject } from 'typescript';
4
4
  declare type ConsentMoleculeProps = {
5
5
  attributes: ConsentFieldMolecule['attributes'];
6
+ config: ConsentFieldMolecule['config'];
6
7
  formData?: AnyObject;
7
8
  };
8
- export declare const ConsentMolecule: ({ attributes, formData }: ConsentMoleculeProps) => JSX.Element | null;
9
+ export declare const ConsentMolecule: ({ attributes, formData, config }: ConsentMoleculeProps) => JSX.Element | null;
9
10
  export {};
package/dist/index.d.ts CHANGED
@@ -1739,6 +1739,11 @@ interface ConsentFieldMolecule extends BaseMolecule {
1739
1739
  }>;
1740
1740
  conditionConfig: ConditionConfigAttributes;
1741
1741
  }>;
1742
+ config: {
1743
+ props: Partial<{
1744
+ state: 'field_error';
1745
+ }>;
1746
+ };
1742
1747
  }
1743
1748
  interface LinkMolecule extends BaseMolecule {
1744
1749
  type: 'link';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.60",
3
+ "version": "0.3.61",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"