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

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 (563) 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 -1
  54. package/lib/cjs/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +4 -4
  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 +6 -6
  139. package/lib/cjs/components/LiveStreamRoom/LiveStreamRoom.js +1 -1
  140. package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +3 -1
  141. package/lib/cjs/components/LocationAutocomplete/LocationAutocomplete.js +1 -1
  142. package/lib/cjs/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +1 -1
  143. package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.js +1 -1
  144. package/lib/cjs/components/MyEventsWidget/MyEventsWidget.js +1 -1
  145. package/lib/cjs/components/MyEventsWidget/Skeleton.js +1 -1
  146. package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -1
  147. package/lib/cjs/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -1
  148. package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -1
  149. package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -1
  150. package/lib/cjs/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +29 -29
  151. package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +7 -7
  152. package/lib/cjs/components/NavigationToolbar/NotificationMenu.js +1 -1
  153. package/lib/cjs/components/NavigationToolbar/Skeleton.js +1 -1
  154. package/lib/cjs/components/NavigationToolbarMobile/NavigationToolbarMobile.js +4 -4
  155. package/lib/cjs/components/NavigationToolbarMobile/Skeleton.js +1 -1
  156. package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +1 -1
  157. package/lib/cjs/components/Notification/Comment/Comment.js +3 -3
  158. package/lib/cjs/components/Notification/Contribution/Contribution.js +3 -3
  159. package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +2 -2
  160. package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +1 -1
  161. package/lib/cjs/components/Notification/Event/Event.js +9 -9
  162. package/lib/cjs/components/Notification/Group/Group.js +8 -8
  163. package/lib/cjs/components/Notification/IncubatorApproved/IncubatorApproved.js +3 -3
  164. package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +1 -1
  165. package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +2 -2
  166. package/lib/cjs/components/Notification/Mention/Mention.js +3 -3
  167. package/lib/cjs/components/Notification/Notification.js +8 -8
  168. package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +10 -10
  169. package/lib/cjs/components/Notification/Skeleton.js +1 -1
  170. package/lib/cjs/components/Notification/UndeletedFor/UndeletedFor.js +1 -1
  171. package/lib/cjs/components/Notification/UserBlocked/UserBlocked.js +3 -3
  172. package/lib/cjs/components/Notification/UserConnection/UserConnection.js +2 -2
  173. package/lib/cjs/components/Notification/UserFollow/UserFollow.js +2 -2
  174. package/lib/cjs/components/Notification/VoteUp/VoteUp.js +2 -2
  175. package/lib/cjs/components/OnBoardingWidget/ActionsButton.js +5 -5
  176. package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.js +7 -7
  177. package/lib/cjs/components/OnBoardingWidget/Skeleton.js +1 -1
  178. package/lib/cjs/components/OnBoardingWidget/Steps/App/App.js +9 -9
  179. package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.js +4 -4
  180. package/lib/cjs/components/OnBoardingWidget/Steps/Category/Category.js +5 -5
  181. package/lib/cjs/components/OnBoardingWidget/Steps/Content/Content.js +1 -1
  182. package/lib/cjs/components/OnBoardingWidget/Steps/Invite/Invite.js +1 -1
  183. package/lib/cjs/components/OnBoardingWidget/Steps/Profile/Profile.js +1 -1
  184. package/lib/cjs/components/PlatformWidget/PlatformWidget.js +8 -8
  185. package/lib/cjs/components/PlatformWidget/Skeleton.js +1 -1
  186. package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -1
  187. package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.js +1 -1
  188. package/lib/cjs/components/PollSuggestionWidget/Skeleton.js +1 -1
  189. package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +4 -4
  190. package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +1 -1
  191. package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js +5 -5
  192. package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -6
  193. package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +7 -7
  194. package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -3
  195. package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +1 -1
  196. package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +4 -4
  197. package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js +1 -1
  198. package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  199. package/lib/cjs/components/PrivateMessageThread/Skeleton.js +1 -1
  200. package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +6 -6
  201. package/lib/cjs/components/RelatedEventsWidget/RelatedEventsWidget.js +1 -1
  202. package/lib/cjs/components/RelatedEventsWidget/Skeleton.js +1 -1
  203. package/lib/cjs/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +1 -1
  204. package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.js +2 -2
  205. package/lib/cjs/components/SnippetNotifications/Skeleton.js +1 -1
  206. package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +3 -3
  207. package/lib/cjs/components/SuggestedEventsWidget/Arrow.js +2 -2
  208. package/lib/cjs/components/SuggestedEventsWidget/Skeleton.js +1 -1
  209. package/lib/cjs/components/SuggestedEventsWidget/SuggestedEventsWidget.js +2 -2
  210. package/lib/cjs/components/User/Skeleton.js +1 -1
  211. package/lib/cjs/components/User/User.js +2 -2
  212. package/lib/cjs/components/UserActionIconButton/UserActionIconButton.js +9 -9
  213. package/lib/cjs/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +1 -1
  214. package/lib/cjs/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +1 -1
  215. package/lib/cjs/components/UserConnectionsWidget/UserConnectionsWidget.js +1 -1
  216. package/lib/cjs/components/UserCounters/UserCounters.js +5 -5
  217. package/lib/cjs/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +1 -1
  218. package/lib/cjs/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +1 -1
  219. package/lib/cjs/components/UserFollowersWidget/UserFollowersWidget.js +1 -1
  220. package/lib/cjs/components/UserInfo/Skeleton.js +1 -1
  221. package/lib/cjs/components/UserInfo/UserInfo.js +3 -3
  222. package/lib/cjs/components/UserInfoDialog/UserInfoDialog.js +1 -1
  223. package/lib/cjs/components/UserProfileBlocked/UserProfileBlocked.js +1 -1
  224. package/lib/cjs/components/UserProfileEdit/Section/Account.js +1 -1
  225. package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +6 -6
  226. package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +8 -8
  227. package/lib/cjs/components/UserProfileEdit/Section/Settings.js +3 -3
  228. package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  229. package/lib/cjs/components/UserProfileEdit/Skeleton.js +1 -1
  230. package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -1
  231. package/lib/cjs/components/UserProfileHeader/Skeleton.js +1 -1
  232. package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -1
  233. package/lib/cjs/components/UserSocialAssociation/UserSocialAssociation.js +1 -1
  234. package/lib/cjs/components/UserSubscribedGroupsWidget/Skeleton.js +1 -1
  235. package/lib/cjs/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +2 -2
  236. package/lib/cjs/components/UserSuggestionWidget/Skeleton.js +1 -1
  237. package/lib/cjs/components/UserSuggestionWidget/UserSuggestionWidget.js +1 -1
  238. package/lib/cjs/components/VoteAudienceButton/VoteAudienceButton.js +5 -5
  239. package/lib/cjs/components/VoteButton/VoteButton.js +2 -2
  240. package/lib/cjs/constants/PubSub.js +3 -3
  241. package/lib/cjs/shared/AutoPlayer/index.js +2 -2
  242. package/lib/cjs/shared/BaseDialog/BaseDialog.js +2 -2
  243. package/lib/cjs/shared/BaseItem/BaseItem.js +2 -2
  244. package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +2 -2
  245. package/lib/cjs/shared/Calendar/index.js +1 -1
  246. package/lib/cjs/shared/ConfirmDialog/ConfirmDialog.js +1 -1
  247. package/lib/cjs/shared/ConsentSolutionSwitch/index.js +3 -3
  248. package/lib/cjs/shared/ContributionActionsMenu/index.js +10 -10
  249. package/lib/cjs/shared/CustomSnackMessage/index.js +1 -1
  250. package/lib/cjs/shared/DateTimeAgo/index.js +1 -1
  251. package/lib/cjs/shared/EmojiPicker/EmojiPicker.js +1 -1
  252. package/lib/cjs/shared/EventActionsMenu/index.js +5 -5
  253. package/lib/cjs/shared/EventInfoDetails/index.js +3 -3
  254. package/lib/cjs/shared/InfiniteScroll/index.js +2 -2
  255. package/lib/cjs/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.js +1 -1
  256. package/lib/cjs/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.js +1 -1
  257. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.js +2 -2
  258. package/lib/cjs/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.js +1 -1
  259. package/lib/cjs/shared/InfiniteScroll/stories/ScrolleableTop.js +2 -2
  260. package/lib/cjs/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.js +1 -1
  261. package/lib/cjs/shared/LanguageSwitcher/index.js +1 -1
  262. package/lib/cjs/shared/MarkRead/MarkRead.js +1 -1
  263. package/lib/cjs/shared/Media/File/DisplayComponent.js +11 -11
  264. package/lib/cjs/shared/Media/File/PreviewComponent.js +3 -3
  265. package/lib/cjs/shared/Media/File/TriggerButton.js +7 -7
  266. package/lib/cjs/shared/Media/Link/DisplayComponent.js +3 -3
  267. package/lib/cjs/shared/Media/Link/LayerComponent.js +1 -1
  268. package/lib/cjs/shared/Media/Link/PreviewComponent.js +1 -1
  269. package/lib/cjs/shared/Media/Link/TriggerButton.js +1 -1
  270. package/lib/cjs/shared/Media/Link/UrlTextField/index.js +3 -3
  271. package/lib/cjs/shared/Media/Share/DisplayComponent.js +1 -1
  272. package/lib/cjs/shared/MetadataField/MetadataField.js +1 -1
  273. package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -1
  274. package/lib/cjs/shared/PasswordTextField/index.js +1 -1
  275. package/lib/cjs/shared/ProgressBar/index.js +1 -1
  276. package/lib/cjs/shared/StickyBox/index.js +1 -1
  277. package/lib/cjs/shared/Tags/index.js +6 -6
  278. package/lib/cjs/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -1
  279. package/lib/cjs/shared/VirtualizedScroller/VirtualScrollerChild.js +1 -1
  280. package/lib/cjs/types/broadcastMessage.js +1 -1
  281. package/lib/cjs/types/comments.js +1 -1
  282. package/lib/cjs/types/event.js +1 -1
  283. package/lib/cjs/types/feedObject.js +2 -2
  284. package/lib/cjs/types/notification.js +1 -1
  285. package/lib/cjs/types/user.js +3 -3
  286. package/lib/esm/components/AccountChangeMailValidation/AccountChangeMailValidation.js +1 -1
  287. package/lib/esm/components/AccountDataPortability/AccountDataPortability.js +4 -4
  288. package/lib/esm/components/AccountDataPortabilityButton/AccountDataPortabilityButton.js +1 -1
  289. package/lib/esm/components/AccountDelete/AccountDelete.js +3 -3
  290. package/lib/esm/components/AccountDeleteButton/AccountDeleteButton.js +1 -1
  291. package/lib/esm/components/AccountRecover/AccountRecover.js +2 -2
  292. package/lib/esm/components/AccountReset/AccountReset.js +1 -1
  293. package/lib/esm/components/AccountVerify/AccountVerify.js +1 -1
  294. package/lib/esm/components/BottomNavigation/BottomNavigation.js +2 -2
  295. package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -1
  296. package/lib/esm/components/BroadcastMessages/Message.js +4 -4
  297. package/lib/esm/components/BroadcastMessages/Skeleton.js +1 -1
  298. package/lib/esm/components/Categories/Categories.js +1 -1
  299. package/lib/esm/components/Categories/Skeleton.js +1 -1
  300. package/lib/esm/components/CategoriesPopularWidget/CategoriesPopularWidget.js +1 -1
  301. package/lib/esm/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.js +1 -1
  302. package/lib/esm/components/CategoriesSuggestionWidget/Skeleton.js +1 -1
  303. package/lib/esm/components/Category/Category.js +1 -1
  304. package/lib/esm/components/Category/Skeleton.js +1 -1
  305. package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.js +1 -1
  306. package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.js +1 -1
  307. package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -1
  308. package/lib/esm/components/CategoryHeader/Skeleton.js +1 -1
  309. package/lib/esm/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +2 -2
  310. package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.js +1 -1
  311. package/lib/esm/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +1 -1
  312. package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.js +1 -1
  313. package/lib/esm/components/ChangeCover/ChangeCover.js +6 -6
  314. package/lib/esm/components/ChangeGroupCover/ChangeGroupCover.js +1 -1
  315. package/lib/esm/components/ChangeGroupPicture/ChangeGroupPicture.js +1 -1
  316. package/lib/esm/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +2 -2
  317. package/lib/esm/components/CommentObject/CommentObject.js +4 -4
  318. package/lib/esm/components/CommentObjectReply/CommentObjectReply.js +1 -1
  319. package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +4 -4
  320. package/lib/esm/components/CommentsObject/CommentsObject.js +6 -6
  321. package/lib/esm/components/Composer/Attributes/Attributes.js +2 -2
  322. package/lib/esm/components/Composer/Composer.js +4 -4
  323. package/lib/esm/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +3 -3
  324. package/lib/esm/components/Composer/Content/ContentPoll/ContentPoll.js +6 -6
  325. package/lib/esm/components/Composer/Content/ContentPost/ContentPost.js +1 -1
  326. package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.js +4 -4
  327. package/lib/esm/components/Composer/Layer/CategoryLayer/CategoryLayer.js +1 -1
  328. package/lib/esm/components/Composer/Layer/CloseLayer/CloseLayer.js +1 -1
  329. package/lib/esm/components/Composer/Layer/LocationLayer/LocationLayer.js +1 -1
  330. package/lib/esm/components/Composer/Skeleton.js +1 -1
  331. package/lib/esm/components/Composer/TypeSwitchButtonGroup/TypeSwitchButtonGroup.js +1 -1
  332. package/lib/esm/components/ComposerIconButton/ComposerIconButton.js +2 -2
  333. package/lib/esm/components/ConsentSolution/ConsentSolution.js +4 -4
  334. package/lib/esm/components/ConsentSolution/Skeleton.js +1 -1
  335. package/lib/esm/components/CreateEventButton/CreateEventButton.js +1 -1
  336. package/lib/esm/components/CreateEventWidget/CreateEventWidget.js +1 -1
  337. package/lib/esm/components/CreateEventWidget/Skeleton.js +1 -1
  338. package/lib/esm/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +1 -1
  339. package/lib/esm/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +4 -4
  340. package/lib/esm/components/CustomAdv/CustomAdv.js +2 -2
  341. package/lib/esm/components/Editor/Editor.js +1 -1
  342. package/lib/esm/components/Editor/nodes/ImageNode.js +1 -1
  343. package/lib/esm/components/Editor/plugins/EmojiPlugin.js +2 -2
  344. package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +4 -4
  345. package/lib/esm/components/Editor/plugins/HashtagPlugin.js +3 -3
  346. package/lib/esm/components/Editor/plugins/ImagePlugin.js +4 -4
  347. package/lib/esm/components/Editor/plugins/MentionsPlugin.js +4 -4
  348. package/lib/esm/components/Editor/plugins/ToolbarPlugin.js +5 -5
  349. package/lib/esm/components/Editor/shared/useDecorators.js +1 -1
  350. package/lib/esm/components/Event/Event.js +4 -4
  351. package/lib/esm/components/Event/Skeleton.js +3 -3
  352. package/lib/esm/components/EventAutocomplete/EventAutocomplete.js +1 -1
  353. package/lib/esm/components/EventForm/EventAddress.js +2 -2
  354. package/lib/esm/components/EventForm/EventForm.js +14 -14
  355. package/lib/esm/components/EventForm/UploadEventCover.js +1 -1
  356. package/lib/esm/components/EventHeader/EventHeader.js +2 -2
  357. package/lib/esm/components/EventHeader/Skeleton.js +1 -1
  358. package/lib/esm/components/EventInfoWidget/EventInfoWidget.js +1 -1
  359. package/lib/esm/components/EventInfoWidget/Skeleton.js +1 -1
  360. package/lib/esm/components/EventInviteButton/EventInviteButton.js +2 -2
  361. package/lib/esm/components/EventLocationWidget/EventLocationWidget.js +3 -3
  362. package/lib/esm/components/EventLocationWidget/Skeleton.js +1 -1
  363. package/lib/esm/components/EventMediaWidget/EventMediaWidget.js +4 -4
  364. package/lib/esm/components/EventMediaWidget/Skeleton.js +1 -1
  365. package/lib/esm/components/EventMediaWidget/TriggerButton.js +3 -3
  366. package/lib/esm/components/EventMembersWidget/EventMembersWidget.js +3 -3
  367. package/lib/esm/components/EventMembersWidget/Skeleton.js +1 -1
  368. package/lib/esm/components/EventMembersWidget/TabContentComponent.js +3 -3
  369. package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.js +1 -1
  370. package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.js +2 -2
  371. package/lib/esm/components/Events/Events.js +6 -6
  372. package/lib/esm/components/Events/LocationEventsFilter.js +1 -1
  373. package/lib/esm/components/Events/Skeleton.js +1 -1
  374. package/lib/esm/components/Feed/Feed.js +4 -4
  375. package/lib/esm/components/Feed/Skeleton.js +1 -1
  376. package/lib/esm/components/FeedObject/Actions/Actions.js +1 -1
  377. package/lib/esm/components/FeedObject/Actions/Comment/Comment.js +3 -3
  378. package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +1 -1
  379. package/lib/esm/components/FeedObject/Actions/Share/Share.js +5 -5
  380. package/lib/esm/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +1 -1
  381. package/lib/esm/components/FeedObject/Activities/Activities.js +1 -1
  382. package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +4 -4
  383. package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +3 -3
  384. package/lib/esm/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +2 -2
  385. package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +2 -2
  386. package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +1 -1
  387. package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +2 -2
  388. package/lib/esm/components/FeedObject/Contributors/Contributors.js +1 -1
  389. package/lib/esm/components/FeedObject/Contributors/Skeleton.js +1 -1
  390. package/lib/esm/components/FeedObject/FeedObject.js +11 -11
  391. package/lib/esm/components/FeedObject/Poll/Choice/Choice.js +2 -2
  392. package/lib/esm/components/FeedObject/Poll/Poll.js +1 -1
  393. package/lib/esm/components/FeedUpdatesWidget/FeedUpdatesWidget.js +1 -1
  394. package/lib/esm/components/Footer/Footer.js +1 -1
  395. package/lib/esm/components/Group/Group.js +2 -2
  396. package/lib/esm/components/Group/Skeleton.js +1 -1
  397. package/lib/esm/components/GroupActionsMenu/index.js +4 -4
  398. package/lib/esm/components/GroupAutocomplete/GroupAutocomplete.js +1 -1
  399. package/lib/esm/components/GroupForm/GroupForm.js +9 -9
  400. package/lib/esm/components/GroupHeader/GroupHeader.js +2 -2
  401. package/lib/esm/components/GroupHeader/Skeleton.js +1 -1
  402. package/lib/esm/components/GroupInfoWidget/GroupInfoWidget.js +6 -6
  403. package/lib/esm/components/GroupInviteButton/GroupInviteButton.js +2 -2
  404. package/lib/esm/components/GroupInvitedWidget/GroupInvitedWidget.js +1 -1
  405. package/lib/esm/components/GroupMembersButton/GroupMembersButton.js +1 -1
  406. package/lib/esm/components/GroupMembersWidget/GroupMembersWidget.js +5 -5
  407. package/lib/esm/components/GroupRequestsWidget/GroupRequestsWidget.js +1 -1
  408. package/lib/esm/components/GroupSettingsIconButton/GroupSettingsIconButton.js +5 -5
  409. package/lib/esm/components/Groups/Groups.js +3 -3
  410. package/lib/esm/components/Groups/Skeleton.js +1 -1
  411. package/lib/esm/components/Incubator/Incubator.js +4 -4
  412. package/lib/esm/components/Incubator/Skeleton.js +1 -1
  413. package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +2 -2
  414. package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +2 -2
  415. package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.js +2 -2
  416. package/lib/esm/components/IncubatorListWidget/Skeleton.js +1 -1
  417. package/lib/esm/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +1 -1
  418. package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.js +1 -1
  419. package/lib/esm/components/InlineComposerWidget/InlineComposerWidget.js +1 -1
  420. package/lib/esm/components/InlineComposerWidget/Skeleton.js +1 -1
  421. package/lib/esm/components/LiveStreamForm/LiveStreamForm.js +6 -6
  422. package/lib/esm/components/LiveStreamRoom/LiveStreamRoom.js +1 -1
  423. package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +3 -1
  424. package/lib/esm/components/LocationAutocomplete/LocationAutocomplete.js +1 -1
  425. package/lib/esm/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +1 -1
  426. package/lib/esm/components/LoyaltyProgramWidget/Skeleton.js +1 -1
  427. package/lib/esm/components/MyEventsWidget/MyEventsWidget.js +1 -1
  428. package/lib/esm/components/MyEventsWidget/Skeleton.js +1 -1
  429. package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -1
  430. package/lib/esm/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -1
  431. package/lib/esm/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -1
  432. package/lib/esm/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -1
  433. package/lib/esm/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +29 -29
  434. package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +7 -7
  435. package/lib/esm/components/NavigationToolbar/NotificationMenu.js +1 -1
  436. package/lib/esm/components/NavigationToolbar/Skeleton.js +1 -1
  437. package/lib/esm/components/NavigationToolbarMobile/NavigationToolbarMobile.js +4 -4
  438. package/lib/esm/components/NavigationToolbarMobile/Skeleton.js +1 -1
  439. package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +1 -1
  440. package/lib/esm/components/Notification/Comment/Comment.js +3 -3
  441. package/lib/esm/components/Notification/Contribution/Contribution.js +3 -3
  442. package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +2 -2
  443. package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +1 -1
  444. package/lib/esm/components/Notification/Event/Event.js +9 -9
  445. package/lib/esm/components/Notification/Group/Group.js +8 -8
  446. package/lib/esm/components/Notification/IncubatorApproved/IncubatorApproved.js +3 -3
  447. package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +1 -1
  448. package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +2 -2
  449. package/lib/esm/components/Notification/Mention/Mention.js +3 -3
  450. package/lib/esm/components/Notification/Notification.js +8 -8
  451. package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +10 -10
  452. package/lib/esm/components/Notification/Skeleton.js +1 -1
  453. package/lib/esm/components/Notification/UndeletedFor/UndeletedFor.js +1 -1
  454. package/lib/esm/components/Notification/UserBlocked/UserBlocked.js +3 -3
  455. package/lib/esm/components/Notification/UserConnection/UserConnection.js +2 -2
  456. package/lib/esm/components/Notification/UserFollow/UserFollow.js +2 -2
  457. package/lib/esm/components/Notification/VoteUp/VoteUp.js +2 -2
  458. package/lib/esm/components/OnBoardingWidget/ActionsButton.js +5 -5
  459. package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.js +7 -7
  460. package/lib/esm/components/OnBoardingWidget/Skeleton.js +1 -1
  461. package/lib/esm/components/OnBoardingWidget/Steps/App/App.js +9 -9
  462. package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.js +4 -4
  463. package/lib/esm/components/OnBoardingWidget/Steps/Category/Category.js +5 -5
  464. package/lib/esm/components/OnBoardingWidget/Steps/Content/Content.js +1 -1
  465. package/lib/esm/components/OnBoardingWidget/Steps/Invite/Invite.js +1 -1
  466. package/lib/esm/components/OnBoardingWidget/Steps/Profile/Profile.js +1 -1
  467. package/lib/esm/components/PlatformWidget/PlatformWidget.js +8 -8
  468. package/lib/esm/components/PlatformWidget/Skeleton.js +1 -1
  469. package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -1
  470. package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.js +1 -1
  471. package/lib/esm/components/PollSuggestionWidget/Skeleton.js +1 -1
  472. package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +4 -4
  473. package/lib/esm/components/PrivateMessageComponent/Skeleton.js +1 -1
  474. package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js +5 -5
  475. package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +6 -6
  476. package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +7 -7
  477. package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +3 -3
  478. package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +1 -1
  479. package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +4 -4
  480. package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +1 -1
  481. package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +6 -6
  482. package/lib/esm/components/PrivateMessageThread/Skeleton.js +1 -1
  483. package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +6 -6
  484. package/lib/esm/components/RelatedEventsWidget/RelatedEventsWidget.js +1 -1
  485. package/lib/esm/components/RelatedEventsWidget/Skeleton.js +1 -1
  486. package/lib/esm/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +1 -1
  487. package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.js +2 -2
  488. package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -1
  489. package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +3 -3
  490. package/lib/esm/components/SuggestedEventsWidget/Arrow.js +2 -2
  491. package/lib/esm/components/SuggestedEventsWidget/Skeleton.js +1 -1
  492. package/lib/esm/components/SuggestedEventsWidget/SuggestedEventsWidget.js +2 -2
  493. package/lib/esm/components/User/Skeleton.js +1 -1
  494. package/lib/esm/components/User/User.js +2 -2
  495. package/lib/esm/components/UserActionIconButton/UserActionIconButton.js +9 -9
  496. package/lib/esm/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +1 -1
  497. package/lib/esm/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +1 -1
  498. package/lib/esm/components/UserConnectionsWidget/UserConnectionsWidget.js +1 -1
  499. package/lib/esm/components/UserCounters/UserCounters.js +5 -5
  500. package/lib/esm/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +1 -1
  501. package/lib/esm/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +1 -1
  502. package/lib/esm/components/UserFollowersWidget/UserFollowersWidget.js +1 -1
  503. package/lib/esm/components/UserInfo/Skeleton.js +1 -1
  504. package/lib/esm/components/UserInfo/UserInfo.js +3 -3
  505. package/lib/esm/components/UserInfoDialog/UserInfoDialog.js +1 -1
  506. package/lib/esm/components/UserProfileBlocked/UserProfileBlocked.js +1 -1
  507. package/lib/esm/components/UserProfileEdit/Section/Account.js +1 -1
  508. package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +6 -6
  509. package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +8 -8
  510. package/lib/esm/components/UserProfileEdit/Section/Settings.js +3 -3
  511. package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -1
  512. package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -1
  513. package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -1
  514. package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -1
  515. package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -1
  516. package/lib/esm/components/UserSocialAssociation/UserSocialAssociation.js +1 -1
  517. package/lib/esm/components/UserSubscribedGroupsWidget/Skeleton.js +1 -1
  518. package/lib/esm/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +2 -2
  519. package/lib/esm/components/UserSuggestionWidget/Skeleton.js +1 -1
  520. package/lib/esm/components/UserSuggestionWidget/UserSuggestionWidget.js +1 -1
  521. package/lib/esm/components/VoteAudienceButton/VoteAudienceButton.js +5 -5
  522. package/lib/esm/components/VoteButton/VoteButton.js +2 -2
  523. package/lib/esm/shared/AutoPlayer/index.js +2 -2
  524. package/lib/esm/shared/BaseDialog/BaseDialog.js +2 -2
  525. package/lib/esm/shared/BaseItem/BaseItem.js +2 -2
  526. package/lib/esm/shared/BaseItemButton/BaseItemButton.js +2 -2
  527. package/lib/esm/shared/Calendar/index.js +1 -1
  528. package/lib/esm/shared/ConfirmDialog/ConfirmDialog.js +1 -1
  529. package/lib/esm/shared/ConsentSolutionSwitch/index.js +3 -3
  530. package/lib/esm/shared/ContributionActionsMenu/index.js +10 -10
  531. package/lib/esm/shared/CustomSnackMessage/index.js +1 -1
  532. package/lib/esm/shared/DateTimeAgo/index.js +1 -1
  533. package/lib/esm/shared/EmojiPicker/EmojiPicker.js +1 -1
  534. package/lib/esm/shared/EventActionsMenu/index.js +5 -5
  535. package/lib/esm/shared/EventInfoDetails/index.js +3 -3
  536. package/lib/esm/shared/InfiniteScroll/index.js +2 -2
  537. package/lib/esm/shared/InfiniteScroll/stories/InfiniteScrollWithHeight.js +1 -1
  538. package/lib/esm/shared/InfiniteScroll/stories/PullDownToRefreshInfScroll.js +1 -1
  539. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetFixedInfScroll.js +2 -2
  540. package/lib/esm/shared/InfiniteScroll/stories/ScrollableTargetInfScroll.js +1 -1
  541. package/lib/esm/shared/InfiniteScroll/stories/ScrolleableTop.js +2 -2
  542. package/lib/esm/shared/InfiniteScroll/stories/WindowInfiniteScrollComponent.js +1 -1
  543. package/lib/esm/shared/LanguageSwitcher/index.js +1 -1
  544. package/lib/esm/shared/MarkRead/MarkRead.js +1 -1
  545. package/lib/esm/shared/Media/File/DisplayComponent.js +11 -11
  546. package/lib/esm/shared/Media/File/PreviewComponent.js +3 -3
  547. package/lib/esm/shared/Media/File/TriggerButton.js +7 -7
  548. package/lib/esm/shared/Media/Link/DisplayComponent.js +3 -3
  549. package/lib/esm/shared/Media/Link/LayerComponent.js +1 -1
  550. package/lib/esm/shared/Media/Link/PreviewComponent.js +1 -1
  551. package/lib/esm/shared/Media/Link/TriggerButton.js +1 -1
  552. package/lib/esm/shared/Media/Link/UrlTextField/index.js +3 -3
  553. package/lib/esm/shared/Media/Share/DisplayComponent.js +1 -1
  554. package/lib/esm/shared/MetadataField/MetadataField.js +1 -1
  555. package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -1
  556. package/lib/esm/shared/PasswordTextField/index.js +1 -1
  557. package/lib/esm/shared/ProgressBar/index.js +1 -1
  558. package/lib/esm/shared/StickyBox/index.js +1 -1
  559. package/lib/esm/shared/Tags/index.js +5 -5
  560. package/lib/esm/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -1
  561. package/lib/esm/shared/VirtualizedScroller/VirtualScrollerChild.js +1 -1
  562. package/lib/umd/react-ui.js +1 -1
  563. package/package.json +8 -8
