@selfcommunity/react-ui 0.1.2-alpha.5 → 0.1.2-alpha.8

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 (329) hide show
  1. package/lib/cjs/components/AccountRecover/AccountRecover.js +1 -1
  2. package/lib/cjs/components/AccountSignIn/AccountSignIn.js +1 -1
  3. package/lib/cjs/components/AccountSignUp/AccountSignUp.js +1 -1
  4. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +1 -1
  5. package/lib/cjs/components/BroadcastMessages/Skeleton.js +2 -2
  6. package/lib/cjs/components/CategoriesFollowed/CategoriesFollowed.js +1 -1
  7. package/lib/cjs/components/CategoriesFollowed/Skeleton.js +1 -1
  8. package/lib/cjs/components/CategoriesPopular/CategoriesPopular.js +1 -1
  9. package/lib/cjs/components/CategoriesPopular/Skeleton.js +1 -1
  10. package/lib/cjs/components/CategoriesSuggestion/CategoriesSuggestion.js +1 -1
  11. package/lib/cjs/components/CategoriesSuggestion/Skeleton.js +1 -1
  12. package/lib/cjs/components/Category/Category.js +1 -1
  13. package/lib/cjs/components/Category/Skeleton.js +1 -1
  14. package/lib/cjs/components/CategoryHeader/CategoryHeader.js +1 -1
  15. package/lib/cjs/components/CategoryHeader/Skeleton.js +1 -1
  16. package/lib/cjs/components/ChangeCover/ChangeCover.js +1 -1
  17. package/lib/cjs/components/ChangePicture/ChangePicture.js +1 -1
  18. package/lib/cjs/components/CommentObject/CommentObject.js +10 -5
  19. package/lib/cjs/components/CommentObject/Skeleton.js +1 -1
  20. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
  21. package/lib/cjs/components/CommentsObject/CommentsObject.js +1 -1
  22. package/lib/cjs/components/CommentsObject/Skeleton.js +1 -1
  23. package/lib/cjs/components/Composer/Composer.js +31 -16
  24. package/lib/cjs/components/Composer/Poll/Poll.js +10 -2
  25. package/lib/cjs/components/Composer/Skeleton.js +1 -1
  26. package/lib/cjs/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
  27. package/lib/cjs/components/CustomAdv/CustomAdv.js +1 -1
  28. package/lib/cjs/components/CustomAdv/Skeleton.js +1 -1
  29. package/lib/cjs/components/Editor/Editor.js +1 -1
  30. package/lib/cjs/components/Editor/Skeleton.js +1 -1
  31. package/lib/cjs/components/Feed/Feed.js +18 -16
  32. package/lib/cjs/components/Feed/Skeleton.js +1 -1
  33. package/lib/cjs/components/FeedObject/Actions/Share/Share.js +3 -0
  34. package/lib/cjs/components/FeedObject/FeedObject.js +1 -1
  35. package/lib/cjs/components/FeedObject/Skeleton.js +1 -1
  36. package/lib/cjs/components/FeedUpdates/FeedUpdates.js +1 -1
  37. package/lib/cjs/components/FeedUpdates/Skeleton.js +1 -1
  38. package/lib/cjs/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
  39. package/lib/cjs/components/FollowUserButton/FollowUserButton.js +1 -1
  40. package/lib/cjs/components/Footer/Footer.js +1 -1
  41. package/lib/cjs/components/Footer/Skeleton.js +1 -1
  42. package/lib/cjs/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
  43. package/lib/cjs/components/Incubator/Incubator.js +1 -1
  44. package/lib/cjs/components/Incubator/Skeleton.js +1 -1
  45. package/lib/cjs/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
  46. package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +1 -1
  47. package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
  48. package/lib/cjs/components/IncubatorSuggestion/Skeleton.js +1 -1
  49. package/lib/cjs/components/IncubatorsList/IncubatorsList.js +1 -1
  50. package/lib/cjs/components/IncubatorsList/Skeleton.js +1 -1
  51. package/lib/cjs/components/InlineComposer/InlineComposer.js +1 -1
  52. package/lib/cjs/components/InlineComposer/Skeleton.js +1 -1
  53. package/lib/cjs/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
  54. package/lib/cjs/components/LoyaltyProgram/Skeleton.js +1 -1
  55. package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
  56. package/lib/cjs/components/LoyaltyProgramDetail/Skeleton.js +1 -1
  57. package/lib/cjs/components/Message/Message.js +1 -1
  58. package/lib/cjs/components/Message/Skeleton.js +1 -1
  59. package/lib/cjs/components/MessageEditor/MessageEditor.js +1 -1
  60. package/lib/cjs/components/MessageEditor/Skeleton.js +1 -1
  61. package/lib/cjs/components/Notification/Notification.js +1 -1
  62. package/lib/cjs/components/Notification/Skeleton.js +1 -1
  63. package/lib/cjs/components/PeopleSuggestion/PeopleSuggestion.js +1 -1
  64. package/lib/cjs/components/PeopleSuggestion/Skeleton.js +1 -1
  65. package/lib/cjs/components/Platform/Platform.js +1 -1
  66. package/lib/cjs/components/Platform/Skeleton.js +1 -1
  67. package/lib/cjs/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
  68. package/lib/cjs/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
  69. package/lib/cjs/components/PollSuggestion/PollSuggestion.js +1 -1
  70. package/lib/cjs/components/PollSuggestion/Skeleton.js +1 -1
  71. package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
  72. package/lib/cjs/components/RelatedFeedObjects/Skeleton.js +1 -1
  73. package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.js +1 -1
  74. package/lib/cjs/components/Skeleton/GenericSkeleton.js +1 -1
  75. package/lib/cjs/components/SnippetNotifications/Skeleton.js +1 -1
  76. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +1 -1
  77. package/lib/cjs/components/Snippets/Skeleton.js +1 -1
  78. package/lib/cjs/components/Snippets/Snippets.js +1 -1
  79. package/lib/cjs/components/Thread/Skeleton.js +1 -1
  80. package/lib/cjs/components/Thread/Thread.js +1 -1
  81. package/lib/cjs/components/ToastNotifications/Skeleton.js +1 -1
  82. package/lib/cjs/components/ToastNotifications/ToastNotifications.js +1 -1
  83. package/lib/cjs/components/TrendingFeed/Skeleton.js +1 -1
  84. package/lib/cjs/components/TrendingFeed/TrendingFeed.js +1 -1
  85. package/lib/cjs/components/TrendingPeople/Skeleton.js +1 -1
  86. package/lib/cjs/components/TrendingPeople/TrendingPeople.js +1 -1
  87. package/lib/cjs/components/User/Skeleton.js +1 -1
  88. package/lib/cjs/components/User/User.js +1 -1
  89. package/lib/cjs/components/UserFollowers/Skeleton.js +1 -1
  90. package/lib/cjs/components/UserFollowers/UserFollowers.js +1 -1
  91. package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  92. package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
  93. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
  94. package/lib/cjs/components/UserProfileHeader/Skeleton.js +1 -1
  95. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -1
  96. package/lib/cjs/components/UserProfileInfo/Skeleton.js +1 -1
  97. package/lib/cjs/components/UserProfileInfo/UserProfileInfo.js +1 -1
  98. package/lib/cjs/components/UsersFollowed/Skeleton.js +1 -1
  99. package/lib/cjs/components/UsersFollowed/UsersFollowed.js +1 -1
  100. package/lib/cjs/components/Widget/index.js +1 -1
  101. package/lib/cjs/shared/BaseItem/BaseItem.js +1 -1
  102. package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +1 -1
  103. package/lib/cjs/shared/DateTimeAgo/index.js +2 -1
  104. package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -1
  105. package/lib/esm/components/AccountRecover/AccountRecover.js +1 -1
  106. package/lib/esm/components/AccountSignIn/AccountSignIn.js +1 -1
  107. package/lib/esm/components/AccountSignUp/AccountSignUp.js +1 -1
  108. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -1
  109. package/lib/esm/components/BroadcastMessages/Skeleton.js +2 -2
  110. package/lib/esm/components/CategoriesFollowed/CategoriesFollowed.js +1 -1
  111. package/lib/esm/components/CategoriesFollowed/Skeleton.js +1 -1
  112. package/lib/esm/components/CategoriesPopular/CategoriesPopular.js +1 -1
  113. package/lib/esm/components/CategoriesPopular/Skeleton.js +1 -1
  114. package/lib/esm/components/CategoriesSuggestion/CategoriesSuggestion.js +1 -1
  115. package/lib/esm/components/CategoriesSuggestion/Skeleton.js +1 -1
  116. package/lib/esm/components/Category/Category.js +1 -1
  117. package/lib/esm/components/Category/Skeleton.js +1 -1
  118. package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -1
  119. package/lib/esm/components/CategoryHeader/Skeleton.js +1 -1
  120. package/lib/esm/components/ChangeCover/ChangeCover.js +1 -1
  121. package/lib/esm/components/ChangePicture/ChangePicture.js +1 -1
  122. package/lib/esm/components/CommentObject/CommentObject.js +10 -5
  123. package/lib/esm/components/CommentObject/Skeleton.js +1 -1
  124. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
  125. package/lib/esm/components/CommentsObject/CommentsObject.js +1 -1
  126. package/lib/esm/components/CommentsObject/Skeleton.js +1 -1
  127. package/lib/esm/components/Composer/Composer.js +31 -16
  128. package/lib/esm/components/Composer/Poll/Poll.js +10 -2
  129. package/lib/esm/components/Composer/Skeleton.js +1 -1
  130. package/lib/esm/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
  131. package/lib/esm/components/CustomAdv/CustomAdv.js +1 -1
  132. package/lib/esm/components/CustomAdv/Skeleton.js +1 -1
  133. package/lib/esm/components/Editor/Editor.js +1 -1
  134. package/lib/esm/components/Editor/Skeleton.js +1 -1
  135. package/lib/esm/components/Feed/Feed.js +18 -16
  136. package/lib/esm/components/Feed/Skeleton.js +1 -1
  137. package/lib/esm/components/FeedObject/Actions/Share/Share.js +3 -0
  138. package/lib/esm/components/FeedObject/FeedObject.js +1 -1
  139. package/lib/esm/components/FeedObject/Skeleton.js +1 -1
  140. package/lib/esm/components/FeedUpdates/FeedUpdates.js +1 -1
  141. package/lib/esm/components/FeedUpdates/Skeleton.js +1 -1
  142. package/lib/esm/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
  143. package/lib/esm/components/FollowUserButton/FollowUserButton.js +1 -1
  144. package/lib/esm/components/Footer/Footer.js +1 -1
  145. package/lib/esm/components/Footer/Skeleton.js +1 -1
  146. package/lib/esm/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
  147. package/lib/esm/components/Incubator/Incubator.js +1 -1
  148. package/lib/esm/components/Incubator/Skeleton.js +1 -1
  149. package/lib/esm/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
  150. package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +1 -1
  151. package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
  152. package/lib/esm/components/IncubatorSuggestion/Skeleton.js +1 -1
  153. package/lib/esm/components/IncubatorsList/IncubatorsList.js +1 -1
  154. package/lib/esm/components/IncubatorsList/Skeleton.js +1 -1
  155. package/lib/esm/components/InlineComposer/InlineComposer.js +1 -1
  156. package/lib/esm/components/InlineComposer/Skeleton.js +1 -1
  157. package/lib/esm/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
  158. package/lib/esm/components/LoyaltyProgram/Skeleton.js +1 -1
  159. package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
  160. package/lib/esm/components/LoyaltyProgramDetail/Skeleton.js +1 -1
  161. package/lib/esm/components/Message/Message.js +1 -1
  162. package/lib/esm/components/Message/Skeleton.js +1 -1
  163. package/lib/esm/components/MessageEditor/MessageEditor.js +1 -1
  164. package/lib/esm/components/MessageEditor/Skeleton.js +1 -1
  165. package/lib/esm/components/Notification/Notification.js +1 -1
  166. package/lib/esm/components/Notification/Skeleton.js +1 -1
  167. package/lib/esm/components/PeopleSuggestion/PeopleSuggestion.js +1 -1
  168. package/lib/esm/components/PeopleSuggestion/Skeleton.js +1 -1
  169. package/lib/esm/components/Platform/Platform.js +1 -1
  170. package/lib/esm/components/Platform/Skeleton.js +1 -1
  171. package/lib/esm/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
  172. package/lib/esm/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
  173. package/lib/esm/components/PollSuggestion/PollSuggestion.js +1 -1
  174. package/lib/esm/components/PollSuggestion/Skeleton.js +1 -1
  175. package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
  176. package/lib/esm/components/RelatedFeedObjects/Skeleton.js +1 -1
  177. package/lib/esm/components/Skeleton/AvatarGroupSkeleton.js +1 -1
  178. package/lib/esm/components/Skeleton/GenericSkeleton.js +1 -1
  179. package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -1
  180. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +1 -1
  181. package/lib/esm/components/Snippets/Skeleton.js +1 -1
  182. package/lib/esm/components/Snippets/Snippets.js +1 -1
  183. package/lib/esm/components/Thread/Skeleton.js +1 -1
  184. package/lib/esm/components/Thread/Thread.js +1 -1
  185. package/lib/esm/components/ToastNotifications/Skeleton.js +1 -1
  186. package/lib/esm/components/ToastNotifications/ToastNotifications.js +1 -1
  187. package/lib/esm/components/TrendingFeed/Skeleton.js +1 -1
  188. package/lib/esm/components/TrendingFeed/TrendingFeed.js +1 -1
  189. package/lib/esm/components/TrendingPeople/Skeleton.js +1 -1
  190. package/lib/esm/components/TrendingPeople/TrendingPeople.js +1 -1
  191. package/lib/esm/components/User/Skeleton.js +1 -1
  192. package/lib/esm/components/User/User.js +1 -1
  193. package/lib/esm/components/UserFollowers/Skeleton.js +1 -1
  194. package/lib/esm/components/UserFollowers/UserFollowers.js +1 -1
  195. package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  196. package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
  197. package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
  198. package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -1
  199. package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -1
  200. package/lib/esm/components/UserProfileInfo/Skeleton.js +1 -1
  201. package/lib/esm/components/UserProfileInfo/UserProfileInfo.js +1 -1
  202. package/lib/esm/components/UsersFollowed/Skeleton.js +1 -1
  203. package/lib/esm/components/UsersFollowed/UsersFollowed.js +1 -1
  204. package/lib/esm/components/Widget/index.js +1 -1
  205. package/lib/esm/react-core/src/components/provider/SCUserProvider/index.d.ts.map +1 -1
  206. package/lib/esm/react-core/src/hooks/useSCFollowedCategoriesManager.d.ts +1 -1
  207. package/lib/esm/react-core/src/hooks/useSCFollowedCategoriesManager.d.ts.map +1 -1
  208. package/lib/esm/react-i18n/src/index.d.ts +4 -0
  209. package/lib/esm/react-i18n/src/index.d.ts.map +1 -1
  210. package/lib/esm/react-ui/src/components/AccountRecover/AccountRecover.d.ts +1 -1
  211. package/lib/esm/react-ui/src/components/AccountSignIn/AccountSignIn.d.ts +1 -1
  212. package/lib/esm/react-ui/src/components/AccountSignUp/AccountSignUp.d.ts +1 -1
  213. package/lib/esm/react-ui/src/components/BroadcastMessages/BroadcastMessages.d.ts +1 -1
  214. package/lib/esm/react-ui/src/components/BroadcastMessages/Skeleton.d.ts +2 -2
  215. package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts +1 -1
  216. package/lib/esm/react-ui/src/components/CategoriesFollowed/Skeleton.d.ts +1 -1
  217. package/lib/esm/react-ui/src/components/CategoriesPopular/CategoriesPopular.d.ts +1 -1
  218. package/lib/esm/react-ui/src/components/CategoriesPopular/Skeleton.d.ts +1 -1
  219. package/lib/esm/react-ui/src/components/CategoriesSuggestion/CategoriesSuggestion.d.ts +1 -1
  220. package/lib/esm/react-ui/src/components/CategoriesSuggestion/Skeleton.d.ts +1 -1
  221. package/lib/esm/react-ui/src/components/Category/Category.d.ts +1 -1
  222. package/lib/esm/react-ui/src/components/Category/Skeleton.d.ts +1 -1
  223. package/lib/esm/react-ui/src/components/CategoryHeader/CategoryHeader.d.ts +1 -1
  224. package/lib/esm/react-ui/src/components/CategoryHeader/Skeleton.d.ts +1 -1
  225. package/lib/esm/react-ui/src/components/ChangeCover/ChangeCover.d.ts +1 -1
  226. package/lib/esm/react-ui/src/components/ChangePicture/ChangePicture.d.ts +1 -1
  227. package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts +6 -1
  228. package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts.map +1 -1
  229. package/lib/esm/react-ui/src/components/CommentObject/Skeleton.d.ts +1 -1
  230. package/lib/esm/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.d.ts +1 -1
  231. package/lib/esm/react-ui/src/components/CommentsObject/CommentsObject.d.ts +1 -1
  232. package/lib/esm/react-ui/src/components/CommentsObject/Skeleton.d.ts +1 -1
  233. package/lib/esm/react-ui/src/components/Composer/Composer.d.ts +1 -1
  234. package/lib/esm/react-ui/src/components/Composer/Composer.d.ts.map +1 -1
  235. package/lib/esm/react-ui/src/components/Composer/Poll/Poll.d.ts.map +1 -1
  236. package/lib/esm/react-ui/src/components/Composer/Skeleton.d.ts +1 -1
  237. package/lib/esm/react-ui/src/components/ConnectionUserButton/ConnectionUserButton.d.ts +1 -1
  238. package/lib/esm/react-ui/src/components/CustomAdv/CustomAdv.d.ts +1 -1
  239. package/lib/esm/react-ui/src/components/CustomAdv/Skeleton.d.ts +1 -1
  240. package/lib/esm/react-ui/src/components/Editor/Skeleton.d.ts +1 -1
  241. package/lib/esm/react-ui/src/components/Feed/Feed.d.ts.map +1 -1
  242. package/lib/esm/react-ui/src/components/Feed/Skeleton.d.ts +1 -1
  243. package/lib/esm/react-ui/src/components/FeedObject/Actions/Share/Share.d.ts.map +1 -1
  244. package/lib/esm/react-ui/src/components/FeedObject/FeedObject.d.ts +1 -1
  245. package/lib/esm/react-ui/src/components/FeedObject/Skeleton.d.ts +1 -1
  246. package/lib/esm/react-ui/src/components/FeedUpdates/FeedUpdates.d.ts +1 -1
  247. package/lib/esm/react-ui/src/components/FeedUpdates/Skeleton.d.ts +1 -1
  248. package/lib/esm/react-ui/src/components/FollowCategoryButton/FollowCategoryButton.d.ts +1 -1
  249. package/lib/esm/react-ui/src/components/FollowUserButton/FollowUserButton.d.ts +1 -1
  250. package/lib/esm/react-ui/src/components/Footer/Footer.d.ts +1 -1
  251. package/lib/esm/react-ui/src/components/Footer/Skeleton.d.ts +1 -1
  252. package/lib/esm/react-ui/src/components/FriendshipUserButton/FriendshipUserButton.d.ts +1 -1
  253. package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts +1 -1
  254. package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts.map +1 -1
  255. package/lib/esm/react-ui/src/components/Incubator/Skeleton.d.ts +1 -1
  256. package/lib/esm/react-ui/src/components/Incubator/SubscribeButton/SubscribeButton.d.ts +1 -1
  257. package/lib/esm/react-ui/src/components/IncubatorDetail/IncubatorDetail.d.ts +1 -1
  258. package/lib/esm/react-ui/src/components/IncubatorSuggestion/IncubatorSuggestion.d.ts +1 -1
  259. package/lib/esm/react-ui/src/components/IncubatorSuggestion/Skeleton.d.ts +1 -1
  260. package/lib/esm/react-ui/src/components/IncubatorsList/IncubatorsList.d.ts +1 -1
  261. package/lib/esm/react-ui/src/components/IncubatorsList/Skeleton.d.ts +1 -1
  262. package/lib/esm/react-ui/src/components/InlineComposer/InlineComposer.d.ts +1 -1
  263. package/lib/esm/react-ui/src/components/InlineComposer/Skeleton.d.ts +1 -1
  264. package/lib/esm/react-ui/src/components/LoyaltyProgram/LoyaltyProgram.d.ts +1 -1
  265. package/lib/esm/react-ui/src/components/LoyaltyProgram/Skeleton.d.ts +1 -1
  266. package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/LoyaltyProgramDetail.d.ts.map +1 -1
  267. package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/Skeleton.d.ts +1 -1
  268. package/lib/esm/react-ui/src/components/Message/Message.d.ts +1 -1
  269. package/lib/esm/react-ui/src/components/Message/Skeleton.d.ts +1 -1
  270. package/lib/esm/react-ui/src/components/MessageEditor/MessageEditor.d.ts +1 -1
  271. package/lib/esm/react-ui/src/components/MessageEditor/Skeleton.d.ts +1 -1
  272. package/lib/esm/react-ui/src/components/Notification/Notification.d.ts +1 -1
  273. package/lib/esm/react-ui/src/components/Notification/Skeleton.d.ts +1 -1
  274. package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts +1 -1
  275. package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts.map +1 -1
  276. package/lib/esm/react-ui/src/components/PeopleSuggestion/Skeleton.d.ts +1 -1
  277. package/lib/esm/react-ui/src/components/Platform/Platform.d.ts +1 -1
  278. package/lib/esm/react-ui/src/components/Platform/Skeleton.d.ts +1 -1
  279. package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/PollSnippet.d.ts +1 -1
  280. package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/Skeleton.d.ts +1 -1
  281. package/lib/esm/react-ui/src/components/PollSuggestion/PollSuggestion.d.ts +1 -1
  282. package/lib/esm/react-ui/src/components/PollSuggestion/Skeleton.d.ts +1 -1
  283. package/lib/esm/react-ui/src/components/RelatedFeedObjects/RelatedFeedObjects.d.ts +1 -1
  284. package/lib/esm/react-ui/src/components/RelatedFeedObjects/Skeleton.d.ts +1 -1
  285. package/lib/esm/react-ui/src/components/Skeleton/AvatarGroupSkeleton.d.ts +1 -1
  286. package/lib/esm/react-ui/src/components/Skeleton/GenericSkeleton.d.ts +1 -1
  287. package/lib/esm/react-ui/src/components/SnippetNotifications/Skeleton.d.ts +1 -1
  288. package/lib/esm/react-ui/src/components/SnippetNotifications/SnippetNotifications.d.ts +1 -1
  289. package/lib/esm/react-ui/src/components/Snippets/Skeleton.d.ts +1 -1
  290. package/lib/esm/react-ui/src/components/Snippets/Snippets.d.ts +1 -1
  291. package/lib/esm/react-ui/src/components/Thread/Skeleton.d.ts +1 -1
  292. package/lib/esm/react-ui/src/components/Thread/Thread.d.ts +1 -1
  293. package/lib/esm/react-ui/src/components/ToastNotifications/Skeleton.d.ts +1 -1
  294. package/lib/esm/react-ui/src/components/ToastNotifications/ToastNotifications.d.ts +1 -1
  295. package/lib/esm/react-ui/src/components/TrendingFeed/Skeleton.d.ts +1 -1
  296. package/lib/esm/react-ui/src/components/TrendingFeed/TrendingFeed.d.ts +1 -1
  297. package/lib/esm/react-ui/src/components/TrendingPeople/Skeleton.d.ts +1 -1
  298. package/lib/esm/react-ui/src/components/TrendingPeople/TrendingPeople.d.ts +1 -1
  299. package/lib/esm/react-ui/src/components/User/Skeleton.d.ts +1 -1
  300. package/lib/esm/react-ui/src/components/User/User.d.ts +1 -1
  301. package/lib/esm/react-ui/src/components/UserFollowers/Skeleton.d.ts +1 -1
  302. package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts +1 -1
  303. package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts.map +1 -1
  304. package/lib/esm/react-ui/src/components/UserProfileEdit/Section/SettingsSkeleton.d.ts +1 -1
  305. package/lib/esm/react-ui/src/components/UserProfileEdit/Skeleton.d.ts +1 -1
  306. package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts +1 -1
  307. package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts.map +1 -1
  308. package/lib/esm/react-ui/src/components/UserProfileHeader/Skeleton.d.ts +1 -1
  309. package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts +1 -1
  310. package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts.map +1 -1
  311. package/lib/esm/react-ui/src/components/UserProfileInfo/Skeleton.d.ts +1 -1
  312. package/lib/esm/react-ui/src/components/UserProfileInfo/UserProfileInfo.d.ts +1 -1
  313. package/lib/esm/react-ui/src/components/UsersFollowed/Skeleton.d.ts +1 -1
  314. package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts +1 -1
  315. package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts.map +1 -1
  316. package/lib/esm/react-ui/src/components/Widget/index.d.ts +1 -1
  317. package/lib/esm/react-ui/src/shared/BaseItem/BaseItem.d.ts +1 -1
  318. package/lib/esm/react-ui/src/shared/BaseItemButton/BaseItemButton.d.ts +1 -1
  319. package/lib/esm/react-ui/src/shared/DateTimeAgo/index.d.ts.map +1 -1
  320. package/lib/esm/react-ui/src/shared/NotificationItem/NotificationItem.d.ts +1 -1
  321. package/lib/esm/shared/BaseItem/BaseItem.js +1 -1
  322. package/lib/esm/shared/BaseItemButton/BaseItemButton.js +1 -1
  323. package/lib/esm/shared/DateTimeAgo/index.js +2 -1
  324. package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -1
  325. package/lib/esm/types/src/types/user.d.ts +4 -0
  326. package/lib/esm/types/src/types/user.d.ts.map +1 -1
  327. package/lib/umd/react-ui.js +2 -2
  328. package/lib/umd/react-ui.js.map +1 -1
  329. package/package.json +6 -6
