@zezosoft/zezo-ott-react-native-ui-kit 1.0.2 → 1.0.4

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.
Files changed (533) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +6 -0
  3. package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
  4. package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
  5. package/lib/module/assets/animations/heart.json +788 -0
  6. package/lib/module/assets/animations/succesfull-payment.json +2379 -1
  7. package/lib/module/assets/animations/voice-icon.json +542 -1
  8. package/lib/module/components/Account/Account.js +6 -6
  9. package/lib/module/components/Account/Account.js.map +1 -1
  10. package/lib/module/components/Account/index.js +1 -1
  11. package/lib/module/components/Account/index.js.map +1 -1
  12. package/lib/module/components/Alert/UAAlert.js +138 -0
  13. package/lib/module/components/Alert/UAAlert.js.map +1 -0
  14. package/lib/module/components/Alert/index.js +4 -0
  15. package/lib/module/components/Alert/index.js.map +1 -0
  16. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
  17. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
  18. package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
  19. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  20. package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
  21. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
  22. package/lib/module/components/Auth/OTP/OTP.js +9 -9
  23. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  24. package/lib/module/components/Auth/QrLogin/QrLogin.js +267 -0
  25. package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -0
  26. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +178 -0
  27. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -0
  28. package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
  29. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  30. package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
  31. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
  32. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
  33. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
  34. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
  35. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
  36. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
  37. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  38. package/lib/module/components/Auth/index.js +9 -7
  39. package/lib/module/components/Auth/index.js.map +1 -1
  40. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
  41. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  42. package/lib/module/components/BlogView/BlogView.js +4 -10
  43. package/lib/module/components/BlogView/BlogView.js.map +1 -1
  44. package/lib/module/components/BlogView/index.js +1 -1
  45. package/lib/module/components/BlogView/index.js.map +1 -1
  46. package/lib/module/components/Button/BackBtn.js +1 -1
  47. package/lib/module/components/Button/BackBtn.js.map +1 -1
  48. package/lib/module/components/Button/MenuBtn.js +1 -1
  49. package/lib/module/components/Button/MenuBtn.js.map +1 -1
  50. package/lib/module/components/Button/PrimaryBtn.js +2 -2
  51. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  52. package/lib/module/components/Button/TextButton.js +2 -2
  53. package/lib/module/components/Button/TextButton.js.map +1 -1
  54. package/lib/module/components/Button/index.js +3 -3
  55. package/lib/module/components/Button/index.js.map +1 -1
  56. package/lib/module/components/Content/Card/Category/Category.js +2 -2
  57. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  58. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
  59. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  60. package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
  61. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  62. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
  63. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  64. package/lib/module/components/Content/Card/Sliders/index.js +2 -2
  65. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  66. package/lib/module/components/Content/Card/Styles/Five.js +4 -4
  67. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  68. package/lib/module/components/Content/Card/Styles/Four.js +4 -4
  69. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  70. package/lib/module/components/Content/Card/Styles/One.js +4 -4
  71. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  72. package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
  73. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  74. package/lib/module/components/Content/Card/Styles/Six.js +5 -5
  75. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  76. package/lib/module/components/Content/Card/Styles/Three.js +4 -4
  77. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  78. package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
  79. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  80. package/lib/module/components/Content/Card/Styles/Two.js +4 -4
  81. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  82. package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
  83. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  84. package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
  85. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  86. package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
  87. package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
  88. package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
  89. package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
  90. package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
  91. package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
  92. package/lib/module/components/Content/Card/index.js +10 -10
  93. package/lib/module/components/Content/Card/index.js.map +1 -1
  94. package/lib/module/components/Content/Content.js +4 -4
  95. package/lib/module/components/Content/Content.js.map +1 -1
  96. package/lib/module/components/Content/Sections.js +2 -2
  97. package/lib/module/components/Content/Sections.js.map +1 -1
  98. package/lib/module/components/ContentView/ContentView.js +8 -9
  99. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  100. package/lib/module/components/ContentView/MoreContentList.js +6 -6
  101. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  102. package/lib/module/components/ContentView/components/AboutSection.js +2 -2
  103. package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
  104. package/lib/module/components/ContentView/components/CastCard.js +2 -2
  105. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  106. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  107. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  108. package/lib/module/components/ContentView/components/GenreTags.js +1 -1
  109. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  110. package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
  111. package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
  112. package/lib/module/components/ContentView/components/PlayButton.js +0 -1
  113. package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
  114. package/lib/module/components/ContentView/components/Title.js +1 -1
  115. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  116. package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
  117. package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
  118. package/lib/module/components/ContentView/index.js +2 -2
  119. package/lib/module/components/ContentView/index.js.map +1 -1
  120. package/lib/module/components/Headers/AppHeader.js +3 -3
  121. package/lib/module/components/Headers/AppHeader.js.map +1 -1
  122. package/lib/module/components/Headers/One.js +3 -3
  123. package/lib/module/components/Headers/One.js.map +1 -1
  124. package/lib/module/components/Headers/Three.js +2 -2
  125. package/lib/module/components/Headers/Three.js.map +1 -1
  126. package/lib/module/components/Headers/Two.js +6 -7
  127. package/lib/module/components/Headers/Two.js.map +1 -1
  128. package/lib/module/components/Headers/index.js +3 -3
  129. package/lib/module/components/Headers/index.js.map +1 -1
  130. package/lib/module/components/Input/Input.js +3 -3
  131. package/lib/module/components/Input/Input.js.map +1 -1
  132. package/lib/module/components/Input/InputOne.js +1 -1
  133. package/lib/module/components/Input/InputOne.js.map +1 -1
  134. package/lib/module/components/Input/InputTwo.js +1 -1
  135. package/lib/module/components/Input/InputTwo.js.map +1 -1
  136. package/lib/module/components/Input/PhoneNumberInput.js +1 -1
  137. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  138. package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
  139. package/lib/module/components/Loader/Loader.js +1 -6
  140. package/lib/module/components/Loader/Loader.js.map +1 -1
  141. package/lib/module/components/Logo/Logo.js +2 -2
  142. package/lib/module/components/Logo/Logo.js.map +1 -1
  143. package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js +110 -0
  144. package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +1 -0
  145. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +216 -0
  146. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +1 -0
  147. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +182 -0
  148. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +1 -0
  149. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +203 -0
  150. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +1 -0
  151. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +121 -0
  152. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -0
  153. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +290 -0
  154. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -0
  155. package/lib/module/components/Reels/ReelsSeries/types.js +2 -0
  156. package/lib/module/components/Reels/ReelsSeries/types.js.map +1 -0
  157. package/lib/module/components/Reels/index.js +11 -0
  158. package/lib/module/components/Reels/index.js.map +1 -0
  159. package/lib/module/components/Search/One.js +9 -9
  160. package/lib/module/components/Search/One.js.map +1 -1
  161. package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
  162. package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
  163. package/lib/module/components/Search/components/SearchCard.js +3 -3
  164. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  165. package/lib/module/components/Search/index.js +2 -2
  166. package/lib/module/components/Search/index.js.map +1 -1
  167. package/lib/module/components/Settings/AppSettings.js +4 -4
  168. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  169. package/lib/module/components/Settings/index.js +1 -1
  170. package/lib/module/components/Settings/index.js.map +1 -1
  171. package/lib/module/components/Subscription/SubOne.js +4 -4
  172. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  173. package/lib/module/components/Subscription/index.js +1 -1
  174. package/lib/module/components/Subscription/index.js.map +1 -1
  175. package/lib/module/components/TabBar/One.js +2 -2
  176. package/lib/module/components/TabBar/One.js.map +1 -1
  177. package/lib/module/components/TabBar/Three.js +1 -1
  178. package/lib/module/components/TabBar/Three.js.map +1 -1
  179. package/lib/module/components/TabBar/Two.js +2 -2
  180. package/lib/module/components/TabBar/Two.js.map +1 -1
  181. package/lib/module/components/TabBar/index.js +3 -3
  182. package/lib/module/components/TabBar/index.js.map +1 -1
  183. package/lib/module/components/Text/Text.js +1 -1
  184. package/lib/module/components/Text/Text.js.map +1 -1
  185. package/lib/module/components/Text/index.js +1 -1
  186. package/lib/module/components/Text/index.js.map +1 -1
  187. package/lib/module/components/User/DeviceSessions/DeviceSessions.js +11 -3
  188. package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
  189. package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +258 -0
  190. package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -0
  191. package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
  192. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  193. package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
  194. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  195. package/lib/module/components/User/components/UserAvatar.js +1 -1
  196. package/lib/module/components/User/components/UserAvatar.js.map +1 -1
  197. package/lib/module/components/User/components/UserSection.js +11 -16
  198. package/lib/module/components/User/components/UserSection.js.map +1 -1
  199. package/lib/module/components/User/index.js +5 -4
  200. package/lib/module/components/User/index.js.map +1 -1
  201. package/lib/module/components/View/View.js.map +1 -1
  202. package/lib/module/components/View/index.js +1 -1
  203. package/lib/module/components/View/index.js.map +1 -1
  204. package/lib/module/components/index.js +20 -18
  205. package/lib/module/components/index.js.map +1 -1
  206. package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
  207. package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
  208. package/lib/module/components/layout/index.js +1 -1
  209. package/lib/module/components/layout/index.js.map +1 -1
  210. package/lib/module/constants/dummySections.js.map +1 -1
  211. package/lib/module/hooks/useDebounce.js.map +1 -1
  212. package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
  213. package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
  214. package/lib/module/hooks/useKeyboard.js.map +1 -1
  215. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  216. package/lib/module/index.js +3 -3
  217. package/lib/module/index.js.map +1 -1
  218. package/lib/module/package.json +1 -0
  219. package/lib/module/store/RecentSearchesStore.js.map +1 -1
  220. package/lib/module/store/splashStore.js.map +1 -1
  221. package/lib/module/theme/ThemeProvider.js +24 -18
  222. package/lib/module/theme/ThemeProvider.js.map +1 -1
  223. package/lib/module/theme/hook/useTheme.js +2 -2
  224. package/lib/module/theme/hook/useTheme.js.map +1 -1
  225. package/lib/module/theme/index.js +3 -2
  226. package/lib/module/theme/index.js.map +1 -1
  227. package/lib/module/theme/themes.js +2 -13
  228. package/lib/module/theme/themes.js.map +1 -1
  229. package/lib/module/utils/Formater.js +17 -0
  230. package/lib/module/utils/Formater.js.map +1 -0
  231. package/lib/typescript/package.json +1 -0
  232. package/lib/typescript/src/components/Account/Account.d.ts +0 -1
  233. package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
  234. package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
  235. package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
  236. package/lib/typescript/src/components/Alert/index.d.ts +2 -0
  237. package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
  238. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  239. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  240. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
  241. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  242. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +32 -0
  243. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -0
  244. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +15 -0
  245. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -0
  246. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  247. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
  248. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
  249. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
  250. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  251. package/lib/typescript/src/components/Auth/index.d.ts +2 -1
  252. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  253. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  254. package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
  255. package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
  256. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  257. package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
  258. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  259. package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
  260. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
  261. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  262. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  263. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  264. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  265. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  266. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  267. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  268. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  269. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  270. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  271. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  272. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  273. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
  274. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  275. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  276. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
  277. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
  278. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
  279. package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
  281. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  282. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  283. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
  284. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  285. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  286. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
  287. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  288. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
  289. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  290. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
  291. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  292. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  293. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  294. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
  295. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
  296. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
  297. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
  298. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  299. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  300. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
  301. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
  302. package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
  303. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
  304. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  305. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
  306. package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
  307. package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
  308. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  309. package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
  310. package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
  311. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  312. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  313. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts +12 -0
  314. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +1 -0
  315. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +9 -0
  316. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +1 -0
  317. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +13 -0
  318. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +1 -0
  319. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +18 -0
  320. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +1 -0
  321. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +15 -0
  322. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -0
  323. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +18 -0
  324. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -0
  325. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +24 -0
  326. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -0
  327. package/lib/typescript/src/components/Reels/index.d.ts +8 -0
  328. package/lib/typescript/src/components/Reels/index.d.ts.map +1 -0
  329. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  330. package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
  331. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  332. package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
  333. package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
  334. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  335. package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
  336. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  337. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  338. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  339. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  340. package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
  341. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  342. package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
  343. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
  344. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +2 -1
  345. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
  346. package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +27 -0
  347. package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -0
  348. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  349. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  350. package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
  351. package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
  352. package/lib/typescript/src/components/User/index.d.ts +2 -1
  353. package/lib/typescript/src/components/User/index.d.ts.map +1 -1
  354. package/lib/typescript/src/components/View/View.d.ts.map +1 -1
  355. package/lib/typescript/src/components/index.d.ts +2 -0
  356. package/lib/typescript/src/components/index.d.ts.map +1 -1
  357. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
  358. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  359. package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
  360. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
  361. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
  362. package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
  363. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  364. package/lib/typescript/src/index.d.ts.map +1 -1
  365. package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
  366. package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
  367. package/lib/typescript/src/store/splashStore.d.ts +5 -3
  368. package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
  369. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  370. package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
  371. package/lib/typescript/src/theme/index.d.ts +5 -0
  372. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  373. package/lib/typescript/src/theme/themes.d.ts +12 -4
  374. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  375. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  376. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
  377. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
  378. package/lib/typescript/src/utils/Formater.d.ts +2 -0
  379. package/lib/typescript/src/utils/Formater.d.ts.map +1 -0
  380. package/package.json +175 -70
  381. package/src/Styles/globalStyles.ts +18 -18
  382. package/src/assets/animations/135037-payment-processing-error.json +1347 -1
  383. package/src/assets/animations/7227-vui-animation.json +3377 -1
  384. package/src/assets/animations/heart.json +788 -0
  385. package/src/assets/animations/succesfull-payment.json +2379 -1
  386. package/src/assets/animations/voice-icon.json +542 -1
  387. package/src/components/Account/Account.tsx +139 -61
  388. package/src/components/Alert/UAAlert.tsx +168 -0
  389. package/src/components/Alert/index.ts +1 -0
  390. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
  391. package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
  392. package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
  393. package/src/components/Auth/OTP/OTP.tsx +77 -32
  394. package/src/components/Auth/QrLogin/QrLogin.tsx +306 -0
  395. package/src/components/Auth/QrLogin/components/QrViewArea.tsx +213 -0
  396. package/src/components/Auth/SignUp/SignUp.tsx +67 -32
  397. package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
  398. package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
  399. package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
  400. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
  401. package/src/components/Auth/index.ts +3 -1
  402. package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
  403. package/src/components/BlogView/BlogView.tsx +51 -31
  404. package/src/components/Button/BackBtn.tsx +31 -9
  405. package/src/components/Button/MenuBtn.tsx +61 -22
  406. package/src/components/Button/PrimaryBtn.tsx +30 -10
  407. package/src/components/Button/TextButton.tsx +30 -15
  408. package/src/components/Button/index.ts +1 -1
  409. package/src/components/Content/Card/Category/Category.tsx +73 -32
  410. package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
  411. package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
  412. package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
  413. package/src/components/Content/Card/Sliders/index.ts +2 -2
  414. package/src/components/Content/Card/Styles/Five.tsx +65 -22
  415. package/src/components/Content/Card/Styles/Four.tsx +73 -23
  416. package/src/components/Content/Card/Styles/One.tsx +68 -21
  417. package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
  418. package/src/components/Content/Card/Styles/Six.tsx +57 -19
  419. package/src/components/Content/Card/Styles/Three.tsx +59 -23
  420. package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
  421. package/src/components/Content/Card/Styles/Two.tsx +39 -18
  422. package/src/components/Content/Card/components/CardPoster.tsx +34 -32
  423. package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
  424. package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
  425. package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
  426. package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
  427. package/src/components/Content/Card/index.ts +2 -2
  428. package/src/components/Content/Content.tsx +41 -17
  429. package/src/components/Content/Sections.tsx +14 -8
  430. package/src/components/ContentView/ContentView.tsx +34 -27
  431. package/src/components/ContentView/MoreContentList.tsx +40 -18
  432. package/src/components/ContentView/components/AboutSection.tsx +30 -12
  433. package/src/components/ContentView/components/CastCard.tsx +65 -24
  434. package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
  435. package/src/components/ContentView/components/GenreTags.tsx +35 -11
  436. package/src/components/ContentView/components/HeroBanner.tsx +52 -21
  437. package/src/components/ContentView/components/PlayButton.tsx +13 -5
  438. package/src/components/ContentView/components/Title.tsx +30 -10
  439. package/src/components/ContentView/components/TrailerButton.tsx +16 -7
  440. package/src/components/Headers/AppHeader.tsx +41 -15
  441. package/src/components/Headers/One.tsx +19 -10
  442. package/src/components/Headers/Three.tsx +22 -7
  443. package/src/components/Headers/Two.tsx +25 -14
  444. package/src/components/Headers/index.ts +1 -1
  445. package/src/components/Input/Input.ts +1 -1
  446. package/src/components/Input/InputOne.tsx +69 -23
  447. package/src/components/Input/InputTwo.tsx +41 -18
  448. package/src/components/Input/PhoneNumberInput.tsx +94 -48
  449. package/src/components/Keyboard/HideKeyboard.tsx +16 -10
  450. package/src/components/Loader/Loader.tsx +3 -8
  451. package/src/components/Logo/Logo.tsx +17 -9
  452. package/src/components/Reels/ReelsSeries/Model/Episodes.tsx +133 -0
  453. package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +249 -0
  454. package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +209 -0
  455. package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +185 -0
  456. package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +163 -0
  457. package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +333 -0
  458. package/src/components/Reels/ReelsSeries/types.ts +27 -0
  459. package/src/components/Reels/index.ts +8 -0
  460. package/src/components/Search/One.tsx +46 -17
  461. package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
  462. package/src/components/Search/components/SearchCard.tsx +34 -16
  463. package/src/components/Search/index.ts +1 -1
  464. package/src/components/Settings/AppSettings.tsx +80 -29
  465. package/src/components/Subscription/SubOne.tsx +84 -39
  466. package/src/components/Subscription/index.ts +1 -1
  467. package/src/components/TabBar/One.tsx +22 -18
  468. package/src/components/TabBar/Three.tsx +55 -19
  469. package/src/components/TabBar/Two.tsx +16 -12
  470. package/src/components/TabBar/index.ts +1 -1
  471. package/src/components/Text/Text.tsx +7 -3
  472. package/src/components/User/DeviceSessions/DeviceSessions.tsx +104 -38
  473. package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +265 -0
  474. package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
  475. package/src/components/User/WatchLater/WatchLater.tsx +94 -31
  476. package/src/components/User/components/UserAvatar.tsx +8 -4
  477. package/src/components/User/components/UserSection.tsx +39 -27
  478. package/src/components/User/index.ts +3 -1
  479. package/src/components/View/View.tsx +11 -2
  480. package/src/components/index.ts +2 -0
  481. package/src/components/layout/SafeAreaWrapper.tsx +10 -4
  482. package/src/constants/dummySections.ts +9 -7
  483. package/src/hooks/useDebounce.ts +4 -1
  484. package/src/hooks/useInitSplashCacheSync.ts +46 -18
  485. package/src/hooks/useKeyboard.ts +5 -3
  486. package/src/hooks/usePaginatedSection.ts +11 -7
  487. package/src/store/RecentSearchesStore.ts +12 -7
  488. package/src/store/splashStore.ts +16 -16
  489. package/src/theme/ThemeProvider.tsx +57 -24
  490. package/src/theme/hook/useTheme.ts +7 -3
  491. package/src/theme/index.ts +6 -0
  492. package/src/theme/themes.ts +45 -31
  493. package/src/types/content/content-view.types.ts +4 -1
  494. package/src/types/hook/usePaginatedSetion.ts +1 -1
  495. package/src/utils/Formater.ts +14 -0
  496. package/lib/module/components/Icons/AlertIcon.js +0 -33
  497. package/lib/module/components/Icons/AlertIcon.js.map +0 -1
  498. package/lib/module/components/Icons/DeviceIcon.js +0 -25
  499. package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
  500. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
  501. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
  502. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
  503. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
  504. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
  505. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
  506. package/lib/module/components/Icons/NewIndex.js +0 -36
  507. package/lib/module/components/Icons/NewIndex.js.map +0 -1
  508. package/lib/module/components/Icons/ResendOTP.js +0 -21
  509. package/lib/module/components/Icons/ResendOTP.js.map +0 -1
  510. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
  511. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
  512. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
  513. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
  514. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
  515. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
  516. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
  517. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
  518. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
  519. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
  520. package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
  521. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
  522. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
  523. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
  524. package/src/components/Icons/AlertIcon.tsx +0 -18
  525. package/src/components/Icons/DeviceIcon.tsx +0 -18
  526. package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
  527. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
  528. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
  529. package/src/components/Icons/NewIndex.ts +0 -35
  530. package/src/components/Icons/ResendOTP.tsx +0 -13
  531. /package/lib/module/assets/{img → svg}/h.svg +0 -0
  532. /package/src/assets/{img → svg}/h.svg +0 -0
  533. /package/src/{index.ts → index.tsx} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  TouchableOpacity,
