@lookiero/checkout 8.17.1-beta.1 → 8.19.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 (124) hide show
  1. package/cypress/support/interceptListReturnQuestionsByCheckoutItemId.ts +1 -1
  2. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +1 -1
  3. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.js +3 -1
  4. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.js +2 -1
  5. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +3 -3
  6. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +4 -3
  7. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +2 -1
  8. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +1 -0
  9. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +2 -1
  10. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +8 -6
  11. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.d.ts +2 -1
  12. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +2 -1
  13. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +2 -1
  14. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +2 -1
  15. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.d.ts +2 -1
  16. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.js +1 -0
  17. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.d.ts +2 -1
  18. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +5 -3
  19. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +4 -2
  20. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +2 -1
  21. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +2 -1
  22. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.d.ts +2 -1
  23. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +2 -1
  24. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +2 -1
  25. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +2 -1
  26. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +2 -1
  27. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +2 -1
  28. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +18 -9
  29. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
  30. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +1 -1
  31. package/dist/src/projection/returnQuestion/returnQuestion.d.ts +23 -16
  32. package/dist/src/projection/returnQuestion/returnQuestion.js +1 -11
  33. package/dist/src/version.d.ts +1 -1
  34. package/dist/src/version.js +1 -1
  35. package/package.json +4 -4
  36. package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.ts +1 -1
  37. package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.test.ts +4 -9
  38. package/src/infrastructure/projection/returnQuestion/returnQuestions.mock.ts +72 -117
  39. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.test.tsx +10 -12
  40. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.tsx +10 -8
  41. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.test.tsx +10 -9
  42. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.ts +2 -1
  43. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.test.tsx +7 -9
  44. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.tsx +3 -3
  45. package/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.ts +4 -3
  46. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.test.tsx +7 -13
  47. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.tsx +4 -2
  48. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.test.tsx +8 -14
  49. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +13 -7
  50. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +7 -5
  51. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.test.tsx +10 -14
  52. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +7 -5
  53. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.tsx +5 -3
  54. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.test.tsx +43 -36
  55. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +10 -7
  56. package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +11 -9
  57. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.test.tsx +8 -14
  58. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +6 -4
  59. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +6 -4
  60. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.test.tsx +23 -25
  61. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +5 -3
  62. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.test.tsx +9 -29
  63. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +7 -5
  64. package/src/infrastructure/ui/components/organisms/returnQuestions/util/__snapshots__/returnQuestionFeedback.test.ts.snap +5 -4
  65. package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.ts +32 -18
  66. package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +87 -66
  67. package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +2 -4
  68. package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +261 -198
  69. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +1 -1
  70. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +87 -66
  71. package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.test.ts +4 -12
  72. package/src/projection/returnQuestion/returnQuestion.constants.ts +10 -0
  73. package/src/projection/returnQuestion/returnQuestion.metadata.ts +17 -0
  74. package/src/projection/returnQuestion/returnQuestion.ts +42 -20
  75. package/src/projection/returnQuestion/returnQuestion.typeguard.ts +24 -0
  76. package/dist/pact.config.d.ts +0 -13
  77. package/dist/pact.config.js +0 -9
  78. package/dist/public/public/assets/adaptive-icon.png +0 -0
  79. package/dist/public/public/assets/favicon.png +0 -0
  80. package/dist/public/public/assets/icon.png +0 -0
  81. package/dist/public/public/assets/splash.png +0 -0
  82. package/dist/public/public/images/not-found.png +0 -0
  83. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +0 -3
  84. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +0 -27
  85. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts +0 -1
  86. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +0 -48
  87. package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +0 -19
  88. package/dist/src/infrastructure/projection/checkout/checkout.mock.js +0 -21
  89. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts +0 -1
  90. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +0 -109
  91. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts +0 -1
  92. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +0 -49
  93. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts +0 -1
  94. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +0 -44
  95. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts +0 -1
  96. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +0 -44
  97. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts +0 -1
  98. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +0 -44
  99. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +0 -3
  100. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +0 -6
  101. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts +0 -1
  102. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +0 -49
  103. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +0 -15
  104. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +0 -43
  105. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts +0 -1
  106. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +0 -50
  107. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +0 -3
  108. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +0 -103
  109. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts +0 -1
  110. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +0 -48
  111. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts +0 -1
  112. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +0 -109
  113. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +0 -6
  114. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +0 -183
  115. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts +0 -1
  116. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +0 -48
  117. package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +0 -9
  118. package/dist/src/infrastructure/projection/pricing/pricing.mock.js +0 -42
  119. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts +0 -1
  120. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +0 -48
  121. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +0 -3
  122. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +0 -400
  123. package/dist/src/infrastructure/ui/views/App.style.d.ts +0 -6
  124. package/dist/src/infrastructure/ui/views/App.style.js +0 -7
@@ -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
@@ -12,7 +12,7 @@ import { Segment } from "@lookiero/sty-psp-segment";
12
12
  import { Layout as UiLayout } from "@lookiero/sty-psp-ui";
13
13
  import { CheckoutProjection } from "../../../../../../projection/checkout/checkout";
14
14
  import { CheckoutItemProjection } from "../../../../../../projection/checkoutItem/checkoutItem";
15
- import { ReturnQuestionType } from "../../../../../../projection/returnQuestion/returnQuestion";
15
+ import { ReturnQuestionType } from "../../../../../../projection/returnQuestion/returnQuestion.constants";
16
16
  import { useReturnCheckoutItem } from "../../../../../domain/checkoutItem/react/useReturnCheckoutItem";
17
17
  import { useListReturnQuestionsByCheckoutItemId } from "../../../../../projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId";
18
18
  import { TrackingPage } from "../../../../../tracking/tracking";