@zezosoft/zezo-ott-react-native-ui-kit 0.1.0 → 1.0.1
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 +46 -15
- package/lib/module/Styles/globalStyles.js +76 -0
- package/lib/module/Styles/globalStyles.js.map +1 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +0 -0
- package/lib/module/assets/animations/7227-vui-animation.json +0 -0
- package/lib/module/assets/animations/succesfull-payment.json +0 -0
- package/lib/module/assets/animations/voice-icon.json +0 -0
- package/lib/module/assets/img/back.png +0 -0
- package/lib/module/assets/img/bottom-panel.png +0 -0
- package/lib/module/assets/img/camera.png +0 -0
- package/lib/module/assets/img/camera2.png +0 -0
- package/lib/module/assets/img/h.svg +0 -0
- package/lib/module/assets/img/home.png +0 -0
- package/lib/module/assets/img/lock.png +0 -0
- package/lib/module/assets/img/play.png +0 -0
- package/lib/module/assets/img/profile.jpg +0 -0
- package/lib/module/assets/img/qr-code.png +0 -0
- package/lib/module/assets/img/shadow.png +0 -0
- package/lib/module/assets/img/shadow2.png +0 -0
- package/lib/module/assets/img/user.png +0 -0
- package/lib/module/assets/svg/Account.svg +4 -0
- package/lib/module/assets/svg/Favourite.svg +14 -0
- package/lib/module/assets/svg/Upcoming.svg +4 -0
- package/lib/module/assets/svg/content-error.svg +0 -0
- package/lib/module/assets/svg/download.svg +0 -0
- package/lib/module/assets/svg/eye-off.svg +10 -0
- package/lib/module/assets/svg/favorites.svg +0 -0
- package/lib/module/assets/svg/home.svg +0 -0
- package/lib/module/assets/svg/home1.svg +3 -0
- package/lib/module/assets/svg/menu-bar.svg +0 -0
- package/lib/module/assets/svg/my-space.svg +0 -0
- package/lib/module/assets/svg/play-icon-with-bg.svg +0 -0
- package/lib/module/assets/svg/profile.svg +4 -0
- package/lib/module/assets/svg/search.svg +0 -0
- package/lib/module/assets/svg/search1.svg +4 -0
- package/lib/module/assets/svg/server-error.svg +0 -0
- package/lib/module/components/Account/Account.js +255 -0
- package/lib/module/components/Account/Account.js.map +1 -0
- package/lib/module/components/Account/index.js +4 -0
- package/lib/module/components/Account/index.js.map +1 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +217 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js +306 -0
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js +208 -0
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/OTP/OTP.js +274 -0
- package/lib/module/components/Auth/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/SignUp/SignUp.js +344 -0
- package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js +132 -0
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +61 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +57 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +82 -0
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/index.js +23 -0
- package/lib/module/components/Auth/index.js.map +1 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +124 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -0
- package/lib/module/components/BlogView/BlogView.js +211 -0
- package/lib/module/components/BlogView/BlogView.js.map +1 -0
- package/lib/module/components/BlogView/index.js +10 -0
- package/lib/module/components/BlogView/index.js.map +1 -0
- package/lib/module/components/Button/BackBtn.js +72 -0
- package/lib/module/components/Button/BackBtn.js.map +1 -0
- package/lib/module/components/Button/MenuBtn.js +169 -0
- package/lib/module/components/Button/MenuBtn.js.map +1 -0
- package/lib/module/components/Button/PrimaryBtn.js +83 -0
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -0
- package/lib/module/components/Button/TextButton.js +89 -0
- package/lib/module/components/Button/TextButton.js.map +1 -0
- package/lib/module/components/Button/index.js +17 -0
- package/lib/module/components/Button/index.js.map +1 -0
- package/lib/module/components/Content/Card/Category/Category.js +182 -0
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +355 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +315 -0
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +199 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -0
- package/lib/module/components/{Section → Content}/Card/Sliders/index.js +4 -2
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Five.js +198 -0
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Four.js +204 -0
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/One.js +200 -0
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +216 -0
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Six.js +209 -0
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Three.js +214 -0
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js +287 -0
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -0
- package/lib/module/components/Content/Card/Styles/Two.js +217 -0
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +183 -0
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js +57 -0
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -0
- package/lib/module/components/Content/Card/components/NoContentFallback.js +116 -0
- package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -0
- package/lib/module/components/Content/Card/components/ShowAllButton.js +71 -0
- package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -0
- package/lib/module/components/Content/Card/components/ThumbnailCard.js +129 -0
- package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -0
- package/lib/module/components/Content/Card/index.js +32 -0
- package/lib/module/components/Content/Card/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +127 -0
- package/lib/module/components/Content/Content.js.map +1 -0
- package/lib/module/components/Content/Sections.js +145 -0
- package/lib/module/components/Content/Sections.js.map +1 -0
- package/lib/module/components/ContentView/ContentView.js +128 -0
- package/lib/module/components/ContentView/ContentView.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +211 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -0
- package/lib/module/components/ContentView/components/AboutSection.js +115 -0
- package/lib/module/components/ContentView/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/components/CastCard.js +191 -0
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js +393 -0
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/components/GenreTags.js +78 -0
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/components/HeroBanner.js +223 -0
- package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/components/PlayButton.js +40 -0
- package/lib/module/components/ContentView/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/components/Title.js +104 -0
- package/lib/module/components/ContentView/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/components/TrailerButton.js +53 -0
- package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/index.js +10 -0
- package/lib/module/components/ContentView/index.js.map +1 -0
- package/lib/module/components/Headers/AppHeader.js +96 -0
- package/lib/module/components/Headers/AppHeader.js.map +1 -0
- package/lib/module/components/Headers/One.js +31 -28
- package/lib/module/components/Headers/One.js.map +1 -1
- package/lib/module/components/Headers/Three.js +11 -14
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/Two.js +12 -10
- package/lib/module/components/Headers/Two.js.map +1 -1
- package/lib/module/components/Headers/index.js +4 -4
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Icons/AlertIcon.js.map +1 -1
- package/lib/module/components/Icons/DeviceIcon.js.map +1 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +1 -1
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +1 -1
- package/lib/module/components/Icons/NewIndex.js +13 -1
- package/lib/module/components/Icons/NewIndex.js.map +1 -1
- package/lib/module/components/Icons/ResendOTP.js.map +1 -1
- package/lib/module/components/Input/Input.js +17 -0
- package/lib/module/components/Input/Input.js.map +1 -0
- package/lib/module/components/Input/InputOne.js +126 -0
- package/lib/module/components/Input/InputOne.js.map +1 -0
- package/lib/module/components/Input/InputTwo.js +153 -0
- package/lib/module/components/Input/InputTwo.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js +285 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -0
- package/lib/module/components/Keyboard/HideKeyboard.js +69 -0
- package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -0
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +43 -5
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/Search/One.js +193 -0
- package/lib/module/components/Search/One.js.map +1 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js +161 -0
- package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -0
- package/lib/module/components/Search/components/SearchCard.js +182 -0
- package/lib/module/components/Search/components/SearchCard.js.map +1 -0
- package/lib/module/components/Search/index.js +14 -0
- package/lib/module/components/Search/index.js.map +1 -0
- package/lib/module/components/Settings/AppSettings.js +226 -0
- package/lib/module/components/Settings/AppSettings.js.map +1 -0
- package/lib/module/components/Settings/index.js +4 -0
- package/lib/module/components/Settings/index.js.map +1 -0
- package/lib/module/components/Subscription/SubOne.js +333 -0
- package/lib/module/components/Subscription/SubOne.js.map +1 -0
- package/lib/module/components/Subscription/index.js +13 -0
- package/lib/module/components/Subscription/index.js.map +1 -0
- package/lib/module/components/TabBar/One.js +146 -0
- package/lib/module/components/TabBar/One.js.map +1 -0
- package/lib/module/components/TabBar/Three.js +131 -0
- package/lib/module/components/TabBar/Three.js.map +1 -0
- package/lib/module/components/TabBar/Two.js +133 -0
- package/lib/module/components/TabBar/Two.js.map +1 -0
- package/lib/module/components/TabBar/index.js +17 -0
- package/lib/module/components/TabBar/index.js.map +1 -0
- package/lib/module/components/Text/Text.js +43 -0
- package/lib/module/components/Text/Text.js.map +1 -0
- package/lib/module/components/Text/index.js +8 -0
- package/lib/module/components/Text/index.js.map +1 -0
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js +315 -0
- package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js +117 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js +275 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -0
- package/lib/module/components/User/components/UserAvatar.js +44 -0
- package/lib/module/components/User/components/UserAvatar.js.map +1 -0
- package/lib/module/components/User/components/UserSection.js +164 -0
- package/lib/module/components/User/components/UserSection.js.map +1 -0
- package/lib/module/components/User/index.js +12 -0
- package/lib/module/components/User/index.js.map +1 -0
- package/lib/module/components/View/View.js +24 -0
- package/lib/module/components/View/View.js.map +1 -0
- package/lib/module/components/View/index.js +8 -0
- package/lib/module/components/View/index.js.map +1 -0
- package/lib/module/components/index.js +18 -5
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/SafeAreaWrapper.js +34 -0
- package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -0
- package/lib/module/components/layout/index.js +4 -0
- package/lib/module/components/layout/index.js.map +1 -0
- package/lib/module/constants/dummySections.js +38 -0
- package/lib/module/constants/dummySections.js.map +1 -0
- package/lib/module/hooks/useDebounce.js +11 -0
- package/lib/module/hooks/useDebounce.js.map +1 -0
- package/lib/module/hooks/useInitSplashCacheSync.js +116 -0
- package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -0
- package/lib/module/hooks/useKeyboard.js +31 -0
- package/lib/module/hooks/useKeyboard.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +64 -0
- package/lib/module/hooks/usePaginatedSection.js.map +1 -0
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/store/RecentSearchesStore.js +65 -0
- package/lib/module/store/RecentSearchesStore.js.map +1 -0
- package/lib/module/store/splashStore.js +69 -0
- package/lib/module/store/splashStore.js.map +1 -0
- package/lib/module/theme/ThemeProvider.js +90 -0
- package/lib/module/theme/ThemeProvider.js.map +1 -0
- package/lib/module/theme/hook/useTheme.js +45 -0
- package/lib/module/theme/hook/useTheme.js.map +1 -0
- package/lib/module/theme/index.js +10 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/themes.js +124 -90
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/types/content/content-view.types.js +4 -0
- package/lib/module/types/content/content-view.types.js.map +1 -0
- package/lib/module/types/content/index.js +2 -0
- package/lib/module/types/content/index.js.map +1 -0
- package/lib/module/types/hook/index.js +2 -0
- package/lib/module/types/hook/index.js.map +1 -0
- package/lib/module/types/hook/usePaginatedSetion.js +4 -0
- package/lib/module/types/hook/usePaginatedSetion.js.map +1 -0
- package/lib/module/types/index.js +0 -3
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/sections/index.js +4 -0
- package/lib/module/types/sections/index.js.map +1 -0
- package/lib/module/utils/Display.js +22 -0
- package/lib/module/utils/Display.js.map +1 -0
- package/lib/module/utils/PlatformSelector.js +31 -0
- package/lib/module/utils/PlatformSelector.js.map +1 -0
- package/lib/module/utils/SizeMatters.js +9 -0
- package/lib/module/utils/SizeMatters.js.map +1 -0
- package/lib/typescript/src/Styles/globalStyles.d.ts +71 -0
- package/lib/typescript/src/Styles/globalStyles.d.ts.map +1 -0
- package/lib/typescript/src/components/Account/Account.d.ts +56 -0
- package/lib/typescript/src/components/Account/Account.d.ts.map +1 -0
- package/lib/typescript/src/components/Account/index.d.ts +2 -0
- package/lib/typescript/src/components/Account/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts +51 -0
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts +69 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts +57 -0
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts +62 -0
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts +65 -0
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts +34 -0
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +16 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts +19 -0
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +230 -0
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts +16 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -0
- package/lib/typescript/src/components/BlogView/BlogView.d.ts +29 -0
- package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -0
- package/lib/typescript/src/components/BlogView/index.d.ts +7 -0
- package/lib/typescript/src/components/BlogView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts +18 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/MenuBtn.d.ts +17 -0
- package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +20 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/TextButton.d.ts +17 -0
- package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/index.d.ts +38 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +49 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +20 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +18 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +22 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +36 -0
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +32 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +37 -0
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +33 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +36 -0
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +24 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +17 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +18 -0
- package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts +20 -0
- package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +237 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Content.d.ts +59 -0
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Sections.d.ts +45 -0
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +24 -0
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +32 -0
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +24 -0
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +7 -0
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/AppHeader.d.ts +20 -0
- package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/One.d.ts +4 -3
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Three.d.ts +4 -3
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Two.d.ts +4 -3
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +2 -2
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +1 -1
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +1 -1
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +6 -0
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +11 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/InputOne.d.ts +21 -0
- package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/InputTwo.d.ts +25 -0
- package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -0
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts +15 -0
- package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts +3 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts +46 -0
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts +16 -0
- package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +32 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/index.d.ts +11 -0
- package/lib/typescript/src/components/Search/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Settings/AppSettings.d.ts +53 -0
- package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -0
- package/lib/typescript/src/components/Settings/index.d.ts +2 -0
- package/lib/typescript/src/components/Settings/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Subscription/SubOne.d.ts +40 -0
- package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -0
- package/lib/typescript/src/components/Subscription/index.d.ts +30 -0
- package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/One.d.ts +33 -0
- package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/Three.d.ts +24 -0
- package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/Two.d.ts +24 -0
- package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/TabBar/index.d.ts +14 -0
- package/lib/typescript/src/components/TabBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Text/Text.d.ts +19 -0
- package/lib/typescript/src/components/Text/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/Text/index.d.ts +6 -0
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +69 -0
- package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +49 -0
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -0
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +46 -0
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -0
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts +10 -0
- package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -0
- package/lib/typescript/src/components/User/components/UserSection.d.ts +30 -0
- package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -0
- package/lib/typescript/src/components/User/index.d.ts +9 -0
- package/lib/typescript/src/components/User/index.d.ts.map +1 -0
- package/lib/typescript/src/components/View/View.d.ts +12 -0
- package/lib/typescript/src/components/View/View.d.ts.map +1 -0
- package/lib/typescript/src/components/View/index.d.ts +6 -0
- package/lib/typescript/src/components/View/index.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +15 -2
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +13 -0
- package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -0
- package/lib/typescript/src/components/layout/index.d.ts +2 -0
- package/lib/typescript/src/components/layout/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/dummySections.d.ts +3 -0
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +22 -0
- package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useKeyboard.d.ts +9 -0
- package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/store/RecentSearchesStore.d.ts +26 -0
- package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -0
- package/lib/typescript/src/store/splashStore.d.ts +29 -0
- package/lib/typescript/src/store/splashStore.d.ts.map +1 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts +23 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/theme/hook/useTheme.d.ts +9 -0
- package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +7 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/themes.d.ts +38 -25
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts +139 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -0
- package/lib/typescript/src/types/{content.types.d.ts → content/index.d.ts} +89 -69
- package/lib/typescript/src/types/content/index.d.ts.map +1 -0
- package/lib/typescript/src/types/hook/index.d.ts +6 -0
- package/lib/typescript/src/types/hook/index.d.ts.map +1 -0
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +16 -0
- package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +7 -2
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +62 -0
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/Display.d.ts +8 -0
- package/lib/typescript/src/utils/Display.d.ts.map +1 -0
- package/lib/typescript/src/utils/PlatformSelector.d.ts +22 -0
- package/lib/typescript/src/utils/PlatformSelector.d.ts.map +1 -0
- package/lib/typescript/src/utils/SizeMatters.d.ts +7 -0
- package/lib/typescript/src/utils/SizeMatters.d.ts.map +1 -0
- package/package.json +74 -125
- package/src/Styles/globalStyles.ts +75 -0
- package/src/assets/animations/135037-payment-processing-error.json +0 -0
- package/src/assets/animations/7227-vui-animation.json +0 -0
- package/src/assets/animations/succesfull-payment.json +0 -0
- package/src/assets/animations/voice-icon.json +0 -0
- 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/h.svg +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 +4 -0
- package/src/assets/svg/Favourite.svg +14 -0
- package/src/assets/svg/Upcoming.svg +4 -0
- package/src/assets/svg/content-error.svg +0 -0
- package/src/assets/svg/download.svg +0 -0
- package/src/assets/svg/eye-off.svg +10 -0
- package/src/assets/svg/favorites.svg +0 -0
- package/src/assets/svg/home.svg +0 -0
- package/src/assets/svg/home1.svg +3 -0
- package/src/assets/svg/menu-bar.svg +0 -0
- package/src/assets/svg/my-space.svg +0 -0
- package/src/assets/svg/play-icon-with-bg.svg +0 -0
- package/src/assets/svg/profile.svg +4 -0
- package/src/assets/svg/search.svg +0 -0
- package/src/assets/svg/search1.svg +4 -0
- package/src/assets/svg/server-error.svg +0 -0
- package/src/components/Account/Account.tsx +289 -0
- package/src/components/Account/index.ts +1 -0
- package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +273 -0
- package/src/components/Auth/Login/LoginWithEmail.tsx +376 -0
- package/src/components/Auth/Login/LoginWithPhone.tsx +263 -0
- package/src/components/Auth/OTP/OTP.tsx +357 -0
- package/src/components/Auth/SignUp/SignUp.tsx +401 -0
- package/src/components/Auth/SplashScreen/SplashScreen.tsx +166 -0
- package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +66 -0
- package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +71 -0
- package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +103 -0
- package/src/components/Auth/index.ts +22 -0
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +136 -0
- package/src/components/BlogView/BlogView.tsx +215 -0
- package/src/components/BlogView/index.ts +8 -0
- package/src/components/Button/BackBtn.tsx +83 -0
- package/src/components/Button/MenuBtn.tsx +190 -0
- package/src/components/Button/PrimaryBtn.tsx +89 -0
- package/src/components/Button/TextButton.tsx +108 -0
- package/src/components/Button/index.ts +16 -0
- package/src/components/Content/Card/Category/Category.tsx +263 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +413 -0
- package/src/components/Content/Card/Sliders/Styles/One.tsx +321 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +210 -0
- package/src/components/{Section → Content}/Card/Sliders/index.ts +3 -1
- package/src/components/Content/Card/Styles/Five.tsx +241 -0
- package/src/components/Content/Card/Styles/Four.tsx +246 -0
- package/src/components/Content/Card/Styles/One.tsx +242 -0
- package/src/components/Content/Card/Styles/RotateInOut.tsx +280 -0
- package/src/components/Content/Card/Styles/Six.tsx +249 -0
- package/src/components/Content/Card/Styles/Three.tsx +279 -0
- package/src/components/Content/Card/Styles/TopTen.tsx +338 -0
- package/src/components/Content/Card/Styles/Two.tsx +290 -0
- package/src/components/Content/Card/components/CardPoster.tsx +217 -0
- package/src/components/Content/Card/components/NavigateToMore.tsx +59 -0
- package/src/components/Content/Card/components/NoContentFallback.tsx +130 -0
- package/src/components/Content/Card/components/ShowAllButton.tsx +83 -0
- package/src/components/Content/Card/components/ThumbnailCard.tsx +151 -0
- package/src/components/Content/Card/index.ts +30 -0
- package/src/components/Content/Content.tsx +218 -0
- package/src/components/Content/Sections.tsx +169 -0
- package/src/components/ContentView/ContentView.tsx +137 -0
- package/src/components/ContentView/MoreContentList.tsx +238 -0
- package/src/components/ContentView/components/AboutSection.tsx +139 -0
- package/src/components/ContentView/components/CastCard.tsx +213 -0
- package/src/components/ContentView/components/EpisodeCard.tsx +454 -0
- package/src/components/ContentView/components/GenreTags.tsx +93 -0
- package/src/components/ContentView/components/HeroBanner.tsx +245 -0
- package/src/components/ContentView/components/PlayButton.tsx +37 -0
- package/src/components/ContentView/components/Title.tsx +121 -0
- package/src/components/ContentView/components/TrailerButton.tsx +53 -0
- package/src/components/ContentView/index.ts +7 -0
- package/src/components/Headers/AppHeader.tsx +108 -0
- package/src/components/Headers/One.tsx +34 -28
- package/src/components/Headers/Three.tsx +14 -24
- package/src/components/Headers/Two.tsx +16 -23
- package/src/components/Headers/index.ts +2 -2
- package/src/components/Icons/AlertIcon.tsx +2 -13
- package/src/components/Icons/DeviceIcon.tsx +1 -7
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -0
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +3 -24
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +2 -16
- package/src/components/Icons/NewIndex.ts +12 -0
- package/src/components/Icons/ResendOTP.tsx +2 -12
- package/src/components/Input/Input.ts +16 -0
- package/src/components/Input/InputOne.tsx +162 -0
- package/src/components/Input/InputTwo.tsx +189 -0
- package/src/components/Input/PhoneNumberInput.tsx +383 -0
- package/src/components/Keyboard/HideKeyboard.tsx +82 -0
- package/src/components/Loader/Loader.tsx +2 -2
- package/src/components/Logo/Logo.tsx +70 -26
- package/src/components/Search/One.tsx +229 -0
- package/src/components/Search/components/RecentSearchesSection.tsx +154 -0
- package/src/components/Search/components/SearchCard.tsx +194 -0
- package/src/components/Search/index.ts +16 -0
- package/src/components/Settings/AppSettings.tsx +288 -0
- package/src/components/Settings/index.ts +1 -0
- package/src/components/Subscription/SubOne.tsx +337 -0
- package/src/components/Subscription/index.ts +12 -0
- package/src/components/TabBar/One.tsx +202 -0
- package/src/components/TabBar/Three.tsx +148 -0
- package/src/components/TabBar/Two.tsx +153 -0
- package/src/components/TabBar/index.ts +20 -0
- package/src/components/Text/Text.tsx +57 -0
- package/src/components/Text/index.ts +5 -0
- package/src/components/User/DeviceSessions/DeviceSessions.tsx +374 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +173 -0
- package/src/components/User/WatchLater/WatchLater.tsx +293 -0
- package/src/components/User/components/UserAvatar.tsx +43 -0
- package/src/components/User/components/UserSection.tsx +182 -0
- package/src/components/User/index.ts +9 -0
- package/src/components/View/View.tsx +19 -0
- package/src/components/View/index.ts +5 -0
- package/src/components/index.ts +15 -2
- package/src/components/layout/SafeAreaWrapper.tsx +39 -0
- package/src/components/layout/index.ts +1 -0
- package/src/constants/dummySections.ts +45 -0
- package/src/hooks/useDebounce.ts +13 -0
- package/src/hooks/useInitSplashCacheSync.ts +146 -0
- package/src/hooks/useKeyboard.ts +34 -0
- package/src/hooks/usePaginatedSection.ts +78 -0
- package/src/index.ts +3 -1
- package/src/store/RecentSearchesStore.ts +74 -0
- package/src/store/splashStore.ts +91 -0
- package/src/theme/ThemeProvider.tsx +107 -0
- package/src/theme/hook/useTheme.ts +41 -0
- package/src/theme/index.ts +7 -0
- package/src/theme/themes.ts +210 -123
- package/src/types/content/content-view.types.ts +148 -0
- package/src/types/{content.types.ts → content/index.ts} +108 -77
- package/src/types/hook/index.ts +5 -0
- package/src/types/hook/usePaginatedSetion.ts +19 -0
- package/src/types/index.ts +7 -2
- package/src/types/sections/index.ts +81 -0
- package/src/utils/Display.ts +14 -0
- package/src/utils/PlatformSelector.ts +29 -0
- package/src/utils/SizeMatters.ts +7 -0
- package/lib/module/assets/img/profile.png +0 -0
- package/lib/module/components/Button/Button.js +0 -22
- package/lib/module/components/Button/Button.js.map +0 -1
- package/lib/module/components/Button/styles.js +0 -23
- package/lib/module/components/Button/styles.js.map +0 -1
- package/lib/module/components/Section/Card/Sliders/Styles/One.js +0 -123
- package/lib/module/components/Section/Card/Sliders/Styles/One.js.map +0 -1
- package/lib/module/components/Section/Card/Sliders/index.js.map +0 -1
- package/lib/module/components/Section/Card/Styles/One.js +0 -92
- package/lib/module/components/Section/Card/Styles/One.js.map +0 -1
- package/lib/module/components/Section/Card/index.js +0 -14
- package/lib/module/components/Section/Card/index.js.map +0 -1
- package/lib/module/components/Section/SectionType.js +0 -98
- package/lib/module/components/Section/SectionType.js.map +0 -1
- package/lib/module/components/Section/Sections.js +0 -72
- package/lib/module/components/Section/Sections.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/sample.test.js +0 -8
- package/lib/module/sample.test.js.map +0 -1
- package/lib/module/theme/useAppTheme.js +0 -14
- package/lib/module/theme/useAppTheme.js.map +0 -1
- package/lib/module/types/content.types.js +0 -2
- package/lib/module/types/content.types.js.map +0 -1
- package/lib/module/types/sections.types.js +0 -4
- package/lib/module/types/sections.types.js.map +0 -1
- package/lib/typescript/package.json +0 -1
- package/lib/typescript/src/components/Button/Button.d.ts +0 -9
- package/lib/typescript/src/components/Button/Button.d.ts.map +0 -1
- package/lib/typescript/src/components/Button/styles.d.ts +0 -20
- package/lib/typescript/src/components/Button/styles.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts +0 -18
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts +0 -7
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts +0 -19
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Card/index.d.ts +0 -7
- package/lib/typescript/src/components/Section/Card/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/SectionType.d.ts +0 -26
- package/lib/typescript/src/components/Section/SectionType.d.ts.map +0 -1
- package/lib/typescript/src/components/Section/Sections.d.ts +0 -27
- package/lib/typescript/src/components/Section/Sections.d.ts.map +0 -1
- package/lib/typescript/src/sample.test.d.ts +0 -1
- package/lib/typescript/src/sample.test.d.ts.map +0 -1
- package/lib/typescript/src/theme/useAppTheme.d.ts +0 -46
- package/lib/typescript/src/theme/useAppTheme.d.ts.map +0 -1
- package/lib/typescript/src/types/content.types.d.ts.map +0 -1
- package/lib/typescript/src/types/sections.types.d.ts +0 -41
- package/lib/typescript/src/types/sections.types.d.ts.map +0 -1
- package/src/assets/img/profile.png +0 -0
- package/src/components/Button/Button.tsx +0 -32
- package/src/components/Button/styles.ts +0 -21
- package/src/components/Section/Card/Sliders/Styles/One.tsx +0 -147
- package/src/components/Section/Card/Styles/One.tsx +0 -112
- package/src/components/Section/Card/index.ts +0 -13
- package/src/components/Section/SectionType.tsx +0 -127
- package/src/components/Section/Sections.tsx +0 -120
- package/src/sample.test.ts +0 -5
- package/src/theme/useAppTheme.ts +0 -13
- package/src/types/sections.types.ts +0 -56
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified jun 23 Jun 2025 at 11:40 AM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { useState } from 'react';
|
|
9
|
+
import { View, Pressable, Platform, StyleSheet } from 'react-native';
|
|
10
|
+
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
|
11
|
+
import { scale } from 'react-native-size-matters';
|
|
12
|
+
import { useTheme } from '../../theme/hook/useTheme';
|
|
13
|
+
import { Text } from '../Text';
|
|
14
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
const Tab = createBottomTabNavigator();
|
|
17
|
+
const TabBarButton = ({
|
|
18
|
+
onPress,
|
|
19
|
+
tab,
|
|
20
|
+
isActive,
|
|
21
|
+
appliedTheme,
|
|
22
|
+
setActiveTab,
|
|
23
|
+
onTabPress,
|
|
24
|
+
renderIcon
|
|
25
|
+
}) => {
|
|
26
|
+
const color = isActive ? appliedTheme.colors.primary : appliedTheme.colors.textPrimary;
|
|
27
|
+
const iconSize = scale(24);
|
|
28
|
+
const icon = renderIcon ? renderIcon({
|
|
29
|
+
icon: tab.icon,
|
|
30
|
+
color,
|
|
31
|
+
size: iconSize
|
|
32
|
+
}) : /*#__PURE__*/_jsx(tab.icon, {
|
|
33
|
+
width: iconSize,
|
|
34
|
+
height: iconSize,
|
|
35
|
+
color: color
|
|
36
|
+
});
|
|
37
|
+
return /*#__PURE__*/_jsx(View, {
|
|
38
|
+
style: styles.buttonWrapper,
|
|
39
|
+
children: /*#__PURE__*/_jsxs(Pressable, {
|
|
40
|
+
onPress: e => {
|
|
41
|
+
onPress?.(e);
|
|
42
|
+
setActiveTab(tab.key);
|
|
43
|
+
onTabPress?.(tab.key);
|
|
44
|
+
},
|
|
45
|
+
android_ripple: {
|
|
46
|
+
color: appliedTheme.dark ? 'rgba(255, 255, 255, 0.12)' : 'rgba(0, 0, 0, 0.08)',
|
|
47
|
+
borderless: true,
|
|
48
|
+
radius: scale(35)
|
|
49
|
+
},
|
|
50
|
+
style: styles.iconWithLabel,
|
|
51
|
+
accessibilityRole: "button",
|
|
52
|
+
accessibilityLabel: `Tab: ${tab.name}`,
|
|
53
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
54
|
+
style: {
|
|
55
|
+
marginBottom: scale(3)
|
|
56
|
+
},
|
|
57
|
+
children: icon
|
|
58
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
59
|
+
style: [styles.label],
|
|
60
|
+
color: color,
|
|
61
|
+
numberOfLines: 1,
|
|
62
|
+
children: tab.name
|
|
63
|
+
})]
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
const TabBarOne = ({
|
|
68
|
+
tabs,
|
|
69
|
+
theme,
|
|
70
|
+
onTabPress,
|
|
71
|
+
renderIcon
|
|
72
|
+
}) => {
|
|
73
|
+
const {
|
|
74
|
+
theme: appliedTheme
|
|
75
|
+
} = useTheme(theme);
|
|
76
|
+
const [activeTab, setActiveTab] = useState(tabs[0]?.key);
|
|
77
|
+
return /*#__PURE__*/_jsx(Tab.Navigator, {
|
|
78
|
+
screenListeners: {
|
|
79
|
+
state: e => {
|
|
80
|
+
const index = e.data.state.index;
|
|
81
|
+
const currentKey = tabs[index]?.key;
|
|
82
|
+
if (currentKey) setActiveTab(currentKey);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
screenOptions: {
|
|
86
|
+
headerShown: false,
|
|
87
|
+
tabBarShowLabel: false,
|
|
88
|
+
tabBarHideOnKeyboard: true,
|
|
89
|
+
tabBarStyle: {
|
|
90
|
+
position: 'absolute',
|
|
91
|
+
bottom: 0,
|
|
92
|
+
height: scale(80),
|
|
93
|
+
backgroundColor: appliedTheme.colors.background + '80',
|
|
94
|
+
borderTopColor: appliedTheme.colors.border,
|
|
95
|
+
borderTopWidth: 0.5,
|
|
96
|
+
paddingBottom: Platform.OS === 'ios' ? scale(28) : scale(18),
|
|
97
|
+
paddingTop: scale(15),
|
|
98
|
+
zIndex: 100
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
children: tabs.map(tab => /*#__PURE__*/_jsx(Tab.Screen, {
|
|
102
|
+
name: tab.key,
|
|
103
|
+
component: tab.screenComponent,
|
|
104
|
+
options: {
|
|
105
|
+
tabBarButton: props => TabBarButtonWrapperWithProps({
|
|
106
|
+
...props,
|
|
107
|
+
tab,
|
|
108
|
+
isActive: tab.key === activeTab,
|
|
109
|
+
appliedTheme: appliedTheme,
|
|
110
|
+
setActiveTab: setActiveTab,
|
|
111
|
+
onTabPress: onTabPress,
|
|
112
|
+
renderIcon: renderIcon
|
|
113
|
+
})
|
|
114
|
+
}
|
|
115
|
+
}, tab.key))
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
const TabBarButtonWrapper = props => {
|
|
119
|
+
return /*#__PURE__*/_jsx(TabBarButton, {
|
|
120
|
+
...props
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
function TabBarButtonWrapperWithProps(props) {
|
|
124
|
+
return /*#__PURE__*/_jsx(TabBarButtonWrapper, {
|
|
125
|
+
...props
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
export default TabBarOne;
|
|
129
|
+
const styles = StyleSheet.create({
|
|
130
|
+
buttonWrapper: {
|
|
131
|
+
flex: 1,
|
|
132
|
+
justifyContent: 'center',
|
|
133
|
+
alignItems: 'center'
|
|
134
|
+
},
|
|
135
|
+
iconWithLabel: {
|
|
136
|
+
justifyContent: 'center',
|
|
137
|
+
alignItems: 'center',
|
|
138
|
+
paddingHorizontal: scale(8)
|
|
139
|
+
},
|
|
140
|
+
label: {
|
|
141
|
+
marginTop: scale(4),
|
|
142
|
+
fontSize: RFValue(10),
|
|
143
|
+
textAlign: 'center'
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
//# sourceMappingURL=One.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","View","Pressable","Platform","StyleSheet","createBottomTabNavigator","scale","useTheme","Text","RFValue","jsx","_jsx","jsxs","_jsxs","Tab","TabBarButton","onPress","tab","isActive","appliedTheme","setActiveTab","onTabPress","renderIcon","color","colors","primary","textPrimary","iconSize","icon","size","width","height","style","styles","buttonWrapper","children","e","key","android_ripple","dark","borderless","radius","iconWithLabel","accessibilityRole","accessibilityLabel","name","marginBottom","label","numberOfLines","TabBarOne","tabs","theme","activeTab","Navigator","screenListeners","state","index","data","currentKey","screenOptions","headerShown","tabBarShowLabel","tabBarHideOnKeyboard","tabBarStyle","position","bottom","backgroundColor","background","borderTopColor","border","borderTopWidth","paddingBottom","OS","paddingTop","zIndex","map","Screen","component","screenComponent","options","tabBarButton","props","TabBarButtonWrapperWithProps","TabBarButtonWrapper","create","flex","justifyContent","alignItems","paddingHorizontal","marginTop","fontSize","textAlign"],"sourceRoot":"../../../../src","sources":["components/TabBar/One.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,IAAI,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AACpE,SAASC,wBAAwB,QAAQ,+BAA+B;AACxE,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,IAAI,QAAQ,SAAS;AAE9B,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA4B3D,MAAMC,GAAG,GAAGT,wBAAwB,CAAC,CAAC;AAmBtC,MAAMU,YAAyC,GAAGA,CAAC;EACjDC,OAAO;EACPC,GAAG;EACHC,QAAQ;EACRC,YAAY;EACZC,YAAY;EACZC,UAAU;EACVC;AACF,CAAC,KAAK;EACJ,MAAMC,KAAK,GAAGL,QAAQ,GAAGC,YAAY,CAACK,MAAM,CAACC,OAAO,GAAGN,YAAY,CAACK,MAAM,CAACE,WAAW;EAEtF,MAAMC,QAAQ,GAAGrB,KAAK,CAAC,EAAE,CAAC;EAE1B,MAAMsB,IAAI,GAAGN,UAAU,GACrBA,UAAU,CAAC;IAAEM,IAAI,EAAEX,GAAG,CAACW,IAAI;IAAEL,KAAK;IAAEM,IAAI,EAAEF;EAAS,CAAC,CAAC,gBAErDhB,IAAA,CAACM,GAAG,CAACW,IAAI;IAACE,KAAK,EAAEH,QAAS;IAACI,MAAM,EAAEJ,Q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,GAAG,KAAKe,SAAS;UAC/BjC,YAAY,EAAEA,YAAY;UAC1BC,YAAY,EAAEA,YAAY;UAC1BC,UAAU,EAAEA,UAAU;UACtBC,UAAU,EAAEA;QACd,CAAC;MACL;IAAE,GAdGL,GAAG,CAACoB,GAeV,CACF;EAAC,CACW,CAAC;AAEpB,CAAC;AAoBD,MAAM8C,mBAAuD,GAAIF,KAAK,IAAK;EACzE,oBAAOtE,IAAA,CAACI,YAAY;IAAA,GAAKkE;EAAK,CAAG,CAAC;AACpC,CAAC;AAED,SAASC,4BAA4BA,CAACD,KAA+B,EAAE;EACrE,oBAAOtE,IAAA,CAACwE,mBAAmB;IAAA,GAAKF;EAAK,CAAG,CAAC;AAC3C;AACA,eAAehC,SAAS;AAExB,MAAMhB,MAAM,GAAG7B,UAAU,CAACgF,MAAM,CAAC;EAC/BlD,aAAa,EAAE;IACbmD,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACD7C,aAAa,EAAE;IACb4C,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAElF,KAAK,CAAC,CAAC;EAC5B,CAAC;EACDyC,KAAK,EAAE;IACL0C,SAAS,EAAEnF,KAAK,CAAC,CAAC,CAAC;IACnBoF,QAAQ,EAAEjF,OAAO,CAAC,EAAE,CAAC;IACrBkF,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Desai
|
|
5
|
+
* @lastModified Sat 26 Jul 2025 at 12:37 PM
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { View, Pressable, StyleSheet, Platform } from 'react-native';
|
|
9
|
+
import { BlurView } from '@react-native-community/blur';
|
|
10
|
+
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
|
11
|
+
import { scale } from 'react-native-size-matters';
|
|
12
|
+
import { useTheme } from '../../theme/hook/useTheme';
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
const Tab = createBottomTabNavigator();
|
|
15
|
+
const ICON_BOX_SIZE = scale(52);
|
|
16
|
+
const BOTTOM_BAR_HEIGHT = scale(70);
|
|
17
|
+
const CustomTabBar = ({
|
|
18
|
+
state,
|
|
19
|
+
navigation,
|
|
20
|
+
tabs,
|
|
21
|
+
onTabPress,
|
|
22
|
+
theme
|
|
23
|
+
}) => /*#__PURE__*/_jsx(View, {
|
|
24
|
+
style: styles.bottomWrapper,
|
|
25
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
26
|
+
style: [styles.bottomBox, {
|
|
27
|
+
borderColor: theme.colors.border,
|
|
28
|
+
backgroundColor: Platform.OS === 'android' ? theme.colors.backdrop : 'transparent'
|
|
29
|
+
}],
|
|
30
|
+
children: [Platform.OS !== 'web' && /*#__PURE__*/_jsx(BlurView, {
|
|
31
|
+
style: StyleSheet.absoluteFill,
|
|
32
|
+
blurAmount: 25,
|
|
33
|
+
reducedTransparencyFallbackColor: theme.colors.backdrop,
|
|
34
|
+
blurType: "light"
|
|
35
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
36
|
+
style: styles.row,
|
|
37
|
+
children: tabs.map((tab, index) => {
|
|
38
|
+
const isFocused = state.index === index;
|
|
39
|
+
const iconColor = isFocused ? theme.colors.buttonText : theme.colors.textPrimary;
|
|
40
|
+
const bgColor = isFocused ? theme.colors.button : theme.colors.blueBackground;
|
|
41
|
+
const isBorderColor = isFocused ? theme.colors.button : theme.colors.border;
|
|
42
|
+
return /*#__PURE__*/_jsx(Pressable, {
|
|
43
|
+
onPress: () => {
|
|
44
|
+
onTabPress?.(tab.key);
|
|
45
|
+
navigation.navigate(tab.key);
|
|
46
|
+
},
|
|
47
|
+
style: [styles.icon, {
|
|
48
|
+
backgroundColor: bgColor,
|
|
49
|
+
borderColor: isBorderColor
|
|
50
|
+
}],
|
|
51
|
+
children: /*#__PURE__*/_jsx(tab.icon, {
|
|
52
|
+
width: scale(24),
|
|
53
|
+
height: scale(24),
|
|
54
|
+
color: iconColor
|
|
55
|
+
})
|
|
56
|
+
}, tab.key);
|
|
57
|
+
})
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
const renderTabBar = (tabs, onTabPress, theme) => props => /*#__PURE__*/_jsx(CustomTabBar, {
|
|
62
|
+
...props,
|
|
63
|
+
tabs: tabs,
|
|
64
|
+
onTabPress: onTabPress,
|
|
65
|
+
theme: theme
|
|
66
|
+
});
|
|
67
|
+
const TabBarThree = ({
|
|
68
|
+
tabs,
|
|
69
|
+
theme,
|
|
70
|
+
onTabPress
|
|
71
|
+
}) => {
|
|
72
|
+
const {
|
|
73
|
+
theme: appliedTheme
|
|
74
|
+
} = useTheme(theme);
|
|
75
|
+
return /*#__PURE__*/_jsx(Tab.Navigator, {
|
|
76
|
+
screenOptions: {
|
|
77
|
+
headerShown: false,
|
|
78
|
+
tabBarShowLabel: false,
|
|
79
|
+
tabBarHideOnKeyboard: true
|
|
80
|
+
},
|
|
81
|
+
tabBar: renderTabBar(tabs, onTabPress, appliedTheme),
|
|
82
|
+
children: tabs.map(tab => /*#__PURE__*/_jsx(Tab.Screen, {
|
|
83
|
+
name: tab.key,
|
|
84
|
+
component: tab.screenComponent
|
|
85
|
+
}, tab.key))
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
const styles = StyleSheet.create({
|
|
89
|
+
bottomWrapper: {
|
|
90
|
+
position: 'absolute',
|
|
91
|
+
bottom: scale(20),
|
|
92
|
+
left: 0,
|
|
93
|
+
right: 0,
|
|
94
|
+
alignItems: 'center'
|
|
95
|
+
},
|
|
96
|
+
bottomBox: {
|
|
97
|
+
marginHorizontal: scale(16),
|
|
98
|
+
alignSelf: 'center',
|
|
99
|
+
height: BOTTOM_BAR_HEIGHT,
|
|
100
|
+
borderRadius: scale(BOTTOM_BAR_HEIGHT / 2),
|
|
101
|
+
overflow: 'hidden',
|
|
102
|
+
borderWidth: Platform.select({
|
|
103
|
+
ios: scale(1),
|
|
104
|
+
android: scale(1.5)
|
|
105
|
+
}),
|
|
106
|
+
alignItems: 'center',
|
|
107
|
+
justifyContent: 'center'
|
|
108
|
+
},
|
|
109
|
+
row: {
|
|
110
|
+
flexDirection: 'row',
|
|
111
|
+
justifyContent: 'space-between',
|
|
112
|
+
alignItems: 'center',
|
|
113
|
+
width: '100%',
|
|
114
|
+
paddingHorizontal: scale(12)
|
|
115
|
+
},
|
|
116
|
+
icon: {
|
|
117
|
+
width: ICON_BOX_SIZE,
|
|
118
|
+
height: ICON_BOX_SIZE,
|
|
119
|
+
borderRadius: ICON_BOX_SIZE / 2,
|
|
120
|
+
borderWidth: Platform.select({
|
|
121
|
+
ios: scale(1),
|
|
122
|
+
android: scale(1.5)
|
|
123
|
+
}),
|
|
124
|
+
justifyContent: 'center',
|
|
125
|
+
alignItems: 'center',
|
|
126
|
+
borderStyle: 'solid',
|
|
127
|
+
zIndex: 1
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
export default TabBarThree;
|
|
131
|
+
//# sourceMappingURL=Three.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Pressable","StyleSheet","Platform","BlurView","createBottomTabNavigator","scale","useTheme","jsx","_jsx","jsxs","_jsxs","Tab","ICON_BOX_SIZE","BOTTOM_BAR_HEIGHT","CustomTabBar","state","navigation","tabs","onTabPress","theme","style","styles","bottomWrapper","children","bottomBox","borderColor","colors","border","backgroundColor","OS","backdrop","absoluteFill","blurAmount","reducedTransparencyFallbackColor","blurType","row","map","tab","index","isFocused","iconColor","buttonText","textPrimary","bgColor","button","blueBackground","isBorderColor","onPress","key","navigate","icon","width","height","color","renderTabBar","props","TabBarThree","appliedTheme","Navigator","screenOptions","headerShown","tabBarShowLabel","tabBarHideOnKeyboard","tabBar","Screen","name","component","screenComponent","create","position","bottom","left","right","alignItems","marginHorizontal","alignSelf","borderRadius","overflow","borderWidth","select","ios","android","justifyContent","flexDirection","paddingHorizontal","borderStyle","zIndex"],"sourceRoot":"../../../../src","sources":["components/TabBar/Three.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,SAAS,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AACpE,SAASC,QAAQ,QAAQ,8BAA8B;AACvD,SAASC,wBAAwB,QAAgC,+BAA+B;AAChG,SAASC,KAAK,QAAQ,2BAA2B;AAGjD,SAASC,QAAQ,QAAQ,2BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAmBrD,MAAMC,GAAG,GAAGP,wBAAwB,CAAC,CAAC;AACtC,MAAMQ,aAAa,GAAGP,KAAK,CAAC,EAAE,CAAC;AAC/B,MAAMQ,iBAAiB,GAAGR,KAAK,CAAC,EAAE,CAAC;AAEnC,MAAMS,YAML,GAAGA,CAAC;EAAEC,KAAK;EAAEC,UAAU;EAAEC,IAAI;EAAEC,UAAU;EAAEC;AAAM,CAAC,kBACjDX,IAAA,CAACT,IAAI;EAACqB,KAAK,EAAEC,MAAM,CAACC,aAAc;EAAAC,QAAA,eAChCb,KAAA,CAACX,IAAI;IACHqB,KAAK,EAAE,CACLC,MAAM,CAACG,SAAS,EAChB;MACEC,WAAW,EAAEN,KAAK,CAACO,MAAM,CAACC,MAAM;MAChCC,eAAe,EAAE1B,QAAQ,CAAC2B,EAAE,KAAK,SAAS,GAAGV,KAAK,CAACO,MAAM,CAACI,QAAQ,GAAG;IACvE,CAAC,CACD;IAAAP,QAAA,GAEDrB,QAAQ,CAAC2B,EAAE,KAAK,KAAK,iBACpBrB,IAAA,CAACL,QAAQ;MACPiB,KAAK,EAAEnB,UAAU,CAAC8B,YAAa;MAC/BC,UAAU,EAAE,EAAG;MACfC,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;IAC1CgE,QAAQ,EAAE,QAAQ;IAClBC,WAAW,EAAE5E,QAAQ,CAAC6E,MAAM,CAAC;MAAEC,GAAG,EAAE3E,KAAK,CAAC,CAAC,CAAC;MAAE4E,OAAO,EAAE5E,KAAK,CAAC,GAAG;IAAE,CAAC,CAAC;IACpEoE,UAAU,EAAE,QAAQ;IACpBS,cAAc,EAAE;EAClB,CAAC;EACD/C,GAAG,EAAE;IACHgD,aAAa,EAAE,KAAK;IACpBD,cAAc,EAAE,eAAe;IAC/BT,UAAU,EAAE,QAAQ;IACpBtB,KAAK,EAAE,MAAM;IACbiC,iBAAiB,EAAE/E,KAAK,CAAC,EAAE;EAC7B,CAAC;EACD6C,IAAI,EAAE;IACJC,KAAK,EAAEvC,aAAa;IACpBwC,MAAM,EAAExC,aAAa;IACrBgE,YAAY,EAAEhE,aAAa,GAAG,CAAC;IAC/BkE,WAAW,EAAE5E,QAAQ,CAAC6E,MAAM,CAAC;MAAEC,GAAG,EAAE3E,KAAK,CAAC,CAAC,CAAC;MAAE4E,OAAO,EAAE5E,KAAK,CAAC,GAAG;IAAE,CAAC,CAAC;IACpE6E,cAAc,EAAE,QAAQ;IACxBT,UAAU,EAAE,QAAQ;IACpBY,WAAW,EAAE,OAAO;IACpBC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAEF,eAAe9B,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified jun 23 Jun 2025 at 11:40 AM
|
|
6
|
+
*/
|
|
7
|
+
import React, { useState } from 'react';
|
|
8
|
+
import { View, Pressable, StyleSheet, Platform } from 'react-native';
|
|
9
|
+
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
|
10
|
+
import { scale } from 'react-native-size-matters';
|
|
11
|
+
import { Text } from '../Text';
|
|
12
|
+
import { useTheme } from '../../theme/hook/useTheme';
|
|
13
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
const Tab = createBottomTabNavigator();
|
|
16
|
+
|
|
17
|
+
// Extracted TabBarButton component
|
|
18
|
+
const TabBarButton = ({
|
|
19
|
+
tab,
|
|
20
|
+
isActive,
|
|
21
|
+
appliedTheme,
|
|
22
|
+
onPress,
|
|
23
|
+
onTabPress,
|
|
24
|
+
setActiveTab
|
|
25
|
+
}) => {
|
|
26
|
+
const Icon = tab.icon;
|
|
27
|
+
const color = isActive ? appliedTheme.colors.button : appliedTheme.colors.textPrimary;
|
|
28
|
+
return /*#__PURE__*/_jsx(View, {
|
|
29
|
+
style: styles.tabItem,
|
|
30
|
+
children: /*#__PURE__*/_jsxs(Pressable, {
|
|
31
|
+
onPress: e => {
|
|
32
|
+
onPress?.(e);
|
|
33
|
+
setActiveTab(tab.key);
|
|
34
|
+
onTabPress?.(tab.key);
|
|
35
|
+
},
|
|
36
|
+
android_ripple: {
|
|
37
|
+
color: appliedTheme.dark ? 'rgba(255, 255, 255, 0.12)' : 'rgba(0, 0, 0, 0.08)',
|
|
38
|
+
borderless: true,
|
|
39
|
+
radius: scale(42)
|
|
40
|
+
},
|
|
41
|
+
style: styles.pressable,
|
|
42
|
+
accessibilityRole: "button",
|
|
43
|
+
accessibilityLabel: `Tab: ${tab.name}`,
|
|
44
|
+
children: [/*#__PURE__*/_jsx(Icon, {
|
|
45
|
+
width: scale(24),
|
|
46
|
+
height: scale(24),
|
|
47
|
+
color: color
|
|
48
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
49
|
+
style: [styles.label],
|
|
50
|
+
color: color,
|
|
51
|
+
numberOfLines: 1,
|
|
52
|
+
children: tab.name
|
|
53
|
+
})]
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
const TabBarTwo = ({
|
|
58
|
+
tabs,
|
|
59
|
+
theme,
|
|
60
|
+
onTabPress
|
|
61
|
+
}) => {
|
|
62
|
+
const {
|
|
63
|
+
theme: appliedTheme
|
|
64
|
+
} = useTheme(theme);
|
|
65
|
+
const [activeTab, setActiveTab] = useState(tabs[0]?.key);
|
|
66
|
+
return /*#__PURE__*/_jsx(Tab.Navigator, {
|
|
67
|
+
screenOptions: {
|
|
68
|
+
headerShown: false,
|
|
69
|
+
tabBarShowLabel: false,
|
|
70
|
+
tabBarHideOnKeyboard: true,
|
|
71
|
+
tabBarStyle: {
|
|
72
|
+
position: 'absolute',
|
|
73
|
+
bottom: scale(20),
|
|
74
|
+
marginHorizontal: scale(16),
|
|
75
|
+
height: scale(70),
|
|
76
|
+
borderRadius: scale(40),
|
|
77
|
+
backgroundColor: appliedTheme.colors.background + '80',
|
|
78
|
+
borderWidth: 2,
|
|
79
|
+
borderTopWidth: 2,
|
|
80
|
+
borderTopColor: appliedTheme.colors.border,
|
|
81
|
+
borderColor: appliedTheme.colors.border,
|
|
82
|
+
paddingBottom: Platform.OS === 'ios' ? scale(12) : scale(10),
|
|
83
|
+
paddingTop: Platform.OS === 'ios' ? scale(12) : scale(10),
|
|
84
|
+
shadowColor: appliedTheme.colors.shadow,
|
|
85
|
+
shadowOffset: {
|
|
86
|
+
width: 0,
|
|
87
|
+
height: 2
|
|
88
|
+
},
|
|
89
|
+
shadowOpacity: 0.2,
|
|
90
|
+
shadowRadius: 6,
|
|
91
|
+
elevation: 10,
|
|
92
|
+
overflow: 'hidden'
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
children: tabs.map(tab => /*#__PURE__*/_jsx(Tab.Screen, {
|
|
96
|
+
name: tab.key,
|
|
97
|
+
component: tab.screenComponent,
|
|
98
|
+
options: {
|
|
99
|
+
tabBarButton: ({
|
|
100
|
+
onPress
|
|
101
|
+
}) => /*#__PURE__*/_jsx(TabBarButton, {
|
|
102
|
+
tab: tab,
|
|
103
|
+
isActive: tab.key === activeTab,
|
|
104
|
+
appliedTheme: appliedTheme,
|
|
105
|
+
onPress: onPress,
|
|
106
|
+
onTabPress: onTabPress,
|
|
107
|
+
setActiveTab: setActiveTab
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
}, tab.key))
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
export default TabBarTwo;
|
|
114
|
+
const styles = StyleSheet.create({
|
|
115
|
+
tabItem: {
|
|
116
|
+
flex: 1,
|
|
117
|
+
justifyContent: 'center',
|
|
118
|
+
alignItems: 'center'
|
|
119
|
+
},
|
|
120
|
+
pressable: {
|
|
121
|
+
justifyContent: 'center',
|
|
122
|
+
alignItems: 'center',
|
|
123
|
+
paddingHorizontal: scale(10),
|
|
124
|
+
paddingVertical: scale(4),
|
|
125
|
+
borderRadius: scale(30)
|
|
126
|
+
},
|
|
127
|
+
label: {
|
|
128
|
+
marginTop: scale(4),
|
|
129
|
+
fontSize: RFValue(10),
|
|
130
|
+
textAlign: 'center'
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
//# sourceMappingURL=Two.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useState","View","Pressable","StyleSheet","Platform","createBottomTabNavigator","scale","Text","useTheme","RFValue","jsx","_jsx","jsxs","_jsxs","Tab","TabBarButton","tab","isActive","appliedTheme","onPress","onTabPress","setActiveTab","Icon","icon","color","colors","button","textPrimary","style","styles","tabItem","children","e","key","android_ripple","dark","borderless","radius","pressable","accessibilityRole","accessibilityLabel","name","width","height","label","numberOfLines","TabBarTwo","tabs","theme","activeTab","Navigator","screenOptions","headerShown","tabBarShowLabel","tabBarHideOnKeyboard","tabBarStyle","position","bottom","marginHorizontal","borderRadius","backgroundColor","background","borderWidth","borderTopWidth","borderTopColor","border","borderColor","paddingBottom","OS","paddingTop","shadowColor","shadow","shadowOffset","shadowOpacity","shadowRadius","elevation","overflow","map","Screen","component","screenComponent","options","tabBarButton","create","flex","justifyContent","alignItems","paddingHorizontal","paddingVertical","marginTop","fontSize","textAlign"],"sourceRo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IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDhD,SAAS,EAAE;IACT+C,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAEjF,KAAK,CAAC,EAAE,CAAC;IAC5BkF,eAAe,EAAElF,KAAK,CAAC,CAAC,CAAC;IACzBqD,YAAY,EAAErD,KAAK,CAAC,EAAE;EACxB,CAAC;EACDsC,KAAK,EAAE;IACL6C,SAAS,EAAEnF,KAAK,CAAC,CAAC,CAAC;IACnBoF,QAAQ,EAAEjF,OAAO,CAAC,EAAE,CAAC;IACrBkF,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Ashok Desai
|
|
5
|
+
* @lastModified jun 23 Jun 2025 at 11:40 AM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import TabBarOne from './One';
|
|
9
|
+
import TabBarTwo from './Two';
|
|
10
|
+
import TabBarThree from './Three';
|
|
11
|
+
const TabBar = {
|
|
12
|
+
One: TabBarOne,
|
|
13
|
+
Two: TabBarTwo,
|
|
14
|
+
Three: TabBarThree
|
|
15
|
+
};
|
|
16
|
+
export { TabBar };
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TabBarOne","TabBarTwo","TabBarThree","TabBar","One","Two","Three"],"sourceRoot":"../../../../src","sources":["components/TabBar/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,SAAS,MAAM,OAAO;AAC7B,OAAOC,SAAS,MAAM,OAAO;AAC7B,OAAOC,WAAW,MAAM,SAAS;AAEjC,MAAMC,MAAM,GAAG;EACbC,GAAG,EAAEJ,SAAS;EACdK,GAAG,EAAEJ,SAAS;EACdK,KAAK,EAAEJ;AACT,CAAC;AAMD,SAASC,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @lastModified Tue 24 Jun 2025 at 04:33 PM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { Text as RNText } from 'react-native';
|
|
10
|
+
import { useTheme } from '../../theme/hook/useTheme';
|
|
11
|
+
import { RFValue } from 'react-native-responsive-fontsize';
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
const Text = ({
|
|
14
|
+
children,
|
|
15
|
+
size = 10,
|
|
16
|
+
color,
|
|
17
|
+
weight = '500',
|
|
18
|
+
align = 'left',
|
|
19
|
+
fontFamily,
|
|
20
|
+
numberOfLines,
|
|
21
|
+
allowFontScaling = false,
|
|
22
|
+
style,
|
|
23
|
+
...rest
|
|
24
|
+
}) => {
|
|
25
|
+
const {
|
|
26
|
+
theme
|
|
27
|
+
} = useTheme();
|
|
28
|
+
return /*#__PURE__*/_jsx(RNText, {
|
|
29
|
+
...rest,
|
|
30
|
+
allowFontScaling: allowFontScaling,
|
|
31
|
+
numberOfLines: numberOfLines,
|
|
32
|
+
style: [{
|
|
33
|
+
color: color ?? theme.colors.textPrimary,
|
|
34
|
+
fontSize: RFValue(size),
|
|
35
|
+
fontWeight: weight,
|
|
36
|
+
textAlign: align,
|
|
37
|
+
fontFamily
|
|
38
|
+
}, style],
|
|
39
|
+
children: children
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
export default Text;
|
|
43
|
+
//# sourceMappingURL=Text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Text","RNText","useTheme","RFValue","jsx","_jsx","children","size","color","weight","align","fontFamily","numberOfLines","allowFontScaling","style","rest","theme","colors","textPrimary","fontSize","fontWeight","textAlign"],"sourceRoot":"../../../../src","sources":["components/Text/Text.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,IAAIC,MAAM,QAAuD,cAAc;AAC5F,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAa3D,MAAML,IAAyB,GAAGA,CAAC;EACjCM,QAAQ;EACRC,IAAI,GAAG,EAAE;EACTC,KAAK;EACLC,MAAM,GAAG,KAAK;EACdC,KAAK,GAAG,MAAM;EACdC,UAAU;EACVC,aAAa;EACbC,gBAAgB,GAAG,KAAK;EACxBC,KAAK;EACL,GAAGC;AACL,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAM,CAAC,GAAGd,QAAQ,CAAC,CAAC;EAE5B,oBACEG,IAAA,CAACJ,MAAM;IAAA,GACDc,IAAI;IACRF,gBAAgB,EAAEA,gBAAiB;IACnCD,aAAa,EAAEA,aAAc;IAC7BE,KAAK,EAAE,CACL;MACEN,KAAK,EAAEA,KAAK,IAAIQ,KAAK,CAACC,MAAM,CAACC,WAAW;MACxCC,QAAQ,EAAEhB,OAAO,CAACI,IAAI,CAAC;MACvBa,UAAU,EAAEX,MAAM;MAClBY,SAAS,EAAEX,KAAK;MAChBC;IACF,CAAC,EACDG,KAAK,CACL;IAAAR,QAAA,EAEDA;EAAQ,CACH,CAAC;AAEb,CAAC;AAED,eAAeN,IAAI","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default","Text"],"sourceRoot":"../../../../src","sources":["components/Text/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA,SAASA,OAAO,IAAIC,IAAI,QAAQ,QAAQ","ignoreList":[]}
|