@rootnative/inertia-gestures 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-gestures` 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-gestures` 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`.
@@ -28,7 +32,9 @@ This package ships in lockstep with `@rootnative/inertia` — version numbers tr
28
32
 
29
33
  Lockstep version bump alongside `@rootnative/inertia@0.0.0-alpha.1` (README updates only; no runtime changes).
30
34
 
31
- ## [0.0.0-alpha.0]
35
+ ## 0.0.0-alpha.0
36
+
37
+ _No git tag was cut for this release; the published artifact is on npm as [`@rootnative/inertia-gestures@0.0.0-alpha.0`](https://www.npmjs.com/package/@rootnative/inertia-gestures/v/0.0.0-alpha.0). Unlinked here for that reason — every other heading resolves to a real tag._
32
38
 
33
39
  Initial alpha publish alongside `@rootnative/inertia@0.0.0-alpha.0`. Optional adapter package wrapping `react-native-gesture-handler`; the core library has no required gesture-handler dependency.
34
40
 
@@ -37,10 +43,10 @@ Initial alpha publish alongside `@rootnative/inertia@0.0.0-alpha.0`. Optional ad
37
43
  - `useDrag({ onRelease })` — release worklet returns per-axis Inertia transitions (snap-to-tick spring, decay with bounds, etc.). Velocity stays on the UI thread; no JS round-trip.
38
44
  - `useSwipe`, `usePan` hooks composable with any `Motion.*` primitive via `<GestureDetector>`.
39
45
 
40
- [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.3...HEAD
46
+ [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.4...HEAD
47
+ [0.0.4]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.4
41
48
  [0.0.3]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.3
42
49
  [0.0.2]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.2
43
50
  [0.0.1]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.1
44
51
  [0.0.0-alpha.2]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.2
45
52
  [0.0.0-alpha.1]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.1
46
- [0.0.0-alpha.0]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.0-alpha.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootnative/inertia-gestures",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Gesture-handler-driven drag / pan / swipe adapters for @rootnative/inertia.",
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-gesture-handler": ">=2.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/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * `@rootnative/inertia-gestures` — gesture-handler-driven adapters for
3
3
  * `@rootnative/inertia`.
4
4
  *
5
- * v0.2 surface:
5
+ * Public surface:
6
6
  * - `useDrag` — one- or two-axis drag with optional constraints and
7
7
  * rubber-band elasticity.
8
8
  * - `useSwipe` — directional commit-or-snap-back gesture (distance + velocity