sequential-workflow-designer 0.30.4 → 0.30.5
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 -2
- package/lib/cjs/index.cjs +2 -2
- package/lib/esm/index.js +2 -2
- package/package.json +1 -1
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.5/css/designer.css" rel="stylesheet">
|
|
110
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.5/css/designer-light.css" rel="stylesheet">
|
|
111
|
+
<link href="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.5/css/designer-dark.css" rel="stylesheet">
|
|
112
|
+
<script src="https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.5/dist/index.umd.js"></script>
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Call the designer by:
|
package/dist/index.umd.js
CHANGED
|
@@ -2487,8 +2487,8 @@
|
|
|
2487
2487
|
}
|
|
2488
2488
|
constructor(configuration) {
|
|
2489
2489
|
this.configuration = configuration;
|
|
2490
|
-
this.alongGapSize = new Vector(
|
|
2491
|
-
this.perpendicularGapSize = new Vector(
|
|
2490
|
+
this.alongGapSize = new Vector(this.configuration.gapWidth, this.configuration.gapHeight);
|
|
2491
|
+
this.perpendicularGapSize = new Vector(this.configuration.gapHeight, this.configuration.gapWidth);
|
|
2492
2492
|
}
|
|
2493
2493
|
getGapSize(orientation) {
|
|
2494
2494
|
return orientation === exports.PlaceholderGapOrientation.perpendicular ? this.perpendicularGapSize : this.alongGapSize;
|
package/lib/cjs/index.cjs
CHANGED
|
@@ -2302,8 +2302,8 @@ class RectPlaceholderExtension {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
constructor(configuration) {
|
|
2304
2304
|
this.configuration = configuration;
|
|
2305
|
-
this.alongGapSize = new Vector(
|
|
2306
|
-
this.perpendicularGapSize = new Vector(
|
|
2305
|
+
this.alongGapSize = new Vector(this.configuration.gapWidth, this.configuration.gapHeight);
|
|
2306
|
+
this.perpendicularGapSize = new Vector(this.configuration.gapHeight, this.configuration.gapWidth);
|
|
2307
2307
|
}
|
|
2308
2308
|
getGapSize(orientation) {
|
|
2309
2309
|
return orientation === exports.PlaceholderGapOrientation.perpendicular ? this.perpendicularGapSize : this.alongGapSize;
|
package/lib/esm/index.js
CHANGED
|
@@ -2301,8 +2301,8 @@ class RectPlaceholderExtension {
|
|
|
2301
2301
|
}
|
|
2302
2302
|
constructor(configuration) {
|
|
2303
2303
|
this.configuration = configuration;
|
|
2304
|
-
this.alongGapSize = new Vector(
|
|
2305
|
-
this.perpendicularGapSize = new Vector(
|
|
2304
|
+
this.alongGapSize = new Vector(this.configuration.gapWidth, this.configuration.gapHeight);
|
|
2305
|
+
this.perpendicularGapSize = new Vector(this.configuration.gapHeight, this.configuration.gapWidth);
|
|
2306
2306
|
}
|
|
2307
2307
|
getGapSize(orientation) {
|
|
2308
2308
|
return orientation === PlaceholderGapOrientation.perpendicular ? this.perpendicularGapSize : this.alongGapSize;
|
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.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|