diff --git a/.changeset/plenty-islands-heal.md b/.changeset/plenty-islands-heal.md deleted file mode 100644 index db1992a6..00000000 --- a/.changeset/plenty-islands-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/react-hotkeys': patch ---- - -fix: rerun register when options.enabled is changed diff --git a/examples/react/useHeldKeys/package.json b/examples/react/useHeldKeys/package.json index 49ec2430..6c053d58 100644 --- a/examples/react/useHeldKeys/package.json +++ b/examples/react/useHeldKeys/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.0.2", + "@tanstack/react-hotkeys": "^0.0.3", "react": "^19.2.4", "react-dom": "^19.2.4" }, diff --git a/examples/react/useHotkeyRecorder/package.json b/examples/react/useHotkeyRecorder/package.json index 0f291116..87e8848b 100644 --- a/examples/react/useHotkeyRecorder/package.json +++ b/examples/react/useHotkeyRecorder/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.0.2", + "@tanstack/react-hotkeys": "^0.0.3", "react": "^19.2.4", "react-dom": "^19.2.4" }, diff --git a/examples/react/useHotkeySequence/package.json b/examples/react/useHotkeySequence/package.json index 174fc3de..1491aa74 100644 --- a/examples/react/useHotkeySequence/package.json +++ b/examples/react/useHotkeySequence/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.0.2", + "@tanstack/react-hotkeys": "^0.0.3", "react": "^19.2.4", "react-dom": "^19.2.4" }, diff --git a/examples/react/useKeyhold/package.json b/examples/react/useKeyhold/package.json index bb8cbcca..9bb6cd36 100644 --- a/examples/react/useKeyhold/package.json +++ b/examples/react/useKeyhold/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.0.2", + "@tanstack/react-hotkeys": "^0.0.3", "react": "^19.2.4", "react-dom": "^19.2.4" }, diff --git a/packages/react-hotkeys/CHANGELOG.md b/packages/react-hotkeys/CHANGELOG.md index 1b2255ff..3949795c 100644 --- a/packages/react-hotkeys/CHANGELOG.md +++ b/packages/react-hotkeys/CHANGELOG.md @@ -1,5 +1,11 @@ # @tanstack/react-hotkeys +## 0.0.3 + +### Patch Changes + +- fix: rerun register when options.enabled is changed ([`3ada864`](https://github.com/TanStack/hotkeys/commit/3ada864e07d6a6fe46dd95162592b29e681f52d1)) + ## 0.0.2 ### Patch Changes diff --git a/packages/react-hotkeys/package.json b/packages/react-hotkeys/package.json index edd04a2b..76d5b0cf 100644 --- a/packages/react-hotkeys/package.json +++ b/packages/react-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-hotkeys", - "version": "0.0.2", + "version": "0.0.3", "description": "React adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6be63d9..54a1e334 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,7 +84,7 @@ importers: examples/react/useHeldKeys: dependencies: '@tanstack/react-hotkeys': - specifier: ^0.0.2 + specifier: ^0.0.3 version: link:../../../packages/react-hotkeys react: specifier: ^19.2.4 @@ -152,7 +152,7 @@ importers: examples/react/useHotkeyRecorder: dependencies: '@tanstack/react-hotkeys': - specifier: ^0.0.2 + specifier: ^0.0.3 version: link:../../../packages/react-hotkeys react: specifier: ^19.2.4 @@ -186,7 +186,7 @@ importers: examples/react/useHotkeySequence: dependencies: '@tanstack/react-hotkeys': - specifier: ^0.0.2 + specifier: ^0.0.3 version: link:../../../packages/react-hotkeys react: specifier: ^19.2.4 @@ -220,7 +220,7 @@ importers: examples/react/useKeyhold: dependencies: '@tanstack/react-hotkeys': - specifier: ^0.0.2 + specifier: ^0.0.3 version: link:../../../packages/react-hotkeys react: specifier: ^19.2.4