@stream-io/video-react-native-sdk 1.10.4 → 1.10.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 (785) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +21 -31
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +2 -3
  5. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +6 -10
  7. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControls.js +6 -8
  9. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +8 -11
  11. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +6 -10
  13. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +9 -11
  15. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +3 -5
  17. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +9 -12
  19. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +15 -22
  21. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +6 -10
  23. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +11 -15
  25. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +9 -13
  27. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +13 -18
  29. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +12 -17
  31. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +9 -13
  33. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +12 -17
  35. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +34 -39
  37. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +8 -10
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +18 -22
  41. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  42. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +21 -25
  43. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +7 -10
  45. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/Lobby.js +33 -43
  47. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  48. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +16 -21
  49. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +1 -2
  51. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -2
  53. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +22 -33
  55. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +25 -35
  57. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  58. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +8 -12
  59. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  60. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +22 -28
  61. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  62. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +22 -25
  63. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +26 -31
  65. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +12 -16
  67. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +12 -16
  69. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -19
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +3 -5
  73. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -19
  75. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -19
  77. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +12 -16
  79. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +9 -12
  81. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +12 -14
  83. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -5
  85. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -16
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +12 -16
  89. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  90. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +13 -18
  91. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  92. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +7 -10
  93. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  94. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +13 -18
  95. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  96. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +15 -19
  97. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  98. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -18
  99. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  100. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -20
  101. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  102. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +33 -39
  103. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  104. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +43 -54
  105. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  106. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +27 -30
  107. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  108. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +7 -11
  109. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  110. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +14 -17
  111. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  112. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +20 -23
  113. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  114. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +7 -8
  115. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  116. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +11 -13
  117. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  118. package/dist/commonjs/components/utility/Avatar.js +15 -18
  119. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  120. package/dist/commonjs/components/utility/ScreenShareOverlay.js +29 -35
  121. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  122. package/dist/commonjs/contexts/BackgroundFilters.js +3 -5
  123. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  124. package/dist/commonjs/contexts/StreamVideoContext.js +5 -6
  125. package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
  126. package/dist/commonjs/contexts/ThemeContext.js +3 -5
  127. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  128. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +1 -1
  129. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -1
  130. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +4 -3
  131. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  132. package/dist/commonjs/icons/Back.js +6 -8
  133. package/dist/commonjs/icons/Back.js.map +1 -1
  134. package/dist/commonjs/icons/CameraSwitch.js +6 -8
  135. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  136. package/dist/commonjs/icons/EndStreamIcon.js +6 -8
  137. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
  138. package/dist/commonjs/icons/Eye.js +6 -8
  139. package/dist/commonjs/icons/Eye.js.map +1 -1
  140. package/dist/commonjs/icons/IconWrapper.js +3 -5
  141. package/dist/commonjs/icons/IconWrapper.js.map +1 -1
  142. package/dist/commonjs/icons/LeaveStreamIcon.js +6 -8
  143. package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
  144. package/dist/commonjs/icons/Lock.js +6 -8
  145. package/dist/commonjs/icons/Lock.js.map +1 -1
  146. package/dist/commonjs/icons/Mic.js +6 -8
  147. package/dist/commonjs/icons/Mic.js.map +1 -1
  148. package/dist/commonjs/icons/MicOff.js +6 -8
  149. package/dist/commonjs/icons/MicOff.js.map +1 -1
  150. package/dist/commonjs/icons/Phone.js +6 -8
  151. package/dist/commonjs/icons/Phone.js.map +1 -1
  152. package/dist/commonjs/icons/PhoneDown.js +6 -8
  153. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  154. package/dist/commonjs/icons/PinVertical.js +6 -8
  155. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  156. package/dist/commonjs/icons/Reaction.js +6 -8
  157. package/dist/commonjs/icons/Reaction.js.map +1 -1
  158. package/dist/commonjs/icons/ScreenShare.js +6 -8
  159. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  160. package/dist/commonjs/icons/ScreenShareIndicator.js +18 -21
  161. package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
  162. package/dist/commonjs/icons/Settings.js +5 -7
  163. package/dist/commonjs/icons/Settings.js.map +1 -1
  164. package/dist/commonjs/icons/ShieldBadge.js +6 -8
  165. package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
  166. package/dist/commonjs/icons/Spotlight.js +8 -10
  167. package/dist/commonjs/icons/Spotlight.js.map +1 -1
  168. package/dist/commonjs/icons/StartStreamIcon.js +6 -8
  169. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
  170. package/dist/commonjs/icons/StopScreenShare.js +9 -11
  171. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  172. package/dist/commonjs/icons/ThreeDots.js +18 -20
  173. package/dist/commonjs/icons/ThreeDots.js.map +1 -1
  174. package/dist/commonjs/icons/TopViewBackground.js +19 -24
  175. package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
  176. package/dist/commonjs/icons/Video.js +6 -8
  177. package/dist/commonjs/icons/Video.js.map +1 -1
  178. package/dist/commonjs/icons/VideoSlash.js +6 -8
  179. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  180. package/dist/commonjs/providers/StreamCall/index.js +3 -5
  181. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  182. package/dist/commonjs/providers/StreamVideo.js +5 -10
  183. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  184. package/dist/commonjs/theme/theme.js.map +1 -1
  185. package/dist/commonjs/utils/push/ios.js +1 -0
  186. package/dist/commonjs/utils/push/ios.js.map +1 -1
  187. package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
  188. package/dist/commonjs/version.js +1 -1
  189. package/dist/module/components/Call/CallContent/CallContent.js +21 -33
  190. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  191. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +2 -5
  192. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  193. package/dist/module/components/Call/CallContent/index.js +0 -2
  194. package/dist/module/components/Call/CallContent/index.js.map +1 -1
  195. package/dist/module/components/Call/CallControls/AcceptCallButton.js +7 -12
  196. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  197. package/dist/module/components/Call/CallControls/CallControls.js +7 -10
  198. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  199. package/dist/module/components/Call/CallControls/CallControlsButton.js +8 -13
  200. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  201. package/dist/module/components/Call/CallControls/HangupCallButton.js +7 -12
  202. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  203. package/dist/module/components/Call/CallControls/IncomingCallControls.js +10 -13
  204. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  205. package/dist/module/components/Call/CallControls/LobbyControls.js +3 -7
  206. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  207. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +10 -14
  208. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  209. package/dist/module/components/Call/CallControls/ReactionsButton.js +16 -24
  210. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  211. package/dist/module/components/Call/CallControls/RejectCallButton.js +7 -12
  212. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  213. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +12 -17
  214. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  215. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -15
  216. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  217. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +14 -20
  218. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  219. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +13 -19
  220. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  221. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -15
  222. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  223. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +13 -19
  224. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  225. package/dist/module/components/Call/CallControls/index.js +0 -2
  226. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  227. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +34 -41
  228. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  229. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +9 -12
  230. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  231. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -24
  232. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  233. package/dist/module/components/Call/CallLayout/index.js +0 -2
  234. package/dist/module/components/Call/CallLayout/index.js.map +1 -1
  235. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +21 -27
  236. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  237. package/dist/module/components/Call/CallParticipantsList/index.js +0 -2
  238. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
  239. package/dist/module/components/Call/Lobby/JoinCallButton.js +8 -12
  240. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  241. package/dist/module/components/Call/Lobby/Lobby.js +34 -45
  242. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  243. package/dist/module/components/Call/Lobby/LobbyFooter.js +17 -23
  244. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  245. package/dist/module/components/Call/Lobby/index.js +0 -2
  246. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  247. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +1 -4
  248. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  249. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -4
  250. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  251. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +23 -35
  252. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  253. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +26 -37
  254. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  255. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +9 -14
  256. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  257. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +22 -30
  258. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  259. package/dist/module/components/Call/RingingCallContent/UserInfo.js +22 -27
  260. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  261. package/dist/module/components/Call/RingingCallContent/index.js +0 -2
  262. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
  263. package/dist/module/components/Call/index.js +0 -2
  264. package/dist/module/components/Call/index.js.map +1 -1
  265. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +27 -33
  266. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  267. package/dist/module/components/Livestream/HostLivestream/index.js +0 -2
  268. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
  269. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +13 -18
  270. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  271. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +13 -18
  272. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  273. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -21
  274. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  275. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +4 -7
  276. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  277. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -21
  278. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  279. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -21
  280. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  281. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -18
  282. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  283. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +10 -14
  284. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  285. package/dist/module/components/Livestream/LivestreamControls/index.js +0 -2
  286. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
  287. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -16
  288. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  289. package/dist/module/components/Livestream/LivestreamLayout/index.js +0 -2
  290. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
  291. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -7
  292. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  293. package/dist/module/components/Livestream/LivestreamPlayer/index.js +0 -2
  294. package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
  295. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +13 -18
  296. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  297. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -18
  298. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  299. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +14 -20
  300. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  301. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +8 -12
  302. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  303. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +14 -20
  304. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  305. package/dist/module/components/Livestream/LivestreamTopView/index.js +0 -2
  306. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
  307. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -21
  308. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  309. package/dist/module/components/Livestream/ViewerLivestream/index.js +0 -2
  310. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
  311. package/dist/module/components/Livestream/index.js +0 -2
  312. package/dist/module/components/Livestream/index.js.map +1 -1
  313. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -20
  314. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  315. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -22
  316. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  317. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -2
  318. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
  319. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -2
  320. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
  321. package/dist/module/components/Participant/FloatingParticipantView/index.js +34 -41
  322. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  323. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +44 -56
  324. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  325. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +28 -32
  326. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  327. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +8 -13
  328. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  329. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +15 -19
  330. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  331. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +21 -25
  332. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  333. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +8 -10
  334. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  335. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +11 -15
  336. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  337. package/dist/module/components/Participant/ParticipantView/index.js +0 -2
  338. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
  339. package/dist/module/components/Participant/index.js +0 -2
  340. package/dist/module/components/Participant/index.js.map +1 -1
  341. package/dist/module/components/index.js +0 -2
  342. package/dist/module/components/index.js.map +1 -1
  343. package/dist/module/components/utility/Avatar.js +16 -20
  344. package/dist/module/components/utility/Avatar.js.map +1 -1
  345. package/dist/module/components/utility/ScreenShareOverlay.js +30 -37
  346. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  347. package/dist/module/components/utility/index.js +0 -2
  348. package/dist/module/components/utility/index.js.map +1 -1
  349. package/dist/module/constants/TestIds.js +0 -2
  350. package/dist/module/constants/TestIds.js.map +1 -1
  351. package/dist/module/constants/index.js +0 -2
  352. package/dist/module/constants/index.js.map +1 -1
  353. package/dist/module/contexts/BackgroundFilters.js +3 -7
  354. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  355. package/dist/module/contexts/StreamVideoContext.js +3 -7
  356. package/dist/module/contexts/StreamVideoContext.js.map +1 -1
  357. package/dist/module/contexts/ThemeContext.js +3 -7
  358. package/dist/module/contexts/ThemeContext.js.map +1 -1
  359. package/dist/module/contexts/index.js +0 -2
  360. package/dist/module/contexts/index.js.map +1 -1
  361. package/dist/module/hooks/index.js +0 -2
  362. package/dist/module/hooks/index.js.map +1 -1
  363. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +0 -2
  364. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
  365. package/dist/module/hooks/push/index.js +0 -2
  366. package/dist/module/hooks/push/index.js.map +1 -1
  367. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +0 -2
  368. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
  369. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -2
  370. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
  371. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -2
  372. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
  373. package/dist/module/hooks/push/useIosInitRemoteNotifications.js +0 -2
  374. package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
  375. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -2
  376. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  377. package/dist/module/hooks/push/useProcessPushCallEffect.js +1 -3
  378. package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
  379. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +0 -2
  380. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
  381. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +4 -5
  382. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  383. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +0 -2
  384. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
  385. package/dist/module/hooks/useAutoEnterPiPEffect.js +0 -2
  386. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
  387. package/dist/module/hooks/useIsInPiPMode.js +0 -2
  388. package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
  389. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +0 -2
  390. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
  391. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +0 -2
  392. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
  393. package/dist/module/hooks/usePermissionNotification.js +0 -2
  394. package/dist/module/hooks/usePermissionNotification.js.map +1 -1
  395. package/dist/module/hooks/usePermissionRequest.js +0 -2
  396. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  397. package/dist/module/hooks/useScreenShareButton.js +0 -2
  398. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  399. package/dist/module/hooks/useTrackDimensions.js +0 -2
  400. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  401. package/dist/module/icons/Back.js +6 -10
  402. package/dist/module/icons/Back.js.map +1 -1
  403. package/dist/module/icons/CameraSwitch.js +6 -10
  404. package/dist/module/icons/CameraSwitch.js.map +1 -1
  405. package/dist/module/icons/EndStreamIcon.js +6 -10
  406. package/dist/module/icons/EndStreamIcon.js.map +1 -1
  407. package/dist/module/icons/Eye.js +6 -10
  408. package/dist/module/icons/Eye.js.map +1 -1
  409. package/dist/module/icons/IconWrapper.js +3 -7
  410. package/dist/module/icons/IconWrapper.js.map +1 -1
  411. package/dist/module/icons/LeaveStreamIcon.js +6 -10
  412. package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
  413. package/dist/module/icons/Lock.js +6 -10
  414. package/dist/module/icons/Lock.js.map +1 -1
  415. package/dist/module/icons/Mic.js +6 -10
  416. package/dist/module/icons/Mic.js.map +1 -1
  417. package/dist/module/icons/MicOff.js +6 -10
  418. package/dist/module/icons/MicOff.js.map +1 -1
  419. package/dist/module/icons/Phone.js +6 -10
  420. package/dist/module/icons/Phone.js.map +1 -1
  421. package/dist/module/icons/PhoneDown.js +6 -10
  422. package/dist/module/icons/PhoneDown.js.map +1 -1
  423. package/dist/module/icons/PinVertical.js +6 -10
  424. package/dist/module/icons/PinVertical.js.map +1 -1
  425. package/dist/module/icons/Reaction.js +6 -10
  426. package/dist/module/icons/Reaction.js.map +1 -1
  427. package/dist/module/icons/ScreenShare.js +6 -10
  428. package/dist/module/icons/ScreenShare.js.map +1 -1
  429. package/dist/module/icons/ScreenShareIndicator.js +18 -23
  430. package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
  431. package/dist/module/icons/Settings.js +5 -9
  432. package/dist/module/icons/Settings.js.map +1 -1
  433. package/dist/module/icons/ShieldBadge.js +6 -10
  434. package/dist/module/icons/ShieldBadge.js.map +1 -1
  435. package/dist/module/icons/Spotlight.js +8 -12
  436. package/dist/module/icons/Spotlight.js.map +1 -1
  437. package/dist/module/icons/StartStreamIcon.js +6 -10
  438. package/dist/module/icons/StartStreamIcon.js.map +1 -1
  439. package/dist/module/icons/StopScreenShare.js +9 -13
  440. package/dist/module/icons/StopScreenShare.js.map +1 -1
  441. package/dist/module/icons/ThreeDots.js +18 -22
  442. package/dist/module/icons/ThreeDots.js.map +1 -1
  443. package/dist/module/icons/TopViewBackground.js +19 -26
  444. package/dist/module/icons/TopViewBackground.js.map +1 -1
  445. package/dist/module/icons/Video.js +6 -10
  446. package/dist/module/icons/Video.js.map +1 -1
  447. package/dist/module/icons/VideoSlash.js +6 -10
  448. package/dist/module/icons/VideoSlash.js.map +1 -1
  449. package/dist/module/icons/index.js +0 -2
  450. package/dist/module/icons/index.js.map +1 -1
  451. package/dist/module/index.js +0 -2
  452. package/dist/module/index.js.map +1 -1
  453. package/dist/module/providers/StreamCall/AppStateListener.js +0 -2
  454. package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
  455. package/dist/module/providers/StreamCall/DeviceStats.js +0 -2
  456. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  457. package/dist/module/providers/StreamCall/index.js +4 -7
  458. package/dist/module/providers/StreamCall/index.js.map +1 -1
  459. package/dist/module/providers/StreamVideo.js +5 -12
  460. package/dist/module/providers/StreamVideo.js.map +1 -1
  461. package/dist/module/theme/colors.js +0 -2
  462. package/dist/module/theme/colors.js.map +1 -1
  463. package/dist/module/theme/constants.js +0 -2
  464. package/dist/module/theme/constants.js.map +1 -1
  465. package/dist/module/theme/index.js +0 -2
  466. package/dist/module/theme/index.js.map +1 -1
  467. package/dist/module/theme/theme.js +0 -2
  468. package/dist/module/theme/theme.js.map +1 -1
  469. package/dist/module/theme/types.js +0 -2
  470. package/dist/module/translations/index.js +0 -2
  471. package/dist/module/translations/index.js.map +1 -1
  472. package/dist/module/utils/StreamVideoRN/index.js +0 -2
  473. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  474. package/dist/module/utils/StreamVideoRN/types.js +0 -2
  475. package/dist/module/utils/enterPiPAndroid.js +0 -2
  476. package/dist/module/utils/enterPiPAndroid.js.map +1 -1
  477. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +0 -2
  478. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
  479. package/dist/module/utils/hooks/index.js +0 -2
  480. package/dist/module/utils/hooks/index.js.map +1 -1
  481. package/dist/module/utils/hooks/useDebouncedValue.js +0 -2
  482. package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
  483. package/dist/module/utils/hooks/usePrevious.js +0 -2
  484. package/dist/module/utils/hooks/usePrevious.js.map +1 -1
  485. package/dist/module/utils/index.js +0 -2
  486. package/dist/module/utils/index.js.map +1 -1
  487. package/dist/module/utils/internal/newNotificationCallbacks.js +0 -2
  488. package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
  489. package/dist/module/utils/internal/optionallibs/gestureHandler.js +0 -2
  490. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  491. package/dist/module/utils/internal/optionallibs/index.js +0 -2
  492. package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
  493. package/dist/module/utils/internal/optionallibs/reanimated.js +0 -2
  494. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  495. package/dist/module/utils/internal/pushLogoutCallback.js +0 -2
  496. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  497. package/dist/module/utils/internal/rxSubjects.js +0 -2
  498. package/dist/module/utils/internal/rxSubjects.js.map +1 -1
  499. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +0 -2
  500. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
  501. package/dist/module/utils/push/android.js +0 -2
  502. package/dist/module/utils/push/android.js.map +1 -1
  503. package/dist/module/utils/push/index.js +0 -2
  504. package/dist/module/utils/push/index.js.map +1 -1
  505. package/dist/module/utils/push/internal/rxSubjects.js +0 -2
  506. package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
  507. package/dist/module/utils/push/internal/utils.js +0 -2
  508. package/dist/module/utils/push/internal/utils.js.map +1 -1
  509. package/dist/module/utils/push/ios.js +1 -2
  510. package/dist/module/utils/push/ios.js.map +1 -1
  511. package/dist/module/utils/push/libs/callkeep.js +0 -2
  512. package/dist/module/utils/push/libs/callkeep.js.map +1 -1
  513. package/dist/module/utils/push/libs/expoNotifications.js +0 -2
  514. package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
  515. package/dist/module/utils/push/libs/firebaseMessaging/index.js +0 -2
  516. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  517. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +0 -2
  518. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  519. package/dist/module/utils/push/libs/index.js +0 -2
  520. package/dist/module/utils/push/libs/index.js.map +1 -1
  521. package/dist/module/utils/push/libs/iosPushNotification.js +0 -2
  522. package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
  523. package/dist/module/utils/push/libs/notifee/index.js +0 -2
  524. package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
  525. package/dist/module/utils/push/libs/notifee/lib.js +0 -2
  526. package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
  527. package/dist/module/utils/push/libs/voipPushNotification.js +0 -2
  528. package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
  529. package/dist/module/utils/push/utils.js +0 -2
  530. package/dist/module/utils/push/utils.js.map +1 -1
  531. package/dist/module/utils/setClientDetails.js +0 -2
  532. package/dist/module/utils/setClientDetails.js.map +1 -1
  533. package/dist/module/version.js +1 -3
  534. package/dist/module/version.js.map +1 -1
  535. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +5 -5
  536. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  537. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +2 -2
  538. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  539. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +2 -2
  540. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  541. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +1 -1
  542. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  543. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +1 -1
  544. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  545. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +2 -2
  546. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  547. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +3 -3
  548. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  549. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +3 -3
  550. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  551. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +3 -3
  552. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  553. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +1 -1
  554. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  555. package/dist/typescript/components/Call/Lobby/Lobby.d.ts +3 -3
  556. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  557. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts +1 -1
  558. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  559. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts +1 -1
  560. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts.map +1 -1
  561. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts +1 -1
  562. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts.map +1 -1
  563. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +1 -1
  564. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  565. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -1
  566. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  567. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +5 -5
  568. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  569. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +5 -5
  570. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  571. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +3 -3
  572. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -1
  573. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +2 -2
  574. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  575. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +2 -2
  576. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  577. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts +1 -1
  578. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
  579. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -1
  580. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +4 -4
  581. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -1
  582. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +4 -4
  583. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -1
  584. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +5 -5
  585. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  586. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +1 -1
  587. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
  588. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +1 -1
  589. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  590. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +1 -1
  591. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -1
  592. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +1 -1
  593. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -1
  594. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +4 -4
  595. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  596. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +1 -1
  597. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  598. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +1 -1
  599. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -1
  600. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +2 -2
  601. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  602. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +1 -1
  603. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  604. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +9 -9
  605. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  606. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +1 -1
  607. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -1
  608. package/dist/typescript/components/utility/Avatar.d.ts +1 -1
  609. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  610. package/dist/typescript/constants/index.d.ts +1 -1
  611. package/dist/typescript/constants/index.d.ts.map +1 -1
  612. package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
  613. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  614. package/dist/typescript/contexts/StreamVideoContext.d.ts.map +1 -1
  615. package/dist/typescript/contexts/ThemeContext.d.ts +2 -2
  616. package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
  617. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
  618. package/dist/typescript/hooks/useTrackDimensions.d.ts +1 -1
  619. package/dist/typescript/hooks/useTrackDimensions.d.ts.map +1 -1
  620. package/dist/typescript/icons/Back.d.ts +1 -1
  621. package/dist/typescript/icons/Back.d.ts.map +1 -1
  622. package/dist/typescript/icons/CameraSwitch.d.ts +1 -1
  623. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  624. package/dist/typescript/icons/IconWrapper.d.ts +1 -1
  625. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -1
  626. package/dist/typescript/icons/Lock.d.ts +1 -1
  627. package/dist/typescript/icons/Lock.d.ts.map +1 -1
  628. package/dist/typescript/icons/Mic.d.ts +1 -1
  629. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  630. package/dist/typescript/icons/MicOff.d.ts +1 -1
  631. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  632. package/dist/typescript/icons/Phone.d.ts +1 -1
  633. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  634. package/dist/typescript/icons/PhoneDown.d.ts +1 -1
  635. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  636. package/dist/typescript/icons/PinVertical.d.ts +1 -1
  637. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  638. package/dist/typescript/icons/Reaction.d.ts +1 -1
  639. package/dist/typescript/icons/Reaction.d.ts.map +1 -1
  640. package/dist/typescript/icons/ScreenShare.d.ts +1 -1
  641. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  642. package/dist/typescript/icons/ScreenShareIndicator.d.ts +1 -1
  643. package/dist/typescript/icons/ScreenShareIndicator.d.ts.map +1 -1
  644. package/dist/typescript/icons/Spotlight.d.ts +1 -1
  645. package/dist/typescript/icons/Spotlight.d.ts.map +1 -1
  646. package/dist/typescript/icons/StopScreenShare.d.ts +1 -1
  647. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  648. package/dist/typescript/icons/TopViewBackground.d.ts +1 -1
  649. package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -1
  650. package/dist/typescript/icons/Video.d.ts +1 -1
  651. package/dist/typescript/icons/Video.d.ts.map +1 -1
  652. package/dist/typescript/icons/VideoSlash.d.ts +1 -1
  653. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  654. package/dist/typescript/providers/StreamCall/index.d.ts +1 -1
  655. package/dist/typescript/providers/StreamCall/index.d.ts.map +1 -1
  656. package/dist/typescript/providers/StreamVideo.d.ts +4 -4
  657. package/dist/typescript/providers/StreamVideo.d.ts.map +1 -1
  658. package/dist/typescript/theme/colors.d.ts +1 -1
  659. package/dist/typescript/theme/colors.d.ts.map +1 -1
  660. package/dist/typescript/theme/theme.d.ts +3 -3
  661. package/dist/typescript/theme/theme.d.ts.map +1 -1
  662. package/dist/typescript/theme/types.d.ts +1 -1
  663. package/dist/typescript/theme/types.d.ts.map +1 -1
  664. package/dist/typescript/utils/StreamVideoRN/index.d.ts +2 -2
  665. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  666. package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -1
  667. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  668. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts +1 -1
  669. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts.map +1 -1
  670. package/dist/typescript/utils/push/android.d.ts +1 -1
  671. package/dist/typescript/utils/push/android.d.ts.map +1 -1
  672. package/dist/typescript/utils/push/internal/rxSubjects.d.ts +1 -1
  673. package/dist/typescript/utils/push/internal/rxSubjects.d.ts.map +1 -1
  674. package/dist/typescript/utils/push/ios.d.ts +1 -1
  675. package/dist/typescript/utils/push/ios.d.ts.map +1 -1
  676. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +1 -1
  677. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  678. package/dist/typescript/utils/push/libs/notifee/index.d.ts +1 -1
  679. package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
  680. package/dist/typescript/utils/push/utils.d.ts +4 -4
  681. package/dist/typescript/utils/push/utils.d.ts.map +1 -1
  682. package/dist/typescript/version.d.ts +1 -1
  683. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.js +17 -7
  684. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.js +17 -7
  685. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.js +17 -7
  686. package/ios/RTCViewPipManager.swift +1 -1
  687. package/package.json +16 -15
  688. package/src/components/Call/CallContent/CallContent.tsx +11 -11
  689. package/src/components/Call/CallContent/RTCViewPipIOS.tsx +1 -1
  690. package/src/components/Call/CallControls/CallControls.tsx +6 -3
  691. package/src/components/Call/CallControls/CallControlsButton.tsx +3 -3
  692. package/src/components/Call/CallControls/ReactionsButton.tsx +2 -2
  693. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +1 -1
  694. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +3 -3
  695. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -4
  696. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +4 -4
  697. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +11 -6
  698. package/src/components/Call/Lobby/JoinCallButton.tsx +1 -1
  699. package/src/components/Call/Lobby/Lobby.tsx +4 -4
  700. package/src/components/Call/Lobby/LobbyFooter.tsx +1 -1
  701. package/src/components/Call/RingingCallContent/CallLeftIndicator.tsx +1 -1
  702. package/src/components/Call/RingingCallContent/CallPreparingIndicator.tsx +1 -1
  703. package/src/components/Call/RingingCallContent/IncomingCall.tsx +2 -3
  704. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +2 -2
  705. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +5 -5
  706. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  707. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -5
  708. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +3 -3
  709. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +2 -2
  710. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +3 -3
  711. package/src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx +1 -1
  712. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +4 -1
  713. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +4 -4
  714. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +4 -4
  715. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +5 -5
  716. package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +2 -2
  717. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +4 -2
  718. package/src/components/Participant/FloatingParticipantView/FloatingView/common.ts +1 -1
  719. package/src/components/Participant/FloatingParticipantView/FloatingView/index.ts +1 -1
  720. package/src/components/Participant/FloatingParticipantView/index.tsx +7 -7
  721. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +1 -1
  722. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +1 -1
  723. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +2 -2
  724. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +1 -1
  725. package/src/components/Participant/ParticipantView/ParticipantView.tsx +10 -10
  726. package/src/components/Participant/ParticipantView/VideoRenderer.tsx +2 -2
  727. package/src/components/utility/Avatar.tsx +1 -1
  728. package/src/constants/index.ts +1 -1
  729. package/src/contexts/BackgroundFilters.tsx +1 -1
  730. package/src/contexts/ThemeContext.tsx +2 -2
  731. package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +1 -1
  732. package/src/hooks/push/useProcessPushCallEffect.ts +1 -1
  733. package/src/hooks/useAndroidKeepCallAliveEffect.ts +5 -4
  734. package/src/hooks/usePermissionRequest.tsx +1 -1
  735. package/src/hooks/useTrackDimensions.ts +2 -2
  736. package/src/icons/Back.tsx +1 -1
  737. package/src/icons/CameraSwitch.tsx +1 -1
  738. package/src/icons/IconWrapper.tsx +1 -1
  739. package/src/icons/Lock.tsx +1 -1
  740. package/src/icons/Mic.tsx +1 -1
  741. package/src/icons/MicOff.tsx +1 -1
  742. package/src/icons/Phone.tsx +1 -1
  743. package/src/icons/PhoneDown.tsx +1 -1
  744. package/src/icons/PinVertical.tsx +1 -1
  745. package/src/icons/Reaction.tsx +1 -1
  746. package/src/icons/ScreenShare.tsx +1 -1
  747. package/src/icons/ScreenShareIndicator.tsx +1 -1
  748. package/src/icons/Spotlight.tsx +1 -1
  749. package/src/icons/StopScreenShare.tsx +1 -1
  750. package/src/icons/TopViewBackground.tsx +1 -1
  751. package/src/icons/Video.tsx +1 -1
  752. package/src/icons/VideoSlash.tsx +1 -1
  753. package/src/providers/StreamCall/index.tsx +1 -1
  754. package/src/providers/StreamVideo.tsx +5 -5
  755. package/src/theme/colors.ts +1 -1
  756. package/src/theme/theme.ts +11 -7
  757. package/src/theme/types.ts +1 -1
  758. package/src/utils/StreamVideoRN/index.ts +2 -2
  759. package/src/utils/StreamVideoRN/types.ts +1 -1
  760. package/src/utils/internal/newNotificationCallbacks.ts +1 -1
  761. package/src/utils/push/android.ts +2 -2
  762. package/src/utils/push/internal/rxSubjects.ts +1 -1
  763. package/src/utils/push/ios.ts +4 -3
  764. package/src/utils/push/libs/firebaseMessaging/index.ts +1 -1
  765. package/src/utils/push/libs/notifee/index.ts +1 -1
  766. package/src/utils/push/utils.ts +4 -4
  767. package/src/version.ts +1 -1
  768. package/dist/commonjs/package.json +0 -1
  769. package/dist/module/package.json +0 -1
  770. package/expo-config-plugin/dist/common/addNewLinesToAppDelegate.d.ts +0 -1
  771. package/expo-config-plugin/dist/common/addNewLinesToMainActivity.d.ts +0 -1
  772. package/expo-config-plugin/dist/common/types.d.ts +0 -14
  773. package/expo-config-plugin/dist/index.d.ts +0 -4
  774. package/expo-config-plugin/dist/withAndroidManifest.d.ts +0 -4
  775. package/expo-config-plugin/dist/withAndroidPermissions.d.ts +0 -4
  776. package/expo-config-plugin/dist/withAppBuildGradle.d.ts +0 -3
  777. package/expo-config-plugin/dist/withAppDelegate.d.ts +0 -4
  778. package/expo-config-plugin/dist/withBuildProperties.d.ts +0 -3
  779. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.d.ts +0 -11
  780. package/expo-config-plugin/dist/withIosScreenCapture/index.d.ts +0 -4
  781. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.d.ts +0 -4
  782. package/expo-config-plugin/dist/withIosScreenCapture/withPlistUpdates.d.ts +0 -4
  783. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.d.ts +0 -4
  784. package/expo-config-plugin/dist/withMainActivity.d.ts +0 -4
  785. package/expo-config-plugin/dist/withiOSInfoPlist.d.ts +0 -4
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useMemo, useRef } from 'react';
4
2
  import { Pressable, StyleSheet, Animated, Easing } from 'react-native';
