@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 +1 @@
1
- {"version":3,"names":["Restricted","React","useState","CallControlsButton","OwnCapability","ButtonTestIds","Reaction","ReactionsPicker","useTheme","ReactionsButton","supportedReactions","onPressHandler","showReactionsPicker","setShowReactionsPicker","reactionsButtonLayoutRectangle","setReactionsButtonLayoutRectangle","theme","colors","onReactionsButtonLayout","event","layout","nativeEvent","prev","width","height","x","y","reactionsButtonHandler","createElement","Fragment","requiredGrants","CREATE_REACTION","testID","REACTION","onPress","onLayout","color","static_black","onRequestedClose"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ReactionsButton.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iCAAiC;AAC5D,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,eAAe,QAAQ,4BAA4B;AAE5D,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB;EAClBC;AACoB,CAAC,KAAK;EAC1B,MAAM,CAACC,mBAAmB,EAAEC,sBAAsB,CAAC,GACjDX,QAAQ,CAAU,KAAK,CAAC;EAC1B,MAAM,CAACY,8BAA8B,EAAEC,iCAAiC,CAAC,GACvEb,QAAQ,CAAkB,CAAC;EAC7B,MAAM;IACJc,KAAK,EAAE;MAAEC;IAAO;EA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AAC;IAC/B;EAAE,CACH,CAEH,CAAC;AAEP,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Restricted","React","useState","CallControlsButton","OwnCapability","ButtonTestIds","IconWrapper","Reaction","ReactionsPicker","useTheme","ReactionsButton","supportedReactions","onPressHandler","showReactionsPicker","setShowReactionsPicker","reactionsButtonLayoutRectangle","setReactionsButtonLayoutRectangle","theme","colors","onReactionsButtonLayout","event","layout","nativeEvent","prev","width","height","x","y","reactionsButtonHandler","createElement","Fragment","requiredGrants","CREATE_REACTION","testID","REACTION","onPress","onLayout","color","iconPrimary","onRequestedClose"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ReactionsButton.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iCAAiC;AAC5D,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,WAAW,EAAEC,QAAQ,QAAQ,gBAAgB;AACtD,SAASC,eAAe,QAAQ,4BAA4B;AAE5D,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;;AAYA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB;EAClBC;AACoB,CAAC,KAAK;EAC1B,MAAM,CAACC,mBAAmB,EAAEC,sBAAsB,CAAC,GACjDZ,QAAQ,CAAU,KAAK,CAAC;EAC1B,MAAM,CAACa,8BAA8B,EAAEC,iCAAiC,CAAC,GACvEd,QAAQ,CAAkB,CAAC;EAC7B,MAAM;IACJe,KAAK,EAAE;MAAEC;IAAO;EAClB,CAAC,GAAGT,QAAQ,CAAC,CAAC;EACd;EACA,MAAMU,uBAAuB,GAAIC,KAAwB,IAAK;IAC5D,MAAMC,MAAM,GAAGD,KAAK,CAACE,WAAW,CAACD,MAAM;IACvCL,iCAAiC,CAAEO,IAAI,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
2
2
  import React from 'react';
3
3
  import { CallControlsButton } from './CallControlsButton';
4
- import { PhoneDown } from '../../../icons';
4
+ import { IconWrapper, PhoneDown } from '../../../icons';
5
5
  import { CallingState, getLogger } from '@stream-io/video-client';
6
6
  import { useTheme } from '../../../contexts/ThemeContext';
7
7
 
@@ -30,7 +30,8 @@ export const RejectCallButton = ({
30
30
  colors,
31
31
  rejectCallButton,
32
32
  variants: {
33
- buttonSizes
33
+ buttonSizes,
34
+ iconSizes
34
35
  }
35
36
  }
36
37
  } = useTheme();
@@ -57,14 +58,15 @@ export const RejectCallButton = ({
57
58
  };
58
59
  return /*#__PURE__*/React.createElement(CallControlsButton, {
59
60
  onPress: rejectCallHandler,
60
- color: colors.error,
61
- size: size ?? buttonSizes.lg
61
+ color: colors.buttonWarning,
62
+ size: size ?? buttonSizes.md
62
63
  // TODO: check what to do about this random style prop
63
64
  // svgContainerStyle={theme.icon.lg}
64
65
  ,
65
66
  style: rejectCallButton
66
- }, /*#__PURE__*/React.createElement(PhoneDown, {
67
- color: colors.static_white
68
- }));
67
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(PhoneDown, {
68
+ color: colors.iconPrimary,
69
+ size: iconSizes.lg
70
+ })));
69
71
  };
70
72
  //# sourceMappingURL=RejectCallButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useCall","useCallStateHooks","React","CallControlsButton","PhoneDown","CallingState","getLogger","useTheme","RejectCallButton","onPressHandler","onRejectCallHandler","size","rejectReason","call","useCallCallingState","callingState","theme","colors","rejectCallButton","variants","buttonSizes","rejectCallHandler","LEFT","leave","reject","reason","error","logger","createElement","onPress","color","lg","style","static_white"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/RejectCallButton.tsx"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,SA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B;IACA;IAAA;IACAC,KAAK,EAAEd;EAAiB,gBAExBhB,KAAA,CAAA0B,aAAA,CAACxB,SAAS;IAAC0B,KAAK,EAAEb,MAAM,CAACgB;EAAa,CAAE,CACtB,CAAC;AAEzB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCall","useCallStateHooks","React","CallControlsButton","IconWrapper","PhoneDown","CallingState","getLogger","useTheme","RejectCallButton","onPressHandler","onRejectCallHandler","size","rejectReason","call","useCallCallingState","callingState","theme","colors","rejectCallButton","variants","buttonSizes","iconSizes","rejectCallHandler","LEFT","leave","reject","reason","error","logger","createElement","onPress","color","buttonWarning","md","style","iconPrimary","lg"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/RejectCallButton.tsx"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,SAAS,QAAQ,gBAAgB;AACvD,SAASC,YAAY,EAAEC,SAAS,QAAQ,yBAAyB;AACjE,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AA6BA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,cAAc;EACdC,mBAAmB;EACnBC,IAAI;EACJC;AACqB,CAAC,KAAK;EAC3B,MAAMC,IAAI,GAAGd,OAAO,CAAC,CAAC;EACtB,MAAM;IAAEe;EAAoB,CAAC,GAAGd,iBAAiB,CAAC,CAAC;EACnD,MAAMe,YAAY,GAAGD,mBAAmB,CAAC,CAAC;EAC1C,MAAM;IACJE,KAAK,EAAE;MACLC,MAAM;MACNC,gBAAgB;MAChBC,QAAQ,EAAE;QAAEC,WAAW;QAAEC;MAAU;IACrC;EACF,CAAC,GAAGd,QAAQ,CAAC,CAAC;EACd,MAAMe,iBAAiB,GAAG,MAAAA,CAAA,KAAY;IACpC,IAAIb,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI;MACF,IAAIM,YAAY,KAAKV,YAAY,CAACkB,IAAI,EAAE;QACtC;MACF;MACA,MAAMV,IAAI,EAAEW,KAAK,CAAC;QAAEC,MAAM,EAAE,IAAI;QAAEC,MAAM,EAAEd;MAAa,CAAC,CAAC;MACzD,IAAIF,mBAAmB,EAAE;QACvBA,mBAAmB,CAAC,CAAC;MACvB;IACF,CAAC,CAAC,OAAOiB,KAAK,EAAE;MACd,MAAMC,MAAM,GAAGtB,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;MAC9CsB,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAED,KAAK,CAAC;IAChD;EACF,CAAC;EAED,oBACE1B,KAAA,CAAA4B,aAAA,CAAC3B,kBAAkB;IACjB4B,OAAO,EAAER,iBAAkB;IAC3BS,KAAK,EAAEd,MAAM,CAACe,aAAc;IAC5BrB,IAAI,EAAEA,IAAI,IAAIS,WAAW,CAACa;IAC1B;IACA;IAAA;IACAC,KAAK,EAAEhB;EAAiB,gBAExBjB,KAAA,CAAA4B,aAAA,CAAC1B,WAAW,qBACVF,KAAA,CAAA4B,aAAA,CAACzB,SAAS;IAAC2B,KAAK,EAAEd,MAAM,CAACkB,WAAY;IAACxB,IAAI,EAAEU,SAAS,CAACe;EAAG,CAAE,CAChD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