@@ -20,6 +20,6 @@ const Root = (0, styles_1.styled)(Widget_1.default, {
20
20
  slot: 'SkeletonRoot'
21
21
  })(() => ({}));
22
22
  function CreateEventWidgetSkeleton() {
23
- return ((0, jsx_runtime_1.jsxs)(Root, { className: classes.root, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { position: "relative", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: "wave", width: "100%", height: "110px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.calendar, variant: "rounded", animation: "wave", width: "50px", height: "50px" })] }), (0, jsx_runtime_1.jsxs)(material_1.CardContent, { className: classes.content, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.title, animation: "wave", width: "26%", height: "30px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.spacing, animation: "wave", width: "100%", height: "20px" }), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.spacing })] }), (0, jsx_runtime_1.jsx)(material_1.CardActions, { className: classes.actions, children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: "wave", variant: "rounded", width: "138px", height: "36px" }) })] }));
23
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ position: "relative" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: "wave", width: "100%", height: "110px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.calendar, variant: "rounded", animation: "wave", width: "50px", height: "50px" })] })), (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.content }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.title, animation: "wave", width: "26%", height: "30px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.spacing, animation: "wave", width: "100%", height: "20px" }), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.spacing })] })), (0, jsx_runtime_1.jsx)(material_1.CardActions, Object.assign({ className: classes.actions }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: "wave", variant: "rounded", width: "138px", height: "36px" }) }))] })));
24
24
  }
25
25
  exports.default = CreateEventWidgetSkeleton;
@@ -118,6 +118,6 @@ function CreateLiveStreamDialog(inProps) {
118
118
  /**
119
119
  * Renders root object
120
120
  */
121
- return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ DialogContentProps: { dividers: false }, maxWidth: 'md', title: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.title, component: 'span', children: [step === types_2.CreateLiveStreamStep.CREATE_LIVE && ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "text", onClick: handleBack, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "arrow_back" }), children: "Back" })), (0, jsx_runtime_1.jsx)(material_1.Box, { component: 'span', children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.createLivestreamDialog.title", defaultMessage: "ui.createLivestreamDialog.title" }) })] }), fullWidth: true, open: open, onClose: onClose, className: (0, classnames_1.default)(classes.root, className), TransitionComponent: Transition, PaperProps: { elevation: 0 } }, rest, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.content, children: [step === types_2.CreateLiveStreamStep.SELECT_TYPE && ((0, jsx_runtime_1.jsx)(LiveStreamSelector_1.default, { liveSelected: liveType, onLiveSelected: handleLiveTypeSelected, onNext: handleLiveTypeSelectedNext })), step === types_2.CreateLiveStreamStep.CREATE_LIVE && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: liveType === types_2.LiveStreamType.EVENT_LIVE ? (0, jsx_runtime_1.jsx)(EventForm_1.default, { onSuccess: handleSubmit }) : (0, jsx_runtime_1.jsx)(LiveStreamForm_1.default, { onSuccess: handleSubmit }) }))] }) })));
121
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ DialogContentProps: { dividers: false }, maxWidth: 'md', title: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.title, component: 'span' }, { children: [step === types_2.CreateLiveStreamStep.CREATE_LIVE && ((0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ variant: "text", onClick: handleBack, startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "arrow_back" }) }, { children: "Back" }))), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ component: 'span' }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.createLivestreamDialog.title", defaultMessage: "ui.createLivestreamDialog.title" }) }))] })), fullWidth: true, open: open, onClose: onClose, className: (0, classnames_1.default)(classes.root, className), TransitionComponent: Transition, PaperProps: { elevation: 0 } }, rest, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.content }, { children: [step === types_2.CreateLiveStreamStep.SELECT_TYPE && ((0, jsx_runtime_1.jsx)(LiveStreamSelector_1.default, { liveSelected: liveType, onLiveSelected: handleLiveTypeSelected, onNext: handleLiveTypeSelectedNext })), step === types_2.CreateLiveStreamStep.CREATE_LIVE && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: liveType === types_2.LiveStreamType.EVENT_LIVE ? (0, jsx_runtime_1.jsx)(EventForm_1.default, { onSuccess: handleSubmit }) : (0, jsx_runtime_1.jsx)(LiveStreamForm_1.default, { onSuccess: handleSubmit }) }))] })) })));
122
122
  }
123
123
  exports.default = CreateLiveStreamDialog;
@@ -153,14 +153,14 @@ function LiveStreamSelector(inProps) {
153
153
  onNext && onNext(selectedOption);
154
154
  }
155
155
  };
156
- return ((0, jsx_runtime_1.jsxs)(Root, { className: (0, classnames_1.default)(classes.root, className), maxWidth: "lg", sx: { py: 4 }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h4", component: "h1", align: "center", gutterBottom: true, sx: { mb: 4, fontWeight: 500 }, children: "How do you want to go live?" }), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.options, children: options.map((option, index) => ((0, jsx_runtime_1.jsxs)(OptionCard, { selected: selectedOption === option.type, onClick: () => handleOptionSelect(option.type), elevation: 0, role: "button", tabIndex: 0, onKeyDown: (e) => {
156
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), maxWidth: "lg", sx: { py: 4 } }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", component: "h1", align: "center", gutterBottom: true, sx: { mb: 4, fontWeight: 500 } }, { children: "How do you want to go live?" })), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.options }, { children: options.map((option, index) => ((0, jsx_runtime_1.jsxs)(OptionCard, Object.assign({ selected: selectedOption === option.type, onClick: () => handleOptionSelect(option.type), elevation: 0, role: "button", tabIndex: 0, onKeyDown: (e) => {
157
157
  if (e.key === 'Enter' || e.key === ' ') {
158
158
  handleOptionSelect(index);
159
159
  e.preventDefault();
160
160
  }
161
- }, theme: undefined, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h6", component: "h2", sx: { fontWeight: 500 }, children: option.title }), (0, jsx_runtime_1.jsx)(RadioIndicator, { selected: selectedOption === option.type, theme: undefined })] }), (0, jsx_runtime_1.jsx)(material_1.Box, { component: "ul", children: option.features.map((feature, featureIndex) => {
161
+ }, theme: undefined }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h6", component: "h2", sx: { fontWeight: 500 } }, { children: option.title })), (0, jsx_runtime_1.jsx)(RadioIndicator, { selected: selectedOption === option.type, theme: undefined })] }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ component: "ul" }, { children: option.features.map((feature, featureIndex) => {
162
162
  const _Icon = option.icons[featureIndex];
163
- return ((0, jsx_runtime_1.jsxs)(FeatureItem, { component: "li", children: [_Icon, (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", color: "text.secondary", sx: { flex: 1 }, children: feature })] }, featureIndex));
164
- }) })] }, index))) }), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.actions, children: (0, jsx_runtime_1.jsx)(material_1.Button, { disabled: !selectedOption, variant: "contained", onClick: handleNext, color: "secondary", children: "Next" }) })] }));
163
+ return ((0, jsx_runtime_1.jsxs)(FeatureItem, Object.assign({ component: "li" }, { children: [_Icon, (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", color: "text.secondary", sx: { flex: 1 } }, { children: feature }))] }), featureIndex));
164
+ }) }))] }), index))) })), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.actions }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ disabled: !selectedOption, variant: "contained", onClick: handleNext, color: "secondary" }, { children: "Next" })) }))] })));
165
165
  }
166
166
  exports.default = LiveStreamSelector;
@@ -5,9 +5,9 @@ var CreateLiveStreamStep;
5
5
  (function (CreateLiveStreamStep) {
6
6
  CreateLiveStreamStep["SELECT_TYPE"] = "_select_type";
7
7
  CreateLiveStreamStep["CREATE_LIVE"] = "_create_live";
8
- })(CreateLiveStreamStep || (exports.CreateLiveStreamStep = CreateLiveStreamStep = {}));
8
+ })(CreateLiveStreamStep = exports.CreateLiveStreamStep || (exports.CreateLiveStreamStep = {}));
9
9
  var LiveStreamType;
10
10
  (function (LiveStreamType) {
11
11
  LiveStreamType["EVENT_LIVE"] = "_event_live";
12
12
  LiveStreamType["DIRECT_LIVE"] = "_direct_live";
13
- })(LiveStreamType || (exports.LiveStreamType = LiveStreamType = {}));
13
+ })(LiveStreamType = exports.LiveStreamType || (exports.LiveStreamType = {}));
@@ -133,7 +133,7 @@ function CustomAdv(inProps) {
133
133
  if (!scCustomAdv) {
134
134
  return (0, jsx_runtime_1.jsx)(HiddenPlaceholder_1.default, {});
135
135
  }
136
- const adv = ((0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.wrap, children: [scCustomAdv.image && ((0, jsx_runtime_1.jsx)("img", { src: scCustomAdv.image, alt: scCustomAdv.title, className: (0, classnames_1.default)(classes.image, { [classes.prefixedHeight]: Boolean(prefixedHeight) }) })), scCustomAdv.embed_code && ((0, jsx_runtime_1.jsx)(material_1.Box, { ref: embedRef, className: (0, classnames_1.default)(classes.embedCode, { [classes.prefixedHeight]: Boolean(prefixedHeight) }), dangerouslySetInnerHTML: { __html: scCustomAdv.embed_code } }))] }));
137
- return ((0, jsx_runtime_1.jsx)(Root, { id: id, className: (0, classnames_1.default)(classes.root, className), ref: ref, style: Object.assign({}, (prefixedHeight ? { paddingBottom: prefixedHeight } : { width: '100%' })), children: scCustomAdv.link ? ((0, jsx_runtime_1.jsx)("a", { href: scCustomAdv.link, title: scCustomAdv.title, children: adv })) : (adv) }));
136
+ const adv = ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.wrap }, { children: [scCustomAdv.image && ((0, jsx_runtime_1.jsx)("img", { src: scCustomAdv.image, alt: scCustomAdv.title, className: (0, classnames_1.default)(classes.image, { [classes.prefixedHeight]: Boolean(prefixedHeight) }) })), scCustomAdv.embed_code && ((0, jsx_runtime_1.jsx)(material_1.Box, { ref: embedRef, className: (0, classnames_1.default)(classes.embedCode, { [classes.prefixedHeight]: Boolean(prefixedHeight) }), dangerouslySetInnerHTML: { __html: scCustomAdv.embed_code } }))] })));
137
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ id: id, className: (0, classnames_1.default)(classes.root, className), ref: ref, style: Object.assign({}, (prefixedHeight ? { paddingBottom: prefixedHeight } : { width: '100%' })) }, { children: scCustomAdv.link ? ((0, jsx_runtime_1.jsx)("a", Object.assign({ href: scCustomAdv.link, title: scCustomAdv.title }, { children: adv }))) : (adv) })));
138
138
  }
139
139
  exports.default = CustomAdv;
@@ -145,6 +145,6 @@ const Editor = (inProps, ref) => {
145
145
  nodes: [...nodes_1.default],
146
146
  theme: editorTheme
147
147
  }), [editable]);
148
- return ((0, jsx_runtime_1.jsx)(Root, { id: id, className: (0, classnames_1.default)(classes.root, className, { [classes.toolbar]: toolbar, [classes.focused]: focused }), children: (0, jsx_runtime_1.jsxs)(LexicalComposer_1.LexicalComposer, { initialConfig: initialConfig, children: [toolbar ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ToolbarPlugin_1.default, { uploadImage: uploadImage }), (0, jsx_runtime_1.jsx)(LexicalListPlugin_1.ListPlugin, {}), (0, jsx_runtime_1.jsx)(LexicalHorizontalRulePlugin_1.HorizontalRulePlugin, {})] })) : ((0, jsx_runtime_1.jsxs)(material_1.Stack, { className: classes.actions, direction: "row", children: [uploadImage && (0, jsx_runtime_1.jsx)(plugins_1.ImagePlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.EmojiPlugin, {})] })), (0, jsx_runtime_1.jsx)(LexicalRichTextPlugin_1.RichTextPlugin, { contentEditable: (0, jsx_runtime_1.jsx)(LexicalContentEditable_1.ContentEditable, { className: classes.content }), placeholder: (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.placeholder, onClick: handleFocus, children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.placeholder", defaultMessage: "ui.editor.placeholder" }) }), ErrorBoundary: LexicalErrorBoundary_1.default }), (0, jsx_runtime_1.jsx)(plugins_1.DefaultHtmlValuePlugin, { defaultValue: defaultValue }), (0, jsx_runtime_1.jsx)(LexicalHistoryPlugin_1.HistoryPlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.OnChangePlugin, { onChange: handleChange }), (0, jsx_runtime_1.jsx)(OnBlurPlugin_1.default, { onBlur: handleHasBlur }), (0, jsx_runtime_1.jsx)(OnFocusPlugin_1.default, { onFocus: handleHasFocus }), (0, jsx_runtime_1.jsx)(plugins_1.AutoLinkPlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.MentionsPlugin, {}), (0, jsx_runtime_1.jsx)(LexicalLinkPlugin_1.LinkPlugin, {}), (0, jsx_runtime_1.jsx)(FloatingLinkPlugin_1.default, {}), (0, jsx_runtime_1.jsx)(ApiPlugin_1.default, { ref: apiRef })] }) }));
148
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ id: id, className: (0, classnames_1.default)(classes.root, className, { [classes.toolbar]: toolbar, [classes.focused]: focused }) }, { children: (0, jsx_runtime_1.jsxs)(LexicalComposer_1.LexicalComposer, Object.assign({ initialConfig: initialConfig }, { children: [toolbar ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ToolbarPlugin_1.default, { uploadImage: uploadImage }), (0, jsx_runtime_1.jsx)(LexicalListPlugin_1.ListPlugin, {}), (0, jsx_runtime_1.jsx)(LexicalHorizontalRulePlugin_1.HorizontalRulePlugin, {})] })) : ((0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ className: classes.actions, direction: "row" }, { children: [uploadImage && (0, jsx_runtime_1.jsx)(plugins_1.ImagePlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.EmojiPlugin, {})] }))), (0, jsx_runtime_1.jsx)(LexicalRichTextPlugin_1.RichTextPlugin, { contentEditable: (0, jsx_runtime_1.jsx)(LexicalContentEditable_1.ContentEditable, { className: classes.content }), placeholder: (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.placeholder, onClick: handleFocus }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.placeholder", defaultMessage: "ui.editor.placeholder" }) })), ErrorBoundary: LexicalErrorBoundary_1.default }), (0, jsx_runtime_1.jsx)(plugins_1.DefaultHtmlValuePlugin, { defaultValue: defaultValue }), (0, jsx_runtime_1.jsx)(LexicalHistoryPlugin_1.HistoryPlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.OnChangePlugin, { onChange: handleChange }), (0, jsx_runtime_1.jsx)(OnBlurPlugin_1.default, { onBlur: handleHasBlur }), (0, jsx_runtime_1.jsx)(OnFocusPlugin_1.default, { onFocus: handleHasFocus }), (0, jsx_runtime_1.jsx)(plugins_1.AutoLinkPlugin, {}), (0, jsx_runtime_1.jsx)(plugins_1.MentionsPlugin, {}), (0, jsx_runtime_1.jsx)(LexicalLinkPlugin_1.LinkPlugin, {}), (0, jsx_runtime_1.jsx)(FloatingLinkPlugin_1.default, {}), (0, jsx_runtime_1.jsx)(ApiPlugin_1.default, { ref: apiRef })] })) })));
149
149
  };
150
150
  exports.default = (0, react_1.forwardRef)(Editor);
@@ -94,7 +94,7 @@ function ImageComponent({ src, altText, nodeKey, maxWidth }) {
94
94
  unregister();
95
95
  };
96
96
  }, [clearSelection, editor, isSelected, nodeKey, onDelete, onEnter, onEscape, setSelected]);
97
- return ((0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: null, children: (0, jsx_runtime_1.jsx)(LazyImage, { className: isSelected ? `selected` : null, src: src, altText: altText, imageRef: imageRef, maxWidth: maxWidth }) }));
97
+ return ((0, jsx_runtime_1.jsx)(react_1.Suspense, Object.assign({ fallback: null }, { children: (0, jsx_runtime_1.jsx)(LazyImage, { className: isSelected ? `selected` : null, src: src, altText: altText, imageRef: imageRef, maxWidth: maxWidth }) })));
98
98
  }
99
99
  function convertImageElement(domNode) {
100
100
  if (domNode instanceof HTMLImageElement) {
@@ -25,7 +25,7 @@ function Emoji({ editor, className = '' }) {
25
25
  if (isMobile) {
26
26
  return null;
27
27
  }
28
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { className: className, onClick: handleOpen, children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "sentiment_satisfied_alt" }) }), (0, jsx_runtime_1.jsx)(material_1.Popover, { open: Boolean(emojiAnchorEl), anchorEl: emojiAnchorEl, onClose: () => setEmojiAnchorEl(null), TransitionComponent: material_1.Fade, anchorOrigin: {
28
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ className: className, onClick: handleOpen }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "sentiment_satisfied_alt" }) })), (0, jsx_runtime_1.jsx)(material_1.Popover, Object.assign({ open: Boolean(emojiAnchorEl), anchorEl: emojiAnchorEl, onClose: () => setEmojiAnchorEl(null), TransitionComponent: material_1.Fade, anchorOrigin: {
29
29
  vertical: 'top',
30
30
  horizontal: 'right'
31
31
  }, transformOrigin: {
@@ -33,7 +33,7 @@ function Emoji({ editor, className = '' }) {
33
33
  horizontal: 'left'
34
34
  }, sx: (theme) => {
35
35
  return { zIndex: theme.zIndex.tooltip };
36
- }, children: (0, jsx_runtime_1.jsx)(EmojiPicker_1.default, { onEmojiClick: handleEmojiClick }) })] }));
36
+ } }, { children: (0, jsx_runtime_1.jsx)(EmojiPicker_1.default, { onEmojiClick: handleEmojiClick }) }))] }));
37
37
  }
38
38
  const classes = {
39
39
  root: `${constants_1.PREFIX}-emoji-plugin-root`
@@ -96,13 +96,13 @@ function FloatingLinkPlugin({ editor, isLink, setIsLink }) {
96
96
  if (!isLink || linkUrl === hideForUrl) {
97
97
  return null;
98
98
  }
99
- return ((0, jsx_runtime_1.jsx)(Root, { className: classes.root, open: Boolean(anchorEl), anchorEl: anchorEl, placement: "right", children: (0, jsx_runtime_1.jsx)(material_1.Paper, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, { size: "small", value: linkUrl, variant: "outlined", onChange: (event) => {
99
+ return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: classes.root, open: Boolean(anchorEl), anchorEl: anchorEl, placement: "right" }, { children: (0, jsx_runtime_1.jsx)(material_1.Paper, { children: (0, jsx_runtime_1.jsx)(material_1.TextField, { size: "small", value: linkUrl, variant: "outlined", onChange: (event) => {
100
100
  setLinkUrl(event.target.value);
101
101
  }, InputProps: {
102
- endAdornment: ((0, jsx_runtime_1.jsxs)(material_1.InputAdornment, { position: "end", children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", tabIndex: 0, onClick: () => {
102
+ endAdornment: ((0, jsx_runtime_1.jsxs)(material_1.InputAdornment, Object.assign({ position: "end" }, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: "small", tabIndex: 0, onClick: () => {
103
103
  setIsLink(false);
104
- }, children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "close" }) }), (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "small", tabIndex: 1, onClick: handleLinkSubmission, children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "check" }) })] }))
105
- } }) }) }));
104
+ } }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "close" }) })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ size: "small", tabIndex: 1, onClick: handleLinkSubmission }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "check" }) }))] })))
105
+ } }) }) })));
106
106
  }
