@bpmn-io/properties-panel 0.13.2 → 0.14.0
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/CHANGELOG.md +151 -145
- package/LICENSE +20 -20
- package/README.md +34 -34
- package/assets/properties-panel.css +929 -900
- package/dist/index.esm.js +357 -258
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +357 -256
- package/dist/index.js.map +1 -1
- package/package.json +89 -89
package/CHANGELOG.md
CHANGED
|
@@ -1,145 +1,151 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to [`@bpmn-io/properties-panel`](https://github.com/bpmn-io/properties-panel) are documented here. We use [semantic versioning](http://semver.org/) for releases.
|
|
4
|
-
|
|
5
|
-
## Unreleased
|
|
6
|
-
|
|
7
|
-
___Note:__ Yet to be released changes appear here._
|
|
8
|
-
|
|
9
|
-
## 0.
|
|
10
|
-
|
|
11
|
-
* `
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* `
|
|
22
|
-
* `
|
|
23
|
-
|
|
24
|
-
## 0.
|
|
25
|
-
|
|
26
|
-
* `FEAT`: allow
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
* `
|
|
41
|
-
|
|
42
|
-
## 0.10.
|
|
43
|
-
|
|
44
|
-
* `FIX`:
|
|
45
|
-
* `
|
|
46
|
-
* `
|
|
47
|
-
|
|
48
|
-
## 0.10.
|
|
49
|
-
|
|
50
|
-
* `
|
|
51
|
-
* `
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
* `
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
* `
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
* `
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
* `
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
* `FEAT`:
|
|
106
|
-
* `FEAT`:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
* `
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
* `
|
|
122
|
-
|
|
123
|
-
## 0.
|
|
124
|
-
|
|
125
|
-
* `FEAT`:
|
|
126
|
-
* `
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
* `
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
* `
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to [`@bpmn-io/properties-panel`](https://github.com/bpmn-io/properties-panel) are documented here. We use [semantic versioning](http://semver.org/) for releases.
|
|
4
|
+
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
___Note:__ Yet to be released changes appear here._
|
|
8
|
+
|
|
9
|
+
## 0.14.0
|
|
10
|
+
|
|
11
|
+
* `FEAT`: enable multiple and empty state ([#69](https://github.com/bpmn-io/properties-panel/issues/69))
|
|
12
|
+
* `FEAT`: make group headers sticky ([#151](https://github.com/bpmn-io/properties-panel/pull/151))
|
|
13
|
+
* `FIX`: fix outline on header buttons ([#148](https://github.com/bpmn-io/properties-panel/pull/148))
|
|
14
|
+
|
|
15
|
+
## 0.13.2
|
|
16
|
+
|
|
17
|
+
* `FIX`: remove unnecessary scroll padding ([#145](https://github.com/bpmn-io/properties-panel/pull/145))
|
|
18
|
+
|
|
19
|
+
## 0.13.1
|
|
20
|
+
|
|
21
|
+
* `FIX`: add accessible title for documentation ref ([#144](https://github.com/bpmn-io/properties-panel/pull/144))
|
|
22
|
+
* `FIX`: make event bus prop optional ([#143](https://github.com/bpmn-io/properties-panel/pull/143))
|
|
23
|
+
|
|
24
|
+
## 0.13.0
|
|
25
|
+
|
|
26
|
+
* `FEAT`: allow showing entries and errors through events ([#137](https://github.com/bpmn-io/properties-panel/pull/137))
|
|
27
|
+
* `FEAT`: allow opening groups per default ([#139](https://github.com/bpmn-io/properties-panel/pull/139))
|
|
28
|
+
* `FEAT`: add documentation ref ([#141](https://github.com/bpmn-io/properties-panel/pull/141))
|
|
29
|
+
|
|
30
|
+
## 0.12.0
|
|
31
|
+
|
|
32
|
+
* `FEAT`: allow addition of FEEL icon to TextFields and TextAreas ([#138](https://github.com/bpmn-io/properties-panel/pull/138))
|
|
33
|
+
|
|
34
|
+
## 0.11.0
|
|
35
|
+
|
|
36
|
+
* `FEAT`: all group and entry components specified as `component` are actual components, not elements ([#134](https://github.com/bpmn-io/properties-panel/pull/134))
|
|
37
|
+
|
|
38
|
+
### BREAKING CHANGES
|
|
39
|
+
|
|
40
|
+
* `component` property of an entry must be an actual component, not an element
|
|
41
|
+
|
|
42
|
+
## 0.10.2
|
|
43
|
+
|
|
44
|
+
* `FIX`: add missing aria label for `simple` component ([67f374](https://github.com/bpmn-io/properties-panel/commit/67f37491ab8dc8493c8dd1e749d7418d11825125))
|
|
45
|
+
* `CHORE`: add a11y tests ([0bdd6a](https://github.com/bpmn-io/properties-panel/commit/0bdd6a99a73047e9776da44ff834c524c66b9589) and [a2fc27](https://github.com/bpmn-io/properties-panel/commit/a2fc27530b2b5ec90f5d2e9ee0438a814e0f57e4))
|
|
46
|
+
* `STYLE`: use consistent add/arrow fill color ([272d4b](https://github.com/bpmn-io/properties-panel/commit/272d4be6585ee89c7f7c55c3e2e2346ad92618db))
|
|
47
|
+
|
|
48
|
+
## 0.10.1
|
|
49
|
+
|
|
50
|
+
* `FIX`: properly update layout ([#125](https://github.com/bpmn-io/properties-panel/pull/125))
|
|
51
|
+
* `FIX`: delete button now shows on tabbing ([#505](https://github.com/bpmn-io/bpmn-js-properties-panel/issues/505))
|
|
52
|
+
* `FIX`: use POSIX paths when re-exporting preact on Windows ([#127](https://github.com/bpmn-io/properties-panel/issues/127))
|
|
53
|
+
|
|
54
|
+
## 0.10.0
|
|
55
|
+
|
|
56
|
+
* `FEAT`: reexport `preact` used in the package ([#124](https://github.com/bpmn-io/properties-panel/pull/124))
|
|
57
|
+
* `FEAT`: bundle library and expose components from single place ([#124](https://github.com/bpmn-io/properties-panel/pull/124))
|
|
58
|
+
|
|
59
|
+
### BREAKING CHANGES
|
|
60
|
+
|
|
61
|
+
* Internal structure of the library is no longer exposed.
|
|
62
|
+
Use root exports instead. Note that names of some of the components have changed, e.g. `TextField` -> `TextFieldEntry`.
|
|
63
|
+
* To extend the library, import the vendored instance of `preact`, i.e. `@bpmn-io/properties-panel/preact`.
|
|
64
|
+
|
|
65
|
+
## 0.9.0
|
|
66
|
+
|
|
67
|
+
* `FEAT`: add `DescriptionContext` and `useDescriptionContext` hook ([#122](https://github.com/bpmn-io/properties-panel/pull/122))
|
|
68
|
+
* `FEAT`: add seperate `Description` entry ([#122](https://github.com/bpmn-io/properties-panel/pull/122))
|
|
69
|
+
|
|
70
|
+
## 0.8.1
|
|
71
|
+
|
|
72
|
+
* `CHORE`: add outline to checkboxes ([#120](https://github.com/bpmn-io/properties-panel/pull/120))
|
|
73
|
+
* `CHORE`: add missing description styles ([#121](https://github.com/bpmn-io/properties-panel/pull/121))
|
|
74
|
+
|
|
75
|
+
## 0.8.0
|
|
76
|
+
|
|
77
|
+
* `FEAT`: allow to disable textarea, select, and checkbox ([#118](https://github.com/bpmn-io/properties-panel/pull/118))
|
|
78
|
+
|
|
79
|
+
## 0.7.0
|
|
80
|
+
|
|
81
|
+
* `FEAT`: add dropdown button ([#116](https://github.com/bpmn-io/properties-panel/pull/116))
|
|
82
|
+
* `FEAT`: add header button ([#116](https://github.com/bpmn-io/properties-panel/pull/116))
|
|
83
|
+
|
|
84
|
+
## 0.6.1
|
|
85
|
+
|
|
86
|
+
* `FIX`: style disabled inputs ([#115](https://github.com/bpmn-io/properties-panel/pull/115))
|
|
87
|
+
|
|
88
|
+
## 0.6.0
|
|
89
|
+
|
|
90
|
+
* `FEAT`: accept callbacks instead of containers for `add` and `remove` props ([#108](https://github.com/bpmn-io/properties-panel/issues/108))
|
|
91
|
+
* `FIX`: use valid HTML in add/remove buttons ([#111](https://github.com/bpmn-io/properties-panel/pull/111))
|
|
92
|
+
|
|
93
|
+
### BREAKING CHANGES
|
|
94
|
+
|
|
95
|
+
* `ListGroup#add` changed to function instead of Preact component
|
|
96
|
+
* `Collapsible#remove` changed to function instead of Preact component
|
|
97
|
+
|
|
98
|
+
## 0.5.1
|
|
99
|
+
|
|
100
|
+
* `FIX`: allow custom selector for `ListEntry#autoFocusEntry` ([`4afae1`](https://github.com/bpmn-io/properties-panel/commit/4afae1ec0215417d961b176840f19e51ba8b9043))
|
|
101
|
+
* `CHORE`: add variable for monospace font ([`354fc9`](https://github.com/bpmn-io/properties-panel/commit/354fc99c8e54c1eb3c8cb2bca20630172e7fad7b))
|
|
102
|
+
|
|
103
|
+
## 0.5.0
|
|
104
|
+
|
|
105
|
+
* `FEAT`: add various design improvements ([#105](https://github.com/bpmn-io/properties-panel/pull/105))
|
|
106
|
+
* `FEAT`: add description for check boxes ([`f515016c`](https://github.com/bpmn-io/properties-panel/commit/f515016c3fedf59c9e629454a6a5e2fbbf2bfb79))
|
|
107
|
+
|
|
108
|
+
## 0.4.3
|
|
109
|
+
|
|
110
|
+
* `FEAT`: for `List` component, insert new items to bottom given there is no `compareFn` ([#104](https://github.com/bpmn-io/properties-panel/pull/104))
|
|
111
|
+
* `FEAT`: for `ListGroup` component, offer `shouldOpen` parameter ([#106](https://github.com/bpmn-io/properties-panel/pull/106))
|
|
112
|
+
* `FEAT`: for `ListGroup` component, insert new items to bottom given `shouldSort` is false ([#106](https://github.com/bpmn-io/properties-panel/pull/106))
|
|
113
|
+
* `FEAT`: add `useLayoutState` hook ([#99](https://github.com/bpmn-io/properties-panel/pull/99))
|
|
114
|
+
|
|
115
|
+
## 0.4.2
|
|
116
|
+
|
|
117
|
+
* `FIX`: make auto-focus work for select elements ([#101](https://github.com/bpmn-io/properties-panel/pull/101))
|
|
118
|
+
|
|
119
|
+
## 0.4.1
|
|
120
|
+
|
|
121
|
+
* `CHORE`: unbuild custom checkbox component ([#97](https://github.com/bpmn-io/properties-panel/pull/97))
|
|
122
|
+
|
|
123
|
+
## 0.4.0
|
|
124
|
+
|
|
125
|
+
* `FEAT`: add list entry ([#92](https://github.com/bpmn-io/properties-panel/issues/92))
|
|
126
|
+
* `FEAT`: add simple text entry ([#94](https://github.com/bpmn-io/properties-panel/pull/94))
|
|
127
|
+
* `FIX`: use default cursor when hovering collapsible headers ([#95](https://github.com/bpmn-io/properties-panel/pull/95))
|
|
128
|
+
|
|
129
|
+
## 0.3.0
|
|
130
|
+
|
|
131
|
+
* `FEAT`: use semantic HTML for buttons ([#45](https://github.com/bpmn-io/properties-panel/issues/45))
|
|
132
|
+
* `FIX`: prevent list ordering effects on element changes ([#89](https://github.com/bpmn-io/properties-panel/pull/89))
|
|
133
|
+
|
|
134
|
+
## 0.2.1
|
|
135
|
+
|
|
136
|
+
* `FIX`: do not use monospace as default font for text areas ([#87](https://github.com/bpmn-io/properties-panel/pull/87))
|
|
137
|
+
|
|
138
|
+
## 0.2.0
|
|
139
|
+
|
|
140
|
+
* `FEAT`: add number field entry ([#76](https://github.com/bpmn-io/properties-panel/pull/76))
|
|
141
|
+
* `FEAT`: update styles of error inputs ([#82](https://github.com/bpmn-io/properties-panel/pull/82))
|
|
142
|
+
* `FEAT`: update styles of descriptions ([#84](https://github.com/bpmn-io/properties-panel/pull/84))
|
|
143
|
+
* `FEAT`: allow non editable groups ([#85](https://github.com/bpmn-io/properties-panel/pull/85))
|
|
144
|
+
|
|
145
|
+
## 0.1.1
|
|
146
|
+
|
|
147
|
+
* `CHORE`: publish transpiled content ([#80](https://github.com/bpmn-io/properties-panel/issues/80))
|
|
148
|
+
|
|
149
|
+
## 0.1.0
|
|
150
|
+
|
|
151
|
+
* `FEAT`: initial version :tada:
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021-present Camunda Services GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021-present Camunda Services GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
21
|
THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# @bpmn-io/properties-panel
|
|
2
|
-
|
|
3
|
-
[](https://github.com/bpmn-io/properties-panel/actions?query=workflow%3ACI)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Library for creating bpmn-io properties panels.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Hacking the Project
|
|
10
|
-
|
|
11
|
-
To get the development setup make sure to have [NodeJS](https://nodejs.org/en/download/) installed.
|
|
12
|
-
As soon as you are set up, clone the project and execute
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
npm install
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
### Testing
|
|
20
|
-
|
|
21
|
-
Execute `npm run dev` to run the test suite in watch mode.
|
|
22
|
-
|
|
23
|
-
Expose an environment variable `TEST_BROWSERS=(Chrome|Firefox|IE)` to execute the tests in a non-headless browser.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### Package
|
|
27
|
-
|
|
28
|
-
Execute `npm run all` to lint and test the project.
|
|
29
|
-
|
|
30
|
-
__Note:__ We do not generate any build artifacts. Required parts of the library should be bundled by properties panels as needed instead.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## License
|
|
34
|
-
|
|
1
|
+
# @bpmn-io/properties-panel
|
|
2
|
+
|
|
3
|
+
[](https://github.com/bpmn-io/properties-panel/actions?query=workflow%3ACI)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
Library for creating bpmn-io properties panels.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Hacking the Project
|
|
10
|
+
|
|
11
|
+
To get the development setup make sure to have [NodeJS](https://nodejs.org/en/download/) installed.
|
|
12
|
+
As soon as you are set up, clone the project and execute
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
npm install
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Testing
|
|
20
|
+
|
|
21
|
+
Execute `npm run dev` to run the test suite in watch mode.
|
|
22
|
+
|
|
23
|
+
Expose an environment variable `TEST_BROWSERS=(Chrome|Firefox|IE)` to execute the tests in a non-headless browser.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Package
|
|
27
|
+
|
|
28
|
+
Execute `npm run all` to lint and test the project.
|
|
29
|
+
|
|
30
|
+
__Note:__ We do not generate any build artifacts. Required parts of the library should be bundled by properties panels as needed instead.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
35
|
MIT
|