5
3
  import { useCall } from '@stream-io/video-react-bindings';
@@ -7,7 +5,6 @@ import { getLogger } from '@stream-io/video-client';
7
5
  import { ComponentTestIds } from '../../../../constants/TestIds';
8
6
  import { useTheme } from '../../../../contexts/ThemeContext';
9
7
  import { defaultEmojiReactions } from '../../../../constants';
10
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
11
8
  export const ReactionsPicker = ({
12
9
  supportedReactions = defaultEmojiReactions,
13
10
  reactionsButtonLayoutRectangle,
@@ -81,44 +78,40 @@ export const ReactionsPicker = ({
81
78
  easing: Easing.linear
82
79
  }).start(onRequestedClose);
83
80
  };
84
- return /*#__PURE__*/_jsxs(_Fragment, {
85
- children: [/*#__PURE__*/_jsx(Pressable, {
86
- testID: ComponentTestIds.REACTIONS_PICKER,
87
- style: [styles.reactionsPopup, reactionsPopupStyle, {
88
- backgroundColor: colors.sheetSecondary
89
- }, reactionsPicker.reactionsPopup],
90
- onPress: () => {
91
- onClose();
92
- },
93
- children: supportedReactions.map(supportedReaction => /*#__PURE__*/_jsx(Pressable, {
94
- style: [styles.reactionItem, reactionItemStyle, {
95
- backgroundColor: colors.buttonSecondary
96
- }, reactionsPicker.reactionItem],
97
- onPress: () => {
98
- onClose({
99
- type: supportedReaction.type,
100
- custom: supportedReaction.custom,
101
- emoji_code: supportedReaction.emoji_code
102
- });
103
- },
104
- children: /*#__PURE__*/_jsx(Animated.Text, {
105
- style: [styles.reactionText, {
106
- transform: [{
107
- scaleY: elasticAnimRef.current
108
- }, {
109
- scaleX: elasticAnimRef.current
110
- }]
111
- }, reactionsPicker.reactionText],
112
- children: supportedReaction.icon
113
- })
114
- }, supportedReaction.emoji_code))
115
- }), /*#__PURE__*/_jsx(Pressable, {
116
- style: [reactionsButtonDimmerStyle, {
117
- backgroundColor: colors.sheetSecondary
118
- }, reactionsPicker.reactionsButtonDimmer],
119
- onPress: () => onClose()
120
- })]
121
- });
81
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, {
82
+ testID: ComponentTestIds.REACTIONS_PICKER,
83
+ style: [styles.reactionsPopup, reactionsPopupStyle, {
84
+ backgroundColor: colors.sheetSecondary
85
+ }, reactionsPicker.reactionsPopup],
86
+ onPress: () => {
87
+ onClose();
88
+ }
89
+ }, supportedReactions.map(supportedReaction => /*#__PURE__*/React.createElement(Pressable, {
90
+ key: supportedReaction.emoji_code,
91
+ style: [styles.reactionItem, reactionItemStyle, {
92
+ backgroundColor: colors.buttonSecondary
93
+ }, reactionsPicker.reactionItem],
94
+ onPress: () => {
95
+ onClose({
96
+ type: supportedReaction.type,
97
+ custom: supportedReaction.custom,
98
+ emoji_code: supportedReaction.emoji_code
99
+ });
100
+ }
101
+ }, /*#__PURE__*/React.createElement(Animated.Text, {
102
+ style: [styles.reactionText, {
103
+ transform: [{
104
+ scaleY: elasticAnimRef.current
105
+ }, {
106
+ scaleX: elasticAnimRef.current
107
+ }]
108
+ }, reactionsPicker.reactionText]
109
+ }, supportedReaction.icon)))), /*#__PURE__*/React.createElement(Pressable, {
110
+ style: [reactionsButtonDimmerStyle, {
111
+ backgroundColor: colors.sheetSecondary
112
+ }, reactionsPicker.reactionsButtonDimmer],
113
+ onPress: () => onClose()
114
+ }));
122
115
  };
123
116
  const useStyles = () => {
124
117
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useMemo","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ReactionsPicker","supportedReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","styles","useStyles","call","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","Value","timing","current","toValue","duration","useNativeDriver","easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","e","logger","linear","children","testID","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","reactionItem","buttonSecondary","type","custom","emoji_code","Text","reactionText","transform","scaleY","scaleX","icon","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACzD,SAEEC,SAAS,EACTC,UAAU,EACVC,QAAQ,EACRC,MAAM,QACD,cAAc;AACrB,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAA8BC,SAAS,QAAQ,yBAAyB;AACxE,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,mCAAmC;AAE5D,SAASC,qBAAqB,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAO9D,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB,GAAGR,qBAAqB;EAC1CS,8BAA8B;EAC9BC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,eAAe;MAAEC;IAAS;EAC7C,CAAC,GAAGf,QAAQ,CAAC,CAAC;EACd,MAAMgB,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAMC,IAAI,GAAGrB,OAAO,CAAC,CAAC;EACtB,MAAMsB,IAAI,GAAGT,8BAA8B,EAAEU,KAAK,IAAI,CAAC;EACvD,MAAMC,gBAAgB,GAAGF,IAAI,GAAG,GAAG;EAEnC,MAAMG,WAAW;EACf;EACAP,QAAQ,CAACQ,YAAY,CAACC,EAAE;EACxB;EACAT,QAAQ,CAACQ,YAAY,CAACC,EAAE,GAAGf,kBAAkB,CAACgB,MAAM;EACpD;EACAJ,gBAAgB,GAAGZ,kBAAkB,CAACgB,MAAM;EAE9C,MAAMC,mBAAmB,GAAG;IAC1B;IACAC,GAAG,EAA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AAY,EACnB;YACEC,SAAS,EAAE,CACT;cACEC,MAAM,EAAEvC,cAAc,CAACG;YACzB,CAAC,EACD;cACEqC,MAAM,EAAExC,cAAc,CAACG;YACzB,CAAC;UAEL,CAAC,EACDvB,eAAe,CAACyD,YAAY,CAC5B;UAAAhB,QAAA,EAEDS,iBAAiB,CAACW;QAAI,CACV;MAAC,GAhCXX,iBAAiB,CAACK,UAiCd,CACZ;IAAC,CACO,CAAC,eAEZlE,IAAA,CAACV,SAAS;MACRiE,KAAK,EAAE,CACLZ,0BAA0B,EAC1B;QACEc,eAAe,EAAE/C,MAAM,CAACgD;MAC1B,CAAC,EACD/C,eAAe,CAACiC,qBAAqB,CACrC;MACFe,OAAO,EAAEA,CAAA,KAAMd,OAAO,CAAC;IAAE,CAC1B,CAAC;EAAA,CACF,CAAC;AAEP,CAAC;AAED,MAAM/B,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEL;EAAM,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EAC5B,OAAOT,OAAO,CACZ,MACEG,UAAU,CAACkF,MAAM,CAAC;IAChBjB,cAAc,EAAE;MACdkB,QAAQ,EAAE,UAAU;MACpBC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAEnE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC1C,CAAC;IACDuB,qBAAqB,EAAE;MACrB8B,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDf,YAAY,EAAE;MACZa,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAEtE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC5C,CAAC;IACD+C,YAAY,EAAE;MACZY,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACvE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useMemo","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","ReactionsPicker","supportedReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","styles","useStyles","call","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","Value","timing","current","toValue","duration","useNativeDriver","easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","e","logger","linear","createElement","Fragment","testID","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","key","emoji_code","reactionItem","buttonSecondary","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACzD,SAEEC,SAAS,EACTC,UAAU,EACVC,QAAQ,EACRC,MAAM,QACD,cAAc;AACrB,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAAmCC,SAAS,QAAQ,yBAAyB;AAC7E,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,mCAAmC;AAE5D,SAASC,qBAAqB,QAAQ,uBAAuB;AAO7D,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB,GAAGF,qBAAqB;EAC1CG,8BAA8B;EAC9BC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,eAAe;MAAEC;IAAS;EAC7C,CAAC,GAAGT,QAAQ,CAAC,CAAC;EACd,MAAMU,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAMC,IAAI,GAAGf,OAAO,CAAC,CAAC;EACtB,MAAMgB,IAAI,GAAGT,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;IACX,CAAC;IACDd,YAAY,EAAE;MACZY,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAExE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC5C,CAAC;IACDiD,YAAY,EAAE;MACZY,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACzE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,4 @@
1
- "use strict";
2
-
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
2
  import React from 'react';
4
3
  import { StyleSheet, View } from 'react-native';
5
4
  import { useCallStateHooks } from '@stream-io/video-react-bindings';
@@ -12,7 +11,7 @@ import { useIsInPiPMode } from '../../../hooks/useIsInPiPMode';
12
11
  /**
13
12
  * Props for the CallParticipantsGrid component.
14
13
  */
15
- import { jsx as _jsx } from "react/jsx-runtime";
14
+
16
15
  /**
17
16
  * Component used to display the list of participants in a grid mode.
18
17
  */
@@ -72,18 +71,16 @@ export const CallParticipantsGrid = ({
72
71
  ParticipantVideoFallback,
73
72
  VideoRenderer
74
73
  };
75
- return /*#__PURE__*/_jsx(View, {
74
+ return /*#__PURE__*/React.createElement(View, {
76
75
  style: [styles.container, landscapeStyles, {
77
76
  backgroundColor: colors.sheetPrimary
78
77
  }, callParticipantsGrid.container],
79
- testID: ComponentTestIds.CALL_PARTICIPANTS_GRID,
80
- children: CallParticipantsList && /*#__PURE__*/_jsx(CallParticipantsList, {
81
- participants: participants,
82
- supportedReactions: supportedReactions,
83
- landscape: landscape,
84
- ...participantViewProps
85
- })
86
- });
78
+ testID: ComponentTestIds.CALL_PARTICIPANTS_GRID
79
+ }, CallParticipantsList && /*#__PURE__*/React.createElement(CallParticipantsList, _extends({
80
+ participants: participants,
81
+ supportedReactions: supportedReactions,
82
+ landscape: landscape
83
+ }, participantViewProps)));
87
84
  };
88
85
  const styles = StyleSheet.create({
89
86
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","jsx","_jsx","CallParticipantsGrid","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","theme","colors","callParticipantsGrid","useRemoteParticipants","useParticipants","useLocalParticipant","useDominantSpeaker","_remoteParticipants","localParticipant","_allParticipants","dominantSpeaker","remoteParticipants","allParticipants","landscapeStyles","flexDirection","isInPiPMode","showFloatingView","length","participants","isLocalParticipant","participantViewProps","style","styles","container","backgroundColor","sheetPrimary","testID","CALL_PARTICIPANTS_GRID","children","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,8CAA8C;AACrD,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,QAAQ,QAAQ,gCAAgC;AAGzD,SAASC,cAAc,QAAQ,+BAA+B;;AAE9D;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAiBA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCP,oBAAoB,GAAGC,2BAA2B;EAClDO,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBC,eAAe;EACfC,aAAa;EACbC,oBAAoB,GAAG,KAAK;EAC5BC,kBAAkB;EAClBC;AACyB,CAAC,KAA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AAgB,CAAC;IACnC,CAAC,MAAM;MACLU,YAAY,GAAG,EAAE;IACnB;EACF;EAEA,MAAME,oBAAwD,GAAG;IAC/DzB,eAAe;IACfJ,gBAAgB;IAChBC,kCAAkC;IAClCC,mBAAmB;IACnBC,wBAAwB;IACxBE;EACF,CAAC;EAED,oBACEP,IAAA,CAACT,IAAI;IACHyC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChBV,eAAe,EACf;MAAEW,eAAe,EAAEvB,MAAM,CAACwB;IAAa,CAAC,EACxCvB,oBAAoB,CAACqB,SAAS,CAC9B;IACFG,MAAM,EAAEzC,gBAAgB,CAAC0C,sBAAuB;IAAAC,QAAA,EAE/C7C,oBAAoB,iBACnBM,IAAA,CAACN,oBAAoB;MACnBmC,YAAY,EAAEA,YAAa;MAC3BpB,kBAAkB,EAAEA,kBAAmB;MACvCC,SAAS,EAAEA,SAAU;MAAA,GACjBqB;IAAoB,CACzB;EACF,CACG,CAAC;AAEX,CAAC;AAED,MAAME,MAAM,GAAG3C,UAAU,CAACkD,MAAM,CAAC;EAC/BN,SAAS,EAAE;IAAEO,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","CallParticipantsGrid","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","theme","colors","callParticipantsGrid","useRemoteParticipants","useParticipants","useLocalParticipant","useDominantSpeaker","_remoteParticipants","localParticipant","_allParticipants","dominantSpeaker","remoteParticipants","allParticipants","landscapeStyles","flexDirection","isInPiPMode","showFloatingView","length","participants","isLocalParticipant","participantViewProps","createElement","style","styles","container","backgroundColor","sheetPrimary","testID","CALL_PARTICIPANTS_GRID","_extends","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/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AED,MAAMG,MAAM,GAAG1C,UAAU,CAACiD,MAAM,CAAC;EAC/BN,SAAS,EAAE;IAAEO,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,4 @@
1
- "use strict";
2
-
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
2
  import React, { useMemo } from 'react';
4
3
  import { hasScreenShare, speakerLayoutSortPreset } from '@stream-io/video-client';
5
4
  import { useCallStateHooks } from '@stream-io/video-react-bindings';
@@ -14,7 +13,7 @@ import { useIsInPiPMode } from '../../../hooks/useIsInPiPMode';
14
13
  /**
15
14
  * Props for the CallParticipantsSpotlight component.
16
15
  */
17
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
+
18
17
  /**
19
18
  * Component used to display the list of participants in a spotlight mode.
20
19
  * This can be used when you want to render the screen sharing stream.
@@ -67,28 +66,24 @@ export const CallParticipantsSpotlight = ({
67
66
  marginHorizontal: landscape ? 0 : variants.spacingSizes.xs
68
67
  };
69
68
  const showShareScreenOverlay = participantInSpotlight?.isLocalParticipant && isScreenShareOnSpotlight && ScreenShareOverlay;
70
- return /*#__PURE__*/_jsxs(View, {
69
+ return /*#__PURE__*/React.createElement(View, {
71
70
  testID: ComponentTestIds.CALL_PARTICIPANTS_SPOTLIGHT,
72
- style: [styles.container, landscapeStyles, callParticipantsSpotlight.container],
73
- children: [participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/_jsx(ScreenShareOverlay, {}) : /*#__PURE__*/_jsx(ParticipantView, {
74
- participant: participantInSpotlight,
75
- style: isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, spotlightContainerLandscapeStyles, callParticipantsSpotlight.spotlightContainer],
76
- objectFit: isScreenShareOnSpotlight ? 'contain' : 'cover',
77
- trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack',
78
- supportedReactions: supportedReactions,
79
- ...participantViewProps
80
- })), !isInPiP && !isUserAloneInCall && /*#__PURE__*/_jsx(View, {
81
- style: [styles.callParticipantsListContainer, callParticipantsSpotlight.callParticipantsListContainer],
82
- children: CallParticipantsList && /*#__PURE__*/_jsx(CallParticipantsList, {
83
- participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants,
84
- supportedReactions: supportedReactions,
85
- horizontal: !landscape,
86
- numberOfColumns: !landscape ? 2 : 1,
87
- landscape: landscape,
88
- ...callParticipantsListProps
89
- })
90
- })]
91
- });
71
+ style: [styles.container, landscapeStyles, callParticipantsSpotlight.container]
72
+ }, participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/React.createElement(ScreenShareOverlay, null) : /*#__PURE__*/React.createElement(ParticipantView, _extends({
73
+ participant: participantInSpotlight,
74
+ style: isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, spotlightContainerLandscapeStyles, callParticipantsSpotlight.spotlightContainer],
75
+ objectFit: isScreenShareOnSpotlight ? 'contain' : 'cover',
76
+ trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack',
77
+ supportedReactions: supportedReactions
78
+ }, participantViewProps))), !isInPiP && !isUserAloneInCall && /*#__PURE__*/React.createElement(View, {
79
+ style: [styles.callParticipantsListContainer, callParticipantsSpotlight.callParticipantsListContainer]
80
+ }, CallParticipantsList && /*#__PURE__*/React.createElement(CallParticipantsList, _extends({
81
+ participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants,
82
+ supportedReactions: supportedReactions,
83
+ horizontal: !landscape,
84
+ numberOfColumns: !landscape ? 2 : 1,
85
+ landscape: landscape
86
+ }, callParticipantsListProps))));
92
87
  };
