@elementor/editor-editing-panel 3.32.0-91 → 3.32.0-92
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.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 +19 -19
- package/src/dynamics/components/dynamic-selection-control.tsx +13 -2
package/dist/index.mjs
CHANGED
|
@@ -5454,11 +5454,17 @@ var DynamicSettings = ({ controls }) => {
|
|
|
5454
5454
|
);
|
|
5455
5455
|
}));
|
|
5456
5456
|
};
|
|
5457
|
+
var LAYOUT_OVERRIDE_FIELDS = {
|
|
5458
|
+
separator: "two-columns"
|
|
5459
|
+
};
|
|
5460
|
+
var getLayout = (control) => {
|
|
5461
|
+
return LAYOUT_OVERRIDE_FIELDS[control.bind] ?? controlsRegistry.getLayout(control.type);
|
|
5462
|
+
};
|
|
5457
5463
|
var Control3 = ({ control }) => {
|
|
5458
5464
|
if (!controlsRegistry.get(control.type)) {
|
|
5459
5465
|
return null;
|
|
5460
5466
|
}
|
|
5461
|
-
const layout =
|
|
5467
|
+
const layout = getLayout(control);
|
|
5462
5468
|
return /* @__PURE__ */ React93.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React93.createElement(
|
|
5463
5469
|
Grid5,
|
|
5464
5470
|
{
|