@rootnative/inertia-svg 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to `@rootnative/inertia-svg` are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-`1.0`, breaking changes may land in minor versions and are called out under their release.
3
+ All notable changes to `@rootnative/inertia-svg` are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-`1.0.0`, breaking changes may land in minor versions and are called out under their release.
4
4
 
5
5
  This package ships in lockstep with `@rootnative/inertia` — version numbers track the core release that introduced or last touched the adapter.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.0.4] - 2026-07-29
10
+
11
+ **Lockstep version bump** alongside `@rootnative/inertia@0.0.4` (`boxShadow` on the `animate` surface, plus window-coordinate measurement and a style carry for `layoutId` shared-element transitions). No runtime changes in this adapter; the `@rootnative/inertia` peer range moves to `>=0.0.4`.
12
+
9
13
  ## [0.0.3] - 2026-07-25
10
14
 
11
15
  **Lockstep version bump** alongside `@rootnative/inertia@0.0.3` (correctness fixes to the resting-value base, `<Presence>` ordering and unmount, endless-repeat completion counters, `useColorCascade`, `useAnimator`, and the `layoutId` registry). No runtime changes in this adapter; the `@rootnative/inertia` peer range moves to `>=0.0.3`.
@@ -29,16 +33,18 @@ This package ships in lockstep with `@rootnative/inertia` — version numbers tr
29
33
 
30
34
  Lockstep version bump alongside `@rootnative/inertia@0.0.0-alpha.1` (README / `llms.txt` updates only; no runtime changes).
31
35
 
32
- ## [0.0.0-alpha.0]
36
+ ## 0.0.0-alpha.0
37
+
38
+ _No git tag was cut for this release; the published artifact is on npm as [`@rootnative/inertia-svg@0.0.0-alpha.0`](https://www.npmjs.com/package/@rootnative/inertia-svg/v/0.0.0-alpha.0). Unlinked here for that reason — every other heading resolves to a real tag._
33
39
 
34
40
  ### Added
35
41
 
36
42
  - `MotionPath` over `react-native-svg`. Animatable: `d` (element-wise scalar interpolation on structurally-compatible paths), `fill`, `stroke`, `strokeWidth`, opacities, `strokeDashoffset`. Source and target paths must share the same command sequence after implicit-repeat expansion; remount with `key` to switch shape.
37
43
 
38
- [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.3...HEAD
44
+ [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.4...HEAD
45
+ [0.0.4]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.4
39
46
  [0.0.3]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.3
40
47
  [0.0.2]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.2
41
48
  [0.0.1]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.1
42
49
  [0.0.0-alpha.2]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.2
43
50
  [0.0.0-alpha.1]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.1
44
- [0.0.0-alpha.0]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.0
package/README.md CHANGED
@@ -79,7 +79,7 @@ transition={{
79
79
 
80
80
  In dev, the component throws on template mismatches at mount, when `animate.d` changes shape, or when the static `d` prop itself changes shape between renders. In production those errors degrade to a no-op snap so a single bad target doesn't crash the screen.
81
81
 
82
- Path resampling between structurally different shapes (flubber-style) is out of scope for v0.2. For arbitrary shape swaps, remount with `key={...}`.
82
+ Path resampling between structurally different shapes (flubber-style) is out of scope by design. For arbitrary shape swaps, remount with `key={...}`.
83
83
 
84
84
  ## Shapes — MotionCircle, MotionRect, MotionLine
85
85
 
@@ -127,7 +127,7 @@ const MotionEllipse = createMotionSvgComponent(Ellipse, {
127
127
 
128
128
  All primitives participate in `<MotionConfig reducedMotion>` just like the core ones — when the OS reduce-motion setting is on (or you pass `reducedMotion="always"`), every animated property snaps directly to its target.
129
129
 
130
- ## What this package doesn't do (v0.2)
130
+ ## What this package doesn't do
131
131
 
132
132
  - Path resampling between arbitrary shapes.
133
133
  - Morphing an `L` into a `C` (or other across-command interpolation). Element-wise scalar interpolation is intentional.
package/dist/index.d.mts CHANGED
@@ -258,7 +258,7 @@ declare const MotionLine: react.ComponentType<MotionSvgComponentProps<react_nati
258
258
  * and when `animate.d` changes; the worklet only ever consumes flat number
259
259
  * arrays + a frozen command template.
260
260
  *
261
- * Path morphing in v0.2 requires **structural compatibility**: the source and
261
+ * Path morphing requires **structural compatibility**: the source and
262
262
  * every target `d` must produce the same command sequence (same command
263
263
  * letters, in the same order, after implicit-repeat expansion). Element-wise
264
264
  * numeric interpolation is the entire morphing model — we do not resample
package/dist/index.d.ts CHANGED
@@ -258,7 +258,7 @@ declare const MotionLine: react.ComponentType<MotionSvgComponentProps<react_nati
258
258
  * and when `animate.d` changes; the worklet only ever consumes flat number
259
259
  * arrays + a frozen command template.
260
260
  *
261
- * Path morphing in v0.2 requires **structural compatibility**: the source and
261
+ * Path morphing requires **structural compatibility**: the source and
262
262
  * every target `d` must produce the same command sequence (same command
263
263
  * letters, in the same order, after implicit-repeat expansion). Element-wise
264
264
  * numeric interpolation is the entire morphing model — we do not resample
package/llms.txt CHANGED
@@ -80,7 +80,7 @@ To switch between structurally different shapes, **remount with a new `key`**:
80
80
  />
81
81
  ```
82
82
 
83
- Path normalization that resamples between arbitrary shapes (the flubber-style approach) is out of scope for v0.2.
83
+ Path normalization that resamples between arbitrary shapes (the flubber-style approach) is out of scope by design.
84
84
 
85
85
  ## Animatable props
86
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootnative/inertia-svg",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Animatable SVG primitives (path morphing, fill/stroke) for @rootnative/inertia, built on react-native-svg.",
5
5
  "license": "MIT",
6
6
  "author": "RootNative",
@@ -50,7 +50,7 @@
50
50
  "!**/*.test.*"
51
51
  ],
52
52
  "peerDependencies": {
53
- "@rootnative/inertia": ">=0.0.3",
53
+ "@rootnative/inertia": ">=0.0.4",
54
54
  "react": ">=19.0.0",
55
55
  "react-native": ">=0.81.0",
56
56
  "react-native-reanimated": ">=4.0.0",
@@ -69,7 +69,7 @@
69
69
  "react-test-renderer": "19.1.0",
70
70
  "tsup": "^8.3.5",
71
71
  "typescript": "^5.7.3",
72
- "@rootnative/inertia": "0.0.3"
72
+ "@rootnative/inertia": "0.0.4"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"
package/src/path.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * and when `animate.d` changes; the worklet only ever consumes flat number
5
5
  * arrays + a frozen command template.
6
6
  *
7
- * Path morphing in v0.2 requires **structural compatibility**: the source and
7
+ * Path morphing requires **structural compatibility**: the source and
8
8
  * every target `d` must produce the same command sequence (same command
9
9
  * letters, in the same order, after implicit-repeat expansion). Element-wise
10
10
  * numeric interpolation is the entire morphing model — we do not resample