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.17.0
Name Modified Size InfoDownloads / Week
Parent folder
0.17.0 source code.tar.gz 2023-11-09 555.9 kB
0.17.0 source code.zip 2023-11-09 708.6 kB
README.md 2023-11-09 1.2 kB
Totals: 3 Items   1.3 MB 0

This version introduces a new argument for editor providers: isReadonly. Now when the designer is in the read-only mode, the editor providers can render the read-only version of the editor.

Breaking Changes

This version finally renames the "global editor" into the "root editor". This change is made in the designer package and all wrappers, except the Svelte package. The Svelte package uses a new name from the beginning.

:::js
const configuration = {
  editors: {
    // globalEditorProvider: () => {}, is not supported anymore, use `rootEditorProvider` instead.
    rootEditorProvider: (definition, rootContext, isReadonly) => { /* ... */ },
    // ...
  }
};

This version also renames the sqd-global-editor class of the root editor into the sqd-root-editor class.

React

:::tsx
// globalEditor={} is not supported anymore, use `rootEditor={}` instead.
<SequentialWorkflowDesigner
  rootEditor={<RootEditor />} ... />

Angular

:::html
<!-- [globalEditor]="" is not supported anymore, use [rootEditor]="" instead. -->
<sqd-designer ...
  [rootEditor]="rootEditor"></sqd-designer>
Source: README.md, updated 2023-11-09