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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1004) hide show
  1. package/dist/communication-react.d.ts +21 -692
  2. package/dist/dist-cjs/communication-react/index.js +4860 -7044
  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 +1 -4
  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 +0 -10
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -19
  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 +0 -15
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +11 -57
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +5 -12
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +55 -20
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -6
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +47 -79
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +2 -4
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +6 -2
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -12
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +11 -80
  49. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +3 -6
  53. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +7 -11
  58. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +0 -16
  60. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +1 -39
  61. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -6
  63. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +17 -56
  64. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +0 -1
  66. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +11 -73
  67. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  68. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  69. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +75 -65
  72. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +0 -66
  74. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -7
  76. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +17 -73
  77. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +8 -7
  79. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +85 -74
  81. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -2
  85. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +4 -14
  86. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/Converter.js +13 -16
  90. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +57 -51
  92. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +16 -14
  94. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +15 -3
  97. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +3 -1
  101. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +3 -0
  106. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +67 -65
  108. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +24 -32
  110. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +11 -8
  112. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +8 -7
  116. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  117. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  118. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  120. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  121. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +7 -6
  122. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -2
  124. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  125. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  126. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  127. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  128. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  129. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  130. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  131. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  132. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  133. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +10 -3
  134. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  135. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  136. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  137. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  138. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  139. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +23 -40
  140. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  141. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  142. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  144. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +7 -3
  146. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  147. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +1 -3
  148. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  150. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -10
  151. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  152. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  153. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +1 -1
  154. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +11 -10
  155. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  156. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  157. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -8
  158. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  159. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  160. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +3 -1
  161. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  162. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +68 -59
  163. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  164. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +128 -114
  165. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  166. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
  167. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  168. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  171. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  173. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  174. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  175. package/dist/dist-esm/communication-react/src/index.d.ts +2 -6
  176. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  177. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  178. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +6 -3
  179. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  180. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  182. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +10 -4
  183. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  184. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  185. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  187. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  188. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/CameraButton.js +19 -8
  190. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  192. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +8 -9
  194. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  195. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +22 -44
  196. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +5 -2
  198. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  199. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +22 -37
  200. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +8 -14
  202. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +43 -45
  204. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +30 -69
  206. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +25 -23
  208. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +31 -34
  210. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +5 -9
  212. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  213. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +31 -69
  214. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  217. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +4 -7
  219. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  221. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/ControlBar.js +14 -10
  226. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +4 -14
  228. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +14 -3
  230. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +10 -4
  232. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +31 -14
  234. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +8 -5
  236. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +6 -24
  238. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +20 -12
  240. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/DevicesButton.js +27 -19
  242. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +48 -12
  244. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +51 -45
  246. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  248. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +6 -2
  250. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  252. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +23 -11
  254. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  255. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +4 -6
  256. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  257. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/EndCallButton.js +7 -3
  259. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/ErrorBar.js +5 -9
  261. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/FileCard.js +4 -3
  263. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  265. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +4 -0
  267. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +16 -18
  268. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  269. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +7 -8
  270. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  272. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  274. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  276. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +9 -7
  278. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/ImageGallery.js +13 -10
  280. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
  281. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +10 -3
  282. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  283. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +7 -5
  284. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +5 -3
  286. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +0 -5
  288. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +11 -60
  289. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/MentionPopover.js +14 -17
  291. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +36 -23
  293. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  295. package/dist/dist-esm/react-components/src/components/MessageThread.js +48 -82
  296. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -17
  298. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +101 -94
  300. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +18 -15
  302. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/ParticipantList.js +36 -61
  304. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +32 -46
  306. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  308. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  310. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +12 -6
  312. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  313. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +0 -6
  314. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +33 -57
  315. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  316. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  317. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  318. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  319. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +14 -6
  321. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/SendBox.js +20 -24
  323. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  324. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  325. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  326. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +4 -2
  328. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  330. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/SystemMessage.js +4 -2
  332. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  333. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +22 -67
  334. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +49 -55
  336. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  338. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +6 -9
  340. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +1 -1
  342. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  343. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +1 -1
  344. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +8 -4
  346. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +1 -1
  348. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +34 -19
  350. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  351. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +1 -3
  352. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +12 -8
  354. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  355. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +12 -6
  356. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +2 -6
  358. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +19 -42
  360. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  361. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -14
  362. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  363. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +28 -69
  364. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  365. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  366. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +0 -4
  368. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  370. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +7 -19
  372. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  373. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +6 -8
  374. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +4 -2
  376. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +21 -60
  378. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +6 -1
  380. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +34 -9
  382. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +11 -2
  384. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  388. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +3 -1
  390. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +11 -10
  392. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  393. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +28 -22
  394. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +5 -10
  396. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  397. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +0 -7
  398. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +39 -61
  399. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  401. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +0 -5
  402. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +30 -77
  403. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -18
  405. package/dist/dist-esm/react-components/src/components/VideoGallery.js +69 -151
  406. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +2 -13
  408. package/dist/dist-esm/react-components/src/components/VideoTile.js +87 -92
  409. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  411. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -10
  413. package/dist/dist-esm/react-components/src/components/index.js +0 -10
  414. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  416. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  417. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +6 -2
  419. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  422. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +1 -1
  423. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +3 -5
  424. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  425. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  427. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  429. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +5 -2
  430. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +5 -2
  433. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +10 -4
  437. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +2 -1
  439. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  441. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +10 -2
  442. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  443. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  444. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +6 -3
  446. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  447. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +2 -1
  449. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +2 -1
  453. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +19 -5
  455. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  456. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +0 -11
  457. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +0 -37
  458. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  460. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +4 -1
  461. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +2 -3
  463. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  467. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +7 -4
  468. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  469. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  473. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +1 -10
  475. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +3 -1
  477. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/utils.js +10 -13
  479. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +6 -8
  481. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  483. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  485. package/dist/dist-esm/react-components/src/index.d.ts +0 -5
  486. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  487. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -5
  488. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +3 -1
  491. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +3 -1
  493. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +3 -1
  495. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +3 -1
  497. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  498. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +3 -1
  499. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +3 -1
  501. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +3 -1
  503. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +3 -1
  505. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/localization/locales/index.js +3 -1
  507. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +3 -1
  509. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +3 -1
  511. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  512. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +3 -1
  513. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  514. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +3 -1
  515. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  516. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +3 -1
  517. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +3 -1
  519. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +3 -1
  521. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +3 -1
  523. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +3 -1
  525. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +3 -1
  527. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  529. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +3 -1
  530. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +3 -1
  532. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -3
  534. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  536. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/theming/generateTheme.js +1 -15
  538. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -7
  540. package/dist/dist-esm/react-components/src/theming/icons.js +36 -46
  541. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  544. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +7 -1
  548. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  552. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  556. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -38
  557. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -13
  563. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  565. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  566. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -74
  567. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +40 -67
  568. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  569. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +0 -109
  570. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  571. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -7
  572. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +65 -155
  573. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  574. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -36
  575. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -7
  576. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  577. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  578. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +2 -5
  579. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  580. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  581. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +3 -1
  582. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  583. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  584. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -1
  585. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +5 -11
  586. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  587. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  588. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +0 -2
  589. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +39 -86
  590. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  591. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +59 -56
  592. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  593. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +141 -133
  594. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  595. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +18 -10
  596. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  597. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +7 -1
  598. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +1 -1
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +7 -1
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +4 -5
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +23 -34
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +26 -37
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +30 -26
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +43 -67
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +11 -29
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +0 -4
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +8 -70
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +8 -13
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +5 -3
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -9
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +11 -19
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +2 -5
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +7 -14
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +2 -5
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +1 -3
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -7
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -26
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -1
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +11 -68
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -8
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +32 -80
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +7 -13
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +7 -15
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +0 -35
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -13
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -3
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +1 -2
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +4 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +5 -7
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +1 -7
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +6 -2
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +4 -1
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +9 -2
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +2 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +2 -1
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +24 -6
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +0 -7
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +11 -22
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -6
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +31 -52
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +0 -74
  754. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +33 -96
  755. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  757. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +7 -9
  759. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +9 -6
  761. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  762. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  763. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +3 -9
  766. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +11 -73
  767. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -30
  769. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +0 -6
  771. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -20
  772. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  773. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +3 -3
  774. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -2
  775. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  776. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  778. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  780. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -5
  783. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +1 -4
  784. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  785. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +2 -3
  787. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +5 -3
  789. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +30 -37
  791. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +5 -3
  795. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  797. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +5 -5
  798. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +57 -46
  799. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +20 -15
  801. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +5 -5
  803. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +6 -11
  807. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  809. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -1
  811. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -5
  813. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  819. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +6 -6
  820. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +5 -3
  821. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +6 -2
  823. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -9
  825. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +25 -23
  827. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  828. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +4 -10
  830. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +14 -5
  832. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  833. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +23 -9
  834. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +8 -6
  837. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +16 -12
  839. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +5 -1
  843. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -2
  845. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +39 -95
  846. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +33 -35
  848. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -2
  850. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +61 -140
  851. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  852. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +7 -5
  856. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -8
  858. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +108 -115
  859. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -2
  862. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +14 -19
  867. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +12 -12
  871. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +8 -19
  873. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +15 -7
  875. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +8 -10
  877. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  878. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +13 -16
  879. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  880. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  882. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +0 -13
  883. package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -6
  884. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  889. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +10 -4
  890. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +51 -12
  892. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +29 -6
  894. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +22 -4
  896. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +0 -13
  898. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/common/utils.js +12 -17
  900. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  901. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  903. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  906. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  909. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +0 -2
  910. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  911. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  913. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  917. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  919. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  921. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  923. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  925. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  929. package/package.json +1 -1
  930. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +0 -16
  931. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +0 -24
  932. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +0 -1
  933. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +0 -16
  934. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +0 -27
  935. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +0 -1
  936. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +0 -19
  937. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +0 -13
  938. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +0 -1
  939. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +0 -49
  940. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +0 -55
  941. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +0 -1
  942. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +0 -15
  943. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +0 -18
  944. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +0 -1
  945. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +0 -18
  946. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +0 -40
  947. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +0 -1
  948. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +0 -54
  949. package/dist/dist-esm/react-components/src/components/ReactionButton.js +0 -89
  950. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +0 -1
  951. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +0 -64
  952. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +0 -55
  953. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +0 -1
  954. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +0 -18
  955. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +0 -57
  956. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +0 -1
  957. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +0 -141
  958. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +0 -4
  959. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +0 -1
  960. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +0 -63
  961. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +0 -122
  962. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +0 -1
  963. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +0 -22
  964. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +0 -53
  965. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +0 -1
  966. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +0 -17
  967. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +0 -127
  968. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +0 -1
  969. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +0 -24
  970. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +0 -76
  971. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +0 -1
  972. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -5
  973. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -16
  974. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
  975. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +0 -16
  976. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +0 -26
  977. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +0 -1
  978. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +0 -26
  979. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +0 -72
  980. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +0 -1
  981. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +0 -14
  982. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +0 -13
  983. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +0 -1
  984. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.d.ts +0 -8
  985. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js +0 -18
  986. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +0 -1
  987. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.d.ts +0 -17
  988. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +0 -30
  989. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +0 -1
  990. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +0 -18
  991. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +0 -41
  992. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +0 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +0 -6
  994. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +0 -29
  995. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +0 -1
  996. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +0 -13
  997. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +0 -87
  998. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +0 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +0 -13
  1000. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +0 -44
  1001. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +0 -1
  1002. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +0 -8
  1003. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +0 -23
  1004. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +0 -1
