@100mslive/react-native-room-kit 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (692) hide show
  1. package/lib/commonjs/HMSContainer.js +1 -1
  2. package/lib/commonjs/HMSContainer.js.map +1 -1
  3. package/lib/commonjs/HMSInstanceSetup.js +15 -6
  4. package/lib/commonjs/HMSInstanceSetup.js.map +1 -1
  5. package/lib/commonjs/HMSPrebuilt.js +1 -1
  6. package/lib/commonjs/HMSPrebuilt.js.map +1 -1
  7. package/lib/commonjs/HMSRoomSetup.js +1 -1
  8. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  9. package/lib/commonjs/Icons/CC/assets/cc-off-med.png +0 -0
  10. package/lib/commonjs/Icons/CC/assets/cc-off-med@2x.png +0 -0
  11. package/lib/commonjs/Icons/CC/assets/cc-off-med@3x.png +0 -0
  12. package/lib/commonjs/Icons/CC/assets/cc-on-med.png +0 -0
  13. package/lib/commonjs/Icons/CC/assets/cc-on-med@2x.png +0 -0
  14. package/lib/commonjs/Icons/CC/assets/cc-on-med@3x.png +0 -0
  15. package/lib/commonjs/Icons/CC/index.js +39 -0
  16. package/lib/commonjs/Icons/CC/index.js.map +1 -0
  17. package/lib/commonjs/Icons/Close/assets/close-med.png +0 -0
  18. package/lib/commonjs/Icons/Close/assets/close-med@2x.png +0 -0
  19. package/lib/commonjs/Icons/Close/assets/close-med@3x.png +0 -0
  20. package/lib/commonjs/Icons/Close/index.js +7 -2
  21. package/lib/commonjs/Icons/Close/index.js.map +1 -1
  22. package/lib/commonjs/Icons/Maximize/assets/maximize-med.png +0 -0
  23. package/lib/commonjs/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  24. package/lib/commonjs/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  25. package/lib/commonjs/Icons/Maximize/index.js +7 -2
  26. package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
  27. package/lib/commonjs/Icons/Minimize/assets/minimize-med.png +0 -0
  28. package/lib/commonjs/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  29. package/lib/commonjs/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  30. package/lib/commonjs/Icons/Minimize/index.js +7 -2
  31. package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
  32. package/lib/commonjs/Icons/index.js +11 -0
  33. package/lib/commonjs/Icons/index.js.map +1 -1
  34. package/lib/commonjs/components/AnimatedFooter.js +1 -1
  35. package/lib/commonjs/components/AnimatedFooter.js.map +1 -1
  36. package/lib/commonjs/components/AnimatedHLSFooter.js +1 -1
  37. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -1
  38. package/lib/commonjs/components/AnimatedHeader.js +2 -12
  39. package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
  40. package/lib/commonjs/components/AvatarView.js +1 -1
  41. package/lib/commonjs/components/AvatarView.js.map +1 -1
  42. package/lib/commonjs/components/BackButton.js +1 -1
  43. package/lib/commonjs/components/BackButton.js.map +1 -1
  44. package/lib/commonjs/components/BottomSheet.js +1 -1
  45. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  46. package/lib/commonjs/components/ChangeNameModalContent.js +1 -1
  47. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  48. package/lib/commonjs/components/Chat/ChatBanner.js +2 -1
  49. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  50. package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js +1 -1
  51. package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js.map +1 -1
  52. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +11 -8
  53. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  54. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +1 -1
  55. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
  56. package/lib/commonjs/components/Chat/ChatFilterItem.js +1 -1
  57. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
  58. package/lib/commonjs/components/Chat/ChatFilterView.js +3 -2
  59. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
  60. package/lib/commonjs/components/Chat/ChatList.js +5 -3
  61. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  62. package/lib/commonjs/components/Chat/ChatMessage.js +1 -1
  63. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  64. package/lib/commonjs/components/Chat/ChatMoreActionsModal.js +1 -1
  65. package/lib/commonjs/components/Chat/ChatMoreActionsModal.js.map +1 -1
  66. package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js +1 -1
  67. package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js.map +1 -1
  68. package/lib/commonjs/components/Chat/ChatMoreActionsView.js +1 -1
  69. package/lib/commonjs/components/Chat/ChatMoreActionsView.js.map +1 -1
  70. package/lib/commonjs/components/Chat/ChatPaused.js +1 -1
  71. package/lib/commonjs/components/Chat/ChatPaused.js.map +1 -1
  72. package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js +1 -1
  73. package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js.map +1 -1
  74. package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js +1 -1
  75. package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js.map +1 -1
  76. package/lib/commonjs/components/Chat/MessageOptionsView.js +1 -1
  77. package/lib/commonjs/components/Chat/MessageOptionsView.js.map +1 -1
  78. package/lib/commonjs/components/Chat/PeerBlockedFromChat.js +1 -1
  79. package/lib/commonjs/components/Chat/PeerBlockedFromChat.js.map +1 -1
  80. package/lib/commonjs/components/Chat/PinnedMessages.js +1 -1
  81. package/lib/commonjs/components/Chat/PinnedMessages.js.map +1 -1
  82. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +1 -1
  83. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
  84. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +1 -1
  85. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
  86. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
  87. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  88. package/lib/commonjs/components/ChatAndParticipants/ChatView.js +1 -1
  89. package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -1
  90. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js +1 -1
  91. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -1
  92. package/lib/commonjs/components/CreatePoll.js +1 -1
  93. package/lib/commonjs/components/CreatePoll.js.map +1 -1
  94. package/lib/commonjs/components/DisplayView.js +2 -10
  95. package/lib/commonjs/components/DisplayView.js.map +1 -1
  96. package/lib/commonjs/components/EndRoomModal.js +1 -1
  97. package/lib/commonjs/components/EndRoomModal.js.map +1 -1
  98. package/lib/commonjs/components/EndRoomModalContent.js +1 -1
  99. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  100. package/lib/commonjs/components/Footer.js +12 -32
  101. package/lib/commonjs/components/Footer.js.map +1 -1
  102. package/lib/commonjs/components/FullScreenVideoView.js +1 -1
  103. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -1
  104. package/lib/commonjs/components/GridView.js +1 -1
  105. package/lib/commonjs/components/GridView.js.map +1 -1
  106. package/lib/commonjs/components/HLSAnimatedDescriptionPane.js +30 -0
  107. package/lib/commonjs/components/HLSAnimatedDescriptionPane.js.map +1 -0
  108. package/lib/commonjs/components/HLSChatFooterView.js +51 -0
  109. package/lib/commonjs/components/HLSChatFooterView.js.map +1 -0
  110. package/lib/commonjs/components/HLSChatHeaderView.js +130 -0
  111. package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -0
  112. package/lib/commonjs/components/HLSChatMessages.js +55 -0
  113. package/lib/commonjs/components/HLSChatMessages.js.map +1 -0
  114. package/lib/commonjs/components/HLSChatView.js +49 -0
  115. package/lib/commonjs/components/HLSChatView.js.map +1 -0
  116. package/lib/commonjs/components/HLSDescriptionPane.js +145 -0
  117. package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -0
  118. package/lib/commonjs/components/HLSDescriptionPaneHeader.js +70 -0
  119. package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -0
  120. package/lib/commonjs/components/HLSFooter.js +2 -2
  121. package/lib/commonjs/components/HLSFooter.js.map +1 -1
  122. package/lib/commonjs/components/HLSHandRaiseButton.js +38 -0
  123. package/lib/commonjs/components/HLSHandRaiseButton.js.map +1 -0
  124. package/lib/commonjs/components/HLSManageChatTextInput.js +90 -0
  125. package/lib/commonjs/components/HLSManageChatTextInput.js.map +1 -0
  126. package/lib/commonjs/components/HLSNotifications.js +32 -0
  127. package/lib/commonjs/components/HLSNotifications.js.map +1 -0
  128. package/lib/commonjs/components/{HLSView.js → HLSPlayer.js} +35 -38
  129. package/lib/commonjs/components/HLSPlayer.js.map +1 -0
  130. package/lib/commonjs/components/HLSPlayerContainer.js +64 -0
  131. package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -0
  132. package/lib/commonjs/components/HLSPlayerControls.js +87 -0
  133. package/lib/commonjs/components/HLSPlayerControls.js.map +1 -0
  134. package/lib/commonjs/components/HLSRecordingStatusText.js +31 -0
  135. package/lib/commonjs/components/HLSRecordingStatusText.js.map +1 -0
  136. package/lib/commonjs/components/HLSRoomOptionsButton.js +25 -0
  137. package/lib/commonjs/components/HLSRoomOptionsButton.js.map +1 -0
  138. package/lib/commonjs/components/HLSStreamStartedTime.js +69 -0
  139. package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -0
  140. package/lib/commonjs/components/HLSViewerScreenContent.js +61 -0
  141. package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -0
  142. package/lib/commonjs/components/HMSBaseButton.js +1 -1
  143. package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
  144. package/lib/commonjs/components/HMSChat.js +1 -1
  145. package/lib/commonjs/components/HMSChat.js.map +1 -1
  146. package/lib/commonjs/components/HMSDangerButton.js +1 -1
  147. package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
  148. package/lib/commonjs/components/HMSHLSMessage.js +1 -1
  149. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
  150. package/lib/commonjs/components/HMSHLSMessageList.js +1 -1
  151. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
  152. package/lib/commonjs/components/HMSHLSNotStarted.js +16 -8
  153. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  154. package/lib/commonjs/components/HMSHLSStreamLoading.js +1 -1
  155. package/lib/commonjs/components/HMSHLSStreamLoading.js.map +1 -1
  156. package/lib/commonjs/components/HMSHandRaiseNotification.js +1 -1
  157. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -1
  158. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js +1 -1
  159. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js.map +1 -1
  160. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +6 -2
  161. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
  162. package/lib/commonjs/components/HMSLiveIndicator.js +1 -1
  163. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
  164. package/lib/commonjs/components/HMSLiveViewerCount.js +3 -5
  165. package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
  166. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +1 -1
  167. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -1
  168. package/lib/commonjs/components/HMSLocalVideoView.js +1 -1
  169. package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
  170. package/lib/commonjs/components/HMSManageAudioOutput.js +1 -1
  171. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  172. package/lib/commonjs/components/HMSManageCameraRotation.js +1 -1
  173. package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -1
  174. package/lib/commonjs/components/HMSManageLeave.js +1 -1
  175. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  176. package/lib/commonjs/components/HMSManageLocalAudio.js +1 -1
  177. package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -1
  178. package/lib/commonjs/components/HMSManageLocalVideo.js +1 -1
  179. package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -1
  180. package/lib/commonjs/components/HMSManageNoiseCancellation.js +36 -0
  181. package/lib/commonjs/components/HMSManageNoiseCancellation.js.map +1 -0
  182. package/lib/commonjs/components/HMSManageRaiseHand.js +1 -1
  183. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
  184. package/lib/commonjs/components/HMSMeetingEnded.js +1 -1
  185. package/lib/commonjs/components/HMSMeetingEnded.js.map +1 -1
  186. package/lib/commonjs/components/HMSNotification.js +4 -3
  187. package/lib/commonjs/components/HMSNotification.js.map +1 -1
  188. package/lib/commonjs/components/HMSNotifications.js +4 -2
  189. package/lib/commonjs/components/HMSNotifications.js.map +1 -1
  190. package/lib/commonjs/components/HMSOverlayChatView.js +8 -5
  191. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
  192. package/lib/commonjs/components/HMSPollsQuizzesNotification.js +1 -1
  193. package/lib/commonjs/components/HMSPollsQuizzesNotification.js.map +1 -1
  194. package/lib/commonjs/components/HMSPreviewEditName.js +1 -1
  195. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
  196. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +1 -1
  197. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  198. package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -1
  199. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  200. package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
  201. package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
  202. package/lib/commonjs/components/HMSPreviewPeersList.js +1 -1
  203. package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
  204. package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -1
  205. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  206. package/lib/commonjs/components/HMSPreviewTile.js +1 -1
  207. package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
  208. package/lib/commonjs/components/HMSPreviewTitle.js +1 -1
  209. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  210. package/lib/commonjs/components/HMSPrimaryButton.js +1 -1
  211. package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
  212. package/lib/commonjs/components/HMSReconnectingNotification.js +1 -1
  213. package/lib/commonjs/components/HMSReconnectingNotification.js.map +1 -1
  214. package/lib/commonjs/components/HMSRecordingIndicator.js +1 -1
  215. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  216. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +1 -1
  217. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
  218. package/lib/commonjs/components/HMSRoomOptions.js +1 -1
  219. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
  220. package/lib/commonjs/components/HMSSecondaryButton.js +1 -1
  221. package/lib/commonjs/components/HMSSecondaryButton.js.map +1 -1
  222. package/lib/commonjs/components/HMSSendMessageInput.js +1 -1
  223. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -1
  224. package/lib/commonjs/components/HMSTerminalErrorNotification.js +1 -1
  225. package/lib/commonjs/components/HMSTerminalErrorNotification.js.map +1 -1
  226. package/lib/commonjs/components/HMSTextInput.js +1 -1
  227. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  228. package/lib/commonjs/components/HMSVideoView.js +1 -1
  229. package/lib/commonjs/components/HMSVideoView.js.map +1 -1
  230. package/lib/commonjs/components/Header.js +1 -1
  231. package/lib/commonjs/components/Header.js.map +1 -1
  232. package/lib/commonjs/components/LeaderboardEntry.js +1 -1
  233. package/lib/commonjs/components/LeaderboardEntry.js.map +1 -1
  234. package/lib/commonjs/components/LeaveRoomBottomSheet.js +1 -1
  235. package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
  236. package/lib/commonjs/components/LocalPeerRegularVideoView.js +1 -1
  237. package/lib/commonjs/components/LocalPeerRegularVideoView.js.map +1 -1
  238. package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -1
  239. package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
  240. package/lib/commonjs/components/Meeting.js +4 -2
  241. package/lib/commonjs/components/Meeting.js.map +1 -1
  242. package/lib/commonjs/components/MeetingScreenContent.js +3 -10
  243. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  244. package/lib/commonjs/components/MiniView.js +1 -1
  245. package/lib/commonjs/components/MiniView.js.map +1 -1
  246. package/lib/commonjs/components/Modals.js +1 -1
  247. package/lib/commonjs/components/Modals.js.map +1 -1
  248. package/lib/commonjs/components/OverlayContainer.js +1 -1
  249. package/lib/commonjs/components/OverlayContainer.js.map +1 -1
  250. package/lib/commonjs/components/OverlayedViews.js +2 -2
  251. package/lib/commonjs/components/OverlayedViews.js.map +1 -1
  252. package/lib/commonjs/components/PIPView.js +1 -1
  253. package/lib/commonjs/components/PIPView.js.map +1 -1
  254. package/lib/commonjs/components/PaginationDots.js +1 -1
  255. package/lib/commonjs/components/PaginationDots.js.map +1 -1
  256. package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js +1 -1
  257. package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js.map +1 -1
  258. package/lib/commonjs/components/Participants/ParticipantsAccordian.js +1 -1
  259. package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -1
  260. package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js +1 -1
  261. package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js.map +1 -1
  262. package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js +1 -1
  263. package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -1
  264. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +1 -1
  265. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
  266. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +1 -1
  267. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -1
  268. package/lib/commonjs/components/Participants/ParticipantsItem.js +12 -3
  269. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
  270. package/lib/commonjs/components/Participants/ParticipantsItemOption.js +1 -1
  271. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -1
  272. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +6 -5
  273. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
  274. package/lib/commonjs/components/Participants/ParticipantsList.js +1 -1
  275. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  276. package/lib/commonjs/components/Participants/ParticipantsListFooter.js +1 -1
  277. package/lib/commonjs/components/Participants/ParticipantsListFooter.js.map +1 -1
  278. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +1 -1
  279. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  280. package/lib/commonjs/components/ParticipantsCount.js +1 -1
  281. package/lib/commonjs/components/ParticipantsCount.js.map +1 -1
  282. package/lib/commonjs/components/PeerMinimizedView.js +1 -1
  283. package/lib/commonjs/components/PeerMinimizedView.js.map +1 -1
  284. package/lib/commonjs/components/PeerRTCStatsContainer.js +1 -1
  285. package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -1
  286. package/lib/commonjs/components/PeerSettingsModalContent.js +3 -2
  287. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  288. package/lib/commonjs/components/PeerVideoTile/AvatarView.js +1 -1
  289. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  290. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +1 -1
  291. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -1
  292. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +1 -1
  293. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -1
  294. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js +1 -1
  295. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -1
  296. package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js +1 -1
  297. package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js.map +1 -1
  298. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +12 -3
  299. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  300. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -1
  301. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  302. package/lib/commonjs/components/PeerVideoTile/VideoView.js +1 -1
  303. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  304. package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js +1 -1
  305. package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js.map +1 -1
  306. package/lib/commonjs/components/PollAndQuizQuestionResponseCards.js +1 -1
  307. package/lib/commonjs/components/PollAndQuizQuestionResponseCards.js.map +1 -1
  308. package/lib/commonjs/components/PollAndQuizSheetScreen.js +1 -1
  309. package/lib/commonjs/components/PollAndQuizSheetScreen.js.map +1 -1
  310. package/lib/commonjs/components/PollAndQuizVoting.js +12 -4
  311. package/lib/commonjs/components/PollAndQuizVoting.js.map +1 -1
  312. package/lib/commonjs/components/PollAndQuizzStateLabel.js +1 -1
  313. package/lib/commonjs/components/PollAndQuizzStateLabel.js.map +1 -1
  314. package/lib/commonjs/components/PollQDeleteConfirmationSheetView.js +1 -1
  315. package/lib/commonjs/components/PollQDeleteConfirmationSheetView.js.map +1 -1
  316. package/lib/commonjs/components/PollQuestion.js +1 -1
  317. package/lib/commonjs/components/PollQuestion.js.map +1 -1
  318. package/lib/commonjs/components/PollQuestionDeleteConfirmation.js +1 -1
  319. package/lib/commonjs/components/PollQuestionDeleteConfirmation.js.map +1 -1
  320. package/lib/commonjs/components/PollQuestions.js +1 -1
  321. package/lib/commonjs/components/PollQuestions.js.map +1 -1
  322. package/lib/commonjs/components/PollResponseProgressView.js +1 -1
  323. package/lib/commonjs/components/PollResponseProgressView.js.map +1 -1
  324. package/lib/commonjs/components/PollsAndQuizBottomSheet.js +1 -1
  325. package/lib/commonjs/components/PollsAndQuizBottomSheet.js.map +1 -1
  326. package/lib/commonjs/components/PollsAndQuizzesCard.js +1 -1
  327. package/lib/commonjs/components/PollsAndQuizzesCard.js.map +1 -1
  328. package/lib/commonjs/components/PollsAndQuizzesModalContent.js +1 -1
  329. package/lib/commonjs/components/PollsAndQuizzesModalContent.js.map +1 -1
  330. package/lib/commonjs/components/PollsConfigAndList.js +1 -1
  331. package/lib/commonjs/components/PollsConfigAndList.js.map +1 -1
  332. package/lib/commonjs/components/PressableIcon.js +2 -3
  333. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  334. package/lib/commonjs/components/Preview.js +26 -5
  335. package/lib/commonjs/components/Preview.js.map +1 -1
  336. package/lib/commonjs/components/PreviewForRoleChangeModal.js +1 -1
  337. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -1
  338. package/lib/commonjs/components/PreviousPollsAndQuizzesList.js +1 -1
  339. package/lib/commonjs/components/PreviousPollsAndQuizzesList.js.map +1 -1
  340. package/lib/commonjs/components/QuizEndOptionsView.js +1 -1
  341. package/lib/commonjs/components/QuizEndOptionsView.js.map +1 -1
  342. package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js +1 -1
  343. package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js.map +1 -1
  344. package/lib/commonjs/components/QuizLeaderboardScreen.js +1 -1
  345. package/lib/commonjs/components/QuizLeaderboardScreen.js.map +1 -1
  346. package/lib/commonjs/components/QuizLeaderboardSummary.js +1 -1
  347. package/lib/commonjs/components/QuizLeaderboardSummary.js.map +1 -1
  348. package/lib/commonjs/components/ReconnectionView.js +1 -1
  349. package/lib/commonjs/components/ReconnectionView.js.map +1 -1
  350. package/lib/commonjs/components/RoomSettingsModalContent.js +67 -2
  351. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  352. package/lib/commonjs/components/StatusBar.js +1 -1
  353. package/lib/commonjs/components/StatusBar.js.map +1 -1
  354. package/lib/commonjs/components/StopRecordingModalContent.js +1 -1
  355. package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
  356. package/lib/commonjs/components/StreamingQualityModalContent.js +1 -1
  357. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
  358. package/lib/commonjs/components/UnmountAfterDelay.js +1 -1
  359. package/lib/commonjs/components/UnmountAfterDelay.js.map +1 -1
  360. package/lib/commonjs/components/VoterParticipationSummary.js +1 -1
  361. package/lib/commonjs/components/VoterParticipationSummary.js.map +1 -1
  362. package/lib/commonjs/components/WebrtcView.js +1 -1
  363. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  364. package/lib/commonjs/components/WelcomeInMeeting.js +1 -1
  365. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  366. package/lib/commonjs/components/styles.js +4 -0
  367. package/lib/commonjs/components/styles.js.map +1 -1
  368. package/lib/commonjs/hooks-util.js +128 -5
  369. package/lib/commonjs/hooks-util.js.map +1 -1
  370. package/lib/commonjs/redux/actionTypes.js +5 -0
  371. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  372. package/lib/commonjs/redux/actions/index.js +23 -4
  373. package/lib/commonjs/redux/actions/index.js.map +1 -1
  374. package/lib/commonjs/redux/reducers/appState.js +18 -2
  375. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  376. package/lib/commonjs/redux/reducers/hmsStates.js +7 -1
  377. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
  378. package/lib/commonjs/redux/reducers/message.js +1 -1
  379. package/lib/commonjs/redux/reducers/message.js.map +1 -1
  380. package/lib/commonjs/redux/reducers/userState.js +1 -1
  381. package/lib/commonjs/redux/reducers/userState.js.map +1 -1
  382. package/lib/commonjs/utils/functions.js +1 -0
  383. package/lib/commonjs/utils/functions.js.map +1 -1
  384. package/lib/commonjs/utils/hooks.js +12 -18
  385. package/lib/commonjs/utils/hooks.js.map +1 -1
  386. package/lib/module/HMSInstanceSetup.js +16 -7
  387. package/lib/module/HMSInstanceSetup.js.map +1 -1
  388. package/lib/module/Icons/CC/assets/cc-off-med.png +0 -0
  389. package/lib/module/Icons/CC/assets/cc-off-med@2x.png +0 -0
  390. package/lib/module/Icons/CC/assets/cc-off-med@3x.png +0 -0
  391. package/lib/module/Icons/CC/assets/cc-on-med.png +0 -0
  392. package/lib/module/Icons/CC/assets/cc-on-med@2x.png +0 -0
  393. package/lib/module/Icons/CC/assets/cc-on-med@3x.png +0 -0
  394. package/lib/module/Icons/CC/index.js +31 -0
  395. package/lib/module/Icons/CC/index.js.map +1 -0
  396. package/lib/module/Icons/Close/assets/close-med.png +0 -0
  397. package/lib/module/Icons/Close/assets/close-med@2x.png +0 -0
  398. package/lib/module/Icons/Close/assets/close-med@3x.png +0 -0
  399. package/lib/module/Icons/Close/index.js +7 -2
  400. package/lib/module/Icons/Close/index.js.map +1 -1
  401. package/lib/module/Icons/Maximize/assets/maximize-med.png +0 -0
  402. package/lib/module/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  403. package/lib/module/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  404. package/lib/module/Icons/Maximize/index.js +7 -2
  405. package/lib/module/Icons/Maximize/index.js.map +1 -1
  406. package/lib/module/Icons/Minimize/assets/minimize-med.png +0 -0
  407. package/lib/module/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  408. package/lib/module/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  409. package/lib/module/Icons/Minimize/index.js +7 -2
  410. package/lib/module/Icons/Minimize/index.js.map +1 -1
  411. package/lib/module/Icons/index.js +1 -0
  412. package/lib/module/Icons/index.js.map +1 -1
  413. package/lib/module/components/AnimatedHeader.js +1 -11
  414. package/lib/module/components/AnimatedHeader.js.map +1 -1
  415. package/lib/module/components/Chat/ChatBanner.js +1 -0
  416. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  417. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
  418. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  419. package/lib/module/components/Chat/ChatFilterView.js +2 -1
  420. package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
  421. package/lib/module/components/Chat/ChatList.js +4 -2
  422. package/lib/module/components/Chat/ChatList.js.map +1 -1
  423. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
  424. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  425. package/lib/module/components/DisplayView.js +3 -11
  426. package/lib/module/components/DisplayView.js.map +1 -1
  427. package/lib/module/components/Footer.js +12 -32
  428. package/lib/module/components/Footer.js.map +1 -1
  429. package/lib/module/components/HLSAnimatedDescriptionPane.js +21 -0
  430. package/lib/module/components/HLSAnimatedDescriptionPane.js.map +1 -0
  431. package/lib/module/components/HLSChatFooterView.js +42 -0
  432. package/lib/module/components/HLSChatFooterView.js.map +1 -0
  433. package/lib/module/components/HLSChatHeaderView.js +121 -0
  434. package/lib/module/components/HLSChatHeaderView.js.map +1 -0
  435. package/lib/module/components/HLSChatMessages.js +46 -0
  436. package/lib/module/components/HLSChatMessages.js.map +1 -0
  437. package/lib/module/components/HLSChatView.js +40 -0
  438. package/lib/module/components/HLSChatView.js.map +1 -0
  439. package/lib/module/components/HLSDescriptionPane.js +136 -0
  440. package/lib/module/components/HLSDescriptionPane.js.map +1 -0
  441. package/lib/module/components/HLSDescriptionPaneHeader.js +61 -0
  442. package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -0
  443. package/lib/module/components/HLSFooter.js +2 -2
  444. package/lib/module/components/HLSFooter.js.map +1 -1
  445. package/lib/module/components/HLSHandRaiseButton.js +29 -0
  446. package/lib/module/components/HLSHandRaiseButton.js.map +1 -0
  447. package/lib/module/components/HLSManageChatTextInput.js +81 -0
  448. package/lib/module/components/HLSManageChatTextInput.js.map +1 -0
  449. package/lib/module/components/HLSNotifications.js +24 -0
  450. package/lib/module/components/HLSNotifications.js.map +1 -0
  451. package/lib/module/components/{HLSView.js → HLSPlayer.js} +35 -38
  452. package/lib/module/components/HLSPlayer.js.map +1 -0
  453. package/lib/module/components/HLSPlayerContainer.js +56 -0
  454. package/lib/module/components/HLSPlayerContainer.js.map +1 -0
  455. package/lib/module/components/HLSPlayerControls.js +81 -0
  456. package/lib/module/components/HLSPlayerControls.js.map +1 -0
  457. package/lib/module/components/HLSRecordingStatusText.js +22 -0
  458. package/lib/module/components/HLSRecordingStatusText.js.map +1 -0
  459. package/lib/module/components/HLSRoomOptionsButton.js +16 -0
  460. package/lib/module/components/HLSRoomOptionsButton.js.map +1 -0
  461. package/lib/module/components/HLSStreamStartedTime.js +60 -0
  462. package/lib/module/components/HLSStreamStartedTime.js.map +1 -0
  463. package/lib/module/components/HLSViewerScreenContent.js +53 -0
  464. package/lib/module/components/HLSViewerScreenContent.js.map +1 -0
  465. package/lib/module/components/HMSHLSNotStarted.js +15 -7
  466. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  467. package/lib/module/components/HMSKeyboardAvoidingView.js +5 -1
  468. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
  469. package/lib/module/components/HMSLiveViewerCount.js +3 -5
  470. package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
  471. package/lib/module/components/HMSManageNoiseCancellation.js +28 -0
  472. package/lib/module/components/HMSManageNoiseCancellation.js.map +1 -0
  473. package/lib/module/components/HMSNotification.js +4 -3
  474. package/lib/module/components/HMSNotification.js.map +1 -1
  475. package/lib/module/components/HMSNotifications.js +3 -1
  476. package/lib/module/components/HMSNotifications.js.map +1 -1
  477. package/lib/module/components/HMSOverlayChatView.js +5 -2
  478. package/lib/module/components/HMSOverlayChatView.js.map +1 -1
  479. package/lib/module/components/Meeting.js +4 -2
  480. package/lib/module/components/Meeting.js.map +1 -1
  481. package/lib/module/components/MeetingScreenContent.js +3 -10
  482. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  483. package/lib/module/components/OverlayedViews.js +2 -2
  484. package/lib/module/components/OverlayedViews.js.map +1 -1
  485. package/lib/module/components/Participants/ParticipantsItem.js +12 -3
  486. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
  487. package/lib/module/components/Participants/ParticipantsItemOptions.js +5 -4
  488. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
  489. package/lib/module/components/PeerSettingsModalContent.js +4 -3
  490. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  491. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +12 -3
  492. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  493. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -1
  494. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  495. package/lib/module/components/PollAndQuizVoting.js +11 -3
  496. package/lib/module/components/PollAndQuizVoting.js.map +1 -1
  497. package/lib/module/components/PressableIcon.js +1 -2
  498. package/lib/module/components/PressableIcon.js.map +1 -1
  499. package/lib/module/components/Preview.js +26 -5
  500. package/lib/module/components/Preview.js.map +1 -1
  501. package/lib/module/components/RoomSettingsModalContent.js +69 -4
  502. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  503. package/lib/module/components/styles.js +4 -0
  504. package/lib/module/components/styles.js.map +1 -1
  505. package/lib/module/hooks-util.js +125 -5
  506. package/lib/module/hooks-util.js.map +1 -1
  507. package/lib/module/redux/actionTypes.js +5 -0
  508. package/lib/module/redux/actionTypes.js.map +1 -1
  509. package/lib/module/redux/actions/index.js +16 -0
  510. package/lib/module/redux/actions/index.js.map +1 -1
  511. package/lib/module/redux/reducers/appState.js +17 -1
  512. package/lib/module/redux/reducers/appState.js.map +1 -1
  513. package/lib/module/redux/reducers/hmsStates.js +7 -1
  514. package/lib/module/redux/reducers/hmsStates.js.map +1 -1
  515. package/lib/module/utils/functions.js +1 -0
  516. package/lib/module/utils/functions.js.map +1 -1
  517. package/lib/module/utils/hooks.js +12 -18
  518. package/lib/module/utils/hooks.js.map +1 -1
  519. package/lib/typescript/HMSInstanceSetup.d.ts.map +1 -1
  520. package/lib/typescript/Icons/CC/index.d.ts +9 -0
  521. package/lib/typescript/Icons/CC/index.d.ts.map +1 -0
  522. package/lib/typescript/Icons/Close/index.d.ts +1 -0
  523. package/lib/typescript/Icons/Close/index.d.ts.map +1 -1
  524. package/lib/typescript/Icons/Maximize/index.d.ts +1 -0
  525. package/lib/typescript/Icons/Maximize/index.d.ts.map +1 -1
  526. package/lib/typescript/Icons/Minimize/index.d.ts +1 -0
  527. package/lib/typescript/Icons/Minimize/index.d.ts.map +1 -1
  528. package/lib/typescript/Icons/index.d.ts +1 -0
  529. package/lib/typescript/Icons/index.d.ts.map +1 -1
  530. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
  531. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +4 -1
  532. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
  533. package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -1
  534. package/lib/typescript/components/Chat/ChatList.d.ts +4 -1
  535. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  536. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
  537. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  538. package/lib/typescript/components/Footer.d.ts.map +1 -1
  539. package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts +10 -0
  540. package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts.map +1 -0
  541. package/lib/typescript/components/HLSChatFooterView.d.ts +3 -0
  542. package/lib/typescript/components/HLSChatFooterView.d.ts.map +1 -0
  543. package/lib/typescript/components/HLSChatHeaderView.d.ts +7 -0
  544. package/lib/typescript/components/HLSChatHeaderView.d.ts.map +1 -0
  545. package/lib/typescript/components/HLSChatMessages.d.ts +3 -0
  546. package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -0
  547. package/lib/typescript/components/HLSChatView.d.ts +3 -0
  548. package/lib/typescript/components/HLSChatView.d.ts.map +1 -0
  549. package/lib/typescript/components/HLSDescriptionPane.d.ts +6 -0
  550. package/lib/typescript/components/HLSDescriptionPane.d.ts.map +1 -0
  551. package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts +9 -0
  552. package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts.map +1 -0
  553. package/lib/typescript/components/HLSHandRaiseButton.d.ts +3 -0
  554. package/lib/typescript/components/HLSHandRaiseButton.d.ts.map +1 -0
  555. package/lib/typescript/components/HLSManageChatTextInput.d.ts +3 -0
  556. package/lib/typescript/components/HLSManageChatTextInput.d.ts.map +1 -0
  557. package/lib/typescript/components/HLSNotifications.d.ts +3 -0
  558. package/lib/typescript/components/HLSNotifications.d.ts.map +1 -0
  559. package/lib/typescript/components/HLSPlayer.d.ts +4 -0
  560. package/lib/typescript/components/HLSPlayer.d.ts.map +1 -0
  561. package/lib/typescript/components/HLSPlayerContainer.d.ts +4 -0
  562. package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -0
  563. package/lib/typescript/components/HLSPlayerControls.d.ts +4 -0
  564. package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -0
  565. package/lib/typescript/components/HLSRecordingStatusText.d.ts +9 -0
  566. package/lib/typescript/components/HLSRecordingStatusText.d.ts.map +1 -0
  567. package/lib/typescript/components/HLSRoomOptionsButton.d.ts +3 -0
  568. package/lib/typescript/components/HLSRoomOptionsButton.d.ts.map +1 -0
  569. package/lib/typescript/components/HLSStreamStartedTime.d.ts +6 -0
  570. package/lib/typescript/components/HLSStreamStartedTime.d.ts.map +1 -0
  571. package/lib/typescript/components/HLSViewerScreenContent.d.ts +6 -0
  572. package/lib/typescript/components/HLSViewerScreenContent.d.ts.map +1 -0
  573. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  574. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -0
  575. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
  576. package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
  577. package/lib/typescript/components/HMSManageNoiseCancellation.d.ts +3 -0
  578. package/lib/typescript/components/HMSManageNoiseCancellation.d.ts.map +1 -0
  579. package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
  580. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
  581. package/lib/typescript/components/HMSOverlayChatView.d.ts +2 -2
  582. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
  583. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  584. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  585. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -1
  586. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -1
  587. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  588. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts +1 -0
  589. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  590. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  591. package/lib/typescript/components/PollAndQuizVoting.d.ts.map +1 -1
  592. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  593. package/lib/typescript/components/Preview.d.ts.map +1 -1
  594. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  595. package/lib/typescript/components/styles.d.ts +4 -0
  596. package/lib/typescript/components/styles.d.ts.map +1 -1
  597. package/lib/typescript/hooks-util.d.ts +20 -1
  598. package/lib/typescript/hooks-util.d.ts.map +1 -1
  599. package/lib/typescript/redux/actionTypes.d.ts +3 -0
  600. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  601. package/lib/typescript/redux/actions/index.d.ts +17 -1
  602. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  603. package/lib/typescript/redux/index.d.ts +3 -0
  604. package/lib/typescript/redux/index.d.ts.map +1 -1
  605. package/lib/typescript/redux/reducers/appState.d.ts +2 -0
  606. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  607. package/lib/typescript/redux/reducers/hmsStates.d.ts +7 -2
  608. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
  609. package/lib/typescript/redux/reducers/index.d.ts +3 -0
  610. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  611. package/lib/typescript/utils/functions.d.ts +1 -0
  612. package/lib/typescript/utils/functions.d.ts.map +1 -1
  613. package/lib/typescript/utils/hooks.d.ts.map +1 -1
  614. package/package.json +66 -5
  615. package/src/HMSInstanceSetup.tsx +26 -5
  616. package/src/Icons/CC/assets/cc-off-med.png +0 -0
  617. package/src/Icons/CC/assets/cc-off-med@2x.png +0 -0
  618. package/src/Icons/CC/assets/cc-off-med@3x.png +0 -0
  619. package/src/Icons/CC/assets/cc-on-med.png +0 -0
  620. package/src/Icons/CC/assets/cc-on-med@2x.png +0 -0
  621. package/src/Icons/CC/assets/cc-on-med@3x.png +0 -0
  622. package/src/Icons/CC/index.tsx +51 -0
  623. package/src/Icons/Close/assets/close-med.png +0 -0
  624. package/src/Icons/Close/assets/close-med@2x.png +0 -0
  625. package/src/Icons/Close/assets/close-med@3x.png +0 -0
  626. package/src/Icons/Close/index.tsx +19 -3
  627. package/src/Icons/Maximize/assets/maximize-med.png +0 -0
  628. package/src/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  629. package/src/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  630. package/src/Icons/Maximize/index.tsx +19 -3
  631. package/src/Icons/Minimize/assets/minimize-med.png +0 -0
  632. package/src/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  633. package/src/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  634. package/src/Icons/Minimize/index.tsx +19 -3
  635. package/src/Icons/index.ts +1 -0
  636. package/src/components/AnimatedHeader.tsx +1 -9
  637. package/src/components/Chat/ChatBanner.tsx +1 -0
  638. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +16 -8
  639. package/src/components/Chat/ChatFilterView.tsx +6 -2
  640. package/src/components/Chat/ChatList.tsx +4 -1
  641. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +6 -1
  642. package/src/components/DisplayView.tsx +9 -23
  643. package/src/components/Footer.tsx +11 -54
  644. package/src/components/HLSAnimatedDescriptionPane.tsx +36 -0
  645. package/src/components/HLSChatFooterView.tsx +53 -0
  646. package/src/components/HLSChatHeaderView.tsx +165 -0
  647. package/src/components/HLSChatMessages.tsx +62 -0
  648. package/src/components/HLSChatView.tsx +55 -0
  649. package/src/components/HLSDescriptionPane.tsx +168 -0
  650. package/src/components/HLSDescriptionPaneHeader.tsx +78 -0
  651. package/src/components/HLSFooter.tsx +2 -2
  652. package/src/components/HLSHandRaiseButton.tsx +41 -0
  653. package/src/components/HLSManageChatTextInput.tsx +98 -0
  654. package/src/components/HLSNotifications.tsx +33 -0
  655. package/src/components/{HLSView.tsx → HLSPlayer.tsx} +80 -77
  656. package/src/components/HLSPlayerContainer.tsx +67 -0
  657. package/src/components/HLSPlayerControls.tsx +101 -0
  658. package/src/components/HLSRecordingStatusText.tsx +50 -0
  659. package/src/components/HLSRoomOptionsButton.tsx +19 -0
  660. package/src/components/HLSStreamStartedTime.tsx +79 -0
  661. package/src/components/HLSViewerScreenContent.tsx +96 -0
  662. package/src/components/HMSHLSNotStarted.tsx +18 -7
  663. package/src/components/HMSKeyboardAvoidingView.tsx +16 -6
  664. package/src/components/HMSLiveViewerCount.tsx +2 -8
  665. package/src/components/HMSManageNoiseCancellation.tsx +41 -0
  666. package/src/components/HMSNotification.tsx +20 -14
  667. package/src/components/HMSNotifications.tsx +3 -1
  668. package/src/components/HMSOverlayChatView.tsx +10 -3
  669. package/src/components/Meeting.tsx +9 -1
  670. package/src/components/MeetingScreenContent.tsx +3 -7
  671. package/src/components/OverlayedViews.tsx +2 -2
  672. package/src/components/Participants/ParticipantsItem.tsx +29 -3
  673. package/src/components/Participants/ParticipantsItemOptions.tsx +9 -4
  674. package/src/components/PeerSettingsModalContent.tsx +14 -10
  675. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +25 -9
  676. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -0
  677. package/src/components/PollAndQuizVoting.tsx +13 -1
  678. package/src/components/PressableIcon.tsx +1 -3
  679. package/src/components/Preview.tsx +42 -3
  680. package/src/components/RoomSettingsModalContent.tsx +85 -1
  681. package/src/components/styles.ts +4 -0
  682. package/src/hooks-util.ts +185 -6
  683. package/src/redux/actionTypes.ts +7 -0
  684. package/src/redux/actions/index.ts +18 -0
  685. package/src/redux/reducers/appState.ts +16 -0
  686. package/src/redux/reducers/hmsStates.ts +15 -1
  687. package/src/utils/functions.ts +1 -0
  688. package/src/utils/hooks.ts +12 -12
  689. package/lib/commonjs/components/HLSView.js.map +0 -1
  690. package/lib/module/components/HLSView.js.map +0 -1
  691. package/lib/typescript/components/HLSView.d.ts +0 -4
  692. package/lib/typescript/components/HLSView.d.ts.map +0 -1