107
107
  function useFloatingLinkEditorToolbar(editor) {
108
108
  const [activeEditor, setActiveEditor] = (0, react_1.useState)(editor);
@@ -63,7 +63,7 @@ function useHashtagLookupService(hashtagString) {
63
63
  }
64
64
  function HashtagsTypeaheadItem({ index, isHovered, isSelected, onClick, onMouseEnter, onMouseLeave, result }) {
65
65
  const liRef = (0, react_1.useRef)(null);
66
- return ((0, jsx_runtime_1.jsx)("li", { tabIndex: -1, className: (0, classnames_1.default)('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));
66
+ return ((0, jsx_runtime_1.jsx)("li", Object.assign({ tabIndex: -1, className: (0, classnames_1.default)('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));
67
67
  }
68
68
  function HashtagsTypeahead({ close, editor, resolution, className = '', containerEl = null }) {
69
69
  const divRef = (0, react_1.useRef)(null);
@@ -179,13 +179,13 @@ function HashtagsTypeahead({ close, editor, resolution, className = '', containe
179
179
  if (results === null) {
180
180
  return null;
181
181
  }
182
- return ((0, jsx_runtime_1.jsx)("div", { className: className, "aria-label": "Suggested hashtags", ref: divRef, role: "listbox", children: (0, jsx_runtime_1.jsx)("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => ((0, jsx_runtime_1.jsx)(HashtagsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
182
+ return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: className, "aria-label": "Suggested hashtags", ref: divRef, role: "listbox" }, { children: (0, jsx_runtime_1.jsx)("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => ((0, jsx_runtime_1.jsx)(HashtagsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
183
183
  applyCurrentSelected(i);
184
184
  }, onMouseEnter: () => {
185
185
  setHoveredIndex(i);
186
186
  }, onMouseLeave: () => {
187
187
  setHoveredIndex(null);
188
- }, result: result }, result.id))) }) }));
188
+ }, result: result }, result.id))) }) })));
189
189
  }
190
190
  function checkForCapitalizedNameHashtags(text, minMatchLength) {
191
191
  const match = CapitalizedNameHashtagsRegex.exec(text);
@@ -20,7 +20,7 @@ const constants_1 = require("../constants");
20
20
  exports.INSERT_IMAGE_COMMAND = (0, lexical_1.createCommand)();
21
21
  const UploadButton = (0, upload_button_1.asUploadButton)((0, react_1.forwardRef)((_a, ref) => {
22
22
  var { progress = null } = _a, rest = tslib_1.__rest(_a, ["progress"]);
23
- return ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({}, rest, { "aria-label": "upload image", ref: ref, children: progress ? (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { variant: "determinate", value: progress, size: "1rem" }) : (0, jsx_runtime_1.jsx)(material_1.Icon, { color: "inherit", children: "image" }) })));
23
+ return ((0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({}, rest, { "aria-label": "upload image", ref: ref }, { children: progress ? (0, jsx_runtime_1.jsx)(material_1.CircularProgress, { variant: "determinate", value: progress, size: "1rem" }) : (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ color: "inherit" }, { children: "image" })) })));
24
24
  }));
25
25
  function Image({ editor, className = '' }) {
26
26
  // CONTEXT
@@ -56,17 +56,17 @@ function Image({ editor, className = '' }) {
56
56
  if (!scUserContext.user) {
57
57
  return null;
58
58
  }
59
- return ((0, jsx_runtime_1.jsxs)(chunked_uploady_1.default, { destination: {
59
+ return ((0, jsx_runtime_1.jsxs)(chunked_uploady_1.default, Object.assign({ destination: {
60
60
  url: `${scContext.settings.portal}${api_services_1.Endpoints.ComposerChunkUploadMedia.url()}`,
61
61
  headers: Object.assign({}, (scContext.settings.session &&
62
62
  scContext.settings.session.authToken && {
63
63
  Authorization: `Bearer ${scContext.settings.session.authToken.accessToken}`
64
64
  })),
65
65
  method: api_services_1.Endpoints.ComposerChunkUploadMedia.method
66
- }, chunkSize: 204800, multiple: true, accept: "image/*", fileFilter: handleFileUploadFilter, children: [(0, jsx_runtime_1.jsx)(MediaChunkUploader_1.default, { type: "eimage", onSuccess: handleUploadSuccess, onProgress: handleUploadProgress, onError: handleUploadError }), (0, jsx_runtime_1.jsx)(UploadButton, { className: className, extraProps: {
66
+ }, chunkSize: 204800, multiple: true, accept: "image/*", fileFilter: handleFileUploadFilter }, { children: [(0, jsx_runtime_1.jsx)(MediaChunkUploader_1.default, { type: "eimage", onSuccess: handleUploadSuccess, onProgress: handleUploadProgress, onError: handleUploadError }), (0, jsx_runtime_1.jsx)(UploadButton, { className: className, extraProps: {
67
67
  disabled: Object.keys(uploading).length !== 0,
68
68
  progress: Object.keys(uploading).length !== 0 ? Object.values(uploading)[0].completed : null
69
- } })] }));
69
+ } })] })));
70
70
  }
71
71
  const classes = {
72
72
  root: `${constants_1.PREFIX}-image-plugin-root`
@@ -208,7 +208,7 @@ function useMentionLookupService(mentionString) {
208
208
  }
209
209
  function MentionsTypeaheadItem({ index, isHovered, isSelected, onClick, onMouseEnter, onMouseLeave, result }) {
210
210
  const liRef = (0, react_1.useRef)(null);
211
- return ((0, jsx_runtime_1.jsxs)("li", { tabIndex: -1, className: (0, classnames_1.default)('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick, children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: result.username, src: result.avatar }), " ", result.username] }, result.id));
211
+ return ((0, jsx_runtime_1.jsxs)("li", Object.assign({ tabIndex: -1, className: (0, classnames_1.default)('item', { ['selected']: isSelected, ['hovered']: isHovered }), ref: liRef, role: "option", "aria-selected": isSelected, id: 'typeahead-item-' + index, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onClick: onClick }, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: result.username, src: result.avatar }), " ", result.username] }), result.id));
212
212
  }
213
213
  function MentionsTypeahead({ close, editor, resolution, className = '' }) {
214
214
  const divRef = (0, react_1.useRef)(null);
@@ -302,13 +302,13 @@ function MentionsTypeahead({ close, editor, resolution, className = '' }) {
302
302
  if (results === null) {
303
303
  return null;
304
304
  }
305
- return ((0, jsx_runtime_1.jsx)("div", { className: className, "aria-label": "Suggested mentions", ref: divRef, role: "listbox", children: (0, jsx_runtime_1.jsx)("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => ((0, jsx_runtime_1.jsx)(MentionsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
305
+ return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: className, "aria-label": "Suggested mentions", ref: divRef, role: "listbox" }, { children: (0, jsx_runtime_1.jsx)("ul", { children: results.slice(0, SUGGESTION_LIST_LENGTH_LIMIT).map((result, i) => ((0, jsx_runtime_1.jsx)(MentionsTypeaheadItem, { index: i, isHovered: i === hoveredIndex, isSelected: i === selectedIndex, onClick: () => {
306
306
  applyCurrentSelected(i);
307
307
  }, onMouseEnter: () => {
308
308
  setHoveredIndex(i);
309
309
  }, onMouseLeave: () => {
310
310
  setHoveredIndex(null);
311
- }, result: result }, result.id))) }) }));
311
+ }, result: result }, result.id))) }) })));
312
312
  }
313
313
  function checkForCapitalizedNameMentions(text, minMatchLength) {
314
314
  const match = CapitalizedNameMentionsRegex.exec(text);
@@ -533,7 +533,7 @@ function useMentions(editor, anchorClassName = null) {
533
533
  if (!anchorElementRef) {
534
534
  return null;
535
535
  }
536
- return ((0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, { onClickAway: closeTypeahead, children: (0, jsx_runtime_1.jsx)(material_1.Portal, { container: anchorElementRef, children: (0, jsx_runtime_1.jsx)(Root, { close: closeTypeahead, resolution: resolution, editor: editor, className: classes.root }) }) }));
536
+ return ((0, jsx_runtime_1.jsx)(ClickAwayListener_1.default, Object.assign({ onClickAway: closeTypeahead }, { children: (0, jsx_runtime_1.jsx)(material_1.Portal, Object.assign({ container: anchorElementRef }, { children: (0, jsx_runtime_1.jsx)(Root, { close: closeTypeahead, resolution: resolution, editor: editor, className: classes.root }) })) })));
537
537
  }
538
538
  function MentionsPlugin() {
539
539
  const [editor] = (0, LexicalComposerContext_1.useLexicalComposerContext)();
@@ -112,7 +112,7 @@ function BlockFormatIconButton({ className = '', editor, blockType, disabled = f
112
112
  const handleClose = () => {
113
113
  setAnchorEl(null);
114
114
  };
115
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, { className: className, disabled: disabled, onClick: handleOpen, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.blockType", defaultMessage: "ui.editor.toolbarPlugin.blockType" }), children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: blockTypeToBlockIcon[blockType] }), (0, jsx_runtime_1.jsx)(material_1.Icon, { children: anchorEl ? 'expand_less' : 'expand_more' })] }) }) }), (0, jsx_runtime_1.jsx)(material_1.Menu, { anchorEl: anchorEl, open: Boolean(anchorEl), onClose: handleClose, children: Object.keys(blockTypeToBlockIcon).map((block) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { onClick: handleSelect(block), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: blockTypeToBlockIcon[block] }) }, block))) })] }));
115
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ className: className, disabled: disabled, onClick: handleOpen }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.blockType", defaultMessage: "ui.editor.toolbarPlugin.blockType" }) }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: blockTypeToBlockIcon[blockType] }), (0, jsx_runtime_1.jsx)(material_1.Icon, { children: anchorEl ? 'expand_less' : 'expand_more' })] }) })) })), (0, jsx_runtime_1.jsx)(material_1.Menu, Object.assign({ anchorEl: anchorEl, open: Boolean(anchorEl), onClose: handleClose }, { children: Object.keys(blockTypeToBlockIcon).map((block) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ onClick: handleSelect(block) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: blockTypeToBlockIcon[block] }) }), block))) }))] }));
116
116
  }
117
117
  const classes = {
118
118
  root: `${constants_1.PREFIX}-toolbar-plugin-root`,
@@ -265,12 +265,12 @@ function ToolbarPlugin(inProps) {
265
265
  editor.dispatchCommand(link_1.TOGGLE_LINK_COMMAND, null);
266
266
  }
267
267
  }, [editor, isLink]);
268
- return ((0, jsx_runtime_1.jsxs)(Root, { className: classes.root, children: [blockType in blockTypeToBlockIcon && activeEditor === editor && ((0, jsx_runtime_1.jsx)(BlockFormatIconButton, { className: classes.blockFormat, disabled: !isEditable, blockType: blockType, editor: editor })), (0, jsx_runtime_1.jsx)(material_1.IconButton, { disabled: !isEditable, onClick: () => {
268
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [blockType in blockTypeToBlockIcon && activeEditor === editor && ((0, jsx_runtime_1.jsx)(BlockFormatIconButton, { className: classes.blockFormat, disabled: !isEditable, blockType: blockType, editor: editor })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ disabled: !isEditable, onClick: () => {
269
269
  activeEditor.dispatchCommand(lexical_1.FORMAT_ELEMENT_COMMAND, ALIGNMENTS[(ALIGNMENTS.findIndex((a) => alignment === a) + 1) % ALIGNMENTS.length]);
270
- }, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.editor.toolbarPlugin.${alignment}`, defaultMessage: `ui.editor.toolbarPlugin.${alignment}` }), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: `format_align_${alignment}` }) }) }), (0, jsx_runtime_1.jsx)(material_1.ToggleButtonGroup, { value: formats, children: FORMATS.map((format) => ((0, jsx_runtime_1.jsx)(material_1.ToggleButton, { value: format, disabled: !isEditable, onClick: () => {
270
+ } }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.editor.toolbarPlugin.${alignment}`, defaultMessage: `ui.editor.toolbarPlugin.${alignment}` }) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: `format_align_${alignment}` }) })) })), (0, jsx_runtime_1.jsx)(material_1.ToggleButtonGroup, Object.assign({ value: formats }, { children: FORMATS.map((format) => ((0, jsx_runtime_1.jsx)(material_1.ToggleButton, Object.assign({ value: format, disabled: !isEditable, onClick: () => {
271
271
  activeEditor.dispatchCommand(lexical_1.FORMAT_TEXT_COMMAND, format);
272
- }, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.editor.toolbarPlugin.${format}`, defaultMessage: `ui.editor.toolbarPlugin.${format}` }), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: `format_${format}` }) }) }, format))) }), (0, jsx_runtime_1.jsx)(material_1.IconButton, { disabled: !isEditable, onClick: clearFormatting, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.clear", defaultMessage: "ui.editor.toolbarPlugin.clear" }), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_clear" }) }) }), (0, jsx_runtime_1.jsx)(material_1.IconButton, { disabled: !isEditable, onClick: () => {
272
+ } }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.editor.toolbarPlugin.${format}`, defaultMessage: `ui.editor.toolbarPlugin.${format}` }) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: `format_${format}` }) })) }), format))) })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ disabled: !isEditable, onClick: clearFormatting }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.clear", defaultMessage: "ui.editor.toolbarPlugin.clear" }) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_clear" }) })) })), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ disabled: !isEditable, onClick: () => {
273
273
  activeEditor.dispatchCommand(LexicalHorizontalRuleNode_1.INSERT_HORIZONTAL_RULE_COMMAND, undefined);
274
- }, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.horizontalRule", defaultMessage: "ui.editor.toolbarPlugin.horizontalRule" }), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_horizontal_rule" }) }) }), uploadImage && (0, jsx_runtime_1.jsx)(ImagePlugin_1.default, {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { disabled: !isEditable, onClick: insertLink, children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.link", defaultMessage: "ui.editor.toolbarPlugin.link" }), children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_link" }) }) }), (0, jsx_runtime_1.jsx)(EmojiPlugin_1.default, {})] }));
274
+ } }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.horizontalRule", defaultMessage: "ui.editor.toolbarPlugin.horizontalRule" }) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_horizontal_rule" }) })) })), uploadImage && (0, jsx_runtime_1.jsx)(ImagePlugin_1.default, {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ disabled: !isEditable, onClick: insertLink }, { children: (0, jsx_runtime_1.jsx)(material_1.Tooltip, Object.assign({ title: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.editor.toolbarPlugin.link", defaultMessage: "ui.editor.toolbarPlugin.link" }) }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "format_link" }) })) })), (0, jsx_runtime_1.jsx)(EmojiPlugin_1.default, {})] })));
275
275
  }
276
276
  exports.default = ToolbarPlugin;
@@ -27,7 +27,7 @@ function useDecorators(editor, ErrorBoundary) {
27
27
  const decoratorKeys = Object.keys(decorators);
28
28
  for (let i = 0; i < decoratorKeys.length; i++) {
29
29
  const nodeKey = decoratorKeys[i];
30
- const reactDecorator = ((0, jsx_runtime_1.jsx)(ErrorBoundary, { onError: (e) => editor._onError(e), children: (0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: null, children: decorators[nodeKey] }) }));
30
+ const reactDecorator = ((0, jsx_runtime_1.jsx)(ErrorBoundary, Object.assign({ onError: (e) => editor._onError(e) }, { children: (0, jsx_runtime_1.jsx)(react_1.Suspense, Object.assign({ fallback: null }, { children: decorators[nodeKey] })) })));
31
31
  const element = editor.getElementByKey(nodeKey);
32
32
  if (element !== null) {
33
33
  decoratedPortals.push((0, react_dom_1.createPortal)(reactDecorator, element, nodeKey));
@@ -125,17 +125,17 @@ function Event(inProps) {
125
125
  */
126
126
  let contentObj;
127
127
  if (template === event_1.SCEventTemplateType.DETAIL) {
128
- contentObj = ((0, jsx_runtime_1.jsxs)(DetailRoot, { className: classes.detailRoot, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.detailImageWrapper, children: [(0, jsx_runtime_1.jsx)(material_1.CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.detailImage }), !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.detailInProgress })), (0, jsx_runtime_1.jsx)(Calendar_1.default, { day: new Date(scEvent.start_date).getDate() })] }), (0, jsx_runtime_1.jsxs)(material_1.CardContent, { className: classes.detailContent, children: [scEvent.active ? ((0, jsx_runtime_1.jsx)(react_core_1.Link, { to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.detailNameWrapper, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h3", className: classes.detailName, children: scEvent.name }) })) : ((0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.detailNameWrapper, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h3", className: classes.detailName, children: scEvent.name }) })), (0, jsx_runtime_1.jsx)(EventInfoDetails_1.default, { event: scEvent }), !hideEventPlanner && ((0, jsx_runtime_1.jsx)(User_1.default, { user: scEvent.managed_by, elevation: 0, secondary: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "caption", children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.myEventsWidget.planner", defaultMessage: "ui.myEventsWidget.planner" }) }), actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}), className: classes.detailUser })), !hideEventParticipants && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.detailFirstDivider }), (0, jsx_runtime_1.jsx)(EventParticipantsButton_1.default, Object.assign({ event: scEvent }, EventParticipantsButtonComponentProps))] })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.detailSecondDivider })] }), actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.CardActions, { className: classes.detailActions, children: (0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) }))] }));
128
+ contentObj = ((0, jsx_runtime_1.jsxs)(DetailRoot, Object.assign({ className: classes.detailRoot }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.detailImageWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.detailImage }), !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.detailInProgress })), (0, jsx_runtime_1.jsx)(Calendar_1.default, { day: new Date(scEvent.start_date).getDate() })] })), (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.detailContent }, { children: [scEvent.active ? ((0, jsx_runtime_1.jsx)(react_core_1.Link, Object.assign({ to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.detailNameWrapper }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3", className: classes.detailName }, { children: scEvent.name })) }))) : ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.detailNameWrapper }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h3", className: classes.detailName }, { children: scEvent.name })) }))), (0, jsx_runtime_1.jsx)(EventInfoDetails_1.default, { event: scEvent }), !hideEventPlanner && ((0, jsx_runtime_1.jsx)(User_1.default, { user: scEvent.managed_by, elevation: 0, secondary: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.myEventsWidget.planner", defaultMessage: "ui.myEventsWidget.planner" }) })), actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}), className: classes.detailUser })), !hideEventParticipants && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.detailFirstDivider }), (0, jsx_runtime_1.jsx)(EventParticipantsButton_1.default, Object.assign({ event: scEvent }, EventParticipantsButtonComponentProps))] })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.detailSecondDivider })] })), actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.CardActions, Object.assign({ className: classes.detailActions }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) })))] })));
129
129
  }
130
130
  else if (template === event_1.SCEventTemplateType.PREVIEW) {
131
- contentObj = ((0, jsx_runtime_1.jsxs)(PreviewRoot, { className: classes.previewRoot, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { position: "relative", className: classes.previewImageWrapper, children: [(0, jsx_runtime_1.jsx)(material_1.CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.previewImage }), !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.previewInProgress }))] }), (0, jsx_runtime_1.jsxs)(material_1.CardContent, { className: classes.previewContent, children: [(0, jsx_runtime_1.jsx)(EventInfoDetails_1.default, { event: scEvent, hidePrivacyIcon: true, hasLocationInfo: false, beforePrivacyInfo: (0, jsx_runtime_1.jsx)(react_core_1.Link, { to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.previewNameWrapper, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "h5", className: classes.previewName, children: scEvent.name }) }) }), !hideEventParticipants && (0, jsx_runtime_1.jsx)(EventParticipantsButton_1.default, Object.assign({ event: scEvent, hideCaption: true }, EventParticipantsButtonComponentProps))] }), actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.CardActions, { className: classes.previewActions, children: (0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) }))] }));
131
+ contentObj = ((0, jsx_runtime_1.jsxs)(PreviewRoot, Object.assign({ className: classes.previewRoot }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ position: "relative", className: classes.previewImageWrapper }, { children: [(0, jsx_runtime_1.jsx)(material_1.CardMedia, { component: "img", image: scEvent.image_medium, alt: scEvent.name, className: classes.previewImage }), !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.previewInProgress }))] })), (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.previewContent }, { children: [(0, jsx_runtime_1.jsx)(EventInfoDetails_1.default, { event: scEvent, hidePrivacyIcon: true, hasLocationInfo: false, beforePrivacyInfo: (0, jsx_runtime_1.jsx)(react_core_1.Link, Object.assign({ to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.previewNameWrapper }, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h5", className: classes.previewName }, { children: scEvent.name })) })) }), !hideEventParticipants && (0, jsx_runtime_1.jsx)(EventParticipantsButton_1.default, Object.assign({ event: scEvent, hideCaption: true }, EventParticipantsButtonComponentProps))] })), actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.CardActions, Object.assign({ className: classes.previewActions }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) })))] })));
132
132
  }
133
133
  else {
134
- contentObj = ((0, jsx_runtime_1.jsx)(SnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.snippetRoot, image: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.snippetImage, children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { variant: "square", alt: scEvent.name, src: scEvent.image_medium, className: classes.snippetAvatar }), ' ', !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.snippetInProgress }))] }), primary: (0, jsx_runtime_1.jsxs)(react_core_1.Link, { to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.snippetPrimary, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { component: "span", children: `${intl.formatDate(scEvent.start_date, {
134
+ contentObj = ((0, jsx_runtime_1.jsx)(SnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.snippetRoot, image: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.snippetImage }, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { variant: "square", alt: scEvent.name, src: scEvent.image_medium, className: classes.snippetAvatar }), ' ', !hideInProgress && inProgress && ((0, jsx_runtime_1.jsx)(material_1.Chip, { size: "small", component: "div", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.event.inProgress", defaultMessage: "ui.event.inProgress" }), className: classes.snippetInProgress }))] })), primary: (0, jsx_runtime_1.jsxs)(react_core_1.Link, Object.assign({ to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), className: classes.snippetPrimary }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ component: "span" }, { children: `${intl.formatDate(scEvent.start_date, {
135
135
  weekday: 'long',
136
136
  month: 'long',
137
137
  day: 'numeric'
138
- })}` }), (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body1", children: scEvent.name })] }), secondary: (0, jsx_runtime_1.jsxs)(material_1.Typography, { component: "p", variant: "body2", className: classes.snippetSecondary, children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.privacy.${scEvent.privacy}`, defaultMessage: `ui.eventForm.privacy.${scEvent.privacy}` }), " -", ' ', (scEvent === null || scEvent === void 0 ? void 0 : scEvent.location) === types_1.SCEventLocationType.PERSON ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.address.live.label`, defaultMessage: `ui.eventForm.address.live.label` })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.address.online.label`, defaultMessage: `ui.eventForm.address.online.label` }))] }), actions: actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.snippetActions, children: (0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent), children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) }) })) }));
138
+ })}` })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body1" }, { children: scEvent.name }))] })), secondary: (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ component: "p", variant: "body2", className: classes.snippetSecondary }, { children: [(0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.privacy.${scEvent.privacy}`, defaultMessage: `ui.eventForm.privacy.${scEvent.privacy}` }), " -", ' ', (scEvent === null || scEvent === void 0 ? void 0 : scEvent.location) === types_1.SCEventLocationType.PERSON ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.address.live.label`, defaultMessage: `ui.eventForm.address.live.label` })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.address.online.label`, defaultMessage: `ui.eventForm.address.online.label` }))] })), actions: actions !== null && actions !== void 0 ? actions : ((0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.snippetActions }, { children: (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", component: react_core_1.Link, to: scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scEvent) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { defaultMessage: "ui.event.see", id: "ui.event.see" }) })) }))) }));
139
139
  }
140
140
  /**
141
141
  * Renders root object
@@ -79,13 +79,13 @@ function EventSkeleton(inProps) {
79
79
  */
80
80
  let contentObj;
81
81
  if (template === event_1.SCEventTemplateType.DETAIL) {
82
- contentObj = ((0, jsx_runtime_1.jsxs)(SkeletonDetailRoot, { className: classes.skeletonDetailRoot, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { position: "relative", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "170px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.skeletonDetailCalendar, variant: "rounded", animation: skeletonsAnimation, width: "60px", height: "60px" })] }), (0, jsx_runtime_1.jsxs)(material_1.CardContent, { className: classes.skeletonDetailContent, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "36%", height: "40px" }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "50%", height: "20px" })] }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "35%", height: "20px" })] }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "14px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "27%", height: "20px" })] }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", gap: "8px", className: classes.skeletonDetailUser, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "36px", height: "36px" }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "1px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "75px", height: "15px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "86px", height: "16px" })] })] }), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.skeletonDetailFirstDivider }), (0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", gap: "8px", alignItems: "center", height: "28px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "68px", height: "20px" }), (0, jsx_runtime_1.jsxs)(material_1.AvatarGroup, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" })] })] }), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.skeletonDetailSecondDivider })] }), (0, jsx_runtime_1.jsx)(material_1.CardActions, { className: classes.skeletonDetailActions, children: actions !== undefined ? actions : (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rounded", width: 100, height: 30 }) })] }));
82
+ contentObj = ((0, jsx_runtime_1.jsxs)(SkeletonDetailRoot, Object.assign({ className: classes.skeletonDetailRoot }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ position: "relative" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "170px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { className: classes.skeletonDetailCalendar, variant: "rounded", animation: skeletonsAnimation, width: "60px", height: "60px" })] })), (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.skeletonDetailContent }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "36%", height: "40px" }), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "50%", height: "20px" })] })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "9px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "35%", height: "20px" })] })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "14px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "27%", height: "20px" })] })), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", gap: "8px", className: classes.skeletonDetailUser }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "36px", height: "36px" }), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ gap: "1px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "75px", height: "15px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "86px", height: "16px" })] }))] })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.skeletonDetailFirstDivider }), (0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", gap: "8px", alignItems: "center", height: "28px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "68px", height: "20px" }), (0, jsx_runtime_1.jsxs)(material_1.AvatarGroup, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" })] })] })), (0, jsx_runtime_1.jsx)(material_1.Divider, { className: classes.skeletonDetailSecondDivider })] })), (0, jsx_runtime_1.jsx)(material_1.CardActions, Object.assign({ className: classes.skeletonDetailActions }, { children: actions !== undefined ? actions : (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rounded", width: 100, height: 30 }) }))] })));
83
83
  }
