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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
  5. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
  7. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
  9. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
  11. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
  13. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
  15. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
  17. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
  19. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  21. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
  23. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
  25. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
  27. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
  29. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
  31. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/index.js +0 -11
  33. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
  35. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  37. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  41. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  42. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
  43. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
  45. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
  47. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  48. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
  49. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  51. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  53. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  55. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
  57. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  58. package/dist/commonjs/components/Call/index.js +0 -11
  59. package/dist/commonjs/components/Call/index.js.map +1 -1
  60. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
  61. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  62. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  63. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  65. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
  67. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  69. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  73. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  75. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  77. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  79. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  81. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  83. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  85. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
  89. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  90. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  91. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
  92. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  93. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
  94. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  95. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  96. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  97. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
  98. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  99. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  100. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  101. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
  102. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  103. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
  104. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  105. package/dist/commonjs/components/utility/Avatar.js +1 -1
  106. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  107. package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
  108. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  109. package/dist/commonjs/constants/TestIds.js +1 -1
  110. package/dist/commonjs/constants/TestIds.js.map +1 -1
  111. package/dist/commonjs/constants/index.js +24 -5
  112. package/dist/commonjs/constants/index.js.map +1 -1
  113. package/dist/commonjs/icons/CameraSwitch.js +6 -3
  114. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  115. package/dist/commonjs/icons/IconWrapper.js +25 -0
  116. package/dist/commonjs/icons/IconWrapper.js.map +1 -0
  117. package/dist/commonjs/icons/Lock.js +26 -0
  118. package/dist/commonjs/icons/Lock.js.map +1 -0
  119. package/dist/commonjs/icons/Mic.js +6 -6
  120. package/dist/commonjs/icons/Mic.js.map +1 -1
  121. package/dist/commonjs/icons/MicOff.js +6 -3
  122. package/dist/commonjs/icons/MicOff.js.map +1 -1
  123. package/dist/commonjs/icons/Phone.js +13 -3
  124. package/dist/commonjs/icons/Phone.js.map +1 -1
  125. package/dist/commonjs/icons/PhoneDown.js +6 -3
  126. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  127. package/dist/commonjs/icons/PinVertical.js +5 -2
  128. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  129. package/dist/commonjs/icons/Reaction.js +3 -1
  130. package/dist/commonjs/icons/Reaction.js.map +1 -1
  131. package/dist/commonjs/icons/ScreenShare.js +6 -3
  132. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  133. package/dist/commonjs/icons/StopScreenShare.js +5 -2
  134. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  135. package/dist/commonjs/icons/Video.js +6 -3
  136. package/dist/commonjs/icons/Video.js.map +1 -1
  137. package/dist/commonjs/icons/VideoSlash.js +6 -3
  138. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  139. package/dist/commonjs/icons/index.js +11 -22
  140. package/dist/commonjs/icons/index.js.map +1 -1
  141. package/dist/commonjs/theme/colors.js +22 -39
  142. package/dist/commonjs/theme/colors.js.map +1 -1
  143. package/dist/commonjs/theme/constants.js +44 -44
  144. package/dist/commonjs/theme/constants.js.map +1 -1
  145. package/dist/commonjs/theme/index.js +11 -10
  146. package/dist/commonjs/theme/index.js.map +1 -1
  147. package/dist/commonjs/theme/theme.js +46 -9
  148. package/dist/commonjs/theme/theme.js.map +1 -1
  149. package/dist/commonjs/translations/en.json +7 -3
  150. package/dist/commonjs/version.js +1 -1
  151. package/dist/module/components/Call/CallContent/CallContent.js +26 -21
  152. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  153. package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
  154. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  155. package/dist/module/components/Call/CallControls/CallControls.js +2 -2
  156. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  157. package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
  158. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  159. package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
  160. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  161. package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
  162. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  163. package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
  164. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  165. package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
  166. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  167. package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
  168. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  169. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  170. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  171. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
  172. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  173. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
  174. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  175. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
  176. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  177. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
  178. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  179. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
  180. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  181. package/dist/module/components/Call/CallControls/index.js +0 -1
  182. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  183. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
  184. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  185. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  186. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  187. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
  188. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  189. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  190. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  191. package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
  192. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  193. package/dist/module/components/Call/Lobby/Lobby.js +64 -93
  194. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  195. package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
  196. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  197. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
  198. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  199. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  200. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  201. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  202. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  203. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  204. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  205. package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
  206. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  207. package/dist/module/components/Call/index.js +0 -1
  208. package/dist/module/components/Call/index.js.map +1 -1
  209. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
  210. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  211. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  212. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  213. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  214. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  215. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
  216. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  217. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  218. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  219. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
  220. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  221. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  222. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  223. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  224. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  225. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  226. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  227. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  228. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  229. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  230. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  231. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  232. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  233. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  234. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  235. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  236. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  237. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
  238. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  239. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  240. package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
  241. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  242. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
  243. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  244. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  245. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  246. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
  247. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  248. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  249. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  250. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
  251. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  252. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
  253. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  254. package/dist/module/components/utility/Avatar.js +1 -1
  255. package/dist/module/components/utility/Avatar.js.map +1 -1
  256. package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
  257. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  258. package/dist/module/constants/TestIds.js +1 -1
  259. package/dist/module/constants/TestIds.js.map +1 -1
  260. package/dist/module/constants/index.js +23 -4
  261. package/dist/module/constants/index.js.map +1 -1
  262. package/dist/module/icons/CameraSwitch.js +6 -3
  263. package/dist/module/icons/CameraSwitch.js.map +1 -1
  264. package/dist/module/icons/IconWrapper.js +17 -0
  265. package/dist/module/icons/IconWrapper.js.map +1 -0
  266. package/dist/module/icons/Lock.js +16 -0
  267. package/dist/module/icons/Lock.js.map +1 -0
  268. package/dist/module/icons/Mic.js +6 -6
  269. package/dist/module/icons/Mic.js.map +1 -1
  270. package/dist/module/icons/MicOff.js +6 -3
  271. package/dist/module/icons/MicOff.js.map +1 -1
  272. package/dist/module/icons/Phone.js +13 -3
  273. package/dist/module/icons/Phone.js.map +1 -1
  274. package/dist/module/icons/PhoneDown.js +6 -3
  275. package/dist/module/icons/PhoneDown.js.map +1 -1
  276. package/dist/module/icons/PinVertical.js +5 -2
  277. package/dist/module/icons/PinVertical.js.map +1 -1
  278. package/dist/module/icons/Reaction.js +3 -1
  279. package/dist/module/icons/Reaction.js.map +1 -1
  280. package/dist/module/icons/ScreenShare.js +6 -3
  281. package/dist/module/icons/ScreenShare.js.map +1 -1
  282. package/dist/module/icons/StopScreenShare.js +5 -2
  283. package/dist/module/icons/StopScreenShare.js.map +1 -1
  284. package/dist/module/icons/Video.js +6 -3
  285. package/dist/module/icons/Video.js.map +1 -1
  286. package/dist/module/icons/VideoSlash.js +6 -3
  287. package/dist/module/icons/VideoSlash.js.map +1 -1
  288. package/dist/module/icons/index.js +1 -2
  289. package/dist/module/icons/index.js.map +1 -1
  290. package/dist/module/theme/colors.js +22 -39
  291. package/dist/module/theme/colors.js.map +1 -1
  292. package/dist/module/theme/constants.js +44 -44
  293. package/dist/module/theme/constants.js.map +1 -1
  294. package/dist/module/theme/index.js +1 -5
  295. package/dist/module/theme/index.js.map +1 -1
  296. package/dist/module/theme/theme.js +46 -9
  297. package/dist/module/theme/theme.js.map +1 -1
  298. package/dist/module/translations/en.json +7 -3
  299. package/dist/module/version.js +1 -1
  300. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
  301. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  302. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
  303. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
  304. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  305. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
  306. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
  307. package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
  308. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  309. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
  310. package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
  311. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
  312. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
  313. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
  314. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  315. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
  316. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
  317. package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
  318. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
  319. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  320. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  321. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  322. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  323. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  324. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  325. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
  326. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  327. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
  328. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  329. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
  330. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  331. package/dist/typescript/components/Call/index.d.ts +0 -1
  332. package/dist/typescript/components/Call/index.d.ts.map +1 -1
  333. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  334. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
  335. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
  336. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
  337. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  338. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  339. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  340. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  341. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  342. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
  343. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  344. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  345. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  346. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
  347. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
  348. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  349. package/dist/typescript/constants/TestIds.d.ts +2 -2
  350. package/dist/typescript/constants/TestIds.d.ts.map +1 -1
  351. package/dist/typescript/constants/index.d.ts +0 -1
  352. package/dist/typescript/constants/index.d.ts.map +1 -1
  353. package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
  354. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  355. package/dist/typescript/icons/IconWrapper.d.ts +6 -0
  356. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
  357. package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
  358. package/dist/typescript/icons/Lock.d.ts.map +1 -0
  359. package/dist/typescript/icons/Mic.d.ts +2 -1
  360. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  361. package/dist/typescript/icons/MicOff.d.ts +2 -1
  362. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  363. package/dist/typescript/icons/Phone.d.ts +2 -1
  364. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  365. package/dist/typescript/icons/PhoneDown.d.ts +2 -1
  366. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  367. package/dist/typescript/icons/PinVertical.d.ts +2 -1
  368. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  369. package/dist/typescript/icons/ScreenShare.d.ts +2 -1
  370. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  371. package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
  372. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  373. package/dist/typescript/icons/Video.d.ts +2 -1
  374. package/dist/typescript/icons/Video.d.ts.map +1 -1
  375. package/dist/typescript/icons/VideoSlash.d.ts +2 -1
  376. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  377. package/dist/typescript/icons/index.d.ts +1 -2
  378. package/dist/typescript/icons/index.d.ts.map +1 -1
  379. package/dist/typescript/theme/colors.d.ts +5 -38
  380. package/dist/typescript/theme/colors.d.ts.map +1 -1
  381. package/dist/typescript/theme/constants.d.ts +44 -44
  382. package/dist/typescript/theme/constants.d.ts.map +1 -1
  383. package/dist/typescript/theme/index.d.ts +1 -2
  384. package/dist/typescript/theme/index.d.ts.map +1 -1
  385. package/dist/typescript/theme/theme.d.ts +23 -31
  386. package/dist/typescript/theme/theme.d.ts.map +1 -1
  387. package/dist/typescript/theme/types.d.ts +65 -18
  388. package/dist/typescript/theme/types.d.ts.map +1 -1
  389. package/dist/typescript/translations/index.d.ts +5 -1
  390. package/dist/typescript/translations/index.d.ts.map +1 -1
  391. package/dist/typescript/version.d.ts +1 -1
  392. package/package.json +3 -3
  393. package/src/components/Call/CallContent/CallContent.tsx +25 -33
  394. package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
  395. package/src/components/Call/CallControls/CallControls.tsx +2 -2
  396. package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
  397. package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
  398. package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
  399. package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
  400. package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
  401. package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
  402. package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
  403. package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
  404. package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
  405. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
  406. package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
  407. package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
  408. package/src/components/Call/CallControls/index.tsx +0 -1
  409. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
  410. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
  411. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
  412. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
  413. package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
  414. package/src/components/Call/Lobby/Lobby.tsx +74 -121
  415. package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
  416. package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
  417. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
  418. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
  419. package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
  420. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  421. package/src/components/Call/index.ts +0 -1
  422. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
  423. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
  424. package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
  425. package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
  426. package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
  427. package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
  428. package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
  429. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
  430. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
  431. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
  432. package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
  433. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
  434. package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
  435. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
  436. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
  437. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
  438. package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
  439. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
  440. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
  441. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
  442. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
  443. package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
  444. package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
  445. package/src/components/utility/Avatar.tsx +2 -4
  446. package/src/components/utility/ScreenShareOverlay.tsx +5 -5
  447. package/src/constants/TestIds.ts +1 -1
  448. package/src/constants/index.ts +27 -5
  449. package/src/icons/CameraSwitch.tsx +4 -3
  450. package/src/icons/IconWrapper.tsx +15 -0
  451. package/src/icons/Lock.tsx +19 -0
  452. package/src/icons/Mic.tsx +4 -7
  453. package/src/icons/MicOff.tsx +4 -3
  454. package/src/icons/Phone.tsx +11 -3
  455. package/src/icons/PhoneDown.tsx +9 -3
  456. package/src/icons/PinVertical.tsx +3 -2
  457. package/src/icons/Reaction.tsx +1 -1
  458. package/src/icons/ScreenShare.tsx +9 -3
  459. package/src/icons/StopScreenShare.tsx +3 -2
  460. package/src/icons/Video.tsx +4 -3
  461. package/src/icons/VideoSlash.tsx +9 -3
  462. package/src/icons/index.tsx +1 -2
  463. package/src/theme/colors.ts +27 -42
  464. package/src/theme/constants.ts +51 -44
  465. package/src/theme/index.ts +1 -8
  466. package/src/theme/theme.ts +77 -40
  467. package/src/theme/types.ts +72 -21
  468. package/src/translations/en.json +7 -3
  469. package/src/version.ts +1 -1
  470. package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
  471. package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
  472. package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
  473. package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
  474. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
  475. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  476. package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
  477. package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
  478. package/dist/commonjs/icons/Chat.js +0 -19
  479. package/dist/commonjs/icons/Chat.js.map +0 -1
  480. package/dist/commonjs/icons/Participants.js +0 -21
  481. package/dist/commonjs/icons/Participants.js.map +0 -1
  482. package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
  483. package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
  484. package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
  485. package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
  486. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
  487. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  488. package/dist/module/components/Call/CallTopView/index.js +0 -3
  489. package/dist/module/components/Call/CallTopView/index.js.map +0 -1
  490. package/dist/module/icons/Chat.js +0 -11
  491. package/dist/module/icons/Chat.js.map +0 -1
  492. package/dist/module/icons/Participants.js +0 -13
  493. package/dist/module/icons/Participants.js.map +0 -1
  494. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
  495. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
  496. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
  497. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
  498. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
  499. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
  500. package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
  501. package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
  502. package/dist/typescript/icons/Chat.d.ts.map +0 -1
  503. package/dist/typescript/icons/Participants.d.ts +0 -8
  504. package/dist/typescript/icons/Participants.d.ts.map +0 -1
  505. package/src/components/Call/CallControls/ChatButton.tsx +0 -90
  506. package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
  507. package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
  508. package/src/components/Call/CallTopView/index.ts +0 -2
  509. package/src/icons/Chat.tsx +0 -16
  510. package/src/icons/Participants.tsx +0 -18
