@lookiero/checkout 8.17.1-beta.1 → 8.18.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.
Files changed (61) hide show
  1. package/dist/src/version.d.ts +1 -1
  2. package/dist/src/version.js +1 -1
  3. package/package.json +4 -4
  4. package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +87 -66
  5. package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +261 -198
  6. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +87 -66
  7. package/dist/pact.config.d.ts +0 -13
  8. package/dist/pact.config.js +0 -9
  9. package/dist/public/public/assets/adaptive-icon.png +0 -0
  10. package/dist/public/public/assets/favicon.png +0 -0
  11. package/dist/public/public/assets/icon.png +0 -0
  12. package/dist/public/public/assets/splash.png +0 -0
  13. package/dist/public/public/images/not-found.png +0 -0
  14. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +0 -3
  15. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +0 -27
  16. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts +0 -1
  17. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +0 -48
  18. package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +0 -19
  19. package/dist/src/infrastructure/projection/checkout/checkout.mock.js +0 -21
  20. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts +0 -1
  21. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +0 -109
  22. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts +0 -1
  23. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +0 -49
  24. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts +0 -1
  25. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +0 -44
  26. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts +0 -1
  27. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +0 -44
  28. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts +0 -1
  29. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +0 -44
  30. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +0 -3
  31. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +0 -6
  32. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts +0 -1
  33. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +0 -49
  34. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +0 -15
  35. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +0 -43
  36. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts +0 -1
  37. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +0 -50
  38. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +0 -3
  39. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +0 -103
  40. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts +0 -1
  41. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +0 -48
  42. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts +0 -1
  43. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +0 -109
  44. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +0 -6
  45. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +0 -183
  46. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts +0 -1
  47. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +0 -48
  48. package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +0 -9
  49. package/dist/src/infrastructure/projection/pricing/pricing.mock.js +0 -42
  50. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts +0 -1
  51. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +0 -48
  52. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +0 -3
  53. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +0 -400
  54. package/dist/src/infrastructure/ui/views/App.style.d.ts +0 -6
  55. package/dist/src/infrastructure/ui/views/App.style.js +0 -7
  56. package/dist/src/projection/returnQuestion/returnQuestion.constants.d.ts +0 -9
  57. package/dist/src/projection/returnQuestion/returnQuestion.constants.js +0 -10
  58. package/dist/src/projection/returnQuestion/returnQuestion.metadata.d.ts +0 -12
  59. package/dist/src/projection/returnQuestion/returnQuestion.metadata.js +0 -1
  60. package/dist/src/projection/returnQuestion/returnQuestion.typeguard.d.ts +0 -5
  61. package/dist/src/projection/returnQuestion/returnQuestion.typeguard.js +0 -10
@@ -68,67 +68,67 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
68
68
  }
69
69
  }
70
70
  >
71
- <RNGestureHandlerButton
71
+ <View
72
72
  collapsable={false}
73
- delayLongPress={600}
74
- enabled={true}
75
- exclusive={true}
76
- handlerTag={3}
77
- handlerType="NativeViewGestureHandler"
78
- onGestureEvent={[Function]}
79
- onGestureHandlerEvent={[Function]}
80
- onGestureHandlerStateChange={[Function]}
81
- onHandlerStateChange={[Function]}
82
- rippleColor={0}
83
- touchSoundDisabled={false}
73
+ jestAnimatedStyle={
74
+ {
75
+ "value": {
76
+ "transform": [
77
+ {
78
+ "translateX": 0,
79
+ },
80
+ ],
81
+ },
82
+ }
83
+ }
84
+ style={
85
+ {
86
+ "flex": 1,
87
+ "flexDirection": "row",
88
+ "height": "100%",
89
+ "transform": [
90
+ {
91
+ "translateX": 0,
92
+ },
93
+ ],
94
+ "width": 600,
95
+ }
96
+ }
97
+ testID="carousel-track"
84
98
  >
85
99
  <View
86
- accessible={true}
87
100
  collapsable={false}
