File tree 15 files changed +59
-39
lines changed
15 files changed +59
-39
lines changed Original file line number Diff line number Diff line change
1
+ # 0.23.0
2
+
3
+ This release updates the CSS selectors for the toolbox, allowing you to adjust its width with a single CSS override.
4
+
5
+ ``` css
6
+ .sqd-toolbox { width : 170px !important ; }
7
+ ```
8
+
1
9
# 0.22.1
2
10
3
11
This release resolves an issue that prevented a step from being deleted due to a bug in the control bar implementation.
Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ Add the below code to your head section in HTML document.
103
103
``` html
104
104
<head >
105
105
...
106
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.1 /css/designer.css" rel =" stylesheet" >
107
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.1 /css/designer-light.css" rel =" stylesheet" >
108
- <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.1 /css/designer-dark.css" rel =" stylesheet" >
109
- <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.22.1 /dist/index.umd.js" ></script >
106
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.23.0 /css/designer.css" rel =" stylesheet" >
107
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.23.0 /css/designer-light.css" rel =" stylesheet" >
108
+ <link href =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.23.0 /css/designer-dark.css" rel =" stylesheet" >
109
+ <script src =" https://cdn.jsdelivr.net/npm/sequential-workflow-designer@0.23.0 /dist/index.umd.js" ></script >
110
110
```
111
111
112
112
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.22.1 " ,
4
+ "version" : " 0.23.0 " ,
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.22.1 "
18
+ "sequential-workflow-designer" : " ^0.23.0 "
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.22.1 " ,
30
- "sequential-workflow-designer-angular" : " ^0.22.1 " ,
29
+ "sequential-workflow-designer" : " ^0.23.0 " ,
30
+ "sequential-workflow-designer-angular" : " ^0.23.0 " ,
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.22.1 :
6748
- version "0.22.1 "
6749
- resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.22.1 .tgz#3153d292f6b0ce517f2ff06d71105ed6bf9ad3c5 "
6750
- integrity sha512-JH3d++fvP2NsN7h+/WJl/AL+R655VYrevJ0THspWx4R2ilNTB8kUbW2MDQpKpzJ1ZVu/Rdi1tQnGJNmpC3Cikw ==
6747
+ sequential-workflow-designer-angular@^0.23.0 :
6748
+ version "0.23.0 "
6749
+ resolved "https://registry.yarnpkg.com/sequential-workflow-designer-angular/-/sequential-workflow-designer-angular-0.23.0 .tgz#aa8a8f9f6e0332d1d3e37c9f973526858db47529 "
6750
+ integrity sha512-zLLDzDCY9YOjEpDBdKhYPmsaMIph8boZ9sHyCG8G3btDe5DxyQ0CWly83gn3JYn+ydEbxP8uKr79QOCx5qU86g ==
6751
6751
dependencies :
6752
6752
tslib "^2.3.0"
6753
6753
6754
- sequential-workflow-designer@^0.22.1 :
6755
- version "0.22.1 "
6756
- resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.22.1 .tgz#142778f1b6b06cbf39e6b5f30f20c92b09397a36 "
6757
- integrity sha512-/8Vgfzil/LCA7rwtRW10ptKFg4ysYO9CWZGmgPvFb7K2S3bv57xKaL9MYBqIamqN6qd80bx715G/3lo8mgDO5g ==
6754
+ sequential-workflow-designer@^0.23.0 :
6755
+ version "0.23.0 "
6756
+ resolved "https://registry.yarnpkg.com/sequential-workflow-designer/-/sequential-workflow-designer-0.23.0 .tgz#8564eed552a75d5d6bca4aeb84e410add3fe431d "
6757
+ integrity sha512-wySBYU+r8UoXeRaqThnH99NDgyAEek4QJSWZHGhKwgPfguH0Y9JZB+8DvV15iLFL9lMKPYiqWQHZvIhUtDz2LA ==
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.22.1 " ,
10
- "sequential-workflow-designer-react" : " ^0.22.1 "
9
+ "sequential-workflow-designer" : " ^0.23.0 " ,
10
+ "sequential-workflow-designer-react" : " ^0.23.0 "
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.22.1 " ,
20
- "sequential-workflow-designer-svelte" : " ^0.22.1 "
19
+ "sequential-workflow-designer" : " ^0.23.0 " ,
20
+ "sequential-workflow-designer-svelte" : " ^0.23.0 "
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.22.1 " ,
4
+ "version" : " 0.23.0 " ,
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
22
.sqd-toolbox-header-title {
23
23
color : $headerTextColor ;
24
24
}
25
- .sqd-toolbox-filter {
25
+ .sqd-toolbox-filter-input {
26
26
background : $filterBackground ;
27
27
color : $filterTextColor ;
28
28
border : $filterBorder ;
29
29
border-radius : $filterBorderRadius ;
30
30
}
31
- .sqd-toolbox-filter :focus {
31
+ .sqd-toolbox-filter-input :focus {
32
32
border-color : $filterBorderColorFocused ;
33
33
}
34
34
.sqd-toolbox-group-title {
Original file line number Diff line number Diff line change 22
22
/* .sqd-toolbox */
23
23
24
24
.sqd-toolbox ,
25
- .sqd-toolbox-filter {
25
+ .sqd-toolbox-filter-input {
26
26
font-size : 11px ;
27
27
line-height : 1.2em ;
28
28
}
66
66
position : absolute ;
67
67
top : 0 ;
68
68
left : 0 ;
69
+ width : 100% ;
70
+ box-sizing : border-box ;
71
+ padding : 0 10px ;
69
72
}
70
73
.sqd-toolbox-filter {
74
+ padding : 0 10px 10px ;
75
+ }
76
+ .sqd-toolbox-filter-input {
71
77
display : block ;
72
78
box-sizing : border-box ;
73
79
padding : 6px 8px ;
74
80
outline : none ;
75
- width : 110px ;
76
- margin : 0 10px 10px ;
77
- box-sizing : border-box ;
81
+ width : 100% ;
78
82
}
79
83
.sqd-toolbox-group-title {
80
84
text-align : center ;
81
85
padding : 5px 0 ;
82
- margin : 0 10px 10px ;
86
+ margin : 0 0 10px ;
87
+ width : 100% ;
83
88
}
84
89
.sqd-toolbox-item {
85
90
position : relative ;
86
91
box-sizing : border-box ;
87
- margin : 0 10 px 10px ;
88
- width : 110 px ;
92
+ margin : 0 0 10px ;
93
+ width : 100 % ;
89
94
cursor : move ;
90
95
}
91
96
.sqd-toolbox-item-icon {
Original file line number Diff line number Diff line change @@ -24,16 +24,20 @@ export class ToolboxView {
24
24
class : 'sqd-toolbox-body'
25
25
} ) ;
26
26
27
+ const filter = Dom . element ( 'div' , {
28
+ class : 'sqd-toolbox-filter'
29
+ } ) ;
27
30
const filterInput = Dom . element ( 'input' , {
28
- class : 'sqd-toolbox-filter' ,
31
+ class : 'sqd-toolbox-filter-input ' ,
29
32
type : 'text' ,
30
33
placeholder : i18n ( 'toolbox.search' , 'Search...' )
31
34
} ) ;
32
35
33
36
root . appendChild ( header ) ;
34
37
root . appendChild ( body ) ;
35
38
header . appendChild ( headerTitle ) ;
36
- body . appendChild ( filterInput ) ;
39
+ filter . appendChild ( filterInput ) ;
40
+ body . appendChild ( filter ) ;
37
41
parent . appendChild ( root ) ;
38
42
39
43
const scrollBoxView = ScrollBoxView . create ( body , parent ) ;
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.22.1 ' ;
16
+ const baseUrl = isTestEnv ( ) ? '../designer' : '//cdn.jsdelivr.net/npm/sequential-workflow-designer@0.23.0 ' ;
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 28
28
# designer {
29
29
flex : 1 ;
30
30
}
31
+ .sqd-toolbox {
32
+ width : 170px !important ;
33
+ }
31
34
</ style >
32
35
</ head >
33
36
< body >
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.22.1 " ,
4
+ "version" : " 0.23.0 " ,
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.22.1 "
50
+ "sequential-workflow-designer" : " ^0.23.0 "
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.22.1 " ,
66
+ "sequential-workflow-designer" : " ^0.23.0 " ,
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.22.1 " ,
4
+ "version" : " 0.23.0 " ,
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.22.1 "
31
+ "sequential-workflow-designer" : " ^0.23.0 "
32
32
},
33
33
"devDependencies" : {
34
- "sequential-workflow-designer" : " ^0.22.1 " ,
34
+ "sequential-workflow-designer" : " ^0.23.0 " ,
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