93
88
  const useStyles = () => {
94
89
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useMemo","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","jsx","_jsx","jsxs","_jsxs","CallParticipantsSpotlight","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ScreenShareOverlay","VideoRenderer","supportedReactions","landscape","theme","callParticipantsSpotlight","variants","styles","useStyles","useParticipants","_allParticipants","sortBy","allParticipants","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","isUserAloneInCall","length","isInPiP","participantViewProps","callParticipantsListProps","landscapeStyles","flexDirection","spotlightContainerLandscapeStyles","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","testID","CALL_PARTICIPANTS_SPOTLIGHT","style","container","children","participant","fullScreenSpotlightContainer","spotlightContainer","objectFit","trackType","callParticipantsListContainer","participants","horizontal","numberOfColumns","create","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,cAAc,EACdC,uBAAuB,QAClB,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,8CAA8C;AACrD,SACEC,eAAe,IAAIC,sBAAsB,QAEpC,mBAAmB;AAC1B,SAASC,QAAQ,QAAQ,gCAAgC;AAEzD,SAASC,cAAc,QAAQ,+BAA+B;;AAE9D;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,I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ACpCA,SAAS,EAAEA,SAAU;QAAA,GACjBiB;MAAyB,CAC9B;IACF,CACG,CACP;EAAA,CACG,CAAC;AAEX,CAAC;AAED,MAAMZ,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEJ;EAAM,CAAC,GAAGf,QAAQ,CAAC,CAAC;EAC5B,OAAOZ,OAAO,CACZ,MACEI,UAAU,CAAC8D,MAAM,CAAC;IAChBX,SAAS,EAAE;MACTY,IAAI,EAAE,CAAC;MACPC,eAAe,EAAEzC,KAAK,CAAC0C,MAAM,CAACC;IAChC,CAAC;IACDZ,4BAA4B,EAAE;MAC5BS,IAAI,EAAE;IACR,CAAC;IACDR,kBAAkB,EAAE;MAClBQ,IAAI,EAAE,CAAC;MACPI,QAAQ,EAAE,QAAQ;MAClBC,YAAY,EAAE7C,KAAK,CAACE,QAAQ,CAAC4C,iBAAiB,CAACC,EAAE;MACjD3B,gBAAgB,EAAEpB,KAAK,CAACE,QAAQ,CAACmB,YAAY,CAAC0B;IAChD,CAAC;IACDZ,6BAA6B,EAAE;MAC7BK,IAAI,EAAE;IACR;EACF,CAAC,CAAC,EACJ,CAACxC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","CallParticipantsSpotlight","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ScreenShareOverlay","VideoRenderer","supportedReactions","landscape","theme","callParticipantsSpotlight","variants","styles","useStyles","useParticipants","_allParticipants","sortBy","allParticipants","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","isUserAloneInCall","length","isInPiP","participantViewProps","callParticipantsListProps","landscapeStyles","flexDirection","spotlightContainerLandscapeStyles","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","createElement","testID","CALL_PARTICIPANTS_SPOTLIGHT","style","container","_extends","participant","fullScreenSpotlightContainer","spotlightContainer","objectFit","trackType","callParticipantsListContainer","participants","horizontal","numberOfColumns","create","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,cAAc,EACdC,uBAAuB,QAClB,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,8CAA8C;AACrD,SACEC,eAAe,IAAIC,sBAAsB,QAEpC,mBAAmB;AAC1B,SAASC,QAAQ,QAAQ,gCAAgC;AAEzD,SAASC,cAAc,QAAQ,+BAA+B;;AAE9D;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,GAAGA,CAAC;EACxCN,oBAAoB,GAAGC,2BAA2B;EAClDM,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBR,eAAe,GAAGC,sBAAsB;EACxCQ,kBAAkB;EAClBC,aAAa;EACbC,kBAAkB;EAClBC;AAC8B,CAAC,KAAK;EACpC,MAAM;IACJC,KAAK,EAAE;MAAEC,yBAAyB;MAAEC;IAAS;EAC/C,CAAC,GAAGb,QAAQ,CAAC,CAAC;EACd,MAAMc,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEC;EAAgB,CAAC,GAAGzB,iBAAiB,CAAC,CAAC;EAC/C,MAAM0B,gBAAgB,GAAGD,eAAe,CAAC;IACvCE,MAAM,EAAE5B;EACV,CAAC,CAAC;EACF,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9C,KAAK,CAACE,QAAQ,CAAC6C,iBAAiB,CAACC,EAAE;MACjD5B,gBAAgB,EAAEpB,KAAK,CAACE,QAAQ,CAACmB,YAAY,CAAC2B;IAChD,CAAC;IACDZ,6BAA6B,EAAE;MAC7BK,IAAI,EAAE;IACR;EACF,CAAC,CAAC,EACJ,CAACzC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  export * from './CallParticipantsGrid';
4
2
  export * from './CallParticipantsSpotlight';
5
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/index.ts"],"mappings":";;AAAA,cAAc,wBAAwB;AACtC,cAAc,6BAA6B","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/index.ts"],"mappings":"AAAA,cAAc,wBAAwB;AACtC,cAAc,6BAA6B","ignoreList":[]}
@@ -1,5 +1,4 @@
1
- "use strict";
2
-
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
2
  import React, { useCallback, useMemo, useReducer, useRef, useState } from 'react';
4
3
  import { FlatList, StyleSheet } from 'react-native';
5
4
  import { VisibilityState } from '@stream-io/video-client';
@@ -8,7 +7,6 @@ import { useCall } from '@stream-io/video-react-bindings';
8
7
  import { ComponentTestIds } from '../../../constants/TestIds';
9
8
  import { ParticipantView as DefaultParticipantView } from '../../Participant/ParticipantView';
10
9
  import { useTheme } from '../../../contexts';
11
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
12
10
  const VIEWABILITY_CONFIG = {
13
11
  waitForInteraction: false,
14
12
  itemVisiblePercentThreshold: 60
@@ -147,16 +145,13 @@ export const CallParticipantsList = ({
147
145
  item: participant
148
146
  }) => {
149
147
  const isVisible = viewableParticipantSessionIds.current.has(participant.sessionId);
150
- return /*#__PURE__*/_jsx(_Fragment, {
151
- children: ParticipantView && /*#__PURE__*/_jsx(ParticipantView, {
152
- participant: participant,
153
- style: itemContainerStyle,
154
- trackType: "videoTrack",
155
- isVisible: isVisible,
156
- supportedReactions: supportedReactions,
157
- ...participantProps
158
- })
159
- });
148
+ return /*#__PURE__*/React.createElement(React.Fragment, null, ParticipantView && /*#__PURE__*/React.createElement(ParticipantView, _extends({
149
+ participant: participant,
150
+ style: itemContainerStyle,
151
+ trackType: "videoTrack",
152
+ isVisible: isVisible,
153
+ supportedReactions: supportedReactions
154
+ }, participantProps)));
160
155
  },
161
156
  // eslint-disable-next-line react-hooks/exhaustive-deps
162
157
  [itemContainerStyle]);
@@ -165,21 +160,20 @@ export const CallParticipantsList = ({
165
160
  // else we display them both in a stretched row on the screen
166
161
  const shouldWrapByColumns = !!horizontal || participants.length > 2;
167
162
  if (!shouldWrapByColumns) {
168
- return /*#__PURE__*/_jsx(_Fragment, {
169
- children: participants.map((participant, index) => {
170
- return ParticipantView && /*#__PURE__*/_jsx(ParticipantView, {
171
- participant: participant,
172
- style: styles.flexed,
173
- trackType: "videoTrack",
174
- supportedReactions: supportedReactions,
175
- ...participantProps
176
- }, keyExtractor(participant, index));
177
- })
178
- });
163
+ return /*#__PURE__*/React.createElement(React.Fragment, null, participants.map((participant, index) => {
164
+ return ParticipantView && /*#__PURE__*/React.createElement(ParticipantView, _extends({
165
+ participant: participant,
166
+ style: styles.flexed,
167
+ trackType: "videoTrack",
168
+ key: keyExtractor(participant, index),
169
+ supportedReactions: supportedReactions
170
+ }, participantProps));
171
+ }));
179
172
  }
180
- return /*#__PURE__*/_jsx(FlatList, {
173
+ return /*#__PURE__*/React.createElement(FlatList, {
181
174
  onLayout: onLayout,
182
- // setting numColumns as key is a strict requirement of react-native to support changing numColumns on the fly
175
+ key: !horizontal ? numberOfColumns : undefined // setting numColumns as key is a strict requirement of react-native to support changing numColumns on the fly
176
+ ,
183
177
  data: participants,
184
178
  keyExtractor: keyExtractor,
185
179
  viewabilityConfig: VIEWABILITY_CONFIG,
@@ -191,7 +185,7 @@ export const CallParticipantsList = ({
191
185
  extraData: `${forceUpdateValue}` // this is important to force re-render when visibility changes
192
186
  ,
193
187
  testID: ComponentTestIds.CALL_PARTICIPANTS_LIST
194
- }, !horizontal ? numberOfColumns : undefined);
188
+ });
195
189
  };
196
190
  const useStyles = () => {
197
191
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","useTheme","jsx","_jsx","Fragment","_Fragment","VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","CallParticipantsList","numberOfColumns","horizontal","participants","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","VideoRenderer","supportedReactions","landscape","styles","useStyles","containerLayout","setContainerLayout","width","height","viewableParticipantSessionIds","Set","_forceUpdateValue","forceUpdate","x","forceUpdateValue","activeCall","activeCallRef","current","onViewableItemsChanged","viewableItems","participantPatches","mustUpdate","newVisibleParticipantSessionIds","map","v","key","oldVisibleParticipantSessionIds","forEach","has","viewportVisibilityState","videoTrack","VISIBLE","screenShareTrack","UNKNOWN","state","updateParticipants","keyExtractor","item","sessionId","onLayout","event","nativeEvent","layout","prev","itemHeight","itemWidth","calculateParticipantViewSize","containerHeight","containerWidth","participantsLength","length","margin","participant","itemContainerStyle","style","participantWrapperHorizontal","landScapeStyle","participantProps","renderItem","isVisible","children","trackType","shouldWrapByColumns","index","flexed","data","viewabilityConfig","numColumns","undefined","showsHorizontalScrollIndicator","extraData","testID","CALL_PARTICIPANTS_LIST","theme","create","flex","marginHorizontal","variants","spacingSizes","sm","borderRadius","borderRadiusSizes","xs"],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList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A,SAAS3B,4BAA4BA,CAAC;EACpCC,eAAe;EACfC,cAAc;EACdC,kBAAkB;EAClBxD,eAAe;EACfC,UAAU;EACVyD;AAQF,CAAC,EAAE;EACD,IAAIP,UAAU,GAAGG,eAAe;EAChC;EACA,IAAI,CAACrD,UAAU,EAAE;IACf,IAAIuD,kBAAkB,IAAI,CAAC,EAAE;MAC3B;MACAL,UAAU,GAAGG,eAAe,GAAG,CAAC;IAClC,CAAC,MAAM;MACL;MACAH,UAAU,GAAGG,eAAe,GAAG,CAAC;IAClC;EACF;EAEA,IAAIF,SAAS,GAAGG,cAAc,GAAGvD,eAAe;EAChD,IAAIC,UAAU,EAAE;IACd;IACAmD,SAAS,GAAGA,SAAS,GAAG,CAAC,GAAG,CAAC;EAC/B;EAEAD,UAAU,GAAGA,UAAU,GAAGO,MAAM;EAChCN,SAAS,GAAGA,SAAS,GAAGM,MAAM;EAC9B,OAAO;IAAEP,UAAU;IAAEC;EAAU,CAAC;AAClC","ignoreList":[]}
1
+ {"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","useTheme","VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","CallParticipantsList","numberOfColumns","horizontal","participants","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","VideoRenderer","supportedReactions","landscape","styles","useStyles","containerLayout","setContainerLayout","width","height","viewableParticipantSessionIds","Set","_forceUpdateValue","forceUpdate","x","forceUpdateValue","activeCall","activeCallRef","current","onViewableItemsChanged","viewableItems","participantPatches","mustUpdate","newVisibleParticipantSessionIds","map","v","key","oldVisibleParticipantSessionIds","forEach","has","viewportVisibilityState","videoTrack","VISIBLE","screenShareTrack","UNKNOWN","state","updateParticipants","keyExtractor","item","sessionId","onLayout","event","nativeEvent","layout","prev","itemHeight","itemWidth","calculateParticipantViewSize","containerHeight","containerWidth","participantsLength","length","margin","participant","itemContainerStyle","style","participantWrapperHorizontal","landScapeStyle","participantProps","renderItem","isVisible","createElement","Fragment","_extends","trackType","shouldWrapByColumns","index","flexed","undefined","data","viewabilityConfig","numColumns","showsHorizontalScrollIndicator","extraData","testID","CALL_PARTICIPANTS_LIST","theme","create","flex","marginHorizontal","variants","spacingSizes","sm","borderRadius","borderRadiusSizes","xs"],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/CallParticipantsList.tsx"],"mappings":";AAAA,OAAOA,KAAK,IACVC,WAAW,EACXC,OAAO,EACPC,UAAU,EACVC,MAAM,EACNC,QAAQ,QACH,OAAO;AACd,SACEC,QAAQ,EAERC,UAAU,QAEL,cAAc;AAErB,SAGEC,eAAe,QACV,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,eAAe,IAAIC,sBAAsB,QAGpC,mCAAmC;AAE1C,SAASC,QAAQ,QAAQ,mBAAmB;AAM5C,MAAMC,kBAAsD,GAAG;EAC7DC,kBAAkB,EAAE,KAAK;EACzBC,2BAA2B,EAAE;AAC/B,CAAC;;AAUD;AACA;AACA;;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC,eAAe,GAAG,CAAC;EACnBC,UAAU;EACVC,YAAY;EACZT,eAAe,GAAGC,sBAAsB;EACxCS,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBC,aAAa;EACbC,kBAAkB;EAClBC;AACyB,CAAC,KAAK;EAC/B,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM,CAACC,eAAe,EAAEC,kBAAkB,CAAC,GAAG3B,QAAQ,CAAC;IACrD4B,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE;EACV,CAAC,CAAC;;EAEF;EACA;EACA;EAC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EP,KAAK,CAACI,QAAQ,CAACI,iBAAiB,CAACF;IACjD,CAAC;IACDzB,cAAc,EAAE;MACd0B,YAAY,EAAEP,KAAK,CAACI,QAAQ,CAACI,iBAAiB,CAACF;IACjD,CAAC;IACD7B,WAAW,EAAE;MACXD,MAAM,EAAEwB,KAAK,CAACI,QAAQ,CAACC,YAAY,CAACI;IACtC;EACF,CAAC,CAAC,EACJ,CAACT,KAAK,CACR,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS7B,4BAA4BA,CAAC;EACpCC,eAAe;EACfC,cAAc;EACdC,kBAAkB;EAClBxD,eAAe;EACfC,UAAU;EACVyD;AAQF,CAAC,EAAE;EACD,IAAIP,UAAU,GAAGG,eAAe;EAChC;EACA,IAAI,CAACrD,UAAU,EAAE;IACf,IAAIuD,kBAAkB,IAAI,CAAC,EAAE;MAC3B;MACAL,UAAU,GAAGG,eAAe,GAAG,CAAC;IAClC,CAAC,MAAM;MACL;MACAH,UAAU,GAAGG,eAAe,GAAG,CAAC;IAClC;EACF;EAEA,IAAIF,SAAS,GAAGG,cAAc,GAAGvD,eAAe;EAChD,IAAIC,UAAU,EAAE;IACd;IACAmD,SAAS,GAAGA,SAAS,GAAG,CAAC,GAAG,CAAC;EAC/B;EAEAD,UAAU,GAAGA,UAAU,GAAGO,MAAM;EAChCN,SAAS,GAAGA,SAAS,GAAGM,MAAM;EAC9B,OAAO;IAAEP,UAAU;IAAEC;EAAU,CAAC;AAClC","ignoreList":[]}
@@ -1,4 +1,2 @@
1
- "use strict";
2
-
3
1
  export * from './CallParticipantsList';
4
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/index.ts"],"mappings":";;AAAA,cAAc,wBAAwB","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/index.ts"],"mappings":"AAAA,cAAc,wBAAwB","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useMemo, useState } from 'react';
4
2
  import { Pressable, StyleSheet, Text } from 'react-native';
5
3
  import { useCall, useI18n } from '@stream-io/video-react-bindings';
@@ -9,7 +7,7 @@ import { getLogger } from '@stream-io/video-client';
9
7
  /**
10
8
  * Props for the Join Call Button in the Lobby component.
11
9
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
10
+
13
11
  /**
14
12
  * The default Join call button to be used in the Lobby component.
15
13
  */
@@ -51,19 +49,17 @@ export const JoinCallButton = ({
51
49
  }
52
50
  };
53
51
  const backgroundColor = isLoading ? colors.buttonDisabled : colors.buttonPrimary;
54
- return /*#__PURE__*/_jsx(Pressable, {
52
+ return /*#__PURE__*/React.createElement(Pressable, {
55
53
  style: [styles.container, {
56
54
  backgroundColor
57
55
  }, joinCallButton.container],
58
56
  onPress: onPress,
59
- disabled: isLoading,
60
- children: /*#__PURE__*/_jsx(Text, {
61
- style: [styles.label, {
62
- color: colors.textPrimary
63
- }, typefaces.subtitleBold, joinCallButton.label],
64
- children: isLoading ? t('Joining...') : t('Join')
65
- })
66
- });
57
+ disabled: isLoading
58
+ }, /*#__PURE__*/React.createElement(Text, {
59
+ style: [styles.label, {
60
+ color: colors.textPrimary
61
+ }, typefaces.subtitleBold, joinCallButton.label]
62
+ }, isLoading ? t('Joining...') : t('Join')));
67
63
  };
68
64
  const useStyles = () => {
69
65
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useMemo","useState","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","jsx","_jsx","JoinCallButton","onJoinCallHandler","onPressHandler","theme","colors","typefaces","joinCallButton","styles","useStyles","isLoading","setIsLoading","t","call","onPress","join","create","error","logger","backgroundColor","buttonDisabled","buttonPrimary","style","container","disabled","children","label","color","textPrimary","subtitleBold","borderRadius","variants","borderRadiusSizes","lg","marginTop","spacingSizes","md","paddingVertical","sm","textAlign"],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,CAAC,SAAS;MACRN,YAAY,CAAC,KAAK,CAAC;IACrB;EACF,CAAC;EAED,MAAMQ,eAAe,GAAGT,SAAS,GAC7BL,MAAM,CAACe,cAAc,GACrBf,MAAM,CAACgB,aAAa;EAExB,oBACErB,IAAA,CAACR,SAAS;IACR8B,KAAK,EAAE,CAACd,MAAM,CAACe,SAAS,EAAE;MAAEJ;IAAgB,CAAC,EAAEZ,cAAc,CAACgB,SAAS,CAAE;IACzET,OAAO,EAAEA,OAAQ;IACjBU,QAAQ,EAAEd,SAAU;IAAAe,QAAA,eAEpBzB,IAAA,CAACN,IAAI;MACH4B,KAAK,EAAE,CACLd,MAAM,CAACkB,KAAK,EACZ;QAAEC,KAAK,EAAEtB,MAAM,CAACuB;MAAY,CAAC,EAC7BtB,SAAS,CAACuB,YAAY,EACtBtB,cAAc,CAACmB,KAAK,CACpB;MAAAD,QAAA,EAEDf,SAAS,GAAGE,CAAC,CAAC,YAAY,CAAC,GAAGA,CAAC,CAAC,MAAM;IAAC,CACpC;EAAC,CACE,CAAC;AAEhB,CAAC;AAED,MAAMH,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEL;EAAM,CAAC,GAAGP,QAAQ,CAAC,CAAC;EAC5B,OAAOP,OAAO,CACZ,MACEG,UAAU,CAACuB,MAAM,CAAC;IAChBO,SAAS,EAAE;MACTO,YAAY,EAAE1B,KAAK,CAAC2B,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,SAAS,EAAE9B,KAAK,CAAC2B,QAAQ,CAACI,YAAY,CAACC,EAAE;MACzCC,eAAe,EAAEjC,KAAK,CAAC2B,QAAQ,CAACI,YAAY,CAACG;IAC/C,CAAC;IACDZ,KAAK,EAAE;MACLa,SAAS,EAAE;IACb;EACF,CAAC,CAAC,EACJ,CAACnC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","useState","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","JoinCallButton","onJoinCallHandler","onPressHandler","theme","colors","typefaces","joinCallButton","styles","useStyles","isLoading","setIsLoading","t","call","onPress","join","create","error","logger","backgroundColor","buttonDisabled","buttonPrimary","createElement","style","container","disabled","label","color","textPrimary","subtitleBold","borderRadius","variants","borderRadiusSizes","lg","marginTop","spacingSizes","md","paddingVertical","sm","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/JoinCallButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEhD,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,SAAS,QAAQ,yBAAyB;;AAEnD;AACA;AACA;;AAKA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,iBAAiB;EACjBC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAe;EAC7C,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAMS,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGlB,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM;IAAEmB;EAAE,CAAC,GAAGd,OAAO,CAAC,CAAC;EACvB,MAAMe,IAAI,GAAGhB,OAAO,CAAC,CAAC;EAEtB,MAAMiB,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1BH,YAAY,CAAC,IAAI,CAAC;IAClB,IAAIR,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI;MACF,MAAMU,IAAI,EAAEE,IAAI,CAAC;QAAEC,MAAM,EAAE;MAAK,CAAC,CAAC;MAClC,IAAId,iBAAiB,EAAE;QACrBA,iBAAiB,CAAC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,KAAK,EAAE;MACLa,SAAS,EAAE;IACb;EACF,CAAC,CAAC,EACJ,CAACnC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useMemo } from 'react';
4
2
  import { StyleSheet, Text, View } from 'react-native';
5
3
  import { useCallStateHooks, useConnectedUser, useI18n } from '@stream-io/video-react-bindings';
@@ -15,7 +13,7 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
15
13
  /**
16
14
  * Props for the Lobby Component.
17
15
  */
18
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
16
+
19
17
  /**
20
18
  * Components that acts as a pre-join view for the call. Where you can preview your video and audio. Check for call details and check for number of participants already in the call.
21
19
  */
@@ -56,38 +54,31 @@ export const Lobby = ({
56
54
  image: connectedUser?.image,
57
55
  name: connectedUser?.name
58
56
  };
59
- return /*#__PURE__*/_jsxs(View, {
60
- style: [styles.container, lobby.container],
61
- children: [connectedUser && /*#__PURE__*/_jsxs(_Fragment, {
62
- children: [/*#__PURE__*/_jsx(Text, {
63
- style: [styles.heading, typefaces.heading5, lobby.heading],
64
- children: t('Before joining')
65
- }), /*#__PURE__*/_jsx(Text, {
66
- style: [styles.subHeading, lobby.subHeading],
67
- children: t('Setup your audio and video')
68
- }), isVideoEnabledInCall && /*#__PURE__*/_jsxs(View, {
69
- style: [styles.videoContainer, {
70
- backgroundColor: colors.sheetTertiary
71
- }, lobby.videoContainer],
72
- children: [/*#__PURE__*/_jsx(View, {
73
- style: styles.topView
74
- }), !cameraIsMuted && localVideoStream ? /*#__PURE__*/_jsx(RTCView, {
75
- mirror: true,
76
- streamURL: localVideoStream.toURL(),
77
- objectFit: "cover",
78
- style: StyleSheet.absoluteFillObject
79
- }) : /*#__PURE__*/_jsx(View, {
80
- style: [styles.avatarContainer, lobby.avatarContainer],
81
- children: /*#__PURE__*/_jsx(Avatar, {
82
- participant: connectedUserAsParticipant
83
- })
84
- }), /*#__PURE__*/_jsx(ParticipantStatus, {})]
85
- })]
86
- }), LobbyControls && /*#__PURE__*/_jsx(LobbyControls, {}), LobbyFooter && /*#__PURE__*/_jsx(LobbyFooter, {
87
- JoinCallButton: JoinCallButton,
88
- onJoinCallHandler: onJoinCallHandler
89
- })]
90
- });
57
+ return /*#__PURE__*/React.createElement(View, {
58
+ style: [styles.container, lobby.container]
59
+ }, connectedUser && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
60
+ style: [styles.heading, typefaces.heading5, lobby.heading]
61
+ }, t('Before joining')), /*#__PURE__*/React.createElement(Text, {
62
+ style: [styles.subHeading, lobby.subHeading]
63
+ }, t('Setup your audio and video')), isVideoEnabledInCall && /*#__PURE__*/React.createElement(View, {
64
+ style: [styles.videoContainer, {
65
+ backgroundColor: colors.sheetTertiary
66
+ }, lobby.videoContainer]
67
+ }, /*#__PURE__*/React.createElement(View, {
68
+ style: styles.topView
69
+ }), !cameraIsMuted && localVideoStream ? /*#__PURE__*/React.createElement(RTCView, {
70
+ mirror: true,
71
+ streamURL: localVideoStream.toURL(),
72
+ objectFit: "cover",
73
+ style: StyleSheet.absoluteFillObject
74
+ }) : /*#__PURE__*/React.createElement(View, {
75
+ style: [styles.avatarContainer, lobby.avatarContainer]
76
+ }, /*#__PURE__*/React.createElement(Avatar, {
77
+ participant: connectedUserAsParticipant
78
+ })), /*#__PURE__*/React.createElement(ParticipantStatus, null))), LobbyControls && /*#__PURE__*/React.createElement(LobbyControls, null), LobbyFooter && /*#__PURE__*/React.createElement(LobbyFooter, {
79
+ JoinCallButton: JoinCallButton,
80
+ onJoinCallHandler: onJoinCallHandler
81
+ }));
91
82
  };
