@stream-io/video-react-native-sdk 0.0.10 → 0.0.12

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 (1050) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +2 -2
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js +133 -0
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -0
  5. package/dist/commonjs/components/Call/CallContent/index.js +17 -0
  6. package/dist/commonjs/components/Call/CallContent/index.js.map +1 -0
  7. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +61 -0
  8. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -0
  9. package/dist/commonjs/components/Call/CallControls/CallControls.js +52 -0
  10. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -0
  11. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +77 -0
  12. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -0
  13. package/dist/commonjs/components/Call/CallControls/ChatButton.js +86 -0
  14. package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +1 -0
  15. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +77 -0
  16. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -0
  17. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +44 -0
  18. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -0
  19. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +34 -0
  20. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -0
  21. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +46 -0
  22. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -0
  23. package/dist/commonjs/components/Call/CallControls/ReactionButton.js +71 -0
  24. package/dist/commonjs/components/Call/CallControls/ReactionButton.js.map +1 -0
  25. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +74 -0
  26. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -0
  27. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +68 -0
  28. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -0
  29. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +58 -0
  30. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -0
  31. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +58 -0
  32. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -0
  33. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +68 -0
  34. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -0
  35. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +56 -0
  36. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -0
  37. package/dist/commonjs/components/Call/CallControls/index.js +160 -0
  38. package/dist/commonjs/components/Call/CallControls/index.js.map +1 -0
  39. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +143 -0
  40. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -0
  41. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +76 -0
  42. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -0
  43. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +101 -0
  44. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -0
  45. package/dist/commonjs/components/Call/CallLayout/index.js +28 -0
  46. package/dist/commonjs/components/Call/CallLayout/index.js.map +1 -0
  47. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +241 -0
  48. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -0
  49. package/dist/commonjs/components/Call/CallParticipantsList/index.js +17 -0
  50. package/dist/commonjs/components/Call/CallParticipantsList/index.js.map +1 -0
  51. package/dist/commonjs/components/Call/CallTopView/CallTopView.js +121 -0
  52. package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +1 -0
  53. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +107 -0
  54. package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +1 -0
  55. package/dist/commonjs/components/Call/CallTopView/index.js +28 -0
  56. package/dist/commonjs/components/Call/CallTopView/index.js.map +1 -0
  57. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +73 -0
  58. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -0
  59. package/dist/commonjs/components/Call/Lobby/Lobby.js +185 -0
  60. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -0
  61. package/dist/commonjs/components/Call/Lobby/index.js +28 -0
  62. package/dist/commonjs/components/Call/Lobby/index.js.map +1 -0
  63. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +118 -0
  64. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -0
  65. package/dist/commonjs/components/Call/RingingCallContent/JoiningCallIndicator.js +33 -0
  66. package/dist/commonjs/components/Call/RingingCallContent/JoiningCallIndicator.js.map +1 -0
  67. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +110 -0
  68. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -0
  69. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +72 -0
  70. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -0
  71. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +117 -0
  72. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -0
  73. package/dist/commonjs/components/Call/RingingCallContent/index.js +39 -0
  74. package/dist/commonjs/components/Call/RingingCallContent/index.js.map +1 -0
  75. package/dist/commonjs/components/Call/index.js +83 -0
  76. package/dist/commonjs/components/Call/index.js.map +1 -0
  77. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +170 -0
  78. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -0
  79. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +154 -0
  80. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -0
  81. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js +74 -0
  82. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -0
  83. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/index.js +11 -0
  84. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -0
  85. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +150 -0
  86. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -0
  87. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +146 -0
  88. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -0
  89. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +98 -0
  90. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -0
  91. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +83 -0
  92. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -0
  93. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +63 -0
  94. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -0
  95. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +90 -0
  96. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -0
  97. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +193 -0
  98. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -0
  99. package/dist/commonjs/components/Participant/ParticipantView/index.js +72 -0
  100. package/dist/commonjs/components/Participant/ParticipantView/index.js.map +1 -0
  101. package/dist/commonjs/components/Participant/index.js +28 -0
  102. package/dist/commonjs/components/Participant/index.js.map +1 -0
  103. package/dist/commonjs/components/index.js +39 -0
  104. package/dist/commonjs/components/index.js.map +1 -0
  105. package/dist/commonjs/components/utility/Avatar.js +77 -0
  106. package/dist/commonjs/components/utility/Avatar.js.map +1 -0
  107. package/dist/commonjs/components/utility/index.js +17 -0
  108. package/dist/commonjs/components/utility/index.js.map +1 -0
  109. package/dist/commonjs/constants/TestIds.js +40 -0
  110. package/dist/commonjs/constants/TestIds.js.map +1 -0
  111. package/dist/commonjs/constants/index.js +38 -0
  112. package/dist/commonjs/constants/index.js.map +1 -0
  113. package/dist/commonjs/contexts/StreamVideoContext.js +111 -0
  114. package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -0
  115. package/dist/commonjs/contexts/ThemeContext.js +59 -0
  116. package/dist/commonjs/contexts/ThemeContext.js.map +1 -0
  117. package/dist/commonjs/contexts/index.js +28 -0
  118. package/dist/commonjs/contexts/index.js.map +1 -0
  119. package/dist/commonjs/hooks/index.js +61 -0
  120. package/dist/commonjs/hooks/index.js.map +1 -0
  121. package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js +32 -0
  122. package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js.map +1 -0
  123. package/dist/commonjs/hooks/push/index.js +22 -0
  124. package/dist/commonjs/hooks/push/index.js.map +1 -0
  125. package/dist/commonjs/hooks/push/useInitAndroidTokenAndRest.js +28 -0
  126. package/dist/commonjs/hooks/push/useInitAndroidTokenAndRest.js.map +1 -0
  127. package/dist/commonjs/hooks/push/useIosCallKeepEventsSetupEffect.js +69 -0
  128. package/dist/commonjs/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -0
  129. package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js +123 -0
  130. package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
  131. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +89 -0
  132. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -0
  133. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +68 -0
  134. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -0
  135. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +122 -0
  136. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -0
  137. package/dist/commonjs/hooks/useIncallManager.js +32 -0
  138. package/dist/commonjs/hooks/useIncallManager.js.map +1 -0
  139. package/dist/commonjs/hooks/usePermissionNotification.js +44 -0
  140. package/dist/commonjs/hooks/usePermissionNotification.js.map +1 -0
  141. package/dist/commonjs/hooks/usePermissionRequest.js +68 -0
  142. package/dist/commonjs/hooks/usePermissionRequest.js.map +1 -0
  143. package/dist/commonjs/icons/Back.js +22 -0
  144. package/dist/commonjs/icons/Back.js.map +1 -0
  145. package/dist/commonjs/icons/CameraSwitch.js +22 -0
  146. package/dist/commonjs/icons/CameraSwitch.js.map +1 -0
  147. package/dist/commonjs/icons/Chat.js +22 -0
  148. package/dist/commonjs/icons/Chat.js.map +1 -0
  149. package/dist/commonjs/icons/Mic.js +25 -0
  150. package/dist/commonjs/icons/Mic.js.map +1 -0
  151. package/dist/commonjs/icons/MicOff.js +22 -0
  152. package/dist/commonjs/icons/MicOff.js.map +1 -0
  153. package/dist/commonjs/icons/Participants.js +24 -0
  154. package/dist/commonjs/icons/Participants.js.map +1 -0
  155. package/dist/commonjs/icons/Phone.js +22 -0
  156. package/dist/commonjs/icons/Phone.js.map +1 -0
  157. package/dist/commonjs/icons/PhoneDown.js +24 -0
  158. package/dist/commonjs/icons/PhoneDown.js.map +1 -0
  159. package/dist/commonjs/icons/PinVertical.js +22 -0
  160. package/dist/commonjs/icons/PinVertical.js.map +1 -0
  161. package/dist/commonjs/icons/Reaction.js +22 -0
  162. package/dist/commonjs/icons/Reaction.js.map +1 -0
  163. package/dist/commonjs/icons/ScreenShare.js +38 -0
  164. package/dist/commonjs/icons/ScreenShare.js.map +1 -0
  165. package/dist/commonjs/icons/Settings.js +24 -0
  166. package/dist/commonjs/icons/Settings.js.map +1 -0
  167. package/dist/commonjs/icons/Spotlight.js +24 -0
  168. package/dist/commonjs/icons/Spotlight.js.map +1 -0
  169. package/dist/commonjs/icons/ThreeDots.js +34 -0
  170. package/dist/commonjs/icons/ThreeDots.js.map +1 -0
  171. package/dist/commonjs/icons/TopViewBackground.js +38 -0
  172. package/dist/commonjs/icons/TopViewBackground.js.map +1 -0
  173. package/dist/commonjs/icons/Video.js +22 -0
  174. package/dist/commonjs/icons/Video.js.map +1 -0
  175. package/dist/commonjs/icons/VideoSlash.js +24 -0
  176. package/dist/commonjs/icons/VideoSlash.js.map +1 -0
  177. package/dist/commonjs/icons/index.js +182 -0
  178. package/dist/commonjs/icons/index.js.map +1 -0
  179. package/dist/commonjs/index.js +172 -0
  180. package/dist/commonjs/index.js.map +1 -0
  181. package/dist/commonjs/providers/MediaStreamManagement.js +148 -0
  182. package/dist/commonjs/providers/MediaStreamManagement.js.map +1 -0
  183. package/dist/commonjs/providers/StreamCall.js +49 -0
  184. package/dist/commonjs/providers/StreamCall.js.map +1 -0
  185. package/dist/commonjs/providers/StreamVideo.js +76 -0
  186. package/dist/commonjs/providers/StreamVideo.js.map +1 -0
  187. package/dist/commonjs/providers/index.js +39 -0
  188. package/dist/commonjs/providers/index.js.map +1 -0
  189. package/dist/commonjs/theme/colors.js +51 -0
  190. package/dist/commonjs/theme/colors.js.map +1 -0
  191. package/dist/commonjs/theme/constants.js +59 -0
  192. package/dist/commonjs/theme/constants.js.map +1 -0
  193. package/dist/commonjs/theme/index.js +28 -0
  194. package/dist/commonjs/theme/index.js.map +1 -0
  195. package/dist/commonjs/theme/theme.js +230 -0
  196. package/dist/commonjs/theme/theme.js.map +1 -0
  197. package/dist/commonjs/theme/types.js +6 -0
  198. package/dist/commonjs/theme/types.js.map +1 -0
  199. package/dist/commonjs/translations/en.json +14 -0
  200. package/dist/commonjs/translations/index.js +13 -0
  201. package/dist/commonjs/translations/index.js.map +1 -0
  202. package/dist/commonjs/utils/StreamVideoRN/index.js +71 -0
  203. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -0
  204. package/dist/commonjs/utils/StreamVideoRN/types.js +6 -0
  205. package/dist/commonjs/utils/StreamVideoRN/types.js.map +1 -0
  206. package/dist/commonjs/utils/hooks/index.js +39 -0
  207. package/dist/commonjs/utils/hooks/index.js.map +1 -0
  208. package/dist/commonjs/utils/hooks/useAppStateListener.js +43 -0
  209. package/dist/commonjs/utils/hooks/useAppStateListener.js.map +1 -0
  210. package/dist/commonjs/utils/hooks/useDebouncedValue.js +24 -0
  211. package/dist/commonjs/utils/hooks/useDebouncedValue.js.map +1 -0
  212. package/dist/commonjs/utils/hooks/usePrevious.js +16 -0
  213. package/dist/commonjs/utils/hooks/usePrevious.js.map +1 -0
  214. package/dist/commonjs/utils/index.js +52 -0
  215. package/dist/commonjs/utils/index.js.map +1 -0
  216. package/dist/commonjs/utils/internal/optionalLibs.js +31 -0
  217. package/dist/commonjs/utils/internal/optionalLibs.js.map +1 -0
  218. package/dist/commonjs/utils/push/android.js +146 -0
  219. package/dist/commonjs/utils/push/android.js.map +1 -0
  220. package/dist/commonjs/utils/push/ios.js +46 -0
  221. package/dist/commonjs/utils/push/ios.js.map +1 -0
  222. package/dist/commonjs/utils/push/libs.js +39 -0
  223. package/dist/commonjs/utils/push/libs.js.map +1 -0
  224. package/dist/commonjs/utils/push/rxSubjects.js +49 -0
  225. package/dist/commonjs/utils/push/rxSubjects.js.map +1 -0
  226. package/dist/commonjs/utils/push/utils.js +55 -0
  227. package/dist/commonjs/utils/push/utils.js.map +1 -0
  228. package/dist/commonjs/utils/setClientDetails.js +51 -0
  229. package/dist/commonjs/utils/setClientDetails.js.map +1 -0
  230. package/dist/commonjs/version.js +9 -0
  231. package/dist/commonjs/version.js.map +1 -0
  232. package/dist/module/components/Call/CallContent/CallContent.js +124 -0
  233. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -0
  234. package/dist/module/components/Call/CallContent/index.js.map +1 -0
  235. package/dist/module/components/Call/CallControls/AcceptCallButton.js +54 -0
  236. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -0
  237. package/dist/module/components/Call/CallControls/CallControls.js +45 -0
  238. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -0
  239. package/dist/module/components/Call/CallControls/CallControlsButton.js +69 -0
  240. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -0
  241. package/dist/module/components/Call/CallControls/ChatButton.js +79 -0
  242. package/dist/module/components/Call/CallControls/ChatButton.js.map +1 -0
  243. package/dist/module/components/Call/CallControls/HangupCallButton.js +69 -0
  244. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -0
  245. package/dist/module/components/Call/CallControls/IncomingCallControls.js +37 -0
  246. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -0
  247. package/dist/module/components/Call/CallControls/LobbyControls.js +27 -0
  248. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -0
  249. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +39 -0
  250. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -0
  251. package/dist/module/components/Call/CallControls/ReactionButton.js +63 -0
  252. package/dist/module/components/Call/CallControls/ReactionButton.js.map +1 -0
  253. package/dist/module/components/Call/CallControls/RejectCallButton.js +67 -0
  254. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -0
  255. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +61 -0
  256. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -0
  257. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +51 -0
  258. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -0
  259. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +51 -0
  260. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -0
  261. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +61 -0
  262. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -0
  263. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +49 -0
  264. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -0
  265. package/dist/module/components/Call/CallControls/index.js.map +1 -0
  266. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +134 -0
  267. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -0
  268. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +69 -0
  269. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -0
  270. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +94 -0
  271. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -0
  272. package/dist/module/components/Call/CallLayout/index.js.map +1 -0
  273. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +232 -0
  274. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -0
  275. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -0
  276. package/dist/module/components/Call/CallTopView/CallTopView.js +112 -0
  277. package/dist/module/components/Call/CallTopView/CallTopView.js.map +1 -0
  278. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +100 -0
  279. package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +1 -0
  280. package/dist/module/components/Call/CallTopView/index.js.map +1 -0
  281. package/dist/module/components/Call/Lobby/JoinCallButton.js +66 -0
  282. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -0
  283. package/dist/module/components/Call/Lobby/Lobby.js +178 -0
  284. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -0
  285. package/dist/module/components/Call/Lobby/index.js.map +1 -0
  286. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +110 -0
  287. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -0
  288. package/dist/module/components/Call/RingingCallContent/JoiningCallIndicator.js +25 -0
  289. package/dist/module/components/Call/RingingCallContent/JoiningCallIndicator.js.map +1 -0
  290. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +103 -0
  291. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -0
  292. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +65 -0
  293. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -0
  294. package/dist/module/components/Call/RingingCallContent/UserInfo.js +109 -0
  295. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -0
  296. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -0
  297. package/dist/module/components/Call/index.js.map +1 -0
  298. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +161 -0
  299. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -0
  300. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +145 -0
  301. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -0
  302. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +64 -0
  303. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -0
  304. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +4 -0
  305. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -0
  306. package/dist/module/components/Participant/FloatingParticipantView/index.js +143 -0
  307. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -0
  308. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +139 -0
  309. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -0
  310. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +91 -0
  311. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -0
  312. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +75 -0
  313. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -0
  314. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +56 -0
  315. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -0
  316. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +83 -0
  317. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -0
  318. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +184 -0
  319. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -0
  320. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -0
  321. package/dist/module/components/Participant/index.js.map +1 -0
  322. package/dist/module/components/index.js.map +1 -0
  323. package/dist/module/components/utility/Avatar.js +70 -0
  324. package/dist/module/components/utility/Avatar.js.map +1 -0
  325. package/dist/module/components/utility/index.js.map +1 -0
  326. package/dist/module/constants/TestIds.js +30 -0
  327. package/dist/module/constants/TestIds.js.map +1 -0
  328. package/dist/module/constants/index.js +28 -0
  329. package/dist/module/constants/index.js.map +1 -0
  330. package/dist/module/contexts/StreamVideoContext.js +101 -0
  331. package/dist/module/contexts/StreamVideoContext.js.map +1 -0
  332. package/dist/module/contexts/ThemeContext.js +46 -0
  333. package/dist/module/contexts/ThemeContext.js.map +1 -0
  334. package/dist/module/contexts/index.js.map +1 -0
  335. package/dist/module/hooks/index.js.map +1 -0
  336. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +26 -0
  337. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -0
  338. package/dist/module/hooks/push/index.js +16 -0
  339. package/dist/module/hooks/push/index.js.map +1 -0
  340. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +22 -0
  341. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -0
  342. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +63 -0
  343. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -0
  344. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +116 -0
  345. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
  346. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +83 -0
  347. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -0
  348. package/dist/module/hooks/push/useProcessPushCallEffect.js +61 -0
  349. package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -0
  350. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +113 -0
  351. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -0
  352. package/dist/module/hooks/useIncallManager.js +24 -0
  353. package/dist/module/hooks/useIncallManager.js.map +1 -0
  354. package/dist/module/hooks/usePermissionNotification.js +37 -0
  355. package/dist/module/hooks/usePermissionNotification.js.map +1 -0
  356. package/dist/module/hooks/usePermissionRequest.js +61 -0
  357. package/dist/module/hooks/usePermissionRequest.js.map +1 -0
  358. package/dist/module/icons/Back.js +14 -0
  359. package/dist/module/icons/Back.js.map +1 -0
  360. package/dist/module/icons/CameraSwitch.js +14 -0
  361. package/dist/module/icons/CameraSwitch.js.map +1 -0
  362. package/dist/module/icons/Chat.js +14 -0
  363. package/dist/module/icons/Chat.js.map +1 -0
  364. package/dist/module/icons/Mic.js +17 -0
  365. package/dist/module/icons/Mic.js.map +1 -0
  366. package/dist/module/icons/MicOff.js +14 -0
  367. package/dist/module/icons/MicOff.js.map +1 -0
  368. package/dist/module/icons/Participants.js +16 -0
  369. package/dist/module/icons/Participants.js.map +1 -0
  370. package/dist/module/icons/Phone.js +14 -0
  371. package/dist/module/icons/Phone.js.map +1 -0
  372. package/dist/module/icons/PhoneDown.js +16 -0
  373. package/dist/module/icons/PhoneDown.js.map +1 -0
  374. package/dist/module/icons/PinVertical.js +14 -0
  375. package/dist/module/icons/PinVertical.js.map +1 -0
  376. package/dist/module/icons/Reaction.js +14 -0
  377. package/dist/module/icons/Reaction.js.map +1 -0
  378. package/dist/module/icons/ScreenShare.js +28 -0
  379. package/dist/module/icons/ScreenShare.js.map +1 -0
  380. package/dist/module/icons/Settings.js +14 -0
  381. package/dist/module/icons/Settings.js.map +1 -0
  382. package/dist/module/icons/Spotlight.js +16 -0
  383. package/dist/module/icons/Spotlight.js.map +1 -0
  384. package/dist/module/icons/ThreeDots.js +26 -0
  385. package/dist/module/icons/ThreeDots.js.map +1 -0
  386. package/dist/module/icons/TopViewBackground.js +30 -0
  387. package/dist/module/icons/TopViewBackground.js.map +1 -0
  388. package/dist/module/icons/Video.js +14 -0
  389. package/dist/module/icons/Video.js.map +1 -0
  390. package/dist/module/icons/VideoSlash.js +16 -0
  391. package/dist/module/icons/VideoSlash.js.map +1 -0
  392. package/dist/module/icons/index.js.map +1 -0
  393. package/dist/module/index.js +35 -0
  394. package/dist/module/index.js.map +1 -0
  395. package/dist/module/providers/MediaStreamManagement.js +139 -0
  396. package/dist/module/providers/MediaStreamManagement.js.map +1 -0
  397. package/dist/module/providers/StreamCall.js +41 -0
  398. package/dist/module/providers/StreamCall.js.map +1 -0
  399. package/dist/module/providers/StreamVideo.js +66 -0
  400. package/dist/module/providers/StreamVideo.js.map +1 -0
  401. package/dist/module/providers/index.js.map +1 -0
  402. package/dist/module/theme/colors.js +44 -0
  403. package/dist/module/theme/colors.js.map +1 -0
  404. package/dist/module/theme/constants.js +53 -0
  405. package/dist/module/theme/constants.js.map +1 -0
  406. package/dist/module/theme/index.js +7 -0
  407. package/dist/module/theme/index.js.map +1 -0
  408. package/dist/module/theme/theme.js +223 -0
  409. package/dist/module/theme/theme.js.map +1 -0
  410. package/dist/module/theme/types.js.map +1 -0
  411. package/dist/module/translations/en.json +14 -0
  412. package/dist/module/translations/index.js +5 -0
  413. package/dist/module/translations/index.js.map +1 -0
  414. package/dist/module/utils/StreamVideoRN/index.js +64 -0
  415. package/dist/module/utils/StreamVideoRN/index.js.map +1 -0
  416. package/dist/module/utils/StreamVideoRN/types.js.map +1 -0
  417. package/dist/module/utils/hooks/index.js.map +1 -0
  418. package/dist/module/utils/hooks/useAppStateListener.js +36 -0
  419. package/dist/module/utils/hooks/useAppStateListener.js.map +1 -0
  420. package/dist/module/utils/hooks/useDebouncedValue.js +19 -0
  421. package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -0
  422. package/dist/module/utils/hooks/usePrevious.js +9 -0
  423. package/dist/module/utils/hooks/usePrevious.js.map +1 -0
  424. package/dist/module/utils/index.js +27 -0
  425. package/dist/module/utils/index.js.map +1 -0
  426. package/dist/module/utils/internal/optionalLibs.js +23 -0
  427. package/dist/module/utils/internal/optionalLibs.js.map +1 -0
  428. package/dist/module/utils/push/android.js +137 -0
  429. package/dist/module/utils/push/android.js.map +1 -0
  430. package/dist/module/utils/push/ios.js +38 -0
  431. package/dist/module/utils/push/ios.js.map +1 -0
  432. package/dist/module/utils/push/libs.js +31 -0
  433. package/dist/module/utils/push/libs.js.map +1 -0
  434. package/dist/module/utils/push/rxSubjects.js +39 -0
  435. package/dist/module/utils/push/rxSubjects.js.map +1 -0
  436. package/dist/module/utils/push/utils.js +47 -0
  437. package/dist/module/utils/push/utils.js.map +1 -0
  438. package/dist/module/utils/setClientDetails.js +44 -0
  439. package/dist/module/utils/setClientDetails.js.map +1 -0
  440. package/dist/module/version.js +2 -0
  441. package/dist/module/version.js.map +1 -0
  442. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +27 -0
  443. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -0
  444. package/dist/typescript/components/Call/CallContent/index.d.ts +2 -0
  445. package/dist/typescript/components/Call/CallContent/index.d.ts.map +1 -0
  446. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts +23 -0
  447. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -0
  448. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +17 -0
  449. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -0
  450. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +37 -0
  451. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -0
  452. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +21 -0
  453. package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +1 -0
  454. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts +23 -0
  455. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -0
  456. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts +15 -0
  457. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -0
  458. package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts +5 -0
  459. package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -0
  460. package/dist/typescript/components/Call/CallControls/OutgoingCallControls.d.ts +11 -0
  461. package/dist/typescript/components/Call/CallControls/OutgoingCallControls.d.ts.map +1 -0
  462. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts +15 -0
  463. package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts.map +1 -0
  464. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts +24 -0
  465. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -0
  466. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts +15 -0
  467. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -0
  468. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts +15 -0
  469. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -0
  470. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +15 -0
  471. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -0
  472. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts +15 -0
  473. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -0
  474. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts +15 -0
  475. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -0
  476. package/dist/typescript/components/Call/CallControls/index.d.ts +15 -0
  477. package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -0
  478. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +10 -0
  479. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -0
  480. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +20 -0
  481. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -0
  482. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +17 -0
  483. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -0
  484. package/dist/typescript/components/Call/CallLayout/index.d.ts +3 -0
  485. package/dist/typescript/components/Call/CallLayout/index.d.ts.map +1 -0
  486. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +35 -0
  487. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -0
  488. package/dist/typescript/components/Call/CallParticipantsList/index.d.ts +2 -0
  489. package/dist/typescript/components/Call/CallParticipantsList/index.d.ts.map +1 -0
  490. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +29 -0
  491. package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +1 -0
  492. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +11 -0
  493. package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +1 -0
  494. package/dist/typescript/components/Call/CallTopView/index.d.ts +3 -0
  495. package/dist/typescript/components/Call/CallTopView/index.d.ts.map +1 -0
  496. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +12 -0
  497. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -0
  498. package/dist/typescript/components/Call/Lobby/Lobby.d.ts +24 -0
  499. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -0
  500. package/dist/typescript/components/Call/Lobby/index.d.ts +3 -0
  501. package/dist/typescript/components/Call/Lobby/index.d.ts.map +1 -0
  502. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +40 -0
  503. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -0
  504. package/dist/typescript/components/Call/RingingCallContent/JoiningCallIndicator.d.ts +2 -0
  505. package/dist/typescript/components/Call/RingingCallContent/JoiningCallIndicator.d.ts.map +1 -0
  506. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +22 -0
  507. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -0
  508. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +35 -0
  509. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -0
  510. package/dist/typescript/components/Call/RingingCallContent/UserInfo.d.ts +14 -0
  511. package/dist/typescript/components/Call/RingingCallContent/UserInfo.d.ts.map +1 -0
  512. package/dist/typescript/components/Call/RingingCallContent/index.d.ts +4 -0
  513. package/dist/typescript/components/Call/RingingCallContent/index.d.ts.map +1 -0
  514. package/dist/typescript/components/Call/index.d.ts +8 -0
  515. package/dist/typescript/components/Call/index.d.ts.map +1 -0
  516. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +4 -0
  517. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -0
  518. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +5 -0
  519. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -0
  520. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +39 -0
  521. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -0
  522. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +5 -0
  523. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -0
  524. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +32 -0
  525. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -0
  526. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +10 -0
  527. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -0
  528. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +7 -0
  529. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -0
  530. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +17 -0
  531. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -0
  532. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +10 -0
  533. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -0
  534. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +70 -0
  535. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -0
  536. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +12 -0
  537. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -0
  538. package/dist/typescript/components/Participant/ParticipantView/index.d.ts +7 -0
  539. package/dist/typescript/components/Participant/ParticipantView/index.d.ts.map +1 -0
  540. package/dist/typescript/components/Participant/index.d.ts +3 -0
  541. package/dist/typescript/components/Participant/index.d.ts.map +1 -0
  542. package/dist/typescript/components/index.d.ts +4 -0
  543. package/dist/typescript/components/index.d.ts.map +1 -0
  544. package/dist/typescript/components/utility/Avatar.d.ts +43 -0
  545. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -0
  546. package/dist/typescript/components/utility/index.d.ts +2 -0
  547. package/dist/typescript/components/utility/index.d.ts.map +1 -0
  548. package/dist/typescript/constants/TestIds.d.ts +26 -0
  549. package/dist/typescript/constants/TestIds.d.ts.map +1 -0
  550. package/dist/typescript/constants/index.d.ts +14 -0
  551. package/dist/typescript/constants/index.d.ts.map +1 -0
  552. package/dist/typescript/contexts/StreamVideoContext.d.ts +20 -0
  553. package/dist/typescript/contexts/StreamVideoContext.d.ts.map +1 -0
  554. package/dist/typescript/contexts/ThemeContext.d.ts +23 -0
  555. package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -0
  556. package/dist/typescript/contexts/index.d.ts +3 -0
  557. package/dist/typescript/contexts/index.d.ts.map +1 -0
  558. package/dist/typescript/hooks/index.d.ts +6 -0
  559. package/dist/typescript/hooks/index.d.ts.map +1 -0
  560. package/dist/typescript/hooks/internal/useCallMediaStreamCleanup.d.ts +6 -0
  561. package/dist/typescript/hooks/internal/useCallMediaStreamCleanup.d.ts.map +1 -0
  562. package/dist/typescript/hooks/push/index.d.ts +6 -0
  563. package/dist/typescript/hooks/push/index.d.ts.map +1 -0
  564. package/dist/typescript/hooks/push/useInitAndroidTokenAndRest.d.ts +5 -0
  565. package/dist/typescript/hooks/push/useInitAndroidTokenAndRest.d.ts.map +1 -0
  566. package/dist/typescript/hooks/push/useIosCallKeepEventsSetupEffect.d.ts +5 -0
  567. package/dist/typescript/hooks/push/useIosCallKeepEventsSetupEffect.d.ts.map +1 -0
  568. package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts +5 -0
  569. package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts.map +1 -0
  570. package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts +6 -0
  571. package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -0
  572. package/dist/typescript/hooks/push/useProcessPushCallEffect.d.ts +8 -0
  573. package/dist/typescript/hooks/push/useProcessPushCallEffect.d.ts.map +1 -0
  574. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts +7 -0
  575. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -0
  576. package/dist/typescript/hooks/useIncallManager.d.ts +14 -0
  577. package/dist/typescript/hooks/useIncallManager.d.ts.map +1 -0
  578. package/dist/typescript/hooks/usePermissionNotification.d.ts +19 -0
  579. package/dist/typescript/hooks/usePermissionNotification.d.ts.map +1 -0
  580. package/dist/typescript/hooks/usePermissionRequest.d.ts +2 -0
  581. package/dist/typescript/hooks/usePermissionRequest.d.ts.map +1 -0
  582. package/dist/typescript/icons/Back.d.ts +7 -0
  583. package/dist/typescript/icons/Back.d.ts.map +1 -0
  584. package/dist/typescript/icons/CameraSwitch.d.ts +7 -0
  585. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -0
  586. package/dist/typescript/icons/Chat.d.ts +7 -0
  587. package/dist/typescript/icons/Chat.d.ts.map +1 -0
  588. package/dist/typescript/icons/Mic.d.ts +7 -0
  589. package/dist/typescript/icons/Mic.d.ts.map +1 -0
  590. package/dist/typescript/icons/MicOff.d.ts +7 -0
  591. package/dist/typescript/icons/MicOff.d.ts.map +1 -0
  592. package/dist/typescript/icons/Participants.d.ts +7 -0
  593. package/dist/typescript/icons/Participants.d.ts.map +1 -0
  594. package/dist/typescript/icons/Phone.d.ts +7 -0
  595. package/dist/typescript/icons/Phone.d.ts.map +1 -0
  596. package/dist/typescript/icons/PhoneDown.d.ts +7 -0
  597. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -0
  598. package/dist/typescript/icons/PinVertical.d.ts +7 -0
  599. package/dist/typescript/icons/PinVertical.d.ts.map +1 -0
  600. package/dist/typescript/icons/Reaction.d.ts +7 -0
  601. package/dist/typescript/icons/Reaction.d.ts.map +1 -0
  602. package/dist/typescript/icons/ScreenShare.d.ts +7 -0
  603. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -0
  604. package/dist/typescript/icons/Settings.d.ts +6 -0
  605. package/dist/typescript/icons/Settings.d.ts.map +1 -0
  606. package/dist/typescript/icons/Spotlight.d.ts +7 -0
  607. package/dist/typescript/icons/Spotlight.d.ts.map +1 -0
  608. package/dist/typescript/icons/ThreeDots.d.ts +6 -0
  609. package/dist/typescript/icons/ThreeDots.d.ts.map +1 -0
  610. package/dist/typescript/icons/TopViewBackground.d.ts +14 -0
  611. package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -0
  612. package/dist/typescript/icons/Video.d.ts +7 -0
  613. package/dist/typescript/icons/Video.d.ts.map +1 -0
  614. package/dist/typescript/icons/VideoSlash.d.ts +7 -0
  615. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -0
  616. package/dist/typescript/icons/index.d.ts +17 -0
  617. package/dist/typescript/icons/index.d.ts.map +1 -0
  618. package/dist/typescript/index.d.ts +17 -0
  619. package/dist/typescript/index.d.ts.map +1 -0
  620. package/dist/typescript/providers/MediaStreamManagement.d.ts +46 -0
  621. package/dist/typescript/providers/MediaStreamManagement.d.ts.map +1 -0
  622. package/dist/typescript/providers/StreamCall.d.ts +23 -0
  623. package/dist/typescript/providers/StreamCall.d.ts.map +1 -0
  624. package/dist/typescript/providers/StreamVideo.d.ts +15 -0
  625. package/dist/typescript/providers/StreamVideo.d.ts.map +1 -0
  626. package/dist/typescript/providers/index.d.ts +4 -0
  627. package/dist/typescript/providers/index.d.ts.map +1 -0
  628. package/dist/typescript/theme/colors.d.ts +40 -0
  629. package/dist/typescript/theme/colors.d.ts.map +1 -0
  630. package/dist/typescript/theme/constants.d.ts +48 -0
  631. package/dist/typescript/theme/constants.d.ts.map +1 -0
  632. package/dist/typescript/theme/index.d.ts +4 -0
  633. package/dist/typescript/theme/index.d.ts.map +1 -0
  634. package/dist/typescript/theme/theme.d.ts +196 -0
  635. package/dist/typescript/theme/theme.d.ts.map +1 -0
  636. package/dist/typescript/theme/types.d.ts +30 -0
  637. package/dist/typescript/theme/types.d.ts.map +1 -0
  638. package/dist/typescript/translations/index.d.ts +17 -0
  639. package/dist/typescript/translations/index.d.ts.map +1 -0
  640. package/dist/typescript/utils/StreamVideoRN/index.d.ts +28 -0
  641. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -0
  642. package/dist/typescript/utils/StreamVideoRN/types.d.ts +95 -0
  643. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -0
  644. package/dist/typescript/utils/hooks/index.d.ts +4 -0
  645. package/dist/typescript/utils/hooks/index.d.ts.map +1 -0
  646. package/dist/typescript/utils/hooks/useAppStateListener.d.ts +2 -0
  647. package/dist/typescript/utils/hooks/useAppStateListener.d.ts.map +1 -0
  648. package/dist/typescript/utils/hooks/useDebouncedValue.d.ts +8 -0
  649. package/dist/typescript/utils/hooks/useDebouncedValue.d.ts.map +1 -0
  650. package/dist/typescript/utils/hooks/usePrevious.d.ts +2 -0
  651. package/dist/typescript/utils/hooks/usePrevious.d.ts.map +1 -0
  652. package/dist/typescript/utils/index.d.ts +5 -0
  653. package/dist/typescript/utils/index.d.ts.map +1 -0
  654. package/dist/typescript/utils/internal/optionalLibs.d.ts +6 -0
  655. package/dist/typescript/utils/internal/optionalLibs.d.ts.map +1 -0
  656. package/dist/typescript/utils/push/android.d.ts +9 -0
  657. package/dist/typescript/utils/push/android.d.ts.map +1 -0
  658. package/dist/typescript/utils/push/ios.d.ts +6 -0
  659. package/dist/typescript/utils/push/ios.d.ts.map +1 -0
  660. package/dist/typescript/utils/push/libs.d.ts +10 -0
  661. package/dist/typescript/utils/push/libs.d.ts.map +1 -0
  662. package/dist/typescript/utils/push/rxSubjects.d.ts +29 -0
  663. package/dist/typescript/utils/push/rxSubjects.d.ts.map +1 -0
  664. package/dist/typescript/utils/push/utils.d.ts +14 -0
  665. package/dist/typescript/utils/push/utils.d.ts.map +1 -0
  666. package/dist/typescript/utils/setClientDetails.d.ts +2 -0
  667. package/dist/typescript/utils/setClientDetails.d.ts.map +1 -0
  668. package/dist/typescript/version.d.ts +2 -0
  669. package/dist/typescript/version.d.ts.map +1 -0
  670. package/expo-config-plugin/dist/index.js +18 -14
  671. package/expo-config-plugin/dist/withAndroidManifest.js +6 -5
  672. package/expo-config-plugin/dist/withAndroidPermissions.js +5 -4
  673. package/expo-config-plugin/dist/withAppDelegate.js +8 -7
  674. package/expo-config-plugin/dist/withMainApplication.js +8 -7
  675. package/expo-config-plugin/dist/withiOSInfoPlist.js +5 -4
  676. package/package.json +18 -6
  677. package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +3 -3
  678. package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +4 -3
  679. package/src/components/Call/Lobby/Lobby.tsx +6 -3
  680. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +5 -3
  681. package/src/components/Participant/ParticipantView/VideoRenderer.tsx +6 -3
  682. package/src/hooks/internal/useCallMediaStreamCleanup.ts +1 -0
  683. package/src/index.ts +41 -0
  684. package/src/providers/MediaStreamManagement.tsx +80 -51
  685. package/src/providers/StreamVideo.tsx +0 -2
  686. package/src/translations/en.json +1 -3
  687. package/src/utils/StreamVideoRN/index.ts +0 -21
  688. package/src/utils/setClientDetails.ts +1 -1
  689. package/src/version.ts +1 -0
  690. package/dist/index.d.ts +0 -16
  691. package/dist/index.js +0 -32
  692. package/dist/index.js.map +0 -1
  693. package/dist/jest-setup.d.ts +0 -1
  694. package/dist/jest-setup.js +0 -38
  695. package/dist/jest-setup.js.map +0 -1
  696. package/dist/src/components/Call/CallContent/CallContent.d.ts +0 -26
  697. package/dist/src/components/Call/CallContent/CallContent.js +0 -84
  698. package/dist/src/components/Call/CallContent/CallContent.js.map +0 -1
  699. package/dist/src/components/Call/CallContent/index.d.ts +0 -1
  700. package/dist/src/components/Call/CallContent/index.js.map +0 -1
  701. package/dist/src/components/Call/CallControls/AcceptCallButton.d.ts +0 -22
  702. package/dist/src/components/Call/CallControls/AcceptCallButton.js +0 -32
  703. package/dist/src/components/Call/CallControls/AcceptCallButton.js.map +0 -1
  704. package/dist/src/components/Call/CallControls/CallControls.d.ts +0 -16
  705. package/dist/src/components/Call/CallControls/CallControls.js +0 -34
  706. package/dist/src/components/Call/CallControls/CallControls.js.map +0 -1
  707. package/dist/src/components/Call/CallControls/CallControlsButton.d.ts +0 -36
  708. package/dist/src/components/Call/CallControls/CallControlsButton.js +0 -48
  709. package/dist/src/components/Call/CallControls/CallControlsButton.js.map +0 -1
  710. package/dist/src/components/Call/CallControls/ChatButton.d.ts +0 -20
  711. package/dist/src/components/Call/CallControls/ChatButton.js +0 -45
  712. package/dist/src/components/Call/CallControls/ChatButton.js.map +0 -1
  713. package/dist/src/components/Call/CallControls/HangupCallButton.d.ts +0 -22
  714. package/dist/src/components/Call/CallControls/HangupCallButton.js +0 -47
  715. package/dist/src/components/Call/CallControls/HangupCallButton.js.map +0 -1
  716. package/dist/src/components/Call/CallControls/IncomingCallControls.d.ts +0 -14
  717. package/dist/src/components/Call/CallControls/IncomingCallControls.js +0 -21
  718. package/dist/src/components/Call/CallControls/IncomingCallControls.js.map +0 -1
  719. package/dist/src/components/Call/CallControls/LobbyControls.d.ts +0 -4
  720. package/dist/src/components/Call/CallControls/LobbyControls.js +0 -22
  721. package/dist/src/components/Call/CallControls/LobbyControls.js.map +0 -1
  722. package/dist/src/components/Call/CallControls/OutgoingCallControls.d.ts +0 -10
  723. package/dist/src/components/Call/CallControls/OutgoingCallControls.js +0 -25
  724. package/dist/src/components/Call/CallControls/OutgoingCallControls.js.map +0 -1
  725. package/dist/src/components/Call/CallControls/ReactionButton.d.ts +0 -14
  726. package/dist/src/components/Call/CallControls/ReactionButton.js +0 -47
  727. package/dist/src/components/Call/CallControls/ReactionButton.js.map +0 -1
  728. package/dist/src/components/Call/CallControls/RejectCallButton.d.ts +0 -23
  729. package/dist/src/components/Call/CallControls/RejectCallButton.js +0 -41
  730. package/dist/src/components/Call/CallControls/RejectCallButton.js.map +0 -1
  731. package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.d.ts +0 -14
  732. package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js +0 -30
  733. package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js.map +0 -1
  734. package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.d.ts +0 -14
  735. package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js +0 -25
  736. package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js.map +0 -1
  737. package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.d.ts +0 -14
  738. package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js +0 -26
  739. package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js.map +0 -1
  740. package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.d.ts +0 -14
  741. package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js +0 -30
  742. package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js.map +0 -1
  743. package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.d.ts +0 -14
  744. package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js +0 -25
  745. package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js.map +0 -1
  746. package/dist/src/components/Call/CallControls/index.d.ts +0 -14
  747. package/dist/src/components/Call/CallControls/index.js.map +0 -1
  748. package/dist/src/components/Call/CallControls/internal/ReactionsPicker.d.ts +0 -9
  749. package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js +0 -134
  750. package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js.map +0 -1
  751. package/dist/src/components/Call/CallLayout/CallParticipantsGrid.d.ts +0 -19
  752. package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js +0 -45
  753. package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js.map +0 -1
  754. package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +0 -16
  755. package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js +0 -76
  756. package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js.map +0 -1
  757. package/dist/src/components/Call/CallLayout/index.d.ts +0 -2
  758. package/dist/src/components/Call/CallLayout/index.js.map +0 -1
  759. package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.d.ts +0 -34
  760. package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js +0 -157
  761. package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js.map +0 -1
  762. package/dist/src/components/Call/CallParticipantsList/index.d.ts +0 -1
  763. package/dist/src/components/Call/CallParticipantsList/index.js.map +0 -1
  764. package/dist/src/components/Call/CallTopView/CallTopView.d.ts +0 -28
  765. package/dist/src/components/Call/CallTopView/CallTopView.js +0 -73
  766. package/dist/src/components/Call/CallTopView/CallTopView.js.map +0 -1
  767. package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -10
  768. package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -77
  769. package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
  770. package/dist/src/components/Call/CallTopView/index.d.ts +0 -2
  771. package/dist/src/components/Call/CallTopView/index.js.map +0 -1
  772. package/dist/src/components/Call/Lobby/JoinCallButton.d.ts +0 -11
  773. package/dist/src/components/Call/Lobby/JoinCallButton.js +0 -51
  774. package/dist/src/components/Call/Lobby/JoinCallButton.js.map +0 -1
  775. package/dist/src/components/Call/Lobby/Lobby.d.ts +0 -23
  776. package/dist/src/components/Call/Lobby/Lobby.js +0 -149
  777. package/dist/src/components/Call/Lobby/Lobby.js.map +0 -1
  778. package/dist/src/components/Call/Lobby/index.d.ts +0 -2
  779. package/dist/src/components/Call/Lobby/index.js.map +0 -1
  780. package/dist/src/components/Call/RingingCallContent/IncomingCall.d.ts +0 -39
  781. package/dist/src/components/Call/RingingCallContent/IncomingCall.js +0 -72
  782. package/dist/src/components/Call/RingingCallContent/IncomingCall.js.map +0 -1
  783. package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.d.ts +0 -1
  784. package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js +0 -18
  785. package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js.map +0 -1
  786. package/dist/src/components/Call/RingingCallContent/OutgoingCall.d.ts +0 -21
  787. package/dist/src/components/Call/RingingCallContent/OutgoingCall.js +0 -81
  788. package/dist/src/components/Call/RingingCallContent/OutgoingCall.js.map +0 -1
  789. package/dist/src/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -34
  790. package/dist/src/components/Call/RingingCallContent/RingingCallContent.js +0 -41
  791. package/dist/src/components/Call/RingingCallContent/RingingCallContent.js.map +0 -1
  792. package/dist/src/components/Call/RingingCallContent/UserInfo.d.ts +0 -13
  793. package/dist/src/components/Call/RingingCallContent/UserInfo.js +0 -82
  794. package/dist/src/components/Call/RingingCallContent/UserInfo.js.map +0 -1
  795. package/dist/src/components/Call/RingingCallContent/index.d.ts +0 -3
  796. package/dist/src/components/Call/RingingCallContent/index.js.map +0 -1
  797. package/dist/src/components/Call/index.d.ts +0 -7
  798. package/dist/src/components/Call/index.js.map +0 -1
  799. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +0 -3
  800. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +0 -145
  801. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +0 -1
  802. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +0 -4
  803. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +0 -126
  804. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +0 -1
  805. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +0 -38
  806. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -59
  807. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js.map +0 -1
  808. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +0 -4
  809. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -6
  810. package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js.map +0 -1
  811. package/dist/src/components/Participant/FloatingParticipantView/index.d.ts +0 -31
  812. package/dist/src/components/Participant/FloatingParticipantView/index.js +0 -95
  813. package/dist/src/components/Participant/FloatingParticipantView/index.js.map +0 -1
  814. package/dist/src/components/Participant/ParticipantView/ParticipantLabel.d.ts +0 -9
  815. package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js +0 -113
  816. package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js.map +0 -1
  817. package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +0 -6
  818. package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +0 -51
  819. package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +0 -1
  820. package/dist/src/components/Participant/ParticipantView/ParticipantReaction.d.ts +0 -16
  821. package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js +0 -55
  822. package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js.map +0 -1
  823. package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +0 -9
  824. package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js +0 -38
  825. package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +0 -1
  826. package/dist/src/components/Participant/ParticipantView/ParticipantView.d.ts +0 -69
  827. package/dist/src/components/Participant/ParticipantView/ParticipantView.js +0 -51
  828. package/dist/src/components/Participant/ParticipantView/ParticipantView.js.map +0 -1
  829. package/dist/src/components/Participant/ParticipantView/VideoRenderer.d.ts +0 -11
  830. package/dist/src/components/Participant/ParticipantView/VideoRenderer.js +0 -148
  831. package/dist/src/components/Participant/ParticipantView/VideoRenderer.js.map +0 -1
  832. package/dist/src/components/Participant/ParticipantView/index.d.ts +0 -6
  833. package/dist/src/components/Participant/ParticipantView/index.js.map +0 -1
  834. package/dist/src/components/Participant/index.d.ts +0 -2
  835. package/dist/src/components/Participant/index.js.map +0 -1
  836. package/dist/src/components/index.d.ts +0 -3
  837. package/dist/src/components/index.js.map +0 -1
  838. package/dist/src/components/utility/Avatar.d.ts +0 -42
  839. package/dist/src/components/utility/Avatar.js +0 -50
  840. package/dist/src/components/utility/Avatar.js.map +0 -1
  841. package/dist/src/components/utility/index.d.ts +0 -1
  842. package/dist/src/components/utility/index.js.map +0 -1
  843. package/dist/src/constants/TestIds.d.ts +0 -25
  844. package/dist/src/constants/TestIds.js +0 -30
  845. package/dist/src/constants/TestIds.js.map +0 -1
  846. package/dist/src/constants/index.d.ts +0 -13
  847. package/dist/src/constants/index.js +0 -32
  848. package/dist/src/constants/index.js.map +0 -1
  849. package/dist/src/contexts/StreamVideoContext.d.ts +0 -19
  850. package/dist/src/contexts/StreamVideoContext.js +0 -82
  851. package/dist/src/contexts/StreamVideoContext.js.map +0 -1
  852. package/dist/src/contexts/ThemeContext.d.ts +0 -22
  853. package/dist/src/contexts/ThemeContext.js +0 -33
  854. package/dist/src/contexts/ThemeContext.js.map +0 -1
  855. package/dist/src/contexts/index.d.ts +0 -2
  856. package/dist/src/contexts/index.js.map +0 -1
  857. package/dist/src/hooks/index.d.ts +0 -5
  858. package/dist/src/hooks/index.js.map +0 -1
  859. package/dist/src/hooks/internal/useCallMediaStreamCleanup.d.ts +0 -5
  860. package/dist/src/hooks/internal/useCallMediaStreamCleanup.js +0 -25
  861. package/dist/src/hooks/internal/useCallMediaStreamCleanup.js.map +0 -1
  862. package/dist/src/hooks/push/index.d.ts +0 -5
  863. package/dist/src/hooks/push/index.js +0 -15
  864. package/dist/src/hooks/push/index.js.map +0 -1
  865. package/dist/src/hooks/push/useInitAndroidTokenAndRest.d.ts +0 -4
  866. package/dist/src/hooks/push/useInitAndroidTokenAndRest.js +0 -20
  867. package/dist/src/hooks/push/useInitAndroidTokenAndRest.js.map +0 -1
  868. package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.d.ts +0 -4
  869. package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -46
  870. package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js.map +0 -1
  871. package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts +0 -4
  872. package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -116
  873. package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +0 -1
  874. package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.d.ts +0 -5
  875. package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -78
  876. package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js.map +0 -1
  877. package/dist/src/hooks/push/useProcessPushCallEffect.d.ts +0 -7
  878. package/dist/src/hooks/push/useProcessPushCallEffect.js +0 -58
  879. package/dist/src/hooks/push/useProcessPushCallEffect.js.map +0 -1
  880. package/dist/src/hooks/useAndroidKeepCallAliveEffect.d.ts +0 -6
  881. package/dist/src/hooks/useAndroidKeepCallAliveEffect.js +0 -102
  882. package/dist/src/hooks/useAndroidKeepCallAliveEffect.js.map +0 -1
  883. package/dist/src/hooks/useIncallManager.d.ts +0 -13
  884. package/dist/src/hooks/useIncallManager.js +0 -17
  885. package/dist/src/hooks/useIncallManager.js.map +0 -1
  886. package/dist/src/hooks/usePermissionNotification.d.ts +0 -18
  887. package/dist/src/hooks/usePermissionNotification.js +0 -38
  888. package/dist/src/hooks/usePermissionNotification.js.map +0 -1
  889. package/dist/src/hooks/usePermissionRequest.d.ts +0 -1
  890. package/dist/src/hooks/usePermissionRequest.js +0 -60
  891. package/dist/src/hooks/usePermissionRequest.js.map +0 -1
  892. package/dist/src/icons/Back.d.ts +0 -6
  893. package/dist/src/icons/Back.js +0 -5
  894. package/dist/src/icons/Back.js.map +0 -1
  895. package/dist/src/icons/CameraSwitch.d.ts +0 -6
  896. package/dist/src/icons/CameraSwitch.js +0 -5
  897. package/dist/src/icons/CameraSwitch.js.map +0 -1
  898. package/dist/src/icons/Chat.d.ts +0 -6
  899. package/dist/src/icons/Chat.js +0 -5
  900. package/dist/src/icons/Chat.js.map +0 -1
  901. package/dist/src/icons/Mic.d.ts +0 -6
  902. package/dist/src/icons/Mic.js +0 -6
  903. package/dist/src/icons/Mic.js.map +0 -1
  904. package/dist/src/icons/MicOff.d.ts +0 -6
  905. package/dist/src/icons/MicOff.js +0 -5
  906. package/dist/src/icons/MicOff.js.map +0 -1
  907. package/dist/src/icons/Participants.d.ts +0 -6
  908. package/dist/src/icons/Participants.js +0 -5
  909. package/dist/src/icons/Participants.js.map +0 -1
  910. package/dist/src/icons/Phone.d.ts +0 -6
  911. package/dist/src/icons/Phone.js +0 -5
  912. package/dist/src/icons/Phone.js.map +0 -1
  913. package/dist/src/icons/PhoneDown.d.ts +0 -6
  914. package/dist/src/icons/PhoneDown.js +0 -6
  915. package/dist/src/icons/PhoneDown.js.map +0 -1
  916. package/dist/src/icons/PinVertical.d.ts +0 -6
  917. package/dist/src/icons/PinVertical.js +0 -5
  918. package/dist/src/icons/PinVertical.js.map +0 -1
  919. package/dist/src/icons/Reaction.d.ts +0 -6
  920. package/dist/src/icons/Reaction.js +0 -5
  921. package/dist/src/icons/Reaction.js.map +0 -1
  922. package/dist/src/icons/ScreenShare.d.ts +0 -6
  923. package/dist/src/icons/ScreenShare.js +0 -11
  924. package/dist/src/icons/ScreenShare.js.map +0 -1
  925. package/dist/src/icons/Settings.d.ts +0 -5
  926. package/dist/src/icons/Settings.js +0 -7
  927. package/dist/src/icons/Settings.js.map +0 -1
  928. package/dist/src/icons/Spotlight.d.ts +0 -6
  929. package/dist/src/icons/Spotlight.js +0 -5
  930. package/dist/src/icons/Spotlight.js.map +0 -1
  931. package/dist/src/icons/ThreeDots.d.ts +0 -5
  932. package/dist/src/icons/ThreeDots.js +0 -7
  933. package/dist/src/icons/ThreeDots.js.map +0 -1
  934. package/dist/src/icons/TopViewBackground.d.ts +0 -13
  935. package/dist/src/icons/TopViewBackground.js +0 -9
  936. package/dist/src/icons/TopViewBackground.js.map +0 -1
  937. package/dist/src/icons/Video.d.ts +0 -6
  938. package/dist/src/icons/Video.js +0 -5
  939. package/dist/src/icons/Video.js.map +0 -1
  940. package/dist/src/icons/VideoSlash.d.ts +0 -6
  941. package/dist/src/icons/VideoSlash.js +0 -6
  942. package/dist/src/icons/VideoSlash.js.map +0 -1
  943. package/dist/src/icons/index.d.ts +0 -16
  944. package/dist/src/icons/index.js.map +0 -1
  945. package/dist/src/providers/MediaDevices.d.ts +0 -9
  946. package/dist/src/providers/MediaDevices.js +0 -40
  947. package/dist/src/providers/MediaDevices.js.map +0 -1
  948. package/dist/src/providers/MediaStreamManagement.d.ts +0 -45
  949. package/dist/src/providers/MediaStreamManagement.js +0 -92
  950. package/dist/src/providers/MediaStreamManagement.js.map +0 -1
  951. package/dist/src/providers/StreamCall.d.ts +0 -22
  952. package/dist/src/providers/StreamCall.js +0 -36
  953. package/dist/src/providers/StreamCall.js.map +0 -1
  954. package/dist/src/providers/StreamVideo.d.ts +0 -14
  955. package/dist/src/providers/StreamVideo.js +0 -52
  956. package/dist/src/providers/StreamVideo.js.map +0 -1
  957. package/dist/src/providers/index.d.ts +0 -3
  958. package/dist/src/providers/index.js.map +0 -1
  959. package/dist/src/theme/colors.d.ts +0 -39
  960. package/dist/src/theme/colors.js +0 -46
  961. package/dist/src/theme/colors.js.map +0 -1
  962. package/dist/src/theme/constants.d.ts +0 -47
  963. package/dist/src/theme/constants.js +0 -51
  964. package/dist/src/theme/constants.js.map +0 -1
  965. package/dist/src/theme/index.d.ts +0 -3
  966. package/dist/src/theme/index.js +0 -7
  967. package/dist/src/theme/index.js.map +0 -1
  968. package/dist/src/theme/theme.d.ts +0 -195
  969. package/dist/src/theme/theme.js +0 -219
  970. package/dist/src/theme/theme.js.map +0 -1
  971. package/dist/src/theme/types.d.ts +0 -29
  972. package/dist/src/theme/types.js.map +0 -1
  973. package/dist/src/translations/en.json +0 -16
  974. package/dist/src/translations/index.d.ts +0 -18
  975. package/dist/src/translations/index.js +0 -3
  976. package/dist/src/translations/index.js.map +0 -1
  977. package/dist/src/utils/StreamVideoRN/index.d.ts +0 -37
  978. package/dist/src/utils/StreamVideoRN/index.js +0 -74
  979. package/dist/src/utils/StreamVideoRN/index.js.map +0 -1
  980. package/dist/src/utils/StreamVideoRN/permissions.d.ts +0 -5
  981. package/dist/src/utils/StreamVideoRN/permissions.js +0 -17
  982. package/dist/src/utils/StreamVideoRN/permissions.js.map +0 -1
  983. package/dist/src/utils/StreamVideoRN/types.d.ts +0 -94
  984. package/dist/src/utils/StreamVideoRN/types.js.map +0 -1
  985. package/dist/src/utils/hooks/index.d.ts +0 -3
  986. package/dist/src/utils/hooks/index.js.map +0 -1
  987. package/dist/src/utils/hooks/useAppStateListener.d.ts +0 -1
  988. package/dist/src/utils/hooks/useAppStateListener.js +0 -37
  989. package/dist/src/utils/hooks/useAppStateListener.js.map +0 -1
  990. package/dist/src/utils/hooks/useDebouncedValue.d.ts +0 -7
  991. package/dist/src/utils/hooks/useDebouncedValue.js +0 -18
  992. package/dist/src/utils/hooks/useDebouncedValue.js.map +0 -1
  993. package/dist/src/utils/hooks/usePrevious.d.ts +0 -1
  994. package/dist/src/utils/hooks/usePrevious.js +0 -9
  995. package/dist/src/utils/hooks/usePrevious.js.map +0 -1
  996. package/dist/src/utils/index.d.ts +0 -4
  997. package/dist/src/utils/index.js +0 -28
  998. package/dist/src/utils/index.js.map +0 -1
  999. package/dist/src/utils/internal/optionalLibs.d.ts +0 -5
  1000. package/dist/src/utils/internal/optionalLibs.js +0 -23
  1001. package/dist/src/utils/internal/optionalLibs.js.map +0 -1
  1002. package/dist/src/utils/push/android.d.ts +0 -8
  1003. package/dist/src/utils/push/android.js +0 -131
  1004. package/dist/src/utils/push/android.js.map +0 -1
  1005. package/dist/src/utils/push/ios.d.ts +0 -5
  1006. package/dist/src/utils/push/ios.js +0 -37
  1007. package/dist/src/utils/push/ios.js.map +0 -1
  1008. package/dist/src/utils/push/libs.d.ts +0 -9
  1009. package/dist/src/utils/push/libs.js +0 -34
  1010. package/dist/src/utils/push/libs.js.map +0 -1
  1011. package/dist/src/utils/push/rxSubjects.d.ts +0 -28
  1012. package/dist/src/utils/push/rxSubjects.js +0 -31
  1013. package/dist/src/utils/push/rxSubjects.js.map +0 -1
  1014. package/dist/src/utils/push/utils.d.ts +0 -13
  1015. package/dist/src/utils/push/utils.js +0 -48
  1016. package/dist/src/utils/push/utils.js.map +0 -1
  1017. package/dist/src/utils/setClientDetails.d.ts +0 -1
  1018. package/dist/src/utils/setClientDetails.js +0 -49
  1019. package/dist/src/utils/setClientDetails.js.map +0 -1
  1020. package/dist/version.d.ts +0 -1
  1021. package/dist/version.js +0 -2
  1022. package/dist/version.js.map +0 -1
  1023. package/expo-config-plugin/dist/index.js.map +0 -1
  1024. package/expo-config-plugin/dist/withAndroidManifest.js.map +0 -1
  1025. package/expo-config-plugin/dist/withAndroidPermissions.js.map +0 -1
  1026. package/expo-config-plugin/dist/withAppDelegate.js.map +0 -1
  1027. package/expo-config-plugin/dist/withMainApplication.js.map +0 -1
  1028. package/expo-config-plugin/dist/withiOSInfoPlist.js.map +0 -1
  1029. package/index.ts +0 -41
  1030. package/src/providers/MediaDevices.tsx +0 -59
  1031. package/src/utils/StreamVideoRN/permissions.ts +0 -25
  1032. /package/dist/{src → module}/components/Call/CallContent/index.js +0 -0
  1033. /package/dist/{src → module}/components/Call/CallControls/index.js +0 -0
  1034. /package/dist/{src → module}/components/Call/CallLayout/index.js +0 -0
  1035. /package/dist/{src → module}/components/Call/CallParticipantsList/index.js +0 -0
  1036. /package/dist/{src → module}/components/Call/CallTopView/index.js +0 -0
  1037. /package/dist/{src → module}/components/Call/Lobby/index.js +0 -0
  1038. /package/dist/{src → module}/components/Call/RingingCallContent/index.js +0 -0
  1039. /package/dist/{src → module}/components/Call/index.js +0 -0
  1040. /package/dist/{src → module}/components/Participant/ParticipantView/index.js +0 -0
  1041. /package/dist/{src → module}/components/Participant/index.js +0 -0
  1042. /package/dist/{src → module}/components/index.js +0 -0
  1043. /package/dist/{src → module}/components/utility/index.js +0 -0
  1044. /package/dist/{src → module}/contexts/index.js +0 -0
  1045. /package/dist/{src → module}/hooks/index.js +0 -0
  1046. /package/dist/{src → module}/icons/index.js +0 -0
  1047. /package/dist/{src → module}/providers/index.js +0 -0
  1048. /package/dist/{src → module}/theme/types.js +0 -0
  1049. /package/dist/{src → module}/utils/StreamVideoRN/types.js +0 -0
  1050. /package/dist/{src → module}/utils/hooks/index.js +0 -0
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { StyleSheet, View } from 'react-native';
3
- import { useCallStateHooks } from '@stream-io/video-react-bindings';
4
- import { useDebouncedValue } from '../../../utils/hooks/useDebouncedValue';
5
- import { CallParticipantsList as DefaultCallParticipantsList, } from '../CallParticipantsList/CallParticipantsList';
6
- import { ComponentTestIds } from '../../../constants/TestIds';
7
- import { useTheme } from '../../../contexts/ThemeContext';
8
- /**
9
- * Component used to display the list of participants in a grid mode.
10
- */
11
- export const CallParticipantsGrid = ({ CallParticipantsList = DefaultCallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, showLocalParticipant = false, }) => {
12
- const { theme: { colors, callParticipantsGrid }, } = useTheme();
13
- const { useRemoteParticipants, useParticipants, useLocalParticipant } = useCallStateHooks();
14
- const _remoteParticipants = useRemoteParticipants();
15
- const localParticipant = useLocalParticipant();
16
- const _allParticipants = useParticipants();
17
- // we debounce the participants arrays to avoid unnecessary rerenders that happen when participant tracks are all subscribed simultaneously
18
- const remoteParticipants = useDebouncedValue(_remoteParticipants, 300);
19
- const allParticipants = useDebouncedValue(_allParticipants, 300);
20
- const showFloatingView = remoteParticipants.length > 0 && remoteParticipants.length < 3;
21
- const participants = showFloatingView
22
- ? showLocalParticipant && localParticipant
23
- ? [localParticipant]
24
- : remoteParticipants
25
- : allParticipants;
26
- const participantViewProps = {
27
- ParticipantView,
28
- ParticipantLabel,
29
- ParticipantNetworkQualityIndicator,
30
- ParticipantReaction,
31
- ParticipantVideoFallback,
32
- VideoRenderer,
33
- };
34
- return (React.createElement(View, { style: [
35
- styles.container,
36
- { backgroundColor: colors.dark_gray },
37
- callParticipantsGrid.container,
38
- ], testID: ComponentTestIds.CALL_PARTICIPANTS_GRID }, CallParticipantsList && (React.createElement(CallParticipantsList, { participants: participants, ...participantViewProps }))));
39
- };
40
- const styles = StyleSheet.create({
41
- container: {
42
- flex: 1,
43
- },
44
- });
45
- //# sourceMappingURL=CallParticipantsGrid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CallParticipantsGrid.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EACL,oBAAoB,IAAI,2BAA2B,GAGpD,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAgB1D;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,oBAAoB,GAAG,2BAA2B,EAClD,gBAAgB,EAChB,kCAAkC,EAClC,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,aAAa,EACb,oBAAoB,GAAG,KAAK,GACF,EAAE,EAAE;IAC9B,MAAM,EACJ,KAAK,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,GACxC,GAAG,QAAQ,EAAE,CAAC;IACf,MAAM,EAAE,qBAAqB,EAAE,eAAe,EAAE,mBAAmB,EAAE,GACnE,iBAAiB,EAAE,CAAC;IACtB,MAAM,mBAAmB,GAAG,qBAAqB,EAAE,CAAC;IACpD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,gBAAgB,GAAG,eAAe,EAAE,CAAC;IAC3C,2IAA2I;IAC3I,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,mBAAmB,EAAE,GAAG,CAAC,CAAC;IACvE,MAAM,eAAe,GAAG,iBAAiB,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;IAEjE,MAAM,gBAAgB,GACpB,kBAAkB,CAAC,MAAM,GAAG,CAAC,IAAI,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC;IAEjE,MAAM,YAAY,GAAG,gBAAgB;QACnC,CAAC,CAAC,oBAAoB,IAAI,gBAAgB;YACxC,CAAC,CAAC,CAAC,gBAAgB,CAAC;YACpB,CAAC,CAAC,kBAAkB;QACtB,CAAC,CAAC,eAAe,CAAC;IAEpB,MAAM,oBAAoB,GAAuC;QAC/D,eAAe;QACf,gBAAgB;QAChB,kCAAkC;QAClC,mBAAmB;QACnB,wBAAwB;QACxB,aAAa;KACd,CAAC;IAEF,OAAO,CACL,oBAAC,IAAI,IACH,KAAK,EAAE;YACL,MAAM,CAAC,SAAS;YAChB,EAAE,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE;YACrC,oBAAoB,CAAC,SAAS;SAC/B,EACD,MAAM,EAAE,gBAAgB,CAAC,sBAAsB,IAE9C,oBAAoB,IAAI,CACvB,oBAAC,oBAAoB,IACnB,YAAY,EAAE,YAAY,KACtB,oBAAoB,GACxB,CACH,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC"}
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { CallParticipantsListComponentProps, CallParticipantsListProps } from '../CallParticipantsList/CallParticipantsList';
3
- /**
4
- * Props for the CallParticipantsSpotlight component.
5
- */
6
- export type CallParticipantsSpotlightProps = CallParticipantsListComponentProps & {
7
- /**
8
- * Component to customize the CallParticipantsList.
9
- */
10
- CallParticipantsList?: React.ComponentType<CallParticipantsListProps> | null;
11
- };
12
- /**
13
- * Component used to display the list of participants in a spotlight mode.
14
- * This can be used when you want to render the screen sharing stream.
15
- */
16
- export declare const CallParticipantsSpotlight: ({ CallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, }: CallParticipantsSpotlightProps) => JSX.Element;
@@ -1,76 +0,0 @@
1
- import React from 'react';
2
- import { SfuModels, speakerLayoutSortPreset, } from '@stream-io/video-client';
3
- import { useCallStateHooks } from '@stream-io/video-react-bindings';
4
- import { StyleSheet, View } from 'react-native';
5
- import { useDebouncedValue } from '../../../utils/hooks/useDebouncedValue';
6
- import { ComponentTestIds } from '../../../constants/TestIds';
7
- import { CallParticipantsList as DefaultCallParticipantsList, } from '../CallParticipantsList/CallParticipantsList';
8
- import { ParticipantView as DefaultParticipantView, } from '../../Participant';
9
- import { useTheme } from '../../../contexts/ThemeContext';
10
- const hasScreenShare = (p) => p.publishedTracks.includes(SfuModels.TrackType.SCREEN_SHARE);
11
- /**
12
- * Component used to display the list of participants in a spotlight mode.
13
- * This can be used when you want to render the screen sharing stream.
14
- */
15
- export const CallParticipantsSpotlight = ({ CallParticipantsList = DefaultCallParticipantsList, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView = DefaultParticipantView, VideoRenderer, }) => {
16
- const { theme: { colors, callParticipantsSpotlight }, } = useTheme();
17
- const { useParticipants } = useCallStateHooks();
18
- const _allParticipants = useParticipants({
19
- sortBy: speakerLayoutSortPreset,
20
- });
21
- const allParticipants = useDebouncedValue(_allParticipants, 300); // we debounce the participants to avoid unnecessary rerenders that happen when participant tracks are all subscribed simultaneously
22
- const [participantInSpotlight, ...otherParticipants] = allParticipants;
23
- const isScreenShareOnSpotlight = hasScreenShare(participantInSpotlight);
24
- const isUserAloneInCall = _allParticipants?.length === 1;
25
- const participantViewProps = {
26
- ParticipantLabel,
27
- ParticipantNetworkQualityIndicator,
28
- ParticipantReaction,
29
- ParticipantVideoFallback,
30
- VideoRenderer,
31
- };
32
- const callParticipantsListProps = {
33
- ...participantViewProps,
34
- ParticipantView,
35
- };
36
- return (React.createElement(View, { testID: ComponentTestIds.CALL_PARTICIPANTS_SPOTLIGHT, style: [
37
- styles.container,
38
- {
39
- backgroundColor: colors.dark_gray,
40
- },
41
- callParticipantsSpotlight.container,
42
- ] },
43
- participantInSpotlight && ParticipantView && (React.createElement(ParticipantView, { participant: participantInSpotlight, style: isUserAloneInCall
44
- ? [
45
- styles.fullScreenSpotlightContainer,
46
- callParticipantsSpotlight.fullScreenSpotlightContainer,
47
- ]
48
- : [
49
- styles.spotlightContainer,
50
- callParticipantsSpotlight.spotlightContainer,
51
- ], trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack', ...participantViewProps })),
52
- !isUserAloneInCall && (React.createElement(View, { style: [
53
- styles.callParticipantsListContainer,
54
- callParticipantsSpotlight.callParticipantsListContainer,
55
- ] }, CallParticipantsList && (React.createElement(CallParticipantsList, { participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants, horizontal: true, ...callParticipantsListProps }))))));
56
- };
57
- const styles = StyleSheet.create({
58
- container: {
59
- flex: 1,
60
- paddingVertical: 8,
61
- },
62
- fullScreenSpotlightContainer: {
63
- flex: 1,
64
- },
65
- spotlightContainer: {
66
- flex: 2,
67
- overflow: 'hidden',
68
- borderRadius: 10,
69
- marginHorizontal: 8,
70
- marginBottom: 8,
71
- },
72
- callParticipantsListContainer: {
73
- flex: 1,
74
- },
75
- });
76
- //# sourceMappingURL=CallParticipantsSpotlight.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CallParticipantsSpotlight.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"names":[],"mappings":"AAAA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AC;IAC/B,SAAS,EAAE;QACT,IAAI,EAAE,CAAC;QACP,eAAe,EAAE,CAAC;KACnB;IACD,4BAA4B,EAAE;QAC5B,IAAI,EAAE,CAAC;KACR;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,EAAE;QAChB,gBAAgB,EAAE,CAAC;QACnB,YAAY,EAAE,CAAC;KAChB;IACD,6BAA6B,EAAE;QAC7B,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './CallParticipantsGrid';
2
- export * from './CallParticipantsSpotlight';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
- import { StreamVideoLocalParticipant, StreamVideoParticipant } from '@stream-io/video-client';
3
- import { ParticipantViewComponentProps, ParticipantViewProps } from '../../Participant/ParticipantView';
4
- export type CallParticipantsListComponentProps = ParticipantViewComponentProps & {
5
- /**
6
- * Component to customize the participant view.
7
- */
8
- ParticipantView?: React.ComponentType<ParticipantViewProps> | null;
9
- };
10
- /**
11
- * Props of the CallParticipantsList component
12
- */
13
- export type CallParticipantsListProps = CallParticipantsListComponentProps & {
14
- /**
15
- * The list of participants to display in the list
16
- */
17
- participants: (StreamVideoParticipant | StreamVideoLocalParticipant)[];
18
- /**
19
- * The number of columns to display in the list of participants while in vertical or horizontal scrolling mode. This property is only used when there are more than 2 participants.
20
- * @default 2
21
- */
22
- numberOfColumns?: number;
23
- /**
24
- * If true, the list will be displayed in horizontal scrolling mode
25
- */
26
- horizontal?: boolean;
27
- };
28
- /**
29
- * This component displays a list of participants in a FlatList.
30
- * You can use this component to display participants either in a vertical or horizontal scrolling mode.
31
- * NOTE: this component depends on a flex container to calculate the width and height of the participant view,
32
- * hence it should be used only in a flex parent container
33
- */
34
- export declare const CallParticipantsList: ({ numberOfColumns, horizontal, participants, ParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, }: CallParticipantsListProps) => JSX.Element;
@@ -1,157 +0,0 @@
1
- import React, { useCallback, useMemo, useReducer, useRef, useState, } from 'react';
2
- import { FlatList, StyleSheet } from 'react-native';
3
- import { VisibilityState, } from '@stream-io/video-client';
4
- import { useDebouncedValue } from '../../../utils/hooks/useDebouncedValue';
5
- import { useCall } from '@stream-io/video-react-bindings';
6
- import { ComponentTestIds } from '../../../constants/TestIds';
7
- import { ParticipantView as DefaultParticipantView, } from '../../Participant/ParticipantView';
8
- const VIEWABILITY_CONFIG = {
9
- waitForInteraction: false,
10
- itemVisiblePercentThreshold: 60,
11
- };
12
- /**
13
- * This component displays a list of participants in a FlatList.
14
- * You can use this component to display participants either in a vertical or horizontal scrolling mode.
15
- * NOTE: this component depends on a flex container to calculate the width and height of the participant view,
16
- * hence it should be used only in a flex parent container
17
- */
18
- export const CallParticipantsList = ({ numberOfColumns = 2, horizontal, participants, ParticipantView = DefaultParticipantView, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer, }) => {
19
- const [containerLayout, setContainerLayout] = useState({
20
- width: 0,
21
- height: 0,
22
- });
23
- // we use a HashSet to track the currently viewable participants
24
- // and a separate force update state to rerender the component to inform that the HashSet has changed
25
- // NOTE: we use set instead of array or object for O(1) lookup, add and delete
26
- const viewableParticipantSessionIds = useRef(new Set());
27
- const [_forceUpdateValue, forceUpdate] = useReducer((x) => x + 1, 0);
28
- const forceUpdateValue = useDebouncedValue(_forceUpdateValue, 500); // we debounce forced value to avoid multiple viewability change continuous rerenders due to callbacks that occurs simultaneously during a large list scroll or when scrolling is completed
29
- // we use a ref to store the active call object
30
- // so that it can be used in the onViewableItemsChanged callback
31
- const activeCall = useCall();
32
- const activeCallRef = useRef(activeCall);
33
- activeCallRef.current = activeCall;
34
- // This is the function that gets called when the user scrolls the list of participants.
35
- // It updates viewableParticipantSessionIds HashSet with the session IDs
36
- // of the participants that are currently visible.
37
- const onViewableItemsChanged = useRef(({ viewableItems }) => {
38
- const participantPatches = {};
39
- let mustUpdate = false;
40
- const newVisibleParticipantSessionIds = new Set(viewableItems.map((v) => v.key));
41
- const oldVisibleParticipantSessionIds = viewableParticipantSessionIds.current;
42
- newVisibleParticipantSessionIds.forEach((key) => {
43
- if (!oldVisibleParticipantSessionIds.has(key)) {
44
- mustUpdate = true;
45
- participantPatches[key] = {
46
- viewportVisibilityState: {
47
- videoTrack: VisibilityState.VISIBLE,
48
- screenShareTrack: VisibilityState.UNKNOWN,
49
- },
50
- };
51
- }
52
- });
53
- oldVisibleParticipantSessionIds.forEach((key) => {
54
- if (!newVisibleParticipantSessionIds.has(key)) {
55
- mustUpdate = true;
56
- participantPatches[key] = {
57
- viewportVisibilityState: {
58
- videoTrack: VisibilityState.VISIBLE,
59
- screenShareTrack: VisibilityState.UNKNOWN,
60
- },
61
- };
62
- }
63
- });
64
- viewableParticipantSessionIds.current = newVisibleParticipantSessionIds;
65
- if (mustUpdate) {
66
- activeCallRef.current?.state.updateParticipants(participantPatches);
67
- forceUpdate();
68
- }
69
- }).current;
70
- // NOTE: key must be sessionId always as it is used to track viewable participants
71
- const keyExtractor = useRef((item) => item.sessionId).current;
72
- const onLayout = useRef((event) => {
73
- const { height, width } = event.nativeEvent.layout;
74
- setContainerLayout((prev) => {
75
- if (prev.height === height && prev.width === width) {
76
- return prev;
77
- }
78
- return { height, width };
79
- });
80
- }).current;
81
- const { itemHeight, itemWidth } = calculateParticipantViewSize({
82
- containerHeight: containerLayout.height,
83
- containerWidth: containerLayout.width,
84
- participantsLength: participants.length,
85
- numberOfColumns,
86
- horizontal,
87
- });
88
- const itemContainerStyle = useMemo(() => {
89
- const style = { width: itemWidth, height: itemHeight };
90
- if (horizontal) {
91
- return [styles.participantWrapperHorizontal, style];
92
- }
93
- return style;
94
- }, [itemWidth, itemHeight, horizontal]);
95
- const participantProps = {
96
- ParticipantLabel,
97
- ParticipantNetworkQualityIndicator,
98
- ParticipantReaction,
99
- ParticipantVideoFallback,
100
- VideoRenderer,
101
- };
102
- const renderItem = useCallback(({ item: participant }) => {
103
- const isVisible = viewableParticipantSessionIds.current.has(participant.sessionId);
104
- return (React.createElement(React.Fragment, null, ParticipantView && (React.createElement(ParticipantView, { participant: participant, style: itemContainerStyle, trackType: "videoTrack", isVisible: isVisible, ...participantProps }))));
105
- },
106
- // eslint-disable-next-line react-hooks/exhaustive-deps
107
- [itemContainerStyle]);
108
- // in vertical mode, only when there are more than 2 participants in a call, the participants should be displayed in a grid
109
- // else we display them both in a stretched row on the screen
110
- const shouldWrapByColumns = !!horizontal || participants.length > 2;
111
- if (!shouldWrapByColumns) {
112
- return (React.createElement(React.Fragment, null, participants.map((participant, index) => {
113
- return (ParticipantView && (React.createElement(ParticipantView, { participant: participant, style: styles.flexed, trackType: "videoTrack", key: keyExtractor(participant, index), ...participantProps })));
114
- })));
115
- }
116
- return (React.createElement(FlatList, { onLayout: onLayout, key: !horizontal ? numberOfColumns : undefined, data: participants, keyExtractor: keyExtractor, viewabilityConfig: VIEWABILITY_CONFIG, onViewableItemsChanged: onViewableItemsChanged, renderItem: renderItem, numColumns: !horizontal ? numberOfColumns : undefined, horizontal: horizontal, showsHorizontalScrollIndicator: false, extraData: `${forceUpdateValue}`, testID: ComponentTestIds.CALL_PARTICIPANTS_LIST }));
117
- };
118
- const styles = StyleSheet.create({
119
- flexed: {
120
- flex: 1,
121
- },
122
- participantWrapperHorizontal: {
123
- // note: if marginHorizontal is changed, be sure to change the width calculation in calculateParticipantViewSize function
124
- marginHorizontal: 8,
125
- borderRadius: 10,
126
- },
127
- });
128
- /**
129
- * This function calculates the size of the participant view based on the size of the container (the phone's screen size) and the number of participants.
130
- * @param {number} containerHeight - height of the container (the phone's screen height) in pixels
131
- * @param {number} containerWidth - width of the container (the phone's screen width) in pixels
132
- * @param {number} participantsLength - number of participants
133
- * @param {number} numColumns - number of columns
134
- * @param {boolean} horizontal - whether the participant view is in horizontal mode
135
- * @returns {object} - an object containing the height and width of the participant view
136
- */
137
- function calculateParticipantViewSize({ containerHeight, containerWidth, participantsLength, numberOfColumns, horizontal, }) {
138
- let itemHeight = containerHeight;
139
- // in vertical mode, we calculate the height of the participant view based on the containerHeight (aka the phone's screen height)
140
- if (!horizontal) {
141
- if (participantsLength <= 4) {
142
- // special case: if there are 4 or less participants, we display them in 2 rows
143
- itemHeight = containerHeight / 2;
144
- }
145
- else {
146
- // generally, we display the participants in 3 rows
147
- itemHeight = containerHeight / 3;
148
- }
149
- }
150
- let itemWidth = containerWidth / numberOfColumns;
151
- if (horizontal) {
152
- // in horizontal mode we apply margin of 8 to the participant view and that should be subtracted from the width
153
- itemWidth = itemWidth - 8 * 2;
154
- }
155
- return { itemHeight, itemWidth };
156
- }
157
- //# sourceMappingURL=CallParticipantsList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CallParticipantsList.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallParticipantsList/CallParticipantsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,WAAW,EACX,OAAO,EACP,UAAU,EACV,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAa,UAAU,EAAa,MAAM,cAAc,CAAC;AAE1E,OAAO,EAIL,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EACL,eAAe,IAAI,sBAAsB,GAG1C,MAAM,mCAAmC,CAAC;AAM3C,MAAM,kBAAkB,GAAuC;IAC7D,kBAAkB,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H;QACzH,gBAAgB,EAAE,CAAC;QACnB,YAAY,EAAE,EAAE;KACjB;CACF,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,SAAS,4BAA4B,CAAC,EACpC,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,UAAU,GAOX;IACC,IAAI,UAAU,GAAG,eAAe,CAAC;IACjC,iIAAiI;IACjI,IAAI,CAAC,UAAU,EAAE;QACf,IAAI,kBAAkB,IAAI,CAAC,EAAE;YAC3B,+EAA+E;YAC/E,UAAU,GAAG,eAAe,GAAG,CAAC,CAAC;SAClC;aAAM;YACL,mDAAmD;YACnD,UAAU,GAAG,eAAe,GAAG,CAAC,CAAC;SAClC;KACF;IAED,IAAI,SAAS,GAAG,cAAc,GAAG,eAAe,CAAC;IACjD,IAAI,UAAU,EAAE;QACd,+GAA+G;QAC/G,SAAS,GAAG,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;KAC/B;IAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;AACnC,CAAC"}
@@ -1 +0,0 @@
1
- export * from './CallParticipantsList';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallParticipantsList/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { ParticipantsInfoBadgeProps } from './ParticipantsInfoBadge';
4
- export type CallTopViewProps = {
5
- /**
6
- * Handler to be called when the back button is pressed in the CallTopView.
7
- * @returns void
8
- */
9
- onBackPressed?: () => void;
10
- /**
11
- * Handler to be called when the Participant icon is pressed in the CallTopView.
12
- * @returns
13
- */
14
- onParticipantInfoPress?: () => void;
15
- /**
16
- * Title to be rendered at the center of the Header.
17
- */
18
- title?: string;
19
- /**
20
- * Style to override the container of the CallTopView.
21
- */
22
- style?: StyleProp<ViewStyle>;
23
- /**
24
- * Component to customize the ParticipantInfoBadge of the CallTopView.
25
- */
26
- ParticipantsInfoBadge?: React.ComponentType<ParticipantsInfoBadgeProps> | null;
27
- };
28
- export declare const CallTopView: ({ onBackPressed, onParticipantInfoPress, title, style: styleProp, ParticipantsInfoBadge, }: CallTopViewProps) => JSX.Element;
@@ -1,73 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { View, StyleSheet, Text, Pressable, } from 'react-native';
3
- import { ParticipantsInfoBadge as DefaultParticipantsInfoBadge, } from './ParticipantsInfoBadge';
4
- import { Back } from '../../../icons/Back';
5
- import { TopViewBackground } from '../../../icons';
6
- import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
7
- import { CallingState } from '@stream-io/video-client';
8
- import { useTheme } from '../../../contexts/ThemeContext';
9
- export const CallTopView = ({ onBackPressed, onParticipantInfoPress, title, style: styleProp, ParticipantsInfoBadge = DefaultParticipantsInfoBadge, }) => {
10
- const [callTopViewHeight, setCallTopViewHeight] = useState(0);
11
- const { theme: { colors, typefaces, variants: { iconSizes }, callTopView, }, } = useTheme();
12
- const { useCallCallingState } = useCallStateHooks();
13
- const callingState = useCallCallingState();
14
- const { t } = useI18n();
15
- const isCallReconnecting = callingState === CallingState.RECONNECTING;
16
- const onLayout = (event) => {
17
- const { height } = event.nativeEvent.layout;
18
- if (setCallTopViewHeight) {
19
- setCallTopViewHeight(height);
20
- }
21
- };
22
- return (React.createElement(View, { style: [styleProp, callTopView.container] },
23
- React.createElement(TopViewBackground, { height: callTopViewHeight, width: '100%' }),
24
- React.createElement(View, { style: [styles.content, callTopView.content], onLayout: onLayout },
25
- React.createElement(View, { style: styles.leftElement }, onBackPressed && (React.createElement(Pressable, { style: ({ pressed }) => [
26
- styles.backIconContainer,
27
- {
28
- opacity: pressed ? 0.2 : 1,
29
- height: iconSizes.md,
30
- width: iconSizes.md,
31
- },
32
- callTopView.backIconContainer,
33
- ], onPress: onBackPressed },
34
- React.createElement(Back, { color: colors.static_white })))),
35
- React.createElement(View, { style: [styles.centerElement, callTopView.centerElement] }, title ? (React.createElement(Text, { style: [
36
- { color: colors.static_white },
37
- typefaces.subtitleBold,
38
- callTopView.title,
39
- ], numberOfLines: 1 }, title)) : (isCallReconnecting && (React.createElement(Text, { style: [
40
- { color: colors.static_white },
41
- typefaces.subtitleBold,
42
- callTopView.title,
43
- ] }, t('Reconnecting...'))))),
44
- React.createElement(View, { style: [styles.rightElement, callTopView.rightElement] }, ParticipantsInfoBadge && (React.createElement(ParticipantsInfoBadge, { onParticipantInfoPress: onParticipantInfoPress }))))));
45
- };
46
- const styles = StyleSheet.create({
47
- content: {
48
- position: 'absolute',
49
- top: 0,
50
- flexDirection: 'row',
51
- paddingTop: 24,
52
- paddingBottom: 12,
53
- alignItems: 'center',
54
- },
55
- backIconContainer: {
56
- // Added to compensate the participant badge surface area
57
- marginLeft: 8,
58
- },
59
- leftElement: {
60
- flex: 1,
61
- alignItems: 'flex-start',
62
- },
63
- centerElement: {
64
- flex: 1,
65
- alignItems: 'center',
66
- flexGrow: 3,
67
- },
68
- rightElement: {
69
- flex: 1,
70
- alignItems: 'flex-end',
71
- },
72
- });
73
- //# sourceMappingURL=CallTopView.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CallTopView.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallTopView/CallTopView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACL,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,SAAS,GAGV,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,qBAAqB,IAAI,4BAA4B,GAEtD,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE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OAAO,EAAE;QACP,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,EAAE;QACjB,UAAU,EAAE,QAAQ;KACrB;IACD,iBAAiB,EAAE;QACjB,yDAAyD;QACzD,UAAU,EAAE,CAAC;KACd;IACD,WAAW,EAAE;QACX,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,YAAY;KACzB;IACD,aAAa,EAAE;QACb,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,CAAC;KACZ;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,UAAU;KACvB;CACF,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { CallTopViewProps } from '..';
2
- /**
3
- * Props for the ParticipantsInfoBadge component.
4
- */
5
- export type ParticipantsInfoBadgeProps = Pick<CallTopViewProps, 'onParticipantInfoPress'>;
6
- /**
7
- * Badge that shows the number of participants in the call.
8
- * When pressed, it opens the ParticipantsInfoList.
9
- */
10
- export declare const ParticipantsInfoBadge: ({ onParticipantInfoPress, }: ParticipantsInfoBadgeProps) => JSX.Element | null;
@@ -1,77 +0,0 @@
1
- import React from 'react';
2
- import { Pressable, StyleSheet, Text, View } from 'react-native';
3
- import { Participants } from '../../../icons';
4
- import { useCallStateHooks } from '@stream-io/video-react-bindings';
5
- import { Z_INDEX } from '../../../constants';
6
- import { ButtonTestIds } from '../../../constants/TestIds';
7
- import { useTheme } from '../../../contexts/ThemeContext';
8
- import { CallingState } from '@stream-io/video-client';
9
- /**
10
- * Badge that shows the number of participants in the call.
11
- * When pressed, it opens the ParticipantsInfoList.
12
- */
13
- export const ParticipantsInfoBadge = ({ onParticipantInfoPress, }) => {
14
- const { theme: { colors, participantInfoBadge, typefaces, variants: { iconSizes }, }, } = useTheme();
15
- const { useParticipantCount, useCallMembers, useCallCallingState } = useCallStateHooks();
16
- const participantCount = useParticipantCount();
17
- const members = useCallMembers();
18
- const callingState = useCallCallingState();
19
- let count = 0;
20
- /**
21
- * We show member's length if Incoming and Outgoing Call Views are rendered.
22
- * Else we show the count of the participants that are in the call.
23
- * Since the members count also includes caller/callee, we reduce the count by 1.
24
- **/
25
- if (callingState === CallingState.RINGING) {
26
- count = members.length - 1;
27
- }
28
- else {
29
- count = participantCount;
30
- }
31
- if (count === 0) {
32
- return null;
33
- }
34
- return (React.createElement(Pressable, { onPress: onParticipantInfoPress, style: ({ pressed }) => [
35
- styles.container,
36
- { opacity: pressed ? 0.2 : 1 },
37
- participantInfoBadge.container,
38
- ], disabled: !onParticipantInfoPress, testID: ButtonTestIds.PARTICIPANTS_INFO },
39
- React.createElement(View, { style: [
40
- { height: iconSizes.md, width: iconSizes.md },
41
- participantInfoBadge.participantsIconContainer,
42
- ] },
43
- React.createElement(Participants, { color: colors.static_white })),
44
- React.createElement(View, { style: [
45
- styles.participantCountContainer,
46
- {
47
- backgroundColor: colors.text_low_emphasis,
48
- },
49
- participantInfoBadge.participantCountContainer,
50
- ] },
51
- React.createElement(Text, { style: [
52
- styles.participantCountText,
53
- {
54
- color: colors.static_white,
55
- },
56
- typefaces.subtitle,
57
- participantInfoBadge.participantsCountText,
58
- ] }, count))));
59
- };
60
- const styles = StyleSheet.create({
61
- container: {
62
- flexDirection: 'row',
63
- },
64
- participantCountContainer: {
65
- justifyContent: 'center',
66
- paddingHorizontal: 8,
67
- borderRadius: 30,
68
- zIndex: Z_INDEX.IN_FRONT,
69
- bottom: 12,
70
- right: 12,
71
- },
72
- participantCountText: {
73
- includeFontPadding: false,
74
- textAlign: 'center',
75
- },
76
- });
77
- //# sourceMappingURL=ParticipantsInfoBadge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ParticipantsInfoBadge.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallTopView/ParticipantsInfoBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA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2
- export * from './ParticipantsInfoBadge';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Call/CallTopView/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
@@ -1,11 +0,0 @@
1
- import { LobbyProps } from './Lobby';
2
- /**
3
- * Props for the Join Call Button in the Lobby component.
4
- */
5
- export type JoinCallButtonProps = Pick<LobbyProps, 'onJoinCallHandler'> & {
6
- onPressHandler?: () => void;
7
- };
8
- /**
9
- * The default Join call button to be used in the Lobby component.
10
- */
11
- export declare const JoinCallButton: ({ onJoinCallHandler, onPressHandler, }: JoinCallButtonProps) => JSX.Element;