@azure/communication-react 1.13.0-beta.1 → 1.13.1-alpha-202402280012

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 (1110) hide show
  1. package/dist/communication-react.d.ts +1099 -140
  2. package/dist/dist-cjs/communication-react/index.js +8846 -5476
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +16 -5
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +20 -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 +15 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +58 -12
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +5 -5
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +13 -6
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +25 -56
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +13 -2
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +113 -47
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +15 -1
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +4 -2
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +2 -6
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +12 -0
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -0
  50. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +84 -11
  52. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  53. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +11 -7
  61. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +20 -0
  63. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +50 -1
  64. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +11 -3
  66. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +74 -18
  67. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +2 -0
  69. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +85 -11
  70. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  72. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  74. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +65 -75
  75. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +105 -2
  77. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +10 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +119 -17
  80. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  82. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +114 -97
  84. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +3 -0
  88. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +20 -4
  89. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/Converter.js +18 -13
  93. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  95. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  97. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  100. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  104. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +17 -0
  106. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +42 -0
  107. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -0
  108. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  111. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  112. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  113. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -3
  115. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  116. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
  117. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
  118. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
  119. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -0
  120. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +65 -67
  121. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  123. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  125. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  127. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +7 -8
  129. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  131. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  133. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  134. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  135. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  136. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +3 -0
  137. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  139. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  140. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  141. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  142. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  144. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  146. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  147. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  148. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  150. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  151. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  152. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +52 -32
  153. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  154. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  157. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  159. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  161. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  163. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  164. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  165. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  166. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +7 -3
  167. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +67 -17
  168. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +8 -11
  171. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  173. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +11 -3
  174. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +41 -12
  175. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  176. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +20 -0
  177. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +74 -68
  178. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  179. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  180. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  181. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +4 -1
  182. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  190. package/dist/dist-esm/communication-react/src/index.d.ts +10 -5
  191. package/dist/dist-esm/communication-react/src/index.js +2 -2
  192. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  193. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  195. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  199. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  203. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  206. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  208. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  210. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +7 -7
  212. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +46 -30
  213. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  214. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  215. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  217. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +14 -8
  219. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +48 -46
  221. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +70 -31
  223. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +23 -25
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +54 -36
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +70 -32
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  234. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  236. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  238. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  242. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  243. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  244. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  245. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  246. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  247. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  248. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +4 -10
  249. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +14 -31
  251. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  253. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +24 -6
  255. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +12 -20
  257. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  259. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.d.ts +7 -0
  261. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  262. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  263. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +7 -7
  264. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +46 -52
  265. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  267. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  269. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  271. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  273. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  275. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  278. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  280. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  281. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  283. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  285. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +4 -14
  287. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -16
  288. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  290. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  291. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  292. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  294. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  296. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  298. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +58 -0
  300. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +53 -0
  301. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -0
  302. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
  303. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +5 -7
  305. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  307. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  308. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
  309. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +143 -12
  310. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +1 -1
  312. package/dist/dist-esm/react-components/src/components/MentionPopover.js +17 -14
  313. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.d.ts +19 -0
  315. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +20 -0
  316. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -0
  317. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +4 -77
  318. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.d.ts +42 -0
  320. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +73 -0
  321. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -0
  322. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  323. package/dist/dist-esm/react-components/src/components/MessageThread.js +117 -51
  324. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  326. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  328. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -0
  330. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +15 -18
  331. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  332. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -5
  333. package/dist/dist-esm/react-components/src/components/ParticipantList.js +58 -37
  334. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  336. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  338. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  340. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +24 -0
  342. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +13 -0
  343. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -0
  344. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.d.ts +12 -0
  345. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +86 -0
  346. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -0
  347. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +88 -0
  348. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +121 -0
  349. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
  350. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +16 -0
  351. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +62 -0
  352. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +1 -0
  353. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +28 -0
  354. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +81 -0
  355. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -0
  356. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  357. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  358. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +54 -0
  359. package/dist/dist-esm/react-components/src/components/ReactionButton.js +89 -0
  360. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
  361. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -1
  362. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +61 -37
  363. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  365. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  367. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  368. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  369. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  370. package/dist/dist-esm/react-components/src/components/SendBox.js +27 -40
  371. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  372. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +3 -3
  373. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  374. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  376. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  378. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  380. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
  381. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  382. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
  383. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
  384. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  385. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  386. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  387. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  388. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +61 -0
  389. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +132 -0
  390. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  391. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
  392. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +55 -0
  393. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  394. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  395. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  396. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +67 -22
  397. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  398. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +55 -49
  399. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  401. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  402. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  403. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +1 -1
  405. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +1 -1
  407. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  408. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +4 -8
  409. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +1 -1
  411. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
  413. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  414. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  415. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  416. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  417. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
  419. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  421. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  422. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +49 -21
  423. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  424. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  425. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +69 -28
  427. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  429. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +132 -0
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  436. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -7
  438. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  439. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  440. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  441. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  442. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  443. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +60 -21
  444. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  446. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  447. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  448. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  449. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  450. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  456. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  457. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  458. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  460. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  462. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +13 -2
  464. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +82 -48
  465. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  467. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +5 -0
  468. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +78 -39
  469. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +35 -1
  471. package/dist/dist-esm/react-components/src/components/VideoGallery.js +182 -69
  472. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +17 -2
  474. package/dist/dist-esm/react-components/src/components/VideoTile.js +92 -87
  475. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +57 -57
  477. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/index.d.ts +13 -5
  479. package/dist/dist-esm/react-components/src/components/index.js +12 -2
  480. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  481. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  483. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +1 -1
  485. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +14 -11
  486. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  487. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +1 -1
  490. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +5 -3
  491. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  493. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  495. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.d.ts → ImageOverlay.style.d.ts} +13 -9
  497. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.js → ImageOverlay.style.js} +37 -49
  498. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -0
  499. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  501. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  503. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  505. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
  507. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  509. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +24 -0
  510. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +76 -0
  511. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
  512. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +18 -0
  513. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +128 -0
  514. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
  515. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  516. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  517. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  519. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  520. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  521. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  523. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  527. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  529. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
  531. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +37 -0
  532. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  534. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  535. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  536. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +12 -0
  537. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +25 -2
  538. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  540. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  543. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  544. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  548. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  550. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +2 -2
  552. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  553. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/components/utils.d.ts +8 -1
  555. package/dist/dist-esm/react-components/src/components/utils.js +21 -10
  556. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  557. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  558. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/index.d.ts +6 -1
  563. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +12 -3
  565. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  568. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +9 -3
  570. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  571. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +9 -3
  573. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  574. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  575. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +9 -3
  576. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  577. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +9 -3
  579. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +25 -6
  580. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  581. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +9 -3
  583. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  584. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  585. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +9 -3
  586. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  587. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  588. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +9 -3
  589. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  590. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +9 -3
  592. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  593. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  594. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  595. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  596. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +9 -3
  597. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  598. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +9 -3
  600. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  601. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  602. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +9 -3
  603. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  604. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  605. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +9 -3
  606. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  607. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  608. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +9 -3
  609. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  610. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  611. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +9 -3
  612. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  613. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +9 -3
  615. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  616. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  617. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +9 -3
  618. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  619. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +9 -3
  621. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  622. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  623. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +9 -3
  624. package/dist/dist-esm/react-components/src/localization/locales/utils.js +5 -1
  625. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  626. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  627. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  628. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +9 -3
  629. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  630. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  631. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +9 -3
  632. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts +2 -0
  633. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -6
  634. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  635. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  636. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  637. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  638. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  639. package/dist/dist-esm/react-components/src/theming/icons.d.ts +15 -0
  640. package/dist/dist-esm/react-components/src/theming/icons.js +67 -37
  641. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  643. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  644. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  645. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  646. package/dist/dist-esm/react-components/src/theming/themes.d.ts +8 -21
  647. package/dist/dist-esm/react-components/src/theming/themes.js +10 -16
  648. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  649. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  650. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  651. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +4 -4
  652. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  653. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +21 -0
  654. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  655. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  656. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  657. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  658. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  660. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
  661. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  662. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  663. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  664. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  665. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  666. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +16 -0
  667. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  669. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +86 -1
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +73 -43
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +131 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +77 -15
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +264 -164
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +71 -14
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +11 -4
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +11 -5
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +4 -3
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +6 -0
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +107 -38
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +56 -59
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +133 -141
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +1 -7
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +1 -7
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +35 -24
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +37 -26
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +86 -42
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +73 -0
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +6 -0
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +97 -8
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -7
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +172 -123
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +2 -1
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +6 -5
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +87 -16
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +8 -0
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +80 -32
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +26 -0
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +72 -0
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -0
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +13 -7
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +18 -14
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +13 -3
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.d.ts +56 -0
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -3
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +7 -5
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.d.ts +8 -0
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js +18 -0
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -0
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +9 -0
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +35 -11
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +15 -4
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +63 -33
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +16 -0
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +139 -0
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.d.ts +17 -0
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +30 -0
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -0
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +85 -0
  888. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +102 -33
  889. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  892. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  893. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  894. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  895. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  897. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  898. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +19 -10
  900. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +89 -20
  901. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +41 -10
  903. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +12 -4
  905. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +30 -6
  906. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +3 -4
  908. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +6 -2
  909. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  911. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  913. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +8 -0
  917. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +6 -1
  918. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  919. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +3 -2
  921. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  923. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +87 -62
  925. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +3 -5
  929. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +5 -19
  932. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +44 -89
  933. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +15 -20
  935. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +20 -6
  937. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  939. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -6
  941. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  945. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +5 -2
  947. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  950. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -1
  952. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  953. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +6 -6
  955. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +3 -5
  956. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  958. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +9 -17
  960. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +23 -25
  962. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  964. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  965. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  967. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  968. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +9 -23
  969. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  972. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  974. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  977. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  978. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  979. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +3 -0
  980. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +110 -39
  981. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  982. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
  983. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  984. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +2 -0
  985. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +140 -61
  986. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +18 -0
  988. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +41 -0
  989. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -0
  990. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  994. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  995. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +8 -0
  996. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +114 -109
  997. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
  1000. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1001. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1002. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
  1003. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
  1004. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
  1005. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  1006. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  1007. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +22 -14
  1008. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +12 -12
  1012. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +19 -8
  1014. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  1016. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1017. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  1018. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  1019. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  1020. package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
  1021. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +129 -0
  1022. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
  1023. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +13 -0
  1024. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +44 -0
  1025. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
  1026. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  1027. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1028. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  1029. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
  1030. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  1031. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  1032. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1033. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1035. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +23 -0
  1036. package/dist/dist-esm/react-composites/src/composites/common/icons.js +13 -5
  1037. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1043. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1044. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1045. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1046. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1047. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1048. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1049. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1050. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
  1051. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
  1052. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
  1053. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +17 -0
  1054. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1055. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1056. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1057. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1058. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1059. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1060. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1061. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1062. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +29 -2
  1063. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1064. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +29 -2
  1065. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1066. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +29 -2
  1067. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1068. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +29 -2
  1069. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +23 -3
  1070. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1071. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +29 -2
  1072. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1073. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +29 -2
  1074. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1075. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +29 -2
  1076. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1077. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +29 -2
  1078. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1079. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1080. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +29 -2
  1081. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1082. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +29 -2
  1083. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1084. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +29 -2
  1085. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1086. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +29 -2
  1087. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1088. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +29 -2
  1089. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1090. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +29 -2
  1091. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1092. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +29 -2
  1093. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1094. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +29 -2
  1095. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1096. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +29 -2
  1097. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1098. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +29 -2
  1099. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1100. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1101. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +29 -2
  1102. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1103. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +29 -2
  1104. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1105. package/dist/tsdoc-metadata.json +1 -1
  1106. package/package.json +9 -9
  1107. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +0 -71
  1108. package/dist/dist-esm/react-components/src/components/ImageGallery.js +0 -56
  1109. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +0 -1
  1110. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +0 -1
