@lookiero/checkout 10.0.0-beta.1 → 10.0.0-beta.3

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 (229) hide show
  1. package/dist/index.js +2 -1
  2. package/dist/src/ExpoRoot.js +3 -2
  3. package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +2 -1
  4. package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +3 -2
  5. package/dist/src/infrastructure/ui/components/atoms/price/Price.js +3 -0
  6. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +7 -3
  7. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +18 -2
  8. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +14 -2
  9. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +2 -1
  10. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +2 -1
  11. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +4 -3
  12. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.d.ts +0 -1
  13. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.js +0 -1
  14. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +3 -3
  15. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +3 -2
  16. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +4 -4
  17. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +3 -2
  18. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +3 -2
  19. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +2 -1
  20. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +5 -4
  21. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +6 -6
  22. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +4 -3
  23. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.d.ts +0 -1
  24. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +0 -1
  25. package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +2 -2
  26. package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +2 -2
  27. package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +2 -2
  28. package/dist/src/infrastructure/ui/hooks/useCheckoutFlow.js +10 -18
  29. package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.d.ts +1 -1
  30. package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.js +55 -22
  31. package/dist/src/infrastructure/ui/i18n/i18n.d.ts +2 -1
  32. package/dist/src/infrastructure/ui/i18n/i18n.js +2 -1
  33. package/dist/src/infrastructure/ui/test/render.js +4 -2
  34. package/dist/src/infrastructure/ui/views/App.js +2 -1
  35. package/dist/src/infrastructure/ui/views/checkout/Checkout.js +3 -3
  36. package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +16 -16
  37. package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +2 -2
  38. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +2 -2
  39. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +3 -3
  40. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +11 -5
  41. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +4 -4
  42. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +3 -3
  43. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +1 -0
  44. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +2 -1
  45. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +2 -2
  46. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +4 -4
  47. package/dist/src/infrastructure/ui/views/return/components/price/Price.js +3 -0
  48. package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +3 -3
  49. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.js +4 -4
  50. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +1 -0
  51. package/dist/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.js +2 -1
  52. package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +4 -4
  53. package/dist/src/infrastructure/ui/views/summary/Summary.js +4 -4
  54. package/dist/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.js +3 -2
  55. package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +8 -6
  56. package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +5 -5
  57. package/dist/src/version.d.ts +1 -1
  58. package/dist/src/version.js +1 -1
  59. package/index.ts +2 -1
  60. package/jest.config.js +2 -2
  61. package/package.json +7 -8
  62. package/src/ExpoRoot.tsx +3 -2
  63. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.ts +3 -2
  64. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +3 -2
  65. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/__snapshots__/FiveItemsDiscountBanner.test.tsx.snap +1 -1
  66. package/src/infrastructure/ui/components/atoms/price/Price.tsx +3 -0
  67. package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +3 -3
  68. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.ts +25 -4
  69. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +13 -7
  70. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +2 -1
  71. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +2 -1
  72. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.style.ts +0 -1
  73. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +4 -2
  74. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +3 -3
  75. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +3 -2
  76. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +5 -5
  77. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +3 -2
  78. package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +3 -2
  79. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +2 -1
  80. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +6 -5
  81. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +7 -7
  82. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.ts +0 -1
  83. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +4 -2
  84. package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +2 -2
  85. package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +1 -1
  86. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +2 -2
  87. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +1 -1
  88. package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +2 -2
  89. package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +1 -1
  90. package/src/infrastructure/ui/hooks/useCheckoutFlow.test.tsx +302 -0
  91. package/src/infrastructure/ui/hooks/useCheckoutFlow.tsx +11 -20
  92. package/src/infrastructure/ui/i18n/i18n.ts +3 -1
  93. package/src/infrastructure/ui/test/render.tsx +6 -3
  94. package/src/infrastructure/ui/views/App.tsx +2 -1
  95. package/src/infrastructure/ui/views/checkout/Checkout.test.tsx +51 -40
  96. package/src/infrastructure/ui/views/checkout/Checkout.tsx +3 -3
  97. package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.tsx +2 -2
  98. package/src/infrastructure/ui/views/checkout/components/deliveryBanner/__snapshots__/DeliveryBanner.test.tsx.snap +1 -1
  99. package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +2 -2
  100. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +3 -3
  101. package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +3 -3
  102. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +11 -5
  103. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +160 -88
  104. package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +4 -4
  105. package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +244 -128
  106. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.ts +2 -1
  107. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +3 -3
  108. package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +10 -8
  109. package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +30 -30
  110. package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +2 -2
  111. package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +1 -1
  112. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +4 -4
  113. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +75 -41
  114. package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +105 -102
  115. package/src/infrastructure/ui/views/return/components/price/Price.tsx +3 -0
  116. package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +3 -3
  117. package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +3 -3
  118. package/src/infrastructure/ui/views/return/components/productVariantPreview/__snapshots__/ProductVariantPreview.test.tsx.snap +1 -1
  119. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.style.ts +2 -1
  120. package/src/infrastructure/ui/views/return/components/returnQuestionsForm/ReturnQuestionsForm.tsx +4 -4
  121. package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +4 -4
  122. package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +30 -30
  123. package/src/infrastructure/ui/views/summary/Summary.tsx +4 -4
  124. package/src/infrastructure/ui/views/summary/components/collapsiblePricing/CollapsiblePricing.tsx +3 -2
  125. package/src/infrastructure/ui/views/summary/components/collapsiblePricing/__snapshots__/CollapsiblePricing.test.tsx.snap +154 -82
  126. package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +8 -6
  127. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +5 -5
  128. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +62 -62
  129. package/dist/pact.config.d.ts +0 -21
  130. package/dist/pact.config.js +0 -16
  131. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts +0 -1
  132. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +0 -55
  133. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts +0 -1
  134. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +0 -116
  135. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts +0 -1
  136. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +0 -56
  137. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts +0 -1
  138. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +0 -51
  139. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts +0 -1
  140. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +0 -51
  141. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts +0 -1
  142. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +0 -51
  143. package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -13
  144. package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -19
  145. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts +0 -1
  146. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +0 -56
  147. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts +0 -1
  148. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +0 -57
  149. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts +0 -1
  150. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +0 -55
  151. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts +0 -1
  152. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +0 -120
  153. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts +0 -1
  154. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +0 -55
  155. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts +0 -1
  156. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +0 -55
  157. package/dist/src/infrastructure/ui/components/layouts/layout/Layout.d.ts +0 -22
  158. package/dist/src/infrastructure/ui/components/layouts/layout/Layout.js +0 -1
  159. package/dist/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.d.ts +0 -7
  160. package/dist/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.js +0 -5
  161. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.d.ts +0 -7
  162. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.js +0 -6
  163. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.d.ts +0 -4
  164. package/dist/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.js +0 -20
  165. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +0 -4
  166. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.js +0 -43
  167. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +0 -12
  168. package/dist/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js +0 -14
  169. package/dist/src/infrastructure/ui/components/templates/footer/Footer.d.ts +0 -3
  170. package/dist/src/infrastructure/ui/components/templates/footer/Footer.js +0 -13
  171. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.d.ts +0 -7
  172. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +0 -21
  173. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.style.d.ts +0 -8
  174. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.style.js +0 -12
  175. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +0 -12
  176. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.js +0 -64
  177. package/dist/src/infrastructure/ui/i18n/fetchTranslations.d.ts +0 -10
  178. package/dist/src/infrastructure/ui/i18n/fetchTranslations.js +0 -17
  179. package/dist/src/infrastructure/ui/i18n/translationEndpoint.d.ts +0 -20
  180. package/dist/src/infrastructure/ui/i18n/translationEndpoint.js +0 -27
  181. package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -10
  182. package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -27
  183. package/dist/src/infrastructure/ui/views/App.style.d.ts +0 -6
  184. package/dist/src/infrastructure/ui/views/App.style.js +0 -8
  185. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -7
  186. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -11
  187. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -12
  188. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -64
  189. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -12
  190. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -16
  191. package/dist/src/infrastructure/ui/views/return/Return.style.d.ts +0 -40
  192. package/dist/src/infrastructure/ui/views/return/Return.style.js +0 -44
  193. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -14
  194. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -28
  195. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -7
  196. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -11
  197. package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -26
  198. package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -21
  199. package/dist/src/projection/shared/country.d.ts +0 -14
  200. package/dist/src/projection/shared/country.js +0 -15
  201. package/dist/src/projection/shared/customer.d.ts +0 -9
  202. package/dist/src/projection/shared/customer.js +0 -1
  203. package/dist/src/projection/shared/locale.d.ts +0 -12
  204. package/dist/src/projection/shared/locale.js +0 -13
  205. package/dist/src/projection/shared/order.d.ts +0 -6
  206. package/dist/src/projection/shared/order.js +0 -1
  207. package/dist/src/projection/shared/price.d.ts +0 -11
  208. package/dist/src/projection/shared/price.js +0 -1
  209. package/dist/src/projection/shared/size.d.ts +0 -21
  210. package/dist/src/projection/shared/size.js +0 -4
  211. package/dist/src/projection/shared/subscription.d.ts +0 -2
  212. package/dist/src/projection/shared/subscription.js +0 -1
  213. package/dist/src/shared/ui/components/atoms/aspectRatioView/AspectRatioView.d.ts +0 -15
  214. package/dist/src/shared/ui/components/atoms/aspectRatioView/AspectRatioView.js +0 -16
  215. package/dist/src/shared/ui/components/atoms/error/Error.d.ts +0 -11
  216. package/dist/src/shared/ui/components/atoms/error/Error.js +0 -6
  217. package/dist/src/shared/ui/components/atoms/field/Field.d.ts +0 -14
  218. package/dist/src/shared/ui/components/atoms/field/Field.js +0 -29
  219. package/dist/src/shared/ui/components/atoms/field/Field.style.d.ts +0 -16
  220. package/dist/src/shared/ui/components/atoms/field/Field.style.js +0 -19
  221. package/dist/src/shared/ui/components/molecules/inputField/InputField.d.ts +0 -24
  222. package/dist/src/shared/ui/components/molecules/inputField/InputField.js +0 -28
  223. package/dist/src/shared/ui/components/molecules/inputField/InputField.style.d.ts +0 -29
  224. package/dist/src/shared/ui/components/molecules/inputField/InputField.style.js +0 -37
  225. package/src/infrastructure/ui/components/templates/footer/Footer.test.tsx +0 -15
  226. package/src/infrastructure/ui/components/templates/footer/Footer.tsx +0 -19
  227. package/src/infrastructure/ui/components/templates/footer/__snapshots__/Footer.test.tsx.snap +0 -1127
  228. package/src/infrastructure/ui/hooks/useCheckoutFlow.test.ts +0 -297
  229. package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.test.tsx +0 -126
