@rive-app/canvas-advanced-lite 2.49.3 → 2.49.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/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  # Rive
4
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
+ [Rive](https://rive.app) is an agent-native 2D and 3D engine for games, apps, and interactive UI. Use it as your whole engine, or add it to the products you already have. Build with your coding agent through the [Rive CLI](https://rive.app/agents), or draw, rig, and animate by hand with the professional design and animation tools in the [Rive Editor](https://rive.app/editor). Both work on the same files. Open-source runtimes, no royalties or runtime fees. Rive files (`.riv`) play natively on web, mobile, desktop, game engines, consoles, smart TVs, and cars.
7
+
6
8
  ## Canvas Advanced
7
9
  ```
8
10
  npm install @rive-app/canvas-advanced-lite
@@ -20,3 +22,13 @@ A low-level Rive API using the [CanvasRenderingContext2D](https://developer.mozi
20
22
  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
23
 
22
24
  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.
25
+
26
+ ## Build with your agent
27
+
28
+ Paste this into Claude Code, Codex, Cursor, or any agent that runs commands on your computer:
29
+
30
+ ```text
31
+ Install the Rive CLI from rive.app/cli. Build an interactive hero for my website as a Rive file and add it to the page with the Rive web runtime.
32
+ ```
33
+
34
+ Your agent installs the [Rive CLI](https://rive.app/agents), writes the scene, and opens a preview window that rebuilds every time it saves. Keep giving it notes, or open the same file in the [Rive Editor](https://editor.rive.app/) and shape it by hand. Trying it needs no account. Writing the `.riv` that ships on your site needs a free Rive account. Free exports play a short Rive splash screen; [paid plans](https://rive.app/pricing) export without it. See [Getting started with the Rive CLI](https://rive.app/docs/cli/getting-started).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rive-app/canvas-advanced-lite",
3
- "version": "2.49.3",
4
- "description": "Rive's lite low-level canvas based web api.",
3
+ "version": "2.49.4",
4
+ "description": "Rive web runtime, lite low-level API, canvas renderer. Rive is an agent-native 2D and 3D engine for games, apps, and interactive UI.",
5
5
  "main": "canvas_advanced.mjs",
6
6
  "homepage": "https://rive.app",
7
7
  "repository": {
@@ -10,7 +10,11 @@
10
10
  },
11
11
  "keywords": [
12
12
  "rive",
13
- "animation"
13
+ "animation",
14
+ "interactive",
15
+ "ui",
16
+ "game-engine",
17
+ "graphics"
14
18
  ],
15
19
  "author": "Rive",
16
20
  "contributors": [
package/rive.wasm CHANGED
Binary file
@@ -1009,6 +1009,8 @@ export interface FocusState {
1009
1009
  hasFocus: boolean;
1010
1010
  /** True if the focused element accepts keyboard input (e.g. a TextInput node). */
1011
1011
  expectsKeyboardInput: boolean;
1012
+ /** True if the focused element or an ancestor takes typed text: show a virtual keyboard. */
1013
+ expectsTextInput: boolean;
1012
1014
  }
1013
1015
 
1014
1016
  export declare class LinearAnimation {
Binary file