88
- style={{}}
89
- >
90
- <View
91
- collapsable={false}
92
- jestAnimatedStyle={
93
- {
94
- "value": {
95
- "transform": [
96
- {
97
- "translateX": 0,
98
- },
99
- ],
100
- },
101
- }
101
+ jestAnimatedStyle={
102
+ {
103
+ "value": {},
102
104
  }
103
- style={
104
- {
105
- "flex": 1,
106
- "flexDirection": "row",
107
- "height": "100%",
108
- "transform": [
109
- {
110
- "translateX": 0,
111
- },
112
- ],
113
- "width": 600,
114
- }
105
+ }
106
+ style={
107
+ {
108
+ "flex": 1,
109
+ "width": 300,
115
110
  }
116
- testID="carousel-track"
111
+ }
112
+ testID="carousel-item"
113
+ >
114
+ <RNGestureHandlerButton
115
+ collapsable={false}
116
+ delayLongPress={600}
117
+ enabled={true}
118
+ exclusive={true}
119
+ handlerTag={5}
120
+ handlerType="NativeViewGestureHandler"
121
+ onGestureEvent={[Function]}
122
+ onGestureHandlerEvent={[Function]}
123
+ onGestureHandlerStateChange={[Function]}
124
+ onHandlerStateChange={[Function]}
125
+ rippleColor={0}
126
+ touchSoundDisabled={false}
117
127
  >
118
128
  <View
129
+ accessible={true}
119
130
  collapsable={false}
120
- jestAnimatedStyle={
121
- {
122
- "value": {},
123
- }
124
- }
125
- style={
126
- {
127
- "flex": 1,
128
- "width": 300,
129
- }
130
- }
131
- testID="carousel-item"
131
+ style={{}}
132
132
  >
133
133
  <View
134
134
  onLayout={[Function]}
@@ -274,20 +274,41 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
274
274
  </View>
275
275
  </View>
276
276
  </View>
277
+ </RNGestureHandlerButton>
278
+ </View>
279
+ <View
280
+ collapsable={false}
281
+ jestAnimatedStyle={
282
+ {
283
+ "value": {},
284
+ }
285
+ }
286
+ style={
287
+ {
288
+ "flex": 1,
289
+ "width": 300,
290
+ }
291
+ }
292
+ testID="carousel-item"
293
+ >
294
+ <RNGestureHandlerButton
295
+ collapsable={false}
296
+ delayLongPress={600}
297
+ enabled={true}
298
+ exclusive={true}
299
+ handlerTag={6}
300
+ handlerType="NativeViewGestureHandler"
301
+ onGestureEvent={[Function]}
302
+ onGestureHandlerEvent={[Function]}
303
+ onGestureHandlerStateChange={[Function]}
304
+ onHandlerStateChange={[Function]}
305
+ rippleColor={0}
306
+ touchSoundDisabled={false}
307
+ >
277
308
  <View
309
+ accessible={true}
278
310
  collapsable={false}
279
- jestAnimatedStyle={
280
- {
281
- "value": {},
282
- }
283
- }
284
- style={
285
- {
286
- "flex": 1,
287
- "width": 300,
288
- }
289
- }
290
- testID="carousel-item"
311
+ style={{}}
291
312
  >
292
313
  <View
293
314
  onLayout={[Function]}
@@ -433,9 +454,9 @@ exports[`ItemActions component matches the snapshot for a KEPT checkoutItem 1`]
433
454
  </View>
434
455
  </View>
435
456
  </View>
436
- </View>
457
+ </RNGestureHandlerButton>
437
458
  </View>
438
- </RNGestureHandlerButton>
459
+ </View>
439
460
  </View>
440
461
  </View>
441
462
  <View
@@ -771,67 +792,67 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
771
792
  }
772
793
  }
773
794
  >
774
- <RNGestureHandlerButton
795
+ <View
775
796
  collapsable={false}
776
- delayLongPress={600}
777
- enabled={true}
778
- exclusive={true}
779
- handlerTag={5}
780
- handlerType="NativeViewGestureHandler"
781
- onGestureEvent={[Function]}
782
- onGestureHandlerEvent={[Function]}
783
- onGestureHandlerStateChange={[Function]}
784
- onHandlerStateChange={[Function]}
785
- rippleColor={0}
786
- touchSoundDisabled={false}
797
+ jestAnimatedStyle={
798
+ {
799
+ "value": {
800
+ "transform": [
801
+ {
802
+ "translateX": 0,
803
+ },
804
+ ],
805
+ },
806
+ }
807
+ }
808
+ style={
809
+ {
810
+ "flex": 1,
811
+ "flexDirection": "row",
812
+ "height": "100%",
813
+ "transform": [
814
+ {
815
+ "translateX": 0,
816
+ },
817
+ ],
818
+ "width": 600,
819
+ }
820
+ }
821
+ testID="carousel-track"
787
822
  >
788
823
  <View
789
- accessible={true}
790
824
  collapsable={false}
