@azure/communication-react 1.3.1-alpha-202205310013.0 → 1.3.1-beta.1

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 (384) hide show
  1. package/CHANGELOG.json +1260 -0
  2. package/CHANGELOG.md +110 -1
  3. package/dist/communication-react.d.ts +405 -31
  4. package/dist/dist-cjs/communication-react/index.js +1682 -783
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
  7. package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
  9. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts +16 -0
  11. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts.map +1 -0
  12. package/dist/dist-esm/acs-ui-common/src/logEvent.js +11 -0
  13. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -0
  14. package/dist/dist-esm/acs-ui-common/src/safeStringify.d.ts.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/safeStringify.js +17 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -0
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +9 -1
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +14 -2
  26. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +32 -13
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +2 -0
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +6 -2
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  35. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
  37. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +4 -2
  39. package/dist/dist-esm/calling-component-bindings/src/index.d.ts.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/index.js +4 -2
  41. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +34 -36
  44. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts +6 -0
  46. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts.map +1 -0
  47. package/dist/dist-esm/calling-component-bindings/src/{SelectorUtils.js → utils/SelectorUtils.js} +0 -0
  48. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -0
  49. package/dist/dist-esm/calling-component-bindings/src/{callUtils.d.ts → utils/callUtils.d.ts} +7 -1
  50. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts.map +1 -0
  51. package/dist/dist-esm/calling-component-bindings/src/{callUtils.js → utils/callUtils.js} +28 -0
  52. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -0
  53. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +6 -0
  54. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts.map +1 -0
  55. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +25 -0
  56. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -0
  57. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.d.ts → utils/videoGalleryUtils.d.ts} +3 -5
  58. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -0
  59. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.js → utils/videoGalleryUtils.js} +3 -1
  60. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -0
  61. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +10 -3
  63. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  64. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +17 -1
  65. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts.map +1 -1
  66. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +22 -5
  67. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  68. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -1
  69. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts.map +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -0
  72. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +19 -0
  74. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -0
  77. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +22 -0
  79. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts.map +1 -0
  80. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +49 -0
  81. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -0
  82. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +26 -0
  83. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/Logger.js +30 -0
  85. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  87. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  89. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +13 -0
  91. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +133 -25
  95. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +2 -0
  97. package/dist/dist-esm/calling-stateful-client/src/index.d.ts.map +1 -1
  98. package/dist/dist-esm/communication-react/src/index.d.ts +7 -1
  99. package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
  100. package/dist/dist-esm/communication-react/src/index.js +4 -0
  101. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  102. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +2 -2
  103. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
  104. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
  105. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts.map +1 -1
  106. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts.map +1 -1
  107. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +1 -0
  108. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  109. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts.map +1 -1
  110. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
  111. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  112. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
  113. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +16 -2
  114. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  115. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +33 -21
  116. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
  117. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +87 -30
  118. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  119. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +16 -3
  120. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  121. package/dist/dist-esm/react-components/src/components/ErrorBar.js +22 -1
  122. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  123. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +5 -0
  124. package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
  125. package/dist/dist-esm/react-components/src/components/FileCard.js +44 -14
  126. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  127. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  128. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
  129. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -1
  130. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  131. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +17 -0
  132. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
  133. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +19 -2
  134. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  135. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  136. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts.map +1 -0
  137. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  138. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  139. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts.map +1 -1
  140. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +15 -4
  141. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  142. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
  143. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  144. package/dist/dist-esm/react-components/src/components/MessageThread.js +15 -12
  145. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  146. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
  147. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
  148. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
  149. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  150. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +5 -1
  151. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  152. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -2
  153. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  154. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
  155. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
  156. package/dist/dist-esm/react-components/src/components/ParticipantList.js +5 -7
  157. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  158. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +2 -0
  159. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts.map +1 -1
  160. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +4 -3
  161. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  162. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
  163. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
  164. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +6 -3
  165. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  166. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +12 -0
  167. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  168. package/dist/dist-esm/react-components/src/components/SendBox.js +10 -5
  169. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  170. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts.map +1 -1
  171. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +8 -5
  172. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  173. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +7 -0
  174. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts.map +1 -1
  175. package/dist/dist-esm/react-components/src/components/StreamMedia.js +7 -4
  176. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  177. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -1
  178. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  179. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -0
  180. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
  182. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  183. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
  184. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts.map +1 -1
  185. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +18 -70
  186. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  187. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
  188. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/VideoGallery.js +6 -4
  190. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
  192. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
  193. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +7 -0
  195. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts.map +1 -0
  196. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +32 -0
  197. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -0
  198. package/dist/dist-esm/react-components/src/components/index.d.ts +6 -2
  199. package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/index.js +4 -1
  201. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +7 -2
  204. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts +13 -1
  206. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +34 -0
  208. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +9 -0
  210. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts.map +1 -0
  211. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +26 -0
  212. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -0
  213. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
  214. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts.map +1 -1
  215. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +45 -7
  217. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +45 -7
  218. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +22 -4
  219. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +46 -8
  220. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +45 -7
  221. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +45 -7
  222. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +45 -7
  223. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +45 -7
  224. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +45 -7
  225. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +45 -7
  226. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +45 -7
  227. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +45 -7
  228. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +45 -7
  229. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +45 -7
  230. package/dist/dist-esm/react-components/src/theming/icons.d.ts +6 -0
  231. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  232. package/dist/dist-esm/react-components/src/theming/icons.js +12 -2
  233. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  234. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
  235. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
  236. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -2
  237. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  238. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +52 -3
  239. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  240. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +42 -2
  241. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  242. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
  243. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
  244. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  245. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
  246. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  247. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +7 -18
  248. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  249. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts.map +1 -1
  250. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
  251. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  252. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts.map +1 -1
  253. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +3 -2
  254. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  255. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
  256. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -23
  257. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  258. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts.map +1 -1
  259. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +3 -3
  260. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  261. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +2 -3
  262. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts.map +1 -1
  263. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +2 -2
  264. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  265. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -1
  266. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts.map +1 -1
  267. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +39 -10
  268. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  269. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
  270. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts.map +1 -1
  271. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +1 -1
  272. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  273. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +10 -9
  274. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  275. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -1
  276. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts.map +1 -1
  277. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  278. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  280. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts.map +1 -1
  281. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +4 -4
  282. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  283. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts.map +1 -1
  284. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +10 -1
  285. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  286. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +41 -13
  287. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts.map +1 -1
  288. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +7 -0
  289. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts.map +1 -1
  290. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -2
  291. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  292. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
  293. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +20 -3
  294. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  295. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +68 -0
  296. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts.map +1 -0
  297. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +70 -0
  298. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
  299. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
  300. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
  301. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
  302. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
  303. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +11 -2
  304. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  305. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +38 -2
  306. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  307. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +27 -3
  308. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +7 -2
  310. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts.map +1 -1
  311. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +14 -2
  312. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  313. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
  314. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  315. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +19 -1
  316. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  317. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  318. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts.map +1 -1
  319. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  320. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
  321. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  322. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +1 -0
  323. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts.map +1 -1
  324. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +2 -2
  325. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  326. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  327. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts.map +1 -1
  328. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
  329. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -1
  330. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  331. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +5 -0
  332. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  333. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +9 -2
  334. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  335. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts.map +1 -1
  336. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +32 -8
  337. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  338. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
  339. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +8 -2
  340. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  341. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
  342. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +8 -4
  343. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  344. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -0
  345. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  346. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  347. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts +6 -0
  348. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts.map +1 -0
  349. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js +12 -0
  350. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -0
  351. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +6 -2
  352. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
  353. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +20 -4
  354. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  355. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +12 -6
  356. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +12 -6
  357. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
  358. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +12 -6
  359. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +12 -6
  360. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +12 -6
  361. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +12 -6
  362. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +12 -6
  363. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +12 -6
  364. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +12 -6
  365. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +12 -6
  366. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +12 -6
  367. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +12 -6
  368. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +12 -6
  369. package/package.json +11 -11
  370. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts +0 -6
  371. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts.map +0 -1
  372. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.js.map +0 -1
  373. package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts.map +0 -1
  374. package/dist/dist-esm/calling-component-bindings/src/callUtils.js.map +0 -1
  375. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts.map +0 -1
  376. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js.map +0 -1
  377. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts +0 -74
  378. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts.map +0 -1
  379. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js +0 -85
  380. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js.map +0 -1
  381. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +0 -21
  382. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +0 -1
  383. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +0 -59
  384. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +0 -1
