@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.
Files changed (572) hide show
  1. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +9 -27
  2. package/lib/cjs/components/BroadcastMessages/Message.js +14 -51
  3. package/lib/cjs/components/BroadcastMessages/Skeleton.d.ts +8 -8
  4. package/lib/cjs/components/BroadcastMessages/Skeleton.js +23 -28
  5. package/lib/cjs/components/BroadcastMessages/constants.d.ts +1 -0
  6. package/lib/cjs/components/BroadcastMessages/constants.js +4 -0
  7. package/lib/cjs/components/CategoryHeader/CategoryHeader.js +13 -14
  8. package/lib/cjs/components/CategoryHeader/Skeleton.d.ts +2 -4
  9. package/lib/cjs/components/CategoryHeader/Skeleton.js +7 -27
  10. package/lib/cjs/components/CategoryHeader/constants.d.ts +1 -0
  11. package/lib/cjs/components/CategoryHeader/constants.js +4 -0
  12. package/lib/cjs/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +12 -14
  13. package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.d.ts +3 -2
  14. package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.js +10 -8
  15. package/lib/cjs/components/CategoryTrendingFeedWidget/constants.d.ts +1 -0
  16. package/lib/cjs/components/CategoryTrendingFeedWidget/constants.js +4 -0
  17. package/lib/cjs/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +14 -16
  18. package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.d.ts +3 -3
  19. package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.js +10 -9
  20. package/lib/cjs/components/CategoryTrendingUsersWidget/constants.d.ts +1 -0
  21. package/lib/cjs/components/CategoryTrendingUsersWidget/constants.js +4 -0
  22. package/lib/cjs/components/ChangePicture/ChangePicture.d.ts +1 -0
  23. package/lib/cjs/components/ChangePicture/ChangePicture.js +9 -8
  24. package/lib/cjs/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +11 -19
  25. package/lib/cjs/components/ChangePicture/constants.d.ts +1 -0
  26. package/lib/cjs/components/ChangePicture/constants.js +4 -0
  27. package/lib/cjs/components/CommentObject/CommentObject.js +20 -21
  28. package/lib/cjs/components/CommentObject/Skeleton.d.ts +2 -2
  29. package/lib/cjs/components/CommentObject/Skeleton.js +9 -24
  30. package/lib/cjs/components/CommentObject/constants.d.ts +1 -0
  31. package/lib/cjs/components/CommentObject/constants.js +4 -0
  32. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +8 -9
  33. package/lib/cjs/components/CommentsFeedObject/Skeleton.js +10 -1
  34. package/lib/cjs/components/CommentsFeedObject/constants.d.ts +1 -0
  35. package/lib/cjs/components/CommentsFeedObject/constants.js +4 -0
  36. package/lib/cjs/components/CommentsObject/CommentsObject.js +13 -14
  37. package/lib/cjs/components/CommentsObject/Skeleton.d.ts +2 -2
  38. package/lib/cjs/components/CommentsObject/Skeleton.js +8 -7
  39. package/lib/cjs/components/CommentsObject/constants.d.ts +1 -0
  40. package/lib/cjs/components/CommentsObject/constants.js +4 -0
  41. package/lib/cjs/components/ConsentSolution/ConsentSolution.js +22 -108
  42. package/lib/cjs/components/ConsentSolution/Skeleton.d.ts +7 -7
  43. package/lib/cjs/components/ConsentSolution/Skeleton.js +18 -43
  44. package/lib/cjs/components/ConsentSolution/constants.d.ts +1 -0
  45. package/lib/cjs/components/ConsentSolution/constants.js +4 -0
  46. package/lib/cjs/components/CustomAdv/CustomAdv.js +10 -30
  47. package/lib/cjs/components/CustomAdv/Skeleton.d.ts +2 -2
  48. package/lib/cjs/components/CustomAdv/Skeleton.js +6 -7
  49. package/lib/cjs/components/CustomAdv/constants.d.ts +1 -0
  50. package/lib/cjs/components/CustomAdv/constants.js +4 -0
  51. package/lib/cjs/components/Editor/Editor.js +32 -32
  52. package/lib/cjs/components/Editor/Skeleton.d.ts +2 -2
  53. package/lib/cjs/components/Editor/Skeleton.js +7 -8
  54. package/lib/cjs/components/Editor/constants.d.ts +1 -0
  55. package/lib/cjs/components/Editor/constants.js +4 -0
  56. package/lib/cjs/components/Editor/plugins/EmojiPlugin.js +5 -6
  57. package/lib/cjs/components/Editor/plugins/FloatingLinkPlugin.js +7 -8
  58. package/lib/cjs/components/Editor/plugins/HashtagPlugin.js +5 -6
  59. package/lib/cjs/components/Editor/plugins/ImagePlugin.js +5 -6
  60. package/lib/cjs/components/Editor/plugins/MentionsPlugin.js +5 -6
  61. package/lib/cjs/components/Editor/plugins/ToolbarPlugin.js +7 -8
  62. package/lib/cjs/components/Feed/Feed.js +13 -14
  63. package/lib/cjs/components/Feed/Skeleton.d.ts +4 -4
  64. package/lib/cjs/components/Feed/Skeleton.js +11 -12
  65. package/lib/cjs/components/Feed/constants.d.ts +1 -0
  66. package/lib/cjs/components/Feed/constants.js +4 -0
  67. package/lib/cjs/components/FeedObject/Actions/Actions.d.ts +1 -1
  68. package/lib/cjs/components/FeedObject/Actions/Actions.js +7 -19
  69. package/lib/cjs/components/FeedObject/Actions/Comment/Comment.d.ts +1 -1
  70. package/lib/cjs/components/FeedObject/Actions/Comment/Comment.js +10 -16
  71. package/lib/cjs/components/FeedObject/Actions/Follow/Follow.d.ts +1 -1
  72. package/lib/cjs/components/FeedObject/Actions/Follow/Follow.js +9 -15
  73. package/lib/cjs/components/FeedObject/Actions/Share/Share.d.ts +1 -1
  74. package/lib/cjs/components/FeedObject/Actions/Share/Share.js +10 -16
  75. package/lib/cjs/components/FeedObject/Actions/Vote/Vote.d.ts +1 -1
  76. package/lib/cjs/components/FeedObject/Actions/Vote/Vote.js +10 -16
  77. package/lib/cjs/components/FeedObject/Activities/Activities.d.ts +1 -1
  78. package/lib/cjs/components/FeedObject/Activities/Activities.js +8 -16
  79. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
  80. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +7 -13
  81. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.d.ts +1 -1
  82. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +12 -31
  83. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +8 -17
  84. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.d.ts +1 -1
  85. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +8 -22
  86. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.d.ts +1 -1
  87. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +7 -20
  88. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.d.ts +1 -1
  89. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +8 -22
  90. package/lib/cjs/components/FeedObject/Contributors/Contributors.d.ts +1 -1
  91. package/lib/cjs/components/FeedObject/Contributors/Contributors.js +8 -34
  92. package/lib/cjs/components/FeedObject/Contributors/Skeleton.d.ts +2 -2
  93. package/lib/cjs/components/FeedObject/Contributors/Skeleton.js +8 -13
  94. package/lib/cjs/components/FeedObject/FeedObject.js +31 -32
  95. package/lib/cjs/components/FeedObject/Poll/Choice/Choice.d.ts +1 -1
  96. package/lib/cjs/components/FeedObject/Poll/Choice/Choice.js +9 -34
  97. package/lib/cjs/components/FeedObject/Poll/Poll.d.ts +1 -1
  98. package/lib/cjs/components/FeedObject/Poll/Poll.js +14 -20
  99. package/lib/cjs/components/FeedObject/Skeleton.d.ts +3 -3
  100. package/lib/cjs/components/FeedObject/Skeleton.js +9 -10
  101. package/lib/cjs/components/FeedObject/constants.d.ts +1 -0
  102. package/lib/cjs/components/FeedObject/constants.js +4 -0
  103. package/lib/cjs/components/FeedObjectMediaPreview/FeedObjectMediaPreview.d.ts +2 -2
  104. package/lib/cjs/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +8 -8
  105. package/lib/cjs/components/FeedUpdatesWidget/FeedUpdatesWidget.js +6 -7
  106. package/lib/cjs/components/FeedUpdatesWidget/Skeleton.d.ts +3 -3
  107. package/lib/cjs/components/FeedUpdatesWidget/Skeleton.js +10 -7
  108. package/lib/cjs/components/FeedUpdatesWidget/constants.d.ts +1 -0
  109. package/lib/cjs/components/FeedUpdatesWidget/constants.js +4 -0
  110. package/lib/cjs/components/Footer/Footer.d.ts +2 -1
  111. package/lib/cjs/components/Footer/Footer.js +10 -10
  112. package/lib/cjs/components/Footer/Skeleton.d.ts +2 -2
  113. package/lib/cjs/components/Footer/Skeleton.js +7 -8
  114. package/lib/cjs/components/Footer/constants.d.ts +1 -0
  115. package/lib/cjs/components/Footer/constants.js +4 -0
  116. package/lib/cjs/components/Incubator/Incubator.js +9 -10
  117. package/lib/cjs/components/Incubator/Skeleton.d.ts +6 -6
  118. package/lib/cjs/components/Incubator/Skeleton.js +15 -16
  119. package/lib/cjs/components/Incubator/constants.d.ts +1 -0
  120. package/lib/cjs/components/Incubator/constants.js +4 -0
  121. package/lib/cjs/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +11 -34
  122. package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.d.ts +1 -0
  123. package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.js +17 -16
  124. package/lib/cjs/components/IncubatorListWidget/Skeleton.d.ts +3 -3
  125. package/lib/cjs/components/IncubatorListWidget/Skeleton.js +10 -7
  126. package/lib/cjs/components/IncubatorListWidget/constants.d.ts +1 -0
  127. package/lib/cjs/components/IncubatorListWidget/constants.js +4 -0
  128. package/lib/cjs/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +14 -16
  129. package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.d.ts +3 -3
  130. package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.js +10 -7
  131. package/lib/cjs/components/IncubatorSuggestionWidget/constants.d.ts +1 -0
  132. package/lib/cjs/components/IncubatorSuggestionWidget/constants.js +4 -0
  133. package/lib/cjs/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +10 -11
  134. package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.d.ts +7 -7
  135. package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.js +17 -18
  136. package/lib/cjs/components/LoyaltyProgramWidget/constants.d.ts +1 -0
  137. package/lib/cjs/components/LoyaltyProgramWidget/constants.js +4 -0
  138. package/lib/cjs/components/NavigationToolbar/NavigationToolbar.d.ts +1 -0
  139. package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +20 -19
  140. package/lib/cjs/components/NavigationToolbar/NotificationMenu.js +9 -20
  141. package/lib/cjs/components/NavigationToolbar/Skeleton.d.ts +5 -5
  142. package/lib/cjs/components/NavigationToolbar/Skeleton.js +13 -14
  143. package/lib/cjs/components/NavigationToolbar/constants.d.ts +1 -0
  144. package/lib/cjs/components/NavigationToolbar/constants.js +4 -0
  145. package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +13 -35
  146. package/lib/cjs/components/Notification/Comment/Comment.js +13 -14
  147. package/lib/cjs/components/Notification/Contribution/Contribution.js +13 -14
  148. package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +12 -35
  149. package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +13 -34
  150. package/lib/cjs/components/Notification/IncubatorApproved/IncubatorApproved.js +11 -22
  151. package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +13 -34
  152. package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +13 -35
  153. package/lib/cjs/components/Notification/Mention/Mention.js +12 -31
  154. package/lib/cjs/components/Notification/Notification.js +16 -17
  155. package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +16 -60
  156. package/lib/cjs/components/Notification/Skeleton.d.ts +2 -2
  157. package/lib/cjs/components/Notification/Skeleton.js +8 -7
  158. package/lib/cjs/components/Notification/UndeletedFor/UndeletedFor.js +13 -35
  159. package/lib/cjs/components/Notification/UserBlocked/UserBlocked.js +11 -25
  160. package/lib/cjs/components/Notification/UserConnection/UserConnection.js +11 -22
  161. package/lib/cjs/components/Notification/UserFollow/UserFollow.js +11 -23
  162. package/lib/cjs/components/Notification/VoteUp/VoteUp.js +12 -29
  163. package/lib/cjs/components/Notification/constants.d.ts +1 -0
  164. package/lib/cjs/components/Notification/constants.js +4 -0
  165. package/lib/cjs/components/PlatformWidget/PlatformWidget.js +7 -8
  166. package/lib/cjs/components/PlatformWidget/Skeleton.d.ts +2 -2
  167. package/lib/cjs/components/PlatformWidget/Skeleton.js +7 -8
  168. package/lib/cjs/components/PlatformWidget/constants.d.ts +1 -0
  169. package/lib/cjs/components/PlatformWidget/constants.js +4 -0
  170. package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.d.ts +6 -5
  171. package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +16 -39
  172. package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.d.ts +1 -0
  173. package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.js +18 -18
  174. package/lib/cjs/components/PollSuggestionWidget/Skeleton.d.ts +3 -3
  175. package/lib/cjs/components/PollSuggestionWidget/Skeleton.js +10 -7
  176. package/lib/cjs/components/PollSuggestionWidget/constants.d.ts +1 -0
  177. package/lib/cjs/components/PollSuggestionWidget/constants.js +4 -0
  178. package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +9 -10
  179. package/lib/cjs/components/PrivateMessageComponent/Skeleton.d.ts +3 -3
  180. package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +9 -10
  181. package/lib/cjs/components/PrivateMessageComponent/constants.d.ts +1 -0
  182. package/lib/cjs/components/PrivateMessageComponent/constants.js +4 -0
  183. package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js +13 -14
  184. package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +1 -1
  185. package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +12 -13
  186. package/lib/cjs/components/PrivateMessageEditor/Skeleton.js +5 -6
  187. package/lib/cjs/components/PrivateMessageEditor/constants.d.ts +1 -0
  188. package/lib/cjs/components/PrivateMessageEditor/constants.js +4 -0
  189. package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +11 -12
  190. package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.d.ts +3 -3
  191. package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +10 -9
  192. package/lib/cjs/components/PrivateMessageSnippetItem/constants.d.ts +1 -0
  193. package/lib/cjs/components/PrivateMessageSnippetItem/constants.js +4 -0
  194. package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +12 -13
  195. package/lib/cjs/components/PrivateMessageSnippets/Skeleton.d.ts +5 -5
  196. package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js +14 -11
  197. package/lib/cjs/components/PrivateMessageSnippets/constants.d.ts +1 -0
  198. package/lib/cjs/components/PrivateMessageSnippets/constants.js +4 -0
  199. package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +18 -19
  200. package/lib/cjs/components/PrivateMessageThread/Skeleton.d.ts +3 -3
  201. package/lib/cjs/components/PrivateMessageThread/Skeleton.js +10 -11
  202. package/lib/cjs/components/PrivateMessageThread/constants.d.ts +1 -0
  203. package/lib/cjs/components/PrivateMessageThread/constants.js +4 -0
  204. package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +1 -0
  205. package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +20 -21
  206. package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.d.ts +3 -3
  207. package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.js +10 -7
  208. package/lib/cjs/components/PrivateMessageThreadItem/constants.d.ts +1 -0
  209. package/lib/cjs/components/PrivateMessageThreadItem/constants.js +4 -0
  210. package/lib/cjs/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +14 -16
  211. package/lib/cjs/components/RelatedFeedObjectsWidget/Skeleton.d.ts +2 -2
  212. package/lib/cjs/components/RelatedFeedObjectsWidget/Skeleton.js +7 -8
  213. package/lib/cjs/components/RelatedFeedObjectsWidget/constants.d.ts +1 -0
  214. package/lib/cjs/components/RelatedFeedObjectsWidget/constants.js +4 -0
  215. package/lib/cjs/components/SnippetNotifications/Skeleton.d.ts +3 -3
  216. package/lib/cjs/components/SnippetNotifications/Skeleton.js +11 -8
  217. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +11 -18
  218. package/lib/cjs/components/SnippetNotifications/constants.d.ts +1 -0
  219. package/lib/cjs/components/SnippetNotifications/constants.js +4 -0
  220. package/lib/cjs/components/ToastNotifications/Skeleton.d.ts +2 -2
  221. package/lib/cjs/components/ToastNotifications/Skeleton.js +7 -8
  222. package/lib/cjs/components/ToastNotifications/ToastNotifications.js +5 -6
  223. package/lib/cjs/components/ToastNotifications/constants.d.ts +1 -0
  224. package/lib/cjs/components/ToastNotifications/constants.js +4 -0
  225. package/lib/cjs/components/User/Skeleton.d.ts +2 -2
  226. package/lib/cjs/components/User/Skeleton.js +8 -5
  227. package/lib/cjs/components/User/User.js +6 -6
  228. package/lib/cjs/components/User/constants.d.ts +1 -0
  229. package/lib/cjs/components/User/constants.js +4 -0
  230. package/lib/cjs/components/UserConnectionsRequestsSentWidget/Skeleton.d.ts +2 -2
  231. package/lib/cjs/components/UserConnectionsRequestsSentWidget/Skeleton.js +7 -8
  232. package/lib/cjs/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +14 -16
  233. package/lib/cjs/components/UserConnectionsRequestsSentWidget/constants.d.ts +1 -0
  234. package/lib/cjs/components/UserConnectionsRequestsSentWidget/constants.js +4 -0
  235. package/lib/cjs/components/UserConnectionsRequestsWidget/Skeleton.d.ts +2 -2
  236. package/lib/cjs/components/UserConnectionsRequestsWidget/Skeleton.js +7 -8
  237. package/lib/cjs/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +14 -16
  238. package/lib/cjs/components/UserConnectionsRequestsWidget/constants.d.ts +1 -0
  239. package/lib/cjs/components/UserConnectionsRequestsWidget/constants.js +4 -0
  240. package/lib/cjs/components/UserConnectionsWidget/Skeleton.d.ts +2 -2
  241. package/lib/cjs/components/UserConnectionsWidget/Skeleton.js +5 -5
  242. package/lib/cjs/components/UserConnectionsWidget/UserConnectionsWidget.js +14 -16
  243. package/lib/cjs/components/UserConnectionsWidget/constants.d.ts +1 -0
  244. package/lib/cjs/components/UserConnectionsWidget/constants.js +4 -0
  245. package/lib/cjs/components/UserFollowedCategoriesWidget/Skeleton.d.ts +2 -2
  246. package/lib/cjs/components/UserFollowedCategoriesWidget/Skeleton.js +5 -8
  247. package/lib/cjs/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +12 -14
  248. package/lib/cjs/components/UserFollowedCategoriesWidget/constants.d.ts +1 -0
  249. package/lib/cjs/components/UserFollowedCategoriesWidget/constants.js +4 -0
  250. package/lib/cjs/components/UserFollowedUsersWidget/Skeleton.d.ts +2 -2
  251. package/lib/cjs/components/UserFollowedUsersWidget/Skeleton.js +7 -8
  252. package/lib/cjs/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +12 -14
  253. package/lib/cjs/components/UserFollowedUsersWidget/constants.d.ts +1 -0
  254. package/lib/cjs/components/UserFollowedUsersWidget/constants.js +4 -0
  255. package/lib/cjs/components/UserFollowersWidget/Skeleton.d.ts +2 -2
  256. package/lib/cjs/components/UserFollowersWidget/Skeleton.js +7 -8
  257. package/lib/cjs/components/UserFollowersWidget/UserFollowersWidget.js +14 -16
  258. package/lib/cjs/components/UserFollowersWidget/constants.d.ts +1 -0
  259. package/lib/cjs/components/UserFollowersWidget/constants.js +4 -0
  260. package/lib/cjs/components/UserInfo/Skeleton.d.ts +2 -2
  261. package/lib/cjs/components/UserInfo/Skeleton.js +7 -8
  262. package/lib/cjs/components/UserInfo/UserInfo.js +7 -8
  263. package/lib/cjs/components/UserInfo/constants.d.ts +1 -0
  264. package/lib/cjs/components/UserInfo/constants.js +4 -0
  265. package/lib/cjs/components/UserInfoDialog/UserInfoDialog.js +9 -10
  266. package/lib/cjs/components/UserProfileEdit/Section/Account.js +11 -10
  267. package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +15 -18
  268. package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +8 -20
  269. package/lib/cjs/components/UserProfileEdit/Section/Settings.js +7 -15
  270. package/lib/cjs/components/UserProfileEdit/Skeleton.d.ts +2 -2
  271. package/lib/cjs/components/UserProfileEdit/Skeleton.js +6 -7
  272. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +14 -12
  273. package/lib/cjs/components/UserProfileEdit/constants.d.ts +1 -0
  274. package/lib/cjs/components/UserProfileEdit/constants.js +4 -0
  275. package/lib/cjs/components/UserProfileHeader/Skeleton.d.ts +4 -4
  276. package/lib/cjs/components/UserProfileHeader/Skeleton.js +11 -27
  277. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +12 -13
  278. package/lib/cjs/components/UserProfileHeader/constants.d.ts +1 -0
  279. package/lib/cjs/components/UserProfileHeader/constants.js +4 -0
  280. package/lib/cjs/components/UserSuggestionWidget/Skeleton.d.ts +3 -3
  281. package/lib/cjs/components/UserSuggestionWidget/Skeleton.js +10 -7
  282. package/lib/cjs/components/UserSuggestionWidget/UserSuggestionWidget.js +12 -14
  283. package/lib/cjs/components/UserSuggestionWidget/constants.d.ts +1 -0
  284. package/lib/cjs/components/UserSuggestionWidget/constants.js +4 -0
  285. package/lib/cjs/shared/ContributionActionsMenu/index.js +10 -10
  286. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +3 -21
  287. package/lib/esm/components/BroadcastMessages/Message.js +5 -42
  288. package/lib/esm/components/BroadcastMessages/Skeleton.d.ts +8 -8
  289. package/lib/esm/components/BroadcastMessages/Skeleton.js +22 -27
  290. package/lib/esm/components/BroadcastMessages/constants.d.ts +1 -0
  291. package/lib/esm/components/BroadcastMessages/constants.js +1 -0
  292. package/lib/esm/components/CategoryHeader/CategoryHeader.js +3 -4
  293. package/lib/esm/components/CategoryHeader/Skeleton.d.ts +2 -4
  294. package/lib/esm/components/CategoryHeader/Skeleton.js +6 -26
  295. package/lib/esm/components/CategoryHeader/constants.d.ts +1 -0
  296. package/lib/esm/components/CategoryHeader/constants.js +1 -0
  297. package/lib/esm/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +3 -5
  298. package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.d.ts +3 -2
  299. package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.js +9 -7
  300. package/lib/esm/components/CategoryTrendingFeedWidget/constants.d.ts +1 -0
  301. package/lib/esm/components/CategoryTrendingFeedWidget/constants.js +1 -0
  302. package/lib/esm/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +5 -7
  303. package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.d.ts +3 -3
  304. package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.js +9 -8
  305. package/lib/esm/components/CategoryTrendingUsersWidget/constants.d.ts +1 -0
  306. package/lib/esm/components/CategoryTrendingUsersWidget/constants.js +1 -0
  307. package/lib/esm/components/ChangePicture/ChangePicture.d.ts +1 -0
  308. package/lib/esm/components/ChangePicture/ChangePicture.js +7 -6
  309. package/lib/esm/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +5 -13
  310. package/lib/esm/components/ChangePicture/constants.d.ts +1 -0
  311. package/lib/esm/components/ChangePicture/constants.js +1 -0
  312. package/lib/esm/components/CommentObject/CommentObject.js +3 -4
  313. package/lib/esm/components/CommentObject/Skeleton.d.ts +2 -2
  314. package/lib/esm/components/CommentObject/Skeleton.js +6 -21
  315. package/lib/esm/components/CommentObject/constants.d.ts +1 -0
  316. package/lib/esm/components/CommentObject/constants.js +1 -0
  317. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -4
  318. package/lib/esm/components/CommentsFeedObject/Skeleton.js +10 -1
  319. package/lib/esm/components/CommentsFeedObject/constants.d.ts +1 -0
  320. package/lib/esm/components/CommentsFeedObject/constants.js +1 -0
  321. package/lib/esm/components/CommentsObject/CommentsObject.js +3 -4
  322. package/lib/esm/components/CommentsObject/Skeleton.d.ts +2 -2
  323. package/lib/esm/components/CommentsObject/Skeleton.js +8 -7
  324. package/lib/esm/components/CommentsObject/constants.d.ts +1 -0
  325. package/lib/esm/components/CommentsObject/constants.js +1 -0
  326. package/lib/esm/components/ConsentSolution/ConsentSolution.js +3 -89
  327. package/lib/esm/components/ConsentSolution/Skeleton.d.ts +7 -7
  328. package/lib/esm/components/ConsentSolution/Skeleton.js +11 -36
  329. package/lib/esm/components/ConsentSolution/constants.d.ts +1 -0
  330. package/lib/esm/components/ConsentSolution/constants.js +1 -0
  331. package/lib/esm/components/CustomAdv/CustomAdv.js +3 -23
  332. package/lib/esm/components/CustomAdv/Skeleton.d.ts +2 -2
  333. package/lib/esm/components/CustomAdv/Skeleton.js +5 -6
  334. package/lib/esm/components/CustomAdv/constants.d.ts +1 -0
  335. package/lib/esm/components/CustomAdv/constants.js +1 -0
  336. package/lib/esm/components/Editor/Editor.js +2 -2
  337. package/lib/esm/components/Editor/Skeleton.d.ts +2 -2
  338. package/lib/esm/components/Editor/Skeleton.js +6 -7
  339. package/lib/esm/components/Editor/constants.d.ts +1 -0
  340. package/lib/esm/components/Editor/constants.js +1 -0
  341. package/lib/esm/components/Editor/plugins/EmojiPlugin.js +4 -5
  342. package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +6 -7
  343. package/lib/esm/components/Editor/plugins/HashtagPlugin.js +4 -5
  344. package/lib/esm/components/Editor/plugins/ImagePlugin.js +5 -6
  345. package/lib/esm/components/Editor/plugins/MentionsPlugin.js +4 -5
  346. package/lib/esm/components/Editor/plugins/ToolbarPlugin.js +4 -5
  347. package/lib/esm/components/Feed/Feed.js +6 -7
  348. package/lib/esm/components/Feed/Skeleton.d.ts +4 -4
  349. package/lib/esm/components/Feed/Skeleton.js +8 -9
  350. package/lib/esm/components/Feed/constants.d.ts +1 -0
  351. package/lib/esm/components/Feed/constants.js +1 -0
  352. package/lib/esm/components/FeedObject/Actions/Actions.d.ts +1 -1
  353. package/lib/esm/components/FeedObject/Actions/Actions.js +6 -18
  354. package/lib/esm/components/FeedObject/Actions/Comment/Comment.d.ts +1 -1
  355. package/lib/esm/components/FeedObject/Actions/Comment/Comment.js +9 -15
  356. package/lib/esm/components/FeedObject/Actions/Follow/Follow.d.ts +1 -1
  357. package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +8 -14
  358. package/lib/esm/components/FeedObject/Actions/Share/Share.d.ts +1 -1
  359. package/lib/esm/components/FeedObject/Actions/Share/Share.js +11 -17
  360. package/lib/esm/components/FeedObject/Actions/Vote/Vote.d.ts +1 -1
  361. package/lib/esm/components/FeedObject/Actions/Vote/Vote.js +9 -15
  362. package/lib/esm/components/FeedObject/Activities/Activities.d.ts +1 -1
  363. package/lib/esm/components/FeedObject/Activities/Activities.js +6 -14
  364. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.d.ts +1 -1
  365. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +6 -12
  366. package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.d.ts +1 -1
  367. package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +12 -31
  368. package/lib/esm/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +6 -15
  369. package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.d.ts +1 -1
  370. package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +7 -21
  371. package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.d.ts +1 -1
  372. package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +6 -19
  373. package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.d.ts +1 -1
  374. package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +7 -21
  375. package/lib/esm/components/FeedObject/Contributors/Contributors.d.ts +1 -1
  376. package/lib/esm/components/FeedObject/Contributors/Contributors.js +7 -33
  377. package/lib/esm/components/FeedObject/Contributors/Skeleton.d.ts +2 -2
  378. package/lib/esm/components/FeedObject/Contributors/Skeleton.js +6 -11
  379. package/lib/esm/components/FeedObject/FeedObject.js +5 -6
  380. package/lib/esm/components/FeedObject/Poll/Choice/Choice.d.ts +1 -1
  381. package/lib/esm/components/FeedObject/Poll/Choice/Choice.js +8 -33
  382. package/lib/esm/components/FeedObject/Poll/Poll.d.ts +1 -1
  383. package/lib/esm/components/FeedObject/Poll/Poll.js +13 -19
  384. package/lib/esm/components/FeedObject/Skeleton.d.ts +3 -3
  385. package/lib/esm/components/FeedObject/Skeleton.js +6 -7
  386. package/lib/esm/components/FeedObject/constants.d.ts +1 -0
  387. package/lib/esm/components/FeedObject/constants.js +1 -0
  388. package/lib/esm/components/FeedObjectMediaPreview/FeedObjectMediaPreview.d.ts +2 -2
  389. package/lib/esm/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +6 -6
  390. package/lib/esm/components/FeedUpdatesWidget/FeedUpdatesWidget.js +2 -3
  391. package/lib/esm/components/FeedUpdatesWidget/Skeleton.d.ts +3 -3
  392. package/lib/esm/components/FeedUpdatesWidget/Skeleton.js +9 -6
  393. package/lib/esm/components/FeedUpdatesWidget/constants.d.ts +1 -0
  394. package/lib/esm/components/FeedUpdatesWidget/constants.js +1 -0
  395. package/lib/esm/components/Footer/Footer.d.ts +2 -1
  396. package/lib/esm/components/Footer/Footer.js +4 -4
  397. package/lib/esm/components/Footer/Skeleton.d.ts +2 -2
  398. package/lib/esm/components/Footer/Skeleton.js +6 -7
  399. package/lib/esm/components/Footer/constants.d.ts +1 -0
  400. package/lib/esm/components/Footer/constants.js +1 -0
  401. package/lib/esm/components/Incubator/Incubator.js +3 -4
  402. package/lib/esm/components/Incubator/Skeleton.d.ts +6 -6
  403. package/lib/esm/components/Incubator/Skeleton.js +10 -11
  404. package/lib/esm/components/Incubator/constants.d.ts +1 -0
  405. package/lib/esm/components/Incubator/constants.js +1 -0
  406. package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +4 -27
  407. package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.d.ts +1 -0
  408. package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.js +6 -5
  409. package/lib/esm/components/IncubatorListWidget/Skeleton.d.ts +3 -3
  410. package/lib/esm/components/IncubatorListWidget/Skeleton.js +9 -6
  411. package/lib/esm/components/IncubatorListWidget/constants.d.ts +1 -0
  412. package/lib/esm/components/IncubatorListWidget/constants.js +1 -0
  413. package/lib/esm/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +5 -7
  414. package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.d.ts +3 -3
  415. package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.js +9 -6
  416. package/lib/esm/components/IncubatorSuggestionWidget/constants.d.ts +1 -0
  417. package/lib/esm/components/IncubatorSuggestionWidget/constants.js +1 -0
  418. package/lib/esm/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +3 -4
  419. package/lib/esm/components/LoyaltyProgramWidget/Skeleton.d.ts +7 -7
  420. package/lib/esm/components/LoyaltyProgramWidget/Skeleton.js +11 -12
  421. package/lib/esm/components/LoyaltyProgramWidget/constants.d.ts +1 -0
  422. package/lib/esm/components/LoyaltyProgramWidget/constants.js +1 -0
  423. package/lib/esm/components/NavigationToolbar/NavigationToolbar.d.ts +1 -0
  424. package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +5 -4
  425. package/lib/esm/components/NavigationToolbar/NotificationMenu.js +4 -15
  426. package/lib/esm/components/NavigationToolbar/Skeleton.d.ts +5 -5
  427. package/lib/esm/components/NavigationToolbar/Skeleton.js +9 -10
  428. package/lib/esm/components/NavigationToolbar/constants.d.ts +1 -0
  429. package/lib/esm/components/NavigationToolbar/constants.js +1 -0
  430. package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +4 -26
  431. package/lib/esm/components/Notification/Comment/Comment.js +4 -5
  432. package/lib/esm/components/Notification/Contribution/Contribution.js +4 -5
  433. package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +4 -27
  434. package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +5 -26
  435. package/lib/esm/components/Notification/IncubatorApproved/IncubatorApproved.js +4 -15
  436. package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +4 -25
  437. package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +4 -26
  438. package/lib/esm/components/Notification/Mention/Mention.js +4 -23
  439. package/lib/esm/components/Notification/Notification.js +3 -4
  440. package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +4 -48
  441. package/lib/esm/components/Notification/Skeleton.d.ts +2 -2
  442. package/lib/esm/components/Notification/Skeleton.js +8 -7
  443. package/lib/esm/components/Notification/UndeletedFor/UndeletedFor.js +4 -26
  444. package/lib/esm/components/Notification/UserBlocked/UserBlocked.js +4 -18
  445. package/lib/esm/components/Notification/UserConnection/UserConnection.js +4 -15
  446. package/lib/esm/components/Notification/UserFollow/UserFollow.js +4 -16
  447. package/lib/esm/components/Notification/VoteUp/VoteUp.js +4 -21
  448. package/lib/esm/components/Notification/constants.d.ts +1 -0
  449. package/lib/esm/components/Notification/constants.js +1 -0
  450. package/lib/esm/components/PlatformWidget/PlatformWidget.js +3 -4
  451. package/lib/esm/components/PlatformWidget/Skeleton.d.ts +2 -2
  452. package/lib/esm/components/PlatformWidget/Skeleton.js +6 -7
  453. package/lib/esm/components/PlatformWidget/constants.d.ts +1 -0
  454. package/lib/esm/components/PlatformWidget/constants.js +1 -0
  455. package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.d.ts +6 -5
  456. package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +10 -33
  457. package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.d.ts +1 -0
  458. package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.js +10 -10
  459. package/lib/esm/components/PollSuggestionWidget/Skeleton.d.ts +3 -3
  460. package/lib/esm/components/PollSuggestionWidget/Skeleton.js +9 -6
  461. package/lib/esm/components/PollSuggestionWidget/constants.d.ts +1 -0
  462. package/lib/esm/components/PollSuggestionWidget/constants.js +1 -0
  463. package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +3 -4
  464. package/lib/esm/components/PrivateMessageComponent/Skeleton.d.ts +3 -3
  465. package/lib/esm/components/PrivateMessageComponent/Skeleton.js +6 -7
  466. package/lib/esm/components/PrivateMessageComponent/constants.d.ts +1 -0
  467. package/lib/esm/components/PrivateMessageComponent/constants.js +1 -0
  468. package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js +4 -5
  469. package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.d.ts +1 -1
  470. package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -7
  471. package/lib/esm/components/PrivateMessageEditor/Skeleton.js +4 -5
  472. package/lib/esm/components/PrivateMessageEditor/constants.d.ts +1 -0
  473. package/lib/esm/components/PrivateMessageEditor/constants.js +1 -0
  474. package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -4
  475. package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.d.ts +3 -3
  476. package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +9 -8
  477. package/lib/esm/components/PrivateMessageSnippetItem/constants.d.ts +1 -0
  478. package/lib/esm/components/PrivateMessageSnippetItem/constants.js +1 -0
  479. package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +3 -4
  480. package/lib/esm/components/PrivateMessageSnippets/Skeleton.d.ts +5 -5
  481. package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +11 -8
  482. package/lib/esm/components/PrivateMessageSnippets/constants.d.ts +1 -0
  483. package/lib/esm/components/PrivateMessageSnippets/constants.js +1 -0
  484. package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +3 -4
  485. package/lib/esm/components/PrivateMessageThread/Skeleton.d.ts +3 -3
  486. package/lib/esm/components/PrivateMessageThread/Skeleton.js +7 -8
  487. package/lib/esm/components/PrivateMessageThread/constants.d.ts +1 -0
  488. package/lib/esm/components/PrivateMessageThread/constants.js +1 -0
  489. package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.d.ts +1 -0
  490. package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +11 -12
  491. package/lib/esm/components/PrivateMessageThreadItem/Skeleton.d.ts +3 -3
  492. package/lib/esm/components/PrivateMessageThreadItem/Skeleton.js +9 -6
  493. package/lib/esm/components/PrivateMessageThreadItem/constants.d.ts +1 -0
  494. package/lib/esm/components/PrivateMessageThreadItem/constants.js +1 -0
  495. package/lib/esm/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +5 -7
  496. package/lib/esm/components/RelatedFeedObjectsWidget/Skeleton.d.ts +2 -2
  497. package/lib/esm/components/RelatedFeedObjectsWidget/Skeleton.js +6 -7
  498. package/lib/esm/components/RelatedFeedObjectsWidget/constants.d.ts +1 -0
  499. package/lib/esm/components/RelatedFeedObjectsWidget/constants.js +1 -0
  500. package/lib/esm/components/SnippetNotifications/Skeleton.d.ts +3 -3
  501. package/lib/esm/components/SnippetNotifications/Skeleton.js +9 -6
  502. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +3 -10
  503. package/lib/esm/components/SnippetNotifications/constants.d.ts +1 -0
  504. package/lib/esm/components/SnippetNotifications/constants.js +1 -0
  505. package/lib/esm/components/ToastNotifications/Skeleton.d.ts +2 -2
  506. package/lib/esm/components/ToastNotifications/Skeleton.js +6 -7
  507. package/lib/esm/components/ToastNotifications/ToastNotifications.js +3 -4
  508. package/lib/esm/components/ToastNotifications/constants.d.ts +1 -0
  509. package/lib/esm/components/ToastNotifications/constants.js +1 -0
  510. package/lib/esm/components/User/Skeleton.d.ts +2 -2
  511. package/lib/esm/components/User/Skeleton.js +8 -5
  512. package/lib/esm/components/User/User.js +1 -1
  513. package/lib/esm/components/User/constants.d.ts +1 -0
  514. package/lib/esm/components/User/constants.js +1 -0
  515. package/lib/esm/components/UserConnectionsRequestsSentWidget/Skeleton.d.ts +2 -2
  516. package/lib/esm/components/UserConnectionsRequestsSentWidget/Skeleton.js +6 -7
  517. package/lib/esm/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +5 -7
  518. package/lib/esm/components/UserConnectionsRequestsSentWidget/constants.d.ts +1 -0
  519. package/lib/esm/components/UserConnectionsRequestsSentWidget/constants.js +1 -0
  520. package/lib/esm/components/UserConnectionsRequestsWidget/Skeleton.d.ts +2 -2
  521. package/lib/esm/components/UserConnectionsRequestsWidget/Skeleton.js +6 -7
  522. package/lib/esm/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +5 -7
  523. package/lib/esm/components/UserConnectionsRequestsWidget/constants.d.ts +1 -0
  524. package/lib/esm/components/UserConnectionsRequestsWidget/constants.js +1 -0
  525. package/lib/esm/components/UserConnectionsWidget/Skeleton.d.ts +2 -2
  526. package/lib/esm/components/UserConnectionsWidget/Skeleton.js +4 -4
  527. package/lib/esm/components/UserConnectionsWidget/UserConnectionsWidget.js +5 -7
  528. package/lib/esm/components/UserConnectionsWidget/constants.d.ts +1 -0
  529. package/lib/esm/components/UserConnectionsWidget/constants.js +1 -0
  530. package/lib/esm/components/UserFollowedCategoriesWidget/Skeleton.d.ts +2 -2
  531. package/lib/esm/components/UserFollowedCategoriesWidget/Skeleton.js +5 -8
  532. package/lib/esm/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +3 -5
  533. package/lib/esm/components/UserFollowedCategoriesWidget/constants.d.ts +1 -0
  534. package/lib/esm/components/UserFollowedCategoriesWidget/constants.js +1 -0
  535. package/lib/esm/components/UserFollowedUsersWidget/Skeleton.d.ts +2 -2
  536. package/lib/esm/components/UserFollowedUsersWidget/Skeleton.js +6 -7
  537. package/lib/esm/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +3 -5
  538. package/lib/esm/components/UserFollowedUsersWidget/constants.d.ts +1 -0
  539. package/lib/esm/components/UserFollowedUsersWidget/constants.js +1 -0
  540. package/lib/esm/components/UserFollowersWidget/Skeleton.d.ts +2 -2
  541. package/lib/esm/components/UserFollowersWidget/Skeleton.js +6 -7
  542. package/lib/esm/components/UserFollowersWidget/UserFollowersWidget.js +5 -7
  543. package/lib/esm/components/UserFollowersWidget/constants.d.ts +1 -0
  544. package/lib/esm/components/UserFollowersWidget/constants.js +1 -0
  545. package/lib/esm/components/UserInfo/Skeleton.d.ts +2 -2
  546. package/lib/esm/components/UserInfo/Skeleton.js +5 -6
  547. package/lib/esm/components/UserInfo/UserInfo.js +3 -4
  548. package/lib/esm/components/UserInfo/constants.d.ts +1 -0
  549. package/lib/esm/components/UserInfo/constants.js +1 -0
  550. package/lib/esm/components/UserInfoDialog/UserInfoDialog.js +4 -5
  551. package/lib/esm/components/UserProfileEdit/Section/Account.js +8 -7
  552. package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +5 -8
  553. package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +4 -16
  554. package/lib/esm/components/UserProfileEdit/Section/Settings.js +4 -12
  555. package/lib/esm/components/UserProfileEdit/Skeleton.d.ts +2 -2
  556. package/lib/esm/components/UserProfileEdit/Skeleton.js +5 -6
  557. package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +10 -8
  558. package/lib/esm/components/UserProfileEdit/constants.d.ts +1 -0
  559. package/lib/esm/components/UserProfileEdit/constants.js +1 -0
  560. package/lib/esm/components/UserProfileHeader/Skeleton.d.ts +4 -4
  561. package/lib/esm/components/UserProfileHeader/Skeleton.js +8 -24
  562. package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +3 -4
  563. package/lib/esm/components/UserProfileHeader/constants.d.ts +1 -0
  564. package/lib/esm/components/UserProfileHeader/constants.js +1 -0
  565. package/lib/esm/components/UserSuggestionWidget/Skeleton.d.ts +3 -3
  566. package/lib/esm/components/UserSuggestionWidget/Skeleton.js +9 -6
  567. package/lib/esm/components/UserSuggestionWidget/UserSuggestionWidget.js +3 -5
  568. package/lib/esm/components/UserSuggestionWidget/constants.d.ts +1 -0
  569. package/lib/esm/components/UserSuggestionWidget/constants.js +1 -0
  570. package/lib/esm/shared/ContributionActionsMenu/index.js +10 -10
  571. package/lib/umd/react-ui.js +1 -1
  572. package/package.json +4 -4
