ikualo-ui-kit-mobile 1.8.3 → 1.8.5

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/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.8.3",
6
+ "version": "1.8.5",
7
7
  "orientation": "portrait",
8
8
  "icon": "./assets/icon.png",
9
9
  "userInterfaceStyle": "automatic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ikualo-ui-kit-mobile",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "main": "src/index.ts",
5
5
  "scripts": {
6
6
  "start": "expo start",
@@ -8,7 +8,7 @@ import { IDialogDown } from '../../models';
8
8
  export const DialogDown = (props: IDialogDown) => {
9
9
  const theme = useStore().theme;
10
10
  const stylesDialog = getStylesDialog(theme);
11
- const { isVisible, title, children, onDismiss, image, showCloseButton } = props;
11
+ const { isVisible, title, children, onDismiss, image, showCloseButton = true } = props;
12
12
  const slideAnim = useRef(new Animated.Value(0)).current;
13
13
 
14
14
  const handleDismissKeyboard = () => {
@@ -83,6 +83,7 @@ export const DialogDown = (props: IDialogDown) => {
83
83
  />
84
84
  </TouchableHighlight>
85
85
  )}
86
+
86
87
  {image ? (
87
88
  <View style={stylesDialog['dialog-img']}>{image}</View>
88
89
  ) : (
@@ -23,7 +23,7 @@ export const PageBasic = (props: IFPageBasic) => {
23
23
  <SafeAreaView style={stylePages['page-basic']}>
24
24
  {!theme?.dark && (
25
25
  <LinearGradient
26
- colors={['#FFFFFF', '#E5E5F9']}
26
+ colors={[theme.colors.white_50, theme.colors.primary_50]}
27
27
  style={StyleSheet.absoluteFillObject}
28
28
  start={{ x: 0, y: 0 }}
29
29
  end={{ x: 0, y: 1 }}
@@ -22,7 +22,7 @@ export const PageTouchable = (props: IFPageTouchable) => {
22
22
  <SafeAreaView style={{ flex: 1 }}>
23
23
  {!theme?.dark && (
24
24
  <LinearGradient
25
- colors={['#FFFFFF', '#EAECFF']}
25
+ colors={[theme.colors.white_50, theme.colors.primary_50]}
26
26
  style={StyleSheet.absoluteFillObject}
27
27
  start={{ x: 0, y: 0 }}
28
28
  end={{ x: 0, y: 1 }}
@@ -31,7 +31,7 @@ export const PageTouchable = (props: IFPageTouchable) => {
31
31
  <View style={[stylePages['page-touchable'], customStyles]}>
32
32
  {!theme?.dark && (
33
33
  <LinearGradient
34
- colors={['#FFFFFF', '#EAECFF']}
34
+ colors={[theme.colors.white_50, theme.colors.primary_50]}
35
35
  style={StyleSheet.absoluteFillObject}
36
36
  start={{ x: 0, y: 0 }}
37
37
  end={{ x: 0, y: 1 }}