@@ -6,6 +6,7 @@ import { StopScreenShare } from '../../../icons/StopScreenShare';
6
6
  import { CallControlsButton } from './CallControlsButton';
7
7
  import { useTheme } from '../../../contexts/ThemeContext';
8
8
  import { useScreenShareButton } from '../../../hooks/useScreenShareButton';
9
+ import { IconWrapper } from '../../../icons';
9
10
 
10
11
  /**
11
12
  * The props for the Screen Share button in the Call Controls.
@@ -22,7 +23,8 @@ export const ScreenShareToggleButton = ({
22
23
  const {
23
24
  theme: {
24
25
  colors,
25
- screenShareToggleButton
26
+ screenShareToggleButton,
27
+ variants
26
28
  }
27
29
  } = useTheme();
28
30
  const screenCapturePickerViewiOSRef = useRef(null);
@@ -33,16 +35,18 @@ export const ScreenShareToggleButton = ({
33
35
  if (!onPress) return null;
34
36
  return /*#__PURE__*/React.createElement(CallControlsButton, {
35
37
  onPress: onPress,
36
- color: hasPublishedScreenShare ? colors.error : colors.static_white,
38
+ color: hasPublishedScreenShare ? colors.buttonWarning : colors.buttonSecondary,
37
39
  style: {
38
40
  container: screenShareToggleButton.container,
39
41
  svgContainer: screenShareToggleButton.svgContainer
40
42
  }
41
- }, hasPublishedScreenShare ? /*#__PURE__*/React.createElement(StopScreenShare, {
42
- color: colors.static_black
43
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, hasPublishedScreenShare ? /*#__PURE__*/React.createElement(StopScreenShare, {
44
+ size: variants.iconSizes.md,
45
+ color: colors.iconPrimary
43
46
  }) : /*#__PURE__*/React.createElement(ScreenShare, {
44
- color: colors.static_black
45
- }), Platform.OS === 'ios' && /*#__PURE__*/React.createElement(ScreenCapturePickerView, {
47
+ size: variants.iconSizes.md,
48
+ color: colors.iconPrimary
49
+ })), Platform.OS === 'ios' && /*#__PURE__*/React.createElement(ScreenCapturePickerView, {
46
50
  ref: screenCapturePickerViewiOSRef
47
51
  }));
48
52
  };
@@ -1 +1 @@
1
- {"version":3,"names":["React","useRef","Platform","ScreenCapturePickerView","ScreenShare","StopScreenShare","CallControlsButton","useTheme","useScreenShareButton","ScreenShareToggleButton","onScreenShareStartedHandler","onScreenShareStoppedHandler","theme","colors","screenShareToggleButton","screenCapturePickerViewiOSRef","onPress","hasPublishedScreenShare","createElement","color","error","static_white","style","container","svgContainer","static_black","OS","ref"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ScreenShareToggleButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,uBAAuB,QAAQ,gCAAgC;AACxE,SAASC,WAAW,QAA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","Platform","ScreenCapturePickerView","ScreenShare","StopScreenShare","CallControlsButton","useTheme","useScreenShareButton","IconWrapper","ScreenShareToggleButton","onScreenShareStartedHandler","onScreenShareStoppedHandler","theme","colors","screenShareToggleButton","variants","screenCapturePickerViewiOSRef","onPress","hasPublishedScreenShare","createElement","color","buttonWarning","buttonSecondary","style","container","svgContainer","size","iconSizes","md","iconPrimary","OS","ref"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ScreenShareToggleButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,uBAAuB,QAAQ,gCAAgC;AACxE,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,WAAW,QAAQ,gBAAgB;;AAE5C;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EACtCC,2BAA2B;EAC3BC;AAC4B,CAAC,KAAK;EAClC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,uBAAuB;MAAEC;IAAS;EACrD,CAAC,GAAGT,QAAQ,CAAC,CAAC;EAEd,MAAMU,6BAA6B,GAAGhB,MAAM,CAAC,IAAI,CAAC;EAElD,MAAM;IAAEiB,OAAO;IAAEC;EAAwB,CAAC,GAAGX,oBAAoB,CAC/DS,6BAA6B,EAC7BN,2BAA2B,EAC3BC,2BACF,CAAC;EAED,IAAI,CAACM,OAAO,EAAE,OAAO,IAAI;EAEzB,oBACElB,KAAA,CAAAoB,aAAA,CAACd,kBAAkB;IACjBY,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EACHF,uBAAuB,GAAGL,MAAM,CAACQ,aAAa,GAAGR,MAAM,CAACS,eACzD;IACDC,KAAK,EAAE;MACLC,SAAS,EAAEV,uBAAuB,CAACU,SAAS;MAC5CC,YAAY,EAAEX,uBAAuB,CAACW;IACxC;EAAE,gBAEF1B,KAAA,CAAAoB,aAAA,CAACX,WAAW,QACTU,uBAAuB,gBACtBnB,KAAA,CAAAoB,aAAA,CAACf,eAAe;IACdsB,IAAI,EAAEX,QAAQ,CAACY,SAAS,CAACC,EAAG;IAC5BR,KAAK,EAAEP,MAAM,CAACgB;EAAY,CAC3B,CAAC,gBAEF9B,KAAA,CAAAoB,aAAA,CAAChB,WAAW;IACVuB,IAAI,EAAEX,QAAQ,CAACY,SAAS,CAACC,EAAG;IAC5BR,KAAK,EAAEP,MAAM,CAACgB;EAAY,CAC3B,CAEQ,CAAC,EACb5B,QAAQ,CAAC6B,EAAE,KAAK,KAAK,iBACpB/B,KAAA,CAAAoB,aAAA,CAACjB,uBAAuB;IAAC6B,GAAG,EAAEf;EAA8B,CAAE,CAE9C,CAAC;AAEzB,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  import { useCallStateHooks } from '@stream-io/video-react-bindings';
2
2
  import React from 'react';
3
3
  import { useTheme } from '../../../contexts';
4
- import { Mic, MicOff } from '../../../icons';
4
+ import { IconWrapper, Mic, MicOff } from '../../../icons';
5
5
  import { CallControlsButton } from './CallControlsButton';
6
6
 
7
7
  /**
@@ -20,7 +20,8 @@ export const ToggleAudioPreviewButton = ({
20
20
  toggleAudioPreviewButton,
21
21
  variants: {
22
22
  buttonSizes
23
- }
23
+ },
24
+ defaults
24
25
  }
25
26
  } = useTheme();
26
27
  const {
@@ -39,19 +40,18 @@ export const ToggleAudioPreviewButton = ({
39
40
  };
40
41
  return /*#__PURE__*/React.createElement(CallControlsButton, {
41
42
  onPress: onPress,
42
- color: !optimisticIsMute ? colors.static_white : colors.static_black,
43
+ color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
43
44
  size: buttonSizes.md,
44
45
  style: {
45
- container: {
46
- shadowColor: !optimisticIsMute ? colors.static_white : colors.static_black,
47
- ...toggleAudioPreviewButton.container
48
- },
46
+ container: toggleAudioPreviewButton.container,
49
47
  svgContainer: toggleAudioPreviewButton.svgContainer
50
48
  }
51
- }, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
52
- color: colors.static_black
49
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
50
+ color: colors.iconPrimary,
51
+ size: defaults.iconSize
53
52
  }) : /*#__PURE__*/React.createElement(MicOff, {
54
- color: colors.static_white
55
- }));
53
+ color: colors.iconPrimary,
54
+ size: defaults.iconSize
55
+ })));
56
56
  };
