@zezosoft/zezo-ott-react-native-ui-kit 1.0.9 → 1.1.1

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 (304) hide show
  1. package/lib/module/components/BottomSheet/BottomSheet.js +152 -0
  2. package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -0
  3. package/lib/module/components/BottomSheet/index.js +4 -0
  4. package/lib/module/components/BottomSheet/index.js.map +1 -0
  5. package/lib/module/components/Button/BackBtn.js +28 -2
  6. package/lib/module/components/Button/BackBtn.js.map +1 -1
  7. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  8. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  9. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  10. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  11. package/lib/module/components/Content/Card/Styles/Four.js +1 -2
  12. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  13. package/lib/module/components/Content/Card/Styles/One.js +1 -2
  14. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  15. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  16. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  17. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  18. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  19. package/lib/module/components/Content/Card/Styles/Two.js +1 -2
  20. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  21. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  22. package/lib/module/components/Content/Content.js.map +1 -1
  23. package/lib/module/components/Content/Sections.js.map +1 -1
  24. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  25. package/lib/module/components/ContentView/components/CastCard.js +2 -1
  26. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  27. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  28. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  29. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  30. package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
  31. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  32. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +134 -0
  33. package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -0
  34. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +154 -0
  35. package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -0
  36. package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +173 -0
  37. package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -0
  38. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +77 -0
  39. package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -0
  40. package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +132 -0
  41. package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -0
  42. package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +165 -0
  43. package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -0
  44. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +106 -0
  45. package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -0
  46. package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +124 -0
  47. package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -0
  48. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +102 -64
  49. package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
  50. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +241 -232
  51. package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
  52. package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +153 -0
  53. package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -0
  54. package/lib/module/components/Reels/ReelsSeries/{Model → components}/Episodes.js +46 -36
  55. package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -0
  56. package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +35 -0
  57. package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -0
  58. package/lib/module/components/Reels/ReelsSeries/components/Like.js +37 -0
  59. package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -0
  60. package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +55 -0
  61. package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -0
  62. package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +268 -0
  63. package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -0
  64. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +143 -0
  65. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -0
  66. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +56 -0
  67. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -0
  68. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
  69. package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -0
  70. package/lib/module/components/Reels/utils/Controls/gestureUtils.js +30 -0
  71. package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -0
  72. package/lib/module/components/Reels/utils/Controls/index.js +7 -0
  73. package/lib/module/components/Reels/utils/Controls/index.js.map +1 -0
  74. package/lib/module/components/Reels/utils/Controls/overlayUtils.js +28 -0
  75. package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -0
  76. package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +27 -0
  77. package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -0
  78. package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
  79. package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -0
  80. package/lib/module/components/Reels/utils/index.js +4 -0
  81. package/lib/module/components/Reels/utils/index.js.map +1 -0
  82. package/lib/module/components/Reels/utils/timeoutUtils.js +24 -0
  83. package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -0
  84. package/lib/module/components/Search/One.js.map +1 -1
  85. package/lib/module/components/Subscription/SubOne.js +1 -2
  86. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  87. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
  88. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  89. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  90. package/lib/module/components/index.js +1 -0
  91. package/lib/module/components/index.js.map +1 -1
  92. package/lib/module/theme/ThemeProvider.js +7 -4
  93. package/lib/module/theme/ThemeProvider.js.map +1 -1
  94. package/lib/module/theme/themes.js +3 -3
  95. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +18 -0
  96. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  97. package/lib/typescript/src/components/BottomSheet/index.d.ts +3 -0
  98. package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -0
  99. package/lib/typescript/src/components/Button/BackBtn.d.ts +3 -1
  100. package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
  101. package/lib/typescript/src/components/Button/index.d.ts +2 -0
  102. package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
  103. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -1
  104. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  105. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -1
  106. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  107. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -1
  108. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  109. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
  110. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -1
  111. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  112. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -1
  113. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  114. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -1
  115. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  116. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -1
  117. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  118. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -1
  119. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  120. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -1
  121. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  122. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -1
  123. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  124. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -1
  125. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  126. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -1
  127. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  128. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +1 -1
  129. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
  130. package/lib/typescript/src/components/Content/Card/index.d.ts +24 -24
  131. package/lib/typescript/src/components/Content/Content.d.ts +2 -1
  132. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  133. package/lib/typescript/src/components/Content/Sections.d.ts +2 -1
  134. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  135. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
  136. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  137. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -1
  138. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  139. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -1
  140. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  141. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -1
  142. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  143. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  144. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  145. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
  146. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
  147. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  148. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  149. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +14 -0
  150. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -0
  151. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +60 -0
  152. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -0
  153. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +14 -0
  154. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -0
  155. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +14 -0
  156. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -0
  157. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +12 -0
  158. package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -0
  159. package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +16 -0
  160. package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -0
  161. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +15 -0
  162. package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -0
  163. package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +14 -0
  164. package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -0
  165. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +8 -2
  166. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
  167. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +8 -2
  168. package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
  169. package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +13 -0
  170. package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -0
  171. package/lib/typescript/src/components/Reels/ReelsSeries/{Model → components}/Episodes.d.ts +3 -2
  172. package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -0
  173. package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +7 -0
  174. package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -0
  175. package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +7 -0
  176. package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -0
  177. package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +12 -0
  178. package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -0
  179. package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +12 -0
  180. package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -0
  181. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
  182. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -0
  183. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +10 -0
  184. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -0
  185. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +3 -0
  186. package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -0
  187. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +13 -0
  188. package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
  189. package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +10 -0
  190. package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -0
  191. package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +5 -0
  192. package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -0
  193. package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +12 -0
  194. package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -0
  195. package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +24 -0
  196. package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -0
  197. package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +3 -0
  198. package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -0
  199. package/lib/typescript/src/components/Reels/utils/index.d.ts +2 -0
  200. package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -0
  201. package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +14 -0
  202. package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -0
  203. package/lib/typescript/src/components/Search/One.d.ts +2 -1
  204. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  205. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
  206. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
  207. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +1 -1
  208. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  209. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +1 -1
  210. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  211. package/lib/typescript/src/components/index.d.ts +1 -0
  212. package/lib/typescript/src/components/index.d.ts.map +1 -1
  213. package/lib/typescript/src/types/content/content-view.types.d.ts +1 -1
  214. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  215. package/lib/typescript/src/types/index.d.ts +1 -1
  216. package/lib/typescript/src/types/index.d.ts.map +1 -1
  217. package/lib/typescript/src/types/sections/index.d.ts +1 -1
  218. package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
  219. package/package.json +2 -1
  220. package/src/components/BottomSheet/BottomSheet.tsx +195 -0
  221. package/src/components/BottomSheet/index.ts +2 -0
  222. package/src/components/Button/BackBtn.tsx +33 -0
  223. package/src/components/Content/Card/NowWatching/NowWatching.tsx +2 -5
  224. package/src/components/Content/Card/Sliders/Styles/One.tsx +2 -1
  225. package/src/components/Content/Card/Sliders/Styles/Two.tsx +2 -1
  226. package/src/components/Content/Card/Styles/Five.tsx +1 -1
  227. package/src/components/Content/Card/Styles/Four.tsx +1 -1
  228. package/src/components/Content/Card/Styles/One.tsx +1 -1
  229. package/src/components/Content/Card/Styles/RotateInOut.tsx +1 -1
  230. package/src/components/Content/Card/Styles/Six.tsx +1 -1
  231. package/src/components/Content/Card/Styles/Three.tsx +1 -1
  232. package/src/components/Content/Card/Styles/TopTen.tsx +1 -1
  233. package/src/components/Content/Card/Styles/Two.tsx +1 -1
  234. package/src/components/Content/Card/components/CardPoster.tsx +1 -1
  235. package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
  236. package/src/components/Content/Content.tsx +2 -1
  237. package/src/components/Content/Sections.tsx +2 -1
  238. package/src/components/ContentView/MoreContentList.tsx +1 -1
  239. package/src/components/ContentView/components/AboutSection.tsx +1 -1
  240. package/src/components/ContentView/components/CastCard.tsx +2 -1
  241. package/src/components/ContentView/components/EpisodeCard.tsx +5 -1
  242. package/src/components/ContentView/components/GenreTags.tsx +1 -1
  243. package/src/components/ContentView/components/MiniInfo.tsx +1 -1
  244. package/src/components/ContentView/components/Title.tsx +1 -1
  245. package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +156 -0
  246. package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +234 -0
  247. package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +196 -0
  248. package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +92 -0
  249. package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +163 -0
  250. package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +210 -0
  251. package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +143 -0
  252. package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +154 -0
  253. package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +142 -74
  254. package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +349 -250
  255. package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +184 -0
  256. package/src/components/Reels/ReelsSeries/{Model → components}/Episodes.tsx +54 -33
  257. package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +41 -0
  258. package/src/components/Reels/ReelsSeries/components/Like.tsx +40 -0
  259. package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +79 -0
  260. package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +332 -0
  261. package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +190 -0
  262. package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +80 -0
  263. package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +2 -0
  264. package/src/components/Reels/ReelsSeries/types.ts +13 -2
  265. package/src/components/Reels/utils/Controls/gestureUtils.ts +42 -0
  266. package/src/components/Reels/utils/Controls/index.ts +4 -0
  267. package/src/components/Reels/utils/Controls/overlayUtils.ts +35 -0
  268. package/src/components/Reels/utils/Controls/videoControlsConstants.ts +25 -0
  269. package/src/components/Reels/utils/Controls/videoRef.ts +4 -0
  270. package/src/components/Reels/utils/index.ts +1 -0
  271. package/src/components/Reels/utils/timeoutUtils.ts +29 -0
  272. package/src/components/Search/One.tsx +2 -6
  273. package/src/components/Subscription/SubOne.tsx +1 -2
  274. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -1
  275. package/src/components/User/WatchHistory/WatchHistory.tsx +1 -1
  276. package/src/components/User/WatchLater/WatchLater.tsx +1 -1
  277. package/src/components/index.ts +1 -0
  278. package/src/theme/ThemeProvider.tsx +8 -2
  279. package/src/theme/themes.ts +3 -3
  280. package/src/types/content/content-view.types.ts +1 -1
  281. package/src/types/index.ts +1 -1
  282. package/src/types/sections/index.ts +1 -1
  283. package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +0 -1
  284. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +0 -212
  285. package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +0 -1
  286. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +0 -182
  287. package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +0 -1
  288. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +0 -203
  289. package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +0 -1
  290. package/lib/module/types/content/index.js +0 -2
  291. package/lib/module/types/content/index.js.map +0 -1
  292. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +0 -1
  293. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +0 -9
  294. package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +0 -1
  295. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +0 -13
  296. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +0 -1
  297. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +0 -18
  298. package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +0 -1
  299. package/lib/typescript/src/types/content/index.d.ts +0 -174
  300. package/lib/typescript/src/types/content/index.d.ts.map +0 -1
  301. package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +0 -242
  302. package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +0 -209
  303. package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +0 -185
  304. package/src/types/content/index.ts +0 -194
