@selfcommunity/react-ui 0.11.0-alpha.65 → 0.11.0-alpha.66
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.
- package/lib/cjs/components/AcceptRequestUserEventButton/AcceptRequestUserEventButton.js +2 -2
- package/lib/cjs/components/AccountChangeMailValidation/AccountChangeMailValidation.js +1 -2
- package/lib/cjs/components/AccountDataPortability/AccountDataPortability.js +2 -4
- package/lib/cjs/components/AccountDataPortabilityButton/AccountDataPortabilityButton.js +2 -3
- package/lib/cjs/components/AccountDelete/AccountDelete.js +1 -2
- package/lib/cjs/components/AccountDeleteButton/AccountDeleteButton.js +2 -3
- package/lib/cjs/components/AccountRecover/AccountRecover.js +1 -2
- package/lib/cjs/components/AccountReset/AccountReset.js +1 -2
- package/lib/cjs/components/AccountVerify/AccountVerify.js +1 -2
- package/lib/cjs/components/BroadcastMessages/BroadcastMessages.js +1 -2
- package/lib/cjs/components/BroadcastMessages/Message.js +3 -5
- package/lib/cjs/components/BroadcastMessages/Skeleton.js +2 -3
- package/lib/cjs/components/Categories/Categories.js +1 -2
- package/lib/cjs/components/Categories/Skeleton.js +1 -2
- package/lib/cjs/components/CategoriesPopularWidget/CategoriesPopularWidget.js +2 -3
- package/lib/cjs/components/CategoriesPopularWidget/Skeleton.js +2 -2
- package/lib/cjs/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.js +2 -3
- package/lib/cjs/components/CategoriesSuggestionWidget/Skeleton.js +2 -4
- package/lib/cjs/components/Category/Category.js +1 -2
- package/lib/cjs/components/Category/Skeleton.js +2 -4
- package/lib/cjs/components/CategoryAutocomplete/CategoryAutocomplete.d.ts +2 -3
- package/lib/cjs/components/CategoryAutocomplete/CategoryAutocomplete.js +3 -8
- package/lib/cjs/components/CategoryFollowButton/CategoryFollowButton.js +2 -2
- package/lib/cjs/components/CategoryFollowersButton/CategoryFollowersButton.d.ts +1 -1
- package/lib/cjs/components/CategoryFollowersButton/CategoryFollowersButton.js +3 -5
- package/lib/cjs/components/CategoryHeader/CategoryHeader.js +1 -2
- package/lib/cjs/components/CategoryHeader/Skeleton.js +3 -6
- package/lib/cjs/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +4 -6
- package/lib/cjs/components/CategoryTrendingFeedWidget/Skeleton.js +2 -4
- package/lib/cjs/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +3 -5
- package/lib/cjs/components/CategoryTrendingUsersWidget/Skeleton.js +2 -4
- package/lib/cjs/components/ChangeCover/ChangeCover.js +3 -6
- package/lib/cjs/components/ChangeGroupCover/ChangeGroupCover.js +2 -4
- package/lib/cjs/components/ChangeGroupPicture/ChangeGroupPicture.js +2 -4
- package/lib/cjs/components/ChangePicture/ChangePicture.js +2 -4
- package/lib/cjs/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +3 -8
- package/lib/cjs/components/CommentObject/CommentObject.js +1 -2
- package/lib/cjs/components/CommentObject/Skeleton.js +2 -4
- package/lib/cjs/components/CommentObjectReply/CommentObjectReply.js +1 -2
- package/lib/cjs/components/CommentsFeedObject/CommentsFeedObject.js +3 -5
- package/lib/cjs/components/CommentsFeedObject/Skeleton.js +2 -2
- package/lib/cjs/components/CommentsObject/CommentsObject.js +2 -4
- package/lib/cjs/components/CommentsObject/Skeleton.js +1 -2
- package/lib/cjs/components/Composer/Attributes/Attributes.js +3 -5
- package/lib/cjs/components/Composer/Composer.js +5 -7
- package/lib/cjs/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +1 -2
- package/lib/cjs/components/Composer/Content/ContentLesson/ContentLesson.js +1 -2
- package/lib/cjs/components/Composer/Content/ContentPoll/ContentPoll.js +6 -9
- package/lib/cjs/components/Composer/Content/ContentPost/ContentPost.js +1 -2
- package/lib/cjs/components/Composer/Layer/AudienceLayer/AudienceLayer.d.ts +2 -3
- package/lib/cjs/components/Composer/Layer/AudienceLayer/AudienceLayer.js +5 -9
- package/lib/cjs/components/Composer/Layer/CategoryLayer/CategoryLayer.js +2 -5
- package/lib/cjs/components/Composer/Layer/CloseLayer/CloseLayer.js +2 -5
- package/lib/cjs/components/Composer/Layer/LocationLayer/LocationLayer.d.ts +1 -1
- package/lib/cjs/components/Composer/Layer/LocationLayer/LocationLayer.js +2 -5
- package/lib/cjs/components/Composer/Skeleton.js +2 -5
- package/lib/cjs/components/Composer/TypeSwitchButtonGroup/TypeSwitchButtonGroup.js +1 -2
- package/lib/cjs/components/ConnectionUserButton/ConnectionUserButton.js +1 -2
- package/lib/cjs/components/ConsentSolution/ConsentSolution.js +6 -13
- package/lib/cjs/components/ConsentSolution/Skeleton.js +3 -6
- package/lib/cjs/components/ConsentSolutionButton/ConsentSolutionButton.d.ts +1 -1
- package/lib/cjs/components/ConsentSolutionButton/ConsentSolutionButton.js +1 -3
- package/lib/cjs/components/Course/Course.js +3 -4
- package/lib/cjs/components/Course/CreatePlaceholder.js +1 -2
- package/lib/cjs/components/Course/Skeleton.js +5 -7
- package/lib/cjs/components/CourseContentMenu/CourseContentMenu.js +1 -2
- package/lib/cjs/components/CourseForm/CourseForm.js +1 -2
- package/lib/cjs/components/CourseForm/Edit.js +1 -2
- package/lib/cjs/components/CourseForm/UploadCourseCover.js +2 -4
- package/lib/cjs/components/CourseFormDialog/CourseFormDialog.js +2 -2
- package/lib/cjs/components/CourseJoinButton/CourseJoinButton.js +2 -2
- package/lib/cjs/components/CourseParticipantsButton/CourseParticipantsButton.d.ts +1 -1
- package/lib/cjs/components/CourseParticipantsButton/CourseParticipantsButton.js +2 -3
- package/lib/cjs/components/Courses/Skeleton.js +1 -2
- package/lib/cjs/components/CreateCourseButton/CreateCourseButton.js +1 -2
- package/lib/cjs/components/CreateEventButton/CreateEventButton.js +1 -2
- package/lib/cjs/components/CreateEventWidget/Skeleton.js +2 -4
- package/lib/cjs/components/CreateGroupButton/CreateGroupButton.d.ts +1 -1
- package/lib/cjs/components/CreateGroupButton/CreateGroupButton.js +1 -2
- package/lib/cjs/components/CreateLiveStreamButton/CreateLiveStreamButton.d.ts +1 -1
- package/lib/cjs/components/CreateLiveStreamButton/CreateLiveStreamButton.js +1 -2
- package/lib/cjs/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +2 -4
- package/lib/cjs/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +3 -4
- package/lib/cjs/components/CustomAdv/CustomAdv.js +1 -2
- package/lib/cjs/components/CustomAdv/Skeleton.js +2 -2
- package/lib/cjs/components/EditCourse/MenuRow.js +1 -3
- package/lib/cjs/components/EditEventButton/EditEventButton.js +2 -2
- package/lib/cjs/components/EditGroupButton/EditGroupButton.js +2 -2
- package/lib/cjs/components/Editor/Editor.js +1 -2
- package/lib/cjs/components/Editor/Skeleton.js +2 -2
- package/lib/cjs/components/Editor/plugins/EmojiPlugin.js +1 -2
- package/lib/cjs/components/Editor/plugins/FloatingLinkPlugin.js +2 -5
- package/lib/cjs/components/Editor/plugins/HashtagPlugin.js +2 -2
- package/lib/cjs/components/Editor/plugins/ImagePlugin.js +1 -2
- package/lib/cjs/components/Editor/plugins/MediaPlugin.js +1 -2
- package/lib/cjs/components/Editor/plugins/MentionsPlugin.js +2 -4
- package/lib/cjs/components/Editor/plugins/ToolbarPlugin.js +1 -2
- package/lib/cjs/components/Event/Event.js +4 -5
- package/lib/cjs/components/Event/Skeleton.js +7 -9
- package/lib/cjs/components/EventAutocomplete/EventAutocomplete.d.ts +2 -3
- package/lib/cjs/components/EventAutocomplete/EventAutocomplete.js +2 -6
- package/lib/cjs/components/EventForm/EventAddress.js +3 -5
- package/lib/cjs/components/EventForm/EventForm.js +1 -2
- package/lib/cjs/components/EventForm/UploadEventCover.js +2 -4
- package/lib/cjs/components/EventFormDialog/EventFormDialog.js +2 -2
- package/lib/cjs/components/EventHeader/EventHeader.js +1 -2
- package/lib/cjs/components/EventHeader/Skeleton.js +2 -5
- package/lib/cjs/components/EventInviteButton/EventInviteButton.d.ts +1 -1
- package/lib/cjs/components/EventInviteButton/EventInviteButton.js +3 -5
- package/lib/cjs/components/EventLocationWidget/EventLocationWidget.js +1 -2
- package/lib/cjs/components/EventLocationWidget/Skeleton.js +1 -2
- package/lib/cjs/components/EventMediaWidget/EventMediaWidget.js +2 -3
- package/lib/cjs/components/EventMediaWidget/Skeleton.js +3 -5
- package/lib/cjs/components/EventMediaWidget/TriggerButton.js +2 -4
- package/lib/cjs/components/EventParticipantsButton/EventParticipantsButton.d.ts +1 -1
- package/lib/cjs/components/EventParticipantsButton/EventParticipantsButton.js +2 -3
- package/lib/cjs/components/EventSubscribeButton/EventSubscribeButton.js +4 -5
- package/lib/cjs/components/Events/LocationEventsFilter.js +1 -2
- package/lib/cjs/components/Events/Skeleton.js +1 -2
- package/lib/cjs/components/Feed/Feed.js +2 -3
- package/lib/cjs/components/Feed/Skeleton.js +1 -2
- package/lib/cjs/components/FeedObject/Actions/Actions.js +3 -3
- package/lib/cjs/components/FeedObject/Actions/Comment/Comment.js +3 -6
- package/lib/cjs/components/FeedObject/Actions/Follow/Follow.js +2 -4
- package/lib/cjs/components/FeedObject/Actions/Share/Share.js +4 -9
- package/lib/cjs/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +1 -2
- package/lib/cjs/components/FeedObject/Actions/Vote/Vote.js +1 -2
- package/lib/cjs/components/FeedObject/Activities/Activities.js +1 -2
- package/lib/cjs/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +4 -9
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +1 -2
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +1 -2
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +1 -2
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +2 -4
- package/lib/cjs/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +1 -2
- package/lib/cjs/components/FeedObject/Contributors/Contributors.js +1 -2
- package/lib/cjs/components/FeedObject/Contributors/Skeleton.js +1 -2
- package/lib/cjs/components/FeedObject/FeedObject.js +5 -8
- package/lib/cjs/components/FeedObject/Poll/Choice/Choice.js +3 -6
- package/lib/cjs/components/FeedObject/Poll/Poll.js +2 -6
- package/lib/cjs/components/FeedObject/Skeleton.js +3 -5
- package/lib/cjs/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +2 -3
- package/lib/cjs/components/FeedUpdatesWidget/FeedUpdatesWidget.js +1 -2
- package/lib/cjs/components/FeedUpdatesWidget/Skeleton.js +2 -2
- package/lib/cjs/components/FollowUserButton/FollowUserButton.js +2 -2
- package/lib/cjs/components/Footer/Footer.js +1 -2
- package/lib/cjs/components/Footer/Skeleton.js +2 -5
- package/lib/cjs/components/FriendshipUserButton/FriendshipUserButton.js +2 -2
- package/lib/cjs/components/Group/Group.js +1 -2
- package/lib/cjs/components/Group/Skeleton.js +2 -4
- package/lib/cjs/components/GroupActionsMenu/index.js +7 -9
- package/lib/cjs/components/GroupAutocomplete/GroupAutocomplete.d.ts +2 -3
- package/lib/cjs/components/GroupAutocomplete/GroupAutocomplete.js +2 -6
- package/lib/cjs/components/GroupForm/GroupForm.js +1 -2
- package/lib/cjs/components/GroupHeader/GroupHeader.js +1 -2
- package/lib/cjs/components/GroupHeader/Skeleton.js +2 -5
- package/lib/cjs/components/GroupInfoWidget/GroupInfoWidget.js +1 -2
- package/lib/cjs/components/GroupInfoWidget/Skeleton.js +2 -2
- package/lib/cjs/components/GroupInviteButton/GroupInviteButton.d.ts +1 -1
- package/lib/cjs/components/GroupInviteButton/GroupInviteButton.js +3 -5
- package/lib/cjs/components/GroupInvitedWidget/GroupInvitedWidget.js +3 -5
- package/lib/cjs/components/GroupInvitedWidget/Skeleton.js +2 -2
- package/lib/cjs/components/GroupMembersButton/GroupMembersButton.d.ts +1 -1
- package/lib/cjs/components/GroupMembersButton/GroupMembersButton.js +3 -5
- package/lib/cjs/components/GroupMembersWidget/GroupMembersWidget.js +4 -6
- package/lib/cjs/components/GroupMembersWidget/Skeleton.js +2 -2
- package/lib/cjs/components/GroupRequestsWidget/GroupRequestsWidget.js +3 -5
- package/lib/cjs/components/GroupRequestsWidget/Skeleton.js +2 -2
- package/lib/cjs/components/GroupSettingsIconButton/GroupSettingsIconButton.js +4 -6
- package/lib/cjs/components/GroupSubscribeButton/GroupSubscribeButton.js +2 -2
- package/lib/cjs/components/Groups/Groups.js +1 -2
- package/lib/cjs/components/Groups/Skeleton.js +2 -2
- package/lib/cjs/components/Incubator/Incubator.js +3 -6
- package/lib/cjs/components/Incubator/Skeleton.js +2 -4
- package/lib/cjs/components/IncubatorDetail/IncubatorDetail.js +2 -4
- package/lib/cjs/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +1 -2
- package/lib/cjs/components/IncubatorListWidget/IncubatorListWidget.js +3 -7
- package/lib/cjs/components/IncubatorListWidget/Skeleton.js +3 -5
- package/lib/cjs/components/IncubatorSubscribeButton/IncubatorSubscribeButton.js +2 -2
- package/lib/cjs/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +3 -5
- package/lib/cjs/components/IncubatorSuggestionWidget/Skeleton.js +3 -5
- package/lib/cjs/components/InlineComposerWidget/InlineComposerWidget.js +1 -2
- package/lib/cjs/components/InlineComposerWidget/Skeleton.js +2 -4
- package/lib/cjs/components/InviteUserEventButton/InviteUserEventButton.js +2 -2
- package/lib/cjs/components/LessonAppbar/LessonAppbar.js +1 -2
- package/lib/cjs/components/LessonCommentObject/LessonCommentObject.js +1 -2
- package/lib/cjs/components/LessonCommentObject/Skeleton.js +2 -4
- package/lib/cjs/components/LessonCommentObjects/LessonCommentObjects.js +1 -2
- package/lib/cjs/components/LessonCommentObjects/Skeleton.js +1 -2
- package/lib/cjs/components/LessonDrawer/LessonDrawer.js +1 -2
- package/lib/cjs/components/LessonEditForm/LessonEditForm.js +1 -2
- package/lib/cjs/components/LessonObject/LessonObject.js +2 -4
- package/lib/cjs/components/LessonReleaseMenu/LessonReleaseMenu.js +9 -9
- package/lib/cjs/components/LiveStream/LiveStream.js +4 -5
- package/lib/cjs/components/LiveStream/Skeleton.js +7 -9
- package/lib/cjs/components/LiveStreamForm/LiveStreamForm.js +1 -2
- package/lib/cjs/components/LiveStreamForm/LiveStreamFormSettings.js +1 -2
- package/lib/cjs/components/LiveStreamRoom/LiveStreamRoom.js +3 -5
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamSettingsMenu.js +2 -5
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +3 -5
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/NoParticipants.js +1 -2
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTileActions.js +10 -12
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTileAvatar.js +1 -2
- package/lib/cjs/components/LiveStreamRoom/LiveStreamVideoConference/VideoConference.js +2 -4
- package/lib/cjs/components/LocationAutocomplete/LocationAutocomplete.d.ts +2 -3
- package/lib/cjs/components/LocationAutocomplete/LocationAutocomplete.js +2 -5
- package/lib/cjs/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +2 -4
- package/lib/cjs/components/LoyaltyProgramWidget/Skeleton.js +1 -2
- package/lib/cjs/components/MyEventsWidget/MyEventsWidget.js +1 -2
- package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -2
- package/lib/cjs/components/NavigationMenuIconButton/DefaultDrawerSkeleton.js +1 -2
- package/lib/cjs/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -2
- package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -2
- package/lib/cjs/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -2
- package/lib/cjs/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +3 -4
- package/lib/cjs/components/NavigationToolbar/NavigationToolbar.js +7 -8
- package/lib/cjs/components/NavigationToolbar/Skeleton.js +2 -5
- package/lib/cjs/components/NavigationToolbarMobile/NavigationToolbarMobile.js +2 -3
- package/lib/cjs/components/NavigationToolbarMobile/Skeleton.js +2 -5
- package/lib/cjs/components/Notification/CollapsedFor/CollapsedFor.js +2 -4
- package/lib/cjs/components/Notification/Comment/Comment.js +1 -2
- package/lib/cjs/components/Notification/Contribution/Contribution.js +1 -2
- package/lib/cjs/components/Notification/ContributionFollow/ContributionFollow.js +1 -2
- package/lib/cjs/components/Notification/Course/Course.js +1 -2
- package/lib/cjs/components/Notification/DeletedFor/DeletedFor.js +2 -4
- package/lib/cjs/components/Notification/Event/Event.js +1 -2
- package/lib/cjs/components/Notification/Group/Group.js +1 -2
- package/lib/cjs/components/Notification/IncubatorApproved/IncubatorApproved.js +1 -2
- package/lib/cjs/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +2 -4
- package/lib/cjs/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +2 -4
- package/lib/cjs/components/Notification/LiveStream/LiveStream.js +1 -2
- package/lib/cjs/components/Notification/Mention/Mention.js +1 -2
- package/lib/cjs/components/Notification/Notification.js +3 -6
- package/lib/cjs/components/Notification/PrivateMessage/PrivateMessage.js +1 -2
- package/lib/cjs/components/Notification/Skeleton.js +3 -6
- package/lib/cjs/components/Notification/UndeletedFor/UndeletedFor.js +2 -4
- package/lib/cjs/components/Notification/UserBlocked/UserBlocked.js +2 -4
- package/lib/cjs/components/Notification/UserConnection/UserConnection.js +1 -2
- package/lib/cjs/components/Notification/UserFollow/UserFollow.js +1 -2
- package/lib/cjs/components/Notification/VoteUp/VoteUp.js +1 -2
- package/lib/cjs/components/OnBoardingWidget/ActionsButton.js +3 -4
- package/lib/cjs/components/OnBoardingWidget/OnBoardingWidget.js +3 -4
- package/lib/cjs/components/OnBoardingWidget/Skeleton.js +2 -5
- package/lib/cjs/components/OnBoardingWidget/Steps/App/App.js +2 -4
- package/lib/cjs/components/OnBoardingWidget/Steps/Appearance/Appearance.js +5 -8
- package/lib/cjs/components/OnBoardingWidget/Steps/Category/Category.js +3 -5
- package/lib/cjs/components/OnBoardingWidget/Steps/Content/Content.js +2 -4
- package/lib/cjs/components/OnBoardingWidget/Steps/Invite/Invite.js +2 -4
- package/lib/cjs/components/OnBoardingWidget/Steps/Profile/Profile.js +3 -6
- package/lib/cjs/components/PlatformWidget/PlatformWidget.js +2 -4
- package/lib/cjs/components/PlatformWidget/Skeleton.js +2 -4
- package/lib/cjs/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -2
- package/lib/cjs/components/PollSuggestionWidget/PollSnippet/Skeleton.js +2 -4
- package/lib/cjs/components/PollSuggestionWidget/PollSuggestionWidget.js +3 -5
- package/lib/cjs/components/PollSuggestionWidget/Skeleton.js +2 -4
- package/lib/cjs/components/PrivateMessageComponent/PrivateMessageComponent.js +1 -2
- package/lib/cjs/components/PrivateMessageComponent/Skeleton.js +1 -2
- package/lib/cjs/components/PrivateMessageEditor/MessageMediaUploader/index.js +4 -6
- package/lib/cjs/components/PrivateMessageEditor/PrivateMessageEditor.js +5 -7
- package/lib/cjs/components/PrivateMessageEditor/Skeleton.js +2 -2
- package/lib/cjs/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +10 -12
- package/lib/cjs/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +1 -2
- package/lib/cjs/components/PrivateMessageSnippetItem/Skeleton.js +2 -8
- package/lib/cjs/components/PrivateMessageSnippets/PrivateMessageSnippets.js +2 -4
- package/lib/cjs/components/PrivateMessageSnippets/Skeleton.js +2 -4
- package/lib/cjs/components/PrivateMessageThread/PrivateMessageThread.js +2 -5
- package/lib/cjs/components/PrivateMessageThread/Skeleton.js +2 -4
- package/lib/cjs/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +7 -10
- package/lib/cjs/components/PrivateMessageThreadItem/Skeleton.js +2 -7
- package/lib/cjs/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +3 -5
- package/lib/cjs/components/RelatedFeedObjectsWidget/Skeleton.js +2 -2
- package/lib/cjs/components/SearchAutocomplete/SearchAutocomplete.js +1 -2
- package/lib/cjs/components/Skeleton/AvatarGroupSkeleton.js +1 -2
- package/lib/cjs/components/Skeleton/GenericSkeleton.js +2 -4
- package/lib/cjs/components/SnippetNotifications/Skeleton.js +2 -4
- package/lib/cjs/components/SnippetNotifications/SnippetNotifications.js +1 -2
- package/lib/cjs/components/TagAutocomplete/TagAutocomplete.d.ts +2 -3
- package/lib/cjs/components/TagAutocomplete/TagAutocomplete.js +3 -5
- package/lib/cjs/components/ToastNotifications/Skeleton.js +2 -2
- package/lib/cjs/components/ToastNotifications/ToastNotifications.js +1 -2
- package/lib/cjs/components/User/Skeleton.js +2 -4
- package/lib/cjs/components/User/User.js +1 -2
- package/lib/cjs/components/UserActionIconButton/UserActionIconButton.js +3 -4
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +3 -5
- package/lib/cjs/components/UserConnectionsRequestsWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +3 -5
- package/lib/cjs/components/UserConnectionsWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserConnectionsWidget/UserConnectionsWidget.js +3 -5
- package/lib/cjs/components/UserCounters/UserCounters.js +1 -2
- package/lib/cjs/components/UserCreatedCoursesWidget/Skeleton.js +2 -4
- package/lib/cjs/components/UserCreatedCoursesWidget/UserCreatedCoursesWidget.js +3 -5
- package/lib/cjs/components/UserFollowedCategoriesWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +3 -5
- package/lib/cjs/components/UserFollowedUsersWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +3 -5
- package/lib/cjs/components/UserFollowersWidget/Skeleton.js +2 -2
- package/lib/cjs/components/UserFollowersWidget/UserFollowersWidget.js +3 -5
- package/lib/cjs/components/UserInfo/Skeleton.js +2 -5
- package/lib/cjs/components/UserInfo/UserInfo.js +1 -2
- package/lib/cjs/components/UserProfileBlocked/UserProfileBlocked.js +1 -2
- package/lib/cjs/components/UserProfileEdit/Section/Account.js +1 -2
- package/lib/cjs/components/UserProfileEdit/Section/AccountCredentials.js +4 -6
- package/lib/cjs/components/UserProfileEdit/Section/PublicInfo.js +2 -4
- package/lib/cjs/components/UserProfileEdit/Section/Settings.js +1 -2
- package/lib/cjs/components/UserProfileEdit/Section/SettingsSkeleton.js +2 -5
- package/lib/cjs/components/UserProfileEdit/Skeleton.js +2 -5
- package/lib/cjs/components/UserProfileEdit/UserProfileEdit.js +1 -2
- package/lib/cjs/components/UserProfileHeader/Skeleton.js +2 -5
- package/lib/cjs/components/UserProfileHeader/UserProfileHeader.js +1 -2
- package/lib/cjs/components/UserSocialAssociation/UserSocialAssociation.js +1 -2
- package/lib/cjs/components/UserSubscribedGroupsWidget/Skeleton.js +2 -4
- package/lib/cjs/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +3 -5
- package/lib/cjs/components/UserSuggestionWidget/Skeleton.js +1 -2
- package/lib/cjs/components/UserSuggestionWidget/UserSuggestionWidget.js +2 -3
- package/lib/cjs/components/VoteAudienceButton/VoteAudienceButton.js +6 -8
- package/lib/cjs/components/VoteButton/VoteButton.js +4 -6
- package/lib/cjs/components/Widget/index.js +1 -2
- package/lib/cjs/shared/AutoPlayer/index.js +2 -2
- package/lib/cjs/shared/BaseDialog/BaseDialog.d.ts +1 -1
- package/lib/cjs/shared/BaseDialog/BaseDialog.js +6 -14
- package/lib/cjs/shared/BaseItem/BaseItem.js +1 -2
- package/lib/cjs/shared/BaseItemButton/BaseItemButton.js +1 -2
- package/lib/cjs/shared/Bullet/index.js +2 -2
- package/lib/cjs/shared/CentralProgress/index.d.ts +1 -1
- package/lib/cjs/shared/CentralProgress/index.js +2 -5
- package/lib/cjs/shared/ConfirmDialog/ConfirmDialog.js +2 -5
- package/lib/cjs/shared/ConsentSolutionSwitch/index.js +3 -5
- package/lib/cjs/shared/ContributionActionsMenu/index.js +8 -11
- package/lib/cjs/shared/CopyTextArea/index.d.ts +1 -1
- package/lib/cjs/shared/CopyTextArea/index.js +1 -2
- package/lib/cjs/shared/CustomSnackMessage/index.js +2 -4
- package/lib/cjs/shared/DateTimeAgo/index.js +2 -4
- package/lib/cjs/shared/EmailTextField/index.js +1 -2
- package/lib/cjs/shared/EmojiPicker/EmojiPicker.js +1 -2
- package/lib/cjs/shared/EventActionsMenu/index.js +8 -10
- package/lib/cjs/shared/HiddenPlaceholder/index.js +2 -2
- package/lib/cjs/shared/LanguageSwitcher/index.d.ts +1 -2
- package/lib/cjs/shared/LanguageSwitcher/index.js +1 -2
- package/lib/cjs/shared/LessonCommentActionsMenu/index.js +4 -7
- package/lib/cjs/shared/LessonFilePreview/index.js +2 -4
- package/lib/cjs/shared/Lightbox/BaseLightbox.js +1 -2
- package/lib/cjs/shared/Lightbox/Lightbox.js +2 -2
- package/lib/cjs/shared/Media/File/DisplayComponent.js +5 -7
- package/lib/cjs/shared/Media/File/PreviewComponent.js +2 -4
- package/lib/cjs/shared/Media/File/TriggerButton.js +10 -12
- package/lib/cjs/shared/Media/Link/DisplayComponent.d.ts +1 -1
- package/lib/cjs/shared/Media/Link/DisplayComponent.js +3 -5
- package/lib/cjs/shared/Media/Link/LayerComponent.js +2 -5
- package/lib/cjs/shared/Media/Link/PreviewComponent.d.ts +1 -1
- package/lib/cjs/shared/Media/Link/PreviewComponent.js +2 -4
- package/lib/cjs/shared/Media/Link/TriggerButton.js +2 -4
- package/lib/cjs/shared/Media/Link/UrlTextField/index.d.ts +1 -4
- package/lib/cjs/shared/Media/Link/UrlTextField/index.js +3 -6
- package/lib/cjs/shared/Media/Share/DisplayComponent.js +3 -4
- package/lib/cjs/shared/NewChip/NewChip.js +1 -2
- package/lib/cjs/shared/NotificationItem/NotificationItem.js +1 -2
- package/lib/cjs/shared/PasswordTextField/index.js +2 -5
- package/lib/cjs/shared/PhoneTextField/index.js +1 -2
- package/lib/cjs/shared/ProgressBar/index.d.ts +1 -1
- package/lib/cjs/shared/ProgressBar/index.js +2 -4
- package/lib/cjs/shared/ScrollContainer/index.js +2 -2
- package/lib/cjs/shared/TagChip/index.d.ts +1 -3
- package/lib/cjs/shared/TagChip/index.js +2 -3
- package/lib/cjs/shared/Tags/index.js +7 -13
- package/lib/cjs/shared/UpScalingTierBadge/index.js +2 -3
- package/lib/cjs/shared/UrlTextField/index.js +1 -2
- package/lib/cjs/shared/UserAvatar/UserAvatar.js +1 -2
- package/lib/cjs/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -2
- package/lib/cjs/shared/UsernameTextField/index.js +1 -2
- package/lib/esm/components/AcceptRequestUserEventButton/AcceptRequestUserEventButton.js +1 -1
- package/lib/esm/components/AccountChangeMailValidation/AccountChangeMailValidation.js +1 -2
- package/lib/esm/components/AccountDataPortability/AccountDataPortability.js +1 -3
- package/lib/esm/components/AccountDataPortabilityButton/AccountDataPortabilityButton.js +1 -2
- package/lib/esm/components/AccountDelete/AccountDelete.js +1 -2
- package/lib/esm/components/AccountDeleteButton/AccountDeleteButton.js +1 -2
- package/lib/esm/components/AccountRecover/AccountRecover.js +1 -2
- package/lib/esm/components/AccountReset/AccountReset.js +1 -2
- package/lib/esm/components/AccountVerify/AccountVerify.js +1 -2
- package/lib/esm/components/BroadcastMessages/BroadcastMessages.js +1 -2
- package/lib/esm/components/BroadcastMessages/Message.js +1 -3
- package/lib/esm/components/BroadcastMessages/Skeleton.js +1 -2
- package/lib/esm/components/Categories/Categories.js +1 -2
- package/lib/esm/components/Categories/Skeleton.js +1 -2
- package/lib/esm/components/CategoriesPopularWidget/CategoriesPopularWidget.js +1 -2
- package/lib/esm/components/CategoriesPopularWidget/Skeleton.js +1 -1
- package/lib/esm/components/CategoriesSuggestionWidget/CategoriesSuggestionWidget.js +1 -2
- package/lib/esm/components/CategoriesSuggestionWidget/Skeleton.js +1 -3
- package/lib/esm/components/Category/Category.js +1 -2
- package/lib/esm/components/Category/Skeleton.js +1 -3
- package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.d.ts +2 -3
- package/lib/esm/components/CategoryAutocomplete/CategoryAutocomplete.js +1 -6
- package/lib/esm/components/CategoryFollowButton/CategoryFollowButton.js +1 -1
- package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.d.ts +1 -1
- package/lib/esm/components/CategoryFollowersButton/CategoryFollowersButton.js +1 -3
- package/lib/esm/components/CategoryHeader/CategoryHeader.js +1 -2
- package/lib/esm/components/CategoryHeader/Skeleton.js +2 -4
- package/lib/esm/components/CategoryTrendingFeedWidget/CategoryTrendingFeedWidget.js +1 -3
- package/lib/esm/components/CategoryTrendingFeedWidget/Skeleton.js +1 -3
- package/lib/esm/components/CategoryTrendingUsersWidget/CategoryTrendingUsersWidget.js +1 -3
- package/lib/esm/components/CategoryTrendingUsersWidget/Skeleton.js +1 -3
- package/lib/esm/components/ChangeCover/ChangeCover.js +1 -4
- package/lib/esm/components/ChangeGroupCover/ChangeGroupCover.js +1 -3
- package/lib/esm/components/ChangeGroupPicture/ChangeGroupPicture.js +1 -3
- package/lib/esm/components/ChangePicture/ChangePicture.js +1 -3
- package/lib/esm/components/ChangePicture/ChangePictureDialog/ChangePictureDialog.js +1 -6
- package/lib/esm/components/CommentObject/CommentObject.js +1 -2
- package/lib/esm/components/CommentObject/Skeleton.js +1 -3
- package/lib/esm/components/CommentObjectReply/CommentObjectReply.js +1 -2
- package/lib/esm/components/CommentsFeedObject/CommentsFeedObject.js +1 -3
- package/lib/esm/components/CommentsFeedObject/Skeleton.js +1 -1
- package/lib/esm/components/CommentsObject/CommentsObject.js +1 -3
- package/lib/esm/components/CommentsObject/Skeleton.js +1 -2
- package/lib/esm/components/Composer/Attributes/Attributes.js +1 -3
- package/lib/esm/components/Composer/Composer.js +1 -3
- package/lib/esm/components/Composer/Content/ContentDiscussion/ContentDiscussion.js +1 -2
- package/lib/esm/components/Composer/Content/ContentLesson/ContentLesson.js +1 -2
- package/lib/esm/components/Composer/Content/ContentPoll/ContentPoll.js +4 -7
- package/lib/esm/components/Composer/Content/ContentPost/ContentPost.js +1 -2
- package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.d.ts +2 -3
- package/lib/esm/components/Composer/Layer/AudienceLayer/AudienceLayer.js +1 -5
- package/lib/esm/components/Composer/Layer/CategoryLayer/CategoryLayer.js +1 -4
- package/lib/esm/components/Composer/Layer/CloseLayer/CloseLayer.js +2 -5
- package/lib/esm/components/Composer/Layer/LocationLayer/LocationLayer.d.ts +1 -1
- package/lib/esm/components/Composer/Layer/LocationLayer/LocationLayer.js +2 -5
- package/lib/esm/components/Composer/Skeleton.js +1 -3
- package/lib/esm/components/Composer/TypeSwitchButtonGroup/TypeSwitchButtonGroup.js +1 -2
- package/lib/esm/components/ConnectionUserButton/ConnectionUserButton.js +1 -2
- package/lib/esm/components/ConsentSolution/ConsentSolution.js +1 -8
- package/lib/esm/components/ConsentSolution/Skeleton.js +1 -3
- package/lib/esm/components/ConsentSolutionButton/ConsentSolutionButton.d.ts +1 -1
- package/lib/esm/components/ConsentSolutionButton/ConsentSolutionButton.js +1 -3
- package/lib/esm/components/Course/Course.js +1 -2
- package/lib/esm/components/Course/CreatePlaceholder.js +1 -2
- package/lib/esm/components/Course/Skeleton.js +1 -3
- package/lib/esm/components/CourseContentMenu/CourseContentMenu.js +1 -2
- package/lib/esm/components/CourseForm/CourseForm.js +1 -2
- package/lib/esm/components/CourseForm/Edit.js +1 -2
- package/lib/esm/components/CourseForm/UploadCourseCover.js +1 -3
- package/lib/esm/components/CourseFormDialog/CourseFormDialog.js +1 -1
- package/lib/esm/components/CourseJoinButton/CourseJoinButton.js +1 -1
- package/lib/esm/components/CourseParticipantsButton/CourseParticipantsButton.d.ts +1 -1
- package/lib/esm/components/CourseParticipantsButton/CourseParticipantsButton.js +1 -2
- package/lib/esm/components/Courses/Skeleton.js +1 -2
- package/lib/esm/components/CreateCourseButton/CreateCourseButton.js +1 -2
- package/lib/esm/components/CreateEventButton/CreateEventButton.js +1 -2
- package/lib/esm/components/CreateEventWidget/Skeleton.js +1 -3
- package/lib/esm/components/CreateGroupButton/CreateGroupButton.d.ts +1 -1
- package/lib/esm/components/CreateGroupButton/CreateGroupButton.js +1 -2
- package/lib/esm/components/CreateLiveStreamButton/CreateLiveStreamButton.d.ts +1 -1
- package/lib/esm/components/CreateLiveStreamButton/CreateLiveStreamButton.js +1 -2
- package/lib/esm/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +1 -3
- package/lib/esm/components/CreateLiveStreamDialog/LiveStreamSelector/LiveStreamSelector.js +1 -2
- package/lib/esm/components/CustomAdv/CustomAdv.js +1 -2
- package/lib/esm/components/CustomAdv/Skeleton.js +1 -1
- package/lib/esm/components/EditCourse/MenuRow.js +1 -2
- package/lib/esm/components/EditEventButton/EditEventButton.js +1 -1
- package/lib/esm/components/EditGroupButton/EditGroupButton.js +1 -1
- package/lib/esm/components/Editor/Editor.js +1 -2
- package/lib/esm/components/Editor/Skeleton.js +1 -1
- package/lib/esm/components/Editor/plugins/EmojiPlugin.js +1 -2
- package/lib/esm/components/Editor/plugins/FloatingLinkPlugin.js +1 -3
- package/lib/esm/components/Editor/plugins/HashtagPlugin.js +1 -1
- package/lib/esm/components/Editor/plugins/ImagePlugin.js +1 -2
- package/lib/esm/components/Editor/plugins/MediaPlugin.js +1 -2
- package/lib/esm/components/Editor/plugins/MentionsPlugin.js +1 -3
- package/lib/esm/components/Editor/plugins/ToolbarPlugin.js +1 -2
- package/lib/esm/components/Event/Event.js +1 -2
- package/lib/esm/components/Event/Skeleton.js +1 -3
- package/lib/esm/components/EventAutocomplete/EventAutocomplete.d.ts +2 -3
- package/lib/esm/components/EventAutocomplete/EventAutocomplete.js +1 -5
- package/lib/esm/components/EventForm/EventAddress.js +1 -3
- package/lib/esm/components/EventForm/EventForm.js +1 -2
- package/lib/esm/components/EventForm/UploadEventCover.js +1 -3
- package/lib/esm/components/EventFormDialog/EventFormDialog.js +1 -1
- package/lib/esm/components/EventHeader/EventHeader.js +1 -2
- package/lib/esm/components/EventHeader/Skeleton.js +1 -3
- package/lib/esm/components/EventInviteButton/EventInviteButton.d.ts +1 -1
- package/lib/esm/components/EventInviteButton/EventInviteButton.js +1 -3
- package/lib/esm/components/EventLocationWidget/EventLocationWidget.js +1 -2
- package/lib/esm/components/EventLocationWidget/Skeleton.js +1 -2
- package/lib/esm/components/EventMediaWidget/EventMediaWidget.js +1 -2
- package/lib/esm/components/EventMediaWidget/Skeleton.js +1 -3
- package/lib/esm/components/EventMediaWidget/TriggerButton.js +1 -3
- package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.d.ts +1 -1
- package/lib/esm/components/EventParticipantsButton/EventParticipantsButton.js +1 -2
- package/lib/esm/components/EventSubscribeButton/EventSubscribeButton.js +1 -2
- package/lib/esm/components/Events/LocationEventsFilter.js +1 -2
- package/lib/esm/components/Events/Skeleton.js +1 -2
- package/lib/esm/components/Feed/Feed.js +1 -2
- package/lib/esm/components/Feed/Skeleton.js +1 -2
- package/lib/esm/components/FeedObject/Actions/Actions.js +1 -1
- package/lib/esm/components/FeedObject/Actions/Comment/Comment.js +1 -4
- package/lib/esm/components/FeedObject/Actions/Follow/Follow.js +1 -3
- package/lib/esm/components/FeedObject/Actions/Share/Share.js +1 -6
- package/lib/esm/components/FeedObject/Actions/Share/SharesDialog/SharesDialog.js +1 -2
- package/lib/esm/components/FeedObject/Actions/Vote/Vote.js +1 -2
- package/lib/esm/components/FeedObject/Activities/Activities.js +1 -2
- package/lib/esm/components/FeedObject/Activities/ActivitiesMenu/ActivitiesMenu.js +1 -6
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/CommentActivity/CommentActivity.js +1 -2
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/FollowActivity/FollowActivity.js +1 -2
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/PollVoteActivity/PollVoteActivity.js +1 -2
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/RelevantActivities.js +1 -3
- package/lib/esm/components/FeedObject/Activities/RelevantActivities/VoteUpActivity/VoteUpActivity.js +1 -2
- package/lib/esm/components/FeedObject/Contributors/Contributors.js +1 -2
- package/lib/esm/components/FeedObject/Contributors/Skeleton.js +1 -2
- package/lib/esm/components/FeedObject/FeedObject.js +1 -4
- package/lib/esm/components/FeedObject/Poll/Choice/Choice.js +1 -4
- package/lib/esm/components/FeedObject/Poll/Poll.js +1 -5
- package/lib/esm/components/FeedObject/Skeleton.js +1 -3
- package/lib/esm/components/FeedObjectMediaPreview/FeedObjectMediaPreview.js +1 -2
- package/lib/esm/components/FeedUpdatesWidget/FeedUpdatesWidget.js +1 -2
- package/lib/esm/components/FeedUpdatesWidget/Skeleton.js +1 -1
- package/lib/esm/components/FollowUserButton/FollowUserButton.js +1 -1
- package/lib/esm/components/Footer/Footer.js +1 -2
- package/lib/esm/components/Footer/Skeleton.js +1 -3
- package/lib/esm/components/FriendshipUserButton/FriendshipUserButton.js +1 -1
- package/lib/esm/components/Group/Group.js +1 -2
- package/lib/esm/components/Group/Skeleton.js +1 -3
- package/lib/esm/components/GroupActionsMenu/index.js +1 -3
- package/lib/esm/components/GroupAutocomplete/GroupAutocomplete.d.ts +2 -3
- package/lib/esm/components/GroupAutocomplete/GroupAutocomplete.js +1 -5
- package/lib/esm/components/GroupForm/GroupForm.js +1 -2
- package/lib/esm/components/GroupHeader/GroupHeader.js +1 -2
- package/lib/esm/components/GroupHeader/Skeleton.js +1 -3
- package/lib/esm/components/GroupInfoWidget/GroupInfoWidget.js +1 -2
- package/lib/esm/components/GroupInfoWidget/Skeleton.js +1 -1
- package/lib/esm/components/GroupInviteButton/GroupInviteButton.d.ts +1 -1
- package/lib/esm/components/GroupInviteButton/GroupInviteButton.js +1 -3
- package/lib/esm/components/GroupInvitedWidget/GroupInvitedWidget.js +1 -3
- package/lib/esm/components/GroupInvitedWidget/Skeleton.js +1 -1
- package/lib/esm/components/GroupMembersButton/GroupMembersButton.d.ts +1 -1
- package/lib/esm/components/GroupMembersButton/GroupMembersButton.js +1 -3
- package/lib/esm/components/GroupMembersWidget/GroupMembersWidget.js +1 -3
- package/lib/esm/components/GroupMembersWidget/Skeleton.js +1 -1
- package/lib/esm/components/GroupRequestsWidget/GroupRequestsWidget.js +1 -3
- package/lib/esm/components/GroupRequestsWidget/Skeleton.js +1 -1
- package/lib/esm/components/GroupSettingsIconButton/GroupSettingsIconButton.js +1 -3
- package/lib/esm/components/GroupSubscribeButton/GroupSubscribeButton.js +1 -1
- package/lib/esm/components/Groups/Groups.js +1 -2
- package/lib/esm/components/Groups/Skeleton.js +2 -2
- package/lib/esm/components/Incubator/Incubator.js +1 -4
- package/lib/esm/components/Incubator/Skeleton.js +1 -3
- package/lib/esm/components/IncubatorDetail/IncubatorDetail.js +1 -3
- package/lib/esm/components/IncubatorListWidget/CreateIncubatorDialog/CreateIncubatorDialog.js +1 -2
- package/lib/esm/components/IncubatorListWidget/IncubatorListWidget.js +1 -5
- package/lib/esm/components/IncubatorListWidget/Skeleton.js +1 -3
- package/lib/esm/components/IncubatorSubscribeButton/IncubatorSubscribeButton.js +1 -1
- package/lib/esm/components/IncubatorSuggestionWidget/IncubatorSuggestionWidget.js +1 -3
- package/lib/esm/components/IncubatorSuggestionWidget/Skeleton.js +1 -3
- package/lib/esm/components/InlineComposerWidget/InlineComposerWidget.js +1 -2
- package/lib/esm/components/InlineComposerWidget/Skeleton.js +1 -3
- package/lib/esm/components/InviteUserEventButton/InviteUserEventButton.js +1 -1
- package/lib/esm/components/LessonAppbar/LessonAppbar.js +1 -2
- package/lib/esm/components/LessonCommentObject/LessonCommentObject.js +1 -2
- package/lib/esm/components/LessonCommentObject/Skeleton.js +1 -3
- package/lib/esm/components/LessonCommentObjects/LessonCommentObjects.js +1 -2
- package/lib/esm/components/LessonCommentObjects/Skeleton.js +1 -2
- package/lib/esm/components/LessonDrawer/LessonDrawer.js +1 -2
- package/lib/esm/components/LessonEditForm/LessonEditForm.js +1 -2
- package/lib/esm/components/LessonObject/LessonObject.js +1 -3
- package/lib/esm/components/LessonReleaseMenu/LessonReleaseMenu.js +1 -1
- package/lib/esm/components/LiveStream/LiveStream.js +1 -2
- package/lib/esm/components/LiveStream/Skeleton.js +1 -3
- package/lib/esm/components/LiveStreamForm/LiveStreamForm.js +1 -2
- package/lib/esm/components/LiveStreamForm/LiveStreamFormSettings.js +1 -2
- package/lib/esm/components/LiveStreamRoom/LiveStreamRoom.js +1 -3
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamSettingsMenu.js +1 -4
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/LiveStreamVideoConference.js +1 -3
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/NoParticipants.js +1 -2
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTileActions.js +1 -3
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/ParticipantTileAvatar.js +1 -2
- package/lib/esm/components/LiveStreamRoom/LiveStreamVideoConference/VideoConference.js +1 -3
- package/lib/esm/components/LocationAutocomplete/LocationAutocomplete.d.ts +2 -3
- package/lib/esm/components/LocationAutocomplete/LocationAutocomplete.js +1 -4
- package/lib/esm/components/LoyaltyProgramWidget/LoyaltyProgramWidget.js +1 -3
- package/lib/esm/components/LoyaltyProgramWidget/Skeleton.js +1 -2
- package/lib/esm/components/MyEventsWidget/MyEventsWidget.js +1 -2
- package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerContent.js +1 -2
- package/lib/esm/components/NavigationMenuIconButton/DefaultDrawerSkeleton.js +1 -2
- package/lib/esm/components/NavigationMenuIconButton/DefaultHeaderContent.js +1 -2
- package/lib/esm/components/NavigationMenuIconButton/NavigationMenuDrawer.js +1 -2
- package/lib/esm/components/NavigationMenuIconButton/NavigationMenuIconButton.js +1 -2
- package/lib/esm/components/NavigationSettingsIconButton/NavigationSettingsIconButton.js +1 -2
- package/lib/esm/components/NavigationToolbar/NavigationToolbar.js +1 -2
- package/lib/esm/components/NavigationToolbar/Skeleton.js +1 -3
- package/lib/esm/components/NavigationToolbarMobile/NavigationToolbarMobile.js +1 -2
- package/lib/esm/components/NavigationToolbarMobile/Skeleton.js +1 -3
- package/lib/esm/components/Notification/CollapsedFor/CollapsedFor.js +1 -3
- package/lib/esm/components/Notification/Comment/Comment.js +1 -2
- package/lib/esm/components/Notification/Contribution/Contribution.js +1 -2
- package/lib/esm/components/Notification/ContributionFollow/ContributionFollow.js +1 -2
- package/lib/esm/components/Notification/Course/Course.js +1 -2
- package/lib/esm/components/Notification/DeletedFor/DeletedFor.js +1 -3
- package/lib/esm/components/Notification/Event/Event.js +1 -2
- package/lib/esm/components/Notification/Group/Group.js +1 -2
- package/lib/esm/components/Notification/IncubatorApproved/IncubatorApproved.js +1 -2
- package/lib/esm/components/Notification/KindlyNoticeFlag/KindlyNoticeFlag.js +1 -3
- package/lib/esm/components/Notification/KindlyNoticeFor/KindlyNoticeFor.js +1 -3
- package/lib/esm/components/Notification/LiveStream/LiveStream.js +1 -2
- package/lib/esm/components/Notification/Mention/Mention.js +1 -2
- package/lib/esm/components/Notification/Notification.js +1 -4
- package/lib/esm/components/Notification/PrivateMessage/PrivateMessage.js +1 -2
- package/lib/esm/components/Notification/Skeleton.js +1 -4
- package/lib/esm/components/Notification/UndeletedFor/UndeletedFor.js +1 -3
- package/lib/esm/components/Notification/UserBlocked/UserBlocked.js +1 -3
- package/lib/esm/components/Notification/UserConnection/UserConnection.js +1 -2
- package/lib/esm/components/Notification/UserFollow/UserFollow.js +1 -2
- package/lib/esm/components/Notification/VoteUp/VoteUp.js +1 -2
- package/lib/esm/components/OnBoardingWidget/ActionsButton.js +1 -2
- package/lib/esm/components/OnBoardingWidget/OnBoardingWidget.js +1 -2
- package/lib/esm/components/OnBoardingWidget/Skeleton.js +1 -3
- package/lib/esm/components/OnBoardingWidget/Steps/App/App.js +1 -3
- package/lib/esm/components/OnBoardingWidget/Steps/Appearance/Appearance.js +1 -4
- package/lib/esm/components/OnBoardingWidget/Steps/Category/Category.js +1 -3
- package/lib/esm/components/OnBoardingWidget/Steps/Content/Content.js +1 -3
- package/lib/esm/components/OnBoardingWidget/Steps/Invite/Invite.js +1 -3
- package/lib/esm/components/OnBoardingWidget/Steps/Profile/Profile.js +1 -4
- package/lib/esm/components/PlatformWidget/PlatformWidget.js +1 -3
- package/lib/esm/components/PlatformWidget/Skeleton.js +1 -3
- package/lib/esm/components/PollSuggestionWidget/PollSnippet/PollSnippet.js +1 -2
- package/lib/esm/components/PollSuggestionWidget/PollSnippet/Skeleton.js +1 -3
- package/lib/esm/components/PollSuggestionWidget/PollSuggestionWidget.js +1 -3
- package/lib/esm/components/PollSuggestionWidget/Skeleton.js +1 -3
- package/lib/esm/components/PrivateMessageComponent/PrivateMessageComponent.js +1 -2
- package/lib/esm/components/PrivateMessageComponent/Skeleton.js +1 -2
- package/lib/esm/components/PrivateMessageEditor/MessageMediaUploader/index.js +1 -3
- package/lib/esm/components/PrivateMessageEditor/PrivateMessageEditor.js +1 -3
- package/lib/esm/components/PrivateMessageEditor/Skeleton.js +1 -1
- package/lib/esm/components/PrivateMessageSettingsIconButton/PrivateMessageSettingsIconButton.js +1 -3
- package/lib/esm/components/PrivateMessageSnippetItem/PrivateMessageSnippetItem.js +1 -2
- package/lib/esm/components/PrivateMessageSnippetItem/Skeleton.js +1 -6
- package/lib/esm/components/PrivateMessageSnippets/PrivateMessageSnippets.js +1 -3
- package/lib/esm/components/PrivateMessageSnippets/Skeleton.js +1 -3
- package/lib/esm/components/PrivateMessageThread/PrivateMessageThread.js +1 -4
- package/lib/esm/components/PrivateMessageThread/Skeleton.js +1 -3
- package/lib/esm/components/PrivateMessageThreadItem/PrivateMessageThreadItem.js +1 -4
- package/lib/esm/components/PrivateMessageThreadItem/Skeleton.js +1 -5
- package/lib/esm/components/RelatedFeedObjectsWidget/RelatedFeedObjectsWidget.js +1 -3
- package/lib/esm/components/RelatedFeedObjectsWidget/Skeleton.js +1 -1
- package/lib/esm/components/SearchAutocomplete/SearchAutocomplete.js +1 -2
- package/lib/esm/components/Skeleton/AvatarGroupSkeleton.js +1 -2
- package/lib/esm/components/Skeleton/GenericSkeleton.js +1 -3
- package/lib/esm/components/SnippetNotifications/Skeleton.js +1 -3
- package/lib/esm/components/SnippetNotifications/SnippetNotifications.js +1 -2
- package/lib/esm/components/TagAutocomplete/TagAutocomplete.d.ts +2 -3
- package/lib/esm/components/TagAutocomplete/TagAutocomplete.js +1 -3
- package/lib/esm/components/ToastNotifications/Skeleton.js +1 -1
- package/lib/esm/components/ToastNotifications/ToastNotifications.js +1 -2
- package/lib/esm/components/User/Skeleton.js +1 -3
- package/lib/esm/components/User/User.js +1 -2
- package/lib/esm/components/UserActionIconButton/UserActionIconButton.js +1 -2
- package/lib/esm/components/UserConnectionsRequestsSentWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserConnectionsRequestsSentWidget/UserConnectionsRequestsSentWidget.js +1 -3
- package/lib/esm/components/UserConnectionsRequestsWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserConnectionsRequestsWidget/UserConnectionsRequestsWidget.js +1 -3
- package/lib/esm/components/UserConnectionsWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserConnectionsWidget/UserConnectionsWidget.js +1 -3
- package/lib/esm/components/UserCounters/UserCounters.js +1 -2
- package/lib/esm/components/UserCreatedCoursesWidget/Skeleton.js +1 -3
- package/lib/esm/components/UserCreatedCoursesWidget/UserCreatedCoursesWidget.js +1 -3
- package/lib/esm/components/UserFollowedCategoriesWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserFollowedCategoriesWidget/UserFollowedCategoriesWidget.js +1 -3
- package/lib/esm/components/UserFollowedUsersWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserFollowedUsersWidget/UserFollowedUsersWidget.js +1 -3
- package/lib/esm/components/UserFollowersWidget/Skeleton.js +1 -1
- package/lib/esm/components/UserFollowersWidget/UserFollowersWidget.js +1 -3
- package/lib/esm/components/UserInfo/Skeleton.js +1 -3
- package/lib/esm/components/UserInfo/UserInfo.js +1 -2
- package/lib/esm/components/UserProfileBlocked/UserProfileBlocked.js +1 -2
- package/lib/esm/components/UserProfileEdit/Section/Account.js +1 -2
- package/lib/esm/components/UserProfileEdit/Section/AccountCredentials.js +1 -3
- package/lib/esm/components/UserProfileEdit/Section/PublicInfo.js +1 -3
- package/lib/esm/components/UserProfileEdit/Section/Settings.js +1 -2
- package/lib/esm/components/UserProfileEdit/Section/SettingsSkeleton.js +1 -3
- package/lib/esm/components/UserProfileEdit/Skeleton.js +1 -3
- package/lib/esm/components/UserProfileEdit/UserProfileEdit.js +1 -2
- package/lib/esm/components/UserProfileHeader/Skeleton.js +1 -3
- package/lib/esm/components/UserProfileHeader/UserProfileHeader.js +1 -2
- package/lib/esm/components/UserSocialAssociation/UserSocialAssociation.js +1 -2
- package/lib/esm/components/UserSubscribedGroupsWidget/Skeleton.js +1 -3
- package/lib/esm/components/UserSubscribedGroupsWidget/UserSubscribedGroupsWidget.js +1 -3
- package/lib/esm/components/UserSuggestionWidget/Skeleton.js +1 -2
- package/lib/esm/components/UserSuggestionWidget/UserSuggestionWidget.js +1 -2
- package/lib/esm/components/VoteAudienceButton/VoteAudienceButton.js +1 -3
- package/lib/esm/components/VoteButton/VoteButton.js +1 -3
- package/lib/esm/components/Widget/index.js +1 -2
- package/lib/esm/shared/AutoPlayer/index.js +1 -1
- package/lib/esm/shared/BaseDialog/BaseDialog.d.ts +1 -1
- package/lib/esm/shared/BaseDialog/BaseDialog.js +1 -9
- package/lib/esm/shared/BaseItem/BaseItem.js +1 -2
- package/lib/esm/shared/BaseItemButton/BaseItemButton.js +1 -2
- package/lib/esm/shared/Bullet/index.js +1 -1
- package/lib/esm/shared/CentralProgress/index.d.ts +1 -1
- package/lib/esm/shared/CentralProgress/index.js +1 -3
- package/lib/esm/shared/ConfirmDialog/ConfirmDialog.js +1 -4
- package/lib/esm/shared/ConsentSolutionSwitch/index.js +1 -3
- package/lib/esm/shared/ContributionActionsMenu/index.js +1 -4
- package/lib/esm/shared/CopyTextArea/index.d.ts +1 -1
- package/lib/esm/shared/CopyTextArea/index.js +1 -2
- package/lib/esm/shared/CustomSnackMessage/index.js +1 -3
- package/lib/esm/shared/DateTimeAgo/index.js +1 -3
- package/lib/esm/shared/EmailTextField/index.js +1 -2
- package/lib/esm/shared/EmojiPicker/EmojiPicker.js +1 -2
- package/lib/esm/shared/EventActionsMenu/index.js +1 -3
- package/lib/esm/shared/HiddenPlaceholder/index.js +1 -1
- package/lib/esm/shared/LanguageSwitcher/index.d.ts +1 -2
- package/lib/esm/shared/LanguageSwitcher/index.js +1 -2
- package/lib/esm/shared/LessonCommentActionsMenu/index.js +1 -4
- package/lib/esm/shared/LessonFilePreview/index.js +1 -3
- package/lib/esm/shared/Lightbox/BaseLightbox.js +1 -2
- package/lib/esm/shared/Lightbox/Lightbox.js +1 -1
- package/lib/esm/shared/Media/File/DisplayComponent.js +1 -3
- package/lib/esm/shared/Media/File/PreviewComponent.js +1 -3
- package/lib/esm/shared/Media/File/TriggerButton.js +7 -9
- package/lib/esm/shared/Media/Link/DisplayComponent.d.ts +1 -1
- package/lib/esm/shared/Media/Link/DisplayComponent.js +1 -3
- package/lib/esm/shared/Media/Link/LayerComponent.js +2 -5
- package/lib/esm/shared/Media/Link/PreviewComponent.d.ts +1 -1
- package/lib/esm/shared/Media/Link/PreviewComponent.js +1 -3
- package/lib/esm/shared/Media/Link/TriggerButton.js +1 -3
- package/lib/esm/shared/Media/Link/UrlTextField/index.d.ts +1 -4
- package/lib/esm/shared/Media/Link/UrlTextField/index.js +1 -4
- package/lib/esm/shared/Media/Share/DisplayComponent.js +1 -2
- package/lib/esm/shared/NewChip/NewChip.js +1 -2
- package/lib/esm/shared/NotificationItem/NotificationItem.js +1 -2
- package/lib/esm/shared/PasswordTextField/index.js +1 -3
- package/lib/esm/shared/PhoneTextField/index.js +1 -2
- package/lib/esm/shared/ProgressBar/index.d.ts +1 -1
- package/lib/esm/shared/ProgressBar/index.js +1 -3
- package/lib/esm/shared/ScrollContainer/index.js +1 -1
- package/lib/esm/shared/TagChip/index.d.ts +1 -3
- package/lib/esm/shared/TagChip/index.js +1 -2
- package/lib/esm/shared/Tags/index.js +1 -7
- package/lib/esm/shared/UpScalingTierBadge/index.js +1 -2
- package/lib/esm/shared/UrlTextField/index.js +1 -2
- package/lib/esm/shared/UserAvatar/UserAvatar.js +1 -2
- package/lib/esm/shared/UserDeletedSnackBar/UserDeletedSnackBar.js +1 -2
- package/lib/esm/shared/UsernameTextField/index.js +1 -2
- package/lib/umd/react-ui.js +1 -1
- package/package.json +4 -4
|
@@ -8,7 +8,6 @@ const lexical_1 = require("lexical");
|
|
|
8
8
|
const utils_1 = require("@lexical/utils");
|
|
9
9
|
const LexicalComposerContext_1 = require("@lexical/react/LexicalComposerContext");
|
|
10
10
|
const material_1 = require("@mui/material");
|
|
11
|
-
const styles_1 = require("@mui/material/styles");
|
|
12
11
|
const chunked_uploady_1 = tslib_1.__importDefault(require("@rpldy/chunked-uploady"));
|
|
13
12
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
14
13
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
@@ -27,7 +26,7 @@ const UploadButton = (0, upload_button_1.asUploadButton)((0, react_1.forwardRef)
|
|
|
27
26
|
const classes = {
|
|
28
27
|
root: `${constants_1.PREFIX}-media-plugin-root`
|
|
29
28
|
};
|
|
30
|
-
const Root = (0,
|
|
29
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
31
30
|
name: constants_1.PREFIX,
|
|
32
31
|
slot: 'MediaPluginRoot'
|
|
33
32
|
})(() => ({}));
|
|
@@ -12,8 +12,6 @@ const MentionNode_1 = require("../nodes/MentionNode");
|
|
|
12
12
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
13
13
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
14
14
|
const material_1 = require("@mui/material");
|
|
15
|
-
const styles_1 = require("@mui/material/styles");
|
|
16
|
-
const ClickAwayListener_1 = tslib_1.__importDefault(require("@mui/material/ClickAwayListener"));
|
|
17
15
|
const constants_1 = require("../constants");
|
|
18
16
|
const PUNCTUATION = '\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%\'"~=<>_:;';
|
|
19
17
|
const NAME = '\\b[A-Z][^\\s' + PUNCTUATION + ']';
|
|
@@ -477,7 +475,7 @@ function isSelectionOnEntityBoundary(editor, offset) {
|
|
|
477
475
|
const classes = {
|
|
478
476
|
root: `${constants_1.PREFIX}-mention-plugin-root`
|
|
479
477
|
};
|
|
480
|
-
const Root = (0,
|
|
478
|
+
const Root = (0, material_1.styled)(MentionsTypeahead, {
|
|
481
479
|
name: constants_1.PREFIX,
|
|
482
480
|
slot: 'MentionPluginRoot'
|
|
483
481
|
})(() => ({}));
|
|
@@ -533,7 +531,7 @@ function useMentions(editor, anchorClassName = null) {
|
|
|
533
531
|
if (!anchorElementRef) {
|
|
534
532
|
return null;
|
|
535
533
|
}
|
|
536
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
534
|
+
return ((0, jsx_runtime_1.jsx)(material_1.ClickAwayListener, 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
535
|
}
|
|
538
536
|
function MentionsPlugin() {
|
|
539
537
|
const [editor] = (0, LexicalComposerContext_1.useLexicalComposerContext)();
|
|
@@ -16,7 +16,6 @@ const react_1 = require("react");
|
|
|
16
16
|
const editor_1 = require("../../../utils/editor");
|
|
17
17
|
const material_1 = require("@mui/material");
|
|
18
18
|
const react_intl_1 = require("react-intl");
|
|
19
|
-
const styles_1 = require("@mui/material/styles");
|
|
20
19
|
const system_1 = require("@mui/system");
|
|
21
20
|
const ImagePlugin_1 = tslib_1.__importDefault(require("./ImagePlugin"));
|
|
22
21
|
const EmojiPlugin_1 = tslib_1.__importDefault(require("./EmojiPlugin"));
|
|
@@ -119,7 +118,7 @@ const classes = {
|
|
|
119
118
|
root: `${constants_1.PREFIX}-toolbar-plugin-root`,
|
|
120
119
|
blockFormat: `${constants_1.PREFIX}-block-format`
|
|
121
120
|
};
|
|
122
|
-
const Root = (0,
|
|
121
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
123
122
|
name: constants_1.PREFIX,
|
|
124
123
|
slot: 'ToolbarPluginRoot'
|
|
125
124
|
})(() => ({}));
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
6
|
const system_1 = require("@mui/system");
|
|
8
7
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
9
8
|
const types_1 = require("@selfcommunity/types");
|
|
@@ -50,22 +49,22 @@ const classes = {
|
|
|
50
49
|
snippetActions: `${constants_1.PREFIX}-snippet-actions`,
|
|
51
50
|
finishedChip: `${constants_1.PREFIX}-finished-chip`
|
|
52
51
|
};
|
|
53
|
-
const Root = (0,
|
|
52
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
54
53
|
name: constants_1.PREFIX,
|
|
55
54
|
slot: 'Root',
|
|
56
55
|
overridesResolver: (_props, styles) => styles.root
|
|
57
56
|
})(() => ({}));
|
|
58
|
-
const DetailRoot = (0,
|
|
57
|
+
const DetailRoot = (0, material_1.styled)(material_1.Box, {
|
|
59
58
|
name: constants_1.PREFIX,
|
|
60
59
|
slot: 'DetailRoot',
|
|
61
60
|
overridesResolver: (_props, styles) => styles.detailRoot
|
|
62
61
|
})(() => ({}));
|
|
63
|
-
const PreviewRoot = (0,
|
|
62
|
+
const PreviewRoot = (0, material_1.styled)(material_1.Box, {
|
|
64
63
|
name: constants_1.PREFIX,
|
|
65
64
|
slot: 'PreviewRoot',
|
|
66
65
|
overridesResolver: (_props, styles) => styles.previewRoot
|
|
67
66
|
})(() => ({}));
|
|
68
|
-
const SnippetRoot = (0,
|
|
67
|
+
const SnippetRoot = (0, material_1.styled)(BaseItem_1.default, {
|
|
69
68
|
name: constants_1.PREFIX,
|
|
70
69
|
slot: 'SnippetRoot',
|
|
71
70
|
overridesResolver: (_props, styles) => styles.snippetRoot
|
|
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
6
|
const system_1 = require("@mui/system");
|
|
9
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
10
8
|
const BaseItem_1 = tslib_1.__importDefault(require("../../shared/BaseItem"));
|
|
@@ -28,19 +26,19 @@ const classes = {
|
|
|
28
26
|
skeletonSnippetImage: `${constants_1.PREFIX}-skeleton-snippet-image`,
|
|
29
27
|
skeletonSnippetAction: `${constants_1.PREFIX}-skeleton-snippet-action`
|
|
30
28
|
};
|
|
31
|
-
const Root = (0,
|
|
29
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
32
30
|
name: constants_1.PREFIX,
|
|
33
31
|
slot: 'SkeletonRoot'
|
|
34
32
|
})(() => ({}));
|
|
35
|
-
const SkeletonDetailRoot = (0,
|
|
33
|
+
const SkeletonDetailRoot = (0, material_1.styled)(material_1.Box, {
|
|
36
34
|
name: constants_1.PREFIX,
|
|
37
35
|
slot: 'SkeletonDetailRoot'
|
|
38
36
|
})(() => ({}));
|
|
39
|
-
const SkeletonPreviewRoot = (0,
|
|
37
|
+
const SkeletonPreviewRoot = (0, material_1.styled)(material_1.Box, {
|
|
40
38
|
name: constants_1.PREFIX,
|
|
41
39
|
slot: 'SkeletonPreviewRoot'
|
|
42
40
|
})(() => ({}));
|
|
43
|
-
const SkeletonSnippetRoot = (0,
|
|
41
|
+
const SkeletonSnippetRoot = (0, material_1.styled)(BaseItem_1.default, {
|
|
44
42
|
name: constants_1.PREFIX,
|
|
45
43
|
slot: 'SkeletonSnippetRoot'
|
|
46
44
|
})(() => ({}));
|
|
@@ -79,13 +77,13 @@ function EventSkeleton(inProps) {
|
|
|
79
77
|
*/
|
|
80
78
|
let contentObj;
|
|
81
79
|
if (template === event_1.SCEventTemplateType.DETAIL) {
|
|
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)(
|
|
80
|
+
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)(material_1.Skeleton, { variant: "rectangular", animation: skeletonsAnimation, width: "100%", height: "170px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, width: "75px", height: "15px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, width: "68px", height: "20px" }), (0, jsx_runtime_1.jsxs)(material_1.AvatarGroup, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { variant: "rounded", width: 100, height: 30 }) }))] })));
|
|
83
81
|
}
|
|
84
82
|
else if (template === event_1.SCEventTemplateType.PREVIEW) {
|
|
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)(
|
|
83
|
+
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)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "circular", width: "21px", height: "21px" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: skeletonsAnimation, width: "50%", height: "20px" })] })), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { 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)(material_1.Skeleton, { 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.Skeleton, { 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.Skeleton, { 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)(material_1.Skeleton, { variant: "rounded", width: 100, height: 30 }) }))] })));
|
|
86
84
|
}
|
|
87
85
|
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, Object.assign({ className: classes.skeletonSnippetImage }, { children: [(0, jsx_runtime_1.jsx)(
|
|
86
|
+
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)(material_1.Skeleton, { 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)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, variant: "rectangular", height: 10, width: "60%", style: { marginBottom: 10, marginRight: 5 } }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { 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)(material_1.Skeleton, { animation: skeletonsAnimation, height: 10, width: 30, style: { marginTop: 5, marginBottom: 5 } }) }))) }) }));
|
|
89
87
|
}
|
|
90
88
|
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
89
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { TextFieldProps } from '@mui/material
|
|
2
|
-
import {
|
|
3
|
-
import { SCEventType } from '@selfcommunity/types/src/index';
|
|
1
|
+
import { AutocompleteProps, TextFieldProps } from '@mui/material';
|
|
2
|
+
import { SCEventType } from '@selfcommunity/types';
|
|
4
3
|
export interface EventAutocompleteProps extends Pick<AutocompleteProps<SCEventType | null, any, any, any>, Exclude<keyof AutocompleteProps<SCEventType | null, any, any, any>, 'open' | 'onOpen' | 'onClose' | 'onChange' | 'filterSelectedOptions' | 'disableCloseOnSelect' | 'options' | 'getOptionLabel' | 'value' | 'selectOnFocus' | 'clearOnBlur' | 'blurOnSelect' | 'handleHomeEndKeys' | 'clearIcon' | 'noOptionsText' | 'isOptionEqualToValue' | 'renderTags' | 'renderOption' | 'renderInput'>> {
|
|
5
4
|
/**
|
|
6
5
|
* The maximum number of events that will be visible when not focused.
|
|
@@ -4,20 +4,16 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_intl_1 = require("react-intl");
|
|
7
|
-
const Autocomplete_1 = tslib_1.__importDefault(require("@mui/material/Autocomplete"));
|
|
8
|
-
const TextField_1 = tslib_1.__importDefault(require("@mui/material/TextField"));
|
|
9
|
-
const CircularProgress_1 = tslib_1.__importDefault(require("@mui/material/CircularProgress"));
|
|
10
7
|
const parse_1 = tslib_1.__importDefault(require("autosuggest-highlight/parse"));
|
|
11
8
|
const match_1 = tslib_1.__importDefault(require("autosuggest-highlight/match"));
|
|
12
9
|
const material_1 = require("@mui/material");
|
|
13
10
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
14
|
-
const styles_1 = require("@mui/material/styles");
|
|
15
11
|
const system_1 = require("@mui/system");
|
|
16
12
|
const PREFIX = 'SCEventAutocomplete';
|
|
17
13
|
const classes = {
|
|
18
14
|
root: `${PREFIX}-root`
|
|
19
15
|
};
|
|
20
|
-
const Root = (0,
|
|
16
|
+
const Root = (0, material_1.styled)(material_1.Autocomplete, {
|
|
21
17
|
name: PREFIX,
|
|
22
18
|
slot: 'Root',
|
|
23
19
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -91,7 +87,7 @@ const EventAutocomplete = (inProps) => {
|
|
|
91
87
|
const parts = (0, parse_1.default)(option.name, matches);
|
|
92
88
|
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
89
|
}, renderInput: (params) => {
|
|
94
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
90
|
+
return ((0, jsx_runtime_1.jsx)(material_1.TextField, 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)(material_1.CircularProgress, { color: "inherit", size: 20 }) : null, params.InputProps.endAdornment] })) }) })));
|
|
95
91
|
} }, rest)));
|
|
96
92
|
};
|
|
97
93
|
exports.default = EventAutocomplete;
|
|
@@ -3,8 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const Icon_1 = tslib_1.__importDefault(require("@mui/material/Icon"));
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
6
|
const system_1 = require("@mui/system");
|
|
9
7
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
10
8
|
const types_1 = require("@selfcommunity/types");
|
|
@@ -36,7 +34,7 @@ const classes = {
|
|
|
36
34
|
tab: `${constants_1.PREFIX}-event-address-tab`,
|
|
37
35
|
tabContent: `${constants_1.PREFIX}-event-address-tab-content`
|
|
38
36
|
};
|
|
39
|
-
const Root = (0,
|
|
37
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
40
38
|
name: constants_1.PREFIX,
|
|
41
39
|
slot: 'EventAddressRoot'
|
|
42
40
|
})(() => ({}));
|
|
@@ -155,8 +153,8 @@ function EventAddress(inProps) {
|
|
|
155
153
|
if (!isInPersonTabActive && !isOnlineTabActive && !isLiveTabActive) {
|
|
156
154
|
return null;
|
|
157
155
|
}
|
|
158
|
-
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: [isInPersonTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(
|
|
159
|
-
endAdornment: (0, jsx_runtime_1.jsx)(
|
|
156
|
+
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: [isInPersonTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.PERSON, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { 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" }) })), isOnlineTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.ONLINE, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { 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" }) })), isLiveTabActive && ((0, jsx_runtime_1.jsx)(material_1.Tab, { value: types_1.SCEventLocationType.LIVESTREAM, classes: { root: classes.tab }, icon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "photo_camera" }), iconPosition: "start", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventForm.address.liveStream.label", defaultMessage: "ui.eventForm.address.liveStream.label" }) }))] })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.tabContent }, { children: [isInPersonTabActive && location === types_1.SCEventLocationType.PERSON && ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, { disabled: !geocodingApiKey, 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)(material_1.Icon, { children: "add_location_alt" }) })), params.InputProps.endAdornment] })) }) }))) })), isOnlineTabActive && 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: {
|
|
157
|
+
endAdornment: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "play_circle_outline" })
|
|
160
158
|
}, value: event ? event.link : '', onChange: handleLinkChange })), isLiveTabActive && location === types_1.SCEventLocationType.LIVESTREAM && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(LiveStream_1.default, { template: liveStream_1.SCLiveStreamTemplateType.SNIPPET, liveStream: liveStream, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) }), (0, jsx_runtime_1.jsx)(LiveStreamFormSettings_1.default, { settings: liveStream.settings || constants_2.LIVESTREAM_DEFAULT_SETTINGS, onChange: handleLiveStreamSettingsChange })] }))] }))] })));
|
|
161
159
|
}
|
|
162
160
|
exports.default = EventAddress;
|
|
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const lab_1 = require("@mui/lab");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
7
|
const system_1 = require("@mui/system");
|
|
9
8
|
const x_date_pickers_1 = require("@mui/x-date-pickers");
|
|
10
9
|
const AdapterDateFns_1 = require("@mui/x-date-pickers/AdapterDateFns");
|
|
@@ -85,7 +84,7 @@ const classes = {
|
|
|
85
84
|
error: `${constants_1.PREFIX}-error`,
|
|
86
85
|
genericError: `${constants_1.PREFIX}-generic-error`
|
|
87
86
|
};
|
|
88
|
-
const Root = (0,
|
|
87
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
89
88
|
name: constants_1.PREFIX,
|
|
90
89
|
slot: 'Root'
|
|
91
90
|
})(() => ({}));
|
|
@@ -3,10 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
6
|
const material_1 = require("@mui/material");
|
|
8
7
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
9
|
-
const Icon_1 = tslib_1.__importDefault(require("@mui/material/Icon"));
|
|
10
8
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
11
9
|
const system_1 = require("@mui/system");
|
|
12
10
|
const constants_1 = require("./constants");
|
|
@@ -24,7 +22,7 @@ const messages = (0, react_intl_1.defineMessages)({
|
|
|
24
22
|
const classes = {
|
|
25
23
|
root: `${constants_1.PREFIX}-upload-event-cover-root`
|
|
26
24
|
};
|
|
27
|
-
const Root = (0,
|
|
25
|
+
const Root = (0, material_1.styled)(lab_1.LoadingButton, {
|
|
28
26
|
name: constants_1.PREFIX,
|
|
29
27
|
slot: 'UploadEventCoverRoot'
|
|
30
28
|
})(() => ({}));
|
|
@@ -118,6 +116,6 @@ function UploadEventCover(inProps) {
|
|
|
118
116
|
if (alert) {
|
|
119
117
|
return ((0, jsx_runtime_1.jsx)(material_1.Alert, Object.assign({ color: "error", onClose: () => setAlert(null) }, { children: alert })));
|
|
120
118
|
}
|
|
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)(
|
|
119
|
+
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)(material_1.Icon, { children: "image" }) }))] }));
|
|
122
120
|
}
|
|
123
121
|
exports.default = UploadEventCover;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
6
|
const system_1 = require("@mui/system");
|
|
7
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
8
|
const react_intl_1 = require("react-intl");
|
|
@@ -13,7 +13,7 @@ const react_1 = require("react");
|
|
|
13
13
|
const classes = {
|
|
14
14
|
root: `${constants_1.PREFIX}-root`
|
|
15
15
|
};
|
|
16
|
-
const Root = (0,
|
|
16
|
+
const Root = (0, material_1.styled)(BaseDialog_1.default, {
|
|
17
17
|
name: constants_1.PREFIX,
|
|
18
18
|
slot: 'Root'
|
|
19
19
|
})(() => ({}));
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
6
|
const system_1 = require("@mui/system");
|
|
8
7
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
9
8
|
const types_1 = require("@selfcommunity/types");
|
|
@@ -36,7 +35,7 @@ const classes = {
|
|
|
36
35
|
planner: `${constants_1.PREFIX}-planner`,
|
|
37
36
|
multiActions: `${constants_1.PREFIX}-multi-actions`
|
|
38
37
|
};
|
|
39
|
-
const Root = (0,
|
|
38
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
40
39
|
name: constants_1.PREFIX,
|
|
41
40
|
slot: 'Root',
|
|
42
41
|
shouldForwardProp: (prop) => prop !== 'isEventAdmin' && prop !== 'isEventFinished'
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
4
|
const material_1 = require("@mui/material");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
|
-
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
|
|
8
5
|
const constants_1 = require("./constants");
|
|
9
6
|
const classes = {
|
|
10
7
|
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
@@ -12,7 +9,7 @@ const classes = {
|
|
|
12
9
|
avatar: `${constants_1.PREFIX}-avatar`,
|
|
13
10
|
info: `${constants_1.PREFIX}-info`
|
|
14
11
|
};
|
|
15
|
-
const Root = (0,
|
|
12
|
+
const Root = (0, material_1.styled)(material_1.Box, {
|
|
16
13
|
name: constants_1.PREFIX,
|
|
17
14
|
slot: 'SkeletonRoot'
|
|
18
15
|
})(() => ({}));
|
|
@@ -41,6 +38,6 @@ const Root = (0, styles_1.styled)(material_1.Box, {
|
|
|
41
38
|
*/
|
|
42
39
|
function EventHeaderSkeleton() {
|
|
43
40
|
const theme = (0, material_1.useTheme)();
|
|
44
|
-
return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsx)(
|
|
41
|
+
return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { className: classes.cover, animation: "wave", variant: "rectangular" }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.avatar }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", width: theme.selfcommunity.group.avatar.sizeLarge, height: theme.selfcommunity.group.avatar.sizeLarge }) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.info }, { children: [(0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h5", mb: 1 }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", sx: { height: 20, width: '50%' } }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ mb: 1 }, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", sx: { height: 30, width: '30%' } }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, { children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", variant: "rectangular", sx: { height: 15, width: '20%' } }) })] }))] })));
|
|
45
42
|
}
|
|
46
43
|
exports.default = EventHeaderSkeleton;
|
|
@@ -4,8 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const lab_1 = require("@mui/lab");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const Autocomplete_1 = tslib_1.__importDefault(require("@mui/material/Autocomplete"));
|
|
8
|
-
const styles_1 = require("@mui/material/styles");
|
|
9
7
|
const system_1 = require("@mui/system");
|
|
10
8
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
11
9
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
@@ -37,12 +35,12 @@ const classes = {
|
|
|
37
35
|
invitedBox: `${PREFIX}-invited-box`,
|
|
38
36
|
suggested: `${PREFIX}-suggested`
|
|
39
37
|
};
|
|
40
|
-
const Root = (0,
|
|
38
|
+
const Root = (0, material_1.styled)(material_1.Button, {
|
|
41
39
|
name: PREFIX,
|
|
42
40
|
slot: 'Root',
|
|
43
41
|
overridesResolver: (_props, styles) => styles.root
|
|
44
42
|
})(() => ({}));
|
|
45
|
-
const DialogRoot = (0,
|
|
43
|
+
const DialogRoot = (0, material_1.styled)(BaseDialog_1.default, {
|
|
46
44
|
name: PREFIX,
|
|
47
45
|
slot: 'Root',
|
|
48
46
|
overridesResolver: (_props, styles) => styles.dialogRoot
|
|
@@ -246,7 +244,7 @@ function EventInviteButton(inProps) {
|
|
|
246
244
|
/**
|
|
247
245
|
* Renders root object
|
|
248
246
|
*/
|
|
249
|
-
return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), onClick: handleClose, variant: scEvent ? 'contained' : 'outlined', color: scEvent ? 'secondary' : 'inherit', startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }) }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton", defaultMessage: "ui.eventInviteButton" }) })), open && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ DialogContentProps: { dividers: false }, open: true, className: classes.dialogRoot, title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClose }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ className: classes.dialogTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.title", defaultMessage: "ui.eventInviteButton.dialog.title" }) })), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ size: "small", color: "secondary", variant: "contained", onClick: handleSendInvitations, loading: isSending, disabled: !invited.length }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.button.end", defaultMessage: "ui.eventInviteButton.dialog.button.end" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(
|
|
247
|
+
return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(classes.root, className), onClick: handleClose, variant: scEvent ? 'contained' : 'outlined', color: scEvent ? 'secondary' : 'inherit', startIcon: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "add" }) }, rest, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton", defaultMessage: "ui.eventInviteButton" }) })), open && ((0, jsx_runtime_1.jsx)(DialogRoot, Object.assign({ DialogContentProps: { dividers: false }, open: true, className: classes.dialogRoot, title: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.IconButton, Object.assign({ onClick: handleClose }, { children: (0, jsx_runtime_1.jsx)(material_1.Icon, { children: "close" }) })), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ className: classes.dialogTitle }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.title", defaultMessage: "ui.eventInviteButton.dialog.title" }) })), (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, Object.assign({ size: "small", color: "secondary", variant: "contained", onClick: handleSendInvitations, loading: isSending, disabled: !invited.length }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.button.end", defaultMessage: "ui.eventInviteButton.dialog.button.end" }) }))] }) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.dialogContent }, { children: [(0, jsx_runtime_1.jsx)(material_1.Autocomplete, { className: classes.autocomplete, loading: loading, size: "small", multiple: true, freeSolo: true, disableClearable: true, options: suggested, onChange: handleChange, onInputChange: handleInputChange, inputValue: value, filterOptions: filterOptions, value: invited, getOptionLabel: (option) => (option ? option.username : '...'), isOptionEqualToValue: (option, value) => (option ? value.id === option.id : false), renderTags: () => null, renderOption: (props, option) => ((0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ component: "li" }, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), (0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ ml: 1 }, { children: option.username }))] }))), renderInput: (params) => ((0, jsx_runtime_1.jsx)(material_1.TextField, Object.assign({}, params, { variant: "outlined", placeholder: `${intl.formatMessage(messages.placeholder)}`, InputProps: Object.assign(Object.assign({}, params.InputProps), { className: classes.input, startAdornment: ((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)(material_1.Icon, Object.assign({ className: classes.icon }, { children: "search" })) })), params.InputProps.startAdornment] })) }) }))) }), (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.invitedBox }, { children: invited.map((option, index) => ((0, jsx_runtime_1.jsx)(material_1.Chip, { avatar: (0, jsx_runtime_1.jsx)(material_1.Avatar, { alt: option.username, src: option.avatar }), label: option.username, onDelete: () => {
|
|
250
248
|
handleDelete(option);
|
|
251
249
|
}, style: { marginRight: 8 } }, index))) })), (0, jsx_runtime_1.jsxs)(material_1.Box, Object.assign({ className: classes.suggested }, { children: [list.length !== 0 && ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "h4", fontWeight: "bold" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventInviteButton.dialog.content.list", defaultMessage: "ui.eventInviteButton.dialog.content.list" }) }))), list.slice(0, 5).map((user, index) => ((0, jsx_runtime_1.jsx)(User_1.default, { elevation: 0, actions: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}), user: user, userId: user.id, buttonProps: { onClick: () => handleUserInvite(user) } }, index)))] }))] })) })))] }));
|
|
252
250
|
}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
6
|
const system_1 = require("@mui/system");
|
|
8
7
|
const api_1 = require("@react-google-maps/api");
|
|
9
8
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
@@ -22,7 +21,7 @@ const classes = {
|
|
|
22
21
|
locationTitle: `${constants_1.PREFIX}-location-title`,
|
|
23
22
|
address: `${constants_1.PREFIX}-address`
|
|
24
23
|
};
|
|
25
|
-
const Root = (0,
|
|
24
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
26
25
|
name: constants_1.PREFIX,
|
|
27
26
|
slot: 'Root'
|
|
28
27
|
})(() => ({}));
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const styles_1 = require("@mui/material/styles");
|
|
6
5
|
const constants_1 = require("./constants");
|
|
7
6
|
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
8
7
|
const material_1 = require("@mui/material");
|
|
@@ -10,7 +9,7 @@ const classes = {
|
|
|
10
9
|
root: `${constants_1.PREFIX}-skeleton-root`,
|
|
11
10
|
map: `${constants_1.PREFIX}-skeleton-map`
|
|
12
11
|
};
|
|
13
|
-
const Root = (0,
|
|
12
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
14
13
|
name: constants_1.PREFIX,
|
|
15
14
|
slot: 'SkeletonRoot'
|
|
16
15
|
})(() => ({}));
|
|
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const lab_1 = require("@mui/lab");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const styles_1 = require("@mui/material/styles");
|
|
8
7
|
const system_1 = require("@mui/system");
|
|
9
8
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
10
9
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
@@ -47,13 +46,13 @@ const classes = {
|
|
|
47
46
|
dialogLoadingButton: `${constants_1.PREFIX}-dialog-loading-button`,
|
|
48
47
|
endMessage: `${constants_1.PREFIX}-end-message`
|
|
49
48
|
};
|
|
50
|
-
const Root = (0,
|
|
49
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
51
50
|
name: constants_1.PREFIX,
|
|
52
51
|
slot: 'Root',
|
|
53
52
|
overridesResolver: (_props, styles) => styles.root,
|
|
54
53
|
shouldForwardProp: (prop) => prop !== 'showPadding'
|
|
55
54
|
})(() => ({}));
|
|
56
|
-
const DialogRoot = (0,
|
|
55
|
+
const DialogRoot = (0, material_1.styled)(BaseDialog_1.default, {
|
|
57
56
|
name: constants_1.PREFIX,
|
|
58
57
|
slot: 'DialogRoot',
|
|
59
58
|
overridesResolver: (_props, styles) => styles.dialogRoot,
|
|
@@ -4,8 +4,6 @@ exports.EventMediaSkeleton = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const Skeleton_1 = tslib_1.__importDefault(require("@mui/material/Skeleton"));
|
|
8
|
-
const styles_1 = require("@mui/material/styles");
|
|
9
7
|
const Widget_1 = tslib_1.__importDefault(require("../Widget"));
|
|
10
8
|
const constants_1 = require("./constants");
|
|
11
9
|
const classes = {
|
|
@@ -13,16 +11,16 @@ const classes = {
|
|
|
13
11
|
grid: `${constants_1.PREFIX}-grid`,
|
|
14
12
|
media: `${constants_1.PREFIX}-media`
|
|
15
13
|
};
|
|
16
|
-
const Root = (0,
|
|
14
|
+
const Root = (0, material_1.styled)(Widget_1.default, {
|
|
17
15
|
name: constants_1.PREFIX,
|
|
18
16
|
slot: 'SkeletonRoot',
|
|
19
17
|
overridesResolver: (_props, styles) => styles.skeletonRoot
|
|
20
18
|
})(() => ({}));
|
|
21
19
|
function EventMediaWidgetSkeleton() {
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsx)(material_1.CardHeader, { title: (0, jsx_runtime_1.jsx)(
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(Root, Object.assign({ className: classes.root }, { children: [(0, jsx_runtime_1.jsx)(material_1.CardHeader, { title: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { animation: "wave", width: "50px", height: "23px" }) }), (0, jsx_runtime_1.jsx)(material_1.Divider, {}), (0, jsx_runtime_1.jsx)(material_1.CardContent, { children: (0, jsx_runtime_1.jsx)(material_1.Box, Object.assign({ className: classes.grid }, { children: Array.from(Array(9)).map((_, i) => ((0, jsx_runtime_1.jsx)(EventMediaSkeleton, {}, i))) })) })] })));
|
|
23
21
|
}
|
|
24
22
|
exports.default = EventMediaWidgetSkeleton;
|
|
25
23
|
function EventMediaSkeleton() {
|
|
26
|
-
return (0, jsx_runtime_1.jsx)(
|
|
24
|
+
return (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", animation: "wave", width: "100%", className: classes.media });
|
|
27
25
|
}
|
|
28
26
|
exports.EventMediaSkeleton = EventMediaSkeleton;
|
|
@@ -4,8 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const lab_1 = require("@mui/lab");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const Icon_1 = tslib_1.__importDefault(require("@mui/material/Icon"));
|
|
8
|
-
const styles_1 = require("@mui/material/styles");
|
|
9
7
|
const chunked_uploady_1 = tslib_1.__importDefault(require("@rpldy/chunked-uploady"));
|
|
10
8
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
11
9
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
@@ -20,7 +18,7 @@ const classes = {
|
|
|
20
18
|
triggerContent: `${constants_1.PREFIX}-trigger-content`,
|
|
21
19
|
triggerIcon: `${constants_1.PREFIX}-trigger-icon`
|
|
22
20
|
};
|
|
23
|
-
const Root = (0,
|
|
21
|
+
const Root = (0, material_1.styled)(lab_1.LoadingButton, {
|
|
24
22
|
name: constants_1.PREFIX,
|
|
25
23
|
slot: 'TriggerRoot',
|
|
26
24
|
overridesResolver: (_props, styles) => styles.triggerRoot,
|
|
@@ -61,6 +59,6 @@ function TriggerButton(props, ref) {
|
|
|
61
59
|
}, fileFilter: handleFilterByMime, chunkSize: 204800 }, { children: [(0, jsx_runtime_1.jsx)(MediaChunkUploader_1.default, { onSuccess: handleSuccess, onProgress: handleProgress, onError: handleError, type: "image" }), (0, jsx_runtime_1.jsx)(Root, Object.assign({ className: (0, classnames_1.default)(className, classes.triggerRoot), ref: ref }, rest, { "aria-label": "add media", loading: isUploading,
|
|
62
60
|
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
63
61
|
// @ts-ignore
|
|
64
|
-
isSquare: isSquare }, { children: (0, jsx_runtime_1.jsxs)(GalleryUploadStack, Object.assign({ className: classes.triggerContent }, { children: [!isSquare && ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", component: "p" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMediaWidget.add", defaultMessage: "ui.eventMediaWidget.add" }) }))), (0, jsx_runtime_1.jsx)(
|
|
62
|
+
isSquare: isSquare }, { children: (0, jsx_runtime_1.jsxs)(GalleryUploadStack, Object.assign({ className: classes.triggerContent }, { children: [!isSquare && ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ variant: "caption", component: "p" }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.eventMediaWidget.add", defaultMessage: "ui.eventMediaWidget.add" }) }))), (0, jsx_runtime_1.jsx)(material_1.Icon, Object.assign({ className: classes.triggerIcon }, { children: "add" }))] })) }))] })));
|
|
65
63
|
}
|
|
66
64
|
exports.default = (0, react_1.forwardRef)(TriggerButton);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps } from '@mui/material
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
2
|
import { SCEventType } from '@selfcommunity/types';
|
|
3
3
|
import { BaseDialogProps } from '../../shared/BaseDialog';
|
|
4
4
|
export interface EventParticipantsButtonProps extends Pick<ButtonProps, Exclude<keyof ButtonProps, 'onClick' | 'disabled'>> {
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const styles_1 = require("@mui/material/styles");
|
|
7
6
|
const system_1 = require("@mui/system");
|
|
8
7
|
const api_services_1 = require("@selfcommunity/api-services");
|
|
9
8
|
const react_core_1 = require("@selfcommunity/react-core");
|
|
@@ -27,13 +26,13 @@ const classes = {
|
|
|
27
26
|
infiniteScroll: `${PREFIX}-infinite-scroll`,
|
|
28
27
|
endMessage: `${PREFIX}-end-message`
|
|
29
28
|
};
|
|
30
|
-
const Root = (0,
|
|
29
|
+
const Root = (0, material_1.styled)(material_1.Button, {
|
|
31
30
|
name: PREFIX,
|
|
32
31
|
slot: 'Root',
|
|
33
32
|
overridesResolver: (_props, styles) => styles.root,
|
|
34
33
|
shouldForwardProp: (prop) => prop !== 'followers'
|
|
35
34
|
})(() => ({}));
|
|
36
|
-
const DialogRoot = (0,
|
|
35
|
+
const DialogRoot = (0, material_1.styled)(BaseDialog_1.default, {
|
|
37
36
|
name: PREFIX,
|
|
38
37
|
slot: 'DialogRoot',
|
|
39
38
|
overridesResolver: (_props, styles) => styles.dialogRoot
|