@elementor/editor-editing-panel 3.35.0-404 → 3.35.0-406

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.d.mts CHANGED
@@ -169,14 +169,13 @@ type ControlRegistry = Record<string, {
169
169
  }>;
170
170
  declare const controlTypes: {
171
171
  readonly image: {
172
- readonly component: ControlComponent<({ sizes, showMode }: {
172
+ readonly component: ControlComponent<({ sizes }: {
173
173
  sizes: {
174
174
  label: string;
175
175
  value: string;
176
176
  }[];
177
- showMode?: "all" | "media" | "sizes";
178
177
  }) => react.JSX.Element>;
179
- readonly layout: "full";
178
+ readonly layout: "custom";
180
179
  readonly propTypeUtil: {
181
180
  extract: (prop: unknown) => {
182
181
  size?: any;
package/dist/index.d.ts CHANGED
@@ -169,14 +169,13 @@ type ControlRegistry = Record<string, {
169
169
  }>;
170
170
  declare const controlTypes: {
171
171
  readonly image: {
172
- readonly component: ControlComponent<({ sizes, showMode }: {
172
+ readonly component: ControlComponent<({ sizes }: {
173
173
  sizes: {
174
174
  label: string;
175
175
  value: string;
176
176
  }[];
177
- showMode?: "all" | "media" | "sizes";
178
177
  }) => react.JSX.Element>;
179
- readonly layout: "full";
178
+ readonly layout: "custom";
180
179
  readonly propTypeUtil: {
181
180
  extract: (prop: unknown) => {
182
181
  size?: any;
package/dist/index.js CHANGED
@@ -2075,7 +2075,7 @@ var React20 = __toESM(require("react"));
2075
2075
  var import_editor_controls3 = require("@elementor/editor-controls");
2076
2076
  var import_editor_props4 = require("@elementor/editor-props");
2077
2077
  var controlTypes = {
2078
- image: { component: import_editor_controls3.ImageControl, layout: "full", propTypeUtil: import_editor_props4.imagePropTypeUtil },
2078
+ image: { component: import_editor_controls3.ImageControl, layout: "custom", propTypeUtil: import_editor_props4.imagePropTypeUtil },
2079
2079
  "svg-media": { component: import_editor_controls3.SvgMediaControl, layout: "full", propTypeUtil: import_editor_props4.imageSrcPropTypeUtil },
2080
2080
  text: { component: import_editor_controls3.TextControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
2081
2081
  textarea: { component: import_editor_controls3.TextAreaControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },