sequential-workflow-designer-react 0.23.0 → 0.24.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 CHANGED
@@ -363,6 +363,12 @@ var SequentialWorkflowDesignerController = /** @class */ (function () {
363
363
  this.updateRootComponent = function () {
364
364
  _this.getDesigner().updateRootComponent();
365
365
  };
366
+ /**
367
+ * @description Updates the layout of the designer.
368
+ */
369
+ this.updateLayout = function () {
370
+ _this.getDesigner().updateLayout();
371
+ };
366
372
  /**
367
373
  * Replaces the current definition with a new one and adds the previous definition to the undo stack.
368
374
  * @param definition A new definition.
package/lib/esm/index.js CHANGED
@@ -361,6 +361,12 @@ var SequentialWorkflowDesignerController = /** @class */ (function () {
361
361
  this.updateRootComponent = function () {
362
362
  _this.getDesigner().updateRootComponent();
363
363
  };
364
+ /**
365
+ * @description Updates the layout of the designer.
366
+ */
367
+ this.updateLayout = function () {
368
+ _this.getDesigner().updateLayout();
369
+ };
364
370
  /**
365
371
  * Replaces the current definition with a new one and adds the previous definition to the undo stack.
366
372
  * @param definition A new definition.
package/lib/index.d.ts CHANGED
@@ -50,6 +50,10 @@ declare class SequentialWorkflowDesignerController {
50
50
  * @description Rerender the root component and all its children.
51
51
  */
52
52
  readonly updateRootComponent: () => void;
53
+ /**
54
+ * @description Updates the layout of the designer.
55
+ */
56
+ readonly updateLayout: () => void;
53
57
  /**
54
58
  * Replaces the current definition with a new one and adds the previous definition to the undo stack.
55
59
  * @param definition A new definition.
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.23.0",
4
+ "version": "0.24.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.23.0"
50
+ "sequential-workflow-designer": "^0.24.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@rollup/plugin-node-resolve": "^15.0.1",
@@ -63,7 +63,7 @@
63
63
  "prettier": "^3.2.5",
64
64
  "react": "^18.2.0",
65
65
  "react-dom": "^18.2.0",
66
- "sequential-workflow-designer": "^0.23.0",
66
+ "sequential-workflow-designer": "^0.24.1",
67
67
  "rollup": "^3.18.0",
68
68
  "rollup-plugin-dts": "^5.2.0",
69
69
  "rollup-plugin-typescript2": "^0.34.1",