ordering-ui-react-native 0.14.14 → 0.14.15

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.14.14",
3
+ "version": "0.14.15",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -335,7 +335,7 @@ const BusinessPreorderUI = (props: BusinessPreorderParams) => {
335
335
  dropdownStyle={{
336
336
  borderRadius: 8,
337
337
  borderColor: theme.colors.lightGray,
338
- marginTop: Platform.OS === 'ios' ? 0 : -15
338
+ marginTop: Platform.OS === 'ios' ? 0 : -25
339
339
  }}
340
340
  rowStyle={{
341
341
  borderBottomColor: theme.colors.backgroundGray100,
@@ -227,7 +227,7 @@ const BusinessReviewsUI = (props: BusinessReviewsParams) => {
227
227
  </PrincipalWrapView>
228
228
 
229
229
  {reviewsList?.reviews
230
- .filter((review: any) => searchReview !== '' ? review.comment?.toLowerCase()?.includes(searchReview) : true)
230
+ .filter((review: any) => searchReview !== '' ? review.comment?.toLowerCase()?.includes(searchReview?.toLowerCase()) : true)
231
231
  .map((review: any) => (
232
232
  <ReviewItem
233
233
  key={`review_key_${review.id}`}
@@ -266,7 +266,7 @@ const CartUI = (props: any) => {
266
266
  alignItems: 'flex-start',
267
267
  width: '100%',
268
268
  height: 100,
269
- borderColor: theme.colors.textSecondary,
269
+ borderColor: theme.colors.border,
270
270
  paddingRight: 50,
271
271
  marginTop: 10,
272
272
  borderRadius: 7.6
@@ -203,7 +203,7 @@ const OrderSummaryUI = (props: any) => {
203
203
  alignItems: 'flex-start',
204
204
  width: '100%',
205
205
  height: 100,
206
- borderColor: theme.colors.textSecondary,
206
+ borderColor: theme.colors.border,
207
207
  paddingRight: 50,
208
208
  marginTop: 10
209
209
  }}
@@ -213,7 +213,7 @@ export const ProductItemAccordion = (props: ProductItemAccordionParams) => {
213
213
  {((isCartProduct && !isCartPending && product?.valid_menu && !product?.valid_quantity) ||
214
214
  (!product?.valid_menu && isCartProduct && !isCartPending)) && (
215
215
  <View style={{ alignItems: 'flex-end', width: '100%' }}>
216
- <OText size={18} color={theme.colors.red} style={{ textAlign: 'right', marginTop: 5 }}>
216
+ <OText size={14} color={theme.colors.red} style={{ textAlign: 'right', bottom: 20 }}>
217
217
  {t('NOT_AVAILABLE', 'Not available')}
218
218
  </OText>
219
219
  </View>