@bpmn-io/properties-panel 3.42.0 → 3.43.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/dist/assets/properties-panel.css +1 -0
- package/dist/index.esm.js +3 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +14 -15
- package/preact/compat/client.d.ts +13 -0
- package/preact/compat/src/hooks.js +67 -0
- package/preact/compat/test-utils.mjs +1 -0
- package/preact/src/dom.d.ts +2548 -0
- package/preact/src/index-5.d.ts +399 -0
package/dist/index.esm.js
CHANGED
|
@@ -7,7 +7,7 @@ import classnames from 'classnames';
|
|
|
7
7
|
import { query, domify } from 'min-dom';
|
|
8
8
|
import { EditorView, highlightSpecialChars, drawSelection, keymap, placeholder, lineNumbers } from '@codemirror/view';
|
|
9
9
|
import { Annotation, EditorState } from '@codemirror/state';
|
|
10
|
-
import { syntaxHighlighting, foldGutter, bracketMatching,
|
|
10
|
+
import { syntaxHighlighting, defaultHighlightStyle, foldGutter, bracketMatching, foldKeymap } from '@codemirror/language';
|
|
11
11
|
import { closeBrackets, closeBracketsKeymap } from '@codemirror/autocomplete';
|
|
12
12
|
import { history, defaultKeymap, historyKeymap } from '@codemirror/commands';
|
|
13
13
|
import { jsonParseLinter, json } from '@codemirror/lang-json';
|
|
@@ -895,7 +895,6 @@ function Group(props) {
|
|
|
895
895
|
value: props.tooltip,
|
|
896
896
|
forId: 'group-' + id,
|
|
897
897
|
element: element,
|
|
898
|
-
parent: groupRef,
|
|
899
898
|
children: label
|
|
900
899
|
})
|
|
901
900
|
}), jsxs("div", {
|
|
@@ -994,7 +993,7 @@ const DEFAULT_TOOLTIP = {};
|
|
|
994
993
|
* autoOpen?: Boolean,
|
|
995
994
|
* entries: Array<EntryDefinition>,
|
|
996
995
|
* id: String,
|
|
997
|
-
* label: String,
|
|
996
|
+
* label: String|import('preact').ComponentChildren,
|
|
998
997
|
* remove: (event: MouseEvent) => void
|
|
999
998
|
* } } ListItemDefinition
|
|
1000
999
|
*
|
|
@@ -1557,7 +1556,6 @@ function ListGroup(props) {
|
|
|
1557
1556
|
value: props.tooltip,
|
|
1558
1557
|
forId: 'group-' + id,
|
|
1559
1558
|
element: element,
|
|
1560
|
-
parent: groupRef,
|
|
1561
1559
|
children: label
|
|
1562
1560
|
})
|
|
1563
1561
|
}), jsxs("div", {
|
|
@@ -3641,7 +3639,7 @@ function prefixIdLabel(id) {
|
|
|
3641
3639
|
* @param {*} props.element
|
|
3642
3640
|
* @param {Function} props.onAdd
|
|
3643
3641
|
* @param {import('preact').Component} props.component
|
|
3644
|
-
* @param {string} [props.label='<empty>']
|
|
3642
|
+
* @param {string|import('preact').ComponentChildren} [props.label='<empty>']
|
|
3645
3643
|
* @param {Function} [props.onRemove]
|
|
3646
3644
|
* @param {Item[]} [props.items]
|
|
3647
3645
|
* @param {boolean} [props.open]
|