@gamelearn/arcade-components 1.7.6 → 1.7.7--fix1
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.
|
@@ -31,6 +31,13 @@ var PatternComponent = function PatternComponent(_ref) {
|
|
|
31
31
|
var _soundActions = _slicedToArray(soundActions, 1),
|
|
32
32
|
play = _soundActions[0];
|
|
33
33
|
|
|
34
|
+
var translate = function translate(id) {
|
|
35
|
+
return emitEvent({
|
|
36
|
+
type: 'translate',
|
|
37
|
+
payload: id
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
|
|
34
41
|
if (!img) {
|
|
35
42
|
return null;
|
|
36
43
|
}
|
|
@@ -61,7 +68,7 @@ var PatternComponent = function PatternComponent(_ref) {
|
|
|
61
68
|
className: "pattern__header"
|
|
62
69
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
63
70
|
className: "pattern__title"
|
|
64
|
-
},
|
|
71
|
+
}, translate('phone.pattern')), /*#__PURE__*/_react.default.createElement("button", {
|
|
65
72
|
type: "button",
|
|
66
73
|
className: "pattern__close gat--btn__round",
|
|
67
74
|
onClick: function onClick() {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gamelearn/arcade-components",
|
|
3
3
|
"author": "Gamelearn",
|
|
4
4
|
"license": "unlicense",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.7--fix1",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"url": "https://github.com/gamelearn/arcade-components"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"@gamelearn/arcade-styles": "0.7.1",
|
|
16
17
|
"@gamelearn/arcade-three-core": "1.0.1",
|
|
17
18
|
"@react-three/drei": "^7.20.0",
|
|
18
19
|
"@react-three/fiber": "^7.0.17",
|
|
@@ -66,7 +67,6 @@
|
|
|
66
67
|
"@babel/eslint-parser": "^7.15.8",
|
|
67
68
|
"@babel/preset-env": "7.12.11",
|
|
68
69
|
"@babel/preset-react": "7.12.10",
|
|
69
|
-
"@gamelearn/arcade-styles": "0.7.1",
|
|
70
70
|
"@gamelearn/version": "^1.3.1",
|
|
71
71
|
"@react-three/test-renderer": "6.0.6",
|
|
72
72
|
"@storybook/addon-actions": "6.1.11",
|