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

@react-stately/dnd

Package Overview
Dependencies
Maintainers
2
Versions
741
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/dnd - npm Package Compare versions

Comparing version 3.0.0-nightly-fb28ab3b4-241024 to 3.0.0-nightly-fee532d6a-241217

2

dist/types.d.ts

@@ -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

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