@zealicsolutions/web-ui 0.3.91 → 0.3.93
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/contexts/OrganismContext/OrganismContext.d.ts +2 -1
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +3 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +2 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +3 -2
- package/dist/index.d.ts +5 -3
- package/package.json +1 -1
@@ -10,7 +10,8 @@ export declare type OrganismContextType = {
|
|
10
10
|
submitHandler?: (data: {
|
11
11
|
formId: string;
|
12
12
|
data: AnyObject;
|
13
|
-
}
|
13
|
+
}) => void;
|
14
14
|
validations?: PasswordRuleValidation[];
|
15
|
+
editable?: boolean;
|
15
16
|
};
|
16
17
|
export declare const OrganismContext: import("react").Context<OrganismContextType>;
|
@@ -8,7 +8,8 @@ export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
|
|
8
8
|
submitHandler: (data: {
|
9
9
|
formId: string;
|
10
10
|
data: AnyObject;
|
11
|
-
}
|
11
|
+
}) => void;
|
12
12
|
validations: PasswordRuleValidation[];
|
13
|
+
editable: boolean;
|
13
14
|
}>>;
|
14
|
-
export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, validations, }: FormStepContextProviderProps) => JSX.Element;
|
15
|
+
export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, validations, editable, }: FormStepContextProviderProps) => JSX.Element;
|
package/dist/index.d.ts
CHANGED
@@ -927,8 +927,9 @@ declare type OrganismContextType = {
|
|
927
927
|
submitHandler?: (data: {
|
928
928
|
formId: string;
|
929
929
|
data: AnyObject$1;
|
930
|
-
}
|
930
|
+
}) => void;
|
931
931
|
validations?: PasswordRuleValidation[];
|
932
|
+
editable?: boolean;
|
932
933
|
};
|
933
934
|
declare const OrganismContext: react.Context<OrganismContextType>;
|
934
935
|
|
@@ -938,10 +939,11 @@ declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
|
|
938
939
|
submitHandler: (data: {
|
939
940
|
formId: string;
|
940
941
|
data: AnyObject$1;
|
941
|
-
}
|
942
|
+
}) => void;
|
942
943
|
validations: PasswordRuleValidation[];
|
944
|
+
editable: boolean;
|
943
945
|
}>>;
|
944
|
-
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, validations, }: FormStepContextProviderProps) => JSX.Element;
|
946
|
+
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, validations, editable, }: FormStepContextProviderProps) => JSX.Element;
|
945
947
|
|
946
948
|
declare type AccountButtonContextType = Partial<{
|
947
949
|
userInitials: string;
|