@nuskin/routine-feature 1.0.0 → 2.0.0

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,326 @@
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
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ function RoutineDetails(props) {
13
+ var _props$route, _item$routine_imageCo, _item$routine_imageCo2, _item$routine_imageCo3;
14
+ const item = (_props$route = props.route) === null || _props$route === void 0 ? void 0 : _props$route.params;
15
+ return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
16
+ style: styles.container,
17
+ testID: "routineStack"
18
+ }, /*#__PURE__*/_react.default.createElement(_mobileUi.VeraHeader, {
19
+ left: /*#__PURE__*/_react.default.createElement(_mobileUi.Logo, {
20
+ accessibilityLabel: "logo"
21
+ }),
22
+ right: /*#__PURE__*/_react.default.createElement(_mobileUi.HeaderCart, {
23
+ accessibilityLabel: "crt-btn"
24
+ }),
25
+ title: 'Routine Details',
26
+ accessibilityLabel: "header"
27
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
28
+ style: styles.routinesContainer
29
+ }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
30
+ style: {
31
+ position: 'relative'
32
+ }
33
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ImageBackground, {
34
+ source: {
35
+ 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
36
+ },
37
+ style: styles.itemPhoto
38
+ }, /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
39
+ colors: ['rgba(0, 0, 0, 0)', 'rgba(0, 0, 0, 0.6)'],
40
+ locations: [0.6, 1],
41
+ style: styles.imageOverlay
42
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
43
+ style: styles.itemTitleContainer
44
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
45
+ style: styles.itemTextSpan
46
+ }, "Default"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
47
+ style: styles.itemTextTitle
48
+ }, item.routine_title)))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
49
+ style: styles.routineDetailsContainer
50
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
51
+ style: styles.routineDetails
52
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
53
+ style: styles.itemTextDescription
54
+ }, item.routines_description), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
55
+ style: styles.itemText
56
+ }, item.products_used_label), item.products.map(item => {
57
+ var _item$product_imageCo, _item$product_imageCo2, _item$product_imageCo3;
58
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
59
+ style: {
60
+ flexDirection: 'row'
61
+ }
62
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
63
+ source: {
64
+ 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
65
+ },
66
+ style: styles.productPhoto,
67
+ resizeMode: "contain"
68
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
69
+ style: styles.productName
70
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
71
+ style: styles.itemTextProduct
72
+ }, item.product_category), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
73
+ style: styles.itemTextProduct
74
+ }, item.product_name)));
75
+ }))), item.steps.map((item, index) => {
76
+ var _item$imageConnection, _item$imageConnection2, _item$imageConnection3, _item$imageConnection4, _item$imageConnection5, _item$imageConnection6;
77
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
78
+ key: index,
79
+ style: {
80
+ marginHorizontal: 20,
81
+ marginBottom: 15
82
+ }
83
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
84
+ style: {
85
+ flexDirection: 'row',
86
+ marginVertical: 10
87
+ }
88
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
89
+ style: styles.itemTextTitleIndex
90
+ }, index + 1), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
91
+ style: styles.itemTextStepTitle
92
+ }, item.step_title)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
93
+ style: styles[`${item.style ? item.style : 'Container'}`]
94
+ }, (item.style === 'Image' || item.style == 'LumiSpaIO') && /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
95
+ source: {
96
+ 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
97
+ },
98
+ style: styles.stepImagePhoto,
99
+ resizeMode: "contain"
100
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
101
+ style: styles[`${item.style}TextContainer`]
102
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
103
+ style: styles.itemTextStepDescription
104
+ }, item.step_description), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
105
+ style: styles.itemTextStepSubDescription
106
+ }, item.step_sub_description), item.style === 'LumiSpaIO' && /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
107
+ style: styles.textLumiSpaTreatmentContainer
108
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
109
+ style: styles.textLumiSpaTreatment
110
+ }, item.image_title)))), item.style === 'Product' && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
111
+ style: styles.stepProductContainer
112
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
113
+ source: {
114
+ 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
115
+ },
116
+ style: styles.stepProductPhoto,
117
+ resizeMode: "contain"
118
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
119
+ style: styles.productName
120
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
121
+ style: styles.itemTextStepProduct
122
+ }, item.image_title), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
123
+ style: styles.itemTextStepProduct
124
+ }, item.image_description))));
125
+ }))));
126
+ }
127
+ const styles = _reactNative.StyleSheet.create({
128
+ container: {
129
+ flex: 1,
130
+ backgroundColor: _mobileUi.colors.white
131
+ },
132
+ routinesContainer: {
133
+ backgroundColor: _mobileUi.colors.primaryGray,
134
+ flex: 1
135
+ },
136
+ sectionHeader: {
137
+ textTransform: 'uppercase',
138
+ fontWeight: '600',
139
+ fontSize: 14,
140
+ // color: '#f4f4f4',
141
+ marginTop: 20,
142
+ paddingHorizontal: 15,
143
+ marginBottom: 5
144
+ },
145
+ imageOverlay: {
146
+ position: 'absolute',
147
+ left: 0,
148
+ right: 0,
149
+ top: 0,
150
+ height: '100%'
151
+ },
152
+ item: {
153
+ margin: 10,
154
+ borderRadius: 14
155
+ },
156
+ itemPhoto: {
157
+ width: '100%',
158
+ minHeight: 160,
159
+ aspectRatio: 1.5
160
+ },
161
+ Image: {
162
+ flexDirection: 'row',
163
+ flex: 1,
164
+ backgroundColor: _mobileUi.colors.white
165
+ },
166
+ ImageTextContainer: {
167
+ flex: 1,
168
+ padding: 20
169
+ },
170
+ LumiSpaIOTextContainer: {
171
+ flex: 1,
172
+ padding: 20
173
+ },
174
+ Container: {
175
+ flexDirection: 'column',
176
+ flex: 1,
177
+ padding: 20,
178
+ backgroundColor: _mobileUi.colors.white
179
+ },
180
+ Product: {
181
+ flexDirection: 'column',
182
+ flex: 1,
183
+ padding: 20,
184
+ backgroundColor: _mobileUi.colors.white
185
+ },
186
+ LumiSpaIO: {
187
+ flexDirection: 'row',
188
+ flex: 1,
189
+ backgroundColor: _mobileUi.colors.white
190
+ },
191
+ productName: {
192
+ flex: 1,
193
+ justifyContent: 'center',
194
+ marginLeft: 5
195
+ },
196
+ routineDetailsContainer: {
197
+ backgroundColor: 'white',
198
+ paddingTop: 20,
199
+ paddingBottom: 10,
200
+ marginBottom: 10
201
+ },
202
+ routineDetails: {
203
+ flexDirection: 'column',
204
+ paddingHorizontal: 15,
205
+ paddingVertical: 10
206
+ },
207
+ stepImagePhoto: {
208
+ width: 130,
209
+ minHeight: 150
210
+ },
211
+ stepProductPhoto: {
212
+ width: 80,
213
+ height: 80
214
+ },
215
+ stepProductContainer: {
216
+ flexDirection: 'row',
217
+ backgroundColor: _mobileUi.colors.white,
218
+ paddingHorizontal: 20,
219
+ paddingBottom: 20
220
+ },
221
+ productPhoto: {
222
+ margin: 2,
223
+ width: 40,
224
+ height: 40,
225
+ borderRadius: 50,
226
+ borderColor: '#EDEDED',
227
+ borderStyle: 'solid',
228
+ borderWidth: 1
229
+ },
230
+ itemTextStepProduct: {
231
+ fontWeight: '400',
232
+ fontSize: 13,
233
+ lineHeight: 18
234
+ },
235
+ itemTitleContainer: {
236
+ flexDirection: 'column',
237
+ justifyContent: 'space-between',
238
+ paddingHorizontal: 15,
239
+ position: 'absolute',
240
+ bottom: 20
241
+ },
242
+ itemTextSpan: {
243
+ color: _mobileUi.colors.white,
244
+ fontWeight: '400',
245
+ fontSize: 14,
246
+ textTransform: 'uppercase'
247
+ },
248
+ itemTextTitleIndex: {
249
+ color: _mobileUi.colors.accentB400,
250
+ fontWeight: '400',
251
+ fontSize: 20,
252
+ lineHeight: 26,
253
+ paddingRight: 10
254
+ },
255
+ itemTextStepTitle: {
256
+ color: _mobileUi.colors.primaryBlack,
257
+ fontWeight: '600',
258
+ fontSize: 18,
259
+ lineHeight: 26
260
+ },
261
+ itemTextStepSubDescription: {
262
+ fontWeight: '700',
263
+ fontSize: 10,
264
+ lineHeight: 15,
265
+ letterSpacing: 0.5,
266
+ paddingTop: 5,
267
+ textTransform: 'uppercase'
268
+ },
269
+ itemTextTitle: {
270
+ color: _mobileUi.colors.white,
271
+ fontWeight: '400',
272
+ fontSize: 26
273
+ },
274
+ itemTextDescription: {
275
+ color: _mobileUi.colors.primaryBlack,
276
+ fontWeight: '400',
277
+ fontSize: 14,
278
+ lineHeight: 20,
279
+ paddingBottom: 20
280
+ },
281
+ itemText: {
282
+ color: _mobileUi.colors.primaryBlack,
283
+ fontWeight: 'bold',
284
+ fontSize: 12,
285
+ letterSpacing: 0.05,
286
+ paddingBottom: 5,
287
+ textTransform: 'uppercase'
288
+ },
289
+ itemTextStepDescription: {
290
+ color: _mobileUi.colors.primaryBlack,
291
+ fontWeight: 'bold',
292
+ fontSize: 12,
293
+ letterSpacing: 0.05,
294
+ paddingBottom: 5
295
+ },
296
+ itemTextProduct: {
297
+ color: _mobileUi.colors.primaryBlack,
298
+ fontSize: 11,
299
+ fontWeight: '600',
300
+ textTransform: 'uppercase',
301
+ letterSpacing: 0.05
302
+ },
303
+ itemTextSteps: {
304
+ color: _mobileUi.colors.primaryBlack,
305
+ fontWeight: 'bold',
306
+ textTransform: 'uppercase'
307
+ },
308
+ textLumiSpaTreatmentContainer: {
309
+ marginTop: 10,
310
+ padding: 10,
311
+ textAlign: 'center',
312
+ borderStyle: 'solid',
313
+ borderWidth: 1,
314
+ borderColor: _mobileUi.colors.primaryBlack
315
+ },
316
+ textLumiSpaTreatment: {
317
+ textAlign: 'center',
318
+ fontSize: 14,
319
+ fontWeight: '600',
320
+ lineHeight: 16,
321
+ letterSpacing: 0.05
322
+ }
323
+ });
324
+ var _default = RoutineDetails;
325
+ exports.default = _default;
326
+ //# sourceMappingURL=RoutineDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RoutineDetails","props","item","route","params","styles","container","routinesContainer","position","uri","routine_imageConnection","edges","node","url","itemPhoto","imageOverlay","itemTitleContainer","itemTextSpan","itemTextTitle","routine_title","routineDetailsContainer","routineDetails","itemTextDescription","routines_description","itemText","products_used_label","products","map","flexDirection","product_imageConnection","productPhoto","productName","itemTextProduct","product_category","product_name","steps","index","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","borderStyle","borderWidth","lineHeight","bottom","color","accentB400","paddingRight","primaryBlack","letterSpacing","itemTextSteps","textAlign"],"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';\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={'Routine Details'}\n accessibilityLabel=\"header\"\n />\n <ScrollView style={styles.routinesContainer}>\n <>\n <View style={{ position: 'relative' }}>\n <ImageBackground\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}>Default</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) => {\n return (\n <View style={{ flexDirection: 'row' }}>\n <Image\n source={{\n uri: item.product_imageConnection?.edges[0]?.node?.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 style={styles[`${item.style}TextContainer`]}>\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 </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 borderStyle: 'solid',\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;AAA0D;AAE1D,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,oBAAU;MAAC,kBAAkB,EAAC;IAAS,EAAI;IACnD,KAAK,EAAE,iBAAkB;IACzB,kBAAkB,EAAC;EAAQ,EAC3B,eACF,6BAAC,uBAAU;IAAC,KAAK,EAAED,MAAM,CAACE;EAAkB,gBAC1C,yEACE,6BAAC,iBAAI;IAAC,KAAK,EAAE;MAAEC,QAAQ,EAAE;IAAW;EAAE,gBACpC,6BAAC,4BAAe;IACd,MAAM,EAAE;MACNC,GAAG,2BAAEP,IAAI,CAACQ,uBAAuB,oFAA5B,sBAA8BC,KAAK,CAAC,CAAC,CAAC,qFAAtC,uBAAwCC,IAAI,2DAA5C,uBAA8CC;IACrD,CAAE;IACF,KAAK,EA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B,CAAC;EACDzD,eAAe,EAAE;IACfgE,KAAK,EAAEnC,gBAAM,CAACsC,YAAY;IAC1BhC,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE,KAAK;IACjBD,aAAa,EAAE,WAAW;IAC1BmC,aAAa,EAAE;EACjB,CAAC;EACDC,aAAa,EAAE;IACbL,KAAK,EAAEnC,gBAAM,CAACsC,YAAY;IAC1BjC,UAAU,EAAE,MAAM;IAClBD,aAAa,EAAE;EACjB,CAAC;EACDf,6BAA6B,EAAE;IAC7BkB,SAAS,EAAE,EAAE;IACba,OAAO,EAAE,EAAE;IACXqB,SAAS,EAAE,QAAQ;IACnBV,WAAW,EAAE,OAAO;IACpBC,WAAW,EAAE,CAAC;IACdF,WAAW,EAAE9B,gBAAM,CAACsC;EACtB,CAAC;EACDhD,oBAAoB,EAAE;IACpBmD,SAAS,EAAE,QAAQ;IACnBnC,QAAQ,EAAE,EAAE;IACZD,UAAU,EAAE,KAAK;IACjB4B,UAAU,EAAE,EAAE;IACdM,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAAC,eACYpG,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"}