@@ -37,12 +37,14 @@ export const LocalPreview = (props) => {
37
37
  isLocalMicrophoneEnabled ? adapter.mute() : adapter.unmute();
38
38
  }), [adapter, isLocalMicrophoneEnabled]);
39
39
  const hasNoSpeakers = !devicesButtonProps.speakers.length;
40
- const hasNoDevices = devicesButtonProps.cameras.length === 0 && devicesButtonProps.microphones.length === 0 && devicesButtonProps.speakers.length === 0;
40
+ const hasNoDevices = devicesButtonProps.cameras.length === 0 &&
41
+ devicesButtonProps.microphones.length === 0 &&
42
+ devicesButtonProps.speakers.length === 0;
41
43
  const hasCameras = devicesButtonProps.cameras.length > 0;
42
44
  const hasMicrophones = devicesButtonProps.microphones.length > 0;
43
45
  const theme = useTheme();
44
46
  const onRenderPlaceholder = useCallback(() => {
45
- return React.createElement(Stack, { className: mergeStyles({
47
+ return (React.createElement(Stack, { className: mergeStyles({
46
48
  width: '100%',
47
49
  height: '100%',
48
50
  // The text should be centered in the local preview with the camera icon
@@ -51,43 +53,37 @@ export const LocalPreview = (props) => {
51
53
  marginTop: '-0.8rem'
52
54
  }), verticalAlign: "center" },
53
55
  React.createElement(Stack.Item, { align: "center" },
54
- React.createElement(CallCompositeIcon, { iconName: "LocalPreviewPlaceholder", className: mergeStyles(cameraOffLabelStyle, {
55
- color: theme.palette.neutralTertiary
56
- }) })),
56
+ React.createElement(CallCompositeIcon, { iconName: "LocalPreviewPlaceholder", className: mergeStyles(cameraOffLabelStyle, { color: theme.palette.neutralTertiary }) })),
57
57
  React.createElement(Stack.Item, { align: "center" },
58
- React.createElement(Text, { className: mergeStyles(cameraOffLabelStyle, {
59
- color: theme.palette.neutralSecondary
60
- }) }, locale.strings.call.cameraTurnedOff)));
58
+ React.createElement(Text, { className: mergeStyles(cameraOffLabelStyle, { color: theme.palette.neutralSecondary }) }, locale.strings.call.cameraTurnedOff))));
61
59
  }, [theme, locale.strings.call.cameraTurnedOff]);
62
- const devicesButtonStyles = props.mobileView ? {
63
- menuStyles: {
64
- menuItemStyles: buttonFlyoutIncreasedSizeStyles
60
+ const devicesButtonStyles = props.mobileView
61
+ ? {
62
+ menuStyles: {
63
+ menuItemStyles: buttonFlyoutIncreasedSizeStyles
64
+ }
65
65
  }
66
- } : undefined;
67
- return React.createElement(Stack, { "data-ui-id": "call-composite-local-preview", className: props.mobileView ? localPreviewContainerStyleMobile(theme) : localPreviewContainerStyleDesktop(theme) },
68
- React.createElement(VideoTile, { styles: localPreviewTileStyle, renderElement: (localPreviewProps === null || localPreviewProps === void 0 ? void 0 : localPreviewProps.videoStreamElement) ? React.createElement(StreamMedia, { videoStreamElement: localPreviewProps.videoStreamElement }) : undefined, onRenderPlaceholder: onRenderPlaceholder },
66
+ : undefined;
67
+ return (React.createElement(Stack, { "data-ui-id": "call-composite-local-preview", className: props.mobileView ? localPreviewContainerStyleMobile(theme) : localPreviewContainerStyleDesktop(theme) },
68
+ React.createElement(VideoTile, { styles: localPreviewTileStyle, renderElement: (localPreviewProps === null || localPreviewProps === void 0 ? void 0 : localPreviewProps.videoStreamElement) ? (React.createElement(StreamMedia, { videoStreamElement: localPreviewProps.videoStreamElement })) : undefined, onRenderPlaceholder: onRenderPlaceholder },
69
69
  React.createElement(ControlBar, { layout: "floatingBottom" },
70
70
  React.createElement(MicrophoneButton, { "data-ui-id": "call-composite-local-device-settings-microphone-button", checked: isLocalMicrophoneEnabled, onToggleMicrophone: onToggleMic, disabled: !microphonePermissionGranted || !hasMicrophones, showLabel: true,
71
71
  // disable tooltip as it obscures list of devices on mobile
72
- strings: props.mobileView ? {
73
- tooltipOnContent: '',
74
- tooltipOffContent: '',
75
- tooltipDisabledContent: ''
76
- } : {}, styles: localPreviewButtonStyle }),
72
+ strings: props.mobileView ? { tooltipOnContent: '', tooltipOffContent: '', tooltipDisabledContent: '' } : {}, styles: localPreviewButtonStyle }),
77
73
  React.createElement(CameraButton, Object.assign({ "data-ui-id": "call-composite-local-device-settings-camera-button" }, cameraButtonProps, { showLabel: true, disabled: !cameraPermissionGranted || !hasCameras,
78
74
  // disable tooltip as it obscures list of devices on mobile
79
- strings: props.mobileView ? {
80
- tooltipOnContent: '',
81
- tooltipOffContent: '',
82
- tooltipDisabledContent: '',
83
- tooltipVideoLoadingContent: ''
84
- } : {}, styles: localPreviewButtonStyle })),
85
- props.showDevicesButton && React.createElement(DevicesButton, Object.assign({ "data-ui-id": "call-composite-local-device-settings-options-button" }, devicesButtonProps, {
75
+ strings: props.mobileView
76
+ ? {
77
+ tooltipOnContent: '',
78
+ tooltipOffContent: '',
79
+ tooltipDisabledContent: '',
80
+ tooltipVideoLoadingContent: ''
81
+ }
82
+ : {}, styles: localPreviewButtonStyle })),
83
+ props.showDevicesButton && (React.createElement(DevicesButton, Object.assign({ "data-ui-id": "call-composite-local-device-settings-options-button" }, devicesButtonProps, {
86
84
  // disable button whilst all other buttons are disabled
87
- disabled: !microphonePermissionGranted && !cameraPermissionGranted && hasNoSpeakers || hasNoDevices, showLabel: true,
85
+ disabled: (!microphonePermissionGranted && !cameraPermissionGranted && hasNoSpeakers) || hasNoDevices, showLabel: true,
88
86
  // disable tooltip as it obscures list of devices on mobile
89
- strings: props.mobileView ? {
90
- tooltipContent: ''
91
- } : {}, styles: devicesButtonStyles })))));
87
+ strings: props.mobileView ? { tooltipContent: '' } : {}, styles: devicesButtonStyles })))))));
92
88
  };
93
89
  //# sourceMappingURL=LocalPreview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocalPreview.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/LocalPreview.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAA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B,sBAAsB,EAAE,EAAE;qBAC3B,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,uBAAuB,GAAI;gBACzC,oBAAC,YAAY,gCAAY,oDAAoD,IAAK,iBAAiB,IAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,uBAAuB,IAAI,CAAC,UAAU;oBACzK,2DAA2D;oBAC3D,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;wBAC1B,gBAAgB,EAAE,EAAE;wBACpB,iBAAiB,EAAE,EAAE;wBACrB,sBAAsB,EAAE,EAAE;wBAC1B,0BAA0B,EAAE,EAAE;qBAC/B,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,uBAAuB,IAAI;gBACxC,KAAK,CAAC,iBAAiB,IAAI,oBAAC,aAAa,gCAAY,qDAAqD,IAAK,kBAAkB;oBACpI,uDAAuD;oBACvD,QAAQ,EAAE,CAAC,2BAA2B,IAAI,CAAC,uBAAuB,IAAI,aAAa,IAAI,YAAY,EAAE,SAAS,EAAE,IAAI;oBACpH,2DAA2D;oBAC3D,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;wBAC1B,cAAc,EAAE,EAAE;qBACnB,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,mBAAmB,IAAI,CAC1B,CACH,CACN,CAAC;AACb,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\nimport { CameraButton, ControlBar, MicrophoneButton, DevicesButton, StreamMedia, useTheme, VideoTile } from '@internal/react-components';\nimport React, { useCallback } from 'react';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { useLocale } from '../../localization';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { useSelector } from '../hooks/useSelector';\nimport { getLocalMicrophoneEnabled } from '../selectors/baseSelectors';\nimport { devicePermissionSelector } from '../selectors/devicePermissionSelector';\nimport { localPreviewSelector } from '../selectors/localPreviewSelector';\nimport { buttonFlyoutIncreasedSizeStyles } from '../styles/Buttons.styles';\nimport { cameraOffLabelStyle, localPreviewButtonStyle, localPreviewContainerStyleDesktop, localPreviewContainerStyleMobile, localPreviewTileStyle } from '../styles/LocalPreview.styles';\n\n/**\n * @private\n */\nexport interface LocalPreviewProps {\n mobileView: boolean;\n showDevicesButton: boolean;\n}\n\n/**\n * @private\n */\nexport const LocalPreview = (props: LocalPreviewProps): JSX.Element => {\n const locale = useLocale();\n const cameraButtonProps = usePropsFor(CameraButton);\n const localPreviewProps = useSelector(localPreviewSelector);\n const devicesButtonProps = usePropsFor(DevicesButton);\n const {\n audio: microphonePermissionGranted,\n video: cameraPermissionGranted\n } = useSelector(devicePermissionSelector);\n const isLocalMicrophoneEnabled = useSelector(getLocalMicrophoneEnabled);\n const adapter = useAdapter();\n const onToggleMic = useCallback(async () => {\n isLocalMicrophoneEnabled ? adapter.mute() : adapter.unmute();\n }, [adapter, isLocalMicrophoneEnabled]);\n const hasNoSpeakers = !devicesButtonProps.speakers.length;\n const hasNoDevices = devicesButtonProps.cameras.length === 0 && devicesButtonProps.microphones.length === 0 && devicesButtonProps.speakers.length === 0;\n const hasCameras = devicesButtonProps.cameras.length > 0;\n const hasMicrophones = devicesButtonProps.microphones.length > 0;\n const theme = useTheme();\n const onRenderPlaceholder = useCallback((): JSX.Element => {\n return <Stack className={mergeStyles({\n width: '100%',\n height: '100%',\n // The text should be centered in the local preview with the camera icon\n // appearing above the text. To compensate for the camera icon's height,\n // we add a negative margin to the top of the container.\n marginTop: '-0.8rem'\n })} verticalAlign=\"center\">\n <Stack.Item align=\"center\">\n <CallCompositeIcon iconName=\"LocalPreviewPlaceholder\" className={mergeStyles(cameraOffLabelStyle, {\n color: theme.palette.neutralTertiary\n })} />\n </Stack.Item>\n <Stack.Item align=\"center\">\n <Text className={mergeStyles(cameraOffLabelStyle, {\n color: theme.palette.neutralSecondary\n })}>\n {locale.strings.call.cameraTurnedOff}\n </Text>\n </Stack.Item>\n </Stack>;\n }, [theme, locale.strings.call.cameraTurnedOff]);\n const devicesButtonStyles = props.mobileView ? {\n menuStyles: {\n menuItemStyles: buttonFlyoutIncreasedSizeStyles\n }\n } : undefined;\n return <Stack data-ui-id=\"call-composite-local-preview\" className={props.mobileView ? localPreviewContainerStyleMobile(theme) : localPreviewContainerStyleDesktop(theme)}>\n <VideoTile styles={localPreviewTileStyle} renderElement={localPreviewProps?.videoStreamElement ? <StreamMedia videoStreamElement={localPreviewProps.videoStreamElement} /> : undefined} onRenderPlaceholder={onRenderPlaceholder}>\n <ControlBar layout=\"floatingBottom\">\n <MicrophoneButton data-ui-id=\"call-composite-local-device-settings-microphone-button\" checked={isLocalMicrophoneEnabled} onToggleMicrophone={onToggleMic} disabled={!microphonePermissionGranted || !hasMicrophones} showLabel={true}\n // disable tooltip as it obscures list of devices on mobile\n strings={props.mobileView ? {\n tooltipOnContent: '',\n tooltipOffContent: '',\n tooltipDisabledContent: ''\n } : {}} styles={localPreviewButtonStyle} />\n <CameraButton data-ui-id=\"call-composite-local-device-settings-camera-button\" {...cameraButtonProps} showLabel={true} disabled={!cameraPermissionGranted || !hasCameras}\n // disable tooltip as it obscures list of devices on mobile\n strings={props.mobileView ? {\n tooltipOnContent: '',\n tooltipOffContent: '',\n tooltipDisabledContent: '',\n tooltipVideoLoadingContent: ''\n } : {}} styles={localPreviewButtonStyle} />\n {props.showDevicesButton && <DevicesButton data-ui-id=\"call-composite-local-device-settings-options-button\" {...devicesButtonProps}\n // disable button whilst all other buttons are disabled\n disabled={!microphonePermissionGranted && !cameraPermissionGranted && hasNoSpeakers || hasNoDevices} showLabel={true}\n // disable tooltip as it obscures list of devices on mobile\n strings={props.mobileView ? {\n tooltipContent: ''\n } : {}} styles={devicesButtonStyles} />}\n </ControlBar>\n </VideoTile>\n </Stack>;\n};"]}
