@selfcommunity/react-ui 0.1.2-alpha.0 → 0.1.2-alpha.11

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 (561) hide show
  1. package/lib/cjs/components/AccountRecover/AccountRecover.js +1 -1
  2. package/lib/cjs/components/AccountRecover/AccountRecover.stories.js +1 -1
  3. package/lib/cjs/components/AccountSignIn/AccountSignIn.js +1 -1
  4. package/lib/cjs/components/AccountSignIn/AccountSignIn.stories.js +1 -1
  5. package/lib/cjs/components/AccountSignUp/AccountSignUp.js +1 -1
  6. package/lib/cjs/components/AccountSignUp/AccountSignUp.stories.js +1 -1
  7. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +1 -1
  8. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.stories.js +1 -1
  9. package/lib/cjs/components/BroadcastMessages/BroadcastMessagesSkeleton.stories.js +1 -1
  10. package/lib/cjs/components/BroadcastMessages/Message.js +2 -2
  11. package/lib/cjs/components/BroadcastMessages/Skeleton.js +2 -2
  12. package/lib/cjs/components/CategoriesFollowed/CategoriesFollowed.js +4 -21
  13. package/lib/cjs/components/CategoriesFollowed/CategoriesFollowed.stories.js +1 -1
  14. package/lib/cjs/components/CategoriesFollowed/CategoriesFollowedSkeleton.stories.js +1 -1
  15. package/lib/cjs/components/CategoriesFollowed/Skeleton.js +1 -1
  16. package/lib/cjs/components/CategoriesPopular/CategoriesPopular.js +1 -1
  17. package/lib/cjs/components/CategoriesPopular/CategoriesPopular.stories.js +1 -1
  18. package/lib/cjs/components/CategoriesPopular/CategoriesPopularSkeleton.stories.js +1 -1
  19. package/lib/cjs/components/CategoriesPopular/Skeleton.js +1 -1
  20. package/lib/cjs/components/CategoriesSuggestion/CategoriesSuggestion.js +2 -5
  21. package/lib/cjs/components/CategoriesSuggestion/CategoriesSuggestion.stories.js +1 -1
  22. package/lib/cjs/components/CategoriesSuggestion/CategoriesSuggestionSkeleton.stories.js +1 -1
  23. package/lib/cjs/components/CategoriesSuggestion/Skeleton.js +1 -1
  24. package/lib/cjs/components/Category/Category.js +1 -1
  25. package/lib/cjs/components/Category/Category.stories.js +1 -1
  26. package/lib/cjs/components/Category/CategorySkeleton.stories.js +1 -1
  27. package/lib/cjs/components/Category/Skeleton.js +1 -1
  28. package/lib/cjs/components/CategoryHeader/CategoryHeader.js +1 -1
  29. package/lib/cjs/components/CategoryHeader/CategoryHeader.stories.js +1 -1
  30. package/lib/cjs/components/CategoryHeader/CategoryHeaderSkeleton.stories.js +1 -1
  31. package/lib/cjs/components/CategoryHeader/Skeleton.js +1 -1
  32. package/lib/cjs/components/ChangeCover/ChangeCover.js +1 -1
  33. package/lib/cjs/components/ChangeCover/ChangeCover.stories.js +1 -1
  34. package/lib/cjs/components/ChangePicture/ChangePicture.js +1 -1
  35. package/lib/cjs/components/ChangePicture/ChangePicture.stories.js +1 -1
  36. package/lib/cjs/components/CommentObject/CommentObject.js +14 -8
  37. package/lib/cjs/components/CommentObject/CommentObject.stories.js +1 -1
  38. package/lib/cjs/components/CommentObject/CommentObjectSkeleton.stories.js +1 -1
  39. package/lib/cjs/components/CommentObject/Skeleton.js +1 -1
  40. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
  41. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.stories.js +1 -1
  42. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObjectSkeleton.stories.js +1 -1
  43. package/lib/cjs/components/CommentsObject/CommentsObject.js +1 -1
  44. package/lib/cjs/components/CommentsObject/CommentsObjectSkeleton.stories.js +1 -1
  45. package/lib/cjs/components/CommentsObject/Skeleton.js +1 -1
  46. package/lib/cjs/components/Composer/Audience/Audience.js +5 -29
  47. package/lib/cjs/components/Composer/Composer.js +41 -19
  48. package/lib/cjs/components/Composer/Composer.stories.js +1 -1
  49. package/lib/cjs/components/Composer/ComposerSkeleton.stories.js +1 -1
  50. package/lib/cjs/components/Composer/Poll/Poll.js +10 -2
  51. package/lib/cjs/components/Composer/Skeleton.js +1 -1
  52. package/lib/cjs/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
  53. package/lib/cjs/components/CustomAdv/CustomAdv.js +1 -1
  54. package/lib/cjs/components/CustomAdv/CustomAdv.stories.js +1 -1
  55. package/lib/cjs/components/CustomAdv/CustomAdvSkeleton.stories.js +1 -1
  56. package/lib/cjs/components/CustomAdv/Skeleton.js +1 -1
  57. package/lib/cjs/components/Editor/Editor.js +2 -8
  58. package/lib/cjs/components/Editor/Editor.stories.js +1 -1
  59. package/lib/cjs/components/Editor/EditorSkeleton.stories.js +1 -1
  60. package/lib/cjs/components/Editor/Skeleton.js +1 -1
  61. package/lib/cjs/components/Editor/plugins/ImagePlugin.js +0 -1
  62. package/lib/cjs/components/Feed/Feed.js +29 -24
  63. package/lib/cjs/components/Feed/Feed.stories.js +1 -1
  64. package/lib/cjs/components/Feed/FeedSkeleton.stories.js +1 -1
  65. package/lib/cjs/components/Feed/Skeleton.js +1 -1
  66. package/lib/cjs/components/FeedObject/Actions/Share/Share.js +3 -0
  67. package/lib/cjs/components/FeedObject/Contributors/ContributorsFeedObject.stories.js +1 -1
  68. package/lib/cjs/components/FeedObject/FeedObject.js +22 -32
  69. package/lib/cjs/components/FeedObject/FeedObject.stories.js +1 -1
  70. package/lib/cjs/components/FeedObject/FeedObjectSkeleton.stories.js +1 -1
  71. package/lib/cjs/components/FeedObject/Skeleton.js +1 -1
  72. package/lib/cjs/components/FeedUpdates/FeedUpdates.js +1 -1
  73. package/lib/cjs/components/FeedUpdates/FeedUpdates.stories.js +1 -1
  74. package/lib/cjs/components/FeedUpdates/Skeleton.js +1 -1
  75. package/lib/cjs/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
  76. package/lib/cjs/components/FollowUserButton/FollowUserButton.js +1 -1
  77. package/lib/cjs/components/Footer/Footer.js +1 -1
  78. package/lib/cjs/components/Footer/Footer.stories.js +1 -1
  79. package/lib/cjs/components/Footer/FooterSkeleton.stories.js +1 -1
  80. package/lib/cjs/components/Footer/Skeleton.js +1 -1
  81. package/lib/cjs/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
  82. package/lib/cjs/components/Incubator/Incubator.js +1 -1
  83. package/lib/cjs/components/Incubator/Incubator.stories.js +1 -1
  84. package/lib/cjs/components/Incubator/IncubatorSkeleton.stories.js +1 -1
  85. package/lib/cjs/components/Incubator/Skeleton.js +1 -1
  86. package/lib/cjs/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
  87. package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +1 -1
  88. package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
  89. package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestion.stories.js +1 -1
  90. package/lib/cjs/components/IncubatorSuggestion/IncubatorSuggestionSkeleton.stories.js +1 -1
  91. package/lib/cjs/components/IncubatorSuggestion/Skeleton.js +1 -1
  92. package/lib/cjs/components/IncubatorsList/IncubatorsList.js +1 -1
  93. package/lib/cjs/components/IncubatorsList/IncubatorsList.stories.js +1 -1
  94. package/lib/cjs/components/IncubatorsList/IncubatorsListSkeleton.stories.js +1 -1
  95. package/lib/cjs/components/IncubatorsList/Skeleton.js +1 -1
  96. package/lib/cjs/components/InlineComposer/InlineComposer.js +1 -1
  97. package/lib/cjs/components/InlineComposer/InlineComposer.stories.js +1 -1
  98. package/lib/cjs/components/InlineComposer/InlineComposerSkeleton.stories.js +1 -1
  99. package/lib/cjs/components/InlineComposer/Skeleton.js +1 -1
  100. package/lib/cjs/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
  101. package/lib/cjs/components/LoyaltyProgram/LoyaltyProgram.stories.js +1 -1
  102. package/lib/cjs/components/LoyaltyProgram/LoyaltyProgramSkeleton.stories.js +1 -1
  103. package/lib/cjs/components/LoyaltyProgram/Skeleton.js +1 -1
  104. package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
  105. package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetail.stories.js +1 -1
  106. package/lib/cjs/components/LoyaltyProgramDetail/LoyaltyProgramDetailSkeleton.stories.js +1 -1
  107. package/lib/cjs/components/LoyaltyProgramDetail/Skeleton.js +1 -1
  108. package/lib/cjs/components/Message/Message.js +1 -1
  109. package/lib/cjs/components/Message/Message.stories.js +1 -1
  110. package/lib/cjs/components/Message/MessageSkeleton.stories.js +1 -1
  111. package/lib/cjs/components/Message/Skeleton.js +1 -1
  112. package/lib/cjs/components/MessageEditor/MessageEditor.js +1 -1
  113. package/lib/cjs/components/MessageEditor/MessageEditorSkeleton.stories.js +1 -1
  114. package/lib/cjs/components/MessageEditor/Skeleton.js +1 -1
  115. package/lib/cjs/components/Notification/Comment/Comment.js +1 -1
  116. package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +9 -4
  117. package/lib/cjs/components/Notification/Notification.js +1 -1
  118. package/lib/cjs/components/Notification/NotificationSkeleton.stories.js +1 -1
  119. package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +1 -7
  120. package/lib/cjs/components/Notification/Skeleton.js +1 -1
  121. package/lib/cjs/components/PeopleSuggestion/PeopleSuggestion.js +3 -9
  122. package/lib/cjs/components/PeopleSuggestion/PeopleSuggestion.stories.js +1 -1
  123. package/lib/cjs/components/PeopleSuggestion/PeopleSuggestionSkeleton.stories.js +1 -1
  124. package/lib/cjs/components/PeopleSuggestion/Skeleton.js +1 -1
  125. package/lib/cjs/components/Platform/Platform.js +1 -1
  126. package/lib/cjs/components/Platform/Platform.stories.js +1 -1
  127. package/lib/cjs/components/Platform/PlatformSkeleton.stories.js +1 -1
  128. package/lib/cjs/components/Platform/Skeleton.js +1 -1
  129. package/lib/cjs/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
  130. package/lib/cjs/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
  131. package/lib/cjs/components/PollSuggestion/PollSuggestion.js +1 -1
  132. package/lib/cjs/components/PollSuggestion/PollSuggestion.stories.js +1 -1
  133. package/lib/cjs/components/PollSuggestion/PollSuggestionSkeleton.stories.js +1 -1
  134. package/lib/cjs/components/PollSuggestion/Skeleton.js +1 -1
  135. package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
  136. package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjects.stories.js +1 -1
  137. package/lib/cjs/components/RelatedFeedObjects/RelatedFeedObjectsSkeleton.stories.js +1 -1
  138. package/lib/cjs/components/RelatedFeedObjects/Skeleton.js +1 -1
  139. package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.js +1 -1
  140. package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.stories.js +1 -1
  141. package/lib/cjs/components/Skeleton/GenericSkeleton.js +1 -1
  142. package/lib/cjs/components/Skeleton/GenericSkeleton.stories.js +1 -1
  143. package/lib/cjs/components/SnippetNotifications/Skeleton.js +1 -1
  144. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +1 -1
  145. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.stories.js +1 -1
  146. package/lib/cjs/components/SnippetNotifications/SnippetNotificationsSkeleton.stories.js +1 -1
  147. package/lib/cjs/components/Snippets/Skeleton.js +1 -1
  148. package/lib/cjs/components/Snippets/Snippets.js +1 -1
  149. package/lib/cjs/components/Snippets/Snippets.stories.js +1 -1
  150. package/lib/cjs/components/Snippets/SnippetsSkeleton.stories.js +1 -1
  151. package/lib/cjs/components/Thread/Skeleton.js +1 -1
  152. package/lib/cjs/components/Thread/Thread.js +1 -1
  153. package/lib/cjs/components/Thread/Thread.stories.js +1 -1
  154. package/lib/cjs/components/Thread/ThreadSkeleton.stories.js +1 -1
  155. package/lib/cjs/components/ToastNotifications/Skeleton.js +1 -1
  156. package/lib/cjs/components/ToastNotifications/ToastNotifications.js +1 -1
  157. package/lib/cjs/components/ToastNotifications/ToastNotifications.stories.js +1 -1
  158. package/lib/cjs/components/ToastNotifications/ToastNotificationsSkeleton.stories.js +1 -1
  159. package/lib/cjs/components/TrendingFeed/Skeleton.js +1 -1
  160. package/lib/cjs/components/TrendingFeed/TrendingFeed.js +1 -1
  161. package/lib/cjs/components/TrendingFeed/TrendingFeed.stories.js +1 -1
  162. package/lib/cjs/components/TrendingFeed/TrendingFeedSkeleton.stories.js +1 -1
  163. package/lib/cjs/components/TrendingPeople/Skeleton.js +1 -1
  164. package/lib/cjs/components/TrendingPeople/TrendingPeople.js +1 -1
  165. package/lib/cjs/components/TrendingPeople/TrendingPeople.stories.js +1 -1
  166. package/lib/cjs/components/TrendingPeople/TrendingPeopleSkeleton.stories.js +1 -1
  167. package/lib/cjs/components/User/Skeleton.js +1 -1
  168. package/lib/cjs/components/User/User.js +1 -1
  169. package/lib/cjs/components/User/User.stories.js +1 -1
  170. package/lib/cjs/components/User/UserSkeleton.stories.js +1 -1
  171. package/lib/cjs/components/UserFollowers/Skeleton.js +1 -1
  172. package/lib/cjs/components/UserFollowers/UserFollowers.js +1 -1
  173. package/lib/cjs/components/UserFollowers/UserFollowers.stories.js +1 -1
  174. package/lib/cjs/components/UserFollowers/UserFollowersSkeleton.stories.js +1 -1
  175. package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  176. package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
  177. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
  178. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.stories.js +1 -1
  179. package/lib/cjs/components/UserProfileEdit/UserProfileEditSkeleton.stories.js +1 -1
  180. package/lib/cjs/components/UserProfileHeader/Skeleton.js +1 -1
  181. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -1
  182. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.stories.js +1 -1
  183. package/lib/cjs/components/UserProfileHeader/UserProfileHeaderSkeleton.stories.js +1 -1
  184. package/lib/cjs/components/UserProfileInfo/Skeleton.js +1 -1
  185. package/lib/cjs/components/UserProfileInfo/UserProfileInfo.js +1 -1
  186. package/lib/cjs/components/UserProfileInfo/UserProfileInfo.stories.js +1 -1
  187. package/lib/cjs/components/UserProfileInfo/UserProfileInfoSkeleton.stories.js +1 -1
  188. package/lib/cjs/components/UsersFollowed/Skeleton.js +1 -1
  189. package/lib/cjs/components/UsersFollowed/UsersFollowed.js +4 -19
  190. package/lib/cjs/components/UsersFollowed/UsersFollowed.stories.js +1 -1
  191. package/lib/cjs/components/UsersFollowed/UsersFollowedSkeleton.stories.js +1 -1
  192. package/lib/cjs/components/Widget/index.js +1 -1
  193. package/lib/cjs/shared/AutoPlayer/index.js +8 -1
  194. package/lib/cjs/shared/BaseItem/BaseItem.js +1 -1
  195. package/lib/cjs/shared/BaseItem/BaseItem.stories.js +1 -1
  196. package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +1 -1
  197. package/lib/cjs/shared/BaseItemButton/BaseItemButton.stories.js +1 -1
  198. package/lib/cjs/shared/Bullet/BaseItem.stories.js +1 -1
  199. package/lib/cjs/shared/CentralProgress/CentralProgress.stories.js +1 -1
  200. package/lib/cjs/shared/ContributionActionsMenu/ContributionActionsMenu.stories.js +1 -1
  201. package/lib/cjs/shared/DateTimeAgo/DateTimeAgo.stories.js +1 -1
  202. package/lib/cjs/shared/DateTimeAgo/index.js +20 -11
  203. package/lib/cjs/shared/Media/Link/PreviewComponent.js +2 -1
  204. package/lib/cjs/shared/Media/Share/PreviewComponent.js +2 -1
  205. package/lib/cjs/shared/Media/Video/PreviewComponent.js +2 -8
  206. package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -1
  207. package/lib/cjs/shared/NotificationItem/NotificationItem.stories.js +1 -1
  208. package/lib/cjs/shared/ScrollContainer/ScrollContainer.stories.js +1 -1
  209. package/lib/cjs/shared/TagChip/TagChip.stories.js +1 -1
  210. package/lib/cjs/shared/Tags/Tags.stories.js +1 -1
  211. package/lib/cjs/utils/hash.js +1 -1
  212. package/lib/esm/components/AccountRecover/AccountRecover.js +1 -1
  213. package/lib/esm/components/AccountRecover/AccountRecover.stories.js +1 -1
  214. package/lib/esm/components/AccountSignIn/AccountSignIn.js +1 -1
  215. package/lib/esm/components/AccountSignIn/AccountSignIn.stories.js +1 -1
  216. package/lib/esm/components/AccountSignUp/AccountSignUp.js +1 -1
  217. package/lib/esm/components/AccountSignUp/AccountSignUp.stories.js +1 -1
  218. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -1
  219. package/lib/esm/components/BroadcastMessages/BroadcastMessages.stories.js +1 -1
  220. package/lib/esm/components/BroadcastMessages/BroadcastMessagesSkeleton.stories.js +1 -1
  221. package/lib/esm/components/BroadcastMessages/Message.js +2 -2
  222. package/lib/esm/components/BroadcastMessages/Skeleton.js +2 -2
  223. package/lib/esm/components/CategoriesFollowed/CategoriesFollowed.js +4 -21
  224. package/lib/esm/components/CategoriesFollowed/CategoriesFollowed.stories.js +1 -1
  225. package/lib/esm/components/CategoriesFollowed/CategoriesFollowedSkeleton.stories.js +1 -1
  226. package/lib/esm/components/CategoriesFollowed/Skeleton.js +1 -1
  227. package/lib/esm/components/CategoriesPopular/CategoriesPopular.js +1 -1
  228. package/lib/esm/components/CategoriesPopular/CategoriesPopular.stories.js +1 -1
  229. package/lib/esm/components/CategoriesPopular/CategoriesPopularSkeleton.stories.js +1 -1
  230. package/lib/esm/components/CategoriesPopular/Skeleton.js +1 -1
  231. package/lib/esm/components/CategoriesSuggestion/CategoriesSuggestion.js +2 -5
  232. package/lib/esm/components/CategoriesSuggestion/CategoriesSuggestion.stories.js +1 -1
  233. package/lib/esm/components/CategoriesSuggestion/CategoriesSuggestionSkeleton.stories.js +1 -1
  234. package/lib/esm/components/CategoriesSuggestion/Skeleton.js +1 -1
  235. package/lib/esm/components/Category/Category.js +1 -1
  236. package/lib/esm/components/Category/Category.stories.js +1 -1
  237. package/lib/esm/components/Category/CategorySkeleton.stories.js +1 -1
  238. package/lib/esm/components/Category/Skeleton.js +1 -1
  239. package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -1
  240. package/lib/esm/components/CategoryHeader/CategoryHeader.stories.js +1 -1
  241. package/lib/esm/components/CategoryHeader/CategoryHeaderSkeleton.stories.js +1 -1
  242. package/lib/esm/components/CategoryHeader/Skeleton.js +1 -1
  243. package/lib/esm/components/ChangeCover/ChangeCover.js +1 -1
  244. package/lib/esm/components/ChangeCover/ChangeCover.stories.js +1 -1
  245. package/lib/esm/components/ChangePicture/ChangePicture.js +1 -1
  246. package/lib/esm/components/ChangePicture/ChangePicture.stories.js +1 -1
  247. package/lib/esm/components/CommentObject/CommentObject.js +14 -8
  248. package/lib/esm/components/CommentObject/CommentObject.stories.js +1 -1
  249. package/lib/esm/components/CommentObject/CommentObjectSkeleton.stories.js +1 -1
  250. package/lib/esm/components/CommentObject/Skeleton.js +1 -1
  251. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +3 -2
  252. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.stories.js +1 -1
  253. package/lib/esm/components/CommentsFeedObject/CommentsFeedObjectSkeleton.stories.js +1 -1
  254. package/lib/esm/components/CommentsObject/CommentsObject.js +1 -1
  255. package/lib/esm/components/CommentsObject/CommentsObjectSkeleton.stories.js +1 -1
  256. package/lib/esm/components/CommentsObject/Skeleton.js +1 -1
  257. package/lib/esm/components/Composer/Audience/Audience.js +5 -29
  258. package/lib/esm/components/Composer/Composer.js +41 -19
  259. package/lib/esm/components/Composer/Composer.stories.js +1 -1
  260. package/lib/esm/components/Composer/ComposerSkeleton.stories.js +1 -1
  261. package/lib/esm/components/Composer/Poll/Poll.js +10 -2
  262. package/lib/esm/components/Composer/Skeleton.js +1 -1
  263. package/lib/esm/components/ConnectionUserButton/ConnectionUserButton.js +1 -1
  264. package/lib/esm/components/CustomAdv/CustomAdv.js +1 -1
  265. package/lib/esm/components/CustomAdv/CustomAdv.stories.js +1 -1
  266. package/lib/esm/components/CustomAdv/CustomAdvSkeleton.stories.js +1 -1
  267. package/lib/esm/components/CustomAdv/Skeleton.js +1 -1
  268. package/lib/esm/components/Editor/Editor.js +2 -8
  269. package/lib/esm/components/Editor/Editor.stories.js +1 -1
  270. package/lib/esm/components/Editor/EditorSkeleton.stories.js +1 -1
  271. package/lib/esm/components/Editor/Skeleton.js +1 -1
  272. package/lib/esm/components/Editor/plugins/ImagePlugin.js +0 -1
  273. package/lib/esm/components/Feed/Feed.js +29 -24
  274. package/lib/esm/components/Feed/Feed.stories.js +1 -1
  275. package/lib/esm/components/Feed/FeedSkeleton.stories.js +1 -1
  276. package/lib/esm/components/Feed/Skeleton.js +1 -1
  277. package/lib/esm/components/FeedObject/Actions/Share/Share.js +3 -0
  278. package/lib/esm/components/FeedObject/Contributors/ContributorsFeedObject.stories.js +1 -1
  279. package/lib/esm/components/FeedObject/FeedObject.js +22 -32
  280. package/lib/esm/components/FeedObject/FeedObject.stories.js +1 -1
  281. package/lib/esm/components/FeedObject/FeedObjectSkeleton.stories.js +1 -1
  282. package/lib/esm/components/FeedObject/Skeleton.js +1 -1
  283. package/lib/esm/components/FeedUpdates/FeedUpdates.js +1 -1
  284. package/lib/esm/components/FeedUpdates/FeedUpdates.stories.js +1 -1
  285. package/lib/esm/components/FeedUpdates/Skeleton.js +1 -1
  286. package/lib/esm/components/FollowCategoryButton/FollowCategoryButton.js +1 -1
  287. package/lib/esm/components/FollowUserButton/FollowUserButton.js +1 -1
  288. package/lib/esm/components/Footer/Footer.js +1 -1
  289. package/lib/esm/components/Footer/Footer.stories.js +1 -1
  290. package/lib/esm/components/Footer/FooterSkeleton.stories.js +1 -1
  291. package/lib/esm/components/Footer/Skeleton.js +1 -1
  292. package/lib/esm/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
  293. package/lib/esm/components/Incubator/Incubator.js +1 -1
  294. package/lib/esm/components/Incubator/Incubator.stories.js +1 -1
  295. package/lib/esm/components/Incubator/IncubatorSkeleton.stories.js +1 -1
  296. package/lib/esm/components/Incubator/Skeleton.js +1 -1
  297. package/lib/esm/components/Incubator/SubscribeButton/SubscribeButton.js +1 -1
  298. package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +1 -1
  299. package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestion.js +1 -1
  300. package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestion.stories.js +1 -1
  301. package/lib/esm/components/IncubatorSuggestion/IncubatorSuggestionSkeleton.stories.js +1 -1
  302. package/lib/esm/components/IncubatorSuggestion/Skeleton.js +1 -1
  303. package/lib/esm/components/IncubatorsList/IncubatorsList.js +1 -1
  304. package/lib/esm/components/IncubatorsList/IncubatorsList.stories.js +1 -1
  305. package/lib/esm/components/IncubatorsList/IncubatorsListSkeleton.stories.js +1 -1
  306. package/lib/esm/components/IncubatorsList/Skeleton.js +1 -1
  307. package/lib/esm/components/InlineComposer/InlineComposer.js +1 -1
  308. package/lib/esm/components/InlineComposer/InlineComposer.stories.js +1 -1
  309. package/lib/esm/components/InlineComposer/InlineComposerSkeleton.stories.js +1 -1
  310. package/lib/esm/components/InlineComposer/Skeleton.js +1 -1
  311. package/lib/esm/components/LoyaltyProgram/LoyaltyProgram.js +1 -1
  312. package/lib/esm/components/LoyaltyProgram/LoyaltyProgram.stories.js +1 -1
  313. package/lib/esm/components/LoyaltyProgram/LoyaltyProgramSkeleton.stories.js +1 -1
  314. package/lib/esm/components/LoyaltyProgram/Skeleton.js +1 -1
  315. package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.js +7 -3
  316. package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetail.stories.js +1 -1
  317. package/lib/esm/components/LoyaltyProgramDetail/LoyaltyProgramDetailSkeleton.stories.js +1 -1
  318. package/lib/esm/components/LoyaltyProgramDetail/Skeleton.js +1 -1
  319. package/lib/esm/components/Message/Message.js +1 -1
  320. package/lib/esm/components/Message/Message.stories.js +1 -1
  321. package/lib/esm/components/Message/MessageSkeleton.stories.js +1 -1
  322. package/lib/esm/components/Message/Skeleton.js +1 -1
  323. package/lib/esm/components/MessageEditor/MessageEditor.js +1 -1
  324. package/lib/esm/components/MessageEditor/MessageEditorSkeleton.stories.js +1 -1
  325. package/lib/esm/components/MessageEditor/Skeleton.js +1 -1
  326. package/lib/esm/components/Notification/Comment/Comment.js +1 -1
  327. package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +9 -4
  328. package/lib/esm/components/Notification/Notification.js +1 -1
  329. package/lib/esm/components/Notification/NotificationSkeleton.stories.js +1 -1
  330. package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +1 -7
  331. package/lib/esm/components/Notification/Skeleton.js +1 -1
  332. package/lib/esm/components/PeopleSuggestion/PeopleSuggestion.js +3 -9
  333. package/lib/esm/components/PeopleSuggestion/PeopleSuggestion.stories.js +1 -1
  334. package/lib/esm/components/PeopleSuggestion/PeopleSuggestionSkeleton.stories.js +1 -1
  335. package/lib/esm/components/PeopleSuggestion/Skeleton.js +1 -1
  336. package/lib/esm/components/Platform/Platform.js +1 -1
  337. package/lib/esm/components/Platform/Platform.stories.js +1 -1
  338. package/lib/esm/components/Platform/PlatformSkeleton.stories.js +1 -1
  339. package/lib/esm/components/Platform/Skeleton.js +1 -1
  340. package/lib/esm/components/PollSuggestion/PollSnippet/PollSnippet.js +1 -1
  341. package/lib/esm/components/PollSuggestion/PollSnippet/Skeleton.js +1 -1
  342. package/lib/esm/components/PollSuggestion/PollSuggestion.js +1 -1
  343. package/lib/esm/components/PollSuggestion/PollSuggestion.stories.js +1 -1
  344. package/lib/esm/components/PollSuggestion/PollSuggestionSkeleton.stories.js +1 -1
  345. package/lib/esm/components/PollSuggestion/Skeleton.js +1 -1
  346. package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjects.js +1 -1
  347. package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjects.stories.js +1 -1
  348. package/lib/esm/components/RelatedFeedObjects/RelatedFeedObjectsSkeleton.stories.js +1 -1
  349. package/lib/esm/components/RelatedFeedObjects/Skeleton.js +1 -1
  350. package/lib/esm/components/Skeleton/AvatarGroupSkeleton.js +1 -1
  351. package/lib/esm/components/Skeleton/AvatarGroupSkeleton.stories.js +1 -1
  352. package/lib/esm/components/Skeleton/GenericSkeleton.js +1 -1
  353. package/lib/esm/components/Skeleton/GenericSkeleton.stories.js +1 -1
  354. package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -1
  355. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +1 -1
  356. package/lib/esm/components/SnippetNotifications/SnippetNotifications.stories.js +1 -1
  357. package/lib/esm/components/SnippetNotifications/SnippetNotificationsSkeleton.stories.js +1 -1
  358. package/lib/esm/components/Snippets/Skeleton.js +1 -1
  359. package/lib/esm/components/Snippets/Snippets.js +1 -1
  360. package/lib/esm/components/Snippets/Snippets.stories.js +1 -1
  361. package/lib/esm/components/Snippets/SnippetsSkeleton.stories.js +1 -1
  362. package/lib/esm/components/Thread/Skeleton.js +1 -1
  363. package/lib/esm/components/Thread/Thread.js +1 -1
  364. package/lib/esm/components/Thread/Thread.stories.js +1 -1
  365. package/lib/esm/components/Thread/ThreadSkeleton.stories.js +1 -1
  366. package/lib/esm/components/ToastNotifications/Skeleton.js +1 -1
  367. package/lib/esm/components/ToastNotifications/ToastNotifications.js +1 -1
  368. package/lib/esm/components/ToastNotifications/ToastNotifications.stories.js +1 -1
  369. package/lib/esm/components/ToastNotifications/ToastNotificationsSkeleton.stories.js +1 -1
  370. package/lib/esm/components/TrendingFeed/Skeleton.js +1 -1
  371. package/lib/esm/components/TrendingFeed/TrendingFeed.js +1 -1
  372. package/lib/esm/components/TrendingFeed/TrendingFeed.stories.js +1 -1
  373. package/lib/esm/components/TrendingFeed/TrendingFeedSkeleton.stories.js +1 -1
  374. package/lib/esm/components/TrendingPeople/Skeleton.js +1 -1
  375. package/lib/esm/components/TrendingPeople/TrendingPeople.js +1 -1
  376. package/lib/esm/components/TrendingPeople/TrendingPeople.stories.js +1 -1
  377. package/lib/esm/components/TrendingPeople/TrendingPeopleSkeleton.stories.js +1 -1
  378. package/lib/esm/components/User/Skeleton.js +1 -1
  379. package/lib/esm/components/User/User.js +1 -1
  380. package/lib/esm/components/User/User.stories.js +1 -1
  381. package/lib/esm/components/User/UserSkeleton.stories.js +1 -1
  382. package/lib/esm/components/UserFollowers/Skeleton.js +1 -1
  383. package/lib/esm/components/UserFollowers/UserFollowers.js +1 -1
  384. package/lib/esm/components/UserFollowers/UserFollowers.stories.js +1 -1
  385. package/lib/esm/components/UserFollowers/UserFollowersSkeleton.stories.js +1 -1
  386. package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  387. package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
  388. package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
  389. package/lib/esm/components/UserProfileEdit/UserProfileEdit.stories.js +1 -1
  390. package/lib/esm/components/UserProfileEdit/UserProfileEditSkeleton.stories.js +1 -1
  391. package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -1
  392. package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -1
  393. package/lib/esm/components/UserProfileHeader/UserProfileHeader.stories.js +1 -1
  394. package/lib/esm/components/UserProfileHeader/UserProfileHeaderSkeleton.stories.js +1 -1
  395. package/lib/esm/components/UserProfileInfo/Skeleton.js +1 -1
  396. package/lib/esm/components/UserProfileInfo/UserProfileInfo.js +1 -1
  397. package/lib/esm/components/UserProfileInfo/UserProfileInfo.stories.js +1 -1
  398. package/lib/esm/components/UserProfileInfo/UserProfileInfoSkeleton.stories.js +1 -1
  399. package/lib/esm/components/UsersFollowed/Skeleton.js +1 -1
  400. package/lib/esm/components/UsersFollowed/UsersFollowed.js +4 -19
  401. package/lib/esm/components/UsersFollowed/UsersFollowed.stories.js +1 -1
  402. package/lib/esm/components/UsersFollowed/UsersFollowedSkeleton.stories.js +1 -1
  403. package/lib/esm/components/Widget/index.js +1 -1
  404. package/lib/esm/react-core/src/components/provider/SCUserProvider/index.d.ts.map +1 -1
  405. package/lib/esm/react-core/src/hooks/useSCFetchAddressingTagList.d.ts +14 -0
  406. package/lib/esm/react-core/src/hooks/useSCFetchAddressingTagList.d.ts.map +1 -0
  407. package/lib/esm/react-core/src/hooks/useSCFollowedCategoriesManager.d.ts +1 -1
  408. package/lib/esm/react-core/src/hooks/useSCFollowedCategoriesManager.d.ts.map +1 -1
  409. package/lib/esm/react-core/src/index.d.ts +2 -1
  410. package/lib/esm/react-core/src/index.d.ts.map +1 -1
  411. package/lib/esm/react-i18n/src/index.d.ts +4 -0
  412. package/lib/esm/react-i18n/src/index.d.ts.map +1 -1
  413. package/lib/esm/react-ui/src/components/AccountRecover/AccountRecover.d.ts +1 -1
  414. package/lib/esm/react-ui/src/components/AccountSignIn/AccountSignIn.d.ts +1 -1
  415. package/lib/esm/react-ui/src/components/AccountSignUp/AccountSignUp.d.ts +1 -1
  416. package/lib/esm/react-ui/src/components/BroadcastMessages/BroadcastMessages.d.ts +1 -1
  417. package/lib/esm/react-ui/src/components/BroadcastMessages/Message.d.ts.map +1 -1
  418. package/lib/esm/react-ui/src/components/BroadcastMessages/Skeleton.d.ts +2 -2
  419. package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts +1 -1
  420. package/lib/esm/react-ui/src/components/CategoriesFollowed/CategoriesFollowed.d.ts.map +1 -1
  421. package/lib/esm/react-ui/src/components/CategoriesFollowed/Skeleton.d.ts +1 -1
  422. package/lib/esm/react-ui/src/components/CategoriesPopular/CategoriesPopular.d.ts +1 -1
  423. package/lib/esm/react-ui/src/components/CategoriesPopular/Skeleton.d.ts +1 -1
  424. package/lib/esm/react-ui/src/components/CategoriesSuggestion/CategoriesSuggestion.d.ts +1 -1
  425. package/lib/esm/react-ui/src/components/CategoriesSuggestion/CategoriesSuggestion.d.ts.map +1 -1
  426. package/lib/esm/react-ui/src/components/CategoriesSuggestion/Skeleton.d.ts +1 -1
  427. package/lib/esm/react-ui/src/components/Category/Category.d.ts +1 -1
  428. package/lib/esm/react-ui/src/components/Category/Skeleton.d.ts +1 -1
  429. package/lib/esm/react-ui/src/components/CategoryHeader/CategoryHeader.d.ts +1 -1
  430. package/lib/esm/react-ui/src/components/CategoryHeader/Skeleton.d.ts +1 -1
  431. package/lib/esm/react-ui/src/components/ChangeCover/ChangeCover.d.ts +1 -1
  432. package/lib/esm/react-ui/src/components/ChangePicture/ChangePicture.d.ts +1 -1
  433. package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts +6 -1
  434. package/lib/esm/react-ui/src/components/CommentObject/CommentObject.d.ts.map +1 -1
  435. package/lib/esm/react-ui/src/components/CommentObject/Skeleton.d.ts +1 -1
  436. package/lib/esm/react-ui/src/components/CommentsFeedObject/CommentsFeedObject.d.ts +1 -1
  437. package/lib/esm/react-ui/src/components/CommentsObject/CommentsObject.d.ts +1 -1
  438. package/lib/esm/react-ui/src/components/CommentsObject/Skeleton.d.ts +1 -1
  439. package/lib/esm/react-ui/src/components/Composer/Audience/Audience.d.ts +5 -0
  440. package/lib/esm/react-ui/src/components/Composer/Audience/Audience.d.ts.map +1 -1
  441. package/lib/esm/react-ui/src/components/Composer/Composer.d.ts +1 -1
  442. package/lib/esm/react-ui/src/components/Composer/Composer.d.ts.map +1 -1
  443. package/lib/esm/react-ui/src/components/Composer/Poll/Poll.d.ts.map +1 -1
  444. package/lib/esm/react-ui/src/components/Composer/Skeleton.d.ts +1 -1
  445. package/lib/esm/react-ui/src/components/ConnectionUserButton/ConnectionUserButton.d.ts +1 -1
  446. package/lib/esm/react-ui/src/components/CustomAdv/CustomAdv.d.ts +1 -1
  447. package/lib/esm/react-ui/src/components/CustomAdv/Skeleton.d.ts +1 -1
  448. package/lib/esm/react-ui/src/components/Editor/Editor.d.ts.map +1 -1
  449. package/lib/esm/react-ui/src/components/Editor/Skeleton.d.ts +1 -1
  450. package/lib/esm/react-ui/src/components/Editor/plugins/ImagePlugin.d.ts.map +1 -1
  451. package/lib/esm/react-ui/src/components/Feed/Feed.d.ts +5 -0
  452. package/lib/esm/react-ui/src/components/Feed/Feed.d.ts.map +1 -1
  453. package/lib/esm/react-ui/src/components/Feed/Skeleton.d.ts +1 -1
  454. package/lib/esm/react-ui/src/components/FeedObject/Actions/Share/Share.d.ts.map +1 -1
  455. package/lib/esm/react-ui/src/components/FeedObject/FeedObject.d.ts +1 -1
  456. package/lib/esm/react-ui/src/components/FeedObject/FeedObject.d.ts.map +1 -1
  457. package/lib/esm/react-ui/src/components/FeedObject/Skeleton.d.ts +1 -1
  458. package/lib/esm/react-ui/src/components/FeedUpdates/FeedUpdates.d.ts +1 -1
  459. package/lib/esm/react-ui/src/components/FeedUpdates/Skeleton.d.ts +1 -1
  460. package/lib/esm/react-ui/src/components/FollowCategoryButton/FollowCategoryButton.d.ts +1 -1
  461. package/lib/esm/react-ui/src/components/FollowUserButton/FollowUserButton.d.ts +1 -1
  462. package/lib/esm/react-ui/src/components/Footer/Footer.d.ts +1 -1
  463. package/lib/esm/react-ui/src/components/Footer/Skeleton.d.ts +1 -1
  464. package/lib/esm/react-ui/src/components/FriendshipUserButton/FriendshipUserButton.d.ts +1 -1
  465. package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts +1 -1
  466. package/lib/esm/react-ui/src/components/Incubator/Incubator.d.ts.map +1 -1
  467. package/lib/esm/react-ui/src/components/Incubator/Skeleton.d.ts +1 -1
  468. package/lib/esm/react-ui/src/components/Incubator/SubscribeButton/SubscribeButton.d.ts +1 -1
  469. package/lib/esm/react-ui/src/components/IncubatorDetail/IncubatorDetail.d.ts +1 -1
  470. package/lib/esm/react-ui/src/components/IncubatorSuggestion/IncubatorSuggestion.d.ts +1 -1
  471. package/lib/esm/react-ui/src/components/IncubatorSuggestion/Skeleton.d.ts +1 -1
  472. package/lib/esm/react-ui/src/components/IncubatorsList/IncubatorsList.d.ts +1 -1
  473. package/lib/esm/react-ui/src/components/IncubatorsList/Skeleton.d.ts +1 -1
  474. package/lib/esm/react-ui/src/components/InlineComposer/InlineComposer.d.ts +1 -1
  475. package/lib/esm/react-ui/src/components/InlineComposer/Skeleton.d.ts +1 -1
  476. package/lib/esm/react-ui/src/components/LoyaltyProgram/LoyaltyProgram.d.ts +1 -1
  477. package/lib/esm/react-ui/src/components/LoyaltyProgram/Skeleton.d.ts +1 -1
  478. package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/LoyaltyProgramDetail.d.ts.map +1 -1
  479. package/lib/esm/react-ui/src/components/LoyaltyProgramDetail/Skeleton.d.ts +1 -1
  480. package/lib/esm/react-ui/src/components/Message/Message.d.ts +1 -1
  481. package/lib/esm/react-ui/src/components/Message/Skeleton.d.ts +1 -1
  482. package/lib/esm/react-ui/src/components/MessageEditor/MessageEditor.d.ts +1 -1
  483. package/lib/esm/react-ui/src/components/MessageEditor/Skeleton.d.ts +1 -1
  484. package/lib/esm/react-ui/src/components/Notification/ContributionFollow/ContributionFollow.d.ts.map +1 -1
  485. package/lib/esm/react-ui/src/components/Notification/Notification.d.ts +1 -1
  486. package/lib/esm/react-ui/src/components/Notification/PrivateMessage/PrivateMessage.d.ts.map +1 -1
  487. package/lib/esm/react-ui/src/components/Notification/Skeleton.d.ts +1 -1
  488. package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts +1 -1
  489. package/lib/esm/react-ui/src/components/PeopleSuggestion/PeopleSuggestion.d.ts.map +1 -1
  490. package/lib/esm/react-ui/src/components/PeopleSuggestion/Skeleton.d.ts +1 -1
  491. package/lib/esm/react-ui/src/components/Platform/Platform.d.ts +1 -1
  492. package/lib/esm/react-ui/src/components/Platform/Skeleton.d.ts +1 -1
  493. package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/PollSnippet.d.ts +1 -1
  494. package/lib/esm/react-ui/src/components/PollSuggestion/PollSnippet/Skeleton.d.ts +1 -1
  495. package/lib/esm/react-ui/src/components/PollSuggestion/PollSuggestion.d.ts +1 -1
  496. package/lib/esm/react-ui/src/components/PollSuggestion/Skeleton.d.ts +1 -1
  497. package/lib/esm/react-ui/src/components/RelatedFeedObjects/RelatedFeedObjects.d.ts +1 -1
  498. package/lib/esm/react-ui/src/components/RelatedFeedObjects/Skeleton.d.ts +1 -1
  499. package/lib/esm/react-ui/src/components/Skeleton/AvatarGroupSkeleton.d.ts +1 -1
  500. package/lib/esm/react-ui/src/components/Skeleton/GenericSkeleton.d.ts +1 -1
  501. package/lib/esm/react-ui/src/components/SnippetNotifications/Skeleton.d.ts +1 -1
  502. package/lib/esm/react-ui/src/components/SnippetNotifications/SnippetNotifications.d.ts +1 -1
  503. package/lib/esm/react-ui/src/components/Snippets/Skeleton.d.ts +1 -1
  504. package/lib/esm/react-ui/src/components/Snippets/Snippets.d.ts +1 -1
  505. package/lib/esm/react-ui/src/components/Thread/Skeleton.d.ts +1 -1
  506. package/lib/esm/react-ui/src/components/Thread/Thread.d.ts +1 -1
  507. package/lib/esm/react-ui/src/components/ToastNotifications/Skeleton.d.ts +1 -1
  508. package/lib/esm/react-ui/src/components/ToastNotifications/ToastNotifications.d.ts +1 -1
  509. package/lib/esm/react-ui/src/components/TrendingFeed/Skeleton.d.ts +1 -1
  510. package/lib/esm/react-ui/src/components/TrendingFeed/TrendingFeed.d.ts +1 -1
  511. package/lib/esm/react-ui/src/components/TrendingPeople/Skeleton.d.ts +1 -1
  512. package/lib/esm/react-ui/src/components/TrendingPeople/TrendingPeople.d.ts +1 -1
  513. package/lib/esm/react-ui/src/components/User/Skeleton.d.ts +1 -1
  514. package/lib/esm/react-ui/src/components/User/User.d.ts +1 -1
  515. package/lib/esm/react-ui/src/components/UserFollowers/Skeleton.d.ts +1 -1
  516. package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts +1 -1
  517. package/lib/esm/react-ui/src/components/UserFollowers/UserFollowers.d.ts.map +1 -1
  518. package/lib/esm/react-ui/src/components/UserProfileEdit/Section/SettingsSkeleton.d.ts +1 -1
  519. package/lib/esm/react-ui/src/components/UserProfileEdit/Skeleton.d.ts +1 -1
  520. package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts +1 -1
  521. package/lib/esm/react-ui/src/components/UserProfileEdit/UserProfileEdit.d.ts.map +1 -1
  522. package/lib/esm/react-ui/src/components/UserProfileHeader/Skeleton.d.ts +1 -1
  523. package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts +1 -1
  524. package/lib/esm/react-ui/src/components/UserProfileHeader/UserProfileHeader.d.ts.map +1 -1
  525. package/lib/esm/react-ui/src/components/UserProfileInfo/Skeleton.d.ts +1 -1
  526. package/lib/esm/react-ui/src/components/UserProfileInfo/UserProfileInfo.d.ts +1 -1
  527. package/lib/esm/react-ui/src/components/UsersFollowed/Skeleton.d.ts +1 -1
  528. package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts +1 -1
  529. package/lib/esm/react-ui/src/components/UsersFollowed/UsersFollowed.d.ts.map +1 -1
  530. package/lib/esm/react-ui/src/components/Widget/index.d.ts +1 -1
  531. package/lib/esm/react-ui/src/shared/AutoPlayer/index.d.ts.map +1 -1
  532. package/lib/esm/react-ui/src/shared/BaseItem/BaseItem.d.ts +1 -1
  533. package/lib/esm/react-ui/src/shared/BaseItemButton/BaseItemButton.d.ts +1 -1
  534. package/lib/esm/react-ui/src/shared/DateTimeAgo/index.d.ts.map +1 -1
  535. package/lib/esm/react-ui/src/shared/Media/Video/PreviewComponent.d.ts.map +1 -1
  536. package/lib/esm/react-ui/src/shared/NotificationItem/NotificationItem.d.ts +1 -1
  537. package/lib/esm/shared/AutoPlayer/index.js +8 -1
  538. package/lib/esm/shared/BaseItem/BaseItem.js +1 -1
  539. package/lib/esm/shared/BaseItem/BaseItem.stories.js +1 -1
  540. package/lib/esm/shared/BaseItemButton/BaseItemButton.js +1 -1
  541. package/lib/esm/shared/BaseItemButton/BaseItemButton.stories.js +1 -1
  542. package/lib/esm/shared/Bullet/BaseItem.stories.js +1 -1
  543. package/lib/esm/shared/CentralProgress/CentralProgress.stories.js +1 -1
  544. package/lib/esm/shared/ContributionActionsMenu/ContributionActionsMenu.stories.js +1 -1
  545. package/lib/esm/shared/DateTimeAgo/DateTimeAgo.stories.js +1 -1
  546. package/lib/esm/shared/DateTimeAgo/index.js +20 -11
  547. package/lib/esm/shared/Media/Link/PreviewComponent.js +2 -1
  548. package/lib/esm/shared/Media/Share/PreviewComponent.js +2 -1
  549. package/lib/esm/shared/Media/Video/PreviewComponent.js +2 -8
  550. package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -1
  551. package/lib/esm/shared/NotificationItem/NotificationItem.stories.js +1 -1
  552. package/lib/esm/shared/ScrollContainer/ScrollContainer.stories.js +1 -1
  553. package/lib/esm/shared/TagChip/TagChip.stories.js +1 -1
  554. package/lib/esm/shared/Tags/Tags.stories.js +1 -1
  555. package/lib/esm/types/src/types/user.d.ts +4 -0
  556. package/lib/esm/types/src/types/user.d.ts.map +1 -1
  557. package/lib/esm/utils/hash.js +1 -1
  558. package/lib/umd/react-ui.js +21 -21
  559. package/lib/umd/react-ui.js.LICENSE.txt +4 -0
  560. package/lib/umd/react-ui.js.map +1 -1
  561. package/package.json +8 -7
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/User',
14
+ title: 'Design System/React UI/User',
15
15
  component: _index.default,
