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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) 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/succesfull-payment.json +2379 -1
  6. package/lib/module/assets/animations/voice-icon.json +542 -1
  7. package/lib/module/components/Account/Account.js +6 -6
  8. package/lib/module/components/Account/Account.js.map +1 -1
  9. package/lib/module/components/Account/index.js +1 -1
  10. package/lib/module/components/Account/index.js.map +1 -1
  11. package/lib/module/components/Alert/UAAlert.js +138 -0
  12. package/lib/module/components/Alert/UAAlert.js.map +1 -0
  13. package/lib/module/components/Alert/index.js +4 -0
  14. package/lib/module/components/Alert/index.js.map +1 -0
  15. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
  16. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
  17. package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
  18. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  19. package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
  20. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
  21. package/lib/module/components/Auth/OTP/OTP.js +9 -9
  22. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  23. package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
  24. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  25. package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
  26. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
  27. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
  28. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
  29. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
  30. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
  31. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
  32. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  33. package/lib/module/components/Auth/index.js +6 -6
  34. package/lib/module/components/Auth/index.js.map +1 -1
  35. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
  36. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  37. package/lib/module/components/BlogView/BlogView.js +4 -10
  38. package/lib/module/components/BlogView/BlogView.js.map +1 -1
  39. package/lib/module/components/BlogView/index.js +1 -1
  40. package/lib/module/components/BlogView/index.js.map +1 -1
  41. package/lib/module/components/Button/BackBtn.js +1 -1
  42. package/lib/module/components/Button/BackBtn.js.map +1 -1
  43. package/lib/module/components/Button/MenuBtn.js +1 -1
  44. package/lib/module/components/Button/MenuBtn.js.map +1 -1
  45. package/lib/module/components/Button/PrimaryBtn.js +2 -2
  46. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  47. package/lib/module/components/Button/TextButton.js +2 -2
  48. package/lib/module/components/Button/TextButton.js.map +1 -1
  49. package/lib/module/components/Button/index.js +3 -3
  50. package/lib/module/components/Button/index.js.map +1 -1
  51. package/lib/module/components/Content/Card/Category/Category.js +2 -2
  52. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  53. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
  54. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  55. package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
  56. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  57. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
  58. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  59. package/lib/module/components/Content/Card/Sliders/index.js +2 -2
  60. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  61. package/lib/module/components/Content/Card/Styles/Five.js +4 -4
  62. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  63. package/lib/module/components/Content/Card/Styles/Four.js +4 -4
  64. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  65. package/lib/module/components/Content/Card/Styles/One.js +4 -4
  66. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  67. package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
  68. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  69. package/lib/module/components/Content/Card/Styles/Six.js +5 -5
  70. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  71. package/lib/module/components/Content/Card/Styles/Three.js +4 -4
  72. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  73. package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
  74. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  75. package/lib/module/components/Content/Card/Styles/Two.js +4 -4
  76. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  77. package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
  78. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  79. package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
  80. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  81. package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
  82. package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
  83. package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
  84. package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
  85. package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
  86. package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
  87. package/lib/module/components/Content/Card/index.js +10 -10
  88. package/lib/module/components/Content/Card/index.js.map +1 -1
  89. package/lib/module/components/Content/Content.js +4 -4
  90. package/lib/module/components/Content/Content.js.map +1 -1
  91. package/lib/module/components/Content/Sections.js +2 -2
  92. package/lib/module/components/Content/Sections.js.map +1 -1
  93. package/lib/module/components/ContentView/ContentView.js +8 -9
  94. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  95. package/lib/module/components/ContentView/MoreContentList.js +6 -6
  96. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  97. package/lib/module/components/ContentView/components/AboutSection.js +2 -2
  98. package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
  99. package/lib/module/components/ContentView/components/CastCard.js +2 -2
  100. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  101. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  102. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  103. package/lib/module/components/ContentView/components/GenreTags.js +1 -1
  104. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  105. package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
  106. package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
  107. package/lib/module/components/ContentView/components/PlayButton.js +0 -1
  108. package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
  109. package/lib/module/components/ContentView/components/Title.js +1 -1
  110. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  111. package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
  112. package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
  113. package/lib/module/components/ContentView/index.js +2 -2
  114. package/lib/module/components/ContentView/index.js.map +1 -1
  115. package/lib/module/components/Headers/AppHeader.js +2 -2
  116. package/lib/module/components/Headers/AppHeader.js.map +1 -1
  117. package/lib/module/components/Headers/One.js +2 -2
  118. package/lib/module/components/Headers/One.js.map +1 -1
  119. package/lib/module/components/Headers/Three.js +2 -2
  120. package/lib/module/components/Headers/Three.js.map +1 -1
  121. package/lib/module/components/Headers/Two.js +5 -6
  122. package/lib/module/components/Headers/Two.js.map +1 -1
  123. package/lib/module/components/Headers/index.js +3 -3
  124. package/lib/module/components/Headers/index.js.map +1 -1
  125. package/lib/module/components/Input/Input.js +3 -3
  126. package/lib/module/components/Input/Input.js.map +1 -1
  127. package/lib/module/components/Input/InputOne.js +1 -1
  128. package/lib/module/components/Input/InputOne.js.map +1 -1
  129. package/lib/module/components/Input/InputTwo.js +1 -1
  130. package/lib/module/components/Input/InputTwo.js.map +1 -1
  131. package/lib/module/components/Input/PhoneNumberInput.js +1 -1
  132. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  133. package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
  134. package/lib/module/components/Loader/Loader.js +1 -6
  135. package/lib/module/components/Loader/Loader.js.map +1 -1
  136. package/lib/module/components/Logo/Logo.js +2 -2
  137. package/lib/module/components/Logo/Logo.js.map +1 -1
  138. package/lib/module/components/Search/One.js +9 -9
  139. package/lib/module/components/Search/One.js.map +1 -1
  140. package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
  141. package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
  142. package/lib/module/components/Search/components/SearchCard.js +3 -3
  143. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  144. package/lib/module/components/Search/index.js +2 -2
  145. package/lib/module/components/Search/index.js.map +1 -1
  146. package/lib/module/components/Settings/AppSettings.js +4 -4
  147. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  148. package/lib/module/components/Settings/index.js +1 -1
  149. package/lib/module/components/Settings/index.js.map +1 -1
  150. package/lib/module/components/Subscription/SubOne.js +4 -4
  151. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  152. package/lib/module/components/Subscription/index.js +1 -1
  153. package/lib/module/components/Subscription/index.js.map +1 -1
  154. package/lib/module/components/TabBar/One.js +2 -2
  155. package/lib/module/components/TabBar/One.js.map +1 -1
  156. package/lib/module/components/TabBar/Three.js +1 -1
  157. package/lib/module/components/TabBar/Three.js.map +1 -1
  158. package/lib/module/components/TabBar/Two.js +2 -2
  159. package/lib/module/components/TabBar/Two.js.map +1 -1
  160. package/lib/module/components/TabBar/index.js +3 -3
  161. package/lib/module/components/TabBar/index.js.map +1 -1
  162. package/lib/module/components/Text/Text.js +1 -1
  163. package/lib/module/components/Text/Text.js.map +1 -1
  164. package/lib/module/components/Text/index.js +1 -1
  165. package/lib/module/components/Text/index.js.map +1 -1
  166. package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
  167. package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
  168. package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
  169. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  170. package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
  171. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  172. package/lib/module/components/User/components/UserAvatar.js +1 -1
  173. package/lib/module/components/User/components/UserAvatar.js.map +1 -1
  174. package/lib/module/components/User/components/UserSection.js +3 -3
  175. package/lib/module/components/User/components/UserSection.js.map +1 -1
  176. package/lib/module/components/User/index.js +3 -3
  177. package/lib/module/components/User/index.js.map +1 -1
  178. package/lib/module/components/View/View.js.map +1 -1
  179. package/lib/module/components/View/index.js +1 -1
  180. package/lib/module/components/View/index.js.map +1 -1
  181. package/lib/module/components/index.js +19 -18
  182. package/lib/module/components/index.js.map +1 -1
  183. package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
  184. package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
  185. package/lib/module/components/layout/index.js +1 -1
  186. package/lib/module/components/layout/index.js.map +1 -1
  187. package/lib/module/constants/dummySections.js.map +1 -1
  188. package/lib/module/hooks/useDebounce.js.map +1 -1
  189. package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
  190. package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
  191. package/lib/module/hooks/useKeyboard.js.map +1 -1
  192. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  193. package/lib/module/index.js +3 -3
  194. package/lib/module/index.js.map +1 -1
  195. package/lib/module/package.json +1 -0
  196. package/lib/module/store/RecentSearchesStore.js.map +1 -1
  197. package/lib/module/store/splashStore.js.map +1 -1
  198. package/lib/module/theme/ThemeProvider.js +11 -8
  199. package/lib/module/theme/ThemeProvider.js.map +1 -1
  200. package/lib/module/theme/hook/useTheme.js +2 -2
  201. package/lib/module/theme/hook/useTheme.js.map +1 -1
  202. package/lib/module/theme/index.js +3 -2
  203. package/lib/module/theme/index.js.map +1 -1
  204. package/lib/module/theme/themes.js +0 -13
  205. package/lib/module/theme/themes.js.map +1 -1
  206. package/lib/typescript/package.json +1 -0
  207. package/lib/typescript/src/components/Account/Account.d.ts +0 -1
  208. package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
  209. package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
  210. package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
  211. package/lib/typescript/src/components/Alert/index.d.ts +2 -0
  212. package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
  213. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  214. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  215. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
  216. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  217. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  218. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
  219. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
  220. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
  221. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  222. package/lib/typescript/src/components/Auth/index.d.ts +1 -1
  223. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  224. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  225. package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
  226. package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
  227. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  228. package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
  229. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  230. package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
  231. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
  232. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  233. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  234. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  235. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  236. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  237. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  238. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  239. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  240. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  241. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  242. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  243. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  244. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
  245. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  246. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  247. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
  248. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
  249. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
  250. package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
  251. package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
  252. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  253. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  254. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
  255. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  256. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  257. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
  258. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  259. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
  260. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  261. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
  262. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  263. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  264. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  265. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
  266. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
  267. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
  268. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
  269. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  270. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  271. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
  272. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
  273. package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
  274. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
  275. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  276. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
  277. package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
  278. package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
  279. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
  281. package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
  282. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  283. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  284. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  285. package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
  286. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  287. package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
  288. package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
  289. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  290. package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
  291. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  292. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  293. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  294. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  295. package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
  296. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  297. package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
  298. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
  299. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
  300. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
  301. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  302. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  303. package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
  304. package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
  305. package/lib/typescript/src/components/View/View.d.ts.map +1 -1
  306. package/lib/typescript/src/components/index.d.ts +1 -0
  307. package/lib/typescript/src/components/index.d.ts.map +1 -1
  308. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
  309. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  310. package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
  311. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
  312. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
  313. package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
  314. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  315. package/lib/typescript/src/index.d.ts.map +1 -1
  316. package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
  317. package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
  318. package/lib/typescript/src/store/splashStore.d.ts +5 -3
  319. package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
  320. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  321. package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
  322. package/lib/typescript/src/theme/index.d.ts +5 -0
  323. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  324. package/lib/typescript/src/theme/themes.d.ts +11 -4
  325. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  326. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  327. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
  328. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
  329. package/package.json +167 -70
  330. package/src/Styles/globalStyles.ts +18 -18
  331. package/src/assets/animations/135037-payment-processing-error.json +1347 -1
  332. package/src/assets/animations/7227-vui-animation.json +3377 -1
  333. package/src/assets/animations/succesfull-payment.json +2379 -1
  334. package/src/assets/animations/voice-icon.json +542 -1
  335. package/src/components/Account/Account.tsx +139 -61
  336. package/src/components/Alert/UAAlert.tsx +168 -0
  337. package/src/components/Alert/index.ts +1 -0
  338. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
  339. package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
  340. package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
  341. package/src/components/Auth/OTP/OTP.tsx +77 -32
  342. package/src/components/Auth/SignUp/SignUp.tsx +67 -32
  343. package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
  344. package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
  345. package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
  346. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
  347. package/src/components/Auth/index.ts +1 -1
  348. package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
  349. package/src/components/BlogView/BlogView.tsx +51 -31
  350. package/src/components/Button/BackBtn.tsx +31 -9
  351. package/src/components/Button/MenuBtn.tsx +61 -22
  352. package/src/components/Button/PrimaryBtn.tsx +30 -10
  353. package/src/components/Button/TextButton.tsx +30 -15
  354. package/src/components/Button/index.ts +1 -1
  355. package/src/components/Content/Card/Category/Category.tsx +73 -32
  356. package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
  357. package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
  358. package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
  359. package/src/components/Content/Card/Sliders/index.ts +2 -2
  360. package/src/components/Content/Card/Styles/Five.tsx +65 -22
  361. package/src/components/Content/Card/Styles/Four.tsx +73 -23
  362. package/src/components/Content/Card/Styles/One.tsx +68 -21
  363. package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
  364. package/src/components/Content/Card/Styles/Six.tsx +57 -19
  365. package/src/components/Content/Card/Styles/Three.tsx +59 -23
  366. package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
  367. package/src/components/Content/Card/Styles/Two.tsx +39 -18
  368. package/src/components/Content/Card/components/CardPoster.tsx +34 -32
  369. package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
  370. package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
  371. package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
  372. package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
  373. package/src/components/Content/Card/index.ts +2 -2
  374. package/src/components/Content/Content.tsx +41 -17
  375. package/src/components/Content/Sections.tsx +14 -8
  376. package/src/components/ContentView/ContentView.tsx +34 -27
  377. package/src/components/ContentView/MoreContentList.tsx +40 -18
  378. package/src/components/ContentView/components/AboutSection.tsx +30 -12
  379. package/src/components/ContentView/components/CastCard.tsx +65 -24
  380. package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
  381. package/src/components/ContentView/components/GenreTags.tsx +35 -11
  382. package/src/components/ContentView/components/HeroBanner.tsx +52 -21
  383. package/src/components/ContentView/components/PlayButton.tsx +13 -5
  384. package/src/components/ContentView/components/Title.tsx +30 -10
  385. package/src/components/ContentView/components/TrailerButton.tsx +16 -7
  386. package/src/components/Headers/AppHeader.tsx +40 -14
  387. package/src/components/Headers/One.tsx +18 -9
  388. package/src/components/Headers/Three.tsx +22 -7
  389. package/src/components/Headers/Two.tsx +24 -13
  390. package/src/components/Headers/index.ts +1 -1
  391. package/src/components/Input/Input.ts +1 -1
  392. package/src/components/Input/InputOne.tsx +69 -23
  393. package/src/components/Input/InputTwo.tsx +41 -18
  394. package/src/components/Input/PhoneNumberInput.tsx +94 -48
  395. package/src/components/Keyboard/HideKeyboard.tsx +16 -10
  396. package/src/components/Loader/Loader.tsx +3 -8
  397. package/src/components/Logo/Logo.tsx +17 -9
  398. package/src/components/Search/One.tsx +46 -17
  399. package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
  400. package/src/components/Search/components/SearchCard.tsx +34 -16
  401. package/src/components/Search/index.ts +1 -1
  402. package/src/components/Settings/AppSettings.tsx +80 -29
  403. package/src/components/Subscription/SubOne.tsx +84 -39
  404. package/src/components/Subscription/index.ts +1 -1
  405. package/src/components/TabBar/One.tsx +22 -18
  406. package/src/components/TabBar/Three.tsx +55 -19
  407. package/src/components/TabBar/Two.tsx +16 -12
  408. package/src/components/TabBar/index.ts +1 -1
  409. package/src/components/Text/Text.tsx +7 -3
  410. package/src/components/User/DeviceSessions/DeviceSessions.tsx +93 -38
  411. package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
  412. package/src/components/User/WatchLater/WatchLater.tsx +94 -31
  413. package/src/components/User/components/UserAvatar.tsx +8 -4
  414. package/src/components/User/components/UserSection.tsx +34 -19
  415. package/src/components/View/View.tsx +11 -2
  416. package/src/components/index.ts +1 -0
  417. package/src/components/layout/SafeAreaWrapper.tsx +10 -4
  418. package/src/constants/dummySections.ts +9 -7
  419. package/src/hooks/useDebounce.ts +4 -1
  420. package/src/hooks/useInitSplashCacheSync.ts +46 -18
  421. package/src/hooks/useKeyboard.ts +5 -3
  422. package/src/hooks/usePaginatedSection.ts +11 -7
  423. package/src/store/RecentSearchesStore.ts +12 -7
  424. package/src/store/splashStore.ts +16 -16
  425. package/src/theme/ThemeProvider.tsx +50 -20
  426. package/src/theme/hook/useTheme.ts +7 -3
  427. package/src/theme/index.ts +6 -0
  428. package/src/theme/themes.ts +42 -31
  429. package/src/types/content/content-view.types.ts +4 -1
  430. package/src/types/hook/usePaginatedSetion.ts +1 -1
  431. package/lib/module/components/Icons/AlertIcon.js +0 -33
  432. package/lib/module/components/Icons/AlertIcon.js.map +0 -1
  433. package/lib/module/components/Icons/DeviceIcon.js +0 -25
  434. package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
  435. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
  436. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
  437. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
  438. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
  439. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
  440. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
  441. package/lib/module/components/Icons/NewIndex.js +0 -36
  442. package/lib/module/components/Icons/NewIndex.js.map +0 -1
  443. package/lib/module/components/Icons/ResendOTP.js +0 -21
  444. package/lib/module/components/Icons/ResendOTP.js.map +0 -1
  445. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
  446. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
  447. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
  448. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
  449. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
  450. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
  451. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
  452. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
  453. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
  454. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
  455. package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
  456. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
  457. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
  458. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
  459. package/src/components/Icons/AlertIcon.tsx +0 -18
  460. package/src/components/Icons/DeviceIcon.tsx +0 -18
  461. package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
  462. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
  463. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
  464. package/src/components/Icons/NewIndex.ts +0 -35
  465. package/src/components/Icons/ResendOTP.tsx +0 -13
  466. /package/src/{index.ts → index.tsx} +0 -0
