@rive-app/canvas-lite 2.39.0 → 2.39.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas-lite",
3
- "version": "2.39.0",
3
+ "version": "2.39.2",
4
4
  "description": "A lite version of Rive's canvas based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
@@ -29,7 +29,8 @@
29
29
  "rive.d.ts",
30
30
  "rive_advanced.mjs.d.ts",
31
31
  "runtimeLoader.d.ts",
32
- "utils"
32
+ "utils",
33
+ "semantics"
33
34
  ],
34
35
  "typings": "rive.d.ts",
35
36
  "dependencies": {},
package/rive.js CHANGED
@@ -2546,7 +2546,7 @@ moduleRtn = da;
2546
2546
  /* 5 */
2547
2547
  /***/ ((module) => {
2548
2548
 
2549
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.39.0","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","runtimeLoader.d.ts","utils"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
2549
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.39.2","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","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
2550
2550
 
2551
2551
  /***/ }),
2552
2552
  /* 6 */
@@ -7726,8 +7726,14 @@ var Rive = /** @class */ (function () {
7726
7726
  this.animator.handleAdvancing(elapsedTime);
7727
7727
  // Poll focus state to see whether or not to blur or pull up a virtual keyboard for any change to a text input node.
7728
7728
  this.pollFocusState();
7729
- // Handle callbacks for view model property changes
7729
+ // Handle callbacks for main view model property changes
7730
7730
  (_b = this._viewModelInstance) === null || _b === void 0 ? void 0 : _b.handleCallbacks();
7731
+ // Handle callbacks for global view model property changes
7732
+ this._globalViewModelInstances.forEach(function (instance) {
7733
+ if (instance) {
7734
+ instance.handleCallbacks();
7735
+ }
7736
+ });
7731
7737
  };
7732
7738
  /**
7733
7739
  * Draw rendering loop; renders animation frames at the correct time interval.