@towsila/expo-ui-library 1.5.2 → 1.5.4
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/package.json
CHANGED
|
@@ -83,7 +83,7 @@ export default function LoginScreen({
|
|
|
83
83
|
value={form.values.password}
|
|
84
84
|
onChangeText={(value) => form.setValue("password", value)}
|
|
85
85
|
placeholder={passwordPlaceholder}
|
|
86
|
-
iconRight={form.showPassword ? (color)=><
|
|
86
|
+
iconRight={form.showPassword ? (color)=><EyeOff width={18} height={18} color={color}/> : (color)=><Eye width={18} height={18} color={color}/>}
|
|
87
87
|
onPressIconRight={() => form.setShowPassword(!form.showPassword)}
|
|
88
88
|
secureTextEntry={!form.showPassword}
|
|
89
89
|
textContentType="password"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { View, Text, StyleSheet, Modal, Animated, Dimensions } from "react-native";
|
|
1
|
+
import { View, Text, StyleSheet, Modal, Animated, Dimensions, ViewStyle } from "react-native";
|
|
2
2
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
3
3
|
import { textSize, Fonts } from "../../tokens/typography";
|
|
4
4
|
import Button from "../ui/button";
|
|
@@ -153,7 +153,7 @@ const handleClose = () => {
|
|
|
153
153
|
|
|
154
154
|
const styles = StyleSheet.create({
|
|
155
155
|
overlay: {
|
|
156
|
-
...StyleSheet.absoluteFill,
|
|
156
|
+
...(StyleSheet.absoluteFill as ViewStyle),
|
|
157
157
|
backgroundColor: "rgba(0,0,0,0.5)",
|
|
158
158
|
},
|
|
159
159
|
sheetWrapper: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, View, LayoutChangeEvent } from "react-native";
|
|
2
|
+
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, View, LayoutChangeEvent, ViewStyle } from "react-native";
|
|
3
3
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
4
4
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
5
5
|
import SharpContainer from "./sharpContainer"
|
|
@@ -58,7 +58,7 @@ export default function SharpButton({
|
|
|
58
58
|
|
|
59
59
|
const styles = StyleSheet.create({
|
|
60
60
|
contentContainer: {
|
|
61
|
-
...StyleSheet.absoluteFill,
|
|
61
|
+
...(StyleSheet.absoluteFill as ViewStyle),
|
|
62
62
|
justifyContent: "center",
|
|
63
63
|
alignItems: "center",
|
|
64
64
|
zIndex: 2,
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
View,
|
|
3
3
|
Text,
|
|
4
4
|
StyleSheet,
|
|
5
|
+
ViewStyle,
|
|
5
6
|
} from "react-native";
|
|
6
7
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
7
8
|
import { textSize, Fonts } from "../../tokens/typography";
|
|
@@ -51,8 +52,8 @@ const createStyles = (colors: any) =>
|
|
|
51
52
|
justifyContent: "flex-end",
|
|
52
53
|
},
|
|
53
54
|
backdrop: {
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
...(StyleSheet.absoluteFill as ViewStyle),
|
|
56
|
+
backgroundColor: "rgba(0,0,0,0.45)",
|
|
56
57
|
},
|
|
57
58
|
sheet: {
|
|
58
59
|
width: "100%",
|