@gouvfr-lasuite/ui-kit 0.1.8 → 0.1.10

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.ts CHANGED
@@ -614,7 +614,7 @@ export declare const useTree: <T>(initialItems: TreeViewDataType<T>[], refreshCa
614
614
  insertAfterNode: (nodeId: string, newNode: TreeViewDataType<T>) => void;
615
615
  handleMove: (result: TreeViewMoveResult) => void;
616
616
  prependToNode: (nodeId: string, newNode: TreeViewDataType<T>) => void;
617
- moveNode: (nodeId: string, newParentId: string | null, newIndex: number, oldParentId?: string | null) => void;
617
+ moveNode: (nodeId: string, newParentId: string | null, newIndex: number) => void;
618
618
  appendToNode: (nodeId: string, newNode: TreeViewDataType<T>) => void;
619
619
  move: (key: Key, toParentKey: Key | null, index: number) => void;
620
620
  resetTree: (newItems?: TreeViewDataType<T>[]) => void;