@elementor/editor-editing-panel 1.13.1 → 1.14.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/CHANGELOG.md +11 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/style-sections/layout-section/display-field.tsx +7 -1
- package/src/components/style-sections/layout-section/layout-section.tsx +1 -1
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));
|