@@ -1,80 +1,33 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
4
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
5
- return new (P || (P = Promise))(function (resolve, reject) {
6
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
7
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
9
- step((generator = generator.apply(thisArg, _arguments || [])).next());
10
- });
11
- };
12
- import React, { useEffect, useMemo, useRef } from 'react';
13
- import { useCancellableTask } from '../utils/useCancellableTask';
3
+ import { useEffect, useMemo } from 'react';
14
4
  /**
15
5
  * Helper hook to maintain the video stream lifecycle. This calls onCreateStreamView and onDisposeStreamView
16
6
  * appropriately based on react lifecycle events and prop changes.
17
- * This also handles calls to view.update* appropriately such as view.updateScalingMode().
7
+ *
8
+ * @remarks
9
+ *
10
+ * Notes on handling changes to scaling mode:
11
+ *
12
+ * Ideally we have access to the original StreamRenderView and can call view.updateScalingMode() and do not need to recreate the stream view.
13
+ * However, to support backwards compat we cannot guarantee this. If we don't have access to the original StreamRenderView we need to dispose
14
+ * the old view and create a new one.
15
+ *
16
+ * Supporting both of these scenarios became too complex and fragile. When we introduce a breaking change this should be update to ensure that
17
+ * onCreateStreamView _must_ return a view object with updateScalingMode and update logic in this hook to call view.updateScalingMode instead
18
+ * of recreating the stream.
19
+ *
20
+ * @private
18
21
  */
