@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.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/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +88 -13
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +132 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +127 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +126 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +119 -94
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +145 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +90 -33
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +41 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +47 -5
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -51
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +8 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +13 -4
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
- package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
- package/src/components/Auth/One/OTP/OTP.tsx +465 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
- package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
- package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
- package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
- package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
- package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
- package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
- package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
- package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
- package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
- package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
- package/src/components/Auth/Two/index.ts +28 -0
- package/src/components/Auth/index.ts +7 -22
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
- package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +6 -1
- package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/PrimaryBtn.tsx +10 -2
- package/src/components/Content/Card/Category/Category.tsx +104 -10
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Sliders/index.ts +2 -0
- package/src/components/Content/Card/Styles/Five.tsx +162 -62
- package/src/components/Content/Card/Styles/Four.tsx +165 -85
- package/src/components/Content/Card/Styles/One.tsx +162 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +160 -162
- package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
- package/src/components/Content/Card/Styles/Two.tsx +183 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +250 -151
- package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +103 -119
- package/src/components/Content/Sections.tsx +51 -45
- package/src/components/Content/types.ts +176 -0
- package/src/components/ContentView/MoreContentList.tsx +1 -0
- package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
- package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
- package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
- package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
- package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
- package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
- package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
- package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
- package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
- package/src/components/ContentView/Two/components/Details.tsx +193 -0
- package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
- package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
- package/src/components/ContentView/Two/components/Title.tsx +226 -0
- package/src/components/ContentView/Two/components/index.ts +15 -0
- package/src/components/ContentView/index.ts +7 -1
- package/src/components/Headers/Four.tsx +83 -0
- package/src/components/Headers/Three.tsx +88 -25
- package/src/components/Headers/index.ts +2 -0
- package/src/components/Input/Input.ts +4 -0
- package/src/components/Input/InputThree.tsx +212 -0
- package/src/components/Input/PhoneNumberInput.tsx +4 -2
- package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
- package/src/components/Loader/Loader.tsx +25 -9
- package/src/components/Logo/Logo.tsx +53 -34
- package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
- package/src/components/NewRelease/index.ts +1 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
- package/src/components/Reels/ReelsSeries/types.ts +16 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
- package/src/components/Reels/index.ts +1 -0
- package/src/components/Search/One.tsx +8 -5
- package/src/components/Search/components/SearchCard.tsx +68 -11
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
- package/src/components/User/WatchLater/WatchLater.tsx +1 -0
- package/src/components/common/AppStatusBar.tsx +7 -1
- package/src/components/index.ts +1 -0
- package/src/constants/dummySections.ts +54 -3
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/hooks/useSplashCache.ts +88 -69
- package/src/theme/ThemeProvider.tsx +15 -2
- package/src/theme/hook/index.ts +0 -1
- package/src/theme/hook/useInternalTheme.ts +22 -13
- package/src/theme/themes.ts +3 -0
- package/src/theme/utils/validateColor.ts +127 -0
- package/src/types/content/content-view.types.ts +43 -1
- package/src/types/sections/index.ts +7 -4
- package/src/utils/colorUtils.ts +70 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx
RENAMED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React, { useMemo, useCallback, useRef, useEffect } from 'react';
|
|
7
|
-
import { StyleSheet, Animated } from 'react-native';
|
|
7
|
+
import { StyleSheet, Animated, useWindowDimensions } from 'react-native';
|
|
8
8
|
import Video, {
|
|
9
9
|
type OnLoadData,
|
|
10
10
|
type OnVideoErrorData,
|
|
11
11
|
} from 'react-native-video';
|
|
12
|
-
import Display from '
|
|
13
|
-
import { View } from '
|
|
12
|
+
import Display from '../../../../../../utils/Display';
|
|
13
|
+
import { View } from '../../../../../View';
|
|
14
14
|
|
|
15
15
|
interface IProps {
|
|
16
16
|
width?: number;
|
|
@@ -25,9 +25,9 @@ interface IProps {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
const SplashVideo: React.FC<IProps> = ({
|
|
28
|
-
fullscreen =
|
|
29
|
-
width
|
|
30
|
-
height
|
|
28
|
+
fullscreen = true,
|
|
29
|
+
width,
|
|
30
|
+
height,
|
|
31
31
|
source,
|
|
32
32
|
resizeMode = 'cover',
|
|
33
33
|
onEnd,
|
|
@@ -36,14 +36,25 @@ const SplashVideo: React.FC<IProps> = ({
|
|
|
36
36
|
onError,
|
|
37
37
|
}) => {
|
|
38
38
|
const fadeAnim = useRef(new Animated.Value(0)).current;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
39
|
+
const { width: windowWidth, height: windowHeight } = useWindowDimensions();
|
|
40
|
+
|
|
41
|
+
/** 🎨 Compute video dimensions – fullscreen uses 100% for all devices; otherwise use window dimensions */
|
|
42
|
+
const videoStyle = useMemo(() => {
|
|
43
|
+
if (fullscreen) {
|
|
44
|
+
return { width: '100%' as const, height: '100%' as const };
|
|
45
|
+
}
|
|
46
|
+
const w = width ?? windowWidth ?? Display.fullWidth;
|
|
47
|
+
const h = height ?? windowHeight ?? Display.fullHeight;
|
|
48
|
+
return { width: w, height: h };
|
|
49
|
+
}, [fullscreen, width, height, windowWidth, windowHeight]);
|
|
50
|
+
|
|
51
|
+
/** 🎨 Fullscreen wrapper fills container so video covers entire screen on any device */
|
|
52
|
+
const wrapperStyle = useMemo(
|
|
53
|
+
() =>
|
|
54
|
+
fullscreen
|
|
55
|
+
? [StyleSheet.absoluteFillObject, { opacity: fadeAnim }]
|
|
56
|
+
: [videoStyle, { opacity: fadeAnim, position: 'absolute' as const }],
|
|
57
|
+
[fullscreen, videoStyle, fadeAnim]
|
|
47
58
|
);
|
|
48
59
|
|
|
49
60
|
/** 🌀 Fade-in animation */
|
|
@@ -118,20 +129,14 @@ const SplashVideo: React.FC<IProps> = ({
|
|
|
118
129
|
[]
|
|
119
130
|
);
|
|
120
131
|
|
|
121
|
-
// Memoize animated view style
|
|
122
|
-
const animatedViewStyle = useMemo(
|
|
123
|
-
() => [videoStyle, { opacity: fadeAnim, position: 'absolute' as const }],
|
|
124
|
-
[videoStyle, fadeAnim]
|
|
125
|
-
);
|
|
126
|
-
|
|
127
132
|
/** 🧱 Render */
|
|
128
133
|
return (
|
|
129
134
|
<View style={styles.container}>
|
|
130
|
-
{/* Video Layer */}
|
|
131
|
-
<Animated.View style={
|
|
135
|
+
{/* Video Layer – fills container for fullscreen on all devices */}
|
|
136
|
+
<Animated.View style={wrapperStyle}>
|
|
132
137
|
<Video
|
|
133
138
|
source={videoSource}
|
|
134
|
-
style={
|
|
139
|
+
style={styles.video}
|
|
135
140
|
resizeMode={resizeMode}
|
|
136
141
|
paused={false}
|
|
137
142
|
onLoadStart={handleLoadStart}
|
|
@@ -155,9 +160,14 @@ const SplashVideo: React.FC<IProps> = ({
|
|
|
155
160
|
const styles = StyleSheet.create({
|
|
156
161
|
container: {
|
|
157
162
|
flex: 1,
|
|
163
|
+
width: '100%',
|
|
164
|
+
height: '100%',
|
|
158
165
|
position: 'relative',
|
|
159
|
-
|
|
160
|
-
|
|
166
|
+
alignSelf: 'stretch',
|
|
167
|
+
},
|
|
168
|
+
video: {
|
|
169
|
+
width: '100%',
|
|
170
|
+
height: '100%',
|
|
161
171
|
},
|
|
162
172
|
});
|
|
163
173
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Fri 13 Jun 2025 at 11:11 AM
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import ForgotPassword from './ForgotPassword/ForgotPassword';
|
|
7
|
+
import LoginWithEmail from './Login/LoginWithEmail';
|
|
8
|
+
import LoginWithPhone from './Login/LoginWithPhone';
|
|
9
|
+
import OTP from './OTP/OTP';
|
|
10
|
+
import QrLogin from './QrLogin/QrLogin';
|
|
11
|
+
import SignUp from './SignUp/SignUp';
|
|
12
|
+
import { SplashScreen } from './SplashScreen/SplashScreen';
|
|
13
|
+
|
|
14
|
+
const AuthOne = {
|
|
15
|
+
LoginWithEmail,
|
|
16
|
+
LoginWithPhone,
|
|
17
|
+
SignUp,
|
|
18
|
+
OTP,
|
|
19
|
+
ForgotPassword,
|
|
20
|
+
SplashScreen,
|
|
21
|
+
QrLogin,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default AuthOne;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
View,
|
|
4
|
+
Pressable,
|
|
5
|
+
StyleSheet,
|
|
6
|
+
type ViewStyle,
|
|
7
|
+
Text,
|
|
8
|
+
} from 'react-native';
|
|
9
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
10
|
+
import { scale, verticalScale } from 'react-native-size-matters';
|
|
11
|
+
import type { ThemeOverride } from '../../../../theme';
|
|
12
|
+
import { useInternalTheme } from '../../../../theme/hook';
|
|
13
|
+
import Logo from '../../../Logo/Logo';
|
|
14
|
+
import TextButton from '../../../Button/TextButton';
|
|
15
|
+
|
|
16
|
+
type Props = {
|
|
17
|
+
logoUri?: string;
|
|
18
|
+
onLogoPress?: () => void;
|
|
19
|
+
rightTitle?: string;
|
|
20
|
+
onRightPress?: () => void;
|
|
21
|
+
rightComponent?: React.ReactNode;
|
|
22
|
+
containerStyle?: ViewStyle;
|
|
23
|
+
theme?: ThemeOverride;
|
|
24
|
+
headerTitle?: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const AuthHeader: React.FC<Props> = ({
|
|
28
|
+
logoUri,
|
|
29
|
+
onLogoPress,
|
|
30
|
+
rightTitle,
|
|
31
|
+
onRightPress,
|
|
32
|
+
rightComponent,
|
|
33
|
+
containerStyle,
|
|
34
|
+
theme: overrideTheme,
|
|
35
|
+
headerTitle,
|
|
36
|
+
}) => {
|
|
37
|
+
const insets = useSafeAreaInsets();
|
|
38
|
+
const { theme } = useInternalTheme(overrideTheme);
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<View
|
|
42
|
+
style={[styles.container, { paddingTop: insets.top }, containerStyle]}
|
|
43
|
+
>
|
|
44
|
+
<View style={styles.row}>
|
|
45
|
+
<View style={styles.left}>
|
|
46
|
+
{logoUri && (
|
|
47
|
+
<Pressable onPress={onLogoPress} style={styles.logoWrapper}>
|
|
48
|
+
<Logo logoUri={logoUri} resizeMode="contain" />
|
|
49
|
+
</Pressable>
|
|
50
|
+
)}
|
|
51
|
+
{headerTitle && (
|
|
52
|
+
<Text style={[styles.title, { color: theme.colors.textPrimary }]}>
|
|
53
|
+
{headerTitle}
|
|
54
|
+
</Text>
|
|
55
|
+
)}
|
|
56
|
+
</View>
|
|
57
|
+
|
|
58
|
+
<View style={styles.right}>
|
|
59
|
+
{rightComponent ? (
|
|
60
|
+
rightComponent
|
|
61
|
+
) : rightTitle && onRightPress ? (
|
|
62
|
+
<TextButton
|
|
63
|
+
title={rightTitle}
|
|
64
|
+
onPress={onRightPress}
|
|
65
|
+
color={theme.colors.textPrimary}
|
|
66
|
+
/>
|
|
67
|
+
) : null}
|
|
68
|
+
</View>
|
|
69
|
+
</View>
|
|
70
|
+
</View>
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export default React.memo(AuthHeader);
|
|
75
|
+
|
|
76
|
+
const styles = StyleSheet.create({
|
|
77
|
+
container: {
|
|
78
|
+
marginTop: verticalScale(0),
|
|
79
|
+
width: '100%',
|
|
80
|
+
zIndex: 100,
|
|
81
|
+
},
|
|
82
|
+
row: {
|
|
83
|
+
flexDirection: 'row',
|
|
84
|
+
justifyContent: 'space-between',
|
|
85
|
+
alignItems: 'flex-start',
|
|
86
|
+
paddingTop: verticalScale(8),
|
|
87
|
+
},
|
|
88
|
+
left: {
|
|
89
|
+
flex: 1,
|
|
90
|
+
justifyContent: 'flex-start',
|
|
91
|
+
alignItems: 'flex-start',
|
|
92
|
+
},
|
|
93
|
+
logoWrapper: {
|
|
94
|
+
width: scale(100),
|
|
95
|
+
height: scale(10),
|
|
96
|
+
transform: [{ scale: 0.6 }],
|
|
97
|
+
},
|
|
98
|
+
right: {
|
|
99
|
+
justifyContent: 'flex-start',
|
|
100
|
+
alignItems: 'flex-end',
|
|
101
|
+
},
|
|
102
|
+
title: {
|
|
103
|
+
fontSize: 18,
|
|
104
|
+
fontWeight: '700',
|
|
105
|
+
marginTop: verticalScale(8),
|
|
106
|
+
textAlign: 'left',
|
|
107
|
+
},
|
|
108
|
+
});
|
|
@@ -6,23 +6,24 @@ import React, { useCallback, useMemo, useState } from 'react';
|
|
|
6
6
|
import {
|
|
7
7
|
StyleSheet,
|
|
8
8
|
View,
|
|
9
|
-
Platform,
|
|
10
9
|
Alert,
|
|
11
10
|
type ViewStyle,
|
|
12
11
|
type TextStyle,
|
|
13
12
|
} from 'react-native';
|
|
14
13
|
import { useForm, Controller } from 'react-hook-form';
|
|
15
14
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
16
|
-
import { Input } from '
|
|
17
|
-
import { Button } from '
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import { Text } from '../../Text';
|
|
15
|
+
import { Input } from '../../../Input/Input';
|
|
16
|
+
import { Button } from '../../../Button';
|
|
17
|
+
import { Logo } from '../../../Logo/Logo';
|
|
18
|
+
import { useKeyboard } from '../../../../hooks/useKeyboard';
|
|
19
|
+
import HideKeyboard from '../../../Keyboard/HideKeyboard';
|
|
20
|
+
import BackBtn from '../../../Button/BackBtn';
|
|
21
|
+
import { Text } from '../../../Text';
|
|
24
22
|
import { RFValue } from 'react-native-responsive-fontsize';
|
|
25
|
-
import type { ThemeOverride } from '
|
|
23
|
+
import type { ThemeOverride } from '../../../../theme/themes';
|
|
24
|
+
import { Mail } from 'lucide-react-native';
|
|
25
|
+
import BackgroundLayoutOne from '../../../BackgroundLayout/BackgroundLayoutOne';
|
|
26
|
+
import { useInternalTheme } from '../../../../theme/hook';
|
|
26
27
|
|
|
27
28
|
type FormValues = {
|
|
28
29
|
email: string;
|
|
@@ -38,10 +39,12 @@ type TextConfig = {
|
|
|
38
39
|
|
|
39
40
|
type ForgetPasswordProps = {
|
|
40
41
|
title?: string;
|
|
42
|
+
subtitle?: string;
|
|
41
43
|
onSubmit?: ({ email }: { email: string }) => Promise<void> | void;
|
|
42
44
|
onTopBackBtnPress?: () => void;
|
|
43
45
|
containerStyle?: ViewStyle;
|
|
44
46
|
titleStyle?: TextStyle;
|
|
47
|
+
subtitleStyle?: TextStyle;
|
|
45
48
|
formStyle?: ViewStyle;
|
|
46
49
|
inputStyle?: TextStyle;
|
|
47
50
|
inputContainerStyle?: ViewStyle;
|
|
@@ -69,16 +72,18 @@ type ForgetPasswordProps = {
|
|
|
69
72
|
|
|
70
73
|
const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
71
74
|
title = 'Forgot Password',
|
|
75
|
+
subtitle = 'Enter your email account to reset password',
|
|
72
76
|
onSubmit,
|
|
73
77
|
onTopBackBtnPress,
|
|
74
78
|
containerStyle,
|
|
75
79
|
titleStyle,
|
|
80
|
+
subtitleStyle,
|
|
76
81
|
formStyle,
|
|
77
82
|
inputStyle,
|
|
78
83
|
inputContainerStyle,
|
|
79
84
|
topBackBtnStyle,
|
|
80
85
|
loadingSubmitBtn = false,
|
|
81
|
-
backgroundImage,
|
|
86
|
+
// backgroundImage,
|
|
82
87
|
logoUri,
|
|
83
88
|
theme: overrideTheme,
|
|
84
89
|
text = {
|
|
@@ -104,6 +109,8 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
104
109
|
|
|
105
110
|
const { isKeyboardOpen } = useKeyboard();
|
|
106
111
|
const [isLoading, setIsLoading] = useState(false);
|
|
112
|
+
const { theme } = useInternalTheme(overrideTheme);
|
|
113
|
+
const textPrimaryColor = theme.colors.textPrimary;
|
|
107
114
|
|
|
108
115
|
const handleFormSubmit = useCallback(
|
|
109
116
|
async (data: FormValues) => {
|
|
@@ -133,19 +140,14 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
133
140
|
);
|
|
134
141
|
|
|
135
142
|
// Memoize gradient split background
|
|
136
|
-
const gradientSplitBackground = useMemo(
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
);
|
|
143
|
+
// const gradientSplitBackground = useMemo(
|
|
144
|
+
// () => (isKeyboardOpen ? (Platform.OS === 'ios' ? 0.19 : 0.14) : 0.3),
|
|
145
|
+
// [isKeyboardOpen]
|
|
146
|
+
// );
|
|
140
147
|
|
|
141
148
|
return (
|
|
142
|
-
<
|
|
143
|
-
backgroundImage={backgroundImage?.source}
|
|
144
|
-
theme={overrideTheme}
|
|
145
|
-
gradientSplitBackground={gradientSplitBackground}
|
|
146
|
-
>
|
|
149
|
+
<BackgroundLayoutOne>
|
|
147
150
|
<View style={[styles.container, containerStyle]}>
|
|
148
|
-
{/* Top Back Button */}
|
|
149
151
|
{shouldRender(renderTopBackBtn || onTopBackBtnPress) && (
|
|
150
152
|
<View style={styles.topBackBtnWrapper}>
|
|
151
153
|
{renderTopBackBtn ? (
|
|
@@ -163,24 +165,38 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
163
165
|
)}
|
|
164
166
|
<HideKeyboard>
|
|
165
167
|
<View style={styles.centerContent}>
|
|
166
|
-
{/* Logo */}
|
|
167
168
|
{renderLogo ? (
|
|
168
169
|
renderLogo()
|
|
169
170
|
) : logoUri ? (
|
|
170
171
|
<Logo logoUri={logoUri} />
|
|
171
172
|
) : null}
|
|
172
173
|
|
|
173
|
-
{/* Title */}
|
|
174
174
|
{renderForgetPasswordHeader ? (
|
|
175
175
|
renderForgetPasswordHeader()
|
|
176
176
|
) : (
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
177
|
+
<>
|
|
178
|
+
<Text
|
|
179
|
+
style={[
|
|
180
|
+
styles.title,
|
|
181
|
+
{ color: textPrimaryColor },
|
|
182
|
+
titleStyle,
|
|
183
|
+
]}
|
|
184
|
+
>
|
|
185
|
+
{title}
|
|
186
|
+
</Text>
|
|
187
|
+
|
|
188
|
+
{subtitle ? (
|
|
189
|
+
<Text
|
|
190
|
+
style={[
|
|
191
|
+
styles.subtitle,
|
|
192
|
+
{ color: textPrimaryColor },
|
|
193
|
+
subtitleStyle,
|
|
194
|
+
]}
|
|
195
|
+
>
|
|
196
|
+
{subtitle}
|
|
197
|
+
</Text>
|
|
198
|
+
) : null}
|
|
199
|
+
</>
|
|
184
200
|
)}
|
|
185
201
|
|
|
186
202
|
{/* Form */}
|
|
@@ -196,7 +212,7 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
196
212
|
},
|
|
197
213
|
}}
|
|
198
214
|
render={({ field: { onChange, onBlur, value } }) => (
|
|
199
|
-
<Input.
|
|
215
|
+
<Input.Three
|
|
200
216
|
placeholder={text.emailPlaceholder || 'Enter your email'}
|
|
201
217
|
label={text.emailLabel || 'Email'}
|
|
202
218
|
value={value}
|
|
@@ -216,6 +232,7 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
216
232
|
keyboardType="email-address"
|
|
217
233
|
autoCorrect={false}
|
|
218
234
|
testID="email-input"
|
|
235
|
+
leftIcon={<Mail size={25} />}
|
|
219
236
|
/>
|
|
220
237
|
)}
|
|
221
238
|
/>
|
|
@@ -245,7 +262,10 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
245
262
|
renderBottomInfoText()
|
|
246
263
|
) : text.bottomInfoText ? (
|
|
247
264
|
<Text
|
|
248
|
-
style={
|
|
265
|
+
style={[
|
|
266
|
+
styles.bottomInfo,
|
|
267
|
+
{ color: theme.colors.textSecondary },
|
|
268
|
+
]}
|
|
249
269
|
accessibilityRole="text"
|
|
250
270
|
testID="bottom-info-text"
|
|
251
271
|
>
|
|
@@ -257,7 +277,7 @@ const ForgetPassword: React.FC<ForgetPasswordProps> = ({
|
|
|
257
277
|
</View>
|
|
258
278
|
</HideKeyboard>
|
|
259
279
|
</View>
|
|
260
|
-
</
|
|
280
|
+
</BackgroundLayoutOne>
|
|
261
281
|
);
|
|
262
282
|
};
|
|
263
283
|
|
|
@@ -284,15 +304,22 @@ const styles = StyleSheet.create({
|
|
|
284
304
|
width: '100%',
|
|
285
305
|
alignItems: 'center',
|
|
286
306
|
justifyContent: 'center',
|
|
287
|
-
gap: verticalScale(
|
|
307
|
+
gap: verticalScale(6),
|
|
308
|
+
marginBottom: verticalScale(100),
|
|
288
309
|
},
|
|
289
310
|
title: {
|
|
290
311
|
fontSize: RFValue(23),
|
|
291
312
|
fontWeight: '700',
|
|
313
|
+
textAlign: 'center',
|
|
292
314
|
marginTop: verticalScale(12),
|
|
293
|
-
|
|
315
|
+
},
|
|
316
|
+
subtitle: {
|
|
317
|
+
fontSize: RFValue(13),
|
|
318
|
+
fontWeight: '400',
|
|
294
319
|
textAlign: 'center',
|
|
320
|
+
marginBottom: verticalScale(80),
|
|
295
321
|
},
|
|
322
|
+
|
|
296
323
|
form: {
|
|
297
324
|
width: '100%',
|
|
298
325
|
gap: verticalScale(14),
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, StyleSheet, Pressable } from 'react-native';
|
|
3
|
+
import { verticalScale } from 'react-native-size-matters';
|
|
4
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
5
|
+
import { Text } from '../../../Text';
|
|
6
|
+
import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
|
|
7
|
+
import type { ThemeOverride } from '../../../../theme/themes';
|
|
8
|
+
import AuthHeader from '../AuthHeader/AuthHeader';
|
|
9
|
+
|
|
10
|
+
type Props = {
|
|
11
|
+
activeTab: 'phone' | 'email';
|
|
12
|
+
onPhonePress?: () => void;
|
|
13
|
+
onEmailPress?: () => void;
|
|
14
|
+
onSignup?: () => void;
|
|
15
|
+
logoUri?: string;
|
|
16
|
+
title?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
bottomTitle?: string;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
theme?: ThemeOverride;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const AuthLoginShell: React.FC<Props> = ({
|
|
24
|
+
activeTab,
|
|
25
|
+
onPhonePress,
|
|
26
|
+
onEmailPress,
|
|
27
|
+
onSignup,
|
|
28
|
+
logoUri,
|
|
29
|
+
title,
|
|
30
|
+
description,
|
|
31
|
+
bottomTitle,
|
|
32
|
+
children,
|
|
33
|
+
theme: overrideTheme,
|
|
34
|
+
}) => {
|
|
35
|
+
const { theme } = useInternalTheme(overrideTheme);
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<View style={styles.wrapper}>
|
|
39
|
+
{/* ✅ Reusable Auth Header */}
|
|
40
|
+
<AuthHeader
|
|
41
|
+
logoUri={logoUri}
|
|
42
|
+
rightTitle="Sign Up"
|
|
43
|
+
onRightPress={onSignup}
|
|
44
|
+
theme={overrideTheme}
|
|
45
|
+
/>
|
|
46
|
+
|
|
47
|
+
{/* ===== Title ===== */}
|
|
48
|
+
<View style={styles.titleBlock}>
|
|
49
|
+
{title && (
|
|
50
|
+
<Text style={[styles.title, { color: theme.colors.textPrimary }]}>
|
|
51
|
+
{title}
|
|
52
|
+
</Text>
|
|
53
|
+
)}
|
|
54
|
+
{description && (
|
|
55
|
+
<Text style={[styles.subtitle, { color: theme.colors.textPrimary }]}>
|
|
56
|
+
{description}
|
|
57
|
+
</Text>
|
|
58
|
+
)}
|
|
59
|
+
</View>
|
|
60
|
+
|
|
61
|
+
{/* ===== Tabs ===== */}
|
|
62
|
+
<View style={styles.tabRow}>
|
|
63
|
+
<Pressable style={styles.tab} onPress={onPhonePress}>
|
|
64
|
+
<Text
|
|
65
|
+
style={[
|
|
66
|
+
styles.tabText,
|
|
67
|
+
{
|
|
68
|
+
color: theme.colors.textPrimary,
|
|
69
|
+
opacity: activeTab === 'phone' ? 1 : 0.6,
|
|
70
|
+
},
|
|
71
|
+
]}
|
|
72
|
+
>
|
|
73
|
+
Phone number
|
|
74
|
+
</Text>
|
|
75
|
+
|
|
76
|
+
{activeTab === 'phone' && (
|
|
77
|
+
<View
|
|
78
|
+
style={[
|
|
79
|
+
styles.activeLine,
|
|
80
|
+
{ backgroundColor: theme.colors.button },
|
|
81
|
+
]}
|
|
82
|
+
/>
|
|
83
|
+
)}
|
|
84
|
+
</Pressable>
|
|
85
|
+
|
|
86
|
+
<Pressable style={styles.tab} onPress={onEmailPress}>
|
|
87
|
+
<Text
|
|
88
|
+
style={[
|
|
89
|
+
styles.tabText,
|
|
90
|
+
{
|
|
91
|
+
color: theme.colors.textPrimary,
|
|
92
|
+
opacity: activeTab === 'email' ? 1 : 0.6,
|
|
93
|
+
},
|
|
94
|
+
]}
|
|
95
|
+
>
|
|
96
|
+
Email address
|
|
97
|
+
</Text>
|
|
98
|
+
|
|
99
|
+
{activeTab === 'email' && (
|
|
100
|
+
<View
|
|
101
|
+
style={[
|
|
102
|
+
styles.activeLine,
|
|
103
|
+
{ backgroundColor: theme.colors.button },
|
|
104
|
+
]}
|
|
105
|
+
/>
|
|
106
|
+
)}
|
|
107
|
+
</Pressable>
|
|
108
|
+
</View>
|
|
109
|
+
|
|
110
|
+
{/* ===== Content ===== */}
|
|
111
|
+
<View style={styles.center}>{children}</View>
|
|
112
|
+
|
|
113
|
+
{/* ===== Bottom Text ===== */}
|
|
114
|
+
{bottomTitle && (
|
|
115
|
+
<Text style={[styles.disclaimer, { color: theme.colors.textPrimary }]}>
|
|
116
|
+
{bottomTitle}
|
|
117
|
+
</Text>
|
|
118
|
+
)}
|
|
119
|
+
</View>
|
|
120
|
+
);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export default AuthLoginShell;
|
|
124
|
+
|
|
125
|
+
const styles = StyleSheet.create({
|
|
126
|
+
wrapper: {
|
|
127
|
+
flex: 1,
|
|
128
|
+
width: '100%',
|
|
129
|
+
alignItems: 'center',
|
|
130
|
+
},
|
|
131
|
+
titleBlock: {
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
marginBottom: verticalScale(28),
|
|
134
|
+
marginTop: verticalScale(110), // ⬅ header ke liye thoda space
|
|
135
|
+
},
|
|
136
|
+
title: {
|
|
137
|
+
fontSize: RFValue(22),
|
|
138
|
+
fontWeight: '700',
|
|
139
|
+
marginBottom: verticalScale(6),
|
|
140
|
+
},
|
|
141
|
+
subtitle: {
|
|
142
|
+
fontSize: RFValue(12),
|
|
143
|
+
textAlign: 'center',
|
|
144
|
+
},
|
|
145
|
+
tabRow: {
|
|
146
|
+
flexDirection: 'row',
|
|
147
|
+
width: '100%',
|
|
148
|
+
marginBottom: verticalScale(20),
|
|
149
|
+
},
|
|
150
|
+
tab: {
|
|
151
|
+
flex: 1,
|
|
152
|
+
alignItems: 'center',
|
|
153
|
+
marginTop: verticalScale(30),
|
|
154
|
+
},
|
|
155
|
+
tabText: {
|
|
156
|
+
fontSize: RFValue(14.5),
|
|
157
|
+
fontWeight: '600',
|
|
158
|
+
},
|
|
159
|
+
activeLine: {
|
|
160
|
+
marginTop: verticalScale(6),
|
|
161
|
+
height: 2,
|
|
162
|
+
width: '70%',
|
|
163
|
+
},
|
|
164
|
+
center: {
|
|
165
|
+
width: '100%',
|
|
166
|
+
flexGrow: 1,
|
|
167
|
+
},
|
|
168
|
+
disclaimer: {
|
|
169
|
+
marginBottom: verticalScale(45),
|
|
170
|
+
fontSize: RFValue(12.5),
|
|
171
|
+
textAlign: 'center',
|
|
172
|
+
},
|
|
173
|
+
});
|