1
+ {"version":3,"file":"LocalPreview.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/LocalPreview.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EACL,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,SAAS,EACV,4CAAmC;AACpC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,iCAAiC,EACjC,gCAAgC,EAChC,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AAUvC;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAe,EAAE;IACpE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,iBAAiB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IACpD,MAAM,iBAAiB,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC5D,MAAM,kBAAkB,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IACtD,MAAM,E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,2BAA2B,IAAI,CAAC,cAAc,EACzD,SAAS,EAAE,IAAI;oBACf,2DAA2D;oBAC3D,OAAO,EACL,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAErG,MAAM,EAAE,uBAAuB,GAC/B;gBACF,oBAAC,YAAY,gCACA,oDAAoD,IAC3D,iBAAiB,IACrB,SAAS,EAAE,IAAI,EACf,QAAQ,EAAE,CAAC,uBAAuB,IAAI,CAAC,UAAU;oBACjD,2DAA2D;oBAC3D,OAAO,EACL,KAAK,CAAC,UAAU;wBACd,CAAC,CAAC;4BACE,gBAAgB,EAAE,EAAE;4BACpB,iBAAiB,EAAE,EAAE;4BACrB,sBAAsB,EAAE,EAAE;4BAC1B,0BAA0B,EAAE,EAAE;yBAC/B;wBACH,CAAC,CAAC,EAAE,EAER,MAAM,EAAE,uBAAuB,IAC/B;gBACD,KAAK,CAAC,iBAAiB,IAAI,CAC1B,oBAAC,aAAa,gCACD,qDAAqD,IAC5D,kBAAkB;oBACtB,uDAAuD;oBACvD,QAAQ,EAAE,CAAC,CAAC,2BAA2B,IAAI,CAAC,uBAAuB,IAAI,aAAa,CAAC,IAAI,YAAY,EACrG,SAAS,EAAE,IAAI;oBACf,2DAA2D;oBAC3D,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EACvD,MAAM,EAAE,mBAAmB,IAC3B,CACH,CACU,CACH,CACN,CACT,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\nimport {\n CameraButton,\n ControlBar,\n MicrophoneButton,\n DevicesButton,\n StreamMedia,\n useTheme,\n VideoTile\n} from '@internal/react-components';\nimport React, { useCallback } from 'react';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { useLocale } from '../../localization';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { useSelector } from '../hooks/useSelector';\nimport { getLocalMicrophoneEnabled } from '../selectors/baseSelectors';\nimport { devicePermissionSelector } from '../selectors/devicePermissionSelector';\nimport { localPreviewSelector } from '../selectors/localPreviewSelector';\nimport { buttonFlyoutIncreasedSizeStyles } from '../styles/Buttons.styles';\nimport {\n cameraOffLabelStyle,\n localPreviewButtonStyle,\n localPreviewContainerStyleDesktop,\n localPreviewContainerStyleMobile,\n localPreviewTileStyle\n} from '../styles/LocalPreview.styles';\n\n/**\n * @private\n */\nexport interface LocalPreviewProps {\n mobileView: boolean;\n showDevicesButton: boolean;\n}\n\n/**\n * @private\n */\nexport const LocalPreview = (props: LocalPreviewProps): JSX.Element => {\n const locale = useLocale();\n const cameraButtonProps = usePropsFor(CameraButton);\n const localPreviewProps = useSelector(localPreviewSelector);\n const devicesButtonProps = usePropsFor(DevicesButton);\n const { audio: microphonePermissionGranted, video: cameraPermissionGranted } = useSelector(devicePermissionSelector);\n\n const isLocalMicrophoneEnabled = useSelector(getLocalMicrophoneEnabled);\n const adapter = useAdapter();\n\n const onToggleMic = useCallback(async () => {\n isLocalMicrophoneEnabled ? adapter.mute() : adapter.unmute();\n }, [adapter, isLocalMicrophoneEnabled]);\n\n const hasNoSpeakers = !devicesButtonProps.speakers.length;\n const hasNoDevices =\n devicesButtonProps.cameras.length === 0 &&\n devicesButtonProps.microphones.length === 0 &&\n devicesButtonProps.speakers.length === 0;\n\n const hasCameras = devicesButtonProps.cameras.length > 0;\n const hasMicrophones = devicesButtonProps.microphones.length > 0;\n\n const theme = useTheme();\n const onRenderPlaceholder = useCallback((): JSX.Element => {\n return (\n <Stack\n className={mergeStyles({\n width: '100%',\n height: '100%',\n // The text should be centered in the local preview with the camera icon\n // appearing above the text. To compensate for the camera icon's height,\n // we add a negative margin to the top of the container.\n marginTop: '-0.8rem'\n })}\n verticalAlign=\"center\"\n >\n <Stack.Item align=\"center\">\n <CallCompositeIcon\n iconName=\"LocalPreviewPlaceholder\"\n className={mergeStyles(cameraOffLabelStyle, { color: theme.palette.neutralTertiary })}\n />\n </Stack.Item>\n <Stack.Item align=\"center\">\n <Text className={mergeStyles(cameraOffLabelStyle, { color: theme.palette.neutralSecondary })}>\n {locale.strings.call.cameraTurnedOff}\n </Text>\n </Stack.Item>\n </Stack>\n );\n }, [theme, locale.strings.call.cameraTurnedOff]);\n\n const devicesButtonStyles = props.mobileView\n ? {\n menuStyles: {\n menuItemStyles: buttonFlyoutIncreasedSizeStyles\n }\n }\n : undefined;\n\n return (\n <Stack\n data-ui-id=\"call-composite-local-preview\"\n className={props.mobileView ? localPreviewContainerStyleMobile(theme) : localPreviewContainerStyleDesktop(theme)}\n >\n <VideoTile\n styles={localPreviewTileStyle}\n renderElement={\n localPreviewProps?.videoStreamElement ? (\n <StreamMedia videoStreamElement={localPreviewProps.videoStreamElement} />\n ) : undefined\n }\n onRenderPlaceholder={onRenderPlaceholder}\n >\n <ControlBar layout=\"floatingBottom\">\n <MicrophoneButton\n data-ui-id=\"call-composite-local-device-settings-microphone-button\"\n checked={isLocalMicrophoneEnabled}\n onToggleMicrophone={onToggleMic}\n disabled={!microphonePermissionGranted || !hasMicrophones}\n showLabel={true}\n // disable tooltip as it obscures list of devices on mobile\n strings={\n props.mobileView ? { tooltipOnContent: '', tooltipOffContent: '', tooltipDisabledContent: '' } : {}\n }\n styles={localPreviewButtonStyle}\n />\n <CameraButton\n data-ui-id=\"call-composite-local-device-settings-camera-button\"\n {...cameraButtonProps}\n showLabel={true}\n disabled={!cameraPermissionGranted || !hasCameras}\n // disable tooltip as it obscures list of devices on mobile\n strings={\n props.mobileView\n ? {\n tooltipOnContent: '',\n tooltipOffContent: '',\n tooltipDisabledContent: '',\n tooltipVideoLoadingContent: ''\n }\n : {}\n }\n styles={localPreviewButtonStyle}\n />\n {props.showDevicesButton && (\n <DevicesButton\n data-ui-id=\"call-composite-local-device-settings-options-button\"\n {...devicesButtonProps}\n // disable button whilst all other buttons are disabled\n disabled={(!microphonePermissionGranted && !cameraPermissionGranted && hasNoSpeakers) || hasNoDevices}\n showLabel={true}\n // disable tooltip as it obscures list of devices on mobile\n strings={props.mobileView ? { tooltipContent: '' } : {}}\n styles={devicesButtonStyles}\n />\n )}\n </ControlBar>\n </VideoTile>\n </Stack>\n );\n};\n"]}
@@ -3,6 +3,7 @@ import { VideoGalleryLayout } from "../../../../../react-components/src";
3
3
  import { AvatarPersonaDataCallback } from '../../common/AvatarPersona';
