@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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +5 -0
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +2 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +5 -0
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +2 -1
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
@@ -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';
|