@rive-app/canvas-advanced 2.37.6 → 2.37.8
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/canvas_advanced.mjs +8 -8
- package/package.json +1 -1
- package/rive.wasm +0 -0
- package/rive_advanced.mjs.d.ts +17 -0
- package/rive_fallback.wasm +0 -0
package/canvas_advanced.mjs
CHANGED
|
@@ -733,7 +733,7 @@ function Za(a, b) {
|
|
|
733
733
|
return Ya(c, a, b);
|
|
734
734
|
}));
|
|
735
735
|
}
|
|
736
|
-
var $a, ab, eb = {
|
|
736
|
+
var $a, ab, eb = {484269:(a, b, c, d, e) => {
|
|
737
737
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
738
738
|
return 0;
|
|
739
739
|
}
|
|
@@ -796,11 +796,11 @@ var $a, ab, eb = {484173:(a, b, c, d, e) => {
|
|
|
796
796
|
}
|
|
797
797
|
window.h.za += 1;
|
|
798
798
|
return 1;
|
|
799
|
-
},
|
|
799
|
+
}, 486447:() => {
|
|
800
800
|
"undefined" !== typeof window.h && (window.h.Sa.map(function(a) {
|
|
801
801
|
document.removeEventListener(a, window.h.unlock, !0);
|
|
802
802
|
}), --window.h.za, 0 === window.h.za && delete window.h);
|
|
803
|
-
},
|
|
803
|
+
}, 486751:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 486855:() => {
|
|
804
804
|
try {
|
|
805
805
|
var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
|
|
806
806
|
a.close();
|
|
@@ -808,7 +808,7 @@ var $a, ab, eb = {484173:(a, b, c, d, e) => {
|
|
|
808
808
|
} catch (c) {
|
|
809
809
|
return 0;
|
|
810
810
|
}
|
|
811
|
-
},
|
|
811
|
+
}, 487026:(a, b, c, d, e, f) => {
|
|
812
812
|
if ("undefined" === typeof window.h) {
|
|
813
813
|
return -1;
|
|
814
814
|
}
|
|
@@ -854,7 +854,7 @@ var $a, ab, eb = {484173:(a, b, c, d, e) => {
|
|
|
854
854
|
a == window.h.J.xa && g.Z.connect(g.L.destination);
|
|
855
855
|
g.pb = f;
|
|
856
856
|
return window.h.tc(g);
|
|
857
|
-
},
|
|
857
|
+
}, 489903:a => window.h.qa(a).L.sampleRate, 489976:a => {
|
|
858
858
|
a = window.h.qa(a);
|
|
859
859
|
void 0 !== a.Z && (a.Z.onaudioprocess = function() {
|
|
860
860
|
}, a.Z.disconnect(), a.Z = void 0);
|
|
@@ -862,13 +862,13 @@ var $a, ab, eb = {484173:(a, b, c, d, e) => {
|
|
|
862
862
|
a.L.close();
|
|
863
863
|
a.L = void 0;
|
|
864
864
|
a.pb = void 0;
|
|
865
|
-
},
|
|
865
|
+
}, 490376:a => {
|
|
866
866
|
window.h.Ab(a);
|
|
867
|
-
},
|
|
867
|
+
}, 490426:a => {
|
|
868
868
|
a = window.h.qa(a);
|
|
869
869
|
a.L.resume();
|
|
870
870
|
a.state = window.h.ga.wb;
|
|
871
|
-
},
|
|
871
|
+
}, 490565:a => {
|
|
872
872
|
a = window.h.qa(a);
|
|
873
873
|
a.L.suspend();
|
|
874
874
|
a.state = window.h.ga.stopped;
|
package/package.json
CHANGED
package/rive.wasm
CHANGED
|
Binary file
|
package/rive_advanced.mjs.d.ts
CHANGED
|
@@ -877,6 +877,23 @@ export declare class StateMachineInstance {
|
|
|
877
877
|
*/
|
|
878
878
|
pointerExit(x: number, y: number, id: number): void;
|
|
879
879
|
|
|
880
|
+
/**
|
|
881
|
+
* Returns true if this state machine has any focus nodes registered in its focus tree.
|
|
882
|
+
* Since the focus tree is unified across nested artboards, this covers the full scene.
|
|
883
|
+
* Use this to gate whether tab/focus traversal DOM listeners should be attached.
|
|
884
|
+
*/
|
|
885
|
+
hasFocusNodes(): boolean;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Move focus to the next focusable node in the focus tree via the state machine's focus manager.
|
|
889
|
+
*/
|
|
890
|
+
focusNext(): boolean;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Move focus to the previous focusable node in the focus tree via the state machine's focus manager.
|
|
894
|
+
*/
|
|
895
|
+
focusPrevious(): boolean;
|
|
896
|
+
|
|
880
897
|
/**
|
|
881
898
|
* Deletes the underlying instance created via the WASM. It's important to clean up this instance
|
|
882
899
|
* when no longer in use
|
package/rive_fallback.wasm
CHANGED
|
Binary file
|