@zealicsolutions/web-ui 0.3.21 → 0.3.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,5 +8,6 @@ export declare type FormStepContextType = {
8
8
  canGoToNextStep: boolean;
9
9
  canGoToPrevStep: boolean;
10
10
  setStep: Dispatch<SetStateAction<number>>;
11
+ setInitSteps: Dispatch<SetStateAction<number>>;
11
12
  };
12
13
  export declare const FormStepContext: import("react").Context<FormStepContextType>;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
3
- initSteps: number;
4
- }>>;
5
- export declare const FormStepContextProvider: ({ initSteps, children, }: FormStepContextProviderProps) => JSX.Element;
2
+ export declare type FormStepContextProviderProps = PropsWithChildren<{
3
+ initialSteps?: number;
4
+ }>;
5
+ export declare const FormStepContextProvider: ({ initialSteps, children, }: FormStepContextProviderProps) => JSX.Element;
@@ -3,6 +3,6 @@ import { ContainerComponentProps, Molecule } from 'containers';
3
3
  import { GroupedMoleculesByStep } from './utils';
4
4
  export declare type OrganismContextType = {
5
5
  items: (ContainerComponentProps | Molecule)[];
6
- groupedMoleculeByStep: GroupedMoleculesByStep;
6
+ getGroupedMoleculesByFormStep: () => GroupedMoleculesByStep;
7
7
  };
8
8
  export declare const OrganismContext: import("react").Context<OrganismContextType>;
package/dist/index.d.ts CHANGED
@@ -901,7 +901,7 @@ declare type GroupedMoleculesByStep = Map<string, Molecule$1[]>;
901
901
 
902
902
  declare type OrganismContextType = {
903
903
  items: (ContainerComponentProps$1 | Molecule$1)[];
904
- groupedMoleculeByStep: GroupedMoleculesByStep;
904
+ getGroupedMoleculesByFormStep: () => GroupedMoleculesByStep;
905
905
  };
906
906
  declare const OrganismContext: react.Context<OrganismContextType>;
907
907
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"