@bpmn-io/properties-panel 1.3.1 → 1.4.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/assets/properties-panel.css +9 -1
- package/dist/index.esm.js +10 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -421,6 +421,14 @@
|
|
|
421
421
|
border-radius: 3px;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
+
.bio-properties-panel-description pre code {
|
|
425
|
+
width: 100%;
|
|
426
|
+
display: block;
|
|
427
|
+
overflow-x: auto;
|
|
428
|
+
padding: 4px 6px;
|
|
429
|
+
font-family: var(--font-family-monospace);
|
|
430
|
+
}
|
|
431
|
+
|
|
424
432
|
.bio-properties-panel-description ul {
|
|
425
433
|
padding: 0;
|
|
426
434
|
margin: 0 0 0 12px;
|
|
@@ -455,7 +463,7 @@ textarea.bio-properties-panel-input,
|
|
|
455
463
|
width: 100%;
|
|
456
464
|
}
|
|
457
465
|
|
|
458
|
-
textarea.bio-properties-panel-input
|
|
466
|
+
textarea.bio-properties-panel-input {
|
|
459
467
|
min-height: 28px;
|
|
460
468
|
}
|
|
461
469
|
|
package/dist/index.esm.js
CHANGED
|
@@ -2159,6 +2159,16 @@ function Select(props) {
|
|
|
2159
2159
|
value: localValue,
|
|
2160
2160
|
disabled: disabled,
|
|
2161
2161
|
children: options.map((option, idx) => {
|
|
2162
|
+
if (option.children) {
|
|
2163
|
+
return jsx("optgroup", {
|
|
2164
|
+
label: option.label,
|
|
2165
|
+
children: option.children.map((child, idx) => jsx("option", {
|
|
2166
|
+
value: child.value,
|
|
2167
|
+
disabled: child.disabled,
|
|
2168
|
+
children: child.label
|
|
2169
|
+
}, idx))
|
|
2170
|
+
}, idx);
|
|
2171
|
+
}
|
|
2162
2172
|
return jsx("option", {
|
|
2163
2173
|
value: option.value,
|
|
2164
2174
|
disabled: option.disabled,
|