@rootnative/inertia-gradients 0.0.7 → 0.0.8

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/llms.txt +10 -0
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ This package ships in lockstep with `@rootnative/inertia` — version numbers tr
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.0.8] - 2026-08-16
10
+
11
+ **Lockstep version bump** alongside `@rootnative/inertia@0.0.8` (`<Stagger>`, parent-owned per-child delays for cascading list entrances, and a settle callback on `buildReleaseAnimation`). No runtime changes in this adapter; the `@rootnative/inertia` peer range moves to `>=0.0.8`.
12
+
9
13
  ## [0.0.7] - 2026-08-14
10
14
 
11
15
  **Lockstep version bump** alongside `@rootnative/inertia@0.0.7` (`Motion.FlatList`, a virtualized animated scroller, and `gesture={{ pressed }}` responding to a mouse on web). No runtime changes in this adapter; the `@rootnative/inertia` peer range moves to `>=0.0.7`.
@@ -52,7 +56,8 @@ _No git tag was cut for this release; the published artifact is on npm as [`@roo
52
56
 
53
57
  - `MotionLinearGradient` over `expo-linear-gradient`. Accepts the same `initial` / `animate` / `transition` shape as the core `Motion.*` primitives, with animatable keys for `colors`, `start`, `end`, and `locations`.
54
58
 
55
- [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.7...HEAD
59
+ [unreleased]: https://github.com/rootnative/inertia/compare/core+gestures+gradients+svg@0.0.8...HEAD
60
+ [0.0.8]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.8
56
61
  [0.0.7]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.7
57
62
  [0.0.6]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.6
58
63
  [0.0.5]: https://github.com/rootnative/inertia/releases/tag/core+gestures+gradients+svg@0.0.5
package/llms.txt CHANGED
@@ -12,6 +12,16 @@
12
12
 
13
13
  `MotionLinearGradient` accepts the same `initial` / `animate` / `transition` shape as the core `Motion.*` primitives, with animatable keys for `colors`, `start`, `end`, and `locations`.
14
14
 
15
+ ## When to pick which
16
+
17
+ | You want | Reach for |
18
+ | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
19
+ | Animate a **flat** background color | `Motion.View` with `animate={{ backgroundColor }}` from core — no gradient package needed |
20
+ | Animate gradient stop colors, direction, or stop positions | `MotionLinearGradient` (this package) |
21
+ | Change the **number** of stops | A remount via `key={...}` — the slot count is locked at mount |
22
+ | A radial or conic gradient | Not covered — linear only; radial / conic are backlog, unscheduled |
23
+ | A gradient fill inside an SVG | `<Defs>` + `<LinearGradient>` from `react-native-svg`, referenced by `url(#id)` — see the [SVG page](./svg.mdx) |
24
+
15
25
  ## Install
16
26
 
17
27
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootnative/inertia-gradients",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Animated linear gradient primitive for @rootnative/inertia, built on expo-linear-gradient.",
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.7",
53
+ "@rootnative/inertia": ">=0.0.8",
54
54
  "expo-linear-gradient": ">=14.0.0",
55
55
  "react": ">=19.0.0",
56
56
  "react-native": ">=0.81.0",
@@ -62,7 +62,7 @@
62
62
  "@testing-library/react-native": "^13.3.3",
63
63
  "@types/jest": "^29.5.14",
64
64
  "@types/react": "^19.1.0",
65
- "expo-linear-gradient": "~14.0.2",
65
+ "expo-linear-gradient": "~15.0.8",
66
66
  "jest": "^29.7.0",
67
67
  "react": "19.1.0",
68
68
  "react-native": "0.81.5",
@@ -71,7 +71,7 @@
71
71
  "size-limit": "^11.1.0",
72
72
  "tsup": "^8.3.5",
73
73
  "typescript": "^5.7.3",
74
- "@rootnative/inertia": "0.0.7"
74
+ "@rootnative/inertia": "0.0.8"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"