@rive-app/canvas-advanced-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.wasm +0 -0
- package/rive_advanced.mjs.d.ts +1 -1
- package/rive_fallback.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
3
|
# Rive
|
|
4
|
-
Low-level lite Rive API using CanvasRenderingContext2D. Please see https://
|
|
4
|
+
Low-level lite 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.
|
|
5
5
|
|
|
6
6
|
## Canvas Advanced
|
|
7
7
|
```
|
|
@@ -13,10 +13,10 @@ A low-level Rive API using the [CanvasRenderingContext2D](https://developer.mozi
|
|
|
13
13
|
- Allows deeper control and manipulation of the components in a Rive hierarchy
|
|
14
14
|
- Web Assembly (WASM) is part of the NPM bundle, but you load in the WASM manually
|
|
15
15
|
|
|
16
|
-
[Getting Started](https://
|
|
16
|
+
[Getting Started](https://rive.app/community/doc/low-level-api-usage/doctAfBY6v3P)
|
|
17
17
|
|
|
18
18
|
## Why Lite?
|
|
19
19
|
|
|
20
20
|
The complimentary `@rive-app/canvas-advanced` 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.
|
|
21
21
|
|
|
22
|
-
At this time, this lite version of `@rive-app/canvas-advanced-lite` will not render
|
|
22
|
+
At this time, this lite version of `@rive-app/canvas-advanced-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.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
|