You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,58 @@
1
+
## 0.13.3
2
+
3
+
This version introduces 4 new features:
4
+
5
+
* The custom label provider for the toolbox. By default, the toolbox displays a label of a step from the `name` field. You may override this behaviour and pass own label provider now.
6
+
7
+
```js
8
+
constconfiguration= {
9
+
toolbox: {
10
+
labelProvider: (step) =>`** ${step.name} **`,
11
+
// ...
12
+
},
13
+
// ...
14
+
};
15
+
```
16
+
17
+
* Control the collapse of the toolbox.
18
+
19
+
```js
20
+
constconfiguration= {
21
+
toolbox: {
22
+
isCollapsed:true, // or false
23
+
// ...
24
+
},
25
+
// ...
26
+
};
27
+
28
+
designer.isToolboxCollapsed(); // returns true or false
29
+
designer.setIsToolboxCollapsed(true);
30
+
```
31
+
32
+
* Control the collapse of the editor.
33
+
34
+
```js
35
+
constconfiguration= {
36
+
editors: {
37
+
isCollapsed:true, // or false
38
+
// ...
39
+
},
40
+
// ...
41
+
};
42
+
43
+
designer.isEditorCollapsed(); // returns true or false
44
+
designer.setIsEditorCollapsed(true);
45
+
```
46
+
47
+
* It's possible now to replace the default unique identifier generator by a custom one.
48
+
49
+
```js
50
+
constconfiguration= {
51
+
uidGenerator: () =>Math.random().toString(),
52
+
// ...
53
+
};
54
+
```
55
+
1
56
## 0.13.2
2
57
3
58
The react package supports two types of editor providers. Now it's possible to use a provider that returns native DOM elements. We don't want to depreciate the previous approach, this change increases flexibility of the react package.
0 commit comments