changes to todo

This commit is contained in:
ivic00
2024-09-05 19:27:44 +02:00
parent ee72c9c56a
commit f08b6ea997
14 changed files with 458 additions and 35 deletions

View File

@ -6,7 +6,7 @@ import {
DrawerItem,
DrawerItemList,
} from "@react-navigation/drawer";
import { Button, View, Text } from "react-native-ui-lib";
import { Button, View, Text, ButtonSize } from "react-native-ui-lib";
import { StyleSheet } from "react-native";
import Feather from "@expo/vector-icons/Feather";
import DrawerButton from "@/components/shared/DrawerButton";
@ -14,6 +14,7 @@ import {
AntDesign,
FontAwesome6,
MaterialCommunityIcons,
Octicons,
} from "@expo/vector-icons";
export default function TabLayout() {
@ -24,15 +25,24 @@ export default function TabLayout() {
initialRouteName={"index"}
screenOptions={{
headerShown: true,
drawerStyle: { width: "90%", backgroundColor: "#f9f8f7" },
drawerStyle: {
width: "90%",
backgroundColor: "#f9f8f7",
height: "100%",
},
}}
drawerContent={(props) => {
return (
<DrawerContentScrollView {...props}>
<DrawerContentScrollView {...props} style={{ height: "100%" }}>
<View centerH centerV margin-30>
<Text text50>Welcome to Kali</Text>
</View>
<View style={{ flexDirection: "row", paddingHorizontal: 30 }}>
<View
style={{
flexDirection: "row",
paddingHorizontal: 30,
}}
>
<View style={{ flex: 1, paddingRight: 5 }}>
<DrawerButton
title={"Calendar"}
@ -47,13 +57,6 @@ export default function TabLayout() {
/>
}
/>
<DrawerButton
color="#e0ca03"
title={"Brain Dump"}
bgColor={"#fffacb"}
pressFunc={() => props.navigation.navigate("brain_dump")}
icon={<AntDesign name="book" size={30} color="#e0ca03" />}
/>
<DrawerButton
color="#50be0c"
title={"Groceries"}
@ -69,7 +72,7 @@ export default function TabLayout() {
/>
</View>
<View style={{ flex: 1 }}>
<DrawerButton
{/*<DrawerButton
color="#fd1775"
title={"My Reminders"}
bgColor={"#ffe8f2"}
@ -81,7 +84,7 @@ export default function TabLayout() {
color="#fd1775"
/>
}
/>
/>*/}
<DrawerButton
color="#8005eb"
title={"To Dos"}
@ -91,16 +94,53 @@ export default function TabLayout() {
<AntDesign name="checkcircleo" size={30} color="#8005eb" />
}
/>
<DrawerItem label="Logout" onPress={() => signOut()} />
<DrawerButton
color="#e0ca03"
title={"Brain Dump"}
bgColor={"#fffacb"}
pressFunc={() => props.navigation.navigate("brain_dump")}
icon={<AntDesign name="book" size={30} color="#e0ca03" />}
/>
{/*<DrawerItem label="Logout" onPress={() => signOut()} />*/}
</View>
</View>
<Button
label={"Manage Settings"}
iconSource={() => (
<View
backgroundColor='#ededed'
width={60}
height={60}
style={{ borderRadius: 50 }}
marginR-10
centerV
centerH
>
<Octicons name="gear" size={30} color="#6c645b" />
</View>
)}
backgroundColor="white"
color="black"
color="#464039"
paddingV-30
marginH-30
marginB-10
borderRadius={15}
style={{ elevation: 1 }}
/>
<Button
size={ButtonSize.large}
marginH-30
paddingV-15
style={{
marginTop: "47%",
backgroundColor: "transparent",
borderWidth: 2,
borderColor: "#fd1775",
}}
label="Sign out of Kali"
color="#fd1775"
onPress={() => signOut()}
/>
</DrawerContentScrollView>
);
@ -152,10 +192,3 @@ export default function TabLayout() {
</Drawer>
);
}
const styles = StyleSheet.create({
square: {
width: "100%",
aspectRatio: 1, // This ensures the height matches the width, creating a square
},
});

View File

@ -1,20 +1,23 @@
import AddChore from "@/components/pages/todos/AddChore";
import ToDoItem from "@/components/pages/todos/ToDoItem";
import ToDosList from "@/components/pages/todos/ToDosList";
import HeaderTemplate from "@/components/shared/HeaderTemplate";
import { useAuthContext } from "@/contexts/AuthContext";
import { ToDosContextProvider, useToDosContext } from "@/contexts/ToDosContext";
import { AntDesign } from "@expo/vector-icons";
import { ScrollView } from "react-native-gesture-handler";
import { View } from "react-native-ui-lib";
import { Button, ButtonSize, View } from "react-native-ui-lib";
export default function Screen() {
return (
<ToDosContextProvider>
<ScrollView>
<View backgroundColor="white">
<View backgroundColor="#f9f8f7">
<HeaderTemplate message="Here are your To Do's" />
<ToDosList />
</View>
</ScrollView>
<AddChore />
</ToDosContextProvider>
);
}

View File

@ -0,0 +1,6 @@
<svg width="22" height="29" viewBox="0 0 22 29" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21.0987 1.15527H3.99274C2.28214 1.15527 0.974037 2.46338 0.974037 4.17397C0.974037 5.88457 2.28214 7.19268 3.99274 7.19268H21.0987V27.3174" stroke="#E0CA03" stroke-width="1.50935" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M21.0988 27.3181H3.99284C2.28224 27.3181 0.974136 26.01 0.974136 24.2994V4.17468" stroke="#E0CA03" stroke-width="1.50935" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M21.0952 4.17468H3.98927" stroke="#E0CA03" stroke-width="1.50935" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M6.00529 7.19421V19.269L9.02399 18.2628L12.0427 19.269V7.19421" stroke="#E0CA03" stroke-width="1.50935" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 900 B

View File

@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.82408 9.68081H26.8667M21.3017 15.2478L7.38912 15.2458M12.0266 20.8116L7.38912 20.8109M7.38912 1.33325V4.11577M21.3017 1.33325V4.11577M6.27611 26.3759H22.4147C23.9731 26.3759 24.7523 26.3759 25.3475 26.0726C25.871 25.8059 26.2967 25.3802 26.5635 24.8567C26.8667 24.2615 26.8667 23.4822 26.8667 21.9239V8.5678C26.8667 7.00944 26.8667 6.23026 26.5635 5.63505C26.2967 5.11148 25.871 4.68581 25.3475 4.41905C24.7523 4.11577 23.9731 4.11577 22.4147 4.11577H6.27611C4.71776 4.11577 3.93857 4.11577 3.34336 4.41905C2.81979 4.68581 2.39412 5.11148 2.12736 5.63505C1.82408 6.23026 1.82408 7.00944 1.82408 8.5678V21.9239C1.82408 23.4822 1.82408 24.2615 2.12736 24.8567C2.39412 25.3802 2.81979 25.8059 3.34336 26.0726C3.93857 26.3759 4.71775 26.3759 6.27611 26.3759Z" stroke="#07B8C7" stroke-width="2.12426" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 960 B

View File

@ -0,0 +1,6 @@
<svg width="25" height="28" viewBox="0 0 25 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.865936 10.9945C0.865936 6.1843 0.865936 3.77921 2.36027 2.28486C3.85462 0.790527 6.25971 0.790527 11.0699 0.790527H13.6209C18.4311 0.790527 20.8363 0.790527 22.3305 2.28486C23.8249 3.77921 23.8249 6.1843 23.8249 10.9945V16.0965C23.8249 20.9067 23.8249 23.3119 22.3305 24.8061C20.8363 26.3005 18.4311 26.3005 13.6209 26.3005H11.0699C6.25971 26.3005 3.85462 26.3005 2.36027 24.8061C0.865936 23.3119 0.865936 20.9067 0.865936 16.0965V10.9945Z" stroke="#FF9900" stroke-width="1.56"/>
<path d="M7.24954 13.5442H17.4535" stroke="#FF9900" stroke-width="1.56" stroke-linecap="round"/>
<path d="M7.24954 8.44482H17.4535" stroke="#FF9900" stroke-width="1.56" stroke-linecap="round"/>
<path d="M7.24954 18.6456H13.627" stroke="#FF9900" stroke-width="1.56" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 885 B

View File

@ -0,0 +1,6 @@
<svg width="29" height="32" viewBox="0 0 29 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M27.8005 12.2963C26.9124 10.0271 25.1379 8.15586 22.8178 7.34114C20.2994 6.4576 17.6742 6.95919 15.1816 7.6473C15.1342 6.28557 15.2494 4.9199 15.4428 3.57161C15.5525 2.81074 16.0775 1.23663 14.7752 1.18278C13.6942 1.13793 13.6912 2.58486 13.586 3.32281C13.3825 4.73839 13.2624 6.17294 13.3013 7.60392C12.7024 7.50423 12.1111 7.28131 11.5147 7.15765C10.6252 6.97417 9.71922 6.8595 8.81024 6.85846C7.05862 6.85846 5.32992 7.32265 3.88847 8.33639C1.08929 10.3059 -0.000716866 13.7424 0.0466641 17.0441C0.0984813 20.6192 1.30913 24.0331 3.34596 26.949C4.24496 28.2365 5.2786 29.471 6.55603 30.3999C7.79755 31.3024 9.18423 31.7252 10.6895 31.9406C11.3288 32.0329 11.9795 32.0353 12.6166 31.9311C13.1731 31.8404 13.6941 31.6056 14.246 31.5123C14.6629 31.442 15.2508 31.7701 15.6541 31.8598C16.3417 32.0144 17.0493 32.0463 17.7498 31.9665C20.3132 31.6743 22.344 30.518 24.0308 28.5794C27.7406 24.3159 29.9515 17.7886 27.8005 12.2963ZM26.1102 21.04C25.636 22.7024 24.8856 24.2222 23.9153 25.6482C23.0562 26.9107 22.0605 28.1617 20.784 29.0243C19.6117 29.8156 18.0252 30.2478 16.6116 30.1182C15.8926 30.0529 15.238 29.7074 14.524 29.6395C13.7247 29.5643 12.9858 29.992 12.2064 30.0982C9.14203 30.5151 6.72171 28.4334 5.05987 26.1264C3.02107 23.2952 1.81141 19.9126 1.92656 16.395C2.03229 13.1715 3.569 9.84524 6.92418 8.96263C8.60253 8.5219 10.3701 8.7752 12.023 9.20052C12.7385 9.38351 13.4769 9.68067 14.2194 9.72054C14.7908 9.78634 15.4195 9.5251 15.9595 9.37649C19.1925 8.48697 22.8324 8.27151 25.0836 11.2313C27.1628 13.9642 27.0082 17.8977 26.1102 21.04Z" fill="#50BE0C"/>
<path d="M12.0001 18.2628C11.2227 18.548 10.0241 18.9734 9.56834 19.7167C9.67956 19.5342 9.78972 19.3538 9.56686 19.7187C9.34444 20.0837 9.45417 19.9042 9.56532 19.7217C8.89823 20.8207 9.83759 22.2512 11.1131 22.0687C12.3711 21.8892 12.4907 20.6502 12.4768 19.626C12.4718 19.1992 12.4493 18.7658 12.382 18.3435C12.3391 18.0793 12.2244 18.1801 12.0001 18.2628Z" fill="#50BE0C"/>
<path d="M18.0968 19.2142C17.662 18.91 17.1778 18.6722 16.6922 18.4622C16.5736 18.4108 15.9937 18.0863 15.8601 18.1651C15.878 18.1541 15.8955 18.1436 15.859 18.1656C15.8237 18.1875 15.8406 18.177 15.8586 18.1661C15.7484 18.2364 15.7629 18.7744 15.7544 18.8821C15.7135 19.3912 15.6991 19.9073 15.7454 20.4153C15.8446 21.5328 16.7935 22.4981 17.9733 21.9326C19.1379 21.3747 19.0676 19.8923 18.0968 19.2142Z" fill="#50BE0C"/>
<path d="M12.2234 4.11127C12.3436 0.578091 8.3477 0.0261546 6.92214 0.728675C7.29361 4.80332 10.4025 4.89303 12.2234 4.11127Z" fill="#50BE0C"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,3 @@
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.2919 4.15134L4.29255 4.28209L4.38508 4.1897C9.67686 -1.0946 18.2799 -1.03894 23.6048 4.28609C28.9322 9.61341 28.9856 18.2215 23.6944 23.5127C18.4031 28.8038 9.79511 28.7504 4.46779 23.4231C1.3109 20.2662 0.00733072 15.9596 0.567096 11.8757C0.641751 11.331 1.1438 10.9501 1.68845 11.0247C2.23311 11.0994 2.6141 11.6014 2.53946 12.146C2.06125 15.6348 3.17419 19.3141 5.8755 22.0154C10.4387 26.5787 17.7862 26.6053 22.2867 22.1049C26.7871 17.6045 26.7603 10.257 22.1971 5.6938C17.6362 1.13288 10.2939 1.10385 5.79286 5.59735L5.70012 5.68993L5.83116 5.69059L6.87794 5.69585C7.42768 5.69861 7.87109 6.1465 7.86833 6.69624C7.86556 7.24598 7.41768 7.68939 6.86793 7.68663L3.30416 7.66872C2.75833 7.66597 2.31653 7.22416 2.31378 6.67834L2.29587 3.11455C2.2931 2.56483 2.73652 2.11694 3.28626 2.11416C3.836 2.1114 4.28389 2.55482 4.28665 3.10456L4.2919 4.15134ZM15.0316 13.4196V13.4422L15.0476 13.4582L18.24 16.6506C18.6288 17.0394 18.6288 17.6697 18.24 18.0583L18.2786 18.0969L18.24 18.0583C17.8513 18.447 17.221 18.447 16.8324 18.0583L16.7938 18.0969L16.8324 18.0583L13.0408 14.2668V8.25448C13.0408 7.70474 13.4865 7.25908 14.0362 7.25908C14.5859 7.25908 15.0316 7.70474 15.0316 8.25448V13.4196Z" fill="#FD1775" stroke="white" stroke-width="0.1092"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,3 @@
<svg width="30" height="31" viewBox="0 0 30 31" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.0364 29.9455C7.08347 29.9455 0.636375 23.4984 0.636375 15.5455C0.636375 7.59261 7.08347 1.14551 15.0364 1.14551C22.9893 1.14551 29.4364 7.59261 29.4364 15.5455C29.4364 23.4984 22.9893 29.9455 15.0364 29.9455ZM15.0364 28.5055C22.194 28.5055 27.9964 22.7031 27.9964 15.5455C27.9964 8.3879 22.194 2.58551 15.0364 2.58551C7.87876 2.58551 2.07638 8.3879 2.07638 15.5455C2.07638 22.7031 7.87876 28.5055 15.0364 28.5055ZM19.5673 11.4364C19.8484 11.1552 20.3043 11.1552 20.5855 11.4364C20.8667 11.7176 20.8667 12.1734 20.5855 12.4546L13.3855 19.6546C13.1043 19.9358 12.6484 19.9358 12.3673 19.6546L9.48726 16.7746C9.20608 16.4934 9.20608 16.0376 9.48726 15.7564C9.76844 15.4752 10.2243 15.4752 10.5055 15.7564L12.8764 18.1273L19.5673 11.4364Z" fill="#8005EB" stroke="#8005EB" stroke-width="0.5"/>
</svg>

After

Width:  |  Height:  |  Size: 905 B

View File

@ -0,0 +1,103 @@
import { StyleSheet } from "react-native";
import React, { useEffect, useState } from "react";
import {
Button,
ButtonSize,
View,
Text,
ActionSheet,
TextField,
Dialog,
Slider,
} from "react-native-ui-lib";
import { AntDesign } from "@expo/vector-icons";
import LinearGradient from "react-native-linear-gradient";
import { PanningDirectionsEnum } from "react-native-ui-lib/src/components/panningViews/panningProvider";
const AddChore = () => {
const [isVisible, setIsVisible] = useState<boolean>(false);
const [points, setPoints] = useState<number>(10);
useEffect(() => {
console.log(points);
}, [points]);
return (
<LinearGradient
colors={["transparent", "#f9f8f7"]}
locations={[0, 0.5]}
style={styles.gradient}
>
<View style={styles.buttonContainer}>
<Button
marginH-25
size={ButtonSize.large}
style={styles.button}
onPress={() => setIsVisible(!isVisible)}
>
<AntDesign name="plus" size={24} color="white" />
<Text white text60R marginL-10>
Create new chore
</Text>
</Button>
</View>
<Dialog
bottom={true}
height={"90%"}
panDirection={PanningDirectionsEnum.DOWN}
onDismiss={() => setIsVisible(false)}
containerStyle={{
backgroundColor: "white",
width: "100%",
alignSelf: "stretch",
padding: 0,
margin: 0,
}}
visible={isVisible}
>
<TextField
placeholder="Add chore title"
placeholderTextColor="#2d2d30"
text60R
marginT-15
/>
<View style={styles.divider} />
<View marginH-30>
<Slider
value={points}
onValueChange={(value) => setPoints(value)}
minimumValue={0}
step={10}
maximumValue={100}
/>
<View row spread>
<Text>0</Text>
<Text>50</Text>
<Text>100</Text>
</View>
</View>
</Dialog>
</LinearGradient>
);
};
export default AddChore;
const styles = StyleSheet.create({
divider: { height: 1, backgroundColor: "#e4e4e4", marginVertical: 15 },
gradient: {
height: "25%",
position: "absolute",
bottom: 0,
width: "100%",
},
buttonContainer: {
position: "absolute",
bottom: 25,
width: "100%",
},
button: {
backgroundColor: "rgb(253, 23, 117)",
paddingVertical: 20,
},
});

View File

@ -5,13 +5,13 @@ import { Ionicons } from "@expo/vector-icons";
const ToDoItem = (props: { item: IToDo }) => {
return (
<View centerV backgroundColor="white" padding-15 paddingH-45>
<View centerV backgroundColor="white" row spread>
<Text text70>{props.item.title}</Text>
<View centerV backgroundColor="white" paddingV-10 paddingH-10 marginH-25 marginV-10 style={{borderRadius: 22}}>
<View paddingB-5 row spread>
<Text text70R>{props.item.title}</Text>
<Checkbox value={props.item.done} />
</View>
<View centerH paddingV-5>
<View centerV height={1} width={"100%"} backgroundColor="#e7e7e7" centerH />
<View centerV height={2} width={"100%"} backgroundColor="#e7e7e7" centerH />
</View>
<View centerH row spread>
{props.item.points && props.item.points > 0 ? (

View File

@ -12,7 +12,7 @@ const DrawerButton = (props: IDrawerButtonProps) => {
<Button
onPress={props.pressFunc}
label={props.title}
labelStyle={{fontSize: 14}}
labelStyle={{ fontSize: 14 }}
color={props.color}
backgroundColor="white"
iconSource={() => (
@ -27,9 +27,24 @@ const DrawerButton = (props: IDrawerButtonProps) => {
{props.icon}
</View>
)}
style={{ aspectRatio: 1, borderRadius: 15, marginBottom: 12, flexDirection: 'column', justifyContent: "space-between", paddingVertical: 15 }}
>
</Button>
style={{
aspectRatio: 1,
borderRadius: 15,
marginBottom: 12,
flexDirection: "column",
justifyContent: "space-between",
paddingVertical: 15,
// Shadow for iOS
shadowColor: "#000",
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.3,
shadowRadius: 10, // This will create a blurry shadow
// Shadow for Android
elevation: 1,
}}
></Button>
);
};

157
package-lock.json generated
View File

@ -39,9 +39,11 @@
"react-native-big-calendar": "^4.14.0",
"react-native-calendars": "^1.1306.0",
"react-native-gesture-handler": "~2.16.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-svg": "^15.6.0",
"react-native-ui-lib": "^7.27.0",
"react-native-web": "~0.19.10",
"react-query": "^3.39.3"
@ -9414,6 +9416,12 @@
"node": ">= 0.8"
}
},
"node_modules/boolbase": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
"license": "ISC"
},
"node_modules/bower": {
"version": "1.8.14",
"resolved": "https://registry.npmjs.org/bower/-/bower-1.8.14.tgz",
@ -10447,6 +10455,56 @@
"hyphenate-style-name": "^1.0.3"
}
},
"node_modules/css-select": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
"integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
"license": "BSD-2-Clause",
"dependencies": {
"boolbase": "^1.0.0",
"css-what": "^6.1.0",
"domhandler": "^5.0.2",
"domutils": "^3.0.1",
"nth-check": "^2.0.1"
},
"funding": {
"url": "https://github.com/sponsors/fb55"
}
},
"node_modules/css-tree": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
"integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
"license": "MIT",
"dependencies": {
"mdn-data": "2.0.14",
"source-map": "^0.6.1"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/css-tree/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/css-what": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",
"integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==",
"license": "BSD-2-Clause",
"engines": {
"node": ">= 6"
},
"funding": {
"url": "https://github.com/sponsors/fb55"
}
},
"node_modules/cssom": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz",
@ -10847,6 +10905,32 @@
"node": ">=8"
}
},
"node_modules/dom-serializer": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
"license": "MIT",
"dependencies": {
"domelementtype": "^2.3.0",
"domhandler": "^5.0.2",
"entities": "^4.2.0"
},
"funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
"node_modules/domelementtype": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
"integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/fb55"
}
],
"license": "BSD-2-Clause"
},
"node_modules/domexception": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz",
@ -10861,6 +10945,35 @@
"node": ">=12"
}
},
"node_modules/domhandler": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
"license": "BSD-2-Clause",
"dependencies": {
"domelementtype": "^2.3.0"
},
"engines": {
"node": ">= 4"
},
"funding": {
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/domutils": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
"integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
"license": "BSD-2-Clause",
"dependencies": {
"dom-serializer": "^2.0.0",
"domelementtype": "^2.3.0",
"domhandler": "^5.0.3"
},
"funding": {
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/dotenv": {
"version": "16.4.5",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",
@ -10969,7 +11082,6 @@
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=0.12"
@ -17342,6 +17454,12 @@
"integrity": "sha512-c2YOUbp33+6thdCUi34xIyOU/a7bvGKj/3DB1iaPMTuPHf/Q2d5s4sn1FaCOO43XkXggnb08y5W2PU8UNYNLKQ==",
"license": "MIT"
},
"node_modules/mdn-data": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
"integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==",
"license": "CC0-1.0"
},
"node_modules/media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
@ -18354,6 +18472,18 @@
"node": ">=4"
}
},
"node_modules/nth-check": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
"integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
"license": "BSD-2-Clause",
"dependencies": {
"boolbase": "^1.0.0"
},
"funding": {
"url": "https://github.com/fb55/nth-check?sponsor=1"
}
},
"node_modules/nullthrows": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz",
@ -19485,6 +19615,16 @@
"react": "^16.6.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/react-native-linear-gradient": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/react-native-linear-gradient/-/react-native-linear-gradient-2.8.3.tgz",
"integrity": "sha512-KflAXZcEg54PXkLyflaSZQ3PJp4uC4whM7nT/Uot9m0e/qxFV3p6uor1983D1YOBJbJN7rrWdqIjq0T42jOJyA==",
"license": "MIT",
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-reanimated": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.10.1.tgz",
@ -19548,6 +19688,21 @@
"react-native": "*"
}
},
"node_modules/react-native-svg": {
"version": "15.6.0",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.6.0.tgz",
"integrity": "sha512-TUtR+h+yi1ODsd8FHdom1TpjfWOmnaK5pri5rnSBXnMqpzq8o2zZfonHTjPX+nS3wb/Pu2XsoARgYaHNjVWXhQ==",
"license": "MIT",
"dependencies": {
"css-select": "^5.1.0",
"css-tree": "^1.1.3",
"warn-once": "0.1.1"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-swipe-gestures": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.5.tgz",

View File

@ -46,9 +46,11 @@
"react-native-big-calendar": "^4.14.0",
"react-native-calendars": "^1.1306.0",
"react-native-gesture-handler": "~2.16.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-svg": "^15.6.0",
"react-native-ui-lib": "^7.27.0",
"react-native-web": "~0.19.10",
"react-query": "^3.39.3"

View File

@ -3904,6 +3904,11 @@ body-parser@1.20.2:
type-is "~1.6.18"
unpipe "1.0.0"
boolbase@^1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz"
integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==
bower-auto-release@^1.1.358:
version "1.1.358"
resolved "https://registry.npmjs.org/bower-auto-release/-/bower-auto-release-1.1.358.tgz"
@ -4565,6 +4570,30 @@ css-in-js-utils@^3.1.0:
dependencies:
hyphenate-style-name "^1.0.3"
css-select@^5.1.0:
version "5.1.0"
resolved "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz"
integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==
dependencies:
boolbase "^1.0.0"
css-what "^6.1.0"
domhandler "^5.0.2"
domutils "^3.0.1"
nth-check "^2.0.1"
css-tree@^1.1.3:
version "1.1.3"
resolved "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz"
integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==
dependencies:
mdn-data "2.0.14"
source-map "^0.6.1"
css-what@^6.1.0:
version "6.1.0"
resolved "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz"
integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==
cssom@^0.5.0:
version "0.5.0"
resolved "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz"
@ -4823,6 +4852,20 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"
dom-serializer@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz"
integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==
dependencies:
domelementtype "^2.3.0"
domhandler "^5.0.2"
entities "^4.2.0"
domelementtype@^2.3.0:
version "2.3.0"
resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz"
integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==
domexception@^4.0.0:
version "4.0.0"
resolved "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz"
@ -4830,6 +4873,22 @@ domexception@^4.0.0:
dependencies:
webidl-conversions "^7.0.0"
domhandler@^5.0.2, domhandler@^5.0.3:
version "5.0.3"
resolved "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz"
integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==
dependencies:
domelementtype "^2.3.0"
domutils@^3.0.1:
version "3.1.0"
resolved "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz"
integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==
dependencies:
dom-serializer "^2.0.0"
domelementtype "^2.3.0"
domhandler "^5.0.3"
dotenv-expand@~11.0.6:
version "11.0.6"
resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.6.tgz"
@ -4901,7 +4960,7 @@ end-of-stream@^1.1.0, end-of-stream@^1.4.1:
dependencies:
once "^1.4.0"
entities@^4.4.0:
entities@^4.2.0, entities@^4.4.0:
version "4.5.0"
resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
@ -7633,6 +7692,11 @@ md5hex@^1.0.0:
resolved "https://registry.npmjs.org/md5hex/-/md5hex-1.0.0.tgz"
integrity sha512-c2YOUbp33+6thdCUi34xIyOU/a7bvGKj/3DB1iaPMTuPHf/Q2d5s4sn1FaCOO43XkXggnb08y5W2PU8UNYNLKQ==
mdn-data@2.0.14:
version "2.0.14"
resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz"
integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==
media-typer@0.3.0:
version "0.3.0"
resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
@ -8170,6 +8234,13 @@ npm-run-path@^4.0.1:
dependencies:
path-key "^3.0.0"
nth-check@^2.0.1:
version "2.1.1"
resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz"
integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==
dependencies:
boolbase "^1.0.0"
nullthrows@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz"
@ -8894,6 +8965,11 @@ react-native-helmet-async@2.0.4:
react-fast-compare "^3.2.2"
shallowequal "^1.1.0"
react-native-linear-gradient@^2.8.3:
version "2.8.3"
resolved "https://registry.npmjs.org/react-native-linear-gradient/-/react-native-linear-gradient-2.8.3.tgz"
integrity sha512-KflAXZcEg54PXkLyflaSZQ3PJp4uC4whM7nT/Uot9m0e/qxFV3p6uor1983D1YOBJbJN7rrWdqIjq0T42jOJyA==
react-native-reanimated@*, "react-native-reanimated@>= 1.0.0", react-native-reanimated@>=2.0.0, react-native-reanimated@~3.10.1:
version "3.10.1"
resolved "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.10.1.tgz"
@ -8931,6 +9007,15 @@ react-native-screens@*, "react-native-screens@>= 3.0.0", react-native-screens@3.
react-freeze "^1.0.0"
warn-once "^0.1.0"
react-native-svg@^15.6.0:
version "15.6.0"
resolved "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.6.0.tgz"
integrity sha512-TUtR+h+yi1ODsd8FHdom1TpjfWOmnaK5pri5rnSBXnMqpzq8o2zZfonHTjPX+nS3wb/Pu2XsoARgYaHNjVWXhQ==
dependencies:
css-select "^5.1.0"
css-tree "^1.1.3"
warn-once "0.1.1"
react-native-swipe-gestures@^1.0.5:
version "1.0.5"
resolved "https://registry.npmjs.org/react-native-swipe-gestures/-/react-native-swipe-gestures-1.0.5.tgz"
@ -10591,7 +10676,7 @@ walker@^1.0.7, walker@^1.0.8:
dependencies:
makeerror "1.0.12"
warn-once@^0.1.0:
warn-once@^0.1.0, warn-once@0.1.1:
version "0.1.1"
resolved "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz"
integrity sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==