ordering-ui-react-native 0.17.99-release → 0.18.0-release
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/package.json +1 -1
- package/themes/business/src/components/OrderDetails/OrderContentComponent.tsx +7 -6
- package/themes/original/src/components/AddressForm/index.tsx +2 -2
- package/themes/original/src/components/AddressForm/styles.tsx +1 -1
- package/themes/original/src/components/AddressList/styles.tsx +4 -4
- package/themes/original/src/components/BusinessBasicInformation/index.tsx +2 -2
- package/themes/original/src/components/BusinessBasicInformation/styles.tsx +1 -1
- package/themes/original/src/components/BusinessInformation/styles.tsx +2 -2
- package/themes/original/src/components/BusinessItemAccordion/index.tsx +4 -3
- package/themes/original/src/components/BusinessListingSearch/index.tsx +4 -5
- package/themes/original/src/components/BusinessListingSearch/styles.tsx +1 -1
- package/themes/original/src/components/BusinessProductsCategories/index.tsx +1 -1
- package/themes/original/src/components/BusinessProductsListing/index.tsx +31 -12
- package/themes/original/src/components/BusinessProductsListing/styles.tsx +2 -2
- package/themes/original/src/components/BusinessReviews/index.tsx +1 -1
- package/themes/original/src/components/BusinessesListing/Layout/Appointment/index.tsx +1 -1
- package/themes/original/src/components/BusinessesListing/Layout/Appointment/styles.tsx +5 -5
- package/themes/original/src/components/BusinessesListing/Layout/Original/FlatListBusinessListFooter.tsx +1 -1
- package/themes/original/src/components/BusinessesListing/Layout/Original/FlatListBusinessListHeader.tsx +7 -7
- package/themes/original/src/components/BusinessesListing/Layout/Original/styles.tsx +1 -1
- package/themes/original/src/components/CartStoresListing/styles.tsx +2 -2
- package/themes/original/src/components/Checkout/index.tsx +1 -1
- package/themes/original/src/components/Checkout/styles.tsx +17 -0
- package/themes/original/src/components/CitiesControl/styles.tsx +1 -1
- package/themes/original/src/components/Favorite/index.tsx +3 -4
- package/themes/original/src/components/Favorite/styles.tsx +0 -2
- package/themes/original/src/components/FloatingButton/styles.tsx +1 -1
- package/themes/original/src/components/GPSButton/index.tsx +1 -1
- package/themes/original/src/components/GiftCard/PurchaseGiftCard/styles.tsx +1 -1
- package/themes/original/src/components/GiftCard/RedeemGiftCard/styles.tsx +1 -1
- package/themes/original/src/components/GiftCard/SendGiftCard/styles.tsx +1 -1
- package/themes/original/src/components/HighestRatedBusinesses/index.tsx +1 -1
- package/themes/original/src/components/HighestRatedBusinesses/styles.tsx +1 -1
- package/themes/original/src/components/Home/index.tsx +1 -1
- package/themes/original/src/components/Messages/styles.tsx +1 -1
- package/themes/original/src/components/MultiCart/index.tsx +1 -1
- package/themes/original/src/components/MultiCheckout/index.tsx +4 -4
- package/themes/original/src/components/MultiOrdersDetails/index.tsx +1 -1
- package/themes/original/src/components/MyOrders/index.tsx +5 -5
- package/themes/original/src/components/NetworkError/styles.tsx +2 -2
- package/themes/original/src/components/Notifications/index.tsx +2 -4
- package/themes/original/src/components/Notifications/styles.tsx +0 -1
- package/themes/original/src/components/OrderDetails/OrderHistory.tsx +1 -1
- package/themes/original/src/components/OrderDetails/index.tsx +702 -663
- package/themes/original/src/components/OrderDetails/styles.tsx +24 -7
- package/themes/original/src/components/OrderProgress/styles.tsx +1 -1
- package/themes/original/src/components/OrdersOption/PreviousBusinessOrdered/styles.tsx +1 -1
- package/themes/original/src/components/OrdersOption/PreviousProductsOrdered/styles.tsx +1 -1
- package/themes/original/src/components/OrdersOption/index.tsx +1 -1
- package/themes/original/src/components/OrdersOption/styles.tsx +1 -1
- package/themes/original/src/components/ProductForm/ExtraOptions.tsx +56 -0
- package/themes/original/src/components/ProductForm/index.tsx +51 -146
- package/themes/original/src/components/ProductItemAccordion/index.tsx +5 -0
- package/themes/original/src/components/ProductOptionSubOption/index.tsx +1 -1
- package/themes/original/src/components/ProfessionalProfile/styles.tsx +3 -3
- package/themes/original/src/components/Promotions/index.tsx +4 -4
- package/themes/original/src/components/Promotions/styles.tsx +0 -2
- package/themes/original/src/components/ReviewDriver/styles.tsx +1 -1
- package/themes/original/src/components/ReviewOrder/styles.tsx +1 -1
- package/themes/original/src/components/ReviewProducts/styles.tsx +1 -1
- package/themes/original/src/components/ServiceForm/index.tsx +1 -1
- package/themes/original/src/components/ServiceForm/styles.tsx +4 -4
- package/themes/original/src/components/StripeElementsForm/index.tsx +1 -1
- package/themes/original/src/components/UpsellingProducts/UpsellingContent.tsx +170 -0
- package/themes/original/src/components/UpsellingProducts/UpsellingLayout.tsx +86 -0
- package/themes/original/src/components/UpsellingProducts/index.tsx +15 -199
- package/themes/original/src/components/UpsellingProducts/styles.tsx +19 -0
- package/themes/original/src/components/UserFormDetails/index.tsx +16 -3
- package/themes/original/src/components/UserProfile/index.tsx +1 -1
- package/themes/original/src/components/WalletTransactions/styles.tsx +1 -0
- package/themes/original/src/components/Wallets/index.tsx +1 -3
- package/themes/original/src/components/Wallets/styles.tsx +1 -0
- package/themes/original/src/components/shared/HeaderTitle.tsx +1 -1
- package/themes/original/src/components/shared/OModal.tsx +12 -14
- package/themes/original/src/layouts/Container.tsx +1 -1
|
@@ -56,7 +56,7 @@ const HighestRatedBusinessesUI = (props: HighestRatedBusinessesParams) => {
|
|
|
56
56
|
showsHorizontalScrollIndicator={false}
|
|
57
57
|
nestedScrollEnabled
|
|
58
58
|
horizontal
|
|
59
|
-
style={{ height: 300, paddingHorizontal:
|
|
59
|
+
style={{ height: 300, paddingHorizontal: 20 }}
|
|
60
60
|
>
|
|
61
61
|
{[
|
|
62
62
|
...Array(10).keys()
|
|
@@ -10,7 +10,7 @@ export const Header = styled.View`
|
|
|
10
10
|
background-color: ${(props: any) => props.theme.colors.white};
|
|
11
11
|
box-shadow: 0 2px 2px #0000001A;
|
|
12
12
|
padding-bottom: 10px;
|
|
13
|
-
padding-horizontal:
|
|
13
|
+
padding-horizontal: 10px;
|
|
14
14
|
`
|
|
15
15
|
|
|
16
16
|
export const TitleHeader = styled.View``
|
|
@@ -11,7 +11,7 @@ export const MultiCartUI = () => {
|
|
|
11
11
|
const theme = useTheme();
|
|
12
12
|
return (
|
|
13
13
|
<Container noPadding>
|
|
14
|
-
<ChContainer style={{ paddingHorizontal:
|
|
14
|
+
<ChContainer style={{ paddingHorizontal: 20 }}>
|
|
15
15
|
<ChSection>
|
|
16
16
|
<ChUserDetails>
|
|
17
17
|
<Placeholder Animation={Fade}>
|
|
@@ -73,12 +73,12 @@ const MultiCheckoutUI = (props: any) => {
|
|
|
73
73
|
const theme = useTheme();
|
|
74
74
|
const styles = StyleSheet.create({
|
|
75
75
|
pagePadding: {
|
|
76
|
-
paddingLeft:
|
|
77
|
-
paddingRight:
|
|
76
|
+
paddingLeft: 20,
|
|
77
|
+
paddingRight: 20
|
|
78
78
|
},
|
|
79
|
-
wrapperNavbar: { paddingHorizontal:
|
|
79
|
+
wrapperNavbar: { paddingHorizontal: 20 },
|
|
80
80
|
detailWrapper: {
|
|
81
|
-
paddingHorizontal:
|
|
81
|
+
paddingHorizontal: 20,
|
|
82
82
|
width: '100%'
|
|
83
83
|
},
|
|
84
84
|
})
|
|
@@ -93,7 +93,7 @@ export const MultiOrdersDetailsUI = (props: any) => {
|
|
|
93
93
|
}, [])
|
|
94
94
|
|
|
95
95
|
return (
|
|
96
|
-
<OrdersDetailsContainer keyboardShouldPersistTaps="handled" contentContainerStyle={{ paddingHorizontal:
|
|
96
|
+
<OrdersDetailsContainer keyboardShouldPersistTaps="handled" contentContainerStyle={{ paddingHorizontal: 20 }}>
|
|
97
97
|
<View style={{ flexDirection: 'row' }}>
|
|
98
98
|
<OButton
|
|
99
99
|
imgRightSrc={null}
|
|
@@ -87,7 +87,7 @@ export const MyOrders = (props: any) => {
|
|
|
87
87
|
display: 'flex',
|
|
88
88
|
flexDirection: 'row',
|
|
89
89
|
alignItems: 'center',
|
|
90
|
-
paddingHorizontal:
|
|
90
|
+
paddingHorizontal: 20,
|
|
91
91
|
},
|
|
92
92
|
...props.titleStyle
|
|
93
93
|
}}>
|
|
@@ -124,7 +124,7 @@ export const MyOrders = (props: any) => {
|
|
|
124
124
|
<ScrollView
|
|
125
125
|
horizontal
|
|
126
126
|
style={{ ...styles.container, borderBottomWidth: 1 }}
|
|
127
|
-
contentContainerStyle={{ paddingHorizontal: !!businessesSearchList ? 0 :
|
|
127
|
+
contentContainerStyle={{ paddingHorizontal: !!businessesSearchList ? 0 : 20 }}
|
|
128
128
|
showsHorizontalScrollIndicator={false}
|
|
129
129
|
scrollEventThrottle={16}
|
|
130
130
|
>
|
|
@@ -148,7 +148,7 @@ export const MyOrders = (props: any) => {
|
|
|
148
148
|
)}
|
|
149
149
|
{selectedOption === 'orders' && (
|
|
150
150
|
<>
|
|
151
|
-
<View style={{ paddingHorizontal:
|
|
151
|
+
<View style={{ paddingHorizontal: 20 }}>
|
|
152
152
|
<OrdersOption
|
|
153
153
|
{...props}
|
|
154
154
|
preOrders
|
|
@@ -158,7 +158,7 @@ export const MyOrders = (props: any) => {
|
|
|
158
158
|
refreshOrders={refreshOrders}
|
|
159
159
|
/>
|
|
160
160
|
</View>
|
|
161
|
-
<View style={{ paddingHorizontal:
|
|
161
|
+
<View style={{ paddingHorizontal: 20 }}>
|
|
162
162
|
<OrdersOption
|
|
163
163
|
{...props}
|
|
164
164
|
activeOrders
|
|
@@ -168,7 +168,7 @@ export const MyOrders = (props: any) => {
|
|
|
168
168
|
refreshOrders={refreshOrders}
|
|
169
169
|
/>
|
|
170
170
|
</View>
|
|
171
|
-
<View style={{ paddingHorizontal:
|
|
171
|
+
<View style={{ paddingHorizontal: 20 }}>
|
|
172
172
|
<OrdersOption
|
|
173
173
|
{...props}
|
|
174
174
|
ordersLength={ordersLength}
|
|
@@ -2,10 +2,10 @@ import styled from 'styled-components/native'
|
|
|
2
2
|
|
|
3
3
|
export const Container = styled.View`
|
|
4
4
|
flex: 1;
|
|
5
|
-
padding: 20px
|
|
5
|
+
padding: 20px;
|
|
6
6
|
`
|
|
7
7
|
export const ImageContainer = styled.View`
|
|
8
8
|
flex: 1;
|
|
9
9
|
align-items: center;
|
|
10
10
|
justify-content: center;
|
|
11
|
-
`
|
|
11
|
+
`
|
|
@@ -75,10 +75,8 @@ const NotificationsUI = (props: any) => {
|
|
|
75
75
|
titleAlign={'center'}
|
|
76
76
|
onActionLeft={goToBack}
|
|
77
77
|
showCall={false}
|
|
78
|
-
style={{
|
|
79
|
-
|
|
80
|
-
paddingVertical: 0,
|
|
81
|
-
}}
|
|
78
|
+
style={{ paddingVertical: 0 }}
|
|
79
|
+
btnStyle={{ paddingLeft: 0 }}
|
|
82
80
|
/>
|
|
83
81
|
{showCustomerPromotions && showNotifications && (
|
|
84
82
|
<>
|