@wix/editor-react-components 1.2333.0 → 1.2334.0

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.
@@ -477,7 +477,7 @@ const Repeater = (props) => {
477
477
  {
478
478
  role: "listitem",
479
479
  className: clsx(semanticClassNames.item, styles.item),
480
- children: renderItem(item2, index)
480
+ children: renderItem(item2, index, items.length)
481
481
  },
482
482
  item2
483
483
  )),
@@ -8,7 +8,7 @@ export interface RepeaterProps {
8
8
  className?: string;
9
9
  direction?: Direction;
10
10
  a11y?: A11y;
11
- renderItem?: (itemId: string, itemIndex: number) => React.JSX.Element;
11
+ renderItem?: (itemId: string, itemIndex: number, itemLength: number) => React.JSX.Element;
12
12
  items?: Array<string>;
13
13
  onLoadMore?: () => Promise<void>;
14
14
  emptyState?: EmptyState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2333.0",
3
+ "version": "1.2334.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -197,5 +197,5 @@
197
197
  "registry": "https://registry.npmjs.org/",
198
198
  "access": "public"
199
199
  },
200
- "falconPackageHash": "2b724ee42a146631e4fd128be150e523cacc495a9d4106acd0220cb3"
200
+ "falconPackageHash": "641aaf72a7073bed42b46ffb59d7524219b5c6cf59dba5d1e4a87bbd"
201
201
  }