@elementor/editor-controls 3.35.0-353 → 3.35.0-355

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
@@ -56,7 +56,6 @@ type BaseSizeControlProps = {
56
56
  enablePropTypeUnits?: boolean;
57
57
  id?: string;
58
58
  ariaLabel?: string;
59
- isRepeaterControl?: boolean;
60
59
  };
61
60
  type LengthSizeControlProps = BaseSizeControlProps & UnitProps<LengthUnit[]> & {
62
61
  variant: 'length';
package/dist/index.d.ts CHANGED
@@ -56,7 +56,6 @@ type BaseSizeControlProps = {
56
56
  enablePropTypeUnits?: boolean;
57
57
  id?: string;
58
58
  ariaLabel?: string;
59
- isRepeaterControl?: boolean;
60
59
  };
61
60
  type LengthSizeControlProps = BaseSizeControlProps & UnitProps<LengthUnit[]> & {
62
61
  variant: 'length';
package/dist/index.js CHANGED
@@ -2079,8 +2079,7 @@ var DropShadowItemContent = ({ anchorEl }) => {
2079
2079
  {
2080
2080
  anchorRef: rowRefs[item.rowIndex],
2081
2081
  enablePropTypeUnits: true,
2082
- defaultUnit: "px",
2083
- isRepeaterControl: true
2082
+ defaultUnit: "px"
2084
2083
  }
2085
2084
  ))))));
2086
2085
  };
@@ -2101,7 +2100,7 @@ var SingleSizeItemContent = ({ filterFunc }) => {
2101
2100
  const { getFilterFunctionConfig } = useFilterConfig();
2102
2101
  const { valueName, filterFunctionGroup } = getFilterFunctionConfig(filterFunc);
2103
2102
  const context = useBoundProp(propTypeMap[filterFunctionGroup]);
2104
- return /* @__PURE__ */ React42.createElement(PropProvider, { ...context }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React42.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React42.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React42.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true, isRepeaterControl: true }))))));
2103
+ return /* @__PURE__ */ React42.createElement(PropProvider, { ...context }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React42.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React42.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React42.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true }))))));
2105
2104
  };
2106
2105
 
2107
2106
  // src/controls/filter-control/filter-content.tsx
@@ -4950,7 +4949,6 @@ var AxisRow = ({ label, bind, startIcon, anchorRef, units: units2, variant = "an
4950
4949
  units: units2,
4951
4950
  variant,
4952
4951
  min: -Number.MAX_SAFE_INTEGER,
4953
- isRepeaterControl: true,
4954
4952
  id: safeId
4955
4953
  }
4956
4954
  )))));
@@ -5468,13 +5466,7 @@ var import_react49 = require("react");
5468
5466
  var import_editor_props47 = require("@elementor/editor-props");
5469
5467
  var import_ui81 = require("@elementor/ui");
5470
5468
  var SelectionSizeControl = createControl(
5471
- ({
5472
- selectionLabel,
5473
- sizeLabel,
5474
- selectionConfig,
5475
- sizeConfigMap,
5476
- isRepeaterControl = false
5477
- }) => {
5469
+ ({ selectionLabel, sizeLabel, selectionConfig, sizeConfigMap }) => {
5478
5470
  const { value, setValue, propType } = useBoundProp(import_editor_props47.selectionSizePropTypeUtil);
5479
5471
  const rowRef = (0, import_react49.useRef)(null);
5480
5472
  const sizeFieldId = sizeLabel.replace(/\s+/g, "-").toLowerCase();
@@ -5496,8 +5488,7 @@ var SelectionSizeControl = createControl(
5496
5488
  variant: currentSizeConfig.variant,
5497
5489
  units: currentSizeConfig.units,
5498
5490
  defaultUnit: currentSizeConfig.defaultUnit,
5499
- id: sizeFieldId,
5500
- isRepeaterControl
5491
+ id: sizeFieldId
5501
5492
  }
5502
5493
  ))))));
5503
5494
  }
@@ -5704,7 +5695,6 @@ var getSelectionSizeProps = (recentlyUsedList, disabledItems) => {
5704
5695
  disabledItems
5705
5696
  }
5706
5697
  },
5707
- isRepeaterControl: true,
5708
5698
  sizeConfigMap: {
5709
5699
  ...transitionProperties.reduce(
5710
5700
  (acc, category) => {