@nosferatu500/react-sortable-tree
Advanced tools
Comparing version 4.0.0-beta.8 to 4.0.0-beta.9
import './react-sortable-tree.css'; | ||
declare type SearchParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -9,3 +9,3 @@ treeIndex: number; | ||
declare type SearchFinishCallbackParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -15,3 +15,3 @@ treeIndex: number; | ||
declare type GenerateNodePropsParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -24,3 +24,3 @@ treeIndex: number; | ||
declare type ShouldCopyOnOutsideDropParams = { | ||
node: Object; | ||
node: any; | ||
prevPath: number[]; | ||
@@ -30,5 +30,5 @@ prevTreeIndex: number; | ||
declare type OnMoveNodeParams = { | ||
treeData: Object[]; | ||
node: Object; | ||
nextParentNode: Object; | ||
treeData: any[]; | ||
node: any; | ||
nextParentNode: any; | ||
prevPath: number[]; | ||
@@ -40,13 +40,13 @@ prevTreeIndex: number; | ||
declare type CanDropParams = { | ||
node: Object; | ||
node: any; | ||
prevPath: number[]; | ||
prevParent: Object; | ||
prevParent: any; | ||
prevTreeIndex: number; | ||
nextPath: number[]; | ||
nextParent: Object; | ||
nextParent: any; | ||
nextTreeIndex: number; | ||
}; | ||
declare type OnVisibilityToggleParams = { | ||
treeData: Object[]; | ||
node: Object; | ||
treeData: any[]; | ||
node: any; | ||
expanded: boolean; | ||
@@ -57,3 +57,3 @@ path: number[]; | ||
isDragging: boolean; | ||
draggedNode: Object; | ||
draggedNode: any; | ||
}; | ||
@@ -64,6 +64,6 @@ declare type ReactSortableTreeProps = { | ||
}; | ||
treeData: []; | ||
style: Object; | ||
treeData: any[]; | ||
style: any; | ||
className: string; | ||
innerStyle: Object; | ||
innerStyle: any; | ||
slideRegionSize: number; | ||
@@ -76,3 +76,3 @@ scaffoldBlockPxWidth: number; | ||
searchFinishCallback: (params: SearchFinishCallbackParams) => void; | ||
generateNodeProps: (params: GenerateNodePropsParams) => Object; | ||
generateNodeProps: (params: GenerateNodePropsParams) => any; | ||
treeNodeRenderer: any; | ||
@@ -82,4 +82,4 @@ nodeContentRenderer: any; | ||
theme: { | ||
style: Object; | ||
innerStyle: Object; | ||
style: any; | ||
innerStyle: any; | ||
scaffoldBlockPxWidth: number; | ||
@@ -86,0 +86,0 @@ slideRegionSize: number; |
{ | ||
"name": "@nosferatu500/react-sortable-tree", | ||
"version": "4.0.0-beta.8", | ||
"version": "4.0.0-beta.9", | ||
"description": "Drag-and-drop sortable component for nested data and hierarchies", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
import './react-sortable-tree.css'; | ||
declare type SearchParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -9,3 +9,3 @@ treeIndex: number; | ||
declare type SearchFinishCallbackParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -15,3 +15,3 @@ treeIndex: number; | ||
declare type GenerateNodePropsParams = { | ||
node: Object; | ||
node: any; | ||
path: number[]; | ||
@@ -24,3 +24,3 @@ treeIndex: number; | ||
declare type ShouldCopyOnOutsideDropParams = { | ||
node: Object; | ||
node: any; | ||
prevPath: number[]; | ||
@@ -30,5 +30,5 @@ prevTreeIndex: number; | ||
declare type OnMoveNodeParams = { | ||
treeData: Object[]; | ||
node: Object; | ||
nextParentNode: Object; | ||
treeData: any[]; | ||
node: any; | ||
nextParentNode: any; | ||
prevPath: number[]; | ||
@@ -40,13 +40,13 @@ prevTreeIndex: number; | ||
declare type CanDropParams = { | ||
node: Object; | ||
node: any; | ||
prevPath: number[]; | ||
prevParent: Object; | ||
prevParent: any; | ||
prevTreeIndex: number; | ||
nextPath: number[]; | ||
nextParent: Object; | ||
nextParent: any; | ||
nextTreeIndex: number; | ||
}; | ||
declare type OnVisibilityToggleParams = { | ||
treeData: Object[]; | ||
node: Object; | ||
treeData: any[]; | ||
node: any; | ||
expanded: boolean; | ||
@@ -57,3 +57,3 @@ path: number[]; | ||
isDragging: boolean; | ||
draggedNode: Object; | ||
draggedNode: any; | ||
}; | ||
@@ -64,6 +64,6 @@ declare type ReactSortableTreeProps = { | ||
}; | ||
treeData: []; | ||
style: Object; | ||
treeData: any[]; | ||
style: any; | ||
className: string; | ||
innerStyle: Object; | ||
innerStyle: any; | ||
slideRegionSize: number; | ||
@@ -76,3 +76,3 @@ scaffoldBlockPxWidth: number; | ||
searchFinishCallback: (params: SearchFinishCallbackParams) => void; | ||
generateNodeProps: (params: GenerateNodePropsParams) => Object; | ||
generateNodeProps: (params: GenerateNodePropsParams) => any; | ||
treeNodeRenderer: any; | ||
@@ -82,4 +82,4 @@ nodeContentRenderer: any; | ||
theme: { | ||
style: Object; | ||
innerStyle: Object; | ||
style: any; | ||
innerStyle: any; | ||
scaffoldBlockPxWidth: number; | ||
@@ -86,0 +86,0 @@ slideRegionSize: number; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
285999