Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1

Open
wants to merge 1 commit into
base: experimental
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/batch-sortable.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/closest-corners.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/collision-observer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/distinct-sortable-element.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/feedback-plugin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/feedback-root.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fix-collision-priority.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-cross-window-instanceof.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-droppable-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-function-comparison.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fix-generics.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-idle-transitions.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-unregister-bug.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-vanilla-droppable.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/improve-shape-intersection.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keyboard-sensor.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/keyboard-tab-end.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/move-helper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/notifier-observer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/optimistic-sort-across-group.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pointer-sensor-capture.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pointer-sensor.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/prevent-unnecessary-rerenders.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/prevent-unstable-ref.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-worms-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/safari-focus.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sortable-group-aniamtion.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sortable-group-index.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sortable-keyboard-corners.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/track-velocity.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/use-computed-deps.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/abstract/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @dnd-kit/abstract

## 0.0.6

### Patch Changes

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a04d3f8`](https://github.com/clauderic/dnd-kit/commit/a04d3f88d380853b97585ab3b608561f7b02ce69) Thanks [@github-actions](https://github.com/apps/github-actions)! - Rework how collisions are detected and how the position of elements is observed using a new `PositionObserver`.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a8542de`](https://github.com/clauderic/dnd-kit/commit/a8542de56d39c3cd3b6ef981172a0782454295b2) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix issues with `collisionPriority` not being respected.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`f7458d9`](https://github.com/clauderic/dnd-kit/commit/f7458d9dc32824dbea3a6d5dfb29236f19a2c073) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fixed a bug where the `accept` function of `Droppable` was never invoked if the `draggable` did not have a `type` set.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`e70b29a`](https://github.com/clauderic/dnd-kit/commit/e70b29ae64837e424f7279c95112fb6e420c4dcc) Thanks [@github-actions](https://github.com/apps/github-actions)! - Make sure the generic for `DragDropManager` is passed through to `Entity` so that the `manager` reference on classes extending `Entity` is strongly typed.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`4d1a030`](https://github.com/clauderic/dnd-kit/commit/4d1a0306c920ae064eb5b30c4c02961f50460c84) Thanks [@github-actions](https://github.com/apps/github-actions)! - Make sure the cleanup function of effects is invoked when registering a new instance with the same `id` before the old instance has been unregistered.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a5933d8`](https://github.com/clauderic/dnd-kit/commit/a5933d8607e63ed08818ffab43e858863cb35d47) Thanks [@github-actions](https://github.com/apps/github-actions)! - Move responsibility from `CollisionObserver` to `CollisionNotifier` to check if the previous collisions are equal to the next collisions.

- [#1448](https://github.com/clauderic/dnd-kit/pull/1448) [`96f28ef`](https://github.com/clauderic/dnd-kit/commit/96f28ef86adf95e77540732d39033c7f3fb0fd04) Thanks [@lfades](https://github.com/lfades)! - Allow entities to receive a new id during the lifecycle of the entity

- Updated dependencies [[`b750c05`](https://github.com/clauderic/dnd-kit/commit/b750c05b4b14f5d9817dc07d974d40b74470e904), [`71dc39f`](https://github.com/clauderic/dnd-kit/commit/71dc39fb2ec21b9a680238a91be419c71ecabe86)]:
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]

## 0.0.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/abstract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/abstract",
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"main": "./index.cjs",
"module": "./index.js",
Expand Down Expand Up @@ -44,8 +44,8 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/geometry": "^0.0.5",
"@dnd-kit/state": "^0.0.5",
"@dnd-kit/geometry": "^0.0.6",
"@dnd-kit/state": "^0.0.6",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions packages/collision/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @dnd-kit/collision

## 0.0.6

### Patch Changes

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`69bfad7`](https://github.com/clauderic/dnd-kit/commit/69bfad7d795947987a4281f1a61f81b6a7839fe8) Thanks [@github-actions](https://github.com/apps/github-actions)! - Introduce `closestCorners` collision detection algorithm.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a8542de`](https://github.com/clauderic/dnd-kit/commit/a8542de56d39c3cd3b6ef981172a0782454295b2) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix issues with `collisionPriority` not being respected.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a6366f9`](https://github.com/clauderic/dnd-kit/commit/a6366f9e42836b4c5732141bf314489ede9f60cb) Thanks [@github-actions](https://github.com/apps/github-actions)! - Improve accuracy of `shapeIntersection` when there are multiple intersecting shapes.

- Updated dependencies [[`a04d3f8`](https://github.com/clauderic/dnd-kit/commit/a04d3f88d380853b97585ab3b608561f7b02ce69), [`a8542de`](https://github.com/clauderic/dnd-kit/commit/a8542de56d39c3cd3b6ef981172a0782454295b2), [`f7458d9`](https://github.com/clauderic/dnd-kit/commit/f7458d9dc32824dbea3a6d5dfb29236f19a2c073), [`e70b29a`](https://github.com/clauderic/dnd-kit/commit/e70b29ae64837e424f7279c95112fb6e420c4dcc), [`4d1a030`](https://github.com/clauderic/dnd-kit/commit/4d1a0306c920ae064eb5b30c4c02961f50460c84), [`a5933d8`](https://github.com/clauderic/dnd-kit/commit/a5933d8607e63ed08818ffab43e858863cb35d47), [`96f28ef`](https://github.com/clauderic/dnd-kit/commit/96f28ef86adf95e77540732d39033c7f3fb0fd04), [`71dc39f`](https://github.com/clauderic/dnd-kit/commit/71dc39fb2ec21b9a680238a91be419c71ecabe86)]:
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]

## 0.0.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/collision/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dnd-kit/collision",
"type": "module",
"version": "0.0.5",
"version": "0.0.6",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -24,8 +24,8 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.0.5",
"@dnd-kit/geometry": "^0.0.5",
"@dnd-kit/abstract": "^0.0.6",
"@dnd-kit/geometry": "^0.0.6",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
44 changes: 44 additions & 0 deletions packages/dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# @dnd-kit/dom

## 0.0.6

### Patch Changes

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`94920c8`](https://github.com/clauderic/dnd-kit/commit/94920c8a7a3a15accfb806b52e4935637b1a0781) Thanks [@github-actions](https://github.com/apps/github-actions)! - Batch write operations to `draggable` and `droppable`. Also ensured that droppable instance is registered before draggable instance.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a04d3f8`](https://github.com/clauderic/dnd-kit/commit/a04d3f88d380853b97585ab3b608561f7b02ce69) Thanks [@github-actions](https://github.com/apps/github-actions)! - Rework how collisions are detected and how the position of elements is observed using a new `PositionObserver`.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`8053e4b`](https://github.com/clauderic/dnd-kit/commit/8053e4b4a727c6097b29fb559ce72362d7d6eb2a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Allow `Sortable` to have a distinct `element` from the underlying `source` and `target` elements. This can be useful if you want the collision detection to operate on a subset of the sortable element, but the entirety of the element to move when its index changes.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`f400106`](https://github.com/clauderic/dnd-kit/commit/f400106072d12a902f6c113b889c7de97f43e1ea) Thanks [@github-actions](https://github.com/apps/github-actions)! - Improve the `Feedback` plugin to better handle when the feedback element resizes during a drag operation.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`c597b3f`](https://github.com/clauderic/dnd-kit/commit/c597b3fe1514f10e227c287dc8ad875134e9b4cb) Thanks [@github-actions](https://github.com/apps/github-actions)! - Introduce `rootElement` option on `Feedback` plugin.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`a9798f4`](https://github.com/clauderic/dnd-kit/commit/a9798f43450e406e8cb235b7d5fba8bb809fd1d7) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix issues with `instanceof` checks in cross-window environments where the `window` of an element can differ from the execution context window.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`e70b29a`](https://github.com/clauderic/dnd-kit/commit/e70b29ae64837e424f7279c95112fb6e420c4dcc) Thanks [@github-actions](https://github.com/apps/github-actions)! - Make sure the generic for `DragDropManager` is passed through to `Entity` so that the `manager` reference on classes extending `Entity` is strongly typed.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`3d0b00a`](https://github.com/clauderic/dnd-kit/commit/3d0b00a663b9dc38ccd7a46544c94a342694b626) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix an issue where we would update the shape of sortable items while the drag operation status was idle.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`51be6df`](https://github.com/clauderic/dnd-kit/commit/51be6dfe1b8cb42f74df34c76098e197b9208f81) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix `element` not being set when provided on initialization of `Droppable`

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`fe76033`](https://github.com/clauderic/dnd-kit/commit/fe7603330fb4b0a397c0e2af641df94fc2879c35) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fixed a bug in the `KeyboardSensor` that would cause the sensor to activate when focusing elements within the sortable element other than the handle.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`62a8118`](https://github.com/clauderic/dnd-kit/commit/62a81180c84f7782b14b69b56f891c810e7d0f69) Thanks [@github-actions](https://github.com/apps/github-actions)! - Added `Tab` to the list of default keycodes that end the current drag operation.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`0c7bf85`](https://github.com/clauderic/dnd-kit/commit/0c7bf85897992dc48c3cf2f1deeaa896995bfcc3) Thanks [@github-actions](https://github.com/apps/github-actions)! - Allow the `OptimisticSortingPlugin` to sort elements across different groups.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`f219549`](https://github.com/clauderic/dnd-kit/commit/f219549087d9100cee53ab0cf35d820fe256aa85) Thanks [@github-actions](https://github.com/apps/github-actions)! - Fix pointer events no longer being detected by the `PointerSensor` when the event target is disconnected from the DOM by setting pointer capture on the document body for `pointermove` events.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`bfc8ab2`](https://github.com/clauderic/dnd-kit/commit/bfc8ab21cfd9c16a8d90ab250386e6d52d0a40a3) Thanks [@github-actions](https://github.com/apps/github-actions)! - **PointerSensor**: Defer invoking `setPointerCapture` until activation constraints are met as it can interfere with `click` and other event handlers. Also deferred adding `touchmove`, `click` and `keydown` event listeners until the activation constraints are met.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`3fb972e`](https://github.com/clauderic/dnd-kit/commit/3fb972e228aabfe07d662b77c642405f909fddb0) Thanks [@github-actions](https://github.com/apps/github-actions)! - **AccessibilityPlugin**: Force `tabindex="0"` in Safari even for natively focusable elements as they are not always focusable by default.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`5b36f8f`](https://github.com/clauderic/dnd-kit/commit/5b36f8fb36f5a4468793b469425b5c0461426f56) Thanks [@github-actions](https://github.com/apps/github-actions)! - Allow sortable animations when changing to a different group even when the index remains the same.

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`69bfad7`](https://github.com/clauderic/dnd-kit/commit/69bfad7d795947987a4281f1a61f81b6a7839fe8) Thanks [@github-actions](https://github.com/apps/github-actions)! - `SortableKeyboardPlugin`: Use `closestCorners` collision detection algorithm instead of `closestCenter` when keyboard sorting.

- Updated dependencies [[`69bfad7`](https://github.com/clauderic/dnd-kit/commit/69bfad7d795947987a4281f1a61f81b6a7839fe8), [`a04d3f8`](https://github.com/clauderic/dnd-kit/commit/a04d3f88d380853b97585ab3b608561f7b02ce69), [`a8542de`](https://github.com/clauderic/dnd-kit/commit/a8542de56d39c3cd3b6ef981172a0782454295b2), [`f7458d9`](https://github.com/clauderic/dnd-kit/commit/f7458d9dc32824dbea3a6d5dfb29236f19a2c073), [`b750c05`](https://github.com/clauderic/dnd-kit/commit/b750c05b4b14f5d9817dc07d974d40b74470e904), [`e70b29a`](https://github.com/clauderic/dnd-kit/commit/e70b29ae64837e424f7279c95112fb6e420c4dcc), [`4d1a030`](https://github.com/clauderic/dnd-kit/commit/4d1a0306c920ae064eb5b30c4c02961f50460c84), [`a6366f9`](https://github.com/clauderic/dnd-kit/commit/a6366f9e42836b4c5732141bf314489ede9f60cb), [`a5933d8`](https://github.com/clauderic/dnd-kit/commit/a5933d8607e63ed08818ffab43e858863cb35d47), [`96f28ef`](https://github.com/clauderic/dnd-kit/commit/96f28ef86adf95e77540732d39033c7f3fb0fd04), [`71dc39f`](https://github.com/clauderic/dnd-kit/commit/71dc39fb2ec21b9a680238a91be419c71ecabe86)]:
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]

## 0.0.5

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/dom",
"version": "0.0.5",
"version": "0.0.6",
"type": "module",
"main": "./index.cjs",
"module": "./index.js",
Expand Down Expand Up @@ -74,10 +74,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.0.5",
"@dnd-kit/collision": "^0.0.5",
"@dnd-kit/geometry": "^0.0.5",
"@dnd-kit/state": "^0.0.5",
"@dnd-kit/abstract": "^0.0.6",
"@dnd-kit/collision": "^0.0.6",
"@dnd-kit/geometry": "^0.0.6",
"@dnd-kit/state": "^0.0.6",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions packages/geometry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @dnd-kit/geometry

## 0.0.6

### Patch Changes

- [#1454](https://github.com/clauderic/dnd-kit/pull/1454) [`71dc39f`](https://github.com/clauderic/dnd-kit/commit/71dc39fb2ec21b9a680238a91be419c71ecabe86) Thanks [@github-actions](https://github.com/apps/github-actions)! - Added `velocity` property on `Position` interface to track the current velocity of position updates in the `x` and `y` axis.

- Updated dependencies [[`b750c05`](https://github.com/clauderic/dnd-kit/commit/b750c05b4b14f5d9817dc07d974d40b74470e904)]:
- @dnd-kit/[email protected]

## 0.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/geometry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/geometry",
"version": "0.0.5",
"version": "0.0.6",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand All @@ -16,7 +16,7 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/state": "^0.0.5",
"@dnd-kit/state": "^0.0.6",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
Loading