4
4
  import { RemoteVideoTileMenuOptions } from '../CallComposite';
5
5
  import { LocalVideoTileOptions } from '../CallComposite';
6
+ import { PromptProps } from './Prompt';
6
7
  /**
7
8
  * @private
8
9
  */
@@ -17,6 +18,9 @@ export interface MediaGalleryProps {
17
18
  localVideoTileOptions?: boolean | LocalVideoTileOptions;
18
19
  userSetOverflowGalleryPosition?: 'Responsive' | 'horizontalTop';
19
20
  userSetGalleryLayout: VideoGalleryLayout;
21
+ setIsPromptOpen: (isOpen: boolean) => void;
22
+ setPromptProps: (props: PromptProps) => void;
23
+ hideSpotlightButtons?: boolean;
20
24
  }
21
25
  /**
22
26
  * @private
@@ -16,11 +16,12 @@ import { LocalVideoCameraCycleButton } from "../../../../../react-components/src
16
16
  import { useParticipantChangedAnnouncement } from '../utils/MediaGalleryUtils';
17
17
  /* @conditional-compile-remove(rooms) */
18
18
  import { useAdapter } from '../adapter/CallAdapterProvider';
19
+ /* @conditional-compile-remove(spotlight) */
20
+ import { useLocalSpotlightCallbacksWithPrompt, useRemoteSpotlightCallbacksWithPrompt } from '../utils/spotlightUtils';
19
21
  const VideoGalleryStyles = {
20
22
  root: {
21
23
  height: '100%',
22
- minHeight: '10rem',
23
- // space affordance to ensure media gallery is never collapsed
24
+ minHeight: '10rem', // space affordance to ensure media gallery is never collapsed
24
25
  minWidth: '6rem'
25
26
  }
26
27
  };
@@ -36,6 +37,8 @@ const remoteVideoViewOptions = {
36
37
  */
37
38
  export const MediaGallery = (props) => {
38
39
  var _a, _b, _c;
40
+ /* @conditional-compile-remove(spotlight) */
41
+ const { setIsPromptOpen, setPromptProps, hideSpotlightButtons } = props;
39
42
  const videoGalleryProps = usePropsFor(VideoGallery);
40
43
  const cameraSwitcherCameras = useSelector(localVideoCameraCycleButtonSelector);
41
44
  const cameraSwitcherCallback = useHandlers(LocalVideoCameraCycleButton);
@@ -54,32 +57,24 @@ export const MediaGallery = (props) => {
54
57
  const containerHeight = _useContainerHeight(containerRef);
55
58
  /* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */
56
59
  const containerAspectRatio = containerWidth && containerHeight ? containerWidth / containerHeight : 0;
57
- const layoutBasedOnTilePosition = localVideoTileLayoutTrampoline(/* @conditional-compile-remove(click-to-call) */ (_b = props.localVideoTileOptions) === null || _b === void 0 ? void 0 : _b.position);
60
+ /* @conditional-compile-remove(reaction) */
61
+ const reactionResources = adapter.getState().reactions;
62
+ const layoutBasedOnTilePosition = localVideoTileLayoutTrampoline(
63
+ /* @conditional-compile-remove(click-to-call) */ (_b = props.localVideoTileOptions) === null || _b === void 0 ? void 0 : _b.position);
58
64
  const cameraSwitcherProps = useMemo(() => {
59
65
  return Object.assign(Object.assign({}, cameraSwitcherCallback), cameraSwitcherCameras);
60
66
  }, [cameraSwitcherCallback, cameraSwitcherCameras]);
61
67
  const onRenderAvatar = useCallback((userId, options) => {
62
- return React.createElement(Stack, { className: mergeStyles({
63
- position: 'absolute',
64
- height: '100%',
65
- width: '100%'
66
- }) },
67
- React.createElement(Stack, { styles: {
68
- root: {
69
- margin: 'auto',
70
- maxHeight: '100%'
71
- }
72
- } }, (options === null || options === void 0 ? void 0 : options.coinSize) && React.createElement(AvatarPersona, Object.assign({ userId: userId }, options, { dataProvider: props.onFetchAvatarPersonaData }))));
68
+ return (React.createElement(Stack, { className: mergeStyles({ position: 'absolute', height: '100%', width: '100%' }) },
69
+ React.createElement(Stack, { styles: { root: { margin: 'auto', maxHeight: '100%' } } }, (options === null || options === void 0 ? void 0 : options.coinSize) && (React.createElement(AvatarPersona, Object.assign({ userId: userId }, options, { dataProvider: props.onFetchAvatarPersonaData }))))));
73
70
  }, [props.onFetchAvatarPersonaData]);
74
- /* @conditional-compile-remove(pinned-participants) */
75
71
  const remoteVideoTileMenuOptions = useMemo(() => {
76
72
  var _a;
77
- return ((_a = props.remoteVideoTileMenuOptions) === null || _a === void 0 ? void 0 : _a.isHidden) ? false : props.isMobile ? {
78
- kind: 'drawer',
79
- hostId: props.drawerMenuHostId
80
- } : {
81
- kind: 'contextual'
82
- };
73
+ return ((_a = props.remoteVideoTileMenuOptions) === null || _a === void 0 ? void 0 : _a.isHidden)
74
+ ? false
75
+ : props.isMobile
76
+ ? { kind: 'drawer', hostId: props.drawerMenuHostId }
77
+ : { kind: 'contextual' };
83
78
  }, [(_c = props.remoteVideoTileMenuOptions) === null || _c === void 0 ? void 0 : _c.isHidden, props.isMobile, props.drawerMenuHostId]);
84
79
  /* @conditional-compile-remove(vertical-gallery) */
85
80
  const overflowGalleryPosition = useMemo(() => {
@@ -87,35 +82,84 @@ export const MediaGallery = (props) => {
87
82
  if (props.userSetOverflowGalleryPosition === 'horizontalTop') {
88
83
  return props.userSetOverflowGalleryPosition;
89
84
  }
90
- return containerWidth && containerHeight && containerWidth / containerHeight >= 16 / 9 ? 'verticalRight' : 'horizontalBottom';
91
- }, [/* @conditional-compile-remove(gallery-layouts) */ props.userSetOverflowGalleryPosition, containerWidth, containerHeight]);
85
+ return containerWidth && containerHeight && containerWidth / containerHeight >= 16 / 9
86
+ ? 'verticalRight'
87
+ : 'horizontalBottom';
88
+ }, [
89
+ /* @conditional-compile-remove(gallery-layouts) */ props.userSetOverflowGalleryPosition,
90
+ containerWidth,
91
+ containerHeight
92
+ ]);
93
+ /* @conditional-compile-remove(spotlight) */
94
+ const { onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight } = videoGalleryProps;
95
+ /* @conditional-compile-remove(spotlight) */
96
+ const { onStartLocalSpotlightWithPrompt, onStopLocalSpotlightWithPrompt } = useLocalSpotlightCallbacksWithPrompt(onStartLocalSpotlight, onStopLocalSpotlight, setIsPromptOpen, setPromptProps);
97
+ /* @conditional-compile-remove(spotlight) */
98
+ const { onStartRemoteSpotlightWithPrompt, onStopRemoteSpotlightWithPrompt } = useRemoteSpotlightCallbacksWithPrompt(onStartRemoteSpotlight, onStopRemoteSpotlight, setIsPromptOpen, setPromptProps);
92
99
  const VideoGalleryMemoized = useMemo(() => {
93
100
  const layoutBasedOnUserSelection = () => {
94
101
  /* @conditional-compile-remove(gallery-layouts) */
95
102
  return props.localVideoTileOptions ? layoutBasedOnTilePosition : props.userSetGalleryLayout;
96
103
  return layoutBasedOnTilePosition;
97
104
  };
98
- return React.createElement(VideoGallery, Object.assign({}, videoGalleryProps, { localVideoViewOptions: localVideoViewOptions, remoteVideoViewOptions: remoteVideoViewOptions, styles: VideoGalleryStyles, layout: layoutBasedOnUserSelection(), showCameraSwitcherInLocalPreview: props.isMobile, localVideoCameraCycleButtonProps: cameraSwitcherProps, onRenderAvatar: onRenderAvatar,
99
- /* @conditional-compile-remove(pinned-participants) */ remoteVideoTileMenu: remoteVideoTileMenuOptions,
100
- /* @conditional-compile-remove(vertical-gallery) */ overflowGalleryPosition: overflowGalleryPosition,
101
- /* @conditional-compile-remove(rooms) */ localVideoTileSize: props.localVideoTileOptions === false || userRole === 'Consumer' || isRoomsCall && userRole === 'Unknown' ? 'hidden' : props.isMobile && containerAspectRatio < 1 ? '9:16' : '16:9' }));
102
- }, [videoGalleryProps, props.isMobile, /* @conditional-compile-remove(rooms) */
103
- props.localVideoTileOptions, cameraSwitcherProps, onRenderAvatar, /* @conditional-compile-remove(pinned-participants) */
104
- remoteVideoTileMenuOptions, /* @conditional-compile-remove(vertical-gallery) */
105
- overflowGalleryPosition, /* @conditional-compile-remove(rooms) */
106
- userRole, /* @conditional-compile-remove(rooms) */
107
- isRoomsCall, /* @conditional-compile-remove(vertical-gallery) */
108
- containerAspectRatio, /* @conditional-compile-remove(gallery-layouts) */
109
- props.userSetGalleryLayout, layoutBasedOnTilePosition]);
110
- return React.createElement("div", { ref: containerRef, style: mediaGalleryContainerStyles },
105
+ return (React.createElement(VideoGallery, Object.assign({}, videoGalleryProps, { localVideoViewOptions: localVideoViewOptions, remoteVideoViewOptions: remoteVideoViewOptions, styles: VideoGalleryStyles, layout: layoutBasedOnUserSelection(), showCameraSwitcherInLocalPreview: props.isMobile, localVideoCameraCycleButtonProps: cameraSwitcherProps, onRenderAvatar: onRenderAvatar, remoteVideoTileMenu: remoteVideoTileMenuOptions,
106
+ /* @conditional-compile-remove(vertical-gallery) */
107
+ overflowGalleryPosition: overflowGalleryPosition,
108
+ /* @conditional-compile-remove(rooms) */
109
+ localVideoTileSize: props.localVideoTileOptions === false || userRole === 'Consumer' || (isRoomsCall && userRole === 'Unknown')
110
+ ? 'hidden'
111
+ : props.isMobile && containerAspectRatio < 1
112
+ ? '9:16'
113
+ : '16:9',
114
+ /* @conditional-compile-remove(reaction) */
115
+ reactionResources: reactionResources,
116
+ /* @conditional-compile-remove(spotlight) */
117
+ onStartLocalSpotlight: hideSpotlightButtons ? undefined : onStartLocalSpotlightWithPrompt,
118
+ /* @conditional-compile-remove(spotlight) */
119
+ onStopLocalSpotlight: hideSpotlightButtons ? undefined : onStopLocalSpotlightWithPrompt,
120
+ /* @conditional-compile-remove(spotlight) */
121
+ onStartRemoteSpotlight: hideSpotlightButtons ? undefined : onStartRemoteSpotlightWithPrompt,
122
+ /* @conditional-compile-remove(spotlight) */
123
+ onStopRemoteSpotlight: hideSpotlightButtons ? undefined : onStopRemoteSpotlightWithPrompt })));
124
+ }, [
125
+ videoGalleryProps,
126
+ props.isMobile,
127
+ /* @conditional-compile-remove(rooms) */
128
+ props.localVideoTileOptions,
129
+ cameraSwitcherProps,
130
+ onRenderAvatar,
131
+ remoteVideoTileMenuOptions,
132
+ /* @conditional-compile-remove(vertical-gallery) */
133
+ overflowGalleryPosition,
134
+ /* @conditional-compile-remove(rooms) */
135
+ userRole,
136
+ /* @conditional-compile-remove(rooms) */
137
+ isRoomsCall,
138
+ /* @conditional-compile-remove(vertical-gallery) */
139
+ containerAspectRatio,
140
+ /* @conditional-compile-remove(gallery-layouts) */
141
+ props.userSetGalleryLayout,
142
+ layoutBasedOnTilePosition,
143
+ /* @conditional-compile-remove(reaction) */
144
+ reactionResources,
145
+ /* @conditional-compile-remove(spotlight) */
146
+ onStartLocalSpotlightWithPrompt,
147
+ /* @conditional-compile-remove(spotlight) */
148
+ onStopLocalSpotlightWithPrompt,
149
+ /* @conditional-compile-remove(spotlight) */
150
+ onStartRemoteSpotlightWithPrompt,
151
+ /* @conditional-compile-remove(spotlight) */
152
+ onStopRemoteSpotlightWithPrompt,
153
+ /* @conditional-compile-remove(spotlight) */
154
+ hideSpotlightButtons
155
+ ]);
156
+ return (React.createElement("div", { ref: containerRef, style: mediaGalleryContainerStyles },
111
157
  React.createElement(Announcer, { announcementString: announcerString, ariaLive: 'polite' }),
112
- VideoGalleryMemoized);
113
- };
114
- const mediaGalleryContainerStyles = {
115
- width: '100%',
116
- height: '100%'
158
+ VideoGalleryMemoized));
117
159
  };
