@amityco/react-native-social-uikit 4.0.0-c2327e7.0 → 4.0.0-d2b8337.0
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/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/commonjs/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/commonjs/components/MediaSection/index.js +3 -3
- package/lib/commonjs/components/MediaSection/index.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js +5 -14
- package/lib/commonjs/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/commonjs/components/PostTypeChoiceModal/style.js +2 -1
- package/lib/commonjs/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/commonjs/components/Social/PostList/index.js +3 -1
- package/lib/commonjs/components/Social/PostList/index.js.map +1 -1
- package/lib/commonjs/components/Toast/Toast.js +2 -1
- package/lib/commonjs/components/Toast/Toast.js.map +1 -1
- package/lib/commonjs/index.js +0 -6
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/providers/file-provider.js +38 -19
- package/lib/commonjs/providers/file-provider.js.map +1 -1
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js +16 -16
- package/lib/commonjs/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/commonjs/screens/LivestreamPlayer/index.js +6 -3
- package/lib/commonjs/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/commonjs/svg/svg-xml-list.js +7 -2
- package/lib/commonjs/svg/svg-xml-list.js.map +1 -1
- package/lib/commonjs/util/postTypeChecker.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +9 -11
- package/lib/commonjs/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +2 -3
- package/lib/commonjs/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +25 -28
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/commonjs/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +68 -206
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +3 -71
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +117 -120
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +37 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.js +54 -21
- package/lib/commonjs/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.js.map +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityViewStoryPage/styles.js +24 -2
- package/lib/commonjs/v4/PublicApi/Pages/AmityViewStoryPage/styles.js.map +1 -1
- package/lib/commonjs/v4/assets/icons/toast.js +6 -6
- package/lib/commonjs/v4/assets/icons/toast.js.map +1 -1
- package/lib/commonjs/v4/component/CommunityStories/index.js +9 -4
- package/lib/commonjs/v4/component/CommunityStories/index.js.map +1 -1
- package/lib/commonjs/v4/component/CommunityStories/styles.js +7 -2
- package/lib/commonjs/v4/component/CommunityStories/styles.js.map +1 -1
- package/lib/commonjs/v4/component/LivestreamContent/index.js +12 -12
- package/lib/commonjs/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/LoadingImage/index.js +22 -25
- package/lib/commonjs/v4/component/LoadingImage/index.js.map +1 -1
- package/lib/commonjs/v4/component/LoadingImage/styles.js +19 -2
- package/lib/commonjs/v4/component/LoadingImage/styles.js.map +1 -1
- package/lib/commonjs/v4/component/LoadingVideo/index.js +12 -6
- package/lib/commonjs/v4/component/LoadingVideo/index.js.map +1 -1
- package/lib/commonjs/v4/component/MyStories/StoryCircleItem.js +11 -4
- package/lib/commonjs/v4/component/MyStories/StoryCircleItem.js.map +1 -1
- package/lib/commonjs/v4/component/MyStories/styles.js +5 -0
- package/lib/commonjs/v4/component/MyStories/styles.js.map +1 -1
- package/lib/commonjs/v4/component/PostContent/index.js +4 -4
- package/lib/commonjs/v4/component/PostContent/index.js.map +1 -1
- package/lib/commonjs/v4/component/PostMenu/index.js +2 -2
- package/lib/commonjs/v4/component/PostMenu/index.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/index.js +4 -4
- package/lib/commonjs/v4/component/Toast/index.js.map +1 -1
- package/lib/commonjs/v4/component/Toast/styles.js +2 -2
- package/lib/commonjs/v4/component/Toast/styles.js.map +1 -1
- package/lib/commonjs/v4/enum/livestreamStatus.js +13 -0
- package/lib/commonjs/v4/enum/livestreamStatus.js.map +1 -0
- package/lib/commonjs/v4/hook/index.js +0 -22
- package/lib/commonjs/v4/hook/index.js.map +1 -1
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js +3 -1
- package/lib/commonjs/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/commonjs/v4/index.js +0 -7
- package/lib/commonjs/v4/index.js.map +1 -1
- package/lib/commonjs/v4/stores/slices/toast.js +1 -4
- package/lib/commonjs/v4/stores/slices/toast.js.map +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js +1 -1
- package/lib/module/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.js.map +1 -1
- package/lib/module/components/MediaSection/index.js +3 -3
- package/lib/module/components/MediaSection/index.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js +8 -15
- package/lib/module/components/PostTypeChoiceModal/PostTypeChoiceModal.js.map +1 -1
- package/lib/module/components/PostTypeChoiceModal/style.js +2 -1
- package/lib/module/components/PostTypeChoiceModal/style.js.map +1 -1
- package/lib/module/components/Social/PostList/index.js +3 -1
- package/lib/module/components/Social/PostList/index.js.map +1 -1
- package/lib/module/components/Toast/Toast.js +2 -1
- package/lib/module/components/Toast/Toast.js.map +1 -1
- package/lib/module/index.js +6 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/providers/file-provider.js +38 -19
- package/lib/module/providers/file-provider.js.map +1 -1
- package/lib/module/screens/CreateLivestream/CreateLivestream.js +17 -17
- package/lib/module/screens/CreateLivestream/CreateLivestream.js.map +1 -1
- package/lib/module/screens/LivestreamPlayer/index.js +8 -4
- package/lib/module/screens/LivestreamPlayer/index.js.map +1 -1
- package/lib/module/svg/svg-xml-list.js +5 -1
- package/lib/module/svg/svg-xml-list.js.map +1 -1
- package/lib/module/util/postTypeChecker.js.map +1 -1
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js +9 -11
- package/lib/module/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.js.map +1 -1
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js +2 -3
- package/lib/module/v4/PublicApi/Elements/ButtonWithIconElement/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js +26 -29
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js +2 -2
- package/lib/module/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js +72 -211
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js +3 -71
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js +120 -123
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js +37 -1
- package/lib/module/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.js +54 -21
- package/lib/module/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.js.map +1 -1
- package/lib/module/v4/PublicApi/Pages/AmityViewStoryPage/styles.js +24 -2
- package/lib/module/v4/PublicApi/Pages/AmityViewStoryPage/styles.js.map +1 -1
- package/lib/module/v4/assets/icons/toast.js +6 -6
- package/lib/module/v4/assets/icons/toast.js.map +1 -1
- package/lib/module/v4/component/CommunityStories/index.js +10 -5
- package/lib/module/v4/component/CommunityStories/index.js.map +1 -1
- package/lib/module/v4/component/CommunityStories/styles.js +7 -2
- package/lib/module/v4/component/CommunityStories/styles.js.map +1 -1
- package/lib/module/v4/component/LivestreamContent/index.js +13 -13
- package/lib/module/v4/component/LivestreamContent/index.js.map +1 -1
- package/lib/module/v4/component/LoadingImage/index.js +22 -24
- package/lib/module/v4/component/LoadingImage/index.js.map +1 -1
- package/lib/module/v4/component/LoadingImage/styles.js +19 -2
- package/lib/module/v4/component/LoadingImage/styles.js.map +1 -1
- package/lib/module/v4/component/LoadingVideo/index.js +12 -6
- package/lib/module/v4/component/LoadingVideo/index.js.map +1 -1
- package/lib/module/v4/component/MyStories/StoryCircleItem.js +13 -6
- package/lib/module/v4/component/MyStories/StoryCircleItem.js.map +1 -1
- package/lib/module/v4/component/MyStories/styles.js +5 -0
- package/lib/module/v4/component/MyStories/styles.js.map +1 -1
- package/lib/module/v4/component/PostContent/index.js +4 -4
- package/lib/module/v4/component/PostContent/index.js.map +1 -1
- package/lib/module/v4/component/PostMenu/index.js +2 -2
- package/lib/module/v4/component/PostMenu/index.js.map +1 -1
- package/lib/module/v4/component/Toast/index.js +4 -4
- package/lib/module/v4/component/Toast/index.js.map +1 -1
- package/lib/module/v4/component/Toast/styles.js +2 -2
- package/lib/module/v4/component/Toast/styles.js.map +1 -1
- package/lib/module/v4/enum/livestreamStatus.js +7 -0
- package/lib/module/v4/enum/livestreamStatus.js.map +1 -0
- package/lib/module/v4/hook/index.js +0 -2
- package/lib/module/v4/hook/index.js.map +1 -1
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js +3 -1
- package/lib/module/v4/hook/useCustomRankingGlobalFeed.js.map +1 -1
- package/lib/module/v4/index.js +1 -1
- package/lib/module/v4/index.js.map +1 -1
- package/lib/module/v4/stores/slices/toast.js +1 -4
- package/lib/module/v4/stores/slices/toast.js.map +1 -1
- package/lib/typescript/src/components/MediaSection/index.d.ts.map +1 -1
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts +2 -1
- package/lib/typescript/src/components/PostTypeChoiceModal/style.d.ts.map +1 -1
- package/lib/typescript/src/components/Social/PostList/index.d.ts +3 -1
- package/lib/typescript/src/components/Social/PostList/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Toast/Toast.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/providers/file-provider.d.ts.map +1 -1
- package/lib/typescript/src/screens/LivestreamPlayer/index.d.ts.map +1 -1
- package/lib/typescript/src/svg/svg-xml-list.d.ts +1 -0
- package/lib/typescript/src/svg/svg-xml-list.d.ts.map +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts +1 -1
- package/lib/typescript/src/util/postTypeChecker.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts +3 -1
- package/lib/typescript/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts +0 -1
- package/lib/typescript/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.d.ts +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts +2 -70
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.d.ts.map +1 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityViewStoryPage/styles.d.ts +22 -0
- package/lib/typescript/src/v4/PublicApi/Pages/AmityViewStoryPage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/assets/icons/toast.d.ts +3 -3
- package/lib/typescript/src/v4/assets/icons/toast.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/CommunityStories/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/CommunityStories/styles.d.ts +5 -0
- package/lib/typescript/src/v4/component/CommunityStories/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts +1 -1
- package/lib/typescript/src/v4/component/LivestreamContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LoadingImage/index.d.ts +2 -1
- package/lib/typescript/src/v4/component/LoadingImage/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LoadingImage/styles.d.ts +21 -0
- package/lib/typescript/src/v4/component/LoadingImage/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/LoadingVideo/index.d.ts +2 -1
- package/lib/typescript/src/v4/component/LoadingVideo/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/MyStories/StoryCircleItem.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/MyStories/styles.d.ts +5 -0
- package/lib/typescript/src/v4/component/MyStories/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/PostContent/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts +1 -1
- package/lib/typescript/src/v4/component/Toast/styles.d.ts.map +1 -1
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts +7 -0
- package/lib/typescript/src/v4/enum/livestreamStatus.d.ts.map +1 -0
- package/lib/typescript/src/v4/hook/index.d.ts +0 -2
- package/lib/typescript/src/v4/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts +0 -3
- package/lib/typescript/src/v4/hook/usePendingPostQuery.d.ts.map +1 -1
- package/lib/typescript/src/v4/index.d.ts +0 -1
- package/lib/typescript/src/v4/index.d.ts.map +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts +1 -1
- package/lib/typescript/src/v4/routes/RouteParamList.d.ts.map +1 -1
- package/lib/typescript/src/v4/stores/slices/toast.d.ts +0 -1
- package/lib/typescript/src/v4/stores/slices/toast.d.ts.map +1 -1
- package/package.json +3 -6
- package/src/components/CreatePostChooseTargetModal/CreatePostChooseTargetModal.tsx +1 -1
- package/src/components/MediaSection/index.tsx +6 -4
- package/src/components/PostTypeChoiceModal/PostTypeChoiceModal.tsx +15 -15
- package/src/components/PostTypeChoiceModal/style.ts +2 -1
- package/src/components/Social/PostList/index.tsx +4 -1
- package/src/components/Toast/Toast.tsx +1 -0
- package/src/index.tsx +2 -2
- package/src/providers/file-provider.tsx +42 -20
- package/src/screens/CreateLivestream/CreateLivestream.tsx +17 -17
- package/src/screens/LivestreamPlayer/index.tsx +15 -9
- package/src/svg/svg-xml-list.ts +7 -1
- package/src/util/postTypeChecker.ts +1 -1
- package/src/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.tsx +10 -10
- package/src/v4/PublicApi/Components/AmityPostContentComponent/AmityPostContentComponent.tsx +1 -1
- package/src/v4/PublicApi/Elements/ButtonWithIconElement/styles.ts +2 -3
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/AmityCommunityProfilePage.tsx +25 -24
- package/src/v4/PublicApi/Pages/AmityCommunityProfilePage/styles.ts +2 -2
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/AmityCreateLivestreamPage.tsx +89 -241
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/styles.ts +3 -72
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/AmityLivestreamPlayerPage.tsx +148 -135
- package/src/v4/PublicApi/Pages/AmityLivestreamPlayerPage/styles.ts +0 -1
- package/src/v4/PublicApi/Pages/AmityPostComposerPage/AmityPostComposerPage.tsx +46 -0
- package/src/v4/PublicApi/Pages/AmityViewStoryPage/Components/AmityViewStoryItem.tsx +122 -57
- package/src/v4/PublicApi/Pages/AmityViewStoryPage/styles.ts +23 -1
- package/src/v4/assets/icons/toast.tsx +12 -9
- package/src/v4/component/CommunityStories/index.tsx +26 -17
- package/src/v4/component/CommunityStories/styles.ts +7 -2
- package/src/v4/component/LivestreamContent/index.tsx +22 -21
- package/src/v4/component/LoadingImage/index.tsx +28 -25
- package/src/v4/component/LoadingImage/styles.ts +17 -0
- package/src/v4/component/LoadingVideo/index.tsx +13 -7
- package/src/v4/component/MyStories/StoryCircleItem.tsx +19 -12
- package/src/v4/component/MyStories/styles.ts +5 -0
- package/src/v4/component/PostContent/index.tsx +8 -6
- package/src/v4/component/PostMenu/index.tsx +2 -2
- package/src/v4/component/Toast/index.tsx +1 -1
- package/src/v4/component/Toast/styles.ts +2 -2
- package/src/v4/enum/livestreamStatus.ts +6 -0
- package/src/v4/hook/index.ts +0 -2
- package/src/v4/hook/useCustomRankingGlobalFeed.ts +1 -1
- package/src/v4/index.tsx +1 -1
- package/src/v4/routes/RouteParamList.tsx +1 -1
- package/src/v4/stores/slices/toast.ts +0 -5
- package/uikit.config.json +1 -1
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +0 -50
- package/lib/commonjs/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +0 -1
- package/lib/commonjs/v4/enum/roomStatus.js +0 -14
- package/lib/commonjs/v4/enum/roomStatus.js.map +0 -1
- package/lib/commonjs/v4/hook/usePostSubscription.js +0 -38
- package/lib/commonjs/v4/hook/usePostSubscription.js.map +0 -1
- package/lib/commonjs/v4/hook/useRoomSubscription.js +0 -22
- package/lib/commonjs/v4/hook/useRoomSubscription.js.map +0 -1
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js +0 -42
- package/lib/module/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.js.map +0 -1
- package/lib/module/v4/enum/roomStatus.js +0 -8
- package/lib/module/v4/enum/roomStatus.js.map +0 -1
- package/lib/module/v4/hook/usePostSubscription.js +0 -31
- package/lib/module/v4/hook/usePostSubscription.js.map +0 -1
- package/lib/module/v4/hook/useRoomSubscription.js +0 -15
- package/lib/module/v4/hook/useRoomSubscription.js.map +0 -1
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts +0 -8
- package/lib/typescript/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.d.ts.map +0 -1
- package/lib/typescript/src/v4/enum/roomStatus.d.ts +0 -8
- package/lib/typescript/src/v4/enum/roomStatus.d.ts.map +0 -1
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts +0 -4
- package/lib/typescript/src/v4/hook/usePostSubscription.d.ts.map +0 -1
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts +0 -4
- package/lib/typescript/src/v4/hook/useRoomSubscription.d.ts.map +0 -1
- package/src/v4/PublicApi/Pages/AmityCreateLivestreamPage/RoomView.tsx +0 -48
- package/src/v4/enum/roomStatus.ts +0 -7
- package/src/v4/hook/usePostSubscription.ts +0 -34
- package/src/v4/hook/useRoomSubscription.ts +0 -19
package/src/v4/PublicApi/Components/AmityCreatePostMenuComponent/AmityCreatePostMenuComponent.tsx
CHANGED
|
@@ -62,14 +62,14 @@ const AmityCreatePostMenuComponent = ({
|
|
|
62
62
|
navigation.navigate('PollTargetSelection');
|
|
63
63
|
},
|
|
64
64
|
|
|
65
|
-
[AmityPostTargetSelectionPageType.livestream]: () => {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
},
|
|
65
|
+
// [AmityPostTargetSelectionPageType.livestream]: () => {
|
|
66
|
+
// if (
|
|
67
|
+
// AmityCreatePostMenuComponentBehavior.goToSelectLivestreamPostTargetPage
|
|
68
|
+
// ) {
|
|
69
|
+
// AmityCreatePostMenuComponentBehavior.goToSelectLivestreamPostTargetPage();
|
|
70
|
+
// }
|
|
71
|
+
// navigation.navigate('LivestreamPostTargetSelection');
|
|
72
|
+
// },
|
|
73
73
|
};
|
|
74
74
|
postTypeHandlers[postType]?.();
|
|
75
75
|
},
|
|
@@ -100,14 +100,14 @@ const AmityCreatePostMenuComponent = ({
|
|
|
100
100
|
elementId={ElementID.create_poll_button}
|
|
101
101
|
onClick={() => onPressCreatePost(AmityPostTargetSelectionPageType.poll)}
|
|
102
102
|
/>
|
|
103
|
-
<ButtonWithIconElement
|
|
103
|
+
{/* <ButtonWithIconElement
|
|
104
104
|
pageId={pageId}
|
|
105
105
|
componentId={componentId}
|
|
106
106
|
elementId={ElementID.create_livestream_button}
|
|
107
107
|
onClick={() =>
|
|
108
108
|
onPressCreatePost(AmityPostTargetSelectionPageType.livestream)
|
|
109
109
|
}
|
|
110
|
-
/>
|
|
110
|
+
/> */}
|
|
111
111
|
</View>
|
|
112
112
|
);
|
|
113
113
|
};
|
|
@@ -34,7 +34,7 @@ import AnnouncementBadge from '../../../../v4/elements/AnnouncementBadge';
|
|
|
34
34
|
import { Typography } from '../../../../v4/component/Typography/Typography';
|
|
35
35
|
|
|
36
36
|
type AmityPostContentComponentProps = {
|
|
37
|
-
post: Amity.Post;
|
|
37
|
+
post: Amity.Post & { structureType?: string };
|
|
38
38
|
pageId?: PageID;
|
|
39
39
|
AmityPostContentComponentStyle?: AmityPostContentComponentStyleEnum;
|
|
40
40
|
isCommunityNameShown?: boolean;
|
|
@@ -6,7 +6,6 @@ export const useStyle = (themeStyle: MyMD3Theme) => {
|
|
|
6
6
|
container: {
|
|
7
7
|
display: 'flex',
|
|
8
8
|
flexDirection: 'row',
|
|
9
|
-
alignItems: 'center',
|
|
10
9
|
width: 200,
|
|
11
10
|
paddingTop: 12,
|
|
12
11
|
paddingBottom: 12,
|
|
@@ -14,8 +13,8 @@ export const useStyle = (themeStyle: MyMD3Theme) => {
|
|
|
14
13
|
gap: 12,
|
|
15
14
|
},
|
|
16
15
|
icon: {
|
|
17
|
-
width:
|
|
18
|
-
height:
|
|
16
|
+
width: 20,
|
|
17
|
+
height: 20,
|
|
19
18
|
tintColor: themeStyle.colors.base,
|
|
20
19
|
},
|
|
21
20
|
label: {
|
|
@@ -35,7 +35,8 @@ import { RootStackParamList } from '../../../routes/RouteParamList';
|
|
|
35
35
|
import CommunityCreatePostButton from '../../../elements/CommunityCreatePostButton/CommunityCreatePostButton';
|
|
36
36
|
import { SvgXml } from 'react-native-svg';
|
|
37
37
|
import { useBehaviour } from '../../../../v4/providers/BehaviourProvider';
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
import { poll, post, story } from '../../../../v4/assets/icons';
|
|
39
40
|
import { RouteProp, useNavigation, useRoute } from '@react-navigation/native';
|
|
40
41
|
|
|
41
42
|
import { useTheme } from 'react-native-paper';
|
|
@@ -264,7 +265,7 @@ function CommunityProfileActions({ pageId, communityId, styles }) {
|
|
|
264
265
|
AmityPostTargetSelectionPageBehavior,
|
|
265
266
|
AmityPollTargetSelectionPageBehavior,
|
|
266
267
|
AmityStoryTargetSelectionPageBehavior,
|
|
267
|
-
AmityLivestreamPostTargetSelectionPageBehavior,
|
|
268
|
+
// AmityLivestreamPostTargetSelectionPageBehavior,
|
|
268
269
|
} = useBehaviour();
|
|
269
270
|
const navigation =
|
|
270
271
|
useNavigation<
|
|
@@ -310,26 +311,26 @@ function CommunityProfileActions({ pageId, communityId, styles }) {
|
|
|
310
311
|
});
|
|
311
312
|
};
|
|
312
313
|
|
|
313
|
-
const handleCreateLivestream = () => {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
};
|
|
314
|
+
// const handleCreateLivestream = () => {
|
|
315
|
+
// closeBottomSheet();
|
|
316
|
+
|
|
317
|
+
// if (
|
|
318
|
+
// AmityLivestreamPostTargetSelectionPageBehavior.goToCreateLivestreamPage
|
|
319
|
+
// ) {
|
|
320
|
+
// return AmityLivestreamPostTargetSelectionPageBehavior.goToCreateLivestreamPage(
|
|
321
|
+
// {
|
|
322
|
+
// targetId: communityId,
|
|
323
|
+
// targetType: 'community',
|
|
324
|
+
// targetName: community?.displayName,
|
|
325
|
+
// }
|
|
326
|
+
// );
|
|
327
|
+
// }
|
|
328
|
+
// navigation.navigate('CreateLivestream', {
|
|
329
|
+
// targetId: communityId,
|
|
330
|
+
// targetType: 'community',
|
|
331
|
+
// targetName: community?.displayName,
|
|
332
|
+
// });
|
|
333
|
+
// };
|
|
333
334
|
|
|
334
335
|
const handleCreatePoll = () => {
|
|
335
336
|
closeBottomSheet();
|
|
@@ -397,7 +398,7 @@ function CommunityProfileActions({ pageId, communityId, styles }) {
|
|
|
397
398
|
<SvgXml width={24} height={24} xml={poll()} color={colors.base} />
|
|
398
399
|
<Text style={styles.bottomSheetOptionText}>Poll</Text>
|
|
399
400
|
</TouchableOpacity>
|
|
400
|
-
<TouchableOpacity
|
|
401
|
+
{/* <TouchableOpacity
|
|
401
402
|
onPress={handleCreateLivestream}
|
|
402
403
|
style={styles.bottomSheetOption}
|
|
403
404
|
>
|
|
@@ -408,7 +409,7 @@ function CommunityProfileActions({ pageId, communityId, styles }) {
|
|
|
408
409
|
color={colors.base}
|
|
409
410
|
/>
|
|
410
411
|
<Text style={styles.bottomSheetOptionText}>Livestream</Text>
|
|
411
|
-
</TouchableOpacity>
|
|
412
|
+
</TouchableOpacity> */}
|
|
412
413
|
</Animated.View>
|
|
413
414
|
</Pressable>
|
|
414
415
|
</Modal>
|
|
@@ -41,7 +41,7 @@ export const useStyles = (theme: MyMD3Theme) => {
|
|
|
41
41
|
backgroundColor: theme.colors.background,
|
|
42
42
|
borderTopLeftRadius: 20,
|
|
43
43
|
borderTopRightRadius: 20,
|
|
44
|
-
|
|
44
|
+
padding: 10,
|
|
45
45
|
minHeight: 200,
|
|
46
46
|
paddingBottom: insets.bottom + 10,
|
|
47
47
|
},
|
|
@@ -57,7 +57,7 @@ export const useStyles = (theme: MyMD3Theme) => {
|
|
|
57
57
|
flexDirection: 'row',
|
|
58
58
|
alignItems: 'center',
|
|
59
59
|
paddingVertical: 16,
|
|
60
|
-
paddingHorizontal:
|
|
60
|
+
paddingHorizontal: 16,
|
|
61
61
|
},
|
|
62
62
|
bottomSheetOptionText: {
|
|
63
63
|
fontSize: 16,
|