@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.
@@ -534,6 +534,7 @@ select.bio-properties-panel-input {
534
534
  padding: 4px 6px;
535
535
  }
536
536
 
537
+ .bio-properties-panel code,
537
538
  .bio-properties-panel-input-monospace {
538
539
  font-family: var(--font-family-monospace);
539
540
  }
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, defaultHighlightStyle, foldKeymap } from '@codemirror/language';
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]