@elementor/editor-editing-panel 1.13.1 → 1.15.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.mjs CHANGED
@@ -1413,6 +1413,12 @@ var DisplayField = () => {
1413
1413
  renderContent: () => __12("In-blk", "elementor"),
1414
1414
  label: __12("Inline-block", "elementor"),
1415
1415
  showTooltip: true
1416
+ },
1417
+ {
1418
+ value: "inline-flex",
1419
+ renderContent: () => __12("In-flx", "elementor"),
1420
+ label: __12("Inline-flex", "elementor"),
1421
+ showTooltip: true
1416
1422
  }
1417
1423
  ];
1418
1424
  return /* @__PURE__ */ React31.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React31.createElement(Stack7, { gap: 1 }, /* @__PURE__ */ React31.createElement(ControlLabel7, null, __12("Display", "elementor")), /* @__PURE__ */ React31.createElement(ToggleControl3, { options: options11, fullWidth: true })));
@@ -1731,7 +1737,7 @@ var LayoutSection = () => {
1731
1737
  const { element } = useElement();
1732
1738
  const parent = useParentElement(element.id);
1733
1739
  const parentStyle = useComputedStyle(parent?.id || null);
1734
- return /* @__PURE__ */ React38.createElement(SectionContent, null, /* @__PURE__ */ React38.createElement(DisplayField, null), "flex" === display?.value && /* @__PURE__ */ React38.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React38.createElement(FlexChildFields, null));
1740
+ return /* @__PURE__ */ React38.createElement(SectionContent, null, /* @__PURE__ */ React38.createElement(DisplayField, null), ("flex" === display?.value || "inline-flex" === display?.value) && /* @__PURE__ */ React38.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React38.createElement(FlexChildFields, null));
1735
1741
  };
1736
1742
  var FlexFields = () => /* @__PURE__ */ React38.createElement(React38.Fragment, null, /* @__PURE__ */ React38.createElement(FlexDirectionField, null), /* @__PURE__ */ React38.createElement(JustifyContentField, null), /* @__PURE__ */ React38.createElement(AlignItemsField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(GapControlField, null), /* @__PURE__ */ React38.createElement(WrapField, null));
1737
1743
  var FlexChildFields = () => /* @__PURE__ */ React38.createElement(React38.Fragment, null, /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(ControlLabel13, null, __19("Flex child", "elementor")), /* @__PURE__ */ React38.createElement(AlignSelfChild, null), /* @__PURE__ */ React38.createElement(FlexOrderField, null), /* @__PURE__ */ React38.createElement(FlexSizeField, null));
@@ -2362,6 +2368,7 @@ import {
2362
2368
  bindTrigger as bindTrigger2,
2363
2369
  Box as Box5,
2364
2370
  Divider as Divider7,
2371
+ Grid as Grid26,
2365
2372
  IconButton as IconButton3,
2366
2373
  Paper,
2367
2374
  Popover as Popover2,
@@ -2673,7 +2680,7 @@ var Control3 = ({ control }) => {
2673
2680
  if (!getControlByType(control.type)) {
2674
2681
  return null;
2675
2682
  }
2676
- return /* @__PURE__ */ React67.createElement(DynamicControl, { bind: control.bind }, control.label ? /* @__PURE__ */ React67.createElement(ControlLabel31, null, control.label) : null, /* @__PURE__ */ React67.createElement(Control, { type: control.type, props: control.props }));
2683
+ return /* @__PURE__ */ React67.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React67.createElement(Grid26, { container: true, gap: 1 }, control.label ? /* @__PURE__ */ React67.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(ControlLabel31, null, control.label)) : null, /* @__PURE__ */ React67.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(Control, { type: control.type, props: control.props }))));
2677
2684
  };
2678
2685
 
2679
2686
  // src/dynamics/hooks/use-prop-dynamic-action.tsx