@pixodesk/svg-animator-rn 1.0.28 → 1.0.30
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/README.md +1 -1
- package/package.json +2 -2
- package/src/PxRnTracks.test.ts +1 -1
package/README.md
CHANGED
|
@@ -290,7 +290,7 @@ player sees plain nodes. **All are supported:**
|
|
|
290
290
|
| `repeater` | ✅ | copies materialised as real elements; per-copy params animatable |
|
|
291
291
|
| `maskedBy` | ✅ | including an animated mask source |
|
|
292
292
|
| `clipPath` | ✅ | including animated clip geometry |
|
|
293
|
-
| `
|
|
293
|
+
| `strokeTrim` | ✅ | incl. `offset` and `subPaths: 'combined'` |
|
|
294
294
|
| `clone` + `retime` | ✅ | each clone keeps its own time shift, incl. `retime.timeCrop` (a visibility window on the document timeline) |
|
|
295
295
|
| `fillGradient` / `strokeGradient` | ✅ | animated stops **and animated geometry** (`animate.gradientX1`/`Cx`/`R`, …); `gradientTransform` is static (core-wide) |
|
|
296
296
|
| `textPath` | ✅ | incl. animated `startOffset` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixodesk/svg-animator-rn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Pixodesk SVG animator for React Native — renders animator documents via react-native-svg, driven natively by react-native-reanimated",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"src"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@pixodesk/svg-animator-core": "^1.0.
|
|
29
|
+
"@pixodesk/svg-animator-core": "^1.0.30"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18",
|
package/src/PxRnTracks.test.ts
CHANGED
|
@@ -153,7 +153,7 @@ describe('length-list props (stroke-dasharray)', () => {
|
|
|
153
153
|
animator: { mode: 'frames', duration: 1000 },
|
|
154
154
|
children: [{
|
|
155
155
|
type: 'path', id: 'p', d: 'M 0 50 L 100 50', stroke: '#000', fill: 'none',
|
|
156
|
-
effects: {
|
|
156
|
+
effects: { strokeTrim: { range: { keyframes: [{ time: 0, value: [0, 0.1] }, { time: 1000, value: [0, 1] }] } } },
|
|
157
157
|
}],
|
|
158
158
|
};
|
|
159
159
|
const materialised = generateNewIds(materialiseAllInTree(doc, PxAnimatorEngine.waapi));
|