@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
@@ -7,7 +7,7 @@ type Props = {
7
7
  };
8
8
 
9
9
  export const Reaction = ({ color }: Props) => (
10
- <Svg viewBox="0 0 22 20">
10
+ <Svg viewBox="0 0 22 20" width={22} height={20}>
11
11
  <Path
12
12
  fill={color}
13
13
  d="M 5.50033 8.16667 C 5.50033 7.40583 6.11449 6.79167 6.87533 6.79167 C 7.63616 6.79167 8.25033 7.40583 8.25033 8.16667 C 8.25033 8.9275 7.63616 9.54167 6.87533 9.54167 C 6.11449 9.54167 5.50033 8.9275 5.50033 8.16667 Z M 10.0837 15.5 C 12.2195 15.5 14.0345 14.1617 14.7678 12.2917 H 5.39949 C 6.13283 14.1617 7.94783 15.5 10.0837 15.5 Z M 13.292 9.54167 C 14.0528 9.54167 14.667 8.9275 14.667 8.16667 C 14.667 7.40583 14.0528 6.79167 13.292 6.79167 C 12.5312 6.79167 11.917 7.40583 11.917 8.16667 C 11.917 8.9275 12.5312 9.54167 13.292 9.54167 Z M 19.2503 0.375 H 17.417 V 2.20833 H 15.5837 V 4.04167 H 17.417 V 5.875 H 19.2503 V 4.04167 H 21.0837 V 2.20833 H 19.2503 V 0.375 Z M 17.417 10.4583 C 17.417 14.51 14.1353 17.7917 10.0837 17.7917 C 6.03199 17.7917 2.75033 14.51 2.75033 10.4583 C 2.75033 6.40667 6.03199 3.125 10.0837 3.125 C 11.422 3.125 12.6687 3.49167 13.7503 4.115 V 2.06167 C 12.6228 1.56667 11.3853 1.29167 10.0745 1.29167 C 5.01449 1.29167 0.916992 5.39833 0.916992 10.4583 C 0.916992 15.5183 5.01449 19.625 10.0745 19.625 C 15.1437 19.625 19.2503 15.5183 19.2503 10.4583 C 19.2503 9.49583 19.0945 8.57917 18.8195 7.70833 H 16.867 C 17.2153 8.56083 17.417 9.48667 17.417 10.4583 Z"
@@ -5,14 +5,20 @@ 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 ScreenShare = ({ color }: Props) => {
11
+ export const ScreenShare = ({ color, size }: Props) => {
11
12
  return (
12
- <Svg viewBox="0 0 36 36" testID={IconTestIds.SCREEN_SHARE}>
13
+ <Svg
14
+ viewBox={'0 0 24 24'}
15
+ width={size}
16
+ height={size}
17
+ testID={IconTestIds.SCREEN_SHARE}
18
+ >
13
19
  <Path
14
20
  fill={color}
15
- d="m25.407 1.718-14.814-.014a2.959 2.959 0 0 0-2.948 2.963v26.666a2.959 2.959 0 0 0 2.948 2.963h14.814a2.972 2.972 0 0 0 2.963-2.963V4.667a2.96 2.96 0 0 0-2.963-2.949Zm0 26.652H10.593V7.63h14.814v20.74Zm-6.222-8.563V22.4l4.741-4.43-4.74-4.414v2.518c-4.608.637-6.445 3.793-7.112 6.963 1.645-2.222 3.822-3.23 7.111-3.23Z"
21
+ d="M18.2964 1.01L8.29636 1C7.19636 1 6.29636 1.9 6.29636 3V6C6.29636 6.55 6.74636 7 7.29636 7C7.84636 7 8.29636 6.55 8.29636 6V5H18.2964V19H8.29636V18C8.29636 17.45 7.84636 17 7.29636 17C6.74636 17 6.29636 17.45 6.29636 18V21C6.29636 22.1 7.19636 23 8.29636 23H18.2964C19.3964 23 20.2964 22.1 20.2964 21V3C20.2964 1.9 19.3964 1.01 18.2964 1.01ZM11.2964 15C11.8464 15 12.2964 14.55 12.2964 14V9C12.2964 8.45 11.8464 8 11.2964 8H6.29636C5.74636 8 5.29636 8.45 5.29636 9C5.29636 9.55 5.74636 10 6.29636 10H8.88636L3.99636 14.89C3.60636 15.28 3.60636 15.91 3.99636 16.3C4.38636 16.69 5.01636 16.69 5.40636 16.3L10.2964 11.41V14C10.2964 14.55 10.7464 15 11.2964 15Z"
16
22
  />
17
23
  </Svg>
18
24
  );
@@ -4,11 +4,12 @@ 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 StopScreenShare = ({ color }: Props) => {
10
+ export const StopScreenShare = ({ color, size }: Props) => {
10
11
  return (
11
- <Svg viewBox="0 0 25 25">
12
+ <Svg viewBox="0 0 25 25" width={size} height={size}>
12
13
  <Path
13
14
  fill={color}
14
15
  d="M21.478 19.1H3.47803V5H21.478V19.1ZM21.478 3H3.47803C2.37803 3 1.47803 3.9 1.47803 5V19C1.47803 20.1 2.37803 21 3.47803 21H21.478C22.578 21 23.478 20.1 23.478 19V5C23.478 3.9 22.578 3 21.478 3Z"
@@ -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 Video = ({ color }: Props) => (
10
- <Svg viewBox="0 0 29 19">
10
+ export const Video = ({ color, size }: Props) => (
11
+ <Svg viewBox={'0 0 26 26'} width={size} height={size}>
11
12
  <Path
12
- d="M4.725 18.635h11.741c2.411 0 3.795-1.35 3.795-3.717V3.958c0-2.366-1.295-3.716-3.705-3.716H4.726C2.403.242.93 1.592.93 3.958v11.038c0 2.355 1.395 3.639 3.794 3.639Zm17.177-5.603 3.817 3.281c.457.402.948.659 1.417.659.904 0 1.518-.648 1.518-1.63V3.59c0-.982-.614-1.63-1.518-1.63-.48 0-.96.257-1.417.659L21.902 5.9v7.132Z"
13
+ d="M19.8333 12.25V8.16667C19.8333 7.525 19.3083 7 18.6667 7H4.66667C4.025 7 3.5 7.525 3.5 8.16667V19.8333C3.5 20.475 4.025 21 4.66667 21H18.6667C19.3083 21 19.8333 20.475 19.8333 19.8333V15.75L22.505 18.4217C23.24 19.1567 24.5 18.6317 24.5 17.5933V10.395C24.5 9.35667 23.24 8.83167 22.505 9.56667L19.8333 12.25Z"
13
14
  fill={color}
14
15
  />
15
16
  </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 VideoSlash = ({ color }: Props) => (
11
- <Svg viewBox="0 0 30 25" testID={IconTestIds.MUTED_VIDEO}>
11
+ export const VideoSlash = ({ color, size }: Props) => (
12
+ <Svg
13
+ viewBox={'0 0 25 25'}
14
+ width={size}
15
+ height={size}
16
+ testID={IconTestIds.MUTED_VIDEO}
17
+ >
12
18
  <Path
13
- d="M22.4886 24.1679C22.8345 24.5139 23.4037 24.5139 23.7497 24.1679C24.0845 23.8219 24.0957 23.2639 23.7497 22.9067L1.81892 0.998256C1.4841 0.652274 0.903739 0.652274 0.557757 0.998256C0.222935 1.34424 0.222935 1.9246 0.557757 2.25942L22.4886 24.1679ZM17.5555 3.35317H6.14927L21.1604 18.3643C21.2274 18.0407 21.2609 17.6166 21.2609 17.2259V7.06968C21.2609 4.70361 19.9662 3.35317 17.5555 3.35317ZM22.9015 16.1433L26.7073 19.4246C27.1761 19.8264 27.656 20.0831 28.1359 20.0831C29.0399 20.0831 29.6537 19.4358 29.6537 18.4536V6.70138C29.6537 5.71924 29.0399 5.07192 28.1359 5.07192C27.656 5.07192 27.1761 5.32861 26.7073 5.7304L22.9015 9.01165V16.1433ZM5.72517 21.746H18.0801L2.13142 5.79736C2.00865 6.10986 1.94169 6.61209 1.94169 7.10317V18.0853C1.94169 20.4402 3.31445 21.746 5.72517 21.746Z"
19
+ d="M21.7912 15.27V9.97999C21.7912 9.08999 20.7112 8.63999 20.0812 9.26999L17.7912 11.57V8.06999C17.7912 7.51999 17.3412 7.06999 16.7912 7.06999H11.1812L20.0912 15.98C20.7112 16.61 21.7912 16.16 21.7912 15.27ZM3.50124 3.62999C3.11124 4.01999 3.11124 4.64999 3.50124 5.03999L5.52124 7.06999H4.79124C4.24124 7.06999 3.79124 7.51999 3.79124 8.06999V18.07C3.79124 18.62 4.24124 19.07 4.79124 19.07H16.7912C17.0012 19.07 17.1812 18.99 17.3412 18.89L19.8212 21.37C20.2112 21.76 20.8412 21.76 21.2312 21.37C21.6212 20.98 21.6212 20.35 21.2312 19.96L4.91124 3.62999C4.52124 3.23999 3.89124 3.23999 3.50124 3.62999Z"
14
20
  fill={color}
15
21
  />
16
22
  </Svg>
@@ -6,8 +6,6 @@ export * from './PhoneDown';
6
6
  export * from './Settings';
7
7
  export * from './Video';
8
8
  export * from './VideoSlash';
9
- export * from './Chat';
10
- export * from './Participants';
11
9
  export * from './ThreeDots';
12
10
  export * from './PinVertical';
13
11
  export * from './Spotlight';
@@ -21,3 +19,4 @@ export * from './StartStreamIcon';
21
19
  export * from './StopScreenShare';
22
20
  export * from './EndStreamIcon';
23
21
  export * from './LeaveStreamIcon';
22
+ export * from './IconWrapper';
@@ -1,49 +1,34 @@
1
1
  import { palette } from './constants';
2
+ import { ColorScheme } from './types';
2
3
 
3
- const opacityToHex = (opacity: number) => {
4
- return Math.round(opacity * 255)
5
- .toString(16)
6
- .padStart(2, '0');
7
- };
4
+ const colors: ColorScheme = {
5
+ primary: palette.primary100,
6
+ secondary: palette.neutral90,
7
+ success: palette.success100,
8
+ warning: palette.warning100,
9
+
10
+ buttonPrimary: palette.primary100,
11
+ buttonSecondary: palette.neutral90,
12
+ buttonSuccess: palette.success100,
13
+ buttonWarning: palette.warning100,
14
+ buttonDisabled: palette.primary180,
15
+
16
+ iconPrimary: palette.neutral0,
17
+ iconSecondary: palette.primary100,
18
+ iconSuccess: palette.success100,
19
+ iconWarning: palette.warning100,
20
+
21
+ sheetPrimary: palette.neutral120,
22
+ sheetSecondary: palette.neutral110,
23
+ sheetTertiary: palette.neutral90,
24
+ sheetOverlay: palette.overlay,
8
25
 
9
- const colors = {
10
- primary: palette.blue500,
11
- error: palette.red400,
12
- info: palette.green500,
13
- static_black: palette.grey950,
14
- static_white: palette.grey50,
15
- static_overlay: palette.grey950 + opacityToHex(0.85),
16
- static_grey: palette.grey700,
17
- disabled: palette.grey600,
18
- text_low_emphasis: palette.grey500,
19
- text_high_emphasis: palette.grey950,
20
- controls_bg: palette.grey50,
21
- borders: palette.grey300,
22
- overlay: palette.grey950 + opacityToHex(0.4),
23
- overlay_dark: palette.grey950 + opacityToHex(0.6),
24
- bars: palette.grey50,
25
- content_bg: palette.grey950 + opacityToHex(0.05),
26
- dark_gray: palette.grey800,
26
+ textPrimary: palette.neutral0,
27
+ textSecondary: palette.neutral30,
27
28
  };
28
29
 
29
- const darkThemeColors = {
30
- primary: palette.blue500,
31
- error: palette.red400,
32
- info: palette.green500,
33
- static_black: palette.grey950,
34
- static_white: palette.grey50,
35
- static_overlay: palette.grey950 + opacityToHex(0.85),
36
- static_grey: palette.grey700,
37
- disabled: palette.grey600,
38
- text_low_emphasis: palette.grey500,
39
- text_high_emphasis: palette.grey50,
40
- controls_bg: palette.grey900,
41
- borders: palette.grey700,
42
- overlay: palette.grey950 + opacityToHex(0.4),
43
- overlay_dark: palette.grey50 + opacityToHex(0.6),
44
- bars: palette.grey900,
45
- content_bg: palette.grey950 + opacityToHex(0.05),
46
- dark_gray: palette.grey800,
30
+ const colorPalette = {
31
+ colors,
47
32
  };
48
33
 
49
- export { colors, darkThemeColors };
34
+ export { colorPalette, colors };
@@ -1,49 +1,56 @@
1
1
  const ref = {
2
2
  palette: {
3
- green50: '#F6FEF9',
4
- green100: '#E9F1FF',
5
- green200: '#A6F2C6',
6
- green300: '#79ECA9',
7
- green400: '#4CE68C',
8
- green500: '#20E070',
9
- green600: '#19B359',
10
- green700: '#138643',
11
- green800: '#0D592C',
12
- green900: '#062D16',
13
- green950: '#041B0D',
14
- blue50: '#F5FAFF',
15
- blue100: '#E0F0FF',
16
- blue200: '#CCDFFF',
17
- blue300: '#669FFF',
18
- blue400: '#337EFF',
19
- blue500: '#005FFF',
20
- blue600: '#004CCC',
21
- blue700: '#003999',
22
- blue800: '#002666',
23
- blue900: '#00163D',
24
- blue950: '#000D24',
25
- red50: '#FFF5F5',
26
- red100: '#FFE5E7',
27
- red200: '#FF999F',
28
- red300: '#FF666E',
29
- red400: '#FF3742',
30
- red500: '#FF000E',
31
- red600: '#CC000B',
32
- red700: '#990008',
33
- red800: '#660006',
34
- red900: '#330003',
35
- red950: '#1F0002',
36
- grey50: '#FFFFFF',
37
- grey100: '#F7F7F8',
38
- grey200: '#E9EAED',
39
- grey300: '#DBDDE1',
40
- grey400: '#B4B7BB',
41
- grey500: '#72767E',
42
- grey600: '#4C525C',
43
- grey700: '#272A30',
44
- grey800: '#1C1E22',
45
- grey900: '#121416',
46
- grey950: '#080707',
3
+ primary100: '#005fff',
4
+ primary150: '#123d82',
5
+ primary180: '#1b2c43',
6
+ primary20: '#ccdfff',
7
+ primary70: '#4c8fff',
8
+
9
+ secondary100: '#69e5f6',
10
+ secondary140: '#448592',
11
+ secondary180: '#263942',
12
+ secondary20: '#f0fcfe',
13
+ secondary60: '#a5effa',
14
+
15
+ tertiary100: '#b38af8',
16
+ tertiary170: '#4b446b',
17
+ tertiary190: '#2d3042',
18
+ tertiary20: '#f7f3fe',
19
+ tertiary60: '#d1b9fb',
20
+
21
+ success100: '#00e2a1',
22
+ success150: '#12715c',
23
+ success190: '#1d2f34',
24
+ success20: '#e5fcf6',
25
+ success60: '#66eec7',
26
+
27
+ warning100: '#dc433b',
28
+ warning150: '#7d3535',
29
+ warning190: '#31292f',
30
+ warning20: '#f8d9d8',
31
+ warning70: '#e77b76',
32
+
33
+ caution100: '#ffd646',
34
+ caution150: '#786c38',
35
+ caution180: '#353830',
36
+ caution20: '#fffbec',
37
+ caution60: '#ffe690',
38
+
39
+ neutral0: '#eff0f1',
40
+ neutral10: '#e3e4e5',
41
+ neutral100: '#0d1721',
42
+ neutral110: '#101213',
43
+ neutral120: '#000000',
44
+ neutral20: '#caccce',
45
+ neutral30: '#b0b4b7',
46
+ neutral40: '#979ca0',
47
+ neutral50: '#7e8389',
48
+ neutral60: '#656b72',
49
+ neutral70: '#4c535b',
50
+ neutral80: '#323b44',
51
+ neutral90: '#19232d',
52
+
53
+ overlay: '#0c0d0ea6',
47
54
  },
48
55
  };
49
56
 
@@ -1,9 +1,2 @@
1
- import { colors, darkThemeColors } from './colors';
2
- import { Theme } from './types';
3
-
4
- export const colorPallet: Theme = {
5
- light: colors,
6
- dark: darkThemeColors,
7
- };
8
-
9
1
  export * from './theme';
2
+ export * from './colors';
@@ -1,32 +1,38 @@
1
1
  import { ImageStyle, TextStyle, ViewStyle } from 'react-native/types';
2
2
  import { colors } from './colors';
3
- import { ColorScheme, FontStyle, FontTypes } from './types';
3
+ import {
4
+ ColorScheme,
5
+ DimensionType,
6
+ FontStyle,
7
+ FontTypes,
8
+ Insets,
9
+ } from './types';
10
+ import { ColorValue } from 'react-native';
4
11
 
5
12
  export type Theme = {
6
13
  variants: {
7
- buttonSizes: {
8
- xs: number;
9
- sm: number;
10
- md: number;
11
- lg: number;
12
- xl: number;
13
- };
14
- iconSizes: {
15
- xs: number;
16
- sm: number;
17
- md: number;
18
- lg: number;
19
- xl: number;
20
- };
21
- avatarSizes: {
22
- xs: number;
23
- sm: number;
24
- md: number;
25
- lg: number;
26
- xl: number;
27
- };
14
+ buttonSizes: DimensionType;
15
+ roundButtonSizes: DimensionType;
16
+ iconSizes: DimensionType;
17
+ avatarSizes: DimensionType;
18
+ fontSizes: DimensionType;
19
+ spacingSizes: DimensionType;
20
+ borderRadiusSizes: DimensionType;
21
+ insets: Insets;
28
22
  };
29
23
  typefaces: Record<FontTypes, FontStyle>;
24
+ defaults: {
25
+ color: ColorValue;
26
+ backgroundColor: ColorValue;
27
+ margin: number;
28
+ padding: number;
29
+ fontSize: number;
30
+ iconSize: number;
31
+ fontWeight: TextStyle['fontWeight'];
32
+ borderRadius: ViewStyle['borderRadius'];
33
+ borderColor: ColorValue;
34
+ borderWidth: ViewStyle['borderWidth'];
35
+ };
30
36
  colors: ColorScheme;
31
37
  avatar: {
32
38
  container: ViewStyle;
@@ -171,15 +177,6 @@ export type Theme = {
171
177
  buttonGroup: ViewStyle;
172
178
  deviceControlButtons: ViewStyle;
173
179
  };
174
- callTopView: {
175
- container: ViewStyle;
176
- content: ViewStyle;
177
- backIconContainer: ViewStyle;
178
- leftElement: ViewStyle;
179
- centerElement: ViewStyle;
180
- rightElement: ViewStyle;
181
- title: TextStyle;
182
- };
183
180
  userInfo: {
184
181
  container: ViewStyle;
185
182
  avatarGroup: ViewStyle;
@@ -279,10 +276,27 @@ export type Theme = {
279
276
  buttonIcon: ViewStyle;
280
277
  buttonText: TextStyle;
281
278
  };
279
+
280
+ // Index signature for additional dynamic properties
281
+ [component: string]: any;
282
282
  };
283
283
 
284
284
  export const defaultTheme: Theme = {
285
285
  variants: {
286
+ roundButtonSizes: {
287
+ xs: 16,
288
+ sm: 24,
289
+ md: 36,
290
+ lg: 44,
291
+ xl: 56,
292
+ },
293
+ borderRadiusSizes: {
294
+ xs: 4,
295
+ sm: 8,
296
+ md: 16,
297
+ lg: 24,
298
+ xl: 32,
299
+ },
286
300
  buttonSizes: {
287
301
  xs: 40,
288
302
  sm: 50,
@@ -304,6 +318,26 @@ export const defaultTheme: Theme = {
304
318
  lg: 160,
305
319
  xl: 180,
306
320
  },
321
+ spacingSizes: {
322
+ xs: 4,
323
+ sm: 8,
324
+ md: 16,
325
+ lg: 24,
326
+ xl: 32,
327
+ },
328
+ fontSizes: {
329
+ xs: 8,
330
+ sm: 12,
331
+ md: 16,
332
+ lg: 20,
333
+ xl: 24,
334
+ },
335
+ insets: {
336
+ top: 0,
337
+ right: 0,
338
+ bottom: 0,
339
+ left: 0,
340
+ },
307
341
  },
308
342
  typefaces: {
309
343
  heading4: {
@@ -335,6 +369,18 @@ export const defaultTheme: Theme = {
335
369
  fontWeight: '400',
336
370
  },
337
371
  },
372
+ defaults: {
373
+ color: colors.primary,
374
+ backgroundColor: colors.sheetPrimary,
375
+ margin: 10,
376
+ padding: 10,
377
+ fontSize: 16,
378
+ fontWeight: '500',
379
+ borderRadius: 32,
380
+ iconSize: 28,
381
+ borderColor: colors.buttonPrimary,
382
+ borderWidth: 1,
383
+ },
338
384
  colors: colors,
339
385
  avatar: {
340
386
  container: {},
@@ -483,15 +529,6 @@ export const defaultTheme: Theme = {
483
529
  deviceControlButtons: {},
484
530
  },
485
531
  ringingCallContent: { container: {} },
486
- callTopView: {
487
- container: {},
488
- content: {},
489
- backIconContainer: {},
490
- leftElement: {},
491
- centerElement: {},
492
- rightElement: {},
493
- title: {},
494
- },
495
532
  userInfo: {
496
533
  container: {},
497
534
  avatarGroup: {},
@@ -1,30 +1,39 @@
1
1
  import { ColorValue, TextStyle } from 'react-native';
2
2
 
3
- // TODO: check if this is used somewhere and remove if not
3
+ /**
4
+ * ColorScheme defines the complete color palette for the application's theme.
5
+ * It provides a centralized type definition for maintaining consistent colors
6
+ * across different UI components and contexts.
7
+ */
4
8
  export type ColorScheme = {
5
9
  primary: ColorValue;
6
- error: ColorValue;
7
- info: ColorValue;
8
- static_black: ColorValue;
9
- static_white: ColorValue;
10
- static_overlay: ColorValue;
11
- static_grey: ColorValue;
12
- disabled: ColorValue;
13
- text_low_emphasis: ColorValue;
14
- text_high_emphasis: ColorValue;
15
- controls_bg: ColorValue;
16
- borders: ColorValue;
17
- overlay: ColorValue;
18
- overlay_dark: ColorValue;
19
- bars: ColorValue;
20
- content_bg: ColorValue;
21
- dark_gray: ColorValue;
10
+ secondary: ColorValue;
11
+ success: ColorValue;
12
+ warning: ColorValue;
13
+
14
+ buttonPrimary: ColorValue;
15
+ buttonSecondary: ColorValue;
16
+ buttonSuccess: ColorValue;
17
+ buttonWarning: ColorValue;
18
+ buttonDisabled: ColorValue;
19
+
20
+ iconPrimary: ColorValue;
21
+ iconSecondary: ColorValue;
22
+ iconSuccess: ColorValue;
23
+ iconWarning: ColorValue;
24
+
25
+ sheetPrimary: ColorValue;
26
+ sheetSecondary: ColorValue;
27
+ sheetTertiary: ColorValue;
28
+ sheetOverlay: ColorValue;
29
+
30
+ textPrimary: ColorValue;
31
+ textSecondary: ColorValue;
32
+
22
33
  // allow any other color
23
34
  [key: string]: ColorValue;
24
35
  };
25
36
 
26
- export type ColorType = Record<'light' | 'dark', ColorScheme>;
27
-
28
37
  export type FontTypes =
29
38
  | 'heading4'
30
39
  | 'heading5'
@@ -38,6 +47,48 @@ export type FontStyle = {
38
47
  fontWeight: TextStyle['fontWeight'];
39
48
  };
40
49
 
41
- export type FontsScheme = Record<FontTypes, FontStyle>;
50
+ /**
51
+ * DimensionType defines a set of standardized size values for component scaling.
52
+ * Each property represents a size tier from extra small (xs) to extra large (xl).
53
+ *
54
+ * @property xs - Extra small size (typically used for minimal spacing or compact elements)
55
+ * @property sm - Small size (used for tight but readable spacing)
56
+ * @property md - Medium size (default size for most components)
57
+ * @property lg - Large size (used for emphasized or prominent elements)
58
+ * @property xl - Extra large size (used for maximum emphasis or touch targets)
59
+ *
60
+ * Common use cases:
61
+ * - Padding and margin values
62
+ * - Icon sizes
63
+ * - Button dimensions
64
+ * - Component spacing
65
+ */
66
+ export type DimensionType = {
67
+ xs: number;
68
+ sm: number;
69
+ md: number;
70
+ lg: number;
71
+ xl: number;
72
+ };
42
73
 
43
- export type Theme = ColorType;
74
+ /**
75
+ * Insets represent spacing measurements for the four edges of a component or screen.
76
+ *
77
+ * @property top - Distance from the upper edge (e.g., status bar, notch)
78
+ * @property right - Distance from the right edge (e.g., curved screen edges)
79
+ * @property bottom - Distance from the bottom edge (e.g., home indicator, navigation bar)
80
+ * @property left - Distance from the left edge (e.g., curved screen edges)
81
+ *
82
+ * Common use cases:
83
+ * - Safe area padding to avoid device UI elements
84
+ * - Component internal padding
85
+ * - Layout margin spacing
86
+ */
87
+ export type Insets = {
88
+ top: number;
89
+ right: number;
90
+ bottom: number;
91
+ left: number;
92
+ };
93
+
94
+ export type FontsScheme = Record<FontTypes, FontStyle>;
@@ -11,7 +11,7 @@
11
11
  "End Stream": "End Stream",
12
12
  "Leave Stream": "Leave Stream",
13
13
  "Live": "Live",
14
- "Before Joining": "Before Joining",
14
+ "Before joining": "Before joining",
15
15
  "Setup your audio and video": "Setup your audio and video",
16
16
  "Setup your audio": "Setup your audio",
17
17
  "You are first to Join the call.": "You are first to Join the call.",
@@ -23,5 +23,9 @@
23
23
  "{{ numberOfParticipants }} participant(s) are in the call.": "{{ numberOfParticipants }} participant(s) are in the call.",
24
24
  "You are about to join a call with id {{ callId }}.": "You are about to join a call with id {{ callId }}.",
25
25
  "Preparing call": "Preparing call",
26
- "You have left the call": "You have left the call"
27
- }
26
+ "You have left the call": "You have left the call",
27
+ "You are about to join a call.": "You are about to join a call.",
28
+ "Currently there are no other participants in the call.": "Currently there are no other participants in the call.",
29
+ "There is {{numberOfParticipants}} more person in the call.": "There is {{numberOfParticipants}} more person in the call.",
30
+ "There are {{numberOfParticipants}} more people in the call.": "There are {{numberOfParticipants}} more people in the call."
31
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.3.7';
1
+ export const version = '1.4.0';