@100mslive/react-native-room-kit 1.0.2-beta.1 → 1.0.2

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 (254) hide show
  1. package/lib/commonjs/HMSRoomSetup.js +1 -0
  2. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  3. package/lib/commonjs/Icons/BRB/index.js +2 -0
  4. package/lib/commonjs/Icons/BRB/index.js.map +1 -1
  5. package/lib/commonjs/Icons/Hand/index.js +2 -0
  6. package/lib/commonjs/Icons/Hand/index.js.map +1 -1
  7. package/lib/commonjs/Icons/Leave/index.js +2 -0
  8. package/lib/commonjs/Icons/Leave/index.js.map +1 -1
  9. package/lib/commonjs/Icons/Mic/index.js +2 -0
  10. package/lib/commonjs/Icons/Mic/index.js.map +1 -1
  11. package/lib/commonjs/Icons/Stop/index.js +2 -0
  12. package/lib/commonjs/Icons/Stop/index.js.map +1 -1
  13. package/lib/commonjs/components/BackButton.js +2 -0
  14. package/lib/commonjs/components/BackButton.js.map +1 -1
  15. package/lib/commonjs/components/BottomSheet.js +7 -1
  16. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  17. package/lib/commonjs/components/ChangeNameModalContent.js +5 -0
  18. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  19. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +5 -0
  20. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
  21. package/lib/commonjs/components/CompanyLogo.js +2 -0
  22. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  23. package/lib/commonjs/components/EndRoomModalContent.js +6 -1
  24. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  25. package/lib/commonjs/components/HMSBaseButton.js +2 -0
  26. package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
  27. package/lib/commonjs/components/HMSChat.js +2 -0
  28. package/lib/commonjs/components/HMSChat.js.map +1 -1
  29. package/lib/commonjs/components/HMSDangerButton.js +2 -0
  30. package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
  31. package/lib/commonjs/components/HMSLiveIndicator.js +6 -1
  32. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
  33. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +3 -0
  34. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -1
  35. package/lib/commonjs/components/HMSManageAudioOutput.js +32 -2
  36. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  37. package/lib/commonjs/components/HMSManageCameraRotation.js +2 -0
  38. package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -1
  39. package/lib/commonjs/components/HMSManageLeave.js +3 -1
  40. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  41. package/lib/commonjs/components/HMSManageLocalAudio.js +2 -0
  42. package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -1
  43. package/lib/commonjs/components/HMSManageLocalVideo.js +2 -0
  44. package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -1
  45. package/lib/commonjs/components/HMSManageRaiseHand.js +2 -0
  46. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
  47. package/lib/commonjs/components/HMSNotification.js +2 -0
  48. package/lib/commonjs/components/HMSNotification.js.map +1 -1
  49. package/lib/commonjs/components/HMSPreviewEditName.js +2 -0
  50. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
  51. package/lib/commonjs/components/HMSPreviewJoinButton.js +2 -0
  52. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  53. package/lib/commonjs/components/HMSPreviewSubtitle.js +8 -0
  54. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  55. package/lib/commonjs/components/HMSPreviewTitle.js +2 -0
  56. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  57. package/lib/commonjs/components/HMSPrimaryButton.js +2 -0
  58. package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
  59. package/lib/commonjs/components/HMSRoomOptions.js +2 -0
  60. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
  61. package/lib/commonjs/components/HMSSendMessageInput.js +3 -0
  62. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -1
  63. package/lib/commonjs/components/HMSTextInput.js +1 -0
  64. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  65. package/lib/commonjs/components/LeaveRoomBottomSheet.js +7 -0
  66. package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
  67. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +4 -0
  68. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
  69. package/lib/commonjs/components/Participants/ParticipantsItem.js +2 -0
  70. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
  71. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +2 -0
  72. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  73. package/lib/commonjs/components/PeerSettingsModalContent.js +8 -1
  74. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  75. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +3 -0
  76. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  77. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +3 -0
  78. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  79. package/lib/commonjs/components/RoomSettingsModalContent.js +13 -1
  80. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  81. package/lib/commonjs/utils/constants.js +114 -0
  82. package/lib/commonjs/utils/constants.js.map +1 -0
  83. package/lib/module/HMSRoomSetup.js +1 -0
  84. package/lib/module/HMSRoomSetup.js.map +1 -1
  85. package/lib/module/Icons/BRB/index.js +2 -0
  86. package/lib/module/Icons/BRB/index.js.map +1 -1
  87. package/lib/module/Icons/Hand/index.js +2 -0
  88. package/lib/module/Icons/Hand/index.js.map +1 -1
  89. package/lib/module/Icons/Leave/index.js +2 -0
  90. package/lib/module/Icons/Leave/index.js.map +1 -1
  91. package/lib/module/Icons/Mic/index.js +2 -0
  92. package/lib/module/Icons/Mic/index.js.map +1 -1
  93. package/lib/module/Icons/Stop/index.js +2 -0
  94. package/lib/module/Icons/Stop/index.js.map +1 -1
  95. package/lib/module/components/BackButton.js +2 -0
  96. package/lib/module/components/BackButton.js.map +1 -1
  97. package/lib/module/components/BottomSheet.js +7 -1
  98. package/lib/module/components/BottomSheet.js.map +1 -1
  99. package/lib/module/components/ChangeNameModalContent.js +5 -0
  100. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  101. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +5 -0
  102. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
  103. package/lib/module/components/CompanyLogo.js +2 -0
  104. package/lib/module/components/CompanyLogo.js.map +1 -1
  105. package/lib/module/components/EndRoomModalContent.js +6 -1
  106. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  107. package/lib/module/components/HMSBaseButton.js +2 -0
  108. package/lib/module/components/HMSBaseButton.js.map +1 -1
  109. package/lib/module/components/HMSChat.js +2 -0
  110. package/lib/module/components/HMSChat.js.map +1 -1
  111. package/lib/module/components/HMSDangerButton.js +2 -0
  112. package/lib/module/components/HMSDangerButton.js.map +1 -1
  113. package/lib/module/components/HMSLiveIndicator.js +6 -1
  114. package/lib/module/components/HMSLiveIndicator.js.map +1 -1
  115. package/lib/module/components/HMSLocalScreenshareNotification.js +3 -0
  116. package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -1
  117. package/lib/module/components/HMSManageAudioOutput.js +32 -2
  118. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  119. package/lib/module/components/HMSManageCameraRotation.js +2 -0
  120. package/lib/module/components/HMSManageCameraRotation.js.map +1 -1
  121. package/lib/module/components/HMSManageLeave.js +3 -1
  122. package/lib/module/components/HMSManageLeave.js.map +1 -1
  123. package/lib/module/components/HMSManageLocalAudio.js +2 -0
  124. package/lib/module/components/HMSManageLocalAudio.js.map +1 -1
  125. package/lib/module/components/HMSManageLocalVideo.js +2 -0
  126. package/lib/module/components/HMSManageLocalVideo.js.map +1 -1
  127. package/lib/module/components/HMSManageRaiseHand.js +2 -0
  128. package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
  129. package/lib/module/components/HMSNotification.js +2 -0
  130. package/lib/module/components/HMSNotification.js.map +1 -1
  131. package/lib/module/components/HMSPreviewEditName.js +2 -0
  132. package/lib/module/components/HMSPreviewEditName.js.map +1 -1
  133. package/lib/module/components/HMSPreviewJoinButton.js +2 -0
  134. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
  135. package/lib/module/components/HMSPreviewSubtitle.js +8 -0
  136. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  137. package/lib/module/components/HMSPreviewTitle.js +2 -0
  138. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  139. package/lib/module/components/HMSPrimaryButton.js +2 -0
  140. package/lib/module/components/HMSPrimaryButton.js.map +1 -1
  141. package/lib/module/components/HMSRoomOptions.js +2 -0
  142. package/lib/module/components/HMSRoomOptions.js.map +1 -1
  143. package/lib/module/components/HMSSendMessageInput.js +3 -0
  144. package/lib/module/components/HMSSendMessageInput.js.map +1 -1
  145. package/lib/module/components/HMSTextInput.js +1 -0
  146. package/lib/module/components/HMSTextInput.js.map +1 -1
  147. package/lib/module/components/LeaveRoomBottomSheet.js +7 -0
  148. package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
  149. package/lib/module/components/Participants/ParticipantsGroupHeader.js +4 -0
  150. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -1
  151. package/lib/module/components/Participants/ParticipantsItem.js +2 -0
  152. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
  153. package/lib/module/components/Participants/ParticipantsSeachInput.js +2 -0
  154. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
  155. package/lib/module/components/PeerSettingsModalContent.js +8 -1
  156. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  157. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +3 -0
  158. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  159. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +3 -0
  160. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  161. package/lib/module/components/RoomSettingsModalContent.js +13 -1
  162. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  163. package/lib/module/utils/constants.js +108 -0
  164. package/lib/module/utils/constants.js.map +1 -0
  165. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
  166. package/lib/typescript/Icons/BRB/index.d.ts.map +1 -1
  167. package/lib/typescript/Icons/Hand/index.d.ts.map +1 -1
  168. package/lib/typescript/Icons/Leave/index.d.ts.map +1 -1
  169. package/lib/typescript/Icons/Mic/index.d.ts.map +1 -1
  170. package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
  171. package/lib/typescript/components/BackButton.d.ts.map +1 -1
  172. package/lib/typescript/components/BottomSheet.d.ts +4 -1
  173. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  174. package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
  175. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -1
  176. package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
  177. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  178. package/lib/typescript/components/HMSBaseButton.d.ts +2 -1
  179. package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
  180. package/lib/typescript/components/HMSChat.d.ts.map +1 -1
  181. package/lib/typescript/components/HMSDangerButton.d.ts +2 -0
  182. package/lib/typescript/components/HMSDangerButton.d.ts.map +1 -1
  183. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -1
  184. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -1
  185. package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
  186. package/lib/typescript/components/HMSManageCameraRotation.d.ts.map +1 -1
  187. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
  188. package/lib/typescript/components/HMSManageLocalAudio.d.ts.map +1 -1
  189. package/lib/typescript/components/HMSManageLocalVideo.d.ts.map +1 -1
  190. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
  191. package/lib/typescript/components/HMSNotification.d.ts +2 -1
  192. package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
  193. package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -1
  194. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
  195. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
  196. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
  197. package/lib/typescript/components/HMSPrimaryButton.d.ts +2 -0
  198. package/lib/typescript/components/HMSPrimaryButton.d.ts.map +1 -1
  199. package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
  200. package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -1
  201. package/lib/typescript/components/HMSTextInput.d.ts +2 -1
  202. package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
  203. package/lib/typescript/components/LeaveRoomBottomSheet.d.ts.map +1 -1
  204. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -1
  205. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -1
  206. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
  207. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  208. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  209. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  210. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  211. package/lib/typescript/utils/constants.d.ts +101 -0
  212. package/lib/typescript/utils/constants.d.ts.map +1 -0
  213. package/package.json +2 -2
  214. package/src/HMSRoomSetup.tsx +1 -0
  215. package/src/Icons/BRB/index.tsx +2 -0
  216. package/src/Icons/Hand/index.tsx +6 -0
  217. package/src/Icons/Leave/index.tsx +2 -0
  218. package/src/Icons/Mic/index.tsx +6 -0
  219. package/src/Icons/Stop/index.tsx +2 -0
  220. package/src/components/BackButton.tsx +2 -0
  221. package/src/components/BottomSheet.tsx +10 -3
  222. package/src/components/ChangeNameModalContent.tsx +8 -1
  223. package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +26 -2
  224. package/src/components/CompanyLogo.tsx +2 -0
  225. package/src/components/EndRoomModalContent.tsx +13 -3
  226. package/src/components/HMSBaseButton.tsx +4 -1
  227. package/src/components/HMSChat.tsx +6 -1
  228. package/src/components/HMSDangerButton.tsx +4 -0
  229. package/src/components/HMSLiveIndicator.tsx +4 -3
  230. package/src/components/HMSLocalScreenshareNotification.tsx +3 -0
  231. package/src/components/HMSManageAudioOutput.tsx +35 -3
  232. package/src/components/HMSManageCameraRotation.tsx +2 -0
  233. package/src/components/HMSManageLeave.tsx +2 -0
  234. package/src/components/HMSManageLocalAudio.tsx +2 -0
  235. package/src/components/HMSManageLocalVideo.tsx +2 -0
  236. package/src/components/HMSManageRaiseHand.tsx +2 -1
  237. package/src/components/HMSNotification.tsx +4 -2
  238. package/src/components/HMSPreviewEditName.tsx +2 -1
  239. package/src/components/HMSPreviewJoinButton.tsx +6 -0
  240. package/src/components/HMSPreviewSubtitle.tsx +9 -6
  241. package/src/components/HMSPreviewTitle.tsx +2 -1
  242. package/src/components/HMSPrimaryButton.tsx +4 -0
  243. package/src/components/HMSRoomOptions.tsx +2 -1
  244. package/src/components/HMSSendMessageInput.tsx +3 -0
  245. package/src/components/HMSTextInput.tsx +3 -0
  246. package/src/components/LeaveRoomBottomSheet.tsx +7 -1
  247. package/src/components/Participants/ParticipantsGroupHeader.tsx +12 -2
  248. package/src/components/Participants/ParticipantsItem.tsx +2 -1
  249. package/src/components/Participants/ParticipantsSeachInput.tsx +2 -0
  250. package/src/components/PeerSettingsModalContent.tsx +9 -1
  251. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +3 -0
  252. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +3 -0
  253. package/src/components/RoomSettingsModalContent.tsx +14 -0
  254. package/src/utils/constants.ts +146 -0
