@towsila/expo-ui-library 1.5.4 → 1.5.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/package.json +4 -4
- package/src/components/reusable/templatePage.tsx +1 -1
- package/src/components/reusable/templateSubPage.tsx +1 -2
- package/src/components/screens/LegalScreen.tsx +1 -2
- package/src/components/screens/VerificationCodeScreen.tsx +2 -3
- package/src/components/screens/forgotPasswordScreen.tsx +0 -1
- package/src/components/screens/onBoarding.tsx +1 -2
- package/src/components/screens/settingScreen.tsx +1 -1
- package/src/components/screens/signUpScreen.tsx +1 -3
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/customPopup.tsx +0 -1
- package/src/components/ui/sharpButton.tsx +1 -1
- package/src/components/ui/sharpDynamicForm.tsx +1 -3
- package/src/components/ui/sharpInput.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towsila/expo-ui-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"react-native-keyboard-aware-scroll-view": "*",
|
|
27
27
|
"react-native-reanimated": "*",
|
|
28
28
|
"react-native-safe-area-context": "*",
|
|
29
|
-
"react-native-svg": "*"
|
|
29
|
+
"react-native-svg": "*",
|
|
30
|
+
"expo-font": "*"
|
|
30
31
|
},
|
|
31
32
|
"scripts": {
|
|
32
33
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -45,8 +46,7 @@
|
|
|
45
46
|
"homepage": "https://gitlab.com/depanini/mobile/expo-ui-library#readme",
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@types/react": "^19.2.17",
|
|
48
|
-
"
|
|
49
|
-
"expo-location": "~17.0.0",
|
|
49
|
+
"react-native-svg": "^15.15.5",
|
|
50
50
|
"typescript": "^6.0.3"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardAvoidingView, Platform, ScrollView, View, Text
|
|
1
|
+
import { KeyboardAvoidingView, Platform, ScrollView, View, Text } from "react-native";
|
|
2
2
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
3
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
4
4
|
import BgDark from "../../assets/images/bg_dark.svg";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { View,
|
|
1
|
+
import { View, ScrollView } from "react-native";
|
|
2
2
|
import PageTopBar from "../ui/PageTopBar";
|
|
3
|
-
import Button from "../ui/button";
|
|
4
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
5
4
|
import ErrorMessage from "../ui/error";
|
|
6
5
|
import { textSize } from "../../tokens/typography";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useState } from "react";
|
|
1
|
+
import { Text, View } from "react-native";
|
|
3
2
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
4
3
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
5
4
|
import TemplateSubPage from "../reusable/templateSubPage";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Text, TouchableOpacity
|
|
1
|
+
import { useState } from "react";
|
|
2
|
+
import { Text, TouchableOpacity } from "react-native";
|
|
3
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
4
4
|
import { textSize, Fonts} from "../../tokens/typography";
|
|
5
5
|
import TemplateSubPage from "../reusable/templateSubPage";
|
|
6
|
-
import OtpInput from "../ui/OTPInput";
|
|
7
6
|
import { useCountdown } from "../../hooks/useCountdown";
|
|
8
7
|
import SharpOtpInput from "../ui/sharpOtpInput";
|
|
9
8
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Text, TouchableOpacity, View, StyleSheet
|
|
1
|
+
import { Text, TouchableOpacity, View, StyleSheet } from "react-native";
|
|
2
2
|
import PageIndicator from "../ui/pageIndicator";
|
|
3
|
-
import Button from "../ui/button";
|
|
4
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
5
4
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
6
5
|
import {Arrow} from "@towsila/icons";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {Settings } from "../../types/settingsFields"
|
|
2
2
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
3
|
-
import { Text, View, TouchableOpacity
|
|
3
|
+
import { Text, View, TouchableOpacity } from "react-native"
|
|
4
4
|
import { textSize, Fonts } from "../../tokens/typography"
|
|
5
5
|
import SharpButton from "../ui/sharpButton";
|
|
6
6
|
import TemplatePage from "../reusable/templatePage";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// import { useRouter } from "expo-router";
|
|
2
|
-
import React, { useState
|
|
2
|
+
import React, { useState } from "react";
|
|
3
3
|
import TemplatePage from "../reusable/templatePage";
|
|
4
4
|
import { Text, TouchableOpacity, View } from "react-native";
|
|
5
5
|
import TermsPopup from "../ui/termsPopup";
|
|
6
6
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
7
7
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
8
|
-
import Button from "../ui/button";
|
|
9
|
-
import { DynamicForm } from "../ui/dynamicForm";
|
|
10
8
|
import { Field } from "../../types/formFields";
|
|
11
9
|
import { useFormSubmit } from "../../hooks/useSignup";
|
|
12
10
|
import ErrorMessage from "../ui/error";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator,
|
|
1
|
+
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, StyleProp, ViewStyle } from "react-native";
|
|
2
2
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
3
3
|
type ButtonProps = {
|
|
4
4
|
text: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
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
|
-
import Button from "../ui/button";
|
|
5
4
|
import { useEffect, useRef } from "react";
|
|
6
5
|
import SharpButton from "./sharpButton";
|
|
7
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, View,
|
|
2
|
+
import { TouchableOpacity, Text, StyleSheet, ActivityIndicator, View, 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"
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import Input from "./input";
|
|
2
|
+
import { Text, TouchableOpacity, View } from "react-native";
|
|
4
3
|
import { Field } from "../../types/formFields";
|
|
5
4
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
6
5
|
import { validateForm } from "../../utils/inputValidator/registerValidator";
|
|
7
|
-
import { Ionicons } from "@expo/vector-icons";
|
|
8
6
|
import { Fonts, textSize } from "../../tokens/typography";
|
|
9
7
|
import SharpInput from "./sharpInput";
|
|
10
8
|
import {Arrow, ArrowBack, Eye, EyeOff} from "@towsila/icons";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
import { Text, TextInput, TextInputProps, View, StyleSheet, TouchableOpacity } from "react-native";
|
|
3
3
|
import { useAppTheme } from "../../context/ThemeContext";
|
|
4
4
|
import { textSize, Fonts } from "../../tokens/typography";
|