New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sequential-workflow-designer

Package Overview
Dependencies
Maintainers
0
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequential-workflow-designer - npm Package Versions

1
10

0.18.4

Diff

Changelog

Source

0.18.4

This version removes the features introduced in the previous release. We noticed that the proposed solution did not update the undo stack. As a result, we removed that feature in this version. Instead, we added a new method to the Designer class called replaceDefinition, which allows for the replacement of the entire definition and updates the undo stack.

function appendStep() {
  const newStep: Step = { /* ... */ };

  const newDefinition = ObjectCloner.deepClone(designer.getDefinition());
  newDefinition.sequence.push(newStep);
  await designer.replaceDefinition(newDefinition);
}
b4rtaz
published 0.18.3 •

Changelog

Source

0.18.3

Edited: changes are reverted in the 0.18.4 version.

b4rtaz
published 0.18.2 •

Changelog

Source

0.18.2

This version corrects a bug in the moveViewportToStep method that caused the viewport to move to the incorrect position.

b4rtaz
published 0.18.1 •

Changelog

Source

0.18.1

This version exposes the definition walker from the Designer class #109.

const walker = designer.getWalker();
b4rtaz
published 0.18.0 •

Changelog

Source

0.18.0

This version fixes the problem with scrolling #105.

b4rtaz
published 0.17.0 •

Changelog

Source

0.17.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.

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

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

Angular

<!-- [globalEditor]="" is not supported anymore, use [rootEditor]="" instead. -->
<sqd-designer ...
  [rootEditor]="rootEditor"></sqd-designer>
b4rtaz
published 0.16.10 •

Changelog

Source

0.16.10

This version fixes the error: Failed to execute 'removeChild' on 'Node' when a user uses the undo feature #100.

Additionally, this version introduces getViewport, setViewport methods and onViewportChanged event in the Designer class.

b4rtaz
published 0.16.9 •

Changelog

Source

0.16.9

This version adds a possibility to disable keyboard shortcuts. Additionally you may filter keyboard events handled by the designer.

// Disabled shortcuts
const configuration = {
  keyboard: false,
  // ...
};
b4rtaz
published 0.16.8 •

Changelog

Source

0.16.8

Svelte package supports now native editors. If you want to use JavaScript/TypeScript code to create editors, you can do it now. Of course, you can still use Svelte components as editors.

<SequentialWorkflowDesigner ...
  stepEditor={StepEditor}
  rootEditor={RootEditor} />

<SequentialWorkflowDesigner ...
  nativeStepEditor={nativeStepEditor}
  nativeRootEditor={nativeRootEditor} />
b4rtaz
published 0.16.7 •

Changelog

Source

0.16.7

Added two events to the Svelte package: on:isToolboxCollapsedChanged and on:isEditorCollapsedChanged.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc