@coorpacademy/app-review 0.7.6-alpha.33 → 0.7.6
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/es/views/slides/index.js
CHANGED
|
@@ -60,7 +60,7 @@ const getCurrentSlideRef = (state) => {
|
|
|
60
60
|
const content = progression.state.content;
|
|
61
61
|
return content.ref;
|
|
62
62
|
};
|
|
63
|
-
const buildStackSlides = (state, dispatch
|
|
63
|
+
const buildStackSlides = (state, dispatch) => {
|
|
64
64
|
const currentSlideRef = getCurrentSlideRef(state);
|
|
65
65
|
const progression = state.data.progression;
|
|
66
66
|
if (!currentSlideRef || !progression)
|
|
@@ -93,10 +93,7 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
93
93
|
loading: false,
|
|
94
94
|
questionText,
|
|
95
95
|
answerUI,
|
|
96
|
-
parentContentTitle:
|
|
97
|
-
contentTitle: parentContentTitle,
|
|
98
|
-
contentType: parentContentType
|
|
99
|
-
}),
|
|
96
|
+
parentContentTitle: `From "${parentContentTitle}" ${parentContentType}`,
|
|
100
97
|
animationType
|
|
101
98
|
};
|
|
102
99
|
return set(index, updatedUiSlide, acc);
|
|
@@ -323,7 +320,7 @@ export const mapStateToSlidesProps = (state, dispatch, options) => {
|
|
|
323
320
|
hiddenSteps: showCongrats
|
|
324
321
|
},
|
|
325
322
|
stack: {
|
|
326
|
-
slides: buildStackSlides(state, dispatch
|
|
323
|
+
slides: buildStackSlides(state, dispatch),
|
|
327
324
|
validateButton: {
|
|
328
325
|
label: translate('Validate'),
|
|
329
326
|
disabled: !get(['ui', 'slide', currentSlideRef, 'validateButton'], state),
|
|
@@ -66,7 +66,7 @@ const getCurrentSlideRef = (state) => {
|
|
|
66
66
|
const content = progression.state.content;
|
|
67
67
|
return content.ref;
|
|
68
68
|
};
|
|
69
|
-
const buildStackSlides = (state, dispatch
|
|
69
|
+
const buildStackSlides = (state, dispatch) => {
|
|
70
70
|
const currentSlideRef = getCurrentSlideRef(state);
|
|
71
71
|
const progression = state.data.progression;
|
|
72
72
|
if (!currentSlideRef || !progression)
|
|
@@ -99,10 +99,7 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
99
99
|
loading: false,
|
|
100
100
|
questionText,
|
|
101
101
|
answerUI,
|
|
102
|
-
parentContentTitle:
|
|
103
|
-
contentTitle: parentContentTitle,
|
|
104
|
-
contentType: parentContentType
|
|
105
|
-
}),
|
|
102
|
+
parentContentTitle: `From "${parentContentTitle}" ${parentContentType}`,
|
|
106
103
|
animationType
|
|
107
104
|
};
|
|
108
105
|
return (0, set_1.default)(index, updatedUiSlide, acc);
|
|
@@ -330,7 +327,7 @@ const mapStateToSlidesProps = (state, dispatch, options) => {
|
|
|
330
327
|
hiddenSteps: showCongrats
|
|
331
328
|
},
|
|
332
329
|
stack: {
|
|
333
|
-
slides: buildStackSlides(state, dispatch
|
|
330
|
+
slides: buildStackSlides(state, dispatch),
|
|
334
331
|
validateButton: {
|
|
335
332
|
label: translate('Validate'),
|
|
336
333
|
disabled: !(0, get_1.default)(['ui', 'slide', currentSlideRef, 'validateButton'], state),
|
package/locales/en/review.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/app-review",
|
|
3
|
-
"version": "0.7.6
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.15.0"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@coorpacademy/components": "10.27.4",
|
|
39
39
|
"@coorpacademy/redux-task": "1.1.6",
|
|
40
|
-
"@coorpacademy/translate": "6.1.5",
|
|
40
|
+
"@coorpacademy/translate": "^6.1.5",
|
|
41
41
|
"cross-fetch": "^3.1.5",
|
|
42
42
|
"jwt-decode": "^3.1.2",
|
|
43
43
|
"react-redux": "^7.2.9",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"webpack-cli": "^4.10.0",
|
|
72
72
|
"webpack-dev-server": "^4.11.1"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "39e56226e7bed6a8049221c3b99ec10790382e9b"
|
|
75
75
|
}
|