@gamelearn/arcade-components 0.14.5 → 0.14.7
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/README.md +1 -1
- package/dist/components/conversational-pro-component/components/ConversationalProComponent.js +1 -1
- package/dist/components/decision-component/components/DecisionComponent.js +1 -1
- package/dist/components/survey-component/components/SurveyComponent.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ yarn compile
|
|
|
66
66
|
yalc publish
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Después, en el repositorio de `arcade
|
|
69
|
+
Después, en el repositorio de `arcade` tendremos que linkar el paquete generado de la siguiente forma:
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
yalc link @gamelearn/arcade-components
|
package/dist/components/conversational-pro-component/components/ConversationalProComponent.js
CHANGED
|
@@ -182,7 +182,7 @@ var ConversationProViewer = function ConversationProViewer(_ref) {
|
|
|
182
182
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
183
183
|
className: "conversation--layer"
|
|
184
184
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
185
|
-
className: "conversation",
|
|
185
|
+
className: "conversation arcade-conversation",
|
|
186
186
|
style: backgroundImage ? {
|
|
187
187
|
backgroundImage: "url(\"".concat(backgroundImage, "\")")
|
|
188
188
|
} : {}
|
|
@@ -180,7 +180,7 @@ var DecisionComponent = function DecisionComponent(_ref) {
|
|
|
180
180
|
var CharactersWrapper = function CharactersWrapper(_ref4) {
|
|
181
181
|
var children = _ref4.children;
|
|
182
182
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
183
|
-
className: "conversation",
|
|
183
|
+
className: "conversation arcade-conversation",
|
|
184
184
|
style: inheritProps.background ? {
|
|
185
185
|
backgroundImage: "url(\"".concat(inheritProps.background, "\")")
|
|
186
186
|
} : {}
|
|
@@ -54,7 +54,7 @@ var PAGES = [{
|
|
|
54
54
|
}, {
|
|
55
55
|
component: _TextBox.default,
|
|
56
56
|
id: 'suggestions',
|
|
57
|
-
disableContinue:
|
|
57
|
+
disableContinue: true
|
|
58
58
|
}];
|
|
59
59
|
|
|
60
60
|
var SurveyComponent = function SurveyComponent(_ref) {
|
|
@@ -133,7 +133,7 @@ var SurveyComponent = function SurveyComponent(_ref) {
|
|
|
133
133
|
id: "survey-button",
|
|
134
134
|
type: "button",
|
|
135
135
|
onClick: function onClick() {
|
|
136
|
-
if (!finished) {
|
|
136
|
+
if (!finished && !disabled) {
|
|
137
137
|
finish();
|
|
138
138
|
emitEvent({
|
|
139
139
|
type: 'saveSurvey',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamelearn/arcade-components",
|
|
3
3
|
"license": "Gamelearn",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.7",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@babel/cli": "7.12.10",
|
|
56
56
|
"@babel/preset-env": "7.12.11",
|
|
57
57
|
"@babel/preset-react": "7.12.10",
|
|
58
|
-
"@gamelearn/ui-components-core": "5.
|
|
58
|
+
"@gamelearn/ui-components-core": "5.29.0",
|
|
59
59
|
"@react-three/test-renderer": "6.0.6",
|
|
60
60
|
"@storybook/addon-actions": "6.1.11",
|
|
61
61
|
"@storybook/addon-essentials": "6.1.11",
|
|
@@ -76,4 +76,4 @@
|
|
|
76
76
|
"^react-pdf$": "react-pdf/dist/umd/entry.jest"
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
}
|