@selfcommunity/react-ui 0.8.0-live.40 → 0.8.0-live.42

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 (567) hide show
  1. package/lib/cjs/components/AccountChangeMailValidation/AccountChangeMailValidation.js +1 -1
  2. package/lib/cjs/components/AccountDataPortability/AccountDataPortability.js +4 -4
  3. package/lib/cjs/components/AccountDataPortabilityButton/AccountDataPortabilityButton.js +1 -1
  4. package/lib/cjs/components/AccountDelete/AccountDelete.js +3 -3
  5. package/lib/cjs/components/AccountDeleteButton/AccountDeleteButton.js +1 -1
  6. package/lib/cjs/components/AccountRecover/AccountRecover.js +2 -2
  7. package/lib/cjs/components/AccountReset/AccountReset.js +1 -1
  8. package/lib/cjs/components/AccountVerify/AccountVerify.js +1 -1
  9. package/lib/cjs/components/BottomNavigation/BottomNavigation.js +2 -2
  10. package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +1 -1
  11. package/lib/cjs/components/BroadcastMessages/Message.js +4 -4
  12. package/lib/cjs/components/BroadcastMessages/Skeleton.js +1 -1
  13. package/lib/cjs/components/Categories/Categories.js +1 -1
  14. package/lib/cjs/components/Categories/Skeleton.js +1 -1
  15. package/lib/cjs/components/CategoriesPopularWidget/CategoriesPopularWidget.js +1 -1
  16. package/lib/cjs/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.js +1 -1
  17. package/lib/cjs/components/CategoriesSuggestionWidget/Skeleton.js +1 -1
  18. package/lib/cjs/components/Category/Category.js +1 -1
  19. package/lib/cjs/components/Category/Skeleton.js +1 -1
  20. package/lib/cjs/components/CategoryAutocomplete/CategoryAutocomplete.js +1 -1
  21. package/lib/cjs/components/CategoryFollowersButton/CategoryFollowersButton.js +1 -1
  22. package/lib/cjs/components/CategoryHeader/CategoryHeader.js +1 -1
  23. package/lib/cjs/components/CategoryHeader/Skeleton.js +1 -1
  24. package/lib/cjs/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +2 -2
  25. package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.js +1 -1
  26. package/lib/cjs/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +1 -1
  27. package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.js +1 -1
  28. package/lib/cjs/components/ChangeCover/ChangeCover.js +6 -6
  29. package/lib/cjs/components/ChangeGroupCover/ChangeGroupCover.js +1 -1
  30. package/lib/cjs/components/ChangeGroupPicture/ChangeGroupPicture.js +1 -1
  31. package/lib/cjs/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +2 -2
  32. package/lib/cjs/components/CommentObject/CommentObject.js +4 -4
  33. package/lib/cjs/components/CommentObjectReply/CommentObjectReply.js +1 -1
  34. package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +4 -4
  35. package/lib/cjs/components/CommentsObject/CommentsObject.js +6 -6
  36. package/lib/cjs/components/Composer/Attributes/Attributes.js +2 -2
  37. package/lib/cjs/components/Composer/Composer.js +4 -4
  38. package/lib/cjs/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +3 -3
  39. package/lib/cjs/components/Composer/Content/ContentPoll/ContentPoll.js +6 -6
  40. package/lib/cjs/components/Composer/Content/ContentPost/ContentPost.js +1 -1
  41. package/lib/cjs/components/Composer/Layer/AudienceLayer/AudienceLayer.js +5 -5
  42. package/lib/cjs/components/Composer/Layer/CategoryLayer/CategoryLayer.js +1 -1
  43. package/lib/cjs/components/Composer/Layer/CloseLayer/CloseLayer.js +1 -1
  44. package/lib/cjs/components/Composer/Layer/LocationLayer/LocationLayer.js +1 -1
  45. package/lib/cjs/components/Composer/Skeleton.js +1 -1
  46. package/lib/cjs/components/Composer/TypeSwitchButtonGroup/TypeSwitchButtonGroup.js +1 -1
  47. package/lib/cjs/components/ComposerIconButton/ComposerIconButton.js +2 -2
  48. package/lib/cjs/components/ConsentSolution/ConsentSolution.js +4 -4
  49. package/lib/cjs/components/ConsentSolution/Skeleton.js +1 -1
  50. package/lib/cjs/components/CreateEventButton/CreateEventButton.js +1 -1
  51. package/lib/cjs/components/CreateEventWidget/CreateEventWidget.js +1 -1
  52. package/lib/cjs/components/CreateEventWidget/Skeleton.js +1 -1
  53. package/lib/cjs/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +1 -4
  54. package/lib/cjs/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +17 -14
  55. package/lib/cjs/components/CreateLiveStreamDialog/types.js +2 -2
  56. package/lib/cjs/components/CustomAdv/CustomAdv.js +2 -2
  57. package/lib/cjs/components/Editor/Editor.js +1 -1
  58. package/lib/cjs/components/Editor/nodes/ImageNode.js +1 -1
  59. package/lib/cjs/components/Editor/plugins/EmojiPlugin.js +2 -2
  60. package/lib/cjs/components/Editor/plugins/FloatingLinkPlugin.js +4 -4
  61. package/lib/cjs/components/Editor/plugins/HashtagPlugin.js +3 -3
  62. package/lib/cjs/components/Editor/plugins/ImagePlugin.js +4 -4
  63. package/lib/cjs/components/Editor/plugins/MentionsPlugin.js +4 -4
  64. package/lib/cjs/components/Editor/plugins/ToolbarPlugin.js +5 -5
  65. package/lib/cjs/components/Editor/shared/useDecorators.js +1 -1
  66. package/lib/cjs/components/Event/Event.js +4 -4
  67. package/lib/cjs/components/Event/Skeleton.js +3 -3
  68. package/lib/cjs/components/EventAutocomplete/EventAutocomplete.js +1 -1
  69. package/lib/cjs/components/EventForm/EventAddress.js +2 -2
  70. package/lib/cjs/components/EventForm/EventForm.js +14 -14
  71. package/lib/cjs/components/EventForm/UploadEventCover.js +1 -1
  72. package/lib/cjs/components/EventHeader/EventHeader.js +2 -2
  73. package/lib/cjs/components/EventHeader/Skeleton.js +1 -1
  74. package/lib/cjs/components/EventInfoWidget/EventInfoWidget.js +1 -1
  75. package/lib/cjs/components/EventInfoWidget/Skeleton.js +1 -1
  76. package/lib/cjs/components/EventInviteButton/EventInviteButton.js +2 -2
  77. package/lib/cjs/components/EventLocationWidget/EventLocationWidget.js +3 -3
  78. package/lib/cjs/components/EventLocationWidget/Skeleton.js +1 -1
  79. package/lib/cjs/components/EventMediaWidget/EventMediaWidget.js +4 -4
  80. package/lib/cjs/components/EventMediaWidget/Skeleton.js +1 -1
  81. package/lib/cjs/components/EventMediaWidget/TriggerButton.js +3 -3
  82. package/lib/cjs/components/EventMembersWidget/EventMembersWidget.js +3 -3
  83. package/lib/cjs/components/EventMembersWidget/Skeleton.js +1 -1
  84. package/lib/cjs/components/EventMembersWidget/TabContentComponent.js +3 -3
  85. package/lib/cjs/components/EventMembersWidget/types.js +1 -1
  86. package/lib/cjs/components/EventParticipantsButton/EventParticipantsButton.js +1 -1
  87. package/lib/cjs/components/EventSubscribeButton/EventSubscribeButton.js +2 -2
  88. package/lib/cjs/components/Events/Events.js +6 -6
  89. package/lib/cjs/components/Events/LocationEventsFilter.js +1 -1
  90. package/lib/cjs/components/Events/Skeleton.js +1 -1
  91. package/lib/cjs/components/Feed/Feed.js +4 -4
  92. package/lib/cjs/components/Feed/Skeleton.js +1 -1
  93. package/lib/cjs/components/FeedObject/Actions/Actions.js +1 -1
  94. package/lib/cjs/components/FeedObject/Actions/Comment/Comment.js +3 -3
  95. package/lib/cjs/components/FeedObject/Actions/Follow/Follow.js +1 -1
  96. package/lib/cjs/components/FeedObject/Actions/Share/Share.js +5 -5
  97. package/lib/cjs/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +1 -1
  98. package/lib/cjs/components/FeedObject/Activities/Activities.js +1 -1
  99. package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +4 -4
  100. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +3 -3
  101. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +2 -2
  102. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +2 -2
  103. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +1 -1
  104. package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +2 -2
  105. package/lib/cjs/components/FeedObject/Contributors/Contributors.js +1 -1
  106. package/lib/cjs/components/FeedObject/Contributors/Skeleton.js +1 -1
  107. package/lib/cjs/components/FeedObject/FeedObject.js +11 -11
  108. package/lib/cjs/components/FeedObject/Poll/Choice/Choice.js +2 -2
  109. package/lib/cjs/components/FeedObject/Poll/Poll.js +1 -1
  110. package/lib/cjs/components/FeedUpdatesWidget/FeedUpdatesWidget.js +1 -1
  111. package/lib/cjs/components/Footer/Footer.js +1 -1
  112. package/lib/cjs/components/Group/Group.js +2 -2
  113. package/lib/cjs/components/Group/Skeleton.js +1 -1
  114. package/lib/cjs/components/GroupActionsMenu/index.js +4 -4
  115. package/lib/cjs/components/GroupAutocomplete/GroupAutocomplete.js +1 -1
  116. package/lib/cjs/components/GroupForm/GroupForm.js +9 -9
  117. package/lib/cjs/components/GroupHeader/GroupHeader.js +2 -2
  118. package/lib/cjs/components/GroupHeader/Skeleton.js +1 -1
  119. package/lib/cjs/components/GroupInfoWidget/GroupInfoWidget.js +6 -6
  120. package/lib/cjs/components/GroupInviteButton/GroupInviteButton.js +2 -2
  121. package/lib/cjs/components/GroupInvitedWidget/GroupInvitedWidget.js +1 -1
  122. package/lib/cjs/components/GroupMembersButton/GroupMembersButton.js +1 -1
  123. package/lib/cjs/components/GroupMembersWidget/GroupMembersWidget.js +5 -5
  124. package/lib/cjs/components/GroupRequestsWidget/GroupRequestsWidget.js +1 -1
  125. package/lib/cjs/components/GroupSettingsIconButton/GroupSettingsIconButton.js +5 -5
  126. package/lib/cjs/components/Groups/Groups.js +3 -3
  127. package/lib/cjs/components/Groups/Skeleton.js +1 -1
  128. package/lib/cjs/components/Incubator/Incubator.js +4 -4
  129. package/lib/cjs/components/Incubator/Skeleton.js +1 -1
  130. package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +2 -2
  131. package/lib/cjs/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +2 -2
  132. package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.js +2 -2
  133. package/lib/cjs/components/IncubatorListWidget/Skeleton.js +1 -1
  134. package/lib/cjs/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +1 -1
  135. package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.js +1 -1
  136. package/lib/cjs/components/InlineComposerWidget/InlineComposerWidget.js +1 -1
  137. package/lib/cjs/components/InlineComposerWidget/Skeleton.js +1 -1
  138. package/lib/cjs/components/LiveStreamForm/LiveStreamForm.js +32 -10
  139. package/lib/cjs/components/LiveStreamForm/types.d.ts +3 -2
  140. package/lib/cjs/components/LiveStreamRoom/LiveStreamRoom.d.ts +7 -6
  141. package/lib/cjs/components/LiveStreamRoom/LiveStreamRoom.js +13 -8
  142. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +3 -1
  143. package/lib/cjs/components/LocationAutocomplete/LocationAutocomplete.js +1 -1
  144. package/lib/cjs/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +1 -1
  145. package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.js +1 -1
  146. package/lib/cjs/components/MyEventsWidget/MyEventsWidget.js +1 -1
  147. package/lib/cjs/components/MyEventsWidget/Skeleton.js +1 -1
  148. package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -1
  149. package/lib/cjs/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -1
  150. package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuDrawer.js +19 -1
  151. package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -1
  152. package/lib/cjs/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +29 -29
  153. package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +7 -7
  154. package/lib/cjs/components/NavigationToolbar/NotificationMenu.js +1 -1
  155. package/lib/cjs/components/NavigationToolbar/Skeleton.js +1 -1
  156. package/lib/cjs/components/NavigationToolbarMobile/NavigationToolbarMobile.js +4 -4
  157. package/lib/cjs/components/NavigationToolbarMobile/Skeleton.js +1 -1
  158. package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +1 -1
  159. package/lib/cjs/components/Notification/Comment/Comment.js +3 -3
  160. package/lib/cjs/components/Notification/Contribution/Contribution.js +3 -3
  161. package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +2 -2
  162. package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +1 -1
  163. package/lib/cjs/components/Notification/Event/Event.js +9 -9
  164. package/lib/cjs/components/Notification/Group/Group.js +8 -8
  165. package/lib/cjs/components/Notification/IncubatorApproved/IncubatorApproved.js +3 -3
  166. package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +1 -1
  167. package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +2 -2
  168. package/lib/cjs/components/Notification/Mention/Mention.js +3 -3
  169. package/lib/cjs/components/Notification/Notification.js +8 -8
  170. package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +10 -10
  171. package/lib/cjs/components/Notification/Skeleton.js +1 -1
  172. package/lib/cjs/components/Notification/UndeletedFor/UndeletedFor.js +1 -1
  173. package/lib/cjs/components/Notification/UserBlocked/UserBlocked.js +3 -3
  174. package/lib/cjs/components/Notification/UserConnection/UserConnection.js +2 -2
  175. package/lib/cjs/components/Notification/UserFollow/UserFollow.js +2 -2
  176. package/lib/cjs/components/Notification/VoteUp/VoteUp.js +2 -2
  177. package/lib/cjs/components/OnBoardingWidget/ActionsButton.js +5 -5
  178. package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.js +7 -7
  179. package/lib/cjs/components/OnBoardingWidget/Skeleton.js +1 -1
  180. package/lib/cjs/components/OnBoardingWidget/Steps/App/App.js +9 -9
  181. package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.js +4 -4
  182. package/lib/cjs/components/OnBoardingWidget/Steps/Category/Category.js +5 -5
  183. package/lib/cjs/components/OnBoardingWidget/Steps/Content/Content.js +1 -1
  184. package/lib/cjs/components/OnBoardingWidget/Steps/Invite/Invite.js +1 -1
  185. package/lib/cjs/components/OnBoardingWidget/Steps/Profile/Profile.js +1 -1
  186. package/lib/cjs/components/PlatformWidget/PlatformWidget.js +8 -8
  187. package/lib/cjs/components/PlatformWidget/Skeleton.js +1 -1
  188. package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -1
  189. package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.js +1 -1
  190. package/lib/cjs/components/PollSuggestionWidget/Skeleton.js +1 -1
  191. package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +4 -4
  192. package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +1 -1
  193. package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js +5 -5
  194. package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -6
  195. package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +7 -7
  196. package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -3
  197. package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +1 -1
  198. package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +4 -4
  199. package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js +1 -1
  200. package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  201. package/lib/cjs/components/PrivateMessageThread/Skeleton.js +1 -1
  202. package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +6 -6
  203. package/lib/cjs/components/RelatedEventsWidget/RelatedEventsWidget.js +1 -1
  204. package/lib/cjs/components/RelatedEventsWidget/Skeleton.js +1 -1
  205. package/lib/cjs/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +1 -1
  206. package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.js +2 -2
  207. package/lib/cjs/components/SnippetNotifications/Skeleton.js +1 -1
  208. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +3 -3
  209. package/lib/cjs/components/SuggestedEventsWidget/Arrow.js +2 -2
  210. package/lib/cjs/components/SuggestedEventsWidget/Skeleton.js +1 -1
  211. package/lib/cjs/components/SuggestedEventsWidget/SuggestedEventsWidget.js +2 -2
  212. package/lib/cjs/components/User/Skeleton.js +1 -1
  213. package/lib/cjs/components/User/User.js +2 -2
  214. package/lib/cjs/components/UserActionIconButton/UserActionIconButton.js +9 -9
  215. package/lib/cjs/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +1 -1
  216. package/lib/cjs/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +1 -1
  217. package/lib/cjs/components/UserConnectionsWidget/UserConnectionsWidget.js +1 -1
  218. package/lib/cjs/components/UserCounters/UserCounters.js +5 -5
  219. package/lib/cjs/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +1 -1
  220. package/lib/cjs/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +1 -1
  221. package/lib/cjs/components/UserFollowersWidget/UserFollowersWidget.js +1 -1
  222. package/lib/cjs/components/UserInfo/Skeleton.js +1 -1
  223. package/lib/cjs/components/UserInfo/UserInfo.js +3 -3
  224. package/lib/cjs/components/UserInfoDialog/UserInfoDialog.js +1 -1
  225. package/lib/cjs/components/UserProfileBlocked/UserProfileBlocked.js +1 -1
  226. package/lib/cjs/components/UserProfileEdit/Section/Account.js +1 -1
  227. package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +6 -6
  228. package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +8 -8
  229. package/lib/cjs/components/UserProfileEdit/Section/Settings.js +3 -3
  230. package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  231. package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
  232. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
  233. package/lib/cjs/components/UserProfileHeader/Skeleton.js +1 -1
  234. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -1
  235. package/lib/cjs/components/UserSocialAssociation/UserSocialAssociation.js +1 -1
  236. package/lib/cjs/components/UserSubscribedGroupsWidget/Skeleton.js +1 -1
  237. package/lib/cjs/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +2 -2
  238. package/lib/cjs/components/UserSuggestionWidget/Skeleton.js +1 -1
  239. package/lib/cjs/components/UserSuggestionWidget/UserSuggestionWidget.js +1 -1
  240. package/lib/cjs/components/VoteAudienceButton/VoteAudienceButton.js +5 -5
  241. package/lib/cjs/components/VoteButton/VoteButton.js +2 -2
  242. package/lib/cjs/constants/PubSub.js +3 -3
  243. package/lib/cjs/shared/AutoPlayer/index.js +2 -2
  244. package/lib/cjs/shared/BaseDialog/BaseDialog.js +2 -2
  245. package/lib/cjs/shared/BaseItem/BaseItem.js +2 -2
  246. package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +2 -2
  247. package/lib/cjs/shared/Calendar/index.js +1 -1
  248. package/lib/cjs/shared/ConfirmDialog/ConfirmDialog.js +1 -1
  249. package/lib/cjs/shared/ConsentSolutionSwitch/index.js +3 -3
  250. package/lib/cjs/shared/ContributionActionsMenu/index.js +10 -10
  251. package/lib/cjs/shared/CustomSnackMessage/index.js +1 -1
  252. package/lib/cjs/shared/DateTimeAgo/index.js +1 -1
  253. package/lib/cjs/shared/EmojiPicker/EmojiPicker.js +1 -1
  254. package/lib/cjs/shared/EventActionsMenu/index.js +5 -5
  255. package/lib/cjs/shared/EventInfoDetails/index.js +3 -3
  256. package/lib/cjs/shared/InfiniteScroll/index.js +2 -2
  257. package/lib/cjs/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.js +1 -1
  258. package/lib/cjs/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.js +1 -1
  259. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.js +2 -2
  260. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.js +1 -1
  261. package/lib/cjs/shared/InfiniteScroll/stories/ScrolleableTop.js +2 -2
  262. package/lib/cjs/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.js +1 -1
  263. package/lib/cjs/shared/LanguageSwitcher/index.js +1 -1
  264. package/lib/cjs/shared/MarkRead/MarkRead.js +1 -1
  265. package/lib/cjs/shared/Media/File/DisplayComponent.js +11 -11
  266. package/lib/cjs/shared/Media/File/PreviewComponent.js +3 -3
  267. package/lib/cjs/shared/Media/File/TriggerButton.js +7 -7
  268. package/lib/cjs/shared/Media/Link/DisplayComponent.js +3 -3
  269. package/lib/cjs/shared/Media/Link/LayerComponent.js +1 -1
  270. package/lib/cjs/shared/Media/Link/PreviewComponent.js +1 -1
  271. package/lib/cjs/shared/Media/Link/TriggerButton.js +1 -1
  272. package/lib/cjs/shared/Media/Link/UrlTextField/index.js +3 -3
  273. package/lib/cjs/shared/Media/Share/DisplayComponent.js +1 -1
  274. package/lib/cjs/shared/MetadataField/MetadataField.js +1 -1
  275. package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -1
  276. package/lib/cjs/shared/PasswordTextField/index.js +1 -1
  277. package/lib/cjs/shared/ProgressBar/index.js +1 -1
  278. package/lib/cjs/shared/StickyBox/index.js +1 -1
  279. package/lib/cjs/shared/Tags/index.js +6 -6
  280. package/lib/cjs/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -1
  281. package/lib/cjs/shared/VirtualizedScroller/VirtualScrollerChild.js +1 -1
  282. package/lib/cjs/types/broadcastMessage.js +1 -1
  283. package/lib/cjs/types/comments.js +1 -1
  284. package/lib/cjs/types/event.js +1 -1
  285. package/lib/cjs/types/feedObject.js +2 -2
  286. package/lib/cjs/types/notification.js +1 -1
  287. package/lib/cjs/types/user.js +3 -3
  288. package/lib/esm/components/AccountChangeMailValidation/AccountChangeMailValidation.js +1 -1
  289. package/lib/esm/components/AccountDataPortability/AccountDataPortability.js +4 -4
  290. package/lib/esm/components/AccountDataPortabilityButton/AccountDataPortabilityButton.js +1 -1
  291. package/lib/esm/components/AccountDelete/AccountDelete.js +3 -3
  292. package/lib/esm/components/AccountDeleteButton/AccountDeleteButton.js +1 -1
  293. package/lib/esm/components/AccountRecover/AccountRecover.js +2 -2
  294. package/lib/esm/components/AccountReset/AccountReset.js +1 -1
  295. package/lib/esm/components/AccountVerify/AccountVerify.js +1 -1
  296. package/lib/esm/components/BottomNavigation/BottomNavigation.js +2 -2
  297. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -1
  298. package/lib/esm/components/BroadcastMessages/Message.js +4 -4
  299. package/lib/esm/components/BroadcastMessages/Skeleton.js +1 -1
  300. package/lib/esm/components/Categories/Categories.js +1 -1
  301. package/lib/esm/components/Categories/Skeleton.js +1 -1
  302. package/lib/esm/components/CategoriesPopularWidget/CategoriesPopularWidget.js +1 -1
  303. package/lib/esm/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.js +1 -1
  304. package/lib/esm/components/CategoriesSuggestionWidget/Skeleton.js +1 -1
  305. package/lib/esm/components/Category/Category.js +1 -1
  306. package/lib/esm/components/Category/Skeleton.js +1 -1
  307. package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.js +1 -1
  308. package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.js +1 -1
  309. package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -1
  310. package/lib/esm/components/CategoryHeader/Skeleton.js +1 -1
  311. package/lib/esm/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +2 -2
  312. package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.js +1 -1
  313. package/lib/esm/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +1 -1
  314. package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.js +1 -1
  315. package/lib/esm/components/ChangeCover/ChangeCover.js +6 -6
  316. package/lib/esm/components/ChangeGroupCover/ChangeGroupCover.js +1 -1
  317. package/lib/esm/components/ChangeGroupPicture/ChangeGroupPicture.js +1 -1
  318. package/lib/esm/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +2 -2
  319. package/lib/esm/components/CommentObject/CommentObject.js +4 -4
  320. package/lib/esm/components/CommentObjectReply/CommentObjectReply.js +1 -1
  321. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +4 -4
  322. package/lib/esm/components/CommentsObject/CommentsObject.js +6 -6
  323. package/lib/esm/components/Composer/Attributes/Attributes.js +2 -2
  324. package/lib/esm/components/Composer/Composer.js +4 -4
  325. package/lib/esm/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +3 -3
  326. package/lib/esm/components/Composer/Content/ContentPoll/ContentPoll.js +6 -6
  327. package/lib/esm/components/Composer/Content/ContentPost/ContentPost.js +1 -1
  328. package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.js +4 -4
  329. package/lib/esm/components/Composer/Layer/CategoryLayer/CategoryLayer.js +1 -1
  330. package/lib/esm/components/Composer/Layer/CloseLayer/CloseLayer.js +1 -1
  331. package/lib/esm/components/Composer/Layer/LocationLayer/LocationLayer.js +1 -1
  332. package/lib/esm/components/Composer/Skeleton.js +1 -1
  333. package/lib/esm/components/Composer/TypeSwitchButtonGroup/TypeSwitchButtonGroup.js +1 -1
  334. package/lib/esm/components/ComposerIconButton/ComposerIconButton.js +2 -2
  335. package/lib/esm/components/ConsentSolution/ConsentSolution.js +4 -4
  336. package/lib/esm/components/ConsentSolution/Skeleton.js +1 -1
  337. package/lib/esm/components/CreateEventButton/CreateEventButton.js +1 -1
  338. package/lib/esm/components/CreateEventWidget/CreateEventWidget.js +1 -1
  339. package/lib/esm/components/CreateEventWidget/Skeleton.js +1 -1
  340. package/lib/esm/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +1 -4
  341. package/lib/esm/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +17 -14
  342. package/lib/esm/components/CustomAdv/CustomAdv.js +2 -2
  343. package/lib/esm/components/Editor/Editor.js +1 -1
  344. package/lib/esm/components/Editor/nodes/ImageNode.js +1 -1
  345. package/lib/esm/components/Editor/plugins/EmojiPlugin.js +2 -2
  346. package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +4 -4
  347. package/lib/esm/components/Editor/plugins/HashtagPlugin.js +3 -3
  348. package/lib/esm/components/Editor/plugins/ImagePlugin.js +4 -4
  349. package/lib/esm/components/Editor/plugins/MentionsPlugin.js +4 -4
  350. package/lib/esm/components/Editor/plugins/ToolbarPlugin.js +5 -5
  351. package/lib/esm/components/Editor/shared/useDecorators.js +1 -1
  352. package/lib/esm/components/Event/Event.js +4 -4
  353. package/lib/esm/components/Event/Skeleton.js +3 -3
  354. package/lib/esm/components/EventAutocomplete/EventAutocomplete.js +1 -1
  355. package/lib/esm/components/EventForm/EventAddress.js +2 -2
  356. package/lib/esm/components/EventForm/EventForm.js +14 -14
  357. package/lib/esm/components/EventForm/UploadEventCover.js +1 -1
  358. package/lib/esm/components/EventHeader/EventHeader.js +2 -2
  359. package/lib/esm/components/EventHeader/Skeleton.js +1 -1
  360. package/lib/esm/components/EventInfoWidget/EventInfoWidget.js +1 -1
  361. package/lib/esm/components/EventInfoWidget/Skeleton.js +1 -1
  362. package/lib/esm/components/EventInviteButton/EventInviteButton.js +2 -2
  363. package/lib/esm/components/EventLocationWidget/EventLocationWidget.js +3 -3
  364. package/lib/esm/components/EventLocationWidget/Skeleton.js +1 -1
  365. package/lib/esm/components/EventMediaWidget/EventMediaWidget.js +4 -4
  366. package/lib/esm/components/EventMediaWidget/Skeleton.js +1 -1
  367. package/lib/esm/components/EventMediaWidget/TriggerButton.js +3 -3
  368. package/lib/esm/components/EventMembersWidget/EventMembersWidget.js +3 -3
  369. package/lib/esm/components/EventMembersWidget/Skeleton.js +1 -1
  370. package/lib/esm/components/EventMembersWidget/TabContentComponent.js +3 -3
  371. package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.js +1 -1
  372. package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.js +2 -2
  373. package/lib/esm/components/Events/Events.js +6 -6
  374. package/lib/esm/components/Events/LocationEventsFilter.js +1 -1
  375. package/lib/esm/components/Events/Skeleton.js +1 -1
  376. package/lib/esm/components/Feed/Feed.js +4 -4
  377. package/lib/esm/components/Feed/Skeleton.js +1 -1
  378. package/lib/esm/components/FeedObject/Actions/Actions.js +1 -1
  379. package/lib/esm/components/FeedObject/Actions/Comment/Comment.js +3 -3
  380. package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +1 -1
  381. package/lib/esm/components/FeedObject/Actions/Share/Share.js +5 -5
  382. package/lib/esm/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +1 -1
  383. package/lib/esm/components/FeedObject/Activities/Activities.js +1 -1
  384. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +4 -4
  385. package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +3 -3
  386. package/lib/esm/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +2 -2
  387. package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +2 -2
  388. package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +1 -1
  389. package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +2 -2
  390. package/lib/esm/components/FeedObject/Contributors/Contributors.js +1 -1
  391. package/lib/esm/components/FeedObject/Contributors/Skeleton.js +1 -1
  392. package/lib/esm/components/FeedObject/FeedObject.js +11 -11
  393. package/lib/esm/components/FeedObject/Poll/Choice/Choice.js +2 -2
  394. package/lib/esm/components/FeedObject/Poll/Poll.js +1 -1
  395. package/lib/esm/components/FeedUpdatesWidget/FeedUpdatesWidget.js +1 -1
  396. package/lib/esm/components/Footer/Footer.js +1 -1
  397. package/lib/esm/components/Group/Group.js +2 -2
  398. package/lib/esm/components/Group/Skeleton.js +1 -1
  399. package/lib/esm/components/GroupActionsMenu/index.js +4 -4
  400. package/lib/esm/components/GroupAutocomplete/GroupAutocomplete.js +1 -1
  401. package/lib/esm/components/GroupForm/GroupForm.js +9 -9
  402. package/lib/esm/components/GroupHeader/GroupHeader.js +2 -2
  403. package/lib/esm/components/GroupHeader/Skeleton.js +1 -1
  404. package/lib/esm/components/GroupInfoWidget/GroupInfoWidget.js +6 -6
  405. package/lib/esm/components/GroupInviteButton/GroupInviteButton.js +2 -2
  406. package/lib/esm/components/GroupInvitedWidget/GroupInvitedWidget.js +1 -1
  407. package/lib/esm/components/GroupMembersButton/GroupMembersButton.js +1 -1
  408. package/lib/esm/components/GroupMembersWidget/GroupMembersWidget.js +5 -5
  409. package/lib/esm/components/GroupRequestsWidget/GroupRequestsWidget.js +1 -1
  410. package/lib/esm/components/GroupSettingsIconButton/GroupSettingsIconButton.js +5 -5
  411. package/lib/esm/components/Groups/Groups.js +3 -3
  412. package/lib/esm/components/Groups/Skeleton.js +1 -1
  413. package/lib/esm/components/Incubator/Incubator.js +4 -4
  414. package/lib/esm/components/Incubator/Skeleton.js +1 -1
  415. package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +2 -2
  416. package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +2 -2
  417. package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.js +2 -2
  418. package/lib/esm/components/IncubatorListWidget/Skeleton.js +1 -1
  419. package/lib/esm/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +1 -1
  420. package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.js +1 -1
  421. package/lib/esm/components/InlineComposerWidget/InlineComposerWidget.js +1 -1
  422. package/lib/esm/components/InlineComposerWidget/Skeleton.js +1 -1
  423. package/lib/esm/components/LiveStreamForm/LiveStreamForm.js +33 -11
  424. package/lib/esm/components/LiveStreamForm/types.d.ts +3 -2
  425. package/lib/esm/components/LiveStreamRoom/LiveStreamRoom.d.ts +7 -6
  426. package/lib/esm/components/LiveStreamRoom/LiveStreamRoom.js +13 -8
  427. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +3 -1
  428. package/lib/esm/components/LocationAutocomplete/LocationAutocomplete.js +1 -1
  429. package/lib/esm/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +1 -1
  430. package/lib/esm/components/LoyaltyProgramWidget/Skeleton.js +1 -1
  431. package/lib/esm/components/MyEventsWidget/MyEventsWidget.js +1 -1
  432. package/lib/esm/components/MyEventsWidget/Skeleton.js +1 -1
  433. package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -1
  434. package/lib/esm/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -1
  435. package/lib/esm/components/NavigationMenuIconButton/NavigationMenuDrawer.js +19 -1
  436. package/lib/esm/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -1
  437. package/lib/esm/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +29 -29
  438. package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +7 -7
  439. package/lib/esm/components/NavigationToolbar/NotificationMenu.js +1 -1
  440. package/lib/esm/components/NavigationToolbar/Skeleton.js +1 -1
  441. package/lib/esm/components/NavigationToolbarMobile/NavigationToolbarMobile.js +4 -4
  442. package/lib/esm/components/NavigationToolbarMobile/Skeleton.js +1 -1
  443. package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +1 -1
  444. package/lib/esm/components/Notification/Comment/Comment.js +3 -3
  445. package/lib/esm/components/Notification/Contribution/Contribution.js +3 -3
  446. package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +2 -2
  447. package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +1 -1
  448. package/lib/esm/components/Notification/Event/Event.js +9 -9
  449. package/lib/esm/components/Notification/Group/Group.js +8 -8
  450. package/lib/esm/components/Notification/IncubatorApproved/IncubatorApproved.js +3 -3
  451. package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +1 -1
  452. package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +2 -2
  453. package/lib/esm/components/Notification/Mention/Mention.js +3 -3
  454. package/lib/esm/components/Notification/Notification.js +8 -8
  455. package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +10 -10
  456. package/lib/esm/components/Notification/Skeleton.js +1 -1
  457. package/lib/esm/components/Notification/UndeletedFor/UndeletedFor.js +1 -1
  458. package/lib/esm/components/Notification/UserBlocked/UserBlocked.js +3 -3
  459. package/lib/esm/components/Notification/UserConnection/UserConnection.js +2 -2
  460. package/lib/esm/components/Notification/UserFollow/UserFollow.js +2 -2
  461. package/lib/esm/components/Notification/VoteUp/VoteUp.js +2 -2
  462. package/lib/esm/components/OnBoardingWidget/ActionsButton.js +5 -5
  463. package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.js +7 -7
  464. package/lib/esm/components/OnBoardingWidget/Skeleton.js +1 -1
  465. package/lib/esm/components/OnBoardingWidget/Steps/App/App.js +9 -9
  466. package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.js +4 -4
  467. package/lib/esm/components/OnBoardingWidget/Steps/Category/Category.js +5 -5
  468. package/lib/esm/components/OnBoardingWidget/Steps/Content/Content.js +1 -1
  469. package/lib/esm/components/OnBoardingWidget/Steps/Invite/Invite.js +1 -1
  470. package/lib/esm/components/OnBoardingWidget/Steps/Profile/Profile.js +1 -1
  471. package/lib/esm/components/PlatformWidget/PlatformWidget.js +8 -8
  472. package/lib/esm/components/PlatformWidget/Skeleton.js +1 -1
  473. package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -1
  474. package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.js +1 -1
  475. package/lib/esm/components/PollSuggestionWidget/Skeleton.js +1 -1
  476. package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +4 -4
  477. package/lib/esm/components/PrivateMessageComponent/Skeleton.js +1 -1
  478. package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js +5 -5
  479. package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -6
  480. package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +7 -7
  481. package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -3
  482. package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +1 -1
  483. package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +4 -4
  484. package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +1 -1
  485. package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  486. package/lib/esm/components/PrivateMessageThread/Skeleton.js +1 -1
  487. package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +6 -6
  488. package/lib/esm/components/RelatedEventsWidget/RelatedEventsWidget.js +1 -1
  489. package/lib/esm/components/RelatedEventsWidget/Skeleton.js +1 -1
  490. package/lib/esm/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +1 -1
  491. package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.js +2 -2
  492. package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -1
  493. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +3 -3
  494. package/lib/esm/components/SuggestedEventsWidget/Arrow.js +2 -2
  495. package/lib/esm/components/SuggestedEventsWidget/Skeleton.js +1 -1
  496. package/lib/esm/components/SuggestedEventsWidget/SuggestedEventsWidget.js +2 -2
  497. package/lib/esm/components/User/Skeleton.js +1 -1
  498. package/lib/esm/components/User/User.js +2 -2
  499. package/lib/esm/components/UserActionIconButton/UserActionIconButton.js +9 -9
  500. package/lib/esm/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +1 -1
  501. package/lib/esm/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +1 -1
  502. package/lib/esm/components/UserConnectionsWidget/UserConnectionsWidget.js +1 -1
  503. package/lib/esm/components/UserCounters/UserCounters.js +5 -5
  504. package/lib/esm/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +1 -1
  505. package/lib/esm/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +1 -1
  506. package/lib/esm/components/UserFollowersWidget/UserFollowersWidget.js +1 -1
  507. package/lib/esm/components/UserInfo/Skeleton.js +1 -1
  508. package/lib/esm/components/UserInfo/UserInfo.js +3 -3
  509. package/lib/esm/components/UserInfoDialog/UserInfoDialog.js +1 -1
  510. package/lib/esm/components/UserProfileBlocked/UserProfileBlocked.js +1 -1
  511. package/lib/esm/components/UserProfileEdit/Section/Account.js +1 -1
  512. package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +6 -6
  513. package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +8 -8
  514. package/lib/esm/components/UserProfileEdit/Section/Settings.js +3 -3
  515. package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  516. package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
  517. package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
  518. package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -1
  519. package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -1
  520. package/lib/esm/components/UserSocialAssociation/UserSocialAssociation.js +1 -1
  521. package/lib/esm/components/UserSubscribedGroupsWidget/Skeleton.js +1 -1
  522. package/lib/esm/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +2 -2
  523. package/lib/esm/components/UserSuggestionWidget/Skeleton.js +1 -1
  524. package/lib/esm/components/UserSuggestionWidget/UserSuggestionWidget.js +1 -1
  525. package/lib/esm/components/VoteAudienceButton/VoteAudienceButton.js +5 -5
  526. package/lib/esm/components/VoteButton/VoteButton.js +2 -2
  527. package/lib/esm/shared/AutoPlayer/index.js +2 -2
  528. package/lib/esm/shared/BaseDialog/BaseDialog.js +2 -2
  529. package/lib/esm/shared/BaseItem/BaseItem.js +2 -2
  530. package/lib/esm/shared/BaseItemButton/BaseItemButton.js +2 -2
  531. package/lib/esm/shared/Calendar/index.js +1 -1
  532. package/lib/esm/shared/ConfirmDialog/ConfirmDialog.js +1 -1
  533. package/lib/esm/shared/ConsentSolutionSwitch/index.js +3 -3
  534. package/lib/esm/shared/ContributionActionsMenu/index.js +10 -10
  535. package/lib/esm/shared/CustomSnackMessage/index.js +1 -1
  536. package/lib/esm/shared/DateTimeAgo/index.js +1 -1
  537. package/lib/esm/shared/EmojiPicker/EmojiPicker.js +1 -1
  538. package/lib/esm/shared/EventActionsMenu/index.js +5 -5
  539. package/lib/esm/shared/EventInfoDetails/index.js +3 -3
  540. package/lib/esm/shared/InfiniteScroll/index.js +2 -2
  541. package/lib/esm/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.js +1 -1
  542. package/lib/esm/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.js +1 -1
  543. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.js +2 -2
  544. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.js +1 -1
  545. package/lib/esm/shared/InfiniteScroll/stories/ScrolleableTop.js +2 -2
  546. package/lib/esm/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.js +1 -1
  547. package/lib/esm/shared/LanguageSwitcher/index.js +1 -1
  548. package/lib/esm/shared/MarkRead/MarkRead.js +1 -1
  549. package/lib/esm/shared/Media/File/DisplayComponent.js +11 -11
  550. package/lib/esm/shared/Media/File/PreviewComponent.js +3 -3
  551. package/lib/esm/shared/Media/File/TriggerButton.js +7 -7
  552. package/lib/esm/shared/Media/Link/DisplayComponent.js +3 -3
  553. package/lib/esm/shared/Media/Link/LayerComponent.js +1 -1
  554. package/lib/esm/shared/Media/Link/PreviewComponent.js +1 -1
  555. package/lib/esm/shared/Media/Link/TriggerButton.js +1 -1
  556. package/lib/esm/shared/Media/Link/UrlTextField/index.js +3 -3
  557. package/lib/esm/shared/Media/Share/DisplayComponent.js +1 -1
  558. package/lib/esm/shared/MetadataField/MetadataField.js +1 -1
  559. package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -1
  560. package/lib/esm/shared/PasswordTextField/index.js +1 -1
  561. package/lib/esm/shared/ProgressBar/index.js +1 -1
  562. package/lib/esm/shared/StickyBox/index.js +1 -1
  563. package/lib/esm/shared/Tags/index.js +5 -5
  564. package/lib/esm/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -1
  565. package/lib/esm/shared/VirtualizedScroller/VirtualScrollerChild.js +1 -1
  566. package/lib/umd/react-ui.js +1 -1
  567. package/package.json +8 -8
