File tree Expand file tree Collapse file tree 11 files changed +26
-22
lines changed
src/workspace/placeholder Expand file tree Collapse file tree 11 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 1+ # 0.30.5
2+
3+ This version fixes the configuration usage in the ` RectPlaceholderDesignerExtension ` class.
4+
15# 0.30.4
26
37This version exposes the ` RectPlaceholderDesignerExtension ` class.
Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ Add the below code to your head section in HTML document.
106106``` html
107107<head >
108108...
109- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.4 /css/designer.css" rel =" stylesheet" >
110- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.4 /css/designer-light.css" rel =" stylesheet" >
111- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.4 /css/designer-dark.css" rel =" stylesheet" >
112- <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.4 /dist/index.umd.js" ></script >
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 >
113113```
114114
115115Call the designer by:
Original file line number Diff line number Diff line change 11{
22 "name" : " sequential-workflow-designer-angular" ,
33 "description" : " Angular wrapper for Sequential Workflow Designer component." ,
4- "version" : " 0.30.4 " ,
4+ "version" : " 0.30.5 " ,
55 "author" : {
66 "name" : " NoCode JS" ,
77 "url" : " https://nocode-js.com/"
1515 "peerDependencies" : {
1616 "@angular/common" : " 12 - 19" ,
1717 "@angular/core" : " 12 - 19" ,
18- "sequential-workflow-designer" : " ^0.30.4 "
18+ "sequential-workflow-designer" : " ^0.30.5 "
1919 },
2020 "dependencies" : {
2121 "tslib" : " ^2.3.0"
Original file line number Diff line number Diff line change 2626 "@angular/platform-browser-dynamic" : " ^17.3.9" ,
2727 "@angular/router" : " ^17.3.9" ,
2828 "rxjs" : " ~7.8.0" ,
29- "sequential-workflow-designer" : " ^0.30.4 " ,
30- "sequential-workflow-designer-angular" : " ^0.30.4 " ,
29+ "sequential-workflow-designer" : " ^0.30.5 " ,
30+ "sequential-workflow-designer-angular" : " ^0.30.5 " ,
3131 "tslib" : " ^2.3.0" ,
3232 "zone.js" : " ~0.14.6"
3333 },
Original file line number Diff line number Diff line change 66 "dependencies" : {
77 "react" : " ^18.2.0" ,
88 "react-dom" : " ^18.2.0" ,
9- "sequential-workflow-designer" : " ^0.30.4 " ,
10- "sequential-workflow-designer-react" : " ^0.30.4 "
9+ "sequential-workflow-designer" : " ^0.30.5 " ,
10+ "sequential-workflow-designer-react" : " ^0.30.5 "
1111 },
1212 "devDependencies" : {
1313 "@types/jest" : " ^29.2.5" ,
Original file line number Diff line number Diff line change 1616 "eslint" : " eslint ./src --ext .ts"
1717 },
1818 "dependencies" : {
19- "sequential-workflow-designer" : " ^0.30.4 " ,
20- "sequential-workflow-designer-svelte" : " ^0.30.4 "
19+ "sequential-workflow-designer" : " ^0.30.5 " ,
20+ "sequential-workflow-designer-svelte" : " ^0.30.5 "
2121 },
2222 "devDependencies" : {
2323 "@sveltejs/adapter-static" : " ^2.0.3" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " sequential-workflow-designer" ,
33 "description" : " Customizable no-code component for building flow-based programming applications." ,
4- "version" : " 0.30.4 " ,
4+ "version" : " 0.30.5 " ,
55 "type" : " module" ,
66 "main" : " ./lib/esm/index.js" ,
77 "types" : " ./lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export class RectPlaceholderExtension implements PlaceholderExtension {
1717 return new RectPlaceholderExtension ( configuration ?? defaultConfiguration ) ;
1818 }
1919
20- private readonly alongGapSize = new Vector ( defaultConfiguration . gapWidth , defaultConfiguration . gapHeight ) ;
21- private readonly perpendicularGapSize = new Vector ( defaultConfiguration . gapHeight , defaultConfiguration . gapWidth ) ;
20+ private readonly alongGapSize = new Vector ( this . configuration . gapWidth , this . configuration . gapHeight ) ;
21+ private readonly perpendicularGapSize = new Vector ( this . configuration . gapHeight , this . configuration . gapWidth ) ;
2222
2323 private constructor ( private readonly configuration : RectPlaceholderConfiguration ) { }
2424
Original file line number Diff line number Diff 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.30.4 ' ;
16+ const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.30.5 ' ;
1717
1818embedScript ( `${ baseUrl } /dist/index.umd.js` ) ;
1919embedStylesheet ( `${ baseUrl } /css/designer.css` ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " sequential-workflow-designer-react" ,
33 "description" : " React wrapper for Sequential Workflow Designer component." ,
4- "version" : " 0.30.4 " ,
4+ "version" : " 0.30.5 " ,
55 "type" : " module" ,
66 "main" : " ./lib/esm/index.js" ,
77 "types" : " ./lib/index.d.ts" ,
4747 "peerDependencies" : {
4848 "react" : " >=18.2.0" ,
4949 "react-dom" : " >=18.2.0" ,
50- "sequential-workflow-designer" : " ^0.30.4 "
50+ "sequential-workflow-designer" : " ^0.30.5 "
5151 },
5252 "devDependencies" : {
5353 "@rollup/plugin-node-resolve" : " ^16.0.1" ,
6363 "prettier" : " ^3.2.5" ,
6464 "react" : " ^18.2.0" ,
6565 "react-dom" : " ^18.2.0" ,
66- "sequential-workflow-designer" : " ^0.30.4 " ,
66+ "sequential-workflow-designer" : " ^0.30.5 " ,
6767 "rollup" : " ^4.40.0" ,
6868 "rollup-plugin-dts" : " ^6.2.1" ,
6969 "rollup-plugin-typescript2" : " ^0.36.0" ,
You can’t perform that action at this time.
0 commit comments