@zezosoft/zezo-ott-react-native-ui-kit 1.0.5 → 1.0.7

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 (421) hide show
  1. package/lib/module/components/Account/Account.js +4 -4
  2. package/lib/module/components/Account/Account.js.map +1 -1
  3. package/lib/module/components/Alert/AlertDialog.js +2 -2
  4. package/lib/module/components/Alert/AlertDialog.js.map +1 -1
  5. package/lib/module/components/Alert/UAAlert.js +5 -1
  6. package/lib/module/components/Alert/UAAlert.js.map +1 -1
  7. package/lib/module/components/Auth/AuthProvider/AuthProvider.js +74 -104
  8. package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
  9. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +4 -8
  10. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
  11. package/lib/module/components/Auth/Login/LoginWithEmail.js +7 -7
  12. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  13. package/lib/module/components/Auth/Login/LoginWithPhone.js +6 -6
  14. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
  15. package/lib/module/components/Auth/OTP/OTP.js +5 -5
  16. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  17. package/lib/module/components/Auth/QrLogin/QrLogin.js +8 -9
  18. package/lib/module/components/Auth/QrLogin/QrLogin.js.map +1 -1
  19. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +2 -2
  20. package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +1 -1
  21. package/lib/module/components/Auth/SignUp/SignUp.js +9 -9
  22. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  23. package/lib/module/components/Auth/SplashScreen/SplashScreen.js +14 -23
  24. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
  25. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +71 -47
  26. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  27. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +5 -1
  28. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  29. package/lib/module/components/BlogView/BlogView.js +8 -7
  30. package/lib/module/components/BlogView/BlogView.js.map +1 -1
  31. package/lib/module/components/Button/BackBtn.js +2 -2
  32. package/lib/module/components/Button/BackBtn.js.map +1 -1
  33. package/lib/module/components/Button/MenuBtn.js +2 -2
  34. package/lib/module/components/Button/MenuBtn.js.map +1 -1
  35. package/lib/module/components/Button/PrimaryBtn.js +2 -2
  36. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  37. package/lib/module/components/Button/SecondaryBtn.js +2 -2
  38. package/lib/module/components/Button/SecondaryBtn.js.map +1 -1
  39. package/lib/module/components/Button/TextButton.js +2 -2
  40. package/lib/module/components/Button/TextButton.js.map +1 -1
  41. package/lib/module/components/Content/Card/Category/Category.js +3 -3
  42. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  43. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +5 -3
  44. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  45. package/lib/module/components/Content/Card/Sliders/Styles/One.js +5 -5
  46. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  47. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +3 -2
  48. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  49. package/lib/module/components/Content/Card/Styles/Five.js +4 -3
  50. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  51. package/lib/module/components/Content/Card/Styles/Four.js +4 -3
  52. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  53. package/lib/module/components/Content/Card/Styles/One.js +4 -3
  54. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  55. package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -3
  56. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  57. package/lib/module/components/Content/Card/Styles/Six.js +5 -3
  58. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  59. package/lib/module/components/Content/Card/Styles/Three.js +4 -3
  60. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  61. package/lib/module/components/Content/Card/Styles/TopTen.js +4 -3
  62. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  63. package/lib/module/components/Content/Card/Styles/Two.js +4 -3
  64. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  65. package/lib/module/components/Content/Card/components/CardPoster.js +6 -0
  66. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  67. package/lib/module/components/Content/Card/components/RentOrBuyIcon.js +1 -1
  68. package/lib/module/components/Content/Card/components/RentOrBuyIcon.js.map +1 -1
  69. package/lib/module/components/Content/Card/components/ShowAllButton.js +3 -1
  70. package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
  71. package/lib/module/components/Content/Content.js +22 -7
  72. package/lib/module/components/Content/Content.js.map +1 -1
  73. package/lib/module/components/ContentView/ContentView.js +101 -85
  74. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  75. package/lib/module/components/ContentView/MoreContentList.js +3 -2
  76. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  77. package/lib/module/components/ContentView/components/AboutSection.js +15 -1
  78. package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
  79. package/lib/module/components/ContentView/components/CastCard.js +1 -1
  80. package/lib/module/components/ContentView/components/EpisodeCard.js +15 -6
  81. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  82. package/lib/module/components/ContentView/components/HeroBanner.js +56 -20
  83. package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
  84. package/lib/module/components/ContentView/components/MiniInfo.js +136 -0
  85. package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -0
  86. package/lib/module/components/ContentView/components/Title.js +19 -27
  87. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  88. package/lib/module/components/ContentView/components/TrailerButton.js +5 -5
  89. package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
  90. package/lib/module/components/{Content/Card/components → Fallbacks}/NoContentFallback.js +50 -33
  91. package/lib/module/components/Fallbacks/NoContentFallback.js.map +1 -0
  92. package/lib/module/components/Fallbacks/NotFoundFallback.js +79 -0
  93. package/lib/module/components/Fallbacks/NotFoundFallback.js.map +1 -0
  94. package/lib/module/components/Fallbacks/index.js +5 -0
  95. package/lib/module/components/Fallbacks/index.js.map +1 -0
  96. package/lib/module/components/Headers/AppHeader.js +2 -2
  97. package/lib/module/components/Headers/AppHeader.js.map +1 -1
  98. package/lib/module/components/Headers/One.js +2 -2
  99. package/lib/module/components/Headers/One.js.map +1 -1
  100. package/lib/module/components/Headers/Three.js +2 -2
  101. package/lib/module/components/Headers/Three.js.map +1 -1
  102. package/lib/module/components/Headers/Two.js +2 -2
  103. package/lib/module/components/Headers/Two.js.map +1 -1
  104. package/lib/module/components/Input/InputOne.js +11 -5
  105. package/lib/module/components/Input/InputOne.js.map +1 -1
  106. package/lib/module/components/Input/InputTwo.js +2 -2
  107. package/lib/module/components/Input/InputTwo.js.map +1 -1
  108. package/lib/module/components/Input/PhoneNumberInput.js +5 -4
  109. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  110. package/lib/module/components/Logo/Logo.js +2 -2
  111. package/lib/module/components/Logo/Logo.js.map +1 -1
  112. package/lib/module/components/Search/One.js +4 -4
  113. package/lib/module/components/Search/One.js.map +1 -1
  114. package/lib/module/components/Search/components/SearchCard.js +2 -2
  115. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  116. package/lib/module/components/Settings/AppSettings.js +4 -4
  117. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  118. package/lib/module/components/Subscription/SubOne.js +9 -8
  119. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  120. package/lib/module/components/TabBar/One.js +8 -5
  121. package/lib/module/components/TabBar/One.js.map +1 -1
  122. package/lib/module/components/TabBar/Three.js +2 -2
  123. package/lib/module/components/TabBar/Three.js.map +1 -1
  124. package/lib/module/components/TabBar/Two.js +8 -5
  125. package/lib/module/components/TabBar/Two.js.map +1 -1
  126. package/lib/module/components/Text/Text.js +34 -12
  127. package/lib/module/components/Text/Text.js.map +1 -1
  128. package/lib/module/components/User/DeviceSessions/DeviceSessions.js +4 -3
  129. package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
  130. package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js +8 -8
  131. package/lib/module/components/User/ProfileUpdate/ProfileUpdate.js.map +1 -1
  132. package/lib/module/components/User/WatchHistory/WatchHistory.js +3 -3
  133. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  134. package/lib/module/components/User/WatchLater/WatchLater.js +5 -3
  135. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  136. package/lib/module/components/User/components/UserAvatar.js +13 -10
  137. package/lib/module/components/User/components/UserAvatar.js.map +1 -1
  138. package/lib/module/components/User/components/UserSection.js +3 -3
  139. package/lib/module/components/User/components/UserSection.js.map +1 -1
  140. package/lib/module/components/View/View.js.map +1 -1
  141. package/lib/module/components/common/AppStatusBar.js +41 -0
  142. package/lib/module/components/common/AppStatusBar.js.map +1 -0
  143. package/lib/module/components/index.js +3 -1
  144. package/lib/module/components/index.js.map +1 -1
  145. package/lib/module/components/layout/SafeAreaWrapper.js +2 -2
  146. package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
  147. package/lib/module/store/splashStore.js +3 -7
  148. package/lib/module/store/splashStore.js.map +1 -1
  149. package/lib/module/store/themeStore.js +36 -0
  150. package/lib/module/store/themeStore.js.map +1 -0
  151. package/lib/module/theme/ThemeProvider.js +40 -69
  152. package/lib/module/theme/ThemeProvider.js.map +1 -1
  153. package/lib/module/theme/hook/index.js +5 -0
  154. package/lib/module/theme/hook/index.js.map +1 -0
  155. package/lib/module/theme/hook/useInternalTheme.js +57 -0
  156. package/lib/module/theme/hook/useInternalTheme.js.map +1 -0
  157. package/lib/module/theme/hook/useThemeStatusBar.js +27 -0
  158. package/lib/module/theme/hook/useThemeStatusBar.js.map +1 -0
  159. package/lib/module/theme/index.js +1 -2
  160. package/lib/module/theme/index.js.map +1 -1
  161. package/lib/module/theme/themes.js +18 -4
  162. package/lib/module/theme/themes.js.map +1 -1
  163. package/lib/typescript/src/components/Account/Account.d.ts +2 -2
  164. package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
  165. package/lib/typescript/src/components/Alert/AlertDialog.d.ts +2 -2
  166. package/lib/typescript/src/components/Alert/AlertDialog.d.ts.map +1 -1
  167. package/lib/typescript/src/components/Alert/UAAlert.d.ts +2 -2
  168. package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -1
  169. package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts +6 -6
  170. package/lib/typescript/src/components/Auth/AuthProvider/AuthProvider.d.ts.map +1 -1
  171. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts +2 -2
  172. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  173. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts +2 -2
  174. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  175. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts +2 -2
  176. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
  177. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts +2 -2
  178. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  179. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts +2 -2
  180. package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +1 -1
  181. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts +2 -2
  182. package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +1 -1
  183. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts +2 -2
  184. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  185. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts +2 -2
  186. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
  187. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts +7 -6
  188. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  189. package/lib/typescript/src/components/Auth/index.d.ts +5 -5
  190. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  191. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts +2 -2
  192. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  193. package/lib/typescript/src/components/BlogView/BlogView.d.ts +2 -2
  194. package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
  195. package/lib/typescript/src/components/Button/BackBtn.d.ts +2 -2
  196. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  197. package/lib/typescript/src/components/Button/MenuBtn.d.ts +2 -2
  198. package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
  199. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +2 -2
  200. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  201. package/lib/typescript/src/components/Button/SecondaryBtn.d.ts +2 -2
  202. package/lib/typescript/src/components/Button/SecondaryBtn.d.ts.map +1 -1
  203. package/lib/typescript/src/components/Button/index.d.ts +3 -3
  204. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +2 -2
  205. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  206. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -2
  207. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  208. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -2
  209. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  210. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -2
  211. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  212. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
  213. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -2
  214. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  215. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -2
  216. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  217. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -2
  218. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  219. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -2
  220. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  221. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -2
  222. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  223. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -2
  224. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  225. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -2
  226. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  227. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -2
  228. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  229. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -0
  230. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  231. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts +2 -0
  232. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
  233. package/lib/typescript/src/components/Content/Card/index.d.ts +10 -10
  234. package/lib/typescript/src/components/Content/Content.d.ts +4 -2
  235. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  236. package/lib/typescript/src/components/Content/Sections.d.ts +2 -2
  237. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  238. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -5
  239. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  240. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +2 -2
  241. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  242. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +6 -3
  243. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  244. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +3 -3
  245. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  246. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -1
  247. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
  248. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +22 -0
  249. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -0
  250. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +2 -2
  251. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
  252. package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts +16 -0
  253. package/lib/typescript/src/components/Fallbacks/NoContentFallback.d.ts.map +1 -0
  254. package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts +19 -0
  255. package/lib/typescript/src/components/Fallbacks/NotFoundFallback.d.ts.map +1 -0
  256. package/lib/typescript/src/components/Fallbacks/index.d.ts +3 -0
  257. package/lib/typescript/src/components/Fallbacks/index.d.ts.map +1 -0
  258. package/lib/typescript/src/components/Headers/AppHeader.d.ts +2 -2
  259. package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
  260. package/lib/typescript/src/components/Headers/One.d.ts +2 -2
  261. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
  262. package/lib/typescript/src/components/Headers/Three.d.ts +2 -2
  263. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  264. package/lib/typescript/src/components/Headers/Two.d.ts +2 -2
  265. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
  266. package/lib/typescript/src/components/Input/InputOne.d.ts +2 -2
  267. package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
  268. package/lib/typescript/src/components/Input/InputTwo.d.ts +2 -2
  269. package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
  270. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts +2 -2
  271. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  272. package/lib/typescript/src/components/Logo/Logo.d.ts +2 -2
  273. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  274. package/lib/typescript/src/components/Search/One.d.ts +2 -2
  275. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  276. package/lib/typescript/src/components/Search/components/SearchCard.d.ts +2 -2
  277. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  278. package/lib/typescript/src/components/Settings/AppSettings.d.ts +2 -2
  279. package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Subscription/SubOne.d.ts +2 -2
  281. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  282. package/lib/typescript/src/components/Subscription/index.d.ts +1 -1
  283. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  284. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  285. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  286. package/lib/typescript/src/components/TabBar/Three.d.ts +2 -2
  287. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  288. package/lib/typescript/src/components/TabBar/Two.d.ts +2 -2
  289. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  290. package/lib/typescript/src/components/Text/Text.d.ts +3 -4
  291. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
  292. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +2 -2
  293. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
  294. package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts +2 -2
  295. package/lib/typescript/src/components/User/ProfileUpdate/ProfileUpdate.d.ts.map +1 -1
  296. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +2 -2
  297. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  298. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +2 -2
  299. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  300. package/lib/typescript/src/components/User/components/UserAvatar.d.ts +2 -2
  301. package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
  302. package/lib/typescript/src/components/User/components/UserSection.d.ts +2 -2
  303. package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
  304. package/lib/typescript/src/components/View/View.d.ts +2 -2
  305. package/lib/typescript/src/components/View/View.d.ts.map +1 -1
  306. package/lib/typescript/src/components/common/AppStatusBar.d.ts +17 -0
  307. package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -0
  308. package/lib/typescript/src/components/index.d.ts +3 -1
  309. package/lib/typescript/src/components/index.d.ts.map +1 -1
  310. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts +2 -2
  311. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
  312. package/lib/typescript/src/store/themeStore.d.ts +25 -0
  313. package/lib/typescript/src/store/themeStore.d.ts.map +1 -0
  314. package/lib/typescript/src/theme/ThemeProvider.d.ts +17 -10
  315. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  316. package/lib/typescript/src/theme/hook/index.d.ts +3 -0
  317. package/lib/typescript/src/theme/hook/index.d.ts.map +1 -0
  318. package/lib/typescript/src/theme/hook/useInternalTheme.d.ts +7 -0
  319. package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -0
  320. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +10 -0
  321. package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +1 -0
  322. package/lib/typescript/src/theme/index.d.ts +1 -6
  323. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  324. package/lib/typescript/src/theme/themes.d.ts +20 -2
  325. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  326. package/lib/typescript/src/types/content/content-view.types.d.ts +10 -3
  327. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  328. package/package.json +1 -1
  329. package/src/components/Account/Account.tsx +6 -6
  330. package/src/components/Alert/AlertDialog.tsx +4 -4
  331. package/src/components/Alert/UAAlert.tsx +5 -3
  332. package/src/components/Auth/AuthProvider/AuthProvider.tsx +106 -156
  333. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +6 -8
  334. package/src/components/Auth/Login/LoginWithEmail.tsx +9 -9
  335. package/src/components/Auth/Login/LoginWithPhone.tsx +8 -8
  336. package/src/components/Auth/OTP/OTP.tsx +7 -7
  337. package/src/components/Auth/QrLogin/QrLogin.tsx +8 -12
  338. package/src/components/Auth/QrLogin/components/QrViewArea.tsx +4 -4
  339. package/src/components/Auth/SignUp/SignUp.tsx +11 -11
  340. package/src/components/Auth/SplashScreen/SplashScreen.tsx +17 -30
  341. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +90 -74
  342. package/src/components/BackgroundLayout/BackgroundLayout.tsx +5 -3
  343. package/src/components/BlogView/BlogView.tsx +13 -8
  344. package/src/components/Button/BackBtn.tsx +4 -4
  345. package/src/components/Button/MenuBtn.tsx +4 -4
  346. package/src/components/Button/PrimaryBtn.tsx +4 -4
  347. package/src/components/Button/SecondaryBtn.tsx +4 -4
  348. package/src/components/Button/TextButton.tsx +2 -2
  349. package/src/components/Content/Card/Category/Category.tsx +5 -5
  350. package/src/components/Content/Card/NowWatching/NowWatching.tsx +6 -5
  351. package/src/components/Content/Card/Sliders/Styles/One.tsx +9 -6
  352. package/src/components/Content/Card/Sliders/Styles/Two.tsx +8 -5
  353. package/src/components/Content/Card/Styles/Five.tsx +5 -5
  354. package/src/components/Content/Card/Styles/Four.tsx +5 -5
  355. package/src/components/Content/Card/Styles/One.tsx +5 -5
  356. package/src/components/Content/Card/Styles/RotateInOut.tsx +5 -5
  357. package/src/components/Content/Card/Styles/Six.tsx +9 -6
  358. package/src/components/Content/Card/Styles/Three.tsx +5 -5
  359. package/src/components/Content/Card/Styles/TopTen.tsx +5 -5
  360. package/src/components/Content/Card/Styles/Two.tsx +5 -5
  361. package/src/components/Content/Card/components/CardPoster.tsx +6 -0
  362. package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
  363. package/src/components/Content/Card/components/ShowAllButton.tsx +6 -1
  364. package/src/components/Content/Content.tsx +25 -5
  365. package/src/components/Content/Sections.tsx +2 -2
  366. package/src/components/ContentView/ContentView.tsx +112 -88
  367. package/src/components/ContentView/MoreContentList.tsx +5 -4
  368. package/src/components/ContentView/components/AboutSection.tsx +23 -3
  369. package/src/components/ContentView/components/CastCard.tsx +1 -1
  370. package/src/components/ContentView/components/EpisodeCard.tsx +21 -8
  371. package/src/components/ContentView/components/HeroBanner.tsx +55 -20
  372. package/src/components/ContentView/components/MiniInfo.tsx +193 -0
  373. package/src/components/ContentView/components/Title.tsx +17 -26
  374. package/src/components/ContentView/components/TrailerButton.tsx +6 -5
  375. package/src/components/Fallbacks/NoContentFallback.tsx +172 -0
  376. package/src/components/Fallbacks/NotFoundFallback.tsx +86 -0
  377. package/src/components/Fallbacks/index.ts +2 -0
  378. package/src/components/Headers/AppHeader.tsx +4 -4
  379. package/src/components/Headers/One.tsx +4 -4
  380. package/src/components/Headers/Three.tsx +4 -4
  381. package/src/components/Headers/Two.tsx +4 -4
  382. package/src/components/Input/InputOne.tsx +30 -7
  383. package/src/components/Input/InputTwo.tsx +4 -4
  384. package/src/components/Input/PhoneNumberInput.tsx +5 -5
  385. package/src/components/Logo/Logo.tsx +4 -4
  386. package/src/components/Search/One.tsx +10 -9
  387. package/src/components/Search/components/SearchCard.tsx +4 -4
  388. package/src/components/Settings/AppSettings.tsx +6 -6
  389. package/src/components/Subscription/SubOne.tsx +15 -16
  390. package/src/components/TabBar/One.tsx +10 -6
  391. package/src/components/TabBar/Three.tsx +4 -4
  392. package/src/components/TabBar/Two.tsx +9 -6
  393. package/src/components/Text/Text.tsx +26 -13
  394. package/src/components/User/DeviceSessions/DeviceSessions.tsx +6 -5
  395. package/src/components/User/ProfileUpdate/ProfileUpdate.tsx +10 -14
  396. package/src/components/User/WatchHistory/WatchHistory.tsx +5 -5
  397. package/src/components/User/WatchLater/WatchLater.tsx +7 -6
  398. package/src/components/User/components/UserAvatar.tsx +16 -10
  399. package/src/components/User/components/UserSection.tsx +5 -5
  400. package/src/components/View/View.tsx +2 -1
  401. package/src/components/common/AppStatusBar.tsx +51 -0
  402. package/src/components/index.ts +3 -1
  403. package/src/components/layout/SafeAreaWrapper.tsx +4 -4
  404. package/src/store/splashStore.ts +5 -5
  405. package/src/store/themeStore.ts +43 -0
  406. package/src/theme/ThemeProvider.tsx +39 -102
  407. package/src/theme/hook/index.ts +2 -0
  408. package/src/theme/hook/useInternalTheme.ts +83 -0
  409. package/src/theme/hook/useThemeStatusBar.ts +33 -0
  410. package/src/theme/index.ts +1 -7
  411. package/src/theme/themes.ts +40 -6
  412. package/src/types/content/content-view.types.ts +10 -3
  413. package/lib/module/components/Content/Card/components/NoContentFallback.js.map +0 -1
  414. package/lib/module/theme/hook/useTheme.js +0 -45
  415. package/lib/module/theme/hook/useTheme.js.map +0 -1
  416. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +0 -17
  417. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +0 -1
  418. package/lib/typescript/src/theme/hook/useTheme.d.ts +0 -9
  419. package/lib/typescript/src/theme/hook/useTheme.d.ts.map +0 -1
  420. package/src/components/Content/Card/components/NoContentFallback.tsx +0 -147
  421. package/src/theme/hook/useTheme.ts +0 -45
