sequential-workflow-designer-react 0.20.0 → 0.21.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.
- package/lib/cjs/index.cjs +3 -0
- package/lib/esm/index.js +3 -0
- package/lib/index.d.ts +2 -1
- package/package.json +4 -4
package/lib/cjs/index.cjs
CHANGED
|
@@ -172,6 +172,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
172
172
|
var controlBar = props.controlBar;
|
|
173
173
|
var contextMenu = props.contextMenu;
|
|
174
174
|
var keyboard = props.keyboard;
|
|
175
|
+
var preferenceStorage = props.preferenceStorage;
|
|
175
176
|
var extensions = props.extensions;
|
|
176
177
|
var i18n = props.i18n;
|
|
177
178
|
function forwardDefinition() {
|
|
@@ -277,6 +278,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
277
278
|
controlBar: controlBar,
|
|
278
279
|
contextMenu: contextMenu,
|
|
279
280
|
keyboard: keyboard,
|
|
281
|
+
preferenceStorage: preferenceStorage,
|
|
280
282
|
editors: rootEditorRef.current && stepEditorRef.current
|
|
281
283
|
? {
|
|
282
284
|
isCollapsed: isEditorCollapsed,
|
|
@@ -326,6 +328,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
326
328
|
isEditorCollapsed,
|
|
327
329
|
contextMenu,
|
|
328
330
|
keyboard,
|
|
331
|
+
preferenceStorage,
|
|
329
332
|
controlBar,
|
|
330
333
|
steps,
|
|
331
334
|
validator,
|
package/lib/esm/index.js
CHANGED
|
@@ -170,6 +170,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
170
170
|
var controlBar = props.controlBar;
|
|
171
171
|
var contextMenu = props.contextMenu;
|
|
172
172
|
var keyboard = props.keyboard;
|
|
173
|
+
var preferenceStorage = props.preferenceStorage;
|
|
173
174
|
var extensions = props.extensions;
|
|
174
175
|
var i18n = props.i18n;
|
|
175
176
|
function forwardDefinition() {
|
|
@@ -275,6 +276,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
275
276
|
controlBar: controlBar,
|
|
276
277
|
contextMenu: contextMenu,
|
|
277
278
|
keyboard: keyboard,
|
|
279
|
+
preferenceStorage: preferenceStorage,
|
|
278
280
|
editors: rootEditorRef.current && stepEditorRef.current
|
|
279
281
|
? {
|
|
280
282
|
isCollapsed: isEditorCollapsed,
|
|
@@ -324,6 +326,7 @@ function SequentialWorkflowDesigner(props) {
|
|
|
324
326
|
isEditorCollapsed,
|
|
325
327
|
contextMenu,
|
|
326
328
|
keyboard,
|
|
329
|
+
preferenceStorage,
|
|
327
330
|
controlBar,
|
|
328
331
|
steps,
|
|
329
332
|
validator,
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MutableRefObject, Context, ReactNode, DependencyList } from 'react';
|
|
3
3
|
import ReactDOM from 'react-dom/client';
|
|
4
|
-
import { Definition, RootEditorContext, Designer, ToolboxConfiguration, RootEditorProvider, StepEditorProvider, StepsConfiguration, ValidatorConfiguration, KeyboardConfiguration, CustomActionHandler, DesignerExtension, I18n, Step, StepEditorContext } from 'sequential-workflow-designer';
|
|
4
|
+
import { Definition, RootEditorContext, Designer, ToolboxConfiguration, RootEditorProvider, StepEditorProvider, StepsConfiguration, ValidatorConfiguration, KeyboardConfiguration, PreferenceStorage, CustomActionHandler, DesignerExtension, I18n, Step, StepEditorContext } from 'sequential-workflow-designer';
|
|
5
5
|
|
|
6
6
|
declare class Presenter {
|
|
7
7
|
static render(className: string, rootRef: MutableRefObject<ReactDOM.Root | null>, element: JSX.Element): HTMLElement;
|
|
@@ -88,6 +88,7 @@ interface SequentialWorkflowDesignerProps<TDefinition extends Definition> {
|
|
|
88
88
|
controlBar: boolean;
|
|
89
89
|
contextMenu?: boolean;
|
|
90
90
|
keyboard?: boolean | KeyboardConfiguration;
|
|
91
|
+
preferenceStorage?: PreferenceStorage;
|
|
91
92
|
controller?: SequentialWorkflowDesignerController;
|
|
92
93
|
customActionHandler?: CustomActionHandler;
|
|
93
94
|
extensions?: DesignerExtension[];
|
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.
|
|
4
|
+
"version": "0.21.1",
|
|
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.
|
|
50
|
+
"sequential-workflow-designer": "^0.21.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"eslint": "^8.30.0",
|
|
61
61
|
"jest": "^29.3.1",
|
|
62
62
|
"jest-environment-jsdom": "^29.3.1",
|
|
63
|
-
"prettier": "^2.
|
|
63
|
+
"prettier": "^3.2.5",
|
|
64
64
|
"react": "^18.2.0",
|
|
65
65
|
"react-dom": "^18.2.0",
|
|
66
|
-
"sequential-workflow-designer": "^0.
|
|
66
|
+
"sequential-workflow-designer": "^0.21.1",
|
|
67
67
|
"rollup": "^3.18.0",
|
|
68
68
|
"rollup-plugin-dts": "^5.2.0",
|
|
69
69
|
"rollup-plugin-typescript2": "^0.34.1",
|