From 7fd57494f97163b88e0eb4bf2de3ebee2f982fe8 Mon Sep 17 00:00:00 2001 From: Ashish Deo Date: Wed, 13 Mar 2024 18:45:50 +0530 Subject: [PATCH] TP-53746 | added animation on buttons (#716) --- RN-UI-LIB | 2 +- android/app/build.gradle | 4 +- package.json | 6 +- src/components/filters/Filters.tsx | 2 + src/components/form/index.tsx | 2 + src/components/utlis/commonFunctions.ts | 19 +- src/constants/screenTransitionAnimation.tsx | 77 ++++++ src/reducer/userSlice.ts | 10 +- src/screens/Dashboard/DashBoardScreens.tsx | 43 +--- src/screens/Dashboard/PerformanceCardV1.tsx | 53 +++-- src/screens/Profile/index.tsx | 41 ++-- .../NewAddressContainer.tsx | 1 + src/screens/addressGeolocation/index.tsx | 1 + src/screens/allCases/CaseItem.tsx | 1 + src/screens/allCases/EmptyList.tsx | 1 + src/screens/auth/ProtectedRouter.tsx | 43 ++-- src/screens/caseDetails/CaseDetailStack.tsx | 6 +- .../caseDetails/CollectionCaseDetail.tsx | 81 ++++--- .../feedback/FeedbackDetailItem.tsx | 222 ++++++++++-------- .../caseDetails/feedback/FeedbackListItem.tsx | 60 +++-- .../PhoneNumberSelectionBottomSheet.tsx | 7 + .../DailyCommitmentBottomSheet.tsx | 1 + src/screens/emiSchedule/EmiScheduleItem.tsx | 4 +- src/screens/login/OtpInput.tsx | 1 + src/screens/login/index.tsx | 1 + src/screens/registerPayements/Foreclosure.tsx | 25 +- .../registerPayements/OnlinePayment.tsx | 1 + yarn.lock | 38 +++ 28 files changed, 469 insertions(+), 284 deletions(-) create mode 100644 src/constants/screenTransitionAnimation.tsx diff --git a/RN-UI-LIB b/RN-UI-LIB index 2a76bdea..bbde5cc0 160000 --- a/RN-UI-LIB +++ b/RN-UI-LIB @@ -1 +1 @@ -Subproject commit 2a76bdead5cfcb17836d7259ffb7db4298615aa6 +Subproject commit bbde5cc0ed594494765a6af38f9ed576ef038fc4 diff --git a/android/app/build.gradle b/android/app/build.gradle index c9d43c1a..c5c8d60d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -134,8 +134,8 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def VERSION_CODE = 132 -def VERSION_NAME = "2.8.3" +def VERSION_CODE = 133 +def VERSION_NAME = "2.8.4" android { ndkVersion rootProject.ext.ndkVersion diff --git a/package.json b/package.json index cb789ecb..bd7c42f8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "AV_APP", - "version": "2.8.3", - "buildNumber": "132", + "version": "2.8.4", + "buildNumber": "133", "private": true, "scripts": { "android:dev": "yarn move:dev && react-native run-android", @@ -57,6 +57,7 @@ "@react-navigation/bottom-tabs": "6.5.5", "@react-navigation/native": "6.1.4", "@react-navigation/native-stack": "6.9.4", + "@react-navigation/stack": "6.3.21", "@reduxjs/toolkit": "1.9.1", "@sentry/react-native": "5.5.0", "@shopify/flash-list": "1.4.3", @@ -83,6 +84,7 @@ "react-native-fs": "2.20.0", "react-native-geolocation-service": "5.3.1", "react-native-get-random-values": "^1.8.0", + "react-native-gesture-handler": "2.15.0", "react-native-get-sms-android": "2.1.0", "react-native-gzip": "1.0.0", "react-native-image-picker": "4.10.2", diff --git a/src/components/filters/Filters.tsx b/src/components/filters/Filters.tsx index 892284ee..918840fb 100644 --- a/src/components/filters/Filters.tsx +++ b/src/components/filters/Filters.tsx @@ -144,12 +144,14 @@ const Filters: React.FC<{ onPress={handleClearAll} style={GenericStyles.fill} buttonStyle={styles.btn} + isAnimationEnabled={true} />