16
16
  argTypes: {
17
17
  userId: {
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/Skeleton/User',
14
+ title: 'Design System/React UI/Skeleton/User',
15
15
  component: _Skeleton.default // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
16
 
17
17
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_TrendingPeople.TrendingPeopleSkeleton, {
25
25
  theme
26
26
  }) => ({}));
27
27
  /**
28
- * > API documentation for the Community-UI User Followers Skeleton component. Learn about the available props and the CSS API.
28
+ * > API documentation for the Community-JS User Followers Skeleton component. Learn about the available props and the CSS API.
29
29
 
30
30
  #### Import
31
31
 
@@ -75,7 +75,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
75
75
  }));
76
76
 
77
77
  /**
78
- * > API documentation for the Community-UI User Followers component. Learn about the available props and the CSS API.
78
+ * > API documentation for the Community-JS User Followers component. Learn about the available props and the CSS API.
79
79
 
80
80
  #### Import
81
81
 
@@ -10,7 +10,7 @@ var _index = _interopRequireDefault(require("./index"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SC UI/UserFollowers',
13
+ title: 'Design System/React UI/UserFollowers',
14
14
  component: _index.default,
15
15
  argTypes: {
16
16
  userId: {
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/Skeleton/UserFollowers',
14
+ title: 'Design System/React UI/Skeleton/UserFollowers',
15
15
  component: _Skeleton.default // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
16
 
17
17
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
23
23
  overridesResolver: (props, styles) => styles.root
24
24
  })(() => ({}));
25
25
  /**
26
- * > API documentation for the Community-UI Settings Skeleton component. Learn about the available props and the CSS API.
26
+ * > API documentation for the Community-JS Settings Skeleton component. Learn about the available props and the CSS API.
27
27
 
28
28
  #### Import
29
29
 
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
23
23
  overridesResolver: (props, styles) => styles.root
24
24
  })(() => ({}));
25
25
  /**
26
- * > API documentation for the Community-UI User Profile Edit Skeleton component. Learn about the available props and the CSS API.
26
+ * > API documentation for the Community-JS User Profile Edit Skeleton component. Learn about the available props and the CSS API.
27
27
 
28
28
  #### Import
29
29
 
@@ -82,7 +82,7 @@ const Root = (0, _styles.styled)(_material.Box, {
82
82
 
83
83
  /**
84
84
  *
85
- > API documentation for the Community-UI User Profile Edit component. Learn about the available props and the CSS API.
85
+ > API documentation for the Community-JS User Profile Edit component. Learn about the available props and the CSS API.
86
86
 
87
87
  #### Import
88
88
 
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
 
14
14
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
15
15
  var _default = {
16
- title: 'Design System/SC UI/User Profile Edit',
16
+ title: 'Design System/React UI/User Profile Edit',
17
17
  component: _index.default,
18
18
  argTypes: {
19
19
  userId: {
@@ -10,7 +10,7 @@ var _Skeleton = _interopRequireDefault(require("./Skeleton"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SC UI/Skeleton/User Profile Edit',
13
+ title: 'Design System/React UI/Skeleton/User Profile Edit',
14
14
  component: _Skeleton.default,
15
15
  argTypes: {},
16
16
  args: {}
@@ -40,7 +40,7 @@ const Root = (0, _styles.styled)(_material.Box, {
40
40
  }
41
41
  }));
42
42
  /**
43
- * > API documentation for the Community-UI User Profile Header Skeleton component. Learn about the available props and the CSS API.
43
+ * > API documentation for the Community-JS User Profile Header Skeleton component. Learn about the available props and the CSS API.
44
44
 
45
45
  #### Import
46
46
 
@@ -82,7 +82,7 @@ const Root = (0, _styles.styled)(_material.Box, {
82
82
  }));
83
83
 
84
84
  /**
85
- * > API documentation for the Community-UI User Profile Header component. Learn about the available props and the CSS API.
85
+ * > API documentation for the Community-JS User Profile Header component. Learn about the available props and the CSS API.
86
86
 
87
87
  #### Import
88
88
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/User Profile Header ',
14
+ title: 'Design System/React UI/User Profile Header ',
15
15
  component: _index.default,
16
16
  argTypes: {
17
17
  userId: {
@@ -10,7 +10,7 @@ var _Skeleton = _interopRequireDefault(require("./Skeleton"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SC UI/Skeleton/User Profile Header',
13
+ title: 'Design System/React UI/Skeleton/User Profile Header',
14
14
  component: _Skeleton.default,
15
15
  argTypes: {},
16
16
  args: {}
@@ -23,7 +23,7 @@ const Root = (0, _styles.styled)(_material.Box, {
23
23
  overridesResolver: (props, styles) => styles.root
24
24
  })(() => ({}));
25
25
  /**
26
- * > API documentation for the Community-UI User Profile Info Skeleton component. Learn about the available props and the CSS API.
26
+ * > API documentation for the Community-JS User Profile Info Skeleton component. Learn about the available props and the CSS API.
27
27
 
28
28
  #### Import
29
29
 
@@ -85,7 +85,7 @@ const Root = (0, _styles.styled)(_material.Box, {
85
85
 
86
86
  /**
87
87
  *
88
- > API documentation for the Community-UI User Profile Info component. Learn about the available props and the CSS API.
88
+ > API documentation for the Community-JS User Profile Info component. Learn about the available props and the CSS API.
89
89
 
90
90
  #### Import
91
91
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/UserProfileInfo ',
14
+ title: 'Design System/React UI/UserProfileInfo ',
15
15
  component: _index.default,
16
16
  argTypes: {
17
17
  userId: {
@@ -10,7 +10,7 @@ var _Skeleton = _interopRequireDefault(require("./Skeleton"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SC UI/Skeleton/User Profile Info',
13
+ title: 'Design System/React UI/Skeleton/User Profile Info',
14
14
  component: _Skeleton.default,
15
15
  argTypes: {},
16
16
  args: {}
@@ -25,7 +25,7 @@ const Root = (0, _styles.styled)(_TrendingPeople.TrendingPeopleSkeleton, {
25
25
  theme
26
26
  }) => ({}));
27
27
  /**
28
- * > API documentation for the Community-UI User Followers Skeleton component. Learn about the available props and the CSS API.
28
+ * > API documentation for the Community-JS User Followers Skeleton component. Learn about the available props and the CSS API.
29
29
 
30
30
  #### Import
31
31
 
@@ -75,7 +75,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
75
75
  }));
76
76
 
77
77
  /**
78
- * > API documentation for the Community-UI Users Followed component. Learn about the available props and the CSS API.
78
+ * > API documentation for the Community-JS Users Followed component. Learn about the available props and the CSS API.
79
79
 
80
80
  #### Import
81
81
 
@@ -123,7 +123,6 @@ function UsersFollowed(inProps) {
123
123
  } = props; // STATE
124
124
 
125
125
  const [followed, setFollowed] = (0, _react.useState)([]);
126
- const [visibleUsers, setVisibleUsers] = (0, _react.useState)(limit);
127
126
  const [loading, setLoading] = (0, _react.useState)(true);
128
127
  const [hasMore, setHasMore] = (0, _react.useState)(false);
129
128
  const [total, setTotal] = (0, _react.useState)(0);
@@ -139,10 +138,7 @@ function UsersFollowed(inProps) {
139
138
  if (scUserContext.user['id'] === userId) {
140
139
  setFollowed(followed.filter(u => u.id !== user.id));
141
140
  setTotal(prev => prev - 1);
142
-
143
- if (visibleUsers < limit && total > 1) {
144
- loadUsers(1);
145
- }
141
+ setHasMore(total - 1 > limit);
146
142
  } else {
147
143
  const newUsers = [...followed];
148
144
  const index = newUsers.findIndex(u => u.id === user.id);
@@ -173,7 +169,7 @@ function UsersFollowed(inProps) {
173
169
  }).then(res => {
174
170
  const data = res.data;
175
171
  setFollowed([...followed, ...data.results]);
176
- setHasMore(data.count > visibleUsers);
172
+ setHasMore(data.count > limit);
177
173
  setNext(data['next']);
178
174
  setLoading(false);
179
175
  setTotal(data.count);
@@ -184,17 +180,6 @@ function UsersFollowed(inProps) {
184
180
  });
185
181
  }
186
182
  }
187
- /**
188
- * Loads more users when followed list changes
189
- */
190
-
191
-
192
- function loadUsers(n) {
193
- const newIndex = visibleUsers + n;
194
- const newHasMore = newIndex < followed.length - 1;
195
- setVisibleUsers(newIndex);
196
- setHasMore(newHasMore);
197
- }
198
183
  /**
199
184
  * On mount, fetches the list of users followed
200
185
  */
