@bpmn-io/properties-panel 0.19.0 → 0.20.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/properties-panel",
3
- "version": "0.19.0",
3
+ "version": "0.20.2",
4
4
  "description": "Library for creating bpmn-io properties panels.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -35,11 +35,11 @@
35
35
  ],
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
- "@bpmn-io/feel-editor": "0.2.0",
38
+ "@bpmn-io/feel-editor": "0.3.0",
39
39
  "classnames": "^2.3.1",
40
- "diagram-js": "^8.1.2",
41
- "min-dash": "^3.7.0",
42
- "min-dom": "^3.1.3"
40
+ "diagram-js": "^8.9.0",
41
+ "min-dash": "^3.8.1",
42
+ "min-dom": "^3.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@babel/cli": "^7.14.5",
@@ -51,20 +51,19 @@
51
51
  "@testing-library/preact": "^2.0.1",
52
52
  "@testing-library/preact-hooks": "^1.1.0",
53
53
  "axe-core": "^4.3.5",
54
- "babel-loader": "^8.2.2",
54
+ "babel-loader": "^8.2.5",
55
55
  "babel-plugin-inline-react-svg": "^2.0.1",
56
+ "babel-plugin-istanbul": "^6.1.1",
56
57
  "babel-plugin-module-resolver": "^4.1.0",
57
58
  "chai": "^4.3.4",
58
59
  "copy-webpack-plugin": "^9.0.0",
59
60
  "cross-env": "^7.0.3",
60
- "css-loader": "^5.2.6",
61
61
  "del-cli": "^4.0.0",
62
- "eslint": "^7.28.0",
63
- "eslint-plugin-bpmn-io": "^0.12.0",
62
+ "eslint": "^8.23.0",
63
+ "eslint-plugin-bpmn-io": "^0.14.1",
64
64
  "eslint-plugin-import": "^2.23.4",
65
65
  "eslint-plugin-react-hooks": "^4.2.0",
66
- "istanbul-instrumenter-loader": "^3.0.1",
67
- "karma": "^6.3.3",
66
+ "karma": "^6.4.0",
68
67
  "karma-chrome-launcher": "^3.1.0",
69
68
  "karma-coverage": "^2.0.3",
70
69
  "karma-debug-launcher": "0.0.4",
@@ -72,11 +71,11 @@
72
71
  "karma-mocha": "^2.0.1",
73
72
  "karma-sinon-chai": "^2.0.2",
74
73
  "karma-webpack": "^5.0.0",
75
- "mocha": "^9.1.3",
74
+ "mocha": "^10.0.0",
76
75
  "mocha-test-container-support": "^0.2.0",
77
76
  "npm-run-all": "^4.1.5",
78
77
  "preact": "^10.5.13",
79
- "puppeteer": "^10.0.0",
78
+ "puppeteer": "^17.0.0",
80
79
  "raw-loader": "^4.0.2",
81
80
  "react-svg-loader": "^3.0.3",
82
81
  "replace-in-file": "^6.3.2",
@@ -261,8 +261,4 @@
261
261
  "sinon-chai": "^3.5.0",
262
262
  "typescript": "3.5.3"
263
263
  }