@@ -3,8 +3,6 @@
3
3
  import { mergeStyles, Stack } from '@fluentui/react';
4
4
  import { _isInLobbyOrConnecting } from "../../../../../calling-component-bindings/src";
5
5
  import { _ComplianceBanner, _DrawerMenu, _useContainerHeight, _useContainerWidth, ErrorBar, useTheme } from "../../../../../react-components/src";
6
- /* @conditional-compile-remove(spotlight) */
7
- import { VideoGallery } from "../../../../../react-components/src";
8
6
  import React, { useMemo, useRef, useState } from 'react';
9
7
  import { useEffect } from 'react';
10
8
  import { useCallback } from 'react';
@@ -41,13 +39,11 @@ import { localVideoSelector } from '../../CallComposite/selectors/localVideoStre
41
39
  /* @conditional-compile-remove(capabilities) */
42
40
  import { CapabilitiesChangedNotificationBar } from './CapabilitiesChangedNotificationBar';
43
41
  import { useLocale } from '../../localization';
44
- /* @conditional-compile-remove(spotlight) */
45
- import { usePropsFor } from '../hooks/usePropsFor';
46
42
  /**
47
43
  * @private
48
44
  */
49
45
  export const CallArrangement = (props) => {
50
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
46
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
51
47
  const containerClassName = useMemo(() => {
52
48
  return props.mobileView ? containerStyleMobile : containerStyleDesktop;
53
49
  }, [props.mobileView]);
@@ -76,22 +72,8 @@ export const CallArrangement = (props) => {
76
72
  mobileView: props.mobileView,
77
73
  peopleButtonRef
78
74
  });
