@zezosoft/zezo-ott-react-native-ui-kit 1.0.1 → 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 (467) 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 +9 -7
  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 +15 -14
  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 +17 -9
  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 +3 -1
  327. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  328. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
  329. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
  330. package/package.json +167 -70
  331. package/src/Styles/globalStyles.ts +18 -18
  332. package/src/assets/animations/135037-payment-processing-error.json +1347 -1
  333. package/src/assets/animations/7227-vui-animation.json +3377 -1
  334. package/src/assets/animations/succesfull-payment.json +2379 -1
  335. package/src/assets/animations/voice-icon.json +542 -1
  336. package/src/components/Account/Account.tsx +139 -61
  337. package/src/components/Alert/UAAlert.tsx +168 -0
  338. package/src/components/Alert/index.ts +1 -0
  339. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
  340. package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
  341. package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
  342. package/src/components/Auth/OTP/OTP.tsx +77 -32
  343. package/src/components/Auth/SignUp/SignUp.tsx +67 -32
  344. package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
  345. package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
  346. package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
  347. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
  348. package/src/components/Auth/index.ts +1 -1
  349. package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
  350. package/src/components/BlogView/BlogView.tsx +51 -31
  351. package/src/components/Button/BackBtn.tsx +31 -9
  352. package/src/components/Button/MenuBtn.tsx +61 -22
  353. package/src/components/Button/PrimaryBtn.tsx +30 -10
  354. package/src/components/Button/TextButton.tsx +30 -15
  355. package/src/components/Button/index.ts +1 -1
  356. package/src/components/Content/Card/Category/Category.tsx +73 -32
  357. package/src/components/Content/Card/NowWatching/NowWatching.tsx +109 -45
  358. package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
  359. package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
  360. package/src/components/Content/Card/Sliders/index.ts +2 -2
  361. package/src/components/Content/Card/Styles/Five.tsx +65 -22
  362. package/src/components/Content/Card/Styles/Four.tsx +73 -23
  363. package/src/components/Content/Card/Styles/One.tsx +68 -21
  364. package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
  365. package/src/components/Content/Card/Styles/Six.tsx +57 -19
  366. package/src/components/Content/Card/Styles/Three.tsx +59 -23
  367. package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
  368. package/src/components/Content/Card/Styles/Two.tsx +39 -18
  369. package/src/components/Content/Card/components/CardPoster.tsx +34 -32
  370. package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
  371. package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
  372. package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
  373. package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
  374. package/src/components/Content/Card/index.ts +2 -2
  375. package/src/components/Content/Content.tsx +41 -17
  376. package/src/components/Content/Sections.tsx +14 -8
  377. package/src/components/ContentView/ContentView.tsx +39 -32
  378. package/src/components/ContentView/MoreContentList.tsx +40 -18
  379. package/src/components/ContentView/components/AboutSection.tsx +30 -12
  380. package/src/components/ContentView/components/CastCard.tsx +65 -24
  381. package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
  382. package/src/components/ContentView/components/GenreTags.tsx +35 -11
  383. package/src/components/ContentView/components/HeroBanner.tsx +58 -24
  384. package/src/components/ContentView/components/PlayButton.tsx +13 -5
  385. package/src/components/ContentView/components/Title.tsx +30 -10
  386. package/src/components/ContentView/components/TrailerButton.tsx +16 -7
  387. package/src/components/Headers/AppHeader.tsx +40 -14
  388. package/src/components/Headers/One.tsx +18 -9
  389. package/src/components/Headers/Three.tsx +22 -7
  390. package/src/components/Headers/Two.tsx +24 -13
  391. package/src/components/Headers/index.ts +1 -1
  392. package/src/components/Input/Input.ts +1 -1
  393. package/src/components/Input/InputOne.tsx +69 -23
  394. package/src/components/Input/InputTwo.tsx +41 -18
  395. package/src/components/Input/PhoneNumberInput.tsx +94 -48
  396. package/src/components/Keyboard/HideKeyboard.tsx +16 -10
  397. package/src/components/Loader/Loader.tsx +3 -8
  398. package/src/components/Logo/Logo.tsx +17 -9
  399. package/src/components/Search/One.tsx +46 -17
  400. package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
  401. package/src/components/Search/components/SearchCard.tsx +34 -16
  402. package/src/components/Search/index.ts +1 -1
  403. package/src/components/Settings/AppSettings.tsx +80 -29
  404. package/src/components/Subscription/SubOne.tsx +84 -39
  405. package/src/components/Subscription/index.ts +1 -1
  406. package/src/components/TabBar/One.tsx +22 -18
  407. package/src/components/TabBar/Three.tsx +55 -19
  408. package/src/components/TabBar/Two.tsx +16 -12
  409. package/src/components/TabBar/index.ts +1 -1
  410. package/src/components/Text/Text.tsx +7 -3
  411. package/src/components/User/DeviceSessions/DeviceSessions.tsx +93 -38
  412. package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
  413. package/src/components/User/WatchLater/WatchLater.tsx +94 -31
  414. package/src/components/User/components/UserAvatar.tsx +8 -4
  415. package/src/components/User/components/UserSection.tsx +34 -19
  416. package/src/components/View/View.tsx +11 -2
  417. package/src/components/index.ts +1 -0
  418. package/src/components/layout/SafeAreaWrapper.tsx +10 -4
  419. package/src/constants/dummySections.ts +9 -7
  420. package/src/hooks/useDebounce.ts +4 -1
  421. package/src/hooks/useInitSplashCacheSync.ts +46 -18
  422. package/src/hooks/useKeyboard.ts +5 -3
  423. package/src/hooks/usePaginatedSection.ts +11 -7
  424. package/src/store/RecentSearchesStore.ts +12 -7
  425. package/src/store/splashStore.ts +16 -16
  426. package/src/theme/ThemeProvider.tsx +50 -20
  427. package/src/theme/hook/useTheme.ts +7 -3
  428. package/src/theme/index.ts +6 -0
  429. package/src/theme/themes.ts +42 -31
  430. package/src/types/content/content-view.types.ts +5 -2
  431. package/src/types/hook/usePaginatedSetion.ts +1 -1
  432. package/lib/module/components/Icons/AlertIcon.js +0 -33
  433. package/lib/module/components/Icons/AlertIcon.js.map +0 -1
  434. package/lib/module/components/Icons/DeviceIcon.js +0 -25
  435. package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
  436. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
  437. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
  438. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
  439. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
  440. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
  441. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
  442. package/lib/module/components/Icons/NewIndex.js +0 -36
  443. package/lib/module/components/Icons/NewIndex.js.map +0 -1
  444. package/lib/module/components/Icons/ResendOTP.js +0 -21
  445. package/lib/module/components/Icons/ResendOTP.js.map +0 -1
  446. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
  447. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
  448. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
  449. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
  450. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
  451. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
  452. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
  453. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
  454. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
  455. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
  456. package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
  457. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
  458. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
  459. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
  460. package/src/components/Icons/AlertIcon.tsx +0 -18
  461. package/src/components/Icons/DeviceIcon.tsx +0 -18
  462. package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
  463. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
  464. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
  465. package/src/components/Icons/NewIndex.ts +0 -35
  466. package/src/components/Icons/ResendOTP.tsx +0 -13
  467. /package/src/{index.ts → index.tsx} +0 -0