@@ -16,7 +16,7 @@ import { useTrackPressPricing } from "../../../tracking/useTrackPressPricing";
16
16
  import { FiveItemsDiscountBanner } from "../../components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner";
17
17
  import { Body } from "../../components/layouts/body/Body";
18
18
  import { useStaticInfo } from "../../hooks/useStaticInfo";
19
- import { I18nMessages } from "../../i18n/i18n";
19
+ import { DOMAIN, I18nMessages } from "../../i18n/i18n";
20
20
  import { Routes } from "../../routing/routes";
21
21
  import { style } from "./Summary.style";
22
22
  import { CollapsiblePricing } from "./components/collapsiblePricing/CollapsiblePricing";
@@ -32,9 +32,9 @@ const Summary: FC<SummaryProps> = ({ layout: Layout, children }) => {
32
32
  } = useStaticInfo();
33
33
  const [pricingCollapsed, setPricingCollapsed] = useState(true);
34
34
  const [pricingHeight, setPricingHeight] = useState(0);
35
- const titleText = useI18nMessage({ id: I18nMessages.SUMMARY_TITLE });
36
- const descriptionText = useI18nMessage({ id: I18nMessages.SUMMARY_DESCRIPTION });
37
- const submitButtonText = useI18nMessage({ id: I18nMessages.SUMMARY_SUBMIT_BUTTON });
35
+ const titleText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_TITLE });
36
+ const descriptionText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_DESCRIPTION });
37
+ const submitButtonText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_SUBMIT_BUTTON });
38
38
  const { screen } = useDevice();
