ordering-ui-react-native 0.15.72 → 0.15.73

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.15.72",
3
+ "version": "0.15.73",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -385,7 +385,7 @@ export const OrderContentComponent = (props: OrderContent) => {
385
385
  order?.offers?.length > 0 && order?.offers?.filter((offer: any) => offer?.target === 1)?.map((offer: any) => (
386
386
  <Table key={offer.id}>
387
387
  <OSRow>
388
- <OText numberOfLines={1} mBottom={4}>
388
+ <OText mBottom={4}>
389
389
  {offer.name}
390
390
  {offer.rate_type === 1 && (
391
391
  <OText>{`(${verifyDecimals(offer?.rate, parsePrice)}%)`}</OText>
@@ -431,7 +431,7 @@ export const OrderContentComponent = (props: OrderContent) => {
431
431
  order?.taxes?.length > 0 && order?.taxes?.filter((tax: any) => tax?.type === 2 && tax?.rate !== 0).map((tax: any) => (
432
432
  <Table key={tax.id}>
433
433
  <OSRow>
434
- <OText numberOfLines={1} mBottom={4}>
434
+ <OText mBottom={4}>
435
435
  {tax.name || t('INHERIT_FROM_BUSINESS', 'Inherit from business')}
436
436
  {`(${verifyDecimals(tax?.rate, parseNumber)}%)`}{' '}
437
437
  </OText>
@@ -444,7 +444,7 @@ export const OrderContentComponent = (props: OrderContent) => {
444
444
  order?.fees?.length > 0 && order?.fees?.filter((fee: any) => !(fee.fixed === 0 && fee.percentage === 0))?.map((fee: any) => (
445
445
  <Table key={fee.id}>
446
446
  <OSRow>
447
- <OText numberOfLines={1} mBottom={4}>
447
+ <OText mBottom={4}>
448
448
  {fee.name || t('INHERIT_FROM_BUSINESS', 'Inherit from business')}
449
449
  ({fee?.fixed > 0 && `${parsePrice(fee?.fixed)} + `}{fee.percentage}%){' '}
450
450
  </OText>
@@ -457,7 +457,7 @@ export const OrderContentComponent = (props: OrderContent) => {
457
457
  order?.offers?.length > 0 && order?.offers?.filter((offer: any) => offer?.target === 3)?.map((offer: any) => (
458
458
  <Table key={offer.id}>
459
459
  <OSRow>
460
- <OText numberOfLines={1} mBottom={4}>
460
+ <OText mBottom={4}>
461
461
  {offer.name}
462
462
  {offer.rate_type === 1 && (
463
463
  <OText>{`(${verifyDecimals(offer?.rate, parsePrice)}%)`}</OText>
@@ -485,7 +485,7 @@ export const OrderContentComponent = (props: OrderContent) => {
485
485
  order?.offers?.length > 0 && order?.offers?.filter((offer: any) => offer?.target === 2)?.map((offer: any) => (
486
486
  <Table key={offer.id}>
487
487
  <OSRow>
488
- <OText numberOfLines={1} mBottom={4}>
488
+ <OText mBottom={4}>
489
489
  {offer.name}
490
490
  {offer.rate_type === 1 && (
491
491
  <OText>{`(${verifyDecimals(offer?.rate, parsePrice)}%)`}</OText>