@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.js CHANGED
@@ -1356,7 +1356,8 @@ const FEEL_POPUP_HEIGHT = 250;
1356
1356
  */
1357
1357
  function FEELPopupRoot(props) {
1358
1358
  const {
1359
- element
1359
+ element,
1360
+ popupContainer
1360
1361
  } = props;
1361
1362
  const prevElement = usePrevious(element);
1362
1363
  const [popupConfig, setPopupConfig] = hooks.useState({});
@@ -1389,6 +1390,7 @@ function FEELPopupRoot(props) {
1389
1390
  value: feelPopupContext,
1390
1391
  children: [open && jsxRuntime.jsx(FeelPopupComponent, {
1391
1392
  onClose: handleClose,
1393
+ container: popupContainer,
1392
1394
  sourceElement: sourceElement,
1393
1395
  ...popupConfig
1394
1396
  }), props.children]
@@ -1396,6 +1398,7 @@ function FEELPopupRoot(props) {
1396
1398
  }
1397
1399
  function FeelPopupComponent(props) {
1398
1400
  const {
1401
+ container,
1399
1402
  id,
1400
1403
  hostLanguage,
1401
1404
  onInput,
@@ -1420,6 +1423,7 @@ function FeelPopupComponent(props) {
1420
1423
  }
1421
1424
  }, [editorRef, id]);
1422
1425
  return jsxRuntime.jsxs(Popup, {
1426
+ container: container,
1423
1427
  className: "bio-properties-panel-feel-popup",
1424
1428
  position: position,
1425
1429
  title: title,
@@ -2517,6 +2521,7 @@ const DEFAULT_TOOLTIP = {};
2517
2521
  * @param {Function} [props.descriptionLoaded]
2518
2522
  * @param {TooltipConfig} [props.tooltipConfig]
2519
2523
  * @param {Function} [props.tooltipLoaded]
2524
+ * @param {HTMLElement} [props.feelPopupContainer]
2520
2525
  * @param {Object} [props.eventBus]
2521
2526
  */
2522
2527
  function PropertiesPanel(props) {
@@ -2531,6 +2536,7 @@ function PropertiesPanel(props) {
2531
2536
  descriptionLoaded,
2532
2537
  tooltipConfig,
2533
2538
  tooltipLoaded,
2539
+ feelPopupContainer,
2534
2540
  eventBus
2535
2541
  } = props;
2536
2542
 
@@ -2633,6 +2639,7 @@ function PropertiesPanel(props) {
2633
2639
  value: eventContext,
2634
2640
  children: jsxRuntime.jsx(FEELPopupRoot, {
2635
2641
  element: element,
2642
+ popupContainer: feelPopupContainer,
2636
2643
  children: jsxRuntime.jsxs("div", {
2637
2644
  class: "bio-properties-panel",
2638
2645
  children: [jsxRuntime.jsx(Header, {