@react-spectrum/dnd
Advanced tools
Comparing version
@@ -34,3 +34,4 @@ var $9NCiI$reactariadnd = require("@react-aria/dnd"); | ||
...props, | ||
...options | ||
...options, | ||
getItems: options.getItems | ||
}); | ||
@@ -37,0 +38,0 @@ }; |
@@ -28,3 +28,4 @@ import {useDraggableCollection as $ejrPO$useDraggableCollection, useDraggableItem as $ejrPO$useDraggableItem, DragPreview as $ejrPO$DragPreview, useDroppableItem as $ejrPO$useDroppableItem, useDroppableCollection as $ejrPO$useDroppableCollection, useDropIndicator as $ejrPO$useDropIndicator, isVirtualDragging as $ejrPO$isVirtualDragging} from "@react-aria/dnd"; | ||
...props, | ||
...options | ||
...options, | ||
getItems: options.getItems | ||
}); | ||
@@ -31,0 +32,0 @@ }; |
{ | ||
"name": "@react-spectrum/dnd", | ||
"version": "3.0.0-nightly-dcc0752f8-241031", | ||
"version": "3.0.0-nightly-e00dc8373-250318", | ||
"description": "Spectrum UI components in React", | ||
@@ -39,5 +39,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/dnd": "^3.0.0-nightly-dcc0752f8-241031", | ||
"@react-stately/dnd": "^3.0.0-nightly-dcc0752f8-241031", | ||
"@react-types/shared": "^3.0.0-nightly-dcc0752f8-241031", | ||
"@react-aria/dnd": "3.0.0-nightly-e00dc8373-250318", | ||
"@react-stately/dnd": "3.0.0-nightly-e00dc8373-250318", | ||
"@react-types/shared": "3.0.0-nightly-e00dc8373-250318", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -49,10 +49,9 @@ }, | ||
"peerDependencies": { | ||
"@react-spectrum/provider": "^3.0.0-nightly-dcc0752f8-241031", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"@react-spectrum/provider": "3.0.0-nightly-e00dc8373-250318", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", | ||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.4.3" | ||
} | ||
} |
@@ -93,4 +93,4 @@ /* | ||
if (isDraggable) { | ||
hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(props: DraggableCollectionStateOptions) { | ||
return useDraggableCollectionState({...props, ...options}); | ||
hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(props: DraggableCollectionStateOpts) { | ||
return useDraggableCollectionState({...props, ...options, getItems: options.getItems!}); | ||
}; | ||
@@ -97,0 +97,0 @@ hooks.useDraggableCollection = useDraggableCollection; |
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
44221
0.55%426
0.71%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed