@stream-io/video-react-native-sdk 1.3.7 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
  5. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
  7. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
  9. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
  11. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
  13. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
  15. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
  17. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
  19. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  21. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
  23. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
  25. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
  27. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
  29. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
  31. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/index.js +0 -11
  33. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
  35. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  37. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  41. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  42. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
  43. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
  45. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
  47. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  48. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
  49. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  51. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  53. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  55. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
  57. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  58. package/dist/commonjs/components/Call/index.js +0 -11
  59. package/dist/commonjs/components/Call/index.js.map +1 -1
  60. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
  61. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  62. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  63. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  65. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
  67. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  69. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  73. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  75. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  77. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  79. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  81. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  83. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  85. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
  89. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  90. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  91. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
  92. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  93. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
  94. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  95. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  96. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  97. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
  98. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  99. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  100. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  101. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
  102. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  103. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
  104. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  105. package/dist/commonjs/components/utility/Avatar.js +1 -1
  106. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  107. package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
  108. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  109. package/dist/commonjs/constants/TestIds.js +1 -1
  110. package/dist/commonjs/constants/TestIds.js.map +1 -1
  111. package/dist/commonjs/constants/index.js +24 -5
  112. package/dist/commonjs/constants/index.js.map +1 -1
  113. package/dist/commonjs/icons/CameraSwitch.js +6 -3
  114. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  115. package/dist/commonjs/icons/IconWrapper.js +25 -0
  116. package/dist/commonjs/icons/IconWrapper.js.map +1 -0
  117. package/dist/commonjs/icons/Lock.js +26 -0
  118. package/dist/commonjs/icons/Lock.js.map +1 -0
  119. package/dist/commonjs/icons/Mic.js +6 -6
  120. package/dist/commonjs/icons/Mic.js.map +1 -1
  121. package/dist/commonjs/icons/MicOff.js +6 -3
  122. package/dist/commonjs/icons/MicOff.js.map +1 -1
  123. package/dist/commonjs/icons/Phone.js +13 -3
  124. package/dist/commonjs/icons/Phone.js.map +1 -1
  125. package/dist/commonjs/icons/PhoneDown.js +6 -3
  126. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  127. package/dist/commonjs/icons/PinVertical.js +5 -2
  128. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  129. package/dist/commonjs/icons/Reaction.js +3 -1
  130. package/dist/commonjs/icons/Reaction.js.map +1 -1
  131. package/dist/commonjs/icons/ScreenShare.js +6 -3
  132. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  133. package/dist/commonjs/icons/StopScreenShare.js +5 -2
  134. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  135. package/dist/commonjs/icons/Video.js +6 -3
  136. package/dist/commonjs/icons/Video.js.map +1 -1
  137. package/dist/commonjs/icons/VideoSlash.js +6 -3
  138. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  139. package/dist/commonjs/icons/index.js +11 -22
  140. package/dist/commonjs/icons/index.js.map +1 -1
  141. package/dist/commonjs/theme/colors.js +22 -39
  142. package/dist/commonjs/theme/colors.js.map +1 -1
  143. package/dist/commonjs/theme/constants.js +44 -44
  144. package/dist/commonjs/theme/constants.js.map +1 -1
  145. package/dist/commonjs/theme/index.js +11 -10
  146. package/dist/commonjs/theme/index.js.map +1 -1
  147. package/dist/commonjs/theme/theme.js +46 -9
  148. package/dist/commonjs/theme/theme.js.map +1 -1
  149. package/dist/commonjs/translations/en.json +7 -3
  150. package/dist/commonjs/version.js +1 -1
  151. package/dist/module/components/Call/CallContent/CallContent.js +26 -21
  152. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  153. package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
  154. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  155. package/dist/module/components/Call/CallControls/CallControls.js +2 -2
  156. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  157. package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
  158. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  159. package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
  160. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  161. package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
  162. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  163. package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
  164. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  165. package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
  166. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  167. package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
  168. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  169. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  170. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  171. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
  172. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  173. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
  174. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  175. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
  176. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  177. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
  178. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  179. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
  180. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  181. package/dist/module/components/Call/CallControls/index.js +0 -1
  182. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  183. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
  184. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  185. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  186. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  187. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
  188. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  189. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  190. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  191. package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
  192. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  193. package/dist/module/components/Call/Lobby/Lobby.js +64 -93
  194. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  195. package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
  196. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  197. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
  198. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  199. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  200. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  201. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  202. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  203. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  204. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  205. package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
  206. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  207. package/dist/module/components/Call/index.js +0 -1
  208. package/dist/module/components/Call/index.js.map +1 -1
  209. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
  210. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  211. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  212. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  213. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  214. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  215. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
  216. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  217. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  218. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  219. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
  220. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  221. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  222. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  223. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  224. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  225. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  226. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  227. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  228. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  229. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  230. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  231. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  232. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  233. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  234. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  235. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  236. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  237. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
  238. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  239. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  240. package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
  241. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  242. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
  243. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  244. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  245. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  246. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
  247. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  248. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  249. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  250. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
  251. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  252. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
  253. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  254. package/dist/module/components/utility/Avatar.js +1 -1
  255. package/dist/module/components/utility/Avatar.js.map +1 -1
  256. package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
  257. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  258. package/dist/module/constants/TestIds.js +1 -1
  259. package/dist/module/constants/TestIds.js.map +1 -1
  260. package/dist/module/constants/index.js +23 -4
  261. package/dist/module/constants/index.js.map +1 -1
  262. package/dist/module/icons/CameraSwitch.js +6 -3
  263. package/dist/module/icons/CameraSwitch.js.map +1 -1
  264. package/dist/module/icons/IconWrapper.js +17 -0
  265. package/dist/module/icons/IconWrapper.js.map +1 -0
  266. package/dist/module/icons/Lock.js +16 -0
  267. package/dist/module/icons/Lock.js.map +1 -0
  268. package/dist/module/icons/Mic.js +6 -6
  269. package/dist/module/icons/Mic.js.map +1 -1
  270. package/dist/module/icons/MicOff.js +6 -3
  271. package/dist/module/icons/MicOff.js.map +1 -1
  272. package/dist/module/icons/Phone.js +13 -3
  273. package/dist/module/icons/Phone.js.map +1 -1
  274. package/dist/module/icons/PhoneDown.js +6 -3
  275. package/dist/module/icons/PhoneDown.js.map +1 -1
  276. package/dist/module/icons/PinVertical.js +5 -2
  277. package/dist/module/icons/PinVertical.js.map +1 -1
  278. package/dist/module/icons/Reaction.js +3 -1
  279. package/dist/module/icons/Reaction.js.map +1 -1
  280. package/dist/module/icons/ScreenShare.js +6 -3
  281. package/dist/module/icons/ScreenShare.js.map +1 -1
  282. package/dist/module/icons/StopScreenShare.js +5 -2
  283. package/dist/module/icons/StopScreenShare.js.map +1 -1
  284. package/dist/module/icons/Video.js +6 -3
  285. package/dist/module/icons/Video.js.map +1 -1
  286. package/dist/module/icons/VideoSlash.js +6 -3
  287. package/dist/module/icons/VideoSlash.js.map +1 -1
  288. package/dist/module/icons/index.js +1 -2
  289. package/dist/module/icons/index.js.map +1 -1
  290. package/dist/module/theme/colors.js +22 -39
  291. package/dist/module/theme/colors.js.map +1 -1
  292. package/dist/module/theme/constants.js +44 -44
  293. package/dist/module/theme/constants.js.map +1 -1
  294. package/dist/module/theme/index.js +1 -5
  295. package/dist/module/theme/index.js.map +1 -1
  296. package/dist/module/theme/theme.js +46 -9
  297. package/dist/module/theme/theme.js.map +1 -1
  298. package/dist/module/translations/en.json +7 -3
  299. package/dist/module/version.js +1 -1
  300. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
  301. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  302. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
  303. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
  304. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  305. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
  306. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
  307. package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
  308. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  309. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
  310. package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
  311. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
  312. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
  313. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
  314. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  315. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
  316. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
  317. package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
  318. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
  319. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  320. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  321. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  322. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  323. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  324. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  325. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
  326. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  327. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
  328. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  329. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
  330. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  331. package/dist/typescript/components/Call/index.d.ts +0 -1
  332. package/dist/typescript/components/Call/index.d.ts.map +1 -1
  333. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  334. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
  335. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
  336. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
  337. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  338. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  339. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  340. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  341. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  342. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
  343. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  344. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  345. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  346. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
  347. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
  348. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  349. package/dist/typescript/constants/TestIds.d.ts +2 -2
  350. package/dist/typescript/constants/TestIds.d.ts.map +1 -1
  351. package/dist/typescript/constants/index.d.ts +0 -1
  352. package/dist/typescript/constants/index.d.ts.map +1 -1
  353. package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
  354. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  355. package/dist/typescript/icons/IconWrapper.d.ts +6 -0
  356. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
  357. package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
  358. package/dist/typescript/icons/Lock.d.ts.map +1 -0
  359. package/dist/typescript/icons/Mic.d.ts +2 -1
  360. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  361. package/dist/typescript/icons/MicOff.d.ts +2 -1
  362. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  363. package/dist/typescript/icons/Phone.d.ts +2 -1
  364. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  365. package/dist/typescript/icons/PhoneDown.d.ts +2 -1
  366. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  367. package/dist/typescript/icons/PinVertical.d.ts +2 -1
  368. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  369. package/dist/typescript/icons/ScreenShare.d.ts +2 -1
  370. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  371. package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
  372. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  373. package/dist/typescript/icons/Video.d.ts +2 -1
  374. package/dist/typescript/icons/Video.d.ts.map +1 -1
  375. package/dist/typescript/icons/VideoSlash.d.ts +2 -1
  376. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  377. package/dist/typescript/icons/index.d.ts +1 -2
  378. package/dist/typescript/icons/index.d.ts.map +1 -1
  379. package/dist/typescript/theme/colors.d.ts +5 -38
  380. package/dist/typescript/theme/colors.d.ts.map +1 -1
  381. package/dist/typescript/theme/constants.d.ts +44 -44
  382. package/dist/typescript/theme/constants.d.ts.map +1 -1
  383. package/dist/typescript/theme/index.d.ts +1 -2
  384. package/dist/typescript/theme/index.d.ts.map +1 -1
  385. package/dist/typescript/theme/theme.d.ts +23 -31
  386. package/dist/typescript/theme/theme.d.ts.map +1 -1
  387. package/dist/typescript/theme/types.d.ts +65 -18
  388. package/dist/typescript/theme/types.d.ts.map +1 -1
  389. package/dist/typescript/translations/index.d.ts +5 -1
  390. package/dist/typescript/translations/index.d.ts.map +1 -1
  391. package/dist/typescript/version.d.ts +1 -1
  392. package/package.json +3 -3
  393. package/src/components/Call/CallContent/CallContent.tsx +25 -33
  394. package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
  395. package/src/components/Call/CallControls/CallControls.tsx +2 -2
  396. package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
  397. package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
  398. package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
  399. package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
  400. package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
  401. package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
  402. package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
  403. package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
  404. package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
  405. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
  406. package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
  407. package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
  408. package/src/components/Call/CallControls/index.tsx +0 -1
  409. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
  410. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
  411. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
  412. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
  413. package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
  414. package/src/components/Call/Lobby/Lobby.tsx +74 -121
  415. package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
  416. package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
  417. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
  418. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
  419. package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
  420. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  421. package/src/components/Call/index.ts +0 -1
  422. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
  423. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
  424. package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
  425. package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
  426. package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
  427. package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
  428. package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
  429. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
  430. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
  431. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
  432. package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
  433. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
  434. package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
  435. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
  436. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
  437. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
  438. package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
  439. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
  440. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
  441. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
  442. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
  443. package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
  444. package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
  445. package/src/components/utility/Avatar.tsx +2 -4
  446. package/src/components/utility/ScreenShareOverlay.tsx +5 -5
  447. package/src/constants/TestIds.ts +1 -1
  448. package/src/constants/index.ts +27 -5
  449. package/src/icons/CameraSwitch.tsx +4 -3
  450. package/src/icons/IconWrapper.tsx +15 -0
  451. package/src/icons/Lock.tsx +19 -0
  452. package/src/icons/Mic.tsx +4 -7
  453. package/src/icons/MicOff.tsx +4 -3
  454. package/src/icons/Phone.tsx +11 -3
  455. package/src/icons/PhoneDown.tsx +9 -3
  456. package/src/icons/PinVertical.tsx +3 -2
  457. package/src/icons/Reaction.tsx +1 -1
  458. package/src/icons/ScreenShare.tsx +9 -3
  459. package/src/icons/StopScreenShare.tsx +3 -2
  460. package/src/icons/Video.tsx +4 -3
  461. package/src/icons/VideoSlash.tsx +9 -3
  462. package/src/icons/index.tsx +1 -2
  463. package/src/theme/colors.ts +27 -42
  464. package/src/theme/constants.ts +51 -44
  465. package/src/theme/index.ts +1 -8
  466. package/src/theme/theme.ts +77 -40
  467. package/src/theme/types.ts +72 -21
  468. package/src/translations/en.json +7 -3
  469. package/src/version.ts +1 -1
  470. package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
  471. package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
  472. package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
  473. package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
  474. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
  475. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  476. package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
  477. package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
  478. package/dist/commonjs/icons/Chat.js +0 -19
  479. package/dist/commonjs/icons/Chat.js.map +0 -1
  480. package/dist/commonjs/icons/Participants.js +0 -21
  481. package/dist/commonjs/icons/Participants.js.map +0 -1
  482. package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
  483. package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
  484. package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
  485. package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
  486. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
  487. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  488. package/dist/module/components/Call/CallTopView/index.js +0 -3
  489. package/dist/module/components/Call/CallTopView/index.js.map +0 -1
  490. package/dist/module/icons/Chat.js +0 -11
  491. package/dist/module/icons/Chat.js.map +0 -1
  492. package/dist/module/icons/Participants.js +0 -13
  493. package/dist/module/icons/Participants.js.map +0 -1
  494. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
  495. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
  496. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
  497. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
  498. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
  499. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
  500. package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
  501. package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
  502. package/dist/typescript/icons/Chat.d.ts.map +0 -1
  503. package/dist/typescript/icons/Participants.d.ts +0 -8
  504. package/dist/typescript/icons/Participants.d.ts.map +0 -1
  505. package/src/components/Call/CallControls/ChatButton.tsx +0 -90
  506. package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
  507. package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
  508. package/src/components/Call/CallTopView/index.ts +0 -2
  509. package/src/icons/Chat.tsx +0 -16
  510. package/src/icons/Participants.tsx +0 -18
@@ -1,7 +1,8 @@
1
- import React from 'react';
1
+ import React, { useMemo } from 'react';
2
2
  import { View, StyleSheet, Text } from 'react-native';
3
- import { useCall, useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
4
3
  import { useTheme } from '../../../contexts/ThemeContext';
4
+ import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
5
+ import { Lock } from '../../../icons/Lock';
5
6
 
6
7
  /**
7
8
  * Props for the Lobby Footer in the Lobby component.
@@ -18,38 +19,73 @@ export const LobbyFooter = ({
18
19
  theme: {
19
20
  colors,
20
21
  lobby,
21
- typefaces
22
+ variants
22
23
  }
23
24
  } = useTheme();
25
+ const styles = useStyles();
24
26
  const {
25
27
  useCallSession
26
28
  } = useCallStateHooks();
27
29
  const {
28
30
  t
29
31
  } = useI18n();
30
- const call = useCall();
31
32
  const session = useCallSession();
32
- const participantsCount = session?.participants.length;
33
+ const numberOfParticipants = session?.participants.length;
34
+ const participantsText = useMemo(() => {
35
+ if (!numberOfParticipants) {
36
+ return t('Currently there are no other participants in the call.');
37
+ }
38
+ if (numberOfParticipants === 1) {
39
+ return t('There is {{numberOfParticipants}} more person in the call.', {
40
+ numberOfParticipants
41
+ });
42
+ }
43
+ return t('There are {{numberOfParticipants}} more people in the call.', {
44
+ numberOfParticipants
45
+ });
46
+ }, [numberOfParticipants, t]);
33
47
  return /*#__PURE__*/React.createElement(View, {
34
- style: [styles.infoContainer, {
35
- backgroundColor: colors.static_overlay
36
- }, lobby.infoContainer]
37
- }, /*#__PURE__*/React.createElement(Text, {
48
+ style: [styles.mainContainer, lobby.infoContainer]
49
+ }, /*#__PURE__*/React.createElement(View, {
50
+ style: styles.textContainer
51
+ }, /*#__PURE__*/React.createElement(View, {
52
+ style: styles.iconContainer
53
+ }, /*#__PURE__*/React.createElement(Lock, {
54
+ color: colors.iconPrimary,
55
+ size: variants.iconSizes.md
56
+ })), /*#__PURE__*/React.createElement(Text, {
38
57
  style: [{
39
- color: colors.static_white
40
- }, typefaces.subtitleBold, lobby.infoText]
41
- }, t('You are about to join a call with id {{ callId }}.', {
42
- callId: call?.id
43
- }) + ' ' + (participantsCount ? t('{{ numberOfParticipants }} participant(s) are in the call.', {
44
- numberOfParticipants: participantsCount
45
- }) : t('You are first to join the call.'))), JoinCallButton && /*#__PURE__*/React.createElement(JoinCallButton, {
58
+ color: colors.textPrimary
59
+ }, styles.infoText, lobby.infoText]
60
+ }, t('You are about to join a call.') + ' ' + participantsText)), JoinCallButton && /*#__PURE__*/React.createElement(JoinCallButton, {
46
61
  onJoinCallHandler: onJoinCallHandler
47
62
  }));