13
13
  type TextInputProps,
14
14
  type TextStyle,
15
- type ViewStyle
15
+ type ViewStyle,
16
16
  } from 'react-native';
17
17
  import { Eye, EyeOff } from 'lucide-react-native';
18
18
  import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
@@ -66,18 +66,37 @@ const InputTwo: React.FC<InputTwoProps> = ({
66
66
  error: inputErrorColor,
67
67
  backgroundDisabled,
68
68
  errorContainer,
69
- skeletonBaseColor
69
+ skeletonBaseColor,
70
70
  } = appliedTheme?.colors || {};
71
71
 
72
- const computedBorderColor = disabled ? outline : error ? inputErrorColor : outlineDisabled;
73
- const computedBackgroundColor = disabled ? backgroundDisabled : error ? errorContainer : skeletonBaseColor;
74
- const computedTextColor = disabled ? textDisabled : error ? inputErrorColor : textPrimary;
72
+ const computedBorderColor = disabled
73
+ ? outline
74
+ : error
75
+ ? inputErrorColor
76
+ : outlineDisabled;
77
+ const computedBackgroundColor = disabled
78
+ ? backgroundDisabled
79
+ : error
80
+ ? errorContainer
81
+ : skeletonBaseColor;
82
+ const computedTextColor = disabled
83
+ ? textDisabled
84
+ : error
85
+ ? inputErrorColor
86
+ : textPrimary;
75
87
 
76
88
  return (
77
89
  <View style={[styles.container, containerStyle]}>
78
90
  {label && (
79
- <View style={[styles.labelContainer, { backgroundColor: skeletonBaseColor, borderRadius: scale(3) }]}>
80
- <Text style={[styles.label, { color: computedTextColor }]}>{label}</Text>
91
+ <View
92
+ style={[
93
+ styles.labelContainer,
94
+ { backgroundColor: skeletonBaseColor, borderRadius: scale(3) },
95
+ ]}
96
+ >
97
+ <Text style={[styles.label, { color: computedTextColor }]}>
98
+ {label}
99
+ </Text>
81
100
  </View>
82
101
  )}
83
102
 
@@ -86,8 +105,8 @@ const InputTwo: React.FC<InputTwoProps> = ({
86
105
  styles.inputWrapper,
87
106
  {
88
107
  borderColor: computedBorderColor,
89
- backgroundColor: computedBackgroundColor
90
- }
108
+ backgroundColor: computedBackgroundColor,
109
+ },
91
110
  ]}
92
111
  >
93
112
  {/* Left Icon */}
@@ -139,7 +158,11 @@ const InputTwo: React.FC<InputTwoProps> = ({
139
158
  ) : null}
140
159
  </View>
141
160
 
142
- {error && errorMessage && <Text style={[styles.errorText, { color: inputErrorColor }]}>{errorMessage}</Text>}
161
+ {error && errorMessage && (
162
+ <Text style={[styles.errorText, { color: inputErrorColor }]}>
163
+ {errorMessage}
164
+ </Text>
165
+ )}
143
166
  </View>
144
167
  );
