@elementor/editor-editing-panel 3.32.0-67 → 3.32.0-69

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,12 +382,13 @@ declare const controlTypes: {
382
382
  };
383
383
  };
384
384
  readonly size: {
385
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, }: Omit<({
385
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, }: Omit<({
386
386
  placeholder?: string;
387
387
  startIcon?: react.ReactNode;
388
388
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
389
389
  disableCustom?: boolean;
390
390
  anchorRef?: react.RefObject<HTMLDivElement | null>;
391
+ min?: number;
391
392
  } & {
392
393
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
393
394
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -399,6 +400,7 @@ declare const controlTypes: {
399
400
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
400
401
  disableCustom?: boolean;
401
402
  anchorRef?: react.RefObject<HTMLDivElement | null>;
403
+ min?: number;
402
404
  } & {
403
405
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
404
406
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -410,6 +412,7 @@ declare const controlTypes: {
410
412
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
411
413
  disableCustom?: boolean;
412
414
  anchorRef?: react.RefObject<HTMLDivElement | null>;
415
+ min?: number;
413
416
  } & {
414
417
  units?: ("s" | "ms")[] | undefined;
415
418
  defaultUnit?: "s" | "ms" | undefined;
@@ -821,7 +824,7 @@ declare const controlTypes: {
821
824
  };
822
825
  };
823
826
  readonly repeatable: {
824
- readonly component: ControlComponent<({ repeaterLabel, childControlConfig, showDuplicate, showToggle, initialValues, patternLabel, placeholder, propKey, }: {
827
+ readonly component: ControlComponent<({ repeaterLabel, childControlConfig, showDuplicate, showToggle, initialValues, patternLabel, placeholder, propKey, addItemTooltipProps, }: {
825
828
  label: string;
826
829
  repeaterLabel: string;
827
830
  childControlConfig: {
@@ -836,6 +839,12 @@ declare const controlTypes: {
836
839
  patternLabel?: string;
837
840
  placeholder?: string;
838
841
  propKey?: string;
842
+ addItemTooltipProps?: {
843
+ disabled?: boolean;
844
+ enableTooltip?: boolean;
845
+ tooltipContent?: react.ReactNode;
846
+ newItemIndex?: number;
847
+ };
839
848
  }) => react.JSX.Element | null>;
840
849
  readonly layout: "full";
841
850
  readonly propTypeUtil: undefined;
package/dist/index.d.ts CHANGED
@@ -382,12 +382,13 @@ declare const controlTypes: {
382
382
  };
383
383
  };
384
384
  readonly size: {
385
- readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, }: Omit<({
385
+ readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, }: Omit<({
386
386
  placeholder?: string;
387
387
  startIcon?: react.ReactNode;
388
388
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
389
389
  disableCustom?: boolean;
390
390
  anchorRef?: react.RefObject<HTMLDivElement | null>;
391
+ min?: number;
391
392
  } & {
392
393
  units?: ("em" | "px" | "%" | "rem" | "vw" | "vh")[] | undefined;
393
394
  defaultUnit?: "em" | "px" | "%" | "rem" | "vw" | "vh" | undefined;
@@ -399,6 +400,7 @@ declare const controlTypes: {
399
400
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
400
401
  disableCustom?: boolean;
401
402
  anchorRef?: react.RefObject<HTMLDivElement | null>;
403
+ min?: number;
402
404
  } & {
403
405
  units?: ("deg" | "rad" | "grad" | "turn")[] | undefined;
404
406
  defaultUnit?: "deg" | "rad" | "grad" | "turn" | undefined;
@@ -410,6 +412,7 @@ declare const controlTypes: {
410
412
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
411
413
  disableCustom?: boolean;
412
414
  anchorRef?: react.RefObject<HTMLDivElement | null>;
415
+ min?: number;
413
416
  } & {
414
417
  units?: ("s" | "ms")[] | undefined;
415
418
  defaultUnit?: "s" | "ms" | undefined;
@@ -821,7 +824,7 @@ declare const controlTypes: {
821
824
  };
822
825
  };
823
826
  readonly repeatable: {
824
- readonly component: ControlComponent<({ repeaterLabel, childControlConfig, showDuplicate, showToggle, initialValues, patternLabel, placeholder, propKey, }: {
827
+ readonly component: ControlComponent<({ repeaterLabel, childControlConfig, showDuplicate, showToggle, initialValues, patternLabel, placeholder, propKey, addItemTooltipProps, }: {
825
828
  label: string;
826
829
  repeaterLabel: string;
827
830
  childControlConfig: {
@@ -836,6 +839,12 @@ declare const controlTypes: {
836
839
  patternLabel?: string;
837
840
  placeholder?: string;
838
841
  propKey?: string;
842
+ addItemTooltipProps?: {
843
+ disabled?: boolean;
844
+ enableTooltip?: boolean;
845
+ tooltipContent?: react.ReactNode;
846
+ newItemIndex?: number;
847
+ };
839
848
  }) => react.JSX.Element | null>;
840
849
  readonly layout: "full";
841
850
  readonly propTypeUtil: undefined;
package/dist/index.js CHANGED
@@ -3334,7 +3334,14 @@ var BACKDROP_FILTER_LABEL = (0, import_i18n21.__)("Backdrop filters", "elementor
3334
3334
  var TRANSITIONS_LABEL = (0, import_i18n21.__)("Transitions", "elementor");
3335
3335
  var EffectsSection = () => {
3336
3336
  const { element } = (0, import_editor_elements10.useSelectedElement)();
3337
- return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(OpacityControlField, null), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.TransformRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.TransitionRepeaterControl, { recentlyUsedList: getRecentlyUsedList(element?.id) })), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.FilterRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3337
+ const { meta } = useStyle();
3338
+ return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(OpacityControlField, null), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "box-shadow", propDisplayName: BOX_SHADOW_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.BoxShadowRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transform", propDisplayName: TRANSFORM_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.TransformRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "transition", propDisplayName: TRANSITIONS_LABEL }, /* @__PURE__ */ React46.createElement(
3339
+ import_editor_controls18.TransitionRepeaterControl,
3340
+ {
3341
+ currentStyleState: meta.state,
3342
+ recentlyUsedList: getRecentlyUsedList(element?.id)
3343
+ }
3344
+ )), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "filter", propDisplayName: FILTER_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.FilterRepeaterControl, null)), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(StylesField, { bind: "backdrop-filter", propDisplayName: BACKDROP_FILTER_LABEL }, /* @__PURE__ */ React46.createElement(import_editor_controls18.FilterRepeaterControl, { filterPropName: "backdrop-filter" })));
3338
3345
  };
3339
3346
 
3340
3347
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -4094,7 +4101,15 @@ var DimensionField = ({
4094
4101
  side,
4095
4102
  label,
4096
4103
  rowRef
4097
- }) => /* @__PURE__ */ React59.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(import_editor_controls30.SizeControl, { startIcon: sideIcons[side], extendedOptions: ["auto"], anchorRef: rowRef }))));
4104
+ }) => /* @__PURE__ */ React59.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, label)), /* @__PURE__ */ React59.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React59.createElement(
4105
+ import_editor_controls30.SizeControl,
4106
+ {
4107
+ startIcon: sideIcons[side],
4108
+ extendedOptions: ["auto"],
4109
+ anchorRef: rowRef,
4110
+ min: -Number.MAX_SAFE_INTEGER
4111
+ }
4112
+ ))));
4098
4113
 
4099
4114
  // src/components/style-sections/position-section/offset-field.tsx
4100
4115
  var React60 = __toESM(require("react"));
@@ -4364,7 +4379,8 @@ var SpacingSection = () => {
4364
4379
  {
4365
4380
  label: MARGIN_LABEL,
4366
4381
  isSiteRtl,
4367
- extendedOptions: ["auto"]
4382
+ extendedOptions: ["auto"],
4383
+ min: -Number.MAX_SAFE_INTEGER
4368
4384
  }
4369
4385
  )), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls37.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4370
4386
  };