@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/CHANGELOG.md +17 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -2
- 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/src/dynamics/components/dynamic-selection-control.tsx +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5f9500e: Update the advanced setting in the dynamic tags.
|
|
8
|
+
|
|
9
|
+
## 1.14.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 9a5fd67: Add support for inline flex
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [33de95b]
|
|
18
|
+
- @elementor/editor-controls@0.13.0
|
|
19
|
+
|
|
3
20
|
## 1.13.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1404,6 +1404,12 @@ var DisplayField = () => {
|
|
|
1404
1404
|
renderContent: () => (0, import_i18n12.__)("In-blk", "elementor"),
|
|
1405
1405
|
label: (0, import_i18n12.__)("Inline-block", "elementor"),
|
|
1406
1406
|
showTooltip: true
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
value: "inline-flex",
|
|
1410
|
+
renderContent: () => (0, import_i18n12.__)("In-flx", "elementor"),
|
|
1411
|
+
label: (0, import_i18n12.__)("Inline-flex", "elementor"),
|
|
1412
|
+
showTooltip: true
|
|
1407
1413
|
}
|
|
1408
1414
|
];
|
|
1409
1415
|
return /* @__PURE__ */ React31.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React31.createElement(import_ui21.Stack, { gap: 1 }, /* @__PURE__ */ React31.createElement(import_editor_controls15.ControlLabel, null, (0, import_i18n12.__)("Display", "elementor")), /* @__PURE__ */ React31.createElement(import_editor_controls15.ToggleControl, { options: options11, fullWidth: true })));
|
|
@@ -1706,7 +1712,7 @@ var LayoutSection = () => {
|
|
|
1706
1712
|
const { element } = useElement();
|
|
1707
1713
|
const parent = (0, import_editor_elements5.useParentElement)(element.id);
|
|
1708
1714
|
const parentStyle = useComputedStyle(parent?.id || null);
|
|
1709
|
-
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));
|
|
1715
|
+
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));
|
|
1710
1716
|
};
|
|
1711
1717
|
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));
|
|
1712
1718
|
var FlexChildFields = () => /* @__PURE__ */ React38.createElement(React38.Fragment, null, /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(import_editor_controls22.ControlLabel, null, (0, import_i18n19.__)("Flex child", "elementor")), /* @__PURE__ */ React38.createElement(AlignSelfChild, null), /* @__PURE__ */ React38.createElement(FlexOrderField, null), /* @__PURE__ */ React38.createElement(FlexSizeField, null));
|
|
@@ -2618,7 +2624,7 @@ var Control3 = ({ control }) => {
|
|
|
2618
2624
|
if (!getControlByType(control.type)) {
|
|
2619
2625
|
return null;
|
|
2620
2626
|
}
|
|
2621
|
-
return /* @__PURE__ */ React67.createElement(DynamicControl, { bind: control.bind }, control.label ? /* @__PURE__ */ React67.createElement(import_editor_controls46.ControlLabel, null, control.label) : null, /* @__PURE__ */ React67.createElement(Control, { type: control.type, props: control.props }));
|
|
2627
|
+
return /* @__PURE__ */ React67.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React67.createElement(import_ui51.Grid, { container: true, gap: 1 }, control.label ? /* @__PURE__ */ React67.createElement(import_ui51.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(import_editor_controls46.ControlLabel, null, control.label)) : null, /* @__PURE__ */ React67.createElement(import_ui51.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(Control, { type: control.type, props: control.props }))));
|
|
2622
2628
|
};
|
|
2623
2629
|
|
|
2624
2630
|
// src/dynamics/hooks/use-prop-dynamic-action.tsx
|