@@ -5,15 +5,14 @@ const react_1 = tslib_1.__importDefault(require("react"));
5
5
  const material_1 = require("@mui/material");
6
6
  const styles_1 = require("@mui/material/styles");
7
7
  const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
8
- const PREFIX = 'SCUserInfoSkeleton';
8
+ const constants_1 = require("./constants");
9
9
  const classes = {
10
- root: `${PREFIX}-root`,
11
- field: `${PREFIX}-field`
10
+ root: `${constants_1.PREFIX}-skeleton-root`,
11
+ field: `${constants_1.PREFIX}-field`
12
12
  };
13
13
  const Root = (0, styles_1.styled)(material_1.Box, {
14
- name: PREFIX,
15
- slot: 'Root',
16
- overridesResolver: (props, styles) => styles.root
14
+ name: constants_1.PREFIX,
15
+ slot: 'SkeletonRoot'
17
16
  })(() => ({}));
18
17
  /**
19
18
  * > API documentation for the Community-JS User Profile Info Skeleton component. Learn about the available props and the CSS API.
@@ -26,13 +25,13 @@ const Root = (0, styles_1.styled)(material_1.Box, {
26
25
 
27
26
  #### Component Name
28
27
 
29
- The name `SCUserProfileInfoSkeleton` can be used when providing style overrides in the theme.
28
+ The name `SCUserProfileInfo-skeleton-root` can be used when providing style overrides in the theme.
30
29
 
31
30
  #### CSS
32
31
 
33
32
  |Rule Name|Global class|Description|
34
33
  |---|---|---|
35
- |root|.SCUserProfileInfoSkeleton-root|Styles applied to the root element.|
34
+ |root|.SCUserProfileInfo-skeleton-root|Styles applied to the root element.|
36
35
  *
37
36
  */
38
37
  function UserProfileInfoSkeleton() {
@@ -14,6 +14,7 @@ const system_1 = require("@mui/system");
14
14
  const types_1 = require("../../types");
15
15
  const Errors_1 = require("../../constants/Errors");
16
16
  const Tags_1 = tslib_1.__importStar(require("../../shared/Tags"));
17
+ const constants_1 = require("./constants");
17
18
  const messages = (0, react_intl_1.defineMessages)({
18
19
  realName: {
19
20
  id: 'ui.userInfo.realName',
@@ -56,16 +57,14 @@ const messages = (0, react_intl_1.defineMessages)({
56
57
  defaultMessage: 'ui.userInfo.fieldLink'
57
58
  }
58
59
  });
59
- const PREFIX = 'SCUserInfo';
60
60
  const classes = {
61
- root: `${PREFIX}-root`,
62
- field: `${PREFIX}-field`
61
+ root: `${constants_1.PREFIX}-root`,
62
+ field: `${constants_1.PREFIX}-field`
63
63
  };
64
64
  const Root = (0, styles_1.styled)(material_1.Box, {
65
- name: PREFIX,
66
- slot: 'Root',
67
- overridesResolver: (props, styles) => styles.root
68
- })(({ theme }) => ({}));
65
+ name: constants_1.PREFIX,
66
+ slot: 'Root'
67
+ })(() => ({}));
69
68
  /**
70
69
  * > API documentation for the Community-JS User Info component. Learn about the available props and the CSS API.
71
70
 
@@ -93,7 +92,7 @@ function UserInfo(inProps) {
93
92
  // PROPS
94
93
  const props = (0, system_1.useThemeProps)({
95
94
  props: inProps,
96
- name: PREFIX
95
+ name: constants_1.PREFIX
97
96
  });
98
97
  const { className = null, userId = null, user = null, fields = [...UserProfile_1.DEFAULT_FIELDS] } = props, rest = tslib_1.__rest(props, ["className", "userId", "user", "fields"]);
99
98
  // STATE
@@ -0,0 +1 @@
1
+ export declare const PREFIX = "SCUserInfo";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PREFIX = void 0;
4
+ exports.PREFIX = 'SCUserInfo';
@@ -9,23 +9,22 @@ const UserInfo_1 = tslib_1.__importStar(require("../UserInfo"));
9
9
  const BaseDialog_1 = tslib_1.__importDefault(require("../../shared/BaseDialog"));
10
10
  const react_core_1 = require("@selfcommunity/react-core");
11
11
  const react_intl_1 = require("react-intl");
12
- const PREFIX = 'SCUserInfoDialog';
12
+ const constants_1 = require("../UserInfo/constants");
13
13
  const classes = {
14
- root: `${PREFIX}-root`,
15
- caption: `${PREFIX}-caption`,
16
- avatar: `${PREFIX}-avatar`,
17
- username: `${PREFIX}-username`
14
+ root: `${constants_1.PREFIX}-dialog-root`,
15
+ caption: `${constants_1.PREFIX}-caption`,
16
+ avatar: `${constants_1.PREFIX}-avatar`,
17
+ username: `${constants_1.PREFIX}-username`
18
18
  };
19
19
  const Root = (0, material_1.styled)(BaseDialog_1.default, {
20
- name: PREFIX,
21
- slot: 'Root',
22
- overridesResolver: (props, styles) => styles.root
23
- })(({ theme }) => ({}));
20
+ name: constants_1.PREFIX,
21
+ slot: 'DialogRoot'
22
+ })(() => ({}));
24
23
  function UserInfoDialog(inProps) {
25
24
  // PROPS
26
25
  const props = (0, system_1.useThemeProps)({
27
26
  props: inProps,
28
- name: PREFIX
27
+ name: constants_1.PREFIX
29
28
  });
30
29
  const { className, userId = null, user = null, UserInfoProps = {} } = props, rest = tslib_1.__rest(props, ["className", "userId", "user", "UserInfoProps"]);
31
30
  // HOOKS
@@ -17,6 +17,7 @@ const AccountCredentials_1 = tslib_1.__importDefault(require("./AccountCredentia
17
17
  const AccountDataPortabilityButton_1 = tslib_1.__importDefault(require("../../AccountDataPortabilityButton"));
18
18
  const AccountDeleteButton_1 = tslib_1.__importDefault(require("../../AccountDeleteButton"));
19
19
  const LanguageSwitcher_1 = tslib_1.__importDefault(require("../../../shared/LanguageSwitcher"));
20
+ const constants_1 = require("../constants");
20
21
  const messages = (0, react_intl_1.defineMessages)({
21
22
  socialTitle: {
22
23
  id: 'ui.userProfileEditAccount.socialAssociations.title',
@@ -31,21 +32,21 @@ const messages = (0, react_intl_1.defineMessages)({
31
32
  defaultMessage: 'ui.userProfileEditAccount.socialAssociations.dialog.msg'
32
33
  }
33
34
  });
34
- const PREFIX = 'SCUserProfileEditSectionAccount';
35
35
  const classes = {
36
- root: `${PREFIX}-root`,
37
- dangerZone: `${PREFIX}-danger-zone`
36
+ root: `${constants_1.PREFIX}-account-root`,
37
+ credentials: `${constants_1.PREFIX}-credentials`,
38
+ languageSwitcher: `${constants_1.PREFIX}-language-switcher`,
39
+ dangerZone: `${constants_1.PREFIX}-danger-zone`
38
40
  };
39
41
  const Root = (0, styles_1.styled)(material_1.Box, {
40
- name: PREFIX,
41
- slot: 'Root',
42
- overridesResolver: (props, styles) => styles.root
43
- })(({ theme }) => ({}));
42
+ name: constants_1.PREFIX,
43
+ slot: 'AccountRoot'
44
+ })(() => ({}));
44
45
  function Account(inProps) {
45
46
  // PROPS
46
47
  const props = (0, system_1.useThemeProps)({
47
48
  props: inProps,
48
- name: PREFIX
49
+ name: constants_1.PREFIX
49
50
  });
50
51
  // CONTEXT
51
52
  const scUserContext = (0, react_core_1.useSCUser)();
@@ -77,8 +78,8 @@ function Account(inProps) {
77
78
  }
78
79
  return (react_1.default.createElement(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest),
79
80
  startActions,
80
- showCredentialsSection && react_1.default.createElement(AccountCredentials_1.default, Object.assign({ user: scUserContext === null || scUserContext === void 0 ? void 0 : scUserContext.user }, AccountCredentialProps)),
81
- showLanguageSwitcher && react_1.default.createElement(LanguageSwitcher_1.default, Object.assign({}, LanguageSwitcherProps)),
81
+ showCredentialsSection && react_1.default.createElement(AccountCredentials_1.default, Object.assign({ className: classes.credentials, user: scUserContext === null || scUserContext === void 0 ? void 0 : scUserContext.user }, AccountCredentialProps)),
82
+ showLanguageSwitcher && react_1.default.createElement(LanguageSwitcher_1.default, Object.assign({ className: classes.languageSwitcher }, LanguageSwitcherProps)),
82
83
  showSocialAccountSection && (react_1.default.createElement(UserSocialAssociation_1.default, { children: react_1.default.createElement(material_1.Typography, { variant: "body1", mb: 1, sx: { fontWeight: 'bold' } },
83
84
  ' ',
84
85
  intl.formatMessage(messages.socialTitle)), direction: "row", userId: scUserContext.user.id, onDeleteAssociation: handleOpenDeleteDialog, onCreateAssociation: handleAssociationCreate, deletingProvider: shouldUpdate ? provider : null })),
@@ -16,6 +16,7 @@ const EmailTextField_1 = tslib_1.__importDefault(require("../../../shared/EmailT
16
16
  const lab_1 = require("@mui/lab");
17
17
  const Icon_1 = tslib_1.__importDefault(require("@mui/material/Icon"));
18
18
  const notistack_1 = require("notistack");
19
+ const constants_1 = require("../constants");
19
20
  const messages = (0, react_intl_1.defineMessages)({
20
21
  changePasswordTitle: {
21
22
  id: 'ui.userProfileEditAccountCredentials.changePassword',
@@ -26,35 +27,31 @@ const messages = (0, react_intl_1.defineMessages)({
26
27
  defaultMessage: 'ui.userProfileEditAccountCredentials.confirmPassword.error'
27
28
  }
28
29
  });
29
- const PREFIX = 'SCUserProfileEditSectionAccountCredentials';
30
30
  const classes = {
31
- root: `${PREFIX}-root`,
32
- email: `${PREFIX}-email`,
33
- success: `${PREFIX}-success`,
34
- error: `${PREFIX}-error`,
35
- dangerZone: `${PREFIX}-danger-zone`,
36
- dialogRoot: `${PREFIX}-dialog-root`,
37
- form: `${PREFIX}-password-form`,
38
- formField: `${PREFIX}-form-field`,
39
- password: `${PREFIX}-password`,
40
- confirmChangeButton: `${PREFIX}-confirm-change-button`
31
+ root: `${constants_1.PREFIX}-account-credentials-root`,
32
+ email: `${constants_1.PREFIX}-email`,
33
+ success: `${constants_1.PREFIX}-success`,
34
+ error: `${constants_1.PREFIX}-error`,
35
+ dialogRoot: `${constants_1.PREFIX}-password-dialog-root`,
36
+ form: `${constants_1.PREFIX}-password-form`,
37
+ formField: `${constants_1.PREFIX}-form-field`,
38
+ password: `${constants_1.PREFIX}-password`,
39
+ confirmChangeButton: `${constants_1.PREFIX}-confirm-change-button`
41
40
  };
42
41
  const Root = (0, styles_1.styled)(material_1.Box, {
43
- name: PREFIX,
44
- slot: 'Root',
45
- overridesResolver: (props, styles) => styles.root
42
+ name: constants_1.PREFIX,
43
+ slot: 'AccountCredentialsRoot'
46
44
  })(() => ({}));
47
45
  const PasswordDialogRoot = (0, styles_1.styled)(BaseDialog_1.default, {
48
- name: PREFIX,
49
- slot: 'Root',
50
- overridesResolver: (props, styles) => styles.dialogRoot
46
+ name: constants_1.PREFIX,
47
+ slot: 'PasswordDialogRoot'
51
48
  })(() => ({}));
52
49
  function AccountCredentials(inProps) {
53
50
  var _a;
54
51
  // PROPS
55
52
  const props = (0, system_1.useThemeProps)({
56
53
  props: inProps,
57
- name: PREFIX
54
+ name: constants_1.PREFIX
58
55
  });
59
56
  // CONTEXT
60
57
  const { className = null, user, skipEmailValidation = false } = props, rest = tslib_1.__rest(props, ["className", "user", "skipEmailValidation"]);
@@ -24,6 +24,7 @@ const it_1 = tslib_1.__importDefault(require("date-fns/locale/it"));
24
24
  const en_US_1 = tslib_1.__importDefault(require("date-fns/locale/en-US"));
25
25
  const lab_1 = require("@mui/lab");
26
26
  const notistack_1 = require("notistack");
27
+ const constants_1 = require("../constants");
27
28
  const messages = (0, react_intl_1.defineMessages)({
28
29
  genderMale: {
29
30
  id: 'ui.userProfileEditPublicInfo.genderMale',
@@ -38,35 +39,22 @@ const messages = (0, react_intl_1.defineMessages)({
38
39
  defaultMessage: 'ui.userProfileEditPublicInfo.genderUnspecified'
39
40
  }
40
41
  });
41
- const PREFIX = 'SCUserProfileEditSectionPublicInfo';
42
42
  const classes = {
43
- root: `${PREFIX}-root`,
44
- field: `${PREFIX}-field`,
45
- btnSave: `${PREFIX}-btn-save`
43
+ root: `${constants_1.PREFIX}-public-info-root`,
44
+ field: `${constants_1.PREFIX}-field`,
45
+ btnSave: `${constants_1.PREFIX}-btn-save`
46
46
  };
47
47
  const Root = (0, styles_1.styled)(material_1.Box, {
48
- name: PREFIX,
49
- slot: 'Root',
50
- overridesResolver: (props, styles) => styles.root
51
- })(({ theme }) => ({
52
- [`& .${classes.field}`]: {
53
- margin: theme.spacing(1, 0, 1, 0)
54
- },
55
- [`& .${classes.field} .MuiSelect-icon`]: {
56
- right: theme.spacing(5)
57
- },
58
- [`& .${classes.btnSave}`]: {
59
- marginTop: theme.spacing(2),
60
- marginBottom: theme.spacing()
61
- }
62
- }));
48
+ name: constants_1.PREFIX,
49
+ slot: 'PublicInfoRoot'
50
+ })(() => ({}));
63
51
  const GENDERS = ['Male', 'Female', 'Unspecified'];
64
52
  const DATEPICKER_MINDATE = new Date(1000, 1, 1);
65
53
  function PublicInfo(inProps) {
66
54
  // PROPS
67
55
  const props = (0, system_1.useThemeProps)({
68
56
  props: inProps,
69
- name: PREFIX
57
+ name: constants_1.PREFIX
70
58
  });
71
59
  const { id = null, className = null, fields = [...UserProfile_1.DEFAULT_FIELDS], onEditSuccess = null, onEditFailure = null, startActions = null, endActions = null } = props, rest = tslib_1.__rest(props, ["id", "className", "fields", "onEditSuccess", "onEditFailure", "startActions", "endActions"]);
72
60
  // CONTEXT
@@ -12,28 +12,20 @@ const notistack_1 = require("notistack");
12
12
  const system_1 = require("@mui/system");
13
13
  const UserProfile_1 = require("../../../constants/UserProfile");
14
14
  const types_1 = require("../../../types");
15
- const PREFIX = 'SCUserProfileEditSectionSettings';
15
+ const constants_1 = require("../constants");
16
16
  const classes = {
17
- root: `${PREFIX}-root`,
18
- control: `${PREFIX}-control`
17
+ root: `${constants_1.PREFIX}-settings-root`,
18
+ control: `${constants_1.PREFIX}-control`
19
19
  };
20
20
  const Root = (0, styles_1.styled)(material_1.Box, {
21
- name: PREFIX,
22
- slot: 'Root',
23
- overridesResolver: (props, styles) => styles.root
24
- })(({ theme }) => ({
25
- [`& .${classes.control}`]: {
26
- margin: theme.spacing(0, 0, 2, 0),
27
- ['& .MuiFormControl-root']: {
28
- display: 'block'
29
- }
30
- }
31
- }));
21
+ name: constants_1.PREFIX,
22
+ slot: 'SettingsRoot'
23
+ })(() => ({}));
32
24
  function Settings(inProps) {
33
25
  // PROPS
34
26
  const props = (0, system_1.useThemeProps)({
35
27
  props: inProps,
36
- name: PREFIX
28
+ name: constants_1.PREFIX
37
29
  });
38
30
  const { id = null, className = null, settings = [...UserProfile_1.DEFAULT_SETTINGS], onEditSuccess = null, startActions = null, endActions = null } = props, rest = tslib_1.__rest(props, ["id", "className", "settings", "onEditSuccess", "startActions", "endActions"]);
39
31
  // CONTEXT
@@ -9,13 +9,13 @@
9
9
 
10
10
  #### Component Name
11
11
 
12
- The name `SCUserProfileEditSkeleton` can be used when providing style overrides in the theme.
12
+ The name `SCUserProfileEdit-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|.SCUserProfileEditSkeleton-root|Styles applied to the root element.|
18
+ |root|.SCUserProfileEdit-skeleton-root|Styles applied to the root element.|
19
19
  *
20
20
  */
21
21
  export default function UserProfileEditSkeleton(): JSX.Element;
@@ -5,14 +5,13 @@ const react_1 = tslib_1.__importDefault(require("react"));
5
5
  const material_1 = require("@mui/material");
6
6
  const styles_1 = require("@mui/material/styles");
7
7
  const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
8
- const PREFIX = 'SCUserProfileEditSkeleton';
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: 'Root',
15
- overridesResolver: (props, styles) => styles.root
13
+ name: constants_1.PREFIX,
14
+ slot: 'SkeletonRoot'
16
15
  })(() => ({}));
17
16
  /**
18
17
  * > API documentation for the Community-JS User Profile Edit Skeleton component. Learn about the available props and the CSS API.
@@ -25,13 +24,13 @@ const Root = (0, styles_1.styled)(material_1.Box, {
25
24
 
26
25
  #### Component Name
27
26
 
28
- The name `SCUserProfileEditSkeleton` can be used when providing style overrides in the theme.
27
+ The name `SCUserProfileEdit-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|.SCUserProfileEditSkeleton-root|Styles applied to the root element.|
33
+ |root|.SCUserProfileEdit-skeleton-root|Styles applied to the root element.|
35
34
  *
36
35
  */
37
36
  function UserProfileEditSkeleton() {
@@ -11,17 +11,19 @@ const Account_1 = tslib_1.__importDefault(require("./Section/Account"));
11
11
  const Settings_1 = tslib_1.__importDefault(require("./Section/Settings"));
12
12
  const classnames_1 = tslib_1.__importDefault(require("classnames"));
13
13
  const system_1 = require("@mui/system");
14
- const PREFIX = 'SCUserProfileEdit';
14
+ const constants_1 = require("./constants");
15
15
  const classes = {
16
- root: `${PREFIX}-root`,
17
- tabs: `${PREFIX}-tabs`,
18
- tabContent: `${PREFIX}-tab-content`
16
+ root: `${constants_1.PREFIX}-root`,
17
+ tabs: `${constants_1.PREFIX}-tabs`,
18
+ tabContent: `${constants_1.PREFIX}-tab-content`,
19
+ publicInfo: `${constants_1.PREFIX}-public-info`,
20
+ account: `${constants_1.PREFIX}-account`,
21
+ settings: `${constants_1.PREFIX}-settings`
19
22
  };
20
23
  const Root = (0, styles_1.styled)(material_1.Box, {
21
- name: PREFIX,
22
- slot: 'Root',
23
- overridesResolver: (props, styles) => styles.root
24
- })(({ theme }) => ({}));
24
+ name: constants_1.PREFIX,
25
+ slot: 'Root'
26
+ })(() => ({}));
25
27
  /**
26
28
  * > API documentation for the Community-JS User Profile Edit component. Learn about the available props and the CSS API.
27
29
  *
@@ -54,7 +56,7 @@ function UserProfileEdit(inProps) {
54
56
  // PROPS
55
57
  const props = (0, system_1.useThemeProps)({
56
58
  props: inProps,
57
- name: PREFIX
59
+ name: constants_1.PREFIX
58
60
  });
59
61
  const { id = null, className = null, fields = [...UserProfile_1.DEFAULT_FIELDS], settings = [...UserProfile_1.DEFAULT_SETTINGS], UserProfileEditSectionPublicInfoProps = {}, UserProfileEditSectionAccountProps = {
60
62
  showCredentialsSection: true,
@@ -72,8 +74,8 @@ function UserProfileEdit(inProps) {
72
74
  react_1.default.createElement(material_1.Tab, { label: react_1.default.createElement(react_intl_1.FormattedMessage, { id: "ui.userProfileEdit.account", defaultMessage: "ui.userProfileEdit.account" }) }),
73
75
  react_1.default.createElement(material_1.Tab, { label: react_1.default.createElement(react_intl_1.FormattedMessage, { id: "ui.userProfileEdit.notification", defaultMessage: "ui.userProfileEdit.notification" }) })),
74
76
  react_1.default.createElement(material_1.Box, { className: classes.tabContent },
75
- tab === 0 && react_1.default.createElement(PublicInfo_1.default, Object.assign({ fields: fields }, UserProfileEditSectionPublicInfoProps)),
76
- tab === 1 && react_1.default.createElement(Account_1.default, Object.assign({}, UserProfileEditSectionAccountProps)),
77
- tab === 2 && react_1.default.createElement(Settings_1.default, Object.assign({ settings: settings }, UserProfileEditSectionSettingsProps)))));
77
+ tab === 0 && react_1.default.createElement(PublicInfo_1.default, Object.assign({ className: classes.publicInfo, fields: fields }, UserProfileEditSectionPublicInfoProps)),
78
+ tab === 1 && react_1.default.createElement(Account_1.default, Object.assign({ className: classes.account }, UserProfileEditSectionAccountProps)),
79
+ tab === 2 && react_1.default.createElement(Settings_1.default, Object.assign({ settings: settings, className: classes.settings }, UserProfileEditSectionSettingsProps)))));
78
80
  }
79
81
  exports.default = UserProfileEdit;
@@ -0,0 +1 @@
1
+ export declare const PREFIX = "SCUserProfileEdit";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PREFIX = void 0;
4
+ exports.PREFIX = 'SCUserProfileEdit';
@@ -9,15 +9,15 @@
9
9
 
10
10
  #### Component Name
11
11
 
12
- The name `SCUserProfileHeaderSkeleton` can be used when providing style overrides in the theme.
12
+ The name `SCUserProfileHeader-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|.SCUserProfileHeaderSkeleton-root|Styles applied to the root element.|
19
- |avatar|.SCUserProfileHeaderSkeleton-avatar|Styles applied to the avatar element.|
20
- |username|.SCUserProfileHeaderSkeleton-username|Styles applied to the username element.|
18
+ |root|.SCUserProfileHeader-skeleton-root|Styles applied to the root element.|
19
+ |avatar|.SCUserProfileHeader-avatar|Styles applied to the avatar element.|
20
+ |username|.SCUserProfileHeader-username|Styles applied to the username element.|
21
21
  *
22
22
  */