39
39
 
40
40
  const [checkout] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
@@ -5,7 +5,7 @@ import { Button, Icon, Text } from "@lookiero/aurora";
5
5
  import { useI18nMessage } from "@lookiero/i18n-react";
6
6
  import { PricingProjection } from "../../../../../../projection/pricing/pricing";
7
7
  import { Price } from "../../../../components/atoms/price/Price";
8
- import { I18nMessages } from "../../../../i18n/i18n";
8
+ import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
9
9
  import { Pricing } from "../pricing/Pricing";
10
10
  import { style } from "./CollapsiblePricing.style";
11
11
 
@@ -29,8 +29,9 @@ const CollapsiblePricing: FC<CollapsiblePricingProps> = ({
29
29
  }) => {
30
30
  const { pendingToPay } = pricing;
31
31
 
32
- const totalText = useI18nMessage({ id: I18nMessages.SUMMARY_TOTAL });
32
+ const totalText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_TOTAL });
33
33
  const totalCheckoutItemsKeptText = useI18nMessage({
34
+ domain: DOMAIN,
34
35
  id: I18nMessages.SUMMARY_TOTAL_ITEMS_KEPT,
35
36
  values: { items: totalCheckoutItemsKept.toString() },
36
37
  });
@@ -130,7 +130,7 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
130
130
  "paddingBottom": 0,