@@ -1 +1 @@
1
- {"version":3,"file":"HMSManageCameraRotation.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageCameraRotation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,uBAAuB,gCAQnC,CAAC"}
1
+ {"version":3,"file":"HMSManageCameraRotation.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageCameraRotation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,uBAAuB,gCAQnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSManageLeave.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLeave.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CASrD,CAAC;AAEF,KAAK,gBAAgB,GACjB;IACE,iBAAiB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;CACtD,GACD;IACE,mBAAmB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;CACxD,CAAC"}
1
+ {"version":3,"file":"HMSManageLeave.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLeave.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CASrD,CAAC;AAEF,KAAK,gBAAgB,GACjB;IACE,iBAAiB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;CACtD,GACD;IACE,mBAAmB,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC;CACxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSManageLocalAudio.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLocalAudio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,eAAO,MAAM,mBAAmB,gCAQ/B,CAAC"}
1
+ {"version":3,"file":"HMSManageLocalAudio.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLocalAudio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,mBAAmB,gCAQ/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSManageLocalVideo.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLocalVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,eAAO,MAAM,mBAAmB,gCAQ/B,CAAC"}
1
+ {"version":3,"file":"HMSManageLocalVideo.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageLocalVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,mBAAmB,gCAQ/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSManageRaiseHand.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageRaiseHand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,kBAAkB,yBA+B9B,CAAC"}
1
+ {"version":3,"file":"HMSManageRaiseHand.d.ts","sourceRoot":"","sources":["../../../src/components/HMSManageRaiseHand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,kBAAkB,yBA+B9B,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import * as React from 'react';
2
- import type { StyleProp, ViewStyle, TextStyle } from 'react-native';
2
+ import type { StyleProp, ViewStyle, TextStyle, TextProps } from 'react-native';
3
3
  export interface HMSNotificationProps {
4
4
  id: string;
5
5
  text: string | React.ReactElement;
6
+ textTestID?: TextProps['testID'];
6
7
  style?: StyleProp<ViewStyle>;
7
8
  textStyle?: StyleProp<TextStyle>;
8
9
  icon?: React.ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"HMSNotification.d.ts","sourceRoot":"","sources":["../../../src/components/HMSNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuE1D,CAAC"}
1
+ {"version":3,"file":"HMSNotification.d.ts","sourceRoot":"","sources":["../../../src/components/HMSNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO/E,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IAClC,UAAU,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwE1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSPreviewEditName.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewEditName.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,uBAAuB;CAAG;AAE3C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAWhE,CAAC"}
1
+ {"version":3,"file":"HMSPreviewEditName.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewEditName.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,WAAW,uBAAuB;CAAG;AAE3C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAWhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSPreviewJoinButton.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewJoinButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,yBAAyB;IACxC,MAAM,IAAI,IAAI,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAuDpE,CAAC"}
1
+ {"version":3,"file":"HMSPreviewJoinButton.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewJoinButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,MAAM,WAAW,yBAAyB;IACxC,MAAM,IAAI,IAAI,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA4DpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSPreviewSubtitle.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyChE,CAAC"}
1
+ {"version":3,"file":"HMSPreviewSubtitle.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA2ChE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSPreviewTitle.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgB1D,CAAC"}
1
+ {"version":3,"file":"HMSPreviewTitle.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgB1D,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
+ import type { HMSBaseButtonProps } from './HMSBaseButton';
3
4
  export interface HMSPrimaryButtonProps {
4
5
  title: string;
5
6
  loading: boolean;
6
7
  onPress(): void;
8
+ testId?: HMSBaseButtonProps['testID'];
7
9
  style?: StyleProp<ViewStyle>;
8
10
  disabled?: boolean;
9
11
  leftComponent?: React.ReactElement | null;
@@ -1 +1 @@
1
- {"version":3,"file":"HMSPrimaryButton.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPrimaryButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzD,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,IAAI,IAAI,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+C5D,CAAC"}
1
+ {"version":3,"file":"HMSPrimaryButton.d.ts","sourceRoot":"","sources":["../../../src/components/HMSPrimaryButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,IAAI,IAAI,CAAC;IAChB,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAiD5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSRoomOptions.d.ts","sourceRoot":"","sources":["../../../src/components/HMSRoomOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,UAAU,mBAAmB;CAAG;AAEhC,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgIxD,CAAC"}
1
+ {"version":3,"file":"HMSRoomOptions.d.ts","sourceRoot":"","sources":["../../../src/components/HMSRoomOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyB/B,UAAU,mBAAmB;CAAG;AAEhC,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgIxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HMSSendMessageInput.d.ts","sourceRoot":"","sources":["../../../src/components/HMSSendMessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpE,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAgClE,CAAC"}
1
+ {"version":3,"file":"HMSSendMessageInput.d.ts","sourceRoot":"","sources":["../../../src/components/HMSSendMessageInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpE,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAkClE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from 'react-native';
2
+ import type { StyleProp, TextInputProps, TextStyle, TouchableOpacityProps, ViewStyle } from 'react-native';
3
3
  export type HMSTextInputProps = TextInputProps & {
4
4
  value: string;
5
5
  focusedStyle?: StyleProp<TextStyle>;
@@ -13,6 +13,7 @@ export type HMSTextInputProps = TextInputProps & {
13
13
  } | {
14
14
  rightIcon?: undefined;
15
15
  sendIcon: boolean;
16
+ sendIconTestID?: TouchableOpacityProps['testID'];
16
17
  onSendIconPress(): void;
17
18
  containerStyle?: StyleProp<ViewStyle>;
18
19
  focusedContainerStyle?: StyleProp<ViewStyle>;
@@ -1 +1 @@
1
- {"version":3,"file":"HMSTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/HMSTextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GAAG,CACE;IACE,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GACD;IACE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,IAAI,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GACD;IAAE,SAAS,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,CAClD,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuIpD,CAAC"}
1
+ {"version":3,"file":"HMSTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/HMSTextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,SAAS,EACT,qBAAqB,EACrB,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GAAG,CACE;IACE,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GACD;IACE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACjD,eAAe,IAAI,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,GACD;IAAE,SAAS,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,CAClD,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwIpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LeaveRoomBottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/LeaveRoomBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,UAAU,yBAAyB;CAAG;AAEtC,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAyJpE,CAAC"}
1
+ {"version":3,"file":"LeaveRoomBottomSheet.d.ts","sourceRoot":"","sources":["../../../src/components/LeaveRoomBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,UAAU,yBAAyB;CAAG;AAEtC,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA8JpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantsGroupHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAOjE,UAAU,4BAA4B;IACpC,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AA6HD,eAAO,MAAM,uBAAuB,0DAAuC,CAAC"}
1
+ {"version":3,"file":"ParticipantsGroupHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsGroupHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAQjE,UAAU,4BAA4B;IACpC,EAAE,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAsID,eAAO,MAAM,uBAAuB,0DAAuC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AASzE,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,YAAY,CAAC;CAC9B;AAyID,eAAO,MAAM,gBAAgB,mDAAgC,CAAC"}
1
+ {"version":3,"file":"ParticipantsItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAUzE,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,YAAY,CAAC;CAC9B;AAyID,eAAO,MAAM,gBAAgB,mDAAgC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantsSeachInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsSeachInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC5C,4BAA4B,CAqB7B,CAAC"}
1
+ {"version":3,"file":"ParticipantsSeachInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Participants/ParticipantsSeachInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,4BAA4B,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAC5C,4BAA4B,CAsB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PeerSettingsModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/PeerSettingsModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAIvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAYpD,UAAU,6BAA6B;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,IAAI,IAAI,CAAC;IACpB,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IACpD,2CAA2C,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IACvE,uBAAuB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CA8J9B,CAAC"}
1
+ {"version":3,"file":"PeerSettingsModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/PeerSettingsModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAIvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAapD,UAAU,6BAA6B;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,uBAAuB,EAAE,OAAO,CAAC;IACjC,WAAW,IAAI,IAAI,CAAC;IACpB,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IACpD,2CAA2C,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IACvE,uBAAuB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CAkK9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PeerNameAndNetwork.d.ts","sourceRoot":"","sources":["../../../../src/components/PeerVideoTile/PeerNameAndNetwork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAM7D,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA8ChE,CAAC"}
1
+ {"version":3,"file":"PeerNameAndNetwork.d.ts","sourceRoot":"","sources":["../../../../src/components/PeerVideoTile/PeerNameAndNetwork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAO7D,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgDhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PeerVideoTileView.d.ts","sourceRoot":"","sources":["../../../../src/components/PeerVideoTile/PeerVideoTileView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AASvD,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,kBAAkB,oFAiM9B,CAAC;AAyBF,eAAO,MAAM,iBAAiB,+GAAiC,CAAC"}
1
+ {"version":3,"file":"PeerVideoTileView.d.ts","sourceRoot":"","sources":["../../../../src/components/PeerVideoTile/PeerVideoTileView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAUvD,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,kBAAkB,oFAmM9B,CAAC;AAyBF,eAAO,MAAM,iBAAiB,+GAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RoomSettingsModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/RoomSettingsModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAItE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAuB5C,UAAU,6BAA6B;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,OAAO,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;IAClC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,sBAAsB,IAAI,IAAI,CAAC;IAC/B,eAAe,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9D,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAClD,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7C;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CA+O9B,CAAC"}
1
+ {"version":3,"file":"RoomSettingsModalContent.d.ts","sourceRoot":"","sources":["../../../src/components/RoomSettingsModalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAItE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAwB5C,UAAU,6BAA6B;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,OAAO,CAAC;IACvB,wBAAwB,EAAE,OAAO,CAAC;IAClC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,sBAAsB,IAAI,IAAI,CAAC;IAC/B,eAAe,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9D,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAClD,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CAC7C;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CAwP9B,CAAC"}
@@ -0,0 +1,101 @@
1
+ export declare const TestIds: {
2
+ readonly back_button: "back-button";
3
+ readonly company_logo: "company-logo";
4
+ readonly manage_audio_output: "change-audio-output-button";
5
+ readonly switch_camera: "switch-camera-button";
6
+ readonly switch_camera_disabled: "switch-camera-disabled-button";
7
+ readonly mic_muted_btn: "mic-muted-button";
8
+ readonly mic_unmuted_btn: "mic-unmuted-button";
9
+ readonly mic_muted_icon: "mic-muted-icon";
10
+ readonly mic_unmuted_icon: "mic-unmuted-icon";
11
+ readonly camera_muted_btn: "camera-muted-button";
12
+ readonly camera_unmuted_btn: "camera-unmuted-button";
13
+ readonly enter_name: "enter-name-input";
14
+ readonly go_live_btn: "go-live-button";
15
+ readonly join_now_btn: "join-now-button";
16
+ readonly title: "preview-title-text";
17
+ readonly subtitle: "preview-subtitle-text";
18
+ readonly live_text: "live-text";
19
+ readonly peer_count_icon: "peer-count-icon";
20
+ readonly peer_count: "peer-count-text";
21
+ readonly notification_sharing_screen: "notification-sharing-screen-text";
22
+ readonly notification_stop_screen_share_btn: "notification-stop-screen-share-button";
23
+ readonly brb_icon: "brb-icon";
24
+ readonly hand_icon: "hand-icon";
25
+ readonly hand_off_icon: "hand-off-icon";
26
+ readonly tile_options: "tile-three-dots-button";
27
+ readonly tile_user_name: "tile-user-name";
28
+ readonly tile_network_icon: "tile-network-icon";
29
+ readonly tile_modal_heading: "tile-modal-heading";
30
+ readonly tile_modal_subheading: "tile-modal-subheading";
31
+ readonly tile_modal_close_btn: "tile-modal-close-button";
32
+ readonly tile_modal_change_name_btn: "tile-modal-change-name-button";
33
+ readonly change_name_modal_heading: "change-name-modal-heading";
34
+ readonly change_name_input: "change-name-input";
35
+ readonly change_name_modal_close_btn: "change-name-modal-close-button";
36
+ readonly change_name_modal_cta: "change-name-modal-cta";
37
+ readonly footer_leave_btn: "footer-leave-button";
38
+ readonly leave_icon: "leave-icon";
39
+ readonly leave_description: "leave-description";
40
+ readonly leave_cta: "leave-cta";
41
+ readonly stop_icon: "stop-icon";
42
+ readonly end_session_description: "end-session-description";
43
+ readonly end_session_cta: "end-session-cta";
44
+ readonly end_stream_description: "end-stream-description";
45
+ readonly end_stream_cta: "end-stream-cta";
46
+ readonly end_confirmation_close_btn: "end-confirmation-close-btn";
47
+ readonly end_confirmation_cta: "end-confirmation-cta";
48
+ readonly end_confirmation_heading: "end-confirmation-heading";
49
+ readonly end_confirmation_description: "end-confirmation-description";
50
+ readonly hand_raise_btn: "hand-raise-button";
51
+ readonly hand_raised_btn: "hand-raised-button";
52
+ readonly open_chat_btn: "open-chat-button";
53
+ readonly close_chat_btn: "close-chat-button";
54
+ readonly enter_message_input: "enter-message-input";
55
+ readonly send_message_cta: "send-message-cta";
56
+ readonly room_options_btn: "room-options-button";
57
+ readonly room_modal_heading: "room-modal-heading";
58
+ readonly room_modal_close_btn: "room-modal-close-button";
59
+ readonly room_modal_participants_btn: "room-modal-participants-button";
60
+ readonly room_modal_share_screen_btn: "room-modal-share-screen-button";
61
+ readonly room_modal_stop_screen_share_btn: "room-modal-stop-screen-share-button";
62
+ readonly room_modal_brb_btn: "room-modal-brb-button";
63
+ readonly room_modal_stop_brb_btn: "room-modal-stop-brb-button";
64
+ readonly room_modal_hand_raise_btn: "room-modal-hand-raise-button";
65
+ readonly room_modal_hand_raised_btn: "room-modal-hand-raised-button";
66
+ readonly room_modal_start_recording_btn: "room-modal-start-recording-button";
67
+ readonly room_modal_stop_recording_btn: "room-modal-stop-recording-button";
68
+ readonly room_modal_change_name_btn: "room-modal-change-name-button";
69
+ readonly participants_heading: "participants-heading";
70
+ readonly participants_heading_active: "participants-heading--active";
71
+ readonly participants_heading_btn: "participants-heading-button";
72
+ readonly chat_heading: "chat-heading";
73
+ readonly chat_heading_active: "chat-heading--active";
74
+ readonly chat_heading_btn: "chat-heading-button";
75
+ readonly participants_close_btn: "participants-close-button";
76
+ readonly search_participant_input: "search-participant-input";
77
+ readonly participants_group_name: "participants-group-name";
78
+ readonly participants_group_back_btn: "participants-group-back-button";
79
+ readonly participants_group_expand_btn: "participants-group-expand-button";
80
+ readonly participants_group_collapse_btn: "participants-group-collapse-button";
81
+ readonly participant_name: "participant-name";
82
+ readonly audio_modal_heading: "audio-modal-heading";
83
+ readonly audio_modal_close_btn: "audio-modal-close-button";
84
+ readonly audio_modal_empty_text: "audio-modal-empty-text";
85
+ readonly automatic_audio_device_btn: "automatic-audio-device-button";
86
+ readonly automatic_audio_device_text: "automatic-audio-device-text";
87
+ readonly automatic_audio_device_active: "automatic-audio-device--active";
88
+ readonly phone_speaker_audio_device_btn: "phone-speaker-audio-device-button";
89
+ readonly phone_speaker_audio_device_text: "phone-speaker-audio-device-text";
90
+ readonly phone_speaker_audio_device_active: "phone-speaker-audio-device--active";
91
+ readonly wired_headset_audio_device_btn: "wired-headset-audio-device-button";
92
+ readonly wired_headset_audio_device_text: "wired-headset-audio-device-text";
93
+ readonly wired_headset_audio_device_active: "wired-headset-audio-device--active";
94
+ readonly earpiece_audio_device_btn: "earpiece-audio-device-button";
95
+ readonly earpiece_audio_device_text: "earpiece-audio-device-text";
96
+ readonly earpiece_audio_device_active: "earpiece-audio-device--active";
97
+ readonly bluetooth_audio_device_btn: "bluetooth-audio-device-button";
98
+ readonly bluetooth_audio_device_text: "bluetooth-audio-device-text";
99
+ readonly bluetooth_audio_device_active: "bluetooth-audio-device--active";
100
+ };
101
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@100mslive/react-native-room-kit",
3
- "version": "1.0.2-beta.1",
3
+ "version": "1.0.2",
4
4
  "description": "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -79,7 +79,7 @@
79
79
  "typescript": "^5.0.2"
80
80
  },
81
81
  "peerDependencies": {
82
- "@100mslive/react-native-hms": "1.9.1-beta.0",
82
+ "@100mslive/react-native-hms": "1.9.1",
83
83
  "@react-native-community/blur": "^4.3.2",
84
84
  "@react-native-masked-view/masked-view": "^0.2.9",
85
85
  "@shopify/flash-list": "^1.4.3",
@@ -133,6 +133,7 @@ export const HMSRoomSetup = () => {
133
133
  console.log('Start HLS Streaming Error: ', e);
134
134
  if (!ignoreHLSStreamPromise.current) {
135
135
  console.log('Unable to go live at the moment: ', e);
136
+ dispatch(changeStartingHLSStream(false));
136
137
  // prebuiltCleanUp();
137
138
  }
138
139
  }
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
+ import { TestIds } from '../../utils/constants';
6
7
 
7
8
  interface BRBIconProps extends Omit<ImageProps, 'source'> {}
8
9
 
@@ -13,6 +14,7 @@ export const BRBIcon: React.FC<BRBIconProps> = ({ style, ...restProps }) => {
13
14
 
14
15
  return (
15
16
  <Image
17
+ testID={TestIds.brb_icon}
16
18
  source={require('./assets/BRB.png')}
17
19
  style={[styles.icon, iconStyles, style]}
18
20
  {...restProps}
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
+ import { TestIds } from '../../utils/constants';
6
7
 
7
8
  interface HandIconProps extends Omit<ImageProps, 'source'> {
8
9
  type?: 'off' | 'on';
@@ -19,6 +20,11 @@ export const HandIcon: React.FC<HandIconProps> = ({
19
20
 
20
21
  return (
21
22
  <Image
23
+ testID={
24
+ type === 'on'
25
+ ? TestIds.hand_icon
26
+ : TestIds.hand_off_icon
27
+ }
22
28
  source={
23
29
  type === 'on'
24
30
  ? require('./assets/hand.png')
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
+ import { TestIds } from '../../utils/constants';
6
7
 
7
8
  interface LeaveIconProps extends Omit<ImageProps, 'source'> {}
8
9
 
@@ -16,6 +17,7 @@ export const LeaveIcon: React.FC<LeaveIconProps> = ({
16
17
 
17
18
  return (
18
19
  <Image
20
+ testID={TestIds.leave_icon}
19
21
  source={require('./assets/leave.png')}
20
22
  style={[styles.icon, iconStyles, style]}
21
23
  {...restProps}
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
+ import { TestIds } from '../../utils/constants';
6
7
 
7
8
  interface MicIconProps extends Omit<ImageProps, 'source'> {
8
9
  muted: boolean;
@@ -19,6 +20,11 @@ export const MicIcon: React.FC<MicIconProps> = ({
19
20
 
20
21
  return (
21
22
  <Image
23
+ testID={
24
+ muted
25
+ ? TestIds.mic_muted_icon
26
+ : TestIds.mic_unmuted_icon
27
+ }
22
28
  source={
23
29
  muted
24
30
  ? require('./assets/mic-muted.png')
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
+ import { TestIds } from '../../utils/constants';
6
7
 
7
8
  interface StopIconProps extends Omit<ImageProps, 'source'> {}
8
9
 
@@ -13,6 +14,7 @@ export const StopIcon: React.FC<StopIconProps> = ({ style, ...restProps }) => {
13
14
 
14
15
  return (
15
16
  <Image
17
+ testID={TestIds.stop_icon}
16
18
  source={require('./assets/stop.png')}
17
19
  style={[styles.icon, iconStyles, style]}
18
20
  {...restProps}
@@ -5,6 +5,7 @@ import { NavigationContext } from '@react-navigation/native';
5
5
  import { PressableIcon } from './PressableIcon';
6
6
  import { ChevronIcon } from '../Icons';
7
7
  import { useHMSRoomStyle } from '../hooks-util';
8
+ import { TestIds } from '../utils/constants';
8
9
 
9
10
  export interface BackButtonProps {}
10
11
 
@@ -27,6 +28,7 @@ export const BackButton: React.FC<BackButtonProps> = () => {
27
28
 
28
29
  return (
29
30
  <PressableIcon
31
+ testID={TestIds.back_button}
30
32
  style={[styles.button, buttonStyles]}
31
33
  rounded={true}
32
34
  border={false}
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import Modal from 'react-native-modal';
3
3
  import type { ReactNativeModal } from 'react-native-modal';
4
4
  import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
5
- import type { StyleProp, ViewStyle } from 'react-native';
5
+ import type { StyleProp, TextProps, TouchableOpacityProps, ViewStyle } from 'react-native';
6
6
 
7
7
  import { CloseIcon } from '../Icons';
8
8
  import {
@@ -66,12 +66,18 @@ interface HeaderProps {
66
66
  dismissModal(): void;
67
67
  heading: string;
68
68
  subheading?: string;
69
+ headingTestID?: TextProps['testID'];
70
+ subheadingTestID?: TextProps['testID'];
71
+ closeIconTestID?: TouchableOpacityProps['testID'];
69
72
  }
70
73
 
71
74
  const BottomSheetHeader: React.FC<HeaderProps> = ({
72
75
  dismissModal,
73
76
  heading,
74
77
  subheading,
78
+ headingTestID,
79
+ subheadingTestID,
80
+ closeIconTestID,
75
81
  }) => {
76
82
  const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
77
83
  headerText: {
@@ -87,18 +93,19 @@ const BottomSheetHeader: React.FC<HeaderProps> = ({
87
93
  return (
88
94
  <View style={styles.header}>
89
95
  <View>
90
- <Text style={[styles.headerText, hmsRoomStyles.headerText]}>
96
+ <Text testID={headingTestID} style={[styles.headerText, hmsRoomStyles.headerText]}>
91
97
  {heading}
92
98
  </Text>
93
99
 
94
100
  {subheading ? (
95
- <Text style={[styles.subheadingText, hmsRoomStyles.subheadingText]}>
101
+ <Text testID={subheadingTestID} style={[styles.subheadingText, hmsRoomStyles.subheadingText]}>
96
102
  {subheading}
97
103
  </Text>
98
104
  ) : null}
99
105
  </View>
100
106
 
101
107
  <TouchableOpacity
108
+ testID={closeIconTestID}
102
109
  onPress={dismissModal}
103
110
  hitSlop={styles.closeIconHitSlop}
104
111
  >
@@ -16,6 +16,7 @@ import { HMSTextInput } from './HMSTextInput';
16
16
  import { HMSPrimaryButton } from './HMSPrimaryButton';
17
17
  import { useHMSActions } from '../hooks-sdk';
18
18
  import { ModalTypes } from '../utils/types';
19
+ import { TestIds } from '../utils/constants';
19
20
 
20
21
  export interface ChangeNameModalContentProps {
21
22
  dismissModal(): void;
@@ -95,12 +96,16 @@ export const ChangeNameModalContent: React.FC<ChangeNameModalContentProps> = ({
95
96
  </TouchableOpacity>
96
97
  )}
97
98
 
98
- <Text style={[styles.headerText, hmsRoomStyles.headerText]}>
99
+ <Text
100
+ testID={TestIds.change_name_modal_heading}
101
+ style={[styles.headerText, hmsRoomStyles.headerText]}
102
+ >
99
103
  Change Name
100
104
  </Text>
101
105
  </View>
102
106
 
103
107
  <TouchableOpacity
108
+ testID={TestIds.change_name_modal_close_btn}
104
109
  onPress={handleClosePress}
105
110
  hitSlop={styles.closeIconHitSlop}
106
111
  >
@@ -114,6 +119,7 @@ export const ChangeNameModalContent: React.FC<ChangeNameModalContentProps> = ({
114
119
  {/* Content */}
115
120
  <View style={styles.contentContainer}>
116
121
  <HMSTextInput
122
+ testID={TestIds.change_name_input}
117
123
  style={styles.textInput}
118
124
  value={name}
119
125
  autoFocus={true}
@@ -121,6 +127,7 @@ export const ChangeNameModalContent: React.FC<ChangeNameModalContentProps> = ({
121
127
  />
122
128
 
123
129
  <HMSPrimaryButton
130
+ testId={TestIds.change_name_modal_cta}
124
131
  loading={nameChangeLoading}
125
132
  onPress={changeName}
126
133
  title="Change"
@@ -10,6 +10,7 @@ import {
10
10
  import type { RootState } from '../../redux';
11
11
  import { ChatBottomSheetTabs } from '../../utils/types';
12
12
  import { setActiveChatBottomSheetTab } from '../../redux/actions';
13
+ import { TestIds } from '../../utils/constants';
13
14
 
14
15
  interface WebrtcChatHeaderProps {
15
16
  onClosePress?: () => void;
@@ -61,7 +62,16 @@ const _ChatAndParticipantsHeader: React.FC<WebrtcChatHeaderProps> = ({
61
62
  }
62
63
  >
63
64
  {visibleChatBottomSheetTabs.length === 1 ? (
64
- <Text style={[styles.headerTitle, hmsRoomStyles.activeHeaderTitle]}>
65
+ <Text
66
+ testID={
67
+ visibleChatBottomSheetTabs[0] === 'Participants'
68
+ ? TestIds.participants_heading
69
+ : visibleChatBottomSheetTabs[0] === 'Chat'
70
+ ? TestIds.chat_heading
71
+ : undefined
72
+ }
73
+ style={[styles.headerTitle, hmsRoomStyles.activeHeaderTitle]}
74
+ >
65
75
  {visibleChatBottomSheetTabs[0]}
66
76
  {visibleChatBottomSheetTabs[0] === 'Participants' &&
67
77
  typeof peersCount === 'number'
@@ -78,10 +88,24 @@ const _ChatAndParticipantsHeader: React.FC<WebrtcChatHeaderProps> = ({
78
88
  return (
79
89
  <TouchableOpacity
80
90
  key={tab}
91
+ testID={
92
+ tab === 'Participants'
93
+ ? TestIds.participants_heading_btn
94
+ : tab === 'Chat'
95
+ ? TestIds.chat_heading_btn
96
+ : undefined
97
+ }
81
98
  style={[styles.tab, isActive ? hmsRoomStyles.tab : null]}
82
99
  onPress={() => dispatch(setActiveChatBottomSheetTab(tab))}
83
100
  >
84
101
  <Text
102
+ testID={
103
+ tab === 'Participants'
104
+ ? (isActive ? TestIds.participants_heading_active : TestIds.participants_heading)
105
+ : tab === 'Chat'
106
+ ? (isActive ? TestIds.chat_heading_active : TestIds.chat_heading)
107
+ : undefined
108
+ }
85
109
  style={[
86
110
  styles.headerTitle,
87
111
  hmsRoomStyles.headerTitle,
@@ -99,7 +123,7 @@ const _ChatAndParticipantsHeader: React.FC<WebrtcChatHeaderProps> = ({
99
123
  </View>
100
124
  )}
101
125
 
102
- <TouchableOpacity onPress={onClosePress}>
126
+ <TouchableOpacity testID={TestIds.participants_close_btn} onPress={onClosePress}>
103
127
  <CloseIcon />
104
128
  </TouchableOpacity>
105
129
  </View>
@@ -3,6 +3,7 @@ import { Image, StyleSheet } from 'react-native';
3
3
  import type { ImageProps } from 'react-native';
4
4
 
5
5
  import { useHMSLayoutConfig } from '../hooks-util';
6
+ import { TestIds } from '../utils/constants';
6
7
 
7
8
  interface CompanyLogoProps extends Omit<ImageProps, 'source'> {}
8
9
 
@@ -20,6 +21,7 @@ export const CompanyLogo: React.FC<CompanyLogoProps> = ({
20
21
 
21
22
  return (
22
23
  <Image
24
+ testID={TestIds.company_logo}
23
25
  source={{ uri: logoSource }}
24
26
  style={[styles.icon, style]}
25
27
  {...restProps}