@selfcommunity/react-ui 0.1.2-alpha.6 → 0.1.2-alpha.9
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/cjs/components/AccountRecover/AccountRecover.js +1 -1
- package/lib/cjs/components/AccountSignIn/AccountSignIn.js +1 -1
- package/lib/cjs/components/AccountSignUp/AccountSignUp.js +1 -1
- package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +1 -1
- package/lib/cjs/components/BroadcastMessages/Message.js +2 -2
- package/lib/cjs/components/BroadcastMessages/Skeleton.js +2 -2
- package/lib/cjs/components/CategoriesFollowed/CategoriesFollowed.js +4 -21
- package/lib/cjs/components/CategoriesFollowed/Skeleton.js +1 -1
- package/lib/cjs/components/CategoriesPopular/CategoriesPopular.js +1 -1
- package/lib/cjs/components/CategoriesPopular/Skeleton.js +1 -1
- package/lib/cjs/components/CategoriesSuggestion/CategoriesSuggestion.js +2 -5
- package/lib/cjs/components/CategoriesSuggestion/Skeleton.js +1 -1
- package/lib/cjs/components/Category/Category.js +1 -1
- package/lib/cjs/components/Category/Skeleton.js +1 -1
- package/lib/cjs/components/CategoryHeader/CategoryHeader.js +1 -1
- package/lib/cjs/components/CategoryHeader/Skeleton.js +1 -1
- package/lib/cjs/components/ChangeCover/ChangeCover.js +1 -1
- package/lib/cjs/components/ChangePicture/ChangePicture.js +1 -1
- package/lib/cjs/components/CommentObject/CommentObject.js +14 -6
- package/lib/cjs/components/CommentObject/Skeleton.js +1 -1
- package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
- package/lib/cjs/components/CommentsObject/CommentsObject.js +1 -1
- package/lib/cjs/components/CommentsObject/Skeleton.js +1 -1
- package/lib/cjs/components/Composer/Composer.js +31 -16
- package/lib/cjs/components/Composer/Poll/Poll.js +10 -2
- package/lib/cjs/components/Composer/Skeleton.js +1 -1
- package/lib/cjs/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
- package/lib/cjs/components/CustomAdv/CustomAdv.js +1 -1
- package/lib/cjs/components/CustomAdv/Skeleton.js +1 -1
- package/lib/cjs/components/Editor/Editor.js +1 -1
- package/lib/cjs/components/Editor/Skeleton.js +1 -1
- package/lib/cjs/components/Feed/Feed.js +18 -16
- package/lib/cjs/components/Feed/Skeleton.js +1 -1
- package/lib/cjs/components/FeedObject/Actions/Share/Share.js +3 -0
- package/lib/cjs/components/FeedObject/FeedObject.js +2 -2
- package/lib/cjs/components/FeedObject/Skeleton.js +1 -1
- package/lib/cjs/components/FeedUpdates/FeedUpdates.js +1 -1
- package/lib/cjs/components/FeedUpdates/Skeleton.js +1 -1
- package/lib/cjs/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
- package/lib/cjs/components/FollowUserButton/FollowUserButton.js +1 -1
- package/lib/cjs/components/Footer/Footer.js +1 -1
- package/lib/cjs/components/Footer/Skeleton.js +1 -1
- package/lib/cjs/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
- package/lib/cjs/components/Incubator/Incubator.js +1 -1
- package/lib/cjs/components/Incubator/Skeleton.js +1 -1
- package/lib/cjs/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
- package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +1 -1
- package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
- package/lib/cjs/components/IncubatorSuggestion/Skeleton.js +1 -1
- package/lib/cjs/components/IncubatorsList/IncubatorsList.js +1 -1
- package/lib/cjs/components/IncubatorsList/Skeleton.js +1 -1
- package/lib/cjs/components/InlineComposer/InlineComposer.js +1 -1
- package/lib/cjs/components/InlineComposer/Skeleton.js +1 -1
- package/lib/cjs/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
- package/lib/cjs/components/LoyaltyProgram/Skeleton.js +1 -1
- package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
- package/lib/cjs/components/LoyaltyProgramDetail/Skeleton.js +1 -1
- package/lib/cjs/components/Message/Message.js +1 -1
- package/lib/cjs/components/Message/Skeleton.js +1 -1
- package/lib/cjs/components/MessageEditor/MessageEditor.js +1 -1
- package/lib/cjs/components/MessageEditor/Skeleton.js +1 -1
- package/lib/cjs/components/Notification/Notification.js +1 -1
- package/lib/cjs/components/Notification/Skeleton.js +1 -1
- package/lib/cjs/components/PeopleSuggestion/PeopleSuggestion.js +3 -9
- package/lib/cjs/components/PeopleSuggestion/Skeleton.js +1 -1
- package/lib/cjs/components/Platform/Platform.js +1 -1
- package/lib/cjs/components/Platform/Skeleton.js +1 -1
- package/lib/cjs/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
- package/lib/cjs/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
- package/lib/cjs/components/PollSuggestion/PollSuggestion.js +1 -1
- package/lib/cjs/components/PollSuggestion/Skeleton.js +1 -1
- package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
- package/lib/cjs/components/RelatedFeedObjects/Skeleton.js +1 -1
- package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.js +1 -1
- package/lib/cjs/components/Skeleton/GenericSkeleton.js +1 -1
- package/lib/cjs/components/SnippetNotifications/Skeleton.js +1 -1
- package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +1 -1
- package/lib/cjs/components/Snippets/Skeleton.js +1 -1
- package/lib/cjs/components/Snippets/Snippets.js +1 -1
- package/lib/cjs/components/Thread/Skeleton.js +1 -1
- package/lib/cjs/components/Thread/Thread.js +1 -1
- package/lib/cjs/components/ToastNotifications/Skeleton.js +1 -1
- package/lib/cjs/components/ToastNotifications/ToastNotifications.js +1 -1
- package/lib/cjs/components/TrendingFeed/Skeleton.js +1 -1
- package/lib/cjs/components/TrendingFeed/TrendingFeed.js +1 -1
- package/lib/cjs/components/TrendingPeople/Skeleton.js +1 -1
- package/lib/cjs/components/TrendingPeople/TrendingPeople.js +1 -1
- package/lib/cjs/components/User/Skeleton.js +1 -1
- package/lib/cjs/components/User/User.js +1 -1
- package/lib/cjs/components/UserFollowers/Skeleton.js +1 -1
- package/lib/cjs/components/UserFollowers/UserFollowers.js +1 -1
- package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
- package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
- package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
- package/lib/cjs/components/UserProfileHeader/Skeleton.js +1 -1
- package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -1
- package/lib/cjs/components/UserProfileInfo/Skeleton.js +1 -1
- package/lib/cjs/components/UserProfileInfo/UserProfileInfo.js +1 -1
- package/lib/cjs/components/UsersFollowed/Skeleton.js +1 -1
- package/lib/cjs/components/UsersFollowed/UsersFollowed.js +4 -19
- package/lib/cjs/components/Widget/index.js +1 -1
- package/lib/cjs/shared/BaseItem/BaseItem.js +1 -1
- package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +1 -1
- package/lib/cjs/shared/DateTimeAgo/index.js +2 -1
- package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -1
- package/lib/esm/components/AccountRecover/AccountRecover.js +1 -1
- package/lib/esm/components/AccountSignIn/AccountSignIn.js +1 -1
- package/lib/esm/components/AccountSignUp/AccountSignUp.js +1 -1
- package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -1
- package/lib/esm/components/BroadcastMessages/Message.js +2 -2
- package/lib/esm/components/BroadcastMessages/Skeleton.js +2 -2
- package/lib/esm/components/CategoriesFollowed/CategoriesFollowed.js +4 -21
- package/lib/esm/components/CategoriesFollowed/Skeleton.js +1 -1
- package/lib/esm/components/CategoriesPopular/CategoriesPopular.js +1 -1
- package/lib/esm/components/CategoriesPopular/Skeleton.js +1 -1
- package/lib/esm/components/CategoriesSuggestion/CategoriesSuggestion.js +2 -5
- package/lib/esm/components/CategoriesSuggestion/Skeleton.js +1 -1
- package/lib/esm/components/Category/Category.js +1 -1
- package/lib/esm/components/Category/Skeleton.js +1 -1
- package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -1
- package/lib/esm/components/CategoryHeader/Skeleton.js +1 -1
- package/lib/esm/components/ChangeCover/ChangeCover.js +1 -1
- package/lib/esm/components/ChangePicture/ChangePicture.js +1 -1
- package/lib/esm/components/CommentObject/CommentObject.js +14 -6
- package/lib/esm/components/CommentObject/Skeleton.js +1 -1
- package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
- package/lib/esm/components/CommentsObject/CommentsObject.js +1 -1
- package/lib/esm/components/CommentsObject/Skeleton.js +1 -1
- package/lib/esm/components/Composer/Composer.js +31 -16
- package/lib/esm/components/Composer/Poll/Poll.js +10 -2
- package/lib/esm/components/Composer/Skeleton.js +1 -1
- package/lib/esm/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
- package/lib/esm/components/CustomAdv/CustomAdv.js +1 -1
- package/lib/esm/components/CustomAdv/Skeleton.js +1 -1
- package/lib/esm/components/Editor/Editor.js +1 -1
- package/lib/esm/components/Editor/Skeleton.js +1 -1
- package/lib/esm/components/Feed/Feed.js +18 -16
- package/lib/esm/components/Feed/Skeleton.js +1 -1
- package/lib/esm/components/FeedObject/Actions/Share/Share.js +3 -0
- package/lib/esm/components/FeedObject/FeedObject.js +2 -2
- package/lib/esm/components/FeedObject/Skeleton.js +1 -1
- package/lib/esm/components/FeedUpdates/FeedUpdates.js +1 -1
- package/lib/esm/components/FeedUpdates/Skeleton.js +1 -1
- package/lib/esm/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
- package/lib/esm/components/FollowUserButton/FollowUserButton.js +1 -1
- package/lib/esm/components/Footer/Footer.js +1 -1
- package/lib/esm/components/Footer/Skeleton.js +1 -1
- package/lib/esm/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
- package/lib/esm/components/Incubator/Incubator.js +1 -1
- package/lib/esm/components/Incubator/Skeleton.js +1 -1
- package/lib/esm/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
- package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +1 -1
- package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
- package/lib/esm/components/IncubatorSuggestion/Skeleton.js +1 -1
- package/lib/esm/components/IncubatorsList/IncubatorsList.js +1 -1
- package/lib/esm/components/IncubatorsList/Skeleton.js +1 -1
- package/lib/esm/components/InlineComposer/InlineComposer.js +1 -1
- package/lib/esm/components/InlineComposer/Skeleton.js +1 -1
- package/lib/esm/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
- package/lib/esm/components/LoyaltyProgram/Skeleton.js +1 -1
- package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
- package/lib/esm/components/LoyaltyProgramDetail/Skeleton.js +1 -1
- package/lib/esm/components/Message/Message.js +1 -1
- package/lib/esm/components/Message/Skeleton.js +1 -1
- package/lib/esm/components/MessageEditor/MessageEditor.js +1 -1
- package/lib/esm/components/MessageEditor/Skeleton.js +1 -1
- package/lib/esm/components/Notification/Notification.js +1 -1
- package/lib/esm/components/Notification/Skeleton.js +1 -1
- package/lib/esm/components/PeopleSuggestion/PeopleSuggestion.js +3 -9
- package/lib/esm/components/PeopleSuggestion/Skeleton.js +1 -1
- package/lib/esm/components/Platform/Platform.js +1 -1
- package/lib/esm/components/Platform/Skeleton.js +1 -1
- package/lib/esm/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
- package/lib/esm/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
- package/lib/esm/components/PollSuggestion/PollSuggestion.js +1 -1
- package/lib/esm/components/PollSuggestion/Skeleton.js +1 -1
- package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
- package/lib/esm/components/RelatedFeedObjects/Skeleton.js +1 -1
- package/lib/esm/components/Skeleton/AvatarGroupSkeleton.js +1 -1
- package/lib/esm/components/Skeleton/GenericSkeleton.js +1 -1
- package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -1
- package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +1 -1
- package/lib/esm/components/Snippets/Skeleton.js +1 -1
- package/lib/esm/components/Snippets/Snippets.js +1 -1
- package/lib/esm/components/Thread/Skeleton.js +1 -1
- package/lib/esm/components/Thread/Thread.js +1 -1
- package/lib/esm/components/ToastNotifications/Skeleton.js +1 -1
- package/lib/esm/components/ToastNotifications/ToastNotifications.js +1 -1
- package/lib/esm/components/TrendingFeed/Skeleton.js +1 -1
- package/lib/esm/components/TrendingFeed/TrendingFeed.js +1 -1
- package/lib/esm/components/TrendingPeople/Skeleton.js +1 -1
- package/lib/esm/components/TrendingPeople/TrendingPeople.js +1 -1
- package/lib/esm/components/User/Skeleton.js +1 -1
- package/lib/esm/components/User/User.js +1 -1
- package/lib/esm/components/UserFollowers/Skeleton.js +1 -1
- package/lib/esm/components/UserFollowers/UserFollowers.js +1 -1
- package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
- package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
- package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
- package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -1
- package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -1
- package/lib/esm/components/UserProfileInfo/Skeleton.js +1 -1
- package/lib/esm/components/UserProfileInfo/UserProfileInfo.js +1 -1
- package/lib/esm/components/UsersFollowed/Skeleton.js +1 -1
- package/lib/esm/components/UsersFollowed/UsersFollowed.js +4 -19
- package/lib/esm/components/Widget/index.js +1 -1
- package/lib/esm/react-i18n/src/index.d.ts +4 -0
- package/lib/esm/react-i18n/src/index.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/AccountRecover/AccountRecover.d.ts +1 -1
- package/lib/esm/react-ui/src/components/AccountSignIn/AccountSignIn.d.ts +1 -1
- package/lib/esm/react-ui/src/components/AccountSignUp/AccountSignUp.d.ts +1 -1
- package/lib/esm/react-ui/src/components/BroadcastMessages/BroadcastMessages.d.ts +1 -1
- package/lib/esm/react-ui/src/components/BroadcastMessages/Message.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/BroadcastMessages/Skeleton.d.ts +2 -2
- package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/CategoriesFollowed/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoriesPopular/CategoriesPopular.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoriesPopular/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoriesSuggestion/CategoriesSuggestion.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoriesSuggestion/CategoriesSuggestion.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/CategoriesSuggestion/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Category/Category.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Category/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoryHeader/CategoryHeader.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CategoryHeader/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/ChangeCover/ChangeCover.d.ts +1 -1
- package/lib/esm/react-ui/src/components/ChangePicture/ChangePicture.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts +6 -1
- package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/CommentObject/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CommentsObject/CommentsObject.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CommentsObject/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Composer/Composer.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Composer/Composer.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/Composer/Poll/Poll.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/Composer/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/ConnectionUserButton/ConnectionUserButton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CustomAdv/CustomAdv.d.ts +1 -1
- package/lib/esm/react-ui/src/components/CustomAdv/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Editor/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Feed/Feed.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/Feed/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FeedObject/Actions/Share/Share.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/FeedObject/FeedObject.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FeedObject/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FeedUpdates/FeedUpdates.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FeedUpdates/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FollowCategoryButton/FollowCategoryButton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FollowUserButton/FollowUserButton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Footer/Footer.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Footer/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/FriendshipUserButton/FriendshipUserButton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/Incubator/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Incubator/SubscribeButton/SubscribeButton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/IncubatorDetail/IncubatorDetail.d.ts +1 -1
- package/lib/esm/react-ui/src/components/IncubatorSuggestion/IncubatorSuggestion.d.ts +1 -1
- package/lib/esm/react-ui/src/components/IncubatorSuggestion/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/IncubatorsList/IncubatorsList.d.ts +1 -1
- package/lib/esm/react-ui/src/components/IncubatorsList/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/InlineComposer/InlineComposer.d.ts +1 -1
- package/lib/esm/react-ui/src/components/InlineComposer/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/LoyaltyProgram/LoyaltyProgram.d.ts +1 -1
- package/lib/esm/react-ui/src/components/LoyaltyProgram/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/LoyaltyProgramDetail.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Message/Message.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Message/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/MessageEditor/MessageEditor.d.ts +1 -1
- package/lib/esm/react-ui/src/components/MessageEditor/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Notification/Notification.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Notification/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/PeopleSuggestion/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Platform/Platform.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Platform/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/PollSnippet.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PollSuggestion/PollSuggestion.d.ts +1 -1
- package/lib/esm/react-ui/src/components/PollSuggestion/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/RelatedFeedObjects/RelatedFeedObjects.d.ts +1 -1
- package/lib/esm/react-ui/src/components/RelatedFeedObjects/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Skeleton/AvatarGroupSkeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Skeleton/GenericSkeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/SnippetNotifications/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/SnippetNotifications/SnippetNotifications.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Snippets/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Snippets/Snippets.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Thread/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/Thread/Thread.d.ts +1 -1
- package/lib/esm/react-ui/src/components/ToastNotifications/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/ToastNotifications/ToastNotifications.d.ts +1 -1
- package/lib/esm/react-ui/src/components/TrendingFeed/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/TrendingFeed/TrendingFeed.d.ts +1 -1
- package/lib/esm/react-ui/src/components/TrendingPeople/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/TrendingPeople/TrendingPeople.d.ts +1 -1
- package/lib/esm/react-ui/src/components/User/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/User/User.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserFollowers/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/UserProfileEdit/Section/SettingsSkeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileEdit/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/UserProfileHeader/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/UserProfileInfo/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UserProfileInfo/UserProfileInfo.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UsersFollowed/Skeleton.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts +1 -1
- package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts.map +1 -1
- package/lib/esm/react-ui/src/components/Widget/index.d.ts +1 -1
- package/lib/esm/react-ui/src/shared/BaseItem/BaseItem.d.ts +1 -1
- package/lib/esm/react-ui/src/shared/BaseItemButton/BaseItemButton.d.ts +1 -1
- package/lib/esm/react-ui/src/shared/DateTimeAgo/index.d.ts.map +1 -1
- package/lib/esm/react-ui/src/shared/NotificationItem/NotificationItem.d.ts +1 -1
- package/lib/esm/shared/BaseItem/BaseItem.js +1 -1
- package/lib/esm/shared/BaseItemButton/BaseItemButton.js +1 -1
- package/lib/esm/shared/DateTimeAgo/index.js +2 -1
- package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -1
- package/lib/umd/react-ui.js +2 -2
- package/lib/umd/react-ui.js.map +1 -1
- package/package.json +6 -6
|
@@ -153,7 +153,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
*
|
|
156
|
-
> API documentation for the Community-
|
|
156
|
+
> API documentation for the Community-JS UserNotification component. Learn about the available props and the CSS API.
|
|
157
157
|
|
|
158
158
|
#### Import
|
|
159
159
|
|
|
@@ -29,7 +29,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
29
29
|
marginBottom: theme.spacing(2)
|
|
30
30
|
}));
|
|
31
31
|
/**
|
|
32
|
-
* > API documentation for the Community-
|
|
32
|
+
* > API documentation for the Community-JS Notification Skeleton component. Learn about the available props and the CSS API.
|
|
33
33
|
|
|
34
34
|
#### Import
|
|
35
35
|
|
|
@@ -60,7 +60,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
> API documentation for the Community-
|
|
63
|
+
> API documentation for the Community-JS People Suggestion component. Learn about the available props and the CSS API.
|
|
64
64
|
|
|
65
65
|
#### Import
|
|
66
66
|
|
|
@@ -121,10 +121,7 @@ function PeopleSuggestion(inProps) {
|
|
|
121
121
|
function handleOnFollowUser(user, follow) {
|
|
122
122
|
setUsers(users.filter(u => u.id !== user.id));
|
|
123
123
|
setTotal(prev => prev - 1);
|
|
124
|
-
|
|
125
|
-
if (visiblePeople < limit && total > 1) {
|
|
126
|
-
loadPeople(1);
|
|
127
|
-
}
|
|
124
|
+
setHasMore(total - 1 > limit);
|
|
128
125
|
}
|
|
129
126
|
/**
|
|
130
127
|
* Handles list change on user connection
|
|
@@ -134,10 +131,7 @@ function PeopleSuggestion(inProps) {
|
|
|
134
131
|
function handleOnConnectUser(user, status) {
|
|
135
132
|
setUsers(users.filter(u => u.id !== user.id));
|
|
136
133
|
setTotal(prev => prev - 1);
|
|
137
|
-
|
|
138
|
-
if (visiblePeople < limit && total > 1) {
|
|
139
|
-
loadPeople(1);
|
|
140
|
-
}
|
|
134
|
+
setHasMore(total - 1 > limit);
|
|
141
135
|
}
|
|
142
136
|
/**
|
|
143
137
|
* Fetches user suggestion list
|
|
@@ -31,7 +31,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
31
31
|
}
|
|
32
32
|
}));
|
|
33
33
|
/**
|
|
34
|
-
* > API documentation for the Community-
|
|
34
|
+
* > API documentation for the Community-JS People Suggestion Skeleton component. Learn about the available props and the CSS API.
|
|
35
35
|
|
|
36
36
|
#### Import
|
|
37
37
|
|
|
@@ -52,7 +52,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
52
52
|
}));
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* > API documentation for the Community-
|
|
55
|
+
* > API documentation for the Community-JS Platform component. Learn about the available props and the CSS API.
|
|
56
56
|
|
|
57
57
|
#### Import
|
|
58
58
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_Skeleton.GenericSkeleton, {
|
|
|
23
23
|
theme
|
|
24
24
|
}) => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS Platform Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -45,7 +45,7 @@ const Root = (0, _styles.styled)(_BaseItemButton.default, {
|
|
|
45
45
|
}) => ({}));
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* > API documentation for the Community-
|
|
48
|
+
* > API documentation for the Community-JS PollSnippet component. Learn about the available props and the CSS API.
|
|
49
49
|
*
|
|
50
50
|
* #### Import
|
|
51
51
|
```jsx
|
|
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_BaseItem.default)(({
|
|
|
25
25
|
theme
|
|
26
26
|
}) => ({}));
|
|
27
27
|
/**
|
|
28
|
-
* > API documentation for the Community-
|
|
28
|
+
* > API documentation for the Community-JS Poll Snippet Skeleton component. Learn about the available props and the CSS API.
|
|
29
29
|
|
|
30
30
|
#### Import
|
|
31
31
|
|
|
@@ -70,7 +70,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
70
70
|
}));
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*> API documentation for the Community-
|
|
73
|
+
*> API documentation for the Community-JS Poll Suggestion component. Learn about the available props and the CSS API.
|
|
74
74
|
|
|
75
75
|
#### Import
|
|
76
76
|
|
|
@@ -31,7 +31,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
31
31
|
}
|
|
32
32
|
}));
|
|
33
33
|
/**
|
|
34
|
-
* > API documentation for the Community-
|
|
34
|
+
* > API documentation for the Community-JS Poll Suggestion Skeleton component. Learn about the available props and the CSS API.
|
|
35
35
|
|
|
36
36
|
#### Import
|
|
37
37
|
|
|
@@ -76,7 +76,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
76
76
|
}));
|
|
77
77
|
const PREFERENCES = [_reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ENABLED, _reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED];
|
|
78
78
|
/**
|
|
79
|
-
*> API documentation for the Community-
|
|
79
|
+
*> API documentation for the Community-JS Related FeedObjects component. Learn about the available props and the CSS API.
|
|
80
80
|
|
|
81
81
|
#### Import
|
|
82
82
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_TrendingFeed.TrendingFeedSkeleton, {
|
|
|
23
23
|
theme
|
|
24
24
|
}) => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS Related Discussion Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -40,7 +40,7 @@ const Root = (0, _styles.styled)(_material.AvatarGroup, {
|
|
|
40
40
|
}
|
|
41
41
|
}));
|
|
42
42
|
/**
|
|
43
|
-
* > API documentation for the Community-
|
|
43
|
+
* > API documentation for the Community-JS Avatar Group Skeleton component. Learn about the available props and the CSS API.
|
|
44
44
|
|
|
45
45
|
#### Import
|
|
46
46
|
|
|
@@ -31,7 +31,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
31
31
|
}
|
|
32
32
|
}));
|
|
33
33
|
/**
|
|
34
|
-
* > API documentation for the Community-
|
|
34
|
+
* > API documentation for the Community-JS Generic Skeleton component. Learn about the available props and the CSS API.
|
|
35
35
|
|
|
36
36
|
#### Import
|
|
37
37
|
|
|
@@ -36,7 +36,7 @@ const Root = (0, _styles.styled)(_material.List)(({
|
|
|
36
36
|
}
|
|
37
37
|
}));
|
|
38
38
|
/**
|
|
39
|
-
* > API documentation for the Community-
|
|
39
|
+
* > API documentation for the Community-JS Snippet Notification Skeleton component. Learn about the available props and the CSS API.
|
|
40
40
|
|
|
41
41
|
#### Import
|
|
42
42
|
|
|
@@ -109,7 +109,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
*
|
|
112
|
-
> API documentation for the Community-
|
|
112
|
+
> API documentation for the Community-JS SnippetNotifications component. Learn about the available props and the CSS API.
|
|
113
113
|
|
|
114
114
|
#### Import
|
|
115
115
|
|
|
@@ -33,7 +33,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
33
33
|
}
|
|
34
34
|
}));
|
|
35
35
|
/**
|
|
36
|
-
* > API documentation for the Community-
|
|
36
|
+
* > API documentation for the Community-JS Snippets Skeleton component. Learn about the available props and the CSS API.
|
|
37
37
|
|
|
38
38
|
#### Import
|
|
39
39
|
|
|
@@ -64,7 +64,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
> API documentation for the Community-
|
|
67
|
+
> API documentation for the Community-JS Snippets component. Learn about the available props and the CSS API.
|
|
68
68
|
|
|
69
69
|
#### Import
|
|
70
70
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_Skeleton.GenericSkeleton, {
|
|
|
23
23
|
theme
|
|
24
24
|
}) => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS Thread Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -144,7 +144,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
|
-
> API documentation for the Community-
|
|
147
|
+
> API documentation for the Community-JS Thread component. Learn about the available props and the CSS API.
|
|
148
148
|
|
|
149
149
|
#### Import
|
|
150
150
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_Notification.NotificationSkeleton, {
|
|
|
23
23
|
theme
|
|
24
24
|
}) => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS Toast Notifications Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -62,7 +62,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
> API documentation for the Community-
|
|
65
|
+
> API documentation for the Community-JS Toast Notifications component. Learn about the available props and the CSS API.
|
|
66
66
|
|
|
67
67
|
#### Import
|
|
68
68
|
|
|
@@ -34,7 +34,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
34
34
|
}
|
|
35
35
|
}));
|
|
36
36
|
/**
|
|
37
|
-
* > API documentation for the Community-
|
|
37
|
+
* > API documentation for the Community-JS Trending Feed Skeleton component. Learn about the available props and the CSS API.
|
|
38
38
|
|
|
39
39
|
#### Import
|
|
40
40
|
|
|
@@ -69,7 +69,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
69
69
|
}));
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* > API documentation for the Community-
|
|
72
|
+
* > API documentation for the Community-JS Trending Feed component. Learn about the available props and the CSS API.
|
|
73
73
|
|
|
74
74
|
#### Import
|
|
75
75
|
|
|
@@ -34,7 +34,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
|
|
|
34
34
|
}
|
|
35
35
|
}));
|
|
36
36
|
/**
|
|
37
|
-
* > API documentation for the Community-
|
|
37
|
+
* > API documentation for the Community-JS Trending People Skeleton component. Learn about the available props and the CSS API.
|
|
38
38
|
|
|
39
39
|
#### Import
|
|
40
40
|
|
|
@@ -67,7 +67,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
67
67
|
}));
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* > API documentation for the Community-
|
|
70
|
+
* > API documentation for the Community-JS Trending People component. Learn about the available props and the CSS API.
|
|
71
71
|
|
|
72
72
|
#### Import
|
|
73
73
|
|
|
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_BaseItem.default)(({
|
|
|
25
25
|
theme
|
|
26
26
|
}) => ({}));
|
|
27
27
|
/**
|
|
28
|
-
* > API documentation for the Community-
|
|
28
|
+
* > API documentation for the Community-JS User Skeleton component. Learn about the available props and the CSS API.
|
|
29
29
|
|
|
30
30
|
#### Import
|
|
31
31
|
|
|
@@ -50,7 +50,7 @@ const Root = (0, _styles.styled)(_BaseItemButton.default, {
|
|
|
50
50
|
}) => ({}));
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* > API documentation for the Community-
|
|
53
|
+
* > API documentation for the Community-JS User component. Learn about the available props and the CSS API.
|
|
54
54
|
|
|
55
55
|
#### Import
|
|
56
56
|
|
|
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_TrendingPeople.TrendingPeopleSkeleton, {
|
|
|
25
25
|
theme
|
|
26
26
|
}) => ({}));
|
|
27
27
|
/**
|
|
28
|
-
* > API documentation for the Community-
|
|
28
|
+
* > API documentation for the Community-JS User Followers Skeleton component. Learn about the available props and the CSS API.
|
|
29
29
|
|
|
30
30
|
#### Import
|
|
31
31
|
|
|
@@ -75,7 +75,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
75
75
|
}));
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* > API documentation for the Community-
|
|
78
|
+
* > API documentation for the Community-JS User Followers component. Learn about the available props and the CSS API.
|
|
79
79
|
|
|
80
80
|
#### Import
|
|
81
81
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
23
23
|
overridesResolver: (props, styles) => styles.root
|
|
24
24
|
})(() => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS Settings Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
23
23
|
overridesResolver: (props, styles) => styles.root
|
|
24
24
|
})(() => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS User Profile Edit Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -82,7 +82,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
|
-
> API documentation for the Community-
|
|
85
|
+
> API documentation for the Community-JS User Profile Edit component. Learn about the available props and the CSS API.
|
|
86
86
|
|
|
87
87
|
#### Import
|
|
88
88
|
|
|
@@ -40,7 +40,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
40
40
|
}
|
|
41
41
|
}));
|
|
42
42
|
/**
|
|
43
|
-
* > API documentation for the Community-
|
|
43
|
+
* > API documentation for the Community-JS User Profile Header Skeleton component. Learn about the available props and the CSS API.
|
|
44
44
|
|
|
45
45
|
#### Import
|
|
46
46
|
|
|
@@ -82,7 +82,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
82
82
|
}));
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* > API documentation for the Community-
|
|
85
|
+
* > API documentation for the Community-JS User Profile Header component. Learn about the available props and the CSS API.
|
|
86
86
|
|
|
87
87
|
#### Import
|
|
88
88
|
|
|
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
23
23
|
overridesResolver: (props, styles) => styles.root
|
|
24
24
|
})(() => ({}));
|
|
25
25
|
/**
|
|
26
|
-
* > API documentation for the Community-
|
|
26
|
+
* > API documentation for the Community-JS User Profile Info Skeleton component. Learn about the available props and the CSS API.
|
|
27
27
|
|
|
28
28
|
#### Import
|
|
29
29
|
|
|
@@ -85,7 +85,7 @@ const Root = (0, _styles.styled)(_material.Box, {
|
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
> API documentation for the Community-
|
|
88
|
+
> API documentation for the Community-JS User Profile Info component. Learn about the available props and the CSS API.
|
|
89
89
|
|
|
90
90
|
#### Import
|
|
91
91
|
|
|
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_TrendingPeople.TrendingPeopleSkeleton, {
|
|
|
25
25
|
theme
|
|
26
26
|
}) => ({}));
|
|
27
27
|
/**
|
|
28
|
-
* > API documentation for the Community-
|
|
28
|
+
* > API documentation for the Community-JS User Followers Skeleton component. Learn about the available props and the CSS API.
|
|
29
29
|
|
|
30
30
|
#### Import
|
|
31
31
|
|
|
@@ -75,7 +75,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
|
|
|
75
75
|
}));
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* > API documentation for the Community-
|
|
78
|
+
* > API documentation for the Community-JS Users Followed component. Learn about the available props and the CSS API.
|
|
79
79
|
|
|
80
80
|
#### Import
|
|
81
81
|
|
|
@@ -123,7 +123,6 @@ function UsersFollowed(inProps) {
|
|
|
123
123
|
} = props; // STATE
|
|
124
124
|
|
|
125
125
|
const [followed, setFollowed] = (0, _react.useState)([]);
|
|
126
|
-
const [visibleUsers, setVisibleUsers] = (0, _react.useState)(limit);
|
|
127
126
|
const [loading, setLoading] = (0, _react.useState)(true);
|
|
128
127
|
const [hasMore, setHasMore] = (0, _react.useState)(false);
|
|
129
128
|
const [total, setTotal] = (0, _react.useState)(0);
|
|
@@ -139,10 +138,7 @@ function UsersFollowed(inProps) {
|
|
|
139
138
|
if (scUserContext.user['id'] === userId) {
|
|
140
139
|
setFollowed(followed.filter(u => u.id !== user.id));
|
|
141
140
|
setTotal(prev => prev - 1);
|
|
142
|
-
|
|
143
|
-
if (visibleUsers < limit && total > 1) {
|
|
144
|
-
loadUsers(1);
|
|
145
|
-
}
|
|
141
|
+
setHasMore(total - 1 > limit);
|
|
146
142
|
} else {
|
|
147
143
|
const newUsers = [...followed];
|
|
148
144
|
const index = newUsers.findIndex(u => u.id === user.id);
|
|
@@ -173,7 +169,7 @@ function UsersFollowed(inProps) {
|
|
|
173
169
|
}).then(res => {
|
|
174
170
|
const data = res.data;
|
|
175
171
|
setFollowed([...followed, ...data.results]);
|
|
176
|
-
setHasMore(data.count >
|
|
172
|
+
setHasMore(data.count > limit);
|
|
177
173
|
setNext(data['next']);
|
|
178
174
|
setLoading(false);
|
|
179
175
|
setTotal(data.count);
|
|
@@ -184,17 +180,6 @@ function UsersFollowed(inProps) {
|
|
|
184
180
|
});
|
|
185
181
|
}
|
|
186
182
|
}
|
|
187
|
-
/**
|
|
188
|
-
* Loads more users when followed list changes
|
|
189
|
-
*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
function loadUsers(n) {
|
|
193
|
-
const newIndex = visibleUsers + n;
|
|
194
|
-
const newHasMore = newIndex < followed.length - 1;
|
|
195
|
-
setVisibleUsers(newIndex);
|
|
196
|
-
setHasMore(newHasMore);
|
|
197
|
-
}
|
|
198
183
|
/**
|
|
199
184
|
* On mount, fetches the list of users followed
|
|
200
185
|
*/
|
|
@@ -221,7 +206,7 @@ function UsersFollowed(inProps) {
|
|
|
221
206
|
})}`), !total ? /*#__PURE__*/_react.default.createElement(_material.Typography, {
|
|
222
207
|
className: classes.noResults,
|
|
223
208
|
variant: "body2"
|
|
224
|
-
}, `${intl.formatMessage(messages.noUsers)}`) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_List.default, null, followed.slice(0,
|
|
209
|
+
}, `${intl.formatMessage(messages.noUsers)}`) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_List.default, null, followed.slice(0, limit).map(user => /*#__PURE__*/_react.default.createElement(_material.ListItem, {
|
|
225
210
|
key: user.id
|
|
226
211
|
}, /*#__PURE__*/_react.default.createElement(_User.default, _extends({
|
|
227
212
|
elevation: 0,
|
|
@@ -35,7 +35,7 @@ const Root = (0, _styles.styled)(_material.Card, {
|
|
|
35
35
|
theme
|
|
36
36
|
}) => ({}));
|
|
37
37
|
/**
|
|
38
|
-
* > API documentation for the Community-
|
|
38
|
+
* > API documentation for the Community-JS Widget component. Learn about the available props and the CSS API.
|
|
39
39
|
|
|
40
40
|
#### Import
|
|
41
41
|
|
|
@@ -117,6 +117,7 @@ declare const _default: {
|
|
|
117
117
|
"ui.composer.location.label": string;
|
|
118
118
|
"ui.composer.categories.label": string;
|
|
119
119
|
"ui.composer.categories.empty": string;
|
|
120
|
+
"ui.composer.poll": string;
|
|
120
121
|
"ui.composer.poll.title": string;
|
|
121
122
|
"ui.composer.poll.choice.placeholder": string;
|
|
122
123
|
"ui.composer.poll.choice.delete": string;
|
|
@@ -403,6 +404,7 @@ declare const _default: {
|
|
|
403
404
|
"ui.IncubatorSuggestion.noMoreIncubators": string;
|
|
404
405
|
"templates.userProfile.edit": string;
|
|
405
406
|
"templates.privateMessages.button.new": string;
|
|
407
|
+
"templates.feedObjectDetail.contributionNotFound": string;
|
|
406
408
|
};
|
|
407
409
|
it: {
|
|
408
410
|
"ui.common.yes": string;
|
|
@@ -523,6 +525,7 @@ declare const _default: {
|
|
|
523
525
|
"ui.composer.location.label": string;
|
|
524
526
|
"ui.composer.categories.label": string;
|
|
525
527
|
"ui.composer.categories.empty": string;
|
|
528
|
+
"ui.composer.poll": string;
|
|
526
529
|
"ui.composer.poll.title": string;
|
|
527
530
|
"ui.composer.poll.choice.placeholder": string;
|
|
528
531
|
"ui.composer.poll.choice.delete": string;
|
|
@@ -809,6 +812,7 @@ declare const _default: {
|
|
|
809
812
|
"ui.IncubatorSuggestion.noMoreIncubators": string;
|
|
810
813
|
"templates.userProfile.edit": string;
|
|
811
814
|
"templates.privateMessages.button.new": string;
|
|
815
|
+
"templates.feedObjectDetail.contributionNotFound": string;
|
|
812
816
|
};
|
|
813
817
|
};
|
|
814
818
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../react-i18n/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../react-i18n/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAA0B"}
|
|
@@ -27,7 +27,7 @@ export interface AccountRecoverProps {
|
|
|
27
27
|
[p: string]: any;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* > API documentation for the Community-
|
|
30
|
+
* > API documentation for the Community-JS AccountRecover component. Learn about the available props and the CSS API.
|
|
31
31
|
|
|
32
32
|
#### Import
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ export interface AccountSignInProps {
|
|
|
35
35
|
[p: string]: any;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* > API documentation for the Community-
|
|
38
|
+
* > API documentation for the Community-JS AccountSignIn component. Learn about the available props and the CSS API.
|
|
39
39
|
* > This component support [OAuth2 authentication](https://developers.selfcommunity.com/docs/api/authentication/oauth#password) protocol with grant_type password
|
|
40
40
|
|
|
41
41
|
#### Import
|
|
@@ -27,7 +27,7 @@ export interface AccountSignUpProps {
|
|
|
27
27
|
[p: string]: any;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* > API documentation for the Community-
|
|
30
|
+
* > API documentation for the Community-JS AccountSignUp component. Learn about the available props and the CSS API.
|
|
31
31
|
|
|
32
32
|
#### Import
|
|
33
33
|
|
|
@@ -27,7 +27,7 @@ export interface BroadcastMessagesProps {
|
|
|
27
27
|
[p: string]: any;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
> API documentation for the Community-
|
|
30
|
+
> API documentation for the Community-JS Broadcast Messages component. Learn about the available props and the CSS API.
|
|
31
31
|
> This component handles message broadcasts. It initially displays unseen messages. If all messages have been viewed it will show at most one message.
|
|
32
32
|
*
|
|
33
33
|
#### Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BroadcastMessages/Message.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,SAAS,EASV,MAAM,eAAe,CAAC;AAOvB,OAAO,EAAC,8BAA8B,EAAC,MAAM,aAAa,CAAC;AAG3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AA0D5D,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEpD;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEnD;;;OAGG;IACH,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAE1C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAID,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BroadcastMessages/Message.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,SAAS,EASV,MAAM,eAAe,CAAC;AAOvB,OAAO,EAAC,8BAA8B,EAAC,MAAM,aAAa,CAAC;AAG3D,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AA0D5D,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEpD;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAEnD;;;OAGG;IACH,QAAQ,CAAC,EAAE,8BAA8B,CAAC;IAE1C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAID,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA2IhE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* > API documentation for the Community-
|
|
2
|
+
* > API documentation for the Community-JS Broadcast Message Skeleton component. Learn about the available props and the CSS API.
|
|
3
3
|
|
|
4
4
|
#### Import
|
|
5
5
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function MessageSkeleton(props: any): JSX.Element;
|
|
26
26
|
/**
|
|
27
|
-
* > API documentation for the Community-
|
|
27
|
+
* > API documentation for the Community-JS Broadcast Messages Skeleton component. Learn about the available props and the CSS API.
|
|
28
28
|
|
|
29
29
|
#### Import
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CategoriesListProps } from '../CategoriesSuggestion';
|
|
2
2
|
/**
|
|
3
|
-
> API documentation for the Community-
|
|
3
|
+
> API documentation for the Community-JS Categories Followed component. Learn about the available props and the CSS API.
|
|
4
4
|
*
|
|
5
5
|
#### Import
|
|
6
6
|
```jsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesFollowed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CategoriesFollowed/CategoriesFollowed.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAoC5D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"CategoriesFollowed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CategoriesFollowed/CategoriesFollowed.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAoC5D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAoKpF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* > API documentation for the Community-
|
|
2
|
+
* > API documentation for the Community-JS Categories Followed Skeleton component. Learn about the available props and the CSS API.
|
|
3
3
|
|
|
4
4
|
#### Import
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CategoriesListProps } from '../CategoriesSuggestion';
|
|
2
2
|
/**
|
|
3
|
-
> API documentation for the Community-
|
|
3
|
+
> API documentation for the Community-JS Categories Popular component. Learn about the available props and the CSS API.
|
|
4
4
|
*
|
|
5
5
|
#### Import
|
|
6
6
|
```jsx
|