84
84
  else if (template === event_1.SCEventTemplateType.PREVIEW) {
85
- contentObj = ((0, jsx_runtime_1.jsxs)(SkeletonPreviewRoot, { className: classes.skeletonPreviewRoot, children: [(0, jsx_runtime_1.jsx)(material_1.Box, { position: "relative", children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "80px" }) }), (0, jsx_runtime_1.jsxs)(material_1.CardContent, { className: classes.skeletonPreviewContent, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", alignItems: "center", gap: "8px", children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "50%", height: "20px" })] }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "67%", height: "25px", className: classes.skeletonPreviewName }), (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "row", alignItems: "center", gap: "8px", marginBottom: "2px", children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "27%", height: "18px" }) }), (0, jsx_runtime_1.jsx)(material_1.Stack, { direction: "row", gap: "8px", alignItems: "center", children: (0, jsx_runtime_1.jsxs)(material_1.AvatarGroup, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` })] }) })] }), (0, jsx_runtime_1.jsx)(material_1.CardActions, { className: classes.skeletonPreviewActions, children: actions !== undefined ? actions : (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rounded", width: 100, height: 30 }) })] }));
85
+ contentObj = ((0, jsx_runtime_1.jsxs)(SkeletonPreviewRoot, Object.assign({ className: classes.skeletonPreviewRoot }, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ position: "relative" }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "80px" }) })), (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ className: classes.skeletonPreviewContent }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "50%", height: "20px" })] })), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "67%", height: "25px", className: classes.skeletonPreviewName }), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", alignItems: "center", gap: "8px", marginBottom: "2px" }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, width: "27%", height: "18px" }) })), (0, jsx_runtime_1.jsx)(material_1.Stack, Object.assign({ direction: "row", gap: "8px", alignItems: "center" }, { children: (0, jsx_runtime_1.jsxs)(material_1.AvatarGroup, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "circular", width: `${theme.selfcommunity.user.avatar.sizeSmall}px`, height: `${theme.selfcommunity.user.avatar.sizeSmall}px` })] }) }))] })), (0, jsx_runtime_1.jsx)(material_1.CardActions, Object.assign({ className: classes.skeletonPreviewActions }, { children: actions !== undefined ? actions : (0, jsx_runtime_1.jsx)(Skeleton_1.default, { variant: "rounded", width: 100, height: 30 }) }))] })));
86
86
  }
87
87
  else {
88
- contentObj = ((0, jsx_runtime_1.jsx)(SkeletonSnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.skeletonSnippetRoot, image: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.skeletonSnippetImage, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", width: 100, height: 60 }), " ", (0, jsx_runtime_1.jsx)(material_1.Icon, { fontSize: "large", children: "CalendarIcon" })] }), primary: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "40%", style: { marginBottom: 12 } }), secondary: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "60%", style: { marginBottom: 10, marginRight: 5 } }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "35%" })] }), actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: actions !== undefined ? (actions) : ((0, jsx_runtime_1.jsx)(material_1.Button, { size: "small", variant: "outlined", disabled: true, children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, height: 10, width: 30, style: { marginTop: 5, marginBottom: 5 } }) })) }) }));
88
+ contentObj = ((0, jsx_runtime_1.jsx)(SkeletonSnippetRoot, { elevation: 0, square: true, disableTypography: true, className: classes.skeletonSnippetRoot, image: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.skeletonSnippetImage }, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", width: 100, height: 60 }), " ", (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ fontSize: "large" }, { children: "CalendarIcon" }))] })), primary: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "40%", style: { marginBottom: 12 } }), secondary: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "60%", style: { marginBottom: 10, marginRight: 5 } }), (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "35%" })] }), actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: actions !== undefined ? (actions) : ((0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ size: "small", variant: "outlined", disabled: true }, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.default, { animation: skeletonsAnimation, height: 10, width: 30, style: { marginTop: 5, marginBottom: 5 } }) }))) }) }));
89
89
  }
90
90
  return ((0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className, `${constants_1.PREFIX}-skeleton-${template}`) }, rest, { children: contentObj })));
91
91
  }
@@ -89,7 +89,7 @@ const EventAutocomplete = (inProps) => {
89
89
  renderOption: (props, option, { inputValue }) => {
90
90
  const matches = (0, match_1.default)(option.name, inputValue);
91
91
  const parts = (0, parse_1.default)(option.name, matches);
92
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.name, src: option.image_small, sx: { marginRight: 1 } }), (0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: parts.map((part, index) => ((0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { fontWeight: part.highlight ? 700 : 400, marginRight: 0.2 }, children: part.text }, index))) })] })));
92
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.name, src: option.image_small, sx: { marginRight: 1 } }), (0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: parts.map((part, index) => ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ sx: { fontWeight: part.highlight ? 700 : 400, marginRight: 0.2 } }, { children: part.text }), index))) })] })));
93
93
  }, renderInput: (params) => {
94
94
  return ((0, jsx_runtime_1.jsx)(TextField_1.default, Object.assign({}, params, TextFieldProps, { margin: "dense", InputProps: Object.assign(Object.assign({}, params.InputProps), { autoComplete: 'events', endAdornment: ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [isLoading ? (0, jsx_runtime_1.jsx)(CircularProgress_1.default, { color: "inherit", size: 20 }) : null, params.InputProps.endAdornment] })) }) })));
95
95
  } }, rest)));
@@ -114,8 +114,8 @@ function EventAddress(inProps) {
114
114
  if (!geocodingApiKey && !isLoaded) {
115
115
  return (0, jsx_runtime_1.jsx)(HiddenPlaceholder_1.default, {});
116
116
  }
117
- return ((0, jsx_runtime_1.jsxs)(Root, { className: (0, classnames_1.default)(classes.root, className), children: [(0, jsx_runtime_1.jsxs)(material_1.Tabs, { className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth", children: [(0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "add_location_alt" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) }), (0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "play_circle_outline" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.tabContent, children: [location === types_1.SCEventLocationType.PERSON && ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { label: (0, jsx_runtime_1.jsx)(react_intl_1.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: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "add_location_alt" }) }), params.InputProps.endAdornment] })) }) }))) })), location === types_1.SCEventLocationType.ONLINE && ((0, jsx_runtime_1.jsx)(UrlTextField_1.default, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), InputProps: {
117
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Tabs, Object.assign({ className: classes.tabs, value: location, onChange: handleChange, indicatorColor: "secondary", textColor: "secondary", variant: "fullWidth" }, { children: [(0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "add_location_alt" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.label", defaultMessage: "ui.eventForm.address.live.label" }) }), (0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "play_circle_outline" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.label", defaultMessage: "ui.eventForm.address.online.label" }) })] })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.tabContent }, { children: [location === types_1.SCEventLocationType.PERSON && ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { size: "small", value: geolocation, onChange: handleSelection, inputValue: inputValue, onInputChange: handleLocationChange, options: suggestions, getOptionLabel: (option) => option.description || geolocation.description, noOptionsText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.live.noResults", defaultMessage: "ui.eventForm.address.live.noResults" }), isOptionEqualToValue: (option, value) => option.description === value.description, renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { label: (0, jsx_runtime_1.jsx)(react_intl_1.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: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "add_location_alt" }) })), params.InputProps.endAdornment] })) }) }))) })), location === types_1.SCEventLocationType.ONLINE && ((0, jsx_runtime_1.jsx)(UrlTextField_1.default, { size: "small", fullWidth: true, type: "url", placeholder: `${intl.formatMessage(messages.virtualPlaceholder)}`, helperText: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.online.help", defaultMessage: "ui.eventForm.address.online.help" }), InputProps: {
118
118
  endAdornment: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "play_circle_outline" })
119
- }, onChange: handleLinkChange }))] })] }));
119
+ }, onChange: handleLinkChange }))] }))] })));
120
120
  }
121
121
  exports.default = EventAddress;
