ordering-ui-react-native 0.14.58 → 0.14.59
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
CHANGED
|
@@ -350,7 +350,11 @@ const MomentOptionUI = (props: MomentOptionParams) => {
|
|
|
350
350
|
</OrderTimeWrapper>
|
|
351
351
|
)}
|
|
352
352
|
</View>
|
|
353
|
+
<Spinner visible={momentState.isLoading === 1} />
|
|
353
354
|
</Container>
|
|
355
|
+
<View style={{ position: 'absolute', bottom: bottom, paddingBottom: 20, paddingHorizontal: 40, backgroundColor: 'white', width: '100%' }}>
|
|
356
|
+
<OButton onClick={handleChangeMoment} isDisabled={!selectedTime} text={t('CONTINUE', 'Continue')} style={{ borderRadius: 7.6, height: 44, shadowOpacity: 0 }} textStyle={{ color: 'white', fontSize: 14 }} showNextIcon />
|
|
357
|
+
</View>
|
|
354
358
|
</>
|
|
355
359
|
);
|
|
356
360
|
};
|
|
@@ -159,12 +159,6 @@ const UpsellingProductsUI = (props: UpsellingProductsParams) => {
|
|
|
159
159
|
</TopActions>
|
|
160
160
|
</TopBar>
|
|
161
161
|
<ScrollView style={{ marginBottom: props.isPage ? 40 : bottom + (Platform.OS == 'ios' ? 96 : 130) }} showsVerticalScrollIndicator={false}>
|
|
162
|
-
{productsList.length > 0 &&
|
|
163
|
-
<View style={{ paddingHorizontal: 40, overflow: 'visible' }}>
|
|
164
|
-
<OText size={16} lineHeight={24} weight={'500'}>{t('WANT_SOMETHING_ELSE', 'Do you want something else?')}</OText>
|
|
165
|
-
<UpsellingLayout />
|
|
166
|
-
</View>
|
|
167
|
-
}
|
|
168
162
|
<View style={{ paddingHorizontal: 40 }}>
|
|
169
163
|
<OText size={20} lineHeight={30} weight={600} style={{ marginTop: 10, marginBottom: 17 }}>{t('YOUR_CART', 'Your cart')}</OText>
|
|
170
164
|
<OrderSummary
|
|
@@ -173,6 +167,12 @@ const UpsellingProductsUI = (props: UpsellingProductsParams) => {
|
|
|
173
167
|
onNavigationRedirect={onNavigationRedirect}
|
|
174
168
|
/>
|
|
175
169
|
</View>
|
|
170
|
+
{productsList.length > 0 &&
|
|
171
|
+
<View style={{ paddingHorizontal: 40, overflow: 'visible' }}>
|
|
172
|
+
<OText size={16} lineHeight={24} weight={'500'}>{t('WANT_SOMETHING_ELSE', 'Do you want something else?')}</OText>
|
|
173
|
+
<UpsellingLayout />
|
|
174
|
+
</View>
|
|
175
|
+
}
|
|
176
176
|
</ScrollView>
|
|
177
177
|
<View
|
|
178
178
|
style={{
|