@bpmn-io/properties-panel 3.4.0 → 3.5.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/index.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1328,7 +1328,8 @@ const FEEL_POPUP_HEIGHT = 250;
|
|
|
1328
1328
|
*/
|
|
1329
1329
|
function FEELPopupRoot(props) {
|
|
1330
1330
|
const {
|
|
1331
|
-
element
|
|
1331
|
+
element,
|
|
1332
|
+
popupContainer
|
|
1332
1333
|
} = props;
|
|
1333
1334
|
const prevElement = usePrevious(element);
|
|
1334
1335
|
const [popupConfig, setPopupConfig] = useState({});
|
|
@@ -1361,6 +1362,7 @@ function FEELPopupRoot(props) {
|
|
|
1361
1362
|
value: feelPopupContext,
|
|
1362
1363
|
children: [open && jsx(FeelPopupComponent, {
|
|
1363
1364
|
onClose: handleClose,
|
|
1365
|
+
container: popupContainer,
|
|
1364
1366
|
sourceElement: sourceElement,
|
|
1365
1367
|
...popupConfig
|
|
1366
1368
|
}), props.children]
|
|
@@ -1368,6 +1370,7 @@ function FEELPopupRoot(props) {
|
|
|
1368
1370
|
}
|
|
1369
1371
|
function FeelPopupComponent(props) {
|
|
1370
1372
|
const {
|
|
1373
|
+
container,
|
|
1371
1374
|
id,
|
|
1372
1375
|
hostLanguage,
|
|
1373
1376
|
onInput,
|
|
@@ -1392,6 +1395,7 @@ function FeelPopupComponent(props) {
|
|
|
1392
1395
|
}
|
|
1393
1396
|
}, [editorRef, id]);
|
|
1394
1397
|
return jsxs(Popup, {
|
|
1398
|
+
container: container,
|
|
1395
1399
|
className: "bio-properties-panel-feel-popup",
|
|
1396
1400
|
position: position,
|
|
1397
1401
|
title: title,
|
|
@@ -2489,6 +2493,7 @@ const DEFAULT_TOOLTIP = {};
|
|
|
2489
2493
|
* @param {Function} [props.descriptionLoaded]
|
|
2490
2494
|
* @param {TooltipConfig} [props.tooltipConfig]
|
|
2491
2495
|
* @param {Function} [props.tooltipLoaded]
|
|
2496
|
+
* @param {HTMLElement} [props.feelPopupContainer]
|
|
2492
2497
|
* @param {Object} [props.eventBus]
|
|
2493
2498
|
*/
|
|
2494
2499
|
function PropertiesPanel(props) {
|
|
@@ -2503,6 +2508,7 @@ function PropertiesPanel(props) {
|
|
|
2503
2508
|
descriptionLoaded,
|
|
2504
2509
|
tooltipConfig,
|
|
2505
2510
|
tooltipLoaded,
|
|
2511
|
+
feelPopupContainer,
|
|
2506
2512
|
eventBus
|
|
2507
2513
|
} = props;
|
|
2508
2514
|
|
|
@@ -2605,6 +2611,7 @@ function PropertiesPanel(props) {
|
|
|
2605
2611
|
value: eventContext,
|
|
2606
2612
|
children: jsx(FEELPopupRoot, {
|
|
2607
2613
|
element: element,
|
|
2614
|
+
popupContainer: feelPopupContainer,
|
|
2608
2615
|
children: jsxs("div", {
|
|
2609
2616
|
class: "bio-properties-panel",
|
|
2610
2617
|
children: [jsx(Header, {
|