@gamelearn/arcade-components 2.4.1 → 2.4.3

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.
@@ -145,8 +145,9 @@ var CardsSelectorPuzzleComponent = function CardsSelectorPuzzleComponent(_ref) {
145
145
 
146
146
  if (info.solution.right.desc && !(specificFeedbacks !== null && specificFeedbacks !== void 0 && specificFeedbacks.specificCorrectFeedbacks)) {
147
147
  setFeedBackText(info.solution.right.desc);
148
- setFeedbackIsShown(true);
149
148
  }
149
+
150
+ setFeedbackIsShown(true);
150
151
  };
151
152
 
152
153
  var handleFeedbackFuncionOnClose = function handleFeedbackFuncionOnClose() {
@@ -175,10 +176,10 @@ var CardsSelectorPuzzleComponent = function CardsSelectorPuzzleComponent(_ref) {
175
176
 
176
177
  if (pickedCard !== null && pickedCard !== void 0 && pickedCard.desc) {
177
178
  setFeedBackText(pickedCard.desc);
179
+ setFeedbackIsShown(true);
178
180
  }
179
181
  }
180
182
 
181
- setFeedbackIsShown(true);
182
183
  playSound('score');
183
184
  emitEvent({
184
185
  type: 'hidePuzzleButtons',
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.4.1",
5
+ "version": "2.4.3",
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.5.1",
17
+ "@gamelearn/arcade-styles": "2.5.2",
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",