@northlight/ui 2.15.0 → 2.15.2

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.
@@ -1311,7 +1311,7 @@ declare const SearchBarField: <T extends SearchBarOptionType, K extends boolean
1311
1311
  declare const DragAndDrop: (props: DndContextProps) => JSX.Element;
1312
1312
 
1313
1313
  type ListenersType = SyntheticListenerMap;
1314
- type ChildrenType$1<PropType = any, PropTypeTwo = any> = ((props: PropType, secondProp: PropTypeTwo, thirdProp?: any) => JSX.Element | JSX.Element[] | undefined) | (JSX.Element | JSX.Element[]);
1314
+ type ChildrenType$1<PropType = any, PropTypeTwo = any> = ((props: PropType, secondProp: PropTypeTwo, thirdProp?: any, fourthProp?: number) => JSX.Element | JSX.Element[] | undefined) | (JSX.Element | JSX.Element[]);
1315
1315
  type MultiItemType<itemKeys extends string | number | symbol> = Record<itemKeys, string[]>;
1316
1316
  interface DroppableProps extends UseDroppableArguments {
1317
1317
  children?: ((props: any) => JSX.Element | JSX.Element[]) | (JSX.Element | JSX.Element[]);
@@ -6871,7 +6871,7 @@ function SortableList({
6871
6871
  items: identifierItems,
6872
6872
  strategy: strategy || rectSortingStrategy
6873
6873
  },
6874
- items.map((item) => {
6874
+ items.map((item, index) => {
6875
6875
  const id = createKey(item);
6876
6876
  return /* @__PURE__ */ React.createElement(
6877
6877
  SortableItem,
@@ -6882,7 +6882,7 @@ function SortableList({
6882
6882
  dblClickThreshold,
6883
6883
  disableDrag
6884
6884
  },
6885
- (listeners, props) => typeof children === "function" ? children(item, listeners, props) : children
6885
+ (listeners, props) => typeof children === "function" ? children(item, listeners, props, index) : children
6886
6886
  );
6887
6887
  })
6888
6888
  ),