@selfcommunity/react-ui 0.7.0-alpha.349 → 0.7.0-alpha.350
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/BroadcastMessages/BroadcastMessages.js +9 -27
- package/lib/cjs/components/BroadcastMessages/Message.js +14 -51
- package/lib/cjs/components/BroadcastMessages/Skeleton.d.ts +8 -8
- package/lib/cjs/components/BroadcastMessages/Skeleton.js +23 -28
- package/lib/cjs/components/BroadcastMessages/constants.d.ts +1 -0
- package/lib/cjs/components/BroadcastMessages/constants.js +4 -0
- package/lib/cjs/components/CategoryHeader/CategoryHeader.js +13 -14
- package/lib/cjs/components/CategoryHeader/Skeleton.d.ts +2 -4
- package/lib/cjs/components/CategoryHeader/Skeleton.js +7 -27
- package/lib/cjs/components/CategoryHeader/constants.d.ts +1 -0
- package/lib/cjs/components/CategoryHeader/constants.js +4 -0
- package/lib/cjs/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +12 -14
- package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.d.ts +3 -2
- package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.js +10 -8
- package/lib/cjs/components/CategoryTrendingFeedWidget/constants.d.ts +1 -0
- package/lib/cjs/components/CategoryTrendingFeedWidget/constants.js +4 -0
- package/lib/cjs/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +14 -16
- package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.js +10 -9
- package/lib/cjs/components/CategoryTrendingUsersWidget/constants.d.ts +1 -0
- package/lib/cjs/components/CategoryTrendingUsersWidget/constants.js +4 -0
- package/lib/cjs/components/ChangePicture/ChangePicture.d.ts +1 -0
- package/lib/cjs/components/ChangePicture/ChangePicture.js +9 -8
- package/lib/cjs/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +11 -19
- package/lib/cjs/components/ChangePicture/constants.d.ts +1 -0
- package/lib/cjs/components/ChangePicture/constants.js +4 -0
- package/lib/cjs/components/CommentObject/CommentObject.js +20 -21
- package/lib/cjs/components/CommentObject/Skeleton.d.ts +2 -2
- package/lib/cjs/components/CommentObject/Skeleton.js +9 -24
- package/lib/cjs/components/CommentObject/constants.d.ts +1 -0
- package/lib/cjs/components/CommentObject/constants.js +4 -0
- package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +8 -9
- package/lib/cjs/components/CommentsFeedObject/Skeleton.js +10 -1
- package/lib/cjs/components/CommentsFeedObject/constants.d.ts +1 -0
- package/lib/cjs/components/CommentsFeedObject/constants.js +4 -0
- package/lib/cjs/components/CommentsObject/CommentsObject.js +13 -14
- package/lib/cjs/components/CommentsObject/Skeleton.d.ts +2 -2
- package/lib/cjs/components/CommentsObject/Skeleton.js +8 -7
- package/lib/cjs/components/CommentsObject/constants.d.ts +1 -0
- package/lib/cjs/components/CommentsObject/constants.js +4 -0
- package/lib/cjs/components/ConsentSolution/ConsentSolution.js +22 -108
- package/lib/cjs/components/ConsentSolution/Skeleton.d.ts +7 -7
- package/lib/cjs/components/ConsentSolution/Skeleton.js +18 -43
- package/lib/cjs/components/ConsentSolution/constants.d.ts +1 -0
- package/lib/cjs/components/ConsentSolution/constants.js +4 -0
- package/lib/cjs/components/CustomAdv/CustomAdv.js +10 -30
- package/lib/cjs/components/CustomAdv/Skeleton.d.ts +2 -2
- package/lib/cjs/components/CustomAdv/Skeleton.js +6 -7
- package/lib/cjs/components/CustomAdv/constants.d.ts +1 -0
- package/lib/cjs/components/CustomAdv/constants.js +4 -0
- package/lib/cjs/components/Editor/Editor.js +32 -32
- package/lib/cjs/components/Editor/Skeleton.d.ts +2 -2
- package/lib/cjs/components/Editor/Skeleton.js +7 -8
- package/lib/cjs/components/Editor/constants.d.ts +1 -0
- package/lib/cjs/components/Editor/constants.js +4 -0
- package/lib/cjs/components/Editor/plugins/EmojiPlugin.js +5 -6
- package/lib/cjs/components/Editor/plugins/FloatingLinkPlugin.js +7 -8
- package/lib/cjs/components/Editor/plugins/HashtagPlugin.js +5 -6
- package/lib/cjs/components/Editor/plugins/ImagePlugin.js +5 -6
- package/lib/cjs/components/Editor/plugins/MentionsPlugin.js +5 -6
- package/lib/cjs/components/Editor/plugins/ToolbarPlugin.js +7 -8
- package/lib/cjs/components/Feed/Feed.js +13 -14
- package/lib/cjs/components/Feed/Skeleton.d.ts +4 -4
- package/lib/cjs/components/Feed/Skeleton.js +11 -12
- package/lib/cjs/components/Feed/constants.d.ts +1 -0
- package/lib/cjs/components/Feed/constants.js +4 -0
- package/lib/cjs/components/FeedObject/Actions/Actions.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Actions/Actions.js +7 -19
- package/lib/cjs/components/FeedObject/Actions/Comment/Comment.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Actions/Comment/Comment.js +10 -16
- package/lib/cjs/components/FeedObject/Actions/Follow/Follow.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Actions/Follow/Follow.js +9 -15
- package/lib/cjs/components/FeedObject/Actions/Share/Share.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Actions/Share/Share.js +10 -16
- package/lib/cjs/components/FeedObject/Actions/Vote/Vote.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Actions/Vote/Vote.js +10 -16
- package/lib/cjs/components/FeedObject/Activities/Activities.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/Activities.js +8 -16
- package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +7 -13
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +12 -31
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +8 -17
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +8 -22
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +7 -20
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +8 -22
- package/lib/cjs/components/FeedObject/Contributors/Contributors.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Contributors/Contributors.js +8 -34
- package/lib/cjs/components/FeedObject/Contributors/Skeleton.d.ts +2 -2
- package/lib/cjs/components/FeedObject/Contributors/Skeleton.js +8 -13
- package/lib/cjs/components/FeedObject/FeedObject.js +31 -32
- package/lib/cjs/components/FeedObject/Poll/Choice/Choice.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Poll/Choice/Choice.js +9 -34
- package/lib/cjs/components/FeedObject/Poll/Poll.d.ts +1 -1
- package/lib/cjs/components/FeedObject/Poll/Poll.js +14 -20
- package/lib/cjs/components/FeedObject/Skeleton.d.ts +3 -3
- package/lib/cjs/components/FeedObject/Skeleton.js +9 -10
- package/lib/cjs/components/FeedObject/constants.d.ts +1 -0
- package/lib/cjs/components/FeedObject/constants.js +4 -0
- package/lib/cjs/components/FeedObjectMediaPreview/FeedObjectMediaPreview.d.ts +2 -2
- package/lib/cjs/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +8 -8
- package/lib/cjs/components/FeedUpdatesWidget/FeedUpdatesWidget.js +6 -7
- package/lib/cjs/components/FeedUpdatesWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/FeedUpdatesWidget/Skeleton.js +10 -7
- package/lib/cjs/components/FeedUpdatesWidget/constants.d.ts +1 -0
- package/lib/cjs/components/FeedUpdatesWidget/constants.js +4 -0
- package/lib/cjs/components/Footer/Footer.d.ts +2 -1
- package/lib/cjs/components/Footer/Footer.js +10 -10
- package/lib/cjs/components/Footer/Skeleton.d.ts +2 -2
- package/lib/cjs/components/Footer/Skeleton.js +7 -8
- package/lib/cjs/components/Footer/constants.d.ts +1 -0
- package/lib/cjs/components/Footer/constants.js +4 -0
- package/lib/cjs/components/Incubator/Incubator.js +9 -10
- package/lib/cjs/components/Incubator/Skeleton.d.ts +6 -6
- package/lib/cjs/components/Incubator/Skeleton.js +15 -16
- package/lib/cjs/components/Incubator/constants.d.ts +1 -0
- package/lib/cjs/components/Incubator/constants.js +4 -0
- package/lib/cjs/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +11 -34
- package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.d.ts +1 -0
- package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.js +17 -16
- package/lib/cjs/components/IncubatorListWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/IncubatorListWidget/Skeleton.js +10 -7
- package/lib/cjs/components/IncubatorListWidget/constants.d.ts +1 -0
- package/lib/cjs/components/IncubatorListWidget/constants.js +4 -0
- package/lib/cjs/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +14 -16
- package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.js +10 -7
- package/lib/cjs/components/IncubatorSuggestionWidget/constants.d.ts +1 -0
- package/lib/cjs/components/IncubatorSuggestionWidget/constants.js +4 -0
- package/lib/cjs/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +10 -11
- package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.d.ts +7 -7
- package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.js +17 -18
- package/lib/cjs/components/LoyaltyProgramWidget/constants.d.ts +1 -0
- package/lib/cjs/components/LoyaltyProgramWidget/constants.js +4 -0
- package/lib/cjs/components/NavigationToolbar/NavigationToolbar.d.ts +1 -0
- package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +20 -19
- package/lib/cjs/components/NavigationToolbar/NotificationMenu.js +9 -20
- package/lib/cjs/components/NavigationToolbar/Skeleton.d.ts +5 -5
- package/lib/cjs/components/NavigationToolbar/Skeleton.js +13 -14
- package/lib/cjs/components/NavigationToolbar/constants.d.ts +1 -0
- package/lib/cjs/components/NavigationToolbar/constants.js +4 -0
- package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +13 -35
- package/lib/cjs/components/Notification/Comment/Comment.js +13 -14
- package/lib/cjs/components/Notification/Contribution/Contribution.js +13 -14
- package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +12 -35
- package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +13 -34
- package/lib/cjs/components/Notification/IncubatorApproved/IncubatorApproved.js +11 -22
- package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +13 -34
- package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +13 -35
- package/lib/cjs/components/Notification/Mention/Mention.js +12 -31
- package/lib/cjs/components/Notification/Notification.js +16 -17
- package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +16 -60
- package/lib/cjs/components/Notification/Skeleton.d.ts +2 -2
- package/lib/cjs/components/Notification/Skeleton.js +8 -7
- package/lib/cjs/components/Notification/UndeletedFor/UndeletedFor.js +13 -35
- package/lib/cjs/components/Notification/UserBlocked/UserBlocked.js +11 -25
- package/lib/cjs/components/Notification/UserConnection/UserConnection.js +11 -22
- package/lib/cjs/components/Notification/UserFollow/UserFollow.js +11 -23
- package/lib/cjs/components/Notification/VoteUp/VoteUp.js +12 -29
- package/lib/cjs/components/Notification/constants.d.ts +1 -0
- package/lib/cjs/components/Notification/constants.js +4 -0
- package/lib/cjs/components/PlatformWidget/PlatformWidget.js +7 -8
- package/lib/cjs/components/PlatformWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/PlatformWidget/Skeleton.js +7 -8
- package/lib/cjs/components/PlatformWidget/constants.d.ts +1 -0
- package/lib/cjs/components/PlatformWidget/constants.js +4 -0
- package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.d.ts +6 -5
- package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +16 -39
- package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.d.ts +1 -0
- package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.js +18 -18
- package/lib/cjs/components/PollSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/PollSuggestionWidget/Skeleton.js +10 -7
- package/lib/cjs/components/PollSuggestionWidget/constants.d.ts +1 -0
- package/lib/cjs/components/PollSuggestionWidget/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +9 -10
- package/lib/cjs/components/PrivateMessageComponent/Skeleton.d.ts +3 -3
- package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +9 -10
- package/lib/cjs/components/PrivateMessageComponent/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageComponent/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js +13 -14
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +1 -1
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +12 -13
- package/lib/cjs/components/PrivateMessageEditor/Skeleton.js +5 -6
- package/lib/cjs/components/PrivateMessageEditor/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageEditor/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +11 -12
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.d.ts +3 -3
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +10 -9
- package/lib/cjs/components/PrivateMessageSnippetItem/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageSnippetItem/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +12 -13
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.d.ts +5 -5
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js +14 -11
- package/lib/cjs/components/PrivateMessageSnippets/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageSnippets/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +18 -19
- package/lib/cjs/components/PrivateMessageThread/Skeleton.d.ts +3 -3
- package/lib/cjs/components/PrivateMessageThread/Skeleton.js +10 -11
- package/lib/cjs/components/PrivateMessageThread/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageThread/constants.js +4 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +20 -21
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.d.ts +3 -3
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.js +10 -7
- package/lib/cjs/components/PrivateMessageThreadItem/constants.d.ts +1 -0
- package/lib/cjs/components/PrivateMessageThreadItem/constants.js +4 -0
- package/lib/cjs/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +14 -16
- package/lib/cjs/components/RelatedFeedObjectsWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/RelatedFeedObjectsWidget/Skeleton.js +7 -8
- package/lib/cjs/components/RelatedFeedObjectsWidget/constants.d.ts +1 -0
- package/lib/cjs/components/RelatedFeedObjectsWidget/constants.js +4 -0
- package/lib/cjs/components/SnippetNotifications/Skeleton.d.ts +3 -3
- package/lib/cjs/components/SnippetNotifications/Skeleton.js +11 -8
- package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +11 -18
- package/lib/cjs/components/SnippetNotifications/constants.d.ts +1 -0
- package/lib/cjs/components/SnippetNotifications/constants.js +4 -0
- package/lib/cjs/components/ToastNotifications/Skeleton.d.ts +2 -2
- package/lib/cjs/components/ToastNotifications/Skeleton.js +7 -8
- package/lib/cjs/components/ToastNotifications/ToastNotifications.js +5 -6
- package/lib/cjs/components/ToastNotifications/constants.d.ts +1 -0
- package/lib/cjs/components/ToastNotifications/constants.js +4 -0
- package/lib/cjs/components/User/Skeleton.d.ts +2 -2
- package/lib/cjs/components/User/Skeleton.js +8 -5
- package/lib/cjs/components/User/User.js +6 -6
- package/lib/cjs/components/User/constants.d.ts +1 -0
- package/lib/cjs/components/User/constants.js +4 -0
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/Skeleton.js +7 -8
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +14 -16
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/constants.js +4 -0
- package/lib/cjs/components/UserConnectionsRequestsWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserConnectionsRequestsWidget/Skeleton.js +7 -8
- package/lib/cjs/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +14 -16
- package/lib/cjs/components/UserConnectionsRequestsWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserConnectionsRequestsWidget/constants.js +4 -0
- package/lib/cjs/components/UserConnectionsWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserConnectionsWidget/Skeleton.js +5 -5
- package/lib/cjs/components/UserConnectionsWidget/UserConnectionsWidget.js +14 -16
- package/lib/cjs/components/UserConnectionsWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserConnectionsWidget/constants.js +4 -0
- package/lib/cjs/components/UserFollowedCategoriesWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserFollowedCategoriesWidget/Skeleton.js +5 -8
- package/lib/cjs/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +12 -14
- package/lib/cjs/components/UserFollowedCategoriesWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserFollowedCategoriesWidget/constants.js +4 -0
- package/lib/cjs/components/UserFollowedUsersWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserFollowedUsersWidget/Skeleton.js +7 -8
- package/lib/cjs/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +12 -14
- package/lib/cjs/components/UserFollowedUsersWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserFollowedUsersWidget/constants.js +4 -0
- package/lib/cjs/components/UserFollowersWidget/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserFollowersWidget/Skeleton.js +7 -8
- package/lib/cjs/components/UserFollowersWidget/UserFollowersWidget.js +14 -16
- package/lib/cjs/components/UserFollowersWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserFollowersWidget/constants.js +4 -0
- package/lib/cjs/components/UserInfo/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserInfo/Skeleton.js +7 -8
- package/lib/cjs/components/UserInfo/UserInfo.js +7 -8
- package/lib/cjs/components/UserInfo/constants.d.ts +1 -0
- package/lib/cjs/components/UserInfo/constants.js +4 -0
- package/lib/cjs/components/UserInfoDialog/UserInfoDialog.js +9 -10
- package/lib/cjs/components/UserProfileEdit/Section/Account.js +11 -10
- package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +15 -18
- package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +8 -20
- package/lib/cjs/components/UserProfileEdit/Section/Settings.js +7 -15
- package/lib/cjs/components/UserProfileEdit/Skeleton.d.ts +2 -2
- package/lib/cjs/components/UserProfileEdit/Skeleton.js +6 -7
- package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +14 -12
- package/lib/cjs/components/UserProfileEdit/constants.d.ts +1 -0
- package/lib/cjs/components/UserProfileEdit/constants.js +4 -0
- package/lib/cjs/components/UserProfileHeader/Skeleton.d.ts +4 -4
- package/lib/cjs/components/UserProfileHeader/Skeleton.js +11 -27
- package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +12 -13
- package/lib/cjs/components/UserProfileHeader/constants.d.ts +1 -0
- package/lib/cjs/components/UserProfileHeader/constants.js +4 -0
- package/lib/cjs/components/UserSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/cjs/components/UserSuggestionWidget/Skeleton.js +10 -7
- package/lib/cjs/components/UserSuggestionWidget/UserSuggestionWidget.js +12 -14
- package/lib/cjs/components/UserSuggestionWidget/constants.d.ts +1 -0
- package/lib/cjs/components/UserSuggestionWidget/constants.js +4 -0
- package/lib/cjs/shared/ContributionActionsMenu/index.js +10 -10
- package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +3 -21
- package/lib/esm/components/BroadcastMessages/Message.js +5 -42
- package/lib/esm/components/BroadcastMessages/Skeleton.d.ts +8 -8
- package/lib/esm/components/BroadcastMessages/Skeleton.js +22 -27
- package/lib/esm/components/BroadcastMessages/constants.d.ts +1 -0
- package/lib/esm/components/BroadcastMessages/constants.js +1 -0
- package/lib/esm/components/CategoryHeader/CategoryHeader.js +3 -4
- package/lib/esm/components/CategoryHeader/Skeleton.d.ts +2 -4
- package/lib/esm/components/CategoryHeader/Skeleton.js +6 -26
- package/lib/esm/components/CategoryHeader/constants.d.ts +1 -0
- package/lib/esm/components/CategoryHeader/constants.js +1 -0
- package/lib/esm/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +3 -5
- package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.d.ts +3 -2
- package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.js +9 -7
- package/lib/esm/components/CategoryTrendingFeedWidget/constants.d.ts +1 -0
- package/lib/esm/components/CategoryTrendingFeedWidget/constants.js +1 -0
- package/lib/esm/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +5 -7
- package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.js +9 -8
- package/lib/esm/components/CategoryTrendingUsersWidget/constants.d.ts +1 -0
- package/lib/esm/components/CategoryTrendingUsersWidget/constants.js +1 -0
- package/lib/esm/components/ChangePicture/ChangePicture.d.ts +1 -0
- package/lib/esm/components/ChangePicture/ChangePicture.js +7 -6
- package/lib/esm/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +5 -13
- package/lib/esm/components/ChangePicture/constants.d.ts +1 -0
- package/lib/esm/components/ChangePicture/constants.js +1 -0
- package/lib/esm/components/CommentObject/CommentObject.js +3 -4
- package/lib/esm/components/CommentObject/Skeleton.d.ts +2 -2
- package/lib/esm/components/CommentObject/Skeleton.js +6 -21
- package/lib/esm/components/CommentObject/constants.d.ts +1 -0
- package/lib/esm/components/CommentObject/constants.js +1 -0
- package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -4
- package/lib/esm/components/CommentsFeedObject/Skeleton.js +10 -1
- package/lib/esm/components/CommentsFeedObject/constants.d.ts +1 -0
- package/lib/esm/components/CommentsFeedObject/constants.js +1 -0
- package/lib/esm/components/CommentsObject/CommentsObject.js +3 -4
- package/lib/esm/components/CommentsObject/Skeleton.d.ts +2 -2
- package/lib/esm/components/CommentsObject/Skeleton.js +8 -7
- package/lib/esm/components/CommentsObject/constants.d.ts +1 -0
- package/lib/esm/components/CommentsObject/constants.js +1 -0
- package/lib/esm/components/ConsentSolution/ConsentSolution.js +3 -89
- package/lib/esm/components/ConsentSolution/Skeleton.d.ts +7 -7
- package/lib/esm/components/ConsentSolution/Skeleton.js +11 -36
- package/lib/esm/components/ConsentSolution/constants.d.ts +1 -0
- package/lib/esm/components/ConsentSolution/constants.js +1 -0
- package/lib/esm/components/CustomAdv/CustomAdv.js +3 -23
- package/lib/esm/components/CustomAdv/Skeleton.d.ts +2 -2
- package/lib/esm/components/CustomAdv/Skeleton.js +5 -6
- package/lib/esm/components/CustomAdv/constants.d.ts +1 -0
- package/lib/esm/components/CustomAdv/constants.js +1 -0
- package/lib/esm/components/Editor/Editor.js +2 -2
- package/lib/esm/components/Editor/Skeleton.d.ts +2 -2
- package/lib/esm/components/Editor/Skeleton.js +6 -7
- package/lib/esm/components/Editor/constants.d.ts +1 -0
- package/lib/esm/components/Editor/constants.js +1 -0
- package/lib/esm/components/Editor/plugins/EmojiPlugin.js +4 -5
- package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +6 -7
- package/lib/esm/components/Editor/plugins/HashtagPlugin.js +4 -5
- package/lib/esm/components/Editor/plugins/ImagePlugin.js +5 -6
- package/lib/esm/components/Editor/plugins/MentionsPlugin.js +4 -5
- package/lib/esm/components/Editor/plugins/ToolbarPlugin.js +4 -5
- package/lib/esm/components/Feed/Feed.js +6 -7
- package/lib/esm/components/Feed/Skeleton.d.ts +4 -4
- package/lib/esm/components/Feed/Skeleton.js +8 -9
- package/lib/esm/components/Feed/constants.d.ts +1 -0
- package/lib/esm/components/Feed/constants.js +1 -0
- package/lib/esm/components/FeedObject/Actions/Actions.d.ts +1 -1
- package/lib/esm/components/FeedObject/Actions/Actions.js +6 -18
- package/lib/esm/components/FeedObject/Actions/Comment/Comment.d.ts +1 -1
- package/lib/esm/components/FeedObject/Actions/Comment/Comment.js +9 -15
- package/lib/esm/components/FeedObject/Actions/Follow/Follow.d.ts +1 -1
- package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +8 -14
- package/lib/esm/components/FeedObject/Actions/Share/Share.d.ts +1 -1
- package/lib/esm/components/FeedObject/Actions/Share/Share.js +11 -17
- package/lib/esm/components/FeedObject/Actions/Vote/Vote.d.ts +1 -1
- package/lib/esm/components/FeedObject/Actions/Vote/Vote.js +9 -15
- package/lib/esm/components/FeedObject/Activities/Activities.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/Activities.js +6 -14
- package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +6 -12
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +12 -31
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +6 -15
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +7 -21
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +6 -19
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.d.ts +1 -1
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +7 -21
- package/lib/esm/components/FeedObject/Contributors/Contributors.d.ts +1 -1
- package/lib/esm/components/FeedObject/Contributors/Contributors.js +7 -33
- package/lib/esm/components/FeedObject/Contributors/Skeleton.d.ts +2 -2
- package/lib/esm/components/FeedObject/Contributors/Skeleton.js +6 -11
- package/lib/esm/components/FeedObject/FeedObject.js +5 -6
- package/lib/esm/components/FeedObject/Poll/Choice/Choice.d.ts +1 -1
- package/lib/esm/components/FeedObject/Poll/Choice/Choice.js +8 -33
- package/lib/esm/components/FeedObject/Poll/Poll.d.ts +1 -1
- package/lib/esm/components/FeedObject/Poll/Poll.js +13 -19
- package/lib/esm/components/FeedObject/Skeleton.d.ts +3 -3
- package/lib/esm/components/FeedObject/Skeleton.js +6 -7
- package/lib/esm/components/FeedObject/constants.d.ts +1 -0
- package/lib/esm/components/FeedObject/constants.js +1 -0
- package/lib/esm/components/FeedObjectMediaPreview/FeedObjectMediaPreview.d.ts +2 -2
- package/lib/esm/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +6 -6
- package/lib/esm/components/FeedUpdatesWidget/FeedUpdatesWidget.js +2 -3
- package/lib/esm/components/FeedUpdatesWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/FeedUpdatesWidget/Skeleton.js +9 -6
- package/lib/esm/components/FeedUpdatesWidget/constants.d.ts +1 -0
- package/lib/esm/components/FeedUpdatesWidget/constants.js +1 -0
- package/lib/esm/components/Footer/Footer.d.ts +2 -1
- package/lib/esm/components/Footer/Footer.js +4 -4
- package/lib/esm/components/Footer/Skeleton.d.ts +2 -2
- package/lib/esm/components/Footer/Skeleton.js +6 -7
- package/lib/esm/components/Footer/constants.d.ts +1 -0
- package/lib/esm/components/Footer/constants.js +1 -0
- package/lib/esm/components/Incubator/Incubator.js +3 -4
- package/lib/esm/components/Incubator/Skeleton.d.ts +6 -6
- package/lib/esm/components/Incubator/Skeleton.js +10 -11
- package/lib/esm/components/Incubator/constants.d.ts +1 -0
- package/lib/esm/components/Incubator/constants.js +1 -0
- package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +4 -27
- package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.d.ts +1 -0
- package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.js +6 -5
- package/lib/esm/components/IncubatorListWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/IncubatorListWidget/Skeleton.js +9 -6
- package/lib/esm/components/IncubatorListWidget/constants.d.ts +1 -0
- package/lib/esm/components/IncubatorListWidget/constants.js +1 -0
- package/lib/esm/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +5 -7
- package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.js +9 -6
- package/lib/esm/components/IncubatorSuggestionWidget/constants.d.ts +1 -0
- package/lib/esm/components/IncubatorSuggestionWidget/constants.js +1 -0
- package/lib/esm/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +3 -4
- package/lib/esm/components/LoyaltyProgramWidget/Skeleton.d.ts +7 -7
- package/lib/esm/components/LoyaltyProgramWidget/Skeleton.js +11 -12
- package/lib/esm/components/LoyaltyProgramWidget/constants.d.ts +1 -0
- package/lib/esm/components/LoyaltyProgramWidget/constants.js +1 -0
- package/lib/esm/components/NavigationToolbar/NavigationToolbar.d.ts +1 -0
- package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +5 -4
- package/lib/esm/components/NavigationToolbar/NotificationMenu.js +4 -15
- package/lib/esm/components/NavigationToolbar/Skeleton.d.ts +5 -5
- package/lib/esm/components/NavigationToolbar/Skeleton.js +9 -10
- package/lib/esm/components/NavigationToolbar/constants.d.ts +1 -0
- package/lib/esm/components/NavigationToolbar/constants.js +1 -0
- package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +4 -26
- package/lib/esm/components/Notification/Comment/Comment.js +4 -5
- package/lib/esm/components/Notification/Contribution/Contribution.js +4 -5
- package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +4 -27
- package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +5 -26
- package/lib/esm/components/Notification/IncubatorApproved/IncubatorApproved.js +4 -15
- package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +4 -25
- package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +4 -26
- package/lib/esm/components/Notification/Mention/Mention.js +4 -23
- package/lib/esm/components/Notification/Notification.js +3 -4
- package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +4 -48
- package/lib/esm/components/Notification/Skeleton.d.ts +2 -2
- package/lib/esm/components/Notification/Skeleton.js +8 -7
- package/lib/esm/components/Notification/UndeletedFor/UndeletedFor.js +4 -26
- package/lib/esm/components/Notification/UserBlocked/UserBlocked.js +4 -18
- package/lib/esm/components/Notification/UserConnection/UserConnection.js +4 -15
- package/lib/esm/components/Notification/UserFollow/UserFollow.js +4 -16
- package/lib/esm/components/Notification/VoteUp/VoteUp.js +4 -21
- package/lib/esm/components/Notification/constants.d.ts +1 -0
- package/lib/esm/components/Notification/constants.js +1 -0
- package/lib/esm/components/PlatformWidget/PlatformWidget.js +3 -4
- package/lib/esm/components/PlatformWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/PlatformWidget/Skeleton.js +6 -7
- package/lib/esm/components/PlatformWidget/constants.d.ts +1 -0
- package/lib/esm/components/PlatformWidget/constants.js +1 -0
- package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.d.ts +6 -5
- package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +10 -33
- package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.d.ts +1 -0
- package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.js +10 -10
- package/lib/esm/components/PollSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/PollSuggestionWidget/Skeleton.js +9 -6
- package/lib/esm/components/PollSuggestionWidget/constants.d.ts +1 -0
- package/lib/esm/components/PollSuggestionWidget/constants.js +1 -0
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +3 -4
- package/lib/esm/components/PrivateMessageComponent/Skeleton.d.ts +3 -3
- package/lib/esm/components/PrivateMessageComponent/Skeleton.js +6 -7
- package/lib/esm/components/PrivateMessageComponent/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageComponent/constants.js +1 -0
- package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js +4 -5
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +1 -1
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -7
- package/lib/esm/components/PrivateMessageEditor/Skeleton.js +4 -5
- package/lib/esm/components/PrivateMessageEditor/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageEditor/constants.js +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -4
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.d.ts +3 -3
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +9 -8
- package/lib/esm/components/PrivateMessageSnippetItem/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageSnippetItem/constants.js +1 -0
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +3 -4
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.d.ts +5 -5
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +11 -8
- package/lib/esm/components/PrivateMessageSnippets/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageSnippets/constants.js +1 -0
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +3 -4
- package/lib/esm/components/PrivateMessageThread/Skeleton.d.ts +3 -3
- package/lib/esm/components/PrivateMessageThread/Skeleton.js +7 -8
- package/lib/esm/components/PrivateMessageThread/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageThread/constants.js +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +11 -12
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.d.ts +3 -3
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.js +9 -6
- package/lib/esm/components/PrivateMessageThreadItem/constants.d.ts +1 -0
- package/lib/esm/components/PrivateMessageThreadItem/constants.js +1 -0
- package/lib/esm/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +5 -7
- package/lib/esm/components/RelatedFeedObjectsWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/RelatedFeedObjectsWidget/Skeleton.js +6 -7
- package/lib/esm/components/RelatedFeedObjectsWidget/constants.d.ts +1 -0
- package/lib/esm/components/RelatedFeedObjectsWidget/constants.js +1 -0
- package/lib/esm/components/SnippetNotifications/Skeleton.d.ts +3 -3
- package/lib/esm/components/SnippetNotifications/Skeleton.js +9 -6
- package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +3 -10
- package/lib/esm/components/SnippetNotifications/constants.d.ts +1 -0
- package/lib/esm/components/SnippetNotifications/constants.js +1 -0
- package/lib/esm/components/ToastNotifications/Skeleton.d.ts +2 -2
- package/lib/esm/components/ToastNotifications/Skeleton.js +6 -7
- package/lib/esm/components/ToastNotifications/ToastNotifications.js +3 -4
- package/lib/esm/components/ToastNotifications/constants.d.ts +1 -0
- package/lib/esm/components/ToastNotifications/constants.js +1 -0
- package/lib/esm/components/User/Skeleton.d.ts +2 -2
- package/lib/esm/components/User/Skeleton.js +8 -5
- package/lib/esm/components/User/User.js +1 -1
- package/lib/esm/components/User/constants.d.ts +1 -0
- package/lib/esm/components/User/constants.js +1 -0
- package/lib/esm/components/UserConnectionsRequestsSentWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserConnectionsRequestsSentWidget/Skeleton.js +6 -7
- package/lib/esm/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +5 -7
- package/lib/esm/components/UserConnectionsRequestsSentWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserConnectionsRequestsSentWidget/constants.js +1 -0
- package/lib/esm/components/UserConnectionsRequestsWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserConnectionsRequestsWidget/Skeleton.js +6 -7
- package/lib/esm/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +5 -7
- package/lib/esm/components/UserConnectionsRequestsWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserConnectionsRequestsWidget/constants.js +1 -0
- package/lib/esm/components/UserConnectionsWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserConnectionsWidget/Skeleton.js +4 -4
- package/lib/esm/components/UserConnectionsWidget/UserConnectionsWidget.js +5 -7
- package/lib/esm/components/UserConnectionsWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserConnectionsWidget/constants.js +1 -0
- package/lib/esm/components/UserFollowedCategoriesWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserFollowedCategoriesWidget/Skeleton.js +5 -8
- package/lib/esm/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +3 -5
- package/lib/esm/components/UserFollowedCategoriesWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserFollowedCategoriesWidget/constants.js +1 -0
- package/lib/esm/components/UserFollowedUsersWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserFollowedUsersWidget/Skeleton.js +6 -7
- package/lib/esm/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +3 -5
- package/lib/esm/components/UserFollowedUsersWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserFollowedUsersWidget/constants.js +1 -0
- package/lib/esm/components/UserFollowersWidget/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserFollowersWidget/Skeleton.js +6 -7
- package/lib/esm/components/UserFollowersWidget/UserFollowersWidget.js +5 -7
- package/lib/esm/components/UserFollowersWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserFollowersWidget/constants.js +1 -0
- package/lib/esm/components/UserInfo/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserInfo/Skeleton.js +5 -6
- package/lib/esm/components/UserInfo/UserInfo.js +3 -4
- package/lib/esm/components/UserInfo/constants.d.ts +1 -0
- package/lib/esm/components/UserInfo/constants.js +1 -0
- package/lib/esm/components/UserInfoDialog/UserInfoDialog.js +4 -5
- package/lib/esm/components/UserProfileEdit/Section/Account.js +8 -7
- package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +5 -8
- package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +4 -16
- package/lib/esm/components/UserProfileEdit/Section/Settings.js +4 -12
- package/lib/esm/components/UserProfileEdit/Skeleton.d.ts +2 -2
- package/lib/esm/components/UserProfileEdit/Skeleton.js +5 -6
- package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +10 -8
- package/lib/esm/components/UserProfileEdit/constants.d.ts +1 -0
- package/lib/esm/components/UserProfileEdit/constants.js +1 -0
- package/lib/esm/components/UserProfileHeader/Skeleton.d.ts +4 -4
- package/lib/esm/components/UserProfileHeader/Skeleton.js +8 -24
- package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +3 -4
- package/lib/esm/components/UserProfileHeader/constants.d.ts +1 -0
- package/lib/esm/components/UserProfileHeader/constants.js +1 -0
- package/lib/esm/components/UserSuggestionWidget/Skeleton.d.ts +3 -3
- package/lib/esm/components/UserSuggestionWidget/Skeleton.js +9 -6
- package/lib/esm/components/UserSuggestionWidget/UserSuggestionWidget.js +3 -5
- package/lib/esm/components/UserSuggestionWidget/constants.d.ts +1 -0
- package/lib/esm/components/UserSuggestionWidget/constants.js +1 -0
- package/lib/esm/shared/ContributionActionsMenu/index.js +10 -10
- package/lib/umd/react-ui.js +1 -1
- package/package.json +4 -4
|
@@ -10,15 +10,15 @@ import classNames from 'classnames';
|
|
|
10
10
|
import { SCNotificationObjectTemplateType } from '../../../types';
|
|
11
11
|
import { useThemeProps } from '@mui/system';
|
|
12
12
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
13
|
+
import { PREFIX } from '../constants';
|
|
13
14
|
const messages = defineMessages({
|
|
14
15
|
incubatorApproved: {
|
|
15
16
|
id: 'ui.notification.incubatorApproved.approved',
|
|
16
17
|
defaultMessage: 'ui.notification.incubatorApproved.approved'
|
|
17
18
|
}
|
|
18
19
|
});
|
|
19
|
-
const PREFIX = 'SCIncubatorApprovedNotification';
|
|
20
20
|
const classes = {
|
|
21
|
-
root: `${PREFIX}-root`,
|
|
21
|
+
root: `${PREFIX}-incubator-approved-root`,
|
|
22
22
|
categoryIcon: `${PREFIX}-category-icon`,
|
|
23
23
|
categoryApprovedText: `${PREFIX}-category-approved-text`,
|
|
24
24
|
activeAt: `${PREFIX}-active-at`,
|
|
@@ -26,19 +26,8 @@ const classes = {
|
|
|
26
26
|
};
|
|
27
27
|
const Root = styled(NotificationItem, {
|
|
28
28
|
name: PREFIX,
|
|
29
|
-
slot: '
|
|
30
|
-
|
|
31
|
-
})(({ theme }) => ({
|
|
32
|
-
[`& .${classes.categoryIcon}`]: {
|
|
33
|
-
borderRadius: 3
|
|
34
|
-
},
|
|
35
|
-
[`& .${classes.viewIncubatorButton}`]: {
|
|
36
|
-
padding: theme.spacing(),
|
|
37
|
-
paddingBottom: 0,
|
|
38
|
-
textTransform: 'initial',
|
|
39
|
-
marginLeft: -8
|
|
40
|
-
}
|
|
41
|
-
}));
|
|
29
|
+
slot: 'IncubatorApprovedRoot'
|
|
30
|
+
})(() => ({}));
|
|
42
31
|
export default function IncubatorApprovedNotification(inProps) {
|
|
43
32
|
// PROPS
|
|
44
33
|
const props = useThemeProps({
|
|
@@ -12,16 +12,15 @@ import classNames from 'classnames';
|
|
|
12
12
|
import { SCNotificationObjectTemplateType } from '../../../types';
|
|
13
13
|
import { useThemeProps } from '@mui/system';
|
|
14
14
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
15
|
-
import {
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
16
16
|
const messages = defineMessages({
|
|
17
17
|
kindlyNoticeFlag: {
|
|
18
18
|
id: 'ui.notification.kindlyNoticeFlag.kindlyNoticeFlag',
|
|
19
19
|
defaultMessage: 'ui.notification.kindlyNoticeFlag.kindlyNoticeFlag'
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const PREFIX = 'SCKindlyNoticeFlagNotification';
|
|
23
22
|
const classes = {
|
|
24
|
-
root: `${PREFIX}-root`,
|
|
23
|
+
root: `${PREFIX}-kindly-notice-flag-root`,
|
|
25
24
|
flagIcon: `${PREFIX}-flag-icon`,
|
|
26
25
|
flagText: `${PREFIX}-flag-text`,
|
|
27
26
|
activeAt: `${PREFIX}-active-at`,
|
|
@@ -31,28 +30,8 @@ const classes = {
|
|
|
31
30
|
};
|
|
32
31
|
const Root = styled(NotificationItem, {
|
|
33
32
|
name: PREFIX,
|
|
34
|
-
slot: '
|
|
35
|
-
|
|
36
|
-
})(({ theme }) => ({
|
|
37
|
-
[`& .${classes.flagIcon}`]: {
|
|
38
|
-
backgroundColor: red[500],
|
|
39
|
-
color: '#FFF'
|
|
40
|
-
},
|
|
41
|
-
[`& .${classes.flagText}`]: {
|
|
42
|
-
color: theme.palette.text.primary
|
|
43
|
-
},
|
|
44
|
-
[`& .${classes.contributionWrap}`]: {
|
|
45
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2)}`,
|
|
46
|
-
textOverflow: 'ellipsis',
|
|
47
|
-
display: 'inline',
|
|
48
|
-
overflow: 'hidden'
|
|
49
|
-
},
|
|
50
|
-
[`& .${classes.contributionText}`]: {
|
|
51
|
-
'&:hover': {
|
|
52
|
-
textDecoration: 'underline'
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}));
|
|
33
|
+
slot: 'KindlyNoticeFlagRoot'
|
|
34
|
+
})(() => ({}));
|
|
56
35
|
/**
|
|
57
36
|
* This component render the content of the notification of type kindly notice flag
|
|
58
37
|
* @param inProps
|
|
@@ -12,7 +12,7 @@ import classNames from 'classnames';
|
|
|
12
12
|
import { SCNotificationObjectTemplateType } from '../../../types';
|
|
13
13
|
import { useThemeProps } from '@mui/system';
|
|
14
14
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
15
|
-
import {
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
16
16
|
const messages = defineMessages({
|
|
17
17
|
youWrote: {
|
|
18
18
|
id: 'ui.notification.kindlyNoticeFor.youWrote',
|
|
@@ -39,9 +39,8 @@ const messages = defineMessages({
|
|
|
39
39
|
defaultMessage: 'ui.notification.kindlyNoticeFor.kindlyNoticeOfftopic'
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
const PREFIX = 'SCKindlyNoticeForNotification';
|
|
43
42
|
const classes = {
|
|
44
|
-
root: `${PREFIX}-root`,
|
|
43
|
+
root: `${PREFIX}-kindly-notice-for-root`,
|
|
45
44
|
flagIcon: `${PREFIX}-flag-icon`,
|
|
46
45
|
flagText: `${PREFIX}-flag-text`,
|
|
47
46
|
activeAt: `${PREFIX}-active-at`,
|
|
@@ -51,29 +50,8 @@ const classes = {
|
|
|
51
50
|
};
|
|
52
51
|
const Root = styled(NotificationItem, {
|
|
53
52
|
name: PREFIX,
|
|
54
|
-
slot: '
|
|
55
|
-
|
|
56
|
-
})(({ theme }) => ({
|
|
57
|
-
width: '100%',
|
|
58
|
-
[`& .${classes.flagIcon}`]: {
|
|
59
|
-
backgroundColor: red[500],
|
|
60
|
-
color: '#FFF'
|
|
61
|
-
},
|
|
62
|
-
[`& .${classes.flagText}`]: {
|
|
63
|
-
color: theme.palette.text.primary
|
|
64
|
-
},
|
|
65
|
-
[`& .${classes.contributionWrap}`]: {
|
|
66
|
-
padding: `${theme.spacing(2)} ${theme.spacing(2)}`,
|
|
67
|
-
textOverflow: 'ellipsis',
|
|
68
|
-
display: 'inline',
|
|
69
|
-
overflow: 'hidden'
|
|
70
|
-
},
|
|
71
|
-
[`& .${classes.contributionText}`]: {
|
|
72
|
-
'&:hover': {
|
|
73
|
-
textDecoration: 'underline'
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}));
|
|
53
|
+
slot: 'KindlyNoticeForRoot'
|
|
54
|
+
})(() => ({}));
|
|
77
55
|
/**
|
|
78
56
|
* This component render the content of the notification of type kindly notice for
|
|
79
57
|
* @param inProps
|
|
@@ -12,15 +12,15 @@ import { useThemeProps } from '@mui/system';
|
|
|
12
12
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
13
13
|
import UserDeletedSnackBar from '../../../shared/UserDeletedSnackBar';
|
|
14
14
|
import UserAvatar from '../../../shared/UserAvatar';
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
15
16
|
const messages = defineMessages({
|
|
16
17
|
quotedYouOn: {
|
|
17
18
|
id: 'ui.notification.mention.quotedYou',
|
|
18
19
|
defaultMessage: 'ui.notification.mention.quotedYou'
|
|
19
20
|
}
|
|
20
21
|
});
|
|
21
|
-
const PREFIX = 'SCNotificationMention';
|
|
22
22
|
const classes = {
|
|
23
|
-
root: `${PREFIX}-root`,
|
|
23
|
+
root: `${PREFIX}-mention-root`,
|
|
24
24
|
avatar: `${PREFIX}-avatar`,
|
|
25
25
|
username: `${PREFIX}-username`,
|
|
26
26
|
mentionText: `${PREFIX}-mention-text`,
|
|
@@ -29,27 +29,8 @@ const classes = {
|
|
|
29
29
|
};
|
|
30
30
|
const Root = styled(NotificationItem, {
|
|
31
31
|
name: PREFIX,
|
|
32
|
-
slot: '
|
|
33
|
-
|
|
34
|
-
})(({ theme }) => ({
|
|
35
|
-
[`& .${classes.username}`]: {
|
|
36
|
-
fontWeight: 700,
|
|
37
|
-
'&:hover': {
|
|
38
|
-
textDecoration: 'underline'
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
[`& .${classes.mentionText}`]: {
|
|
42
|
-
color: theme.palette.text.primary
|
|
43
|
-
},
|
|
44
|
-
[`& .${classes.contributionText}`]: {
|
|
45
|
-
'&:hover': {
|
|
46
|
-
textDecoration: 'underline'
|
|
47
|
-
},
|
|
48
|
-
textOverflow: 'ellipsis',
|
|
49
|
-
display: 'inline',
|
|
50
|
-
overflow: 'hidden'
|
|
51
|
-
}
|
|
52
|
-
}));
|
|
32
|
+
slot: 'MentionRoot'
|
|
33
|
+
})(() => ({}));
|
|
53
34
|
/**
|
|
54
35
|
* This component render the content of the notification of type mention
|
|
55
36
|
* @param inProps
|
|
@@ -32,13 +32,13 @@ import { Logger } from '@selfcommunity/utils';
|
|
|
32
32
|
import { SCNotificationTypologyType } from '@selfcommunity/types';
|
|
33
33
|
import UserDeletedSnackBar from '../../shared/UserDeletedSnackBar';
|
|
34
34
|
import UserAvatar from '../../shared/UserAvatar';
|
|
35
|
+
import { PREFIX } from './constants';
|
|
35
36
|
const messages = defineMessages({
|
|
36
37
|
receivePrivateMessage: {
|
|
37
38
|
id: 'ui.notification.receivePrivateMessage',
|
|
38
39
|
defaultMessage: 'ui.notification.receivePrivateMessage'
|
|
39
40
|
}
|
|
40
41
|
});
|
|
41
|
-
const PREFIX = 'SCNotification';
|
|
42
42
|
const classes = {
|
|
43
43
|
root: `${PREFIX}-root`,
|
|
44
44
|
header: `${PREFIX}-header`,
|
|
@@ -54,9 +54,8 @@ const classes = {
|
|
|
54
54
|
};
|
|
55
55
|
const Root = styled(Widget, {
|
|
56
56
|
name: PREFIX,
|
|
57
|
-
slot: 'Root'
|
|
58
|
-
|
|
59
|
-
})(({ theme }) => ({}));
|
|
57
|
+
slot: 'Root'
|
|
58
|
+
})(() => ({}));
|
|
60
59
|
/**
|
|
61
60
|
*
|
|
62
61
|
> API documentation for the Community-JS UserNotification component. Learn about the available props and the CSS API.
|
|
@@ -12,15 +12,15 @@ import NotificationItem from '../../../shared/NotificationItem';
|
|
|
12
12
|
import { LoadingButton } from '@mui/lab';
|
|
13
13
|
import UserDeletedSnackBar from '../../../shared/UserDeletedSnackBar';
|
|
14
14
|
import UserAvatar from '../../../shared/UserAvatar';
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
15
16
|
const messages = defineMessages({
|
|
16
17
|
receivePrivateMessage: {
|
|
17
18
|
id: 'ui.notification.receivePrivateMessage',
|
|
18
19
|
defaultMessage: 'ui.notification.receivePrivateMessage'
|
|
19
20
|
}
|
|
20
21
|
});
|
|
21
|
-
const PREFIX = 'SCNotificationPrivateMessage';
|
|
22
22
|
const classes = {
|
|
23
|
-
root: `${PREFIX}-root`,
|
|
23
|
+
root: `${PREFIX}-private-message-root`,
|
|
24
24
|
avatar: `${PREFIX}-avatar`,
|
|
25
25
|
actions: `${PREFIX}-actions`,
|
|
26
26
|
replyButton: `${PREFIX}-reply-button`,
|
|
@@ -32,52 +32,8 @@ const classes = {
|
|
|
32
32
|
};
|
|
33
33
|
const Root = styled(NotificationItem, {
|
|
34
34
|
name: PREFIX,
|
|
35
|
-
slot: '
|
|
36
|
-
|
|
37
|
-
})(({ theme }) => ({
|
|
38
|
-
[`& .${classes.username}`]: {
|
|
39
|
-
display: 'inline',
|
|
40
|
-
fontWeight: 700,
|
|
41
|
-
'&:hover': {
|
|
42
|
-
textDecoration: 'underline'
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
[`& .${classes.messageLabel}`]: {
|
|
46
|
-
color: theme.palette.text.primary
|
|
47
|
-
},
|
|
48
|
-
[`& .${classes.messageWrap}`]: {
|
|
49
|
-
textOverflow: 'ellipsis',
|
|
50
|
-
overflow: 'hidden',
|
|
51
|
-
WebkitLineClamp: '2',
|
|
52
|
-
lineClamp: 2,
|
|
53
|
-
WebkitBoxOrient: 'vertical',
|
|
54
|
-
'& p': {
|
|
55
|
-
margin: 0
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
[`& .${classes.message}`]: {
|
|
59
|
-
height: 20,
|
|
60
|
-
overflowY: 'hidden',
|
|
61
|
-
textOverflow: 'ellipsis',
|
|
62
|
-
display: 'inline',
|
|
63
|
-
overflow: 'hidden',
|
|
64
|
-
'&:hover': {
|
|
65
|
-
textDecoration: 'underline'
|
|
66
|
-
},
|
|
67
|
-
'& > p': {
|
|
68
|
-
overflowY: 'hidden',
|
|
69
|
-
textOverflow: 'ellipsis',
|
|
70
|
-
display: '-webkit-box',
|
|
71
|
-
WebkitLineClamp: '2',
|
|
72
|
-
lineClamp: 2,
|
|
73
|
-
WebkitBoxOrient: 'vertical'
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
[`& .${classes.actions}`]: {
|
|
77
|
-
fontSize: '13px',
|
|
78
|
-
maxWidth: '40%'
|
|
79
|
-
}
|
|
80
|
-
}));
|
|
35
|
+
slot: 'PrivateMessageRoot'
|
|
36
|
+
})(() => ({}));
|
|
81
37
|
/**
|
|
82
38
|
* This component render the content of the notification of type private message
|
|
83
39
|
* @param inProps
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCNotification-skeleton-root` can be used when providing style overrides in the theme.
|
|
13
13
|
|
|
14
14
|
#### CSS
|
|
15
15
|
|
|
16
16
|
|Rule Name|Global class|Description|
|
|
17
17
|
|---|---|---|
|
|
18
|
-
|root|.
|
|
18
|
+
|root|.SCNotification-skeleton-root|Styles applied to the root element.|
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export default function NotificationSkeleton(props: any): JSX.Element;
|
|
@@ -4,13 +4,14 @@ import { styled } from '@mui/material/styles';
|
|
|
4
4
|
import { CardHeader, useTheme } from '@mui/material';
|
|
5
5
|
import Skeleton from '@mui/material/Skeleton';
|
|
6
6
|
import Widget from '../Widget';
|
|
7
|
-
|
|
7
|
+
import { PREFIX } from './constants';
|
|
8
8
|
const classes = {
|
|
9
|
-
root: `${PREFIX}-root`
|
|
9
|
+
root: `${PREFIX}-skeleton-root`
|
|
10
10
|
};
|
|
11
|
-
const Root = styled(Widget
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const Root = styled(Widget, {
|
|
12
|
+
name: PREFIX,
|
|
13
|
+
slot: 'SkeletonRoot'
|
|
14
|
+
})(() => ({}));
|
|
14
15
|
/**
|
|
15
16
|
* > API documentation for the Community-JS Notification Skeleton component. Learn about the available props and the CSS API.
|
|
16
17
|
|
|
@@ -22,13 +23,13 @@ const Root = styled(Widget)(({ theme }) => ({
|
|
|
22
23
|
|
|
23
24
|
#### Component Name
|
|
24
25
|
|
|
25
|
-
The name `
|
|
26
|
+
The name `SCNotification-skeleton-root` can be used when providing style overrides in the theme.
|
|
26
27
|
|
|
27
28
|
#### CSS
|
|
28
29
|
|
|
29
30
|
|Rule Name|Global class|Description|
|
|
30
31
|
|---|---|---|
|
|
31
|
-
|root|.
|
|
32
|
+
|root|.SCNotification-skeleton-root|Styles applied to the root element.|
|
|
32
33
|
*
|
|
33
34
|
*/
|
|
34
35
|
export default function NotificationSkeleton(props) {
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
4
|
import { Avatar, Box, Stack, Typography } from '@mui/material';
|
|
5
5
|
import Icon from '@mui/material/Icon';
|
|
6
|
-
import { red } from '@mui/material/colors';
|
|
7
6
|
import { Link, SCRoutes, useSCRouting } from '@selfcommunity/react-core';
|
|
8
7
|
import { FormattedMessage } from 'react-intl';
|
|
9
8
|
import { getContributionSnippet, getContributionType, getRouteData } from '../../../utils/contribution';
|
|
@@ -12,9 +11,9 @@ import classNames from 'classnames';
|
|
|
12
11
|
import { SCNotificationObjectTemplateType } from '../../../types';
|
|
13
12
|
import { useThemeProps } from '@mui/system';
|
|
14
13
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
15
|
-
|
|
14
|
+
import { PREFIX } from '../constants';
|
|
16
15
|
const classes = {
|
|
17
|
-
root: `${PREFIX}-root`,
|
|
16
|
+
root: `${PREFIX}-undeleted-for-root`,
|
|
18
17
|
undeletedIcon: `${PREFIX}-undeleted-icon`,
|
|
19
18
|
undeletedText: `${PREFIX}-undeleted-text`,
|
|
20
19
|
activeAt: `${PREFIX}-active-at`,
|
|
@@ -24,29 +23,8 @@ const classes = {
|
|
|
24
23
|
};
|
|
25
24
|
const Root = styled(NotificationItem, {
|
|
26
25
|
name: PREFIX,
|
|
27
|
-
slot: '
|
|
28
|
-
|
|
29
|
-
})(({ theme }) => ({
|
|
30
|
-
[`& .${classes.undeletedIcon}`]: {
|
|
31
|
-
backgroundColor: red[500],
|
|
32
|
-
color: '#FFF'
|
|
33
|
-
},
|
|
34
|
-
[`& .${classes.undeletedText}`]: {
|
|
35
|
-
color: theme.palette.text.primary
|
|
36
|
-
},
|
|
37
|
-
[`& .${classes.contributionWrap}`]: {
|
|
38
|
-
marginBottom: theme.spacing(1),
|
|
39
|
-
padding: theme.spacing(2),
|
|
40
|
-
textOverflow: 'ellipsis',
|
|
41
|
-
display: 'inline',
|
|
42
|
-
overflow: 'hidden'
|
|
43
|
-
},
|
|
44
|
-
[`& .${classes.contributionText}`]: {
|
|
45
|
-
'&:hover': {
|
|
46
|
-
textDecoration: 'underline'
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}));
|
|
26
|
+
slot: 'UndeletedForRoot'
|
|
27
|
+
})(() => ({}));
|
|
50
28
|
/**
|
|
51
29
|
* This component render the content of the notification of type undeleted for
|
|
52
30
|
* @param inProps
|
|
@@ -2,7 +2,6 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
4
|
import { Avatar, Stack, Typography } from '@mui/material';
|
|
5
|
-
import { green, red } from '@mui/material/colors';
|
|
6
5
|
import Icon from '@mui/material/Icon';
|
|
7
6
|
import { SCNotificationTypologyType } from '@selfcommunity/types';
|
|
8
7
|
import { defineMessages, useIntl } from 'react-intl';
|
|
@@ -11,6 +10,7 @@ import classNames from 'classnames';
|
|
|
11
10
|
import { SCNotificationObjectTemplateType } from '../../../types';
|
|
12
11
|
import { useThemeProps } from '@mui/system';
|
|
13
12
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
13
|
+
import { PREFIX } from '../constants';
|
|
14
14
|
const messages = defineMessages({
|
|
15
15
|
accountBlocked: {
|
|
16
16
|
id: 'ui.notification.userBlocked.accountBlocked',
|
|
@@ -21,9 +21,8 @@ const messages = defineMessages({
|
|
|
21
21
|
defaultMessage: 'ui.notification.userBlocked.accountReactivated'
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
const PREFIX = 'SCUserBlockedNotification';
|
|
25
24
|
const classes = {
|
|
26
|
-
root: `${PREFIX}-root`,
|
|
25
|
+
root: `${PREFIX}-user-blocked-root`,
|
|
27
26
|
unBlockedIcon: `${PREFIX}-unblocked-icon`,
|
|
28
27
|
blockedIcon: `${PREFIX}-blocked-icon`,
|
|
29
28
|
blockedText: `${PREFIX}-blocked-text`,
|
|
@@ -31,21 +30,8 @@ const classes = {
|
|
|
31
30
|
};
|
|
32
31
|
const Root = styled(NotificationItem, {
|
|
33
32
|
name: PREFIX,
|
|
34
|
-
slot: '
|
|
35
|
-
|
|
36
|
-
})(({ theme }) => ({
|
|
37
|
-
[`& .${classes.unBlockedIcon}`]: {
|
|
38
|
-
backgroundColor: green[500],
|
|
39
|
-
color: '#FFF'
|
|
40
|
-
},
|
|
41
|
-
[`& .${classes.blockedIcon}`]: {
|
|
42
|
-
backgroundColor: red[500],
|
|
43
|
-
color: '#FFF'
|
|
44
|
-
},
|
|
45
|
-
[`& .${classes.blockedText}`]: {
|
|
46
|
-
color: theme.palette.text.primary
|
|
47
|
-
}
|
|
48
|
-
}));
|
|
33
|
+
slot: 'UserBlockedRoot'
|
|
34
|
+
})(() => ({}));
|
|
49
35
|
/**
|
|
50
36
|
* This component render the content of the notification of type user blocked
|
|
51
37
|
* @param inProps
|
|
@@ -12,6 +12,7 @@ import { useThemeProps } from '@mui/system';
|
|
|
12
12
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
13
13
|
import UserDeletedSnackBar from '../../../shared/UserDeletedSnackBar';
|
|
14
14
|
import UserAvatar from '../../../shared/UserAvatar';
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
15
16
|
const messages = defineMessages({
|
|
16
17
|
requestConnection: {
|
|
17
18
|
id: 'ui.notification.userConnection.requestConnection',
|
|
@@ -22,9 +23,8 @@ const messages = defineMessages({
|
|
|
22
23
|
defaultMessage: 'ui.notification.userConnection.acceptConnection'
|
|
23
24
|
}
|
|
24
25
|
});
|
|
25
|
-
const PREFIX = 'SCUserConnectionNotification';
|
|
26
26
|
const classes = {
|
|
27
|
-
root: `${PREFIX}-root`,
|
|
27
|
+
root: `${PREFIX}-user-connection-root`,
|
|
28
28
|
avatar: `${PREFIX}-avatar`,
|
|
29
29
|
username: `${PREFIX}-username`,
|
|
30
30
|
connectionText: `${PREFIX}-connection-text`,
|
|
@@ -32,19 +32,8 @@ const classes = {
|
|
|
32
32
|
};
|
|
33
33
|
const Root = styled(NotificationItem, {
|
|
34
34
|
name: PREFIX,
|
|
35
|
-
slot: '
|
|
36
|
-
|
|
37
|
-
})(({ theme }) => ({
|
|
38
|
-
[`& .${classes.username}`]: {
|
|
39
|
-
fontWeight: 700,
|
|
40
|
-
'&:hover': {
|
|
41
|
-
textDecoration: 'underline'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
[`& .${classes.connectionText}`]: {
|
|
45
|
-
color: theme.palette.text.primary
|
|
46
|
-
}
|
|
47
|
-
}));
|
|
35
|
+
slot: 'UserConnectionRoot'
|
|
36
|
+
})(() => ({}));
|
|
48
37
|
/**
|
|
49
38
|
* This component render the content of the notification of connection accept/request
|
|
50
39
|
* @param inProps
|
|
@@ -11,15 +11,15 @@ import { useThemeProps } from '@mui/system';
|
|
|
11
11
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
12
12
|
import UserDeletedSnackBar from '../../../shared/UserDeletedSnackBar';
|
|
13
13
|
import UserAvatar from '../../../shared/UserAvatar';
|
|
14
|
+
import { PREFIX } from '../constants';
|
|
14
15
|
const messages = defineMessages({
|
|
15
16
|
followUser: {
|
|
16
17
|
id: 'ui.notification.userFollow.followUser',
|
|
17
18
|
defaultMessage: 'ui.notification.userFollow.followUser'
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
|
-
const PREFIX = 'SCUserFollowNotification';
|
|
21
21
|
const classes = {
|
|
22
|
-
root: `${PREFIX}-root`,
|
|
22
|
+
root: `${PREFIX}-user-follow-root`,
|
|
23
23
|
avatar: `${PREFIX}-avatar`,
|
|
24
24
|
username: `${PREFIX}-username`,
|
|
25
25
|
followText: `${PREFIX}-follow-text`,
|
|
@@ -27,20 +27,8 @@ const classes = {
|
|
|
27
27
|
};
|
|
28
28
|
const Root = styled(NotificationItem, {
|
|
29
29
|
name: PREFIX,
|
|
30
|
-
slot: '
|
|
31
|
-
|
|
32
|
-
})(({ theme }) => ({
|
|
33
|
-
width: '100%',
|
|
34
|
-
[`& .${classes.username}`]: {
|
|
35
|
-
fontWeight: 700,
|
|
36
|
-
'&:hover': {
|
|
37
|
-
textDecoration: 'underline'
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
[`& .${classes.followText}`]: {
|
|
41
|
-
color: theme.palette.text.primary
|
|
42
|
-
}
|
|
43
|
-
}));
|
|
30
|
+
slot: 'UserFollowRoot'
|
|
31
|
+
})(() => ({}));
|
|
44
32
|
/**
|
|
45
33
|
* This component render the content of the notification of type user follow
|
|
46
34
|
* @param inProps
|
|
@@ -12,15 +12,15 @@ import { useThemeProps } from '@mui/system';
|
|
|
12
12
|
import NotificationItem from '../../../shared/NotificationItem';
|
|
13
13
|
import UserDeletedSnackBar from '../../../shared/UserDeletedSnackBar';
|
|
14
14
|
import UserAvatar from '../../../shared/UserAvatar';
|
|
15
|
+
import { PREFIX } from '../constants';
|
|
15
16
|
const messages = defineMessages({
|
|
16
17
|
appreciated: {
|
|
17
18
|
id: 'ui.notification.voteUp.appreciated',
|
|
18
19
|
defaultMessage: 'ui.notification.voteUp.appreciated'
|
|
19
20
|
}
|
|
20
21
|
});
|
|
21
|
-
const PREFIX = 'SCVoteUpNotification';
|
|
22
22
|
const classes = {
|
|
23
|
-
root: `${PREFIX}-root`,
|
|
23
|
+
root: `${PREFIX}-vote-up-root`,
|
|
24
24
|
avatar: `${PREFIX}-avatar`,
|
|
25
25
|
username: `${PREFIX}-username`,
|
|
26
26
|
voteUpText: `${PREFIX}-vote-up-text`,
|
|
@@ -29,25 +29,8 @@ const classes = {
|
|
|
29
29
|
};
|
|
30
30
|
const Root = styled(NotificationItem, {
|
|
31
31
|
name: PREFIX,
|
|
32
|
-
slot: '
|
|
33
|
-
|
|
34
|
-
})(({ theme }) => ({
|
|
35
|
-
width: '100%',
|
|
36
|
-
[`& .${classes.username}`]: {
|
|
37
|
-
fontWeight: 700,
|
|
38
|
-
'&:hover': {
|
|
39
|
-
textDecoration: 'underline'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
[`& .${classes.voteUpText}`]: {
|
|
43
|
-
color: theme.palette.text.primary
|
|
44
|
-
},
|
|
45
|
-
[`& .${classes.contributionText}`]: {
|
|
46
|
-
'&:hover': {
|
|
47
|
-
textDecoration: 'underline'
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}));
|
|
32
|
+
slot: 'VoteUpRoot'
|
|
33
|
+
})(() => ({}));
|
|
51
34
|
/**
|
|
52
35
|
* This component render the content of the notification of type vote up
|
|
53
36
|
* @param inProps
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCNotification";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCNotification';
|
|
@@ -10,16 +10,15 @@ import classNames from 'classnames';
|
|
|
10
10
|
import Widget from '../Widget';
|
|
11
11
|
import { useThemeProps } from '@mui/system';
|
|
12
12
|
import HiddenPlaceholder from '../../shared/HiddenPlaceholder';
|
|
13
|
-
|
|
13
|
+
import { PREFIX } from './constants';
|
|
14
14
|
const classes = {
|
|
15
15
|
root: `${PREFIX}-root`,
|
|
16
16
|
title: `${PREFIX}-title`
|
|
17
17
|
};
|
|
18
18
|
const Root = styled(Widget, {
|
|
19
19
|
name: PREFIX,
|
|
20
|
-
slot: 'Root'
|
|
21
|
-
|
|
22
|
-
})(({ theme }) => ({}));
|
|
20
|
+
slot: 'Root'
|
|
21
|
+
})(() => ({}));
|
|
23
22
|
/**
|
|
24
23
|
* > API documentation for the Community-JS PlatformWidget component. Learn about the available props and the CSS API.
|
|
25
24
|
*
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCPlatformWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
13
13
|
|
|
14
14
|
#### CSS
|
|
15
15
|
|
|
16
16
|
|Rule Name|Global class|Description|
|
|
17
17
|
|---|---|---|
|
|
18
|
-
|root|.
|
|
18
|
+
|root|.SCPlatformWidget-skeleton-root|Styles applied to the root element.|
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export default function PlatformWidgetSkeleton(): JSX.Element;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GenericSkeleton } from '../Skeleton';
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
|
-
|
|
4
|
+
import { PREFIX } from './constants';
|
|
5
5
|
const classes = {
|
|
6
|
-
root: `${PREFIX}-root`
|
|
6
|
+
root: `${PREFIX}-skeleton-root`
|
|
7
7
|
};
|
|
8
8
|
const Root = styled(GenericSkeleton, {
|
|
9
9
|
name: PREFIX,
|
|
10
|
-
slot: '
|
|
11
|
-
|
|
12
|
-
})(({ theme }) => ({}));
|
|
10
|
+
slot: 'SkeletonRoot'
|
|
11
|
+
})(() => ({}));
|
|
13
12
|
/**
|
|
14
13
|
* > API documentation for the Community-JS Platform Skeleton component. Learn about the available props and the CSS API.
|
|
15
14
|
|
|
@@ -21,13 +20,13 @@ const Root = styled(GenericSkeleton, {
|
|
|
21
20
|
|
|
22
21
|
#### Component Name
|
|
23
22
|
|
|
24
|
-
The name `
|
|
23
|
+
The name `SCPlatformWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
25
24
|
|
|
26
25
|
#### CSS
|
|
27
26
|
|
|
28
27
|
|Rule Name|Global class|Description|
|
|
29
28
|
|---|---|---|
|
|
30
|
-
|root|.
|
|
29
|
+
|root|.SCPlatformWidget-skeleton-root|Styles applied to the root element.|
|
|
31
30
|
*
|
|
32
31
|
*/
|
|
33
32
|
export default function PlatformWidgetSkeleton() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCPlatformWidget";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCPlatformWidget';
|