sequential-workflow-designer 0.30.1 → 0.30.2
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/css/designer.css +2 -0
- 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/sass/designer.scss +2 -0
package/README.md
CHANGED
|
@@ -106,10 +106,10 @@ Add the below code to your head section in HTML document.
|
|
|
106
106
|
```html
|
|
107
107
|
<head>
|
|
108
108
|
...
|
|
109
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.
|
|
110
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.
|
|
111
|
-
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.
|
|
112
|
-
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.
|
|
109
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.2/css/designer.css" rel="stylesheet">
|
|
110
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.2/css/designer-light.css" rel="stylesheet">
|
|
111
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.2/css/designer-dark.css" rel="stylesheet">
|
|
112
|
+
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.2/dist/index.umd.js"></script>
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Call the designer by:
|
package/css/designer.css
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -2880,7 +2880,8 @@
|
|
|
2880
2880
|
throw new Error(notInitializedError$1);
|
|
2881
2881
|
}
|
|
2882
2882
|
const position = (_a = this.state.lastPosition) !== null && _a !== void 0 ? _a : this.state.startPosition;
|
|
2883
|
-
const
|
|
2883
|
+
const clientPosition = position.subtract(new Vector(window.scrollX, window.scrollY));
|
|
2884
|
+
const element = this.dom.elementFromPoint(clientPosition.x, clientPosition.y);
|
|
2884
2885
|
this.stop(false, element);
|
|
2885
2886
|
};
|
|
2886
2887
|
this.onTouchStart = (e) => {
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -2695,7 +2695,8 @@ class BehaviorController {
|
|
|
2695
2695
|
throw new Error(notInitializedError$1);
|
|
2696
2696
|
}
|
|
2697
2697
|
const position = (_a = this.state.lastPosition) !== null && _a !== void 0 ? _a : this.state.startPosition;
|
|
2698
|
-
const
|
|
2698
|
+
const clientPosition = position.subtract(new Vector(window.scrollX, window.scrollY));
|
|
2699
|
+
const element = this.dom.elementFromPoint(clientPosition.x, clientPosition.y);
|
|
2699
2700
|
this.stop(false, element);
|
|
2700
2701
|
};
|
|
2701
2702
|
this.onTouchStart = (e) => {
|
package/lib/esm/index.js
CHANGED
|
@@ -2694,7 +2694,8 @@ class BehaviorController {
|
|
|
2694
2694
|
throw new Error(notInitializedError$1);
|
|
2695
2695
|
}
|
|
2696
2696
|
const position = (_a = this.state.lastPosition) !== null && _a !== void 0 ? _a : this.state.startPosition;
|
|
2697
|
-
const
|
|
2697
|
+
const clientPosition = position.subtract(new Vector(window.scrollX, window.scrollY));
|
|
2698
|
+
const element = this.dom.elementFromPoint(clientPosition.x, clientPosition.y);
|
|
2698
2699
|
this.stop(false, element);
|
|
2699
2700
|
};
|
|
2700
2701
|
this.onTouchStart = (e) => {
|
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.30.
|
|
4
|
+
"version": "0.30.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|