@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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2675,6 +2675,7 @@ var PositionSection = () => {
|
|
|
2675
2675
|
"inset-inline-end"
|
|
2676
2676
|
]);
|
|
2677
2677
|
const [dimensionsValuesFromHistory, updateDimensionsHistory, clearDimensionsHistory] = usePersistDimensions();
|
|
2678
|
+
const { e_css_id: eCssId } = getExperimentsConfig();
|
|
2678
2679
|
const onPositionChange = (newPosition, previousPosition) => {
|
|
2679
2680
|
if (newPosition === "static") {
|
|
2680
2681
|
if (dimensionsValues) {
|
|
@@ -2694,7 +2695,7 @@ var PositionSection = () => {
|
|
|
2694
2695
|
}
|
|
2695
2696
|
};
|
|
2696
2697
|
const isNotStatic = positionValue && positionValue?.value !== "static";
|
|
2697
|
-
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));
|
|
2698
|
+
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)));
|
|
2698
2699
|
};
|
|
2699
2700
|
var usePersistDimensions = () => {
|
|
2700
2701
|
const { id: styleDefID, meta } = useStyle();
|