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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +6 -0
  3. package/lib/module/assets/animations/135037-payment-processing-error.json +1347 -1
  4. package/lib/module/assets/animations/7227-vui-animation.json +3377 -1
  5. package/lib/module/assets/animations/succesfull-payment.json +2379 -1
  6. package/lib/module/assets/animations/voice-icon.json +542 -1
  7. package/lib/module/components/Account/Account.js +6 -6
  8. package/lib/module/components/Account/Account.js.map +1 -1
  9. package/lib/module/components/Account/index.js +1 -1
  10. package/lib/module/components/Account/index.js.map +1 -1
  11. package/lib/module/components/Alert/UAAlert.js +138 -0
  12. package/lib/module/components/Alert/UAAlert.js.map +1 -0
  13. package/lib/module/components/Alert/index.js +4 -0
  14. package/lib/module/components/Alert/index.js.map +1 -0
  15. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js +9 -9
  16. package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +1 -1
  17. package/lib/module/components/Auth/Login/LoginWithEmail.js +10 -10
  18. package/lib/module/components/Auth/Login/LoginWithEmail.js.map +1 -1
  19. package/lib/module/components/Auth/Login/LoginWithPhone.js +10 -10
  20. package/lib/module/components/Auth/Login/LoginWithPhone.js.map +1 -1
  21. package/lib/module/components/Auth/OTP/OTP.js +9 -9
  22. package/lib/module/components/Auth/OTP/OTP.js.map +1 -1
  23. package/lib/module/components/Auth/SignUp/SignUp.js +10 -10
  24. package/lib/module/components/Auth/SignUp/SignUp.js.map +1 -1
  25. package/lib/module/components/Auth/SplashScreen/SplashScreen.js +6 -6
  26. package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +1 -1
  27. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js +1 -6
  28. package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +1 -1
  29. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js +1 -1
  30. package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -1
  31. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js +1 -1
  32. package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -1
  33. package/lib/module/components/Auth/index.js +6 -6
  34. package/lib/module/components/Auth/index.js.map +1 -1
  35. package/lib/module/components/BackgroundLayout/BackgroundLayout.js +1 -1
  36. package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
  37. package/lib/module/components/BlogView/BlogView.js +4 -10
  38. package/lib/module/components/BlogView/BlogView.js.map +1 -1
  39. package/lib/module/components/BlogView/index.js +1 -1
  40. package/lib/module/components/BlogView/index.js.map +1 -1
  41. package/lib/module/components/Button/BackBtn.js +1 -1
  42. package/lib/module/components/Button/BackBtn.js.map +1 -1
  43. package/lib/module/components/Button/MenuBtn.js +1 -1
  44. package/lib/module/components/Button/MenuBtn.js.map +1 -1
  45. package/lib/module/components/Button/PrimaryBtn.js +2 -2
  46. package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
  47. package/lib/module/components/Button/TextButton.js +2 -2
  48. package/lib/module/components/Button/TextButton.js.map +1 -1
  49. package/lib/module/components/Button/index.js +3 -3
  50. package/lib/module/components/Button/index.js.map +1 -1
  51. package/lib/module/components/Content/Card/Category/Category.js +2 -2
  52. package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
  53. package/lib/module/components/Content/Card/NowWatching/NowWatching.js +6 -6
  54. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  55. package/lib/module/components/Content/Card/Sliders/Styles/One.js +3 -3
  56. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  57. package/lib/module/components/Content/Card/Sliders/Styles/Two.js +4 -4
  58. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  59. package/lib/module/components/Content/Card/Sliders/index.js +2 -2
  60. package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
  61. package/lib/module/components/Content/Card/Styles/Five.js +4 -4
  62. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  63. package/lib/module/components/Content/Card/Styles/Four.js +4 -4
  64. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  65. package/lib/module/components/Content/Card/Styles/One.js +4 -4
  66. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  67. package/lib/module/components/Content/Card/Styles/RotateInOut.js +4 -4
  68. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  69. package/lib/module/components/Content/Card/Styles/Six.js +5 -5
  70. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  71. package/lib/module/components/Content/Card/Styles/Three.js +4 -4
  72. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  73. package/lib/module/components/Content/Card/Styles/TopTen.js +5 -5
  74. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  75. package/lib/module/components/Content/Card/Styles/Two.js +4 -4
  76. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  77. package/lib/module/components/Content/Card/components/CardPoster.js +1 -10
  78. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  79. package/lib/module/components/Content/Card/components/NavigateToMore.js +2 -2
  80. package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
  81. package/lib/module/components/Content/Card/components/NoContentFallback.js +3 -3
  82. package/lib/module/components/Content/Card/components/NoContentFallback.js.map +1 -1
  83. package/lib/module/components/Content/Card/components/ShowAllButton.js +1 -1
  84. package/lib/module/components/Content/Card/components/ShowAllButton.js.map +1 -1
  85. package/lib/module/components/Content/Card/components/ThumbnailCard.js +1 -1
  86. package/lib/module/components/Content/Card/components/ThumbnailCard.js.map +1 -1
  87. package/lib/module/components/Content/Card/index.js +10 -10
  88. package/lib/module/components/Content/Card/index.js.map +1 -1
  89. package/lib/module/components/Content/Content.js +4 -4
  90. package/lib/module/components/Content/Content.js.map +1 -1
  91. package/lib/module/components/Content/Sections.js +2 -2
  92. package/lib/module/components/Content/Sections.js.map +1 -1
  93. package/lib/module/components/ContentView/ContentView.js +8 -9
  94. package/lib/module/components/ContentView/ContentView.js.map +1 -1
  95. package/lib/module/components/ContentView/MoreContentList.js +6 -6
  96. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  97. package/lib/module/components/ContentView/components/AboutSection.js +2 -2
  98. package/lib/module/components/ContentView/components/AboutSection.js.map +1 -1
  99. package/lib/module/components/ContentView/components/CastCard.js +2 -2
  100. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  101. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  102. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  103. package/lib/module/components/ContentView/components/GenreTags.js +1 -1
  104. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  105. package/lib/module/components/ContentView/components/HeroBanner.js +5 -5
  106. package/lib/module/components/ContentView/components/HeroBanner.js.map +1 -1
  107. package/lib/module/components/ContentView/components/PlayButton.js +0 -1
  108. package/lib/module/components/ContentView/components/PlayButton.js.map +1 -1
  109. package/lib/module/components/ContentView/components/Title.js +1 -1
  110. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  111. package/lib/module/components/ContentView/components/TrailerButton.js +1 -2
  112. package/lib/module/components/ContentView/components/TrailerButton.js.map +1 -1
  113. package/lib/module/components/ContentView/index.js +2 -2
  114. package/lib/module/components/ContentView/index.js.map +1 -1
  115. package/lib/module/components/Headers/AppHeader.js +2 -2
  116. package/lib/module/components/Headers/AppHeader.js.map +1 -1
  117. package/lib/module/components/Headers/One.js +2 -2
  118. package/lib/module/components/Headers/One.js.map +1 -1
  119. package/lib/module/components/Headers/Three.js +2 -2
  120. package/lib/module/components/Headers/Three.js.map +1 -1
  121. package/lib/module/components/Headers/Two.js +5 -6
  122. package/lib/module/components/Headers/Two.js.map +1 -1
  123. package/lib/module/components/Headers/index.js +3 -3
  124. package/lib/module/components/Headers/index.js.map +1 -1
  125. package/lib/module/components/Input/Input.js +3 -3
  126. package/lib/module/components/Input/Input.js.map +1 -1
  127. package/lib/module/components/Input/InputOne.js +1 -1
  128. package/lib/module/components/Input/InputOne.js.map +1 -1
  129. package/lib/module/components/Input/InputTwo.js +1 -1
  130. package/lib/module/components/Input/InputTwo.js.map +1 -1
  131. package/lib/module/components/Input/PhoneNumberInput.js +1 -1
  132. package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
  133. package/lib/module/components/Keyboard/HideKeyboard.js.map +1 -1
  134. package/lib/module/components/Loader/Loader.js +1 -6
  135. package/lib/module/components/Loader/Loader.js.map +1 -1
  136. package/lib/module/components/Logo/Logo.js +2 -2
  137. package/lib/module/components/Logo/Logo.js.map +1 -1
  138. package/lib/module/components/Search/One.js +9 -9
  139. package/lib/module/components/Search/One.js.map +1 -1
  140. package/lib/module/components/Search/components/RecentSearchesSection.js +1 -1
  141. package/lib/module/components/Search/components/RecentSearchesSection.js.map +1 -1
  142. package/lib/module/components/Search/components/SearchCard.js +3 -3
  143. package/lib/module/components/Search/components/SearchCard.js.map +1 -1
  144. package/lib/module/components/Search/index.js +2 -2
  145. package/lib/module/components/Search/index.js.map +1 -1
  146. package/lib/module/components/Settings/AppSettings.js +4 -4
  147. package/lib/module/components/Settings/AppSettings.js.map +1 -1
  148. package/lib/module/components/Settings/index.js +1 -1
  149. package/lib/module/components/Settings/index.js.map +1 -1
  150. package/lib/module/components/Subscription/SubOne.js +4 -4
  151. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  152. package/lib/module/components/Subscription/index.js +1 -1
  153. package/lib/module/components/Subscription/index.js.map +1 -1
  154. package/lib/module/components/TabBar/One.js +2 -2
  155. package/lib/module/components/TabBar/One.js.map +1 -1
  156. package/lib/module/components/TabBar/Three.js +1 -1
  157. package/lib/module/components/TabBar/Three.js.map +1 -1
  158. package/lib/module/components/TabBar/Two.js +2 -2
  159. package/lib/module/components/TabBar/Two.js.map +1 -1
  160. package/lib/module/components/TabBar/index.js +3 -3
  161. package/lib/module/components/TabBar/index.js.map +1 -1
  162. package/lib/module/components/Text/Text.js +1 -1
  163. package/lib/module/components/Text/Text.js.map +1 -1
  164. package/lib/module/components/Text/index.js +1 -1
  165. package/lib/module/components/Text/index.js.map +1 -1
  166. package/lib/module/components/User/DeviceSessions/DeviceSessions.js +3 -3
  167. package/lib/module/components/User/DeviceSessions/DeviceSessions.js.map +1 -1
  168. package/lib/module/components/User/WatchHistory/WatchHistory.js +4 -4
  169. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  170. package/lib/module/components/User/WatchLater/WatchLater.js +5 -5
  171. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  172. package/lib/module/components/User/components/UserAvatar.js +1 -1
  173. package/lib/module/components/User/components/UserAvatar.js.map +1 -1
  174. package/lib/module/components/User/components/UserSection.js +3 -3
  175. package/lib/module/components/User/components/UserSection.js.map +1 -1
  176. package/lib/module/components/User/index.js +3 -3
  177. package/lib/module/components/User/index.js.map +1 -1
  178. package/lib/module/components/View/View.js.map +1 -1
  179. package/lib/module/components/View/index.js +1 -1
  180. package/lib/module/components/View/index.js.map +1 -1
  181. package/lib/module/components/index.js +19 -18
  182. package/lib/module/components/index.js.map +1 -1
  183. package/lib/module/components/layout/SafeAreaWrapper.js +1 -1
  184. package/lib/module/components/layout/SafeAreaWrapper.js.map +1 -1
  185. package/lib/module/components/layout/index.js +1 -1
  186. package/lib/module/components/layout/index.js.map +1 -1
  187. package/lib/module/constants/dummySections.js.map +1 -1
  188. package/lib/module/hooks/useDebounce.js.map +1 -1
  189. package/lib/module/hooks/useInitSplashCacheSync.js +7 -7
  190. package/lib/module/hooks/useInitSplashCacheSync.js.map +1 -1
  191. package/lib/module/hooks/useKeyboard.js.map +1 -1
  192. package/lib/module/hooks/usePaginatedSection.js.map +1 -1
  193. package/lib/module/index.js +3 -3
  194. package/lib/module/index.js.map +1 -1
  195. package/lib/module/package.json +1 -0
  196. package/lib/module/store/RecentSearchesStore.js.map +1 -1
  197. package/lib/module/store/splashStore.js.map +1 -1
  198. package/lib/module/theme/ThemeProvider.js +11 -8
  199. package/lib/module/theme/ThemeProvider.js.map +1 -1
  200. package/lib/module/theme/hook/useTheme.js +2 -2
  201. package/lib/module/theme/hook/useTheme.js.map +1 -1
  202. package/lib/module/theme/index.js +3 -2
  203. package/lib/module/theme/index.js.map +1 -1
  204. package/lib/module/theme/themes.js +0 -13
  205. package/lib/module/theme/themes.js.map +1 -1
  206. package/lib/typescript/package.json +1 -0
  207. package/lib/typescript/src/components/Account/Account.d.ts +0 -1
  208. package/lib/typescript/src/components/Account/Account.d.ts.map +1 -1
  209. package/lib/typescript/src/components/Alert/UAAlert.d.ts +16 -0
  210. package/lib/typescript/src/components/Alert/UAAlert.d.ts.map +1 -0
  211. package/lib/typescript/src/components/Alert/index.d.ts +2 -0
  212. package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
  213. package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +1 -1
  214. package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +1 -1
  215. package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +1 -1
  216. package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +1 -1
  217. package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +1 -1
  218. package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +1 -1
  219. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts +0 -4
  220. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -1
  221. package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -1
  222. package/lib/typescript/src/components/Auth/index.d.ts +1 -1
  223. package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
  224. package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
  225. package/lib/typescript/src/components/BlogView/BlogView.d.ts +0 -4
  226. package/lib/typescript/src/components/BlogView/BlogView.d.ts.map +1 -1
  227. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  228. package/lib/typescript/src/components/Button/MenuBtn.d.ts.map +1 -1
  229. package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
  230. package/lib/typescript/src/components/Button/TextButton.d.ts.map +1 -1
  231. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts +1 -1
  232. package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
  233. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  234. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  235. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  236. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  237. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  238. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  239. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  240. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  241. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  242. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  243. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  244. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +0 -8
  245. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  246. package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
  247. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts +1 -2
  248. package/lib/typescript/src/components/Content/Card/components/NoContentFallback.d.ts.map +1 -1
  249. package/lib/typescript/src/components/Content/Card/components/ShowAllButton.d.ts.map +1 -1
  250. package/lib/typescript/src/components/Content/Card/components/ThumbnailCard.d.ts.map +1 -1
  251. package/lib/typescript/src/components/Content/Card/index.d.ts +2 -2
  252. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  253. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  254. package/lib/typescript/src/components/ContentView/ContentView.d.ts +1 -2
  255. package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +1 -1
  256. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  257. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -2
  258. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  259. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -6
  260. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  261. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -2
  262. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  263. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  264. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  265. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts +1 -2
  266. package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +1 -1
  267. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts +1 -2
  268. package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +1 -1
  269. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  270. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  271. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts +1 -2
  272. package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +1 -1
  273. package/lib/typescript/src/components/Headers/AppHeader.d.ts.map +1 -1
  274. package/lib/typescript/src/components/Headers/One.d.ts.map +1 -1
  275. package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
  276. package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -1
  277. package/lib/typescript/src/components/Input/InputOne.d.ts.map +1 -1
  278. package/lib/typescript/src/components/Input/InputTwo.d.ts.map +1 -1
  279. package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Keyboard/HideKeyboard.d.ts.map +1 -1
  281. package/lib/typescript/src/components/Loader/Loader.d.ts +0 -4
  282. package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
  283. package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
  284. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  285. package/lib/typescript/src/components/Search/components/RecentSearchesSection.d.ts.map +1 -1
  286. package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
  287. package/lib/typescript/src/components/Settings/AppSettings.d.ts.map +1 -1
  288. package/lib/typescript/src/components/Subscription/SubOne.d.ts +1 -1
  289. package/lib/typescript/src/components/Subscription/SubOne.d.ts.map +1 -1
  290. package/lib/typescript/src/components/Subscription/index.d.ts +2 -2
  291. package/lib/typescript/src/components/Subscription/index.d.ts.map +1 -1
  292. package/lib/typescript/src/components/TabBar/One.d.ts +2 -2
  293. package/lib/typescript/src/components/TabBar/One.d.ts.map +1 -1
  294. package/lib/typescript/src/components/TabBar/Three.d.ts.map +1 -1
  295. package/lib/typescript/src/components/TabBar/Two.d.ts +1 -1
  296. package/lib/typescript/src/components/TabBar/Two.d.ts.map +1 -1
  297. package/lib/typescript/src/components/TabBar/index.d.ts +2 -2
  298. package/lib/typescript/src/components/Text/Text.d.ts.map +1 -1
  299. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts +1 -1
  300. package/lib/typescript/src/components/User/DeviceSessions/DeviceSessions.d.ts.map +1 -1
  301. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  302. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  303. package/lib/typescript/src/components/User/components/UserAvatar.d.ts.map +1 -1
  304. package/lib/typescript/src/components/User/components/UserSection.d.ts.map +1 -1
  305. package/lib/typescript/src/components/View/View.d.ts.map +1 -1
  306. package/lib/typescript/src/components/index.d.ts +1 -0
  307. package/lib/typescript/src/components/index.d.ts.map +1 -1
  308. package/lib/typescript/src/components/layout/SafeAreaWrapper.d.ts.map +1 -1
  309. package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
  310. package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -1
  311. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts +1 -1
  312. package/lib/typescript/src/hooks/useInitSplashCacheSync.d.ts.map +1 -1
  313. package/lib/typescript/src/hooks/useKeyboard.d.ts.map +1 -1
  314. package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
  315. package/lib/typescript/src/index.d.ts.map +1 -1
  316. package/lib/typescript/src/store/RecentSearchesStore.d.ts +5 -3
  317. package/lib/typescript/src/store/RecentSearchesStore.d.ts.map +1 -1
  318. package/lib/typescript/src/store/splashStore.d.ts +5 -3
  319. package/lib/typescript/src/store/splashStore.d.ts.map +1 -1
  320. package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
  321. package/lib/typescript/src/theme/hook/useTheme.d.ts.map +1 -1
  322. package/lib/typescript/src/theme/index.d.ts +5 -0
  323. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  324. package/lib/typescript/src/theme/themes.d.ts +11 -4
  325. package/lib/typescript/src/theme/themes.d.ts.map +1 -1
  326. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  327. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts +1 -1
  328. package/lib/typescript/src/types/hook/usePaginatedSetion.d.ts.map +1 -1
  329. package/package.json +167 -70
  330. package/src/Styles/globalStyles.ts +18 -18
  331. package/src/assets/animations/135037-payment-processing-error.json +1347 -1
  332. package/src/assets/animations/7227-vui-animation.json +3377 -1
  333. package/src/assets/animations/succesfull-payment.json +2379 -1
  334. package/src/assets/animations/voice-icon.json +542 -1
  335. package/src/components/Account/Account.tsx +139 -61
  336. package/src/components/Alert/UAAlert.tsx +168 -0
  337. package/src/components/Alert/index.ts +1 -0
  338. package/src/components/Auth/ForgotPassword/ForgotPassword.tsx +53 -23
  339. package/src/components/Auth/Login/LoginWithEmail.tsx +62 -32
  340. package/src/components/Auth/Login/LoginWithPhone.tsx +55 -24
  341. package/src/components/Auth/OTP/OTP.tsx +77 -32
  342. package/src/components/Auth/SignUp/SignUp.tsx +67 -32
  343. package/src/components/Auth/SplashScreen/SplashScreen.tsx +44 -16
  344. package/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.tsx +21 -12
  345. package/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.tsx +5 -5
  346. package/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.tsx +15 -5
  347. package/src/components/Auth/index.ts +1 -1
  348. package/src/components/BackgroundLayout/BackgroundLayout.tsx +45 -17
  349. package/src/components/BlogView/BlogView.tsx +51 -31
  350. package/src/components/Button/BackBtn.tsx +31 -9
  351. package/src/components/Button/MenuBtn.tsx +61 -22
  352. package/src/components/Button/PrimaryBtn.tsx +30 -10
  353. package/src/components/Button/TextButton.tsx +30 -15
  354. package/src/components/Button/index.ts +1 -1
  355. package/src/components/Content/Card/Category/Category.tsx +73 -32
  356. package/src/components/Content/Card/NowWatching/NowWatching.tsx +102 -44
  357. package/src/components/Content/Card/Sliders/Styles/One.tsx +89 -38
  358. package/src/components/Content/Card/Sliders/Styles/Two.tsx +47 -21
  359. package/src/components/Content/Card/Sliders/index.ts +2 -2
  360. package/src/components/Content/Card/Styles/Five.tsx +65 -22
  361. package/src/components/Content/Card/Styles/Four.tsx +73 -23
  362. package/src/components/Content/Card/Styles/One.tsx +68 -21
  363. package/src/components/Content/Card/Styles/RotateInOut.tsx +59 -23
  364. package/src/components/Content/Card/Styles/Six.tsx +57 -19
  365. package/src/components/Content/Card/Styles/Three.tsx +59 -23
  366. package/src/components/Content/Card/Styles/TopTen.tsx +59 -26
  367. package/src/components/Content/Card/Styles/Two.tsx +39 -18
  368. package/src/components/Content/Card/components/CardPoster.tsx +34 -32
  369. package/src/components/Content/Card/components/NavigateToMore.tsx +17 -7
  370. package/src/components/Content/Card/components/NoContentFallback.tsx +36 -19
  371. package/src/components/Content/Card/components/ShowAllButton.tsx +12 -8
  372. package/src/components/Content/Card/components/ThumbnailCard.tsx +26 -17
  373. package/src/components/Content/Card/index.ts +2 -2
  374. package/src/components/Content/Content.tsx +41 -17
  375. package/src/components/Content/Sections.tsx +14 -8
  376. package/src/components/ContentView/ContentView.tsx +34 -27
  377. package/src/components/ContentView/MoreContentList.tsx +40 -18
  378. package/src/components/ContentView/components/AboutSection.tsx +30 -12
  379. package/src/components/ContentView/components/CastCard.tsx +65 -24
  380. package/src/components/ContentView/components/EpisodeCard.tsx +109 -44
  381. package/src/components/ContentView/components/GenreTags.tsx +35 -11
  382. package/src/components/ContentView/components/HeroBanner.tsx +52 -21
  383. package/src/components/ContentView/components/PlayButton.tsx +13 -5
  384. package/src/components/ContentView/components/Title.tsx +30 -10
  385. package/src/components/ContentView/components/TrailerButton.tsx +16 -7
  386. package/src/components/Headers/AppHeader.tsx +40 -14
  387. package/src/components/Headers/One.tsx +18 -9
  388. package/src/components/Headers/Three.tsx +22 -7
  389. package/src/components/Headers/Two.tsx +24 -13
  390. package/src/components/Headers/index.ts +1 -1
  391. package/src/components/Input/Input.ts +1 -1
  392. package/src/components/Input/InputOne.tsx +69 -23
  393. package/src/components/Input/InputTwo.tsx +41 -18
  394. package/src/components/Input/PhoneNumberInput.tsx +94 -48
  395. package/src/components/Keyboard/HideKeyboard.tsx +16 -10
  396. package/src/components/Loader/Loader.tsx +3 -8
  397. package/src/components/Logo/Logo.tsx +17 -9
  398. package/src/components/Search/One.tsx +46 -17
  399. package/src/components/Search/components/RecentSearchesSection.tsx +48 -21
  400. package/src/components/Search/components/SearchCard.tsx +34 -16
  401. package/src/components/Search/index.ts +1 -1
  402. package/src/components/Settings/AppSettings.tsx +80 -29
  403. package/src/components/Subscription/SubOne.tsx +84 -39
  404. package/src/components/Subscription/index.ts +1 -1
  405. package/src/components/TabBar/One.tsx +22 -18
  406. package/src/components/TabBar/Three.tsx +55 -19
  407. package/src/components/TabBar/Two.tsx +16 -12
  408. package/src/components/TabBar/index.ts +1 -1
  409. package/src/components/Text/Text.tsx +7 -3
  410. package/src/components/User/DeviceSessions/DeviceSessions.tsx +93 -38
  411. package/src/components/User/WatchHistory/WatchHistory.tsx +37 -12
  412. package/src/components/User/WatchLater/WatchLater.tsx +94 -31
  413. package/src/components/User/components/UserAvatar.tsx +8 -4
  414. package/src/components/User/components/UserSection.tsx +34 -19
  415. package/src/components/View/View.tsx +11 -2
  416. package/src/components/index.ts +1 -0
  417. package/src/components/layout/SafeAreaWrapper.tsx +10 -4
  418. package/src/constants/dummySections.ts +9 -7
  419. package/src/hooks/useDebounce.ts +4 -1
  420. package/src/hooks/useInitSplashCacheSync.ts +46 -18
  421. package/src/hooks/useKeyboard.ts +5 -3
  422. package/src/hooks/usePaginatedSection.ts +11 -7
  423. package/src/store/RecentSearchesStore.ts +12 -7
  424. package/src/store/splashStore.ts +16 -16
  425. package/src/theme/ThemeProvider.tsx +50 -20
  426. package/src/theme/hook/useTheme.ts +7 -3
  427. package/src/theme/index.ts +6 -0
  428. package/src/theme/themes.ts +42 -31
  429. package/src/types/content/content-view.types.ts +4 -1
  430. package/src/types/hook/usePaginatedSetion.ts +1 -1
  431. package/lib/module/components/Icons/AlertIcon.js +0 -33
  432. package/lib/module/components/Icons/AlertIcon.js.map +0 -1
  433. package/lib/module/components/Icons/DeviceIcon.js +0 -25
  434. package/lib/module/components/Icons/DeviceIcon.js.map +0 -1
  435. package/lib/module/components/Icons/DoneIcon/DoneIcon.js +0 -23
  436. package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +0 -1
  437. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +0 -65
  438. package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +0 -1
  439. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +0 -56
  440. package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +0 -1
  441. package/lib/module/components/Icons/NewIndex.js +0 -36
  442. package/lib/module/components/Icons/NewIndex.js.map +0 -1
  443. package/lib/module/components/Icons/ResendOTP.js +0 -21
  444. package/lib/module/components/Icons/ResendOTP.js.map +0 -1
  445. package/lib/typescript/src/components/Icons/AlertIcon.d.ts +0 -7
  446. package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +0 -1
  447. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +0 -7
  448. package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +0 -1
  449. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +0 -6
  450. package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +0 -1
  451. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +0 -3
  452. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +0 -1
  453. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +0 -3
  454. package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +0 -1
  455. package/lib/typescript/src/components/Icons/NewIndex.d.ts +0 -19
  456. package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +0 -1
  457. package/lib/typescript/src/components/Icons/ResendOTP.d.ts +0 -7
  458. package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +0 -1
  459. package/src/components/Icons/AlertIcon.tsx +0 -18
  460. package/src/components/Icons/DeviceIcon.tsx +0 -18
  461. package/src/components/Icons/DoneIcon/DoneIcon.tsx +0 -17
  462. package/src/components/Icons/ForgotPasswordMessageIcon.tsx +0 -34
  463. package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +0 -32
  464. package/src/components/Icons/NewIndex.ts +0 -35
  465. package/src/components/Icons/ResendOTP.tsx +0 -13
  466. /package/src/{index.ts → index.tsx} +0 -0
