From 53a13a1c296f902651452d58ebb94de8a890d75b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 24 Feb 2024 17:07:02 +0000 Subject: [PATCH] Version Packages --- .changeset/fast-walls-design.md | 5 --- .changeset/few-seas-punch.md | 5 --- .changeset/proud-boats-beam.md | 40 -------------------- apps/next-react-test/CHANGELOG.md | 10 +++++ apps/next-react-test/package.json | 2 +- apps/preact-test/CHANGELOG.md | 10 +++++ apps/preact-test/package.json | 2 +- apps/react-test/CHANGELOG.md | 10 +++++ apps/react-test/package.json | 2 +- packages/components-for-test/CHANGELOG.md | 10 +++++ packages/components-for-test/package.json | 2 +- packages/query/CHANGELOG.md | 9 +++++ packages/query/package.json | 2 +- packages/utils/CHANGELOG.md | 46 +++++++++++++++++++++++ packages/utils/package.json | 2 +- 15 files changed, 101 insertions(+), 56 deletions(-) delete mode 100644 .changeset/fast-walls-design.md delete mode 100644 .changeset/few-seas-punch.md delete mode 100644 .changeset/proud-boats-beam.md diff --git a/.changeset/fast-walls-design.md b/.changeset/fast-walls-design.md deleted file mode 100644 index b99874ac..00000000 --- a/.changeset/fast-walls-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact-signals/utils": patch ---- - -Added markdown docs diff --git a/.changeset/few-seas-punch.md b/.changeset/few-seas-punch.md deleted file mode 100644 index ad1d1280..00000000 --- a/.changeset/few-seas-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@preact-signals/utils": patch ---- - -Added documentation about using HOCs with third party libraries diff --git a/.changeset/proud-boats-beam.md b/.changeset/proud-boats-beam.md deleted file mode 100644 index 48dfb2f3..00000000 --- a/.changeset/proud-boats-beam.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -"@preact-signals/utils": minor ---- - -Added `@preact-signals/utils/integrations/reanimated`. It provides hooks to convert signals to Reanimated shared values. - -Example: - -```tsx -import { useSignal } from "@preact-signals/react"; -import { useAnimatedSharedValueOfAccessor } from "@preact-signals/utils/integrations/reanimated"; -import { useAnimatedStyle } from "react-native-reanimated"; - -const maxLength = 10; -function ExampleComponent() { - const input = useSignal(""); - const progress = useAnimatedSharedValueOfAccessor( - () => input.value.length / maxLength, - { - type: "spring", - params: { - damping: 10, - }, - } - ); - return ( - - (input.value = v)} /> - ({ - alignSelf: "stretch", - backgroundColor: "blue", - height: 10, - transform: [{ scaleX: progress.value }], - }))} - /> - - ); -} -``` diff --git a/apps/next-react-test/CHANGELOG.md b/apps/next-react-test/CHANGELOG.md index 35b07106..b3bbb7a3 100644 --- a/apps/next-react-test/CHANGELOG.md +++ b/apps/next-react-test/CHANGELOG.md @@ -1,5 +1,15 @@ # next-react-test +## 0.1.15 + +### Patch Changes + +- Updated dependencies [a11836b] +- Updated dependencies [8fee2c3] +- Updated dependencies [a83109b] + - @preact-signals/utils@0.16.0 + - components-for-test@5.0.1 + ## 0.1.14 ### Patch Changes diff --git a/apps/next-react-test/package.json b/apps/next-react-test/package.json index 571c40b8..d8b71634 100644 --- a/apps/next-react-test/package.json +++ b/apps/next-react-test/package.json @@ -1,6 +1,6 @@ { "name": "next-react-test", - "version": "0.1.14", + "version": "0.1.15", "private": true, "scripts": { "dev": "next dev", diff --git a/apps/preact-test/CHANGELOG.md b/apps/preact-test/CHANGELOG.md index a2ea1af7..65ab01e5 100644 --- a/apps/preact-test/CHANGELOG.md +++ b/apps/preact-test/CHANGELOG.md @@ -1,5 +1,15 @@ # preact-test +## 0.0.34 + +### Patch Changes + +- Updated dependencies [a11836b] +- Updated dependencies [8fee2c3] +- Updated dependencies [a83109b] + - @preact-signals/utils@0.16.0 + - components-for-test@5.0.1 + ## 0.0.33 ### Patch Changes diff --git a/apps/preact-test/package.json b/apps/preact-test/package.json index 6666ad30..3541eb60 100644 --- a/apps/preact-test/package.json +++ b/apps/preact-test/package.json @@ -1,7 +1,7 @@ { "name": "preact-test", "private": true, - "version": "0.0.33", + "version": "0.0.34", "type": "module", "scripts": { "dev": "vite", diff --git a/apps/react-test/CHANGELOG.md b/apps/react-test/CHANGELOG.md index 45f9bd2b..ab91aa2f 100644 --- a/apps/react-test/CHANGELOG.md +++ b/apps/react-test/CHANGELOG.md @@ -1,5 +1,15 @@ # react-test +## 0.0.40 + +### Patch Changes + +- Updated dependencies [a11836b] +- Updated dependencies [8fee2c3] +- Updated dependencies [a83109b] + - @preact-signals/utils@0.16.0 + - components-for-test@5.0.1 + ## 0.0.39 ### Patch Changes diff --git a/apps/react-test/package.json b/apps/react-test/package.json index 1d2e1c8e..99d27ea8 100644 --- a/apps/react-test/package.json +++ b/apps/react-test/package.json @@ -1,7 +1,7 @@ { "name": "react-test", "private": true, - "version": "0.0.39", + "version": "0.0.40", "type": "module", "scripts": { "dev:patching": "cross-env TRACKING_METHOD='patching' vite", diff --git a/packages/components-for-test/CHANGELOG.md b/packages/components-for-test/CHANGELOG.md index 6e3c2296..dbf65ec1 100644 --- a/packages/components-for-test/CHANGELOG.md +++ b/packages/components-for-test/CHANGELOG.md @@ -1,5 +1,15 @@ # components-for-test +## 5.0.1 + +### Patch Changes + +- Updated dependencies [a11836b] +- Updated dependencies [8fee2c3] +- Updated dependencies [a83109b] + - @preact-signals/utils@0.16.0 + - @preact-signals/query@1.4.1 + ## 5.0.0 ### Patch Changes diff --git a/packages/components-for-test/package.json b/packages/components-for-test/package.json index 206cc77e..77909ff5 100644 --- a/packages/components-for-test/package.json +++ b/packages/components-for-test/package.json @@ -1,6 +1,6 @@ { "name": "components-for-test", - "version": "5.0.0", + "version": "5.0.1", "private": true, "sideEffects": false, "author": { diff --git a/packages/query/CHANGELOG.md b/packages/query/CHANGELOG.md index 84f40755..af8e2720 100644 --- a/packages/query/CHANGELOG.md +++ b/packages/query/CHANGELOG.md @@ -1,5 +1,14 @@ # @preact-signals/query +## 1.4.1 + +### Patch Changes + +- Updated dependencies [a11836b] +- Updated dependencies [8fee2c3] +- Updated dependencies [a83109b] + - @preact-signals/utils@0.16.0 + ## 1.4.0 ### Minor Changes diff --git a/packages/query/package.json b/packages/query/package.json index 5ba165fa..43852c59 100644 --- a/packages/query/package.json +++ b/packages/query/package.json @@ -1,6 +1,6 @@ { "name": "@preact-signals/query", - "version": "1.4.0", + "version": "1.4.1", "private": false, "publishConfig": { "access": "public" diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index b63ed9da..a98f54f4 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,51 @@ # @preact-signals/utils +## 0.16.0 + +### Minor Changes + +- a83109b: Added `@preact-signals/utils/integrations/reanimated`. It provides hooks to convert signals to Reanimated shared values. + + Example: + + ```tsx + import { useSignal } from "@preact-signals/react"; + import { useAnimatedSharedValueOfAccessor } from "@preact-signals/utils/integrations/reanimated"; + import { useAnimatedStyle } from "react-native-reanimated"; + + const maxLength = 10; + function ExampleComponent() { + const input = useSignal(""); + const progress = useAnimatedSharedValueOfAccessor( + () => input.value.length / maxLength, + { + type: "spring", + params: { + damping: 10, + }, + }, + ); + return ( + + (input.value = v)} /> + ({ + alignSelf: "stretch", + backgroundColor: "blue", + height: 10, + transform: [{ scaleX: progress.value }], + }))} + /> + + ); + } + ``` + +### Patch Changes + +- a11836b: Added markdown docs +- 8fee2c3: Added documentation about using HOCs with third party libraries + ## 0.15.6 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index 268f0280..e5dd265c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@preact-signals/utils", - "version": "0.15.6", + "version": "0.16.0", "private": false, "publishConfig": { "access": "public"