sequential-workflow-designer-react 0.18.1 → 0.18.2
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.
- package/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -54,9 +54,9 @@ const [definition, setDefinition] = useState(() => wrapDefinition(startDefinitio
|
|
|
54
54
|
Configure the designer.
|
|
55
55
|
|
|
56
56
|
```ts
|
|
57
|
-
const toolboxConfiguration: ToolboxConfiguration = { /* ... */ };
|
|
58
|
-
const stepsConfiguration: StepsConfiguration = { /* ... */ };
|
|
59
|
-
const validatorConfiguration: ValidatorConfiguration = { /* ... */ };
|
|
57
|
+
const toolboxConfiguration: ToolboxConfiguration = useMemo(() => ({ /* ... */ }), []);
|
|
58
|
+
const stepsConfiguration: StepsConfiguration = useMemo(() => ({ /* ... */ }), []);
|
|
59
|
+
const validatorConfiguration: ValidatorConfiguration = useMemo(() => ({ /* ... */ }), []);
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Create the root editor component:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sequential-workflow-designer-react",
|
|
3
3
|
"description": "React wrapper for Sequential Workflow Designer component.",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0",
|
|
50
|
-
"sequential-workflow-designer": "^0.18.
|
|
50
|
+
"sequential-workflow-designer": "^0.18.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"prettier": "^2.8.2",
|
|
64
64
|
"react": "^18.2.0",
|
|
65
65
|
"react-dom": "^18.2.0",
|
|
66
|
-
"sequential-workflow-designer": "^0.18.
|
|
66
|
+
"sequential-workflow-designer": "^0.18.2",
|
|
67
67
|
"rollup": "^3.18.0",
|
|
68
68
|
"rollup-plugin-dts": "^5.2.0",
|
|
69
69
|
"rollup-plugin-typescript2": "^0.34.1",
|