@@ -52,7 +52,7 @@ const Root = (0, _styles.styled)('form', {
52
52
  }));
53
53
 
54
54
  /**
55
- * > API documentation for the Community-UI AccountRecover component. Learn about the available props and the CSS API.
55
+ * > API documentation for the Community-JS AccountRecover component. Learn about the available props and the CSS API.
56
56
 
57
57
  #### Import
58
58
 
@@ -56,7 +56,7 @@ const Root = (0, _styles.styled)('form', {
56
56
  }));
57
57
 
58
58
  /**
59
- * > API documentation for the Community-UI AccountSignIn component. Learn about the available props and the CSS API.
59
+ * > API documentation for the Community-JS AccountSignIn component. Learn about the available props and the CSS API.
60
60
  * > This component support [OAuth2 authentication](https://developers.selfcommunity.com/docs/api/authentication/oauth#password) protocol with grant_type password
61
61
 
62
62
  #### Import
@@ -58,7 +58,7 @@ const Root = (0, _styles.styled)('form', {
58
58
  }));
59
59
 
60
60
  /**
61
- * > API documentation for the Community-UI AccountSignUp component. Learn about the available props and the CSS API.
61
+ * > API documentation for the Community-JS AccountSignUp component. Learn about the available props and the CSS API.
62
62
 
63
63
  #### Import
64
64
 
@@ -69,7 +69,7 @@ const Root = (0, _styles.styled)(_material.Box, {
69
69
  }));
70
70
 
71
71
  /**
72
- > API documentation for the Community-UI Broadcast Messages component. Learn about the available props and the CSS API.
72
+ > API documentation for the Community-JS Broadcast Messages component. Learn about the available props and the CSS API.
73
73
  > This component handles message broadcasts. It initially displays unseen messages. If all messages have been viewed it will show at most one message.
74
74
  *
75
75
  #### Import
@@ -34,7 +34,7 @@ const MessageRoot = (0, _styles.styled)(_Widget.default, {
34
34
  marginBottom: theme.spacing(2)
35
35
  }));
36
36
  /**
37
- * > API documentation for the Community-UI Broadcast Message Skeleton component. Learn about the available props and the CSS API.
37
+ * > API documentation for the Community-JS Broadcast Message Skeleton component. Learn about the available props and the CSS API.
38
38
 
39
39
  #### Import
40
40
 
@@ -112,7 +112,7 @@ const Root = (0, _styles.styled)(_material.Box, {
112
112
  theme
113
113
  }) => ({}));
114
114
  /**
115
- * > API documentation for the Community-UI Broadcast Messages Skeleton component. Learn about the available props and the CSS API.
115
+ * > API documentation for the Community-JS Broadcast Messages Skeleton component. Learn about the available props and the CSS API.
116
116
 
117
117
  #### Import
118
118
 
@@ -70,7 +70,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
70
70
  marginBottom: theme.spacing(2)
71
71
  }));
72
72
  /**
73
- > API documentation for the Community-UI Categories Followed component. Learn about the available props and the CSS API.
73
+ > API documentation for the Community-JS Categories Followed component. Learn about the available props and the CSS API.
74
74
  *
75
75
  #### Import
76
76
  ```jsx
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_Skeleton.default, {
25
25
  theme
26
26
  }) => ({}));
27
27
  /**
28
- * > API documentation for the Community-UI Categories Followed Skeleton component. Learn about the available props and the CSS API.
28
+ * > API documentation for the Community-JS Categories Followed Skeleton component. Learn about the available props and the CSS API.
29
29
 
30
30
  #### Import
31
31
 
@@ -62,7 +62,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
62
62
  marginBottom: theme.spacing(2)
63
63
  }));
64
64
  /**
65
- > API documentation for the Community-UI Categories Popular component. Learn about the available props and the CSS API.
65
+ > API documentation for the Community-JS Categories Popular component. Learn about the available props and the CSS API.
66
66
  *
67
67
  #### Import
68
68
  ```jsx
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_Skeleton.default, {
25
25
  theme
26
26
  }) => ({}));
27
27
  /**
28
- * > API documentation for the Community-UI Categories Popular Skeleton component. Learn about the available props and the CSS API.
28
+ * > API documentation for the Community-JS Categories Popular Skeleton component. Learn about the available props and the CSS API.
29
29
 
30
30
  #### Import
31
31
 
@@ -55,7 +55,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
55
55
  }));
56
56
 
57
57
  /**
58
- * > API documentation for the Community-UI Categories Suggestion component. Learn about the available props and the CSS API.
58
+ * > API documentation for the Community-JS Categories Suggestion component. Learn about the available props and the CSS API.
59
59
  *
60
60
  #### Import
61
61
  ```jsx
@@ -33,7 +33,7 @@ const Root = (0, _styles.styled)(_Widget.default)(({
33
33
  }
34
34
  }));
35
35
  /**
36
- * > API documentation for the Community-UI Categories Suggestion Skeleton component. Learn about the available props and the CSS API.
36
+ * > API documentation for the Community-JS Categories Suggestion Skeleton component. Learn about the available props and the CSS API.
37
37
 
38
38
  #### Import
39
39
 
@@ -53,7 +53,7 @@ const Root = (0, _styles.styled)(_BaseItemButton.default, {
53
53
  }) => ({}));
54
54
 
55
55
  /**
56
- * > API documentation for the Community-UI Category component. Learn about the available props and the CSS API.
56
+ * > API documentation for the Community-JS Category component. Learn about the available props and the CSS API.
57
57
  *
58
58
  * #### Import
59
59
  ```jsx
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_BaseItem.default)(({
25
25
  theme
26
26
  }) => ({}));
27
27
  /**
28
- * > API documentation for the Community-UI Category Skeleton component. Learn about the available props and the CSS API.
28
+ * > API documentation for the Community-JS Category Skeleton component. Learn about the available props and the CSS API.
29
29
 
30
30
  #### Import
31
31
 
@@ -104,7 +104,7 @@ const Root = (0, _styles.styled)(_material.Box, {
104
104
  }));
105
105
 
106
106
  /**
107
- *> API documentation for the Community-UI Category Header component. Learn about the available props and the CSS API.
107
+ *> API documentation for the Community-JS Category Header component. Learn about the available props and the CSS API.
108
108
  *
109
109
  #### Import
110
110
  ```jsx
@@ -40,7 +40,7 @@ const Root = (0, _styles.styled)(_material.Box, {
40
40
  }
41
41
  }));
42
42
  /**
43
- * > API documentation for the Community-UI Category Header Skeleton component. Learn about the available props and the CSS API.
43
+ * > API documentation for the Community-JS Category Header Skeleton component. Learn about the available props and the CSS API.
44
44
 
45
45
  #### Import
46
46
 
@@ -57,7 +57,7 @@ const Root = (0, _styles.styled)(_material.Box, {
57
57
  }));
58
58
 
59
59
  /**
60
- *> API documentation for the Community-UI Change Cover component. Learn about the available props and the CSS API.
60
+ *> API documentation for the Community-JS Change Cover component. Learn about the available props and the CSS API.
61
61
  *
62
62
  #### Import
63
63
  ```jsx
@@ -46,7 +46,7 @@ const CPButton = (0, _styles.styled)(_material.Button, {
46
46
  }) => ({}));
47
47
 
48
48
  /**
49
- * > API documentation for the Community-UI Change Picture component. Learn about the available props and the CSS API.
49
+ * > API documentation for the Community-JS Change Picture component. Learn about the available props and the CSS API.
50
50
 
51
51
  #### Import
52
52
 
@@ -51,7 +51,7 @@ var _apiServices = require("@selfcommunity/api-services");
51
51
 
52
52
  var _reactCore = require("@selfcommunity/react-core");
53
53
 
54
- const _excluded = ["id", "className", "commentObjectId", "commentObject", "feedObjectId", "feedObject", "feedObjectType", "commentReply", "onOpenReply", "onDelete", "onVote", "elevation", "CommentObjectSkeletonProps", "ReplyCommentObjectProps"];
54
+ const _excluded = ["id", "className", "commentObjectId", "commentObject", "feedObjectId", "feedObject", "feedObjectType", "commentReply", "onOpenReply", "onDelete", "onVote", "elevation", "CommentObjectSkeletonProps", "ReplyCommentObjectProps", "linkableCommentDateTime"];
55
55
 
56
56
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
57
57
 
@@ -130,6 +130,7 @@ const Root = (0, _styles.styled)(_material.Box, {
130
130
  [`& .${classes.content}`]: {
131
131
  position: 'relative',
132
132
  display: 'flex',
133
+ wordBreak: 'break-all',
133
134
  '& .MuiCardContent-root': {
134
135
  padding: '7px 13px 7px 13px',
135
136
  flexGrow: 1
@@ -182,7 +183,7 @@ const Root = (0, _styles.styled)(_material.Box, {
182
183
  }));
183
184
 
184
185
  /**
185
- *> API documentation for the Community-UI Comment Object component. Learn about the available props and the CSS API.
186
+ *> API documentation for the Community-JS Comment Object component. Learn about the available props and the CSS API.
186
187
 
187
188
  #### Import
188
189
 
@@ -247,7 +248,8 @@ function CommentObject(inProps) {
247
248
  WidgetProps: {
248
249
  variant: 'outlined'
249
250
  }
250
- }
251
+ },
252
+ linkableCommentDateTime = true
251
253
  } = props,
252
254
  rest = _objectWithoutPropertiesLoose(props, _excluded); // CONTEXT
253
255
 
@@ -285,11 +287,13 @@ function CommentObject(inProps) {
285
287
  */
