Releases: nocode-js/sequential-workflow-designer
0.5.4
This version introduces the first release of the Sequential Workflow Designer for Angular package.
0.5.3
0.5.2
This version introduces the first release of the Sequential Workflow Designer for React package.
0.5.1
0.5.0
- Fixed losing the disabled state during dragging.
- Fixed steps rendering with long labels.
- Added to the global editor and the step editor the common class:
sqd-editor.
Breaking Changes
- Changed a behavior of the default zoom. From now the designer shows a whole flow at the start.
- Zoom is aligned to the predefined constants.
0.4.0
This version brings rendering speed improvements. Check the stress-test.html example. This version contains many internal changes to support the folder component in the pro version.
Breaking Changes
- Replaced all icons to material icons.
- Normalized step CSS classes. All components have the
sqd-step-<componentType>-prefix from now.
0.3.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
Designerclass is removed. Now you should import directly theDesignerclass.import { Designer } from 'sequential-workflow-designer'; Designer.create(/* ... */);
This affects CDN usage too.
<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 the
libfolder. UMD build is located in thedistfolder. That means the URL to the CDN is also changed.<script src="https://cdn.jsdelivr.net/.../dist/index.umd.js"></script>
-
Static method
Designer.utils.nextId()is deleted. You should use thenext()from theUidclass. Example:import { Uid } from 'sequential-workflow-designer'; Uid.next();
-
Static method
Designer.utils.getParents()is deleted. You should use thegetStepParents()method from theDesignerclass. Example:designer.getStepParents(needleStep);
-
The
ComponentTypeis not an enum anymore. It's a type (string). This change doesn't affect serialized JSONs.