131
131
  "paddingLeft": 0,
132
132
  "paddingRight": 0,
133
- "paddingTop": 4,
133
+ "paddingTop": 0,
134
134
  },
135
135
  ]
136
136
  }
@@ -224,19 +224,12 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
224
224
  "right": 0,
225
225
  "top": 0,
226
226
  },
227
- "alignContent": "center",
228
227
  "alignSelf": "flex-start",
229
- "backgroundColor": "#0C0A0A",
230
- "borderRadius": 9999,
231
228
  "container": {
232
229
  "overflow": "hidden",
233
230
  },
234
231
  "height": 48,
235
- "justifyContent": "center",
236
232
  "overflow": "hidden",
237
- "paddingLeft": 24,
238
- "paddingRight": 24,
239
- "position": "relative",
240
233
  "pressed": {
241
234
  "bottom": 0,
242
235
  "left": 0,
@@ -253,55 +246,98 @@ exports[`Pricing component matches the snapshot for collaped pricing: collapsed
253
246
  }
254
247
  testID="submit-checkout-collpased-button"
255
248
  >
256
- <View
257
- collapsable={false}
258
- pointerEvents="none"
259
- style={
260
- {
261
- "backgroundColor": "#716A6B",
262
- "height": 48,
263
- "left": 0,
264
- "opacity": 0.7,
265
- "position": "absolute",
266
- "top": 0,
267
- "width": "0%",
268
- }
249
+ <ViewManagerAdapter_ExpoLinearGradient
250
+ colors={
251
+ [
252
+ 4278979082,
253
+ 4278979082,
254
+ ]
255
+ }
256
+ endPoint={
257
+ [
258
+ 1,
259
+ 0,
260
+ ]
261
+ }
262
+ startPoint={
263
+ [
264
+ 0,
265
+ 1,
266
+ ]
269
267
  }
270
- />
271
- <View
272
268
  style={
273
269
  [
274
270
  {
275
- "alignItems": "center",
276
- "flexDirection": "row",
271
+ "alignContent": "center",
272
+ "height": 64,
277
273
  "justifyContent": "center",
274
+ "overflow": "hidden",
275
+ "paddingLeft": 24,
276
+ "paddingRight": 24,
277
+ "position": "relative",
278
+ },
279
+ {},
280
+ undefined,
281
+ {
282
+ "height": 48,
283
+ },
284
+ false,
285
+ {
286
+ "borderRadius": 9999,
278
287
  },
279
288
  ]
280
289
  }
281
290
  >
282
- <Text
283
- allowFontScaling={false}
284
- selectable={false}
291
+ <View
292
+ collapsable={false}
293
+ pointerEvents="none"
294
+ style={
295
+ {
296
+ "backgroundColor": "#716A6B",
297
+ "height": 48,
298
+ "left": 0,
299
+ "opacity": 0.7,
300
+ "position": "absolute",
301
+ "top": 0,
302
+ "width": "0%",
303
+ }
304
+ }
305
+ />
306
+ <View
285
307
  style={
286
308
  [
287
309
  {
288
- "color": "#FFFFFF",
289
- "fontFamily": "AreaNormal-Extrabold",
290
- "fontSize": 15,
291
- "letterSpacing": -0.2,
292
- "lineHeight": 20,
293
- "paddingBottom": 0,
294
- "paddingLeft": 0,
295
- "paddingRight": 0,
296
- "paddingTop": 2,
297
- "textAlign": "center",
310
+ "alignItems": "center",
311
+ "flexDirection": "row",
312
+ "justifyContent": "center",
298
313
  },
299
314
  ]
300
315
  }
301
316
  >
302
- summary.submit_button
303
- </Text>
304
- </View>
317
+ <Text
318
+ allowFontScaling={false}
319
+ selectable={false}
320
+ style={
321
+ [
322
+ {
323
+ "color": "#FFFFFF",
324
+ "fontFamily": "AreaNormal-Extrabold",
325
+ "fontSize": 15,
326
+ "letterSpacing": -0.2,
327
+ "lineHeight": 20,
328
+ "paddingBottom": 0,
329
+ "paddingLeft": 0,
330
+ "paddingRight": 0,
331
+ "paddingTop": 0,
332
+ "textAlign": "center",
333
+ },
334
+ ]
335
+ }
336
+ >
337
+ summary.submit_button
338
+ </Text>
339
+ </View>
340
+ </ViewManagerAdapter_ExpoLinearGradient>
305
341
  </View>
306
342
  </View>
307
343
  </View>
@@ -438,7 +474,7 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
438
474
  "paddingBottom": 0,
439
475
  "paddingLeft": 0,
440
476
  "paddingRight": 0,
441
- "paddingTop": 4,
477
+ "paddingTop": 0,
442
478
  },
443
479
  ]
444
480
  }
@@ -532,19 +568,12 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
532
568
  "right": 0,
533
569
  "top": 0,
534
570
  },
535
- "alignContent": "center",
536
571
  "alignSelf": "flex-start",
537
- "backgroundColor": "#0C0A0A",
538
- "borderRadius": 9999,
539
572
  "container": {
540
573
  "overflow": "hidden",
541
574
  },
542
575
  "height": 48,
543
- "justifyContent": "center",
544
576
  "overflow": "hidden",
545
- "paddingLeft": 24,
546
- "paddingRight": 24,
547
- "position": "relative",
548
577
  "pressed": {
549
578
  "bottom": 0,
550
579
  "left": 0,
@@ -561,55 +590,98 @@ exports[`Pricing component matches the snapshot for non-collaped pricing: non-co
561
590
  }
562
591
  testID="submit-checkout-collpased-button"
563
592
  >
564
- <View
565
- collapsable={false}
566
- pointerEvents="none"
567
- style={
568
- {
569
- "backgroundColor": "#716A6B",
570
- "height": 48,
571
- "left": 0,
572
- "opacity": 0.7,
573
- "position": "absolute",
574
- "top": 0,
575
- "width": "0%",
576
- }
593
+ <ViewManagerAdapter_ExpoLinearGradient
594
+ colors={
595
+ [
596
+ 4278979082,
597
+ 4278979082,
598
+ ]
599
+ }
600
+ endPoint={
601
+ [
602
+ 1,
603
+ 0,
604
+ ]
605
+ }
606
+ startPoint={
607
+ [
608
+ 0,
609
+ 1,
610
+ ]
577
611
  }
578
- />
579
- <View
580
612
  style={
581
613
  [
582
614
  {
583
- "alignItems": "center",
584
- "flexDirection": "row",
615
+ "alignContent": "center",
616
+ "height": 64,
585
617
  "justifyContent": "center",
618
+ "overflow": "hidden",
619
+ "paddingLeft": 24,
620
+ "paddingRight": 24,
621
+ "position": "relative",
622
+ },
623
+ {},
624
+ undefined,
625
+ {
626
+ "height": 48,
627
+ },
628
+ false,
629
+ {
630
+ "borderRadius": 9999,
586
631
  },
587
632
  ]
588
633
  }
589
634
  >
590
- <Text
591
- allowFontScaling={false}
592
- selectable={false}
635
+ <View
636
+ collapsable={false}
637
+ pointerEvents="none"
638
+ style={
639
+ {
640
+ "backgroundColor": "#716A6B",
641
+ "height": 48,
642
+ "left": 0,
643
+ "opacity": 0.7,
644
+ "position": "absolute",
645
+ "top": 0,
646
+ "width": "0%",
647
+ }
648
+ }
649
+ />
650
+ <View
593
651
  style={
594
652
  [
595
653
  {
596
- "color": "#FFFFFF",
597
- "fontFamily": "AreaNormal-Extrabold",
598
- "fontSize": 15,
599
- "letterSpacing": -0.2,
600
- "lineHeight": 20,
601
- "paddingBottom": 0,
602
- "paddingLeft": 0,
603
- "paddingRight": 0,
604
- "paddingTop": 2,
605
- "textAlign": "center",
654
+ "alignItems": "center",
655
+ "flexDirection": "row",
656
+ "justifyContent": "center",
606
657
  },
607
658
  ]
608
659
  }
609
660
  >
610
- summary.submit_button
611
- </Text>
612
- </View>
661
+ <Text
662
+ allowFontScaling={false}
663
+ selectable={false}
664
+ style={
665
+ [
666
+ {
667
+ "color": "#FFFFFF",
668
+ "fontFamily": "AreaNormal-Extrabold",
669
+ "fontSize": 15,
670
+ "letterSpacing": -0.2,
671
+ "lineHeight": 20,
672
+ "paddingBottom": 0,
673
+ "paddingLeft": 0,
674
+ "paddingRight": 0,
675
+ "paddingTop": 0,
676
+ "textAlign": "center",
677
+ },
678
+ ]
679
+ }
680
+ >
681
+ summary.submit_button
682
+ </Text>
683
+ </View>
684
+ </ViewManagerAdapter_ExpoLinearGradient>
613
685
  </View>
614
686
  </View>
615
687
  </View>
@@ -4,7 +4,7 @@ import { Text } from "@lookiero/aurora";
4
4
  import { useI18nMessage } from "@lookiero/i18n-react";
5
5
  import { PricingProjection } from "../../../../../../projection/pricing/pricing";
6
6
  import { Price } from "../../../../components/atoms/price/Price";
7
- import { I18nMessages } from "../../../../i18n/i18n";
7
+ import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
8
8
  import { style } from "./Pricing.style";
9
9
 
10
10
  interface RowProps {
@@ -30,19 +30,21 @@ interface PricingProps {
30
30
  const Pricing: FC<PricingProps> = ({ pricing, totalCheckoutItemsKept }) => {
31
31
  const { pendingToPay, subtotal, balanceDiscount, discount, discountPercentage = 0, service } = pricing;
32
32
 
33
- const totalText = useI18nMessage({ id: I18nMessages.SUMMARY_TOTAL });
33
+ const totalText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_TOTAL });
34
34
  const totalCheckoutItemsKeptText = useI18nMessage({
35
+ domain: DOMAIN,
35
36
  id: I18nMessages.SUMMARY_TOTAL_ITEMS_KEPT,
36
37
  values: { items: totalCheckoutItemsKept.toString() },
37
38
  });
38
- const subtotalText = useI18nMessage({ id: I18nMessages.SUMMARY_SUBTOTAL });
39
- const freeText = useI18nMessage({ id: I18nMessages.SUMMARY_FREE });
39
+ const subtotalText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_SUBTOTAL });
40
+ const freeText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_FREE });
40
41
  const discountText = useI18nMessage({
42
+ domain: DOMAIN,
41
43
  id: I18nMessages.SUMMARY_DISCOUNT,
42
44
  values: { discount: discountPercentage?.toString() },
43
45
  });