48
63
  };
49
- const styles = StyleSheet.create({
50
- infoContainer: {
51
- padding: 12,
52
- borderRadius: 10
53
- }
54
- });
64
+ const useStyles = () => {
65
+ const {
66
+ theme
67
+ } = useTheme();
68
+ return useMemo(() => StyleSheet.create({
69
+ mainContainer: {
70
+ padding: theme.variants.spacingSizes.sm
71
+ },
72
+ textContainer: {
73
+ flexDirection: 'row',
74
+ alignItems: 'center',
75
+ justifyContent: 'center',
76
+ backgroundColor: theme.colors.sheetTertiary,
77
+ paddingHorizontal: theme.variants.spacingSizes.md,
78
+ paddingVertical: theme.variants.spacingSizes.xs,
79
+ borderRadius: theme.variants.borderRadiusSizes.sm
80
+ },
81
+ iconContainer: {
82
+ marginRight: theme.variants.spacingSizes.sm
83
+ },
84
+ infoText: {
85
+ fontSize: theme.variants.fontSizes.sm,
86
+ lineHeight: 20,
87
+ fontWeight: '400'
88
+ }
89
+ }), [theme]);
90
+ };
55
91
  //# sourceMappingURL=LobbyFooter.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","StyleSheet","Text","useCall","useCallStateHooks","useI18n","useTheme","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","typefaces","useCallSession","t","call","session","participantsCount","participants","length","createElement","style","styles","infoContainer","backgroundColor","static_overlay","color","static_white","subtitleBold","infoText","callId","id","numberOfParticipants","create","padding","borderRadius"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/LobbyFooter.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrD,SACEC,OAAO,EACPC,iBAAiB,EACjBC,OAAO,QACF,iCAAiC;AACxC,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AAMA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAC1BC,iBAAiB;EACjBC;AACgB,CAAC,KAAK;EACtB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAU;EACpC,CAAC,GAAGP,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEQ;EAAe,CAAC,GAAGV,iBAAiB,CAAC,CAAC;EAE9C,MAAM;IAAEW;EAAE,CAAC,GAAGV,OAAO,CAAC,CAAC;EAEvB,MAAMW,IAAI,GAAGb,OAAO,CAAC,CAAC;EACtB,MAAMc,OAAO,GAAGH,cAAc,CAAC,CAAC;EAEhC,MAAMI,iBAAiB,GAAGD,OAAO,EAAEE,YAAY,CAACC,MAAM;EAEtD,oBACErB,KAAA,CAAAsB,aAAA,CAACrB,IAAI;IACHsB,KAAK,EAAE,CACLC,MAAM,CAACC,aAAa,EACpB;MAAEC,eAAe,EAAEd,MAAM,CAACe;IAAe,CAAC,EAC1Cd,KAAK,CAACY,aAAa;EACnB,gBAEFzB,KAAA,CAAAsB,aAAA,CAACnB,IAAI;IACHoB,KAAK,EAAE,CACL;MAAEK,KAAK,EAAEhB,MAAM,CAACiB;IAAa,CAAC,EAC9Bf,SAAS,CAACgB,YAAY,EACtBjB,KAAK,CAACkB,QAAQ;EACd,GAEDf,CAAC,CAAC,oDAAoD,EAAE;IACvDgB,MAAM,EAAEf,IAAI,EAAEgB;EAChB,CAAC,CAAC,GACA,GAAG,IACFd,iBAAiB,GACdH,CAAC,CAAC,4DAA4D,EAAE;IAC9DkB,oBAAoB,EAAEf;EACxB,CAAC,CAAC,GACFH,CAAC,CAAC,iCAAiC,CAAC,CACtC,CAAC,EACNN,cAAc,iBACbV,KAAA,CAAAsB,aAAA,CAACZ,cAAc;IAACD,iBAAiB,EAAEA;EAAkB,CAAE,CAErD,CAAC;AAEX,CAAC;AAED,MAAMe,MAAM,GAAGtB,UAAU,CAACiC,MAAM,CAAC;EAC/BV,aAAa,EAAE;IACbW,OAAO,EAAE,EAAE;IACXC,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","View","StyleSheet","Text","useTheme","useCallStateHooks","useI18n","Lock","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","variants","styles","useStyles","useCallSession","t","session","numberOfParticipants","participants","length","participantsText","createElement","style","mainContainer","infoContainer","textContainer","iconContainer","color","iconPrimary","size","iconSizes","md","textPrimary","infoText","create","padding","spacingSizes","sm","flexDirection","alignItems","justifyContent","backgroundColor","sheetTertiary","paddingHorizontal","paddingVertical","xs","borderRadius","borderRadiusSizes","marginRight","fontSize","fontSizes","lineHeight","fontWeight"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/LobbyFooter.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAEtC,SAASC,IAAI,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,iBAAiB,EAAEC,OAAO,QAAQ,iCAAiC;AAC5E,SAASC,IAAI,QAAQ,qBAAqB;;AAE1C;AACA;AACA;;AAMA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CAAC,EACJ,CAAC5C,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import { ImageBackground, StyleSheet, Text, View } from 'react-native';
3
3
  import { useCallStateHooks, useConnectedUser, useI18n } from '@stream-io/video-react-bindings';
4
4
  import { UserInfo } from './UserInfo';
5
- import { CallTopView as DefaultCallTopView } from '../CallTopView';
6
5
  import { IncomingCallControls as DefaultIncomingCallControls } from '../CallControls';
7
6
  import { useTheme } from '../../../contexts';
8
7
  import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefaultMediaStreamSettings';