@@ -1,15 +1,10 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Wed 02 Jul 2025 at 10:29 AM
4
- */
5
- /**
6
- * @author Naresh Dhamu
7
- * @lastModified Wed 02 Jul 2025 at 10:29 AM
8
- */
9
-
10
1
  import React, { useState, useEffect, useMemo } from 'react';
11
2
  import { View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
12
- import type { ImageStyle as FastImageStyle, ImageStyle, ResizeMode } from 'react-native-fast-image';
3
+ import type {
4
+ ImageStyle as FastImageStyle,
5
+ ImageStyle,
6
+ ResizeMode,
7
+ } from 'react-native-fast-image';
13
8
  import FastImage from 'react-native-fast-image';
14
9
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
15
10
  import { scale } from 'react-native-size-matters';
@@ -35,7 +30,7 @@ const CardPoster: React.FC<CardPosterProps> = ({
35
30
  borderRadius = scale(6),
36
31
  posterWrapperStyle,
37
32
  imageStyle,
38
- resizeMode = FastImage.resizeMode.cover
33
+ resizeMode = FastImage.resizeMode.cover,
39
34
  }) => {
40
35
  const [imageLoading, setImageLoading] = useState(true);
41
36
  const [imageError, setImageError] = useState(false);
@@ -61,7 +56,8 @@ const CardPoster: React.FC<CardPosterProps> = ({
61
56
  }
62
57
  }, [posterUri, hasValidPoster]);
63
58
 
64
- const showSkeleton = isLoading || (imageLoading && !imageError && hasValidPoster);
59
+ const showSkeleton =
60
+ isLoading || (imageLoading && !imageError && hasValidPoster);
65
61
 
66
62
  const fallbackImageStyle: ImageStyle = useMemo(
67
63
  () => ({
@@ -70,7 +66,7 @@ const CardPoster: React.FC<CardPosterProps> = ({
70
66
  borderRadius,
71
67
  position: 'absolute',
72
68
  top: 0,
73
- left: 0
69
+ left: 0,
74
70
  }),
75
71
  [borderRadius]
76
72
  );
@@ -83,9 +79,9 @@ const CardPoster: React.FC<CardPosterProps> = ({
83
79
  {
84
80
  borderRadius,
85
81
  backgroundColor: theme.colors.background,
86
- shadowColor: theme.colors.shadow
82
+ shadowColor: theme.colors.shadow,
87
83
  },
88
- posterWrapperStyle
84
+ posterWrapperStyle,
89
85
  ]}
90
86
  >
91
87
  {showSkeleton && (
@@ -95,7 +91,9 @@ const CardPoster: React.FC<CardPosterProps> = ({
95
91
  highlightColor={theme.colors.skeletonHighlightColor}
96
92
  speed={1000}
97
93
  >
98
- <SkeletonPlaceholder.Item style={[styles.skeleton, { borderRadius }]} />
94
+ <SkeletonPlaceholder.Item
95
+ style={[styles.skeleton, { borderRadius }]}
96
+ />
99
97
  </SkeletonPlaceholder>
100
98
  </View>
101
99
  )}
@@ -105,9 +103,13 @@ const CardPoster: React.FC<CardPosterProps> = ({
105
103
  source={{
106
104
  uri: posterUri,
107
105
  cache: FastImage.cacheControl.immutable,
108
- priority: FastImage.priority.normal
106
+ priority: FastImage.priority.normal,
109
107
  }}
110
- style={[fallbackImageStyle, showSkeleton ? styles.hidden : styles.visible, imageStyle]}
108
+ style={[
109
+ fallbackImageStyle,
110
+ showSkeleton ? styles.hidden : styles.visible,
111
+ imageStyle,
112
+ ]}
111
113
  resizeMode={resizeMode}
112
114
  onLoadStart={() => {
113
115
  if (hasValidPoster) {
@@ -135,16 +137,16 @@ const CardPoster: React.FC<CardPosterProps> = ({
135
137
  {
136
138
  borderRadius,
137
139
  backgroundColor: theme.colors.background,
138
- borderColor: theme.colors.error
139
- }
140
+ borderColor: theme.colors.error,
141
+ },
140
142
  ]}
141
143
  >
142
144
  <View
143
145
  style={[
144
146
  styles.fallback,
145
147
  {
146
- backgroundColor: theme.colors.errorContainer
147
- }
148
+ backgroundColor: theme.colors.errorContainer,
149
+ },
148
150
  ]}
149
151
  >
150
152
  <ImageOff size={scale(18)} color={theme.colors.error} />
@@ -165,13 +167,13 @@ const styles = StyleSheet.create({
165
167
  width: '100%',
166
168
  aspectRatio: 2 / 3,
167
169
  overflow: 'hidden',
168
- position: 'relative'
170
+ position: 'relative',
169
171
  },
170
172
  defaultPosterWrapper: {
171
173
  shadowOffset: { width: 0, height: 2 },
172
174
  shadowOpacity: 0.1,
173
175
  shadowRadius: 3,
174
- elevation: 2
176
+ elevation: 2,
175
177
  },
176
178
  skeletonWrapper: {
177
179
  position: 'absolute',
@@ -179,17 +181,17 @@ const styles = StyleSheet.create({
179
181
  left: 0,
180
182
  width: '100%',
181
183
  aspectRatio: 2 / 3,
182
- overflow: 'hidden'
184
+ overflow: 'hidden',
183
185
  },
184
186
  skeleton: {
185
187
  width: '100%',
186
- aspectRatio: 2 / 3
188
+ aspectRatio: 2 / 3,
187
189
  },
188
190
  visible: {
189
- opacity: 1
191
+ opacity: 1,
190
192
  },
191
193
  hidden: {
192
- opacity: 0
194
+ opacity: 0,
193
195
  },
194
196
  fallbackWrapper: {
195
197
  position: 'absolute',
@@ -199,7 +201,7 @@ const styles = StyleSheet.create({
199
201
  aspectRatio: 2 / 3,
200
202
  borderWidth: scale(1),
201
203
  alignItems: 'center',
202
- justifyContent: 'center'
204
+ justifyContent: 'center',
203
205
  },
204
206
  fallback: {
205
207
  position: 'absolute',
@@ -208,10 +210,10 @@ const styles = StyleSheet.create({
208
210
  width: '100%',
209
211
  aspectRatio: 2 / 3,
210
212
  alignItems: 'center',
211
- justifyContent: 'center'
213
+ justifyContent: 'center',
212
214
  },
213
215
  fallbackText: {
214
216
  marginTop: scale(4),
215
- fontSize: RFValue(9)
216
- }
217
+ fontSize: RFValue(9),
218
+ },
217
219
  });
@@ -4,7 +4,13 @@
4
4
  */
5
5
 
6
6
  import React from 'react';
7
- import { StyleSheet, View, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
7
+ import {
8
+ StyleSheet,
9
+ View,
10
+ type StyleProp,
11
+ type TextStyle,
12
+ type ViewStyle,
13
+ } from 'react-native';
8
14
  import { verticalScale } from 'react-native-size-matters';
9
15
  import ShowAllButton, { type ShowAllButtonProps } from './ShowAllButton';
10
16
  import { Text } from '../../../Text';
@@ -23,12 +29,16 @@ const NavigateToMore: React.FC<IProps> = ({
23
29
  title,
24
30
  titleStyle,
25
31
  containerStyle,
26
- showAllProps
32
+ showAllProps,
27
33
  }): React.ReactElement => {
28
34
  return (
29
35
  <View style={[styles.container, containerStyle]}>
30
36
  <View style={styles.titleWrapper}>
31
- <Text style={[styles.title, titleStyle]} numberOfLines={1} ellipsizeMode="tail">
37
+ <Text
38
+ style={[styles.title, titleStyle]}
39
+ numberOfLines={1}
40
+ ellipsizeMode="tail"
41
+ >
32
42
  {title}
33
43
  </Text>
34
44
  </View>
@@ -45,15 +55,15 @@ const styles = StyleSheet.create({
45
55
  alignItems: 'center',
46
56
  justifyContent: 'space-between',
47
57
  marginBottom: verticalScale(6),
48
- marginTop: verticalScale(1)
58
+ marginTop: verticalScale(1),
49
59
  },
50
60
  titleWrapper: {
51
61
  flex: 1,
52
- justifyContent: 'center'
62
+ justifyContent: 'center',
53
63
  },
54
64
  title: {
55
65
  fontSize: RFValue(13),
56
66
  fontWeight: '500',
57
- textTransform: 'capitalize'
58
- }
67
+ textTransform: 'capitalize',
68
+ },
59
69
  });
@@ -3,9 +3,18 @@
3
3
  * @lastModified Wed 25 Jun 2025 at 11:59 AM
4
4
  */
5
5
 
6
- import React, { useCallback } from 'react';
7
- import { TouchableOpacity, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
8
- import Animated, { useSharedValue, useAnimatedStyle, withSpring } from 'react-native-reanimated';
6
+ import { useCallback } from 'react';
7
+ import {
8
+ TouchableOpacity,
9
+ StyleSheet,
10
+ type StyleProp,
11
+ type ViewStyle,
12
+ } from 'react-native';
13
+ import Animated, {
14
+ useSharedValue,
15
+ useAnimatedStyle,
16
+ withSpring,
17
+ } from 'react-native-reanimated';
9
18
  import { scale, verticalScale } from 'react-native-size-matters';
10
19
  import { Text } from '../../../Text';
11
20
  import { useTheme } from '../../../../theme/hook/useTheme';
@@ -27,7 +36,7 @@ const NoContentFallback = ({
27
36
  onRetry,
28
37
  theme,
29
38
  emoji = '😔',
30
- style
39
+ style,
31
40
  }: NoContentFallbackProps) => {
32
41
  const { theme: appliedTheme } = useTheme(theme);
33
42
  const scaleValue = useSharedValue(1);
@@ -41,22 +50,30 @@ const NoContentFallback = ({
41
50
  }, [scaleValue]);
42
51
 
43
52
  const animatedButtonStyle = useAnimatedStyle(() => ({
44
- transform: [{ scale: scaleValue.value }]
53
+ transform: [{ scale: scaleValue.value }],
45
54
  }));
46
55
 
47
56
  return (
48
57
  <Animated.View
49
- style={[styles.container, style, { backgroundColor: appliedTheme.colors.background }]}
58
+ style={[
59
+ styles.container,
60
+ style,
61
+ { backgroundColor: appliedTheme.colors.background },
62
+ ]}
50
63
  accessibilityLabel="No content available"
51
64
  accessibilityHint="Check back later or try again"
52
65
  >
53
- <Animated.Text style={[styles.emoji, { color: appliedTheme.colors.textPrimary }]}>{emoji}</Animated.Text>
66
+ <Animated.Text
67
+ style={[styles.emoji, { color: appliedTheme.colors.textPrimary }]}
68
+ >
69
+ {emoji}
70
+ </Animated.Text>
54
71
  <Text
55
72
  style={[
56
73
  styles.message,
57
74
  {
58
- color: appliedTheme.colors.textSecondary
59
- }
75
+ color: appliedTheme.colors.textSecondary,
76
+ },
60
77
  ]}
61
78
  >
62
79
  {message}
@@ -70,8 +87,8 @@ const NoContentFallback = ({
70
87
  styles.retryButton,
71
88
  {
72
89
  backgroundColor: appliedTheme.colors.primary,
73
- borderColor: appliedTheme.colors.outline
74
- }
90
+ borderColor: appliedTheme.colors.outline,
91
+ },
75
92
  ]}
76
93
  accessibilityLabel={retryText}
77
94
  accessibilityRole="button"
@@ -81,8 +98,8 @@ const NoContentFallback = ({
81
98
  style={[
82
99
  styles.retryText,
83
100
  {
84
- color: appliedTheme.colors.textPrimary
85
- }
101
+ color: appliedTheme.colors.textPrimary,
102
+ },
86
103
  ]}
87
104
  >
88
105
  {retryText}
@@ -100,31 +117,31 @@ const styles = StyleSheet.create({
100
117
  alignItems: 'center',
101
118
  justifyContent: 'center',
102
119
  paddingHorizontal: scale(20),
103
- paddingVertical: verticalScale(40)
120
+ paddingVertical: verticalScale(40),
104
121
  },
105
122
  emoji: {
106
123
  fontSize: RFValue(63),
107
124
  marginBottom: verticalScale(16),
108
- textAlign: 'center'
125
+ textAlign: 'center',
109
126
  },
110
127
  message: {
111
128
  fontSize: RFValue(15),
112
129
  textAlign: 'center',
113
130
  fontWeight: '500',
114
131
  lineHeight: verticalScale(22),
115
- marginBottom: verticalScale(20)
132
+ marginBottom: verticalScale(20),
116
133
  },
117
134
  retryButton: {
118
135
  paddingHorizontal: scale(24),
119
136
  paddingVertical: verticalScale(12),
120
137
  borderRadius: scale(8),
121
- borderWidth: scale(1)
138
+ borderWidth: scale(1),
122
139
  },
123
140
  retryText: {
124
141
  fontSize: RFValue(13),
125
142
  fontWeight: '600',
126
- textAlign: 'center'
127
- }
143
+ textAlign: 'center',
144
+ },
128
145
  });
129
146
 
130
147
  export default NoContentFallback;
@@ -11,7 +11,7 @@ import {
11
11
  type GestureResponderEvent,
12
12
  type StyleProp,
13
13
  type TextStyle,
14
- type ViewStyle
14
+ type ViewStyle,
15
15
  } from 'react-native';
16
16
  import { moderateScale, scale } from 'react-native-size-matters';
17
17
  import { Text } from '../../../Text';
@@ -38,7 +38,7 @@ const ShowAllButton: React.FC<ShowAllButtonProps> = ({
38
38
  iconPosition = 'right',
39
39
  IconComponent,
40
40
  textStyle,
41
- containerStyle
41
+ containerStyle,
42
42
  }): React.ReactElement => {
43
43
  const icon = IconComponent ?? (
44
44
  <View style={styles.iconWrapper}>
@@ -47,7 +47,11 @@ const ShowAllButton: React.FC<ShowAllButtonProps> = ({
47
47
  );
48
48
 
49
49
  return (
50
- <TouchableOpacity style={[styles.buttonContainer, containerStyle]} onPress={onPress} activeOpacity={0.7}>
50
+ <TouchableOpacity
51
+ style={[styles.buttonContainer, containerStyle]}
52
+ onPress={onPress}
53
+ activeOpacity={0.7}
54
+ >
51
55
  <View style={[styles.innerRow, { columnGap: moderateScale(gap) }]}>
52
56
  {iconPosition === 'left' && icon}
53
57
  <Text style={[styles.text, textStyle]}>{text}</Text>
@@ -62,22 +66,22 @@ export default ShowAllButton;
62
66
  const styles = StyleSheet.create({
63
67
  buttonContainer: {
64
68
  justifyContent: 'center',
65
- alignItems: 'center'
69
+ alignItems: 'center',
66
70
  },
67
71
  innerRow: {
68
72
  flexDirection: 'row',
69
73
  alignItems: 'center',
70
- justifyContent: 'center'
74
+ justifyContent: 'center',
71
75
  },
72
76
  iconWrapper: {
73
77
  justifyContent: 'center',
74
78
  alignItems: 'center',
75
- alignSelf: 'center'
79
+ alignSelf: 'center',
76
80
  },
77
81
  text: {
78
82
  fontSize: RFValue(9),
79
83
  fontWeight: '400',
80
84
  textTransform: 'capitalize',
81
- letterSpacing: 0.3
82
- }
85
+ letterSpacing: 0.3,
86
+ },
83
87
  });
@@ -5,7 +5,10 @@
5
5
 
6
6
  import React, { useState } from 'react';
7
7
  import { View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
8
- import type { ImageStyle as FastImageStyle, ResizeMode } from 'react-native-fast-image';
8
+ import type {
9
+ ImageStyle as FastImageStyle,
10
+ ResizeMode,
11
+ } from 'react-native-fast-image';
9
12
  import FastImage from 'react-native-fast-image';
10
13
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
11
14
  import { scale } from 'react-native-size-matters';
@@ -31,7 +34,7 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
31
34
  borderRadius = scale(6),
32
35
  wrapperStyle,
33
36
  imageStyle,
34
- resizeMode = FastImage.resizeMode.cover
37
+ resizeMode = FastImage.resizeMode.cover,
35
38
  }) => {
36
39
  const [imageLoading, setImageLoading] = useState(true);
37
40
  const [imageError, setImageError] = useState(false);
@@ -45,7 +48,7 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
45
48
  borderRadius,
46
49
  position: 'absolute',
47
50
  top: 0,
48
- left: 0
51
+ left: 0,
49
52
  };
50
53
 
51
54
  return (
@@ -55,9 +58,9 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
55
58
  {
56
59
  borderRadius,
57
60
  backgroundColor: theme.colors.background,
58
- shadowColor: theme.colors.shadow
61
+ shadowColor: theme.colors.shadow,
59
62
  },
60
- wrapperStyle
63
+ wrapperStyle,
61
64
  ]}
62
65
  >
63
66
  {showSkeleton && (
@@ -66,7 +69,9 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
66
69
  backgroundColor={theme.colors.skeletonBaseColor}
67
70
  highlightColor={theme.colors.skeletonHighlightColor}
68
71
  >
69
- <SkeletonPlaceholder.Item style={[styles.skeleton, { borderRadius }]} />
72
+ <SkeletonPlaceholder.Item
73
+ style={[styles.skeleton, { borderRadius }]}
74
+ />
70
75
  </SkeletonPlaceholder>
71
76
  </View>
72
77
  )}
@@ -74,7 +79,11 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
74
79
  {hasValidThumbnail && (
75
80
  <FastImage
76
81
  source={{ uri: thumbnailUri }}
77
- style={[fallbackImageStyle, showSkeleton ? styles.hidden : styles.visible, imageStyle]}
82
+ style={[
83
+ fallbackImageStyle,
84
+ showSkeleton ? styles.hidden : styles.visible,
85
+ imageStyle,
86
+ ]}
78
87
  resizeMode={resizeMode}
79
88
  onLoadStart={() => {
80
89
  setImageLoading(true);
@@ -95,8 +104,8 @@ export const ThumbnailCard: React.FC<ThumbnailCardProps> = ({
95
104
  {
96
105
  borderRadius,
97
106
  backgroundColor: theme.colors.errorContainer,
98
- borderColor: theme.colors.error
99
- }
107
+ borderColor: theme.colors.error,
108
+ },
100
109
  ]}
101
110
  >
102
111
  <ImageOff size={scale(18)} color={theme.colors.error} />
@@ -114,7 +123,7 @@ const styles = StyleSheet.create({
114
123
  width: '100%',
115
124
  aspectRatio: 16 / 9,
116
125
  overflow: 'hidden',
117
- position: 'relative'
126
+ position: 'relative',
118
127
  },
119
128
  skeletonWrapper: {
120
129
  position: 'absolute',
@@ -122,17 +131,17 @@ const styles = StyleSheet.create({
122
131
  left: 0,
123
132
  width: '100%',
124
133
  aspectRatio: 16 / 9,
125
- overflow: 'hidden'
134
+ overflow: 'hidden',
126
135
  },
127
136
  skeleton: {
128
137
  width: '100%',
129
- aspectRatio: 16 / 9
138
+ aspectRatio: 16 / 9,
130
139
  },
131
140
  visible: {
132
- opacity: 1
141
+ opacity: 1,
133
142
  },
134
143
  hidden: {
135
- opacity: 0
144
+ opacity: 0,
136
145
  },
137
146
  fallback: {
138
147
  position: 'absolute',
@@ -142,10 +151,10 @@ const styles = StyleSheet.create({
142
151
  aspectRatio: 16 / 9,
143
152
  borderWidth: scale(1),
144
153
  alignItems: 'center',
145
- justifyContent: 'center'
154
+ justifyContent: 'center',
146
155
  },
147
156
  fallbackText: {
148
157
  marginTop: scale(4),
149
- fontSize: RFValue(9)
150
- }
158
+ fontSize: RFValue(9),
159
+ },
151
160
  });
@@ -23,8 +23,8 @@ const Cards = {
23
23
  TopTen: TopTen,
24
24
  RotateCarousel,
25
25
  NowWatching,
26
- Category: CategoryCard
27
- }
26
+ Category: CategoryCard,
27
+ },
28
28
  };
29
29
 
30
30
  export default Cards;
@@ -10,10 +10,13 @@ import {
10
10
  type NativeScrollEvent,
11
11
  type NativeSyntheticEvent,
12
12
  type StyleProp,
13
- type ViewStyle
13
+ type ViewStyle,
14
14
  } from 'react-native';
15
15
  import { scale } from 'react-native-size-matters';
16
- import Animated, { type AnimatedStyle, type SharedValue } from 'react-native-reanimated';
16
+ import Animated, {
17
+ type AnimatedStyle,
18
+ type SharedValue,
19
+ } from 'react-native-reanimated';
17
20
 
18
21
  import SectionType from './Sections';
19
22
  import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
@@ -46,8 +49,12 @@ export interface IContentProps {
46
49
  InfiniteScrollLoaderComponent?: React.ReactNode;
47
50
  onScroll?:
48
51
  | ((event: NativeSyntheticEvent<NativeScrollEvent>) => void)
49
- | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;
50
- contentContainerStyle?: StyleProp<ViewStyle> | AnimatedStyle<StyleProp<ViewStyle>>;
52
+ | SharedValue<
53
+ ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined
54
+ >;
55
+ contentContainerStyle?:
56
+ | StyleProp<ViewStyle>
57
+ | AnimatedStyle<StyleProp<ViewStyle>>;
51
58
  onEndReached?: () => void;
52
59
  theme?: AppTheme;
53
60
  autoSwitchTheme?: boolean;
@@ -84,7 +91,7 @@ const ContentFooter = ({
84
91
  isEmpty,
85
92
  ErrorComponent,
86
93
  InfiniteScrollIsLoading,
87
- InfiniteScrollLoaderComponent
94
+ InfiniteScrollLoaderComponent,
88
95
  }: FooterProps) => {
89
96
  if (InfiniteScrollIsLoading) {
90
97
  return (
@@ -93,7 +100,7 @@ const ContentFooter = ({
93
100
  style={{
94
101
  paddingVertical: scale(30),
95
102
  alignItems: 'center',
96
- justifyContent: 'center'
103
+ justifyContent: 'center',
97
104
  }}
98
105
  >
99
106
  <ActivityIndicator size="small" />
@@ -123,11 +130,15 @@ export const Content: React.FC<IContentProps> = ({
123
130
  sectionProps,
124
131
  moreFetchData,
125
132
  moreFetchDataHistory,
126
- isLoading
133
+ isLoading,
127
134
  }) => {
128
- const sectionData = useMemo<IGetSectionData[]>(() => contentData?.sectionData ?? [], [contentData?.sectionData]);
135
+ const sectionData = useMemo<IGetSectionData[]>(
136
+ () => contentData?.sectionData ?? [],
137
+ [contentData?.sectionData]
138
+ );
129
139
  const headerComponent = useMemo(() => {
130
- if (!contentData?.category || contentData.category.length === 0) return null;
140
+ if (!contentData?.category || contentData.category.length === 0)
141
+ return null;
131
142
 
132
143
  return (
133
144
  <CategoryCard
@@ -140,9 +151,21 @@ export const Content: React.FC<IContentProps> = ({
140
151
  key={'category'}
141
152
  />
142
153
  );
143
- }, [contentData?.category, events?.onPressCategory, events?.activeCategory, isLoading?.category, theme]);
144
-
145
- const renderItem = ({ item, index }: { item: IGetSectionData | null; index: number }) => {
154
+ }, [
155
+ contentData?.category,
156
+ events?.onPressCategory,
157
+ events?.activeCategory,
158
+ isLoading?.category,
159
+ theme,
160
+ ]);
161
+
162
+ const renderItem = ({
163
+ item,
164
+ index,
165
+ }: {
166
+ item: IGetSectionData | null;
167
+ index: number;
168
+ }) => {
146
169
  if (!item) return null;
147
170
 
148
171
  const isDummy = item?._id?.startsWith('dummy');
@@ -160,7 +183,7 @@ export const Content: React.FC<IContentProps> = ({
160
183
  data={{
161
184
  sectionData: item.content || null,
162
185
  historyData: contentData.historyData,
163
- category: contentData.category
186
+ category: contentData.category,
164
187
  }}
165
188
  name={item?.name || `Section ${index}`}
166
189
  theme={theme}
@@ -170,7 +193,7 @@ export const Content: React.FC<IContentProps> = ({
170
193
  isLoading={{
171
194
  section: isLoadingItem,
172
195
  history: isLoading?.history,
173
- category: isLoading?.category
196
+ category: isLoading?.category,
174
197
  }}
175
198
  sectionProps={sectionProps}
176
199
  moreFetchDataHistory={moreFetchDataHistory}
@@ -179,7 +202,8 @@ export const Content: React.FC<IContentProps> = ({
179
202
  );
180
203
  };
181
204
 
182
- const isEmpty = !isLoading?.section && (!sectionData || sectionData.length === 0);
205
+ const isEmpty =
206
+ !isLoading?.section && (!sectionData || sectionData.length === 0);
183
207
 
184
208
  return (
185
209
  <AnimatedFlatList
@@ -204,9 +228,9 @@ export const Content: React.FC<IContentProps> = ({
204
228
  onEndReachedThreshold={0.7}
205
229
  contentContainerStyle={[
206
230
  {
207
- paddingBottom: scale(100)
231
+ paddingBottom: scale(100),
208
232
  },
209
- contentContainerStyle
233
+ contentContainerStyle,
210
234
  ]}
211
235
  />
212
236
  );