Skip to content

Conversation

@LFDanLu
Copy link
Member

@LFDanLu LFDanLu commented Aug 28, 2025

This reverts commit 8c5b7a0.

Closes

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

@snowystinger snowystinger changed the title Revert "chore: add dnd hooks to rac (#8743)" chore: Revert add dnd hooks to rac (#8743) Aug 28, 2025
@LFDanLu LFDanLu enabled auto-merge August 28, 2025 22:14
@rspbot
Copy link

rspbot commented Aug 28, 2025

@rspbot
Copy link

rspbot commented Aug 28, 2025

## API Changes

react-aria-components

/react-aria-components:useDrag

-useDrag {
-  options: DragOptions
-  returnVal: undefined
-}

/react-aria-components:useDrop

-useDrop {
-  options: DropOptions
-  returnVal: undefined
-}

/react-aria-components:DragOptions

-DragOptions {
-  getAllowedDropOperations?: () => Array<DropOperation>
-  getItems: () => Array<DragItem>
-  hasDragButton?: boolean
-  isDisabled?: boolean
-  onDragEnd?: (DragEndEvent) => void
-  onDragMove?: (DragMoveEvent) => void
-  onDragStart?: (DragStartEvent) => void
-  preview?: RefObject<DragPreviewRenderer | null>
-}

/react-aria-components:DragResult

-DragResult {
-  dragButtonProps: AriaButtonProps
-  dragProps: HTMLAttributes<HTMLElement>
-  isDragging: boolean
-}

@LFDanLu LFDanLu added this pull request to the merge queue Aug 28, 2025
Merged via the queue into main with commit 47b4d87 Aug 28, 2025
32 of 33 checks passed
@LFDanLu LFDanLu deleted the revert_for_patch branch August 28, 2025 22:31
LFDanLu added a commit that referenced this pull request Aug 28, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 28, 2025
…8795)

* Revert "Revert "chore: add dnd hooks to rac (#8743)" (#8793)"

This reverts commit 47b4d87.

* update yarn lock

* update snapshots

* sigh auto update snapshot failed lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants