@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
|
@@ -11,17 +11,16 @@ const utils_1 = require("@selfcommunity/utils");
|
|
|
11
11
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
12
12
|
const Errors_1 = require("../../constants/Errors");
|
|
13
13
|
const Skeleton_1 = tslib_1.__importDefault(require("./Skeleton"));
|
|
14
|
-
const
|
|
14
|
+
const constants_1 = require("./constants");
|
|
15
15
|
const classes = {
|
|
16
|
-
root: `${PREFIX}-root`,
|
|
17
|
-
itemList: `${PREFIX}-item-list`,
|
|
18
|
-
item: `${PREFIX}-item`,
|
|
19
|
-
copyright: `${PREFIX}-copyright`
|
|
16
|
+
root: `${constants_1.PREFIX}-root`,
|
|
17
|
+
itemList: `${constants_1.PREFIX}-item-list`,
|
|
18
|
+
item: `${constants_1.PREFIX}-item`,
|
|
19
|
+
copyright: `${constants_1.PREFIX}-copyright`
|
|
20
20
|
};
|
|
21
21
|
const Root = (0, styles_1.styled)(material_1.Box, {
|
|
22
|
-
name: PREFIX,
|
|
23
|
-
slot: 'Root'
|
|
24
|
-
overridesResolver: (props, styles) => styles.root
|
|
22
|
+
name: constants_1.PREFIX,
|
|
23
|
+
slot: 'Root'
|
|
25
24
|
})(({ theme }) => ({}));
|
|
26
25
|
/**
|
|
27
26
|
* > API documentation for the Community-JS Footer component. Learn about the available props and the CSS API.
|
|
@@ -43,7 +42,8 @@ const Root = (0, styles_1.styled)(material_1.Box, {
|
|
|
43
42
|
|Rule Name|Global class|Description|
|
|
44
43
|
|---|---|---|
|
|
45
44
|
|root|.SCFooter-root|Styles applied to the root element.|
|
|
46
|
-
|
|
|
45
|
+
|item|.SCFooter-item|Styles applied to the item element.|
|
|
46
|
+
|itemList|.SCFooter-item-list|Styles applied to the item list element.|
|
|
47
47
|
|copyright|.SCFooter-copyright|Styles applied to the copyright section.|
|
|
48
48
|
|
|
49
49
|
* @param inProps
|
|
@@ -52,7 +52,7 @@ function Footer(inProps) {
|
|
|
52
52
|
// PROPS
|
|
53
53
|
const props = (0, system_1.useThemeProps)({
|
|
54
54
|
props: inProps,
|
|
55
|
-
name: PREFIX
|
|
55
|
+
name: constants_1.PREFIX
|
|
56
56
|
});
|
|
57
57
|
const { className, menu = null, startActions = null, endActions = null } = props, rest = tslib_1.__rest(props, ["className", "menu", "startActions", "endActions"]);
|
|
58
58
|
// PREFERENCES
|
|
@@ -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;
|
|
@@ -5,15 +5,14 @@ const react_1 = tslib_1.__importDefault(require("react"));
|
|
|
5
5
|
const styles_1 = require("@mui/material/styles");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
7
|
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
|
|
8
|
-
const
|
|
8
|
+
const constants_1 = require("./constants");
|
|
9
9
|
const classes = {
|
|
10
|
-
root: `${PREFIX}-root`
|
|
10
|
+
root: `${constants_1.PREFIX}-skeleton-root`
|
|
11
11
|
};
|
|
12
12
|
const Root = (0, styles_1.styled)(material_1.Box, {
|
|
13
|
-
name: PREFIX,
|
|
14
|
-
slot: '
|
|
15
|
-
|
|
16
|
-
})(({ theme }) => ({}));
|
|
13
|
+
name: constants_1.PREFIX,
|
|
14
|
+
slot: 'SkeletonRoot'
|
|
15
|
+
})(() => ({}));
|
|
17
16
|
/**
|
|
18
17
|
* > API documentation for the Community-JS Footer Skeleton component. Learn about the available props and the CSS API.
|
|
19
18
|
|
|
@@ -25,13 +24,13 @@ const Root = (0, styles_1.styled)(material_1.Box, {
|
|
|
25
24
|
|
|
26
25
|
#### Component Name
|
|
27
26
|
|
|
28
|
-
The name `
|
|
27
|
+
The name `SCFooter-skeleton-root` can be used when providing style overrides in the theme.
|
|
29
28
|
|
|
30
29
|
#### CSS
|
|
31
30
|
|
|
32
31
|
|Rule Name|Global class|Description|
|
|
33
32
|
|---|---|---|
|
|
34
|
-
|root|.
|
|
33
|
+
|root|.SCFooter-skeleton-root|Styles applied to the root element.|
|
|
35
34
|
*
|
|
36
35
|
*/
|
|
37
36
|
function FooterSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCFooter";
|
|
@@ -15,18 +15,17 @@ const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
|
15
15
|
const HiddenPlaceholder_1 = tslib_1.__importDefault(require("../../shared/HiddenPlaceholder"));
|
|
16
16
|
const IncubatorSubscribeButton_1 = tslib_1.__importDefault(require("../IncubatorSubscribeButton"));
|
|
17
17
|
const UserDeletedSnackBar_1 = tslib_1.__importDefault(require("../../shared/UserDeletedSnackBar"));
|
|
18
|
-
const
|
|
18
|
+
const constants_1 = require("./constants");
|
|
19
19
|
const classes = {
|
|
20
|
-
root: `${PREFIX}-root`,
|
|
21
|
-
name: `${PREFIX}-name`,
|
|
22
|
-
slogan: `${PREFIX}-slogan`,
|
|
23
|
-
progressBar: `${PREFIX}-progress-bar`
|
|
20
|
+
root: `${constants_1.PREFIX}-root`,
|
|
21
|
+
name: `${constants_1.PREFIX}-name`,
|
|
22
|
+
slogan: `${constants_1.PREFIX}-slogan`,
|
|
23
|
+
progressBar: `${constants_1.PREFIX}-progress-bar`
|
|
24
24
|
};
|
|
25
25
|
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
26
|
-
name: PREFIX,
|
|
27
|
-
slot: 'Root'
|
|
28
|
-
|
|
29
|
-
})(({ theme }) => ({}));
|
|
26
|
+
name: constants_1.PREFIX,
|
|
27
|
+
slot: 'Root'
|
|
28
|
+
})(() => ({}));
|
|
30
29
|
function LinearProgressWithLabel(_a) {
|
|
31
30
|
var { className } = _a, props = tslib_1.__rest(_a, ["className"]);
|
|
32
31
|
return (react_1.default.createElement(material_1.Box, { className: className },
|
|
@@ -71,7 +70,7 @@ function Incubator(inProps) {
|
|
|
71
70
|
// PROPS
|
|
72
71
|
const props = (0, system_1.useThemeProps)({
|
|
73
72
|
props: inProps,
|
|
74
|
-
name: PREFIX
|
|
73
|
+
name: constants_1.PREFIX
|
|
75
74
|
});
|
|
76
75
|
const { incubatorId = null, incubator = null, className = null, autoHide = false, subscribeButtonProps = {}, ButtonProps = {}, detailView = false } = props, rest = tslib_1.__rest(props, ["incubatorId", "incubator", "className", "autoHide", "subscribeButtonProps", "ButtonProps", "detailView"]);
|
|
77
76
|
// STATE
|
|
@@ -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;
|
|
@@ -6,19 +6,18 @@ const styles_1 = require("@mui/material/styles");
|
|
|
6
6
|
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
|
|
7
7
|
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
8
8
|
const material_1 = require("@mui/material");
|
|
9
|
-
const
|
|
9
|
+
const constants_1 = require("./constants");
|
|
10
10
|
const classes = {
|
|
11
|
-
root: `${PREFIX}-root`,
|
|
12
|
-
primary: `${PREFIX}-primary`,
|
|
13
|
-
secondary: `${PREFIX}-secondary`,
|
|
14
|
-
progressBar: `${PREFIX}-progress-bar`,
|
|
15
|
-
action: `${PREFIX}-action`
|
|
11
|
+
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
12
|
+
primary: `${constants_1.PREFIX}-primary`,
|
|
13
|
+
secondary: `${constants_1.PREFIX}-secondary`,
|
|
14
|
+
progressBar: `${constants_1.PREFIX}-progress-bar`,
|
|
15
|
+
action: `${constants_1.PREFIX}-action`
|
|
16
16
|
};
|
|
17
17
|
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
18
|
-
name: PREFIX,
|
|
19
|
-
slot: '
|
|
20
|
-
|
|
21
|
-
})(({ theme }) => ({}));
|
|
18
|
+
name: constants_1.PREFIX,
|
|
19
|
+
slot: 'SkeletonRoot'
|
|
20
|
+
})(() => ({}));
|
|
22
21
|
/**
|
|
23
22
|
* > API documentation for the Community-JS Incubator Skeleton component. Learn about the available props and the CSS API.
|
|
24
23
|
|
|
@@ -30,17 +29,17 @@ const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
|
30
29
|
|
|
31
30
|
#### Component Name
|
|
32
31
|
|
|
33
|
-
The name `
|
|
32
|
+
The name `SCIncubator-skeleton-root` can be used when providing style overrides in the theme.
|
|
34
33
|
|
|
35
34
|
#### CSS
|
|
36
35
|
|
|
37
36
|
|Rule Name|Global class|Description|
|
|
38
37
|
|---|---|---|
|
|
39
|
-
|root|.
|
|
40
|
-
|primary|.
|
|
41
|
-
|secondary|.
|
|
42
|
-
|progressBar|.
|
|
43
|
-
|action|.
|
|
38
|
+
|root|.SCIncubator-skeleton-root|Styles applied to the root element.|
|
|
39
|
+
|primary|.SCIncubator-primary|Styles applied to the primary text element.|
|
|
40
|
+
|secondary|.SCIncubator-secondary|Styles applied to the secondary text element.|
|
|
41
|
+
|progressBar|.SCIncubator-progress-bar|Styles applied to the progress bar section.|
|
|
42
|
+
|action|.SCIncubator-action|Styles applied to the action button element.|
|
|
44
43
|
*
|
|
45
44
|
*/
|
|
46
45
|
function IncubatorSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCIncubator";
|
package/lib/cjs/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js
CHANGED
|
@@ -13,6 +13,7 @@ const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
|
13
13
|
const system_1 = require("@mui/system");
|
|
14
14
|
const Errors_1 = require("../../../constants/Errors");
|
|
15
15
|
const lab_1 = require("@mui/lab");
|
|
16
|
+
const constants_1 = require("../constants");
|
|
16
17
|
const messages = (0, react_intl_1.defineMessages)({
|
|
17
18
|
name: {
|
|
18
19
|
id: 'ui.incubatorListWidget.createIncubatorDialog.formPlaceholder.name',
|
|
@@ -23,47 +24,23 @@ const messages = (0, react_intl_1.defineMessages)({
|
|
|
23
24
|
defaultMessage: 'ui.incubatorListWidget.createIncubatorDialog.formPlaceholder.slogan'
|
|
24
25
|
}
|
|
25
26
|
});
|
|
26
|
-
const PREFIX = 'SCCreateIncubatorDialog';
|
|
27
27
|
const classes = {
|
|
28
|
-
root: `${PREFIX}-root`,
|
|
29
|
-
form: `${PREFIX}-form`,
|
|
30
|
-
name: `${PREFIX}-name`,
|
|
31
|
-
slogan: `${PREFIX}-slogan`,
|
|
32
|
-
intro: `${PREFIX}-intro`,
|
|
33
|
-
submittedMessage: `${PREFIX}-submitted-message`
|
|
28
|
+
root: `${constants_1.PREFIX}-create-dialog-root`,
|
|
29
|
+
form: `${constants_1.PREFIX}-form`,
|
|
30
|
+
name: `${constants_1.PREFIX}-name`,
|
|
31
|
+
slogan: `${constants_1.PREFIX}-slogan`,
|
|
32
|
+
intro: `${constants_1.PREFIX}-intro`,
|
|
33
|
+
submittedMessage: `${constants_1.PREFIX}-submitted-message`
|
|
34
34
|
};
|
|
35
35
|
const Root = (0, styles_1.styled)(BaseDialog_1.default, {
|
|
36
|
-
name: PREFIX,
|
|
37
|
-
slot: '
|
|
38
|
-
|
|
39
|
-
})(({ theme }) => ({
|
|
40
|
-
margin: 2,
|
|
41
|
-
[theme.breakpoints.down(500)]: {
|
|
42
|
-
minWidth: 300
|
|
43
|
-
},
|
|
44
|
-
[`& .${classes.intro}`]: {
|
|
45
|
-
whiteSpace: 'pre-line'
|
|
46
|
-
},
|
|
47
|
-
[`& .${classes.form}`]: {
|
|
48
|
-
marginTop: theme.spacing(1),
|
|
49
|
-
marginBottom: theme.spacing(1)
|
|
50
|
-
},
|
|
51
|
-
[`& .${classes.name}`]: {
|
|
52
|
-
'& .MuiInputBase-root': {
|
|
53
|
-
height: '40px'
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
[`& .${classes.submittedMessage}`]: {
|
|
57
|
-
padding: theme.spacing(1),
|
|
58
|
-
borderRadius: '8px',
|
|
59
|
-
backgroundColor: '#bdd5bd'
|
|
60
|
-
}
|
|
61
|
-
}));
|
|
36
|
+
name: constants_1.PREFIX,
|
|
37
|
+
slot: 'CreateDialogRoot'
|
|
38
|
+
})(() => ({}));
|
|
62
39
|
function CreateIncubatorDialog(inProps) {
|
|
63
40
|
// PROPS
|
|
64
41
|
const props = (0, system_1.useThemeProps)({
|
|
65
42
|
props: inProps,
|
|
66
|
-
name: PREFIX
|
|
43
|
+
name: constants_1.PREFIX
|
|
67
44
|
});
|
|
68
45
|
const { className, open, onClose } = props, rest = tslib_1.__rest(props, ["className", "open", "onClose"]);
|
|
69
46
|
// CONTEXT
|
|
@@ -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
|
*/
|
|
@@ -23,27 +23,27 @@ const IncubatorDetail_1 = tslib_1.__importDefault(require("../IncubatorDetail"))
|
|
|
23
23
|
const widget_1 = require("../../utils/widget");
|
|
24
24
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
25
25
|
const HiddenPlaceholder_1 = tslib_1.__importDefault(require("../../shared/HiddenPlaceholder"));
|
|
26
|
-
const
|
|
26
|
+
const constants_1 = require("./constants");
|
|
27
27
|
const classes = {
|
|
28
|
-
root: `${PREFIX}-root`,
|
|
29
|
-
header: `${PREFIX}-header`,
|
|
30
|
-
title: `${PREFIX}-title`,
|
|
31
|
-
noResults: `${PREFIX}-no-results`,
|
|
32
|
-
showMore: `${PREFIX}-show-more`,
|
|
33
|
-
actions: `${PREFIX}-actions`,
|
|
34
|
-
helpPopover: `${PREFIX}-help-popover`,
|
|
35
|
-
dialogRoot: `${PREFIX}-dialog-root`,
|
|
36
|
-
endMessage: `${PREFIX}-end-message
|
|
28
|
+
root: `${constants_1.PREFIX}-root`,
|
|
29
|
+
header: `${constants_1.PREFIX}-header`,
|
|
30
|
+
title: `${constants_1.PREFIX}-title`,
|
|
31
|
+
noResults: `${constants_1.PREFIX}-no-results`,
|
|
32
|
+
showMore: `${constants_1.PREFIX}-show-more`,
|
|
33
|
+
actions: `${constants_1.PREFIX}-actions`,
|
|
34
|
+
helpPopover: `${constants_1.PREFIX}-help-popover`,
|
|
35
|
+
dialogRoot: `${constants_1.PREFIX}-dialog-root`,
|
|
36
|
+
endMessage: `${constants_1.PREFIX}-end-message`,
|
|
37
|
+
createDialog: `${constants_1.PREFIX}-create-dialog`
|
|
37
38
|
};
|
|
38
39
|
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
39
|
-
name: PREFIX,
|
|
40
|
+
name: constants_1.PREFIX,
|
|
40
41
|
slot: 'Root',
|
|
41
42
|
overridesResolver: (props, styles) => styles.root
|
|
42
43
|
})(({ theme }) => ({}));
|
|
43
44
|
const DialogRoot = (0, styles_1.styled)(BaseDialog_1.default, {
|
|
44
|
-
name: PREFIX,
|
|
45
|
-
slot: '
|
|
46
|
-
overridesResolver: (props, styles) => styles.dialogRoot
|
|
45
|
+
name: constants_1.PREFIX,
|
|
46
|
+
slot: 'DialogRoot'
|
|
47
47
|
})(({ theme }) => ({}));
|
|
48
48
|
/**
|
|
49
49
|
* > API documentation for the Community-JS Incubator List Widget component. Learn about the available props and the CSS API.
|
|
@@ -73,6 +73,7 @@ const DialogRoot = (0, styles_1.styled)(BaseDialog_1.default, {
|
|
|
73
73
|
|helpPopover|.SCIncubatorListWidget-help-popover|Styles applied to the help popover element.|
|
|
74
74
|
|dialogRoot|.SCIncubatorListWidget-dialog-root|Styles applied to the root dialog element.|
|
|
75
75
|
|endMessage|.SCIncubatorListWidget-end-message|Styles applied to the end message element.|
|
|
76
|
+
|createDialog|.SCIncubatorListWidget-create-dialog|Styles applied to the create dialog element.|
|
|
76
77
|
|
|
77
78
|
* @param inProps
|
|
78
79
|
*/
|
|
@@ -80,7 +81,7 @@ function IncubatorListWidget(inProps) {
|
|
|
80
81
|
// PROPS
|
|
81
82
|
const props = (0, system_1.useThemeProps)({
|
|
82
83
|
props: inProps,
|
|
83
|
-
name: PREFIX
|
|
84
|
+
name: constants_1.PREFIX
|
|
84
85
|
});
|
|
85
86
|
const { autoHide = true, limit = 3, className, IncubatorProps = {}, cacheStrategy = utils_1.CacheStrategies.CACHE_FIRST, onHeightChange, onStateChange, DialogProps = {} } = props, rest = tslib_1.__rest(props, ["autoHide", "limit", "className", "IncubatorProps", "cacheStrategy", "onHeightChange", "onStateChange", "DialogProps"]);
|
|
86
87
|
// CONTEXT
|
|
@@ -248,7 +249,7 @@ function IncubatorListWidget(inProps) {
|
|
|
248
249
|
react_1.default.createElement(react_intl_1.FormattedMessage, { id: "ui.incubatorListWidget.noMoreIncubators", defaultMessage: "ui.incubatorListWidget.noMoreIncubators" })) },
|
|
249
250
|
react_1.default.createElement(material_1.List, null, state.results.map((incubator) => (react_1.default.createElement(material_1.ListItem, { key: incubator.id },
|
|
250
251
|
react_1.default.createElement(Incubator_1.default, Object.assign({ elevation: 0, incubator: incubator, subscribeButtonProps: { onSubscribe: handleSubscriptionsUpdate }, ButtonProps: { onClick: () => handleIncubatorDetailDialogOpening(incubator) } }, IncubatorProps))))))))),
|
|
251
|
-
openCreateIncubatorDialog && react_1.default.createElement(CreateIncubatorDialog_1.default, { open: openCreateIncubatorDialog, onClose: handleCreateIncubatorDialogClose }),
|
|
252
|
+
openCreateIncubatorDialog && (react_1.default.createElement(CreateIncubatorDialog_1.default, { className: classes.createDialog, open: openCreateIncubatorDialog, onClose: handleCreateIncubatorDialogClose })),
|
|
252
253
|
openIncubatorDetailDialog && (react_1.default.createElement(IncubatorDetail_1.default, { open: openIncubatorDetailDialog, onClose: handleIncubatorDetailDialogClose, incubator: detailObj, onSubscriptionsUpdate: handleSubscriptionsUpdate }))));
|
|
253
254
|
return (react_1.default.createElement(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest), content));
|
|
254
255
|
}
|
|
@@ -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;
|
|
@@ -7,12 +7,15 @@ const List_1 = tslib_1.__importDefault(require("@mui/material/List"));
|
|
|
7
7
|
const styles_1 = require("@mui/material/styles");
|
|
8
8
|
const Incubator_1 = require("../Incubator");
|
|
9
9
|
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
10
|
-
const
|
|
10
|
+
const constants_1 = require("./constants");
|
|
11
11
|
const classes = {
|
|
12
|
-
root: `${PREFIX}-root`,
|
|
13
|
-
list: `${PREFIX}-list`
|
|
12
|
+
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
13
|
+
list: `${constants_1.PREFIX}-list`
|
|
14
14
|
};
|
|
15
|
-
const Root = (0, styles_1.styled)(Widget_1.default
|
|
15
|
+
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
16
|
+
name: constants_1.PREFIX,
|
|
17
|
+
slot: 'SkeletonRoot'
|
|
18
|
+
})(() => ({}));
|
|
16
19
|
/**
|
|
17
20
|
* > API documentation for the Community-JS Incubator List Skeleton component. Learn about the available props and the CSS API.
|
|
18
21
|
|
|
@@ -24,14 +27,14 @@ const Root = (0, styles_1.styled)(Widget_1.default)(({ theme }) => ({}));
|
|
|
24
27
|
|
|
25
28
|
#### Component Name
|
|
26
29
|
|
|
27
|
-
The name `
|
|
30
|
+
The name `SCIncubatorListWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
28
31
|
|
|
29
32
|
#### CSS
|
|
30
33
|
|
|
31
34
|
|Rule Name|Global class|Description|
|
|
32
35
|
|---|---|---|
|
|
33
|
-
|root|.
|
|
34
|
-
|list|.
|
|
36
|
+
|root|.SCIncubatorListWidget-skeleton-root-root|Styles applied to the root element.|
|
|
37
|
+
|list|.SCIncubatorListWidget-list|Styles applied to the list element.|
|
|
35
38
|
*
|
|
36
39
|
*/
|
|
37
40
|
function IncubatorListWidgetSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCIncubatorListWidget";
|
|
@@ -20,25 +20,23 @@ const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
|
20
20
|
const IncubatorDetail_1 = tslib_1.__importDefault(require("../IncubatorDetail"));
|
|
21
21
|
const HiddenPlaceholder_1 = tslib_1.__importDefault(require("../../shared/HiddenPlaceholder"));
|
|
22
22
|
const widget_1 = require("../../utils/widget");
|
|
23
|
-
const
|
|
23
|
+
const constants_1 = require("./constants");
|
|
24
24
|
const classes = {
|
|
25
|
-
root: `${PREFIX}-root`,
|
|
26
|
-
title: `${PREFIX}-title`,
|
|
27
|
-
noResults: `${PREFIX}-no-results`,
|
|
28
|
-
showMore: `${PREFIX}-show-more`,
|
|
29
|
-
dialogRoot: `${PREFIX}-dialog-root`,
|
|
30
|
-
endMessage: `${PREFIX}-end-message`
|
|
25
|
+
root: `${constants_1.PREFIX}-root`,
|
|
26
|
+
title: `${constants_1.PREFIX}-title`,
|
|
27
|
+
noResults: `${constants_1.PREFIX}-no-results`,
|
|
28
|
+
showMore: `${constants_1.PREFIX}-show-more`,
|
|
29
|
+
dialogRoot: `${constants_1.PREFIX}-dialog-root`,
|
|
30
|
+
endMessage: `${constants_1.PREFIX}-end-message`
|
|
31
31
|
};
|
|
32
32
|
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
33
|
-
name: PREFIX,
|
|
34
|
-
slot: 'Root'
|
|
35
|
-
|
|
36
|
-
})(({ theme }) => ({}));
|
|
33
|
+
name: constants_1.PREFIX,
|
|
34
|
+
slot: 'Root'
|
|
35
|
+
})(() => ({}));
|
|
37
36
|
const DialogRoot = (0, styles_1.styled)(BaseDialog_1.default, {
|
|
38
|
-
name: PREFIX,
|
|
39
|
-
slot: '
|
|
40
|
-
|
|
41
|
-
})(({ theme }) => ({}));
|
|
37
|
+
name: constants_1.PREFIX,
|
|
38
|
+
slot: 'DialogRoot'
|
|
39
|
+
})(() => ({}));
|
|
42
40
|
/**
|
|
43
41
|
* > API documentation for the Community-JS Incubator Suggestion component. Learn about the available props and the CSS API.
|
|
44
42
|
*
|
|
@@ -71,7 +69,7 @@ function IncubatorSuggestionWidget(inProps) {
|
|
|
71
69
|
// PROPS
|
|
72
70
|
const props = (0, system_1.useThemeProps)({
|
|
73
71
|
props: inProps,
|
|
74
|
-
name: PREFIX
|
|
72
|
+
name: constants_1.PREFIX
|
|
75
73
|
});
|
|
76
74
|
const { autoHide = true, limit = 3, className, IncubatorProps = {}, cacheStrategy = utils_1.CacheStrategies.NETWORK_ONLY, onHeightChange, onStateChange, DialogProps = {} } = props, rest = tslib_1.__rest(props, ["autoHide", "limit", "className", "IncubatorProps", "cacheStrategy", "onHeightChange", "onStateChange", "DialogProps"]);
|
|
77
75
|
// CONTEXT
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCIncubatorSuggestionWidget-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|.SCIncubatorSuggestionWidget-skeleton-root-root|Styles applied to the root element.|
|
|
19
|
+
|list|.SCIncubatorSuggestionWidget-list|Styles applied to the list element.|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
export default function IncubatorSuggestionWidgetSkeleton(props: any): JSX.Element;
|
|
@@ -7,12 +7,15 @@ const List_1 = tslib_1.__importDefault(require("@mui/material/List"));
|
|
|
7
7
|
const styles_1 = require("@mui/material/styles");
|
|
8
8
|
const Incubator_1 = require("../Incubator");
|
|
9
9
|
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
10
|
-
const
|
|
10
|
+
const constants_1 = require("./constants");
|
|
11
11
|
const classes = {
|
|
12
|
-
root: `${PREFIX}-root`,
|
|
13
|
-
list: `${PREFIX}-list`
|
|
12
|
+
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
13
|
+
list: `${constants_1.PREFIX}-list`
|
|
14
14
|
};
|
|
15
|
-
const Root = (0, styles_1.styled)(Widget_1.default
|
|
15
|
+
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
16
|
+
name: constants_1.PREFIX,
|
|
17
|
+
slot: 'SkeletonRoot'
|
|
18
|
+
})(() => ({}));
|
|
16
19
|
/**
|
|
17
20
|
* > API documentation for the Community-JS Incubator Suggestion Widget Skeleton component. Learn about the available props and the CSS API.
|
|
18
21
|
|
|
@@ -24,14 +27,14 @@ const Root = (0, styles_1.styled)(Widget_1.default)(({ theme }) => ({}));
|
|
|
24
27
|
|
|
25
28
|
#### Component Name
|
|
26
29
|
|
|
27
|
-
The name `
|
|
30
|
+
The name `SCIncubatorSuggestionWidget-skeleton-root` can be used when providing style overrides in the theme.
|
|
28
31
|
|
|
29
32
|
#### CSS
|
|
30
33
|
|
|
31
34
|
|Rule Name|Global class|Description|
|
|
32
35
|
|---|---|---|
|
|
33
|
-
|root|.
|
|
34
|
-
|list|.
|
|
36
|
+
|root|.SCIncubatorSuggestionWidget-skeleton-root-root|Styles applied to the root element.|
|
|
37
|
+
|list|.SCIncubatorSuggestionWidget-list|Styles applied to the list element.|
|
|
35
38
|
*
|
|
36
39
|
*/
|
|
37
40
|
function IncubatorSuggestionWidgetSkeleton(props) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PREFIX = "SCIncubatorSuggestionWidget";
|
|
@@ -16,19 +16,18 @@ const HiddenPlaceholder_1 = tslib_1.__importDefault(require("../../shared/Hidden
|
|
|
16
16
|
const Skeleton_1 = tslib_1.__importDefault(require("./Skeleton"));
|
|
17
17
|
const Errors_1 = require("../../constants/Errors");
|
|
18
18
|
const utils_1 = require("@selfcommunity/utils");
|
|
19
|
-
const
|
|
19
|
+
const constants_1 = require("./constants");
|
|
20
20
|
const classes = {
|
|
21
|
-
root: `${PREFIX}-root`,
|
|
22
|
-
title: `${PREFIX}-title`,
|
|
23
|
-
actions: `${PREFIX}-actions`,
|
|
24
|
-
points: `${PREFIX}-points`,
|
|
25
|
-
discoverMore: `${PREFIX}-discover-more`
|
|
21
|
+
root: `${constants_1.PREFIX}-root`,
|
|
22
|
+
title: `${constants_1.PREFIX}-title`,
|
|
23
|
+
actions: `${constants_1.PREFIX}-actions`,
|
|
24
|
+
points: `${constants_1.PREFIX}-points`,
|
|
25
|
+
discoverMore: `${constants_1.PREFIX}-discover-more`
|
|
26
26
|
};
|
|
27
27
|
const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
28
|
-
name: PREFIX,
|
|
29
|
-
slot: 'Root'
|
|
30
|
-
|
|
31
|
-
})(({ theme }) => ({}));
|
|
28
|
+
name: constants_1.PREFIX,
|
|
29
|
+
slot: 'Root'
|
|
30
|
+
})(() => ({}));
|
|
32
31
|
/**
|
|
33
32
|
* > API documentation for the Community-JS Loyalty Program Widget component. Learn about the available props and the CSS API.
|
|
34
33
|
*
|
|
@@ -62,7 +61,7 @@ const Root = (0, styles_1.styled)(Widget_1.default, {
|
|
|
62
61
|
function LoyaltyProgramWidget(inProps) {
|
|
63
62
|
const props = (0, system_1.useThemeProps)({
|
|
64
63
|
props: inProps,
|
|
65
|
-
name: PREFIX
|
|
64
|
+
name: constants_1.PREFIX
|
|
66
65
|
});
|
|
67
66
|
// PROPS
|
|
68
67
|
const { className, userId = null } = props, rest = tslib_1.__rest(props, ["className", "userId"]);
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
|
|
10
10
|
#### Component Name
|
|
11
11
|
|
|
12
|
-
The name `
|
|
12
|
+
The name `SCLoyaltyProgramWidget-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
|
-
|title|.
|
|
20
|
-
|content|.
|
|
21
|
-
|chip|.
|
|
22
|
-
|points|.
|
|
23
|
-
|actions|.
|
|
18
|
+
|root|.SCLoyaltyProgramWidget-skeleton-root|Styles applied to the root element.|
|
|
19
|
+
|title|.SCLoyaltyProgramWidget-title|Styles applied to the title element.|
|
|
20
|
+
|content|.SCLoyaltyProgramWidget-content|Styles applied to the card content section.|
|
|
21
|
+
|chip|.SCLoyaltyProgramWidget-chip|Styles applied to the card chip element.|
|
|
22
|
+
|points|.SCLoyaltyProgramWidget-points|Styles applied to the card actions points element.|
|
|
23
|
+
|actions|.SCLoyaltyProgramWidget-actions|Styles applied to the action section.|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export default function LoyaltyProgramWidgetSkeleton(): JSX.Element;
|