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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
  5. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
  7. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
  9. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
  11. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
  13. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
  15. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
  17. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
  19. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  21. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
  23. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
  25. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
  27. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
  29. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
  31. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/index.js +0 -11
  33. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
  35. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  37. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  41. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  42. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
  43. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
  45. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
  47. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  48. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
  49. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  51. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  53. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  55. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
  57. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  58. package/dist/commonjs/components/Call/index.js +0 -11
  59. package/dist/commonjs/components/Call/index.js.map +1 -1
  60. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
  61. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  62. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  63. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  65. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
  67. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  69. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  73. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  75. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  77. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  79. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  81. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  83. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  85. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
  89. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  90. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  91. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
  92. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  93. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
  94. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  95. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  96. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  97. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
  98. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  99. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  100. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  101. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
  102. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  103. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
  104. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  105. package/dist/commonjs/components/utility/Avatar.js +1 -1
  106. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  107. package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
  108. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  109. package/dist/commonjs/constants/TestIds.js +1 -1
  110. package/dist/commonjs/constants/TestIds.js.map +1 -1
  111. package/dist/commonjs/constants/index.js +24 -5
  112. package/dist/commonjs/constants/index.js.map +1 -1
  113. package/dist/commonjs/icons/CameraSwitch.js +6 -3
  114. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  115. package/dist/commonjs/icons/IconWrapper.js +25 -0
  116. package/dist/commonjs/icons/IconWrapper.js.map +1 -0
  117. package/dist/commonjs/icons/Lock.js +26 -0
  118. package/dist/commonjs/icons/Lock.js.map +1 -0
  119. package/dist/commonjs/icons/Mic.js +6 -6
  120. package/dist/commonjs/icons/Mic.js.map +1 -1
  121. package/dist/commonjs/icons/MicOff.js +6 -3
  122. package/dist/commonjs/icons/MicOff.js.map +1 -1
  123. package/dist/commonjs/icons/Phone.js +13 -3
  124. package/dist/commonjs/icons/Phone.js.map +1 -1
  125. package/dist/commonjs/icons/PhoneDown.js +6 -3
  126. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  127. package/dist/commonjs/icons/PinVertical.js +5 -2
  128. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  129. package/dist/commonjs/icons/Reaction.js +3 -1
  130. package/dist/commonjs/icons/Reaction.js.map +1 -1
  131. package/dist/commonjs/icons/ScreenShare.js +6 -3
  132. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  133. package/dist/commonjs/icons/StopScreenShare.js +5 -2
  134. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  135. package/dist/commonjs/icons/Video.js +6 -3
  136. package/dist/commonjs/icons/Video.js.map +1 -1
  137. package/dist/commonjs/icons/VideoSlash.js +6 -3
  138. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  139. package/dist/commonjs/icons/index.js +11 -22
  140. package/dist/commonjs/icons/index.js.map +1 -1
  141. package/dist/commonjs/theme/colors.js +22 -39
  142. package/dist/commonjs/theme/colors.js.map +1 -1
  143. package/dist/commonjs/theme/constants.js +44 -44
  144. package/dist/commonjs/theme/constants.js.map +1 -1
  145. package/dist/commonjs/theme/index.js +11 -10
  146. package/dist/commonjs/theme/index.js.map +1 -1
  147. package/dist/commonjs/theme/theme.js +46 -9
  148. package/dist/commonjs/theme/theme.js.map +1 -1
  149. package/dist/commonjs/translations/en.json +7 -3
  150. package/dist/commonjs/version.js +1 -1
  151. package/dist/module/components/Call/CallContent/CallContent.js +26 -21
  152. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  153. package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
  154. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  155. package/dist/module/components/Call/CallControls/CallControls.js +2 -2
  156. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  157. package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
  158. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  159. package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
  160. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  161. package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
  162. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  163. package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
  164. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  165. package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
  166. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  167. package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
  168. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  169. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
  170. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  171. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
  172. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  173. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
  174. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  175. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
  176. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  177. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
  178. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  179. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
  180. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  181. package/dist/module/components/Call/CallControls/index.js +0 -1
  182. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  183. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
  184. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  185. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
  186. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  187. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
  188. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  189. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
  190. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  191. package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
  192. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  193. package/dist/module/components/Call/Lobby/Lobby.js +64 -93
  194. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  195. package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
  196. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  197. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
  198. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  199. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
  200. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  201. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
  202. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  203. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
  204. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  205. package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
  206. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  207. package/dist/module/components/Call/index.js +0 -1
  208. package/dist/module/components/Call/index.js.map +1 -1
  209. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
  210. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  211. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
  212. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  213. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
  214. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  215. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
  216. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  217. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
  218. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  219. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
  220. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  221. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
  222. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  223. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
  224. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  225. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
  226. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  227. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
  228. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  229. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
  230. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  231. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
  232. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  233. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
  234. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  235. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
  236. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  237. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
  238. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  239. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  240. package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
  241. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  242. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
  243. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  244. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
  245. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  246. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
  247. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  248. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
  249. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  250. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
  251. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  252. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
  253. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
  254. package/dist/module/components/utility/Avatar.js +1 -1
  255. package/dist/module/components/utility/Avatar.js.map +1 -1
  256. package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
  257. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  258. package/dist/module/constants/TestIds.js +1 -1
  259. package/dist/module/constants/TestIds.js.map +1 -1
  260. package/dist/module/constants/index.js +23 -4
  261. package/dist/module/constants/index.js.map +1 -1
  262. package/dist/module/icons/CameraSwitch.js +6 -3
  263. package/dist/module/icons/CameraSwitch.js.map +1 -1
  264. package/dist/module/icons/IconWrapper.js +17 -0
  265. package/dist/module/icons/IconWrapper.js.map +1 -0
  266. package/dist/module/icons/Lock.js +16 -0
  267. package/dist/module/icons/Lock.js.map +1 -0
  268. package/dist/module/icons/Mic.js +6 -6
  269. package/dist/module/icons/Mic.js.map +1 -1
  270. package/dist/module/icons/MicOff.js +6 -3
  271. package/dist/module/icons/MicOff.js.map +1 -1
  272. package/dist/module/icons/Phone.js +13 -3
  273. package/dist/module/icons/Phone.js.map +1 -1
  274. package/dist/module/icons/PhoneDown.js +6 -3
  275. package/dist/module/icons/PhoneDown.js.map +1 -1
  276. package/dist/module/icons/PinVertical.js +5 -2
  277. package/dist/module/icons/PinVertical.js.map +1 -1
  278. package/dist/module/icons/Reaction.js +3 -1
  279. package/dist/module/icons/Reaction.js.map +1 -1
  280. package/dist/module/icons/ScreenShare.js +6 -3
  281. package/dist/module/icons/ScreenShare.js.map +1 -1
  282. package/dist/module/icons/StopScreenShare.js +5 -2
  283. package/dist/module/icons/StopScreenShare.js.map +1 -1
  284. package/dist/module/icons/Video.js +6 -3
  285. package/dist/module/icons/Video.js.map +1 -1
  286. package/dist/module/icons/VideoSlash.js +6 -3
  287. package/dist/module/icons/VideoSlash.js.map +1 -1
  288. package/dist/module/icons/index.js +1 -2
  289. package/dist/module/icons/index.js.map +1 -1
  290. package/dist/module/theme/colors.js +22 -39
  291. package/dist/module/theme/colors.js.map +1 -1
  292. package/dist/module/theme/constants.js +44 -44
  293. package/dist/module/theme/constants.js.map +1 -1
  294. package/dist/module/theme/index.js +1 -5
  295. package/dist/module/theme/index.js.map +1 -1
  296. package/dist/module/theme/theme.js +46 -9
  297. package/dist/module/theme/theme.js.map +1 -1
  298. package/dist/module/translations/en.json +7 -3
  299. package/dist/module/version.js +1 -1
  300. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
  301. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  302. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
  303. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
  304. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  305. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
  306. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
  307. package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
  308. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  309. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
  310. package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
  311. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
  312. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
  313. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
  314. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  315. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
  316. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
  317. package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
  318. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
  319. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  320. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  321. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  322. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  323. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  324. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  325. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
  326. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  327. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
  328. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  329. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
  330. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  331. package/dist/typescript/components/Call/index.d.ts +0 -1
  332. package/dist/typescript/components/Call/index.d.ts.map +1 -1
  333. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  334. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
  335. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
  336. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
  337. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  338. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  339. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  340. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  341. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  342. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
  343. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  344. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  345. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  346. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
  347. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
  348. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  349. package/dist/typescript/constants/TestIds.d.ts +2 -2
  350. package/dist/typescript/constants/TestIds.d.ts.map +1 -1
  351. package/dist/typescript/constants/index.d.ts +0 -1
  352. package/dist/typescript/constants/index.d.ts.map +1 -1
  353. package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
  354. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  355. package/dist/typescript/icons/IconWrapper.d.ts +6 -0
  356. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
  357. package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
  358. package/dist/typescript/icons/Lock.d.ts.map +1 -0
  359. package/dist/typescript/icons/Mic.d.ts +2 -1
  360. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  361. package/dist/typescript/icons/MicOff.d.ts +2 -1
  362. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  363. package/dist/typescript/icons/Phone.d.ts +2 -1
  364. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  365. package/dist/typescript/icons/PhoneDown.d.ts +2 -1
  366. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  367. package/dist/typescript/icons/PinVertical.d.ts +2 -1
  368. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  369. package/dist/typescript/icons/ScreenShare.d.ts +2 -1
  370. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  371. package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
  372. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  373. package/dist/typescript/icons/Video.d.ts +2 -1
  374. package/dist/typescript/icons/Video.d.ts.map +1 -1
  375. package/dist/typescript/icons/VideoSlash.d.ts +2 -1
  376. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  377. package/dist/typescript/icons/index.d.ts +1 -2
  378. package/dist/typescript/icons/index.d.ts.map +1 -1
  379. package/dist/typescript/theme/colors.d.ts +5 -38
  380. package/dist/typescript/theme/colors.d.ts.map +1 -1
  381. package/dist/typescript/theme/constants.d.ts +44 -44
  382. package/dist/typescript/theme/constants.d.ts.map +1 -1
  383. package/dist/typescript/theme/index.d.ts +1 -2
  384. package/dist/typescript/theme/index.d.ts.map +1 -1
  385. package/dist/typescript/theme/theme.d.ts +23 -31
  386. package/dist/typescript/theme/theme.d.ts.map +1 -1
  387. package/dist/typescript/theme/types.d.ts +65 -18
  388. package/dist/typescript/theme/types.d.ts.map +1 -1
  389. package/dist/typescript/translations/index.d.ts +5 -1
  390. package/dist/typescript/translations/index.d.ts.map +1 -1
  391. package/dist/typescript/version.d.ts +1 -1
  392. package/package.json +3 -3
  393. package/src/components/Call/CallContent/CallContent.tsx +25 -33
  394. package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
  395. package/src/components/Call/CallControls/CallControls.tsx +2 -2
  396. package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
  397. package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
  398. package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
  399. package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
  400. package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
  401. package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
  402. package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
  403. package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
  404. package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
  405. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
  406. package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
  407. package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
  408. package/src/components/Call/CallControls/index.tsx +0 -1
  409. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
  410. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
  411. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
  412. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
  413. package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
  414. package/src/components/Call/Lobby/Lobby.tsx +74 -121
  415. package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
  416. package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
  417. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
  418. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
  419. package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
  420. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  421. package/src/components/Call/index.ts +0 -1
  422. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
  423. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
  424. package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
  425. package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
  426. package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
  427. package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
  428. package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
  429. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
  430. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
  431. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
  432. package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
  433. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
  434. package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
  435. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
  436. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
  437. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
  438. package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
  439. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
  440. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
  441. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
  442. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
  443. package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
  444. package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
  445. package/src/components/utility/Avatar.tsx +2 -4
  446. package/src/components/utility/ScreenShareOverlay.tsx +5 -5
  447. package/src/constants/TestIds.ts +1 -1
  448. package/src/constants/index.ts +27 -5
  449. package/src/icons/CameraSwitch.tsx +4 -3
  450. package/src/icons/IconWrapper.tsx +15 -0
  451. package/src/icons/Lock.tsx +19 -0
  452. package/src/icons/Mic.tsx +4 -7
  453. package/src/icons/MicOff.tsx +4 -3
  454. package/src/icons/Phone.tsx +11 -3
  455. package/src/icons/PhoneDown.tsx +9 -3
  456. package/src/icons/PinVertical.tsx +3 -2
  457. package/src/icons/Reaction.tsx +1 -1
  458. package/src/icons/ScreenShare.tsx +9 -3
  459. package/src/icons/StopScreenShare.tsx +3 -2
  460. package/src/icons/Video.tsx +4 -3
  461. package/src/icons/VideoSlash.tsx +9 -3
  462. package/src/icons/index.tsx +1 -2
  463. package/src/theme/colors.ts +27 -42
  464. package/src/theme/constants.ts +51 -44
  465. package/src/theme/index.ts +1 -8
  466. package/src/theme/theme.ts +77 -40
  467. package/src/theme/types.ts +72 -21
  468. package/src/translations/en.json +7 -3
  469. package/src/version.ts +1 -1
  470. package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
  471. package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
  472. package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
  473. package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
  474. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
  475. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  476. package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
  477. package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
  478. package/dist/commonjs/icons/Chat.js +0 -19
  479. package/dist/commonjs/icons/Chat.js.map +0 -1
  480. package/dist/commonjs/icons/Participants.js +0 -21
  481. package/dist/commonjs/icons/Participants.js.map +0 -1
  482. package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
  483. package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
  484. package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
  485. package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
  486. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
  487. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  488. package/dist/module/components/Call/CallTopView/index.js +0 -3
  489. package/dist/module/components/Call/CallTopView/index.js.map +0 -1
  490. package/dist/module/icons/Chat.js +0 -11
  491. package/dist/module/icons/Chat.js.map +0 -1
  492. package/dist/module/icons/Participants.js +0 -13
  493. package/dist/module/icons/Participants.js.map +0 -1
  494. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
  495. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
  496. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
  497. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
  498. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
  499. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
  500. package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
  501. package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
  502. package/dist/typescript/icons/Chat.d.ts.map +0 -1
  503. package/dist/typescript/icons/Participants.d.ts +0 -8
  504. package/dist/typescript/icons/Participants.d.ts.map +0 -1
  505. package/src/components/Call/CallControls/ChatButton.tsx +0 -90
  506. package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
  507. package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
  508. package/src/components/Call/CallTopView/index.ts +0 -2
  509. package/src/icons/Chat.tsx +0 -16
  510. package/src/icons/Participants.tsx +0 -18
