Skip to content

Commit 70d2c40

Browse files
authored
0.21.3. (#154)
1 parent b04acda commit 70d2c40

File tree

13 files changed

+35
-28
lines changed

13 files changed

+35
-28
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.21.3
2+
3+
This version resolves the problem of unwanted text selection in the toolbox in Safari 17.5 [#153](https://github.com/nocode-js/sequential-workflow-designer/issues/153).
4+
15
# 0.21.2
26

37
This version resolves the problem of unwanted dragging of the image element in the toolbox [#149](https://github.com/nocode-js/sequential-workflow-designer/issues/149).

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ Add the below code to your head section in HTML document.
102102
```html
103103
<head>
104104
...
105-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.2/css/designer.css" rel="stylesheet">
106-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.2/css/designer-light.css" rel="stylesheet">
107-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.2/css/designer-dark.css" rel="stylesheet">
108-
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.2/dist/index.umd.js"></script>
105+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer.css" rel="stylesheet">
106+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer-light.css" rel="stylesheet">
107+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/css/designer-dark.css" rel="stylesheet">
108+
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3/dist/index.umd.js"></script>
109109
```
110110

111111
Call the designer by:

angular/designer/package.json

+2-2
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.21.2",
4+
"version": "0.21.3",
55
"author": {
66
"name": "NoCode JS",
77
"url": "https://nocode-js.com/"
@@ -15,7 +15,7 @@
1515
"peerDependencies": {
1616
"@angular/common": "12 - 18",
1717
"@angular/core": "12 - 18",
18-
"sequential-workflow-designer": "^0.21.2"
18+
"sequential-workflow-designer": "^0.21.3"
1919
},
2020
"dependencies": {
2121
"tslib": "^2.3.0"

demos/angular-app/package.json

+2-2
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.21.2",
30-
"sequential-workflow-designer-angular": "^0.21.2",
29+
"sequential-workflow-designer": "^0.21.3",
30+
"sequential-workflow-designer-angular": "^0.21.3",
3131
"tslib": "^2.3.0",
3232
"zone.js": "~0.14.6"
3333
},

demos/angular-app/yarn.lock

+8-8
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.21.2:
6748-
version "0.21.2"
6749-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.21.2.tgz#862affe152042104c5fa668c4426e949cb9e1888"
6750-
integrity sha512-0FpWnTR64StQOlR+HdYnTl3+ZhbxTP2Z8CCi0NYMK+2kV0aMVFKIz/hNdcJwDM24nspOFGF/f+FGzjOcrVgJmQ==
6747+
sequential-workflow-designer-angular@^0.21.3:
6748+
version "0.21.3"
6749+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.21.3.tgz#83076784df068869937c1619b621c854da6628a2"
6750+
integrity sha512-x0f8/zAteNwt6Y1Se4fv6JarceGCVhNx0JK+zAywtcgomnIqTWBKrZ1hrbUFE8OI0Y1/5OwzALCWkjbCB4A+iQ==
67516751
dependencies:
67526752
tslib "^2.3.0"
67536753

6754-
sequential-workflow-designer@^0.21.2:
6755-
version "0.21.2"
6756-
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.21.2.tgz#dab9702ff56a9e20967cb6840bfd19fb710c2c35"
6757-
integrity sha512-yjBrENF1bongMB0bW4AcatlhNfM1B48jKVgJKEkAAVgZy7/DioHZ3545fXVGol6bvjcqtKRHwOasZKITvVJU2Q==
6754+
sequential-workflow-designer@^0.21.3:
6755+
version "0.21.3"
6756+
resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.21.3.tgz#b9e53a4f8b4d2b66892c243775fb1e2ade9a1dba"
6757+
integrity sha512-BJOwODSTqSoGxkyPvxlRLyz9Y4kL8W9u6NsP/NeNJV4BoRtsbuMspjnxLNRLCHHjl3Dfa5SEjWr18SXHLjlppA==
67586758
dependencies:
67596759
sequential-workflow-model "^0.2.0"
67606760

demos/react-app/package.json

+2-2
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.21.2",
10-
"sequential-workflow-designer-react": "^0.21.2"
9+
"sequential-workflow-designer": "^0.21.3",
10+
"sequential-workflow-designer-react": "^0.21.3"
1111
},
1212
"devDependencies": {
1313
"@types/jest": "^29.2.5",

demos/svelte-app/package.json

+2-2
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.21.2",
20-
"sequential-workflow-designer-svelte": "^0.21.2"
19+
"sequential-workflow-designer": "^0.21.3",
20+
"sequential-workflow-designer-svelte": "^0.21.3"
2121
},
2222
"devDependencies": {
2323
"@sveltejs/adapter-static": "^2.0.3",

designer/package.json

+1-1
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.21.2",
4+
"version": "0.21.3",
55
"type": "module",
66
"main": "./lib/esm/index.js",
77
"types": "./lib/index.d.ts",

designer/src/toolbox/scrollbox-view.ts

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export class ScrollBoxView {
9393
};
9494

9595
private readonly onMouseDown = (e: MouseEvent) => {
96+
e.preventDefault();
9697
this.startScroll(readMousePosition(e));
9798
};
9899

designer/src/toolbox/toolbox-item.ts

+2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ export class ToolboxItem {
2222

2323
private onTouchstart(e: TouchEvent) {
2424
e.preventDefault();
25+
e.stopPropagation();
2526
if (e.touches.length === 1) {
2627
e.stopPropagation();
2728
this.tryDrag(readTouchPosition(e));
2829
}
2930
}
3031

3132
private onMousedown(e: MouseEvent) {
33+
e.preventDefault();
3234
e.stopPropagation();
3335
const isPrimaryButton = e.button === 0;
3436
if (isPrimaryButton) {

examples/assets/lib.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function embedStylesheet(url) {
1313
document.write(`<link href="${url}" rel="stylesheet">`);
1414
}
1515

16-
const baseUrl = isTestEnv() ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.2';
16+
const baseUrl = isTestEnv() ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3';
1717

1818
embedScript(`${baseUrl}/dist/index.umd.js`);
1919
embedStylesheet(`${baseUrl}/css/designer.css`);

react/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequential-workflow-designer-react",
33
"description": "React wrapper for Sequential Workflow Designer component.",
4-
"version": "0.21.2",
4+
"version": "0.21.3",
55
"type": "module",
66
"main": "./lib/esm/index.js",
77
"types": "./lib/index.d.ts",
@@ -47,7 +47,7 @@
4747
"peerDependencies": {
4848
"react": "^18.2.0",
4949
"react-dom": "^18.2.0",
50-
"sequential-workflow-designer": "^0.21.2"
50+
"sequential-workflow-designer": "^0.21.3"
5151
},
5252
"devDependencies": {
5353
"@rollup/plugin-node-resolve": "^15.0.1",
@@ -63,7 +63,7 @@
6363
"prettier": "^3.2.5",
6464
"react": "^18.2.0",
6565
"react-dom": "^18.2.0",
66-
"sequential-workflow-designer": "^0.21.2",
66+
"sequential-workflow-designer": "^0.21.3",
6767
"rollup": "^3.18.0",
6868
"rollup-plugin-dts": "^5.2.0",
6969
"rollup-plugin-typescript2": "^0.34.1",

svelte/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequential-workflow-designer-svelte",
33
"description": "Svelte wrapper for Sequential Workflow Designer component.",
4-
"version": "0.21.2",
4+
"version": "0.21.3",
55
"license": "MIT",
66
"scripts": {
77
"prepare": "cp ../LICENSE LICENSE",
@@ -28,10 +28,10 @@
2828
],
2929
"peerDependencies": {
3030
"svelte": "^4.0.0",
31-
"sequential-workflow-designer": "^0.21.2"
31+
"sequential-workflow-designer": "^0.21.3"
3232
},
3333
"devDependencies": {
34-
"sequential-workflow-designer": "^0.21.2",
34+
"sequential-workflow-designer": "^0.21.3",
3535
"@sveltejs/adapter-static": "^2.0.3",
3636
"@sveltejs/kit": "^1.20.4",
3737
"@sveltejs/package": "^2.0.0",

0 commit comments

Comments
 (0)