github clauderic/dnd-kit @dnd-kit/collision@0.0.9

latest releases: @dnd-kit/state@0.1.21, @dnd-kit/react@0.1.21, @dnd-kit/helpers@0.1.21...
7 months ago

Patch Changes

  • #1600 3463da1 Thanks @github-actions! - Changed the closestCorners algorithm to use the corners of the drag operation shape instead of the center of the shape.

  • #1600 8ae7014 Thanks @github-actions! - - Added corners getter to Rectangle instances to retrieve the coordinates of all four corners.

    • Added delta static method to the Rectangle constructor which makes it easy to calculate the delta between a given reference point of both shapes.
  • Updated dependencies [e36d954, 60e7297, b7f1cf8, 3e629cc, 8ae7014, ce31da7]:

    • @dnd-kit/abstract@0.0.9
    • @dnd-kit/geometry@0.0.9

Don't miss a new dnd-kit release

NewReleases is sending notifications on new releases.