145
168
  };
@@ -149,19 +172,19 @@ export default InputTwo;
149
172
  const styles = StyleSheet.create({
150
173
  container: {
151
174
  width: '100%',
152
- marginBottom: verticalScale(5)
175
+ marginBottom: verticalScale(5),
153
176
  },
154
177
  labelContainer: {
155
178
  position: 'absolute',
156
179
  top: -9,
157
180
  left: scale(12),
158
181
  zIndex: 1,
159
- paddingHorizontal: scale(4)
182
+ paddingHorizontal: scale(4),
160
183
  },
161
184
  label: {
162
185
  fontSize: RFValue(11),
163
186
  fontWeight: '500',
164
- backgroundColor: 'transparent'
187
+ backgroundColor: 'transparent',
165
188
  },
166
189
  inputWrapper: {
167
190
  width: '100%',
@@ -170,20 +193,20 @@ const styles = StyleSheet.create({
170
193
  paddingHorizontal: scale(10),
171
194
  paddingVertical: verticalScale(6),
172
195
  flexDirection: 'row',
173
- alignItems: 'center'
196
+ alignItems: 'center',
174
197
  },
175
198
  iconWrapper: {
176
- marginHorizontal: scale(5)
199
+ marginHorizontal: scale(5),
177
200
  },
178
201
  input: {
179
202
  flex: 1,
180
203
  fontSize: RFValue(14),
181
204
  minHeight: verticalScale(30),
182
- padding: 0
205
+ padding: 0,
183
206
  },
184
207
  errorText: {
185
208
  fontSize: RFValue(11),
186
209
  marginTop: verticalScale(4),
187
- marginLeft: scale(8)
188
- }
210
+ marginLeft: scale(8),
211
+ },
189
212
  });
@@ -3,7 +3,13 @@
3
3
  * @lastModified Mon 16 Jun 2025 at 12:35 PM
4
4
  */
5
5
 
6
- import React, { useRef, useState, useCallback, useMemo, useEffect } from 'react';
6
+ import React, {
7
+ useRef,
8
+ useState,
9
+ useCallback,
10
+ useMemo,
11
+ useEffect,
12
+ } from 'react';
7
13
  import {
8
14
  StyleSheet,
9
15
  View,
@@ -11,7 +17,7 @@ import {
11
17
  Animated,
12
18
  type AccessibilityProps,
13
19
  type TextStyle,
14
- type ViewStyle
20
+ type ViewStyle,
15
21
  } from 'react-native';
16
22
  import PhoneInput from 'react-native-phone-number-input';
17
23
  import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
@@ -24,9 +30,14 @@ import { useTheme } from '../../theme/hook/useTheme';
24
30
  import type { AppTheme } from '../../theme/themes';
25
31
  import { RFValue } from 'react-native-responsive-fontsize';
26
32
 
27
- export interface PhoneNumberInputProps extends Pick<AccessibilityProps, 'accessibilityLabel' | 'accessibilityHint'> {
33
+ export interface PhoneNumberInputProps
34
+ extends Pick<AccessibilityProps, 'accessibilityLabel' | 'accessibilityHint'> {
28
35
  value: string;
29
- onChangeText: (params: { fullNumber: string; countryCode: string; formattedNumber: string }) => void;
36
+ onChangeText: (params: {
37
+ fullNumber: string;
38
+ countryCode: string;
39
+ formattedNumber: string;
40
+ }) => void;
30
41
  label?: string;
31
42
  placeholder?: string;
32
43
  error?: boolean;
@@ -37,9 +48,15 @@ export interface PhoneNumberInputProps extends Pick<AccessibilityProps, 'accessi
37
48
  disabled?: boolean;
38
49
  }
39
50
 
40
- const getMaxLengthForCountry = (countryCode: string, defaultMaxLength: number): number => {
51
+ const getMaxLengthForCountry = (
52
+ countryCode: string,
53
+ defaultMaxLength: number
54
+ ): number => {
41
55
  try {
42
- const example = getExampleNumber(countryCode as keyof typeof examples, examples);
56
+ const example = getExampleNumber(
57
+ countryCode as keyof typeof examples,
58
+ examples
59
+ );
43
60
  return example?.nationalNumber?.length ?? defaultMaxLength;
44
61
  } catch (error) {
45
62
  console.warn(`Failed to get max length for country ${countryCode}:`, error);
@@ -59,7 +76,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
59
76
  theme: propTheme,
60
77
  accessibilityLabel = label || 'Phone number input',
61
78
  accessibilityHint,
62
- disabled = false
79
+ disabled = false,
63
80
  }) => {
64
81
  const phoneInputRef = useRef<PhoneInput>(null);
65
82
  const { theme: appliedTheme } = useTheme(propTheme);
@@ -77,13 +94,13 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
77
94
  Animated.timing(errorAnimation, {
78
95
  toValue: 1,
79
96
  duration: 300,
80
- useNativeDriver: true
97
+ useNativeDriver: true,
81
98
  }).start();
82
99
  } else {
83
100
  Animated.timing(errorAnimation, {
84
101
  toValue: 0,
85
102
  duration: 300,
86
- useNativeDriver: true
103
+ useNativeDriver: true,
87
104
  }).start();
88
105
  }
89
106
  }, [inputError, error, errorAnimation]);
@@ -100,7 +117,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
100
117
  onChangeText({
101
118
  fullNumber: '',
102
119
  formattedNumber: formattedText,
103
- countryCode: inputCallingCode
120
+ countryCode: inputCallingCode,
104
121
  });
105
122
  return;
106
123
  }
@@ -110,7 +127,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
110
127
  onChangeText({
111
128
  fullNumber: '',
112
129
  formattedNumber: formattedText,
113
- countryCode: inputCallingCode
130
+ countryCode: inputCallingCode,
114
131
  });
115
132
  return;
116
133
  }
