@elementor/editor-editing-panel 3.32.0-91 → 3.32.0-93
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.js
CHANGED
|
@@ -5344,11 +5344,17 @@ var DynamicSettings = ({ controls }) => {
|
|
|
5344
5344
|
);
|
|
5345
5345
|
}));
|
|
5346
5346
|
};
|
|
5347
|
+
var LAYOUT_OVERRIDE_FIELDS = {
|
|
5348
|
+
separator: "two-columns"
|
|
5349
|
+
};
|
|
5350
|
+
var getLayout = (control) => {
|
|
5351
|
+
return LAYOUT_OVERRIDE_FIELDS[control.bind] ?? controlsRegistry.getLayout(control.type);
|
|
5352
|
+
};
|
|
5347
5353
|
var Control3 = ({ control }) => {
|
|
5348
5354
|
if (!controlsRegistry.get(control.type)) {
|
|
5349
5355
|
return null;
|
|
5350
5356
|
}
|
|
5351
|
-
const layout =
|
|
5357
|
+
const layout = getLayout(control);
|
|
5352
5358
|
return /* @__PURE__ */ React93.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React93.createElement(
|
|
5353
5359
|
import_ui47.Grid,
|
|
5354
5360
|
{
|