@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
@@ -250,9 +250,9 @@ export default function ConsentSolution(inProps) {
250
250
  return null;
251
251
  }
252
252
  const isAccept = Boolean(doc.ack && doc.ack.accepted_at);
253
- return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, { className: classes.title, children: _jsx(FormattedMessage, { id: "ui.consentSolution.acceptDocumentTitle", defaultMessage: "ui.consentSolution.acceptDocumentTitle", values: { label: doc.title } }) }), _jsx(DialogContent, { className: classes.content, dividers: true, ref: contentDialog, children: _jsx(Typography, { component: "div", gutterBottom: true, dangerouslySetInnerHTML: {
253
+ return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, Object.assign({ className: classes.title }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.acceptDocumentTitle", defaultMessage: "ui.consentSolution.acceptDocumentTitle", values: { label: doc.title } }) })), _jsx(DialogContent, Object.assign({ className: classes.content, dividers: true, ref: contentDialog }, { children: _jsx(Typography, { component: "div", gutterBottom: true, dangerouslySetInnerHTML: {
254
254
  __html: getDocumentBody(doc)
255
- } }) }), _jsxs(DialogContent, { className: classes.consent, dividers: true, children: [_jsx(FormControlLabel, { className: classes.consentSwitch, control: _jsx(ConsentSolutionSwitch, { loading: loadingAck, disabled: loadingAck, checked: isAccept, onChange: () => handleChangeConsent(!isAccept), name: "consent" }), label: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.consentSwitchLabel", defaultMessage: "ui.consentSolution.consentSwitchLabel" }) }) }), rejected ? (_jsxs(Alert, { severity: "error", className: classes.alertAcceptDocument, children: [_jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountAlert", defaultMessage: "ui.consentSolution.deleteAccountAlert" }), _jsx("a", { onClick: () => setView(REJECTION_VIEW), className: classes.deleteAccountButton, children: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccount", defaultMessage: "ui.consentSolution.deleteAccount" }) }) })] })) : (_jsx(_Fragment, { children: _jsx(Typography, { variant: "body2", className: classes.acceptConditions, children: _jsx(FormattedMessage, { id: "ui.consentSolution.consentSwitchDetail", defaultMessage: "ui.consentSolution.consentSwitchDetail" }) }) }))] }), _jsxs(DialogActions, { className: classes.actions, children: [currentDocument > 0 && (_jsx(Button, { size: "small", onClick: () => setCurrentDocument((prev) => prev - 1), className: classes.backButton, children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) })), currentDocument < documents.length - 1 ? (_jsx(Button, { size: "small", variant: 'outlined', disabled: !isAccept, onClick: handleNext, className: classes.nextButton, children: _jsx(FormattedMessage, { id: "ui.consentSolution.nextButton", defaultMessage: "ui.consentSolution.nextButton" }) })) : (_jsx(Button, { size: "small", variant: 'outlined', disabled: !isAccept, onClick: (e) => handleClose(e, null), className: classes.closeButton, children: _jsx(FormattedMessage, { id: "ui.consentSolution.closeButton", defaultMessage: "ui.consentSolution.closeButton" }) }))] })] }));
255
+ } }) })), _jsxs(DialogContent, Object.assign({ className: classes.consent, dividers: true }, { children: [_jsx(FormControlLabel, { className: classes.consentSwitch, control: _jsx(ConsentSolutionSwitch, { loading: loadingAck, disabled: loadingAck, checked: isAccept, onChange: () => handleChangeConsent(!isAccept), name: "consent" }), label: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.consentSwitchLabel", defaultMessage: "ui.consentSolution.consentSwitchLabel" }) }) }), rejected ? (_jsxs(Alert, Object.assign({ severity: "error", className: classes.alertAcceptDocument }, { children: [_jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountAlert", defaultMessage: "ui.consentSolution.deleteAccountAlert" }), _jsx("a", Object.assign({ onClick: () => setView(REJECTION_VIEW), className: classes.deleteAccountButton }, { children: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccount", defaultMessage: "ui.consentSolution.deleteAccount" }) }) }))] }))) : (_jsx(_Fragment, { children: _jsx(Typography, Object.assign({ variant: "body2", className: classes.acceptConditions }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.consentSwitchDetail", defaultMessage: "ui.consentSolution.consentSwitchDetail" }) })) }))] })), _jsxs(DialogActions, Object.assign({ className: classes.actions }, { children: [currentDocument > 0 && (_jsx(Button, Object.assign({ size: "small", onClick: () => setCurrentDocument((prev) => prev - 1), className: classes.backButton }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) }))), currentDocument < documents.length - 1 ? (_jsx(Button, Object.assign({ size: "small", variant: 'outlined', disabled: !isAccept, onClick: handleNext, className: classes.nextButton }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.nextButton", defaultMessage: "ui.consentSolution.nextButton" }) }))) : (_jsx(Button, Object.assign({ size: "small", variant: 'outlined', disabled: !isAccept, onClick: (e) => handleClose(e, null), className: classes.closeButton }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.closeButton", defaultMessage: "ui.consentSolution.closeButton" }) })))] }))] }));
256
256
  };
257
257
  /**
258
258
  * Render document detail view
@@ -262,13 +262,13 @@ export default function ConsentSolution(inProps) {
262
262
  if (!doc) {
263
263
  return null;
264
264
  }
265
- return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, { className: classNames(classes.title, classes.titleBack), children: _jsx(Button, { size: "small", variant: 'outlined', onClick: () => setView(ACCEPT_VIEW), className: classes.backButton, startIcon: _jsx(Icon, { children: "arrow_back" }), children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) }) }), _jsxs(DialogContent, { className: classes.content, dividers: true, children: [_jsx(AccountDataPortability, { className: classes.dataPortability }), _jsx(Typography, { variant: "h6", children: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountDpSectionTitle", defaultMessage: "ui.consentSolution.deleteAccountDpSectionTitle", values: { username: capitalize(scUserContext.user.username) } }) }), _jsx("ul", { children: intl.formatMessage(messages.deleteAccountDpSectionInfo, { communityName, li: (chunks) => _jsx("li", { children: chunks }) }) }), _jsx(FormControlLabel, { control: _jsx(Checkbox, { className: classes.dataPortabilityCheck, checked: dataPortabilityChecked, onChange: () => setDataPortabilityChecked((p) => !p) }), label: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountDpSectionCheckboxLabel", defaultMessage: "ui.consentSolution.deleteAccountDpSectionCheckboxLabel" }) }), _jsx("br", {}), _jsx(Button, { size: "small", startIcon: _jsx(Icon, { children: "delete_outlined" }), disabled: !dataPortabilityChecked, variant: 'contained', className: classes.confirmDeleteAccountButton, onClick: () => setView(CONFIRM_DELETE_ACCOUNT), children: _jsx(FormattedMessage, { id: "ui.consentSolution.confirmDeleteAccountButton", defaultMessage: "ui.consentSolution.confirmDeleteAccountButton" }) }), _jsx(Button, { size: "small", variant: 'outlined', className: classes.logoutAccountButton, startIcon: _jsx(Icon, { children: "upload" }), onClick: handleLogout, children: _jsx(FormattedMessage, { id: "ui.consentSolution.logoutImmediatelyButton", defaultMessage: "ui.consentSolution.logoutImmediatelyButton" }) })] })] }));
265
+ return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, Object.assign({ className: classNames(classes.title, classes.titleBack) }, { children: _jsx(Button, Object.assign({ size: "small", variant: 'outlined', onClick: () => setView(ACCEPT_VIEW), className: classes.backButton, startIcon: _jsx(Icon, { children: "arrow_back" }) }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) })) })), _jsxs(DialogContent, Object.assign({ className: classes.content, dividers: true }, { children: [_jsx(AccountDataPortability, { className: classes.dataPortability }), _jsx(Typography, Object.assign({ variant: "h6" }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountDpSectionTitle", defaultMessage: "ui.consentSolution.deleteAccountDpSectionTitle", values: { username: capitalize(scUserContext.user.username) } }) })), _jsx("ul", { children: intl.formatMessage(messages.deleteAccountDpSectionInfo, { communityName, li: (chunks) => _jsx("li", { children: chunks }) }) }), _jsx(FormControlLabel, { control: _jsx(Checkbox, { className: classes.dataPortabilityCheck, checked: dataPortabilityChecked, onChange: () => setDataPortabilityChecked((p) => !p) }), label: _jsx(FormattedMessage, { id: "ui.consentSolution.deleteAccountDpSectionCheckboxLabel", defaultMessage: "ui.consentSolution.deleteAccountDpSectionCheckboxLabel" }) }), _jsx("br", {}), _jsx(Button, Object.assign({ size: "small", startIcon: _jsx(Icon, { children: "delete_outlined" }), disabled: !dataPortabilityChecked, variant: 'contained', className: classes.confirmDeleteAccountButton, onClick: () => setView(CONFIRM_DELETE_ACCOUNT) }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.confirmDeleteAccountButton", defaultMessage: "ui.consentSolution.confirmDeleteAccountButton" }) })), _jsx(Button, Object.assign({ size: "small", variant: 'outlined', className: classes.logoutAccountButton, startIcon: _jsx(Icon, { children: "upload" }), onClick: handleLogout }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.logoutImmediatelyButton", defaultMessage: "ui.consentSolution.logoutImmediatelyButton" }) }))] }))] }));
266
266
  };
267
267
  /**
268
268
  * Render delete account view
269
269
  */
270
270
  const renderDeleteAccountView = () => {
271
- return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, { className: classNames(classes.title, classes.titleBack), children: _jsx(Button, { size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: () => setView(REJECTION_VIEW), className: classes.backButton, startIcon: _jsx(Icon, { children: "arrow_back" }), children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) }) }), _jsxs(DialogContent, { className: classes.content, dividers: true, children: [_jsx(Typography, { variant: "body2", children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountTitle", defaultMessage: "ui.consentSolution.removeAccountTitle" }) }), _jsx("ul", { children: intl.formatMessage(messages.deleteAccountDpSectionInfo, { communityName, li: (chunks) => _jsx("li", { children: chunks }) }) }), _jsx("br", {}), _jsx(Typography, { variant: "body2", children: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountConfirm", defaultMessage: "ui.consentSolution.removeAccountConfirm" }) }) })] }), _jsxs(DialogActions, { className: classes.actions, children: [_jsx(Button, { size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: () => setView(REJECTION_VIEW), children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountCancelButton", defaultMessage: "ui.consentSolution.removeAccountCancelButton" }) }), _jsx(Button, { size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: handleConfirmDeleteAccount, children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountConfirmButton", defaultMessage: "ui.consentSolution.removeAccountConfirmButton" }) })] })] }));
271
+ return (_jsxs(_Fragment, { children: [_jsx(DialogTitle, Object.assign({ className: classNames(classes.title, classes.titleBack) }, { children: _jsx(Button, Object.assign({ size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: () => setView(REJECTION_VIEW), className: classes.backButton, startIcon: _jsx(Icon, { children: "arrow_back" }) }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.backButton", defaultMessage: "ui.consentSolution.backButton" }) })) })), _jsxs(DialogContent, Object.assign({ className: classes.content, dividers: true }, { children: [_jsx(Typography, Object.assign({ variant: "body2" }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountTitle", defaultMessage: "ui.consentSolution.removeAccountTitle" }) })), _jsx("ul", { children: intl.formatMessage(messages.deleteAccountDpSectionInfo, { communityName, li: (chunks) => _jsx("li", { children: chunks }) }) }), _jsx("br", {}), _jsx(Typography, Object.assign({ variant: "body2" }, { children: _jsx("b", { children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountConfirm", defaultMessage: "ui.consentSolution.removeAccountConfirm" }) }) }))] })), _jsxs(DialogActions, Object.assign({ className: classes.actions }, { children: [_jsx(Button, Object.assign({ size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: () => setView(REJECTION_VIEW) }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountCancelButton", defaultMessage: "ui.consentSolution.removeAccountCancelButton" }) })), _jsx(Button, Object.assign({ size: "small", disabled: loadingDeleteAccount, variant: 'outlined', onClick: handleConfirmDeleteAccount }, { children: _jsx(FormattedMessage, { id: "ui.consentSolution.removeAccountConfirmButton", defaultMessage: "ui.consentSolution.removeAccountConfirmButton" }) }))] }))] }));
272
272
  };
273
273
  /**
274
274
  * If there's no authUserId, component is hidden.
@@ -43,5 +43,5 @@ const Root = styled(Box, {
43
43
  */
44
44
  export default function ConsentSolutionSkeleton() {
45
45
  const ContentSection = () => (_jsxs(_Fragment, { children: [_jsx(Skeleton, { animation: "wave", height: 20, width: "100%" }), _jsx(Skeleton, { animation: "wave", height: 20, width: "80%" }), _jsx(Skeleton, { animation: "wave", height: 20, width: "60%" }), _jsx(Skeleton, { animation: "wave", height: 20, width: "30%" }), _jsx("br", {})] }));
46
- return (_jsxs(Root, { className: classes.root, children: [_jsx(DialogTitle, { className: classes.title, children: _jsx(Skeleton, { animation: "wave", height: 25, width: "70%" }) }), _jsx(DialogContent, { className: classes.content, dividers: true, children: [...Array(2)].map((_, i) => (_jsx(ContentSection, {}, i))) }), _jsxs(DialogContent, { className: classes.consent, dividers: true, children: [_jsx(Skeleton, { height: 64, className: classes.consentSwitch }), _jsx(Skeleton, { animation: "wave", height: 20, width: "50%", variant: 'text', className: classes.consentSwitchLabel })] }), _jsx(DialogActions, { className: classes.actions, children: _jsx(Skeleton, { animation: "wave", height: 40, width: "20%" }) })] }));
46
+ return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsx(DialogTitle, Object.assign({ className: classes.title }, { children: _jsx(Skeleton, { animation: "wave", height: 25, width: "70%" }) })), _jsx(DialogContent, Object.assign({ className: classes.content, dividers: true }, { children: [...Array(2)].map((_, i) => (_jsx(ContentSection, {}, i))) })), _jsxs(DialogContent, Object.assign({ className: classes.consent, dividers: true }, { children: [_jsx(Skeleton, { height: 64, className: classes.consentSwitch }), _jsx(Skeleton, { animation: "wave", height: 20, width: "50%", variant: 'text', className: classes.consentSwitchLabel })] })), _jsx(DialogActions, Object.assign({ className: classes.actions }, { children: _jsx(Skeleton, { animation: "wave", height: 40, width: "20%" }) }))] })));
47
47
  }
@@ -76,5 +76,5 @@ export default function CreateEventButton(inProps) {
76
76
  /**
77
77
  * Renders root object
78
78
  */
79
- return (_jsxs(React.Fragment, { children: [_jsx(Root, Object.assign({ className: classNames(classes.root, className), onClick: handleClick, variant: "contained", color: "secondary", startIcon: !((_b = EventFormDialogComponentProps.EventFormComponentProps) === null || _b === void 0 ? void 0 : _b.event) && _jsx(Icon, { fontSize: "small", children: "add" }) }, rest, { children: children !== null && children !== void 0 ? children : _jsx(FormattedMessage, { id: "ui.createEventButton", defaultMessage: "ui.createEventButton" }) })), open && _jsx(EventFormDialog, Object.assign({}, EventFormDialogComponentProps, { open: true, onClose: handleClick }))] }));
79
+ return (_jsxs(React.Fragment, { children: [_jsx(Root, Object.assign({ className: classNames(classes.root, className), onClick: handleClick, variant: "contained", color: "secondary", startIcon: !((_b = EventFormDialogComponentProps.EventFormComponentProps) === null || _b === void 0 ? void 0 : _b.event) && _jsx(Icon, Object.assign({ fontSize: "small" }, { children: "add" })) }, rest, { children: children !== null && children !== void 0 ? children : _jsx(FormattedMessage, { id: "ui.createEventButton", defaultMessage: "ui.createEventButton" }) })), open && _jsx(EventFormDialog, Object.assign({}, EventFormDialogComponentProps, { open: true, onClose: handleClick }))] }));
80
80
  }
@@ -60,5 +60,5 @@ export default function CreateEventWidget(inProps) {
60
60
  if (!eventsEnabled || (!canCreateEvent && onlyStaffEnabled) || !authUserId) {
61
61
  return _jsx(HiddenPlaceholder, {});
62
62
  }
63
- return (_jsxs(Root, Object.assign({ className: classes.root }, rest, { children: [_jsxs(Box, { position: "relative", children: [_jsx(CardMedia, { component: "img", image: `${preferences[SCPreferences.IMAGES_USER_DEFAULT_COVER].value}`, alt: "placeholder image", className: classes.image }), _jsx(Icon, { className: classes.calendar, fontSize: "large", children: "CalendarIcon" })] }), _jsxs(CardContent, { className: classes.content, children: [_jsx(Typography, { variant: "h5", className: classes.title, children: _jsx(FormattedMessage, { id: "ui.createEvent.title", defaultMessage: "ui.createEvent.title" }) }), _jsx(Typography, { variant: "body1", className: classes.spaging, children: _jsx(FormattedMessage, { id: "ui.createEvent.description", defaultMessage: "ui.createEvent.description" }) }), _jsx(Divider, { className: classes.spaging })] }), _jsx(CardActions, { className: classes.actions, children: _jsx(CreateEventButton, Object.assign({}, CreateEventButtonComponentProps)) })] })));
63
+ return (_jsxs(Root, Object.assign({ className: classes.root }, rest, { children: [_jsxs(Box, Object.assign({ position: "relative" }, { children: [_jsx(CardMedia, { component: "img", image: `${preferences[SCPreferences.IMAGES_USER_DEFAULT_COVER].value}`, alt: "placeholder image", className: classes.image }), _jsx(Icon, Object.assign({ className: classes.calendar, fontSize: "large" }, { children: "CalendarIcon" }))] })), _jsxs(CardContent, Object.assign({ className: classes.content }, { children: [_jsx(Typography, Object.assign({ variant: "h5", className: classes.title }, { children: _jsx(FormattedMessage, { id: "ui.createEvent.title", defaultMessage: "ui.createEvent.title" }) })), _jsx(Typography, Object.assign({ variant: "body1", className: classes.spaging }, { children: _jsx(FormattedMessage, { id: "ui.createEvent.description", defaultMessage: "ui.createEvent.description" }) })), _jsx(Divider, { className: classes.spaging })] })), _jsx(CardActions, Object.assign({ className: classes.actions }, { children: _jsx(CreateEventButton, Object.assign({}, CreateEventButtonComponentProps)) }))] })));
64
64
  }
@@ -17,5 +17,5 @@ const Root = styled(Widget, {
17
17
  slot: 'SkeletonRoot'
18
18
  })(() => ({}));
19
19
  export default function CreateEventWidgetSkeleton() {
20
- return (_jsxs(Root, { className: classes.root, children: [_jsxs(Box, { position: "relative", children: [_jsx(Skeleton, { variant: "rectangular", animation: "wave", width: "100%", height: "110px" }), _jsx(Skeleton, { className: classes.calendar, variant: "rounded", animation: "wave", width: "50px", height: "50px" })] }), _jsxs(CardContent, { className: classes.content, children: [_jsx(Skeleton, { className: classes.title, animation: "wave", width: "26%", height: "30px" }), _jsx(Skeleton, { className: classes.spacing, animation: "wave", width: "100%", height: "20px" }), _jsx(Divider, { className: classes.spacing })] }), _jsx(CardActions, { className: classes.actions, children: _jsx(Skeleton, { animation: "wave", variant: "rounded", width: "138px", height: "36px" }) })] }));
20
+ return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [_jsxs(Box, Object.assign({ position: "relative" }, { children: [_jsx(Skeleton, { variant: "rectangular", animation: "wave", width: "100%", height: "110px" }), _jsx(Skeleton, { className: classes.calendar, variant: "rounded", animation: "wave", width: "50px", height: "50px" })] })), _jsxs(CardContent, Object.assign({ className: classes.content }, { children: [_jsx(Skeleton, { className: classes.title, animation: "wave", width: "26%", height: "30px" }), _jsx(Skeleton, { className: classes.spacing, animation: "wave", width: "100%", height: "20px" }), _jsx(Divider, { className: classes.spacing })] })), _jsx(CardActions, Object.assign({ className: classes.actions }, { children: _jsx(Skeleton, { animation: "wave", variant: "rounded", width: "138px", height: "36px" }) }))] })));
21
21
  }
@@ -76,7 +76,6 @@ export default function CreateLiveStreamDialog(inProps) {
76
76
  preferences[SCPreferences.CONFIGURATIONS_LIVE_STREAM_ENABLED].value*/ [preferences, features]);
77
77
  const onlyStaffLiveStreamEnabled = useMemo(() => true /* preferences[SCPreferences.CONFIGURATIONS_LIVESTREAM_ONLY_STAFF_ENABLED].value */, [preferences]);
78
78
  const canCreateLiveStream = useMemo(() => true /* liveStreamEnabled && (scUserContext?.user?.permission?.create_livestream || (onlyStaffLiveStreamEnabled && UserUtils.isStaff(scUserContext.user)))*/, [scUserContext === null || scUserContext === void 0 ? void 0 : scUserContext.user, onlyStaffLiveStreamEnabled]);
79
- console.log(canCreateLiveStream);
80
79
  const eventsEnabled = useMemo(() => preferences &&
81
80
  features &&
82
81
  features.includes(SCFeatureName.TAGGING) &&
@@ -84,9 +83,7 @@ export default function CreateLiveStreamDialog(inProps) {
84
83
  preferences[SCPreferences.CONFIGURATIONS_EVENTS_ENABLED].value, [preferences, features]);
85
84
  const onlyStaffEventEnabled = useMemo(() => preferences[SCPreferences.CONFIGURATIONS_EVENTS_ONLY_STAFF_ENABLED].value, [preferences]);
86
85
  const canCreateEvent = useMemo(() => { var _a, _b; return eventsEnabled && (((_b = (_a = scUserContext === null || scUserContext === void 0 ? void 0 : scUserContext.user) === null || _a === void 0 ? void 0 : _a.permission) === null || _b === void 0 ? void 0 : _b.create_event) || true || (onlyStaffEventEnabled && UserUtils.isStaff(scUserContext.user))); }, [scUserContext === null || scUserContext === void 0 ? void 0 : scUserContext.user, eventsEnabled, onlyStaffEventEnabled]);
87
- console.log(canCreateEvent);
88
86
  const canCreateLiveStreamEvent = useMemo(() => Boolean(canCreateLiveStream && canCreateEvent), [canCreateEvent, canCreateLiveStream]);
89
- console.log(canCreateLiveStreamEvent);
90
87
  // STATE
91
88
  const [step, setStep] = useState(canCreateLiveStreamEvent ? CreateLiveStreamStep.SELECT_TYPE : CreateLiveStreamStep.CREATE_LIVE);
92
89
  const [liveType, setLiveType] = useState(canCreateLiveStreamEvent ? null : LiveStreamType.DIRECT_LIVE);
@@ -116,5 +113,5 @@ export default function CreateLiveStreamDialog(inProps) {
116
113
  /**
117
114
  * Renders root object
118
115
  */
119
- return (_jsx(Root, Object.assign({ DialogContentProps: { dividers: false }, maxWidth: 'md', title: _jsxs(Box, { className: classes.title, component: 'span', children: [step === CreateLiveStreamStep.CREATE_LIVE && (_jsx(Button, { variant: "text", onClick: handleBack, startIcon: _jsx(Icon, { children: "arrow_back" }), children: "Back" })), _jsx(Box, { component: 'span', children: _jsx(FormattedMessage, { id: "ui.createLivestreamDialog.title", defaultMessage: "ui.createLivestreamDialog.title" }) })] }), fullWidth: true, open: open, onClose: onClose, className: classNames(classes.root, className), TransitionComponent: Transition, PaperProps: { elevation: 0 } }, rest, { children: _jsxs(Box, { className: classes.content, children: [step === CreateLiveStreamStep.SELECT_TYPE && (_jsx(LiveStreamSelector, { liveSelected: liveType, onLiveSelected: handleLiveTypeSelected, onNext: handleLiveTypeSelectedNext })), step === CreateLiveStreamStep.CREATE_LIVE && (_jsx(_Fragment, { children: liveType === LiveStreamType.EVENT_LIVE ? _jsx(EventForm, { onSuccess: handleSubmit }) : _jsx(LiveStreamForm, { onSuccess: handleSubmit }) }))] }) })));
116
+ return (_jsx(Root, Object.assign({ DialogContentProps: { dividers: false }, maxWidth: 'md', title: _jsxs(Box, Object.assign({ className: classes.title, component: 'span' }, { children: [Boolean(step === CreateLiveStreamStep.CREATE_LIVE && canCreateLiveStreamEvent) && (_jsx(Button, Object.assign({ variant: "text", onClick: handleBack, startIcon: _jsx(Icon, { children: "arrow_back" }) }, { children: "Back" }))), _jsx(Box, Object.assign({ component: 'span' }, { children: _jsx(FormattedMessage, { id: "ui.createLivestreamDialog.title", defaultMessage: "ui.createLivestreamDialog.title" }) }))] })), fullWidth: true, open: open, onClose: onClose, className: classNames(classes.root, className), TransitionComponent: Transition, PaperProps: { elevation: 0 } }, rest, { children: _jsxs(Box, Object.assign({ className: classes.content }, { children: [step === CreateLiveStreamStep.SELECT_TYPE && (_jsx(LiveStreamSelector, { liveSelected: liveType, onLiveSelected: handleLiveTypeSelected, onNext: handleLiveTypeSelectedNext })), step === CreateLiveStreamStep.CREATE_LIVE && (_jsx(_Fragment, { children: liveType === LiveStreamType.EVENT_LIVE ? _jsx(EventForm, { onSuccess: handleSubmit }) : _jsx(LiveStreamForm, { onSuccess: handleSubmit }) }))] })) })));
120
117
  }
@@ -22,7 +22,10 @@ const Root = styled(Container, {
22
22
  [`& .${classes.options}`]: {
23
23
  display: 'flex',
24
24
  justifyContent: 'center',
25
- alignItems: 'center'
25
+ alignItems: 'center',
26
+ '& > div': {
27
+ width: '310px'
28
+ }
26
29
  },
27
30
  [`& .${classes.actions}`]: {
28
31
  display: 'flex',
@@ -62,16 +65,16 @@ const OptionCard = styled(Paper, {
62
65
  }
63
66
  }));
64
67
  const RadioIndicator = styled(Radio, {
65
- shouldForwardProp: (prop) => prop !== 'selected'
68
+ // shouldForwardProp: (prop) => prop !== 'selected'
66
69
  })(({ theme, selected }) => ({
67
- width: 16,
68
- height: 16,
69
- borderRadius: '50%',
70
- border: `2px solid ${selected ? theme.palette.secondary.main : theme.palette.grey[300]}`,
71
- backgroundColor: selected ? theme.palette.secondary.main : 'transparent',
72
- transition: theme.transitions.create(['border-color', 'background-color'], {
73
- duration: theme.transitions.duration.shortest
74
- })
70
+ /* width: 16,
71
+ height: 16,
72
+ borderRadius: '50%',
73
+ border: `2px solid ${selected ? theme.palette.secondary.main : theme.palette.grey[300]}`,
74
+ backgroundColor: selected ? theme.palette.secondary.main : 'transparent',
75
+ transition: theme.transitions.create(['border-color', 'background-color'], {
76
+ duration: theme.transitions.duration.shortest
77
+ }) */
75
78
  }));
76
79
  const FeatureItem = styled(Box)(({ theme }) => ({
77
80
  display: 'flex',
@@ -151,13 +154,13 @@ export default function LiveStreamSelector(inProps) {
151
154
  onNext && onNext(selectedOption);
152
155
  }
153
156
  };
154
- return (_jsxs(Root, { className: classNames(classes.root, className), maxWidth: "lg", sx: { py: 4 }, children: [_jsx(Typography, { variant: "h4", component: "h1", align: "center", gutterBottom: true, sx: { mb: 4, fontWeight: 500 }, children: "How do you want to go live?" }), _jsx(Box, { className: classes.options, children: options.map((option, index) => (_jsxs(OptionCard, { selected: selectedOption === option.type, onClick: () => handleOptionSelect(option.type), elevation: 0, role: "button", tabIndex: 0, onKeyDown: (e) => {
157
+ return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className), maxWidth: "lg", sx: { py: 4 } }, { children: [_jsx(Typography, Object.assign({ variant: "h4", component: "h1", align: "center", gutterBottom: true, sx: { mb: 4, fontWeight: 500 } }, { children: "How do you want to go live?" })), _jsx(Box, Object.assign({ className: classes.options }, { children: options.map((option, index) => (_jsxs(OptionCard, Object.assign({ selected: selectedOption === option.type, onClick: () => handleOptionSelect(option.type), elevation: 0, role: "button", tabIndex: 0, onKeyDown: (e) => {
155
158
  if (e.key === 'Enter' || e.key === ' ') {
156
159
  handleOptionSelect(index);
157
160
  e.preventDefault();
158
161
  }
159
- }, theme: undefined, children: [_jsxs(Box, { children: [_jsx(Typography, { variant: "h6", component: "h2", sx: { fontWeight: 500 }, children: option.title }), _jsx(RadioIndicator, { selected: selectedOption === option.type, theme: undefined })] }), _jsx(Box, { component: "ul", children: option.features.map((feature, featureIndex) => {
162
+ }, theme: undefined }, { children: [_jsxs(Box, { children: [_jsx(Typography, Object.assign({ variant: "h6", component: "h2", sx: { fontWeight: 500 } }, { children: option.title })), _jsx(Radio, { checked: selectedOption === option.type })] }), _jsx(Box, Object.assign({ component: "ul" }, { children: option.features.map((feature, featureIndex) => {
160
163
  const _Icon = option.icons[featureIndex];
161
- return (_jsxs(FeatureItem, { component: "li", children: [_Icon, _jsx(Typography, { variant: "body2", color: "text.secondary", sx: { flex: 1 }, children: feature })] }, featureIndex));
162
- }) })] }, index))) }), _jsx(Box, { className: classes.actions, children: _jsx(Button, { disabled: !selectedOption, variant: "contained", onClick: handleNext, color: "secondary", children: "Next" }) })] }));
164
+ return (_jsxs(FeatureItem, Object.assign({ component: "li" }, { children: [_Icon, _jsx(Typography, Object.assign({ variant: "body2", color: "text.secondary", sx: { flex: 1 } }, { children: feature }))] }), featureIndex));
165
+ }) }))] }), index))) })), _jsx(Box, Object.assign({ className: classes.actions }, { children: _jsx(Button, Object.assign({ disabled: !selectedOption, variant: "contained", onClick: handleNext, color: "secondary" }, { children: "Next" })) }))] })));
163
166
  }