44
- const creditText = useI18nMessage({ id: I18nMessages.SUMMARY_CREDIT });
45
- const feeText = useI18nMessage({ id: I18nMessages.SUMMARY_FEE });
46
+ const creditText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_CREDIT });
47
+ const feeText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_FEE });
46
48
 
47
49
  return (
48
50
  <View>
@@ -10,7 +10,7 @@ import {
10
10
  CheckoutItemProjection,
11
11
  } from "../../../../../../projection/checkoutItem/checkoutItem";
12
12
  import { PriceProjection } from "../../../../../../projection/price/price";
13
- import { I18nMessages } from "../../../../i18n/i18n";
13
+ import { DOMAIN, I18nMessages } from "../../../../i18n/i18n";
14
14
  import { ProductVariant, ProductVariantStyle } from "../../../shared/components/productVariant/ProductVariant";
15
15
  import { style } from "./CheckoutItemsTabs.style";
16
16
 
@@ -65,11 +65,11 @@ const CheckoutItemsTabs: FC<CheckoutItemsTabsProps> = ({
65
65
  onChanged,
66
66
  }) => {
67
67
  const { screen } = useDevice();
68
- const keepTabText = useI18nMessage({ id: I18nMessages.SUMMARY_KEEP_TAB });
69
- const returnTabText = useI18nMessage({ id: I18nMessages.SUMMARY_RETURN_TAB });
68
+ const keepTabText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_KEEP_TAB });
69
+ const returnTabText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_RETURN_TAB });
70
70
 
