@lookiero/checkout 8.19.0 → 8.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.detoxrc.js +55 -0
- package/app.json +15 -3
- package/babel.config.js +20 -0
- package/dist/fake-dependencies/@lookiero/payments-front/index.d.ts +21 -0
- package/dist/fake-dependencies/@lookiero/payments-front/index.js +20 -0
- package/dist/src/Expo.d.ts +1 -1
- package/dist/src/Expo.js +1 -0
- package/dist/src/ExpoRoot.js +13 -31
- package/dist/src/infrastructure/delivery/bootstrap.mock.d.ts +3 -0
- package/dist/src/infrastructure/delivery/bootstrap.mock.js +91 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +27 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +19 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.js +21 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +6 -0
- package/dist/src/infrastructure/projection/checkoutFeedback/checkoutFeedback.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutFeedback/checkoutFeedback.mock.js +5 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +15 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +43 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +103 -0
- package/dist/src/infrastructure/projection/feedback/feedback.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/feedback/feedback.mock.js +6 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +6 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +183 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +9 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.js +42 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +354 -0
- package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.js +11 -1
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +1 -1
- package/dist/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +2 -2
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +2 -1
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +1 -1
- package/dist/src/infrastructure/ui/views/summary/Summary.js +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/e2e/checkout.test.ts +160 -0
- package/e2e/jest.config.js +13 -0
- package/e2e/tsconfig.json +4 -0
- package/eas-hooks/eas-build-on-success.sh +45 -0
- package/eas-hooks/eas-build-pre-install.sh +39 -0
- package/eas.json +23 -0
- package/fake-dependencies/@lookiero/payments-front/index.tsx +40 -0
- package/fake-dependencies/@lookiero/user-tracking-front/index.js +3 -0
- package/metro.config.js +22 -0
- package/package.json +13 -2
- package/src/Expo.tsx +1 -0
- package/src/ExpoRoot.tsx +14 -31
- package/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.ts +2 -2
- package/src/infrastructure/ui/hooks/useSubmitCheckout.ts +20 -2
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +1 -1
- package/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.tsx +1 -2
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +3 -2
- package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +212 -254
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.tsx +1 -1
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +636 -762
- package/src/infrastructure/ui/views/summary/Summary.tsx +1 -1
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +1169 -1211
- package/tsconfig.json +8 -1
- package/webpack.config.js +8 -1
|
@@ -117,7 +117,7 @@ const Summary: FC<SummaryProps> = ({ layout: Layout, children }) => {
|
|
|
117
117
|
scrollView: style.scrollView,
|
|
118
118
|
}}
|
|
119
119
|
>
|
|
120
|
-
<ScrollView showsVerticalScrollIndicator={false}>
|
|
120
|
+
<ScrollView showsVerticalScrollIndicator={false} testID="summary-view">
|
|
121
121
|
{fiveItemsDiscount !== 0 && <FiveItemsDiscountBanner fiveItemsDiscount={fiveItemsDiscount} />}
|
|
122
122
|
|
|
123
123
|
<AuroraLayout
|