79
- }, [
80
- updateSidePaneRenderer,
81
- props.callControlProps.callInvitationURL,
82
- (_a = props.callControlProps) === null || _a === void 0 ? void 0 : _a.onFetchParticipantMenuItems,
83
- /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */
84
- props.onFetchAvatarPersonaData,
85
- props.mobileView,
86
- peopleButtonRef
87
- ]);
88
- /* @conditional-compile-remove(spotlight) */
89
- const videoGalleryProps = usePropsFor(VideoGallery);
90
- const { isPeoplePaneOpen, openPeoplePane, closePeoplePane } = usePeoplePane(Object.assign(Object.assign({}, peoplePaneProps), {
91
- /* @conditional-compile-remove(spotlight) */ spotlightedParticipantUserIds: videoGalleryProps.spotlightedParticipants,
92
- /* @conditional-compile-remove(spotlight) */ onStartSpotlight: videoGalleryProps.onStartSpotlight,
93
- /* @conditional-compile-remove(spotlight) */ onStopSpotlight: videoGalleryProps.onStopSpotlight,
94
- /* @conditional-compile-remove(spotlight) */ ableToSpotlight: (_c = (_b = adapter.getState().call) === null || _b === void 0 ? void 0 : _b.capabilitiesFeature) === null || _c === void 0 ? void 0 : _c.capabilities.spotlightParticipant.isPresent }));
75
+ }, [updateSidePaneRenderer, props.callControlProps.callInvitationURL, (_a = props.callControlProps) === null || _a === void 0 ? void 0 : _a.onFetchParticipantMenuItems, /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */ props.onFetchAvatarPersonaData, props.mobileView, peopleButtonRef]);
76
+ const { isPeoplePaneOpen, openPeoplePane, closePeoplePane } = usePeoplePane(Object.assign({}, peoplePaneProps));
95
77
  const togglePeoplePane = useCallback(() => {
96
78
  if (isPeoplePaneOpen) {
97
79
  closePeoplePane();
@@ -118,7 +100,9 @@ export const CallArrangement = (props) => {
118
100
  }
119
101
  }, [props.mobileView, isSidePaneOpen]);
120
102
  const locale = useLocale();
121
- const modalStrings = { dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel };
103
+ const modalStrings = {
104
+ dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel
105
+ };
122
106
  const isMobileWithActivePane = props.mobileView && isSidePaneOpen;
123
107
  const callCompositeContainerCSS = useMemo(() => {
124
108
  return {
@@ -146,7 +130,7 @@ export const CallArrangement = (props) => {
146
130
  }, [togglePeoplePane]);
147
131
  const drawerContainerStylesValue = useMemo(() => drawerContainerStyles(DRAWER_Z_INDEX), []);
148
132
  /* @conditional-compile-remove(rooms) */
149
- const role = (_d = adapter.getState().call) === null || _d === void 0 ? void 0 : _d.role;
133
+ const role = (_b = adapter.getState().call) === null || _b === void 0 ? void 0 : _b.role;
150
134
  let canUnmute = true;
151
135
  /* @conditional-compile-remove(rooms) */
152
136
  canUnmute = role !== 'Consumer' ? true : false;
@@ -156,13 +140,13 @@ export const CallArrangement = (props) => {
156
140
  /* @conditional-compile-remove(rooms) */
157
141
  // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK
158
142
  if (role === 'Consumer' && props.errorBarProps) {
159
- filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');
143
+ filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');
160
144
  }
161
145
  /* @conditional-compile-remove(video-background-effects) */
162
146
  const isVideoPaneOpen = useIsParticularSidePaneOpen(VIDEO_EFFECTS_SIDE_PANE_ID);
163
147
  /* @conditional-compile-remove(video-background-effects) */
164
148
  if ((isVideoPaneOpen || !isCameraOn) && props.errorBarProps) {
165
- filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'unableToStartVideoEffect');
149
+ filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'unableToStartVideoEffect');
166
150
  }
167
151
  /* @conditional-compile-remove(close-captions) */
168
152
  const isTeamsCall = useSelector(getIsTeamsCall);
@@ -175,52 +159,29 @@ export const CallArrangement = (props) => {
175
159
  const verticalControlBar = props.mobileView && containerWidth && containerHeight && containerWidth / containerHeight > 1 ? true : false;
176
160
  /* @conditional-compile-remove(capabilities) */
177
161
  // Filter out shareScreen capability notifications if on mobile
178
- const filteredCapabilitesChangedNotifications = props.mobileView
179
- ? (_e = props.capabilitiesChangedNotificationBarProps) === null || _e === void 0 ? void 0 : _e.capabilitiesChangedNotifications.filter((notification) => notification.capabilityName !== 'shareScreen')
180
- : (_f = props.capabilitiesChangedNotificationBarProps) === null || _f === void 0 ? void 0 : _f.capabilitiesChangedNotifications;
181
- return (React.createElement("div", { ref: containerRef, className: mergeStyles(containerDivStyles), id: props.id },
162
+ const filteredCapabilitesChangedNotifications = props.mobileView ? (_c = props.capabilitiesChangedNotificationBarProps) === null || _c === void 0 ? void 0 : _c.capabilitiesChangedNotifications.filter(notification => notification.capabilityName !== 'shareScreen') : (_d = props.capabilitiesChangedNotificationBarProps) === null || _d === void 0 ? void 0 : _d.capabilitiesChangedNotifications;
163
+ return React.createElement("div", { ref: containerRef, className: mergeStyles(containerDivStyles), id: props.id },
182
164
  React.createElement(Stack, { verticalFill: true, horizontalAlign: "stretch", className: containerClassName, "data-ui-id": props.dataUiId },
183
165
  React.createElement(Stack, { reversed: true, horizontal: verticalControlBar, grow: true, styles: callArrangementContainerStyles(verticalControlBar) },
184
- ((_g = props.callControlProps) === null || _g === void 0 ? void 0 : _g.options) !== false && !isMobileWithActivePane && (React.createElement(Stack, { verticalAlign: 'center', className: mergeStyles({
166
+ ((_e = props.callControlProps) === null || _e === void 0 ? void 0 : _e.options) !== false && !isMobileWithActivePane && React.createElement(Stack, { verticalAlign: 'center', className: mergeStyles({
185
167
  zIndex: CONTROL_BAR_Z_INDEX,
186
168
  padding: verticalControlBar ? '0.25rem' : 'unset'
187
- }) }, isLegacyCallControlEnabled((_h = props.callControlProps) === null || _h === void 0 ? void 0 : _h.options) ? (React.createElement(CallControls, Object.assign({}, props.callControlProps, { containerWidth: containerWidth, containerHeight: containerHeight, isMobile: props.mobileView,
188
- /* @conditional-compile-remove(one-to-n-calling) */
189
- peopleButtonChecked: isPeoplePaneOpen,
190
- /* @conditional-compile-remove(one-to-n-calling) */
191
- onPeopleButtonClicked: togglePeoplePane, displayVertical: verticalControlBar }))) : (React.createElement(CommonCallControlBar, Object.assign({}, props.callControlProps, { callControls: props.callControlProps.options, callAdapter: adapter, mobileView: props.mobileView, disableButtonsForLobbyPage: isInLobby,
192
- /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
193
- disableButtonsForHoldScreen: isInLocalHold, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, onMoreButtonClicked: onMoreButtonClicked,
194
- /* @conditional-compile-remove(close-captions) */
195
- isCaptionsSupported: isTeamsCall && hasJoinedCall,
196
- /* @conditional-compile-remove(close-captions) */
197
- isCaptionsOn: isCaptionsOn,
198
- /* @conditional-compile-remove(video-background-effects) */
199
- onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined, displayVertical: verticalControlBar,
200
- /* @conditional-compile-remove(gallery-layouts) */
201
- onUserSetOverflowGalleryPositionChange: props.onUserSetOverflowGalleryPositionChange,
202
- /* @conditional-compile-remove(gallery-layouts) */
203
- onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange,
204
- /* @conditional-compile-remove(gallery-layouts) */
205
- userSetGalleryLayout: props.userSetGalleryLayout,
206
- /* @conditional-compile-remove(dtmf-dialer) */
207
- onSetDialpadPage: props.onSetDialpadPage,
208
- /* @conditional-compile-remove(dtmf-dialer) */
209
- dtmfDialerPresent: props.dtmfDialerPresent, peopleButtonRef: peopleButtonRef, cameraButtonRef: cameraButtonRef }))))),
210
- ((_j = props.callControlProps) === null || _j === void 0 ? void 0 : _j.options) !== false && showDrawer && (React.createElement(Stack, { styles: drawerContainerStylesValue },
169
+ }) }, isLegacyCallControlEnabled((_f = props.callControlProps) === null || _f === void 0 ? void 0 : _f.options) ? React.createElement(CallControls, Object.assign({}, props.callControlProps, { containerWidth: containerWidth, containerHeight: containerHeight, isMobile: props.mobileView,
170
+ /* @conditional-compile-remove(one-to-n-calling) */ peopleButtonChecked: isPeoplePaneOpen,
171
+ /* @conditional-compile-remove(one-to-n-calling) */ onPeopleButtonClicked: togglePeoplePane, displayVertical: verticalControlBar })) : React.createElement(CommonCallControlBar, Object.assign({}, props.callControlProps, { callControls: props.callControlProps.options, callAdapter: adapter, mobileView: props.mobileView, disableButtonsForLobbyPage: isInLobby,
172
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ disableButtonsForHoldScreen: isInLocalHold, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, onMoreButtonClicked: onMoreButtonClicked,
173
+ /* @conditional-compile-remove(close-captions) */ isCaptionsSupported: isTeamsCall && hasJoinedCall,
174
+ /* @conditional-compile-remove(close-captions) */ isCaptionsOn: isCaptionsOn,
175
+ /* @conditional-compile-remove(video-background-effects) */ onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined, displayVertical: verticalControlBar,
176
+ /* @conditional-compile-remove(gallery-layouts) */ onUserSetOverflowGalleryPositionChange: props.onUserSetOverflowGalleryPositionChange,
177
+ /* @conditional-compile-remove(gallery-layouts) */ onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange,
178
+ /* @conditional-compile-remove(gallery-layouts) */ userSetGalleryLayout: props.userSetGalleryLayout, peopleButtonRef: peopleButtonRef, cameraButtonRef: cameraButtonRef }))),
179
+ ((_g = props.callControlProps) === null || _g === void 0 ? void 0 : _g.options) !== false && showDrawer && React.createElement(Stack, { styles: drawerContainerStylesValue },
211
180
  React.createElement(PreparedMoreDrawer, { callControls: props.callControlProps.options, onLightDismiss: closeDrawer, onPeopleButtonClicked: onMoreDrawerPeopleClicked,
212
- /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
213
- disableButtonsForHoldScreen: isInLocalHold,
214
- /* @conditional-compile-remove(close-captions) */
215
- isCaptionsSupported: isTeamsCall && hasJoinedCall,
216
- /* @conditional-compile-remove(gallery-layouts) */
217
- onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange,
218
- /* @conditional-compile-remove(gallery-layouts) */
219
- userSetGalleryLayout: props.userSetGalleryLayout,
220
- /* @conditional-compile-remove(dtmf-dialer) */
221
- onSetDialpadPage: props.onSetDialpadPage,
222
- /* @conditional-compile-remove(dtmf-dialer) */
223
- dtmfDialerPresent: props.dtmfDialerPresent }))),
181
+ /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ disableButtonsForHoldScreen: isInLocalHold,
182
+ /* @conditional-compile-remove(close-captions) */ isCaptionsSupported: isTeamsCall && hasJoinedCall,
183
+ /* @conditional-compile-remove(gallery-layouts) */ onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange,
184
+ /* @conditional-compile-remove(gallery-layouts) */ userSetGalleryLayout: props.userSetGalleryLayout })),
224
185
  React.createElement(Stack, { horizontal: true, grow: true },
225
186
  React.createElement(Stack.Item, { style: callCompositeContainerCSS },
226
187
  React.createElement(Stack.Item, { styles: callGalleryStyles, grow: true },
@@ -228,31 +189,23 @@ export const CallArrangement = (props) => {
228
189
  React.createElement(Stack.Item, { styles: notificationsContainerStyles },
229
190
  React.createElement(Stack, { styles: bannerNotificationStyles },
230
191
  React.createElement(_ComplianceBanner, Object.assign({}, props.complianceBannerProps))),
231
- props.errorBarProps !== false && (React.createElement(Stack, { styles: bannerNotificationStyles },
232
- React.createElement(ErrorBar, Object.assign({}, props.errorBarProps, { onDismissError: props.onDismissError, activeErrorMessages: filteredLatestErrors })))),
233
- /* @conditional-compile-remove(capabilities) */
234
- props.capabilitiesChangedNotificationBarProps &&
235
- props.capabilitiesChangedNotificationBarProps.capabilitiesChangedNotifications.length > 0 && (React.createElement(Stack, { styles: bannerNotificationStyles },
236
- React.createElement(CapabilitiesChangedNotificationBar, Object.assign({}, props.capabilitiesChangedNotificationBarProps, { capabilitiesChangedNotifications: filteredCapabilitesChangedNotifications !== null && filteredCapabilitesChangedNotifications !== void 0 ? filteredCapabilitesChangedNotifications : [] })))),
237
- canUnmute && !!props.mutedNotificationProps && (React.createElement(MutedNotification, Object.assign({}, props.mutedNotificationProps)))),
238
- renderGallery && props.onRenderGalleryContent && props.onRenderGalleryContent(),
239
- /* @conditional-compile-remove(close-captions) */
240
- true &&
241
- /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ !isInLocalHold && (React.createElement(CaptionsBanner, { isMobile: props.mobileView, onFetchAvatarPersonaData: props.onFetchAvatarPersonaData }))))),
192
+ props.errorBarProps !== false && React.createElement(Stack, { styles: bannerNotificationStyles },
193
+ React.createElement(ErrorBar, Object.assign({}, props.errorBarProps, { onDismissError: props.onDismissError, activeErrorMessages: filteredLatestErrors }))), /* @conditional-compile-remove(capabilities) */
194
+ props.capabilitiesChangedNotificationBarProps && props.capabilitiesChangedNotificationBarProps.capabilitiesChangedNotifications.length > 0 && React.createElement(Stack, { styles: bannerNotificationStyles },
195
+ React.createElement(CapabilitiesChangedNotificationBar, Object.assign({}, props.capabilitiesChangedNotificationBarProps, { capabilitiesChangedNotifications: filteredCapabilitesChangedNotifications !== null && filteredCapabilitesChangedNotifications !== void 0 ? filteredCapabilitesChangedNotifications : [] }))),
196
+ canUnmute && !!props.mutedNotificationProps && React.createElement(MutedNotification, Object.assign({}, props.mutedNotificationProps))),
197
+ renderGallery && props.onRenderGalleryContent && props.onRenderGalleryContent(), /* @conditional-compile-remove(close-captions) */
198
+ true && /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ !isInLocalHold && React.createElement(CaptionsBanner, { isMobile: props.mobileView, onFetchAvatarPersonaData: props.onFetchAvatarPersonaData })))),
242
199
  React.createElement(SidePane, { mobileView: props.mobileView,
243
- /* @conditional-compile-remove(video-background-effects) */
244
- maxWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, minWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, updateSidePaneRenderer: props.updateSidePaneRenderer, onPeopleButtonClicked: props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options)
245
- ? undefined
246
- : togglePeoplePane, disablePeopleButton: typeof props.callControlProps.options !== 'boolean' &&
247
- isDisabled((_k = props.callControlProps.options) === null || _k === void 0 ? void 0 : _k.participantsButton), onChatButtonClicked: (_l = props.mobileChatTabHeader) === null || _l === void 0 ? void 0 : _l.onClick, disableChatButton: (_m = props.mobileChatTabHeader) === null || _m === void 0 ? void 0 : _m.disabled }),
248
- props.mobileView && (React.createElement(ModalLocalAndRemotePIP, { modalLayerHostId: props.modalLayerHostId, hidden: !isSidePaneOpen, styles: pipStyles, strings: modalStrings, minDragPosition: minMaxDragPosition.minDragPosition, maxDragPosition: minMaxDragPosition.maxDragPosition, onDismissSidePane: () => {
200
+ /* @conditional-compile-remove(video-background-effects) */ maxWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, minWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, updateSidePaneRenderer: props.updateSidePaneRenderer, onPeopleButtonClicked: props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options) ? undefined : togglePeoplePane, disablePeopleButton: typeof props.callControlProps.options !== 'boolean' && isDisabled((_h = props.callControlProps.options) === null || _h === void 0 ? void 0 : _h.participantsButton), onChatButtonClicked: (_j = props.mobileChatTabHeader) === null || _j === void 0 ? void 0 : _j.onClick, disableChatButton: (_k = props.mobileChatTabHeader) === null || _k === void 0 ? void 0 : _k.disabled }),
201
+ props.mobileView && React.createElement(ModalLocalAndRemotePIP, { modalLayerHostId: props.modalLayerHostId, hidden: !isSidePaneOpen, styles: pipStyles, strings: modalStrings, minDragPosition: minMaxDragPosition.minDragPosition, maxDragPosition: minMaxDragPosition.maxDragPosition, onDismissSidePane: () => {
249
202
  closePeoplePane();
250
203
  if (props.onCloseChatPane) {
251
204
  props.onCloseChatPane();
252
205
  }
253
- } })),
254
- drawerMenuItems.length > 0 && (React.createElement(Stack, { styles: drawerContainerStyles() },
255
- React.createElement(_DrawerMenu, { onLightDismiss: () => setDrawerMenuItems([]), items: drawerMenuItems }))))))));
206
+ } }),
207
+ drawerMenuItems.length > 0 && React.createElement(Stack, { styles: drawerContainerStyles() },
208
+ React.createElement(_DrawerMenu, { onLightDismiss: () => setDrawerMenuItems([]), items: drawerMenuItems }))))));
256
209
  };
