@coorpacademy/components 10.24.2 → 10.24.3-alpha.8
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/atom/provider/web-context.js +1 -1
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +3 -3
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/swapper/index.js +1 -1
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/transition/index.js +1 -1
- package/es/hoc/transition/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +1 -1
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/card/index.js +1 -1
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +1 -1
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/organism/review-congrats/index.js +3 -3
- package/es/organism/review-congrats/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.js +3 -6
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +3 -6
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +3 -4
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-review/skills/index.native.js +146 -107
- package/es/template/app-review/skills/index.native.js.map +1 -1
- package/es/template/app-review/skills/prop-types.js +17 -0
- package/es/template/app-review/skills/prop-types.js.map +1 -0
- package/es/template/app-review/template-context.js +1 -1
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/common/dashboard/index.js +1 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/types/translations.js.map +1 -1
- package/lib/atom/provider/web-context.js +1 -1
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/hoc/animation-scheduler/index.js +3 -3
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/swapper/index.js +1 -1
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/transition/index.js +1 -1
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +1 -1
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/card/index.js +1 -1
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +1 -1
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +1 -1
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +1 -1
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/share/index.js +1 -1
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/organism/review-congrats/index.js +3 -3
- package/lib/organism/review-congrats/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.js +3 -6
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +3 -6
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +3 -4
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-review/skills/index.native.js +146 -111
- package/lib/template/app-review/skills/index.native.js.map +1 -1
- package/lib/template/app-review/skills/prop-types.js +29 -0
- package/lib/template/app-review/skills/prop-types.js.map +1 -0
- package/lib/template/app-review/template-context.js +1 -1
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/common/dashboard/index.js +1 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/types/translations.js.map +1 -1
- package/package.json +4 -4
|
@@ -3,52 +3,46 @@
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
6
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
7
|
|
|
10
8
|
var _reactNative = require("react-native");
|
|
11
9
|
|
|
12
10
|
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
13
11
|
|
|
14
|
-
var
|
|
12
|
+
var _templateContext = require("../template-context");
|
|
15
13
|
|
|
16
|
-
|
|
14
|
+
var _index = require("../../../organism/header-v2/index.native");
|
|
17
15
|
|
|
18
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
17
|
|
|
20
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
// import translations from '../../../translations';
|
|
24
|
-
// import {HEADER_HEIGHT} from '../../../app-shared/components/header-v2';
|
|
25
|
-
// import noSkillsImage from '../../../assets/images/revision-no-skills.png';
|
|
26
|
-
// import Touchable from '../../../app-shared/components/touchable';
|
|
27
|
-
const styles = _reactNative.StyleSheet.create({
|
|
20
|
+
const createStyleSheet = theme => _reactNative.StyleSheet.create({
|
|
28
21
|
container: {
|
|
29
22
|
flex: 1,
|
|
30
|
-
padding: 20
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
padding: 20,
|
|
24
|
+
paddingTop: _index.HEADER_HEIGHT + 20,
|
|
25
|
+
backgroundColor: theme.colors.white
|
|
33
26
|
},
|
|
34
27
|
title: {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
lineHeight: 28
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
fontSize: theme.fontSize.xlarge,
|
|
29
|
+
fontWeight: theme.fontWeight.bold,
|
|
30
|
+
lineHeight: 28,
|
|
31
|
+
color: theme.colors.text.primary,
|
|
32
|
+
marginBottom: theme.spacing.base,
|
|
33
|
+
marginTop: theme.spacing.small
|
|
41
34
|
},
|
|
42
|
-
subtitle: {
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
subtitle: {
|
|
36
|
+
fontSize: theme.fontSize.xlarge,
|
|
37
|
+
color: theme.colors.text.primary,
|
|
38
|
+
marginBottom: theme.spacing.tiny
|
|
45
39
|
},
|
|
46
40
|
text: {
|
|
47
41
|
fontSize: 16,
|
|
48
42
|
lineHeight: 22,
|
|
49
|
-
|
|
50
|
-
opacity: 0.7
|
|
51
|
-
|
|
43
|
+
color: theme.colors.text.primary,
|
|
44
|
+
opacity: 0.7,
|
|
45
|
+
marginBottom: theme.spacing.base
|
|
52
46
|
},
|
|
53
47
|
noSkillsImage: {
|
|
54
48
|
flex: 1,
|
|
@@ -56,18 +50,20 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
56
50
|
width: 320,
|
|
57
51
|
height: 300
|
|
58
52
|
},
|
|
59
|
-
skills: {
|
|
53
|
+
skills: {
|
|
54
|
+
paddingBottom: 100
|
|
55
|
+
},
|
|
60
56
|
skill: {
|
|
61
57
|
display: 'flex',
|
|
62
58
|
flexDirection: 'row',
|
|
63
59
|
overflow: 'hidden',
|
|
64
60
|
alignItems: 'center',
|
|
65
61
|
height: 118,
|
|
66
|
-
borderRadius: 8
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
62
|
+
borderRadius: 8,
|
|
63
|
+
backgroundColor: theme.colors.gray.lighter,
|
|
64
|
+
marginTop: theme.spacing.micro,
|
|
65
|
+
marginBottom: theme.spacing.micro,
|
|
66
|
+
padding: theme.spacing.base
|
|
71
67
|
},
|
|
72
68
|
skillTexts: {
|
|
73
69
|
flex: 1,
|
|
@@ -76,17 +72,14 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
76
72
|
skillTitle: {
|
|
77
73
|
fontSize: 18,
|
|
78
74
|
fontWeight: '600',
|
|
79
|
-
lineHeight: 22
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
lineHeight: 22,
|
|
76
|
+
color: theme.colors.text.primary,
|
|
77
|
+
marginBottom: theme.spacing.tiny
|
|
82
78
|
},
|
|
83
79
|
skillInfo: {
|
|
84
80
|
fontSize: 12,
|
|
85
|
-
lineHeight: 16
|
|
86
|
-
|
|
87
|
-
},
|
|
88
|
-
extraSpace: {
|
|
89
|
-
height: 100
|
|
81
|
+
lineHeight: 16,
|
|
82
|
+
color: theme.colors.gray.medium
|
|
90
83
|
}
|
|
91
84
|
}); // -----------------------------------------------------------------------------
|
|
92
85
|
|
|
@@ -98,99 +91,141 @@ const onSelectSkill = title => () => {
|
|
|
98
91
|
});
|
|
99
92
|
};
|
|
100
93
|
|
|
101
|
-
const ExtraSpace = () => /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
102
|
-
style: styles.extraSpace
|
|
103
|
-
});
|
|
104
|
-
|
|
105
94
|
const Skill = ({
|
|
106
95
|
title,
|
|
107
96
|
info
|
|
108
|
-
}) =>
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
97
|
+
}) => {
|
|
98
|
+
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
99
|
+
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
100
|
+
const {
|
|
101
|
+
theme
|
|
102
|
+
} = templateContext;
|
|
103
|
+
(0, _react.useEffect)(() => {
|
|
104
|
+
const _stylesheet = createStyleSheet(theme);
|
|
105
|
+
|
|
106
|
+
setStylesheet(_stylesheet);
|
|
107
|
+
}, [theme]);
|
|
108
|
+
|
|
109
|
+
if (!styleSheet) {
|
|
110
|
+
return null;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
|
|
114
|
+
style: styleSheet.skill,
|
|
115
|
+
onPress: onSelectSkill(title)
|
|
116
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
117
|
+
style: styleSheet.skillTexts
|
|
118
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
119
|
+
style: styleSheet.skillTitle
|
|
120
|
+
}, title), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
121
|
+
style: styleSheet.skillInfo
|
|
122
|
+
}, info)), /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionNavigationArrowRight, {
|
|
123
|
+
color: "#ededed",
|
|
124
|
+
height: 20,
|
|
125
|
+
width: 20
|
|
126
|
+
}));
|
|
127
|
+
}; // -----------------------------------------------------------------------------
|
|
128
|
+
|
|
127
129
|
|
|
128
130
|
const Item = ({
|
|
129
131
|
item: {
|
|
130
132
|
title,
|
|
131
|
-
info
|
|
132
|
-
isExtraSpace = false
|
|
133
|
+
info
|
|
133
134
|
}
|
|
134
|
-
}) =>
|
|
135
|
+
}) => /*#__PURE__*/_react.default.createElement(Skill, {
|
|
135
136
|
title: title,
|
|
136
137
|
info: info
|
|
137
138
|
});
|
|
138
139
|
|
|
139
|
-
const List =
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
140
|
+
const List = props => {
|
|
141
|
+
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
142
|
+
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
143
|
+
const {
|
|
144
|
+
theme
|
|
145
|
+
} = templateContext;
|
|
146
|
+
const {
|
|
147
|
+
skills
|
|
148
|
+
} = props;
|
|
149
|
+
(0, _react.useEffect)(() => {
|
|
150
|
+
const _stylesheet = createStyleSheet(theme);
|
|
151
|
+
|
|
152
|
+
setStylesheet(_stylesheet);
|
|
153
|
+
}, [theme]);
|
|
154
|
+
|
|
155
|
+
if (!styleSheet) {
|
|
156
|
+
return null;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const formattedDataList = [];
|
|
160
|
+
skills.map(skill => formattedDataList.push({
|
|
161
|
+
title: skill.skillTitle,
|
|
162
|
+
info: skill.skillAriaLabel
|
|
163
|
+
}));
|
|
164
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
|
|
165
|
+
contentContainerStyle: styleSheet.skills,
|
|
166
|
+
data: formattedDataList,
|
|
167
|
+
renderItem: Item
|
|
168
|
+
});
|
|
169
|
+
}; // -----------------------------------------------------------------------------
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
const NoSkills = () => {
|
|
173
|
+
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
174
|
+
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
175
|
+
const {
|
|
176
|
+
theme,
|
|
177
|
+
translations
|
|
178
|
+
} = templateContext;
|
|
179
|
+
(0, _react.useEffect)(() => {
|
|
180
|
+
const _stylesheet = createStyleSheet(theme);
|
|
181
|
+
|
|
182
|
+
setStylesheet(_stylesheet);
|
|
183
|
+
}, [theme]);
|
|
146
184
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
title: translations.revision.home.noSkills
|
|
160
|
-
text: translations.revision.home.noSkillsDetails
|
|
161
|
-
image: use web svg
|
|
162
|
-
<ImageBackground source={noSkillsImage} style={styles.noSkillsImage} />
|
|
163
|
-
*/
|
|
164
|
-
|
|
165
|
-
const NoSkills = ({
|
|
166
|
-
titleNoSkills,
|
|
167
|
-
textNoSkills
|
|
168
|
-
}) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
169
|
-
style: styles.subtitle
|
|
170
|
-
}, titleNoSkills), /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
171
|
-
style: styles.text
|
|
172
|
-
}, textNoSkills));
|
|
173
|
-
|
|
174
|
-
NoSkills.propTypes = process.env.NODE_ENV !== "production" ? _propTypes2.NoSkillsPropTypes : {}; // -----------------------------------------------------------------------------
|
|
185
|
+
if (!styleSheet) {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
190
|
+
style: styleSheet.subtitle
|
|
191
|
+
}, translations.appReview?.noSkills?.title), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
192
|
+
style: styleSheet.text
|
|
193
|
+
}, translations.appReview?.noSkills?.text), /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyEmptyStateHomeRevision, {
|
|
194
|
+
style: styleSheet.noSkillsImage
|
|
195
|
+
}));
|
|
196
|
+
}; // -----------------------------------------------------------------------------
|
|
175
197
|
// title --> translations.revision.home.title
|
|
176
198
|
|
|
199
|
+
|
|
177
200
|
const Skills = props => {
|
|
178
201
|
const {
|
|
179
202
|
title,
|
|
180
203
|
listSkills
|
|
181
204
|
} = props;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
205
|
+
const templateContext = (0, _templateContext.useTemplateContext)();
|
|
206
|
+
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
207
|
+
const {
|
|
208
|
+
theme
|
|
209
|
+
} = templateContext;
|
|
210
|
+
(0, _react.useEffect)(() => {
|
|
211
|
+
const _stylesheet = createStyleSheet(theme);
|
|
212
|
+
|
|
213
|
+
setStylesheet(_stylesheet);
|
|
214
|
+
}, [theme]); // ------------------------------------
|
|
215
|
+
|
|
216
|
+
if (!styleSheet) {
|
|
217
|
+
return null;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
221
|
+
style: styleSheet.container
|
|
222
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
223
|
+
style: styleSheet.title
|
|
224
|
+
}, title), !listSkills || listSkills.length === 0 ? /*#__PURE__*/_react.default.createElement(NoSkills, null) : /*#__PURE__*/_react.default.createElement(List, {
|
|
225
|
+
skills: listSkills
|
|
190
226
|
}));
|
|
191
|
-
};
|
|
227
|
+
}; // -----------------------------------------------------------------------------
|
|
192
228
|
|
|
193
|
-
Skills.propTypes = process.env.NODE_ENV !== "production" ? _propTypes2.default : {}; // -----------------------------------------------------------------------------
|
|
194
229
|
|
|
195
230
|
var _default = Skills;
|
|
196
231
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["styles","StyleSheet","create","container","flex","padding","title","lineHeight","subtitle","text","fontSize","opacity","noSkillsImage","alignSelf","width","height","skills","skill","display","flexDirection","overflow","alignItems","borderRadius","skillTexts","skillTitle","fontWeight","skillInfo","extraSpace","onSelectSkill","console","log","ExtraSpace","Skill","info","propTypes","PropTypes","string","Item","item","isExtraSpace","List","shape","bool","ListSkillsPropTypes","listSkills","NoSkills","titleNoSkills","textNoSkills","NoSkillsPropTypes","Skills","props","length"],"sources":["../../../../src/template/app-review/skills/index.native.js"],"sourcesContent":["import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport {View, FlatList, Pressable, StyleSheet, Text} from 'react-native';\nimport {NovaCompositionNavigationArrowRight as ArrowRight} from '@coorpacademy/nova-icons';\nimport propTypes, {\n ListSkillsPropTypes,\n NoSkillsPropTypes\n} from '../../../organism/review-skills/prop-types';\n\n// import theme from '../../../modules/theme';\n// import translations from '../../../translations';\n// import {HEADER_HEIGHT} from '../../../app-shared/components/header-v2';\n// import noSkillsImage from '../../../assets/images/revision-no-skills.png';\n// import Touchable from '../../../app-shared/components/touchable';\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n padding: 20\n // paddingTop: HEADER_HEIGHT + 20,\n // backgroundColor: theme.colors.white\n },\n title: {\n // fontSize: theme.fontSize.xlarge,\n // fontWeight: theme.fontWeight.bold,\n lineHeight: 28\n // color: theme.colors.text.primary,\n // marginBottom: theme.spacing.base,\n // marginTop: theme.spacing.small\n },\n subtitle: {\n // fontSize: theme.fontSize.xlarge,\n // color: theme.colors.text.primary,\n // marginBottom: theme.spacing.tiny\n },\n text: {\n fontSize: 16,\n lineHeight: 22,\n // color: theme.colors.text.primary,\n opacity: 0.7\n // marginBottom: theme.spacing.base\n },\n noSkillsImage: {\n flex: 1,\n alignSelf: 'center',\n width: 320,\n height: 300\n },\n skills: {},\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8\n // backgroundColor: theme.colors.gray.lighter,\n // marginTop: theme.spacing.micro,\n // marginBottom: theme.spacing.micro,\n // padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22\n // color: theme.colors.text.primary,\n // marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16\n // color: theme.colors.gray.medium\n },\n extraSpace: {\n height: 100\n }\n});\n\n// -----------------------------------------------------------------------------\n\nconst onSelectSkill = title => () => {\n // eslint-disable-next-line no-console\n console.log('pressed on', {title});\n};\n\nconst ExtraSpace = () => <View style={styles.extraSpace} />;\n\nconst Skill = ({title, info}) => (\n <Pressable style={styles.skill} onPress={onSelectSkill(title)}>\n <View style={styles.skillTexts}>\n <Text style={styles.skillTitle}>{title}</Text>\n <Text style={styles.skillInfo}>{info}</Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n);\n\nSkill.propTypes = {\n title: PropTypes.string,\n info: PropTypes.string\n};\n\n// -----------------------------------------------------------------------------\n\nconst Item = ({item: {title, info, isExtraSpace = false}}) =>\n isExtraSpace ? <ExtraSpace /> : <Skill title={title} info={info} />;\n\nconst List = ({skills}) => (\n <FlatList contentContainerStyle={styles.skills} data={skills} renderItem={Item} />\n);\n\nItem.propTypes = {\n item: PropTypes.shape({\n title: PropTypes.string,\n info: PropTypes.string,\n isExtraSpace: PropTypes.bool\n })\n};\n\nList.propTypes = {\n skills: ListSkillsPropTypes.listSkills\n};\n\n// -----------------------------------------------------------------------------\n\n/*\n title: translations.revision.home.noSkills\n text: translations.revision.home.noSkillsDetails\n image: use web svg\n <ImageBackground source={noSkillsImage} style={styles.noSkillsImage} />\n*/\nconst NoSkills = ({titleNoSkills, textNoSkills}) => (\n <>\n <Text style={styles.subtitle}>{titleNoSkills}</Text>\n <Text style={styles.text}>{textNoSkills}</Text>\n </>\n);\n\nNoSkills.propTypes = NoSkillsPropTypes;\n\n// -----------------------------------------------------------------------------\n\n// title --> translations.revision.home.title\nconst Skills = props => {\n const {title, listSkills} = props;\n\n return (\n <View style={styles.container}>\n <Text style={styles.title}>{title}</Text>\n {!listSkills || listSkills.length === 0 ? (\n <NoSkills />\n ) : (\n <List skills={[...listSkills, {isExtraSpace: true}]} />\n )}\n </View>\n );\n};\n\nSkills.propTypes = propTypes;\n\n// -----------------------------------------------------------------------------\n\nexport default Skills;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAKA;AACA;AACA;AACA;AACA;AAEA,MAAMA,MAAM,GAAGC,uBAAA,CAAWC,MAAX,CAAkB;EAC/BC,SAAS,EAAE;IACTC,IAAI,EAAE,CADG;IAETC,OAAO,EAAE,EAFA,CAGT;IACA;;EAJS,CADoB;EAO/BC,KAAK,EAAE;IACL;IACA;IACAC,UAAU,EAAE,EAHP,CAIL;IACA;IACA;;EANK,CAPwB;EAe/BC,QAAQ,EAAE,CACR;IACA;IACA;EAHQ,CAfqB;EAoB/BC,IAAI,EAAE;IACJC,QAAQ,EAAE,EADN;IAEJH,UAAU,EAAE,EAFR;IAGJ;IACAI,OAAO,EAAE,GAJL,CAKJ;;EALI,CApByB;EA2B/BC,aAAa,EAAE;IACbR,IAAI,EAAE,CADO;IAEbS,SAAS,EAAE,QAFE;IAGbC,KAAK,EAAE,GAHM;IAIbC,MAAM,EAAE;EAJK,CA3BgB;EAiC/BC,MAAM,EAAE,EAjCuB;EAkC/BC,KAAK,EAAE;IACLC,OAAO,EAAE,MADJ;IAELC,aAAa,EAAE,KAFV;IAGLC,QAAQ,EAAE,QAHL;IAILC,UAAU,EAAE,QAJP;IAKLN,MAAM,EAAE,GALH;IAMLO,YAAY,EAAE,CANT,CAOL;IACA;IACA;IACA;;EAVK,CAlCwB;EA8C/BC,UAAU,EAAE;IACVnB,IAAI,EAAE,CADI;IAEVe,aAAa,EAAE;EAFL,CA9CmB;EAkD/BK,UAAU,EAAE;IACVd,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IAAeA,UAAU,CAACO,MAAX,KAAsB,CAArC,gBACC,oBAAC,QAAD,OADD,gBAGC,oBAAC,IAAD;IAAM,MAAM,EAAE,CAAC,GAAGP,UAAJ,EAAgB;MAACL,YAAY,EAAE;IAAf,CAAhB;EAAd,EALJ,CADF;AAUD,CAbD;;AAeAU,MAAM,CAACf,SAAP,2CAAmBA,mBAAnB,M,CAEA;;eAEee,M"}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["createStyleSheet","theme","StyleSheet","create","container","flex","padding","paddingTop","HEADER_HEIGHT","backgroundColor","colors","white","title","fontSize","xlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","spacing","base","marginTop","small","subtitle","tiny","opacity","noSkillsImage","alignSelf","width","height","skills","paddingBottom","skill","display","flexDirection","overflow","alignItems","borderRadius","gray","lighter","micro","skillTexts","skillTitle","skillInfo","medium","onSelectSkill","console","log","Skill","info","templateContext","useTemplateContext","styleSheet","setStylesheet","useState","useEffect","_stylesheet","Item","item","List","props","formattedDataList","map","push","skillAriaLabel","NoSkills","translations","appReview","noSkills","Skills","listSkills","length"],"sources":["../../../../src/template/app-review/skills/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, FlatList, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaCompositionNavigationArrowRight as ArrowRight,\n NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision\n} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../template-context';\nimport {Theme} from '../../../variables/theme.native';\n\nimport {HEADER_HEIGHT} from '../../../organism/header-v2/index.native';\nimport {ItemProps, ListSkillsProps, SkillProps, SkillsProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n subtitle: TextStyle;\n text: TextStyle;\n noSkillsImage: ViewStyle;\n skills: ViewStyle;\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n flex: 1,\n padding: 20,\n paddingTop: HEADER_HEIGHT + 20,\n backgroundColor: theme.colors.white\n },\n title: {\n fontSize: theme.fontSize.xlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 28,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.base,\n marginTop: theme.spacing.small\n },\n subtitle: {\n fontSize: theme.fontSize.xlarge,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n text: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary,\n opacity: 0.7,\n marginBottom: theme.spacing.base\n },\n noSkillsImage: {\n flex: 1,\n alignSelf: 'center',\n width: 320,\n height: 300\n },\n skills: {paddingBottom: 100},\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\n// -----------------------------------------------------------------------------\n\nconst onSelectSkill = (title: string) => () => {\n // eslint-disable-next-line no-console\n console.log('pressed on', {title});\n};\n\nconst Skill = ({title, info}: SkillProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable style={styleSheet.skill} onPress={onSelectSkill(title)}>\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle}>{title}</Text>\n <Text style={styleSheet.skillInfo}>{info}</Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst Item = ({item: {title, info}}: ItemProps) => <Skill title={title} info={info} />;\n\ntype ItemDataType = {\n title: string;\n info: string;\n};\n\nconst List = (props: {skills: Array<ListSkillsProps>}) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skills} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n const formattedDataList: Array<ItemDataType> = [];\n skills.map(skill =>\n formattedDataList.push({\n title: skill.skillTitle,\n info: skill.skillAriaLabel\n })\n );\n\n return (\n <FlatList\n contentContainerStyle={styleSheet.skills}\n data={formattedDataList}\n renderItem={Item}\n />\n );\n};\n\n// -----------------------------------------------------------------------------\n\nconst NoSkills = () => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme, translations} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <>\n <Text style={styleSheet.subtitle}>{translations.appReview?.noSkills?.title}</Text>\n <Text style={styleSheet.text}>{translations.appReview?.noSkills?.text}</Text>\n <EmptyStateHomeRevision style={styleSheet.noSkillsImage} />\n </>\n );\n};\n\n// -----------------------------------------------------------------------------\n\n// title --> translations.revision.home.title\nconst Skills = (props: SkillsProps) => {\n const {title, listSkills} = props;\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Text style={styleSheet.title}>{title}</Text>\n {!listSkills || listSkills.length === 0 ? <NoSkills /> : <List skills={listSkills} />}\n </View>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nexport default Skills;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAIA;;AAGA;;;;;;AAgBA,MAAMA,gBAAgB,GAAIC,KAAD,IACvBC,uBAAA,CAAWC,MAAX,CAAkB;EAChBC,SAAS,EAAE;IACTC,IAAI,EAAE,CADG;IAETC,OAAO,EAAE,EAFA;IAGTC,UAAU,EAAEC,oBAAA,GAAgB,EAHnB;IAITC,eAAe,EAAER,KAAK,CAACS,MAAN,CAAaC;EAJrB,CADK;EAOhBC,KAAK,EAAE;IACLC,QAAQ,EAAEZ,KAAK,CAACY,QAAN,CAAeC,MADpB;IAELC,UAAU,EAAEd,KAAK,CAACc,UAAN,CAAiBC,IAFxB;IAGLC,UAAU,EAAE,EAHP;IAILC,KAAK,EAAEjB,KAAK,CAACS,MAAN,CAAaS,IAAb,CAAkBC,OAJpB;IAKLC,YAAY,EAAEpB,KAAK,CAACqB,OAAN,CAAcC,IALvB;IAMLC,SAAS,EAAEvB,KAAK,CAACqB,OAAN,CAAcG;EANpB,CAPS;EAehBC,QAAQ,EAAE;IACRb,QAAQ,EAAEZ,KAAK,CAACY,QAAN,CAAeC,MADjB;IAERI,KAAK,EAAEjB,KAAK,CAACS,MAAN,CAAaS,IAAb,CAAkBC,OAFjB;IAGRC,YAAY,EAAEpB,KAAK,CAACqB,OAAN,CAAcK;EAHpB,CAfM;EAoBhBR,IAAI,EAAE;IACJN,QAAQ,EAAE,EADN;IAEJI,UAAU,EAAE,EAFR;IAGJC,KAAK,EAAEjB,KAAK,CAACS,MAAN,CAAaS,IAAb,CAAkBC,OAHrB;IAIJQ,OAAO,EAAE,GAJL;IAKJP,YAAY,EAAEpB,KAAK,CAACqB,OAAN,CAAcC;EALxB,CApBU;EA2BhBM,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AAE2C,UAAU,CAACpC;EAAxB,GAA+BkD,YAAY,CAACC,SAAb,EAAwBC,QAAxB,EAAkCpD,IAAjE,CAFF,eAGE,6BAAC,4DAAD;IAAwB,KAAK,EAAEoC,UAAU,CAAC1B;EAA1C,EAHF,CADF;AAOD,CArBD,C,CAuBA;AAEA;;;AACA,MAAM2C,MAAM,GAAIT,KAAD,IAAwB;EACrC,MAAM;IAACnD,KAAD;IAAQ6D;EAAR,IAAsBV,KAA5B;EACA,MAAMV,eAAe,GAAG,IAAAC,mCAAA,GAAxB;EACA,MAAM,CAACC,UAAD,EAAaC,aAAb,IAA8B,IAAAC,eAAA,EAAgC,IAAhC,CAApC;EACA,MAAM;IAACxD;EAAD,IAAUoD,eAAhB;EAEA,IAAAK,gBAAA,EAAU,MAAM;IACd,MAAMC,WAAW,GAAG3D,gBAAgB,CAACC,KAAD,CAApC;;IACAuD,aAAa,CAACG,WAAD,CAAb;EACD,CAHD,EAGG,CAAC1D,KAAD,CAHH,EANqC,CAWrC;;EAEA,IAAI,CAACsD,UAAL,EAAiB;IACf,OAAO,IAAP;EACD;;EAED,oBACE,6BAAC,iBAAD;IAAM,KAAK,EAAEA,UAAU,CAACnD;EAAxB,gBACE,6BAAC,iBAAD;IAAM,KAAK,EAAEmD,UAAU,CAAC3C;EAAxB,GAAgCA,KAAhC,CADF,EAEG,CAAC6D,UAAD,IAAeA,UAAU,CAACC,MAAX,KAAsB,CAArC,gBAAyC,6BAAC,QAAD,OAAzC,gBAAwD,6BAAC,IAAD;IAAM,MAAM,EAAED;EAAd,EAF3D,CADF;AAMD,CAvBD,C,CAyBA;;;eAEeD,M"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SkillPropsTypes = exports.ListPropTypes = exports.ItemPropsTypes = void 0;
|
|
5
|
+
|
|
6
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
7
|
+
|
|
8
|
+
var _propTypes2 = require("../../../organism/review-skills/prop-types");
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
const SkillPropsTypes = {
|
|
13
|
+
title: _propTypes.default.string,
|
|
14
|
+
info: _propTypes.default.string
|
|
15
|
+
};
|
|
16
|
+
exports.SkillPropsTypes = SkillPropsTypes;
|
|
17
|
+
const ItemPropsTypes = {
|
|
18
|
+
item: _propTypes.default.shape({
|
|
19
|
+
title: _propTypes.default.string,
|
|
20
|
+
info: _propTypes.default.string,
|
|
21
|
+
isExtraSpace: _propTypes.default.bool
|
|
22
|
+
})
|
|
23
|
+
};
|
|
24
|
+
exports.ItemPropsTypes = ItemPropsTypes;
|
|
25
|
+
const ListPropTypes = {
|
|
26
|
+
skills: _propTypes2.ListSkillsPropTypes.listSkills
|
|
27
|
+
};
|
|
28
|
+
exports.ListPropTypes = ListPropTypes;
|
|
29
|
+
//# sourceMappingURL=prop-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["SkillPropsTypes","title","PropTypes","string","info","ItemPropsTypes","item","shape","isExtraSpace","bool","ListPropTypes","skills","ListSkillsPropTypes","listSkills"],"sources":["../../../../src/template/app-review/skills/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport {ListSkillsPropTypes} from '../../../organism/review-skills/prop-types';\n\nexport const SkillPropsTypes = {\n title: PropTypes.string,\n info: PropTypes.string\n};\n\nexport const ItemPropsTypes = {\n item: PropTypes.shape({\n title: PropTypes.string,\n info: PropTypes.string,\n isExtraSpace: PropTypes.bool\n })\n};\n\nexport const ListPropTypes = {\n skills: ListSkillsPropTypes.listSkills\n};\n\nexport type SkillProps = {\n title: string;\n info: string;\n};\n\nexport type ItemProps = {\n item: {title: string; info: string};\n};\n\nexport type NoSkillsProps = {\n titleNoSkills: string;\n textNoSkills: string;\n};\n\nexport type ListSkillsProps = {\n skillTitle: string;\n isCustom: boolean;\n 'aria-label': string;\n skillAriaLabel: string;\n buttonLabel: string;\n buttonAriaLabel: string;\n reviseLabel: string;\n reviseAriaLabel: string;\n onClick: () => void;\n};\n\nexport type SkillsProps = {\n title: string;\n listSkills: Array<ListSkillsProps>;\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAEO,MAAMA,eAAe,GAAG;EAC7BC,KAAK,EAAEC,kBAAA,CAAUC,MADY;EAE7BC,IAAI,EAAEF,kBAAA,CAAUC;AAFa,CAAxB;;AAKA,MAAME,cAAc,GAAG;EAC5BC,IAAI,EAAEJ,kBAAA,CAAUK,KAAV,CAAgB;IACpBN,KAAK,EAAEC,kBAAA,CAAUC,MADG;IAEpBC,IAAI,EAAEF,kBAAA,CAAUC,MAFI;IAGpBK,YAAY,EAAEN,kBAAA,CAAUO;EAHJ,CAAhB;AADsB,CAAvB;;AAQA,MAAMC,aAAa,GAAG;EAC3BC,MAAM,EAAEC,+BAAA,CAAoBC;AADD,CAAtB"}
|
|
@@ -15,7 +15,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
15
15
|
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
17
|
|
|
18
|
-
const Context = (0, _react.createContext)({
|
|
18
|
+
const Context = /*#__PURE__*/(0, _react.createContext)({
|
|
19
19
|
theme: _theme.default,
|
|
20
20
|
translations: {},
|
|
21
21
|
display: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-context.js","names":["Context","createContext","theme","defaultTheme","translations","display","headerHeight","statusBarHeight","store","useTemplateContext","context","useContext","Error","TemplateContext","values","children"],"sources":["../../../src/template/app-review/template-context.tsx"],"sourcesContent":["import React, {createContext, useContext} from 'react';\nimport {Translations} from '../../types/translations';\nimport {Analytics} from '../../variables/analytics';\nimport defaultTheme, {Theme} from '../../variables/theme.native';\nimport {Vibration} from '../../variables/vibration';\n\nexport type HandleBlur = () => void;\nexport type HandleFocus = (id: string) => () => void;\nexport type FocusedSelectId = string | null;\n\nexport type TemplateContextValues = {\n analytics?: Analytics;\n brandTheme?: any;\n theme: Theme;\n translations: Translations;\n vibration?: Vibration;\n display: {\n headerHeight: number;\n statusBarHeight: number;\n };\n store: {\n focusedSelectId?: FocusedSelectId;\n handleBlur?: HandleBlur;\n handleFocus?: HandleFocus;\n };\n};\n\ntype Props = {values: TemplateContextValues; children: any};\n\nconst Context = createContext({\n theme: defaultTheme,\n translations: {},\n display: {\n headerHeight: 67,\n statusBarHeight: 42\n },\n store: {}\n});\n\nconst useTemplateContext = (): TemplateContextValues => {\n const context = useContext(Context);\n\n if (!context) {\n throw new Error(\n `❌ [TemplateContext] useTemplateContext must be used within a provider <TemplateContext>`\n );\n }\n\n return context;\n};\n\nconst TemplateContext = ({values, children}: Props) => {\n return <Context.Provider value={{...values}}>{children}</Context.Provider>;\n};\n\nexport {TemplateContext, useTemplateContext};\n"],"mappings":";;;;;AAAA;;AAGA;;;;;;;;;;AA0BA,MAAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"template-context.js","names":["Context","createContext","theme","defaultTheme","translations","display","headerHeight","statusBarHeight","store","useTemplateContext","context","useContext","Error","TemplateContext","values","children"],"sources":["../../../src/template/app-review/template-context.tsx"],"sourcesContent":["import React, {createContext, useContext} from 'react';\nimport {Translations} from '../../types/translations';\nimport {Analytics} from '../../variables/analytics';\nimport defaultTheme, {Theme} from '../../variables/theme.native';\nimport {Vibration} from '../../variables/vibration';\n\nexport type HandleBlur = () => void;\nexport type HandleFocus = (id: string) => () => void;\nexport type FocusedSelectId = string | null;\n\nexport type TemplateContextValues = {\n analytics?: Analytics;\n brandTheme?: any;\n theme: Theme;\n translations: Translations;\n vibration?: Vibration;\n display: {\n headerHeight: number;\n statusBarHeight: number;\n };\n store: {\n focusedSelectId?: FocusedSelectId;\n handleBlur?: HandleBlur;\n handleFocus?: HandleFocus;\n };\n};\n\ntype Props = {values: TemplateContextValues; children: any};\n\nconst Context = createContext({\n theme: defaultTheme,\n translations: {},\n display: {\n headerHeight: 67,\n statusBarHeight: 42\n },\n store: {}\n});\n\nconst useTemplateContext = (): TemplateContextValues => {\n const context = useContext(Context);\n\n if (!context) {\n throw new Error(\n `❌ [TemplateContext] useTemplateContext must be used within a provider <TemplateContext>`\n );\n }\n\n return context;\n};\n\nconst TemplateContext = ({values, children}: Props) => {\n return <Context.Provider value={{...values}}>{children}</Context.Provider>;\n};\n\nexport {TemplateContext, useTemplateContext};\n"],"mappings":";;;;;AAAA;;AAGA;;;;;;;;;;AA0BA,MAAMA,OAAO,gBAAG,IAAAC,oBAAA,EAAc;EAC5BC,KAAK,EAAEC,cADqB;EAE5BC,YAAY,EAAE,EAFc;EAG5BC,OAAO,EAAE;IACPC,YAAY,EAAE,EADP;IAEPC,eAAe,EAAE;EAFV,CAHmB;EAO5BC,KAAK,EAAE;AAPqB,CAAd,CAAhB;;AAUA,MAAMC,kBAAkB,GAAG,MAA6B;EACtD,MAAMC,OAAO,GAAG,IAAAC,iBAAA,EAAWX,OAAX,CAAhB;;EAEA,IAAI,CAACU,OAAL,EAAc;IACZ,MAAM,IAAIE,KAAJ,CACH,yFADG,CAAN;EAGD;;EAED,OAAOF,OAAP;AACD,CAVD;;;;AAYA,MAAMG,eAAe,GAAG,CAAC;EAACC,MAAD;EAASC;AAAT,CAAD,KAA+B;EACrD,oBAAO,6BAAC,OAAD,CAAS,QAAT;IAAkB,KAAK,eAAMD,MAAN;EAAvB,GAAuCC,QAAvC,CAAP;AACD,CAFD"}
|
|
@@ -25,7 +25,7 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
28
|
-
const Hero = _react.default.memo(function Hero({
|
|
28
|
+
const Hero = /*#__PURE__*/_react.default.memo(function Hero({
|
|
29
29
|
hero,
|
|
30
30
|
welcome
|
|
31
31
|
}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {sections = [], hero, welcome, cookie} = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {sections = [], hero, welcome, cookie} = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,IAAI,gBAAGC,cAAA,CAAMC,IAAN,CAAW,SAASF,IAAT,CAAc;EAACG,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEC,cAAA,CAAMF;EAAtB,GAA6BA,IAAI,gBAAG,6BAAC,aAAD,EAAcA,IAAd,CAAH,gBAA4B,6BAAC,cAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;;AAIAJ,IAAI,CAACM,SAAL,2CAAiB;EACfH,IAAI,EAAEI,kBAAA,CAAUC,KAAV,CAAgBC,aAAA,CAASH,SAAzB,CADS;EAEfF,OAAO,EAAEG,kBAAA,CAAUC,KAAV,CAAgBE,cAAA,CAAMJ,SAAtB;AAFM,CAAjB;;AAKA,MAAMK,SAAS,GAAGC,KAAK,IAAI;E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,IAAI,EAAEH,IAAI,CAACM,SAAL,CAAeH,IADD;EAEpBC,OAAO,EAAEJ,IAAI,CAACM,SAAL,CAAeF,OAFJ;EAGpBS,QAAQ,EAAEN,kBAAA,CAAUkB,OAAV,CACRlB,kBAAA,CAAUmB,SAAV,CAAoB,CAClBnB,kBAAA,CAAUC,KAAV,CAAgBmB,0BAAA,CAAkBrB,SAAlC,CADkB,EAElBC,kBAAA,CAAUC,KAAV,CAAgBoB,kBAAA,CAAUtB,SAA1B,CAFkB,EAGlBC,kBAAA,CAAUC,KAAV,CAAgBqB,iBAAA,CAASvB,SAAzB,CAHkB,EAIlBC,kBAAA,CAAUC,KAAV,CAAgBsB,oBAAA,CAAYxB,SAA5B,CAJkB,CAApB,CADQ,CAHU;EAWpBQ,MAAM,EAAEP,kBAAA,CAAUC,KAAV,CAAgBuB,gBAAA,CAAQzB,SAAxB;AAXY,CAAtB;eAaeK,S"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.js","names":[],"sources":["../../src/types/translations.ts"],"sourcesContent":["export type Translations = {\n selectAnAnswer?: string;\n selectSomethingBelow?: string;\n typeHere?: string;\n};\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"translations.js","names":[],"sources":["../../src/types/translations.ts"],"sourcesContent":["export type Translations = {\n selectAnAnswer?: string;\n selectSomethingBelow?: string;\n typeHere?: string;\n appReview?: {\n noSkills?: {\n title?: string;\n text?: string;\n };\n };\n};\n"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "10.24.
|
|
3
|
+
"version": "10.24.3-alpha.8+085f42ee1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
"@babel/preset-react": "^7.18.6",
|
|
98
98
|
"@babel/preset-typescript": "^7.18.6",
|
|
99
99
|
"@babel/types": "^7.19.0",
|
|
100
|
-
"@coorpacademy/css-modules-require-hook": "2.1.
|
|
100
|
+
"@coorpacademy/css-modules-require-hook": "2.1.6-alpha.193+085f42ee1",
|
|
101
101
|
"@coorpacademy/eslint-plugin-coorpacademy": "^10.0.0",
|
|
102
102
|
"@coorpacademy/react-native-mock-render": "^0.2.4",
|
|
103
103
|
"@coorpacademy/react-native-slider": "^0.11.1",
|
|
104
104
|
"@coorpacademy/translate": "6.1.5",
|
|
105
|
-
"@coorpacademy/webpack-config": "11.0.
|
|
105
|
+
"@coorpacademy/webpack-config": "11.0.1-alpha.10+085f42ee1",
|
|
106
106
|
"@react-native-community/blur": "^4.2.0",
|
|
107
107
|
"@storybook/addon-actions": "^6.5.12",
|
|
108
108
|
"@storybook/addon-controls": "^6.5.12",
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"last 2 versions",
|
|
152
152
|
"IE 11"
|
|
153
153
|
],
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "085f42ee17112db779e2499778858cd65901d316"
|
|
155
155
|
}
|