@@ -221,7 +206,7 @@ function UsersFollowed(inProps) {
221
206
  })}`), !total ? /*#__PURE__*/_react.default.createElement(_material.Typography, {
222
207
  className: classes.noResults,
223
208
  variant: "body2"
224
- }, `${intl.formatMessage(messages.noUsers)}`) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_List.default, null, followed.slice(0, visibleUsers).map(user => /*#__PURE__*/_react.default.createElement(_material.ListItem, {
209
+ }, `${intl.formatMessage(messages.noUsers)}`) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_List.default, null, followed.slice(0, limit).map(user => /*#__PURE__*/_react.default.createElement(_material.ListItem, {
225
210
  key: user.id
226
211
  }, /*#__PURE__*/_react.default.createElement(_User.default, _extends({
227
212
  elevation: 0,
@@ -10,7 +10,7 @@ var _index = _interopRequireDefault(require("./index"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SC UI/UsersFollowed',
13
+ title: 'Design System/React UI/UsersFollowed',
14
14
  component: _index.default,
15
15
  argTypes: {
16
16
  userId: {
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/Skeleton/UsersFollowed',
14
+ title: 'Design System/React UI/Skeleton/UsersFollowed',
15
15
  component: _Skeleton.default // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
16
 
17
17
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
@@ -35,7 +35,7 @@ const Root = (0, _styles.styled)(_material.Card, {
35
35
  theme
36
36
  }) => ({}));
37
37
  /**
38
- * > API documentation for the Community-UI Widget component. Learn about the available props and the CSS API.
38
+ * > API documentation for the Community-JS Widget component. Learn about the available props and the CSS API.
39
39
 
40
40
  #### Import
41
41
 
@@ -85,7 +85,6 @@ function AutoPlayer(props) {
85
85
  }
86
86
  }
87
87
  },
88
- enableAutoplay: enableAutoplay,
89
88
  loop: loop,
90
89
  controls: controls,
91
90
  stopOnUnmount: stopOnUnmount,
@@ -94,6 +93,14 @@ function AutoPlayer(props) {
94
93
  muted: muted,
95
94
  onProgress: progress => {
96
95
  setPlayed(progress.playedSeconds);
96
+ },
97
+ config: {
98
+ vimeo: {
99
+ playerOptions: {
100
+ autopause: true
101
+ },
102
+ preload: true
103
+ }
97
104
  }
98
105
  }, rest))));
99
106
  }
@@ -90,7 +90,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
90
90
  }));
91
91
 
92
92
  /**
93
- * > API documentation for the Community-UI BaseItem component. Learn about the available props and the CSS API.
93
+ * > API documentation for the Community-JS BaseItem component. Learn about the available props and the CSS API.
94
94
 
95
95
  #### Import
96
96
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/BaseItem',
14
+ title: 'Design System/React UI Shared/BaseItem',
15
15
  component: _index.default
16
16
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
17
17
 
@@ -94,7 +94,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
94
94
  }));
95
95
 
96
96
  /**
97
- * > API documentation for the Community-UI BaseItemButton component. Learn about the available props and the CSS API.
97
+ * > API documentation for the Community-JS BaseItemButton component. Learn about the available props and the CSS API.
98
98
 
99
99
  #### Import
100
100
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/BaseItemButton',
14
+ title: 'Design System/React UI Shared/BaseItemButton',
15
15
  component: _index.default
16
16
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
17
17
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/Bullet',
14
+ title: 'Design System/React UI Shared/Bullet',
15
15
  component: _index.default
16
16
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
17
17
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/CentralProgress',
14
+ title: 'Design System/React UI Shared/CentralProgress',
15
15
  component: _index.default,
16
16
  argTypes: {
17
17
  size: {
@@ -12,7 +12,7 @@ var _types = require("@selfcommunity/types");
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
14
14
  var _default = {
15
- title: 'Design System/SHARED COMPONENT/ContributionActionsMenu',
15
+ title: 'Design System/React UI Shared/ContributionActionsMenu',
16
16
  component: _index.default,
17
17
  argTypes: {
18
18
  feedObjectId: {
@@ -10,7 +10,7 @@ var _index = _interopRequireDefault(require("./index"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SHARED COMPONENT/DateTimeAgo',
13
+ title: 'Design System/React UI Shared/DateTimeAgo',
14
14
  component: _index.default,
15
15
  argTypes: {
16
16
  date: {
@@ -3,9 +3,9 @@
3
3
  exports.__esModule = true;
4
4
  exports.default = DateTimeAgo;
5
5
 
6
- var _react = _interopRequireDefault(require("react"));
6
+ var _react = _interopRequireWildcard(require("react"));
7
7
 
8
- var _reactTimeago = _interopRequireDefault(require("react-timeago"));
8
+ var _reactCore = require("@selfcommunity/react-core");
9
9
 
10
10
  var _it = _interopRequireDefault(require("react-timeago/lib/language-strings/it"));
11
11
 
@@ -21,10 +21,16 @@ var _reactIntl = require("react-intl");
21
21
 
22
22
  var _classnames = _interopRequireDefault(require("classnames"));
23
23
 
24
- const _excluded = ["className", "live", "date", "showStartIcon"];
24
+ var _moment = _interopRequireDefault(require("moment"));
25
+
26
+ const _excluded = ["className", "date", "showStartIcon"];
25
27
 
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
29
 
30
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
+
32
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
+
28
34
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
35
 
30
36
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -56,12 +62,18 @@ function DateTimeAgo(props) {
56
62
  // PROPS
57
63
  const {
58
64
  className,
59
- live = true,
60
65
  date = null,
61
66
  showStartIcon = true
62
67
  } = props,
63
- rest = _objectWithoutPropertiesLoose(props, _excluded); // INTL
68
+ rest = _objectWithoutPropertiesLoose(props, _excluded); // CONTEXT
69
+
64
70
 
71
+ const scContext = (0, _reactCore.useSCContext)();
72
+ (0, _react.useEffect)(() => {
73
+ if (_moment.default.locale() !== scContext.settings.locale.default) {
74
+ _moment.default.locale(scContext.settings.locale.default);
75
+ }
76
+ }, [scContext.settings.locale.default]); // INTL
65
77
 
66
78
  const intl = (0, _reactIntl.useIntl)();
67
79
  /**
@@ -79,15 +91,12 @@ function DateTimeAgo(props) {
79
91
  day: 'numeric',
80
92
  hour: 'numeric',
81
93
  minute: 'numeric'
82
- })}`
94
+ })}`,
95
+ enterTouchDelay: 0
83
96
  }, /*#__PURE__*/_react.default.createElement(_material.Typography, {
84
97
  variant: 'body2',
85
98
  component: 'span'
86
- }, /*#__PURE__*/_react.default.createElement(_reactTimeago.default, {
87
- date: date,
88
- live: live,
89
- formatter: formatter
90
- }))));
99
+ }, (0, _moment.default)(date).fromNow())));
91
100
  }
92
101
 
93
102
  return null;
@@ -120,7 +120,8 @@ var _default = props => {
120
120
  height: 360,
121
121
  placeholder: /*#__PURE__*/_react.default.createElement(_CentralProgress.default, {
122
122
  size: 20
123
- })
123
+ }),
124
+ once: true
124
125
  }, /*#__PURE__*/_react.default.createElement(Root, null, adornment, medias.map((l, i) => {
125
126
  if (l.embed.metadata && l.embed.metadata.type === _Media.MEDIA_TYPE_VIDEO) {
126
127
  return /*#__PURE__*/_react.default.createElement(_AutoPlayer.default, {
@@ -43,7 +43,8 @@ var _default = ({
43
43
  height: 360,
44
44
  placeholder: /*#__PURE__*/_react.default.createElement(_CentralProgress.default, {
45
45
  size: 20
46
- })
46
+ }),
47
+ once: true
47
48
  }, /*#__PURE__*/_react.default.createElement(Root, null, _adornment, _medias.map(media => /*#__PURE__*/_react.default.createElement(_Box.default, {
48
49
  key: media.id,
49
50
  className: classes.sharePreview
@@ -42,13 +42,7 @@ var _default = props => {
42
42
  */
43
43
 
44
44
 
45
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, medias.length > 0 && /*#__PURE__*/_react.default.createElement(_reactLazyload.default, {
46
- height: 360,
47
- placeholder: /*#__PURE__*/_react.default.createElement(_CentralProgress.default, {
48
- size: 20
49
- }),
50
- once: true
51
- }, /*#__PURE__*/_react.default.createElement(Root, null, adornment, medias.map((v, i) => /*#__PURE__*/_react.default.createElement(_reactLazyload.default, {
45
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, medias.length > 0 && /*#__PURE__*/_react.default.createElement(Root, null, adornment, medias.map((v, i) => /*#__PURE__*/_react.default.createElement(_reactLazyload.default, {
52
46
  height: 360,
53
47
  placeholder: /*#__PURE__*/_react.default.createElement(_CentralProgress.default, {
54
48
  size: 20
@@ -59,7 +53,7 @@ var _default = props => {
59
53
  url: v.url,
60
54
  width: '100%',
61
55
  onVideoWatch: () => handleVideoClick(v)
62
- }))))));
56
+ })))));
63
57
  };
64
58
 
65
59
  exports.default = _default;
@@ -158,7 +158,7 @@ const Root = (0, _styles.styled)(_Widget.default, {
158
158
  }));
159
159
 
160
160
  /**
161
- * > API documentation for the Community-UI BaseItem component. Learn about the available props and the CSS API.
161
+ * > API documentation for the Community-JS BaseItem component. Learn about the available props and the CSS API.
162
162
 
163
163
  #### Import
164
164
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/NotificationItem',
14
+ title: 'Design System/React UI Shared/NotificationItem',
15
15
  component: _index.default
16
16
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
17
17
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SHARED COMPONENT/ScrollContainer',
14
+ title: 'Design System/React UI Shared/ScrollContainer',
15
15
  component: _index.default
16
16
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
17
17
 
@@ -10,7 +10,7 @@ var _index = _interopRequireDefault(require("./index"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
12
  var _default = {
13
- title: 'Design System/SHARED COMPONENT/TagChip',
13
+ title: 'Design System/React UI Shared/TagChip',
14
14
  component: _index.default,
15
15
  argTypes: {
16
16
  name: {
@@ -16,7 +16,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16
16
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
 
18
18
  var _default = {
19
- title: 'Design System/SHARED COMPONENT/Tags',
19
+ title: 'Design System/React UI Shared/Tags',
20
20
  component: _index.default,
21
21
  argTypes: {
22
22
  type: {
@@ -17,7 +17,7 @@ const md5 = (file, chunkSize, callback) => {
17
17
  fileReader = new FileReader();
18
18
 
19
19
  fileReader.onload = function (e) {
20
- console.log('read chunk nr', currentChunk + 1, 'of', chunks);
20
+ // console.log('read chunk nr', currentChunk + 1, 'of', chunks);
21
21
  spark.append(e.target.result); // Append array buffer
22
22
 
23
23
  currentChunk++;
@@ -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
 
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/Account Recover',
14
+ title: 'Design System/React UI/Account Recover',
15
15
  component: _index.default // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
16
 
17
17
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
@@ -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
@@ -11,7 +11,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
13
13
  var _default = {
14
- title: 'Design System/SC UI/Account Sign In',
14
+ title: 'Design System/React UI/Account Sign In',
15
15
  component: _index.default // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
16
 
17
17
  }; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args