@@ -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 SkeletonPlaceholder from 'react-native-skeleton-placeholder';
9
15
  import { scale } from 'react-native-size-matters';
10
16
  import { Text } from '../../Text';
@@ -26,7 +32,14 @@ type Props = {
26
32
  };
27
33
  };
28
34
 
29
- export const Title = ({ title, subtitle, rating, theme, isLoading = false, style }: Props): React.ReactElement => {
35
+ export const Title = ({
36
+ title,
37
+ subtitle,
38
+ rating,
39
+ theme,
40
+ isLoading = false,
41
+ style,
42
+ }: Props): React.ReactElement => {
30
43
  if (isLoading) {
31
44
  return (
32
45
  <View style={StyleSheet.flatten([styles.container, style?.container])}>
@@ -37,7 +50,11 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
37
50
  <SkeletonPlaceholder.Item>
38
51
  {/* Title & Subtitle */}
39
52
  <SkeletonPlaceholder.Item flexDirection="row" alignItems="center">
40
- <SkeletonPlaceholder.Item width={scale(160)} height={scale(22)} borderRadius={scale(4)} />
53
+ <SkeletonPlaceholder.Item
54
+ width={scale(160)}
55
+ height={scale(22)}
56
+ borderRadius={scale(4)}
57
+ />
41
58
  <SkeletonPlaceholder.Item
42
59
  width={scale(60)}
43
60
  height={scale(22)}
@@ -84,7 +101,10 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
84
101
  </View>
85
102
 
86
103
  {!!rating && (
87
- <Text color={theme.colors.textSecondary} style={StyleSheet.flatten([styles.rating, style?.rating])}>
104
+ <Text
105
+ color={theme.colors.textSecondary}
106
+ style={StyleSheet.flatten([styles.rating, style?.rating])}
107
+ >
88
108
  ⭐ {rating}
89
109
  </Text>
90
110
  )}
@@ -95,27 +115,27 @@ export const Title = ({ title, subtitle, rating, theme, isLoading = false, style
95
115
  const styles = StyleSheet.create({
96
116
  container: {
97
117
  paddingHorizontal: scale(12),
98
- marginTop: scale(5)
118
+ marginTop: scale(5),
99
119
  },
100
120
  row: {
101
121
  flexDirection: 'row',
102
122
  alignItems: 'center',
103
- maxWidth: '100%'
123
+ maxWidth: '100%',
104
124
  },
105
125
  title: {
106
126
  fontSize: RFValue(17),
107
127
  fontWeight: 'bold',
108
128
  flexShrink: 1,
109
- maxWidth: '60%'
129
+ maxWidth: '60%',
110
130
  },
111
131
  subTitle: {
112
132
  fontSize: RFValue(17),
113
133
  marginLeft: scale(4),
114
134
  flexShrink: 1,
115
- maxWidth: '40%'
135
+ maxWidth: '40%',
116
136
  },
117
137
  rating: {
118
138
  fontSize: RFValue(13),
119
- marginTop: scale(4)
120
- }
139
+ marginTop: scale(4),
140
+ },
121
141
  });
@@ -4,8 +4,13 @@
4
4
  */
5
5
 
6
6
  import { PlayCircle } from 'lucide-react-native';
7
- import React from 'react';
8
- import { TouchableOpacity, StyleSheet, type GestureResponderEvent, type TextStyle, type ViewStyle } from 'react-native';
7
+ import {
8
+ TouchableOpacity,
9
+ StyleSheet,
10
+ type GestureResponderEvent,
11
+ type TextStyle,
12
+ type ViewStyle,
13
+ } from 'react-native';
9
14
  import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
10
15
  import { Text } from '../../Text';
11
16
 
@@ -26,10 +31,14 @@ export const TrailerButton = ({
26
31
  iconColor = '#000',
27
32
  backgroundColor = '#FFD700',
28
33
  textStyle,
29
- style
34
+ style,
30
35
  }: Props) => {
31
36
  return (
32
- <TouchableOpacity onPress={onPress} activeOpacity={0.8} style={[styles.button, { backgroundColor }, style]}>
37
+ <TouchableOpacity
38
+ onPress={onPress}
39
+ activeOpacity={0.8}
40
+ style={[styles.button, { backgroundColor }, style]}
41
+ >
33
42
  <PlayCircle size={iconSize} color={iconColor} />
34
43
  <Text style={[styles.text, textStyle]}> {label}</Text>
35
44
  </TouchableOpacity>
@@ -42,12 +51,12 @@ const styles = StyleSheet.create({
42
51
  paddingVertical: verticalScale(3),
43
52
  paddingHorizontal: scale(6),
44
53
  borderRadius: moderateScale(20),
45
- alignItems: 'center'
54
+ alignItems: 'center',
46
55
  },
47
56
  text: {
48
57
  color: '#000',
49
58
  fontWeight: '600',
50
59
  fontSize: scale(12),
51
- marginLeft: scale(2)
52
- }
60
+ marginLeft: scale(2),
61
+ },
53
62
  });
@@ -3,7 +3,14 @@
3
3
  * @lastModified Sat 21 Jun 2025 at 02:52 PM
4
4
  */
5
5
  import React from 'react';
6
- import { View, StyleSheet, TouchableOpacity, type StyleProp, type ViewStyle, type TextStyle } from 'react-native';
6
+ import {
7
+ View,
8
+ StyleSheet,
9
+ TouchableOpacity,
10
+ type StyleProp,
11
+ type ViewStyle,
12
+ type TextStyle,
13
+ } from 'react-native';
7
14
  import { ArrowLeft } from 'lucide-react-native';
8
15
  import { useTheme } from '../../theme/hook/useTheme';
9
16
  import { scale, verticalScale } from 'react-native-size-matters';
@@ -30,28 +37,43 @@ const AppHeader: React.FC<AppHeaderProps> = ({
30
37
  style,
31
38
  titleStyle,
32
39
  titleAlign = 'center',
33
- theme
40
+ theme,
34
41
  }) => {
35
42
  const { theme: appliedTheme } = useTheme(theme);
36
43
 
37
44
  return (
38
- <View style={[styles.header, { backgroundColor: appliedTheme.colors.background }, style]}>
45
+ <View
46
+ style={[
47
+ styles.header,
48
+ { backgroundColor: appliedTheme.colors.background },
49
+ style,
50
+ ]}
51
+ >
39
52
  {/* Left icon */}
40
53
  {onBackPress && (
41
- <TouchableOpacity onPress={onBackPress} activeOpacity={0.7} style={styles.iconButton}>
54
+ <TouchableOpacity
55
+ onPress={onBackPress}
56
+ activeOpacity={0.7}
57
+ style={styles.iconButton}
58
+ >
42
59
  <ArrowLeft size={scale(22)} color={appliedTheme.colors.textPrimary} />
43
60
  </TouchableOpacity>
44
61
  )}
45
62
 
46
63
  {/* Title */}
47
- <View style={[styles.titleWrapper, titleAlign === 'center' ? styles.centered : styles.leftAligned]}>
64
+ <View
65
+ style={[
66
+ styles.titleWrapper,
67
+ titleAlign === 'center' ? styles.centered : styles.leftAligned,
68
+ ]}
69
+ >
48
70
  <Text
49
71
  numberOfLines={1}
50
72
  style={[
51
73
  { color: appliedTheme.colors.onBackground },
52
74
  !onBackPress && { ...titleStyle },
53
75
  titleStyle,
54
- styles.title
76
+ styles.title,
55
77
  ]}
56
78
  >
57
79
  {title}
@@ -60,7 +82,11 @@ const AppHeader: React.FC<AppHeaderProps> = ({
60
82
 
61
83
  {/* Right icon */}
62
84
  {rightIcon ? (
63
- <TouchableOpacity onPress={onRightPress} activeOpacity={0.7} style={styles.iconButton}>
85
+ <TouchableOpacity
86
+ onPress={onRightPress}
87
+ activeOpacity={0.7}
88
+ style={styles.iconButton}
89
+ >
64
90
  {rightIcon}
65
91
  </TouchableOpacity>
66
92
  ) : (
@@ -78,7 +104,7 @@ const styles = StyleSheet.create({
78
104
  paddingHorizontal: scale(12),
79
105
  paddingBottom: verticalScale(4),
80
106
  flexDirection: 'row',
81
- alignItems: 'center'
107
+ alignItems: 'center',
82
108
  },
83
109
  iconButton: {
84
110
  width: scale(42),
@@ -87,22 +113,22 @@ const styles = StyleSheet.create({
87
113
  justifyContent: 'center',
88
114
  alignItems: 'center',
89
115
  overflow: 'hidden',
90
- backgroundColor: 'transparent'
116
+ backgroundColor: 'transparent',
91
117
  },
92
118
  titleWrapper: {
93
119
  flex: 1,
94
- justifyContent: 'center'
120
+ justifyContent: 'center',
95
121
  },
96
122
  centered: {
97
- alignItems: 'center'
123
+ alignItems: 'center',
98
124
  },
99
125
  leftAligned: {
100
126
  alignItems: 'flex-start',
101
- paddingLeft: scale(2)
127
+ paddingLeft: scale(2),
102
128
  },
103
129
  title: {
104
130
  fontSize: RFValue(14),
105
131
  textTransform: 'capitalize',
106
- fontWeight: '500'
107
- }
132
+ fontWeight: '500',
133
+ },
108
134
  });
@@ -9,7 +9,10 @@ import { scale, verticalScale } from 'react-native-size-matters';
9
9
  import { Logo } from '../Logo/Logo';
10
10
  import type { AppTheme } from '../../theme/themes';
11
11
  import { useTheme } from '../../theme/hook/useTheme';
12
- import { Menu as DefaultMenuIcon, Search as DefaultSearchIcon } from 'lucide-react-native';
12
+ import {
13
+ Menu as DefaultMenuIcon,
14
+ Search as DefaultSearchIcon,
15
+ } from 'lucide-react-native';
13
16
 
14
17
  export interface HeaderOneProps {
15
18
  theme?: AppTheme;
@@ -29,7 +32,7 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
29
32
  onMenuPress,
30
33
 
31
34
  onSearchPress,
32
- isLoading
35
+ isLoading,
33
36
  }) => {
34
37
  const { theme: appliedTheme } = useTheme(theme);
35
38
 
@@ -53,7 +56,10 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
53
56
  <Pressable
54
57
  onPress={onMenuPress}
55
58
  android_ripple={{ color: rippleColor, borderless: true }}
56
- style={({ pressed }) => [styles.iconPressable, pressed && { backgroundColor: pressedBackgroundColor }]}
59
+ style={({ pressed }) => [
60
+ styles.iconPressable,
61
+ pressed && { backgroundColor: pressedBackgroundColor },
62
+ ]}
57
63
  >
58
64
  {MemoMenuIcon}
59
65
  </Pressable>
@@ -72,7 +78,10 @@ const HeaderOne: React.FC<HeaderOneProps> = ({
72
78
  <Pressable
73
79
  onPress={onSearchPress}
74
80
  android_ripple={{ color: rippleColor, borderless: true }}
75
- style={({ pressed }) => [styles.iconPressable, pressed && { backgroundColor: pressedBackgroundColor }]}
81
+ style={({ pressed }) => [
82
+ styles.iconPressable,
83
+ pressed && { backgroundColor: pressedBackgroundColor },
84
+ ]}
76
85
  >
77
86
  {MemoSearchIcon}
78
87
  </Pressable>
@@ -88,19 +97,19 @@ const styles = StyleSheet.create({
88
97
  justifyContent: 'space-between',
89
98
  alignItems: 'center',
90
99
  paddingHorizontal: scale(8),
91
- height: verticalScale(40)
100
+ height: verticalScale(40),
92
101
  },
93
102
  leftContainer: {
94
103
  flexDirection: 'row',
95
104
  alignItems: 'center',
96
- gap: scale(10)
105
+ gap: scale(10),
97
106
  },
98
107
  logo: {
99
108
  alignItems: 'center',
100
- marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
109
+ marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
101
110
  },
102
111
  iconPressable: {
103
112
  padding: scale(6),
104
- borderRadius: scale(20)
105
- }
113
+ borderRadius: scale(20),
114
+ },
106
115
  });
@@ -16,13 +16,28 @@ export interface HeaderThreeProps {
16
16
  isLoading?: boolean;
17
17
  }
18
18
 
19
- const HeaderThree: React.FC<HeaderThreeProps> = ({ logoUri, category, theme, isLoading }) => {
19
+ const HeaderThree: React.FC<HeaderThreeProps> = ({
20
+ logoUri,
21
+ category,
22
+ theme,
23
+ isLoading,
24
+ }) => {
20
25
  const { theme: appliedTheme } = useTheme(theme);
21
26
  return (
22
- <View style={[styles.headerContainer, { backgroundColor: appliedTheme.colors.background }]}>
27
+ <View
28
+ style={[
29
+ styles.headerContainer,
30
+ { backgroundColor: appliedTheme.colors.background },
31
+ ]}
32
+ >
23
33
  <View style={styles.leftContainer}>
24
34
  <View style={styles.logo}>
25
- <Logo width={scale(55)} height={scale(50)} logoUri={logoUri} isLoading={isLoading} />
35
+ <Logo
36
+ width={scale(55)}
37
+ height={scale(50)}
38
+ logoUri={logoUri}
39
+ isLoading={isLoading}
40
+ />
26
41
  </View>
27
42
  {category || null}
28
43
  </View>
@@ -38,16 +53,16 @@ const styles = StyleSheet.create({
38
53
  justifyContent: 'space-between',
39
54
  alignItems: 'center',
40
55
  paddingHorizontal: scale(8),
41
- height: verticalScale(40)
56
+ height: verticalScale(40),
42
57
  },
43
58
 
44
59
  leftContainer: {
45
60
  flexDirection: 'row',
46
61
  alignItems: 'center',
47
- gap: scale(10)
62
+ gap: scale(10),
48
63
  },
49
64
  logo: {
50
65
  alignItems: 'center',
51
- marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
52
- }
66
+ marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
67
+ },
53
68
  });
@@ -6,10 +6,9 @@ import React from 'react';
6
6
  import { Platform, Pressable, StyleSheet, View } from 'react-native';
7
7
  import { scale, verticalScale } from 'react-native-size-matters';
8
8
  import { Logo } from '../Logo/Logo';
9
- import DefaultIcons from '../Icons/NewIndex';
10
9
  import type { AppTheme } from '../../theme/themes';
11
10
  import { useTheme } from '../../theme/hook/useTheme';
12
-
11
+ import { Menu } from 'lucide-react-native';
13
12
  export interface HeaderTwoProps {
14
13
  theme?: AppTheme;
15
14
  logoUri: string;
@@ -18,11 +17,15 @@ export interface HeaderTwoProps {
18
17
  isLoading?: boolean;
19
18
  }
20
19
 
21
- const HeaderTwo: React.FC<HeaderTwoProps> = ({ theme, logoUri, MenuIcon, onMenuPress, isLoading }) => {
20
+ const HeaderTwo: React.FC<HeaderTwoProps> = ({
21
+ theme,
22
+ logoUri,
23
+ MenuIcon = Menu,
24
+ onMenuPress,
25
+ isLoading,
26
+ }) => {
22
27
  const { theme: appliedTheme } = useTheme(theme);
23
28
 
24
- const Menu = MenuIcon || DefaultIcons.MenuBar;
25
-
26
29
  const rippleColor = appliedTheme.colors.surfaceVariant + '33';
27
30
  const pressedBackgroundColor = appliedTheme.colors.backdrop;
28
31
 
@@ -31,12 +34,20 @@ const HeaderTwo: React.FC<HeaderTwoProps> = ({ theme, logoUri, MenuIcon, onMenuP
31
34
  <Pressable
32
35
  onPress={onMenuPress}
33
36
  android_ripple={{ color: rippleColor, borderless: true }}
34
- style={({ pressed }) => [styles.iconPressable, pressed && { backgroundColor: pressedBackgroundColor }]}
37
+ style={({ pressed }) => [
38
+ styles.iconPressable,
39
+ pressed && { backgroundColor: pressedBackgroundColor },
40
+ ]}
35
41
  >
36
- <Menu width={scale(28)} height={scale(28)} />
42
+ <MenuIcon width={scale(28)} height={scale(28)} />
37
43
  </Pressable>
38
44
  <View style={styles.logo}>
39
- <Logo width={scale(100)} height={scale(80)} logoUri={logoUri} isLoading={isLoading} />
45
+ <Logo
46
+ width={scale(100)}
47
+ height={scale(80)}
48
+ logoUri={logoUri}
49
+ isLoading={isLoading}
50
+ />
40
51
  </View>
41
52
  <View style={styles.placeholder} />
42
53
  </View>
@@ -51,18 +62,18 @@ const styles = StyleSheet.create({
51
62
  justifyContent: 'space-between',
52
63
  alignItems: 'center',
53
64
  paddingHorizontal: scale(8),
54
- height: verticalScale(40)
65
+ height: verticalScale(40),
55
66
  },
56
67
  logo: {
57
68
  flex: 1,
58
69
  alignItems: 'center',
59
- marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5)
70
+ marginVertical: Platform.OS === 'ios' ? verticalScale(0) : verticalScale(5),
60
71
  },
61
72
  iconPressable: {
62
73
  padding: scale(6),
63
- borderRadius: scale(20)
74
+ borderRadius: scale(20),
64
75
  },
65
76
  placeholder: {
66
- width: scale(28 + 12)
67
- }
77
+ width: scale(28 + 12),
78
+ },
68
79
  });
@@ -10,7 +10,7 @@ import HeaderTwo from './Two';
10
10
  const Header = {
11
11
  One: HeaderOne,
12
12
  Two: HeaderTwo,
13
- Three: HeaderThree
13
+ Three: HeaderThree,
14
14
  };
15
15
 
16
16
  export { Header };
@@ -10,7 +10,7 @@ import PhoneNumberInputOne from './PhoneNumberInput';
10
10
  const Input = {
11
11
  One: InputOne,
12
12
  Two: InputTwo,
13
- Phone: PhoneNumberInputOne
13
+ Phone: PhoneNumberInputOne,
14
14
  };
15
15
 
16
16
  export { Input };
@@ -11,7 +11,7 @@ import {
11
11
  TouchableOpacity,
12
12
  type ViewStyle,
13
13
  type TextInputProps,
14
- type TextStyle
14
+ type TextStyle,
15
15
  } from 'react-native';
16
16
  import { Eye, EyeOff } from 'lucide-react-native';
17
17
  import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
@@ -55,19 +55,28 @@ const InputOne: React.FC<InputOneProps> = ({
55
55
  outline,
56
56
  outlineDisabled,
57
57
  error: inputErrorColor,
58
- background
58
+ background,
59
59
  } = appliedTheme?.colors || {};
60
60
 
61
61
  return (
62
62
  <View style={[styles.container, containerStyle]}>
63
63
  {label && (
64
- <View style={[styles.labelContainer, { backgroundColor: background, borderRadius: scale(5) }]}>
64
+ <View
65
+ style={[
66
+ styles.labelContainer,
67
+ { backgroundColor: background, borderRadius: scale(5) },
68
+ ]}
69
+ >
65
70
  <Text
66
71
  style={[
67
72
  styles.label,
68
73
  {
69
- color: error ? inputErrorColor : disabled ? textDisabled : textPrimary
70
- }
74
+ color: error
75
+ ? inputErrorColor
76
+ : disabled
77
+ ? textDisabled
78
+ : textPrimary,
79
+ },
71
80
  ]}
72
81
  >
73
82
  {label}
@@ -80,44 +89,81 @@ const InputOne: React.FC<InputOneProps> = ({
80
89
  styles.inputWrapper,
81
90
 
82
91
  {
83
- borderColor: disabled ? outlineDisabled : error ? inputErrorColor : outline,
92
+ borderColor: disabled
93
+ ? outlineDisabled
94
+ : error
95
+ ? inputErrorColor
96
+ : outline,
84
97
  backgroundColor: disabled
85
98
  ? appliedTheme.colors.backgroundDisabled
86
99
  : error
87
100
  ? appliedTheme.colors.errorContainer
88
101
  : appliedTheme.colors.background,
89
102
  flexDirection: 'row',
90
- alignItems: 'center'
91
- }
103
+ alignItems: 'center',
104
+ },
92
105
  ]}
93
106
  >
94
107
  <TextInput
95
108
  {...props}
96
109
  editable={!disabled}
97
- placeholderTextColor={placeholderTextColor || (disabled ? textDisabled : textSecondary)}
110
+ placeholderTextColor={
111
+ placeholderTextColor || (disabled ? textDisabled : textSecondary)
112
+ }
98
113
  secureTextEntry={inputSecure}
99
- textContentType={isPasswordField ? 'oneTimeCode' : props.textContentType || 'none'}
114
+ textContentType={
115
+ isPasswordField ? 'oneTimeCode' : props.textContentType || 'none'
116
+ }
100
117
  style={[
101
118
  styles.input,
102
119
  {
103
- color: disabled ? textDisabled : error ? inputErrorColor : textPrimary
120
+ color: disabled
121
+ ? textDisabled
122
+ : error
123
+ ? inputErrorColor
124
+ : textPrimary,
104
125
  },
105
- inputStyle
126
+ inputStyle,
106
127
  ]}
107
128
  />
108
129
 
109
130
  {isPasswordField && (
110
- <TouchableOpacity onPress={() => setShowPassword((prev) => !prev)} disabled={disabled}>
131
+ <TouchableOpacity
132
+ onPress={() => setShowPassword((prev) => !prev)}
133
+ disabled={disabled}
134
+ >
111
135
  {showPassword ? (
112
- <EyeOff size={scale(20)} color={disabled ? textDisabled : error ? inputErrorColor : textPrimary} />
136
+ <EyeOff
137
+ size={scale(20)}
138
+ color={
139
+ disabled
140
+ ? textDisabled
141
+ : error
142
+ ? inputErrorColor
143
+ : textPrimary
144
+ }
145
+ />
113
146
  ) : (
114
- <Eye size={scale(20)} color={disabled ? textDisabled : error ? inputErrorColor : textPrimary} />
147
+ <Eye
148
+ size={scale(20)}
149
+ color={
150
+ disabled
151
+ ? textDisabled
152
+ : error
153
+ ? inputErrorColor
154
+ : textPrimary
155
+ }
156
+ />
115
157
  )}
116
158
  </TouchableOpacity>
117
159
  )}
118
160
  </View>
119
161
 
120
- {error && errorMessage && <Text style={[styles.errorText, { color: inputErrorColor }]}>{errorMessage}</Text>}
162
+ {error && errorMessage && (
163
+ <Text style={[styles.errorText, { color: inputErrorColor }]}>
164
+ {errorMessage}
165
+ </Text>
166
+ )}
121
167
  </View>
122
168
  );
123
169
  };
@@ -127,36 +173,36 @@ export default InputOne;
127
173
  const styles = StyleSheet.create({
128
174
  container: {
129
175
  width: '100%',
130
- marginBottom: verticalScale(10)
176
+ marginBottom: verticalScale(10),
131
177
  },
132
178
  labelContainer: {
133
179
  position: 'absolute',
134
180
  top: -9,
135
181
  left: scale(12),
136
182
  zIndex: 1,
137
- paddingHorizontal: scale(4)
183
+ paddingHorizontal: scale(4),
138
184
  },
139
185
  label: {
140
186
  fontSize: RFValue(10),
141
187
  fontWeight: '500',
142
- backgroundColor: 'transparent'
188
+ backgroundColor: 'transparent',
143
189
  },
144
190
  inputWrapper: {
145
191
  width: '100%',
146
192
  borderWidth: scale(1),
147
193
  borderRadius: moderateScale(10),
148
194
  paddingHorizontal: scale(10),
149
- paddingVertical: verticalScale(6)
195
+ paddingVertical: verticalScale(6),
150
196
  },
151
197
  input: {
152
198
  flex: 1,
153
199
  width: '100%',
154
200
  fontSize: RFValue(14),
155
- minHeight: verticalScale(30)
201
+ minHeight: verticalScale(30),
156
202
  },
157
203
  errorText: {
158
204
  fontSize: RFValue(10),
159
205
  marginTop: verticalScale(4),
160
- marginLeft: scale(8)
161
- }
206
+ marginLeft: scale(8),
207
+ },
162
208
  });