@@ -120,7 +137,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
120
137
  onChangeText({
121
138
  fullNumber: '',
122
139
  formattedNumber: formattedText,
123
- countryCode: inputCallingCode
140
+ countryCode: inputCallingCode,
124
141
  });
125
142
  return;
126
143
  }
@@ -130,7 +147,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
130
147
  onChangeText({
131
148
  fullNumber: '',
132
149
  formattedNumber: formattedText,
133
- countryCode: inputCallingCode
150
+ countryCode: inputCallingCode,
134
151
  });
135
152
  return;
136
153
  }
@@ -143,14 +160,14 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
143
160
  onChangeText({
144
161
  fullNumber: e164,
145
162
  formattedNumber: formattedText,
146
- countryCode: inputCallingCode
163
+ countryCode: inputCallingCode,
147
164
  });
148
165
  } else {
149
166
  setInputError('Please enter a valid phone number');
150
167
  onChangeText({
151
168
  fullNumber: '',
152
169
  formattedNumber: formattedText,
153
- countryCode: inputCallingCode
170
+ countryCode: inputCallingCode,
154
171
  });
155
172
  }
156
173
  },
@@ -190,8 +207,8 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
190
207
  : inputError || error
191
208
  ? appliedTheme.colors.errorContainer
192
209
  : appliedTheme.colors.background,
