@rive-app/canvas-lite 2.20.0 → 2.20.1
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 +3 -3
- package/package.json +1 -1
- package/rive.js +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +1 -1
- package/rive_fallback.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
# Rive
|
|
3
|
-
A lite high-level Rive API using CanvasRenderingContext2D. Please see https://
|
|
3
|
+
A lite high-level Rive API using CanvasRenderingContext2D. Please see https://rive.app/community/doc/canvas-vs-webgl/docanjXoQ1uT for a list of all the available web runtimes and their details.
|
|
4
4
|
|
|
5
5
|
## Canvas Lite
|
|
6
6
|
```
|
|
@@ -12,10 +12,10 @@ An easy-to-use high-level Rive API using a backing [CanvasRenderingContext2D](ht
|
|
|
12
12
|
- Support for simple vector graphics animations, raster, and mesh deformations
|
|
13
13
|
- Requests the Web Assembly (WASM) backing dependency for you
|
|
14
14
|
|
|
15
|
-
[Getting Started](https://
|
|
15
|
+
[Getting Started](https://rive.app/community/doc/web-js/docvlgbnS1mp)
|
|
16
16
|
|
|
17
17
|
## Why Lite?
|
|
18
18
|
|
|
19
19
|
The current `@rive-app/canvas` dependency supports all Rive features and contains the necessary backing dependencies to render those graphics. This `lite` version has the same API, but does not compile and build with certain dependencies in order to keep the package size as small as possible.
|
|
20
20
|
|
|
21
|
-
At this time, this lite version of `@rive-app/canvas-lite` will not render
|
|
21
|
+
At this time, this lite version of `@rive-app/canvas-lite` will not render Rive Text onto the canvas or play Rive Audio. Note however, that even if your Rive file may include Rive Text components, rendering the graphic should not cause any app errors, or cease to render. The same is true for playing audio.
|
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -2261,7 +2261,7 @@ Pc();
|
|
|
2261
2261
|
/* 2 */
|
|
2262
2262
|
/***/ ((module) => {
|
|
2263
2263
|
|
|
2264
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.20.
|
|
2264
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.20.1","description":"A lite version of Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
2265
2265
|
|
|
2266
2266
|
/***/ }),
|
|
2267
2267
|
/* 3 */
|
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -425,7 +425,7 @@ export declare class Artboard {
|
|
|
425
425
|
stateMachineCount(): number;
|
|
426
426
|
/**
|
|
427
427
|
* Returns a reference for a Bone object of a given name.
|
|
428
|
-
* Learn more: https://
|
|
428
|
+
* Learn more: https://rive.app/community/doc/bones/docYyQwxrgI5
|
|
429
429
|
*
|
|
430
430
|
* @param name - Name of the Bone to grab a reference to
|
|
431
431
|
*/
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|