Skip to content

Commit 6d12712

Browse files
authored
0.32.0. (#202)
1 parent 42c7ff7 commit 6d12712

File tree

16 files changed

+56
-51
lines changed

16 files changed

+56
-51
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.32.0
2+
3+
This introduces internal changes related to the dragged component.
4+
15
# 0.31.0
26

37
This version introduces a new feature: you can now add a custom icon to placeholders that appear while dragging a step.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ Add the below code to your head section in HTML document.
106106
```html
107107
<head>
108108
...
109-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.31.0/css/designer.css" rel="stylesheet">
110-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.31.0/css/designer-light.css" rel="stylesheet">
111-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.31.0/css/designer-dark.css" rel="stylesheet">
112-
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.31.0/dist/index.umd.js"></script>
109+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.32.0/css/designer.css" rel="stylesheet">
110+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.32.0/css/designer-light.css" rel="stylesheet">
111+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.32.0/css/designer-dark.css" rel="stylesheet">
112+
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.32.0/dist/index.umd.js"></script>
113113
```
114114

115115
Call the designer by:

angular/designer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequential-workflow-designer-angular",
33
"description": "Angular wrapper for Sequential Workflow Designer component.",
4-
"version": "0.31.0",
4+
"version": "0.32.0",
55
"author": {
66
"name": "NoCode JS",
77
"url": "https://nocode-js.com/"
@@ -15,7 +15,7 @@
1515
"peerDependencies": {
1616
"@angular/common": "12 - 19",
1717
"@angular/core": "12 - 19",
18-
"sequential-workflow-designer": "^0.31.0"
18+
"sequential-workflow-designer": "^0.32.0"
1919
},
2020
"dependencies": {
2121
"tslib": "^2.3.0"

demos/angular-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@angular/platform-browser-dynamic": "^17.3.9",
2727
"@angular/router": "^17.3.9",
2828
"rxjs": "~7.8.0",
29-
"sequential-workflow-designer": "^0.31.0",
30-
"sequential-workflow-designer-angular": "^0.31.0",
29+
"sequential-workflow-designer": "^0.32.0",
30+
"sequential-workflow-designer-angular": "^0.32.0",
3131
"tslib": "^2.3.0",
3232
"zone.js": "~0.14.6"
3333
},

demos/angular-app/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6744,17 +6744,17 @@ send@0.18.0:
67446744
range-parser "~1.2.1"
67456745
statuses "2.0.1"
67466746

6747-
sequential-workflow-designer-angular@^0.31.0:
6748-
version "0.31.0"
6749-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.31.0.tgz#c8cabbcd1efa54ad546419a06c2e06c896a21995"
6750-
integrity sha512-BM3MxNmca5l0tGp7ILWkXbXZPRhPdCDWEiqAtQ8YQ17PCM1SC+A9NXnKqS/Wy3hspDyF8x30TAe6RNbdd45TsQ==
6747+
sequential-workflow-designer-angular@^0.32.0:
6748+
version "0.32.0"
6749+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.32.0.tgz#4347f0ce4a161484bb97d9ab73ed24298e3095d5"
6750+
integrity sha512-NamicpEsIOSWCdLUozyUIWJzi9Q6tpbJbO4OiK0VXpK86oLBKKVmejdufIqjB/Z6EkPFAkg0KTKURaZSzSt+0A==
67516751
dependencies:
67526752
tslib "^2.3.0"
67536753

6754-
sequential-workflow-designer@^0.31.0:
6755-
version "0.31.0"
6756-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.31.0.tgz#0caf70148c99425fe1fdfd1f59af0727f472337c"
6757-
integrity sha512-M1mPf79u5swztIbUf+Pjln4Jro8iUHA0mZc9EUwsZPi9o/MFz3w/YYiYndf385U1kqTrlXHrhB8NkugVthonBg==
6754+
sequential-workflow-designer@^0.32.0:
6755+
version "0.32.0"
6756+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.32.0.tgz#176b763f09d603c10f1455339d0ba19943d0c483"
6757+
integrity sha512-11aAfRN2vhD0FLmJDGZeVgozT3l41O8sJ6sHPmFvkoNmxW1/VezU9RAaOMuF2t/jQMACxe+dj9++sTkmrooOyA==
67586758
dependencies:
67596759
sequential-workflow-model "^0.2.0"
67606760

demos/react-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"dependencies": {
77
"react": "^18.2.0",
88
"react-dom": "^18.2.0",
9-
"sequential-workflow-designer": "^0.31.0",
10-
"sequential-workflow-designer-react": "^0.31.0"
9+
"sequential-workflow-designer": "^0.32.0",
10+
"sequential-workflow-designer-react": "^0.32.0"
1111
},
1212
"devDependencies": {
1313
"@types/jest": "^29.2.5",

demos/svelte-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"eslint": "eslint ./src --ext .ts"
1717
},
1818
"dependencies": {
19-
"sequential-workflow-designer": "^0.31.0",
20-
"sequential-workflow-designer-svelte": "^0.31.0"
19+
"sequential-workflow-designer": "^0.32.0",
20+
"sequential-workflow-designer-svelte": "^0.32.0"
2121
},
2222
"devDependencies": {
2323
"@sveltejs/adapter-static": "^2.0.3",

designer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequential-workflow-designer",
33
"description": "Customizable no-code component for building flow-based programming applications.",
4-
"version": "0.31.0",
4+
"version": "0.32.0",
55
"type": "module",
66
"main": "./lib/esm/index.js",
77
"types": "./lib/index.d.ts",

designer/src/behaviors/default-dragged-component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { DraggedComponent, StepContext } from '../designer-extension';
66
const SAFE_OFFSET = 10;
77

88
export class DefaultDraggedComponent implements DraggedComponent {
9-
public static create(parent: HTMLElement, step: Step, componentContext: ComponentContext): DefaultDraggedComponent {
9+
public static create(parent: HTMLElement, step: Step, _: boolean, componentContext: ComponentContext): DefaultDraggedComponent {
1010
const canvas = Dom.svg('svg');
1111
canvas.style.marginLeft = -SAFE_OFFSET + 'px';
1212
canvas.style.marginTop = -SAFE_OFFSET + 'px';

designer/src/behaviors/drag-step-behavior-view.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('DragStepView', () => {
1515
const step = createStepStub();
1616
const componentContext = createComponentContextStub();
1717

18-
const component = DragStepView.create(step, 'light', componentContext);
18+
const component = DragStepView.create(step, false, 'light', componentContext);
1919

2020
expect(component).toBeDefined();
2121
expect(appendChildSpy).toHaveBeenCalled();
@@ -43,7 +43,7 @@ describe('DragStepView', () => {
4343
const createForGapSpy = spyOn(componentContext.services.placeholder, 'createForGap').and.callThrough();
4444
const createForAreaSpy = spyOn(componentContext.services.placeholder, 'createForArea').and.callThrough();
4545

46-
const component = DragStepView.create(step, 'light', componentContext);
46+
const component = DragStepView.create(step, false, 'light', componentContext);
4747

4848
expect(component).toBeDefined();
4949
expect(appendChildSpy).toHaveBeenCalled();

0 commit comments

Comments
 (0)