193
- borderWidth: isFocused ? scale(1.5) : scale(1)
194
- }
210
+ borderWidth: isFocused ? scale(1.5) : scale(1),
211
+ },
195
212
  ],
196
213
  [
197
214
  disabled,
@@ -204,7 +221,7 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
204
221
  appliedTheme.colors.background,
205
222
  inputError,
206
223
  error,
207
- isFocused
224
+ isFocused,
208
225
  ]
209
226
  );
210
227
 
@@ -222,13 +239,18 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
222
239
  {
223
240
  opacity: errorAnimation.interpolate({
224
241
  inputRange: [0, 1],
225
- outputRange: [1, 0.95]
226
- })
227
- }
242
+ outputRange: [1, 0.95],
243
+ }),
244
+ },
228
245
  ]}
229
246
  >
230
247
  {label && (
231
- <View style={[styles.labelContainer, { backgroundColor: appliedTheme.colors.background }]}>
248
+ <View
249
+ style={[
250
+ styles.labelContainer,
251
+ { backgroundColor: appliedTheme.colors.background },
252
+ ]}
253
+ >
232
254
  <Text
233
255
  style={[
234
256
  styles.label,
@@ -237,8 +259,8 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
237
259
  ? appliedTheme.colors.textDisabled
238
260
  : error || inputError
239
261
  ? appliedTheme.colors.error
240
- : appliedTheme.colors.textPrimary
241
- }
262
+ : appliedTheme.colors.textPrimary,
263
+ },
242
264
  ]}
