@lookiero/checkout 0.3.11 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +3 -3
- package/dist/src/ExpoRoot.js +4 -1
- package/dist/src/infrastructure/ui/Root.d.ts +1 -0
- package/dist/src/infrastructure/ui/Root.js +2 -2
- package/dist/src/infrastructure/ui/components/layouts/banner/Banner.d.ts +7 -0
- package/dist/src/infrastructure/ui/components/layouts/banner/Banner.js +8 -0
- package/dist/src/infrastructure/ui/components/layouts/banner/Banner.style.d.ts +12 -0
- package/dist/src/infrastructure/ui/components/layouts/banner/Banner.style.js +15 -0
- package/dist/src/infrastructure/ui/i18n/i18n.d.ts +2 -1
- package/dist/src/infrastructure/ui/i18n/i18n.js +1 -0
- package/dist/src/infrastructure/ui/routing/Routing.d.ts +1 -0
- package/dist/src/infrastructure/ui/routing/Routing.js +2 -2
- package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +1 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +10 -3
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +3 -0
- package/dist/src/infrastructure/ui/views/checkout/components/{CheckoutSuccessModal.js → checkoutSuccessModal/CheckoutSuccessModal.js} +2 -2
- package/dist/src/infrastructure/ui/views/checkout/components/{CheckoutSuccessModal.style.js → checkoutSuccessModal/CheckoutSuccessModal.style.js} +1 -1
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +9 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +5 -5
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -11
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +4 -12
- package/package.json +3 -3
- /package/dist/src/infrastructure/ui/views/checkout/components/{CheckoutSuccessModal.d.ts → checkoutSuccessModal/CheckoutSuccessModal.d.ts} +0 -0
- /package/dist/src/infrastructure/ui/views/checkout/components/{CheckoutSuccessModal.style.d.ts → checkoutSuccessModal/CheckoutSuccessModal.style.d.ts} +0 -0
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@lookiero/data-sources": "^0.3",
|
|
47
47
|
"@lookiero/event": "^0.3",
|
|
48
48
|
"@lookiero/locale": "^0.3",
|
|
49
|
-
"@lookiero/payments-front": "^0.16.
|
|
49
|
+
"@lookiero/payments-front": "^0.16.5",
|
|
50
50
|
"apollo-boost": "0.4.4",
|
|
51
51
|
"graphql": "14.5.8",
|
|
52
52
|
"graphql-tag": "2.12.6",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@lookiero/data-sources": "^0.3",
|
|
67
67
|
"@lookiero/event": "^0.3",
|
|
68
68
|
"@lookiero/locale": "^0.3",
|
|
69
|
-
"@lookiero/payments-front": "^0.16.
|
|
69
|
+
"@lookiero/payments-front": "^0.16.5",
|
|
70
70
|
"@pact-foundation/pact": "^10.1.4",
|
|
71
71
|
"@pact-foundation/pact-node": "^10.17.6",
|
|
72
72
|
"@testing-library/react": "^13.4.0",
|
package/dist/src/ExpoRoot.js
CHANGED
|
@@ -19,6 +19,9 @@ const authToken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwOTUxNjAsImV4
|
|
|
19
19
|
const translationsUrl = Platform.OS !== "web" ? "https://web2.ps.dev.aws.lookiero.es/checkout/i18n" : __DEV__ ? "/local-to-i18n" : "/i18n";
|
|
20
20
|
const translationsApiKey = "f2AfMGaPCZGVbAFWz_OV4GWhBDG_NbZJ";
|
|
21
21
|
const translations = (locale) => `${translationsUrl}/${locale}?key=${translationsApiKey}&no-folding=true`;
|
|
22
|
+
const useRedirect = () => ({
|
|
23
|
+
returnUrl: "https://web2.dev.aws.lookiero.es/user/",
|
|
24
|
+
});
|
|
22
25
|
setPaymentsBridge({
|
|
23
26
|
getToken: () => Promise.resolve(authToken),
|
|
24
27
|
stripeKey: "pk_test_6dwdUfkUm7AaUH3oSje9H0kk",
|
|
@@ -88,7 +91,7 @@ const ExpoRoot = () => {
|
|
|
88
91
|
React.createElement(Aurora, { useStack: false },
|
|
89
92
|
isAccessible === false && React.createElement(Text, { heading: true }, "Checkout is not accessible!"),
|
|
90
93
|
React.createElement(Router, null,
|
|
91
|
-
React.createElement(Root, { basePath: "", customerId: "cf7c641f-0e5c-4850-ae07-276747edfd0b", locale: "es", onNotAccessible: onNotAccessible }))),
|
|
94
|
+
React.createElement(Root, { basePath: "", customerId: "cf7c641f-0e5c-4850-ae07-276747edfd0b", locale: "es", useRedirect: useRedirect, onNotAccessible: onNotAccessible }))),
|
|
92
95
|
React.createElement(StatusBar, null))) : null;
|
|
93
96
|
};
|
|
94
97
|
export { ExpoRoot };
|
|
@@ -17,6 +17,7 @@ interface RootProps {
|
|
|
17
17
|
readonly locale?: string;
|
|
18
18
|
readonly customerId: string | undefined;
|
|
19
19
|
readonly onNotAccessible: () => void;
|
|
20
|
+
readonly useRedirect: () => Record<string, string>;
|
|
20
21
|
}
|
|
21
22
|
declare const root: RootFunction;
|
|
22
23
|
export type { RootProps };
|
|
@@ -3,10 +3,10 @@ import { Platform } from "react-native";
|
|
|
3
3
|
import { Routing } from "./routing/Routing";
|
|
4
4
|
const root = ({ Messaging, I18n, Notifications, authToken, development }) =>
|
|
5
5
|
// eslint-disable-next-line react/display-name, react/prop-types
|
|
6
|
-
({ basePath, locale = "en", customerId, onNotAccessible }) => {
|
|
6
|
+
({ basePath, locale = "en", customerId, onNotAccessible, useRedirect }) => {
|
|
7
7
|
const handleOnI18nError = useCallback(() => void 0, []);
|
|
8
8
|
return (React.createElement(Messaging, { includeReactQueryDevTools: Platform.OS === "web" },
|
|
9
9
|
React.createElement(Notifications, { includeReactQueryDevTools: Platform.OS === "web" },
|
|
10
|
-
React.createElement(Routing, { I18n: I18n, authToken: authToken, basePath: basePath, customerId: customerId, locale: locale, onI18nError: development ? undefined : handleOnI18nError, onNotAccessible: onNotAccessible }))));
|
|
10
|
+
React.createElement(Routing, { I18n: I18n, authToken: authToken, basePath: basePath, customerId: customerId, locale: locale, useRedirect: useRedirect, onI18nError: development ? undefined : handleOnI18nError, onNotAccessible: onNotAccessible }))));
|
|
11
11
|
};
|
|
12
12
|
export { root };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
import { style } from "./Banner.style";
|
|
5
|
+
const Banner = ({ children, text }) => (React.createElement(View, { style: style.container },
|
|
6
|
+
React.createElement(Text, { level: 2, style: style.text, detail: true }, text),
|
|
7
|
+
children));
|
|
8
|
+
export { Banner };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "../../../theme/theme";
|
|
3
|
+
const { colorInfo, spaceM, spaceL } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
alignItems: "center",
|
|
7
|
+
backgroundColor: colorInfo,
|
|
8
|
+
paddingHorizontal: spaceL,
|
|
9
|
+
paddingVertical: spaceM,
|
|
10
|
+
},
|
|
11
|
+
text: {
|
|
12
|
+
textAlign: "center",
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
export { style };
|
|
@@ -55,6 +55,7 @@ declare enum I18nMessages {
|
|
|
55
55
|
CHECKOUT_TOAST_ERROR = "checkout.toast_error",
|
|
56
56
|
CHECKOUT_SUCCESS_MODAL_TITLE = "checkout.success_modal_title",
|
|
57
57
|
CHECKOUT_SUCCESS_MODAL_DESCRIPTION = "checkout.success_modal_description",
|
|
58
|
-
CHECKOUT_SUCCESS_MODAL_BUTTON = "checkout.success_modal_button"
|
|
58
|
+
CHECKOUT_SUCCESS_MODAL_BUTTON = "checkout.success_modal_button",
|
|
59
|
+
CHECKOUT_DELIVERY_BANNER = "checkout.delivery_banner"
|
|
59
60
|
}
|
|
60
61
|
export { I18nMessages, COLOR_I18N_PREFIX, RETURN_QUESTIONS_PREFIX, RETURN_QUESTIONS_FEEDBACK_PREFIX };
|
|
@@ -57,5 +57,6 @@ var I18nMessages;
|
|
|
57
57
|
I18nMessages["CHECKOUT_SUCCESS_MODAL_TITLE"] = "checkout.success_modal_title";
|
|
58
58
|
I18nMessages["CHECKOUT_SUCCESS_MODAL_DESCRIPTION"] = "checkout.success_modal_description";
|
|
59
59
|
I18nMessages["CHECKOUT_SUCCESS_MODAL_BUTTON"] = "checkout.success_modal_button";
|
|
60
|
+
I18nMessages["CHECKOUT_DELIVERY_BANNER"] = "checkout.delivery_banner";
|
|
60
61
|
})(I18nMessages || (I18nMessages = {}));
|
|
61
62
|
export { I18nMessages, COLOR_I18N_PREFIX, RETURN_QUESTIONS_PREFIX, RETURN_QUESTIONS_FEEDBACK_PREFIX };
|
|
@@ -8,6 +8,7 @@ interface RoutingProps {
|
|
|
8
8
|
readonly authToken: string;
|
|
9
9
|
readonly onNotAccessible: () => void;
|
|
10
10
|
readonly onI18nError?: (err: Error) => void;
|
|
11
|
+
readonly useRedirect: () => Record<string, string>;
|
|
11
12
|
}
|
|
12
13
|
declare const Routing: FC<RoutingProps>;
|
|
13
14
|
export { Routing };
|
|
@@ -10,7 +10,7 @@ const Intro = lazy(() => import("../views/intro/Intro").then((module) => ({ defa
|
|
|
10
10
|
const Item = lazy(() => import("../views/item/Item").then((module) => ({ default: module.Item })));
|
|
11
11
|
const Summary = lazy(() => import("../views/summary/Summary").then((module) => ({ default: module.Summary })));
|
|
12
12
|
const Checkout = lazy(() => import("../views/checkout/Checkout").then((module) => ({ default: module.Checkout })));
|
|
13
|
-
const Routing = ({ basePath = "", customerId, locale, I18n, authToken, onI18nError, onNotAccessible, }) => {
|
|
13
|
+
const Routing = ({ basePath = "", customerId, locale, I18n, authToken, onI18nError, onNotAccessible, useRedirect, }) => {
|
|
14
14
|
const routes = useRoutes([
|
|
15
15
|
{
|
|
16
16
|
path: "",
|
|
@@ -44,7 +44,7 @@ const Routing = ({ basePath = "", customerId, locale, I18n, authToken, onI18nErr
|
|
|
44
44
|
{
|
|
45
45
|
path: Routes.CHECKOUT,
|
|
46
46
|
element: (React.createElement(Suspense, { fallback: React.createElement(Spinner, null) },
|
|
47
|
-
React.createElement(Checkout, { authToken: authToken, customerId: customerId }))),
|
|
47
|
+
React.createElement(Checkout, { authToken: authToken, customerId: customerId, useRedirect: useRedirect }))),
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
path: "*",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
2
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
3
3
|
import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
|
|
4
|
-
import { CheckoutStatus, PaymentFlow } from "@lookiero/payments-front";
|
|
4
|
+
import { CheckoutStatus, PaymentFlow, PaymentInstrumentSelect, PaymentMethod, Section, } from "@lookiero/payments-front";
|
|
5
5
|
import React, { useCallback, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { View } from "react-native";
|
|
7
7
|
import { useNavigate } from "react-router-native";
|
|
@@ -21,9 +21,11 @@ import { useBasePath } from "../../routing/useBasePath";
|
|
|
21
21
|
import { ProductVariant } from "../item/components/productVariant/ProductVariant";
|
|
22
22
|
import { Pricing } from "../summary/components/pricing/Pricing";
|
|
23
23
|
import { style } from "./Checkout.style";
|
|
24
|
-
import { CheckoutSuccessModal } from "./components/CheckoutSuccessModal";
|
|
25
|
-
|
|
24
|
+
import { CheckoutSuccessModal } from "./components/checkoutSuccessModal/CheckoutSuccessModal";
|
|
25
|
+
import { DeliveryBanner } from "./components/deliveryBanner/DeliveryBanner";
|
|
26
|
+
const Checkout = ({ customerId, authToken, useRedirect }) => {
|
|
26
27
|
const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_TITLE });
|
|
28
|
+
const paymentInstrumentSelectRef = useRef(null);
|
|
27
29
|
const paymentFlowRef = useRef(null);
|
|
28
30
|
const [checkout, checkoutStatus] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
|
|
29
31
|
const [pricing, pricingStatus] = useViewPricingByCheckoutId({ checkoutId: checkout?.id });
|
|
@@ -35,6 +37,7 @@ const Checkout = ({ customerId, authToken }) => {
|
|
|
35
37
|
const [processingCheckout, setProcessingCheckout] = useState(false);
|
|
36
38
|
const navigate = useNavigate();
|
|
37
39
|
const basePath = useBasePath();
|
|
40
|
+
const { returnUrl } = useRedirect();
|
|
38
41
|
const handleOnSubmitCheckout = useCallback(() => {
|
|
39
42
|
console.log("onSubmit checkout");
|
|
40
43
|
if (!paymentFlowRef.current) {
|
|
@@ -65,6 +68,7 @@ const Checkout = ({ customerId, authToken }) => {
|
|
|
65
68
|
}, [createNotification, markAsPaid, paymentFlowPayload]);
|
|
66
69
|
const handleOnSuccessModalDismiss = useCallback(() => navigate(`${basePath}/${Routes.FEEDBACK}`), [basePath, navigate]);
|
|
67
70
|
const checkoutItemsKept = useMemo(() => checkout?.items.filter((checkoutItem) => checkoutItem.status === CheckoutItemStatus.KEPT || checkoutItem.status === CheckoutItemStatus.REPLACED), [checkout?.items]);
|
|
71
|
+
const hasReplacedCheckoutItem = useMemo(() => checkout?.items.some((checkoutItem) => checkoutItem.status === CheckoutItemStatus.REPLACED), [checkout?.items]);
|
|
68
72
|
const dependenciesLoadedStatuses = [QueryStatus.ERROR, QueryStatus.SUCCESS];
|
|
69
73
|
const dependenciesLoaded = dependenciesLoadedStatuses.includes(checkoutStatus) && dependenciesLoadedStatuses.includes(pricingStatus);
|
|
70
74
|
if (!dependenciesLoaded)
|
|
@@ -73,6 +77,9 @@ const Checkout = ({ customerId, authToken }) => {
|
|
|
73
77
|
React.createElement(CheckoutSuccessModal, { visible: markAsPaidStatus === CommandStatus.SUCCESS, onDismiss: handleOnSuccessModalDismiss }),
|
|
74
78
|
React.createElement(SafeAreaScrollView, null,
|
|
75
79
|
React.createElement(Body, { style: { column: style.bodyColumn } },
|
|
80
|
+
hasReplacedCheckoutItem && (React.createElement(View, { style: style.deliveryBannerContainer },
|
|
81
|
+
React.createElement(DeliveryBanner, null))),
|
|
82
|
+
React.createElement(PaymentInstrumentSelect, { ref: paymentInstrumentSelectRef, beforeRedirect: returnUrl ? () => Promise.resolve(returnUrl) : undefined, hasError: false, hidePaymentMethods: [PaymentMethod.GOOGLE_PAY], section: Section.BOX_CHECKOUT }),
|
|
76
83
|
React.createElement(Text, { level: 3, style: style.title, heading: true }, titleText),
|
|
77
84
|
checkoutItemsKept?.map((checkoutItem) => (React.createElement(View, { key: checkoutItem.id, style: style.checkoutItemKept, testID: "checkout-items-kept" },
|
|
78
85
|
React.createElement(ProductVariant, { brand: checkoutItem.productVariant.brand, color: checkoutItem.productVariant.color, media: checkoutItem.productVariant.media, name: checkoutItem.productVariant.name, price: checkoutItem.price, size: checkoutItem.productVariant.size, status: checkoutItem.status })))),
|
|
@@ -3,8 +3,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
|
|
|
3
3
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { View } from "react-native";
|
|
6
|
-
import { Modal } from "
|
|
7
|
-
import { I18nMessages } from "
|
|
6
|
+
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
7
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
8
8
|
import { style } from "./CheckoutSuccessModal.style";
|
|
9
9
|
const CheckoutSuccessModal = ({ visible, onDismiss }) => {
|
|
10
10
|
const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_TITLE });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Banner } from "../../../../components/layouts/banner/Banner";
|
|
4
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
5
|
+
const DeliveryBanner = () => {
|
|
6
|
+
const deliveryBannerText = useI18nMessage({ id: I18nMessages.CHECKOUT_DELIVERY_BANNER }) || "";
|
|
7
|
+
return React.createElement(Banner, { text: deliveryBannerText });
|
|
8
|
+
};
|
|
9
|
+
export { DeliveryBanner };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
2
|
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { Pressable
|
|
4
|
+
import { Pressable } from "react-native";
|
|
5
5
|
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
6
|
+
import { Banner } from "../../../../components/layouts/banner/Banner";
|
|
6
7
|
import { I18nMessages } from "../../../../i18n/i18n";
|
|
7
8
|
import { style } from "./CustomerDecissionBanner.style";
|
|
8
9
|
const i18nMessageForCheckoutItemStatus = {
|
|
@@ -11,11 +12,10 @@ const i18nMessageForCheckoutItemStatus = {
|
|
|
11
12
|
[CheckoutItemStatus.RETURNED]: I18nMessages.ITEM_BANNER_CUSTOMER_RETURNED_DECISSION,
|
|
12
13
|
};
|
|
13
14
|
const CustomerDecissionBanner = ({ checkoutItemStatus, onPress }) => {
|
|
14
|
-
const decissionText = useI18nMessage({ id: i18nMessageForCheckoutItemStatus[checkoutItemStatus] });
|
|
15
|
+
const decissionText = useI18nMessage({ id: i18nMessageForCheckoutItemStatus[checkoutItemStatus] }) || "";
|
|
15
16
|
const bannerButtonText = useI18nMessage({ id: I18nMessages.ITEM_BANNER_BUTTON });
|
|
16
|
-
return (React.createElement(
|
|
17
|
-
React.createElement(
|
|
18
|
-
React.createElement(Pressable, { onPress: onPress },
|
|
17
|
+
return (React.createElement(Banner, { text: decissionText },
|
|
18
|
+
React.createElement(Pressable, { style: style.button, onPress: onPress },
|
|
19
19
|
React.createElement(Text, { level: 2, style: style.buttonText, detail: true }, bannerButtonText))));
|
|
20
20
|
};
|
|
21
21
|
export { CustomerDecissionBanner };
|
package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
declare const style: {
|
|
2
|
+
button: {
|
|
3
|
+
marginTop: number;
|
|
4
|
+
};
|
|
2
5
|
buttonText: {
|
|
3
6
|
textDecorationLine: "underline";
|
|
4
7
|
};
|
|
5
|
-
container: {
|
|
6
|
-
alignItems: "center";
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
paddingBottom: number;
|
|
9
|
-
paddingHorizontal: number;
|
|
10
|
-
paddingTop: number;
|
|
11
|
-
};
|
|
12
|
-
decissionText: {
|
|
13
|
-
marginBottom: number;
|
|
14
|
-
textAlign: "center";
|
|
15
|
-
};
|
|
16
8
|
};
|
|
17
9
|
export { style };
|
package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { StyleSheet } from "react-native";
|
|
2
2
|
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const {
|
|
3
|
+
const { spaceM } = theme();
|
|
4
4
|
const style = StyleSheet.create({
|
|
5
|
+
button: {
|
|
6
|
+
marginTop: spaceM,
|
|
7
|
+
},
|
|
5
8
|
buttonText: {
|
|
6
9
|
textDecorationLine: "underline",
|
|
7
10
|
},
|
|
8
|
-
container: {
|
|
9
|
-
alignItems: "center",
|
|
10
|
-
backgroundColor: colorInfo,
|
|
11
|
-
paddingBottom: spaceL,
|
|
12
|
-
paddingHorizontal: spaceL,
|
|
13
|
-
paddingTop: spaceM,
|
|
14
|
-
},
|
|
15
|
-
decissionText: {
|
|
16
|
-
marginBottom: spaceM,
|
|
17
|
-
textAlign: "center",
|
|
18
|
-
},
|
|
19
11
|
});
|
|
20
12
|
export { style };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lookiero/checkout",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@lookiero/data-sources": "^0.3",
|
|
47
47
|
"@lookiero/event": "^0.3",
|
|
48
48
|
"@lookiero/locale": "^0.3",
|
|
49
|
-
"@lookiero/payments-front": "^0.16.
|
|
49
|
+
"@lookiero/payments-front": "^0.16.5",
|
|
50
50
|
"apollo-boost": "0.4.4",
|
|
51
51
|
"graphql": "14.5.8",
|
|
52
52
|
"graphql-tag": "2.12.6",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@lookiero/data-sources": "^0.3",
|
|
67
67
|
"@lookiero/event": "^0.3",
|
|
68
68
|
"@lookiero/locale": "^0.3",
|
|
69
|
-
"@lookiero/payments-front": "^0.16.
|
|
69
|
+
"@lookiero/payments-front": "^0.16.5",
|
|
70
70
|
"@pact-foundation/pact": "^10.1.4",
|
|
71
71
|
"@pact-foundation/pact-node": "^10.17.6",
|
|
72
72
|
"@testing-library/react": "^13.4.0",
|
|
File without changes
|