@lookiero/checkout 0.4.5-beta.1 → 0.4.5-beta.2
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/infrastructure/ui/views/item/Item.js +2 -2
- package/dist/shared/ui/components/atoms/input/Input.style.d.ts +0 -3
- package/dist/shared/ui/components/atoms/input/Input.style.js +3 -3
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.d.ts +3 -0
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.js +1 -0
- package/package.json +1 -1
|
@@ -145,7 +145,7 @@ const Item = ({ customerId }) => {
|
|
|
145
145
|
React.createElement(ProductVariantDescription, { brand: brand, color: color, name: name, price: price, size: productVariantSelected.size }),
|
|
146
146
|
checkoutItem.status === CheckoutItemStatus.RETURNED && (React.createElement(View, { style: style.feedbackContainer },
|
|
147
147
|
React.createElement(ReturnQuestionsFeedback, { returnQuestions: returnQuestions || [], onEditFeedback: handleOnEditFeedback })))))),
|
|
148
|
-
|
|
149
|
-
React.createElement(
|
|
148
|
+
React.createElement(ReturnQuestionsForm, { checkoutItemPrice: checkoutItem.price, productVariant: checkoutItem.productVariant, returnQuestions: returnQuestions || [], visible: returnQuestionsVisible, onClose: handleOnHideReturnQuestions, onSubmit: handleOnSubmit }),
|
|
149
|
+
!customerDecissionMade && (React.createElement(ItemActions, { keepButtonLoading: keepCheckoutItemStatus === CommandStatus.LOADING, productVariantSelected: productVariantSelected, productVariants: bookedProductsVariants?.productVariants || [], returnButtonLoading: returnCheckoutItemStatus === CommandStatus.LOADING, sizeSelectorDisabled: replaceCheckoutItemStatus === CommandStatus.LOADING, onKeep: handleOnKeep, onLayout: handleOnStickyLayout, onReplace: handleOnReplace, onReturn: handleOnReturn, onSizeSelectorPress: handleOnShowSizeWithoutStockModal }))));
|
|
150
150
|
};
|
|
151
151
|
export { Item };
|
|
@@ -8,12 +8,9 @@ declare const style: {
|
|
|
8
8
|
fontFamily: string;
|
|
9
9
|
fontSize: number;
|
|
10
10
|
letterSpacing: number;
|
|
11
|
-
outlineStyle: string;
|
|
12
11
|
paddingBottom: number;
|
|
13
12
|
paddingHorizontal: number;
|
|
14
13
|
paddingTop: number;
|
|
15
|
-
textOverflow: string;
|
|
16
|
-
whiteSpace: string;
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
export { style, borderSize, paddingVertical };
|
|
@@ -10,12 +10,12 @@ const style = StyleSheet.create({
|
|
|
10
10
|
fontFamily: fontMap.Body,
|
|
11
11
|
fontSize: fontBodySize3,
|
|
12
12
|
letterSpacing: fontBodyLetterSpacing3,
|
|
13
|
-
outlineStyle: "none",
|
|
13
|
+
// outlineStyle: "none",
|
|
14
14
|
paddingBottom: paddingVertical,
|
|
15
15
|
paddingHorizontal: spaceM,
|
|
16
16
|
paddingTop: paddingVertical,
|
|
17
|
-
textOverflow: "ellipsis",
|
|
18
|
-
whiteSpace: "nowrap",
|
|
17
|
+
// textOverflow: "ellipsis",
|
|
18
|
+
// whiteSpace: "nowrap",
|
|
19
19
|
...Platform.select({
|
|
20
20
|
web: {
|
|
21
21
|
lineHeight: fontBodyHeight3,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StyleSheet } from "react-native";
|
|
2
2
|
declare const style: StyleSheet.NamedStyles<any> | StyleSheet.NamedStyles<{
|
|
3
3
|
sticky: {
|
|
4
|
+
zIndex: number;
|
|
4
5
|
backgroundColor: string;
|
|
5
6
|
bottom: number;
|
|
6
7
|
elevation: number;
|
|
@@ -14,6 +15,7 @@ declare const style: StyleSheet.NamedStyles<any> | StyleSheet.NamedStyles<{
|
|
|
14
15
|
shadowRadius: number;
|
|
15
16
|
width: string;
|
|
16
17
|
} | {
|
|
18
|
+
zIndex: number;
|
|
17
19
|
position: "sticky";
|
|
18
20
|
backgroundColor: string;
|
|
19
21
|
bottom: number;
|
|
@@ -28,6 +30,7 @@ declare const style: StyleSheet.NamedStyles<any> | StyleSheet.NamedStyles<{
|
|
|
28
30
|
shadowRadius: number;
|
|
29
31
|
width: string;
|
|
30
32
|
} | {
|
|
33
|
+
zIndex: number;
|
|
31
34
|
position: "absolute";
|
|
32
35
|
backgroundColor: string;
|
|
33
36
|
bottom: number;
|