File tree 12 files changed +34
-29
lines changed
12 files changed +34
-29
lines changed Original file line number Diff line number Diff line change
1
+ # 0.21.4
2
+
3
+ This version fixes the problem with scrolling the toolbox on mobile devices by using two fingers.
4
+
1
5
# 0.21.3
2
6
3
7
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 ) .
Original file line number Diff line number Diff line change @@ -102,10 +102,10 @@ Add the below code to your head section in HTML document.
102
102
``` html
103
103
<head >
104
104
...
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 >
105
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4 /css/designer.css" rel =" stylesheet" >
106
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4 /css/designer-light.css" rel =" stylesheet" >
107
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4 /css/designer-dark.css" rel =" stylesheet" >
108
+ <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4 /dist/index.umd.js" ></script >
109
109
```
110
110
111
111
Call the designer by:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-angular" ,
3
3
"description" : " Angular wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.21.3 " ,
4
+ "version" : " 0.21.4 " ,
5
5
"author" : {
6
6
"name" : " NoCode JS" ,
7
7
"url" : " https://nocode-js.com/"
15
15
"peerDependencies" : {
16
16
"@angular/common" : " 12 - 18" ,
17
17
"@angular/core" : " 12 - 18" ,
18
- "sequential-workflow-designer" : " ^0.21.3 "
18
+ "sequential-workflow-designer" : " ^0.21.4 "
19
19
},
20
20
"dependencies" : {
21
21
"tslib" : " ^2.3.0"
Original file line number Diff line number Diff line change 26
26
"@angular/platform-browser-dynamic" : " ^17.3.9" ,
27
27
"@angular/router" : " ^17.3.9" ,
28
28
"rxjs" : " ~7.8.0" ,
29
- "sequential-workflow-designer" : " ^0.21.3 " ,
30
- "sequential-workflow-designer-angular" : " ^0.21.3 " ,
29
+ "sequential-workflow-designer" : " ^0.21.4 " ,
30
+ "sequential-workflow-designer-angular" : " ^0.21.4 " ,
31
31
"tslib" : " ^2.3.0" ,
32
32
"zone.js" : " ~0.14.6"
33
33
},
Original file line number Diff line number Diff line change @@ -6744,17 +6744,17 @@ send@0.18.0:
6744
6744
range-parser "~1.2.1"
6745
6745
statuses "2.0.1"
6746
6746
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 ==
6747
+ sequential-workflow-designer-angular@^0.21.4 :
6748
+ version "0.21.4 "
6749
+ resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.21.4 .tgz#765782eaacbec2c64c403a27f372a4404ad7b5c2 "
6750
+ integrity sha512-xO3Nt8xNrHUWltxFFacruUIVHNzfb1YXmn6SVjMZ4c57G2N88jffXj2RAJ8rV1UxCoWLrI+oUr1LpsPjH500XQ ==
6751
6751
dependencies :
6752
6752
tslib "^2.3.0"
6753
6753
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 ==
6754
+ sequential-workflow-designer@^0.21.4 :
6755
+ version "0.21.4 "
6756
+ resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.21.4 .tgz#33e531d6b23803a87c6c080cb41bce2f610f3ea6 "
6757
+ integrity sha512-rGEOE0DOuhEvNt9EdY5FRtc78YladyBZIO22GcRTvwibDD6uEiisz+OUpJwbgrRwGc07Xok5lDBo/Y8+8entMg ==
6758
6758
dependencies :
6759
6759
sequential-workflow-model "^0.2.0"
6760
6760
Original file line number Diff line number Diff line change 6
6
"dependencies" : {
7
7
"react" : " ^18.2.0" ,
8
8
"react-dom" : " ^18.2.0" ,
9
- "sequential-workflow-designer" : " ^0.21.3 " ,
10
- "sequential-workflow-designer-react" : " ^0.21.3 "
9
+ "sequential-workflow-designer" : " ^0.21.4 " ,
10
+ "sequential-workflow-designer-react" : " ^0.21.4 "
11
11
},
12
12
"devDependencies" : {
13
13
"@types/jest" : " ^29.2.5" ,
Original file line number Diff line number Diff line change 16
16
"eslint" : " eslint ./src --ext .ts"
17
17
},
18
18
"dependencies" : {
19
- "sequential-workflow-designer" : " ^0.21.3 " ,
20
- "sequential-workflow-designer-svelte" : " ^0.21.3 "
19
+ "sequential-workflow-designer" : " ^0.21.4 " ,
20
+ "sequential-workflow-designer-svelte" : " ^0.21.4 "
21
21
},
22
22
"devDependencies" : {
23
23
"@sveltejs/adapter-static" : " ^2.0.3" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer" ,
3
3
"description" : " Customizable no-code component for building flow-based programming applications." ,
4
- "version" : " 0.21.3 " ,
4
+ "version" : " 0.21.4 " ,
5
5
"type" : " module" ,
6
6
"main" : " ./lib/esm/index.js" ,
7
7
"types" : " ./lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ export class ToolboxItem {
22
22
23
23
private onTouchstart ( e : TouchEvent ) {
24
24
e . preventDefault ( ) ;
25
- e . stopPropagation ( ) ;
26
25
if ( e . touches . length === 1 ) {
26
+ // We stop propagation only if it was a single touch event (we can start dragging).
27
+ // Otherwise we want to bubble up the event to the scrollbox.
27
28
e . stopPropagation ( ) ;
28
29
this . tryDrag ( readTouchPosition ( e ) ) ;
29
30
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function embedStylesheet(url) {
13
13
document . write ( `<link href="${ url } " rel="stylesheet">` ) ;
14
14
}
15
15
16
- const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.3 ' ;
16
+ const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.4 ' ;
17
17
18
18
embedScript ( `${ baseUrl } /dist/index.umd.js` ) ;
19
19
embedStylesheet ( `${ baseUrl } /css/designer.css` ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-react" ,
3
3
"description" : " React wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.21.3 " ,
4
+ "version" : " 0.21.4 " ,
5
5
"type" : " module" ,
6
6
"main" : " ./lib/esm/index.js" ,
7
7
"types" : " ./lib/index.d.ts" ,
47
47
"peerDependencies" : {
48
48
"react" : " ^18.2.0" ,
49
49
"react-dom" : " ^18.2.0" ,
50
- "sequential-workflow-designer" : " ^0.21.3 "
50
+ "sequential-workflow-designer" : " ^0.21.4 "
51
51
},
52
52
"devDependencies" : {
53
53
"@rollup/plugin-node-resolve" : " ^15.0.1" ,
63
63
"prettier" : " ^3.2.5" ,
64
64
"react" : " ^18.2.0" ,
65
65
"react-dom" : " ^18.2.0" ,
66
- "sequential-workflow-designer" : " ^0.21.3 " ,
66
+ "sequential-workflow-designer" : " ^0.21.4 " ,
67
67
"rollup" : " ^3.18.0" ,
68
68
"rollup-plugin-dts" : " ^5.2.0" ,
69
69
"rollup-plugin-typescript2" : " ^0.34.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sequential-workflow-designer-svelte" ,
3
3
"description" : " Svelte wrapper for Sequential Workflow Designer component." ,
4
- "version" : " 0.21.3 " ,
4
+ "version" : " 0.21.4 " ,
5
5
"license" : " MIT" ,
6
6
"scripts" : {
7
7
"prepare" : " cp ../LICENSE LICENSE" ,
28
28
],
29
29
"peerDependencies" : {
30
30
"svelte" : " ^4.0.0" ,
31
- "sequential-workflow-designer" : " ^0.21.3 "
31
+ "sequential-workflow-designer" : " ^0.21.4 "
32
32
},
33
33
"devDependencies" : {
34
- "sequential-workflow-designer" : " ^0.21.3 " ,
34
+ "sequential-workflow-designer" : " ^0.21.4 " ,
35
35
"@sveltejs/adapter-static" : " ^2.0.3" ,
36
36
"@sveltejs/kit" : " ^1.20.4" ,
37
37
"@sveltejs/package" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments