@bpmn-io/properties-panel 3.42.0 → 3.44.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 +8 -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
|
@@ -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
|
}
|
|
@@ -1181,12 +1182,19 @@ textarea.bio-properties-panel-input {
|
|
|
1181
1182
|
text-decoration: underline;
|
|
1182
1183
|
text-decoration-style: dotted;
|
|
1183
1184
|
text-underline-offset: 2px;
|
|
1185
|
+
text-decoration-color: var(--color-grey-225-10-55);
|
|
1184
1186
|
font: inherit;
|
|
1185
1187
|
display: flex;
|
|
1186
1188
|
justify-content: center;
|
|
1187
1189
|
width: fit-content;
|
|
1188
1190
|
}
|
|
1189
1191
|
|
|
1192
|
+
.bio-properties-panel-tooltip-wrapper:hover,
|
|
1193
|
+
.bio-properties-panel-tooltip-wrapper:focus,
|
|
1194
|
+
.bio-properties-panel-tooltip-wrapper:focus-visible {
|
|
1195
|
+
text-decoration-color: currentColor;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1190
1198
|
.bio-properties-panel-tooltip {
|
|
1191
1199
|
--tooltip-underline-color: var(--color-blue-219-99-53);
|
|
1192
1200
|
--tooltip-background-color: var(--color-grey-0-0-22);
|
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]
|