243
265
  >
244
266
  {label}
@@ -256,15 +278,23 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
256
278
  autoFocus={false}
257
279
  disabled={disabled}
258
280
  placeholder={placeholder}
259
- containerStyle={[styles.phoneInputContainer, { backgroundColor: 'transparent' }]}
260
- textContainerStyle={[styles.phoneInputTextContainer, { backgroundColor: 'transparent' }]}
281
+ containerStyle={[
282
+ styles.phoneInputContainer,
283
+ { backgroundColor: 'transparent' },
284
+ ]}
285
+ textContainerStyle={[
286
+ styles.phoneInputTextContainer,
287
+ { backgroundColor: 'transparent' },
288
+ ]}
261
289
  textInputStyle={[
262
290
  styles.textInput,
263
291
  {
264
- color: disabled ? appliedTheme.colors.textDisabled : appliedTheme.colors.textPrimary,
265
- backgroundColor: 'transparent'
292
+ color: disabled
293
+ ? appliedTheme.colors.textDisabled
294
+ : appliedTheme.colors.textPrimary,
295
+ backgroundColor: 'transparent',
266
296
  },
267
- inputStyle
297
+ inputStyle,
268
298
  ]}
269
299
  codeTextStyle={[
270
300
  styles.codeTextStyle,
@@ -274,10 +304,13 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
274
304
  : error || inputError
275
305
  ? appliedTheme.colors.onErrorContainer
276
306
  : appliedTheme.colors.textPrimary,
277
- backgroundColor: 'transparent'
278
- }
307
+ backgroundColor: 'transparent',
308
+ },
309
+ ]}
310
+ countryPickerButtonStyle={[
311
+ styles.countryPickerButtonStyle,
312
+ { backgroundColor: 'transparent' },
279
313
  ]}
