@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.3
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/LICENSE +0 -0
- package/README.md +6 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
- package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
- package/lib/module/assets/animations/succesfull-payment.json +2379 -1
- package/lib/module/assets/animations/voice-icon.json +542 -1
- package/lib/module/components/Account/Account.js +6 -6
- package/lib/module/components/Account/Account.js.map +1 -1
- package/lib/module/components/Account/index.js +1 -1
- package/lib/module/components/Account/index.js.map +1 -1
- package/lib/module/components/Alert/UAAlert.js +138 -0
- package/lib/module/components/Alert/UAAlert.js.map +1 -0
- package/lib/module/components/Alert/index.js +4 -0
- package/lib/module/components/Alert/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
- package/lib/module/components/Auth/OTP/OTP.js +9 -9
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
- package/lib/module/components/Auth/index.js +6 -6
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BlogView/BlogView.js +4 -10
- package/lib/module/components/BlogView/BlogView.js.map +1 -1
- package/lib/module/components/BlogView/index.js +1 -1
- package/lib/module/components/BlogView/index.js.map +1 -1
- package/lib/module/components/Button/BackBtn.js +1 -1
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Button/MenuBtn.js +1 -1
- package/lib/module/components/Button/MenuBtn.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +2 -2
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Button/TextButton.js +2 -2
- package/lib/module/components/Button/TextButton.js.map +1 -1
- package/lib/module/components/Button/index.js +3 -3
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +2 -2
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +2 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +4 -4
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +4 -4
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +4 -4
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +5 -5
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +4 -4
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +4 -4
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
- package/lib/module/components/Content/Card/index.js +10 -10
- package/lib/module/components/Content/Card/index.js.map +1 -1
- package/lib/module/components/Content/Content.js +4 -4
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +2 -2
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/ContentView.js +8 -9
- package/lib/module/components/ContentView/ContentView.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js +6 -6
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/AboutSection.js +2 -2
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -2
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
- package/lib/module/components/ContentView/components/PlayButton.js +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
- package/lib/module/components/ContentView/index.js +2 -2
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/AppHeader.js +2 -2
- package/lib/module/components/Headers/AppHeader.js.map +1 -1
- package/lib/module/components/Headers/One.js +2 -2
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +2 -2
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +5 -6
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -3
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +3 -3
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputOne.js +1 -1
- package/lib/module/components/Input/InputOne.js.map +1 -1
- package/lib/module/components/Input/InputTwo.js +1 -1
- package/lib/module/components/Input/InputTwo.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js +1 -1
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
- package/lib/module/components/Loader/Loader.js +1 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +2 -2
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Search/One.js +9 -9
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +3 -3
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/Search/index.js +2 -2
- package/lib/module/components/Search/index.js.map +1 -1
- package/lib/module/components/Settings/AppSettings.js +4 -4
- package/lib/module/components/Settings/AppSettings.js.map +1 -1
- package/lib/module/components/Settings/index.js +1 -1
- package/lib/module/components/Settings/index.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +4 -4
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/Subscription/index.js +1 -1
- package/lib/module/components/Subscription/index.js.map +1 -1
- package/lib/module/components/TabBar/One.js +2 -2
- package/lib/module/components/TabBar/One.js.map +1 -1
- package/lib/module/components/TabBar/Three.js +1 -1
- package/lib/module/components/TabBar/Three.js.map +1 -1
- package/lib/module/components/TabBar/Two.js +2 -2
- package/lib/module/components/TabBar/Two.js.map +1 -1
- package/lib/module/components/TabBar/index.js +3 -3
- package/lib/module/components/TabBar/index.js.map +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/Text.js.map +1 -1
- package/lib/module/components/Text/index.js +1 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/User/components/UserAvatar.js +1 -1
- package/lib/module/components/User/components/UserAvatar.js.map +1 -1
- package/lib/module/components/User/components/UserSection.js +3 -3
- package/lib/module/components/User/components/UserSection.js.map +1 -1
- package/lib/module/components/User/index.js +3 -3
- package/lib/module/components/User/index.js.map +1 -1
- package/lib/module/components/View/View.js.map +1 -1
- package/lib/module/components/View/index.js +1 -1
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/components/index.js +19 -18
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
- package/lib/module/components/layout/index.js +1 -1
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/useDebounce.js.map +1 -1
- package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
- package/lib/module/hooks/useKeyboard.js.map +1 -1
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -1
- package/lib/module/store/splashStore.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +11 -8
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/useTheme.js +2 -2
- package/lib/module/theme/hook/useTheme.js.map +1 -1
- package/lib/module/theme/index.js +3 -2
- package/lib/module/theme/index.js.map +1 -1
- package/lib/module/theme/themes.js +0 -13
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +0 -1
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
- package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
- package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert/index.d.ts +2 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
- package/lib/typescript/src/components/Auth/index.d.ts +1 -1
- 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/BlogView/BlogView.d.ts +0 -4
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- 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/Two.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/Six.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 +0 -8
- 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.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
- package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.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/User/components/UserAvatar.d.ts.map +1 -1
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
- package/lib/typescript/src/components/View/View.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/components/layout/SafeAreaWrapper.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
- package/lib/typescript/src/store/splashStore.d.ts +5 -3
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/index.d.ts +5 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +11 -4
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
- package/package.json +167 -70
- package/src/Styles/globalStyles.ts +18 -18
- package/src/assets/animations/135037-payment-processing-error.json +1347 -1
- package/src/assets/animations/7227-vui-animation.json +3377 -1
- package/src/assets/animations/succesfull-payment.json +2379 -1
- package/src/assets/animations/voice-icon.json +542 -1
- package/src/components/Account/Account.tsx +139 -61
- package/src/components/Alert/UAAlert.tsx +168 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
- package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
- package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
- package/src/components/Auth/OTP/OTP.tsx +77 -32
- package/src/components/Auth/SignUp/SignUp.tsx +67 -32
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
- package/src/components/Auth/index.ts +1 -1
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
- package/src/components/BlogView/BlogView.tsx +51 -31
- package/src/components/Button/BackBtn.tsx +31 -9
- package/src/components/Button/MenuBtn.tsx +61 -22
- package/src/components/Button/PrimaryBtn.tsx +30 -10
- package/src/components/Button/TextButton.tsx +30 -15
- package/src/components/Button/index.ts +1 -1
- package/src/components/Content/Card/Category/Category.tsx +73 -32
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
- package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
- package/src/components/Content/Card/Sliders/index.ts +2 -2
- package/src/components/Content/Card/Styles/Five.tsx +65 -22
- package/src/components/Content/Card/Styles/Four.tsx +73 -23
- package/src/components/Content/Card/Styles/One.tsx +68 -21
- package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
- package/src/components/Content/Card/Styles/Six.tsx +57 -19
- package/src/components/Content/Card/Styles/Three.tsx +59 -23
- package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
- package/src/components/Content/Card/Styles/Two.tsx +39 -18
- package/src/components/Content/Card/components/CardPoster.tsx +34 -32
- package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
- package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
- package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
- package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
- package/src/components/Content/Card/index.ts +2 -2
- package/src/components/Content/Content.tsx +41 -17
- package/src/components/Content/Sections.tsx +14 -8
- package/src/components/ContentView/ContentView.tsx +34 -27
- package/src/components/ContentView/MoreContentList.tsx +40 -18
- package/src/components/ContentView/components/AboutSection.tsx +30 -12
- package/src/components/ContentView/components/CastCard.tsx +65 -24
- package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
- package/src/components/ContentView/components/GenreTags.tsx +35 -11
- package/src/components/ContentView/components/HeroBanner.tsx +52 -21
- package/src/components/ContentView/components/PlayButton.tsx +13 -5
- package/src/components/ContentView/components/Title.tsx +30 -10
- package/src/components/ContentView/components/TrailerButton.tsx +16 -7
- package/src/components/Headers/AppHeader.tsx +40 -14
- package/src/components/Headers/One.tsx +18 -9
- package/src/components/Headers/Three.tsx +22 -7
- package/src/components/Headers/Two.tsx +24 -13
- package/src/components/Headers/index.ts +1 -1
- package/src/components/Input/Input.ts +1 -1
- package/src/components/Input/InputOne.tsx +69 -23
- package/src/components/Input/InputTwo.tsx +41 -18
- package/src/components/Input/PhoneNumberInput.tsx +94 -48
- package/src/components/Keyboard/HideKeyboard.tsx +16 -10
- package/src/components/Loader/Loader.tsx +3 -8
- package/src/components/Logo/Logo.tsx +17 -9
- package/src/components/Search/One.tsx +46 -17
- package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
- package/src/components/Search/components/SearchCard.tsx +34 -16
- package/src/components/Search/index.ts +1 -1
- package/src/components/Settings/AppSettings.tsx +80 -29
- package/src/components/Subscription/SubOne.tsx +84 -39
- package/src/components/Subscription/index.ts +1 -1
- package/src/components/TabBar/One.tsx +22 -18
- package/src/components/TabBar/Three.tsx +55 -19
- package/src/components/TabBar/Two.tsx +16 -12
- package/src/components/TabBar/index.ts +1 -1
- package/src/components/Text/Text.tsx +7 -3
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +93 -38
- package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
- package/src/components/User/WatchLater/WatchLater.tsx +94 -31
- package/src/components/User/components/UserAvatar.tsx +8 -4
- package/src/components/User/components/UserSection.tsx +34 -19
- package/src/components/View/View.tsx +11 -2
- package/src/components/index.ts +1 -0
- package/src/components/layout/SafeAreaWrapper.tsx +10 -4
- package/src/constants/dummySections.ts +9 -7
- package/src/hooks/useDebounce.ts +4 -1
- package/src/hooks/useInitSplashCacheSync.ts +46 -18
- package/src/hooks/useKeyboard.ts +5 -3
- package/src/hooks/usePaginatedSection.ts +11 -7
- package/src/store/RecentSearchesStore.ts +12 -7
- package/src/store/splashStore.ts +16 -16
- package/src/theme/ThemeProvider.tsx +50 -20
- package/src/theme/hook/useTheme.ts +7 -3
- package/src/theme/index.ts +6 -0
- package/src/theme/themes.ts +42 -31
- package/src/types/content/content-view.types.ts +4 -1
- package/src/types/hook/usePaginatedSetion.ts +1 -1
- package/lib/module/components/Icons/AlertIcon.js +0 -33
- package/lib/module/components/Icons/AlertIcon.js.map +0 -1
- package/lib/module/components/Icons/DeviceIcon.js +0 -25
- package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
- package/lib/module/components/Icons/NewIndex.js +0 -36
- package/lib/module/components/Icons/NewIndex.js.map +0 -1
- package/lib/module/components/Icons/ResendOTP.js +0 -21
- package/lib/module/components/Icons/ResendOTP.js.map +0 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
- package/src/components/Icons/AlertIcon.tsx +0 -18
- package/src/components/Icons/DeviceIcon.tsx +0 -18
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
- package/src/components/Icons/NewIndex.ts +0 -35
- package/src/components/Icons/ResendOTP.tsx +0 -13
- /package/src/{index.ts → index.tsx} +0 -0
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
View,
|
|
9
|
+
StyleSheet,
|
|
10
|
+
type StyleProp,
|
|
11
|
+
type ViewStyle,
|
|
12
|
+
type TextStyle,
|
|
13
|
+
} from 'react-native';
|
|
8
14
|
import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
|
|
9
15
|
import { scale } from 'react-native-size-matters';
|
|
10
16
|
import { Text } from '../../Text';
|
|
@@ -26,7 +32,14 @@ type Props = {
|
|
|
26
32
|
};
|
|
27
33
|
};
|
|
28
34
|
|
|
29
|
-
export const Title = ({
|
|
35
|
+
export const Title = ({
|
|
36
|
+
title,
|
|
37
|
+
subtitle,
|
|
38
|
+
rating,
|
|
39
|
+
theme,
|
|
40
|
+
isLoading = false,
|
|
41
|
+
style,
|
|
42
|
+
}: Props): React.ReactElement => {
|
|
30
43
|
if (isLoading) {
|
|
31
44
|
return (
|
|
32
45
|
<View style={StyleSheet.flatten([styles.container, style?.container])}>
|
|
@@ -37,7 +50,11 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
|
|
|
37
50
|
<SkeletonPlaceholder.Item>
|
|
38
51
|
{/* Title & Subtitle */}
|
|
39
52
|
<SkeletonPlaceholder.Item flexDirection="row" alignItems="center">
|
|
40
|
-
<SkeletonPlaceholder.Item
|
|
53
|
+
<SkeletonPlaceholder.Item
|
|
54
|
+
width={scale(160)}
|
|
55
|
+
height={scale(22)}
|
|
56
|
+
borderRadius={scale(4)}
|
|
57
|
+
/>
|
|
41
58
|
<SkeletonPlaceholder.Item
|
|
42
59
|
width={scale(60)}
|
|
43
60
|
height={scale(22)}
|
|
@@ -84,7 +101,10 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
|
|
|
84
101
|
</View>
|
|
85
102
|
|
|
86
103
|
{!!rating && (
|
|
87
|
-
<Text
|
|
104
|
+
<Text
|
|
105
|
+
color={theme.colors.textSecondary}
|
|
106
|
+
style={StyleSheet.flatten([styles.rating, style?.rating])}
|
|
107
|
+
>
|
|
88
108
|
⭐ {rating}
|
|
89
109
|
</Text>
|
|
90
110
|
)}
|
|
@@ -95,27 +115,27 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
|
|
|
95
115
|
const styles = StyleSheet.create({
|
|
96
116
|
container: {
|
|
97
117
|
paddingHorizontal: scale(12),
|
|
98
|
-
marginTop: scale(5)
|
|
118
|
+
marginTop: scale(5),
|
|
99
119
|
},
|
|
100
120
|
row: {
|
|
101
121
|
flexDirection: 'row',
|
|
102
122
|
alignItems: 'center',
|
|
103
|
-
maxWidth: '100%'
|
|
123
|
+
maxWidth: '100%',
|
|
104
124
|
},
|
|
105
125
|
title: {
|
|
106
126
|
fontSize: RFValue(17),
|
|
107
127
|
fontWeight: 'bold',
|
|
108
128
|
flexShrink: 1,
|
|
109
|
-
maxWidth: '60%'
|
|
129
|
+
maxWidth: '60%',
|
|
110
130
|
},
|
|
111
131
|
subTitle: {
|
|
112
132
|
fontSize: RFValue(17),
|
|
113
133
|
marginLeft: scale(4),
|
|
114
134
|
flexShrink: 1,
|
|
115
|
-
maxWidth: '40%'
|
|
135
|
+
maxWidth: '40%',
|
|
116
136
|
},
|
|
117
137
|
rating: {
|
|
118
138
|
fontSize: RFValue(13),
|
|
119
|
-
marginTop: scale(4)
|
|
120
|
-
}
|
|
139
|
+
marginTop: scale(4),
|
|
140
|
+
},
|
|
121
141
|
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { PlayCircle } from 'lucide-react-native';
|
|
7
|
-
import
|
|
8
|
-
|
|
7
|
+
import {
|
|
8
|
+
TouchableOpacity,
|
|
9
|
+
StyleSheet,
|
|
10
|
+
type GestureResponderEvent,
|
|
11
|
+
type TextStyle,
|
|
12
|
+
type ViewStyle,
|
|
13
|
+
} from 'react-native';
|
|
9
14
|
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
10
15
|
import { Text } from '../../Text';
|
|
11
16
|
|
|
@@ -26,10 +31,14 @@ export const TrailerButton = ({
|
|
|
26
31
|
iconColor = '#000',
|
|
27
32
|
backgroundColor = '#FFD700',
|
|
28
33
|
textStyle,
|
|
29
|
-
style
|
|
34
|
+
style,
|
|
30
35
|
}: Props) => {
|
|
31
36
|
return (
|
|
32
|
-
<TouchableOpacity
|
|
37
|
+
<TouchableOpacity
|
|
38
|
+
onPress={onPress}
|
|
39
|
+
activeOpacity={0.8}
|
|
40
|
+
style={[styles.button, { backgroundColor }, style]}
|
|
41
|
+
>
|
|
33
42
|
<PlayCircle size={iconSize} color={iconColor} />
|
|
34
43
|
<Text style={[styles.text, textStyle]}> {label}</Text>
|
|
35
44
|
</TouchableOpacity>
|
|
@@ -42,12 +51,12 @@ const styles = StyleSheet.create({
|
|
|
42
51
|
paddingVertical: verticalScale(3),
|
|
43
52
|
paddingHorizontal: scale(6),
|
|
44
53
|
borderRadius: moderateScale(20),
|
|
45
|
-
alignItems: 'center'
|
|
54
|
+
alignItems: 'center',
|
|
46
55
|
},
|
|
47
56
|
text: {
|
|
48
57
|
color: '#000',
|
|
49
58
|
fontWeight: '600',
|
|
50
59
|
fontSize: scale(12),
|
|
51
|
-
marginLeft: scale(2)
|
|
52
|
-
}
|
|
60
|
+
marginLeft: scale(2),
|
|
61
|
+
},
|
|
53
62
|
});
|
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
* @lastModified Sat 21 Jun 2025 at 02:52 PM
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
View,
|
|
8
|
+
StyleSheet,
|
|
9
|
+
TouchableOpacity,
|
|
10
|
+
type StyleProp,
|
|
11
|
+
type ViewStyle,
|
|
12
|
+
type TextStyle,
|
|
13
|
+
} from 'react-native';
|
|
7
14
|
import { ArrowLeft } from 'lucide-react-native';
|
|
8
15
|
import { useTheme } from '../../theme/hook/useTheme';
|
|
9
16
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
@@ -30,28 +37,43 @@ const AppHeader: React.FC<AppHeaderProps> = ({
|
|
|
30
37
|
style,
|
|
31
38
|
titleStyle,
|
|
32
39
|
titleAlign = 'center',
|
|
33
|
-
theme
|
|
40
|
+
theme,
|
|
34
41
|
}) => {
|
|
35
42
|
const { theme: appliedTheme } = useTheme(theme);
|
|
36
43
|
|
|
37
44
|
return (
|
|
38
|
-
<View
|
|
45
|
+
<View
|
|
46
|
+
style={[
|
|
47
|
+
styles.header,
|
|
48
|
+
{ backgroundColor: appliedTheme.colors.background },
|
|
49
|
+
style,
|
|
50
|
+
]}
|
|
51
|
+
>
|
|
39
52
|
{/* Left icon */}
|
|
40
53
|
{onBackPress && (
|
|
41
|
-
<TouchableOpacity
|
|
54
|
+
<TouchableOpacity
|
|
55
|
+
onPress={onBackPress}
|
|
56
|
+
activeOpacity={0.7}
|
|
57
|
+
style={styles.iconButton}
|
|
58
|
+
>
|
|
42
59
|
<ArrowLeft size={scale(22)} color={appliedTheme.colors.textPrimary} />
|
|
43
60
|
</TouchableOpacity>
|
|
44
61
|
)}
|
|
45
62
|
|
|
46
63
|
{/* Title */}
|
|
47
|
-
<View
|
|
64
|
+
<View
|
|
65
|
+
style={[
|
|
66
|
+
styles.titleWrapper,
|
|
67
|
+
titleAlign === 'center' ? styles.centered : styles.leftAligned,
|
|
68
|
+
]}
|
|
69
|
+
>
|
|
48
70
|
<Text
|
|
49
71
|
numberOfLines={1}
|
|
50
72
|
style={[
|
|
51
73
|
{ color: appliedTheme.colors.onBackground },
|
|
52
74
|
!onBackPress && { ...titleStyle },
|
|
53
75
|
titleStyle,
|
|
54
|
-
styles.title
|
|
76
|
+
styles.title,
|
|
55
77
|
]}
|
|
56
78
|
>
|
|
57
79
|
{title}
|
|
@@ -60,7 +82,11 @@ const AppHeader: React.FC<AppHeaderProps> = ({
|
|
|
60
82
|
|
|
61
83
|
{/* Right icon */}
|
|
62
84
|
{rightIcon ? (
|
|
63
|
-
<TouchableOpacity
|
|
85
|
+
<TouchableOpacity
|
|
86
|
+
onPress={onRightPress}
|
|
87
|
+
activeOpacity={0.7}
|
|
88
|
+
style={styles.iconButton}
|
|
89
|
+
>
|
|
64
90
|
{rightIcon}
|
|
65
91
|
</TouchableOpacity>
|
|
66
92
|
) : (
|
|
@@ -78,7 +104,7 @@ const styles = StyleSheet.create({
|
|
|
78
104
|
paddingHorizontal: scale(12),
|
|
79
105
|
paddingBottom: verticalScale(4),
|
|
80
106
|
flexDirection: 'row',
|
|
81
|
-
alignItems: 'center'
|
|
107
|
+
alignItems: 'center',
|
|
82
108
|
},
|
|
83
109
|
iconButton: {
|
|
84
110
|
width: scale(42),
|
|
@@ -87,22 +113,22 @@ const styles = StyleSheet.create({
|
|
|
87
113
|
justifyContent: 'center',
|
|
88
114
|
alignItems: 'center',
|
|
89
115
|
overflow: 'hidden',
|
|
90
|
-
backgroundColor: 'transparent'
|
|
116
|
+
backgroundColor: 'transparent',
|
|
91
117
|
},
|
|
92
118
|
titleWrapper: {
|
|
93
119
|
flex: 1,
|
|
94
|
-
justifyContent: 'center'
|
|
120
|
+
justifyContent: 'center',
|
|
95
121
|
},
|
|
96
122
|
centered: {
|
|
97
|
-
alignItems: 'center'
|
|
123
|
+
alignItems: 'center',
|
|
98
124
|
},
|
|
99
125
|
leftAligned: {
|
|
100
126
|
alignItems: 'flex-start',
|
|
101
|
-
paddingLeft: scale(2)
|
|
127
|
+
paddingLeft: scale(2),
|
|
102
128
|
},
|
|
103
129
|
title: {
|
|
104
130
|
fontSize: RFValue(14),
|
|
105
131
|
textTransform: 'capitalize',
|
|
106
|
-
fontWeight: '500'
|
|
107
|
-
}
|
|
132
|
+
fontWeight: '500',
|
|
133
|
+
},
|
|
108
134
|
});
|
|
@@ -9,7 +9,10 @@ import { scale, verticalScale } from 'react-native-size-matters';
|
|
|
9
9
|
import { Logo } from '../Logo/Logo';
|
|
10
10
|
import type { AppTheme } from '../../theme/themes';
|
|
11
11
|
import { useTheme } from '../../theme/hook/useTheme';
|
|
12
|
-
import {
|
|
12
|
+
import {
|
|
13
|
+
Menu as DefaultMenuIcon,
|
|
14
|
+
Search as DefaultSearchIcon,
|
|
15
|
+
} from 'lucide-react-native';
|
|
13
16
|
|
|
14
17
|
export interface HeaderOneProps {
|
|
15
18
|
theme?: AppTheme;
|
|
@@ -29,7 +32,7 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
|
|
|
29
32
|
onMenuPress,
|
|
30
33
|
|
|
31
34
|
onSearchPress,
|
|
32
|
-
isLoading
|
|
35
|
+
isLoading,
|
|
33
36
|
}) => {
|
|
34
37
|
const { theme: appliedTheme } = useTheme(theme);
|
|
35
38
|
|
|
@@ -53,7 +56,10 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
|
|
|
53
56
|
<Pressable
|
|
54
57
|
onPress={onMenuPress}
|
|
55
58
|
android_ripple={{ color: rippleColor, borderless: true }}
|
|
56
|
-
style={({ pressed }) => [
|
|
59
|
+
style={({ pressed }) => [
|
|
60
|
+
styles.iconPressable,
|
|
61
|
+
pressed && { backgroundColor: pressedBackgroundColor },
|
|
62
|
+
]}
|
|
57
63
|
>
|
|
58
64
|
{MemoMenuIcon}
|
|
59
65
|
</Pressable>
|
|
@@ -72,7 +78,10 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
|
|
|
72
78
|
<Pressable
|
|
73
79
|
onPress={onSearchPress}
|
|
74
80
|
android_ripple={{ color: rippleColor, borderless: true }}
|
|
75
|
-
style={({ pressed }) => [
|
|
81
|
+
style={({ pressed }) => [
|
|
82
|
+
styles.iconPressable,
|
|
83
|
+
pressed && { backgroundColor: pressedBackgroundColor },
|
|
84
|
+
]}
|
|
76
85
|
>
|
|
77
86
|
{MemoSearchIcon}
|
|
78
87
|
</Pressable>
|
|
@@ -88,19 +97,19 @@ const styles = StyleSheet.create({
|
|
|
88
97
|
justifyContent: 'space-between',
|
|
89
98
|
alignItems: 'center',
|
|
90
99
|
paddingHorizontal: scale(8),
|
|
91
|
-
height: verticalScale(40)
|
|
100
|
+
height: verticalScale(40),
|
|
92
101
|
},
|
|
93
102
|
leftContainer: {
|
|
94
103
|
flexDirection: 'row',
|
|
95
104
|
alignItems: 'center',
|
|
96
|
-
gap: scale(10)
|
|
105
|
+
gap: scale(10),
|
|
97
106
|
},
|
|
98
107
|
logo: {
|
|
99
108
|
alignItems: 'center',
|
|
100
|
-
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
|
|
109
|
+
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
|
|
101
110
|
},
|
|
102
111
|
iconPressable: {
|
|
103
112
|
padding: scale(6),
|
|
104
|
-
borderRadius: scale(20)
|
|
105
|
-
}
|
|
113
|
+
borderRadius: scale(20),
|
|
114
|
+
},
|
|
106
115
|
});
|
|
@@ -16,13 +16,28 @@ export interface HeaderThreeProps {
|
|
|
16
16
|
isLoading?: boolean;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
const HeaderThree: React.FC<HeaderThreeProps> = ({
|
|
19
|
+
const HeaderThree: React.FC<HeaderThreeProps> = ({
|
|
20
|
+
logoUri,
|
|
21
|
+
category,
|
|
22
|
+
theme,
|
|
23
|
+
isLoading,
|
|
24
|
+
}) => {
|
|
20
25
|
const { theme: appliedTheme } = useTheme(theme);
|
|
21
26
|
return (
|
|
22
|
-
<View
|
|
27
|
+
<View
|
|
28
|
+
style={[
|
|
29
|
+
styles.headerContainer,
|
|
30
|
+
{ backgroundColor: appliedTheme.colors.background },
|
|
31
|
+
]}
|
|
32
|
+
>
|
|
23
33
|
<View style={styles.leftContainer}>
|
|
24
34
|
<View style={styles.logo}>
|
|
25
|
-
<Logo
|
|
35
|
+
<Logo
|
|
36
|
+
width={scale(55)}
|
|
37
|
+
height={scale(50)}
|
|
38
|
+
logoUri={logoUri}
|
|
39
|
+
isLoading={isLoading}
|
|
40
|
+
/>
|
|
26
41
|
</View>
|
|
27
42
|
{category || null}
|
|
28
43
|
</View>
|
|
@@ -38,16 +53,16 @@ const styles = StyleSheet.create({
|
|
|
38
53
|
justifyContent: 'space-between',
|
|
39
54
|
alignItems: 'center',
|
|
40
55
|
paddingHorizontal: scale(8),
|
|
41
|
-
height: verticalScale(40)
|
|
56
|
+
height: verticalScale(40),
|
|
42
57
|
},
|
|
43
58
|
|
|
44
59
|
leftContainer: {
|
|
45
60
|
flexDirection: 'row',
|
|
46
61
|
alignItems: 'center',
|
|
47
|
-
gap: scale(10)
|
|
62
|
+
gap: scale(10),
|
|
48
63
|
},
|
|
49
64
|
logo: {
|
|
50
65
|
alignItems: 'center',
|
|
51
|
-
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
|
|
52
|
-
}
|
|
66
|
+
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
|
|
67
|
+
},
|
|
53
68
|
});
|
|
@@ -6,10 +6,9 @@ import React from 'react';
|
|
|
6
6
|
import { Platform, Pressable, StyleSheet, View } from 'react-native';
|
|
7
7
|
import { scale, verticalScale } from 'react-native-size-matters';
|
|
8
8
|
import { Logo } from '../Logo/Logo';
|
|
9
|
-
import DefaultIcons from '../Icons/NewIndex';
|
|
10
9
|
import type { AppTheme } from '../../theme/themes';
|
|
11
10
|
import { useTheme } from '../../theme/hook/useTheme';
|
|
12
|
-
|
|
11
|
+
import { Menu } from 'lucide-react-native';
|
|
13
12
|
export interface HeaderTwoProps {
|
|
14
13
|
theme?: AppTheme;
|
|
15
14
|
logoUri: string;
|
|
@@ -18,11 +17,15 @@ export interface HeaderTwoProps {
|
|
|
18
17
|
isLoading?: boolean;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
|
-
const HeaderTwo: React.FC<HeaderTwoProps> = ({
|
|
20
|
+
const HeaderTwo: React.FC<HeaderTwoProps> = ({
|
|
21
|
+
theme,
|
|
22
|
+
logoUri,
|
|
23
|
+
MenuIcon = Menu,
|
|
24
|
+
onMenuPress,
|
|
25
|
+
isLoading,
|
|
26
|
+
}) => {
|
|
22
27
|
const { theme: appliedTheme } = useTheme(theme);
|
|
23
28
|
|
|
24
|
-
const Menu = MenuIcon || DefaultIcons.MenuBar;
|
|
25
|
-
|
|
26
29
|
const rippleColor = appliedTheme.colors.surfaceVariant + '33';
|
|
27
30
|
const pressedBackgroundColor = appliedTheme.colors.backdrop;
|
|
28
31
|
|
|
@@ -31,12 +34,20 @@ const HeaderTwo: React.FC<HeaderTwoProps> = ({ theme, logoUri, MenuIcon, onMenuP
|
|
|
31
34
|
<Pressable
|
|
32
35
|
onPress={onMenuPress}
|
|
33
36
|
android_ripple={{ color: rippleColor, borderless: true }}
|
|
34
|
-
style={({ pressed }) => [
|
|
37
|
+
style={({ pressed }) => [
|
|
38
|
+
styles.iconPressable,
|
|
39
|
+
pressed && { backgroundColor: pressedBackgroundColor },
|
|
40
|
+
]}
|
|
35
41
|
>
|
|
36
|
-
<
|
|
42
|
+
<MenuIcon width={scale(28)} height={scale(28)} />
|
|
37
43
|
</Pressable>
|
|
38
44
|
<View style={styles.logo}>
|
|
39
|
-
<Logo
|
|
45
|
+
<Logo
|
|
46
|
+
width={scale(100)}
|
|
47
|
+
height={scale(80)}
|
|
48
|
+
logoUri={logoUri}
|
|
49
|
+
isLoading={isLoading}
|
|
50
|
+
/>
|
|
40
51
|
</View>
|
|
41
52
|
<View style={styles.placeholder} />
|
|
42
53
|
</View>
|
|
@@ -51,18 +62,18 @@ const styles = StyleSheet.create({
|
|
|
51
62
|
justifyContent: 'space-between',
|
|
52
63
|
alignItems: 'center',
|
|
53
64
|
paddingHorizontal: scale(8),
|
|
54
|
-
height: verticalScale(40)
|
|
65
|
+
height: verticalScale(40),
|
|
55
66
|
},
|
|
56
67
|
logo: {
|
|
57
68
|
flex: 1,
|
|
58
69
|
alignItems: 'center',
|
|
59
|
-
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
|
|
70
|
+
marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
|
|
60
71
|
},
|
|
61
72
|
iconPressable: {
|
|
62
73
|
padding: scale(6),
|
|
63
|
-
borderRadius: scale(20)
|
|
74
|
+
borderRadius: scale(20),
|
|
64
75
|
},
|
|
65
76
|
placeholder: {
|
|
66
|
-
width: scale(28 + 12)
|
|
67
|
-
}
|
|
77
|
+
width: scale(28 + 12),
|
|
78
|
+
},
|
|
68
79
|
});
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TouchableOpacity,
|
|
12
12
|
type ViewStyle,
|
|
13
13
|
type TextInputProps,
|
|
14
|
-
type TextStyle
|
|
14
|
+
type TextStyle,
|
|
15
15
|
} from 'react-native';
|
|
16
16
|
import { Eye, EyeOff } from 'lucide-react-native';
|
|
17
17
|
import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
|
|
@@ -55,19 +55,28 @@ const InputOne: React.FC<InputOneProps> = ({
|
|
|
55
55
|
outline,
|
|
56
56
|
outlineDisabled,
|
|
57
57
|
error: inputErrorColor,
|
|
58
|
-
background
|
|
58
|
+
background,
|
|
59
59
|
} = appliedTheme?.colors || {};
|
|
60
60
|
|
|
61
61
|
return (
|
|
62
62
|
<View style={[styles.container, containerStyle]}>
|
|
63
63
|
{label && (
|
|
64
|
-
<View
|
|
64
|
+
<View
|
|
65
|
+
style={[
|
|
66
|
+
styles.labelContainer,
|
|
67
|
+
{ backgroundColor: background, borderRadius: scale(5) },
|
|
68
|
+
]}
|
|
69
|
+
>
|
|
65
70
|
<Text
|
|
66
71
|
style={[
|
|
67
72
|
styles.label,
|
|
68
73
|
{
|
|
69
|
-
color: error
|
|
70
|
-
|
|
74
|
+
color: error
|
|
75
|
+
? inputErrorColor
|
|
76
|
+
: disabled
|
|
77
|
+
? textDisabled
|
|
78
|
+
: textPrimary,
|
|
79
|
+
},
|
|
71
80
|
]}
|
|
72
81
|
>
|
|
73
82
|
{label}
|
|
@@ -80,44 +89,81 @@ const InputOne: React.FC<InputOneProps> = ({
|
|
|
80
89
|
styles.inputWrapper,
|
|
81
90
|
|
|
82
91
|
{
|
|
83
|
-
borderColor: disabled
|
|
92
|
+
borderColor: disabled
|
|
93
|
+
? outlineDisabled
|
|
94
|
+
: error
|
|
95
|
+
? inputErrorColor
|
|
96
|
+
: outline,
|
|
84
97
|
backgroundColor: disabled
|
|
85
98
|
? appliedTheme.colors.backgroundDisabled
|
|
86
99
|
: error
|
|
87
100
|
? appliedTheme.colors.errorContainer
|
|
88
101
|
: appliedTheme.colors.background,
|
|
89
102
|
flexDirection: 'row',
|
|
90
|
-
alignItems: 'center'
|
|
91
|
-
}
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
},
|
|
92
105
|
]}
|
|
93
106
|
>
|
|
94
107
|
<TextInput
|
|
95
108
|
{...props}
|
|
96
109
|
editable={!disabled}
|
|
97
|
-
placeholderTextColor={
|
|
110
|
+
placeholderTextColor={
|
|
111
|
+
placeholderTextColor || (disabled ? textDisabled : textSecondary)
|
|
112
|
+
}
|
|
98
113
|
secureTextEntry={inputSecure}
|
|
99
|
-
textContentType={
|
|
114
|
+
textContentType={
|
|
115
|
+
isPasswordField ? 'oneTimeCode' : props.textContentType || 'none'
|
|
116
|
+
}
|
|
100
117
|
style={[
|
|
101
118
|
styles.input,
|
|
102
119
|
{
|
|
103
|
-
color: disabled
|
|
120
|
+
color: disabled
|
|
121
|
+
? textDisabled
|
|
122
|
+
: error
|
|
123
|
+
? inputErrorColor
|
|
124
|
+
: textPrimary,
|
|
104
125
|
},
|
|
105
|
-
inputStyle
|
|
126
|
+
inputStyle,
|
|
106
127
|
]}
|
|
107
128
|
/>
|
|
108
129
|
|
|
109
130
|
{isPasswordField && (
|
|
110
|
-
<TouchableOpacity
|
|
131
|
+
<TouchableOpacity
|
|
132
|
+
onPress={() => setShowPassword((prev) => !prev)}
|
|
133
|
+
disabled={disabled}
|
|
134
|
+
>
|
|
111
135
|
{showPassword ? (
|
|
112
|
-
<EyeOff
|
|
136
|
+
<EyeOff
|
|
137
|
+
size={scale(20)}
|
|
138
|
+
color={
|
|
139
|
+
disabled
|
|
140
|
+
? textDisabled
|
|
141
|
+
: error
|
|
142
|
+
? inputErrorColor
|
|
143
|
+
: textPrimary
|
|
144
|
+
}
|
|
145
|
+
/>
|
|
113
146
|
) : (
|
|
114
|
-
<Eye
|
|
147
|
+
<Eye
|
|
148
|
+
size={scale(20)}
|
|
149
|
+
color={
|
|
150
|
+
disabled
|
|
151
|
+
? textDisabled
|
|
152
|
+
: error
|
|
153
|
+
? inputErrorColor
|
|
154
|
+
: textPrimary
|
|
155
|
+
}
|
|
156
|
+
/>
|
|
115
157
|
)}
|
|
116
158
|
</TouchableOpacity>
|
|
117
159
|
)}
|
|
118
160
|
</View>
|
|
119
161
|
|
|
120
|
-
{error && errorMessage &&
|
|
162
|
+
{error && errorMessage && (
|
|
163
|
+
<Text style={[styles.errorText, { color: inputErrorColor }]}>
|
|
164
|
+
{errorMessage}
|
|
165
|
+
</Text>
|
|
166
|
+
)}
|
|
121
167
|
</View>
|
|
122
168
|
);
|
|
123
169
|
};
|
|
@@ -127,36 +173,36 @@ export default InputOne;
|
|
|
127
173
|
const styles = StyleSheet.create({
|
|
128
174
|
container: {
|
|
129
175
|
width: '100%',
|
|
130
|
-
marginBottom: verticalScale(10)
|
|
176
|
+
marginBottom: verticalScale(10),
|
|
131
177
|
},
|
|
132
178
|
labelContainer: {
|
|
133
179
|
position: 'absolute',
|
|
134
180
|
top: -9,
|
|
135
181
|
left: scale(12),
|
|
136
182
|
zIndex: 1,
|
|
137
|
-
paddingHorizontal: scale(4)
|
|
183
|
+
paddingHorizontal: scale(4),
|
|
138
184
|
},
|
|
139
185
|
label: {
|
|
140
186
|
fontSize: RFValue(10),
|
|
141
187
|
fontWeight: '500',
|
|
142
|
-
backgroundColor: 'transparent'
|
|
188
|
+
backgroundColor: 'transparent',
|
|
143
189
|
},
|
|
144
190
|
inputWrapper: {
|
|
145
191
|
width: '100%',
|
|
146
192
|
borderWidth: scale(1),
|
|
147
193
|
borderRadius: moderateScale(10),
|
|
148
194
|
paddingHorizontal: scale(10),
|
|
149
|
-
paddingVertical: verticalScale(6)
|
|
195
|
+
paddingVertical: verticalScale(6),
|
|
150
196
|
},
|
|
151
197
|
input: {
|
|
152
198
|
flex: 1,
|
|
153
199
|
width: '100%',
|
|
154
200
|
fontSize: RFValue(14),
|
|
155
|
-
minHeight: verticalScale(30)
|
|
201
|
+
minHeight: verticalScale(30),
|
|
156
202
|
},
|
|
157
203
|
errorText: {
|
|
158
204
|
fontSize: RFValue(10),
|
|
159
205
|
marginTop: verticalScale(4),
|
|
160
|
-
marginLeft: scale(8)
|
|
161
|
-
}
|
|
206
|
+
marginLeft: scale(8),
|
|
207
|
+
},
|
|
162
208
|
});
|