@@ -4,8 +4,8 @@
4
4
  **/
5
5
  import React from 'react';
6
6
  import { type TextStyle, type StyleProp, type ViewStyle } from 'react-native';
7
- import type { IContentData } from '../../../types';
8
7
  import type { ThemeOverride } from '../../../theme/themes';
8
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
9
9
  type IWatchLaterItem = {
10
10
  _id: string;
11
11
  user_id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"WatchLater.d.ts","sourceRoot":"","sources":["../../../../../../src/components/User/WatchLater/WatchLater.tsx"],"names":[],"mappings":"AAAA;;;IAGI;AAEJ,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,K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AC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IACjC,UAAU,CAAC,EAAE,CACX,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,MAAM,KACV,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAgEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuKhD,CAAC;AA0DF,yBAAiB,UAAU,CAAC;IAC1B,KAAY,KAAK,GAAG,eAAe,CAAC;IACpC,KAAY,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,KAAY,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;CAC1C"}
@@ -25,4 +25,5 @@ export * from './Subscription';
25
25
  export * from './Alert';
26
26
  export * from './Reels';
27
27
  export * from './BlurView';
28
+ export * from './BottomSheet';
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
@@ -5,12 +5,12 @@
5
5
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
6
6
  import type { ImageStyle as FastImageStyle } from 'react-native-fast-image';