57
57
  //# sourceMappingURL=ToggleAudioPreviewButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useCallStateHooks","React","useTheme","Mic","MicOff","CallControlsButton","ToggleAudioPreviewButton","onPressHandler","theme","colors","toggleAudioPreviewButton","variants","buttonSizes","useMicrophoneState","optimisticIsMute","microphone","onPress","toggle","createElement","color","static_white","static_black","size","md","style","container","shadowColor","svgContainer"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPreviewButton.tsx"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,iCAAiC;AACnE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,GAAG,EAAEC,MAAM,QAAQ,gBAAgB;AAC5C,SAASC,kBAAkB,QAAQ,sBAAsB;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAY;IAC1B;EACF,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEW;EAAmB,CAAC,GAAGb,iBAAiB,CAAC,CAAC;EAClD,MAAM;IAAEc,gBAAgB;IAAEC;EAAW,CAAC,GAAGF,kBAAkB,CAAC,CAAC;EAE7D,MAAMG,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIT,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMQ,UAAU,CAACE,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACEhB,KAAA,CAAAiB,aAAA,CAACb,kBAAkB;IACjBW,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CAACL,gBAAgB,GAAGL,MAAM,CAACW,YAAY,GAAGX,MAAM,CAACY,YAAa;IACrEC,IAAI,EAAEV,WAAW,CAACW,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAE;QACTC,WAAW,EAAE,CAACZ,gBAAgB,GAC1BL,MAAM,CAACW,YAAY,GACnBX,MAAM,CAACY,YAAY;QACvB,GAAGX,wBAAwB,CAACe;MAC9B,CAAC;MACDE,YAAY,EAAEjB,wBAAwB,CAACiB;IACzC;EAAE,GAED,CAACb,gBAAgB,gBAChBb,KAAA,CAAAiB,aAAA,CAACf,GAAG;IAACgB,KAAK,EAAEV,MAAM,CAACY;EAAa,CAAE,CAAC,gBAEnCpB,KAAA,CAAAiB,aAAA,CAACd,MAAM;IAACe,KAAK,EAAEV,MAAM,CAACW;EAAa,CAAE,CAErB,CAAC;AAEzB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallStateHooks","React","useTheme","IconWrapper","Mic","MicOff","CallControlsButton","ToggleAudioPreviewButton","onPressHandler","theme","colors","toggleAudioPreviewButton","variants","buttonSizes","defaults","useMicrophoneState","optimisticIsMute","microphone","onPress","toggle","createElement","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","iconPrimary","iconSize"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPreviewButton.tsx"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,iCAAiC;AACnE,OAAOC,KAAK,MAAM,OAAO;A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,KAAK,EAAEX,MAAM,CAACmB,WAAY;IAACL,IAAI,EAAEV,QAAQ,CAACgB;EAAS,CAAE,CAEpD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { OwnCapability } from '@stream-io/video-client';
3
3
  import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
4
4
  import { CallControlsButton } from './CallControlsButton';
5
- import { Mic, MicOff } from '../../../icons';
5
+ import { IconWrapper, Mic, MicOff } from '../../../icons';
6
6
  import { useTheme } from '../../../contexts/ThemeContext';
7
7
 
8
8
  /**
@@ -25,7 +25,8 @@ export const ToggleAudioPublishingButton = ({
25
25
  const {
26
26
  theme: {
27
27
  colors,
28
- toggleAudioPublishingButton
28
+ toggleAudioPublishingButton,
29
+ defaults
29
30
  }
30
31
  } = useTheme();
31
32
  const onPress = async () => {
@@ -39,12 +40,14 @@ export const ToggleAudioPublishingButton = ({
39
40
  requiredGrants: [OwnCapability.SEND_AUDIO]
40
41
  }, /*#__PURE__*/React.createElement(CallControlsButton, {
41
42
  onPress: onPress,
42
- color: !optimisticIsMute ? colors.static_white : colors.overlay_dark,
43
+ color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
43
44
  style: toggleAudioPublishingButton
44
- }, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
45
- color: colors.static_black
45
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
46
+ color: colors.iconPrimary,
47
+ size: defaults.iconSize
46
48
  }) : /*#__PURE__*/React.createElement(MicOff, {
47
- color: colors.static_white
48
- })));
49
+ color: colors.iconPrimary,
50
+ size: defaults.iconSize
51
+ }))));
49
52
  };