118
- const localVideoTileLayoutTrampoline = (localTileOptions) => {
160
+ const mediaGalleryContainerStyles = { width: '100%', height: '100%' };
161
+ const localVideoTileLayoutTrampoline = (
162
+ /* @conditional-compile-remove(click-to-call) */ localTileOptions) => {
119
163
  /* @conditional-compile-remove(click-to-call) */
120
164
  return localTileOptions === 'grid' ? 'default' : 'floatingLocalVideo';
121
165
  return 'floatingLocalVideo';
@@ -1 +1 @@
1
- {"version":3,"file":"MediaGallery.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/MediaGallery.tsx"],"names":[],"mappings":"AAAA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AAkD;QACxE,KAAK,CAAC,oBAAoB,EAAE,yBAAyB,CAAC,CAAC,CAAC;IACxD,OAAO,6BAAyD,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,2BAA2B;QACjH,oBAAC,SAAS,IAAC,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,GAAI;QACrE,oBAAoB,CACjB,CAAC;AACX,CAAC,CAAC;AACF,MAAM,2BAA2B,GAAkB;IACjD,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;CACf,CAAC;AACF,MAAM,8BAA8B,GAAG,CAAC,gBAAyB,EAAsB,EAAE;IACvF,gDAAgD;IAChD,OAAO,gBAAgB,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACtE,OAAO,oBAAoB,CAAC;AAC9B,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { CSSProperties, useCallback, useMemo } from 'react';\n/* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\nimport { useRef } from 'react';\nimport { VideoGallery, VideoStreamOptions, CustomAvatarOptions, Announcer } from '@internal/react-components';\nimport { VideoGalleryLayout } from '@internal/react-components';\n/* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\nimport { _useContainerWidth, _useContainerHeight } from '@internal/react-components';\n/* @conditional-compile-remove(pinned-participants) */\nimport { VideoTileContextualMenuProps, VideoTileDrawerMenuProps } from '@internal/react-components';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { AvatarPersona, AvatarPersonaDataCallback } from '../../common/AvatarPersona';\nimport { mergeStyles, Stack } from '@fluentui/react';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { useSelector } from '../hooks/useSelector';\nimport { localVideoCameraCycleButtonSelector } from '../selectors/LocalVideoTileSelector';\nimport { LocalVideoCameraCycleButton } from '@internal/react-components';\nimport { _formatString } from '@internal/acs-ui-common';\nimport { useParticipantChangedAnnouncement } from '../utils/MediaGalleryUtils';\n/* @conditional-compile-remove(pinned-participants) */\nimport { RemoteVideoTileMenuOptions } from '../CallComposite';\n/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\nimport { LocalVideoTileOptions } from '../CallComposite';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../adapter/CallAdapterProvider';\nconst VideoGalleryStyles = {\n root: {\n height: '100%',\n minHeight: '10rem',\n // space affordance to ensure media gallery is never collapsed\n minWidth: '6rem'\n }\n};\nconst localVideoViewOptions = ({\n scalingMode: 'Crop',\n isMirrored: true\n} as VideoStreamOptions);\nconst remoteVideoViewOptions = ({\n scalingMode: 'Crop'\n} as VideoStreamOptions);\n\n/**\n * @private\n */\nexport interface MediaGalleryProps {\n isVideoStreamOn?: boolean;\n isMicrophoneChecked?: boolean;\n onStartLocalVideo: () => Promise<void>;\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n isMobile?: boolean;\n drawerMenuHostId?: string;\n /* @conditional-compile-remove(pinned-participants) */\n remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;\n /* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\n localVideoTileOptions?: boolean | LocalVideoTileOptions;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetOverflowGalleryPosition?: 'Responsive' | 'horizontalTop';\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout: VideoGalleryLayout;\n}\n\n/**\n * @private\n */\nexport const MediaGallery = (props: MediaGalleryProps): JSX.Element => {\n const videoGalleryProps = usePropsFor(VideoGallery);\n const cameraSwitcherCameras = useSelector(localVideoCameraCycleButtonSelector);\n const cameraSwitcherCallback = useHandlers(LocalVideoCameraCycleButton);\n const announcerString = useParticipantChangedAnnouncement();\n\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const userRole = adapter.getState().call?.role;\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerRef = useRef<HTMLDivElement>(null);\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerWidth = _useContainerWidth(containerRef);\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerHeight = _useContainerHeight(containerRef);\n /* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\n const containerAspectRatio = containerWidth && containerHeight ? containerWidth / containerHeight : 0;\n const layoutBasedOnTilePosition: VideoGalleryLayout = localVideoTileLayoutTrampoline( /* @conditional-compile-remove(click-to-call) */(props.localVideoTileOptions as LocalVideoTileOptions)?.position);\n const cameraSwitcherProps = useMemo(() => {\n return {\n ...cameraSwitcherCallback,\n ...cameraSwitcherCameras\n };\n }, [cameraSwitcherCallback, cameraSwitcherCameras]);\n const onRenderAvatar = useCallback((userId?: string, options?: CustomAvatarOptions) => {\n return <Stack className={mergeStyles({\n position: 'absolute',\n height: '100%',\n width: '100%'\n })}>\n <Stack styles={{\n root: {\n margin: 'auto',\n maxHeight: '100%'\n }\n }}>\n {options?.coinSize && <AvatarPersona userId={userId} {...options} dataProvider={props.onFetchAvatarPersonaData} />}\n </Stack>\n </Stack>;\n }, [props.onFetchAvatarPersonaData]);\n\n /* @conditional-compile-remove(pinned-participants) */\n const remoteVideoTileMenuOptions: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps = useMemo(() => {\n return props.remoteVideoTileMenuOptions?.isHidden ? false : props.isMobile ? {\n kind: 'drawer',\n hostId: props.drawerMenuHostId\n } : {\n kind: 'contextual'\n };\n }, [props.remoteVideoTileMenuOptions?.isHidden, props.isMobile, props.drawerMenuHostId]);\n\n /* @conditional-compile-remove(vertical-gallery) */\n const overflowGalleryPosition = useMemo(() => {\n /* @conditional-compile-remove(gallery-layouts) */\n if (props.userSetOverflowGalleryPosition === 'horizontalTop') {\n return props.userSetOverflowGalleryPosition;\n }\n return containerWidth && containerHeight && containerWidth / containerHeight >= 16 / 9 ? 'verticalRight' : 'horizontalBottom';\n }, [/* @conditional-compile-remove(gallery-layouts) */props.userSetOverflowGalleryPosition, containerWidth, containerHeight]);\n const VideoGalleryMemoized = useMemo(() => {\n const layoutBasedOnUserSelection = (): VideoGalleryLayout => {\n /* @conditional-compile-remove(gallery-layouts) */\n return props.localVideoTileOptions ? layoutBasedOnTilePosition : props.userSetGalleryLayout;\n return layoutBasedOnTilePosition;\n };\n return <VideoGallery {...videoGalleryProps} localVideoViewOptions={localVideoViewOptions} remoteVideoViewOptions={remoteVideoViewOptions} styles={VideoGalleryStyles} layout={layoutBasedOnUserSelection()} showCameraSwitcherInLocalPreview={props.isMobile} localVideoCameraCycleButtonProps={cameraSwitcherProps} onRenderAvatar={onRenderAvatar}\n /* @conditional-compile-remove(pinned-participants) */ remoteVideoTileMenu={remoteVideoTileMenuOptions}\n /* @conditional-compile-remove(vertical-gallery) */ overflowGalleryPosition={overflowGalleryPosition}\n /* @conditional-compile-remove(rooms) */ localVideoTileSize={props.localVideoTileOptions === false || userRole === 'Consumer' || isRoomsCall && userRole === 'Unknown' ? 'hidden' : props.isMobile && containerAspectRatio < 1 ? '9:16' : '16:9'} />;\n }, [videoGalleryProps, props.isMobile, /* @conditional-compile-remove(rooms) */\n props.localVideoTileOptions, cameraSwitcherProps, onRenderAvatar, /* @conditional-compile-remove(pinned-participants) */\n remoteVideoTileMenuOptions, /* @conditional-compile-remove(vertical-gallery) */\n overflowGalleryPosition, /* @conditional-compile-remove(rooms) */\n userRole, /* @conditional-compile-remove(rooms) */\n isRoomsCall, /* @conditional-compile-remove(vertical-gallery) */\n containerAspectRatio, /* @conditional-compile-remove(gallery-layouts) */\n props.userSetGalleryLayout, layoutBasedOnTilePosition]);\n return <div /* @conditional-compile-remove(vertical-gallery) */ ref={containerRef} style={mediaGalleryContainerStyles}>\n <Announcer announcementString={announcerString} ariaLive={'polite'} />\n {VideoGalleryMemoized}\n </div>;\n};\nconst mediaGalleryContainerStyles: CSSProperties = {\n width: '100%',\n height: '100%'\n};\nconst localVideoTileLayoutTrampoline = (localTileOptions?: string): VideoGalleryLayout => {\n /* @conditional-compile-remove(click-to-call) */\n return localTileOptions === 'grid' ? 'default' : 'floatingLocalVideo';\n return 'floatingLocalVideo';\n};"]}
1
+ {"version":3,"file":"MediaGallery.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/MediaGallery.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAiB,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACnE,mDAAmD,CAAC,wCAAwC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,YAAY,EAGZ,SAAS,EAGV,4CAAmC;AAEpC,mDAAmD,CAAC,wCAAwC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,4CAAmC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAA6B,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mCAAmC,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,2BAA2B,EAAE,4CAAmC;AAEzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAI/E,wCAAwC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AA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C,+BAA+B,IACzF,CACH,CAAC;IACJ,CAAC,EAAE;QACD,iBAAiB;QACjB,KAAK,CAAC,QAAQ;QACd,wCAAwC;QACxC,KAAK,CAAC,qBAAqB;QAC3B,mBAAmB;QACnB,cAAc;QACd,0BAA0B;QAC1B,mDAAmD;QACnD,uBAAuB;QACvB,wCAAwC;QACxC,QAAQ;QACR,wCAAwC;QACxC,WAAW;QACX,mDAAmD;QACnD,oBAAoB;QACpB,kDAAkD;QAClD,KAAK,CAAC,oBAAoB;QAC1B,yBAAyB;QACzB,2CAA2C;QAC3C,iBAAiB;QACjB,4CAA4C;QAC5C,+BAA+B;QAC/B,4CAA4C;QAC5C,8BAA8B;QAC9B,4CAA4C;QAC5C,gCAAgC;QAChC,4CAA4C;QAC5C,+BAA+B;QAC/B,4CAA4C;QAC5C,oBAAoB;KACrB,CAAC,CAAC;IAEH,OAAO,CACL,6BAAyD,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,2BAA2B;QAC5G,oBAAC,SAAS,IAAC,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,GAAI;QACrE,oBAAoB,CACjB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAErF,MAAM,8BAA8B,GAAG;AACrC,gDAAgD,CAAC,gBAAyB,EACtD,EAAE;IACtB,gDAAgD;IAChD,OAAO,gBAAgB,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACtE,OAAO,oBAAoB,CAAC;AAC9B,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { CSSProperties, useCallback, useMemo } from 'react';\n/* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\nimport { useRef } from 'react';\nimport {\n VideoGallery,\n VideoStreamOptions,\n CustomAvatarOptions,\n Announcer,\n VideoTileContextualMenuProps,\n VideoTileDrawerMenuProps\n} from '@internal/react-components';\nimport { VideoGalleryLayout } from '@internal/react-components';\n/* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\nimport { _useContainerWidth, _useContainerHeight } from '@internal/react-components';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { AvatarPersona, AvatarPersonaDataCallback } from '../../common/AvatarPersona';\nimport { mergeStyles, Stack } from '@fluentui/react';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { useSelector } from '../hooks/useSelector';\nimport { localVideoCameraCycleButtonSelector } from '../selectors/LocalVideoTileSelector';\nimport { LocalVideoCameraCycleButton } from '@internal/react-components';\nimport { _formatString } from '@internal/acs-ui-common';\nimport { useParticipantChangedAnnouncement } from '../utils/MediaGalleryUtils';\nimport { RemoteVideoTileMenuOptions } from '../CallComposite';\n/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\nimport { LocalVideoTileOptions } from '../CallComposite';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../adapter/CallAdapterProvider';\n/* @conditional-compile-remove(spotlight) */\nimport { PromptProps } from './Prompt';\n/* @conditional-compile-remove(spotlight) */\nimport { useLocalSpotlightCallbacksWithPrompt, useRemoteSpotlightCallbacksWithPrompt } from '../utils/spotlightUtils';\n\nconst VideoGalleryStyles = {\n root: {\n height: '100%',\n minHeight: '10rem', // space affordance to ensure media gallery is never collapsed\n minWidth: '6rem'\n }\n};\n\nconst localVideoViewOptions = {\n scalingMode: 'Crop',\n isMirrored: true\n} as VideoStreamOptions;\n\nconst remoteVideoViewOptions = {\n scalingMode: 'Crop'\n} as VideoStreamOptions;\n\n/**\n * @private\n */\nexport interface MediaGalleryProps {\n isVideoStreamOn?: boolean;\n isMicrophoneChecked?: boolean;\n onStartLocalVideo: () => Promise<void>;\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n isMobile?: boolean;\n drawerMenuHostId?: string;\n remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;\n /* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\n localVideoTileOptions?: boolean | LocalVideoTileOptions;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetOverflowGalleryPosition?: 'Responsive' | 'horizontalTop';\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout: VideoGalleryLayout;\n /* @conditional-compile-remove(spotlight) */\n setIsPromptOpen: (isOpen: boolean) => void;\n /* @conditional-compile-remove(spotlight) */\n setPromptProps: (props: PromptProps) => void;\n /* @conditional-compile-remove(spotlight) */\n hideSpotlightButtons?: boolean;\n}\n\n/**\n * @private\n */\nexport const MediaGallery = (props: MediaGalleryProps): JSX.Element => {\n /* @conditional-compile-remove(spotlight) */\n const { setIsPromptOpen, setPromptProps, hideSpotlightButtons } = props;\n\n const videoGalleryProps = usePropsFor(VideoGallery);\n const cameraSwitcherCameras = useSelector(localVideoCameraCycleButtonSelector);\n const cameraSwitcherCallback = useHandlers(LocalVideoCameraCycleButton);\n const announcerString = useParticipantChangedAnnouncement();\n\n /* @conditional-compile-remove(rooms) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(rooms) */\n const userRole = adapter.getState().call?.role;\n /* @conditional-compile-remove(rooms) */\n const isRoomsCall = adapter.getState().isRoomsCall;\n\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerRef = useRef<HTMLDivElement>(null);\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerWidth = _useContainerWidth(containerRef);\n /* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */\n const containerHeight = _useContainerHeight(containerRef);\n /* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */\n const containerAspectRatio = containerWidth && containerHeight ? containerWidth / containerHeight : 0;\n /* @conditional-compile-remove(reaction) */\n const reactionResources = adapter.getState().reactions;\n\n const layoutBasedOnTilePosition: VideoGalleryLayout = localVideoTileLayoutTrampoline(\n /* @conditional-compile-remove(click-to-call) */ (props.localVideoTileOptions as LocalVideoTileOptions)?.position\n );\n\n const cameraSwitcherProps = useMemo(() => {\n return {\n ...cameraSwitcherCallback,\n ...cameraSwitcherCameras\n };\n }, [cameraSwitcherCallback, cameraSwitcherCameras]);\n\n const onRenderAvatar = useCallback(\n (userId?: string, options?: CustomAvatarOptions) => {\n return (\n <Stack className={mergeStyles({ position: 'absolute', height: '100%', width: '100%' })}>\n <Stack styles={{ root: { margin: 'auto', maxHeight: '100%' } }}>\n {options?.coinSize && (\n <AvatarPersona userId={userId} {...options} dataProvider={props.onFetchAvatarPersonaData} />\n )}\n </Stack>\n </Stack>\n );\n },\n [props.onFetchAvatarPersonaData]\n );\n\n const remoteVideoTileMenuOptions: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps = useMemo(() => {\n return props.remoteVideoTileMenuOptions?.isHidden\n ? false\n : props.isMobile\n ? { kind: 'drawer', hostId: props.drawerMenuHostId }\n : { kind: 'contextual' };\n }, [props.remoteVideoTileMenuOptions?.isHidden, props.isMobile, props.drawerMenuHostId]);\n\n /* @conditional-compile-remove(vertical-gallery) */\n const overflowGalleryPosition = useMemo(() => {\n /* @conditional-compile-remove(gallery-layouts) */\n if (props.userSetOverflowGalleryPosition === 'horizontalTop') {\n return props.userSetOverflowGalleryPosition;\n }\n return containerWidth && containerHeight && containerWidth / containerHeight >= 16 / 9\n ? 'verticalRight'\n : 'horizontalBottom';\n }, [\n /* @conditional-compile-remove(gallery-layouts) */ props.userSetOverflowGalleryPosition,\n containerWidth,\n containerHeight\n ]);\n\n /* @conditional-compile-remove(spotlight) */\n const { onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight } =\n videoGalleryProps;\n\n /* @conditional-compile-remove(spotlight) */\n const { onStartLocalSpotlightWithPrompt, onStopLocalSpotlightWithPrompt } = useLocalSpotlightCallbacksWithPrompt(\n onStartLocalSpotlight,\n onStopLocalSpotlight,\n setIsPromptOpen,\n setPromptProps\n );\n\n /* @conditional-compile-remove(spotlight) */\n const { onStartRemoteSpotlightWithPrompt, onStopRemoteSpotlightWithPrompt } = useRemoteSpotlightCallbacksWithPrompt(\n onStartRemoteSpotlight,\n onStopRemoteSpotlight,\n setIsPromptOpen,\n setPromptProps\n );\n\n const VideoGalleryMemoized = useMemo(() => {\n const layoutBasedOnUserSelection = (): VideoGalleryLayout => {\n /* @conditional-compile-remove(gallery-layouts) */\n return props.localVideoTileOptions ? layoutBasedOnTilePosition : props.userSetGalleryLayout;\n return layoutBasedOnTilePosition;\n };\n\n return (\n <VideoGallery\n {...videoGalleryProps}\n localVideoViewOptions={localVideoViewOptions}\n remoteVideoViewOptions={remoteVideoViewOptions}\n styles={VideoGalleryStyles}\n layout={layoutBasedOnUserSelection()}\n showCameraSwitcherInLocalPreview={props.isMobile}\n localVideoCameraCycleButtonProps={cameraSwitcherProps}\n onRenderAvatar={onRenderAvatar}\n remoteVideoTileMenu={remoteVideoTileMenuOptions}\n /* @conditional-compile-remove(vertical-gallery) */\n overflowGalleryPosition={overflowGalleryPosition}\n /* @conditional-compile-remove(rooms) */\n localVideoTileSize={\n props.localVideoTileOptions === false || userRole === 'Consumer' || (isRoomsCall && userRole === 'Unknown')\n ? 'hidden'\n : props.isMobile && containerAspectRatio < 1\n ? '9:16'\n : '16:9'\n }\n /* @conditional-compile-remove(reaction) */\n reactionResources={reactionResources}\n /* @conditional-compile-remove(spotlight) */\n onStartLocalSpotlight={hideSpotlightButtons ? undefined : onStartLocalSpotlightWithPrompt}\n /* @conditional-compile-remove(spotlight) */\n onStopLocalSpotlight={hideSpotlightButtons ? undefined : onStopLocalSpotlightWithPrompt}\n /* @conditional-compile-remove(spotlight) */\n onStartRemoteSpotlight={hideSpotlightButtons ? undefined : onStartRemoteSpotlightWithPrompt}\n /* @conditional-compile-remove(spotlight) */\n onStopRemoteSpotlight={hideSpotlightButtons ? undefined : onStopRemoteSpotlightWithPrompt}\n />\n );\n }, [\n videoGalleryProps,\n props.isMobile,\n /* @conditional-compile-remove(rooms) */\n props.localVideoTileOptions,\n cameraSwitcherProps,\n onRenderAvatar,\n remoteVideoTileMenuOptions,\n /* @conditional-compile-remove(vertical-gallery) */\n overflowGalleryPosition,\n /* @conditional-compile-remove(rooms) */\n userRole,\n /* @conditional-compile-remove(rooms) */\n isRoomsCall,\n /* @conditional-compile-remove(vertical-gallery) */\n containerAspectRatio,\n /* @conditional-compile-remove(gallery-layouts) */\n props.userSetGalleryLayout,\n layoutBasedOnTilePosition,\n /* @conditional-compile-remove(reaction) */\n reactionResources,\n /* @conditional-compile-remove(spotlight) */\n onStartLocalSpotlightWithPrompt,\n /* @conditional-compile-remove(spotlight) */\n onStopLocalSpotlightWithPrompt,\n /* @conditional-compile-remove(spotlight) */\n onStartRemoteSpotlightWithPrompt,\n /* @conditional-compile-remove(spotlight) */\n onStopRemoteSpotlightWithPrompt,\n /* @conditional-compile-remove(spotlight) */\n hideSpotlightButtons\n ]);\n\n return (\n <div /* @conditional-compile-remove(vertical-gallery) */ ref={containerRef} style={mediaGalleryContainerStyles}>\n <Announcer announcementString={announcerString} ariaLive={'polite'} />\n {VideoGalleryMemoized}\n </div>\n );\n};\n\nconst mediaGalleryContainerStyles: CSSProperties = { width: '100%', height: '100%' };\n\nconst localVideoTileLayoutTrampoline = (\n /* @conditional-compile-remove(click-to-call) */ localTileOptions?: string\n): VideoGalleryLayout => {\n /* @conditional-compile-remove(click-to-call) */\n return localTileOptions === 'grid' ? 'default' : 'floatingLocalVideo';\n return 'floatingLocalVideo';\n};\n"]}
@@ -10,10 +10,10 @@ import { useLocale } from '../../localization';
10
10
  export function MutedNotification(props) {
11
11
  const locale = useLocale();
12
12
  const theme = useTheme();
13
- return React.createElement(Stack, { horizontal: true, horizontalAlign: "center", className: mergeStyles(props.speakingWhileMuted === true ? isSpeakingAndMutedAnimationStyles : isNotSpeakingAndMutedAnimationStyles) },
13
+ return (React.createElement(Stack, { horizontal: true, horizontalAlign: "center", className: mergeStyles(props.speakingWhileMuted === true ? isSpeakingAndMutedAnimationStyles : isNotSpeakingAndMutedAnimationStyles) },
14
14
  React.createElement(Stack, { horizontal: true, className: mergeStyles(stackStyle(theme)) },
15
15
  React.createElement(CallCompositeIcon, { iconName: "Muted", className: mergeStyles(iconStyle(theme)) }),
16
- React.createElement(Text, { className: mergeStyles(textStyle(theme)), "aria-live": 'polite' }, locale.strings.call.mutedMessage)));
16
+ React.createElement(Text, { className: mergeStyles(textStyle(theme)), "aria-live": 'polite' }, locale.strings.call.mutedMessage))));
17
17
  }