286
288
 
287
289
  function renderTimeAgo(comment) {
288
- return /*#__PURE__*/_react.default.createElement(_reactCore.Link, {
290
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, linkableCommentDateTime ? /*#__PURE__*/_react.default.createElement(_reactCore.Link, {
289
291
  to: scRoutingContext.url(_reactCore.SCRoutes.COMMENT_ROUTE_NAME, (0, _contribution.getRouteData)(comment)),
290
292
  className: classes.activityAt
291
293
  }, /*#__PURE__*/_react.default.createElement(_DateTimeAgo.default, {
292
294
  date: comment.added_at
295
+ })) : /*#__PURE__*/_react.default.createElement(_DateTimeAgo.default, {
296
+ date: comment.added_at
293
297
  }));
294
298
  }
295
299
  /**
@@ -741,7 +745,8 @@ function CommentObject(inProps) {
741
745
  CommentComponentProps: Object.assign({
742
746
  onOpenReply: reply,
743
747
  CommentObjectSkeletonProps,
744
- elevation: elevation
748
+ elevation: elevation,
749
+ linkableCommentDateTime: linkableCommentDateTime
745
750
  }, rest),
746
751
  CommentsObjectSkeletonProps: {
747
752
  count: 1,
@@ -47,7 +47,7 @@ const Root = (0, _styles.styled)(_BaseItem.default)(({
47
47
  }
48
48
  }));
49
49
  /**
50
- * > API documentation for the Community-UI Comment Object Skeleton component. Learn about the available props and the CSS API.
50
+ * > API documentation for the Community-JS Comment Object Skeleton component. Learn about the available props and the CSS API.
51
51
 
52
52
  #### Import
53
53
 
@@ -69,7 +69,7 @@ const Root = (0, _styles.styled)(_material.Box, {
69
69
  }));
70
70
 
71
71
  /**
72
- *> API documentation for the Community-UI Comments Object component. Learn about the available props and the CSS API.
72
+ *> API documentation for the Community-JS Comments Object component. Learn about the available props and the CSS API.
73
73
 
74
74
  #### Import
75
75
 
@@ -107,7 +107,8 @@ function CommentsFeedObject(inProps) {
107
107
  commentObject,
108
108
  CommentComponent = _CommentObject.default,
109
109
  CommentComponentProps = {
110
- variant: 'outlined'
110
+ variant: 'outlined',
111
+ linkableCommentDateTime: false
111
112
  },
112
113
  CommentObjectSkeletonProps = {
113
114
  elevation: 0,
@@ -86,7 +86,7 @@ const Root = (0, _styles.styled)(_material.Box, {
86
86
  }));
87
87
  const PREFERENCES = [_reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ENABLED, _reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED];
88
88
  /**
89
- *> API documentation for the Community-UI Comments Object component. Learn about the available props and the CSS API.
89
+ *> API documentation for the Community-JS Comments Object component. Learn about the available props and the CSS API.
90
90
 
91
91
  #### Import
92
92
 
@@ -29,7 +29,7 @@ const Root = (0, _styles.styled)(_material.Box)(({
29
29
  width: '100%'
30
30
  }));
31
31
  /**
32
- * > API documentation for the Community-UI Comments Object Skeleton component. Learn about the available props and the CSS API.
32
+ * > API documentation for the Community-JS Comments Object Skeleton component. Learn about the available props and the CSS API.
33
33
 
34
34
  #### Import
35
35
 
@@ -275,7 +275,7 @@ const reducer = (state, action) => {
275
275
  }
276
276
  };
277
277
  /**
278
- > API documentation for the Community-UI Composer component. Learn about the available props and the CSS API.
278
+ > API documentation for the Community-JS Composer component. Learn about the available props and the CSS API.
279
279
  > The Composer component contains the logic around the creation of [Post](https://developers.selfcommunity.com/docs/apireference/v2/post/create_a_post) and [Discussion](https://developers.selfcommunity.com/docs/apireference/v2/discussion/create_a_discussion) objects.
280
280
  *
281
281
  #### Import
@@ -747,10 +747,12 @@ function Composer(inProps) {
747
747
  value: (0, _apiServices.formatHttpError)(error)
748
748
  });
749
749
  }).then(() => setIsSubmitting(false));
750
- };
751
- /* Renderers */
750
+ }; // RENDER
752
751
 