23
23
  declare function UserProfileHeaderSkeleton(): JSX.Element;
@@ -5,32 +5,16 @@ const react_1 = tslib_1.__importDefault(require("react"));
5
5
  const material_1 = require("@mui/material");
6
6
  const styles_1 = require("@mui/material/styles");
7
7
  const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
8
- const PREFIX = 'SCUserProfileHeaderSkeleton';
8
+ const constants_1 = require("./constants");
9
9
  const classes = {
10
- root: `${PREFIX}-root`,
11
- avatar: `${PREFIX}-avatar`,
12
- username: `${PREFIX}-username`
10
+ root: `${constants_1.PREFIX}-skeleton-root`,
11
+ avatar: `${constants_1.PREFIX}-avatar`,
12
+ username: `${constants_1.PREFIX}-username`
13
13
  };
14
14
  const Root = (0, styles_1.styled)(material_1.Box, {
15
- name: PREFIX,
16
- slot: 'Root',
17
- overridesResolver: (props, styles) => styles.root
18
- })(() => ({
19
- position: 'relative',
20
- [`& .${classes.avatar}`]: {
21
- position: 'absolute',
22
- top: 190,
23
- width: '100%',
24
- [`& .MuiSkeleton-root`]: {
25
- border: '#FFF solid 5px',
26
- margin: '0 auto'
27
- }
28
- },
29
- [`& .${classes.username}`]: {
30
- marginTop: 50,
31
- textAlign: 'center'
32
- }
33
- }));
15
+ name: constants_1.PREFIX,
16
+ slot: 'SkeletonRoot'
17
+ })(() => ({}));
34
18
  /**
35
19
  * > API documentation for the Community-JS User Profile AppBar Skeleton component. Learn about the available props and the CSS API.
36
20
 
@@ -42,15 +26,15 @@ const Root = (0, styles_1.styled)(material_1.Box, {
42
26
 
43
27
  #### Component Name
44
28
 
45
- The name `SCUserProfileHeaderSkeleton` can be used when providing style overrides in the theme.
29
+ The name `SCUserProfileHeader-skeleton-root` can be used when providing style overrides in the theme.
46
30
 
47
31
  #### CSS
48
32
 
49
33
  |Rule Name|Global class|Description|
50
34
  |---|---|---|
51
- |root|.SCUserProfileHeaderSkeleton-root|Styles applied to the root element.|
52
- |avatar|.SCUserProfileHeaderSkeleton-avatar|Styles applied to the avatar element.|
53
- |username|.SCUserProfileHeaderSkeleton-username|Styles applied to the username element.|
35
+ |root|.SCUserProfileHeader-skeleton-root|Styles applied to the root element.|
36
+ |avatar|.SCUserProfileHeader-avatar|Styles applied to the avatar element.|
37
+ |username|.SCUserProfileHeader-username|Styles applied to the username element.|
54
38
  *
55
39
  */