@@ -62,7 +62,7 @@ const formatDate = (dateString: string): string => {
62
62
  return date.toLocaleDateString('en-US', {
63
63
  day: '2-digit',
64
64
  month: 'short',
65
- year: 'numeric'
65
+ year: 'numeric',
66
66
  });
67
67
  };
68
68
 
@@ -76,15 +76,22 @@ const EpisodeCardItem = memo(
76
76
  theme,
77
77
  style,
78
78
  thumbnailHeight,
79
- isLoading = false
79
+ isLoading = false,
80
80
  }: EpisodeCardItemProps) => {
81
81
  const handlePress = useCallback(() => {
82
82
  if (!isLoading) {
83
- onPress?.({ season_id, episode_id: episode._id, episode_number: episode.number });
83
+ onPress?.({
84
+ season_id,
85
+ episode_id: episode._id,
86
+ episode_number: episode.number,
87
+ });
84
88
  }
85
89
  }, [season_id, episode._id, episode.number, onPress, isLoading]);
86
90
 
87
- const isVerticalMode = useMemo(() => style && (style as any).width === Display.fullWidth - scale(16), [style]);
91
+ const isVerticalMode = useMemo(
92
+ () => style && (style as any).width === Display.fullWidth - scale(16),
93
+ [style]
94
+ );
88
95
 
89
96
  const cardStyle = useMemo(
90
97
  () => [
@@ -95,11 +102,19 @@ const EpisodeCardItem = memo(
95
102
  shadowOffset: { width: 0, height: isVerticalMode ? 0 : 1 },
96
103
  shadowOpacity: isVerticalMode ? 0 : 0.1,
97
104
  shadowRadius: isVerticalMode ? 0 : 2,
98
- backgroundColor: isVerticalMode ? 'transparent' : theme.colors.surfaceVariant,
99
- flexDirection: isVerticalMode ? ('row' as const) : ('column' as const),
105
+ backgroundColor: isVerticalMode
106
+ ? 'transparent'
107
+ : theme.colors.surfaceVariant,
108
+ flexDirection: isVerticalMode
109
+ ? ('row' as const)
110
+ : ('column' as const),
100
111
  borderWidth: isVerticalMode ? 0 : theme.dark ? 0 : BORDER_WIDTH,
101
- borderColor: isVerticalMode ? 'transparent' : theme.dark ? 'transparent' : theme.colors.border
102
- }
112
+ borderColor: isVerticalMode
113
+ ? 'transparent'
114
+ : theme.dark
115
+ ? 'transparent'
116
+ : theme.colors.border,
117
+ },
103
118
  ],
104
119
  [style, isVerticalMode, theme]
105
120
  );
