@gamelearn/arcade-components 0.19.4 → 0.19.6

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.
@@ -278,7 +278,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
278
278
  if (list[currentSlide].correctTexts[orderCounter].id === id) {
279
279
  setOrderCounter(orderCounter + 1); // hacer verde 🎉
280
280
 
281
- handleCorrectClick(allDataTextIds, specificWrongFeedback);
281
+ handleCorrectClick(allDataTextIds, specificCorrectFeedback);
282
282
  } else if (list[currentSlide].correctTexts.find(function (c) {
283
283
  return c.id === id;
284
284
  }) && list[currentSlide].correctTexts[orderCounter].id !== id) {
@@ -296,7 +296,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
296
296
  });
297
297
  } else {
298
298
  //si has click en mala repuesta
299
- handleIncorrectClick(allDataTextIds, specificCorrectFeedback);
299
+ handleIncorrectClick(allDataTextIds, specificWrongFeedback);
300
300
  }
301
301
  } else {
302
302
  // si no va en orden
@@ -351,7 +351,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
351
351
  } else {
352
352
  parsedText.current = '';
353
353
  }
354
- }, [currentSlide, description, getnumberAllCorrectFragments, info, list, recursiveStuff, setInfo]);
354
+ }, [currentSlide, description, getnumberAllCorrectFragments, list, recursiveStuff, setInfo]);
355
355
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
356
356
  className: "text-click text-click--".concat(styles),
357
357
  style: feedbackData.show ? {
@@ -17,7 +17,7 @@ var emitEvent = function emitEvent(_ref) {
17
17
  };
18
18
 
19
19
  var messages = {
20
- fullText1: '<div><p><strong>Texto de prueba:</strong></p><p>Con <span data-text-id="text-click-0">un texto correcto normal</span></p><p>Con <span data-text-id="text-click-2">un texto incorrecto normal</span></p><p>Con un texto <span data-text-id="text-click-1">corr</span></p><p><span data-text-id="text-click-1">ecto partido</span></p></div>',
20
+ fullText1: '<div><p><span></span><strong>Texto de prueba:</strong></p><p>Con <span data-text-id="text-click-0">un texto correcto normal</span></p><p>Con <span data-text-id="text-click-2">un texto incorrecto normal</span></p><p>Con un texto <span data-text-id="text-click-1">corr</span></p><p><span data-text-id="text-click-1">ecto partido</span></p></div>',
21
21
  fullText2: '<div><mark data-text-id="text-click-4">FRAGMENTO <strong>CORRECTO</strong> id4</mark> que <mark data-text-id="text-click-7">FRAGMENTO <strong>CORRECTO id7</strong> 4</mark> en <mark data-text-id="text-click-6">FRAGMENTO <strong>inCORRECTO id6</strong> 4</mark> asdf asdf asf <mark data-text-id="text-click-5">FRAGMENTO <strong>INCORRECTO id5</strong></mark></div>',
22
22
  fullText3: '<div>Todo es incorrecto salvo <span data-text-id="text-click-8">alguna cosa</span></div>'
23
23
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "license": "Gamelearn",
4
- "version": "0.19.4",
4
+ "version": "0.19.6",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",