@react-stately/dnd
Advanced tools
Comparing version 3.0.0-nightly.2661 to 3.0.0-nightly.2665
@@ -102,2 +102,3 @@ var { | ||
collection: props.collection, | ||
selectionManager: props.selectionManager, | ||
target, | ||
@@ -104,0 +105,0 @@ |
@@ -91,2 +91,3 @@ import { useState } from "react"; | ||
collection: props.collection, | ||
selectionManager: props.selectionManager, | ||
target, | ||
@@ -93,0 +94,0 @@ |
@@ -22,5 +22,7 @@ import { Collection, DragEndEvent, DraggableCollectionProps, DragItem, DragMoveEvent, DragStartEvent, Node, DragTypes, DropOperation, DroppableCollectionProps, DropTarget } from "@react-types/shared"; | ||
collection: Collection<Node<unknown>>; | ||
selectionManager: MultipleSelectionManager; | ||
} | ||
export interface DroppableCollectionState { | ||
collection: Collection<Node<unknown>>; | ||
selectionManager: MultipleSelectionManager; | ||
target: DropTarget; | ||
@@ -27,0 +29,0 @@ setTarget(target: DropTarget): void; |
{ | ||
"name": "@react-stately/dnd", | ||
"version": "3.0.0-nightly.2661+e066b675", | ||
"version": "3.0.0-nightly.2665+887fff79", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,5 +21,5 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-stately/selection": "3.0.0-nightly.981+e066b675", | ||
"@react-stately/utils": "3.0.0-nightly.981+e066b675", | ||
"@react-types/shared": "3.0.0-nightly.981+e066b675" | ||
"@react-stately/selection": "3.0.0-nightly.985+887fff79", | ||
"@react-stately/utils": "3.0.0-nightly.985+887fff79", | ||
"@react-types/shared": "3.0.0-nightly.985+887fff79" | ||
}, | ||
@@ -32,3 +32,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "e066b675c123776d4cac96595143b6d3a96f8fc6" | ||
"gitHead": "887fff79e8f33c0f8953dc38955419feddd56b6a" | ||
} |
@@ -14,6 +14,8 @@ /* | ||
import {Collection, DragTypes, DropOperation, DroppableCollectionProps, DropTarget, ItemDropTarget, Node} from '@react-types/shared'; | ||
import {MultipleSelectionManager} from '@react-stately/selection'; | ||
import {useState} from 'react'; | ||
interface DroppableCollectionStateOptions extends DroppableCollectionProps { | ||
collection: Collection<Node<unknown>> | ||
collection: Collection<Node<unknown>>, | ||
selectionManager: MultipleSelectionManager | ||
} | ||
@@ -23,2 +25,3 @@ | ||
collection: Collection<Node<unknown>>, | ||
selectionManager: MultipleSelectionManager, | ||
target: DropTarget, | ||
@@ -45,2 +48,3 @@ setTarget(target: DropTarget): void, | ||
collection: props.collection, | ||
selectionManager: props.selectionManager, | ||
target, | ||
@@ -47,0 +51,0 @@ setTarget(newTarget) { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
57418
494