diff --git a/.changeset/chilly-donuts-brush.md b/.changeset/chilly-donuts-brush.md deleted file mode 100644 index fcc3aa359..000000000 --- a/.changeset/chilly-donuts-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': patch ---- - -Avoid uninitialized variable error in Duration component with Svelte 5 diff --git a/.changeset/rare-beers-juggle.md b/.changeset/rare-beers-juggle.md deleted file mode 100644 index 40859b3de..000000000 --- a/.changeset/rare-beers-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': patch ---- - -[Form] Workaround Svelte 5 dispatching `change` event immediately diff --git a/packages/svelte-ux/CHANGELOG.md b/packages/svelte-ux/CHANGELOG.md index f0dee034a..c4c777d65 100644 --- a/packages/svelte-ux/CHANGELOG.md +++ b/packages/svelte-ux/CHANGELOG.md @@ -1,5 +1,15 @@ # svelte-ux +## 0.74.1 + +### Patch Changes + +- Avoid uninitialized variable error in Duration component with Svelte 5 ([#447](https://github.com/techniq/svelte-ux/pull/447)) + +- [movable] Fix `y` value in `move` event ([#453](https://github.com/techniq/svelte-ux/pull/453)) + +- [Form] Workaround Svelte 5 dispatching `change` event immediately ([`f419435edbf4f0c004896e87e92b9f7ba770bcc9`](https://github.com/techniq/svelte-ux/commit/f419435edbf4f0c004896e87e92b9f7ba770bcc9)) + ## 0.74.0 ### Minor Changes diff --git a/packages/svelte-ux/package.json b/packages/svelte-ux/package.json index 369d11fec..3e34a2c2a 100644 --- a/packages/svelte-ux/package.json +++ b/packages/svelte-ux/package.json @@ -4,7 +4,7 @@ "author": "Sean Lynch ", "license": "MIT", "repository": "techniq/svelte-ux", - "version": "0.74.0", + "version": "0.74.1", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/packages/svelte-ux/src/lib/actions/mouse.ts b/packages/svelte-ux/src/lib/actions/mouse.ts index fa0dd7367..72a224904 100644 --- a/packages/svelte-ux/src/lib/actions/mouse.ts +++ b/packages/svelte-ux/src/lib/actions/mouse.ts @@ -145,7 +145,7 @@ export const movable: Action = (node, o if ((xEnabled && dx) || (yEnabled && dy)) { node.dispatchEvent( new CustomEvent('move', { - detail: { x: lastX, y: lastX, dx: xEnabled ? dx : 0, dy: yEnabled ? dy : 0 }, + detail: { x: lastX, y: lastY, dx: xEnabled ? dx : 0, dy: yEnabled ? dy : 0 }, }) ); } else {