56
40
  function UserProfileHeaderSkeleton() {
@@ -10,21 +10,20 @@ const react_core_1 = require("@selfcommunity/react-core");
10
10
  const Skeleton_1 = tslib_1.__importDefault(require("./Skeleton"));
11
11
  const classnames_1 = tslib_1.__importDefault(require("classnames"));
12
12
  const system_1 = require("@mui/system");
13
- const PREFIX = 'SCUserProfileHeader';
13
+ const constants_1 = require("./constants");
14
14
  const classes = {
15
- root: `${PREFIX}-root`,
16
- cover: `${PREFIX}-cover`,
17
- avatar: `${PREFIX}-avatar`,
18
- username: `${PREFIX}-username`,
19
- realname: `${PREFIX}-realname`,
20
- changePicture: `${PREFIX}-change-picture`,
21
- changeCover: `${PREFIX}-change-cover`
15
+ root: `${constants_1.PREFIX}-root`,
16
+ cover: `${constants_1.PREFIX}-cover`,
17
+ avatar: `${constants_1.PREFIX}-avatar`,
18
+ username: `${constants_1.PREFIX}-username`,
19
+ realname: `${constants_1.PREFIX}-realname`,
20
+ changePicture: `${constants_1.PREFIX}-change-picture`,
21
+ changeCover: `${constants_1.PREFIX}-change-cover`
22
22
  };
23
23
  const Root = (0, styles_1.styled)(material_1.Box, {
24
- name: PREFIX,
25
- slot: 'Root',
26
- overridesResolver: (props, styles) => styles.root
27
- })(({ theme }) => ({}));
24
+ name: constants_1.PREFIX,
25
+ slot: 'Root'
26
+ })(() => ({}));
28
27
  /**
29
28
  * > API documentation for the Community-JS User Profile AppBar component. Learn about the available props and the CSS API.
30
29
  *
@@ -61,7 +60,7 @@ function UserProfileHeader(inProps) {
61
60
  // PROPS
62
61
  const props = (0, system_1.useThemeProps)({
63
62
  props: inProps,
64
- name: PREFIX
63
+ name: constants_1.PREFIX
65
64
  });
66
65
  const { id = null, className = null, userId = null, user = null, ChangePictureProps = {}, ChangeCoverProps = {} } = props, rest = tslib_1.__rest(props, ["id", "className", "userId", "user", "ChangePictureProps", "ChangeCoverProps"]);
67
66
  // PREFERENCES
@@ -0,0 +1 @@
1
+ export declare const PREFIX = "SCUserProfileHeader";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PREFIX = void 0;
4
+ exports.PREFIX = 'SCUserProfileHeader';
@@ -9,14 +9,14 @@
9
9
 
10
10
  #### Component Name
11
11
 
12
- The name `SCUserSuggestionWidgetSkeleton` can be used when providing style overrides in the theme.
12
+ The name `SCUserSuggestionWidget-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|.SCUserSuggestionWidgetSkeleton-root|Styles applied to the root element.|
19
- |list|.SCUserSuggestionWidgetSkeleton-list|Styles applied to the list element.|
18
+ |root|.SCUserSuggestionWidget-skeleton-root|Styles applied to the root element.|
19
+ |list|.SCUserSuggestionWidget-list|Styles applied to the list element.|
20
20
  *
21
21
  */