280
- countryPickerButtonStyle={[styles.countryPickerButtonStyle, { backgroundColor: 'transparent' }]}
281
314
  renderDropdownImage={
282
315
  <ChevronDown
283
316
  color={
@@ -293,20 +326,33 @@ const PhoneNumberInputOne: React.FC<PhoneNumberInputProps> = ({
293
326
  textInputProps={{
294
327
  keyboardType: 'numeric',
295
328
  maxLength,
296
- placeholderTextColor: disabled ? appliedTheme.colors.textDisabled : appliedTheme.colors.textSecondary,
329
+ placeholderTextColor: disabled
330
+ ? appliedTheme.colors.textDisabled
331
+ : appliedTheme.colors.textSecondary,
297
332
  accessibilityLabel: computedAccessibilityLabel,
298
333
  accessibilityHint: accessibilityHint,
299
- cursorColor: inputError || error ? appliedTheme.colors.error : appliedTheme.colors.primary,
300
- selectionColor: inputError || error ? appliedTheme.colors.error : appliedTheme.colors.primary,
334
+ cursorColor:
335
+ inputError || error
336
+ ? appliedTheme.colors.error
337
+ : appliedTheme.colors.primary,
338
+ selectionColor:
339
+ inputError || error
340
+ ? appliedTheme.colors.error
341
+ : appliedTheme.colors.primary,
301
342
 
302
343
  onFocus: () => setIsFocused(true),
303
- onBlur: () => setIsFocused(false)
344
+ onBlur: () => setIsFocused(false),
304
345
  }}
305
346
  withDarkTheme={appliedTheme.dark}
306
347
  />
307
348
  </View>
308
349
  {(error || inputError) && (
309
- <Text style={[styles.errorText, { color: appliedTheme.colors.onErrorContainer }]}>
350
+ <Text
351
+ style={[
352
+ styles.errorText,
353
+ { color: appliedTheme.colors.onErrorContainer },
354
+ ]}
355
+ >
310
356
  {inputError || errorMessage || 'Invalid phone number'}
311
357
  </Text>
312
358
  )}
@@ -319,7 +365,7 @@ export default React.memo(PhoneNumberInputOne);
319
365
  const styles = StyleSheet.create({
320
366
  container: {
321
367
  width: '100%',
322
- marginBottom: verticalScale(16)
368
+ marginBottom: verticalScale(16),
323
369
  },
324
370
  labelContainer: {
325
371
  position: 'absolute',
@@ -327,12 +373,12 @@ const styles = StyleSheet.create({
327
373
  left: scale(12),
328
374
  zIndex: 1,
329
375
  paddingHorizontal: scale(6),
330
- borderRadius: scale(4)
376
+ borderRadius: scale(4),
331
377
  },
332
378
  label: {
333
379
  fontSize: RFValue(10),
334
380
  fontWeight: '500',
335
- letterSpacing: 0.3
381
+ letterSpacing: 0.3,
336
382
  },
337
383
  inputWrapper: {
338
384
  width: '100%',
@@ -345,39 +391,39 @@ const styles = StyleSheet.create({
345
391
  shadowOffset: { width: 0, height: 0 },
346
392
  shadowOpacity: 0,
347
393
  shadowRadius: 0,
348
- elevation: 0
394
+ elevation: 0,
349
395
  },
350
396
  phoneInputContainer: {
351
397
  flex: 1,
352
398
  borderWidth: 0,
353
- elevation: 0
399
+ elevation: 0,
354
400
  },
355
401
  phoneInputTextContainer: {
356
402
  flex: 1,
357
403
  paddingVertical: 0,
358
404
  paddingHorizontal: scale(2),
359
- alignItems: 'center'
405
+ alignItems: 'center',
360
406
  },
361
407
  textInput: {
362
408
  flex: 1,
363
409
  fontSize: RFValue(16),
364
410
  padding: 0,
365
- fontWeight: '400'
411
+ fontWeight: '400',
366
412
  },
367
413
  codeTextStyle: {
368
414
  fontSize: RFValue(16),
369
- fontWeight: '500'
415
+ fontWeight: '500',
370
416
  },
371
417
  countryPickerButtonStyle: {
372
418
  marginRight: scale(-4),
373
419
  padding: scale(2),
374
- marginLeft: scale(-4)
420
+ marginLeft: scale(-4),
375
421
  },
376
422
  errorText: {
377
423
  fontSize: RFValue(10),
378
424
  marginTop: verticalScale(8),
379
425
  marginLeft: scale(12),
380
426
  fontWeight: '400',
381
- opacity: 0.9
382
- }
427
+ opacity: 0.9,
428
+ },
383
429
  });
@@ -11,7 +11,7 @@ import {
11
11
  Animated,
12
12
  Platform,
13
13
  StatusBar,
14
- type ViewStyle
14
+ type ViewStyle,
15
15
  } from 'react-native';
16
16
  import { scale } from 'react-native-size-matters';
17
17
 
@@ -26,22 +26,26 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
26
26
  children,
27
27
  containerStyle,
28
28
  behavior = 'padding',
29
- keyboardVerticalOffset = scale(-160)
29
+ keyboardVerticalOffset = scale(-160),
30
30
  }) => {
31
31
  const fadeAnim = useRef(new Animated.Value(1)).current;
32
32
 
33
33
  // Platform-based offset
34
- const offset = keyboardVerticalOffset ?? (Platform.OS === 'ios' ? 0 : (StatusBar.currentHeight ?? 0));
34
+ const offset =
35
+ keyboardVerticalOffset ??
36
+ (Platform.OS === 'ios' ? 0 : (StatusBar.currentHeight ?? 0));
35
37
 
36
38
  useEffect(() => {
37
- const showEvent = Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow';
38
- const hideEvent = Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide';
39
+ const showEvent =
40
+ Platform.OS === 'ios' ? 'keyboardWillShow' : 'keyboardDidShow';
41
+ const hideEvent =
42
+ Platform.OS === 'ios' ? 'keyboardWillHide' : 'keyboardDidHide';
39
43
 
40
44
  const showSub = Keyboard.addListener(showEvent, () => {
41
45
  Animated.timing(fadeAnim, {
42
46
  toValue: 0.98,
43
47
  duration: 250,
44
- useNativeDriver: true
48
+ useNativeDriver: true,
45
49
  }).start();
46
50
  });
47
51
 
@@ -49,7 +53,7 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
49
53
  Animated.timing(fadeAnim, {
50
54
  toValue: 1,
51
55
  duration: 250,
52
- useNativeDriver: true
56
+ useNativeDriver: true,
53
57
  }).start();
54
58
  });
55
59
 
@@ -66,7 +70,9 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
66
70
  keyboardVerticalOffset={offset}
67
71
  >
68
72
  <TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
69
- <Animated.View style={{ flex: 1, transform: [{ scale: fadeAnim }] }}>{children}</Animated.View>
73
+ <Animated.View style={{ flex: 1, transform: [{ scale: fadeAnim }] }}>
74
+ {children}
75
+ </Animated.View>
70
76
  </TouchableWithoutFeedback>
71
77
  </KeyboardAvoidingView>
72
78
  );
@@ -75,8 +81,8 @@ const HideKeyboard: React.FC<HideKeyboardProps> = ({
75
81
  const styles = StyleSheet.create({
76
82
  keyboardAvoidingView: {
77
83
  flex: 1,
78
- width: '100%'
79
- }
84
+ width: '100%',
85
+ },
80
86
  });
81
87
 
82
88
  export default HideKeyboard;
@@ -1,10 +1,5 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Sun 08 Jun 2025 at 03:30 PM
4
- */
5
1
  import React from 'react';
6
- import { StyleSheet, View } from 'react-native';
7
- import { ActivityIndicator } from 'react-native-paper';
2
+ import { StyleSheet, View, ActivityIndicator } from 'react-native';
8
3
 
9
4
  interface LoaderProps {
10
5
  color?: string;
@@ -28,6 +23,6 @@ const styles = StyleSheet.create({
28
23
  justifyContent: 'center',
29
24
  alignItems: 'center',
30
25
  zIndex: 999,
31
- backgroundColor: 'rgba(255,255,255,0.4)' // optional semi-transparent backdrop
32
- }
26
+ backgroundColor: 'rgba(255,255,255,0.4)', // optional semi-transparent backdrop
27
+ },
33
28
  });
@@ -3,7 +3,13 @@
3
3
  * @lastModified Sun 08 Jun 2025 at 03:23 PM
4
4
  */
5
5
  import React from 'react';
6
- import { Image, View, type StyleProp, type ImageStyle, type ViewStyle } from 'react-native';
6
+ import {
7
+ Image,
8
+ View,
9
+ type StyleProp,
10
+ type ImageStyle,
11
+ type ViewStyle,
12
+ } from 'react-native';
7
13
  import { moderateScale } from 'react-native-size-matters';
8
14
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
9
15
  import { useInitSplashCacheSync } from '../../hooks/useInitSplashCacheSync';
@@ -33,19 +39,21 @@ export const Logo: React.FC<ILogoProps> = ({
33
39
  aspectRatio,
34
40
  fallbackUri,
35
41
  theme,
36
- isLoading = false
42
+ isLoading = false,
37
43
  }) => {
38
44
  const { theme: appliedTheme } = useTheme(theme);
39
45
 
40
46
  const {
41
47
  data: { localPathLogo },
42
- isLoading: isSplashLoading
48
+ isLoading: isSplashLoading,
43
49
  } = useInitSplashCacheSync({
44
- logoUrl: logoUri
50
+ logoUrl: logoUri,
45
51
  });
46
52
  const finalSource = localPathLogo
47
53
  ? {
48
- uri: localPathLogo.startsWith('file://') ? localPathLogo : `file://${localPathLogo}`
54
+ uri: localPathLogo.startsWith('file://')
55
+ ? localPathLogo
56
+ : `file://${localPathLogo}`,
49
57
  }
50
58
  : logoUri
51
59
  ? { uri: logoUri }
@@ -61,9 +69,9 @@ export const Logo: React.FC<ILogoProps> = ({
61
69
  style={[
62
70
  {
63
71
  alignItems: 'center',
64
- justifyContent: 'center'
72
+ justifyContent: 'center',
65
73
  },
66
- containerStyle
74
+ containerStyle,
67
75
  ]}
68
76
  >
69
77
  {isLoading || isSplashLoading ? (
@@ -89,9 +97,9 @@ export const Logo: React.FC<ILogoProps> = ({
89
97
  {
90
98
  width: moderateScale(width),
91
99
  height: moderateScale(height),
92
- ...(aspectRatio ? { aspectRatio } : {})
100
+ ...(aspectRatio ? { aspectRatio } : {}),
93
101
  },
94
- imageStyle
102
+ imageStyle,
95
103
  ]}
96
104
  onError={() => {
97
105
  return null;