@elementor/editor-editing-panel 1.33.0 → 1.33.1
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
|
@@ -2702,6 +2702,7 @@ var PositionSection = () => {
|
|
|
2702
2702
|
"inset-inline-end"
|
|
2703
2703
|
]);
|
|
2704
2704
|
const [dimensionsValuesFromHistory, updateDimensionsHistory, clearDimensionsHistory] = usePersistDimensions();
|
|
2705
|
+
const { e_css_id: eCssId } = getExperimentsConfig();
|
|
2705
2706
|
const onPositionChange = (newPosition, previousPosition) => {
|
|
2706
2707
|
if (newPosition === "static") {
|
|
2707
2708
|
if (dimensionsValues) {
|
|
@@ -2721,7 +2722,7 @@ var PositionSection = () => {
|
|
|
2721
2722
|
}
|
|
2722
2723
|
};
|
|
2723
2724
|
const isNotStatic = positionValue && positionValue?.value !== "static";
|
|
2724
|
-
return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(DimensionsField, null), /* @__PURE__ */ React49.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(OffsetField, null));
|
|
2725
|
+
return /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(DimensionsField, null), /* @__PURE__ */ React49.createElement(ZIndexField, null)) : null, eCssId && /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(PanelDivider, null), /* @__PURE__ */ React49.createElement(OffsetField, null)));
|
|
2725
2726
|
};
|
|
2726
2727
|
var usePersistDimensions = () => {
|
|
2727
2728
|
const { id: styleDefID, meta } = useStyle();
|