@react-stately/dnd
Advanced tools
Comparing version 3.0.0-nightly-fb28ab3b4-241024 to 3.0.0-nightly-fee532d6a-241217
@@ -70,3 +70,3 @@ import { Collection, DraggableCollectionEndEvent, DraggableCollectionProps, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, DropOperation, Key, Node, RefObject, DragTypes, DroppableCollectionProps, DropTarget } from "@react-types/shared"; | ||
/** Returns whether the given target is equivalent to the current drop target. */ | ||
isDropTarget(target: DropTarget): boolean; | ||
isDropTarget(target: DropTarget | null): boolean; | ||
/** Returns the drop operation for the given parameters. */ | ||
@@ -73,0 +73,0 @@ getDropOperation(e: DropOperationEvent): DropOperation; |
{ | ||
"name": "@react-stately/dnd", | ||
"version": "3.0.0-nightly-fb28ab3b4-241024", | ||
"version": "3.0.0-nightly-fee532d6a-241217", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,13 +25,12 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-stately/selection": "^3.0.0-nightly-fb28ab3b4-241024", | ||
"@react-types/shared": "^3.0.0-nightly-fb28ab3b4-241024", | ||
"@react-stately/selection": "3.0.0-nightly-fee532d6a-241217", | ||
"@react-types/shared": "3.0.0-nightly-fee532d6a-241217", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.4.3" | ||
} | ||
} |
@@ -72,3 +72,3 @@ /* | ||
let draggingKeys = useRef(new Set<Key>()); | ||
let draggedKey = useRef(null); | ||
let draggedKey = useRef<Key | null>(null); | ||
let getKeys = (key: Key) => { | ||
@@ -75,0 +75,0 @@ // The clicked item is always added to the drag. If it is selected, then all of the |
@@ -46,3 +46,3 @@ /* | ||
/** Returns whether the given target is equivalent to the current drop target. */ | ||
isDropTarget(target: DropTarget): boolean, | ||
isDropTarget(target: DropTarget | null): boolean, | ||
/** Returns the drop operation for the given parameters. */ | ||
@@ -49,0 +49,0 @@ getDropOperation(e: DropOperationEvent): DropOperation |
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
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
86706
+ Added@react-stately/collections@3.0.0-nightly-fee532d6a-241217(transitive)
+ Added@react-stately/selection@3.0.0-nightly-fee532d6a-241217(transitive)
+ Added@react-stately/utils@3.0.0-nightly-fee532d6a-241217(transitive)
+ Added@react-types/shared@3.0.0-nightly-fee532d6a-241217(transitive)
- Removed@react-stately/collections@3.12.0(transitive)
- Removed@react-stately/selection@3.18.0(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/shared@3.26.0(transitive)
Updated@react-stately/selection@3.0.0-nightly-fee532d6a-241217