@@ -17,6 +17,7 @@ import { moderateScale, scale } from 'react-native-size-matters';
17
17
  import { Text } from '../../../Text';
18
18
  import { ChevronRight } from 'lucide-react-native';
19
19
  import { RFValue } from 'react-native-responsive-fontsize';
20
+ import type { ThemeOverride } from '../../../../theme/themes';
20
21
  export type ShowAllButtonProps = {
21
22
  text?: string;
22
23
  onPress?: (event: GestureResponderEvent) => void;
@@ -27,6 +28,7 @@ export type ShowAllButtonProps = {
27
28
  containerStyle?: StyleProp<ViewStyle>;
28
29
  iconPosition?: 'left' | 'right';
29
30
  IconComponent?: React.ReactNode;
31
+ theme?: ThemeOverride;
30
32
  };
31
33
 
32
34
  const ShowAllButton: React.FC<ShowAllButtonProps> = ({
@@ -39,6 +41,7 @@ const ShowAllButton: React.FC<ShowAllButtonProps> = ({
39
41
  IconComponent,
40
42
  textStyle,
41
43
  containerStyle,
44
+ theme: overrideTheme,
42
45
  }): React.ReactElement => {
43
46
  const icon = IconComponent ?? (
44
47
  <View style={styles.iconWrapper}>
@@ -54,7 +57,9 @@ const ShowAllButton: React.FC<ShowAllButtonProps> = ({
54
57
  >
55
58
  <View style={[styles.innerRow, { columnGap: moderateScale(gap) }]}>
56
59
  {iconPosition === 'left' && icon}
57
- <Text style={[styles.text, textStyle]}>{text}</Text>
60
+ <Text style={[styles.text, textStyle]} theme={overrideTheme}>
61
+ {text}
62
+ </Text>
58
63
  {iconPosition === 'right' && icon}
59
64
  </View>
60
65
  </TouchableOpacity>
@@ -22,9 +22,10 @@ import SectionType from './Sections';
22
22
  import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
23
23
  import { dummySections } from '../../constants/dummySections';
24
24
  import CategoryCard, { type ICategory } from './Card/Category/Category';
25
- import NoContentFallback from './Card/components/NoContentFallback';
26
25
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
27
- import type { AppTheme } from '../../theme/themes';
26
+ import type { ThemeOverride } from '../../theme/themes';
27
+ import { NoContentFallback, type NoContentFallbackProps } from '../Fallbacks';
28
+ import { useInternalTheme } from '../../theme/hook';
28
29
 
29
30
  export interface ICustomComponentsForContent {
30
31
  type: string;
@@ -56,7 +57,7 @@ export interface IContentProps {
56
57
  | StyleProp<ViewStyle>
57
58
  | AnimatedStyle<StyleProp<ViewStyle>>;
58
59
  onEndReached?: () => void;
59
- theme?: AppTheme;
60
+ theme?: ThemeOverride;
60
61
  autoSwitchTheme?: boolean;
61
62
  events?: {
62
63
  onPressItem?: (item: IContentData) => void;
@@ -75,6 +76,8 @@ export interface IContentProps {
75
76
  moreFetchData?: MoreFetchData<IContentData>;
76
77
  moreFetchDataHistory?: MoreFetchData<IHistoryItem>;
77
78
  isLoading?: IContentLoading;
79
+
80
+ noContentFallbackProps?: NoContentFallbackProps;
78
81
  }
79
82
 
80
83
  const AnimatedFlatList = Animated.createAnimatedComponent(
@@ -85,6 +88,8 @@ interface FooterProps {
85
88
  ErrorComponent?: React.ReactNode;
86
89
  InfiniteScrollIsLoading?: boolean;
87
90
  InfiniteScrollLoaderComponent?: React.ReactNode;
91
+ theme?: ThemeOverride;
92
+ noContentFallbackProps?: NoContentFallbackProps;
88
93
  }
89
94
 
90
95
  const ContentFooter = ({
@@ -92,7 +97,10 @@ const ContentFooter = ({
92
97
  ErrorComponent,
93
98
  InfiniteScrollIsLoading,
94
99
  InfiniteScrollLoaderComponent,
100
+ theme,
101
+ noContentFallbackProps,
95
102
  }: FooterProps) => {
103
+ const { theme: appliedTheme } = useInternalTheme(theme);
96
104
  if (InfiniteScrollIsLoading) {
97
105
  return (
98
106
  InfiniteScrollLoaderComponent ?? (
@@ -101,16 +109,25 @@ const ContentFooter = ({
101
109
  paddingVertical: scale(30),
102
110
  alignItems: 'center',
103
111
  justifyContent: 'center',
112
+ backgroundColor: 'transparent',
104
113
  }}
105
114
  >
106
- <ActivityIndicator size="small" />
115
+ <ActivityIndicator size="large" color={appliedTheme.colors.primary} />
107
116
  </Animated.View>
108
117
  )
109
118
  );
110
119
  }
111
120
 
112
121
  if (isEmpty) {
113
- return ErrorComponent ? <>{ErrorComponent}</> : <NoContentFallback />;
122
+ return ErrorComponent ? (
123
+ <>{ErrorComponent}</>
124
+ ) : (
125
+ <NoContentFallback
126
+ theme={theme}
127
+ {...noContentFallbackProps}
128
+ isLoading={noContentFallbackProps?.isLoading ?? false}
129
+ />
130
+ );
114
131
  }
115
132
 
116
133
  return null;
@@ -131,6 +148,7 @@ export const Content: React.FC<IContentProps> = ({
131
148
  moreFetchData,
132
149
  moreFetchDataHistory,
133
150
  isLoading,
151
+ noContentFallbackProps,
134
152
  }) => {
135
153
  const sectionData = useMemo<IGetSectionData[]>(
136
154
  () => contentData?.sectionData ?? [],
@@ -223,6 +241,8 @@ export const Content: React.FC<IContentProps> = ({
223
241
  InfiniteScrollIsLoading={isLoading?.InfiniteScrollIsLoading}
224
242
  isEmpty={isEmpty}
225
243
  ErrorComponent={ErrorComponent}
244
+ theme={theme}
245
+ noContentFallbackProps={noContentFallbackProps}
226
246
  />
227
247
  }
228
248
  onEndReachedThreshold={0.7}
@@ -8,7 +8,7 @@ import Cards from './Card';
8
8
  import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
9
9
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
10
10
  import type { ICategory } from './Card/Category/Category';
11
- import type { AppTheme } from '../../theme/themes';
11
+ import type { ThemeOverride } from '../../theme/themes';
12
12
  import type { IContentLoading } from './Content';
13
13
 
14
14
  export interface ICustomComponentsForSections {
@@ -25,7 +25,7 @@ export interface IProps {
25
25
  };
26
26
  name: string;
27
27
  customComponents?: ICustomComponentsForSections[];
28
- theme?: AppTheme;
28
+ theme?: ThemeOverride;
29
29
  index: number;
30
30
  section_id: string;
31
31
  events?: {
@@ -2,24 +2,27 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Tue 01 Jul 2025 at 02:28 PM
4
4
  */
5
-
6
5
  import { ScrollView, StyleSheet } from 'react-native';
7
6
  import { HeroBanner } from './components/HeroBanner';
8
7
  import { GenreTags } from './components/GenreTags';
9
8
  import { AboutSection } from './components/AboutSection';
10
9
  import { Title } from './components/Title';
11
- import { useTheme } from '../../theme/hook/useTheme';
10
+ import { useInternalTheme } from '../../theme/hook/useInternalTheme';
12
11
  import { CastCard } from './components/CastCard';
13
12
  import Cards from '../Content/Card';
14
13
  import { scale } from 'react-native-size-matters';
15
14
  import { EpisodeCard } from './components/EpisodeCard';
16
15
  import type { ComponentProps } from '../../types/content/content-view.types';
16
+ import { NotFoundFallback } from '../Fallbacks';
17
+ import { MiniInfo } from './components/MiniInfo';
18
+
17
19
  export const ContentView = ({
18
20
  content,
19
21
  seasons,
20
22
  isLoading = false,
21
23
  seasonsIsLoading = false,
22
24
  theme,
25
+ text,
23
26
  recommendedContent,
24
27
  events,
25
28
  heroBannerProps,
@@ -31,100 +34,121 @@ export const ContentView = ({
31
34
  history,
32
35
  episodeCardMode,
33
36
  }: ComponentProps) => {
34
- const { theme: appliedTheme } = useTheme(theme);
37
+ const { theme: appliedTheme } = useInternalTheme(theme);
35
38
  const seekTime = history?.currentTime || 0;
36
39
  const isComplete = history?.completed || false;
37
40
  const currentEpisode = history?.current_episode;
41
+
42
+ const isNotFound = !isLoading && !content;
43
+
38
44
  return (
39
- <ScrollView
40
- showsVerticalScrollIndicator={false}
41
- keyboardShouldPersistTaps="handled"
42
- contentContainerStyle={styles.scrollContent}
43
- >
44
- <HeroBanner
45
- backgroundImage={content?.thumbnail}
46
- title={content?.name}
47
- theme={appliedTheme}
48
- isLoading={isLoading}
49
- content_offering_type={content?.content_offering_type}
50
- onPressPlay={({ is_trailer }) =>
51
- events?.onPlay?.({
52
- id: content._id,
53
- slug: content.slug,
54
- type: content.type,
55
- current_episode: currentEpisode,
56
- mode: 'fullscreen',
57
- is_trailer,
58
- seekTime: isComplete ? 0 : seekTime,
59
- })
60
- }
61
- onBackPress={events?.onBackPress}
62
- {...heroBannerProps}
63
- />
64
- <Title
65
- title={content?.name}
66
- subtitle={content?.u_age}
67
- rating={content?.rating}
68
- theme={appliedTheme}
69
- isLoading={isLoading}
70
- style={titleStyles}
71
- />
72
- <GenreTags
73
- genres={content?.genres}
74
- theme={appliedTheme}
75
- isLoading={isLoading}
76
- style={genreTagsStyles}
77
- />
78
- <AboutSection
79
- theme={appliedTheme}
80
- description={content?.description}
81
- isLoading={isLoading}
82
- style={aboutSectionStyles}
83
- />
84
- <CastCard
85
- theme={appliedTheme}
86
- data={content?.cast || null}
87
- isLoading={isLoading}
88
- onItemPress={() => {}}
89
- style={castStyles}
90
- />
91
- {content?.type === 'series' &&
92
- (seasonsIsLoading || (seasons && seasons.length > 0)) && (
93
- <EpisodeCard
94
- isLoading={seasonsIsLoading}
95
- seasons={seasonsIsLoading ? [] : (seasons ?? [])}
96
- onPress={({ season_id, episode_id, episode_number }) => {
97
- if (!seasonsIsLoading) {
98
- events?.onPlay?.({
99
- id: content._id,
100
- slug: content.slug,
101
- type: content.type,
102
- current_episode: episode_id,
103
- current_season: season_id,
104
- episode_number,
105
- });
106
- }
107
- }}
45
+ <>
46
+ {isNotFound ? (
47
+ <NotFoundFallback
48
+ title={text?.notFound?.title || 'Oops! Content Not Found'}
49
+ subtitle={
50
+ text?.notFound?.subtitle ||
51
+ 'We couldn’t find anything to show here. Please check back later.'
52
+ }
53
+ backButtonText={text?.notFound?.buttonText || 'Go Back'}
54
+ onPressBack={events?.onBackPress}
55
+ theme={theme}
56
+ />
57
+ ) : (
58
+ <ScrollView
59
+ showsVerticalScrollIndicator={false}
60
+ keyboardShouldPersistTaps="handled"
61
+ contentContainerStyle={styles.scrollContent}
62
+ >
63
+ <HeroBanner
64
+ backgroundImage={content?.thumbnail}
65
+ title={content?.name}
66
+ theme={theme}
67
+ isLoading={isLoading}
68
+ content_offering_type={content?.content_offering_type}
69
+ onPressPlay={({ is_trailer }) =>
70
+ events?.onPlay?.({
71
+ id: content._id,
72
+ slug: content.slug,
73
+ type: content.type,
74
+ current_episode: currentEpisode,
75
+ mode: 'fullscreen',
76
+ is_trailer,
77
+ seekTime: isComplete ? 0 : seekTime,
78
+ })
79
+ }
80
+ onBackPress={events?.onBackPress}
81
+ {...heroBannerProps}
82
+ />
83
+ <Title
84
+ title={content?.name}
85
+ subtitle={content?.u_age}
86
+ rating={content?.rating}
108
87
  theme={appliedTheme}
109
- mode={episodeCardMode ?? 'horizontal'}
88
+ isLoading={isLoading}
89
+ style={titleStyles}
110
90
  />
111
- )}
112
91
 
113
- {recommendedContent && recommendedContent?.content && (
114
- <Cards.Styles.Four
115
- section_id={recommendedContent._id}
116
- title={recommendedContent.name}
117
- type={recommendedContent.type}
118
- data={recommendedContent.content}
119
- isLoading={isLoading}
120
- theme={appliedTheme}
121
- onPressItem={(item) => events?.onPressRecommendedItem?.({ item })}
122
- onPressMore={events?.onPressRecommendedMore}
123
- moreFetchData={events?.moreFetchDataRecommended}
124
- {...recommendedContentCardStyles}
125
- />
92
+ <GenreTags
93
+ genres={content?.genres}
94
+ theme={appliedTheme}
95
+ isLoading={isLoading}
96
+ style={genreTagsStyles}
97
+ />
98
+ <MiniInfo content={content} theme={theme} isLoading={isLoading} />
99
+ <AboutSection
100
+ theme={appliedTheme}
101
+ description={content?.description}
102
+ release_year={content?.release_year}
103
+ isLoading={isLoading}
104
+ style={aboutSectionStyles}
105
+ />
106
+ <CastCard
107
+ theme={appliedTheme}
108
+ data={content?.cast || null}
109
+ isLoading={isLoading}
110
+ onItemPress={() => {}}
111
+ style={castStyles}
112
+ />
113
+ {content?.type === 'series' &&
114
+ (seasonsIsLoading || (seasons && seasons.length > 0)) && (
115
+ <EpisodeCard
116
+ isLoading={seasonsIsLoading}
117
+ seasons={seasonsIsLoading ? [] : (seasons ?? [])}
118
+ onPress={({ season_id, episode_id, episode_number }) => {
119
+ if (!seasonsIsLoading) {
120
+ events?.onPlay?.({
121
+ id: content._id,
122
+ slug: content.slug,
123
+ type: content.type,
124
+ current_episode: episode_id,
125
+ current_season: season_id,
126
+ episode_number,
127
+ });
128
+ }
129
+ }}
130
+ theme={theme}
131
+ mode={episodeCardMode ?? 'horizontal'}
132
+ />
133
+ )}
134
+
135
+ {recommendedContent && recommendedContent?.content && (
136
+ <Cards.Styles.Four
137
+ section_id={recommendedContent._id}
138
+ title={recommendedContent.name}
139
+ type={recommendedContent.type}
140
+ data={recommendedContent.content}
141
+ isLoading={isLoading}
142
+ theme={theme}
143
+ onPressItem={(item) => events?.onPressRecommendedItem?.({ item })}
144
+ onPressMore={events?.onPressRecommendedMore}
145
+ moreFetchData={events?.moreFetchDataRecommended}
146
+ {...recommendedContentCardStyles}
147
+ />
148
+ )}
149
+ </ScrollView>
126
150
  )}
127
- </ScrollView>
151
+ </>
128
152
  );
129
153
  };
130
154
 
@@ -19,8 +19,8 @@ import { View } from '../View';
19
19
  import AppHeader, { type AppHeaderProps } from '../Headers/AppHeader';
20
20
  import { RFValue } from 'react-native-responsive-fontsize';
21
21
  import CardPoster from '../Content/Card/components/CardPoster';
22
- import type { AppTheme } from '../../theme/themes';
23
- import { useTheme } from '../../theme';
22
+ import type { ThemeOverride } from '../../theme/themes';
23
+ import { useInternalTheme } from '../../theme/hook';
24
24
  import Animated from 'react-native-reanimated';
25
25
  import { Search } from 'lucide-react-native';
26
26
 
@@ -31,7 +31,7 @@ interface Props {
31
31
  isLoading?: boolean;
32
32
  error?: boolean | string | Error;
33
33
  errorText?: string;
34
- theme?: AppTheme;
34
+ theme?: ThemeOverride;
35
35
  moreDataIsLoading?: boolean;
36
36
  onEndReached?: () => void;
37
37
  skeletonCount?: number;
@@ -61,7 +61,7 @@ const MoreContentList: React.FC<Props> = ({
61
61
  refreshing = false,
62
62
  onRefresh,
63
63
  }) => {
64
- const { theme: appliedTheme } = useTheme(theme);
64
+ const { theme: appliedTheme } = useInternalTheme(theme);
65
65
  const onEndReachedCalledDuringMomentum = useRef(false);
66
66
  const isEmpty = !isLoading && (!contentList || contentList.length === 0);
67
67
 
@@ -208,6 +208,7 @@ const MoreContentList: React.FC<Props> = ({
208
208
  <Search size={scale(23)} color={appliedTheme.colors.onBackground} />
209
209
  )
210
210
  }
211
+ theme={theme}
211
212
  {...headerProps}
212
213
  />
213
214
  {renderContent()}
@@ -18,11 +18,13 @@ import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
18
18
  import { scale, verticalScale } from 'react-native-size-matters';
19
19
  import type { ITheme } from '../../../theme/themes';
20
20
  import { RFValue } from 'react-native-responsive-fontsize';
21
+ import type { IContentData } from '../../../types';
21
22
 
22
23
  type Props = {
23
24
  theme: ITheme;
24
- title?: string;
25
- description?: string;
25
+ title?: IContentData['name'];
26
+ description?: IContentData['description'];
27
+ release_year?: IContentData['release_year'];
26
28
  isLoading?: boolean;
27
29
  style?: {
28
30
  container?: StyleProp<ViewStyle>;
@@ -31,12 +33,14 @@ type Props = {
31
33
  scrollExpanded?: StyleProp<ViewStyle>;
32
34
  toggleText?: StyleProp<TextStyle>;
33
35
  skeletonLine?: StyleProp<ViewStyle>;
36
+ releaseYear?: StyleProp<ViewStyle>;
34
37
  };
35
38
  };
36
39
 
37
40
  export const AboutSection = ({
38
41
  theme,
39
42
  title = 'About',
43
+ release_year,
40
44
  description,
41
45
  isLoading = false,
42
46
  style,
@@ -89,6 +93,16 @@ export const AboutSection = ({
89
93
  {title}
90
94
  </Text>
91
95
 
96
+ {/* Release Year */}
97
+ {release_year && (
98
+ <Text
99
+ color={theme.colors.textSecondary}
100
+ style={[styles.releaseYear, style?.releaseYear]}
101
+ >
102
+ Release: <Text color={theme.colors.textPrimary}>{release_year}</Text>
103
+ </Text>
104
+ )}
105
+
92
106
  {!expanded ? (
93
107
  <Text
94
108
  color={theme.colors.textSecondary}
@@ -137,7 +151,7 @@ const styles = StyleSheet.create({
137
151
  marginTop: verticalScale(7),
138
152
  },
139
153
  title: {
140
- fontSize: RFValue(14),
154
+ fontSize: RFValue(13),
141
155
  fontWeight: 'bold',
142
156
  marginBottom: scale(6),
143
157
  },
@@ -149,6 +163,12 @@ const styles = StyleSheet.create({
149
163
  scrollExpanded: {
150
164
  maxHeight: verticalScale(250),
151
165
  },
166
+ releaseYear: {
167
+ fontSize: RFValue(12),
168
+ fontWeight: '500',
169
+ marginBottom: scale(6),
170
+ letterSpacing: 0.3,
171
+ },
152
172
  toggleText: {
153
173
  fontSize: RFValue(9.5),
154
174
  fontWeight: '600',
@@ -202,7 +202,7 @@ const styles = StyleSheet.create({
202
202
  marginVertical: scale(10),
203
203
  },
204
204
  heading: {
205
- fontSize: RFValue(14),
205
+ fontSize: RFValue(13),
206
206
  fontWeight: 'bold',
207
207
  marginBottom: scale(8),
208
208
  paddingHorizontal: scale(12),
@@ -11,10 +11,11 @@ import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
11
11
  import { Text } from '../../Text';
12
12
  import Display from '../../../utils/Display';
13
13
  import type { IContentEpisodes, IContentSeasons } from '../../../types';
14
- import type { ITheme } from '../../../theme/themes';
14
+ import type { ITheme, ThemeOverride } from '../../../theme/themes';
15
15
  import { ThumbnailCard } from '../../Content/Card/components/ThumbnailCard';
16
16
  import { RFValue } from 'react-native-responsive-fontsize';
17
17
  import RentOrBuyIcon from '../../Content/Card/components/RentOrBuyIcon';
18
+ import { useInternalTheme } from '../../../theme/hook';
18
19
 
19
20
  // Constants
20
21
  const SKELETON_COUNT = 3;
@@ -43,6 +44,7 @@ interface EpisodeCardItemProps {
43
44
  season_id: string;
44
45
  season_number: number;
45
46
  episode: IContentEpisodes;
47
+ isDarkMode: boolean;
46
48
  onPress: (e: IOnPressParams) => void;
47
49
  theme: ITheme;
48
50
  style?: React.ComponentProps<typeof TouchableOpacity>['style'];
@@ -53,7 +55,7 @@ interface EpisodeCardItemProps {
53
55
  interface EpisodeCardProps {
54
56
  seasons: IContentSeasons[];
55
57
  onPress: (e: IOnPressParams) => void;
56
- theme: ITheme;
58
+ theme?: ThemeOverride;
57
59
  isLoading?: boolean;
58
60
  mode?: 'horizontal' | 'vertical';
59
61
  }
@@ -74,6 +76,7 @@ const EpisodeCardItem = memo(
74
76
  season_number,
75
77
  episode,
76
78
  onPress,
79
+ isDarkMode,
77
80
  theme,
78
81
  style,
79
82
  thumbnailHeight,
@@ -109,15 +112,21 @@ const EpisodeCardItem = memo(
109
112
  flexDirection: isVerticalMode
110
113
  ? ('row' as const)
111
114
  : ('column' as const),
112
- borderWidth: isVerticalMode ? 0 : theme.dark ? 0 : BORDER_WIDTH,
115
+ borderWidth: isVerticalMode ? 0 : isDarkMode ? 0 : BORDER_WIDTH,
113
116
  borderColor: isVerticalMode
114
117
  ? 'transparent'
115
- : theme.dark
118
+ : isDarkMode
116
119
  ? 'transparent'
117
120
  : theme.colors.border,
118
121
  },
119
122
  ],
120
- [style, isVerticalMode, theme]
123
+ [
124
+ style,
125
+ isVerticalMode,
126
+ theme.colors.surfaceVariant,
127
+ theme.colors.border,
128
+ isDarkMode,
129
+ ]
121
130
  );
122
131
 
123
132
  const windowWidth = Display.fullWidth;
@@ -202,6 +211,7 @@ const EpisodeCardItem = memo(
202
211
  <View style={[styles.cardContent, isVerticalMode && styles.cardGrid]}>
203
212
  <View style={thumbnailStyle}>
204
213
  <RentOrBuyIcon
214
+ theme={theme}
205
215
  content_offering_type={episode.content_offering_type}
206
216
  />
207
217
  <ThumbnailCard
@@ -254,10 +264,11 @@ const EpisodeCardItem = memo(
254
264
  export const EpisodeCard = ({
255
265
  seasons,
256
266
  onPress,
257
- theme,
267
+ theme: themeOverride,
258
268
  isLoading = false,
259
269
  mode = 'horizontal',
260
270
  }: EpisodeCardProps) => {
271
+ const { isDarkMode, theme } = useInternalTheme(themeOverride);
261
272
  const [selectedSeasonIndex, setSelectedSeasonIndex] = useState(0);
262
273
  const windowWidth = Display.fullWidth;
263
274
 
@@ -324,13 +335,14 @@ export const EpisodeCard = ({
324
335
  theme={theme}
325
336
  season_id={selectedSeason._id}
326
337
  episode={item}
338
+ isDarkMode={isDarkMode}
327
339
  season_number={selectedSeason.season_number}
328
340
  onPress={onPress}
329
341
  style={{ width: cardWidth }}
330
342
  thumbnailHeight={thumbnailHeight}
331
343
  />
332
344
  ) : null,
333
- [theme, selectedSeason, onPress, cardWidth, thumbnailHeight]
345
+ [selectedSeason, theme, isDarkMode, onPress, cardWidth, thumbnailHeight]
334
346
  );
335
347
 
336
348
  const renderLoadingItem = useCallback(
@@ -338,6 +350,7 @@ export const EpisodeCard = ({
338
350
  <EpisodeCardItem
339
351
  theme={theme}
340
352
  season_id=""
353
+ isDarkMode={isDarkMode}
341
354
  season_number={0}
342
355
  episode={{
343
356
  _id: '',
@@ -361,7 +374,7 @@ export const EpisodeCard = ({
361
374
  isLoading
362
375
  />
363
376
  ),
364
- [theme, onPress, cardWidth, thumbnailHeight]
377
+ [theme, isDarkMode, onPress, cardWidth, thumbnailHeight]
365
378
  );
366
379
 
367
380
  if (isLoading) {