@zealicsolutions/web-ui 0.3.79 → 0.3.81
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +4 -1
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +5 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +4 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +5 -2
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
@@ -6,6 +6,9 @@ export declare type OrganismContextType = {
|
|
6
6
|
items: (ContainerComponentProps | Molecule)[];
|
7
7
|
groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
|
8
8
|
formId?: string;
|
9
|
-
submitHandler?: (data:
|
9
|
+
submitHandler?: (data: {
|
10
|
+
formId: string;
|
11
|
+
data: AnyObject;
|
12
|
+
}[]) => void;
|
10
13
|
};
|
11
14
|
export declare const OrganismContext: import("react").Context<OrganismContextType>;
|
@@ -3,7 +3,10 @@ import { PropsWithChildren } from 'react';
|
|
3
3
|
import { AnyObject } from 'typescript';
|
4
4
|
export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
|
5
5
|
initItems: (ContainerComponentProps | Molecule)[];
|
6
|
-
formId
|
7
|
-
submitHandler
|
6
|
+
formId: string;
|
7
|
+
submitHandler: (data: {
|
8
|
+
formId: string;
|
9
|
+
data: AnyObject;
|
10
|
+
}[]) => void;
|
8
11
|
}>>;
|
9
12
|
export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, }: FormStepContextProviderProps) => JSX.Element;
|
package/dist/index.d.ts
CHANGED
@@ -918,14 +918,20 @@ declare type OrganismContextType = {
|
|
918
918
|
items: (ContainerComponentProps$1 | Molecule$1)[];
|
919
919
|
groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
|
920
920
|
formId?: string;
|
921
|
-
submitHandler?: (data:
|
921
|
+
submitHandler?: (data: {
|
922
|
+
formId: string;
|
923
|
+
data: AnyObject$1;
|
924
|
+
}[]) => void;
|
922
925
|
};
|
923
926
|
declare const OrganismContext: react.Context<OrganismContextType>;
|
924
927
|
|
925
928
|
declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
|
926
929
|
initItems: (ContainerComponentProps$1 | Molecule$1)[];
|
927
|
-
formId
|
928
|
-
submitHandler
|
930
|
+
formId: string;
|
931
|
+
submitHandler: (data: {
|
932
|
+
formId: string;
|
933
|
+
data: AnyObject$1;
|
934
|
+
}[]) => void;
|
929
935
|
}>>;
|
930
936
|
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, }: FormStepContextProviderProps) => JSX.Element;
|
931
937
|
|