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

@react-aria/dnd

Package Overview
Dependencies
Maintainers
0
Versions
733
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/dnd - npm Package Compare versions

Comparing version 3.6.2-nightly.4701 to 3.6.2-nightly.4704

4

dist/types.d.ts

@@ -1,4 +0,4 @@

import { DirectoryDropItem, DropItem, FileDropItem, TextDropItem, DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropMoveEvent, DropOperation, DragTypes, DroppableCollectionProps, DropTargetDelegate, KeyboardDelegate, DropTarget, DragEndEvent, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, Key, DOMAttributes, Direction, Node, Orientation } from "@react-types/shared";
import { DirectoryDropItem, DropItem, FileDropItem, TextDropItem, DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropMoveEvent, DropOperation, DragTypes, RefObject, DroppableCollectionProps, DropTargetDelegate, KeyboardDelegate, DropTarget, DragEndEvent, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, Key, DOMAttributes, Direction, Node, Orientation } from "@react-types/shared";
import { AriaButtonProps } from "@react-types/button";
import React, { HTMLAttributes, RefObject, JSX } from "react";
import React, { HTMLAttributes, JSX } from "react";
import { DroppableCollectionState, DraggableCollectionState } from "@react-stately/dnd";

@@ -5,0 +5,0 @@ export const DIRECTORY_DRAG_TYPE: unique symbol;

{
"name": "@react-aria/dnd",
"version": "3.6.2-nightly.4701+76365df43",
"version": "3.6.2-nightly.4704+546ffa41f",
"description": "Spectrum UI components in React",

@@ -25,11 +25,11 @@ "license": "Apache-2.0",

"dependencies": {
"@internationalized/string": "3.2.4-nightly.4701+76365df43",
"@react-aria/i18n": "3.0.0-nightly.2989+76365df43",
"@react-aria/interactions": "3.0.0-nightly.2989+76365df43",
"@react-aria/live-announcer": "3.0.0-nightly.2989+76365df43",
"@react-aria/overlays": "3.0.0-nightly.2989+76365df43",
"@react-aria/utils": "3.0.0-nightly.2989+76365df43",
"@react-stately/dnd": "3.3.2-nightly.4701+76365df43",
"@react-types/button": "3.9.5-nightly.4701+76365df43",
"@react-types/shared": "3.0.0-nightly.2989+76365df43",
"@internationalized/string": "3.2.4-nightly.4704+546ffa41f",
"@react-aria/i18n": "3.0.0-nightly.2992+546ffa41f",
"@react-aria/interactions": "3.0.0-nightly.2992+546ffa41f",
"@react-aria/live-announcer": "3.0.0-nightly.2992+546ffa41f",
"@react-aria/overlays": "3.0.0-nightly.2992+546ffa41f",
"@react-aria/utils": "3.0.0-nightly.2992+546ffa41f",
"@react-stately/dnd": "3.3.2-nightly.4704+546ffa41f",
"@react-types/button": "3.9.5-nightly.4704+546ffa41f",
"@react-types/shared": "3.0.0-nightly.2992+546ffa41f",
"@swc/helpers": "^0.5.0"

@@ -44,3 +44,3 @@ },

},
"gitHead": "76365df434b6f65b137113557ba14a32ea466c8f"
"gitHead": "546ffa41f7d1d3a566950a14d8f46cf726891220"
}

@@ -1,3 +0,2 @@

import {Direction, DropTarget, DropTargetDelegate, Node, Orientation} from '@react-types/shared';
import {RefObject} from 'react';
import {Direction, DropTarget, DropTargetDelegate, Node, Orientation, RefObject} from '@react-types/shared';