19
22
  const useVideoStreamLifecycleMaintainer = (props) => {
20
23
  const { isMirrored, isScreenSharingOn, isStreamAvailable, onCreateStreamView, onDisposeStreamView, renderElementExists, scalingMode } = props;
21
- // HANDLING CHANGES TO VIDEO VIEW OPTIONS
22
- //
23
- // When VideoViewOptions change two things may happen:
24
- //
25
- // 1. Just the scaling mode has changed and we have access to the original StreamRenderView
26
- // - In this case we just need to call updateScalingMode on the view and do not need to recreate the stream view
27
- // 2. isMirrored has changed, or scalingMode change and we don't have access to the original StreamRenderView
28
- // - In this case we need to dispose the old view and create a new one
29
- //
30
- // For scenario 1, we hold onto a ref to the scalingMode that persists across renders. When VideoViewOptions.scalingMode
31
- // differs from the persistent ref, we know to call updateScalingMode. We then subsequently update the ref to the new value for
32
- // future renders.
33
- //
34
- // For scenario 2, we extract the VideoViewOptions.isMirrored to ensure any change to the isMirrored prop triggers the useEffect
35
- // that recreates the stream view. We must also here add an extra check for when the scaling mode changes and we do not have
36
- // access to the original StreamView (and hence cannot call updateScalingMode). When this happens we must also trigger the useEffect
37
- // that recreates the stream view.
38
- const [streamRendererResult, setStreamRendererResult] = React.useState();
39
- const scalingModeRef = useRef(scalingMode);
40
- const hasScalingModeChanged = scalingModeRef.current !== scalingMode;
41
- const updatingScalingModeDirectly = hasScalingModeChanged && !!streamRendererResult;
42
- const [triggerRescale, cancelRescale] = useCancellableTask();
43
- const [triggerCreateStreamView, cancelCreateStreamView] = useCancellableTask();
44
- if (isStreamAvailable && renderElementExists && scalingMode && updatingScalingModeDirectly) {
45
- triggerRescale((cancellable) => __awaiter(void 0, void 0, void 0, function* () {
46
- streamRendererResult && (yield streamRendererResult.view.updateScalingMode(scalingMode));
47
- if (cancellable.cancelled) {
48
- return;
49
- }
50
- scalingModeRef.current = scalingMode;
51
- }));
52
- }
53
- // scalingModeForUseEffect will trigger the useEffect to recreate the stream view only if the scaling mode has changed and
54
- // we cannot call updateScalingMode on the view object directly. Otherwise it will be null to ensure the useEffect does not trigger
55
- // when scaling mode changes.
56
- const scalingModeForUseEffect = updatingScalingModeDirectly ? null : scalingMode;
57
24
  useEffect(() => {
58
25
  if (isStreamAvailable && !renderElementExists) {
59
- triggerCreateStreamView((cancellable) => __awaiter(void 0, void 0, void 0, function* () {
60
- const streamViewOptions = {
61
- isMirrored: isMirrored,
62
- scalingMode: scalingModeForUseEffect === null ? scalingModeRef.current : scalingModeForUseEffect
63
- };
64
- const streamRendererResult = yield (onCreateStreamView === null || onCreateStreamView === void 0 ? void 0 : onCreateStreamView(streamViewOptions));
65
- // Avoid race condition where onDisposeStreamView is called before onCreateStreamView
66
- // and setStreamRendererResult have completed
67
- if (cancellable.cancelled) {
68
- return;
69
- }
70
- streamRendererResult && setStreamRendererResult(streamRendererResult);
71
- }));
26
+ onCreateStreamView === null || onCreateStreamView === void 0 ? void 0 : onCreateStreamView({ isMirrored, scalingMode });
72
27
  }
73
28
  // Always clean up element to make tile up to date and be able to dispose correctly
74
29
  return () => {
75
30
  if (renderElementExists) {
76
- cancelRescale();
77
- cancelCreateStreamView();
78
31
  // TODO: Remove `if isScreenSharingOn` when we isolate dispose behavior for screen share
79
32
  if (!isScreenSharingOn) {
80
33
  onDisposeStreamView === null || onDisposeStreamView === void 0 ? void 0 : onDisposeStreamView();
@@ -82,30 +35,25 @@ const useVideoStreamLifecycleMaintainer = (props) => {
82
35
  }
83
36
  };
84
37
  }, [
85
- cancelCreateStreamView,
86
- cancelRescale,
87
38
  isMirrored,
88
39
  isScreenSharingOn,
89
40
  isStreamAvailable,
90
41
  onCreateStreamView,
91
42
  onDisposeStreamView,
92
43
  renderElementExists,
93
- scalingModeForUseEffect,
94
- triggerCreateStreamView
44
+ scalingMode
95
45
  ]);
96
46
  // The execution order for above useEffect is onCreateRemoteStreamView =>(async time gap) RenderElement generated => element disposed => onDisposeRemoteStreamView
97
47
  // Element disposed could happen during async time gap, which still cause leaks for unused renderElement.
98
48
  // Need to do an entire cleanup when remoteTile gets disposed and make sure element gets correctly disposed
99
49
  useEffect(() => {
100
50
  return () => {
101
- cancelRescale();
102
- cancelCreateStreamView();
103
51
  // TODO: Remove `if isScreenSharingOn` when we isolate dispose behavior for screen share
104
52
  if (!isScreenSharingOn) {
105
53
  onDisposeStreamView === null || onDisposeStreamView === void 0 ? void 0 : onDisposeStreamView();
106
54
  }
107
55
  };
108
- }, [cancelCreateStreamView, cancelRescale, isScreenSharingOn, onDisposeStreamView]);
56
+ }, [isScreenSharingOn, onDisposeStreamView]);
109
57
  };
110
58
  /**
111
59
  * Extension of {@link useVideoStreamLifecycleMaintainer} specifically for local video streams
@@ -1 +1 @@
1
- {"version":3,"file":"useVideoStreamLifecycleMaintainer.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAe,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAe9E;;;;GAIG;AACH,MAAM,iCAAiC,GAAG,CAAC,KAA0C,EAAQ,EAAE;IAC7F,MAAM,EACJ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACZ,GAAG,KAAK,CAAC;IAEV,yCAAyC;IACzC,EAAE;IACF,sDAAsD;IACtD,EAAE;IACF,2FAA2F;IAC3F,kHAAkH;IAClH,6GAA6G;IAC7G,wEAAwE;IACxE,EAAE;IACF,wHAAwH;IACxH,+HAA+H;IAC/H,kBAAkB;IAClB,EAAE;IACF,gIAAgI;IAChI,4HAA4H;IAC5H,oIAAoI;IACpI,kCAAkC;IAElC,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,KAAK,CAAC,QAAQ,EAA+B,CAAC;IACtG,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;IAC3C,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,KAAK,WAAW,CAAC;IACrE,MAAM,2BAA2B,GAAG,qBAAqB,IAAI,CAAC,CAAC,oBAAoB,CAAC;IAEpF,MAAM,CAAC,cAAc,EAAE,aAAa,CAAC,GAAG,kBAAkB,EAAE,CAAC;IAC7D,MAAM,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,GAAG,kBAAkB,EAAE,CAAC;IAE/E,IAAI,iBAAiB,IAAI,mBAAmB,IAAI,WAAW,IAAI,2BAA2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CAAC,MAAM,uCAAuC,GAAG,CAAC,KAAgD,EAAQ,EAAE;IAChH,MAAM,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,GAAG,KAAK,CAAC;IAC3F,MAAM,kBAAkB,GAAG,OAAO,CAChC,GAAG,EAAE,CAAC,CAAC,OAA4B,EAAE,EAAE;QACrC,OAAO,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAG,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC,EACD,CAAC,wBAAwB,EAAE,mBAAmB,CAAC,CAChD,CAAC;IACF,MAAM,mBAAmB,GAAG,OAAO,CACjC,GAAG,EAAE,CAAC,GAAG,EAAE;QACT,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAG,mBAAmB,CAAC,CAAC;IACnD,CAAC,EACD,CAAC,yBAAyB,EAAE,mBAAmB,CAAC,CACjD,CAAC;IAEF,OAAO,iCAAiC,iCACnC,KAAK,KACR,kBAAkB;QAClB,mBAAmB,IACnB,CAAC;AACL,CAAC,CAAC"}
1
+ {"version":3,"file":"useVideoStreamLifecycleMaintainer.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAiB3C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,iCAAiC,GAAG,CAAC,KAA0C,EAAQ,EAAE;IAC7F,MAAM,EACJ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACZ,GAAG,KAAK,CAAC;IAEV,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,iBAAiB,IAAI,CAAC,mBAAmB,EAAE;YAC7C,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAG,EAAE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AiC,iCACnC,KAAK,KACR,kBAAkB;QAClB,mBAAmB,IACnB,CAAC;AACL,CAAC,CAAC;AAYF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,KAAgD,EAAQ,EAAE;IAChH,MAAM,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,GAAG,KAAK,CAAC;IAC3F,MAAM,kBAAkB,GAAG,OAAO,CAChC,GAAG,EAAE,CAAC,CAAC,OAA4B,EAAE,EAAE;QACrC,OAAO,wBAAwB,aAAxB,wBAAwB,uBAAxB,wBAAwB,CAAG,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC,EACD,CAAC,wBAAwB,EAAE,mBAAmB,CAAC,CAChD,CAAC;IACF,MAAM,mBAAmB,GAAG,OAAO,CACjC,GAAG,EAAE,CAAC,GAAG,EAAE;QACT,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAG,mBAAmB,CAAC,CAAC;IACnD,CAAC,EACD,CAAC,yBAAyB,EAAE,mBAAmB,CAAC,CACjD,CAAC;IAEF,OAAO,iCAAiC,iCACnC,KAAK,KACR,kBAAkB;QAClB,mBAAmB,IACnB,CAAC;AACL,CAAC,CAAC"}
@@ -22,6 +22,8 @@ export interface VideoGalleryStrings {
22
22
  localVideoMovementLabel: string;
23
23
  /** String for announcing the selected camera */
24
24
  localVideoSelectedDescription: string;
25
+ /** placeholder text for participants who does not have a display name*/
26
+ displayNamePlaceholder: string;
25
27
  }
26
28
  /**
27
29
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"VideoGallery.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoGallery.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAiD,MAAM,EAAiC,MAAM,iBAAiB,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAKrC,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6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AAqD;IACrD,uBAAuB,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,GAAG,2BAA2B,CAAC,CAAC;IACxG,yDAAyD;IACzD,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,6CAA6C;IAC7C,sBAAsB,CAAC,EAAE,CAAC,gBAAgB,EAAE,4BAA4B,KAAK,GAAG,CAAC,OAAO,CAAC;IACzF,oDAAoD;IACpD,wBAAwB,CAAC,EAAE,CACzB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,kBAAkB,KACzB,OAAO,CAAC,IAAI,GAAG,2BAA2B,CAAC,CAAC;IACjD,6CAA6C;IAC7C,uBAAuB,CAAC,EAAE,CAAC,iBAAiB,EAAE,6BAA6B,KAAK,GAAG,CAAC,OAAO,CAAC;IAC5F,qDAAqD;IACrD,yBAAyB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,6CAA6C;IAC7C,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC;;OAEG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAC3C;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,gCAAgC,CAAC,EAAE,gCAAgC,CAAC;CACrE;AAeD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,UAAW,iBAAiB,KAAG,WAuQvD,CAAC"}
1
+ {"version":3,"file":"VideoGallery.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoGallery.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAiD,MAAM,EAAiC,MAAM,iBAAiB,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,GA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ideoTil
40
40
  * @public
41
41
  */