50
53
  //# sourceMappingURL=ToggleAudioPublishingButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","Mic","MicOff","useTheme","ToggleAudioPublishingButton","onPressHandler","useMicrophoneState","optimisticIsMute","microphone","theme","colors","toggleAudioPublishingButton","onPress","toggle","createElement","requiredGrants","SEND_AUDIO","color","static_white","overlay_dark","style","static_black"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,GAAG,EAAEC,MAAM,QAAQ,gBAAgB;AAC5C,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAGA,CAAC;EAC1CC;AACgC,CAAC,KAAK;EACtC,MAAM;IAAEC;EAAmB,CAAC,GAAGP,iBAAiB,CAAC,CAAC;EAClD,MAAM;IAAEQ,gBAAgB;IAAEC;EAAW,CAAC,GAAGF,kBAAkB,CAAC,CAAC;EAE7D,MAAM;IACJG,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAA4B;EAC/C,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAMS,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIP,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMG,UAAU,CAACK,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACEjB,KAAA,CAAAkB,aAAA,CAAChB,UAAU;IAACiB,cAAc,EAAE,CAAClB,aAAa,CAACmB,UAAU;EAAE,gBACrDpB,KAAA,CAAAkB,aAAA,CAACd,kBAAkB;IACjBY,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EAAE,CAACV,gBAAgB,GAAGG,MAAM,CAACQ,YAAY,GAAGR,MAAM,CAACS,YAAa;IACrEC,KAAK,EAAET;EAA4B,GAElC,CAACJ,gBAAgB,gBAChBX,KAAA,CAAAkB,aAAA,CAACb,GAAG;IAACgB,KAAK,EAAEP,MAAM,CAACW;EAAa,CAAE,CAAC,gBAEnCzB,KAAA,CAAAkB,aAAA,CAACZ,MAAM;IAACe,KAAK,EAAEP,MAAM,CAACQ;EAAa,CAAE,CAErB,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Mic","MicOff","useTheme","ToggleAudioPublishingButton","onPressHandler","useMicrophoneState","optimisticIsMute","microphone","theme","colors","toggleAudioPublishingButton","defaults","onPress","toggle","createElement","requiredGrants","SEND_AUDIO","color","buttonSecondary","buttonWarning","style","iconPrimary","size","iconSize"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,GAAG,EAAEC,MAAM,QAAQ,gBAAgB;AACzD,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAGA,CAAC;EAC1CC;AACgC,CAAC,KAAK;EACtC,MAAM;IAAEC;EAAmB,CAAC,GAAGR,iBAAiB,CAAC,CAAC;EAClD,MAAM;IAAES,gBAAgB;IAAEC;EAAW,CAAC,GAAGF,kBAAkB,CAAC,CAAC;EAE7D,MAAM;IACJG,KAAK,EAAE;MAAEC,MAAM;MAAEC,2BAA2B;MAAEC;IAAS;EACzD,CAAC,GAAGT,QAAQ,CAAC,CAAC;EACd,MAAMU,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIR,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMG,UAAU,CAACM,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACEnB,KAAA,CAAAoB,aAAA,CAAClB,UAAU;IAACmB,cAAc,EAAE,CAACpB,aAAa,CAACqB,UAAU;EAAE,gBACrDtB,KAAA,CAAAoB,aAAA,CAAChB,kBAAkB;IACjBc,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EACH,CAACX,gBAAgB,GAAGG,MAAM,CAACS,eAAe,GAAGT,MAAM,CAACU,aACrD;IACDC,KAAK,EAAEV;EAA4B,gBAEnChB,KAAA,CAAAoB,aAAA,CAACf,WAAW,QACT,CAACO,gBAAgB,gBAChBZ,KAAA,CAAAoB,aAAA,CAACd,GAAG;IAACiB,KAAK,EAAER,MAAM,CAACY,WAAY;IAACC,IAAI,EAAEX,QAAQ,CAACY;EAAS,CAAE,CAAC,gBAE3D7B,KAAA,CAAAoB,aAAA,CAACb,MAAM;IAACgB,KAAK,EAAER,MAAM,CAACY,WAAY;IAACC,IAAI,EAAEX,QAAQ,CAACY;EAAS,CAAE,CAEpD,CACK,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import { OwnCapability } from '@stream-io/video-client';
2
2
  import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
3
3
  import React from 'react';
4
4
  import { CallControlsButton } from './CallControlsButton';
5
- import { CameraSwitch } from '../../../icons';
5
+ import { CameraSwitch, IconWrapper } from '../../../icons';
6
6
  import { useTheme } from '../../../contexts/ThemeContext';
7
7
 
8
8
  /**
@@ -13,7 +13,8 @@ import { useTheme } from '../../../contexts/ThemeContext';
13
13
  * Button to toggle camera face(front/back) when in the call.
14
14
  */
