Download Latest Version 0.30.0 source code.zip (801.0 kB)
Email in envelope

Get an email when there's a new version of Sequential Workflow Designer

Home / v0.3.0
Name Modified Size InfoDownloads / Week
Parent folder
0.3.0 source code.tar.gz 2022-12-26 171.8 kB
0.3.0 source code.zip 2022-12-26 243.7 kB
README.md 2022-12-26 1.6 kB
Totals: 3 Items   417.1 kB 0

This version introduces new build formats (ESM, UMD) of the package.

🤩 For more advanced use cases we prepared the paid pro package. The package is in the early stage. Currently it contains advanced components for steps. Here you can find more information and examples.

Breaking Changes

  • Default export of the Designer class is removed. Now you should import directly the Designer class. ts import { Designer } from 'sequential-workflow-designer'; Designer.create(/* ... */);

This affects CDN usage too.

```html
<script src="https://cdn.jsdelivr.net/..."></script>

<script> sequentialWorkflowDesigner.Designer.create(/* ... */); </script>

`` * The package now contains two type of build: ESM and UMD. ESM build is located in thelibfolder. UMD build is located in thedist` folder. That means the URL to the CDN is also changed.

```html
<script src="https://cdn.jsdelivr.net/.../dist/index.umd.js"></script>

`` * Static methodDesigner.utils.nextId()is deleted. You should use thenext()from theUid` class. Example:

ts import { Uid } from 'sequential-workflow-designer'; Uid.next();

  • Static method Designer.utils.getParents() is deleted. You should use the getStepParents() method from the Designer class. Example:

ts designer.getStepParents(needleStep); * The ComponentType is not an enum anymore. It's a type (string). This change doesn't affect serialized JSONs.

Source: README.md, updated 2022-12-26