@react-types/shared 3.0.0-nightly-e67726023-250710 → 3.0.0-nightly-94f057575-250711

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dnd.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/shared",
3
- "version": "3.0.0-nightly-e67726023-250710",
3
+ "version": "3.0.0-nightly-94f057575-250711",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
package/src/dnd.d.ts CHANGED
@@ -275,7 +275,7 @@ export interface DraggableCollectionEndEvent extends DragEndEvent {
275
275
  isInternal: boolean
276
276
  }
277
277
 
278
- export type DragPreviewRenderer = (items: DragItem[], callback: (node: HTMLElement | null) => void) => void;
278
+ export type DragPreviewRenderer = (items: DragItem[], callback: (node: HTMLElement | null, x?: number, y?: number) => void) => void;
279
279
 
280
280
  export interface DraggableCollectionProps {
281
281
  /** Handler that is called when a drag operation is started. */