@react-querybuilder/dnd
Advanced tools
Comparing version
@@ -20,4 +20,4 @@ import * as React from 'react'; | ||
moveRule: QueryActions['moveRule']; | ||
useDrag: typeof react_dnd['useDrag']; | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrag: (typeof react_dnd)['useDrag']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
children: ReactElement<RuleGroupProps>; | ||
@@ -34,4 +34,4 @@ } | ||
independentCombinators: boolean; | ||
useDrag: typeof react_dnd['useDrag']; | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrag: (typeof react_dnd)['useDrag']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
children: ReactElement<RuleProps>; | ||
@@ -43,3 +43,3 @@ } | ||
interface InlineCombinatorDndProps extends InlineCombinatorProps { | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
} | ||
@@ -72,4 +72,4 @@ /** | ||
type QueryBuilderDndContextProps = { | ||
useDrag?: typeof react_dnd['useDrag']; | ||
useDrop?: typeof react_dnd['useDrop']; | ||
useDrag?: (typeof react_dnd)['useDrag']; | ||
useDrop?: (typeof react_dnd)['useDrop']; | ||
baseControls: Pick<Controls<ToFlexibleOption<Field>, string>, 'rule' | 'ruleGroup' | 'combinatorSelector'>; | ||
@@ -76,0 +76,0 @@ canDrop?(params: CustomCanDropParams): boolean; |
@@ -20,4 +20,4 @@ import * as React from 'react'; | ||
moveRule: QueryActions['moveRule']; | ||
useDrag: typeof react_dnd['useDrag']; | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrag: (typeof react_dnd)['useDrag']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
children: ReactElement<RuleGroupProps>; | ||
@@ -34,4 +34,4 @@ } | ||
independentCombinators: boolean; | ||
useDrag: typeof react_dnd['useDrag']; | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrag: (typeof react_dnd)['useDrag']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
children: ReactElement<RuleProps>; | ||
@@ -43,3 +43,3 @@ } | ||
interface InlineCombinatorDndProps extends InlineCombinatorProps { | ||
useDrop: typeof react_dnd['useDrop']; | ||
useDrop: (typeof react_dnd)['useDrop']; | ||
} | ||
@@ -72,4 +72,4 @@ /** | ||
type QueryBuilderDndContextProps = { | ||
useDrag?: typeof react_dnd['useDrag']; | ||
useDrop?: typeof react_dnd['useDrop']; | ||
useDrag?: (typeof react_dnd)['useDrag']; | ||
useDrop?: (typeof react_dnd)['useDrop']; | ||
baseControls: Pick<Controls<ToFlexibleOption<Field>, string>, 'rule' | 'ruleGroup' | 'combinatorSelector'>; | ||
@@ -76,0 +76,0 @@ canDrop?(params: CustomCanDropParams): boolean; |
{ | ||
"name": "@react-querybuilder/dnd", | ||
"description": "Drag-and-drop-enabled version of react-querybuilder", | ||
"version": "7.0.0-alpha.3", | ||
"version": "7.0.0-alpha.4", | ||
"publishConfig": { | ||
@@ -23,3 +23,3 @@ "access": "public" | ||
}, | ||
"types": "./dist/react-querybuilder_dnd.d.mts", | ||
"types": "./dist/cjs/react-querybuilder_dnd.cjs.production.d.ts", | ||
"files": [ | ||
@@ -43,4 +43,4 @@ "dist" | ||
"@testing-library/react": "^14.1.2", | ||
"@types/node": "^20.10.3", | ||
"@types/react": "^18.2.42", | ||
"@types/node": "^20.10.5", | ||
"@types/react": "^18.2.45", | ||
"@vitejs/plugin-react-swc": "^3.5.0", | ||
@@ -54,6 +54,6 @@ "concurrently": "^8.2.2", | ||
"react-dom": "^18.2.0", | ||
"react-querybuilder": "^7.0.0-alpha.3", | ||
"rollup-plugin-visualizer": "^5.10.0", | ||
"typescript": "^5.3.2", | ||
"vite": "^5.0.6" | ||
"react-querybuilder": "^7.0.0-alpha.4", | ||
"rollup-plugin-visualizer": "^5.11.0", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.10" | ||
}, | ||
@@ -64,5 +64,5 @@ "peerDependencies": { | ||
"react-dnd-html5-backend": ">=14.0.0", | ||
"react-querybuilder": "^7.0.0-alpha.3" | ||
"react-querybuilder": "^7.0.0-alpha.4" | ||
}, | ||
"gitHead": "91296c05fff0d40cc868a551cd7ff0153e9eab30" | ||
"gitHead": "15855549eb5ef6bbd7ae9437b405573a0bc0346e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
228193
0.06%