@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
|
@@ -8,50 +8,25 @@ import Icon from '@mui/material/Icon';
|
|
|
8
8
|
import LinearProgress from '@mui/material/LinearProgress';
|
|
9
9
|
import { LoadingButton } from '@mui/lab';
|
|
10
10
|
import classNames from 'classnames';
|
|
11
|
-
import {
|
|
12
|
-
const PREFIX = 'SCChoices';
|
|
11
|
+
import { PREFIX } from '../../constants';
|
|
13
12
|
const classes = {
|
|
14
|
-
root: `${PREFIX}-root`,
|
|
15
|
-
label: `${PREFIX}-label`,
|
|
16
|
-
vote: `${PREFIX}-vote`,
|
|
17
|
-
progress: `${PREFIX}-progress`
|
|
13
|
+
root: `${PREFIX}-poll-object-choices-root`,
|
|
14
|
+
label: `${PREFIX}-poll-object-choices-label`,
|
|
15
|
+
vote: `${PREFIX}-poll-object-choices-vote`,
|
|
16
|
+
progress: `${PREFIX}-poll-object-choices-progress`
|
|
18
17
|
};
|
|
19
18
|
const Root = styled(Card, {
|
|
20
19
|
name: PREFIX,
|
|
21
|
-
slot: '
|
|
22
|
-
|
|
23
|
-
})(({ theme }) => ({
|
|
24
|
-
background: theme.palette.grey['A200'],
|
|
25
|
-
marginBottom: theme.spacing(2),
|
|
26
|
-
padding: theme.spacing(2),
|
|
27
|
-
width: '100%',
|
|
28
|
-
[`& .${classes.label}, & .${classes.vote}`]: {
|
|
29
|
-
marginBottom: theme.spacing()
|
|
30
|
-
},
|
|
31
|
-
[`& .${classes.progress}`]: {
|
|
32
|
-
display: 'flex',
|
|
33
|
-
flexDirection: 'row',
|
|
34
|
-
alignItems: 'center',
|
|
35
|
-
marginBottom: theme.spacing(),
|
|
36
|
-
'& .MuiLinearProgress-root': {
|
|
37
|
-
flexGrow: 2,
|
|
38
|
-
marginRight: theme.spacing(2),
|
|
39
|
-
backgroundColor: theme.palette.common.white
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}));
|
|
20
|
+
slot: 'PollObjectChoicesRoot'
|
|
21
|
+
})(() => ({}));
|
|
43
22
|
function LinearProgressWithLabel(_a) {
|
|
44
23
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
45
24
|
return (React.createElement(Box, { className: className },
|
|
46
25
|
React.createElement(LinearProgress, Object.assign({ variant: "determinate" }, props)),
|
|
47
26
|
React.createElement(Typography, { variant: "body2", color: "text.secondary" }, `${Math.round(props.value)}%`)));
|
|
48
27
|
}
|
|
49
|
-
export default function Choice(
|
|
28
|
+
export default function Choice(props) {
|
|
50
29
|
//PROPS
|
|
51
|
-
const props = useThemeProps({
|
|
52
|
-
props: inProps,
|
|
53
|
-
name: PREFIX
|
|
54
|
-
});
|
|
55
30
|
const { className = null, choiceObj = null, feedObject = null, vote = null, votes = null, isVoting = null, votable = null } = props, rest = __rest(props, ["className", "choiceObj", "feedObject", "vote", "votes", "isVoting", "votable"]);
|
|
56
31
|
const disabled = !feedObject;
|
|
57
32
|
// CONTEXT
|
|
@@ -11,7 +11,7 @@ import Choice from './Choice';
|
|
|
11
11
|
import Icon from '@mui/material/Icon';
|
|
12
12
|
import { SCOPE_SC_UI } from '../../../constants/Errors';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
|
-
import {
|
|
14
|
+
import { PREFIX } from '../constants';
|
|
15
15
|
const messages = defineMessages({
|
|
16
16
|
showPoll: {
|
|
17
17
|
id: 'ui.feedObject.poll.showPoll',
|
|
@@ -34,29 +34,23 @@ const messages = defineMessages({
|
|
|
34
34
|
defaultMessage: 'ui.feedObject.poll.votes'
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
const PREFIX = 'SCPollObject';
|
|
38
37
|
const classes = {
|
|
39
|
-
root: `${PREFIX}-root`,
|
|
40
|
-
voters: `${PREFIX}-voters`,
|
|
41
|
-
votes: `${PREFIX}-votes`,
|
|
42
|
-
toggleButton: `${PREFIX}-toggle-button`,
|
|
43
|
-
title: `${PREFIX}-title`,
|
|
44
|
-
expiration: `${PREFIX}-expiration`,
|
|
45
|
-
closed: `${PREFIX}-closed`,
|
|
46
|
-
expandIcon: `${PREFIX}-expand-icon`,
|
|
47
|
-
collapsedIcon: `${PREFIX}-collapsed-icon`
|
|
38
|
+
root: `${PREFIX}-poll-object-root`,
|
|
39
|
+
voters: `${PREFIX}-poll-object-voters`,
|
|
40
|
+
votes: `${PREFIX}-poll-object-votes`,
|
|
41
|
+
toggleButton: `${PREFIX}-poll-object-toggle-button`,
|
|
42
|
+
title: `${PREFIX}-poll-object-title`,
|
|
43
|
+
expiration: `${PREFIX}-poll-object-expiration`,
|
|
44
|
+
closed: `${PREFIX}-poll-object-closed`,
|
|
45
|
+
expandIcon: `${PREFIX}-poll-object-expand-icon`,
|
|
46
|
+
collapsedIcon: `${PREFIX}-poll-object-collapsed-icon`
|
|
48
47
|
};
|
|
49
48
|
const Root = styled(Card, {
|
|
50
49
|
name: PREFIX,
|
|
51
|
-
slot: '
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export default function PollObject(inProps) {
|
|
50
|
+
slot: 'PollObjectRoot'
|
|
51
|
+
})(() => ({}));
|
|
52
|
+
export default function PollObject(props) {
|
|
55
53
|
// PROPS
|
|
56
|
-
const props = useThemeProps({
|
|
57
|
-
props: inProps,
|
|
58
|
-
name: PREFIX
|
|
59
|
-
});
|
|
60
54
|
const { className, feedObject, pollObject, disabled, visible = true, onChange, onToggleVisibility } = props, rest = __rest(props, ["className", "feedObject", "pollObject", "disabled", "visible", "onChange", "onToggleVisibility"]);
|
|
61
55
|
// INTL
|
|
62
56
|
const intl = useIntl();
|
|
@@ -22,14 +22,14 @@ export interface FeedObjectSkeletonProps extends CardProps {
|
|
|
22
22
|
|
|
23
23
|
#### Component Name
|
|
24
24
|
|
|
25
|
-
The name `
|
|
25
|
+
The name `SCFeedObject-skeleton-root` can be used when providing style overrides in the theme.
|
|
26
26
|
|
|
27
27
|
#### CSS
|
|
28
28
|
|
|
29
29
|
|Rule Name|Global class|Description|
|
|
30
30
|
|---|---|---|
|
|
31
|
-
|root|.
|
|
32
|
-
|media|.
|
|
31
|
+
|root|.SCFeedObject-skeleton-root|Styles applied to the root element.|
|
|
32
|
+
|media|.SCFeedObject-media|Styles applied to the media element.|
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export default function FeedObjectSkeleton(props: {
|
|
@@ -6,15 +6,14 @@ import Skeleton from '@mui/material/Skeleton';
|
|
|
6
6
|
import { SCFeedObjectTemplateType } from '../../types/feedObject';
|
|
7
7
|
import { CardContent, CardHeader, useTheme } from '@mui/material';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
|
-
|
|
9
|
+
import { PREFIX } from './constants';
|
|
10
10
|
const classes = {
|
|
11
|
-
root: `${PREFIX}-root`,
|
|
11
|
+
root: `${PREFIX}-skeleton-root`,
|
|
12
12
|
media: `${PREFIX}-media`
|
|
13
13
|
};
|
|
14
14
|
const Root = styled(Widget, {
|
|
15
15
|
name: PREFIX,
|
|
16
|
-
slot: '
|
|
17
|
-
overridesResolver: (props, styles) => styles.root
|
|
16
|
+
slot: 'SkeletonRoot'
|
|
18
17
|
})(() => ({}));
|
|
19
18
|
/**
|
|
20
19
|
* > API documentation for the Community-JS Feed Object Skeleton component. Learn about the available props and the CSS API.
|
|
@@ -27,14 +26,14 @@ const Root = styled(Widget, {
|
|
|
27
26
|
|
|
28
27
|
#### Component Name
|
|
29
28
|
|
|
30
|
-
The name `
|
|
29
|
+
The name `SCFeedObject-skeleton-root` can be used when providing style overrides in the theme.
|
|
31
30
|
|
|
32
31
|
#### CSS
|
|
33
32
|
|
|
34
33
|
|Rule Name|Global class|Description|
|
|
35
34
|
|---|---|---|
|
|
36
|
-
|root|.
|
|
37
|
-
|media|.
|
|
35
|
+
|root|.SCFeedObject-skeleton-root|Styles applied to the root element.|
|
|
36
|
+
|media|.SCFeedObject-media|Styles applied to the media element.|
|
|
38
37
|
*
|
|
39
38
|
*/
|
|
40
39
|
export default function FeedObjectSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCFeedObject";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCFeedObject';
|
|
@@ -23,13 +23,13 @@ export interface FeedObjectMediaPreviewProps extends BoxProps {
|
|
|
23
23
|
import {FeedObjectMediaPreview} from '@selfcommunity/react-ui';
|
|
24
24
|
```
|
|
25
25
|
#### Component Name
|
|
26
|
-
The name `
|
|
26
|
+
The name `SCFeedObject-media-preview-root` can be used when providing style overrides in the theme.
|
|
27
27
|
|
|
28
28
|
#### CSS
|
|
29
29
|
|
|
30
30
|
|Rule Name|Global class|Description|
|
|
31
31
|
|---|---|---|
|
|
32
|
-
|root|.
|
|
32
|
+
|root|.SCFeedObject-media-preview-root|Styles applied to the root element.|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
* @param inProps
|
|
@@ -6,14 +6,14 @@ import { useSCMediaClick } from '@selfcommunity/react-core';
|
|
|
6
6
|
import { useThemeProps } from '@mui/system';
|
|
7
7
|
import { File, Link, Share } from '../../shared/Media';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
|
-
|
|
9
|
+
import { PREFIX } from '../FeedObject/constants';
|
|
10
10
|
const classes = {
|
|
11
|
-
root: `${PREFIX}-root`
|
|
11
|
+
root: `${PREFIX}-media-preview-root`
|
|
12
12
|
};
|
|
13
13
|
const Root = styled(Box, {
|
|
14
14
|
name: PREFIX,
|
|
15
|
-
slot: '
|
|
16
|
-
})((
|
|
15
|
+
slot: 'MediaPreviewRoot'
|
|
16
|
+
})(() => ({}));
|
|
17
17
|
/**
|
|
18
18
|
* > API documentation for the Community-JS FeedObjectMediaPreview component. Learn about the available props and the CSS API.
|
|
19
19
|
*
|
|
@@ -25,13 +25,13 @@ const Root = styled(Box, {
|
|
|
25
25
|
import {FeedObjectMediaPreview} from '@selfcommunity/react-ui';
|
|
26
26
|
```
|
|
27
27
|
#### Component Name
|
|
28
|
-
The name `
|
|
28
|
+
The name `SCFeedObject-media-preview-root` can be used when providing style overrides in the theme.
|
|
29
29
|
|
|
30
30
|
#### CSS
|
|
31
31
|
|
|
32
32
|
|Rule Name|Global class|Description|
|
|
33
33
|
|---|---|---|
|
|
34
|
-
|root|.
|
|
34
|
+
|root|.SCFeedObject-media-preview-root|Styles applied to the root element.|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
* @param inProps
|
|
@@ -8,15 +8,14 @@ import classNames from 'classnames';
|
|
|
8
8
|
import Widget from '../Widget';
|
|
9
9
|
import { useThemeProps } from '@mui/system';
|
|
10
10
|
import HiddenPlaceholder from '../../shared/HiddenPlaceholder';
|
|
11
|
-
|
|
11
|
+
import { PREFIX } from './constants';
|
|
12
12
|
const classes = {
|
|
13
13
|
root: `${PREFIX}-root`,
|
|
14
14
|
buttonLoadMore: `${PREFIX}-button-load-more`
|
|
15
15
|
};
|
|
16
16
|
const Root = styled(Widget, {
|
|
17
17
|
name: PREFIX,
|
|
18
|
-
slot: 'Root'
|
|
19
|
-
overridesResolver: (props, styles) => styles.root
|
|
18
|
+
slot: 'Root'
|
|
20
19
|
})(() => ({}));
|
|
21
20
|
/**
|
|
22
21
|
* > API documentation for the Community-JS Feed Updates Widget component. Learn about the available props and the CSS API.
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCFeedUpdatesWidget-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|.
|
|
19
|
-
|list|.
|
|
18
|
+
|root|.SCFeedUpdatesWidget-skeleton-root|Styles applied to the root element.|
|
|
19
|
+
|list|.SCFeedUpdatesWidget-list|Styles applied to the list element.|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
export default function FeedUpdatesWidgetSkeleton(props: any): JSX.Element;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { styled } from '@mui/material/styles';
|
|
3
3
|
import GenericSkeleton from '../Skeleton/GenericSkeleton';
|
|
4
|
-
|
|
4
|
+
import { PREFIX } from './constants';
|
|
5
5
|
const classes = {
|
|
6
|
-
root: `${PREFIX}-root`,
|
|
6
|
+
root: `${PREFIX}-skeleton-root`,
|
|
7
7
|
list: `${PREFIX}-list`
|
|
8
8
|
};
|
|
9
|
-
const Root = styled(GenericSkeleton
|
|
9
|
+
const Root = styled(GenericSkeleton, {
|
|
10
|
+
name: PREFIX,
|
|
11
|
+
slot: 'SkeletonRoot'
|
|
12
|
+
})(() => ({}));
|
|
10
13
|
/**
|
|
11
14
|
* > API documentation for the Community-JS Feed Updates Widget Skeleton component. Learn about the available props and the CSS API.
|
|
12
15
|
|
|
@@ -18,14 +21,14 @@ const Root = styled(GenericSkeleton)(() => ({}));
|
|
|
18
21
|
|
|
19
22
|
#### Component Name
|
|
20
23
|
|
|
21
|
-
The name `
|
|
24
|
+
The name `SCFeedUpdatesWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
22
25
|
|
|
23
26
|
#### CSS
|
|
24
27
|
|
|
25
28
|
|Rule Name|Global class|Description|
|
|
26
29
|
|---|---|---|
|
|
27
|
-
|root|.
|
|
28
|
-
|list|.
|
|
30
|
+
|root|.SCFeedUpdatesWidget-skeleton-root|Styles applied to the root element.|
|
|
31
|
+
|list|.SCFeedUpdatesWidget-list|Styles applied to the list element.|
|
|
29
32
|
*
|
|
30
33
|
*/
|
|
31
34
|
export default function FeedUpdatesWidgetSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCFeedUpdatesWidget";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCFeedUpdatesWidget';
|
|
@@ -46,7 +46,8 @@ export interface FooterProps {
|
|
|
46
46
|
|Rule Name|Global class|Description|
|
|
47
47
|
|---|---|---|
|
|
48
48
|
|root|.SCFooter-root|Styles applied to the root element.|
|
|
49
|
-
|
|
|
49
|
+
|item|.SCFooter-item|Styles applied to the item element.|
|
|
50
|
+
|itemList|.SCFooter-item-list|Styles applied to the item list element.|
|
|
50
51
|
|copyright|.SCFooter-copyright|Styles applied to the copyright section.|
|
|
51
52
|
|
|
52
53
|
* @param inProps
|
|
@@ -9,7 +9,7 @@ import { Logger } from '@selfcommunity/utils';
|
|
|
9
9
|
import { Link, SCPreferences, useSCPreferences } from '@selfcommunity/react-core';
|
|
10
10
|
import { SCOPE_SC_UI } from '../../constants/Errors';
|
|
11
11
|
import FooterSkeleton from './Skeleton';
|
|
12
|
-
|
|
12
|
+
import { PREFIX } from './constants';
|
|
13
13
|
const classes = {
|
|
14
14
|
root: `${PREFIX}-root`,
|
|
15
15
|
itemList: `${PREFIX}-item-list`,
|
|
@@ -18,8 +18,7 @@ const classes = {
|
|
|
18
18
|
};
|
|
19
19
|
const Root = styled(Box, {
|
|
20
20
|
name: PREFIX,
|
|
21
|
-
slot: 'Root'
|
|
22
|
-
overridesResolver: (props, styles) => styles.root
|
|
21
|
+
slot: 'Root'
|
|
23
22
|
})(({ theme }) => ({}));
|
|
24
23
|
/**
|
|
25
24
|
* > API documentation for the Community-JS Footer component. Learn about the available props and the CSS API.
|
|
@@ -41,7 +40,8 @@ const Root = styled(Box, {
|
|
|
41
40
|
|Rule Name|Global class|Description|
|
|
42
41
|
|---|---|---|
|
|
43
42
|
|root|.SCFooter-root|Styles applied to the root element.|
|
|
44
|
-
|
|
|
43
|
+
|item|.SCFooter-item|Styles applied to the item element.|
|
|
44
|
+
|itemList|.SCFooter-item-list|Styles applied to the item list element.|
|
|
45
45
|
|copyright|.SCFooter-copyright|Styles applied to the copyright section.|
|
|
46
46
|
|
|
47
47
|
* @param inProps
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCFooter-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|.SCFooter-skeleton-root|Styles applied to the root element.|
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export default function FooterSkeleton(props: any): JSX.Element;
|
|
@@ -2,15 +2,14 @@ import React from 'react';
|
|
|
2
2
|
import { styled } from '@mui/material/styles';
|
|
3
3
|
import { Box } from '@mui/material';
|
|
4
4
|
import Skeleton from '@mui/material/Skeleton';
|
|
5
|
-
|
|
5
|
+
import { PREFIX } from './constants';
|
|
6
6
|
const classes = {
|
|
7
|
-
root: `${PREFIX}-root`
|
|
7
|
+
root: `${PREFIX}-skeleton-root`
|
|
8
8
|
};
|
|
9
9
|
const Root = styled(Box, {
|
|
10
10
|
name: PREFIX,
|
|
11
|
-
slot: '
|
|
12
|
-
|
|
13
|
-
})(({ theme }) => ({}));
|
|
11
|
+
slot: 'SkeletonRoot'
|
|
12
|
+
})(() => ({}));
|
|
14
13
|
/**
|
|
15
14
|
* > API documentation for the Community-JS Footer Skeleton component. Learn about the available props and the CSS API.
|
|
16
15
|
|
|
@@ -22,13 +21,13 @@ const Root = styled(Box, {
|
|
|
22
21
|
|
|
23
22
|
#### Component Name
|
|
24
23
|
|
|
25
|
-
The name `
|
|
24
|
+
The name `SCFooter-skeleton-root` can be used when providing style overrides in the theme.
|
|
26
25
|
|
|
27
26
|
#### CSS
|
|
28
27
|
|
|
29
28
|
|Rule Name|Global class|Description|
|
|
30
29
|
|---|---|---|
|
|
31
|
-
|root|.
|
|
30
|
+
|root|.SCFooter-skeleton-root|Styles applied to the root element.|
|
|
32
31
|
*
|
|
33
32
|
*/
|
|
34
33
|
export default function FooterSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCFooter";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCFooter';
|
|
@@ -13,7 +13,7 @@ import Widget from '../Widget';
|
|
|
13
13
|
import HiddenPlaceholder from '../../shared/HiddenPlaceholder';
|
|
14
14
|
import IncubatorSubscribeButton from '../IncubatorSubscribeButton';
|
|
15
15
|
import UserDeletedSnackBar from '../../shared/UserDeletedSnackBar';
|
|
16
|
-
|
|
16
|
+
import { PREFIX } from './constants';
|
|
17
17
|
const classes = {
|
|
18
18
|
root: `${PREFIX}-root`,
|
|
19
19
|
name: `${PREFIX}-name`,
|
|
@@ -22,9 +22,8 @@ const classes = {
|
|
|
22
22
|
};
|
|
23
23
|
const Root = styled(Widget, {
|
|
24
24
|
name: PREFIX,
|
|
25
|
-
slot: 'Root'
|
|
26
|
-
|
|
27
|
-
})(({ theme }) => ({}));
|
|
25
|
+
slot: 'Root'
|
|
26
|
+
})(() => ({}));
|
|
28
27
|
function LinearProgressWithLabel(_a) {
|
|
29
28
|
var { className } = _a, props = __rest(_a, ["className"]);
|
|
30
29
|
return (React.createElement(Box, { className: className },
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCIncubator-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|.
|
|
19
|
-
|primary|.
|
|
20
|
-
|secondary|.
|
|
21
|
-
|progressBar|.
|
|
22
|
-
|action|.
|
|
18
|
+
|root|.SCIncubator-skeleton-root|Styles applied to the root element.|
|
|
19
|
+
|primary|.SCIncubator-primary|Styles applied to the primary text element.|
|
|
20
|
+
|secondary|.SCIncubator-secondary|Styles applied to the secondary text element.|
|
|
21
|
+
|progressBar|.SCIncubator-progress-bar|Styles applied to the progress bar section.|
|
|
22
|
+
|action|.SCIncubator-action|Styles applied to the action button element.|
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
export default function IncubatorSkeleton(props: any): JSX.Element;
|
|
@@ -3,9 +3,9 @@ import { styled } from '@mui/material/styles';
|
|
|
3
3
|
import Skeleton from '@mui/material/Skeleton';
|
|
4
4
|
import Widget from '../Widget';
|
|
5
5
|
import { Button, CardActions, CardContent, Grid, Typography } from '@mui/material';
|
|
6
|
-
|
|
6
|
+
import { PREFIX } from './constants';
|
|
7
7
|
const classes = {
|
|
8
|
-
root: `${PREFIX}-root`,
|
|
8
|
+
root: `${PREFIX}-skeleton-root`,
|
|
9
9
|
primary: `${PREFIX}-primary`,
|
|
10
10
|
secondary: `${PREFIX}-secondary`,
|
|
11
11
|
progressBar: `${PREFIX}-progress-bar`,
|
|
@@ -13,9 +13,8 @@ const classes = {
|
|
|
13
13
|
};
|
|
14
14
|
const Root = styled(Widget, {
|
|
15
15
|
name: PREFIX,
|
|
16
|
-
slot: '
|
|
17
|
-
|
|
18
|
-
})(({ theme }) => ({}));
|
|
16
|
+
slot: 'SkeletonRoot'
|
|
17
|
+
})(() => ({}));
|
|
19
18
|
/**
|
|
20
19
|
* > API documentation for the Community-JS Incubator Skeleton component. Learn about the available props and the CSS API.
|
|
21
20
|
|
|
@@ -27,17 +26,17 @@ const Root = styled(Widget, {
|
|
|
27
26
|
|
|
28
27
|
#### Component Name
|
|
29
28
|
|
|
30
|
-
The name `
|
|
29
|
+
The name `SCIncubator-skeleton-root` can be used when providing style overrides in the theme.
|
|
31
30
|
|
|
32
31
|
#### CSS
|
|
33
32
|
|
|
34
33
|
|Rule Name|Global class|Description|
|
|
35
34
|
|---|---|---|
|
|
36
|
-
|root|.
|
|
37
|
-
|primary|.
|
|
38
|
-
|secondary|.
|
|
39
|
-
|progressBar|.
|
|
40
|
-
|action|.
|
|
35
|
+
|root|.SCIncubator-skeleton-root|Styles applied to the root element.|
|
|
36
|
+
|primary|.SCIncubator-primary|Styles applied to the primary text element.|
|
|
37
|
+
|secondary|.SCIncubator-secondary|Styles applied to the secondary text element.|
|
|
38
|
+
|progressBar|.SCIncubator-progress-bar|Styles applied to the progress bar section.|
|
|
39
|
+
|action|.SCIncubator-action|Styles applied to the action button element.|
|
|
41
40
|
*
|
|
42
41
|
*/
|
|
43
42
|
export default function IncubatorSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCIncubator";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const PREFIX = 'SCIncubator';
|
package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js
CHANGED
|
@@ -11,6 +11,7 @@ import classNames from 'classnames';
|
|
|
11
11
|
import { useThemeProps } from '@mui/system';
|
|
12
12
|
import { SCOPE_SC_UI } from '../../../constants/Errors';
|
|
13
13
|
import { LoadingButton } from '@mui/lab';
|
|
14
|
+
import { PREFIX } from '../constants';
|
|
14
15
|
const messages = defineMessages({
|
|
15
16
|
name: {
|
|
16
17
|
id: 'ui.incubatorListWidget.createIncubatorDialog.formPlaceholder.name',
|
|
@@ -21,9 +22,8 @@ const messages = defineMessages({
|
|
|
21
22
|
defaultMessage: 'ui.incubatorListWidget.createIncubatorDialog.formPlaceholder.slogan'
|
|
22
23
|
}
|
|
23
24
|
});
|
|
24
|
-
const PREFIX = 'SCCreateIncubatorDialog';
|
|
25
25
|
const classes = {
|
|
26
|
-
root: `${PREFIX}-root`,
|
|
26
|
+
root: `${PREFIX}-create-dialog-root`,
|
|
27
27
|
form: `${PREFIX}-form`,
|
|
28
28
|
name: `${PREFIX}-name`,
|
|
29
29
|
slogan: `${PREFIX}-slogan`,
|
|
@@ -32,31 +32,8 @@ const classes = {
|
|
|
32
32
|
};
|
|
33
33
|
const Root = styled(BaseDialog, {
|
|
34
34
|
name: PREFIX,
|
|
35
|
-
slot: '
|
|
36
|
-
|
|
37
|
-
})(({ theme }) => ({
|
|
38
|
-
margin: 2,
|
|
39
|
-
[theme.breakpoints.down(500)]: {
|
|
40
|
-
minWidth: 300
|
|
41
|
-
},
|
|
42
|
-
[`& .${classes.intro}`]: {
|
|
43
|
-
whiteSpace: 'pre-line'
|
|
44
|
-
},
|
|
45
|
-
[`& .${classes.form}`]: {
|
|
46
|
-
marginTop: theme.spacing(1),
|
|
47
|
-
marginBottom: theme.spacing(1)
|
|
48
|
-
},
|
|
49
|
-
[`& .${classes.name}`]: {
|
|
50
|
-
'& .MuiInputBase-root': {
|
|
51
|
-
height: '40px'
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
[`& .${classes.submittedMessage}`]: {
|
|
55
|
-
padding: theme.spacing(1),
|
|
56
|
-
borderRadius: '8px',
|
|
57
|
-
backgroundColor: '#bdd5bd'
|
|
58
|
-
}
|
|
59
|
-
}));
|
|
35
|
+
slot: 'CreateDialogRoot'
|
|
36
|
+
})(() => ({}));
|
|
60
37
|
export default function CreateIncubatorDialog(inProps) {
|
|
61
38
|
// PROPS
|
|
62
39
|
const props = useThemeProps({
|
|
@@ -66,6 +66,7 @@ export interface IncubatorListWidgetProps extends VirtualScrollerItemProps {
|
|
|
66
66
|
|helpPopover|.SCIncubatorListWidget-help-popover|Styles applied to the help popover element.|
|
|
67
67
|
|dialogRoot|.SCIncubatorListWidget-dialog-root|Styles applied to the root dialog element.|
|
|
68
68
|
|endMessage|.SCIncubatorListWidget-end-message|Styles applied to the end message element.|
|
|
69
|
+
|createDialog|.SCIncubatorListWidget-create-dialog|Styles applied to the create dialog element.|
|
|
69
70
|
|
|
70
71
|
* @param inProps
|
|
71
72
|
*/
|
|
@@ -21,7 +21,7 @@ import IncubatorDetail from '../IncubatorDetail';
|
|
|
21
21
|
import { actionWidgetTypes, dataWidgetReducer, stateWidgetInitializer } from '../../utils/widget';
|
|
22
22
|
import { SCCache, SCPreferences, SCPreferencesContext, SCUserContext } from '@selfcommunity/react-core';
|
|
23
23
|
import HiddenPlaceholder from '../../shared/HiddenPlaceholder';
|
|
24
|
-
|
|
24
|
+
import { PREFIX } from './constants';
|
|
25
25
|
const classes = {
|
|
26
26
|
root: `${PREFIX}-root`,
|
|
27
27
|
header: `${PREFIX}-header`,
|
|
@@ -31,7 +31,8 @@ const classes = {
|
|
|
31
31
|
actions: `${PREFIX}-actions`,
|
|
32
32
|
helpPopover: `${PREFIX}-help-popover`,
|
|
33
33
|
dialogRoot: `${PREFIX}-dialog-root`,
|
|
34
|
-
endMessage: `${PREFIX}-end-message
|
|
34
|
+
endMessage: `${PREFIX}-end-message`,
|
|
35
|
+
createDialog: `${PREFIX}-create-dialog`
|
|
35
36
|
};
|
|
36
37
|
const Root = styled(Widget, {
|
|
37
38
|
name: PREFIX,
|
|
@@ -40,8 +41,7 @@ const Root = styled(Widget, {
|
|
|
40
41
|
})(({ theme }) => ({}));
|
|
41
42
|
const DialogRoot = styled(BaseDialog, {
|
|
42
43
|
name: PREFIX,
|
|
43
|
-
slot: '
|
|
44
|
-
overridesResolver: (props, styles) => styles.dialogRoot
|
|
44
|
+
slot: 'DialogRoot'
|
|
45
45
|
})(({ theme }) => ({}));
|
|
46
46
|
/**
|
|
47
47
|
* > API documentation for the Community-JS Incubator List Widget component. Learn about the available props and the CSS API.
|
|
@@ -71,6 +71,7 @@ const DialogRoot = styled(BaseDialog, {
|
|
|
71
71
|
|helpPopover|.SCIncubatorListWidget-help-popover|Styles applied to the help popover element.|
|
|
72
72
|
|dialogRoot|.SCIncubatorListWidget-dialog-root|Styles applied to the root dialog element.|
|
|
73
73
|
|endMessage|.SCIncubatorListWidget-end-message|Styles applied to the end message element.|
|
|
74
|
+
|createDialog|.SCIncubatorListWidget-create-dialog|Styles applied to the create dialog element.|
|
|
74
75
|
|
|
75
76
|
* @param inProps
|
|
76
77
|
*/
|
|
@@ -246,7 +247,7 @@ export default function IncubatorListWidget(inProps) {
|
|
|
246
247
|
React.createElement(FormattedMessage, { id: "ui.incubatorListWidget.noMoreIncubators", defaultMessage: "ui.incubatorListWidget.noMoreIncubators" })) },
|
|
247
248
|
React.createElement(List, null, state.results.map((incubator) => (React.createElement(ListItem, { key: incubator.id },
|
|
248
249
|
React.createElement(Incubator, Object.assign({ elevation: 0, incubator: incubator, subscribeButtonProps: { onSubscribe: handleSubscriptionsUpdate }, ButtonProps: { onClick: () => handleIncubatorDetailDialogOpening(incubator) } }, IncubatorProps))))))))),
|
|
249
|
-
openCreateIncubatorDialog && React.createElement(CreateIncubatorDialog, { open: openCreateIncubatorDialog, onClose: handleCreateIncubatorDialogClose }),
|
|
250
|
+
openCreateIncubatorDialog && (React.createElement(CreateIncubatorDialog, { className: classes.createDialog, open: openCreateIncubatorDialog, onClose: handleCreateIncubatorDialogClose })),
|
|
250
251
|
openIncubatorDetailDialog && (React.createElement(IncubatorDetail, { open: openIncubatorDetailDialog, onClose: handleIncubatorDetailDialogClose, incubator: detailObj, onSubscriptionsUpdate: handleSubscriptionsUpdate }))));
|
|
251
252
|
return (React.createElement(Root, Object.assign({ className: classNames(classes.root, className) }, rest), content));
|
|
252
253
|
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCIncubatorListWidget-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|.
|
|
19
|
-
|list|.
|
|
18
|
+
|root|.SCIncubatorListWidget-skeleton-root-root|Styles applied to the root element.|
|
|
19
|
+
|list|.SCIncubatorListWidget-list|Styles applied to the list element.|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
export default function IncubatorListWidgetSkeleton(props: any): JSX.Element;
|