@gamelearn/arcade-components 0.20.8 → 0.20.9
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/dist/components/drag-item-puzzle-component/components/DragItemPuzzleComponent.js +1 -1
- package/dist/components/login-puzzle-component/components/LoginPuzzleComponent.js +2 -0
- package/dist/components/terminal-puzzle-component/mocks/mockForStory.js +0 -4
- package/dist/components/writer-puzzle-component/components/ElectionComponent.js +0 -2
- package/package.json +1 -1
|
@@ -180,7 +180,7 @@ var DragItemPuzzleComponent = function DragItemPuzzleComponent(_ref) {
|
|
|
180
180
|
setTimeout(function () {
|
|
181
181
|
handleFinish();
|
|
182
182
|
}, 2000);
|
|
183
|
-
}, [handleFinish, playSound]);
|
|
183
|
+
}, [emitEvent, handleFinish, playSound]);
|
|
184
184
|
var handleFail = (0, _react.useCallback)(function () {
|
|
185
185
|
emitEvent({
|
|
186
186
|
type: 'closeUI',
|
|
@@ -135,6 +135,7 @@ var LoginPuzzleComponent = function LoginPuzzleComponent(_ref) {
|
|
|
135
135
|
}, translate('puzzle.user')), /*#__PURE__*/_react.default.createElement("div", {
|
|
136
136
|
className: "puzzle--login__group"
|
|
137
137
|
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
138
|
+
autoComplete: "off",
|
|
138
139
|
disabled: finished,
|
|
139
140
|
"data-testid": "username",
|
|
140
141
|
className: "puzzle--login__input ".concat(successClass),
|
|
@@ -152,6 +153,7 @@ var LoginPuzzleComponent = function LoginPuzzleComponent(_ref) {
|
|
|
152
153
|
}, /*#__PURE__*/_react.default.createElement("span", null, translate('puzzle.password'))), /*#__PURE__*/_react.default.createElement("div", {
|
|
153
154
|
className: "puzzle--login__group"
|
|
154
155
|
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
156
|
+
autoComplete: "off",
|
|
155
157
|
disabled: finished,
|
|
156
158
|
"data-testid": "password",
|
|
157
159
|
className: "puzzle--login__input ".concat(successClass),
|
|
@@ -9,8 +9,6 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
12
|
var _SingleElection = _interopRequireDefault(require("./SingleElection"));
|
|
15
13
|
|
|
16
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|