You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@react-types/shared

Package Overview
Dependencies
Maintainers
2
Versions
1081
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/shared - npm Package Compare versions

Comparing version

to
3.0.0-nightly-2c29e2d1d-250612

2

package.json
{
"name": "@react-types/shared",
"version": "3.0.0-nightly-2a2d5713b-250508",
"version": "3.0.0-nightly-2c29e2d1d-250612",
"description": "Spectrum UI components in React",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -221,6 +221,14 @@ /*

/**
* Handler that is called when items are reordered via drag in the source collection.
* Handler that is called when items are reordered within the collection.
* This handler only allows dropping between items, not on items.
* It does not allow moving items to a different parent item within a tree.
*/
onReorder?: (e: DroppableCollectionReorderEvent) => void,
/**
* Handler that is called when items are moved within the source collection.
* This handler allows dropping both on or between items, and items may be
* moved to a different parent item within a tree.
*/
onMove?: (e: DroppableCollectionReorderEvent) => void,
/**
* A function returning whether a given target in the droppable collection is a valid "on" drop target for the current drag types.

@@ -236,3 +244,2 @@ */

* Handler that is called after a valid drag is held over a drop target for a period of time.
* @private
*/

@@ -239,0 +246,0 @@ onDropActivate?: (e: DroppableCollectionActivateEvent) => void,