@zealicsolutions/web-ui 0.3.221 → 0.3.223
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.
- package/dist/cjs/index.js +18 -18
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/mock-data.d.ts +141 -1772
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +1 -1
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +1 -2
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/mock-data.d.ts +141 -1772
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +1 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +1 -2
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -1
- package/dist/index.d.ts +3 -4
- package/package.json +2 -2
@@ -21,7 +21,7 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
|
|
21
21
|
submitHandler: (data: {
|
22
22
|
formId: string;
|
23
23
|
data: AnyObject;
|
24
|
-
}) => void
|
24
|
+
}) => Promise<void>;
|
25
25
|
isFormInEditMode: boolean;
|
26
26
|
organismMetadata: AnyObject;
|
27
27
|
isConfigurationMode: boolean;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { SelectOption } from 'atoms';
|
2
2
|
import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
|
3
|
-
import { ConditionConfig, FormStateType } from 'containers';
|
3
|
+
import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
|
4
4
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
5
5
|
import type { AnyObject, StylesType } from 'typescript';
|
6
|
-
import { ConfigurationItemInfo } from 'containers/MoleculeItem';
|
7
6
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
8
7
|
export declare type CheckboxesProps = Partial<{
|
9
8
|
checkboxGroupWrapperStyles: StylesType;
|
@@ -54,7 +54,7 @@ declare const _default: {
|
|
54
54
|
htmlElementId: string;
|
55
55
|
isTrigger?: boolean | undefined;
|
56
56
|
moleculeId: string;
|
57
|
-
configurationItemInfo?:
|
57
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
58
58
|
}>) => JSX.Element | null;
|
59
59
|
};
|
60
60
|
export default _default;
|
package/dist/index.d.ts
CHANGED
@@ -45,7 +45,6 @@ import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewer
|
|
45
45
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
46
46
|
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
47
47
|
export * from 'helpers/constants';
|
48
|
-
import { ConfigurationItemInfo as ConfigurationItemInfo$2 } from 'containers/MoleculeItem';
|
49
48
|
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
50
49
|
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
51
50
|
import * as containers_types_types from 'containers/types/types';
|
@@ -1558,7 +1557,7 @@ declare type OrganismContextProviderProps = PropsWithChildren<{
|
|
1558
1557
|
submitHandler: (data: {
|
1559
1558
|
formId: string;
|
1560
1559
|
data: AnyObject$1;
|
1561
|
-
}) => void
|
1560
|
+
}) => Promise<void>;
|
1562
1561
|
isFormInEditMode: boolean;
|
1563
1562
|
organismMetadata: AnyObject$1;
|
1564
1563
|
isConfigurationMode: boolean;
|
@@ -1583,7 +1582,7 @@ declare type OrganismContextType = {
|
|
1583
1582
|
submitHandler?: (data: {
|
1584
1583
|
formId: string;
|
1585
1584
|
data: AnyObject$1;
|
1586
|
-
}) => void
|
1585
|
+
}) => Promise<void>;
|
1587
1586
|
validations?: PasswordRuleValidation[];
|
1588
1587
|
editable?: boolean;
|
1589
1588
|
isFormInEditMode?: boolean;
|
@@ -1725,7 +1724,7 @@ declare type CheckboxFieldProps = Partial<{
|
|
1725
1724
|
htmlElementId: string;
|
1726
1725
|
isTrigger?: boolean;
|
1727
1726
|
moleculeId: string;
|
1728
|
-
configurationItemInfo?: ConfigurationItemInfo$
|
1727
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1729
1728
|
}>;
|
1730
1729
|
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
1731
1730
|
|
package/package.json
CHANGED