7
7
  import type { ThemeOverride } from '../../theme/themes';
8
- import type { IContentData } from '../../types';
9
8
  import type { IGetSectionData, ISectionItem } from '../../types/sections';
10
9
  import type { MoreFetchData } from '../../types/hook/usePaginatedSetion';
11
10
  import type { IHistoryItem } from '../../components/User/WatchHistory/WatchHistory';
12
11
  import type React from 'react';
13
12
  import type { MiniInfo } from '../../components/ContentView/components/MiniInfo';
13
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
14
14
  export type ViewStyleProp = StyleProp<ViewStyle>;
15
15
  export type TextStyleProp = StyleProp<TextStyle>;
16
16
  export type FastImageStyleProp = StyleProp<FastImageStyle>;
@@ -1 +1 @@
1
- {"version":3,"file":"content-view.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/content-view.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KA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;CAC/D,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE;QACL,QAAQ,CAAC,EAAE;YACT,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;IACF,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,IAAI,CACzB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EACrC,SAAS,GAAG,OAAO,CACpB,CAAC;IACF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,4BAA4B,CAAC,EAAE,qBAAqB,CAAC;IACrD,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,eAAe,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CAC7C,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
- export type * from './content';
5
+ export type * from './content/content-view.types';
6
6
  export type * from './sections';
7
7
  export type * from './hook';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,mBAAmB,WAAW,CAAC;AAC/B,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,mBAAmB,8BAA8B,CAAC;AAClD,mBAAmB,YAAY,CAAC;AAChC,mBAAmB,QAAQ,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
- import type { IContentData } from '../content';
5
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
6
6
  export type ISectionType = 'normal' | 'card_style_2' | 'card_style_3' | 'card_style_4' | 'card_style_5' | 'card_style_6' | 'card_rotate_in_out' | 'slider' | 'slider_style_2' | 'card_series_featured_style_1' | 'continue_watching' | 'new_releases' | 'top_10' | 'category';
7
7
  /**
8
8
  * Generic pagination metadata
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/sections/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,oBAAoB,GACpB,QAAQ,GACR,gBAAgB,GAChB,8BAA8B,GAC9B,mBAAmB,GACnB,cAAc,GACd,QAAQ,GACR,UAAU,CAAC;AAEf;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE;QACP,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE;YACJ,UAAU,EAAE,kBAAkB,CAAC;SAChC,CAAC;KACH,CAAC;IACF,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,IAAI,EAAE;QACJ,UAAU,EAAE,kBAAkB,CAAC;KAChC,CAAC;IACF,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/sections/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,oB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eAAe,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zezosoft/zezo-ott-react-native-ui-kit",
3
- "version": "1.0.9",
3
+ "version": "1.1.1",
4
4
  "description": "A professional React Native UI component library built for OTT applications.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "lib/typescript/src/index.d.ts",
@@ -78,6 +78,7 @@
78
78
  "@types/lodash.debounce": "^4.0.9",
79
79
  "@types/react": "^19.0.12",
80
80
  "@types/react-native-snap-carousel": "^3.8.12",
81
+ "@zezosoft/zezo-ott-api-client": "^0.1.12",
81
82
  "commitlint": "^19.6.1",
82
83
  "del-cli": "^5.1.0",
83
84
  "eslint": "^9.22.0",
@@ -0,0 +1,195 @@
1
+ import React, { useCallback, useMemo } from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import {
4
+ TouchableOpacity,
5
+ StyleSheet,
6
+ View,
7
+ ScrollView,
8
+ Dimensions,
9
+ } from 'react-native';
10
+ import type { ViewStyle } from 'react-native';
11
+ import Modal from 'react-native-modal';
12
+ import { X } from 'lucide-react-native';
13
+ import { moderateScale, verticalScale } from 'react-native-size-matters';
14
+ import { RFValue } from 'react-native-responsive-fontsize';
15
+ import Animated from 'react-native-reanimated';
16
+ import type { ITheme } from '../../theme';
17
+ import { Text } from '../Text';
18
+
19
+ const { height: SCREEN_HEIGHT } = Dimensions.get('window');
20
+
21
+ export interface BottomSheetProps {
22
+ theme: ITheme;
23
+ children: ReactNode;
24
+ title?: string;
25
+ height?: string | number;
26
+ showCloseButton?: boolean;
27
+ visible?: boolean;
28
+ onClose?: () => void;
29
+ handleIndicatorStyle?: ViewStyle;
30
+ scrollable?: boolean;
31
+ }
32
+
33
+ const BottomSheet: React.FC<BottomSheetProps> = ({
34
+ theme,
35
+ children,
36
+ title,
37
+ height,
38
+ showCloseButton = true,
39
+ visible = false,
40
+ onClose,
41
+ handleIndicatorStyle,
42
+ scrollable = true,
43
+ }) => {
44
+ const calculatedHeight = useMemo(() => {
45
+ if (!height) return SCREEN_HEIGHT * 0.75;
46
+
47
+ if (typeof height === 'number') return height;
48
+
49
+ if (typeof height === 'string' && height.includes('%')) {
50
+ const num = parseFloat(height);
51
+ if (!isNaN(num)) {
52
+ return (num / 100) * SCREEN_HEIGHT;
53
+ }
54
+ }
55
+
56
+ return SCREEN_HEIGHT * 0.75;
57
+ }, [height]);
58
+
59
+ const handleClosePress = useCallback(() => {
60
+ onClose?.();
61
+ }, [onClose]);
62
+
63
+ const renderHeader = useMemo(() => {
64
+ if (title) {
65
+ return (
66
+ <Text style={[styles.title, { color: theme.colors.textPrimary }]}>
67
+ {title}
68
+ </Text>
69
+ );
70
+ }
71
+ return null;
72
+ }, [title, theme.colors.textPrimary]);
73
+
74
+ const renderCloseButton = useMemo(() => {
75
+ if (!showCloseButton) return null;
76
+ return (
77
+ <TouchableOpacity
78
+ onPress={handleClosePress}
79
+ style={[
80
+ styles.closeButtonWrapper,
81
+ { backgroundColor: theme.colors.button },
82
+ ]}
83
+ activeOpacity={0.8}
84
+ >
85
+ <X size={moderateScale(16)} color={theme.colors.buttonText} />
86
+ </TouchableOpacity>
87
+ );
88
+ }, [showCloseButton, handleClosePress, theme.colors]);
89
+
90
+ return (
91
+ <Modal
92
+ isVisible={visible}
93
+ onBackdropPress={handleClosePress}
94
+ onSwipeComplete={handleClosePress}
95
+ style={styles.modal}
96
+ backdropOpacity={0.45}
97
+ // swipeDirection="down"
98
+ animationIn="slideInUp"
99
+ animationOut="slideOutDown"
100
+ animationInTiming={260}
101
+ animationOutTiming={220}
102
+ useNativeDriver
103
+ useNativeDriverForBackdrop
104
+ propagateSwipe
105
+ avoidKeyboard
106
+ statusBarTranslucent={false}
107
+ hardwareAccelerated
108
+ >
109
+ <Animated.View
110
+ style={[
111
+ styles.bottomSheetContainer,
112
+ {
113
+ backgroundColor: theme.colors.background,
114
+ maxHeight: calculatedHeight,
115
+ },
116
+ ]}
117
+ >
118
+ {renderCloseButton}
119
+ <View
120
+ style={[
121
+ styles.handleIndicator,
122
+ { backgroundColor: theme.colors.button },
123
+ handleIndicatorStyle,
124
+ ]}
125
+ />
126
+
127
+ {scrollable ? (
128
+ <ScrollView
129
+ showsVerticalScrollIndicator={false}
130
+ bounces={false}
131
+ nestedScrollEnabled
132
+ keyboardShouldPersistTaps="handled"
133
+ contentContainerStyle={styles.scrollContent}
134
+ >
135
+ {renderHeader}
136
+ {children}
137
+ </ScrollView>
138
+ ) : (
139
+ <View style={styles.viewContent}>
140
+ {renderHeader}
141
+ {children}
142
+ </View>
143
+ )}
144
+ </Animated.View>
145
+ </Modal>
146
+ );
147
+ };
148
+
149
+ export default BottomSheet;
150
+
151
+ const styles = StyleSheet.create({
152
+ modal: {
153
+ justifyContent: 'flex-end',
154
+ margin: 0,
155
+ },
156
+ bottomSheetContainer: {
157
+ borderTopLeftRadius: moderateScale(22),
158
+ borderTopRightRadius: moderateScale(22),
159
+ overflow: 'hidden',
160
+ position: 'relative',
161
+ flex: 1,
162
+ },
163
+ handleIndicator: {
164
+ width: moderateScale(45),
165
+ height: verticalScale(4),
166
+ borderRadius: moderateScale(3),
167
+ alignSelf: 'center',
168
+ marginVertical: verticalScale(10),
169
+ },
170
+ scrollContent: {
171
+ flex: 1,
172
+ paddingBottom: verticalScale(30),
173
+ paddingHorizontal: moderateScale(12),
174
+ },
175
+ viewContent: {
176
+ paddingBottom: verticalScale(10),
177
+ paddingHorizontal: moderateScale(12),
178
+ flex: 1,
179
+ },
180
+ closeButtonWrapper: {
181
+ position: 'absolute',
182
+ top: verticalScale(10),
183
+ right: moderateScale(14),
184
+ borderRadius: moderateScale(18),
185
+ padding: moderateScale(6),
186
+ zIndex: 1000,
187
+ elevation: 10,
188
+ },
189
+ title: {
190
+ fontSize: RFValue(16),
191
+ fontWeight: '700',
192
+ textAlign: 'center',
193
+ marginBottom: verticalScale(15),
194
+ },
195
+ });
@@ -0,0 +1,2 @@
1
+ export { default as BottomSheet } from './BottomSheet';
2
+ export type { BottomSheetProps } from './BottomSheet';
@@ -9,6 +9,7 @@ import {
9
9
  Alert,
10
10
  Platform,
11
11
  type ViewStyle,
12
+ type TextStyle,
12
13
  type StyleProp,
13
14
  } from 'react-native';
14
15
  import { ArrowLeft } from 'lucide-react-native';
@@ -17,6 +18,7 @@ import { useInternalTheme } from '../../theme/hook/useInternalTheme';
17
18
  import { scale, verticalScale } from 'react-native-size-matters';
18
19
  import { BlurView } from '@react-native-community/blur';
19
20
  import type { ThemeOverride } from '../../theme/themes';
21
+ import { Text } from '../Text';
20
22
 
21
23
  type BackBtnProps = {
22
24
  size?: number;
@@ -25,6 +27,8 @@ type BackBtnProps = {
25
27
  style?: StyleProp<ViewStyle>;
26
28
  theme?: ThemeOverride;
27
29
  enableBlur?: boolean;
30
+ label?: string;
31
+ textStyle?: StyleProp<TextStyle>;
28
32
  };
29
33
 
30
34
  const BackBtn: React.FC<BackBtnProps> = ({
@@ -34,6 +38,8 @@ const BackBtn: React.FC<BackBtnProps> = ({
34
38
  style,
35
39
  theme,
36
40
  enableBlur = false,
41
+ label,
42
+ textStyle,
37
43
  }) => {
38
44
  const insets = useSafeAreaInsets();
39
45
  const { theme: appliedTheme } = useInternalTheme(theme);
@@ -61,12 +67,14 @@ const BackBtn: React.FC<BackBtnProps> = ({
61
67
  const hasBackground = !!flattenedStyle.backgroundColor;
62
68
 
63
69
  const shouldRenderBlur = enableBlur && hasBackground;
70
+ const hasLabel = !!label;
64
71
 
65
72
  return (
66
73
  <TouchableOpacity
67
74
  activeOpacity={0.8}
68
75
  style={[
69
76
  styles.container,
77
+ hasLabel && styles.containerWithText,
70
78
  !hasTopInStyle && { top: calculatedTop },
71
79
  style,
72
80
  ]}
@@ -86,6 +94,18 @@ const BackBtn: React.FC<BackBtnProps> = ({
86
94
  )}
87
95
 
88
96
  <ArrowLeft size={size} color={color || appliedTheme.colors.textPrimary} />
97
+ {hasLabel && (
98
+ <Text
99
+ style={[
100
+ styles.text,
101
+ { color: color || appliedTheme.colors.textPrimary },
102
+ textStyle,
103
+ ]}
104
+ color={color || appliedTheme.colors.textPrimary}
105
+ >
106
+ {label}
107
+ </Text>
108
+ )}
89
109
  </TouchableOpacity>
90
110
  );
91
111
  };
@@ -102,4 +122,17 @@ const styles = StyleSheet.create({
102
122
  alignItems: 'center',
103
123
  overflow: 'hidden',
104
124
  },
125
+ containerWithText: {
126
+ flexDirection: 'row',
127
+ borderRadius: scale(20),
128
+ paddingHorizontal: scale(12),
129
+ },
130
+ text: {
131
+ fontSize: scale(14),
132
+ fontWeight: '600',
133
+ marginLeft: scale(8),
134
+ textShadowColor: 'rgba(0, 0, 0, 0.75)',
135
+ textShadowOffset: { width: 0, height: 1 },
136
+ textShadowRadius: 3,
137
+ },
105
138
  });
@@ -28,15 +28,12 @@ import Animated, {
28
28
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
29
29
  import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
30
30
  import NavigateToMore from '../components/NavigateToMore';
31
- import type {
32
- IContentData,
33
- IGetSectionData,
34
- MoreFetchData,
35
- } from '../../../../types';
31
+ import type { IGetSectionData, MoreFetchData } from '../../../../types';
36
32
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
37
33
  import { Text } from '../../../Text';
38
34
  import { RFValue } from 'react-native-responsive-fontsize';
39
35
  import RentOrBuyIcon from '../components/RentOrBuyIcon';
36
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
40
37
 
41
38
  export interface IHistoryItem {
42
39
  _id: string;
@@ -18,11 +18,12 @@ import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
18
18
  import { Play } from 'lucide-react-native';
19
19
  import { Text } from '../../../../Text';
20
20
  import Display from '../../../../../utils/Display';
21
- import type { IContentData, ISectionContent } from '../../../../../types';
21
+ import type { ISectionContent } from '../../../../../types';
22
22
  import { useInternalTheme } from '../../../../../theme/hook/useInternalTheme';
23
23
  import { RFValue } from 'react-native-responsive-fontsize';
24
24
  import RentOrBuyIcon from '../../components/RentOrBuyIcon';
25
25
  import type { ThemeOverride } from '../../../../../theme/themes';
26
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
26
27
 
27
28
  // Constants
28
29
  const DEFAULT_SKELETON_COUNT = 3;
@@ -18,10 +18,11 @@ import { Text } from '../../../../Text';
18
18
  import { useInternalTheme } from '../../../../../theme/hook/useInternalTheme';
19
19
  import Display from '../../../../../utils/Display';
20
20
  import { ThumbnailCard } from '../../components/ThumbnailCard';
21
- import type { IContentData, ISectionContent } from '../../../../../types';
21
+ import type { ISectionContent } from '../../../../../types';
22
22
  import { RFValue } from 'react-native-responsive-fontsize';
23
23
  import RentOrBuyIcon from '../../components/RentOrBuyIcon';
24
24
  import type { ThemeOverride } from '../../../../../theme/themes';
25
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
25
26
 
26
27
  const FULL_WIDTH = Display.fullWidth;
27
28
  const FULL_HEIGHT = FULL_WIDTH * (9 / 16);
@@ -26,12 +26,12 @@ import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
26
26
  import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
27
27
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
28
28
  import type {
29
- IContentData,
30
29
  IGetSectionData,
31
30
  ISectionContent,
32
31
  MoreFetchData,
33
32
  } from '../../../../types';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const DEFAULT_ITEM_WIDTH = moderateScale(140);
37
37
  const DEFAULT_BORDER_RADIUS = moderateScale(5);
@@ -24,13 +24,13 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
24
24
  import CardPoster from '../components/CardPoster';
25
25
  import FastImage from 'react-native-fast-image';
26
26
  import type {
27
- IContentData,
28
27
  IGetSectionData,
29
28
  ISectionContent,
30
29
  MoreFetchData,
31
30
  } from '../../../../types';
32
31
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
33
32
  import { RFValue } from 'react-native-responsive-fontsize';
33
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
34
34
 
35
35
  // default values
36
36
  const DEFAULT_ITEM_WIDTH = moderateScale(100);
@@ -23,13 +23,13 @@ import CardPoster from '../components/CardPoster';
23
23
  import NavigateToMore from '../components/NavigateToMore';
24
24
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
25
25
  import type {
26
- IContentData,
27
26
  IGetSectionData,
28
27
  ISectionContent,
29
28
  MoreFetchData,
30
29
  } from '../../../../types';
31
30
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
32
31
  import { RFValue } from 'react-native-responsive-fontsize';
32
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
33
33
 
34
34
  // Constants
35
35
  const DEFAULT_ITEM_WIDTH = moderateScale(105);
@@ -25,13 +25,13 @@ import NavigateToMore from '../components/NavigateToMore';
25
25
 
26
26
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
27
27
  import type {
28
- IContentData,
29
28
  IGetSectionData,
30
29
  ISectionContent,
31
30
  MoreFetchData,
32
31
  } from '../../../../types';
33
32
  import type { ThemeOverride } from '../../../../theme/themes';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const { width, height } = Dimensions.get('window');
37
37
 
@@ -27,13 +27,13 @@ import { Text } from '../../../Text';
27
27
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
28
28
  import type { ThemeOverride } from '../../../../theme/themes';
29
29
  import type {
30
- IContentData,
31
30
  IGetSectionData,
32
31
  ISectionContent,
33
32
  MoreFetchData,
34
33
  } from '../../../../types';
35
34
  import { RFValue } from 'react-native-responsive-fontsize';
36
35
  import RentOrBuyIcon from '../components/RentOrBuyIcon';
36
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
37
37
  const DEFAULT_ITEM_WIDTH = moderateScale(160);
38
38
  const DEFAULT_BORDER_RADIUS = moderateScale(5);
39
39
  const DEFAULT_SKELETON_COUNT = 3;
@@ -25,13 +25,13 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
25
25
  import CardPoster from '../components/CardPoster';
26
26
  import NavigateToMore from '../components/NavigateToMore';
27
27
  import type {
28
- IContentData,
29
28
  IGetSectionData,
30
29
  ISectionContent,
31
30
  MoreFetchData,
32
31
  } from '../../../../types';
33
32
  import type { ThemeOverride } from '../../../../theme/themes';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const { width, height } = Dimensions.get('window');
37
37
 
@@ -21,7 +21,6 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
21
21
  import NavigateToMore from '../components/NavigateToMore';
22
22
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
23
23
  import type {
24
- IContentData,
25
24
  IGetSectionData,
26
25
  ISectionContent,
27
26
  MoreFetchData,
@@ -32,6 +31,7 @@ import LinearGradient from 'react-native-linear-gradient';
32
31
  import { Text } from '../../../Text';
33
32
  import CardPoster from '../components/CardPoster';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const DEFAULT_ITEM_WIDTH = moderateScale(120);
37
37
  const DEFAULT_ITEM_HEIGHT = moderateScale(180);
@@ -22,7 +22,6 @@ import { moderateScale, verticalScale } from 'react-native-size-matters';
22
22
 
23
23
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
24
24
  import type {
25
- IContentData,
26
25
  IGetSectionData,
27
26
  ISectionContent,
28
27
  MoreFetchData,
@@ -32,6 +31,7 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
32
31
  import NavigateToMore from '../components/NavigateToMore';
33
32
  import CardPoster from '../components/CardPoster';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  // Defaults
37
37
  const DEFAULT_WIDTH = moderateScale(172);
@@ -14,8 +14,8 @@ import { scale } from 'react-native-size-matters';
14
14
  import { Text } from '../../../Text';
15
15
  import { ImageOff } from 'lucide-react-native';
16
16
  import type { ITheme } from '../../../../theme/themes';
17
- import type { IContentData } from '../../../../types';
18
17
  import RentOrBuyIcon from './RentOrBuyIcon';
18
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
19
19
 
20
20
  export type CardPosterProps = {
21
21
  content_offering_type?: IContentData['content_offering_type'];
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
3
3
  import Svg, { Path } from 'react-native-svg';
4
4
  import { scale } from 'react-native-size-matters';
5
- import type { IContentData } from '../../../../types';
5
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
6
6
  import type { ITheme } from '../../../../theme/themes';
7
7
 
8
8
  interface RentOrBuyIconProps {
@@ -19,7 +19,7 @@ import Animated, {
19
19
  } from 'react-native-reanimated';
20
20
 
21
21
  import SectionType from './Sections';
22
- import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
22
+ import type { IGetSectionData, MoreFetchData } from '../../types';
23
23
  import { dummySections } from '../../constants/dummySections';
24
24
  import CategoryCard, { type ICategory } from './Card/Category/Category';
25
25
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
@@ -27,6 +27,7 @@ import type { ThemeOverride } from '../../theme/themes';
27
27
  import { NoContentFallback, type NoContentFallbackProps } from '../Fallbacks';
28
28
  import { useInternalTheme } from '../../theme/hook';
29
29
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
30
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
30
31
 
31
32
  export interface ICustomComponentsForContent {
32
33
  type: string;
@@ -5,11 +5,12 @@
5
5
  import React from 'react';
6
6
  import Sliders from './Card/Sliders';
7
7
  import Cards from './Card';
8
- import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
8
+ import type { IGetSectionData, MoreFetchData } from '../../types';
9
9
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
10
10
  import type { ICategory } from './Card/Category/Category';
11
11
  import type { ThemeOverride } from '../../theme/themes';
12
12
  import type { IContentLoading } from './Content';
13
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
13
14
 
14
15
  export interface ICustomComponentsForSections {
15
16
  type: string;