@@ -0,0 +1,165 @@
1
+ import * as React from 'react';
2
+ import { Pressable, StyleSheet, Text, View } from 'react-native';
3
+ import { useDispatch, useSelector } from 'react-redux';
4
+
5
+ import { CompanyLogo } from './CompanyLogo';
6
+ import {
7
+ useHMSConferencingScreenConfig,
8
+ useHMSRoomStyleSheet,
9
+ } from '../hooks-util';
10
+ import type { RootState } from '../redux';
11
+ import { HLSRecordingStatusText } from './HLSRecordingStatusText';
12
+ import { useIsHLSStreamingOn } from '../hooks-sdk';
13
+ import { HLSStreamStartedTime } from './HLSStreamStartedTime';
14
+ import { setHlsDescriptionPaneVisible } from '../redux/actions';
15
+
16
+ export interface HLSChatHeaderViewProps {
17
+ expanded?: boolean;
18
+ }
19
+
20
+ export const _HLSChatHeaderView: React.FC<HLSChatHeaderViewProps> = ({
21
+ expanded = false,
22
+ }) => {
23
+ const dispatch = useDispatch();
24
+ const isHLSStreaming = useIsHLSStreamingOn();
25
+
26
+ const peerCount = useSelector(
27
+ (state: RootState) => state.hmsStates.room?.peerCount
28
+ );
29
+ const headerTitle = useHMSConferencingScreenConfig((confScreenConfig) => {
30
+ return confScreenConfig?.elements?.header?.title;
31
+ });
32
+ const isValidHeaderDescription = useHMSConferencingScreenConfig(
33
+ (confScreenConfig) => {
34
+ return !!confScreenConfig?.elements?.header?.description;
35
+ }
36
+ );
37
+
38
+ const showDescriptionPane = () => {
39
+ dispatch(setHlsDescriptionPaneVisible(true));
40
+ };
41
+
42
+ const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
43
+ container: {
44
+ backgroundColor: theme.palette.surface_dim,
45
+ borderBottomColor: theme.palette.border_bright,
46
+ },
47
+ semiBoldSecondaryHigh: {
48
+ fontFamily: `${typography.font_family}-SemiBold`,
49
+ color: theme.palette.on_secondary_high,
50
+ },
51
+ semiBoldSurfaceHigh: {
52
+ fontFamily: `${typography.font_family}-SemiBold`,
53
+ color: theme.palette.on_surface_high,
54
+ },
55
+ regularSurfaceMedium: {
56
+ fontFamily: `${typography.font_family}-Regular`,
57
+ color: theme.palette.on_surface_medium,
58
+ },
59
+ regularSurfaceLow: {
60
+ fontFamily: `${typography.font_family}-Regular`,
61
+ color: theme.palette.on_surface_low,
62
+ },
63
+ }));
64
+
65
+ return (
66
+ <View
67
+ style={[
68
+ styles.container,
69
+ hmsRoomStyles.container,
70
+ expanded ? { borderBottomWidth: 0 } : null,
71
+ ]}
72
+ >
73
+ <CompanyLogo style={styles.logo} />
74
+
75
+ <View style={{ flexShrink: 1 }}>
76
+ {headerTitle ? (
77
+ <Text
78
+ numberOfLines={expanded ? undefined : 2}
79
+ style={[styles.title, hmsRoomStyles.semiBoldSecondaryHigh]}
80
+ >
81
+ {headerTitle}
82
+ </Text>
83
+ ) : null}
84
+
85
+ <View style={{ flexDirection: 'row', alignItems: 'center' }}>
86
+ <Text style={[styles.subtitle, hmsRoomStyles.regularSurfaceMedium]}>
87
+ {peerCount} {isHLSStreaming ? 'watching' : 'joined'}
88
+ </Text>
89
+
90
+ {isHLSStreaming ? (
91
+ <HLSStreamStartedTime
92
+ prefix={
93
+ <Text
94
+ style={[
95
+ styles.subtitleDivider,
96
+ hmsRoomStyles.regularSurfaceLow,
97
+ ]}
98
+ >
99
+
100
+ </Text>
101
+ }
102
+ />
103
+ ) : null}
104
+
105
+ {isValidHeaderDescription && !expanded ? (
106
+ <Pressable
107
+ onPress={showDescriptionPane}
108
+ hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
109
+ >
110
+ <Text
111
+ style={[
112
+ styles.subtitle,
113
+ { marginLeft: 8 },
114
+ hmsRoomStyles.semiBoldSurfaceHigh,
115
+ ]}
116
+ >
117
+ ...more
118
+ </Text>
119
+ </Pressable>
120
+ ) : (
121
+ <HLSRecordingStatusText
122
+ style={[styles.subtitle, hmsRoomStyles.regularSurfaceMedium]}
123
+ prefix={
124
+ <Text
125
+ style={[
126
+ styles.subtitleDivider,
127
+ hmsRoomStyles.regularSurfaceLow,
128
+ ]}
129
+ >
130
+
131
+ </Text>
132
+ }
133
+ />
134
+ )}
135
+ </View>
136
+ </View>
137
+ </View>
138
+ );
139
+ };
140
+
141
+ export const HLSChatHeaderView = React.memo(_HLSChatHeaderView);
142
+
143
+ const styles = StyleSheet.create({
144
+ container: {
145
+ padding: 16,
146
+ flexDirection: 'row',
147
+ alignItems: 'center',
148
+ borderBottomWidth: 1,
149
+ },
150
+ logo: { marginRight: 12 },
151
+ title: {
152
+ fontSize: 14,
153
+ lineHeight: 20,
154
+ marginBottom: 4,
155
+ },
156
+ subtitle: {
157
+ fontSize: 12,
158
+ lineHeight: 16,
159
+ },
160
+ subtitleDivider: {
161
+ fontSize: 6,
162
+ lineHeight: 16,
163
+ marginHorizontal: 8,
164
+ },
165
+ });
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+ import { Platform, StyleSheet, View } from 'react-native';
3
+ import { useSelector } from 'react-redux';
4
+ import { FlashList } from '@shopify/flash-list';
5
+ import type { HMSMessage } from '@100mslive/react-native-hms';
6
+
7
+ import type { RootState } from '../redux';
8
+ import { HMSHLSMessage } from './HMSHLSMessage';
9
+ import { ChatBanner, PinnedMessages } from './Chat';
10
+ import { MessageOptionsBottomSheet } from './Chat/MessageOptionsBottomSheet';
11
+
12
+ export const HLSChatMessages = () => {
13
+ const messages = useSelector((state: RootState) => state.messages.messages);
14
+
15
+ const _keyExtractor = React.useCallback(
16
+ (item: HMSMessage) => item.messageId,
17
+ []
18
+ );
19
+
20
+ const _renderItem = React.useCallback((data: { item: HMSMessage }) => {
21
+ return <HMSHLSMessage message={data.item} />;
22
+ }, []);
23
+
24
+ return (
25
+ <View
26
+ style={{
27
+ flex: 1,
28
+ paddingHorizontal: 16,
29
+ }}
30
+ >
31
+ <View style={styles.container}>
32
+ <PinnedMessages />
33
+
34
+ {messages.length > 0 ? (
35
+ <FlashList
36
+ data={messages}
37
+ inverted={true}
38
+ estimatedItemSize={62}
39
+ contentContainerStyle={{ paddingBottom: 12 }}
40
+ showsVerticalScrollIndicator={Platform.OS !== 'android'}
41
+ // contentContainerStyle={styles.listContentContainer} // Bug: Android inverted flashlist will apply padding on left when `paddingRight: 12` is applied
42
+ keyboardShouldPersistTaps="always"
43
+ // ListEmptyComponent={ChatBanner}
44
+ // ItemSeparatorComponent={() => <View style={{ height: 16 }} />} // TODO: There is a bug related to this: https://github.com/Shopify/flash-list/issues/638
45
+ renderItem={_renderItem}
46
+ keyExtractor={_keyExtractor}
47
+ />
48
+ ) : (
49
+ <ChatBanner />
50
+ )}
51
+ </View>
52
+
53
+ <MessageOptionsBottomSheet />
54
+ </View>
55
+ );
56
+ };
57
+
58
+ const styles = StyleSheet.create({
59
+ container: {
60
+ flex: 1,
61
+ },
62
+ });
@@ -0,0 +1,55 @@
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+ import { useSelector } from 'react-redux';
4
+
5
+ import { useHLSViewsConstraints, useHMSRoomStyleSheet } from '../hooks-util';
6
+ import { HLSChatHeaderView } from './HLSChatHeaderView';
7
+ import { HLSChatFooterView } from './HLSChatFooterView';
8
+ import { HLSChatMessages } from './HLSChatMessages';
9
+ import { HLSDescriptionPane } from './HLSDescriptionPane';
10
+ import { useIsLandscapeOrientation } from '../utils/dimension';
11
+ import type { RootState } from '../redux';
12
+ import { HLSNotifications } from './HLSNotifications';
13
+
14
+ export const HLSChatView = () => {
15
+ const isLandscapeOrientation = useIsLandscapeOrientation();
16
+ const { chatWrapperConstraints } = useHLSViewsConstraints();
17
+ const hlsFullScreen = useSelector(
18
+ (state: RootState) => state.app.hlsFullScreen
19
+ );
20
+
21
+ const hmsRoomStyles = useHMSRoomStyleSheet((theme) => ({
22
+ wrapper: {
23
+ backgroundColor: theme.palette.surface_dim,
24
+ },
25
+ }));
26
+
27
+ if (hlsFullScreen) {
28
+ return null;
29
+ }
30
+
31
+ return (
32
+ <View
33
+ style={{
34
+ position: 'absolute',
35
+ bottom: isLandscapeOrientation ? undefined : 0,
36
+ right: 0,
37
+ width: chatWrapperConstraints.width,
38
+ height: chatWrapperConstraints.height,
39
+ }}
40
+ >
41
+ <View style={[{ flex: 1, position: 'relative' }, hmsRoomStyles.wrapper]}>
42
+ {isLandscapeOrientation ? null : <HLSChatHeaderView />}
43
+
44
+ <HLSChatMessages />
45
+
46
+ <HLSChatFooterView />
47
+
48
+ <HLSNotifications />
49
+
50
+ {/* Below is absolute positioned and only visible when state is true */}
51
+ {isLandscapeOrientation ? null : <HLSDescriptionPane />}
52
+ </View>
53
+ </View>
54
+ );
55
+ };
@@ -0,0 +1,168 @@
1
+ import * as React from 'react';
2
+ import { useDispatch, useSelector } from 'react-redux';
3
+ import { Linking, ScrollView, StyleSheet, Text, View } from 'react-native';
4
+ import { runOnJS, useSharedValue, withTiming } from 'react-native-reanimated';
5
+
6
+ import {
7
+ useHLSViewsConstraints,
8
+ useHMSConferencingScreenConfig,
9
+ useHMSRoomStyleSheet,
10
+ } from '../hooks-util';
11
+ import { HLSChatHeaderView } from './HLSChatHeaderView';
12
+ import {
13
+ HLSDescriptionPaneHeader,
14
+ HLSDescriptionPaneHeaderHeight,
15
+ } from './HLSDescriptionPaneHeader';
16
+ import { HLSAnimatedDescriptionPane } from './HLSAnimatedDescriptionPane';
17
+ import { setHlsDescriptionPaneVisible } from '../redux/actions';
18
+ import type { RootState } from '../redux';
19
+
20
+ interface HLSDescriptionPaneProps {}
21
+
22
+ export const HLSDescriptionPane: React.FC<HLSDescriptionPaneProps> = () => {
23
+ const dispatch = useDispatch();
24
+ const paneVisible = useSelector(
25
+ (state: RootState) => state.app.hlsDescriptionPaneVisible
26
+ );
27
+
28
+ const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
29
+ wrapper: {
30
+ backgroundColor: theme.palette.surface_dim,
31
+ },
32
+ regularSurfaceMedium: {
33
+ fontFamily: `${typography.font_family}-Regular`,
34
+ color: theme.palette.on_surface_medium,
35
+ },
36
+ link: {
37
+ color: theme.palette.primary_bright,
38
+ },
39
+ }));
40
+
41
+ const { descriptionPaneConstraints } = useHLSViewsConstraints();
42
+
43
+ const descriptionPaneContentHeight =
44
+ descriptionPaneConstraints.height - HLSDescriptionPaneHeaderHeight;
45
+
46
+ const desPaneTranslationValue = useSharedValue(0);
47
+
48
+ const _closeDescriptionPane = () => {
49
+ dispatch(setHlsDescriptionPaneVisible(false));
50
+ };
51
+
52
+ const hideDescriptionPane = () => {
53
+ if (paneVisible) {
54
+ desPaneTranslationValue.value = withTiming(0, { duration: 280 }, () => {
55
+ runOnJS(_closeDescriptionPane)();
56
+ });
57
+ }
58
+ };
59
+
60
+ React.useEffect(() => {
61
+ if (!paneVisible) {
62
+ return;
63
+ }
64
+ desPaneTranslationValue.value = withTiming(1, { duration: 280 });
65
+ return () => {
66
+ cancelAnimationFrame(desPaneTranslationValue.value);
67
+ };
68
+ }, [paneVisible]);
69
+
70
+ const description = useHMSConferencingScreenConfig((confScreenConfig) => {
71
+ return confScreenConfig?.elements?.header?.description;
72
+ });
73
+
74
+ const handleLinkPress = async (url: string) => {
75
+ const canOpen = await Linking.canOpenURL(url);
76
+ if (canOpen) {
77
+ Linking.openURL(url);
78
+ }
79
+ };
80
+
81
+ if (!paneVisible) {
82
+ return null;
83
+ }
84
+
85
+ // TODO: for links to work, add query in manifest.xml
86
+
87
+ return (
88
+ <View
89
+ style={{
90
+ position: 'absolute',
91
+ bottom: 0,
92
+ width: descriptionPaneConstraints.width,
93
+ height: descriptionPaneConstraints.height,
94
+ zIndex: 10,
95
+ }}
96
+ >
97
+ <HLSDescriptionPaneHeader
98
+ close={hideDescriptionPane}
99
+ animatedValue={desPaneTranslationValue}
100
+ />
101
+
102
+ <View style={{ flex: 1, overflow: 'hidden' }}>
103
+ <HLSAnimatedDescriptionPane
104
+ height={descriptionPaneContentHeight}
105
+ sharedValue={desPaneTranslationValue}
106
+ >
107
+ <ScrollView
108
+ style={hmsRoomStyles.wrapper}
109
+ contentContainerStyle={{ paddingBottom: 40 }}
110
+ >
111
+ <HLSChatHeaderView expanded={true} />
112
+
113
+ {description ? (
114
+ <Text
115
+ style={[styles.description, hmsRoomStyles.regularSurfaceMedium]}
116
+ >
117
+ {splitLinksAndContent(description, {
118
+ pressHandler: handleLinkPress,
119
+ style: hmsRoomStyles.link,
120
+ })}
121
+ </Text>
122
+ ) : null}
123
+ </ScrollView>
124
+ </HLSAnimatedDescriptionPane>
125
+ </View>
126
+ </View>
127
+ );
128
+ };
129
+
130
+ const styles = StyleSheet.create({
131
+ description: {
132
+ fontSize: 14,
133
+ lineHeight: 20,
134
+ marginHorizontal: 16,
135
+ },
136
+ });
137
+
138
+ function splitLinksAndContent(
139
+ text: string,
140
+ { pressHandler, style }: any
141
+ ): string | (string | React.ReactElement)[] {
142
+ // Regular expression to find links in a string
143
+ const pattern = /http[s]?:\/\/\S+/g;
144
+
145
+ // Find all links in the text
146
+ const links = text.match(pattern) || [];
147
+
148
+ if (links.length <= 0) {
149
+ return text;
150
+ }
151
+
152
+ // Split the text into an array of links and content
153
+ const parts = text.replace(pattern, '^<link>^').split('^');
154
+
155
+ return parts.map((p, i) => {
156
+ if (p !== '<link>') {
157
+ return p;
158
+ }
159
+ const link = links.pop();
160
+ return link ? (
161
+ <Text key={link + i} onPress={() => pressHandler(link)} style={style}>
162
+ {link}
163
+ </Text>
164
+ ) : (
165
+ p
166
+ );
167
+ });
168
+ }
@@ -0,0 +1,78 @@
1
+ import * as React from 'react';
2
+ import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
3
+
4
+ import { useHMSRoomStyleSheet } from '../hooks-util';
5
+ import { ChevronIcon } from '../Icons';
6
+ import Animated, {
7
+ useAnimatedStyle,
8
+ type SharedValue,
9
+ interpolate,
10
+ } from 'react-native-reanimated';
11
+
12
+ export interface HLSDescriptionPaneHeaderProps {
13
+ close(): void;
14
+ animatedValue: SharedValue<number>;
15
+ }
16
+
17
+ export const HLSDescriptionPaneHeaderHeight = 16 * 2 + 24; // vertical padding + content height
18
+
19
+ export const HLSDescriptionPaneHeader: React.FC<
20
+ HLSDescriptionPaneHeaderProps
21
+ > = ({ close, animatedValue }) => {
22
+ const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
23
+ container: {
24
+ backgroundColor: theme.palette.surface_dim,
25
+ borderBottomColor: theme.palette.border_bright,
26
+ },
27
+ semiBoldSurfaceHigh: {
28
+ fontFamily: `${typography.font_family}-SemiBold`,
29
+ color: theme.palette.on_surface_high,
30
+ },
31
+ }));
32
+
33
+ const animatedChevronStyles = useAnimatedStyle(
34
+ () => ({
35
+ transform: [
36
+ {
37
+ rotateZ: `${interpolate(animatedValue.value, [0, 1], [0, -180])}deg`,
38
+ },
39
+ ],
40
+ }),
41
+ []
42
+ );
43
+
44
+ const closeHlsDescriptionPane = () => {
45
+ close();
46
+ };
47
+
48
+ return (
49
+ <View style={[styles.container, hmsRoomStyles.container]}>
50
+ <Text style={[styles.title, hmsRoomStyles.semiBoldSurfaceHigh]}>
51
+ About Session
52
+ </Text>
53
+
54
+ <TouchableOpacity
55
+ hitSlop={{ bottom: 12, left: 12, top: 12, right: 12 }}
56
+ onPress={closeHlsDescriptionPane}
57
+ >
58
+ <Animated.View style={animatedChevronStyles}>
59
+ <ChevronIcon direction="down" />
60
+ </Animated.View>
61
+ </TouchableOpacity>
62
+ </View>
63
+ );
64
+ };
65
+
66
+ const styles = StyleSheet.create({
67
+ container: {
68
+ padding: 16,
69
+ flexDirection: 'row',
70
+ alignItems: 'center',
71
+ justifyContent: 'space-between',
72
+ borderBottomWidth: 1,
73
+ },
74
+ title: {
75
+ fontSize: 16,
76
+ lineHeight: 24,
77
+ },
78
+ });
@@ -4,7 +4,7 @@ import type { SharedValue } from 'react-native-reanimated';
4
4
 