18
18
  const stackStyle = (theme) => {
19
19
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"MutedNotification.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/MutedNotification.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAkB,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAS/C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC7D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,OAAO,oBAAC,KAAK,IAAC,UAAU,QAAC,eAAe,EAAC,QAAQ,EAAC,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC,kBAAkB,KAAK,IAAI,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,oCAAoC,CAAC;QAClL,oBAAC,KAAK,IAAC,UAAU,QAAC,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;YACzD,oBAAC,iBAAiB,IAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,GAAI;YAChF,oBAAC,IAAI,IAAC,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,eAAa,QAAQ,IAChE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAC5B,CACD,CACF,CAAC;AACb,CAAC;AACD,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE;IAC3C,OAAO;QACL,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC/B,GAAG,EAAE,MAAM;QACX,OAAO,EAAE,MAAM;QACf,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;QAC1C,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,GAAG;KACb,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,SAAS,GAAG,CAAC,KAAa,EAAU,EAAE;IAC1C,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC1B,SAAS,EAAE,SAAS;KACrB,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,SAAS,GAAG,CAAC,KAAa,EAAU,EAAE;IAC1C,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC1B,QAAQ,EAAE,MAAM;KACjB,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,iCAAiC,qBAClC,eAAe,CAAC,SAAS,CAC7B,CAAC;AACF,MAAM,oCAAoC,mCACrC,eAAe,CAAC,UAAU,KAC7B,OAAO,EAAE,MAAM,GAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AnimationStyles, IStyle, ITheme, mergeStyles, Stack, Text, useTheme } from '@fluentui/react';\nimport React from 'react';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { useLocale } from '../../localization';\n\n/**\n * @private\n */\nexport interface MutedNotificationProps {\n speakingWhileMuted: boolean;\n}\n\n/**\n * Notify the user that they're muted.\n */\nexport function MutedNotification(props: MutedNotificationProps): JSX.Element {\n const locale = useLocale();\n const theme = useTheme();\n return <Stack horizontal horizontalAlign=\"center\" className={mergeStyles(props.speakingWhileMuted === true ? isSpeakingAndMutedAnimationStyles : isNotSpeakingAndMutedAnimationStyles)}>\n <Stack horizontal className={mergeStyles(stackStyle(theme))}>\n <CallCompositeIcon iconName=\"Muted\" className={mergeStyles(iconStyle(theme))} />\n <Text className={mergeStyles(textStyle(theme))} aria-live={'polite'}>\n {locale.strings.call.mutedMessage}\n </Text>\n </Stack>\n </Stack>;\n}\nconst stackStyle = (theme: ITheme): IStyle => {\n return {\n background: theme.palette.black,\n gap: `1rem`,\n padding: `1rem`,\n borderRadius: theme.effects.roundedCorner4,\n width: 'fit-content',\n opacity: 0.8\n };\n};\nconst iconStyle = (theme: ITheme): IStyle => {\n return {\n color: theme.palette.white,\n maxHeight: '1.25rem'\n };\n};\nconst textStyle = (theme: ITheme): IStyle => {\n return {\n color: theme.palette.white,\n fontSize: `1rem`\n };\n};\nconst isSpeakingAndMutedAnimationStyles: IStyle = {\n ...AnimationStyles.fadeIn100\n};\nconst isNotSpeakingAndMutedAnimationStyles: IStyle = {\n ...AnimationStyles.fadeOut200,\n display: 'none'\n};"]}
1
+ {"version":3,"file":"MutedNotification.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/MutedNotification.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAkB,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;A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CAAC,KAAa,EAAU,EAAE;IAC1C,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;QAC1B,QAAQ,EAAE,MAAM;KACjB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iCAAiC,qBAClC,eAAe,CAAC,SAAS,CAC7B,CAAC;AAEF,MAAM,oCAAoC,mCACrC,eAAe,CAAC,UAAU,KAC7B,OAAO,EAAE,MAAM,GAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AnimationStyles, IStyle, ITheme, mergeStyles, Stack, Text, useTheme } from '@fluentui/react';\nimport React from 'react';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { useLocale } from '../../localization';\n\n/**\n * @private\n */\nexport interface MutedNotificationProps {\n speakingWhileMuted: boolean;\n}\n\n/**\n * Notify the user that they're muted.\n */\nexport function MutedNotification(props: MutedNotificationProps): JSX.Element {\n const locale = useLocale();\n const theme = useTheme();\n\n return (\n <Stack\n horizontal\n horizontalAlign=\"center\"\n className={mergeStyles(\n props.speakingWhileMuted === true ? isSpeakingAndMutedAnimationStyles : isNotSpeakingAndMutedAnimationStyles\n )}\n >\n <Stack horizontal className={mergeStyles(stackStyle(theme))}>\n <CallCompositeIcon iconName=\"Muted\" className={mergeStyles(iconStyle(theme))} />\n <Text className={mergeStyles(textStyle(theme))} aria-live={'polite'}>\n {locale.strings.call.mutedMessage}\n </Text>\n </Stack>\n </Stack>\n );\n}\n\nconst stackStyle = (theme: ITheme): IStyle => {\n return {\n background: theme.palette.black,\n gap: `1rem`,\n padding: `1rem`,\n borderRadius: theme.effects.roundedCorner4,\n width: 'fit-content',\n opacity: 0.8\n };\n};\n\nconst iconStyle = (theme: ITheme): IStyle => {\n return {\n color: theme.palette.white,\n maxHeight: '1.25rem'\n };\n};\n\nconst textStyle = (theme: ITheme): IStyle => {\n return {\n color: theme.palette.white,\n fontSize: `1rem`\n };\n};\n\nconst isSpeakingAndMutedAnimationStyles: IStyle = {\n ...AnimationStyles.fadeIn100\n};\n\nconst isNotSpeakingAndMutedAnimationStyles: IStyle = {\n ...AnimationStyles.fadeOut200,\n display: 'none'\n};\n"]}
@@ -18,10 +18,10 @@ export const NetworkReconnectTile = (props) => {
18
18
  const palette = useTheme().palette;
19
19
  const strings = useLocale().strings.call;
20
20
  const handlers = useHandlers(ExpandedLocalVideoTile);
21
- return React.createElement(ExpandedLocalVideoTile, Object.assign({ localParticipantVideoStream: props.localParticipantVideoStream, overlayContent: React.createElement(Stack, { verticalFill: true, horizontalAlign: "center", verticalAlign: "center", className: mergeStyles(containerStyle), "aria-atomic": true },
21
+ return (React.createElement(ExpandedLocalVideoTile, Object.assign({ localParticipantVideoStream: props.localParticipantVideoStream, overlayContent: React.createElement(Stack, { verticalFill: true, horizontalAlign: "center", verticalAlign: "center", className: mergeStyles(containerStyle), "aria-atomic": true },
22
22
  React.createElement(Stack, { horizontal: true, className: mergeStyles(titleContainerStyle) },
23
23
  React.createElement(CallCompositeIcon, { iconName: "NetworkReconnectIcon", className: mergeStyles(titleStyle(palette, isVideoReady)) }),
24
24
  React.createElement(Text, { className: mergeStyles(titleStyle(palette, isVideoReady)), "aria-live": 'assertive' }, strings.networkReconnectTitle)),
25
- React.createElement(Text, { className: mergeStyles(moreDetailsStyle(palette, isVideoReady)), "aria-live": 'assertive' }, strings.networkReconnectMoreDetails)) }, handlers));
25
+ React.createElement(Text, { className: mergeStyles(moreDetailsStyle(palette, isVideoReady)), "aria-live": 'assertive' }, strings.networkReconnectMoreDetails)) }, handlers)));
26
26
  };