@@ -4,0 +3,0 @@ interface ListDropTargetDelegateOptions {

@@ -14,3 +14,4 @@ /*

import {getScrollParent, isIOS, isScrollable, isWebKit} from '@react-aria/utils';
import {RefObject, useCallback, useEffect, useRef} from 'react';
import {RefObject} from '@react-types/shared';
import {useCallback, useEffect, useRef} from 'react';

@@ -17,0 +18,0 @@ const AUTOSCROLL_AREA_SIZE = 20;

@@ -14,4 +14,4 @@ /*

import {AriaButtonProps} from '@react-types/button';
import {DragEndEvent, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, DropOperation, PressEvent} from '@react-types/shared';
import {DragEvent, HTMLAttributes, RefObject, useRef, useState} from 'react';
import {DragEndEvent, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, DropOperation, PressEvent, RefObject} from '@react-types/shared';
import {DragEvent, HTMLAttributes, useRef, useState} from 'react';
import * as DragManager from './DragManager';

@@ -18,0 +18,0 @@ import {DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, EFFECT_ALLOWED} from './constants';

@@ -15,3 +15,3 @@ /*

import {globalDndState, setDraggingCollectionRef} from './utils';
import {RefObject} from 'react';
import {RefObject} from '@react-types/shared';

@@ -18,0 +18,0 @@ export interface DraggableCollectionOptions {}

@@ -14,7 +14,7 @@ /*

import {AriaButtonProps} from '@react-types/button';
import {DragEvent, HTMLAttributes, RefObject, useRef, useState} from 'react';
import {DragEvent, HTMLAttributes, useRef, useState} from 'react';
import * as DragManager from './DragManager';
import {DragTypes, globalAllowedDropOperations, globalDndState, readFromDataTransfer, setGlobalDnDState, setGlobalDropEffect} from './utils';
import {DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT} from './constants';
import {DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropMoveEvent, DropOperation, DragTypes as IDragTypes} from '@react-types/shared';
import {DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropMoveEvent, DropOperation, DragTypes as IDragTypes, RefObject} from '@react-types/shared';
import {isIPad, isMac, useEffectEvent, useLayoutEffect} from '@react-aria/utils';

@@ -21,0 +21,0 @@ import {useVirtualDrop} from './useVirtualDrop';

@@ -15,5 +15,5 @@ /*

import {DroppableCollectionState} from '@react-stately/dnd';
import {DropTarget, Key} from '@react-types/shared';
import {DropTarget, Key, RefObject} from '@react-types/shared';
import {getDroppableCollectionId} from './utils';
import {HTMLAttributes, RefObject} from 'react';
import {HTMLAttributes} from 'react';
// @ts-ignore

@@ -20,0 +20,0 @@ import intlMessages from '../intl/*.json';

@@ -33,7 +33,8 @@ /*

KeyboardDelegate,
Node
Node,
RefObject
} from '@react-types/shared';
import * as DragManager from './DragManager';
import {DroppableCollectionState} from '@react-stately/dnd';
import {HTMLAttributes, RefObject, useCallback, useEffect, useRef} from 'react';
import {HTMLAttributes, useCallback, useEffect, useRef} from 'react';
import {mergeProps, useId, useLayoutEffect} from '@react-aria/utils';

@@ -40,0 +41,0 @@ import {setInteractionModality} from '@react-aria/interactions';

@@ -15,5 +15,5 @@ /*

import {DroppableCollectionState} from '@react-stately/dnd';
import {DropTarget} from '@react-types/shared';
import {DropTarget, RefObject} from '@react-types/shared';
import {getDroppableCollectionRef, getTypes, globalDndState, isInternalDropOperation} from './utils';
import {HTMLAttributes, RefObject, useEffect} from 'react';
import {HTMLAttributes, useEffect} from 'react';
import {useVirtualDrop} from './useVirtualDrop';

@@ -20,0 +20,0 @@

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

import {CUSTOM_DRAG_TYPE, DROP_OPERATION, GENERIC_TYPE, NATIVE_DRAG_TYPES} from './constants';
import {DirectoryDropItem, DragItem, DropItem, FileDropItem, DragTypes as IDragTypes, Key, TextDropItem} from '@react-types/shared';
import {DirectoryDropItem, DragItem, DropItem, FileDropItem, DragTypes as IDragTypes, Key, RefObject, TextDropItem} from '@react-types/shared';
import {DroppableCollectionState} from '@react-stately/dnd';
import {getInteractionModality, useInteractionModality} from '@react-aria/interactions';
import {RefObject} from 'react';

@@ -20,0 +19,0 @@ interface DroppableCollectionMap {

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

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

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

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