@react-aria/dnd
Advanced tools
Comparing version
@@ -26,3 +26,3 @@ var $l6JIF$reactdom = require("react-dom"); | ||
function $2dccaca1f4baa446$var$DragPreview(props, ref) { | ||
const $2dccaca1f4baa446$export$905ab40ac2179daa = /*#__PURE__*/ (0, ($parcel$interopDefault($l6JIF$react))).forwardRef(function DragPreview(props, ref) { | ||
let render = props.children; | ||
@@ -62,6 +62,5 @@ let [children, setChildren] = (0, $l6JIF$react.useState)(null); | ||
}, children); | ||
} | ||
let $2dccaca1f4baa446$export$905ab40ac2179daa = /*#__PURE__*/ (0, ($parcel$interopDefault($l6JIF$react))).forwardRef($2dccaca1f4baa446$var$DragPreview); | ||
}); | ||
//# sourceMappingURL=DragPreview.main.js.map |
@@ -16,3 +16,3 @@ import {flushSync as $eLjnH$flushSync} from "react-dom"; | ||
function $ad0e3f3d9c50e4ba$var$DragPreview(props, ref) { | ||
const $ad0e3f3d9c50e4ba$export$905ab40ac2179daa = /*#__PURE__*/ (0, $eLjnH$react).forwardRef(function DragPreview(props, ref) { | ||
let render = props.children; | ||
@@ -52,4 +52,3 @@ let [children, setChildren] = (0, $eLjnH$useState)(null); | ||
}, children); | ||
} | ||
let $ad0e3f3d9c50e4ba$export$905ab40ac2179daa = /*#__PURE__*/ (0, $eLjnH$react).forwardRef($ad0e3f3d9c50e4ba$var$DragPreview); | ||
}); | ||
@@ -56,0 +55,0 @@ |
@@ -181,3 +181,3 @@ import { DirectoryDropItem, DropItem, FileDropItem, TextDropItem, DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropMoveEvent, DropOperation, FocusableElement, DragTypes, RefObject, DroppableCollectionProps, DropTargetDelegate, KeyboardDelegate, DropTarget, DragEndEvent, DragItem, DragMoveEvent, DragPreviewRenderer, DragStartEvent, Key, DOMAttributes, Direction, Node, Orientation } from "@react-types/shared"; | ||
} | ||
export let DragPreview: React.ForwardRefExoticComponent<DragPreviewProps & React.RefAttributes<DragPreviewRenderer | null>>; | ||
export const DragPreview: React.ForwardRefExoticComponent<DragPreviewProps & React.RefAttributes<DragPreviewRenderer | null>>; | ||
export interface ClipboardProps { | ||
@@ -184,0 +184,0 @@ /** A function that returns the items to copy. */ |
{ | ||
"name": "@react-aria/dnd", | ||
"version": "3.0.0-nightly-ab9fd5c68-241126", | ||
"version": "3.0.0-nightly-b0f156972-241128", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,11 +25,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/string": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/i18n": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/interactions": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/overlays": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/utils": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-stately/dnd": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/button": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/shared": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@internationalized/string": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/i18n": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/interactions": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/overlays": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/utils": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-stately/dnd": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/button": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/shared": "^3.0.0-nightly-b0f156972-241128", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -36,0 +36,0 @@ }, |
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
1726148
-0.02%16216
-0.03%