257
210
  const isLegacyCallControlEnabled = (options) => {
258
211
  return !!options && options !== true && (options === null || options === void 0 ? void 0 : options.legacyControlBarExperience) === true;
@@ -1 +1 @@
1
- {"version":3,"file":"CallArrangement.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/CallArrangement.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAW,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAa,sBAAsB,EAAE,sDAA6C;AACzF,OAAO,EACL,iBAAiB,EAEjB,WAAW,EAEX,mBAAmB,EACnB,kBAAkB,EAElB,QAAQ,EAER,QAAQ,EACT,4CAAmC;AAGpC,4CAA4C;AAC5C,OAAO,EAAE,YAAY,EAAE,4CAAmC;AAC1D,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,E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I,OAAO,KAAK,IAAI,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,MAAK,IAAI,CAAC;AACvF,CAAC,CAAC;AAEF,MAAM,+BAA+B,GAAG,CAAC,YAAiD,EAAW,EAAE;IACrG,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,YAAY,KAAK,KAAK,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,YAAY,CAAC,kBAAkB,KAAK,KAAK,IAAI,YAAY,CAAC,YAAY,KAAK,KAAK,CAAC;AAC1F,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IButton, mergeStyles, Stack } from '@fluentui/react';\nimport { _isInCall, _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\nimport {\n _ComplianceBanner,\n _ComplianceBannerProps,\n _DrawerMenu,\n _DrawerMenuItemProps,\n _useContainerHeight,\n _useContainerWidth,\n ActiveErrorMessage,\n ErrorBar,\n ErrorBarProps,\n useTheme\n} from '@internal/react-components';\n/* @conditional-compile-remove(gallery-layouts) */\nimport { VideoGalleryLayout } from '@internal/react-components';\n/* @conditional-compile-remove(spotlight) */\nimport { VideoGallery } from '@internal/react-components';\nimport React, { useMemo, useRef, useState } from 'react';\nimport { useEffect } from 'react';\nimport { useCallback } from 'react';\n/* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(close-captions) */\nimport { AvatarPersonaDataCallback } from '../../common/AvatarPersona';\n/* @conditional-compile-remove(close-captions) */\nimport { CaptionsBanner } from '../../common/CaptionsBanner';\nimport { containerDivStyles } from '../../common/ContainerRectProps';\nimport { compositeMinWidthRem } from '../../common/styles/Composite.styles';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\nimport { CallControls, CallControlsProps } from '../components/CallControls';\nimport { CommonCallControlBar } from '../../common/ControlBar/CommonCallControlBar';\nimport {\n callArrangementContainerStyles,\n notificationsContainerStyles,\n containerStyleDesktop,\n containerStyleMobile,\n mediaGalleryContainerStyles,\n galleryParentContainerStyles,\n bannerNotificationStyles,\n CONTROL_BAR_Z_INDEX,\n DRAWER_Z_INDEX\n} from '../styles/CallPage.styles';\nimport { MutedNotification, MutedNotificationProps } from './MutedNotification';\nimport { CallAdapter } from '../adapter';\nimport { useSelector } from '../hooks/useSelector';\nimport { callStatusSelector } from '../selectors/callStatusSelector';\nimport { CallControlOptions } from '../types/CallControlOptions';\nimport { PreparedMoreDrawer } from '../../common/Drawer/PreparedMoreDrawer';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { getPage } from '../selectors/baseSelectors';\n/* @conditional-compile-remove(close-captions) */\nimport { getCallStatus, getIsTeamsCall, getCaptionsStatus } from '../selectors/baseSelectors';\nimport { drawerContainerStyles } from '../styles/CallComposite.styles';\nimport { SidePane } from './SidePane/SidePane';\nimport { usePeoplePane } from './SidePane/usePeoplePane';\n/* @conditional-compile-remove(video-background-effects) */\nimport {\n useVideoEffectsPane,\n VIDEO_EFFECTS_SIDE_PANE_ID,\n VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM\n} from './SidePane/useVideoEffectsPane';\nimport { isDisabled } from '../utils';\nimport { SidePaneRenderer, useIsSidePaneOpen } from './SidePane/SidePaneProvider';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useIsParticularSidePaneOpen } from './SidePane/SidePaneProvider';\nimport { ModalLocalAndRemotePIP } from '../../common/ModalLocalAndRemotePIP';\nimport { getPipStyles } from '../../common/styles/ModalLocalAndRemotePIP.styles';\nimport { useMinMaxDragPosition } from '../../common/utils';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { CommonCallControlOptions } from '../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(video-background-effects) */\nimport { localVideoSelector } from '../../CallComposite/selectors/localVideoStreamSelector';\n/* @conditional-compile-remove(capabilities) */\nimport {\n CapabilitiesChangedNotificationBar,\n CapabilitiesChangeNotificationBarProps\n} from './CapabilitiesChangedNotificationBar';\nimport { useLocale } from '../../localization';\n/* @conditional-compile-remove(spotlight) */\nimport { usePropsFor } from '../hooks/usePropsFor';\n\n/**\n * @private\n */\nexport interface CallArrangementProps {\n id?: string;\n complianceBannerProps: _ComplianceBannerProps;\n errorBarProps: ErrorBarProps | false;\n mutedNotificationProps?: MutedNotificationProps;\n callControlProps: CallControlsProps;\n onRenderGalleryContent: () => JSX.Element;\n dataUiId: string;\n mobileView: boolean;\n modalLayerHostId: string;\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(close-captions) */\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetOverflowGalleryPositionChange?: (position: 'Responsive' | 'horizontalTop') => void;\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetGalleryLayoutChange?: (layout: VideoGalleryLayout) => void;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout?: VideoGalleryLayout;\n /* @conditional-compile-remove(capabilities) */\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n onCloseChatPane?: () => void;\n /* @conditional-compile-remove(dtmf-dialer) */\n onSetDialpadPage?: () => void;\n /* @conditional-compile-remove(dtmf-dialer) */\n dtmfDialerPresent?: boolean;\n}\n\n/**\n * @private\n */\nexport const CallArrangement = (props: CallArrangementProps): JSX.Element => {\n const containerClassName = useMemo(() => {\n return props.mobileView ? containerStyleMobile : containerStyleDesktop;\n }, [props.mobileView]);\n\n const theme = useTheme();\n const callGalleryStyles = useMemo(\n () => galleryParentContainerStyles(theme.palette.neutralLighterAlt),\n [theme.palette.neutralLighterAlt]\n );\n\n const peopleButtonRef = useRef<IButton>(null);\n const cameraButtonRef = useRef<IButton>(null);\n\n const containerRef = useRef<HTMLDivElement>(null);\n const containerWidth = _useContainerWidth(containerRef);\n const containerHeight = _useContainerHeight(containerRef);\n\n const isInLobby = _isInLobbyOrConnecting(useSelector(callStatusSelector).callStatus);\n\n const { updateSidePaneRenderer } = props;\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n const isInLocalHold = useSelector(getPage) === 'hold';\n\n const adapter = useAdapter();\n\n const [drawerMenuItems, setDrawerMenuItems] = useState<_DrawerMenuItemProps[]>([]);\n const peoplePaneProps = useMemo(\n () => ({\n updateSidePaneRenderer,\n setDrawerMenuItems,\n inviteLink: props.callControlProps.callInvitationURL,\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n onFetchAvatarPersonaData: props.onFetchAvatarPersonaData,\n onFetchParticipantMenuItems: props.callControlProps?.onFetchParticipantMenuItems,\n mobileView: props.mobileView,\n peopleButtonRef\n }),\n [\n updateSidePaneRenderer,\n props.callControlProps.callInvitationURL,\n props.callControlProps?.onFetchParticipantMenuItems,\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n props.onFetchAvatarPersonaData,\n props.mobileView,\n peopleButtonRef\n ]\n );\n /* @conditional-compile-remove(spotlight) */\n const videoGalleryProps = usePropsFor(VideoGallery);\n const { isPeoplePaneOpen, openPeoplePane, closePeoplePane } = usePeoplePane({\n ...peoplePaneProps,\n /* @conditional-compile-remove(spotlight) */ spotlightedParticipantUserIds:\n videoGalleryProps.spotlightedParticipants,\n /* @conditional-compile-remove(spotlight) */ onStartSpotlight: videoGalleryProps.onStartSpotlight,\n /* @conditional-compile-remove(spotlight) */ onStopSpotlight: videoGalleryProps.onStopSpotlight,\n /* @conditional-compile-remove(spotlight) */ ableToSpotlight:\n adapter.getState().call?.capabilitiesFeature?.capabilities.spotlightParticipant.isPresent\n });\n const togglePeoplePane = useCallback(() => {\n if (isPeoplePaneOpen) {\n closePeoplePane();\n } else {\n openPeoplePane();\n }\n }, [closePeoplePane, isPeoplePaneOpen, openPeoplePane]);\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n useEffect(() => {\n if (isInLocalHold) {\n // close side pane on local hold\n updateSidePaneRenderer(undefined);\n }\n }, [updateSidePaneRenderer, isInLocalHold, isPeoplePaneOpen, closePeoplePane]);\n\n const isSidePaneOpen = useIsSidePaneOpen();\n\n const [renderGallery, setRenderGallery] = useState<boolean>(!isSidePaneOpen && props.mobileView);\n\n useEffect(() => {\n if (isSidePaneOpen && props.mobileView) {\n setRenderGallery(false);\n } else {\n setRenderGallery(true);\n }\n }, [props.mobileView, isSidePaneOpen]);\n\n const locale = useLocale();\n const modalStrings = { dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel };\n\n const isMobileWithActivePane = props.mobileView && isSidePaneOpen;\n\n const callCompositeContainerCSS = useMemo((): React.CSSProperties => {\n return {\n display: isMobileWithActivePane ? 'none' : 'flex',\n minWidth: props.mobileView ? 'unset' : `${compositeMinWidthRem}rem`,\n width: '100%',\n height: '100%',\n position: 'relative'\n };\n }, [isMobileWithActivePane, props.mobileView]);\n\n /* @conditional-compile-remove(video-background-effects) */\n const onResolveVideoEffectDependency = adapter.getState().onResolveVideoEffectDependency;\n\n /* @conditional-compile-remove(video-background-effects) */\n const { openVideoEffectsPane } = useVideoEffectsPane(\n props.updateSidePaneRenderer,\n props.mobileView,\n props.latestErrors,\n props.onDismissError,\n cameraButtonRef\n );\n const [showDrawer, setShowDrawer] = useState(false);\n const onMoreButtonClicked = useCallback(() => {\n setShowDrawer(true);\n }, []);\n const closeDrawer = useCallback(() => {\n setShowDrawer(false);\n }, []);\n const onMoreDrawerPeopleClicked = useCallback(() => {\n setShowDrawer(false);\n togglePeoplePane();\n }, [togglePeoplePane]);\n\n const drawerContainerStylesValue = useMemo(() => drawerContainerStyles(DRAWER_Z_INDEX), []);\n\n /* @conditional-compile-remove(rooms) */\n const role = adapter.getState().call?.role;\n\n let canUnmute = true;\n /* @conditional-compile-remove(rooms) */\n canUnmute = role !== 'Consumer' ? true : false;\n\n let filteredLatestErrors: ActiveErrorMessage[] = props.errorBarProps !== false ? props.latestErrors : [];\n\n /* @conditional-compile-remove(video-background-effects) */\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n\n /* @conditional-compile-remove(rooms) */\n // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK\n if (role === 'Consumer' && props.errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter(\n (e) => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari'\n );\n }\n\n /* @conditional-compile-remove(video-background-effects) */\n const isVideoPaneOpen = useIsParticularSidePaneOpen(VIDEO_EFFECTS_SIDE_PANE_ID);\n /* @conditional-compile-remove(video-background-effects) */\n if ((isVideoPaneOpen || !isCameraOn) && props.errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'unableToStartVideoEffect');\n }\n\n /* @conditional-compile-remove(close-captions) */\n const isTeamsCall = useSelector(getIsTeamsCall);\n /* @conditional-compile-remove(close-captions) */\n const hasJoinedCall = useSelector(getCallStatus) === 'Connected';\n /* @conditional-compile-remove(close-captions) */\n const isCaptionsOn = useSelector(getCaptionsStatus);\n const minMaxDragPosition = useMinMaxDragPosition(props.modalLayerHostId);\n const pipStyles = useMemo(() => getPipStyles(theme), [theme]);\n\n const verticalControlBar =\n props.mobileView && containerWidth && containerHeight && containerWidth / containerHeight > 1 ? true : false;\n\n /* @conditional-compile-remove(capabilities) */\n // Filter out shareScreen capability notifications if on mobile\n const filteredCapabilitesChangedNotifications = props.mobileView\n ? props.capabilitiesChangedNotificationBarProps?.capabilitiesChangedNotifications.filter(\n (notification) => notification.capabilityName !== 'shareScreen'\n )\n : props.capabilitiesChangedNotificationBarProps?.capabilitiesChangedNotifications;\n\n return (\n <div ref={containerRef} className={mergeStyles(containerDivStyles)} id={props.id}>\n <Stack verticalFill horizontalAlign=\"stretch\" className={containerClassName} data-ui-id={props.dataUiId}>\n <Stack\n reversed\n horizontal={verticalControlBar}\n grow\n styles={callArrangementContainerStyles(verticalControlBar)}\n >\n {props.callControlProps?.options !== false && !isMobileWithActivePane && (\n <Stack\n verticalAlign={'center'}\n className={mergeStyles({\n zIndex: CONTROL_BAR_Z_INDEX,\n padding: verticalControlBar ? '0.25rem' : 'unset'\n })}\n >\n {isLegacyCallControlEnabled(props.callControlProps?.options) ? (\n <CallControls\n {...props.callControlProps}\n containerWidth={containerWidth}\n containerHeight={containerHeight}\n isMobile={props.mobileView}\n /* @conditional-compile-remove(one-to-n-calling) */\n peopleButtonChecked={isPeoplePaneOpen}\n /* @conditional-compile-remove(one-to-n-calling) */\n onPeopleButtonClicked={togglePeoplePane}\n displayVertical={verticalControlBar}\n />\n ) : (\n <CommonCallControlBar\n {...props.callControlProps}\n callControls={props.callControlProps.options}\n callAdapter={adapter as CallAdapter}\n mobileView={props.mobileView}\n disableButtonsForLobbyPage={isInLobby}\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n disableButtonsForHoldScreen={isInLocalHold}\n peopleButtonChecked={isPeoplePaneOpen}\n onPeopleButtonClicked={togglePeoplePane}\n onMoreButtonClicked={onMoreButtonClicked}\n /* @conditional-compile-remove(close-captions) */\n isCaptionsSupported={isTeamsCall && hasJoinedCall}\n /* @conditional-compile-remove(close-captions) */\n isCaptionsOn={isCaptionsOn}\n /* @conditional-compile-remove(video-background-effects) */\n onClickVideoEffects={onResolveVideoEffectDependency ? openVideoEffectsPane : undefined}\n displayVertical={verticalControlBar}\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetOverflowGalleryPositionChange={props.onUserSetOverflowGalleryPositionChange}\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetGalleryLayout={props.onUserSetGalleryLayoutChange}\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout={props.userSetGalleryLayout}\n /* @conditional-compile-remove(dtmf-dialer) */\n onSetDialpadPage={props.onSetDialpadPage}\n /* @conditional-compile-remove(dtmf-dialer) */\n dtmfDialerPresent={props.dtmfDialerPresent}\n peopleButtonRef={peopleButtonRef}\n cameraButtonRef={cameraButtonRef}\n />\n )}\n </Stack>\n )}\n {props.callControlProps?.options !== false && showDrawer && (\n <Stack styles={drawerContainerStylesValue}>\n <PreparedMoreDrawer\n callControls={props.callControlProps.options}\n onLightDismiss={closeDrawer}\n onPeopleButtonClicked={onMoreDrawerPeopleClicked}\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n disableButtonsForHoldScreen={isInLocalHold}\n /* @conditional-compile-remove(close-captions) */\n isCaptionsSupported={isTeamsCall && hasJoinedCall}\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetGalleryLayout={props.onUserSetGalleryLayoutChange}\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout={props.userSetGalleryLayout}\n /* @conditional-compile-remove(dtmf-dialer) */\n onSetDialpadPage={props.onSetDialpadPage}\n /* @conditional-compile-remove(dtmf-dialer) */\n dtmfDialerPresent={props.dtmfDialerPresent}\n />\n </Stack>\n )}\n <Stack horizontal grow>\n <Stack.Item style={callCompositeContainerCSS}>\n <Stack.Item styles={callGalleryStyles} grow>\n <Stack verticalFill styles={mediaGalleryContainerStyles}>\n <Stack.Item styles={notificationsContainerStyles}>\n <Stack styles={bannerNotificationStyles}>\n <_ComplianceBanner {...props.complianceBannerProps} />\n </Stack>\n {props.errorBarProps !== false && (\n <Stack styles={bannerNotificationStyles}>\n <ErrorBar\n {...props.errorBarProps}\n onDismissError={props.onDismissError}\n activeErrorMessages={filteredLatestErrors}\n />\n </Stack>\n )}\n {\n /* @conditional-compile-remove(capabilities) */\n props.capabilitiesChangedNotificationBarProps &&\n props.capabilitiesChangedNotificationBarProps.capabilitiesChangedNotifications.length > 0 && (\n <Stack styles={bannerNotificationStyles}>\n <CapabilitiesChangedNotificationBar\n {...props.capabilitiesChangedNotificationBarProps}\n capabilitiesChangedNotifications={filteredCapabilitesChangedNotifications ?? []}\n />\n </Stack>\n )\n }\n {canUnmute && !!props.mutedNotificationProps && (\n <MutedNotification {...props.mutedNotificationProps} />\n )}\n </Stack.Item>\n {renderGallery && props.onRenderGalleryContent && props.onRenderGalleryContent()}\n {\n /* @conditional-compile-remove(close-captions) */\n true &&\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ !isInLocalHold && (\n <CaptionsBanner\n isMobile={props.mobileView}\n onFetchAvatarPersonaData={props.onFetchAvatarPersonaData}\n />\n )\n }\n </Stack>\n </Stack.Item>\n </Stack.Item>\n <SidePane\n mobileView={props.mobileView}\n /* @conditional-compile-remove(video-background-effects) */\n maxWidth={isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined}\n minWidth={isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined}\n updateSidePaneRenderer={props.updateSidePaneRenderer}\n onPeopleButtonClicked={\n props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options)\n ? undefined\n : togglePeoplePane\n }\n disablePeopleButton={\n typeof props.callControlProps.options !== 'boolean' &&\n isDisabled(props.callControlProps.options?.participantsButton)\n }\n onChatButtonClicked={props.mobileChatTabHeader?.onClick}\n disableChatButton={props.mobileChatTabHeader?.disabled}\n />\n {props.mobileView && (\n <ModalLocalAndRemotePIP\n modalLayerHostId={props.modalLayerHostId}\n hidden={!isSidePaneOpen}\n styles={pipStyles}\n strings={modalStrings}\n minDragPosition={minMaxDragPosition.minDragPosition}\n maxDragPosition={minMaxDragPosition.maxDragPosition}\n onDismissSidePane={() => {\n closePeoplePane();\n if (props.onCloseChatPane) {\n props.onCloseChatPane();\n }\n }}\n />\n )}\n {drawerMenuItems.length > 0 && (\n <Stack styles={drawerContainerStyles()}>\n <_DrawerMenu onLightDismiss={() => setDrawerMenuItems([])} items={drawerMenuItems} />\n </Stack>\n )}\n </Stack>\n </Stack>\n </Stack>\n </div>\n );\n};\n\nconst isLegacyCallControlEnabled = (options?: boolean | CallControlOptions): boolean => {\n return !!options && options !== true && options?.legacyControlBarExperience === true;\n};\n\nconst shouldShowPeopleTabHeaderButton = (callControls?: boolean | CommonCallControlOptions): boolean => {\n if (callControls === undefined || callControls === true) {\n return true;\n }\n if (callControls === false) {\n return false;\n }\n return callControls.participantsButton !== false && callControls.peopleButton !== false;\n};\n"]}
1
+ {"version":3,"file":"CallArrangement.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/CallArrangement.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAW,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAa,sBAAsB,EAAE,sDAA6C;AACzF,OAAO,EAAE,iBAAiB,EAA0B,WAAW,EAAwB,mBAAmB,EAAE,kBAAkB,EAAsB,QAAQ,EAAiB,QAAQ,EAAE,4CAAmC;AAG1N,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpC,iDAAiD;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,YA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AC,CAAC;AACF,MAAM,0BAA0B,GAAG,CAAC,OAAsC,EAAW,EAAE;IACrF,OAAO,CAAC,CAAC,OAAO,IAAI,OAAO,KAAK,IAAI,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,MAAK,IAAI,CAAC;AACvF,CAAC,CAAC;AACF,MAAM,+BAA+B,GAAG,CAAC,YAAiD,EAAW,EAAE;IACrG,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,YAAY,KAAK,KAAK,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,YAAY,CAAC,kBAAkB,KAAK,KAAK,IAAI,YAAY,CAAC,YAAY,KAAK,KAAK,CAAC;AAC1F,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IButton, mergeStyles, Stack } from '@fluentui/react';\nimport { _isInCall, _isInLobbyOrConnecting } from '@internal/calling-component-bindings';\nimport { _ComplianceBanner, _ComplianceBannerProps, _DrawerMenu, _DrawerMenuItemProps, _useContainerHeight, _useContainerWidth, ActiveErrorMessage, ErrorBar, ErrorBarProps, useTheme } from '@internal/react-components';\n/* @conditional-compile-remove(gallery-layouts) */\nimport { VideoGalleryLayout } from '@internal/react-components';\nimport React, { useMemo, useRef, useState } from 'react';\nimport { useEffect } from 'react';\nimport { useCallback } from 'react';\n/* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(close-captions) */\nimport { AvatarPersonaDataCallback } from '../../common/AvatarPersona';\n/* @conditional-compile-remove(close-captions) */\nimport { CaptionsBanner } from '../../common/CaptionsBanner';\nimport { containerDivStyles } from '../../common/ContainerRectProps';\nimport { compositeMinWidthRem } from '../../common/styles/Composite.styles';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\nimport { CallControls, CallControlsProps } from '../components/CallControls';\nimport { CommonCallControlBar } from '../../common/ControlBar/CommonCallControlBar';\nimport { callArrangementContainerStyles, notificationsContainerStyles, containerStyleDesktop, containerStyleMobile, mediaGalleryContainerStyles, galleryParentContainerStyles, bannerNotificationStyles, CONTROL_BAR_Z_INDEX, DRAWER_Z_INDEX } from '../styles/CallPage.styles';\nimport { MutedNotification, MutedNotificationProps } from './MutedNotification';\nimport { CallAdapter } from '../adapter';\nimport { useSelector } from '../hooks/useSelector';\nimport { callStatusSelector } from '../selectors/callStatusSelector';\nimport { CallControlOptions } from '../types/CallControlOptions';\nimport { PreparedMoreDrawer } from '../../common/Drawer/PreparedMoreDrawer';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { getPage } from '../selectors/baseSelectors';\n/* @conditional-compile-remove(close-captions) */\nimport { getCallStatus, getIsTeamsCall, getCaptionsStatus } from '../selectors/baseSelectors';\nimport { drawerContainerStyles } from '../styles/CallComposite.styles';\nimport { SidePane } from './SidePane/SidePane';\nimport { usePeoplePane } from './SidePane/usePeoplePane';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useVideoEffectsPane, VIDEO_EFFECTS_SIDE_PANE_ID, VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM } from './SidePane/useVideoEffectsPane';\nimport { isDisabled } from '../utils';\nimport { SidePaneRenderer, useIsSidePaneOpen } from './SidePane/SidePaneProvider';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useIsParticularSidePaneOpen } from './SidePane/SidePaneProvider';\nimport { ModalLocalAndRemotePIP } from '../../common/ModalLocalAndRemotePIP';\nimport { getPipStyles } from '../../common/styles/ModalLocalAndRemotePIP.styles';\nimport { useMinMaxDragPosition } from '../../common/utils';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { CommonCallControlOptions } from '../../common/types/CommonCallControlOptions';\n/* @conditional-compile-remove(video-background-effects) */\nimport { localVideoSelector } from '../../CallComposite/selectors/localVideoStreamSelector';\n/* @conditional-compile-remove(capabilities) */\nimport { CapabilitiesChangedNotificationBar, CapabilitiesChangeNotificationBarProps } from './CapabilitiesChangedNotificationBar';\nimport { useLocale } from '../../localization';\n/**\n * @private\n */\nexport interface CallArrangementProps {\n id?: string;\n complianceBannerProps: _ComplianceBannerProps;\n errorBarProps: ErrorBarProps | false;\n mutedNotificationProps?: MutedNotificationProps;\n callControlProps: CallControlsProps;\n onRenderGalleryContent: () => JSX.Element;\n dataUiId: string;\n mobileView: boolean;\n modalLayerHostId: string;\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(close-captions) */\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetOverflowGalleryPositionChange?: (position: 'Responsive' | 'horizontalTop') => void;\n /* @conditional-compile-remove(gallery-layouts) */\n onUserSetGalleryLayoutChange?: (layout: VideoGalleryLayout) => void;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout?: VideoGalleryLayout;\n /* @conditional-compile-remove(capabilities) */\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n onCloseChatPane?: () => void;\n}\n\n/**\n * @private\n */\nexport const CallArrangement = (props: CallArrangementProps): JSX.Element => {\n const containerClassName = useMemo(() => {\n return props.mobileView ? containerStyleMobile : containerStyleDesktop;\n }, [props.mobileView]);\n const theme = useTheme();\n const callGalleryStyles = useMemo(() => galleryParentContainerStyles(theme.palette.neutralLighterAlt), [theme.palette.neutralLighterAlt]);\n const peopleButtonRef = useRef<IButton>(null);\n const cameraButtonRef = useRef<IButton>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const containerWidth = _useContainerWidth(containerRef);\n const containerHeight = _useContainerHeight(containerRef);\n const isInLobby = _isInLobbyOrConnecting(useSelector(callStatusSelector).callStatus);\n const {\n updateSidePaneRenderer\n } = props;\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n const isInLocalHold = useSelector(getPage) === 'hold';\n const adapter = useAdapter();\n const [drawerMenuItems, setDrawerMenuItems] = useState<_DrawerMenuItemProps[]>([]);\n const peoplePaneProps = useMemo(() => ({\n updateSidePaneRenderer,\n setDrawerMenuItems,\n inviteLink: props.callControlProps.callInvitationURL,\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n onFetchAvatarPersonaData: props.onFetchAvatarPersonaData,\n onFetchParticipantMenuItems: props.callControlProps?.onFetchParticipantMenuItems,\n mobileView: props.mobileView,\n peopleButtonRef\n }), [updateSidePaneRenderer, props.callControlProps.callInvitationURL, props.callControlProps?.onFetchParticipantMenuItems, /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n props.onFetchAvatarPersonaData, props.mobileView, peopleButtonRef]);\n const {\n isPeoplePaneOpen,\n openPeoplePane,\n closePeoplePane\n } = usePeoplePane({\n ...peoplePaneProps\n });\n const togglePeoplePane = useCallback(() => {\n if (isPeoplePaneOpen) {\n closePeoplePane();\n } else {\n openPeoplePane();\n }\n }, [closePeoplePane, isPeoplePaneOpen, openPeoplePane]);\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n useEffect(() => {\n if (isInLocalHold) {\n // close side pane on local hold\n updateSidePaneRenderer(undefined);\n }\n }, [updateSidePaneRenderer, isInLocalHold, isPeoplePaneOpen, closePeoplePane]);\n const isSidePaneOpen = useIsSidePaneOpen();\n const [renderGallery, setRenderGallery] = useState<boolean>(!isSidePaneOpen && props.mobileView);\n useEffect(() => {\n if (isSidePaneOpen && props.mobileView) {\n setRenderGallery(false);\n } else {\n setRenderGallery(true);\n }\n }, [props.mobileView, isSidePaneOpen]);\n const locale = useLocale();\n const modalStrings = {\n dismissModalAriaLabel: locale.strings.call.dismissModalAriaLabel\n };\n const isMobileWithActivePane = props.mobileView && isSidePaneOpen;\n const callCompositeContainerCSS = useMemo((): React.CSSProperties => {\n return {\n display: isMobileWithActivePane ? 'none' : 'flex',\n minWidth: props.mobileView ? 'unset' : `${compositeMinWidthRem}rem`,\n width: '100%',\n height: '100%',\n position: 'relative'\n };\n }, [isMobileWithActivePane, props.mobileView]);\n\n /* @conditional-compile-remove(video-background-effects) */\n const onResolveVideoEffectDependency = adapter.getState().onResolveVideoEffectDependency;\n\n /* @conditional-compile-remove(video-background-effects) */\n const {\n openVideoEffectsPane\n } = useVideoEffectsPane(props.updateSidePaneRenderer, props.mobileView, props.latestErrors, props.onDismissError, cameraButtonRef);\n const [showDrawer, setShowDrawer] = useState(false);\n const onMoreButtonClicked = useCallback(() => {\n setShowDrawer(true);\n }, []);\n const closeDrawer = useCallback(() => {\n setShowDrawer(false);\n }, []);\n const onMoreDrawerPeopleClicked = useCallback(() => {\n setShowDrawer(false);\n togglePeoplePane();\n }, [togglePeoplePane]);\n const drawerContainerStylesValue = useMemo(() => drawerContainerStyles(DRAWER_Z_INDEX), []);\n\n /* @conditional-compile-remove(rooms) */\n const role = adapter.getState().call?.role;\n let canUnmute = true;\n /* @conditional-compile-remove(rooms) */\n canUnmute = role !== 'Consumer' ? true : false;\n let filteredLatestErrors: ActiveErrorMessage[] = props.errorBarProps !== false ? props.latestErrors : [];\n\n /* @conditional-compile-remove(video-background-effects) */\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n\n /* @conditional-compile-remove(rooms) */\n // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK\n if (role === 'Consumer' && props.errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');\n }\n\n /* @conditional-compile-remove(video-background-effects) */\n const isVideoPaneOpen = useIsParticularSidePaneOpen(VIDEO_EFFECTS_SIDE_PANE_ID);\n /* @conditional-compile-remove(video-background-effects) */\n if ((isVideoPaneOpen || !isCameraOn) && props.errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'unableToStartVideoEffect');\n }\n\n /* @conditional-compile-remove(close-captions) */\n const isTeamsCall = useSelector(getIsTeamsCall);\n /* @conditional-compile-remove(close-captions) */\n const hasJoinedCall = useSelector(getCallStatus) === 'Connected';\n /* @conditional-compile-remove(close-captions) */\n const isCaptionsOn = useSelector(getCaptionsStatus);\n const minMaxDragPosition = useMinMaxDragPosition(props.modalLayerHostId);\n const pipStyles = useMemo(() => getPipStyles(theme), [theme]);\n const verticalControlBar = props.mobileView && containerWidth && containerHeight && containerWidth / containerHeight > 1 ? true : false;\n\n /* @conditional-compile-remove(capabilities) */\n // Filter out shareScreen capability notifications if on mobile\n const filteredCapabilitesChangedNotifications = props.mobileView ? props.capabilitiesChangedNotificationBarProps?.capabilitiesChangedNotifications.filter(notification => notification.capabilityName !== 'shareScreen') : props.capabilitiesChangedNotificationBarProps?.capabilitiesChangedNotifications;\n return <div ref={containerRef} className={mergeStyles(containerDivStyles)} id={props.id}>\n <Stack verticalFill horizontalAlign=\"stretch\" className={containerClassName} data-ui-id={props.dataUiId}>\n <Stack reversed horizontal={verticalControlBar} grow styles={callArrangementContainerStyles(verticalControlBar)}>\n {props.callControlProps?.options !== false && !isMobileWithActivePane && <Stack verticalAlign={'center'} className={mergeStyles({\n zIndex: CONTROL_BAR_Z_INDEX,\n padding: verticalControlBar ? '0.25rem' : 'unset'\n })}>\n {isLegacyCallControlEnabled(props.callControlProps?.options) ? <CallControls {...props.callControlProps} containerWidth={containerWidth} containerHeight={containerHeight} isMobile={props.mobileView}\n /* @conditional-compile-remove(one-to-n-calling) */ peopleButtonChecked={isPeoplePaneOpen}\n /* @conditional-compile-remove(one-to-n-calling) */ onPeopleButtonClicked={togglePeoplePane} displayVertical={verticalControlBar} /> : <CommonCallControlBar {...props.callControlProps} callControls={props.callControlProps.options} callAdapter={(adapter as CallAdapter)} mobileView={props.mobileView} disableButtonsForLobbyPage={isInLobby}\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ disableButtonsForHoldScreen={isInLocalHold} peopleButtonChecked={isPeoplePaneOpen} onPeopleButtonClicked={togglePeoplePane} onMoreButtonClicked={onMoreButtonClicked}\n /* @conditional-compile-remove(close-captions) */ isCaptionsSupported={isTeamsCall && hasJoinedCall}\n /* @conditional-compile-remove(close-captions) */ isCaptionsOn={isCaptionsOn}\n /* @conditional-compile-remove(video-background-effects) */ onClickVideoEffects={onResolveVideoEffectDependency ? openVideoEffectsPane : undefined} displayVertical={verticalControlBar}\n /* @conditional-compile-remove(gallery-layouts) */ onUserSetOverflowGalleryPositionChange={props.onUserSetOverflowGalleryPositionChange}\n /* @conditional-compile-remove(gallery-layouts) */ onUserSetGalleryLayout={props.onUserSetGalleryLayoutChange}\n /* @conditional-compile-remove(gallery-layouts) */ userSetGalleryLayout={props.userSetGalleryLayout} peopleButtonRef={peopleButtonRef} cameraButtonRef={cameraButtonRef} />}\n </Stack>}\n {props.callControlProps?.options !== false && showDrawer && <Stack styles={drawerContainerStylesValue}>\n <PreparedMoreDrawer callControls={props.callControlProps.options} onLightDismiss={closeDrawer} onPeopleButtonClicked={onMoreDrawerPeopleClicked}\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ disableButtonsForHoldScreen={isInLocalHold}\n /* @conditional-compile-remove(close-captions) */ isCaptionsSupported={isTeamsCall && hasJoinedCall}\n /* @conditional-compile-remove(gallery-layouts) */ onUserSetGalleryLayout={props.onUserSetGalleryLayoutChange}\n /* @conditional-compile-remove(gallery-layouts) */ userSetGalleryLayout={props.userSetGalleryLayout} />\n </Stack>}\n <Stack horizontal grow>\n <Stack.Item style={callCompositeContainerCSS}>\n <Stack.Item styles={callGalleryStyles} grow>\n <Stack verticalFill styles={mediaGalleryContainerStyles}>\n <Stack.Item styles={notificationsContainerStyles}>\n <Stack styles={bannerNotificationStyles}>\n <_ComplianceBanner {...props.complianceBannerProps} />\n </Stack>\n {props.errorBarProps !== false && <Stack styles={bannerNotificationStyles}>\n <ErrorBar {...props.errorBarProps} onDismissError={props.onDismissError} activeErrorMessages={filteredLatestErrors} />\n </Stack>}\n {/* @conditional-compile-remove(capabilities) */\n props.capabilitiesChangedNotificationBarProps && props.capabilitiesChangedNotificationBarProps.capabilitiesChangedNotifications.length > 0 && <Stack styles={bannerNotificationStyles}>\n <CapabilitiesChangedNotificationBar {...props.capabilitiesChangedNotificationBarProps} capabilitiesChangedNotifications={filteredCapabilitesChangedNotifications ?? []} />\n </Stack>}\n {canUnmute && !!props.mutedNotificationProps && <MutedNotification {...props.mutedNotificationProps} />}\n </Stack.Item>\n {renderGallery && props.onRenderGalleryContent && props.onRenderGalleryContent()}\n {/* @conditional-compile-remove(close-captions) */\n true && /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */!isInLocalHold && <CaptionsBanner isMobile={props.mobileView} onFetchAvatarPersonaData={props.onFetchAvatarPersonaData} />}\n </Stack>\n </Stack.Item>\n </Stack.Item>\n <SidePane mobileView={props.mobileView}\n /* @conditional-compile-remove(video-background-effects) */ maxWidth={isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined} minWidth={isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined} updateSidePaneRenderer={props.updateSidePaneRenderer} onPeopleButtonClicked={props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options) ? undefined : togglePeoplePane} disablePeopleButton={typeof props.callControlProps.options !== 'boolean' && isDisabled(props.callControlProps.options?.participantsButton)} onChatButtonClicked={props.mobileChatTabHeader?.onClick} disableChatButton={props.mobileChatTabHeader?.disabled} />\n {props.mobileView && <ModalLocalAndRemotePIP modalLayerHostId={props.modalLayerHostId} hidden={!isSidePaneOpen} styles={pipStyles} strings={modalStrings} minDragPosition={minMaxDragPosition.minDragPosition} maxDragPosition={minMaxDragPosition.maxDragPosition} onDismissSidePane={() => {\n closePeoplePane();\n if (props.onCloseChatPane) {\n props.onCloseChatPane();\n }\n }} />}\n {drawerMenuItems.length > 0 && <Stack styles={drawerContainerStyles()}>\n <_DrawerMenu onLightDismiss={() => setDrawerMenuItems([])} items={drawerMenuItems} />\n </Stack>}\n </Stack>\n </Stack>\n </Stack>\n </div>;\n};\nconst isLegacyCallControlEnabled = (options?: boolean | CallControlOptions): boolean => {\n return !!options && options !== true && options?.legacyControlBarExperience === true;\n};\nconst shouldShowPeopleTabHeaderButton = (callControls?: boolean | CommonCallControlOptions): boolean => {\n if (callControls === undefined || callControls === true) {\n return true;\n }\n if (callControls === false) {\n return false;\n }\n return callControls.participantsButton !== false && callControls.peopleButton !== false;\n};"]}
@@ -31,14 +31,12 @@ import { RaiseHand } from './buttons/RaiseHand';
31
31
  import { RaiseHandButton } from "../../../../../react-components/src";