15
15
  export const ToggleCameraFaceButton = ({
16
- onPressHandler
16
+ onPressHandler,
17
+ backgroundColor
17
18
  }) => {
18
19
  const {
19
20
  useCameraState,
@@ -29,7 +30,8 @@ export const ToggleCameraFaceButton = ({
29
30
  const {
30
31
  theme: {
31
32
  colors,
32
- toggleCameraFaceButton
33
+ toggleCameraFaceButton,
34
+ variants
33
35
  }
34
36
  } = useTheme();
35
37
  const onPress = async () => {
@@ -46,11 +48,13 @@ export const ToggleCameraFaceButton = ({
46
48
  requiredGrants: [OwnCapability.SEND_VIDEO]
47
49
  }, /*#__PURE__*/React.createElement(CallControlsButton, {
48
50
  onPress: onPress,
49
- color: direction === 'back' ? colors.overlay_dark : colors.static_white,
51
+ color: backgroundColor || colors.buttonSecondary,
52
+ disabledColor: backgroundColor || colors.sheetSecondary,
50
53
  disabled: optimisticIsMute,
51
54
  style: toggleCameraFaceButton
52
- }, /*#__PURE__*/React.createElement(CameraSwitch, {
53
- color: direction === 'front' || direction === undefined ? colors.static_black : colors.static_white
54
- })));
55
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(CameraSwitch, {
56
+ size: variants.iconSizes.md,
57
+ color: optimisticIsMute ? colors.buttonDisabled : direction === 'front' || direction === undefined ? colors.iconPrimary : colors.buttonPrimary
58
+ }))));
55
59
  };
56
60
  //# sourceMappingURL=ToggleCameraFaceButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["OwnCapability","Restricted","useCallStateHooks","React","CallControlsButton","CameraSwitch","useTheme","ToggleCameraFaceButton","onPressHandler","useCameraState","useCallSettings","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","onPress","flip","createElement","requiredGrants","SEND_VIDEO","color","overlay_dark","static_white","disabled","style","undefined","static_black"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":"AAAA,SAASA,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EACrCC;AAC2B,CAAC,KAAK;EACjC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGR,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAES,MAAM;IAAEC,gBAAgB;IAAEC;EAAU,CAAC,GAAGJ,cAAc,CAAC,CAAC;EAChE,MAAMK,YAAY,GAAGJ,eAAe,CAAC,CAAC;EACtC,MAAMK,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EAExD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAuB;EAC1C,CAAC,GAAGd,QAAQ,CAAC,CAAC;EACd,MAAMe,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIb,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMG,MAAM,CAACW,IAAI,CAAC,CAAC;EACrB,CAAC;EAED,IAAI,CAACP,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEZ,KAAA,CAAAoB,aAAA,CAACtB,UAAU;IAACuB,cAAc,EAAE,CAACxB,aAAa,CAACyB,UAAU;EAAE,gBACrDtB,KAAA,CAAAoB,aAAA,CAACnB,kBAAkB;IACjBiB,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EAAEb,SAAS,KAAK,MAAM,GAAGM,MAAM,CAACQ,YAAY,GAAGR,MAAM,CAACS,YAAa;IACxEC,QAAQ,EAAEjB,gBAAiB;IAC3BkB,KAAK,EAAEV;EAAuB,gBAE9BjB,KAAA,CAAAoB,aAAA,CAAClB,YAAY;IACXqB,KAAK,EACHb,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAKkB,SAAS,GAC5CZ,MAAM,CAACa,YAAY,GACnBb,MAAM,CAACS;EACZ,CACF,CACiB,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["OwnCapability","Restricted","useCallStateHooks","React","CallControlsButton","CameraSwitch","IconWrapper","useTheme","ToggleCameraFaceButton","onPressHandler","backgroundColor","useCameraState","useCallSettings","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","variants","onPress","flip","createElement","requiredGrants","SEND_VIDEO","color","buttonSecondary","disabledColor","sheetSecondary","disabled","style","size","iconSizes","md","buttonDisabled","undefined","iconPrimary","buttonPrimary"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":"AAAA,SAASA,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,YAAY,EAAEC,WAAW,QAAQ,gBAAgB;AAC1D,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;;AAcA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EACrCC,cAAc;EACdC;AAC2B,CAAC,KAAK;EACjC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGV,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAEW,MAAM;IAAEC,gBAAgB;IAAEC;EAAU,CAAC,GAAGJ,cAAc,CAAC,CAAC;EAChE,MAAMK,YAAY,GAAGJ,eAAe,CAAC,CAAC;EACtC,MAAMK,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EAExD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,sBAAsB;MAAEC;IAAS;EACpD,CAAC,GAAGhB,QAAQ,CAAC,CAAC;EACd,MAAMiB,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIf,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMI,MAAM,CAACY,IAAI,CAAC,CAAC;EACrB,CAAC;EAED,IAAI,CAACR,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEd,KAAA,CAAAuB,aAAA,CAACzB,UAAU;IAAC0B,cAAc,EAAE,CAAC3B,aAAa,CAAC4B,UAAU;EAAE,gBACrDzB,KAAA,CAAAuB,aAAA,CAACtB,kBAAkB;IACjBoB,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EAAEnB,eAAe,IAAIW,MAAM,CAACS,eAAgB;IACjDC,aAAa,EAAErB,eAAe,IAAIW,MAAM,CAACW,cAAe;IACxDC,QAAQ,EAAEnB,gBAAiB;IAC3BoB,KAAK,EAAEZ;EAAuB,gBAE9BnB,KAAA,CAAAuB,aAAA,CAACpB,WAAW,qBACVH,KAAA,CAAAuB,aAAA,CAACrB,YAAY;IACX8B,IAAI,EAAEZ,QAAQ,CAACa,SAAS,CAACC,EAAG;IAC5BR,KAAK,EACHf,gBAAgB,GACZO,MAAM,CAACiB,cAAc,GACrBvB,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAKwB,SAAS,GAC9ClB,MAAM,CAACmB,WAAW,GAClBnB,MAAM,CAACoB;EACd,CACF,CACU,CACK,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useCallStateHooks } from '@stream-io/video-react-bindings';
3
3
  import { useTheme } from '../../../contexts';
4
4
  import { CallControlsButton } from './CallControlsButton';
5
- import { Video, VideoSlash } from '../../../icons';
5
+ import { IconWrapper, Video, VideoSlash } from '../../../icons';
6
6
 
7
7
  /**
8
8
  * Props for the Toggle Video preview button
@@ -19,7 +19,8 @@ export const ToggleVideoPreviewButton = ({
19
19
  colors,
20
20
  toggleVideoPreviewButton,
21
21
  variants: {
22
- buttonSizes
22
+ buttonSizes,
23
+ iconSizes
23
24
  }
24
25
  }
25
26
  } = useTheme();
@@ -45,19 +46,18 @@ export const ToggleVideoPreviewButton = ({
45
46
  }
46
47
  return /*#__PURE__*/React.createElement(CallControlsButton, {
47
48
  onPress: onPress,
48
- color: !optimisticIsMute ? colors.static_white : colors.static_black,
49
+ color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
49
50
  size: buttonSizes.md,
50
51
  style: {
51
- container: {
52
- shadowColor: !optimisticIsMute ? colors.static_white : colors.static_black,
53
- ...toggleVideoPreviewButton.container
54
- },
52
+ container: toggleVideoPreviewButton.container,
55
53
  svgContainer: toggleVideoPreviewButton.svgContainer
56
54
  }
57
- }, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
58
- color: colors.static_black
55
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
56
+ color: colors.iconPrimary,
57
+ size: iconSizes.lg
59
58
  }) : /*#__PURE__*/React.createElement(VideoSlash, {
60
- color: colors.static_white
61
- }));
59
+ color: colors.iconPrimary,
60
+ size: iconSizes.lg
61
+ })));
62
62
  };