42
42
  export const VideoGallery = (props) => {
43
- var _a, _b, _c;
43
+ var _a, _b, _c, _d;
44
44
  const { localParticipant, remoteParticipants = [], localVideoViewOptions, remoteVideoViewOptions, dominantSpeakers, onRenderLocalVideoTile, onRenderRemoteVideoTile, onCreateLocalStreamView, onDisposeLocalStreamView, onCreateRemoteStreamView, onDisposeRemoteStreamView, styles, layout, onRenderAvatar, showMuteIndicator, maxRemoteVideoStreams = DEFAULT_MAX_REMOTE_VIDEO_STREAMS, showCameraSwitcherInLocalPreview, localVideoCameraCycleButtonProps } = props;
45
45
  const ids = useIdentifiers();
46
46
  const theme = useTheme();
@@ -91,8 +91,9 @@ export const VideoGallery = (props) => {
91
91
  const localVideoTileStyles = concatStyleSets(shouldFloatLocalVideo ? floatingLocalVideoTileStyle : {}, {
92
92
  root: { borderRadius: theme.effects.roundedCorner4 }
93
93
  }, styles === null || styles === void 0 ? void 0 : styles.localVideo);
94
+ const initialsName = !localParticipant.displayName ? strings.displayNamePlaceholder : localParticipant.displayName;
94
95
  return (React.createElement(Stack, { key: "local-video-tile-key", tabIndex: 0, "aria-label": strings.localVideoMovementLabel, role: 'dialog' },
95
- React.createElement(_LocalVideoTile, { userId: localParticipant.userId, onCreateLocalStreamView: onCreateLocalStreamView, onDisposeLocalStreamView: onDisposeLocalStreamView, isAvailable: (_a = localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable, isMuted: localParticipant.isMuted, renderElement: (_b = localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.videoStream) === null || _b === void 0 ? void 0 : _b.renderElement, displayName: isNarrow ? '' : strings.localVideoLabel, initialsName: localParticipant.displayName, localVideoViewOptions: localVideoViewOptions, onRenderAvatar: onRenderAvatar, showLabel: !(shouldFloatLocalVideo && isNarrow), showMuteIndicator: showMuteIndicator, showCameraSwitcherInLocalPreview: showCameraSwitcherInLocalPreview, localVideoCameraCycleButtonProps: localVideoCameraCycleButtonProps, localVideoCameraSwitcherLabel: strings.localVideoCameraSwitcherLabel, localVideoSelectedDescription: strings.localVideoSelectedDescription, styles: localVideoTileStyles })));
96
+ React.createElement(_LocalVideoTile, { userId: localParticipant.userId, onCreateLocalStreamView: onCreateLocalStreamView, onDisposeLocalStreamView: onDisposeLocalStreamView, isAvailable: (_a = localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable, isMuted: localParticipant.isMuted, renderElement: (_b = localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.videoStream) === null || _b === void 0 ? void 0 : _b.renderElement, displayName: isNarrow ? '' : strings.localVideoLabel, initialsName: initialsName, localVideoViewOptions: localVideoViewOptions, onRenderAvatar: onRenderAvatar, showLabel: !(shouldFloatLocalVideo && isNarrow), showMuteIndicator: showMuteIndicator, showCameraSwitcherInLocalPreview: showCameraSwitcherInLocalPreview, localVideoCameraCycleButtonProps: localVideoCameraCycleButtonProps, localVideoCameraSwitcherLabel: strings.localVideoCameraSwitcherLabel, localVideoSelectedDescription: strings.localVideoSelectedDescription, styles: localVideoTileStyles })));
96
97
  }, [
97
98
  isNarrow,
98
99
  localParticipant,
@@ -109,12 +110,13 @@ export const VideoGallery = (props) => {
109
110
  strings.localVideoLabel,
110
111
  strings.localVideoMovementLabel,
111
112
  strings.localVideoSelectedDescription,
113
+ strings.displayNamePlaceholder,
112
114
  styles === null || styles === void 0 ? void 0 : styles.localVideo,
113
115
  theme.effects.roundedCorner4
114
116
  ]);
115
117
  const defaultOnRenderVideoTile = useCallback((participant, isVideoParticipant) => {
116
118
  const remoteVideoStream = participant.videoStream;
117
- return (React.createElement(_RemoteVideoTile, Object.assign({ key: participant.userId }, participant, { onCreateRemoteStreamView: isVideoParticipant ? onCreateRemoteStreamView : undefined, onDisposeRemoteStreamView: isVideoParticipant ? onDisposeRemoteStreamView : undefined, isAvailable: isVideoParticipant ? remoteVideoStream === null || remoteVideoStream === void 0 ? void 0 : remoteVideoStream.isAvailable : false, renderElement: isVideoParticipant ? remoteVideoStream === null || remoteVideoStream === void 0 ? void 0 : remoteVideoStream.renderElement : undefined, remoteVideoViewOptions: isVideoParticipant ? remoteVideoViewOptions : undefined, onRenderAvatar: onRenderAvatar, showMuteIndicator: showMuteIndicator })));
119
+ return (React.createElement(_RemoteVideoTile, Object.assign({ key: participant.userId }, participant, { onCreateRemoteStreamView: isVideoParticipant ? onCreateRemoteStreamView : undefined, onDisposeRemoteStreamView: isVideoParticipant ? onDisposeRemoteStreamView : undefined, isAvailable: isVideoParticipant ? remoteVideoStream === null || remoteVideoStream === void 0 ? void 0 : remoteVideoStream.isAvailable : false, isReceiving: isVideoParticipant ? remoteVideoStream === null || remoteVideoStream === void 0 ? void 0 : remoteVideoStream.isReceiving : false, renderElement: isVideoParticipant ? remoteVideoStream === null || remoteVideoStream === void 0 ? void 0 : remoteVideoStream.renderElement : undefined, remoteVideoViewOptions: isVideoParticipant ? remoteVideoViewOptions : undefined, onRenderAvatar: onRenderAvatar, showMuteIndicator: showMuteIndicator })));
118
120
  }, [onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, onRenderAvatar, showMuteIndicator]);
119
121
  const videoTiles = onRenderRemoteVideoTile
120
122
  ? visibleVideoParticipants.current.map((participant) => onRenderRemoteVideoTile(participant))
@@ -144,7 +146,7 @@ export const VideoGallery = (props) => {
144
146
  gridTiles.push(localVideoTile);
145
147
  }
146
148
  const localScreenShareStreamComponent = React.createElement(LocalScreenShare, { localParticipant: localParticipant });
147
- const remoteScreenShareComponent = screenShareParticipant && (React.createElement(RemoteScreenShare, Object.assign({}, screenShareParticipant, { renderElement: (_c = screenShareParticipant.screenShareStream) === null || _c === void 0 ? void 0 : _c.renderElement, onCreateRemoteStreamView: onCreateRemoteStreamView, onDisposeRemoteStreamView: onDisposeRemoteStreamView })));
149
+ const remoteScreenShareComponent = screenShareParticipant && (React.createElement(RemoteScreenShare, Object.assign({}, screenShareParticipant, { renderElement: (_c = screenShareParticipant.screenShareStream) === null || _c === void 0 ? void 0 : _c.renderElement, onCreateRemoteStreamView: onCreateRemoteStreamView, onDisposeRemoteStreamView: onDisposeRemoteStreamView, isReceiving: (_d = screenShareParticipant.screenShareStream) === null || _d === void 0 ? void 0 : _d.isReceiving })));
148
150
  const horizontalGalleryPresent = horizontalGalleryTiles && horizontalGalleryTiles.length > 0;
149
151
  const layerHostId = useId('layerhost');
150
152
  return (React.createElement("div", { "data-ui-id": ids.videoGallery, ref: containerRef, className: mergeStyles(videoGalleryOuterDivStyle, styles === null || styles === void 0 ? void 0 : styles.root) },
@@ -1 +1 @@
1
- {"version":3,"file":"VideoGallery.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoGallery.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAwB,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC5G,OAAO,EACL,sCAAsC,EACtC,sCAAsC,EACtC,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,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sB,CACK,CAC1B,CACP;YAED,oBAAC,SAAS,IAAC,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC,GAAI,CAChE,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"VideoGallery.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoGallery.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAwB,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC5G,OAAO,EACL,sCAAsC,EACtC,sCAAsC,EACtC,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAA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AAsC,CAAC,KAAK,EAExG,cAAc,EAAE,+BAA+B,EAC/C,WAAW,EAAE,sBAAsB,IAElC,sBAAsB,CACK,CAC1B,CACP;YAED,oBAAC,SAAS,IAAC,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC,GAAI,CAChE,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"VideoTile.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoTile.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,MAAM,EAAqC,MAAM,iBAAiB,CAAC;AAElF,OAAO,KAAqD,MAAM,OAAO,CAAC;AAG1E,OAAO,EAAE,gBAAgB,EAAuB,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAczF;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,gGAAgG;IAChG,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IACnC,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sGAAsG;IACtG,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA0BD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,UAAW,cAAc,KAAG,WAgIjD,CAAC"}
1
+ {"version":3,"file":"VideoTile.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoTile.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,MAAM,EAAqC,MAAM,iBAAiB,CAAC;AAElF,OAAO,KAAqD,MAAM,OAAO,CAAC;AAG1E,OAAO,EAAE,gBAAgB,EAAuB,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAczF;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,gGAAgG;IAChG,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IACnC,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sGAAsG;IACtG,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iGAAiG;IACjG,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA2BD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,UAAW,cAAc,KAAG,WAgIjD,CAAC"}
@@ -14,7 +14,7 @@ const DEFAULT_PERSONA_MIN_SIZE_PX = 32;
14
14
  const DefaultPlaceholder = (props) => {
15
15
  const { text, noVideoAvailableAriaLabel, coinSize, styles, hidePersonaDetails } = props;
16
16
  return (React.createElement(Stack, { className: mergeStyles({ position: 'absolute', height: '100%', width: '100%' }) },
17
- React.createElement(Persona, { styles: styles, coinSize: coinSize, hidePersonaDetails: hidePersonaDetails, text: text !== null && text !== void 0 ? text : '', initialsTextColor: "white", "aria-label": noVideoAvailableAriaLabel !== null && noVideoAvailableAriaLabel !== void 0 ? noVideoAvailableAriaLabel : '' })));
17
+ React.createElement(Persona, { styles: styles, coinSize: coinSize, hidePersonaDetails: hidePersonaDetails, text: text !== null && text !== void 0 ? text : '', initialsTextColor: "white", "aria-label": noVideoAvailableAriaLabel !== null && noVideoAvailableAriaLabel !== void 0 ? noVideoAvailableAriaLabel : '', showOverflowTooltip: false })));
18
18
  };
19
19
  const defaultPersonaStyles = { root: { margin: 'auto', maxHeight: '100%' } };
20
20
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"VideoTile.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAU,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,UAAU,EACV,oBAAoB,EACpB,SAAS,EACT,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAoFzE,8CAA8C;AAC9C,MAAM,2BAA2B,GAAG,GAAG,CAAC;AACxC,0CAA0C;AAC1C,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAEvC,MAAM,kBAAkB,GAAG,CAAC,KAA0B,EAAe,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IAExF,OAAO,CACL,oBAAC,KAAK,IAAC,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;QACpF,oBAAC,OAAO,IACN,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,IAAI,EAAE,IAAI,aAAJ,IAAI,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WAAW,CAAC,kBAAkB,CAAC;wBAC/C,oBAAC,IAAI,IAAC,QAAQ,EAAC,iBAAiB,GAAG,CAC7B,CACT,CACK,CACF,CACT;YAEA,QAAQ,IAAI,CACX,oBAAC,KAAK,IAAC,SAAS,EAAE,WAAW,CAAC,sBAAsB,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,gBAAgB,CAAC,IAAG,QAAQ,CAAS,CACpG,CACK,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"VideoTile.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/VideoTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAU,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,UAAU,EACV,oBAAoB,EACpB,SAAS,EACT,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAoFzE,8CAA8C;AAC9C,MAAM,2BAA2B,GAAG,GAAG,CAAC;AACxC,0CAA0C;AAC1C,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAEvC,MAAM,kBAAkB,GAAG,CAAC,KAA0B,EAAe,EAAE;IACrE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,EAAE,kBAAkB,EAAE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AAC,IAAI,CAC/D,oBAAC,KAAK,IAAC,UAAU,QAAC,SAAS,EAAE,sBAAsB;gBACjD,oBAAC,KAAK,IAAC,UAAU,QAAC,SAAS,EAAE,aAAa;oBACvC,WAAW,IAAI,CACd,oBAAC,IAAI,IAAC,SAAS,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,WAAW,IAC/D,WAAW,CACP,CACR;oBACA,iBAAiB,IAAI,OAAO,IAAI,CAC/B,oBAAC,KAAK,IAAC,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC;wBAC/C,oBAAC,IAAI,IAAC,QAAQ,EAAC,iBAAiB,GAAG,CAC7B,CACT,CACK,CACF,CACT;YAEA,QAAQ,IAAI,CACX,oBAAC,KAAK,IAAC,SAAS,EAAE,WAAW,CAAC,sBAAsB,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,gBAAgB,CAAC,IAAG,QAAQ,CAAS,CACpG,CACK,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { InputBoxButtonProps } from './InputBoxComponent';
3
+ /**
4
+ * @private
5
+ */
6
+ export declare const VoiceOverButton: (props: InputBoxButtonProps) => JSX.Element;
7
+ //# sourceMappingURL=VoiceOverButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VoiceOverButton.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/VoiceOverButton.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAG1D;;GAEG;AACH,eAAO,MAAM,eAAe,UAAW,mBAAmB,KAAG,WAgC5D,CAAC"}
@@ -0,0 +1,32 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ import { DefaultButton, mergeStyles, TooltipHost } from '@fluentui/react';
4
+ import React, { useState } from 'react';
5
+ import { iconWrapperStyle, buttonStyle } from './styles/VoiceOverButton.style';
6
+ import { useTheme } from '../theming';
7
+ import { isDarkThemed } from '../theming/themeUtils';
8
+ import { inputButtonTooltipStyle } from './styles/InputBoxComponent.style';
9
+ /**
10
+ * @private
11
+ */
12
+ export const VoiceOverButton = (props) => {
13
+ const { onRenderIcon, onClick, ariaLabel, className, id, tooltipContent } = props;
14
+ const [isHover, setIsHover] = useState(false);
15
+ const mergedButtonStyle = mergeStyles(buttonStyle, className);
16
+ const theme = useTheme();
17
+ const calloutStyle = { root: { padding: 0 }, calloutMain: { padding: '0.5rem' } };
18
+ // Place callout with no gap between it and the button.
19
+ const calloutProps = {
20
+ gapSpace: 0,
21
+ styles: calloutStyle,
22
+ backgroundColor: isDarkThemed(theme) ? theme.palette.neutralLighter : ''
23
+ };
24
+ return (React.createElement(TooltipHost, { hostClassName: inputButtonTooltipStyle, content: tooltipContent, calloutProps: Object.assign({}, calloutProps) },
25
+ React.createElement(DefaultButton, { className: mergedButtonStyle, ariaLabel: ariaLabel, onClick: onClick, id: id, onMouseEnter: () => {
26
+ setIsHover(true);
27
+ }, onMouseLeave: () => {
28
+ setIsHover(false);
29
+ } }),
30
+ React.createElement("div", { className: iconWrapperStyle }, onRenderIcon(isHover))));
31
+ };
32
+ //# sourceMappingURL=VoiceOverButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VoiceOverButton.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/VoiceOverButton.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,aAAa,EAAyB,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE/E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEr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nD,CACf,CAAC;AACJ,CAAC,CAAC"}
@@ -13,6 +13,7 @@ export { MessageThread } from './MessageThread';
13
13
  export type { MessageProps, MessageThreadProps, MessageThreadStrings, MessageThreadStyles, JumpToNewMessageButtonProps, MessageRenderer, UpdateMessageCallback } from './MessageThread';
14
14
  export { StreamMedia } from './StreamMedia';
15
15
  export type { StreamMediaProps } from './StreamMedia';
16
+ export type { LoadingState } from './StreamMedia';
16
17
  export { ParticipantItem } from './ParticipantItem';
17
18
  export type { ParticipantItemProps, ParticipantItemStrings, ParticipantItemStyles } from './ParticipantItem';
18
19
  export { ParticipantList } from './ParticipantList';
@@ -49,11 +50,14 @@ export * from './FileCard';
49
50
  export * from './FileCardGroup';
50
51
  export * from './ModalClone/ModalClone';
51
52
  export * from './FileDownloadCards';
53
+ export type { _FileUploadCardsStrings } from './FileUploadCards';
52
54
  export { _useContainerHeight, _useContainerWidth } from './utils/responsive';
53
55
  export { _ComplianceBanner } from './ComplianceBanner';
54
56
  export type { _ComplianceBannerProps, _ComplianceBannerStrings } from './ComplianceBanner';
55
- export { _Dialpad } from './Dialpad/Dialpad';
56
- export type { _DialpadProps, _DialpadStrings, _DialpadButtonProps, _DialpadStyles } from './Dialpad/Dialpad';
57
+ export { Dialpad } from './Dialpad/Dialpad';
58
+ export type { DialpadProps, DialpadStrings, DialpadButtonProps, DialpadStyles, DtmfTone } from './Dialpad/Dialpad';
59
+ export { HoldButton } from './HoldButton';
60
+ export type { HoldButtonProps, HoldButtonStrings } from './HoldButton';
57
61
  export { _LocalVideoTile } from './LocalVideoTile';
58
62
  export { _RemoteVideoTile } from './RemoteVideoTile';
59
63
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/components/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,0BAA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* from './FileDownloadCards';
29
29
  export { _useContainerHeight, _useContainerWidth } from './utils/responsive';
30
30
  export { _ComplianceBanner } from './ComplianceBanner';
31
- export { _Dialpad } from './Dialpad/Dialpad';
31
+ /* @conditional-compile-remove(dialpad) */
32
+ export { Dialpad } from './Dialpad/Dialpad';
33
+ /* @conditional-compile-remove(PSTN-calls) */
34
+ export { HoldButton } from './HoldButton';
32
35
  export { _LocalVideoTile } from './LocalVideoTile';
33
36
  export { _RemoteVideoTile } from './RemoteVideoTile';
34
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;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","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/MessageThread.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAe,MAAM,iBAAiB,CAAC;AAmB7D;;GAEG;AACH,eAAO,MAAM,2BAA2B,QAOtC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAI/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,kBAKvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,QAKzC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAElC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,4BAA6B,OAAO,KAAG,kBAQlF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,kBAI3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,kBAG1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,kBAazC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,kBAO9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAMpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,SAAU,OAAO,KAAG,MAGxD,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAGhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAIlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,QAKzC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,QAExB,CAAC"}
1
+ {"version":3,"file":"MessageThread.styles.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/MessageThread.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAe,MAAM,iBAAiB,CAAC;AAqB7D;;GAEG;AACH,eAAO,MAAM,2BAA2B,QAOtC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,QAI/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,kBAQvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,QAKzC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAElC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,4BAA6B,OAAO,KAAG,kBAQlF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,kBAI3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,kBAG1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,kBAazC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,kBAO9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAMpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,SAAU,OAAO,KAAG,MAGxD,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAGhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAIlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,QAKzC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,QAExB,CAAC"}
@@ -15,6 +15,8 @@ const MESSAGE_AMOUNT_OUT_FROM_EDGE_REM = 2;
15
15
  const MESSAGE_AVATAR_OVERLAP_REM = 0.425;
16
16
  const CHAT_MESSAGE_ZINDEX = 1;
17
17
  const AVATAR_ZINDEX = 2;
18
+ // new message button should be on top of chat message
19
+ const NEW_MESSAGE_BUTTON_ZINDEX = 2;
18
20
  /**
19
21
  * @private
20
22
  */
@@ -41,14 +43,17 @@ export const chatStyle = {
41
43
  paddingBottom: '0.5rem',
42
44
  paddingTop: '0.8rem',
43
45
  border: 'none',
44
- overflow: 'auto'
46
+ overflow: 'auto',
47
+ // `height: 100%` ensures that the Chat component covers 100% of it's parents height
48
+ // to prevent intermittent scrollbars when gifs are present in the chat.
49
+ height: '100%'
45
50
  };
46
51
  /**
47
52
  * @private
48
53
  */
49
54
  export const newMessageButtonContainerStyle = mergeStyles({
50
55
  position: 'absolute',
51
- zIndex: 1,
56
+ zIndex: NEW_MESSAGE_BUTTON_ZINDEX,
52
57
  bottom: 0,
53
58
  right: '1.5rem'
54
59
  });
@@ -1 +1 @@
1
- {"version":3,"file":"MessageThread.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/MessageThread.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AAEpF,sFAAsF;AACtF,8CAA8C;AAC9C,MAAM,oCAAoC,GAAG,IAAI,CAAC;AAElD,sEAAsE;AACtE,yEAAyE;AACzE,oFAAoF;AACpF,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,sBAAsB,GAAG,GAAG,CAAC;AACnC,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAE3C,gFAAgF;AAChF,MAAM,0BAA0B,GAAG,KAAK,CAAC;AACzC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAC9B,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB;;G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;IACd,KAAK,EAAE,aAAa;CACrB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAkB;IACjD,aAAa,EAAE;QACb,OAAO,EAAE,UAAU;KACpB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,WAAW,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;IACjC,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;CACnC,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;IACvC,WAAW,EAAE,OAAO;CACrB,CAAC,CAAC"}
1
+ {"version":3,"file":"MessageThread.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/MessageThread.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AAEpF,sFAAsF;AACtF,8CAA8C;AAC9C,MAAM,oCAAoC,GAAG,IAAI,CAAC;AAElD,sEAAsE;AACtE,yEAAyE;AACzE,oFAAoF;AACpF,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,sBAAsB,GAAG,GAAG,CAAC;AACnC,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAE3C,gFAAgF;AAChF,MAAM,0BAA0B,GAAG,KAAK,CAAC;AACzC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAC9B,MAAM,aAAa,GAAG,CAAC,CAAC;AACxB,sDAAsD;AACtD,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAEpC;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,WAAW,CAAC;IACrD,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,M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;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAkB;IACjD,aAAa,EAAE;QACb,OAAO,EAAE,UAAU;KACpB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,WAAW,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;IACjC,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;CACnC,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;IACvC,WAAW,EAAE,OAAO;CACrB,CAAC,CAAC"}
@@ -1,4 +1,16 @@
1
- import { Theme } from '@fluentui/react';
1
+ import { ISpinnerStyles, Theme } from '@fluentui/react';
2
+ /**
3
+ * @private
4
+ */
5
+ export declare const container: () => string;
6
+ /**
7
+ * @private
8
+ */
9
+ export declare const loadingSpinnerContainer: () => string;
10
+ /**
11
+ * @private
12
+ */
13
+ export declare const loadSpinnerStyles: ISpinnerStyles;
2
14
  /**
3
15
  * @private
4
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StreamMedia.styles.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/StreamMedia.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,cAAc,UAAW,KAAK,KAAG,MAU1C,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,uBAAuB,UAAW,KAAK,KAAG,MAcnD,CAAC"}
1
+ {"version":3,"file":"StreamMedia.styles.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/StreamMedia.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAe,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,SAAS,QAAO,MAIzB,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,MASvC,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAW/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,UAAW,KAAK,KAAG,MAU1C,CAAC;AAEL;;GAEG;AACH,eAAO,MAAM,uBAAuB,UAAW,KAAK,KAAG,MAcnD,CAAC"}
@@ -1,6 +1,40 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
3
  import { mergeStyles } from '@fluentui/react';
4
+ /**
5
+ * @private
6
+ */
7
+ export const container = () => mergeStyles({
8
+ position: 'relative',
9
+ display: 'contents'
10
+ });
11
+ /**
12
+ * @private
13
+ */
14
+ export const loadingSpinnerContainer = () => mergeStyles({
15
+ // Position centrally on top of content. Parent must have position: relative.
16
+ position: 'absolute',
17
+ top: '50%',
18
+ bottom: '0',
19
+ left: '50%',
20
+ right: '0',
21
+ transform: 'translate(-50%, -50%)'
22
+ });
23
+ /**
24
+ * @private
25
+ */
26
+ export const loadSpinnerStyles = {
27
+ root: {
28
+ height: '100%' // ensure height fills container
29
+ },
30
+ circle: {
31
+ maxHeight: '5rem',
32
+ height: '50%',
33
+ width: 'unset',
34
+ aspectRatio: '1 / 1',
35
+ borderWidth: '0.25em'
36
+ }
37
+ };
4
38
  /**
5
39
  * @private
6
40
  */
@@ -1 +1 @@
1
- {"version":3,"file":"StreamMedia.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/StreamMedia.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAS,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAY,EAAU,EAAE,CACrD,WAAW,CAAC;IACV,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,MAAM;IACf,SAAS,EAAE;QACT,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;KAC3C;CACF,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAY,EAAU,EAAE,CAC9D,WAAW,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;IACjC,oEAAoE;IACpE,iFAAiF;IACjF,kEAAkE;IAClE,EAAE;IACF,oCAAoC;IACpC,SAAS,EAAE,iBAAiB;IAC5B,wCAAwC;IACxC,qCAAqC;IACrC,uGAAuG;IACvG,4BAA4B,EAAE;QAC5B,SAAS,EAAE,iBAAiB;KAC7B;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"StreamMedia.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/StreamMedia.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAkB,WAAW,EAAS,MAAM,iBAAiB,CAAC;AAErE;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAW,EAAE,CACpC,WAAW,CAAC;IACV,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAW,EAAE,CAClD,WAAW,CAAC;IACV,6EAA6E;IAC7E,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,GAAG;IACV,SAAS,EAAE,uBAAuB;CACnC,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAmB;IAC/C,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC,gCAAgC;KAChD;IACD,MAAM,EAAE;QACN,SAAS,EAAE,MAAM;QACjB,MAAM,EAAE,KAAK;QACb,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,OAAO;QACpB,WAAW,EAAE,QAAQ;KACtB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAY,EAAU,EAAE,CACrD,WAAW,CAAC;IACV,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;IACb,UAAU,EAAE,aAAa;IACzB,OAAO,EAAE,MAAM;IACf,SAAS,EAAE;QACT,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;KAC3C;CACF,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAY,EAAU,EAAE,CAC9D,WAAW,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;IACjC,oEAAoE;IACpE,iFAAiF;IACjF,kEAAkE;IAClE,EAAE;IACF,oCAAoC;IACpC,SAAS,EAAE,iBAAiB;IAC5B,wCAAwC;IACxC,qCAAqC;IACrC,uGAAuG;IACvG,4BAA4B,EAAE;QAC5B,SAAS,EAAE,iBAAiB;KAC7B;CACF,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @private
3
+ */
4
+ export declare const buttonStyle: string;
5
+ /**
6
+ * @private
7
+ */
8
+ export declare const iconWrapperStyle: string;
9
+ //# sourceMappingURL=VoiceOverButton.style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VoiceOverButton.style.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/VoiceOverButton.style.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,WAAW,QAWtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAG3B,CAAC"}