@coorpacademy/components 11.14.12-alpha.3.2 → 11.14.12
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/molecule/answer/index.d.ts.map +1 -1
- package/es/molecule/answer/index.js +2 -11
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/questions/free-text/index.d.ts.map +1 -1
- package/es/molecule/questions/free-text/index.js +0 -1
- package/es/molecule/questions/free-text/index.js.map +1 -1
- package/es/molecule/questions/qcm/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm/index.js +1 -3
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +1 -4
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/es/molecule/questions/qcm-graphic/index.js +1 -5
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.js +1 -2
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.d.ts.map +1 -1
- package/es/molecule/questions/template/index.js +1 -2
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts +13 -0
- package/es/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -0
- package/es/template/mobile-login/confirm-email-sent/index.native.js +214 -0
- package/es/template/mobile-login/confirm-email-sent/index.native.js.map +1 -0
- package/es/template/mobile-login/receive-email/index.native.d.ts +1 -0
- package/es/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/es/template/mobile-login/receive-email/index.native.js +6 -3
- package/es/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/lib/molecule/answer/index.d.ts.map +1 -1
- package/lib/molecule/answer/index.js +2 -11
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.d.ts.map +1 -1
- package/lib/molecule/questions/free-text/index.js +0 -1
- package/lib/molecule/questions/free-text/index.js.map +1 -1
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm/index.js +1 -3
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +1 -4
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
- package/lib/molecule/questions/qcm-graphic/index.js +1 -5
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/question-range/index.js +1 -2
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.d.ts.map +1 -1
- package/lib/molecule/questions/template/index.js +1 -2
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts +13 -0
- package/lib/template/mobile-login/confirm-email-sent/index.native.d.ts.map +1 -0
- package/lib/template/mobile-login/confirm-email-sent/index.native.js +234 -0
- package/lib/template/mobile-login/confirm-email-sent/index.native.js.map +1 -0
- package/lib/template/mobile-login/receive-email/index.native.d.ts +1 -0
- package/lib/template/mobile-login/receive-email/index.native.d.ts.map +1 -1
- package/lib/template/mobile-login/receive-email/index.native.js +6 -3
- package/lib/template/mobile-login/receive-email/index.native.js.map +1 -1
- package/locales/.mtslconfig.json +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
+
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
|
|
10
|
+
var _reactNativeLinearGradient = _interopRequireDefault(require("react-native-linear-gradient"));
|
|
11
|
+
|
|
12
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
13
|
+
|
|
14
|
+
var _reactNativeAnimation = require("@coorpacademy/react-native-animation");
|
|
15
|
+
|
|
16
|
+
var _index = _interopRequireDefault(require("../../../hoc/touchable/index.native"));
|
|
17
|
+
|
|
18
|
+
var _templateContext = require("../../app-review/template-context");
|
|
19
|
+
|
|
20
|
+
var _index2 = _interopRequireDefault(require("../../../atom/text/index.native"));
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
+
|
|
24
|
+
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); }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
const SCREEN = _reactNative.Dimensions.get('screen');
|
|
29
|
+
|
|
30
|
+
const createStyleSheet = theme => _reactNative.StyleSheet.create({
|
|
31
|
+
wrapper: {
|
|
32
|
+
top: 0,
|
|
33
|
+
bottom: 0,
|
|
34
|
+
left: 0,
|
|
35
|
+
right: 0,
|
|
36
|
+
flex: 1,
|
|
37
|
+
justifyContent: 'center',
|
|
38
|
+
alignItems: 'center',
|
|
39
|
+
paddingHorizontal: 24
|
|
40
|
+
},
|
|
41
|
+
backButton: {
|
|
42
|
+
position: 'absolute',
|
|
43
|
+
top: 60,
|
|
44
|
+
left: 30
|
|
45
|
+
},
|
|
46
|
+
closeIcon: {
|
|
47
|
+
fill: '#515161',
|
|
48
|
+
width: 20,
|
|
49
|
+
height: 20
|
|
50
|
+
},
|
|
51
|
+
gradients: {
|
|
52
|
+
position: 'absolute',
|
|
53
|
+
top: 0,
|
|
54
|
+
height: SCREEN.height,
|
|
55
|
+
left: 0,
|
|
56
|
+
right: 0,
|
|
57
|
+
flex: 1
|
|
58
|
+
},
|
|
59
|
+
gradient: {
|
|
60
|
+
position: 'absolute',
|
|
61
|
+
top: -80,
|
|
62
|
+
bottom: 400,
|
|
63
|
+
left: -180,
|
|
64
|
+
right: -180,
|
|
65
|
+
opacity: 1,
|
|
66
|
+
transform: [{
|
|
67
|
+
rotate: '15deg'
|
|
68
|
+
}]
|
|
69
|
+
},
|
|
70
|
+
gradient2: {
|
|
71
|
+
position: 'absolute',
|
|
72
|
+
top: -30,
|
|
73
|
+
bottom: 0,
|
|
74
|
+
left: 0,
|
|
75
|
+
right: 0,
|
|
76
|
+
opacity: 0.6
|
|
77
|
+
},
|
|
78
|
+
content: {
|
|
79
|
+
width: '100%',
|
|
80
|
+
justifyContent: 'space-around',
|
|
81
|
+
alignItems: 'center'
|
|
82
|
+
},
|
|
83
|
+
checkIconWrapper: {
|
|
84
|
+
backgroundColor: '#E8FCF8',
|
|
85
|
+
width: 64,
|
|
86
|
+
height: 64,
|
|
87
|
+
marginVertical: 12,
|
|
88
|
+
borderRadius: 16,
|
|
89
|
+
justifyContent: 'center',
|
|
90
|
+
alignItems: 'center'
|
|
91
|
+
},
|
|
92
|
+
checkIconInnerWrapper: {
|
|
93
|
+
backgroundColor: '#18BB98',
|
|
94
|
+
width: 24,
|
|
95
|
+
height: 24,
|
|
96
|
+
padding: 4,
|
|
97
|
+
borderRadius: 50,
|
|
98
|
+
justifyContent: 'center',
|
|
99
|
+
alignItems: 'center'
|
|
100
|
+
},
|
|
101
|
+
checkIcon: {
|
|
102
|
+
fill: '#fff',
|
|
103
|
+
width: 12,
|
|
104
|
+
height: 12
|
|
105
|
+
},
|
|
106
|
+
title: {
|
|
107
|
+
color: '#1D1D2B',
|
|
108
|
+
fontWeight: '600',
|
|
109
|
+
textAlign: 'center',
|
|
110
|
+
fontSize: 28,
|
|
111
|
+
lineHeight: 36,
|
|
112
|
+
paddingVertical: 8
|
|
113
|
+
},
|
|
114
|
+
description: {
|
|
115
|
+
color: '#1D1D2B',
|
|
116
|
+
fontWeight: '400',
|
|
117
|
+
textAlign: 'center',
|
|
118
|
+
fontSize: 17,
|
|
119
|
+
lineHeight: 24,
|
|
120
|
+
paddingVertical: 8
|
|
121
|
+
},
|
|
122
|
+
ctaWrapper: {
|
|
123
|
+
position: 'absolute',
|
|
124
|
+
width: '100%',
|
|
125
|
+
bottom: 60
|
|
126
|
+
},
|
|
127
|
+
ctaOpenInbox: {
|
|
128
|
+
paddingVertical: 12,
|
|
129
|
+
marginVertical: 4,
|
|
130
|
+
flexDirection: 'row',
|
|
131
|
+
justifyContent: 'center',
|
|
132
|
+
borderRadius: 12,
|
|
133
|
+
alignItems: 'center',
|
|
134
|
+
overflow: 'hidden',
|
|
135
|
+
backgroundColor: theme.colors.cta
|
|
136
|
+
},
|
|
137
|
+
ctaOpenInboxText: {
|
|
138
|
+
marginLeft: 8,
|
|
139
|
+
color: '#fff',
|
|
140
|
+
fontWeight: '700',
|
|
141
|
+
fontSize: 14,
|
|
142
|
+
lineHeight: 24
|
|
143
|
+
},
|
|
144
|
+
mailIcon: {
|
|
145
|
+
fill: '#fff',
|
|
146
|
+
height: 14,
|
|
147
|
+
width: 14
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
const ConfirmEmailSent = props => {
|
|
152
|
+
const {
|
|
153
|
+
locales,
|
|
154
|
+
onClose,
|
|
155
|
+
onOpenInbox
|
|
156
|
+
} = props;
|
|
157
|
+
const {
|
|
158
|
+
theme
|
|
159
|
+
} = (0, _templateContext.useTemplateContext)();
|
|
160
|
+
const [styleSheet, setStylesheet] = (0, _react.useState)(null);
|
|
161
|
+
const translateGradients = (0, _reactNativeAnimation.useTranslateY)({
|
|
162
|
+
fromValue: 50,
|
|
163
|
+
toValue: -SCREEN.height * 0.4,
|
|
164
|
+
duration: 250,
|
|
165
|
+
delay: 650
|
|
166
|
+
});
|
|
167
|
+
const fadeInContent = (0, _reactNativeAnimation.useAnimateProp)({
|
|
168
|
+
property: 'opacity',
|
|
169
|
+
fromValue: 0,
|
|
170
|
+
toValue: 1,
|
|
171
|
+
duration: 650,
|
|
172
|
+
delay: 750
|
|
173
|
+
});
|
|
174
|
+
(0, _react.useEffect)(() => {
|
|
175
|
+
const _stylesheet = createStyleSheet(theme);
|
|
176
|
+
|
|
177
|
+
setStylesheet(_stylesheet);
|
|
178
|
+
}, [theme]);
|
|
179
|
+
(0, _react.useEffect)(() => {
|
|
180
|
+
fadeInContent.start();
|
|
181
|
+
translateGradients.start(); // on mount only
|
|
182
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
183
|
+
}, []);
|
|
184
|
+
|
|
185
|
+
if (!styleSheet) {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
190
|
+
style: styleSheet.wrapper
|
|
191
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
192
|
+
style: [styleSheet.gradients, translateGradients.animatedStyle]
|
|
193
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
|
|
194
|
+
colors: ['#179c57', '#fff0'],
|
|
195
|
+
locations: [0, 0.5],
|
|
196
|
+
style: styleSheet.gradient
|
|
197
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
|
|
198
|
+
colors: ['#18BB98', '#18BB9800'],
|
|
199
|
+
locations: [0, 1],
|
|
200
|
+
style: styleSheet.gradient2
|
|
201
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
202
|
+
style: [styleSheet.content, fadeInContent.animatedStyle]
|
|
203
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
204
|
+
style: styleSheet.checkIconWrapper
|
|
205
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
206
|
+
style: styleSheet.checkIconInnerWrapper
|
|
207
|
+
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyCheck, {
|
|
208
|
+
style: styleSheet.checkIcon
|
|
209
|
+
}))), /*#__PURE__*/_react.default.createElement(_index2.default, {
|
|
210
|
+
style: styleSheet.title
|
|
211
|
+
}, locales.successTitle), /*#__PURE__*/_react.default.createElement(_index2.default, {
|
|
212
|
+
style: styleSheet.description
|
|
213
|
+
}, locales.successDescription)), /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
214
|
+
style: styleSheet.backButton,
|
|
215
|
+
onPress: onClose,
|
|
216
|
+
testID: "close-button"
|
|
217
|
+
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidStatusClose, {
|
|
218
|
+
style: styleSheet.closeIcon
|
|
219
|
+
})), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
220
|
+
style: [styleSheet.ctaWrapper, fadeInContent.animatedStyle]
|
|
221
|
+
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
222
|
+
style: styleSheet.ctaOpenInbox,
|
|
223
|
+
onPress: onOpenInbox,
|
|
224
|
+
testID: "open-inbox-button"
|
|
225
|
+
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyEmail, {
|
|
226
|
+
style: styleSheet.mailIcon
|
|
227
|
+
}), /*#__PURE__*/_react.default.createElement(_index2.default, {
|
|
228
|
+
style: styleSheet.ctaOpenInboxText
|
|
229
|
+
}, locales.successCta))));
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
var _default = ConfirmEmailSent;
|
|
233
|
+
exports.default = _default;
|
|
234
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["SCREEN","Dimensions","get","createStyleSheet","theme","StyleSheet","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","backButton","position","closeIcon","fill","width","height","gradients","gradient","opacity","transform","rotate","gradient2","content","checkIconWrapper","backgroundColor","marginVertical","borderRadius","checkIconInnerWrapper","padding","checkIcon","title","color","fontWeight","textAlign","fontSize","lineHeight","paddingVertical","description","ctaWrapper","ctaOpenInbox","flexDirection","overflow","colors","cta","ctaOpenInboxText","marginLeft","mailIcon","ConfirmEmailSent","props","locales","onClose","onOpenInbox","useTemplateContext","styleSheet","setStylesheet","useState","translateGradients","useTranslateY","fromValue","toValue","duration","delay","fadeInContent","useAnimateProp","property","useEffect","_stylesheet","start","animatedStyle","successTitle","successDescription","successCta"],"sources":["../../../../src/template/mobile-login/confirm-email-sent/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {Animated, Dimensions, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaSolidStatusClose as CloseIcon,\n NovaCompositionCoorpacademyCheck as CheckIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\nconst SCREEN = Dimensions.get('screen');\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n content: ViewStyle;\n backButton: ViewStyle;\n closeIcon: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n ctaWrapper: ViewStyle;\n ctaOpenInbox: ViewStyle;\n ctaOpenInboxText: TextStyle;\n mailIcon: ViewStyle;\n checkIconWrapper: ViewStyle;\n checkIconInnerWrapper: ViewStyle;\n checkIcon: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n backButton: {\n position: 'absolute',\n top: 60,\n left: 30\n },\n closeIcon: {\n fill: '#515161',\n width: 20,\n height: 20\n },\n gradients: {\n position: 'absolute',\n top: 0,\n height: SCREEN.height,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -80,\n bottom: 400,\n left: -180,\n right: -180,\n opacity: 1,\n transform: [{rotate: '15deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -30,\n bottom: 0,\n left: 0,\n right: 0,\n opacity: 0.6\n },\n content: {\n width: '100%',\n justifyContent: 'space-around',\n alignItems: 'center'\n },\n checkIconWrapper: {\n backgroundColor: '#E8FCF8',\n width: 64,\n height: 64,\n marginVertical: 12,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIconInnerWrapper: {\n backgroundColor: '#18BB98',\n width: 24,\n height: 24,\n padding: 4,\n borderRadius: 50,\n justifyContent: 'center',\n alignItems: 'center'\n },\n checkIcon: {\n fill: '#fff',\n width: 12,\n height: 12\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n textAlign: 'center',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n textAlign: 'center',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n ctaWrapper: {\n position: 'absolute',\n width: '100%',\n bottom: 60\n },\n ctaOpenInbox: {\n paddingVertical: 12,\n marginVertical: 4,\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: theme.colors.cta\n },\n ctaOpenInboxText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n }\n });\n\nexport type Props = {\n onClose: () => void;\n onOpenInbox: () => void;\n locales: {\n successTitle: string;\n successDescription: string;\n successCta: string;\n };\n};\n\nconst ConfirmEmailSent = (props: Props) => {\n const {locales, onClose, onOpenInbox} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 50,\n toValue: -SCREEN.height * 0.4,\n duration: 250,\n delay: 650\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n translateGradients.start();\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Animated.View style={styleSheet.wrapper}>\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={['#179c57', '#fff0']}\n locations={[0, 0.5]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#18BB98', '#18BB9800']}\n locations={[0, 1]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <View style={styleSheet.checkIconWrapper}>\n <View style={styleSheet.checkIconInnerWrapper}>\n <CheckIcon style={styleSheet.checkIcon} />\n </View>\n </View>\n <Text style={styleSheet.title}>{locales.successTitle}</Text>\n <Text style={styleSheet.description}>{locales.successDescription}</Text>\n </Animated.View>\n\n <Touchable style={styleSheet.backButton} onPress={onClose} testID=\"close-button\">\n <CloseIcon style={styleSheet.closeIcon} />\n </Touchable>\n\n <Animated.View style={[styleSheet.ctaWrapper, fadeInContent.animatedStyle]}>\n <Touchable style={styleSheet.ctaOpenInbox} onPress={onOpenInbox} testID=\"open-inbox-button\">\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaOpenInboxText}>{locales.successCta}</Text>\n </Touchable>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default ConfirmEmailSent;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AAKA;;AACA;;AACA;;AAEA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,uBAAA,CAAWC,GAAX,CAAe,QAAf,CAAf;;AAqBA,MAAMC,gBAAgB,GAAIC,KAAD,IACvBC,uBAAA,CAAWC,MAAX,CAAkB;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CADE;IAEPC,MAAM,EAAE,CAFD;IAGPC,IAAI,EAAE,CAHC;IAIPC,KAAK,EAAE,CAJA;IAKPC,IAAI,EAAE,CALC;IAMPC,cAAc,EAAE,QANT;IAOPC,UAAU,EAAE,QAPL;IAQPC,iBAAiB,EAAE;EARZ,CADO;EAWhBC,UAAU,EAAE;IACVC,QAAQ,EAAE,UADA;IAEVT,GAAG,EAAE,EAFK;IAGVE,IAAI,EAAE;EAHI,CAXI;EAgBhBQ,SAAS,EAAE;IACTC,IAAI,EAAE,SADG;IAETC,KAAK,EAAE,EAFE;IAGTC,MAAM,EAAE;EAHC,CAhBK;EAqBhBC,SAAS,EAAE;IACTL,QAAQ,EAAE,UADD;IAETT,GAAG,EAAE,CAFI;IAGTa,MAAM,EAAErB,MAAM,CAACqB,MAHN;IAITX,IAAI,EAAE,CAJG;IAKTC,KAAK,EAAE,CALE;IAMTC,IAAI,EAAE;EANG,CArBK;EA6BhBW,QAAQ,EAAE;IACRN,QAAQ,EAAE,UADF;IAERT,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BAAC,iBAAD;IAAM,KAAK,EAAE8B,UAAU,CAAC1B;EAAxB,gBACE,6BAAC,2CAAD;IAAW,KAAK,EAAE0B,UAAU,CAACxB;EAA7B,EADF,CADF,CADF,eAME,6BAAC,eAAD;IAAM,KAAK,EAAEwB,UAAU,CAACvB;EAAxB,GAAgCmB,OAAO,CAACoB,YAAxC,CANF,eAOE,6BAAC,eAAD;IAAM,KAAK,EAAEhB,UAAU,CAAChB;EAAxB,GAAsCY,OAAO,CAACqB,kBAA9C,CAPF,CAbF,eAuBE,6BAAC,cAAD;IAAW,KAAK,EAAEjB,UAAU,CAAC3C,UAA7B;IAAyC,OAAO,EAAEwC,OAAlD;IAA2D,MAAM,EAAC;EAAlE,gBACE,6BAAC,+BAAD;IAAW,KAAK,EAAEG,UAAU,CAACzC;EAA7B,EADF,CAvBF,eA2BE,6BAAC,qBAAD,CAAU,IAAV;IAAe,KAAK,EAAE,CAACyC,UAAU,CAACf,UAAZ,EAAwBwB,aAAa,CAACM,aAAtC;EAAtB,gBACE,6BAAC,cAAD;IAAW,KAAK,EAAEf,UAAU,CAACd,YAA7B;IAA2C,OAAO,EAAEY,WAApD;IAAiE,MAAM,EAAC;EAAxE,gBACE,6BAAC,2CAAD;IAAU,KAAK,EAAEE,UAAU,CAACP;EAA5B,EADF,eAEE,6BAAC,eAAD;IAAM,KAAK,EAAEO,UAAU,CAACT;EAAxB,GAA2CK,OAAO,CAACsB,UAAnD,CAFF,CADF,CA3BF,CADF;AAoCD,CAxED;;eA0EexB,gB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":";AAoIA,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"names":[],"mappings":";AAoIA,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,YAAY,UAAW,KAAK,gBA8EjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -134,7 +134,8 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
134
134
|
const ReceiveEmail = props => {
|
|
135
135
|
const {
|
|
136
136
|
locales,
|
|
137
|
-
onClose
|
|
137
|
+
onClose,
|
|
138
|
+
onSend
|
|
138
139
|
} = props;
|
|
139
140
|
const [isValid, setValid] = (0, _react.useState)(false);
|
|
140
141
|
const [isTextInputFocused, setTextInputFocused] = (0, _react.useState)(false);
|
|
@@ -171,7 +172,8 @@ const ReceiveEmail = props => {
|
|
|
171
172
|
style: styles.contentWrapper
|
|
172
173
|
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
173
174
|
style: styles.backButton,
|
|
174
|
-
onPress: onClose
|
|
175
|
+
onPress: onClose,
|
|
176
|
+
testID: "close-button"
|
|
175
177
|
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionNavigationLeftArrow, {
|
|
176
178
|
style: styles.arrowIcon
|
|
177
179
|
})), isKeyboardVisible ? null : /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -202,7 +204,8 @@ const ReceiveEmail = props => {
|
|
|
202
204
|
}, /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
203
205
|
disabled: !isValid,
|
|
204
206
|
style: [styles.ctaButton],
|
|
205
|
-
onPress:
|
|
207
|
+
onPress: onSend,
|
|
208
|
+
testID: "send-button"
|
|
206
209
|
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySendEmail, {
|
|
207
210
|
style: styles.sendIcon
|
|
208
211
|
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["enabledColor","disabledColor","emailRegex","styles","StyleSheet","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","isValid","setValid","useState","isTextInputFocused","setTextInputFocused","isKeyboardVisible","useMobileKeyboardVisibility","handleChangeText","useCallback","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","useRef","Animated","Value","current","animatedColor","interpolate","inputRange","outputRange","useEffect","animation","timing","toValue","duration","easing","Easing","out","sin","useNativeDriver","start","Platform","OS","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n },\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n },\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n },\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n },\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose} = props;\n\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose}>\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable disabled={!isValid} style={[styles.ctaButton]} onPress={onClose}>\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default ReceiveEmail;\n"],"mappings":";;;;;AAAA;;AACA;;AAUA;;AAMA;;AACA;;;;;;;;AAEA,MAAMA,YAAY,GAAG,SAArB;AACA,MAAMC,aAAa,GAAG,SAAtB;AACA,MAAMC,UAAU,GAAG,gDAAnB;;AAEA,MAAMC,MAAM,GAAGC,uBAAA,CAAWC,MAAX,CAAkB;EAC/BC,SAAS,EAAE;IACTC,KAAK,EAAE,MADE;IAETC,MAAM,EAAE,MAFC;IAGTC,IAAI,EAAE,CAHG;IAITC,cAAc,EAAE,eAJP;IAKTC,UAAU,EAAE,YALH;IAMTC,eAAe,EAAE,EANR;IAOTC,iBAAiB,EAAE;EAPV,CADoB;EAU/BC,cAAc,EAAE;IACdP,KAAK,EAAE;EADO,CAVe;EAa/BQ,UAAU,EAAE;IACVH,eAAe,EAAE;EADP,CAbmB;EAgB/BI,SAAS,EAAE;IACTC,IAAI,EAAE,SADG;IAETV,KAAK,EAAE,EAFE;IAGTC,MAAM,EAAE;EAHC,CAhBoB;EAqB/BU,eAAe,EAAE;IACfC,eAAe,EAAE,SADF;IAEfZ,KAAK,EAAE,EAFQ;IAGfC,MAAM,EAAE,EAHO;IAIfY,OAAO,EAAE,EAJM;IAKfC,cAAc,EAAE,EALD;IAMfC,YAAY,EAAE,EANC;IAOfZ,cAAc,EAAE,QAPD;IAQfC,UAAU,EAAE;EARG,CArBc;EA+B/BY,QAAQ,EAAE;IACRN,IAAI,EAAE,SADE;IAERV,KAAK,EAAE,EAFC;IAGRC,MAAM,EAAE;EAHA,CA/BqB;EAoC/BgB,aAAa,EAAE;IACbP,IAAI,EAAE,SADO;IAEbV,KAAK,EAAE,EAFM;IAGbC,MAAM,EAAE,EAHK;IAIbiB,SAAS,EAAE,C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CAXF,eAYE,6BAAC,sBAAD;IACE,KAAK,EAAE,CAACjC,MAAM,CAACkC,SAAR,EAAmB;MAACE,WAAW,EAAEgB,kBAAkB,GAAG,CAAH,GAAO;IAAvC,CAAnB,CADT;IAEE,WAAW,EAAC,sBAFd;IAGE,oBAAoB,EAAEtD,aAHxB;IAIE,YAAY,EAAE0D,gBAJhB;IAKE,OAAO,EAAEI,oBALX;IAME,MAAM,EAAEC;EANV,EAZF,eAoBE,6BAAC,2CAAD;IAAU,KAAK,EAAE7D,MAAM,CAACqB;EAAxB,EApBF,CALF,eA4BE,6BAAC,qBAAD,CAAU,IAAV;IAAe,KAAK,EAAE,CAACrB,MAAM,CAACsC,UAAR,EAAoB;MAACtB,eAAe,EAAEmD;IAAlB,CAApB;EAAtB,gBACE,6BAAC,cAAD;IAAW,QAAQ,EAAE,CAAClB,OAAtB;IAA+B,KAAK,EAAE,CAACjD,MAAM,CAACwC,SAAR,CAAtC;IAA0D,OAAO,EAAEQ;EAAnE,gBACE,6BAAC,+CAAD;IAAU,KAAK,EAAEhD,MAAM,CAAC0C;EAAxB,EADF,eAEE,6BAAC,iBAAD;IAAM,KAAK,EAAE1C,MAAM,CAAC4C;EAApB,GAA8BG,OAAO,CAACqC,GAAtC,CAFF,CADF,CA5BF,CADF;AAqCD,CAzED;;eA2EevC,Y"}
|
|
1
|
+
{"version":3,"file":"index.native.js","names":["enabledColor","disabledColor","emailRegex","styles","StyleSheet","create","container","width","height","flex","justifyContent","alignItems","paddingVertical","paddingHorizontal","contentWrapper","backButton","arrowIcon","fill","mailIconWrapper","backgroundColor","padding","marginVertical","borderRadius","mailIcon","innerMailIcon","marginTop","marginLeft","title","color","fontSize","fontWeight","lineHeight","textAlign","marginBottom","explanation","letterSpacing","subtitle","textInput","borderColor","borderWidth","alignContent","ctaWrapper","overflow","ctaButton","flexDirection","sendIcon","marginRight","ctaText","ReceiveEmail","props","locales","onClose","onSend","isValid","setValid","useState","isTextInputFocused","setTextInputFocused","isKeyboardVisible","useMobileKeyboardVisibility","handleChangeText","useCallback","value","test","handleTextInputFocus","handleTextInputBlur","animationRef","useRef","Animated","Value","current","animatedColor","interpolate","inputRange","outputRange","useEffect","animation","timing","toValue","duration","easing","Easing","out","sin","useNativeDriver","start","Platform","OS","cta"],"sources":["../../../../src/template/mobile-login/receive-email/index.native.tsx"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState} from 'react';\nimport {\n Animated,\n Easing,\n KeyboardAvoidingView,\n Platform,\n StyleSheet,\n Text,\n TextInput,\n View\n} from 'react-native';\nimport {\n NovaCompositionNavigationLeftArrow as ArrowIcon,\n NovaCompositionCoorpacademyEmail as MailIcon,\n NovaCompositionCoorpacademySendEmail as SendIcon\n} from '@coorpacademy/nova-icons';\n\nimport Touchable from '../../../hoc/touchable/index.native';\nimport useMobileKeyboardVisibility from '../../../util/use-mobile-keyboard-visibility';\n\nconst enabledColor = '#0061ff';\nconst disabledColor = '#9999A8';\nconst emailRegex = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n height: '100%',\n flex: 1,\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n paddingVertical: 50,\n paddingHorizontal: 24\n },\n contentWrapper: {\n width: '100%'\n },\n backButton: {\n paddingVertical: 20\n },\n arrowIcon: {\n fill: '#515161',\n width: 24,\n height: 15\n },\n mailIconWrapper: {\n backgroundColor: '#f1f6fe',\n width: 64,\n height: 64,\n padding: 23,\n marginVertical: 24,\n borderRadius: 16,\n justifyContent: 'center',\n alignItems: 'center'\n },\n mailIcon: {\n fill: '#0061ff',\n width: 24,\n height: 18\n },\n innerMailIcon: {\n fill: '#515161',\n width: 16,\n height: 12,\n marginTop: -30,\n marginLeft: 16\n },\n title: {\n color: '#1D1D2B',\n fontSize: 24,\n fontWeight: '600',\n lineHeight: 32,\n textAlign: 'left',\n marginBottom: 12\n },\n explanation: {\n color: '#515161',\n fontSize: 17,\n letterSpacing: 0.4,\n fontWeight: '500',\n lineHeight: 22,\n textAlign: 'left',\n marginBottom: 24\n },\n subtitle: {\n color: '#1D1D2B',\n fontSize: 15,\n fontWeight: '600',\n lineHeight: 20,\n textAlign: 'left',\n marginBottom: 8\n },\n textInput: {\n height: 48,\n width: '100%',\n backgroundColor: '#F4F4F5',\n borderColor: enabledColor,\n borderWidth: 2,\n fontSize: 15,\n lineHeight: 16,\n alignContent: 'center',\n color: '#515161',\n borderRadius: 7,\n paddingHorizontal: 40\n },\n ctaWrapper: {\n width: '100%',\n overflow: 'hidden',\n borderRadius: 12,\n marginTop: 30,\n marginBottom: 50\n },\n ctaButton: {\n flexDirection: 'row',\n justifyContent: 'center',\n alignItems: 'center',\n paddingVertical: 16\n },\n sendIcon: {\n fill: '#fff',\n width: 16,\n height: 16,\n marginRight: 8\n },\n ctaText: {\n color: '#fff',\n fontWeight: '700',\n fontSize: 15,\n lineHeight: 24\n }\n});\n\nexport type Props = {\n locales: {\n title: string;\n explanation: string;\n subtitle: string;\n cta: string;\n };\n onClose: () => void;\n onSend: () => void;\n};\n\nconst ReceiveEmail = (props: Props) => {\n const {locales, onClose, onSend} = props;\n\n const [isValid, setValid] = useState<boolean>(false);\n const [isTextInputFocused, setTextInputFocused] = useState<boolean>(false);\n const isKeyboardVisible = useMobileKeyboardVisibility();\n\n const handleChangeText = useCallback(value => {\n setValid(emailRegex.test(value));\n }, []);\n\n const handleTextInputFocus = useCallback(() => {\n setTextInputFocused(true);\n }, []);\n\n const handleTextInputBlur = useCallback(() => {\n setTextInputFocused(false);\n }, []);\n\n const animationRef = useRef<Animated.Value>(new Animated.Value(0)).current;\n const animatedColor = animationRef.interpolate({\n inputRange: [0, 1],\n outputRange: [disabledColor, enabledColor]\n });\n\n useEffect(() => {\n const animation = Animated.timing(animationRef, {\n toValue: isValid ? 1 : 0,\n duration: 250,\n easing: Easing.out(Easing.sin),\n useNativeDriver: false\n });\n\n animation.start();\n }, [animationRef, isValid]);\n\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === 'ios' ? 'padding' : 'height'}\n style={[styles.container]}\n testID=\"receive-email\"\n >\n <View style={styles.contentWrapper}>\n <Touchable style={styles.backButton} onPress={onClose} testID=\"close-button\">\n <ArrowIcon style={styles.arrowIcon} />\n </Touchable>\n {isKeyboardVisible ? null : (\n <View style={styles.mailIconWrapper}>\n <MailIcon style={styles.mailIcon} />\n </View>\n )}\n <Text style={styles.title}>{locales.title}</Text>\n <Text style={styles.explanation}>{locales.explanation}</Text>\n <Text style={styles.subtitle}>{locales.subtitle}</Text>\n <TextInput\n style={[styles.textInput, {borderWidth: isTextInputFocused ? 2 : 0}]}\n placeholder=\"john.doe@company.com\"\n placeholderTextColor={disabledColor}\n onChangeText={handleChangeText}\n onFocus={handleTextInputFocus}\n onBlur={handleTextInputBlur}\n />\n <MailIcon style={styles.innerMailIcon} />\n </View>\n\n <Animated.View style={[styles.ctaWrapper, {backgroundColor: animatedColor}]}>\n <Touchable\n disabled={!isValid}\n style={[styles.ctaButton]}\n onPress={onSend}\n testID=\"send-button\"\n >\n <SendIcon style={styles.sendIcon} />\n <Text style={styles.ctaText}>{locales.cta}</Text>\n </Touchable>\n </Animated.View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default ReceiveEmail;\n"],"mappings":";;;;;AAAA;;AACA;;AAUA;;AAMA;;AACA;;;;;;;;AAEA,MAAMA,YAAY,GAAG,SAArB;AACA,MAAMC,aAAa,GAAG,SAAtB;AACA,MAAMC,UAAU,GAAG,gDAAnB;;AAEA,MAAMC,MAAM,GAAGC,uBAAA,CAAWC,MAAX,CAAkB;EAC/BC,SAAS,EAAE;IACTC,KAAK,EAAE,MADE;IAETC,MAAM,EAAE,MAFC;IAGTC,IAAI,EAAE,CAHG;IAITC,cAAc,EAAE,eAJP;IAKTC,UAAU,EAAE,YALH;IAMTC,eAAe,EAAE,EANR;IAOTC,iBAAiB,EAAE;EAPV,CADoB;EAU/BC,cAAc,EAAE;IACdP,KA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wC,SAAR,CAFT;IAGE,OAAO,EAAES,MAHX;IAIE,MAAM,EAAC;EAJT,gBAME,6BAAC,+CAAD;IAAU,KAAK,EAAEjD,MAAM,CAAC0C;EAAxB,EANF,eAOE,6BAAC,iBAAD;IAAM,KAAK,EAAE1C,MAAM,CAAC4C;EAApB,GAA8BG,OAAO,CAACsC,GAAtC,CAPF,CADF,CA5BF,CADF;AA0CD,CA9ED;;eAgFexC,Y"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ignore_dirs":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.14.12
|
|
3
|
+
"version": "11.14.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -168,5 +168,5 @@
|
|
|
168
168
|
"last 2 versions",
|
|
169
169
|
"IE 11"
|
|
170
170
|
],
|
|
171
|
-
"gitHead": "
|
|
171
|
+
"gitHead": "014dc648a1ffdc9ea5b69c7268da9e37737c41d7"
|
|
172
172
|
}
|