@@ -284,10 +284,10 @@ function EventForm(inProps) {
284
284
  /**
285
285
  * Renders root object
286
286
  */
287
- return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Paper, { style: _backgroundCover, classes: { root: classes.cover }, children: (0, jsx_runtime_1.jsx)(UploadEventCover_1.default, { isCreationMode: true, onChange: handleChangeCover }) }), (0, jsx_runtime_1.jsxs)(material_1.FormGroup, { className: classes.form, children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { required: true, className: classes.name, placeholder: `${intl.formatMessage(messages.name)}`, margin: "normal", value: field.name, name: "name", onChange: handleChange, InputProps: {
288
- endAdornment: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", children: Event_1.EVENT_TITLE_MAX_LENGTH - field.name.length })
289
- }, error: Boolean(field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH) || Boolean(error['nameError']), helperText: field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.name.error.maxLength", defaultMessage: "ui.eventForm.name.error.maxLength" })) : error['nameError'] ? (error['nameError']) : null }), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.dateTime, children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, { dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default, children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, disablePast: true, label: field.startDate && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.placeholder", defaultMessage: "ui.eventForm.date.placeholder" }), value: field.startDate, slots: {
290
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) })) }) })))
287
+ return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className) }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Paper, Object.assign({ style: _backgroundCover, classes: { root: classes.cover } }, { children: (0, jsx_runtime_1.jsx)(UploadEventCover_1.default, { isCreationMode: true, onChange: handleChangeCover }) })), (0, jsx_runtime_1.jsxs)(material_1.FormGroup, Object.assign({ className: classes.form }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { required: true, className: classes.name, placeholder: `${intl.formatMessage(messages.name)}`, margin: "normal", value: field.name, name: "name", onChange: handleChange, InputProps: {
288
+ endAdornment: (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: Event_1.EVENT_TITLE_MAX_LENGTH - field.name.length }))
289
+ }, error: Boolean(field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH) || Boolean(error['nameError']), helperText: field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.name.error.maxLength", defaultMessage: "ui.eventForm.name.error.maxLength" })) : error['nameError'] ? (error['nameError']) : null }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.dateTime }, { children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, Object.assign({ dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default }, { children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, disablePast: true, label: field.startDate && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.placeholder", defaultMessage: "ui.eventForm.date.placeholder" }), value: field.startDate, slots: {
290
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "CalendarIcon" }) }) }))) }) })))
291
291
  }, slotProps: {
292
292
  toolbar: {
293
293
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
@@ -295,26 +295,26 @@ function EventForm(inProps) {
295
295
  toolbarTitle: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.title", defaultMessage: "ui.eventForm.date.title" })
296
296
  }
297
297
  }, onChange: (value) => handleChangeDateTime(value, 'startDate') }), (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileTimePicker, { className: classes.picker, disablePast: disablePastStartTime, label: field.startTime && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.placeholder", defaultMessage: "ui.eventForm.time.placeholder" }), value: field.startTime, slots: {
298
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) })) }) })))
298
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.startTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) }) })))
299
299
  }, slotProps: {
300
300
  toolbar: {
301
301
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore,@typescript-eslint/ban-ts-comment
302
302
  // @ts-ignore
303
303
  toolbarTitle: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.title", defaultMessage: "ui.eventForm.time.title" })
304
304
  }
305
- }, onChange: (value) => handleChangeDateTime(value, 'startTime') })] }) }), (0, jsx_runtime_1.jsxs)(material_1.FormControl, { className: classes.frequency, children: [field.recurring !== types_1.SCEventRecurrenceType.NEVER && (0, jsx_runtime_1.jsx)(material_1.InputLabel, { id: "recurring", children: `${intl.formatMessage(messages.frequency)}` }), (0, jsx_runtime_1.jsx)(material_1.Select, { name: "recurring", label: field.recurring !== types_1.SCEventRecurrenceType.NEVER && `${intl.formatMessage(messages.frequency)}`, labelId: "recurring", value: field.recurring, onChange: handleChange, displayEmpty: true, renderValue: (selected) => {
305
+ }, onChange: (value) => handleChangeDateTime(value, 'startTime') })] })) })), (0, jsx_runtime_1.jsxs)(material_1.FormControl, Object.assign({ className: classes.frequency }, { children: [field.recurring !== types_1.SCEventRecurrenceType.NEVER && (0, jsx_runtime_1.jsx)(material_1.InputLabel, Object.assign({ id: "recurring" }, { children: `${intl.formatMessage(messages.frequency)}` })), (0, jsx_runtime_1.jsx)(material_1.Select, Object.assign({ name: "recurring", label: field.recurring !== types_1.SCEventRecurrenceType.NEVER && `${intl.formatMessage(messages.frequency)}`, labelId: "recurring", value: field.recurring, onChange: handleChange, displayEmpty: true, renderValue: (selected) => {
306
306
  if (!selected) {
307
307
  return (0, jsx_runtime_1.jsx)("em", { children: `${intl.formatMessage(messages.frequencyPlaceholder)}` });
308
308
  }
309
309
  return ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.frequency.${selected}.placeholder`, defaultMessage: `ui.eventForm.frequency.${selected}.placeholder` }));
310
- }, startAdornment: (0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "frequency" }) }) }), children: Object.values(types_1.SCEventRecurrenceType).map((f) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: f, children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.frequency.${f}.placeholder`, defaultMessage: `ui.eventForm.frequency.${f}.placeholder` }) }, f))) })] }), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.dateTime, children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, { dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default, children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, disablePast: true, minDate: field.startDate, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.end.placeholder", defaultMessage: "ui.eventForm.date.end.placeholder" }), value: field.endDate, slots: {
311
- textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "calendar_off" }) }) })) }) })))
310
+ }, startAdornment: (0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "frequency" }) }) })) }, { children: Object.values(types_1.SCEventRecurrenceType).map((f) => ((0, jsx_runtime_1.jsx)(material_1.MenuItem, Object.assign({ value: f }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: `ui.eventForm.frequency.${f}.placeholder`, defaultMessage: `ui.eventForm.frequency.${f}.placeholder` }) }), f))) }))] })), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.dateTime }, { children: (0, jsx_runtime_1.jsxs)(x_date_pickers_1.LocalizationProvider, Object.assign({ dateAdapter: AdapterDateFns_1.AdapterDateFns, adapterLocale: scContext.settings.locale.default === 'it' ? it_1.default : en_US_1.default }, { children: [(0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileDatePicker, { className: classes.picker, disablePast: true, minDate: field.startDate, label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.date.end.placeholder", defaultMessage: "ui.eventForm.date.end.placeholder" }), value: field.endDate, slots: {
311
+ textField: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endDate)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "calendar_off" }) }) }))) }) })))
312
312
  }, onChange: (value) => handleChangeDateTime(value, 'endDate'), shouldDisableDate: shouldDisabledDate }), (0, jsx_runtime_1.jsx)(x_date_pickers_1.MobileTimePicker, { className: classes.picker, disablePast: disablePastEndTime, label: field.endTime && (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.end.placeholder", defaultMessage: "ui.eventForm.time.end.placeholder" }), value: field.endTime, slots: {
313
313
  textField: (params) => {
314
314
  var _a;
315
- return ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, { position: "start", children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) })) }), error: Boolean(error['endDateError']), helperText: ((_a = error['endDateError']) === null || _a === void 0 ? void 0 : _a.error) ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.end.error.invalid", defaultMessage: "ui.eventForm.time.end.error.invalid" })) : null })));
315
+ return ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { InputProps: Object.assign(Object.assign({}, params.InputProps), { placeholder: `${intl.formatMessage(messages.endTime)}`, startAdornment: ((0, jsx_runtime_1.jsx)(material_1.InputAdornment, Object.assign({ position: "start" }, { children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "access_time" }) }) }))) }), error: Boolean(error['endDateError']), helperText: ((_a = error['endDateError']) === null || _a === void 0 ? void 0 : _a.error) ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.time.end.error.invalid", defaultMessage: "ui.eventForm.time.end.error.invalid" })) : null })));
316
316
  }
317
- }, onChange: (value) => handleChangeDateTime(value, 'endTime'), shouldDisableTime: shouldDisabledTime })] }) }), (0, jsx_runtime_1.jsx)(EventAddress_1.default, { forwardGeolocationData: handleGeoData, event: event !== null && event !== void 0 ? event : null }), privateEnabled && ((0, jsx_runtime_1.jsxs)(material_1.Box, { className: classes.privacySection, children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { direction: "row", spacing: 1, alignItems: "center", justifyContent: "center", children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, { className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: !field.isPublic }), children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "private" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.private", defaultMessage: "ui.eventForm.privacy.private" })] }), (0, jsx_runtime_1.jsx)(material_1.Switch, { className: classes.switch, checked: field.isPublic, onChange: () => setField((prev) => (Object.assign(Object.assign({}, prev), { ['isPublic']: !field.isPublic }))), disabled: event && !field.isPublic }), (0, jsx_runtime_1.jsxs)(material_1.Typography, { className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: field.isPublic }), children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "public" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public", defaultMessage: "ui.eventForm.privacy.public" })] })] }), (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", textAlign: "center", className: classes.privacySectionInfo, children: field.isPublic ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public.info", defaultMessage: "ui.eventForm.privacy.public.info", values: {
317
+ }, onChange: (value) => handleChangeDateTime(value, 'endTime'), shouldDisableTime: shouldDisabledTime })] })) })), (0, jsx_runtime_1.jsx)(EventAddress_1.default, { forwardGeolocationData: handleGeoData, event: event !== null && event !== void 0 ? event : null }), privateEnabled && ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.privacySection }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, Object.assign({ direction: "row", spacing: 1, alignItems: "center", justifyContent: "center" }, { children: [(0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: !field.isPublic }) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "private" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.private", defaultMessage: "ui.eventForm.privacy.private" })] })), (0, jsx_runtime_1.jsx)(material_1.Switch, { className: classes.switch, checked: field.isPublic, onChange: () => setField((prev) => (Object.assign(Object.assign({}, prev), { ['isPublic']: !field.isPublic }))), disabled: event && !field.isPublic }), (0, jsx_runtime_1.jsxs)(material_1.Typography, Object.assign({ className: (0, classnames_1.default)(classes.switchLabel, { [classes.active]: field.isPublic }) }, { children: [(0, jsx_runtime_1.jsx)(material_1.Icon, { children: "public" }), (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public", defaultMessage: "ui.eventForm.privacy.public" })] }))] })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2", textAlign: "center", className: classes.privacySectionInfo }, { children: field.isPublic ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.privacy.public.info", defaultMessage: "ui.eventForm.privacy.public.info", values: {
318
318
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
319
319
  // @ts-ignore
320
320
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks })
@@ -322,9 +322,9 @@ function EventForm(inProps) {
322
322
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
323
323
  // @ts-ignore
324
324
  b: (chunks) => (0, jsx_runtime_1.jsx)("strong", { children: chunks })
325
- } })) })] })), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, className: classes.description, placeholder: `${intl.formatMessage(messages.description)}`, margin: "normal", value: field.description, name: "description", onChange: handleChange, InputProps: {
326
- endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", children: ((_b = field.description) === null || _b === void 0 ? void 0 : _b.length) ? Event_1.EVENT_DESCRIPTION_MAX_LENGTH - field.description.length : Event_1.EVENT_DESCRIPTION_MAX_LENGTH }))
327
- }, error: Boolean(((_c = field.description) === null || _c === void 0 ? void 0 : _c.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH), helperText: ((_d = field.description) === null || _d === void 0 ? void 0 : _d.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.description.error.maxLength", defaultMessage: "ui.eventForm.description.error.maxLength" })) : null }), (0, jsx_runtime_1.jsx)(material_1.Box, { className: classes.actions, children: (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, { loading: field.isSubmitting, disabled: !field.name ||
325
+ } })) }))] }))), (0, jsx_runtime_1.jsx)(material_1.TextField, { multiline: true, className: classes.description, placeholder: `${intl.formatMessage(messages.description)}`, margin: "normal", value: field.description, name: "description", onChange: handleChange, InputProps: {
326
+ endAdornment: ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "body2" }, { children: ((_b = field.description) === null || _b === void 0 ? void 0 : _b.length) ? Event_1.EVENT_DESCRIPTION_MAX_LENGTH - field.description.length : Event_1.EVENT_DESCRIPTION_MAX_LENGTH })))
327
+ }, error: Boolean(((_c = field.description) === null || _c === void 0 ? void 0 : _c.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH), helperText: ((_d = field.description) === null || _d === void 0 ? void 0 : _d.length) > Event_1.EVENT_DESCRIPTION_MAX_LENGTH ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.description.error.maxLength", defaultMessage: "ui.eventForm.description.error.maxLength" })) : null }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.actions }, { children: (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ loading: field.isSubmitting, disabled: !field.name ||
328
328
  !field.startDate ||
329
329
  !field.startTime ||
330
330
  !field.endDate ||
@@ -334,6 +334,6 @@ function EventForm(inProps) {
334
334
  (field.recurring !== types_1.SCEventRecurrenceType.NEVER && !field.endDate && !field.endTime) ||
335
335
  Object.keys(error).length !== 0 ||
336
336
  field.name.length > Event_1.EVENT_TITLE_MAX_LENGTH ||
337
- field.description.length > Event_1.EVENT_DESCRIPTION_MAX_LENGTH, variant: "contained", onClick: handleSubmit, color: "secondary", children: event ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.button.edit", defaultMessage: "ui.eventForm.button.edit" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.button.create", defaultMessage: "ui.eventForm.button.create" })) }) })] })] })));
337
+ field.description.length > Event_1.EVENT_DESCRIPTION_MAX_LENGTH, variant: "contained", onClick: handleSubmit, color: "secondary" }, { children: event ? ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.button.edit", defaultMessage: "ui.eventForm.button.edit" })) : ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.button.create", defaultMessage: "ui.eventForm.button.create" })) })) }))] }))] })));
338
338
  }
339
339
  exports.default = EventForm;
@@ -116,7 +116,7 @@ function UploadEventCover(inProps) {
116
116
  * If there is an error
117
117
  */
118
118
  if (alert) {
119
- return ((0, jsx_runtime_1.jsx)(material_1.Alert, { color: "error", onClose: () => setAlert(null), children: alert }));
119
+ return ((0, jsx_runtime_1.jsx)(material_1.Alert, Object.assign({ color: "error", onClose: () => setAlert(null) }, { children: alert })));
120
120
  }
121
121
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("input", { type: "file", onChange: handleUpload, ref: fileInput, hidden: true, accept: ".gif,.png,.jpg,.jpeg" }), (0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), size: "medium", variant: "contained", disabled: loading, onClick: () => fileInput.current.click(), loading: loading }, rest, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { children: "image" }) }))] }));
122
122
  }