Skip to content
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/add-snap-center-to-cursor-modifier.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/drag-overlay-drop-animation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-pans-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/solid-adapter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/svelte-adapter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/vue-adapter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/vue-drag-overlay.md

This file was deleted.

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

## 0.3.0

### Patch Changes

- Updated dependencies []:
- @dnd-kit/geometry@0.3.0
- @dnd-kit/state@0.3.0

## 0.2.4

### 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.2.4",
"version": "0.3.0",
"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.2.4",
"@dnd-kit/state": "^0.2.4",
"@dnd-kit/geometry": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/collision/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @dnd-kit/collision

## 0.3.0

### Patch Changes

- Updated dependencies []:
- @dnd-kit/abstract@0.3.0
- @dnd-kit/geometry@0.3.0

## 0.2.4

### 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.2.4",
"version": "0.3.0",
"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.2.4",
"@dnd-kit/geometry": "^0.2.4",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/geometry": "^0.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
16 changes: 16 additions & 0 deletions packages/dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @dnd-kit/dom

## 0.3.0

### Patch Changes

- [#2028](https://github.com/clauderic/dnd-kit/pull/2028) [`c770017`](https://github.com/clauderic/dnd-kit/commit/c770017b47187758747022ed42fa4d2b0a023384) Thanks [@dooohun](https://github.com/dooohun)! - Added `SnapToPointer` modifier that offsets the drag transform so a specified anchor point of the dragged element snaps to the cursor position. The `anchor` option accepts an `{x, y}` object with values between `0` and `1` representing the relative position within the draggable element. Defaults to `{x: 0.5, y: 0.5}` (center).

- [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854) Thanks [@clauderic](https://github.com/clauderic)! - Add `dropAnimation` prop to the `DragOverlay` component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to `null` to disable, pass `{duration, easing}` to customize timing, or provide a custom animation function for full control.

- [#1889](https://github.com/clauderic/dnd-kit/pull/1889) [`32e0172`](https://github.com/clauderic/dnd-kit/commit/32e0172293984c5f4a1242aa7fa66b2246432122) Thanks [@rjur11](https://github.com/rjur11)! - Fixed PointerSensor crash on Android caused by unhandled pointercancel events.

- Updated dependencies []:
- @dnd-kit/abstract@0.3.0
- @dnd-kit/collision@0.3.0
- @dnd-kit/geometry@0.3.0
- @dnd-kit/state@0.3.0

## 0.2.4

### 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.2.4",
"version": "0.3.0",
"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.2.4",
"@dnd-kit/collision": "^0.2.4",
"@dnd-kit/geometry": "^0.2.4",
"@dnd-kit/state": "^0.2.4",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/collision": "^0.3.0",
"@dnd-kit/geometry": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/geometry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @dnd-kit/geometry

## 0.3.0

### Patch Changes

- Updated dependencies []:
- @dnd-kit/state@0.3.0

## 0.2.4

### 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.2.4",
"version": "0.3.0",
"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.2.4",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/helpers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @dnd-kit/helpers

## 0.3.0

### Patch Changes

- Updated dependencies []:
- @dnd-kit/abstract@0.3.0

## 0.2.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dnd-kit/helpers",
"type": "module",
"version": "0.2.4",
"version": "0.3.0",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -24,7 +24,7 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.2.4",
"@dnd-kit/abstract": "^0.3.0",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @dnd-kit/react

## 0.3.0

### Patch Changes

- [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854) Thanks [@clauderic](https://github.com/clauderic)! - Add `dropAnimation` prop to the `DragOverlay` component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to `null` to disable, pass `{duration, easing}` to customize timing, or provide a custom animation function for full control.

- Updated dependencies [[`c770017`](https://github.com/clauderic/dnd-kit/commit/c770017b47187758747022ed42fa4d2b0a023384), [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854), [`32e0172`](https://github.com/clauderic/dnd-kit/commit/32e0172293984c5f4a1242aa7fa66b2246432122)]:
- @dnd-kit/dom@0.3.0
- @dnd-kit/abstract@0.3.0
- @dnd-kit/state@0.3.0

## 0.2.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/react",
"version": "0.2.4",
"version": "0.3.0",
"main": "./index.cjs",
"module": "./index.js",
"type": "module",
Expand Down Expand Up @@ -56,9 +56,9 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.2.4",
"@dnd-kit/dom": "^0.2.4",
"@dnd-kit/state": "^0.2.4",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/dom": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
Expand Down
15 changes: 15 additions & 0 deletions packages/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# @dnd-kit/solid

## 0.3.0

### Minor Changes

- [#1881](https://github.com/clauderic/dnd-kit/pull/1881) [`69f2772`](https://github.com/clauderic/dnd-kit/commit/69f27726efd3e2487eedc99606fc6f060ee0b92c) Thanks [@clauderic](https://github.com/clauderic)! - Add @dnd-kit/solid adapter package for SolidJS

### Patch Changes

- [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854) Thanks [@clauderic](https://github.com/clauderic)! - Add `dropAnimation` prop to the `DragOverlay` component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to `null` to disable, pass `{duration, easing}` to customize timing, or provide a custom animation function for full control.

- Updated dependencies [[`c770017`](https://github.com/clauderic/dnd-kit/commit/c770017b47187758747022ed42fa4d2b0a023384), [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854), [`32e0172`](https://github.com/clauderic/dnd-kit/commit/32e0172293984c5f4a1242aa7fa66b2246432122)]:
- @dnd-kit/dom@0.3.0
- @dnd-kit/abstract@0.3.0
- @dnd-kit/state@0.3.0
8 changes: 4 additions & 4 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/solid",
"version": "0.2.3",
"version": "0.3.0",
"main": "./index.cjs",
"module": "./index.js",
"type": "module",
Expand Down Expand Up @@ -55,9 +55,9 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.2.3",
"@dnd-kit/dom": "^0.2.3",
"@dnd-kit/state": "^0.2.3",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/dom": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/state/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @dnd-kit/state

## 0.3.0

## 0.2.4

## 0.2.3
Expand Down
2 changes: 1 addition & 1 deletion packages/state/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/state",
"version": "0.2.4",
"version": "0.3.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# @dnd-kit/svelte

## 0.3.0

### Minor Changes

- [`e630ec0`](https://github.com/clauderic/dnd-kit/commit/e630ec02f3819c1c5e3a4fcd05d0c65850ffaa0b) Thanks [@clauderic](https://github.com/clauderic)! - Initial release of @dnd-kit/svelte – a Svelte 5 adapter for dnd kit. Provides `DragDropProvider`, `DragOverlay`, `createDraggable`, `createDroppable`, and `createSortable` using Svelte 5 runes and attachments (`{@attach}`).

### Patch Changes

- Updated dependencies [[`c770017`](https://github.com/clauderic/dnd-kit/commit/c770017b47187758747022ed42fa4d2b0a023384), [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854), [`32e0172`](https://github.com/clauderic/dnd-kit/commit/32e0172293984c5f4a1242aa7fa66b2246432122)]:
- @dnd-kit/dom@0.3.0
- @dnd-kit/abstract@0.3.0
- @dnd-kit/state@0.3.0
8 changes: 4 additions & 4 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/svelte",
"version": "0.2.3",
"version": "0.3.0",
"type": "module",
"svelte": "./dist/core/index.js",
"types": "./dist/core/index.d.ts",
Expand Down Expand Up @@ -34,9 +34,9 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.2.3",
"@dnd-kit/dom": "^0.2.3",
"@dnd-kit/state": "^0.2.3",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/dom": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
Expand Down
15 changes: 15 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# @dnd-kit/vue

## 0.3.0

### Minor Changes

- [#1880](https://github.com/clauderic/dnd-kit/pull/1880) [`a53b4c7`](https://github.com/clauderic/dnd-kit/commit/a53b4c71f320c1a1447e55c147af4912c1a4fcf5) Thanks [@clauderic](https://github.com/clauderic)! - Add @dnd-kit/vue adapter package for Vue 3.5+

- [`570c2a9`](https://github.com/clauderic/dnd-kit/commit/570c2a972e5cc48c54c72b276c53604c9a277b50) Thanks [@clauderic](https://github.com/clauderic)! - Add `DragOverlay` component to `@dnd-kit/vue`.

### Patch Changes

- Updated dependencies [[`c770017`](https://github.com/clauderic/dnd-kit/commit/c770017b47187758747022ed42fa4d2b0a023384), [`5d64078`](https://github.com/clauderic/dnd-kit/commit/5d640782702b74da8be38cbd1e29271d04781854), [`32e0172`](https://github.com/clauderic/dnd-kit/commit/32e0172293984c5f4a1242aa7fa66b2246432122)]:
- @dnd-kit/dom@0.3.0
- @dnd-kit/abstract@0.3.0
- @dnd-kit/state@0.3.0
8 changes: 4 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnd-kit/vue",
"version": "0.2.3",
"version": "0.3.0",
"main": "./index.cjs",
"module": "./index.js",
"type": "module",
Expand Down Expand Up @@ -55,9 +55,9 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.2.3",
"@dnd-kit/dom": "^0.2.3",
"@dnd-kit/state": "^0.2.3",
"@dnd-kit/abstract": "^0.3.0",
"@dnd-kit/dom": "^0.3.0",
"@dnd-kit/state": "^0.3.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
Expand Down