@elementor/editor-editing-panel 3.32.0-77 → 3.32.0-79

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 CHANGED
@@ -5344,7 +5344,17 @@ var Control3 = ({ control }) => {
5344
5344
  if (!controlsRegistry.get(control.type)) {
5345
5345
  return null;
5346
5346
  }
5347
- return /* @__PURE__ */ React93.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React93.createElement(import_ui47.Grid, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React93.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React93.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(Control, { type: control.type, props: control.props }))));
5347
+ const layout = controlsRegistry.getLayout(control.type);
5348
+ return /* @__PURE__ */ React93.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React93.createElement(
5349
+ import_ui47.Grid,
5350
+ {
5351
+ container: true,
5352
+ gap: 0.75,
5353
+ sx: layout === "two-columns" ? { display: "grid", gridTemplateColumns: "1fr 1fr" } : {}
5354
+ },
5355
+ control.label ? /* @__PURE__ */ React93.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null,
5356
+ /* @__PURE__ */ React93.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React93.createElement(Control, { type: control.type, props: control.props }))
5357
+ ));
5348
5358
  };
5349
5359
 
5350
5360
  // src/dynamics/dynamic-transformer.ts