@100mslive/react-native-room-kit 1.0.2-beta.1 → 1.0.3
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/commonjs/HMSRoomSetup.js +1 -0
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/100ms/index.js +4 -5
- package/lib/commonjs/Icons/100ms/index.js.map +1 -1
- package/lib/commonjs/Icons/Alert/index.js +4 -5
- package/lib/commonjs/Icons/Alert/index.js.map +1 -1
- package/lib/commonjs/Icons/AlertTriangle/index.js +5 -6
- package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/commonjs/Icons/AnswerPhone/index.js +4 -5
- package/lib/commonjs/Icons/AnswerPhone/index.js.map +1 -1
- package/lib/commonjs/Icons/BRB/index.js +6 -5
- package/lib/commonjs/Icons/BRB/index.js.map +1 -1
- package/lib/commonjs/Icons/Bluetooth/index.js +4 -5
- package/lib/commonjs/Icons/Bluetooth/index.js.map +1 -1
- package/lib/commonjs/Icons/Camera/index.js +5 -6
- package/lib/commonjs/Icons/Camera/index.js.map +1 -1
- package/lib/commonjs/Icons/Chat/index.js +4 -5
- package/lib/commonjs/Icons/Chat/index.js.map +1 -1
- package/lib/commonjs/Icons/Check/index.js +4 -5
- package/lib/commonjs/Icons/Check/index.js.map +1 -1
- package/lib/commonjs/Icons/Chevron/index.js +5 -6
- package/lib/commonjs/Icons/Chevron/index.js.map +1 -1
- package/lib/commonjs/Icons/Clock/index.js +4 -5
- package/lib/commonjs/Icons/Clock/index.js.map +1 -1
- package/lib/commonjs/Icons/Close/index.js +4 -5
- package/lib/commonjs/Icons/Close/index.js.map +1 -1
- package/lib/commonjs/Icons/End/index.js +4 -5
- package/lib/commonjs/Icons/End/index.js.map +1 -1
- package/lib/commonjs/Icons/Eye/index.js +5 -6
- package/lib/commonjs/Icons/Eye/index.js.map +1 -1
- package/lib/commonjs/Icons/GenericLogo/index.js +4 -5
- package/lib/commonjs/Icons/GenericLogo/index.js.map +1 -1
- package/lib/commonjs/Icons/Hamburger/index.js +4 -5
- package/lib/commonjs/Icons/Hamburger/index.js.map +1 -1
- package/lib/commonjs/Icons/Hand/index.js +7 -6
- package/lib/commonjs/Icons/Hand/index.js.map +1 -1
- package/lib/commonjs/Icons/Headphones/index.js +4 -5
- package/lib/commonjs/Icons/Headphones/index.js.map +1 -1
- package/lib/commonjs/Icons/Leave/index.js +6 -5
- package/lib/commonjs/Icons/Leave/index.js.map +1 -1
- package/lib/commonjs/Icons/Maximize/index.js +4 -5
- package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
- package/lib/commonjs/Icons/Mic/index.js +7 -6
- package/lib/commonjs/Icons/Mic/index.js.map +1 -1
- package/lib/commonjs/Icons/Minimize/index.js +4 -5
- package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
- package/lib/commonjs/Icons/NetworkQuality/index.js +5 -6
- package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -1
- package/lib/commonjs/Icons/Participants/index.js +4 -5
- package/lib/commonjs/Icons/Participants/index.js.map +1 -1
- package/lib/commonjs/Icons/Pencil/index.js +4 -5
- package/lib/commonjs/Icons/Pencil/index.js.map +1 -1
- package/lib/commonjs/Icons/Person/index.js +5 -6
- package/lib/commonjs/Icons/Person/index.js.map +1 -1
- package/lib/commonjs/Icons/Pin/index.js +4 -5
- package/lib/commonjs/Icons/Pin/index.js.map +1 -1
- package/lib/commonjs/Icons/Radio/index.js +4 -5
- package/lib/commonjs/Icons/Radio/index.js.map +1 -1
- package/lib/commonjs/Icons/Recording/index.js +5 -6
- package/lib/commonjs/Icons/Recording/index.js.map +1 -1
- package/lib/commonjs/Icons/RotateCamera/index.js +4 -5
- package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -1
- package/lib/commonjs/Icons/ScreenShare/index.js +4 -5
- package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -1
- package/lib/commonjs/Icons/Search/index.js +4 -5
- package/lib/commonjs/Icons/Search/index.js.map +1 -1
- package/lib/commonjs/Icons/Send/index.js +4 -5
- package/lib/commonjs/Icons/Send/index.js.map +1 -1
- package/lib/commonjs/Icons/Settings/index.js +4 -5
- package/lib/commonjs/Icons/Settings/index.js.map +1 -1
- package/lib/commonjs/Icons/Speaker/index.js +6 -7
- package/lib/commonjs/Icons/Speaker/index.js.map +1 -1
- package/lib/commonjs/Icons/Star/index.js +4 -5
- package/lib/commonjs/Icons/Star/index.js.map +1 -1
- package/lib/commonjs/Icons/Stop/index.js +6 -5
- package/lib/commonjs/Icons/Stop/index.js.map +1 -1
- package/lib/commonjs/Icons/ThreeDots/index.js +5 -6
- package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -1
- package/lib/commonjs/Icons/Wave/index.js +4 -5
- package/lib/commonjs/Icons/Wave/index.js.map +1 -1
- package/lib/commonjs/Icons/WelcomeHand/index.js +4 -5
- package/lib/commonjs/Icons/WelcomeHand/index.js.map +1 -1
- package/lib/commonjs/components/AnimatedFooter.js +4 -5
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHLSFooter.js +5 -6
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHeader.js +4 -5
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
- package/lib/commonjs/components/AvatarView.js +5 -6
- package/lib/commonjs/components/AvatarView.js.map +1 -1
- package/lib/commonjs/components/BackButton.js +2 -0
- package/lib/commonjs/components/BackButton.js.map +1 -1
- package/lib/commonjs/components/BottomSheet.js +21 -18
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js +8 -4
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +1 -2
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterItem.js +6 -7
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterView.js +8 -11
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +3 -4
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +8 -4
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/commonjs/components/CompanyLogo.js +6 -5
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/CustomButton.js +10 -11
- package/lib/commonjs/components/CustomButton.js.map +1 -1
- package/lib/commonjs/components/CustomHLSPlayerControls.js +3 -4
- package/lib/commonjs/components/CustomHLSPlayerControls.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +11 -12
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +4 -5
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +9 -5
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/GridView.js +22 -28
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSFooter.js +3 -4
- package/lib/commonjs/components/HLSFooter.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerStatsView.js +3 -4
- package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -1
- package/lib/commonjs/components/HLSView.js +5 -5
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSBaseButton.js +13 -12
- package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
- package/lib/commonjs/components/HMSChat.js +2 -0
- package/lib/commonjs/components/HMSChat.js.map +1 -1
- package/lib/commonjs/components/HMSDangerButton.js +10 -9
- package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +3 -4
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +6 -7
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +5 -6
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveIndicator.js +6 -1
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +3 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js +32 -2
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSManageCameraRotation.js +2 -0
- package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +3 -1
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSManageLocalAudio.js +2 -0
- package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -1
- package/lib/commonjs/components/HMSManageLocalVideo.js +2 -0
- package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -1
- package/lib/commonjs/components/HMSManageRaiseHand.js +2 -0
- package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +14 -13
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js +2 -0
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewJoinButton.js +6 -5
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +11 -4
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +5 -4
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSPrimaryButton.js +10 -9
- package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +6 -7
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js +2 -0
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
- package/lib/commonjs/components/HMSSendMessageInput.js +7 -5
- package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -1
- package/lib/commonjs/components/HMSTerminalErrorNotification.js +6 -7
- package/lib/commonjs/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/commonjs/components/HMSTextInput.js +8 -8
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/HMSVideoView.js +5 -6
- package/lib/commonjs/components/HMSVideoView.js.map +1 -1
- package/lib/commonjs/components/Header.js +4 -5
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js +7 -0
- package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/commonjs/components/LocalPeerRegularVideoView.js +3 -4
- package/lib/commonjs/components/LocalPeerRegularVideoView.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +3 -4
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +3 -4
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MenuModal/MenuDivider.js +3 -4
- package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -1
- package/lib/commonjs/components/MenuModal/MenuItem.js +15 -19
- package/lib/commonjs/components/MenuModal/MenuItem.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +4 -5
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/Modals.js +47 -60
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/OverlayContainer.js +6 -8
- package/lib/commonjs/components/OverlayContainer.js.map +1 -1
- package/lib/commonjs/components/PIPView.js +7 -9
- package/lib/commonjs/components/PIPView.js.map +1 -1
- package/lib/commonjs/components/PaginationDots.js +5 -6
- package/lib/commonjs/components/PaginationDots.js.map +1 -1
- package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js +4 -5
- package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordian.js +7 -8
- package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js +4 -5
- package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js +4 -5
- package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +11 -8
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItem.js +6 -5
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js +7 -8
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +5 -6
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +5 -6
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsListFooter.js +3 -4
- package/lib/commonjs/components/Participants/ParticipantsListFooter.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +6 -5
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/commonjs/components/PeerDisplayView.js +6 -7
- package/lib/commonjs/components/PeerDisplayView.js.map +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js +4 -5
- package/lib/commonjs/components/PeerMinimizedView.js.map +1 -1
- package/lib/commonjs/components/PeerRTCStatsContainer.js +5 -6
- package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -1
- package/lib/commonjs/components/PeerRTCStatsView.js +4 -5
- package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +20 -15
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js +7 -8
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +3 -4
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +7 -9
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js +4 -5
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js +4 -5
- package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +9 -7
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +9 -7
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +9 -10
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +8 -9
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +4 -5
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +19 -8
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +16 -18
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/StatusBar.js +4 -5
- package/lib/commonjs/components/StatusBar.js.map +1 -1
- package/lib/commonjs/components/StopRecordingModalContent.js +3 -4
- package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js +4 -5
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/commonjs/components/SwitchRow.js +7 -8
- package/lib/commonjs/components/SwitchRow.js.map +1 -1
- package/lib/commonjs/components/Tile.js +9 -10
- package/lib/commonjs/components/Tile.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +5 -6
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/UnmountAfterDelay.js +6 -7
- package/lib/commonjs/components/UnmountAfterDelay.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +4 -5
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/hooks-util.js +24 -34
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +1 -3
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/chatWindow.js +1 -3
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +1 -3
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/redux/reducers/message.js +1 -3
- package/lib/commonjs/redux/reducers/message.js.map +1 -1
- package/lib/commonjs/redux/reducers/userState.js +1 -3
- package/lib/commonjs/redux/reducers/userState.js.map +1 -1
- package/lib/commonjs/utils/constants.js +114 -0
- package/lib/commonjs/utils/constants.js.map +1 -0
- package/lib/commonjs/utils/theme.js +1 -2
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +1 -0
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/100ms/index.js +4 -5
- package/lib/module/Icons/100ms/index.js.map +1 -1
- package/lib/module/Icons/Alert/index.js +4 -5
- package/lib/module/Icons/Alert/index.js.map +1 -1
- package/lib/module/Icons/AlertTriangle/index.js +5 -6
- package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/module/Icons/AnswerPhone/index.js +4 -5
- package/lib/module/Icons/AnswerPhone/index.js.map +1 -1
- package/lib/module/Icons/BRB/index.js +6 -5
- package/lib/module/Icons/BRB/index.js.map +1 -1
- package/lib/module/Icons/Bluetooth/index.js +4 -5
- package/lib/module/Icons/Bluetooth/index.js.map +1 -1
- package/lib/module/Icons/Camera/index.js +5 -6
- package/lib/module/Icons/Camera/index.js.map +1 -1
- package/lib/module/Icons/Chat/index.js +4 -5
- package/lib/module/Icons/Chat/index.js.map +1 -1
- package/lib/module/Icons/Check/index.js +4 -5
- package/lib/module/Icons/Check/index.js.map +1 -1
- package/lib/module/Icons/Chevron/index.js +5 -6
- package/lib/module/Icons/Chevron/index.js.map +1 -1
- package/lib/module/Icons/Clock/index.js +4 -5
- package/lib/module/Icons/Clock/index.js.map +1 -1
- package/lib/module/Icons/Close/index.js +4 -5
- package/lib/module/Icons/Close/index.js.map +1 -1
- package/lib/module/Icons/End/index.js +4 -5
- package/lib/module/Icons/End/index.js.map +1 -1
- package/lib/module/Icons/Eye/index.js +5 -6
- package/lib/module/Icons/Eye/index.js.map +1 -1
- package/lib/module/Icons/GenericLogo/index.js +4 -5
- package/lib/module/Icons/GenericLogo/index.js.map +1 -1
- package/lib/module/Icons/Hamburger/index.js +4 -5
- package/lib/module/Icons/Hamburger/index.js.map +1 -1
- package/lib/module/Icons/Hand/index.js +7 -6
- package/lib/module/Icons/Hand/index.js.map +1 -1
- package/lib/module/Icons/Headphones/index.js +4 -5
- package/lib/module/Icons/Headphones/index.js.map +1 -1
- package/lib/module/Icons/Leave/index.js +6 -5
- package/lib/module/Icons/Leave/index.js.map +1 -1
- package/lib/module/Icons/Maximize/index.js +4 -5
- package/lib/module/Icons/Maximize/index.js.map +1 -1
- package/lib/module/Icons/Mic/index.js +7 -6
- package/lib/module/Icons/Mic/index.js.map +1 -1
- package/lib/module/Icons/Minimize/index.js +4 -5
- package/lib/module/Icons/Minimize/index.js.map +1 -1
- package/lib/module/Icons/NetworkQuality/index.js +5 -6
- package/lib/module/Icons/NetworkQuality/index.js.map +1 -1
- package/lib/module/Icons/Participants/index.js +4 -5
- package/lib/module/Icons/Participants/index.js.map +1 -1
- package/lib/module/Icons/Pencil/index.js +4 -5
- package/lib/module/Icons/Pencil/index.js.map +1 -1
- package/lib/module/Icons/Person/index.js +5 -6
- package/lib/module/Icons/Person/index.js.map +1 -1
- package/lib/module/Icons/Pin/index.js +4 -5
- package/lib/module/Icons/Pin/index.js.map +1 -1
- package/lib/module/Icons/Radio/index.js +4 -5
- package/lib/module/Icons/Radio/index.js.map +1 -1
- package/lib/module/Icons/Recording/index.js +5 -6
- package/lib/module/Icons/Recording/index.js.map +1 -1
- package/lib/module/Icons/RotateCamera/index.js +4 -5
- package/lib/module/Icons/RotateCamera/index.js.map +1 -1
- package/lib/module/Icons/ScreenShare/index.js +4 -5
- package/lib/module/Icons/ScreenShare/index.js.map +1 -1
- package/lib/module/Icons/Search/index.js +4 -5
- package/lib/module/Icons/Search/index.js.map +1 -1
- package/lib/module/Icons/Send/index.js +4 -5
- package/lib/module/Icons/Send/index.js.map +1 -1
- package/lib/module/Icons/Settings/index.js +4 -5
- package/lib/module/Icons/Settings/index.js.map +1 -1
- package/lib/module/Icons/Speaker/index.js +6 -7
- package/lib/module/Icons/Speaker/index.js.map +1 -1
- package/lib/module/Icons/Star/index.js +4 -5
- package/lib/module/Icons/Star/index.js.map +1 -1
- package/lib/module/Icons/Stop/index.js +6 -5
- package/lib/module/Icons/Stop/index.js.map +1 -1
- package/lib/module/Icons/ThreeDots/index.js +5 -6
- package/lib/module/Icons/ThreeDots/index.js.map +1 -1
- package/lib/module/Icons/Wave/index.js +4 -5
- package/lib/module/Icons/Wave/index.js.map +1 -1
- package/lib/module/Icons/WelcomeHand/index.js +4 -5
- package/lib/module/Icons/WelcomeHand/index.js.map +1 -1
- package/lib/module/components/AnimatedFooter.js +4 -5
- package/lib/module/components/AnimatedFooter.js.map +1 -1
- package/lib/module/components/AnimatedHLSFooter.js +5 -6
- package/lib/module/components/AnimatedHLSFooter.js.map +1 -1
- package/lib/module/components/AnimatedHeader.js +4 -5
- package/lib/module/components/AnimatedHeader.js.map +1 -1
- package/lib/module/components/AvatarView.js +5 -6
- package/lib/module/components/AvatarView.js.map +1 -1
- package/lib/module/components/BackButton.js +2 -0
- package/lib/module/components/BackButton.js.map +1 -1
- package/lib/module/components/BottomSheet.js +21 -18
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/ChangeNameModalContent.js +8 -4
- package/lib/module/components/ChangeNameModalContent.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js +1 -2
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterItem.js +6 -7
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterView.js +8 -11
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js +3 -4
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +8 -4
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/module/components/CompanyLogo.js +6 -5
- package/lib/module/components/CompanyLogo.js.map +1 -1
- package/lib/module/components/CustomButton.js +10 -11
- package/lib/module/components/CustomButton.js.map +1 -1
- package/lib/module/components/CustomHLSPlayerControls.js +3 -4
- package/lib/module/components/CustomHLSPlayerControls.js.map +1 -1
- package/lib/module/components/DefaultModal.js +11 -12
- package/lib/module/components/DefaultModal.js.map +1 -1
- package/lib/module/components/DisplayView.js +4 -5
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +9 -5
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/GridView.js +22 -28
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSFooter.js +3 -4
- package/lib/module/components/HLSFooter.js.map +1 -1
- package/lib/module/components/HLSPlayerStatsView.js +3 -4
- package/lib/module/components/HLSPlayerStatsView.js.map +1 -1
- package/lib/module/components/HLSView.js +5 -5
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSBaseButton.js +13 -12
- package/lib/module/components/HMSBaseButton.js.map +1 -1
- package/lib/module/components/HMSChat.js +2 -0
- package/lib/module/components/HMSChat.js.map +1 -1
- package/lib/module/components/HMSDangerButton.js +10 -9
- package/lib/module/components/HMSDangerButton.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js +3 -4
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js +6 -7
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js +5 -6
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveIndicator.js +6 -1
- package/lib/module/components/HMSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSLocalScreenshareNotification.js +3 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -1
- package/lib/module/components/HMSManageAudioOutput.js +32 -2
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSManageCameraRotation.js +2 -0
- package/lib/module/components/HMSManageCameraRotation.js.map +1 -1
- package/lib/module/components/HMSManageLeave.js +3 -1
- package/lib/module/components/HMSManageLeave.js.map +1 -1
- package/lib/module/components/HMSManageLocalAudio.js +2 -0
- package/lib/module/components/HMSManageLocalAudio.js.map +1 -1
- package/lib/module/components/HMSManageLocalVideo.js +2 -0
- package/lib/module/components/HMSManageLocalVideo.js.map +1 -1
- package/lib/module/components/HMSManageRaiseHand.js +2 -0
- package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/module/components/HMSNotification.js +14 -13
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSPreviewEditName.js +2 -0
- package/lib/module/components/HMSPreviewEditName.js.map +1 -1
- package/lib/module/components/HMSPreviewJoinButton.js +6 -5
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js +11 -4
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js +5 -4
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSPrimaryButton.js +10 -9
- package/lib/module/components/HMSPrimaryButton.js.map +1 -1
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js +6 -7
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
- package/lib/module/components/HMSRoomOptions.js +2 -0
- package/lib/module/components/HMSRoomOptions.js.map +1 -1
- package/lib/module/components/HMSSendMessageInput.js +7 -5
- package/lib/module/components/HMSSendMessageInput.js.map +1 -1
- package/lib/module/components/HMSTerminalErrorNotification.js +6 -7
- package/lib/module/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/module/components/HMSTextInput.js +8 -8
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/HMSVideoView.js +5 -6
- package/lib/module/components/HMSVideoView.js.map +1 -1
- package/lib/module/components/Header.js +4 -5
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LeaveRoomBottomSheet.js +7 -0
- package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/module/components/LocalPeerRegularVideoView.js +3 -4
- package/lib/module/components/LocalPeerRegularVideoView.js.map +1 -1
- package/lib/module/components/Meeting.js +3 -4
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +3 -4
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MenuModal/MenuDivider.js +3 -4
- package/lib/module/components/MenuModal/MenuDivider.js.map +1 -1
- package/lib/module/components/MenuModal/MenuItem.js +15 -19
- package/lib/module/components/MenuModal/MenuItem.js.map +1 -1
- package/lib/module/components/MiniView.js +4 -5
- package/lib/module/components/MiniView.js.map +1 -1
- package/lib/module/components/Modals.js +47 -60
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/OverlayContainer.js +6 -8
- package/lib/module/components/OverlayContainer.js.map +1 -1
- package/lib/module/components/PIPView.js +7 -9
- package/lib/module/components/PIPView.js.map +1 -1
- package/lib/module/components/PaginationDots.js +5 -6
- package/lib/module/components/PaginationDots.js.map +1 -1
- package/lib/module/components/Participants/MultiRoleParticipantsList.js +4 -5
- package/lib/module/components/Participants/MultiRoleParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsAccordian.js +7 -8
- package/lib/module/components/Participants/ParticipantsAccordian.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsAccordianExpanded.js +4 -5
- package/lib/module/components/Participants/ParticipantsAccordianExpanded.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupFooter.js +4 -5
- package/lib/module/components/Participants/ParticipantsGroupFooter.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js +11 -8
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItem.js +6 -5
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOption.js +7 -8
- package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOptions.js +5 -6
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsList.js +5 -6
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsListFooter.js +3 -4
- package/lib/module/components/Participants/ParticipantsListFooter.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsSeachInput.js +6 -5
- package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/module/components/PeerDisplayView.js +6 -7
- package/lib/module/components/PeerDisplayView.js.map +1 -1
- package/lib/module/components/PeerMinimizedView.js +4 -5
- package/lib/module/components/PeerMinimizedView.js.map +1 -1
- package/lib/module/components/PeerRTCStatsContainer.js +5 -6
- package/lib/module/components/PeerRTCStatsContainer.js.map +1 -1
- package/lib/module/components/PeerRTCStatsView.js +4 -5
- package/lib/module/components/PeerRTCStatsView.js.map +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +20 -15
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/AvatarView.js +7 -8
- package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +3 -4
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -1
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +7 -9
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +4 -5
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerMetadata.js +4 -5
- package/lib/module/components/PeerVideoTile/PeerMetadata.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +9 -7
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +9 -7
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js +9 -10
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PressableIcon.js +8 -9
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +4 -5
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +19 -8
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +16 -18
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/StatusBar.js +4 -5
- package/lib/module/components/StatusBar.js.map +1 -1
- package/lib/module/components/StopRecordingModalContent.js +3 -4
- package/lib/module/components/StopRecordingModalContent.js.map +1 -1
- package/lib/module/components/StreamingQualityModalContent.js +4 -5
- package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/module/components/SwitchRow.js +7 -8
- package/lib/module/components/SwitchRow.js.map +1 -1
- package/lib/module/components/Tile.js +9 -10
- package/lib/module/components/Tile.js.map +1 -1
- package/lib/module/components/TilesContainer.js +5 -6
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/UnmountAfterDelay.js +6 -7
- package/lib/module/components/UnmountAfterDelay.js.map +1 -1
- package/lib/module/components/WebrtcView.js +4 -5
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/hooks-util.js +24 -34
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +1 -3
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/chatWindow.js +1 -3
- package/lib/module/redux/reducers/chatWindow.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +1 -3
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/redux/reducers/message.js +1 -3
- package/lib/module/redux/reducers/message.js.map +1 -1
- package/lib/module/redux/reducers/userState.js +1 -3
- package/lib/module/redux/reducers/userState.js.map +1 -1
- package/lib/module/utils/constants.js +108 -0
- package/lib/module/utils/constants.js.map +1 -0
- package/lib/module/utils/theme.js +1 -2
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/BRB/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Hand/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Leave/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Mic/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
- package/lib/typescript/components/BackButton.d.ts.map +1 -1
- 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/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -1
- package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/HMSBaseButton.d.ts +2 -1
- package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSChat.d.ts.map +1 -1
- package/lib/typescript/components/HMSDangerButton.d.ts +2 -0
- package/lib/typescript/components/HMSDangerButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageCameraRotation.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLocalAudio.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLocalVideo.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts +2 -1
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewJoinButton.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/HMSPrimaryButton.d.ts +2 -0
- package/lib/typescript/components/HMSPrimaryButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
- package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -1
- package/lib/typescript/components/HMSTextInput.d.ts +2 -1
- package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
- package/lib/typescript/components/LeaveRoomBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/utils/constants.d.ts +101 -0
- package/lib/typescript/utils/constants.d.ts.map +1 -0
- package/package.json +2 -2
- package/src/HMSRoomSetup.tsx +1 -0
- package/src/Icons/BRB/index.tsx +2 -0
- package/src/Icons/Hand/index.tsx +6 -0
- package/src/Icons/Leave/index.tsx +2 -0
- package/src/Icons/Mic/index.tsx +6 -0
- package/src/Icons/Stop/index.tsx +2 -0
- package/src/components/BackButton.tsx +2 -0
- package/src/components/BottomSheet.tsx +10 -3
- package/src/components/ChangeNameModalContent.tsx +8 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +26 -2
- package/src/components/CompanyLogo.tsx +2 -0
- package/src/components/EndRoomModalContent.tsx +13 -3
- package/src/components/HMSBaseButton.tsx +4 -1
- package/src/components/HMSChat.tsx +6 -1
- package/src/components/HMSDangerButton.tsx +4 -0
- package/src/components/HMSLiveIndicator.tsx +4 -3
- package/src/components/HMSLocalScreenshareNotification.tsx +3 -0
- package/src/components/HMSManageAudioOutput.tsx +35 -3
- package/src/components/HMSManageCameraRotation.tsx +2 -0
- package/src/components/HMSManageLeave.tsx +2 -0
- package/src/components/HMSManageLocalAudio.tsx +2 -0
- package/src/components/HMSManageLocalVideo.tsx +2 -0
- package/src/components/HMSManageRaiseHand.tsx +2 -1
- package/src/components/HMSNotification.tsx +4 -2
- package/src/components/HMSPreviewEditName.tsx +2 -1
- package/src/components/HMSPreviewJoinButton.tsx +6 -0
- package/src/components/HMSPreviewSubtitle.tsx +9 -6
- package/src/components/HMSPreviewTitle.tsx +2 -1
- package/src/components/HMSPrimaryButton.tsx +4 -0
- package/src/components/HMSRoomOptions.tsx +2 -1
- package/src/components/HMSSendMessageInput.tsx +3 -0
- package/src/components/HMSTextInput.tsx +3 -0
- package/src/components/LeaveRoomBottomSheet.tsx +7 -1
- package/src/components/Participants/ParticipantsGroupHeader.tsx +12 -2
- package/src/components/Participants/ParticipantsItem.tsx +2 -1
- package/src/components/Participants/ParticipantsSeachInput.tsx +2 -0
- package/src/components/PeerSettingsModalContent.tsx +9 -1
- package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +3 -0
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +3 -0
- package/src/components/RoomSettingsModalContent.tsx +14 -0
- package/src/utils/constants.ts +146 -0
|
@@ -5,6 +5,7 @@ import { HMSTrackSource } from '@100mslive/react-native-hms';
|
|
|
5
5
|
import { hexToRgbA } from '../../utils/theme';
|
|
6
6
|
import { NetworkQualityIcon, ScreenShareIcon } from '../../Icons';
|
|
7
7
|
import { useHMSRoomStyleSheet } from '../../hooks-util';
|
|
8
|
+
import { TestIds } from '../../utils/constants';
|
|
8
9
|
|
|
9
10
|
export interface PeerNameAndNetworkProps {
|
|
10
11
|
name: string;
|
|
@@ -43,6 +44,7 @@ export const PeerNameAndNetwork: React.FC<PeerNameAndNetworkProps> = ({
|
|
|
43
44
|
) : null}
|
|
44
45
|
|
|
45
46
|
<Text
|
|
47
|
+
testID={TestIds.tile_user_name}
|
|
46
48
|
style={[styles.name, hmsRoomStyles.name]}
|
|
47
49
|
numberOfLines={1}
|
|
48
50
|
ellipsizeMode={showTrackSource ? 'middle' : 'tail'}
|
|
@@ -53,6 +55,7 @@ export const PeerNameAndNetwork: React.FC<PeerNameAndNetworkProps> = ({
|
|
|
53
55
|
</Text>
|
|
54
56
|
|
|
55
57
|
<NetworkQualityIcon
|
|
58
|
+
testID={TestIds.tile_network_icon}
|
|
56
59
|
quality={networkQuality}
|
|
57
60
|
style={styles.networkIcon}
|
|
58
61
|
/>
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
} from '../../hooks-sdk-selectors';
|
|
28
28
|
import { useHMSRoomStyleSheet } from '../../hooks-util';
|
|
29
29
|
import { HMSFullScreenButton } from './HMSFullScreenButton';
|
|
30
|
+
import { TestIds } from '../../utils/constants';
|
|
30
31
|
|
|
31
32
|
export interface PeerVideoTileViewProps {
|
|
32
33
|
peerTrackNode: PeerTrackNode;
|
|
@@ -207,6 +208,7 @@ export const _PeerVideoTileView = React.forwardRef<
|
|
|
207
208
|
onUnmount={hide}
|
|
208
209
|
>
|
|
209
210
|
<PressableIcon
|
|
211
|
+
testID={TestIds.tile_options}
|
|
210
212
|
activeOpacity={0.7}
|
|
211
213
|
style={[styles.iconWrapper, hmsRoomStyles.iconWrapperStyles]}
|
|
212
214
|
border={false}
|
|
@@ -217,6 +219,7 @@ export const _PeerVideoTileView = React.forwardRef<
|
|
|
217
219
|
</UnmountAfterDelay>
|
|
218
220
|
) : (
|
|
219
221
|
<PressableIcon
|
|
222
|
+
testID={TestIds.tile_options}
|
|
220
223
|
activeOpacity={0.7}
|
|
221
224
|
style={[styles.iconWrapper, hmsRoomStyles.iconWrapperStyles]}
|
|
222
225
|
border={false}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View, StyleSheet, Text, TouchableOpacity } from 'react-native';
|
|
3
|
+
import type { TouchableOpacityProps } from 'react-native';
|
|
3
4
|
import type { HMSAudioMixingMode } from '@100mslive/react-native-hms';
|
|
4
5
|
import { useSelector } from 'react-redux';
|
|
5
6
|
|
|
@@ -26,6 +27,7 @@ import { useCanPublishScreen, useHMSActions } from '../hooks-sdk';
|
|
|
26
27
|
import { RoomSettingsModalDebugModeContent } from './RoomSettingsModalDebugModeContent';
|
|
27
28
|
import { ParticipantsCount } from './ParticipantsCount';
|
|
28
29
|
import { selectAllowedTracksToPublish } from '../hooks-sdk-selectors';
|
|
30
|
+
import { TestIds } from '../utils/constants';
|
|
29
31
|
|
|
30
32
|
interface RoomSettingsModalContentProps {
|
|
31
33
|
newAudioMixingMode: HMSAudioMixingMode;
|
|
@@ -178,6 +180,8 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
178
180
|
<BottomSheet.Header
|
|
179
181
|
dismissModal={closeRoomSettingsModal}
|
|
180
182
|
heading="Options"
|
|
183
|
+
headingTestID={TestIds.room_modal_heading}
|
|
184
|
+
closeIconTestID={TestIds.room_modal_close_btn}
|
|
181
185
|
/>
|
|
182
186
|
|
|
183
187
|
<BottomSheet.Divider />
|
|
@@ -187,6 +191,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
187
191
|
[
|
|
188
192
|
{
|
|
189
193
|
id: 'participants',
|
|
194
|
+
testID: TestIds.room_modal_participants_btn,
|
|
190
195
|
icon: <ParticipantsIcon style={{ width: 20, height: 20 }} />,
|
|
191
196
|
label: 'Participants',
|
|
192
197
|
pressHandler: onParticipantsPress,
|
|
@@ -198,6 +203,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
198
203
|
},
|
|
199
204
|
{
|
|
200
205
|
id: 'share-screen',
|
|
206
|
+
testID: !!isLocalScreenShared ? TestIds.room_modal_stop_screen_share_btn : TestIds.room_modal_share_screen_btn,
|
|
201
207
|
icon: <ScreenShareIcon style={{ width: 20, height: 20 }} />,
|
|
202
208
|
label: isLocalScreenShared ? 'Sharing Screen' : 'Share Screen',
|
|
203
209
|
pressHandler: handleScreenShareTogglePress,
|
|
@@ -206,6 +212,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
206
212
|
},
|
|
207
213
|
{
|
|
208
214
|
id: 'brb',
|
|
215
|
+
testID: isBRBOn ? TestIds.room_modal_stop_brb_btn : TestIds.room_modal_brb_btn,
|
|
209
216
|
icon: <BRBIcon style={{ width: 20, height: 20 }} />,
|
|
210
217
|
label: isBRBOn ? "I'm Back" : 'Be Right Back',
|
|
211
218
|
pressHandler: toggleBRB,
|
|
@@ -214,6 +221,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
214
221
|
},
|
|
215
222
|
{
|
|
216
223
|
id: 'raise-hand',
|
|
224
|
+
testID: isHandRaised ? TestIds.room_modal_hand_raised_btn : TestIds.room_modal_hand_raise_btn,
|
|
217
225
|
icon: <HandIcon style={{ width: 20, height: 20 }} />,
|
|
218
226
|
label: isHandRaised ? 'Hand Raised' : 'Raise Hand',
|
|
219
227
|
pressHandler: toggleRaiseHand,
|
|
@@ -222,6 +230,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
222
230
|
},
|
|
223
231
|
{
|
|
224
232
|
id: 'start-recording',
|
|
233
|
+
testID: isRecordingOn ? TestIds.room_modal_stop_recording_btn : TestIds.room_modal_start_recording_btn,
|
|
225
234
|
icon: <RecordingIcon style={{ width: 20, height: 20 }} />,
|
|
226
235
|
label: isRecordingOn ? 'Stop Recording' : 'Start Recording',
|
|
227
236
|
pressHandler: handleRecordingTogglePress,
|
|
@@ -230,6 +239,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
230
239
|
},
|
|
231
240
|
{
|
|
232
241
|
id: 'change-name',
|
|
242
|
+
testID: TestIds.room_modal_change_name_btn,
|
|
233
243
|
icon: <PencilIcon style={{ width: 20, height: 20 }} />,
|
|
234
244
|
label: 'Change Name',
|
|
235
245
|
pressHandler: changeName,
|
|
@@ -257,6 +267,7 @@ export const RoomSettingsModalContent: React.FC<
|
|
|
257
267
|
{item ? (
|
|
258
268
|
<>
|
|
259
269
|
<SettingItem
|
|
270
|
+
testID={item.testID}
|
|
260
271
|
icon={item.icon}
|
|
261
272
|
onPress={item.pressHandler}
|
|
262
273
|
text={item.label}
|
|
@@ -285,10 +296,12 @@ type SettingItemProps = {
|
|
|
285
296
|
text: string;
|
|
286
297
|
icon: React.ReactElement;
|
|
287
298
|
onPress(): void;
|
|
299
|
+
testID?: TouchableOpacityProps['testID'];
|
|
288
300
|
isActive?: boolean;
|
|
289
301
|
};
|
|
290
302
|
|
|
291
303
|
const SettingItem: React.FC<SettingItemProps> = ({
|
|
304
|
+
testID,
|
|
292
305
|
text,
|
|
293
306
|
icon,
|
|
294
307
|
onPress,
|
|
@@ -306,6 +319,7 @@ const SettingItem: React.FC<SettingItemProps> = ({
|
|
|
306
319
|
|
|
307
320
|
return (
|
|
308
321
|
<TouchableOpacity
|
|
322
|
+
testID={testID}
|
|
309
323
|
style={[styles.button, isActive ? hmsRoomStyles.button : null]}
|
|
310
324
|
onPress={onPress}
|
|
311
325
|
>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export const TestIds = {
|
|
2
|
+
// Common
|
|
3
|
+
back_button: 'back-button',
|
|
4
|
+
company_logo: 'company-logo',
|
|
5
|
+
manage_audio_output: 'change-audio-output-button',
|
|
6
|
+
|
|
7
|
+
switch_camera: 'switch-camera-button',
|
|
8
|
+
switch_camera_disabled: 'switch-camera-disabled-button',
|
|
9
|
+
|
|
10
|
+
mic_muted_btn: 'mic-muted-button',
|
|
11
|
+
mic_unmuted_btn: 'mic-unmuted-button',
|
|
12
|
+
|
|
13
|
+
mic_muted_icon: 'mic-muted-icon',
|
|
14
|
+
mic_unmuted_icon: 'mic-unmuted-icon',
|
|
15
|
+
|
|
16
|
+
camera_muted_btn: 'camera-muted-button',
|
|
17
|
+
camera_unmuted_btn: 'camera-unmuted-button',
|
|
18
|
+
|
|
19
|
+
// Preview
|
|
20
|
+
enter_name: 'enter-name-input',
|
|
21
|
+
go_live_btn: 'go-live-button',
|
|
22
|
+
join_now_btn: 'join-now-button',
|
|
23
|
+
title: 'preview-title-text',
|
|
24
|
+
subtitle: 'preview-subtitle-text',
|
|
25
|
+
|
|
26
|
+
// Meeting - Header
|
|
27
|
+
live_text: 'live-text',
|
|
28
|
+
peer_count_icon: 'peer-count-icon',
|
|
29
|
+
peer_count: 'peer-count-text',
|
|
30
|
+
|
|
31
|
+
notification_sharing_screen: 'notification-sharing-screen-text',
|
|
32
|
+
notification_stop_screen_share_btn: 'notification-stop-screen-share-button',
|
|
33
|
+
|
|
34
|
+
// Meeting - Tile
|
|
35
|
+
brb_icon: 'brb-icon',
|
|
36
|
+
|
|
37
|
+
hand_icon: 'hand-icon',
|
|
38
|
+
hand_off_icon: 'hand-off-icon',
|
|
39
|
+
|
|
40
|
+
tile_options: 'tile-three-dots-button',
|
|
41
|
+
tile_user_name: 'tile-user-name',
|
|
42
|
+
tile_network_icon: 'tile-network-icon',
|
|
43
|
+
|
|
44
|
+
tile_modal_heading: 'tile-modal-heading',
|
|
45
|
+
tile_modal_subheading: 'tile-modal-subheading',
|
|
46
|
+
tile_modal_close_btn: 'tile-modal-close-button',
|
|
47
|
+
tile_modal_change_name_btn: 'tile-modal-change-name-button',
|
|
48
|
+
|
|
49
|
+
change_name_modal_heading: 'change-name-modal-heading',
|
|
50
|
+
change_name_input: 'change-name-input',
|
|
51
|
+
change_name_modal_close_btn: 'change-name-modal-close-button',
|
|
52
|
+
change_name_modal_cta: 'change-name-modal-cta',
|
|
53
|
+
|
|
54
|
+
// Meeting - Footer
|
|
55
|
+
footer_leave_btn: 'footer-leave-button',
|
|
56
|
+
|
|
57
|
+
leave_icon: 'leave-icon',
|
|
58
|
+
leave_description: 'leave-description',
|
|
59
|
+
leave_cta: 'leave-cta',
|
|
60
|
+
|
|
61
|
+
stop_icon: 'stop-icon',
|
|
62
|
+
|
|
63
|
+
end_session_description: 'end-session-description',
|
|
64
|
+
end_session_cta: 'end-session-cta',
|
|
65
|
+
|
|
66
|
+
end_stream_description: 'end-stream-description',
|
|
67
|
+
end_stream_cta: 'end-stream-cta',
|
|
68
|
+
|
|
69
|
+
end_confirmation_close_btn: 'end-confirmation-close-btn',
|
|
70
|
+
end_confirmation_cta: 'end-confirmation-cta',
|
|
71
|
+
end_confirmation_heading: 'end-confirmation-heading',
|
|
72
|
+
end_confirmation_description: 'end-confirmation-description',
|
|
73
|
+
|
|
74
|
+
hand_raise_btn: 'hand-raise-button',
|
|
75
|
+
hand_raised_btn: 'hand-raised-button',
|
|
76
|
+
|
|
77
|
+
open_chat_btn: 'open-chat-button',
|
|
78
|
+
close_chat_btn: 'close-chat-button',
|
|
79
|
+
enter_message_input: 'enter-message-input',
|
|
80
|
+
send_message_cta: 'send-message-cta',
|
|
81
|
+
|
|
82
|
+
room_options_btn: 'room-options-button',
|
|
83
|
+
room_modal_heading: 'room-modal-heading',
|
|
84
|
+
room_modal_close_btn: 'room-modal-close-button',
|
|
85
|
+
|
|
86
|
+
room_modal_participants_btn: 'room-modal-participants-button',
|
|
87
|
+
|
|
88
|
+
room_modal_share_screen_btn: 'room-modal-share-screen-button',
|
|
89
|
+
room_modal_stop_screen_share_btn: 'room-modal-stop-screen-share-button',
|
|
90
|
+
|
|
91
|
+
room_modal_brb_btn: 'room-modal-brb-button',
|
|
92
|
+
room_modal_stop_brb_btn: 'room-modal-stop-brb-button',
|
|
93
|
+
|
|
94
|
+
room_modal_hand_raise_btn: 'room-modal-hand-raise-button',
|
|
95
|
+
room_modal_hand_raised_btn: 'room-modal-hand-raised-button',
|
|
96
|
+
|
|
97
|
+
room_modal_start_recording_btn: 'room-modal-start-recording-button',
|
|
98
|
+
room_modal_stop_recording_btn: 'room-modal-stop-recording-button',
|
|
99
|
+
|
|
100
|
+
room_modal_change_name_btn: 'room-modal-change-name-button',
|
|
101
|
+
|
|
102
|
+
// Participants And Chat Modal
|
|
103
|
+
participants_heading: 'participants-heading',
|
|
104
|
+
participants_heading_active: 'participants-heading--active',
|
|
105
|
+
participants_heading_btn: 'participants-heading-button',
|
|
106
|
+
|
|
107
|
+
chat_heading: 'chat-heading',
|
|
108
|
+
chat_heading_active: 'chat-heading--active',
|
|
109
|
+
chat_heading_btn: 'chat-heading-button',
|
|
110
|
+
|
|
111
|
+
participants_close_btn: 'participants-close-button',
|
|
112
|
+
|
|
113
|
+
search_participant_input: 'search-participant-input',
|
|
114
|
+
|
|
115
|
+
participants_group_name: 'participants-group-name',
|
|
116
|
+
participants_group_back_btn: 'participants-group-back-button',
|
|
117
|
+
participants_group_expand_btn: 'participants-group-expand-button',
|
|
118
|
+
participants_group_collapse_btn: 'participants-group-collapse-button',
|
|
119
|
+
|
|
120
|
+
participant_name: 'participant-name',
|
|
121
|
+
|
|
122
|
+
// Audio Output Modal
|
|
123
|
+
audio_modal_heading: 'audio-modal-heading',
|
|
124
|
+
audio_modal_close_btn: 'audio-modal-close-button',
|
|
125
|
+
audio_modal_empty_text: 'audio-modal-empty-text',
|
|
126
|
+
|
|
127
|
+
automatic_audio_device_btn: 'automatic-audio-device-button',
|
|
128
|
+
automatic_audio_device_text: 'automatic-audio-device-text',
|
|
129
|
+
automatic_audio_device_active: 'automatic-audio-device--active',
|
|
130
|
+
|
|
131
|
+
phone_speaker_audio_device_btn: 'phone-speaker-audio-device-button',
|
|
132
|
+
phone_speaker_audio_device_text: 'phone-speaker-audio-device-text',
|
|
133
|
+
phone_speaker_audio_device_active: 'phone-speaker-audio-device--active',
|
|
134
|
+
|
|
135
|
+
wired_headset_audio_device_btn: 'wired-headset-audio-device-button',
|
|
136
|
+
wired_headset_audio_device_text: 'wired-headset-audio-device-text',
|
|
137
|
+
wired_headset_audio_device_active: 'wired-headset-audio-device--active',
|
|
138
|
+
|
|
139
|
+
earpiece_audio_device_btn: 'earpiece-audio-device-button',
|
|
140
|
+
earpiece_audio_device_text: 'earpiece-audio-device-text',
|
|
141
|
+
earpiece_audio_device_active: 'earpiece-audio-device--active',
|
|
142
|
+
|
|
143
|
+
bluetooth_audio_device_btn: 'bluetooth-audio-device-button',
|
|
144
|
+
bluetooth_audio_device_text: 'bluetooth-audio-device-text',
|
|
145
|
+
bluetooth_audio_device_active: 'bluetooth-audio-device--active',
|
|
146
|
+
} as const;
|