@gamelearn/arcade-components 2.23.0 → 2.23.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.
@@ -77,7 +77,8 @@ var Visor = function Visor(_ref) {
77
77
  props: _objectSpread(_objectSpread({}, file), {}, {
78
78
  url: url,
79
79
  endVideo: resolvePuzzle,
80
- soundActions: soundActions
80
+ soundActions: soundActions,
81
+ translate: translate
81
82
  })
82
83
  },
83
84
  embedded_video: {
@@ -65,7 +65,8 @@ var Questions = function Questions(_ref) {
65
65
  return !disabled ? updateForm(answer, question.id, index) : null;
66
66
  },
67
67
  key: answer.text,
68
- className: "unset-button test--response__item ".concat(disabled ? 'review' : '', " ").concat(getClass(answer))
68
+ className: "unset-button test--response__item ".concat(disabled ? 'review' : '', " ").concat(getClass(answer)),
69
+ disabled: disabled && !getClass(answer)
69
70
  }, /*#__PURE__*/_react.default.createElement("div", {
70
71
  className: "test--response__index"
71
72
  }, LABELS_INDEX[index]), /*#__PURE__*/_react.default.createElement("div", {
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.23.0",
5
+ "version": "2.23.2",
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.15.1",
17
+ "@gamelearn/arcade-styles": "2.15.2",
18
18
  "@gamelearn/arcade-three-core": "^1.24.3-beta.2",
19
19
  "@react-three/a11y": "^3.0.0",
20
20
  "@react-three/drei": "9.4.3",