@lookiero/checkout 9.12.0-beta.0 → 9.13.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.
- package/dist/index.js +2 -1
- package/dist/src/ExpoRoot.js +5 -4
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +2 -1
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +3 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +2 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +2 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +2 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +3 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +3 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +3 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +4 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +3 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +3 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +2 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +5 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +6 -6
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +3 -2
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +2 -2
- package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +2 -2
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +2 -2
- package/dist/src/infrastructure/ui/i18n/i18n.d.ts +2 -1
- package/dist/src/infrastructure/ui/i18n/i18n.js +2 -1
- package/dist/src/infrastructure/ui/test/render.js +4 -2
- package/dist/src/infrastructure/ui/views/App.js +2 -1
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +3 -3
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +2 -2
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +2 -2
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +3 -3
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +11 -5
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +3 -3
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +2 -2
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +4 -4
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +3 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +3 -3
- package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +4 -4
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +4 -4
- package/dist/src/infrastructure/ui/views/summary/Summary.js +4 -4
- package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +3 -2
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +8 -6
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +5 -5
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/index.ts +2 -1
- package/package.json +5 -6
- package/src/ExpoRoot.tsx +5 -4
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +3 -2
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +3 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +2 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +2 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +2 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +3 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +3 -3
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +3 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +5 -5
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +3 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +3 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +2 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +6 -5
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +7 -7
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +3 -2
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +2 -2
- package/src/infrastructure/ui/i18n/i18n.ts +3 -1
- package/src/infrastructure/ui/test/render.tsx +6 -3
- package/src/infrastructure/ui/views/App.tsx +2 -1
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +3 -3
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.tsx +2 -2
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +11 -5
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +159 -87
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +4 -4
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +242 -126
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +4 -4
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +74 -40
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +3 -0
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +3 -3
- package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +4 -4
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +4 -4
- package/src/infrastructure/ui/views/summary/Summary.tsx +4 -4
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +3 -2
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +152 -80
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +8 -6
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +5 -5
- package/dist/public/public/assets/adaptive-icon.png +0 -0
- package/dist/public/public/assets/favicon.png +0 -0
- package/dist/public/public/assets/icon.png +0 -0
- package/dist/public/public/assets/splash.png +0 -0
- package/dist/public/public/images/not-found.png +0 -0
|
@@ -148,24 +148,14 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
148
148
|
"right": 0,
|
|
149
149
|
"top": 0,
|
|
150
150
|
},
|
|
151
|
-
"alignContent": "center",
|
|
152
151
|
"alignSelf": "flex-start",
|
|
153
|
-
"backgroundColor": "#FFFFFF",
|
|
154
|
-
"borderColor": "#0C0A0A",
|
|
155
|
-
"borderRadius": 9999,
|
|
156
|
-
"borderStyle": "solid",
|
|
157
|
-
"borderWidth": 2,
|
|
158
152
|
"container": {
|
|
159
153
|
"overflow": "hidden",
|
|
160
154
|
},
|
|
161
155
|
"flex": 1,
|
|
162
156
|
"height": 48,
|
|
163
|
-
"justifyContent": "center",
|
|
164
157
|
"marginRight": 8,
|
|
165
158
|
"overflow": "hidden",
|
|
166
|
-
"paddingLeft": 24,
|
|
167
|
-
"paddingRight": 24,
|
|
168
|
-
"position": "relative",
|
|
169
159
|
"pressed": {
|
|
170
160
|
"bottom": 0,
|
|
171
161
|
"left": 0,
|
|
@@ -182,55 +172,105 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
182
172
|
}
|
|
183
173
|
testID="size-selector"
|
|
184
174
|
>
|
|
185
|
-
<
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
175
|
+
<ViewManagerAdapter_ExpoLinearGradient
|
|
176
|
+
colors={
|
|
177
|
+
[
|
|
178
|
+
4294967295,
|
|
179
|
+
4294967295,
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
endPoint={
|
|
183
|
+
[
|
|
184
|
+
1,
|
|
185
|
+
0,
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
startPoint={
|
|
189
|
+
[
|
|
190
|
+
0,
|
|
191
|
+
1,
|
|
192
|
+
]
|
|
198
193
|
}
|
|
199
|
-
/>
|
|
200
|
-
<View
|
|
201
194
|
style={
|
|
202
195
|
[
|
|
203
196
|
{
|
|
204
|
-
"
|
|
205
|
-
"
|
|
197
|
+
"alignContent": "center",
|
|
198
|
+
"height": 64,
|
|
206
199
|
"justifyContent": "center",
|
|
200
|
+
"overflow": "hidden",
|
|
201
|
+
"paddingLeft": 24,
|
|
202
|
+
"paddingRight": 24,
|
|
203
|
+
"position": "relative",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"borderColor": "#0C0A0A",
|
|
207
|
+
"borderStyle": "solid",
|
|
208
|
+
"borderWidth": 2,
|
|
209
|
+
"height": 64,
|
|
210
|
+
"paddingLeft": 24,
|
|
211
|
+
"paddingRight": 24,
|
|
212
|
+
},
|
|
213
|
+
undefined,
|
|
214
|
+
{
|
|
215
|
+
"height": 48,
|
|
216
|
+
},
|
|
217
|
+
false,
|
|
218
|
+
{
|
|
219
|
+
"borderRadius": 9999,
|
|
207
220
|
},
|
|
208
221
|
]
|
|
209
222
|
}
|
|
210
223
|
>
|
|
211
|
-
<
|
|
212
|
-
|
|
213
|
-
|
|
224
|
+
<View
|
|
225
|
+
collapsable={false}
|
|
226
|
+
pointerEvents="none"
|
|
227
|
+
style={
|
|
228
|
+
{
|
|
229
|
+
"backgroundColor": "#B7B3B3",
|
|
230
|
+
"height": 48,
|
|
231
|
+
"left": 0,
|
|
232
|
+
"opacity": 0.7,
|
|
233
|
+
"position": "absolute",
|
|
234
|
+
"top": 0,
|
|
235
|
+
"width": "0%",
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
/>
|
|
239
|
+
<View
|
|
214
240
|
style={
|
|
215
241
|
[
|
|
216
242
|
{
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"letterSpacing": -0.2,
|
|
221
|
-
"lineHeight": 20,
|
|
222
|
-
"paddingBottom": 0,
|
|
223
|
-
"paddingLeft": 0,
|
|
224
|
-
"paddingRight": 0,
|
|
225
|
-
"paddingTop": 0,
|
|
226
|
-
"textAlign": "center",
|
|
243
|
+
"alignItems": "center",
|
|
244
|
+
"flexDirection": "row",
|
|
245
|
+
"justifyContent": "center",
|
|
227
246
|
},
|
|
228
247
|
]
|
|
229
248
|
}
|
|
230
249
|
>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
250
|
+
<Text
|
|
251
|
+
allowFontScaling={false}
|
|
252
|
+
selectable={false}
|
|
253
|
+
style={
|
|
254
|
+
[
|
|
255
|
+
{
|
|
256
|
+
"color": "#0C0C0A",
|
|
257
|
+
"fontFamily": "AreaNormal-Extrabold",
|
|
258
|
+
"fontSize": 15,
|
|
259
|
+
"letterSpacing": -0.2,
|
|
260
|
+
"lineHeight": 20,
|
|
261
|
+
"paddingBottom": 0,
|
|
262
|
+
"paddingLeft": 0,
|
|
263
|
+
"paddingRight": 0,
|
|
264
|
+
"paddingTop": 0,
|
|
265
|
+
"textAlign": "center",
|
|
266
|
+
},
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
>
|
|
270
|
+
item.change_size_button
|
|
271
|
+
</Text>
|
|
272
|
+
</View>
|
|
273
|
+
</ViewManagerAdapter_ExpoLinearGradient>
|
|
234
274
|
</View>
|
|
235
275
|
<View
|
|
236
276
|
accessibilityRole="button"
|
|
@@ -277,23 +317,13 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
277
317
|
"right": 0,
|
|
278
318
|
"top": 0,
|
|
279
319
|
},
|
|
280
|
-
"alignContent": "center",
|
|
281
320
|
"alignSelf": "flex-start",
|
|
282
|
-
"backgroundColor": "#FFFFFF",
|
|
283
|
-
"borderColor": "#0C0A0A",
|
|
284
|
-
"borderRadius": 9999,
|
|
285
|
-
"borderStyle": "solid",
|
|
286
|
-
"borderWidth": 2,
|
|
287
321
|
"container": {
|
|
288
322
|
"overflow": "hidden",
|
|
289
323
|
},
|
|
290
324
|
"flex": 1,
|
|
291
325
|
"height": 48,
|
|
292
|
-
"justifyContent": "center",
|
|
293
326
|
"overflow": "hidden",
|
|
294
|
-
"paddingLeft": 24,
|
|
295
|
-
"paddingRight": 24,
|
|
296
|
-
"position": "relative",
|
|
297
327
|
"pressed": {
|
|
298
328
|
"bottom": 0,
|
|
299
329
|
"left": 0,
|
|
@@ -310,55 +340,105 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
310
340
|
}
|
|
311
341
|
testID="return-button"
|
|
312
342
|
>
|
|
313
|
-
<
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
343
|
+
<ViewManagerAdapter_ExpoLinearGradient
|
|
344
|
+
colors={
|
|
345
|
+
[
|
|
346
|
+
4294967295,
|
|
347
|
+
4294967295,
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
endPoint={
|
|
351
|
+
[
|
|
352
|
+
1,
|
|
353
|
+
0,
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
startPoint={
|
|
357
|
+
[
|
|
358
|
+
0,
|
|
359
|
+
1,
|
|
360
|
+
]
|
|
326
361
|
}
|
|
327
|
-
/>
|
|
328
|
-
<View
|
|
329
362
|
style={
|
|
330
363
|
[
|
|
331
364
|
{
|
|
332
|
-
"
|
|
333
|
-
"
|
|
365
|
+
"alignContent": "center",
|
|
366
|
+
"height": 64,
|
|
334
367
|
"justifyContent": "center",
|
|
368
|
+
"overflow": "hidden",
|
|
369
|
+
"paddingLeft": 24,
|
|
370
|
+
"paddingRight": 24,
|
|
371
|
+
"position": "relative",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"borderColor": "#0C0A0A",
|
|
375
|
+
"borderStyle": "solid",
|
|
376
|
+
"borderWidth": 2,
|
|
377
|
+
"height": 64,
|
|
378
|
+
"paddingLeft": 24,
|
|
379
|
+
"paddingRight": 24,
|
|
380
|
+
},
|
|
381
|
+
undefined,
|
|
382
|
+
{
|
|
383
|
+
"height": 48,
|
|
384
|
+
},
|
|
385
|
+
false,
|
|
386
|
+
{
|
|
387
|
+
"borderRadius": 9999,
|
|
335
388
|
},
|
|
336
389
|
]
|
|
337
390
|
}
|
|
338
391
|
>
|
|
339
|
-
<
|
|
340
|
-
|
|
341
|
-
|
|
392
|
+
<View
|
|
393
|
+
collapsable={false}
|
|
394
|
+
pointerEvents="none"
|
|
395
|
+
style={
|
|
396
|
+
{
|
|
397
|
+
"backgroundColor": "#B7B3B3",
|
|
398
|
+
"height": 48,
|
|
399
|
+
"left": 0,
|
|
400
|
+
"opacity": 0.7,
|
|
401
|
+
"position": "absolute",
|
|
402
|
+
"top": 0,
|
|
403
|
+
"width": "0%",
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
/>
|
|
407
|
+
<View
|
|
342
408
|
style={
|
|
343
409
|
[
|
|
344
410
|
{
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"letterSpacing": -0.2,
|
|
349
|
-
"lineHeight": 20,
|
|
350
|
-
"paddingBottom": 0,
|
|
351
|
-
"paddingLeft": 0,
|
|
352
|
-
"paddingRight": 0,
|
|
353
|
-
"paddingTop": 0,
|
|
354
|
-
"textAlign": "center",
|
|
411
|
+
"alignItems": "center",
|
|
412
|
+
"flexDirection": "row",
|
|
413
|
+
"justifyContent": "center",
|
|
355
414
|
},
|
|
356
415
|
]
|
|
357
416
|
}
|
|
358
417
|
>
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
418
|
+
<Text
|
|
419
|
+
allowFontScaling={false}
|
|
420
|
+
selectable={false}
|
|
421
|
+
style={
|
|
422
|
+
[
|
|
423
|
+
{
|
|
424
|
+
"color": "#0C0C0A",
|
|
425
|
+
"fontFamily": "AreaNormal-Extrabold",
|
|
426
|
+
"fontSize": 15,
|
|
427
|
+
"letterSpacing": -0.2,
|
|
428
|
+
"lineHeight": 20,
|
|
429
|
+
"paddingBottom": 0,
|
|
430
|
+
"paddingLeft": 0,
|
|
431
|
+
"paddingRight": 0,
|
|
432
|
+
"paddingTop": 0,
|
|
433
|
+
"textAlign": "center",
|
|
434
|
+
},
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
>
|
|
438
|
+
item.return_button
|
|
439
|
+
</Text>
|
|
440
|
+
</View>
|
|
441
|
+
</ViewManagerAdapter_ExpoLinearGradient>
|
|
362
442
|
</View>
|
|
363
443
|
</View>
|
|
364
444
|
<View
|
|
@@ -406,19 +486,12 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
406
486
|
"right": 0,
|
|
407
487
|
"top": 0,
|
|
408
488
|
},
|
|
409
|
-
"alignContent": "center",
|
|
410
489
|
"alignSelf": "flex-start",
|
|
411
|
-
"backgroundColor": "#0C0A0A",
|
|
412
|
-
"borderRadius": 9999,
|
|
413
490
|
"container": {
|
|
414
491
|
"overflow": "hidden",
|
|
415
492
|
},
|
|
416
493
|
"height": 48,
|
|
417
|
-
"justifyContent": "center",
|
|
418
494
|
"overflow": "hidden",
|
|
419
|
-
"paddingLeft": 24,
|
|
420
|
-
"paddingRight": 24,
|
|
421
|
-
"position": "relative",
|
|
422
495
|
"pressed": {
|
|
423
496
|
"bottom": 0,
|
|
424
497
|
"left": 0,
|
|
@@ -435,55 +508,98 @@ exports[`ItemActions component matches the snapshot 1`] = `
|
|
|
435
508
|
}
|
|
436
509
|
testID="keep-button"
|
|
437
510
|
>
|
|
438
|
-
<
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
511
|
+
<ViewManagerAdapter_ExpoLinearGradient
|
|
512
|
+
colors={
|
|
513
|
+
[
|
|
514
|
+
4278979082,
|
|
515
|
+
4278979082,
|
|
516
|
+
]
|
|
517
|
+
}
|
|
518
|
+
endPoint={
|
|
519
|
+
[
|
|
520
|
+
1,
|
|
521
|
+
0,
|
|
522
|
+
]
|
|
523
|
+
}
|
|
524
|
+
startPoint={
|
|
525
|
+
[
|
|
526
|
+
0,
|
|
527
|
+
1,
|
|
528
|
+
]
|
|
451
529
|
}
|
|
452
|
-
/>
|
|
453
|
-
<View
|
|
454
530
|
style={
|
|
455
531
|
[
|
|
456
532
|
{
|
|
457
|
-
"
|
|
458
|
-
"
|
|
533
|
+
"alignContent": "center",
|
|
534
|
+
"height": 64,
|
|
459
535
|
"justifyContent": "center",
|
|
536
|
+
"overflow": "hidden",
|
|
537
|
+
"paddingLeft": 24,
|
|
538
|
+
"paddingRight": 24,
|
|
539
|
+
"position": "relative",
|
|
540
|
+
},
|
|
541
|
+
{},
|
|
542
|
+
undefined,
|
|
543
|
+
{
|
|
544
|
+
"height": 48,
|
|
545
|
+
},
|
|
546
|
+
false,
|
|
547
|
+
{
|
|
548
|
+
"borderRadius": 9999,
|
|
460
549
|
},
|
|
461
550
|
]
|
|
462
551
|
}
|
|
463
552
|
>
|
|
464
|
-
<
|
|
465
|
-
|
|
466
|
-
|
|
553
|
+
<View
|
|
554
|
+
collapsable={false}
|
|
555
|
+
pointerEvents="none"
|
|
556
|
+
style={
|
|
557
|
+
{
|
|
558
|
+
"backgroundColor": "#716A6B",
|
|
559
|
+
"height": 48,
|
|
560
|
+
"left": 0,
|
|
561
|
+
"opacity": 0.7,
|
|
562
|
+
"position": "absolute",
|
|
563
|
+
"top": 0,
|
|
564
|
+
"width": "0%",
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
/>
|
|
568
|
+
<View
|
|
467
569
|
style={
|
|
468
570
|
[
|
|
469
571
|
{
|
|
470
|
-
"
|
|
471
|
-
"
|
|
472
|
-
"
|
|
473
|
-
"letterSpacing": -0.2,
|
|
474
|
-
"lineHeight": 20,
|
|
475
|
-
"paddingBottom": 0,
|
|
476
|
-
"paddingLeft": 0,
|
|
477
|
-
"paddingRight": 0,
|
|
478
|
-
"paddingTop": 0,
|
|
479
|
-
"textAlign": "center",
|
|
572
|
+
"alignItems": "center",
|
|
573
|
+
"flexDirection": "row",
|
|
574
|
+
"justifyContent": "center",
|
|
480
575
|
},
|
|
481
576
|
]
|
|
482
577
|
}
|
|
483
578
|
>
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
579
|
+
<Text
|
|
580
|
+
allowFontScaling={false}
|
|
581
|
+
selectable={false}
|
|
582
|
+
style={
|
|
583
|
+
[
|
|
584
|
+
{
|
|
585
|
+
"color": "#FFFFFF",
|
|
586
|
+
"fontFamily": "AreaNormal-Extrabold",
|
|
587
|
+
"fontSize": 15,
|
|
588
|
+
"letterSpacing": -0.2,
|
|
589
|
+
"lineHeight": 20,
|
|
590
|
+
"paddingBottom": 0,
|
|
591
|
+
"paddingLeft": 0,
|
|
592
|
+
"paddingRight": 0,
|
|
593
|
+
"paddingTop": 0,
|
|
594
|
+
"textAlign": "center",
|
|
595
|
+
},
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
>
|
|
599
|
+
item.keep_button
|
|
600
|
+
</Text>
|
|
601
|
+
</View>
|
|
602
|
+
</ViewManagerAdapter_ExpoLinearGradient>
|
|
487
603
|
</View>
|
|
488
604
|
</View>
|
|
489
605
|
</View>
|
|
@@ -7,7 +7,7 @@ import { useScreenSize } from "@lookiero/sty-psp-ui";
|
|
|
7
7
|
import { PriceProjection } from "../../../../../../projection/price/price";
|
|
8
8
|
import { SizeProjection, size } from "../../../../../../projection/size/size";
|
|
9
9
|
import { Price } from "../../../../components/atoms/price/Price";
|
|
10
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
10
|
+
import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
|
|
11
11
|
import { style } from "./ProductVariantDescription.style";
|
|
12
12
|
|
|
13
13
|
interface ProductVariantDescriptionProps {
|
|
@@ -24,8 +24,8 @@ const ProductVariantDescription: FC<ProductVariantDescriptionProps> = ({
|
|
|
24
24
|
size: sizeProjection,
|
|
25
25
|
country,
|
|
26
26
|
}) => {
|
|
27
|
-
const sizeText = useI18nMessage({ id: I18nMessages.ITEM_SIZE });
|
|
28
|
-
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
27
|
+
const sizeText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.ITEM_SIZE });
|
|
28
|
+
const uniqueText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.ITEM_UNIQUE });
|
|
29
29
|
const screenDevice = useScreenSize();
|
|
30
30
|
const isDesktopScreen = screenDevice !== "S";
|
|
31
31
|
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
|
|
12
12
|
import { HostDefaultReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem";
|
|
13
13
|
import { ReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem";
|
|
14
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
14
|
+
import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
|
|
15
15
|
import { style } from "./ReturnQuestionsFeedback.style";
|
|
16
16
|
|
|
17
17
|
const returnQuestionItems: ReturnQuestionItems = {
|
|
@@ -29,7 +29,7 @@ interface ReturnQuestionsFeedbackProps {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
const ReturnQuestionsFeedback: FC<ReturnQuestionsFeedbackProps> = ({ returnQuestions, onEditFeedback }) => {
|
|
32
|
-
const titleText = useI18nMessage({ id: I18nMessages.FEEDBACK_TITLE });
|
|
32
|
+
const titleText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.FEEDBACK_TITLE });
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
35
|
<View>
|
package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { View } from "react-native";
|
|
|
3
3
|
import { Button, Text } from "@lookiero/aurora";
|
|
4
4
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
5
|
import { Modal } from "@lookiero/sty-psp-ui";
|
|
6
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
6
|
+
import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
|
|
7
7
|
import { style } from "./SizeWithoutStockModal.style";
|
|
8
8
|
|
|
9
9
|
interface SizeWithoutStockModalProps {
|
|
@@ -11,9 +11,9 @@ interface SizeWithoutStockModalProps {
|
|
|
11
11
|
readonly onDismiss: () => void;
|
|
12
12
|
}
|
|
13
13
|
const SizeWithoutStockModal: FC<SizeWithoutStockModalProps> = ({ visible, onDismiss }) => {
|
|
14
|
-
const titleText = useI18nMessage({ id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_TITLE });
|
|
15
|
-
const descriptionText = useI18nMessage({ id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_DESCRIPTION });
|
|
16
|
-
const buttonText = useI18nMessage({ id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_BUTTON });
|
|
14
|
+
const titleText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_TITLE });
|
|
15
|
+
const descriptionText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_DESCRIPTION });
|
|
16
|
+
const buttonText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_BUTTON });
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<Modal portalHostName="Checkout" visible={visible} showCloseButton onClose={onDismiss}>
|