@@ -130,6 +130,6 @@ export default function CustomAdv(inProps) {
130
130
  if (!scCustomAdv) {
131
131
  return _jsx(HiddenPlaceholder, {});
132
132
  }
133
- const adv = (_jsxs(Box, { className: classes.wrap, children: [scCustomAdv.image && (_jsx("img", { src: scCustomAdv.image, alt: scCustomAdv.title, className: classNames(classes.image, { [classes.prefixedHeight]: Boolean(prefixedHeight) }) })), scCustomAdv.embed_code && (_jsx(Box, { ref: embedRef, className: classNames(classes.embedCode, { [classes.prefixedHeight]: Boolean(prefixedHeight) }), dangerouslySetInnerHTML: { __html: scCustomAdv.embed_code } }))] }));
134
- return (_jsx(Root, { id: id, className: classNames(classes.root, className), ref: ref, style: Object.assign({}, (prefixedHeight ? { paddingBottom: prefixedHeight } : { width: '100%' })), children: scCustomAdv.link ? (_jsx("a", { href: scCustomAdv.link, title: scCustomAdv.title, children: adv })) : (adv) }));
133
+ const adv = (_jsxs(Box, Object.assign({ className: classes.wrap }, { children: [scCustomAdv.image && (_jsx("img", { src: scCustomAdv.image, alt: scCustomAdv.title, className: classNames(classes.image, { [classes.prefixedHeight]: Boolean(prefixedHeight) }) })), scCustomAdv.embed_code && (_jsx(Box, { ref: embedRef, className: classNames(classes.embedCode, { [classes.prefixedHeight]: Boolean(prefixedHeight) }), dangerouslySetInnerHTML: { __html: scCustomAdv.embed_code } }))] })));
134
+ return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className), ref: ref, style: Object.assign({}, (prefixedHeight ? { paddingBottom: prefixedHeight } : { width: '100%' })) }, { children: scCustomAdv.link ? (_jsx("a", Object.assign({ href: scCustomAdv.link, title: scCustomAdv.title }, { children: adv }))) : (adv) })));
135
135
  }
@@ -142,6 +142,6 @@ const Editor = (inProps, ref) => {
142
142
  nodes: [...nodes],
143
143
  theme: editorTheme
144
144
  }), [editable]);
145
- return (_jsx(Root, { id: id, className: classNames(classes.root, className, { [classes.toolbar]: toolbar, [classes.focused]: focused }), children: _jsxs(LexicalComposer, { initialConfig: initialConfig, children: [toolbar ? (_jsxs(_Fragment, { children: [_jsx(ToolbarPlugin, { uploadImage: uploadImage }), _jsx(ListPlugin, {}), _jsx(HorizontalRulePlugin, {})] })) : (_jsxs(Stack, { className: classes.actions, direction: "row", children: [uploadImage && _jsx(ImagePlugin, {}), _jsx(EmojiPlugin, {})] })), _jsx(RichTextPlugin, { contentEditable: _jsx(ContentEditable, { className: classes.content }), placeholder: _jsx(Box, { className: classes.placeholder, onClick: handleFocus, children: _jsx(FormattedMessage, { id: "ui.editor.placeholder", defaultMessage: "ui.editor.placeholder" }) }), ErrorBoundary: LexicalErrorBoundary }), _jsx(DefaultHtmlValuePlugin, { defaultValue: defaultValue }), _jsx(HistoryPlugin, {}), _jsx(OnChangePlugin, { onChange: handleChange }), _jsx(OnBlurPlugin, { onBlur: handleHasBlur }), _jsx(OnFocusPlugin, { onFocus: handleHasFocus }), _jsx(AutoLinkPlugin, {}), _jsx(MentionsPlugin, {}), _jsx(LinkPlugin, {}), _jsx(FloatingLinkPlugin, {}), _jsx(ApiPlugin, { ref: apiRef })] }) }));
145
+ return (_jsx(Root, Object.assign({ id: id, className: classNames(classes.root, className, { [classes.toolbar]: toolbar, [classes.focused]: focused }) }, { children: _jsxs(LexicalComposer, Object.assign({ initialConfig: initialConfig }, { children: [toolbar ? (_jsxs(_Fragment, { children: [_jsx(ToolbarPlugin, { uploadImage: uploadImage }), _jsx(ListPlugin, {}), _jsx(HorizontalRulePlugin, {})] })) : (_jsxs(Stack, Object.assign({ className: classes.actions, direction: "row" }, { children: [uploadImage && _jsx(ImagePlugin, {}), _jsx(EmojiPlugin, {})] }))), _jsx(RichTextPlugin, { contentEditable: _jsx(ContentEditable, { className: classes.content }), placeholder: _jsx(Box, Object.assign({ className: classes.placeholder, onClick: handleFocus }, { children: _jsx(FormattedMessage, { id: "ui.editor.placeholder", defaultMessage: "ui.editor.placeholder" }) })), ErrorBoundary: LexicalErrorBoundary }), _jsx(DefaultHtmlValuePlugin, { defaultValue: defaultValue }), _jsx(HistoryPlugin, {}), _jsx(OnChangePlugin, { onChange: handleChange }), _jsx(OnBlurPlugin, { onBlur: handleHasBlur }), _jsx(OnFocusPlugin, { onFocus: handleHasFocus }), _jsx(AutoLinkPlugin, {}), _jsx(MentionsPlugin, {}), _jsx(LinkPlugin, {}), _jsx(FloatingLinkPlugin, {}), _jsx(ApiPlugin, { ref: apiRef })] })) })));
146
146
  };
147
147
  export default forwardRef(Editor);
@@ -91,7 +91,7 @@ function ImageComponent({ src, altText, nodeKey, maxWidth }) {
91
91
  unregister();
92
92
  };
93
93
  }, [clearSelection, editor, isSelected, nodeKey, onDelete, onEnter, onEscape, setSelected]);
94
- return (_jsx(Suspense, { fallback: null, children: _jsx(LazyImage, { className: isSelected ? `selected` : null, src: src, altText: altText, imageRef: imageRef, maxWidth: maxWidth }) }));
94
+ return (_jsx(Suspense, Object.assign({ fallback: null }, { children: _jsx(LazyImage, { className: isSelected ? `selected` : null, src: src, altText: altText, imageRef: imageRef, maxWidth: maxWidth }) })));
95
95
  }
96
96
  function convertImageElement(domNode) {
97
97
  if (domNode instanceof HTMLImageElement) {
@@ -22,7 +22,7 @@ function Emoji({ editor, className = '' }) {
22
22
  if (isMobile) {
23
23
  return null;
24
24
  }
25
- return (_jsxs(_Fragment, { children: [_jsx(IconButton, { className: className, onClick: handleOpen, children: _jsx(Icon, { children: "sentiment_satisfied_alt" }) }), _jsx(Popover, { open: Boolean(emojiAnchorEl), anchorEl: emojiAnchorEl, onClose: () => setEmojiAnchorEl(null), TransitionComponent: Fade, anchorOrigin: {
25
+ return (_jsxs(_Fragment, { children: [_jsx(IconButton, Object.assign({ className: className, onClick: handleOpen }, { children: _jsx(Icon, { children: "sentiment_satisfied_alt" }) })), _jsx(Popover, Object.assign({ open: Boolean(emojiAnchorEl), anchorEl: emojiAnchorEl, onClose: () => setEmojiAnchorEl(null), TransitionComponent: Fade, anchorOrigin: {
26
26
  vertical: 'top',
27
27
  horizontal: 'right'
28
28
  }, transformOrigin: {
@@ -30,7 +30,7 @@ function Emoji({ editor, className = '' }) {
30
30
  horizontal: 'left'
31
31
  }, sx: (theme) => {
32
32
  return { zIndex: theme.zIndex.tooltip };
33
- }, children: _jsx(EmojiPicker, { onEmojiClick: handleEmojiClick }) })] }));
33
+ } }, { children: _jsx(EmojiPicker, { onEmojiClick: handleEmojiClick }) }))] }));
34
34
  }
35
35
  const classes = {
36
36
  root: `${PREFIX}-emoji-plugin-root`
@@ -93,13 +93,13 @@ function FloatingLinkPlugin({ editor, isLink, setIsLink }) {
93
93
  if (!isLink || linkUrl === hideForUrl) {
94
94
  return null;
95
95
  }
96
- return (_jsx(Root, { className: classes.root, open: Boolean(anchorEl), anchorEl: anchorEl, placement: "right", children: _jsx(Paper, { children: _jsx(TextField, { size: "small", value: linkUrl, variant: "outlined", onChange: (event) => {
96
+ return (_jsx(Root, Object.assign({ className: classes.root, open: Boolean(anchorEl), anchorEl: anchorEl, placement: "right" }, { children: _jsx(Paper, { children: _jsx(TextField, { size: "small", value: linkUrl, variant: "outlined", onChange: (event) => {
97
97
  setLinkUrl(event.target.value);
98
98
  }, InputProps: {
99
- endAdornment: (_jsxs(InputAdornment, { position: "end", children: [_jsx(IconButton, { size: "small", tabIndex: 0, onClick: () => {
99
+ endAdornment: (_jsxs(InputAdornment, Object.assign({ position: "end" }, { children: [_jsx(IconButton, Object.assign({ size: "small", tabIndex: 0, onClick: () => {
100
100
  setIsLink(false);
101
- }, children: _jsx(Icon, { children: "close" }) }), _jsx(IconButton, { size: "small", tabIndex: 1, onClick: handleLinkSubmission, children: _jsx(Icon, { children: "check" }) })] }))
102
- } }) }) }));
101
+ } }, { children: _jsx(Icon, { children: "close" }) })), _jsx(IconButton, Object.assign({ size: "small", tabIndex: 1, onClick: handleLinkSubmission }, { children: _jsx(Icon, { children: "check" }) }))] })))
102
+ } }) }) })));
103
103
  }
104
104
  function useFloatingLinkEditorToolbar(editor) {
105
105
  const [activeEditor, setActiveEditor] = useState(editor);
@@ -60,7 +60,7 @@ function useHashtagLookupService(hashtagString) {
60
60
  }
61
61
  function HashtagsTypeaheadItem({ index, isHovered, isSelected, onClick, onMouseEnter, onMouseLeave, result }) {
62
62
  const liRef = useRef(null);
63
- return (_jsx("li", { tabIndex: -1, className: classNames('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick, children: result.name }, result.id));
63
+ return (_jsx("li", Object.assign({ tabIndex: -1, className: classNames('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick }, { children: result.name }), result.id));
64
64
  }
65
65
  function HashtagsTypeahead({ close, editor, resolution, className = '', containerEl = null }) {
66
66
  const divRef = useRef(null);
@@ -176,13 +176,13 @@ function HashtagsTypeahead({ close, editor, resolution, className = '', containe
176
176
  if (results === null) {
177
177
  return null;
178
178
  }
179
- return (_jsx("div", { className: className, "aria-label": "Suggested hashtags", ref: divRef, role: "listbox", children: _jsx("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => (_jsx(HashtagsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
179
+ return (_jsx("div", Object.assign({ className: className, "aria-label": "Suggested hashtags", ref: divRef, role: "listbox" }, { children: _jsx("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => (_jsx(HashtagsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
180
180
  applyCurrentSelected(i);
181
181
  }, onMouseEnter: () => {
182
182
  setHoveredIndex(i);
183
183
  }, onMouseLeave: () => {
184
184
  setHoveredIndex(null);
185
- }, result: result }, result.id))) }) }));
185
+ }, result: result }, result.id))) }) })));
186
186
  }
187
187
  function checkForCapitalizedNameHashtags(text, minMatchLength) {
188
188
  const match = CapitalizedNameHashtagsRegex.exec(text);
@@ -17,7 +17,7 @@ import { PREFIX } from '../constants';
17
17
  export const INSERT_IMAGE_COMMAND = createCommand();
18
18
  const UploadButton = asUploadButton(forwardRef((_a, ref) => {
19
19
  var { progress = null } = _a, rest = __rest(_a, ["progress"]);
20
- return (_jsx(IconButton, Object.assign({}, rest, { "aria-label": "upload image", ref: ref, children: progress ? _jsx(CircularProgress, { variant: "determinate", value: progress, size: "1rem" }) : _jsx(Icon, { color: "inherit", children: "image" }) })));
20
+ return (_jsx(IconButton, Object.assign({}, rest, { "aria-label": "upload image", ref: ref }, { children: progress ? _jsx(CircularProgress, { variant: "determinate", value: progress, size: "1rem" }) : _jsx(Icon, Object.assign({ color: "inherit" }, { children: "image" })) })));
21
21
  }));
22
22
  function Image({ editor, className = '' }) {
23
23
  // CONTEXT
@@ -53,17 +53,17 @@ function Image({ editor, className = '' }) {
53
53
  if (!scUserContext.user) {
54
54
  return null;
55
55
  }
56
- return (_jsxs(ChunkedUploady, { destination: {
56
+ return (_jsxs(ChunkedUploady, Object.assign({ destination: {
57
57
  url: `${scContext.settings.portal}${Endpoints.ComposerChunkUploadMedia.url()}`,
58
58
  headers: Object.assign({}, (scContext.settings.session &&
59
59
  scContext.settings.session.authToken && {
60
60
  Authorization: `Bearer ${scContext.settings.session.authToken.accessToken}`
61
61
  })),
62
62
  method: Endpoints.ComposerChunkUploadMedia.method
63
- }, chunkSize: 204800, multiple: true, accept: "image/*", fileFilter: handleFileUploadFilter, children: [_jsx(MediaChunkUploader, { type: "eimage", onSuccess: handleUploadSuccess, onProgress: handleUploadProgress, onError: handleUploadError }), _jsx(UploadButton, { className: className, extraProps: {
63
+ }, chunkSize: 204800, multiple: true, accept: "image/*", fileFilter: handleFileUploadFilter }, { children: [_jsx(MediaChunkUploader, { type: "eimage", onSuccess: handleUploadSuccess, onProgress: handleUploadProgress, onError: handleUploadError }), _jsx(UploadButton, { className: className, extraProps: {
64
64
  disabled: Object.keys(uploading).length !== 0,
65
65
  progress: Object.keys(uploading).length !== 0 ? Object.values(uploading)[0].completed : null
66
- } })] }));
66
+ } })] })));
67
67
  }
68
68
  const classes = {
69
69
  root: `${PREFIX}-image-plugin-root`
@@ -201,7 +201,7 @@ function useMentionLookupService(mentionString) {
201
201
  }
202
202
  function MentionsTypeaheadItem({ index, isHovered, isSelected, onClick, onMouseEnter, onMouseLeave, result }) {
203
203
  const liRef = useRef(null);
204
- return (_jsxs("li", { tabIndex: -1, className: classNames('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick, children: [_jsx(Avatar, { alt: result.username, src: result.avatar }), " ", result.username] }, result.id));
204
+ return (_jsxs("li", Object.assign({ tabIndex: -1, className: classNames('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick }, { children: [_jsx(Avatar, { alt: result.username, src: result.avatar }), " ", result.username] }), result.id));
205
205
  }
206
206
  function MentionsTypeahead({ close, editor, resolution, className = '' }) {
207
207
  const divRef = useRef(null);
@@ -295,13 +295,13 @@ function MentionsTypeahead({ close, editor, resolution, className = '' }) {
295
295
  if (results === null) {
296
296
  return null;
297
297
  }
298
- return (_jsx("div", { className: className, "aria-label": "Suggested mentions", ref: divRef, role: "listbox", children: _jsx("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => (_jsx(MentionsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
298
+ return (_jsx("div", Object.assign({ className: className, "aria-label": "Suggested mentions", ref: divRef, role: "listbox" }, { children: _jsx("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => (_jsx(MentionsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
299
299
  applyCurrentSelected(i);
300
300
  }, onMouseEnter: () => {
301
301
  setHoveredIndex(i);
302
302
  }, onMouseLeave: () => {
303
303
  setHoveredIndex(null);
304
- }, result: result }, result.id))) }) }));
304
+ }, result: result }, result.id))) }) })));
305
305
  }
306
306
  function checkForCapitalizedNameMentions(text, minMatchLength) {
307
307
  const match = CapitalizedNameMentionsRegex.exec(text);
@@ -526,7 +526,7 @@ function useMentions(editor, anchorClassName = null) {
526
526
  if (!anchorElementRef) {
527
527
  return null;
528
528
  }
529
- return (_jsx(ClickAwayListener, { onClickAway: closeTypeahead, children: _jsx(Portal, { container: anchorElementRef, children: _jsx(Root, { close: closeTypeahead, resolution: resolution, editor: editor, className: classes.root }) }) }));
529
+ return (_jsx(ClickAwayListener, Object.assign({ onClickAway: closeTypeahead }, { children: _jsx(Portal, Object.assign({ container: anchorElementRef }, { children: _jsx(Root, { close: closeTypeahead, resolution: resolution, editor: editor, className: classes.root }) })) })));
530
530
  }
531
531
  export default function MentionsPlugin() {
532
532
  const [editor] = useLexicalComposerContext();
@@ -109,7 +109,7 @@ function BlockFormatIconButton({ className = '', editor, blockType, disabled = f
109
109
  const handleClose = () => {
110
110
  setAnchorEl(null);
111
111
  };
112
- return (_jsxs(_Fragment, { children: [_jsx(IconButton, { className: className, disabled: disabled, onClick: handleOpen, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.blockType", defaultMessage: "ui.editor.toolbarPlugin.blockType" }), children: _jsxs(_Fragment, { children: [_jsx(Icon, { children: blockTypeToBlockIcon[blockType] }), _jsx(Icon, { children: anchorEl ? 'expand_less' : 'expand_more' })] }) }) }), _jsx(Menu, { anchorEl: anchorEl, open: Boolean(anchorEl), onClose: handleClose, children: Object.keys(blockTypeToBlockIcon).map((block) => (_jsx(MenuItem, { onClick: handleSelect(block), children: _jsx(Icon, { children: blockTypeToBlockIcon[block] }) }, block))) })] }));
112
+ return (_jsxs(_Fragment, { children: [_jsx(IconButton, Object.assign({ className: className, disabled: disabled, onClick: handleOpen }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.blockType", defaultMessage: "ui.editor.toolbarPlugin.blockType" }) }, { children: _jsxs(_Fragment, { children: [_jsx(Icon, { children: blockTypeToBlockIcon[blockType] }), _jsx(Icon, { children: anchorEl ? 'expand_less' : 'expand_more' })] }) })) })), _jsx(Menu, Object.assign({ anchorEl: anchorEl, open: Boolean(anchorEl), onClose: handleClose }, { children: Object.keys(blockTypeToBlockIcon).map((block) => (_jsx(MenuItem, Object.assign({ onClick: handleSelect(block) }, { children: _jsx(Icon, { children: blockTypeToBlockIcon[block] }) }), block))) }))] }));
113
113
  }
114
114
  const classes = {
115
115
  root: `${PREFIX}-toolbar-plugin-root`,
@@ -262,11 +262,11 @@ export default function ToolbarPlugin(inProps) {
262
262
  editor.dispatchCommand(TOGGLE_LINK_COMMAND, null);
263
263
  }
264
264
  }, [editor, isLink]);
265
- return (_jsxs(Root, { className: classes.root, children: [blockType in blockTypeToBlockIcon && activeEditor === editor && (_jsx(BlockFormatIconButton, { className: classes.blockFormat, disabled: !isEditable, blockType: blockType, editor: editor })), _jsx(IconButton, { disabled: !isEditable, onClick: () => {
265
+ return (_jsxs(Root, Object.assign({ className: classes.root }, { children: [blockType in blockTypeToBlockIcon && activeEditor === editor && (_jsx(BlockFormatIconButton, { className: classes.blockFormat, disabled: !isEditable, blockType: blockType, editor: editor })), _jsx(IconButton, Object.assign({ disabled: !isEditable, onClick: () => {
266
266
  activeEditor.dispatchCommand(FORMAT_ELEMENT_COMMAND, ALIGNMENTS[(ALIGNMENTS.findIndex((a) => alignment === a) + 1) % ALIGNMENTS.length]);
267
- }, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: `ui.editor.toolbarPlugin.${alignment}`, defaultMessage: `ui.editor.toolbarPlugin.${alignment}` }), children: _jsx(Icon, { children: `format_align_${alignment}` }) }) }), _jsx(ToggleButtonGroup, { value: formats, children: FORMATS.map((format) => (_jsx(ToggleButton, { value: format, disabled: !isEditable, onClick: () => {
267
+ } }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: `ui.editor.toolbarPlugin.${alignment}`, defaultMessage: `ui.editor.toolbarPlugin.${alignment}` }) }, { children: _jsx(Icon, { children: `format_align_${alignment}` }) })) })), _jsx(ToggleButtonGroup, Object.assign({ value: formats }, { children: FORMATS.map((format) => (_jsx(ToggleButton, Object.assign({ value: format, disabled: !isEditable, onClick: () => {
268
268
  activeEditor.dispatchCommand(FORMAT_TEXT_COMMAND, format);
269
- }, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: `ui.editor.toolbarPlugin.${format}`, defaultMessage: `ui.editor.toolbarPlugin.${format}` }), children: _jsx(Icon, { children: `format_${format}` }) }) }, format))) }), _jsx(IconButton, { disabled: !isEditable, onClick: clearFormatting, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.clear", defaultMessage: "ui.editor.toolbarPlugin.clear" }), children: _jsx(Icon, { children: "format_clear" }) }) }), _jsx(IconButton, { disabled: !isEditable, onClick: () => {
269
+ } }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: `ui.editor.toolbarPlugin.${format}`, defaultMessage: `ui.editor.toolbarPlugin.${format}` }) }, { children: _jsx(Icon, { children: `format_${format}` }) })) }), format))) })), _jsx(IconButton, Object.assign({ disabled: !isEditable, onClick: clearFormatting }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.clear", defaultMessage: "ui.editor.toolbarPlugin.clear" }) }, { children: _jsx(Icon, { children: "format_clear" }) })) })), _jsx(IconButton, Object.assign({ disabled: !isEditable, onClick: () => {
270
270
  activeEditor.dispatchCommand(INSERT_HORIZONTAL_RULE_COMMAND, undefined);
271
- }, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.horizontalRule", defaultMessage: "ui.editor.toolbarPlugin.horizontalRule" }), children: _jsx(Icon, { children: "format_horizontal_rule" }) }) }), uploadImage && _jsx(ImagePlugin, {}), _jsx(IconButton, { disabled: !isEditable, onClick: insertLink, children: _jsx(Tooltip, { title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.link", defaultMessage: "ui.editor.toolbarPlugin.link" }), children: _jsx(Icon, { children: "format_link" }) }) }), _jsx(EmojiPlugin, {})] }));
271
+ } }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.horizontalRule", defaultMessage: "ui.editor.toolbarPlugin.horizontalRule" }) }, { children: _jsx(Icon, { children: "format_horizontal_rule" }) })) })), uploadImage && _jsx(ImagePlugin, {}), _jsx(IconButton, Object.assign({ disabled: !isEditable, onClick: insertLink }, { children: _jsx(Tooltip, Object.assign({ title: _jsx(FormattedMessage, { id: "ui.editor.toolbarPlugin.link", defaultMessage: "ui.editor.toolbarPlugin.link" }) }, { children: _jsx(Icon, { children: "format_link" }) })) })), _jsx(EmojiPlugin, {})] })));
272
272
  }
@@ -24,7 +24,7 @@ export function useDecorators(editor, ErrorBoundary) {
24
24
  const decoratorKeys = Object.keys(decorators);
25
25
  for (let i = 0; i < decoratorKeys.length; i++) {
26
26
  const nodeKey = decoratorKeys[i];
27
- const reactDecorator = (_jsx(ErrorBoundary, { onError: (e) => editor._onError(e), children: _jsx(Suspense, { fallback: null, children: decorators[nodeKey] }) }));
27
+ const reactDecorator = (_jsx(ErrorBoundary, Object.assign({ onError: (e) => editor._onError(e) }, { children: _jsx(Suspense, Object.assign({ fallback: null }, { children: decorators[nodeKey] })) })));
28
28
  const element = editor.getElementByKey(nodeKey);
29
29
  if (element !== null) {
30
30
  decoratedPortals.push(createPortal(reactDecorator, element, nodeKey));
@@ -123,17 +123,17 @@ export default function Event(inProps) {
123
123
  */
124
124
  let contentObj;
125
125
  if (template === SCEventTemplateType.DETAIL) {
126
- contentObj = (_jsxs(DetailRoot, { className: classes.detailRoot, children: [_jsxs(Box, { className: classes.detailImageWrapper, children: [_jsx(CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.detailImage }), !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.detailInProgress })), _jsx(Calendar, { day: new Date(scEvent.start_date).getDate() })] }), _jsxs(CardContent, { className: classes.detailContent, children: [scEvent.active ? (_jsx(Link, { to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.detailNameWrapper, children: _jsx(Typography, { variant: "h3", className: classes.detailName, children: scEvent.name }) })) : (_jsx(Box, { className: classes.detailNameWrapper, children: _jsx(Typography, { variant: "h3", className: classes.detailName, children: scEvent.name }) })), _jsx(EventInfoDetails, { event: scEvent }), !hideEventPlanner && (_jsx(User, { user: scEvent.managed_by, elevation: 0, secondary: _jsx(Typography, { variant: "caption", children: _jsx(FormattedMessage, { id: "ui.myEventsWidget.planner", defaultMessage: "ui.myEventsWidget.planner" }) }), actions: _jsx(_Fragment, {}), className: classes.detailUser })), !hideEventParticipants && (_jsxs(_Fragment, { children: [_jsx(Divider, { className: classes.detailFirstDivider }), _jsx(EventParticipantsButton, Object.assign({ event: scEvent }, EventParticipantsButtonComponentProps))] })), _jsx(Divider, { className: classes.detailSecondDivider })] }), actions !== null && actions !== void 0 ? actions : (_jsx(CardActions, { className: classes.detailActions, children: _jsx(Button, { size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) }))] }));
126
+ contentObj = (_jsxs(DetailRoot, Object.assign({ className: classes.detailRoot }, { children: [_jsxs(Box, Object.assign({ className: classes.detailImageWrapper }, { children: [_jsx(CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.detailImage }), !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.detailInProgress })), _jsx(Calendar, { day: new Date(scEvent.start_date).getDate() })] })), _jsxs(CardContent, Object.assign({ className: classes.detailContent }, { children: [scEvent.active ? (_jsx(Link, Object.assign({ to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.detailNameWrapper }, { children: _jsx(Typography, Object.assign({ variant: "h3", className: classes.detailName }, { children: scEvent.name })) }))) : (_jsx(Box, Object.assign({ className: classes.detailNameWrapper }, { children: _jsx(Typography, Object.assign({ variant: "h3", className: classes.detailName }, { children: scEvent.name })) }))), _jsx(EventInfoDetails, { event: scEvent }), !hideEventPlanner && (_jsx(User, { user: scEvent.managed_by, elevation: 0, secondary: _jsx(Typography, Object.assign({ variant: "caption" }, { children: _jsx(FormattedMessage, { id: "ui.myEventsWidget.planner", defaultMessage: "ui.myEventsWidget.planner" }) })), actions: _jsx(_Fragment, {}), className: classes.detailUser })), !hideEventParticipants && (_jsxs(_Fragment, { children: [_jsx(Divider, { className: classes.detailFirstDivider }), _jsx(EventParticipantsButton, Object.assign({ event: scEvent }, EventParticipantsButtonComponentProps))] })), _jsx(Divider, { className: classes.detailSecondDivider })] })), actions !== null && actions !== void 0 ? actions : (_jsx(CardActions, Object.assign({ className: classes.detailActions }, { children: _jsx(Button, Object.assign({ size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) })))] })));
127
127
  }
128
128
  else if (template === SCEventTemplateType.PREVIEW) {
129
- contentObj = (_jsxs(PreviewRoot, { className: classes.previewRoot, children: [_jsxs(Box, { position: "relative", className: classes.previewImageWrapper, children: [_jsx(CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.previewImage }), !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.previewInProgress }))] }), _jsxs(CardContent, { className: classes.previewContent, children: [_jsx(EventInfoDetails, { event: scEvent, hidePrivacyIcon: true, hasLocationInfo: false, beforePrivacyInfo: _jsx(Link, { to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.previewNameWrapper, children: _jsx(Typography, { variant: "h5", className: classes.previewName, children: scEvent.name }) }) }), !hideEventParticipants && _jsx(EventParticipantsButton, Object.assign({ event: scEvent, hideCaption: true }, EventParticipantsButtonComponentProps))] }), actions !== null && actions !== void 0 ? actions : (_jsx(CardActions, { className: classes.previewActions, children: _jsx(Button, { size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) }))] }));
129
+ contentObj = (_jsxs(PreviewRoot, Object.assign({ className: classes.previewRoot }, { children: [_jsxs(Box, Object.assign({ position: "relative", className: classes.previewImageWrapper }, { children: [_jsx(CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.previewImage }), !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.previewInProgress }))] })), _jsxs(CardContent, Object.assign({ className: classes.previewContent }, { children: [_jsx(EventInfoDetails, { event: scEvent, hidePrivacyIcon: true, hasLocationInfo: false, beforePrivacyInfo: _jsx(Link, Object.assign({ to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.previewNameWrapper }, { children: _jsx(Typography, Object.assign({ variant: "h5", className: classes.previewName }, { children: scEvent.name })) })) }), !hideEventParticipants && _jsx(EventParticipantsButton, Object.assign({ event: scEvent, hideCaption: true }, EventParticipantsButtonComponentProps))] })), actions !== null && actions !== void 0 ? actions : (_jsx(CardActions, Object.assign({ className: classes.previewActions }, { children: _jsx(Button, Object.assign({ size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) })))] })));
130
130
  }
131
131
  else {
132
- contentObj = (_jsx(SnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.snippetRoot, image: _jsxs(Box, { className: classes.snippetImage, children: [_jsx(Avatar, { variant: "square", alt: scEvent.name, src: scEvent.image_medium, className: classes.snippetAvatar }), ' ', !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.snippetInProgress }))] }), primary: _jsxs(Link, { to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.snippetPrimary, children: [_jsx(Typography, { component: "span", children: `${intl.formatDate(scEvent.start_date, {
132
+ contentObj = (_jsx(SnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.snippetRoot, image: _jsxs(Box, Object.assign({ className: classes.snippetImage }, { children: [_jsx(Avatar, { variant: "square", alt: scEvent.name, src: scEvent.image_medium, className: classes.snippetAvatar }), ' ', !hideInProgress && inProgress && (_jsx(Chip, { size: "small", component: "div", label: _jsx(FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.snippetInProgress }))] })), primary: _jsxs(Link, Object.assign({ to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.snippetPrimary }, { children: [_jsx(Typography, Object.assign({ component: "span" }, { children: `${intl.formatDate(scEvent.start_date, {
133
133
  weekday: 'long',
134
134
  month: 'long',
135
135
  day: 'numeric'
136
- })}` }), _jsx(Typography, { variant: "body1", children: scEvent.name })] }), secondary: _jsxs(Typography, { component: "p", variant: "body2", className: classes.snippetSecondary, children: [_jsx(FormattedMessage, { id: `ui.eventForm.privacy.${scEvent.privacy}`, defaultMessage: `ui.eventForm.privacy.${scEvent.privacy}` }), " -", ' ', (scEvent === null || scEvent === void 0 ? void 0 : scEvent.location) === SCEventLocationType.PERSON ? (_jsx(FormattedMessage, { id: `ui.eventForm.address.live.label`, defaultMessage: `ui.eventForm.address.live.label` })) : (_jsx(FormattedMessage, { id: `ui.eventForm.address.online.label`, defaultMessage: `ui.eventForm.address.online.label` }))] }), actions: actions !== null && actions !== void 0 ? actions : (_jsx(Box, { className: classes.snippetActions, children: _jsx(Button, { size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent), children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) })) }));
136
+ })}` })), _jsx(Typography, Object.assign({ variant: "body1" }, { children: scEvent.name }))] })), secondary: _jsxs(Typography, Object.assign({ component: "p", variant: "body2", className: classes.snippetSecondary }, { children: [_jsx(FormattedMessage, { id: `ui.eventForm.privacy.${scEvent.privacy}`, defaultMessage: `ui.eventForm.privacy.${scEvent.privacy}` }), " -", ' ', (scEvent === null || scEvent === void 0 ? void 0 : scEvent.location) === SCEventLocationType.PERSON ? (_jsx(FormattedMessage, { id: `ui.eventForm.address.live.label`, defaultMessage: `ui.eventForm.address.live.label` })) : (_jsx(FormattedMessage, { id: `ui.eventForm.address.online.label`, defaultMessage: `ui.eventForm.address.online.label` }))] })), actions: actions !== null && actions !== void 0 ? actions : (_jsx(Box, Object.assign({ className: classes.snippetActions }, { children: _jsx(Button, Object.assign({ size: "small", variant: "outlined", component: Link, to: scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: _jsx(FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) }))) }));
137
137
  }
138
138
  /**
139
139
  * Renders root object
@@ -77,13 +77,13 @@ export default function EventSkeleton(inProps) {
77
77
  */
78
78
  let contentObj;
79
79
  if (template === SCEventTemplateType.DETAIL) {
80
- contentObj = (_jsxs(SkeletonDetailRoot, { className: classes.skeletonDetailRoot, children: [_jsxs(Box, { position: "relative", children: [_jsx(Skeleton, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "170px" }), _jsx(Skeleton, { className: classes.skeletonDetailCalendar, variant: "rounded", animation: skeletonsAnimation, width: "60px", height: "60px" })] }), _jsxs(CardContent, { className: classes.skeletonDetailContent, children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "36%", height: "40px" }), _jsxs(Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "50%", height: "20px" })] }), _jsxs(Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "35%", height: "20px" })] }), _jsxs(Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "14px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "27%", height: "20px" })] }), _jsxs(Stack, { direction: "row", gap: "8px", className: classes.skeletonDetailUser, children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "36px", height: "36px" }), _jsxs(Stack, { gap: "1px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "75px", height: "15px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "86px", height: "16px" })] })] }), _jsx(Divider, { className: classes.skeletonDetailFirstDivider }), _jsxs(Stack, { direction: "row", gap: "8px", alignItems: "center", height: "28px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "68px", height: "20px" }), _jsxs(AvatarGroup, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" })] })] }), _jsx(Divider, { className: classes.skeletonDetailSecondDivider })] }), _jsx(CardActions, { className: classes.skeletonDetailActions, children: actions !== undefined ? actions : _jsx(Skeleton, { variant: "rounded", width: 100, height: 30 }) })] }));
80
+ contentObj = (_jsxs(SkeletonDetailRoot, Object.assign({ className: classes.skeletonDetailRoot }, { children: [_jsxs(Box, Object.assign({ position: "relative" }, { children: [_jsx(Skeleton, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "170px" }), _jsx(Skeleton, { className: classes.skeletonDetailCalendar, variant: "rounded", animation: skeletonsAnimation, width: "60px", height: "60px" })] })), _jsxs(CardContent, Object.assign({ className: classes.skeletonDetailContent }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "36%", height: "40px" }), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "50%", height: "20px" })] })), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "35%", height: "20px" })] })), _jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "14px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "27%", height: "20px" })] })), _jsxs(Stack, Object.assign({ direction: "row", gap: "8px", className: classes.skeletonDetailUser }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "36px", height: "36px" }), _jsxs(Stack, Object.assign({ gap: "1px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "75px", height: "15px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "86px", height: "16px" })] }))] })), _jsx(Divider, { className: classes.skeletonDetailFirstDivider }), _jsxs(Stack, Object.assign({ direction: "row", gap: "8px", alignItems: "center", height: "28px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, width: "68px", height: "20px" }), _jsxs(AvatarGroup, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" })] })] })), _jsx(Divider, { className: classes.skeletonDetailSecondDivider })] })), _jsx(CardActions, Object.assign({ className: classes.skeletonDetailActions }, { children: actions !== undefined ? actions : _jsx(Skeleton, { variant: "rounded", width: 100, height: 30 }) }))] })));
81
81
  }
