diff --git a/.changeset/fix-remount-layout-shift.md b/.changeset/fix-remount-layout-shift.md deleted file mode 100644 index 62184d9..0000000 --- a/.changeset/fix-remount-layout-shift.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"number-flow-react-native": patch ---- - -Skip placeholder phase on remount when glyph metrics are already cached, fixing a layout shift caused by native text kerning differing from measured char widths (#8) diff --git a/.changeset/widen-skia-color-type.md b/.changeset/widen-skia-color-type.md deleted file mode 100644 index 5d4575c..0000000 --- a/.changeset/widen-skia-color-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"number-flow-react-native": minor ---- - -Accept `SharedValue` for the `color` prop on `SkiaNumberFlow` and `SkiaTimeFlow`, enabling animated color transitions (#6) diff --git a/packages/number-flow-react-native/CHANGELOG.md b/packages/number-flow-react-native/CHANGELOG.md index f2528c4..568c26c 100644 --- a/packages/number-flow-react-native/CHANGELOG.md +++ b/packages/number-flow-react-native/CHANGELOG.md @@ -1,5 +1,15 @@ # number-flow-react-native +## 0.4.0 + +### Minor Changes + +- [`9907018`](https://github.com/Rednegniw/number-flow-react-native/commit/9907018ec21e8b79287c587ce5e4bac0f3e79485) Thanks [@Rednegniw](https://github.com/Rednegniw)! - Accept `SharedValue` for the `color` prop on `SkiaNumberFlow` and `SkiaTimeFlow`, enabling animated color transitions (#6) + +### Patch Changes + +- [`6c9888c`](https://github.com/Rednegniw/number-flow-react-native/commit/6c9888c8764f61f961d879cbb982d75a2054ff60) Thanks [@marioprieta](https://github.com/marioprieta)! - Skip placeholder phase on remount when glyph metrics are already cached, fixing a layout shift caused by native text kerning differing from measured char widths (#8) + ## 0.3.1 ### Patch Changes diff --git a/packages/number-flow-react-native/package.json b/packages/number-flow-react-native/package.json index 4b20797..f6557b8 100644 --- a/packages/number-flow-react-native/package.json +++ b/packages/number-flow-react-native/package.json @@ -1,6 +1,6 @@ { "name": "number-flow-react-native", - "version": "0.3.1", + "version": "0.4.0", "description": "Beautiful number animations for React Native: digit-by-digit rolling counter, currency ticker, time display, and odometer with View-based and Skia renderers. Full Intl.NumberFormat support.", "source": "./src/index.ts", "main": "./lib/module/index.js",