@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.
@@ -10,7 +10,8 @@ export declare type OrganismContextType = {
10
10
  submitHandler?: (data: {
11
11
  formId: string;
12
12
  data: AnyObject;
13
- }[]) => void;
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
- }[]) => void;
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
- }[]) => void;
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
- }[]) => void;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.91",
3
+ "version": "0.3.93",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"