@@ -27,11 +27,11 @@ const useConnectionQualitySignalColors = (
27
27
 
28
28
  switch (connectionQuality) {
29
29
  case SfuModels.ConnectionQuality.EXCELLENT:
30
- return [colors.primary, colors.primary, colors.primary];
30
+ return [colors.iconSuccess, colors.iconSuccess, colors.iconSuccess];
31
31
  case SfuModels.ConnectionQuality.GOOD:
32
- return [colors.primary, colors.primary, colors.static_white];
32
+ return [colors.iconSuccess, colors.iconSuccess, colors.iconPrimary];
33
33
  case SfuModels.ConnectionQuality.POOR:
34
- return [colors.error, colors.static_white, colors.static_white];
34
+ return [colors.iconWarning, colors.iconPrimary, colors.iconPrimary];
35
35
  default:
36
36
  return null;
37
37
  }
@@ -57,7 +57,7 @@ export const ParticipantNetworkQualityIndicator = ({
57
57
  style={[
58
58
  styles.container,
59
59
  {
60
- backgroundColor: colors.static_overlay,
60
+ backgroundColor: colors.sheetOverlay,
61
61
  height: iconSizes.lg,
62
62
  width: iconSizes.lg,
63
63
  },
@@ -98,6 +98,6 @@ const styles = StyleSheet.create({
98
98
  container: {
99
99
  zIndex: Z_INDEX.IN_FRONT,
100
100
  alignSelf: 'flex-end',
101
- borderRadius: 5,
101
+ borderTopLeftRadius: 5,
102
102
  },
103
103
  });
@@ -1,4 +1,4 @@
1
- import React, { useEffect } from 'react';
1
+ import React, { useEffect, useMemo } from 'react';
2
2
  import { StyleSheet, Text, View } from 'react-native';
3
3
  import { useCall } from '@stream-io/video-react-bindings';
4
4
  import { Z_INDEX, defaultEmojiReactions } from '../../../constants';
@@ -32,12 +32,9 @@ export const ParticipantReaction = ({
32
32
  }: ParticipantReactionProps) => {
33
33
  const { reaction, sessionId } = participant;
34
34
  const call = useCall();
35
+ const styles = useStyles();
35
36
  const {
36
- theme: {
37
- typefaces,
38
- variants: { iconSizes },
39
- participantReaction,
40
- },
37
+ theme: { typefaces, participantReaction },
41
38
  } = useTheme();
42
39
 
43
40
  useEffect(() => {
@@ -60,26 +57,39 @@ export const ParticipantReaction = ({
60
57
  );
61
58
 
62
59
  return (
63
- <View
64
- style={[
65
- styles.container,
66
- {
67
- height: iconSizes.md,
68
- width: iconSizes.md,
69
- },
70
- participantReaction.container,
71
- ]}
72
- >
73
- <Text style={[participantReaction.reaction, typefaces.heading6]}>
74
- {currentReaction?.icon}
75
- </Text>
76
- </View>
60
+ currentReaction?.icon != null && (
61
+ <View style={[styles.container, participantReaction.container]}>
62
+ <View style={styles.reaction}>
63
+ <Text style={[participantReaction.reaction, typefaces.heading6]}>
64
+ {currentReaction?.icon}
65
+ </Text>
66
+ </View>
67
+ </View>
68
+ )
77
69
  );
78
70
  };
79
71
 
80
- const styles = StyleSheet.create({
81
- container: {
82
- alignSelf: 'flex-start',
83
- zIndex: Z_INDEX.IN_FRONT,
84
- },
85
- });
72
+ const useStyles = () => {
73
+ const { theme } = useTheme();
74
+ return useMemo(
75
+ () =>
76
+ StyleSheet.create({
77
+ container: {
78
+ flex: 1,
79
+ zIndex: Z_INDEX.IN_FRONT,
80
+ },
81
+ reaction: {
82
+ borderRadius: theme.variants.borderRadiusSizes.sm,
83
+ backgroundColor: theme.colors.sheetOverlay,
84
+ alignSelf: 'flex-end',
85
+ marginRight: theme.variants.spacingSizes.md,
86
+ marginTop: theme.variants.spacingSizes.md,
87
+ height: theme.variants.roundButtonSizes.md,
88
+ width: theme.variants.roundButtonSizes.md,
89
+ alignItems: 'center',
90
+ justifyContent: 'center',
91
+ },
92
+ }),
93
+ [theme]
94
+ );
95
+ };
@@ -29,18 +29,14 @@ export const ParticipantVideoFallback = ({
29
29
  <View
30
30
  style={[
31
31
  styles.container,
32
- {
33
- backgroundColor: colors.static_grey,
34
- },
32
+ { backgroundColor: colors.sheetTertiary },
35
33
  participantVideoFallback.container,
36
34
  ]}
37
35
  >
38
36
  {!image ? (
39
37
  <Text
40
38
  style={[
41
- {
42
- color: colors.static_white,
43
- },
39
+ { color: colors.textPrimary },
44
40
  typefaces.bodyBold,
45
41
  participantVideoFallback.label,
46
42
  ]}
@@ -1,4 +1,4 @@
1
- import React, { ComponentType } from 'react';
1
+ import React, { ComponentType, useMemo } from 'react';
2
2
  import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
3
3
  import {
4
4
  StreamVideoParticipant,
@@ -113,13 +113,12 @@ export const ParticipantView = ({
113
113
  theme: { colors, participantView },
114
114
  } = useTheme();
115
115
  const { isSpeaking, userId } = participant;
116
+ const styles = useStyles();
116
117
  const isScreenSharing = trackType === 'screenShareTrack';
117
118
  const applySpeakerStyle = isSpeaking && !isScreenSharing;
118
119
  const speakerStyle = applySpeakerStyle && [
119
120
  styles.highligtedContainer,
120
- {
121
- borderColor: colors.primary,
122
- },
121
+ { borderColor: colors.buttonPrimary },
123
122
  participantView.highligtedContainer,
124
123
  ];
125
124
 
@@ -148,7 +147,13 @@ export const ParticipantView = ({
148
147
  videoZOrder={videoZOrder}
149
148
  />
150
149
  )}
151
- <View style={[styles.footerContainer, participantView.footerContainer]}>
150
+ <View
151
+ style={[
152
+ styles.footerContainer,
153
+ participantView.footerContainer,
154
+ !ParticipantLabel && styles.networkIndicatorOnly,
155
+ ]}
156
+ >
152
157
  {ParticipantLabel && (
153
158
  <ParticipantLabel participant={participant} trackType={trackType} />
154
159
  )}
@@ -160,20 +165,26 @@ export const ParticipantView = ({
160
165
  );
161
166
  };
162
167
 
163
- const styles = StyleSheet.create({
164
- container: {
165
- justifyContent: 'space-between',
166
- padding: 4,
167
- overflow: 'hidden',
168
- borderWidth: 2,
169
- borderColor: 'transparent',
170
- },
171
- footerContainer: {
172
- flexDirection: 'row',
173
- justifyContent: 'space-between',
174
- alignItems: 'center',
175
- },
176
- highligtedContainer: {
177
- borderWidth: 2,
178
- },
179
- });
168
+ const useStyles = () => {
169
+ const { theme } = useTheme();
170
+ return useMemo(
171
+ () =>
172
+ StyleSheet.create({
173
+ container: {
174
+ overflow: 'hidden',
175
+ justifyContent: 'flex-end',
176
+ borderRadius: theme.variants.borderRadiusSizes.md,
177
+ },
178
+ footerContainer: {
179
+ flexDirection: 'row',
180
+ justifyContent: 'space-between',
181
+ alignItems: 'center',
182
+ },
183
+ highligtedContainer: {
184
+ borderWidth: 2,
185
+ },
186
+ networkIndicatorOnly: { justifyContent: 'flex-end' },
187
+ }),
188
+ [theme]
189
+ );
190
+ };
@@ -0,0 +1,103 @@
1
+ import React, { useEffect, useMemo, useState } from 'react';
2
+ import { View, Animated, StyleSheet } from 'react-native';
3
+ import { useTheme } from '../../..';
4
+
5
+ /**
6
+ * Props for the SpeechIndicator component.
7
+ */
8
+ export type SpeechIndicatorProps = {
9
+ /**
10
+ * Indicates whether the participant is speaking.
11
+ * If true, the animation will run, otherwise the bars will remain static.
12
+ */
13
+ isSpeaking: boolean;
14
+ };
15
+
16
+ /**
17
+ * The SpeechIndicator component displays animated bars to indicate speech activity.
18
+ * The bars animate when `isSpeaking` is true, mimicking a sound meter.
19
+ */
20
+ export const SpeechIndicator = ({ isSpeaking }: SpeechIndicatorProps) => {
21
+ const styles = useStyles();
22
+
23
+ const [animationValues] = useState(() => [
24
+ new Animated.Value(0.6),
25
+ new Animated.Value(0.6),
26
+ new Animated.Value(0.6),
27
+ ]);
28
+
29
+ useEffect(() => {
30
+ if (isSpeaking) {
31
+ animationValues.forEach((animatedValue, index) => {
32
+ Animated.loop(
33
+ Animated.sequence([
34
+ Animated.timing(animatedValue, {
35
+ toValue: index % 2 === 0 ? 0.3 : 1.1,
36
+ duration: (index + 1) * 300,
37
+ useNativeDriver: true,
38
+ }),
39
+ Animated.timing(animatedValue, {
40
+ toValue: 0.6,
41
+ duration: (index + 1) * 300,
42
+ useNativeDriver: true,
43
+ }),
44
+ ])
45
+ ).start();
46
+ });
47
+ } else {
48
+ animationValues.forEach((animatedValue) => {
49
+ animatedValue.setValue(0.3); // Set a smaller value for a reduced default height
50
+ });
51
+ }
52
+ }, [isSpeaking, animationValues]);
53
+
54
+ const barStyle = (animatedValue: Animated.Value) => ({
55
+ transform: [{ scaleY: animatedValue }],
56
+ });
57
+
58
+ return (
59
+ <View style={[styles.container]}>
60
+ {animationValues.map((animatedValue, index) => (
61
+ <Animated.View
62
+ key={index}
63
+ style={[
64
+ styles.bar,
65
+ isSpeaking ? barStyle(animatedValue) : styles.smallBar, // Apply smaller bar style when not speaking
66
+ ]}
67
+ />
68
+ ))}
69
+ </View>
70
+ );
71
+ };
72
+
73
+ const useStyles = () => {
74
+ const { theme } = useTheme();
75
+ return useMemo(
76
+ () =>
77
+ StyleSheet.create({
78
+ container: {
79
+ flexDirection: 'row',
80
+ justifyContent: 'space-between',
81
+ alignItems: 'center',
82
+ height: theme.variants.roundButtonSizes.sm,
83
+ width: theme.variants.roundButtonSizes.sm,
84
+ borderRadius: 5,
85
+ gap: 1,
86
+ backgroundColor: theme.colors.sheetOverlay,
87
+ padding: 5,
88
+ },
89
+ smallBar: {
90
+ height: '30%', // Smaller default height when animation is not running
91
+ },
92
+ bar: {
93
+ width: 3,
94
+ height: '100%',
95
+ backgroundColor: theme.colors.iconSecondary,
96
+ borderRadius: 2,
97
+ },
98
+ }),
99
+ [theme]
100
+ );
101
+ };
102
+
103
+ export default SpeechIndicator;
@@ -69,9 +69,7 @@ export const Avatar = (props: AvatarProps) => {
69
69
  height: size,
70
70
  width: size,
71
71
  },
72
- {
73
- backgroundColor: colors.primary,
74
- },
72
+ { backgroundColor: colors.primary },
75
73
  avatar.container,
76
74
  styleProp?.container,
77
75
  ]}
@@ -88,7 +86,7 @@ export const Avatar = (props: AvatarProps) => {
88
86
  <Text
89
87
  style={[
90
88
  styles.text,
91
- { fontSize: size / 2, color: colors.bars },
89
+ { fontSize: size / 2, color: colors.textPrimary },
92
90
  typefaces.heading6,
93
91
  avatar.text,
94
92
  styleProp?.text,
@@ -33,7 +33,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
33
33
  <View
34
34
  style={[
35
35
  styles.container,
36
- { backgroundColor: colors.static_grey },
36
+ { backgroundColor: colors.sheetTertiary },
37
37
  screenshareOverlay.container,
38
38
  ]}
39
39
  >
@@ -41,7 +41,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
41
41
  style={[
42
42
  styles.text,
43
43
  typefaces.subtitleBold,
44
- { color: colors.static_white },
44
+ { color: colors.textPrimary },
45
45
  screenshareOverlay.text,
46
46
  ]}
47
47
  >
@@ -53,7 +53,7 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
53
53
  return [
54
54
  styles.button,
55
55
  {
56
- backgroundColor: colors.dark_gray,
56
+ backgroundColor: colors.sheetSecondary,
57
57
  opacity: pressed ? 0.2 : 1,
58
58
  },
59
59
  screenshareOverlay.button,
@@ -67,12 +67,12 @@ export const ScreenShareOverlay = ({}: ScreenShareOverlayProps) => {
67
67
  screenshareOverlay.buttonIcon,
68
68
  ]}
69
69
  >
70
- <StopScreenShare color={colors.static_white} />
70
+ <StopScreenShare size={iconSizes.xs} color={colors.iconPrimary} />
71
71
  </View>
72
72
  <Text
73
73
  style={[
74
74
  styles.buttonText,
75
- { color: colors.static_white },
75
+ { color: colors.textPrimary },
76
76
  screenshareOverlay.buttonText,
77
77
  ]}
78
78
  >
@@ -1,6 +1,7 @@
1
1
  export enum IconTestIds {
2
2
  MUTED_VIDEO = 'muted-video-icon',
3
3
  HANG_UP_CALL = 'hang-up-call-icon',
4
+ PHONE = 'phone-icon',
4
5
  SCREEN_SHARE_INDICATOR = 'screen-share-indicator-icon',
5
6
  SCREEN_SHARE = 'screen-share-icon',
6
7
  }
@@ -15,7 +16,6 @@ export enum ComponentTestIds {
15
16
  PARTICIPANTS_INFO = 'participants-info',
16
17
  PARTICIPANT_SCREEN_SHARING = 'participant-screen-sharing',
17
18
  REACTIONS_PICKER = 'reactions-picker',
18
- CHAT_UNREAD_BADGE_COUNT_INDICATOR = 'chat-unread-badge-count-indicator',
19
19
  }
20
20
 
21
21
  export enum ButtonTestIds {
@@ -6,9 +6,13 @@ export const FLOATING_VIDEO_VIEW_STYLE = {
6
6
  borderRadius: 10,
7
7
  };
8
8
 
9
- export const LOBBY_VIDEO_VIEW_HEIGHT = 240;
10
-
11
9
  export const defaultEmojiReactions: StreamReactionType[] = [
10
+ {
11
+ type: 'reaction',
12
+ emoji_code: ':rolling_on_the_floor_laughing:',
13
+ custom: {},
14
+ icon: '🤣',
15
+ },
12
16
  {
13
17
  type: 'reaction',
14
18
  emoji_code: ':like:',
@@ -16,10 +20,16 @@ export const defaultEmojiReactions: StreamReactionType[] = [
16
20
  icon: '👍',
17
21
  },
18
22
  {
19
- type: 'raised-hand',
20
- emoji_code: ':raise-hand:',
23
+ type: 'reaction',
24
+ emoji_code: ':rocket:',
21
25
  custom: {},
22
- icon: '',
26
+ icon: '🚀',
27
+ },
28
+ {
29
+ type: 'reaction',
30
+ emoji_code: ':dislike:',
31
+ custom: {},
32
+ icon: '👎',
23
33
  },
24
34
  {
25
35
  type: 'reaction',
@@ -27,6 +37,18 @@ export const defaultEmojiReactions: StreamReactionType[] = [
27
37
  custom: {},
28
38
  icon: '🎉',
29
39
  },
40
+ {
41
+ type: 'reaction',
42
+ emoji_code: ':raised-hands:',
43
+ custom: {},
44
+ icon: '🙌',
45
+ },
46
+ {
47
+ type: 'raised-hand',
48
+ emoji_code: ':raised-hand:',
49
+ custom: {},
50
+ icon: '✋',
51
+ },
30
52
  ];
31
53
 
32
54
  export const Z_INDEX = {
@@ -4,12 +4,13 @@ import { ColorValue } from 'react-native/types';
4
4
 
5
5
  type Props = {
6
6
  color: ColorValue;
7
+ size: number;
7
8
  };
8
9
 
9
- export const CameraSwitch = ({ color }: Props) => (
10
- <Svg viewBox="0 0 28 23">
10
+ export const CameraSwitch = ({ color, size }: Props) => (
11
+ <Svg viewBox={'0 0 24 24'} width={size} height={size}>
11
12
  <Path
12
- d="M3.86621 22.0075H24.1117C26.5225 22.0075 27.7948 20.7575 27.7948 18.3691V6.65036C27.7948 4.26196 26.5225 3.01196 24.1117 3.01196H21.143C20.2725 3.01196 19.9934 2.86687 19.4466 2.29768L18.5649 1.34902C17.9845 0.735177 17.393 0.433838 16.2546 0.433838H11.6675C10.5292 0.433838 9.93764 0.735177 9.35728 1.34902L8.47558 2.29768C7.93987 2.85571 7.64969 3.01196 6.77916 3.01196H3.86621C1.4555 3.01196 0.194336 4.26196 0.194336 6.65036V18.3691C0.194336 20.7575 1.4555 22.0075 3.86621 22.0075ZM10.0492 8.34678C9.66978 7.90036 9.80371 7.29768 10.3729 6.86241C11.3104 6.11464 12.6274 5.65705 13.989 5.65705C17.1363 5.65705 19.614 7.75527 20.1609 10.7798H21.21C21.768 10.7798 21.9131 11.3155 21.5894 11.762L19.7925 14.2508C19.4689 14.7084 18.9109 14.6861 18.5872 14.2508L16.7792 11.762C16.4443 11.3267 16.6006 10.7798 17.1586 10.7798H18.2747C17.7725 8.9383 16.0649 7.57669 13.989 7.57669C13.0068 7.57669 12.2479 7.87803 11.489 8.46955C10.9756 8.82669 10.4399 8.80437 10.0492 8.34678ZM6.36621 11.9517L8.15192 9.47402C8.48675 9.01643 9.03362 9.03875 9.35728 9.47402L11.1765 11.9517C11.5001 12.387 11.3439 12.9338 10.7859 12.9338H9.72558C10.2278 14.7754 11.9354 16.137 14.0113 16.137C14.9934 16.137 15.7524 15.8356 16.5113 15.2553C17.0247 14.887 17.5716 14.9204 17.951 15.3669C18.3305 15.8133 18.2077 16.4383 17.6274 16.8624C16.6899 17.6102 15.3841 18.0566 14.0113 18.0566C10.8751 18.0566 8.3863 15.9584 7.83942 12.9338H6.74567C6.18764 12.9338 6.04255 12.3981 6.36621 11.9517Z"
13
+ d="M20 5.5H16.83L15.59 4.15C15.22 3.74 14.68 3.5 14.12 3.5H9.88C9.32 3.5 8.78 3.74 8.4 4.15L7.17 5.5H4C2.9 5.5 2 6.4 2 7.5V19.5C2 20.6 2.9 21.5 4 21.5H20C21.1 21.5 22 20.6 22 19.5V7.5C22 6.4 21.1 5.5 20 5.5ZM13.67 18.2C13.15 18.39 12.59 18.5 12 18.5C9.24 18.5 7 16.26 7 13.5H5L7.5 11L10 13.5H8C8 15.71 9.79 17.5 12 17.5C12.46 17.5 12.91 17.42 13.32 17.27C13.51 17.2 13.71 17.24 13.85 17.38C14.11 17.64 14.01 18.07 13.67 18.2ZM16.5 16L14 13.5H16C16 11.29 14.21 9.5 12 9.5C11.54 9.5 11.09 9.58 10.68 9.73C10.49 9.8 10.29 9.76 10.15 9.62C9.89 9.36 9.99 8.93 10.33 8.8C10.85 8.61 11.41 8.5 12 8.5C14.76 8.5 17 10.74 17 13.5H19L16.5 16Z"
13
14
  fill={color}
14
15
  />
15
16
  </Svg>
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { View, StyleSheet } from 'react-native';
4
+
5
+ export const IconWrapper = ({ children }: { children: ReactNode }) => {
6
+ return <View style={styles.container}>{children}</View>;
7
+ };
8
+
9
+ const styles = StyleSheet.create({
10
+ container: {
11
+ justifyContent: 'center',
12
+ alignItems: 'center',
13
+ flex: 1,
14
+ },
15
+ });
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import Svg, { Path } from 'react-native-svg';
3
+ import { ColorValue } from 'react-native/types';
4
+
5
+ type Props = {
6
+ color: ColorValue;
7
+ size: number;
8
+ };
9
+
10
+ export const Lock = ({ color, size }: Props) => {
11
+ return (
12
+ <Svg viewBox={'0 0 23 25'} width={size} height={size}>
13
+ <Path
14
+ fill={color}
15
+ d="M15.1992 23.5273C15.2852 23.3164 15.3281 23.1055 15.3281 22.8945C15.3281 22.3633 15.1836 21.8438 14.8945 21.3359L9.82031 12.2539C9.53125 11.7305 9.13672 11.332 8.63672 11.0586C8.14453 10.7773 7.625 10.6367 7.07812 10.6367C6.96094 10.6367 6.86719 10.6406 6.79688 10.6484C6.96875 10.4531 7.17188 10.293 7.40625 10.168C7.64844 10.043 7.92578 9.96484 8.23828 9.93359V7.08594C8.23828 5.98438 8.39844 5.02344 8.71875 4.20312C9.04688 3.38281 9.49219 2.70312 10.0547 2.16406C10.6172 1.61719 11.2539 1.21094 11.9648 0.945312C12.6758 0.671875 13.4141 0.535156 14.1797 0.535156C14.9453 0.535156 15.6836 0.671875 16.3945 0.945312C17.1055 1.21094 17.7422 1.61719 18.3047 2.16406C18.8672 2.70312 19.3125 3.38281 19.6406 4.20312C19.9688 5.02344 20.1328 5.98438 20.1328 7.08594V9.93359C20.7969 10.0273 21.3008 10.3047 21.6445 10.7656C21.9961 11.2188 22.1719 11.8516 22.1719 12.6641V20.7383C22.1719 21.6602 21.9492 22.3555 21.5039 22.8242C21.0586 23.293 20.4062 23.5273 19.5469 23.5273H15.1992ZM10.0898 9.88672H18.2695V6.82812C18.2695 5.84375 18.0781 5.01562 17.6953 4.34375C17.3203 3.67188 16.8203 3.16406 16.1953 2.82031C15.5781 2.47656 14.9062 2.30469 14.1797 2.30469C13.4453 2.30469 12.7695 2.47656 12.1523 2.82031C11.5352 3.16406 11.0352 3.67188 10.6523 4.34375C10.2773 5.01562 10.0898 5.84375 10.0898 6.82812V9.88672ZM1.98047 24.4648C1.49609 24.4648 1.11328 24.3125 0.832031 24.0078C0.542969 23.7031 0.398438 23.332 0.398438 22.8945C0.398438 22.6211 0.46875 22.3633 0.609375 22.1211L5.68359 13.0391C5.83203 12.7734 6.03125 12.5742 6.28125 12.4414C6.53125 12.3008 6.78906 12.2305 7.05469 12.2305C7.32031 12.2305 7.57422 12.3008 7.81641 12.4414C8.05859 12.5742 8.25781 12.7734 8.41406 13.0391L13.5 22.1094C13.6406 22.3594 13.7109 22.6211 13.7109 22.8945C13.7109 23.332 13.5664 23.7031 13.2773 24.0078C12.9961 24.3125 12.6133 24.4648 12.1289 24.4648H1.98047ZM7.05469 22.6836C7.32812 22.6836 7.55859 22.5859 7.74609 22.3906C7.94141 22.1953 8.04297 21.9609 8.05078 21.6875C8.05078 21.4219 7.95312 21.1914 7.75781 20.9961C7.5625 20.8008 7.32812 20.7031 7.05469 20.7031C6.78906 20.7031 6.55859 20.8008 6.36328 20.9961C6.16797 21.1914 6.07031 21.4219 6.07031 21.6875C6.07031 21.9609 6.16797 22.1953 6.36328 22.3906C6.55859 22.5859 6.78906 22.6836 7.05469 22.6836ZM7.05469 19.8828C7.26562 19.8828 7.43359 19.8203 7.55859 19.6953C7.69141 19.5703 7.76172 19.4062 7.76953 19.2031L7.86328 15.8516C7.87109 15.6172 7.80078 15.4258 7.65234 15.2773C7.50391 15.1211 7.30469 15.043 7.05469 15.043C6.8125 15.043 6.61719 15.1211 6.46875 15.2773C6.32031 15.4258 6.25 15.6172 6.25781 15.8516L6.35156 19.2031C6.35156 19.4062 6.41797 19.5703 6.55078 19.6953C6.68359 19.8203 6.85156 19.8828 7.05469 19.8828Z"
16
+ />
17
+ </Svg>
18
+ );
19
+ };
package/src/icons/Mic.tsx CHANGED
@@ -4,16 +4,13 @@ import { ColorValue } from 'react-native/types';
4
4
 
5
5
  type Props = {
6
6
  color: ColorValue;
7
+ size: number;
7
8
  };
8
9
 
9
- export const Mic = ({ color }: Props) => (
10
- <Svg viewBox="0 0 22 28">
10
+ export const Mic = ({ color, size }: Props) => (
11
+ <Svg viewBox={'0 0 27 27'} width={size} height={size}>
11
12
  <Path
12
- d="M11 17.6c2.459 0 4.444-1.923 4.444-4.305V4.683C15.444 2.301 13.46.378 11 .378 8.54.378 6.555 2.3 6.555 4.683v8.612c0 2.382 1.986 4.305 4.445 4.305Z"
13
- fill={color}
14
- />
15
- <Path
16
- d="M18.407 13.295c0 3.96-3.318 7.176-7.407 7.176-4.09 0-7.408-3.215-7.408-7.176H.63c0 5.066 3.867 9.228 8.89 9.931v4.42h2.962v-4.42c5.022-.703 8.89-4.865 8.89-9.931h-2.964Z"
13
+ d="M13.9992 16.9166C15.9358 16.9166 17.4992 15.3533 17.4992 13.4166V6.41663C17.4992 4.47996 15.9358 2.91663 13.9992 2.91663C12.0625 2.91663 10.4992 4.47996 10.4992 6.41663V13.4166C10.4992 15.3533 12.0625 16.9166 13.9992 16.9166ZM20.8942 13.4166C20.3225 13.4166 19.8442 13.8366 19.7508 14.4083C19.2725 17.15 16.8808 19.25 13.9992 19.25C11.1175 19.25 8.72584 17.15 8.2475 14.4083C8.15417 13.8366 7.67584 13.4166 7.10417 13.4166C6.3925 13.4166 5.8325 14.0466 5.9375 14.7466C6.50917 18.2466 9.30917 20.9883 12.8325 21.49V23.9166C12.8325 24.5583 13.3575 25.0833 13.9992 25.0833C14.6408 25.0833 15.1658 24.5583 15.1658 23.9166V21.49C18.6892 20.9883 21.4892 18.2466 22.0608 14.7466C22.1775 14.0466 21.6058 13.4166 20.8942 13.4166Z"
17
14
  fill={color}
18
15
  />
19
16
  </Svg>
@@ -4,12 +4,13 @@ import { ColorValue } from 'react-native/types';
4
4
 
5
5
  type Props = {
6
6
  color: ColorValue;
7
+ size: number;
7
8
  };
8
9
 
9
- export const MicOff = ({ color }: Props) => (
10
- <Svg viewBox="0 0 21 25">
10
+ export const MicOff = ({ color, size }: Props) => (
11
+ <Svg viewBox={'0 0 27 27'} width={size} height={size}>
11
12
  <Path
12
- d="M9.99986 0.241211C7.89048 0.241211 6.37263 1.70794 6.16057 3.87469V4.23026L13.9061 11.9417C13.9284 11.8639 13.9284 11.775 13.9284 11.6861V4.39693C13.9284 1.93017 12.2655 0.241211 9.99986 0.241211ZM18.6159 21.0976C18.9731 21.442 19.5423 21.442 19.8771 21.0976C20.2119 20.742 20.2231 20.1864 19.8771 19.842L1.98647 2.05239C1.64049 1.70794 1.07129 1.69682 0.725307 2.05239C0.379325 2.38574 0.379325 2.96354 0.725307 3.29689L18.6159 21.0976ZM1.46191 12.0861C1.46191 16.6863 4.54227 19.8309 8.96191 20.2531V22.5088H4.86593C4.27441 22.5088 3.78334 22.9754 3.78334 23.5644C3.78334 24.1422 4.27441 24.6199 4.86593 24.6199H15.1338C15.7253 24.6199 16.2164 24.1422 16.2164 23.5644C16.2164 22.9754 15.7253 22.5088 15.1338 22.5088H11.0378V20.2531C12.3883 20.1198 13.6048 19.742 14.6427 19.1308L13.1137 17.5975C12.2208 18.0419 11.1717 18.2864 9.99986 18.2864C6.19406 18.2864 3.61593 15.7974 3.61593 12.0083V9.89715C3.61593 9.30823 3.12486 8.85266 2.53334 8.85266C1.94182 8.85266 1.46191 9.30823 1.46191 9.89715V12.0861ZM16.049 14.0751L17.7566 15.764C18.2588 14.6973 18.5266 13.4528 18.5266 12.0861V9.89715C18.5266 9.30823 18.0467 8.85266 17.4552 8.85266C16.8637 8.85266 16.3838 9.30823 16.3838 9.89715V12.0083C16.3838 12.7639 16.2722 13.4528 16.049 14.0751ZM9.99986 15.9863C10.4463 15.9863 10.8816 15.9085 11.2722 15.764L6.04897 10.575V11.8306C6.04897 14.2973 7.73423 15.9863 9.99986 15.9863Z"
13
+ d="M17.9067 12.95V6.41663C17.9067 4.47996 16.3434 2.91663 14.4067 2.91663C12.61 2.91663 11.1517 4.26996 10.9534 6.00829L17.9067 12.95ZM21.5 13.4166C21.0217 13.4166 20.6017 13.7666 20.5317 14.245C20.4734 14.6183 20.3917 14.9916 20.2751 15.33L21.7567 16.8116C22.1067 16.1116 22.3634 15.3533 22.4917 14.5483C22.5734 13.9533 22.1067 13.4166 21.5 13.4166ZM4.73505 4.73663C4.28005 5.19163 4.28005 5.92663 4.73505 6.38163L10.9067 12.565V13.0666C10.9067 14.455 11.6067 15.7733 12.8084 16.4616C13.6834 16.9633 14.4534 16.975 15.165 16.8233L17.1017 18.76C16.2734 19.145 15.3517 19.3666 14.4067 19.3666C11.4434 19.3666 8.71338 17.3016 8.28172 14.245C8.21172 13.7666 7.79172 13.4166 7.31338 13.4166C6.70672 13.4166 6.24005 13.9533 6.32172 14.5483C6.85838 18.0016 9.77505 20.7316 13.24 21.2566V23.9166C13.24 24.5583 13.765 25.0833 14.4067 25.0833C15.0484 25.0833 15.5734 24.5583 15.5734 23.9166V21.2566C16.635 21.105 17.6384 20.7316 18.5484 20.2066L22.6201 24.2783C23.0751 24.7333 23.8101 24.7333 24.2651 24.2783C24.7201 23.8233 24.7201 23.0883 24.2651 22.6333L6.38005 4.73663C5.92505 4.28163 5.19005 4.28163 4.73505 4.73663Z"
13
14
  fill={color}
14
15
  />
15
16
  </Svg>
@@ -1,15 +1,23 @@
1
1
  import React from 'react';
2
2
  import { Svg, Path } from 'react-native-svg';
3
3
  import { ColorValue } from 'react-native/types';
4
+ import { IconTestIds } from '../constants/TestIds';
4
5
 
5
6
  type Props = {
6
7
  color: ColorValue;
8
+ size: number;
7
9
  };
8
10
 
9
- export const Phone = ({ color }: Props) => (
10
- <Svg viewBox="0 0 34 33">
11
+ export const Phone = ({ color, size }: Props) => (
12
+ <Svg
13
+ viewBox="0 0 24 9"
14
+ width={size}
15
+ height={size}
16
+ style={{ transform: [{ rotate: '-130deg' }] }}
17
+ testID={IconTestIds.PHONE}
18
+ >
11
19
  <Path
12
- d="M9.779 24.114c5 5.017 11.085 8.881 16.052 8.881 2.22 0 4.17-.78 5.73-2.508.914-1.017 1.474-2.187 1.474-3.356 0-.899-.356-1.78-1.22-2.39l-5.204-3.695c-.83-.577-1.509-.848-2.12-.848-.796 0-1.508.44-2.287 1.22l-1.22 1.22a.982.982 0 0 1-.662.272c-.271 0-.525-.102-.695-.203-1.068-.577-2.898-2.136-4.593-3.831-1.695-1.695-3.272-3.509-3.831-4.594a1.454 1.454 0 0 1-.187-.695.95.95 0 0 1 .255-.644l1.22-1.237c.763-.797 1.22-1.492 1.22-2.288 0-.628-.27-1.306-.847-2.12L9.186 2.147C8.559 1.265 7.677.892 6.71.892c-1.153 0-2.305.508-3.305 1.474C1.71 3.96.965 5.943.965 8.13c0 4.967 3.814 10.984 8.814 15.985Z"
20
+ d="M12 0.0546875C16.4531 0.0449219 20.5156 0.962891 22.5566 3.00391C23.4648 3.91211 23.9727 5.02539 23.9336 6.38281C23.9043 7.19336 23.6406 7.87695 23.1621 8.33594C22.7617 8.73633 22.2246 8.9707 21.5898 8.86328L17.9863 8.25781C17.4004 8.16016 17.0098 7.98438 16.7559 7.73047C16.4238 7.39844 16.3262 6.91992 16.3164 6.28516L16.3066 5.26953C16.3066 5.11328 16.248 4.98633 16.1504 4.89844C16.043 4.79102 15.8965 4.73242 15.7891 4.69336C15.0957 4.49805 13.709 4.39062 12 4.39062C10.291 4.39062 8.89453 4.54688 8.21094 4.69336C8.09375 4.72266 7.9375 4.78125 7.83008 4.89844C7.74219 4.99609 7.67383 5.11328 7.67383 5.26953V6.28516C7.66406 6.91992 7.56641 7.4082 7.23438 7.73047C6.98047 7.98438 6.58984 8.16016 6.01367 8.25781L2.37109 8.87305C1.74609 8.9707 1.22852 8.75586 0.837891 8.36523C0.369141 7.89648 0.105469 7.19336 0.0761719 6.39258C0.0078125 5.03516 0.486328 3.92188 1.4043 3.00391C3.44531 0.962891 7.53711 0.0546875 12 0.0546875Z"
13
21
  fill={color}
14
22
  />
15
23
  </Svg>
@@ -5,12 +5,18 @@ import { IconTestIds } from '../constants/TestIds';
5
5
 
6
6
  type Props = {
7
7
  color: ColorValue;
8
+ size: number;
8
9
  };
9
10
 
10
- export const PhoneDown = ({ color }: Props) => (
11
- <Svg viewBox="0 0 42 17" testID={IconTestIds.HANG_UP_CALL}>
11
+ export const PhoneDown = ({ color, size }: Props) => (
12
+ <Svg
13
+ viewBox={'0 0 24 9'}
14
+ width={size}
15
+ height={size}
16
+ testID={IconTestIds.HANG_UP_CALL}
17
+ >
12
18
  <Path
13
- d="M20.983.96C13.406.977 6.372 2.536 2.863 6.045 1.287 7.621.473 9.537.575 11.876c.068 1.373.508 2.576 1.322 3.407.644.627 1.526 1 2.56.83l6.305-1.067c.983-.153 1.661-.458 2.102-.899.56-.559.729-1.373.729-2.474l.017-1.746c0-.272.118-.475.27-.644.187-.204.442-.306.645-.34 1.17-.27 3.56-.542 6.475-.542 2.899 0 5.289.204 6.458.543.187.05.44.152.627.339.153.17.255.372.271.627l.017 1.763c.017 1.101.187 1.915.746 2.474.441.441 1.119.746 2.102.899l6.238 1.05c1.068.187 1.966-.203 2.644-.88.814-.78 1.271-1.984 1.305-3.374.068-2.322-.813-4.238-2.373-5.797C35.527 2.536 28.577.96 20.983.96Z"
19
+ d="M12 0.0546875C16.4531 0.0449219 20.5156 0.962891 22.5566 3.00391C23.4648 3.91211 23.9727 5.02539 23.9336 6.38281C23.9043 7.19336 23.6406 7.87695 23.1621 8.33594C22.7617 8.73633 22.2246 8.9707 21.5898 8.86328L17.9863 8.25781C17.4004 8.16016 17.0098 7.98438 16.7559 7.73047C16.4238 7.39844 16.3262 6.91992 16.3164 6.28516L16.3066 5.26953C16.3066 5.11328 16.248 4.98633 16.1504 4.89844C16.043 4.79102 15.8965 4.73242 15.7891 4.69336C15.0957 4.49805 13.709 4.39062 12 4.39062C10.291 4.39062 8.89453 4.54688 8.21094 4.69336C8.09375 4.72266 7.9375 4.78125 7.83008 4.89844C7.74219 4.99609 7.67383 5.11328 7.67383 5.26953V6.28516C7.66406 6.91992 7.56641 7.4082 7.23438 7.73047C6.98047 7.98438 6.58984 8.16016 6.01367 8.25781L2.37109 8.87305C1.74609 8.9707 1.22852 8.75586 0.837891 8.36523C0.369141 7.89648 0.105469 7.19336 0.0761719 6.39258C0.0078125 5.03516 0.486328 3.92188 1.4043 3.00391C3.44531 0.962891 7.53711 0.0546875 12 0.0546875Z"
14
20
  fill={color}
15
21
  />
16
22
  </Svg>
@@ -4,10 +4,11 @@ import { ColorValue } from 'react-native/types';
4
4
 
5
5
  type Props = {
6
6
  color: ColorValue;
7
+ size: number;
7
8
  };
8
9
 
9
- export const PinVertical = ({ color }: Props) => (
10
- <Svg viewBox="0 0 21 20">
10
+ export const PinVertical = ({ color, size }: Props) => (
11
+ <Svg viewBox="0 0 21 20" width={size} height={size}>
11
12
  <Path
12
13
  fill={color}
13
14
  d="M12.0682 3.45222V7.46363C12.0682 8.36218 12.365 9.19656 12.8705 9.87047H8.05678C8.57827 9.18051 8.85906 8.34614 8.85906 7.46363V3.45222H12.0682ZM14.475 1.84766H6.45222C6.01096 1.84766 5.64994 2.20868 5.64994 2.64994C5.64994 3.09119 6.01096 3.45222 6.45222 3.45222H7.2545V7.46363C7.2545 8.79541 6.17944 9.87047 4.84766 9.87047V11.475H9.63728V17.091L10.4396 17.8933L11.2418 17.091V11.475H16.0796V9.87047C14.7478 9.87047 13.6728 8.79541 13.6728 7.46363V3.45222H14.475C14.9163 3.45222 15.2773 3.09119 15.2773 2.64994C15.2773 2.20868 14.9163 1.84766 14.475 1.84766Z"