63
63
  //# sourceMappingURL=ToggleVideoPreviewButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","useCallStateHooks","useTheme","CallControlsButton","Video","VideoSlash","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","useCameraState","useCallSettings","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","color","static_white","static_black","size","md","style","container","shadowColor","svgContainer"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;;AAElD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAY;IAC1B;EACF,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEW,cAAc;IAAEC;EAAgB,CAAC,GAAGb,iBAAiB,CAAC,CAAC;EAC/D,MAAMc,YAAY,GAAGD,eAAe,CAAC,CAAC;EACtC,MAAME,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IAAEC,gBAAgB;IAAEC;EAAO,CAAC,GAAGP,cAAc,CAAC,CAAC;EACrD,MAAMQ,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAId,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMa,MAAM,CAACE,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACN,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEhB,KAAA,CAAAuB,aAAA,CAACpB,kBAAkB;IACjBkB,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CAACL,gBAAgB,GAAGV,MAAM,CAACgB,YAAY,GAAGhB,MAAM,CAACiB,YAAa;IACrEC,IAAI,EAAEf,WAAW,CAACgB,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAE;QACTC,WAAW,EAAE,CAACZ,gBAAgB,GAC1BV,MAAM,CAACgB,YAAY,GACnBhB,MAAM,CAACiB,YAAY;QACvB,GAAGhB,wBAAwB,CAACoB;MAC9B,CAAC;MACDE,YAAY,EAAEtB,wBAAwB,CAACsB;IACzC;EAAE,GAED,CAACb,gBAAgB,gBAChBnB,KAAA,CAAAuB,aAAA,CAACnB,KAAK;IAACoB,KAAK,EAAEf,MAAM,CAACiB;EAAa,CAAE,CAAC,gBAErC1B,KAAA,CAAAuB,aAAA,CAAClB,UAAU;IAACmB,KAAK,EAAEf,MAAM,CAACgB;EAAa,CAAE,CAEzB,CAAC;AAEzB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useCallStateHooks","useTheme","CallControlsButton","IconWrapper","Video","VideoSlash","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","iconSizes","useCameraState","useCallSettings","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","iconPrimary","lg"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;;AAE/D;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC,WAAW;QAAEC;MAAU;IACrC;EACF,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEa,cAAc;IAAEC;EAAgB,CAAC,GAAGf,iBAAiB,CAAC,CAAC;EAC/D,MAAMgB,YAAY,GAAGD,eAAe,CAAC,CAAC;EACtC,MAAME,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IAAEC,gBAAgB;IAAEC;EAAO,CAAC,GAAGP,cAAc,CAAC,CAAC;EACrD,MAAMQ,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIf,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMc,MAAM,CAACE,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACN,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACElB,KAAA,CAAAyB,aAAA,CAACtB,kBAAkB;IACjBoB,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CAACL,gBAAgB,GAAGX,MAAM,CAACiB,eAAe,GAAGjB,MAAM,CAACkB,aAAc;IACzEC,IAAI,EAAEhB,WAAW,CAACiB,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAErB,wBAAwB,CAACqB,SAAS;MAC7CC,YAAY,EAAEtB,wBAAwB,CAACsB;IACzC;EAAE,gBAEFjC,KAAA,CAAAyB,aAAA,CAACrB,WAAW,QACT,CAACiB,gBAAgB,gBAChBrB,KAAA,CAAAyB,aAAA,CAACpB,KAAK;IAACqB,KAAK,EAAEhB,MAAM,CAACwB,WAAY;IAACL,IAAI,EAAEf,SAAS,CAACqB;EAAG,CAAE,CAAC,gBAExDnC,KAAA,CAAAyB,aAAA,CAACnB,UAAU;IAACoB,KAAK,EAAEhB,MAAM,CAACwB,WAAY;IAACL,IAAI,EAAEf,SAAS,CAACqB;EAAG,CAAE,CAEnD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { OwnCapability } from '@stream-io/video-client';
3
3
  import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
4
4
  import { CallControlsButton } from './CallControlsButton';
5
- import { Video, VideoSlash } from '../../../icons';
5
+ import { IconWrapper, Video, VideoSlash } from '../../../icons';
6
6
  import { useTheme } from '../../../contexts/ThemeContext';
7
7
 
8
8
  /**
@@ -27,7 +27,8 @@ export const ToggleVideoPublishingButton = ({
27
27
  const isVideoEnabledInCall = callSettings?.video.enabled;
28
28
  const {
29
29
  theme: {
30
- colors
30
+ colors,
31
+ variants
31
32
  }
32
33
  } = useTheme();
33
34
  const onPress = async () => {
@@ -44,11 +45,13 @@ export const ToggleVideoPublishingButton = ({
44
45
  requiredGrants: [OwnCapability.SEND_VIDEO]
45
46
  }, /*#__PURE__*/React.createElement(CallControlsButton, {
46
47
  onPress: onPress,
47
- color: !optimisticIsMute ? colors.static_white : colors.overlay_dark
48
- }, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
49
- color: colors.static_black
48
+ color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning
49
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
50
+ color: colors.iconPrimary,
51
+ size: variants.iconSizes.md
50
52
  }) : /*#__PURE__*/React.createElement(VideoSlash, {
51
- color: colors.static_white
52
- })));
53
+ color: colors.iconPrimary,
54
+ size: variants.iconSizes.md
55
+ }))));
53
56
  };
54
57
  //# sourceMappingURL=ToggleVideoPublishingButton.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","Video","VideoSlash","useTheme","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","onPress","toggle","createElement","requiredGrants","SEND_VIDEO","color","static_white","overlay_dark","static_black"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;AAClD,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAGA,CAAC;EAC1CC;AACgC,CAAC,KAAK;EACtC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGR,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAES,MAAM;IAAEC;EAAiB,CAAC,GAAGH,cAAc,CAAC,CAAC;EACrD,MAAMI,YAAY,GAAGH,eAAe,CAAC,CAAC;EACtC,MAAMI,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IACJC,KAAK,EAAE;MAAEC;IAAO;EAClB,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EACd,MAAMa,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIX,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMG,MAAM,CAACS,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACN,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEf,KAAA,CAAAsB,aAAA,CAACpB,UAAU;IAACqB,cAAc,EAAE,CAACtB,aAAa,CAACuB,UAAU;EAAE,gBACrDxB,KAAA,CAAAsB,aAAA,CAAClB,kBAAkB;IACjBgB,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EAAE,CAACZ,gBAAgB,GAAGM,MAAM,CAACO,YAAY,GAAGP,MAAM,CAACQ;EAAa,GAEpE,CAACd,gBAAgB,gBAChBb,KAAA,CAAAsB,aAAA,CAACjB,KAAK;IAACoB,KAAK,EAAEN,MAAM,CAACS;EAAa,CAAE,CAAC,gBAErC5B,KAAA,CAAAsB,aAAA,CAAChB,UAAU;IAACmB,KAAK,EAAEN,MAAM,CAACO;EAAa,CAAE,CAEzB,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Video","VideoSlash","useTheme","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","onPress","toggle","createElement","requiredGrants","SEND_VIDEO","color","buttonSecondary","buttonWarning","iconPrimary","size","iconSizes","md"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAi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W,SAAS,CAACC;EAAG,CAAE,CAAC,gBAEjEjC,KAAA,CAAAwB,aAAA,CAACjB,UAAU;IACToB,KAAK,EAAEP,MAAM,CAACU,WAAY;IAC1BC,IAAI,EAAEV,QAAQ,CAACW,SAAS,CAACC;EAAG,CAC7B,CAEQ,CACK,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
