-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: [IOBP-1115] Replace deprecated components and functions for…
… IDPay (#6586) ## Short description This PR is replacing legacy components for IDPay screens to align them with design standards > [!WARNING] > This PR depends on #6584 ## List of changes proposed in this pull request - Import `FooterActions` from design system - Replace `RNavScreenWithLargeHeader` with `IOScrollViewWithLargeHeader` - Replace `GradientScrollView` with `IOScrollViewWithLargeHeader` (thanks @dmnplb) - Replace `jest` deprecated functions (`toBeCalledWith`, `toBeCalledTimes` and `toBeCalled`) - Replace deprecated `Layout` of `react-native-reanimated` with `LinearTransition` - Remove `back` button in onboarding screens with `IOScrollViewWithLargeHeader` - Replace all scrollview with `IOScrollViewWithLargeHeader` ## How to test Ensure that all legacy components are replaced and properly aligned with standards ## Preview | Old | New | |--------|--------| | <video src="https://github.com/user-attachments/assets/42a300ba-c1ec-4dfd-b647-062b46c07773"> | <video src="https://github.com/user-attachments/assets/b8d0a8b7-7b6e-4e14-94d1-672c2601cd16"> | | <video src="https://github.com/user-attachments/assets/93951690-9b9a-4978-aa42-344e47f33cc9"> | <video src="https://github.com/user-attachments/assets/a773d730-19b1-44ac-b3ac-7f1a01a1905f"> | | <video src="https://github.com/user-attachments/assets/ecb84428-0cbe-48f4-beb3-82988a7df429"> | <video src="https://github.com/user-attachments/assets/881bf976-4bef-495f-918c-86c01c4ede1c"> | | <video src="https://github.com/user-attachments/assets/7fad0a6d-1cb1-4073-bd26-e63753ed8490"> | <video src="https://github.com/user-attachments/assets/ea01e06b-8c2b-4fec-8a78-21f654cab03f"> |
- Loading branch information
1 parent
c3b2f95
commit 70e552c
Showing
25 changed files
with
615 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.