82
82
  else if (template === SCEventTemplateType.PREVIEW) {
83
- contentObj = (_jsxs(SkeletonPreviewRoot, { className: classes.skeletonPreviewRoot, children: [_jsx(Box, { position: "relative", children: _jsx(Skeleton, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "80px" }) }), _jsxs(CardContent, { className: classes.skeletonPreviewContent, children: [_jsxs(Stack, { direction: "row", alignItems: "center", gap: "8px", children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "50%", height: "20px" })] }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "67%", height: "25px", className: classes.skeletonPreviewName }), _jsx(Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "2px", children: _jsx(Skeleton, { animation: skeletonsAnimation, width: "27%", height: "18px" }) }), _jsx(Stack, { direction: "row", gap: "8px", alignItems: "center", children: _jsxs(AvatarGroup, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` })] }) })] }), _jsx(CardActions, { className: classes.skeletonPreviewActions, children: actions !== undefined ? actions : _jsx(Skeleton, { variant: "rounded", width: 100, height: 30 }) })] }));
83
+ contentObj = (_jsxs(SkeletonPreviewRoot, Object.assign({ className: classes.skeletonPreviewRoot }, { children: [_jsx(Box, Object.assign({ position: "relative" }, { children: _jsx(Skeleton, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "80px" }) })), _jsxs(CardContent, Object.assign({ className: classes.skeletonPreviewContent }, { children: [_jsxs(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), _jsx(Skeleton, { animation: skeletonsAnimation, width: "50%", height: "20px" })] })), _jsx(Skeleton, { animation: skeletonsAnimation, width: "67%", height: "25px", className: classes.skeletonPreviewName }), _jsx(Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "2px" }, { children: _jsx(Skeleton, { animation: skeletonsAnimation, width: "27%", height: "18px" }) })), _jsx(Stack, Object.assign({ direction: "row", gap: "8px", alignItems: "center" }, { children: _jsxs(AvatarGroup, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` })] }) }))] })), _jsx(CardActions, Object.assign({ className: classes.skeletonPreviewActions }, { children: actions !== undefined ? actions : _jsx(Skeleton, { variant: "rounded", width: 100, height: 30 }) }))] })));
84
84
  }
85
85
  else {
86
- contentObj = (_jsx(SkeletonSnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.skeletonSnippetRoot, image: _jsxs(Box, { className: classes.skeletonSnippetImage, children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", width: 100, height: 60 }), " ", _jsx(Icon, { fontSize: "large", children: "CalendarIcon" })] }), primary: _jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "40%", style: { marginBottom: 12 } }), secondary: _jsxs(_Fragment, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "60%", style: { marginBottom: 10, marginRight: 5 } }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "35%" })] }), actions: _jsx(_Fragment, { children: actions !== undefined ? (actions) : (_jsx(Button, { size: "small", variant: "outlined", disabled: true, children: _jsx(Skeleton, { animation: skeletonsAnimation, height: 10, width: 30, style: { marginTop: 5, marginBottom: 5 } }) })) }) }));
86
+ contentObj = (_jsx(SkeletonSnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.skeletonSnippetRoot, image: _jsxs(Box, Object.assign({ className: classes.skeletonSnippetImage }, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", width: 100, height: 60 }), " ", _jsx(Icon, Object.assign({ fontSize: "large" }, { children: "CalendarIcon" }))] })), primary: _jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "40%", style: { marginBottom: 12 } }), secondary: _jsxs(_Fragment, { children: [_jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "60%", style: { marginBottom: 10, marginRight: 5 } }), _jsx(Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "35%" })] }), actions: _jsx(_Fragment, { children: actions !== undefined ? (actions) : (_jsx(Button, Object.assign({ size: "small", variant: "outlined", disabled: true }, { children: _jsx(Skeleton, { animation: skeletonsAnimation, height: 10, width: 30, style: { marginTop: 5, marginBottom: 5 } }) }))) }) }));
87
87
  }
88
88
  return (_jsx(Root, Object.assign({ className: classNames(classes.root, className, `${PREFIX}-skeleton-${template}`) }, rest, { children: contentObj })));
89
89
  }
@@ -87,7 +87,7 @@ const EventAutocomplete = (inProps) => {
87
87
  renderOption: (props, option, { inputValue }) => {
88
88
  const matches = match(option.name, inputValue);
89
89
  const parts = parse(option.name, matches);
90
- return (_jsxs(Box, Object.assign({ component: "li" }, props, { children: [_jsx(Avatar, { alt: option.name, src: option.image_small, sx: { marginRight: 1 } }), _jsx(React.Fragment, { children: parts.map((part, index) => (_jsx(Typography, { sx: { fontWeight: part.highlight ? 700 : 400, marginRight: 0.2 }, children: part.text }, index))) })] })));
90
+ return (_jsxs(Box, Object.assign({ component: "li" }, props, { children: [_jsx(Avatar, { alt: option.name, src: option.image_small, sx: { marginRight: 1 } }), _jsx(React.Fragment, { children: parts.map((part, index) => (_jsx(Typography, Object.assign({ sx: { fontWeight: part.highlight ? 700 : 400, marginRight: 0.2 } }, { children: part.text }), index))) })] })));
91
91
  }, renderInput: (params) => {
92
92
  return (_jsx(TextField, Object.assign({}, params, TextFieldProps, { margin: "dense", InputProps: Object.assign(Object.assign({}, params.InputProps), { autoComplete: 'events', endAdornment: (_jsxs(React.Fragment, { children: [isLoading ? _jsx(CircularProgress, { color: "inherit", size: 20 }) : null, params.InputProps.endAdornment] })) }) })));
93
93
  } }, rest)));
@@ -112,7 +112,7 @@ export default function EventAddress(inProps) {
112
112
  if (!geocodingApiKey && !isLoaded) {
113
113
  return _jsx(HiddenPlaceholder, {});
114
114
  }
115
- return (_jsxs(Root, { className: classNames(classes.root, className), children: [_jsxs(Tabs, { className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth", children: [_jsx(Tab, { value: SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: _jsx(Icon, { children: "add_location_alt" }), iconPosition: "start", label: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) }), _jsx(Tab, { value: SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: _jsx(Icon, { children: "play_circle_outline" }), iconPosition: "start", label: _jsx(FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })] }), _jsxs(Box, { className: classes.tabContent, children: [location === SCEventLocationType.PERSON && (_jsx(Autocomplete, { size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => (_jsx(TextField, Object.assign({}, params, { label: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.placeholder", defaultMessage: "ui.eventForm.address.live.placeholder" }), variant: "outlined", fullWidth: true, InputProps: Object.assign(Object.assign({}, params.InputProps), { endAdornment: (_jsxs(_Fragment, { children: [_jsx(InputAdornment, { position: "start", children: _jsx(Icon, { children: "add_location_alt" }) }), params.InputProps.endAdornment] })) }) }))) })), location === SCEventLocationType.ONLINE && (_jsx(UrlTextField, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: _jsx(FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), InputProps: {
115
+ return (_jsxs(Root, Object.assign({ className: classNames(classes.root, className) }, { children: [_jsxs(Tabs, Object.assign({ className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth" }, { children: [_jsx(Tab, { value: SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: _jsx(Icon, { children: "add_location_alt" }), iconPosition: "start", label: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) }), _jsx(Tab, { value: SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: _jsx(Icon, { children: "play_circle_outline" }), iconPosition: "start", label: _jsx(FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })] })), _jsxs(Box, Object.assign({ className: classes.tabContent }, { children: [location === SCEventLocationType.PERSON && (_jsx(Autocomplete, { size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => (_jsx(TextField, Object.assign({}, params, { label: _jsx(FormattedMessage, { id: "ui.eventForm.address.live.placeholder", defaultMessage: "ui.eventForm.address.live.placeholder" }), variant: "outlined", fullWidth: true, InputProps: Object.assign(Object.assign({}, params.InputProps), { endAdornment: (_jsxs(_Fragment, { children: [_jsx(InputAdornment, Object.assign({ position: "start" }, { children: _jsx(Icon, { children: "add_location_alt" }) })), params.InputProps.endAdornment] })) }) }))) })), location === SCEventLocationType.ONLINE && (_jsx(UrlTextField, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: _jsx(FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), InputProps: {
116
116
  endAdornment: _jsx(Icon, { children: "play_circle_outline" })
117
- }, onChange: handleLinkChange }))] })] }));
117
+ }, onChange: handleLinkChange }))] }))] })));
118
118
  }