5
5
  import { Footer } from './Footer';
6
6
  import { AnimatedHLSFooter } from './AnimatedHLSFooter';
7
- import { HLSChatView } from './HMSOverlayChatView';
7
+ import { HMSOverlayChatView } from './HMSOverlayChatView';
8
8
  import { useShowChatAndParticipants } from '../hooks-util';
9
9
  import { HMSNotifications } from './HMSNotifications';
10
10
 
@@ -17,7 +17,7 @@ export const HLSFooter: React.FC<HLSFooterProps> = ({ offset }) => {
17
17
 
18
18
  return (
19
19
  <AnimatedHLSFooter offset={offset} style={styles.animatedContainer}>
20
- {overlayChatVisible ? <HLSChatView offset={offset} /> : null}
20
+ {overlayChatVisible ? <HMSOverlayChatView offset={offset} /> : null}
21
21
 
22
22
  <HMSNotifications />
23
23
 
@@ -0,0 +1,41 @@
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+
4
+ import {
5
+ useHMSConferencingScreenConfig,
6
+ useHMSLayoutConfig,
7
+ } from '../hooks-util';
8
+ import { HMSManageRaiseHand } from './HMSManageRaiseHand';
9
+ import {
10
+ useCanPublishAudio,
11
+ useCanPublishScreen,
12
+ useCanPublishVideo,
13
+ } from '../hooks-sdk';
14
+
15
+ export const HLSHandRaiseButton = () => {
16
+ const canPublishAudio = useCanPublishAudio();
17
+ const canPublishVideo = useCanPublishVideo();
18
+ const canPublishScreen = useCanPublishScreen();
19
+
20
+ const canRaiseHand = useHMSConferencingScreenConfig(
21
+ (confScreenConfig) => !!confScreenConfig?.elements?.hand_raise
22
+ );
23
+ const isOnStage = useHMSLayoutConfig((layoutConfig) => {
24
+ return !!layoutConfig?.screens?.conferencing?.default?.elements
25
+ ?.on_stage_exp;
26
+ });
27
+
28
+ const isViewer = !(canPublishAudio || canPublishVideo || canPublishScreen);
29
+
30
+ const canShowHandRaiseInFooter = canRaiseHand && !isOnStage && isViewer;
31
+
32
+ if (!canShowHandRaiseInFooter) {
33
+ return null;
34
+ }
35
+
36
+ return (
37
+ <View style={{ marginLeft: 12 }}>
38
+ <HMSManageRaiseHand />
39
+ </View>
40
+ );
41
+ };
@@ -0,0 +1,98 @@
1
+ import * as React from 'react';
2
+ import { StyleSheet, View } from 'react-native';
3
+ import { useSelector } from 'react-redux';
4
+ import { useSafeAreaInsets } from 'react-native-safe-area-context';
5
+
6
+ import {
7
+ useHLSViewsConstraints,
8
+ useHMSChatState,
9
+ useHMSRoomStyleSheet,
10
+ useIsAllowedToSendMessage,
11
+ useIsLocalPeerBlockedFromChat,
12
+ } from '../hooks-util';
13
+ import { ChatPaused } from './Chat/ChatPaused';
14
+ import { PeerBlockedFromChat } from './Chat/PeerBlockedFromChat';
15
+ import { ChatFilterBottomSheetOpener } from './Chat/ChatFilterBottomSheetOpener';
16
+ import { HMSSendMessageInput } from './HMSSendMessageInput';
17
+ import type { RootState } from '../redux';
18
+ import { ChatFilterBottomSheet } from './Chat/ChatFilterBottomSheet';
19
+ import { HMSKeyboardAvoidingView } from './HMSKeyboardAvoidingView';
20
+
21
+ export const HLSManageChatTextInput = () => {
22
+ const { chatState } = useHMSChatState();
23
+ const isAllowedToSendMessage = useIsAllowedToSendMessage();
24
+ const isChatRecipientSelected = useSelector(
25
+ (state: RootState) => state.chatWindow.sendTo !== null
26
+ );
27
+ const isLocalPeerBlockedFromChat = useIsLocalPeerBlockedFromChat();
28
+
29
+ const hmsRoomStyles = useHMSRoomStyleSheet((theme) => ({
30
+ input: {
31
+ backgroundColor: theme.palette.surface_default,
32
+ borderColor: theme.palette.surface_default,
33
+ },
34
+ }));
35
+
36
+ const { chatWrapperConstraints } = useHLSViewsConstraints();
37
+ const { bottom: bottomInset } = useSafeAreaInsets();
38
+
39
+ const keyboardAvoidingStyles = React.useMemo(
40
+ () => ({
41
+ active: { width: chatWrapperConstraints.width - 32 },
42
+ inactive: { width: '100%' },
43
+ }),
44
+ [chatWrapperConstraints]
45
+ );
46
+
47
+ if (isLocalPeerBlockedFromChat) {
48
+ return <PeerBlockedFromChat style={styles.shrink} />;
49
+ }
50
+
51
+ if (chatState.enabled) {
52
+ return (
53
+ <>
54
+ {/* INFO: Chat action button UI might be broken,
55
+ but hls-viewer might not have permission to take action */}
56
+ <View style={styles.grow}>
57
+ <ChatFilterBottomSheetOpener useFilterModal={true} />
58
+
59
+ {isAllowedToSendMessage && isChatRecipientSelected ? (
60
+ <HMSKeyboardAvoidingView
61
+ bottomOffset={bottomInset}
62
+ styleWhenActive={keyboardAvoidingStyles.active}
63
+ styleWhenInactive={keyboardAvoidingStyles.inactive}
64
+ >
65
+ <HMSSendMessageInput
66
+ containerStyle={[styles.input, hmsRoomStyles.input]}
67
+ />
68
+ </HMSKeyboardAvoidingView>
69
+ ) : null}
70
+ </View>
71
+
72
+ <ChatFilterBottomSheet />
73
+ </>
74
+ );
75
+ }
76
+
77
+ if (isAllowedToSendMessage) {
78
+ return <ChatPaused style={styles.shrink} />;
79
+ }
80
+
81
+ return <View style={styles.grow} />;
82
+ };
83
+
84
+ const styles = StyleSheet.create({
85
+ input: {
86
+ flex: 0,
87
+ height: 40,
88
+ marginHorizontal: 0,
89
+ marginTop: 0,
90
+ marginBottom: 0,
91
+ },
92
+ shrink: {
93
+ flexShrink: 1,
94
+ },
95
+ grow: {
96
+ flexGrow: 1,
97
+ },
98
+ });