fln-espranza 1.1.10 → 1.1.11

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.
@@ -40,7 +40,6 @@ const Drawer = ({name,profile, menuItems,navigation }: IProps) => {
40
40
  size="sm"
41
41
  source={""}
42
42
  nameFirstLetter={name?.split("")[0]}
43
- bg={"sky-400"}
44
43
  />
45
44
  <View style={tw`ml-3`}>
46
45
  <EText size={"xl"} style={tw`font-bold -mt-1`}>{name}</EText>
@@ -6,7 +6,7 @@ interface ETextProps extends TextProps {
6
6
  size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "title";
7
7
  muted?: boolean;
8
8
  style?: any;
9
- children: any;
9
+ children?: any;
10
10
  }
11
11
 
12
12
  export default function EText({
@@ -0,0 +1,31 @@
1
+ import { SCREEN_WIDTH, SCREEN_HEIGHT } from '@gorhom/bottom-sheet'
2
+ // import { Colors, EText } from 'fln-espranza'
3
+ import EText from './EText';
4
+ import React from 'react'
5
+ import { View, ActivityIndicator } from 'react-native'
6
+ import tw from '../lib/tailwind';
7
+ import { Colors } from '../utils/Color';
8
+
9
+ interface IProps{
10
+ show: boolean
11
+ }
12
+
13
+ export default function Loader({show}: IProps) {
14
+ return (
15
+ <>
16
+ {show ? <View style={[tw`absolute justify-center items-center z-10 bg-slate-100 `, {
17
+ opacity: 0.9,
18
+ width: SCREEN_WIDTH,
19
+ height: SCREEN_HEIGHT,
20
+ }]}>
21
+ <View style={[tw`h-24 w-32 bg-white px-2 py-3 justify-center items-center rounded-xl`]}>
22
+ <ActivityIndicator size="large" color={Colors['primary-base']} />
23
+ <EText size="base" style={tw`text-black`}>Loading...</EText>
24
+ </View>
25
+ </View>
26
+ :
27
+ <></>
28
+ }
29
+ </>
30
+ )
31
+ }
@@ -16,7 +16,7 @@ export default function ProgressBar( {progress}: IProps) {
16
16
  Animated.spring(barWidth, {
17
17
  toValue: progress,
18
18
  bounciness: 0,
19
- speed: 1,
19
+ speed: 7,
20
20
  useNativeDriver: false,
21
21
  }).start();
22
22
  }, [progress]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fln-espranza",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "All components used inside FLN Project of Espranza Innovations",
5
5
  "main": "index.ts",
6
6
  "scripts": {