fln-espranza 0.0.56 → 0.0.57

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.
@@ -45,16 +45,16 @@ const Drawer = ({
45
45
  <View style={tw`mx-4 pt-4`}>
46
46
  <Spacer height={30} />
47
47
 
48
- <View style={tw`flex w-full mt-5`}>
48
+ <View style={tw`flex w-full mt-5 mr-5`}>
49
49
  <View style={tw`flex-row items-center`}>
50
50
  <Avatar
51
51
  size="sm"
52
52
  source={""}
53
53
  nameFirstLetter={name?.split("")[0]}
54
54
  />
55
- <View style={tw`ml-3`}>
55
+ <View style={tw`ml-3 mr-5`}>
56
56
 
57
- <EText size={"xl"} style={tw`font-bold -mt-1 lowercase capitalize`}>
57
+ <EText size={"base"} style={tw`font-bold -mt-1 lowercase capitalize mr-3`}>
58
58
  {name}
59
59
  </EText>
60
60
  <EText
@@ -67,12 +67,12 @@ const Drawer = ({
67
67
  ]}
68
68
  >
69
69
  {profile}
70
- </EText>
70
+ </EText>
71
71
  </View>
72
72
  </View>
73
73
  </View>
74
74
 
75
- <Spacer height={30} />
75
+ <Spacer height={20} />
76
76
  {menuItems.map((item, index) => {
77
77
  return (
78
78
  <MenuItems
@@ -26,7 +26,6 @@ export default function EInput({
26
26
  <View style={[tw`mb-4`, {style}]}>
27
27
  {label ? (
28
28
  <EText style={[tw`font-semibold ${hasFocus ? '' : 'text-slate-800'}`, {
29
- // color: Colors["text-primary"]
30
29
  }]}>
31
30
  {label}
32
31
  </EText>
@@ -8,7 +8,7 @@ interface IProps{
8
8
 
9
9
  export default function ELabel( {label }: IProps ) {
10
10
  return (
11
- <EText size="sm" style={[tw`font-semibold text-slate-800`, {}]}>
11
+ <EText size="base" style={[tw`font-semibold text-slate-700`, {}]}>
12
12
  {label}
13
13
  </EText>
14
14
  )
@@ -18,11 +18,11 @@ export default function EListSchool({
18
18
  }: IProps) {
19
19
  return (
20
20
  <View style={tw`border-b border-slate-200 py-3`}>
21
- <EText size="base" style={tw`font-bold text-slate-800 mb-0.5 h-5`} numberOfLines={2}>
21
+ <EText size="base" style={tw`font-bold text-slate-800 mb-1 h-5`} numberOfLines={2}>
22
22
  {name}
23
23
  </EText>
24
24
  <View style={tw`flex-row items-center`}>
25
- <EText size="sm" style={tw`text-slate-500`}>
25
+ <EText size="sm" style={tw`text-slate-500 mt-0.5`}>
26
26
  {code}
27
27
  </EText>
28
28
  {district ? <><View style={tw`w-1 h-1 bg-slate-600 rounded-full mx-1.5`}></View>
@@ -36,7 +36,7 @@ export default function EProfile({
36
36
  /> : <></>}
37
37
  <View style={tw`ml-3`}>
38
38
  <EText
39
- size={"lg"}
39
+ size={"base"}
40
40
  style={[
41
41
  tw`font-bold text-slate-800 mb-0 capitalize`,
42
42
  { color: Colors["text-primary"] },
@@ -8,7 +8,7 @@ interface IProps {
8
8
  stat: string;
9
9
  target: string;
10
10
  label: string;
11
- statColor?: string;
11
+ statColor: string;
12
12
  iconR?: JSX.Element;
13
13
  }
14
14
 
@@ -25,16 +25,11 @@ export default function EStat({
25
25
 
26
26
  return (
27
27
  <TouchableOpacity
28
- style={[tw`bg-slate-00 flex-1 overflow-hidden items-center py-3`, {
29
- // shadowColor: '#155e75',
30
- // shadowOffset: { width: 0, height: 8 },
31
- // shadowOpacity: .1,
32
- // shadowRadius: 16,
33
- }]}
28
+ style={[tw`bg-slate-00 flex-1 overflow-hidden items-center py-3`]}
34
29
  activeOpacity={0.8}
35
30
  >
36
- <View style={tw` mb-2 flex-row flex-1 justify-center`}>
37
- <EText style={tw`text-3xl font-bold ${statColor} -tracking-0.25 `}>
31
+ <View style={tw` flex-row flex-1 justify-center`}>
32
+ <EText style={tw`text-xl font-bold ${statColor} -tracking-0.25 `}>
38
33
  {stat}
39
34
  </EText>
40
35
  <EText style={tw`ml-0.5 pt-1 text-slate-800 opacity-50 font-semibold -tracking-0.25`}>
@@ -42,7 +37,7 @@ export default function EStat({
42
37
  </EText>
43
38
  {iconR}
44
39
  </View>
45
- <EText size="lg" style={tw`font-bold text-slate-700 mb-0.5`}>{label}</EText>
40
+ <EText size="base" style={tw`font-bold text-slate-700 mb-0.5 mt-0.1`}>{label}</EText>
46
41
  <EText size="sm" style={tw` text-slate-800 opacity-60`}>{pending} remaining</EText>
47
42
  </TouchableOpacity>
48
43
  );
@@ -1,7 +1,7 @@
1
1
  import { Text, TextProps } from "react-native";
2
2
  import React from "react";
3
3
  import tw from "../lib/tailwind";
4
- import { _t } from "../../../hooks/useChangeLanguage";
4
+
5
5
 
6
6
  interface ETextProps extends TextProps {
7
7
  size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "title";
@@ -36,7 +36,7 @@ export default function EText({
36
36
  style,
37
37
  ]}
38
38
  >
39
- {_t(children)}
39
+ {children}
40
40
  </Text>
41
41
  );
42
42
  }
@@ -84,7 +84,6 @@ export default function PageHeader({
84
84
  <EIconArrowLeft
85
85
  iconColor={curved ? "white" : "tint-slate-900"}
86
86
  size={24}
87
- // onPress={() => navigation.navigate("Dashboard")}
88
87
  style={tw`text-slate-800`}
89
88
  />
90
89
  </TouchableOpacity>
@@ -96,7 +95,7 @@ export default function PageHeader({
96
95
  <View style={tw`flex-1 items-start px-3`}>
97
96
  <EText
98
97
  size="base"
99
- style={tw.style("text-slate-800 font-bold")}
98
+ style={tw.style("text-slate-700 font-bold")}
100
99
  numberOfLines={1}
101
100
  >
102
101
  {title}
@@ -104,7 +103,7 @@ export default function PageHeader({
104
103
  {subtitle ? (
105
104
  <EText
106
105
  style={tw.style(
107
- "text-slate-800 opacity-40 font-semibold mt-0.25"
106
+ "text-slate-700 opacity-40 font-semibold mt-0.25"
108
107
  )}
109
108
  >
110
109
  {subtitle}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fln-espranza",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "All components used inside FLN Project of Espranza Innovations",
5
5
  "main": "index.ts",
6
6
  "scripts": {