@@ -18,7 +17,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
18
17
  export const IncomingCall = ({
19
18
  onAcceptCallHandler,
20
19
  onRejectCallHandler,
21
- CallTopView = DefaultCallTopView,
22
20
  IncomingCallControls = DefaultIncomingCallControls,
23
21
  landscape
24
22
  }) => {
@@ -36,13 +34,13 @@ export const IncomingCall = ({
36
34
  const landscapeContentStyles = {
37
35
  flexDirection: landscape ? 'row' : 'column'
38
36
  };
39
- return /*#__PURE__*/React.createElement(Background, null, CallTopView && /*#__PURE__*/React.createElement(CallTopView, null), /*#__PURE__*/React.createElement(View, {
37
+ return /*#__PURE__*/React.createElement(Background, null, /*#__PURE__*/React.createElement(View, {
40
38
  style: [styles.content, landscapeContentStyles, incomingCall.content]
41
39
  }, /*#__PURE__*/React.createElement(View, {
42
40
  style: [styles.topContainer, incomingCall.topContainer]
43
41
  }, /*#__PURE__*/React.createElement(UserInfo, null), /*#__PURE__*/React.createElement(Text, {
44
42
  style: [styles.incomingCallText, {
45
- color: colors.static_white
43
+ color: colors.textPrimary
46
44
  }, typefaces.heading6, incomingCall.incomingCallText]
47
45
  }, t('Incoming Call...'))), /*#__PURE__*/React.createElement(View, {
48
46
  style: [styles.bottomContainer, incomingCall.bottomContainer]
@@ -81,13 +79,13 @@ const Background = ({
81
79
  uri: avatarsToShow[0]
82
80
  },
83
81
  style: [styles.background, {
84
- backgroundColor: colors.static_grey
82
+ backgroundColor: colors.sheetTertiary
85
83
  }, incomingCall.background]
86
84
  }, children);
87
85
  }
88
86
  return /*#__PURE__*/React.createElement(View, {
89
87
  style: [styles.background, {
90
- backgroundColor: colors.static_grey
88
+ backgroundColor: colors.sheetTertiary
91
89
  }, incomingCall.background]
92
90
  }, children);
93
91
  };
@@ -99,7 +97,8 @@ export const styles = StyleSheet.create({
99
97
  flex: 1
100
98
  },
101
99
  topContainer: {
102
- flex: 1
100
+ flex: 1,
101
+ justifyContent: 'center'
103
102
  },
104
103
  incomingCallText: {
105
104
  marginTop: 8,
@@ -1 +1 @@
1
- {"version":3,"names":["React","ImageBackground","StyleSheet","Text","View","useCallStateHooks","useConnectedUser","useI18n","UserInfo","CallTopView","DefaultCallTopView","IncomingCallControls","DefaultIncomingCallControls","useTheme","useApplyDefaultMediaStreamSettings","IncomingCall","onAcceptCallHandler","onRejectCallHandler","landscape","t","theme","colors","incomingCall","typefaces","landscapeContentStyles","flexDirection","createElement","Background","style","styles","content","topContainer","incomingCallText","color","static_white","heading6","bottomContainer","incomingCallControls","children","connectedUser","useCallMembers","members","avatarsToShow","filter","user","id","map","image","length","blurRadius","source","uri","background","backgroundColor","static_grey","create","flex","marginTop","textAlign","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/IncomingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,eAAe,EACfC,UAAU,EACVC,IAAI,EACJC,IAAI,QAEC,cAAc;AACrB,SACEC,iBAAiB,EACjBC,gBAAgB,EAChBC,OAAO,QACF,iCAAiC;AACxC,SAASC,QAAQ,QAAQ,YAAY;AACrC,SACEC,WAAW,IAAIC,kBAAkB,QAE5B,gBAAgB;AACvB,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,kCAAkC,QAAQ,mDA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vB,GAEDd,QACc,CAAC;EAEtB;EACA,oBACEtC,KAAA,CAAA0B,aAAA,CAACtB,IAAI;IACHwB,KAAK,EAAE,CACLC,MAAM,CAACuB,UAAU,EACjB;MAAEC,eAAe,EAAEhC,MAAM,CAACiC;IAAY,CAAC,EACvChC,YAAY,CAAC8B,UAAU;EACvB,GAEDd,QACG,CAAC;AAEX,CAAC;AAED,OAAO,MAAMT,MAAM,GAAG3B,UAAU,CAACqD,MAAM,CAAC;EACtCH,UAAU,EAAE;IACVI,IAAI,EAAE;EACR,CAAC;EACD1B,OAAO,EAAE;IACP0B,IAAI,EAAE;EACR,CAAC;EACDzB,YAAY,EAAE;IAAEyB,IAAI,EAAE;EAAE,CAAC;EACzBxB,gBAAgB,EAAE;IAChByB,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACDtB,eAAe,EAAE;IAAEoB,IAAI,EAAE,CAAC;IAAEG,cAAc,EAAE;EAAS,CAAC;EACtDtB,oBAAoB,EAAE;IACpBsB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","ImageBackground","StyleSheet","Text","View","useCallStateHooks","useConnectedUser","useI18n","UserInfo","IncomingCallControls","DefaultIncomingCallControls","useTheme","useApplyDefaultMediaStreamSettings","IncomingCall","onAcceptCallHandler","onRejectCallHandler","landscape","t","theme","colors","incomingCall","typefaces","landscapeContentStyles","flexDirection","createElement","Background","style","styles","content","topContainer","incomingCallText","color","textPrimary","heading6","bottomContainer","incomingCallControls","children","connectedUser","useCallMembers","members","avatarsToShow","filter","user","id","map","image","length","blurRadius","source","uri","background","backgroundColor","sheetTertiary","create","flex","justifyContent","marginTop","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/IncomingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,eAAe,EACfC,UAAU,EACVC,IAAI,EACJC,IAAI,QAEC,cAAc;AACrB,SACEC,iBAA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M,CAACuB,UAAU,EACjB;QAAEC,eAAe,EAAEhC,MAAM,CAACiC;MAAc,CAAC,EACzChC,YAAY,CAAC8B,UAAU;IACvB,GAEDd,QACc,CAAC;EAEtB;EACA,oBACEpC,KAAA,CAAAwB,aAAA,CAACpB,IAAI;IACHsB,KAAK,EAAE,CACLC,MAAM,CAACuB,UAAU,EACjB;MAAEC,eAAe,EAAEhC,MAAM,CAACiC;IAAc,CAAC,EACzChC,YAAY,CAAC8B,UAAU;EACvB,GAEDd,QACG,CAAC;AAEX,CAAC;AAED,OAAO,MAAMT,MAAM,GAAGzB,UAAU,CAACmD,MAAM,CAAC;EACtCH,UAAU,EAAE;IACVI,IAAI,EAAE;EACR,CAAC;EACD1B,OAAO,EAAE;IACP0B,IAAI,EAAE;EACR,CAAC;EACDzB,YAAY,EAAE;IAAEyB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnDzB,gBAAgB,EAAE;IAChB0B,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACDvB,eAAe,EAAE;IAAEoB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACtDpB,oBAAoB,EAAE;IACpBoB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -6,7 +6,6 @@ import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
6
6
  import { RTCView } from '@stream-io/react-native-webrtc';
7
7
  import { useTheme } from '../../../contexts/ThemeContext';
8
8
  import { OutgoingCallControls as DefaultOutgoingCallControls } from '../CallControls';
9
- import { CallTopView as DefaultCallTopView } from '../CallTopView';
10
9
  import { useCallMediaStreamCleanup } from '../../../hooks/internal/useCallMediaStreamCleanup';
11
10
  import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefaultMediaStreamSettings';
12
11
 
@@ -19,7 +18,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
19
18
  * Used after the user has initiated a call.
20
19
  */
21
20
  export const OutgoingCall = ({
22
- CallTopView = DefaultCallTopView,
23
21
  OutgoingCallControls = DefaultOutgoingCallControls,
24
22
  landscape
25
23
  }) => {
@@ -40,13 +38,13 @@ export const OutgoingCall = ({
40
38
  };
41
39
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
42
40
  style: [StyleSheet.absoluteFill, styles.container, outgoingCall.container]
43
- }, CallTopView && /*#__PURE__*/React.createElement(CallTopView, null), /*#__PURE__*/React.createElement(View, {
41
+ }, /*#__PURE__*/React.createElement(View, {
44
42
  style: [styles.content, landscapeContentStyles, outgoingCall.content]
45
43
  }, /*#__PURE__*/React.createElement(View, {
46
44
  style: [styles.topContainer, outgoingCall.topContainer]
47
45
  }, /*#__PURE__*/React.createElement(UserInfo, null), /*#__PURE__*/React.createElement(Text, {
48
46
  style: [styles.callingText, {
49
- color: colors.static_white
47
+ color: colors.textPrimary
50
48
  }, typefaces.heading6, outgoingCall.callingText]
51
49
  }, t('Calling...'))), /*#__PURE__*/React.createElement(View, {
52
50
  style: [styles.bottomContainer, outgoingCall.bottomContainer]
@@ -72,13 +70,13 @@ const Background = () => {
72
70
  if (isMute || !localVideoStream) {
73
71
  return /*#__PURE__*/React.createElement(View, {
74
72
  style: [styles.background, {
75
- backgroundColor: colors.static_grey
73
+ backgroundColor: colors.sheetSecondary
76
74
  }, outgoingCall.background]
77
75
  });
78
76
  }
79
77
  return /*#__PURE__*/React.createElement(View, {
80
78
  style: [styles.background, {
81
- backgroundColor: colors.static_grey
79
+ backgroundColor: colors.sheetSecondary
82
80
  }, outgoingCall.background]
83
81
  }, /*#__PURE__*/React.createElement(RTCView, {
84
82
  streamURL: localVideoStream.toURL(),
@@ -96,7 +94,8 @@ const styles = StyleSheet.create({
96
94
  zIndex: Z_INDEX.IN_MIDDLE
97
95
  },
98
96
  topContainer: {
99
- flex: 1
97
+ flex: 1,
98
+ justifyContent: 'center'
100
99
  },
101
100
  content: {
102
101
  flex: 1
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","Text","View","UserInfo","Z_INDEX","useCallStateHooks","useI18n","RTCView","useTheme","OutgoingCallControls","DefaultOutgoingCallControls","CallTopView","DefaultCallTopView","useCallMediaStreamCleanup","useApplyDefaultMediaStreamSettings","OutgoingCall","landscape","theme","colors","typefaces","outgoingCall","t","landscapeContentStyles","flexDirection","createElement","Fragment","style","absoluteFill","styles","container","content","topContainer","callingText","color","static_white","heading6","bottomContainer","outgoingCallControls","Background","useCameraState","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","static_grey","streamURL","toURL","zOrder","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","marginTop","textAlign","alignSelf","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAmB,cAAc;AAChE,SAASC,QAAQ,QAAQ,YAAY;AACrC,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,iBAAiB,EAAEC,OAAO,QAAQ,iCAAiC;AAC5E,SAAsBC,OAAO,QAAQ,gCAAgC;AACrE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,iBAAiB;AACxB,SACEC,WAAW,IAAIC,kBAAkB,QAE5B,gBAAgB;AACvB,SAASC,yBAAyB,QAAQ,mDAAmD;AAC7F,SAASC,kCAAkC,QAAQ,mDAAmD;;AAEtG;AACA;AACA;;AAiBA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BJ,WAAW,GAAGC,kBAAkB;EAChCH,oBAAoB,GAAGC,2BAA2B;EAClDM;AACiB,CAAC,KAAK;EACvB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAa;EAC3C,CAAC,GAAGZ,QAA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AM,GAAG5B,UAAU,CAACsD,MAAM,CAAC;EAC/BT,UAAU,EAAE;IACVU,IAAI,EAAE;EACR,CAAC;EACD1B,SAAS,EAAE;IACT2B,MAAM,EAAEpD,OAAO,CAACqD;EAClB,CAAC;EACD1B,YAAY,EAAE;IAAEwB,IAAI,EAAE;EAAE,CAAC;EACzBzB,OAAO,EAAE;IACPyB,IAAI,EAAE;EACR,CAAC;EACDvB,WAAW,EAAE;IACX0B,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE;EACb,CAAC;EACDvB,eAAe,EAAE;IAAEmB,IAAI,EAAE,CAAC;IAAEK,SAAS,EAAE,QAAQ;IAAEC,cAAc,EAAE;EAAS,CAAC;EAC3ExB,oBAAoB,EAAE;IACpBwB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","Text","View","UserInfo","Z_INDEX","useCallStateHooks","useI18n","RTCView","useTheme","OutgoingCallControls","DefaultOutgoingCallControls","useCallMediaStreamCleanup","useApplyDefaultMediaStreamSettings","OutgoingCall","landscape","theme","colors","typefaces","outgoingCall","t","landscapeContentStyles","flexDirection","createElement","Fragment","style","absoluteFill","styles","container","content","topContainer","callingText","color","textPrimary","heading6","bottomContainer","outgoingCallControls","Background","useCameraState","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","sheetSecondary","streamURL","toURL","zOrder","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","justifyContent","marginTop","textAlign","alignSelf"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAmB,cAAc;AAChE,SAASC,QAAQ,QAAQ,YAAY;AACrC,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,iBAAiB,EAAEC,OAAO,QAAQ,iCAAiC;AAC5E,SAAsBC,OAAO,QAAQ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MAAM,CAAC6B;IAAe,CAAC,EAC1C3B,YAAY,CAACyB,UAAU;EACvB,gBAEF5C,KAAA,CAAAuB,aAAA,CAACf,OAAO;IACNuC,SAAS,EAAEN,gBAAgB,CAACO,KAAK,CAAC,CAAE;IACpCC,MAAM,EAAE5C,OAAO,CAAC6C,OAAQ;IACxBzB,KAAK,EAAExB,UAAU,CAACyB,YAAa;IAC/ByB,MAAM;IACNC,SAAS,EAAC;EAAO,CAClB,CACG,CAAC;AAEX,CAAC;AAED,MAAMzB,MAAM,GAAG1B,UAAU,CAACoD,MAAM,CAAC;EAC/BT,UAAU,EAAE;IACVU,IAAI,EAAE;EACR,CAAC;EACD1B,SAAS,EAAE;IACT2B,MAAM,EAAElD,OAAO,CAACmD;EAClB,CAAC;EACD1B,YAAY,EAAE;IAAEwB,IAAI,EAAE,CAAC;IAAEG,cAAc,EAAE;EAAS,CAAC;EACnD5B,OAAO,EAAE;IACPyB,IAAI,EAAE;EACR,CAAC;EACDvB,WAAW,EAAE;IACX2B,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE;EACb,CAAC;EACDxB,eAAe,EAAE;IAAEmB,IAAI,EAAE,CAAC;IAAEM,SAAS,EAAE,QAAQ;IAAEH,cAAc,EAAE;EAAS,CAAC;EAC3ErB,oBAAoB,EAAE;IACpBqB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -17,7 +17,6 @@ const RingingCallPanel = ({
17
17
  IncomingCall = DefaultIncomingCall,
18
18
  OutgoingCall = DefaultOutgoingCall,
19
19
  CallContent = DefaultCallContent,
20
- CallTopView,
21
20
  CallLeftIndicator = DefaultCallLeftIndicator,
22
21
  CallPreparingIndicator = DefaultCallPreparingIndicator,
23
22
  landscape,
@@ -32,10 +31,8 @@ const RingingCallPanel = ({
32
31
  switch (callingState) {
33
32
  case CallingState.RINGING:
34
33
  return isCallCreatedByMe ? OutgoingCall && /*#__PURE__*/React.createElement(OutgoingCall, {
35
- CallTopView: CallTopView,
36
34
  landscape: landscape
37
35
  }) : IncomingCall && /*#__PURE__*/React.createElement(IncomingCall, {
38
- CallTopView: CallTopView,
39
36
  landscape: landscape
40
37
  });
41
38
  case CallingState.LEFT:
@@ -48,7 +45,6 @@ const RingingCallPanel = ({
48
45
  });
49
46
  default:
50
47
  return CallContent && /*#__PURE__*/React.createElement(CallContent, {
51
- CallTopView: CallTopView,
52
48
  landscape: landscape
53
49
  });
54
50
  }
@@ -1 +1 @@
1
- {"version":3,"names":["CallingState","useCall","useCallStateHooks","React","StyleSheet","View","CallContent","DefaultCallContent","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallLeftIndicator","DefaultCallLeftIndicator","CallPreparingIndicator","DefaultCallPreparingIndicator","useTheme","RingingCallPanel","CallTopView","landscape","onBackPress","call","isCallCreatedByMe","isCreatedByMe","useCallCallingState","callingState","RINGING","createElement","LEFT","IDLE","RingingCallContent","props","theme","ringingCallContent","style","styles","container","create","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/RingingCallContent.tsx"],"mappings":"AAAA,SAASA,YAAY,QAAQ,yBAAyB;AACtD,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SACEC,WAAW,IAAIC,kBAAkB,QAE5B,gBAAgB;AAEvB,SACEC,YAAY,IAAIC,mBAAmB,QAE9B,gBAAgB;AACvB,SACEC,YAAY,IAAIC,mBAAmB,QAE9B,gBAAgB;AACvB,SACEC,iBAAiB,IAAIC,wBAAwB,QAExC,qBAAqB;AAC5B,SACEC,sBAAsB,IAAIC,6BAA6B,QAElD,0BAA0B;AACjC,SAASC,QAAQ,QAAQ,mBAAmB;;AAE5C;AACA;AACA;;AAsCA,MAAMC,gBAAgB,GAAGA,CAAC;EACxBT,YAAY,GAAGC,mBAAmB;EAClCC,YAAY,GAAGC,mBAAmB;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oBACEb,KAAA,CAAAwB,aAAA,CAACtB,IAAI;IAAC6B,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEH,kBAAkB,CAACG,SAAS;EAAE,gBAC5DjC,KAAA,CAAAwB,aAAA,CAACV,gBAAgB,EAAKc,KAAQ,CAC1B,CAAC;AAEX,CAAC;AAED,MAAMI,MAAM,GAAG/B,UAAU,CAACiC,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACT,GAAGhC,UAAU,CAACkC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CallingState","useCall","useCallStateHooks","React","StyleSheet","View","CallContent","DefaultCallContent","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallLeftIndicator","DefaultCallLeftIndicator","CallPreparingIndicator","DefaultCallPreparingIndicator","useTheme","RingingCallPanel","landscape","onBackPress","call","isCallCreatedByMe","isCreatedByMe","useCallCallingState","callingState","RINGING","createElement","LEFT","IDLE","RingingCallContent","props","theme","ringingCallContent","style","styles","container","create","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/RingingCallContent.tsx"],"mappings":"AAAA,SAASA,YAAY,QAAQ,yBAAyB;AACtD,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SACEC,WAAW,IAAIC,kBAAkB,QAE5B,gBAAgB;AACvB,SACEC,YAAY,IAAIC,mBAAmB,QAE9B,gBAAgB;AACvB,SACEC,YAAY,IAAIC,mBAAmB,QAE9B,gBAAgB;AACvB,SACEC,iBAAiB,IAAIC,wBAAwB,QAExC,qBAAqB;AAC5B,SACEC,sBAAsB,IAAIC,6BAA6B,QAElD,0BAA0B;AACjC,SAASC,QAAQ,QAAQ,mBAAmB;;AAE5C;AACA;AACA;;AAkCA,MAAMC,gBAAgB,GAAGA,CAAC;EACxBT,YAAY,G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;IAAC4B,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEH,kBAAkB,CAACG,SAAS;EAAE,gBAC5DhC,KAAA,CAAAuB,aAAA,CAACT,gBAAgB,EAAKa,KAAQ,CAC1B,CAAC;AAEX,CAAC;AAED,MAAMI,MAAM,GAAG9B,UAAU,CAACgC,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACT,GAAG/B,UAAU,CAACiC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -14,7 +14,7 @@ export const TextBasedIndicator = props => {
14
14
  } = useTheme();
15
15
  return /*#__PURE__*/React.createElement(View, {
16
16
  style: [styles.container, {
17
- backgroundColor: colors.static_grey
17
+ backgroundColor: colors.sheetTertiary
18
18
  }]
19
19
  }, props.onBackPress && /*#__PURE__*/React.createElement(View, {
20
20
  style: styles.backContainer
@@ -28,12 +28,12 @@ export const TextBasedIndicator = props => {
28
28
  width: iconSizes.md
29
29
  }]
30
30
  }, /*#__PURE__*/React.createElement(Back, {
31
- color: colors.static_white
31
+ color: colors.iconPrimary
32
32
  }))), /*#__PURE__*/React.createElement(View, {
33
33
  style: styles.textContainer
34
34
  }, /*#__PURE__*/React.createElement(Text, {
35
35
  style: [styles.text, {
36
- color: colors.static_white
36
+ color: colors.textPrimary
37
37
  }, typefaces.heading6]
38
38
  }, props.text)));
39
39
  };
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","Text","Pressable","useTheme","Back","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","createElement","style","styles","container","backgroundColor","static_grey","onBackPress","backContainer","onPress","pressed","opacity","height","md","width","color","static_white","textContainer","text","heading6","create","flex","padding","paddingTop","justifyContent","alignItems","fontSize"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/TextBasedIndicator.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;AAChE,SAAS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AS,EAAE;IACTiB,IAAI,EAAE;EACR,CAAC;EACDb,aAAa,EAAE;IACbc,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE;EACd,CAAC;EACDN,aAAa,EAAE;IACbI,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDP,IAAI,EAAE;IACJQ,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","Text","Pressable","useTheme","Back","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","createElement","style","styles","container","backgroundColor","sheetTertiary","onBackPress","backContainer","onPress","pressed","opacity","height","md","width","color","iconPrimary","textContainer","text","textPrimary","heading6","create","flex","padding","paddingTop","justifyContent","alignItems","fontSize"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/TextBasedIndicator.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;AAChE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,IAAI,QAAQ,qBAAqB;AAO1C,OAAO,MAAMC,kBAAkB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAU;IACxB;EACF,CAAC,GAAGR,QAAQ,CAAC,CAAC;EAEd,oBACEL,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAE;MAAEC,eAAe,EAAER,MAAM,CAACS;IAAc,CAAC;EAAE,GACxEX,KAAK,CAACY,WAAW,iBAChBpB,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACK;EAAc,gBAChCrB,KAAA,CAAAc,aAAA,CAACV,SAAS;IACRkB,OAAO,EAAEd,KAAK,CAACY,WAAY;IAC3BL,KAAK,EAAEA,CAAC;MAAEQ;IAAQ,CAAC,KAAK,CACtB;MACEC,OAAO,EAAED,OAAO,GAAG,GAAG,GAAG,CAAC;MAC1BE,MAAM,EAAEZ,SAAS,CAACa,EAAE;MACpBC,KAAK,EAAEd,SAAS,CAACa;IACnB,CAAC;EACD,gBAEF1B,KAAA,CAAAc,aAAA,CAACR,IAAI;IAACsB,KAAK,EAAElB,MAAM,CAACmB;EAAY,CAAE,CACzB,CACP,CACP,eACD7B,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACc;EAAc,gBAChC9B,KAAA,CAAAc,aAAA,CAACX,IAAI;IACHY,KAAK,EAAE,CACLC,MAAM,CAACe,IAAI,EACX;MAAEH,KAAK,EAAElB,MAAM,CAACsB;IAAY,CAAC,EAC7BrB,SAAS,CAACsB,QAAQ;EAClB,GAEDzB,KAAK,CAACuB,IACH,CACF,CACF,CAAC;AAEX,CAAC;AAED,MAAMf,MAAM,GAAGf,UAAU,CAACiC,MAAM,CAAC;EAC/BjB,SAAS,EAAE;IACTkB,IAAI,EAAE;EACR,CAAC;EACDd,aAAa,EAAE;IACbe,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE;EACd,CAAC;EACDP,aAAa,EAAE;IACbK,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDR,IAAI,EAAE;IACJS,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -77,7 +77,7 @@ export const UserInfo = ({
77
77
  });
78
78
  })), /*#__PURE__*/React.createElement(Text, {
79
79
  style: [styles.name, fontStyleByMembersCount, {
80
- color: colors.static_white
80
+ color: colors.textPrimary
81
81
  }, userInfo.name]
82
82
  }, callTitle));
83
83
  };
@@ -1 +1 @@
1
- {"version":3,"names":["React","Image","StyleSheet","Text","View","generateCallTitle","useCallStateHooks","useConnectedUser","useTheme","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","connectedUser","useCallMembers","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","style","styles","container","avatarGroup","image","key","source","uri","color","static_white","create","paddingHorizontal","display","flexDirection","justifyContent","flexWrap","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/UserInfo.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,iBAAiB,QAAQ,gBAAgB;AAClD,SACEC,iBAAiB,EACjBC,gBAAgB,QACX,iCAAiC;AAExC,SAASC,QAAQ,QAAQ,gCAAgC;AAAC,IAErDC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA,EAAXA,WAAW;AAoBhB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,WAAW,GAAG,KAAK;EACnBC,kBAAkB,GAAG;AACT,CAAC,KAAK;EAClB,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAY,CAAC;MACzBC;IACF;EACF,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAMW,aAAa,GAAGZ,gBAAgB,CAAC,CAAC;EACxC,MAAM;IAAEa;EAAe,CAAC,GAAGd,iBAAiB,CAAC,CAAC;EAC9C,MAAMe,OAAO,GAAGD,cAAc,CAAC,CAAC;;EAEhC;EACA,MAAME,aAA6B,GAAG,CAACD,OAAO,IAAI,EAAE,EACjDE,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACC,OAAO,KAAKN,aAAa,EAAEO,EA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,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","Image","StyleSheet","Text","View","generateCallTitle","useCallStateHooks","useConnectedUser","useTheme","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","connectedUser","useCallMembers","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","style","styles","container","avatarGroup","image","key","source","uri","color","textPrimary","create","paddingHorizontal","display","flexDirection","justifyContent","flexWrap","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/UserInfo.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,iBAAiB,QAAQ,gBAAgB;AAClD,SACEC,iBAAiB,EACjBC,gBAAgB,QACX,iCAAiC;AAExC,SAASC,QAAQ,QAAQ,gCAAgC;AAAC,IAErDC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA,EAAXA,WAAW;AAoBhB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,WAAW,GAAG,KAAK;EACnBC,kBAAkB,GAAG;AACT,CAAC,KAAK;EAClB,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAY,CAAC;MACzBC;IACF;EACF,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAMW,aAAa,GAAGZ,gBAAgB,CAAC,CAAC;EACxC,MAAM;IAAEa;EAAe,CAAC,GAAGd,iBAAiB,CAAC,CAAC;EAC9C,MAAMe,OAAO,GAAGD,cAAc,CAAC,CAAC;;EAE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Aa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,QAAQ,EAAE;EACZ,CAAC;EACDhC,IAAI,EAAE;IACJiC,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,4 @@
1
1
  export * from './CallContent';
2
- export * from './CallTopView';
3
2
  export * from './CallLayout';
4
3
  export * from './CallControls';
5
4
  export * from './CallParticipantsList';
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Call/index.ts"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,wBAAwB;AACtC,cAAc,sBAAsB;AACpC,cAAc,SAAS","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Call/index.ts"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,wBAAwB;AACtC,cAAc,sBAAsB;AACpC,cAAc,SAAS","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import React, { useEffect } from 'react';
1
+ import React, { useEffect, useMemo } from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
3
  import InCallManager from 'react-native-incall-manager';
4
4
  import { useTheme } from '../../../contexts';
@@ -34,6 +34,7 @@ export const HostLivestream = ({
34
34
  hls,
35
35
  disableStopPublishedStreamsOnEndStream
36
36
  }) => {
37
+ const styles = useStyles();
37
38
  const {
38
39
  theme: {
39
40
  colors,
@@ -67,7 +68,7 @@ export const HostLivestream = ({
67
68
  };
68
69
  return /*#__PURE__*/React.createElement(View, {
69
70
  style: [styles.container, {
70
- backgroundColor: colors.dark_gray
71
+ backgroundColor: colors.sheetTertiary
71
72
  }, hostLivestream.container]
72
73
  }, HostLivestreamTopView && /*#__PURE__*/React.createElement(View, {
73
74
  style: styles.topViewContainer,
@@ -94,23 +95,33 @@ export const HostLivestream = ({
94
95
  disableStopPublishedStreamsOnEndStream: disableStopPublishedStreamsOnEndStream
95
96
  }));
96
97
  };
97
- const styles = StyleSheet.create({
98
- container: {
99
- flex: 1
100
- },
101
- topViewContainer: {
102
- position: 'absolute',
103
- top: 0,
104
- left: 0,
105
- right: 0,
106
- zIndex: Z_INDEX.IN_FRONT
107
- },
108
- controlsViewContainer: {
109
- position: 'absolute',
110
- bottom: 0,
111
- left: 0,
112
- right: 0,
113
- zIndex: Z_INDEX.IN_FRONT
114
- }
115
- });
98
+ const useStyles = () => {
99
+ const {
100
+ theme
101
+ } = useTheme();
102
+ return useMemo(() => StyleSheet.create({
103
+ container: {
104
+ flex: 1,
105
+ paddingBottom: theme.variants.insets.bottom,
106
+ paddingLeft: theme.variants.insets.left,
107
+ paddingRight: theme.variants.insets.right,
108
+ paddingTop: theme.variants.insets.top,
109
+ backgroundColor: theme.colors.sheetPrimary
110
+ },
111
+ topViewContainer: {
112
+ position: 'absolute',
113
+ top: 0,
114
+ left: 0,
115
+ right: 0,
116
+ zIndex: Z_INDEX.IN_FRONT
117
+ },
118
+ controlsViewContainer: {
119
+ position: 'absolute',
120
+ bottom: 0,
121
+ left: 0,
122
+ right: 0,
123
+ zIndex: Z_INDEX.IN_FRONT
124
+ }
125
+ }), [theme]);
126
+ };
116
127
  //# sourceMappingURL=HostLivestream.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","StyleSheet","View","InCallManager","useTheme","HostLivestreamTopView","DefaultHostLivestreamTopView","HostLivestreamControls","DefaultHostLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useCallStateHooks","hasVideo","ScreenShareOverlay","DefaultScreenShaerOverlay","HostLivestream","LiveIndicator","FollowerCount","DurationBadge","HostStartStreamButton","LivestreamMediaControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","theme","colors","hostLivestream","useParticipants","useHasOngoingScreenShare","currentSpeaker","hasOngoingScreenShare","floatingParticipant","start","media","stop","topViewHeight","setTopViewHeight","useState","controlsHeight","setControlsHeight","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","style","styles","container","backgroundColor","dark_gray","topViewContainer","participant","draggableContainerStyle","absoluteFill","top","bottom","create","flex","position","left","right","zIndex","IN_FRONT","controlsViewContainer"],"sourceRoot":"../../../../../src","sources":["components/Livestream/HostLivestream/HostLivestream.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,OAAOC,aAAa,MAAM,6BAA6B;AAEvD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SACEC,qBAAqB,IAAIC,4BAA4B,QAEhD,4CAA4C;AACnD,SACEC,sBAAsB,IAAIC,6BAA6B,QAElD,8CAA8C;AACrD,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,qBAAqB;AAC5B,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2CAA2C;AAClD,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SACEC,kBAAkB,IAAIC,yBAAyB,QAE1C,kCAAkC;;AAEzC;AACA;AACA;;AAyBA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7Bb,qBAAqB,GAAGC,4BAA4B;EACpDC,sBAAsB,GAAGC,6BAA6B;EACtDC,gBAAgB,GAAGC,uBAAuB;EAC1CE,uBAAuB,GAAGC,8BAA8B;EACxDG,kBAAkB,GAAGC,yBAAyB;EAC9CE,aAAa;EACbC,aAAa;EACbC,aAAa;EACbC,qBAAqB;EACrBC,uBAAuB;EACvBC,kBAAkB;EAClBC,oBAAoB;EACpBC,GAAG;EACHC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,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AE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAExD,OAAO,CAACyD;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useMemo","StyleSheet","View","InCallManager","useTheme","HostLivestreamTopView","DefaultHostLivestreamTopView","HostLivestreamControls","DefaultHostLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useCallStateHooks","hasVideo","ScreenShareOverlay","DefaultScreenShaerOverlay","HostLivestream","LiveIndicator","FollowerCount","DurationBadge","HostStartStreamButton","LivestreamMediaControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","styles","useStyles","theme","colors","hostLivestream","useParticipants","useHasOngoingScreenShare","currentSpeaker","hasOngoingScreenShare","floatingParticipant","start","media","stop","topViewHeight","setTopViewHeight","useState","controlsHeight","setControlsHeight","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","style","container","backgroundColor","sheetTertiary","topViewContainer","participant","draggableContainerStyle","absoluteFill","top","bottom","create","flex","paddingBottom","variants","insets","paddingLeft","left","paddingRight","right","paddingTop","sheetPrimary","position","zIndex","IN_FRONT","controlsViewContainer"],"sourceRoot":"../../../../../src","sources":["components/Livestream/HostLivestream/HostLivestream.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACjD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,OAAOC,aAAa,MAAM,6BAA6B;AAEvD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SACEC,qBAAqB,IAAIC,4BAA4B,QAEhD,4CAA4C;AACnD,SACEC,sBAAsB,IAAIC,6BAA6B,QAElD,8CAA8C;AACrD,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,qBAAqB;AAC5B,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2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AC7CC,uBAAuB,EAAEA,uBAAwB;IACjDG,GAAG,EAAEA,GAAI;IACTqB,QAAQ,EAAGC,KAAK,IAAK;MACnBH,iBAAiB,CAACG,KAAK,CAACC,WAAW,CAACC,MAAM,CAACC,MAAM,CAAC;IACpD,CAAE;IACFxB,sCAAsC,EACpCA;EACD,CACF,CAEC,CAAC;AAEX,CAAC;AAED,MAAME,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEC;EAAM,CAAC,GAAG1B,QAAQ,CAAC,CAAC;EAC5B,OAAOJ,OAAO,CACZ,MACEC,UAAU,CAAC8D,MAAM,CAAC;IAChBT,SAAS,EAAE;MACTU,IAAI,EAAE,CAAC;MACPC,aAAa,EAAEnC,KAAK,CAACoC,QAAQ,CAACC,MAAM,CAACL,MAAM;MAC3CM,WAAW,EAAEtC,KAAK,CAACoC,QAAQ,CAACC,MAAM,CAACE,IAAI;MACvCC,YAAY,EAAExC,KAAK,CAACoC,QAAQ,CAACC,MAAM,CAACI,KAAK;MACzCC,UAAU,EAAE1C,KAAK,CAACoC,QAAQ,CAACC,MAAM,CAACN,GAAG;MACrCN,eAAe,EAAEzB,KAAK,CAACC,MAAM,CAAC0C;IAChC,CAAC;IACDhB,gBAAgB,EAAE;MAChBiB,QAAQ,EAAE,UAAU;MACpBb,GAAG,EAAE,CAAC;MACNQ,IAAI,EAAE,CAAC;MACPE,KAAK,EAAE,CAAC;MACRI,MAAM,EAAEhE,OAAO,CAACiE;IAClB,CAAC;IACDC,qBAAqB,EAAE;MACrBH,QAAQ,EAAE,UAAU;MACpBZ,MAAM,EAAE,CAAC;MACTO,IAAI,EAAE,CAAC;MACPE,KAAK,EAAE,CAAC;MACRI,MAAM,EAAEhE,OAAO,CAACiE;IAClB;EACF,CAAC,CAAC,EACJ,CAAC9C,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -29,7 +29,7 @@ export const HostLivestreamControls = ({
29
29
  } = useTheme();
30
30
  return /*#__PURE__*/React.createElement(View, {
31
31
  style: [styles.container, {
32
- backgroundColor: colors.static_overlay
32
+ backgroundColor: colors.sheetOverlay
33
33
  }, hostLivestreamControls.container],
34
34
  onLayout: onLayout
35
35
  }, /*#__PURE__*/React.createElement(View, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","HostStartStreamButton","DefaultHostStartStreamButton","LivestreamMediaControls","DefaultLivestreamMediaControls","useTheme","Z_INDEX","HostLivestreamControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","onLayout","theme","colors","hostLivestreamControls","createElement","style","styles","container","backgroundColor","static_overlay","leftElement","rightElement","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostLivestreamControls.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SACEC,qBAAqB,IAAIC,4BAA4B,QAEhD,yBAAyB;AAChC,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2BAA2B;AAClC,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;;AAE5C;AACA;AACA;;AAaA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EACrCN,qBAAqB,GAAGC,4BAA4B;EACpDC,uBAAuB,GAAGC,8BAA8B;EACxDI,kBAAkB;EAClBC,oBAAoB;EACpBC,GAAG;EACHC,sCAAsC;EACtCC;AAC2B,CAAC,KAAK;EACjC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAuB;EAC1C,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,oBACEP,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IACHiB,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEN,MAAM,CAACO;IAAe,CAAC,EAC1CN,sBAAsB,CAACI,SAAS,CAChC;IACFP,QAAQ,EAAEA;EAAS,gBAEnBd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IAACiB,KAAK,EAAE,CAACC,MAAM,CAACI,WAAW,EAAEP,sBAAsB,CAACO,WAAW;EAAE,GACnErB,qBAAqB,iBACpBH,KAAA,CAAAkB,aAAA,CAACf,qBAAqB;IACpBO,kBAAkB,EAAEA,kBAAmB;IACvCC,oBAAoB,EAAEA,oBAAqB;IAC3CC,GAAG,EAAEA,GAAI;IACTC,sCAAsC,EACpCA;EACD,CACF,CAEC,CAAC,eACPb,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IAACiB,KAAK,EAAE,CAACC,MAAM,CAACK,YAAY,EAAER,sBAAsB,CAACQ,YAAY;EAAE,GACrEpB,uBAAuB,iBAAIL,KAAA,CAAAkB,aAAA,CAACb,uBAAuB,MAAE,CAClD,CACF,CAAC;AAEX,CAAC;AAED,MAAMe,MAAM,GAAGnB,UAAU,CAACyB,MAAM,CAAC;EAC/BL,SAAS,EAAE;IACTM,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,MAAM,EAAEzB,OAAO,CAAC0B;EAClB,CAAC;EACDV,WAAW,EAAE;IACXW,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd,CAAC;EACDL,YAAY,EAAE;IACZU,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","HostStartStreamButton","DefaultHostStartStreamButton","LivestreamMediaControls","DefaultLivestreamMediaControls","useTheme","Z_INDEX","HostLivestreamControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","onLayout","theme","colors","hostLivestreamControls","createElement","style","styles","container","backgroundColor","sheetOverlay","leftElement","rightElement","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostLivestreamControls.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SACEC,qBAAqB,IAAIC,4BAA4B,QAEhD,yBAAyB;AAChC,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2BAA2B;AAClC,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;;AAE5C;AACA;AACA;;AAaA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EACrCN,qBAAqB,GAAGC,4BAA4B;EACpDC,uBAAuB,GAAGC,8BAA8B;EACxDI,kBAAkB;EAClBC,oBAAoB;EACpBC,GAAG;EACHC,sCAAsC;EACtCC;AAC2B,CAAC,KAAK;EACjC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAuB;EAC1C,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,oBACEP,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IACHiB,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEN,MAAM,CAACO;IAAa,CAAC,EACxCN,sBAAsB,CAACI,SAAS,CAChC;IACFP,QAAQ,EAAEA;EAAS,gBAEnBd,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IAACiB,KAAK,EAAE,CAACC,MAAM,CAACI,WAAW,EAAEP,sBAAsB,CAACO,WAAW;EAAE,GACnErB,qBAAqB,iBACpBH,KAAA,CAAAkB,aAAA,CAACf,qBAAqB;IACpBO,kBAAkB,EAAEA,kBAAmB;IACvCC,oBAAoB,EAAEA,oBAAqB;IAC3CC,GAAG,EAAEA,GAAI;IACTC,sCAAsC,EACpCA;EACD,CACF,CAEC,CAAC,eACPb,KAAA,CAAAkB,aAAA,CAAChB,IAAI;IAACiB,KAAK,EAAE,CAACC,MAAM,CAACK,YAAY,EAAER,sBAAsB,CAACQ,YAAY;EAAE,GACrEpB,uBAAuB,iBAAIL,KAAA,CAAAkB,aAAA,CAACb,uBAAuB,MAAE,CAClD,CACF,CAAC;AAEX,CAAC;AAED,MAAMe,MAAM,GAAGnB,UAAU,CAACyB,MAAM,CAAC;EAC/BL,SAAS,EAAE;IACTM,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,MAAM,EAAEzB,OAAO,CAAC0B;EAClB,CAAC;EACDV,WAAW,EAAE;IACXW,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd,CAAC;EACDL,YAAY,EAAE;IACZU,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -80,7 +80,7 @@ export const HostStartStreamButton = ({
80
80
  return /*#__PURE__*/React.createElement(Pressable, {
81
81
  disabled: isAwaitingResponse,
82
82
  style: [styles.container, {
83
- backgroundColor: isAwaitingResponse ? colors.dark_gray : liveOrBroadcasting ? colors.error : colors.primary
83
+ backgroundColor: isAwaitingResponse ? colors.sheetTertiary : liveOrBroadcasting ? colors.buttonWarning : colors.buttonPrimary
84
84
  }, hostStartStreamButton.container],
85
85
  onPress: liveOrBroadcasting ? onEndStreamButtonPress : onStartStreamButtonPress
86
86
  }, /*#__PURE__*/React.createElement(View, {
@@ -90,7 +90,7 @@ export const HostStartStreamButton = ({
90
90
  }, hostStartStreamButton.icon]
91
91
  }, isAwaitingResponse ? /*#__PURE__*/React.createElement(ActivityIndicator, null) : liveOrBroadcasting ? /*#__PURE__*/React.createElement(EndBroadcastIcon, null) : /*#__PURE__*/React.createElement(StartStreamIcon, null)), /*#__PURE__*/React.createElement(Text, {
92
92
  style: [styles.text, typefaces.subtitleBold, {
93
- color: colors.static_white
93
+ color: colors.textPrimary
94
94
  }, hostStartStreamButton.text]
95
95
  }, isAwaitingResponse ? t('Loading...') : liveOrBroadcasting ? t('Stop Livestream') : t('Start Livestream')));
96
96
  };
@@ -1 +1 @@
1
- {"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useState","ActivityIndicator","Pressable","StyleSheet","Text","View","useTheme","EndBroadcastIcon","StartStreamIcon","SfuModels","getLogger","HostStartStreamButton","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","isAwaitingResponse","setIsAwaitingResponse","useIsCallLive","useIsCallHLSBroadcastingInProgress","theme","colors","variants","iconSizes","typefaces","hostStartStreamButton","call","isCallLive","isCallBroadcasting","t","liveOrBroadcasting","onStartStreamButtonPress","goLive","startHLS","error","logger","onEndStreamButtonPress","stopPublish","TrackType","VIDEO","SCREEN_SHARE","stopHLS","stopLive","createElement","disabled","style","styles","container","backgroundColor","dark_gray","primary","onPress","icon","height","xs","width","text","subtitleBold","color","static_white","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"mappings":"AAAA,SACEA,OAAO,EACPC,iBAAiB,EACjBC,OAAO,QACF,iCAAiC;AACxC,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,iBAAiB,EACjBC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,gBAAgB;AAClE,SAASC,SAAS,EAAEC,SAAS,QAAQ,yBAAyB;;AAE9D;AACA;AACA;;AAsBA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,kBAAkB;EAClBC,oBAAoB;EACp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B,KAAA,CAAA4C,aAAA,CAACpC,gBAAgB,MAAE,CAAC,gBAEpBR,KAAA,CAAA4C,aAAA,CAACnC,eAAe,MAAE,CAEhB,CAAC,eACPT,KAAA,CAAA4C,aAAA,CAACvC,IAAI;IACHyC,KAAK,EAAE,CACLC,MAAM,CAACU,IAAI,EACXhC,SAAS,CAACiC,YAAY,EACtB;MAAEC,KAAK,EAAErC,MAAM,CAACsC;IAAa,CAAC,EAC9BlC,qBAAqB,CAAC+B,IAAI;EAC1B,GAEDxC,kBAAkB,GACfa,CAAC,CAAC,YAAY,CAAC,GACfC,kBAAkB,GAChBD,CAAC,CAAC,iBAAiB,CAAC,GACpBA,CAAC,CAAC,kBAAkB,CACtB,CACG,CAAC;AAEhB,CAAC;AAED,MAAMiB,MAAM,GAAG3C,UAAU,CAACyD,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDZ,IAAI,EAAE,CAAC,CAAC;EACRI,IAAI,EAAE;IACJS,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useState","ActivityIndicator","Pressable","StyleSheet","Text","View","useTheme","EndBroadcastIcon","StartStreamIcon","SfuModels","getLogger","HostStartStreamButton","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","isAwaitingResponse","setIsAwaitingResponse","useIsCallLive","useIsCallHLSBroadcastingInProgress","theme","colors","variants","iconSizes","typefaces","hostStartStreamButton","call","isCallLive","isCallBroadcasting","t","liveOrBroadcasting","onStartStreamButtonPress","goLive","startHLS","error","logger","onEndStreamButtonPress","stopPublish","TrackType","VIDEO","SCREEN_SHARE","stopHLS","stopLive","createElement","disabled","style","styles","container","backgroundColor","sheetTertiary","buttonWarning","buttonPrimary","onPress","icon","height","xs","width","text","subtitleBold","color","textPrimary","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"mappings":"AAAA,SACEA,OAAO,EACPC,iBAAiB,EACjBC,OAAO,QACF,iCAAiC;AACxC,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,iBAAiB,EACjBC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,gBAAgB;AAClE,SAASC,SAAS,EAAEC,SAAS,QAAQ,yBAAyB;;AAE9D;AACA;AACA;;AAsBA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,kBAAkB;EAClBC,oBAAoB;EACpBC,GAAG;EACHC;AAC0B,CAAC,KAAK;EAChC,MAAM,CAACC,kBAAkB,EAAEC,qBAAqB,CAAC,GAAGjB,QAAQ,CAAC,KAAK,CAAC;EACnE,MAAM;IAAEkB,aAAa;IAAEC;EAAmC,CAAC,GACzDtB,iBAAiB,CAAC,CAAC;EACrB,MAAM;IACJuB,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC,SAAS;MACTC;IACF;EACF,CAAC,GAAGnB,QAAQ,CAAC,CAAC;EAEd,MAAMoB,IAAI,GAAG9B,OAAO,CAAC,CAAC;EACtB,MAAM+B,UAAU,GAAGT,aAAa,CAAC,CAAC;EAClC,MAAMU,kBAAkB,GAAGT,kCAAkC,CAAC,CAAC;EAC/D,MAAM;IAAEU;EAAE,CAAC,GAAG/B,OAAO,CAAC,CAAC;EAEvB,MAAMgC,kBAAkB,GAAGH,UAAU,IAAIC,kBAAkB;EAE3D,MAAMG,wBAAwB,GAAG,MAAAA,CAAA,KAAY;IAC3C,IA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