@@ -74,8 +74,8 @@ exports.default = (props) => {
74
74
  /**
75
75
  * Renders url text field
76
76
  */
77
- return ((0, jsx_runtime_1.jsx)("form", { method: "post", onSubmit: handleSubmit, children: (0, jsx_runtime_1.jsx)(TextField_1.default, Object.assign({ value: url, type: "url", onChange: handleChange, onPaste: handlePaste, error: error || Boolean(urlError), helperText: helperText ||
77
+ return ((0, jsx_runtime_1.jsx)("form", Object.assign({ method: "post", onSubmit: handleSubmit }, { children: (0, jsx_runtime_1.jsx)(TextField_1.default, Object.assign({ value: url, type: "url", onChange: handleChange, onPaste: handlePaste, error: error || Boolean(urlError), helperText: helperText ||
78
78
  (urlError && ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.composer.media.link.add.error.${urlError}`, defaultMessage: `ui.composer.media.link.add.error.${urlError}` }))) || (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.composer.media.link.add.help", defaultMessage: "ui.composer.media.link.add.help" }), disabled: isCreating }, rest, { InputProps: {
79
- endAdornment: ((0, jsx_runtime_1.jsx)(InputAdornment_1.default, { position: "end", children: (0, jsx_runtime_1.jsx)(material_1.Fade, { in: urlError === null && url !== '', children: (0, jsx_runtime_1.jsx)(IconButton_1.default, { size: "small", disabled: isCreating, type: "submit", children: isCreating ? (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "primary", size: 20 }) : (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.composer.media.link.add.submit", defaultMessage: "ui.composer.media.link.add.submit" }) }) }) }))
80
- } })) }));
79
+ endAdornment: ((0, jsx_runtime_1.jsx)(InputAdornment_1.default, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.Fade, Object.assign({ in: urlError === null && url !== '' }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.default, Object.assign({ size: "small", disabled: isCreating, type: "submit" }, { children: isCreating ? (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { color: "primary", size: 20 }) : (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.composer.media.link.add.submit", defaultMessage: "ui.composer.media.link.add.submit" }) })) })) })))
80
+ } })) })));
81
81
  };
@@ -30,5 +30,5 @@ exports.default = (_a) => {
30
30
  if (_medias.length === 0) {
31
31
  return null;
32
32
  }
33
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(className, classes.displayRoot) }, rest, { children: _medias.map((media, i) => ((0, jsx_runtime_1.jsx)(Box_1.default, { className: classes.sharePreview, onClick: onMediaClick, children: media.type === Media_1.MEDIA_TYPE_EVENT || (media.embed && media.embed.embed_type === Media_1.MEDIA_EMBED_SC_SHARED_EVENT) ? ((0, jsx_runtime_1.jsx)(Event_1.default, { event: media.embed.metadata, template: event_1.SCEventTemplateType.DETAIL, variant: "outlined", square: true, hideEventParticipants: true, hideEventPlanner: true, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) })) : ((0, jsx_runtime_1.jsx)(FeedObject_1.default, { feedObjectId: media.embed.metadata.id, feedObjectType: media.embed.metadata.type, variant: 'outlined', template: feedObject_1.SCFeedObjectTemplateType.SHARE, cacheStrategy: utils_1.CacheStrategies.CACHE_FIRST })) }, i))) })));
33
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(className, classes.displayRoot) }, rest, { children: _medias.map((media, i) => ((0, jsx_runtime_1.jsx)(Box_1.default, Object.assign({ className: classes.sharePreview, onClick: onMediaClick }, { children: media.type === Media_1.MEDIA_TYPE_EVENT || (media.embed && media.embed.embed_type === Media_1.MEDIA_EMBED_SC_SHARED_EVENT) ? ((0, jsx_runtime_1.jsx)(Event_1.default, { event: media.embed.metadata, template: event_1.SCEventTemplateType.DETAIL, variant: "outlined", square: true, hideEventParticipants: true, hideEventPlanner: true, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) })) : ((0, jsx_runtime_1.jsx)(FeedObject_1.default, { feedObjectId: media.embed.metadata.id, feedObjectType: media.embed.metadata.type, variant: 'outlined', template: feedObject_1.SCFeedObjectTemplateType.SHARE, cacheStrategy: utils_1.CacheStrategies.CACHE_FIRST })) }), i))) })));
34
34
  };
@@ -25,7 +25,7 @@ const MetadataField = (props) => {
25
25
  component = (0, jsx_runtime_1.jsx)(PhoneTextField_1.default, Object.assign({}, rest, { className: className, label: _label, required: metadata === null || metadata === void 0 ? void 0 : metadata.mandatory }));
26
26
  break;
27
27
  case types_1.SCMetadataTypeFieldType.ENUM:
28
- component = ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, rest, { className: className, label: _label, required: metadata === null || metadata === void 0 ? void 0 : metadata.mandatory, select: true, children: metadata === null || metadata === void 0 ? void 0 : metadata.type_options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: option, children: option }, option))) })));
28
+ component = ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, rest, { className: className, label: _label, required: metadata === null || metadata === void 0 ? void 0 : metadata.mandatory, select: true }, { children: metadata === null || metadata === void 0 ? void 0 : metadata.type_options.map((option) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: option }, { children: option }), option))) })));
29
29
  break;
30
30
  case types_1.SCMetadataTypeFieldType.CHECKBOX:
31
31
  const { value } = rest;
@@ -72,6 +72,6 @@ function NotificationItem(inProps) {
72
72
  // RENDER
73
73
  return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ id: id }, rest, { className: (0, classnames_1.default)(classes.root, className, `${PREFIX}-${template}`, {
74
74
  [classes.new]: isNew
75
- }), elevation: elevation, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.header, children: [image && (0, jsx_runtime_1.jsx)(material_1.Box, { className: (0, classnames_1.default)(classes.image), children: image }), (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.title, children: [primary && ((0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.primary, children: [template === notification_1.SCNotificationObjectTemplateType.DETAIL && isNew && (0, jsx_runtime_1.jsx)(NewChip_1.default, { className: classes.newChip }), disableTypography ? primary : (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({}, primaryTypographyProps, { children: primary }))] })), secondary && ((0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.secondary, children: disableTypography ? secondary : (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({}, secondaryTypographyProps, { children: secondary })) }))] })] }), actions && (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.actions, children: actions }), footer && (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.footer, children: footer })] })));
75
+ }), elevation: elevation }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.header }, { children: [image && (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: (0, classnames_1.default)(classes.image) }, { children: image })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.title }, { children: [primary && ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.primary }, { children: [template === notification_1.SCNotificationObjectTemplateType.DETAIL && isNew && (0, jsx_runtime_1.jsx)(NewChip_1.default, { className: classes.newChip }), disableTypography ? primary : (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({}, primaryTypographyProps, { children: primary }))] }))), secondary && ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.secondary }, { children: disableTypography ? secondary : (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({}, secondaryTypographyProps, { children: secondary })) })))] }))] })), actions && (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.actions }, { children: actions })), footer && (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.footer }, { children: footer }))] })));
76
76
  }
77
77
  exports.default = NotificationItem;
@@ -22,7 +22,7 @@ function PasswordTextField(props) {
22
22
  };
23
23
  // RENDER
24
24
  return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ type: showPassword ? 'text' : 'password' }, props, { InputProps: {
25
- endAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(_a = props === null || props === void 0 ? void 0 : props.InputProps) === null || _a === void 0 ? void 0 : _a.endAdornment, (0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "end", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { "aria-label": "toggle password visibility", onClick: handleClick, edge: "end", children: showPassword ? (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "visibility_off" }) : (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "visibility" }) }) })] }))
25
+ endAdornment: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(_a = props === null || props === void 0 ? void 0 : props.InputProps) === null || _a === void 0 ? void 0 : _a.endAdornment, (0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ "aria-label": "toggle password visibility", onClick: handleClick, edge: "end" }, { children: showPassword ? (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "visibility_off" }) : (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "visibility" }) })) }))] }))
26
26
  } })));
27
27
  }
28
28
  exports.default = PasswordTextField;
@@ -20,6 +20,6 @@ const Root = (0, styles_1.styled)(material_1.Box, {
20
20
  })(() => ({}));
21
21
  function ProgressBar(props) {
22
22
  const { className, value, loadingMessage = null, hideBar = false } = props, rest = tslib_1.__rest(props, ["className", "value", "loadingMessage", "hideBar"]);
23
- return ((0, jsx_runtime_1.jsxs)(Root, { className: (0, classnames_1.default)(classes.root, className), children: [(0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.message, children: loadingMessage }), !hideBar && (0, jsx_runtime_1.jsx)(LinearProgress_1.default, Object.assign({ variant: "determinate", color: "success", className: classes.bar, value: value }, rest)), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.progress, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h4", color: "secondary", children: `${Math.round(value)}%` }) })] }));
23
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.message }, { children: loadingMessage })), !hideBar && (0, jsx_runtime_1.jsx)(LinearProgress_1.default, Object.assign({ variant: "determinate", color: "success", className: classes.bar, value: value }, rest)), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.progress }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", color: "secondary" }, { children: `${Math.round(value)}%` })) }))] })));
24
24
  }
25
25
  exports.default = ProgressBar;
@@ -355,6 +355,6 @@ exports.useStickyBox = useStickyBox;
355
355
  */
356
356
  const StickyBox = ({ offsetTop, offsetBottom, bottom, children, className, style }) => {
357
357
  const ref = (0, exports.useStickyBox)({ offsetTop, offsetBottom, bottom });
358
- return ((0, jsx_runtime_1.jsx)("div", { className: className, style: style, ref: ref, children: children }));
358
+ return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: className, style: style, ref: ref }, { children: children })));
359
359
  };
360
360
  exports.default = StickyBox;
@@ -69,7 +69,7 @@ var TagsComponentType;
69
69
  (function (TagsComponentType) {
70
70
  TagsComponentType["LIST"] = "list";
71
71
  TagsComponentType["POPPER"] = "popper";
72
- })(TagsComponentType || (exports.TagsComponentType = TagsComponentType = {}));
72
+ })(TagsComponentType = exports.TagsComponentType || (exports.TagsComponentType = {}));
73
73
  function Tags(props) {
74
74
  // PROPS
75
75
  const { tags = [], title = null, type = TagsComponentType.POPPER, onOpen = null, onClose = null, onClickTag = null, TagChipProps = {} } = props, rest = tslib_1.__rest(props, ["tags", "title", "type", "onOpen", "onClose", "onClickTag", "TagChipProps"]);
@@ -96,7 +96,7 @@ function Tags(props) {
96
96
  * Renders tag title
97
97
  */
98
98
  function renderTitle() {
99
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: title && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { padding: 1, fontWeight: 600 }, children: title }), (0, jsx_runtime_1.jsx)(material_1.Divider, {})] })) }));
99
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: title && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ sx: { padding: 1, fontWeight: 600 } }, { children: title })), (0, jsx_runtime_1.jsx)(material_1.Divider, {})] })) }));
100
100
  }
101
101
  /**
102
102
  * Returns focus to the button when we transitioned from !open -> open
@@ -111,14 +111,14 @@ function Tags(props) {
111
111
  /**
112
112
  * Renders component
113
113
  */
114
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: tags.length && ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: type === TagsComponentType.POPPER ? ((0, jsx_runtime_1.jsxs)(TagsPopperRoot, Object.assign({}, rest, { children: [(0, jsx_runtime_1.jsx)(Icon_1.default, { ref: popperRef, fontSize: "small", onClick: handleToggle, "aria-haspopup": "true", children: "label" }), (0, jsx_runtime_1.jsx)(TagsPopper, { open: open, anchorEl: popperRef.current, transition: true, placement: "bottom-start", modifiers: [
114
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: tags.length && ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: type === TagsComponentType.POPPER ? ((0, jsx_runtime_1.jsxs)(TagsPopperRoot, Object.assign({}, rest, { children: [(0, jsx_runtime_1.jsx)(Icon_1.default, Object.assign({ ref: popperRef, fontSize: "small", onClick: handleToggle, "aria-haspopup": "true" }, { children: "label" })), (0, jsx_runtime_1.jsx)(TagsPopper, Object.assign({ open: open, anchorEl: popperRef.current, transition: true, placement: "bottom-start", modifiers: [
115
115
  {
116
116
  name: 'preventOverflow',
117
117
  enabled: true
118
118
  }
119
- ], children: (_a) => {
119
+ ] }, { children: (_a) => {
120
120
  var { TransitionProps, placement } = _a, rest = tslib_1.__rest(_a, ["TransitionProps", "placement"]);
121
- return ((0, jsx_runtime_1.jsx)(Grow_1.default, Object.assign({}, TransitionProps, { style: { transformOrigin: placement === 'bottom' ? 'center top' : 'center bottom' }, children: (0, jsx_runtime_1.jsx)(Paper_1.default, { variant: 'outlined', className: classes.paper, children: (0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, { onClickAway: handleClose, children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [renderTitle(), (0, jsx_runtime_1.jsx)(StackList, Object.assign({ spacing: 2 }, rest, { children: tags.map((tag) => ((0, jsx_runtime_1.jsx)(ItemList, { children: (0, jsx_runtime_1.jsx)(TagChip_1.default, Object.assign({ tag: tag, onClick: onClickTag }, TagChipProps)) }, tag.id))) }))] }) }) }) })));
122
- } })] }))) : ((0, jsx_runtime_1.jsxs)(ListRoot, { children: [renderTitle(), (0, jsx_runtime_1.jsx)(StackList, { spacing: 1, direction: rest.direction ? rest.direction : 'column', children: tags.map((tag) => ((0, jsx_runtime_1.jsx)(ItemList, { children: (0, jsx_runtime_1.jsx)(TagChip_1.default, Object.assign({ tag: tag, onClick: onClickTag }, TagChipProps)) }, tag.id))) })] })) })) }));
121
+ return ((0, jsx_runtime_1.jsx)(Grow_1.default, Object.assign({}, TransitionProps, { style: { transformOrigin: placement === 'bottom' ? 'center top' : 'center bottom' } }, { children: (0, jsx_runtime_1.jsx)(Paper_1.default, Object.assign({ variant: 'outlined', className: classes.paper }, { children: (0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, Object.assign({ onClickAway: handleClose }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [renderTitle(), (0, jsx_runtime_1.jsx)(StackList, Object.assign({ spacing: 2 }, rest, { children: tags.map((tag) => ((0, jsx_runtime_1.jsx)(ItemList, { children: (0, jsx_runtime_1.jsx)(TagChip_1.default, Object.assign({ tag: tag, onClick: onClickTag }, TagChipProps)) }, tag.id))) }))] }) })) })) })));
122
+ } }))] }))) : ((0, jsx_runtime_1.jsxs)(ListRoot, { children: [renderTitle(), (0, jsx_runtime_1.jsx)(StackList, Object.assign({ spacing: 1, direction: rest.direction ? rest.direction : 'column' }, { children: tags.map((tag) => ((0, jsx_runtime_1.jsx)(ItemList, { children: (0, jsx_runtime_1.jsx)(TagChip_1.default, Object.assign({ tag: tag, onClick: onClickTag }, TagChipProps)) }, tag.id))) }))] })) })) }));
123
123
  }
124
124
  exports.default = Tags;
@@ -26,6 +26,6 @@ function UserDeletedSnackBar(inProps) {
26
26
  return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(className, classes.root), open: open, autoHideDuration: 3000, onClose: handleClose, anchorOrigin: {
27
27
  vertical: 'top',
28
28
  horizontal: 'center'
29
- } }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Alert, { severity: "info", onClose: handleClose, children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.common.actionToUserDeleted", defaultMessage: "ui.common.actionToUserDeleted" }) }) })));
29
+ } }, rest, { children: (0, jsx_runtime_1.jsx)(material_1.Alert, Object.assign({ severity: "info", onClose: handleClose }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.common.actionToUserDeleted", defaultMessage: "ui.common.actionToUserDeleted" }) })) })));
30
30
  }
31
31
  exports.default = UserDeletedSnackBar;
@@ -26,6 +26,6 @@ const VirtualScrollChild = ({ children, onHeightChange }) => {
26
26
  }
27
27
  }
28
28
  });
29
- return (0, jsx_runtime_1.jsx)("div", { ref: ref, children: children });
29
+ return (0, jsx_runtime_1.jsx)("div", Object.assign({ ref: ref }, { children: children }));
30
30
  };
31
31
  exports.default = VirtualScrollChild;
@@ -9,4 +9,4 @@ var SCBroadcastMessageTemplateType;
9
9
  SCBroadcastMessageTemplateType["SNIPPET"] = "snippet";
10
10
  SCBroadcastMessageTemplateType["DETAIL"] = "detail";
11
11
  SCBroadcastMessageTemplateType["TOAST"] = "toast";
12
- })(SCBroadcastMessageTemplateType || (exports.SCBroadcastMessageTemplateType = SCBroadcastMessageTemplateType = {}));
12
+ })(SCBroadcastMessageTemplateType = exports.SCBroadcastMessageTemplateType || (exports.SCBroadcastMessageTemplateType = {}));
@@ -10,4 +10,4 @@ var SCCommentsOrderBy;
10
10
  SCCommentsOrderBy["ADDED_AT_ASC"] = "added_at";
11
11
  SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
12
12
  SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
13
- })(SCCommentsOrderBy || (exports.SCCommentsOrderBy = SCCommentsOrderBy = {}));
13
+ })(SCCommentsOrderBy = exports.SCCommentsOrderBy || (exports.SCCommentsOrderBy = {}));
@@ -6,4 +6,4 @@ var SCEventTemplateType;
6
6
  SCEventTemplateType["DETAIL"] = "detail";
7
7
  SCEventTemplateType["SNIPPET"] = "snippet";
8
8
  SCEventTemplateType["PREVIEW"] = "preview";
9
- })(SCEventTemplateType || (exports.SCEventTemplateType = SCEventTemplateType = {}));
9
+ })(SCEventTemplateType = exports.SCEventTemplateType || (exports.SCEventTemplateType = {}));
@@ -11,7 +11,7 @@ var SCFeedObjectTemplateType;
11
11
  SCFeedObjectTemplateType["DETAIL"] = "detail";
12
12
  SCFeedObjectTemplateType["SEARCH"] = "search";
13
13
  SCFeedObjectTemplateType["SHARE"] = "share";
14
- })(SCFeedObjectTemplateType || (exports.SCFeedObjectTemplateType = SCFeedObjectTemplateType = {}));
14
+ })(SCFeedObjectTemplateType = exports.SCFeedObjectTemplateType || (exports.SCFeedObjectTemplateType = {}));
15
15
  /**
16
16
  * FeedObject activities type
17
17
  */
@@ -21,4 +21,4 @@ var SCFeedObjectActivitiesType;
21
21
  SCFeedObjectActivitiesType["RECENT_COMMENTS"] = "recent_comments";
22
22
  SCFeedObjectActivitiesType["FIRST_COMMENTS"] = "first_comments";
23
23
  SCFeedObjectActivitiesType["CONNECTIONS_COMMENTS"] = "connections_comments";
24
- })(SCFeedObjectActivitiesType || (exports.SCFeedObjectActivitiesType = SCFeedObjectActivitiesType = {}));
24
+ })(SCFeedObjectActivitiesType = exports.SCFeedObjectActivitiesType || (exports.SCFeedObjectActivitiesType = {}));
@@ -9,4 +9,4 @@ var SCNotificationObjectTemplateType;
9
9
  SCNotificationObjectTemplateType["SNIPPET"] = "snippet";
10
10
  SCNotificationObjectTemplateType["DETAIL"] = "detail";
11
11
  SCNotificationObjectTemplateType["TOAST"] = "toast";
12
- })(SCNotificationObjectTemplateType || (exports.SCNotificationObjectTemplateType = SCNotificationObjectTemplateType = {}));
12
+ })(SCNotificationObjectTemplateType = exports.SCNotificationObjectTemplateType || (exports.SCNotificationObjectTemplateType = {}));
@@ -17,7 +17,7 @@ var SCUserProfileFields;
17
17
  SCUserProfileFields["WEBSITE"] = "website";
18
18
  SCUserProfileFields["TAGS"] = "tags";
19
19
  SCUserProfileFields["SOCIAL_ASSOCIATIONS"] = "social_associations";
20
- })(SCUserProfileFields || (exports.SCUserProfileFields = SCUserProfileFields = {}));
20
+ })(SCUserProfileFields = exports.SCUserProfileFields || (exports.SCUserProfileFields = {}));
21
21
  /**
22
22
  * User Profile Settings
23
23
  */
@@ -26,7 +26,7 @@ var SCUserProfileSettings;
26
26
  SCUserProfileSettings["NOTIFICATION"] = "notification";
27
27
  SCUserProfileSettings["INTERACTION"] = "interaction";
28
28
  SCUserProfileSettings["PRIVATE_MESSAGE"] = "private_message";
29
- })(SCUserProfileSettings || (exports.SCUserProfileSettings = SCUserProfileSettings = {}));
29
+ })(SCUserProfileSettings = exports.SCUserProfileSettings || (exports.SCUserProfileSettings = {}));
30
30
  /**
31
31
  * User Profile Settings
32
32
  */
@@ -36,4 +36,4 @@ var SCUserSocialAssociations;
36
36
  SCUserSocialAssociations["FACEBOOK"] = "facebook";
37
37
  SCUserSocialAssociations["TWITTER"] = "twitter";
38
38
  SCUserSocialAssociations["LINKEDIN"] = "linkedin";
39
- })(SCUserSocialAssociations || (exports.SCUserSocialAssociations = SCUserSocialAssociations = {}));
39
+ })(SCUserSocialAssociations = exports.SCUserSocialAssociations || (exports.SCUserSocialAssociations = {}));
@@ -83,5 +83,5 @@ export default function AccountChangeMailValidation(inProps) {
83
83
  return null;
84
84
  }
85
85
  // RENDER
86
- return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: succeed ? (_jsxs(Alert, { severity: "success", className: classes.success, children: [typeof succeed === 'string' ? (succeed) : (_jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.success", defaultMessage: "ui.accountChangeMailValidation.success" })), successAction] })) : error ? (_jsxs(Alert, { severity: "error", className: classes.error, children: [_jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.error", defaultMessage: "ui.accountChangeMailValidation.error" }), errorAction] })) : (_jsxs(_Fragment, { children: [_jsx(CircularProgress, {}), _jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.verifying", defaultMessage: "ui.accountChangeMailValidation.verifying" })] })) })));
86
+ return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: succeed ? (_jsxs(Alert, Object.assign({ severity: "success", className: classes.success }, { children: [typeof succeed === 'string' ? (succeed) : (_jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.success", defaultMessage: "ui.accountChangeMailValidation.success" })), successAction] }))) : error ? (_jsxs(Alert, Object.assign({ severity: "error", className: classes.error }, { children: [_jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.error", defaultMessage: "ui.accountChangeMailValidation.error" }), errorAction] }))) : (_jsxs(_Fragment, { children: [_jsx(CircularProgress, {}), _jsx(FormattedMessage, { id: "ui.accountChangeMailValidation.verifying", defaultMessage: "ui.accountChangeMailValidation.verifying" })] })) })));
87
87
  }
@@ -151,18 +151,18 @@ export default function AccountDataPortability(inProps) {
151
151
  /**
152
152
  * Renders root object
153
153
  */
154
- return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Typography, { variant: "h6", children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.title", defaultMessage: "ui.accountDataPortability.title", values: { username: capitalize(scUserContext.user.username) } }) }), _jsx(Typography, { variant: "body2", component: "div", children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.info", defaultMessage: "ui.accountDataPortability.info", values: {
154
+ return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Typography, Object.assign({ variant: "h6" }, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.title", defaultMessage: "ui.accountDataPortability.title", values: { username: capitalize(scUserContext.user.username) } }) })), _jsx(Typography, Object.assign({ variant: "body2", component: "div" }, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.info", defaultMessage: "ui.accountDataPortability.info", values: {
155
155
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
156
156
  // @ts-ignore
157
157
  li: (chunks) => _jsx("li", { children: chunks }),
158
158
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
159
159
  // @ts-ignore
160
160
  ul: (chunks) => _jsx("ul", { children: chunks })
161
- } }) }), _jsx(LoadingButton, { size: "small", loading: (dataPortability && dataPortability.computing) || loading, disabled: !dataPortability ||
161
+ } }) })), _jsx(LoadingButton, Object.assign({ size: "small", loading: (dataPortability && dataPortability.computing) || loading, disabled: !dataPortability ||
162
162
  (dataPortability &&
163
163
  (dataPortability.computing ||
164
- (dataPortability.requested_at && differenceInHours(new Date(), parseISO(dataPortability.requested_at.toString())) < 24))), loadingPosition: "start", startIcon: _jsx(Icon, { children: "folder_open" }), variant: "outlined", className: classes.createButton, onClick: handleCreateDataPortabilityFile, children: (dataPortability && dataPortability.computing) || loading ? (_jsx(FormattedMessage, { id: "ui.accountDataPortability.createLoadingButton", defaultMessage: "ui.accountDataPortability.createLoadingButton" })) : (_jsx(FormattedMessage, { id: "ui.accountDataPortability.createButton", defaultMessage: "ui.accountDataPortability.createButton" })) }), dataPortability && !dataPortability.computing && dataPortability.generated_at && (_jsx(LoadingButton, { size: "small", loading: downloadingDataPortability, loadingPosition: "start", startIcon: _jsx(Icon, { children: "cloud_download_outlined" }), variant: 'outlined', className: classes.downloadButton, onClick: handleDownloadDataPortabilityFile, children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.downloadButton", defaultMessage: "ui.accountDataPortability.downloadButton" }) })), _jsx("br", {}), dataPortability && !dataPortability.computing && dataPortability.generated_at && (_jsx(Typography, { className: classes.generationInfo, variant: "body2", children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.generatedInfo", defaultMessage: "ui.accountDataPortability.generatedInfo", values: {
164
+ (dataPortability.requested_at && differenceInHours(new Date(), parseISO(dataPortability.requested_at.toString())) < 24))), loadingPosition: "start", startIcon: _jsx(Icon, { children: "folder_open" }), variant: "outlined", className: classes.createButton, onClick: handleCreateDataPortabilityFile }, { children: (dataPortability && dataPortability.computing) || loading ? (_jsx(FormattedMessage, { id: "ui.accountDataPortability.createLoadingButton", defaultMessage: "ui.accountDataPortability.createLoadingButton" })) : (_jsx(FormattedMessage, { id: "ui.accountDataPortability.createButton", defaultMessage: "ui.accountDataPortability.createButton" })) })), dataPortability && !dataPortability.computing && dataPortability.generated_at && (_jsx(LoadingButton, Object.assign({ size: "small", loading: downloadingDataPortability, loadingPosition: "start", startIcon: _jsx(Icon, { children: "cloud_download_outlined" }), variant: 'outlined', className: classes.downloadButton, onClick: handleDownloadDataPortabilityFile }, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.downloadButton", defaultMessage: "ui.accountDataPortability.downloadButton" }) }))), _jsx("br", {}), dataPortability && !dataPortability.computing && dataPortability.generated_at && (_jsx(Typography, Object.assign({ className: classes.generationInfo, variant: "body2" }, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortability.generatedInfo", defaultMessage: "ui.accountDataPortability.generatedInfo", values: {
165
165
  date: _jsx(FormattedDate, { value: dataPortability.requested_at, day: "numeric", month: "long", year: "numeric" }),
166
166
  time: _jsx(FormattedTime, { value: dataPortability.requested_at })
167
- } }) }))] })));
167
+ } }) })))] })));
168
168
  }
@@ -71,5 +71,5 @@ export default function AccountDataPortabilityButton(inProps) {
71
71
  if (!scUserContext.user) {
72
72
  return null;
73
73
  }
74
- return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ onClick: handleOpen, className: classNames(classes.root, className) }, rest, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortabilityButton.buttonLabel", defaultMessage: "ui.accountDataPortabilityButton.buttonLabel" }) })), open && (_jsx(DialogRoot, { title: _jsx(FormattedMessage, { id: "ui.accountDataPortabilityButton.dialogTitle", defaultMessage: "ui.accountDataPortabilityButton.dialogTitle", values: { username: scUserContext.user.username } }), onClose: handleClose, open: open, DialogContentProps: {}, children: _jsx(AccountDataPortability, {}) }))] }));
74
+ return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ onClick: handleOpen, className: classNames(classes.root, className) }, rest, { children: _jsx(FormattedMessage, { id: "ui.accountDataPortabilityButton.buttonLabel", defaultMessage: "ui.accountDataPortabilityButton.buttonLabel" }) })), open && (_jsx(DialogRoot, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.accountDataPortabilityButton.dialogTitle", defaultMessage: "ui.accountDataPortabilityButton.dialogTitle", values: { username: scUserContext.user.username } }), onClose: handleClose, open: open, DialogContentProps: {} }, { children: _jsx(AccountDataPortability, {}) })))] }));
75
75
  }
@@ -108,7 +108,7 @@ export default function AccountDelete(inProps) {
108
108
  /**
109
109
  * Renders root object
110
110
  */
111
- return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Typography, { className: classes.message, component: Box, children: _jsx(FormattedMessage, { id: "ui.accountDelete.message", defaultMessage: "ui.accountDelete.message", values: {
111
+ return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Typography, Object.assign({ className: classes.message, component: Box }, { children: _jsx(FormattedMessage, { id: "ui.accountDelete.message", defaultMessage: "ui.accountDelete.message", values: {
112
112
  communityName,
113
113
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
114
114
  // @ts-ignore
@@ -116,10 +116,10 @@ export default function AccountDelete(inProps) {
116
116
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
117
117
  // @ts-ignore
118
118
  ul: (chunks) => _jsx("ul", { children: chunks })
119
- } }) }), _jsxs(Typography, { className: classes.confirm, component: Box, children: [_jsx(FormattedMessage, { id: "ui.accountDelete.confirmMessage", defaultMessage: "ui.accountDelete.confirmMessage", values: {
119
+ } }) })), _jsxs(Typography, Object.assign({ className: classes.confirm, component: Box }, { children: [_jsx(FormattedMessage, { id: "ui.accountDelete.confirmMessage", defaultMessage: "ui.accountDelete.confirmMessage", values: {
120
120
  username: scUserContext.user.username,
121
121
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
122
122
  // @ts-ignore
123
123
  b: (chunks) => _jsx("b", { children: chunks })
124
- } }), _jsx(TextField, { name: "confirm", value: confirm, onChange: handleChange, autoComplete: "off", size: "small" })] }), error && _jsx(Typography, { color: "error", children: error }), _jsx(LoadingButton, { className: classes.button, size: "small", disabled: isDeleting || confirm !== scUserContext.user.username, variant: "outlined", onClick: handleDelete, children: _jsx(FormattedMessage, { id: "ui.accountDelete.buttonLabel", defaultMessage: "ui.accountDelete.buttonLabel" }) })] })));
124
+ } }), _jsx(TextField, { name: "confirm", value: confirm, onChange: handleChange, autoComplete: "off", size: "small" })] })), error && _jsx(Typography, Object.assign({ color: "error" }, { children: error })), _jsx(LoadingButton, Object.assign({ className: classes.button, size: "small", disabled: isDeleting || confirm !== scUserContext.user.username, variant: "outlined", onClick: handleDelete }, { children: _jsx(FormattedMessage, { id: "ui.accountDelete.buttonLabel", defaultMessage: "ui.accountDelete.buttonLabel" }) }))] })));
125
125
  }
@@ -75,5 +75,5 @@ export default function AccountDeleteButton(inProps) {
75
75
  if (!scUserContext.user) {
76
76
  return null;
77
77
  }
78
- return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ onClick: handleOpen, className: classNames(classes.root, className) }, rest, { children: _jsx(FormattedMessage, { id: "ui.accountDeleteButton.buttonLabel", defaultMessage: "ui.accountDeleteButton.buttonLabel" }) })), open && (_jsx(DialogRoot, { title: _jsx(FormattedMessage, { id: "ui.accountDeleteButton.dialogTitle", defaultMessage: "ui.accountDeleteButton.dialogTitle" }), onClose: handleClose, open: open, DialogContentProps: {}, children: _jsx(AccountDelete, { onDeleteAccount: handleDelete }) }))] }));
78
+ return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ onClick: handleOpen, className: classNames(classes.root, className) }, rest, { children: _jsx(FormattedMessage, { id: "ui.accountDeleteButton.buttonLabel", defaultMessage: "ui.accountDeleteButton.buttonLabel" }) })), open && (_jsx(DialogRoot, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.accountDeleteButton.dialogTitle", defaultMessage: "ui.accountDeleteButton.dialogTitle" }), onClose: handleClose, open: open, DialogContentProps: {} }, { children: _jsx(AccountDelete, { onDeleteAccount: handleDelete }) })))] }));
79
79
  }
@@ -101,10 +101,10 @@ export default function AccountRecover(inProps) {
101
101
  return null;
102
102
  }
103
103
  // RENDER
104
- return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: isSucceed ? (_jsxs(Alert, { severity: "success", className: classes.success, children: [intl.formatMessage({ id: 'ui.accountRecover.success', defaultMessage: 'ui.accountRecover.success' }, {
104
+ return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: isSucceed ? (_jsxs(Alert, Object.assign({ severity: "success", className: classes.success }, { children: [intl.formatMessage({ id: 'ui.accountRecover.success', defaultMessage: 'ui.accountRecover.success' }, {
105
105
  email,
106
106
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
107
107
  // @ts-ignore
108
108
  b: (chunks) => _jsx("b", { children: chunks })
109
- }), successAction] })) : (_jsxs("form", { className: classes.form, onSubmit: handleSubmit, children: [_jsx(EmailTextField, Object.assign({ className: classes.email, disabled: isSubmitting, label: _jsx(FormattedMessage, { id: "ui.accountRecover.email.label", defaultMessage: "ui.accountRecover.email.label" }) }, TextFieldProps, { value: email, onChange: handleChange, error: Boolean(emailError), helperText: emailError && (_jsx(FormattedMessage, { id: `ui.accountRecover.email.error.${emailError}`, defaultMessage: `ui.accountRecover.email.error.${emailError}` })) })), _jsx(Button, Object.assign({ type: "submit" }, ButtonProps, { disabled: !email || Boolean(emailError) || isSubmitting, children: _jsx(FormattedMessage, { id: "ui.accountRecover.submit", defaultMessage: "ui.accountRecover.submit" }) }))] })) })));
109
+ }), successAction] }))) : (_jsxs("form", Object.assign({ className: classes.form, onSubmit: handleSubmit }, { children: [_jsx(EmailTextField, Object.assign({ className: classes.email, disabled: isSubmitting, label: _jsx(FormattedMessage, { id: "ui.accountRecover.email.label", defaultMessage: "ui.accountRecover.email.label" }) }, TextFieldProps, { value: email, onChange: handleChange, error: Boolean(emailError), helperText: emailError && (_jsx(FormattedMessage, { id: `ui.accountRecover.email.error.${emailError}`, defaultMessage: `ui.accountRecover.email.error.${emailError}` })) })), _jsx(Button, Object.assign({ type: "submit" }, ButtonProps, { disabled: !email || Boolean(emailError) || isSubmitting }, { children: _jsx(FormattedMessage, { id: "ui.accountRecover.submit", defaultMessage: "ui.accountRecover.submit" }) }))] }))) })));
110
110
  }
@@ -141,5 +141,5 @@ export default function AccountReset(inProps) {
141
141
  return null;
142
142
  }
143
143
  // RENDER
144
- return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: isSucceed ? (_jsxs(Alert, { severity: "success", className: classes.success, children: [intl.formatMessage({ id: 'ui.accountReset.success', defaultMessage: 'ui.accountReset.success' }), successAction] })) : validationCodeError ? (_jsxs(Alert, { severity: "error", className: classes.error, children: [_jsx(FormattedMessage, { id: "ui.accountReset.code.error", defaultMessage: "ui.accountReset.code.error" }), errorAction] })) : isLoading ? (_jsxs(Box, { className: classes.validating, children: [_jsx(CircularProgress, {}), _jsx("p", { children: _jsx(FormattedMessage, { id: "ui.accountReset.code.validatingToken", defaultMessage: "ui.accountReset.code.validatingToken" }) })] })) : (_jsxs("form", { className: classes.form, onSubmit: handleSubmit, children: [_jsx(PasswordTextField, Object.assign({ className: classes.password, disabled: isSubmitting, label: _jsx(FormattedMessage, { id: "ui.accountReset.password.label", defaultMessage: "ui.accountReset.password.label" }) }, TextFieldProps, { value: password, onChange: handleChange, error: Boolean(passwordError), helperText: passwordError && (_jsx(FormattedMessage, { id: `ui.accountReset.password.error.${passwordError}`, defaultMessage: `ui.accountReset.password.error.${passwordError}` })) })), _jsx(Button, Object.assign({ type: "submit" }, ButtonProps, { disabled: !password || isSubmitting, children: _jsx(FormattedMessage, { id: "ui.accountReset.submit", defaultMessage: "ui.accountReset.submit" }) }))] })) })));
144
+ return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: isSucceed ? (_jsxs(Alert, Object.assign({ severity: "success", className: classes.success }, { children: [intl.formatMessage({ id: 'ui.accountReset.success', defaultMessage: 'ui.accountReset.success' }), successAction] }))) : validationCodeError ? (_jsxs(Alert, Object.assign({ severity: "error", className: classes.error }, { children: [_jsx(FormattedMessage, { id: "ui.accountReset.code.error", defaultMessage: "ui.accountReset.code.error" }), errorAction] }))) : isLoading ? (_jsxs(Box, Object.assign({ className: classes.validating }, { children: [_jsx(CircularProgress, {}), _jsx("p", { children: _jsx(FormattedMessage, { id: "ui.accountReset.code.validatingToken", defaultMessage: "ui.accountReset.code.validatingToken" }) })] }))) : (_jsxs("form", Object.assign({ className: classes.form, onSubmit: handleSubmit }, { children: [_jsx(PasswordTextField, Object.assign({ className: classes.password, disabled: isSubmitting, label: _jsx(FormattedMessage, { id: "ui.accountReset.password.label", defaultMessage: "ui.accountReset.password.label" }) }, TextFieldProps, { value: password, onChange: handleChange, error: Boolean(passwordError), helperText: passwordError && (_jsx(FormattedMessage, { id: `ui.accountReset.password.error.${passwordError}`, defaultMessage: `ui.accountReset.password.error.${passwordError}` })) })), _jsx(Button, Object.assign({ type: "submit" }, ButtonProps, { disabled: !password || isSubmitting }, { children: _jsx(FormattedMessage, { id: "ui.accountReset.submit", defaultMessage: "ui.accountReset.submit" }) }))] }))) })));
145
145
  }
@@ -84,5 +84,5 @@ export default function AccountVerify(inProps) {
84
84
  return null;
85
85
  }
86
86
  // RENDER
87
- return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: succeed ? (_jsxs(Alert, { severity: "success", className: classes.success, children: [typeof succeed === 'string' ? succeed : _jsx(FormattedMessage, { id: "ui.accountVerify.success", defaultMessage: "ui.accountVerify.success" }), successAction] })) : error ? (_jsxs(Alert, { severity: "error", className: classes.error, children: [_jsx(FormattedMessage, { id: "ui.accountVerify.error", defaultMessage: "ui.accountVerify.error" }), errorAction] })) : (_jsxs(_Fragment, { children: [_jsx(CircularProgress, {}), _jsx(FormattedMessage, { id: "ui.accountVerify.verifying", defaultMessage: "ui.accountVerify.verifying" })] })) })));
87
+ return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: succeed ? (_jsxs(Alert, Object.assign({ severity: "success", className: classes.success }, { children: [typeof succeed === 'string' ? succeed : _jsx(FormattedMessage, { id: "ui.accountVerify.success", defaultMessage: "ui.accountVerify.success" }), successAction] }))) : error ? (_jsxs(Alert, Object.assign({ severity: "error", className: classes.error }, { children: [_jsx(FormattedMessage, { id: "ui.accountVerify.error", defaultMessage: "ui.accountVerify.error" }), errorAction] }))) : (_jsxs(_Fragment, { children: [_jsx(CircularProgress, {}), _jsx(FormattedMessage, { id: "ui.accountVerify.verifying", defaultMessage: "ui.accountVerify.verifying" })] })) })));
88
88
  }
@@ -91,7 +91,7 @@ export default function BottomNavigation(inProps) {
91
91
  eventsEnabled &&
92
92
  !exploreStreamEnabled ? (_jsx(BottomNavigationAction, { className: classNames(classes.composer, classes.action), component: ComposerIconButton, disableRipple: true }, "composer")) : null,
93
93
  eventsEnabled ? (_jsx(BottomNavigationAction, { className: classes.action, component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, {}), value: scRoutingContext.url(SCRoutes.EVENTS_ROUTE_NAME, {}), icon: _jsx(Icon, { children: "CalendarIcon" }) }, "events")) : null,
94
- scUserContext.user && !groupsEnabled && !eventsEnabled ? (_jsx(BottomNavigationAction, { className: classes.action, component: Link, to: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}), value: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}), icon: _jsx(Badge, { badgeContent: scUserContext.user.unseen_notification_banners_counter + scUserContext.user.unseen_interactions_counter, color: "secondary", children: _jsx(Icon, { children: "notifications_active" }) }) }, "notifications")) : null,
95
- privateMessagingEnabled && scUserContext.user ? (_jsx(BottomNavigationAction, { className: classes.action, component: Link, to: scRoutingContext.url(SCRoutes.USER_PRIVATE_MESSAGES_ROUTE_NAME, {}), value: scRoutingContext.url(SCRoutes.USER_PRIVATE_MESSAGES_ROUTE_NAME, {}), icon: _jsx(Badge, { badgeContent: 0, color: "secondary", children: _jsx(Icon, { children: "email" }) }) }, "messages")) : null
94
+ scUserContext.user && !groupsEnabled && !eventsEnabled ? (_jsx(BottomNavigationAction, { className: classes.action, component: Link, to: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}), value: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}), icon: _jsx(Badge, Object.assign({ badgeContent: scUserContext.user.unseen_notification_banners_counter + scUserContext.user.unseen_interactions_counter, color: "secondary" }, { children: _jsx(Icon, { children: "notifications_active" }) })) }, "notifications")) : null,
95
+ privateMessagingEnabled && scUserContext.user ? (_jsx(BottomNavigationAction, { className: classes.action, component: Link, to: scRoutingContext.url(SCRoutes.USER_PRIVATE_MESSAGES_ROUTE_NAME, {}), value: scRoutingContext.url(SCRoutes.USER_PRIVATE_MESSAGES_ROUTE_NAME, {}), icon: _jsx(Badge, Object.assign({ badgeContent: 0, color: "secondary" }, { children: _jsx(Icon, { children: "email" }) })) }, "messages")) : null
96
96
  ] })));
97
97
  }
@@ -146,5 +146,5 @@ export default function BroadcastMessages(inProps) {
146
146
  onHeightChange && onHeightChange();
147
147
  }, [data.results.length, loading, viewAll, cacheStrategy]);
148
148
  const messagesToShow = [...unViewedMessages, ...data.results.slice(unViewedMessages.length, viewAll ? viewedMessageCounter : 1)];
149
- return (_jsxs(Root, Object.assign({ id: id, className: classNames(classes.root, className) }, rest, { children: [messagesToShow.map((message, index) => (_jsx(Box, { children: _jsx(Message, Object.assign({ message: message }, MessageProps, { onClose: handleDisposeMessage, onRead: handleMarkRead })) }, index))), loading && !disableLoader && _jsx(MessageSkeleton, {}), loading !== null && !loading && (data.next || (data.count > 1 && viewedMessageCounter > 0 && !viewAll)) && (_jsx(Widget, { className: classes.boxLoadMore, children: _jsx(CardContent, { children: _jsxs(Button, { variant: "text", onClick: fetchOtherMessages, disabled: loading, color: "inherit", classes: { root: classes.buttonLoadMore }, children: [_jsx(Avatar, { component: "span", className: classes.avatarLoadMore, alt: preferences[SCPreferences.TEXT_APPLICATION_NAME], src: preferences[SCPreferences.LOGO_NAVBAR_LOGO_MOBILE] }), _jsx(FormattedMessage, { id: "ui.broadcastMessages.loadMore", defaultMessage: "ui.broadcastMessages.loadMore" })] }) }) }))] })));
149
+ return (_jsxs(Root, Object.assign({ id: id, className: classNames(classes.root, className) }, rest, { children: [messagesToShow.map((message, index) => (_jsx(Box, { children: _jsx(Message, Object.assign({ message: message }, MessageProps, { onClose: handleDisposeMessage, onRead: handleMarkRead })) }, index))), loading && !disableLoader && _jsx(MessageSkeleton, {}), loading !== null && !loading && (data.next || (data.count > 1 && viewedMessageCounter > 0 && !viewAll)) && (_jsx(Widget, Object.assign({ className: classes.boxLoadMore }, { children: _jsx(CardContent, { children: _jsxs(Button, Object.assign({ variant: "text", onClick: fetchOtherMessages, disabled: loading, color: "inherit", classes: { root: classes.buttonLoadMore } }, { children: [_jsx(Avatar, { component: "span", className: classes.avatarLoadMore, alt: preferences[SCPreferences.TEXT_APPLICATION_NAME], src: preferences[SCPreferences.LOGO_NAVBAR_LOGO_MOBILE] }), _jsx(FormattedMessage, { id: "ui.broadcastMessages.loadMore", defaultMessage: "ui.broadcastMessages.loadMore" })] })) }) })))] })));
150
150
  }
@@ -83,7 +83,7 @@ export default function Message(props) {
83
83
  }, [message]);
84
84
  // RENDER
85
85
  const renderContent = (banner) => {
86
- return (_jsxs(_Fragment, { children: [_jsx(CardContent, { className: classes.title, children: _jsx(Typography, { variant: "h6", children: banner.title }) }), banner.image && _jsx(CardMedia, { className: classes.media, component: "img", image: banner.image, alt: banner.title }), (banner.body_text || banner.link_text) && (_jsxs(CardContent, { className: classes.content, children: [banner.body_text && (_jsx(Typography, { variant: "body1", color: "text.secondary", children: banner.body_text })), banner.link_text && (_jsx(Typography, { variant: "body1", color: "text.secondary", children: _jsx("a", { href: banner.link, target: banner.open_in_new_tab ? '_blank' : '_self', children: banner.link_text }) }))] }))] }));
86
+ return (_jsxs(_Fragment, { children: [_jsx(CardContent, Object.assign({ className: classes.title }, { children: _jsx(Typography, Object.assign({ variant: "h6" }, { children: banner.title })) })), banner.image && _jsx(CardMedia, { className: classes.media, component: "img", image: banner.image, alt: banner.title }), (banner.body_text || banner.link_text) && (_jsxs(CardContent, Object.assign({ className: classes.content }, { children: [banner.body_text && (_jsx(Typography, Object.assign({ variant: "body1", color: "text.secondary" }, { children: banner.body_text }))), banner.link_text && (_jsx(Typography, Object.assign({ variant: "body1", color: "text.secondary" }, { children: _jsx("a", Object.assign({ href: banner.link, target: banner.open_in_new_tab ? '_blank' : '_self' }, { children: banner.link_text })) })))] })))] }));
87
87
  };
88
88
  // Banner
89
89
  const { banner } = message;
@@ -92,10 +92,10 @@ export default function Message(props) {
92
92
  * With a fade in transition show the Card (Widget)
93
93
  * Include also MarkRead component to
94
94
  */
95
- return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className) }, rest, { children: _jsx(Fade, { in: open, unmountOnExit: true, children: _jsxs(Box, { children: [message.viewed_at === null && !disableMarkRead && (_jsx(MarkRead, { endpoint: Endpoints.BroadcastMessagesMarkRead, data: { banner_ids: [message.id] }, callback: handleOnRead })), _jsx(CardHeader, { className: classes.header, avatar: _jsx(Avatar, { alt: preferences[SCPreferences.TEXT_APPLICATION_NAME], src: preferences[SCPreferences.LOGO_NAVBAR_LOGO_MOBILE] }), action: template === SCBroadcastMessageTemplateType.DETAIL && (_jsx(IconButton, { "aria-label": "close", onClick: handleClose, disabled: closing, children: closing ? _jsx(CircularProgress, { size: 20 }) : _jsx(Icon, { children: "close" }) })), title: _jsx(Chip, { color: "secondary", size: "small", label: _jsx(FormattedMessage, { id: "ui.broadcastMessages.message.chip", defaultMessage: "ui.broadcastMessages.message.chip" }) }) }), renderContent(banner)] }) }) })));
95
+ return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className) }, rest, { children: _jsx(Fade, Object.assign({ in: open, unmountOnExit: true }, { children: _jsxs(Box, { children: [message.viewed_at === null && !disableMarkRead && (_jsx(MarkRead, { endpoint: Endpoints.BroadcastMessagesMarkRead, data: { banner_ids: [message.id] }, callback: handleOnRead })), _jsx(CardHeader, { className: classes.header, avatar: _jsx(Avatar, { alt: preferences[SCPreferences.TEXT_APPLICATION_NAME], src: preferences[SCPreferences.LOGO_NAVBAR_LOGO_MOBILE] }), action: template === SCBroadcastMessageTemplateType.DETAIL && (_jsx(IconButton, Object.assign({ "aria-label": "close", onClick: handleClose, disabled: closing }, { children: closing ? _jsx(CircularProgress, { size: 20 }) : _jsx(Icon, { children: "close" }) }))), title: _jsx(Chip, { color: "secondary", size: "small", label: _jsx(FormattedMessage, { id: "ui.broadcastMessages.message.chip", defaultMessage: "ui.broadcastMessages.message.chip" }) }) }), renderContent(banner)] }) })) })));
96
96
  }
97
97
  // SCBroadcastMessageTemplateType.SNIPPET
98
- return (_jsx(Root, Object.assign({ id: id, className: className }, rest, { children: _jsxs(ListItem, { alignItems: 'center', component: 'div', classes: {
98
+ return (_jsx(Root, Object.assign({ id: id, className: className }, rest, { children: _jsxs(ListItem, Object.assign({ alignItems: 'center', component: 'div', classes: {
99
99
  root: classNames(classes.listItemSnippet, classes.listItemSnippetNew)
100
- }, children: [_jsx(ListItemAvatar, { classes: { root: classes.messageIconWrap }, children: _jsx(Avatar, { variant: "circular", classes: { root: classes.messageIconSnippet }, children: _jsx(Icon, { children: "info" }) }) }), _jsx(ListItemText, { disableTypography: true, primary: _jsx(Link, { to: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}), children: _jsx(Typography, { component: "span", color: "inherit", children: banner.title }) }) })] }) })));
100
+ } }, { children: [_jsx(ListItemAvatar, Object.assign({ classes: { root: classes.messageIconWrap } }, { children: _jsx(Avatar, Object.assign({ variant: "circular", classes: { root: classes.messageIconSnippet } }, { children: _jsx(Icon, { children: "info" }) })) })), _jsx(ListItemText, { disableTypography: true, primary: _jsx(Link, Object.assign({ to: scRoutingContext.url(SCRoutes.USER_NOTIFICATIONS_ROUTE_NAME, {}) }, { children: _jsx(Typography, Object.assign({ component: "span", color: "inherit" }, { children: banner.title })) })) })] })) })));
101
101
  }
@@ -41,7 +41,7 @@ const MessageSkeletonRoot = styled(Widget, {
41
41
  */
42
42
  export function MessageSkeleton(props) {
43
43
  const theme = useTheme();
44
- return (_jsxs(MessageSkeletonRoot, { className: messageClasses.root, children: [_jsx(CardHeader, { className: messageClasses.header, avatar: _jsx(Skeleton, { animation: "wave", variant: "circular", width: theme.selfcommunity.user.avatar.sizeMedium, height: theme.selfcommunity.user.avatar.sizeMedium }), title: _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: 60, height: 20 }) }), _jsx(CardContent, { className: messageClasses.title, children: _jsx(React.Fragment, { children: _jsx(Skeleton, { animation: "wave", height: 10, width: "80%" }) }) }), _jsx(Box, { className: messageClasses.media, children: _jsx(Skeleton, { height: 190, animation: "wave", variant: "rectangular" }) }), _jsx(CardContent, { className: messageClasses.content, children: _jsxs(React.Fragment, { children: [_jsx(Skeleton, { animation: "wave", height: 10, width: "80%" }), _jsx(Skeleton, { animation: "wave", height: 10, width: 60 })] }) })] }));
44
+ return (_jsxs(MessageSkeletonRoot, Object.assign({ className: messageClasses.root }, { children: [_jsx(CardHeader, { className: messageClasses.header, avatar: _jsx(Skeleton, { animation: "wave", variant: "circular", width: theme.selfcommunity.user.avatar.sizeMedium, height: theme.selfcommunity.user.avatar.sizeMedium }), title: _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: 60, height: 20 }) }), _jsx(CardContent, Object.assign({ className: messageClasses.title }, { children: _jsx(React.Fragment, { children: _jsx(Skeleton, { animation: "wave", height: 10, width: "80%" }) }) })), _jsx(Box, Object.assign({ className: messageClasses.media }, { children: _jsx(Skeleton, { height: 190, animation: "wave", variant: "rectangular" }) })), _jsx(CardContent, Object.assign({ className: messageClasses.content }, { children: _jsxs(React.Fragment, { children: [_jsx(Skeleton, { animation: "wave", height: 10, width: "80%" }), _jsx(Skeleton, { animation: "wave", height: 10, width: 60 })] }) }))] })));
45
45
  }
46
46
  const classes = {
47
47
  root: `${PREFIX}-skeleton-root`
@@ -147,7 +147,7 @@ export default function Categories(inProps) {
147
147
  * Renders categories list
148
148
  */
149
149
  const filteredCategories = sortByAttr(getFilteredCategories(), 'order');
150
- const c = (_jsxs(_Fragment, { children: [showFilters && (_jsx(Grid, { container: true, direction: "row", justifyContent: "center", alignItems: "center", className: classes.filters, children: filters ? (filters) : (_jsx(Grid, { item: true, xs: 12, md: 6, children: _jsx(TextField, { fullWidth: true, value: filterName, label: _jsx(FormattedMessage, { id: "ui.categories.filterByName", defaultMessage: "ui.categories.filterByName" }), variant: "outlined", onChange: handleOnChangeFilterName, disabled: loading }) })) })), loading ? (_jsx(CategoriesSkeletonComponent, Object.assign({}, CategoriesSkeletonProps))) : (_jsx(Grid, { container: true, spacing: { xs: 3 }, className: classes.categories, children: !filteredCategories.length ? (_jsx(Grid, { item: true, children: _jsx(Typography, { className: classes.noResults, variant: "body2", children: _jsx(FormattedMessage, { id: "ui.categories.noResults", defaultMessage: "ui.categories.noResults" }) }) })) : (_jsx(_Fragment, { children: filteredCategories.map((category) => (_jsx(Grid, { item: true, xs: 12, sm: 6, md: 6, lg: 4, children: _jsx(CategoryComponent, Object.assign({ category: category }, CategoryComponentProps, { showTooltip: true, className: classes.category })) }, category.id))) })) }))] }));
150
+ const c = (_jsxs(_Fragment, { children: [showFilters && (_jsx(Grid, Object.assign({ container: true, direction: "row", justifyContent: "center", alignItems: "center", className: classes.filters }, { children: filters ? (filters) : (_jsx(Grid, Object.assign({ item: true, xs: 12, md: 6 }, { children: _jsx(TextField, { fullWidth: true, value: filterName, label: _jsx(FormattedMessage, { id: "ui.categories.filterByName", defaultMessage: "ui.categories.filterByName" }), variant: "outlined", onChange: handleOnChangeFilterName, disabled: loading }) }))) }))), loading ? (_jsx(CategoriesSkeletonComponent, Object.assign({}, CategoriesSkeletonProps))) : (_jsx(Grid, Object.assign({ container: true, spacing: { xs: 3 }, className: classes.categories }, { children: !filteredCategories.length ? (_jsx(Grid, Object.assign({ item: true }, { children: _jsx(Typography, Object.assign({ className: classes.noResults, variant: "body2" }, { children: _jsx(FormattedMessage, { id: "ui.categories.noResults", defaultMessage: "ui.categories.noResults" }) })) }))) : (_jsx(_Fragment, { children: filteredCategories.map((category) => (_jsx(Grid, Object.assign({ item: true, xs: 12, sm: 6, md: 6, lg: 4 }, { children: _jsx(CategoryComponent, Object.assign({ category: category }, CategoryComponentProps, { showTooltip: true, className: classes.category })) }), category.id))) })) })))] }));
151
151
  /**
152
152
  * Renders root object (if content availability community option is false and user is anonymous, component is hidden)
153
153
  */
@@ -36,5 +36,5 @@ const Root = styled(Box, {
36
36
  */
37
37
  export default function CategoriesSkeleton(inProps) {
38
38
  const { className, CategorySkeletonProps = {} } = inProps, rest = __rest(inProps, ["className", "CategorySkeletonProps"]);
39
- return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: _jsx(Grid, { container: true, spacing: { xs: 3 }, className: classes.categories, children: [...Array(15)].map((category, index) => (_jsx(Grid, { item: true, xs: 12, sm: 6, md: 4, children: _jsx(CategorySkeleton, Object.assign({ elevation: 0, variant: 'outlined' }, CategorySkeletonProps)) }, index))) }) })));
39
+ return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: _jsx(Grid, Object.assign({ container: true, spacing: { xs: 3 }, className: classes.categories }, { children: [...Array(15)].map((category, index) => (_jsx(Grid, Object.assign({ item: true, xs: 12, sm: 6, md: 4 }, { children: _jsx(CategorySkeleton, Object.assign({ elevation: 0, variant: 'outlined' }, CategorySkeletonProps)) }), index))) })) })));
40
40
  }
@@ -206,6 +206,6 @@ export default function CategoriesPopularWidget(inProps) {
206
206
  if (!state.initialized) {
207
207
  return _jsx(Skeleton, {});
208
208
  }
209
- const content = (_jsxs(CardContent, { children: [_jsx(Typography, { className: classes.title, variant: "h5", children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.title", defaultMessage: "ui.categoriesPopularWidget.title" }) }), !state.count ? (_jsx(Typography, { className: classes.noResults, variant: "body2", children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.noResults", defaultMessage: "ui.categoriesPopularWidget.noResults" }) })) : (_jsxs(React.Fragment, { children: [_jsx(List, { children: state.results.slice(0, state.visibleItems).map((category) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: category, categoryFollowButtonProps: { onFollow: handleFollowersUpdate } }, CategoryProps)) }, category.id))) }), state.count > state.visibleItems && (_jsx(Button, { className: classes.showMore, onClick: handleToggleDialogOpen, children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.button.showAll", defaultMessage: "ui.categoriesPopularWidget.button.showAll" }) }))] })), openDialog && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoriesPopularWidget.title", id: "ui.categoriesPopularWidget.title" }), onClose: handleToggleDialogOpen, open: openDialog }, DialogProps, { children: _jsx(InfiniteScroll, { dataLength: state.results.length, next: handleNext, hasMoreNext: Boolean(state.next), loaderNext: _jsx(CategorySkeleton, Object.assign({ elevation: 0 }, CategoryProps)), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, { className: classes.endMessage, children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.noMoreResults", defaultMessage: "ui.categoriesPopularWidget.noMoreResults" }) }), children: _jsx(List, { children: state.results.map((c) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: c }, CategoryProps, { categoryFollowButtonProps: { onFollow: handleFollowersUpdate } })) }, c.id))) }) }) })))] }));
209
+ const content = (_jsxs(CardContent, { children: [_jsx(Typography, Object.assign({ className: classes.title, variant: "h5" }, { children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.title", defaultMessage: "ui.categoriesPopularWidget.title" }) })), !state.count ? (_jsx(Typography, Object.assign({ className: classes.noResults, variant: "body2" }, { children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.noResults", defaultMessage: "ui.categoriesPopularWidget.noResults" }) }))) : (_jsxs(React.Fragment, { children: [_jsx(List, { children: state.results.slice(0, state.visibleItems).map((category) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: category, categoryFollowButtonProps: { onFollow: handleFollowersUpdate } }, CategoryProps)) }, category.id))) }), state.count > state.visibleItems && (_jsx(Button, Object.assign({ className: classes.showMore, onClick: handleToggleDialogOpen }, { children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.button.showAll", defaultMessage: "ui.categoriesPopularWidget.button.showAll" }) })))] })), openDialog && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoriesPopularWidget.title", id: "ui.categoriesPopularWidget.title" }), onClose: handleToggleDialogOpen, open: openDialog }, DialogProps, { children: _jsx(InfiniteScroll, Object.assign({ dataLength: state.results.length, next: handleNext, hasMoreNext: Boolean(state.next), loaderNext: _jsx(CategorySkeleton, Object.assign({ elevation: 0 }, CategoryProps)), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, Object.assign({ className: classes.endMessage }, { children: _jsx(FormattedMessage, { id: "ui.categoriesPopularWidget.noMoreResults", defaultMessage: "ui.categoriesPopularWidget.noMoreResults" }) })) }, { children: _jsx(List, { children: state.results.map((c) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: c }, CategoryProps, { categoryFollowButtonProps: { onFollow: handleFollowersUpdate } })) }, c.id))) }) })) })))] }));
210
210
  return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: content })));
211
211
  }
@@ -200,6 +200,6 @@ export default function CategoriesSuggestionWidget(inProps) {
200
200
  if (!state.initialized) {
201
201
  return _jsx(Skeleton, {});
202
202
  }
203
- const content = (_jsxs(CardContent, { children: [_jsx(Typography, { className: classes.title, variant: "h5", children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.title", defaultMessage: "ui.categoriesSuggestionWidget.title" }) }), !state.count ? (_jsx(Typography, { className: classes.noResults, variant: "body2", children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.noResults", defaultMessage: "ui.categoriesSuggestionWidget.noResults" }) })) : (_jsxs(React.Fragment, { children: [_jsx(List, { children: state.results.slice(0, state.visibleItems).map((category) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: category, categoryFollowButtonProps: { onFollow: handleFollow } }, CategoryProps)) }, category.id))) }), state.count > state.visibleItems && (_jsx(Button, { className: classes.showMore, onClick: handleToggleDialogOpen, children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.button.showAll", defaultMessage: "ui.categoriesSuggestionWidget.button.showAll" }) }))] })), openDialog && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoriesSuggestionWidget.title", id: "ui.categoriesSuggestionWidget.title" }), onClose: handleToggleDialogOpen, open: openDialog }, DialogProps, { children: _jsx(InfiniteScroll, { dataLength: state.results.length, next: handleNext, hasMoreNext: Boolean(state.next), loaderNext: _jsx(CategorySkeleton, Object.assign({ elevation: 0 }, CategoryProps)), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, { className: classes.endMessage, children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.noMoreResults", defaultMessage: "ui.categoriesSuggestionWidget.noMoreResults" }) }), children: _jsx(List, { children: state.results.map((c) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: c }, CategoryProps, { categoryFollowButtonProps: { onFollow: handleFollow } })) }, c.id))) }) }) })))] }));
203
+ const content = (_jsxs(CardContent, { children: [_jsx(Typography, Object.assign({ className: classes.title, variant: "h5" }, { children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.title", defaultMessage: "ui.categoriesSuggestionWidget.title" }) })), !state.count ? (_jsx(Typography, Object.assign({ className: classes.noResults, variant: "body2" }, { children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.noResults", defaultMessage: "ui.categoriesSuggestionWidget.noResults" }) }))) : (_jsxs(React.Fragment, { children: [_jsx(List, { children: state.results.slice(0, state.visibleItems).map((category) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: category, categoryFollowButtonProps: { onFollow: handleFollow } }, CategoryProps)) }, category.id))) }), state.count > state.visibleItems && (_jsx(Button, Object.assign({ className: classes.showMore, onClick: handleToggleDialogOpen }, { children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.button.showAll", defaultMessage: "ui.categoriesSuggestionWidget.button.showAll" }) })))] })), openDialog && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoriesSuggestionWidget.title", id: "ui.categoriesSuggestionWidget.title" }), onClose: handleToggleDialogOpen, open: openDialog }, DialogProps, { children: _jsx(InfiniteScroll, Object.assign({ dataLength: state.results.length, next: handleNext, hasMoreNext: Boolean(state.next), loaderNext: _jsx(CategorySkeleton, Object.assign({ elevation: 0 }, CategoryProps)), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, Object.assign({ className: classes.endMessage }, { children: _jsx(FormattedMessage, { id: "ui.categoriesSuggestionWidget.noMoreResults", defaultMessage: "ui.categoriesSuggestionWidget.noMoreResults" }) })) }, { children: _jsx(List, { children: state.results.map((c) => (_jsx(ListItem, { children: _jsx(Category, Object.assign({ elevation: 0, category: c }, CategoryProps, { categoryFollowButtonProps: { onFollow: handleFollow } })) }, c.id))) }) })) })))] }));
204
204
  return (_jsx(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: content })));
205
205
  }
@@ -35,5 +35,5 @@ const Root = styled(Widget, {
35
35
  *
36
36
  */
37
37
  export default function CategoriesSuggestionWidgetSkeleton(props) {
38
- return (_jsx(Root, Object.assign({ className: classes.root }, props, { children: _jsx(CardContent, { children: _jsx(List, { className: classes.list, children: [...Array(4)].map((category, index) => (_jsx(ListItem, { children: _jsx(CategorySkeleton, { elevation: 0 }) }, index))) }) }) })));
38
+ return (_jsx(Root, Object.assign({ className: classes.root }, props, { children: _jsx(CardContent, { children: _jsx(List, Object.assign({ className: classes.list }, { children: [...Array(4)].map((category, index) => (_jsx(ListItem, { children: _jsx(CategorySkeleton, { elevation: 0 }) }, index))) })) }) })));
39
39
  }
@@ -81,7 +81,7 @@ export default function Category(inProps) {
81
81
  }
82
82
  // RENDER
83
83
  if (!autoHide) {
84
- return (_jsx(Root, Object.assign({ disableTypography: showTooltip, elevation: elevation, className: classNames(classes.root, className, { [classes.followed]: scCategory.followed }, { [classes.autoFollowed]: scCategory.auto_follow === SCCategoryAutoFollowType.FORCED }), ButtonBaseProps: _ButtonBaseProps, image: _jsx(Avatar, { alt: scCategory.name, src: scCategory.image_medium, variant: "square", className: classes.categoryImage }), primary: _jsx(_Fragment, { children: showTooltip ? (_jsx(Tooltip, { title: scCategory.name, children: _jsx(Typography, { className: classes.primary, component: "span", variant: "body1", children: scCategory.name }) })) : (scCategory.name) }), secondary: _jsx(_Fragment, { children: showTooltip ? (_jsx(Typography, { className: classes.secondary, component: "p", variant: "body2", children: showFollowers ? `${intl.formatMessage(messages.categoryFollowers, { total: scCategory.followers_counter })}` : scCategory.slogan })) : (_jsx(_Fragment, { children: showFollowers ? `${intl.formatMessage(messages.categoryFollowers, { total: scCategory.followers_counter })}` : scCategory.slogan })) }), actions: _jsx(CategoryFollowButton, Object.assign({ category: scCategory }, categoryFollowButtonProps)) }, rest)));
84
+ return (_jsx(Root, Object.assign({ disableTypography: showTooltip, elevation: elevation, className: classNames(classes.root, className, { [classes.followed]: scCategory.followed }, { [classes.autoFollowed]: scCategory.auto_follow === SCCategoryAutoFollowType.FORCED }), ButtonBaseProps: _ButtonBaseProps, image: _jsx(Avatar, { alt: scCategory.name, src: scCategory.image_medium, variant: "square", className: classes.categoryImage }), primary: _jsx(_Fragment, { children: showTooltip ? (_jsx(Tooltip, Object.assign({ title: scCategory.name }, { children: _jsx(Typography, Object.assign({ className: classes.primary, component: "span", variant: "body1" }, { children: scCategory.name })) }))) : (scCategory.name) }), secondary: _jsx(_Fragment, { children: showTooltip ? (_jsx(Typography, Object.assign({ className: classes.secondary, component: "p", variant: "body2" }, { children: showFollowers ? `${intl.formatMessage(messages.categoryFollowers, { total: scCategory.followers_counter })}` : scCategory.slogan }))) : (_jsx(_Fragment, { children: showFollowers ? `${intl.formatMessage(messages.categoryFollowers, { total: scCategory.followers_counter })}` : scCategory.slogan })) }), actions: _jsx(CategoryFollowButton, Object.assign({ category: scCategory }, categoryFollowButtonProps)) }, rest)));
85
85
  }
86
86
  return null;
87
87
  }
@@ -38,5 +38,5 @@ const Root = styled(BaseItem, {
38
38
  */
39
39
  export default function CategorySkeleton(props) {
40
40
  const theme = useTheme();
41
- return (_jsx(Root, Object.assign({ className: classes.root }, props, { image: _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: theme.selfcommunity.category.icon.sizeMedium, height: theme.selfcommunity.category.icon.sizeMedium, className: classes.image }), primary: _jsx(Skeleton, { animation: "wave", height: 10, width: 120, className: classes.primary }), secondary: _jsx(Skeleton, { animation: "wave", height: 10, width: 70, className: classes.secondary }), actions: _jsx(Button, { size: "small", variant: "outlined", disabled: true, className: classes.button, children: _jsx(Skeleton, { animation: "wave", height: 10, width: 50, className: classes.action }) }) })));
41
+ return (_jsx(Root, Object.assign({ className: classes.root }, props, { image: _jsx(Skeleton, { animation: "wave", variant: "rectangular", width: theme.selfcommunity.category.icon.sizeMedium, height: theme.selfcommunity.category.icon.sizeMedium, className: classes.image }), primary: _jsx(Skeleton, { animation: "wave", height: 10, width: 120, className: classes.primary }), secondary: _jsx(Skeleton, { animation: "wave", height: 10, width: 70, className: classes.secondary }), actions: _jsx(Button, Object.assign({ size: "small", variant: "outlined", disabled: true, className: classes.button }, { children: _jsx(Skeleton, { animation: "wave", height: 10, width: 50, className: classes.action }) })) })));
42
42
  }
@@ -95,7 +95,7 @@ const CategoryAutocomplete = (inProps) => {
95
95
  }, renderOption: (props, option, { selected, inputValue }) => {
96
96
  const matches = match(option.name, inputValue);
97
97
  const parts = parse(option.name, matches);
98
- return (_jsxs("li", Object.assign({}, props, { children: [checkboxSelect && _jsx(Checkbox, { style: { marginRight: 8 }, checked: selected }), _jsx(Chip, { label: _jsx(React.Fragment, { children: parts.map((part, index) => (_jsx("span", { style: { fontWeight: part.highlight ? 700 : 400 }, children: part.text }, index))) }) })] })));
98
+ return (_jsxs("li", Object.assign({}, props, { children: [checkboxSelect && _jsx(Checkbox, { style: { marginRight: 8 }, checked: selected }), _jsx(Chip, { label: _jsx(React.Fragment, { children: parts.map((part, index) => (_jsx("span", Object.assign({ style: { fontWeight: part.highlight ? 700 : 400 } }, { children: part.text }), index))) }) })] })));
99
99
  }, renderInput: (params) => {
100
100
  return (_jsx(TextField, Object.assign({}, params, TextFieldProps, { margin: "dense", InputProps: Object.assign(Object.assign({}, params.InputProps), { autoComplete: 'categories', endAdornment: (_jsxs(React.Fragment, { children: [isLoading ? _jsx(CircularProgress, { color: "inherit", size: 20 }) : null, params.InputProps.endAdornment] })) }) })));
101
101
  } }, rest)));
@@ -123,5 +123,5 @@ export default function CategoryFollowersButton(inProps) {
123
123
  // RENDER
124
124
  const theme = useTheme();
125
125
  const isMobile = useMediaQuery(theme.breakpoints.down('md'));
126
- return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ className: classNames(classes.root, className), onClick: handleToggleDialogOpen, disabled: loading || !scCategory || scCategory.followers_counter === 0 }, rest, { children: loading || !scCategory ? (_jsx(AvatarGroupSkeleton, Object.assign({}, rest))) : (_jsx(AvatarGroup, { total: scCategory.followers_counter, children: followers.map((c) => (_jsx(Avatar, { alt: c.username, src: c.avatar }, c.id))) })) })), open && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoryFollowersButton.dialogTitle", id: "ui.categoryFollowersButton.dialogTitle", values: { total: scCategory.followers_counter } }), onClose: handleToggleDialogOpen, open: open }, DialogProps, { children: _jsx(InfiniteScroll, { dataLength: followers.length, next: fetchFollowers, hasMoreNext: next !== null || loading, loaderNext: _jsx(UserSkeleton, { elevation: 0 }), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, { className: classes.endMessage, children: _jsx(FormattedMessage, { id: "ui.categoryFollowersButton.noOtherFollowers", defaultMessage: "ui.categoryFollowersButton.noOtherFollowers" }) }), children: _jsx(List, { children: followers.map((follower) => (_jsx(ListItem, { children: _jsx(User, { elevation: 0, user: follower }) }, follower.id))) }) }) })))] }));
126
+ return (_jsxs(_Fragment, { children: [_jsx(Root, Object.assign({ className: classNames(classes.root, className), onClick: handleToggleDialogOpen, disabled: loading || !scCategory || scCategory.followers_counter === 0 }, rest, { children: loading || !scCategory ? (_jsx(AvatarGroupSkeleton, Object.assign({}, rest))) : (_jsx(AvatarGroup, Object.assign({ total: scCategory.followers_counter }, { children: followers.map((c) => (_jsx(Avatar, { alt: c.username, src: c.avatar }, c.id))) }))) })), open && (_jsx(DialogRoot, Object.assign({ className: classes.dialogRoot, title: _jsx(FormattedMessage, { defaultMessage: "ui.categoryFollowersButton.dialogTitle", id: "ui.categoryFollowersButton.dialogTitle", values: { total: scCategory.followers_counter } }), onClose: handleToggleDialogOpen, open: open }, DialogProps, { children: _jsx(InfiniteScroll, Object.assign({ dataLength: followers.length, next: fetchFollowers, hasMoreNext: next !== null || loading, loaderNext: _jsx(UserSkeleton, { elevation: 0 }), height: isMobile ? '100%' : 400, endMessage: _jsx(Typography, Object.assign({ className: classes.endMessage }, { children: _jsx(FormattedMessage, { id: "ui.categoryFollowersButton.noOtherFollowers", defaultMessage: "ui.categoryFollowersButton.noOtherFollowers" }) })) }, { children: _jsx(List, { children: followers.map((follower) => (_jsx(ListItem, { children: _jsx(User, { elevation: 0, user: follower }) }, follower.id))) }) })) })))] }));
127
127
  }
@@ -74,5 +74,5 @@ export default function CategoryHeader(inProps) {
74
74
  if (!scCategory) {
75
75
  return null;
76
76
  }
77
- return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Paper, { style: _backgroundCover, classes: { root: classes.cover } }), _jsxs(Box, { className: classes.info, children: [_jsx(Typography, { variant: "h3", className: classes.name, gutterBottom: true, children: scCategory.name }), scCategory.slogan && (_jsx(Typography, { variant: "h5", className: classes.slogan, children: scCategory.slogan })), _jsxs(Box, { className: classes.followed, children: [_jsx(Typography, { className: classes.followedCounter, component: "div", children: _jsx(FormattedMessage, { id: "ui.categoryHeader.followedBy", defaultMessage: "ui.categoryHeader.followedBy", values: { total: scCategory.followers_counter } }) }), _jsx(CategoryFollowersButton, Object.assign({ category: scCategory, categoryId: scCategory === null || scCategory === void 0 ? void 0 : scCategory.id }, CategoryFollowersButtonProps))] }), _jsx(Box, { className: classes.action, children: _jsx(CategoryFollowButton, Object.assign({ category: scCategory, onFollow: handleFollow }, CategoryFollowButtonProps)) })] })] })));
77
+ return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, rest, { children: [_jsx(Paper, { style: _backgroundCover, classes: { root: classes.cover } }), _jsxs(Box, Object.assign({ className: classes.info }, { children: [_jsx(Typography, Object.assign({ variant: "h3", className: classes.name, gutterBottom: true }, { children: scCategory.name })), scCategory.slogan && (_jsx(Typography, Object.assign({ variant: "h5", className: classes.slogan }, { children: scCategory.slogan }))), _jsxs(Box, Object.assign({ className: classes.followed }, { children: [_jsx(Typography, Object.assign({ className: classes.followedCounter, component: "div" }, { children: _jsx(FormattedMessage, { id: "ui.categoryHeader.followedBy", defaultMessage: "ui.categoryHeader.followedBy", values: { total: scCategory.followers_counter } }) })), _jsx(CategoryFollowersButton, Object.assign({ category: scCategory, categoryId: scCategory === null || scCategory === void 0 ? void 0 : scCategory.id }, CategoryFollowersButtonProps))] })), _jsx(Box, Object.assign({ className: classes.action }, { children: _jsx(CategoryFollowButton, Object.assign({ category: scCategory, onFollow: handleFollow }, CategoryFollowButtonProps)) }))] }))] })));
78
78
  }