ordering-ui-react-native 0.16.1 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -510,7 +510,7 @@ const AddressFormUI = (props: AddressFormParams) => {
510
510
  onActionLeft={goToBack}
511
511
  showCall={false}
512
512
  btnStyle={{ paddingLeft: 0 }}
513
- style={{ flexDirection: 'column', alignItems: 'flex-start', marginTop: Platform.OS === 'ios' ? 0 : 30 }}
513
+ style={{ marginTop: Platform.OS === 'ios' ? 0 : 30 }}
514
514
  titleWrapStyle={{ paddingHorizontal: 0 }}
515
515
  titleStyle={{ marginRight: 0, marginLeft: 0 }}
516
516
  />
@@ -179,7 +179,7 @@ const AddressListUI = (props: AddressListParams) => {
179
179
  showCall={false}
180
180
  btnStyle={{ paddingLeft: 0 }}
181
181
  paddingTop={0}
182
- style={{ flexDirection: 'column', alignItems: 'flex-start', marginTop: Platform.OS === 'ios' ? 0 : 40 }}
182
+ style={{ marginTop: Platform.OS === 'ios' ? 0 : 40 }}
183
183
  titleWrapStyle={{ paddingHorizontal: 0 }}
184
184
  titleStyle={{ marginLeft: 0, marginRight: 0 }}
185
185
  />
@@ -315,9 +315,9 @@ const BusinessProductsListUI = (props: BusinessProductsListParams) => {
315
315
  ))}
316
316
  <OModal
317
317
  open={!!openDescription}
318
- title={openDescription?.name}
319
318
  onClose={() => setOpenDescription(null)}
320
319
  >
320
+ <OText size={20} style={{paddingLeft: 70, paddingRight: 20, bottom: 25}}>{openDescription?.name}</OText>
321
321
  <ScrollView style={{ padding: 20 }}>
322
322
  {!!openDescription?.image && (
323
323
  <OIcon
@@ -506,7 +506,7 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
506
506
  onActionLeft={handleArrowBack}
507
507
  showCall={false}
508
508
  btnStyle={{ paddingLeft: 0 }}
509
- style={{ flexDirection: 'column', alignItems: 'flex-start', marginTop: Platform.OS === 'ios' ? 0 : 20 }}
509
+ style={{ marginTop: Platform.OS === 'ios' ? 0 : 20 }}
510
510
  titleWrapStyle={{ paddingHorizontal: 0 }}
511
511
  titleStyle={{ marginRight: 0, marginLeft: 0 }}
512
512
  subTitle={<OText size={12} lineHeight={18} color={theme.colors.textNormal}>
@@ -49,7 +49,7 @@ export const ProductItemAccordion = (props: ProductItemAccordionParams) => {
49
49
  color: theme.colors.textNormal
50
50
  },
51
51
  inputIOS: {
52
- width: 27,
52
+ width: 34,
53
53
  textAlign: 'center',
54
54
  overflow: 'visible',
55
55
  fontSize: 12,