ikualo-ui-kit-mobile 1.9.7 → 1.9.9

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.
@@ -0,0 +1,22 @@
1
+ {
2
+ "workbench.colorCustomizations": {
3
+ "activityBar.activeBackground": "#fa1b49",
4
+ "activityBar.background": "#fa1b49",
5
+ "activityBar.foreground": "#e7e7e7",
6
+ "activityBar.inactiveForeground": "#e7e7e799",
7
+ "activityBarBadge.background": "#155e02",
8
+ "activityBarBadge.foreground": "#e7e7e7",
9
+ "commandCenter.border": "#e7e7e799",
10
+ "sash.hoverBorder": "#fa1b49",
11
+ "statusBar.background": "#dd0531",
12
+ "statusBar.foreground": "#e7e7e7",
13
+ "statusBarItem.hoverBackground": "#fa1b49",
14
+ "statusBarItem.remoteBackground": "#dd0531",
15
+ "statusBarItem.remoteForeground": "#e7e7e7",
16
+ "titleBar.activeBackground": "#dd0531",
17
+ "titleBar.activeForeground": "#e7e7e7",
18
+ "titleBar.inactiveBackground": "#dd053199",
19
+ "titleBar.inactiveForeground": "#e7e7e799"
20
+ },
21
+ "peacock.color": "#dd0531"
22
+ }
package/app.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "ikualo-app-2.0",
4
4
  "slug": "ikualo-app-20",
5
5
  "owner": "ikualo",
6
- "version": "1.9.7",
6
+ "version": "1.9.9",
7
7
  "orientation": "portrait",
8
8
  "icon": "./assets/icon.png",
9
9
  "userInterfaceStyle": "automatic",
@@ -42,10 +42,25 @@ export const getStyleAlerts = (theme: ITheme) =>
42
42
  borderRadius: 16,
43
43
  overflow: 'hidden',
44
44
  },
45
- 'alert-container-text': {
45
+ 'alert-header': {
46
46
  flexDirection: 'row',
47
- gap: 8,
47
+ alignItems: 'flex-start',
48
+ },
49
+ 'alert-icon-wrapper': {
50
+ width: 32,
51
+ height: 24,
52
+ justifyContent: 'center',
53
+ alignItems: 'center',
54
+ },
55
+ 'alert-content': {
56
+ flex: 1,
57
+ justifyContent: 'center',
58
+ },
59
+ 'alert-title': {
60
+ lineHeight: 20,
61
+ flexWrap: 'wrap',
62
+ },
63
+ 'alert-body': {
64
+ marginTop: 8,
48
65
  },
49
-
50
- 'alert-body': { marginTop: 8 },
51
66
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikualo-ui-kit-mobile",
3
- "version": "1.9.7",
3
+ "version": "1.9.9",
4
4
  "main": "src/index.ts",
5
5
  "scripts": {
6
6
  "start": "expo start",
@@ -1,4 +1,4 @@
1
- import { View, Animated } from 'react-native';
1
+ import { View } from 'react-native';
2
2
  import { Portal } from 'react-native-paper';
3
3
  import { useEffect } from 'react';
4
4
  import useStore from '../../store';
@@ -24,7 +24,7 @@ export const Alert = (props: IFAlertInfo) => {
24
24
  useEffect(() => {
25
25
  setTimeout(() => {
26
26
  onClose();
27
- }, miliSeconds ?? 6000);
27
+ }, miliSeconds ?? 5000);
28
28
  }, []);
29
29
 
30
30
  return (
@@ -32,7 +32,7 @@ export const Alert = (props: IFAlertInfo) => {
32
32
  {position === 'absolute' ? (
33
33
  <Portal>
34
34
  <BlurView
35
- intensity={80}
35
+ intensity={theme.dark ? 30 : 60}
36
36
  tint={theme.dark ? 'light' : 'dark'}
37
37
  experimentalBlurMethod="dimezisBlurView"
38
38
  style={[
@@ -42,11 +42,20 @@ export const Alert = (props: IFAlertInfo) => {
42
42
  customStyles,
43
43
  ]}
44
44
  >
45
- <View style={styleAlerts['alert-container-text']}>
46
- {icons.find((icon) => icon.name === type)?.icon}
47
- <Text fontWeight={'MontserratBold700'} fontSize={14} color={theme.colors.white_50}>
48
- {title}
49
- </Text>
45
+ <View style={styleAlerts['alert-header']}>
46
+ <View style={styleAlerts['alert-icon-wrapper']}>
47
+ {icons.find((icon) => icon.name === type)?.icon}
48
+ </View>
49
+ <View style={styleAlerts['alert-content']}>
50
+ <Text
51
+ fontWeight={'MontserratBold700'}
52
+ fontSize={14}
53
+ color={theme.colors.white_50}
54
+ style={styleAlerts['alert-title']}
55
+ >
56
+ {title}
57
+ </Text>
58
+ </View>
50
59
  </View>
51
60
  {text && <View style={styleAlerts['alert-body']}>{text}</View>}
52
61
  </BlurView>
@@ -63,11 +72,20 @@ export const Alert = (props: IFAlertInfo) => {
63
72
  customStyles,
64
73
  ]}
65
74
  >
66
- <View style={styleAlerts['alert-container-text']}>
67
- {icons.find((icon) => icon.name === type)?.icon}
68
- <Text fontWeight={'MontserratBold700'} fontSize={14} color={theme.colors.white_50}>
69
- {title}
70
- </Text>
75
+ <View style={styleAlerts['alert-header']}>
76
+ <View style={styleAlerts['alert-icon-wrapper']}>
77
+ {icons.find((icon) => icon.name === type)?.icon}
78
+ </View>
79
+ <View style={styleAlerts['alert-content']}>
80
+ <Text
81
+ fontWeight={'MontserratBold700'}
82
+ fontSize={14}
83
+ color={theme.colors.white_50}
84
+ style={styleAlerts['alert-title']}
85
+ >
86
+ {title}
87
+ </Text>
88
+ </View>
71
89
  </View>
72
90
  {text && <View style={styleAlerts['alert-body']}>{text}</View>}
73
91
  </BlurView>