Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nosferatu500/react-sortable-tree

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nosferatu500/react-sortable-tree - npm Package Compare versions

Comparing version 4.0.0-beta.8 to 4.0.0-beta.9

38

esm/react-sortable-tree.d.ts
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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc