Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/techniq/svelte-ux
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Aug 6, 2024
2 parents cac93c5 + e3e9c29 commit 1e5f4f3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .changeset/chilly-donuts-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-beers-juggle.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/svelte-ux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-ux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Sean Lynch <[email protected]>",
"license": "MIT",
"repository": "techniq/svelte-ux",
"version": "0.74.0",
"version": "0.74.1",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-ux/src/lib/actions/mouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const movable: Action<HTMLElement, MovableOptions | undefined> = (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 {
Expand Down

0 comments on commit 1e5f4f3

Please sign in to comment.