791
- style={{}}
792
- >
793
- <View
794
- collapsable={false}
795
- jestAnimatedStyle={
796
- {
797
- "value": {
798
- "transform": [
799
- {
800
- "translateX": 0,
801
- },
802
- ],
803
- },
804
- }
825
+ jestAnimatedStyle={
826
+ {
827
+ "value": {},
805
828
  }
806
- style={
807
- {
808
- "flex": 1,
809
- "flexDirection": "row",
810
- "height": "100%",
811
- "transform": [
812
- {
813
- "translateX": 0,
814
- },
815
- ],
816
- "width": 600,
817
- }
829
+ }
830
+ style={
831
+ {
832
+ "flex": 1,
833
+ "width": 300,
818
834
  }
819
- testID="carousel-track"
835
+ }
836
+ testID="carousel-item"
837
+ >
838
+ <RNGestureHandlerButton
839
+ collapsable={false}
840
+ delayLongPress={600}
841
+ enabled={true}
842
+ exclusive={true}
843
+ handlerTag={8}
844
+ handlerType="NativeViewGestureHandler"
845
+ onGestureEvent={[Function]}
846
+ onGestureHandlerEvent={[Function]}
847
+ onGestureHandlerStateChange={[Function]}
848
+ onHandlerStateChange={[Function]}
849
+ rippleColor={0}
850
+ touchSoundDisabled={false}
820
851
  >
821
852
  <View
853
+ accessible={true}
822
854
  collapsable={false}
823
- jestAnimatedStyle={
824
- {
825
- "value": {},
826
- }
827
- }
828
- style={
829
- {
830
- "flex": 1,
831
- "width": 300,
832
- }
833
- }
834
- testID="carousel-item"
855
+ style={{}}
835
856
  >
836
857
  <View
837
858
  onLayout={[Function]}
@@ -977,20 +998,41 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
977
998
  </View>
978
999
  </View>
979
1000
  </View>
1001
+ </RNGestureHandlerButton>
1002
+ </View>
1003
+ <View
1004
+ collapsable={false}
1005
+ jestAnimatedStyle={
1006
+ {
1007
+ "value": {},
1008
+ }
1009
+ }
1010
+ style={
1011
+ {
1012
+ "flex": 1,
1013
+ "width": 300,
1014
+ }
1015
+ }
1016
+ testID="carousel-item"
1017
+ >
1018
+ <RNGestureHandlerButton
1019
+ collapsable={false}
1020
+ delayLongPress={600}
1021
+ enabled={true}
1022
+ exclusive={true}
1023
+ handlerTag={9}
1024
+ handlerType="NativeViewGestureHandler"
1025
+ onGestureEvent={[Function]}
1026
+ onGestureHandlerEvent={[Function]}
1027
+ onGestureHandlerStateChange={[Function]}
1028
+ onHandlerStateChange={[Function]}
1029
+ rippleColor={0}
1030
+ touchSoundDisabled={false}
1031
+ >
980
1032
  <View
1033
+ accessible={true}
981
1034
  collapsable={false}
982
- jestAnimatedStyle={
983
- {
984
- "value": {},
985
- }
986
- }
987
- style={
988
- {
989
- "flex": 1,
990
- "width": 300,
991
- }
992
- }
993
- testID="carousel-item"
1035
+ style={{}}
994
1036
  >
995
1037
  <View
996
1038
  onLayout={[Function]}
@@ -1136,9 +1178,9 @@ exports[`ItemActions component matches the snapshot for a REPLACED checkoutItem
1136
1178
  </View>
1137
1179
  </View>
1138
1180
  </View>
1139
- </View>
1181
+ </RNGestureHandlerButton>
1140
1182
  </View>
1141
- </RNGestureHandlerButton>
1183
+ </View>
1142
1184
  </View>
1143
1185
  </View>
1144
1186
  <View
@@ -1474,67 +1516,67 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1474
1516
  }
1475
1517
  }
1476
1518
  >
1477
- <RNGestureHandlerButton
1519
+ <View
1478
1520
  collapsable={false}
1479
- delayLongPress={600}
1480
- enabled={true}
1481
- exclusive={true}
1482
- handlerTag={1}
1483
- handlerType="NativeViewGestureHandler"
1484
- onGestureEvent={[Function]}
1485
- onGestureHandlerEvent={[Function]}
1486
- onGestureHandlerStateChange={[Function]}
1487
- onHandlerStateChange={[Function]}
1488
- rippleColor={0}
1489
- touchSoundDisabled={false}
1521
+ jestAnimatedStyle={
1522
+ {
1523
+ "value": {
1524
+ "transform": [
1525
+ {
1526
+ "translateX": 0,
1527
+ },
1528
+ ],
1529
+ },
1530
+ }
1531
+ }
1532
+ style={
1533
+ {
1534
+ "flex": 1,
1535
+ "flexDirection": "row",
1536
+ "height": "100%",
1537
+ "transform": [
1538
+ {
1539
+ "translateX": 0,
1540
+ },
1541
+ ],
1542
+ "width": 600,
1543
+ }
1544
+ }
1545
+ testID="carousel-track"
1490
1546
  >
1491
1547
  <View
1492
- accessible={true}
1493
1548
  collapsable={false}
1494
- style={{}}
1495
- >
1496
- <View
1497
- collapsable={false}
1498
- jestAnimatedStyle={
1499
- {
1500
- "value": {
1501
- "transform": [
1502
- {
1503
- "translateX": 0,
1504
- },
1505
- ],
1506
- },
1507
- }
1549
+ jestAnimatedStyle={
1550
+ {
1551
+ "value": {},
1508
1552
  }
1509
- style={
1510
- {
1511
- "flex": 1,
1512
- "flexDirection": "row",
1513
- "height": "100%",
1514
- "transform": [
1515
- {
1516
- "translateX": 0,
1517
- },
1518
- ],
1519
- "width": 600,
1520
- }
1553
+ }
1554
+ style={
1555
+ {
1556
+ "flex": 1,
1557
+ "width": 300,
1521
1558
  }
1522
- testID="carousel-track"
1559
+ }
1560
+ testID="carousel-item"
1561
+ >
1562
+ <RNGestureHandlerButton
1563
+ collapsable={false}
1564
+ delayLongPress={600}
1565
+ enabled={true}
1566
+ exclusive={true}
1567
+ handlerTag={2}
1568
+ handlerType="NativeViewGestureHandler"
1569
+ onGestureEvent={[Function]}
1570
+ onGestureHandlerEvent={[Function]}
1571
+ onGestureHandlerStateChange={[Function]}
1572
+ onHandlerStateChange={[Function]}
1573
+ rippleColor={0}
1574
+ touchSoundDisabled={false}
1523
1575
  >
1524
1576
  <View
1577
+ accessible={true}
1525
1578
  collapsable={false}
1526
- jestAnimatedStyle={
1527
- {
1528
- "value": {},
1529
- }
1530
- }
1531
- style={
1532
- {
1533
- "flex": 1,
1534
- "width": 300,
1535
- }
1536
- }
1537
- testID="carousel-item"
1579
+ style={{}}
1538
1580
  >
1539
1581
  <View
1540
1582
  onLayout={[Function]}
@@ -1680,20 +1722,41 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1680
1722
  </View>
1681
1723
  </View>
1682
1724
  </View>
1725
+ </RNGestureHandlerButton>
1726
+ </View>
1727
+ <View
1728
+ collapsable={false}
1729
+ jestAnimatedStyle={
1730
+ {
1731
+ "value": {},
1732
+ }
1733
+ }
1734
+ style={
1735
+ {
1736
+ "flex": 1,
1737
+ "width": 300,
1738
+ }
1739
+ }
1740
+ testID="carousel-item"
1741
+ >
1742
+ <RNGestureHandlerButton
1743
+ collapsable={false}
1744
+ delayLongPress={600}
1745
+ enabled={true}
1746
+ exclusive={true}
1747
+ handlerTag={3}
1748
+ handlerType="NativeViewGestureHandler"
1749
+ onGestureEvent={[Function]}
1750
+ onGestureHandlerEvent={[Function]}
1751
+ onGestureHandlerStateChange={[Function]}
1752
+ onHandlerStateChange={[Function]}
1753
+ rippleColor={0}
1754
+ touchSoundDisabled={false}
1755
+ >
1683
1756
  <View
1757
+ accessible={true}
1684
1758
  collapsable={false}
1685
- jestAnimatedStyle={
1686
- {
1687
- "value": {},
1688
- }
1689
- }
1690
- style={
1691
- {
1692
- "flex": 1,
1693
- "width": 300,
1694
- }
1695
- }
1696
- testID="carousel-item"
1759
+ style={{}}
1697
1760
  >
1698
1761
  <View
1699
1762
  onLayout={[Function]}
@@ -1839,9 +1902,9 @@ exports[`ItemActions component matches the snapshot for an INITIAL checkoutItem
1839
1902
  </View>
1840
1903
  </View>
1841
1904
  </View>
1842
- </View>
1905
+ </RNGestureHandlerButton>
1843
1906
  </View>
1844
- </RNGestureHandlerButton>
1907
+ </View>
1845
1908
  </View>
1846
1909
  </View>
1847
1910
  <View