27
27
  //# sourceMappingURL=NetworkReconnectTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkReconnectTile.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,Q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AC,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,eAAa,WAAW,IACpF,OAAO,CAAC,qBAAqB,CACzB,CACD;YACR,oBAAC,IAAI,IAAC,SAAS,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,eAAa,WAAW,IAC1F,OAAO,CAAC,2BAA2B,CAC/B,CACD,IAAM,QAAQ,EAAI,CAAC;AACnC,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { VideoGalleryStream, useTheme } from '@internal/react-components';\nimport { ExpandedLocalVideoTile } from './ExpandedLocalVideoTile';\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\nimport { useLocale } from '../../localization';\nimport { containerStyle, moreDetailsStyle, titleContainerStyle, titleStyle } from '../styles/NetworkReconnectTile.styles';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { CallCompositeIcon } from '../../common/icons';\n\n/**\n * @private\n */\nexport interface NetworkReconnectTileProps {\n localParticipantVideoStream: VideoGalleryStream;\n}\n\n/**\n * @private\n */\nexport const NetworkReconnectTile = (props: NetworkReconnectTileProps): JSX.Element => {\n const videoStream = props.localParticipantVideoStream;\n const isVideoReady = videoStream?.isAvailable ?? false;\n const palette = useTheme().palette;\n const strings = useLocale().strings.call;\n const handlers = useHandlers(ExpandedLocalVideoTile);\n return <ExpandedLocalVideoTile localParticipantVideoStream={props.localParticipantVideoStream} overlayContent={<Stack verticalFill horizontalAlign=\"center\" verticalAlign=\"center\" className={mergeStyles(containerStyle)} aria-atomic>\n <Stack horizontal className={mergeStyles(titleContainerStyle)}>\n <CallCompositeIcon iconName=\"NetworkReconnectIcon\" className={mergeStyles(titleStyle(palette, isVideoReady))} />\n <Text className={mergeStyles(titleStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectTitle}\n </Text>\n </Stack>\n <Text className={mergeStyles(moreDetailsStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectMoreDetails}\n </Text>\n </Stack>} {...handlers} />;\n};"]}
