@gouvfr-lasuite/ui-kit 0.15.0 → 0.16.1

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
@@ -1223,7 +1223,7 @@ export declare type TreeProviderProps<T> = {
1223
1223
  onLoadChildren?: (id: string) => Promise<TreeViewDataType<T>[]>;
1224
1224
  };
1225
1225
 
1226
- export declare const TreeView: <T>({ initialOpenState, selectedNodeId, rootNodeId, renderNode, canDrop, canDrag, afterMove, beforeMove, }: TreeViewProps<T>) => JSX.Element | undefined;
1226
+ export declare const TreeView: <T>({ initialOpenState, dndRootElement, selectedNodeId, rootNodeId, renderNode, canDrop, canDrag, afterMove, beforeMove, }: TreeViewProps<T>) => JSX.Element | undefined;
1227
1227
 
1228
1228
  export declare type TreeViewDataType<T> = BaseTreeViewData<T>;
1229
1229
 
@@ -1258,6 +1258,7 @@ export declare enum TreeViewNodeTypeEnum {
1258
1258
 
1259
1259
  export declare type TreeViewProps<T> = {
1260
1260
  initialOpenState?: OpenMap;
1261
+ dndRootElement?: HTMLElement | null;
1261
1262
  selectedNodeId?: string;
1262
1263
  rootNodeId: string;
1263
1264
  canDrop?: (args: {