@zezosoft/zezo-ott-react-native-ui-kit 1.1.3 → 1.1.6
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/{QrLogin → One/QrLogin}/QrLogin.js +4 -4
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.js +1 -1
- 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 +5 -2
- 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/Sliders/Styles/One.js +6 -6
- 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/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 +1 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +1 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +14 -44
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +102 -4
- 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/Content.js +28 -11
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +11 -2
- 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 +3 -1
- package/lib/module/constants/dummySections.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 +1 -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/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/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.map +1 -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.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- 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.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -0
- 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/Content.d.ts +2 -52
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +1 -52
- 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 +3 -1
- package/lib/typescript/src/constants/dummySections.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/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +9 -16
- 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.map +0 -1
- 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/Styles/globalStyles.ts +0 -70
- package/src/assets/animations/135037-payment-processing-error.json +0 -1347
- package/src/assets/animations/7227-vui-animation.json +0 -3377
- package/src/assets/animations/Failed.json +0 -2103
- package/src/assets/animations/Pending.json +0 -522
- package/src/assets/animations/Successful.json +0 -2289
- package/src/assets/animations/heart.json +0 -788
- package/src/assets/animations/succesfull-payment.json +0 -2379
- package/src/assets/animations/voice-icon.json +0 -542
- package/src/assets/img/back.png +0 -0
- package/src/assets/img/bottom-panel.png +0 -0
- package/src/assets/img/camera.png +0 -0
- package/src/assets/img/camera2.png +0 -0
- package/src/assets/img/home.png +0 -0
- package/src/assets/img/lock.png +0 -0
- package/src/assets/img/play.png +0 -0
- package/src/assets/img/profile.jpg +0 -0
- package/src/assets/img/qr-code.png +0 -0
- package/src/assets/img/shadow.png +0 -0
- package/src/assets/img/shadow2.png +0 -0
- package/src/assets/img/user.png +0 -0
- package/src/assets/svg/Account.svg +0 -4
- package/src/assets/svg/Favourite.svg +0 -14
- package/src/assets/svg/Upcoming.svg +0 -4
- package/src/assets/svg/content-error.svg +0 -28
- package/src/assets/svg/download.svg +0 -3
- package/src/assets/svg/eye-off.svg +0 -10
- package/src/assets/svg/favorites.svg +0 -3
- package/src/assets/svg/h.svg +0 -4
- package/src/assets/svg/home.svg +0 -5
- package/src/assets/svg/home1.svg +0 -3
- package/src/assets/svg/menu-bar.svg +0 -4
- package/src/assets/svg/my-space.svg +0 -14
- package/src/assets/svg/play-icon-with-bg.svg +0 -5
- package/src/assets/svg/profile.svg +0 -4
- package/src/assets/svg/search.svg +0 -5
- package/src/assets/svg/search1.svg +0 -4
- package/src/assets/svg/server-error.svg +0 -139
- package/src/components/Account/Account.tsx +0 -367
- package/src/components/Account/index.ts +0 -1
- package/src/components/Alert/AlertDialog.tsx +0 -247
- package/src/components/Alert/UAAlert.tsx +0 -170
- package/src/components/Alert/index.ts +0 -2
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +0 -415
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +0 -308
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/Login/LoginWithPhone.tsx +0 -306
- package/src/components/Auth/OTP/OTP.tsx +0 -454
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -602
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -423
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +0 -245
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +0 -92
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +0 -77
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +0 -164
- package/src/components/Auth/index.ts +0 -26
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +0 -172
- package/src/components/BlogView/BlogView.tsx +0 -276
- package/src/components/BlogView/index.ts +0 -8
- package/src/components/BlurView/BlurView.tsx +0 -199
- package/src/components/BlurView/index.ts +0 -7
- package/src/components/BottomSheet/BottomSheet.tsx +0 -195
- package/src/components/BottomSheet/index.ts +0 -2
- package/src/components/Button/BackBtn.tsx +0 -168
- package/src/components/Button/MenuBtn.tsx +0 -229
- package/src/components/Button/PrimaryBtn.tsx +0 -126
- package/src/components/Button/SecondaryBtn.tsx +0 -132
- package/src/components/Button/TextButton.tsx +0 -145
- package/src/components/Button/index.ts +0 -18
- package/src/components/Content/Card/Category/Category.tsx +0 -429
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +0 -624
- package/src/components/Content/Card/Sliders/Styles/One.tsx +0 -490
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +0 -391
- package/src/components/Content/Card/Sliders/index.ts +0 -15
- package/src/components/Content/Card/Styles/Five.tsx +0 -384
- package/src/components/Content/Card/Styles/Four.tsx +0 -378
- package/src/components/Content/Card/Styles/One.tsx +0 -385
- package/src/components/Content/Card/Styles/RotateInOut.tsx +0 -412
- package/src/components/Content/Card/Styles/Six.tsx +0 -392
- package/src/components/Content/Card/Styles/Three.tsx +0 -349
- package/src/components/Content/Card/Styles/TopTen.tsx +0 -411
- package/src/components/Content/Card/Styles/Two.tsx +0 -415
- package/src/components/Content/Card/components/AdsPoster.tsx +0 -202
- package/src/components/Content/Card/components/CardPoster.tsx +0 -258
- package/src/components/Content/Card/components/NavigateToMore.tsx +0 -69
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +0 -129
- package/src/components/Content/Card/components/ShowAllButton.tsx +0 -92
- package/src/components/Content/Card/components/ThumbnailCard.tsx +0 -234
- package/src/components/Content/Card/components/index.ts +0 -1
- package/src/components/Content/Card/index.ts +0 -30
- package/src/components/Content/Content.tsx +0 -369
- package/src/components/Content/Sections.tsx +0 -273
- package/src/components/ContentView/ContentView.tsx +0 -242
- package/src/components/ContentView/MoreContentList.tsx +0 -326
- package/src/components/ContentView/components/AboutSection.tsx +0 -216
- package/src/components/ContentView/components/CastCard.tsx +0 -265
- package/src/components/ContentView/components/EpisodeCard.tsx +0 -536
- package/src/components/ContentView/components/GenreTags.tsx +0 -132
- package/src/components/ContentView/components/HeroBanner.tsx +0 -372
- package/src/components/ContentView/components/MiniInfo.tsx +0 -292
- package/src/components/ContentView/components/PlayButton.tsx +0 -56
- package/src/components/ContentView/components/Title.tsx +0 -149
- package/src/components/ContentView/components/TrailerButton.tsx +0 -76
- package/src/components/ContentView/index.ts +0 -7
- package/src/components/Fallbacks/NoContentFallback.tsx +0 -176
- package/src/components/Fallbacks/NotFoundFallback.tsx +0 -94
- package/src/components/Fallbacks/index.ts +0 -2
- package/src/components/Headers/AppHeader.tsx +0 -150
- package/src/components/Headers/One.tsx +0 -115
- package/src/components/Headers/Three.tsx +0 -72
- package/src/components/Headers/Two.tsx +0 -100
- package/src/components/Headers/index.ts +0 -16
- package/src/components/Input/Input.ts +0 -16
- package/src/components/Input/InputOne.tsx +0 -259
- package/src/components/Input/InputTwo.tsx +0 -212
- package/src/components/Input/PhoneNumberInput.tsx +0 -429
- package/src/components/Keyboard/HideKeyboard.tsx +0 -88
- package/src/components/Loader/Loader.tsx +0 -28
- package/src/components/Logo/Logo.tsx +0 -126
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +0 -156
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +0 -234
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +0 -196
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +0 -92
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +0 -163
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +0 -210
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +0 -143
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +0 -154
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +0 -231
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +0 -432
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +0 -184
- package/src/components/Reels/ReelsSeries/components/Episodes.tsx +0 -154
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +0 -41
- package/src/components/Reels/ReelsSeries/components/Like.tsx +0 -40
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +0 -79
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +0 -332
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +0 -190
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +0 -80
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +0 -2
- package/src/components/Reels/ReelsSeries/types.ts +0 -38
- package/src/components/Reels/index.ts +0 -8
- package/src/components/Reels/utils/Controls/gestureUtils.ts +0 -42
- package/src/components/Reels/utils/Controls/index.ts +0 -4
- package/src/components/Reels/utils/Controls/overlayUtils.ts +0 -35
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +0 -25
- package/src/components/Reels/utils/Controls/videoRef.ts +0 -4
- package/src/components/Reels/utils/index.ts +0 -1
- package/src/components/Reels/utils/timeoutUtils.ts +0 -29
- package/src/components/Search/One.tsx +0 -253
- package/src/components/Search/components/RecentSearchesSection.tsx +0 -181
- package/src/components/Search/components/SearchCard.tsx +0 -218
- package/src/components/Search/index.ts +0 -16
- package/src/components/Settings/AppSettings.tsx +0 -428
- package/src/components/Settings/index.ts +0 -1
- package/src/components/Subscription/SubOne.tsx +0 -874
- package/src/components/Subscription/index.ts +0 -12
- package/src/components/TabBar/One.tsx +0 -148
- package/src/components/TabBar/Three.tsx +0 -169
- package/src/components/TabBar/Two.tsx +0 -189
- package/src/components/TabBar/index.ts +0 -20
- package/src/components/Text/Text.tsx +0 -85
- package/src/components/Text/index.ts +0 -5
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +0 -468
- package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +0 -278
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +0 -493
- package/src/components/User/WatchHistory/WatchHistory.tsx +0 -226
- package/src/components/User/WatchLater/WatchLater.tsx +0 -396
- package/src/components/User/components/UserAvatar.tsx +0 -120
- package/src/components/User/components/UserSection.tsx +0 -228
- package/src/components/User/index.ts +0 -18
- package/src/components/View/View.tsx +0 -37
- package/src/components/View/index.ts +0 -5
- package/src/components/common/AppStatusBar.tsx +0 -51
- package/src/components/index.ts +0 -28
- package/src/components/layout/SafeAreaWrapper.tsx +0 -45
- package/src/components/layout/index.ts +0 -1
- package/src/constants/dummySections.ts +0 -94
- package/src/hooks/Images/index.ts +0 -2
- package/src/hooks/Images/useImageLoader.ts +0 -206
- package/src/hooks/Images/useImageValidation.ts +0 -36
- package/src/hooks/index.ts +0 -17
- package/src/hooks/useAdTracking.ts +0 -349
- package/src/hooks/useCards.ts +0 -228
- package/src/hooks/useDebounce.ts +0 -35
- package/src/hooks/useKeyboard.ts +0 -43
- package/src/hooks/useNavigationMode.ts +0 -46
- package/src/hooks/usePaginatedSection.ts +0 -101
- package/src/hooks/usePrevious.ts +0 -28
- package/src/hooks/useSafeCallback.ts +0 -43
- package/src/hooks/useSkeletonItems.ts +0 -30
- package/src/hooks/useSplashCache.ts +0 -167
- package/src/hooks/useThemeColors.ts +0 -51
- package/src/index.tsx +0 -8
- package/src/store/RecentSearchesStore.ts +0 -78
- package/src/store/splashStore.ts +0 -91
- package/src/store/themeStore.ts +0 -43
- package/src/theme/ThemeProvider.tsx +0 -99
- package/src/theme/hook/index.ts +0 -2
- package/src/theme/hook/useInternalTheme.ts +0 -89
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- package/src/theme/index.ts +0 -7
- package/src/theme/themes.ts +0 -333
- package/src/types/content/content-view.types.ts +0 -164
- package/src/types/hook/index.ts +0 -5
- package/src/types/hook/usePaginatedSetion.ts +0 -19
- package/src/types/index.ts +0 -7
- package/src/types/sections/index.ts +0 -84
- package/src/utils/Display.ts +0 -14
- package/src/utils/Formater.ts +0 -14
- package/src/utils/PlatformSelector.ts +0 -29
- package/src/utils/SizeMatters.ts +0 -7
- package/src/utils/Spacing.ts +0 -27
- /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
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
import React, { useMemo, useCallback } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
ScrollView,
|
|
4
|
-
StyleSheet,
|
|
5
|
-
View,
|
|
6
|
-
type TextStyle,
|
|
7
|
-
type ViewStyle,
|
|
8
|
-
ActivityIndicator,
|
|
9
|
-
} from 'react-native';
|
|
10
|
-
import Markdown from 'react-native-markdown-display';
|
|
11
|
-
import { Text } from '../Text';
|
|
12
|
-
import { useInternalTheme } from '../../theme/hook/useInternalTheme';
|
|
13
|
-
import AppHeader from '../Headers/AppHeader';
|
|
14
|
-
import { scale, moderateScale } from 'react-native-size-matters';
|
|
15
|
-
import type { ITheme, ThemeOverride } from '../../theme/themes';
|
|
16
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
|
17
|
-
|
|
18
|
-
type BlogViewProps = {
|
|
19
|
-
content: string;
|
|
20
|
-
containerStyle?: ViewStyle;
|
|
21
|
-
scrollable?: boolean;
|
|
22
|
-
emptyText?: string;
|
|
23
|
-
theme?: ThemeOverride;
|
|
24
|
-
|
|
25
|
-
// Header customization
|
|
26
|
-
headerTitle?: string;
|
|
27
|
-
onBackPress?: () => void;
|
|
28
|
-
onRightPress?: () => void;
|
|
29
|
-
headerComponent?: React.ReactNode;
|
|
30
|
-
renderHeader?: () => React.ReactNode;
|
|
31
|
-
|
|
32
|
-
// Custom content
|
|
33
|
-
renderContent?: () => React.ReactNode;
|
|
34
|
-
renderEmpty?: () => React.ReactNode;
|
|
35
|
-
|
|
36
|
-
isLoading?: boolean;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export const BlogView: React.FC<BlogViewProps> = ({
|
|
40
|
-
content,
|
|
41
|
-
containerStyle,
|
|
42
|
-
scrollable = true,
|
|
43
|
-
emptyText = 'No content available.',
|
|
44
|
-
theme,
|
|
45
|
-
headerTitle = 'Blog',
|
|
46
|
-
onBackPress = () => {},
|
|
47
|
-
onRightPress,
|
|
48
|
-
headerComponent,
|
|
49
|
-
renderHeader,
|
|
50
|
-
renderContent,
|
|
51
|
-
renderEmpty,
|
|
52
|
-
isLoading = false,
|
|
53
|
-
}) => {
|
|
54
|
-
const { theme: appliedTheme, isDarkMode } = useInternalTheme(theme);
|
|
55
|
-
|
|
56
|
-
// Memoize markdown styles
|
|
57
|
-
const markdownStyles = useMemo(
|
|
58
|
-
() => getMarkdownStyles(appliedTheme, isDarkMode),
|
|
59
|
-
[appliedTheme, isDarkMode]
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
// Memoize header title style
|
|
63
|
-
const headerTitleStyle = useMemo(
|
|
64
|
-
() => ({
|
|
65
|
-
...styles.headerTitle,
|
|
66
|
-
color: appliedTheme.colors.onBackground,
|
|
67
|
-
}),
|
|
68
|
-
[appliedTheme.colors.onBackground]
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
// Memoize empty text style
|
|
72
|
-
const emptyTextStyle = useMemo(
|
|
73
|
-
() => [styles.emptyText, { color: appliedTheme.colors.onSurfaceVariant }],
|
|
74
|
-
[appliedTheme.colors.onSurfaceVariant]
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
// Memoize container style
|
|
78
|
-
const containerStyleMemo = useMemo(
|
|
79
|
-
() => [styles.flex, { backgroundColor: appliedTheme.colors.background }],
|
|
80
|
-
[appliedTheme.colors.background]
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
// Memoize scroll content style
|
|
84
|
-
const scrollContentStyle = useMemo(
|
|
85
|
-
() => [
|
|
86
|
-
styles.container,
|
|
87
|
-
containerStyle,
|
|
88
|
-
{ paddingBottom: scale(40), flexGrow: 1 },
|
|
89
|
-
],
|
|
90
|
-
[containerStyle]
|
|
91
|
-
);
|
|
92
|
-
|
|
93
|
-
const renderFinalHeader = useCallback(() => {
|
|
94
|
-
if (renderHeader) return renderHeader();
|
|
95
|
-
if (headerComponent) return headerComponent;
|
|
96
|
-
return (
|
|
97
|
-
<AppHeader
|
|
98
|
-
onBackPress={onBackPress}
|
|
99
|
-
onRightPress={onRightPress}
|
|
100
|
-
title={headerTitle}
|
|
101
|
-
titleAlign="left"
|
|
102
|
-
theme={theme}
|
|
103
|
-
titleStyle={headerTitleStyle}
|
|
104
|
-
/>
|
|
105
|
-
);
|
|
106
|
-
}, [
|
|
107
|
-
renderHeader,
|
|
108
|
-
headerComponent,
|
|
109
|
-
onBackPress,
|
|
110
|
-
onRightPress,
|
|
111
|
-
headerTitle,
|
|
112
|
-
theme,
|
|
113
|
-
headerTitleStyle,
|
|
114
|
-
]);
|
|
115
|
-
|
|
116
|
-
const renderFinalContent = useCallback(() => {
|
|
117
|
-
if (isLoading) {
|
|
118
|
-
return (
|
|
119
|
-
<View style={styles.fullCenter}>
|
|
120
|
-
<ActivityIndicator size="large" color={appliedTheme.colors.primary} />
|
|
121
|
-
</View>
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
if (renderContent) return renderContent();
|
|
126
|
-
if (content) {
|
|
127
|
-
return <Markdown style={markdownStyles}>{content}</Markdown>;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (renderEmpty) return renderEmpty();
|
|
131
|
-
|
|
132
|
-
return (
|
|
133
|
-
<View style={styles.center}>
|
|
134
|
-
<Text style={emptyTextStyle}>{emptyText}</Text>
|
|
135
|
-
</View>
|
|
136
|
-
);
|
|
137
|
-
}, [
|
|
138
|
-
isLoading,
|
|
139
|
-
renderContent,
|
|
140
|
-
content,
|
|
141
|
-
markdownStyles,
|
|
142
|
-
renderEmpty,
|
|
143
|
-
emptyText,
|
|
144
|
-
emptyTextStyle,
|
|
145
|
-
appliedTheme.colors.primary,
|
|
146
|
-
]);
|
|
147
|
-
|
|
148
|
-
return (
|
|
149
|
-
<View style={containerStyleMemo}>
|
|
150
|
-
{renderFinalHeader()}
|
|
151
|
-
{scrollable ? (
|
|
152
|
-
<ScrollView
|
|
153
|
-
style={styles.flex}
|
|
154
|
-
contentContainerStyle={scrollContentStyle}
|
|
155
|
-
showsVerticalScrollIndicator={false}
|
|
156
|
-
keyboardShouldPersistTaps="handled"
|
|
157
|
-
>
|
|
158
|
-
{renderFinalContent()}
|
|
159
|
-
</ScrollView>
|
|
160
|
-
) : (
|
|
161
|
-
<View style={[styles.container, containerStyle]}>
|
|
162
|
-
{renderFinalContent()}
|
|
163
|
-
</View>
|
|
164
|
-
)}
|
|
165
|
-
</View>
|
|
166
|
-
);
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
export default React.memo(BlogView);
|
|
170
|
-
|
|
171
|
-
const getMarkdownStyles = (
|
|
172
|
-
theme: ITheme,
|
|
173
|
-
isDarkMode: boolean
|
|
174
|
-
): { [key: string]: TextStyle } => {
|
|
175
|
-
const baseColor = theme.colors.textPrimary;
|
|
176
|
-
|
|
177
|
-
return {
|
|
178
|
-
body: { color: baseColor, fontSize: moderateScale(14) },
|
|
179
|
-
text: { color: baseColor },
|
|
180
|
-
paragraph: { color: baseColor, marginBottom: scale(8) },
|
|
181
|
-
heading1: {
|
|
182
|
-
fontSize: RFValue(21),
|
|
183
|
-
fontWeight: 'bold',
|
|
184
|
-
color: baseColor,
|
|
185
|
-
marginBottom: scale(12),
|
|
186
|
-
},
|
|
187
|
-
heading2: {
|
|
188
|
-
fontSize: RFValue(19),
|
|
189
|
-
fontWeight: 'bold',
|
|
190
|
-
color: baseColor,
|
|
191
|
-
marginBottom: scale(10),
|
|
192
|
-
},
|
|
193
|
-
heading3: {
|
|
194
|
-
fontSize: RFValue(17),
|
|
195
|
-
fontWeight: 'bold',
|
|
196
|
-
color: baseColor,
|
|
197
|
-
marginBottom: scale(8),
|
|
198
|
-
},
|
|
199
|
-
strong: { fontWeight: 'bold', color: baseColor },
|
|
200
|
-
listItem: { color: baseColor, marginBottom: scale(6) },
|
|
201
|
-
bullet_list: { color: baseColor },
|
|
202
|
-
ordered_list: { color: baseColor },
|
|
203
|
-
link: { color: theme.colors.primary },
|
|
204
|
-
blockquote: {
|
|
205
|
-
backgroundColor: isDarkMode
|
|
206
|
-
? theme.colors.surfaceVariant
|
|
207
|
-
: theme.colors.surface,
|
|
208
|
-
color: theme.colors.onSurface,
|
|
209
|
-
borderLeftWidth: scale(1.5),
|
|
210
|
-
borderLeftColor: theme.colors.primary,
|
|
211
|
-
paddingHorizontal: scale(12),
|
|
212
|
-
borderRadius: scale(4),
|
|
213
|
-
marginVertical: scale(10),
|
|
214
|
-
fontStyle: 'italic',
|
|
215
|
-
fontSize: RFValue(15),
|
|
216
|
-
},
|
|
217
|
-
code_inline: {
|
|
218
|
-
backgroundColor: theme.colors.surfaceVariant,
|
|
219
|
-
color: baseColor,
|
|
220
|
-
fontFamily: 'monospace',
|
|
221
|
-
paddingHorizontal: scale(4),
|
|
222
|
-
borderRadius: scale(4),
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
-
code_block: {
|
|
226
|
-
backgroundColor: theme.colors.surfaceVariant,
|
|
227
|
-
color: baseColor,
|
|
228
|
-
fontFamily: 'monospace',
|
|
229
|
-
padding: scale(8),
|
|
230
|
-
borderRadius: scale(6),
|
|
231
|
-
},
|
|
232
|
-
fence: {
|
|
233
|
-
backgroundColor: theme.colors.surfaceVariant,
|
|
234
|
-
color: baseColor,
|
|
235
|
-
},
|
|
236
|
-
hr: {
|
|
237
|
-
borderBottomColor: theme.colors.outline,
|
|
238
|
-
borderBottomWidth: StyleSheet.hairlineWidth,
|
|
239
|
-
marginVertical: scale(16),
|
|
240
|
-
},
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
const styles = StyleSheet.create({
|
|
245
|
-
flex: {
|
|
246
|
-
flex: 1,
|
|
247
|
-
},
|
|
248
|
-
container: {
|
|
249
|
-
padding: scale(16),
|
|
250
|
-
},
|
|
251
|
-
center: {
|
|
252
|
-
flex: 1,
|
|
253
|
-
alignItems: 'center',
|
|
254
|
-
justifyContent: 'center',
|
|
255
|
-
paddingHorizontal: scale(16),
|
|
256
|
-
},
|
|
257
|
-
fullCenter: {
|
|
258
|
-
flex: 1,
|
|
259
|
-
alignItems: 'center',
|
|
260
|
-
justifyContent: 'center',
|
|
261
|
-
paddingHorizontal: scale(16),
|
|
262
|
-
},
|
|
263
|
-
emptyText: {
|
|
264
|
-
textAlign: 'center',
|
|
265
|
-
fontSize: RFValue(13),
|
|
266
|
-
},
|
|
267
|
-
headerTitle: {
|
|
268
|
-
fontSize: RFValue(15),
|
|
269
|
-
fontWeight: '600',
|
|
270
|
-
},
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
export namespace BlogView {
|
|
274
|
-
export type Props = BlogViewProps;
|
|
275
|
-
export type Content = Props['content'];
|
|
276
|
-
}
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @author Naresh Dhamu
|
|
3
|
-
* @lastModified Thu 06 Nov 2025 at 05:00 PM
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { View, StyleSheet, type ViewStyle, type StyleProp } from 'react-native';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* BlurView Props - Same as @react-native-community/blur
|
|
11
|
-
*/
|
|
12
|
-
export interface BlurViewProps {
|
|
13
|
-
/** Style of the BlurView container */
|
|
14
|
-
style?: StyleProp<ViewStyle>;
|
|
15
|
-
|
|
16
|
-
/** The blur type (tint) - exactly matches community lib */
|
|
17
|
-
blurType?:
|
|
18
|
-
| 'dark'
|
|
19
|
-
| 'light'
|
|
20
|
-
| 'xlight'
|
|
21
|
-
| 'extraDark'
|
|
22
|
-
| 'regular'
|
|
23
|
-
| 'prominent'
|
|
24
|
-
| 'chromeMaterial'
|
|
25
|
-
| 'material'
|
|
26
|
-
| 'thickMaterial'
|
|
27
|
-
| 'thinMaterial'
|
|
28
|
-
| 'ultraThinMaterial'
|
|
29
|
-
| 'chromeMaterialDark'
|
|
30
|
-
| 'materialDark'
|
|
31
|
-
| 'thickMaterialDark'
|
|
32
|
-
| 'thinMaterialDark'
|
|
33
|
-
| 'ultraThinMaterialDark'
|
|
34
|
-
| 'chromeMaterialLight'
|
|
35
|
-
| 'materialLight'
|
|
36
|
-
| 'thickMaterialLight'
|
|
37
|
-
| 'thinMaterialLight'
|
|
38
|
-
| 'ultraThinMaterialLight';
|
|
39
|
-
|
|
40
|
-
/** The blur intensity amount (0-100) - exactly matches community lib */
|
|
41
|
-
blurAmount?: number;
|
|
42
|
-
|
|
43
|
-
/** Fallback color for reduced transparency - exactly matches community lib */
|
|
44
|
-
reducedTransparencyFallbackColor?: string;
|
|
45
|
-
|
|
46
|
-
/** iOS only: Overlay color - exactly matches community lib */
|
|
47
|
-
overlayColor?: string;
|
|
48
|
-
|
|
49
|
-
/** Android only: Downsample factor (higher = more blur but lower quality) */
|
|
50
|
-
downsampleFactor?: number;
|
|
51
|
-
|
|
52
|
-
/** Android only: Blur radius */
|
|
53
|
-
blurRadius?: number;
|
|
54
|
-
|
|
55
|
-
/** Child components */
|
|
56
|
-
children?: React.ReactNode;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Custom BlurView - 100% Compatible with @react-native-community/blur
|
|
61
|
-
*
|
|
62
|
-
* ✅ Same API as @react-native-community/blur
|
|
63
|
-
* ✅ Works on iOS, Android, and Web
|
|
64
|
-
* ✅ Drop-in replacement - just change the import
|
|
65
|
-
* 🚫 Simulates blur (no live backdrop) using semi-transparent layers
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```tsx
|
|
69
|
-
* <BlurView
|
|
70
|
-
* style={styles.blur}
|
|
71
|
-
* blurType="light"
|
|
72
|
-
* blurAmount={10}
|
|
73
|
-
* reducedTransparencyFallbackColor="white"
|
|
74
|
-
* />
|
|
75
|
-
* ```
|
|
76
|
-
*/
|
|
77
|
-
const BlurView: React.FC<BlurViewProps> = ({
|
|
78
|
-
style,
|
|
79
|
-
blurType = 'light',
|
|
80
|
-
blurAmount = 100,
|
|
81
|
-
reducedTransparencyFallbackColor,
|
|
82
|
-
overlayColor,
|
|
83
|
-
children,
|
|
84
|
-
}) => {
|
|
85
|
-
// Clamp blur amount to 0-100 range (same as community lib)
|
|
86
|
-
const intensity = Math.max(0, Math.min(100, blurAmount));
|
|
87
|
-
|
|
88
|
-
// Get tint style based on blur type
|
|
89
|
-
const tintStyle = getBlurTintStyle(
|
|
90
|
-
blurType,
|
|
91
|
-
intensity,
|
|
92
|
-
reducedTransparencyFallbackColor,
|
|
93
|
-
overlayColor
|
|
94
|
-
);
|
|
95
|
-
|
|
96
|
-
// Platform-specific rendering
|
|
97
|
-
return (
|
|
98
|
-
<View style={[styles.container, style]}>
|
|
99
|
-
{/* Background blur layer */}
|
|
100
|
-
<View style={[StyleSheet.absoluteFillObject, tintStyle]} />
|
|
101
|
-
|
|
102
|
-
{/* Content layer */}
|
|
103
|
-
<View pointerEvents="box-none" style={styles.content}>
|
|
104
|
-
{children}
|
|
105
|
-
</View>
|
|
106
|
-
</View>
|
|
107
|
-
);
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Get blur tint style based on blurType
|
|
112
|
-
* Matches the exact behavior of @react-native-community/blur
|
|
113
|
-
*/
|
|
114
|
-
function getBlurTintStyle(
|
|
115
|
-
blurType: string,
|
|
116
|
-
intensity: number,
|
|
117
|
-
fallbackColor?: string,
|
|
118
|
-
overlayColor?: string
|
|
119
|
-
): ViewStyle {
|
|
120
|
-
// If overlayColor is provided, use it (iOS behavior)
|
|
121
|
-
if (overlayColor) {
|
|
122
|
-
return { backgroundColor: overlayColor };
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Calculate opacity based on intensity (0-100)
|
|
126
|
-
// Higher intensity = more opaque = stronger blur effect
|
|
127
|
-
const opacity = Math.min(0.95, intensity / 100);
|
|
128
|
-
const lightOpacity = opacity * 0.7;
|
|
129
|
-
const darkOpacity = opacity * 0.8;
|
|
130
|
-
|
|
131
|
-
// Match exact blur types from @react-native-community/blur
|
|
132
|
-
switch (blurType) {
|
|
133
|
-
// Dark blur types
|
|
134
|
-
case 'dark':
|
|
135
|
-
return { backgroundColor: `rgba(0, 0, 0, ${darkOpacity})` };
|
|
136
|
-
case 'extraDark':
|
|
137
|
-
return {
|
|
138
|
-
backgroundColor: `rgba(0, 0, 0, ${Math.min(0.98, darkOpacity * 1.2)})`,
|
|
139
|
-
};
|
|
140
|
-
case 'materialDark':
|
|
141
|
-
case 'thickMaterialDark':
|
|
142
|
-
case 'chromeMaterialDark':
|
|
143
|
-
return { backgroundColor: `rgba(28, 28, 30, ${darkOpacity})` };
|
|
144
|
-
case 'thinMaterialDark':
|
|
145
|
-
return { backgroundColor: `rgba(28, 28, 30, ${darkOpacity * 0.7})` };
|
|
146
|
-
case 'ultraThinMaterialDark':
|
|
147
|
-
return { backgroundColor: `rgba(28, 28, 30, ${darkOpacity * 0.5})` };
|
|
148
|
-
|
|
149
|
-
// Light blur types
|
|
150
|
-
case 'light':
|
|
151
|
-
return {
|
|
152
|
-
backgroundColor:
|
|
153
|
-
fallbackColor || `rgba(255, 255, 255, ${lightOpacity})`,
|
|
154
|
-
};
|
|
155
|
-
case 'xlight':
|
|
156
|
-
return { backgroundColor: `rgba(255, 255, 255, ${lightOpacity * 0.6})` };
|
|
157
|
-
case 'materialLight':
|
|
158
|
-
case 'chromeMaterialLight':
|
|
159
|
-
return { backgroundColor: `rgba(255, 255, 255, ${lightOpacity})` };
|
|
160
|
-
case 'thickMaterialLight':
|
|
161
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity})` };
|
|
162
|
-
case 'thinMaterialLight':
|
|
163
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity * 0.7})` };
|
|
164
|
-
case 'ultraThinMaterialLight':
|
|
165
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity * 0.5})` };
|
|
166
|
-
|
|
167
|
-
// Regular/prominent types
|
|
168
|
-
case 'regular':
|
|
169
|
-
case 'prominent':
|
|
170
|
-
return { backgroundColor: `rgba(255, 255, 255, ${lightOpacity * 0.8})` };
|
|
171
|
-
case 'material':
|
|
172
|
-
case 'chromeMaterial':
|
|
173
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity})` };
|
|
174
|
-
case 'thickMaterial':
|
|
175
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity * 1.1})` };
|
|
176
|
-
case 'thinMaterial':
|
|
177
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity * 0.7})` };
|
|
178
|
-
case 'ultraThinMaterial':
|
|
179
|
-
return { backgroundColor: `rgba(242, 242, 247, ${lightOpacity * 0.5})` };
|
|
180
|
-
|
|
181
|
-
// Default
|
|
182
|
-
default:
|
|
183
|
-
return {
|
|
184
|
-
backgroundColor:
|
|
185
|
-
fallbackColor || `rgba(255, 255, 255, ${lightOpacity})`,
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
const styles = StyleSheet.create({
|
|
191
|
-
container: {
|
|
192
|
-
overflow: 'hidden',
|
|
193
|
-
},
|
|
194
|
-
content: {
|
|
195
|
-
flex: 1,
|
|
196
|
-
},
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
export default BlurView;
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useMemo } from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
TouchableOpacity,
|
|
5
|
-
StyleSheet,
|
|
6
|
-
View,
|
|
7
|
-
ScrollView,
|
|
8
|
-
Dimensions,
|
|
9
|
-
} from 'react-native';
|
|
10
|
-
import type { ViewStyle } from 'react-native';
|
|
11
|
-
import Modal from 'react-native-modal';
|
|
12
|
-
import { X } from 'lucide-react-native';
|
|
13
|
-
import { moderateScale, verticalScale } from 'react-native-size-matters';
|
|
14
|
-
import { RFValue } from 'react-native-responsive-fontsize';
|
|
15
|
-
import Animated from 'react-native-reanimated';
|
|
16
|
-
import type { ITheme } from '../../theme';
|
|
17
|
-
import { Text } from '../Text';
|
|
18
|
-
|
|
19
|
-
const { height: SCREEN_HEIGHT } = Dimensions.get('window');
|
|
20
|
-
|
|
21
|
-
export interface BottomSheetProps {
|
|
22
|
-
theme: ITheme;
|
|
23
|
-
children: ReactNode;
|
|
24
|
-
title?: string;
|
|
25
|
-
height?: string | number;
|
|
26
|
-
showCloseButton?: boolean;
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
onClose?: () => void;
|
|
29
|
-
handleIndicatorStyle?: ViewStyle;
|
|
30
|
-
scrollable?: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const BottomSheet: React.FC<BottomSheetProps> = ({
|
|
34
|
-
theme,
|
|
35
|
-
children,
|
|
36
|
-
title,
|
|
37
|
-
height,
|
|
38
|
-
showCloseButton = true,
|
|
39
|
-
visible = false,
|
|
40
|
-
onClose,
|
|
41
|
-
handleIndicatorStyle,
|
|
42
|
-
scrollable = true,
|
|
43
|
-
}) => {
|
|
44
|
-
const calculatedHeight = useMemo(() => {
|
|
45
|
-
if (!height) return SCREEN_HEIGHT * 0.75;
|
|
46
|
-
|
|
47
|
-
if (typeof height === 'number') return height;
|
|
48
|
-
|
|
49
|
-
if (typeof height === 'string' && height.includes('%')) {
|
|
50
|
-
const num = parseFloat(height);
|
|
51
|
-
if (!isNaN(num)) {
|
|
52
|
-
return (num / 100) * SCREEN_HEIGHT;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return SCREEN_HEIGHT * 0.75;
|
|
57
|
-
}, [height]);
|
|
58
|
-
|
|
59
|
-
const handleClosePress = useCallback(() => {
|
|
60
|
-
onClose?.();
|
|
61
|
-
}, [onClose]);
|
|
62
|
-
|
|
63
|
-
const renderHeader = useMemo(() => {
|
|
64
|
-
if (title) {
|
|
65
|
-
return (
|
|
66
|
-
<Text style={[styles.title, { color: theme.colors.textPrimary }]}>
|
|
67
|
-
{title}
|
|
68
|
-
</Text>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
return null;
|
|
72
|
-
}, [title, theme.colors.textPrimary]);
|
|
73
|
-
|
|
74
|
-
const renderCloseButton = useMemo(() => {
|
|
75
|
-
if (!showCloseButton) return null;
|
|
76
|
-
return (
|
|
77
|
-
<TouchableOpacity
|
|
78
|
-
onPress={handleClosePress}
|
|
79
|
-
style={[
|
|
80
|
-
styles.closeButtonWrapper,
|
|
81
|
-
{ backgroundColor: theme.colors.button },
|
|
82
|
-
]}
|
|
83
|
-
activeOpacity={0.8}
|
|
84
|
-
>
|
|
85
|
-
<X size={moderateScale(16)} color={theme.colors.buttonText} />
|
|
86
|
-
</TouchableOpacity>
|
|
87
|
-
);
|
|
88
|
-
}, [showCloseButton, handleClosePress, theme.colors]);
|
|
89
|
-
|
|
90
|
-
return (
|
|
91
|
-
<Modal
|
|
92
|
-
isVisible={visible}
|
|
93
|
-
onBackdropPress={handleClosePress}
|
|
94
|
-
onSwipeComplete={handleClosePress}
|
|
95
|
-
style={styles.modal}
|
|
96
|
-
backdropOpacity={0.45}
|
|
97
|
-
// swipeDirection="down"
|
|
98
|
-
animationIn="slideInUp"
|
|
99
|
-
animationOut="slideOutDown"
|
|
100
|
-
animationInTiming={260}
|
|
101
|
-
animationOutTiming={220}
|
|
102
|
-
useNativeDriver
|
|
103
|
-
useNativeDriverForBackdrop
|
|
104
|
-
propagateSwipe
|
|
105
|
-
avoidKeyboard
|
|
106
|
-
statusBarTranslucent={false}
|
|
107
|
-
hardwareAccelerated
|
|
108
|
-
>
|
|
109
|
-
<Animated.View
|
|
110
|
-
style={[
|
|
111
|
-
styles.bottomSheetContainer,
|
|
112
|
-
{
|
|
113
|
-
backgroundColor: theme.colors.background,
|
|
114
|
-
maxHeight: calculatedHeight,
|
|
115
|
-
},
|
|
116
|
-
]}
|
|
117
|
-
>
|
|
118
|
-
{renderCloseButton}
|
|
119
|
-
<View
|
|
120
|
-
style={[
|
|
121
|
-
styles.handleIndicator,
|
|
122
|
-
{ backgroundColor: theme.colors.button },
|
|
123
|
-
handleIndicatorStyle,
|
|
124
|
-
]}
|
|
125
|
-
/>
|
|
126
|
-
|
|
127
|
-
{scrollable ? (
|
|
128
|
-
<ScrollView
|
|
129
|
-
showsVerticalScrollIndicator={false}
|
|
130
|
-
bounces={false}
|
|
131
|
-
nestedScrollEnabled
|
|
132
|
-
keyboardShouldPersistTaps="handled"
|
|
133
|
-
contentContainerStyle={styles.scrollContent}
|
|
134
|
-
>
|
|
135
|
-
{renderHeader}
|
|
136
|
-
{children}
|
|
137
|
-
</ScrollView>
|
|
138
|
-
) : (
|
|
139
|
-
<View style={styles.viewContent}>
|
|
140
|
-
{renderHeader}
|
|
141
|
-
{children}
|
|
142
|
-
</View>
|
|
143
|
-
)}
|
|
144
|
-
</Animated.View>
|
|
145
|
-
</Modal>
|
|
146
|
-
);
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export default BottomSheet;
|
|
150
|
-
|
|
151
|
-
const styles = StyleSheet.create({
|
|
152
|
-
modal: {
|
|
153
|
-
justifyContent: 'flex-end',
|
|
154
|
-
margin: 0,
|
|
155
|
-
},
|
|
156
|
-
bottomSheetContainer: {
|
|
157
|
-
borderTopLeftRadius: moderateScale(22),
|
|
158
|
-
borderTopRightRadius: moderateScale(22),
|
|
159
|
-
overflow: 'hidden',
|
|
160
|
-
position: 'relative',
|
|
161
|
-
flex: 1,
|
|
162
|
-
},
|
|
163
|
-
handleIndicator: {
|
|
164
|
-
width: moderateScale(45),
|
|
165
|
-
height: verticalScale(4),
|
|
166
|
-
borderRadius: moderateScale(3),
|
|
167
|
-
alignSelf: 'center',
|
|
168
|
-
marginVertical: verticalScale(10),
|
|
169
|
-
},
|
|
170
|
-
scrollContent: {
|
|
171
|
-
flex: 1,
|
|
172
|
-
paddingBottom: verticalScale(30),
|
|
173
|
-
paddingHorizontal: moderateScale(12),
|
|
174
|
-
},
|
|
175
|
-
viewContent: {
|
|
176
|
-
paddingBottom: verticalScale(10),
|
|
177
|
-
paddingHorizontal: moderateScale(12),
|
|
178
|
-
flex: 1,
|
|
179
|
-
},
|
|
180
|
-
closeButtonWrapper: {
|
|
181
|
-
position: 'absolute',
|
|
182
|
-
top: verticalScale(10),
|
|
183
|
-
right: moderateScale(14),
|
|
184
|
-
borderRadius: moderateScale(18),
|
|
185
|
-
padding: moderateScale(6),
|
|
186
|
-
zIndex: 1000,
|
|
187
|
-
elevation: 10,
|
|
188
|
-
},
|
|
189
|
-
title: {
|
|
190
|
-
fontSize: RFValue(16),
|
|
191
|
-
fontWeight: '700',
|
|
192
|
-
textAlign: 'center',
|
|
193
|
-
marginBottom: verticalScale(15),
|
|
194
|
-
},
|
|
195
|
-
});
|