32
32
  import { _generateDefaultDeviceMenuProps } from "../../../../../react-components/src";
33
33
  import { CUSTOM_BUTTON_OPTIONS, generateCustomCallControlBarButton, generateCustomCallDesktopOverflowButtons, onFetchCustomButtonPropsTrampoline } from '../../common/ControlBar/CustomButton';
34
- /* @conditional-compile-remove(reaction) */
35
- import { Reaction } from './buttons/Reaction';
36
- /* @conditional-compile-remove(reaction) */
37
- import { useSelector } from '../hooks/useSelector';
38
- /* @conditional-compile-remove(reaction) */
39
- import { capabilitySelector } from '../../CallComposite/selectors/capabilitySelector';
40
34
  // Enforce a background color on control bar to ensure it matches the composite background color.
41
- const controlBarStyles = memoizeFunction((background) => ({ root: { background: background } }));
35
+ const controlBarStyles = memoizeFunction((background) => ({
36
+ root: {
37
+ background: background
38
+ }
39
+ }));
42
40
  const inferCallControlOptions = (mobileView, callControlOptions) => {
43
41
  if (callControlOptions === false) {
44
42
  return {};
@@ -75,10 +73,6 @@ export const CallControls = (props) => {
75
73
  const holdButtonProps = usePropsFor(HoldButton);
76
74
  /* @conditional-compile-remove(raise-hand) */
77
75
  const raiseHandButtonProps = usePropsFor(RaiseHandButton);
78
- /* @conditional-compile-remove(reaction) */
79
- const capabilitiesSelector = useSelector(capabilitySelector);
80
- /* @conditional-compile-remove(reaction) */
81
- const isReactionAllowed = !(capabilitiesSelector === null || capabilitiesSelector === void 0 ? void 0 : capabilitiesSelector.capabilities) || capabilitiesSelector.capabilities.useReactions.isPresent;
82
76
  const devicesButtonProps = usePropsFor(DevicesButton);
83
77
  let numberOfButtons = 0;
84
78
  const screenShareButtonIsEnabled = isEnabled(options === null || options === void 0 ? void 0 : options.screenShareButton);
@@ -96,18 +90,11 @@ export const CallControls = (props) => {
96
90
  if (isEnabled(options === null || options === void 0 ? void 0 : options.endCallButton)) {
97
91
  numberOfButtons++;
98
92
  }
99
- const showParticipantsButtonInControlBar = isEnabled(options === null || options === void 0 ? void 0 : options.participantsButton) &&
100
- /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */
93
+ const showParticipantsButtonInControlBar = isEnabled(options === null || options === void 0 ? void 0 : options.participantsButton) && /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */
101
94
  !props.isMobile;
102
95
  if (showParticipantsButtonInControlBar) {
103
96
  numberOfButtons++;
104
97
  }
105
- /* @conditional-compile-remove(reaction) */
106
- const showReactionButtonInControlBar = isEnabled(options === null || options === void 0 ? void 0 : options.reactionButton) && isReactionAllowed && !props.isMobile;
107
- /* @conditional-compile-remove(reaction) */
108
- if (showReactionButtonInControlBar) {
109
- numberOfButtons++;
110
- }
111
98
  const moreButtonContextualMenuItems = () => {
112
99
  const items = [];
113
100
  if (props.isMobile && props.onPeopleButtonClicked && isEnabled(options === null || options === void 0 ? void 0 : options.participantsButton)) {
@@ -119,7 +106,14 @@ export const CallControls = (props) => {
119
106
  props.onPeopleButtonClicked();
120
107
  }
121
108
  },
122
- iconProps: { iconName: 'ControlButtonParticipantsContextualMenuItem', styles: { root: { lineHeight: 0 } } },
109
+ iconProps: {
110
+ iconName: 'ControlButtonParticipantsContextualMenuItem',
111
+ styles: {
112
+ root: {
113
+ lineHeight: 0
114
+ }
115
+ }
116
+ },
123
117
  itemProps: {
124
118
  styles: buttonFlyoutIncreasedSizeStyles
125
119
  },
@@ -135,7 +129,14 @@ export const CallControls = (props) => {
135
129
  onClick: () => {
136
130
  holdButtonProps.onToggleHold();
137
131
  },
138
- iconProps: { iconName: 'HoldCallContextualMenuItem', styles: { root: { lineHeight: 0 } } },
132
+ iconProps: {
133
+ iconName: 'HoldCallContextualMenuItem',
134
+ styles: {
135
+ root: {
136
+ lineHeight: 0
137
+ }
138
+ }
139
+ },
139
140
  itemProps: {
140
141
  styles: buttonFlyoutIncreasedSizeStyles
141
142
  },
@@ -161,8 +162,6 @@ export const CallControls = (props) => {
161
162
  showDevicesButtonInControlBar = false;
162
163
  showMoreButton = isEnabled(options === null || options === void 0 ? void 0 : options.moreButton);
163
164
  }
164
- /* @conditional-compile-remove(reaction) */
165
- const reactionResources = adapter.getState().reactions;
166
165
  /* @conditional-compile-remove(raise-hand) */
167
166
  const raiseHandButtonIsEnabled = isEnabled(options === null || options === void 0 ? void 0 : options.raiseHandButton);
168
167
  /* @conditional-compile-remove(raise-hand) */
@@ -188,7 +187,14 @@ export const CallControls = (props) => {
188
187
  moreButtonMenuItems.push({
189
188
  key: 'devicesButtonKey',
190
189
  text: localeStrings.component.strings.devicesButton.label,
191
- iconProps: { iconName: 'ControlButtonOptions', styles: { root: { lineHeight: 0 } } },
190
+ iconProps: {
191
+ iconName: 'ControlButtonOptions',
192
+ styles: {
193
+ root: {
194
+ lineHeight: 0
195
+ }
196
+ }
197
+ },
192
198
  subMenuProps: devicesButtonMenu,
193
199
  ['data-ui-id']: 'call-composite-more-menu-devices-button'
194
200
  });
@@ -197,15 +203,20 @@ export const CallControls = (props) => {
197
203
  if (!showRaiseHandButtonInControlBar && /* @conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall) {
198
204
  moreButtonMenuItems.push({
199
205
  key: 'raiseHandButtonKey',
200
- text: raiseHandButtonProps.checked
201
- ? localeStrings.component.strings.raiseHandButton.onLabel
202
- : localeStrings.component.strings.raiseHandButton.offLabel,
206
+ text: raiseHandButtonProps.checked ? localeStrings.component.strings.raiseHandButton.onLabel : localeStrings.component.strings.raiseHandButton.offLabel,
203
207
  onClick: () => {
204
208
  if (raiseHandButtonProps.onToggleRaiseHand) {
205
209
  raiseHandButtonProps.onToggleRaiseHand();
206
210
  }
207
211
  },
208
- iconProps: { iconName: 'RaiseHandContextualMenuItem', styles: { root: { lineHeight: 0 } } },
212
+ iconProps: {
213
+ iconName: 'RaiseHandContextualMenuItem',
214
+ styles: {
215
+ root: {
216
+ lineHeight: 0
217
+ }
218
+ }
219
+ },
209
220
  itemProps: {
210
221
  styles: buttonFlyoutIncreasedSizeStyles
211
222
  },
@@ -215,25 +226,21 @@ export const CallControls = (props) => {
215
226
  }
216
227
  // Custom Buttons in More Button Menu should always be the last items pushed into the moreButtonMenuItems array
217
228
  if (customDrawerButtons['primary']) {
218
- customDrawerButtons['primary']
219
- .slice(props.isMobile
220
- ? CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS
221
- : CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_DESKTOP_CUSTOM_BUTTONS)
222
- .forEach((element) => {
229
+ customDrawerButtons['primary'].slice(props.isMobile ? CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS : CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_DESKTOP_CUSTOM_BUTTONS).forEach(element => {
223
230
  moreButtonMenuItems.push(Object.assign({ itemProps: {
224
231
  styles: buttonFlyoutIncreasedSizeStyles
225
232
  } }, element));
226
233
  });
227
234
  }
228
235
  if (customDrawerButtons['secondary']) {
229
- customDrawerButtons['secondary'].forEach((element) => {
236
+ customDrawerButtons['secondary'].forEach(element => {
230
237
  moreButtonMenuItems.push(Object.assign({ itemProps: {
231
238
  styles: buttonFlyoutIncreasedSizeStyles
232
239
  } }, element));
233
240
  });
234
241
  }
235
242
  if (customDrawerButtons['overflow']) {
236
- customDrawerButtons['overflow'].forEach((element) => {
243
+ customDrawerButtons['overflow'].forEach(element => {
237
244
  moreButtonMenuItems.push(Object.assign({ itemProps: {
238
245
  styles: buttonFlyoutIncreasedSizeStyles
239
246
  } }, element));
@@ -244,30 +251,26 @@ export const CallControls = (props) => {
244
251
  if (props.options === false) {
245
252
  return React.createElement(React.Fragment, null);
246
253
  }
247
- return (React.createElement(Stack, { horizontalAlign: "center", className: callControlsContainerStyles },
254
+ return React.createElement(Stack, { horizontalAlign: "center", className: callControlsContainerStyles },
248
255
  React.createElement(Stack.Item, null,
249
256
  React.createElement(ControlBar, { layout: props.displayVertical ? 'vertical' : 'horizontal', styles: controlBarStyles(theme.semanticColors.bodyBackground) },
250
- microphoneButtonIsEnabled && (React.createElement(Microphone, { displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.microphoneButton) })),
251
- cameraButtonIsEnabled && (React.createElement(Camera, { displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.cameraButton) })),
252
- /* @conditional-compile-remove(reaction) */
253
- showReactionButtonInControlBar && reactionResources && (React.createElement(Reaction, { displayType: options === null || options === void 0 ? void 0 : options.displayType, reactionResource: reactionResources })),
254
- /* @conditional-compile-remove(raise-hand) */ showRaiseHandButtonInControlBar &&
255
- /* @conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall && (React.createElement(RaiseHand, { displayType: options === null || options === void 0 ? void 0 : options.displayType })),
256
- screenShareButtonIsEnabled && (React.createElement(ScreenShare, { option: options === null || options === void 0 ? void 0 : options.screenShareButton, displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.screenShareButton) })),
257
- showParticipantsButtonInControlBar && (React.createElement(Participants, { option: options === null || options === void 0 ? void 0 : options.participantsButton, callInvitationURL: props.callInvitationURL, onFetchParticipantMenuItems: props.onFetchParticipantMenuItems, displayType: options === null || options === void 0 ? void 0 : options.displayType, increaseFlyoutItemSize: props.increaseFlyoutItemSize, isMobile: props.isMobile, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.participantsButton) })) && (
258
- /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */
259
- React.createElement(People, { checked: props.peopleButtonChecked, ariaLabel: peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.label, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact', onClick: props.onPeopleButtonClicked, "data-ui-id": "call-composite-people-button", strings: peopleButtonStrings, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.participantsButton), disableTooltip: props.isMobile })),
260
- showDevicesButtonInControlBar && (React.createElement(Devices, { displayType: options === null || options === void 0 ? void 0 : options.displayType, increaseFlyoutItemSize: props.increaseFlyoutItemSize, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.devicesButton) })), (_b = customButtons['primary']) === null || _b === void 0 ? void 0 :
261
- _b.slice(0, props.isMobile
262
- ? CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS
263
- : CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
264
- return (React.createElement(CustomButton, { key: `primary-custom-button-${i}`,
257
+ microphoneButtonIsEnabled && React.createElement(Microphone, { displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.microphoneButton) }),
258
+ cameraButtonIsEnabled && React.createElement(Camera, { displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.cameraButton) }), /* @conditional-compile-remove(raise-hand) */
259
+ showRaiseHandButtonInControlBar && /* @conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall && React.createElement(RaiseHand, { displayType: options === null || options === void 0 ? void 0 : options.displayType }),
260
+ screenShareButtonIsEnabled && React.createElement(ScreenShare, { option: options === null || options === void 0 ? void 0 : options.screenShareButton, displayType: options === null || options === void 0 ? void 0 : options.displayType, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.screenShareButton) }),
261
+ showParticipantsButtonInControlBar && React.createElement(Participants, { option: options === null || options === void 0 ? void 0 : options.participantsButton, callInvitationURL: props.callInvitationURL, onFetchParticipantMenuItems: props.onFetchParticipantMenuItems, displayType: options === null || options === void 0 ? void 0 : options.displayType, increaseFlyoutItemSize: props.increaseFlyoutItemSize, isMobile: props.isMobile, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.participantsButton) }) && ( /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */React.createElement(People, { checked: props.peopleButtonChecked, ariaLabel: peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.label, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact', onClick: props.onPeopleButtonClicked, "data-ui-id": "call-composite-people-button", strings: peopleButtonStrings, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.participantsButton), disableTooltip: props.isMobile })),
262
+ showDevicesButtonInControlBar && React.createElement(Devices, { displayType: options === null || options === void 0 ? void 0 : options.displayType, increaseFlyoutItemSize: props.increaseFlyoutItemSize, disabled: isDisabled(options === null || options === void 0 ? void 0 : options.devicesButton) }), (_b = customButtons['primary']) === null || _b === void 0 ? void 0 :
263
+ _b.slice(0, props.isMobile ? CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS : CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
264
+ return React.createElement(CustomButton, { key: `primary-custom-button-${i}`,
265
265
  // styles={commonButtonStyles}
266
- showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact', disableTooltip: props.isMobile }));
267
- }),
268
- /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
269
- showMoreButton && (React.createElement(MoreButton, { disableTooltip: props.isMobile, "data-ui-id": "common-call-composite-more-button", strings: moreButtonStrings, menuIconProps: { hidden: true }, menuProps: { items: moreButtonMenuItems }, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact' })),
270
- isEnabled(options === null || options === void 0 ? void 0 : options.endCallButton) && React.createElement(EndCall, { displayType: options === null || options === void 0 ? void 0 : options.displayType })))));
266
+ showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact', disableTooltip: props.isMobile });
267
+ }), /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
268
+ showMoreButton && React.createElement(MoreButton, { disableTooltip: props.isMobile, "data-ui-id": "common-call-composite-more-button", strings: moreButtonStrings, menuIconProps: {
269
+ hidden: true
270
+ }, menuProps: {
271
+ items: moreButtonMenuItems
272
+ }, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact' }),
273
+ isEnabled(options === null || options === void 0 ? void 0 : options.endCallButton) && React.createElement(EndCall, { displayType: options === null || options === void 0 ? void 0 : options.displayType }))));
271
274
  };
272
275
  const isEnabled = (option) => option !== false;
273
276
  /** @private */