fln-espranza 0.0.49 → 0.0.50

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.
@@ -19,30 +19,38 @@ export default function EListPerson({
19
19
  noBorder,
20
20
  firstLetter,
21
21
  itemsEnd,
22
- subTitleIcon
22
+ subTitleIcon,
23
23
  }: IProps) {
24
24
  return (
25
25
  <View style={[tw`flex-row items-center justify-between`]}>
26
- <Avatar size="sm" source={""} nameFirstLetter={name.split(" ")[0].charAt(0)} />
26
+ <Avatar
27
+ size="sm"
28
+ source={""}
29
+ nameFirstLetter={name.split(" ")[0].charAt(0)}
30
+ />
27
31
  <View
28
- style={tw` ml-3 py-3 flex-1 flex-row items-center justify-between ${noBorder ? "" : "border-b border-slate-200"
29
- }`}
32
+ style={tw` ml-3 py-3 flex-1 flex-row items-center justify-between ${
33
+ noBorder ? "" : "border-b border-slate-200"
34
+ }`}
30
35
  >
31
36
  <View>
32
- <EText style={tw`font-bold text-slate-800 mb-0.5 capitalize`} numberOfLines={1}>
37
+ <EText
38
+ size="lg"
39
+ style={tw`font-bold text-slate-800 mb-0.5 capitalize`}
40
+ numberOfLines={1}
41
+ >
33
42
  {name}
34
43
  </EText>
35
44
 
36
45
  <View style={tw`flex flex-row items-center`}>
37
46
  {subTitleIcon ? subTitleIcon : <></>}
38
- {subtitle
39
- ?
40
- (
41
- <EText size="sm" style={tw`text-slate-500`}>
42
- {subtitle}
43
- </EText>
44
- )
45
- : <></>}
47
+ {subtitle ? (
48
+ <EText size="sm" style={tw`text-slate-500`}>
49
+ {subtitle}
50
+ </EText>
51
+ ) : (
52
+ <></>
53
+ )}
46
54
  </View>
47
55
  </View>
48
56
  {itemsEnd}
@@ -82,7 +82,7 @@ export default function SecondaryBaseLayout({
82
82
  ref={scrollViewRef}
83
83
  style={[
84
84
  tw`flex-1`,
85
- { paddingBottom: insets.bottom, paddingTop: !title ? 80 : 80 },
85
+ { paddingBottom: insets.bottom, paddingTop: !title ? 80 : 58 },
86
86
  ]}
87
87
  showsVerticalScrollIndicator={false}
88
88
  decelerationRate={"fast"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fln-espranza",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "description": "All components used inside FLN Project of Espranza Innovations",
5
5
  "main": "index.ts",
6
6
  "scripts": {