@lookiero/checkout 14.1.0 → 14.2.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.
- 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
- package/dist/src/ExpoRoot.d.ts +1 -0
- package/dist/src/ExpoRoot.js +4 -3
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +3 -2
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +2 -2
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.d.ts +1 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +1 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +2 -2
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +1 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +3 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +3 -3
- 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/views/checkout/Checkout.js +3 -3
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +4 -3
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +3 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +4 -4
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +2 -2
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +3 -3
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +4 -4
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +1 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +4 -4
- package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +4 -3
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +5 -5
- package/dist/src/infrastructure/ui/views/summary/Summary.js +3 -3
- package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +3 -3
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +2 -2
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +1 -1
- package/dist/src/version.d.ts +2 -2
- package/dist/src/version.js +2 -2
- package/package.json +4 -4
- package/src/ExpoRoot.tsx +4 -3
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +3 -2
- package/src/infrastructure/ui/components/atoms/price/Price.style.ts +1 -0
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +2 -7
- package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +24 -28
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostLegacyRadioGroupReturnQuestionItem/HostLegacyRadioGroupReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +2 -2
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +1 -1
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +5 -6
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +3 -3
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +21 -18
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +21 -18
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +2 -2
- package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +39 -30
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +3 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +4 -3
- package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +12 -18
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +14 -4
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +30 -28
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +45 -33
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +4 -4
- package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +38 -56
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +1 -1
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +2 -2
- package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +28 -19
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +3 -3
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +28 -25
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +57 -84
- package/src/infrastructure/ui/views/return/components/price/Price.style.ts +1 -0
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +4 -4
- package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +12 -19
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +4 -4
- package/src/infrastructure/ui/views/return/components/productVariantPreview/__snapshots__/ProductVariantPreview.test.tsx.snap +18 -26
- package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +4 -3
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +5 -5
- package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +80 -82
- package/src/infrastructure/ui/views/summary/Summary.tsx +3 -3
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +3 -3
- package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +58 -54
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +2 -2
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +1 -1
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +197 -193
|
@@ -228,20 +228,19 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
228
228
|
}
|
|
229
229
|
>
|
|
230
230
|
<Text
|
|
231
|
-
allowFontScaling={false}
|
|
232
|
-
selectable={false}
|
|
233
231
|
style={
|
|
234
232
|
[
|
|
235
233
|
{
|
|
236
|
-
"color": "#
|
|
234
|
+
"color": "#0C0A0A",
|
|
237
235
|
"fontFamily": "AreaNormal-Semibold",
|
|
238
236
|
"fontSize": 12,
|
|
237
|
+
"fontStyle": "normal",
|
|
238
|
+
"fontWeight": "normal",
|
|
239
239
|
"letterSpacing": 0.1,
|
|
240
240
|
"lineHeight": 16,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
"
|
|
244
|
-
"paddingTop": 0,
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"color": "#837C7C",
|
|
245
244
|
},
|
|
246
245
|
]
|
|
247
246
|
}
|
|
@@ -249,41 +248,37 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
249
248
|
CKS
|
|
250
249
|
</Text>
|
|
251
250
|
<Text
|
|
252
|
-
allowFontScaling={false}
|
|
253
|
-
selectable={false}
|
|
254
251
|
style={
|
|
255
252
|
[
|
|
256
253
|
{
|
|
257
254
|
"color": "#0C0A0A",
|
|
258
255
|
"fontFamily": "AreaNormal-Semibold",
|
|
259
256
|
"fontSize": 12,
|
|
257
|
+
"fontStyle": "normal",
|
|
258
|
+
"fontWeight": "normal",
|
|
260
259
|
"letterSpacing": 0.1,
|
|
261
260
|
"lineHeight": 16,
|
|
262
|
-
"paddingBottom": 0,
|
|
263
|
-
"paddingLeft": 0,
|
|
264
|
-
"paddingRight": 0,
|
|
265
|
-
"paddingTop": 0,
|
|
266
261
|
},
|
|
262
|
+
undefined,
|
|
267
263
|
]
|
|
268
264
|
}
|
|
269
265
|
>
|
|
270
266
|
Sari Tshirt lines
|
|
271
267
|
</Text>
|
|
272
268
|
<Text
|
|
273
|
-
allowFontScaling={false}
|
|
274
|
-
selectable={false}
|
|
275
269
|
style={
|
|
276
270
|
[
|
|
277
271
|
{
|
|
278
|
-
"color": "#
|
|
272
|
+
"color": "#0C0A0A",
|
|
279
273
|
"fontFamily": "AreaNormal-Semibold",
|
|
280
274
|
"fontSize": 12,
|
|
275
|
+
"fontStyle": "normal",
|
|
276
|
+
"fontWeight": "normal",
|
|
281
277
|
"letterSpacing": 0.1,
|
|
282
278
|
"lineHeight": 16,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
"
|
|
286
|
-
"paddingTop": 0,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"color": "#837C7C",
|
|
287
282
|
},
|
|
288
283
|
]
|
|
289
284
|
}
|
|
@@ -302,21 +297,19 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
302
297
|
testID="price"
|
|
303
298
|
>
|
|
304
299
|
<Text
|
|
305
|
-
|
|
306
|
-
selectable={false}
|
|
300
|
+
detail={true}
|
|
307
301
|
style={
|
|
308
302
|
[
|
|
309
303
|
{
|
|
310
304
|
"color": "#0C0A0A",
|
|
311
305
|
"fontFamily": "AreaNormal-Semibold",
|
|
312
|
-
"fontSize":
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"paddingRight": 0,
|
|
318
|
-
"paddingTop": 0,
|
|
306
|
+
"fontSize": 18,
|
|
307
|
+
"fontStyle": "normal",
|
|
308
|
+
"fontWeight": "300",
|
|
309
|
+
"letterSpacing": -0.2,
|
|
310
|
+
"lineHeight": 22,
|
|
319
311
|
},
|
|
312
|
+
undefined,
|
|
320
313
|
]
|
|
321
314
|
}
|
|
322
315
|
testID="price-text"
|
|
@@ -335,21 +328,27 @@ exports[`ProductVariant component matches the snapshot for a non-unique size: no
|
|
|
335
328
|
[
|
|
336
329
|
{
|
|
337
330
|
"color": "#0C0A0A",
|
|
338
|
-
"fontFamily": "
|
|
339
|
-
"fontSize":
|
|
331
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
332
|
+
"fontSize": 15,
|
|
340
333
|
"fontStyle": "normal",
|
|
341
|
-
"fontWeight": "
|
|
342
|
-
"height": 24,
|
|
334
|
+
"fontWeight": "300",
|
|
343
335
|
"letterSpacing": -0.2,
|
|
344
|
-
"lineHeight":
|
|
345
|
-
"minHeight": 24,
|
|
346
|
-
"minWidth": 24,
|
|
347
|
-
"paddingBottom": 0,
|
|
348
|
-
"paddingLeft": 0,
|
|
349
|
-
"paddingRight": 0,
|
|
350
|
-
"paddingTop": 0,
|
|
351
|
-
"width": 24,
|
|
336
|
+
"lineHeight": 20,
|
|
352
337
|
},
|
|
338
|
+
[
|
|
339
|
+
{
|
|
340
|
+
"fontFamily": "auroraicons",
|
|
341
|
+
"fontSize": 24,
|
|
342
|
+
"fontStyle": "normal",
|
|
343
|
+
"fontWeight": "normal",
|
|
344
|
+
"height": 24,
|
|
345
|
+
"lineHeight": 24,
|
|
346
|
+
"minHeight": 24,
|
|
347
|
+
"minWidth": 24,
|
|
348
|
+
"width": 24,
|
|
349
|
+
},
|
|
350
|
+
undefined,
|
|
351
|
+
],
|
|
353
352
|
]
|
|
354
353
|
}
|
|
355
354
|
testID="icon"
|
|
@@ -588,20 +587,19 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
588
587
|
}
|
|
589
588
|
>
|
|
590
589
|
<Text
|
|
591
|
-
allowFontScaling={false}
|
|
592
|
-
selectable={false}
|
|
593
590
|
style={
|
|
594
591
|
[
|
|
595
592
|
{
|
|
596
|
-
"color": "#
|
|
593
|
+
"color": "#0C0A0A",
|
|
597
594
|
"fontFamily": "AreaNormal-Semibold",
|
|
598
595
|
"fontSize": 12,
|
|
596
|
+
"fontStyle": "normal",
|
|
597
|
+
"fontWeight": "normal",
|
|
599
598
|
"letterSpacing": 0.1,
|
|
600
599
|
"lineHeight": 16,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
"
|
|
604
|
-
"paddingTop": 0,
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"color": "#837C7C",
|
|
605
603
|
},
|
|
606
604
|
]
|
|
607
605
|
}
|
|
@@ -609,41 +607,37 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
609
607
|
CKS
|
|
610
608
|
</Text>
|
|
611
609
|
<Text
|
|
612
|
-
allowFontScaling={false}
|
|
613
|
-
selectable={false}
|
|
614
610
|
style={
|
|
615
611
|
[
|
|
616
612
|
{
|
|
617
613
|
"color": "#0C0A0A",
|
|
618
614
|
"fontFamily": "AreaNormal-Semibold",
|
|
619
615
|
"fontSize": 12,
|
|
616
|
+
"fontStyle": "normal",
|
|
617
|
+
"fontWeight": "normal",
|
|
620
618
|
"letterSpacing": 0.1,
|
|
621
619
|
"lineHeight": 16,
|
|
622
|
-
"paddingBottom": 0,
|
|
623
|
-
"paddingLeft": 0,
|
|
624
|
-
"paddingRight": 0,
|
|
625
|
-
"paddingTop": 0,
|
|
626
620
|
},
|
|
621
|
+
undefined,
|
|
627
622
|
]
|
|
628
623
|
}
|
|
629
624
|
>
|
|
630
625
|
Sari Tshirt lines
|
|
631
626
|
</Text>
|
|
632
627
|
<Text
|
|
633
|
-
allowFontScaling={false}
|
|
634
|
-
selectable={false}
|
|
635
628
|
style={
|
|
636
629
|
[
|
|
637
630
|
{
|
|
638
|
-
"color": "#
|
|
631
|
+
"color": "#0C0A0A",
|
|
639
632
|
"fontFamily": "AreaNormal-Semibold",
|
|
640
633
|
"fontSize": 12,
|
|
634
|
+
"fontStyle": "normal",
|
|
635
|
+
"fontWeight": "normal",
|
|
641
636
|
"letterSpacing": 0.1,
|
|
642
637
|
"lineHeight": 16,
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
"
|
|
646
|
-
"paddingTop": 0,
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"color": "#837C7C",
|
|
647
641
|
},
|
|
648
642
|
]
|
|
649
643
|
}
|
|
@@ -662,21 +656,19 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
662
656
|
testID="price"
|
|
663
657
|
>
|
|
664
658
|
<Text
|
|
665
|
-
|
|
666
|
-
selectable={false}
|
|
659
|
+
detail={true}
|
|
667
660
|
style={
|
|
668
661
|
[
|
|
669
662
|
{
|
|
670
663
|
"color": "#0C0A0A",
|
|
671
664
|
"fontFamily": "AreaNormal-Semibold",
|
|
672
|
-
"fontSize":
|
|
673
|
-
"
|
|
674
|
-
"
|
|
675
|
-
"
|
|
676
|
-
"
|
|
677
|
-
"paddingRight": 0,
|
|
678
|
-
"paddingTop": 0,
|
|
665
|
+
"fontSize": 18,
|
|
666
|
+
"fontStyle": "normal",
|
|
667
|
+
"fontWeight": "300",
|
|
668
|
+
"letterSpacing": -0.2,
|
|
669
|
+
"lineHeight": 22,
|
|
679
670
|
},
|
|
671
|
+
undefined,
|
|
680
672
|
]
|
|
681
673
|
}
|
|
682
674
|
testID="price-text"
|
|
@@ -695,21 +687,27 @@ exports[`ProductVariant component matches the snapshot for an unique size: uniqu
|
|
|
695
687
|
[
|
|
696
688
|
{
|
|
697
689
|
"color": "#0C0A0A",
|
|
698
|
-
"fontFamily": "
|
|
699
|
-
"fontSize":
|
|
690
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
691
|
+
"fontSize": 15,
|
|
700
692
|
"fontStyle": "normal",
|
|
701
|
-
"fontWeight": "
|
|
702
|
-
"height": 24,
|
|
693
|
+
"fontWeight": "300",
|
|
703
694
|
"letterSpacing": -0.2,
|
|
704
|
-
"lineHeight":
|
|
705
|
-
"minHeight": 24,
|
|
706
|
-
"minWidth": 24,
|
|
707
|
-
"paddingBottom": 0,
|
|
708
|
-
"paddingLeft": 0,
|
|
709
|
-
"paddingRight": 0,
|
|
710
|
-
"paddingTop": 0,
|
|
711
|
-
"width": 24,
|
|
695
|
+
"lineHeight": 20,
|
|
712
696
|
},
|
|
697
|
+
[
|
|
698
|
+
{
|
|
699
|
+
"fontFamily": "auroraicons",
|
|
700
|
+
"fontSize": 24,
|
|
701
|
+
"fontStyle": "normal",
|
|
702
|
+
"fontWeight": "normal",
|
|
703
|
+
"height": 24,
|
|
704
|
+
"lineHeight": 24,
|
|
705
|
+
"minHeight": 24,
|
|
706
|
+
"minWidth": 24,
|
|
707
|
+
"width": 24,
|
|
708
|
+
},
|
|
709
|
+
undefined,
|
|
710
|
+
],
|
|
713
711
|
]
|
|
714
712
|
}
|
|
715
713
|
testID="icon"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { FC, ReactNode, useCallback, useEffect, useMemo, useState } from "react";
|
|
2
2
|
import { LayoutRectangle, Platform, ScrollView, View } from "react-native";
|
|
3
3
|
import { generatePath, useMatch, useNavigate } from "react-router-native";
|
|
4
|
-
import { Box,
|
|
4
|
+
import { Box, Layout as AuroraLayout, Spinner } from "@lookiero/aurora";
|
|
5
5
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
6
6
|
import { QueryStatus } from "@lookiero/messaging-react";
|
|
7
|
-
import { Layout as UiLayout, Sticky, useScreenSize } from "@lookiero/sty-psp-ui";
|
|
7
|
+
import { Layout as UiLayout, Sticky, Text, useScreenSize } from "@lookiero/sty-psp-ui";
|
|
8
8
|
import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
|
|
9
9
|
import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
|
|
10
10
|
import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
|
|
@@ -134,7 +134,7 @@ const Summary: FC<SummaryProps> = ({ layout: Layout, children }) => {
|
|
|
134
134
|
<Box size={{ L: "2/3" }} style={isDesktopScreen && style.desktopListSpacing}>
|
|
135
135
|
<View style={[style.contentWrapper, isDesktopScreen && style.desktopContentWrapper]}>
|
|
136
136
|
<View style={!isDesktopScreen && style.mobileInfo}>
|
|
137
|
-
<Text level={3} style={style.title} heading>
|
|
137
|
+
<Text level={3} style={style.title} variant="heading">
|
|
138
138
|
{titleText}
|
|
139
139
|
</Text>
|
|
140
140
|
<Text level={3} style={style.description}>
|
package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { FC, useMemo } from "react";
|
|
2
2
|
import { Pressable, View } from "react-native";
|
|
3
3
|
import Animated, { useAnimatedStyle, useSharedValue, withTiming } from "react-native-reanimated";
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from "@lookiero/aurora";
|
|
5
5
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
6
|
-
import { Icon } from "@lookiero/sty-psp-ui";
|
|
6
|
+
import { Icon, Text } from "@lookiero/sty-psp-ui";
|
|
7
7
|
import { Tradename } from "@lookiero/sty-sp-tradename";
|
|
8
8
|
import { PricingProjection } from "../../../../../../projection/pricing/pricing";
|
|
9
9
|
import { Price } from "../../../../components/atoms/price/Price";
|
|
@@ -72,7 +72,7 @@ const CollapsiblePricing: FC<CollapsiblePricingProps> = ({
|
|
|
72
72
|
{collapsed && collapsible ? (
|
|
73
73
|
<Animated.View key="collapsed" style={[style.collapsed, collapsedAnimatedStyle]}>
|
|
74
74
|
<View style={style.collapsedContent}>
|
|
75
|
-
<Text level={1} style={style.totalCollapsed} detail>
|
|
75
|
+
<Text level={1} style={style.totalCollapsed} variant="detail">
|
|
76
76
|
{totalText} {totalCheckoutItemsKeptText}
|
|
77
77
|
</Text>
|
|
78
78
|
<Price price={pendingToPay} variant="detail" />
|
|
@@ -76,21 +76,27 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
|
|
|
76
76
|
[
|
|
77
77
|
{
|
|
78
78
|
"color": "#0C0A0A",
|
|
79
|
-
"fontFamily": "
|
|
80
|
-
"fontSize":
|
|
79
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
80
|
+
"fontSize": 15,
|
|
81
81
|
"fontStyle": "normal",
|
|
82
|
-
"fontWeight": "
|
|
83
|
-
"height": 24,
|
|
82
|
+
"fontWeight": "300",
|
|
84
83
|
"letterSpacing": -0.2,
|
|
85
|
-
"lineHeight":
|
|
86
|
-
"minHeight": 24,
|
|
87
|
-
"minWidth": 24,
|
|
88
|
-
"paddingBottom": 0,
|
|
89
|
-
"paddingLeft": 0,
|
|
90
|
-
"paddingRight": 0,
|
|
91
|
-
"paddingTop": 0,
|
|
92
|
-
"width": 24,
|
|
84
|
+
"lineHeight": 20,
|
|
93
85
|
},
|
|
86
|
+
[
|
|
87
|
+
{
|
|
88
|
+
"fontFamily": "auroraicons",
|
|
89
|
+
"fontSize": 24,
|
|
90
|
+
"fontStyle": "normal",
|
|
91
|
+
"fontWeight": "normal",
|
|
92
|
+
"height": 24,
|
|
93
|
+
"lineHeight": 24,
|
|
94
|
+
"minHeight": 24,
|
|
95
|
+
"minWidth": 24,
|
|
96
|
+
"width": 24,
|
|
97
|
+
},
|
|
98
|
+
undefined,
|
|
99
|
+
],
|
|
94
100
|
]
|
|
95
101
|
}
|
|
96
102
|
testID="arrow-up"
|
|
@@ -120,21 +126,19 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
|
|
|
120
126
|
}
|
|
121
127
|
>
|
|
122
128
|
<Text
|
|
123
|
-
allowFontScaling={false}
|
|
124
|
-
selectable={false}
|
|
125
129
|
style={
|
|
126
130
|
[
|
|
127
131
|
{
|
|
128
132
|
"color": "#0C0A0A",
|
|
129
133
|
"fontFamily": "AreaNormal-Semibold",
|
|
130
134
|
"fontSize": 13,
|
|
135
|
+
"fontStyle": "normal",
|
|
136
|
+
"fontWeight": "normal",
|
|
131
137
|
"letterSpacing": 0.1,
|
|
132
138
|
"lineHeight": 17,
|
|
139
|
+
},
|
|
140
|
+
{
|
|
133
141
|
"marginBottom": 4,
|
|
134
|
-
"paddingBottom": 0,
|
|
135
|
-
"paddingLeft": 0,
|
|
136
|
-
"paddingRight": 0,
|
|
137
|
-
"paddingTop": 0,
|
|
138
142
|
},
|
|
139
143
|
]
|
|
140
144
|
}
|
|
@@ -152,21 +156,19 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
|
|
|
152
156
|
testID="price"
|
|
153
157
|
>
|
|
154
158
|
<Text
|
|
155
|
-
|
|
156
|
-
selectable={false}
|
|
159
|
+
detail={true}
|
|
157
160
|
style={
|
|
158
161
|
[
|
|
159
162
|
{
|
|
160
163
|
"color": "#0C0A0A",
|
|
161
164
|
"fontFamily": "AreaNormal-Semibold",
|
|
162
|
-
"fontSize":
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"paddingRight": 0,
|
|
168
|
-
"paddingTop": 0,
|
|
165
|
+
"fontSize": 18,
|
|
166
|
+
"fontStyle": "normal",
|
|
167
|
+
"fontWeight": "300",
|
|
168
|
+
"letterSpacing": -0.2,
|
|
169
|
+
"lineHeight": 22,
|
|
169
170
|
},
|
|
171
|
+
undefined,
|
|
170
172
|
]
|
|
171
173
|
}
|
|
172
174
|
testID="price-text"
|
|
@@ -428,21 +430,27 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
|
|
|
428
430
|
[
|
|
429
431
|
{
|
|
430
432
|
"color": "#0C0A0A",
|
|
431
|
-
"fontFamily": "
|
|
432
|
-
"fontSize":
|
|
433
|
+
"fontFamily": "AreaNormal-Semibold",
|
|
434
|
+
"fontSize": 15,
|
|
433
435
|
"fontStyle": "normal",
|
|
434
|
-
"fontWeight": "
|
|
435
|
-
"height": 24,
|
|
436
|
+
"fontWeight": "300",
|
|
436
437
|
"letterSpacing": -0.2,
|
|
437
|
-
"lineHeight":
|
|
438
|
-
"minHeight": 24,
|
|
439
|
-
"minWidth": 24,
|
|
440
|
-
"paddingBottom": 0,
|
|
441
|
-
"paddingLeft": 0,
|
|
442
|
-
"paddingRight": 0,
|
|
443
|
-
"paddingTop": 0,
|
|
444
|
-
"width": 24,
|
|
438
|
+
"lineHeight": 20,
|
|
445
439
|
},
|
|
440
|
+
[
|
|
441
|
+
{
|
|
442
|
+
"fontFamily": "auroraicons",
|
|
443
|
+
"fontSize": 24,
|
|
444
|
+
"fontStyle": "normal",
|
|
445
|
+
"fontWeight": "normal",
|
|
446
|
+
"height": 24,
|
|
447
|
+
"lineHeight": 24,
|
|
448
|
+
"minHeight": 24,
|
|
449
|
+
"minWidth": 24,
|
|
450
|
+
"width": 24,
|
|
451
|
+
},
|
|
452
|
+
undefined,
|
|
453
|
+
],
|
|
446
454
|
]
|
|
447
455
|
}
|
|
448
456
|
testID="arrow-up"
|
|
@@ -472,21 +480,19 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
|
|
|
472
480
|
}
|
|
473
481
|
>
|
|
474
482
|
<Text
|
|
475
|
-
allowFontScaling={false}
|
|
476
|
-
selectable={false}
|
|
477
483
|
style={
|
|
478
484
|
[
|
|
479
485
|
{
|
|
480
486
|
"color": "#0C0A0A",
|
|
481
487
|
"fontFamily": "AreaNormal-Semibold",
|
|
482
488
|
"fontSize": 13,
|
|
489
|
+
"fontStyle": "normal",
|
|
490
|
+
"fontWeight": "normal",
|
|
483
491
|
"letterSpacing": 0.1,
|
|
484
492
|
"lineHeight": 17,
|
|
493
|
+
},
|
|
494
|
+
{
|
|
485
495
|
"marginBottom": 4,
|
|
486
|
-
"paddingBottom": 0,
|
|
487
|
-
"paddingLeft": 0,
|
|
488
|
-
"paddingRight": 0,
|
|
489
|
-
"paddingTop": 0,
|
|
490
496
|
},
|
|
491
497
|
]
|
|
492
498
|
}
|
|
@@ -504,21 +510,19 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
|
|
|
504
510
|
testID="price"
|
|
505
511
|
>
|
|
506
512
|
<Text
|
|
507
|
-
|
|
508
|
-
selectable={false}
|
|
513
|
+
detail={true}
|
|
509
514
|
style={
|
|
510
515
|
[
|
|
511
516
|
{
|
|
512
517
|
"color": "#0C0A0A",
|
|
513
518
|
"fontFamily": "AreaNormal-Semibold",
|
|
514
|
-
"fontSize":
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"paddingRight": 0,
|
|
520
|
-
"paddingTop": 0,
|
|
519
|
+
"fontSize": 18,
|
|
520
|
+
"fontStyle": "normal",
|
|
521
|
+
"fontWeight": "300",
|
|
522
|
+
"letterSpacing": -0.2,
|
|
523
|
+
"lineHeight": 22,
|
|
521
524
|
},
|
|
525
|
+
undefined,
|
|
522
526
|
]
|
|
523
527
|
}
|
|
524
528
|
testID="price-text"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC, ReactNode, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { Text } from "@lookiero/aurora";
|
|
4
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
|
+
import { Text } from "@lookiero/sty-psp-ui";
|
|
5
5
|
import { Tradename } from "@lookiero/sty-sp-tradename";
|
|
6
6
|
import { PricingProjection } from "../../../../../../projection/pricing/pricing";
|
|
7
7
|
import { Price } from "../../../../components/atoms/price/Price";
|
|
@@ -19,7 +19,7 @@ const Row: FC<RowProps> = ({ action = false, text, level = 3, children }) => {
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<View style={style.row}>
|
|
22
|
-
<Text
|
|
22
|
+
<Text level={level} variant={action ? "action" : "body"}>
|
|
23
23
|
{text}
|
|
24
24
|
</Text>
|
|
25
25
|
{children}
|
package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FC, useCallback, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { Text } from "@lookiero/aurora";
|
|
4
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
4
|
import { Country } from "@lookiero/sty-psp-locale";
|
|
5
|
+
import { Text } from "@lookiero/sty-psp-ui";
|
|
6
6
|
import { RenderItemFunction, Tabs, useScreenSize } from "@lookiero/sty-psp-ui";
|
|
7
7
|
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
8
8
|
import {
|