@@ -114,9 +129,9 @@ const EpisodeCardItem = memo(
114
129
  borderRadius: moderateScale(6),
115
130
  width: windowWidth * 0.45,
116
131
  aspectRatio: THUMBNAIL_ASPECT_RATIO,
117
- height: thumbnailHeight
132
+ height: thumbnailHeight,
118
133
  }
119
- : { borderRadius: 0, height: thumbnailHeight }
134
+ : { borderRadius: 0, height: thumbnailHeight },
120
135
  ],
121
136
  [isVerticalMode, thumbnailHeight, windowWidth]
122
137
  );
@@ -129,7 +144,11 @@ const EpisodeCardItem = memo(
129
144
  highlightColor={theme.colors.skeletonHighlightColor}
130
145
  >
131
146
  {isVerticalMode ? (
132
- <SkeletonPlaceholder.Item flexDirection="row" alignItems="flex-start" width="100%">
147
+ <SkeletonPlaceholder.Item
148
+ flexDirection="row"
149
+ alignItems="flex-start"
150
+ width="100%"
151
+ >
133
152
  <SkeletonPlaceholder.Item
134
153
  width="45%"
135
154
  aspectRatio={THUMBNAIL_ASPECT_RATIO}
@@ -141,7 +160,11 @@ const EpisodeCardItem = memo(
141
160
  justifyContent="center"
142
161
  paddingTop={scale(2)}
143
162
  >
144
- <SkeletonPlaceholder.Item width="80%" height={verticalScale(12)} borderRadius={moderateScale(4)} />
163
+ <SkeletonPlaceholder.Item
164
+ width="80%"
165
+ height={verticalScale(12)}
166
+ borderRadius={moderateScale(4)}
167
+ />
145
168
  {Array(4)
146
169
  .fill(0)
147
170
  .map((_, index) => (
@@ -178,7 +201,10 @@ const EpisodeCardItem = memo(
178
201
  <View style={[styles.cardContent, isVerticalMode && styles.cardGrid]}>
179
202
  <View style={thumbnailStyle}>
180
203
  <FastImage
181
- source={{ uri: episode.thumbnail, priority: FastImage.priority.high }}
204
+ source={{
205
+ uri: episode.thumbnail,
206
+ priority: FastImage.priority.high,
207
+ }}
182
208
  style={styles.thumbnail}
183
209
  resizeMode={FastImage.resizeMode.cover}
184
210
  fallback
@@ -190,16 +216,29 @@ const EpisodeCardItem = memo(
190
216
  resizeMode={FastImage.resizeMode.cover}
191
217
  />
192
218
  </View>
193
- <View style={[isVerticalMode ? styles.textRightHalf : styles.textWrapper]}>
194
- <Text numberOfLines={1} color={theme.colors.textPrimary} style={styles.title}>
219
+ <View
220
+ style={[isVerticalMode ? styles.textRightHalf : styles.textWrapper]}
221
+ >
222
+ <Text
223
+ numberOfLines={1}
224
+ color={theme.colors.textPrimary}
225
+ style={styles.title}
226
+ >
195
227
  {episode.name || `Episode ${episode.number}`}
196
228
  </Text>
197
- <Text color={theme.colors.onSurface} style={{ fontSize: RFValue(9), marginTop: verticalScale(2) }}>
229
+ <Text
230
+ color={theme.colors.onSurface}
231
+ style={{ fontSize: RFValue(9), marginTop: verticalScale(2) }}
232
+ >
198
233
  {`S${String(season_number).padStart(2, '0')} | E${String(episode.number).padStart(2, '0')} | `}
199
234
  {episode.createdAt && formatDate(episode.createdAt)}
200
235
  </Text>
201
236
  {!!episode.description && (
202
- <Text numberOfLines={isVerticalMode ? 4 : 2} color={theme.colors.textSecondary} style={styles.subtitle}>
237
+ <Text
238
+ numberOfLines={isVerticalMode ? 4 : 2}
239
+ color={theme.colors.textSecondary}
240
+ style={styles.subtitle}
241
+ >
203
242
  {episode.description}
204
243
  </Text>
205
244
  )}
@@ -217,14 +256,26 @@ const EpisodeCardItem = memo(
217
256
  );
218
257
 
219
258
  // Main Component
220
- export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode = 'horizontal' }: EpisodeCardProps) => {
259
+ export const EpisodeCard = ({
260
+ seasons,
261
+ onPress,
262
+ theme,
263
+ isLoading = false,
264
+ mode = 'horizontal',
265
+ }: EpisodeCardProps) => {
221
266
  const [selectedSeasonIndex, setSelectedSeasonIndex] = useState(0);
222
267
  const windowWidth = Display.fullWidth;
223
268
 
224
- const selectedSeason = useMemo(() => seasons[selectedSeasonIndex] || null, [seasons, selectedSeasonIndex]);
269
+ const selectedSeason = useMemo(
270
+ () => seasons[selectedSeasonIndex] || null,
271
+ [seasons, selectedSeasonIndex]
272
+ );
225
273
 
226
274
  const cardWidth = useMemo(
227
- () => (mode === 'horizontal' ? Math.min(windowWidth * 0.45, moderateScale(180)) : windowWidth - scale(16)),
275
+ () =>
276
+ mode === 'horizontal'
277
+ ? Math.min(windowWidth * 0.45, moderateScale(180))
278
+ : windowWidth - scale(16),
228
279
  [windowWidth, mode]
229
280
  );
230
281
 
@@ -242,9 +293,12 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
242
293
  style={[
243
294
  styles.tab,
244
295
  {
245
- backgroundColor: selectedSeasonIndex === index ? theme.colors.button : theme.colors.surfaceVariant,
246
- borderColor: theme.colors.border
247
- }
296
+ backgroundColor:
297
+ selectedSeasonIndex === index
298
+ ? theme.colors.button
299
+ : theme.colors.surfaceVariant,
300
+ borderColor: theme.colors.border,
301
+ },
248
302
  ]}
249
303
  accessibilityRole="tab"
250
304
  accessibilityState={{ selected: selectedSeasonIndex === index }}
@@ -253,7 +307,12 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
253
307
  <Text
254
308
  style={[
255
309
  styles.tabText,
256
- { color: selectedSeasonIndex === index ? theme.colors.buttonText : theme.colors.textPrimary }
310
+ {
311
+ color:
312
+ selectedSeasonIndex === index
313
+ ? theme.colors.buttonText
314
+ : theme.colors.textPrimary,
315
+ },
257
316
  ]}
258
317
  >
259
318
  {season.name || `Season ${index + 1}`}
@@ -299,7 +358,7 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
299
358
  updatedAt: '',
300
359
  source_type: 'HLS',
301
360
  content_offering_type: 'FREE',
302
- status: true
361
+ status: true,
303
362
  }}
304
363
  onPress={onPress}
305
364
  style={{ width: cardWidth }}
@@ -312,7 +371,9 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
312
371
 
313
372
  if (isLoading) {
314
373
  return (
315
- <View style={[styles.container, { backgroundColor: theme.colors.background }]}>
374
+ <View
375
+ style={[styles.container, { backgroundColor: theme.colors.background }]}
376
+ >
316
377
  <FlatList
317
378
  data={Array(SKELETON_COUNT).fill(0)}
318
379
  keyExtractor={(_, index) => `skeleton_tab_${index}`}
@@ -354,7 +415,9 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
354
415
  }
355
416
 
356
417
  return (
357
- <View style={[styles.container, { backgroundColor: theme.colors.background }]}>
418
+ <View
419
+ style={[styles.container, { backgroundColor: theme.colors.background }]}
420
+ >
358
421
  <FlatList
359
422
  data={seasons}
360
423
  renderItem={renderSeasonTab}
@@ -372,7 +435,9 @@ export const EpisodeCard = ({ seasons, onPress, theme, isLoading = false, mode =
372
435
  renderItem={renderEpisodeItem}
373
436
  ListEmptyComponent={
374
437
  <View style={styles.emptyContainer}>
375
- <Text color={theme.colors.textSecondary}>No episodes available</Text>
438
+ <Text color={theme.colors.textSecondary}>
439
+ No episodes available
440
+ </Text>
376
441
  </View>
377
442
  }
378
443
  />
@@ -385,70 +450,70 @@ const styles = StyleSheet.create({
385
450
  container: {
386
451
  paddingVertical: verticalScale(4),
387
452
  flexDirection: 'column',
388
- gap: CONTAINER_GAP
453
+ gap: CONTAINER_GAP,
389
454
  },
390
455
  tabsContainer: {
391
- paddingHorizontal: CONTAINER_PADDING_HORIZONTAL
456
+ paddingHorizontal: CONTAINER_PADDING_HORIZONTAL,
392
457
  },
393
458
  tab: {
394
459
  paddingHorizontal: TAB_PADDING_HORIZONTAL,
395
460
  paddingVertical: TAB_PADDING_VERTICAL,
396
461
  borderRadius: moderateScale(16),
397
462
  marginRight: TAB_MARGIN_RIGHT,
398
- borderWidth: BORDER_WIDTH
463
+ borderWidth: BORDER_WIDTH,
399
464
  },
400
465
  tabText: {
401
466
  fontSize: TITLE_FONT_SIZE,
402
- fontWeight: '600'
467
+ fontWeight: '600',
403
468
  },
404
469
  listContainer: {
405
470
  paddingHorizontal: CONTAINER_PADDING_HORIZONTAL,
406
- gap: CONTAINER_GAP
471
+ gap: CONTAINER_GAP,
407
472
  },
408
473
  card: {
409
474
  borderRadius: moderateScale(8),
410
475
  overflow: 'hidden',
411
- elevation: CARD_ELEVATION
476
+ elevation: CARD_ELEVATION,
412
477
  },
413
478
  cardContent: {
414
479
  flexDirection: 'column',
415
- width: '100%'
480
+ width: '100%',
416
481
  },
417
482
  cardGrid: {
418
483
  flexDirection: 'row',
419
- alignItems: 'flex-start'
484
+ alignItems: 'flex-start',
420
485
  },
421
486
  thumbnailCommon: {
422
487
  overflow: 'hidden',
423
488
  backgroundColor: '#ccc',
424
- width: '100%'
489
+ width: '100%',
425
490
  },
426
491
  thumbnail: {
427
492
  width: '100%',
428
- height: '100%'
493
+ height: '100%',
429
494
  },
430
495
  textWrapper: {
431
- padding: TEXT_PADDING
496
+ padding: TEXT_PADDING,
432
497
  },
433
498
  textRightHalf: {
434
499
  flex: 1,
435
500
  width: '55%',
436
501
  paddingVertical: verticalScale(2),
437
502
  paddingHorizontal: TEXT_PADDING,
438
- justifyContent: 'center'
503
+ justifyContent: 'center',
439
504
  },
440
505
  title: {
441
506
  fontSize: TITLE_FONT_SIZE,
442
- fontWeight: '600'
507
+ fontWeight: '600',
443
508
  },
444
509
  subtitle: {
445
510
  fontSize: SUBTITLE_FONT_SIZE,
446
511
  lineHeight: SUBTITLE_LINE_HEIGHT,
447
512
  opacity: 0.8,
448
- marginTop: verticalScale(2)
513
+ marginTop: verticalScale(2),
449
514
  },
450
515
  emptyContainer: {
451
516
  padding: CONTAINER_PADDING_HORIZONTAL,
452
- alignItems: 'center'
453
- }
517
+ alignItems: 'center',
518
+ },
454
519
  });
@@ -4,7 +4,13 @@
4
4
  */
5
5
 
6
6
  import React from 'react';
7
- import { View, StyleSheet, type StyleProp, type ViewStyle, type TextStyle } from 'react-native';
7
+ import {
8
+ View,
9
+ StyleSheet,
10
+ type StyleProp,
11
+ type ViewStyle,
12
+ type TextStyle,
13
+ } from 'react-native';
8
14
  import { Text } from '../../Text';
9
15
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
10
16
  import { scale, verticalScale } from 'react-native-size-matters';
@@ -24,7 +30,12 @@ type Props = {
24
30
  };
25
31
  };
26
32
 
27
- export const GenreTags = ({ genres, theme, isLoading = false, style }: Props): React.ReactElement => {
33
+ export const GenreTags = ({
34
+ genres,
35
+ theme,
36
+ isLoading = false,
37
+ style,
38
+ }: Props): React.ReactElement => {
28
39
  if (isLoading || !genres?.length) {
29
40
  return (
30
41
  <SkeletonPlaceholder
@@ -34,7 +45,13 @@ export const GenreTags = ({ genres, theme, isLoading = false, style }: Props): R
34
45
  >
35
46
  <View style={StyleSheet.flatten([styles.tagRow, style?.container])}>
36
47
  {[1, 2, 3].map((_, idx) => (
37
- <View key={idx} style={StyleSheet.flatten([styles.skeletonTag, style?.skeletonTag])} />
48
+ <View
49
+ key={idx}
50
+ style={StyleSheet.flatten([
51
+ styles.skeletonTag,
52
+ style?.skeletonTag,
53
+ ])}
54
+ />
38
55
  ))}
39
56
  </View>
40
57
  </SkeletonPlaceholder>
@@ -48,12 +65,19 @@ export const GenreTags = ({ genres, theme, isLoading = false, style }: Props): R
48
65
  key={idx}
49
66
  style={StyleSheet.flatten([
50
67
  styles.tagContainer,
51
- { backgroundColor: theme.colors.surfaceVariant, borderColor: theme.colors.border },
52
- style?.tagContainer
68
+ {
69
+ backgroundColor: theme.colors.surfaceVariant,
70
+ borderColor: theme.colors.border,
71
+ },
72
+ style?.tagContainer,
53
73
  ])}
54
74
  >
55
75
  <Text
56
- style={StyleSheet.flatten([styles.tagText, { color: theme.colors.textPrimary }, style?.tagText])}
76
+ style={StyleSheet.flatten([
77
+ styles.tagText,
78
+ { color: theme.colors.textPrimary },
79
+ style?.tagText,
80
+ ])}
57
81
  numberOfLines={1}
58
82
  ellipsizeMode="tail"
59
83
  >
@@ -71,7 +95,7 @@ const styles = StyleSheet.create({
71
95
  flexWrap: 'wrap',
72
96
  gap: scale(4),
73
97
  paddingHorizontal: scale(10),
74
- marginVertical: verticalScale(6)
98
+ marginVertical: verticalScale(6),
75
99
  },
76
100
  tagContainer: {
77
101
  paddingHorizontal: scale(10),
@@ -79,15 +103,15 @@ const styles = StyleSheet.create({
79
103
  borderWidth: scale(0.5),
80
104
  borderRadius: scale(14),
81
105
  maxWidth: '100%',
82
- alignSelf: 'flex-start'
106
+ alignSelf: 'flex-start',
83
107
  },
84
108
  tagText: {
85
109
  fontSize: RFValue(9),
86
- maxWidth: scale(110)
110
+ maxWidth: scale(110),
87
111
  },
88
112
  skeletonTag: {
89
113
  width: scale(56),
90
114
  height: scale(24),
91
- borderRadius: scale(14)
92
- }
115
+ borderRadius: scale(14),
116
+ },
93
117
  });
@@ -3,7 +3,7 @@
3
3
  * @lastModified Wed 02 Jul 2025 at 04:50 PM
4
4
  */
5
5
 
6
- import React, { useState, useMemo, useCallback } from 'react';
6
+ import { useState, useMemo, useCallback } from 'react';
7
7
  import { View, StyleSheet, Animated, Text } from 'react-native';
8
8
  import LinearGradient from 'react-native-linear-gradient';
9
9
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
@@ -32,14 +32,17 @@ export const HeroBanner = ({
32
32
  style,
33
33
  renderButtons,
34
34
  renderSkeletons,
35
- menuActions
35
+ menuActions,
36
36
  }: HeroBannerProps) => {
37
37
  const [hasImageLoaded, setHasImageLoaded] = useState(false);
38
38
  const [imageLoadError, setImageLoadError] = useState(false);
39
39
 
40
- const handlePressPlay = useCallback(() => {
41
- onPressPlay?.();
42
- }, [onPressPlay]);
40
+ const handlePressPlay = useCallback(
41
+ ({ is_trailer }: { is_trailer: boolean }) => {
42
+ onPressPlay?.({ is_trailer });
43
+ },
44
+ [onPressPlay]
45
+ );
43
46
 
44
47
  const showSkeleton = isLoading || (!hasImageLoaded && !imageLoadError);
45
48
 
@@ -51,37 +54,37 @@ export const HeroBanner = ({
51
54
  width: '100%',
52
55
  overflow: 'hidden',
53
56
  position: 'relative',
54
- backgroundColor: theme.colors.backgroundDisabled
57
+ backgroundColor: theme.colors.backgroundDisabled,
55
58
  },
56
59
  centeredContent: {
57
60
  ...StyleSheet.absoluteFillObject,
58
61
  justifyContent: 'center',
59
62
  alignItems: 'center',
60
63
  zIndex: 4,
61
- pointerEvents: 'box-none'
64
+ pointerEvents: 'box-none',
62
65
  },
63
66
  skeletonContainer: {
64
67
  ...StyleSheet.absoluteFillObject,
65
68
  backgroundColor: theme.colors.backgroundDisabled,
66
69
  justifyContent: 'center',
67
70
  alignItems: 'center',
68
- zIndex: 2
71
+ zIndex: 2,
69
72
  },
70
73
  errorContainer: {
71
74
  ...StyleSheet.absoluteFillObject,
72
75
  justifyContent: 'center',
73
76
  alignItems: 'center',
74
77
  backgroundColor: theme.colors.backgroundDisabled,
75
- zIndex: 1
78
+ zIndex: 1,
76
79
  },
77
80
  errorText: {
78
81
  color: theme.colors.textSecondary,
79
82
  fontSize: RFValue(15),
80
- textAlign: 'center'
83
+ textAlign: 'center',
81
84
  },
82
85
  imageContainer: {
83
86
  ...StyleSheet.absoluteFillObject,
84
- zIndex: 0
87
+ zIndex: 0,
85
88
  },
86
89
  trailerButtonWrapper: {
87
90
  ...StyleSheet.absoluteFillObject,
@@ -89,34 +92,34 @@ export const HeroBanner = ({
89
92
  alignItems: 'center',
90
93
  bottom: verticalScale(10),
91
94
  zIndex: 4,
92
- pointerEvents: 'box-none'
95
+ pointerEvents: 'box-none',
93
96
  },
94
97
  backBtnSkeleton: {
95
98
  position: 'absolute',
96
99
  top: scale(6),
97
100
  left: scale(13),
98
- zIndex: 4
101
+ zIndex: 4,
99
102
  },
100
103
  menuBtnSkeleton: {
101
104
  position: 'absolute',
102
105
  top: scale(6),
103
106
  right: scale(13),
104
- zIndex: 4
107
+ zIndex: 4,
105
108
  },
106
109
  defaultBackBtn: {
107
110
  position: 'absolute',
108
111
  top: scale(6),
109
112
  left: scale(13),
110
113
  zIndex: 4,
111
- backgroundColor: theme.colors.background
114
+ backgroundColor: theme.colors.background,
112
115
  },
113
116
  defaultMenuBtn: {
114
117
  position: 'absolute',
115
118
  top: scale(6),
116
119
  right: scale(13),
117
120
  zIndex: 4,
118
- backgroundColor: theme.colors.background
119
- }
121
+ backgroundColor: theme.colors.background,
122
+ },
120
123
  }),
121
124
  [theme]
122
125
  );
@@ -142,7 +145,12 @@ export const HeroBanner = ({
142
145
  ))
143
146
  : (renderButtons?.back?.() ??
144
147
  (onBackPress && (
145
- <BackBtn theme={theme} onPress={onBackPress} style={styles.defaultBackBtn} size={scale(20)} />
148
+ <BackBtn
149
+ theme={theme}
150
+ onPress={onBackPress}
151
+ style={styles.defaultBackBtn}
152
+ size={scale(20)}
153
+ />
146
154
  )))}
147
155
 
148
156
  {/* Menu Button */}
@@ -163,7 +171,13 @@ export const HeroBanner = ({
163
171
  </View>
164
172
  ))
165
173
  : menuActions &&
166
- (renderButtons?.menu?.() ?? <MenuBtn theme={theme} style={styles.defaultMenuBtn} actions={menuActions} />)}
174
+ (renderButtons?.menu?.() ?? (
175
+ <MenuBtn
176
+ theme={theme}
177
+ style={styles.defaultMenuBtn}
178
+ actions={menuActions}
179
+ />
180
+ ))}
167
181
 
168
182
  {/* Gradient Overlay */}
169
183
  <LinearGradient
@@ -177,7 +191,10 @@ export const HeroBanner = ({
177
191
  <View style={styles.imageContainer}>
178
192
  <FastImage
179
193
  style={StyleSheet.absoluteFillObject}
180
- source={{ uri: backgroundImage, cache: FastImage.cacheControl.immutable }}
194
+ source={{
195
+ uri: backgroundImage,
196
+ cache: FastImage.cacheControl.immutable,
197
+ }}
181
198
  resizeMode={FastImage.resizeMode.cover}
182
199
  onLoad={() => setHasImageLoaded(true)}
183
200
  onError={() => setImageLoadError(true)}
@@ -196,7 +213,12 @@ export const HeroBanner = ({
196
213
  highlightColor={theme.colors.skeletonHighlightColor}
197
214
  speed={800}
198
215
  >
199
- <SkeletonPlaceholder.Item width="100%" height="100%" justifyContent="center" alignItems="center">
216
+ <SkeletonPlaceholder.Item
217
+ width="100%"
218
+ height="100%"
219
+ justifyContent="center"
220
+ alignItems="center"
221
+ >
200
222
  <SkeletonPlaceholder.Item
201
223
  width={SKELETON_CIRCLE_SIZE}
202
224
  height={SKELETON_CIRCLE_SIZE}
@@ -214,7 +236,11 @@ export const HeroBanner = ({
214
236
  highlightColor={theme.colors.skeletonHighlightColor}
215
237
  speed={800}
216
238
  >
217
- <SkeletonPlaceholder.Item width={scale(110)} height={verticalScale(25)} borderRadius={scale(14)} />
239
+ <SkeletonPlaceholder.Item
240
+ width={scale(110)}
241
+ height={verticalScale(25)}
242
+ borderRadius={scale(14)}
243
+ />
218
244
  </SkeletonPlaceholder>
219
245
  )}
220
246
  </View>
@@ -225,11 +251,19 @@ export const HeroBanner = ({
225
251
  {!showSkeleton && !imageLoadError && (
226
252
  <>
227
253
  <Animated.View style={styles.centeredContent}>
228
- {renderButtons?.play?.() ?? <PlayButton onPress={handlePressPlay} />}
254
+ {renderButtons?.play?.() ?? (
255
+ <PlayButton
256
+ onPress={() => handlePressPlay({ is_trailer: false })}
257
+ />
258
+ )}
229
259
  </Animated.View>
230
260
 
231
261
  <Animated.View style={styles.trailerButtonWrapper}>
232
- {renderButtons?.trailer?.() ?? <TrailerButton onPress={handlePressPlay} />}
262
+ {renderButtons?.trailer?.() ?? (
263
+ <TrailerButton
264
+ onPress={() => handlePressPlay({ is_trailer: true })}
265
+ />
266
+ )}
233
267
  </Animated.View>
234
268
  </>
235
269
  )}
@@ -3,8 +3,11 @@
3
3
  * @lastModified Wed 02 Jul 2025 at 03:38 PM
4
4
  * */
5
5
 
6
- import React from 'react';
7
- import { TouchableOpacity, StyleSheet, type GestureResponderEvent } from 'react-native';
6
+ import {
7
+ TouchableOpacity,
8
+ StyleSheet,
9
+ type GestureResponderEvent,
10
+ } from 'react-native';
8
11
  import { PlayCircleIcon } from 'lucide-react-native';
9
12
  import { moderateScale, scale, verticalScale } from 'react-native-size-matters';
10
13
 
@@ -15,7 +18,12 @@ interface Props {
15
18
  backgroundColor?: string;
16
19
  }
17
20
 
18
- export const PlayButton = ({ onPress, size = scale(40), color = 'black', backgroundColor = '#FFD700' }: Props) => {
21
+ export const PlayButton = ({
22
+ onPress,
23
+ size = scale(40),
24
+ color = 'black',
25
+ backgroundColor = '#FFD700',
26
+ }: Props) => {
19
27
  return (
20
28
  <TouchableOpacity
21
29
  activeOpacity={0.8}
@@ -32,6 +40,6 @@ const styles = StyleSheet.create({
32
40
  padding: moderateScale(6),
33
41
  marginBottom: verticalScale(10),
34
42
  alignItems: 'center',
35
- justifyContent: 'center'
36
- }
43
+ justifyContent: 'center',
44
+ },
37
45
  });