1
+ {"version":3,"file":"NetworkReconnectTile.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/NetworkReconnectTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,QAAQ,EAAE,4CAAmC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACX,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AASvD;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;;IACpF,MAAM,WAAW,GAAG,KAAK,CAAC,2BAA2B,CAAC;IACtD,MAAM,YAAY,GAAG,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,WAAW,mCAAI,KAAK,CAAC;IACvD,MAAM,OAAO,GAAG,QAAQ,EAAE,CAAC,OAAO,CAAC;IACnC,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAEzC,MAAM,QAAQ,GAAG,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAErD,OAAO,CACL,oBAAC,sBAAsB,kBACrB,2BAA2B,EAAE,KAAK,CAAC,2BAA2B,EAC9D,cAAc,EACZ,oBAAC,KAAK,IACJ,YAAY,QACZ,eAAe,EAAC,QAAQ,EACxB,aAAa,EAAC,QAAQ,EACtB,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC;YAGtC,oBAAC,KAAK,IAAC,UAAU,QAAC,SAAS,EAAE,WAAW,CAAC,mBAAmB,CAAC;gBAC3D,oBAAC,iBAAiB,IAChB,QAAQ,EAAC,sBAAsB,EAC/B,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,GACzD;gBACF,oBAAC,IAAI,IAAC,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,eAAa,WAAW,IACpF,OAAO,CAAC,qBAAqB,CACzB,CACD;YACR,oBAAC,IAAI,IAAC,SAAS,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,eAAa,WAAW,IAC1F,OAAO,CAAC,2BAA2B,CAC/B,CACD,IAEN,QAAQ,EACZ,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { VideoGalleryStream, useTheme } from '@internal/react-components';\nimport { ExpandedLocalVideoTile } from './ExpandedLocalVideoTile';\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\nimport { useLocale } from '../../localization';\nimport {\n containerStyle,\n moreDetailsStyle,\n titleContainerStyle,\n titleStyle\n} from '../styles/NetworkReconnectTile.styles';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { CallCompositeIcon } from '../../common/icons';\n\n/**\n * @private\n */\nexport interface NetworkReconnectTileProps {\n localParticipantVideoStream: VideoGalleryStream;\n}\n\n/**\n * @private\n */\nexport const NetworkReconnectTile = (props: NetworkReconnectTileProps): JSX.Element => {\n const videoStream = props.localParticipantVideoStream;\n const isVideoReady = videoStream?.isAvailable ?? false;\n const palette = useTheme().palette;\n const strings = useLocale().strings.call;\n\n const handlers = useHandlers(ExpandedLocalVideoTile);\n\n return (\n <ExpandedLocalVideoTile\n localParticipantVideoStream={props.localParticipantVideoStream}\n overlayContent={\n <Stack\n verticalFill\n horizontalAlign=\"center\"\n verticalAlign=\"center\"\n className={mergeStyles(containerStyle)}\n aria-atomic\n >\n <Stack horizontal className={mergeStyles(titleContainerStyle)}>\n <CallCompositeIcon\n iconName=\"NetworkReconnectIcon\"\n className={mergeStyles(titleStyle(palette, isVideoReady))}\n />\n <Text className={mergeStyles(titleStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectTitle}\n </Text>\n </Stack>\n <Text className={mergeStyles(moreDetailsStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectMoreDetails}\n </Text>\n </Stack>\n }\n {...handlers}\n />\n );\n};\n"]}
@@ -0,0 +1,73 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * @private
4
+ */
5
+ export interface PromptProps {
6
+ isOpen?: boolean;
7
+ onDismiss?: () => void;
8
+ heading?: string;
9
+ text?: string;
10
+ confirmButtonLabel?: string;
11
+ cancelButtonLabel?: string;
12
+ onConfirm?: () => void;
13
+ onCancel?: () => void;
14
+ }
15
+ /**
16
+ * @private
17
+ */
18
+ export declare const Prompt: (props: PromptProps) => JSX.Element;
19
+ /**
20
+ * Strings used in prompt related to spotlight
21
+ * @beta
22
+ */
23
+ export interface SpotlightPromptStrings {
24
+ /**
25
+ * Heading for prompt when starting spotlight on participant
26
+ */
27
+ startSpotlightHeading: string;
28
+ /**
29
+ * Text for prompt when starting spotlight on participant
30
+ */
31
+ startSpotlightText: string;
32
+ /**
33
+ * Label for button to confirm starting spotlight on local user in prompt
34
+ */
35
+ startSpotlightOnSelfText: string;
36
+ /**
37
+ * Label for button to confirm starting spotlight on participant in prompt
38
+ */
39
+ startSpotlightConfirmButtonLabel: string;
40
+ /**
41
+ * Label for button to cancel starting spotlight on participant in prompt
42
+ */
43
+ startSpotlightCancelButtonLabel: string;
44
+ /**
45
+ * Heading for prompt when stopping spotlight on participant
46
+ */
47
+ stopSpotlightHeading: string;
48
+ /**
49
+ * Heading for prompt when stopping spotlight on local user
50
+ */
51
+ stopSpotlightOnSelfHeading: string;
52
+ /**
53
+ * Text for prompt when stopping spotlight on participant
54
+ */
55
+ stopSpotlightText: string;
56
+ /**
57
+ * Text for prompt when stopping spotlight on local user
58
+ */
59
+ stopSpotlightOnSelfText: string;
60
+ /**
61
+ * Label for button to confirm stopping spotlight on participant in prompt
62
+ */
63
+ stopSpotlightConfirmButtonLabel: string;
64
+ /**
65
+ * Label for button to confirm stopping spotlight on local user in prompt
66
+ */
67
+ stopSpotlightOnSelfConfirmButtonLabel: string;
68
+ /**
69
+ * Label for button to cancel stopping spotlight on participant in prompt
70
+ */
71
+ stopSpotlightCancelButtonLabel: string;
72
+ }
73
+ //# sourceMappingURL=Prompt.d.ts.map
@@ -0,0 +1,41 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /* @conditional-compile-remove(spotlight) */
4
+ import { DefaultButton, IconButton, Modal, PrimaryButton, Stack, Text, mergeStyles } from '@fluentui/react';
5
+ /* @conditional-compile-remove(spotlight) */
6
+ import { useTheme } from "../../../../../react-components/src";
7
+ /* @conditional-compile-remove(spotlight) */
8
+ import React from 'react';
9
+ /* @conditional-compile-remove(spotlight) */
10
+ /**
11
+ * @private
12
+ */
13
+ export const Prompt = (props) => {
14
+ const theme = useTheme();
15
+ return (React.createElement(Modal, { styles: modalStyles, isOpen: props.isOpen, onDismiss: props.onDismiss, isBlocking: false },
16
+ React.createElement(Stack, { className: mergeStyles({ position: 'relative' }) },
17
+ React.createElement(Text, { className: mergeStyles({ fontWeight: 600, fontSize: '1.25rem' }) }, props.heading),
18
+ React.createElement(IconButton, { styles: iconButtonStyles(theme), iconProps: { iconName: 'Cancel' }, onClick: props.onCancel })),
19
+ React.createElement(Stack, { verticalAlign: "center", className: mergeStyles({ minHeight: '6rem' }) },
20
+ React.createElement(Text, { className: mergeStyles({ fontSize: '0.875rem' }) }, props.text)),
21
+ React.createElement(Stack, { horizontal: true, reversed: true, tokens: { childrenGap: '0.5rem' } },
22
+ React.createElement(DefaultButton, { styles: buttonTextStyles, text: props.cancelButtonLabel, onClick: props.onCancel }),
23
+ React.createElement(PrimaryButton, { styles: buttonTextStyles, text: props.confirmButtonLabel, onClick: props.onConfirm }))));
24
+ };
25
+ /* @conditional-compile-remove(spotlight) */
26
+ const iconButtonStyles = (theme) => ({
27
+ root: {
28
+ position: 'absolute',
29
+ top: 0,
30
+ right: 0,
31
+ color: theme.palette.neutralPrimary
32
+ },
33
+ rootHovered: {
34
+ color: theme.palette.neutralDark
35
+ }
36
+ });
37
+ /* @conditional-compile-remove(spotlight) */
38
+ const modalStyles = { main: { padding: '1.5rem ', maxWidth: '30rem' } };
39
+ /* @conditional-compile-remove(spotlight) */
40
+ const buttonTextStyles = { label: { fontSize: '0.875rem' } };
41
+ //# sourceMappingURL=Prompt.js.map