@@ -6,7 +6,6 @@ export * from './ToggleVideoPreviewButton';
6
6
  export * from './ToggleAudioPublishingButton';
7
7
  export * from './ToggleVideoPublishingButton';
8
8
  export * from './ToggleCameraFaceButton';
9
- export * from './ChatButton';
10
9
  export * from './ReactionsButton';
11
10
  export * from './CallControls';
12
11
  export * from './CallControlsButton';
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/index.tsx"],"mappings":"AAAA,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,4BAA4B;AAC1C,cAAc,4BAA4B;AAC1C,cAAc,+BAA+B;AAC7C,cAAc,+BAA+B;AAC7C,cAAc,0BAA0B;AACxC,cAAc,cAAc;AAC5B,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,sBAAsB;AACpC,cAAc,iBAAiB;AAC/B,cAAc,wBAAwB;AACtC,cAAc,wBAAwB;AACtC,cAAc,2BAA2B","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/index.tsx"],"mappings":"AAAA,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,4BAA4B;AAC1C,cAAc,4BAA4B;AAC1C,cAAc,+BAA+B;AAC7C,cAAc,+BAA+B;AAC7C,cAAc,0BAA0B;AACxC,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,sBAAsB;AACpC,cAAc,iBAAiB;AAC/B,cAAc,wBAAwB;AACtC,cAAc,wBAAwB;AACtC,cAAc,2BAA2B","ignoreList":[]}
@@ -1,12 +1,10 @@
1
- import React, { useEffect, useRef } from 'react';
1
+ import React, { useEffect, useMemo, useRef } from 'react';
2
2
  import { Pressable, StyleSheet, Animated, Easing } from 'react-native';
3
3
  import { useCall } from '@stream-io/video-react-bindings';
4
4
  import { getLogger } from '@stream-io/video-client';
5
5
  import { ComponentTestIds } from '../../../../constants/TestIds';
6
6
  import { useTheme } from '../../../../contexts/ThemeContext';
7
7
  import { defaultEmojiReactions } from '../../../../constants';