753
752
 
753
+ const theme = (0, _styles.useTheme)();
754
+ const smDown = (0, _material.useMediaQuery)(theme.breakpoints.down('sm'));
755
+ const fullScreen = (0, _material.useMediaQuery)(theme.breakpoints.down('md'));
754
756
  const hasMediaShare = (0, _react.useMemo)(() => medias.findIndex(m => m.type === _Media.MEDIA_TYPE_SHARE) !== -1, [medias]);
755
757
 
756
758
  const renderMediaAdornment = mediaObjectType => {
@@ -792,7 +794,10 @@ function Composer(inProps) {
792
794
  })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Avatar, {
793
795
  className: classes.avatar,
794
796
  src: scAuthContext.user.avatar
795
- })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Button, {
797
+ })), /*#__PURE__*/_react.default.createElement(_material.Box, null, smDown ? /*#__PURE__*/_react.default.createElement(_material.IconButton, {
798
+ onClick: handleChangeView(MAIN_VIEW),
799
+ color: "inherit"
800
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "check")) : /*#__PURE__*/_react.default.createElement(_material.Button, {
796
801
  onClick: handleChangeView(MAIN_VIEW),
797
802
  variant: "text",
798
803
  color: "inherit"
@@ -862,7 +867,11 @@ function Composer(inProps) {
862
867
  })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Avatar, {
863
868
  className: classes.avatar,
864
869
  src: scAuthContext.user.avatar
865
- })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Button, {
870
+ })), /*#__PURE__*/_react.default.createElement(_material.Box, null, smDown ? /*#__PURE__*/_react.default.createElement(_material.IconButton, {
871
+ onClick: handleChangeView(MAIN_VIEW),
872
+ color: "inherit",
873
+ disabled: mediasRef.current.mediaChunks.length > 0
874
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "check")) : /*#__PURE__*/_react.default.createElement(_material.Button, {
866
875
  onClick: handleChangeView(MAIN_VIEW),
867
876
  variant: "text",
868
877
  color: "inherit",
@@ -892,15 +901,23 @@ function Composer(inProps) {
892
901
  size: "small",
893
902
  disabled: !hasPoll()
894
903
  }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "arrow_back")), /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
895
- id: "ui.composer.poll.title",
896
- defaultMessage: "ui.composer.poll.title"
904
+ id: "ui.composer.poll",
905
+ defaultMessage: "ui.composer.poll"
897
906
  })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Avatar, {
898
907
  className: classes.avatar,
899
908
  src: scAuthContext.user.avatar
900
909
  })), /*#__PURE__*/_react.default.createElement(_material.Stack, {
901
910
  spacing: 2,
902
911
  direction: "row"
903
- }, /*#__PURE__*/_react.default.createElement(_material.Button, {
912
+ }, smDown ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.IconButton, {
913
+ onClick: handleChangeView(MAIN_VIEW),
914
+ color: "inherit",
915
+ disabled: !hasPoll()
916
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "check")), /*#__PURE__*/_react.default.createElement(_material.IconButton, {
917
+ onClick: handleChangeView(MAIN_VIEW),
918
+ color: "inherit",
919
+ disabled: !hasPoll()
920
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "delete"))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_material.Button, {
904
921
  onClick: handleDeletePoll,
905
922
  variant: "text",
906
923
  color: "inherit"
@@ -915,7 +932,7 @@ function Composer(inProps) {
915
932
  }, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
916
933
  id: "ui.composer.done",
917
934
  defaultMessage: "ui.composer.done"
918
- })))), /*#__PURE__*/_react.default.createElement(_material.DialogContent, {
935
+ }))))), /*#__PURE__*/_react.default.createElement(_material.DialogContent, {
919
936
  className: classes.content
920
937
  }, /*#__PURE__*/_react.default.createElement(_Poll2.default, {
921
938
  onChange: handleChangePoll,
@@ -938,7 +955,10 @@ function Composer(inProps) {
938
955
  })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Avatar, {
939
956
  className: classes.avatar,
940
957
  src: scAuthContext.user.avatar
941
- })), /*#__PURE__*/_react.default.createElement(_material.Box, null, /*#__PURE__*/_react.default.createElement(_material.Button, {
958
+ })), /*#__PURE__*/_react.default.createElement(_material.Box, null, smDown ? /*#__PURE__*/_react.default.createElement(_material.IconButton, {
959
+ onClick: handleChangeView(MAIN_VIEW),
960
+ color: "inherit"
961
+ }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "check")) : /*#__PURE__*/_react.default.createElement(_material.Button, {
942
962
  onClick: handleChangeView(MAIN_VIEW),
943
963
  variant: "text",
944
964
  color: "inherit"
@@ -1062,9 +1082,7 @@ function Composer(inProps) {
1062
1082
  onClick: handleChangeView(POLL_VIEW)
1063
1083
  }, /*#__PURE__*/_react.default.createElement(_material.Badge, {
1064
1084
  className: classes.badgeError,
1065
- badgeContent: pollError ? /*#__PURE__*/_react.default.createElement(_Icon.default, {
1066
- fontSize: "small"
1067
- }, "error_outline") : null,
1085
+ badgeContent: pollError ? ' ' : null,
1068
1086
  color: "error"
1069
1087
  }, /*#__PURE__*/_react.default.createElement(_Icon.default, null, "bar_chart")))), /*#__PURE__*/_react.default.createElement(_material.Typography, {
1070
1088
  align: "right"
@@ -1126,9 +1144,6 @@ function Composer(inProps) {
1126
1144
  }));
