@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.
- package/lib/module/components/BottomSheet/BottomSheet.js +152 -0
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -0
- package/lib/module/components/Button/BackBtn.js +28 -2
- package/lib/module/components/Button/BackBtn.js.map +1 -1
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +1 -2
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +1 -2
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +1 -2
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +134 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +154 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js +173 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MiddleControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +77 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js +132 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/TopControls.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js +165 -0
- package/lib/module/components/Reels/ReelsSeries/Model/DetailsModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +106 -0
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js +124 -0
- package/lib/module/components/Reels/ReelsSeries/Model/UnlockModal.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +102 -64
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +241 -232
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js +153 -0
- package/lib/module/components/Reels/ReelsSeries/components/AnimatedThreeLines.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/{Model → components}/Episodes.js +46 -36
- package/lib/module/components/Reels/ReelsSeries/components/Episodes.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js +35 -0
- package/lib/module/components/Reels/ReelsSeries/components/GradientOverlay.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js +37 -0
- package/lib/module/components/Reels/ReelsSeries/components/Like.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js +55 -0
- package/lib/module/components/Reels/ReelsSeries/components/RotatingLoader.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js +268 -0
- package/lib/module/components/Reels/ReelsSeries/components/Synopsis.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +143 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js +56 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js +5 -0
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/index.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js +30 -0
- package/lib/module/components/Reels/utils/Controls/gestureUtils.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/index.js +7 -0
- package/lib/module/components/Reels/utils/Controls/index.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js +28 -0
- package/lib/module/components/Reels/utils/Controls/overlayUtils.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js +27 -0
- package/lib/module/components/Reels/utils/Controls/videoControlsConstants.js.map +1 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js +5 -0
- package/lib/module/components/Reels/utils/Controls/videoRef.js.map +1 -0
- package/lib/module/components/Reels/utils/index.js +4 -0
- package/lib/module/components/Reels/utils/index.js.map +1 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js +24 -0
- package/lib/module/components/Reels/utils/timeoutUtils.js.map +1 -0
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +1 -2
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +7 -4
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/themes.js +3 -3
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +18 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/BackBtn.d.ts +3 -1
- package/lib/typescript/src/components/Button/BackBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +2 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +24 -24
- package/lib/typescript/src/components/Content/Content.d.ts +2 -1
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +60 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/TopControls.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts +16 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/DetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts +14 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/UnlockModal.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +8 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +8 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/{Model → components}/Episodes.d.ts +3 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Episodes.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts +7 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/GradientOverlay.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts +7 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Like.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/RotatingLoader.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts +12 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/Synopsis.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts +3 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +13 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts +10 -0
- package/lib/typescript/src/components/Reels/utils/Controls/gestureUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts +5 -0
- package/lib/typescript/src/components/Reels/utils/Controls/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts +12 -0
- package/lib/typescript/src/components/Reels/utils/Controls/overlayUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts +24 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoControlsConstants.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts +3 -0
- package/lib/typescript/src/components/Reels/utils/Controls/videoRef.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts +2 -0
- package/lib/typescript/src/components/Reels/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts +14 -0
- package/lib/typescript/src/components/Reels/utils/timeoutUtils.d.ts.map +1 -0
- package/lib/typescript/src/components/Search/One.d.ts +2 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +1 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +1 -1
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/BottomSheet/BottomSheet.tsx +195 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/BackBtn.tsx +33 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +2 -5
- package/src/components/Content/Card/Sliders/Styles/One.tsx +2 -1
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +2 -1
- package/src/components/Content/Card/Styles/Five.tsx +1 -1
- package/src/components/Content/Card/Styles/Four.tsx +1 -1
- package/src/components/Content/Card/Styles/One.tsx +1 -1
- package/src/components/Content/Card/Styles/RotateInOut.tsx +1 -1
- package/src/components/Content/Card/Styles/Six.tsx +1 -1
- package/src/components/Content/Card/Styles/Three.tsx +1 -1
- package/src/components/Content/Card/Styles/TopTen.tsx +1 -1
- package/src/components/Content/Card/Styles/Two.tsx +1 -1
- package/src/components/Content/Card/components/CardPoster.tsx +1 -1
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
- package/src/components/Content/Content.tsx +2 -1
- package/src/components/Content/Sections.tsx +2 -1
- package/src/components/ContentView/MoreContentList.tsx +1 -1
- package/src/components/ContentView/components/AboutSection.tsx +1 -1
- package/src/components/ContentView/components/CastCard.tsx +2 -1
- package/src/components/ContentView/components/EpisodeCard.tsx +5 -1
- package/src/components/ContentView/components/GenreTags.tsx +1 -1
- package/src/components/ContentView/components/MiniInfo.tsx +1 -1
- package/src/components/ContentView/components/Title.tsx +1 -1
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +156 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +234 -0
- package/src/components/Reels/ReelsSeries/MediaControls/MiddleControls.tsx +196 -0
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +92 -0
- package/src/components/Reels/ReelsSeries/MediaControls/TopControls.tsx +163 -0
- package/src/components/Reels/ReelsSeries/Model/DetailsModal.tsx +210 -0
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +143 -0
- package/src/components/Reels/ReelsSeries/Model/UnlockModal.tsx +154 -0
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +142 -74
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +349 -250
- package/src/components/Reels/ReelsSeries/components/AnimatedThreeLines.tsx +184 -0
- package/src/components/Reels/ReelsSeries/{Model → components}/Episodes.tsx +54 -33
- package/src/components/Reels/ReelsSeries/components/GradientOverlay.tsx +41 -0
- package/src/components/Reels/ReelsSeries/components/Like.tsx +40 -0
- package/src/components/Reels/ReelsSeries/components/RotatingLoader.tsx +79 -0
- package/src/components/Reels/ReelsSeries/components/Synopsis.tsx +332 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +190 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/SpeedControl.tsx +80 -0
- package/src/components/Reels/ReelsSeries/components/VideoControls/index.ts +2 -0
- package/src/components/Reels/ReelsSeries/types.ts +13 -2
- package/src/components/Reels/utils/Controls/gestureUtils.ts +42 -0
- package/src/components/Reels/utils/Controls/index.ts +4 -0
- package/src/components/Reels/utils/Controls/overlayUtils.ts +35 -0
- package/src/components/Reels/utils/Controls/videoControlsConstants.ts +25 -0
- package/src/components/Reels/utils/Controls/videoRef.ts +4 -0
- package/src/components/Reels/utils/index.ts +1 -0
- package/src/components/Reels/utils/timeoutUtils.ts +29 -0
- package/src/components/Search/One.tsx +2 -6
- package/src/components/Subscription/SubOne.tsx +1 -2
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -1
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -1
- package/src/components/User/WatchLater/WatchLater.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/theme/ThemeProvider.tsx +8 -2
- package/src/theme/themes.ts +3 -3
- package/src/types/content/content-view.types.ts +1 -1
- package/src/types/index.ts +1 -1
- package/src/types/sections/index.ts +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Episodes.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js +0 -212
- package/lib/module/components/Reels/ReelsSeries/Model/Synopsis.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js +0 -182
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesDetailsModal.js.map +0 -1
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js +0 -203
- package/lib/module/components/Reels/ReelsSeries/ReelSeriesOverlay.js.map +0 -1
- package/lib/module/types/content/index.js +0 -2
- package/lib/module/types/content/index.js.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Episodes.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts +0 -9
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/Synopsis.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts +0 -13
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.d.ts.map +0 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts +0 -18
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelSeriesOverlay.d.ts.map +0 -1
- package/lib/typescript/src/types/content/index.d.ts +0 -174
- package/lib/typescript/src/types/content/index.d.ts.map +0 -1
- package/src/components/Reels/ReelsSeries/Model/Synopsis.tsx +0 -242
- package/src/components/Reels/ReelsSeries/ReelSeriesDetailsModal.tsx +0 -209
- package/src/components/Reels/ReelsSeries/ReelSeriesOverlay.tsx +0 -185
- 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,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAYtB,OAAO,KAAK,
|
|
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,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAYtB,OAAO,KAAK,EAAU,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,SAAS,CAAC,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AC,CAAC,MAAM,CAAC,CAAC;CAC1C"}
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"content-view.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/content-view.types.ts"],"names":[],"mapp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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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,mBAAmB,
|
|
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 '
|
|
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,
|
|
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,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zezosoft/zezo-ott-react-native-ui-kit",
|
|
3
|
-
"version": "1.
|
|
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
|
+
});
|
|
@@ -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 {
|
|
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 {
|
|
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 '
|
|
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 {
|
|
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 {
|
|
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;
|