71
- const keepEmptyText = useI18nMessage({ id: I18nMessages.SUMMARY_KEEP_EMPTY });
72
- const returnEmptyText = useI18nMessage({ id: I18nMessages.SUMMARY_RETURN_EMPTY });
71
+ const keepEmptyText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_KEEP_EMPTY });
72
+ const returnEmptyText = useI18nMessage({ domain: DOMAIN, id: I18nMessages.SUMMARY_RETURN_EMPTY });
73
73
 
74
74
  const handleOnPressItem = useCallback((checkoutItemId: string) => onPressItem(checkoutItemId), [onPressItem]);
75
75
 
@@ -120,7 +120,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
120
120
  "paddingBottom": 0,
121
121
  "paddingLeft": 0,
122
122
  "paddingRight": 0,
123
- "paddingTop": 2,
123
+ "paddingTop": 0,
124
124
  },
125
125
  ]
126
126
  }
@@ -184,7 +184,7 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
184
184
  "paddingBottom": 0,
185
185
  "paddingLeft": 0,
186
186
  "paddingRight": 0,
187
- "paddingTop": 2,
187
+ "paddingTop": 0,
188
188
  },
189
189
  ]
190
190
  }
@@ -428,20 +428,20 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
428
428
  }
429
429
  }
430
430
  >
