@100mslive/react-native-room-kit 0.2.0 → 1.0.0
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/README.md +1 -10
- package/lib/commonjs/HMSPrebuilt.js +6 -6
- package/lib/commonjs/HMSPrebuilt.js.map +1 -1
- package/lib/commonjs/HMSRoomSetup.js +27 -30
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
- package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/commonjs/Icons/Eye/index.js +35 -0
- package/lib/commonjs/Icons/Eye/index.js.map +1 -0
- package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/commonjs/Icons/Person/index.js +2 -1
- package/lib/commonjs/Icons/Person/index.js.map +1 -1
- package/lib/commonjs/Icons/Search/assets/search.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
- package/lib/commonjs/Icons/Search/index.js +34 -0
- package/lib/commonjs/Icons/Search/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +22 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/assets/audio-level-white.json +1271 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/commonjs/assets/welcome.png +0 -0
- package/lib/commonjs/components/AnimatedFooter.js +35 -0
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHeader.js +44 -0
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
- package/lib/commonjs/components/BottomSheet.js +6 -3
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatList.js +6 -6
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
- package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
- package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/commonjs/components/CompanyLogo.js +4 -3
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +2 -6
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +6 -19
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +20 -6
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js +37 -28
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/FullScreenVideoView.js +74 -0
- package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
- package/lib/commonjs/components/GridView.js +129 -48
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
- package/lib/commonjs/components/HLSFooter.js.map +1 -0
- package/lib/commonjs/components/HLSView.js +10 -22
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSChat.js +15 -14
- package/lib/commonjs/components/HMSChat.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +67 -0
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
- package/lib/commonjs/components/HMSHLSNotStarted.js +1 -6
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
- package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +33 -11
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +96 -0
- package/lib/commonjs/components/HMSNotification.js.map +1 -0
- package/lib/commonjs/components/HMSNotifications.js +114 -0
- package/lib/commonjs/components/HMSNotifications.js.map +1 -0
- package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +6 -2
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
- package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
- package/lib/commonjs/components/HMSTextInput.js +98 -12
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/HMSVideoView.js +43 -0
- package/lib/commonjs/components/HMSVideoView.js.map +1 -0
- package/lib/commonjs/components/Header.js +19 -123
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
- package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +6 -5
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +21 -8
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MenuModal/Menu.js +2 -2
- package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +8 -3
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/Modals.js +88 -317
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/OverlayContainer.js +41 -0
- package/lib/commonjs/components/OverlayContainer.js.map +1 -0
- package/lib/commonjs/components/OverlayedViews.js +22 -0
- package/lib/commonjs/components/OverlayedViews.js.map +1 -0
- package/lib/commonjs/components/PaginationDots.js +4 -4
- package/lib/commonjs/components/PaginationDots.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/commonjs/components/Participants/index.js +0 -33
- package/lib/commonjs/components/Participants/index.js.map +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +10 -5
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +5 -14
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
- package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/commonjs/components/ReconnectionView.js +66 -0
- package/lib/commonjs/components/ReconnectionView.js.map +1 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js +25 -34
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +31 -9
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +11 -14
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
- package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
- package/lib/commonjs/components/index.js +0 -33
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/hooks-util-selectors.js +43 -9
- package/lib/commonjs/hooks-util-selectors.js.map +1 -1
- package/lib/commonjs/hooks-util.js +619 -213
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/modules/HMSManager.js +3 -3
- package/lib/commonjs/modules/HMSManager.js.map +1 -1
- package/lib/commonjs/modules/parser.js +2 -3
- package/lib/commonjs/modules/parser.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +25 -1
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +90 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +77 -2
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/utils/functions.js +10 -3
- package/lib/commonjs/utils/functions.js.map +1 -1
- package/lib/commonjs/utils/theme.js +2 -0
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/commonjs/utils/types.js +9 -3
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/commonjs/utils.js +8 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/HMSPrebuilt.js +6 -6
- package/lib/module/HMSPrebuilt.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +29 -32
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/module/Icons/AlertTriangle/index.js +2 -1
- package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/module/Icons/Eye/index.js +27 -0
- package/lib/module/Icons/Eye/index.js.map +1 -0
- package/lib/module/Icons/Person/assets/person-left.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/module/Icons/Person/index.js +2 -1
- package/lib/module/Icons/Person/index.js.map +1 -1
- package/lib/module/Icons/Search/assets/search.png +0 -0
- package/lib/module/Icons/Search/assets/search@2x.png +0 -0
- package/lib/module/Icons/Search/assets/search@3x.png +0 -0
- package/lib/module/Icons/Search/index.js +26 -0
- package/lib/module/Icons/Search/index.js.map +1 -0
- package/lib/module/Icons/index.js +2 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/assets/audio-level-white.json +1271 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/module/assets/welcome.png +0 -0
- package/lib/module/components/AnimatedFooter.js +26 -0
- package/lib/module/components/AnimatedFooter.js.map +1 -0
- package/lib/module/components/AnimatedHLSFooter.js +27 -0
- package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/module/components/AnimatedHeader.js +35 -0
- package/lib/module/components/AnimatedHeader.js.map +1 -0
- package/lib/module/components/BottomSheet.js +6 -3
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/ChangeNameModalContent.js +2 -14
- package/lib/module/components/ChangeNameModalContent.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +36 -55
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterItem.js +62 -0
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterView.js +189 -0
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/module/components/Chat/ChatList.js +6 -6
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js +36 -135
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/Chat/PinnedMessage.js +40 -43
- package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/index.js +2 -0
- package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/module/components/CompanyLogo.js +4 -3
- package/lib/module/components/CompanyLogo.js.map +1 -1
- package/lib/module/components/DefaultModal.js +2 -6
- package/lib/module/components/DefaultModal.js.map +1 -1
- package/lib/module/components/DisplayView.js +7 -20
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +20 -6
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/Footer.js +39 -30
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/FullScreenVideoView.js +64 -0
- package/lib/module/components/FullScreenVideoView.js.map +1 -0
- package/lib/module/components/GridView.js +130 -49
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSFooter.js +26 -0
- package/lib/module/components/HLSFooter.js.map +1 -0
- package/lib/module/components/HLSView.js +11 -23
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSChat.js +16 -15
- package/lib/module/components/HMSChat.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js +58 -0
- package/lib/module/components/HMSHLSMessage.js.map +1 -0
- package/lib/module/components/HMSHLSMessageList.js +49 -0
- package/lib/module/components/HMSHLSMessageList.js.map +1 -0
- package/lib/module/components/HMSHLSNotStarted.js +2 -7
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js +75 -0
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/module/components/HMSLiveIndicator.js +96 -0
- package/lib/module/components/HMSLiveIndicator.js.map +1 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/module/components/HMSLocalVideoView.js +4 -23
- package/lib/module/components/HMSLocalVideoView.js.map +1 -1
- package/lib/module/components/HMSManageAudioOutput.js +8 -2
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSManageLeave.js +35 -13
- package/lib/module/components/HMSManageLeave.js.map +1 -1
- package/lib/module/components/HMSNotification.js +87 -0
- package/lib/module/components/HMSNotification.js.map +1 -0
- package/lib/module/components/HMSNotifications.js +105 -0
- package/lib/module/components/HMSNotifications.js.map +1 -0
- package/lib/module/components/HMSOverlayChatView.js +20 -0
- package/lib/module/components/HMSOverlayChatView.js.map +1 -0
- package/lib/module/components/HMSPreviewJoinButton.js +2 -3
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js +2 -4
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js +2 -4
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +6 -2
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/module/components/HMSSendMessageInput.js +48 -0
- package/lib/module/components/HMSSendMessageInput.js.map +1 -0
- package/lib/module/components/HMSTextInput.js +99 -13
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/HMSVideoView.js +34 -0
- package/lib/module/components/HMSVideoView.js.map +1 -0
- package/lib/module/components/Header.js +18 -123
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LocalPeerScreenshareView.js +1 -6
- package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/module/components/Meeting.js +8 -7
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +23 -10
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MenuModal/Menu.js +2 -2
- package/lib/module/components/MenuModal/Menu.js.map +1 -1
- package/lib/module/components/MiniView.js +8 -3
- package/lib/module/components/MiniView.js.map +1 -1
- package/lib/module/components/Modals.js +88 -313
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/OverlayContainer.js +32 -0
- package/lib/module/components/OverlayContainer.js.map +1 -0
- package/lib/module/components/OverlayedViews.js +13 -0
- package/lib/module/components/OverlayedViews.js.map +1 -0
- package/lib/module/components/PaginationDots.js +4 -4
- package/lib/module/components/PaginationDots.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItem.js +123 -0
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsList.js +42 -225
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
- package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/module/components/Participants/index.js +0 -3
- package/lib/module/components/Participants/index.js.map +1 -1
- package/lib/module/components/PeerMinimizedView.js +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +50 -126
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PressableIcon.js +11 -6
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +6 -13
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
- package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/module/components/ReconnectionView.js +56 -0
- package/lib/module/components/ReconnectionView.js.map +1 -0
- package/lib/module/components/RoomSettingsModalContent.js +27 -36
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/StreamingQualityModalContent.js +8 -8
- package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/module/components/TilesContainer.js +31 -9
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/WebrtcView.js +11 -14
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/components/WelcomeInMeeting.js +8 -32
- package/lib/module/components/WelcomeInMeeting.js.map +1 -1
- package/lib/module/components/index.js +0 -3
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/hooks-util-selectors.js +38 -8
- package/lib/module/hooks-util-selectors.js.map +1 -1
- package/lib/module/hooks-util.js +615 -213
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/modules/HMSManager.js +3 -3
- package/lib/module/modules/HMSManager.js.map +1 -1
- package/lib/module/modules/parser.js +2 -3
- package/lib/module/modules/parser.js.map +1 -1
- package/lib/module/redux/actionTypes.js +25 -1
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +74 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +78 -2
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/chatWindow.js +3 -7
- package/lib/module/redux/reducers/chatWindow.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +70 -7
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/utils/functions.js +8 -2
- package/lib/module/utils/functions.js.map +1 -1
- package/lib/module/utils/theme.js +2 -0
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/module/utils/types.js +6 -2
- package/lib/module/utils/types.js.map +1 -1
- package/lib/module/utils.js +6 -0
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/HMSPrebuilt.d.ts +1 -0
- package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
- package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Eye/index.d.ts +8 -0
- package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Person/index.d.ts +1 -0
- package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Search/index.d.ts +7 -0
- package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +2 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
- package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet.d.ts +4 -1
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
- package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
- package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
- package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
- package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts +0 -2
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
- package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
- package/lib/typescript/components/GridView.d.ts +12 -1
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HLSFooter.d.ts +8 -0
- package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/HLSView.d.ts.map +1 -1
- package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
- package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSChat.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts +15 -0
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSNotifications.d.ts +5 -0
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
- package/lib/typescript/components/HMSTextInput.d.ts +20 -6
- package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
- package/lib/typescript/components/HMSVideoView.d.ts +6 -0
- package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts +3 -2
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
- package/lib/typescript/components/Meeting.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/MiniView.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +1 -21
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/OverlayContainer.d.ts +9 -0
- package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
- package/lib/typescript/components/OverlayedViews.d.ts +4 -0
- package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
- package/lib/typescript/components/PaginationDots.d.ts +3 -0
- package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
- package/lib/typescript/components/Participants/index.d.ts +0 -3
- package/lib/typescript/components/Participants/index.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
- package/lib/typescript/components/ReconnectionView.d.ts +4 -0
- package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
- package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
- package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +0 -3
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/hooks-util-selectors.d.ts +7 -2
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +53 -23
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/modules/HMSManager.d.ts +1 -1
- package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
- package/lib/typescript/modules/parser.d.ts +1 -1
- package/lib/typescript/modules/parser.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +16 -1
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +92 -4
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +22 -2
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +10 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
- package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +22 -2
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/userState.d.ts +1 -0
- package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
- package/lib/typescript/utils/functions.d.ts +3 -1
- package/lib/typescript/utils/functions.d.ts.map +1 -1
- package/lib/typescript/utils/theme.d.ts +1 -1
- package/lib/typescript/utils/theme.d.ts.map +1 -1
- package/lib/typescript/utils/types.d.ts +6 -2
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts +5 -0
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +13 -8
- package/src/HMSPrebuilt.tsx +10 -10
- package/src/HMSRoomSetup.tsx +50 -28
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/src/Icons/AlertTriangle/index.tsx +9 -2
- package/src/Icons/Eye/assets/eye-on-small.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/src/Icons/Eye/index.tsx +36 -0
- package/src/Icons/Person/assets/person-left.png +0 -0
- package/src/Icons/Person/assets/person-left@2x.png +0 -0
- package/src/Icons/Person/assets/person-left@3x.png +0 -0
- package/src/Icons/Person/assets/person-off.png +0 -0
- package/src/Icons/Person/assets/person-off@2x.png +0 -0
- package/src/Icons/Person/assets/person-off@3x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/src/Icons/Person/index.tsx +13 -2
- package/src/Icons/Search/assets/search.png +0 -0
- package/src/Icons/Search/assets/search@2x.png +0 -0
- package/src/Icons/Search/assets/search@3x.png +0 -0
- package/src/Icons/Search/index.tsx +33 -0
- package/src/Icons/index.ts +2 -0
- package/src/assets/audio-level-white.json +1271 -0
- package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/src/assets/welcome.png +0 -0
- package/src/components/AnimatedFooter.tsx +37 -0
- package/src/components/AnimatedHLSFooter.tsx +43 -0
- package/src/components/AnimatedHeader.tsx +53 -0
- package/src/components/BottomSheet.tsx +8 -4
- package/src/components/ChangeNameModalContent.tsx +2 -11
- package/src/components/Chat/ChatBanner.tsx +37 -52
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
- package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
- package/src/components/Chat/ChatFilterItem.tsx +71 -0
- package/src/components/Chat/ChatFilterView.tsx +250 -0
- package/src/components/Chat/ChatList.tsx +16 -12
- package/src/components/Chat/ChatMessage.tsx +48 -197
- package/src/components/Chat/PinnedMessage.tsx +45 -45
- package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
- package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
- package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
- package/src/components/ChatAndParticipants/index.ts +1 -0
- package/src/components/CompanyLogo.tsx +3 -2
- package/src/components/DefaultModal.tsx +4 -6
- package/src/components/DisplayView.tsx +10 -26
- package/src/components/EndRoomModalContent.tsx +32 -7
- package/src/components/Footer.tsx +93 -58
- package/src/components/FullScreenVideoView.tsx +77 -0
- package/src/components/GridView.tsx +186 -65
- package/src/components/HLSFooter.tsx +32 -0
- package/src/components/HLSView.tsx +5 -32
- package/src/components/HMSBaseButton.tsx +2 -2
- package/src/components/HMSChat.tsx +12 -25
- package/src/components/HMSHLSMessage.tsx +72 -0
- package/src/components/HMSHLSMessageList.tsx +60 -0
- package/src/components/HMSHLSNotStarted.tsx +8 -19
- package/src/components/HMSHandRaiseNotification.tsx +101 -0
- package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
- package/src/components/HMSLiveIndicator.tsx +124 -0
- package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
- package/src/components/HMSLocalVideoView.tsx +4 -31
- package/src/components/HMSManageAudioOutput.tsx +14 -2
- package/src/components/HMSManageLeave.tsx +46 -19
- package/src/components/HMSNotification.tsx +126 -0
- package/src/components/HMSNotifications.tsx +154 -0
- package/src/components/HMSOverlayChatView.tsx +36 -0
- package/src/components/HMSPreviewJoinButton.tsx +6 -3
- package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
- package/src/components/HMSPreviewSubtitle.tsx +2 -6
- package/src/components/HMSPreviewTitle.tsx +2 -6
- package/src/components/HMSRecordingIndicator.tsx +13 -2
- package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
- package/src/components/HMSSendMessageInput.tsx +59 -0
- package/src/components/HMSTextInput.tsx +157 -23
- package/src/components/HMSVideoView.tsx +43 -0
- package/src/components/Header.tsx +25 -133
- package/src/components/LocalPeerScreenshareView.tsx +0 -6
- package/src/components/Meeting.tsx +15 -8
- package/src/components/MeetingScreenContent.tsx +28 -11
- package/src/components/MiniView.tsx +10 -4
- package/src/components/Modals.tsx +112 -370
- package/src/components/OverlayContainer.tsx +31 -0
- package/src/components/OverlayedViews.tsx +22 -0
- package/src/components/PaginationDots.tsx +9 -8
- package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
- package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
- package/src/components/Participants/ParticipantsItem.tsx +170 -0
- package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
- package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
- package/src/components/Participants/ParticipantsList.tsx +68 -278
- package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
- package/src/components/Participants/index.ts +0 -3
- package/src/components/PeerMinimizedView.tsx +1 -1
- package/src/components/PeerSettingsModalContent.tsx +44 -191
- package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
- package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
- package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
- package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
- package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
- package/src/components/PeerVideoTile/VideoView.tsx +59 -9
- package/src/components/PressableIcon.tsx +26 -13
- package/src/components/Preview.tsx +17 -24
- package/src/components/PreviewForRoleChangeModal.tsx +448 -0
- package/src/components/ReconnectionView.tsx +73 -0
- package/src/components/RoomSettingsModalContent.tsx +32 -30
- package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
- package/src/components/StreamingQualityModalContent.tsx +8 -8
- package/src/components/TilesContainer.tsx +54 -24
- package/src/components/WebrtcView.tsx +29 -19
- package/src/components/WelcomeInMeeting.tsx +5 -34
- package/src/components/index.ts +0 -3
- package/src/hooks-util-selectors.tsx +69 -6
- package/src/hooks-util.ts +852 -270
- package/src/modules/HMSManager.ts +3 -3
- package/src/modules/parser.ts +3 -4
- package/src/redux/actionTypes.ts +33 -0
- package/src/redux/actions/index.ts +96 -1
- package/src/redux/reducers/appState.ts +83 -1
- package/src/redux/reducers/chatWindow.ts +12 -5
- package/src/redux/reducers/hmsStates.ts +136 -4
- package/src/redux/reducers/userState.ts +1 -1
- package/src/utils/functions.ts +9 -0
- package/src/utils/theme.ts +3 -1
- package/src/utils/types.ts +6 -2
- package/src/utils.ts +6 -0
- package/lib/commonjs/assets/100ms-logo.png +0 -0
- package/lib/commonjs/assets/brb.png +0 -0
- package/lib/commonjs/assets/icon.png +0 -0
- package/lib/commonjs/assets/illustration.png +0 -0
- package/lib/commonjs/assets/network_0.png +0 -0
- package/lib/commonjs/assets/network_1.png +0 -0
- package/lib/commonjs/assets/network_2.png +0 -0
- package/lib/commonjs/assets/network_3.png +0 -0
- package/lib/commonjs/assets/network_4.png +0 -0
- package/lib/commonjs/assets/user_music.png +0 -0
- package/lib/commonjs/components/ChatWindow.js +0 -608
- package/lib/commonjs/components/ChatWindow.js.map +0 -1
- package/lib/commonjs/components/CustomInput.js +0 -89
- package/lib/commonjs/components/CustomInput.js.map +0 -1
- package/lib/commonjs/components/DisplayTrack.js +0 -70
- package/lib/commonjs/components/DisplayTrack.js.map +0 -1
- package/lib/commonjs/components/HMSShareScreen.js +0 -59
- package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
- package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
- package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/commonjs/components/LiveButton.js +0 -70
- package/lib/commonjs/components/LiveButton.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
- package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
- package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/commonjs/components/Picker.js +0 -93
- package/lib/commonjs/components/Picker.js.map +0 -1
- package/lib/module/assets/100ms-logo.png +0 -0
- package/lib/module/assets/brb.png +0 -0
- package/lib/module/assets/icon.png +0 -0
- package/lib/module/assets/illustration.png +0 -0
- package/lib/module/assets/network_0.png +0 -0
- package/lib/module/assets/network_1.png +0 -0
- package/lib/module/assets/network_2.png +0 -0
- package/lib/module/assets/network_3.png +0 -0
- package/lib/module/assets/network_4.png +0 -0
- package/lib/module/assets/user_music.png +0 -0
- package/lib/module/components/ChatWindow.js +0 -595
- package/lib/module/components/ChatWindow.js.map +0 -1
- package/lib/module/components/CustomInput.js +0 -82
- package/lib/module/components/CustomInput.js.map +0 -1
- package/lib/module/components/DisplayTrack.js +0 -63
- package/lib/module/components/DisplayTrack.js.map +0 -1
- package/lib/module/components/HMSShareScreen.js +0 -50
- package/lib/module/components/HMSShareScreen.js.map +0 -1
- package/lib/module/components/HMSShowNetworkQuality.js +0 -47
- package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/module/components/LiveButton.js +0 -61
- package/lib/module/components/LiveButton.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
- package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
- package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
- package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/module/components/ParticipantsModal.js +0 -34
- package/lib/module/components/ParticipantsModal.js.map +0 -1
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/module/components/Picker.js +0 -83
- package/lib/module/components/Picker.js.map +0 -1
- package/lib/typescript/components/ChatWindow.d.ts +0 -22
- package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
- package/lib/typescript/components/CustomInput.d.ts +0 -24
- package/lib/typescript/components/CustomInput.d.ts.map +0 -1
- package/lib/typescript/components/DisplayTrack.d.ts +0 -9
- package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
- package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
- package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
- package/lib/typescript/components/LiveButton.d.ts +0 -17
- package/lib/typescript/components/LiveButton.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
- package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
- package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
- package/lib/typescript/components/Picker.d.ts +0 -9
- package/lib/typescript/components/Picker.d.ts.map +0 -1
- package/src/assets/100ms-logo.png +0 -0
- package/src/assets/brb.png +0 -0
- package/src/assets/icon.png +0 -0
- package/src/assets/illustration.png +0 -0
- package/src/assets/network_0.png +0 -0
- package/src/assets/network_1.png +0 -0
- package/src/assets/network_2.png +0 -0
- package/src/assets/network_3.png +0 -0
- package/src/assets/network_4.png +0 -0
- package/src/assets/user_music.png +0 -0
- package/src/components/ChatWindow.tsx +0 -706
- package/src/components/CustomInput.tsx +0 -138
- package/src/components/DisplayTrack.tsx +0 -92
- package/src/components/HMSShareScreen.tsx +0 -71
- package/src/components/HMSShowNetworkQuality.tsx +0 -68
- package/src/components/LiveButton.tsx +0 -77
- package/src/components/Participants/ParticipantsFilter.tsx +0 -144
- package/src/components/Participants/ParticipantsHeader.tsx +0 -64
- package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
- package/src/components/ParticipantsModal.tsx +0 -46
- package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
- package/src/components/Picker.tsx +0 -108
|
@@ -1,706 +0,0 @@
|
|
|
1
|
-
import React, { useState, useEffect, memo } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
View,
|
|
4
|
-
StyleSheet,
|
|
5
|
-
TouchableOpacity,
|
|
6
|
-
Text,
|
|
7
|
-
Platform,
|
|
8
|
-
TextInput,
|
|
9
|
-
} from 'react-native';
|
|
10
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
11
|
-
import {
|
|
12
|
-
HMSMessage,
|
|
13
|
-
HMSMessageRecipient,
|
|
14
|
-
HMSMessageRecipientType,
|
|
15
|
-
HMSMessageType,
|
|
16
|
-
HMSPeer,
|
|
17
|
-
HMSRemotePeer,
|
|
18
|
-
HMSRole,
|
|
19
|
-
} from '@100mslive/react-native-hms';
|
|
20
|
-
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
|
21
|
-
import Ionicons from 'react-native-vector-icons/Ionicons';
|
|
22
|
-
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
23
|
-
import { useDispatch, useSelector } from 'react-redux';
|
|
24
|
-
|
|
25
|
-
import { Menu, MenuDivider, MenuItem } from './MenuModal';
|
|
26
|
-
import { COLORS } from '../utils/theme';
|
|
27
|
-
import type { RootState } from '../redux';
|
|
28
|
-
import { addMessage } from '../redux/actions';
|
|
29
|
-
import { PressableIcon } from './PressableIcon';
|
|
30
|
-
import { ChatIcon, CloseIcon, ParticipantsIcon, SendIcon } from '../Icons';
|
|
31
|
-
import { useHMSInstance, useShowChat } from '../hooks-util';
|
|
32
|
-
import { ChatList } from './Chat';
|
|
33
|
-
import { SearchableParticipantsView } from './Participants';
|
|
34
|
-
|
|
35
|
-
interface ChatHeaderProps {
|
|
36
|
-
filters: boolean;
|
|
37
|
-
onClosePress?: () => void;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const ChatHeader: React.FC<ChatHeaderProps> = ({
|
|
41
|
-
filters,
|
|
42
|
-
onClosePress,
|
|
43
|
-
}) => {
|
|
44
|
-
return (
|
|
45
|
-
<View style={chatHeaderStyles.header}>
|
|
46
|
-
<View style={chatHeaderStyles.headerTitleWrapper}>
|
|
47
|
-
<Text style={chatHeaderStyles.headerTitle}>Chat</Text>
|
|
48
|
-
|
|
49
|
-
{filters ? <ChatFilter /> : null}
|
|
50
|
-
</View>
|
|
51
|
-
|
|
52
|
-
<PressableIcon border={false} onPress={onClosePress}>
|
|
53
|
-
<CloseIcon />
|
|
54
|
-
</PressableIcon>
|
|
55
|
-
</View>
|
|
56
|
-
);
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const chatHeaderStyles = StyleSheet.create({
|
|
60
|
-
header: {
|
|
61
|
-
flexDirection: 'row',
|
|
62
|
-
alignItems: 'center',
|
|
63
|
-
justifyContent: 'space-between',
|
|
64
|
-
},
|
|
65
|
-
headerTitleWrapper: {
|
|
66
|
-
flexDirection: 'row',
|
|
67
|
-
alignItems: 'center',
|
|
68
|
-
},
|
|
69
|
-
headerTitle: {
|
|
70
|
-
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
71
|
-
fontSize: 14,
|
|
72
|
-
fontFamily: 'Inter',
|
|
73
|
-
fontWeight: '600',
|
|
74
|
-
lineHeight: 20,
|
|
75
|
-
letterSpacing: 0.25,
|
|
76
|
-
},
|
|
77
|
-
closeIcon: {
|
|
78
|
-
width: 20,
|
|
79
|
-
height: 20,
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
interface ChatAndParticipantsHeaderProps {
|
|
84
|
-
activeTab: string;
|
|
85
|
-
setActiveTab(tab: string): void;
|
|
86
|
-
onClosePress?: () => void;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
const tabs: [string, string] = ['Chat', 'Participants'];
|
|
90
|
-
|
|
91
|
-
export const ChatAndParticipantsHeader: React.FC<
|
|
92
|
-
ChatAndParticipantsHeaderProps
|
|
93
|
-
> = ({ activeTab, setActiveTab, onClosePress }) => {
|
|
94
|
-
return (
|
|
95
|
-
<View style={chatAndParticipantsHeaderStyles.container}>
|
|
96
|
-
<View style={chatAndParticipantsHeaderStyles.grayBar} />
|
|
97
|
-
|
|
98
|
-
<View style={chatAndParticipantsHeaderStyles.header}>
|
|
99
|
-
<View style={chatAndParticipantsHeaderStyles.headerTitleWrapper}>
|
|
100
|
-
{tabs.map((tab) => {
|
|
101
|
-
const isActive = activeTab === tab;
|
|
102
|
-
const TabIcon = tab === 'Chat' ? ChatIcon : ParticipantsIcon;
|
|
103
|
-
|
|
104
|
-
return (
|
|
105
|
-
<TouchableOpacity
|
|
106
|
-
key={tab}
|
|
107
|
-
style={[
|
|
108
|
-
chatAndParticipantsHeaderStyles.tab,
|
|
109
|
-
isActive ? { borderColor: COLORS.PRIMARY.DEFAULT } : null,
|
|
110
|
-
]}
|
|
111
|
-
onPress={() => setActiveTab(tab)}
|
|
112
|
-
>
|
|
113
|
-
<TabIcon
|
|
114
|
-
style={[
|
|
115
|
-
chatAndParticipantsHeaderStyles.tabIcon,
|
|
116
|
-
isActive ? { tintColor: COLORS.PRIMARY.DEFAULT } : null,
|
|
117
|
-
]}
|
|
118
|
-
/>
|
|
119
|
-
|
|
120
|
-
<Text
|
|
121
|
-
style={[
|
|
122
|
-
chatHeaderStyles.headerTitle,
|
|
123
|
-
isActive ? null : { color: COLORS.SURFACE.ON_SURFACE.LOW },
|
|
124
|
-
]}
|
|
125
|
-
>
|
|
126
|
-
{tab}
|
|
127
|
-
</Text>
|
|
128
|
-
</TouchableOpacity>
|
|
129
|
-
);
|
|
130
|
-
})}
|
|
131
|
-
</View>
|
|
132
|
-
|
|
133
|
-
<PressableIcon border={false} onPress={onClosePress}>
|
|
134
|
-
<CloseIcon style={chatHeaderStyles.closeIcon} />
|
|
135
|
-
</PressableIcon>
|
|
136
|
-
</View>
|
|
137
|
-
</View>
|
|
138
|
-
);
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
const chatAndParticipantsHeaderStyles = StyleSheet.create({
|
|
142
|
-
container: {
|
|
143
|
-
position: 'relative',
|
|
144
|
-
},
|
|
145
|
-
grayBar: {
|
|
146
|
-
position: 'absolute',
|
|
147
|
-
bottom: 0,
|
|
148
|
-
width: '100%',
|
|
149
|
-
height: 2,
|
|
150
|
-
backgroundColor: COLORS.BORDER.LIGHT,
|
|
151
|
-
},
|
|
152
|
-
header: {
|
|
153
|
-
flexDirection: 'row',
|
|
154
|
-
alignItems: 'flex-end',
|
|
155
|
-
justifyContent: 'space-between',
|
|
156
|
-
},
|
|
157
|
-
headerTitleWrapper: {
|
|
158
|
-
flexDirection: 'row',
|
|
159
|
-
alignItems: 'center',
|
|
160
|
-
},
|
|
161
|
-
tab: {
|
|
162
|
-
flexDirection: 'row',
|
|
163
|
-
paddingVertical: 8,
|
|
164
|
-
borderBottomWidth: 2,
|
|
165
|
-
marginRight: 16,
|
|
166
|
-
borderColor: COLORS.BORDER.LIGHT,
|
|
167
|
-
},
|
|
168
|
-
tabIcon: {
|
|
169
|
-
width: 20,
|
|
170
|
-
height: 20,
|
|
171
|
-
marginRight: 8,
|
|
172
|
-
tintColor: COLORS.SURFACE.ON_SURFACE.LOW,
|
|
173
|
-
},
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
interface ChatTextInputProps {
|
|
177
|
-
containerStyle?: StyleProp<ViewStyle>;
|
|
178
|
-
clearButton?: boolean;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export const ChatTextInput: React.FC<ChatTextInputProps> = ({
|
|
182
|
-
containerStyle,
|
|
183
|
-
clearButton = false,
|
|
184
|
-
}) => {
|
|
185
|
-
const hmsInstance = useHMSInstance();
|
|
186
|
-
const dispatch = useDispatch();
|
|
187
|
-
const localPeer = useSelector(
|
|
188
|
-
(state: RootState) => state.hmsStates.localPeer
|
|
189
|
-
);
|
|
190
|
-
const [inputFocused, setInputFocused] = React.useState(false);
|
|
191
|
-
const typedMessage = useSelector(
|
|
192
|
-
(state: RootState) => state.chatWindow.typedMessage
|
|
193
|
-
);
|
|
194
|
-
const sendingTo = useSelector(
|
|
195
|
-
(state: RootState) =>
|
|
196
|
-
state.chatWindow.sendTo as HMSRole | HMSRemotePeer | { name: string }
|
|
197
|
-
);
|
|
198
|
-
const sendingToType = useSelector(
|
|
199
|
-
(state: RootState) => state.chatWindow.sendToType
|
|
200
|
-
);
|
|
201
|
-
|
|
202
|
-
const handleInputFocus = () => setInputFocused(true);
|
|
203
|
-
|
|
204
|
-
const handleInputBlur = () => setInputFocused(false);
|
|
205
|
-
|
|
206
|
-
const handleMessageTyping = (text: string) => {
|
|
207
|
-
dispatch({ type: 'SET_TYPED_MESSAGE', typedMessage: text });
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
const clearTypedMessage = () => {
|
|
211
|
-
dispatch({ type: 'SET_TYPED_MESSAGE', typedMessage: '' });
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
const sendMessage = () => {
|
|
215
|
-
if (typedMessage.length > 0 && hmsInstance) {
|
|
216
|
-
let hmsMessageRecipient: HMSMessageRecipient;
|
|
217
|
-
|
|
218
|
-
if (sendingToType === 'role') {
|
|
219
|
-
hmsMessageRecipient = new HMSMessageRecipient({
|
|
220
|
-
recipientType: HMSMessageRecipientType.ROLES,
|
|
221
|
-
recipientRoles: [sendingTo as HMSRole],
|
|
222
|
-
});
|
|
223
|
-
} else if (sendingToType === 'direct') {
|
|
224
|
-
hmsMessageRecipient = new HMSMessageRecipient({
|
|
225
|
-
recipientType: HMSMessageRecipientType.PEER,
|
|
226
|
-
recipientPeer: sendingTo as HMSPeer,
|
|
227
|
-
});
|
|
228
|
-
} else {
|
|
229
|
-
hmsMessageRecipient = new HMSMessageRecipient({
|
|
230
|
-
recipientType: HMSMessageRecipientType.BROADCAST,
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// Saving reference of `typedMessage` state to local variable
|
|
235
|
-
// to use the typed message after clearing state
|
|
236
|
-
const messageText = typedMessage;
|
|
237
|
-
|
|
238
|
-
clearTypedMessage();
|
|
239
|
-
|
|
240
|
-
const handleMessageID = ({
|
|
241
|
-
messageId,
|
|
242
|
-
}: {
|
|
243
|
-
messageId: string | undefined;
|
|
244
|
-
}) => {
|
|
245
|
-
if (messageId) {
|
|
246
|
-
const localMessage = new HMSMessage({
|
|
247
|
-
messageId: messageId,
|
|
248
|
-
message: messageText,
|
|
249
|
-
type: HMSMessageType.CHAT,
|
|
250
|
-
time: new Date(),
|
|
251
|
-
sender: localPeer || undefined,
|
|
252
|
-
recipient: hmsMessageRecipient,
|
|
253
|
-
});
|
|
254
|
-
dispatch(addMessage(localMessage));
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
if (sendingToType === 'role') {
|
|
259
|
-
hmsInstance
|
|
260
|
-
.sendGroupMessage(messageText, [sendingTo as HMSRole])
|
|
261
|
-
.then(handleMessageID);
|
|
262
|
-
} else if (sendingToType === 'direct') {
|
|
263
|
-
hmsInstance
|
|
264
|
-
.sendDirectMessage(messageText, sendingTo as HMSPeer)
|
|
265
|
-
.then(handleMessageID);
|
|
266
|
-
} else {
|
|
267
|
-
hmsInstance.sendBroadcastMessage(messageText).then(handleMessageID);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
return (
|
|
273
|
-
<View
|
|
274
|
-
style={[
|
|
275
|
-
chatTextInputStyles.inputContainer,
|
|
276
|
-
{
|
|
277
|
-
borderColor: inputFocused
|
|
278
|
-
? COLORS.PRIMARY.DEFAULT
|
|
279
|
-
: COLORS.SURFACE.DEFAULT,
|
|
280
|
-
},
|
|
281
|
-
containerStyle,
|
|
282
|
-
]}
|
|
283
|
-
>
|
|
284
|
-
<TextInput
|
|
285
|
-
style={chatTextInputStyles.input}
|
|
286
|
-
value={typedMessage}
|
|
287
|
-
onChangeText={handleMessageTyping}
|
|
288
|
-
placeholder={`Send a message to ${sendingTo.name}`}
|
|
289
|
-
autoCapitalize="sentences"
|
|
290
|
-
autoCompleteType="off"
|
|
291
|
-
placeholderTextColor={COLORS.SURFACE.ON_SURFACE.LOW}
|
|
292
|
-
selectionColor={COLORS.SURFACE.ON_SURFACE.HIGH}
|
|
293
|
-
onFocus={handleInputFocus}
|
|
294
|
-
onBlur={handleInputBlur}
|
|
295
|
-
blurOnSubmit={true}
|
|
296
|
-
onSubmitEditing={sendMessage}
|
|
297
|
-
returnKeyType="send"
|
|
298
|
-
/>
|
|
299
|
-
{clearButton && typedMessage.length > 0 ? (
|
|
300
|
-
<PressableIcon
|
|
301
|
-
onPress={clearTypedMessage}
|
|
302
|
-
border={false}
|
|
303
|
-
rounded={false}
|
|
304
|
-
style={chatTextInputStyles.sendIconWrapper}
|
|
305
|
-
>
|
|
306
|
-
<CloseIcon style={chatTextInputStyles.sendIcon} />
|
|
307
|
-
</PressableIcon>
|
|
308
|
-
) : null}
|
|
309
|
-
<PressableIcon
|
|
310
|
-
onPress={sendMessage}
|
|
311
|
-
border={false}
|
|
312
|
-
rounded={false}
|
|
313
|
-
style={chatTextInputStyles.sendIconWrapper}
|
|
314
|
-
>
|
|
315
|
-
<SendIcon style={chatTextInputStyles.sendIcon} />
|
|
316
|
-
</PressableIcon>
|
|
317
|
-
</View>
|
|
318
|
-
);
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
const chatTextInputStyles = StyleSheet.create({
|
|
322
|
-
inputContainer: {
|
|
323
|
-
flexDirection: 'row',
|
|
324
|
-
justifyContent: 'flex-start',
|
|
325
|
-
backgroundColor: COLORS.SURFACE.DEFAULT,
|
|
326
|
-
overflow: 'hidden',
|
|
327
|
-
borderWidth: 2,
|
|
328
|
-
borderColor: COLORS.SURFACE.DEFAULT,
|
|
329
|
-
borderRadius: 8,
|
|
330
|
-
},
|
|
331
|
-
input: {
|
|
332
|
-
flex: 1,
|
|
333
|
-
textAlignVertical: 'center',
|
|
334
|
-
paddingHorizontal: 16,
|
|
335
|
-
paddingRight: 0,
|
|
336
|
-
paddingVertical: 12,
|
|
337
|
-
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
338
|
-
fontSize: 16,
|
|
339
|
-
fontFamily: 'Inter',
|
|
340
|
-
fontWeight: '400',
|
|
341
|
-
letterSpacing: 0.5,
|
|
342
|
-
},
|
|
343
|
-
sendIconWrapper: {
|
|
344
|
-
alignSelf: 'stretch',
|
|
345
|
-
alignItems: 'center',
|
|
346
|
-
justifyContent: 'center',
|
|
347
|
-
},
|
|
348
|
-
sendIcon: {
|
|
349
|
-
tintColor: COLORS.SURFACE.ON_SURFACE.LOW,
|
|
350
|
-
},
|
|
351
|
-
});
|
|
352
|
-
|
|
353
|
-
const ChatFilter = memo(() => {
|
|
354
|
-
const instance = useHMSInstance();
|
|
355
|
-
const dispatch = useDispatch();
|
|
356
|
-
const roles = useSelector((state: RootState) => state.hmsStates.roles);
|
|
357
|
-
const filter = useSelector(
|
|
358
|
-
(state: RootState) => state.chatWindow.sendTo.name as string | undefined
|
|
359
|
-
);
|
|
360
|
-
|
|
361
|
-
const [visible, setVisible] = useState<boolean>(false);
|
|
362
|
-
const [remotePeers, setRemotePeers] = useState<HMSRemotePeer[]>();
|
|
363
|
-
|
|
364
|
-
const hideMenu = () => setVisible(false);
|
|
365
|
-
const showMenu = () => setVisible(true);
|
|
366
|
-
|
|
367
|
-
useEffect(() => {
|
|
368
|
-
instance?.getRemotePeers().then((currentRemotePeers) => {
|
|
369
|
-
setRemotePeers(currentRemotePeers);
|
|
370
|
-
});
|
|
371
|
-
}, [instance]);
|
|
372
|
-
|
|
373
|
-
return (
|
|
374
|
-
<Menu
|
|
375
|
-
visible={visible}
|
|
376
|
-
anchor={
|
|
377
|
-
<TouchableOpacity style={styles.chatFilterContainer} onPress={showMenu}>
|
|
378
|
-
<Text style={styles.chatFilterText} numberOfLines={1}>
|
|
379
|
-
{filter}
|
|
380
|
-
</Text>
|
|
381
|
-
<MaterialIcons
|
|
382
|
-
name={visible ? 'arrow-drop-up' : 'arrow-drop-down'}
|
|
383
|
-
style={styles.chatFilterIcon}
|
|
384
|
-
size={24}
|
|
385
|
-
/>
|
|
386
|
-
</TouchableOpacity>
|
|
387
|
-
}
|
|
388
|
-
onRequestClose={hideMenu}
|
|
389
|
-
style={styles.chatMenuContainer}
|
|
390
|
-
>
|
|
391
|
-
<MenuItem
|
|
392
|
-
onPress={() => {
|
|
393
|
-
hideMenu();
|
|
394
|
-
dispatch({
|
|
395
|
-
type: 'SET_SENDTO',
|
|
396
|
-
sendTo: { name: 'everyone' },
|
|
397
|
-
sendToType: 'everyone',
|
|
398
|
-
});
|
|
399
|
-
}}
|
|
400
|
-
>
|
|
401
|
-
<View style={styles.chatMenuItem}>
|
|
402
|
-
<Ionicons
|
|
403
|
-
name="people-outline"
|
|
404
|
-
style={styles.chatMenuItemIcon}
|
|
405
|
-
size={20}
|
|
406
|
-
/>
|
|
407
|
-
<Text style={styles.chatMenuItemName}>Everyone</Text>
|
|
408
|
-
</View>
|
|
409
|
-
</MenuItem>
|
|
410
|
-
<MenuDivider color={COLORS.BORDER.LIGHT} />
|
|
411
|
-
{roles?.map((knownRole) => {
|
|
412
|
-
return (
|
|
413
|
-
<MenuItem
|
|
414
|
-
onPress={() => {
|
|
415
|
-
hideMenu();
|
|
416
|
-
dispatch({
|
|
417
|
-
type: 'SET_SENDTO',
|
|
418
|
-
sendTo: knownRole,
|
|
419
|
-
sendToType: 'role',
|
|
420
|
-
});
|
|
421
|
-
}}
|
|
422
|
-
key={knownRole.name}
|
|
423
|
-
>
|
|
424
|
-
<View style={styles.chatMenuItem}>
|
|
425
|
-
<Text style={styles.chatMenuItemName}>{knownRole?.name}</Text>
|
|
426
|
-
</View>
|
|
427
|
-
</MenuItem>
|
|
428
|
-
);
|
|
429
|
-
})}
|
|
430
|
-
<MenuDivider color={COLORS.BORDER.LIGHT} />
|
|
431
|
-
{remotePeers?.map((remotePeer) => {
|
|
432
|
-
return (
|
|
433
|
-
<MenuItem
|
|
434
|
-
onPress={() => {
|
|
435
|
-
hideMenu();
|
|
436
|
-
dispatch({
|
|
437
|
-
type: 'SET_SENDTO',
|
|
438
|
-
sendTo: remotePeer,
|
|
439
|
-
sendToType: 'direct',
|
|
440
|
-
});
|
|
441
|
-
}}
|
|
442
|
-
key={remotePeer.name}
|
|
443
|
-
>
|
|
444
|
-
<View style={styles.chatMenuItem}>
|
|
445
|
-
<Ionicons
|
|
446
|
-
name="person-outline"
|
|
447
|
-
style={styles.chatMenuItemIcon}
|
|
448
|
-
size={20}
|
|
449
|
-
/>
|
|
450
|
-
<Text style={styles.chatMenuItemName}>{remotePeer.name}</Text>
|
|
451
|
-
</View>
|
|
452
|
-
</MenuItem>
|
|
453
|
-
);
|
|
454
|
-
})}
|
|
455
|
-
</Menu>
|
|
456
|
-
);
|
|
457
|
-
});
|
|
458
|
-
|
|
459
|
-
ChatFilter.displayName = 'ChatFilter';
|
|
460
|
-
|
|
461
|
-
export const ChatView: React.FC = () => {
|
|
462
|
-
const [activeTab, setActiveTab] = useState(tabs[0]);
|
|
463
|
-
const [_, setChatVisible] = useShowChat();
|
|
464
|
-
|
|
465
|
-
const hideInsetChatView = () => setChatVisible(false);
|
|
466
|
-
|
|
467
|
-
// const estimatedListSize = useMemo(() => ({
|
|
468
|
-
// height: Dimensions.get('window').height * 0.45,
|
|
469
|
-
// width: Dimensions.get('window').width - 32,
|
|
470
|
-
// }), []);
|
|
471
|
-
|
|
472
|
-
return (
|
|
473
|
-
// <Animated.View
|
|
474
|
-
// style={chatViewStyles.container}
|
|
475
|
-
// entering={SlideInDown}
|
|
476
|
-
// exiting={SlideOutDown}
|
|
477
|
-
// >
|
|
478
|
-
<View style={chatViewStyles.container}>
|
|
479
|
-
<ChatAndParticipantsHeader
|
|
480
|
-
activeTab={activeTab}
|
|
481
|
-
setActiveTab={setActiveTab}
|
|
482
|
-
onClosePress={hideInsetChatView}
|
|
483
|
-
/>
|
|
484
|
-
|
|
485
|
-
{activeTab === 'Chat' ? (
|
|
486
|
-
<>
|
|
487
|
-
<ChatList />
|
|
488
|
-
|
|
489
|
-
<ChatTextInput clearButton={true} />
|
|
490
|
-
</>
|
|
491
|
-
) : activeTab === 'Participants' ? (
|
|
492
|
-
<View style={chatViewStyles.participantsWrapper}>
|
|
493
|
-
<SearchableParticipantsView />
|
|
494
|
-
</View>
|
|
495
|
-
) : null}
|
|
496
|
-
</View>
|
|
497
|
-
// </Animated.View>
|
|
498
|
-
);
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
const chatViewStyles = StyleSheet.create({
|
|
502
|
-
container: {
|
|
503
|
-
flex: 1,
|
|
504
|
-
backgroundColor: COLORS.SURFACE.DIM,
|
|
505
|
-
padding: 16,
|
|
506
|
-
borderTopRightRadius: 16,
|
|
507
|
-
borderTopLeftRadius: 16,
|
|
508
|
-
},
|
|
509
|
-
participantsWrapper: {
|
|
510
|
-
marginTop: 16,
|
|
511
|
-
},
|
|
512
|
-
});
|
|
513
|
-
|
|
514
|
-
export const ChatWindow: React.FC = () => {
|
|
515
|
-
const { bottom } = useSafeAreaInsets();
|
|
516
|
-
|
|
517
|
-
return (
|
|
518
|
-
<View style={styles.container}>
|
|
519
|
-
<ChatHeader filters={true} />
|
|
520
|
-
|
|
521
|
-
<ChatList />
|
|
522
|
-
|
|
523
|
-
<View
|
|
524
|
-
style={bottom === 0 ? styles.inputContainer : { marginBottom: bottom }}
|
|
525
|
-
>
|
|
526
|
-
<ChatTextInput clearButton={true} containerStyle={styles.input} />
|
|
527
|
-
</View>
|
|
528
|
-
</View>
|
|
529
|
-
);
|
|
530
|
-
};
|
|
531
|
-
|
|
532
|
-
const styles = StyleSheet.create({
|
|
533
|
-
container: {
|
|
534
|
-
height: '100%',
|
|
535
|
-
width: '100%',
|
|
536
|
-
backgroundColor: COLORS.SURFACE.DEFAULT,
|
|
537
|
-
},
|
|
538
|
-
chatHeaderContainer: {
|
|
539
|
-
height: 48,
|
|
540
|
-
width: '80%',
|
|
541
|
-
flexDirection: 'row',
|
|
542
|
-
alignItems: 'center',
|
|
543
|
-
},
|
|
544
|
-
chatHeading: {
|
|
545
|
-
fontFamily: 'Inter-Medium',
|
|
546
|
-
fontSize: 20,
|
|
547
|
-
lineHeight: 24,
|
|
548
|
-
letterSpacing: 0.15,
|
|
549
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
550
|
-
paddingRight: 12,
|
|
551
|
-
},
|
|
552
|
-
chatFilterContainer: {
|
|
553
|
-
marginLeft: 16,
|
|
554
|
-
padding: 8,
|
|
555
|
-
flexDirection: 'row',
|
|
556
|
-
alignItems: 'center',
|
|
557
|
-
width: 120,
|
|
558
|
-
borderWidth: 1,
|
|
559
|
-
borderColor: COLORS.BORDER.LIGHT,
|
|
560
|
-
borderRadius: 8,
|
|
561
|
-
},
|
|
562
|
-
chatFilterText: {
|
|
563
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
564
|
-
fontFamily: 'Inter-Regular',
|
|
565
|
-
fontSize: 12,
|
|
566
|
-
lineHeight: 16,
|
|
567
|
-
letterSpacing: 0.4,
|
|
568
|
-
marginRight: 12,
|
|
569
|
-
textTransform: 'capitalize',
|
|
570
|
-
},
|
|
571
|
-
chatFilterIcon: {
|
|
572
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
573
|
-
position: 'absolute',
|
|
574
|
-
right: 0,
|
|
575
|
-
},
|
|
576
|
-
chatMenuContainer: {
|
|
577
|
-
backgroundColor: COLORS.SURFACE.LIGHT,
|
|
578
|
-
},
|
|
579
|
-
chatMenuItem: {
|
|
580
|
-
flexDirection: 'row',
|
|
581
|
-
alignItems: 'center',
|
|
582
|
-
paddingLeft: Platform.OS === 'ios' ? 16 : 0,
|
|
583
|
-
},
|
|
584
|
-
chatMenuItemIcon: {
|
|
585
|
-
color: COLORS.WHITE,
|
|
586
|
-
paddingRight: 16,
|
|
587
|
-
height: 24,
|
|
588
|
-
},
|
|
589
|
-
chatMenuItemName: {
|
|
590
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
591
|
-
fontSize: 14,
|
|
592
|
-
lineHeight: 20,
|
|
593
|
-
letterSpacing: 0.1,
|
|
594
|
-
fontFamily: 'Inter-Medium',
|
|
595
|
-
textTransform: 'capitalize',
|
|
596
|
-
},
|
|
597
|
-
chatInput: {
|
|
598
|
-
backgroundColor: COLORS.SURFACE.LIGHT,
|
|
599
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
600
|
-
fontFamily: 'Inter-Medium',
|
|
601
|
-
borderColor: COLORS.BORDER.LIGHT,
|
|
602
|
-
borderWidth: 1,
|
|
603
|
-
borderRadius: 8,
|
|
604
|
-
width: '100%',
|
|
605
|
-
paddingVertical: 12,
|
|
606
|
-
paddingHorizontal: 16,
|
|
607
|
-
paddingLeft: 16,
|
|
608
|
-
paddingRight: 88,
|
|
609
|
-
},
|
|
610
|
-
sendMessageButton: {
|
|
611
|
-
position: 'absolute',
|
|
612
|
-
alignItems: 'center',
|
|
613
|
-
right: 0,
|
|
614
|
-
paddingHorizontal: 12,
|
|
615
|
-
width: 48,
|
|
616
|
-
},
|
|
617
|
-
sendMessageIcon: {
|
|
618
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
619
|
-
},
|
|
620
|
-
clearButtonStyle: {
|
|
621
|
-
right: 48,
|
|
622
|
-
width: 40,
|
|
623
|
-
},
|
|
624
|
-
contentContainer: {
|
|
625
|
-
flex: 1,
|
|
626
|
-
marginVertical: 4,
|
|
627
|
-
},
|
|
628
|
-
messageBubble: {
|
|
629
|
-
padding: 8,
|
|
630
|
-
borderRadius: 8,
|
|
631
|
-
marginTop: 16,
|
|
632
|
-
width: '100%',
|
|
633
|
-
},
|
|
634
|
-
privateMessageBubble: {
|
|
635
|
-
backgroundColor: COLORS.SURFACE.LIGHT,
|
|
636
|
-
},
|
|
637
|
-
headingContainer: {
|
|
638
|
-
flexDirection: 'row',
|
|
639
|
-
alignItems: 'center',
|
|
640
|
-
marginBottom: 8,
|
|
641
|
-
justifyContent: 'space-between',
|
|
642
|
-
},
|
|
643
|
-
headingLeftContainer: {
|
|
644
|
-
flexDirection: 'row',
|
|
645
|
-
alignItems: 'center',
|
|
646
|
-
},
|
|
647
|
-
headingRightContainer: {
|
|
648
|
-
flexDirection: 'row',
|
|
649
|
-
alignItems: 'center',
|
|
650
|
-
borderWidth: 1,
|
|
651
|
-
borderRadius: 4,
|
|
652
|
-
borderColor: COLORS.BORDER.LIGHT,
|
|
653
|
-
justifyContent: 'center',
|
|
654
|
-
padding: 4,
|
|
655
|
-
},
|
|
656
|
-
private: {
|
|
657
|
-
fontFamily: 'Inter-Medium',
|
|
658
|
-
fontSize: 10,
|
|
659
|
-
lineHeight: 16,
|
|
660
|
-
letterSpacing: 1.5,
|
|
661
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
662
|
-
textTransform: 'uppercase',
|
|
663
|
-
},
|
|
664
|
-
senderName: {
|
|
665
|
-
fontFamily: 'Inter',
|
|
666
|
-
fontWeight: '600',
|
|
667
|
-
fontSize: 14,
|
|
668
|
-
lineHeight: 20,
|
|
669
|
-
letterSpacing: 0.1,
|
|
670
|
-
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
671
|
-
textTransform: 'capitalize',
|
|
672
|
-
marginHorizontal: 8,
|
|
673
|
-
},
|
|
674
|
-
messageTime: {
|
|
675
|
-
fontFamily: 'Inter',
|
|
676
|
-
fontWeight: '400',
|
|
677
|
-
fontSize: 12,
|
|
678
|
-
lineHeight: 16,
|
|
679
|
-
letterSpacing: 0.4,
|
|
680
|
-
color: COLORS.SURFACE.ON_SURFACE.LOW,
|
|
681
|
-
},
|
|
682
|
-
messageText: {
|
|
683
|
-
color: COLORS.SURFACE.ON_SURFACE.HIGH,
|
|
684
|
-
fontSize: 14,
|
|
685
|
-
fontFamily: 'Inter',
|
|
686
|
-
fontWeight: '400',
|
|
687
|
-
lineHeight: 20,
|
|
688
|
-
letterSpacing: 0.25,
|
|
689
|
-
},
|
|
690
|
-
inputContainer: {
|
|
691
|
-
marginBottom: 16,
|
|
692
|
-
},
|
|
693
|
-
input: {
|
|
694
|
-
backgroundColor: COLORS.SURFACE.LIGHT,
|
|
695
|
-
borderWidth: 1,
|
|
696
|
-
borderColor: COLORS.BORDER.LIGHT,
|
|
697
|
-
},
|
|
698
|
-
pinIcon: {
|
|
699
|
-
color: COLORS.WHITE,
|
|
700
|
-
},
|
|
701
|
-
pinIconContainer: {
|
|
702
|
-
flex: 1,
|
|
703
|
-
height: '100%',
|
|
704
|
-
justifyContent: 'flex-end',
|
|
705
|
-
},
|
|
706
|
-
});
|