@nuskin/routine-feature 1.0.1 → 2.0.1

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.
@@ -0,0 +1,328 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _mobileUi = require("@ns/mobile-ui");
10
+ var _reactNativeLinearGradient = _interopRequireDefault(require("react-native-linear-gradient"));
11
+ var _Accessibility = require("./helpers/Accessibility");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ 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); }
14
+ function RoutineDetails(props) {
15
+ var _props$route, _item$routine_imageCo, _item$routine_imageCo2, _item$routine_imageCo3;
16
+ const item = (_props$route = props.route) === null || _props$route === void 0 ? void 0 : _props$route.params;
17
+ return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
18
+ style: styles.container,
19
+ testID: "routineStack"
20
+ }, /*#__PURE__*/_react.default.createElement(_mobileUi.VeraHeader, _extends({
21
+ left: /*#__PURE__*/_react.default.createElement(_mobileUi.Logo, {
22
+ accessibilityLabel: "logo"
23
+ }),
24
+ right: /*#__PURE__*/_react.default.createElement(_mobileUi.HeaderCart, {
25
+ accessibilityLabel: "crt-btn"
26
+ }),
27
+ title: item.reference
28
+ }, (0, _Accessibility.accessibility)(`vera-header`))), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
29
+ style: styles.routinesContainer
30
+ }, item && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
31
+ style: {
32
+ position: 'relative'
33
+ }
34
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ImageBackground, _extends({}, (0, _Accessibility.accessibility)(`image-routine-background`), {
35
+ source: {
36
+ uri: (_item$routine_imageCo = item.routine_imageConnection) === null || _item$routine_imageCo === void 0 ? void 0 : (_item$routine_imageCo2 = _item$routine_imageCo.edges[0]) === null || _item$routine_imageCo2 === void 0 ? void 0 : (_item$routine_imageCo3 = _item$routine_imageCo2.node) === null || _item$routine_imageCo3 === void 0 ? void 0 : _item$routine_imageCo3.url
37
+ },
38
+ style: styles.itemPhoto
39
+ }), /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
40
+ colors: ['rgba(0, 0, 0, 0)', 'rgba(0, 0, 0, 0.6)'],
41
+ locations: [0.6, 1],
42
+ style: styles.imageOverlay
43
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
44
+ style: styles.itemTitleContainer
45
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
46
+ style: styles.itemTextSpan
47
+ }, item.routine_subtitle), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
48
+ style: styles.itemTextTitle
49
+ }, item.routine_title)))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
50
+ style: styles.routineDetailsContainer
51
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
52
+ style: styles.routineDetails
53
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
54
+ style: styles.itemTextDescription
55
+ }, item.routines_description), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
56
+ style: styles.itemText
57
+ }, item.products_used_label), item.products.map((item, index) => {
58
+ var _item$product_imageCo, _item$product_imageCo2, _item$product_imageCo3;
59
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
60
+ key: index,
61
+ style: {
62
+ flexDirection: 'row'
63
+ }
64
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
65
+ key: index,
66
+ source: {
67
+ uri: (_item$product_imageCo = item.product_imageConnection) === null || _item$product_imageCo === void 0 ? void 0 : (_item$product_imageCo2 = _item$product_imageCo.edges[0]) === null || _item$product_imageCo2 === void 0 ? void 0 : (_item$product_imageCo3 = _item$product_imageCo2.node) === null || _item$product_imageCo3 === void 0 ? void 0 : _item$product_imageCo3.url
68
+ },
69
+ style: styles.productPhoto,
70
+ resizeMode: "contain"
71
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
72
+ style: styles.productName
73
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
74
+ style: styles.itemTextProduct
75
+ }, item.product_category), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
76
+ style: styles.itemTextProduct
77
+ }, item.product_name)));
78
+ }))), item.steps.map((item, index) => {
79
+ var _item$imageConnection, _item$imageConnection2, _item$imageConnection3, _item$imageConnection4, _item$imageConnection5, _item$imageConnection6;
80
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
81
+ key: index,
82
+ style: {
83
+ marginHorizontal: 20,
84
+ marginBottom: 15
85
+ }
86
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
87
+ style: {
88
+ flexDirection: 'row',
89
+ marginVertical: 10
90
+ }
91
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
92
+ style: styles.itemTextTitleIndex
93
+ }, index + 1), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
94
+ style: styles.itemTextStepTitle
95
+ }, item.step_title)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
96
+ style: styles[`${item.style ? item.style : 'Container'}`]
97
+ }, (item.style === 'Image' || item.style == 'LumiSpaIO') && /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
98
+ source: {
99
+ uri: (_item$imageConnection = item.imageConnection) === null || _item$imageConnection === void 0 ? void 0 : (_item$imageConnection2 = _item$imageConnection.edges[0]) === null || _item$imageConnection2 === void 0 ? void 0 : (_item$imageConnection3 = _item$imageConnection2.node) === null || _item$imageConnection3 === void 0 ? void 0 : _item$imageConnection3.url
100
+ },
101
+ style: styles.stepImagePhoto,
102
+ resizeMode: "contain"
103
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
104
+ style: styles[`${item.style ? `${item.style}TextContainer` : 'TextContainer'}`]
105
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
106
+ style: styles.itemTextStepDescription
107
+ }, item.step_description), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
108
+ style: styles.itemTextStepSubDescription
109
+ }, item.step_sub_description), item.style === 'LumiSpaIO' && /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
110
+ style: styles.textLumiSpaTreatmentContainer
111
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
112
+ style: styles.textLumiSpaTreatment
113
+ }, item.image_title)))), item.style === 'Product' && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
114
+ style: styles.stepProductContainer
115
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
116
+ source: {
117
+ uri: (_item$imageConnection4 = item.imageConnection) === null || _item$imageConnection4 === void 0 ? void 0 : (_item$imageConnection5 = _item$imageConnection4.edges[0]) === null || _item$imageConnection5 === void 0 ? void 0 : (_item$imageConnection6 = _item$imageConnection5.node) === null || _item$imageConnection6 === void 0 ? void 0 : _item$imageConnection6.url
118
+ },
119
+ style: styles.stepProductPhoto,
120
+ resizeMode: "contain"
121
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
122
+ style: styles.productName
123
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
124
+ style: styles.itemTextStepProduct
125
+ }, item.image_title), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
126
+ style: styles.itemTextStepProduct
127
+ }, item.image_description))));
128
+ }))));
129
+ }
130
+ const styles = _reactNative.StyleSheet.create({
131
+ container: {
132
+ flex: 1,
133
+ backgroundColor: _mobileUi.colors.white
134
+ },
135
+ routinesContainer: {
136
+ backgroundColor: _mobileUi.colors.primaryGray,
137
+ flex: 1
138
+ },
139
+ sectionHeader: {
140
+ textTransform: 'uppercase',
141
+ fontWeight: '600',
142
+ fontSize: 14,
143
+ // color: '#f4f4f4',
144
+ marginTop: 20,
145
+ paddingHorizontal: 15,
146
+ marginBottom: 5
147
+ },
148
+ imageOverlay: {
149
+ position: 'absolute',
150
+ left: 0,
151
+ right: 0,
152
+ top: 0,
153
+ height: '100%'
154
+ },
155
+ item: {
156
+ margin: 10,
157
+ borderRadius: 14
158
+ },
159
+ itemPhoto: {
160
+ width: '100%',
161
+ minHeight: 160,
162
+ aspectRatio: 1.5
163
+ },
164
+ Image: {
165
+ flexDirection: 'row',
166
+ flex: 1,
167
+ backgroundColor: _mobileUi.colors.white
168
+ },
169
+ ImageTextContainer: {
170
+ flex: 1,
171
+ padding: 20
172
+ },
173
+ LumiSpaIOTextContainer: {
174
+ flex: 1,
175
+ padding: 20
176
+ },
177
+ Container: {
178
+ flexDirection: 'column',
179
+ flex: 1,
180
+ padding: 20,
181
+ backgroundColor: _mobileUi.colors.white
182
+ },
183
+ Product: {
184
+ flexDirection: 'column',
185
+ flex: 1,
186
+ padding: 20,
187
+ backgroundColor: _mobileUi.colors.white
188
+ },
189
+ LumiSpaIO: {
190
+ flexDirection: 'row',
191
+ flex: 1,
192
+ backgroundColor: _mobileUi.colors.white
193
+ },
194
+ productName: {
195
+ flex: 1,
196
+ justifyContent: 'center',
197
+ marginLeft: 5
198
+ },
199
+ routineDetailsContainer: {
200
+ backgroundColor: 'white',
201
+ paddingTop: 20,
202
+ paddingBottom: 10,
203
+ marginBottom: 10
204
+ },
205
+ routineDetails: {
206
+ flexDirection: 'column',
207
+ paddingHorizontal: 15,
208
+ paddingVertical: 10
209
+ },
210
+ stepImagePhoto: {
211
+ width: 130,
212
+ minHeight: 150
213
+ },
214
+ stepProductPhoto: {
215
+ width: 80,
216
+ height: 80
217
+ },
218
+ stepProductContainer: {
219
+ flexDirection: 'row',
220
+ backgroundColor: _mobileUi.colors.white,
221
+ paddingHorizontal: 20,
222
+ paddingBottom: 20
223
+ },
224
+ productPhoto: {
225
+ margin: 2,
226
+ width: 40,
227
+ height: 40,
228
+ borderRadius: 50,
229
+ borderColor: '#EDEDED',
230
+ borderWidth: 1
231
+ },
232
+ itemTextStepProduct: {
233
+ fontWeight: '400',
234
+ fontSize: 13,
235
+ lineHeight: 18
236
+ },
237
+ itemTitleContainer: {
238
+ flexDirection: 'column',
239
+ justifyContent: 'space-between',
240
+ paddingHorizontal: 15,
241
+ position: 'absolute',
242
+ bottom: 20
243
+ },
244
+ itemTextSpan: {
245
+ color: _mobileUi.colors.white,
246
+ fontWeight: '400',
247
+ fontSize: 14,
248
+ textTransform: 'uppercase'
249
+ },
250
+ itemTextTitleIndex: {
251
+ color: _mobileUi.colors.accentB400,
252
+ fontWeight: '400',
253
+ fontSize: 20,
254
+ lineHeight: 26,
255
+ paddingRight: 10
256
+ },
257
+ itemTextStepTitle: {
258
+ color: _mobileUi.colors.primaryBlack,
259
+ fontWeight: '600',
260
+ fontSize: 18,
261
+ lineHeight: 26
262
+ },
263
+ itemTextStepSubDescription: {
264
+ fontWeight: '700',
265
+ fontSize: 10,
266
+ lineHeight: 15,
267
+ letterSpacing: 0.5,
268
+ paddingTop: 5,
269
+ textTransform: 'uppercase'
270
+ },
271
+ itemTextTitle: {
272
+ color: _mobileUi.colors.white,
273
+ fontWeight: '400',
274
+ fontSize: 26
275
+ },
276
+ itemTextDescription: {
277
+ color: _mobileUi.colors.primaryBlack,
278
+ fontWeight: '400',
279
+ fontSize: 14,
280
+ lineHeight: 20,
281
+ paddingBottom: 20
282
+ },
283
+ itemText: {
284
+ color: _mobileUi.colors.primaryBlack,
285
+ fontWeight: 'bold',
286
+ fontSize: 12,
287
+ letterSpacing: 0.05,
288
+ paddingBottom: 5,
289
+ textTransform: 'uppercase'
290
+ },
291
+ itemTextStepDescription: {
292
+ color: _mobileUi.colors.primaryBlack,
293
+ fontWeight: 'bold',
294
+ fontSize: 12,
295
+ letterSpacing: 0.05,
296
+ paddingBottom: 5
297
+ },
298
+ itemTextProduct: {
299
+ color: _mobileUi.colors.primaryBlack,
300
+ fontSize: 11,
301
+ fontWeight: '600',
302
+ textTransform: 'uppercase',
303
+ letterSpacing: 0.05
304
+ },
305
+ itemTextSteps: {
306
+ color: _mobileUi.colors.primaryBlack,
307
+ fontWeight: 'bold',
308
+ textTransform: 'uppercase'
309
+ },
310
+ textLumiSpaTreatmentContainer: {
311
+ marginTop: 10,
312
+ padding: 10,
313
+ textAlign: 'center',
314
+ borderStyle: 'solid',
315
+ borderWidth: 1,
316
+ borderColor: _mobileUi.colors.primaryBlack
317
+ },
318
+ textLumiSpaTreatment: {
319
+ textAlign: 'center',
320
+ fontSize: 14,
321
+ fontWeight: '600',
322
+ lineHeight: 16,
323
+ letterSpacing: 0.05
324
+ }
325
+ });
326
+ var _default = RoutineDetails;
327
+ exports.default = _default;
328
+ //# sourceMappingURL=RoutineDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RoutineDetails","props","item","route","params","styles","container","reference","accessibility","routinesContainer","position","uri","routine_imageConnection","edges","node","url","itemPhoto","imageOverlay","itemTitleContainer","itemTextSpan","routine_subtitle","itemTextTitle","routine_title","routineDetailsContainer","routineDetails","itemTextDescription","routines_description","itemText","products_used_label","products","map","index","flexDirection","product_imageConnection","productPhoto","productName","itemTextProduct","product_category","product_name","steps","marginHorizontal","marginBottom","marginVertical","itemTextTitleIndex","itemTextStepTitle","step_title","style","imageConnection","stepImagePhoto","itemTextStepDescription","step_description","itemTextStepSubDescription","step_sub_description","textLumiSpaTreatmentContainer","textLumiSpaTreatment","image_title","stepProductContainer","stepProductPhoto","itemTextStepProduct","image_description","StyleSheet","create","flex","backgroundColor","colors","white","primaryGray","sectionHeader","textTransform","fontWeight","fontSize","marginTop","paddingHorizontal","left","right","top","height","margin","borderRadius","width","minHeight","aspectRatio","Image","ImageTextContainer","padding","LumiSpaIOTextContainer","Container","Product","LumiSpaIO","justifyContent","marginLeft","paddingTop","paddingBottom","paddingVertical","borderColor","borderWidth","lineHeight","bottom","color","accentB400","paddingRight","primaryBlack","letterSpacing","itemTextSteps","textAlign","borderStyle"],"sources":["RoutineDetails.tsx"],"sourcesContent":["import React from 'react';\nimport {\n SafeAreaView,\n View,\n StyleSheet,\n ScrollView,\n Text,\n Image,\n ImageBackground,\n Pressable,\n} from 'react-native';\nimport { VeraHeader, Logo, HeaderCart, colors } from '@ns/mobile-ui';\nimport LinearGradient from 'react-native-linear-gradient';\nimport { accessibility } from './helpers/Accessibility';\n\nfunction RoutineDetails(props) {\n const item = props.route?.params;\n return (\n <SafeAreaView style={styles.container} testID=\"routineStack\">\n <VeraHeader\n left={<Logo accessibilityLabel=\"logo\" />}\n right={<HeaderCart accessibilityLabel=\"crt-btn\" />}\n title={item.reference}\n {...accessibility(`vera-header`)}\n />\n <ScrollView style={styles.routinesContainer}>\n {item && (\n <>\n <View style={{ position: 'relative' }}>\n <ImageBackground\n {...accessibility(`image-routine-background`)}\n source={{\n uri: item.routine_imageConnection?.edges[0]?.node?.url,\n }}\n style={styles.itemPhoto}\n >\n <LinearGradient\n colors={['rgba(0, 0, 0, 0)', 'rgba(0, 0, 0, 0.6)']}\n locations={[0.6, 1]}\n style={styles.imageOverlay}\n />\n <View style={styles.itemTitleContainer}>\n <Text style={styles.itemTextSpan}>\n {item.routine_subtitle}\n </Text>\n <Text style={styles.itemTextTitle}>{item.routine_title}</Text>\n </View>\n </ImageBackground>\n </View>\n <View style={styles.routineDetailsContainer}>\n <View style={styles.routineDetails}>\n <Text style={styles.itemTextDescription}>\n {item.routines_description}\n </Text>\n <Text style={styles.itemText}>{item.products_used_label}</Text>\n {item.products.map((item, index) => {\n return (\n <View key={index} style={{ flexDirection: 'row' }}>\n <Image\n key={index}\n source={{\n uri: item.product_imageConnection?.edges[0]?.node\n ?.url,\n }}\n style={styles.productPhoto}\n resizeMode=\"contain\"\n />\n <View style={styles.productName}>\n <Text style={styles.itemTextProduct}>\n {item.product_category}\n </Text>\n <Text style={styles.itemTextProduct}>\n {item.product_name}\n </Text>\n </View>\n </View>\n );\n })}\n </View>\n </View>\n {item.steps.map((item, index) => {\n return (\n <View\n key={index}\n style={{\n marginHorizontal: 20,\n marginBottom: 15,\n }}\n >\n <View\n style={{\n flexDirection: 'row',\n marginVertical: 10,\n }}\n >\n <Text style={styles.itemTextTitleIndex}>{index + 1}</Text>\n <Text style={styles.itemTextStepTitle}>\n {item.step_title}\n </Text>\n </View>\n <View\n style={styles[`${item.style ? item.style : 'Container'}`]}\n >\n {(item.style === 'Image' || item.style == 'LumiSpaIO') && (\n <Image\n source={{\n uri: item.imageConnection?.edges[0]?.node?.url,\n }}\n style={styles.stepImagePhoto}\n resizeMode=\"contain\"\n />\n )}\n <View\n style={\n styles[\n `${\n item.style\n ? `${item.style}TextContainer`\n : 'TextContainer'\n }`\n ]\n }\n >\n <Text style={styles.itemTextStepDescription}>\n {item.step_description}\n </Text>\n <Text style={styles.itemTextStepSubDescription}>\n {item.step_sub_description}\n </Text>\n {item.style === 'LumiSpaIO' && (\n <Pressable style={styles.textLumiSpaTreatmentContainer}>\n <Text style={styles.textLumiSpaTreatment}>\n {item.image_title}\n </Text>\n </Pressable>\n )}\n </View>\n </View>\n {item.style === 'Product' && (\n <View style={styles.stepProductContainer}>\n <Image\n source={{\n uri: item.imageConnection?.edges[0]?.node?.url,\n }}\n style={styles.stepProductPhoto}\n resizeMode=\"contain\"\n />\n <View style={styles.productName}>\n <Text style={styles.itemTextStepProduct}>\n {item.image_title}\n </Text>\n <Text style={styles.itemTextStepProduct}>\n {item.image_description}\n </Text>\n </View>\n </View>\n )}\n </View>\n );\n })}\n </>\n )}\n </ScrollView>\n </SafeAreaView>\n );\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: colors.white,\n },\n routinesContainer: {\n backgroundColor: colors.primaryGray,\n flex: 1,\n },\n sectionHeader: {\n textTransform: 'uppercase',\n fontWeight: '600',\n fontSize: 14,\n // color: '#f4f4f4',\n marginTop: 20,\n paddingHorizontal: 15,\n marginBottom: 5,\n },\n imageOverlay: {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n height: '100%',\n },\n item: {\n margin: 10,\n borderRadius: 14,\n },\n itemPhoto: {\n width: '100%',\n minHeight: 160,\n aspectRatio: 1.5,\n },\n Image: {\n flexDirection: 'row',\n flex: 1,\n backgroundColor: colors.white,\n },\n ImageTextContainer: {\n flex: 1,\n padding: 20,\n },\n LumiSpaIOTextContainer: {\n flex: 1,\n padding: 20,\n },\n Container: {\n flexDirection: 'column',\n flex: 1,\n padding: 20,\n backgroundColor: colors.white,\n },\n Product: {\n flexDirection: 'column',\n flex: 1,\n padding: 20,\n backgroundColor: colors.white,\n },\n LumiSpaIO: {\n flexDirection: 'row',\n flex: 1,\n backgroundColor: colors.white,\n },\n productName: {\n flex: 1,\n justifyContent: 'center',\n marginLeft: 5,\n },\n routineDetailsContainer: {\n backgroundColor: 'white',\n paddingTop: 20,\n paddingBottom: 10,\n marginBottom: 10,\n },\n routineDetails: {\n flexDirection: 'column',\n paddingHorizontal: 15,\n paddingVertical: 10,\n },\n stepImagePhoto: {\n width: 130,\n minHeight: 150,\n },\n stepProductPhoto: {\n width: 80,\n height: 80,\n },\n stepProductContainer: {\n flexDirection: 'row',\n backgroundColor: colors.white,\n paddingHorizontal: 20,\n paddingBottom: 20,\n },\n productPhoto: {\n margin: 2,\n width: 40,\n height: 40,\n borderRadius: 50,\n borderColor: '#EDEDED',\n borderWidth: 1,\n },\n itemTextStepProduct: {\n fontWeight: '400',\n fontSize: 13,\n lineHeight: 18,\n },\n itemTitleContainer: {\n flexDirection: 'column',\n justifyContent: 'space-between',\n paddingHorizontal: 15,\n position: 'absolute',\n bottom: 20,\n },\n itemTextSpan: {\n color: colors.white,\n fontWeight: '400',\n fontSize: 14,\n textTransform: 'uppercase',\n },\n itemTextTitleIndex: {\n color: colors.accentB400,\n fontWeight: '400',\n fontSize: 20,\n lineHeight: 26,\n paddingRight: 10,\n },\n itemTextStepTitle: {\n color: colors.primaryBlack,\n fontWeight: '600',\n fontSize: 18,\n lineHeight: 26,\n },\n itemTextStepSubDescription: {\n fontWeight: '700',\n fontSize: 10,\n lineHeight: 15,\n letterSpacing: 0.5,\n paddingTop: 5,\n textTransform: 'uppercase',\n },\n itemTextTitle: {\n color: colors.white,\n fontWeight: '400',\n fontSize: 26,\n },\n itemTextDescription: {\n color: colors.primaryBlack,\n fontWeight: '400',\n fontSize: 14,\n lineHeight: 20,\n paddingBottom: 20,\n },\n itemText: {\n color: colors.primaryBlack,\n fontWeight: 'bold',\n fontSize: 12,\n letterSpacing: 0.05,\n paddingBottom: 5,\n textTransform: 'uppercase',\n },\n itemTextStepDescription: {\n color: colors.primaryBlack,\n fontWeight: 'bold',\n fontSize: 12,\n letterSpacing: 0.05,\n paddingBottom: 5,\n },\n itemTextProduct: {\n color: colors.primaryBlack,\n fontSize: 11,\n fontWeight: '600',\n textTransform: 'uppercase',\n letterSpacing: 0.05,\n },\n itemTextSteps: {\n color: colors.primaryBlack,\n fontWeight: 'bold',\n textTransform: 'uppercase',\n },\n textLumiSpaTreatmentContainer: {\n marginTop: 10,\n padding: 10,\n textAlign: 'center',\n borderStyle: 'solid',\n borderWidth: 1,\n borderColor: colors.primaryBlack,\n },\n textLumiSpaTreatment: {\n textAlign: 'center',\n fontSize: 14,\n fontWeight: '600',\n lineHeight: 16,\n letterSpacing: 0.05,\n },\n});\nexport default RoutineDetails;\n"],"mappings":";;;;;;AAAA;AACA;AAUA;AACA;AACA;AAAwD;AAAA;AAExD,SAASA,cAAc,CAACC,KAAK,EAAE;EAAA;EAC7B,MAAMC,IAAI,mBAAGD,KAAK,CAACE,KAAK,iDAAX,aAAaC,MAAM;EAChC,oBACE,6BAAC,yBAAY;IAAC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAC,MAAM,EAAC;EAAc,gBAC1D,6BAAC,oBAAU;IACT,IAAI,eAAE,6BAAC,cAAI;MAAC,kBAAkB,EAAC;IAAM,EAAI;IACzC,KAAK,eAAE,6BAAC,o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dM,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAAC,eACYtG,cAAc;AAAA"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.accessibility = accessibility;
7
+ var _reactNative = require("react-native");
8
+ function accessibility(id) {
9
+ return _reactNative.Platform.OS === 'android' ? {
10
+ accessible: true,
11
+ accessibilityLabel: id
12
+ } : {
13
+ accessible: false,
14
+ testID: id
15
+ };
16
+ }
17
+ //# sourceMappingURL=Accessibility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["accessibility","id","Platform","OS","accessible","accessibilityLabel","testID"],"sources":["Accessibility.tsx"],"sourcesContent":["import { Platform } from 'react-native';\n\nexport function accessibility(id?: string) {\n return Platform.OS === 'android'\n ? { accessible: true, accessibilityLabel: id }\n : { accessible: false, testID: id };\n}\n"],"mappings":";;;;;;AAAA;AAEO,SAASA,aAAa,CAACC,EAAW,EAAE;EACzC,OAAOC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAC5B;IAAEC,UAAU,EAAE,IAAI;IAAEC,kBAAkB,EAAEJ;EAAG,CAAC,GAC5C;IAAEG,UAAU,EAAE,KAAK;IAAEE,MAAM,EAAEL;EAAG,CAAC;AACvC"}