@elliemae/ds-wizard 3.14.0-next.9 → 3.14.0-rc.1
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.
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const WizardStep: {
|
|
2
|
+
({ label, icon, iconCompleted, iconActive, active, completed, index, }: {
|
|
3
|
+
label?: string | undefined;
|
|
4
|
+
icon?: null | undefined;
|
|
5
|
+
iconCompleted?: JSX.Element | undefined;
|
|
6
|
+
iconActive?: null | undefined;
|
|
7
|
+
active?: boolean | undefined;
|
|
8
|
+
completed?: boolean | undefined;
|
|
9
|
+
index?: number | undefined;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
propTypes: {
|
|
12
|
+
label: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
13
|
+
icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
14
|
+
iconCompleted: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
15
|
+
iconActive: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
16
|
+
active: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
17
|
+
completed: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
18
|
+
index: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
19
|
+
};
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
declare const WizzardStepWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
|
|
23
|
+
label?: string | undefined;
|
|
24
|
+
icon?: null | undefined;
|
|
25
|
+
iconCompleted?: JSX.Element | undefined;
|
|
26
|
+
iconActive?: null | undefined;
|
|
27
|
+
active?: boolean | undefined;
|
|
28
|
+
completed?: boolean | undefined;
|
|
29
|
+
index?: number | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
export { WizzardStepWithSchema };
|
|
32
|
+
export default WizardStep;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const WizardSteps: {
|
|
2
|
+
({ current, steps, children, ...otherProps }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
current?: number | undefined;
|
|
5
|
+
steps: any;
|
|
6
|
+
children: any;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
Item: {
|
|
9
|
+
({ label, icon, iconCompleted, iconActive, active, completed, index, }: {
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
icon?: null | undefined;
|
|
12
|
+
iconCompleted?: JSX.Element | undefined;
|
|
13
|
+
iconActive?: null | undefined;
|
|
14
|
+
active?: boolean | undefined;
|
|
15
|
+
completed?: boolean | undefined;
|
|
16
|
+
index?: number | undefined;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
propTypes: {
|
|
19
|
+
label: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
20
|
+
icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
21
|
+
iconCompleted: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
22
|
+
iconActive: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
23
|
+
active: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
24
|
+
completed: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
25
|
+
index: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
26
|
+
};
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
propTypes: {
|
|
30
|
+
current: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
31
|
+
steps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
32
|
+
children: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
33
|
+
};
|
|
34
|
+
displayName: string;
|
|
35
|
+
};
|
|
36
|
+
declare const WizzardWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<{
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
current?: number | undefined;
|
|
39
|
+
steps: any;
|
|
40
|
+
children: any;
|
|
41
|
+
}>;
|
|
42
|
+
export { WizzardWithSchema };
|
|
43
|
+
export default WizardSteps;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import WizardStepsIndicator, { WizzardWithSchema } from './WizardSteps';
|
|
2
|
+
import WizardStep, { WizzardStepWithSchema } from './WizardStep';
|
|
3
|
+
import useWizard from './useWizard';
|
|
4
|
+
export { useWizard, WizardStepsIndicator, WizardStep, WizzardWithSchema, WizzardStepWithSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default function useWizard({ steps: wizardSteps, current, onNext, onPrevious, initial }: {
|
|
2
|
+
steps: any;
|
|
3
|
+
current: any;
|
|
4
|
+
onNext?: (() => null) | undefined;
|
|
5
|
+
onPrevious?: (() => null) | undefined;
|
|
6
|
+
initial?: number | undefined;
|
|
7
|
+
}): {
|
|
8
|
+
current: any;
|
|
9
|
+
next: () => void;
|
|
10
|
+
previous: () => void;
|
|
11
|
+
canNext: boolean;
|
|
12
|
+
canPrevious: boolean;
|
|
13
|
+
WizardCurrentContent: any;
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-wizard",
|
|
3
|
-
"version": "3.14.0-
|
|
3
|
+
"version": "3.14.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Wizard",
|
|
6
6
|
"files": [
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"indent": 4
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@elliemae/ds-classnames": "3.14.0-
|
|
59
|
-
"@elliemae/ds-icons": "3.14.0-
|
|
60
|
-
"@elliemae/ds-utilities": "3.14.0-
|
|
58
|
+
"@elliemae/ds-classnames": "3.14.0-rc.1",
|
|
59
|
+
"@elliemae/ds-icons": "3.14.0-rc.1",
|
|
60
|
+
"@elliemae/ds-utilities": "3.14.0-rc.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"lodash": "^4.17.21",
|