@gamelearn/arcade-components 2.2.10 → 2.2.13
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/dist/components/cards-selector-puzzle-component/components/CardsSelectorPuzzleComponent.js
CHANGED
|
@@ -175,10 +175,10 @@ var CardsSelectorPuzzleComponent = function CardsSelectorPuzzleComponent(_ref) {
|
|
|
175
175
|
|
|
176
176
|
if (pickedCard !== null && pickedCard !== void 0 && pickedCard.desc) {
|
|
177
177
|
setFeedBackText(pickedCard.desc);
|
|
178
|
-
setFeedbackIsShown(true);
|
|
179
178
|
}
|
|
180
179
|
}
|
|
181
180
|
|
|
181
|
+
setFeedbackIsShown(true);
|
|
182
182
|
playSound('score');
|
|
183
183
|
emitEvent({
|
|
184
184
|
type: 'hidePuzzleButtons',
|
|
@@ -95,7 +95,7 @@ var VideoVisor = function VideoVisor(_ref) {
|
|
|
95
95
|
var isHls = url && url.match(/\.m3u8(\?.+=.+)*$/i) && _hls.default.isSupported();
|
|
96
96
|
|
|
97
97
|
var isEmbeddedVideo = url && (url.match(/youtube/i) || url.match(/vimeo/i));
|
|
98
|
-
var isAudio = url && (url.match(/.mp3/i) || url.match(/.ogg/i) || url.match(/.wav/i));
|
|
98
|
+
var isAudio = url && (url.match(/.mp3/i) || url.match(/.ogg/i) || url.match(/.wav/i) || url.match(/.m4a/i));
|
|
99
99
|
var videoProps = {
|
|
100
100
|
ref: function ref(videoRef) {
|
|
101
101
|
setVideo(videoRef);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gamelearn/arcade-components",
|
|
3
3
|
"author": "Gamelearn",
|
|
4
4
|
"license": "unlicense",
|
|
5
|
-
"version": "2.2.
|
|
5
|
+
"version": "2.2.13",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime": "^7.18.6",
|
|
17
|
-
"@gamelearn/arcade-styles": "2.3.
|
|
17
|
+
"@gamelearn/arcade-styles": "2.3.3",
|
|
18
18
|
"@gamelearn/arcade-three-core": "1.17.1",
|
|
19
19
|
"@react-three/drei": "9.4.3",
|
|
20
20
|
"@react-three/fiber": "8.0.17",
|