@elementor/editor-editing-panel 3.32.0-90 → 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.d.mts CHANGED
@@ -382,7 +382,7 @@ declare const controlTypes: {
382
382
  };
383
383
  };
384
384
  readonly size: {
385
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, }: Omit<({
385
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<({
386
386
  placeholder?: string;
387
387
  startIcon?: react.ReactNode;
388
388
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
@@ -390,6 +390,7 @@ declare const controlTypes: {
390
390
  anchorRef?: react.RefObject<HTMLDivElement | null>;
391
391
  min?: number;
392
392
  enablePropTypeUnits?: boolean;
393
+ id?: string;
393
394
  } & {
394
395
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
395
396
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -403,6 +404,7 @@ declare const controlTypes: {
403
404
  anchorRef?: react.RefObject<HTMLDivElement | null>;
404
405
  min?: number;
405
406
  enablePropTypeUnits?: boolean;
407
+ id?: string;
406
408
  } & {
407
409
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
408
410
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -416,6 +418,7 @@ declare const controlTypes: {
416
418
  anchorRef?: react.RefObject<HTMLDivElement | null>;
417
419
  min?: number;
418
420
  enablePropTypeUnits?: boolean;
421
+ id?: string;
419
422
  } & {
420
423
  units?: ("s" | "ms")[] | undefined;
421
424
  defaultUnit?: "s" | "ms" | undefined;
@@ -881,6 +884,7 @@ declare const controlTypes: {
881
884
  enableTooltip?: boolean;
882
885
  tooltipContent?: react.ReactNode;
883
886
  newItemIndex?: number;
887
+ ariaLabel?: string;
884
888
  };
885
889
  }) => react.JSX.Element | null>;
886
890
  readonly layout: "full";
package/dist/index.d.ts CHANGED
@@ -382,7 +382,7 @@ declare const controlTypes: {
382
382
  };
383
383
  };
384
384
  readonly size: {
385
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, }: Omit<({
385
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, }: Omit<({
386
386
  placeholder?: string;
387
387
  startIcon?: react.ReactNode;
388
388
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
@@ -390,6 +390,7 @@ declare const controlTypes: {
390
390
  anchorRef?: react.RefObject<HTMLDivElement | null>;
391
391
  min?: number;
392
392
  enablePropTypeUnits?: boolean;
393
+ id?: string;
393
394
  } & {
394
395
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
395
396
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -403,6 +404,7 @@ declare const controlTypes: {
403
404
  anchorRef?: react.RefObject<HTMLDivElement | null>;
404
405
  min?: number;
405
406
  enablePropTypeUnits?: boolean;
407
+ id?: string;
406
408
  } & {
407
409
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
408
410
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -416,6 +418,7 @@ declare const controlTypes: {
416
418
  anchorRef?: react.RefObject<HTMLDivElement | null>;
417
419
  min?: number;
418
420
  enablePropTypeUnits?: boolean;
421
+ id?: string;
419
422
  } & {
420
423
  units?: ("s" | "ms")[] | undefined;
421
424
  defaultUnit?: "s" | "ms" | undefined;
@@ -881,6 +884,7 @@ declare const controlTypes: {
881
884
  enableTooltip?: boolean;
882
885
  tooltipContent?: react.ReactNode;
883
886
  newItemIndex?: number;
887
+ ariaLabel?: string;
884
888
  };
885
889
  }) => react.JSX.Element | null>;
886
890
  readonly layout: "full";
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 = controlsRegistry.getLayout(control.type);
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
  {