431
- <View
431
+ <ViewManagerAdapter_ExpoLinearGradient
432
432
  colors={
433
433
  [
434
- "rgba(255, 255, 255, 0)",
435
- "#DAD8D8",
436
- "#DAD8D8",
437
- "rgba(255, 255, 255, 0)",
434
+ 16777215,
435
+ 4292532440,
436
+ 4292532440,
437
+ 16777215,
438
438
  ]
439
439
  }
440
- end={
441
- {
442
- "x": 1,
443
- "y": 0,
444
- }
440
+ endPoint={
441
+ [
442
+ 1,
443
+ 0,
444
+ ]
445
445
  }
446
446
  locations={
447
447
  [
@@ -451,11 +451,11 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
451
451
  1,
452
452
  ]
453
453
  }
454
- start={
455
- {
456
- "x": 0,
457
- "y": 0,
458
- }
454
+ startPoint={
455
+ [
456
+ 0,
457
+ 0,
458
+ ]
459
459
  }
460
460
  style={
461
461
  {
@@ -750,20 +750,20 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
750
750
  }
751
751
  }
752
752
  >
753
- <View
753
+ <ViewManagerAdapter_ExpoLinearGradient
754
754
  colors={
755
755
  [
756
- "rgba(255, 255, 255, 0)",
757
- "#DAD8D8",
758
- "#DAD8D8",
759
- "rgba(255, 255, 255, 0)",
756
+ 16777215,
757
+ 4292532440,
758
+ 4292532440,
759
+ 16777215,
760
760
  ]
761
761
  }
762
- end={
763
- {
764
- "x": 1,
765
- "y": 0,
766
- }
762
+ endPoint={
763
+ [
764
+ 1,
765
+ 0,
766
+ ]
767
767
  }
768
768
  locations={
769
769
  [
@@ -773,11 +773,11 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
773
773
  1,
774
774
  ]
775
775
  }
776
- start={
777
- {
778
- "x": 0,
779
- "y": 0,
780
- }
776
+ startPoint={
777
+ [
778
+ 0,
779
+ 0,
780
+ ]
781
781
  }
782
782
  style={
783
783
  {
@@ -1122,20 +1122,20 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
1122
1122
  }
1123
1123
  }
1124
1124
  >
1125
- <View
1125
+ <ViewManagerAdapter_ExpoLinearGradient
1126
1126
  colors={
1127
1127
  [
1128
- "rgba(255, 255, 255, 0)",
1129
- "#DAD8D8",
1130
- "#DAD8D8",
1131
- "rgba(255, 255, 255, 0)",
1128
+ 16777215,
1129
+ 4292532440,
1130
+ 4292532440,
1131
+ 16777215,
1132
1132
  ]
1133
1133
  }
1134
- end={
1135
- {
1136
- "x": 1,
1137
- "y": 0,
1138
- }
1134
+ endPoint={
1135
+ [
1136
+ 1,
1137
+ 0,
1138
+ ]
1139
1139
  }
1140
1140
  locations={
1141
1141
  [
@@ -1145,11 +1145,11 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
1145
1145
  1,
1146
1146
  ]
1147
1147
  }
1148
- start={
1149
- {
1150
- "x": 0,
1151
- "y": 0,
1152
- }
1148
+ startPoint={
1149
+ [
1150
+ 0,
1151
+ 0,
1152
+ ]
1153
1153
  }
1154
1154
  style={
1155
1155
  {
@@ -1444,20 +1444,20 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
1444
1444
  }
1445
1445
  }
1446
1446
  >
1447
- <View
1447
+ <ViewManagerAdapter_ExpoLinearGradient
1448
1448
  colors={
1449
1449
  [
1450
- "rgba(255, 255, 255, 0)",
1451
- "#DAD8D8",
1452
- "#DAD8D8",
1453
- "rgba(255, 255, 255, 0)",
1450
+ 16777215,
1451
+ 4292532440,
1452
+ 4292532440,
1453
+ 16777215,
1454
1454
  ]
1455
1455
  }
1456
- end={
1457
- {
1458
- "x": 1,
1459
- "y": 0,
1460
- }
1456
+ endPoint={
1457
+ [
1458
+ 1,
1459
+ 0,
1460
+ ]
1461
1461
  }
1462
1462
  locations={
1463
1463
  [
@@ -1467,11 +1467,11 @@ exports[`CheckoutItemTabs component matches the snapshot 1`] = `
1467
1467
  1,
1468
1468
  ]
1469
1469
  }
1470
- start={
1471
- {
1472
- "x": 0,
1473
- "y": 0,
1474
- }
1470
+ startPoint={
1471
+ [
1472
+ 0,
1473
+ 0,
1474
+ ]
1475
1475
  }
1476
1476
  style={
1477
1477
  {
@@ -1,21 +0,0 @@
1
- import { V3MockServer } from "@pact-foundation/pact";
2
-
3
- interface StringObject {
4
- readonly [k: string]: string;
5
- }
6
- declare const DEFAULT_PACT_OPTIONS: StringObject;
7
- declare const AUTH_TOKEN =
8
- "eyJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6InBpY2tlcixwYWNrZXIiLCJzdWIiOiIxIiwiaWF0IjoxNjAyODQ4MzEyfQ.gCs2_vBcJsXt4EdreNSjDI8NWkOTQ5Cy4SwtrGnuJ44";
9
- declare const DEFAULT_REQUEST_HEADERS: StringObject;
10
- declare const DEFAULT_RESPONSE_HEADERS: StringObject;
11
- interface FromMockServerUrlToApiUrlFunction {
12
- (mockServer: V3MockServer): string;
13
- }
14
- declare const fromMockServerUrlToApiUrl: FromMockServerUrlToApiUrlFunction;
15
- export {
16
- fromMockServerUrlToApiUrl,
17
- AUTH_TOKEN,
18
- DEFAULT_PACT_OPTIONS,
19
- DEFAULT_REQUEST_HEADERS,
20
- DEFAULT_RESPONSE_HEADERS,
21
- };