1127
1145
  }
1128
1146
 
1129
- const theme = (0, _styles.useTheme)();
1130
- const fullScreen = (0, _material.useMediaQuery)(theme.breakpoints.down('md'));
1131
-
1132
1147
  if (!scAuthContext.user) {
1133
1148
  return null;
1134
1149
  }
@@ -50,6 +50,7 @@ const localeMap = {
50
50
  const PREFIX = 'SCComposerPoll';
51
51
  const classes = {
52
52
  root: `${PREFIX}-root`,
53
+ generalError: `${PREFIX}-generalError`,
53
54
  title: `${PREFIX}-title`,
54
55
  choices: `${PREFIX}-choices`,
55
56
  choiceNew: `${PREFIX}-choice-new`,
@@ -63,6 +64,10 @@ const Root = (0, _styles.styled)(_material.Box, {
63
64
  theme
64
65
  }) => ({
65
66
  padding: theme.spacing(2),
67
+ [`& .${classes.generalError}`]: {
68
+ marginBottom: theme.spacing(2),
69
+ color: theme.palette.error.main
70
+ },
66
71
  [`& .${classes.title}, & .${classes.choices}, & .${classes.choiceNew}, & .${classes.metadata}`]: {
67
72
  marginBottom: theme.spacing(3)
68
73
  },
@@ -118,7 +123,8 @@ var _default = inProps => {
118
123
  onChange
119
124
  } = props;
120
125
  const {
121
- titleError = null
126
+ titleError = null,
127
+ error: generalError = null
122
128
  } = Object.assign({}, error); // STATE
123
129
 
124
130
  const [title, setTitle] = (0, _react.useState)(value !== null ? value.title : DEFAULT_POLL.title);
@@ -186,7 +192,9 @@ var _default = inProps => {
186
192
  return /*#__PURE__*/_react.default.createElement(Root, {
187
193
  id: id,
188
194
  className: (0, _classnames.default)(classes.root, className)
189
- }, /*#__PURE__*/_react.default.createElement(_material.Box, {
195
+ }, generalError && /*#__PURE__*/_react.default.createElement(_material.Typography, {
196
+ className: classes.generalError
197
+ }, generalError), /*#__PURE__*/_react.default.createElement(_material.Box, {
190
198
  className: classes.title
191
199
  }, /*#__PURE__*/_react.default.createElement(_material.TextField, {
192
200
  label: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
@@ -74,7 +74,7 @@ const Root = (0, _styles.styled)(_material.Box, {
74
74
  }
75
75
  }));
76
76
  /**
77
- * > API documentation for the Community-UI Composer Skeleton component. Learn about the available props and the CSS API.
77
+ * > API documentation for the Community-JS Composer Skeleton component. Learn about the available props and the CSS API.
78
78
 
79
79
  #### Import
80
80
 
@@ -42,7 +42,7 @@ const Root = (0, _styles.styled)(_material.Box, {
42
42
  }) => ({}));
43
43
 
44
44
  /**
45
- > API documentation for the Community-UI Connection User Button component. Learn about the available props and the CSS API.
45
+ > API documentation for the Community-JS Connection User Button component. Learn about the available props and the CSS API.
46
46
  *
47
47
  #### Import
48
48
  ```jsx
@@ -36,7 +36,7 @@ const Root = (0, _styles.styled)(_material.Box, {
36
36
  }));
37
37
 
38
38
  /**
39
- > API documentation for the Community-UI CustomAdv component. Learn about the available props and the CSS API.
39
+ > API documentation for the Community-JS CustomAdv component. Learn about the available props and the CSS API.
40
40
  *
41
41
  #### Import
42
42
  ```jsx
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_Skeleton.GenericSkeleton, {
23
23
  theme
24
24
  }) => ({}));
25
25
  /**
26
- * > API documentation for the Community-UI Custom Adv Skeleton component. Learn about the available props and the CSS API.
26
+ * > API documentation for the Community-JS Custom Adv Skeleton component. Learn about the available props and the CSS API.
27
27
 
28
28
  #### Import
29
29
 
@@ -137,7 +137,7 @@ const Root = (0, _styles.styled)(_material.Box, {
137
137
  }));
138
138
 
139
139
  /**
140
- * > API documentation for the Community-UI Editor component. Learn about the available props and the CSS API.
140
+ * > API documentation for the Community-JS Editor component. Learn about the available props and the CSS API.
141
141
 
142
142
  #### Import
143
143
 
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_Skeleton.GenericSkeleton, {
23
23
  theme
24
24
  }) => ({}));
25
25
  /**
26
- * > API documentation for the Community-UI Editor Skeleton component. Learn about the available props and the CSS API.
26
+ * > API documentation for the Community-JS Editor Skeleton component. Learn about the available props and the CSS API.
27
27
 
28
28
  #### Import
29
29
 
@@ -75,7 +75,7 @@ const Root = (0, _styles.styled)(_material.Grid, {
75
75
  }));
76
76
  const PREFERENCES = [_reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ENABLED, _reactCore.SCPreferences.ADVERTISING_CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED];
77
77
  /**
78
- * > API documentation for the Community-UI Feed component. Learn about the available props and the CSS API.
78
+ * > API documentation for the Community-JS Feed component. Learn about the available props and the CSS API.
79
79
 
80
80
  #### Import
81
81
 
@@ -134,7 +134,7 @@ const Feed = (inProps, ref) => {
134
134
  } = props; // STATE
135
135
 
136
136
  const [feedData, setFeedData] = (0, _react.useState)([]);
137
- const [loading, setLoading] = (0, _react.useState)(true);
137
+ const [loading, setLoading] = (0, _react.useState)(false);
138
138
  const [next, setNext] = (0, _react.useState)(endpoint.url({})); // CONTEXT
139
139
 
140
140
  const scPreferences = (0, _reactCore.useSCPreferences)();
@@ -190,20 +190,22 @@ const Feed = (inProps, ref) => {
190
190
 
191
191
 
192
192
  const fetch = () => {
193
- setLoading(true);
194
-
195
- _apiServices.http.request({
196
- url: next,
197
- method: endpoint.method
198
- }).then(res => {
199
- const data = res.data;
200
- setFeedData([...feedData, ...data.results]);
201
- setNext(data.next);
202
- setLoading(false);
203
- onFetchData && onFetchData(res.data);
204
- }).catch(error => {
205
- _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
206
- });
193
+ if (!loading) {
194
+ setLoading(true);
195
+
196
+ _apiServices.http.request({
197
+ url: next,
198
+ method: endpoint.method
199
+ }).then(res => {
200
+ const data = res.data;
201
+ setFeedData([...feedData, ...data.results]);
202
+ setNext(data.next);
203
+ setLoading(false);
204
+ onFetchData && onFetchData(res.data);
205
+ }).catch(error => {
206
+ _reactCore.Logger.error(_Errors.SCOPE_SC_UI, error);
207
+ });
208
+ }
207
209
  };
208
210
 
209
211
  const refresh = () => {
@@ -35,7 +35,7 @@ const Root = (0, _styles.styled)(_material.Grid, {
35
35
  }));
36
36
 
37
37
  /**
38
- * > API documentation for the Community-UI Feed Skeleton component. Learn about the available props and the CSS API.
38
+ * > API documentation for the Community-JS Feed Skeleton component. Learn about the available props and the CSS API.
39
39
 
40
40
  #### Import
41
41
 
@@ -194,6 +194,9 @@ function Share(inProps) {
194
194
 
195
195
 
196
196
  function handleComposerOnSuccess() {
197
+ setObj(Object.assign({}, obj, {
198
+ share_count: obj.share_count + 1
199
+ }));
197
200
  handleComposerOnClose();
198
201
  }
199
202
  /**
@@ -228,7 +228,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
228
228
  }));
229
229
 
230
230
  /**
231
- * > API documentation for the Community-UI Feed Object component. Learn about the available props and the CSS API.
231
+ * > API documentation for the Community-JS Feed Object component. Learn about the available props and the CSS API.
232
232
 
233
233
  #### Import
234
234
 
@@ -42,7 +42,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
42
42
  }));
43
43
 
44
44
  /**
45
- * > API documentation for the Community-UI Feed Object Skeleton component. Learn about the available props and the CSS API.
45
+ * > API documentation for the Community-JS Feed Object Skeleton component. Learn about the available props and the CSS API.
46
46
 
47
47
  #### Import
48
48
 
@@ -50,7 +50,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
50
50
  }));
51
51
 
52
52
  /**
53
- * > API documentation for the Community-UI FeedUpdates component. Learn about the available props and the CSS API.
53
+ * > API documentation for the Community-JS FeedUpdates component. Learn about the available props and the CSS API.
54
54
  * This Component subscribe to updates from PubSub channel (eg. websocket) and tell the feed to updates if necessary.
55
55
 
56
56
  #### Import
@@ -20,7 +20,7 @@ const classes = {
20
20
  };
21
21
  const Root = (0, _styles.styled)(_GenericSkeleton.default)(() => ({}));
22
22
  /**
23
- * > API documentation for the Community-UI Feed Updates Skeleton component. Learn about the available props and the CSS API.
23
+ * > API documentation for the Community-JS Feed Updates Skeleton component. Learn about the available props and the CSS API.
24
24
 
25
25
  #### Import
26
26
 
@@ -44,7 +44,7 @@ const FollowButton = (0, _styles.styled)(_lab.LoadingButton, {
44
44
  }) => ({}));
45
45
 
46
46
  /**
47
- * > API documentation for the Community-UI Follow Category Button component. Learn about the available props and the CSS API.
47
+ * > API documentation for the Community-JS Follow Category Button component. Learn about the available props and the CSS API.
48
48
 
49
49
  #### Import
50
50