264
-
265
- ,"_resolved": "https://registry.npmjs.org/preact/-/preact-10.5.13.tgz"
266
- ,"_integrity": "sha512-q/vlKIGNwzTLu+jCcvywgGrt+H/1P/oIRSD6mV4ln3hmlC+Aa34C7yfPI4+5bzW8pONyVXYS7SvXosy2dKKtWQ=="
267
- ,"_from": "preact@10.5.13"
268
- }
264
+ }
package/CHANGELOG.md DELETED
@@ -1,189 +0,0 @@
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.19.0
10
-
11
- * `FEAT`: make group headers sticky ([#175](https://github.com/bpmn-io/properties-panel/pull/175))
12
- * `CHORE`: use element as key for entries ([#176](https://github.com/bpmn-io/properties-panel/pull/176))
13
-
14
- ## 0.18.0
15
-
16
- * `FEAT`: pass variables to FEEL editor ([#171](https://github.com/bpmn-io/properties-panel/pull/171))
17
- * `FIX`: add error class to text area with error ([#165](https://github.com/bpmn-io/properties-panel/issues/165))
18
- * `CHORE`: revert sticky headers ([#172](https://github.com/bpmn-io/properties-panel/pull/172))
19
-
20
- ## 0.17.0
21
-
22
- * `FEAT`: add `FeelEntry` component ([#158](https://github.com/bpmn-io/properties-panel/pull/158))
23
-
24
- ### BREAKING CHANGES
25
-
26
- * `TextFieldEntry` and `TextAreaEntry` no longer support the `feel` prop.
27
- Use `FeelEntry` or `FeelTextAreaEntry` instead.
28
-
29
- ## 0.16.0
30
-
31
- * `FEAT`: set errors through context ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
32
- * `FEAT`: useShowEntryEvent hook uses ID ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
33
- * `FEAT`: useEvent hook subscribes immediately ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
34
- * `FEAT`: add focus and error to text area ([#160](https://github.com/bpmn-io/properties-panel/pull/160))
35
-
36
- ### BREAKING CHANGES
37
-
38
- * useShowEntryEvent hook uses ID instead of callback
39
- * useShowErrorEvent hook removed, add errors through context instead
40
-
41
- ## 0.15.0
42
-
43
- * `FEAT`: pass props to `List` entries ([#157](https://github.com/bpmn-io/properties-panel/pull/157))
44
- * `FIX`: correct cursor jumping on update ([#146](https://github.com/bpmn-io/properties-panel/issues/146))
45
- * `CHORE`: use controlled inputs ([#155](https://github.com/bpmn-io/properties-panel/issues/155))
46
-
47
- ## 0.14.0
48
-
49
- * `FEAT`: enable multiple and empty state ([#69](https://github.com/bpmn-io/properties-panel/issues/69))
50
- * `FEAT`: make group headers sticky ([#151](https://github.com/bpmn-io/properties-panel/pull/151))
51
- * `FIX`: fix outline on header buttons ([#148](https://github.com/bpmn-io/properties-panel/pull/148))
52
-
53
- ## 0.13.2
54
-
55
- * `FIX`: remove unnecessary scroll padding ([#145](https://github.com/bpmn-io/properties-panel/pull/145))
56
-
57
- ## 0.13.1
58
-
59
- * `FIX`: add accessible title for documentation ref ([#144](https://github.com/bpmn-io/properties-panel/pull/144))
60
- * `FIX`: make event bus prop optional ([#143](https://github.com/bpmn-io/properties-panel/pull/143))
61
-
62
- ## 0.13.0
63
-
64
- * `FEAT`: allow showing entries and errors through events ([#137](https://github.com/bpmn-io/properties-panel/pull/137))
65
- * `FEAT`: allow opening groups per default ([#139](https://github.com/bpmn-io/properties-panel/pull/139))
66
- * `FEAT`: add documentation ref ([#141](https://github.com/bpmn-io/properties-panel/pull/141))
67
-
68
- ## 0.12.0
69
-
70
- * `FEAT`: allow addition of FEEL icon to TextFields and TextAreas ([#138](https://github.com/bpmn-io/properties-panel/pull/138))
71
-
72
- ## 0.11.0
73
-
74
- * `FEAT`: all group and entry components specified as `component` are actual components, not elements ([#134](https://github.com/bpmn-io/properties-panel/pull/134))
75
-
76
- ### BREAKING CHANGES
77
-
78
- * `component` property of an entry must be an actual component, not an element
79
-
80
- ## 0.10.2
81
-
82
- * `FIX`: add missing aria label for `simple` component ([67f374](https://github.com/bpmn-io/properties-panel/commit/67f37491ab8dc8493c8dd1e749d7418d11825125))
83
- * `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))
84
- * `STYLE`: use consistent add/arrow fill color ([272d4b](https://github.com/bpmn-io/properties-panel/commit/272d4be6585ee89c7f7c55c3e2e2346ad92618db))
85
-
86
- ## 0.10.1
87
-
88
- * `FIX`: properly update layout ([#125](https://github.com/bpmn-io/properties-panel/pull/125))
89
- * `FIX`: delete button now shows on tabbing ([#505](https://github.com/bpmn-io/bpmn-js-properties-panel/issues/505))
90
- * `FIX`: use POSIX paths when re-exporting preact on Windows ([#127](https://github.com/bpmn-io/properties-panel/issues/127))
91
-
92
- ## 0.10.0
93
-
94
- * `FEAT`: reexport `preact` used in the package ([#124](https://github.com/bpmn-io/properties-panel/pull/124))
95
- * `FEAT`: bundle library and expose components from single place ([#124](https://github.com/bpmn-io/properties-panel/pull/124))
96
-
97
- ### BREAKING CHANGES
98
-
99
- * Internal structure of the library is no longer exposed.
100
- Use root exports instead. Note that names of some of the components have changed, e.g. `TextField` -> `TextFieldEntry`.
101
- * To extend the library, import the vendored instance of `preact`, i.e. `@bpmn-io/properties-panel/preact`.
102
-
103
- ## 0.9.0
104
-
105
- * `FEAT`: add `DescriptionContext` and `useDescriptionContext` hook ([#122](https://github.com/bpmn-io/properties-panel/pull/122))
106
- * `FEAT`: add seperate `Description` entry ([#122](https://github.com/bpmn-io/properties-panel/pull/122))
107
-
108
- ## 0.8.1
109
-
110
- * `CHORE`: add outline to checkboxes ([#120](https://github.com/bpmn-io/properties-panel/pull/120))
111
- * `CHORE`: add missing description styles ([#121](https://github.com/bpmn-io/properties-panel/pull/121))
112
-
113
- ## 0.8.0
114
-
115
- * `FEAT`: allow to disable textarea, select, and checkbox ([#118](https://github.com/bpmn-io/properties-panel/pull/118))
116
-
117
- ## 0.7.0
118
-
119
- * `FEAT`: add dropdown button ([#116](https://github.com/bpmn-io/properties-panel/pull/116))
120
- * `FEAT`: add header button ([#116](https://github.com/bpmn-io/properties-panel/pull/116))
121
-
122
- ## 0.6.1
123
-
124
- * `FIX`: style disabled inputs ([#115](https://github.com/bpmn-io/properties-panel/pull/115))
125
-
126
- ## 0.6.0
127
-
128
- * `FEAT`: accept callbacks instead of containers for `add` and `remove` props ([#108](https://github.com/bpmn-io/properties-panel/issues/108))
129
- * `FIX`: use valid HTML in add/remove buttons ([#111](https://github.com/bpmn-io/properties-panel/pull/111))
130
-
131
- ### BREAKING CHANGES
132
-
133
- * `ListGroup#add` changed to function instead of Preact component
134
- * `Collapsible#remove` changed to function instead of Preact component
135
-
136
- ## 0.5.1
137
-
138
- * `FIX`: allow custom selector for `ListEntry#autoFocusEntry` ([`4afae1`](https://github.com/bpmn-io/properties-panel/commit/4afae1ec0215417d961b176840f19e51ba8b9043))
139
- * `CHORE`: add variable for monospace font ([`354fc9`](https://github.com/bpmn-io/properties-panel/commit/354fc99c8e54c1eb3c8cb2bca20630172e7fad7b))
140
-
141
- ## 0.5.0
142
-
143
- * `FEAT`: add various design improvements ([#105](https://github.com/bpmn-io/properties-panel/pull/105))
144
- * `FEAT`: add description for check boxes ([`f515016c`](https://github.com/bpmn-io/properties-panel/commit/f515016c3fedf59c9e629454a6a5e2fbbf2bfb79))
145
-
146
- ## 0.4.3
147
-
148
- * `FEAT`: for `List` component, insert new items to bottom given there is no `compareFn` ([#104](https://github.com/bpmn-io/properties-panel/pull/104))
149
- * `FEAT`: for `ListGroup` component, offer `shouldOpen` parameter ([#106](https://github.com/bpmn-io/properties-panel/pull/106))
150
- * `FEAT`: for `ListGroup` component, insert new items to bottom given `shouldSort` is false ([#106](https://github.com/bpmn-io/properties-panel/pull/106))
151
- * `FEAT`: add `useLayoutState` hook ([#99](https://github.com/bpmn-io/properties-panel/pull/99))
152
-
153
- ## 0.4.2
154
-
155
- * `FIX`: make auto-focus work for select elements ([#101](https://github.com/bpmn-io/properties-panel/pull/101))
156
-
157
- ## 0.4.1
158
-
159
- * `CHORE`: unbuild custom checkbox component ([#97](https://github.com/bpmn-io/properties-panel/pull/97))
160
-
161
- ## 0.4.0
162
-
163
- * `FEAT`: add list entry ([#92](https://github.com/bpmn-io/properties-panel/issues/92))
164
- * `FEAT`: add simple text entry ([#94](https://github.com/bpmn-io/properties-panel/pull/94))
165
- * `FIX`: use default cursor when hovering collapsible headers ([#95](https://github.com/bpmn-io/properties-panel/pull/95))
166
-
167
- ## 0.3.0
168
-
169
- * `FEAT`: use semantic HTML for buttons ([#45](https://github.com/bpmn-io/properties-panel/issues/45))
170
- * `FIX`: prevent list ordering effects on element changes ([#89](https://github.com/bpmn-io/properties-panel/pull/89))
171
-
172
- ## 0.2.1
173
-
174
- * `FIX`: do not use monospace as default font for text areas ([#87](https://github.com/bpmn-io/properties-panel/pull/87))
175
-
176
- ## 0.2.0
177
-
178
- * `FEAT`: add number field entry ([#76](https://github.com/bpmn-io/properties-panel/pull/76))
179
- * `FEAT`: update styles of error inputs ([#82](https://github.com/bpmn-io/properties-panel/pull/82))
180
- * `FEAT`: update styles of descriptions ([#84](https://github.com/bpmn-io/properties-panel/pull/84))
181
- * `FEAT`: allow non editable groups ([#85](https://github.com/bpmn-io/properties-panel/pull/85))
182
-
183
- ## 0.1.1
184
-
185
- * `CHORE`: publish transpiled content ([#80](https://github.com/bpmn-io/properties-panel/issues/80))
186
-
187
- ## 0.1.0
188
-
189
- * `FEAT`: initial version :tada: