@gamelearn/arcade-components 1.32.1 → 1.32.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
package/dist/components/cards-selector-puzzle-component/components/CardsSelectorPuzzleComponent.js
CHANGED
|
@@ -142,6 +142,11 @@ var CardsSelectorPuzzleComponent = function CardsSelectorPuzzleComponent(_ref) {
|
|
|
142
142
|
|
|
143
143
|
var onFinish = function onFinish() {
|
|
144
144
|
setFinished(true);
|
|
145
|
+
|
|
146
|
+
if (info.solution.right.desc && !(specificFeedbacks !== null && specificFeedbacks !== void 0 && specificFeedbacks.specificCorrectFeedbacks)) {
|
|
147
|
+
setFeedBackText(info.solution.right.desc);
|
|
148
|
+
setFeedbackIsShown(true);
|
|
149
|
+
}
|
|
145
150
|
};
|
|
146
151
|
|
|
147
152
|
var handleFeedbackFuncionOnClose = function handleFeedbackFuncionOnClose() {
|
|
@@ -170,13 +175,11 @@ var CardsSelectorPuzzleComponent = function CardsSelectorPuzzleComponent(_ref) {
|
|
|
170
175
|
|
|
171
176
|
if (pickedCard !== null && pickedCard !== void 0 && pickedCard.desc) {
|
|
172
177
|
setFeedBackText(pickedCard.desc);
|
|
178
|
+
setFeedbackIsShown(true);
|
|
173
179
|
}
|
|
174
|
-
} else if (info.solution.right.desc) {
|
|
175
|
-
setFeedBackText(info.solution.right.desc);
|
|
176
180
|
}
|
|
177
181
|
|
|
178
182
|
playSound('score');
|
|
179
|
-
setFeedbackIsShown(true);
|
|
180
183
|
emitEvent({
|
|
181
184
|
type: 'hidePuzzleButtons',
|
|
182
185
|
payload: true
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gamelearn/arcade-components",
|
|
3
3
|
"author": "Gamelearn",
|
|
4
4
|
"license": "unlicense",
|
|
5
|
-
"version": "1.32.
|
|
5
|
+
"version": "1.32.4",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/gamelearn/arcade-components"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@gamelearn/arcade-styles": "0.15.
|
|
16
|
+
"@gamelearn/arcade-styles": "0.15.7",
|
|
17
17
|
"@gamelearn/arcade-three-core": "1.14.5",
|
|
18
18
|
"@react-three/drei": "9.4.3",
|
|
19
19
|
"@react-three/fiber": "8.0.17",
|