@elementor/editor-controls 3.33.0-237 → 3.33.0-238

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.mjs CHANGED
@@ -5922,7 +5922,7 @@ var Repeater3 = ({
5922
5922
  const newKey = generateNextKey(uniqueKeys);
5923
5923
  const atPosition = 1 + index;
5924
5924
  setItems([...items2.slice(0, atPosition), newItem, ...items2.slice(atPosition)], void 0, {
5925
- action: { type: "duplicate", payload: [{ index: atPosition, item: newItem }] }
5925
+ action: { type: "duplicate", payload: [{ index, item: newItem }] }
5926
5926
  });
5927
5927
  setUniqueKeys([...uniqueKeys.slice(0, atPosition), newKey, ...uniqueKeys.slice(atPosition)]);
5928
5928
  };
@@ -5999,7 +5999,7 @@ var Repeater3 = ({
5999
5999
  {
6000
6000
  disabled,
6001
6001
  propDisabled: value?.disabled,
6002
- label: /* @__PURE__ */ React100.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React100.createElement(itemSettings.Label, { value })),
6002
+ label: /* @__PURE__ */ React100.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React100.createElement(itemSettings.Label, { value, index })),
6003
6003
  startIcon: /* @__PURE__ */ React100.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React100.createElement(itemSettings.Icon, { value })),
6004
6004
  removeItem: () => removeRepeaterItem(index),
6005
6005
  duplicateItem: () => duplicateRepeaterItem(index),
@@ -6010,7 +6010,15 @@ var Repeater3 = ({
6010
6010
  showToggle,
6011
6011
  collectionPropUtil
6012
6012
  },
6013
- (props) => /* @__PURE__ */ React100.createElement(itemSettings.Content, { ...props, value, bind: String(index) })
6013
+ (props) => /* @__PURE__ */ React100.createElement(
6014
+ itemSettings.Content,
6015
+ {
6016
+ ...props,
6017
+ value,
6018
+ bind: String(index),
6019
+ index
6020
+ }
6021
+ )
6014
6022
  ));
6015
6023
  })));
6016
6024
  };