8
- const TOP_PADDING = 4;
9
- const REACTION_MARGIN_BOTTOM = 4;
10
8
  export const ReactionsPicker = ({
11
9
  supportedReactions = defaultEmojiReactions,
12
10
  reactionsButtonLayoutRectangle,
@@ -15,17 +13,19 @@ export const ReactionsPicker = ({
15
13
  const {
16
14
  theme: {
17
15
  colors,
18
- reactionsPicker
16
+ reactionsPicker,
17
+ variants
19
18
  }
20
19
  } = useTheme();
20
+ const styles = useStyles();
21
21
  const call = useCall();
22
22
  const size = reactionsButtonLayoutRectangle?.width ?? 0;
23
23
  const reactionItemSize = size * 0.8;
24
24
  const popupHeight =
25
25
  // the top padding
26
- TOP_PADDING +
26
+ variants.spacingSizes.xs +
27
27
  // take margins into account
28
- REACTION_MARGIN_BOTTOM * supportedReactions.length +
28
+ variants.spacingSizes.xs * supportedReactions.length +
29
29
  // the size of the reaction icon items (same size as reactions button * amount of reactions)
30
30
  reactionItemSize * supportedReactions.length;
31
31
  const reactionsPopupStyle = {
@@ -81,7 +81,7 @@ export const ReactionsPicker = ({
81
81
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, {
82
82
  testID: ComponentTestIds.REACTIONS_PICKER,
83
83
  style: [styles.reactionsPopup, reactionsPopupStyle, {
84
- backgroundColor: colors.static_grey
84
+ backgroundColor: colors.sheetSecondary
85
85
  }, reactionsPicker.reactionsPopup],
86
86
  onPress: () => {
87
87
  onClose();
@@ -89,8 +89,7 @@ export const ReactionsPicker = ({
89
89
  }, supportedReactions.map(supportedReaction => /*#__PURE__*/React.createElement(Pressable, {
90
90
  key: supportedReaction.emoji_code,
91
91
  style: [styles.reactionItem, reactionItemStyle, {
92
- // temporary background color until we have theming
93
- backgroundColor: colors.overlay
92
+ backgroundColor: colors.buttonSecondary
94
93
  }, reactionsPicker.reactionItem],
95
94
  onPress: () => {
96
95
  onClose({
@@ -109,28 +108,33 @@ export const ReactionsPicker = ({
109
108
  }, reactionsPicker.reactionText]
110
109
  }, supportedReaction.icon)))), /*#__PURE__*/React.createElement(Pressable, {
111
110
  style: [reactionsButtonDimmerStyle, {
112
- backgroundColor: colors.static_grey
111
+ backgroundColor: colors.sheetSecondary
113
112
  }, reactionsPicker.reactionsButtonDimmer],
114
113
  onPress: () => onClose()
115
114
  }));
116
115
  };
117
- const styles = StyleSheet.create({
118
- reactionsPopup: {
119
- position: 'absolute',
120
- alignItems: 'center',
121
- paddingTop: TOP_PADDING
122
- },
123
- reactionsButtonDimmer: {
124
- position: 'absolute',
125
- opacity: 0.5
126
- },
127
- reactionItem: {
128
- alignItems: 'center',
129
- justifyContent: 'center',
130
- marginBottom: REACTION_MARGIN_BOTTOM
131
- },
132
- reactionText: {
133
- fontSize: 18.5
134
- }
135
- });
116
+ const useStyles = () => {
117
+ const {
118
+ theme
119
+ } = useTheme();
120
+ return useMemo(() => StyleSheet.create({
121
+ reactionsPopup: {
122
+ position: 'absolute',
123
+ alignItems: 'center',
124
+ paddingTop: theme.variants.spacingSizes.xs
125
+ },
126
+ reactionsButtonDimmer: {
127
+ position: 'absolute',
128
+ opacity: 0.5
129
+ },
130
+ reactionItem: {
131
+ alignItems: 'center',
132
+ justifyContent: 'center',
133
+ marginBottom: theme.variants.spacingSizes.xs
134
+ },
135
+ reactionText: {
136
+ fontSize: 18.5
137
+ }
138
+ }), [theme]);
139
+ };
136
140
  //# sourceMappingURL=ReactionsPicker.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","TOP_PADDING","REACTION_MARGIN_BOTTOM","ReactionsPicker","supportedReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","call","size","width","reactionItemSize","popupHeight","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","Value","timing","current","toValue","duration","useNativeDriver","easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","styles","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","e","logger","linear","createElement","Fragment","testID","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","static_grey","onPress","map","supportedReaction","key","emoji_code","reactionItem","overlay","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AAChD,SAEEC,SAAS,EACTC,UAAU,EACVC,QAAQ,EACRC,MAAM,QACD,cAAc;AACrB,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAA8BC,SAAS,QAAQ,yBAAyB;AACxE,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,mCAAmC;AAE5D,SAASC,qBAAqB,QAAQ,uBAAuB;AAO7D,MAAMC,WAAW,GAAG,CAAC;AACrB,MAAMC,sBAAsB,GAAG,CAAC;AAEhC,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB,GAAGJ,qBAAqB;EAC1CK,8BAA8B;EAC9BC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAgB;EACnC,CAAC,GAAGV,QAAQ,CAAC,CAAC;EACd,MAAMW,IAAI,GAAGd,OAAO,CAAC,CAAC;EACtB,MAAMe,IAA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+ {"version":3,"names":["React","useEffect","useMemo","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","ReactionsPicker","supportedReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","styles","useStyles","call","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","Value","timing","current","toValue","duration","useNativeDriver","easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","e","logger","linear","createElement","Fragment","testID","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","key","emoji_code","reactionItem","buttonSecondary","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACzD,SAEEC,SAAS,EACTC,UAAU,EACVC,QAAQ,EACRC,MAAM,QACD,cAAc;AACrB,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAA8BC,SAAS,QAAQ,yBAAyB;AACxE,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,mCAAmC;AAE5D,SAASC,qBAAqB,QAAQ,uBAAuB;AAO7D,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,kBAAkB,GAAGF,qBAAqB;EAC1CG,8BAA8B;EAC9BC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,eAAe;MAAEC;IAAS;EAC7C,CAAC,GAAGT,QAAQ,CAAC,CAAC;EACd,MAAMU,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B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IACDuB,qBAAqB,EAAE;MACrBgC,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDd,YAAY,EAAE;MACZY,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAExE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC5C,CAAC;IACDiD,YAAY,EAAE;MACZY,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACzE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -64,7 +64,7 @@ export const CallParticipantsGrid = ({
64
64
  };
65
65
  return /*#__PURE__*/React.createElement(View, {
66
66
  style: [styles.container, landscapeStyles, {
67
- backgroundColor: colors.dark_gray
67
+ backgroundColor: colors.sheetPrimary
68
68
  }, callParticipantsGrid.container],
69
69
  testID: ComponentTestIds.CALL_PARTICIPANTS_GRID
70
70
  }, CallParticipantsList && /*#__PURE__*/React.createElement(CallParticipantsList, _extends({
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","CallParticipantsGrid","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","disablePictureInPicture","theme","colors","callParticipantsGrid","useRemoteParticipants","useParticipants","useLocalParticipant","_remoteParticipants","localParticipant","_allParticipants","remoteParticipants","allParticipants","landscapeStyles","flexDirection","isInPiPMode","showFloatingView","length","participants","participantViewProps","createElement","style","styles","container","backgroundColor","dark_gray","testID","CALL_PARTICIPANTS_GRID","_extends","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,iBAAiB,QAAQ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AAIC,YAAY,GAAGF,gBAAgB,GAC/BlB,oBAAoB,IAAIW,gBAAgB,GACtC,CAACA,gBAAgB,CAAC,GAClBE,kBAAkB,GACpBC,eAAe;EAEnB,IAAIG,WAAW,EAAE;IACfG,YAAY,GACVP,kBAAkB,CAACM,MAAM,GAAG,CAAC,GACzB,CAACN,kBAAkB,CAAC,CAAC,CAAC,CAA2B,GACjDF,gBAAgB,GACd,CAACA,gBAAgB,CAAC,GAClB,EAAE;EACZ;EAEA,MAAMU,oBAAwD,GAAG;IAC/DvB,eAAe;IACfJ,gBAAgB;IAChBC,kCAAkC;IAClCC,mBAAmB;IACnBC,wBAAwB;IACxBE;EACF,CAAC;EAED,oBACEhB,KAAA,CAAAuC,aAAA,CAACrC,IAAI;IACHsC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChBV,eAAe,EACf;MAAEW,eAAe,EAAErB,MAAM,CAACsB;IAAU,CAAC,EACrCrB,oBAAoB,CAACmB,SAAS,CAC9B;IACFG,MAAM,EAAEtC,gBAAgB,CAACuC;EAAuB,GAE/CzC,oBAAoB,iBACnBL,KAAA,CAAAuC,aAAA,CAAClC,oBAAoB,EAAA0C,QAAA;IACnBV,YAAY,EAAEA,YAAa;IAC3BnB,kBAAkB,EAAEA,kBAAmB;IACvCC,SAAS,EAAEA;EAAU,GACjBmB,oBAAoB,CACzB,CAEC,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAGxC,UAAU,CAAC+C,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","CallParticipantsGrid","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","disablePictureInPicture","theme","colors","callParticipantsGrid","useRemoteParticipants","useParticipants","useLocalParticipant","_remoteParticipants","localParticipant","_allParticipants","remoteParticipants","allParticipants","landscapeStyles","flexDirection","isInPiPMode","showFloatingView","length","participants","participantViewProps","createElement","style","styles","container","backgroundColor","sheetPrimary","testID","CALL_PARTICIPANTS_GRID","_extends","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsGrid.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,8CAA8C;AACrD,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,QAAQ,QAAQ,gCAAgC;AAGzD,SAASC,cAAc,QAAQ,+BAA+B;;AAG9D;AACA;AACA;;AAkBA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCL,oBAAoB,GAAGC,2BAA2B;EAClDK,gBAAgB;EAChBC,kCAAkC;EAClCC,mBAAmB;EACnBC,wBAAwB;EACxBC,eAAe;EACfC,aAAa;EACbC,oBAAoB,GAAG,KAAK;EAC5BC,kBAAkB;EAClBC,SAAS;EACTC;AACyB,CAAC,KAAK;EAC/B,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAqB;EACxC,CAAC,GAAGf,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEgB,qBAAqB;IAAEC,eAAe;IAAEC;EAAoB,CAAC,GACnEvB,iBAAiB,CAAC,CAAC;EACrB,MAAMwB,mBAAmB,GAAGH,qBAAqB,CAAC,CAAC;EACnD,MAAMI,gBAAgB,GAAGF,mBAAmB,CAAC,CAAC;EAC9C,MAAMG,gBAAgB,GAAGJ,eAAe,CAAC,CAAC;EAC1C;EACA,MAAMK,kBAAkB,GAAG1B,iBAAiB,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