@gamelearn/arcade-components 2.11.1 → 2.11.2

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.
@@ -185,7 +185,7 @@ var FrameImageClickComponent = function FrameImageClickComponent(_ref) {
185
185
  className: "puzzle-frame__progress"
186
186
  }, /*#__PURE__*/_react.default.createElement("div", {
187
187
  style: {
188
- width: "".concat((index > 0 ? index + 1 : index) * 100 / list.length, "%")
188
+ width: "".concat(selected / totalCorrects * 100, "%")
189
189
  },
190
190
  className: "puzzle-frame__progress--handle"
191
191
  }))), showFrames ? /*#__PURE__*/_react.default.createElement("div", {
@@ -10,6 +10,7 @@ var _mocker = require("helpers/mocker");
10
10
  var mockProps = {
11
11
  emitEvent: _mocker.emitEvent,
12
12
  soundActions: _mocker.soundActions,
13
+ keyboardControl: _mocker.keyboardControl,
13
14
  disableExit: function disableExit() {},
14
15
  setResolveAction: function setResolveAction() {},
15
16
  info: {
@@ -114,6 +115,7 @@ exports.mockProps = mockProps;
114
115
  var mockProps2 = {
115
116
  emitEvent: _mocker.emitEvent,
116
117
  soundActions: _mocker.soundActions,
118
+ keyboardControl: _mocker.keyboardControl,
117
119
  disableExit: function disableExit() {},
118
120
  setResolveAction: function setResolveAction() {},
119
121
  info: {
@@ -218,6 +220,7 @@ exports.mockProps2 = mockProps2;
218
220
  var mockProps3 = {
219
221
  emitEvent: _mocker.emitEvent,
220
222
  soundActions: _mocker.soundActions,
223
+ keyboardControl: _mocker.keyboardControl,
221
224
  disableExit: function disableExit() {},
222
225
  setResolveAction: function setResolveAction() {},
223
226
  info: {
@@ -322,6 +325,7 @@ exports.mockProps3 = mockProps3;
322
325
  var mockProps4 = {
323
326
  emitEvent: _mocker.emitEvent,
324
327
  soundActions: _mocker.soundActions,
328
+ keyboardControl: _mocker.keyboardControl,
325
329
  disableExit: function disableExit() {},
326
330
  setResolveAction: function setResolveAction() {},
327
331
  info: {
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.11.1",
5
+ "version": "2.11.2",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",