Skip to content

Version Packages (next) - #1014

Merged
davedbase merged 2 commits into
nextfrom
changeset-release/next
Aug 17, 2026
Merged

Version Packages (next)#1014
davedbase merged 2 commits into
nextfrom
changeset-release/next

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@solid-primitives/drag-drop@0.1.0-next.0

Minor Changes

  • 75d2a1f: New package: @solid-primitives/drag-drop — composable drag-and-drop primitives for Solid 2.0.

    Exports

    Pointer-event DnD (UI element dragging):

    • makeDraggable — non-reactive base, no Solid owner required
    • makeDroppable — non-reactive drop target base
    • createDraggable — reactive draggable with isDragging, transform, auto style/class; keyboard-accessible (Space/Enter to pick up/drop, arrow keys to nudge, Escape to cancel)
    • createDroppable — reactive drop target with isOver, active, auto style/class
    • createSortable — combines draggable + droppable on the same element
    • createDragContext — coordinates a tree of draggables and droppables, with optional autoScroll near viewport edges
    • arrayMove — pure reorder helper for onDragEnd + createSortable

    Native HTML5 DnD (file drops, draggable="true" elements):

    • makeNativeDroppable — non-reactive base with depth-counter fix for child elements
    • createNativeDroppable — reactive native drop zone for OS file drops

    Collision detection strategies (pure functions, pass to createDragContext):

    • closestCenter, closestCorners, rectIntersection, pointerWithin (default)

    Notes

    • The reported transform is corrected for page scroll during a drag, so the dragged element doesn't visually drift from the pointer if the page scrolls mid-drag (needed for autoScroll to look right, and for any scrollable page in general).
    • createDroppable/createSortable log a dev-mode warning when used without a createDragContext ancestor, since isOver/active silently stay false/null in that case.
    • isDragging/isOver are backed by createProjection instead of a per-instance active()?.id === id memo, so a drag start/end or hover change in a large list only notifies the specific items involved.

@solid-primitives/upload@1.0.0-next.4

Patch Changes

  • Updated dependencies [75d2a1f]
    • @solid-primitives/drag-drop@0.1.0-next.0

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying solid-primitives with  Cloudflare Pages  Cloudflare Pages

Latest commit: 87dbf8c
Status:⚡️  Build in progress...

View logs

@netlify

netlify Bot commented Aug 17, 2026

Copy link
Copy Markdown

Deploy Preview for solid-primitives-v2 ready!

Name Link
🔨 Latest commit 81e123d
🔍 Latest deploy log https://app.netlify.com/projects/solid-primitives-v2/deploys/6a830aa72d3c6c0008ce1110
😎 Deploy Preview https://deploy-preview-1014--solid-primitives-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@davedbase
davedbase merged commit 5b4abf8 into next Aug 17, 2026
4 checks passed
@davedbase
davedbase deleted the changeset-release/next branch August 17, 2026 13:20
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.

1 participant