sequential-workflow-designer 0.21.3 → 0.21.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.umd.js +2 -1
- package/lib/cjs/index.cjs +2 -1
- package/lib/esm/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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.
|
|
106
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
107
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
108
|
-
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.21.
|
|
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:
|
package/dist/index.umd.js
CHANGED
|
@@ -3999,8 +3999,9 @@
|
|
|
3999
3999
|
}
|
|
4000
4000
|
onTouchstart(e) {
|
|
4001
4001
|
e.preventDefault();
|
|
4002
|
-
e.stopPropagation();
|
|
4003
4002
|
if (e.touches.length === 1) {
|
|
4003
|
+
// We stop propagation only if it was a single touch event (we can start dragging).
|
|
4004
|
+
// Otherwise we want to bubble up the event to the scrollbox.
|
|
4004
4005
|
e.stopPropagation();
|
|
4005
4006
|
this.tryDrag(readTouchPosition(e));
|
|
4006
4007
|
}
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -3814,8 +3814,9 @@ class ToolboxItem {
|
|
|
3814
3814
|
}
|
|
3815
3815
|
onTouchstart(e) {
|
|
3816
3816
|
e.preventDefault();
|
|
3817
|
-
e.stopPropagation();
|
|
3818
3817
|
if (e.touches.length === 1) {
|
|
3818
|
+
// We stop propagation only if it was a single touch event (we can start dragging).
|
|
3819
|
+
// Otherwise we want to bubble up the event to the scrollbox.
|
|
3819
3820
|
e.stopPropagation();
|
|
3820
3821
|
this.tryDrag(readTouchPosition(e));
|
|
3821
3822
|
}
|
package/lib/esm/index.js
CHANGED
|
@@ -3813,8 +3813,9 @@ class ToolboxItem {
|
|
|
3813
3813
|
}
|
|
3814
3814
|
onTouchstart(e) {
|
|
3815
3815
|
e.preventDefault();
|
|
3816
|
-
e.stopPropagation();
|
|
3817
3816
|
if (e.touches.length === 1) {
|
|
3817
|
+
// We stop propagation only if it was a single touch event (we can start dragging).
|
|
3818
|
+
// Otherwise we want to bubble up the event to the scrollbox.
|
|
3818
3819
|
e.stopPropagation();
|
|
3819
3820
|
this.tryDrag(readTouchPosition(e));
|
|
3820
3821
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "0.21.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|