@@ -1,30 +1,30 @@
1
1
  import { ImageStyle, TextStyle, ViewStyle } from 'react-native/types';
2
- import { ColorScheme, FontStyle, FontTypes } from './types';
2
+ import { ColorScheme, DimensionType, FontStyle, FontTypes, Insets } from './types';
3
+ import { ColorValue } from 'react-native';
3
4
  export type Theme = {
4
5
  variants: {
5
- buttonSizes: {
6
- xs: number;
7
- sm: number;
8
- md: number;
9
- lg: number;
10
- xl: number;
11
- };
12
- iconSizes: {
13
- xs: number;
14
- sm: number;
15
- md: number;
16
- lg: number;
17
- xl: number;
18
- };
19
- avatarSizes: {
20
- xs: number;
21
- sm: number;
22
- md: number;
23
- lg: number;
24
- xl: number;
25
- };
6
+ buttonSizes: DimensionType;
7
+ roundButtonSizes: DimensionType;
8
+ iconSizes: DimensionType;
9
+ avatarSizes: DimensionType;
10
+ fontSizes: DimensionType;
11
+ spacingSizes: DimensionType;
12
+ borderRadiusSizes: DimensionType;
13
+ insets: Insets;
26
14
  };
27
15
  typefaces: Record<FontTypes, FontStyle>;
16
+ defaults: {
17
+ color: ColorValue;
18
+ backgroundColor: ColorValue;
19
+ margin: number;
20
+ padding: number;
21
+ fontSize: number;
22
+ iconSize: number;
23
+ fontWeight: TextStyle['fontWeight'];
24
+ borderRadius: ViewStyle['borderRadius'];
25
+ borderColor: ColorValue;
26
+ borderWidth: ViewStyle['borderWidth'];
27
+ };
28
28
  colors: ColorScheme;
29
29
  avatar: {
30
30
  container: ViewStyle;
@@ -169,15 +169,6 @@ export type Theme = {
169
169
  buttonGroup: ViewStyle;
170
170
  deviceControlButtons: ViewStyle;
171
171
  };
172
- callTopView: {
173
- container: ViewStyle;
174
- content: ViewStyle;
175
- backIconContainer: ViewStyle;
176
- leftElement: ViewStyle;
177
- centerElement: ViewStyle;
178
- rightElement: ViewStyle;
179
- title: TextStyle;
180
- };
181
172
  userInfo: {
182
173
  container: ViewStyle;
183
174
  avatarGroup: ViewStyle;
@@ -277,6 +268,7 @@ export type Theme = {
277
268
  buttonIcon: ViewStyle;
278
269
  buttonText: TextStyle;
279
270
  };
271
+ [component: string]: any;
280
272
  };
281
273
  export declare const defaultTheme: Theme;
282
274
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,SAAS,EAAE;YACT,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,WAAW,EAAE;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;KACH,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC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CAAC;QACrB,WAAW,EAAE,SAAS,CAAC;QACvB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,qBAAqB,EAAE;QACrB,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;QAChB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,uBAAuB,EAAE;QACvB,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;QAChB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,uBAAuB,EAAE;QACvB,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,4BAA4B,EAAE;QAC5B,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,4BAA4B,EAAE;QAC5B,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,iCAAiC,EAAE;QACjC,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS,CAAC;QACrB,IAAI,EAAE,SAAS,CAAC;QAChB,MAAM,EAAE,SAAS,CAAC;QAClB,UAAU,EAAE,SAAS,CAAC;QACtB,UAAU,EAAE,SAAS,CAAC;KACvB,CAAC;IAGF,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAqV1B,CAAC"}
@@ -1,30 +1,77 @@
1
1
  import { ColorValue, TextStyle } from 'react-native';
2
+ /**
3
+ * ColorScheme defines the complete color palette for the application's theme.
4
+ * It provides a centralized type definition for maintaining consistent colors
5
+ * across different UI components and contexts.
6
+ */
2
7
  export type ColorScheme = {
3
8
  primary: ColorValue;
4
- error: ColorValue;
5
- info: ColorValue;
6
- static_black: ColorValue;
7
- static_white: ColorValue;
8
- static_overlay: ColorValue;
9
- static_grey: ColorValue;
10
- disabled: ColorValue;
11
- text_low_emphasis: ColorValue;
12
- text_high_emphasis: ColorValue;
13
- controls_bg: ColorValue;
14
- borders: ColorValue;
15
- overlay: ColorValue;
16
- overlay_dark: ColorValue;
17
- bars: ColorValue;
18
- content_bg: ColorValue;
19
- dark_gray: ColorValue;
9
+ secondary: ColorValue;
10
+ success: ColorValue;
11
+ warning: ColorValue;
12
+ buttonPrimary: ColorValue;
13
+ buttonSecondary: ColorValue;
14
+ buttonSuccess: ColorValue;
15
+ buttonWarning: ColorValue;
16
+ buttonDisabled: ColorValue;
17
+ iconPrimary: ColorValue;
18
+ iconSecondary: ColorValue;
19
+ iconSuccess: ColorValue;
20
+ iconWarning: ColorValue;
21
+ sheetPrimary: ColorValue;
22
+ sheetSecondary: ColorValue;
23
+ sheetTertiary: ColorValue;
24
+ sheetOverlay: ColorValue;
25
+ textPrimary: ColorValue;
26
+ textSecondary: ColorValue;
20
27
  [key: string]: ColorValue;
21
28
  };
22
- export type ColorType = Record<'light' | 'dark', ColorScheme>;
23
29
  export type FontTypes = 'heading4' | 'heading5' | 'heading6' | 'subtitle' | 'subtitleBold' | 'caption' | 'bodyBold';
24
30
  export type FontStyle = {
25
31
  fontSize: TextStyle['fontSize'];
26
32
  fontWeight: TextStyle['fontWeight'];
27
33
  };
34
+ /**
35
+ * DimensionType defines a set of standardized size values for component scaling.
36
+ * Each property represents a size tier from extra small (xs) to extra large (xl).
37
+ *
38
+ * @property xs - Extra small size (typically used for minimal spacing or compact elements)
39
+ * @property sm - Small size (used for tight but readable spacing)
40
+ * @property md - Medium size (default size for most components)
41
+ * @property lg - Large size (used for emphasized or prominent elements)
42
+ * @property xl - Extra large size (used for maximum emphasis or touch targets)
43
+ *
44
+ * Common use cases:
45
+ * - Padding and margin values
46
+ * - Icon sizes
47
+ * - Button dimensions
48
+ * - Component spacing
49
+ */
50
+ export type DimensionType = {
51
+ xs: number;
52
+ sm: number;
53
+ md: number;
54
+ lg: number;
55
+ xl: number;
56
+ };
57
+ /**
58
+ * Insets represent spacing measurements for the four edges of a component or screen.
59
+ *
60
+ * @property top - Distance from the upper edge (e.g., status bar, notch)
61
+ * @property right - Distance from the right edge (e.g., curved screen edges)
62
+ * @property bottom - Distance from the bottom edge (e.g., home indicator, navigation bar)
63
+ * @property left - Distance from the left edge (e.g., curved screen edges)
64
+ *
65
+ * Common use cases:
66
+ * - Safe area padding to avoid device UI elements
67
+ * - Component internal padding
68
+ * - Layout margin spacing
69
+ */
70
+ export type Insets = {
71
+ top: number;
72
+ right: number;
73
+ bottom: number;
74
+ left: number;
75
+ };
28
76
  export type FontsScheme = Record<FontTypes, FontStyle>;
29
- export type Theme = ColorType;
30
77
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGrD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,UAAU,CAAC;IACzB,YAAY,EAAE,UAAU,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,UAAU,CAAC;IACrB,iBAAiB,EAAE,UAAU,CAAC;IAC9B,kBAAkB,EAAE,UAAU,CAAC;IAC/B,WAAW,EAAE,UAAU,CAAC;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,UAAU,CAAC;IACpB,YAAY,EAAE,UAAU,CAAC;IACzB,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,UAAU,CAAC;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,SAAS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C;CAC3B,CAAC;AAEF,MAAM,MAAM,SAAS,GACjB,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,cAAc,GACd,SAAS,GACT,UAAU,CAAC;AACf,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAChC,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;CACrC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC"}
@@ -12,7 +12,7 @@ export declare const translations: {
12
12
  "End Stream": string;
13
13
  "Leave Stream": string;
14
14
  Live: string;
15
- "Before Joining": string;
15
+ "Before joining": string;
16
16
  "Setup your audio and video": string;
17
17
  "Setup your audio": string;
18
18
  "You are first to Join the call.": string;
@@ -25,6 +25,10 @@ export declare const translations: {
25
25
  "You are about to join a call with id {{ callId }}.": string;
26
26
  "Preparing call": string;
27
27
  "You have left the call": string;
28
+ "You are about to join a call.": string;
29
+ "Currently there are no other participants in the call.": string;
30
+ "There is {{numberOfParticipants}} more person in the call.": string;
31
+ "There are {{numberOfParticipants}} more people in the call.": string;
28
32
  };
29
33
  };
30
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translations/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translations/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAS,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "1.3.7";
1
+ export declare const version = "1.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.3.7",
3
+ "version": "1.4.0",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "module": "dist/module/index.js",
@@ -46,8 +46,8 @@
46
46
  "!**/.*"
47
47
  ],
48
48
  "dependencies": {
49
- "@stream-io/video-client": "1.11.5",
50
- "@stream-io/video-react-bindings": "1.1.22",
49
+ "@stream-io/video-client": "1.11.6",
50
+ "@stream-io/video-react-bindings": "1.2.0",
51
51
  "intl-pluralrules": "2.0.1",
52
52
  "lodash.merge": "^4.6.2",
53
53
  "react-native-url-polyfill": "1.3.0",
@@ -1,11 +1,6 @@
1
- import React, { useEffect, useState } from 'react';
1
+ import React, { useEffect, useState, useMemo } from 'react';
2
2
  import { StyleSheet, View, ViewStyle } from 'react-native';
3
3
  import InCallManager from 'react-native-incall-manager';
4
-
5
- import {
6
- CallTopView as DefaultCallTopView,
7
- CallTopViewProps,
8
- } from '../CallTopView';
9
4
  import {
10
5
  CallParticipantsGrid,
11
6
  CallParticipantsGridProps,
@@ -45,10 +40,6 @@ export type StreamReactionType = StreamReaction & {
45
40
 
46
41
  type CallContentComponentProps = ParticipantViewComponentProps &
47
42
  Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
48
- /**
49
- * Component to customize the CallTopView component.
50
- */
51
- CallTopView?: React.ComponentType<CallTopViewProps> | null;
52
43
  /**
53
44
  * Component to customize the CallControls component.
54
45
  */
@@ -71,10 +62,6 @@ export type CallContentProps = Pick<
71
62
  HangUpCallButtonProps,
72
63
  'onHangupCallHandler'
73
64
  > &
74
- Pick<
75
- CallTopViewProps,
76
- 'onBackPressed' | 'onParticipantInfoPress' | 'ParticipantsInfoBadge'
77
- > &
78
65
  CallContentComponentProps & {
79
66
  /**
80
67
  * This switches the participant's layout between the grid and the spotlight mode.
@@ -100,11 +87,8 @@ export type CallContentProps = Pick<
100
87
  };
101
88
 
102
89
  export const CallContent = ({
103
- onBackPressed,
104
- onParticipantInfoPress,
105
90
  onHangupCallHandler,
106
91
  CallParticipantsList,
107
- CallTopView = DefaultCallTopView,
108
92
  CallControls = DefaultCallControls,
109
93
  FloatingParticipantView = DefaultFloatingParticipantView,
110
94
  ScreenShareOverlay = DefaultScreenShareOverlay,
@@ -113,7 +97,6 @@ export const CallContent = ({
113
97
  ParticipantReaction,
114
98
  ParticipantVideoFallback,
115
99
  ParticipantView,
116
- ParticipantsInfoBadge,
117
100
  VideoRenderer,
118
101
  layout = 'grid',
119
102
  landscape = false,
@@ -125,6 +108,7 @@ export const CallContent = ({
125
108
  showRemoteParticipantInFloatingView,
126
109
  setShowRemoteParticipantInFloatingView,
127
110
  ] = useState<boolean>(false);
111
+ const styles = useStyles();
128
112
  const {
129
113
  theme: { callContent },
130
114
  } = useTheme();
@@ -213,20 +197,13 @@ export const CallContent = ({
213
197
  />
214
198
  )}
215
199
  <View style={[styles.container, landscapeStyles, callContent.container]}>
216
- <View style={[styles.container, callContent.callParticipantsContainer]}>
200
+ <View style={[styles.content, callContent.callParticipantsContainer]}>
217
201
  <View
218
202
  style={[styles.view, callContent.topContainer]}
219
203
  // "box-none" disallows the container view to be not take up touches
220
204
  // and allows only the top and floating view (its child views) to take up the touches
221
205
  pointerEvents="box-none"
222
206
  >
223
- {!isInPiPMode && CallTopView && (
224
- <CallTopView
225
- onBackPressed={onBackPressed}
226
- onParticipantInfoPress={onParticipantInfoPress}
227
- ParticipantsInfoBadge={ParticipantsInfoBadge}
228
- />
229
- )}
230
207
  {showFloatingView && FloatingParticipantView && (
231
208
  <FloatingParticipantView
232
209
  participant={
@@ -258,10 +235,25 @@ export const CallContent = ({
258
235
  );
259
236
  };
260
237
 
261
- const styles = StyleSheet.create({
262
- container: { flex: 1 },
263
- view: {
264
- ...StyleSheet.absoluteFillObject,
265
- zIndex: Z_INDEX.IN_FRONT,
266
- },
267
- });
238
+ const useStyles = () => {
239
+ const { theme } = useTheme();
240
+ return useMemo(
241
+ () =>
242
+ StyleSheet.create({
243
+ container: {
244
+ flex: 1,
245
+ paddingBottom: theme.variants.insets.bottom,
246
+ paddingLeft: theme.variants.insets.left,
247
+ paddingRight: theme.variants.insets.right,
248
+ paddingTop: theme.variants.insets.top,
249
+ backgroundColor: theme.colors.sheetPrimary,
250
+ },
251
+ content: { flex: 1 },
252
+ view: {
253
+ ...StyleSheet.absoluteFillObject,
254
+ zIndex: Z_INDEX.IN_FRONT,
255
+ },
256
+ }),
257
+ [theme]
258
+ );
259
+ };
@@ -2,7 +2,7 @@ import { useCall } from '@stream-io/video-react-bindings';
2
2
  import { getLogger } from '@stream-io/video-client';
3
3
  import React from 'react';
4
4
  import { CallControlsButton } from './CallControlsButton';
5
- import { Phone } from '../../../icons';
5
+ import { IconWrapper, Phone } from '../../../icons';
6
6
  import { useTheme } from '../../../contexts/ThemeContext';
7
7
 
8
8
  /**
@@ -34,7 +34,7 @@ export const AcceptCallButton = ({
34
34
  const {
35
35
  theme: {
36
36
  colors,
37
- variants: { buttonSizes },
37
+ variants: { buttonSizes, iconSizes },
38
38
  acceptCallButton,
39
39
  },
40
40
  } = useTheme();
@@ -57,11 +57,13 @@ export const AcceptCallButton = ({
57
57
  return (
58
58
  <CallControlsButton
59
59
  onPress={acceptCallHandler}
60
- color={colors.info}
61
- size={buttonSizes.lg}
60
+ color={colors.buttonSuccess}
61
+ size={buttonSizes.md}
62
62
  style={acceptCallButton}
63
63
  >
64
- <Phone color={colors.static_white} />
64
+ <IconWrapper>
65
+ <Phone color={colors.iconPrimary} size={iconSizes.lg} />
66
+ </IconWrapper>
65
67
  </CallControlsButton>
66
68
  );
67
69
  };
@@ -40,7 +40,7 @@ export const CallControls = ({
40
40
  <View
41
41
  style={[
42
42
  styles.container,
43
- { backgroundColor: colors.static_grey },
43
+ { backgroundColor: colors.sheetPrimary },
44
44
  callControls.container,
45
45
  landscapeStyles,
46
46
  style,
@@ -49,7 +49,7 @@ export const CallControls = ({
49
49
  <ToggleVideoPublishingButton />
50
50
  <ToggleAudioPublishingButton />
51
51
  <ToggleCameraFaceButton />
52
- <HangUpCallButton onHangupCallHandler={onHangupCallHandler} />
52
+ <HangUpCallButton onPressHandler={onHangupCallHandler} />
53
53
  </View>
54
54
  );
55
55
  };
@@ -18,6 +18,10 @@ interface CallControlsButtonProps {
18
18
  * The background color of the button rendered.
19
19
  */
20
20
  color?: ColorValue;
21
+ /**
22
+ * The background color of the disabled button.
23
+ */
24
+ disabledColor?: ColorValue;
21
25
  /**
22
26
  * Boolean to enable/disable the button
23
27
  */
@@ -49,6 +53,7 @@ export const CallControlsButton = (
49
53
  children,
50
54
  disabled,
51
55
  color: colorProp,
56
+ disabledColor: disabledColorProp,
52
57
  style: styleProp,
53
58
  size,
54
59
  testID,
@@ -57,8 +62,9 @@ export const CallControlsButton = (
57
62
 
58
63
  const {
59
64
  theme: {
60
- variants: { buttonSizes },
61
65
  colors,
66
+ defaults,
67
+ variants: { roundButtonSizes },
62
68
  callControlsButton: { container },
63
69
  },
64
70
  } = useTheme();
@@ -67,18 +73,18 @@ export const CallControlsButton = (
67
73
  styles.container,
68
74
  {
69
75
  backgroundColor: disabled
70
- ? colors.disabled
71
- : colorProp || colors.static_white,
76
+ ? disabledColorProp || colors.buttonDisabled
77
+ : colorProp || colors.buttonSecondary,
72
78
  opacity: pressed ? 0.2 : 1,
73
- height: size || buttonSizes.sm,
74
- width: size || buttonSizes.sm,
75
- borderRadius: (size || buttonSizes.sm) / 2,
76
- borderColor: colors.content_bg,
79
+ height: size || roundButtonSizes.lg,
80
+ width: size || roundButtonSizes.lg,
81
+ borderRadius: defaults.borderRadius,
77
82
  },
78
83
  styleProp?.container ?? null,
79
84
  container,
80
85
  ];
81
86
 
87
+ const childrenSize = (size || roundButtonSizes.lg) / 2 - 5;
82
88
  return (
83
89
  <Pressable
84
90
  disabled={disabled}
@@ -89,10 +95,7 @@ export const CallControlsButton = (
89
95
  >
90
96
  <View
91
97
  style={[
92
- {
93
- height: (size || buttonSizes.sm) / 2 - 5,
94
- width: (size || buttonSizes.sm) / 2 - 5,
95
- },
98
+ { height: childrenSize, width: childrenSize },
96
99
  styleProp?.svgContainer ?? null,
97
100
  ]}
98
101
  >
@@ -105,16 +108,7 @@ export const CallControlsButton = (
105
108
  const styles = StyleSheet.create({
106
109
  container: {
107
110
  justifyContent: 'center',
108
- borderWidth: 1,
109
111
  alignItems: 'center',
110
- // For iOS
111
- shadowColor: '#000',
112
- shadowOffset: {
113
- width: 0,
114
- height: 2,
115
- },
116
- shadowOpacity: 0.25,
117
- shadowRadius: 8,
118
112
 
119
113
  // For android
120
114
  elevation: 6,
@@ -6,6 +6,7 @@ import { ButtonTestIds } from '../../../constants/TestIds';
6
6
  import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
7
7
  import { CallingState } from '@stream-io/video-client';
8
8
  import { useTheme } from '../../../contexts/ThemeContext';
9
+ import { IconWrapper } from '../../../icons/IconWrapper';
9
10
 
10
11
  /**
11
12
  * The props for the Hang up call button in the Call Controls.
@@ -42,7 +43,7 @@ export const HangUpCallButton = ({
42
43
  const { useCallCallingState } = useCallStateHooks();
43
44
  const callingState = useCallCallingState();
44
45
  const {
45
- theme: { colors, hangupCallButton },
46
+ theme: { colors, hangupCallButton, variants },
46
47
  } = useTheme();
47
48
 
48
49
  const onPress = async () => {
@@ -67,20 +68,14 @@ export const HangUpCallButton = ({
67
68
  return (
68
69
  <CallControlsButton
69
70
  onPress={onPress}
70
- color={colors.error}
71
+ color={colors.buttonWarning}
71
72
  style={hangupCallButton}
72
73
  size={size}
73
74
  testID={ButtonTestIds.HANG_UP_CALL}
74
75
  >
75
- <PhoneDown color={colors.static_white} />
76
+ <IconWrapper>
77
+ <PhoneDown color={colors.iconPrimary} size={variants.iconSizes.md} />
78
+ </IconWrapper>
76
79
  </CallControlsButton>
77
80
  );
78
81
  };
79
-
80
- // TODO: Check if this style is needed
81
- // This was passed to CallControlsButton as style prop
82
- // const styles = StyleSheet.create({
83
- // button: {
84
- // shadowColor: theme.light.error,
85
- // },
86
- // });
@@ -24,12 +24,16 @@ export const IncomingCallControls = ({
24
24
  onRejectCallHandler,
25
25
  }: IncomingCallControlsProps) => {
26
26
  const {
27
- theme: { incomingCall },
27
+ theme: {
28
+ incomingCall,
29
+ variants: { buttonSizes },
30
+ },
28
31
  } = useTheme();
29
32
  return (
30
33
  <View style={[styles.buttonGroup, incomingCall.buttonGroup]}>
31
34
  <RejectCallButton
32
35
  onPressHandler={onRejectCallHandler}
36
+ size={buttonSizes.md}
33
37
  rejectReason="decline"
34
38
  />
35
39
  <ToggleVideoPreviewButton />
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useMemo } from 'react';
2
2
  import { StyleSheet, View } from 'react-native';
3
3
  import { ToggleAudioPreviewButton } from './ToggleAudioPreviewButton';
4
4
  import { ToggleVideoPreviewButton } from './ToggleVideoPreviewButton';
@@ -11,6 +11,7 @@ export const LobbyControls = () => {
11
11
  const {
12
12
  theme: { lobbyControls },
13
13
  } = useTheme();
14
+ const styles = useStyles();
14
15
  return (
15
16
  <View style={[styles.container, lobbyControls.container]}>
16
17
  <ToggleAudioPreviewButton />
@@ -19,10 +20,17 @@ export const LobbyControls = () => {
19
20
  );
20
21
  };
21
22
 
22
- const styles = StyleSheet.create({
23
- container: {
24
- paddingVertical: 12,
25
- flexDirection: 'row',
26
- justifyContent: 'space-evenly',
27
- },
28
- });
23
+ const useStyles = () => {
24
+ const { theme } = useTheme();
25
+ return useMemo(
26
+ () =>
27
+ StyleSheet.create({
28
+ container: {
29
+ paddingTop: theme.variants.spacingSizes.xs,
30
+ flexDirection: 'row',
31
+ justifyContent: 'space-evenly',
32
+ },
33
+ }),
34
+ [theme]
35
+ );
36
+ };
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
3
3
  import { CallControlsButton } from './CallControlsButton';
4
4
  import { OwnCapability } from '@stream-io/video-client';
5
5
  import { ButtonTestIds } from '../../../constants/TestIds';
6
- import { Reaction } from '../../../icons';
6
+ import { IconWrapper, Reaction } from '../../../icons';
7
7
  import { ReactionsPicker } from './internal/ReactionsPicker';
8
8
  import { LayoutChangeEvent, LayoutRectangle } from 'react-native';
9
9
  import { useTheme } from '../../../contexts/ThemeContext';
@@ -71,7 +71,9 @@ export const ReactionsButton = ({
71
71
  onPress={reactionsButtonHandler}
72
72
  onLayout={onReactionsButtonLayout}
73
73
  >
74
- <Reaction color={colors.static_black} />
74
+ <IconWrapper>
75
+ <Reaction color={colors.iconPrimary} />
76
+ </IconWrapper>
75
77
  </CallControlsButton>
76
78
  </Restricted>
77
79
  {showReactionsPicker && (