22
22
  declare function UserSuggestionWidgetSkeleton(props: any): JSX.Element;
@@ -6,12 +6,15 @@ const styles_1 = require("@mui/material/styles");
6
6
  const Skeleton_1 = tslib_1.__importDefault(require("../User/Skeleton"));
7
7
  const Widget_1 = tslib_1.__importDefault(require("../Widget"));
8
8
  const material_1 = require("@mui/material");
9
- const PREFIX = 'SCUserSuggestionWidgetSkeleton';
9
+ const constants_1 = require("./constants");
10
10
  const classes = {
11
- root: `${PREFIX}-root`,
12
- list: `${PREFIX}-list`
11
+ root: `${constants_1.PREFIX}-skeleton-root`,
12
+ list: `${constants_1.PREFIX}-list`
13
13
  };
14
- const Root = (0, styles_1.styled)(Widget_1.default)(({ theme }) => ({}));
14
+ const Root = (0, styles_1.styled)(Widget_1.default, {
15
+ name: constants_1.PREFIX,
16
+ slot: 'SkeletonRoot'
17
+ })(() => ({}));
15
18
  /**
16
19
  * > API documentation for the Community-JS People Suggestion Skeleton component. Learn about the available props and the CSS API.
17
20
 
@@ -23,14 +26,14 @@ const Root = (0, styles_1.styled)(Widget_1.default)(({ theme }) => ({}));
23
26
 
24
27
  #### Component Name
25
28
 
26
- The name `SCUserSuggestionWidgetSkeleton` can be used when providing style overrides in the theme.
29
+ The name `SCUserSuggestionWidget-skeleton-root` can be used when providing style overrides in the theme.
27
30
 
28
31
  #### CSS
29
32
 
30
33
  |Rule Name|Global class|Description|
31
34
  |---|---|---|
32
- |root|.SCUserSuggestionWidgetSkeleton-root|Styles applied to the root element.|
33
- |list|.SCUserSuggestionWidgetSkeleton-list|Styles applied to the list element.|
35
+ |root|.SCUserSuggestionWidget-skeleton-root|Styles applied to the root element.|
36
+ |list|.SCUserSuggestionWidget-list|Styles applied to the list element.|
34
37
  *
35
38
  */
36
39
  function UserSuggestionWidgetSkeleton(props) {