92
83
  const ParticipantStatus = () => {
93
84
  const {
@@ -100,18 +91,16 @@ const ParticipantStatus = () => {
100
91
  const styles = useStyles();
101
92
  const connectedUser = useConnectedUser();
102
93
  const participantLabel = connectedUser?.name ?? connectedUser?.id;
103
- return /*#__PURE__*/_jsx(View, {
94
+ return /*#__PURE__*/React.createElement(View, {
104
95
  style: [styles.participantStatusContainer, {
105
96
  backgroundColor: colors.sheetOverlay
106
- }, lobby.participantStatusContainer],
107
- children: /*#__PURE__*/_jsx(Text, {
108
- style: [styles.userNameLabel, {
109
- color: colors.textPrimary
110
- }, typefaces.caption, lobby.userNameLabel],
111
- numberOfLines: 1,
112
- children: participantLabel
113
- })
114
- });
97
+ }, lobby.participantStatusContainer]
98
+ }, /*#__PURE__*/React.createElement(Text, {
99
+ style: [styles.userNameLabel, {
100
+ color: colors.textPrimary
101
+ }, typefaces.caption, lobby.userNameLabel],
102
+ numberOfLines: 1
103
+ }, participantLabel));
115
104
  };
116
105
  const useStyles = (landscape = false) => {
117
106
  const {